This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfa] Signal trampoline unwinder for hppa-hpux
- From: Joel Brobecker <brobecker at gnat dot com>
- To: Randolph Chung <randolph at tausq dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 20 May 2004 15:36:51 -0700
- Subject: Re: [patch/rfa] Signal trampoline unwinder for hppa-hpux
- References: <20040520041746.GW566@tausq.org> <20040520204625.GB10684@gnat.com>
On Thu, May 20, 2004 at 01:46:25PM -0700, Joel Brobecker wrote:
> > I tested this against hppa2.0w-hp-hpux11.11 and hppa2.0w-hp-hpux11.00,
> > but I don't have a hpux machine running a 32-bit kernel to test. If
> > anyone is interested in that target, please give it a try. It *should*
> > work :)
>
> How can you tell whether a kernel is 32bits or not?
>
> I tried your patch on our machines, it we get noticeably better results,
> especially in sigstep.exp, which no longer times out to death....
Hmmm, using a small trace in the code you pointed out in another
message, I found out that we are also running a 64bit kernel...
So my testing didn't bring anything new, I'm afraid.
> > 2004-05-19 Randolph Chung <tausq@debian.org>
> >
> > * hppa-hpux-tdep.c (offsetof): Define.
> > (hppa_hpux_pc_in_sigtramp, hppa32_hpux_frame_saved_pc_in_sigtramp)
> > (hppa32_hpux_frame_base_before_sigtramp)
> > (hppa32_hpux_frame_find_saved_regs_in_sigtramp)
> > (hppa64_hpux_frame_saved_pc_in_sigtramp)
> > (hppa64_hpux_frame_base_before_sigtramp)
> > (hppa64_hpux_frame_find_saved_regs_in_sigtramp): Remove unused functions.
> > (hppa_hpux_sigtramp_find_sigcontext, hppa_hpux_sigtramp_unwind_cache)
> > (hppa_hpux_sigtramp_frame_unwind_cache, hppa_hpux_sigtramp_frame_this_id)
> > (hppa_hpux_sigtramp_frame_prev_register, hppa_hpux_sigtramp_frame_unwind)
> > (hppa_hpux_sigtramp_unwind_sniffer): New signal trampoline unwinder.
> > (hppa_hpux_init_abi): Register sigtramp unwinder.
--
Joel