This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
[commit] Re: breakage in m32r on head
- From: Michael Snyder <msnyder at vmware dot com>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Mon, 31 Jan 2011 12:22:21 -0800
- Subject: [commit] Re: breakage in m32r on head
- References: <4D46DB0F.1030701@oarcorp.com>
Joel Sherrill wrote:
Hi,
GNU gdb (GDB) 7.2.50.20110127-cvs
target: m32r-rtems4.11 (similar to m32r-elf)
The 7.2 version at least starts without an error
and appears to debug on the simulator OK.
$ m32r-rtems4.11-gdb
/users/joel/test-gcc/gdb-cvs/src/gdb/gdbarch.c:710: internal-error:
verify_gdbarch: the following are invalid ...
num_regs
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
/users/joel/test-gcc/gdb-cvs/src/gdb/gdbarch.c:710: internal-error:
verify_gdbarch: the following are invalid ...
num_regs
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]
Aborted
This line seems to have been accidentally deleted in a recent check-in.
Please update and try it now.
2011-01-31 Michael Snyder <msnyder@vmware.com>
* m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
line.
Index: m32r-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/m32r-tdep.c,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 m32r-tdep.c
--- m32r-tdep.c 9 Jan 2011 03:20:33 -0000 1.65
+++ m32r-tdep.c 31 Jan 2011 20:18:38 -0000
@@ -930,7 +930,7 @@ m32r_gdbarch_init (struct gdbarch_info i
set_gdbarch_write_pc (gdbarch, m32r_write_pc);
set_gdbarch_unwind_sp (gdbarch, m32r_unwind_sp);
-
+ set_gdbarch_num_regs (gdbarch, M32R_NUM_REGS);
set_gdbarch_sp_regnum (gdbarch, M32R_SP_REGNUM);
set_gdbarch_register_name (gdbarch, m32r_register_name);
set_gdbarch_register_type (gdbarch, m32r_register_type);