qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 070949: gdbstub: Fix qOffsets packet detectio


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 070949: gdbstub: Fix qOffsets packet detection
Date: Thu, 28 May 2015 10:00:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 070949f39ee96bd16654e6623ab4ff627d918ba6
      
https://github.com/qemu/qemu/commit/070949f39ee96bd16654e6623ab4ff627d918ba6
  Author: Jan Kiszka <address@hidden>
  Date:   2015-05-28 (Thu, 28 May 2015)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Fix qOffsets packet detection

qOffsets has no additional optional parameters. So match the complete
string to avoid stumbling over possible future commands with identical
prefix.

Signed-off-by: Jan Kiszka <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 4dabe747af0a6bd66a86c2c7879f1882bec43c33
      
https://github.com/qemu/qemu/commit/4dabe747af0a6bd66a86c2c7879f1882bec43c33
  Author: Jan Kiszka <address@hidden>
  Date:   2015-05-28 (Thu, 28 May 2015)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Introduce an is is_query_packet helper

This helper supports parsing of query packets with optional extensions.
The separator can be specified so that we can use it already for both
qqemu.sstep[=] and qSupported[:feature].

Signed-off-by: Jan Kiszka <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: a3919386eab91b56e40fb4faead980f57a664b2e
      
https://github.com/qemu/qemu/commit/a3919386eab91b56e40fb4faead980f57a664b2e
  Author: Jan Kiszka <address@hidden>
  Date:   2015-05-28 (Thu, 28 May 2015)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  Add GDB qAttached support

With this patch QEMU handles qAttached request from gdb. When QEMU
replies 1, GDB sends a "detach" command at the end of a debugging
session otherwise GDB sends "kill".

The default value for qAttached is 1 on system emulation and 0 on user
emulation.

Based on original version by Fabien Chouteau.

Signed-off-by: Jan Kiszka <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: ce0274f730eacbd24c706523ddbbabb6b95d0659
      
https://github.com/qemu/qemu/commit/ce0274f730eacbd24c706523ddbbabb6b95d0659
  Author: Fabien Chouteau <address@hidden>
  Date:   2015-05-28 (Thu, 28 May 2015)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  Revert "gdbstub: Do not kill target in system emulation mode"

The requirements described in this patch are implemented by "Add GDB
qAttached support".

This reverts commit 00e94dbc7fd0110b0555d59592b004333adfb4b8.

Signed-off-by: Fabien Chouteau <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/a84904737277...ce0274f730ea

reply via email to

[Prev in Thread] Current Thread [Next in Thread]