diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-09 21:12:01 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-09 21:12:01 +0000 |
commit | 525390a20c1c9a7cfb2a7522e4f8fee80c152812 (patch) | |
tree | b18d2e49cdc9182613c53e1dfe8e954d1de73eb0 /gdb/remote-udi.c | |
parent | e5c5fbca679679672ac8b07788f5ba23f39ccde0 (diff) | |
download | gdb-525390a20c1c9a7cfb2a7522e4f8fee80c152812.zip gdb-525390a20c1c9a7cfb2a7522e4f8fee80c152812.tar.gz gdb-525390a20c1c9a7cfb2a7522e4f8fee80c152812.tar.bz2 |
* remote-udi.c: Make udi_ops extern rather than trying forward
declaration of a static variable.
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r-- | gdb/remote-udi.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index 0dc5d95..74efd09 100644 --- a/gdb/remote-udi.c +++ b/gdb/remote-udi.c @@ -1476,12 +1476,13 @@ void convert16() {;} void convert32() {;} FILE* EchoFile = 0; /* used for debugging */ int QuietMode = 0; /* used for debugging */ + +/* 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\ |