gdb /opt/retropie/emulators/retroarch/bin/retroarch
GNU gdb (Ubuntu 8.1-0ubuntu3) 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 /opt/retropie/emulators/retroarch/bin/retroarch...(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/retropie/emulators/retroarch/bin/retroarch
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fb18a4db0 (LWP 22484)]
[New Thread 0x7fab03cdb0 (LWP 22506)]
[Thread 0x7fab03cdb0 (LWP 22506) exited]
[Thread 0x7fb18a4db0 (LWP 22484) exited]
[New Thread 0x7fb18a4db0 (LWP 22516)]
context_reset.
ReadSpecialSettings: DEFAULT
plugin_start_gfx success.
Gfx RomOpen.
ReadSpecialSettings: DEFAULT
ReadSpecialSettings: GOLDENEYE
GL_ARB_texture_non_power_of_two supported.
GL_EXT_texture_format_BGRA8888 supported.
GL_ARB_texture_non_power_of_two supported.
GL_EXT_texture_format_BGRA8888 supported.
[New Thread 0x7fab03cdb0 (LWP 22545)]
Protocol error: bad 3 (Window); Sequence Number 13
Opcode (20, 0) = GetProperty
Bad resource 0 (0x0)
at -e line 16.
Thread 1 "retroarch" received signal SIGTRAP, Trace/breakpoint trap.
0x0000007f9815e070 in fp_exception_ds ()
And can't enable debug due relocate text
./mupen64plus-core/src/r4300/new_dynarec/arm64/linkage_aarch64.o: In function `.E12':
(.text+0x5b4): relocation truncated to fit: R_AARCH64_CONDBR19 against symbol `invalidate_block' defined in .text section in ./mupen64plus-core/src/r4300/new_dynarec/new_dynarec_64.o
collect2: error: ld returned 1 exit status
Makefile:938: recipe for target 'parallel_n64_libretro.so' failed
make: *** [parallel_n64_libretro.so] Error 1
``
Only working in interpreter mode.
And can't enable debug due relocate text