From bdf64bacd5b198ebda7fd581a5b26547ec6a925b Mon Sep 17 00:00:00 2001 From: David Carlton Date: Tue, 1 Oct 2002 19:26:05 +0000 Subject: [PATCH] 2002-09-30 David Carlton * Makefile.in (ppc-sysv-tdep.o): Depend on gdb_string_h. * ppc-sysv-tdep.c: #include "gdb_string.h". * remote-sds.c (getmessage): Add semicolon after 'retry' label to pacify GCC. --- gdb/ChangeLog | 7 +++++++ gdb/Makefile.in | 2 +- gdb/ppc-sysv-tdep.c | 1 + gdb/remote-sds.c | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d3ca87c0a86..995338a98db 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2002-09-30 David Carlton + + * Makefile.in (ppc-sysv-tdep.o): Depend on gdb_string_h. + * ppc-sysv-tdep.c: #include "gdb_string.h". + * remote-sds.c (getmessage): Add semicolon after 'retry' label to + pacify GCC. + 2002-10-01 Andrew Cagney * rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 66352277b6c..21031d2f0bf 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1976,7 +1976,7 @@ ppc-linux-tdep.o: ppc-linux-tdep.c $(defs_h) $(frame_h) $(inferior_h) \ $(symtab_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(symfile_h) \ $(objfiles_h) $(regcache_h) $(value_h) $(solib_svr4_h) $(ppc_tdep_h) ppc-sysv-tdep.o: ppc-sysv-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \ - $(regcache_h) $(value_h) $(ppc_tdep_h) + $(regcache_h) $(value_h) $(gdb_string_h) $(ppc_tdep_h) ppcbug-rom.o: ppcbug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \ $(serial_h) $(regcache_h) ppcnbsd-nat.o: ppcnbsd-nat.c $(defs_h) $(inferior_h) $(ppc_tdep_h) \ diff --git a/gdb/ppc-sysv-tdep.c b/gdb/ppc-sysv-tdep.c index 0d33683a4c4..ecaed850cbf 100644 --- a/gdb/ppc-sysv-tdep.c +++ b/gdb/ppc-sysv-tdep.c @@ -25,6 +25,7 @@ #include "inferior.h" #include "regcache.h" #include "value.h" +#include "gdb_string.h" #include "ppc-tdep.h" diff --git a/gdb/remote-sds.c b/gdb/remote-sds.c index 507ac5be208..053b97a7615 100644 --- a/gdb/remote-sds.c +++ b/gdb/remote-sds.c @@ -978,6 +978,7 @@ getmessage (unsigned char *buf, int forever) /* Try the whole thing again. */ retry: /* need to do something here */ + ; } /* We have tried hard enough, and just can't receive the packet. Give up. */ -- 2.30.2