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/15] Add gdbarch to register_name callback (prep)


Markus Deuling wrote:

> -f:const char *:register_name:int regnr:regnr
> +M:const char *:register_name:int regnr:regnr

You should be using "m" instead of "M".  The latter will allow
targets to not provide a gdbarch_register_name callback, which
doesn't make much sense -- this routine should remain required.

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]