aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2005-09-02 23:42:29 +0000
committerKevin Buettner <kevinb@redhat.com>2005-09-02 23:42:29 +0000
commit697e3bc900c45f59d8a79ad0e552eece0a87be35 (patch)
tree62f4d4a19092b3ca9f80053bc0db6f191525e1e4
parent45090ce3a3d658e0dac51f44f1009ab69a366e2a (diff)
downloadgdb-697e3bc900c45f59d8a79ad0e552eece0a87be35.zip
gdb-697e3bc900c45f59d8a79ad0e552eece0a87be35.tar.gz
gdb-697e3bc900c45f59d8a79ad0e552eece0a87be35.tar.bz2
* mn10300-tdep.c (osabi.h): Include.
(mn10300_gdbarch_init): Invoke gdbarch_init_osabi(). * Makefile.in (mn10300-tdep.o): Update dependencies.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in3
-rw-r--r--gdb/mn10300-tdep.c4
3 files changed, 12 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 83d1fc6..3db1c56 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2005-09-02 Kevin Buettner <kevinb@redhat.com>
+
+ * mn10300-tdep.c (osabi.h): Include.
+ (mn10300_gdbarch_init): Invoke gdbarch_init_osabi().
+ * Makefile.in (mn10300-tdep.o): Update dependencies.
+
2005-09-02 Michael Snyder <msnyder@redhat.com>
Kevin Buettner <kevinb@redhat.com>
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 92c8ad1..45026ff 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -2310,7 +2310,8 @@ mn10300-linux-tdep.o: mn10300-linux-tdep.c $(defs_h) $(gdbcore_h) \
mn10300-tdep.o: mn10300-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) \
$(gdbtypes_h) $(regcache_h) $(gdb_string_h) $(gdb_assert_h) \
$(frame_h) $(frame_unwind_h) $(frame_base_h) $(trad_frame_h) \
- $(symtab_h) $(dwarf2_frame_h) $(regcache_h) $(mn10300_tdep_h)
+ $(symtab_h) $(dwarf2_frame_h) $(regcache_h) $(osabi_h) $(mn10300_tdep_h)
+
monitor.o: monitor.c $(defs_h) $(gdbcore_h) $(target_h) $(exceptions_h) \
$(gdb_string_h) $(command_h) $(serial_h) $(monitor_h) $(gdbcmd_h) \
$(inferior_h) $(gdb_regex_h) $(srec_h) $(regcache_h)
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c
index d4daeba..f7af50a 100644
--- a/gdb/mn10300-tdep.c
+++ b/gdb/mn10300-tdep.c
@@ -37,6 +37,7 @@
#include "symtab.h"
#include "dwarf2-frame.h"
#include "regcache.h"
+#include "osabi.h"
#include "mn10300-tdep.h"
@@ -1003,6 +1004,9 @@ mn10300_gdbarch_init (struct gdbarch_info info,
mn10300_frame_unwind_init (gdbarch);
+ /* Hook in ABI-specific overrides, if they have been registered. */
+ gdbarch_init_osabi (info, gdbarch);
+
return gdbarch;
}