Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb@sources.redhat.com
Subject: MinGW gdb run in non-DOS terminal
Date: Mon, 01 May 2006 17:05:00 -0000	[thread overview]
Message-ID: <20060501170512.GD936@adacore.com> (raw)

Hello,

Starting to experiment a bit with MinGW-hosted debuggers, I noticed that
when it is run outside of the DOS window, the terminal handling is a bit
strange. The most obvious issue is when the debugger prints an error:
the actual printing on screen of the error message is delayed and only
finally printed after the next GDB prompt.

This happens when in a DOS window running cygwin bash, when ssh'ing
from an xterm to the machine and then running GDB, or when running
GDB from GPS, which opens a pseudo-tty (I think!) to GDB. On the other
hand, it works great when run in a DOS window.

Has anybody else seen this? Maybe there is a missing-flush issue
somewhere... Or maybe there is a workaround I don't know about?
Otherwise, I'll have a look at this next.

Thanks,
-- 
Joel


             reply	other threads:[~2006-05-01 17:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-01 17:05 Joel Brobecker [this message]
2006-05-01 17:11 ` Daniel Jacobowitz
2006-05-01 17:22   ` Joel Brobecker
2006-05-01 17:30     ` Daniel Jacobowitz
2006-05-01 18:18       ` Joel Brobecker

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=20060501170512.GD936@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb@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