gdb remote target of a guest VM fails to continue
Bug #1444057 reported by
Chris J Arges
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
In Progress
|
Medium
|
Unassigned |
Bug Description
[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/
(gdb) target remote localhost:1234
Remote debugging using localhost:1234
Reading symbols from /lib64/
done.
0x000000000052c7b5 in _start () from /lib64/
(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
Changed in qemu (Ubuntu): | |
assignee: | nobody → Chris J Arges (arges) |
importance: | Undecided → High |
status: | New → In Progress |
summary: |
- gdb in a guest VM fails to continue + gdb remote target of a guest VM fails to continue |
tags: | added: patch |
Changed in qemu (Ubuntu): | |
importance: | High → Medium |
Changed in qemu (Ubuntu): | |
assignee: | Chris J Arges (arges) → nobody |
To post a comment you must log in.
I measured bootup times on an idle host by rebooting a VM and logging the same
event in dmesg 15 times. Before it took an average of 9.8934s w/ stdev of 0.32.
After installing the new version it took 9.8159s w/ stdev of 0.34.
In addition before the total size of /usr/bin/ qemu-system- * was 136878083 after
it was 135008515.
So it seems that size of binaries decreases, while enabling more functionality.
In addition, boot times seem comparable but it isn't definitively slower or
faster.