mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Roland McGrath <roland@redhat.com>
To: David Miller <davem@davemloft.net>
Cc: rmk+lkml@arm.linux.org.uk, linux-arch@vger.kernel.org,
	utrace-devel@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: CONFIG_HAVE_ARCH_TRACEHOOK and you
Date: Fri, 12 Sep 2008 15:45:54 -0700 (PDT)	[thread overview]
Message-ID: <20080912224554.61CCB15420D@magilla.localdomain> (raw)
In-Reply-To: David Miller's message of  Friday, 12 September 2008 15:40:15 -0700 <20080912.154015.93377289.davem@davemloft.net>

> > Didn't it also write NT_PRFPREG notes of the wrong size?
> 
> Yep, but gdb was "generous in what it received" and happily
> read the contents.

Ah.  I've always done core sanity checks with:
	1. generate core1 on old kernel
	2. generate core2 on new kernel (identical userland scenario)
	3. eu-readelf -nl core1 > a
	4. eu-readelf -nl core2 > b
	5. diff -u a b
Then you can eyeball any expected drift like SP address randomization,
and be suspicious of all other differences.  (Of course, I also test
that gdb still likes it.)


Thanks,
Roland

  reply	other threads:[~2008-09-12 22:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12  2:57 Roland McGrath
2008-09-12  8:23 ` Christoph Hellwig
2008-09-12 13:05 ` Paul Mundt
2008-09-15 20:38   ` Roland McGrath
2008-09-12 13:13 ` Russell King
2008-09-12 21:57   ` David Miller
2008-09-12 22:31   ` Roland McGrath
2008-09-12 22:37     ` David Miller
2008-09-12 22:39       ` Roland McGrath
2008-09-12 22:40         ` David Miller
2008-09-12 22:45           ` Roland McGrath [this message]
2008-09-12 13:40 Russell King
2008-09-12 23:57 ` Roland McGrath

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=20080912224554.61CCB15420D@magilla.localdomain \
    --to=roland@redhat.com \
    --cc=davem@davemloft.net \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk+lkml@arm.linux.org.uk \
    --cc=utrace-devel@redhat.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

all inboxes | Powered by JetHome®