[PATCH] Only print entry values for arguments.
Pedro Alves
palves@redhat.com
Thu Aug 8 14:24:00 GMT 2013
>> Otherwise it looks good to me. I wonder whether we should put
>> this in 7.6.1 ?
>
> This problem exists on 7.6 branch too,
>
> (gdb) interpreter-exec mi "-stack-list-locals 2"
> ^done,locals=[{name="b",type="int",value="2"}]
> (gdb) set print entry-values only
> (gdb) interpreter-exec mi "-stack-list-locals 2"
> ^done,locals=[{name="b@entry",type="int",value="<optimized out>"}]
>
> We can apply this patch to 7.6 branch except the test case part,
> because gdb.trace/mi-trace-unavailable.exp doesn't exist on 7.6
> branch.
If we run 7.6 against that test pristine would it pass cleanly?
> I plan to
> 1) cvs -d :ext:qiyao@sourceware.org:/cvs/src co -r gdb_7_6-branch gdb
> 2) apply this patch without changes to gdb.trace/mi-trace-unavailable.exp
>
> Since it is not a bug fix, don't have to mention it in
> http://sourceware.org/gdb/wiki/GDB_7.6_Release .
Hmm. If this is issue is present in the 7.6 branch, how is it
not a bug fix? Instead, what we should do if the bug wasn't
reported in bugzilla, is file one, so we can reference it from
the wiki.
> If my understanding
> is right, I'll commit the patch to 7.6 branch.
--
Pedro Alves
More information about the Gdb-patches
mailing list