qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Question] dump memory when host pci device is used by


From: Jan Kiszka
Subject: Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest
Date: Tue, 18 Oct 2011 15:13:08 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

On 2011-10-18 15:08, Christoph Hellwig wrote:
> On Tue, Oct 18, 2011 at 02:47:39PM +0200, Jan Kiszka wrote:
>>>> Crash can also do live system analysis. :)
>>>
>>> crash in fact is gdb - with a lot of additional commands.
>>
>> Is there a trick to make it work against a gdbserver?
> 
> No idea.  I just noticed that crash was built around a gdb source
> tree and additional files when I had to hack it for a new kernel
> version a while ago.
> 
> The optimum would be if all the crash changes were merged back
> into upstream gdb, but I'm not sure the gdb community would like
> to see all that very linux kernel specific code (especially given that it's
> very version dependent)

That's why I'm advocating gdb scripts, maybe maintained inside the
kernel tree.

But I need to look closer as well to see if vanilla gdb is already able
to provide all registers used by crash so far (surely not all required
for perfect debugging, but that's a long-known issue).

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux



reply via email to

[Prev in Thread] Current Thread [Next in Thread]