From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9717 invoked by alias); 22 Jun 2002 00:13:55 -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 9709 invoked from network); 22 Jun 2002 00:13:52 -0000 Received: from unknown (HELO iol.unh.edu) (132.177.123.82) by sources.redhat.com with SMTP; 22 Jun 2002 00:13:52 -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 g5M0Cm6U026522; Fri, 21 Jun 2002 20:12:48 -0400 From: "Matthew H Bemis" To: "Andrew Cagney" , "Elena Zannoni" Cc: "Mike Cleary" , , "clp" Subject: *** [ser-tcp.o] Error 1 on alpha! Date: Fri, 21 Jun 2002 17:13: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 In-Reply-To: <3D12661A.9040108@cygnus.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal X-SW-Source: 2002-06/txt/msg00187.txt.bz2 Hello, when I tried applying the patch today I noticed it was already applied: ) -thanks so I built basic-gcc_2.95.3 native toolchain/gdb, and i got the following error- : ( gcc -c -g -O2 -I. -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb -I/mn t/u9/toolchain /buildsys/source/toolchain/gdb/config -DHAVE_CONFIG_H -I/mnt/u9/toolchain/bu ildsys/source/ toolchain/gdb/../include/opcode -I/mnt/u9/toolchain/buildsys/source/toolchai n/gdb/../readl ine/.. -I../bfd -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../bfd -DN O_MMALLOC -I/ mnt/u9/toolchain/buildsys/source/toolchain/gdb/../include -I../intl -I/mnt/u 9/toolchain/bu ildsys/source/toolchain/gdb/../intl -DMI_OUT=1 -DGDBTK -DUI_OUT=1 -Wimplici t -Wreturn-typ e -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitializ ed /mnt/u9/to olchain/buildsys/source/toolchain/gdb/ser-tcp.c /mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c: In function `net_open': /mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:67: warning: implicit declaratio n of function `strncmp' /mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:81: warning: implicit declaratio n of function `strncpy' /mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:83: warning: implicit declaratio n of function `atoi' /mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:87: warning: type mismatch in im plicit declaration for built-in function `strcpy' /mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:112: warning: implicit declarati on of function `ioctl' /mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:112: `FIONBIO' undeclared (first use in this function) /mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:112: (Each undeclared identifier is reported only once /mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:112: for each function it appear s in.) /mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c: In function `net_close': /mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:203: warning: implicit declarati on of function `close' make[2]: *** [ser-tcp.o] Error 1 make[2]: Leaving directory `/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/nativ e/toolchain/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/nativ e/toolchain' make: *** [bootstrap] Error 2 -----Original Message----- From: owner-linuxlab@io.iol.unh.edu [mailto:owner-linuxlab@io.iol.unh.edu]On Behalf Of Andrew Cagney Sent: Thursday, June 20, 2002 7:33 PM To: Elena Zannoni Cc: Mike Cleary; gdb@sources.redhat.com; clp Subject: Re: GDB *** [event-top.o] Error 1!! > - 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); > } Hmm, might as well pull that into the 5.2 branch. Andrew