+Wed Aug 11 17:54:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * remote-{monitor,bug}.c: Make bug_ops not static (forward declaration
+ of statics doesn't work with SunOS4 /bin/cc).
+ Rename the occurrence in remote-monitor.c to monitor_bug_ops.
+
Tue Aug 10 13:07:14 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
* blockframe.c (find_pc_partial_function),
extern int stop_soon_quietly; /* for wait_for_inferior */
/* Forward data declarations */
-static struct target_ops bug_ops; /* Forward declaration */
+extern struct target_ops bug_ops; /* Forward declaration */
/* Forward function declarations */
static void bug_fetch_registers ();
}
#endif /* 0 */
-static struct target_ops bug_ops =
+struct target_ops bug_ops =
{
"bug", "Remote BUG monitor",
"Use the mvme187 board running the BUG monitor connected\n\
struct monitor_ops *current_monitor;
extern struct target_ops rom68k_ops; /* Forward declaration */
extern struct target_ops mon68_ops; /* Forward declaration */
-static struct target_ops bug_ops; /* Forward declaration */
+extern struct target_ops monitor_bug_ops; /* Forward declaration */
extern struct monitor_ops rom68k_cmds; /* Forward declaration */
extern struct monitor_ops mon68_cmds; /* Forward declaration */
extern struct monitor_ops bug_cmds; /* Forward declaration */
char *args;
int from_tty;
{
- push_target(&bug_ops);
+ push_target(&monitor_bug_ops);
push_monitor (&bug_cmds);
general_open (args, "bug", from_tty);
OPS_MAGIC, /* Always the last thing */
};
-static struct target_ops bug_ops = {
+struct target_ops monitor_bug_ops = {
"bug",
"Motorola's BUG remote serial debug monitor",
"Use a remote computer running Motorola's BUG debug monitor.\n\
add_target (&rom68k_ops);
/* add_target (&mon68_ops); */
- add_target (&bug_ops);
+ add_target (&monitor_bug_ops);
}