public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/15837] New: GDB prints entry values for locals
@ 2013-08-14 9:32 qiyao at gcc dot gnu.org
2013-08-14 9:35 ` [Bug gdb/15837] " qiyao at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: qiyao at gcc dot gnu.org @ 2013-08-14 9:32 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/15837] GDB prints entry values for locals
2013-08-14 9:32 [Bug gdb/15837] New: GDB prints entry values for locals qiyao at gcc dot gnu.org
@ 2013-08-14 9:35 ` qiyao at gcc dot gnu.org
2013-08-14 11:53 ` cvs-commit at gcc dot gnu.org
2013-08-14 11:55 ` qiyao at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: qiyao at gcc dot gnu.org @ 2013-08-14 9:35 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15837
Yao Qi <qiyao at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |qiyao at gcc dot gnu.org
--- Comment #1 from Yao Qi <qiyao at gcc dot gnu.org> ---
Patch http://sourceware.org/ml/gdb-patches/2013-08/msg00231.html was committed
to mainline, but 7.6 branch needs this patch too. I'll post it.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/15837] GDB prints entry values for locals
2013-08-14 9:32 [Bug gdb/15837] New: GDB prints entry values for locals qiyao at gcc dot gnu.org
2013-08-14 9:35 ` [Bug gdb/15837] " qiyao at gcc dot gnu.org
@ 2013-08-14 11:53 ` cvs-commit at gcc dot gnu.org
2013-08-14 11:55 ` qiyao at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2013-08-14 11:53 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15837
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
CVSROOT: /cvs/src
Module name: src
Branch: gdb_7_6-branch
Changes by: qiyao@sourceware.org 2013-08-14 11:53:11
Modified files:
gdb : ChangeLog frame.h stack.c
gdb/mi : mi-cmd-stack.c
Log message:
gdb/
PR gdb/15837:
* frame.h (read_frame_local): Declare.
* mi/mi-cmd-stack.c (list_args_or_locals): Call
read_frame_local.
* stack.c (read_frame_local): New.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.15260.2.57&r2=1.15260.2.58
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/frame.h.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.208&r2=1.208.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/stack.c.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.267&r2=1.267.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-cmd-stack.c.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.67&r2=1.67.2.1
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/15837] GDB prints entry values for locals
2013-08-14 9:32 [Bug gdb/15837] New: GDB prints entry values for locals qiyao at gcc dot gnu.org
2013-08-14 9:35 ` [Bug gdb/15837] " qiyao at gcc dot gnu.org
2013-08-14 11:53 ` cvs-commit at gcc dot gnu.org
@ 2013-08-14 11:55 ` qiyao at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: qiyao at gcc dot gnu.org @ 2013-08-14 11:55 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15837
Yao Qi <qiyao at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Yao Qi <qiyao at gcc dot gnu.org> ---
Patch is committed to 7.6 branch.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-14 11:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-14 9:32 [Bug gdb/15837] New: GDB prints entry values for locals qiyao at gcc dot gnu.org
2013-08-14 9:35 ` [Bug gdb/15837] " qiyao at gcc dot gnu.org
2013-08-14 11:53 ` cvs-commit at gcc dot gnu.org
2013-08-14 11:55 ` qiyao at gcc dot gnu.org
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).