Rename one DAP function

When I first started implementing DAP, I had some vague plan of having
the implementation functions use the same name as the request.  I
abandoned this idea, but one vestige remained.  This patch renames the
one remaining function to be gdb-ish.
This commit is contained in:
Tom Tromey
2023-05-09 14:38:45 -06:00
parent fc2d72afc0
commit 8c8701f9cf

View File

@ -56,7 +56,7 @@ def next(*, threadId, singleThread=False, granularity="statement", **args):
@capability("supportsSteppingGranularity")
@capability("supportsSingleThreadExecutionRequests")
@request("stepIn")
def stepIn(*, threadId, singleThread=False, granularity="statement", **args):
def step_in(*, threadId, singleThread=False, granularity="statement", **args):
send_gdb(lambda: _handle_thread_step(threadId, singleThread))
cmd = "step"
if granularity == "instruction":