public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Guillaume Savaton <guillaume.savaton@eseo.fr>
Cc: insight@sources.redhat.com
Subject: Re: Make breakpoint pending
Date: Thu, 09 Mar 2006 16:09:00 -0000	[thread overview]
Message-ID: <44105338.20004@redhat.com> (raw)
In-Reply-To: <4406B226.7090904@eseo.fr>

Guillaume Savaton wrote:
> Hi,
> 
> I have been using previous versions of insight (5.x) for a while, and I 
> have
> noticed a new message in 6.4 when I attempt to run a program :
> "Make breakpoint pending on future shared library load?"

Yeah, that happens when gdb is asked to set a breakpoint someplace that 
it knows nothing about (so it assumes that you have not made a mistake 
but that the location exists in a shared library).

> This message is quite annoying since I am asked to confirm for each 
> breakpoint
> in my program individually.

Okay, I have not seen this before, and I cannot reproduce it with any 
testcase I've managed to devise. If you look at the breakpoints which 
were marked pending, are they part of your program? [While testing this, 
I just ran into a problem where I was running in the build directory. 
Insight added the breakpoints from .gdbinit to its list of installed 
breakpoints for the executable. Those buggers just coming out of the 
woodwork!]

> Is there a possibility to tell insight not to ask ?

Yes, you can add it to the ignored warnings list or teach insight that 
it is an ignorable warning (so it will only ask once). See 
gdbtk_tcl_warning in interface.tcl to globally ignore the warning. 
Unfortunately, teaching insight to optionally ignore the warning, i.e., 
"Don't show me this warning again", is slightly non-trivial (or at least 
more painful). GDB never did clean up the warning/error landscape. All 
we know is that it is a warning.

Ignoring gdb, we'd have to add logic in place (similar to 
gdbtk_tcl_warning) to flag warnings are optionally ignorable. [Gdb just 
still doesn't get it.]

Keith

  reply	other threads:[~2006-03-09 16:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-22  4:14 Need Help Amarnath
2006-03-02  8:51 ` Make breakpoint pending Guillaume Savaton
2006-03-09 16:09   ` Keith Seitz [this message]
2006-03-09 16:39     ` Guillaume Savaton
2006-03-09 16:45       ` Keith Seitz
2006-03-09 17:08         ` Guillaume Savaton
2006-03-09 17:12           ` Keith Seitz

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=44105338.20004@redhat.com \
    --to=keiths@redhat.com \
    --cc=guillaume.savaton@eseo.fr \
    --cc=insight@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).