add-symbol-file and CORE_ADDR
Andrew Cagney
ac131313@redhat.com
Thu Sep 26 17:00:00 GMT 2002
> It looks like there might be a problem with add-symbol-file's parsing
> of section addresses when CORE_ADDR is a 64-bit type, since 'strtoul'
> is used. I haven't dug through the code to see if there are any
> locations that already handle address parsing that works whether
> CORE_ADDR is 32 or 64 bits.
Have a look at cli/cli-dump.c where it calls
scan_expression_with_cleanup() and parse_and_eval_address().
Andrew
More information about the Gdb
mailing list