This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

add_setshow_cmd_full static change breaks build


I'm about three days behind CVS HEAD, but in case it hasn't already been
reported, this change

    2004-07-28  Andrew Cagney  <cagney@gnu.org>

        * cli/cli-decode.c (add_setshow_cmd): Delete function.
        (add_setshow_cmd_full): Make static.

causes problems:

rm -f gdb
gcc -g -O2       \
        -o gdb gdb.o libgdb.a \
        rdi-share/libangsd.a  ../sim/arm/libsim.a ../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a
+../libiberty/libiberty.a     -ltermcap -lm  ../libiberty/libiberty.a  -ldl -rdynamic
rdi-share/libangsd.a(hsys.o)(.text+0x12c1): In function `HandleSysMessage':
/home/pme/src/csl-arm-unified/gdb/rdi-share/hsys.c:830: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
libgdb.a(arm-tdep.o)(.text+0x33bb): In function `_initialize_arm_tdep':
/home/pme/src/csl-arm-unified/gdb/arm-tdep.c:2944: undefined reference to `add_setshow_cmd_full'
collect2: ld returned 1 exit status
make[1]: *** [gdb] Error 1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]