This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] mips 32/64 register/stack fix
- From: Andrew Cagney <cagney at gnu dot org>
- To: Michael Snyder <msnyder at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, cagney <cagney at redhat dot com>,Daniel Jacobowitz <drow at mvista dot com>
- Date: Thu, 22 Apr 2004 18:04:05 -0400
- Subject: Re: [RFA] mips 32/64 register/stack fix
- References: <408813A9.6000402@redhat.com> <4088242A.4070601@gnu.org> <40883C90.7030509@redhat.com>
#0 register_size (gdbarch=0x84093e8, regnum=120)
120 looks large enough to be cooked (but to confirm this can you look at
"maint print raw-registers". This will also tell us the register's
type, and hence confirm the size.
Given that you see 8, this suggests that the register's type is wrong
(see mips_register_type).
Also, what information is available in the object file header?
Andrew