diff options
-rw-r--r-- | gdb/ChangeLog | 10 | ||||
-rw-r--r-- | gdb/sh-tdep.c | 8 | ||||
-rw-r--r-- | gdb/sh3-rom.c | 24 |
3 files changed, 17 insertions, 25 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 85276c8..2f57191 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 0475b43..78a4a25 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -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) { diff --git a/gdb/sh3-rom.c b/gdb/sh3-rom.c index fc3b7b8..c0f26df 100644 --- a/gdb/sh3-rom.c +++ b/gdb/sh3-rom.c @@ -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; |