"Foldi Tamas" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 =========================================================== _______________________________________________ Bug-gdb mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gdb