This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Add missing #include gdb_assert.h
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 11 May 2004 12:17:38 -0400
- Subject: [ob] Add missing #include gdb_assert.h
committed,
Andrew
2004-05-11 Andrew Cagney <cagney@redhat.com>
* ppcnbsd-tdep.c: Include "gdb_assert.h".
* Makefile.in (ppcnbsd-tdep.o): Update dependencies.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.569
diff -p -u -r1.569 Makefile.in
--- Makefile.in 11 May 2004 04:55:31 -0000 1.569
+++ Makefile.in 11 May 2004 16:15:08 -0000
@@ -2162,7 +2162,7 @@ ppcnbsd-nat.o: ppcnbsd-nat.c $(defs_h) $
$(ppcnbsd_tdep_h) $(gdb_assert_h)
ppcnbsd-tdep.o: ppcnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) \
$(target_h) $(breakpoint_h) $(value_h) $(osabi_h) $(ppc_tdep_h) \
- $(ppcnbsd_tdep_h) $(nbsd_tdep_h) $(solib_svr4_h)
+ $(ppcnbsd_tdep_h) $(nbsd_tdep_h) $(solib_svr4_h) $(gdb_assert)
ppcobsd-nat.o: ppcobsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
$(ppc_tdep_h) $(ppcobsd_tdep_h)
ppcobsd-tdep.o: ppcobsd-tdep.c $(defs_h) $(arch_utils_h) $(osabi_h) \
Index: ppcnbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ppcnbsd-tdep.c,v
retrieving revision 1.19
diff -p -u -r1.19 ppcnbsd-tdep.c
--- ppcnbsd-tdep.c 11 May 2004 04:55:32 -0000 1.19
+++ ppcnbsd-tdep.c 11 May 2004 16:15:08 -0000
@@ -34,7 +34,7 @@
#include "nbsd-tdep.h"
#include "tramp-frame.h"
#include "trad-frame.h"
-
+#include "gdb_assert.h"
#include "solib-svr4.h"
#define REG_FIXREG_OFFSET(x) ((x) * 4)