This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
add_setshow_cmd_full static change breaks build
- From: Phil Edwards <phil at jaj dot com>
- To: gdb at sources dot redhat dot com, cagney at gnu dot org
- Date: Thu, 5 Aug 2004 09:07:04 -0400
- Subject: 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