https://bugs.openldap.org/show_bug.cgi?id=9916
--- Comment #9 from Howard Chu hyc@openldap.org --- Unfortunately, gdb doesn't appear to be working on gcc102 or gcc202:
yc@gcc202:/tmp/openldap/tests$ gdb ../servers/slapd/slapd GNU gdb (Debian 12.1-4) 12.1 Copyright (C) 2022 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 "sparc64-linux-gnu". 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 ../servers/slapd/slapd... (gdb) br main Breakpoint 1 at 0x155c0: file main.c, line 218. (gdb) r Starting program: /tmp/openldap/servers/slapd/slapd
Program received signal SIGILL, Illegal instruction. 0xfff8000100e43360 in ?? () (gdb) q A debugging session is active.
Inferior 1 [process 160620] will be killed.
Quit anyway? (y or n) y hyc@gcc202:/tmp/openldap/tests$