From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21394 invoked by alias); 20 Jun 2002 21:48:47 -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 21312 invoked from network); 20 Jun 2002 21:48:43 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 20 Jun 2002 21:48:43 -0000 Received: from localhost.redhat.com (romulus.sfbay.redhat.com [172.16.27.251]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id OAA03688 for ; Thu, 20 Jun 2002 14:48:43 -0700 (PDT) Received: by localhost.redhat.com (Postfix, from userid 469) id 1057C107D4; Thu, 20 Jun 2002 17:48:00 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15634.19855.893660.159800@localhost.redhat.com> Date: Thu, 20 Jun 2002 14:48:00 -0000 To: Mike Cleary Cc: gdb@sources.redhat.com, clp Subject: Re: GDB *** [event-top.o] Error 1!! In-Reply-To: <3D123673.6080409@iol.unh.edu> References: <3D123673.6080409@iol.unh.edu> X-SW-Source: 2002-06/txt/msg00155.txt.bz2 There is a missing ifdef in there, I guess you must be one of the few (the only one) triggering this. Could you try this patch? Index: event-top.c =================================================================== RCS file: /cvs/uberbaum/gdb/event-top.c,v retrieving revision 1.20 diff -u -p -r1.20 event-top.c --- event-top.c 27 Mar 2002 21:20:15 -0000 1.20 +++ event-top.c 20 Jun 2002 21:46:36 -0000 @@ -514,8 +514,10 @@ command_handler (char *command) (struct continuation_arg *) xmalloc (sizeof (struct continuation_arg)); arg1->next = arg2; arg2->next = NULL; - arg1->data.integer = time_at_cmd_start; - arg2->data.integer = space_at_cmd_start; + arg1->data.longint = time_at_cmd_start; +#ifdef HAVE_SBRK + arg2->data.longint = space_at_cmd_start; +#endif add_continuation (command_line_handler_continuation, arg1); } As far as the other warnings, I am not seeing them, what type of system are you compiling on? Elena Mike Cleary writes: > Hello > I'm trying to report this error and I'm not sure if anybody knows about > this yet. Can somebody please tell me exactly what the error is. > I've pasted warnings below: > gcc -c -g -O2 -I. -I/home/buildsys/source/toolchain/gdb > -I/home/buildsys/sour > ce/toolchain/gdb/config -DHAVE_CONFIG_H > -I/home/buildsys/source/toolchain/gdb/.. > /include/opcode -I/home/buildsys/source/toolchain/gdb/../readline/.. > -I../bfd -I > /home/buildsys/source/toolchain/gdb/../bfd > -I/home/buildsys/source/toolchain/gd > b/../include -I../intl -I/home/buildsys/source/toolchain/gdb/../intl > -DMI_OUT=1 > -DGDBTK -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs > -Wformat -Wpa > rentheses -Wpointer-arith -Wuninitialized > /home/buildsys/source/toolchain/gdb/e > vent-top.c > /home/buildsys/source/toolchain/gdb/event-top.c: In function > `cli_command_loop': > /home/buildsys/source/toolchain/gdb/event-top.c:192: warning: implicit > declarati > on of function `strcat' > /home/buildsys/source/toolchain/gdb/event-top.c: In function > `command_handler': > /home/buildsys/source/toolchain/gdb/event-top.c:469: warning: implicit > declarati > on of function `isatty' > /home/buildsys/source/toolchain/gdb/event-top.c:518: > `space_at_cmd_start' undecl > ared (first use in this function) > /home/buildsys/source/toolchain/gdb/event-top.c:518: (Each undeclared > identifier > is reported only once > /home/buildsys/source/toolchain/gdb/event-top.c:518: for each function > it appear > s in.) > /home/buildsys/source/toolchain/gdb/event-top.c: In function > `command_line_handl > er': > /home/buildsys/source/toolchain/gdb/event-top.c:709: warning: implicit > declarati > on of function `strncmp' > /home/buildsys/source/toolchain/gdb/event-top.c: In function > `async_disconnect': > /home/buildsys/source/toolchain/gdb/event-top.c:1019: warning: implicit > declarat > ion of function `getpid' > make[2]: *** [event-top.o] Error 1 > make[2]: Leaving directory > `/home/buildsys/build/intel1/basic/native/toolchain/g > db' > make[1]: *** [all-gdb] Error 2 > make[1]: Leaving directory > `/home/buildsys/build/intel1/basic/native/toolchain' > make: *** [bootstrap] Error 2 > (END) > > If anybody could hlep that'd be great. > Thanks > -Mike