This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/260: variables not expanded on the add-symbol-file command line
- From: phil at off dot net
- To: gdb-gnats at sources dot redhat dot com
- Date: 14 Dec 2001 23:03:04 -0000
- Subject: gdb/260: variables not expanded on the add-symbol-file command line
- Reply-to: phil at off dot net
>Number: 260
>Category: gdb
>Synopsis: variables not expanded on the add-symbol-file command line
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 14 15:08:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: phil@off.net
>Release: gdb-5.0rh-5
>Organization:
>Environment:
stock Red Hat Linux 7.1 on i386
>Description:
I have some variables; history values or other variables, it doesn't matter:
(gdb) p module_list+1
$1 = (struct module *) 0x5480e060
(gdb) set $foo=$1
(gdb) p $foo
$2 = (struct module *) 0x5480e060
When I try to use those variables on the add-symbol-file command line, they resolve to 0x0:
(gdb) add-symbol-file /home/phil/projects/izo/fs24/intermezzo.o $foo
add symbol table from file "/home/phil/projects/izo/fs24/intermezzo.o" at
.text_addr = 0x0
That makes me very sad. :-(
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: