This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] 'set step-mode' to control the step command.
- To: Christopher Faylor <cgf at redhat dot com>
- Subject: Re: [RFA] 'set step-mode' to control the step command.
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Mon, 06 Nov 2000 20:15:33 +0000
- CC: gdb-patches at sources dot redhat dot com
- Organization: Red Hat Canada Ltd. - Toronto
- References: <20001106144634.A4632@redhat.com>
Christopher Faylor wrote:
>
> This patch is from a net contributor (assignment on file) who has added
> an interesting new feature. To quote:
>
> "Set mode of the step operation. When set, doing a step on a function
> without debug line information will stop at the first instruction of
> that function. Otherwise, the function is skipped and the step command
> stops at a different source line."
>
> Does this look reasonable?
>
I am not the maintainer of this part of the code, but I have been asked for
having step behave this way several times. Not being the default it is a
good thing, as these users can set it on without changing the documented
behavior for the others.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9