add-symbol-file/load and scripts
Paul Pluzhnikov
ppluzhnikov@google.com
Tue Jun 2 16:48:00 GMT 2009
On Tue, Jun 2, 2009 at 9:27 AM, Jerome Guitton <guitton@adacore.com> wrote:
> the text's address, as initialized
> in the symbol file itself, would be the appropriate defaut.
AFAIU, on any UNIX system it would be appropriate default *only* for ET_EXEC.
For non-prelinked ET_DYN, one needs to add the base load address.
> We can ask ourselves if 0x6c000 would not have been an appropriate default
> for the second parameter of add-symbol-file... I am not sure it makes
> complete sense for any object format, though.
I think you've restricted your universe in the above statement to embedded
systems. My universe does not intersect with it :-(
Cheers,
--
Paul Pluzhnikov
More information about the Gdb
mailing list