MIPS CPU register order

Sumit Garg sgarg@apertonet.com
Fri Jun 22 10:54:00 GMT 2001

Hi All,
I am working on enhancing the GDB, to process our properietory core files.
Currently I am dumping the registers in the .reg segment in the following
    sr, pc, lo, hi, gpreg[32], cause, fpcsr.

However, I am not sure if this is the order in which the function
read_registers(), would expect the registers to be. Can somebody pls give me
pointers to where the GDB register order for mips processors is stored.


More information about the Gdb mailing list