This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] [00/17] Get rid of current_gdbarch (4th)
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: deuling at de dot ibm dot com (Markus Deuling)
- Cc: gdb-patches at sourceware dot org (GDB Patches), brobecker at adacore dot com (Joel Brobecker), drow at false dot org (Daniel Jacobowitz), mark dot kettenis at xs4all dot nl (Mark Kettenis)
- Date: Thu, 11 Oct 2007 15:36:49 +0200 (CEST)
- Subject: Re: [rfc] [00/17] Get rid of current_gdbarch (4th)
Hi Markus,
> Patch 04/17 is a patch from Ulrich which adds "struct gdbarch" to "struct objfile" to enable accessing
> an objfiles's architecture. Some of the following patches depend on this patch.
> @Uli: I hope it's ok that I borrowed your patch ? ;-)
I think it would be better to separate those parts out. I'd like to see some
more discussion on the concept of per-objfile gdbarch. It would help to see
clearly in which places we actually need this; this is important for those
cases where the per-objfile gdbarch doesn't have the full information that
the actual target-refined gdbarch has.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com