This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[rfc] [0/8] Eliminate current_gdbarch from *-tdep.c
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 27 Aug 2008 20:00:39 +0200 (CEST)
- Subject: [rfc] [0/8] Eliminate current_gdbarch from *-tdep.c
Hello,
the *-tdep.c files are already nearly free of references to current_gdbarch.
In fact, all remaining references are simple to remove; the following set of
straightforward patches achieves this. (Note that some *implicit* references,
e.g. due to builtin_type_... use, still remain!)
Tested on powerpc-linux and powerpc64-linux, as well as by compiling
everything with --enable-targets=all.
I don't expect this patch set to change the behaviour of GDB on any platform.
However, as I'm unable to test most of the archs touched by those patches,
I'd certainly appreciate feedback / testing.
If there are no objections, I'm planning to commit those in a week or so.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com