From owner-freebsd-alpha Fri Aug 16 18:49:54 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3F4C37B400 for ; Fri, 16 Aug 2002 18:49:50 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FFC743E6A for ; Fri, 16 Aug 2002 18:49:49 -0700 (PDT) (envelope-from ticso@cicely9.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.5/8.12.5) with ESMTP id g7H1ng0Z055934 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sat, 17 Aug 2002 03:49:47 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: from cicely9.cicely.de (cicely9.cicely.de [IPv6:3ffe:400:8d0:301:210:5aff:fe30:1c1a]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g7H1nfFJ097419 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 17 Aug 2002 03:49:41 +0200 (CEST)?g (envelope-from ticso@cicely9.cicely.de) Received: from cicely9.cicely.de (localhost [127.0.0.1]) by cicely9.cicely.de (8.12.5/8.12.5) with ESMTP id g7H1nJXN066400; Sat, 17 Aug 2002 03:49:19 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: (from ticso@localhost) by cicely9.cicely.de (8.12.5/8.12.5/Submit) id g7H1nJL8066399; Sat, 17 Aug 2002 03:49:19 +0200 (CEST) Date: Sat, 17 Aug 2002 03:49:19 +0200 From: Bernd Walter To: Yuri Victorovich Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: gdb eats 100% CPU Message-ID: <20020817014918.GF65331@cicely9.cicely.de> Reply-To: ticso@cicely.de References: <3D5DA553.77012065@tsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D5DA553.77012065@tsoft.com> X-Operating-System: FreeBSD cicely9.cicely.de 5.0-CURRENT alpha User-Agent: Mutt/1.5.1i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 16, 2002 at 09:22:27PM -0400, Yuri Victorovich wrote: > I am using FreeBSD 5.0-CURRENT from April 26 > on Alpha 7310. > > All works perfectly. But gdb doesn't work. Hangs from > start with 100% CPU. Just took fresh CVS CURRENT-5.0 > - same thing on the older kernel. Don;t do this - an april kernel is in no way compatible with a recent world. E.G. fsck has been changed to handle recent filesystem changes. > So how to fix /troubleshoot it? Any ideas? Works here on a more or less recent -current: [61]cicely9# cat foo.c #include int main(int argc, char *argv[]) { printf ("hello world\n"); return 0; } [62]cicely9# gcc -g foo.c -o foo [63]cicely9# gdb foo GNU gdb 5.2.0 (FreeBSD) 20020627 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "alpha-undermydesk-freebsd"... (gdb) break main Breakpoint 1 at 0x120000884: file foo.c, line 4. (gdb) run Starting program: /var/d7/tmp/delmex/foo Breakpoint 1, main (argc=1, argv=0x11fff790) at foo.c:4 4 printf ("hello world\n"); (gdb) n hello world 5 return 0; (gdb) q The program is running. Exit anyway? (y or n) y [64]cicely9# uname -a FreeBSD cicely9.cicely.de 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Aug 12 12:48:26 CEST 2002 root@cicely9.cicely.de:/var/d7/builder/FreeBSD-2002-08-11/src/sys/alpha/compile/CICELY9 alpha -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message