Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: pedro@codesourcery.com (Pedro Alves)
Cc: gdb-patches@sourceware.org, tromey@redhat.com,
	        jkratoch@redhat.com (Jan Kratochvil)
Subject: Re: [rfc] Infrastructure to disable breakpoints during inferior startup
Date: Fri, 31 Jul 2009 15:45:00 -0000	[thread overview]
Message-ID: <200907311435.n6VEZTLo028336@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <200907231751.01413.pedro@codesourcery.com> from "Pedro Alves" at Jul 23, 2009 05:51:00 PM

Pedro Alves wrote:
> On Thursday 23 July 2009 17:31:02, Ulrich Weigand wrote:
> 
> > Thinking about it a bit more, it seems that in the context of Pedro's
> > patches, this flag really needs to be a symbol-space property, not an
> > inferior property: it basically says that objfiles in this symbol
> > space have not yet been relocated to their final addresses and therefore
> > cannot be used to determine breakpoint addresses.
> > 
> > In the situation where multiple inferiors potentially share a symbol
> > space, this property applies to all of them.  Also, with Pedro's
> > patches breakpoints will be per-symbol-space, not per-inferior, so
> > we'll have to disable/re-enable all breakpoints in a given symbol
> > space (we cannot really disable all breakpoints of a given inferior,
> > as this information is not actually known).
> > 
> > So it seems that after all adding the flag to struct inferior now
> > might be a step in the wrong direction; it should instead be added to
> > struct symbol_space once Pedro's patches are in.
> > 
> > Pedro, any comments?
> 
> Yes, I agree with you.  (although in the only target supporting
> shared symbol space, DICOS, we don't run or start programs, we only
> attach to already running ones, and if we did [it would be possible to
> add such feature], the code is always already all relocated when we
> connect --- due to the global shared libraries feature of DICOS.)
> 
> While Tom's right, there has been a stream of changes recently that
> constantly require that I adjust the multi-exec patch set, I'll handle
> this one easily when your patch is in; I don't think it will
> be much trouble.

Thanks, Pedro!  I've checked the patch in now; if you have any issues
in adapting the multi-exec patch, please let me know; I'd be happy
to help ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


  parent reply	other threads:[~2009-07-31 14:36 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-22 17:14 Ulrich Weigand
2009-07-22 20:32 ` Tom Tromey
2009-07-23 15:49   ` Ulrich Weigand
2009-07-23 16:51     ` Tom Tromey
2009-07-23 18:06       ` Ulrich Weigand
2009-07-23 18:57         ` Pedro Alves
2009-07-24 22:49           ` Tom Tromey
2009-07-24 23:32             ` Multi-exec patches (Was: [rfc] Infrastructure to disable breakpoints during inferior startup) Tom Tromey
2009-07-25 16:05               ` Pedro Alves
2009-07-25 19:31                 ` Pedro Alves
2009-07-27 17:39                 ` Multi-exec patches Tom Tromey
2009-07-27 18:45                   ` Tom Tromey
2009-07-28 14:28                   ` Pedro Alves
2009-07-29 22:03                     ` Tom Tromey
2009-07-31 15:45           ` Ulrich Weigand [this message]
2009-08-03  3:07             ` [rfc] Infrastructure to disable breakpoints during inferior startup Thiago Jung Bauermann
2009-08-03 18:13               ` Eli Zaretskii
2009-08-05 18:14                 ` Ulrich Weigand
2009-08-05 18:58                   ` Eli Zaretskii
2009-08-06 17:46                   ` Tom Tromey
2009-08-06 18:42                     ` Eli Zaretskii
2009-08-06 19:12                       ` Michael Snyder

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=200907311435.n6VEZTLo028336@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jkratoch@redhat.com \
    --cc=pedro@codesourcery.com \
    --cc=tromey@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