This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10102] optional probe points should silently accept "probe point mismatch" errors
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 6 May 2009 00:21:41 -0000
- Subject: [Bug translator/10102] optional probe points should silently accept "probe point mismatch" errors
- References: <20090424173130.10102.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2009-05-06 00:21 -------
Right, that last one looks almost 100% right; you can commit it.
I'd follow up with a bit of cleanup that fixes the bug that
loc->optional can get its old_loc_opt value forgotten in case
of an exception. Plus I'd prefer to avoid replicating the
find_and_build call and instead put the if(optional) check
into a catch() block: try { ... } catch (...) { if(!optional) throw; ... }
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|systemtap at sources dot |wenji dot huang at oracle
|redhat dot com |dot com
Status|NEW |ASSIGNED
http://sourceware.org/bugzilla/show_bug.cgi?id=10102
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.