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

See the CrossGCC FAQ for lots more infromation.


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

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



   Date: 9 Aug 1999 09:15:15 -0000
   From: Eric Smith <eric@brouhaha.com>

   Christian Ericsson <christian.ericsson@bigfoot.com> wrote:
   > 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.

   Your fix is actually the correct thing to do, and the gdb maintainers should
   make /dev/ttyS0 the default on Linux (but not on some other operating systems,
   such as SunOS 4).  /dev/cua* are obsolete and deprecated, which is presumably
   why Debian doesn't include them.  /dev/ttyS* follow the standard POSIX
   sematics, and should work fine.

This change was made in the master GDB repository about three weeks
ago, and so has already appeared in the snapshots available on
sourceware.cygnus.com.

							Stan Shebs
							Cygnus Solutions
							shebs@cygnus.com

_______________________________________________
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]