2001-05-09 Elena Zannoni <ezannoni@redhat.com>

* sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
 	conditional for help with connections through parallel ports,
 	given that the actual code for downloading through a parallel port
 	is not conditionalized.

	* sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
 	unmaintaned, and probably on its way to obsolescence.
This commit is contained in:
Elena Zannoni 2001-05-09 17:51:01 +00:00
parent 0d17c81d95
commit 74a151fa4a
3 changed files with 17 additions and 25 deletions

View File

@ -1,3 +1,13 @@
2001-05-09 Elena Zannoni <ezannoni@redhat.com>
* sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
conditional for help with connections through parallel ports,
given that the actual code for downloading through a parallel port
is not conditionalized.
* sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
unmaintaned, and probably on its way to obsolescence.
2001-05-09 Mark Kettenis <kettenis@gnu.org>
* i386-tdep.c (i386_frame_saved_pc): New function.

View File

@ -59,14 +59,6 @@ struct frame_extra_info
int f_offset;
};
#if 0
#ifdef _WIN32_WCE
char **sh_register_names = sh3_reg_names;
#else
char **sh_register_names = sh_generic_reg_names;
#endif
#endif
static char *
sh_generic_register_name (int reg_nr)
{

View File

@ -350,16 +350,11 @@ _initialize_sh3_rom (void)
sh3_ops.to_longname = "Hitachi SH-3 rom monitor";
sh3_ops.to_doc =
#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"
/* We can download through the parallel port too. */
"Debug on a Hitachi eval board running the SH-3E rom monitor.\n"
"Specify the serial device it is connected to.\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
"as an additional second argument.";
sh3_ops.to_open = sh3_open;
sh3_ops.to_close = sh3_close;
@ -374,16 +369,11 @@ Specify the serial device it is connected to (e.g. /dev/ttya).";
sh3e_ops.to_longname = "Hitachi SH-3E rom monitor";
sh3e_ops.to_doc =
#ifdef _WINDOWS
/* On windows we can talk through the parallel port too. */
/* We can download through the parallel port too. */
"Debug on a Hitachi eval board running the SH-3E rom monitor.\n"
"Specify the serial device it is connected to (e.g. com2).\n"
"Specify the serial device it is connected to.\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-3E rom monitor.\n\
Specify the serial device it is connected to (e.g. /dev/ttya).";
#endif
"as an additional second argument.";
sh3e_ops.to_open = sh3e_open;
sh3e_ops.to_close = sh3_close;