* gdb4.16 + OSF4.0
@ 1997-03-12 5:00 Christian Blug
1997-03-25 5:00 ` Markku Savela
0 siblings, 1 reply; 7+ messages in thread
From: Christian Blug @ 1997-03-12 5:00 UTC (permalink / raw)
Hello all,
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!
Is this a known bug and does anyone know how to fix work around this?
Any helps would be appreciated!
bye
Chris
--
------------------------------------------------------------------------
Christian Blug e-mail: c.blug@lev.ee.uni-sb.de
Lehrstuhl fuer Energieversorgung Tel : 49-681-302-2919
Universitaet des Saarlandes Fax : 49-681-302-4699
66123 Saarbruecken
Deutschland
------------------------------------------------------------------------
WWW Home Page : http://www.uni-sb.de/~et11hkc/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gdb4.16 + OSF4.0
1997-03-12 5:00 gdb4.16 + OSF4.0 Christian Blug
@ 1997-03-25 5:00 ` Markku Savela
1997-03-26 5:00 ` How to develop SW under OSF1? (Re: gdb4.16 + OSF4.0) Christian Blug
0 siblings, 1 reply; 7+ messages in thread
From: Markku Savela @ 1997-03-25 5:00 UTC (permalink / raw)
In article <5g6388$3l1@hades.rz.uni-sb.de> Christian Blug <et11hkc@levpp1.ee.uni-sb.de> 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.
--
Markku Savela (msa@hemuli.tte.vtt.fi), Technical Research Centre of Finland
Multimedia Systems, P.O.Box 1203,FIN-02044 VTT,http://www.vtt.fi/tte/staff/msa/
^ permalink raw reply [flat|nested] 7+ messages in thread
* How to develop SW under OSF1? (Re: gdb4.16 + OSF4.0)
1997-03-25 5:00 ` Markku Savela
@ 1997-03-26 5:00 ` Christian Blug
1997-03-26 5:00 ` Alexander Kogan
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Christian Blug @ 1997-03-26 5:00 UTC (permalink / raw)
Markku Savela <msa@anise.tte.vtt.fi> wrote:
: In article <5g6388$3l1@hades.rz.uni-sb.de> Christian Blug <et11hkc@levpp1.ee.uni-sb.de> 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.
: --
So it seems that source code debugging is impossible under OSF1 V4.0b (?!).
Are there any users which are able to use dbx or gdb on the new BS version?!
On Linux systems such strange faults which are produced by a stable software
like the gnu software often are caused by bad memory. Could this be also a
reason on Alphas ?
Thanks in advance
Chris
--
------------------------------------------------------------------------
Christian Blug e-mail: c.blug@lev.ee.uni-sb.de
Lehrstuhl fuer Energieversorgung Tel : 49-681-302-2919
Universitaet des Saarlandes Fax : 49-681-302-4699
66123 Saarbruecken
Deutschland
------------------------------------------------------------------------
WWW Home Page : http://www.uni-sb.de/~et11hkc/
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: How to develop SW under OSF1? (Re: gdb4.16 + OSF4.0)
1997-03-26 5:00 ` How to develop SW under OSF1? (Re: gdb4.16 + OSF4.0) Christian Blug
@ 1997-03-26 5:00 ` Alexander Kogan
1997-03-26 5:00 ` Mike Iglesias
1997-03-26 5:00 ` Patrick O'Rourke
2 siblings, 0 replies; 7+ messages in thread
From: Alexander Kogan @ 1997-03-26 5:00 UTC (permalink / raw)
Christian Blug wrote:
>
> Markku Savela <msa@anise.tte.vtt.fi> wrote:
> : In article <5g6388$3l1@hades.rz.uni-sb.de> Christian Blug <et11hkc@levpp1.ee.uni-sb.de> 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.
> : --
>
> So it seems that source code debugging is impossible under OSF1 V4.0b (?!).
> Are there any users which are able to use dbx or gdb on the new BS version?!
>
Yes! They are. And I'm one of them.
I have AlphaStation 500/266 under DU 4.0a + patched to 4.0b. I'm using
dbx and dxladebug 4.0-30. To tell the truth it was very buggy in lower
versions, but
now it's sort of stable. I've got a fix directly from DEC-lab, so I have
no
idea what the number or something of that particular patch is.
Just ask them!
Good luck!
--
_______________________________________________________________________
Alexander B. Kogan Parametric Technology Corporation
E-mail: kogan@ptc.com 128 Technology Drive, Waltham MA 02154
Voice: (617) 398-5172 Fax: (617) 398-5633
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to develop SW under OSF1? (Re: gdb4.16 + OSF4.0)
1997-03-26 5:00 ` How to develop SW under OSF1? (Re: gdb4.16 + OSF4.0) Christian Blug
1997-03-26 5:00 ` Alexander Kogan
@ 1997-03-26 5:00 ` Mike Iglesias
1997-03-26 5:00 ` Christian Blug
1997-03-26 5:00 ` Patrick O'Rourke
2 siblings, 1 reply; 7+ messages in thread
From: Mike Iglesias @ 1997-03-26 5:00 UTC (permalink / raw)
In article <5haehn$2rs@hades.rz.uni-sb.de>,
Christian Blug <c.blug@lev.ee.uni-sb.de> wrote:
>So it seems that source code debugging is impossible under OSF1 V4.0b (?!).
>Are there any users which are able to use dbx or gdb on the new BS version?!
There are a couple of ways to fix this - rebuild the kernel without
the KDEBUG option or get patch OSF410-046. We have not had the problem
yet, so I have no first hand knowledge if either work.
Mike
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to develop SW under OSF1? (Re: gdb4.16 + OSF4.0)
1997-03-26 5:00 ` Mike Iglesias
@ 1997-03-26 5:00 ` Christian Blug
0 siblings, 0 replies; 7+ messages in thread
From: Christian Blug @ 1997-03-26 5:00 UTC (permalink / raw)
Mike Iglesias <iglesias@draco.acs.uci.edu> wrote:
: In article <5haehn$2rs@hades.rz.uni-sb.de>,
: Christian Blug <c.blug@lev.ee.uni-sb.de> wrote:
: >So it seems that source code debugging is impossible under OSF1 V4.0b (?!).
: >Are there any users which are able to use dbx or gdb on the new BS version?!
: There are a couple of ways to fix this - rebuild the kernel without
: the KDEBUG option or get patch OSF410-046. We have not had the problem
: yet, so I have no first hand knowledge if either work.
Thank you Mike,
after rebuilding the kernel withour KDEBUG, all works very well.
bye
Chris
--
------------------------------------------------------------------------
Christian Blug e-mail: c.blug@lev.ee.uni-sb.de
Lehrstuhl fuer Energieversorgung Tel : 49-681-302-2919
Universitaet des Saarlandes Fax : 49-681-302-4699
66123 Saarbruecken
Deutschland
------------------------------------------------------------------------
WWW Home Page : http://www.uni-sb.de/~et11hkc/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to develop SW under OSF1? (Re: gdb4.16 + OSF4.0)
1997-03-26 5:00 ` How to develop SW under OSF1? (Re: gdb4.16 + OSF4.0) Christian Blug
1997-03-26 5:00 ` Alexander Kogan
1997-03-26 5:00 ` Mike Iglesias
@ 1997-03-26 5:00 ` Patrick O'Rourke
2 siblings, 0 replies; 7+ messages in thread
From: Patrick O'Rourke @ 1997-03-26 5:00 UTC (permalink / raw)
> Markku Savela <msa@anise.tte.vtt.fi> wrote:
> : In article <5g6388$3l1@hades.rz.uni-sb.de> Christian Blug <et11hkc@levpp1.ee.uni-sb.de> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1997-03-26 5:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-12 5:00 gdb4.16 + OSF4.0 Christian Blug
1997-03-25 5:00 ` Markku Savela
1997-03-26 5:00 ` How to develop SW under OSF1? (Re: gdb4.16 + OSF4.0) Christian Blug
1997-03-26 5:00 ` Alexander Kogan
1997-03-26 5:00 ` Mike Iglesias
1997-03-26 5:00 ` Christian Blug
1997-03-26 5:00 ` Patrick O'Rourke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox