Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: kevinb@redhat.com
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] solib-svr4.c: Never attempt to place breakpoints on _start, __start, or main
Date: Sat, 18 Sep 2010 16:03:00 -0000	[thread overview]
Message-ID: <201009180924.o8I9OnM9008112@glazunov.sibelius.xs4all.nl> (raw)
In-Reply-To: <20100917164015.69011490@mesquite.lan> (message from Kevin	Buettner on Fri, 17 Sep 2010 16:40:15 -0700)

> Date: Fri, 17 Sep 2010 16:40:15 -0700
> From: Kevin Buettner <kevinb@redhat.com>
> 
> On Fri, 17 Sep 2010 10:10:18 +0200 (CEST)
> Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
> 
> > Obviously it is pointless to keep removing and reinserting these
> > breakpoints.  Perhaps they should be disabled as soon as one of them
> > has been hit?
> 
> That sounds like a good idea.  It's not sufficient though for
> debugging scenarios in which one attaches to a program that's
> already gone past start or main.  Perhaps we should skip the
> attempt to place a breakpoint on _start, __start, and main
> when attaching?

Probably.  We attempt to read the list of shared libraries when we
attach, and I'd be impressed if somebody would be able to attach to a
process before it hits _start ;).


      reply	other threads:[~2010-09-18  9:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-17  2:13 Kevin Buettner
2010-09-17  8:10 ` Daniel Jacobowitz
2010-09-17 12:29 ` Mark Kettenis
2010-09-18 14:13   ` Kevin Buettner
2010-09-18 16:03     ` Mark Kettenis [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=201009180924.o8I9OnM9008112@glazunov.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=gdb-patches@sourceware.org \
    --cc=kevinb@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