Re: [kgdb] There is no member named pathname
On 29/02/2008, pluknet <email@example.com> wrote:[color=blue]
> I've updated to the recent RELENG_7 as of 2008/02/28
> to try the new kld-add feature in kgdb, among other things
> (yes, i do debug kernel modules).
> However, now I get an error message;
> also I'm unable to use the add-kld command.
> For example:
> # kgdb -q /boot/kernel/kernel /dev/mem
> [GDB will not be able to debug user-mode threads:
> /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
> There is no member named pathname.
> (kgdb) add-kld whatever
> Undefined command: "add-kld". Try "help".
> I tried to add missing .symbols data as I did before and as described
> in developer's handbook, but that doesn't work anymore.
> [to be honest, I only tried it once, and I hope I didn't mix up
> the numbers in addresses. It's hard to do, though]
> $FreeBSD: src/gnu/usr.bin/gdb/kgdb/kld.c,v 126.96.36.199 2008/02/25
> 22:19:56 jhb Exp $
JFYI: It works without that issue In CURRENT.
[GDB will not be able to debug user-mode threads:
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
Reading symbols from /boot/kernel/pf.ko...Reading symbols from
Loaded symbols for /boot/kernel/pf.ko
Reading symbols from /boot/kernel/snd_envy24ht.ko...Reading symbols
Loaded symbols for /boot/kernel/snd_envy24ht.ko
Reading symbols from /boot/kernel/sound.ko...Reading symbols from
Loaded symbols for /boot/kernel/sound.ko
Reading symbols from /boot/kernel/snd_spicds.ko...Reading symbols from
Loaded symbols for /boot/kernel/snd_spicds.ko
Reading symbols from /boot/kernel/atapicam.ko...Reading symbols from
Loaded symbols for /boot/kernel/atapicam.ko
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/tmpfs.ko...Reading symbols from
Loaded symbols for /boot/kernel/tmpfs.ko
Reading symbols from /boot/kernel/msdosfs_iconv.ko...Reading symbols
Loaded symbols for /boot/kernel/msdosfs_iconv.ko
Reading symbols from /boot/kernel/libiconv.ko...Reading symbols from
Loaded symbols for /boot/kernel/libiconv.ko
Reading symbols from /boot/kernel/nfsserver.ko...Reading symbols from
Loaded symbols for /boot/kernel/nfsserver.ko
#0 doadump () at pcpu.h:195
195 pcpu.h: No such file or directory.
(kgdb) add-kld whatever
Unable to locate kld
[email]firstname.lastname@example.org[/email] mailing list
To unsubscribe, send any mail to "email@example.com"