From: Keith Seitz <keiths@redhat.com>
To: Gene Smith <gds@chartertn.net>
Cc: insight@sources.redhat.com
Subject: Re: Two small insight (gdb?) bugs
Date: Sun, 24 Jul 2011 18:46:00 -0000 [thread overview]
Message-ID: <4E2C6863.6020405@redhat.com> (raw)
In-Reply-To: <ivj74d$720$1@dough.gmane.org>
On 07/12/2011 09:32 PM, Gene Smith wrote:
> 1. In console I can set a breakpoint like this:
>
> b main
>
> But if I make a typo and enter an invalid symbol such as:
>
> b mai
>
> It hangs insight and I have to kill -9 it.
I am using CVS HEAD, and I cannot reproduce this problem. It brings up a
dialog asking, "Make pending breakpoint based on future shared library
load?"
What happens if you use insight in non-windowing mode ("-nw" flag) and
make the typo? Does it still lock-up?
> 2. If I have a watch point window active with watches present and I
> reload or reset my program, I get an error dialog when trying to
> re-establish the watchpoints since they are lost after a reset or reload
> (watch window comes up blank). The only way to re-define the watches is
> to restart insight but at least it is not locked up like in 1. above.
> Workaround: Try to remember to close watch window before reloading or
> resetting.
I don't know if your procedure is the same as mine, but I am
experiencing crash when re-running after the executable is recompiled,
e.g., "insight foo", run, set watches, touch some sourcefile and
recompile foo, "run" in the console.
This is happening because the varobjs are left in an unknown state, with
stale pointers to memory. I will work on a fix for this, but this
doesn't sound like your problem...
What does the error dialog say?
Keith
next prev parent reply other threads:[~2011-07-24 18:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-13 4:32 Gene Smith
2011-07-24 18:46 ` Keith Seitz [this message]
2011-07-24 19:32 ` Keith Seitz
2011-07-25 3:36 ` Gene Smith
2011-08-01 22:32 ` 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=4E2C6863.6020405@redhat.com \
--to=keiths@redhat.com \
--cc=gds@chartertn.net \
--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).