΀¶«Éœ
2005-05-01 18:40:02 UTC
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
./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