public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Phil Muldoon <pmuldoon@redhat.com>
To: Roland McGrath <roland@redhat.com>
Cc: Mark Wielaard <mark@klomp.org>, frysk@sourceware.org
Subject: Re: Leaving visible breakpoints in memory/core (Was: 	Breakpoint  stepping)
Date: Thu, 12 Jul 2007 14:24:00 -0000	[thread overview]
Message-ID: <4696398B.6040404@redhat.com> (raw)
In-Reply-To: <20070712024947.9F7354D0489@magilla.localdomain>

Roland McGrath wrote:
> This is something that you get for free from the "fancy VM tricks"
> facilities that are still pie in the sky, but is more or less hopeless
> short of that.  So I just wouldn't worry about it any time soon.  The best
> I think we can do for now is just remove the breakpoints when you know it's
> about to dump core.  This is pretty easy (at least in utrace-based
> interfaces) since you just catch the "signal that is about to try to dump
> core" event, which you were probably catching already, and it clearly
> distinguishes "definitely about to die" from "might run a signal handler
> and survive".
>
>   
I'm torn between whether tools like fcore (well only fcore in this 
instance) should just leave things as they are and construct core of the 
process "as is". Depends on the definition of a coredump and whether 
prettying up the process by removing bps, and other blockers is a "good 
thing" before a userland coredump. Or whether we should just dump it, 
warts and all.

The second question speaks to a Frysk mechanics question, if we do 
remove all the bits, then dump core, can we replace them exactly as they 
were before? I'd like to say yes, but I get the nagging feeling this 
isn't so? What do others think?

Phil

  reply	other threads:[~2007-07-12 14:24 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-04 18:20 Breakpoint stepping Mark Wielaard
2007-07-05  4:45 ` Phil Muldoon
2007-07-05 12:39   ` Mark Wielaard
2007-07-10  9:59     ` Leaving visible breakpoints in memory/core (Was: Breakpoint stepping) Mark Wielaard
2007-07-10 13:52       ` Andrew Cagney
2007-07-10 18:06       ` Phil Muldoon
2007-07-11  9:47         ` Mark Wielaard
2007-07-12  2:49           ` Roland McGrath
2007-07-12 14:24             ` Phil Muldoon [this message]
2007-07-12 20:24               ` Roland McGrath
2007-07-16 15:57                 ` Mark Wielaard
2007-07-17 15:43                   ` Phil Muldoon
2007-07-17 17:06                     ` Mark Wielaard
2007-07-16 15:53               ` Mark Wielaard
2007-07-17 15:47                 ` Phil Muldoon
2007-07-17 17:08                   ` Mark Wielaard
2007-07-05 18:37 ` Breakpoint stepping Andrew Cagney
2007-07-23 12:19   ` Mark Wielaard
2007-07-10 10:39 ` Instruction parser (Was: Breakpoint stepping) Mark Wielaard
2007-07-10 10:50 ` Instruction breakpoint-stepping testsuite " Mark Wielaard
2007-07-16  9:19   ` [patch] " Mark Wielaard
2007-07-10 10:57 ` SSOL Area " Mark Wielaard

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=4696398B.6040404@redhat.com \
    --to=pmuldoon@redhat.com \
    --cc=frysk@sourceware.org \
    --cc=mark@klomp.org \
    --cc=roland@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).