[PATCH v2 4/4] gdb: Skip trampoline frames in the stack for printing or finish command.

Eli Zaretskii eliz@gnu.org
Mon Jun 5 12:03:21 GMT 2023


> Cc: abdul.b.ijaz@intel.com,
> 	JiniSusan.George@amd.com,
> 	tom@tromey.com
> Date: Mon,  5 Jun 2023 13:04:10 +0200
> From: Abdul Basit Ijaz via Gdb-patches <gdb-patches@sourceware.org>
> 
>  gdb/doc/gdb.texinfo                           | 40 +++++++----
>  gdb/infcmd.c                                  | 14 ++++
>  gdb/infrun.c                                  |  8 +--
>  gdb/infrun.h                                  |  6 ++
>  gdb/stack.c                                   |  8 +++
>  gdb/symtab.c                                  | 12 ++++
>  gdb/symtab.h                                  |  5 ++
>  gdb/testsuite/gdb.fortran/func-trampoline.exp | 69 +++++++++++++++++++
>  gdb/testsuite/gdb.fortran/func-trampoline.f90 | 39 +++++++++++
>  .../gdb.fortran/mixed-lang-stack.exp          | 10 ++-
>  10 files changed, 189 insertions(+), 22 deletions(-)
>  create mode 100644 gdb/testsuite/gdb.fortran/func-trampoline.exp
>  create mode 100644 gdb/testsuite/gdb.fortran/func-trampoline.f90

The documentation part is OK, thanks.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>


More information about the Gdb-patches mailing list