NetBSD-Users archive

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

GDB kernel debugging broken?



Trying to run gdb on a crash dump (on a very recent -current) gives:

        $ gdb netbsd.0
        GNU gdb (GDB) 7.3.1
        Copyright (C) 2011 Free Software Foundation, Inc.
        License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
        This is free software: you are free to change and redistribute it.
        There is NO WARRANTY, to the extent permitted by law.  Type "show 
copying"
        and "show warranty" for details.
        This GDB was configured as "i486--netbsdelf".
        For bug reporting instructions, please see:
        <http://www.gnu.org/software/gdb/bugs/>...
        Reading symbols from /var/crash/netbsd.0...done.
        (gdb) target kvm netbsd.0.core
        /work/build/src/external/gpl3/gdb/dist/gdb/target.c:3013: 
internal-error: Can't determine the current address space of thread <kvm>

Running gdb from a 5.1 system gives a truncated back trace and wrong line
numbers.

Any ideas anyone?

--
Juergen Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig 
(Germany)



Home | Main Index | Thread Index | Old Index