NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/46068: GDB can no longer display kernel addresses symbolically on i386
The following reply was made to PR bin/46068; it has been noted by GNATS.
From: Andreas Gustafsson <gson%gson.org@localhost>
To: christos%zoulas.com@localhost (Christos Zoulas)
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: bin/46068: GDB can no longer display kernel addresses symbolically
on i386
Date: Fri, 24 Feb 2012 08:32:40 +0200
Christos Zoulas wrote:
> How was that netbsd kernel created?
"build.sh release" followed by a sysinst install.
> It has:
>
> (gdb) maintenance info psymtabs
> { objfile /net/shiny/u-6/christos/crash/netbsd ((struct objfile *)
> 0xbb9e2000)
> { psymtab
> /tmp/bracket/i386/work/2012.02.05.17.34.34/src/sys/conf/debugsyms.c
> ((struct partial_symtab *) 0xbb307b44)
> readin no
> fullname (null)
> text addresses 0xc0296db4 -- 0xc0296dc5
> globals (* (struct partial_symbol **) 0xbb98e500 @ 1)
> statics (* (struct partial_symbol **) 0xbb907000 @ 213)
> dependencies (none)
> }
> }
>
> Which is really strange to me, because my netbsd.gdb has a whole bunch of
> them, and my netbsd has none...
A kernel from a releng snapshot yields similar output:
# ftp
http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201202221120Z/i386/binary/sets/kern-GENERIC.tgz
# zcat kern-GENERIC.tgz | tar xf -
# gdb ./netbsd
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 /tmp/netbsd...done.
(gdb) maintenance info psymtabs
{ objfile /tmp/netbsd ((struct objfile *) 0xbb9e4000)
{ psymtab /home/builds/ab/HEAD/src/sys/conf/debugsyms.c
((struct partial_symtab *) 0xbb308b34)
readin no
fullname (null)
text addresses 0xc0292ae4 -- 0xc0292af5
globals (* (struct partial_symbol **) 0xbb982500 @ 1)
statics (* (struct partial_symbol **) 0xbb907000 @ 215)
dependencies (none)
}
}
--
Andreas Gustafsson, gson%gson.org@localhost
Home |
Main Index |
Thread Index |
Old Index