aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-bug.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-08-11 23:12:02 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-08-11 23:12:02 +0000
commitae87844d7b1bab4184590aa40fcf6b4ff59cdf75 (patch)
tree1e2d4e89aaf8ec4c02da198c9cf1c8aaa587a7fb /gdb/remote-bug.c
parentac259c28f0e51fe81bce06bde2ea5657caf12859 (diff)
downloadfsf-binutils-gdb-ae87844d7b1bab4184590aa40fcf6b4ff59cdf75.zip
fsf-binutils-gdb-ae87844d7b1bab4184590aa40fcf6b4ff59cdf75.tar.gz
fsf-binutils-gdb-ae87844d7b1bab4184590aa40fcf6b4ff59cdf75.tar.bz2
* 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.
Diffstat (limited to 'gdb/remote-bug.c')
-rw-r--r--gdb/remote-bug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-bug.c b/gdb/remote-bug.c
index 43c4cd3..af447a4 100644
--- a/gdb/remote-bug.c
+++ b/gdb/remote-bug.c
@@ -39,7 +39,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
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 ();
@@ -1436,7 +1436,7 @@ bug_speed (s)
}
#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\