Re: [PATCH] Seg fault whilst stepping when watch set [ping!] [in breakpoint.c]

Eli Zaretskii
2004-11-02T21:40:35Z

[Please keep the discussion on the mailing list.]
> From: David Lecomber <david@streamline-computing.com>
> Date: Tue, 02 Nov 2004 08:54:00 +0000
>
> > Can you post a short test program, preferably in C, that can be used
> > to reproduce this problem? I don't think I've ever seen such crashes.
>
> If only I could! The only example I can make it happen with is using
> the Intel Fortran Compiler for a piece of F90.

Then please post an annotated debug session (debugging GDB with
itself, where the inferior GDB has the F90 compiled program as its
debuggee) which shows the problem and explains how you arrived at the
conclusion that the patch you suggested is the correct one. I need to
understand the details of these crashes to be able to consider the
validity of the patch.

> I can supply you with the binary if you'd like to have a go, but I
> don't see any other way we'll be able to produce this.

If the binary is short, then you could alternatively mail it to me as
a binary attachment together with the source and instructions how to
reproduce the crash.