+Wed Sep 14 18:27:42 1994 Jason Molenda (crash@phydeaux.cygnus.com)
+
+ * remote-hms.c: use remote_debug instead of hms_silent toggle.
+ Add warnings about depreciation of `snoop' cmd.
+
Wed Sep 14 18:18:58 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* remote-hms.c (hms_read_inferior_memory): Cope when
static void add_commands ();
static void remove_commands ();
-static int quiet = 1;
+static int quiet = 1; /* FIXME - can be removed after Dec '94 */
serial_t desc;
error ("Serial port error!");
}
- if (!quiet)
+ if (!quiet || remote_debug)
printf_unfiltered ("%c", buf);
return buf & 0x7f;
buf = SERIAL_READCHAR (desc, timeout);
if (buf == SERIAL_TIMEOUT)
buf = 0;
- if (!quiet)
+ if (!quiet || remote_debug)
printf_unfiltered ("%c", buf);
return buf & 0x7f;
SERIAL_WRITE (desc, a, l);
- if (!quiet)
+ if (!quiet || remote_debug)
{
printf_unfiltered ("<");
for (i = 0; i < l; i++)
OPS_MAGIC, /* Always the last thing */
};
-hms_quiet ()
+hms_quiet () /* FIXME - this routine can be removed after Dec '94 */
{
quiet = !quiet;
if (quiet)
else
printf_filtered ("Snoop enabled\n");
+ printf_filtered("`snoop' is obsolete, please use `set remotedebug'.\n");
}
hms_device (s)
add_com ("hms <command>", class_obscure, hms_com,
"Send a command to the HMS monitor.");
+
+ /* FIXME - hms_quiet and `snoop' can be removed after Dec '94 */
add_com ("snoop", class_obscure, hms_quiet,
- "Show what commands are going to the monitor");
+ "Show what commands are going to the monitor (OBSOLETE - see 'set remotedebug')");
add_com ("device", class_obscure, hms_device,
"Set the terminal line for HMS communications");