Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Kris Warkentin <kewarken@qnx.com>
Cc: Kevin Buettner <kevinb@redhat.com>,
	Andrew Cagney <ac131313@redhat.com>,
	"Gdb@Sources.Redhat.Com" <gdb@sources.redhat.com>
Subject: Re: [rfc] Print solib events in mi-mode
Date: Wed, 09 Jul 2003 18:30:00 -0000	[thread overview]
Message-ID: <20030709183041.GA24498@nevyn.them.org> (raw)
In-Reply-To: <099e01c34646$ea45e4d0$0202040a@catdog>

On Wed, Jul 09, 2003 at 02:21:28PM -0400, Kris Warkentin wrote:
> > On Wed, Jul 09, 2003 at 02:02:00PM -0400, Kris Warkentin wrote:
> > > Someone just pointed something out to me.  "set stop-on-solib-events 1"
> is
> > > NOT enable-load-catchpoint or anything else.  Yes, those things should
> exist
> > > for all solib platforms but the bottom line is that stop-on-solib-events
> is
> > > not currently mi-enabled and it should be.
> > >
> > > I want to make that command result in proper mi output, regardless of
> any
> > > other things which might be implemented in the future.
> >
> > And I want load catchpoints fixed, so that stop-on-solib-events is
> > NEVER MI-enabled, so that it can be removed instead of supported for
> > years.  It is in every way inferior to catchpoints.  That was my point.
> 
> Well I want an ice cream bar so I'm going to go get one. :-P

Curse you, now I want ice cream.

> Alright then.  I see that SOM and PA64 both implement
> SOLIB_CREATE_CATCH_*LOAD_HOOK and most everyone else just errors out if you
> try.  Should we be adding these functions to the target_so_ops vector?  Does
> every target that supports solibs build solib.c?  If so, we could tweak the
> defines to use the vector and have a default implementation that prints an
> error.  That way solib-svr4 and friends can implement these functions in the
> backend.
> 
> ????

That's not really the problem - the breakpoint is already there, it's
the same breakpoint we stop at for stop-on-solib-events.  The real
trick is going to be reporting the events - SOLIB_HAVE_LOAD_EVENT
and SOLIB_LOADED_LIBRARY_PATHNAME.  The model has to change a little
since more than one library can be reported at once in the svr4 model.


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2003-07-09 18:30 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-08 20:35 Kris Warkentin
2003-07-08 21:02 ` Andrew Cagney
2003-07-09 12:24   ` Kris Warkentin
2003-07-09 15:09     ` Daniel Jacobowitz
2003-07-09 15:38       ` Kris Warkentin
2003-07-09 16:24         ` Daniel Jacobowitz
2003-07-09 17:29           ` Kris Warkentin
2003-07-09 17:41             ` Kevin Buettner
2003-07-09 17:49               ` Kris Warkentin
2003-07-09 18:01                 ` Kris Warkentin
2003-07-09 18:05                   ` Daniel Jacobowitz
2003-07-09 18:21                     ` Kris Warkentin
2003-07-09 18:30                       ` Daniel Jacobowitz [this message]
2003-07-09 19:12                         ` Kris Warkentin
2003-07-09 19:46                           ` Daniel Jacobowitz
2003-07-09 20:00                             ` Kris Warkentin
2003-07-09 20:03                               ` Daniel Jacobowitz
2003-07-18 16:12                 ` Andrew Cagney
2003-07-09 20:38 ` Jason Molenda
2003-07-10 12:23   ` Kris Warkentin
2003-07-10 16:33   ` Andrew Cagney

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=20030709183041.GA24498@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=ac131313@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=kevinb@redhat.com \
    --cc=kewarken@qnx.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