diff options
author | Michael Meissner <gnu@the-meissners.org> | 1996-11-01 15:53:28 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1996-11-01 15:53:28 +0000 |
commit | 5db7cc25b83463e187321d88b1456684326ba511 (patch) | |
tree | 52a8072df40aead97ed7380fa5044271dc15277e /gdb | |
parent | cf1e294cc078f117a56b79f1bed9f016cec40f8b (diff) | |
download | gdb-5db7cc25b83463e187321d88b1456684326ba511.zip gdb-5db7cc25b83463e187321d88b1456684326ba511.tar.gz gdb-5db7cc25b83463e187321d88b1456684326ba511.tar.bz2 |
Make gdb compile & link cleanly on powerpc-linux
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/monitor.c | 6 |
2 files changed, 12 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b0725fe..336c669 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +Fri Nov 1 10:50:51 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * config/powerpc/linux.mh (NATDEPFILES): Fix up things so that it + links. + (GDBSERVER_DEPFILES,TERMCAP): Ditto. + + * monitor.c (dev_name,targ_ops): Move static variables before + first use, to avoid compiler warnings. + start-sanitize-m32r Thu Oct 31 16:37:17 1996 Michael Snyder <msnyder@cleaver.cygnus.com> 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; |