2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
authorMaxim Kuvyrkov <maxim@kugelworks.com>
Tue, 17 Nov 2009 18:06:47 +0000 (18:06 +0000)
committerMaxim Kuvyrkov <maxim@kugelworks.com>
Tue, 17 Nov 2009 18:06:47 +0000 (18:06 +0000)
* features/m68k-core.xml: New file.

2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>

* gdb.xml/tdesc-regs.exp: Use for m68k.

gdb/ChangeLog
gdb/features/m68k-core.xml [new file with mode: 0644]
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.xml/tdesc-regs.exp

index e90740bd707e930711b9d7731cdcd4b0337ffd21..abfe2dd431e9eae05889e87eee710043b761422d 100644 (file)
@@ -1,3 +1,7 @@
+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.
diff --git a/gdb/features/m68k-core.xml b/gdb/features/m68k-core.xml
new file mode 100644 (file)
index 0000000..f0b3d30
--- /dev/null
@@ -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>
index 64eb802ad6503a16003d820ca0e054b291b08017..50c6fb777cc0d73a08131259c855e55ad04d2c74 100644 (file)
@@ -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.
index cc61cd016eb1cc577bd8c5561004c3b8d27bcbb6..958b18ff7da11f70ce4aea62fd7740a569dcc37f 100644 (file)
@@ -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}
     }