This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

FYI: gdb-4.18 + target ARM (or Thumb) used with Angel + Debian GNU/Linux


FYI:

gdb-4.18 will not work with the configuration above, if not
patched!

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.

CH

_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]