From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6626 invoked by alias); 5 Aug 2004 13:21:20 -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 6609 invoked from network); 5 Aug 2004 13:21:16 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 5 Aug 2004 13:21:16 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i75DLBe3030133 for ; Thu, 5 Aug 2004 09:21:11 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i75DL5a21253; Thu, 5 Aug 2004 09:21:10 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 349B22B9D; Thu, 5 Aug 2004 09:20:59 -0400 (EDT) Message-ID: <4112343B.7080906@gnu.org> Date: Thu, 05 Aug 2004 13:21:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040801 MIME-Version: 1.0 To: Phil Edwards Cc: gdb@sources.redhat.com Subject: Re: add_setshow_cmd_full static change breaks build References: <20040805130704.GA11275@disaster.jaj.com> In-Reply-To: <20040805130704.GA11275@disaster.jaj.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00066.txt.bz2 > I'm about three days behind CVS HEAD, but in case it hasn't already been > reported, this change It was fixed 1/8. I got a similar looking e-mail from a broken build bot this morning :-( Andrew > 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