From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: gdb@sources.redhat.com Cc: ac131313@cygnus.com Subject: DOS/Windows-specific code: sh-tdep.c and sh3-rom.c Date: Tue, 08 May 2001 04:52:00 -0000 Message-id: <200105081154.OAA06321@is.elta.co.il> References: <20010503211502.21716.qmail@web6401.mail.yahoo.com> <3AF1DAA0.3060702@cygnus.com> <200105071609.TAA24129@is.elta.co.il> X-SW-Source: 2001-05/msg00112.html * sh-tdep.c: #if 0 #ifdef _WIN32_WCE char **sh_register_names = sh3_reg_names; #else char **sh_register_names = sh_generic_reg_names; #endif #endif It seems we could simply remove this, since it's disabled anyway. * 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.