[PATCH 1/2] Keep stepping over "line 0" ranges (PR 26243)

Eli Zaretskii eliz@gnu.org
Tue Jul 21 16:38:20 GMT 2020


> From: Pedro Alves <pedro@palves.net>
> Date: Tue, 21 Jul 2020 16:37:36 +0100
> 
>  The @code{set step-mode on} command causes the @code{step} command to
>  stop at the first instruction of a function which contains no debug line
>  information rather than stepping over it.
> +Similarly, causes the @code{step} and @code{next} commands to stop at
   ^^^^^^^^^^^^^^^^^
I guess you meant "Similarly, it causes ..."?

>  This is useful in cases where you may be interested in inspecting the
> -machine instructions of a function which has no symbolic info and do not
> -want @value{GDBN} to automatically skip over this function.
> +machine instructions of a function or function address range which has
> +no symbolic info and do not want @value{GDBN} to automatically skip
                   ^
A comma here would disambiguate the sentence.

> +When on, stop the 'step' command if we enter a function that has no\n\
            ^^^^^^^^^^^^^^^^^^^^^^^
How do you "stop the 'step' command"?  It sounds awkward.

> +line number information, and stop the 'step' and 'next' commands if\n\
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Same here.

Thanks.


More information about the Gdb-patches mailing list