binutils-gdb/gdb/testsuite/lib
Andrew Burgess cecf854779 gdb/testsuite: Add is-stmt support to the DWARF compiler
This commit adds the ability to set and toggle the DWARF line table
is-stmt flag.

A DWARF line table can now be created with the attribute
'default_is_stmt' like this:

  lines {version 2 default_is_stmt 0} label {
    ...
  }

If 'default_is_stmt' is not specified then the current default is 1,
which matches the existing behaviour.

Inside the DWARF line table program you can now make use of
{DW_LNS_negate_stmt} to toggle the is-stmt flag, for example this
meaningless program:

  lines {version 2 default_is_stmt 0} label {
    include_dir "some_directory"
    file_name "some_filename" 1

    program {
      {DW_LNS_negate_stmt}
      {DW_LNE_end_sequence}
    }
  }

This new functionality will be used in a later commit.

gdb/testsuite/ChangeLog:

	* lib/dwarf.exp (Dwarf::lines) Add support for modifying the
	is-stmt flag in the line table.

Change-Id: Ia3f61d523826382dd2333f65b9aae368ad29c4a5
2020-03-10 22:32:05 +00:00
..
ada.exp [gdb/testsuite] Handle missing gnatmake in gnat_runtime_has_debug_info 2020-02-18 10:18:36 +01:00
append_gdb_boards_dir.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
build-piece.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
cache.exp [gdb/testsuite] Ignore pass in gdb_caching_proc 2020-02-19 07:05:13 +01:00
cl_util.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
cl_util.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile-support.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compiler.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compiler.cc Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
completion-support.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
cp-support.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
d-support.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
data-structures.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
dtrace.exp [gdb/testsuite] Be quiet about untested dtrace-prob.exp 2020-02-19 00:05:40 +01:00
dwarf.exp gdb/testsuite: Add is-stmt support to the DWARF compiler 2020-03-10 22:32:05 +00:00
fortran.exp gdb.fortran: Allow Flang kind printing in fortran testing 2020-03-04 17:16:52 +05:30
future.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb-guile.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb-python.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb-utils.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gdb.exp [gdb/testsuite] Fix tcl error in cached_file 2020-03-09 15:32:54 +01:00
gdbserver-support.exp Have testsuite find gdbserver in new location 2020-02-14 14:14:38 -07:00
gen-perf-test.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gnat_debug_info_test.adb [PATCH] Adjust test gdb.ada/ptype_tagged_param.exp for when GNAT runtime does not have debug info 2019-12-27 21:02:35 -05:00
go.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
memory.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-support.exp [gdb/testsuite] Remove unused globals 2020-02-27 14:27:09 +01:00
objc.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
opencl.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
opencl_hostapp.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
opencl_kernel.cl
pascal.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
pdtrace.in Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
perftest.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
prelink-support.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
prompt.exp [gdb/testsuite] Remove unused globals 2020-02-27 14:27:09 +01:00
range-stepping-support.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
read1.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
rust-support.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
selftest-support.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
set_unbuffered_mode.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
sym-info-cmds.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
trace-support.exp Update libinproctrace.so path in lib/trace-support.exp 2020-02-28 18:58:37 -05:00
tuiterm.exp [gdb/testsuite] Fix spawn in tuiterm.exp 2020-02-27 10:16:00 +01:00
unbuffer_output.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
valgrind.exp Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00