Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Alpha lkcd port: bzero problem
@ 2000-04-18 19:22 Brian Hall
  2000-04-25  8:03 ` David Addison
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Hall @ 2000-04-18 19:22 UTC (permalink / raw)
  To: lkcd; +Cc: axp-list, clinux

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-25  8:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-18 19:22 Alpha lkcd port: bzero problem Brian Hall
2000-04-25  8:03 ` David Addison

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