I had a panic and got a dump for amd64 head -r329465 .

I was able to use /usr/libexec/kgdb to look at the vmcore.*
file. But my prior attempt to use /usr/local/bin/kgdb failed:

# svnlite info /usr/ports/ | grep "Re[plv]"
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 461121
Last Changed Rev: 461121

# ls -lTdt /usr/local/bin/kgdb*
lrwxr-xr-x  1 root  wheel         7 Jan 28 12:51:57 2018 /usr/local/bin/kgdb -> 
kgdb801
-r-xr-xr-x  1 root  wheel  95080255 Jan 28 12:51:57 2018 /usr/local/bin/kgdb801

# /usr/local/bin/kgdb /usr/lib/debug/boot/kernel/kernel.debug 
/var/crash/vmcore.0
GNU gdb (GDB) 8.0.1 [GDB v8.0.1 for FreeBSD]
Copyright (C) 2017 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 "x86_64-portbld-freebsd12.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/debug/boot/kernel/kernel.debug...done.
.gdbinit:16: Error in sourced command file:
No symbol "remotebaud" in current context.
ABI doesn't support a vmcore target
(kgdb) 


It seems that for amd64 /usr/local/bin/kgdb is still necessary.
(I normally deal with powerpc64 and powerpc for kgdb use, odd
contexts in the first place. I did not know of the amd64 issue
before this.)

===
Mark Millard
marklmi at yahoo.com
( markmi at dsl-only.net is
going away in 2018-Feb, late)

_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to