Date: Sat, 17 Aug 2002 03:49:19 +0200 From: Bernd Walter <ticso@cicely9.cicely.de> To: Yuri Victorovich <yuri@tsoft.com> Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: gdb eats 100% CPU Message-ID: <20020817014918.GF65331@cicely9.cicely.de> In-Reply-To: <3D5DA553.77012065@tsoft.com>
index | next in thread | previous in thread | raw e-mail
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 <stdio.h>
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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020817014918.GF65331>
