From: Michael Meissner Date: Fri, 1 Nov 1996 15:53:28 +0000 (+0000) Subject: Make gdb compile & link cleanly on powerpc-linux X-Git-Tag: gdb-4_18~7257 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5db7cc25b83463e187321d88b1456684326ba511;p=platform%2Fupstream%2Fbinutils.git Make gdb compile & link cleanly on powerpc-linux --- 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 + + * 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 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;