Am 29.10.2010 04:41, Zhiyuan Shao wrote:
On Thu, 2010-10-28 at 14:36 +0200, Jan Kiszka wrote:
The most important lacking feature is proper system-level debugging
support for gdb (via gdbstub). Once gdb has full access to all CPU
states of the x86 targets, you can pretty-print whatever you want
inside
gdb via some nice Python scripts etc.
Are you mean that it is the responsibility of gdb to parse the output
data of qemu built-in commands and generate user-friend output? Or
grant
gdb full access to the target machine, which is emulated by Qemu,
and it
is the responsibility of gdb again to generate easy-to-read output
for
the users?
More the latter: The full register set (including MSRs) need to be
made
available to gdb via the remote protocol, and gdb has to be taught
interpreting it. This is e.g. required to understand the current
operating mode (16/32/64 bit) and legacy segmentation.