* mn10300-tdep.c (osabi.h): Include.
authorKevin Buettner <kevinb@redhat.com>
Fri, 2 Sep 2005 23:42:29 +0000 (23:42 +0000)
committerKevin Buettner <kevinb@redhat.com>
Fri, 2 Sep 2005 23:42:29 +0000 (23:42 +0000)
(mn10300_gdbarch_init): Invoke gdbarch_init_osabi().
* Makefile.in (mn10300-tdep.o): Update dependencies.

gdb/ChangeLog
gdb/Makefile.in
gdb/mn10300-tdep.c

index 83d1fc6..3db1c56 100644 (file)
@@ -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>
 
index 92c8ad1..45026ff 100644 (file)
@@ -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)
index d4daeba..f7af50a 100644 (file)
@@ -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;
 }