Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Simon Marchi <simon.marchi@polymtl.ca>
Cc: LE GARREC Vincent <legarrec.vincent@gmail.com>,  gdb@sourceware.org
Subject: Re: Run multiple parallel instances of gdb
Date: Sun, 11 Mar 2018 22:57:00 -0000	[thread overview]
Message-ID: <87h8pm2pc8.fsf@linux-m68k.org> (raw)
In-Reply-To: <4b04209db0308576e68320a5d22181e4@polymtl.ca> (Simon Marchi's	message of "Sun, 11 Mar 2018 16:54:20 -0400")

On Mär 11 2018, Simon Marchi <simon.marchi@polymtl.ca> wrote:

> Do you get a "suspended (tty output)" message?  If so, what you have is a
> background process trying to output on the terminal while the terminal has
> the "tostop" flag set.  A simpler case to reproduce it is:
>
> $ gdb -batch -ex run --args /bin/echo salut &
> [1] 28223
> $
> [1]  + 28223 suspended (tty output)  gdb -q -batch -ex run --args
> /bin/echo salut
>
> I don't understand why though, because my terminal does not have "tostop"
> enabled:

tcsetattr ignores the tostop setting.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


      parent reply	other threads:[~2018-03-11 22:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-11 20:15 LE GARREC Vincent
2018-03-11 20:54 ` Simon Marchi
2018-03-11 21:37   ` LE GARREC Vincent
2018-03-11 22:57   ` Andreas Schwab [this message]

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=87h8pm2pc8.fsf@linux-m68k.org \
    --to=schwab@linux-m68k.org \
    --cc=gdb@sourceware.org \
    --cc=legarrec.vincent@gmail.com \
    --cc=simon.marchi@polymtl.ca \
    /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