[Bug 1444057] [NEW] gdb in a guest VM fails to continue
Chris J Arges
1444057 at bugs.launchpad.net
Tue Apr 14 16:27:23 UTC 2015
Public bug reported:
[Impact]
Debugging guest VMs fail due to not building package with --enable
debug.
[Test Case]
1) run qemu with the -s option
2) install qemu ddeb
3) gdb /usr/bin/qemu-system-x86_64
(gdb) target remote localhost:1234
Remote debugging using localhost:1234
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.21.so...done.
done.
0x000000000052c7b5 in _start () from /lib64/ld-linux-x86-64.so.2
(gdb) c
Continuing.
Warning:
Cannot insert breakpoint -1.
Cannot access memory at address 0xbd260
Cannot insert breakpoint -6.
Temporarily disabling shared library breakpoints:
breakpoint #-6
[Fix]
Add --enable-debug debian/rules
** Affects: qemu (Ubuntu)
Importance: High
Assignee: Chris J Arges (arges)
Status: In Progress
** Changed in: qemu (Ubuntu)
Assignee: (unassigned) => Chris J Arges (arges)
** Changed in: qemu (Ubuntu)
Importance: Undecided => High
** Changed in: qemu (Ubuntu)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1444057
Title:
gdb in a guest VM fails to continue
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1444057/+subscriptions
More information about the Ubuntu-server-bugs
mailing list