tech-kern archive

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

Re: looking at kernel core dump with gdb



On Tue, Dec 30, 2008 at 05:11:21PM +0100, Martin Husemann wrote:
> On Tue, Dec 30, 2008 at 04:53:00PM +0100, Manuel Bouyer wrote:
> > to get it working. "target kcore" and "target kvm" both seems to not
> > exist any more ...
> 
> The latter - does "help tareget" not show it for you?
> 
> List of target subcommands:
> 
> target async -- Use a remote computer via a serial line
> target child -- Unix child process (started by the "run" command)
> target core -- Use a core file as a target
> target exec -- Use an executable file as a target
> target extended-async -- Use a remote computer via a serial line
> target extended-remote -- Use a remote computer via a serial line
> target kvm -- Use a kernel virtual memory image as a target
> target remote -- Use a remote computer via a serial line

I have:
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=alpha--netbsd"...
(gdb) 
(gdb) help target
Connect to a target machine or process.
The first argument is the type or protocol of the target machine.
Remaining arguments are interpreted by the target protocol.  For more
information on the arguments for a particular protocol, type
`help target ' followed by the protocol name.

List of target subcommands:

target async -- Use a remote computer via a serial line
target core -- Use a core file as a target
target exec -- Use an executable file as a target
target extended-async -- Use a remote computer via a serial line
target extended-remote -- Use a remote computer via a serial line
target remote -- Use a remote computer via a serial line

Type "help target" followed by target subcommand name for full documentation.
Command name abbreviations are allowed if unambiguous.

no "kvm" here :(

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           
Manuel.Bouyer%lip6.fr@localhost
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index