aboutsummaryrefslogtreecommitdiff
path: root/gdb/monitor.c
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-11-01 15:53:28 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-11-01 15:53:28 +0000
commit5db7cc25b83463e187321d88b1456684326ba511 (patch)
tree52a8072df40aead97ed7380fa5044271dc15277e /gdb/monitor.c
parentcf1e294cc078f117a56b79f1bed9f016cec40f8b (diff)
downloadgdb-5db7cc25b83463e187321d88b1456684326ba511.zip
gdb-5db7cc25b83463e187321d88b1456684326ba511.tar.gz
gdb-5db7cc25b83463e187321d88b1456684326ba511.tar.bz2
Make gdb compile & link cleanly on powerpc-linux
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r--gdb/monitor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c
index f343f98..1b5553a 100644
--- a/gdb/monitor.c
+++ b/gdb/monitor.c
@@ -59,6 +59,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "dcache.h"
#include "srec.h"
+static char *dev_name;
+static struct target_ops *targ_ops;
+
static int readchar PARAMS ((int timeout));
static void monitor_command PARAMS ((char *args, int fromtty));
@@ -527,9 +530,6 @@ compile_pattern (pattern, compiled_pattern, fastmap)
/* Open a connection to a remote debugger. NAME is the filename used
for communication. */
-static char *dev_name;
-static struct target_ops *targ_ops;
-
void
monitor_open (args, mon_ops, from_tty)
char *args;