aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/features/m68k-core.xml24
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.xml/tdesc-regs.exp3
4 files changed, 35 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e90740b..abfe2dd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
+ * features/m68k-core.xml: New file.
+
+2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
+
* regformats/reg-cf.dat: New file.
2009-11-17 Daniel Jacobowitz <dan@codesourcery.com>
diff --git a/gdb/features/m68k-core.xml b/gdb/features/m68k-core.xml
new file mode 100644
index 0000000..f0b3d30
--- /dev/null
+++ b/gdb/features/m68k-core.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!DOCTYPE feature SYSTEM "gdb-target.dtd">
+<feature name="org.gnu.gdb.coldfire.core">
+ <reg name="d0" bitsize="32"/>
+ <reg name="d1" bitsize="32"/>
+ <reg name="d2" bitsize="32"/>
+ <reg name="d3" bitsize="32"/>
+ <reg name="d4" bitsize="32"/>
+ <reg name="d5" bitsize="32"/>
+ <reg name="d6" bitsize="32"/>
+ <reg name="d7" bitsize="32"/>
+ <reg name="a0" bitsize="32" type="data_ptr"/>
+ <reg name="a1" bitsize="32" type="data_ptr"/>
+ <reg name="a2" bitsize="32" type="data_ptr"/>
+ <reg name="a3" bitsize="32" type="data_ptr"/>
+ <reg name="a4" bitsize="32" type="data_ptr"/>
+ <reg name="a5" bitsize="32" type="data_ptr"/>
+ <reg name="fp" bitsize="32" type="data_ptr"/>
+ <reg name="sp" bitsize="32" type="data_ptr"/>
+
+ <reg name="ps" bitsize="32"/>
+ <reg name="pc" bitsize="32" type="code_ptr"/>
+
+</feature>
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 64eb802..50c6fb7 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
+
+ * gdb.xml/tdesc-regs.exp: Use for m68k.
+
2009-11-15 Pedro Alves <pedro@codesourcery.com>
* gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
diff --git a/gdb/testsuite/gdb.xml/tdesc-regs.exp b/gdb/testsuite/gdb.xml/tdesc-regs.exp
index cc61cd0..958b18f 100644
--- a/gdb/testsuite/gdb.xml/tdesc-regs.exp
+++ b/gdb/testsuite/gdb.xml/tdesc-regs.exp
@@ -32,6 +32,9 @@ switch -glob -- [istarget] {
"xscale-*-*" {
set core-regs {arm-core.xml}
}
+ "*m68k-*-*" {
+ set core-regs {m68k-core.xml}
+ }
"mips*-*-*" {
set core-regs {mips-cpu.xml mips-cp0.xml mips-fpu.xml}
}