This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]