public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/11614] New: decode_variable() in linespec.c does not obey its contract
@ 2010-05-20  3:54 justin dot lebar+gdb at gmail dot com
  2010-05-20  3:54 ` [Bug gdb/11614] " justin dot lebar+gdb at gmail dot com
  2010-05-20  6:50 ` justin dot lebar+gdb at gmail dot com
  0 siblings, 2 replies; 4+ messages in thread
From: justin dot lebar+gdb at gmail dot com @ 2010-05-20  3:54 UTC (permalink / raw)
  To: gdb-prs

decode_variable() in linespec.c says that if |not_found_ptr| is non-null and the
function cannot be found, 1 is stored in the address referenced by
not_found_ptr, and an error message is not thrown.

In fact, an error message is thrown when the function is not found even if
|not_found_ptr| is non-null.

-- 
           Summary: decode_variable() in linespec.c does not obey its
                    contract
           Product: gdb
           Version: 7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: justin dot lebar+gdb at gmail dot com
                CC: gdb-prs at sourceware dot org


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

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

* [Bug gdb/11614] decode_variable() in linespec.c does not obey its contract
  2010-05-20  3:54 [Bug gdb/11614] New: decode_variable() in linespec.c does not obey its contract justin dot lebar+gdb at gmail dot com
@ 2010-05-20  3:54 ` justin dot lebar+gdb at gmail dot com
  2010-05-20  6:50 ` justin dot lebar+gdb at gmail dot com
  1 sibling, 0 replies; 4+ messages in thread
From: justin dot lebar+gdb at gmail dot com @ 2010-05-20  3:54 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |8287
              nThis|                            |


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

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

* [Bug gdb/11614] decode_variable() in linespec.c does not obey its contract
  2010-05-20  3:54 [Bug gdb/11614] New: decode_variable() in linespec.c does not obey its contract justin dot lebar+gdb at gmail dot com
  2010-05-20  3:54 ` [Bug gdb/11614] " justin dot lebar+gdb at gmail dot com
@ 2010-05-20  6:50 ` justin dot lebar+gdb at gmail dot com
  1 sibling, 0 replies; 4+ messages in thread
From: justin dot lebar+gdb at gmail dot com @ 2010-05-20  6:50 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From justin dot lebar+gdb at gmail dot com  2010-05-20 06:50 -------
Created an attachment (id=4804)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4804&action=view)
Patch v1

I ran the regression tests before and after applying this patch, and it's
unfortunately not entirely clear whether the patch causes a regression.

I *think* it's OK, because I ran it twice and got two non-overlapping sets of
failures compared to the unedited version.  But someone who understands this
better should probably double-check me.

In the interests of full disclosure: I haven't received the FSF copyright
paperwork yet.	I'll post here once I get it.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware dot|justin dot lebar+gdb at
                   |org                         |gmail dot com
             Status|UNCONFIRMED                 |ASSIGNED


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

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

* [Bug gdb/11614] decode_variable() in linespec.c does not obey its contract
       [not found] <bug-11614-4717@http.sourceware.org/bugzilla/>
@ 2011-08-02 19:05 ` tromey at redhat dot com
  0 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2011-08-02 19:05 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |tromey at redhat dot com
         Resolution|                            |FIXED
   Target Milestone|7.1                         |7.3

--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2011-08-02 19:04:34 UTC ---
We removed the not_found_ptr code from linespec earlier this year.

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

end of thread, other threads:[~2011-08-02 19:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-20  3:54 [Bug gdb/11614] New: decode_variable() in linespec.c does not obey its contract justin dot lebar+gdb at gmail dot com
2010-05-20  3:54 ` [Bug gdb/11614] " justin dot lebar+gdb at gmail dot com
2010-05-20  6:50 ` justin dot lebar+gdb at gmail dot com
     [not found] <bug-11614-4717@http.sourceware.org/bugzilla/>
2011-08-02 19:05 ` tromey 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).