[PATCH v2 0/2] "info locals" for clang-compiled inlined functions

Tankut Baris Aktemur tankut.baris.aktemur@intel.com
Wed Apr 14 08:14:29 GMT 2021


Hi,

This is the v2 of

  https://sourceware.org/pipermail/gdb-patches/2021-February/176203.html

The revision includes:

  * an additional patch to recognize DW_OP_fbreg as a location op in the
  testsuite's Dwarf assembler.

  * a new test that uses the Dwarf assembler.

  * minor fixes that Simon Marchi commented on for v1.

Regards
Baris

Tankut Baris Aktemur (2):
  testsuite, gdb: recognize DW_OP_fbreg in lib/dwarf.exp
  gdb/dwarf2: fix "info locals" for clang-compiled inlined functions

 gdb/dwarf2/read.c                             |  49 ++++++-
 .../dw2-inline-with-lexical-scope.c           |  47 ++++++
 .../dw2-inline-with-lexical-scope.exp         | 137 ++++++++++++++++++
 gdb/testsuite/gdb.opt/inline-locals.c         |  20 +++
 gdb/testsuite/gdb.opt/inline-locals.exp       |  30 ++++
 gdb/testsuite/lib/dwarf.exp                   |   5 +
 6 files changed, 287 insertions(+), 1 deletion(-)
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.c
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-with-lexical-scope.exp

-- 
2.17.1



More information about the Gdb-patches mailing list