From: Andrew Cagney <cagney@gnu.org>
To: Randolph Chung <tausq@debian.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/resend/rfa] (4/4) Make frame-rewind code dependent on ELF attribute of target
Date: Thu, 15 Apr 2004 17:31:00 -0000 [thread overview]
Message-ID: <407EC6FE.3080908@gnu.org> (raw)
In-Reply-To: <20040414062454.GM31873@tausq.org>
> 2004-04-13 Randolph Chung <tausq@debian.org>
>
> * Makefile.in (hppa-hpux-tdep.o): Add $(hppa_tdep_h).
> * hppa-hpux-tdep.c (hppa-linux-tdep.h): Include.
> (hppa_hpux_som_init_abi): Set is_elf to 0.
> (hppa_hpux_elf_init_abi): Set is_elf to 1.
> * hppa-tdep.c (low_text_segment_address): Remove global.
> (record_text_segment_lowaddr): Pass in low address as parameter. Use
> section offset to calculate segment address.
> (internalize_unwinds): Define low_text_segment_address as local and
> pass to record_text_segment_lowaddr for ELF targets.
> (hppa_gdbarch_init): Zero fill tdep structure.
> (hppa_dump_tdep): Print tdep structure.
> * hppa-tdep.h (gdbarch_tdep): Add is_elf member to tdep structure.
(If I've read the previous thread correctly, Joel was ok.)
> Index: hppa-hpux-tdep.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/hppa-hpux-tdep.c,v
> retrieving revision 1.14
> diff -u -p -r1.14 hppa-hpux-tdep.c
> --- hppa-hpux-tdep.c 8 Apr 2004 21:18:12 -0000 1.14
> +++ hppa-hpux-tdep.c 14 Apr 2004 05:01:20 -0000
> @@ -28,6 +28,7 @@ Foundation, Inc., 59 Temple Place - Suit
> #include "objfiles.h"
> #include "inferior.h"
> #include "infcall.h"
> +#include "hppa-linux-tdep.h"
I suspect this should have been "hppa-tdep.h".
> +
> + /* Is this an ELF target? This can be 64-bit HP-UX, or 32/64-bit Linux */
> + int is_elf;
And coding nit. End sentences with a full-stop and two spaces; and
"GNU/Linux" for the system, "Linux kernel" for the kernel. thus:
.... 32/64-bit GNU/Linux system. */
otherwize, yep, ok.
Andrew
next prev parent reply other threads:[~2004-04-15 17:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-14 6:24 Randolph Chung
2004-04-15 17:31 ` Andrew Cagney [this message]
2004-04-17 17:42 ` Randolph Chung
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=407EC6FE.3080908@gnu.org \
--to=cagney@gnu.org \
--cc=gdb-patches@sources.redhat.com \
--cc=tausq@debian.org \
/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