Article View: gnu.gdb.bug
Article #2602Re: Section index is uninitialized error message on Tru64 V5.1A (ds20)
From: Beemer Biker
Date: Thu, 07 Mar 2002 21:00
Date: Thu, 07 Mar 2002 21:00
73 lines
3717 bytes
3717 bytes
"Foldi Tamas" <crow@localhost.hu> wrote in message news:20020121154347.GA25574@hax0r.hu...
> Hi gdb team,
>
> When I try to run gdb, i get the the following error message. What should
> i do, or is this normal?
>
> [crow@bps-udev-01]% 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
===========================================================
Technical Details
Message-ID:
<u8fku188eu5p36@corp.supernews.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!newshub.sdsu.edu!newshub1.wanet.net!uunet!sac.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!corp.supernews.com!not-for-mailReferences:
<20020121154347.GA25574@hax0r.hu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,4c43c5eec31bc8c8 X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 2002-03-07 12:55:44 PST x-uunet-gateway: sjc3sosrv11.alter.net from bug-gdb to gnu.gdb.bug; Thu, 7 Mar 2002 20:55:39 GMT Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!newshub.sdsu.edu!newshub1.wanet.net!uunet!sac.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!corp.supernews.com!not-for-mail From: "Beemer Biker" <antispam@sbcglobal.net> Subject: Re: Section index is uninitialized error message on Tru64 V5.1A (ds20) Date: Thu, 7 Mar 2002 15:00:11 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <u8fku188eu5p36@corp.supernews.com> Reply-To: "Beemer Biker" <antispam@sbcglobal.net> References: <20020121154347.GA25574@hax0r.hu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Complaints-To: newsabuse@supernews.com Approved: bug-gdb-request@mail.gnu.org Newsgroups: gnu.gdb.bug Sender: bug-gdb-request@mail.gnu.org Lines: 75