* [Bug server/17147] with gdbserver + all-stop + async, can't quit gdb because target is running
2014-07-12 17:01 [Bug server/17147] New: with gdbserver + all-stop + async, can't quit gdb because target is running xdje42 at gmail dot com
@ 2014-07-12 18:17 ` xdje42 at gmail dot com
2014-07-15 11:36 ` palves at redhat dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: xdje42 at gmail dot com @ 2014-07-12 18:17 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17147
--- Comment #1 from Doug Evans <xdje42 at gmail dot com> ---
I marked this as a blocker for 7.8 to make sure this gets looked at before 7.8
is released. I'm not sure yet how best to fix this (in the release or in
trunk).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug server/17147] with gdbserver + all-stop + async, can't quit gdb because target is running
2014-07-12 17:01 [Bug server/17147] New: with gdbserver + all-stop + async, can't quit gdb because target is running xdje42 at gmail dot com
2014-07-12 18:17 ` [Bug server/17147] " xdje42 at gmail dot com
@ 2014-07-15 11:36 ` palves at redhat dot com
2014-07-15 14:50 ` xdje42 at gmail dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: palves at redhat dot com @ 2014-07-15 11:36 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17147
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palves at redhat dot com
--- Comment #2 from Pedro Alves <palves at redhat dot com> ---
If the user uses only the features she could use before 7.8, nothing changes,
and target-async is completely transparent. It's only if you use features you
couldn't before (c&) that you get into that situation. And then, you _could_
get into this situation before too, just not by default (with "set target-async
on" before 7.8).
So it doesn't look like a regression or a 7.8 blocker to me.
Though of course not being able to quit (without interrupting the target first)
is never nice.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug server/17147] with gdbserver + all-stop + async, can't quit gdb because target is running
2014-07-12 17:01 [Bug server/17147] New: with gdbserver + all-stop + async, can't quit gdb because target is running xdje42 at gmail dot com
2014-07-12 18:17 ` [Bug server/17147] " xdje42 at gmail dot com
2014-07-15 11:36 ` palves at redhat dot com
@ 2014-07-15 14:50 ` xdje42 at gmail dot com
2014-07-15 15:52 ` xdje42 at gmail dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: xdje42 at gmail dot com @ 2014-07-15 14:50 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17147
--- Comment #3 from Doug Evans <xdje42 at gmail dot com> ---
Although, in the before case one had to manually enable it first or one would
get an error. Now one doesn't get an error - just a completely hosed session.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug server/17147] with gdbserver + all-stop + async, can't quit gdb because target is running
2014-07-12 17:01 [Bug server/17147] New: with gdbserver + all-stop + async, can't quit gdb because target is running xdje42 at gmail dot com
` (2 preceding siblings ...)
2014-07-15 14:50 ` xdje42 at gmail dot com
@ 2014-07-15 15:52 ` xdje42 at gmail dot com
2014-07-15 19:16 ` palves at redhat dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: xdje42 at gmail dot com @ 2014-07-15 15:52 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17147
--- Comment #4 from Doug Evans <xdje42 at gmail dot com> ---
One thought would be to print a message either with commands that resume the
inferior in the background, or with the "Cannot execute this command while the
target is running." error message.
E.g.
Cannot execute this command while the target is running.
Use the "interrupt" command to stop the target.
or perhaps a teensy bit better,
Cannot execute this command while the target is running.
Use the "interrupt" command to stop the target and then try again.
[side note: why does "interrupt -a" have to be an error in all-stop mode?
Instead just treat "interrupt -a" == "interrupt". Filed bug 17160.]
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug server/17147] with gdbserver + all-stop + async, can't quit gdb because target is running
2014-07-12 17:01 [Bug server/17147] New: with gdbserver + all-stop + async, can't quit gdb because target is running xdje42 at gmail dot com
` (3 preceding siblings ...)
2014-07-15 15:52 ` xdje42 at gmail dot com
@ 2014-07-15 19:16 ` palves at redhat dot com
2014-07-17 16:38 ` dje at google dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: palves at redhat dot com @ 2014-07-15 19:16 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17147
--- Comment #5 from Pedro Alves <palves at redhat dot com> ---
Re. message: yeah, that'd be fine with me.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug server/17147] with gdbserver + all-stop + async, can't quit gdb because target is running
2014-07-12 17:01 [Bug server/17147] New: with gdbserver + all-stop + async, can't quit gdb because target is running xdje42 at gmail dot com
` (4 preceding siblings ...)
2014-07-15 19:16 ` palves at redhat dot com
@ 2014-07-17 16:38 ` dje at google dot com
2014-07-20 22:39 ` cvs-commit at gcc dot gnu.org
2014-07-20 22:44 ` cvs-commit at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: dje at google dot com @ 2014-07-17 16:38 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17147
dje at google dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dje at google dot com
--- Comment #6 from dje at google dot com ---
I think a doc update is also required.
The doc refers to execution commands only, however with gdbserver one can't
even do things like "info threads" until the target stops.
---snip---
Background execution is especially useful in conjunction with non-stop
mode for debugging programs with multiple threads; see @ref{Non-Stop Mode}.
However, you can also use these commands in the normal all-stop mode with
the restriction that you cannot issue another execution command until the
previous one finishes. Examples of commands that are valid in all-stop
mode while the program is running include @code{help} and @code{info break}.
---snip---
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug server/17147] with gdbserver + all-stop + async, can't quit gdb because target is running
2014-07-12 17:01 [Bug server/17147] New: with gdbserver + all-stop + async, can't quit gdb because target is running xdje42 at gmail dot com
` (5 preceding siblings ...)
2014-07-17 16:38 ` dje at google dot com
@ 2014-07-20 22:39 ` cvs-commit at gcc dot gnu.org
2014-07-20 22:44 ` cvs-commit at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-07-20 22:39 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17147
--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 9597b22adf3552a5617d73104d8facd6a7aea881 (commit)
from 91101fe524e5ae8a912880bf3350ad93d511181a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9597b22adf3552a5617d73104d8facd6a7aea881
commit 9597b22adf3552a5617d73104d8facd6a7aea881
Author: Doug Evans <dje@google.com>
Date: Sun Jul 20 15:36:23 2014 -0700
Improve error message to cope with pr 17147.
PR server/17147
* remote.c (putpkt_binary): Add text to error message.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 5 +++++
gdb/remote.c | 6 +++++-
2 files changed, 10 insertions(+), 1 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug server/17147] with gdbserver + all-stop + async, can't quit gdb because target is running
2014-07-12 17:01 [Bug server/17147] New: with gdbserver + all-stop + async, can't quit gdb because target is running xdje42 at gmail dot com
` (6 preceding siblings ...)
2014-07-20 22:39 ` cvs-commit at gcc dot gnu.org
@ 2014-07-20 22:44 ` cvs-commit at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-07-20 22:44 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=17147
--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, gdb-7.8-branch has been updated
via 933f5a202ed484a2d727d0bfc7a38f2983e18646 (commit)
from 40bf817af867e1c601da9a16fd158eca1351dad9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=933f5a202ed484a2d727d0bfc7a38f2983e18646
commit 933f5a202ed484a2d727d0bfc7a38f2983e18646
Author: Doug Evans <dje@google.com>
Date: Sun Jul 20 15:42:02 2014 -0700
Improve error message to cope with pr 17147.
PR server/17147
* remote.c (putpkt_binary): Add text to error message.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 5 +++++
gdb/remote.c | 6 +++++-
2 files changed, 10 insertions(+), 1 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread