FYI: gdb-4.18 + target ARM (or Thumb) used with Angel + Debian GNU/Linux
Tue Jul 27 19:04:00 GMT 1999
gdb-4.18 will not work with the configuration above, if not
I have been trying to get target debugging to work with
Atmel evaluation board featuring the ARM7TDMI processor.
The command "target rdi /dev/ttyS0" didn't work in gdb-4.18.
The problem was that normal Linux systems use /dev/cua0
as the first serial port, but Debian GNU/Linux 2.1 (which I use)
use /dev/ttyS0 instead. I did try to make a soft link, like:
ln -s /dev/ttyS0 /dev/cua0
But, it didn't solve the problem. The serial port to use is
hard coded! So, I changed the right source code file to use
/dev/ttyS0 instead of /dev/cua0. And, now it works!
If you are using Red Hat Linux, you will not need any patching!
I'm going to make a bug report to the gdb-team.
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
To remove yourself from the crossgcc list, send
mail to firstname.lastname@example.org with the
text 'unsubscribe' (without the quotes) in the
body of the message.
More information about the crossgcc