public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: "Alain Magloire" <alain@qnx.com>
To: drow@mvista.com (Daniel Jacobowitz)
Cc: gdb@sources.redhat.com
Subject: Re: Catchpoint in GDB/MI
Date: Tue, 06 May 2003 16:12:00 -0000	[thread overview]
Message-ID: <200305061612.MAA10602@node1.ott.qnx.com> (raw)
In-Reply-To: <20030506153130.GA27989@nevyn.them.org> from "Daniel Jacobowitz" at May 06, 2003 11:31:30 AM

> 
> On Tue, May 06, 2003 at 11:15:50AM -0400, Alain Magloire wrote:
> > > 
> > > On Tue, May 06, 2003 at 10:50:47AM -0400, Alain Magloire wrote:
> > > > Bonjour
> > > > 
> > > > 	Anyone working on putting catchpoints in GDB/MI.
> > > > If yes what is the semantics.
> > > > If no what is the best semantic?  Completely OOB:
> > > > 
> > > > -catch load
> > > > ^done
> > > > ...
> > > > 
> > > > *stop,reason="shared-loaded",shared="libm.so"
> > > 
> > > Do we even have any targets besides HP/UX where shared library
> > > catchpoints _work_?
> > 
> > Probably none, in the gdb source tree.  For example, catching exceptions
> > is probably compiler dependent 8-( .. I think.  Do remember Daniel Berlin
> > proposing a scheme for gcc long long time ago, could not retrace the email
> > though ... darn!
> 
> I've actually added catchpoints for exceptions back; but they'll just
> show up as breakpoints for now.  If we want them to show up differently
> someone's going to have to work out (both CLI and MI) what they should
> look like.
> 

Details please? 8-)

Do you mean setting breakpoint on some special function used to throw
exception __raise_exception(..)?

How does it work ?


> > > We need to fix them before we talk about their MI
> > > syntax, IMO.  Similarly for most of the others.
> > > 
> > 
> > True, but there are a lot of MI commands that are define but
> > not implemented in the current tree or rather can not be implemented
> > in a clean way to be submit back.  So not all gdb/mi are equal depending
> > on the distribution.  But having the MI framework already in place is
> > a good step in normalizing(sp?).
> 
> I'm not sure that catchpoints _can_ be normalized.  The ones we have
> now are mostly extremely system dependent.
> 

Yes and with this in mind, I would advocate to put the MI framework/commands
in place  even if they endup throwing "(not implemented)" on many platforms
or c++ compilers.


  reply	other threads:[~2003-05-06 16:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-06 14:50 Alain Magloire
2003-05-06 14:59 ` Daniel Jacobowitz
2003-05-06 15:16   ` Alain Magloire
     [not found]   ` <200305061516.LAA05153@node1.ott.qnx.com>
2003-05-06 15:31     ` Daniel Jacobowitz
2003-05-06 16:12       ` Alain Magloire [this message]
     [not found]       ` <200305061612.MAA09299@node1.ott.qnx.com>
2003-05-06 16:45         ` Daniel Jacobowitz
2003-05-06 19:46           ` Alain Magloire
     [not found]           ` <200305061946.PAA03660@node1.ott.qnx.com>
2003-05-06 19:52             ` Daniel Jacobowitz
2003-05-06 21:21               ` Alain Magloire
2003-05-06 21:28                 ` Daniel Jacobowitz

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=200305061612.MAA10602@node1.ott.qnx.com \
    --to=alain@qnx.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.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).