Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [rfc] [00/16] Get rid of current gdbarch
@ 2007-10-08  8:18 Markus Deuling
  2007-10-08 13:03 ` Ulrich Weigand
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Markus Deuling @ 2007-10-08  8:18 UTC (permalink / raw)
  To: GDB Patches
  Cc: Ulrich Weigand, Eli Zaretskii, Joel Brobecker, Jim Blandy,
	rearnsha, Mark Kettenis

Hi,

a while ago I sent a first patch set to get rid of current_gdbarch. I now added some patches and deferred some other and reworked the ChangeLog entries due to feedback from you. Now that 6.7 branch was created this is a reworked patch set for current head.

This patch set is another step in the direction of per-frame architecture. This set of 16 patches replaces (trivial to replace occurences of) current_gdbarch by appropriate methods like get_frame_arch or get_regcache_arch etc.

Currently get_frame_arch just returns current_gdbarch but this will be replaced by later patches.

I tested this patch set on x86 native and remote by compiling and running the testsuite. I also did a gdb_mbuild with all
targets to make sure it compiles.

Some later patches will be non-trivial and hard for me to test due to lack of those machines. It would be great if some of you could test patches for different archs like mips, arm, etc. but this will still take a while.

This patch set replaces some of the current_gdbarch's in following files:

* aix-thread.c
* arm-tdep.c
* alpha-{linux-nat,nat,tdep}.c
* findvar.c
* amd64-{nat,tdep}.c
* i386-tdep.c
* sh[64]-tdep.c
* remote.c
* irix5-nat.c
* regcache.c
* m68k{linux-nat, linux-tdep, -tdep}.c
* dwarf2{loc, -frame}.c
* cris-tdep.c
* hppa-{hpux-nat, hpux-tdep, linux-nat, tdep}.c

Is this ok? 




-- 
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com







^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-10-10 11:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-08  8:18 [rfc] [00/16] Get rid of current gdbarch Markus Deuling
2007-10-08 13:03 ` Ulrich Weigand
2007-10-08 13:22   ` Markus Deuling
2007-10-08 13:35   ` Daniel Jacobowitz
2007-10-08 14:01     ` Ulrich Weigand
2007-10-08 14:10       ` Daniel Jacobowitz
2007-10-09 20:03         ` Ulrich Weigand
2007-10-09 21:39           ` Daniel Jacobowitz
2007-10-10 11:54             ` Mark Kettenis
2007-10-10 12:01               ` Daniel Jacobowitz
2007-10-08 13:16 ` Joel Brobecker
2007-10-09  7:02   ` Markus Deuling
2007-10-08 17:53 ` Maxim Grigoriev
2007-10-09  5:10   ` Markus Deuling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox