Discussion:
arm-linux-gdb show "Don't know how to run"
΀¶«Éœ
2005-05-01 18:40:02 UTC
Permalink
1. I have install gdb5.3 as follow:
./configure --target=arm-linux
make
make install

2. I wrote a simply program "hello.c":
arm-linux-gcc -g -o hello hello.c

3. When i used the arm-linux-gdb to debug, it showed:

#arm-linux-gdb hello
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
Public License, and you are
welcome to change it and/or distribute copies of
it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type
"show warranty" for details.
This GDB was configured as
"--host=i686-pc-linux-gnu --target=arm-linux
Daniel Jacobowitz
2005-05-01 19:00:44 UTC
Permalink
Post by ΀¶«Éœ
./configure --target=arm-linux
This is a cross debugger.
Post by ΀¶«Éœ
(gdb) run
/friendly-arm/root/examples/hello/hello
Don't know how to run. Try "help target".
You have to tell it how to connect to your target. For arm-linux, you
should probably read the documentation for "gdbserver".
--
Daniel Jacobowitz
CodeSourcery, LLC
Loading...