binutils-gdb/gdb/testsuite/lib
Tom Tromey 007e153034 Handle alignof and _Alignof
This adds alignof and _Alignof to the C/C++ expression parser, and
adds new tests to test the features.  The tests are written to try to
ensure that gdb's knowledge of alignment rules stays in sync with the
compiler's.

2018-04-30  Tom Tromey  <tom@tromey.com>

	PR exp/17095:
	* NEWS: Update.
	* std-operator.def (UNOP_ALIGNOF): New operator.
	* expprint.c (dump_subexp_body_standard) <case UNOP_ALIGNOF>:
	New.
	* eval.c (evaluate_subexp_standard) <case UNOP_ALIGNOF>: New.
	* c-lang.c (c_op_print_tab): Add alignof.
	* c-exp.y (ALIGNOF): New token.
	(exp): Add "ALIGNOF" production.
	(ident_tokens): Add _Alignof and alignof.

2018-04-30  Tom Tromey  <tom@tromey.com>

	PR exp/17095:
	* gdb.dwarf2/dw2-align.exp: New file.
	* gdb.cp/align.exp: New file.
	* gdb.base/align.exp: New file.
	* lib/gdb.exp (gdb_int128_helper): New proc.
	(has_int128_c, has_int128_cxx): New caching procs.
2018-04-30 11:25:31 -06:00
..
ada.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
append_gdb_boards_dir.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
build-piece.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cache.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cell.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cl_util.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cl_util.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
compiler.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
compiler.cc Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
completion-support.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cp-support.exp Fix double space expected in cp_test_ptype_class 2018-02-25 15:12:37 -05:00
d-support.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
data-structures.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
dtrace.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
dwarf.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
fortran.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
future.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
gdb-guile.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
gdb-python.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
gdb-utils.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
gdb.exp Handle alignof and _Alignof 2018-04-30 11:25:31 -06:00
gdbserver-support.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
gen-perf-test.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
go.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
memory.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
mi-support.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
objc.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
opencl.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
opencl_hostapp.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
opencl_kernel.cl
pascal.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
pdtrace.in Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
perftest.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
prelink-support.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
prompt.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
range-stepping-support.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
read1.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
rust-support.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
selftest-support.exp Testsuite: fully migrate to use_gdb_stub convenience func 2018-03-23 10:38:23 +01:00
set_unbuffered_mode.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
trace-support.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
unbuffer_output.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00