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: [commit] Fix two xfer partial bugs; Was; RFA: ia64 portion oflibunwind patch




Andrew Cagney wrote:
Jeff,

I've just committed the attached. It fixes two bugs when using xfer partial in an existing target.

- the "add_target" method was always overriding the child's to_xfer_partial method. The consequence is that the code your patch adds is never called!

- the code would all off the end of a stack which this part of the change fixed: * target.c (init_dummy_target): Initialize to_xfer_partial to default.

I've one more tweak to the target code. Once thats in can you please confirm that this new child method is called and is needed - seems things work without it?


Yes. It is only called if the find_pc_in_section() call fails which it doesn't for the gdb testsuite.


I can try hardwiring a failure to verify that code works once you have your changes in.

-- Jeff J.




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