aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-06-04 05:25:10 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-06-04 05:25:10 +0000
commit0bd79c5c09b8a12da3eeb466c9e3613e8d318a7a (patch)
tree03092676758987c959d57f4b0c61e97374e7541f /gdb
parent37bb6d9f02321e57419d487a7ce47d4174b22bd5 (diff)
downloadgdb-0bd79c5c09b8a12da3eeb466c9e3613e8d318a7a.zip
gdb-0bd79c5c09b8a12da3eeb466c9e3613e8d318a7a.tar.gz
gdb-0bd79c5c09b8a12da3eeb466c9e3613e8d318a7a.tar.bz2
* config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
* alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/alpha-osf1-tdep.c3
-rw-r--r--gdb/config/alpha/alpha-osf1.mt2
3 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1a9aab7..59204f4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2003-06-03 J. Brobecker <brobecker@gnat.com>
+ * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
+ * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module.
+
+2003-06-03 J. Brobecker <brobecker@gnat.com>
+
* alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace
references to struct frame_info fields by calls to the equivalent
accessors. Necessary now that frame_info is opaque.
diff --git a/gdb/alpha-osf1-tdep.c b/gdb/alpha-osf1-tdep.c
index 8cd112d..ca757de 100644
--- a/gdb/alpha-osf1-tdep.c
+++ b/gdb/alpha-osf1-tdep.c
@@ -75,6 +75,9 @@ alpha_osf1_init_abi (struct gdbarch_info info,
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+ /* Hook into the MDEBUG frame unwinder. */
+ alpha_mdebug_init_abi (info, gdbarch);
+
set_gdbarch_pc_in_sigtramp (gdbarch, alpha_osf1_pc_in_sigtramp);
/* The next/step support via procfs on OSF1 is broken when running
on multi-processor machines. We need to use software single stepping
diff --git a/gdb/config/alpha/alpha-osf1.mt b/gdb/config/alpha/alpha-osf1.mt
index 29212c9..2a47bd4 100644
--- a/gdb/config/alpha/alpha-osf1.mt
+++ b/gdb/config/alpha/alpha-osf1.mt
@@ -1,3 +1,3 @@
# Target: Little-endian Alpha
-TDEPFILES= alpha-tdep.o alpha-osf1-tdep.o
+TDEPFILES= alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o
TM_FILE= tm-alpha.h