[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb-bugs
Subject: Re: problem with info symbol
From: Eli Zaretskii <eliz () gnu ! org>
Date: 2009-01-04 16:49:15
Message-ID: uhc4fm2yc.fsf () gnu ! org
[Download RAW message or body]
> Date: Sat, 3 Jan 2009 23:45:20 -0800 (PST)
> From: M Jalili <work1358@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'.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic