summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2003-06-04 00:25:03 +0000
committerMichael Snyder <msnyder@specifix.com>2003-06-04 00:25:03 +0000
commit48cfa53068106cbe8ab973e02f80cc1d146571e5 (patch)
tree623634856b8f057b651e75de88383c6dca091bf9 /gdb
parentcc0d69223584d761ec757d2c0aa4eb3a00a10350 (diff)
downloadgdb-48cfa53068106cbe8ab973e02f80cc1d146571e5.tar.gz
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog30
-rw-r--r--gdb/config/h8300/tm-h8300.h1
-rw-r--r--gdb/h8300-tdep.c32
3 files changed, 51 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 815d8f7aeb4..7b727012f60 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
@@ -2311,6 +2317,30 @@
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
diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h
index 4e600575045..736e0f83432 100644
--- a/gdb/config/h8300/tm-h8300.h
+++ b/gdb/config/h8300/tm-h8300.h
@@ -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 */
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index ce642a30cc7..282db3863ac 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -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);