This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] nto target: Code cleanup
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Aleksandar Ristovski <aristovski at qnx dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 11 Jun 2009 15:24:10 -0400
- Subject: Re: [patch] nto target: Code cleanup
- References: <h0rl5d$pjg$1@ger.gmane.org>
> * i386-nto-tdep.c (i386_nto_target): Remove definition.
> (init_i386nto_ops): Use macros to set fields to global
> current_nto_target directly.
> (i386nto_init_abi): Remove unused nto_set_target call.
> * nto-tdep.h (nto_set_target): Remove unused declaration.
> * nto-tdep.c (nto_set_target): Remove unused function.
Thanks for extracting this part out. This is OK.
I'm wondering how the other targets do this sort of thing,
but my brain seem to be refusing to function at the moment...
--
Joel