2003-06-03 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 4 Jun 2003 00:25:03 +0000 (00:25 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 4 Jun 2003 00:25:03 +0000 (00:25 +0000)
* config/h8300/tm-h8300.h (h8300sxmode): Declare.
* h8300-tdep.c (h8300_gdbarch_init): Set machine mode
for h8300sx.

gdb/ChangeLog
gdb/config/h8300/tm-h8300.h
gdb/h8300-tdep.c

index 815d8f7aeb42cb2a735ace162e8e1793104ad792..7b727012f605faaad731cfc4af8a178d809fef42 100644 (file)
@@ -1,3 +1,9 @@
+2003-06-03  Michael Snyder  <msnyder@redhat.com>
+
+       * config/h8300/tm-h8300.h (h8300sxmode): Declare.
+       * h8300-tdep.c (h8300_gdbarch_init): Set machine mode
+       for h8300sx.
+
 2003-06-03  J. Brobecker  <brobecker@gnat.com>
 
        * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile.
        td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t
        as types.
 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+       
 2003-04-16  Kevin Buettner  <kevinb@redhat.com>
 
        * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set
index 4e6005750457245476ba0c4218e7c054f6e754b8..736e0f834325e24aaef69bb1434020790960e88c 100644 (file)
@@ -28,6 +28,7 @@
    GDB_TARGET_IS_H8300 in remote-e7000.c */
 extern int h8300hmode;
 extern int h8300smode;
+extern int h8300sxmode;
 #define GDB_TARGET_IS_H8300
 
 /* Needed for remote.c */
index ce642a30cc7bb323a1de1b98f150723d84fee599..282db3863ac965378eb4a11b1bafce14f3cbf1b1 100644 (file)
@@ -1074,18 +1074,26 @@ h8300_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
 
   switch (info.bfd_arch_info->mach)
     {
-      case bfd_mach_h8300:
-       h8300smode = 0;
-       h8300hmode = 0;
-       break;
-      case bfd_mach_h8300h:
-       h8300smode = 0;
-       h8300hmode = 1;
-       break;
-      case bfd_mach_h8300s:
-       h8300smode = 1;
-       h8300hmode = 1;
-       break;
+    case bfd_mach_h8300:
+      h8300sxmode = 0;
+      h8300smode = 0;
+      h8300hmode = 0;
+      break;
+    case bfd_mach_h8300h:
+      h8300sxmode = 0;
+      h8300smode = 0;
+      h8300hmode = 1;
+      break;
+    case bfd_mach_h8300s:
+      h8300sxmode = 0;
+      h8300smode = 1;
+      h8300hmode = 1;
+      break;
+    case bfd_mach_h8300sx:
+      h8300sxmode = 1;
+      h8300smode = 1;
+      h8300hmode = 1;
+      break;
     }
 
   gdbarch = gdbarch_alloc (&info, 0);