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: Where to hook reading of new symbol file


On Sun, Sep 30, 2007 at 07:34:41PM -0500, Rodney M. Bates wrote:
> Where would be the right place to hook in some language/compiler-
> dependent actions to be executed whenever a new symbol file is
> loaded for any reason, e.g., file command, attach command, or
> specified on the gdb command line?

Probably the new_objfile observer, but it depends what you need to do
with it.

-- 
Daniel Jacobowitz
CodeSourcery


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