From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30744 invoked by alias); 5 Aug 2004 13:07:09 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 30724 invoked from network); 5 Aug 2004 13:07:06 -0000 Received: from unknown (HELO disaster.jaj.com) (24.123.75.82) by sourceware.org with SMTP; 5 Aug 2004 13:07:06 -0000 Received: from disaster.jaj.com (localhost.localhost [127.0.0.1]) by disaster.jaj.com (8.12.10/8.12.10) with ESMTP id i75D75f1011312; Thu, 5 Aug 2004 09:07:05 -0400 Received: (from phil@localhost) by disaster.jaj.com (8.12.10/8.12.9/Submit) id i75D743m011311; Thu, 5 Aug 2004 09:07:04 -0400 Date: Thu, 05 Aug 2004 13:07:00 -0000 From: Phil Edwards To: gdb@sources.redhat.com, cagney@gnu.org Subject: add_setshow_cmd_full static change breaks build Message-ID: <20040805130704.GA11275@disaster.jaj.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i X-SW-Source: 2004-08/txt/msg00065.txt.bz2 I'm about three days behind CVS HEAD, but in case it hasn't already been reported, this change 2004-07-28 Andrew Cagney * 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