This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
add-symbol-file parsing
- From: Mark Santcroos <marks at ripe dot net>
- To: gdb at sources dot redhat dot com
- Date: Fri, 29 Nov 2002 11:54:48 +0100
- Subject: add-symbol-file parsing
Unlike the documentation says the 'address' argument to 'add-symbol-file'
is not parsed as an expression but directly as an address.
The following commands ...
(gdb) set $text_addr = 0xdeadc0de
(gdb) add-symbol-file /dir/symbol.file $text_addr
.. will end up setting the address to 0 by strtoul down in the code path.
The above will therefor not work. Is there another way I can achieve this?
If this is not possible (in another way) will patches be accepted to make
this an expression?
Mark
--
Mark Santcroos RIPE Network Coordination Centre
http://www.ripe.net/home/mark/ New Projects Group/TTM