binutils-gdb/gdb/testsuite/lib
John Baldwin 4e5a4f5850 Add a 'starti' command.
This works like 'start' but it stops at the first instruction rather
than the first line in main().  This is useful if one wants to single
step through runtime linker startup.

While here, introduce a RUN_ARGS_HELP macro for shared help text
between run, start, and starti.  This includes expanding the help for
start and starti to include details from run's help text.

gdb/ChangeLog:

	* NEWS (Changes since GDB 8.0): Add starti.
	* infcmd.c (enum run_break): New.
	(run_command_1): Queue pending event for RUN_STOP_AT_FIRST_INSN
	case.
	(run_command): Use enum run_how.
	(start_command): Likewise.
	(starti_command): New function.
	(RUN_ARGS_HELP): New macro.
	(_initialize_infcmd): Use RUN_ARGS_HELP for run and start
	commands.  Add starti command.

gdb/doc/ChangeLog:

	* gdb.texinfo (Starting your Program): Add description of
	starti command.  Mention starti command as an alternative for
	debugging the elaboration phase.

gdb/testsuite/ChangeLog:

	* gdb.base/starti.c: New file.
	* gdb.base/starti.exp: New file.
	* lib/gdb.exp (gdb_starti_cmd): New procedure.
2017-09-19 12:15:35 -07:00
..
ada.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
append_gdb_boards_dir.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
build-piece.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
cache.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
cell.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
cl_util.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
cl_util.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
compiler.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
compiler.cc update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
cp-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
d-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
dtrace.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
dwarf.exp Big-endian targets: Don't ignore offset into DW_OP_stack_value 2017-03-16 19:50:24 +01:00
fortran.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
future.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb-guile.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb-python.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb-utils.exp Add test for modifiable DWARF locations 2017-06-13 15:20:25 +02:00
gdb.exp Add a 'starti' command. 2017-09-19 12:15:35 -07:00
gdbserver-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gen-perf-test.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
go.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
memory.exp 2017-01-26 Luis Machado <lgustavo@codesourcery.com> 2017-01-26 14:05:37 -06:00
mi-support.exp Add a better diagnostic message in mi_gdb_test 2017-03-20 14:57:45 -04:00
objc.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
opencl.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
opencl_hostapp.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
opencl_kernel.cl
pascal.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
pdtrace.in update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
perftest.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
prelink-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
prompt.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
range-stepping-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
read1.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
rust-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
selftest-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
set_unbuffered_mode.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
trace-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
unbuffer_output.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00