This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Strange debug behavior with 4.4.3
- From: Ian Lance Taylor <iant at google dot com>
- To: Steve Teale <steve dot teale at britseyeview dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 03 Mar 2010 07:40:47 -0800
- Subject: Re: Strange debug behavior with 4.4.3
- References: <1267613238.12719.16.camel@Ubuntu>
Steve Teale <steve.teale@britseyeview.com> writes:
> (gdb) n
> 6313 input_location = EXPR_LOCATION (*expr_p);
> (gdb) n
> 6729 post_p == &internal_post ? NULL : post_p,
>
> Things go pear shaped after line 6312 - after that, next seems to get
> you somewhere rather arbitrary.
You are debugging optimized code. Random jumps do happen. You need
to go further to see if there is a real problem here.
Ian