diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/python/py-finishbreakpoint.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/python/py-finishbreakpoint.c b/gdb/python/py-finishbreakpoint.c index 1d25cca..0255bd1 100644 --- a/gdb/python/py-finishbreakpoint.c +++ b/gdb/python/py-finishbreakpoint.c @@ -205,12 +205,7 @@ bpfinishpy_init (PyObject *self, PyObject *args, PyObject *kwargs) "be set on a dummy frame.")); } else - { - frame_id = get_frame_id (prev_frame); - if (frame_id == null_frame_id) - PyErr_SetString (PyExc_ValueError, - _("Invalid ID for the `frame' object.")); - } + frame_id = get_frame_id (prev_frame); } } catch (const gdb_exception &except) |