Missing stop_bpstat

Marc Khouzam
2008-09-10T19:57:01Z

Hi,

I'm getting compilation errors due missing stop_bpstat in gdbtk/generic.
I'm on Linux SLED10
I saw that the global stop_bpstat has been removed recently but I'm
assuming I'm compiling something
I should not, or else this would have been seen by someone else...

I run
> ../src/configure
> make

but I eventually get:

gcc -g -O2 -I. -I../../src/gdb -I../../src/gdb/config
-DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
-I../../src/gdb/../include/opcode -I../../src/gdb/../readline/..
-I../bfd -I../../src/gdb/../bfd -I../../src/gdb/../include
-I../libdecnumber -I../../src/gdb/../libdecnumber
-I../../src/gdb/gnulib -Ignulib -DMI_OUT=1 -DGDBTK -DTUI=1 -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror
-c -o gdbtk-cmds.o -MT gdbtk-cmds.o -MMD -MP -MF .deps/gdbtk-cmds.Tpo
-I../../src/gdb/../libgui/src
-I/local/home/lmckhou/workspace-GDB/src/tcl/generic
-I/local/home/lmckhou/workspace-GDB/src/tk/generic -I/usr/X11R6/include
-DGDBTK_LIBRARY=\"/usr/local/share/insight1.0\"
-DSRC_DIR=\"/local/home/lmckhou/workspace-GDB/src/gdb\"
../../src/gdb/gdbtk/generic/gdbtk-cmds.c
../../src/gdb/gdbtk/generic/gdbtk-cmds.c: In function 'gdb_cmd':
../../src/gdb/gdbtk/generic/gdbtk-cmds.c:704: error: 'stop_bpstat'
undeclared (first use in this function)
../../src/gdb/gdbtk/generic/gdbtk-cmds.c:704: error: (Each undeclared
identifier is reported only once
../../src/gdb/gdbtk/generic/gdbtk-cmds.c:704: error: for each function
it appears in.)
../../src/gdb/gdbtk/generic/gdbtk-cmds.c:704: error: too many arguments
to function 'bpstat_do_actions'
../../src/gdb/gdbtk/generic/gdbtk-cmds.c: In function
'gdb_immediate_command':
../../src/gdb/gdbtk/generic/gdbtk-cmds.c:755: error: 'stop_bpstat'
undeclared (first use in this function)
../../src/gdb/gdbtk/generic/gdbtk-cmds.c:755: error: too many arguments
to function 'bpstat_do_actions'
make: *** [gdbtk-cmds.o] Error 1

Thanks in advance

marc