This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Re: DOS/Windows-specific code: sh-tdep.c and sh3-rom.c


On May 8,  2:54pm, Eli Zaretskii wrote:

>     * sh3-rom.c:_initialize_sh3_rom()
> 
>     #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'm not sure what to
suggest in order to remove the _WINDOWS ifdef from this one.

Kevin


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