[PATCH 0/2] Line table is_stmt support

Andrew Burgess andrew.burgess@embecosm.com
Wed Feb 5 11:37:00 GMT 2020


This series adds support for the DWARF line table is_stmt property.
Patch #2 includes a fuller description of the background to this
series (patch #1 is a minor setup patch), but this was previously
discussed on the list as part of a different patch series, but I
wanted to start a new thread so this got some visibility.

All feedback welcome.

thanks,
Andrew

--

Andrew Burgess (2):
  gdb/testsuite: Add is-stmt support to the DWARF compiler
  gdb: Add support for tracking the DWARF line table is-stmt field

 gdb/ChangeLog                                |  37 ++++
 gdb/buildsym-legacy.c                        |   4 +-
 gdb/buildsym.c                               |  14 +-
 gdb/buildsym.h                               |   3 +-
 gdb/disasm.c                                 |   6 +
 gdb/dwarf2read.c                             |  13 +-
 gdb/infrun.c                                 |  42 +++--
 gdb/jit.c                                    |   1 +
 gdb/record-btrace.c                          |  11 +-
 gdb/stack.c                                  |   3 +-
 gdb/symmisc.c                                |  10 +-
 gdb/symtab.c                                 |  25 ++-
 gdb/symtab.h                                 |  10 +
 gdb/testsuite/ChangeLog                      |  16 ++
 gdb/testsuite/gdb.cp/next-inline.cc          |  65 +++++++
 gdb/testsuite/gdb.cp/next-inline.exp         |  70 +++++++
 gdb/testsuite/gdb.cp/next-inline.h           |  38 ++++
 gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.c     |  99 ++++++++++
 gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.exp   | 265 ++++++++++++++++++++++++++
 gdb/testsuite/gdb.dwarf2/dw2-is-stmt.c       |  61 ++++++
 gdb/testsuite/gdb.dwarf2/dw2-is-stmt.exp     | 267 +++++++++++++++++++++++++++
 gdb/testsuite/gdb.dwarf2/dw2-ranges-base.exp |   6 +-
 gdb/testsuite/lib/dwarf.exp                  |   8 +-
 gdb/xcoffread.c                              |   4 +
 24 files changed, 1048 insertions(+), 30 deletions(-)
 create mode 100644 gdb/testsuite/gdb.cp/next-inline.cc
 create mode 100644 gdb/testsuite/gdb.cp/next-inline.exp
 create mode 100644 gdb/testsuite/gdb.cp/next-inline.h
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.c
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-is-stmt.c
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-is-stmt.exp

-- 
2.14.5



More information about the Gdb-patches mailing list