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] [4/5] Get rid of current_gdbarch in reggroups.c


Markus Deuling wrote:

>    float_p = TYPE_CODE (register_type (gdbarch, regnum)) == TYPE_CODE_FLT;
>    /* FIXME: cagney/2003-04-13: Can't yet use gdbarch_num_regs
>       (gdbarch), as not all architectures are multi-arch.  */
> -  raw_p = regnum < gdbarch_num_regs (current_gdbarch);
> +  raw_p = regnum < gdbarch_num_regs (gdbarch);

I've also removed this FIXME, as this is now obsolete :-)

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]