This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA]: Fix for pending breakpoints in manually loaded/unloadedshlibs


I'm currently investigating gdb.threads/static.exp failures and to fix
that I think I'll need to add a further observer event.


Really?

Really?


> I think thread-db needs to try to initialize at two points:
whenever a new shared library is loaded (converting the objfile hook to
an observer would be nice, but independent) and whenever an inferior is
created (conveniently we've got an observer for this already).

Think PIE.


For our purposes, both new executable loaded and new shlib loaded are the same event - there's been an objfile_loaded event. There's no reason to differentiate them.

The new inferior event is orthogonal, and far more low level.

Andrew

(Of course this lets us eliminate one of the deprecated hooks)



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