From 0bd79c5c09b8a12da3eeb466c9e3613e8d318a7a Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 4 Jun 2003 05:25:10 +0000 Subject: [PATCH] * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o. * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module. --- gdb/ChangeLog | 5 +++++ gdb/alpha-osf1-tdep.c | 3 +++ gdb/config/alpha/alpha-osf1.mt | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1a9aab7ded7..59204f45e51 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-06-03 J. Brobecker + + * 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 * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace diff --git a/gdb/alpha-osf1-tdep.c b/gdb/alpha-osf1-tdep.c index 8cd112df566..ca757de660f 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 29212c9a957..2a47bd41429 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 -- 2.30.2