From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32058 invoked from network); 18 Apr 2000 19:27:46 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 Apr 2000 19:27:46 -0000 Received: from zmamail04.zma.compaq.com (zmamail04.zma.compaq.com [161.114.64.104]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA19602 for ; Tue, 18 Apr 2000 15:27:45 -0400 Received: by zmamail04.zma.compaq.com (Postfix, from userid 12345) id A4B4716A; Tue, 18 Apr 2000 15:27:11 -0400 (EDT) Received: from cxo3ns.cxo.dec.com (cxo3ns.cxo.dec.com [16.63.0.10]) by zmamail04.zma.compaq.com (Postfix) with SMTP id CF4ED163; Tue, 18 Apr 2000 15:27:10 -0400 (EDT) Received: from brownfur.cxo.dec.com by cxo3ns.cxo.dec.com; (5.65v4.0/1.1.8.2/11Apr96-1001AM) id AA09265; Tue, 18 Apr 2000 13:27:08 -0600 Received: from dhcp32-218.cxo.dec.com by brownfur.cxo.dec.com (5.65v4.0/1.1.10.5/17Feb98-0753AM) id AA20693; Tue, 18 Apr 2000 13:27:08 -0600 Received: by compaq.com (sSMTP sendmail emulation); Tue, 18 Apr 2000 13:22:51 -0600 Message-Id: X-Mailer: XFMail 1.4.4 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Mime-Version: 1.0 Date: Tue, 18 Apr 2000 13:22:51 -0600 (MDT) Reply-To: Brian Hall Sender: brianw.hall@compaq.com From: Brian Hall To: lkcd@oss.sgi.com Subject: Alpha lkcd port: bzero problem Cc: axp-list@redhat.com, clinux@zk3.dec.com I have made my attempt at integrating the Alpha debugger from gdb-4.1.8 into lcrash. However, now when I run lcrash (directly at the command line or via a real crash), I get this in gdb: Starting program: /CDR_UPLOAD/hallb/linux-2.2.13-1.0.3/cmd/lcrash/./lcrash map = /boot/System.map, vmdump = /dev/mem, outfile = stdout Please wait... Program received signal SIGSEGV, Segmentation fault. __bzero () at ../sysdeps/alpha/bzero.S:107 107 ../sysdeps/alpha/bzero.S: No such file or directory. Current language: auto; currently asm (gdb) where #0 __bzero () at ../sysdeps/alpha/bzero.S:107 #1 0x12002b7e8 in alloc_klib () at klib.c:191 #2 0x12002b8f0 in kl_init_klib (map=0x120164c30 "/boot/System.map", vmdump=0x120164f30 "/dev/mem", namelist=0x120164d30 "", flags=0) at klib.c:220 #3 0x1200029b0 in main (argc=1, argv=0x11ffffc28) at main.c:182 >From klib.c, allock_klib: static klib_t * alloc_klib() { klib_t *klp; /* if (klp = (klib_t *)malloc(sizeof(klib_t))) { */ bzero(klp, sizeof(klib_t)); /* }*/ return(klp); } Does bzero work correctly on Alpha? Or are my arguments invalid? -- http://www.bigfoot.com/~brihall Linux Consultant