* remote-udi.c: Make udi_ops extern rather than trying forward
authorJim Kingdon <jkingdon@engr.sgi.com>
Mon, 9 Aug 1993 21:12:01 +0000 (21:12 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Mon, 9 Aug 1993 21:12:01 +0000 (21:12 +0000)
declaration of a static variable.

gdb/ChangeLog
gdb/remote-udi.c

index 466d8d7f95ebcdf32efa7dbdb2b360ff737a45dd..8d79c414c9076ec17607305450327553514fa94a 100644 (file)
@@ -1,5 +1,8 @@
 Mon Aug  9 09:53:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * remote-udi.c: Make udi_ops extern rather than trying forward
+       declaration of a static variable.
+
        * hppab-nat.c: Define ptrace to call_ptrace and pass the 5th arg
        there, rather than using an ANSI C specific macro.
 
index 0dc5d953262aaa385ad1b90b29a33fc57b6a5557..74efd098c6713847cf88f6a4ea412eb7978361e6 100644 (file)
@@ -1476,12 +1476,13 @@ void  convert16() {;}
 void  convert32() {;}
 FILE* EchoFile = 0;            /* used for debugging */
 int   QuietMode = 0;           /* used for debugging */
+\f
+/* Target_ops vector.  Not static because there does not seem to be
+   any portable way to do a forward declaration of a static variable.
+   The RS/6000 doesn't like "extern" followed by "static"; SunOS
+   /bin/cc doesn't like "static" twice.  */
 
-/****************************************************************************/
-/* 
- *  Define the target subroutine names 
- */
-static struct target_ops udi_ops = {
+struct target_ops udi_ops = {
         "udi",
        "Remote UDI connected TIP",
        "Remote debug an AMD 29k using UDI socket connection to TIP process.\n\
This page took 0.031027 seconds and 4 git commands to generate.