GDB 5.2 Line number out of range error
Derick Hammond
derick at perkinstechnologies.com.au
Mon Mar 17 23:44:18 UTC 2003
Hi Aaron:
Sorry I did not mention it. I am using the following RPMS:
autoconf-rtems-2.57-1
automake-rtems-1.7.2-1
rtems-base-gcc-gcc3.2.1newlib1.11.0-2
m68k-rtems-gcc-gcc3.2.1newlib1.11.0-2
rtems-base-binutils-2.13.2.1-2
m68k-rtems-binutils-2.13.2.1-2
rtems-base-gdb-5.2-2
m68k-rtems-gdb-5.2-2
m68k-bdm-rtems-gdb-5.2-1 (This is my own RPM, if anyone is interested)
I shall upgrade my GCC to 3.2.2 or 3.2.3 and see if it fixes the problem.
Thanks,
Derick
At 03:14 PM 17/03/2003 -0800, Aaron J. Grier wrote:
>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