aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2002-12-16 16:51:47 +0000
committerJoel Brobecker <brobecker@gnat.com>2002-12-16 16:51:47 +0000
commit273f84299e5c9d87fae959920f2f3b728d553e75 (patch)
tree78d5ad06b9dbeb903b2b394f0dba3a584a5d6c61 /gdb/hppa-tdep.c
parentaf738ea75a79bb291f653d877ea2808eac148aee (diff)
downloadgdb-273f84299e5c9d87fae959920f2f3b728d553e75.zip
gdb-273f84299e5c9d87fae959920f2f3b728d553e75.tar.gz
gdb-273f84299e5c9d87fae959920f2f3b728d553e75.tar.bz2
* hppa-hpux-tdep.c: New file.
* hppa-tdep.c (hppa_gdbarch_init): call the registered osabi- specific initialization routines. * Makefile.in (ALLDEPFILES): Add hppa-hpux-tdep.c. (hppa-hpux-tdep.o): Add rule. * config/pa/hppahpux.mt (TDEPFILES): Add hppa-hpux-tdep.o. * config/pa/hppa64.mt (TDEPFILES): Likewise.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 477d6af..e928f3f 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -4920,6 +4920,9 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
/* If none found, then allocate and initialize one. */
gdbarch = gdbarch_alloc (&info, NULL);
+ /* Hook in ABI-specific overrides, if they have been registered. */
+ gdbarch_init_osabi (info, gdbarch, osabi);
+
return gdbarch;
}