This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] Eliminate hard coded constant num_regs in mips_gdbarch_init


It's about par for the course :-( The code also assumes that
mips_r3041_reg_names, mips_r3051_reg_names and mips_r3081_reg_names are the same size (90 - 32). If you're trying to add more than 90 registers, you've a bigger problem.


Currently we have at total of 416 registers defined, including the

you have a bigger problem :-(


standard mips architecture registers.  However that includes an
individual register for every element of each matrix register, each of
which holds 16 32-bit values.  I'm working on redefining the register
set more like how the MMX and Altivec registers work, where $m0 is a
single register instead of 16 individual registers ($m0_00,
... $m0_15).

Insight, at least, works much better when you do this. Also note the ``reggroups'', it lets you categorize all the registers - again working much better with GUIs.


Andrew



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