Skip to contentSkip to conversation

do not stop on first gdb breakpoint with -enable-kvm

Qemu-devel skovalev 2 participants 4 messages Apr 15, 2013 – Jun 23, 2017

lore
Share & tools
lore

skovalev

author
#0 lore raw

Public bug reported:

I run qemu like this:
qemu-system-x86-64 -enable-kvm -hda <path to file> -s -S,

and start gdb with commands like this:
gdb>tartget remote localhost:1234
gdb>break *0x7c00
gdb>c

but gdb don't stop on it. I then could break execution manually and then breakpoints work.

QEMU version: 1.4.0 (from Debian repos)
GDB version: 7.5.1 (copiled from sources, but previous was 7.4.1 from Debian repo)

PS Same problem occure on Ubuntu 13.04 with same Qemu and Gdb 7.5.0 from repo.

Thank you

** Affects: qemu
Importance: Undecided
Status: New

** Tags: breakpoints gdb kvm

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

Title:
  do not stop on first gdb breakpoint with -enable-kvm

Status in QEMU:
  New

Bug description:
  I run qemu like this:
    qemu-system-x86-64 -enable-kvm -hda <path to file> -s -S,

  and start gdb with commands like this:
    gdb>tartget remote localhost:1234
    gdb>break *0x7c00
    gdb>c

  but gdb don't stop on it. I then could break execution manually and
  then breakpoints work.

  QEMU version: 1.4.0 (from Debian repos)
  GDB version: 7.5.1 (copiled from sources, but previous was 7.4.1 from Debian repo)

  PS Same problem occure on Ubuntu 13.04 with same Qemu and Gdb 7.5.0
  from repo.

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1169049/+subscriptions
#1 lore raw

Which Linux kernel version were you using here? Can you still reproduce this problem with the latest Linux kernel version, and the latest version of QEMU?

** Changed in: qemu
Status: New => Incomplete

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

Title:
  do not stop on first gdb breakpoint with -enable-kvm

Status in QEMU:
  Incomplete

Bug description:
  I run qemu like this:
    qemu-system-x86-64 -enable-kvm -hda <path to file> -s -S,

  and start gdb with commands like this:
    gdb>tartget remote localhost:1234
    gdb>break *0x7c00
    gdb>c

  but gdb don't stop on it. I then could break execution manually and
  then breakpoints work.

  QEMU version: 1.4.0 (from Debian repos)
  GDB version: 7.5.1 (copiled from sources, but previous was 7.4.1 from Debian repo)

  PS Same problem occure on Ubuntu 13.04 with same Qemu and Gdb 7.5.0
  from repo.

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1169049/+subscriptions
author
#2 lore raw
In reply to skovalev

Hello.

I have forgot about this. I even unable to remember what I have done. Unfortunately I can't help you. Sorry.

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

Title:
  do not stop on first gdb breakpoint with -enable-kvm

Status in QEMU:
  Incomplete

Bug description:
  I run qemu like this:
    qemu-system-x86-64 -enable-kvm -hda <path to file> -s -S,

  and start gdb with commands like this:
    gdb>tartget remote localhost:1234
    gdb>break *0x7c00
    gdb>c

  but gdb don't stop on it. I then could break execution manually and
  then breakpoints work.

  QEMU version: 1.4.0 (from Debian repos)
  GDB version: 7.5.1 (copiled from sources, but previous was 7.4.1 from Debian repo)

  PS Same problem occure on Ubuntu 13.04 with same Qemu and Gdb 7.5.0
  from repo.

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1169049/+subscriptions
#3 lore raw
In reply to skovalev

Ok, anyway, thanks for your reply! So let's close this ticket now...

** Changed in: qemu
Status: Incomplete => Won't Fix

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

Title:
  do not stop on first gdb breakpoint with -enable-kvm

Status in QEMU:
  Won't Fix

Bug description:
  I run qemu like this:
    qemu-system-x86-64 -enable-kvm -hda <path to file> -s -S,

  and start gdb with commands like this:
    gdb>tartget remote localhost:1234
    gdb>break *0x7c00
    gdb>c

  but gdb don't stop on it. I then could break execution manually and
  then breakpoints work.

  QEMU version: 1.4.0 (from Debian repos)
  GDB version: 7.5.1 (copiled from sources, but previous was 7.4.1 from Debian repo)

  PS Same problem occure on Ubuntu 13.04 with same Qemu and Gdb 7.5.0
  from repo.

  Thank you

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