From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: randolph@tausq.org
Cc: gdb-patches@sources.redhat.com
Subject: Re: [hppa-hpux] Core file support for hppa64-hp-hpux11.11
Date: Thu, 17 Nov 2005 14:46:00 -0000 [thread overview]
Message-ID: <200511171244.jAHCi9RY004505@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <437C76DE.5020108@tausq.org> (message from Randolph Chung on Thu, 17 Nov 2005 20:26:06 +0800)
> Date: Thu, 17 Nov 2005 20:26:06 +0800
> From: Randolph Chung <randolph@tausq.org>
>
> Together with http://sourceware.org/ml/binutils/2005-11/msg00269.html,
> the following patch adds support for corefiles to hppa64-hp-hpux11.11.
> This should fix corefiles/2026
>
> I'll check this in once the bfd bits are approved.
>
> 2005-11-17 Randolph Chung <tausq@debian.org>
>
> PR corefiles/2026
> * hppa-hpux-tdep.c (hppa_hpux_core_osabi_sniffer): Recognize core
> files generated by hppa64-hp-hpux*
> (_initialize_hppa_hpux_tdep): Likewise.
>
> Index: hppa-hpux-tdep.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/hppa-hpux-tdep.c,v
> retrieving revision 1.43
> diff -u -p -r1.43 hppa-hpux-tdep.c
> --- hppa-hpux-tdep.c 29 Oct 2005 21:31:45 -0000 1.43
> +++ hppa-hpux-tdep.c 17 Nov 2005 12:18:56 -0000
> @@ -2055,6 +2064,8 @@ hppa_hpux_core_osabi_sniffer (bfd *abfd)
> {
> if (strcmp (bfd_get_target (abfd), "hpux-core") == 0)
> return GDB_OSABI_HPUX_SOM;
> + else if (strcmp (bfd_get_target (abfd), "elf64-hppa") == 0)
> + return GDB_OSABI_HPUX_ELF;
Don't think this is right. Is it needed at all? If it is, then we
should try to do this differently. The mere fact that the BFD target
is elf64-hppa doesn't imply that this is a HP-UX ELF core file does it?
Mark
next prev parent reply other threads:[~2005-11-17 12:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-17 12:56 Randolph Chung
2005-11-17 14:46 ` Mark Kettenis [this message]
2005-11-17 15:52 ` Randolph Chung
2005-11-17 16:02 ` Mark Kettenis
2005-11-18 3:37 ` Randolph Chung
2005-11-18 4:44 ` Mark Kettenis
2005-11-18 13:49 ` Randolph Chung
2005-11-18 15:30 ` Mark Kettenis
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=200511171244.jAHCi9RY004505@elgar.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=gdb-patches@sources.redhat.com \
--cc=randolph@tausq.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