[Bug gdb/11614] New: decode_variable() in linespec.c does not obey its contract

justin dot lebar+gdb at gmail dot com sourceware-bugzilla@sourceware.org
Thu May 20 03:54:00 GMT 2010


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.



More information about the Gdb-prs mailing list