Replace gdbpy_should_stop with gdbpy_breakpoint_cond_says_stop
authorJohnson Sun <j3.soon777@gmail.com>
Fri, 23 Sep 2022 06:00:28 +0000 (14:00 +0800)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 13 Dec 2022 02:34:26 +0000 (21:34 -0500)
commitd0d41b77c0cda3b59bc8b82d3d1285db2203de56
treebb710c0a18137c63638707ada56e499f62bdb544
parentc799eddb3512a4ce2b5c11bd91f888f30241faf6
Replace gdbpy_should_stop with gdbpy_breakpoint_cond_says_stop

In 2014, the function `gdbpy_should_stop' has been replaced with
`gdbpy_breakpoint_cond_says_stop'

This replaces `gdbpy_should_stop' with `gdbpy_breakpoint_cond_says_stop' in the
comments.

Since `gdbpy_should_stop' has been renamed as noted in `gdb/ChangeLog-2014':

* python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
from gdbpy_should_stop.  Change result type to enum scr_bp_stop.

Change-Id: I0ef3491ce5e057c5e75ef8b569803b30a5838575
Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/python/py-finishbreakpoint.c