[Bug 295805] KGDB 15.1 seems broken for PPC64
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 295805] KGDB 15.1 seems broken for PPC64"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Jun 2026 11:01:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295805
--- Comment #2 from Javi Hotmail <volkovdablo@hotmail.com> ---
Fixed the issue, just compile the port using GCC 14 :D.
root@bm-fbsd-ppc64-javi:/usr/ports/devel/gdb # kgdb
GNU gdb (GDB) 15.1 [GDB v15.1 for FreeBSD]
Copyright (C) 2024 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 "powerpc64-portbld-freebsd15.1".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://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 /boot/kernel/kernel...
Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug...
Reading symbols from /boot/kernel/mac_ntpd.ko...
Reading symbols from /usr/lib/debug//boot/kernel/mac_ntpd.ko.debug...
Reading symbols from /boot/kernel/snp.ko...
Reading symbols from /usr/lib/debug//boot/kernel/snp.ko.debug...
0xc0000000009152f8 in sched_ule_sswitch (td=0xc000000001798280 <thread0_st>,
flags=<optimized out>)
at /usr/src/sys/kern/sched_ule.c:2409
2409 cpu_switch(td, newtd, mtx);
(kgdb) bt
#0 0xc0000000009152f8 in sched_ule_sswitch (td=0xc000000001798280
<thread0_st>, flags=<optimized out>)
at /usr/src/sys/kern/sched_ule.c:2409
#1 0xc0000000008dff10 in mi_switch (flags=259) at
/usr/src/sys/kern/kern_synch.c:526
#2 0xc0000000009576f4 in sleepq_switch (wchan=<optimized out>, pri=<optimized
out>) at /usr/src/sys/kern/subr_sleepqueue.c:608
#3 0xc0000000008df018 in _sleep (ident=0xc00800000000c9a0, lock=0x0,
priority=1024, wmesg=0xc0000000014d99b6 "-", sbt=0, pr=0,
flags=256) at /usr/src/sys/kern/kern_synch.c:222
#4 0xc0000000008132f8 in mi_startup () at /usr/src/sys/kern/init_main.c:349
#5 0xc000000000101888 in __start () at /usr/src/sys/powerpc/aim/locore64.S:201
Backtrace stopped: frame did not save the PC
(kgdb)
--
You are receiving this mail because:
You are the assignee for the bug.