From 697e3bc900c45f59d8a79ad0e552eece0a87be35 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Fri, 2 Sep 2005 23:42:29 +0000 Subject: [PATCH] * mn10300-tdep.c (osabi.h): Include. (mn10300_gdbarch_init): Invoke gdbarch_init_osabi(). * Makefile.in (mn10300-tdep.o): Update dependencies. --- gdb/ChangeLog | 6 ++++++ gdb/Makefile.in | 3 ++- gdb/mn10300-tdep.c | 4 ++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 83d1fc67983..3db1c56df59 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2005-09-02 Kevin Buettner + + * 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 Kevin Buettner diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 92c8ad1864f..45026ffcb74 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 d4daeba9c5a..f7af50a0483 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; } -- 2.30.2