[commit] Fix two xfer partial bugs; Was; RFA: ia64 portion of libunwind patch

Andrew Cagney ac131313@redhat.com
Thu Nov 6 20:03:00 GMT 2003


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?

Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20031106/1b45172e/attachment.ksh>


More information about the Gdb-patches mailing list