public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Re: RE Insight 5.3 and serial ports on a win xp box
@ 2004-06-26 20:32 Rycerz Roman-G11565
  2004-06-28  3:33 ` Keith Seitz
  0 siblings, 1 reply; 6+ messages in thread
From: Rycerz Roman-G11565 @ 2004-06-26 20:32 UTC (permalink / raw)
  To: insight

Thanks  the /dev/comX works ..... in both gdb and insight 5.3.   
 
Is there an easy way to make insight 5.3 prepend the "/dev/" part ???
 
 
 
 
>>IIRC, the serial ports in cygwin have been changed from "comX" to
>>"/dev/comX" where X=1,2,etc.


 
Roman
 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RE Insight 5.3 and serial ports on a win xp box
  2004-06-26 20:32 RE Insight 5.3 and serial ports on a win xp box Rycerz Roman-G11565
@ 2004-06-28  3:33 ` Keith Seitz
  0 siblings, 0 replies; 6+ messages in thread
From: Keith Seitz @ 2004-06-28  3:33 UTC (permalink / raw)
  To: Rycerz Roman-G11565; +Cc: insight

On Fri, 2004-06-25 at 07:10, Rycerz Roman-G11565 wrote:
> Thanks  the /dev/comX works ..... in both gdb and insight 5.3.   
>  
> Is there an easy way to make insight 5.3 prepend the "/dev/" part ???

Not if you are using the command line. You can modify
src/gdb/gdbtk/library/targetselection.itb (port_list) so that it uses
the correct serial ports. Right now, it will only use comX. (So change
the two lines that say "lappend plist com$i" to "lappend plist
/dev/com$i".)

Keith

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: RE Insight 5.3 and serial ports on a win xp box
@ 2004-06-28 17:11 Rycerz Roman-G11565
  0 siblings, 0 replies; 6+ messages in thread
From: Rycerz Roman-G11565 @ 2004-06-28 17:11 UTC (permalink / raw)
  To: 'Keith Seitz'; +Cc: insight

Thanks Keith

Insight is now fine!!!!

Roman


-----Original Message-----
From: Keith Seitz [mailto:keiths@redhat.com] 
Sent: Friday, June 25, 2004 10:09 AM
To: Rycerz Roman-G11565
Cc: insight
Subject: Re: RE Insight 5.3 and serial ports on a win xp box


On Fri, 2004-06-25 at 07:10, Rycerz Roman-G11565 wrote:
> Thanks  the /dev/comX works ..... in both gdb and insight 5.3.   
>  
> Is there an easy way to make insight 5.3 prepend the "/dev/" part ???

Not if you are using the command line. You can modify src/gdb/gdbtk/library/targetselection.itb (port_list) so that it uses the correct serial ports. Right now, it will only use comX. (So change the two lines that say "lappend plist com$i" to "lappend plist
/dev/com$i".)

Keith

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RE   Insight 5.3 and serial ports on a win xp box
  2004-06-24 21:51 ` Keith Seitz
@ 2004-06-24 22:08   ` Martin M. Hunt
  0 siblings, 0 replies; 6+ messages in thread
From: Martin M. Hunt @ 2004-06-24 22:08 UTC (permalink / raw)
  To: Keith Seitz; +Cc: Rycerz Roman-G11565, insight

IIRC, the serial ports in cygwin have been changed from "comX" to
"/dev/comX" where X=1,2,etc.

Martin

On Wed, 2004-06-23 at 10:12, Keith Seitz wrote:
> On Wed, 2004-06-23 at 09:33, Rycerz Roman-G11565 wrote:
> > CYGWIN_NT-5.1 IL106-1353 1.5.10(0.116/4/2) 2004-05-25 22:07 i686
> > Target is powerpc
> > tried both gdb and insight 5.3 both act the same
> 
> Excellent! I like to hear that... Because that means it's a gdb problem.
> :-)
> 
> Forward this information to the gdb list (s/insight/gdb/), and they
> should be able to help you.
>  
> One thing to try first, though.... The proper serial device is
> "/dev/ttyS0" or "/dev/ttyS1" (NOT "/dev/ttys0"). I don't know if cygwin
> actually cares about case-sensitivity like this, but it couldn't hurt to
> try.
> 
> Keith
> > $ powerpc-eabi-gdb
> > 
> > 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-cygwin --target=powerpc-eabi".
> > 
> > (gdb)
> > 
> > (gdb)
> > 
> > (gdb) set remotebaud 38400
> > 
> > (gdb) target remote com1
> > 
> > com1: No such file or directory.
> > 
> > (gdb) target remote /dev/ttys0
> > 
> > /dev/ttys0: No such file or directory.
> > 
> >  
> > 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: RE   Insight 5.3 and serial ports on a win xp box
  2004-06-24 16:27 Rycerz Roman-G11565
@ 2004-06-24 21:51 ` Keith Seitz
  2004-06-24 22:08   ` Martin M. Hunt
  0 siblings, 1 reply; 6+ messages in thread
From: Keith Seitz @ 2004-06-24 21:51 UTC (permalink / raw)
  To: Rycerz Roman-G11565; +Cc: insight

On Wed, 2004-06-23 at 09:33, Rycerz Roman-G11565 wrote:
> CYGWIN_NT-5.1 IL106-1353 1.5.10(0.116/4/2) 2004-05-25 22:07 i686
> Target is powerpc
> tried both gdb and insight 5.3 both act the same

Excellent! I like to hear that... Because that means it's a gdb problem.
:-)

Forward this information to the gdb list (s/insight/gdb/), and they
should be able to help you.
 
One thing to try first, though.... The proper serial device is
"/dev/ttyS0" or "/dev/ttyS1" (NOT "/dev/ttys0"). I don't know if cygwin
actually cares about case-sensitivity like this, but it couldn't hurt to
try.

Keith
> $ powerpc-eabi-gdb
> 
> 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-cygwin --target=powerpc-eabi".
> 
> (gdb)
> 
> (gdb)
> 
> (gdb) set remotebaud 38400
> 
> (gdb) target remote com1
> 
> com1: No such file or directory.
> 
> (gdb) target remote /dev/ttys0
> 
> /dev/ttys0: No such file or directory.
> 
>  
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE   Insight 5.3 and serial ports on a win xp box
@ 2004-06-24 16:27 Rycerz Roman-G11565
  2004-06-24 21:51 ` Keith Seitz
  0 siblings, 1 reply; 6+ messages in thread
From: Rycerz Roman-G11565 @ 2004-06-24 16:27 UTC (permalink / raw)
  To: insight

CYGWIN_NT-5.1 IL106-1353 1.5.10(0.116/4/2) 2004-05-25 22:07 i686

Target is powerpc

 

tried both gdb and insight 5.3 both act the same

 

$ powerpc-eabi-gdb

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-cygwin --target=powerpc-eabi".

(gdb)

(gdb)

(gdb) set remotebaud 38400

(gdb) target remote com1

com1: No such file or directory.

(gdb) target remote /dev/ttys0

/dev/ttys0: No such file or directory.

 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-06-25 20:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-26 20:32 RE Insight 5.3 and serial ports on a win xp box Rycerz Roman-G11565
2004-06-28  3:33 ` Keith Seitz
  -- strict thread matches above, loose matches on Subject: below --
2004-06-28 17:11 Rycerz Roman-G11565
2004-06-24 16:27 Rycerz Roman-G11565
2004-06-24 21:51 ` Keith Seitz
2004-06-24 22:08   ` Martin M. Hunt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).