This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

aarch64-none-linux-gnu-gdb (13.2.rel1) cannot run a program.

developer.arm.com/.../arm-gnu-toolchain-13.2.rel1-x86_64-aarch64-none-linux-gnu.tar.xz

[boots@localhost kernel_debug]$ /usr/local/cross_compile/arm64/bin/aarch64-none-linux-gnu-gdb demo
GNU gdb (Arm GNU Toolchain 13.2.rel1 (Build arm-13.7)) 13.2.90.20231008-git
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <gnu.org/.../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 "--host=x86_64-pc-linux-gnu --target=aarch64-none-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.linaro.org/>.
Find the GDB manual and other documentation resources online at:
<www.gnu.org/.../>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from demo...
(gdb) b main
Breakpoint 1 at 0x400724
(gdb) r
Don't know how to run. Try "help target".
(gdb)
(gdb)

Does Anybody have ideas? Thanks a lot.