public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Steven Johnson <sjohnson@sakuraindustries.com>
Cc: "insight@sources.redhat.com" <insight@sources.redhat.com>
Subject: Re: Problem with "file" command from CVS_HEAD
Date: Fri, 27 May 2005 02:27:00 -0000	[thread overview]
Message-ID: <1117159868.4456.127.camel@lindt.uglyboxes.com> (raw)
In-Reply-To: <428B3AFA.70401@sakuraindustries.com>

On Wed, 2005-05-18 at 01:54 -1100, Steven Johnson wrote:
> Take 3.

That's okay. Just look at how long it has taken me to take a peek at
it!! Shame on me.

> gdb_loc is the same as before, it return the address of entry_point when 
> there are no registers as current $pc.  Seems fine, and the most 
> appropriate default.

This seems reasonable. I will run it through the testsuite just to make
sure. :-)

> The problem i listed as 1.c) about the pop up showing: (Internal error: 
> pc 0x0 in read in psymtab, but not in symtab.).  Was actually through a 
> side effect causing error 1.b) the 3 Drop downs present under the button 
> bar for file, function and mode failing to appear.  I get rid of the pop 
> up warning box, and the 3 drop downs re-appear, strange i know.  My 
> presumption is that the error box was preventing a sequence of code 
> executing.

Hmm. That's kinda goofy. That means that startup code is being short-
circuited when a warning message appears.

You know, at one time, we could actually pop the GUI up BEFORE we tried
to load the executable. I really wish I knew why this stopped working
several years ago. :-(

> Word of warning to everyone. GDB debug flags are incompatible with 
> insight.  If you need to use them, use --nw find your problem, fix it, 
> and disable the debug flags "before" worrying about insight.  Otherwise 
> you will get all sorts of strange results. And you might end up pulling 
> your hair out for days before identifying what i just did as the cause.

Ah, yeah, that can do that. The problem is that although insight
*largely* does not parse gdb output, things like the register and memory
windows do get the output of several gdb functions (most notably
val_print). Sometimes the warnings come with the values, and insight can
get confused. One of these days I'll track all these buggers down...

> So no patch required to fix 2.b-2.g of my second report, as they are all 
> caused by GDB debug message options being enabled.
> 
> Comments or Criticisms?

I only have one comment. I would prefer that we discuss the warning
portion of the patch separately: we can make those warnings ignorable.
Perhaps we can suppress warnings (to a dialog) during startup or
something. In any case, I don't think we want to ignore an internal
error, do we? Hmm. I guess there are actually different levels of
internal error? Some critical and some not?

What do you think?
Keith

  reply	other threads:[~2005-05-27  2:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16  5:58 Steven Johnson
2005-05-16 13:01 ` Accounts
2005-05-16 23:39   ` Keith Seitz
2005-05-17  1:07     ` Steven Johnson
2005-05-17  8:23       ` Steven Johnson
2005-05-17 14:54       ` Steven Johnson
2005-05-27  2:27         ` Keith Seitz [this message]
2005-05-27  3:51       ` [patch/ping] " Steven Johnson
2005-06-06 13:46       ` Steven Johnson
2005-06-06 19:53         ` Keith Seitz
2005-06-06 22:47           ` GDB Internal Errors/other messages Steven Johnson
2005-06-07  0:48             ` Keith Seitz
2005-06-07  1:13               ` [PATCH]: Ignore warnings (was Re: GDB Internal Errors/other messages.) Keith Seitz
2005-06-07  1:16                 ` Keith Seitz
2005-06-11 23:53               ` Numerous Warnings for RTTI Symbol Not Found Vale Group
2005-06-12 17:47                 ` Keith Seitz
2005-06-12 21:47                   ` Vale Group
2005-06-14  0:21                     ` Keith Seitz
2005-05-16 22:02 ` Problem with "file" command from CVS_HEAD Steven Johnson

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=1117159868.4456.127.camel@lindt.uglyboxes.com \
    --to=keiths@redhat.com \
    --cc=insight@sources.redhat.com \
    --cc=sjohnson@sakuraindustries.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).