This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Improving GDB's mechanism to check if function is GC'ed


On 10/06/15 12:45, Taimoor wrote:

Yes. Its not something specific to Nucleus. Only issue is that function
address in DWARF is 0x0 as this object file is loaded at runtime and its
symbols are added using "add-symbol-file" command on the basis of
address space where it is loaded.

IMO, for any dynamic relocatable object, GDB provides a mechanism to
load its symbols using add-symbol-file. But if that object file has
function at 0x0, current mechanism consider it GC'ed.

Could you help me to understand how to reproduce this problem on any GDB
supported targets?  Your fix may not be Nucleus specific, but I think
the problem does only exist on Nucleus, please correct me if I am wrong.

--
Yao (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]