add-symbol-file parsing
Mark Santcroos
marks@ripe.net
Fri Nov 29 02:54:00 GMT 2002
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
More information about the Gdb
mailing list