[PATCH 0/2] More regression fixing from is-stmt patches
Andrew Burgess
andrew.burgess@embecosm.com
Fri Apr 3 22:21:02 GMT 2020
This small series fixes another regression introduced by the is-stmt
series that Tom Tromey pointed out on IRC.
Commit #1 is a small refactor, and #2 is the real work.
Thanks,
Andrew
---
Andrew Burgess (2):
gdb/testsuite: Move helper function into lib/dwarf.exp
gdb: Preserve is-stmt lines when switch between files
gdb/ChangeLog | 10 ++
gdb/dwarf2/read.c | 47 ++++-
gdb/testsuite/ChangeLog | 21 +++
gdb/testsuite/gdb.cp/step-and-next-inline.exp | 7 +
gdb/testsuite/gdb.dwarf2/dw2-inline-header-1.exp | 156 +++++++++++++++++
gdb/testsuite/gdb.dwarf2/dw2-inline-header-2.exp | 179 +++++++++++++++++++
gdb/testsuite/gdb.dwarf2/dw2-inline-header-3.exp | 192 +++++++++++++++++++++
gdb/testsuite/gdb.dwarf2/dw2-inline-header-lbls.c | 46 +++++
gdb/testsuite/gdb.dwarf2/dw2-inline-header.c | 24 +++
gdb/testsuite/gdb.dwarf2/dw2-inline-header.h | 24 +++
.../gdb.dwarf2/dw2-inline-many-frames.exp | 14 --
gdb/testsuite/gdb.dwarf2/dw2-inline-small-func.exp | 16 +-
gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.exp | 14 --
gdb/testsuite/gdb.dwarf2/dw2-is-stmt.exp | 14 --
gdb/testsuite/lib/dwarf.exp | 16 ++
15 files changed, 720 insertions(+), 60 deletions(-)
create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-header-1.exp
create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-header-2.exp
create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-header-3.exp
create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-header-lbls.c
create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-header.c
create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-header.h
--
2.14.5
More information about the Gdb-patches
mailing list