Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Kris Warkentin" <kewarken@qnx.com>
To: "Daniel Jacobowitz" <drow@mvista.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 19:12:00 -0000	[thread overview]
Message-ID: <09d201c3464e$2011b290$0202040a@catdog> (raw)
In-Reply-To: <20030709183041.GA24498@nevyn.them.org>

> 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.

Well, SOLIB_LOADED_LIBRARY_PATHNAME is only used twice.  Once it just fills
a string (triggered_dll_pathname) which is only used for printing.
Therefore we could return a comma separated list or something pretty like
that.

The other is just to compare against a dll_pathname so we could get away
with creating a SOLIB_WAS_(UN)LOADED(pid, "libname") and have the backend
check through the list for libname.

Okay...that seems reasonable.  Another question: since we've already got a
solib breakpoint set in svr4, we don't need to call
create_solib_load_event_breakpoint() like somsolib.c and pa64solib.c do.
Can you have multiple types associated with a single break or do we just set
another at the same address?

cheers,

Kris



  reply	other threads:[~2003-07-09 19:12 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
2003-07-09 19:12                         ` Kris Warkentin [this message]
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='09d201c3464e$2011b290$0202040a@catdog' \
    --to=kewarken@qnx.com \
    --cc=ac131313@redhat.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --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