This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
build is broken
- From: Phil Edwards <phil at jaj dot com>
- To: insight at sources dot redhat dot com
- Date: Mon, 10 Nov 2003 06:34:06 -0500
- Subject: build is broken
After my weekly update of binutils sources, gdbtk no longer compiles:
gcc -c -g -O2 -I. -I/home/pme/src/unified/gdb -I/home/pme/src/unified/gdb/config -DLOCALEDIR="\"/mnt/build/install-2003-11-10/share/locale\"" -DHAVE_CONFIG_H -I/home/pme/src/unified/gdb/../include/opcode -I/home/pme/src/unified/gdb/../readline/.. -I../bfd -I/home/pme/src/unified/gdb/../bfd -I/home/pme/src/unified/gdb/../include -I../intl -I/home/pme/src/unified/gdb/../intl -DMI_OUT=1 -DGDBTK -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -I/home/pme/src/unified/gdb/../libgui/src -I/home/pme/src/unified/itcl/itcl/generic \
-I/home/pme/src/unified/tcl/generic -I/home/pme/src/unified/tk/generic -I/usr/X11R6/include \
-fwritable-strings /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-bp.c \
-DGDBTK_LIBRARY=\"/mnt/build/install-2003-11-10/share/insight1.0\"
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-bp.c: In function `gdb_find_bp_at_addr':
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-bp.c:223: error: structure has no member named `address'
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-bp.c: In function `gdb_get_breakpoint_info':
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-bp.c:313: error: structure has no member named `address'
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-bp.c:323: error: structure has no member named `address'
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-bp.c:330: error: structure has no member named `address'
make[1]: *** [gdbtk-bp.o] Error 1
make[1]: Leaving directory `/mnt/build/build-2003-11-10/gdb'
make: *** [all-gdb] Error 2
--
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
- Brian W. Kernighan