Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nick Clifton <nickc@cambridge.redhat.com>
To: Mark Kettenis <kettenis@chello.nl>
Cc: binutils@sources.redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [RFA/PATCH] Fix recognition of NT_PRXFREG notes
Date: Fri, 05 Jul 2002 07:45:00 -0000	[thread overview]
Message-ID: <m33cuytflx.fsf@north-pole.nickc.cambridge.redhat.com> (raw)
In-Reply-To: <200207041503.g64F3Mj08511@elgar.kettenis.dyndns.org>

Hi Mark,

> After Alan's 2002-06-25 change some tests in GDB's testsuite have been
> failing on Linux.  Turns out the current code that reads NT_PRXFREG
> notes expects note->namesz to be 5, but with the trailing 0, the
> length of "LINUX" is 6.  Turns out the Linux kernel doesn't include
> the trailing 0 in the name size.  According to the Systemm V ABI the
> trailing 0 should be included, so Alan's change is correct and Linux
> is wrong here.  But since changing the Linux kernel isn't going to
> happen overnight, I propose the attached fix.
> 
> Ok to check this in?
 
> Index: ChangeLog
> from  Mark Kettenis  <kettenis@gnu.org>
> 
> 	* elf.c (elfcore_grok_note): Fix recognition of NT_PRXFREG notes.

Approved - but, please add a comment explaining this situation, so
that somebody is not tempted to change the code back.

Cheers
        Nick


      parent reply	other threads:[~2002-07-05 14:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-04  8:15 Mark Kettenis
2002-07-04 20:05 ` Alan Modra
2002-07-05  7:45 ` Nick Clifton [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=m33cuytflx.fsf@north-pole.nickc.cambridge.redhat.com \
    --to=nickc@cambridge.redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kettenis@chello.nl \
    /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