2001-05-09 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Wed, 9 May 2001 17:51:01 +0000 (17:51 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Wed, 9 May 2001 17:51:01 +0000 (17:51 +0000)
* 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
gdb/sh-tdep.c
gdb/sh3-rom.c

index 85276c8..2f57191 100644 (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.
 2001-05-09  Mark Kettenis  <kettenis@gnu.org>
 
        * i386-tdep.c (i386_frame_saved_pc): New function.
index 0475b43..78a4a25 100644 (file)
@@ -59,14 +59,6 @@ struct frame_extra_info
   int f_offset;
 };
 
   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)
 {
 static char *
 sh_generic_register_name (int reg_nr)
 {
index fc3b7b8..c0f26df 100644 (file)
@@ -350,16 +350,11 @@ _initialize_sh3_rom (void)
   sh3_ops.to_longname = "Hitachi SH-3 rom monitor";
 
   sh3_ops.to_doc =
   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"
     "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;
 
   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 =
   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"
     "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"
     "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;
 
   sh3e_ops.to_open = sh3e_open;
   sh3e_ops.to_close = sh3_close;