This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Add a few more m68k register numbers
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 17 May 2004 12:50:35 +0200 (CEST)
- Subject: [PATCH] Add a few more m68k register numbers
Fairly trivial. Committed.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM
and M68K_A2_REGNUM.
Index: m68k-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/m68k-tdep.h,v
retrieving revision 1.8
diff -u -p -r1.8 m68k-tdep.h
--- m68k-tdep.h 3 May 2004 21:56:09 -0000 1.8
+++ m68k-tdep.h 17 May 2004 10:49:01 -0000
@@ -31,8 +31,11 @@ enum m68k_regnum
{
M68K_D0_REGNUM = 0,
M68K_D1_REGNUM = 1,
+ M68K_D2_REGNUM = 2,
+ M68K_D7_REGNUM = 7,
M68K_A0_REGNUM = 8,
M68K_A1_REGNUM = 9,
+ M68K_A2_REGNUM = 10,
M68K_FP_REGNUM = 14, /* Address of executing stack frame. */
M68K_SP_REGNUM = 15, /* Address of top of stack. */
M68K_PS_REGNUM = 16, /* Processor status. */