public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@cygnus.com>
To: Grant Edwards <grante@visi.com>
Cc: <insight@sources.redhat.com>
Subject: Re: No step button using insight w/ remote target.
Date: Tue, 02 Oct 2001 16:10:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.33.0111191152450.16197-100000@makita.cygnus.com> (raw)
In-Reply-To: <20011107172319.A2924@visi.com>

On Wed, 7 Nov 2001, Grant Edwards wrote:

> Without the -nw option I run into a couple of problems:
>
>  1) Doing a "target remote /dev/ttyS1" command in the console
>     hangs gdb completely.

Hmm.. I cannot imagine why this happens. Is the baudrate set?

If you're on windows, you might try lowering the remote timeout. By
default, it is set to some fairly normal number, like 30. But as I recall
(maybe incorrectly now), the real timeout was HUGE on cygwin. Try setting
it to something like 1 and see if it at least times out.

>  2) Downloading with the "target" menu using the "continue" run
>     method and "set breakpoint" works OK, but when the
>     breakpoint is hit, none of the step, next, continue,
>     buttons are enabled.

This is usually symptomatic of pid/ptid problems in gdb. When your
attached (and the Control items on the toolbar are disabled), what do the
following commands return? (In Insight's console window)

(gdb) tk set ::gdb_running
(gdb) tk gdb_target_has_execution

Keith


WARNING: multiple messages have this Message-ID
From: Keith Seitz <keiths@cygnus.com>
To: Grant Edwards <grante@visi.com>
Cc: <insight@sources.redhat.com>
Subject: Re: No step button using insight w/ remote target.
Date: Mon, 19 Nov 2001 12:00:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.33.0111191152450.16197-100000@makita.cygnus.com> (raw)
Message-ID: <20011119120000.PapiEQv7elz5fK8SM8IiZQhdQbZ_lbLZ6tV1NUkO2NE@z> (raw)
In-Reply-To: <20011107172319.A2924@visi.com>

On Wed, 7 Nov 2001, Grant Edwards wrote:

> Without the -nw option I run into a couple of problems:
>
>  1) Doing a "target remote /dev/ttyS1" command in the console
>     hangs gdb completely.

Hmm.. I cannot imagine why this happens. Is the baudrate set?

If you're on windows, you might try lowering the remote timeout. By
default, it is set to some fairly normal number, like 30. But as I recall
(maybe incorrectly now), the real timeout was HUGE on cygwin. Try setting
it to something like 1 and see if it at least times out.

>  2) Downloading with the "target" menu using the "continue" run
>     method and "set breakpoint" works OK, but when the
>     breakpoint is hit, none of the step, next, continue,
>     buttons are enabled.

This is usually symptomatic of pid/ptid problems in gdb. When your
attached (and the Control items on the toolbar are disabled), what do the
following commands return? (In Insight's console window)

(gdb) tk set ::gdb_running
(gdb) tk gdb_target_has_execution

Keith


  parent reply	other threads:[~2001-11-19 20:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-07 15:19 Grant Edwards
2001-10-01  8:25 ` Fernando Nasser
2001-10-02 14:22   ` Grant Edwards
2001-11-15 15:46     ` Grant Edwards
2001-10-02 15:40   ` Grant Edwards
2001-11-19  8:32     ` Grant Edwards
2001-11-12  7:13   ` Fernando Nasser
2001-10-02 16:10 ` Keith Seitz [this message]
2001-10-02 20:18   ` Grant Edwards
2001-10-03  9:37     ` Keith Seitz
2001-10-03 10:54       ` Grant Edwards
2001-10-03 11:09         ` Keith Seitz
2001-10-03 11:20           ` Grant Edwards
2001-10-03 11:47             ` Keith Seitz
2001-10-03 13:22               ` Grant Edwards
2001-10-03 14:03                 ` Keith Seitz
2001-10-03 15:50                   ` Grant Edwards
2001-11-19 14:12                     ` Grant Edwards
2001-11-19 13:28                   ` Keith Seitz
2001-11-19 13:19                 ` Grant Edwards
2001-10-03 16:31               ` Grant Edwards
2001-10-04 11:28                 ` Grant Edwards
2001-11-20 16:16                   ` Grant Edwards
2001-11-19 14:39                 ` Grant Edwards
2001-11-19 13:05               ` Keith Seitz
2001-11-19 13:03             ` Grant Edwards
2001-11-19 12:55           ` Keith Seitz
2001-11-19 12:49         ` Grant Edwards
2001-11-19 12:17       ` Keith Seitz
2001-11-19 12:06     ` Grant Edwards
2001-11-19 12:00   ` 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=Pine.GSO.4.33.0111191152450.16197-100000@makita.cygnus.com \
    --to=keiths@cygnus.com \
    --cc=grante@visi.com \
    --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).