From mboxrd@z Thu Jan 1 00:00:00 1970 From: Elena Zannoni To: Eli Zaretskii Cc: Kevin Buettner , gdb@sources.redhat.com Subject: Re: DOS/Windows-specific code: sh-tdep.c and sh3-rom.c Date: Wed, 09 May 2001 07:49:00 -0000 Message-id: <15097.22790.190629.866092@kwikemart.cygnus.com> References: <1010509065524.ZM22274@ocotillo.lan> X-SW-Source: 2001-05/msg00187.html Eli Zaretskii writes: > > On Tue, 8 May 2001, Kevin Buettner wrote: > > > > #ifdef _WINDOWS > > > /* On windows we can talk through the parallel port too. */ > > > "Debug on a Hitachi eval board running the SH-3 rom monitor.\n" > > > "Specify the serial device it is connected to (e.g. com2).\n" > > > "If you want to use the parallel port to download to it, specify that\n" > > > "as the second argument. (e.g. lpt1)"; > > > #else > > > "Debug on a Hitachi eval board running the SH-3 rom monitor.\n\ > > > Specify the serial device it is connected to (e.g. /dev/ttya)."; > > > #endif > > > > > > It should be good enough to have a single string here which would tell > > > that parallel port is only available on Windows. > > > > Perhaps, but it seems to me that the examples provided in the > > different help texts are actually useful. > > I thought about retaining both examples. For example: > > "Debug on a Hitachi eval board running the SH-3 rom monitor.\n" > "Specify the serial device it is connected to\n" > "(e.g., /dev/tty on Unix or com2 on Windows).\n" > "On Windows only, you can use the parallel port to download to it,\n" > "in which case specify that as the second argument (e.g., lpt1)." > Yes, that was my understanding as well. This is Ok with me. I am going to make the change today. Thanks Elena