This is the mail archive of the gdb-patches@sourceware.org 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: [rfc] Remove remote_translate_xfer_address gdbarch routine


On Wed, May 09, 2007 at 02:19:56AM +0200, Ulrich Weigand wrote:
> Hello,
> 
> this is another unused gdbarch routine: remote_translate_xfer_address.
> 
> While this is actually still called in remote.c, there is just a
> single non-default definition in ia64-tdep.c, and this is a copy
> of the generic routine.  Thus the calls in remote.c are no-ops.
> 
> I'd suggest to remove this, but I'm not quite sure about the
> history of the callback.  Is this something we should attempt
> to keep in case some future target will need it again?

My reading of the changelog entries associated suggests that it is
obsolete.  It was used for the d10v, frv, ia64, and avr; the frv and
avr methods were removed, probably during another cleanup of the
distinction between pointers and addresses.  I think it can go.

We may need it back again - but then we'll have a better idea
what arguments it needs.

-- 
Daniel Jacobowitz
CodeSourcery


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