All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1603580] [NEW] [gdbstub] qemu is killed when using remote debugger with qemu -S -s
@ 2016-07-15 22:55 Alon Bar-Lev
  0 siblings, 0 replies; only message in thread
From: Alon Bar-Lev @ 2016-07-15 22:55 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Hello,

REPRODUCE

$ qemu-system-x86_64 -s -S -nographic
<wait>
QEMU: Terminated via GDBStub

$ gdb
(gdb) target remote :1234
(gdb) load /bin/ls
(gdb) target exec
A program is being debugged already. Kill it? (y or no) y
No executable file now.

EXPECTED

Enable program to be executed without terminating QEMU.

DISCUSSION

This was already discussed in [1], reverted in [2], however, no solution
is provided.

It worked perfectly in the past, I guess because of [1] and before [3].

Opening bug for this as discussion in mailing list did not attract
anyone and functionality is required. If there is other gdb sequence to
achieve same result it would be great to get it documented.

Thanks,

[1] http://git.qemu.org/?p=qemu.git;a=commitdiff;h=00e94dbc7fd0110b0555d59592b004333adfb4b8
[2] http://git.qemu.org/?p=qemu.git;a=commitdiff;h=ce0274f730eacbd24c706523ddbbabb6b95d0659
[3] http://git.qemu.org/?p=qemu.git;a=commitdiff;h=7d03f82f81e0e6c106ca0d2445a0fc49dc9ddc7b

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1603580

Title:
  [gdbstub] qemu is killed when using remote debugger with qemu -S -s

Status in QEMU:
  New

Bug description:
  Hello,

  REPRODUCE

  $ qemu-system-x86_64 -s -S -nographic
  <wait>
  QEMU: Terminated via GDBStub

  $ gdb
  (gdb) target remote :1234
  (gdb) load /bin/ls
  (gdb) target exec
  A program is being debugged already. Kill it? (y or no) y
  No executable file now.

  EXPECTED

  Enable program to be executed without terminating QEMU.

  DISCUSSION

  This was already discussed in [1], reverted in [2], however, no
  solution is provided.

  It worked perfectly in the past, I guess because of [1] and before
  [3].

  Opening bug for this as discussion in mailing list did not attract
  anyone and functionality is required. If there is other gdb sequence
  to achieve same result it would be great to get it documented.

  Thanks,

  [1] http://git.qemu.org/?p=qemu.git;a=commitdiff;h=00e94dbc7fd0110b0555d59592b004333adfb4b8
  [2] http://git.qemu.org/?p=qemu.git;a=commitdiff;h=ce0274f730eacbd24c706523ddbbabb6b95d0659
  [3] http://git.qemu.org/?p=qemu.git;a=commitdiff;h=7d03f82f81e0e6c106ca0d2445a0fc49dc9ddc7b

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1603580/+subscriptions

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-15 23:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-15 22:55 [Qemu-devel] [Bug 1603580] [NEW] [gdbstub] qemu is killed when using remote debugger with qemu -S -s Alon Bar-Lev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.