preprocessor/6084: cpp Segmentation Fault
'Neil Booth'
neil@daikokuya.demon.co.uk
Mon Apr 15 12:06:00 GMT 2002
The following reply was made to PR preprocessor/6084; it has been noted by GNATS.
From: 'Neil Booth' <neil@daikokuya.demon.co.uk>
To: "Gerwin, Joshua A" <joshua.a.gerwin@intel.com>, gcc-gnats@gcc.gnu.org,
gcc-bugs@gcc.gnu.org
Cc:
Subject: Re: preprocessor/6084: cpp Segmentation Fault
Date: Mon, 15 Apr 2002 19:56:55 +0100
Gerwin, Joshua A wrote:-
> I would if I could, but the debugger often reports back that it can't get at
> the variables in question.
>
> (gdb) info mem
> Num Enb Low Addr High Addr Attrs
> 2 y 0x000000010000349c 0x0000000100012344 rw nocache
> 1 y 0x000000000011b018 0x0000000000120000 rw nocache
> (gdb) break maybe_print_line
> Cannot access memory at address 0x3c28
>
> for instance. This prohibition is applied to display, print, and trace as
> well. I've had some success in getting DDD to sneak in there, and I'll see
> if I can convince it can put a display on the print structure.
Does it occur if you compile cpp0 without optimization?
Neil.
More information about the Gcc-prs
mailing list