Re: [patch] mips-tdep: info registers

Daniel Jacobowitz
2009-03-06T12:25:02Z

On Fri, Mar 06, 2009 at 12:00:31AM -0500, Aleksandar Ristovski wrote:
> Maybe adding gdbarch_regname_to_regnum or something like that (which would
> avoid iterating through the registers and comparing returned register
> names).

Let's keep optimization separate from functionality; there's a
function in user-regs.h to do the lookup and if it's too slow it can
be converted to use a hash table.

--
Daniel Jacobowitz
CodeSourcery