> Date: Sat, 3 Jan 2009 23:45:20 -0800 (PST) > From: M Jalili <work1...@yahoo.com> > > i compile my c program with gcc 4.3.1 by this command: > gcc -o prog1.out prog1.c -ggdb > then is use gdb to fetch some information in run time. > gdb -e prog1.out -s prog1.out > and when is use "info symbol var1" (var1 is a variable)i receve this message: > "symbol var1 is a variable with complex or multiple location. (dwarf2)" > please help me.
Compile with -O0, and if that doesn't help, declare var1 as `volatile'. _______________________________________________ bug-gdb mailing list bug-gdb@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gdb