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: [patch/rfc] New program_changed event, cleanup some HPUXHPPAmess


Have a look at the new inferior_created event (it sounds similar). The
code to wire it in is in my post ``Wire up vsyscall''.
http://sources.redhat.com/ml/gdb-patches/2004-05/msg00169.html

BTW, what's the underlying problem?


the hppa target code caches some symbolic values for some stub functions
and uses those during unwinding operations (e.g. $$dyncall). So if the
inferior changes, we need to update the cached values.

Ok (side bar, the flush shouldn't be needed. the new inferior should have already had everything flushed -- only GDB doesn't create a new inferior, instead recycling the old one :-().


assuming the attach case also works, this should be ok for what i need.

That code was added for a similar problem so it looks hopeful.


Andrew

Can you separate this part out (it sounds very straight forward).


will do.

randolph



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