[PATCHv2 13/13] gdb: rename unwindonsignal to unwind-on-signal

Eli Zaretskii eliz@gnu.org
Wed Jan 18 17:35:24 GMT 2023


> Cc: Andrew Burgess <aburgess@redhat.com>
> Date: Wed, 18 Jan 2023 16:18:09 +0000
> From: Andrew Burgess via Gdb-patches <gdb-patches@sourceware.org>
> 
> We now have unwind-on-timeout and unwind-on-terminating-exception, and
> then the odd one out unwindonsignal.
> 
> I'm not a great fan of these squashed together command names, so in
> this commit I propose renaming this to unwind-on-signal.
> 
> Obviously I've added the hidden alias unwindonsignal so any existing
> GDB scripts will keep working.
> 
> There's one test that I've extended to test the alias works, but in
> most of the other test scripts I've changed over to use the new name.
> 
> The docs are updated to reference the new name.
> ---
>  gdb/NEWS                                      | 11 ++++++
>  gdb/doc/gdb.texinfo                           | 16 ++++++---
>  gdb/infcall.c                                 | 21 ++++++-----
>  gdb/testsuite/gdb.base/callfuncs.exp          |  4 +--
>  gdb/testsuite/gdb.base/infcall-failure.exp    |  4 +--
>  gdb/testsuite/gdb.base/unwindonsignal.exp     | 36 +++++++++++++------
>  gdb/testsuite/gdb.compile/compile-cplus.exp   |  2 +-
>  gdb/testsuite/gdb.compile/compile.exp         |  2 +-
>  gdb/testsuite/gdb.cp/gdb2495.exp              | 16 ++++-----
>  gdb/testsuite/gdb.fortran/function-calls.exp  |  2 +-
>  gdb/testsuite/gdb.mi/mi-syn-frame.exp         |  2 +-
>  .../infcall-from-bp-cond-simple.exp           |  2 +-
>  .../gdb.threads/thread-unwindonsignal.exp     |  8 ++---
>  13 files changed, 83 insertions(+), 43 deletions(-)

These are mechanical renames, right?  I don't think they need a review
and approval.

Thanks.


More information about the Gdb-patches mailing list