From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6f46f1905481b3ae X-Google-Attributes: gidfee84,public From: Patrick O'Rourke Subject: Re: How to develop SW under OSF1? (Re: gdb4.16 + OSF4.0) Date: 1997/03/26 Message-ID: <3339B0CF.1CFB@zk3.dec.com>#1/1 X-Deja-AN: 228596146 References: <5g6388$3l1@hades.rz.uni-sb.de> <5haehn$2rs@hades.rz.uni-sb.de> Organization: WHATX Newsgroups: comp.unix.osf.osf1 > Markku Savela wrote: > : In article <5g6388$3l1@hades.rz.uni-sb.de> Christian Blug writes: > > : I'm running into troubles with my new digital alpha 255/233 with > : OSF1 V4.0 564 alpha > : as OS. I'm using the digital c compiler with gnu gdb 4.16. After starting > : the debugger, setting the breakpoint and running the program, the system > : crashes with a kernel fault error! > > : I have observed the same thing, but I don't need gdb for this. Just > : using Digitals own dxladebug on any simple "Hello World" program > : just panics the kernel (or actually, first crashes the X server, and > : if you try to run debug on another X display from Alpha, you get > : kernel panic). > > : Likewise, would like to get a fix for this. The following *should* be a work around for this problem (assuming that you are booted off of /vmunix). dbx -k /vmunix (dbx) assign db_enable = 0 This fixes the working copy in memory. If this stops the crash from occurring you can then patch the /vmunix file: # dbx /vmunix /* do NOT use -k, we want the disk copy (dbx) patch db_enable = 0 (dbx) q I don't know if an "official" patch exists for this. I took a quick look on the Digitual Unix home page (http://www.unix.digital.com), but did not see it. Pat -- Patrick O'Rourke orourke@zk3.dec.com