This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

symtab/1758: warning: (Internal error: pc 0x120001120 in read in psymtab, but not in symtab.)


>Number:         1758
>Category:       symtab
>Synopsis:       warning: (Internal error: pc 0x120001120 in read in psymtab, but not in symtab.)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 24 17:58:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     rjackson@gmu.edu
>Release:        6.2
>Organization:
>Environment:
HP Alpha Tru64 UNIX 5.1A
>Description:
gdb list or next commands, for example, cause the following warnings.

warning: (Internal error: pc 0x120001120 in read in psymtab, but not in symtab.)

I compiled a simple 'hello, world' program with GCC 3.3.2 and 3.4.1 and used both gdb 5.3 and 6.2.  Gdb 5.3 does not produce the warning.  Gdb 6.2 does produce the warning both both GCC 3.3.2 and 3.4.1 compile programs.
>How-To-Repeat:
% cat test.c
main()
{
printf("Hello, World!\n");
}
% /usr/local/gcc_3.3.2/bin/gcc -v
Reading specs from /usr/local/gcc_3.3.2/lib/gcc-lib/alphaev68-dec-osf5.1/3.3.2/specs
Configured with: /usr/local/src/gcc-3.3.2/configure --prefix=/usr/local/gcc_3.3.2
Thread model: single
gcc version 3.3.2
% /usr/local/gcc_3.4.1/bin/gcc -v
Reading specs from /usr/local/gcc_3.4.1/lib/gcc/alphaev68-dec-osf5.1/3.4.1/specs
Configured with: /usr/local/src/gcc-3.4.1/configure --prefix=/usr/local/gcc_3.4.1
Thread model: posix
gcc version 3.4.1
% /usr/local/gcc_3.3.2/bin/gcc -g -o a.out.3.3.2 test.c
% /usr/local/gcc_3.4.1/bin/gcc -g -o a.out.3.4.1 test.c
% /usr/local/bin/gdb a.out.3.3.2
GNU gdb 5.3
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 "alphaev68-dec-osf5.1"...
(gdb) list
1       main()
2       {
3       printf("Hello, World!\n");
4       }
(gdb) q
% /usr/local/bin/gdb a.out.3.4.1
GNU gdb 5.3
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 "alphaev68-dec-osf5.1"...
(gdb) list
1       main()
2       {
3       printf("Hello, World!\n");
4       }
(gdb) q
% /usr/local/src/gdb_6.2/gdb-6.2/gdb/gdb a.out.3.3.2
GNU gdb 6.2
Copyright 2004 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 "alphaev68-dec-osf5.1"...
(gdb) list
warning: (Internal error: pc 0x120001120 in read in psymtab, but not in symtab.)

1       main()
2       {
3       printf("Hello, World!\n");
4       }
(gdb) q
% /usr/local/src/gdb_6.2/gdb-6.2/gdb/gdb a.out.3.4.1
GNU gdb 6.2
Copyright 2004 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 "alphaev68-dec-osf5.1"...
(gdb) list
warning: (Internal error: pc 0x120001120 in read in psymtab, but not in symtab.)

1       main()
2       {
3       printf("Hello, World!\n");
4       }
(gdb) q
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]