Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Marc Khouzam <marc.khouzam@ericsson.com>
To: "'Tom Tromey'" <tromey@redhat.com>, "'Pedro Alves'" <palves@redhat.com>
Cc: "'gdb-patches@sourceware.org'" <gdb-patches@sourceware.org>
Subject: RE: [4/4] RFC: implement catch load and catch unload
Date: Tue, 24 Jan 2012 17:28:00 -0000	[thread overview]
Message-ID: <F7CE05678329534C957159168FA70DEC578E892002@EUSAACMS0703.eamcs.ericsson.se> (raw)
In-Reply-To: <m3pqe9ca5j.fsf@fleche.redhat.com>

> -----Original Message-----
> From: Tom Tromey [mailto:tromey@redhat.com] 
> Sent: Tuesday, January 24, 2012 11:56 AM
> To: Pedro Alves
> Cc: gdb-patches@sourceware.org; Marc Khouzam
> Subject: Re: [4/4] RFC: implement catch load and catch unload
> 
> CC'ing Marc Khouzam for this one sub-thread.
> 
> Pedro> I know Eclipse used to rely "set stop-on-solib-events 
> 1".  Not sure they
> Pedro> still do.  So if it doesn't convert to the MI events, 
> it'll break.  Maybe
> Pedro> just one more reason to make sure they do adjust.  :-)
> 
> I think the change here occurred with the patch to PR 8444.  
> That patch
> changed a printf_filtered to ui_out_text.  I can add the 
> printf_filtered
> back -- but I think it would be better for Eclipse and other 
> MI clients
> to just start examining the new *stopped reasons.  (The MI docs have a
> list of these...)
> 
> Marc, I am curious to know what Eclipse uses this for.

The default GDB integration (DSF) does not use it.  In fact, we
don't offer that feature to our users (but we should).

However, the legacy GDB integration (CDI) does use it:
[1,327,424,864,825] 8-gdb-set stop-on-solib-events 1
[1,327,424,864,826] 8^done

Not having this command won't prevent CDI from debugging,
but will have two impacts, as far as I know:
1- no more user feature to stop on lib events
2- breakpoints set on non-loaded libs will no longer be
installed (since CDI does not use pending breakpoints, but
tries to plant failed bps at each new lib load event)

We do tell people that CDI is not being maintained.
I guess eventually, we have to expect some degradation
as GDB keeps evolving.

Thanks for keeping me in the loop.  Once you decide how
you want GDB to move forward, if needed, I'll open a bug
on CDI to track the breakage.

Thanks

Marc


  reply	other threads:[~2012-01-24 17:22 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-19 21:03 Tom Tromey
2012-01-19 22:04 ` Eli Zaretskii
2012-01-20 15:12   ` Tom Tromey
2012-01-20 17:40 ` Pedro Alves
2012-01-24 17:31   ` Tom Tromey
2012-01-24 19:40     ` Pedro Alves
2012-01-20 17:44 ` Yao Qi
2012-01-20 19:45 ` Pedro Alves
2012-01-24 17:07   ` Tom Tromey
2012-01-24 17:28     ` Marc Khouzam [this message]
2012-01-24 18:25       ` Tom Tromey
2012-01-24 18:32         ` Marc Khouzam
2012-01-24 19:15           ` Tom Tromey
2012-01-24 20:36             ` Marc Khouzam
2012-01-24 17:22   ` Tom Tromey
2012-01-24 19:17     ` Pedro Alves
2012-01-24 22:11 ` Tom Tromey
2012-01-25 11:06   ` Regression for gdb.mi/mi-nsmoribund.exp [Re: [4/4] RFC: implement catch load and catch unload] Jan Kratochvil
2012-01-25 11:18     ` Regression for gdb.base/solib-disc.exp [Re: Regression for gdb.mi/mi-nsmoribund.exp] Jan Kratochvil
2012-01-25 17:09       ` Tom Tromey
2012-01-25 17:27         ` Jan Kratochvil
2012-01-25 16:20     ` Regression for gdb.mi/mi-nsmoribund.exp [Re: [4/4] RFC: implement catch load and catch unload] Tom Tromey
2012-02-20  8:28   ` [commit] catch-load.exp: Fix racy FAILs " Jan Kratochvil

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=F7CE05678329534C957159168FA70DEC578E892002@EUSAACMS0703.eamcs.ericsson.se \
    --to=marc.khouzam@ericsson.com \
    --cc=gdb-patches@sourceware.org \
    --cc=palves@redhat.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