From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: brobecker@adacore.com
Cc: randolph@tausq.com, gdb-patches@sources.redhat.com
Subject: Re: [RFA/RFC] Improve hppa PC reading/unwinding
Date: Tue, 07 Dec 2004 18:24:00 -0000 [thread overview]
Message-ID: <200412071808.iB7I851U002559@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <20041207100749.GB2524@adacore.com> (message from Joel Brobecker on Tue, 7 Dec 2004 11:07:49 +0100)
Date: Tue, 7 Dec 2004 11:07:49 +0100
From: Joel Brobecker <brobecker@adacore.com>
> Index: ChangeLog
> from Mark Kettenis <kettenis@gnu.org>
>
> * hppa-tdep.h (hppa_read_pc, hppa_write_pc, hppa_unwind_pc): New
> prototypes.
> * hppa-tdep.c (hppa_read_pc): Rename from hppa_target_read_pc.
> Make global. Remove HP-UX specific code.
> (hppa_write_pc): Rename from hppa_target_write_pc. Make global.
> Remove HP-UX specific code.
> (hppa_unwind_pc): Make global. Remove HP-UX specific code.
> (hppa_frame_prev_register_helper): Set "flags" register to zero
> for all unwound frames.
> (hppa_gdbarch_init): Adjust.
> * hppa-hpux-tdep.c (HPPA_HPUX_SS_INSYSCALL): New define.
> (hppa_hpux_read_pc, hppa_hpux_write_pc)
> (hppa_hpux_unwind_pc): New functions.
> (hppa_hpux_init_abi): Set read_pc, write_pc and unwind_pc.
I read the patch, and also tested it with the little example I posted
in the thread you mentioned, and found that it fixed the problem. I
also did a bit of sanity checking and it looks good. I can also test
this change against the testsuite if necessary.
Nah, I ran the testsuite myself. Went ahead and committed it.
Mark
prev parent reply other threads:[~2004-12-07 18:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-05 21:34 Mark Kettenis
2004-12-07 11:04 ` Joel Brobecker
2004-12-07 18:24 ` Mark Kettenis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200412071808.iB7I851U002559@elgar.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sources.redhat.com \
--cc=randolph@tausq.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox