This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] Add child_to_xfer_partial; Was: ia64 portion of libunwind patch
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>, "J. Johnston" <jjohnstn at redhat dot com>
- Cc: Daniel Jacobowitz <drow at mvista dot com>, Kevin Buettner <kevinb at redhat dot com>, Marcel Moolenaar <marcel at xcllnt dot net>, gdb-patches at sources dot redhat dot com
- Date: Thu, 6 Nov 2003 18:04:17 -0700
- Subject: Re: [patch/rfc] Add child_to_xfer_partial; Was: ia64 portion of libunwind patch
- References: <3F986E31.8050201@redhat.com> <1031024175718.ZM3475@localhost.localdomain> <3F996D88.9060505@redhat.com> <1031024185625.ZM9827@localhost.localdomain> <3F9F0180.2010702@redhat.com> <20031029012833.GA11070@nevyn.them.org> <3FA043B2.6090401@redhat.com> <3FA7F97B.4090909@redhat.com> <3FAACBE3.3060104@redhat.com>
On Nov 6, 5:32pm, Andrew Cagney wrote:
> This adds a child_xfer_partial method to "inftarg.c". I've included a
> hook vis:
>
> > +#if 0
> > + case TARGET_OBJECT_UNWIND_TABLE:
> > +#ifndef NATIVE_XFER_UNWIND_TABLE
> > +#define NATIVE_XFER_UNWIND_TABLE(OPS,OBJECT,ANNEX,WRITEBUF,READBUF,OFFSET,LEN)
> > (-1)
> > +#endif
> > + return NATIVE_XFER_UNWIND_TABLE (ops, object, annex, writebuf,
> > + readbuf, offset, len);
> > +#endif
>
> so that, in theory, all you need do is define that in the linux specific
> nm-*.h file.
>
> I think this will make plugging in additional xfer methods easier. How
> does it look?
>
> Anyone else?
Looks good to me. I assume it's #if 0'd because TARGET_OBJECT_UNWIND_TABLE
isn't defined yet?
Kevin