asm-mips/ptrace.h pt_regs vs gdb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

It looks like gdb-6.0 (see gdb/mips-linux-tdep.c) uses hardcoded offsets to decipher the register frame section of generated core files.

Unfortunately, someone decided to rearrange the registers in asm-mips/ptrace.h struct pt_regs somewhere between linux-mips 2.4.5 and 2.4.23, so now gdb-6.0
(at least out-of-the-can version) displays incorrect mips register state.


Can someone address this.

Thanks.

Regards,
Russell Berkoff
Pioneer Electronics.



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux