This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Run multiple parallel instances of gdb
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Simon Marchi <simon dot marchi at polymtl dot ca>
- Cc: LE GARREC Vincent <legarrec dot vincent at gmail dot com>, gdb at sourceware dot org
- Date: Sun, 11 Mar 2018 23:56:55 +0100
- Subject: Re: Run multiple parallel instances of gdb
- Authentication-results: sourceware.org; auth=none
- References: <CAH0JWTvJO7opYb=3ANZOiJG9KnJ+pDryMHP6mS5xoB2_V-BWEw@mail.gmail.com> <4b04209db0308576e68320a5d22181e4@polymtl.ca>
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."