root@hotdog:~# gdb /usr/lib/debug/boot/vmlinux-4.18.0-20-generic /proc/kcore
GNU gdb (Ubuntu 8.1-0ubuntu4) 8.1.0.20180409-git
Copyright (C) 2018 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 "aarch64-linux-gnu".
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/vmlinux-4.18.0-20-generic...done.
warning: core file may not match specified executable file.
[New process 1]
Core was generated by `BOOT_IMAGE=/boot/vmlinuz-4.18.0-20-generic root=UUID=edb5e5a7-8272-4e13-aa25-37'.
#0 0x0000000000000000 in ?? ()
(gdb) p jiffies_64
$1 = 4406710034
(gdb)
Test package is available in PPA: gdb-lp1830796
ppa:manjo/
ubuntu@hotdog:~$ apt policy gdb ppa.launchpad. net/manjo/ gdb-lp1830796/ ubuntu bionic/main arm64 Packages dpkg/status ports.ubuntu. com/ubuntu- ports bionic/main arm64 Packages
gdb:
Installed: 8.1-0ubuntu4
Candidate: 8.1-0ubuntu4
Version table:
*** 8.1-0ubuntu4 500
500 http://
100 /var/lib/
8.1-0ubuntu3 500
500 http://
ubuntu@hotdog:~$
root@hotdog:~# gdb /usr/lib/ debug/boot/ vmlinux- 4.18.0- 20-generic /proc/kcore gnu.org/ licenses/ gpl.html> linux-gnu" . www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>. debug/boot/ vmlinux- 4.18.0- 20-generic. ..done.
GNU gdb (Ubuntu 8.1-0ubuntu4) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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 "aarch64-
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/
warning: core file may not match specified executable file. /boot/vmlinuz- 4.18.0- 20-generic root=UUID= edb5e5a7- 8272-4e13- aa25-37' .
[New process 1]
Core was generated by `BOOT_IMAGE=
#0 0x0000000000000000 in ?? ()
(gdb) p jiffies_64
$1 = 4406710034
(gdb)