public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug server/17149] New: hang connecting to gdbserver with "mt set target-async on" and non-stop
@ 2014-07-12 19:27 xdje42 at gmail dot com
  2014-07-15 11:11 ` [Bug server/17149] hang connecting to gdbserver with "mt set target-async off" " palves at redhat dot com
  2014-07-15 11:13 ` palves at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: xdje42 at gmail dot com @ 2014-07-12 19:27 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17149

            Bug ID: 17149
           Summary: hang connecting to gdbserver with "mt set target-async
                    on" and non-stop
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: minor
          Priority: P2
         Component: server
          Assignee: unassigned at sourceware dot org
          Reporter: xdje42 at gmail dot com

bash1$ gdbserver --once :1234 forever-threads.x64
bash2$ gdb forever-threads.x64
(gdb) mt set target-async off
(gdb) set non-stop on
(gdb) b main
(gdb) tar rem :1234
[hang]

I get the same behaviour for 7.6 so this isn't new.

[testcase is same as for bug 17147]

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug server/17149] hang connecting to gdbserver with "mt set target-async off" and non-stop
  2014-07-12 19:27 [Bug server/17149] New: hang connecting to gdbserver with "mt set target-async on" and non-stop xdje42 at gmail dot com
@ 2014-07-15 11:11 ` palves at redhat dot com
  2014-07-15 11:13 ` palves at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: palves at redhat dot com @ 2014-07-15 11:11 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17149

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com
            Summary|hang connecting to          |hang connecting to
                   |gdbserver with "mt set      |gdbserver with "mt set
                   |target-async on" and        |target-async off" and
                   |non-stop                    |non-stop

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug server/17149] hang connecting to gdbserver with "mt set target-async off" and non-stop
  2014-07-12 19:27 [Bug server/17149] New: hang connecting to gdbserver with "mt set target-async on" and non-stop xdje42 at gmail dot com
  2014-07-15 11:11 ` [Bug server/17149] hang connecting to gdbserver with "mt set target-async off" " palves at redhat dot com
@ 2014-07-15 11:13 ` palves at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: palves at redhat dot com @ 2014-07-15 11:13 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17149

--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
Yeah, non-stop requires target-async.  We should just bail out if connecting
with non-stop, and the target can't async.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-15 11:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-12 19:27 [Bug server/17149] New: hang connecting to gdbserver with "mt set target-async on" and non-stop xdje42 at gmail dot com
2014-07-15 11:11 ` [Bug server/17149] hang connecting to gdbserver with "mt set target-async off" " palves at redhat dot com
2014-07-15 11:13 ` palves at redhat dot com

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).