This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA] 'set step-mode' to control the step command.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]