[PATCH v2 3/3] gdb: add the 'set/show suppress-notification-cli' command

Aktemur, Tankut Baris tankut.baris.aktemur@intel.com
Thu Feb 3 08:28:26 GMT 2022


On Wednesday, February 2, 2022 4:35 PM, Andrew Burgess wrote:
> * Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> [2022-01-20 12:42:52 +0100]:
> 
> > GDB already has a flag to suppress printing notification events, such
> > as thread and inferior context switches, on the CLI.  This is used
> > internally when executing commands.  Make the flag available to the
> > user via a new command.  This is expected to be useful in scripts.

> > diff --git a/gdb/testsuite/gdb.base/cli-suppress-notification.c
> b/gdb/testsuite/gdb.base/cli-suppress-notification.c
> > new file mode 100644
> > index 00000000000..ea7823a5d58
> > --- /dev/null
> > +++ b/gdb/testsuite/gdb.base/cli-suppress-notification.c
> > @@ -0,0 +1,22 @@
> > +/* This testcase is part of GDB, the GNU debugger.
> > +
> > +   Copyright 2020-2022 Free Software Foundation, Inc.
> 
> I think the from date is only needed if either (a) you originally
> posted this is 2020, or (b) you copied this mostly unchanged from a
> file that is already dated 2020.

The code was posted elsewhere in 2020.  That's why I'll have to keep the
years as 2020-2022.

I acknowledge the other comments and will address them in v3.

Thank you.
-Baris


Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928



More information about the Gdb-patches mailing list