This is the mail archive of the gdb@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: Can GDB stub report every module loading event so that the host can load every module symbol automatically?


On Tue, Apr 27, 2010 at 01:36, Joel Brobecker <brobecker@adacore.com> wrote:
>> There is no such message because the stub doesn't know
>> anything about modules. ?There is no particular "event"
>> when execution first enters a module.
>
> Could these modules be seen as "shared libraries"? The remote protocol
> supports that...
>

I think we have 2 trouble about it:
1.  Some stub for example a qemu, let itself set the breakpoint to
stop the event and get the lib name and address is not easy.
2.  For GDB part, let it know where is the solib in sometime is not
easy.  For example, cross compile kernel will be put to anywhere and
each module will be put a different dir.

Regards,
Hui


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