* inferior.h (step_over_calls_kind): New enum to clarify values in
authorChristopher Faylor <me+cygwin@cgf.cx>
Fri, 10 Nov 2000 19:27:45 +0000 (19:27 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Fri, 10 Nov 2000 19:27:45 +0000 (19:27 +0000)
commit5fbbeb2988b75ffc72f8bf77dc0c4461ba65cefd
tree2bac1b4d3cfc6a8ba7d5d7ec0cc61b5dde8e0f3d
parent67e0617e6e9fa493f665a30b4362c9a85cc0c653
* inferior.h (step_over_calls_kind): New enum to clarify values in
step_over_calls.
* infcmd.c (step_over_calls): Change definition.
(step_1): Use new enum values in relation to step_over_calls.
(step_once): Ditto.
(until_next_command): Ditto.
* infrun.c (clear_proceed_status): Ditto.
(handle_inferior_event): Ditto.
* inferior.h (step_stop_if_no_debug): New variable.
* infrun.c (step_stop_if_no_debug): Declare.
(handle_inferior_event): Stop the step command if we entered a function without
line info.
(_initialize_infrun): New command 'set step-mode' to control the step command.
* infcmd.c (step_once): Switch to stepi mode if there is no line info
(and switching is enabled).
gdb/ChangeLog
gdb/infcmd.c
gdb/inferior.h
gdb/infrun.c