bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Section index is uninitialized error message on Tru64 V5.1A (ds20)


From: Beemer Biker
Subject: Re: Section index is uninitialized error message on Tru64 V5.1A (ds20)
Date: Thu, 7 Mar 2002 15:00:11 -0600

"Foldi Tamas" <address@hidden> wrote in message news:address@hidden
> Hi gdb team,
> 
> When I try to run gdb, i get the the following error message. What should
> i do, or is this normal?
> 
> address@hidden gdb ./a        
> GNU gdb 5.1.0.1
> Copyright 2001 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "alphaev67-dec-osf5.1"...mdebugread.c:2448:
> gdb-internal-error: Section index is uninitialized


see http://sources.redhat.com/ml/gdb-patches/2001-05/msg00178.html and make 
that change to "symfile.c"

However, even after doing that, it didnt do me much good:

# ./bin/gdb a.out
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alphaev67-dec-osf5.1"...
(gdb) list
1       #include <stdio.h>
2       main ()
3       {
4         short i;
5         int j;
6         long k;
7
8         printf("hello %ld, %ld, %ld\n",sizeof(i),sizeof(j),sizeof(k));
9       }
10
(gdb) break 4
Breakpoint 1 at 0x120001130: file hello.c, line 4.
(gdb) run
Starting program: /usr/users/user1/a.out
Memory fault - core dumped
#

BTW:  "show warranty" didnt work either ;<)


-- 
===========================================================
Joseph Stateson                          jstateson at swri.edu 
Principal Analyst
Production Systems & Software Engineering Dept.
Signal Exploitation and Geolocation Division
Southwest Research Institute
San Antonio, Texas USA
===========================================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]