Public bug reported: When debugging a kernel, gdb can connect to the remote target running in the qemu but the server does not stop execution on breakpoints set before. This also applies to kvm.
Also, looking at the stack trace that I see when I manually stop execution, gdbserver seems to be very confused about where the current execution frame is: no matter what is happening in the VM, gdbserver reports the same (somewhat irrelevant) stack trace. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: qemu (not installed) ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6 Uname: Linux 3.0.0-13-generic x86_64 NonfreeKernelModules: wl ApportVersion: 1.23-0ubuntu4 Architecture: amd64 Date: Thu Dec 8 17:33:28 2011 InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110921.2) KvmCmdLine: Error: command ['ps', '-C', 'kvm', '-F'] failed with exit code 1: UID PID PPID C SZ RSS PSR STIME TTY TIME CMD MachineType: Acer Aspire 3820 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-13-generic root=UUID=64cecdc0-10e1-410e-b9f6-c74238a53651 ro quiet splash acpi_osi=Linux vt.handoff=7 SourcePackage: qemu-kvm UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 05/04/2010 dmi.bios.vendor: Phoenix Technologies LTD dmi.bios.version: V1.13 dmi.board.asset.tag: No Asset Tag dmi.board.name: Aspire 3820 dmi.board.vendor: Acer dmi.board.version: V1.13 dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: Acer dmi.chassis.version: V1.13 dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.13:bd05/04/2010:svnAcer:pnAspire3820:pvrV1.13:rvnAcer:rnAspire3820:rvrV1.13:cvnAcer:ct10:cvrV1.13: dmi.product.name: Aspire 3820 dmi.product.version: V1.13 dmi.sys.vendor: Acer ** Affects: qemu (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug gdbserver oneiric qemu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/901944 Title: gdbserver inside qemu does not stop on breakpoints To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/901944/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs