Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Brian Hall <brianw.hall@compaq.com>
To: lkcd@oss.sgi.com
Cc: axp-list@redhat.com, clinux@zk3.dec.com
Subject: Alpha lkcd port: bzero problem
Date: Tue, 18 Apr 2000 13:22:51 -0600 (MDT)	[thread overview]
Message-ID: <XFMail.20000418132251.brianw.hall@compaq.com> (raw)

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


             reply	other threads:[~2000-04-18 19:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-18 19:22 Brian Hall [this message]
2000-04-25  8:03 ` Alpha lkcd port: bzero problem David Addison
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox