GDB 5.2 Line number out of range error

Aaron J. Grier aaron at frye.com
Mon Mar 17 23:14:06 UTC 2003


On Mon, Mar 17, 2003 at 03:43:20PM +1000, Derick Hammond wrote:
>     Line number 150 out of range; 
[snip]

I think it's a matter of GIGO (garbage in, garbage out): the debugger is
using existing debugging information from the executable file.

you didn't mention what version of GCC you were using.  I personally had
occational debugging-related problems with gcc 3.2.1 which seem to have
been fixed in the CVS gcc-3_2-branch (which will become 3.2.3).  you
might want to try updating your gcc.

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron at frye.com



More information about the users mailing list