This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFAv2] Implement show | set may-call-functions [on|off]
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Philippe Waroquiers <philippe dot waroquiers at skynet dot be>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 27 Apr 2019 10:17:29 +0300
- Subject: Re: [RFAv2] Implement show | set may-call-functions [on|off]
- References: <20190426213450.22345-1-philippe.waroquiers@skynet.be>
> From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Cc: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Date: Fri, 26 Apr 2019 23:34:50 +0200
>
> gdb/ChangeLog
> * NEWS: Mention the new set|show may-call-functions.
> * infcall.c (may_call_functions_p): New variable.
> (show_may_call_functions_p): New function.
> (call_function_by_hand_dummy): Throws an error if not
> may-call-functions.
> (_initialize_infcall): Call add_setshow_boolean_cmd for
> may-call-functions.
>
> gdb/testsuite/ChangeLog
> * gdb.base/callexit.exp: Test may-call-functions off.
>
> gdb/doc/ChangeLog
> * gdb.texinfo (Calling): Document the new
> set|show may-call-functions.
OK for the documentation parts, thanks.