[v2,0/6] Refinement of scheduler-locking settings

Message ID 20240709150410.34624-1-natalia.saiapova@intel.com
Headers
Series Refinement of scheduler-locking settings |

Message

Saiapova, Natalia July 9, 2024, 3:04 p.m. UTC
  Hi all,

Here is the version 2 of the scheduler locking refinement patches.
I rebased and updated them based on Tom's and Eli's feedback.

The main difference with v1 is that there is an intermediate step of
the refinement where I introduce the "non-step" option for all non-stepping
commands, which then gets replaced with "eval" for function calls and
"continue" for continuing commands.  Also, I renamed "run" to "continue"
to match the following manual page:
https://sourceware.org/gdb/current/onlinedocs/gdb.html/Continuing-and-Stepping.html

Regards,
Natalia

Natalia Saiapova (6):
  gdb: use schedlock_applies in user_visible_resume_ptid.
  gdb, cli: remove left-over code from "set_logging_on".
  gdb, cli: pass the argument of a set command to its callback.
  gdb: change the internal representation of scheduler locking.
  gdb: refine commands to control scheduler locking.
  gdb: add eval option to lock the scheduler during infcalls.

 gdb/NEWS                                      |  25 ++
 gdb/cli/cli-logging.c                         |   5 -
 gdb/cli/cli-setshow.c                         |   2 +-
 gdb/doc/gdb.texinfo                           |  82 +++-
 gdb/infrun.c                                  | 401 +++++++++++++++---
 .../gdb.mi/user-selected-context-sync.exp     |  23 +-
 .../gdb.threads/hand-call-in-threads.exp      |  12 +-
 .../multiple-successive-infcall.exp           |   7 +-
 gdb/testsuite/gdb.threads/schedlock.exp       | 105 ++++-
 gdb/testsuite/lib/gdb.exp                     |  71 +++-
 10 files changed, 611 insertions(+), 122 deletions(-)
  

Comments

Saiapova, Natalia July 12, 2024, 11:13 a.m. UTC | #1
Hi all,

Unfortunately, I won't be able to keep track on this patch series myself, but Klaus has kindly agreed to follow it up.

Regards
Natalia

> -----Original Message-----
> From: Natalia Saiapova <natalia.saiapova@intel.com>
> Sent: Tuesday, July 9, 2024 5:04 PM
> To: gdb-patches@sourceware.org
> Subject: [PATCH v2 0/6] Refinement of scheduler-locking settings
> 
> Hi all,
> 
> Here is the version 2 of the scheduler locking refinement patches.
> I rebased and updated them based on Tom's and Eli's feedback.
> 
> The main difference with v1 is that there is an intermediate step of
> the refinement where I introduce the "non-step" option for all non-stepping
> commands, which then gets replaced with "eval" for function calls and
> "continue" for continuing commands.  Also, I renamed "run" to "continue"
> to match the following manual page:
> https://sourceware.org/gdb/current/onlinedocs/gdb.html/Continuing-and-
> Stepping.html
> 
> Regards,
> Natalia
> 
> Natalia Saiapova (6):
>   gdb: use schedlock_applies in user_visible_resume_ptid.
>   gdb, cli: remove left-over code from "set_logging_on".
>   gdb, cli: pass the argument of a set command to its callback.
>   gdb: change the internal representation of scheduler locking.
>   gdb: refine commands to control scheduler locking.
>   gdb: add eval option to lock the scheduler during infcalls.
> 
>  gdb/NEWS                                      |  25 ++
>  gdb/cli/cli-logging.c                         |   5 -
>  gdb/cli/cli-setshow.c                         |   2 +-
>  gdb/doc/gdb.texinfo                           |  82 +++-
>  gdb/infrun.c                                  | 401 +++++++++++++++---
>  .../gdb.mi/user-selected-context-sync.exp     |  23 +-
>  .../gdb.threads/hand-call-in-threads.exp      |  12 +-
>  .../multiple-successive-infcall.exp           |   7 +-
>  gdb/testsuite/gdb.threads/schedlock.exp       | 105 ++++-
>  gdb/testsuite/lib/gdb.exp                     |  71 +++-
>  10 files changed, 611 insertions(+), 122 deletions(-)
> 
> --
> 2.25.1
> 
> Intel Deutschland GmbH
> Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
> Tel: +49 89 99 8853-0, www.intel.de
> Managing Directors: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva
> Chairperson of the Supervisory Board: Nicole Lau
> Registered Office: Munich
> Commercial Register: Amtsgericht Muenchen HRB 186928

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928