public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/11966] New: gdb reports wrong type for array after a while
@ 2010-09-02 12:51 eldad dot moneta at nuvoton dot com
  2010-09-14  9:27 ` [Bug gdb/11966] " eldad dot moneta at nuvoton dot com
  2010-09-14  9:28 ` eldad dot moneta at nuvoton dot com
  0 siblings, 2 replies; 3+ messages in thread
From: eldad dot moneta at nuvoton dot com @ 2010-09-02 12:51 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/11966] gdb reports wrong type for array after a while
  2010-09-02 12:51 [Bug gdb/11966] New: gdb reports wrong type for array after a while eldad dot moneta at nuvoton dot com
@ 2010-09-14  9:27 ` eldad dot moneta at nuvoton dot com
  2010-09-14  9:28 ` eldad dot moneta at nuvoton dot com
  1 sibling, 0 replies; 3+ messages in thread
From: eldad dot moneta at nuvoton dot com @ 2010-09-14  9:27 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/11966] gdb reports wrong type for array after a while
  2010-09-02 12:51 [Bug gdb/11966] New: gdb reports wrong type for array after a while eldad dot moneta at nuvoton dot com
  2010-09-14  9:27 ` [Bug gdb/11966] " eldad dot moneta at nuvoton dot com
@ 2010-09-14  9:28 ` eldad dot moneta at nuvoton dot com
  1 sibling, 0 replies; 3+ messages in thread
From: eldad dot moneta at nuvoton dot com @ 2010-09-14  9:28 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |normal


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-14  9:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-02 12:51 [Bug gdb/11966] New: gdb reports wrong type for array after a while eldad dot moneta at nuvoton dot com
2010-09-14  9:27 ` [Bug gdb/11966] " eldad dot moneta at nuvoton dot com
2010-09-14  9:28 ` eldad dot moneta at nuvoton dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).