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; 3+ 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] 3+ 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; 3+ 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] 3+ 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; 3+ 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] 3+ messages in thread
end of thread, other threads:[~2010-05-20 6:50 UTC | newest]
Thread overview: 3+ 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
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).