This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] [01/09] Get rid of current_gdbarch (s390 SUBOFF)
- 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)
- Date: Mon, 5 Nov 2007 16:32:51 +0100 (CET)
- Subject: Re: [rfc] [01/09] Get rid of current_gdbarch (s390 SUBOFF)
Markus Deuling wrote:
> #ifdef __s390x__
> -#define SUBOFF(i) \
> +#define SUBOFF(gdbarch, i) \
> ((gdbarch_ptr_bit (current_gdbarch) == 32 \
Well, I guess you should actually *use* the gdbarch parameter here :-)
Otherwise, this look good.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com