This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [RFAv2] Implement show | set may-call-functions [on|off]


On Sat, 2019-04-27 at 11:40 +0100, Pedro Alves wrote:
> On 4/26/19 10:34 PM, Philippe Waroquiers wrote:
> > Inferior function calls are powerful but might lead to undesired
> > results such as crashes when calling nested functions (frequently
> > used in particular in Ada).
> > 
> > This implements a GDB setting to disable calling inferior functions.
> > 
> > Note: the idea is that if/when the 'slash command' patch is pushed,
> > that this setting can be changed e.g. by using the shortcut /c.
> > 
> > This is version 2 of the patch.  It handles all the received comments,
> > mostly replace 'can-call' by 'may-call', and avoid using
> > 'inferior function call' in factor of 'calling function in the program'.
> > 
> 
> Thanks.  I like this version a lot better.
> 
> Some nits below.  LGTM with those fixed.
Thanks for the reviews.  Pushed after applying the fixes.

Philippe


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