This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Can GDB stub report every module loading event so that the host can load every module symbol automatically?
- From: Michael Snyder <msnyder at vmware dot com>
- To: 倪瑞莘 <niruiyu at gmail dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Mon, 26 Apr 2010 10:21:40 -0700
- Subject: Re: Can GDB stub report every module loading event so that the host can load every module symbol automatically?
- References: <r2va85510781004260036g41fbeba6u669af9ca45a62b7d@mail.gmail.com>
倪瑞莘 wrote:
> Hi,
>
> I want my GDB stub to report every module loading event so that the
> GDB in the host can receive the message and load every module symbol
> automatically during my OS booting.
> I searched the GDB serial protocol but didn't find any message can
> meet my requirement.
> Can anyone kindly help me on this?
>
> Thanks,
> Ruiyu
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.