public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug mi/10252] New: -var-info-path-expression broken with python pretty-printing
@ 2009-06-07 22:49 vladimir at codesourcery dot com
  2009-06-08 16:03 ` [Bug mi/10252] " tromey at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: vladimir at codesourcery dot com @ 2009-06-07 22:49 UTC (permalink / raw)
  To: gdb-prs

I have a test program that basically pushed ints to a vector, and I'm getting 
this output:

~"11\t    v.push_back(10);\n"
*stopped,frame={addr="0x08048681",func="main",args=[],file="a.cpp",fullname="/tmp/a.cpp",line="11"},thread-id="1",stopped-threads="all"
(gdb)
-var-create V * v
^done,name="V",numchild="0",value="std::vector of length 0, capacity 
0",type="std::vector<int, std::allocator<int> > &",thread-id="1"
(gdb)
-var-list-children V
^done,numchild="0",displayhint="array"
(gdb)
-exec-next
^running
*running,thread-id="all"
(gdb)
*stopped,reason="end-stepping-range",frame={addr="0x0804869a",func="main",args=[],file="a.cpp",fullname="/tmp/a.cpp",line="12"},thread-id="1",stopped-threads="all"
(gdb)
-var-update V
^done,changelist=[{name="V",in_scope="true",type_changed="false",displayhint="array",children=[{name="V.
[0]",exp="[0]",numchild="0",type="int",thread-id="1"}]}]
(gdb)
-var-evaluate-expression V.[0]
^done,value="10"
(gdb)
-var-info-path-expression V.[0]
^done,path_expr="((std::_Vector_base<int, std::allocator<int> >) v)"
(gdb)

I don't know what the right output from the last command might be, and whether 
it's possible to produce the right output, but saying that expression for the 
first element is 'v' is just bogus. I imagine we want to fix this by 7.0

-- 
           Summary: -var-info-path-expression broken with python pretty-
                    printing
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: mi
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: vladimir at codesourcery dot com
                CC: gdb-prs at sourceware dot org,tromey at redhat dot com


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

------- 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] 8+ messages in thread

* [Bug mi/10252] -var-info-path-expression broken with python pretty-printing
  2009-06-07 22:49 [Bug mi/10252] New: -var-info-path-expression broken with python pretty-printing vladimir at codesourcery dot com
@ 2009-06-08 16:03 ` tromey at redhat dot com
  2009-06-12 22:01 ` tparker at google dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: tromey at redhat dot com @ 2009-06-08 16:03 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2009-06-08 16:03 -------
I'll handle this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware dot|tromey at redhat dot com
                   |org                         |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-06-08 16:03:15
               date|                            |


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

------- 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] 8+ messages in thread

* [Bug mi/10252] -var-info-path-expression broken with python pretty-printing
  2009-06-07 22:49 [Bug mi/10252] New: -var-info-path-expression broken with python pretty-printing vladimir at codesourcery dot com
  2009-06-08 16:03 ` [Bug mi/10252] " tromey at redhat dot com
@ 2009-06-12 22:01 ` tparker at google dot com
  2009-06-15 19:26 ` tromey at redhat dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: tparker at google dot com @ 2009-06-12 22:01 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tparker at google dot com


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

------- 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] 8+ messages in thread

* [Bug mi/10252] -var-info-path-expression broken with python pretty-printing
  2009-06-07 22:49 [Bug mi/10252] New: -var-info-path-expression broken with python pretty-printing vladimir at codesourcery dot com
  2009-06-08 16:03 ` [Bug mi/10252] " tromey at redhat dot com
  2009-06-12 22:01 ` tparker at google dot com
@ 2009-06-15 19:26 ` tromey at redhat dot com
  2009-10-09 18:29 ` sprigogin at google dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: tromey at redhat dot com @ 2009-06-15 19:26 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2009-06-15 19:26 -------
*** Bug 10284 has been marked as a duplicate of this bug. ***

-- 


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

------- 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] 8+ messages in thread

* [Bug mi/10252] -var-info-path-expression broken with python pretty-printing
  2009-06-07 22:49 [Bug mi/10252] New: -var-info-path-expression broken with python pretty-printing vladimir at codesourcery dot com
                   ` (2 preceding siblings ...)
  2009-06-15 19:26 ` tromey at redhat dot com
@ 2009-10-09 18:29 ` sprigogin at google dot com
  2010-03-04  7:29 ` jens dot elmenthaler at verigy dot com
  2010-08-02 15:32 ` marc dot khouzam at ericsson dot com
  5 siblings, 0 replies; 8+ messages in thread
From: sprigogin at google dot com @ 2009-10-09 18:29 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sprigogin at google dot com


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

------- 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] 8+ messages in thread

* [Bug mi/10252] -var-info-path-expression broken with python pretty-printing
  2009-06-07 22:49 [Bug mi/10252] New: -var-info-path-expression broken with python pretty-printing vladimir at codesourcery dot com
                   ` (3 preceding siblings ...)
  2009-10-09 18:29 ` sprigogin at google dot com
@ 2010-03-04  7:29 ` jens dot elmenthaler at verigy dot com
  2010-08-02 15:32 ` marc dot khouzam at ericsson dot com
  5 siblings, 0 replies; 8+ messages in thread
From: jens dot elmenthaler at verigy dot com @ 2010-03-04  7:29 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jens dot elmenthaler at
                   |                            |verigy dot com


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

------- 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] 8+ messages in thread

* [Bug mi/10252] -var-info-path-expression broken with python pretty-printing
  2009-06-07 22:49 [Bug mi/10252] New: -var-info-path-expression broken with python pretty-printing vladimir at codesourcery dot com
                   ` (4 preceding siblings ...)
  2010-03-04  7:29 ` jens dot elmenthaler at verigy dot com
@ 2010-08-02 15:32 ` marc dot khouzam at ericsson dot com
  5 siblings, 0 replies; 8+ messages in thread
From: marc dot khouzam at ericsson dot com @ 2010-08-02 15:32 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc dot khouzam at ericsson
                   |                            |dot com


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

------- 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] 8+ messages in thread

* [Bug mi/10252] -var-info-path-expression broken with python pretty-printing
       [not found] <bug-10252-4717@http.sourceware.org/bugzilla/>
@ 2011-03-31 11:12 ` oliver.gerlich at gmx dot de
  0 siblings, 0 replies; 8+ messages in thread
From: oliver.gerlich at gmx dot de @ 2011-03-31 11:12 UTC (permalink / raw)
  To: gdb-prs

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

Oliver Gerlich <oliver.gerlich at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver.gerlich at gmx dot
                   |                            |de

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

end of thread, other threads:[~2011-03-30 15:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-07 22:49 [Bug mi/10252] New: -var-info-path-expression broken with python pretty-printing vladimir at codesourcery dot com
2009-06-08 16:03 ` [Bug mi/10252] " tromey at redhat dot com
2009-06-12 22:01 ` tparker at google dot com
2009-06-15 19:26 ` tromey at redhat dot com
2009-10-09 18:29 ` sprigogin at google dot com
2010-03-04  7:29 ` jens dot elmenthaler at verigy dot com
2010-08-02 15:32 ` marc dot khouzam at ericsson dot com
     [not found] <bug-10252-4717@http.sourceware.org/bugzilla/>
2011-03-31 11:12 ` oliver.gerlich at gmx dot de

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).