This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/11966] New: gdb reports wrong type for array after a while
- From: "eldad dot moneta at nuvoton dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 2 Sep 2010 12:51:08 -0000
- Subject: [Bug gdb/11966] New: gdb reports wrong type for array after a while
- Reply-to: sourceware-bugzilla at sourceware dot org
1. Load a symbol file using "symbol SYMBOL_FILE"
2. Query about different symbols in the file using "whatis SYMBOL"
3. After querying around 100 DIFFERENT symbols, the gdb starts to report wrong
values for arrays:
e.g:
In my C program I have: BYTE SymbolName[4];
gdb console:
> whatis SymbolName
< &"whatis SymbolName\n"
< ~"type = BYTE [0]\n"
< ^done
instead of type = BYTE [4].
Only after clearing the symbol file using "symbol" and loading it again using
"symbol SYMBOL_FILE" I get the correct type: BYTE [4].
--
Summary: gdb reports wrong type for array after a while
Product: gdb
Version: 7.1
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: gdb
AssignedTo: unassigned at sourceware dot org
ReportedBy: eldad dot moneta at nuvoton dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11966
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.