mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-01 17:27:15 +08:00
Remove frame_id_eq
This replaces frame_id_eq with operator== and operator!=. I wrote this for a version of this series that I later abandoned; but since it simplifies the code, I left this patch in. Approved-by: Tom Tomey <tom@tromey.com>
This commit is contained in:
@ -207,7 +207,7 @@ bpfinishpy_init (PyObject *self, PyObject *args, PyObject *kwargs)
|
||||
else
|
||||
{
|
||||
frame_id = get_frame_id (prev_frame);
|
||||
if (frame_id_eq (frame_id, null_frame_id))
|
||||
if (frame_id == null_frame_id)
|
||||
PyErr_SetString (PyExc_ValueError,
|
||||
_("Invalid ID for the `frame' object."));
|
||||
}
|
||||
|
Reference in New Issue
Block a user