public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/10804] New: GDB.Values do not expose array bounds.
@ 2009-10-19 10:20 pmuldoon at redhat dot com
  2009-10-19 13:17 ` [Bug python/10804] " drow at sources dot redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pmuldoon at redhat dot com @ 2009-10-19 10:20 UTC (permalink / raw)
  To: gdb-prs

Daniel Jacobowitz wrote about some Python/GDB experiences and bugs in the email:

http://sourceware.org/ml/archer/2009-q4/msg00008.html

This bug (and others in their own bugs) is extracted from that email to track
the issue:

* The Python bindings do not expose array bounds.  I had to use sizeof
to determine the size and assume the array was zero-indexed (which is
C-specific)

-- 
           Summary: GDB.Values do not expose array bounds.
           Product: gdb
           Version: archer
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: pmuldoon at redhat dot com
                CC: gdb-prs at sourceware dot org


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

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

* [Bug python/10804] GDB.Values do not expose array bounds.
  2009-10-19 10:20 [Bug python/10804] New: GDB.Values do not expose array bounds pmuldoon at redhat dot com
@ 2009-10-19 13:17 ` drow at sources dot redhat dot com
  2009-12-05  9:29 ` [Bug python/10804] GDB.Types " pmuldoon at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: drow at sources dot redhat dot com @ 2009-10-19 13:17 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |drow at sources dot redhat
                   |                            |dot com


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

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

* [Bug python/10804] GDB.Types do not expose array bounds.
  2009-10-19 10:20 [Bug python/10804] New: GDB.Values do not expose array bounds pmuldoon at redhat dot com
  2009-10-19 13:17 ` [Bug python/10804] " drow at sources dot redhat dot com
@ 2009-12-05  9:29 ` pmuldoon at redhat dot com
  2009-12-08 14:06 ` cvs-commit at gcc dot gnu dot org
  2009-12-08 14:08 ` pmuldoon at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pmuldoon at redhat dot com @ 2009-12-05  9:29 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware dot|pmuldoon at redhat dot com
                   |org                         |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
            Summary|GDB.Values do not expose    |GDB.Types do not expose
                   |array bounds.               |array bounds.


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

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

* [Bug python/10804] GDB.Types do not expose array bounds.
  2009-10-19 10:20 [Bug python/10804] New: GDB.Values do not expose array bounds pmuldoon at redhat dot com
  2009-10-19 13:17 ` [Bug python/10804] " drow at sources dot redhat dot com
  2009-12-05  9:29 ` [Bug python/10804] GDB.Types " pmuldoon at redhat dot com
@ 2009-12-08 14:06 ` cvs-commit at gcc dot gnu dot org
  2009-12-08 14:08 ` pmuldoon at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2009-12-08 14:06 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2009-12-08 14:06 -------
Subject: Bug 10804

CVSROOT:	/cvs/src
Module name:	src
Changes by:	pmuldoon@sourceware.org	2009-12-08 14:06:05

Modified files:
	gdb            : ChangeLog 
	gdb/doc        : ChangeLog gdb.texinfo 
	gdb/python     : py-type.c 
	gdb/testsuite  : ChangeLog 
	gdb/testsuite/gdb.python: py-type.exp 

Log message:
	2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
	
	PR python/10804
	
	* python/py-type.c (typy_range): New Function.
	
	2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
	
	* gdb.python/py-type.exp (test_range): New test.
	
	2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
	
	* gdb.texinfo (Types In Python): Describe range function.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11135&r2=1.11136
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.979&r2=1.980
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.647&r2=1.648
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/python/py-type.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2045&r2=1.2046
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-type.exp.diff?cvsroot=src&r1=1.1&r2=1.2



-- 


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

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

* [Bug python/10804] GDB.Types do not expose array bounds.
  2009-10-19 10:20 [Bug python/10804] New: GDB.Values do not expose array bounds pmuldoon at redhat dot com
                   ` (2 preceding siblings ...)
  2009-12-08 14:06 ` cvs-commit at gcc dot gnu dot org
@ 2009-12-08 14:08 ` pmuldoon at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pmuldoon at redhat dot com @ 2009-12-08 14:08 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From pmuldoon at redhat dot com  2009-12-08 14:08 -------
Closed. re comment #1.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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

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

end of thread, other threads:[~2009-12-08 14:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-19 10:20 [Bug python/10804] New: GDB.Values do not expose array bounds pmuldoon at redhat dot com
2009-10-19 13:17 ` [Bug python/10804] " drow at sources dot redhat dot com
2009-12-05  9:29 ` [Bug python/10804] GDB.Types " pmuldoon at redhat dot com
2009-12-08 14:06 ` cvs-commit at gcc dot gnu dot org
2009-12-08 14:08 ` pmuldoon at redhat 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).