linux-mips
[Top] [All Lists]

asm-mips/ptrace.h pt_regs vs gdb

To: linux-mips <linux-mips@linux-mips.org>
Subject: asm-mips/ptrace.h pt_regs vs gdb
From: Russell Berkoff <rberkoff@pioneer-pra.com>
Date: Wed, 17 Mar 2004 16:46:32 -0800
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
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.


<Prev in Thread] Current Thread [Next in Thread>
  • asm-mips/ptrace.h pt_regs vs gdb, Russell Berkoff <=