Make gdb compile & link cleanly on powerpc-linux

This commit is contained in:
Michael Meissner 1996-11-01 15:53:28 +00:00
parent cf1e294cc0
commit 5db7cc25b8
2 changed files with 12 additions and 3 deletions

View File

@ -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>

View File

@ -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;