This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug gdb/15837] New: GDB prints entry values for locals


http://sourceware.org/bugzilla/show_bug.cgi?id=15837

            Bug ID: 15837
           Summary: GDB prints entry values for locals
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: qiyao at gcc dot gnu.org

Only arguments have entry values, local variables don't.  It is wrong to print
entry values for local variables.

-gdb-set print entry-values both^M
^done
-stack-list-locals --simple-values
^done,locals=[{name="array",type="unsigned char
[2]"},{name="i",type="int",value="<unavailable>"},{name="i@entry",type="int",value="<optimized
out>"}]

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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