From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8030 invoked by alias); 21 Jun 2002 02:16:17 -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 7960 invoked from network); 21 Jun 2002 02:16:09 -0000 Received: from unknown (HELO iol.unh.edu) (132.177.123.82) by sources.redhat.com with SMTP; 21 Jun 2002 02:16:09 -0000 Received: from PHEMUR (h00045ae051e8.ne.client2.attbi.com [24.128.217.124]) by iol.unh.edu (8.12.3/8.12.3) with ESMTP id g5L2FE6U026048; Thu, 20 Jun 2002 22:15:14 -0400 From: "Matthew H Bemis" To: "Elena Zannoni" , "Mike Cleary" Cc: , "clp" Subject: RE: GDB *** [event-top.o] Error 1!! Date: Thu, 20 Jun 2002 19:16:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <15634.19855.893660.159800@localhost.redhat.com> Importance: Normal X-SW-Source: 2002-06/txt/msg00161.txt.bz2 Elana, Mike is building on an alphaev56, and he is building with the bootstrap-gcc_3.0.4 baseline. we'll try the patch tomorrow. we'll let you know how it goes. thanks! Matt Bemis -----Original Message----- From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com]On Behalf Of Elena Zannoni Sent: Thursday, June 20, 2002 5:48 PM To: Mike Cleary Cc: gdb@sources.redhat.com; clp Subject: Re: GDB *** [event-top.o] Error 1!! 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