* Does target-async work on MS-Windows?
@ 2011-10-26 20:28 Eli Zaretskii
2011-10-27 7:37 ` Jan Kratochvil
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2011-10-26 20:28 UTC (permalink / raw)
To: gdb
As the subject says: does it?
It looks like it doesn't, but GDB won't disclose it to me:
(gdb) set target-async on
(gdb) show target-async
Controlling the inferior in asynchronous mode is on.
Everything looks good, but:
(gdb) r& -Q
Starting program: D:\gnu\bzr\emacs\trunk\src/./oo/i386/emacs.exe & -Q
[New Thread 3904.0x17e4]
[New Thread 3904.0x11a8]
And it waits, instead of showing the prompt, as the manual promised.
What am I missing?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Does target-async work on MS-Windows?
2011-10-26 20:28 Does target-async work on MS-Windows? Eli Zaretskii
@ 2011-10-27 7:37 ` Jan Kratochvil
2011-10-27 15:24 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Jan Kratochvil @ 2011-10-27 7:37 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: gdb
On Wed, 26 Oct 2011 21:10:31 +0200, Eli Zaretskii wrote:
> (gdb) r& -Q
> Starting program: D:\gnu\bzr\emacs\trunk\src/./oo/i386/emacs.exe & -Q
^
> [New Thread 3904.0x17e4]
> [New Thread 3904.0x11a8]
>
> And it waits, instead of showing the prompt, as the manual promised.
You should use:
(gdb) r -Q &
I find it is the same syntax such as in shell.
Regards,
Jan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Does target-async work on MS-Windows?
2011-10-27 7:37 ` Jan Kratochvil
@ 2011-10-27 15:24 ` Eli Zaretskii
2011-10-27 16:17 ` Pedro Alves
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2011-10-27 15:24 UTC (permalink / raw)
To: Jan Kratochvil; +Cc: gdb
> Date: Thu, 27 Oct 2011 09:20:30 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: gdb@sourceware.org
>
> On Wed, 26 Oct 2011 21:10:31 +0200, Eli Zaretskii wrote:
> > (gdb) r& -Q
> > Starting program: D:\gnu\bzr\emacs\trunk\src/./oo/i386/emacs.exe & -Q
> ^
> > [New Thread 3904.0x17e4]
> > [New Thread 3904.0x11a8]
> >
> > And it waits, instead of showing the prompt, as the manual promised.
>
> You should use:
> (gdb) r -Q &
>
> I find it is the same syntax such as in shell.
Thanks, I think the manual should be improved in this regard.
Anyway, if I use "r -Q &", GDB says that asynchronous execution is not
supported on this platform. Is that expected?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Does target-async work on MS-Windows?
2011-10-27 15:24 ` Eli Zaretskii
@ 2011-10-27 16:17 ` Pedro Alves
0 siblings, 0 replies; 4+ messages in thread
From: Pedro Alves @ 2011-10-27 16:17 UTC (permalink / raw)
To: gdb, Eli Zaretskii; +Cc: Jan Kratochvil
On Thursday 27 October 2011 15:59:07, Eli Zaretskii wrote:
> Anyway, if I use "r -Q &", GDB says that asynchronous execution is not
> supported on this platform. Is that expected?
Yes. The Windows port of gdbserver does support it though (because it's
really the "remote" target that supports it).
--
Pedro Alves
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-27 16:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-26 20:28 Does target-async work on MS-Windows? Eli Zaretskii
2011-10-27 7:37 ` Jan Kratochvil
2011-10-27 15:24 ` Eli Zaretskii
2011-10-27 16:17 ` Pedro Alves
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).