preprocessor/6084: cpp Segmentation Fault

'Neil Booth' neil@daikokuya.demon.co.uk
Mon Apr 15 12:06:00 GMT 2002


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-bugs mailing list