Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* add-symbol-file parsing
@ 2002-11-29  2:54 Mark Santcroos
  2002-12-02 21:29 ` Daniel Jacobowitz
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Santcroos @ 2002-11-29  2:54 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-12-06  1:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-29  2:54 add-symbol-file parsing Mark Santcroos
2002-12-02 21:29 ` Daniel Jacobowitz
2002-12-02 21:43   ` Richard Sharpe
2002-12-02 23:49   ` Mark Santcroos
2002-12-05 17:02     ` Fernando Nasser
2002-12-05 17:10       ` Daniel Jacobowitz
2002-12-05 17:13       ` Richard Sharpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox