From 74a151fa4a9a1ee099cd3244a4d2bb029fd51ca6 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Wed, 9 May 2001 17:51:01 +0000 Subject: [PATCH] 2001-05-09 Elena Zannoni * 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. --- gdb/ChangeLog | 10 ++++++++++ gdb/sh-tdep.c | 8 -------- gdb/sh3-rom.c | 24 +++++++----------------- 3 files changed, 17 insertions(+), 25 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 85276c83e36..2f57191f587 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2001-05-09 Elena Zannoni + + * 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 * i386-tdep.c (i386_frame_saved_pc): New function. diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 0475b4396c5..78a4a25d463 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 fc3b7b8b97f..c0f26df38a6 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; -- 2.30.2