public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <kseitz@firetalk.com>
To: Paul@Netburner.com
Cc: insight@sourceware.cygnus.com
Subject: Re: .gdbinit initialization and GUI...
Date: Mon, 10 Jul 2000 05:32:00 -0000	[thread overview]
Message-ID: <3969C263.58E14DEF@firetalk.com> (raw)
In-Reply-To: <20000709204737.1214.qmail@web3507.mail.yahoo.com>

Paul Breed wrote:
> 
> I want to write a GDB script that
> loads a specific symbol table and the connects to the
> (already running) target. I can easily do this with
> GDB, but when the Insight GUI gets involved things
> don't work like you expect.
> 

I would expect some runtime differences when using a script. There are
still quite a few disconnects between the GUI and the "command line"...

> How do I tell the GUI that GDB has already connected
> to
> the target so it won't try to connect again when I hit
> the run button?

Simple. Using the target dialog, click the "more options" button to
reveal the hidden pane. The options here are the default actions taken
when the user presses the Run button. Simply turn off "Download" and
"Attach" and keep "Continue".

> Also the GUI sometimes gets confused and puts up the
> hourglass when it should not, is there any way to
> reset this?

If you have a console window open, you can enter the command "tk
gdbtk_idle". This will make the GUI "idle" (ready for user input).
Whenever the GUI is "busy" like this (and it shouldn't be), it means
that an error happened within the depths of gdb and GUI didn't check for
it/expect it. If you open a debug window, you might be able to find out
why this is happening and stop it altogether. (Set environment variable
"GDBTK_DEBUG" > 1 to open a debug window. Set it to 1 to allow it to be
opened via the "Windows" menu.)

Keith

  reply	other threads:[~2000-07-10  5:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-09 13:48 Paul Breed
2000-07-10  5:32 ` Keith Seitz [this message]
     [not found] ` <4.2.0.58.20000710092726.0214de50@pop.netburner.com>
2000-07-10  6:34   ` Keith Seitz
2000-07-10 10:46 ` Jim Ingham

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=3969C263.58E14DEF@firetalk.com \
    --to=kseitz@firetalk.com \
    --cc=Paul@Netburner.com \
    --cc=insight@sourceware.cygnus.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).