Check for null result from gdb_demangle
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
c7adb09f 12020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
2
3 * lib/gdb.exp (gdb_wrapper_init): Reset
4 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5 not exist.
6
a9c79803
TV
72020-02-20 Tom de Vries <tdevries@suse.de>
8
9 PR go/17018
10 * gdb.go/hello.exp: Copy ...
11 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
12 print of st to print value of global definition. Add xfail for GCC
13 PR93844.
14 * gdb.go/hello.exp: Remove printing of st before definition.
15 * gdb.go/hello.go: Copy ...
16 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
17 to st.
18 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
19
d7445728
TV
202020-02-20 Tom de Vries <tdevries@suse.de>
21
22 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
23 (gdb_simple_compile): Handle compile_flags go by using .go extension
24 for source file.
25 * gdb.go/chan.exp: Use support_go_compile.
26 * gdb.go/handcall.exp: Same.
27 * gdb.go/hello.exp: Same.
28 * gdb.go/integers.exp: Same.
29 * gdb.go/max-depth.exp: Same.
30 * gdb.go/methods.exp: Same.
31 * gdb.go/package.exp: Same.
32 * gdb.go/strings.exp: Same.
33 * gdb.go/types.exp: Same.
34 * gdb.go/unsafe.exp: Same.
35
c9c41e6d
TV
362020-02-19 Tom de Vries <tdevries@suse.de>
37
38 * gdb.python/lib-types.exp: Make xfail more strict.
39
f20ff837
TV
402020-02-19 Tom de Vries <tdevries@suse.de>
41
42 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
43
08410482
DE
442020-02-19 Doug Evans <dje@google.com>
45
46 PR rust/25535
47 * gdb.rust/simple.exp: Add test.
48 * gdb.rust/simple.rs: Add test.
49
623563f7
TV
502020-02-19 Tom de Vries <tdevries@suse.de>
51
52 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
53 output line-by-line.
54
d3308cfd
TV
552020-02-19 Tom de Vries <tdevries@suse.de>
56
57 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
58
86cbc5dc
TV
592020-02-19 Tom de Vries <tdevries@suse.de>
60
61 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
62 prelink.
63
9db2b96b
TV
642020-02-19 Tom de Vries <tdevries@suse.de>
65
66 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
67 (gdb_do_cache): Use gdb_do_cache_wrap.
68 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
69
89e2fdc5
TV
702020-02-19 Tom de Vries <tdevries@suse.de>
71
72 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
73 gdb_compile option.
74
373d7ac0
SM
752020-02-18 Simon Marchi <simon.marchi@efficios.com>
76
77 * gdb.base/printcmds.exp (test_print_enums): Update expected
78 output.
79
b29a2df0
SM
802020-02-18 Simon Marchi <simon.marchi@efficios.com>
81
82 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
83 for "unknown".
84
6740f0cc
SM
852020-02-18 Simon Marchi <simon.marchi@efficios.com>
86
87 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
88 enumerator.
89
edd45eb0
SM
902020-02-18 Simon Marchi <simon.marchi@efficios.com>
91
92 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
93 FE_, add FE_NONE.
94 (three): Update.
95 (enum flag_enum_without_zero): New enum.
96 (flag_enum_without_zero): New variable.
97 (enum not_flag_enum): New enum.
98 (three_not_flag): New variable.
99 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
100 (test_print_enums): Add more tests for printing flag enums.
101
d4295de4
TV
1022020-02-18 Tom de Vries <tdevries@suse.de>
103
104 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
105 (gdb_compile_ada): ... here.
106 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
107 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
108
f251f505
TT
1092020-02-14 Tom Tromey <tom@tromey.com>
110
111 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
112 build directory.
113 * boards/gdbserver-base.exp: Update path to gdbserver.
114
8f432634
TV
1152020-02-13 Tom de Vries <tdevries@suse.de>
116
117 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
118
92b6eaf7
TV
1192020-02-13 Tom de Vries <tdevries@suse.de>
120
121 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
122 are missing.
123
f3b0f7fe
TV
1242020-02-13 Tom de Vries <tdevries@suse.de>
125
126 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
127 call.
128
f6be8713
SDJ
1292020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
130
131 PR tui/25126
132 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
133 * gdb.base/cached-source-file.c: New file.
134 * gdb.base/cached-source-file.exp: New file.
135
b2770d5e
TV
1362020-02-11 Tom de Vries <tdevries@suse.de>
137
138 PR testsuite/25488
139 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
140
44f6938e
TV
1412020-02-10 Tom de Vries <tdevries@suse.de>
142
143 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
144
5f0e2eb7
MR
1452020-02-10 Maciej W. Rozycki <macro@wdc.com>
146
147 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
148 and $after_addr are both integers before making a comparison.
149
46ce2b6f
TV
1502020-02-09 Tom de Vries <tdevries@suse.de>
151
152 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
153 command output and paste it into gdb.log. If any, paste catch message
154 to gdb.log.
155
5abbbe1d
TT
1562020-02-07 Tom Tromey <tromey@adacore.com>
157
158 PR breakpoints/24915:
159 * gdb.base/annotate-symlink.exp: Use setup_xfail.
160
1d5d29e7
SV
1612020-02-06 Shahab Vahedi <shahab@synopsys.com>
162
163 * gdb.tui/tui-missing-src.exp: Add the "missing source
164 file" test for the TUI.
165
b0999b9b
AB
1662020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
167
168 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
169 including a port number in the output.
170
c3b149eb
AKS
1712020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
172
173 * lib/fortran.exp (fortran_int4): Handle clang.
174 (fortran_int8): Likewise.
175 (fortran_real4): Likewise.
176 (fortran_real8): Likewise.
177 (fortran_complex4): Likewise.
178 (fortran_logical4): Likewise.
179 (fortran_character1): Likewise.
180
f8dcc90b
TV
1812020-02-04 Tom de Vries <tdevries@suse.de>
182
183 * README (Race detection): Add note.
184
f90ac7c2
TV
1852020-02-04 Tom de Vries <tdevries@suse.de>
186
187 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
188
780636ae
TV
1892020-02-04 Tom de Vries <tdevries@suse.de>
190
191 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
192
5d2e1193
RA
1932020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
194
195 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
196 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
197 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
198 blttar, bnetarl.
199 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
200 binary for blttar, bnetarl.
201 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
202 wait instruction. Delete ldmx test.
203 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
204
e409c542
AKS
2052020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
206
207 * gdb.fortran/array-bounds-high.exp: New file.
208 * gdb.fortran/array-bounds-high.f90: New file.
209
b0029748
LD
2102020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
211
212 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
213 Replace #include of <sys/fcntl.h> by <fcntl.h>.
214
195a8287
TV
2152020-02-01 Tom de Vries <tdevries@suse.de>
216
217 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
218
42330a68
AB
2192020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
220
221 PR tui/9765
222 * gdb.tui/tui-layout-asm-short-prog.S: New file.
223 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
224
b62a8028
LM
2252020-01-29 Luis Machado <luis.machado@linaro.org>
226
227 * gdb.arch/aarch64-brk-patterns.c: New source file.
228 * gdb.arch/aarch64-brk-patterns.exp: New test.
229
5f440116
TBA
2302020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
231
232 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
233 GCC/Clang version.
234 * gdb.cp/pass-by-ref.exp: Ditto.
235
ee2a6fc6
TV
2362020-01-29 Tom de Vries <tdevries@suse.de>
237
238 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
239 * gdb.threads/watchpoint-fork-mt.c: Same.
240 * gdb.threads/watchpoint-fork-parent.c: Same.
241 * gdb.threads/watchpoint-fork-st.c: Same.
242 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
243
16b10d6e
LM
2442020-01-27 Luis Machado <luis.machado@linaro.org>
245
246 * gdb.base/step-over-syscall.exp (setup): Check if we're already
247 sitting at a syscall instruction when we hit the syscall function's
248 breakpoint.
249 Check PC against one obtained with the x command.
250 Validate syscall number.
251 (step_over_syscall): Don't continue to the syscall instruction if
252 we're already there.
253
b1468492
PW
2542020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
255
256 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
257
7ffa82e1
AB
2582020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
259
260 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
261 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
262
3d92a3e3
AB
2632020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
264
265 * gdb.dwarf2/dw2-inline-stepping.c: New file.
266 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
267
94a72be7
AB
2682020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
269
270 * gdb.base/maint.exp: Update line table parsing test.
271 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
272
53af73bf
PA
2732020-01-24 Pedro Alves <palves@redhat.com>
274
275 PR gdb/25410
276 * gdb.multi/multi-re-run-1.c: New.
277 * gdb.multi/multi-re-run-2.c: New.
278 * gdb.multi/multi-re-run.exp: New.
279
1ba1ac88
AB
2802020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
281
282 PR gdb/23718
283 * gdb.server/server-kill-python.exp: New file.
284
f3364a6d
AB
2852020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
286
287 * gdb.server/multi-ui-errors.c: New file.
288 * gdb.server/multi-ui-errors.exp: New file.
289
733d0a67
AB
2902020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
291
292 PR tui/9765
293 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
294
4f13c1c0
TT
2952020-01-19 Tom Tromey <tom@tromey.com>
296
297 * gdb.tui/main.exp: Add check for plain "file".
298
40c94099
CB
2992020-01-16 Christian Biesinger <cbiesinger@google.com>
300
301 * lib/gdb.exp: Fix spelling error (seperatelly).
302
ff47f4f0
TT
3032020-01-14 Tom Tromey <tom@tromey.com>
304
305 PR symtab/12535:
306 * gdb.python/python.exp: Test decode_line with empty string
307 argument.
308
717c684d
BE
3092020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
310
311 * gdb.base/skip-inline.exp: Extend test.
312
44e4c775
AB
3132020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
314
315 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
316 * gdb.dwarf2/dw2-bad-elf.c: New file.
317 * gdb.dwarf2/dw2-bad-elf.exp: New file.
318
d93c6db7
AB
3192020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
320
321 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
322 _line_saw_file.
323
9a6d629c
AB
3242020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
325
326 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
327 border.
328
d9ebdab7
TBA
3292020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
330
331 * gdb.multi/multi-target.exp (setup): Factor out "info
332 connections" and "info inferiors" tests to ...
333 (test_info_inferiors): ... this new procedure.
334 (top level): Run new "info-inferiors" tests.
335
f3c469b9
PA
3362020-01-10 Pedro Alves <palves@redhat.com>
337
338 * gdb.server/bkpt-other-inferior.exp: New file.
339
121b3efd
PA
3402020-01-10 Pedro Alves <palves@redhat.com>
341
342 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
343 of "add-inferior".
344 * gdb.base/quit-live.exp: Likewise.
345 * gdb.base/remote-exec-file.exp: Likewise.
346 * gdb.guile/scm-progspace.exp: Likewise.
347 * gdb.linespec/linespec.exp: Likewise.
348 * gdb.mi/new-ui-mi-sync.exp: Likewise.
349 * gdb.mi/user-selected-context-sync.exp: Likewise.
350 * gdb.multi/multi-target.exp (setup): Add "info connection" and
351 "info inferiors" tests.
352 * gdb.multi/remove-inferiors.exp: Adjust expected output of
353 "add-inferior".
354 * gdb.multi/watchpoint-multi.exp: Likewise.
355 * gdb.python/py-inferior.exp: Likewise.
356 * gdb.server/extended-remote-restart.exp: Likewise.
357 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
358 "info inferiors".
359 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
360 * gdb.trace/report.exp: Likewise.
361
1dadb1dd
PA
3622020-01-10 Pedro Alves <palves@redhat.com>
363
364 * gdb.multi/multi-target.c: New file.
365 * gdb.multi/multi-target.exp: New file.
366 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
367 mode requested, but remote does not support non-stop".
368
78f2c40a
PA
3692020-01-10 Pedro Alves <palves@redhat.com>
370
371 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
372 disconnect before reconnecting.
373
e7af6c70
TBA
3742020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
375 Pedro Alves <palves@redhat.com>
376
377 * gdb.server/connect-without-multi-process.exp: Also test
378 continuing to end.
379
acdf84a6
PA
3802020-01-10 Pedro Alves <palves@redhat.com>
381
382 * gdb.base/remote-exec-file.exp: New file.
383
873657b9
PA
3842020-01-10 Pedro Alves <palves@redhat.com>
385
386 * gdb.base/fork-running-state.exp (do_test): Adjust expected
387 output.
388 * gdb.threads/async.c: New.
389 * gdb.threads/async.exp: New.
390 * gdb.multi/tids-gid-reset.c: New.
391 * gdb.multi/tids-gid-reset.exp: New.
392
7f0ae84c
GB
3932020-01-10 George Barrett <bob@bob131.so>
394
395 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
396 to help in finding the image relocation offset.
397 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
398 options in arguments.
399 (stap_test_no_debuginfo): Likewise.
400 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
401 test variants.
402 (stap_test): Add null semaphore relocation test.
403
47e9d49d
GB
4042020-01-10 George Barrett <bob@bob131.so>
405
406 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
407 * gdb.base/stap-probe.exp: Likewise.
408 (stap_test): Pass argument as an additional flag.
409 (stap_test_no_debuginfo): Likewise.
410 (stap_test): Check `info probes stap' output for semaphore
411 addresses if the test binary is supposed to have them.
412
f5a7c406
AB
4132020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
414
415 * gdb.tui/basic.exp: Add more scrolling tests.
416
9ae6bf64
TT
4172020-01-09 Tom Tromey <tom@tromey.com>
418
419 PR tui/18932:
420 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
421 meangingful value.
422 (Term::command, Term::resize): Update.
423 * gdb.tui/basic.exp: Add scrolling test.
424
b2efe70c
AB
4252020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
426
427 * gdb.tui/tui-layout-asm.exp: New file.
428
3804da7e
AB
4292020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
430
431 * lib/tuiterm.exp (Term::check_box_contents): New proc.
432
b40aa28f
AB
4332020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
434
435 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
436 (Term::enter_tui): Use Term::prepare_for_tui.
437
63ffd7c9
AB
4382020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
439
440 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
441 called.
442
3be966f6
AB
4432020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
444
445 * gdb.base/skip.exp: Fix race condition in test.
446
153d79c4
AB
4472020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
448
449 * gdb.base/backtrace.c: New file.
450 * gdb.base/backtrace.exp: New file.
451
f2302a34
AB
4522020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
453
454 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
455
6ec1d75e
PW
4562020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
457
458 * gdb.base/style.exp: Test that warnings are styled.
459
c296cbe6
BE
4602019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
461
462 * gdb.base/line65535.exp: New file.
463 * gdb.base/line65535.c: New file.
464
b28a729d
SM
4652019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
466
467 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
468 * lib/gnat_debug_info_test.adb: New file.
469 * gdb.ada/ptype_tagged_param.exp: Use
470 gnat_runtime_has_debug_info, expect a different output if
471 runtime does not have debug info.
472
7f2d7a0d
SM
4732019-12-20 Simon Marchi <simon.marchi@efficios.com>
474
475 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
476 (another) quote in test name.
477
f3bce483
SM
4782019-12-20 Simon Marchi <simon.marchi@efficios.com>
479
480 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
481 Add quote in test name.
482
c855a912
TBA
4832019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
484
485 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
486 directory instead.
487 * gdb.cp/pass-by-ref.exp: Extend with more cases.
488 * gdb.cp/pass-by-ref-2.cc: New file.
489 * gdb.cp/pass-by-ref-2.exp: New file.
490
fc9d2d72
TT
4912019-12-20 Tom Tromey <tom@tromey.com>
492
493 * gdb.tui/list-before.exp: New file.
494
77b97e00
TT
4952019-12-20 Tom Tromey <tom@tromey.com>
496
497 * gdb.tui/list.exp: Check for source on initial listing.
498
f69656d0
TT
4992019-12-11 Tom Tromey <tromey@adacore.com>
500
501 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
502 Add crlf test.
503
99a55965
SM
5042019-12-18 Simon Marchi <simon.marchi@efficios.com>
505
506 * gdb.base/default.exp: Update value of $_gdb_major.
507
5024637f
BE
5082019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
509
510 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
511
b63634be
BE
5122019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
513
514 * gdb.base/skip.exp: Whitespace fix.
515
45d73523
BE
5162019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
517
518 * gdb.base/skip-inline.c: New file.
519 * gdb.base/skip-inline.exp: New file.
520
d043f8c8
SM
5212019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
522
523 * gdb.base/jit-reader.exp (jit_reader_test): Rename
524 jit_function_00 to jit_function_stack_mangle.
525 * gdb.base/jithost.c (jit_function_t): Rename to...
526 (jit_function_stack_mangle_t): ... this.
527 (jit_function_add_t): New typedef.
528 (jit_function_00_code): Rename to...
529 (jit_function_stack_mangle_code): ... this, make static.
530 (jit_function_add_code): New.
531 (main): Generate "add" function and call it. Adjust to changes
532 in jithost_abi.
533 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
534 (struct jithost_abi) <begin, end>: Remove fields.
535 <object, function_stack_mangle, function_add>: New fields.
536 * gdb.base/jitreader.c (struct reader_state) <code_begin,
537 code_end>: Remove fields.
538 <func_stack_mangle>: New field.
539 (read_debug_info): Adjust to renaming, create block for "add"
540 function.
541 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
542
873de05c
TT
5432019-12-11 Tom Tromey <tom@tromey.com>
544
545 * gdb.tui/resize.exp: Fix regexp.
546 * gdb.tui/regs.exp: Fix regexps.
547 * gdb.tui/main.exp: Fix regexp.
548
3d979945
TT
5492019-12-11 Tom Tromey <tom@tromey.com>
550
551 * gdb.tui/resize.exp: Update.
552 * gdb.tui/empty.exp (layouts): Update.
553
2192a9d3
TT
5542019-12-11 Tom Tromey <tom@tromey.com>
555
556 * gdb.tui/regs.exp: Update.
557 * gdb.tui/empty.exp (layouts): Update.
558 * gdb.tui/basic.exp: Update.
559 * lib/tuiterm.exp (_check_box): Don't check bottom border.
560
d8edc8b7
PW
5612019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
562
563 * gdb.base/options.exp: Add -raw-values in the print completion list.
564 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
565
4c12d936
KB
5662019-12-10 Kevin Buettner <kevinb@redhat.com>
567
568 * gdb.threads/omp-par-scope.c: New file.
569 * gdb/threads/omp-par-scope.exp: New file.
570
26b911fb
KB
5712019-12-10 Kevin Buettner <kevinb@redhat.com>
572
bb47f919
KB
573 * lib/gdb.exp (support_nested_function_tests): New proc.
574
5752019-12-10 Kevin Buettner <kevinb@redhat.com>
576
577 * lib/gdb.exp (gdb_compile_openmp): New proc.
578 (build_executable_from_specs): Add an "openmp" option.
579 (gdb_compile_pthreads): Add non-executable case.
26b911fb 580
6c71eb7d
TT
5812019-12-10 Tom Tromey <tromey@adacore.com>
582
583 * gdb.ada/unchecked_union.exp: New file.
584 * gdb.ada/unchecked_union/pck.adb: New file.
585 * gdb.ada/unchecked_union/pck.ads: New file.
586 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
587 * gdb-utils.exp (string_to_regexp): Also quote "?".
588
bac7c5cf
GB
5892019-12-10 George Barrett <bob@bob131.so>
590
591 Test scripted probe breakpoints.
592 * gdb.guile/scm-breakpoint.c (main): Add probe point.
593 * gdb.python/py-breakpoint.c (main): Likewise.
594 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
595 specifier test.
596 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
597
330f1d38
TBA
5982019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
599
600 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
601 an rvalue parameter.
602 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
603 parameter.
604
b43315e2
AB
6052019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
606
607 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
608 modules.
609
54f73dad
AB
6102019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
611
612 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
613 broken version of GCC.
614
d57cbee9
AB
6152019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
616
617 * gdb.fortran/info-modules.exp: Rewrite to make use of new
618 sym-info-cmds library.
619 * gdb.fortran/info-types.exp: Likewise.
620 * lib/sym-info-cmds.exp: New file.
621
c14aab8c
TV
6222019-12-08 Tom de Vries <tdevries@suse.de>
623
624 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
625
aa2d5a42
KS
6262019-12-07 Keith Seitz <keiths@redhat.com>
627
628 * gdb.base/corefile-buildid-shlib-shr.c: New file.
629 * gdb.base/corefile-buildid-shlib.c: New file.
630 * gdb.base/corefile-buildid.c: New file.
631 * gdb.base/corefile-buildid.exp: New file.
632
93e55f0a
TV
6332019-12-06 Tom de Vries <tdevries@suse.de>
634
635 * gdb.dwarf2/varval.exp: Add decl before def test.
636
c7d12402
TBA
6372019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
638
639 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
640
06acc08f
TBA
6412019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
642
643 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
644 CV and reference conversion for overload resolution.
645 * gdb.cp/rvalue-ref-overload.exp: Test it.
646
e0fad1ea
PW
6472019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
648
649 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
650 * gdb.base/frameapply.exp: Test faas without command.
651
8d70a9f0
AB
6522019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
653
654 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
655 Fortran tests.
656 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
657 order.
658
36c8fb93
AB
6592019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
660
661 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
662 casting to type with no kind specified.
663 (test_basic_parsing_of_type_kinds): Additional tests for types
664 with no kind specified, and add tests for single/double
665 precision/complex types.
666
4139ff00
TT
6672019-12-04 Tom Tromey <tromey@adacore.com>
668
669 * gdb.base/endianity.c (struct other) <x>: New field.
670 (main): Initialize it.
671 * gdb.base/endianity.exp: Update.
672
a05cf17a
TT
6732019-12-04 Tom Tromey <tromey@adacore.com>
674
675 * gdb.ada/scalar_storage/storage.adb: New file.
676 * gdb.ada/scalar_storage/pck.adb: New file.
677 * gdb.ada/scalar_storage/pck.ads: New file.
678 * gdb.ada/scalar_storage.exp: New file.
679
103a685e
TT
6802019-12-04 Tom Tromey <tromey@adacore.com>
681
682 * gdb.base/endianity.c (struct otherendian) <f>: New field.
683 (main): Initialize it.
684 * gdb.base/endianity.exp: Update.
685
c2512106
AB
6862019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
687
688 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
689
293b38d6
AB
6902019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
691
692 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
693 -symbol-info-module-functions and -symbol-info-module-variables.
694
216a7e6b
AB
6952019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
696
697 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
698
5bbd8269
AB
6992019-12-01 Richard Bunt <richard.bunt@arm.com>
700 Andrew Burgess <andrew.burgess@embecosm.com>
701
702 * gdb.fortran/derived-type-striding.exp: New file.
703 * gdb.fortran/derived-type-striding.f90: New file.
704 * gdb.fortran/array-slices.exp: New file.
705 * gdb.fortran/array-slices.f90: New file.
706
be09caf1
PW
7072019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
708
709 * gdb.base/define.exp: Test . in command names.
710 * gdb.base/setshow.exp: Update test, as . is now part of
711 command name.
712
643c0cbe
PW
7132019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
714
715 * gdb.base/define-prefix.exp: New file.
716
dcdec678
AB
7172019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
718
719 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
720 compile.
721 (skip_btrace_pt_tests): Likewise.
722
640ab947
AB
7232019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
724
725 * gdb.fortran/info-modules.exp: Compile source files in correct
726 order.
727
d22670f0
KB
7282019-11-27 Kevin Buettner <kevinb@redhat.com>
729
730 * gdb.dwarf2/imported-unit.exp: New file.
731 * gdb.dwarf2/imported-unit.c: New file.
732
db5960b4
AB
7332019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
734
735 * gdb.mi/mi-fortran-modules-2.f90: New file.
736 * gdb.mi/mi-fortran-modules.exp: New file.
737 * gdb.mi/mi-fortran-modules.f90: New file.
738
7dc42066
AB
7392019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
740
741 * gdb.mi/mi-sym-info-1.c: New file.
742 * gdb.mi/mi-sym-info-2.c: New file.
743 * gdb.mi/mi-sym-info.exp: New file.
744
0dfeecca
TT
7452019-11-22 Tom Tromey <tromey@adacore.com>
746
747 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
748 * gdb.ada/tasks/foo.adb: Add another stopping location.
749
34877895
PJ
7502019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
751
752 * gdb.base/endianity.c: New test.
753 * gdb.base/endianity.exp: New file.
754
2e84f897
LD
7552019-11-21 Lukas Durfina <ldurfina@tachyum.com>
756
757 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
758
65d1cd5f
TV
7592019-11-21 Tom de Vries <tdevries@suse.de>
760
761 PR gdb/24956
762 * gdb.base/ui-redirect.exp: Test output of user-defined command.
763
4f22c3f4
SDJ
7642019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
765
766 * gdb.python/py-progspace.exp: Add missing parentheses on some
767 'print' commands.
768
9f6ad286
TT
7692019-11-19 Tom Tromey <tom@tromey.com>
770
771 * gdb.tui/winheight.exp: New file.
772
0b8dbf3f
AB
7732019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
774
775 * gdb.base/ctf-whatis.c: Delete.
776 * gdb.base/ctf-whatis.exp: Delete.
777 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
778
f833b7a7
AB
7792019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
780
781 * gdb.base/ctf-cvexpr.exp: Delete.
782 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
783
30d0a636
AB
7842019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
785
786 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
787 the compiler. Clean up header comment a little.
788 * gdb.base/ctf-ptype.exp: Likewise.
789 * gdb.base/ctf-whatis.exp: Likewise.
790 * lib/gdb.exp (skip_ctf_tests): New proc.
791
494409bb
SDJ
7922019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
793
794 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
795 * gdb.tui/corefile-run.exp: New file.
796
55708e99
TT
7972019-11-14 Tom Tromey <tromey@adacore.com>
798
799 * gdb.base/gdbvars.exp (test_convenience_variables): Add
800 regression tests.
801
45e42163
TT
8022019-11-12 Tom Tromey <tom@tromey.com>
803
804 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
805 after any command. Expect prompt after WAIT_FOR is seen.
806 (enter_tui): Enable resize messages.
807 (command): Expect command in output.
808 (get_line): Avoid error when cursor appears to be off-screen.
809 (dump_screen): Include screen size in title.
810 (_do_resize): New proc, from "resize".
811 (resize): Rewrite. Do resize in two steps.
812 * gdb.tui/empty.exp (layouts): Fix entries.
813 (check_boxes): Remove xfail.
814 (check_text): Dump screen on failure.
815
086baaf1
AB
8162019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
817
818 * gdb.python/py-symbol.exp: Add test for
819 gdb.lookup_static_symbols.
820
09ff83af
AB
8212019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
822
823 * gdb.python/py-symbol.c: Declare and call function from new
824 py-symbol-2.c file.
825 * gdb.python/py-symbol.exp: Compile both source files, and add new
826 tests for gdb.lookup_static_symbol.
827 * gdb.python/py-symbol-2.c: New file.
828
11af934b
TV
8292019-11-02 Tom de Vries <tdevries@suse.de>
830
831 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
832 * gdb.base/anon.exp: Same.
833 * gdb.base/auto-connect-native-target.exp: Same.
834 * gdb.base/call-ar-st.exp: Same.
835 * gdb.base/catch-syscall.exp: Same.
836 * gdb.base/commands.exp: Same.
837 * gdb.base/default.exp: Same.
838 * gdb.base/display.exp: Same.
839 * gdb.base/float.exp: Same.
840 * gdb.base/foll-fork.exp: Same.
841 * gdb.base/help.exp: Same.
842 * gdb.base/info-macros.exp: Same.
843 * gdb.base/info-proc.exp: Same.
844 * gdb.base/info-target.exp: Same.
845 * gdb.base/long_long.exp: Same.
846 * gdb.base/macscp.exp: Same.
847 * gdb.base/memattr.exp: Same.
848 * gdb.base/nofield.exp: Same.
849 * gdb.base/pointers.exp: Same.
850 * gdb.base/printcmds.exp: Same.
851 * gdb.base/ptype.exp: Same.
852 * gdb.base/restore.exp: Same.
853 * gdb.base/return.exp: Same.
854 * gdb.base/scope.exp: Same.
855 * gdb.base/set-noassign.exp: Same.
856 * gdb.base/setshow.exp: Same.
857 * gdb.base/shlib-call.exp: Same.
858 * gdb.base/signals.exp: Same.
859 * gdb.base/sigstep.exp: Same.
860 * gdb.base/skip.exp: Same.
861 * gdb.base/solib-symbol.exp: Same.
862 * gdb.base/stap-probe.exp: Same.
863 * gdb.base/step-line.exp: Same.
864 * gdb.base/step-test.exp: Same.
865 * gdb.base/style.exp: Same.
866 * gdb.base/varargs.exp: Same.
867 * gdb.base/vla-datatypes.exp: Same.
868 * gdb.base/vla-ptr.exp: Same.
869 * gdb.base/vla-sideeffect.exp: Same.
870 * gdb.base/volatile.exp: Same.
871 * gdb.base/watch-cond-infcall.exp: Same.
872 * gdb.base/watchpoint.exp: Same.
873
e96ec2ba
TV
8742019-11-02 Tom de Vries <tdevries@suse.de>
875
876 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
877 * gdb.cp/cpexprs.exp: Same.
878 * gdb.cp/except-multi-location.exp: Same.
879 * gdb.cp/exceptprint.exp: Same.
880 * gdb.cp/gdb2384.exp: Same.
881 * gdb.cp/inherit.exp: Same.
882 * gdb.cp/m-static.exp: Same.
883 * gdb.cp/meth-typedefs.exp: Same.
884 * gdb.cp/misc.exp: Same.
885 * gdb.cp/namespace.exp: Same.
886 * gdb.cp/non-trivial-retval.exp: Same.
887 * gdb.cp/overload.exp: Same.
888 * gdb.cp/pr17132.exp: Same.
889 * gdb.cp/re-set-overloaded.exp: Same.
890 * gdb.cp/rvalue-ref-types.exp: Same.
891 * gdb.cp/templates.exp: Same.
892
bd5766ec
LM
8932019-11-01 Luis Machado <luis.machado@linaro.org>
894
895 PR gdb/25124
896
897 * gdb.arch/pr25124.S: New file.
898 * gdb.arch/pr25124.exp: New file.
899
165f8965
AB
9002019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
901
902 * gdb.fortran/info-modules.exp: Update expected results, and add
903 additional tests for 'info module functinos', and 'info module
904 variables'.
905 * gdb.fortran/info-types.exp: Update expected results.
906 * gdb.fortran/info-types.f90: Extend testcase with additional
907 module variables and functions.
908
59c35742
AB
9092019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
910
911 * gdb.fortran/info-modules.exp: New file.
912 * gdb.fortran/info-types.exp: Build with new file.
913 * gdb.fortran/info-types.f90: Include and use new module.
914 * gdb.fortran/info-types-2.f90: New file.
915
f3fb2519
PW
9162019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
917
918 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
919 * gdb.base/settings.exp: Test all settings types using
920 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
921 that now verifies that the value of "maint show" is the same as
922 returned by the settings functions. Test the type of the
923 maintenance settings.
924 * gdb.base/default.exp: Update show_conv_list.
925
d1e36019
TV
9262019-10-31 Tom de Vries <tdevries@suse.de>
927
928 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
929 gdb_test.
930 * gdb.arch/amd64-disp-step.exp: Same.
931 * gdb.asm/asm-source.exp: Same.
932 * gdb.btrace/buffer-size.exp: Same.
933 * gdb.btrace/cpu.exp: Same.
934 * gdb.btrace/enable.exp: Same.
935 * gdb.dwarf2/count.exp: Same.
936 * gdb.dwarf2/dw2-ranges-func.exp: Same.
937 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
938 * gdb.fortran/vla-datatypes.exp: Same.
939 * gdb.fortran/vla-history.exp: Same.
940 * gdb.fortran/vla-ptype.exp: Same.
941 * gdb.fortran/vla-value.exp: Same.
942 * gdb.fortran/whatis_type.exp: Same.
943 * gdb.guile/guile.exp: Same.
944 * gdb.multi/tids.exp: Same.
945 * gdb.python/py-finish-breakpoint.exp: Same.
946 * gdb.python/py-framefilter.exp: Same.
947 * gdb.python/py-pp-registration.exp: Same.
948 * gdb.python/py-xmethods.exp: Same.
949 * gdb.python/python.exp: Same.
950 * gdb.server/connect-with-no-symbol-file.exp: Same.
951 * gdb.server/no-thread-db.exp: Same.
952 * gdb.server/run-without-local-binary.exp: Same.
953 * gdb.stabs/weird.exp: Same.
954 * gdb.threads/attach-many-short-lived-threads.exp: Same.
955 * gdb.threads/thread-find.exp: Same.
956 * gdb.threads/tls-shared.exp: Same.
957 * gdb.threads/tls.exp: Same.
958 * gdb.threads/wp-replication.exp: Same.
959 * gdb.trace/ax.exp: Same.
960 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
961
3d11e68e
TV
9622019-10-31 Tom de Vries <tdevries@suse.de>
963
964 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
965 * gdb.ada/array_subscript_addr.exp: Same.
966 * gdb.ada/arrayidx.exp: Same.
967 * gdb.ada/arrayparam.exp: Same.
968 * gdb.ada/arrayptr.exp: Same.
969 * gdb.ada/boolean_expr.exp: Same.
970 * gdb.ada/call_pn.exp: Same.
971 * gdb.ada/complete.exp: Same.
972 * gdb.ada/fixed_cmp.exp: Same.
973 * gdb.ada/fun_addr.exp: Same.
974 * gdb.ada/funcall_param.exp: Same.
975 * gdb.ada/interface.exp: Same.
976 * gdb.ada/mod_from_name.exp: Same.
977 * gdb.ada/null_array.exp: Same.
978 * gdb.ada/packed_array.exp: Same.
979 * gdb.ada/packed_tagged.exp: Same.
980 * gdb.ada/print_chars.exp: Same.
981 * gdb.ada/print_pc.exp: Same.
982 * gdb.ada/ptype_arith_binop.exp: Same.
983 * gdb.ada/ptype_field.exp: Same.
984 * gdb.ada/ptype_tagged_param.exp: Same.
985 * gdb.ada/rec_return.exp: Same.
986 * gdb.ada/ref_tick_size.exp: Same.
987 * gdb.ada/str_ref_cmp.exp: Same.
988 * gdb.ada/taft_type.exp: Same.
989 * gdb.ada/tagged.exp: Same.
990 * gdb.ada/type_coercion.exp: Same.
991 * gdb.ada/uninitialized_vars.exp: Same.
992
60b6ede8
TV
9932019-10-30 Tom de Vries <tdevries@suse.de>
994
995 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
996
30baf67b
TV
9972019-10-26 Tom de Vries <tdevries@suse.de>
998
999 * gdb.base/bigcore.c: Fix typos in comments.
1000 * gdb.base/ctf-ptype.c: Same.
1001 * gdb.base/long_long.c: Same.
1002 * gdb.dwarf2/dw2-op-out-param.S: Same.
1003 * gdb.python/py-evthreads.c: Same.
1004 * gdb.reverse/i387-stack-reverse.c: Same.
1005 * gdb.trace/tfile.c: Same.
1006 * lib/compiler.c: Same.
1007 * lib/compiler.cc: Same.
1008
158da0d1
TV
10092019-10-25 Tom de Vries <tdevries@suse.de>
1010
1011 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1012 gdb_test_multiple calls.
1013 * gdb.reverse/sigall-reverse.exp: Same.
1014 * gdb.reverse/solib-precsave.exp: Same.
1015 * gdb.reverse/solib-reverse.exp: Same.
1016 * gdb.reverse/until-precsave.exp: Same.
1017 * gdb.reverse/until-reverse.exp: Same.
1018
4ccdfbec
TV
10192019-10-24 Tom de Vries <tdevries@suse.de>
1020
1021 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1022 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1023 kfail using -wrap pattern flag and convenience variable
1024 gdb_test_name.
1025
33d569b7
AB
10262019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1027
1028 * gdb.python/py-progspace.exp: Add tests for the
1029 Progspace.block_for_pc method.
1030
4d0b984b
TT
10312019-10-23 Tom Tromey <tom@tromey.com>
1032
1033 * configure: Rebuild.
1034 * aclocal.m4: Use m4_include, not sinclude.
1035
94cb3754
TV
10362019-10-21 Tom de Vries <tdevries@suse.de>
1037
1038 * gdb.base/infcall-nested-structs.c: Add
1039 __attribute__((noinline,noclone)) to all functions.
1040 (call_all): Add missing variable initialization. Simplify return value.
1041 (breakpt): Increment volatile variable, to prevent call from being
1042 optimized out.
1043 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1044
062f1fc1
TV
10452019-10-17 Tom de Vries <tdevries@suse.de>
1046
1047 * gdb.fortran/module.exp: Allow info variables to print info for files
1048 other than module.f90.
1049
0b54364d
AB
10502019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1051
1052 * gdb.fortran/module.exp: Extend with 'info variables' test.
1053
7ff5fae7
AB
10542019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1055
1056 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1057 F77_FOR_TARGET.
1058
d10eccaa
TV
10592019-10-16 Tom de Vries <tdevries@suse.de>
1060
1061 PR tdep/25096
1062 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1063
745ff14e
TV
10642019-10-16 Tom de Vries <tdevries@suse.de>
1065
1066 PR tdep/24104
1067 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1068 Add KFAIL for PR tdep/25096.
1069
03e1ab94
TV
10702019-10-16 Tom de Vries <tdevries@suse.de>
1071
1072 PR testsuite/25059
1073 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1074
b17fcc10
TV
10752019-10-16 Tom de Vries <tdevries@suse.de>
1076
1077 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1078 as signed.
1079
9223170f
SM
10802019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1081
1082 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1083 one instead of increasing timeout.
1084
d6e76313
TV
10852019-10-13 Tom de Vries <tdevries@suse.de>
1086
1087 PR record/25038
1088 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1089 * gdb.reverse/sigall-reverse.exp: Same.
1090 * gdb.reverse/solib-precsave.exp: Same.
1091 * gdb.reverse/solib-reverse.exp: Same.
1092 * gdb.reverse/step-precsave.exp: Same.
1093 * gdb.reverse/until-precsave.exp: Same.
1094 * gdb.reverse/until-reverse.exp: Same.
1095 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1096
6dfc0041
AA
10972019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1098
1099 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1100 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1101 (cmp_struct_05_01, cmp_struct_static_02_01)
1102 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1103 comparisons.
1104
abcf2cc8
TV
11052019-10-10 Tom de Vries <tdevries@suse.de>
1106
1107 PR testsuite/24888
1108 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1109 gnatlink.
1110
a50faaf6
TV
11112019-10-09 Tom de Vries <tdevries@suse.de>
1112
1113 PR testsuite/25048
1114 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1115
60ff3cd7
AB
11162019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1117
1118 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1119 exceptions due to missing debug information.
1120
dfee8566
TV
11212019-10-07 Tom de Vries <tdevries@suse.de>
1122
1123 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1124
3d63690a
AB
11252019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1126
1127 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1128 * gdb.base/annota1.exp: Update to use gdb_test_name.
1129
30d1f018
WP
11302019-10-07 Weimin Pan <weimin.pan@oracle.com>
1131
1132 * gdb.base/ctf-whatis.exp: New file.
1133 * gdb.base/ctf-whatis.c: New file.
1134 * gdb.base/ctf-ptype.exp: New file.
1135 * gdb.base/ctf-ptype.c: New file.
1136 * gdb.base/ctf-constvars.exp: New file.
1137 * gdb.base/ctf-constvars.c: New file.
1138 * gdb.base/ctf-cvexpr.exp: New file.
1139
4dbbb47c
TV
11402019-10-04 Tom de Vries <tdevries@suse.de>
1141
1142 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1143 for loop.
1144
77c2dba3
TT
11452019-10-03 Tom Tromey <tom@tromey.com>
1146
1147 PR rust/24976:
1148 * gdb.rust/simple.rs (Union2): New type.
1149 (main): Use Union2.
1150 * gdb.rust/simple.exp: Add test.
1151
179aed7f
AB
11522019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1153
1154 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1155 nested function prefix.
1156
0a4b0913
AB
11572019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1158 Richard Bunt <richard.bunt@arm.com>
1159 Andrew Burgess <andrew.burgess@embecosm.com>
1160
1161 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1162 nested functions.
1163 * gdb.fortran/nested-funcs.f90: Update expected results.
1164 * gdb.fortran/nested-funcs-2.exp: New file.
1165 * gdb.fortran/nested-funcs-2.f90: New file.
1166
082cce05
AB
11672019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1168
1169 * gdb.python/py-parameter.exp: Make test names unique.
1170 * gdb.python/py-template.exp: Likewise.
1171 * gdb.python/py-value.exp: Likewise.
1172
2b74ba5a
AB
11732019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1174
1175 * gdb.base/break-interp.exp: Reduce test name duplication.
1176 * gdb.base/call-sc.exp: Likewise.
1177 * gdb.base/callfuncs.exp: Likewise.
1178 * gdb.base/charset.exp: Likewise.
1179 * gdb.base/dump.exp: Likewise.
1180 * gdb.base/ena-dis-br.exp: Likewise.
1181 * gdb.base/relational.exp: Likewise.
1182 * gdb.base/step-over-syscall.exp: Likewise.
1183 * gdb.base/structs.exp: Likewise.
1184
58eb20d5
AB
11852019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1186
1187 * gdb.linespec/explicit.exp: Make test names unique.
1188 * gdb.linespec/ls-errs.exp: Likewise.
1189
4d421147
AB
11902019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1191
1192 * gdb.reverse/break-precsave.exp: Make test names unique.
1193 * gdb.reverse/break-reverse.exp: Likewise.
1194 * gdb.reverse/finish-precsave.exp: Likewise.
1195 * gdb.reverse/finish-reverse.exp: Likewise.
1196 * gdb.reverse/machinestate-precsave.exp: Likewise.
1197 * gdb.reverse/machinestate.exp: Likewise.
1198 * gdb.reverse/readv-reverse.exp: Likewise.
1199 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1200 * gdb.reverse/sigall-precsave.exp: Likewise.
1201 * gdb.reverse/sigall-reverse.exp: Likewise.
1202 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1203 * gdb.reverse/watch-precsave.exp: Likewise.
1204 * gdb.reverse/watch-reverse.exp: Likewise.
1205
d8c06f22
AB
12062019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1207
1208 * gdb.threads/stop-with-handle.c: New file.
1209 * gdb.threads/stop-with-handle.exp: New file.
1210
3a56ed86
TV
12112019-10-03 Tom de Vries <tdevries@suse.de>
1212
1213 PR testsuite/25059
1214 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1215 directory" line to be missing.
1216
42275044
TV
12172019-10-03 Tom de Vries <tdevries@suse.de>
1218
1219 PR testsuite/25059
1220 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1221 type optional.
1222
9ef62df0
AA
12232019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1224
1225 * gdb.python/py-format-string.c (string.h): New include.
1226 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1227 the same value, for endianness-independence.
1228 * gdb.python/py-format-string.exp (default_regexp_dict)
1229 (test_pretty_structs, test_format): Adjust expected output to the
1230 changed initialization.
1231
37f6a7f4
TT
12322019-10-02 Tom Tromey <tromey@adacore.com>
1233
1234 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1235
1d58d6a2
PA
12362019-10-02 Pedro Alves <palves@redhat.com>
1237 Andrew Burgess <andrew.burgess@embecosm.com>
1238
1239 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1240 "print-file-var.h".
1241 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1242 (get_version_1): Print this_version_id and its address.
1243 Add extern "C" wrappers around interface functions.
1244 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1245 "print-file-var.h".
1246 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1247 (get_version_2): Print this_version_id and its address.
1248 Add extern "C" wrappers around interface functions.
1249 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1250 <stddef.h> and "print-file-var.h".
1251 Add extern "C" wrappers around interface functions.
1252 [VERSION_ID_MAIN] (this_version_id): Define.
1253 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1254 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1255 up extern "C" blocks.
1256 * gdb.base/print-file-var.exp (test): New, factored out from top
1257 level.
1258 (top level): Test all combinations of attribute hidden or not,
1259 dlopen or not, and this_version_id symbol in main file or not.
1260 Compile tests as both C++ and C, make test names unique.
1261
d770d56f
TT
12622019-10-01 Tom Tromey <tom@tromey.com>
1263
1264 * gdb.base/style.exp: Test "show logging filename".
1265
7f6aba03
TT
12662019-10-01 Tom Tromey <tom@tromey.com>
1267
1268 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1269 * gdb.base/style.exp: Add metadata style test.
1270
14309bb6
TT
12712019-10-01 Tom Tromey <tom@tromey.com>
1272
1273 * gdb.base/style.exp: Test "pwd".
1274
2a3c1174
PA
12752019-10-01 Tom Tromey <tom@tromey.com>
1276
1277 * gdb.base/style.exp: Update tests.
1278
53d666ec
AA
12792019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1280
1281 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1282 'six' to unsigned.
1283 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1284 'five'. Use an all-ones bit pattern for each.
1285 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1286 to its changed values.
1287
4a56a520
TT
12882019-09-30 Tom Tromey <tromey@adacore.com>
1289
1290 * gdb.rust/traits.rs: Disable all warnings.
1291
0df0352a
TV
12922019-09-29 Tom de Vries <tdevries@suse.de>
1293
1294 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1295
73d9a918
TV
12962019-09-29 Tom de Vries <tdevries@suse.de>
1297
1298 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1299
060b3ab4
TV
13002019-09-27 Tom de Vries <tdevries@suse.de>
1301
1302 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1303
68f7d34d
TV
13042019-09-27 Tom de Vries <tdevries@suse.de>
1305
1306 PR record/23188
1307 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1308
5d63b30a
TT
13092019-09-26 Tom Tromey <tromey@adacore.com>
1310
1311 * gdb.ada/py_taft.exp: New file.
1312 * gdb.ada/py_taft/main.adb: New file.
1313 * gdb.ada/py_taft/pkg.adb: New file.
1314 * gdb.ada/py_taft/pkg.ads: New file.
1315
3d435220
TV
13162019-09-24 Tom de Vries <tdevries@suse.de>
1317
1318 PR gdb/24598
1319 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1320
77d03678
TV
13212019-09-22 Tom de Vries <tdevries@suse.de>
1322
1323 * gdb.base/restore.exp: Allow register variables to be optimized out at
1324 -O0.
1325
abf516c6
UW
13262019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1327
1328 * gdb.arch/spu-info.exp: Remove file.
1329 * gdb.arch/spu-info.c: Remove file.
1330 * gdb.arch/spu-ls.exp: Remove file.
1331 * gdb.arch/spu-ls.c: Remove file.
1332
1333 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1334 * gdb.asm/spu.inc: Remove file.
1335
1336 * gdb.base/dump.exp: Remove support for spu*-*-*.
1337 * gdb.base/stack-checking.exp: Likewise.
1338 * gdb.base/overlays.exp: Likewise.
1339 * gdb.base/ovlymgr.c: Likewise.
1340 * gdb.base/spu.ld: Remove file.
1341
1342 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1343 * gdb.cp/cpexprs.exp: Likewise.
1344 * gdb.cp/exception.exp: Likewise.
1345 * gdb.cp/gdb2495.exp: Likewise.
1346 * gdb.cp/mb-templates.exp: Likewise.
1347 * gdb.cp/pr9167.exp: Likewise.
1348 * gdb.cp/userdef.exp: Likewise.
1349
1350 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1351
1352 * gdb.cell: Remove directory.
1353 * lib/cell.exp: Remove file.
1354
e452e88f
TV
13552019-09-19 Tom de Vries <tdevries@suse.de>
1356
1357 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1358
8a625130
TV
13592019-09-19 Tom de Vries <tdevries@suse.de>
1360
1361 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1362
81dc3ab5
TV
13632019-09-19 Tom de Vries <tdevries@suse.de>
1364
1365 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1366 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1367 (gdb_target_cmd): ... here.
1368 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1369 value 2.
1370
b078f3ac
AB
13712019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1372
1373 * gdb.base/source-dir.exp: Avoid having directory names in test
1374 names.
1375
f1b620e9
MG
13762019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1377
1378 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1379 directory.
1380
67f3ed6a
AB
13812019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1382
1383 * gdb.base/list-missing-source.exp: New file.
1384
d1b70248
TV
13852019-09-14 Tom de Vries <tdevries@suse.de>
1386
1387 PR teststuite/24599
1388 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1389 * lib/ada.exp (gnatmake_version_at_least): New proc.
1390
5fabdcd6
AB
13912019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1392
1393 * gdb.base/maint.exp: Use exec_has_index_section.
1394
aa17805f
AB
13952019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1396
1397 * gdb.base/maint.exp: Add test for 'maint info sections'.
1398
25e5c209
TV
13992019-09-12 Tom de Vries <tdevries@suse.de>
1400
1401 * gdb.base/store.exp: Allow register variables to be optimized out at
1402 -O0.
1403
4993045d
PW
14042019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1405
1406 * gdb.ada/rdv_wait.exp: Update to new task names.
1407 * gdb.base/task_switch_in_core.exp: Likewise.
1408 * gdb.base/info_sources_base.c: Likewise.
1409
8a516164
TT
14102019-09-10 Tom Tromey <tromey@adacore.com>
1411
1412 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1413
aa391654
TT
14142019-09-10 Tom Tromey <tromey@adacore.com>
1415
1416 * gdb.ada/dgopt.exp: New file.
1417 * gdb.ada/dgopt/x.adb: New file.
1418
8634b462
TT
14192019-09-08 Tom Tromey <tom@tromey.com>
1420
1421 * gdb.tui/resize.exp: Remove setup_xfail.
1422 * gdb.tui/regs.exp: Remove setup_xfail.
1423 * gdb.tui/basic.exp: Remove setup_xfail.
1424
736b0f76
DB
14252019-09-06 David Blaikie <dblaikie@gmail.com>
1426
1427 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1428 * gdb.cp/cplabel.exp: Ditto.
1429 * gdb.linespec/ls-errs.exp: Ditto.
1430
30331a6c
TV
14312019-09-05 Tom de Vries <tdevries@suse.de>
1432
1433 * lib/gdb.exp (cmp_file_string): New proc.
1434 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1435 runto_main. Verify save breakpoints output.
1436
98b0ebab
PW
14372019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1438
1439 * gdb.base/info-var.exp: Test info variables without running
1440 to main, to avoid expect's buffer overflow.
1441
4e962e74
TT
14422019-09-03 Tom Tromey <tromey@adacore.com>
1443
1444 * gdb.ada/bias.exp: New file.
1445 * gdb.ada/bias/bias.adb: New file.
1446 * gdb.ada/print_chars.exp: Add regression test.
1447 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1448 (MC): New variable.
1449
2ea1a07a
SL
14502019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1451
1452 * gdb.base/argv0-symlink.exp: Run only on native target
1453 and local host.
1454
8077c50d
TV
14552019-08-29 Tom de Vries <tdevries@suse.de>
1456
1457 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1458 diverse debug info.
1459 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1460
48352473
TV
14612019-08-28 Tom de Vries <tdevries@suse.de>
1462
1463 * gdb.base/info-var.exp: Allow info variables to print info for files
1464 other than info-var-f1.c and info-var-f2.c.
1465
d8f27c60
AB
14662019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1467
1468 * gdb.fortran/info-types.exp: Add module.
1469 * gdb.fortran/info-types.f90: Update expected results.
1470
1f20c35e
AB
14712019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1472
1473 * gdb.fortran/info-types.exp: New file.
1474 * gdb.fortran/info-types.f90: New file.
1475 * lib/fortran.exp (fortran_character1): New proc.
1476
4acfdd20
AB
14772019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1478
1479 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1480 functions'. Reindent as needed.
1481 * gdb.base/info-var-f1.c: New file.
1482 * gdb.base/info-var-f2.c: New file.
1483 * gdb.base/info-var.exp: New file.
1484 * gdb.base/info-var.h: New file.
1485
5c31b358
TV
14862019-08-26 Tom de Vries <tdevries@suse.de>
1487
1488 PR c++/24852
1489 * gdb.cp/no-libstdcxx-probe.exp: New test.
1490
b694989f
TV
14912019-08-26 Tom de Vries <tdevries@suse.de>
1492
1493 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1494 * tests need to be skipped.
1495 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1496 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1497 mi_skip_libstdcxx_probe_tests.
1498
d9c4ba53
SDJ
14992019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1500
1501 * gdb.python/py-xmethods.exp: Use raw strings when passing
1502 arguments to SimpleXMethodMatcher.
1503
395fad09
TV
15042019-08-22 Tom de Vries <tdevries@suse.de>
1505
1506 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1507 more informative.
1508
26c957f1
PA
15092019-08-21 Pedro Alves <palves@redhat.com>
1510
1511 * gdb.base/with.exp: Test "with" with no arguments.
1512
61f80d5d
TV
15132019-08-21 Tom de Vries <tdevries@suse.de>
1514
1515 * gdb.base/gdb-caching-proc.exp: Sort files.
1516
d7a11d13
TV
15172019-08-20 Tom de Vries <tdevries@suse.de>
1518
1519 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1520 compilation.
1521
34dafe9f
TV
15222019-08-16 Tom de Vries <tdevries@suse.de>
1523
1524 * gdb.base/compare-sections.exp ("after run to main"): Allow
1525 mismatched read-only sections for PIE executables.
1526
398fdd60
TT
15272019-08-16 Tom Tromey <tom@tromey.com>
1528
1529 * lib/tuiterm.exp (_csi_Z): New proc.
1530 * gdb.tui/basic.exp: Update window positions.
1531 * gdb.tui/empty.exp: Update window positions.
1532
d8f9e51c
SL
15332019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1534
1535 * gdb.base/examine-backward.exp: Correct regexp for
1536 "examine 3 bytes backward from ${address_zero}".
1537
3df505f6
TT
15382019-08-15 Tom Tromey <tom@tromey.com>
1539
1540 * gdb.tui/empty.exp: Enable resizing tests.
1541
272560b5
TT
15422019-08-15 Tom Tromey <tromey@adacore.com>
1543
1544 * gdb.ada/char_enum.exp: Add regression tests.
1545 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1546 and '0'.
1547 (Char, Gchar): Update.
1548 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1549
08235187
CB
15502019-08-15 Christian Biesinger <cbiesinger@google.com>
1551
1552 * gdb.python/python.exp: Expect a leading underscore on
1553 GdbOutput{,Error}File.
1554
22a2ab04
SL
15552019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1556
1557 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1558 Windows host.
1559
835b995b
SL
15602019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1561
1562 * gdb.base/batch-preserve-term-settings.exp
1563 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1564
97dd8e07
CB
15652019-08-15 Christian Biesinger <cbiesinger@google.com>
1566
1567 * lib/gdb.exp: When running on a mingw target, replace
1568 /x/ with x:/.
1569
75faf5c4
AH
15702019-08-14 Alan Hayward <alan.hayward@arm.com>
1571
1572 * gdb.arch/aarch64-prologue.c: New test.
1573 * gdb.arch/aarch64-prologue.exp: New file.
1574
abc6c00f
TV
15752019-08-13 Tom de Vries <tdevries@suse.de>
1576
1577 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1578 Thread.
1579
74c2c1f4
SL
15802019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1581
1582 * gdb.python/py-completion.exp: Download the .py file to the host
1583 and use its host pathname. Conditionalize tests that use
1584 tab completion and manipulate files on the build machine.
1585 * gdb.python/py-events.exp: Download the .py file to the host
1586 and use its host pathname.
1587 * gdb.python/py-evsignal.exp: Likewise.
1588 * gdb.python/py-evthreads.exp: Likewise.
1589 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1590 pathname syntax.
1591 * gdb.python/py-framefilter.exp: Download the .py file to the right
1592 place on the host. Match Windows pathname syntax.
1593 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1594 .py file to the host and use its host pathname.
1595 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1596 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1597 build pathname. Skip symlink test on Windows host. Add missing
1598 newline at end of file.
1599 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1600 and use its host pathname.
1601 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1602 * gdb.python/py-section-script.exp: Use host location of binfile
1603 on safe-path. Use correct path separator on Windows host.
1604 Reorder alternatives in gdb_test_multiple to prevent matching
1605 the wrong alternative on success.
1606 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1607
ca2589f3
PP
16082019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1609
1610 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1611 expect the GDB inferior to no longer immediately stop after
1612 being resumed with "signal SIGINT".
1613
020a839d
SL
16142019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1615
1616 * gdb.linespec/break-ask.exp: Generalize regexps to match
1617 Windows pathnames too.
1618
128d6509
TV
16192019-08-08 Tom de Vries <tdevries@suse.de>
1620
1621 PR testsuite/24862
1622 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1623
590042fc
PW
16242019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1625
1626 * gdb.base/style.exp: Update tests for help doc new invariants.
1627 * gdb.base/help.exp: Likewise.
1628
046bebe1
TT
16292019-08-06 Tom Tromey <tom@tromey.com>
1630
1631 * gdb.base/style.exp: Add disassemble test.
1632 * gdb.base/style.c (some_called_function): New function.
1633 (main): Use it.
1634
0b27c27d
CB
16352019-08-05 Christian Biesinger <cbiesinger@google.com>
1636
1637 * gdb.python/py-block.exp: Test dictionary access on blocks.
1638
580f1034
SM
16392019-08-05 Simon Marchi <simon.marchi@efficios.com>
1640
1641 PR gdb/24863
1642 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1643 -list-thread-groups --available test when running under
1644 check-read1.
1645
d86bd7cb
TV
16462019-08-05 Tom de Vries <tdevries@suse.de>
1647
1648 PR testsuite/24863
1649 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1650 * gdb.base/help.exp: Use with_read1_timeout_factor.
1651 * gdb.base/info-macros.exp: Same.
1652 * gdb.cp/nested-types.exp: Same.
1653
a80cf5d8
TV
16542019-08-05 Tom de Vries <tdevries@suse.de>
1655
1656 * lib/gdb.exp (version_at_least): Factor out of ...
1657 (tcl_version_at_least): ... here.
1658 (gdb_compile): Fail if pie results in non-PIE executable.
1659 (readelf_version, readelf_prints_pie): New proc.
1660 (exec_is_pie): Return -1 if unknown.
1661
d0962838
TV
16622019-08-05 Tom de Vries <tdevries@suse.de>
1663
1664 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1665
2252ff3d
SL
16662019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1667
1668 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1669
26655f53
SL
16702019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1671
1672 * lib/completion-support.exp (test_gdb_complete_none): Skip
1673 tab completion tests if no readline support.
1674 (test_gdb_complete_unique_re): Likewise.
1675 (test_gdb_complete_multiple): Likewise.
1676
db4dc13e
PW
16772019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1678
1679 * gdb.base/info_sources.exp: New file.
1680 * gdb.base/info_sources.c: New file.
1681 * gdb.base/info_sources_base.c: New file.
1682
0eba165a
PFC
16832019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1684
1685 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1686 prefix argument.
1687 (test_exit_status): Add prefix argument.
1688
59bd512b
TV
16892019-08-01 Tom de Vries <tdevries@suse.de>
1690
1691 PR testsuite/24863
1692 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1693 calling exp_continue for new thread and thread exited messages.
1694
2a3ad588
TV
16952019-08-01 Tom de Vries <tdevries@suse.de>
1696
1697 PR testsuite/24863
1698 * gdb.base/structs.exp: Fix check-read1 timeout using
1699 gdb_test_sequence.
1700 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1701
117eb594
TV
17022019-08-01 Tom de Vries <tdevries@suse.de>
1703
1704 PR testsuite/24863
1705 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1706 line.
1707
ed591340
TV
17082019-08-01 Tom de Vries <tdevries@suse.de>
1709
1710 PR testsuite/24863
1711 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1712
aa3b6533
TT
17132019-07-30 Tom Tromey <tromey@adacore.com>
1714
1715 * gdb.ada/display_nested.exp: New file.
1716 * gdb.ada/display_nested/foo.adb: New file.
1717 * gdb.ada/display_nested/pack.adb: New file.
1718 * gdb.ada/display_nested/pack.ads: New file.
1719
2906593f
CB
17202019-07-30 Christian Biesinger <cbiesinger@google.com>
1721
1722 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1723 namespace.
1724 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1725
0f575925
TV
17262019-07-30 Tom de Vries <tdevries@suse.de>
1727
1728 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1729 instead.
1730
b13057d9
TV
17312019-07-30 Tom de Vries <tdevries@suse.de>
1732
1733 PR testsuite/24834
1734 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1735 (exec_is_pie): New proc.
1736
5c4dde85
CB
17372019-07-29 Christian Biesinger <cbiesinger@google.com>
1738
1739 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1740
c620ed88
CB
17412019-07-29 Christian Biesinger <cbiesinger@google.com>
1742
1743 * gdb.python/py-objfile.c: Add global and static vars.
1744 * gdb.python/py-objfile.exp: Test new functions Objfile.
1745 lookup_global_symbol and lookup_static_symbol.
1746
3d235706
TT
17472019-07-29 Tom Tromey <tom@tromey.com>
1748
1749 * lib/tuiterm.exp (Term::_csi_@): New proc.
1750 (Term::_csi_X): Don't move cursor.
1751
c7e4c0a6
PW
17522019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1753
1754 * gdb.base/options.exp: Update backtrace - completion to
1755 new option -frame-info.
1756 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1757 Test new 'set print frame-info'. Test backtrace -frame-info
1758 overriding 'set print frame-info'.
1759 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1760 Test new 'set print frame-info'.
1761 Verify consistency of backtrace with and without filters, with and
1762 without -no-filters.
1763 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1764 default.
1765
de28a3b7
TV
17662019-07-29 Tom de Vries <tdevries@suse.de>
1767
1768 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1769 no arguments".
1770
507dd60e
TV
17712019-07-29 Tom de Vries <tdevries@suse.de>
1772
1773 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1774 is a substring of the first for "complete non-unique file name".
1775
5beafce9
TV
17762019-07-29 Tom de Vries <tdevries@suse.de>
1777
1778 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1779 with ".*".
1780
2d274232
TV
17812019-07-29 Tom de Vries <tdevries@suse.de>
1782
1783 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1784 Pass prompt_regexp parameter to gdb_test_multiple calls.
1785
9197cd8b
TV
17862019-07-29 Tom de Vries <tdevries@suse.de>
1787
1788 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1789 print registers" regexps.
1790
b528dae0
TV
17912019-07-29 Tom de Vries <tdevries@suse.de>
1792
1793 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1794
d17725d7
TV
17952019-07-29 Tom de Vries <tdevries@suse.de>
1796
1797 PR gdb/24855
1798 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1799 (skip_python_tests_prompt): Add prompt_regexp argument to
1800 gdb_test_multiple calls.
1801
52b75bf1
TT
18022019-07-27 Tom Tromey <tom@tromey.com>
1803
1804 * gdb.tui/main.exp: New file.
1805
2b1d00c2
TT
18062019-07-27 Tom Tromey <tom@tromey.com>
1807
1808 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1809 optional.
1810 * gdb.tui/empty.exp: New file.
1811
ded631d5
TT
18122019-07-27 Tom Tromey <tom@tromey.com>
1813
1814 * lib/tuiterm.exp (spawn): New proc.
1815 (Term::resize): New proc.
1816 * gdb.tui/resize.exp: New file.
1817
58ac439d
TT
18182019-07-27 Tom Tromey <tom@tromey.com>
1819
1820 * gdb.tui/list.exp: New file.
1821
fe1f56ee
TT
18222019-07-27 Tom Tromey <tom@tromey.com>
1823
1824 * gdb.tui/regs.exp: New file.
1825
f790b310
TT
18262019-07-27 Tom Tromey <tom@tromey.com>
1827
1828 * gdb.tui/basic.exp: Add "layout split" test.
1829
d95fc6ee
TT
18302019-07-27 Tom Tromey <tom@tromey.com>
1831
1832 * gdb.tui/basic.exp: Add "layout asm" test.
1833
c3786b3a
TT
18342019-07-27 Tom Tromey <tom@tromey.com>
1835
1836 * lib/tuiterm.exp: New file.
1837 * gdb.tui/basic.exp: New file.
1838
98a617f8
KB
18392019-07-27 Kevin Buettner <kevinb@redhat.com>
1840
1841 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1842 Enable tests associated with this flag. Adjust regex
1843 referencing "foo_low" to now refer to "foo_cold" instead.
1844
5c076da4
KB
18452019-07-27 Kevin Buettner <kevinb@redhat.com>
1846
1847 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1848 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1849 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1850 foo_cold. Revise comments to match.
1851 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1852 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1853 were wrapped into this proc; Call do_test in loop from outermost
1854 level.
1855 (foo_low): Rename all occurrences to "foo_cold".
1856 (backtrace from baz): New test.
1857 (x2/i foo_cold): New test.
1858 (info line *foo_cold): New test.
1859
1512d3b7
TV
18602019-07-26 Tom de Vries <tdevries@suse.de>
1861
1862 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1863
297989a1
TV
18642019-07-25 Tom de Vries <tdevries@suse.de>
1865
1866 PR testsuite/24830
1867 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1868 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1869 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1870 (skip_libstdcxx_probe_tests): ... here.
1871 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1872
b3b965fb
TV
18732019-07-24 Tom de Vries <tdevries@suse.de>
1874
1875 PR testsuite/24807
1876 * gdb.objc/basicclass.m: Include stdio.h.
1877 * gdb.objc/nondebug.m: Same.
1878 * gdb.objc/objcdecode.m: Same.
1879
4625b4d0
TV
18802019-07-24 Tom de Vries <tdevries@suse.de>
1881
1882 PR testsuite/24612
1883 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1884 additional_flags.
1885
024a5840
TV
18862019-07-24 Tom de Vries <tdevries@suse.de>
1887
1888 PR testsuite/24831
1889 * gdb.multi/tids.exp: Update error messages for info threads.
1890
c76ddaa3
TV
18912019-07-24 Tom de Vries <tdevries@suse.de>
1892
1893 * gdb.base/info-types.exp: Allow info types to print info for more than
1894 one file.
1895
9a618ef6
TV
18962019-07-23 Tom de Vries <tdevries@suse.de>
1897
1898 PR testsuite/24842
1899 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1900 gdb_spawn_with_cmdline_opts.
1901
40eadf04
SP
19022019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1903
1904 * gdb.arch/arm-cmse-sgstubs.c: New test.
1905 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1906
5ba29434
TV
19072019-07-23 Tom de Vries <tdevries@suse.de>
1908
1909 PR testsuite/24711
1910 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1911 issuing next command.
1912
a8e9d247
AB
19132019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1914
1915 * gdb.ada/info_auto_lang.exp: Update expected results.
1916 * gdb.base/info-types.c: Add additional types to check.
1917 * gdb.base/info-types.exp: Update expected results.
1918
eb86c5e2
AB
19192019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1920
1921 * gdb.base/info-types.c: New file.
1922 * gdb.base/info-types.exp: New file.
1923
01e175fe
AB
19242019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1925
1926 * gdb.arch/riscv-bp-infcall.c: New file.
1927 * gdb.arch/riscv-bp-infcall.exp: New file.
1928
6b78c3f8
AB
19292019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1930
1931 PR breakpoints/24541
1932 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1933
da738167
TV
19342019-07-14 Tom de Vries <tdevries@suse.de>
1935
1936 PR testsuite/24760
1937 * gdb.objc/basicclass.exp: Fix unterminated string.
1938
0d4e84ed
AB
19392019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1940 Andrew Burgess <andrew.burgess@embecosm.com>
1941
1942 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1943 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1944 negative bounds.
1945 * gdb.fortran/vla-value.exp: Print elements of an array with
1946 negative bounds.
1947 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1948 testing.
1949
021d8588
AB
19502019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1951
1952 * gdb.base/options.exp (expect_string): Dequote strings in
1953 results.
1954 (test-string): Test strings with different quoting and reindent.
1955
f06f1252
TT
19562019-07-10 Tom Tromey <tromey@adacore.com>
1957
1958 * gdb.ada/mi_ex_cond.exp: Update expected results.
1959 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1960 * gdb.ada/mi_catch_ex.exp: Update expected results.
1961 * gdb.ada/mi_catch_assert.exp: Update expected results.
1962 * gdb.ada/catch_ex.exp (catch_exception_info)
1963 (catch_exception_entry, catch_assert_entry)
1964 (catch_unhandled_entry): Update.
1965 * gdb.ada/catch_assert_if.exp: Update expected results.
1966
b863685d
RB
19672019-07-10 Richard Bunt <richard.bunt@arm.com>
1968 Stephen Roberts <stephen.roberts@arm.com>
1969
1970 * gdb.base/define.exp: Restore original prompt.
1971
cb1e4e32
PA
19722019-07-09 Pedro Alves <palves@redhat.com>
1973
1974 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1975 breakpoints" output.
1976 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1977 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1978 throw" creates breakpoint.
1979 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1980 'type="catchpoint"'.
1981
b58a68fe
PA
19822019-07-09 Pedro Alves <palves@redhat.com>
1983
1984 PR c++/15468
1985 * gdb.cp/except-multi-location-lib.cc: New.
1986 * gdb.cp/except-multi-location-main.cc: New.
1987 * gdb.cp/except-multi-location.exp: New.
1988
0826779b
PW
19892019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1990
1991 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1992 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1993 argument and update callers.
1994
5b0e2db4
AB
19952019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1996
1997 * gdb.arch/amd64-break-on-asm-line.S: New file.
1998 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1999
1f6f6e21
PW
20002019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2001
2002 * gdb.base/printcmds.exp: Test printing C string and
2003 C wide string convenience vars without transiting via the inferior.
2004 Also make test names unique.
2005
ea142fbf
AH
20062019-07-08 Alan Hayward <alan.hayward@arm.com>
2007
5862c886 2008 PR breakpoints/25011
ea142fbf
AH
2009 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2010
213fd9fa
PA
20112019-07-04 Pedro Alves <palves@redhat.com>
2012
2013 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2014 body returned ok(0), break(3) or continue(4).
2015 * gdb.testsuite/foreach_with_prefix.exp: New file.
2016
2b40fda7
AH
20172019-07-04 Alan Hayward <alan.hayward@arm.com>
2018
2019 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2020
a26c8de0
PA
20212019-07-03 Pedro Alves <palves@redhat.com>
2022
2023 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2024 "return -code".
2025
5f4ba3e7
PA
20262019-07-03 Pedro Alves <palves@redhat.com>
2027
2028 PR cli/24732
2029 * gdb.base/shell.exp: Load completion-support.exp.
2030 Adjust expected error output. Add completion tests.
2031
a994424f
PA
20322019-07-03 Pedro Alves <palves@redhat.com>
2033
2034 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2035 string_to_regexp.
2036
3d9be6f5
PA
20372019-07-03 Pedro Alves <palves@redhat.com>
2038
2039 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2040 (expect_integer): Adjust to expect "-string".
2041 (expect_string): New.
2042 (all_options): Expect "-string".
2043 (test-flag, test-boolean): Adjust to expect "-string".
2044 (test-string): New proc.
2045 (top level): Call it.
2046
41fc454c
PA
20472019-07-03 Pedro Alves <palves@redhat.com>
2048
2049 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2050 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2051 the expected output in the success.
2052
b2b2a215
PA
20532019-07-03 Pedro Alves <palves@redhat.com>
2054
2055 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2056 Split one gdb_test_multiple call in two to avoid a race.
2057
fdbc9870
PA
20582019-07-03 Pedro Alves <palves@redhat.com>
2059
2060 * gdb.base/with.c: New file.
2061 * gdb.base/with.exp: New file.
2062
c6ac8931
PA
20632019-07-03 Pedro Alves <palves@redhat.com>
2064
2065 * gdb.base/settings.exp: Replace all references to "maint
2066 test-settings set" with references to "maint set test-settings",
2067 and all references to "maint test-settings show" with references
2068 to "maint show test-settings".
2069
970f9d09
PA
20702019-07-03 Pedro Alves <palves@redhat.com>
2071
2072 * gdb.base/settings.exp (test-string): Adjust expected out when
2073 testing "maint test-settings show filename"
2074
54d66006
PA
20752019-07-02 Pedro Alves <palves@redhat.com>
2076
2077 * gdb.base/options.exp (test-info-threads): New procedure.
2078 (top level): Call it.
2079
10d06d82
TT
20802019-06-28 Tom Tromey <tromey@adacore.com>
2081
2082 * gdb.dwarf2/ada-linkage-name.c: New file.
2083 * gdb.dwarf2/ada-linkage-name.exp: New file.
2084
3d507ff2
TT
20852019-06-27 Tom Tromey <tromey@adacore.com>
2086
d039f014 2087 PR c++/20020:
3d507ff2
TT
2088 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2089
8af58ffe
TV
20902019-06-26 Tom de Vries <tdevries@suse.de>
2091
2092 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2093
22e21752
TV
20942019-06-26 Tom de Vries <tdevries@suse.de>
2095
2096 * gdb.base/index-cache.exp: Add back missing debug option.
2097
b65b566c
PW
20982019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2099
2100 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2101
5c2c8c69
TV
21022019-06-25 Tom de Vries <tdevries@suse.de>
2103
2104 PR testsuite/24727
2105 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2106
164e3873
TV
21072019-06-24 Tom de Vries <tdevries@suse.de>
2108
2109 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2110
824eacee
TV
21112019-06-24 Tom de Vries <tdevries@suse.de>
2112
2113 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2114 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2115 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2116
385b97d3
TV
21172019-06-24 Tom de Vries <tdevries@suse.de>
2118
2119 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2120
c596f180
TV
21212019-06-21 Tom de Vries <tdevries@suse.de>
2122
2123 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2124
b13a7d03
TV
21252019-06-21 Tom de Vries <tdevries@suse.de>
2126
2127 PR testsuite/24518
2128 PR ada/24713
2129 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2130 index.
2131
899277ae
TT
21322019-06-19 Tom Tromey <tromey@adacore.com>
2133
2134 * gdb.ada/length_cond.exp: Add intro comment.
2135
680e1bee
TT
21362019-06-19 Tom Tromey <tromey@adacore.com>
2137
2138 * gdb.ada/length_cond.exp: New file.
2139 * gdb.ada/length_cond/length_cond.adb: New file.
2140 * gdb.ada/length_cond/pck.adb: New file.
2141 * gdb.ada/length_cond/pck.ads: New file.
2142
0ed4690a
TV
21432019-06-18 Tom de Vries <tdevries@suse.de>
2144
2145 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2146
d20ed5fd
TT
21472019-06-18 Tom Tromey <tromey@adacore.com>
2148
2149 * gdb.base/list0.h: Add comment explaining control character.
2150
86e04673
TV
21512019-06-18 Tom de Vries <tdevries@suse.de>
2152
2153 * boards/fission.exp: Break up long debug_flags line.
2154
c4973306
SM
21552019-06-16 Tom de Vries <tdevries@suse.de>
2156
2157 PR gdb/24445
2158 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2159 generated index.
2160
93cb9841
AB
21612019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2162
2163 PR gdb/24686
2164 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2165 improve detection of bug gdb/24541.
2166
399aaebd
SM
21672019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2168
2169 PR gdb/24669
2170 * gdb.base/index-cache.exp (uses_readnow,
2171 expecting_index_cache_use): Define global variable.
2172 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2173 expecting_index_cache_use.
2174
584a927c
AB
21752019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2176 Andrew Burgess <andrew.burgess@embecosm.com>
2177
2178 * gdb.fortran/pointers.f90: New file.
2179 * gdb.fortran/print_type.exp: New file.
2180 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2181 * gdb.fortran/vla-type.exp: Likewise.
2182 * gdb.fortran/vla-value.exp: Likewise.
2183 * gdb.mi/mi-vla-fortran.exp: Likewise.
2184
30056ea0
AB
21852019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2186
2187 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2188 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2189 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2190 as a stop reason.
2191
ec8e2b6d
AB
21922019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2193
2194 * gdb.base/annota1.exp: Update expected results.
2195 * gdb.cp/annota2.exp: Likewise.
2196 * gdb.cp/annota3.exp: Likewise.
2197
09e4c4e1
AB
21982019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2199
2200 * gdb.base/style-logging.exp: Remove path from test name.
2201
0735b091
TT
22022019-06-14 Tom Tromey <tromey@adacore.com>
2203
2204 PR gdb/24502:
2205 * gdb.base/style-logging.exp: New file.
2206
f5686554
TT
22072019-06-14 Tom Tromey <tromey@adacore.com>
2208
2209 * gdb.base/symfile-warn.exp: New file.
2210 * gdb.base/symfile-warn.c: New file.
2211
a0c1ffed
TT
22122019-06-14 Tom Tromey <tromey@adacore.com>
2213
2214 * gdb.base/annotate-symlink.exp: New file.
2215
f411722c
TT
22162019-06-14 Tom Tromey <tromey@adacore.com>
2217
2218 * gdb.ada/set_wstr.exp: Add reassignment test.
2219
4268ec18
TT
22202019-06-14 Tom Tromey <tromey@adacore.com>
2221
2222 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2223 'unchecked_access and 'unrestricted_access as well.
2224
9a9e394b
TT
22252019-06-14 Tom Tromey <tromey@adacore.com>
2226
2227 PR ada/24539:
2228 * gdb.ada/vla.exp: Update tests.
2229 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2230 pragma.
2231
4c048731
PA
22322019-06-13 Pedro Alves <palves@redhat.com>
2233
2234 * gdb.base/settings.exp (test-integer): Test junk after
2235 "unlimited".
2236
6665660a
PA
22372019-06-13 Pedro Alves <palves@redhat.com>
2238
2239 * gdb.base/options.exp (test-thread-apply): New.
2240 (top level): Call it.
2241
5d707134
PA
22422019-06-13 Pedro Alves <palves@redhat.com>
2243
2244 * gdb.base/options.exp (test-frame-apply): New.
2245 (top level): Test print commands with different "frame apply"
2246 prefixes.
2247
e2a689da
PA
22482019-06-13 Pedro Alves <palves@redhat.com>
2249
e79be6e5 2250 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
2251 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2252 'max_completions' parameter and handle it.
2253 (test_gdb_completion_offers_commands): New.
2254
90a1ef87
PA
22552019-06-13 Pedro Alves <palves@redhat.com>
2256
2257 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2258
d4c16835
PA
22592019-06-13 Pedro Alves <palves@redhat.com>
2260
2261 * gdb.base/options.exp (test-backtrace): New.
2262 (top level): Call it.
2263
2daf894e
PA
22642019-06-13 Pedro Alves <palves@redhat.com>
2265
2266 * gdb.guile/scm-frame-args.exp: Use "set print
2267 raw-frame-arguments" instead of "set print raw frame-arguments".
2268 * gdb.python/py-frame-args.exp: Likewise.
2269
e6ed716c
PA
22702019-06-13 Pedro Alves <palves@redhat.com>
2271
2272 * gdb.compile/compile.exp: Adjust expected output to option
2273 processing changes.
2274
7d8062de
PA
22752019-06-13 Pedro Alves <palves@redhat.com>
2276
2277 * gdb.base/options.exp: Build executable.
2278 (test-print): New procedure.
2279 (top level): Call it, once for "print" and another for "compile
2280 print".
2281
9d0faba9
PA
22822019-06-13 Pedro Alves <palves@redhat.com>
2283
2284 * gdb.base/options.c: New file.
2285 * gdb.base/options.exp: New file.
2286
dee7b4c8
PA
22872019-06-13 Pedro Alves <palves@redhat.com>
2288
2289 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2290 that "o" is ambiguous.
2291
dca0f6c0
PA
22922019-06-13 Pedro Alves <palves@redhat.com>
2293
2294 * gdb.base/settings.c: New file.
2295 * gdb.base/settings.exp: New file.
2296
ccf46844
PA
22972019-06-13 Pedro Alves <palves@redhat.com>
2298
2299 * gdb.base/completion.exp: Fix comment typo.
2300
b9a3f842
PA
23012019-06-13 Pedro Alves <palves@redhat.com>
2302
2303 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2304 foo --1" test.
2305
d106773e
PA
23062019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2307
2308 * gdb.fortran/block-data.f: New.
2309 * gdb.fortran/block-data.exp: New.
2310
fea82da0
TV
23112019-06-11 Tom de Vries <tdevries@suse.de>
2312
2313 PR testsuite/24521
2314 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2315 message.
2316
8c2e74f1
TV
23172019-06-11 Tom de Vries <tdevries@suse.de>
2318
2319 PR testsuite/24521
2320 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2321
b49851c8
TV
23222019-06-11 Tom de Vries <tdevries@suse.de>
2323
2324 * boards/readnow.exp: New file.
2325
a7067863
AB
23262019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2327
2328 * gdb.fortran/vla-sizeof.exp: Update expected results.
2329
1a3da2cd
AB
23302019-06-06 Amos Bird <amosbird@gmail.com>
2331
2332 * gdb.base/annota1.exp (thread_switch): Add test for
2333 thread-exited annotation.
2334
3847a7bf
TT
23352019-06-06 Tom Tromey <tromey@adacore.com>
2336
2337 * gdb.base/maint.exp: Expect command started/finished output.
2338
0088ba59
AB
23392019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2340
2341 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2342 comment.
2343 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2344
312617a3
AB
23452019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2346
2347 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2348 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2349 * gdb.arch/riscv-unwind-long-insn.c: New file.
2350 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2351
e1f2e1a2
CB
23522019-06-04 Christian Biesinger <cbiesinger@google.com>
2353
d3238f7d 2354 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 2355
206584bd
PW
23562019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2357
2358 * lib/gdb.exp (help_list_trailer): New regexp variable
2359 factorizing the help trailer message.
2360 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2361 arg to allow to better factorize various tests.
2362 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2363 (test_prefix_command_help): Use help_list_trailer.
2364 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2365 * gdb.guile/scm-cmd.exp: Likewise.
2366 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2367 * gdb.base/help.exp: Use test_user_defined_class_help.
2368 * gdb.base/style.exp: Add tests for styling of help and apropos.
2369 * lib/gdb-utils.exp (style): Add title and highlight styles.
2370
708dc93e
PW
23712019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2372
2373 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2374 $_shell_exitsignal.
2375 * gdb.base/default.exp: Update for new convenience variables.
2376
f49055a5
TT
23772019-05-29 Tom Tromey <tromey@adacore.com>
2378
2379 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2380 to "break complete ada" test case's regexp.
2381
4330d61d
TT
23822019-05-29 Tom Tromey <tromey@adacore.com>
2383
2384 PR c++/20020:
2385 * gdb.cp/constexpr-field.exp: New file.
2386 * gdb.cp/constexpr-field.cc: New file.
2387
000439d5
TT
23882019-05-29 Tom Tromey <tromey@adacore.com>
2389
2390 * gdb.base/finish.exp (finish_no_print): New proc.
2391 (finish_tests): Call it.
2392
5a01c34c
TV
23932019-05-24 Tom de Vries <tdevries@suse.de>
2394
2395 * gdb.dwarf2/gdb-add-index.exp: New file.
2396
18125b16
TT
23972019-05-22 Tom Tromey <tromey@adacore.com>
2398
2399 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2400 * gdb.base/style.exp: Use "style".
2401 * lib/gdb-utils.exp (style): New proc.
2402
af1a8d03
TV
24032019-05-22 Tom de Vries <tdevries@suse.de>
2404
2405 * gdb.base/align.exp: Require c++11.
2406
e7fe496b
TV
24072019-05-22 Tom de Vries <tdevries@suse.de>
2408
2409 PR testsuite/24586
2410 * gdb.python/py-mi-var-info-path-expression.exp: Call
2411 mi_skip_python_tests to check if python is supported.
2412
8fca4da0
AH
24132019-05-22 Alan Hayward <alan.hayward@arm.com>
2414
2415 * gdb.arch/aarch64-pauth.c: New test.
2416 * gdb.arch/aarch64-pauth.exp: New file.
2417
b7060614
AH
24182019-05-22 Alan Hayward <alan.hayward@arm.com>
2419
2420 * README (Re-running Tests Outside The Testsuite): New section.
2421
669d0468
TV
24222019-05-21 Tom de Vries <tdevries@suse.de>
2423
2424 * gdb.arch/amd64-eval.exp: Require c++11.
2425 * gdb.base/max-depth.exp: Same.
2426 * gdb.compile/compile-cplus-array-decay.exp: Same.
2427 * gdb.cp/meth-typedefs.exp: Same.
2428 * gdb.cp/subtypes.exp: Same.
2429 * gdb.cp/temargs.exp: Same.
2430
ce3ebcaa
AH
24312019-05-21 Alan Hayward <alan.hayward@arm.com>
2432
2433 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2434
34d11c68
AB
24352019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2436
2437 PR gdb/18644
2438 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2439 * gdb.fortran/printing-types.exp: Add new test.
2440 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2441 testing.
2442 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2443 setup_kfail call.
2444
87781e84
AH
24452019-05-17 Alan Hayward <alan.hayward@arm.com>
2446
2447 * README (Running the Testsuite): Change example.
2448 (Testsuite Parameters): Remove TRANSCRIPT.
2449 * lib/gdb.exp: Remove TRANSCRIPT check.
2450
b420b89e
AH
24512019-05-17 Alan Hayward <alan.hayward@arm.com>
2452
2453 * README (Testsuite Parameters): Add replay logging to
2454 GDBSERVER_DEBUG.
2455 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2456 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2457 as a comma separated list.
2458 (gdb_debug_init): Override procedure.
2459
408e9b8b
AH
24602019-05-17 Alan Hayward <alan.hayward@arm.com>
2461
2462 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2463 (gdb_write_cmd_file): New procedure.
2464 * lib/gdbserver-support.exp (gdbserver_start): Call
2465 gdbserver_write_cmd_file.
2466 (gdbserver_write_cmd_file): New procedure.
2467
f9e2e39d
AH
24682019-05-17 Alan Hayward <alan.hayward@arm.com>
2469
2470 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2471 (delete_breakpoints): Likewise.
2472 (gdb_run_cmd): Likewise.
2473 (gdb_start_cmd): Likewise.
2474 (gdb_starti_cmd): Likewise.
2475 (gdb_internal_error_resync): Likewise.
2476 (gdb_test_multiple): Likewise.
2477 (gdb_reinitialize_dir): Likewise.
2478 (default_gdb_exit): Likewise.
2479 (gdb_file_cmd): Mark kill as optional.
2480 (default_gdb_start): Call gdb_stdin_log_init.
2481 (send_gdb): Call gdb_stdin_log_write.
2482 (rerun_to_main): Mark Y as an answer.
2483 (gdb_stdin_log_init): New function.
2484 (gdb_stdin_log_write): Likewise.
2485
81f47ac2
AH
24862019-05-17 Alan Hayward <alan.hayward@arm.com>
2487
2488 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2489 * gdb.base/debug-expr.exp: Likewise.
2490 * gdb.base/foll-fork.exp: Likewise.
2491 * gdb.base/foll-vfork.exp: Likewise.
2492 * gdb.base/fork-print-inferior-events.exp: Likewise.
2493 * gdb.base/gdb-sigterm.exp: Likewise.
2494 * gdb.base/gdbinit-history.exp: Likewise.
2495 * gdb.base/osabi.exp: Likewise.
2496 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2497 * gdb.base/ui-redirect.exp: Likewise.
2498 * gdb.gdb/unittest.exp: Likewise.
2499 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2500 * gdb.mi/mi-watch.exp: Likewise.
2501 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2502 * gdb.mi/user-selected-context-sync.exp: Likewise.
2503 * gdb.python/python.exp: Disable debug test when debugging.
2504 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2505 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2506 Likewise.
2507 * gdb.threads/stepi-random-signal.exp: Likewise.
2508
29b52314
AH
25092019-05-17 Alan Hayward <alan.hayward@arm.com>
2510
2511 * Makefile.in: Pass through GDB_DEBUG.
2512 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2513 (gdb,debug): Add board setting.
2514 * lib/gdb.exp (default_gdb_start): Start debugging.
2515 (gdb_debug_enabled): New procedure.
2516 (gdb_debug_init): Likewise.
29b52314
AH
2517
25182019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 2519
29b52314
AH
2520 * Makefile.in: Pass through GDB_DEBUG.
2521 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2522 (gdb,debug): Add board setting.
2523 * lib/gdb.exp (default_gdb_start): Start debugging.
2524 (gdb_debug_enabled): New procedure.
2525 (gdb_debug_init): Likewise.
29b52314 2526
ca1285d1
AH
25272019-05-17 Alan Hayward <alan.hayward@arm.com>
2528
2529 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2530
f3a09c80
AH
25312019-05-17 Alan Hayward <alan.hayward@arm.com>
2532
2533 * gdb.base/ui-redirect.exp: Test redirection.
2534
26648588
JV
25352019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2536
2537 * gdb.mi/mi-complete.exp: New file.
2538 * gdb.mi/mi-complete.cc: Likewise.
2539
14237686
AB
25402019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2541
2542 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2543 indexed and sliced arrays, and pointers to arrays.
2544
e7bd7fba
TT
25452019-05-14 Tom Tromey <tromey@adacore.com>
2546
2547 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2548 styling test.
2549
2764128d
TV
25502019-05-14 Tom de Vries <tdevries@suse.de>
2551
2552 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2553 selection entry encoding.
2554
71bed2db
TT
25552019-05-10 Tom Tromey <tromey@adacore.com>
2556
2557 * gdb.ada/info_exc.exp: Add "complete" test.
2558
63b667ad
TV
25592019-05-09 Tom de Vries <tdevries@suse.de>
2560
2561 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2562 CU-relative.
2563
9cfd2b89
TV
25642019-05-09 Tom de Vries <tdevries@suse.de>
2565
2566 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2567 CU-relative.
2568
2228ef77
XR
25692019-05-08 Joel Brobecker <brobecker@adacore.com>
2570
2571 * gdb.ada/frame_arg_lang.exp: New testcase.
2572 * gdb.ada/frame_arg_lang/bla.adb: New file.
2573 * gdb.ada/frame_arg_lang/pck.ads: New file.
2574 * gdb.ada/frame_arg_lang/pck.adb: New file.
2575 * gdb.ada/frame_arg_lang/foo.c: New file.
2576
80e55b13
TT
25772019-05-08 Tom Tromey <tromey@adacore.com>
2578
2579 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2580
9d3421af
TT
25812019-05-08 Tom Tromey <tromey@adacore.com>
2582
2583 * gdb.base/ptype-offsets.exp: Update tests.
2584
844333e2
TT
25852019-05-08 Tom Tromey <tromey@adacore.com>
2586
2587 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2588 cases.
2589 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2590 "short".
2591
988915ee
TT
25922019-05-08 Tom Tromey <tromey@adacore.com>
2593
2594 * gdb.ada/vla.exp: New file.
2595 * gdb.ada/vla/vla.adb: New file.
2596
7bd55dac
TV
25972019-05-07 Tom de Vries <tdevries@suse.de>
2598
2599 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2600
75f06e9d
TV
26012019-05-07 Tom de Vries <tdevries@suse.de>
2602
2603 PR testsuite/24522
2604 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2605 section.
2606
77e7aaa4
TV
26072019-05-07 Tom de Vries <tdevries@suse.de>
2608
2609 PR testsuite/24522
2610 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2611 .debug_aranges section.
2612
456ba0fa
TV
26132019-05-07 Tom de Vries <tdevries@suse.de>
2614
2615 PR testsuite/24159
2616 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2617
5a56d6a6
TV
26182019-05-06 Tom de Vries <tdevries@suse.de>
2619
2620 * lib/gdb.exp (exec_has_index_section): New proc.
2621 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2622 section.
2623
9d6d4be8
TV
26242019-05-04 Tom de Vries <tdevries@suse.de>
2625
2626 * boards/cc-with-debug-names.exp: New file.
2627
222a8d25
TT
26282019-05-03 Tom Tromey <tromey@adacore.com>
2629
2630 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2631 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2632 * gdb.ada/char_enum.exp: Add test.
2633
0fdfd794
TV
26342019-05-03 Tom de Vries <tdevries@suse.de>
2635
2636 * boards/cc-with-gdb-index.exp: New file.
2637
80062eb9
AB
26382019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2639
2640 * gdb.rust/simple.exp: Add new test case.
2641 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2642 (main): Initialise an instance of the new struct.
2643
4504bbde
TT
26442019-05-01 Tom Tromey <tromey@adacore.com>
2645
2646 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2647 record.
2648 (NPR): New variable.
2649 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2650 test.
2651
d48e62f4
TT
26522019-05-01 Tom Tromey <tromey@adacore.com>
2653
2654 * gdb.ada/packed_array_assign.exp: Add packed assignment
2655 regression test.
2656
f59f30f5
TV
26572019-05-01 Tom de Vries <tdevries@suse.de>
2658
2659 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2660
b70bfc54
TV
26612019-05-01 Tom de Vries <tdevries@suse.de>
2662
2663 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2664
15f18d14
AT
26652019-04-30 Ali Tamur <tamur@google.com>
2666
2667 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2668
2ff0a947
TT
26692019-04-30 Tom Tromey <tromey@adacore.com>
2670
2671 * lib/ada.exp (find_ada_tool): New proc.
2672 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2673 * gdb.ada/catch_ex_std.exp: New file.
2674 * gdb.ada/catch_ex_std/foo.adb: New file.
2675 * gdb.ada/catch_ex_std/some_package.adb: New file.
2676 * gdb.ada/catch_ex_std/some_package.ads: New file.
2677
a776957c
TT
26782019-04-30 Tom Tromey <tromey@adacore.com>
2679
2680 PR c++/24470:
2681 * gdb.cp/temargs.cc: Add test code from PR.
2682
bc68014d
AB
26832019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2684
2685 * gdb.fortran/vla-datatypes.exp: Update expected results.
2686 * gdb.fortran/vla-ptype.exp: Likewise.
2687 * gdb.fortran/vla-type.exp: Likewise.
2688 * gdb.fortran/vla-value.exp: Likewise.
2689
f1fdc960
AB
26902019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2691
2692 * gdb.fortran/ptr-indentation.exp: Update expected results.
2693 * gdb.fortran/ptype-on-functions.exp: Likewise.
2694 * gdb.fortran/vla-ptr-info.exp: Likewise.
2695 * gdb.fortran/vla-value.exp: Likewise.
2696
bf7a4de1
AB
26972019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2698
2699 * gdb.fortran/ptype-on-functions.exp: New file.
2700 * gdb.fortran/ptype-on-functions.f90: New file.
2701
bbe75b9d
AB
27022019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2703
2704 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2705 case void string.
2706
1db455a7
AB
27072019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2708
2709 * gdb.fortran/complex.exp: Expand.
2710 * gdb.fortran/complex.f: Renamed to...
2711 * gdb.fortran/complex.f90: ...this, and extended to add more
2712 complex values.
2713
b6d03bb2
AB
27142019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2715
2716 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2717 MODULO, CMPLX.
2718
2e62ab40
AB
27192019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2720 Richard Bunt <richard.bunt@arm.com>
2721
2722 * gdb.base/max-depth.c: New file.
2723 * gdb.base/max-depth.exp: New file.
2724 * gdb.python/py-nested-maps.c: New file.
2725 * gdb.python/py-nested-maps.exp: New file.
2726 * gdb.python/py-nested-maps.py: New file.
2727 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2728 (test_all_common): Call test_max_depth.
2729 * gdb.fortran/max-depth.exp: New file.
2730 * gdb.fortran/max-depth.f90: New file.
2731 * gdb.go/max-depth.exp: New file.
2732 * gdb.go/max-depth.go: New file.
2733 * gdb.modula2/max-depth.exp: New file.
2734 * gdb.modula2/max-depth.c: New file.
2735 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2736
d2b584a5
TV
27372019-04-29 Tom de Vries <tdevries@suse.de>
2738
2739 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2740
136afab8
PW
27412019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2742
2743 * gdb.base/callexit.exp: Test may-call-functions off.
2744
725cbb63
KS
27452019-04-25 Keith Seitz <keiths@redhat.com>
2746
2747 PR c++/24367
2748 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2749 (another_incomplete_struct, test_incomplete): New definitions.
2750 (main): Use new definitions.
2751 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2752 functions.
2753
701adfb0
PA
27542019-04-25 Ali Tamur <tamur@google.com>
2755
2756 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
2757
82433e3e
SDJ
27582019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2759
2760 PR corefiles/11608
2761 PR corefiles/18187
2762 * gdb.base/coredump-filter-build-id.exp: New file.
2763
dd06d4d6
AH
27642019-04-25 Alan Hayward <alan.hayward@arm.com>
2765
e79be6e5
SM
2766 * Makefile.in: Pass through GDBSERVER_DEBUG.
2767 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2768 (gdbserver,debug): Add board setting.
2769 * gdb.trace/tspeed.exp: Skip when debugging.
2770 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2771 * lib/gdbserver-support.exp: Likewise
dd06d4d6 2772
1670072e
TT
27732019-04-24 Tom Tromey <tromey@adacore.com>
2774
2775 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2776 Rust.
2777
a59240a4
TT
27782019-04-24 Tom Tromey <tromey@adacore.com>
2779
2780 * gdb.arch/amd64-eval.exp: Test bitfield return.
2781 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2782 (class Foo) <return_bitfields>: New method.
2783 (main): Call it.
2784
b907456c
AB
27852019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2786
2787 * gdb.cp/many-args.cc: New file.
2788 * gdb.cp/many-args.exp: New file.
2789
5c565afd
TV
27902019-04-23 Tom de Vries <tdevries@suse.de>
2791
2792 PR gdb/24433
2793 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2794
ba22ff86
AH
27952019-04-23 Alan Hayward <alan.hayward@arm.com>
2796
2797 * gdb.trace/backtrace.exp: Use nopie flag.
2798 * gdb.trace/circ.exp: Likewise.
2799 * gdb.trace/collection.exp: Likewise.
2800 * gdb.trace/ftrace.exp: Likewise.
2801 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2802 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2803 * gdb.trace/qtro.exp: Likewise.
2804 * gdb.trace/read-memory.exp: Likewise.
2805 * gdb.trace/report.exp: Likewise.
2806 * gdb.trace/tfile.exp: Likewise.
2807 * gdb.trace/tfind.exp: Likewise.
2808 * gdb.trace/unavailable.exp: Likewise.
2809
7905fc35
PA
28102019-04-22 Pedro Alves <palves@redhat.com>
2811
2812 * gdb.base/solib-probes-nosharedlibrary.c,
2813 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2814
8ecb59f8
TT
28152019-04-19 Tom Tromey <tromey@adacore.com>
2816
2817 * gdb.ada/ptype_union.c: New file.
2818 * gdb.ada/ptype_union.exp: New file.
2819
62160ec9
TT
28202019-04-19 Tom Tromey <tromey@adacore.com>
2821
2822 PR symtab/24423:
2823 * gdb.base/list0.h (foo): Add a control-l character.
2824
36cd4ba5
TV
28252019-04-18 Tom de Vries <tdevries@suse.de>
2826
2827 PR gdb/24433
2828 * boards/local-board.exp: Set sysroot to "".
2829
b73715df
TV
28302019-04-18 Tom de Vries <tdevries@suse.de>
2831 Pedro Alves <palves@redhat.com>
2832
2833 PR gdb/24454
2834 * gdb.threads/vfork-follow-child-exec.c: New file.
2835 * gdb.threads/vfork-follow-child-exec.exp: New file.
2836 * gdb.threads/vfork-follow-child-exit.c: New file.
2837 * gdb.threads/vfork-follow-child-exit.exp: New file.
2838
4aa866af
LS
28392019-04-15 Leszek Swirski <leszeks@google.com>
2840
2841 * gdb.arch/amd64-eval.cc: New file.
2842 * gdb.arch/amd64-eval.exp: New file.
2843
e5a1a79a
AH
28442019-04-11 Alan Hayward <alan.hayward@arm.com>
2845
2846 * gdb.server/sysroot.c: New test.
2847 * gdb.server/sysroot.exp: New file.
2848 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2849 matching param.
2850
41077b66
AB
28512019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2852
2853 * gdb.base/align.exp: Extend test to cover structures containing
2854 only static fields.
2855
c30391f8
TV
28562019-04-11 Tom de Vries <tdevries@suse.de>
2857
2858 * boards/cc-with-dwz-m.exp: New file.
2859 * boards/cc-with-dwz.exp: New file.
2860 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2861
e242fd12
SM
28622019-04-09 Simon Marchi <simon.marchi@efficios.com>
2863
2864 * gdb.base/start-cpp.exp: New file.
2865 * gdb.base/start-cpp.cc: New file.
2866
2b0c8b01
KB
28672019-04-08 Kevin Buettner <kevinb@redhat.com>
2868
2869 * gdb.python/py-thrhandle.exp: Adjust tests to call
2870 thread_from_handle instead of thread_from_thread_handle.
2871
947210e5
KB
28722019-04-08 Kevin Buettner <kevinb@redhat.com>
2873
2874 * gdb.python/py-thrhandle.exp: Add tests for
2875 gdb.InferiorThread.handle.
2876
d7df6549
AB
28772019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2878
2879 * gdb.python/py-function.exp: Check calling helper function from
2880 all languages.
2881 * lib/gdb.exp (gdb_supported_languages): New proc.
2882
8bdc1658
AB
28832019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2884
2885 * gdb.base/complex-parts.c: New file.
2886 * gdb.base/complex-parts.exp: New file.
2887
05caa1d2
TT
28882019-04-01 Tom Tromey <tromey@adacore.com>
2889
2890 PR symtab/23331:
2891 * gdb.dwarf2/dw2-ranges-main.c: New file.
2892 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2893 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2894
7734102d
EZ
28952019-03-30 Simon Marchi <simark@simark.ca>
2896
2897 * gdb.base/default.exp: Add values for $_gdb_major and
2898 $_gdb_minor.
2899
188e1fa9
TT
29002019-03-29 Tom Tromey <tromey@adacore.com>
2901
2902 * gdb.base/help.exp: Tighten apropos regexp.
2903
2880242d
KS
29042019-03-29 Keith Seitz <keiths@redhat.com>
2905
2906 * gdb.fortran/array-bounds.exp: New file.
2907 * gdb.fortran/array-bounds.f90: New file.
2908
077cad8e
PW
29092019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2910
2911 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2912
80047cfc
PW
29132019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2914
2915 * gdb.multi/hello.c (main): Increase alarm timer.
2916
f489207e
SL
29172019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2918
2919 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2920 factor when no hardware watchpoint support.
2921
c92df149
AH
29222019-03-28 Alan Hayward <alan.hayward@arm.com>
2923 Pedro Alves <palves@redhat.com>
2924
2925 * boards/local-board.exp: set sysroot to /.
2926
933aebfa
AH
29272019-03-27 Alan Hayward <alan.hayward@arm.com>
2928
2929 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2930 in child.
2931
9f9aa852
AB
29322019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2933
2934 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2935 field.
2936 (make_container): Initialise new field.
2937 * gdb.python/py-prettyprint.exp: Add new tests.
2938 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2939 <display_hint>: New method.
2940
3714a195
AB
29412019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2942
2943 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2944 gdb_continue_to_breakpoint more throughout this test.
2945 (run_lang_tests) Supply unique test names, and use
2946 gdb_test_no_output.
2947
18c77628
AB
29482019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2949
2950 * gdb.base/finish-pretty.exp: Update expected results.
2951 * gdb.base/pretty-print.c: New file.
2952 * gdb.base/pretty-print.exp: New file.
2953
9a93502f
PA
29542019-03-25 Pedro Alves <palves@redhat.com>
2955
2956 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2957 move comments outside list. Append '-i "" eof' section.
2958
968aa7ae
AH
29592019-03-22 Alan Hayward <alan.hayward@arm.com>
2960
34a7f2a4 2961 PR testsuite/25016
968aa7ae
AH
2962 * README: Add pie options.
2963 * gdb.base/break-interp.exp: Ensure pie is disabled.
2964 * gdb.base/dump.exp: Likewise.
2965 * lib/gdb.exp (gdb_compile): Add pie option.
2966
4c7d57e7
TT
29672019-03-19 Tom Tromey <tromey@adacore.com>
2968
2969 * gdb.mi/mi2-cli-display.c: New file.
2970 * gdb.mi/mi2-cli-display.exp: New file.
2971
bff8c71f
TT
29722019-03-18 Joel Brobecker <brobecker@adacore.com>
2973 Tom Tromey <tromey@adacore.com>
2974
2975 * gdb.ada/ptype_array/pck.adb: New file.
2976 * gdb.ada/ptype_array/pck.ads: New file.
2977 * gdb.ada/ptype_array/foo.adb: New file.
2978 * gdb.ada/ptype_array.exp: New file.
2979
d085f989
TT
29802019-03-14 Tom Tromey <tromey@adacore.com>
2981
2982 * gdb.base/style.exp: Add "set style sources" test.
2983
b4be1b06
SM
29842019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2985
2986 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2987 * mi-breakpoint-multiple-locations.exp: ... this.
2988 (make_breakpoints_pattern): New proc.
2989 (do_test): Add mi_version parameter, test -break-insert,
2990 -break-info and =breakpoint-created.
2991
7cde5fc2
AB
29922019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2993
2994 * config/default.exp: Remove 'load_lib gdb.exp'.
2995 * config/monitor.exp: Likewise.
2996 * config/sid.exp: Likewise.
2997 * config/sim.exp: Likewise.
2998 * config/slite.exp: Likewise.
2999 * config/unix.exp: Likewise.
3000 * gdb.base/default.exp: Remove unhelpful comment.
3001
efbecbc1
AB
30022019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3003
3004 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3005
0841c79a
AB
30062019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3007
3008 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3009
4a270568
AB
30102019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3011
3012 * gdb.fortran/type-kinds.exp: Update expected results.
3013
067630bd
AB
30142019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3015
3016 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3017
3be47f7a
AB
30182019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3019
3020 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3021 function.
3022 (test_basic_parsing_of_type_kinds): Expand types tested.
3023 (test_parsing_invalid_type_kinds): New function.
3024
4d00f5d8
AB
30252019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3026
3027 * gdb.fortran/intrinsics.exp: New file.
3028 * gdb.fortran/intrinsics.f90: New file.
3029 * gdb.fortran/type-kinds.exp: New file.
3030
c8f91604
AB
30312019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3032
3033 * gdb.fortran/dot-ops.exp: New file.
3034
dd9f2c76
AB
30352019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3036
3037 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3038 Check upper and lower case logical literals.
3039
84ec9724
AB
30402019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3041
3042 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3043 Remove duplicate tests.
3044
c3734e09
AH
30452019-03-06 Alan Hayward <alan.hayward@arm.com>
3046
3047 * lib/gdb.exp (builtin_cd): rename of cd.
3048 (cd): Override builtin.
3049
aa3cfbda
RB
30502019-03-06 Richard Bunt <richard.bunt@arm.com>
3051
3052 * gdb.fortran/function-calls.exp: New file.
3053 * gdb.fortran/function-calls.f90: New test.
3054
7b63ad86
RB
30552019-03-04 Richard Bunt <richard.bunt@arm.com>
3056
3057 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3058 on user program standard output.
3059 * gdb.fortran/short-circuit-argument-list.f90: Record function
3060 calls.
3061
01abb042
AH
30622019-02-28 Alan Hayward <alan.hayward@arm.com>
3063
c3734e09
AH
3064 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3065 failure.
01abb042 3066
92137da0
RO
30672019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3068
3069 PR gdb/8527
3070 * gdb.base/interrupt-daemon-attach.c,
3071 gdb.base/interrupt-daemon-attach.exp: New test.
3072
5862844d
PA
30732019-02-27 Pedro Alves <palves@redhat.com>
3074
3075 * gdb.base/page.exp: Add tests for "set width/height -1".
3076
8ed25214
PA
30772019-02-27 Pedro Alves <palves@redhat.com>
3078
3079 * gdb.base/page.exp: Add tests for "set/show width/height" with
3080 "infinite" values.
3081
6c28e44a
TT
30822019-02-27 Tom Tromey <tromey@adacore.com>
3083
3084 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3085 2.4.
3086 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3087 workaround.
3088
bf9a735e
AB
30892019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3090
3091 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3092 tests for structs with static members.
3093
8791793c
TT
30942019-02-26 Tom Tromey <tromey@adacore.com>
3095
3096 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3097 ValueError, not TypeError.
3098
bc2a507e
KB
30992019-02-26 Kevin Buettner <kevinb@redhat.com>
3100
3101 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3102 call from main program.
3103
e0e7d3bd
JB
31042019-02-23 Joel Brobecker <brobecker@adacore.com>
3105
3106 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3107 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3108 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3109 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3110 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3111
9600246d
KS
31122019-02-22 Keith Seitz <keiths@redhat.com>
3113
3114 PR symtab/23853
3115 * gdb.base/symlink-sourcefile.c: New file.
3116 * gdb.base/symlink-sourcefile.exp: New file.
3117
0c95f9ed
TT
31182019-02-20 Tom Tromey <tom@tromey.com>
3119
3120 * gdb.base/info_qt.exp: Update.
3121
6caa91b6
SM
31222019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3123
3124 * gdb.base/source.exp: Move "error in sourced script" code to
3125 the end.
3126 * gdb.base/source-error.gdb: Move contents to
3127 source-error-1.gdb. Add new code to source source-error-1.gdb.
3128 * gdb.base/source-error-1.gdb: New file, from previous
3129 source-error.gdb.
3130
6506371f
TT
31312019-02-17 Tom Tromey <tom@tromey.com>
3132
3133 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3134 for macro styling.
3135 * gdb.base/style.c (SOME_MACRO): New macro.
3136
a0087920
TT
31372019-02-17 Tom Tromey <tom@tromey.com>
3138
3139 * gdb.base/style.exp: Add line-wrapping tests.
3140 * gdb.base/page.exp: Add test for quitting during pagination.
3141
a2cd4f14
JB
31422019-02-17 Joel Brobecker <brobecker@adacore.com>
3143
3144 * gdb.ada/big_packed_array: New testcase.
3145 * gdb.ada/homonym.exp: Fix incorrect expected output for
3146 "break <homonym__get_value>" test.
3147
9d70ffbc
WP
31482019-02-13 Weimin Pan <weimin.pan@oracle.com>
3149
3150 PR breakpoints/21870
3151 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3152 and prepare_for_testing. Add comment.
3153 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3154 redundant cleanup call. Clean up comment.
3155
01c7ae81
WP
31562019-02-12 Weimin Pan <weimin.pan@oracle.com>
3157
3158 PR breakpoints/21870
3159 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3160 * gdb.arch/aarch64-dbreg-contents.c: New file.
3161
aff29d1c
JB
31622019-02-10 Joel Brobecker <brobecker@adacore.com>
3163
3164 * gdb.ada/mi_ref_changeable: New testcase.
3165
df0da8a2
AH
31662019-02-07 Alan Hayward <alan.hayward@arm.com>
3167
3168 * gdb.base/attach.exp: Add double attach test.
3169
bd447abb
SM
31702019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3171
3172 * lib/gdb.exp (default_gdb_start): Don't match pagination
3173 prompt.
3174 (gdb_init): Set stty_init.
3175
1dbc40b9
TT
31762019-01-27 Tom Tromey <tom@tromey.com>
3177
3178 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3179 skip_python_tests.
3180
353229bf
AH
31812019-01-24 Alan Hayward <alan.hayward@arm.com>
3182
3183 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3184 New structure.
3185 (struct struct_static_02_02): Likewise.
3186 (struct struct_static_02_03): Likewise.
3187 (struct struct_static_02_04): Likewise.
3188 (struct struct_static_04_01): Likewise.
3189 (struct struct_static_04_02): Likewise.
3190 (struct struct_static_04_03): Likewise.
3191 (struct struct_static_04_04): Likewise.
3192 (struct struct_static_06_01): Likewise.
3193 (struct struct_static_06_02): Likewise.
3194 (struct struct_static_06_03): Likewise.
3195 (struct struct_static_06_04): Likewise.
3196 (cmp_struct_static_02_01): Likewise.
3197 (cmp_struct_static_02_02): Likewise.
3198 (cmp_struct_static_02_03): Likewise.
3199 (cmp_struct_static_02_04): Likewise.
3200 (cmp_struct_static_04_01): Likewise.
3201 (cmp_struct_static_04_02): Likewise.
3202 (cmp_struct_static_04_03): Likewise.
3203 (cmp_struct_static_04_04): Likewise.
3204 (cmp_struct_static_06_01): Likewise.
3205 (cmp_struct_static_06_02): Likewise.
3206 (cmp_struct_static_06_03): Likewise.
3207 (cmp_struct_static_06_04): Likewise.
3208 (call_all): Test new structs.
3209 * gdb.base/infcall-nested-structs.exp: Likewise.
3210
73021deb
AH
32112019-01-21 Alan Hayward <alan.hayward@arm.com>
3212 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3213
fc65c7db
AH
32142019-01-21 Alan Hayward <alan.hayward@arm.com>
3215 * gdb.base/stack-protector.c: New test.
3216 * gdb.base/stack-protector.exp: New file.
3217 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3218 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3219 option.
3220 (gdb_compile): Remove stack protector for GCC and prevent
3221 recursion.
3222
c24bdb02
KS
32232019-01-16 Keith Seitz <keiths@redhat.com>
3224
3225 PR gdb/23773
3226 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3227
6f072a10
PFC
32282019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3229
3230 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3231 aliases.
3232 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3233 tests.
3234 * gdb.arch/powerpc-vector-regs.c: New file.
3235 * gdb.arch/powerpc-vector-regs.exp: New file.
3236
a7b8d682
PFC
32372019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3238
3239 * gdb.arch/altivec-regs.exp: Fix the list passed to
3240 gdb_expect_list when testing "info vector".
3241
6eb6fb67
AB
32422019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3243
3244 * gdb.base/style.exp: Don't include path in testname.
3245
b56f80d8
KS
32462019-01-10 Keith Seitz <keiths@redhat.com>
3247
3248 PR gdb/23712
3249 PR symtab/23010
3250 * gdb.dwarf2/multidictionary.exp: New file.
3251
041be526
SM
32522019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3253
3254 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3255 (test_gnuv3_style_demangling): ... this.
3256 (test_lucid_style_demangling): Remove.
3257 (test_arm_style_demangling): Remove.
3258 (test_hp_style_demangling): Remove.
3259 (do_tests): Remove calls to the above.
3260
d820d0c3
AB
32612019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3262
3263 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3264 case.
3265
f097f5ad
TT
32662019-01-06 Tom Tromey <tom@tromey.com>
3267
3268 PR gdb/28155:
3269 * gdb.dwarf2/typedef-void-finish.exp: New file.
3270
2cd8cc0b
TT
32712018-12-28 Tom Tromey <tom@tromey.com>
3272 Simon Marchi <simark@simark.ca>
3273
3274 * gdb.base/jit-exec.exp: New file.
3275 * gdb.base/jit-exec.c: New file.
3276 * gdb.base/jit-execd.c: New file.
3277
35fb8261
TT
32782018-12-28 Tom Tromey <tom@tromey.com>
3279
3280 * gdb.base/style.exp: Update test to check for address styling.
3281
47fd17cd
TT
32822018-12-28 Tom Tromey <tom@tromey.com>
3283
3284 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3285 message.
3286
d47032b7
TT
32872018-12-28 Tom Tromey <tom@tromey.com>
3288
3289 * gdb.base/style.exp: Add test for version number styling.
3290
af79b68d
TT
32912018-12-28 Tom Tromey <tom@tromey.com>
3292
3293 * gdb.base/style.exp: Add test for print_address_symbolic.
3294
0bb296cb
TT
32952018-12-28 Tom Tromey <tom@tromey.com>
3296
3297 * gdb.base/style.exp: Add test for breakpoint setting.
3298
80ae2043
TT
32992018-12-28 Tom Tromey <tom@tromey.com>
3300
3301 * gdb.base/style.exp: Add test for variable names.
3302
cbe56571
TT
33032018-12-28 Tom Tromey <tom@tromey.com>
3304
3305 * gdb.base/style.exp: New file.
3306 * gdb.base/style.c: New file.
3307
9162a27c
TT
33082018-12-28 Tom Tromey <tom@tromey.com>
3309
3310 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3311 "dumb".
3312 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3313 the TERM environment variable.
3314
bc543c90
TT
33152018-12-27 Tom Tromey <tom@tromey.com>
3316
3317 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3318 pagination test.
3319
6f0ffe50
AB
33202018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3321
3322 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3323 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3324
b5a1e557
PW
33252018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3326
3327 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3328 Filename a.adb changed to bp_fun_addr.adb.
3329 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3330
6e8b1ab2
JV
33312018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3332
3333 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3334 non-PIE executables.
3335 * README: Mention the gdb,nopie_flag board setting.
3336 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3337 non-PIE executable.
3338 * gdb.arch/amd64-entry-value.exp: Likewise.
3339 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3340 * gdb.arch/i386-float.exp: Likewise.
3341 * gdb.arch/i386-signal.exp: Likewise.
3342 * gdb.mi/mi-reg-undefined.exp: Likewise.
3343
d00a27c5
PM
33442018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3345
3346 PR gdb/23974
3347 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3348
161d081c
PW
33492018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3350
3351 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3352 Update order of results accordingly.
3353
b001de23
AB
33542018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3355
3356 * gdb.base/annota1.exp: Update a test regexp.
3357
99e1a184
AB
33582018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3359
3360 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3361
7a81c1e2
PW
33622018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3363
3364 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3365 (reuse_time): Initialize to REUSE_TIME_CAP.
3366 (check_rc): New function.
3367 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3368 Check pthread_create rc.
3369 (spawner_thread_func): Check pthread_create and pthread_join rc.
3370
73e8dc90
PA
33712018-12-08 Pedro Alves <palves@redhat.com>
3372
3373 * gdb.base/list.exp (test_forward_search): Rename to ...
3374 (test_forward_reverse_search): ... this. Also test reverse-search
3375 and the forward-search alias.
3376
13f2ed32
AB
33772018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3378
3379 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3380 local timeout variable before return, and remove all local timeout
3381 variable entirely.
3382 (gdb_load): Likewise.
3383
64d27cfc
TV
33842018-12-01 Tom de Vries <tdevries@suse.de>
3385
3386 * gdb.base/gdb-caching-proc.exp: New file.
3387
f63c03b4
SDJ
33882018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3389
3390 * Makefile.in (TIMESTAMP): New variable.
3391 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3392 command.
3393 (check-single-racy): Likewise.
3394 (check/%.exp): Likewise.
3395 (check-racy/%.exp): Likewise.
3396 (workers/%.worker): Likewise.
3397 (build-perf): Likewise.
3398 (check-perf): Likewise.
3399 * README: Describe new "TS" and "TS_FORMAT" variables.
3400 * print-ts.py: New file.
3401
1c97054b
BF
34022018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3403
3404 PR python/23714
3405 * gdb.python/python.exp: Test command repetition after
3406 gdb.execute.
3407
1871a62d
AB
34082018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3409
3410 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3411 is correctly aligned.
3412
fb5e1ed9
PW
34132018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3414
3415 * gdb.ada/info_auto_lang.exp: New testcase.
3416 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3417 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3418 * gdb.ada/info_auto_lang/some_c.c: New file.
3419
43d397ca
PW
34202018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3421
3422 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3423 FUNC_lang language syntax.
3424
beddd671
PW
34252018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3426
3427 * gdb.base/info_minsym.c: New file.
3428 * gdb.base/info_minsym.exp: New file.
3429
73fc52c4
TT
34302018-11-19 Tom Tromey <tom@tromey.com>
3431
3432 PR rust/23625:
3433 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3434 * gdb.rust/expr.exp: Update expected output. Change one test.
3435
994b876a
TT
34362018-11-19 Tom Tromey <tom@tromey.com>
3437
3438 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3439
6769f276
PA
34402018-11-19 Pedro Alves <palves@redhat.com>
3441
3442 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3443 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3444 see the expected warning.
3445
38a72da0
AH
34462018-11-16 Alan Hayward <alan.hayward@arm.com>
3447
3448 PR gdb/22736:
3449 * gdb.cp/infcall-nodebug-lib.c: New test.
3450 * gdb.cp/infcall-nodebug-main.c: New test.
3451 * gdb.cp/infcall-nodebug.exp: New file.
3452
53a89d6e
SM
34532018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3454
3455 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3456 completer tests.
3457
9325300d
TV
34582018-11-09 Tom de Vries <tdevries@suse.de>
3459
3460 * gdb.base/msym-lang.c: New test.
3461 * gdb.base/msym-lang.exp: New file.
3462 * gdb.base/msym-lang-main.c: New test.
3463
20f0d60d
TT
34642018-11-08 Tom Tromey <tom@tromey.com>
3465
3466 PR gdb/23555:
3467 PR gdb/23838:
3468 * gdb.base/warning.exp: New file.
3469
b5420128
JB
34702018-11-08 Jan Beulich <jbeulich@suse.com>
3471
3472 * testsuite/gdb.arch/i386-avx512.c,
3473 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3474
cd115d61
AB
34752018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3476
3477 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3478 point hardware.
3479
35ee2dc2
AB
34802018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3481
3482 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3483 * gdb.dwarf2/missing-type-name.exp: New file.
3484
31aceee8
TV
34852018-11-06 Tom de Vries <tdevries@suse.de>
3486
3487 * gdb.base/many-headers.c: New test.
3488 * gdb.base/many-headers.exp: New file.
3489
109be305
JW
34902018-11-06 Jim Wilson <jimw@sifive.com>
3491
3492 * gdb.base/code_elim.exp: For riscv, set additional_flags
3493 to include -msmall-data-limit=0.
3494
e2b7af72
JB
34952018-11-01 Joel Brobecker <brobecker@adacore.com>
3496
3497 * gdb.ada/watch_minus_l: New testcase.
3498
cdcda965
SM
34992018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3500
3501 * gdb.arch/aix-sighandle.c: New file.
3502 * gdb.arch/aix-sighandle.exp: New file.
3503
92dcebf3
AB
35042018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3505
3506 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3507 registers being unions.
3508
68b9ac18
TV
35092018-10-31 Tom de Vries <tdevries@suse.de>
3510
3511 * lib/valgrind.exp: New file.
3512 (vgdb_start, vgdb_stop): New procs, factored out of ...
3513 * gdb.base/valgrind-bt.exp: ... here, ...
3514 * gdb.base/valgrind-disp-step.exp: ... here and ...
3515 * gdb.base/valgrind-infcall.exp: ... here.
3516
1443936e
TV
35172018-10-31 Tom de Vries <tdevries@suse.de>
3518
3519 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3520
eb77c9df
AB
35212018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3522
3523 * gdb.dwarf2/void-type.c: New file.
3524 * gdb.dwarf2/void-type.exp: New file.
3525
82b5e646
PW
35262018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3527
3528 * gdb.base/info_qt.c: New file.
3529 * gdb.base/info_qt.exp: New file.
3530
8d619c01
EBM
35312018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3532
3533 * gdb.arch/powerpc-htm-regs.c: New file.
3534 * gdb.arch/powerpc-htm-regs.exp: New file.
3535
f2cf6173
EBM
35362018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3537
3538 * gdb.arch/powerpc-tar.c: New file.
3539 * gdb.arch/powerpc-tar.exp: New file.
3540
7ca18ed6
EBM
35412018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3542
3543 * gdb.arch/powerpc-ppr-dscr.c: New file.
3544 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3545
bfcc0eba
TV
35462018-10-25 Tom de Vries <tdevries@suse.de>
3547
3548 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3549
fe1a5cad
TV
35502018-10-24 Tom de Vries <tdevries@suse.de>
3551
3552 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3553 longer exists error.
3554
a76dc3b7
TV
35552018-10-24 Tom de Vries <tdevries@suse.de>
3556
3557 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3558
4df46df7
TV
35592018-10-24 Tom de Vries <tdevries@suse.de>
3560
3561 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3562 --db-attach in valgrind.
3563
0dbfcfff
AB
35642018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3565
3566 * gdb.arch/riscv-reg-aliases.c: New file.
3567 * gdb.arch/riscv-reg-aliases.exp: New file.
3568
b04480b1
AH
35692018-10-19 Alan Hayward <alan.hayward@arm.com>
3570
3571 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3572
2c6ac8d7
AH
35732018-10-19 Alan Hayward <alan.hayward@arm.com>
3574
3575 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3576
2bc69f25
AH
35772018-10-19 Alan Hayward <alan.hayward@arm.com>
3578
3579 * gdb.cp/ovldbreak.exp: Fix regexps.
3580
1f1ae3a3
AH
35812018-10-19 Alan Hayward <alan.hayward@arm.com>
3582
3583 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3584
94c18618
SDJ
35852018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3586
3587 PR cli/23785
3588 * gdb.base/restore.exp: New test to check if "restore" with an
3589 invalid file doesn't segfault.
3590
812cd6eb
TV
35912018-10-18 Tom de Vries <tdevries@suse.de>
3592
3593 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3594 * gdb.ada/excep_handle.exp: Same.
3595 * gdb.ada/mi_string_access.exp: Same.
3596 * gdb.ada/mi_var_union.exp: Same.
3597 * gdb.arch/arc-analyze-prologue.exp: Same.
3598 * gdb.arch/arc-decode-insn.exp: Same.
3599 * gdb.base/readnever.exp: Same.
3600 * gdb.fortran/printing-types.exp: Same.
3601 * gdb.guile/scm-lazy-string.exp: Same.
3602
c4b90788
TV
36032018-10-16 Tom de Vries <tdevries@suse.de>
3604
3605 PR gdb/23730
3606 * gdb.base/catch-follow-exec.c: Add copyright notice.
3607 * gdb.base/catch-follow-exec.exp: Rewrite to use
3608 gdb_spawn_with_cmdline_opts. Require gdb-native.
3609
8bca2978
SL
36102018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3611
3612 * gdb.trace/actions-changed.exp: Check for arch support.
3613 * gdb.trace/actions.exp: Likewise.
3614 * gdb.trace/ax.exp: Likewise.
3615 * gdb.trace/backtrace.exp: Likewise.
3616 * gdb.trace/change-loc.exp: Likewise.
3617 * gdb.trace/deltrace.exp: Likewise.
3618 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3619 * gdb.trace/ftrace.exp: Likewise.
3620 * gdb.trace/infotrace.exp: Check for arch support.
3621 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3622 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3623 * gdb.trace/mi-tsv-changed.exp: Likewise.
3624 * gdb.trace/packetlen.exp: Likewise.
3625 * gdb.trace/passc-dyn.exp: Likewise.
3626 * gdb.trace/passcount.exp: Likewise.
3627 * gdb.trace/pending.exp: Likewise.
3628 * gdb.trace/range-stepping.exp: Check for shlib support.
3629 * gdb.trace/report.exp: Check for arch support.
3630 * gdb.trace/save-trace.exp: Likewise.
3631 * gdb.trace/signal.exp: Check for signal support.
3632 * gdb.trace/tfind.exp: Check for arch support.
3633 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3634 * gdb.trace/trace-common.h: Add comment.
3635 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3636 * gdb.trace/trace-enable-disable.exp: Likewise.
3637 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3638 * gdb.trace/tracecmd.exp: Check for arch support.
3639 * gdb.trace/tspeed.exp: Check for shlib and target support.
3640 * gdb.trace/tstatus.exp: Check for arch support.
3641 * gdb.trace/tsv.exp: Likewise.
3642 * gdb.trace/while-dyn.exp: Likewise.
3643 * gdb.trace/while-stepping.exp: Likewise.
3644 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3645
f9c49bff
SM
36462018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3647
3648 * gdb.trace/tspeed.exp: Remove nowarnings.
3649 (prepare_for_trace_test): Declare "global ipalib".
3650 * gdb.trace/tspeed.c: Include unistd.h.
3651 (main): Remove superfluous printf argument.
3652
d4330bde
SL
36532018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3654
3655 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3656 directory prefix on the filename.
3657
8ecfd7bd
SDJ
36582018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3659
3660 * gdb.gdb/unittest.exp: Update expected message informing that
3661 selftests have been disabled.
3662 * gdb.server/unittest.exp: Likewise.
3663
58bbcd02
TV
36642018-10-09 Tom de Vries <tdevries@suse.de>
3665
3666 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3667 with runto_main.
3668
9f6b697b
WP
36692018-10-08 Weimin Pan <weimin.pan@oracle.com>
3670
3671 PR c++/16841
3672 * gdb.cp/virtbase2.cc: New file.
3673 * gdb.cp/virtbase2.exp: New file.
3674
add5ded5
TT
36752018-10-06 Tom Tromey <tom@tromey.com>
3676
3677 PR python/19399:
3678 * gdb.python/py-inferior.exp: Add architecture test.
3679
f9e48344
TT
36802018-10-06 Tom Tromey <tom@tromey.com>
3681
3682 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3683 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3684
2a8be203
TT
36852018-10-06 Tom Tromey <tom@tromey.com>
3686
3687 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3688 of a "throw" catchpoint.
3689
e04caa70
SDJ
36902018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3691
3692 * gdb.base/info-proc.exp: Update string expected from "help info
3693 proc".
3694
5ca8c39f
TT
36952018-10-04 Tom Tromey <tom@tromey.com>
3696
3697 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3698 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3699 (test_initial_complaints, test_empty_complaints): Update.
3700 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3701
3453e7e4
TT
37022018-10-04 Tom Tromey <tom@tromey.com>
3703
3704 PR cli/19551:
3705 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3706 * lib/gdb.exp (gdb_file_cmd): Update.
3707 * gdb.stabs/weird.exp (print_weird_var): Update.
3708 * gdb.server/solib-list.exp: Update.
3709 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3710 * gdb.mi/mi-cli.exp: Update.
3711 * gdb.linespec/linespec.exp: Update.
3712 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3713 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3714 * gdb.cp/cp-relocate.exp: Update.
3715 * gdb.base/sym-file.exp: Update.
3716 * gdb.base/relocate.exp: Update.
3717 * gdb.base/readnever.exp: Update.
3718 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3719 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3720 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3721 * gdb.base/code_elim.exp: Update.
3722 * gdb.base/break-unload-file.exp (test_break): Update.
3723 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3724 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3725 Update.
3726 * gdb.base/attach.exp (do_attach_tests): Update.
3727 * gdb.base/sepdebug.exp: Update.
3728 * gdb.python/py-section-script.exp: Update.
3729
6afcf761
TT
37302018-10-04 Tom Tromey <tom@tromey.com>
3731
3732 PR cli/22234:
3733 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3734 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3735 output.
3736
fef1b293
TT
37372018-10-04 Tom Tromey <tom@tromey.com>
3738
3739 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3740 set width and height to 0.
3741 (test_command_line_attach_run): Use -quiet.
3742
ca98345e
SL
37432018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3744
3745 * lib/gdb.exp (skip_ifunc_tests): New.
3746 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3747 other compile failures.
3748 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3749
ff34e6ae
SM
37502018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3751
3752 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3753 is_amd64_regs_target.
3754
6bb8890e
AH
37552018-10-01 Alan Hayward <alan.hayward@arm.com>
3756
3757 * gdb.arch/aarch64-sighandler-regs.c: New test.
3758 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3759 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3760
224d30d3
MM
37612018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3762
3763 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3764 assembly.
3765
f67ffa6a
AB
37662018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3767
3768 * gdb.base/frame-selection.exp: New file.
3769 * gdb.base/frame-selection.c: New file.
3770
9fc3183f
AH
37712018-09-27 Alan Hayward <alan.hayward@arm.com>
3772
3773 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3774 pthread barrier.
3775 (main): Likewise.
3776
d354055e
AB
37772018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3778
3779 * gdb.base/large-frame-1.c: New file.
3780 * gdb.base/large-frame-2.c: New file.
3781 * gdb.base/large-frame.exp: New file.
3782 * gdb.base/large-frame.h: New file.
3783
db727370
JL
37842018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3785
3786 PR gdb/20948
3787 * gdb.base/write_mem.exp: New test.
3788 * gdb.base/write_mem.c: Likewise.
3789
ae778caf
TT
37902018-09-23 Tom Tromey <tom@tromey.com>
3791
3792 PR python/18852:
3793 * gdb.python/py-parameter.exp: Add test for parameter that throws
3794 on "set".
3795
fd3ba736
TT
37962018-09-23 Tom Tromey <tom@tromey.com>
3797
3798 PR python/17284:
3799 * gdb.python/py-template.exp (test_template_arg): Add test for
3800 negative template argument number.
3801
39a24317
TT
38022018-09-23 Tom Tromey <tom@tromey.com>
3803
3804 PR python/14062:
3805 * gdb.python/python.exp: Add test for post_event error.
3806
f5769a2c
TT
38072018-09-23 Tom Tromey <tom@tromey.com>
3808
3809 PR python/18170:
3810 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3811 convert pointers to int and long.
3812
1c1e54f6
TT
38132018-09-23 Tom Tromey <tom@tromey.com>
3814
3815 PR python/20126:
3816 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3817 signed-ness conversion tests.
3818
fb4fa946
TT
38192018-09-23 Tom Tromey <tom@tromey.com>
3820
3821 PR python/18352;
3822 * gdb.python/py-value.exp (test_float_conversion): New proc.
3823 Use it.
3824
a466edac
HAQ
38252018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3826
3827 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3828
4ee9b0c5
SL
38292018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3830
3831 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3832 no readline.
3833 * gdb.base/utf8-identifiers.exp: Likewise.
3834 * gdb.cp/cpcompletion.exp: Likewise.
3835 * gdb.linespec/cpcompletion.exp: Likewise.
3836 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3837 * gdb.linespec/cpls-ops.exp: Likewise.
3838
23be8da7
RB
38392018-09-19 Richard Bunt <richard.bunt@arm.com>
3840 Chris January <chris.january@arm.com>
3841
3842 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3843 * gdb.fortran/short-circuit-argument-list.exp: New file.
3844 * gdb.fortran/short-circuit-argument-list.f90: New test.
3845
5031d0ae
SDJ
38462018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3847
3848 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3849 "arch=" keyword when executing "-stack-list-frames".
3850
b4c0d1a4
SDJ
38512018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3852
3853 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3854 "arch=" keyword when executing "-stack-list-frames".
3855
7a6d2b45
SDJ
38562018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3857
3858 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3859 break ada".
3860
8588b356
SM
38612018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3862
3863 PR python/23669
3864 * gdb.python/python.exp: Test gdb.execute("show commands").
3865
65e65158
TT
38662018-09-16 Tom Tromey <tom@tromey.com>
3867
3868 * gdb.base/new-ui.exp (do_execution_tests): Update.
3869 * gdb.base/dbx.exp (test_breakpoints): Update.
3870
bf326452
AH
38712018-09-14 Alan Hayward <alan.hayward@arm.com>
3872
3873 * lib/gdb.exp (gdb_simple_compile): Add proc.
3874 (is_elf_target): Use gdb_simple_compile.
3875 (skip_altivec_tests): Likewise.
3876 (skip_vsx_tests): Likewise.
3877 (skip_tsx_tests): Likewise.
3878 (skip_btrace_tests): Likewise.
3879 (skip_btrace_pt_tests): Likewise.
3880 (gdb_can_simple_compile): Likewise.
3881 (gdb_has_argv0): Likewise.
3882 (gdb_target_symbol_prefix): Likewise.
3883 (target_supports_scheduler_locking): Likewise.
3884
2361b0fb
TT
38852018-09-13 Tom Tromey <tom@tromey.com>
3886
3887 * Makefile.in (TAGS): Recognize proc_with_prefix and
3888 gdb_caching_proc.
3889
0ae1a321
SM
38902018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3891
3892 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3893 method.
3894
a40bf0c2
SM
38952018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3896
3897 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3898 and a few other Inferior properties when the Inferior is no
3899 longer valid.
3900
4a3fe98f
TT
39012018-09-13 Tom Tromey <tom@tromey.com>
3902
3903 PR rust/23650:
3904 * gdb.rust/simple.exp: Add test for enum field access error.
3905
098b2108
TT
39062018-09-13 Tom Tromey <tom@tromey.com>
3907
3908 PR rust/23626:
3909 * gdb.rust/simple.rs (EmptyEnum): New type.
3910 (main): Use it.
3911 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3912
1256af7d
SM
39132018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3914
3915 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3916 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3917 * gdb.python/py-symtab.exp: Update test printing an objfile.
3918
4aa8e6c2
SM
39192018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3920
3921 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3922 object.
3923
c221b2f7
AH
39242018-09-12 Alan Hayward <alan.hayward@arm.com>
3925
3926 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3927 (support_complex_tests): Use gdb_can_simple_compile.
3928 (is_ilp32_target): Likewise.
3929 (is_lp64_target): Likewise.
3930 (is_64_target): Likewise.
3931 (is_amd64_regs_target): Likewise.
3932 (is_aarch32_target): Likewise.
3933 (gdb_int128_helper): Likewise.
3934
6f1107b5
JK
39352018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3936
3937 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3938
1f5d1570
JG
39392018-09-10 Jerome Guitton <guitton@adacore.com>
3940
3941 * gdb.ada/same_component_name: Add test for case of tagged record
3942 with variable-length fields.
3943
cc330e39
XR
39442018-09-10 Xavier Roirand <roirand@adacore.com>
3945
3946 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3947 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3948 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3949 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3950
b9c50e9a
XR
39512018-09-10 Xavier Roirand <roirand@adacore.com>
3952
3953 * gdb.ada/mi_string_access.exp: New testcase.
3954 * gdb.ada/mi_string_access/bar.adb: New file.
3955 * gdb.ada/mi_string_access/pck.adb: New file.
3956 * gdb.ada/mi_string_access/pck.asd: New file.
3957
2963898f
XR
39582018-09-10 Xavier Roirand <roirand@adacore.com>
3959
3960 * gdb.ada/mi_var_union.exp: New testcase.
3961 * gdb.ada/mi_var_union/bar.adb: New file.
3962 * gdb.ada/mi_var_union/pck.adb: New file.
3963 * gdb.ada/mi_var_union/pck.asd: New file.
3964
1aac008f
TT
39652018-09-08 Tom Tromey <tom@tromey.com>
3966
3967 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3968
332cf4c9
TT
39692018-09-08 Tom Tromey <tom@tromey.com>
3970
3971 PR python/16047:
3972 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3973 (register_pretty_printers): Register new printer.
3974 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3975 test.
3976 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3977 (an_int_type3): New global.
3978
424da6cf
JB
39792018-09-08 Joel Brobecker <brobecker@adacore.com>
3980
3981 * gdb.ada/expr_with_funcall: New testcase.
3982
2a62dfa9
JB
39832018-09-08 Joel Brobecker <brobecker@adacore.com>
3984
3985 * gdb.ada/packed_array_assign: New testcase.
3986
96b6697f
AB
39872018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3988
3989 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3990 names, and add test prefixes to make test names unique.
3991
e4a62c65
TV
39922018-09-05 Tom de Vries <tdevries@suse.de>
3993
3994 * gdb.dwarf2/varval.exp: Add test.
3995
dd083ee2
GB
39962018-09-04 Gary Benson <gbenson@redhat.com>
3997
3998 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3999 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4000
aef9346c
TT
40012018-08-31 Tom Tromey <tom@tromey.com>
4002
4003 * gdb.rust/simple.rs: Rename second variable "v".
4004
c67f2e15
AB
40052018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4006
4007 * gdb.base/funcargs.c (use_a): New function.
4008 (recurse): Call use_a.
4009
078a0207
KS
40102018-08-29 Keith Seitz <keiths@redhat.com>
4011
4012 * gdb.compile/compile-cplus-anonymous.cc: New file.
4013 * gdb.compile/compile-cplus-anonymous.exp: New file.
4014 * gdb.compile/compile-cplus-array-decay.cc: New file.
4015 * gdb.compile/compile-cplus-array-decay.exp: New file.
4016 * gdb.compile/compile-cplus-inherit.cc: New file.
4017 * gdb.compile/compile-cplus-inherit.exp: New file.
4018 * gdb.compile/compile-cplus-member.cc: New file.
4019 * gdb.compile/compile-cplus-member.exp: New file.
4020 * gdb.compile/compile-cplus-method.cc: New file.
4021 * gdb.compile/compile-cplus-method.exp: New file.
4022 * gdb.compile/compile-cplus-mod.c: "New" file.
4023 * gdb.compile/compile-cplus-namespace.cc: New file.
4024 * gdb.compile/compile-cplus-namespace.exp: New file.
4025 * gdb.compile/compile-cplus-nested.cc: New file.
4026 * gdb.compile/compile-cplus-nested.exp: New file.
4027 * gdb.compile/compile-cplus-print.c: "New" file.
4028 * gdb.compile/compile-cplus-print.exp: "New" file.
4029 * gdb.compile/compile-cplus-virtual.cc: New file.
4030 * gdb.compile/compile-cplus-virtual.exp: New file.
4031 * gdb.compile/compile-cplus.c: "New" file.
4032 * gdb.compile/compile-cplus.exp: "New" file.
4033 * lib/compile-support.exp: New file.
4034
b0f492b9
GB
40352018-08-16 Gary Benson <gbenson@redhat.com>
4036
4037 PR gdb/13000:
4038 * gdb.base/batch-exit-status.exp: New file.
4039 * gdb.base/batch-exit-status.good-commands: Likewise.
4040 * gdb.base/batch-exit-status.bad-commands: Likewise.
4041
36eb4c5f
AH
40422018-08-29 Alan Hayward <alan.hayward@arm.com>
4043
4044 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4045 (struct struct02): Likewise.
4046 (struct struct03): Likewise.
4047 (struct struct04): Likewise.
4048 (struct struct_01_01): New struct.
4049 (struct struct_01_02): Likewise.
4050 (struct struct_01_03): Likewise.
4051 (struct struct_01_04): Likewise.
4052 (struct struct_02_01): Likewise.
4053 (struct struct_02_02): Likewise.
4054 (struct struct_02_03): Likewise.
4055 (struct struct_02_04): Likewise.
4056 (struct struct_04_01): Likewise.
4057 (struct struct_04_02): Likewise.
4058 (struct struct_04_03): Likewise.
4059 (struct struct_04_04): Likewise.
4060 (struct struct_05_01): Likewise.
4061 (struct struct_05_02): Likewise.
4062 (struct struct_05_03): Likewise.
4063 (struct struct_05_04): Likewise.
4064 (cmp_struct01): Remove function.
4065 (cmp_struct02): Likewise.
4066 (cmp_struct03): Likewise.
4067 (cmp_struct04): Likewise.
4068 (cmp_struct_01_01): Add Function.
4069 (cmp_struct_01_02): Likewise.
4070 (cmp_struct_01_03): Likewise.
4071 (cmp_struct_01_04): Likewise.
4072 (cmp_struct_02_01): Likewise.
4073 (cmp_struct_02_02): Likewise.
4074 (cmp_struct_02_03): Likewise.
4075 (cmp_struct_02_04): Likewise.
4076 (cmp_struct_04_01): Likewise.
4077 (cmp_struct_04_02): Likewise.
4078 (cmp_struct_04_03): Likewise.
4079 (cmp_struct_04_04): Likewise.
4080 (cmp_struct_05_01): Likewise.
4081 (cmp_struct_05_02): Likewise.
4082 (cmp_struct_05_03): Likewise.
4083 (cmp_struct_05_04): Likewise.
4084 (call_all): Add new structs.
4085 * gdb.base/infcall-nested-structs.exp: Likewise.
4086
3bf9c013
JV
40872018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4088
4089 * gdb.python/py-framefilter-mi.exp: Update regexp to
4090 check for "arch" field in frame output.
4091
450d1e88
KB
40922018-08-23 Kevin Buettner <kevinb@redhat.com>
4093
4094 * gdb.dwarf2/dw2-ranges-func.c: New file.
4095 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4096
ae739fe7
SM
40972018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4098
4099 * gdb.base/term.exp: Compare terminal settings with values from
4100 the inferior.
4101 * gdb.base/term.c: Get and set terminal settings.
4102
6d52907e
JV
41032018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4104
4105 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4106 accommodate new "arch" field in frame output.
4107 * gdb.mi/mi-return.exp: Likewise.
4108 * gdb.mi/mi-stack.exp: Likewise.
4109 * gdb.mi/mi-syn-frame.exp: Likewise.
4110 * gdb.mi/user-selected-context-sync.exp: Likewise.
4111
be2d111a
MS
41122018-08-19 Michael Spang <spang@google.com>
4113
4114 PR gdb/11786
4115 * gdb.base/gcore-tls-pie.c: New file.
4116 * gdb.base/gcore-tls-pie.exp: New file.
4117
ae3a7c47
KB
41182018-08-18 Kevin Buettner <kevinb@redhat.com>
4119
4120 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
4121 * gdb.dwarf2/varval.c: New file.
4122 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 4123
2ecae92e
AH
41242018-08-17 Alan Hayward <alan.hayward@arm.com>
4125
4126 PR gdb/18931
4127 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4128
c1854f1d
KS
41292018-08-16 Keith Seitz <keiths@redhat.com>
4130
4131 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4132 tests expected to pass.
4133
26fb3983
JV
41342018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4135
4136 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4137 -data-disassemble -a.
4138 (test_disassembly_bogus_args): Likewise.
4139
67943c00
AB
41402018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4141
4142 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4143
5ff2bbae
AB
41442018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4145
4146 * gdb.base/vla-optimized-out.exp: Add new test.
4147
e5bbcd0f
AB
41482018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4149
4150 * gdb.base/vla-optimized-out-o3.exp: Delete.
4151 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4152 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4153 deleted tests.
4154
9d4a934c
AB
41552018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4156
4157 PR gdb/18050:
4158 * gdb.server/extended-remote-restart.c: New file.
4159 * gdb.server/extended-remote-restart.exp: New file.
4160
045cf012
SM
41612018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4162
4163 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4164 "set variable index = 42".
4165
87d6a7aa
SM
41662018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4167
4168 * boards/index-cache-gdb.exp: New file.
4169 * gdb.dwarf2/index-cache.exp: New file.
4170 * gdb.dwarf2/index-cache.c: New file.
4171 * gdb.base/maint.exp: Check if we are using the index cache.
4172
96d68bd4
RO
41732018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4174
4175 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4176 MAKEFLAGS.
4177
5a699617
RO
41782018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4179
4180 * dg-extract-results.sh: Move to toplevel contrib.
4181 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4182 * Makefile.in (check-parallel-racy): Likewise.
4183
5bd18990
AB
41842018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4185
4186 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4187 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4188 tests if the target supports scheduler locking.
4189
3fbbcf47
TV
41902018-08-04 Tom de Vries <tdevries@suse.de>
4191
4192 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4193
3e1d3d8c
TT
41942018-08-02 Tom Tromey <tom@tromey.com>
4195
4196 PR symtab/16842.
4197 * gdb.cp/temargs.exp: Test "info address" of a template
4198 parameter.
4199
5abe0f0c
JV
42002018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4201
4202 * gdb.python/py-mi-var-info-path-expression.c: New file.
4203 * gdb.python/py-mi-var-info-path-expression.py: New file.
4204 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4205
fb66cde8
SDJ
42062018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4207
4208 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4209 error after "cannot resolve name" string.
4210
c708f4d2
AB
42112018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4212
4213 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4214 started.
4215 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4216
37cc0cae
TV
42172018-07-28 Tom de Vries <tdevries@suse.de>
4218
4219 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4220
63b4ecf7
TV
42212018-07-26 Tom de Vries <tdevries@suse.de>
4222
4223 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4224
3c3bb058
AB
42252018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4226
4227 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4228 is visible.
4229
9e7f3bbb
TV
42302018-07-26 Tom de Vries <tdevries@suse.de>
4231
4232 PR breakpoints/23366
4233 * gdb.base/catch-follow-exec.c: New test.
4234 * gdb.base/catch-follow-exec.exp: New file.
4235
16f808ec
TV
42362018-07-25 Tom de Vries <tdevries@suse.de>
4237
4238 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4239 vla-optimized-out.c.
4240
d7154a8d
JV
42412018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4242
4243 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4244 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4245
232a0032
TV
42462018-07-20 Tom de Vries <tdevries@suse.de>
4247
4248 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4249 NOCLONE macro.
4250 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4251
fbb1d502
TV
42522018-07-19 Tom de Vries <tdevries@suse.de>
4253
4254 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4255 regular expression.
4256
42dc7699
TV
42572018-07-18 Tom de Vries <tdevries@suse.de>
4258
4259 * gdb.base/vla-optimized-out.c: New test.
4260 * gdb.base/vla-optimized-out.exp: New file.
4261
7f1f7e23
SDJ
42622018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4263
4264 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4265 message "No address associated with hostname" when gdbserver
4266 cannot resolve the hostname.
4267
5759ebb3
PW
42682018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4269
4270 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4271 Add some test prefixes to make tests unique.
4272
3606ccab
PW
42732018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4274
4275 * gdb.base/frameapply.c: New file.
4276 * gdb.base/frameapply.exp: New file.
4277
529c08b2
PW
42782018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4279
4280 * gdb.base/skip.exp: Update expected error message.
4281
c7ab0aef
SDJ
42822018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4283 Jan Kratochvil <jan.kratochvil@redhat.com>
4284 Paul Fertser <fercerpav@gmail.com>
4285 Tsutomu Seki <sekiriki@gmail.com>
4286
4287 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4288 parameter.
4289 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4290 by default.
4291 * boards/native-gdbserver.exp: Likewise.
4292 * gdb.server/run-without-local-binary.exp: Improve regexp used
4293 for detecting when a remote debugging connection succeeds.
4294 * gdb.server/server-connect.exp: New file.
4295 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4296 Do not prefix the port number with ":".
4297 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4298 support for detecting and using it. Add '$debughost_gdbserver'
4299 to the list of arguments used to start gdbserver. Handle case
4300 when gdbserver cannot resolve a network name.
4301
16ff70dd
SDJ
43022018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4303
4304 PR c++/23373
4305 * gdb.base/ptype-offsets.cc (struct static_member): New
4306 struct.
4307 (main) <stmember>: New variable.
4308 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4309 with a static member in it.
4310
3541979f
AB
43112018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4312
4313 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4314 watchpoints enabled and disabled.
4315
c8ad9b9a
AB
43162018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4317
4318 * gdb.base/examine-backward.exp: Still run tests around address
4319 0x0, even if address 0x0 is not readable. Update the pattern for
4320 matching address 0x0 in expected output.
4321
e0e5e971
AB
43222018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4323
4324 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4325 malloc/free.
4326
1ea5da02
TV
43272018-07-04 Tom de Vries <tdevries@suse.de>
4328
4329 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4330
471b9d15
MR
43312018-07-02 Maciej W. Rozycki <macro@mips.com>
4332
4333 PR tdep/8282
4334 * gdb.arch/mips-disassembler-options.exp: New test.
4335 * gdb.arch/mips-disassembler-options.s: New test source.
4336
75acb486
PA
43372018-06-29 Pedro Alves <palves@redhat.com>
4338
4339 * gdb.threads/names.exp: Adjust expected "info threads" output.
4340
cd2bb709
PA
43412018-06-29 Pedro Alves <palves@redhat.com>
4342
4343 * gdb.opt/inline-break.exp (line number, address): Add "info
4344 break" tests.
4345
991ff292
PA
43462018-06-29 Pedro Alves <palves@redhat.com>
4347
4348 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4349 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4350 number and address and running to them.
4351
356819b6 43522018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
4353
4354 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4355
2512d7ef
JK
43562018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4357
4358 * lib/compiler.c: Remove executable permission flag.
4359
be1b6474
RB
43602018-06-28 Richard Bunt <richard.bunt@arm.com>
4361
4362 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4363 code.
4364 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4365
291f9a96
PT
43662018-06-28 Petr Tesarik <ptesarik@suse.cz>
4367
4368 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4369
ed6dfe51
PT
43702018-06-28 Petr Tesarik <ptesarik@suse.cz>
4371
4372 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4373 address argument is omitted.
4374
d4d429d5
PT
43752018-06-28 Petr Tesarik <ptesarik@suse.cz>
4376
4377 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4378
7ab6656f
OJ
43792018-06-27 Omair Javaid <omair.javaid@linaro.org>
4380
4381 PR gdb/21695
4382 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4383 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4384
a33ccfc7
TT
43852018-06-26 Tom Tromey <tom@tromey.com>
4386
4387 PR rust/22574:
4388 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4389 * gdb.rust/simple.rs (struct SimpleLayout): New.
4390
6d72d289
SM
43912018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4392
4393 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4394 "info registers" output.
4395
8363f9d5
RB
43962018-06-21 Richard Bunt <richard.bunt@arm.com>
4397
4398 * gdb.base/watchpoint-hw-attach.c: New test.
4399 * gdb.base/watchpoint-hw-attach.exp: New file.
4400
f00674fe
SM
44012018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4402
4403 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4404 through /bin/sh.
4405 * boards/dwarf4-gdb-index.exp: Likewise.
4406 * boards/fission-dwp.exp: Likewise.
4407
1d554008
UW
44082018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4409
4410 * gdb.base/float128.exp: Add comment and improved fail message
4411 to the failure case of "print large128" test.
4412
d0ac1c44
SM
44132018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4414
4415 * configure.ac: Remove AC_PREREQ.
4416 * configure: Re-generate.
4417
61b04dd0
PA
44182018-06-19 Pedro Alves <palves@redhat.com>
4419
4420 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4421 (func_extern_caller): New.
4422 (main): Call func_extern_caller.
4423 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4424 logic change.
4425
f63b508a
SM
44262018-06-18 Weimin Pan <weimin.pan@oracle.com>
4427
4428 PR gdb/16841
4429 * gdb.cp/typedef-base.cc: New file.
4430 * gdb.cp/typedef-base.exp: New file.
4431
0fe3a558
TV
44322018-06-18 Tom de Vries <tdevries@suse.de>
4433
4434 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4435
7010835a
AB
44362018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4437 Richard Bunt <Richard.Bunt@arm.com>
4438
4439 * gdb.threads/attach-slow-waitpid.c: New file.
4440 * gdb.threads/attach-slow-waitpid.exp: New file.
4441 * gdb.threads/slow-waitpid.c: New file.
4442
14897d65
PA
44432018-06-14 Pedro Alves <palves@redhat.com>
4444
4445 * gdb.base/fork-running-state.c: Include <errno.h>.
4446 (exit_if_relative_exits): New.
4447 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4448 exits.
4449 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4450 child exits.
4451
5d9a0608
TV
44522018-06-14 Tom de Vries <tdevries@suse.de>
4453
4454 PR cli/22573
4455 * gdb.base/finish-pretty.c: New test.
4456 * gdb.base/finish-pretty.exp: New file.
4457
11ae5818
PA
44582018-06-14 Pedro Alves <palves@redhat.com>
4459
4460 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4461 gdb's expected startup output.
4462
1d39de44
PA
44632018-06-14 Pedro Alves <palves@redhat.com>
4464
4465 * lib/selftest-support.exp (selftest_setup): Remove inlined
4466 function handling.
4467
70ee0000
TV
44682018-06-14 Tom de Vries <tdevries@suse.de>
4469
4470 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4471 matching of breakpoint printing.
4472
11f4b608
TV
44732018-06-13 Tom de Vries <tdevries@suse.de>
4474
4475 PR testsuite/23269
4476 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4477 (fork_child): ... here, and ...
4478 (fork_parent): ... here.
4479
44802018-06-12 Tom de Vries <tdevries@suse.de>
4481
4482 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4483
9516f85a
AB
44842018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4485 Stephen Roberts <stephen.roberts@arm.com>
4486
4487 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4488 rewrite test to describe action performed, rather than possible
4489 failure.
4490
5045b3d7
GB
44912018-06-08 Gary Benson <gbenson@redhat.com>
4492
4493 * gdb.threads/check-libthread-db.exp: New file.
4494 * gdb.threads/check-libthread-db.c: Likewise.
4495
c61b06a1
TT
44962018-06-05 Tom Tromey <tom@tromey.com>
4497
4498 * gdb.base/default.exp: Update expected "show version" output.
4499
eb6af809
TT
45002018-06-05 Tom Tromey <tom@tromey.com>
4501
4502 PR cli/12326:
4503 * gdb.cp/static-print-quit.exp: Update.
4504 * lib/gdb.exp (pagination_prompt): Update.
4505 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4506 * gdb.python/python.exp: Update.
4507
178d6a63
JB
45082018-06-04 Joel Brobecker <brobecker@adacore.com>
4509
4510 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4511
8e817061
JB
45122018-06-01 Joel Brobecker <brobecker@adacore.com>
4513
4514 * gdb.ada/bp_fun_addr: New testcase.
4515
e86ca25f
TT
45162018-06-01 Tom Tromey <tom@tromey.com>
4517
4518 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4519 results.
4520 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4521 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4522 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4523 * gdb.base/maint.exp (maint_pass_if): Update.
4524
4b2dfa9d
MR
45252018-05-31 Maciej W. Rozycki <macro@mips.com>
4526
4527 * gdb.base/endian.exp: New test.
4528 * gdb.base/endian.c: New test source.
4529
45f25d6c
AB
45302018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4531
4532 PR gdb/23203
4533 * gdb.base/bt-selected-frame.c: New file.
4534 * gdb.base/bt-selected-frame.exp: New file.
4535 * lib/gdb.exp (get_current_frame_number): New function.
4536
d9f6d7f8
MR
45372018-05-24 Maciej W. Rozycki <macro@mips.com>
4538 Pedro Alves <palves@redhat.com>
4539
4540 * gdb.threads/tls-core.c: Include <stdlib.h>
4541 (thread_proc): Call `abort'.
4542 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4543 (tls_core_test): New procedure, bits factored out from ...
4544 (top level): ... here. Test both native cores and gcore cores.
4545
ff1cf532
TT
45462018-05-23 Tom Tromey <tom@tromey.com>
4547
4548 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4549
b98664d3
TT
45502018-05-23 Tom Tromey <tom@tromey.com>
4551
4552 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4553 symfile_complaints.
4554 (test_short_complaints): Likewise.
4555 (test_empty_complaints): Likewise.
4556 (test_initial_complaints): Update.
4557
4e9668d0
TT
45582018-05-23 Tom Tromey <tom@tromey.com>
4559
4560 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4561
43ba33c7
TT
45622018-05-23 Tom Tromey <tom@tromey.com>
4563
4564 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4565 (test_short_complaints): Update.
4566
035522c0
PA
45672018-05-22 Pedro Alves <palves@redhat.com>
4568
4569 * gdb.base/remote.exp: Only gdb_start after compiling the
4570 testcase. Issue "disconnect" before testing "set remote" command
4571 defaults. Issue clean_restart before running to main.
4572
cc0be08f
PA
45732018-05-22 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.base/remote.exp: Adjust expected output of "show remote
4576 memory-write-packet-size". Add tests for "set remote
4577 memory-write-packet-size 0" and "set remote
4578 memory-write-packet-size fixed/limit".
4579
b1b60145
PA
45802018-05-22 Pedro Alves <palves@redhat.com>
4581
4582 PR gdb/22973
4583 * gdb.base/utf8-identifiers.c: New file.
4584 * gdb.base/utf8-identifiers.exp: New file.
4585
0ec848ad
PFC
45862018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4587
4588 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4589
2c3305f6
PFC
45902018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4591
4592 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4593
ce1e8424
TT
45942018-05-18 Tom Tromey <tom@tromey.com>
4595
4596 * gdb.base/ptype-offsets.exp: Update.
4597
ddfe970e
KS
45982018-05-17 Keith Seitz <keiths@redhat.com>
4599
4600 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4601 in expected breakpoint stop locations.
4602 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4603 move to proper scope to test variable values.
4604 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4605 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4606 New functions.
4607 (main): Call not_inline_func3.
4608 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4609 inline_func1, inline_func2, and inline_func3. Test that when each
4610 breakpoint is hit, GDB properly reports both the stop location
4611 and the backtrace. Repeat tests for temporary breakpoints.
4612
0726fcc6
MR
46132018-05-15 Maciej W. Rozycki <macro@mips.com>
4614
4615 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4616 rather then trying to access it in determining whether the PID
4617 of `gdbserver' could have been retrieved.
4618
8ee22052
AB
46192018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4620
4621 * gdb.arch/amd64-init-x87-values.S: New file.
4622 * gdb.arch/amd64-init-x87-values.exp: New file.
4623
7785df48
JK
46242018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4625
4626 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4627
56bcdbea
TT
46282018-05-04 Tom Tromey <tom@tromey.com>
4629
4630 PR python/22730:
4631 * gdb.python/python.exp: Test multi-line execute.
4632
a913fffb
TT
46332018-05-04 Tom Tromey <tom@tromey.com>
4634
4635 PR python/22731:
4636 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4637
7a2c85f2
TT
46382018-05-04 Tom Tromey <tom@tromey.com>
4639
4640 PR gdb/11750:
4641 * gdb.base/define.exp: Test defining a user command inside a user
4642 command.
4643 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4644
a3b60e45
JK
46452018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4646 Pedro Alves <palves@redhat.com>
4647
4648 PR breakpoints/19806 and support for PR external/20207.
4649 * gdb.base/watchpoint-unaligned.c: New file.
4650 * gdb.base/watchpoint-unaligned.exp: New file.
4651
45fe4a03
AB
46522018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4653
4654 * gdb.base/maint.exp: Make test names unique, use
4655 test_prefix_command_help to test 'help maint info', and remove
4656 repeated test of 'help maint'.
4657
9be2ae8f
TT
46582018-05-04 Tom Tromey <tom@tromey.com>
4659
4660 PR gdb/22619:
4661 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4662 behavior.
4663
11859c31
AB
46642018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4665
4666 * gdb.base/maint.exp: Process output from 'maint print registers'
4667 line at a time.
4668
089a9490
AB
46692018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4670
4671 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4672 timeout.
4673
9b0797e2
AB
46742018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4675
4676 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4677 filter pattern.
4678
f6ac5f3d
PA
46792018-05-02 Pedro Alves <palves@redhat.com>
4680
4681 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4682 to_log_command renames.
4683 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4684
77d3c63b
TT
46852018-05-02 Tom Tromey <tom@tromey.com>
4686
4687 * gdb.python/py-parameter.exp: Set test message.
4688
0489430a
TT
46892018-05-02 Tom Tromey <tom@tromey.com>
4690
4691 PR python/20084:
4692 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4693 PARAM_ZUINTEGER_UNLIMITED tests.
4694
1632f8ba
DR
46952018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4696
4697 PR rust/23124
4698 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4699 when casting.
4700
6d7bb824
TT
47012018-04-30 Tom Tromey <tom@tromey.com>
4702
4703 * gdb.python/py-type.exp: Check align attribute.
4704 * gdb.python/py-type.c: New "aligncheck" global.
4705
007e1530
TT
47062018-04-30 Tom Tromey <tom@tromey.com>
4707
4708 PR exp/17095:
4709 * gdb.dwarf2/dw2-align.exp: New file.
4710 * gdb.cp/align.exp: New file.
4711 * gdb.base/align.exp: New file.
4712 * lib/gdb.exp (gdb_int128_helper): New proc.
4713 (has_int128_c, has_int128_cxx): New caching procs.
4714
6873858b
TT
47152018-04-27 Tom Tromey <tom@tromey.com>
4716
4717 PR rust/22545:
4718 * gdb.rust/simple.exp: Add inclusive range tests.
4719
79188d8d
PA
47202018-04-26 Pedro Alves <palves@redhat.com>
4721
4722 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4723 ifunc breakpoint locations correctly of ifunc breakpoints set
4724 while the program resolves the ifunc.
4725
c7075ad5
PA
47262018-04-26 Pedro Alves <palves@redhat.com>
4727
4728 * gdb.base/gnu-ifunc-final.c: New file.
4729 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4730 * gdb.base/gnu-ifunc.exp (executable): Delete.
4731 (staticexecutable): Adjust.
4732 (lib_opts, exec_opts): Delete.
4733 (make_binsuffix, build, set-break): New procedures.
4734 (misc_tests): New, with tests factored out from the top level.
4735 (top level): Test different combinations of ifunc resolver name,
4736 resolver with and with debug info, and ifunc target with and
4737 without debug info. Wrap static tests with with_target_prefix.
4738
8388016d
PA
47392018-04-26 Pedro Alves <palves@redhat.com>
4740
4741 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4742 return type" warnings.
4743
249b5733
PA
47442018-04-25 Pedro Alves <palves@redhat.com>
4745
4746 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4747 killed".
4748 * gdb.base/kill-after-signal.exp: Likewise.
4749 * gdb.threads/kill.exp: Likewise.
4750
f67c0c91
SDJ
47512018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4752 Sergio Durigan Junior <sergiodj@redhat.com>
4753 Pedro Alves <palves@redhat.com>
4754
4755 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4756 regexps to expect for '[Inferior ... detached]' as well.
4757 * gdb.base/attach.exp: Likewise.
4758 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4759 "gdb_continue_to_end".
4760 (test_catch_syscall_with_wrong_args): Likewise.
4761 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4762 ']'. Don't set 'verbose' on.
4763 * gdb.base/foll-vfork.exp: Likewise.
4764 * gdb.base/fork-print-inferior-events.c: New file.
4765 * gdb.base/fork-print-inferior-events.exp: New file.
4766 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4767 '[Inferior ... has been killed]' message.
4768 * gdb.base/kill-after-signal.exp: Likewise.
4769 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4770 detach message.
4771 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4772 message.
4773 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4774 regexps to expect for '[Inferior ... detached]' as well.
4775 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4776
0a8ddac4
SM
47772018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4778
4779 PR gdb/23104
4780 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4781
701adfb0
PA
47822018-04-22 Rajendra SY <rajendra.sy@gmail.com>
4783
4784 PR gdb/23095
4785 * gdb.base/break-probes.exp: Pass shlib_load to
4786 prepare_for_testing. Set normal_bp to r_debug_state if target is
4787 bsd.
4788
d27d16bf
RB
47892018-04-19 Richard Bunt <richard.bunt@arm.com>
4790
4791 * gdb.threads/multiple-successive-infcall.c: New test.
4792 * gdb.threads/multiple-successive-infcall.exp: New file.
4793
a037790e
TT
47942018-04-17 Tom Tromey <tom@tromey.com>
4795
4796 * gdb.rust/simple.rs (Union): New type.
4797 (main): New local "u".
4798 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4799
e3a91079
AA
48002018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4801
4802 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4803 number information in output of "whereis" command.
4804 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4805
b744723f
AA
48062018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4807
4808 * gdb.ada/info_types.exp: Adjust expected output to the line
4809 numbers now printed by "info var/func/type".
4810 * gdb.base/completion.exp: Likewise.
4811 * gdb.base/included.exp: Likewise.
4812 * gdb.cp/cp-relocate.exp: Likewise.
4813 * gdb.cp/cplusfuncs.exp: Likewise.
4814 * gdb.cp/namespace.exp: Likewise.
4815 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4816
4a4495d6
MM
48172018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4818
4819 * gdb.btrace/cpu.exp: New.
4820
1d509aa6
MM
48212018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4822
4823 * gdb.base/step-indirect-call-thunk.exp: New.
4824 * gdb.base/step-indirect-call-thunk.c: New.
4825 * gdb.reverse/step-indirect-call-thunk.exp: New.
4826 * gdb.reverse/step-indirect-call-thunk.c: New.
4827
6295b6da
SM
48282018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4829
4830 * gdb.base/pie-fork.c: New file.
4831 * gdb.base/pie-fork.exp: New file.
4832
50146e70
TT
48332018-04-11 Tom Tromey <tom@tromey.com>
4834
4835 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4836
f50d8a2e
PA
48372018-04-10 Pedro Alves <palves@redhat.com>
4838
4839 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4840 exits. Instead loop running forever.
4841 (fork_parent): Run forever too.
4842
a0be7a36
SM
48432018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4844
4845 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4846 mi_continue_to_line.
4847 * gdb.mi/mi-stack.c (callee4): Add comment.
4848
9b73db36
SM
48492018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4850
4851 * gdb.mi/mi-stack.exp: Fix indentation.
4852
c912f608
SM
48532018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4854
4855 PR gdb/22979
4856 * gdb.arch/amd64-osabi.exp: New file.
4857
26540402
SM
48582018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4859
4860 PR gdb/22980
4861 * gdb.base/osabi.exp: New file.
4862
121ad66c 48632018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
4864
4865 * gdb.cp/static-typedef-print.exp: New file.
4866 * gdb.cp/static-typedef-print.cc: New file.
4867
3fcded8f
JB
48682018-03-27 Joel Brobecker <brobecker@adacore.com>
4869
4870 * gdb.ada/varsize_limit: New testcase.
4871
59cc4834
JB
48722018-03-27 Joel Brobecker <brobecker@adacore.com>
4873
4874 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4875
4876 * gdb.ada/notcplusplus: New testcase.
4877
4878 * gdb.base/c-linkage-name.c: New file.
4879 * gdb.base/c-linkage-name.exp: New testcase.
4880
4ca59a9f
TT
48812018-03-26 Tom Tromey <tom@tromey.com>
4882
4883 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4884 * gdb.python/py-framefilter.py (name_error): New global.
4885 (ErrorInName.function): Use name_error.
4886
978d6c75
TT
48872018-03-26 Tom Tromey <tom@tromey.com>
4888
4889 PR backtrace/15582:
4890 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4891
b7fee5a3
KS
48922018-03-23 Keith Seitz <keiths@redhat.com>
4893
4894 PR c++/22968
4895 * gdb.cp/subtypes.exp: New file.
4896 * gdb.cp/subtypes.h: New file.
4897 * gdb.cp/subtypes.cc: New file.
4898 * gdb.cp/subtypes-2.cc: New file.
4899
376be529
AB
49002018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4901
4902 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4903 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4904 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4905 -nostartfiles when compiling the test. Confirm that all registers
4906 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4907
066cfa98
AB
49082018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4909
4910 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4911 option, syntax was wrong anyway.
4912 * gdb.arch/arm-disp-step.exp: Likewise.
4913 * gdb.arch/sparc64-regs.exp: Likewise.
4914 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4915 option, syntax was wrong anyway, switch to use
4916 prepare_for_testing.
4917 * gdb.arch/i386-disp-step.exp: Likewise.
4918
079670b9
AA
49192018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4920
4921 * gdb.ada/exec_changed.exp: Replace "target_info exists
4922 use_gdb_stub" by "use_gdb_stub".
4923 * gdb.ada/start.exp: Likewise.
4924 * gdb.base/async-shell.exp: Likewise.
4925 * gdb.base/attach-pie-misread.exp: Likewise.
4926 * gdb.base/attach-wait-input.exp: Likewise.
4927 * gdb.base/break-entry.exp: Likewise.
4928 * gdb.base/break-interp.exp: Likewise.
4929 * gdb.base/dprintf-detach.exp: Likewise.
4930 * gdb.base/nostdlib.exp: Likewise.
4931 * gdb.base/solib-nodir.exp: Likewise.
4932 * gdb.base/statistics.exp: Likewise.
4933 * gdb.base/testenv.exp: Likewise.
4934 * gdb.mi/mi-exec-run.exp: Likewise.
4935 * gdb.mi/mi-start.exp: Likewise.
4936 * gdb.multi/dummy-frame-restore.exp: Likewise.
4937 * gdb.multi/multi-arch-exec.exp: Likewise.
4938 * gdb.multi/multi-arch.exp: Likewise.
4939 * gdb.multi/tids.exp: Likewise.
4940 * gdb.multi/watchpoint-multi.exp: Likewise.
4941 * gdb.python/py-events.exp: Likewise.
4942 * gdb.threads/attach-into-signal.exp: Likewise.
4943 * gdb.threads/attach-stopped.exp: Likewise.
4944 * gdb.threads/threadapply.exp: Likewise.
4945 * lib/selftest-support.exp: Likewise.
4946
26d6cec4
AA
49472018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4948
4949 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4950
4ee89e90
SR
49512018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4952
4953 * gdb.perf/template-breakpoints.cc: New file.
4954 * gdb.perf/template-breakpoints.exp: New file.
4955 * gdb.perf/template-breakpoints.py: New file.
4956
92630041
TT
49572018-03-19 Tom Tromey <tom@tromey.com>
4958
4959 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4960 y0.
4961 * gdb.rust/simple.exp: Test bare identifier form of struct
4962 initializer.
4963
76727919
TT
49642018-03-19 Tom Tromey <tom@tromey.com>
4965
4966 * gdb.gdb/observer.exp: Remove.
4967
194ed413
AA
49682018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4969
4970 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4971 "qualified" option when setting breakpoints.
4972 * gdb.trace/backtrace.exp: Likewise.
4973 * gdb.trace/circ.exp: Likewise.
4974 * gdb.trace/collection.exp: Likewise.
4975 * gdb.trace/disconnected-tracing.exp: Likewise.
4976 * gdb.trace/ftrace-lock.exp: Likewise.
4977 * gdb.trace/ftrace.exp: Likewise.
4978 * gdb.trace/infotrace.exp: Likewise.
4979 * gdb.trace/packetlen.exp: Likewise.
4980 * gdb.trace/passc-dyn.exp: Likewise.
4981 * gdb.trace/qtro.exp: Likewise.
4982 * gdb.trace/read-memory.exp: Likewise.
4983 * gdb.trace/report.exp: Likewise.
4984 * gdb.trace/signal.exp: Likewise.
4985 * gdb.trace/status-stop.exp: Likewise.
4986 * gdb.trace/strace.exp: Likewise.
4987 * gdb.trace/tfind.exp: Likewise.
4988 * gdb.trace/trace-break.exp: Likewise.
4989 * gdb.trace/trace-condition.exp: Likewise.
4990 * gdb.trace/trace-mt.exp: Likewise.
4991 * gdb.trace/tstatus.exp: Likewise.
4992 * gdb.trace/tsv.exp: Likewise.
4993 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4994 * gdb.trace/unavailable.exp: Likewise.
4995 * gdb.trace/while-dyn.exp: Likewise.
4996
8b067d2c
AA
49972018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4998
4999 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5000 that libinproctrace is copied to the target.
5001
3ae9ce5d
TT
50022018-03-14 Tom Tromey <tom@tromey.com>
5003
5004 PR cli/14977:
5005 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5006 a null pointer.
5007 * gdb.base/wchar.exp: Likewise.
5008
b8c2339b
TT
50092018-03-14 Tom Tromey <tom@tromey.com>
5010
5011 PR cli/19918:
5012 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5013 flag.
5014
4872dc46
SM
50152018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5016
5017 PR gdb/22841
5018 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5019 "target" to remote_exec.
5020
e4fe3756
SM
50212018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5022
5023 PR gdb/22841
5024 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5025 ${board}_upload): Remove.
5026
e95a97d4
AA
50272018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5028
5029 * gdb.cp/watch-cp.cc: New test.
5030 * gdb.cp/watch-cp.exp: New file.
5031
dbbb1059
AB
50322018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5033
5034 * gdb.base/infcall-nested-structs.exp: New file.
5035 * gdb.base/infcall-nested-structs.c: New file.
5036 * gdb.base/float.exp: Add riscv support.
5037
ecc054c0
TP
50382018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5039
5040 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5041 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5042
25e3c82c
SDJ
50432018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5044
5045 * gdb.server/abspath.exp: New file.
5046 * lib/gdb.exp (with_cwd): New procedure.
5047
3083294d
SM
50482018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5049
5050 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5051 use it.
5052 (gdb_is_target_remote_prompt): New proc.
5053 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5054 (gdb_is_target_native): Pass prompt parameter to
5055 gdb_is_target_1.
5056
3275ef47
SM
50572018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5058
5059 * gdb.base/load-command.c: New file.
5060 * gdb.base/load-command.exp: New file.
5061 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5062 (gdb_is_target_1): ...this, and generalize for other targets
5063 than just remote.
5064 (gdb_is_target_remote): Use gdb_is_target_1.
5065 (gdb_is_target_native): use gdb_is_target_1.
5066
6893c19a
TT
50672018-02-26 Tom Tromey <tom@tromey.com>
5068
5069 PR python/16497:
5070 * gdb.python/py-framefilter.exp: Update test.
5071
2ddeaf8a
TT
50722018-02-26 Tom Tromey <tom@tromey.com>
5073
5074 * gdb.dwarf2/variant.c: New file.
5075 * gdb.dwarf2/variant.exp: New file.
5076
c9317f21
TT
50772018-02-26 Tom Tromey <tom@tromey.com>
5078
5079 * gdb.rust/simple.exp: Accept more possible results in enum test.
5080
6f6d0c26
SM
50812018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5082
5083 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5084 parentheses.
5085
11b03145
MR
50862018-02-23 Maciej W. Rozycki <macro@mips.com>
5087
5088 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5089 name of a variable: $actual_linejj -> $actual_line.
5090
54a27fe5
JB
50912018-02-21 John Baldwin <jhb@FreeBSD.org>
5092
5093 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5094
de65820c
MM
50952018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5096
5097 * gdb.btrace/buffer-size.exp: Do not force BTS.
5098
980548fd
PA
50992018-02-14 Pedro Alves <palves@redhat.com>
5100
5101 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5102 getting a "Quit".
5103
c4e12631
MM
51042018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5105
5106 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5107 Fix test name.
5108
c2e0e465
SM
51092018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5110
5111 * gdb.cp/m-static.exp: Check type of optimized out static
5112 member.
5113
f7216783
AB
51142018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5115
5116 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5117 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5118
0625771b
LS
51192018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5120 Leszek Swirski <leszeks@google.com>
5121
5122 * gdb.python/py-prettyprint.c
5123 (struct to_string_returns_value_inner,
5124 struct to_string_returns_value_wrapper): New.
5125 (main): Add tsrvw variable.
5126 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5127 ToStringReturnsValueWrapper): New classes.
5128 (register_pretty_printers): Register new pretty-printers.
5129 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5130 recursive pretty printer.
5131 * gdb.python/py-mi.exp: Likewise.
5132
59498c30
LS
51332018-02-01 Leszek Swirski <leszeks@google.com>
5134
5135 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5136 functions with the same name as an include file are parsed
5137 correctly.
5138
d4d38844
YQ
51392018-02-01 Yao Qi <yao.qi@linaro.org>
5140
5141 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5142 "\[^\r\n\]*".
5143
07e5f5cf
NP
51442018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5145
5146 * gdb.arch/powerpc-prologue-frame.s: New file.
5147 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5148 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5149
929b5ad4
JB
51502018-01-31 Joel Brobecker <brobecker@adacore.com>
5151
5152 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5153
e671cd59
PA
51542018-01-30 Pedro Alves <palves@redhat.com>
5155
5156 PR gdb/13211
5157 * gdb.base/interrupt-daemon.c: New.
5158 * gdb.base/interrupt-daemon.exp: New.
5159 * gdb.multi/multi-term-settings.c: New.
5160 * gdb.multi/multi-term-settings.exp: New.
5161
fc413dc4
JB
51622018-01-30 Joel Brobecker <brobecker@adacore.com>
5163
5164 * gdb.base/break.exp: Save the location where the breakpoint
5165 on break.c:47 was actually inserted when debugging the version
5166 compiled at -O2 and use it in the expected output of the "info
5167 break" test performed soon after.
5168
5c319bb2
PA
51692018-01-22 Pedro Alves <palves@redhat.com>
5170 Sergio Durigan Junior <sergiodj@redhat.com>
5171
5172 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5173 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5174
a9e40818
JB
51752018-01-22 Joel Brobecker <brobecker@adacore.com>
5176
5177 * gdb.base/break-include.c, gdb.base/break-include.inc,
5178 gdb.base/break-include.exp: New files.
5179 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5180 line number now being the actual line number where the breakpoint
5181 was inserted.
5182 * gdb.mi/mi-break.exp: Likewise.
5183 * gdb.mi/mi-reverse.exp: Likewise.
5184 * gdb.mi/mi-simplerun.exp: Ditto.
5185
e707fc44
AB
51862018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5187
5188 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5189 varobj.
5190 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5191
ae451627
AB
51922018-01-21 Don Breazeal <donb@codesourcery.com>
5193 Andrew Burgess <andrew.burgess@embecosm.com>
5194
5195 * gdb.mi/basics.c: Add new global.
5196 * gdb.mi/mi-frame-regs.exp: New file.
5197 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5198 case.
5199
b1b189e0
AB
52002018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5201
5202 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5203 non-parameter, and on an unknown symbol.
5204
fcfcc376
TT
52052018-01-19 Tom Tromey <tom@tromey.com>
5206
5207 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5208 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5209
634c1c31
AA
52102018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5211
5212 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5213 setrlimit and chdir to int.
5214
d6ad07fd
AA
52152018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5216
5217 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5218 function.
5219 (my_tend): Likewise.
5220 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5221 rationale of avoiding FP- and vector instructions.
5222
adf8243b
RK
52232018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5224
5225 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5226 "info reg" with "\[ \t\]*".
5227 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5228 "\[ \t\]+".
5229 * gdb.arch/s390-multiarch.exp: Ditto.
5230 * gdb.base/pc-fp.exp: Ditto.
5231 * gdb.reverse/i386-precsave.exp: Ditto.
5232 * gdb.reverse/i386-reverse.exp: Ditto.
5233 * gdb.reverse/i387-env-reverse.exp: Ditto.
5234 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5235
dcc06925
AA
52362018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5237
5238 * lib/gdb.exp (gdb_compile): Re-enable use of
5239 universal_compile_options for languages other than Rust.
5240
25d4fd80
AA
52412018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5242
5243 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5244
ee7f689e 52452018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
5246
5247 PR gdb/16577
5248 * gdb.base/solib-vanish.exp: New.
5249 * gdb.base/solib-vanish-main.c: New.
5250 * gdb.base/solib-vanish-lib1.c: New.
5251 * gdb.base/solib-vanish-lib2.c: New.
5252
d8447b6b
YQ
52532018-01-17 Yao Qi <yao.qi@linaro.org>
5254
5255 * gdb.compile/compile.exp: Match the address printed for
5256 frame in the output of command "bt".
5257
86d6a90c
TT
52582018-01-15 Tom Tromey <tom@tromey.com>
5259
5260 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5261 compute sp_reg.
5262
cbcdb1aa
AB
52632018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5264
5265 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5266 to prepare.
5267 (prepare): Return 0 on error, 1 on success.
5268
eea61984
PA
52692018-01-12 Pedro Alves <palves@redhat.com>
5270
5271 * gdb.base/continue-after-aborted-step-over.c: New.
5272 * gdb.base/continue-after-aborted-step-over.exp: New.
5273
6181e9c2
SM
52742018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5275
5276 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5277 options when not creating an executable.
5278
3cada740
PA
52792018-01-11 Pedro Alves <palves@redhat.com>
5280
5281 PR remote/22597
5282 * gdb.server/stop-reply-no-thread.c: New file.
5283 * gdb.server/stop-reply-no-thread.exp: New file.
5284
c63d3e8d
PA
52852018-01-10 Pedro Alves <palves@redhat.com>
5286
5287 PR gdb/22670
5288 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5289 functions too. Test setting breakpoints and printing C functions
5290 with no debug info too.
5291 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5292
d4c2a405
PA
52932018-01-10 Pedro Alves <palves@redhat.com>
5294
5295 PR gdb/22670
5296 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5297 a fail.
5298
8825213e
PA
52992018-01-10 Pedro Alves <palves@redhat.com>
5300
5301 PR gdb/22670
5302 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5303
605fd3c6
YQ
53042018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5305
5306 * gdb.server/unittest.exp: Match the output in non-development
5307 mode.
5308
1e5ded6c
YQ
53092018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5310
5311 * gdb.gdb/unittest.exp: Match output in non-development mode.
5312
30066b0b
JB
53132018-01-08 Joel Brobecker <brobecker@adacore.com>
5314
5315 * gdb.ada/access_tagged_param.exp: Relax expected output
5316 for value of "ObjL" in "continue" to pck.inspect breakpoint
5317 test.
5318
04bafb1e
XR
53192018-01-08 Joel Brobecker <brobecker@adacore.com>
5320
9f86398b
JB
5321 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5322 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 5323
e379cee6
PA
53242018-01-05 Pedro Alves <palves@redhat.com>
5325
5326 PR gdb/18653
5327 * gdb.base/libsegfault.exp: New.
5328
de63c46b
PA
53292018-01-05 Joel Brobecker <brobecker@adacore.com>
5330
5331 PR gdb/22670
5332 * gdb.ada/access_tagged_param.exp: New file.
5333 * gdb.ada/access_tagged_param/foo.adb: New file.
5334
f98fc17b
PA
53352018-01-05 Pedro Alves <palves@redhat.com>
5336
5337 PR gdb/22670
5338 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5339 exercise lower case too, and to exercise both full matching and
5340 wild matching.
5341
342f8240
JB
53422018-01-05 Joel Brobecker <brobecker@adacore.com>
5343
5344 * gdb.ada/rename_subscript_param: New testcase.
5345
7150d33c
JG
53462018-01-05 Jerome Guitton <guitton@adacore.com>
5347
5348 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5349
cc0e770c
JB
53502018-01-05 Joel Brobecker <brobecker@adacore.com>
5351
5352 * gdb.ada/convvar_comp: New testcase.
5353
672a41aa 53542018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
5355
5356 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5357 (My_Table): New global variable.
5358 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5359
7365ec2f
JB
53602018-01-04 Joel Brobecker <brobecker@adacore.com>
5361
5362 PR gdb/22670
5363 * gdb.ada/maint_with_ada: New testcase.
5364
289483b6
JB
53652018-01-04 Joel Brobecker <brobecker@adacore.com>
5366
5367 PR gdb/22670
5368 * gdb.ada/bp_c_mixed_case: New testcase.
5369
344420da
JB
53702018-01-04 Joel Brobecker <brobecker@adacore.com>
5371
5372 PR gdb/22670
5373 * gdb.ada/complete.exp: Add "complete break ada" test.
5374
66fc87a0
JB
53752018-01-04 Joel Brobecker <brobecker@adacore.com>
5376
5377 PR gdb/22670
5378 * gdb.ada/info_addr_mixed_case: New testcase.
5379
9f757bf7
XR
53802018-01-03 Xavier Roirand <roirand@adacore.com>
5381
5382 * gdb.ada/excep_handle.exp: New testcase.
5383 * gdb.ada/excep_handle/foo.adb: New file.
5384 * gdb.ada/excep_handle/pck.ads: New file.
5385
bd570f80
JB
53862018-01-03 Joel Brobecker <brobecker@adacore.com>
5387
5388 * gdb.base/step-line.c: Add extra empty line in copyright header.
5389 * gdb.base/step-line.inp: Likewise.
5390
9fe561ab
JB
53912018-01-02 Joel Brobecker <brobecker@adacore.com>
5392
5393 * gdb.ada/dyn_stride.exp: Add slice test.
5394
a405673c
JB
53952018-01-02 Joel Brobecker <brobecker@adacore.com>
5396
5397 * gdb.ada/dyn_stride: New testcase.
5398
cef0f868
SH
53992017-12-27 Stafford Horne <shorne@gmail.com>
5400
5401 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5402 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5403
b67d92b0
SH
54042017-12-27 Stafford Horne <shorne@gmail.com>
5405
5406 * gdb.base/reggroups.c: New file.
5407 * gdb.base/reggroups.exp: New file.
5408
eccab96d
JB
54092017-12-18 Joel Brobecker <brobecker@adacore.com>
5410
5411 * gdb.dwarf2/ada-valprint-error.c: New file.
5412 * gdb.dwarf2/ada-valprint-error.exp: New file.
5413
0e2da9f0
JB
54142017-12-18 Joel Brobecker <brobecker@adacore.com>
5415
5416 * gdb.ada/assign_arr: New testcase.
5417
cb923fcc
XR
54182017-12-18 Xavier Roirand <roirand@adacore.com>
5419
5420 * gdb.ada/funcall_ptr: New testcase.
5421
7c161838
SDJ
54222017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5423
5424 PR cli/16224
5425 * gdb.base/ptype-offsets.cc: New file.
5426 * gdb.base/ptype-offsets.exp: New file.
5427
1af17fd9
YQ
54282017-12-15 Yao Qi <yao.qi@linaro.org>
5429
5430 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5431 if XML is disabled.
5432
828d5846
XR
54332017-12-15 Xavier Roirand <roirand@adacore.com>
5434
5435 * gdb.ada/same_component_name: New testcase.
5436
79e8fcaa
JB
54372017-12-14 Joel Brobecker <brobecker@adacore.com>
5438
5439 * gdb.ada/str_binop_equal: New testcase.
5440
e05fa6f9
JB
54412017-12-14 Joel Brobecker <brobecker@adacore.com>
5442
5443 * gdb.ada/task_switch_in_core: New testcase.
5444
b89641ba
SM
54452017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5446
5447 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5448 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5449 call test_bkpt_qualified.
5450 (test_bkpt_qualified): New proc.
5451
6892d2e4
PA
54522017-12-13 Pedro Alves <palves@redhat.com>
5453
5454 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5455 Tighten regexp by matching with an anchor.
5456
a22ecf70
PA
54572017-12-13 Pedro Alves <palves@redhat.com>
5458
5459 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5460 ("expression with namespace"): New set of tests.
5461 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5462 (Nested::Test_NS::qux): New.
5463 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5464 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5465
9937536c
JB
54662017-12-13 Joel Brobecker <brobecker@adacore.com>
5467
5468 * gdb.base/server-del-break.c: New file.
5469 * gdb.base/server-del-break.exp: New file.
5470
fe49c6f5
SH
54712017-12-12 Stafford Horne <shorne@gmail.com>
5472
5473 * gdb.xml/tdesc-regs.exp: Add or1k support.
5474
c3d18620
SH
54752017-12-12 Stafford Horne <shorne@gmail.com>
5476
5477 * gdb.base/bp-permanent.c: Define nop of or1k.
5478
c5f9cfc8
JB
54792017-12-11 Joel Brobecker <brobecker@adacore.com>
5480
5481 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5482 output with components being reordered.
5483
a9c135fc
JB
54842017-12-11 Joel Brobecker <brobecker@adacore.com>
5485
5486 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5487 output with components being reordered.
5488
927aa2e7
JK
54892017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5490 Pedro Alves <palves@redhat.com>
5491
5492 * gdb.base/maint.exp (check for .gdb_index): Check also for
5493 .debug_names.
5494 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5495 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5496 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5497 (.gdb_index used after symbol reloading): Support also .debug_names.
5498 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5499
f17d9474
YQ
55002017-12-08 Yao Qi <yao.qi@linaro.org>
5501
5502 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5503 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5504
a0de8c21
YQ
55052017-12-08 Yao Qi <yao.qi@linaro.org>
5506
5507 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5508 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5509
a738ea1d
YQ
55102017-12-08 Yao Qi <yao.qi@linaro.org>
5511
5512 * gdb.arch/aarch64-tagged-pointer.c: New file.
5513 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5514
1cd9a73b
SDJ
55152017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5516
5517 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5518 "int".
5519
fa6eb693
KS
55202017-12-07 Keith Seitz <keiths@redhat.com>
5521
5522 PR breakpoints/22569
5523 * gdb.linespec/ls-errs.exp: Change expected result of "break
5524 -source this file has spaces.c -line 3".
5525 Check that an explicit source file followed by whitespace is
5526 identified as an invalid explicit location.
5527
883fd55a
KS
55282017-12-07 Keith Seitz <keiths@redhat.com>
5529
5530 * gdb.cp/nested-types.cc: New file.
5531 * gdb.cp/nested-types.exp: New file.
5532 * lib/cp-support.exp: Load data-structures.exp library.
5533 (debug_cp_test_ptype_class): New global.
5534 (cp_ptype_class_verbose, next_line): New procedures.
5535 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5536 Add and document new return value.
5537 Switch the list of lines to a queue.
5538 Add support for new `type' key for nested type definitions.
5539 Add debugging/troubleshooting messages.
5540 * lib/data-structures.exp: New file.
5541
ec72db3e
SM
55422017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5543
5544 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5545 with proc_with_prefix, don't use with_test_prefix.
5546
99598d71
TT
55472017-12-07 Tom Tromey <tom@tromey.com>
5548
5549 * gdb.base/break.exp: Add test for empty "commands".
5550
a8806230
YQ
55512017-12-07 Yao Qi <yao.qi@linaro.org>
5552
5553 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5554 malloc and catch syscall.
5555
824cc835
PM
55562017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5557
e79be6e5 5558 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
5559 tests for explicit locations.
5560
7cc244de
PA
55612017-12-06 Pedro Alves <palves@redhat.com>
5562
5563 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5564 force-disabling XML descriptions.
5565
50a1fdd5
PA
55662017-12-04 Pedro Alves <palves@redhat.com>
5567
5568 PR gdb/22499
5569 * gdb.arch/amd64-disp-step-avx.S: New file.
5570 * gdb.arch/amd64-disp-step-avx.exp: New file.
5571
f0fb2488
PA
55722017-12-03 Pedro Alves <palves@redhat.com>
5573
5574 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5575 and <string.h>.
5576 (parent_function): Print distinct messages when waitpid fails, or
5577 the child exits with a signal, or the child exits for an unhandled
5578 reason.
5579 * gdb.threads/process-dies-while-detaching.exp
5580 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5581 it. Wait for both inferior output and GDB's prompt. Use an
5582 indirect spawn id list.
5583 (do_detach): New parameter 'child_exit'. Use it to compute
5584 expected inferior output.
5585 (test_detach, test_detach_watch, test_detach_killed_outside):
5586 Adjust to pass down the expected child exit kind.
5587
97cbe998
SDJ
55882017-12-01 Joel Brobecker <brobecker@adacore.com>
5589 Sergio Durigan Junior <sergiodj@redhat.com>
5590 Pedro Alves <palves@redhat.com>
5591
5592 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5593
40fc416f
SDJ
55942017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5595
5596 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5597 to 'symbol-file' and 'add-symbol-file' can be
5598 position-independent.
5599
1cc75e92
YQ
56002017-12-01 Yao Qi <yao.qi@linaro.org>
5601
5602 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5603 the URL in copyright header.
5604 * gdb.arch/aarch64-fp.exp: Likewise.
5605 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5606 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5607 * gdb.base/expand-psymtabs.exp: Likewise.
5608 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5609 * gdb.fortran/common-block.exp: Likewise.
5610 * gdb.fortran/common-block.f90: Likewise.
5611 * gdb.fortran/logical.exp: Likewise.
5612 * gdb.fortran/vla-datatypes.f90: Likewise.
5613 * gdb.fortran/vla-sub.f90: Likewise.
5614
875fb7a7
JB
56152017-11-30 Joel Brobecker <brobecker@adacore.com>
5616
5617 * gdb.ada/repeat_dyn: New testcase.
5618
6f14765f
UW
56192017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5620
5621 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5622 Update for changed thread numbering.
5623 * gdb.cell/bt.exp: Update for changed GDB output.
5624
f1af7b94
SM
56252017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5626
5627 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5628 setting isremote by hand.
5629 * boards/dwarf4-gdb-index.exp: Likewise.
5630 * boards/fission.exp: Likewise.
5631 * boards/stabs.exp: Likewise.
5632
e3919f3e
PA
56332017-11-30 Pedro Alves <palves@redhat.com>
5634
5635 * gdb.linespec/cpls-ops.exp
5636 (check_explicit_skips_function_argument): Extract the underlying
5637 type of size_t instead of hardcoding it.
5638
bd69330d
PA
56392017-11-29 Pedro Alves <palves@redhat.com>
5640
5641 PR c++/19436
5642 * gdb.linespec/cpls-abi-tag.cc: New file.
5643 * gdb.linespec/cpls-abi-tag.exp: New file.
5644
a20714ff
PA
56452017-11-29 Pedro Alves <palves@redhat.com>
5646
5647 * gdb.base/langs.exp: Use -qualified.
5648 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5649 it.
5650 * gdb.cp/namespace.exp: Use -qualified.
5651 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5652 (overload-3, template-overload, template-ret-type, const-overload)
5653 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5654 procedures.
5655 (test_driver): Call them.
5656 * gdb.cp/save-bp-qualified.cc: New.
5657 * gdb.cp/save-bp-qualified.exp: New.
5658 * gdb.linespec/explicit.exp: Test -qualified.
5659 * lib/completion-support.exp (completion::explicit_opts_list): Add
5660 "-qualified".
5661 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5662
f6f1d339
PM
56632017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5664
5665 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5666
02ca603a
TT
56672017-11-29 Tom Tromey <tom@tromey.com>
5668
5669 * gdb.base/relocate.exp: Update invalid argument test.
5670 Add new tests for invalid arguments.
5671
ed6c0bfb
TP
56722017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5673
5674 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5675 Return 0 as a long.
5676 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5677
f106e10e
TP
56782017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5679
5680 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5681 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5682 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5683 func ().
5684 * gdb.cp/shadow.cc (B.func): Return 0.
5685
10329bb2
JB
56862017-11-27 Joel Brobecker <brobecker@adacore.com>
5687
5688 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5689 expected output in gdb_expect call to allow the exception
5690 message to be present as well. Fix syntax confusion to avoid
5691 TCL thinking that exception_name is an array.
5692
617cd4bc
UW
56932017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5694
5695 * gdb.arch/spu-info.c: Include <unistd.h>.
5696 (do_signal_test): Fix broken calls to write.
5697 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5698 Fix checks for empty mailboxes. Update signal tests for corrected
5699 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
5700 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5701 * gdb.cell/arch.exp: Use standard_output_file.
5702 * gdb.cell/break.exp: Likewise.
5703 * gdb.cell/bt.exp: Likewise.
5704 * gdb.cell/core.exp: Likewise.
5705 * gdb.cell/dwarfaddr.exp: Likewise.
5706 * gdb.cell/ea-cache.exp: Likewise.
5707 * gdb.cell/ea-standalone.exp: Likewise.
5708 * gdb.cell/f-regs.exp: Likewise.
5709 * gdb.cell/fork.exp: Likewise.
5710 * gdb.cell/gcore.exp: Likewise.
5711 * gdb.cell/mem-access.exp: Likewise.
5712 * gdb.cell/ptype.exp: Likewise.
5713 * gdb.cell/registers.exp: Likewise.
5714 * gdb.cell/sizeof.exp: Likewise.
5715 * gdb.cell/solib-symbol.exp: Likewise.
5716 * gdb.cell/solib.exp: Likewise.
617cd4bc 5717
a81aaca0
PA
57182017-11-25 Pedro Alves <palves@redhat.com>
5719
5720 * gdb.base/complete-empty.exp: New file.
5721 * gdb.base/completion.exp: Adjust.
5722
6a3c6ee4
PA
57232017-11-25 Pedro Alves <palves@redhat.com>
5724
5725 * gdb.linespec/cpls-ops.cc: New file.
5726 * gdb.linespec/cpls-ops.exp: New file.
5727 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5728 factored out from ...
5729 (test_complete_prefix_range): ... this.
5730
8955eb2d
PA
57312017-11-24 Pedro Alves <palves@redhat.com>
5732
5733 * gdb.linespec/cpcompletion.exp: New file.
5734 * gdb.linespec/cpls-hyphen.cc: New file.
5735 * gdb.linespec/cpls.cc: New file.
5736 * gdb.linespec/cpls2.cc: New file.
5737 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5738 test to use test_gdb_complete_unique. Add label completion,
5739 keyword completion and explicit location completion tests.
5740 * lib/completion-support.exp: New file.
5741
e547c119
JB
57422017-11-24 Joel Brobecker <brobecker@adacore.com>
5743
5744 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5745 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5746 when hitting an exception catchpoint.
5747
7c3c1aa8
YQ
57482017-11-22 Yao Qi <yao.qi@linaro.org>
5749
5750 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5751
41bd68f5
SM
57522017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5753
5754 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5755 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5756 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5757
1daad298
YQ
57582017-11-22 Yao Qi <yao.qi@linaro.org>
5759
5760 * gdb.base/info-os.exp: Pass pthreads.
5761 * gdb.multi/multi-attach.exp: Likewise.
5762
88465e87
YQ
57632017-11-22 Yao Qi <yao.qi@linaro.org>
5764
5765 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5766 compiler.
5767
dc196b23
YQ
57682017-11-22 Yao Qi <yao.qi@linaro.org>
5769
5770 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5771 * gdb.base/break-interp.exp: Likewise.
5772 * gdb.base/jit-attach-pie.exp: Likewise.
5773
2400729e
UW
57742017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5775
5776 * gdb.base/float128.c (large128): New variable.
5777 * gdb.base/float128.exp: Add test to print largest __float128 value.
5778
7a26362d
UW
57792017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5780
5781 * gdb.arch/vsx-regs.exp: Update register content checks.
5782
ed0f4273
UW
57832017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5784
5785 * gdb.arch/ppc-longdouble.exp: New file.
5786 * gdb.arch/ppc-longdouble.c: Likewise.
5787
a25d69c6
PA
57882017-11-21 Pedro Alves <palves@redhat.com>
5789
5790 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5791
73fcf641
PA
57922017-11-20 Pedro Alves <palves@redhat.com>
5793
5794 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5795 (long_double_typedef): New typedefs.
5796 Use DEF on double and long double.
5797 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5798 cases.
5799 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5800 and 'long_double_ptr_same_size' locals. Use them to decide
5801 whether cast from array/function to float is valid/invalid.
5802
71a3c369
TT
58032017-11-17 Tom Tromey <tom@tromey.com>
5804
5805 * gdb.rust/traits.rs: New file.
5806 * gdb.rust/traits.exp: New file.
5807
ced9779b
JB
58082017-11-17 Joel Brobecker <brobecker@adacore.com>
5809
5810 * gdb.ada/minsyms: New testcase.
5811
a0922d80
PA
58122017-11-16 Pedro Alves <palves@redhat.com>
5813
5814 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5815 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5816
ea04e54c
PA
58172017-11-16 Pedro Alves <palves@redhat.com>
5818
5819 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5820 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5821
e849ea89
PA
58222017-11-16 Pedro Alves <palves@redhat.com>
5823
5824 * gdb.server/reconnect-ctrl-c.c: New file.
5825 * gdb.server/reconnect-ctrl-c.exp: New file.
5826
d8ae99a7
PM
58272017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5828
5829 * gdb.python/py-rbreak.exp: New file.
5830 * gdb.python/py-rbreak.c: New file.
5831 * gdb.python/py-rbreak-func2.c: New file.
5832
968a13f8
PA
58332017-11-16 Pedro Alves <palves@redhat.com>
5834
5835 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5836 pattern.
5837 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5838 GDB.
5839
71774bc9
SM
58402017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5841
5842 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5843 regex.
5844
ddbb44cf
SM
58452017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5846
5847 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5848 test names.
5849
584a564f
PA
58502017-11-09 Pedro Alves <palves@redhat.com>
5851
5852 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5853 factored out from ...
5854 (top level): ... here, and adjusted to avoid expecting beyond the
5855 prompt in a single gdb_test_multiple.
5856
5ed7a928
PA
58572017-11-09 Pedro Alves <palves@redhat.com>
5858
5859 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5860 output.
5861 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5862 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5863 * gdb.server/ext-run.exp ("kill" test): Likewise.
5864 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5865
a60e0738
PA
58662017-11-09 Pedro Alves <palves@redhat.com>
5867
5868 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5869 match till end of line.
5870
2c88253f
PA
58712017-11-09 Pedro Alves <palves@redhat.com>
5872
5873 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5874
c7a38517
PA
58752017-11-09 Pedro Alves <palves@redhat.com>
5876
5877 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5878 New procedures, factored out from ...
5879 (top level): ... here, and adjusted to avoid expecting beyond the
5880 prompt in one go.
5881
f29f4b6b
PA
58822017-11-09 Pedro Alves <palves@redhat.com>
5883
5884 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5885 output. Fix '?' match.
5886
286acbb5
JB
58872017-11-08 Joel Brobecker <brobecker@adacore.com>
5888
5889 * gdb.ada/scoped_watch: New testcase.
5890 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5891 which is actually correct.
5892 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5893 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5894
62d7ae92
PA
58952017-11-08 Pedro Alves <palves@redhat.com>
5896
5897 * gdb.gdb/complaints.exp (test_initial_complaints)
5898 (test_serial_complaints, test_short_complaints): Call
5899 complaint_internal instead of complaint.
5900
280ca31f
DT
59012017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5902
5903 * gdb.threads/tls-core.c: New file.
5904 * gdb.threads/tls-core.exp: Likewise.
5905
b5ec771e
PA
59062017-11-08 Pedro Alves <palves@redhat.com>
5907
5908 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5909 (p Exported_Capitalized): New test.
5910 (p exported_capitalized): New test.
5911
a02b41a7
PA
59122017-11-07 Pedro Alves <palves@redhat.com>
5913
5914 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5915
95e95a6d
PA
59162017-11-07 Pedro Alves <palves@redhat.com>
5917
5918 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5919 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5920 (disable_invalid, disable_inverted, disable_negative): New
5921 procedures.
5922 ("bad numbers"): New set of tests.
5923
cee62dbd
PA
59242017-11-07 Pedro Alves <palves@redhat.com>
5925
5926 * gdb.cp/ena-dis-br-range.exp: Add tests.
5927
cc638e86
PA
59282017-11-07 Pedro Alves <palves@redhat.com>
5929
5930 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5931
d0fe4701
XR
59322017-11-07 Xavier Roirand <roirand@adacore.com>
5933 Pedro Alves <palves@redhat.com>
5934
5935 * gdb.base/ena-dis-br.exp: Add reference to
5936 gdb.cp/ena-dis-br-range.exp.
5937 * gdb.cp/ena-dis-br-range.exp: New file.
5938 * gdb.cp/ena-dis-br-range.cc: New file.
5939
46f67f80
PA
59402017-11-06 Pedro Alves <palves@redhat.com>
5941
5942 * gdb.base/attach-non-pgrp-leader.c: New.
5943 * gdb.base/attach-non-pgrp-leader.exp: New.
5944
726e1356
PA
59452017-11-06 Pedro Alves <palves@redhat.com>
5946
5947 * configure.ac: No longer check for termio.h and sgtty.h.
5948 * configure: Regenerate.
5949 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5950 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5951 Remove termio and sgtty code.
5952
50ab6ace
YQ
59532017-11-03 Yao Qi <yao.qi@linaro.org>
5954
5955 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5956 in GDB is disabled.
5957
8e68731c
YQ
59582017-11-03 Yao Qi <yao.qi@linaro.org>
5959
5960 * gdb.python/py-thrhandle.exp: Skip it if python is not
5961 enabled.
5962
3a87ae65
SM
59632017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5964
5965 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5966 as a breakpoint command.
5967
484d8d36
MD
59682017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5969
5970 PR python/21213
5971 * gdb.python/py-infthread.exp: Test calling
5972 InferiorThread.inferior () multiple times in a row.
5973
4a27f119
KS
59742017-10-27 Keith Seitz <keiths@redhat.com>
5975
5976 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5977 Test "info break" for every inlined function breakpoint.
5978
bb11dd58
YQ
59792017-10-27 Yao Qi <yao.qi@linaro.org>
5980
5981 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5982
a43f3893
PF
59832017-10-26 Patrick Frants <osscontribute@gmail.com>
5984
5985 * gdb.cp/classes.exp (test_static_members): Test printing
5986 Outer::instance.
5987 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5988 (Inner::instance, Outer::instance): New.
5989
792ccf00
PA
59902017-10-24 Pedro Alves <palves@redhat.com>
5991
5992 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5993 extra console" test in two stages.
5994
eb2bfbad
PA
59952017-10-24 Pedro Alves <palves@redhat.com>
5996
5997 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5998
1f75a651
PA
59992017-10-24 Pedro Alves <palves@redhat.com>
6000
6001 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6002 loop.
6003
779990d9
PA
60042017-10-24 Pedro Alves <palves@redhat.com>
6005
6006 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6007 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6008
ad9b8f5d
PA
60092017-10-24 Pedro Alves <palves@redhat.com>
6010
6011 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6012 parameter and handle it. Don't output read value in test name.
6013
fee6da6e
PA
60142017-10-24 Pedro Alves <palves@redhat.com>
6015
6016 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6017 custom test name.
6018
10389c2c
PA
60192017-10-24 Pedro Alves <palves@redhat.com>
6020
6021 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6022 include the unstable output directory name in the test's name.
6023 (initial_setup_simple) <'set args'>: Use custom test name.
6024
a80e65a9
PA
60252017-10-24 Pedro Alves <palves@redhat.com>
6026
6027 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6028 with explicit test name.
6029
15763a09
PA
60302017-10-20 Pedro Alves <palves@redhat.com>
6031
6032 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6033 'wait -i'. Use gdb_assert and remote_close.
6034
49a4ce2e
AB
60352017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6036
6037 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6038 number from variable rather than hard-coded.
6039
a75868f5
PA
60402017-10-19 Pedro Alves <palves@redhat.com>
6041
6042 * gdb.base/long-inferior-output.c: New file.
6043 * gdb.base/long-inferior-output.exp: New file.
6044
c8ba13ad
KS
60452017-11-18 Keith Seitz <keiths@redhat.com>
6046
6047 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6048 method.
6049 (main): Call it.
6050 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6051 Add additional user-defined conversion operator tests.
6052
b27de576
PA
60532017-10-17 Pedro Alves <palves@redhat.com>
6054
6055 * boards/native-stdio-gdbserver.exp: Load "local-board".
6056
8484c955
PA
60572017-10-17 Pedro Alves <palves@redhat.com>
6058
6059 * gdb.base/quit-live.c: New file.
6060 * gdb.base/quit-live.exp: New file.
6061
83d5a34d
KS
60622017-10-16 Keith Seitz <keiths@redhat.com>
6063
6064 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6065 (class_with_protected_typedef, class_with_private_typedef)
6066 (struct_with_public_typedef, struct_with_protected_typedef)
6067 (struct_with_private_typedef): New classes/structs.
6068 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6069 typedefs and access specifiers.
6070
739b3f1d
PA
60712017-10-16 Pedro Alves <palves@redhat.com>
6072 Simon Marchi <simon.marchi@polymtl.ca>
6073
6074 * README (Local vs Remote vs Native): New section.
6075 * boards/local-board.exp: New file, with bits factored out from
6076 ...
6077 * boards/native-extended-gdbserver.exp: ... here. Load
6078 "local-board".
6079 * boards/native-gdbserver.exp: Load "local-board".
6080 (${board}_spawn, ${board}_exec): Delete.
6081 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6082 ...
6083 * boards/stdio-gdbserver-base.exp: ... this new file.
6084 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6085 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6086 procedure.
6087 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6088 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6089 stdio_gdbserver_command.
6090 (${board}_get_remote_address, ${board}_get_comm_port)
6091 (${board}_download, ${board}_upload): Delete.
6092 (get_target_remote_pipe_cmd): New.
6093
fe68b953
SM
60942017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6095
6096 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6097 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6098 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6099 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6100 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6101 remove with_test_prefix.
6102
300b6685
PA
61032017-10-13 Pedro Alves <palves@redhat.com>
6104
6105 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6106 * gdb.base/annota1.exp: Use it instead of is_remote.
6107 * gdb.base/annota3.exp: Use it instead of is_remote.
6108 * gdb.cp/annota2.exp: Use it instead of is_remote.
6109 * gdb.cp/annota3.exp: Use it instead of is_remote.
6110 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6111
50500caf
PA
61122017-10-13 Pedro Alves <palves@redhat.com>
6113
6114 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6115 (test_num_test_vars, run_and_count_vars, find_env)
6116 (test_set_unset_env, test_inherit_env_var): New procedures.
6117 (top level): Use them.
6118
dad0c6d2
PA
61192017-10-13 Pedro Alves <palves@redhat.com>
6120
6121 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6122 also skip on stub-like targets.
6123
8b0553c1
PA
61242017-10-13 Pedro Alves <palves@redhat.com>
6125
6126 PR gdb/22293
6127 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6128 (top level): Move some tests to ...
6129 (test_not_found): ... this new procedure.
6130 (top level): Call it.
6131
7594f623
PA
61322017-10-13 Pedro Alves <palves@redhat.com>
6133
6134 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6135 expect different "info terminal" output if testing with a
6136 non-native target.
6137
ebe3b402
PA
61382017-10-13 Pedro Alves <palves@redhat.com>
6139 Simon Marchi <simon.marchi@polymtl.ca>
6140
6141 PR python/12966
6142 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6143
42f1b161
PA
61442017-10-13 Pedro Alves <palves@redhat.com>
6145
6146 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6147 already.
6148
8d6ef72b
PA
61492017-10-13 Pedro Alves <palves@redhat.com>
6150
6151 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6152 is_remote.
6153
d7bcd5b8
PA
61542017-10-13 Pedro Alves <palves@redhat.com>
6155
6156 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6157 is_remote.
6158
df479dc6
PA
61592017-10-13 Pedro Alves <palves@redhat.com>
6160
6161 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6162 is set.
6163 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6164 instead of is_remote.
6165
23fb630a
PA
61662017-10-13 Pedro Alves <palves@redhat.com>
6167
6168 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6169 (top level): Add comment.
6170
cc77b1dc
PA
61712017-10-13 Pedro Alves <palves@redhat.com>
6172
6173 * gdb.base/remote.exp (top level): Fix comment typo and add
6174 missing return.
6175
27c9e813
PA
61762017-10-13 Pedro Alves <palves@redhat.com>
6177 Simon Marchi <simon.marchi@polymtl.ca>
6178
6179 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6180 calls and add comments. Skip test if use_gdb_stub is set.
6181 (top level): Use "set cwd" command instead of "cd" command.
6182
5e830d98
PA
61832017-10-13 Pedro Alves <palves@redhat.com>
6184
6185 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6186 is_remote target check.
6187
f5ca0032
PA
61882017-10-13 Pedro Alves <palves@redhat.com>
6189
6190 * gdb.base/scope.exp: Use build_executable + clean_restart +
6191 gdb_file_cmd instead of prepare_for_testing and no longer skip
6192 "before run" tests on is_remote target boards. Update comments.
6193 * boards/native-extended-gdbserver.exp
6194 (extended_gdbserver_load_last_file): New, factored out from ...
6195 (gdb_load): ... this. Move further below and add comment.
6196 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6197
8aed1c0d
PA
61982017-10-12 Pedro Alves <palves@redhat.com>
6199
6200 * gdb.base/attach.exp: Remove references to gdb64.
6201 * gdb.base/dbx.exp: Remove references to gdb64.
6202
cfa34c87
SM
62032017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6204 Pedro Alves <palves@redhat.com>
6205
6206 * gdb.base/label.exp: Remove is_remote target check.
6207
9192b7de
PA
62082017-10-12 Pedro Alves <palves@redhat.com>
6209
6210 * gdb.base/auvx.exp (coredir): Update comment.
6211 (top level) <core_works>: Use "set cwd" command instead of "cd"
6212 command.
6213
6bf0052d
PA
62142017-10-12 Pedro Alves <palves@redhat.com>
6215 Simon Marchi <simon.marchi@polymtl.ca>
6216
6217 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6218 target boards.
6219
e48ef82d
PA
62202017-10-12 Pedro Alves <palves@redhat.com>
6221 Simon Marchi <simon.marchi@polymtl.ca>
6222
6223 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6224 Instead skip if there's any gdb_protocol set.
6225
8d7aea57
SM
62262017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6227 Pedro Alves <palves@redhat.com>
6228
6229 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6230
30440677
PA
62312017-10-12 Pedro Alves <palves@redhat.com>
6232 Simon Marchi <simon.marchi@polymtl.ca>
6233
6234 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6235 instead of on dejagnu remote boards.
6236
4e04f045 62372017-10-12 Pedro Alves <palves@redhat.com>
175654b9 6238 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
6239
6240 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6241 checks. Use build_executable + clean_restart instead of
6242 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6243 of enabling non-stop after starting gdb.
6244
871a186e
PA
62452017-10-12 Pedro Alves <palves@redhat.com>
6246
6247 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6248 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6249 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6250 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6251
56d704da
AK
62522017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6253
6254 * gdb.arch/arc-tdesc-cpu.exp: New file.
6255 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6256
2f20e312
SM
62572017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6258
6259 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6260
65630365
PA
62612017-10-10 Pedro Alves <palves@redhat.com>
6262
6263 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6264 expect CLI output.
6265
bf469271
PA
62662017-10-10 Pedro Alves <palves@redhat.com>
6267
6268 * lib/selftest-support.exp (selftest_setup): Update for
6269 captured_command_loop's prototype change.
6270
777a42f1
PA
62712017-10-09 Pedro Alves <palves@redhat.com>
6272
6273 Test both arch1=>arch2 and arch2=>arch1.
6274
6275 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6276 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6277 factored out to...
6278 (append_arch1_options, append_arch2_options, append_arch_options)
6279 (build_executables): New procedures.
6280 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6281 local.
6282 (top level): Add new 'first_arch' testing axis.
6283
cbd2b4e3
PA
62842017-10-09 Pedro Alves <palves@redhat.com>
6285
6286 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6287 (barrier): New.
6288 (thread_start, all_started): New functions.
6289 (main): Spawn new thread and wait until it is scheduled.
6290 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6291 option.
6292 (do_test): Add 'selected_thread' parameter. Run to all_started
6293 instead of main. Explicitly set the breakpoint at main. Switch
6294 to the SELECTED_THREAD thread.
6295 (top level): Test handling the exec event with either the main
6296 thread or the second thread selected.
6297
5c9e4427
PA
62982017-10-09 Pedro Alves <palves@redhat.com>
6299
6300 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6301 logic. Move STOP marker after the value checks.
6302 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6303 regexp.
6304
b3b7c423
SL
63052017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6306
6307 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6308
3b4b2f16
UW
63092017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6310
6311 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6312 integer-to-dfp conversion.
6313 * gdb.base/dfp-test.exp: Likewise.
6314
5cd63fda
PA
63152017-10-04 Pedro Alves <palves@redhat.com>
6316
6317 * gdb.multi/hangout.c: Include <unistd.h>.
6318 (hangout_loop): New function.
6319 (main): Call alarm. Call hangout_loop in a loop.
6320 * gdb.multi/hello.c: Include <unistd.h>.
6321 (hello_loop): New function.
6322 (main): Call alarm. Call hangout_loop in a loop.
6323 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6324 inferior with the other selected.
6325
4c71c105
SM
63262017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6327
6328 * gdb.mi/list-thread-groups-available.exp: New file.
6329 * gdb.mi/list-thread-groups-available.c: New file.
6330
bc3b087d
SDJ
63312017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6332
6333 * gdb.base/set-cwd.exp: Make it available on
6334 native-extended-gdbserver.
6335
d092c5a2
SDJ
63362017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6337
6338 * gdb.base/set-cwd.c: New file.
6339 * gdb.base/set-cwd.exp: Likewise.
6340
45320ffa
TT
63412017-10-02 Tom Tromey <tom@tromey.com>
6342
6343 PR rust/22236:
6344 * gdb.rust/simple.rs (main): New variable "fslice".
6345 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6346
b3e3859b
TT
63472017-10-02 Tom Tromey <tom@tromey.com>
6348
6349 * gdb.rust/simple.exp: Test ptype of a slice.
6350
01af5e0d
TT
63512017-10-02 Tom Tromey <tom@tromey.com>
6352
6353 * gdb.rust/simple.exp: Test index of slice.
6354
a9bbfbd8
TT
63552017-09-27 Tom Tromey <tom@tromey.com>
6356
6357 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6358
df8899e5
TP
63592017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6360 Pedro Alves <palves@redhat.com>
6361
6362 * gdb.base/compare-sections.exp (get value of read-only section): Read
6363 as unsigned value.
6364 (corrupt read-only section): Likewise and don't set written if patching
6365 failed.
6366
757bf54b
KB
63672017-09-21 Kevin Buettner <kevinb@redhat.com>
6368
6369 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6370 files.
6371
06871ae8
PA
63722017-09-20 Pedro Alves <palves@redhat.com>
6373
6374 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6375 symbol names in gdb's output.
6376 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6377
e5f25bc5
PA
63782017-09-20 Pedro Alves <palves@redhat.com>
6379
6380 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6381 Rename to ...
6382 (test_list_ambiguous_symbol): ... this and add a symbol name
6383 parameter. Adjust.
6384 (test_list_ambiguous_function): Reimplement on top of
6385 test_list_ambiguous_symbol and also test listing ambiguous
6386 variables.
6387 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6388 (ambiguous_fun): ... this.
6389 (ambiguous_var): New.
6390 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6391 (ambiguous_fun): ... this.
6392 (ambiguous_var): New.
6393
4e5a4f58
JB
63942017-09-19 John Baldwin <jhb@FreeBSD.org>
6395
6396 * gdb.base/starti.c: New file.
6397 * gdb.base/starti.exp: New file.
6398 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6399
26e53f3e
PA
64002017-09-14 Pedro Alves <palves@redhat.com>
6401
6402 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6403 (top level): Use it instead of runto.
6404
cb791d59
TT
64052017-09-11 Tom Tromey <tom@tromey.com>
6406
6407 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6408
7c96f8c1
TT
64092017-09-11 Tom Tromey <tom@tromey.com>
6410
6411 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6412 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6413
469412dd
CW
64142017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6415
6416 * gdb.fortran/printing-types.exp: New file.
6417 * gdb.fortran/printing-types.exp: New file.
6418
e0f86435
BH
64192017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6420
6421 * gdb.fortran/vla-ptype.exp: Fix typos.
6422 * gdb.fortran/vla-value.exp: Same.
6423
9e9af4be
BH
64242017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6425
6426 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6427 * gdb.mi/mi-var-child-f.exp: Likewise.
6428 * gdb.mi/mi-vla-fortran.exp: Likewise.
6429
a5ad232b 64302017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
6431 Christoph Weinmann <christoph.t.weinmann@intel.com>
6432 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
6433
6434 * gdb.fortran/ptr-indentation.f90: New file.
6435 * gdb.fortran/ptr-indentation.exp: New file.
6436
5aec60eb
TT
64372017-09-05 Tom Tromey <tom@tromey.com>
6438
6439 PR gdb/22010:
6440 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6441
8f8f8152
TP
64422017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6443
6444 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6445
fbd1b771
JK
64462017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6447
6448 * gdb.threads/tls-nodebug-pie.c: New file.
6449 * gdb.threads/tls-nodebug-pie.exp: New file.
6450
5eb5f850
TT
64512017-09-05 Tom Tromey <tom@tromey.com>
6452
6453 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6454 for rust.
6455
ae780a21
SM
64562017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6457
6458 * gdb.multi/multi-arch-exec.exp: Test with different
6459 "follow-exec-mode" settings.
6460 (do_test): New procedure.
6461
3693fdb3
PA
64622017-09-04 Pedro Alves <palves@redhat.com>
6463
6464 * gdb.base/func-static.c (S::method const, S::method volatile)
6465 (S::method volatile const): New methods.
6466 (c_s, v_s, cv_s): New instances.
6467 (main): Call method() on them.
6468 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6469 (cannot_resolve): New procedure.
6470 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6471 print-quote-unquoted columns.
6472 (do_test): Test printing each scope too.
6473
e68cb8e0
PA
64742017-09-04 Pedro Alves <palves@redhat.com>
6475
6476 * gdb.base/local-static.exp: Also test with
6477 class::method::variable wholly quoted.
6478 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6479
858be34c
PA
64802017-09-04 Pedro Alves <palves@redhat.com>
6481
6482 * gdb.base/local-static.c: New.
6483 * gdb.base/local-static.cc: New.
6484 * gdb.base/local-static.exp: New.
6485
46a4882b
PA
64862017-09-04 Pedro Alves <palves@redhat.com>
6487
6488 * gdb.asm/asm-source.exp: Add casts to int.
6489 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6490 (dataglobal64_1, dataglobal64_2): New globals.
6491 * gdb.base/nodebug.exp: Test different expressions involving the
6492 new globals, with print, whatis and ptype. Add casts to int.
6493 * gdb.base/solib-display.exp: Add casts to int.
6494 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6495 * gdb.cp/m-static.exp: Add cast to int.
6496 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6497 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6498 tls variable with no debug info without a cast. Test with a cast
6499 to int too.
6500 * gdb.trace/entry-values.exp: Add casts.
6501
2c5a2be1
PA
65022017-09-04 Pedro Alves <palves@redhat.com>
6503
6504 * gdb.base/nodebug.exp: Test that ptype's error about functions
6505 with unknown return type includes the function name too.
6506
7022349d
PA
65072017-09-04 Pedro Alves <palves@redhat.com>
6508
6509 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6510 return type of munmap in infcall.
6511 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6512 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6513 type of ftell in infcall.
6514 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6515 type of getpid in infcall.
6516 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6517 infcall.
6518 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6519 Bail on failure to extract the pid.
6520 * gdb.base/nodebug.c: #include <stdint.h>.
6521 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6522 New functions.
6523 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6524 Change expected output of print/whatis/ptype with functions with
6525 no debug info. Test all supported languages. Call
6526 test_call_promotion.
6527 * gdb.compile/compile.exp: Adjust expected output to expect
6528 warning.
6529 * gdb.threads/siginfo-threads.exp: Likewise.
6530
54990598
PA
65312017-09-04 Pedro Alves <palves@redhat.com>
6532
6533 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6534 "prototypes". Test calling float functions via prototyped and
6535 unprototyped function pointers.
6536 (perform_all_tests): New parameter "prototypes". Pass it down.
6537 (top level): Pass down "prototypes" parameter to
6538 perform_all_tests.
6539
34d16ea2
SM
65402017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6541
6542 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6543 Test with nested loops.
6544
9521ecda
SM
65452017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6546
6547 * gdb.base/commands.exp: Call the new procedures.
6548 (loop_break_test, loop_continue_test): New procedures.
6549
80a65e9b
SM
65502017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6551
6552 * gdb.base/commands.exp: Call new procedure.
6553 (define_if_without_arg_test): New procedure.
6554
e439fa14
PA
65552017-09-04 Pedro Alves <palves@redhat.com>
6556
6557 * gdb.base/list-ambiguous.exp: New file.
6558 * gdb.base/list-ambiguous0.c: New file.
6559 * gdb.base/list-ambiguous1.c: New file.
6560 * gdb.base/list.exp (test_list_range): Adjust expected output.
6561
0a2dde4a
SDJ
65622017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6563
6564 * gdb.base/share-env-with-gdbserver.c: New file.
6565 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6566
5e89eb3a
SM
65672017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6568
6569 * gdb.base/commands.exp (gdbvar_simple_if_test,
6570 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6571 progvar_simple_if_test, progvar_simple_while_test,
6572 progvar_complex_if_while_test, user_defined_command_test,
6573 user_defined_command_args_eval,
6574 user_defined_command_args_stack_test,
6575 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6576 temporary_breakpoint_commands,
6577 gdb_test_no_prompt, redefine_hook_test,
6578 redefine_backtrace_test): Remove "global gdb_prompt".
6579
fd437cbc
SM
65802017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6581
6582 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6583 New proc, call it from toplevel.
6584
87215ad1
SDJ
65852017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6586
6587 PR remote/21852
6588 * gdb.server/normal.c: New file, copied from gdb.base.
6589 * gdb.server/run-without-local-binary.exp: New file.
6590
58afddc6
WP
65912017-08-07 Weimin Pan <weimin.pan@oracle.com>
6592
6593 * gdb.arch/sparc64-adi.exp: New file.
6594 * gdb.arch/sparc64-adi.c: New file.
6595
5277199a
PA
65962017-08-22 Pedro Alves <palves@redhat.com>
6597
6598 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6599 (top level): Add "list all overloads" tests.
6600
14278e1f
TT
66012017-08-22 Tom Tromey <tom@tromey.com>
6602
6603 * gdb.gdb/xfullpath.exp: Remove.
6604
bf223d3e
PA
66052017-08-21 Pedro Alves <palves@redhat.com>
6606
6607 PR gdb/19487
6608 * gdb.base/symbol-alias.c: New.
6609 * gdb.base/symbol-alias2.c: New.
6610 * gdb.base/symbol-alias.exp: New.
6611
c973d0aa
PA
66122017-08-21 Pedro Alves <palves@redhat.com>
6613
6614 * gdb.base/dfp-test.c
6615 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6616 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6617 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6618 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6619 * gdb.base/whatis-ptype-typedefs.c: New.
6620 * gdb.base/whatis-ptype-typedefs.exp: New.
6621 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6622 (an_int, an_int_type, an_int_type2): New globals.
6623 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6624 involving typedefs and cast expressions.
6625 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6626 (lookup_typedefs_function): New.
6627 (typedefs_pretty_printers_dict): New.
6628 (top level): Register lookup_typedefs_function in
6629 gdb.pretty_printers.
6630
6d580b63
YQ
66312017-08-18 Yao Qi <yao.qi@linaro.org>
6632
6633 * gdb.server/unittest.exp: New.
6634
206726fb
SDJ
66352017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6636
6637 PR gdb/21954
6638 * gdb.base/environ.exp: Add test to check if 'unset environment'
6639 works.
6640
bf0ec4c2
AA
66412017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6642
6643 * lib/gdb.exp (universal_compile_options): New caching proc.
6644 (gdb_compile): Suppress GCC's coloring of messages.
6645
d6382fff
TT
66462017-08-14 Tom Tromey <tom@tromey.com>
6647
6648 PR gdb/21675:
6649 * gdb.base/printcmds.exp (test_radices): New function.
6650 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6651 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6652 * lib/gdb.exp (get_integer_valueof): Use p/d.
6653
c2c2dd9f
SM
66542017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6655
6656 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6657 characters.
6658
fdffd6f4
TT
66592017-08-05 Tom Tromey <tom@tromey.com>
6660
6661 * gdb.rust/simple.exp: Allow String to appear in a different
6662 namespace.
6663
27d41eac
YQ
66642017-07-26 Yao Qi <yao.qi@linaro.org>
6665
6666 * gdb.gdb/unittest.exp: Invoke command
6667 "maintenance check xml-descriptions".
6668
031ed05d
AA
66692017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6670
6671 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6672 calling context.
6673 (hex128): Drop erroneous calculation of parameters.
6674
dcd27ddf
SM
66752017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6676
6677 * gdb.python/py-unwind.exp: Disable stack protection when
6678 building test file.
6679
47e77640
PA
66802017-07-20 Pedro Alves <palves@redhat.com>
6681
6682 * gdb.base/default.exp (set language): Adjust expected output.
6683
62d2a18a
PA
66842017-07-20 Pedro Alves <palves@redhat.com>
6685
6686 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6687 (test_minsym): ... this, and make static.
6688 (get_pck__foo__bar__minsym): Rename to ...
6689 (get_test_minsym): ... this.
6690 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6691 symbol names and comments.
6692 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6693 (get_test_minsym): ... this.
6694 (pck__foo__bar__minsym__2): Rename to ...
6695 (test_minsym): ... this.
6696 (main): Adjust.
6697
c45ec17c
PA
66982017-07-17 Pedro Alves <palves@redhat.com>
6699
6700 * gdb.base/completion.exp: Adjust expected output.
6701 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6702 the completer works.
6703
c6756f62
PA
67042017-07-17 Pedro Alves <palves@redhat.com>
6705
6706 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6707
5bd68487
AB
67082017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6709
6710 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6711
8880f2a9
TT
67122017-07-14 Tom Tromey <tom@tromey.com>
6713
6714 PR rust/21764:
6715 * gdb.rust/simple.exp: Add tests.
6716
65547233
TT
67172017-07-14 Tom Tromey <tom@tromey.com>
6718
6719 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6720
8f14146e
PA
67212017-07-14 Pedro Alves <palves@redhat.com>
6722
6723 * gdb.linespec/base/one/thefile.cc (z1): New function.
6724 * gdb.linespec/base/two/thefile.cc (z2): New function.
6725 * gdb.linespec/linespec.exp: Add tests.
6726
b4365d02
AB
67272017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6728
6729 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6730 to mi_create_breakpoint.
6731
5d2cbaa5
AB
67322017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6733
6734 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6735 mi_create_breakpoint.
6736
11cb5716
IB
67372017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6738
6739 * gdb.dlang/demangle.exp: Update for demangling changes.
6740
03278692
TT
67412017-07-09 Tom Tromey <tom@tromey.com>
6742
6743 * gdb.dwarf2/shortpiece.exp: New file.
6744
33c5cd75
DB
67452017-07-06 David Blaikie <dblaikie@gmail.com>
6746
6747 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6748 built from fissiont-multi-cu{1,2}.c.
6749 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6750 except putting 'main' and 'func' in separate CUs in the same DWO file.
6751 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6752 test.
6753 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6754 test.
6755
8455d262
PA
67562017-07-06 Pedro Alves <palves@redhat.com>
6757
6758 * gdb.python/py-unwind.exp: Test flushregs.
6759
dc4bde35
SDJ
67602017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6761
6762 PR cli/21688
6763 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6764 tests for alias commands and trailing whitespace.
6765
51ed89aa
SDJ
67662017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6767
6768 PR cli/21688
6769 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6770 procedure. Call it.
6771
eb17d413
PA
67722017-06-29 Pedro Alves <palves@redhat.com>
6773
6774 * gdb.base/printcmds.exp: Add tests.
6775
41664b45
DG
67762017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6777
6778 PR gdb/21337
6779 * gdb.base/reread-readsym.exp: New file.
6780 * gdb.base/reread-readsym.c: New file.
6781
75312ae3
KB
67822017-06-21 Kevin Buettner <kevinb@redhat.com>
6783
6784 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6785 subpattern.
6786
66953522
PB
67872017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6788
6789 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6790 extended mnemonic.
6791 * gdb.arch/powerpc-power9.s: Likewise.
6792
5524b525
AA
67932017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6794
6795 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6796 on 32-bit x86 targets. Exploit is_*_target macros where
6797 appropriate.
6798
03c8af18
AA
67992017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6800
6801 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6802 register pieces.
6803
3bf31011
AA
68042017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6805
6806 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6807 located in one or more DWARF pieces.
6808
805acca0
AA
68092017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6810
6811 * lib/gdb.exp (get_endianness): New proc.
6812 * gdb.arch/aarch64-fp.exp: Use it.
6813 * gdb.arch/altivec-regs.exp: Likewise.
6814 * gdb.arch/e500-regs.exp: Likewise.
6815 * gdb.arch/vsx-regs.exp: Likewise.
6816 * gdb.base/dump.exp: Likewise.
6817 * gdb.base/funcargs.exp: Likewise.
6818 * gdb.base/gnu_vector.exp: Likewise.
6819 * gdb.dwarf2/formdata16.exp: Likewise.
6820 * gdb.dwarf2/implptrpiece.exp: Likewise.
6821 * gdb.dwarf2/nonvar-access.exp: Likewise.
6822 * gdb.python/py-inferior.exp: Likewise.
6823 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6824
e9352324
AA
68252017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6826
6827 PR gdb/21226
6828 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6829 stack value pieces are taken from the LSB end.
6830
d5d1163e
AA
68312017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6832
6833 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6834 variable at nonzero offset.
6835
0567c986
AA
68362017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6837
6838 * gdb.dwarf2/var-access.c: New file.
6839 * gdb.dwarf2/var-access.exp: New test.
6840 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6841
973e9aab
TT
68422017-06-12 Tom Tromey <tom@tromey.com>
6843
6844 * gdb.dwarf2/formdata16.exp: Add tests.
6845
d9109c80
TT
68462017-06-12 Tom Tromey <tom@tromey.com>
6847
6848 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6849
30a25466
TT
68502017-06-12 Tom Tromey <tom@tromey.com>
6851
6852 PR exp/16225:
6853 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6854 * gdb.arch/vsx-regs.exp: Update tests.
6855 * gdb.arch/s390-vregs.exp (hex128): New proc.
6856 Update test.
6857 * gdb.arch/altivec-regs.exp: Update tests.
6858
aefd8b33
SDJ
68592017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6860
6861 * gdb.base/startup-with-shell.c: New file.
6862 * gdb.base/startup-with-shell.exp: Likewise.
6863
2090129c
SDJ
68642017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6865
6866 * gdb.server/non-existing-program.exp: Update regex in order to
6867 reflect the fact that gdbserver is now using fork_inferior (with a
6868 shell) to startup the inferior.
6869
8e86a419
SM
68702017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6871
6872 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6873 support function calls from GDB.
6874
e6cf65f2
TT
68752017-05-21 Tom Tromey <tom@tromey.com>
6876
6877 PR rust/21466:
6878 * gdb.rust/unsized.exp: New file.
6879 * gdb.rust/unsized.rs: New file.
6880
43cc5389
TT
68812017-05-19 Tom Tromey <tom@tromey.com>
6882
6883 PR rust/21484:
6884 * gdb.rust/watch.exp: New file.
6885 * gdb.rust/watch.rs: New file.
6886
ec8df234
TT
68872017-05-18 Tom Tromey <tom@tromey.com>
6888
6889 * gdb.rust/simple.exp: Allow Box to be qualified.
6890
3e3e7fae
TP
68912017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6892
6893 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6894
59cc050d
PA
68952017-05-18 Pedro Alves <palves@redhat.com>
6896
6897 * gdb.base/fileio.c (test_write, test_read, test_close)
6898 (test_fstat): Don't print 'ret' in the fail path.
6899
c8f6abd1
PA
69002017-05-18 Pedro Alves <palves@redhat.com>
6901
6902 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6903 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6904 (test_system, test_rename, test_unlink, test_time): Change
6905 prototypes.
6906 * gdb.base/fileio.exp (stop_msg): Adjust.
6907
d2a03b77
PA
69082017-05-18 Pedro Alves <palves@redhat.com>
6909
6910 * gdb.base/fileio.c (null_str): New global.
6911 (test_stat): Use it.
6912 * gdb.base/fileio.exp: Remove nowarnings.
6913
0d5c6999
YQ
69142017-05-17 Yao Qi <yao.qi@linaro.org>
6915
6916 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6917
21873064
YQ
69182017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6919
6920 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6921 argument command.
6922 (top-level): Invoke test_set_inferior_tty.
6923
d512d31c
PA
69242017-05-04 Pedro Alves <palves@redhat.com>
6925
6926 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6927 Add parens to print call for Python 3.
6928
90cef2ed
KS
69292017-05-03 Keith Seitz <keiths@redhat.com>
6930
6931 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6932 (main): Call it.
6933
14f819c8
TW
69342017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6935
6936 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6937 to prev and next.
6938
913aeadd
TW
69392017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6940
6941 * gdb.python/py-record-btrace.exp: Remove test for
6942 gdb.BtraceInstruction.error.
6943
a3be24ad
TW
69442017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6945
6946 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6947
ae20e79a
TW
69482017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6949
6950 * gdb.python/py-record-btrace-threads.c: New file.
6951 * gdb.python/py-record-btrace-threads.exp: New file.
6952
45ce1b47
SDJ
69532017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6954
6955 PR testsuite/8595
6956 * gdb.base/environ.exp: Make test available in all architectures.
6957 Move bits related to "info program" testing to
6958 gdb.base/info-program.exp. Rewrite tests to use the two new
6959 procedures mentione below.
6960 (test_set_show_env_var) New procedure.
6961 (test_set_show_env_var_equal): Likewise.
6962 * gdb.base/info-program.exp: New file.
6963
e15c3eb4
KS
69642017-04-27 Keith Seitz <keiths@redhat.com>
6965
6966 * gdb.cp/oranking.cc (test15): New function.
6967 (main): Call test15 and declare additional variables for testing.
6968 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6969 "p foo101('abc')" tests.
6970 Add tests for cv qualifier overloads.
6971 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6972 "lvalue reference overload" test.
6973 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6974 "print value of f1 on Child&& in f2" test.
6975
3a3fd0fd
PA
69762017-04-19 Pedro Alves <palves@redhat.com>
6977
6978 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6979 procedure.
6980 (top level): Call it.
6981 * lib/gdb.exp (gdb_define_cmd): New procedure.
6982
53375380
PA
69832017-04-12 Pedro Alves <palves@redhat.com>
6984
6985 PR gdb/21323
6986 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6987 (wchar): New global.
6988 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6989 (do_test_wide_char, wide_char_types_no_program, top level): Add
6990 wchar_t testing.
6991
53e710ac
PA
69922017-04-12 Pedro Alves <palves@redhat.com>
6993
6994 PR c++/21323
6995 * gdb.cp/wide_char_types.c: New file.
6996 * gdb.cp/wide_char_types.exp: New file.
6997
0ad9d8c7
SDJ
69982017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6999
7000 PR gdb/21352
7001 * gdb.trace/tsv.exp: Add test for "tsave -r".
7002
b1b45502
IB
70032017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7004
7005 * gdb.dlang/watch-loc.c: New file.
7006 * gdb.dlang/watch-loc.exp: New file.
7007
ec13808e
JK
70082017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7009
7010 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7011
fe5f7374
AK
70122017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7013
7014 * gdb.arch/arc-analyze-prologue.S: New file.
7015 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7016
eea78757
AK
70172017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7018
7019 * gdb.arch/arc-decode-insn.S: New file.
7020 * gdb.arch/arc-decode-insn.exp: Likewise.
7021
5badf10a
IR
70222017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7023
7024 PR tdep/20928
7025 * gdb.arch/sparc64-regs.exp: New file.
7026 * gdb.arch/sparc64-regs.S: Likewise.
7027
cee59b3f
TW
70282017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7029
7030 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7031 and memory view on Python 3.
7032
c0f55cc6
AV
70332017-03-20 Artemiy Volkov <artemiyv@acm.org>
7034 Keith Seitz <keiths@redhat.com>
7035
7036 PR gdb/14441
7037 * gdb.cp/demangle.exp: Add rvalue reference tests.
7038 * gdb.cp/rvalue-ref-casts.cc: New file.
7039 * gdb.cp/rvalue-ref-casts.exp: New file.
7040 * gdb.cp/rvalue-ref-overload.cc: New file.
7041 * gdb.cp/rvalue-ref-overload.exp: New file.
7042 * gdb.cp/rvalue-ref-params.cc: New file.
7043 * gdb.cp/rvalue-ref-params.exp: New file.
7044 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7045 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7046 * gdb.cp/rvalue-ref-types.cc: New file.
7047 * gdb.cp/rvalue-ref-types.exp: New file.
7048 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7049 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7050
51457a05
MAL
70512017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7052
7053 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7054 New procedure.
7055
5b291c04
MAL
70562017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7057
7058 * lib/mi-support.exp (mi_gdb_test): Add additional message
7059 for unexpected output.
7060
59a56148
AA
70612017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7062
7063 * gdb.base/examine-backward.c (Barrier): New character array
7064 constant, to ensure that TestStrings is preceded by a string
7065 terminator.
7066
7942e96e
AA
70672017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7068
7069 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7070 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7071 and implicit pointer into such a location.
7072
6ebac3fb
DE
70732017-03-16 Doug Evans <dje@google.com>
7074
7075 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7076
ec3b243d
TP
70772017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7078
7079 * gdb.cp/m-static.exp: Fix expectation for prototype of
7080 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
7081
70822017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
7083
7084 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7085 * gdb.guile/scm-lazy-string.c: New file.
7086 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7087 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7088 for pointer, array, typedef lazy strings.
7089
2cc36e25 70902017-03-16 Doug Evans <dje@google.com>
34b43320
DE
7091
7092 PR python/17728, python/18439, python/18779
7093 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7094 * gdb.python/py-lazy-string.c (pointer): New typedef.
7095 (main): New locals ptr, array, typedef_ptr.
7096 * gdb.python/py-value.exp: Move lazy string tests to ...
7097 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7098 array, typedef lazy strings.
ec3b243d 7099
0efcde63
AK
71002017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7101
7102 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7103 Add optional 'test' parameter.
7104
7978d7c3
SM
71052017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7106
7107 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7108 Skip for versions of DejaGnu < 1.5.
7109
896c0c1e
SM
71102017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7111
7112 * lib/gdb.exp (dejagnu_version): New proc.
7113 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7114 Use dejagnu_version.
7115
5f4d1085
KS
71162017-03-10 Keith Seitz <keiths@redhat.com>
7117
7118 PR c++/8128
7119 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7120 type from destructor regexps.
7121 Add a branch which actually passes the test.
7122 Adjust "ptype t5i" test names.
7123
1de05205
PA
71242017-03-08 Pedro Alves <palves@redhat.com>
7125
7126 * gdb.base/step-over-exit.exp: Add explicit test message.
7127
c65d6b55
PA
71282017-03-08 Pedro Alves <palves@redhat.com>
7129
7130 PR gdb/18360
7131 * gdb.threads/interrupt-while-step-over.c: New file.
7132 * gdb.threads/interrupt-while-step-over.exp: New file.
7133
2e86a283
PA
71342017-03-08 Pedro Alves <palves@redhat.com>
7135
7136 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7137 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7138
25dcbff6
PA
71392017-03-08 Pedro Alves <palves@redhat.com>
7140
7141 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7142 PKRU as not supported as a PASS.
7143
dc9366eb
PA
71442017-03-08 Pedro Alves <palves@redhat.com>
7145
7146 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7147 prefix instead of $binfile1/$binfile2.
7148 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7149 in test message.
7150 * gdb.python/py-completion.exp: Use "load python file" as test
7151 messages instead of unstable path names.
7152
6e5d74e7
PA
71532017-03-08 Pedro Alves <palves@redhat.com>
7154 Jan Kratochvil <jan.kratochvil@redhat.com>
7155
7156 PR cli/21218
7157 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7158 New proc.
7159 (top level): Call it.
7160
9753a2f6
PA
71612017-03-08 Pedro Alves <palves@redhat.com>
7162
7163 PR tui/21216
7164 * gdb.tui/tui-nl-filtered-output.exp: New file.
7165
1a4dd9dd
PA
71662017-03-08 Pedro Alves <palves@redhat.com>
7167
7168 * gdb.base/completion.exp: Move TUI completion tests to ...
7169 * gdb.tui/completion.exp: ... this new file.
7170
7cbbff33
PA
71712017-03-08 Pedro Alves <palves@redhat.com>
7172
7173 * gdb.base/tui-disasm-long-lines.c,
7174 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7175 gdb.base/tui-layout.exp: Move to ...
7176 * gdb.tui/: ... this new directory.
7177
5f6fd321
PA
71782017-03-07 Pedro Alves <palves@redhat.com>
7179
7180 * gdb.base/tui-layout.c: New file.
7181 * gdb.base/tui-layout.exp: New file.
7182
44959fa8
PA
71832017-03-07 Pedro Alves <palves@redhat.com>
7184
7185 * gdb.base/tui-layout.c: Rename to ...
7186 * gdb.base/tui-disasm-long-lines.c: ... this.
7187 * gdb.base/tui-layout.exp: Rename to ...
7188 * gdb.base/tui-disasm-long-lines.exp: ... this.
7189
f8c4e718
PA
71902017-03-07 Pedro Alves <palves@redhat.com>
7191
7192 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7193
6dbb839a 71942017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
7195
7196 * i386-mpx-call.c: New file.
7197 * i386-mpx-call.exp: New file.
7198
65b48a81
PB
71992017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7200
7201 * gdb.arch/powerpc-power.exp: Delete test.
7202 * gdb.arch/powerpc-power.s: Likewise.
7203 * gdb.disasm/disassembler-options.exp: New test.
7204 * gdb.arch/powerpc-altivec.exp: Likewise.
7205 * gdb.arch/powerpc-altivec.s: Likewise.
7206 * gdb.arch/powerpc-altivec2.exp: Likewise.
7207 * gdb.arch/powerpc-altivec2.s: Likewise.
7208 * gdb.arch/powerpc-altivec3.exp: Likewise.
7209 * gdb.arch/powerpc-altivec3.s: Likewise.
7210 * gdb.arch/powerpc-power7.exp: Likewise.
7211 * gdb.arch/powerpc-power7.s: Likewise.
7212 * gdb.arch/powerpc-power8.exp: Likewise.
7213 * gdb.arch/powerpc-power8.s: Likewise.
7214 * gdb.arch/powerpc-power9.exp: Likewise.
7215 * gdb.arch/powerpc-power9.s: Likewise.
7216 * gdb.arch/powerpc-vsx.exp: Likewise.
7217 * gdb.arch/powerpc-vsx.s: Likewise.
7218 * gdb.arch/powerpc-vsx2.exp: Likewise.
7219 * gdb.arch/powerpc-vsx2.s: Likewise.
7220 * gdb.arch/powerpc-vsx3.exp: Likewise.
7221 * gdb.arch/powerpc-vsx3.s: Likewise.
7222 * gdb.arch/arm-disassembler-options.exp: Likewise.
7223 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7224 * gdb.arch/s390-disassembler-options.exp: Likewise.
7225
17cd4947
LM
72262017-02-23 Luis Machado <lgustavo@codesourcery.com>
7227
7228 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7229 (check_supported_features): ... this. Changed return type to void.
7230 (supports_rdseed): New static global.
7231 (rdseed): Check supports_rdseed.
7232 (initialize): Call check_supported_features.
7233
2039d74e
EBM
72342017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7235
7236 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7237 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7238 and lqarx/stqcx.
7239 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7240 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7241
a51d7ecf
EBM
72422017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7243
7244 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7245 uppercase.
7246
0224619f
JK
72472017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7248
7249 * gdb.dwarf2/formdata16.c: New file.
7250 * gdb.dwarf2/formdata16.exp: New file.
7251 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7252
216f72a1
JK
72532017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7254
7255 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7256 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7257 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7258 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7259 DW_AT_GNU_*.
7260
43988095
JK
72612017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7262
7263 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7264
99e8a4f9
SDJ
72652017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7266
7267 PR gdb/21164
7268 * gdb.base/maint.exp: Add testcases for when the commands do
7269 not have arguments.
7270
b58a8c0c
TP
72712017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7272
7273 * gdb.cp/chained-calls.exp: Use p instead of P.
7274
4e746bb6
TW
72752017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7276
7277 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7278 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7279
3f77c769
TT
72802017-02-14 Tom Tromey <tom@tromey.com>
7281
7282 PR python/13598:
7283 * gdb.python/py-events.exp: Add before_prompt event tests.
7284
075beec0
AA
72852017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7286
7287 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7288
bf5f525c
LM
72892017-02-13 Luis Machado <lgustavo@codesourcery.com>
7290
7291 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7292 (main): Call my_unique_function_name.
7293 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7294 completion of patterns with a single match.
7295 Add missing -re switches to gdb_test_multiple calls.
7296
13a66184
LM
72972017-02-13 Luis Machado <lgustavo@codesourcery.com>
7298
7299 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7300 return if core file is not recognized.
7301
26a06916
SM
73022017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7303
7304 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7305 and extra UIs.
7306
b761ca9e
SM
73072017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7308
7309 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7310 proc_with_prefix.
7311
b964bee0
TT
73122017-02-10 Tom Tromey <tom@tromey.com>
7313
7314 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7315
18da0c51
MG
73162017-02-10 Martin Galvan <martingalvan@sourceware.org>
7317
7318 PR gdb/21122
7319 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7320
604c4576
JG
73212017-02-08 Jerome Guitton <guitton@adacore.com>
7322
7323 * gdb.base/define.exp: Add test for command abbreviations
7324 in define.
7325
20b477a7
LM
73262017-02-06 Luis Machado <lgustavo@codesourcery.com>
7327
7328 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7329 * gdb.reverse/insn-reverse-x86.c: New file.
7330
3f7b46f2
IR
73312017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7332
7333 PR tdep/20936
7334 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7335
f0fd41c1
TT
73362017-02-03 Tom Tromey <tom@tromey.com>
7337
7338 PR rust/21097:
7339 * gdb.rust/simple.exp: Add new tests.
7340
5be5dbf0
PA
73412017-02-02 Pedro Alves <palves@redhat.com>
7342
7343 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7344 tests.
7345
7346ef59
AA
73462017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7347
7348 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7349 taking a 2-byte value out of a 4-byte DWARF implicit value on
7350 big-endian targets.
7351 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7352 logic. Add test cases for DW_OP_implicit.
7353
787f0025
MM
73542017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7355
7356 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7357
68777c29
MM
73582017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7359
7360 * gdb.btrace/enable.exp: Call gdb_exit before
7361 skip_gdbserver_tests.
7362
0a1c7e28
MM
73632017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7364
7365 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7366 GDBFLAGS.
7367
b5ac99b0
MM
73682017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7369
7370 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7371 the test is skipped.
7372 * gdb.btrace/data.exp: Likewise.
7373 * gdb.btrace/delta.exp: Likewise.
7374 * gdb.btrace/dlopen.exp: Likewise.
7375 * gdb.btrace/enable-running.exp: Likewise.
7376 * gdb.btrace/enable.exp: Likewise.
7377 * gdb.btrace/exception.exp: Likewise.
7378 * gdb.btrace/function_call_history.exp: Likewise.
7379 * gdb.btrace/gcore.exp: Likewise.
7380 * gdb.btrace/instruction_history.exp: Likewise.
7381 * gdb.btrace/multi-thread-step.exp: Likewise.
7382 * gdb.btrace/nohist.exp: Likewise.
7383 * gdb.btrace/non-stop.exp: Likewise.
7384 * gdb.btrace/reconnect.exp: Likewise.
7385 * gdb.btrace/record_goto-step.exp: Likewise.
7386 * gdb.btrace/record_goto.exp: Likewise.
7387 * gdb.btrace/rn-dl-bind.exp: Likewise.
7388 * gdb.btrace/segv.exp: Likewise.
7389 * gdb.btrace/step.exp: Likewise.
7390 * gdb.btrace/stepi.exp: Likewise.
7391 * gdb.btrace/tailcall-only.exp: Likewise.
7392 * gdb.btrace/tailcall.exp: Likewise.
7393 * gdb.btrace/tsx.exp: Likewise.
7394 * gdb.btrace/unknown_functions.exp: Likewise.
7395 * gdb.btrace/vdso.exp: Likewise.
7396
cd4007e4
MM
73972017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7398
7399 * gdb.btrace/enable-running.c: New.
7400 * gdb.btrace/enable-running.exp: New.
7401
2735833d
WT
74022017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7403
7404 * gdb.arch/amd64-gs_base.c: New file.
7405 * gdb.arch/amd64-gs_base.exp: New file.
7406
b51e1e94
LM
74072017-01-26 Luis Machado <lgustavo@codesourcery.com>
7408
7409 * lib/memory.exp: Remove spurious empty newlines.
7410
72ca0410
SM
74112017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7412
7413 * gdb.python/py-bad-printers.exp: Load python file using "source".
7414 * gdb.python/py-events.exp: Likewise.
7415 * gdb.python/py-evsignal.exp: Likewise.
7416 * gdb.python/py-evthreads.exp: Likewise.
7417 * gdb.python/py-frame-args.exp: Likewise.
7418 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7419 * gdb.python/py-framefilter-mi.exp: Likewise.
7420 * gdb.python/py-framefilter.exp: Likewise.
7421 * gdb.python/py-mi.exp: Likewise.
7422 * gdb.python/py-pp-maint.exp: Likewise.
7423 * gdb.python/py-pp-registration.exp: Likewise.
7424 * gdb.python/py-prettyprint.exp: Likewise.
7425 (run_lang_tests): Likewise.
7426 * gdb.python/py-typeprint.exp: Likewise.
7427
e309aa65
LM
74282017-01-26 Luis Machado <lgustavo@codesourcery.com>
7429
7430 * lib/memory.exp: New file.
7431 * lib/gdb.exp: Load memory.exp.
7432 * gdb.base/memattr.exp (delete_memory): Move proc to
7433 lib/memory.exp and rename to delete_memory_regions.
7434 Replace delete_memory with delete_memory_regions.
7435 Cleanup memory regions before tests.
7436 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7437 before tests.
7438
515aff23
LM
74392017-01-26 Luis Machado <lgustavo@codesourcery.com>
7440
7441 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7442 files.
7443 (initialize): New function conditionally defined.
7444 (testcases): Move within conditional block.
7445 (main): Call initialize.
7446 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7447 of gdb.reverse/insn-reverse.c.
7448 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7449 gdb.reverse/insn-reverse.c.
7450
d8b49cf0
YQ
74512017-01-26 Yao Qi <yao.qi@linaro.org>
7452
7453 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7454 disassemble on address 0.
7455
f13a9a0c
YQ
74562017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7457 Yao Qi <yao.qi@linaro.org>
7458
7459 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7460 * gdb.dwarf2/implptr-64bit.S: Remove.
7461 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7462 variables in caller's context. Add DW_OP_implicit_value.
7463
5ac95241
YQ
74642017-01-25 Yao Qi <yao.qi@linaro.org>
7465
7466 * lib/dwarf.exp (Dwarf::_location): Handle
7467 DW_OP_GNU_implicit_pointer with proper size.
7468
23e82930
LM
74692017-01-20 Luis Machado <lgustavo@codesourcery.com>
7470
7471 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7472 and add untested calls.
7473
d334ae25
LM
74742017-01-20 Luis Machado <lgustavo@codesourcery.com>
7475
7476 * gdb.python/python.exp: Check line number against what GDB thinks
7477 the line number is for func1.
7478
f5e6296e
IB
74792017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7480
7481 * gdb.dlang/debug-expr.exp: New file.
7482
5b362f04
LM
74832016-12-23 Luis Machado <lgustavo@codesourcery.com>
7484
7485 Fix test names for the following files:
7486
7487 * gdb.ada/exec_changed.exp
7488 * gdb.ada/info_types.exp
7489 * gdb.arch/aarch64-atomic-inst.exp
7490 * gdb.arch/aarch64-fp.exp
7491 * gdb.arch/altivec-abi.exp
7492 * gdb.arch/altivec-regs.exp
7493 * gdb.arch/amd64-byte.exp
7494 * gdb.arch/amd64-disp-step.exp
7495 * gdb.arch/amd64-dword.exp
7496 * gdb.arch/amd64-entry-value-inline.exp
7497 * gdb.arch/amd64-entry-value-param.exp
7498 * gdb.arch/amd64-entry-value-paramref.exp
7499 * gdb.arch/amd64-entry-value.exp
7500 * gdb.arch/amd64-i386-address.exp
7501 * gdb.arch/amd64-invalid-stack-middle.exp
7502 * gdb.arch/amd64-invalid-stack-top.exp
7503 * gdb.arch/amd64-optimout-repeat.exp
7504 * gdb.arch/amd64-prologue-skip.exp
7505 * gdb.arch/amd64-prologue-xmm.exp
7506 * gdb.arch/amd64-stap-special-operands.exp
7507 * gdb.arch/amd64-stap-wrong-subexp.exp
7508 * gdb.arch/amd64-tailcall-cxx.exp
7509 * gdb.arch/amd64-tailcall-noret.exp
7510 * gdb.arch/amd64-tailcall-ret.exp
7511 * gdb.arch/amd64-tailcall-self.exp
7512 * gdb.arch/amd64-word.exp
7513 * gdb.arch/arm-bl-branch-dest.exp
7514 * gdb.arch/arm-disp-step.exp
7515 * gdb.arch/arm-neon.exp
7516 * gdb.arch/arm-single-step-kernel-helper.exp
7517 * gdb.arch/avr-flash-qualifier.exp
7518 * gdb.arch/disp-step-insn-reloc.exp
7519 * gdb.arch/e500-abi.exp
7520 * gdb.arch/e500-regs.exp
7521 * gdb.arch/ftrace-insn-reloc.exp
7522 * gdb.arch/i386-avx512.exp
7523 * gdb.arch/i386-bp_permanent.exp
7524 * gdb.arch/i386-byte.exp
7525 * gdb.arch/i386-cfi-notcurrent.exp
7526 * gdb.arch/i386-disp-step.exp
7527 * gdb.arch/i386-dr3-watch.exp
7528 * gdb.arch/i386-float.exp
7529 * gdb.arch/i386-gnu-cfi.exp
7530 * gdb.arch/i386-mpx-map.exp
7531 * gdb.arch/i386-mpx-sigsegv.exp
7532 * gdb.arch/i386-mpx-simple_segv.exp
7533 * gdb.arch/i386-mpx.exp
7534 * gdb.arch/i386-permbkpt.exp
7535 * gdb.arch/i386-prologue.exp
7536 * gdb.arch/i386-signal.exp
7537 * gdb.arch/i386-size-overlap.exp
7538 * gdb.arch/i386-unwind.exp
7539 * gdb.arch/i386-word.exp
7540 * gdb.arch/mips-fcr.exp
7541 * gdb.arch/powerpc-d128-regs.exp
7542 * gdb.arch/powerpc-stackless.exp
7543 * gdb.arch/ppc64-atomic-inst.exp
7544 * gdb.arch/s390-stackless.exp
7545 * gdb.arch/s390-tdbregs.exp
7546 * gdb.arch/s390-vregs.exp
7547 * gdb.arch/sparc-sysstep.exp
7548 * gdb.arch/thumb-bx-pc.exp
7549 * gdb.arch/thumb-singlestep.exp
7550 * gdb.arch/thumb2-it.exp
7551 * gdb.arch/vsx-regs.exp
7552 * gdb.asm/asm-source.exp
7553 * gdb.base/a2-run.exp
7554 * gdb.base/advance.exp
7555 * gdb.base/all-bin.exp
7556 * gdb.base/anon.exp
7557 * gdb.base/args.exp
7558 * gdb.base/arithmet.exp
7559 * gdb.base/async-shell.exp
7560 * gdb.base/async.exp
7561 * gdb.base/attach-pie-noexec.exp
7562 * gdb.base/attach-twice.exp
7563 * gdb.base/auto-load.exp
7564 * gdb.base/bang.exp
7565 * gdb.base/bitfields.exp
7566 * gdb.base/break-always.exp
7567 * gdb.base/break-caller-line.exp
7568 * gdb.base/break-entry.exp
7569 * gdb.base/break-inline.exp
7570 * gdb.base/break-on-linker-gcd-function.exp
7571 * gdb.base/break-probes.exp
7572 * gdb.base/break.exp
7573 * gdb.base/breakpoint-shadow.exp
7574 * gdb.base/call-ar-st.exp
7575 * gdb.base/call-sc.exp
7576 * gdb.base/call-signal-resume.exp
7577 * gdb.base/call-strs.exp
7578 * gdb.base/callfuncs.exp
7579 * gdb.base/catch-fork-static.exp
7580 * gdb.base/catch-gdb-caused-signals.exp
7581 * gdb.base/catch-load.exp
7582 * gdb.base/catch-signal-fork.exp
7583 * gdb.base/catch-signal.exp
7584 * gdb.base/catch-syscall.exp
7585 * gdb.base/charset.exp
7586 * gdb.base/checkpoint.exp
7587 * gdb.base/chng-syms.exp
7588 * gdb.base/code-expr.exp
7589 * gdb.base/code_elim.exp
7590 * gdb.base/commands.exp
7591 * gdb.base/completion.exp
7592 * gdb.base/complex.exp
7593 * gdb.base/cond-expr.exp
7594 * gdb.base/condbreak.exp
7595 * gdb.base/consecutive.exp
7596 * gdb.base/continue-all-already-running.exp
7597 * gdb.base/coredump-filter.exp
7598 * gdb.base/corefile.exp
7599 * gdb.base/dbx.exp
7600 * gdb.base/debug-expr.exp
7601 * gdb.base/define.exp
7602 * gdb.base/del.exp
7603 * gdb.base/disabled-location.exp
7604 * gdb.base/disasm-end-cu.exp
7605 * gdb.base/disasm-optim.exp
7606 * gdb.base/display.exp
7607 * gdb.base/duplicate-bp.exp
7608 * gdb.base/ena-dis-br.exp
7609 * gdb.base/ending-run.exp
7610 * gdb.base/enumval.exp
7611 * gdb.base/environ.exp
7612 * gdb.base/eu-strip-infcall.exp
7613 * gdb.base/eval-avoid-side-effects.exp
7614 * gdb.base/eval-skip.exp
7615 * gdb.base/exitsignal.exp
7616 * gdb.base/expand-psymtabs.exp
7617 * gdb.base/filesym.exp
7618 * gdb.base/find-unmapped.exp
7619 * gdb.base/finish.exp
7620 * gdb.base/float.exp
7621 * gdb.base/foll-exec-mode.exp
7622 * gdb.base/foll-exec.exp
7623 * gdb.base/foll-fork.exp
7624 * gdb.base/fortran-sym-case.exp
7625 * gdb.base/freebpcmd.exp
7626 * gdb.base/func-ptr.exp
7627 * gdb.base/func-ptrs.exp
7628 * gdb.base/funcargs.exp
7629 * gdb.base/gcore-buffer-overflow.exp
7630 * gdb.base/gcore-relro-pie.exp
7631 * gdb.base/gcore-relro.exp
7632 * gdb.base/gcore.exp
7633 * gdb.base/gdb1090.exp
7634 * gdb.base/gdb11530.exp
7635 * gdb.base/gdb11531.exp
7636 * gdb.base/gdb1821.exp
7637 * gdb.base/gdbindex-stabs.exp
7638 * gdb.base/gdbvars.exp
7639 * gdb.base/hbreak.exp
7640 * gdb.base/hbreak2.exp
7641 * gdb.base/included.exp
7642 * gdb.base/infcall-input.exp
7643 * gdb.base/inferior-died.exp
7644 * gdb.base/infnan.exp
7645 * gdb.base/info-macros.exp
7646 * gdb.base/info-os.exp
7647 * gdb.base/info-proc.exp
7648 * gdb.base/info-shared.exp
7649 * gdb.base/info-target.exp
7650 * gdb.base/infoline.exp
7651 * gdb.base/interp.exp
7652 * gdb.base/interrupt.exp
7653 * gdb.base/jit-reader.exp
7654 * gdb.base/jit-simple.exp
7655 * gdb.base/kill-after-signal.exp
7656 * gdb.base/kill-detach-inferiors-cmd.exp
7657 * gdb.base/label.exp
7658 * gdb.base/langs.exp
7659 * gdb.base/ldbl_e308.exp
7660 * gdb.base/line-symtabs.exp
7661 * gdb.base/linespecs.exp
7662 * gdb.base/list.exp
7663 * gdb.base/long_long.exp
7664 * gdb.base/longest-types.exp
7665 * gdb.base/maint.exp
7666 * gdb.base/max-value-size.exp
7667 * gdb.base/memattr.exp
7668 * gdb.base/mips_pro.exp
7669 * gdb.base/morestack.exp
7670 * gdb.base/moribund-step.exp
7671 * gdb.base/multi-forks.exp
7672 * gdb.base/nested-addr.exp
7673 * gdb.base/nextoverexit.exp
7674 * gdb.base/noreturn-finish.exp
7675 * gdb.base/noreturn-return.exp
7676 * gdb.base/nostdlib.exp
7677 * gdb.base/offsets.exp
7678 * gdb.base/opaque.exp
7679 * gdb.base/pc-fp.exp
7680 * gdb.base/permissions.exp
7681 * gdb.base/print-symbol-loading.exp
7682 * gdb.base/prologue-include.exp
7683 * gdb.base/psymtab.exp
7684 * gdb.base/ptype.exp
7685 * gdb.base/random-signal.exp
7686 * gdb.base/randomize.exp
7687 * gdb.base/range-stepping.exp
7688 * gdb.base/readline-ask.exp
7689 * gdb.base/recpar.exp
7690 * gdb.base/recurse.exp
7691 * gdb.base/relational.exp
7692 * gdb.base/restore.exp
7693 * gdb.base/return-nodebug.exp
7694 * gdb.base/return.exp
7695 * gdb.base/run-after-attach.exp
7696 * gdb.base/save-bp.exp
7697 * gdb.base/scope.exp
7698 * gdb.base/sect-cmd.exp
7699 * gdb.base/set-lang-auto.exp
7700 * gdb.base/set-noassign.exp
7701 * gdb.base/setvar.exp
7702 * gdb.base/sigall.exp
7703 * gdb.base/sigbpt.exp
7704 * gdb.base/siginfo-addr.exp
7705 * gdb.base/siginfo-infcall.exp
7706 * gdb.base/siginfo-obj.exp
7707 * gdb.base/siginfo.exp
7708 * gdb.base/signals-state-child.exp
7709 * gdb.base/signest.exp
7710 * gdb.base/sigstep.exp
7711 * gdb.base/sizeof.exp
7712 * gdb.base/skip.exp
7713 * gdb.base/solib-corrupted.exp
7714 * gdb.base/solib-nodir.exp
7715 * gdb.base/solib-search.exp
7716 * gdb.base/stack-checking.exp
7717 * gdb.base/stale-infcall.exp
7718 * gdb.base/stap-probe.exp
7719 * gdb.base/start.exp
7720 * gdb.base/step-break.exp
7721 * gdb.base/step-bt.exp
7722 * gdb.base/step-line.exp
7723 * gdb.base/step-over-exit.exp
7724 * gdb.base/step-over-syscall.exp
7725 * gdb.base/step-resume-infcall.exp
7726 * gdb.base/step-test.exp
7727 * gdb.base/store.exp
7728 * gdb.base/structs3.exp
7729 * gdb.base/sym-file.exp
7730 * gdb.base/symbol-without-target_section.exp
7731 * gdb.base/term.exp
7732 * gdb.base/testenv.exp
7733 * gdb.base/ui-redirect.exp
7734 * gdb.base/until.exp
7735 * gdb.base/unwindonsignal.exp
7736 * gdb.base/value-double-free.exp
7737 * gdb.base/vla-datatypes.exp
7738 * gdb.base/vla-ptr.exp
7739 * gdb.base/vla-sideeffect.exp
7740 * gdb.base/volatile.exp
7741 * gdb.base/watch-cond-infcall.exp
7742 * gdb.base/watch-cond.exp
7743 * gdb.base/watch-non-mem.exp
7744 * gdb.base/watch-read.exp
7745 * gdb.base/watch-vfork.exp
7746 * gdb.base/watchpoint-cond-gone.exp
7747 * gdb.base/watchpoint-delete.exp
7748 * gdb.base/watchpoint-hw-hit-once.exp
7749 * gdb.base/watchpoint-hw.exp
7750 * gdb.base/watchpoint-stops-at-right-insn.exp
7751 * gdb.base/watchpoints.exp
7752 * gdb.base/wchar.exp
7753 * gdb.base/whatis-exp.exp
7754 * gdb.btrace/buffer-size.exp
7755 * gdb.btrace/data.exp
7756 * gdb.btrace/delta.exp
7757 * gdb.btrace/dlopen.exp
7758 * gdb.btrace/enable.exp
7759 * gdb.btrace/exception.exp
7760 * gdb.btrace/function_call_history.exp
7761 * gdb.btrace/gcore.exp
7762 * gdb.btrace/instruction_history.exp
7763 * gdb.btrace/nohist.exp
7764 * gdb.btrace/reconnect.exp
7765 * gdb.btrace/record_goto-step.exp
7766 * gdb.btrace/record_goto.exp
7767 * gdb.btrace/rn-dl-bind.exp
7768 * gdb.btrace/segv.exp
7769 * gdb.btrace/step.exp
7770 * gdb.btrace/stepi.exp
7771 * gdb.btrace/tailcall-only.exp
7772 * gdb.btrace/tailcall.exp
7773 * gdb.btrace/tsx.exp
7774 * gdb.btrace/unknown_functions.exp
7775 * gdb.btrace/vdso.exp
7776 * gdb.compile/compile-ifunc.exp
7777 * gdb.compile/compile-ops.exp
7778 * gdb.compile/compile-print.exp
7779 * gdb.compile/compile-setjmp.exp
7780 * gdb.cp/abstract-origin.exp
7781 * gdb.cp/ambiguous.exp
7782 * gdb.cp/annota2.exp
7783 * gdb.cp/annota3.exp
7784 * gdb.cp/anon-ns.exp
7785 * gdb.cp/anon-struct.exp
7786 * gdb.cp/anon-union.exp
7787 * gdb.cp/arg-reference.exp
7788 * gdb.cp/baseenum.exp
7789 * gdb.cp/bool.exp
7790 * gdb.cp/breakpoint.exp
7791 * gdb.cp/bs15503.exp
7792 * gdb.cp/call-c.exp
7793 * gdb.cp/casts.exp
7794 * gdb.cp/chained-calls.exp
7795 * gdb.cp/class2.exp
7796 * gdb.cp/classes.exp
7797 * gdb.cp/cmpd-minsyms.exp
7798 * gdb.cp/converts.exp
7799 * gdb.cp/cp-relocate.exp
7800 * gdb.cp/cpcompletion.exp
7801 * gdb.cp/cpexprs.exp
7802 * gdb.cp/cplabel.exp
7803 * gdb.cp/cplusfuncs.exp
7804 * gdb.cp/cpsizeof.exp
7805 * gdb.cp/ctti.exp
7806 * gdb.cp/derivation.exp
7807 * gdb.cp/destrprint.exp
7808 * gdb.cp/dispcxx.exp
7809 * gdb.cp/enum-class.exp
7810 * gdb.cp/exception.exp
7811 * gdb.cp/exceptprint.exp
7812 * gdb.cp/expand-psymtabs-cxx.exp
7813 * gdb.cp/expand-sals.exp
7814 * gdb.cp/extern-c.exp
7815 * gdb.cp/filename.exp
7816 * gdb.cp/formatted-ref.exp
7817 * gdb.cp/fpointer.exp
7818 * gdb.cp/gdb1355.exp
7819 * gdb.cp/gdb2495.exp
7820 * gdb.cp/hang.exp
7821 * gdb.cp/impl-this.exp
7822 * gdb.cp/infcall-dlopen.exp
7823 * gdb.cp/inherit.exp
7824 * gdb.cp/iostream.exp
7825 * gdb.cp/koenig.exp
7826 * gdb.cp/local.exp
7827 * gdb.cp/m-data.exp
7828 * gdb.cp/m-static.exp
7829 * gdb.cp/mb-ctor.exp
7830 * gdb.cp/mb-inline.exp
7831 * gdb.cp/mb-templates.exp
7832 * gdb.cp/member-name.exp
7833 * gdb.cp/member-ptr.exp
7834 * gdb.cp/meth-typedefs.exp
7835 * gdb.cp/method.exp
7836 * gdb.cp/method2.exp
7837 * gdb.cp/minsym-fallback.exp
7838 * gdb.cp/misc.exp
7839 * gdb.cp/namelessclass.exp
7840 * gdb.cp/namespace-enum.exp
7841 * gdb.cp/namespace-nested-import.exp
7842 * gdb.cp/namespace.exp
7843 * gdb.cp/nextoverthrow.exp
7844 * gdb.cp/no-dmgl-verbose.exp
7845 * gdb.cp/non-trivial-retval.exp
7846 * gdb.cp/noparam.exp
7847 * gdb.cp/nsdecl.exp
7848 * gdb.cp/nsimport.exp
7849 * gdb.cp/nsnested.exp
7850 * gdb.cp/nsnoimports.exp
7851 * gdb.cp/nsrecurs.exp
7852 * gdb.cp/nsstress.exp
7853 * gdb.cp/nsusing.exp
7854 * gdb.cp/operator.exp
7855 * gdb.cp/oranking.exp
7856 * gdb.cp/overload-const.exp
7857 * gdb.cp/overload.exp
7858 * gdb.cp/ovldbreak.exp
7859 * gdb.cp/ovsrch.exp
7860 * gdb.cp/paren-type.exp
7861 * gdb.cp/parse-lang.exp
7862 * gdb.cp/pass-by-ref.exp
7863 * gdb.cp/pr-1023.exp
7864 * gdb.cp/pr-1210.exp
7865 * gdb.cp/pr-574.exp
7866 * gdb.cp/pr10687.exp
7867 * gdb.cp/pr12028.exp
7868 * gdb.cp/pr17132.exp
7869 * gdb.cp/pr17494.exp
7870 * gdb.cp/pr9067.exp
7871 * gdb.cp/pr9167.exp
7872 * gdb.cp/pr9631.exp
7873 * gdb.cp/printmethod.exp
7874 * gdb.cp/psmang.exp
7875 * gdb.cp/psymtab-parameter.exp
7876 * gdb.cp/ptype-cv-cp.exp
7877 * gdb.cp/ptype-flags.exp
7878 * gdb.cp/re-set-overloaded.exp
7879 * gdb.cp/ref-types.exp
7880 * gdb.cp/rtti.exp
7881 * gdb.cp/scope-err.exp
7882 * gdb.cp/shadow.exp
7883 * gdb.cp/smartp.exp
7884 * gdb.cp/static-method.exp
7885 * gdb.cp/static-print-quit.exp
7886 * gdb.cp/temargs.exp
7887 * gdb.cp/templates.exp
7888 * gdb.cp/try_catch.exp
7889 * gdb.cp/typedef-operator.exp
7890 * gdb.cp/typeid.exp
7891 * gdb.cp/userdef.exp
7892 * gdb.cp/using-crash.exp
7893 * gdb.cp/var-tag.exp
7894 * gdb.cp/virtbase.exp
7895 * gdb.cp/virtfunc.exp
7896 * gdb.cp/virtfunc2.exp
7897 * gdb.cp/vla-cxx.exp
7898 * gdb.disasm/t01_mov.exp
7899 * gdb.disasm/t02_mova.exp
7900 * gdb.disasm/t03_add.exp
7901 * gdb.disasm/t04_sub.exp
7902 * gdb.disasm/t05_cmp.exp
7903 * gdb.disasm/t06_ari2.exp
7904 * gdb.disasm/t07_ari3.exp
7905 * gdb.disasm/t08_or.exp
7906 * gdb.disasm/t09_xor.exp
7907 * gdb.disasm/t10_and.exp
7908 * gdb.disasm/t11_logs.exp
7909 * gdb.disasm/t12_bit.exp
7910 * gdb.disasm/t13_otr.exp
7911 * gdb.dlang/circular.exp
7912 * gdb.dwarf2/arr-stride.exp
7913 * gdb.dwarf2/arr-subrange.exp
7914 * gdb.dwarf2/atomic-type.exp
7915 * gdb.dwarf2/bad-regnum.exp
7916 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7917 * gdb.dwarf2/callframecfa.exp
7918 * gdb.dwarf2/clztest.exp
7919 * gdb.dwarf2/corrupt.exp
7920 * gdb.dwarf2/data-loc.exp
7921 * gdb.dwarf2/dup-psym.exp
7922 * gdb.dwarf2/dw2-anon-mptr.exp
7923 * gdb.dwarf2/dw2-anonymous-func.exp
7924 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7925 * gdb.dwarf2/dw2-bad-unresolved.exp
7926 * gdb.dwarf2/dw2-basic.exp
7927 * gdb.dwarf2/dw2-canonicalize-type.exp
7928 * gdb.dwarf2/dw2-case-insensitive.exp
7929 * gdb.dwarf2/dw2-common-block.exp
7930 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7931 * gdb.dwarf2/dw2-compressed.exp
7932 * gdb.dwarf2/dw2-const.exp
7933 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7934 * gdb.dwarf2/dw2-cu-size.exp
7935 * gdb.dwarf2/dw2-dup-frame.exp
7936 * gdb.dwarf2/dw2-entry-value.exp
7937 * gdb.dwarf2/dw2-icycle.exp
7938 * gdb.dwarf2/dw2-ifort-parameter.exp
7939 * gdb.dwarf2/dw2-inline-break.exp
7940 * gdb.dwarf2/dw2-inline-param.exp
7941 * gdb.dwarf2/dw2-intercu.exp
7942 * gdb.dwarf2/dw2-intermix.exp
7943 * gdb.dwarf2/dw2-lexical-block-bare.exp
7944 * gdb.dwarf2/dw2-linkage-name-trust.exp
7945 * gdb.dwarf2/dw2-minsym-in-cu.exp
7946 * gdb.dwarf2/dw2-noloc.exp
7947 * gdb.dwarf2/dw2-op-call.exp
7948 * gdb.dwarf2/dw2-op-out-param.exp
7949 * gdb.dwarf2/dw2-opt-structptr.exp
7950 * gdb.dwarf2/dw2-param-error.exp
7951 * gdb.dwarf2/dw2-producer.exp
7952 * gdb.dwarf2/dw2-ranges-base.exp
7953 * gdb.dwarf2/dw2-ref-missing-frame.exp
7954 * gdb.dwarf2/dw2-reg-undefined.exp
7955 * gdb.dwarf2/dw2-regno-invalid.exp
7956 * gdb.dwarf2/dw2-restore.exp
7957 * gdb.dwarf2/dw2-restrict.exp
7958 * gdb.dwarf2/dw2-single-line-discriminators.exp
7959 * gdb.dwarf2/dw2-strp.exp
7960 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7961 * gdb.dwarf2/dw2-unresolved.exp
7962 * gdb.dwarf2/dw2-var-zero-addr.exp
7963 * gdb.dwarf2/dw4-sig-types.exp
7964 * gdb.dwarf2/dwz.exp
7965 * gdb.dwarf2/dynarr-ptr.exp
7966 * gdb.dwarf2/enum-type.exp
7967 * gdb.dwarf2/gdb-index.exp
7968 * gdb.dwarf2/implptr-64bit.exp
7969 * gdb.dwarf2/implptr-optimized-out.exp
7970 * gdb.dwarf2/implptr.exp
7971 * gdb.dwarf2/implref-array.exp
7972 * gdb.dwarf2/implref-const.exp
7973 * gdb.dwarf2/implref-global.exp
7974 * gdb.dwarf2/implref-struct.exp
7975 * gdb.dwarf2/mac-fileno.exp
7976 * gdb.dwarf2/main-subprogram.exp
7977 * gdb.dwarf2/member-ptr-forwardref.exp
7978 * gdb.dwarf2/method-ptr.exp
7979 * gdb.dwarf2/missing-sig-type.exp
7980 * gdb.dwarf2/nonvar-access.exp
7981 * gdb.dwarf2/opaque-type-lookup.exp
7982 * gdb.dwarf2/pieces-optimized-out.exp
7983 * gdb.dwarf2/pieces.exp
7984 * gdb.dwarf2/pr10770.exp
7985 * gdb.dwarf2/pr13961.exp
7986 * gdb.dwarf2/staticvirtual.exp
7987 * gdb.dwarf2/subrange.exp
7988 * gdb.dwarf2/symtab-producer.exp
7989 * gdb.dwarf2/trace-crash.exp
7990 * gdb.dwarf2/typeddwarf.exp
7991 * gdb.dwarf2/valop.exp
7992 * gdb.dwarf2/watch-notconst.exp
7993 * gdb.fortran/array-element.exp
7994 * gdb.fortran/charset.exp
7995 * gdb.fortran/common-block.exp
7996 * gdb.fortran/complex.exp
7997 * gdb.fortran/derived-type-function.exp
7998 * gdb.fortran/derived-type.exp
7999 * gdb.fortran/logical.exp
8000 * gdb.fortran/module.exp
8001 * gdb.fortran/multi-dim.exp
8002 * gdb.fortran/nested-funcs.exp
8003 * gdb.fortran/print-formatted.exp
8004 * gdb.fortran/subarray.exp
8005 * gdb.fortran/vla-alloc-assoc.exp
8006 * gdb.fortran/vla-datatypes.exp
8007 * gdb.fortran/vla-history.exp
8008 * gdb.fortran/vla-ptr-info.exp
8009 * gdb.fortran/vla-ptype-sub.exp
8010 * gdb.fortran/vla-ptype.exp
8011 * gdb.fortran/vla-sizeof.exp
8012 * gdb.fortran/vla-type.exp
8013 * gdb.fortran/vla-value-sub-arbitrary.exp
8014 * gdb.fortran/vla-value-sub-finish.exp
8015 * gdb.fortran/vla-value-sub.exp
8016 * gdb.fortran/vla-value.exp
8017 * gdb.fortran/whatis_type.exp
8018 * gdb.go/chan.exp
8019 * gdb.go/handcall.exp
8020 * gdb.go/hello.exp
8021 * gdb.go/integers.exp
8022 * gdb.go/methods.exp
8023 * gdb.go/package.exp
8024 * gdb.go/strings.exp
8025 * gdb.go/types.exp
8026 * gdb.go/unsafe.exp
8027 * gdb.guile/scm-arch.exp
8028 * gdb.guile/scm-block.exp
8029 * gdb.guile/scm-breakpoint.exp
8030 * gdb.guile/scm-cmd.exp
8031 * gdb.guile/scm-disasm.exp
8032 * gdb.guile/scm-equal.exp
8033 * gdb.guile/scm-frame-args.exp
8034 * gdb.guile/scm-frame-inline.exp
8035 * gdb.guile/scm-frame.exp
8036 * gdb.guile/scm-iterator.exp
8037 * gdb.guile/scm-math.exp
8038 * gdb.guile/scm-objfile.exp
8039 * gdb.guile/scm-ports.exp
8040 * gdb.guile/scm-symbol.exp
8041 * gdb.guile/scm-symtab.exp
8042 * gdb.guile/scm-value-cc.exp
8043 * gdb.guile/types-module.exp
8044 * gdb.linespec/break-ask.exp
8045 * gdb.linespec/cpexplicit.exp
8046 * gdb.linespec/explicit.exp
8047 * gdb.linespec/keywords.exp
8048 * gdb.linespec/linespec.exp
8049 * gdb.linespec/ls-dollar.exp
8050 * gdb.linespec/ls-errs.exp
8051 * gdb.linespec/skip-two.exp
8052 * gdb.linespec/thread.exp
8053 * gdb.mi/mi-async.exp
8054 * gdb.mi/mi-basics.exp
8055 * gdb.mi/mi-break.exp
8056 * gdb.mi/mi-catch-load.exp
8057 * gdb.mi/mi-cli.exp
8058 * gdb.mi/mi-cmd-param-changed.exp
8059 * gdb.mi/mi-console.exp
8060 * gdb.mi/mi-detach.exp
8061 * gdb.mi/mi-disassemble.exp
8062 * gdb.mi/mi-eval.exp
8063 * gdb.mi/mi-file-transfer.exp
8064 * gdb.mi/mi-file.exp
8065 * gdb.mi/mi-fill-memory.exp
8066 * gdb.mi/mi-inheritance-syntax-error.exp
8067 * gdb.mi/mi-linespec-err-cp.exp
8068 * gdb.mi/mi-logging.exp
8069 * gdb.mi/mi-memory-changed.exp
8070 * gdb.mi/mi-read-memory.exp
8071 * gdb.mi/mi-record-changed.exp
8072 * gdb.mi/mi-reg-undefined.exp
8073 * gdb.mi/mi-regs.exp
8074 * gdb.mi/mi-return.exp
8075 * gdb.mi/mi-reverse.exp
8076 * gdb.mi/mi-simplerun.exp
8077 * gdb.mi/mi-solib.exp
8078 * gdb.mi/mi-stack.exp
8079 * gdb.mi/mi-stepi.exp
8080 * gdb.mi/mi-syn-frame.exp
8081 * gdb.mi/mi-until.exp
8082 * gdb.mi/mi-var-block.exp
8083 * gdb.mi/mi-var-child.exp
8084 * gdb.mi/mi-var-cmd.exp
8085 * gdb.mi/mi-var-cp.exp
8086 * gdb.mi/mi-var-display.exp
8087 * gdb.mi/mi-var-invalidate.exp
8088 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8089 * gdb.mi/mi-vla-fortran.exp
8090 * gdb.mi/mi-watch.exp
8091 * gdb.mi/mi2-var-child.exp
8092 * gdb.mi/user-selected-context-sync.exp
8093 * gdb.modula2/unbounded-array.exp
8094 * gdb.multi/dummy-frame-restore.exp
8095 * gdb.multi/multi-arch-exec.exp
8096 * gdb.multi/multi-arch.exp
8097 * gdb.multi/tids.exp
8098 * gdb.multi/watchpoint-multi.exp
8099 * gdb.opencl/callfuncs.exp
8100 * gdb.opencl/convs_casts.exp
8101 * gdb.opencl/datatypes.exp
8102 * gdb.opencl/operators.exp
8103 * gdb.opencl/vec_comps.exp
8104 * gdb.opt/clobbered-registers-O2.exp
8105 * gdb.opt/inline-break.exp
8106 * gdb.opt/inline-bt.exp
8107 * gdb.opt/inline-cmds.exp
8108 * gdb.opt/inline-locals.exp
8109 * gdb.pascal/case-insensitive-symbols.exp
8110 * gdb.pascal/floats.exp
8111 * gdb.pascal/gdb11492.exp
8112 * gdb.python/lib-types.exp
8113 * gdb.python/py-arch.exp
8114 * gdb.python/py-as-string.exp
8115 * gdb.python/py-bad-printers.exp
8116 * gdb.python/py-block.exp
8117 * gdb.python/py-breakpoint-create-fail.exp
8118 * gdb.python/py-breakpoint.exp
8119 * gdb.python/py-caller-is.exp
8120 * gdb.python/py-cmd.exp
8121 * gdb.python/py-explore-cc.exp
8122 * gdb.python/py-explore.exp
8123 * gdb.python/py-finish-breakpoint.exp
8124 * gdb.python/py-finish-breakpoint2.exp
8125 * gdb.python/py-frame-args.exp
8126 * gdb.python/py-frame-inline.exp
8127 * gdb.python/py-frame.exp
8128 * gdb.python/py-framefilter-mi.exp
8129 * gdb.python/py-infthread.exp
8130 * gdb.python/py-lazy-string.exp
8131 * gdb.python/py-linetable.exp
8132 * gdb.python/py-mi-events.exp
8133 * gdb.python/py-mi-objfile.exp
8134 * gdb.python/py-mi.exp
8135 * gdb.python/py-objfile.exp
8136 * gdb.python/py-pp-integral.exp
8137 * gdb.python/py-pp-maint.exp
8138 * gdb.python/py-pp-re-notag.exp
8139 * gdb.python/py-pp-registration.exp
8140 * gdb.python/py-recurse-unwind.exp
8141 * gdb.python/py-strfns.exp
8142 * gdb.python/py-symbol.exp
8143 * gdb.python/py-symtab.exp
8144 * gdb.python/py-sync-interp.exp
8145 * gdb.python/py-typeprint.exp
8146 * gdb.python/py-unwind-maint.exp
8147 * gdb.python/py-unwind.exp
8148 * gdb.python/py-value-cc.exp
8149 * gdb.python/py-xmethods.exp
8150 * gdb.reverse/amd64-tailcall-reverse.exp
8151 * gdb.reverse/break-precsave.exp
8152 * gdb.reverse/break-reverse.exp
8153 * gdb.reverse/consecutive-precsave.exp
8154 * gdb.reverse/consecutive-reverse.exp
8155 * gdb.reverse/finish-precsave.exp
8156 * gdb.reverse/finish-reverse-bkpt.exp
8157 * gdb.reverse/finish-reverse.exp
8158 * gdb.reverse/fstatat-reverse.exp
8159 * gdb.reverse/getresuid-reverse.exp
8160 * gdb.reverse/i386-precsave.exp
8161 * gdb.reverse/i386-reverse.exp
8162 * gdb.reverse/i386-sse-reverse.exp
8163 * gdb.reverse/i387-env-reverse.exp
8164 * gdb.reverse/i387-stack-reverse.exp
8165 * gdb.reverse/insn-reverse.exp
8166 * gdb.reverse/machinestate-precsave.exp
8167 * gdb.reverse/machinestate.exp
8168 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8169 * gdb.reverse/pipe-reverse.exp
8170 * gdb.reverse/readv-reverse.exp
8171 * gdb.reverse/recvmsg-reverse.exp
8172 * gdb.reverse/rerun-prec.exp
8173 * gdb.reverse/s390-mvcle.exp
8174 * gdb.reverse/step-precsave.exp
8175 * gdb.reverse/step-reverse.exp
8176 * gdb.reverse/time-reverse.exp
8177 * gdb.reverse/until-precsave.exp
8178 * gdb.reverse/until-reverse.exp
8179 * gdb.reverse/waitpid-reverse.exp
8180 * gdb.reverse/watch-precsave.exp
8181 * gdb.reverse/watch-reverse.exp
8182 * gdb.rust/generics.exp
8183 * gdb.rust/methods.exp
8184 * gdb.rust/modules.exp
8185 * gdb.rust/simple.exp
8186 * gdb.server/connect-with-no-symbol-file.exp
8187 * gdb.server/ext-attach.exp
8188 * gdb.server/ext-restart.exp
8189 * gdb.server/ext-wrapper.exp
8190 * gdb.server/file-transfer.exp
8191 * gdb.server/server-exec-info.exp
8192 * gdb.server/server-kill.exp
8193 * gdb.server/server-mon.exp
8194 * gdb.server/wrapper.exp
8195 * gdb.stabs/exclfwd.exp
8196 * gdb.stabs/gdb11479.exp
8197 * gdb.threads/clone-new-thread-event.exp
8198 * gdb.threads/corethreads.exp
8199 * gdb.threads/current-lwp-dead.exp
8200 * gdb.threads/dlopen-libpthread.exp
8201 * gdb.threads/gcore-thread.exp
8202 * gdb.threads/sigstep-threads.exp
8203 * gdb.threads/watchpoint-fork.exp
8204 * gdb.trace/actions-changed.exp
8205 * gdb.trace/backtrace.exp
8206 * gdb.trace/change-loc.exp
8207 * gdb.trace/circ.exp
8208 * gdb.trace/collection.exp
8209 * gdb.trace/disconnected-tracing.exp
8210 * gdb.trace/ftrace.exp
8211 * gdb.trace/mi-trace-frame-collected.exp
8212 * gdb.trace/mi-trace-unavailable.exp
8213 * gdb.trace/mi-traceframe-changed.exp
8214 * gdb.trace/mi-tsv-changed.exp
8215 * gdb.trace/no-attach-trace.exp
8216 * gdb.trace/passc-dyn.exp
8217 * gdb.trace/qtro.exp
8218 * gdb.trace/range-stepping.exp
8219 * gdb.trace/read-memory.exp
8220 * gdb.trace/save-trace.exp
8221 * gdb.trace/signal.exp
8222 * gdb.trace/status-stop.exp
8223 * gdb.trace/tfile.exp
8224 * gdb.trace/trace-break.exp
8225 * gdb.trace/trace-buffer-size.exp
8226 * gdb.trace/trace-condition.exp
8227 * gdb.trace/tracefile-pseudo-reg.exp
8228 * gdb.trace/tstatus.exp
8229 * gdb.trace/unavailable.exp
8230 * gdb.trace/while-dyn.exp
8231 * gdb.trace/while-stepping.exp
8232
34c41c68
DE
82332016-12-22 Doug Evans <xdje42@gmail.com>
8234
8235 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8236 and msymbols.
8237
16e69324
YQ
82382016-12-19 Yao Qi <yao.qi@linaro.org>
8239
8240 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8241 (test_with_self): Don't call do_steps_and_nexts, and remove
8242 code about stepping into xmalloc.
8243
f94f411b
YQ
82442016-12-09 Yao Qi <yao.qi@linaro.org>
8245
8246 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8247
82482016-12-09 Yao Qi <yao.qi@linaro.org>
8249
8250 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8251
f1b5deee
PA
82522016-12-09 Pedro Alves <palves@redhat.com>
8253
8254 * gdb.base/all-architectures-0.exp: New file.
8255 * gdb.base/all-architectures-1.exp: New file.
8256 * gdb.base/all-architectures-2.exp: New file.
8257 * gdb.base/all-architectures-3.exp: New file.
8258 * gdb.base/all-architectures-4.exp: New file.
8259 * gdb.base/all-architectures-5.exp: New file.
8260 * gdb.base/all-architectures-6.exp: New file.
8261 * gdb.base/all-architectures-7.exp: New file.
8262 * gdb.base/all-architectures.exp.in: New file.
8263
364ca42e
YQ
82642016-12-09 Yao Qi <yao.qi@linaro.org>
8265
8266 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8267
107c2d62
LM
82682016-12-02 Luis Machado <lgustavo@codesourcery.com>
8269
8270 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8271 possible.
8272 Remove useless pattern-matching code.
8273
df3ee9ca
PA
82742016-12-02 Pedro Alves <palves@redhat.com>
8275
8276 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8277 procedure.
8278 (top level): Call it.
8279
ec835369
PA
82802016-12-02 Pedro Alves <palves@redhat.com>
8281
8282 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8283 New procedure.
8284 (top level): Call it.
8285
01770bbd
PA
82862016-12-02 Pedro Alves <palves@redhat.com>
8287
8288 PR cli/20559
8289 * gdb.base/commands.exp (user_defined_command_args_eval): New
8290 procedure.
8291 (top level): Call it.
8292
008459ea
LM
82932016-12-02 Luis Machado <lgustavo@codesourcery.com>
8294
8295 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8296 timeout handling.
8297
0c1b455e
TT
82982016-12-02 Tom Tromey <tom@tromey.com>
8299
8300 * gdb.dwarf2/main-subprogram.c: New file.
8301 * gdb.dwarf2/main-subprogram.exp: New file.
8302
018572b8
LM
83032016-12-01 Luis Machado <lgustavo@codesourcery.com>
8304
8305 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8306 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8307 gdb_test_no_output for a couple of cases.
8308 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8309
84c93cd5
LM
83102016-12-01 Luis Machado <lgustavo@codesourcery.com>
8311
8312 Fix test names and standardize compilation error messages throughout
8313 the following files:
8314
8315 * gdb.ada/start.exp
8316 * gdb.arch/alpha-step.exp
8317 * gdb.arch/e500-prologue.exp
8318 * gdb.arch/ftrace-insn-reloc.exp
8319 * gdb.arch/gdb1291.exp
8320 * gdb.arch/gdb1431.exp
8321 * gdb.arch/gdb1558.exp
8322 * gdb.arch/i386-dr3-watch.exp
8323 * gdb.arch/i386-sse-stack-align.exp
8324 * gdb.arch/ia64-breakpoint-shadow.exp
8325 * gdb.arch/pa-nullify.exp
8326 * gdb.arch/powerpc-aix-prologue.exp
8327 * gdb.arch/thumb-bx-pc.exp
8328 * gdb.base/annota1.exp
8329 * gdb.base/annota3.exp
8330 * gdb.base/arrayidx.exp
8331 * gdb.base/assign.exp
8332 * gdb.base/attach.exp
8333 * gdb.base/auxv.exp
8334 * gdb.base/bang.exp
8335 * gdb.base/bfp-test.exp
8336 * gdb.base/bigcore.exp
8337 * gdb.base/bitfields2.exp
8338 * gdb.base/break-fun-addr.exp
8339 * gdb.base/break-probes.exp
8340 * gdb.base/call-rt-st.exp
8341 * gdb.base/callexit.exp
8342 * gdb.base/catch-fork-kill.exp
8343 * gdb.base/charset.exp
8344 * gdb.base/checkpoint.exp
8345 * gdb.base/comprdebug.exp
8346 * gdb.base/constvars.exp
8347 * gdb.base/coredump-filter.exp
8348 * gdb.base/cursal.exp
8349 * gdb.base/cvexpr.exp
8350 * gdb.base/detach.exp
8351 * gdb.base/display.exp
8352 * gdb.base/dmsym.exp
8353 * gdb.base/dprintf-pending.exp
8354 * gdb.base/dso2dso.exp
8355 * gdb.base/dtrace-probe.exp
8356 * gdb.base/dump.exp
8357 * gdb.base/enum_cond.exp
8358 * gdb.base/exe-lock.exp
8359 * gdb.base/exec-invalid-sysroot.exp
8360 * gdb.base/execl-update-breakpoints.exp
8361 * gdb.base/exprs.exp
8362 * gdb.base/fileio.exp
8363 * gdb.base/find.exp
8364 * gdb.base/finish.exp
8365 * gdb.base/fixsection.exp
8366 * gdb.base/foll-vfork.exp
8367 * gdb.base/frame-args.exp
8368 * gdb.base/gcore.exp
8369 * gdb.base/gdb1250.exp
8370 * gdb.base/global-var-nested-by-dso.exp
8371 * gdb.base/gnu-ifunc.exp
8372 * gdb.base/hashline1.exp
8373 * gdb.base/hashline2.exp
8374 * gdb.base/hashline3.exp
8375 * gdb.base/hbreak-in-shr-unsupported.exp
8376 * gdb.base/huge.exp
8377 * gdb.base/infcall-input.exp
8378 * gdb.base/info-fun.exp
8379 * gdb.base/info-shared.exp
8380 * gdb.base/jit-simple.exp
8381 * gdb.base/jit-so.exp
8382 * gdb.base/jit.exp
8383 * gdb.base/jump.exp
8384 * gdb.base/label.exp
8385 * gdb.base/lineinc.exp
8386 * gdb.base/logical.exp
8387 * gdb.base/longjmp.exp
8388 * gdb.base/macscp.exp
8389 * gdb.base/miscexprs.exp
8390 * gdb.base/new-ui-echo.exp
8391 * gdb.base/new-ui-pending-input.exp
8392 * gdb.base/new-ui.exp
8393 * gdb.base/nodebug.exp
8394 * gdb.base/nofield.exp
8395 * gdb.base/offsets.exp
8396 * gdb.base/overlays.exp
8397 * gdb.base/pending.exp
8398 * gdb.base/pointers.exp
8399 * gdb.base/pr11022.exp
8400 * gdb.base/printcmds.exp
8401 * gdb.base/prologue.exp
8402 * gdb.base/ptr-typedef.exp
8403 * gdb.base/realname-expand.exp
8404 * gdb.base/relativedebug.exp
8405 * gdb.base/relocate.exp
8406 * gdb.base/remote.exp
8407 * gdb.base/reread.exp
8408 * gdb.base/return2.exp
8409 * gdb.base/savedregs.exp
8410 * gdb.base/sep.exp
8411 * gdb.base/sepdebug.exp
8412 * gdb.base/sepsymtab.exp
8413 * gdb.base/set-inferior-tty.exp
8414 * gdb.base/setshow.exp
8415 * gdb.base/shlib-call.exp
8416 * gdb.base/sigaltstack.exp
8417 * gdb.base/siginfo-addr.exp
8418 * gdb.base/signals.exp
8419 * gdb.base/signull.exp
8420 * gdb.base/sigrepeat.exp
8421 * gdb.base/so-impl-ld.exp
8422 * gdb.base/solib-display.exp
8423 * gdb.base/solib-overlap.exp
8424 * gdb.base/solib-search.exp
8425 * gdb.base/solib-symbol.exp
8426 * gdb.base/structs.exp
8427 * gdb.base/structs2.exp
8428 * gdb.base/symtab-search-order.exp
8429 * gdb.base/twice.exp
8430 * gdb.base/unload.exp
8431 * gdb.base/varargs.exp
8432 * gdb.base/watchpoint-solib.exp
8433 * gdb.base/watchpoint.exp
8434 * gdb.base/whatis.exp
8435 * gdb.base/wrong_frame_bt_full.exp
8436 * gdb.btrace/dlopen.exp
8437 * gdb.cell/ea-standalone.exp
8438 * gdb.cell/ea-test.exp
8439 * gdb.cp/dispcxx.exp
8440 * gdb.cp/gdb2384.exp
8441 * gdb.cp/method2.exp
8442 * gdb.cp/nextoverthrow.exp
8443 * gdb.cp/pr10728.exp
8444 * gdb.disasm/am33.exp
8445 * gdb.disasm/h8300s.exp
8446 * gdb.disasm/mn10300.exp
8447 * gdb.disasm/sh3.exp
8448 * gdb.dwarf2/dw2-dir-file-name.exp
8449 * gdb.fortran/complex.exp
8450 * gdb.fortran/library-module.exp
8451 * gdb.guile/scm-pretty-print.exp
8452 * gdb.guile/scm-symbol.exp
8453 * gdb.guile/scm-type.exp
8454 * gdb.guile/scm-value.exp
8455 * gdb.linespec/linespec.exp
8456 * gdb.mi/gdb701.exp
8457 * gdb.mi/gdb792.exp
8458 * gdb.mi/mi-breakpoint-changed.exp
8459 * gdb.mi/mi-dprintf-pending.exp
8460 * gdb.mi/mi-dprintf.exp
8461 * gdb.mi/mi-exit-code.exp
8462 * gdb.mi/mi-pending.exp
8463 * gdb.mi/mi-solib.exp
8464 * gdb.mi/new-ui-mi-sync.exp
8465 * gdb.mi/pr11022.exp
8466 * gdb.mi/user-selected-context-sync.exp
8467 * gdb.opt/solib-intra-step.exp
8468 * gdb.python/py-events.exp
8469 * gdb.python/py-finish-breakpoint.exp
8470 * gdb.python/py-mi.exp
8471 * gdb.python/py-prettyprint.exp
8472 * gdb.python/py-shared.exp
8473 * gdb.python/py-symbol.exp
8474 * gdb.python/py-template.exp
8475 * gdb.python/py-type.exp
8476 * gdb.python/py-value.exp
8477 * gdb.reverse/solib-precsave.exp
8478 * gdb.reverse/solib-reverse.exp
8479 * gdb.server/solib-list.exp
8480 * gdb.stabs/weird.exp
8481 * gdb.threads/reconnect-signal.exp
8482 * gdb.threads/stepi-random-signal.exp
8483 * gdb.trace/actions.exp
8484 * gdb.trace/ax.exp
8485 * gdb.trace/backtrace.exp
8486 * gdb.trace/change-loc.exp
8487 * gdb.trace/deltrace.exp
8488 * gdb.trace/ftrace-lock.exp
8489 * gdb.trace/ftrace.exp
8490 * gdb.trace/infotrace.exp
8491 * gdb.trace/mi-tracepoint-changed.exp
8492 * gdb.trace/packetlen.exp
8493 * gdb.trace/passcount.exp
8494 * gdb.trace/pending.exp
8495 * gdb.trace/range-stepping.exp
8496 * gdb.trace/report.exp
8497 * gdb.trace/stap-trace.exp
8498 * gdb.trace/tfind.exp
8499 * gdb.trace/trace-break.exp
8500 * gdb.trace/trace-condition.exp
8501 * gdb.trace/trace-enable-disable.exp
8502 * gdb.trace/trace-mt.exp
8503 * gdb.trace/tracecmd.exp
8504 * gdb.trace/tspeed.exp
8505 * gdb.trace/tsv.exp
8506 * lib/perftest.exp
8507
fb9feb35
LM
85082016-12-01 Luis Machado <lgustavo@codesourcery.com>
8509
8510 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8511 with gdb_test_no_output.
8512 Use command as test name.
8513
cd2ddb6c
LM
85142016-12-01 Luis Machado <lgustavo@codesourcery.com>
8515
8516 Fix test names starting with uppercase throughout the files.
8517
8518 * gdb.ada/assign_1.exp
8519 * gdb.ada/boolean_expr.exp
8520 * gdb.base/arrayidx.exp
8521 * gdb.base/del.exp
8522 * gdb.base/gcore-buffer-overflow.exp
8523 * gdb.base/testenv.exp
8524 * gdb.compile/compile.exp
8525 * gdb.python/py-framefilter-invalidarg.exp
8526 * gdb.python/py-framefilter.exp
8527
bb95117e
LM
85282016-12-01 Luis Machado <lgustavo@codesourcery.com>
8529
8530 Fix test names starting with uppercase throughout the files.
8531
8532 * gdb.ada/array_return.exp
8533 * gdb.ada/expr_delims.exp
8534 * gdb.ada/mi_dyn_arr.exp
8535 * gdb.ada/mi_interface.exp
8536 * gdb.ada/mi_var_array.exp
8537 * gdb.ada/watch_arg.exp
8538 * gdb.arch/alpha-step.exp
8539 * gdb.arch/altivec-regs.exp
8540 * gdb.arch/e500-regs.exp
8541 * gdb.arch/powerpc-d128-regs.exp
8542 * gdb.base/arrayidx.exp
8543 * gdb.base/break.exp
8544 * gdb.base/checkpoint.exp
8545 * gdb.base/debug-expr.exp
8546 * gdb.base/dmsym.exp
8547 * gdb.base/radix.exp
8548 * gdb.base/sepdebug.exp
8549 * gdb.base/testenv.exp
8550 * gdb.base/watch_thread_num.exp
8551 * gdb.base/watchpoint-cond-gone.exp
8552 * gdb.cell/break.exp
8553 * gdb.cell/ea-cache.exp
8554 * gdb.compile/compile.exp
8555 * gdb.cp/gdb2495.exp
8556 * gdb.gdb/selftest.exp
8557 * gdb.gdb/xfullpath.exp
8558 * gdb.go/hello.exp
8559 * gdb.go/integers.exp
8560 * gdb.objc/basicclass.exp
8561 * gdb.pascal/hello.exp
8562 * gdb.pascal/integers.exp
8563 * gdb.python/py-breakpoint.exp
8564 * gdb.python/py-cmd.exp
8565 * gdb.python/py-linetable.exp
8566 * gdb.python/py-xmethods.exp
8567 * gdb.python/python.exp
8568 * gdb.reverse/consecutive-precsave.exp
8569 * gdb.reverse/finish-precsave.exp
8570 * gdb.reverse/i386-precsave.exp
8571 * gdb.reverse/machinestate-precsave.exp
8572 * gdb.reverse/sigall-precsave.exp
8573 * gdb.reverse/solib-precsave.exp
8574 * gdb.reverse/step-precsave.exp
8575 * gdb.reverse/until-precsave.exp
8576 * gdb.reverse/watch-precsave.exp
8577 * gdb.threads/leader-exit.exp
8578 * gdb.threads/pthreads.exp
8579 * gdb.threads/wp-replication.exp
8580 * gdb.trace/actions.exp
8581 * gdb.trace/mi-tsv-changed.exp
8582 * gdb.trace/tsv.exp
8583
de97fdd4
LM
85842016-12-01 Luis Machado <lgustavo@codesourcery.com>
8585
8586 Fix test names starting with uppercase throughout the files.
8587
8588 * gdb.arch/i386-bp_permanent.exp
8589 * gdb.arch/i386-gnu-cfi.exp
8590 * gdb.base/disasm-end-cu.exp
8591 * gdb.base/macscp.exp
8592 * gdb.base/pending.exp
8593 * gdb.base/watch_thread_num.exp
8594 * gdb.cp/exception.exp
8595 * gdb.cp/gdb2495.exp
8596 * gdb.cp/local.exp
8597 * gdb.python/py-evsignal.exp
8598 * gdb.python/python.exp
8599 * gdb.trace/tracecmd.exp
8600
9f058c10
LM
86012016-12-01 Luis Machado <lgustavo@codesourcery.com>
8602
8603 Fix test names starting with uppercase throughout the files.
8604
8605 * gdb.base/charset.exp
8606 * gdb.base/eval.exp
8607 * gdb.base/multi-forks.exp
8608 * gdb.guile/scm-progspace.exp
8609 * gdb.opencl/datatypes.exp
8610 * gdb.python/py-block.exp
8611 * gdb.python/py-function.exp
8612 * gdb.python/py-symbol.exp
8613 * gdb.python/py-symtab.exp
8614 * gdb.python/py-xmethods.exp
8615 * gdb.reverse/break-precsave.exp
8616 * gdb.reverse/break-reverse.exp
8617 * gdb.reverse/consecutive-precsave.exp
8618 * gdb.reverse/consecutive-reverse.exp
8619 * gdb.reverse/finish-precsave.exp
8620 * gdb.reverse/finish-reverse-bkpt.exp
8621 * gdb.reverse/finish-reverse.exp
8622 * gdb.reverse/fstatat-reverse.exp
8623 * gdb.reverse/getresuid-reverse.exp
8624 * gdb.reverse/i386-precsave.exp
8625 * gdb.reverse/i386-reverse.exp
8626 * gdb.reverse/i386-sse-reverse.exp
8627 * gdb.reverse/i387-stack-reverse.exp
8628 * gdb.reverse/insn-reverse.exp
8629 * gdb.reverse/machinestate-precsave.exp
8630 * gdb.reverse/machinestate.exp
8631 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8632 * gdb.reverse/pipe-reverse.exp
8633 * gdb.reverse/readv-reverse.exp
8634 * gdb.reverse/recvmsg-reverse.exp
8635 * gdb.reverse/rerun-prec.exp
8636 * gdb.reverse/s390-mvcle.exp
8637 * gdb.reverse/sigall-precsave.exp
8638 * gdb.reverse/sigall-reverse.exp
8639 * gdb.reverse/solib-precsave.exp
8640 * gdb.reverse/solib-reverse.exp
8641 * gdb.reverse/step-precsave.exp
8642 * gdb.reverse/step-reverse.exp
8643 * gdb.reverse/time-reverse.exp
8644 * gdb.reverse/until-precsave.exp
8645 * gdb.reverse/until-reverse.exp
8646 * gdb.reverse/waitpid-reverse.exp
8647 * gdb.reverse/watch-precsave.exp
8648 * gdb.reverse/watch-reverse.exp
8649
cdc7edd7
LM
86502016-12-01 Luis Machado <lgustavo@codesourcery.com>
8651
8652 Fix test names starting with uppercase throughout the files.
8653
8654 * gdb.arch/i386-mpx-simple_segv.exp
8655 * gdb.arch/i386-mpx.exp
8656 * gdb.arch/i386-permbkpt.exp
8657 * gdb.arch/pa-nullify.exp
8658 * gdb.arch/powerpc-d128-regs.exp
8659 * gdb.arch/vsx-regs.exp
8660 * gdb.base/bfp-test.exp
8661 * gdb.base/break.exp
8662 * gdb.base/breakpoint-shadow.exp
8663 * gdb.base/callfuncs.exp
8664 * gdb.base/charset.exp
8665 * gdb.base/commands.exp
8666 * gdb.base/completion.exp
8667 * gdb.base/dfp-test.exp
8668 * gdb.base/echo.exp
8669 * gdb.base/ending-run.exp
8670 * gdb.base/eval.exp
8671 * gdb.base/expand-psymtabs.exp
8672 * gdb.base/float128.exp
8673 * gdb.base/floatn.exp
8674 * gdb.base/foll-exec-mode.exp
8675 * gdb.base/gdb1056.exp
8676 * gdb.base/gdb11531.exp
8677 * gdb.base/kill-after-signal.exp
8678 * gdb.base/multi-forks.exp
8679 * gdb.base/overlays.exp
8680 * gdb.base/pending.exp
8681 * gdb.base/sepdebug.exp
8682 * gdb.base/testenv.exp
8683 * gdb.base/valgrind-db-attach.exp
8684 * gdb.base/watch_thread_num.exp
8685 * gdb.base/watchpoint-cond-gone.exp
8686 * gdb.base/watchpoint.exp
8687 * gdb.base/watchpoints.exp
8688 * gdb.cp/arg-reference.exp
8689 * gdb.cp/baseenum.exp
8690 * gdb.cp/operator.exp
8691 * gdb.cp/shadow.exp
8692 * gdb.dwarf2/dw2-op-out-param.exp
8693 * gdb.dwarf2/dw2-reg-undefined.exp
8694 * gdb.go/chan.exp
8695 * gdb.go/hello.exp
8696 * gdb.go/integers.exp
8697 * gdb.go/methods.exp
8698 * gdb.go/package.exp
8699 * gdb.guile/scm-parameter.exp
8700 * gdb.guile/scm-progspace.exp
8701 * gdb.guile/scm-value.exp
8702 * gdb.mi/mi-pending.exp
8703 * gdb.mi/user-selected-context-sync.exp
8704 * gdb.multi/multi-attach.exp
8705 * gdb.multi/tids.exp
8706 * gdb.opt/clobbered-registers-O2.exp
8707 * gdb.pascal/floats.exp
8708 * gdb.pascal/integers.exp
8709 * gdb.python/py-block.exp
8710 * gdb.python/py-events.exp
8711 * gdb.python/py-parameter.exp
8712 * gdb.python/py-symbol.exp
8713 * gdb.python/py-symtab.exp
8714 * gdb.python/py-type.exp
8715 * gdb.python/py-value.exp
8716 * gdb.python/py-xmethods.exp
8717 * gdb.python/python.exp
8718 * gdb.reverse/break-precsave.exp
8719 * gdb.reverse/consecutive-precsave.exp
8720 * gdb.reverse/finish-precsave.exp
8721 * gdb.reverse/i386-precsave.exp
8722 * gdb.reverse/machinestate-precsave.exp
8723 * gdb.reverse/sigall-precsave.exp
8724 * gdb.reverse/solib-precsave.exp
8725 * gdb.reverse/step-precsave.exp
8726 * gdb.reverse/until-precsave.exp
8727 * gdb.reverse/watch-precsave.exp
8728 * gdb.server/ext-attach.exp
8729 * gdb.server/ext-restart.exp
8730 * gdb.server/ext-run.exp
8731 * gdb.server/ext-wrapper.exp
8732 * gdb.stabs/gdb11479.exp
8733 * gdb.stabs/weird.exp
8734 * gdb.threads/attach-many-short-lived-threads.exp
8735 * gdb.threads/kill.exp
8736 * gdb.threads/watchpoint-fork.exp
8737
bc6c7af4
LM
87382016-12-01 Luis Machado <lgustavo@codesourcery.com>
8739
8740 Fix test names starting with uppercase throughout all the files below.
8741
8742 * gdb.ada/array_return.exp
8743 * gdb.ada/catch_ex.exp
8744 * gdb.ada/info_exc.exp
8745 * gdb.ada/mi_catch_ex.exp
8746 * gdb.ada/mi_dyn_arr.exp
8747 * gdb.ada/mi_ex_cond.exp
8748 * gdb.ada/mi_exc_info.exp
8749 * gdb.ada/mi_interface.exp
8750 * gdb.ada/mi_task_arg.exp
8751 * gdb.ada/mi_task_info.exp
8752 * gdb.ada/mi_var_array.exp
8753 * gdb.arch/alpha-step.exp
8754 * gdb.arch/amd64-disp-step.exp
8755 * gdb.arch/arm-disp-step.exp
8756 * gdb.arch/disp-step-insn-reloc.exp
8757 * gdb.arch/e500-prologue.exp
8758 * gdb.arch/ftrace-insn-reloc.exp
8759 * gdb.arch/gdb1558.exp
8760 * gdb.arch/i386-bp_permanent.exp
8761 * gdb.arch/i386-disp-step.exp
8762 * gdb.arch/i386-float.exp
8763 * gdb.arch/i386-gnu-cfi.exp
8764 * gdb.arch/ia64-breakpoint-shadow.exp
8765 * gdb.arch/mips16-thunks.exp
8766 * gdb.arch/pa-nullify.exp
8767 * gdb.arch/powerpc-aix-prologue.exp
8768 * gdb.arch/powerpc-power.exp
8769 * gdb.arch/ppc-dfp.exp
8770 * gdb.arch/s390-tdbregs.exp
8771 * gdb.arch/spu-info.exp
8772 * gdb.arch/spu-ls.exp
8773 * gdb.arch/thumb-bx-pc.exp
8774 * gdb.base/advance.exp
8775 * gdb.base/annota-input-while-running.exp
8776 * gdb.base/arrayidx.exp
8777 * gdb.base/asmlabel.exp
8778 * gdb.base/async.exp
8779 * gdb.base/attach-wait-input.exp
8780 * gdb.base/auto-connect-native-target.exp
8781 * gdb.base/batch-preserve-term-settings.exp
8782 * gdb.base/bfp-test.exp
8783 * gdb.base/bigcore.exp
8784 * gdb.base/bp-permanent.exp
8785 * gdb.base/break-always.exp
8786 * gdb.base/break-fun-addr.exp
8787 * gdb.base/break-idempotent.exp
8788 * gdb.base/break-main-file-remove-fail.exp
8789 * gdb.base/break-probes.exp
8790 * gdb.base/break-unload-file.exp
8791 * gdb.base/break.exp
8792 * gdb.base/call-ar-st.exp
8793 * gdb.base/call-rt-st.exp
8794 * gdb.base/call-sc.exp
8795 * gdb.base/call-signal-resume.exp
8796 * gdb.base/call-strs.exp
8797 * gdb.base/callexit.exp
8798 * gdb.base/callfuncs.exp
8799 * gdb.base/catch-gdb-caused-signals.exp
8800 * gdb.base/catch-signal-siginfo-cond.exp
8801 * gdb.base/catch-syscall.exp
8802 * gdb.base/compare-sections.exp
8803 * gdb.base/cond-eval-mode.exp
8804 * gdb.base/condbreak-call-false.exp
8805 * gdb.base/consecutive-step-over.exp
8806 * gdb.base/cursal.exp
8807 * gdb.base/disabled-location.exp
8808 * gdb.base/disasm-end-cu.exp
8809 * gdb.base/display.exp
8810 * gdb.base/double-prompt-target-event-error.exp
8811 * gdb.base/dprintf-bp-same-addr.exp
8812 * gdb.base/dprintf-detach.exp
8813 * gdb.base/dprintf-next.exp
8814 * gdb.base/dprintf-non-stop.exp
8815 * gdb.base/dprintf-pending.exp
8816 * gdb.base/dso2dso.exp
8817 * gdb.base/ending-run.exp
8818 * gdb.base/enum_cond.exp
8819 * gdb.base/examine-backward.exp
8820 * gdb.base/exe-lock.exp
8821 * gdb.base/exec-invalid-sysroot.exp
8822 * gdb.base/execl-update-breakpoints.exp
8823 * gdb.base/execution-termios.exp
8824 * gdb.base/fileio.exp
8825 * gdb.base/fixsection.exp
8826 * gdb.base/foll-exec-mode.exp
8827 * gdb.base/foll-exec.exp
8828 * gdb.base/fork-running-state.exp
8829 * gdb.base/frame-args.exp
8830 * gdb.base/fullpath-expand.exp
8831 * gdb.base/func-ptr.exp
8832 * gdb.base/gcore-relro-pie.exp
8833 * gdb.base/gdb1090.exp
8834 * gdb.base/gdb1555.exp
8835 * gdb.base/global-var-nested-by-dso.exp
8836 * gdb.base/gnu-ifunc.exp
8837 * gdb.base/hbreak-in-shr-unsupported.exp
8838 * gdb.base/hbreak-unmapped.exp
8839 * gdb.base/hook-stop.exp
8840 * gdb.base/infcall-input.exp
8841 * gdb.base/info-fun.exp
8842 * gdb.base/info-shared.exp
8843 * gdb.base/interrupt-noterm.exp
8844 * gdb.base/jit-so.exp
8845 * gdb.base/jit.exp
8846 * gdb.base/line-symtabs.exp
8847 * gdb.base/list.exp
8848 * gdb.base/longjmp.exp
8849 * gdb.base/macscp.exp
8850 * gdb.base/max-value-size.exp
8851 * gdb.base/nodebug.exp
8852 * gdb.base/nofield.exp
8853 * gdb.base/overlays.exp
8854 * gdb.base/paginate-after-ctrl-c-running.exp
8855 * gdb.base/paginate-bg-execution.exp
8856 * gdb.base/paginate-inferior-exit.exp
8857 * gdb.base/pending.exp
8858 * gdb.base/pr11022.exp
8859 * gdb.base/printcmds.exp
8860 * gdb.base/ptr-typedef.exp
8861 * gdb.base/ptype.exp
8862 * gdb.base/randomize.exp
8863 * gdb.base/range-stepping.exp
8864 * gdb.base/realname-expand.exp
8865 * gdb.base/relativedebug.exp
8866 * gdb.base/remote.exp
8867 * gdb.base/savedregs.exp
8868 * gdb.base/sepdebug.exp
8869 * gdb.base/set-noassign.exp
8870 * gdb.base/shlib-call.exp
8871 * gdb.base/shreloc.exp
8872 * gdb.base/sigaltstack.exp
8873 * gdb.base/sigbpt.exp
8874 * gdb.base/siginfo-addr.exp
8875 * gdb.base/siginfo-obj.exp
8876 * gdb.base/siginfo-thread.exp
8877 * gdb.base/signest.exp
8878 * gdb.base/signull.exp
8879 * gdb.base/sigrepeat.exp
8880 * gdb.base/skip.exp
8881 * gdb.base/so-impl-ld.exp
8882 * gdb.base/solib-corrupted.exp
8883 * gdb.base/solib-disc.exp
8884 * gdb.base/solib-display.exp
8885 * gdb.base/solib-overlap.exp
8886 * gdb.base/solib-search.exp
8887 * gdb.base/solib-symbol.exp
8888 * gdb.base/source-execution.exp
8889 * gdb.base/sss-bp-on-user-bp-2.exp
8890 * gdb.base/sss-bp-on-user-bp.exp
8891 * gdb.base/stack-checking.exp
8892 * gdb.base/stale-infcall.exp
8893 * gdb.base/step-break.exp
8894 * gdb.base/step-line.exp
8895 * gdb.base/step-over-exit.exp
8896 * gdb.base/step-test.exp
8897 * gdb.base/structs.exp
8898 * gdb.base/sym-file.exp
8899 * gdb.base/symtab-search-order.exp
8900 * gdb.base/term.exp
8901 * gdb.base/type-opaque.exp
8902 * gdb.base/unload.exp
8903 * gdb.base/until-nodebug.exp
8904 * gdb.base/until.exp
8905 * gdb.base/unwindonsignal.exp
8906 * gdb.base/watch-cond.exp
8907 * gdb.base/watch-non-mem.exp
8908 * gdb.base/watch_thread_num.exp
8909 * gdb.base/watchpoint-reuse-slot.exp
8910 * gdb.base/watchpoint-solib.exp
8911 * gdb.base/watchpoint.exp
8912 * gdb.btrace/dlopen.exp
8913 * gdb.cell/arch.exp
8914 * gdb.cell/break.exp
8915 * gdb.cell/bt.exp
8916 * gdb.cell/core.exp
8917 * gdb.cell/data.exp
8918 * gdb.cell/dwarfaddr.exp
8919 * gdb.cell/ea-cache.exp
8920 * gdb.cell/ea-standalone.exp
8921 * gdb.cell/ea-test.exp
8922 * gdb.cell/f-regs.exp
8923 * gdb.cell/fork.exp
8924 * gdb.cell/gcore.exp
8925 * gdb.cell/mem-access.exp
8926 * gdb.cell/ptype.exp
8927 * gdb.cell/registers.exp
8928 * gdb.cell/sizeof.exp
8929 * gdb.cell/solib-symbol.exp
8930 * gdb.cell/solib.exp
8931 * gdb.compile/compile-tls.exp
8932 * gdb.cp/exception.exp
8933 * gdb.cp/gdb2495.exp
8934 * gdb.cp/local.exp
8935 * gdb.cp/mb-inline.exp
8936 * gdb.cp/mb-templates.exp
8937 * gdb.cp/pr10687.exp
8938 * gdb.cp/pr9167.exp
8939 * gdb.cp/scope-err.exp
8940 * gdb.cp/templates.exp
8941 * gdb.cp/virtfunc.exp
8942 * gdb.dwarf2/dw2-dir-file-name.exp
8943 * gdb.dwarf2/dw2-single-line-discriminators.exp
8944 * gdb.fortran/complex.exp
8945 * gdb.fortran/library-module.exp
8946 * gdb.guile/guile.exp
8947 * gdb.guile/scm-cmd.exp
8948 * gdb.guile/scm-frame-inline.exp
8949 * gdb.guile/scm-objfile.exp
8950 * gdb.guile/scm-pretty-print.exp
8951 * gdb.guile/scm-symbol.exp
8952 * gdb.guile/scm-type.exp
8953 * gdb.guile/scm-value.exp
8954 * gdb.linespec/keywords.exp
8955 * gdb.linespec/ls-errs.exp
8956 * gdb.linespec/macro-relative.exp
8957 * gdb.linespec/thread.exp
8958 * gdb.mi/mi-breakpoint-changed.exp
8959 * gdb.mi/mi-dprintf-pending.exp
8960 * gdb.mi/mi-fullname-deleted.exp
8961 * gdb.mi/mi-logging.exp
8962 * gdb.mi/mi-pending.exp
8963 * gdb.mi/mi-solib.exp
8964 * gdb.mi/new-ui-mi-sync.exp
8965 * gdb.mi/user-selected-context-sync.exp
8966 * gdb.multi/dummy-frame-restore.exp
8967 * gdb.multi/multi-arch-exec.exp
8968 * gdb.multi/remove-inferiors.exp
8969 * gdb.multi/watchpoint-multi-exit.exp
8970 * gdb.opt/solib-intra-step.exp
8971 * gdb.perf/backtrace.exp
8972 * gdb.perf/single-step.exp
8973 * gdb.perf/skip-command.exp
8974 * gdb.perf/skip-prologue.exp
8975 * gdb.perf/solib.exp
8976 * gdb.python/lib-types.exp
8977 * gdb.python/py-as-string.exp
8978 * gdb.python/py-bad-printers.exp
8979 * gdb.python/py-block.exp
8980 * gdb.python/py-breakpoint.exp
8981 * gdb.python/py-cmd.exp
8982 * gdb.python/py-events.exp
8983 * gdb.python/py-evthreads.exp
8984 * gdb.python/py-finish-breakpoint.exp
8985 * gdb.python/py-finish-breakpoint2.exp
8986 * gdb.python/py-frame-inline.exp
8987 * gdb.python/py-frame.exp
8988 * gdb.python/py-inferior.exp
8989 * gdb.python/py-infthread.exp
8990 * gdb.python/py-mi.exp
8991 * gdb.python/py-objfile.exp
8992 * gdb.python/py-pp-maint.exp
8993 * gdb.python/py-pp-registration.exp
8994 * gdb.python/py-prettyprint.exp
8995 * gdb.python/py-recurse-unwind.exp
8996 * gdb.python/py-shared.exp
8997 * gdb.python/py-symbol.exp
8998 * gdb.python/py-symtab.exp
8999 * gdb.python/py-template.exp
9000 * gdb.python/py-type.exp
9001 * gdb.python/py-unwind-maint.exp
9002 * gdb.python/py-unwind.exp
9003 * gdb.python/py-value.exp
9004 * gdb.python/python.exp
9005 * gdb.reverse/finish-reverse-bkpt.exp
9006 * gdb.reverse/insn-reverse.exp
9007 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9008 * gdb.reverse/solib-precsave.exp
9009 * gdb.reverse/solib-reverse.exp
9010 * gdb.stabs/gdb11479.exp
9011 * gdb.stabs/weird.exp
9012 * gdb.threads/fork-child-threads.exp
9013 * gdb.threads/fork-plus-threads.exp
9014 * gdb.threads/fork-thread-pending.exp
9015 * gdb.threads/forking-threads-plus-breakpoint.exp
9016 * gdb.threads/hand-call-in-threads.exp
9017 * gdb.threads/interrupted-hand-call.exp
9018 * gdb.threads/linux-dp.exp
9019 * gdb.threads/local-watch-wrong-thread.exp
9020 * gdb.threads/next-while-other-thread-longjmps.exp
9021 * gdb.threads/non-ldr-exit.exp
9022 * gdb.threads/pending-step.exp
9023 * gdb.threads/print-threads.exp
9024 * gdb.threads/process-dies-while-detaching.exp
9025 * gdb.threads/process-dies-while-handling-bp.exp
9026 * gdb.threads/pthreads.exp
9027 * gdb.threads/queue-signal.exp
9028 * gdb.threads/reconnect-signal.exp
9029 * gdb.threads/signal-command-handle-nopass.exp
9030 * gdb.threads/signal-command-multiple-signals-pending.exp
9031 * gdb.threads/signal-delivered-right-thread.exp
9032 * gdb.threads/signal-sigtrap.exp
9033 * gdb.threads/sigthread.exp
9034 * gdb.threads/staticthreads.exp
9035 * gdb.threads/stepi-random-signal.exp
9036 * gdb.threads/thread-unwindonsignal.exp
9037 * gdb.threads/thread_check.exp
9038 * gdb.threads/thread_events.exp
9039 * gdb.threads/tid-reuse.exp
9040 * gdb.threads/tls-nodebug.exp
9041 * gdb.threads/tls-shared.exp
9042 * gdb.threads/tls-so_extern.exp
9043 * gdb.threads/tls.exp
9044 * gdb.threads/wp-replication.exp
9045 * gdb.trace/actions-changed.exp
9046 * gdb.trace/actions.exp
9047 * gdb.trace/backtrace.exp
9048 * gdb.trace/change-loc.exp
9049 * gdb.trace/collection.exp
9050 * gdb.trace/deltrace.exp
9051 * gdb.trace/disconnected-tracing.exp
9052 * gdb.trace/entry-values.exp
9053 * gdb.trace/ftrace-lock.exp
9054 * gdb.trace/ftrace.exp
9055 * gdb.trace/infotrace.exp
9056 * gdb.trace/mi-trace-frame-collected.exp
9057 * gdb.trace/mi-trace-unavailable.exp
9058 * gdb.trace/mi-traceframe-changed.exp
9059 * gdb.trace/mi-tracepoint-changed.exp
9060 * gdb.trace/mi-tsv-changed.exp
9061 * gdb.trace/no-attach-trace.exp
9062 * gdb.trace/packetlen.exp
9063 * gdb.trace/passc-dyn.exp
9064 * gdb.trace/passcount.exp
9065 * gdb.trace/pending.exp
9066 * gdb.trace/pr16508.exp
9067 * gdb.trace/qtro.exp
9068 * gdb.trace/range-stepping.exp
9069 * gdb.trace/read-memory.exp
9070 * gdb.trace/report.exp
9071 * gdb.trace/save-trace.exp
9072 * gdb.trace/signal.exp
9073 * gdb.trace/stap-trace.exp
9074 * gdb.trace/status-stop.exp
9075 * gdb.trace/strace.exp
9076 * gdb.trace/tfile.exp
9077 * gdb.trace/tfind.exp
9078 * gdb.trace/trace-break.exp
9079 * gdb.trace/trace-condition.exp
9080 * gdb.trace/trace-enable-disable.exp
9081 * gdb.trace/trace-mt.exp
9082 * gdb.trace/tracecmd.exp
9083 * gdb.trace/tracefile-pseudo-reg.exp
9084 * gdb.trace/tspeed.exp
9085 * gdb.trace/tstatus.exp
9086 * gdb.trace/tsv.exp
9087 * gdb.trace/unavailable.exp
9088 * gdb.trace/while-dyn.exp
9089 * gdb.trace/while-stepping.exp
9090 * lib/gdb-guile.exp
9091 * lib/gdb.exp
9092 * lib/mi-support.exp
9093 * lib/pascal.exp
9094 * lib/perftest.exp
9095 * lib/prelink-support.exp
9096 * lib/selftest-support.exp
9097
ad02e4fe
SM
90982016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9099
9100 * Makefile.in: Include disable-implicit-rules.mk.
9101
22347e55
AA
91022016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9103
9104 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9105 non-byte-aligned bit fields.
9106
da5b30da
AA
91072016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9108
9109 PR gdb/12616
9110 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9111 respects the DW_AT_data_bit_offset attribute.
9112
b593ecca
SM
91132016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9114
9115 * gdb.base/default.exp: Fix output of "set language".
9116
3b165252
SM
91172016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9118
9119 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9120 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9121 make.
9122 * configure.ac: Remove checks for the make program.
9123 * configure: Re-generate.
9124
1a2f3d7f
KB
91252016-11-16 Kevin Buettner <kevinb@redhat.com>
9126
9127 * gdb.python/py-recurse-unwind.c (main): Add loop.
9128 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9129 to read_register() and gdb.parse_and_eval(). Make each code
9130 call a separate case that can be individually tested.
9131 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9132 proc. Call cont_and_backtrace for each of the code paths that
9133 we want to test in the unwinder.
9134
b7f38fda
AA
91352016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9136
9137 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9138 the definition of struct S.
9139
1f8db343
CM
91402016-11-11 Catherine Moore <clm@codesourcery.com>
9141
9142 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9143
fad0c9fb
PA
91442016-11-09 Pedro Alves <palves@redhat.com>
9145
9146 * gdb.base/commands.exp (runto_or_return): New procedure.
9147 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9148 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9149 (progvar_simple_while_test, progvar_complex_if_while_test)
9150 (if_while_breakpoint_command_test)
9151 (infrun_breakpoint_command_test, breakpoint_command_test)
9152 (user_defined_command_test, watchpoint_command_test)
9153 (test_command_prompt_position, redefine_hook_test)
9154 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9155 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9156 multi_line_input and multi_line. Remove gdb_expect and
9157 gdb_stop_suppressing_tests uses.
9158 * lib/gdb.exp (valnum_re): New global.
9159 (multi_line_input): New procedure.
9160
8354c62c
SM
91612016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9162
9163 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9164 Remove.
9165 (test_setup): Define with proc_with_prefix.
9166 (test_cli_inferior): Likewise.
9167 (test_cli_thread): Likewise.
9168 (test_cli_frame): Likewise.
9169 (test_cli_select_frame): Likewise.
9170 (test_cli_up_down): Likewise.
9171 (test_mi_thread_select): Likewise.
9172 (test_mi_stack_select_frame): Likewise.
9173 (test_cli_in_mi_inferior): Likewise.
9174 (test_cli_in_mi_thread): Likewise.
9175 (test_cli_in_mi_frame): Likewise.
9176 (top level): Do not use with_test_prefix_procname.
9177
64f367a2
PA
91782016-11-09 Pedro Alves <palves@redhat.com>
9179
9180 * gdb.base/commands.exp (gdbvar_simple_if_test)
9181 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9182 (progvar_simple_if_test, progvar_simple_while_test)
9183 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9184 (infrun_breakpoint_command_test, breakpoint_command_test)
9185 (user_defined_command_test, watchpoint_command_test)
9186 (test_command_prompt_position, deprecated_command_test)
9187 (bp_deleted_in_command, temporary_breakpoint_commands)
9188 (stray_arg0_test, source_file_with_indented_comment)
9189 (recursive_source_test, if_commands_test)
9190 (error_clears_commands_left, redefine_hook_test)
9191 (redefine_backtrace_test): Use proc_with_prefix.
9192 * lib/gdb.exp (proc_with_prefix): New proc.
9193
0bb65f1e
AA
91942016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9195
9196 * gdb.base/tui-layout.c: New file.
9197 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9198 disassembly window contains very long lines.
9199
7353f247
TT
92002016-11-08 Tom Tromey <tom@tromey.com>
9201
9202 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9203 depend on Python 2.
9204
30a7bb83
TT
92052016-11-08 Tom Tromey <tom@tromey.com>
9206
9207 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9208 New method.
9209
cdf5a07c
MG
92102016-10-29 Manish Goregaokar <manish@mozilla.com>
9211
2806dc7e 9212 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 9213
51a789c3
MG
92142016-10-27 Manish Goregaokar <manish@mozilla.com>
9215
2806dc7e
PA
9216 * gdb.rust/simple.rs: Add test for univariant enums without
9217 discriminants and for encoded struct-like enums.
51a789c3 9218
f610ab6d
PA
92192016-10-28 Pedro Alves <palves@redhat.com>
9220
9221 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9222 gdb_test_multiple, tighten regexps and match symtabs and line
9223 tables incrementally.
9224
b129b0ca
LM
92252016-10-28 Luis Machado <lgustavo@codesourcery.com>
9226
9227 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9228 general.
9229
ecf45d2c
SL
92302016-10-25 Luis Machado <lgustavo@codesourcery.com>
9231
9232 * gdb.base/exec-invalid-sysroot.exp: New file.
9233
b8d38ee4
JK
92342016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9235
9236 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9237
f90fd8c2
JK
92382016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9239
9240 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9241
2d2476aa
MR
92422016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9243
2806dc7e
PA
9244 * gdb.base/killed-outside.exp: Remove $options from a call to
9245 `prepare_for_testing'.
2d2476aa 9246
e42b25a0
SM
92472016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9248
9249 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9250 Change test message.
9251
3ccdb432
SM
92522016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9253
9254 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9255 Update comment.
9256
5bad3170
SM
92572016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9258
9259 * gdb.trace/mi-trace-save.exp: New file.
9260
5ad9dba7
YQ
92612016-10-13 Yao Qi <yao.qi@linaro.org>
9262
9263 * gdb.base/code_elim.exp (get_var_address): Remove.
9264 * gdb.base/relocate.exp: Likewise.
9265 * gdb.base/shreloc.exp: Likewise.
9266 * lib/gdb.exp (get_var_address): New.
9267
62df7e21
YQ
92682016-10-13 Yao Qi <yao.qi@linaro.org>
9269
9270 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9271 floating point tests if $skip_float_test is false.
9272
4dac951e
LM
92732016-10-12 Luis Machado <lgustavo@codesourcery.com>
9274
9275 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9276 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9277 argc values.
9278 Add 1 to argc so we guarantee distinct initial/modified argc values.
9279
8f1a8fc4
JK
92802016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9281
9282 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9283
16c85b5d
JK
92842016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9285
9286 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9287 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9288 * gdb.arch/vsx-regs.exp: Likewise.
9289
1d0e042a
YQ
92902016-10-07 Yao Qi <yao.qi@linaro.org>
9291
9292 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9293
68dadef5
MM
92942016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9295
9296 * gdb.python/python.exp: Test decode_line("*0").
9297
33fa2c6e
DE
92982016-10-06 Doug Evans <dje@google.com>
9299
9300 * gdb.python/py-value.exp (test_value_creation): Add test for large
9301 unsigned 64-bit value.
9302
9c37b5ae
TT
93032016-10-06 Tom Tromey <tom@tromey.com>
9304
9305 * gdb.compile/compile.exp: Change java tests to rust.
9306 * gdb.base/setshow.exp: Change java tests to rust.
9307 * gdb.base/default.exp: Remove java from language list.
9308 * README (Examples): Update language example.
9309 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9310 test.
9311 * lib/gdb.exp (skip_java_tests): Remove.
9312 * lib/java.exp: Remove.
9313 * gdb.java: Remove.
9314
78b86327
MR
93152016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9316
9317 * gdb.arch/mips-fcr.exp: New test.
9318 * gdb.arch/mips-fcr.c: Source for the new test.
9319
7470adbb
MR
93202016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9321
9322 * gdb.base/solib-disc.exp: Use `standard_output_file'
9323 throughout.
9324
4a556533
PA
93252016-10-06 Pedro Alves <palves@redhat.com>
9326
9327 * gdb.base/jit-simple-dl.c: New file.
9328 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9329 * gdb.base/jit-simple.c: ... this.
9330 * gdb.base/jit-simple.exp (jit_run): Delete.
9331 (build_jit): New proc.
9332 (jit_test_reread): Recompile either the main program or the shared
9333 library, depending on what is being tested. Skip changing address
9334 if caller wants to. Compare before/after addresses. If testing
9335 standalone, explicitly load the binary. Test "maint info
9336 breakpoints".
9337 (top level): Add "standalone vs shared lib" and "change address"
9338 vs "same address" axes.
9339
5a122fbc
PA
93402016-10-06 Pedro Alves <palves@redhat.com>
9341
9342 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9343 call.
9344 (jit_run): Delete.
9345 (jit_test_reread): Use with_test_prefix. Reload the main binary
9346 explicitly. Compare the before/after addresses of the JIT
9347 descriptor.
9348
ee8da4b8
DE
93492016-08-15 Doug Evans <dje@google.com>
9350
9351 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9352 for single bitfields is bool.
9353 * gdb.xml/tdesc-regs.exp: Ditto.
9354
f389f6fe
JK
93552016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9356
9357 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9358
fdebf1a4
YQ
93592016-10-05 Yao Qi <yao.qi@linaro.org>
9360
9361 * lib/gdb.exp (support_complex_tests): Return zero if
9362 gdb_skip_float_test return true.
9363
9c36d954 93642016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9365 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
9366
9367 PR gdb/20487
9368 * gdb.mi/user-selected-context-sync.exp: New file.
9369 * gdb.mi/user-selected-context-sync.c: New file.
9370
4034d0ff 93712016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9372 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
9373
9374 PR gdb/20487
9375 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9376 =thread-select-event check.
9377
a4297203
PB
93782016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9379
9380 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9381 the compulsory L operand changes.
9382 * gdb.arch/powerpc-power.s: Likewise.
9383
bb805577
JK
93842016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9385
9386 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9387 * gdb.base/jit-attach-pie.c: New file.
9388 * gdb.base/jit-attach-pie.exp: New file.
9389
6d61dee5
PA
93902016-09-28 Pedro Alves <palves@redhat.com>
9391
9392 * gdb.base/infcall-input.c: New file.
9393 * gdb.base/infcall-input.exp: New file.
9394
f73842fc
YQ
93952016-09-22 Yao Qi <yao.qi@linaro.org>
9396
9397 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9398 (gdb_exit): Rename it to ...
9399 (gdbserver_gdb_exit): ... Close GDBserver.
9400 (gdb_exit): New proc, call gdbserver_gdb_exit.
9401 (mi_gdb_exit): Likewise.
9402
90681dab
YQ
94032016-09-22 Yao Qi <yao.qi@linaro.org>
9404
9405 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9406 path.
9407 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9408 Remove duplication.
9409
9c211fd8
YQ
94102016-09-22 Yao Qi <yao.qi@linaro.org>
9411
9412 * lib/gdbserver-support.exp: Check the existence of
9413 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9414
ad0a504f
AK
94152016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9416
9417 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9418
36cf1806
TT
94192016-09-21 Tom Tromey <tom@tromey.com>
9420
9421 PR gdb/20604:
9422 * gdb.base/quit.exp: New file.
9423
74172ecf
SM
94242016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9425
9426 * .gitignore: New file.
9427
3d0ec882
MR
94282016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9429
9430 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9431 throughout.
9432
8193adea
AA
94332016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9434
9435 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9436
d41a5c09
JK
94372016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9438
9439 * gdb.cp/casts.cc (decltype): Move it ...
9440 (main): ... with its call to ...
9441 * gdb.cp/casts03.cc: ... a new file.
9442 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9443
d2dfe700
JK
94442016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9445
9446 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9447
e2a92b16
PB
94482016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9449
9450 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9451 and sync up the test with tests in gas/testsuite/gas/ppc.
9452 * gdb.arch/powerpc-power.exp: Likewise.
9453
49b4de64
JK
94542016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9455
9456 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9457
2c29df25
SDJ
94582016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9459 Jan Kratochvil <jan.kratochvil@redhat.com>
9460
9461 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9462 make m1's definition to be different from m2's. Use 'dummy' as an
9463 argument for probe 'two'.
9464
cc3c2846
JB
94652016-09-10 Jon Beniston <jon@beniston.com>
9466
9467 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9468 for sim target.
9469
e1b2624a
AA
94702016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9471
9472 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9473 variable declaration.
9474 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9475 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9476 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9477 received HWCAP as its argument.
9478
4295e285
PA
94792016-09-06 Pedro Alves <palves@redhat.com>
9480
9481 * gdb.base/new-ui-pending-input.c: New file.
9482 * gdb.base/new-ui-pending-input.exp: New file.
9483 * gdb.exp (clear_gdb_spawn_id): New procedure.
9484 (with_spawn_id): Check whether gdb_spawn_id exists before
9485 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9486 on exit.
9487
00d5215e
UW
94882016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9489
9490 * gdb.base/float128.c: New file.
9491 * gdb.base/float128.exp: Likewise.
9492 * gdb.base/floatn.c: Likewise.
9493 * gdb.base/floatn.exp: Likewise.
9494
a9ff5f12
UW
94952016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9496
9497 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9498
f245535c
PA
94992016-09-05 Pedro Alves <palves@redhat.com>
9500
9501 PR backtrace/19927
9502 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9503 unwinders are immediately called as side effect of "source" or
9504 "disable unwinder" commands.
9505 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9506
ae9cf263
YQ
95072016-09-02 Yao Qi <yao.qi@linaro.org>
9508
9509 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9510 is true and $type is "float" or "double".
9511
27aba047
YQ
95122016-09-02 Yao Qi <yao.qi@linaro.org>
9513
9514 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9515 true.
9516 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9517 * gdb.base/call-rt-st.exp: Likewise.
9518 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9519 return value instead of gdb,skip_float_test.
9520 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9521 (do_function_calls): Use its return value instead of
9522 gdb,skip_float_test.
9523 * gdb.base/finish.exp: Likewise.
9524 * gdb.base/funcargs.exp: Likewise.
9525 * gdb.base/return.exp: Likewise.
9526 * gdb.base/return2.exp: Likewise.
9527 * gdb.base/varargs.exp: Likewise.
9528 * lib/gdb.exp (gdb_skip_float_test): Change it to
9529 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9530
5af962df
AA
95312016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9532
9533 * gdb.multi/tids.exp: Test "thread apply all".
9534
7fac6910
JK
95352016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9536
9537 * gdb.base/default.exp (tty): Remove.
9538
bb1fe4ac
KB
95392016-08-24 Kevin Buettner <kevinb@redhat.com>
9540
2806dc7e
PA
9541 * gdb.python/py-recurse-unwind.c: New file.
9542 * gdb.python/py-recurse-unwind.py: New file.
9543 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 9544
0a1ddfa6
SM
95452016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9546
9547 * gdb.base/set-inferior-tty.exp: New file.
9548 * gdb.base/set-inferior-tty.c: New file.
9549
d9de1fe3
PA
95502016-08-23 Pedro Alves <palves@redhat.com>
9551
9552 PR gdb/20494
9553 * gdb.base/new-ui-echo.c: New file.
9554 * gdb.base/new-ui-echo.exp: New file.
9555
e9d9abd7
YQ
95562016-08-23 Yao Qi <yao.qi@linaro.org>
9557
9558 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9559 gdbserver_spawn.
9560 * gdb.server/connect-without-multi-process.exp (do_test):
9561 Likewise.
9562
3589529e
YQ
95632016-08-23 Yao Qi <yao.qi@linaro.org>
9564
9565 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9566 standalone_txt. Delete gdb_txt and standalone_txt on host
9567 and target. Spawn the binary on target. Copy files from
9568 target to host.
9569
6bb90213
PA
95702016-08-22 Pedro Alves <palves@redhat.com>
9571
9572 PR gdb/20505
9573 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9574 with_test_prefix. Factor out bits to ...
9575 (test_no_vdso): ... this new procedure.
9576
20c2c024
CL
95772016-08-19 Carl Love <cel@us.ibm.com>
9578
9579 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9580 maintaining separate logic for constructing the output path.
9581 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9582 * gdb.arch/ppc-dfp.exp: Likewise.
9583 * gdb.arch/ppc-fp.exp: Likewise.
9584 * gdb.arch/vsx-regs.exp: Likewise.
9585 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9586 binprefix for generating the additional binary files.
9587
0646e07d
PA
95882016-08-19 Pedro Alves <palves@redhat.com>
9589
9590 * gdb.trace/mi-trace-frame-collected.exp
9591 (test_trace_frame_collected): On x32, expect two registers.
9592
46da9242
CL
95932016-08-18 Carl Love <cel@us.ibm.com>
9594
9595 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9596 and sync up the test with tests in gas/testsuite/gas/ppc.
9597 * gdb.arch/powerpc-power.exp: Likewise.
9598
eb2332d7
SM
95992016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9600
9601 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9602 expected error message.
9603
63c61e04
SM
96042016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9605
9606 * gdb.multi/remove-inferiors.exp: New file.
9607 * gdb.multi/remove-inferiors.c: New file.
9608
7b17065f
YQ
96092016-08-12 Yao Qi <yao.qi@linaro.org>
9610
9611 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9612 argument list.
9613
01d3dedf
PA
96142016-08-10 Pedro Alves <palves@redhat.com>
9615
9616 PR gdb/19187
9617 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9618 setup_kfails.
9619
3eb7562a
PA
96202016-08-09 Pedro Alves <palves@redhat.com>
9621 Simon Marchi <simon.marchi@ericsson.com>
9622
9623 PR gdb/20418
9624 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9625 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9626
80614914
PA
96272016-08-09 Pedro Alves <palves@redhat.com>
9628
9629 PR mi/20431
9630 * gdb.mi/mi-cmd-error.exp: New file.
9631
f348d89a
PA
96322016-08-09 Pedro Alves <palves@redhat.com>
9633
9634 PR gdb/18653
9635 * gdb.base/signals-state-child.c: New file.
9636 * gdb.base/signals-state-child.exp: New file.
9637 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9638
e5ca03b4
PA
96392016-08-09 Pedro Alves <palves@redhat.com>
9640
9641 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9642
282a0691
TT
96432016-08-03 Tom Tromey <tom@tromey.com>
9644
9645 PR python/18565:
9646 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9647
41bfcd63
YQ
96482016-08-01 Yao Qi <yao.qi@linaro.org>
9649
9650 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9651 variable mode to "multi-process" if $multi_process is 1, otherwise
9652 set it to "single-process".
9653
e3465b24
YQ
96542016-08-01 Yao Qi <yao.qi@linaro.org>
9655
9656 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9657 * gdb.cp/cpexprs.exp: Likewise.
9658 * gdb.cp/m-static.exp: Likewise.
9659
0b31a4bc
TT
96602016-07-26 Tom Tromey <tom@tromey.com>
9661
9662 PR python/20190:
9663 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9664 test.
9665
e0461dbb
MM
96662016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9667
9668 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9669 selecting assembly source files.
9670 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9671 assembly source files.
9672 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9673 assembly source files.
9674 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9675 selecting assembly source files.
9676
8194e927
SM
96772016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9678
9679 * gdb.base/new-ui.exp (do_test_invalid_args): New
9680 procedure.
9681
c0272db5
TW
96822016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9683
9684 * gdb.btrace/reconnect.c: New file.
9685 * gdb.btrace/reconnect.exp: New file.
9686
e3487908
GKB
96872016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9688
9689 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9690 to test_catch_syscall_group.
9691 (test_catch_syscall_group): New.
9692
12df5c00
TT
96932016-07-21 Tom Tromey <tom@tromey.com>
9694
9695 * gdb.rust/simple.rs (main): Use empty struct expression.
9696 * gdb.rust/simple.exp: Add tests for empty struct expression.
9697
bae62ee2
YQ
96982016-07-21 Yao Qi <yao.qi@linaro.org>
9699
9700 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9701 if gdb_skip_xml_test is true on some targets.
9702
b1b53fb3
YQ
97032016-07-21 Yao Qi <yao.qi@linaro.org>
9704
9705 * gdb.server/solib-list.exp: Unset last_loaded_file.
9706
027d97f8
JK
97072016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9708
9709 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9710 "step into captured_main (args)".
9711
7674d381
JK
97122016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9713
9714 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9715
72b5d099
JK
97162016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9717
9718 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9719
1f960ced
PA
97202016-07-19 Pedro Alves <palves@redhat.com>
9721
9722 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9723 * gdb.opt/inline-bt.exp: Likewise.
9724 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9725 additional_flags=-Winline.
9726 * gdb.opt/inline-locals.exp: Likewise.
9727 * gdb.opt/inline-markers.c (ATTR): Define.
9728 (inlined_fn): Use it.
9729
f25827c1
YQ
97302016-07-19 Yao Qi <yao.qi@linaro.org>
9731
9732 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9733 (test_with_self): Remove some code. Remove argument executable.
9734 (top-level): Use do_self_tests.
9735
37539ebe
DB
97362016-07-15 Zachary Welch <zwelch@codesourcery.com>
9737 Don Breazeal <donb@codesourcery.com>
9738
9739 * gdb.base/maint.exp: Escape paths used in regular expressions.
9740 * gdb.stabs/weird.exp: Likewise.
9741
dac790e1
TT
97422016-07-13 Tom Tromey <tom@tromey.com>
9743
9744 PR python/15620, PR python/18620:
9745 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9746 (test_bkpt_events): New procs.
9747
93daf339
TT
97482016-07-13 Tom Tromey <tom@tromey.com>
9749
9750 PR python/17698:
9751 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9752 test.
9753 (test_watchpoints): Likewise.
9754 (test_bkpt_pending): New proc.
9755
6571a381
TT
97562016-07-13 Tom Tromey <tom@tromey.com>
9757
9758 PR cli/18053:
9759 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9760 completion test.
9761
e8732474
JK
97622016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9763
9764 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9765 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9766 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9767 f_label.
9768 (g): Rename g_end_lbl to g_label.
9769 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9770 low_pc and high_pc.
9771 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9772
e0f3fd7c
TT
97732016-07-12 Tom Tromey <tom@tromey.com>
9774
9775 PR python/19293:
9776 * gdb.python/py-unwind-maint.exp: Update tests.
9777
3cfe46b6
YQ
97782016-07-12 Yao Qi <yao.qi@linaro.org>
9779
9780 * lib/selftest-support.exp (selftest_setup): Match the output
9781 when captured_main is inlined.
9782
4f19a0e6
WT
97832016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9784
9785 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9786 New variables.
9787 (print this%a, print this%b, print this): New tests.
9788 * gdb.fortran/derived-types.f90 (this): New object and
9789 initialization.
9790
986cf455
SM
97912016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9792
9793 * gdb.ada/arraydim.exp: Remove extra directory level in build
9794 directory.
9795
f0464b23
SM
97962016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9797
9798 * lib/ada.exp: Remove extra directory level in build directory.
9799 * gdb.ada/cond_lang.exp: Likewise.
9800 * gdb.ada/exec_changed.exp: Likewise.
9801 * gdb.ada/lang_switch.exp: Likewise.
9802
42d94011
MG
98032016-07-06 Manish Goregaokar <manish@mozilla.com>
9804
2806dc7e
PA
9805 * simple.rs: Add test for raw pointer subscripting.
9806 * simple.exp: Add test expectations.
42d94011 9807
647c264c
YQ
98082016-07-05 Yao Qi <yao.qi@linaro.org>
9809
9810 * gdb.mi/mi-reverse.exp: Match =record-started output.
9811
20aa2c60
PA
98122016-07-01 Pedro Alves <palves@redhat.com>
9813
9814 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9815 procedure.
9816 (jit_reader_test): Test the jit reader's unwinder.
9817 * gdb.base/jithost.c (jit_function_00_code): New global.
9818 (main): Use memcpy to fill in the mmapped code, instead of poking
9819 bytes manually here.
9820 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9821 value.
9822 (read_debug_info): Save the function's range.
9823 (read_sp): New function.
9824 (unwind_frame): Use it. Also unwind RBP.
9825 (get_frame_id): Use read_sp.
9826 (gdb_init_reader): Use calloc instead of malloc.
9827 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9828 parameter. Use gdb_test_multiple.
9829
ced2dffb
PA
98302016-07-01 Pedro Alves <palves@redhat.com>
9831 Antoine Tremblay <antoine.tremblay@ericsson.com>
9832
9833 * gdb.threads/process-dies-while-detaching.c: New file.
9834 * gdb.threads/process-dies-while-detaching.exp: New file.
9835
63000888
PA
98362016-07-01 Pedro Alves <palves@redhat.com>
9837
9838 * gdb.multi/watchpoint-multi-exit.c: New file.
9839 * gdb.multi/watchpoint-multi-exit.exp: New file.
9840
038d4868
PA
98412016-06-30 Pedro Alves <palves@redhat.com>
9842
9843 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9844 unset inferior_spawn_id.
9845
994e9c83
PA
98462016-06-30 Pedro Alves <palves@redhat.com>
9847
9848 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9849 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9850
e5653468
YQ
98512016-06-29 Yao Qi <yao.qi@linaro.org>
9852
9853 * gdb.base/return.c: Add copyright header.
9854
803b47e5
TT
98552016-06-29 Tom Tromey <tom@tromey.com>
9856
9857 PR python/20129:
9858 * gdb.python/py-framefilter.exp: Add tests for setting priority
9859 and disabling of non-existent frame filter.
9860
28244707
YQ
98612016-06-29 Yao Qi <yao.qi@linaro.org>
9862
9863 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9864 0x0f07ff.
9865
a31d2f06
YQ
98662016-06-28 Yao Qi <yao.qi@linaro.org>
9867
9868 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9869 triplets. Start gdb, execute catch syscall, and continue. Check
9870 gdb's output to determine catch syscall is supported.
9871
921d8f54
MG
98722016-06-27 Manish Goregaokar <manish@mozilla.com>
9873
25d49b86
PA
9874 * gdb.rust/simple.rs: Add test for returning unit in a function.
9875 * gdb.rust/simple.exp: Add expectation for functions returning
9876 unit.
921d8f54 9877
f4952523
PMR
98782016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9879
9880 * gdb.python/py-breakpoint-create-fail.c,
9881 gdb.python/py-breakpoint-create-fail.exp,
9882 gdb.python/py-breakpoint-create-fail.py: New testcase.
9883
fccb08f8
MG
98842016-06-25 Manish Goregaokar <manish@mozilla.com>
9885
9886 PR gdb/20239
9887 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
9888 * gdb.rust/simple.exp: Add test expectations for new NonZero
9889 tests.
fccb08f8 9890
6b850546
DT
98912016-06-24 David Taylor <dtaylor@emc.com>
9892
9893 * gdb.base/offsets.exp: New file.
9894 * gdb.base/offsets.c: New file.
9895
17621150
TT
98962016-06-23 Tom Tromey <tom@tromey.com>
9897
9898 PR gdb/16483:
9899 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9900 before any filters are loaded.
9901
04d59df6
WT
99022016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9903
9904 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9905 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9906 structs.
9907 * gdb.fortran/derived-type-function.exp: New file.
9908 * gdb.fortran/derived-type-function.f90: New file.
9909
9910
ac69f786
PA
99112016-06-21 Pedro Alves <palves@redhat.com>
9912
9913 * gdb.base/new-ui.exp: New file.
9914 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9915 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9916 (with_spawn_id): New procedure.
9917
49940788
PA
99182016-06-21 Pedro Alves <palves@redhat.com>
9919
9920 * gdb.mi/mi-exec-run.exp: New file.
9921
ef274d26
PA
99222016-06-21 Pedro Alves <palves@redhat.com>
9923
9924 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9925 breakpoint command's output on the main UI.
9926 (test_break): New procedure, factored out from calls in the top
9927 level.
9928 (top level): Use foreach_with_prefix to test MI as main UI and as
9929 separate UI.
9930
468afe6c
PA
99312016-06-21 Pedro Alves <palves@redhat.com>
9932
9933 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9934 (test_awatch_creation_and_listing)
9935 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9936 Remove 'type' parameter.
9937 (test_watchpoint_all): New parameter mi_mode. Remove
9938 with_test_prefix.
9939 (top level): Use foreach_with_prefix, and add main/separate UI MI
9940 testing axis.
9941
51f77c37
PA
99422016-06-21 Pedro Alves <palves@redhat.com>
9943
9944 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9945 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9946 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9947 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9948 (gdb_main_spawn_id, mi_spawn_id): Declare and
9949 comment.
9950 (mi_create_inferior_pty): New procedure,
9951 factored out from default_mi_gdb_start.
9952 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9953 procedures.
9954 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9955 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9956 Use mi_create_inferior_pty.
9957 (mi_gdb_start): Use eval to pass down args list.
9958
8980e177
PA
99592016-06-21 Pedro Alves <palves@redhat.com>
9960
9961 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9962 * gdb.opt/inline-cmds.exp: Add MI tests.
9963
f38d3ad1
PA
99642016-06-21 Pedro Alves <palves@redhat.com>
9965
9966 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9967
45db7c09
PA
99682016-06-21 Pedro Alves <palves@redhat.com>
9969
9970 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9971 (top level): Use it instead of mi_execute_to.
9972
5a069ab3
PA
99732016-06-21 Pedro Alves <palves@redhat.com>
9974
9975 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9976 (cont_handler_str): New.
9977 (signal_stop_handler): Set stop_handler_str instead of printing to
9978 stdout.
9979 (continue_handler): Set cont_handler_str instead of printing to
9980 stdout.
9981 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9982 mi_send_resuming_command. Print stop_handler_str and
9983 cont_handler_str instead of expecting the python events print
9984 directly.
9985
2838cc1d
SD
99862016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9987
9988 * gdb.base/jit-reader.exp: New file.
9989 * gdb.base/jithost.c: New file.
9990 * gdb.base/jithost.h: New file.
9991 * gdb.base/jitreader.c : New file.
9992 * gdb.base/jit-protocol.h: New file.
9993
21a77091
YQ
99942016-06-17 Yao Qi <yao.qi@linaro.org>
9995
9996 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9997 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9998 and detach-on-fork. Adjust tests.
9999 (top level): Invoke break_cond_on_syscall with combinations of
10000 syscall, follow-fork-mode and detach-on-fork.
10001
f50bf8e5
YQ
100022016-06-17 Yao Qi <yao.qi@linaro.org>
10003
10004 * gdb.base/step-over-exit.c: New.
10005 * gdb.base/step-over-exit.exp: New.
10006
a28d8e50
YTL
100072016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10008
10009 * gdb.base/float.exp: Add target check for nds32*-*-*.
10010 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10011
cad8e26d
AB
100122016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10013
10014 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10015 for unsupported target features.
10016 * gdb.base/call-rt-st.exp: Likewise.
10017 * gdb.base/call-sc.exp: Likewise.
10018 * gdb.base/call-signal-resume.exp: Likewise.
10019 * gdb.base/call-strs.exp: Likewise.
10020 * gdb.base/callexit.exp: Likewise.
10021 * gdb.base/callfuncs.exp: Likewise.
10022 * gdb.base/nodebug.exp: Likewise.
10023 * gdb.base/printcmds.exp: Likewise.
10024 * gdb.base/ptype.exp: Likewise.
10025 * gdb.base/structs.exp: Likewise.
10026 * gdb.base/unwindonsignal.exp: Likewise.
10027 * gdb.cp/gdb2495.exp: Likewise.
10028 * gdb.cp/templates.exp: Likewise.
10029 * gdb.cp/virtfunc.exp: Likewise.
10030 * gdb.threads/hand-call-in-threads.exp: Likewise.
10031 * gdb.threads/interrupted-hand-call.exp: Likewise.
10032 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10033
347dc102
TT
100342016-06-10 Tom Tromey <tom@tromey.com>
10035
10036 PR rust/20110:
10037 * gdb.rust/expr.exp: Add test for integer constant larger than
10038 i32.
10039
5e13cf25
BH
100402016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10041
10042 * gdb.fortran/nested-funcs.exp: New.
10043 * gdb.fortran/nested-funcs.f90: New.
10044
bb556f1f
TK
100452016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10046
10047 * gdb.base/examine-backward.c: New file.
10048 * gdb.base/examine-backward.exp: New file.
10049
38b022b4
SM
100502016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10051
10052 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10053 matching.
10054
1b40ec05
TT
100552016-06-02 Tom Tromey <tom@tromey.com>
10056
10057 PR python/18984:
10058 * gdb.python/py-shared.exp: Add solib_name test.
10059
193bd378
SM
100602016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10061
10062 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10063
3326303b
MG
100642016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10065
10066 PR c++/19893
10067 * gdb.dwarf2/implref.exp: Rename to...
10068 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10069 * gdb.dwarf2/implref-array.c: New file.
10070 * gdb.dwarf2/implref-array.exp: Likewise.
10071 * gdb.dwarf2/implref-global.c: Likewise.
10072 * gdb.dwarf2/implref-global.exp: Likewise.
10073 * gdb.dwarf2/implref-struct.c: Likewise.
10074 * gdb.dwarf2/implref-struct.exp: Likewise.
10075
825c8ef2
AT
100762016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10077
10078 * gdb.trace/trace-condition.exp: Add 64bit tests.
10079
2320162a
AT
100802016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10081
10082 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10083 bits types.
10084 (main): Adapt to 8 to 64 bits types.
10085 * gdb.trace/trace-condition.exp: Add new tests.
10086
a7818233
AT
100872016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10088
10089 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10090
0d336466
AT
100912016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10092
10093 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10094 Move condition tests...
10095 * gdb.trace/trace-condition.exp: Here.
10096
7faeb45a
AT
100972016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10098
10099 * gdb.trace/trace-condition.exp: Add counter-case tests.
10100
e385593e
JK
101012016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10102
10103 PR c++/15231
10104 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10105 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10106
744608cc
PA
101072016-05-27 Pedro Alves <palves@redhat.com>
10108
10109 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10110 New procedure.
10111 (top level): Call it, and bail out of DejaGnu is known to be bad.
10112
ac775bf4
AB
101132016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10114
10115 * gdb.base/whatis.c: Extend the test case.
10116 * gdb.base/whatis.exp: Add additional tests.
10117
2bbad2ea
BH
101182016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10119
10120* gdb.fortran/type.f90: Add pointer variable.
10121* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10122
8b70175d
BH
101232016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10124
10125 * gdb.fortran/vla-type.exp: Fix testcase name.
10126
86d8a848
BH
101272016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10128
10129 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10130
e188eb36
BH
101312016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10132
10133 * gdb.fortran/type.f90: Add nested structures.
10134 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10135 * gdb.fortran/derived-type.exp: Adapt expected output.
10136 * gdb.fortran/vla-type.exp: Adapt expected output.
10137
9b2db1fd
BH
101382016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10139
10140 * gdb.fortran/whatis_type.exp: Adapt expected output.
10141
72b17055
BH
101422016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10143
10144 * gdb.fortran/print_type.exp: Fix expected output.
10145 * gdb.fortran/whatis_type.exp: Fix expected output.
10146
3cd81d8d
BH
101472016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10148
10149 * gdb.fortran/whatis_type.exp: Use multi_line.
10150
ddae9462
TT
101512016-05-24 Tom Tromey <tom@tromey.com>
10152
10153 PR python/17386:
10154 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10155 use value as an index.
10156
1957f6b8
TT
101572016-05-23 Tom Tromey <tom@tromey.com>
10158
10159 PR python/17981:
10160 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10161 no-breakpoint case.
10162
026a9174
PA
101632016-05-24 Pedro Alves <palves@redhat.com>
10164
10165 PR gdb/19828
10166 * gdb.threads/clone-attach-detach.c: New file.
10167 * gdb.threads/clone-attach-detach.exp: New file.
10168
e70a7231
FR
101692016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10170
10171 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10172
0f6ed0e0
TT
101732016-05-23 Tom Tromey <tom@tromey.com>
10174
10175 PR python/19438, PR python/18393:
10176 * gdb.python/py-progspace.exp: Add "dir" test.
10177 * gdb.python/py-objfile.exp: Add "dir" test.
10178
ffd19d61
YQ
101792016-05-23 Yao Qi <yao.qi@linaro.org>
10180
10181 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10182 * gdb.arch/thumb2-it.exp: Likewise.
10183
9e8f9b05
SM
101842016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10185
10186 * gdb.mi/mi-threads-interrupt.c: New file.
10187 * gdb.mi/mi-threads-interrupt.exp: New file.
10188
61c6156d
SM
101892016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10190
10191 PR gdb/18077
10192 * gdb.mi/mi-async-run.exp: New file.
10193 * gdb.mi/mi-async-run.c: New file.
10194
67218854
TT
101952016-05-17 Tom Tromey <tom@tromey.com>
10196 Manish Goregaokar <manishsmail@gmail.com>
10197
10198 * lib/rust-support.exp: New file.
10199 * lib/gdb.exp (skip_rust_tests): New proc.
10200 (build_executable_from_specs): Handle rust.
10201 * lib/future.exp (gdb_find_rustc): New proc.
10202 (gdb_default_target_compile): Handle rust.
10203 * gdb.rust/expr.exp: New file.
10204 * gdb.rust/generics.exp: New file.
10205 * gdb.rust/generics.rs: New file.
10206 * gdb.rust/methods.exp: New file.
10207 * gdb.rust/methods.rs: New file.
10208 * gdb.rust/modules.exp: New file.
10209 * gdb.rust/modules.rs: New file.
10210 * gdb.rust/simple.exp: New file.
10211 * gdb.rust/simple.rs: New file.
10212
c44af4eb
TT
102132016-05-17 Tom Tromey <tom@tromey.com>
10214
10215 * gdb.base/default.exp (set language): Add rust.
10216
dcd1f979
TT
102172016-05-17 Tom Tromey <tom@tromey.com>
10218
10219 * gdb.gdb/unittest.exp: New file.
10220
155b7f57
YQ
102212016-05-16 Yao Qi <yao.qi@linaro.org>
10222
10223 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10224 shell_prompt. Update shell_prompt_re.
10225
8ddd5a6c
DE
102262016-05-12 Doug Evans <dje@google.com>
10227
10228 PR symtab/19999
10229 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10230 $options when building executable.
10231 * gdb.dwarf2/fission-loclists-pie.S: New file.
10232 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10233
02e370d9
SM
102342016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10235
10236 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10237 of [is_remote target],
10238
8929ad8b
SM
102392016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10240
10241 * lib/gdb.exp (use_gdb_stub): New procedure.
10242
6c447423
DE
102432016-05-03 Yunlian Jiang <yunlian@google.com>
10244 Doug Evans <dje@google.com>
10245
10246 PR symtab/19914
10247 * gdb.dwarf2/dwp-sepdebug.c: New file.
10248 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10249
444e826c
SM
102502016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10251
10252 * gdb.base/detach.exp: Remove is_remote check.
10253
740feeaa
SM
102542016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10255
10256 * gdb.base/annota-input-while-running.exp: Don't check for
10257 [is_remote target]. Enable annotations after running to main.
10258 Remove unused "set test..." line.
10259
9080ac9d
SM
102602016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10261
10262 * gdb.trace/trace-enable-disable.exp: New file.
10263 * gdb.trace/trace-enable-disable.c: New file.
10264
952ebca5
SM
102652016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10266
10267 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10268 use it in info sharedlibrary test.
10269 * gdb.trace/ftrace-lock.exp: Likewise.
10270 * gdb.trace/ftrace.exp: Likewise.
10271 * gdb.trace/range-stepping.exp: Likewise.
10272 * gdb.trace/trace-break.exp: Likewise.
10273 * gdb.trace/trace-condition.exp: Likewise.
10274 * gdb.trace/trace-mt.exp: Likewise.
10275
d9019901
SM
102762016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10277
10278 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10279 (gdb_load_shlib): ... this.
10280 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10281 gdb_load_shlib.
10282 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10283 * gdb.base/ctxobj.exp: Likewise.
10284 * gdb.base/dprintf-pending.exp: Likewise.
10285 * gdb.base/dso2dso.exp: Likewise.
10286 * gdb.base/fixsection.exp: Likewise.
10287 * gdb.base/gcore-relro.exp: Likewise.
10288 * gdb.base/gdb1555.exp: Likewise.
10289 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10290 * gdb.base/gnu-ifunc.exp: Likewise.
10291 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10292 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10293 * gdb.base/pending.exp: Likewise.
10294 * gdb.base/print-file-var.exp: Likewise.
10295 * gdb.base/print-symbol-loading.exp: Likewise.
10296 * gdb.base/shlib-call.exp: Likewise.
10297 * gdb.base/shreloc.exp: Likewise.
10298 * gdb.base/so-impl-ld.exp: Likewise.
10299 * gdb.base/solib-disc.exp: Likewise.
10300 * gdb.base/solib-nodir.exp: Likewise.
10301 * gdb.base/solib-overlap.exp: Likewise.
10302 * gdb.base/solib-symbol.exp: Likewise.
10303 * gdb.base/solib-weak.exp (do_test): Likewise.
10304 * gdb.base/sym-file.exp: Likewise.
10305 * gdb.base/symtab-search-order.exp: Likewise.
10306 * gdb.base/type-opaque.exp: Likewise.
10307 * gdb.base/unload.exp: Likewise.
10308 * gdb.base/watchpoint-solib.exp: Likewise.
10309 * gdb.compile/compile.exp: Likewise.
10310 * gdb.cp/gdb2384.exp: Likewise.
10311 * gdb.cp/infcall-dlopen.exp: Likewise.
10312 * gdb.cp/re-set-overloaded.exp: Likewise.
10313 * gdb.fortran/library-module.exp: Likewise.
10314 * gdb.opt/solib-intra-step.exp: Likewise.
10315 * gdb.python/py-finish-breakpoint.exp: Likewise.
10316 * gdb.python/py-shared.exp: Likewise.
10317 * gdb.reverse/solib-precsave.exp: Likewise.
10318 * gdb.reverse/solib-reverse.exp: Likewise.
10319 * gdb.server/solib-list.exp: Likewise.
10320 * gdb.threads/dlopen-libpthread.exp: Likewise.
10321 * gdb.threads/tls-shared.exp: Likewise.
10322 * gdb.threads/tls-so_extern.exp: Likewise.
10323 * gdb.trace/change-loc.exp: Likewise.
10324 * gdb.trace/ftrace-lock.exp: Likewise.
10325 * gdb.trace/ftrace.exp: Likewise.
10326 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10327 * gdb.trace/pending.exp: Likewise.
10328 * gdb.trace/range-stepping.exp: Likewise.
10329 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10330 (strace_info_marker): Likewise.
10331 (strace_probe_marker): Likewise.
10332 (strace_trace_on_same_addr): Likewise.
10333 (strace_trace_on_diff_addr): Likewise.
10334 * gdb.trace/trace-break.exp: Likewise.
10335 * gdb.trace/trace-condition.exp: Likewise.
10336 * gdb.trace/trace-mt.exp: Likewise.
10337
fca4cfd9
SM
103382016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10339
10340 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10341 result of gdb_remote_download.
10342 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10343 * gdb.base/dso2dso.exp: Likewise.
10344 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10345 * gdb.base/print-file-var.exp: Likewise.
10346 * gdb.base/shlib-call.exp: Likewise.
10347 * gdb.base/shreloc.exp: Likewise.
10348 * gdb.base/solib-overlap.exp: Likewise.
10349 * gdb.base/solib-weak.exp (do_test): Likewise.
10350 * gdb.base/unload.exp: Likewise.
10351
11cf4ffb
YQ
103522016-04-27 Yao Qi <yao.qi@linaro.org>
10353
10354 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10355 exists.
10356
3e2e34f8
KB
103572016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10358
10359 * vla-type.exp: Print structure from toplevel.
10360
8f07e298
BH
103612016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10362
10363 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10364 of dynamic types.
10365 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10366 of dynamic types.
10367
9920b434
BH
103682016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10369
10370 * gdb.fortran/vla-type.f90: New file.
10371 * gdb.fortran/vla-type.exp: New file.
10372
f3abeff5
YQ
103732016-04-25 Yao Qi <yao.qi@linaro.org>
10374
10375 * gdb.base/branch-to-self.c: New file.
10376 * gdb.base/branch-to-self.exp: New file.
10377
0a5d52f0
YQ
103782016-04-22 Yao Qi <yao.qi@linaro.org>
10379
10380 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10381 more after $hex.
10382
495346f6
YQ
103832016-04-22 Yao Qi <yao.qi@linaro.org>
10384
10385 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10386 * gdb.base/annota3.exp: Likewise.
10387
4a7e075c
YQ
103882016-04-22 Yao Qi <yao.qi@linaro.org>
10389
10390 * gdb.reverse/step-precsave.exp: Do one step and test program
10391 stops in "callee" and do multiple steps until program goes out
10392 of "callee".
10393 * gdb.reverse/step-reverse.exp: Likewise.
10394
5b061e98
YQ
103952016-04-22 Yao Qi <yao.qi@linaro.org>
10396
10397 * gdb.trace/signal.exp: Also pass if
10398 $tracepoint_hits($i) > $iterations.
10399
5c5dc57f
YQ
104002016-04-22 Yao Qi <yao.qi@linaro.org>
10401
10402 * gdb.trace/signal.c: New file.
10403 * gdb.trace/signal.exp: New file.
10404
a55411b9
DE
104052016-04-19 Doug Evans <xdje42@gmail.com>
10406
10407 * gdb.base/bad-file.exp: New file.
10408
a22df60a
MG
104092016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10410
10411 * gdb.dwarf2/implref.exp: New file.
10412
0c13f7e5
BH
104132016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10414
10415 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10416 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10417 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10418 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10419 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10420 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10421 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10422 * lib/fortran.exp (fortran_int4): New procedure.
10423 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10424 (fortran_logical4): Likewise.
10425
9b9b09e9
BH
104262016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10427
10428 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10429
a14d1f4d
BH
104302016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10431
10432 * lib/compiler.c: Add Intel specific preprocessor macros.
10433 * lib/compiler.cc: Likewise.
25d49b86 10434
7d49b1d0
LM
104352016-04-13 Luis Machado <lgustavo@codesourcery.com>
10436
10437 * gdb.server/connect-with-no-symbol-file.c: New file.
10438 * gdb.server/connect-with-no-symbol-file.exp: New file.
10439
8392fa22
SM
104402016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10441
10442 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10443
8c4c4aeb
SM
104442016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10445
10446 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10447 standard output directory.
10448
45e3745e
AT
104492016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10450
10451 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10452
e26b7e41
MM
104532016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10454
10455 * gdb.btrace/instruction_history.c (loop): Add declaration.
10456
8ce09462
AT
104572016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10458
10459 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10460
2e88a1ea
SM
104612016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10462
10463 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10464 parentheses to print.
10465 (continue_handler): Likewise.
10466
f48e22e3
SM
104672016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10468
10469 * gdb.server/solib-list.exp: Remove is_remote check.
10470 Pass shlib= to gdb_compile. Don't link shared library with
10471 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10472 Run binary filename through "readlink -f" on the target.
10473
096be756
PA
104742016-04-08 Pedro Alves <palves@redhat.com>
10475
10476 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10477 interpreter filename as argument to gdbserver_spawn.
10478 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10479 Return empty if $last_loaded_file does not exist.
10480
06500533
JK
104812016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10482
10483 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10484 * gdb.base/jit-main.c: Use exit after usage.
10485
2d35e871
JK
104862016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10487
10488 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10489 GDBHISTSIZE prior to the tests.
10490 * gdb.base/gdbinit-history.exp: Likewise.
10491
104922016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
10493
10494 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10495 instead of build_executable. Use gdb_load_shlibs.
10496
c8064e7e
YQ
104972016-04-07 Yao Qi <yao.qi@linaro.org>
10498
10499 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10500 Execute "si" command.
10501
bde47561
YQ
105022016-04-07 Yao Qi <yao.qi@linaro.org>
10503
10504 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10505 number instead of the comments on some line.
10506
b16f8a3b
DB
105072016-04-06 Don Breazeal <donb@codesourcery.com>
10508
10509 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10510 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10511
c2f901df
SM
105122016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10513
10514 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10515 standard_output_file. Remove unused binfile variable.
10516
ac17fda0
CU
105172016-04-05 Catalin Udma <catalin.udma@freescale.com>
10518
10519 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10520 * gdb.python/py-mi-objfile.exp: Match "list main" output
10521 in console format.
10522
03a8c4df
SM
105232016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10524
10525 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10526 absolute.
10527
6e774b13
SM
105282016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10529
10530 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10531 absolute.
10532 * gdb.trace/ftrace.exp: Likewise.
10533 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10534 targets as well.
10535 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10536 (gdb_load_shlibs): Copy libraries to test directory when testing
10537 natively. Only set solib-search-path if testing remotely.
10538 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10539
7817ea46
SM
105402016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10541
10542 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10543 gdb_download. Use it even if the target is not remote.
10544 * gdb.base/jit.exp (compile_jit_test): Likewise.
10545 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10546 output directory if the destination board is local, otherwise use
10547 the standard remote_download from DejaGnu.
10548 (gdb_download): Remove.
10549 (gdb_load_shlibs): Use gdb_remote_download instead of
10550 gdb_download.
10551 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10552 Use gdb_remote_download instead of gdb_download. Use it even if
10553 the target is not remote.
10554 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10555 instead of gdb_download.
10556
7beb7f68
SM
105572016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10558
10559 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10560 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10561 run.
10562
cc63428a
AV
105632016-04-01 Artemiy Volkov <artemiyv@acm.org>
10564
10565 PR gdb/19820
10566 * gdb.base/printcmds.exp: Add artificial arrays tests.
10567
64cdf930
PA
105682016-03-31 Pedro Alves <palves@redhat.com>
10569
10570 PR gdb/19858
10571 * gdb.base/jit-main.c: Include unistd.h.
10572 (ATTACH): Define to 0 if not already defined.
10573 (wait_for_gdb, mypid): New globals.
10574 (WAIT_FOR_GDB): New macro.
10575 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10576 some breakpoint locations.
10577 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10578 New procedures.
10579 (one_jit_test): Add REATTACH parameter, and handle it. Use
10580 continue_to_test_location.
10581 (top level): Test attach, and adjusts calls to one_jit_test.
10582
40dea8cb
PA
105832016-03-31 Pedro Alves <palves@redhat.com>
10584
10585 PR gdb/19858
10586 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10587 BINSUFFIX parameter, and handle it.
10588 (top level): Adjust calls compile_jit_test.
10589
e7ea3ec7
CU
105902016-03-31 Catalin Udma <catalin.udma@freescale.com>
10591
10592 PR python/19743
10593 * gdb.python/py-mi-events-gdb.py: New file.
10594 * gdb.python/py-mi-events.c: New file.
10595 * gdb.python/py-mi-events.exp: New file.
10596
e6359af3
YQ
105972016-03-30 Yao Qi <yao.qi@linaro.org>
10598
10599 * gdb.reverse/until-precsave.exp: Match function name only.
10600 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10601 Move malloc to a condition block.
10602 * gdb.reverse/until-reverse.exp: Match function name only.
10603
a4105d04
MK
106042016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10605
10606 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10607 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10608 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10609 variable for GPR 0 instead of assuming it is register 0.
10610 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10611 * lib/trace-support.exp: Add s390 registers.
10612
bfa6adb9
YQ
106132016-03-29 Yao Qi <yao.qi@linaro.org>
10614
10615 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10616
1e6697ea
YQ
106172016-03-24 Yao Qi <yao.qi@linaro.org>
10618
10619 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10620 test message.
10621
64bcd522
AA
106222016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10623
10624 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10625 maintaining separate logic for constructing the output path.
10626
7868401b
DB
106272016-03-16 Don Breazeal <donb@codesourcery.com>
10628
10629 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10630 Retry fork and waitpid on interrupted system call errors.
10631 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10632 Use with_timeout_factor to increase timeout by factor of 10.
10633
1cafadb4
DB
106342016-03-15 Don Breazeal <donb@codesourcery.com>
10635
10636 * gdb.cp/scope-err.cc: New test program.
10637 * gdb.cp/scope-err.exp: New test script.
10638 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10639 lines and "set breakpoint here" comment.
10640 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10641 Fixed some whitespace and format issues.
10642 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10643 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10644
81516450
DE
106452016-03-15 Doug Evans <dje@google.com>
10646
10647 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10648 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10649 All callers updated. Add tests for enums, mixed flags register.
10650
aa52b601
DE
106512016-03-15 Doug Evans <dje@google.com>
10652
10653 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10654 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10655
fa4ff313
SM
106562016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10657
10658 * gdb.base/default.exp: Add $_as_string to the list of expected
10659 convenience functions.
10660
f2403c39
AB
106612016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10662
10663 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10664
f2f3ccb9
SM
106652016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10666
10667 * gdb.python/py-as-string.exp: New file.
10668 * gdb.python/py-as-string.c: New file.
10669
00dbd492
PA
106702016-03-09 Pedro Alves <palves@redhat.com>
10671
10672 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10673 signal" -> "Thread NN received signal" output change.
10674 * gdb.threads/ia64-sigill.exp: Likewise.
10675 * gdb.threads/linux-dp.exp: Likewise.
10676 * gdb.threads/manythreads.exp: Likewise.
10677 * gdb.threads/pending-step.exp: Likewise.
10678 * gdb.threads/print-threads.exp: Likewise.
10679 * gdb.threads/sigstep-threads.exp: Likewise.
10680 * gdb.threads/staticthreads.exp: Likewise.
10681 * gdb.threads/tls.exp: Likewise.
10682
1e6697ea
YQ
106832016-03-09 Pedro Alves <palves@redhat.com>
10684
10685 * gdb.base/command-line-input.exp: New file.
10686
b04fd3be
MK
106872016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10688
10689 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10690 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10691 * gdb.trace/pending.exp: Accept leading dot before function name.
10692 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10693 * lib/trace-support.exp: Set registers for ppc.
10694
98fa59e9
MK
106952016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10696
10697 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10698 use it for disassembly; accept .main in addition to main in backtrace.
10699
f77198c8
MK
107002016-03-09 Wei-cheng Wang <cole945@gmail.com>
10701 Marcin Kościelnicki <koriakin@0x04.net>
10702
10703 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10704 (gdb_recursion_test_ptr): New global variable.
10705 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10706 gdb_recursion_test.
10707 (gdb_c_test): Ditto.
10708
ba84e0da
MK
107092016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10710
10711 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10712 ordering.
10713
4366d36e
MK
107142016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10715
10716 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10717 (bar): Add bar_start_lbl label.
10718 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10719 of foo/bar for emitting DWARF and tracing.
10720
5eb264df
SDJ
107212016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10722
10723 * analyze-racy-logs.py: Set executable bit.
10724
fb6a751f
SDJ
107252016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10726
10727 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10728 (CHECK_TARGET_TMP): Likewise.
10729 (check-single-racy): New rule.
10730 (check-parallel-racy): Likewise.
10731 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10732 (do-check-parallel-racy): New rule.
10733 (check-racy/%.exp): Likewise.
10734 * README (Racy testcases): New section.
10735 * analyze-racy-logs.py: New file.
10736
bdf7e230
DE
107372016-03-03 Doug Evans <dje@google.com>
10738
10739 * gdb.base/skip.exp: Use with_test_prefix.
10740
4719d415
YQ
107412016-03-03 Yao Qi <yao.qi@linaro.org>
10742
10743 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10744 Invoke step_over_syscall "clone" and break_cond_on_syscall
10745 "clone".
10746 * gdb.base/step-over-clone.c: New file.
10747
ea507862
YQ
107482016-03-03 Yao Qi <yao.qi@linaro.org>
10749
10750 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10751 code format.
10752
8fc8cbda
YQ
107532016-03-03 Yao Qi <yao.qi@linaro.org>
10754
10755 * gdb.base/disp-step-fork.c: Rename to ...
10756 * gdb.base/step-over-fork.c: ... it. New file.
10757 * gdb.base/disp-step-vfork.c: Rename to ...
10758 * gdb.base/step-over-vfork.c: ... it. New file.
10759 * gdb.base/disp-step-syscall.exp: Rename to ...
10760 * gdb.base/step-over-syscall.exp: ... it. New file.
10761 (disp_step_cross_syscall): Rename to ...
10762 (step_over_syscall): ... it.
10763
92fa70b0
YQ
107642016-03-03 Yao Qi <yao.qi@linaro.org>
10765
10766 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10767 If target supports condition evaluation on target, invoke
10768 break_cond_on_syscall for fork and vfork.
10769
e197ad3c
YQ
107702016-03-03 Yao Qi <yao.qi@linaro.org>
10771
10772 * gdb.base/disp-step-syscall.exp: Don't invoke
10773 support_displaced_stepping.
10774 (disp_step_cross_syscall): Test with displaced stepping off and
10775 on if supported.
10776
0b47da9f
YQ
107772016-03-03 Yao Qi <yao.qi@linaro.org>
10778
10779 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10780 proc.
10781 (setup): New proc.
10782 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10783 and setup.
10784
065ab6dc
BH
107852016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10786
10787 * gdb.fortran/vla-history.exp: Remove breakpoint.
10788
07e448ad 107892016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10790
25d49b86
PA
10791 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10792 exceeds timeout.
07e448ad 10793
9ac2d526 107942016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10795
25d49b86
PA
10796 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10797 breakpoint.
9ac2d526 10798
17807369
BH
107992016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10800
10801 * gdb.mi/vla.f90: Nullify pointer after declaration.
10802
86e501af
PA
108032016-03-01 Pedro Alves <palves@redhat.com>
10804
10805 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10806
1e903e32
PA
108072016-03-01 Pedro Alves <palves@redhat.com>
10808
10809 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10810 before anything else.
10811 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10812 _GNU_SOURCE here.
10813 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10814 before anything else.
10815 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10816
6ccb54e2
PA
108172016-03-01 Pedro Alves <palves@redhat.com>
10818
10819 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10820
30ca9da1
YQ
108212016-03-01 Yao Qi <yao.qi@linaro.org>
10822
10823 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10824 prepare_for_testing.
10825
dc856b38
YQ
108262016-03-01 Yao Qi <yao.qi@linaro.org>
10827
10828 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10829
4a932159
AA
108302016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10831
10832 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10833 manually constructing the output path.
10834
f2489477
AA
108352016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10836
10837 * gdb.arch/s390-stackless.S: New.
10838 * gdb.arch/s390-stackless.exp: New.
10839
38899f16
IB
108402016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10841
10842 * gdb.dlang/circular.c: New file.
10843 * gdb.dlang/circular.exp: New file.
10844
9fde51ed
YQ
108452016-02-26 Yao Qi <yao.qi@linaro.org>
10846
10847 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10848 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10849 (testcases): Update.
10850
ce90fefe
YQ
108512016-02-26 Yao Qi <yao.qi@linaro.org>
10852
10853 * gdb.reverse/aarch64.c: Rename to ...
10854 * gdb.reverse/insn-reverse.c: ... it.
10855 * gdb.reverse/aarch64.exp: Rename to ...
10856 * gdb.reverse/insn-reverse.exp: ... it.
10857
3263bceb
YQ
108582016-02-26 Yao Qi <yao.qi@linaro.org>
10859
10860 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10861 (testcase_ftype): New.
10862 (testcases): New array.
10863 (n_testcases): New.
10864 (main): Call each element in testcases.
10865 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10866 (read_testcase): New.
10867 Do the tests in a loop.
10868
6cb59ff1
YQ
108692016-02-25 Yao Qi <yao.qi@linaro.org>
10870
10871 * gdb.base/branches.c: Remove.
10872
ae91f625
MK
108732016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10874
10875 PR gdb/13808
10876 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10877
678b48b7
MK
108782016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10879
10880 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10881
7337a6f2
MK
108822016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10883
10884 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10885 change x86_64 call_insn to 'callq'.
10886
861ca91f
AT
108872016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10888
10889 * gdb.trace/tfile-avx.c: Move to...
10890 * gdb.trace/tracefile-pseudo-reg.c: Here.
10891 * gdb.trace/tfile-avx.exp: Move to...
10892 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10893
bf74e428
GB
108942016-02-24 Gary Benson <gbenson@redhat.com>
10895
10896 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10897 message on attach.
10898
cce0e923
DE
108992016-02-23 Doug Evans <dje@google.com>
10900
10901 * gdb.base/skip.c (test_skip): New function.
10902 (end_test_skip_file_and_function): New function.
10903 (test_skip_file_and_function): New function.
10904 * gdb.base/skip1.c (test_skip): New function.
10905 (skip1_test_skip_file_and_function): New function.
10906 * gdb.base/skip.exp: Add tests for new skip options.
10907 * gdb.base/skip-solib.exp: Update expected output.
10908 * gdb.perf/skip-command.cc: New file.
10909 * gdb.perf/skip-command.exp: New file.
10910 * gdb.perf/skip-command.py: New file.
10911
4000e47e
MK
109122016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10913
10914 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10915 info registers pattern.
10916
24f75ead
IB
109172016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10918
10919 * lib/future.exp: Add D support.
10920 (gdb_find_gdc): New proc.
10921 (gdb_default_target_compile): Add D support.
10922
fbb7bcbe
WW
109232016-02-18 Wei-cheng Wang <cole945@gmail.com>
10924
10925 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10926 user+system time.
10927 (trace_speed_test): Determine the iteration count for a time
10928 between 15..30 seconds.
10929
012b3a21
WT
109302016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10931
10932 * gdb.arch/i386-mpx-sigsegv.c: New file.
10933 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10934 * gdb.arch/i386-mpx-simple_segv.c: New file.
10935 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10936
2d5189bd
YQ
109372016-02-18 Yao Qi <yao.qi@linaro.org>
10938
10939 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10940 Don't call setup_kfail.
10941
40fb20d0
YQ
109422016-02-18 Yao Qi <yao.qi@linaro.org>
10943
10944 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10945 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10946
21b1f8d2
DE
109472016-02-16 Doug Evans <dje@google.com>
10948
10949 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10950 * gdb.base/skip1.c: Ditto.
10951 * gdb.base/skip.exp: Whitespace cleanup.
10952
4041ed77
DB
109532016-02-16 Don Breazeal <donb@codesourcery.com>
10954
10955 PR remote/19496
10956 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10957 Remove kfail for PR remote/19496.
10958
c4ef31bf
SM
109592016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10960
10961 * lib/gdb.exp (standard_temp_file): Return a path specific to
10962 the runtest invocation.
10963
266b65b3
SM
109642016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10965
10966 * gdb.trace/save-trace.exp: Change relative path to be in the
10967 standard output directory.
10968
a7a0a6a9
JK
109692016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10970
10971 * gdb.arch/i386-prologue.c: Add missing prototypes.
10972
c99dbb42
JK
109732016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10974
10975 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10976 * gdb.arch/i386-prologue.exp: Likewise.
10977 * gdb.arch/i386-size.exp: Likewise.
10978
aa480355
SM
109792016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10980
10981 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10982 define object file path.
10983 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10984 file path.
10985 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10986 standard_output_file to define binfile.
10987
ba881f50
JK
109882016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10989
10990 Fix compatibility with recent gfortran-5.3.1.
10991 * gdb.fortran/vla-history.exp (print vla1 allocated)
10992 (print vla2 allocated, print $2, print $3): Remove
10993 (print $4): Rename to ...
10994 (print $2): ... here.
10995 (print $9): Rename to ...
10996 (print $5): ... here.
10997 (print $10): Rename to ...
10998 (print $6): ... here.
10999 * gdb.fortran/vla.f90: Add pvla initialization.
11000
e9fb005c
JK
110012016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11002
11003 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11004 New test.
11005 * gdb.fortran/vla-value-sub.exp: Likewise.
11006
e44e00ff
MK
110072016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11008
11009 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11010
97e94151
SM
110112016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11012
11013 * i386-biarch-core.exp: Define corefile using
11014 standard_output_file.
11015
01113bc1
YQ
110162016-02-12 Yao Qi <yao.qi@linaro.org>
11017
11018 * gdb.arch/arm-single-step-kernel-helper.c: New.
11019 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11020
33b4777c
MM
110212016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11022
11023 * gdb.btrace/tailcall-only.exp: New.
11024 * gdb.btrace/tailcall-only.c: New.
11025 * gdb.btrace/x86_64-tailcall-only.S: New.
11026 * gdb.btrace/i686-tailcall-only.S: New.
11027
acc23c11
PA
110282016-02-11 Pedro Alves <palves@redhat.com>
11029
11030 * README (Parallel testing): Add missing double quotes.
11031
e352bf0a
PA
110322016-02-11 Pedro Alves <palves@redhat.com>
11033
11034 * README (Parallel testing): New section.
11035 (GDB_PARALLEL): Rewrite.
11036 (FORCE_PARALLEL): Document.
11037
9f5fed78
MK
110382016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11039
11040 * gdb.trace/tfile-avx.c: New test.
11041 * gdb.trace/tfile-avx.exp: New test.
11042
9ef9e6a6
KS
110432016-02-09 Keith Seitz <keiths@redhat.com>
11044
11045 PR breakpoints/19546
11046 * gdb.base/infcall-exec.c: New file.
11047 * gdb.base/infcall-exec2.c: New file.
11048 * gdb.base/infcall-exec.exp: New file.
11049
a96e36da
KS
110502016-02-09 Keith Seitz <keiths@redhat.com>
11051
11052 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11053 (toplevel): Call test_bkpt_address.
11054
9f61929f
KS
110552016-02-09 Keith Seitz <keiths@redhat.com>
11056
11057 PR python/19506
11058 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11059 (toplevel): Call test_bkpt_address.
11060
1e94266c
SM
110612016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11062
11063 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11064 to AC_OUTPUT.
11065 * configure: Regenerate.
11066
2a7f3dff
PA
110672016-02-09 Pedro Alves <palves@redhat.com>
11068
11069 PR breakpoints/19548
11070 * gdb.base/execl-update-breakpoints.c (some_function): New
11071 function.
11072 (main): Call it.
11073 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11074 Tighten expected GDB output.
11075
2151ccc5
SM
110762016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11077
11078 * Makefile.in (ALL_SUBDIRS): Remove.
11079 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11080 (distclean maintainer-clean realclean): Likewise.
11081 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11082 * configure: Regenerate.
11083 * gdb.ada/Makefile.in: Delete.
11084 * gdb.arch/Makefile.in: Likewise.
11085 * gdb.asm/Makefile.in: Likewise.
11086 * gdb.base/Makefile.in: Likewise.
11087 * gdb.btrace/Makefile.in: Likewise.
11088 * gdb.cell/Makefile.in: Likewise.
11089 * gdb.compile/Makefile.in: Likewise.
11090 * gdb.cp/Makefile.in: Likewise.
11091 * gdb.disasm/Makefile.in: Likewise.
11092 * gdb.dlang/Makefile.in: Likewise.
11093 * gdb.dwarf2/Makefile.in: Likewise.
11094 * gdb.fortran/Makefile.in: Likewise.
11095 * gdb.gdb/Makefile.in: Likewise.
11096 * gdb.go/Makefile.in: Likewise.
11097 * gdb.guile/Makefile.in: Likewise.
11098 * gdb.java/Makefile.in: Likewise.
11099 * gdb.linespec/Makefile.in: Likewise.
11100 * gdb.mi/Makefile.in: Likewise.
11101 * gdb.modula2/Makefile.in: Likewise.
11102 * gdb.multi/Makefile.in: Likewise.
11103 * gdb.objc/Makefile.in: Likewise.
11104 * gdb.opencl/Makefile.in: Likewise.
11105 * gdb.opt/Makefile.in: Likewise.
11106 * gdb.pascal/Makefile.in: Likewise.
11107 * gdb.perf/Makefile.in: Likewise.
11108 * gdb.python/Makefile.in: Likewise.
11109 * gdb.reverse/Makefile.in: Likewise.
11110 * gdb.server/Makefile.in: Likewise.
11111 * gdb.stabs/Makefile.in: Likewise.
11112 * gdb.threads/Makefile.in: Likewise.
11113 * gdb.trace/Makefile.in: Likewise.
11114 * gdb.xml/Makefile.in: Likewise.
11115 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11116 GDB_PARALLEL.
11117 (standard_output_file): Remove check for GDB_PARALLEL, always
11118 return path in outputs/$subdir/$testname.
11119
437277d4
SM
111202016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11121
11122 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11123 (site.exp): Assign abs_srcdir to tcl's srcdir.
11124
31d913c7
YQ
111252016-02-04 Yao Qi <yao.qi@linaro.org>
11126
11127 * gdb.base/foll-exec-mode.c: Include limits.h.
11128 (main): Add parameters argc and argv. Get directory from
11129 argv[0].
11130 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11131 compilation.
11132 * gdb.base/foll-exec.c: Include limits.h.
11133 (main): Add parameters argc and argv.
11134 Get directory from argv[0].
11135 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11136 Adjust tests on the number of lines as source code changed.
11137 * gdb.base/foll-vfork-exit.c: Include limits.h.
11138 (main): Add one line of statement before vfork.
11139 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11140 (main): Add parameters argc and argv. Get directory from
11141 argv[0].
11142 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11143 (setup_gdb): Set tbreak to skip some source lines.
11144 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11145 (main): Add parameters argc and argv. Get directory from
11146 argv[0].
11147 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11148 compilation.
11149 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11150 (main): Add parameters argc and argv. Get directory from
11151 argv[0].
11152 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11153 compilation.
11154
9482b9fb
DE
111552016-02-01 Doug Evans <dje@google.com>
11156
11157 * gdb.base/skip.exp: Clean up multiple references to same test name.
11158
6b2e4f10
PA
111592016-02-01 Pedro Alves <palves@redhat.com>
11160
ccb6afd6 11161 PR remote/19496
6b2e4f10
PA
11162 * gdb.threads/forking-threads-plus-breakpoint.exp
11163 (displaced_stepping_supported): New global.
11164 (probe_displaced_stepping_support): New procedure.
11165 (do_test): Add 'displaced' parameter, and use it.
11166 (top level): Check for displaced stepping support. Add displaced
11167 stepping on/off testing axis.
11168
37a8db1a
AB
111692016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11170
11171 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11172 pointer. Don't perform further tests on the unassociated pointer
11173 if the first test fails.
11174
5fdf6324
AB
111752016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11176
11177 * gdb.base/max-value-size.c: New file.
11178 * gdb.base/max-value-size.exp: New file.
11179 * gdb.base/huge.exp: Disable max-value-size for this test.
11180
935c6144
IB
111812016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11182
11183 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11184
7fe8399d
YQ
111852016-01-28 Yao Qi <yao.qi@linaro.org>
11186
11187 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11188
a2077e25
PA
111892016-01-25 Pedro Alves <palves@redhat.com>
11190
11191 PR threads/19461
11192 * gdb.base/fork-running-state.c: New file.
11193 * gdb.base/fork-running-state.exp: New file.
11194
1d2736d4
PA
111952016-01-25 Pedro Alves <palves@redhat.com>
11196
11197 PR gdb/19494
11198 * gdb.base/catch-fork-kill.c: New file.
11199 * gdb.base/catch-fork-kill.exp: New file.
11200
f1da4b11
PA
112012016-01-25 Pedro Alves <palves@redhat.com>
11202
11203 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11204 Delete, moved to lib/gdb.exp.
11205 * gdb.threads/forking-threads-plus-breakpoint.exp
11206 (foreach_with_prefix): Likewise.
11207 * gdb.threads/process-dies-while-handling-bp.exp
11208 (foreach_with_prefix): Likewise.
11209 * lib/gdb.exp (foreach_with_prefix): New procedure.
11210
45f38546
MK
112112016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11212
11213 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11214 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11215
dc29a1ce
MK
112162016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11217
11218 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11219 endian targets.
11220
092127d7
JK
112212016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11222 Pedro Alves <palves@redhat.com>
11223
11224 Fix testsuite compatibility with Guile.
11225 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11226 number.
11227
31d765d3
JK
112282016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11229
11230 Fix testsuite compatibility with Guile.
11231 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11232 (thread 1): New test for backtrace through signal handler.
11233
1ac78c04
YQ
112342016-01-22 Yao Qi <yao.qi@linaro.org>
11235
11236 PR testsuite/19491
11237 * gdb.base/multi-forks.c: Include
11238 ../lib/unbuffer_output.c
11239 (main): Call gdb_unbuffer_output.
11240
4f5946a8
DE
112412016-01-21 Doug Evans <dje@google.com>
11242
11243 * lib/ada.exp (gdb_compile_ada): Fix typo.
11244
305e13e6
JB
112452016-01-21 Joel Brobecker <brobecker@adacore.com>
11246
11247 * gdb.base/break-fun-addr.exp: New file.
11248 * gdb.base/break-fun-addr1.c: New file.
11249 * gdb.base/break-fun-addr2.c: New file.
11250
5f5dfff6
SM
112512016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11252
11253 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11254 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11255 enum flag values.
11256
fd356fa2
AA
112572016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11258
11259 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11260 when GDB can not set the vector return value. Add more comments
11261 for clarification.
11262
9df22175
AT
112632016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11264
11265 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11266 command.
11267
41d1845e
SM
112682016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11269
11270 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11271
01ac6840
SM
112722016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11273
11274 * Makefile.in (check-single): Pass --status to runtest.
11275 (check/%.exp): Likewise.
11276
112772016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11278
11279 * Makefile.in (check-parallel): Propagate return code from make
11280 do-check-parallel.
11281
bd0a71fa
MK
112822016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11283
11284 * gdb.trace/ftrace.exp: Fix expected message on continue.
11285 * gdb.trace/pending.exp: Fix expected message on continue.
11286 * gdb.trace/trace-break.exp: Fix expected message on continue.
11287
8bcbad33
SM
112882016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11289
11290 * lib/gdb.exp (gdb_test): Remove unused global references.
11291
f303dbd6
PA
112922016-01-18 Pedro Alves <palves@redhat.com>
11293
11294 * gdb.base/async-shell.exp: Adjust expected output.
11295 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11296 * gdb.base/siginfo-thread.exp: Adjust expected output.
11297 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11298 * gdb.java/jnpe.exp: Adjust expected output.
11299 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11300 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11301 * gdb.threads/leader-exit.exp: Adjust expected output.
11302 * gdb.threads/manythreads.exp: Adjust expected output.
11303 * gdb.threads/pthreads.exp: Adjust expected output.
11304 * gdb.threads/schedlock.exp: Adjust expected output.
11305 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11306 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11307 expected output.
11308 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11309 output.
11310 * gdb.threads/sigthread.exp: Adjust expected output.
11311 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11312
b2789696
YQ
113132016-01-18 Yao Qi <yao.qi@linaro.org>
11314
11315 * gdb.guile/scm-section-script.c: Replace @progbits with
11316 %progbits.
11317 * gdb.python/py-section-script.c: Likewise.
11318
71ef29a8
PA
113192016-01-15 Pedro Alves <palves@redhat.com>
11320
11321 * gdb.multi/tids.exp: Test star wildcard ranges.
11322
3f5b7598
PA
113232016-01-15 Pedro Alves <palves@redhat.com>
11324
11325 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11326 command from "thread apply" invocation.
11327 (thr_apply_info_thr_invalid): Default the expected output to the
11328 input tid list.
11329 (top level): Add tests that use convenience variables. Add tests
11330 for "thread apply" with a valid TID list, but missing the command.
11331
663f6d42
PA
113322016-01-13 Pedro Alves <palves@redhat.com>
11333
11334 * gdb.base/default.exp: Expect $_gthread as well.
11335 * gdb.multi/tids.exp: Test $_gthread.
11336 * gdb.threads/thread-specific.exp: Test $_gthread.
11337
c84f6bbf
PA
113382016-01-13 Pedro Alves <palves@redhat.com>
11339
11340 * gdb.multi/tids.exp: Test "info threads -gid".
11341
22a02324
PA
113422016-01-13 Pedro Alves <palves@redhat.com>
11343
11344 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11345 Breakpoint.thread.
11346 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11347
5d5658a1
PA
113482016-01-07 Pedro Alves <palves@redhat.com>
11349
11350 * gdb.base/break.exp: Adjust to output changes.
11351 * gdb.base/hbreak2.exp: Likewise.
11352 * gdb.base/sepdebug.exp: Likewise.
11353 * gdb.base/watch_thread_num.exp: Likewise.
11354 * gdb.linespec/keywords.exp: Likewise.
11355 * gdb.multi/info-threads.exp: Likewise.
11356 * gdb.threads/thread-find.exp: Likewise.
11357 * gdb.multi/tids.c: New file.
11358 * gdb.multi/tids.exp: New file.
11359
84654457
PA
113602016-01-13 Pedro Alves <palves@redhat.com>
11361
11362 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11363
e3940304
PA
113642016-01-13 Pedro Alves <palves@redhat.com>
11365
11366 * gdb.base/default.exp: Expect $_inferior as well.
11367 * gdb.multi/base.exp: Test $_inferior.
11368
a911d87a
PA
113692016-01-13 Pedro Alves <palves@redhat.com>
11370
11371 PR breakpoints/19388
11372 * gdb.base/catch-signal-siginfo-cond.c: New file.
11373 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11374
82075af2
JS
113752016-01-12 Josh Stone <jistone@redhat.com>
11376 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11377
11378 * gdb.base/catch-syscall.c (do_execve): New variable.
11379 (main): Conditionally trigger an execve.
11380 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11381 (test_catch_syscall_execve): New, check entry/return across execve.
11382 (do_syscall_tests): Call test_catch_syscall_execve.
11383
e46eeedd
PA
113842016-01-12 Pedro Alves <palves@redhat.com>
11385
11386 * gdb.base/random-signal.exp (do_test): New procedure, with body
11387 of testcase moved in.
11388
01d8c27e
JK
113892016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11390 Pedro Alves <palves@redhat.com>
11391
11392 * gdb.base/funcargs.exp (finish from indirectly called function):
11393 Reintroduce the case for 'First'.
11394
9a706302
JK
113952016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11396 Pedro Alves <palves@redhat.com>
11397
11398 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11399 (tcatch_vfork_then_child_follow_exec)
11400 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11401 identification.
11402
c0ecb95f
JK
114032016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11404
11405 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11406 and repeats to unlimited.
11407 * gdb.python/py-value.exp: Likewise.
11408 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11409 and repeats to unlimited.
11410
6cfc1fcb
JK
114112016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11412
11413 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11414 and reordering the functions.
11415 * gdb.multi/hangout.c: Likewise.
11416 * gdb.multi/hello.c: Likewise.
11417
582a1b00
SM
114182016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11419
11420 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11421 absolute.
11422 (SingleStatisticTestResult.report): Use dict.keys instead of
11423 dict.iterkeys.
11424
79bc59cb
PA
114252016-01-06 Pedro Alves <palves@redhat.com>
11426
11427 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11428
43368e1d
MM
114292016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11430
11431 * gdb.btrace/dlopen.exp: New.
11432 * gdb.btrace/dlopen.c: New.
11433 * gdb.btrace/dlopen-dso.c: New.
11434
79fad5b8
SL
114352015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11436
11437 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11438 PATTERN argument is optional.
11439
ab8314b3
JB
114402015-12-24 Joel Brobecker <brobecker@adacore.com>
11441
11442 * lib/ada.exp (target_compile_ada_from_dir): New function.
11443 (gdb_compile_ada): Reimplement avoiding the use of project files.
11444 * gdb.ada/gnat_ada.gpr: Delete.
11445 * gdb.ada/cond_lang.exp: Adjust test to make path before
11446 filename optional.
11447 * gdb.ada/small_reg_param.exp: Likewise.
11448
fe33faff
SM
114492015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11450
11451 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11452
6d265cb4
TP
114532015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11454
11455 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11456 case.
11457
10125099
SM
114582015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11459
11460 * gdb.base/break.exp: Remove dead code.
11461 * gdb.base/sepdebug.exp: Likewise.
11462
3ca22649
SM
114632015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11464
11465 * gdb.asm/asm-source.exp: Remove HP-UX references.
11466 * gdb.base/annota1.exp: Likewise.
11467 * gdb.base/annota3.exp: Likewise.
11468 * gdb.base/attach.exp: Likewise.
11469 * gdb.base/bigcore.exp: Likewise.
11470 * gdb.base/break.exp: Likewise.
11471 * gdb.base/call-ar-st.exp: Likewise.
11472 * gdb.base/callfuncs.exp: Likewise.
11473 * gdb.base/catch-fork-static.exp: Likewise.
11474 * gdb.base/display.exp: Likewise.
11475 * gdb.base/foll-exec-mode.exp: Likewise.
11476 * gdb.base/foll-exec.exp: Likewise.
11477 * gdb.base/foll-fork.exp: Likewise.
11478 * gdb.base/foll-vfork.exp: Likewise.
11479 * gdb.base/funcargs.exp: Likewise.
11480 * gdb.base/hbreak2.exp: Likewise.
11481 * gdb.base/inferior-died.exp: Likewise.
11482 * gdb.base/interrupt.exp: Likewise.
11483 * gdb.base/multi-forks.exp: Likewise.
11484 * gdb.base/nodebug.exp: Likewise.
11485 * gdb.base/sepdebug.exp: Likewise.
11486 * gdb.base/solib1.c: Likewise.
11487 * gdb.base/step-test.exp: Likewise.
11488 * gdb.mi/non-stop.c: Likewise.
11489 * gdb.mi/pthreads.c: Likewise.
11490 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11491 * gdb.threads/pthreads.c: Likewise.
11492 * gdb.threads/staticthreads.exp: Likewise.
11493 * lib/future.exp: Likewise.
11494 * lib/gdb.exp: Likewise.
11495 * gdb.base/so-indr-cl.c: Remove.
11496 * gdb.base/so-indr-cl.exp: Likewise.
11497 * gdb.base/solib.c: Likewise.
11498 * gdb.base/solib.exp: Likewise.
11499 * gdb.base/solib2.c: Likewise.
11500
b6304613
SM
115012015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11502
11503 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11504 * gdb.base/call-ar-st.exp: Likewise.
11505 * gdb.base/callfuncs.exp: Likewise.
11506 * gdb.base/condbreak.exp: Likewise.
11507 * gdb.base/constvars.exp: Likewise.
11508 * gdb.base/hbreak2.exp: Likewise.
11509 * gdb.base/langs.exp: Likewise.
11510 * gdb.base/list.exp: Likewise.
11511 * gdb.base/long_long.exp: Likewise.
11512 * gdb.base/ptype.exp: Likewise.
11513 * gdb.base/scope.exp: Likewise.
11514 * gdb.base/signals.exp: Likewise.
11515 * gdb.base/so-impl-ld.exp: Likewise.
11516 * gdb.base/varargs.exp: Likewise.
11517 * gdb.base/volatile.exp: Likewise.
11518 * gdb.base/whatis.exp: Likewise.
11519 * gdb.cp/cplusfuncs.exp: Likewise.
11520 * gdb.cp/inherit.exp: Likewise.
11521 * gdb.cp/local.exp: Likewise.
11522 * gdb.cp/member-ptr.exp: Likewise.
11523 * gdb.cp/method.exp: Likewise.
11524 * gdb.cp/overload.exp: Likewise.
11525 * gdb.cp/templates.exp: Likewise.
11526 * gdb.stabs/weird.exp: Likewise.
11527 * lib/compiler.c: Likewise.
11528 * lib/compiler.cc: Likewise.
11529 * lib/cp-support.exp: Likewise.
11530 * lib/gdb.exp: Likewise.
11531
bf401b07
SM
115322015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11533
11534 * configure.ac: Remove HP-UX case.
11535 * configure: Regenerate.
11536
aff9c0f8
SM
115372015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11538
11539 * lib/gdb.exp (gdb_compile): Add function doc.
11540
a6904d5a
PA
115412015-12-17 Pedro Alves <palves@redhat.com>
11542
11543 PR threads/19354
11544 * gdb.multi/info-threads.exp: New file.
11545
a22279dd
YQ
115462015-12-15 Yao Qi <yao.qi@linaro.org>
11547
11548 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11549 is aarch64*-*-*.
11550
0588c796
SL
115512015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11552
11553 * gdb.base/history-duplicates.exp: Skip if no readline support.
11554
5d978e17
SL
115552015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11556
11557 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11558
7e763b86
SL
115592015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11560
11561 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11562
87a3a92c
SL
115632015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11564
11565 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11566 ctrl-C if nointerrupts target property is set.
11567 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11568 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11569 * gdb.base/paginate-bg-execution.exp: Likewise.
11570 * gdb.base/paginate-execution-startup.exp: Likewise.
11571 * gdb.base/random-signal.exp: Likewise.
11572 * gdb.base/range-stepping.exp: Likewise.
11573 * gdb.cp/annota2.exp: Likewise.
11574 * gdb.cp/annota3.exp: Likewise.
11575 * gdb.gdb/selftest.exp: Likewise.
11576 * gdb.threads/continue-pending-status.exp: Likewise.
11577 * gdb.threads/leader-exit.exp: Likewise.
11578 * gdb.threads/manythreads.exp: Likewise.
11579 * gdb.threads/pthreads.exp: Likewise.
11580 * gdb.threads/schedlock.exp: Likewise.
11581 * gdb.threads/sigthread.exp: Likewise.
11582
a8f077dc
DB
115832015-12-11 Don Breazeal <donb@codesourcery.com>
11584
11585 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11586 remote.
11587 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11588 * gdb.base/foll-exec.exp (main): Enable for target remote.
11589 * gdb.base/foll-fork.exp (main): Likewise.
11590 * gdb.base/foll-vfork.exp (main): Likewise.
11591 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11592 (proc continue_to_exit_bp_loc): Use clean_restart.
11593 * gdb.base/pie-execl.exp (main): Disable for target remote.
11594 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11595 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11596 * gdb.threads/execl.exp (main): Likewise.
11597 * gdb.threads/fork-child-threads.exp (main): Likewise.
11598 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11599 remote.
11600 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11601 remote.
11602 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11603 pid.tid style ptids, instead of just tid.
11604 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11605 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11606 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11607 ptids, instead of just tid.
11608
3b2464a8
AB
116092015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11610
11611 * gdb.base/list.exp (test_list_forward): Add end of file error
11612 test.
11613 (test_repeat_list_command): Add end of file error test.
11614 (test_list_backwards): Add beginning of file error test.
11615
a0def019
AB
116162015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11617
11618 * gdb.base/list.exp (test_list_invalid_args): New function,
11619 defined, and called.
11620
5c000dff
AB
116212015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11622
11623 * gdb.base/list.exp (test_list): Make test names unique.
11624
f1637ebe
YQ
116252015-12-11 Yao Qi <yao.qi@linaro.org>
11626
11627 * gdb.base/coremaker2.c: Remove.
11628
36d6fc0a
PA
116292015-12-10 Pedro Alves <palves@redhat.com>
11630
11631 * gdb.multi/base.exp: Remove stale "spaces" references.
11632
762f7747
PA
116332015-12-10 Pedro Alves <palves@redhat.com>
11634
11635 * gdb.multi/base.exp: Don't use nowarnings.
11636 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11637 * gdb.multi/hangout.c: Include stdio.h.
11638 * gdb.multi/hello.c: Include stdlib.h.
11639 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11640 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11641 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11642
28d2bfb9
AB
116432015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11644
11645 * gdb.dwarf2/dw2-ranges-base.c: New file.
11646 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11647 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11648 support additional line table, and debug ranges generation.
11649 (Dwarf::ranges): New function, generate .debug_ranges.
11650 (Dwarf::lines): Support generating simple line table programs.
11651 (Dwarf::assemble): Initialise new namespace variables.
11652
5fc2beac
KB
116532015-12-09 Kevin Buettner <kevinb@redhat.com>
11654
11655 * gdb.base/async.exp (proc test_background): Add case for
11656 asynchronous execution not supported.
11657
1c35a88f
LM
116582015-12-09 Luis Machado <lgustavo@codesourcery.com>
11659
11660 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11661 format and change test names to make them unique.
11662
b593e3d9
RK
116632015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11664 Pedro Alves <pedro@redhat.com>
11665
11666 PR gdb/18702
11667 Add checking of floatformats setup on x86_64 hosts.
11668 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11669 (smallval, bigval): New labels/constants.
11670 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11671 float" after loading bigval and smallval.
11672
d72413e6
PMR
116732015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11674
11675 * gdb.ada/fun_overload_menu.exp: New testcase.
11676 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11677
ece66d65
JS
116782015-12-04 Josh Stone <jistone@redhat.com>
11679
11680 * gdb.base/catch-fork-static.exp: New.
11681
41d0efca
YQ
116822015-12-03 Yao Qi <yao.qi@linaro.org>
11683
11684 * gdb.base/sizeof.c: Don't include stdio.h and
11685 ../lib/unbuffer_output.c.
11686 (main): New variable 'size' and 'value'. Remove printf and
11687 gdb_unbuffer_output. Assign return value to size and value.
11688 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11689 at the beginning.
11690 (check_sizeof): Check the result by printing variable 'size'.
11691 (check_valueof): Check the result by printing variable 'value'.
11692
99fd02d9
YQ
116932015-12-01 Yao Qi <yao.qi@linaro.org>
11694
11695 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11696 for aarch64*-*-linux* target.
11697
f2faf941
PA
116982015-11-30 Pedro Alves <palves@redhat.com>
11699
11700 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11701
04bf20c5
PA
117022015-11-30 Pedro Alves <palves@redhat.com>
11703
11704 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11705 Handle non-stop mode vCont replies.
11706
09df4675
PA
117072015-11-30 Pedro Alves <palves@redhat.com>
11708
11709 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11710 prepare_for_testing. Start gdb with "set non-stop on" appended to
11711 GDBFLAGS. Lax expected stop output.
11712
58b584af
YQ
117132015-11-27 Yao Qi <yao.qi@linaro.org>
11714
11715 * gdb.arch/arm-neon.exp: New.
11716 * gdb.arch/arm-neon.c: New.
11717
dfcb77a8
YQ
117182015-11-27 Yao Qi <yao.qi@linaro.org>
11719
11720 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11721
88e8ec1b
YQ
117222015-11-27 Yao Qi <yao.qi@linaro.org>
11723
11724 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11725 frames-invalid annotation.
11726
bfde72c2
YQ
117272015-11-27 Yao Qi <yao.qi@linaro.org>
11728
11729 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11730
f6512a69
SM
117312015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11732
11733 * gdb.threads/names.exp: New file.
11734 * gdb.threads/names.c: New file.
11735 * README: Mention gdb,no_thread_names.
11736
46a3515b
MM
117372015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11738
11739 PR 19297
11740 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11741 support" error.
11742
62147a22
PA
117432015-11-24 Pedro Alves <palves@redhat.com>
11744
11745 PR 17539
11746 * gdb.base/display.exp: Expect displays to be sorted in ascending
11747 order. Use multi_line.
11748 * gdb.base/solib-display.exp: Likewise.
11749
2f341b6e
PA
117502015-11-24 Pedro Alves <palves@redhat.com>
11751
11752 PR 17539
25d49b86
PA
11753 * gdb.base/display.exp: Expect displays to be sorted in ascending
11754 order. Use multi_line.
11755 * gdb.base/solib-display.exp: Likewise.
2f341b6e 11756
7e0aa6aa
PA
117572015-11-24 Pedro Alves <palves@redhat.com>
11758
11759 PR 17539
11760 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11761 threads in ascending order.
11762 * gdb.base/foll-fork.exp: Likewise.
11763 * gdb.base/foll-vfork.exp: Likewise.
11764 * gdb.base/multi-forks.exp: Likewise.
11765 * gdb.mi/mi-nonstop.exp: Likewise.
11766 * gdb.mi/mi-nsintrall.exp: Likewise.
11767 * gdb.multi/base.exp: Likewise.
11768 * gdb.multi/multi-arch.exp: Likewise.
11769 * gdb.python/py-inferior.exp: Likewise.
11770 * gdb.threads/break-while-running.exp: Likewise.
11771 * gdb.threads/execl.exp: Likewise.
11772 * gdb.threads/gcore-thread.exp: Likewise.
11773 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11774 * gdb.threads/kill.exp: Likewise.
11775 * gdb.threads/linux-dp.exp: Likewise.
11776 * gdb.threads/multiple-step-overs.exp: Likewise.
11777 * gdb.threads/next-bp-other-thread.exp: Likewise.
11778 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11779 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11780 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11781 * gdb.threads/thread-find.exp: Likewise.
11782 * gdb.threads/tls.exp: Likewise.
11783 * lib/mi-support.exp (mi_reverse_list): Delete.
11784 (mi_check_thread_states): No longer reverse list.
11785
2cc57ad8
PA
117862015-11-24 Pedro Alves <palves@redhat.com>
11787
11788 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11789 use lowercase.
11790
c93e8391
SM
117912015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11792
11793 * gdb.trace/actions.c: Include trace-common.h.
11794 (main): Add a location for a fast tracepoint.
11795 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11796 the normal tracepoints.
11797 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11798
045ccf91
SM
117992015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11800
11801 * save-trace.exp: Factor out code to these...
11802 (gdb_save_tracepoints): New.
11803 (gdb_load_tracepoints): New.
11804 (do_save_load_test): New.
11805
5506f9f6
KB
118062015-11-23 Kevin Buettner <kevinb@redhat.com>
11807
11808 * gdb.base/asmlabel.exp: New test.
11809 * gdb.base/asmlabel.c: New test case.
11810
16c3b12f
JB
118112015-11-23 Joel Brobecker <brobecker@adacore.com>
11812
11813 * gdb.base/wrong_frame_bt_full-main.c: New file.
11814 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11815 * gdb.base/wrong_frame_bt_full.exp: New file.
11816
155bfbd3
JB
118172015-11-23 Joel Brobecker <brobecker@adacore.com>
11818
11819 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11820
bb097445
JM
118212015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11822
206853a0 11823 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
11824 pstate register when comparing registers values in
11825 sparc64-*-linux-gnu targets to avoid spurious differences.
11826
9c88ed8f
JM
118272015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11828
206853a0 11829 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 11830
96161e25
SL
118312015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11832
11833 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11834 as type argument to gdb_compile.
11835 * gdb.base/nested-subp2.exp: Likewise.
11836 * gdb.base/nested-subp3.exp: Likewise.
11837
340c2830
DV
118382015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11839
11840 * lib/dwarf.exp (_note): Fix left shift of negative value.
11841 * gdb.trace/trace-condition.exp: Likewise.
11842
c1862d0f
YQ
118432015-11-13 Yao Qi <yao.qi@linaro.org>
11844
11845 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11846 comments about d10v.
11847 (test_scalar_returns): Likewise.
11848 * gdb.base/d10v.ld: Remove.
11849 * gdb.base/overlays.exp: Remove the target triplet checking for
11850 d10v-*-*.
11851 * gdb.base/structs.exp (test_struct_returns): Remove the
11852 comments about d10v.
11853 (test_struct_calls): Likewise.
11854
77ae9c19
YQ
118552015-11-13 Yao Qi <yao.qi@linaro.org>
11856
11857 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11858 * gdb.base/gnu_vector.c: Don't include stdio.h.
11859 (main): Don't print res and call add_some_intvecs.
11860
430e004e
MK
118612015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11862
11863 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11864 macro.
11865 (func5): Removed.
11866 (func4): Use FAST_TRACEPOINT_LABEL.
11867 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11868 macro.
11869 (func): Removed.
11870 (thread_function): Use FAST_TRACEPOINT_LABEL.
11871 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11872 (func): Remove.
11873 (marker): Use FAST_TRACEPOINT_LABEL.
11874 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11875 (pendfunc1): Remove.
11876 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11877 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11878 (foo): Remove.
11879 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11880 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11881 macro.
11882 (func): Remove.
11883 (marker): Use FAST_TRACEPOINT_LABEL.
11884 * gdb.trace/trace-common.h: New header.
11885 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11886 macro.
11887 (func): Remove.
11888 (marker): Use FAST_TRACEPOINT_LABEL.
11889 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11890 (func): Remove.
11891 (thread_function): Use FAST_TRACEPOINT_LABEL.
11892
6e7675a7
MK
118932015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11894
11895 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11896 in front.
11897 * gdb.trace/change-loc.exp: Use global pcreg definition.
11898 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11899 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11900 in front.
11901 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11902 * gdb.trace/pending.exp: Likewise.
11903 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11904 * gdb.trace/trace-break.exp: Likewise.
11905 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11906 in front.
11907 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11908 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11909 in front.
11910 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11911
dddc0e16
JB
119122015-11-09 Joel Brobecker <brobecker@adacore.com>
11913
11914 * gdb.ada/fin_fun_out: New testcase.
11915
c6f0b406
KB
119162015-11-07 Kevin Buettner <kevinb@redhat.com>
11917
11918 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11919 value associated with DW_AT_byte_size.
11920 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11921 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11922 DW_AT_upper_bound.
11923
f01dcfd9
KB
119242015-11-07 Kevin Buettner <kevinb@redhat.com>
11925
11926 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11927 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11928 version.
11929 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11930 gdb.dwarf2/dw2-canonicalize-type.exp,
11931 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11932 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11933 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11934 provided by gdb_target_symbol_prefix_flags_asm.
11935 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11936 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11937 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11938 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11939 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11940 macros where needed). Use this macro for symbols which require
11941 the prefix provided by SYMBOL_PREFIX.
11942
2223449a
KB
119432015-11-05 Kevin Buettner <kevinb@redhat.com>
11944
11945 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11946 New procs.
11947 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11948 representing expressions, of more than one list element.
11949 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11950 to prepend linker symbol prefix to f.
11951 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11952 table_1 and table_2.
11953 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11954 Likewise, for f and g.
11955 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11956 for ptr.
11957 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11958 for main.
11959 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11960 table_1_ptr and table_2_ptr.
11961
6f2f1a3a
JK
119622015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11963 Joel Brobecker <brobecker@adacore.com>
11964
11965 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11966
566c56c9
MK
119672015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11968
11969 * gdb.reverse/s390-mvcle.c: New test.
11970 * gdb.reverse/s390-mvcle.exp: New file.
11971 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11972
d5f0636b
MK
119732015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11974
11975 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11976
7ad8b86c
MK
119772015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11978
11979 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11980 reaching marker2.
11981 * gdb.reverse/getresuid-reverse.exp: Likewise.
11982 * gdb.reverse/pipe-reverse.exp: Likewise.
11983 * gdb.reverse/readv-reverse.exp: Likewise.
11984 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11985 * gdb.reverse/time-reverse.exp: Likewise.
11986 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11987
4081c0f1
YQ
119882015-10-30 Yao Qi <yao.qi@linaro.org>
11989
11990 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11991 (empty_cycle): Remove.
11992 (main): Don't call empty_cycle. Don't use watch_count_done.
11993 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11994 empty_cycle. Rewrite the code counting HW watchpoints.
11995
452b4ba5
MK
119962015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11997
11998 * gdb.reverse/fstatat-reverse.c: New test.
11999 * gdb.reverse/fstatat-reverse.exp: New file.
12000 * gdb.reverse/getresuid-reverse.c: New test.
12001 * gdb.reverse/getresuid-reverse.exp: New file.
12002 * gdb.reverse/pipe-reverse.c: New test.
12003 * gdb.reverse/pipe-reverse.exp: New file.
12004 * gdb.reverse/readv-reverse.c: New test.
12005 * gdb.reverse/readv-reverse.exp: New file.
12006 * gdb.reverse/recvmsg-reverse.c: New test.
12007 * gdb.reverse/recvmsg-reverse.exp: New file.
12008 * gdb.reverse/time-reverse.c: New test.
12009 * gdb.reverse/time-reverse.exp: New file.
12010 * gdb.reverse/waitpid-reverse.c: New test.
12011 * gdb.reverse/waitpid-reverse.exp: New file.
12012
5e2e7507
JK
120132015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12014
12015 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12016
0fde2c53
DE
120172015-10-26 Doug Evans <dje@google.com>
12018
12019 PR symtab/17391
12020 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12021 * gdb.dwarf2/bad-regnum.c: New file.
12022 * gdb.dwarf2/bad-regnum.exp: New file.
12023
1a70ae97
DE
120242015-10-26 Doug Evans <dje@google.com>
12025
12026 PR python/18938
12027 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12028 file.
12029
27dc26ab
JK
120302015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12031
12032 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12033 for a change by "Mention language in compile error message".
12034
bed91f4d
SM
120352015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12036
12037 PR python/18073
12038 * gdb.python/py-type.c (C::a_method): New.
12039 (C::a_const_method): New.
12040 (C::a_static_method): New.
12041 (a_function): New.
12042 * gdb.python/py-type.exp (test_fields): Test getting fields
12043 from function and method.
12044
3f2f83dd
KB
120452015-10-21 Keven Boell <keven.boell@intel.com>
12046
12047 * gdb.fortran/vla-alloc-assoc.exp: New file.
12048 * gdb.fortran/vla-datatypes.exp: New file.
12049 * gdb.fortran/vla-datatypes.f90: New file.
12050 * gdb.fortran/vla-history.exp: New file.
12051 * gdb.fortran/vla-ptype-sub.exp: New file.
12052 * gdb.fortran/vla-ptype.exp: New file.
12053 * gdb.fortran/vla-sizeof.exp: New file.
12054 * gdb.fortran/vla-sub.f90: New file.
12055 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12056 * gdb.fortran/vla-value-sub-finish.exp: New file.
12057 * gdb.fortran/vla-value-sub.exp: New file.
12058 * gdb.fortran/vla-value.exp: New file.
12059 * gdb.fortran/vla-ptr-info.exp: New file.
12060 * gdb.mi/mi-vla-fortran.exp: New file.
12061 * gdb.mi/vla.f90: New file.
12062
27145d50
SL
120632015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12064
12065 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12066 of hardwired timeout value.
12067
5f3ff4f8
JK
120682015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12069 Pedro Alves <palves@redhat.com>
12070
12071 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12072 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12073
bfd09d20
JS
120742015-10-19 Josh Stone <jistone@redhat.com>
12075
12076 * gdb.base/catch-syscall.c: Include <sched.h>.
12077 (unknown_syscall): New variable.
12078 (main): Trigger a vfork and an unknown syscall.
12079 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12080 (unknown_syscall_number): Likewise.
12081 (check_call_to_syscall): Accept an optional syscall pattern.
12082 (check_return_from_syscall): Likewise.
12083 (check_continue): Likewise.
12084 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12085 (test_catch_syscall_skipping_return): New test toggling off 'catch
12086 syscall' to step over the syscall return, then toggling back on.
12087 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12088 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12089 (do_syscall_tests): Call test_catch_syscall_without_args and
12090 test_catch_syscall_mid_vfork.
12091 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12092 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12093
b32b93c6
AS
120942015-10-19 Andrew Stubbs <ams@codesourcery.com>
12095
12096 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12097 print g_vE): Add new pass patterns.
12098 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12099 print various symbol names for vptr fields.
12100
9d622bda
AB
121012015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12102
12103 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12104 results.
12105
0fd8ac1c
YQ
121062015-10-12 Yao Qi <yao.qi@linaro.org>
12107
12108 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12109
34240514
YQ
121102015-10-12 Yao Qi <yao.qi@linaro.org>
12111
12112 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12113 is aarch64*-*-linux*.
12114
8240f442
YQ
121152015-10-12 Yao Qi <yao.qi@linaro.org>
12116
12117 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12118 (can_relocate_bcond_true): ... it.
12119 (can_relocate_bcond_false): New function.
12120 (foo): Likewise.
12121 (can_relocate_bl): Likewise.
12122 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12123 can_relocate_bl.
12124
2520f728
PMR
121252015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12126
12127 * gdb.base/nested-addr.c: New file.
12128 * gdb.base/nested-addr.exp: New testcase.
12129
abcef95a
MM
121302015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12131
12132 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12133 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12134 its output. Ignore the output of "record goto begin" and instead
12135 check that GDB is replaying.
12136
145e3ddb
PA
121372015-10-09 Pedro Alves <palves@redhat.com>
12138
12139 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12140 (top level): Use it in the run with no args test.
12141
d5d8c4e1
IB
121422015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12143
12144 * gdb.dlang/properties.exp: New file.
12145
06e635ef
SL
121462015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12147
12148 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12149 whether or not address 0x1000 is mapped on the target.
12150
e019fd1d
SM
121512015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12152
12153 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12154 build.
12155
77ba2a67
MM
121562015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12157
12158 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12159 instruction-history test.
12160
c60eb31f
DE
121612015-09-28 Doug Evans <dje@google.com>
12162
12163 * gdb.base/gcore.c (array_func): Add reference to static_array.
12164
9a3c8263
SM
121652015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12166
12167 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12168 source line.
12169
9720e656
SL
121702015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12171
12172 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12173 short or char as base type.
12174
938d3bf2
SL
121752015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12176
12177 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12178 to allow any size enum.
12179
e6c2c623
PMR
121802015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12181
12182 * gdb.ada/array_ptr_renaming.exp: New testcase.
12183 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12184 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12185
06da0f77
PL
121862015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12187
12188 * gdb.trace/ftrace-lock.c: New file.
12189 * gdb.trace/ftrace-lock.exp: New file.
12190
4f51c22a
PL
121912015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12192
12193 * gdb.arch/insn-reloc.c: New file.
12194 * gdb.arch/ftrace-insn-reloc.exp: New file.
12195
7041adf4
PL
121962015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12197
12198 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12199 instruction.
12200 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12201 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12202 * gdb.trace/range-stepping.c: Likewise.
12203 * gdb.trace/trace-break.c: Likewise.
12204 * gdb.trace/trace-mt.c (thread_function): Likewise.
12205 * gdb.trace/ftrace.c (marker): Likewise.
12206 * gdb.trace/trace-condition.c (marker): Likewise.
12207 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12208 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12209 is_aarch64_target.
12210
015d2e7e
DE
122112015-09-18 Doug Evans <xdje42@gmail.com>
12212
12213 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12214 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12215
26b188a2
SL
122162015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12217
12218 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12219 the breakpoint.
12220
79dc332b
SL
122212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12222
12223 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12224 the pending breakpoint. Remove timeout override for "Run till
12225 MI pending breakpoint on pendfunc3 on thread 2" test.
12226
f57929f2
SL
122272015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12228
12229 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12230 filename pattern.
12231
3f469b17
SL
122322015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12233
12234 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12235 in breakpoint filename pattern.
12236
515b89b3
SL
122372015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12238
7800dbe4
SL
12239 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12240
122412015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12242
515b89b3
SL
12243 * gdb.linespec/explicit.exp: Check for readline support for
12244 tab-completion tests. Fix obvious typo.
12245
d2939ba2
MM
122462015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12247
12248 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12249 and replay.
12250
cbb55fa7
MM
122512015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12252
12253 * gdb.btrace/non-stop.c: New.
12254 * gdb.btrace/non-stop.exp: New.
12255
43691ca1
PL
122562015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12257 Yao Qi <yao.qi@linaro.org>
12258
12259 * gdb.trace/trace-condition.c: New file.
12260 * gdb.trace/trace-condition.exp: New file.
12261
d78908cf
WW
122622015-09-16 Wei-cheng Wang <cole945@gmail.com>
12263
12264 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12265 for testing bytecode compilation.
12266
1ed415e2
PA
122672015-09-16 Pedro Alves <palves@redhat.com>
12268 Sandra Loosemore <sandra@codesourcery.com>
12269
12270 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12271 (SECONDS): Redefine.
12272 (main): Call pthread_kill and alarm early.
12273 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12274 support.
12275 (test): If the target can't hardware step and doesn't support
12276 displaced stepping, increase the timeout.
12277
d136eff5
PA
122782015-09-16 Pedro Alves <palves@redhat.com>
12279
12280 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12281 (enable_debug): New procedures.
12282 (test): Use them. Bail out if waiting for threads fails.
12283 (top level): Bail out if a test fails.
12284
991f019c
YQ
122852015-09-16 Yao Qi <yao.qi@linaro.org>
12286
12287 * gdb.asm/asm-source.exp: Set asm-arch for
12288 aarch64*-*-* target.
12289 * gdb.asm/aarch64.inc: New file.
12290
bfca584f
PMR
122912015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12292
12293 * gdb.ada/array_of_variable_length.exp: New testcase.
12294 * gdb.ada/array_of_variable_length/foo.adb: New file.
12295 * gdb.ada/array_of_variable_length/pck.adb: New file.
12296 * gdb.ada/array_of_variable_length/pck.ads: New file.
12297
b326e587
DE
122982015-09-15 Doug Evans <dje@google.com>
12299
12300 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12301 of function static local variable.
12302
5382cfab
PW
123032015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12304
12305 * gdb.threads/tls-so_extern.exp: New test file.
12306 * gdb.threads/tls-so_extern.c: New test file.
12307 * gdb.threads/tls-so_extern_main.c: New test file.
12308
141c5cc4
JK
123092015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12310
12311 * gdb.opt/solib-intra-step-lib.c: New file.
12312 * gdb.opt/solib-intra-step-main.c: New file.
12313 * gdb.opt/solib-intra-step.exp: New file.
12314
d15dcecd
PA
123152015-09-15 Pedro Alves <palves@redhat.com>
12316
12317 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12318 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12319
4c2f2a79
PA
123202015-09-14 Pedro Alves <palves@redhat.com>
12321
12322 * gdb.base/hook-stop-continue.c: Delete.
12323 * gdb.base/hook-stop-continue.exp: Delete.
12324 * gdb.base/hook-stop-frame.c: Delete.
12325 * gdb.base/hook-stop-frame.exp: Delete.
12326 * gdb.base/hook-stop.c: New file.
12327 * gdb.base/hook-stop.exp: New file.
12328
919e6dbe
PMR
123292015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12330
12331 * gdb.ada/access_to_packed_array.exp: New testcase.
12332 * gdb.ada/access_to_packed_array/foo.adb: New file.
12333 * gdb.ada/access_to_packed_array/pack.adb: New file.
12334 * gdb.ada/access_to_packed_array/pack.ads: New file.
12335
157280a4
MM
123362015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12337
12338 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12339 buffer size test.
12340
2fd33e94
DB
123412015-09-11 Don Breazeal <donb@codesourcery.com>
12342
12343 * gdb.base/foll-exec.c: Add copyright header. Fix
12344 formatting issues.
12345 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12346 (do_exec_tests): Use clean_restart in place of zap_session,
12347 and for test initialization. Fix formatting issues. Use
12348 fail in place of perror.
12349 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12350 an expect statement to match an expression with output from
12351 the program under debug.
12352 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12353 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12354 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12355 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12356 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12357
e70b6e8e
DE
123582015-09-09 Doug Evans <dje@google.com>
12359
12360 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12361
7a551a51
DE
123622015-09-09 Doug Evans <dje@google.com>
12363
12364 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12365
4c666f84
DE
123662015-09-09 Doug Evans <dje@google.com>
12367
12368 * gdb.base/savedregs.exp: Fix typo.
12369
243a9253
PA
123702015-09-09 Pedro Alves <palves@redhat.com>
12371
12372 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12373
c0fa8fbd
SL
123742015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12375
12376 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12377 command actually switches threads. Give up on remaining
12378 tests if target fails to stop at breakpoint.
12379
cd7c1778
PMR
123802015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12381
12382 * gdb.ada/funcall_char.exp: New testcase.
12383 * gdb.ada/funcall_char/foo.adb: New file.
12384
dc5c8746
PMR
123852015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12386
12387 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12388 expected outputs. Add two testcases for completing ambiguous
12389 functions.
12390 * gdb.ada/complete/aux_pck.adb: New file.
12391 * gdb.ada/complete/aux_pck.ads: New file.
12392 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12393 Ambiguous_Func functions.
12394 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12395 * gdb.ada/complete/pck.adb: Likewise.
12396
4e83a1e7
UW
123972015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12398
12399 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12400 failures to run the test program under GDB.
12401
8ce74153
LM
124022015-08-26 Luis Machado <lgustavo@codesourcery.com>
12403
12404 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12405 to C.
12406
e9756d52
PP
124072015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12408
12409 * gdb.base/run-after-attach.exp: New test file.
12410 * gdb.base/run-after-attach.c: New test file.
12411
8d37573b
DB
124122015-08-26 Don Breazeal <donb@codesourcery.com>
12413
12414 * gdb.base/foll-exec-2.c: New test program.
12415 * gdb.base/foll-exec-2.exp: New test.
12416
63e43d3a
PMR
124172015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12418
12419 * gdb.base/nested-subp1.exp: New file.
12420 * gdb.base/nested-subp1.c: New file.
12421 * gdb.base/nested-subp2.exp: New file.
12422 * gdb.base/nested-subp2.c: New file.
12423 * gdb.base/nested-subp3.exp: New file.
12424 * gdb.base/nested-subp3.c: New file.
12425
3d40fbb5
PA
124262015-08-24 Pedro Alves <palves@redhat.com>
12427
12428 * gdb.server/connect-without-multi-process.c: New file.
12429 * gdb.server/connect-without-multi-process.exp: New file.
12430
4422ac93
LM
124312015-08-24 Luis Machado <lgustavo@codesourcery.com>
12432
12433 * gdb.opt/inline-markers.c: Make z int.
12434
91dddb86
LM
124352015-08-24 Luis Machado <lgustavo@codesourcery.com>
12436
12437 * gdb.opt/inline-markers.c: Make z volatile.
12438
a48847ee
LM
124392015-08-24 Luis Machado <lgustavo@codesourcery.com>
12440
12441 * gdb.opt/inline-bt.c: New volatile global z.
12442 * gdb.opt/inline-cmds.c: Likewise.
12443 * gdb.opt/inline-locals.c: Likewise.
12444 * gdb.opt/inline-markers.c: New extern global z.
12445 (marker): Use z.
12446 (inline_fn): Likewise.
12447
0ebbc52b
PA
124482015-08-24 Pedro Alves <palves@redhat.com>
12449
12450 * config/m32r-stub.exp: Remove file.
12451 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12452 * gdb.base/call-rt-st.exp: Likewise.
12453 * gdb.base/call-strs.exp: Likewise.
12454 * gdb.base/default.exp: Remove references to h8300-*-hms and
12455 *-*-udi*.
12456 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12457
77c365df
AA
124582015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12459
12460 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12461 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12462 and "return" use KFAIL when GDB can not read/write the vector
12463 return value.
12464
4313b8c0
GB
124652015-08-21 Gary Benson <gbenson@redhat.com>
12466
12467 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12468
0e433b32
PA
124692015-08-20 Pedro Alves <palves@redhat.com>
12470
12471 * gdb.server/solib-list.exp: No longer expect an interior stop in
12472 non-stop mode.
12473
221e1a37
PA
124742015-08-20 Pedro Alves <palves@redhat.com>
12475
12476 * gdb.server/connect-stopped-target.c: New file.
12477 * gdb.server/connect-stopped-target.exp: New file.
12478
40e3ad0e
PA
124792015-08-20 Pedro Alves <palves@redhat.com>
12480
12481 * gdb.dwarf2/comp-unit-lang.exp: New file.
12482 * gdb.dwarf2/comp-unit-lang.c: New file.
12483
af39b327
PMR
124842015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12485
12486 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12487 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12488
7d45c7c3 124892015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 12490
7d45c7c3
KB
12491 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12492 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12493
4d6cceb4
DE
124942015-08-18 Doug Evans <dje@google.com>
12495 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12496
12497 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12498 skip_python_tests. New arg prompt_regexp.
12499 (skip_python_tests): New function.
12500 * lib/mi-support.exp (mi_skip_python_tests): New function.
12501 * gdb.python/py-mi-objfile-gdb.py: New file.
12502 * gdb.python/py-mi-objfile.c: New file.
12503 * gdb.python/py-mi-objfile.exp: New file.
12504
ad89c2aa
KS
125052015-08-17 Keith Seitz <keiths@redhat.com>
12506
12507 * gdb.linespec/explicit.exp: Move strace test from here ...
12508 * gdb.trace/strace.exp: ... to here.
12509
e3ae3c43
PP
125102015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12511
12512 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12513 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12514
604b2636
DE
125152015-08-14 Doug Evans <xdje42@gmail.com>
12516
12517 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12518 inferior before selecting a new file.
12519
6ff0ba5f
DE
125202015-08-14 Doug Evans <xdje42@gmail.com>
12521
12522 * gdb.mi/mi-disassemble.exp: Update.
12523 * gdb.base/disasm-optim.S: New file.
12524 * gdb.base/disasm-optim.c: New file.
12525 * gdb.base/disasm-optim.h: New file.
12526 * gdb.base/disasm-optim.exp: New file.
12527
9ca98f92
KS
125282015-08-14 Keith Seitz <keiths@redhat.com>
12529
12530 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12531 "evaluated-by".
12532
52bbc560
JB
125332015-08-13 Joel Brobecker <brobecker@adacore.com>
12534
12535 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12536
5d8c3ed3
PMR
125372015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12538
12539 * gdb.ada/fun_renaming.exp: New testcase.
12540 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12541 * gdb.ada/fun_renaming/pack.adb: New file.
12542 * gdb.ada/fun_renaming/pack.ads: New file.
12543
ea8812bc
KS
125442015-08-12 Keith Seitz <keiths@redhat.com>
12545
12546 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12547 gdb_get_line_number.
12548
4dafcdeb
JB
125492015-08-12 Joel Brobecker <brobecker@adacore.com>
12550
12551 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12552 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12553 gdb.base/dso2dso.exp: New files.
12554
5ba32597
SDJ
125552015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12556 Pedro Alves <palves@redhat.com>
12557 Keith Seitz <keiths@redhat.com>
12558
12559 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12560 GDBFLAGS.
12561
b6dafabf
PP
125622015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12563
12564 * gdb.base/gdbhistsize-history.exp
12565 (test_histsize_history_setting): Use save_vars.
12566 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12567 Use save_vars.
12568 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12569 * gdb.base/readline.exp: Use save_vars.
12570
abe8e607
PP
125712015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12572
12573 * lib/gdb.exp (save_vars): New proc.
12574
629500fa
KS
125752015-08-11 Keith Seitz <keiths@redhat.com>
12576
12577 * gdb.base/help.exp: Update help_breakpoint_text.
12578
eb8c4e2e
KS
125792015-08-11 Keith Seitz <keiths@redhat.com>
12580
12581 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12582 (at toplevel): Call test_explicit_breakpoints.
12583 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12584 breakpoints.
12585 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12586 breakpoint conditions, "-cond".
12587
87f0e720
KS
125882015-08-11 Keith Seitz <keiths@redhat.com>
12589
12590 * gdb.linespec/3explicit.c: New file.
12591 * gdb.linespec/cpexplicit.cc: New file.
12592 * gdb.linespec/cpexplicit.exp: New file.
12593 * gdb.linespec/explicit.c: New file.
12594 * gdb.linespec/explicit.exp: New file.
12595 * gdb.linespec/explicit2.c: New file.
12596 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12597 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12598 before using in the matching pattern.
12599 Clarify that `prefix' is a regular expression.
12600
f00aae0f
KS
126012015-08-11 Keith Seitz <keiths@redhat.com>
12602
12603 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12604 test.
12605 Add tests for missing ",FMT" and ",".
12606
e27852be
DE
126072015-08-10 Doug Evans <dje@google.com>
12608 Keith Seitz <keiths@redhat.com>
12609
12610 PR gdb/17960
12611 * gdb.base/completion.exp: Add location completer tests.
12612
7f03bd92
PA
126132015-08-07 Pedro Alves <palves@redhat.com>
12614
12615 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12616 tests here.
12617 (top level): Run do_test with and without displaced stepping.
12618
3fc8eb30
PA
126192015-08-07 Pedro Alves <palves@redhat.com>
12620
12621 * gdb.base/valgrind-disp-step.c: New file.
12622 * gdb.base/valgrind-disp-step.exp: New file.
12623
d4569d7b
PA
126242015-08-07 Pedro Alves <palves@redhat.com>
12625
12626 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12627 Delete function.
12628 (main): Add alarm. Run an infinite loop instead of calling
12629 wait_threads.
12630 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12631 comment.
12632 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12633 Delete function.
12634 (main): Add alarm. Run an infinite loop instead of calling
12635 wait_threads.
12636 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12637 comment.
12638
e1316e60
PA
126392015-08-07 Pedro Alves <palves@redhat.com>
12640
12641 * gdb.base/checkpoint-ns.exp: New file.
12642 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12643 standard_testfile.
12644
da8c46d2
MM
126452015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12646
12647 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12648 * gdb.btrace/instruction_history.exp: Update.
12649 * gdb.btrace/tsx.exp: New.
12650 * gdb.btrace/tsx.c: New.
12651
de1c2c52
PA
126522015-08-06 Pedro Alves <palves@redhat.com>
12653
12654 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12655 increase timeout.
12656 * gdb.reverse/until-precsave.exp: Bump timeouts.
12657
782e0bf4
PA
126582015-08-06 Pedro Alves <palves@redhat.com>
12659
12660 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12661
83e97ed0
PA
126622015-08-06 Pedro Alves <palves@redhat.com>
12663
12664 PR gdb/18749
12665 * gdb.threads/process-dies-while-handling-bp.c: New file.
12666 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12667
863d01bd
PA
126682015-08-06 Pedro Alves <palves@redhat.com>
12669
12670 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12671 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12672
0a39bb32
PA
126732015-08-05 Pedro Alves <palves@redhat.com>
12674
12675 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12676 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12677
ee2d2b10
SL
126782015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12679
12680 * gdb.base/bp-permanent.exp: Report test as unsupported if
12681 the target cannot stop at the permanent breakpoint.
12682
4e1bdb00
DE
126832015-08-03 Doug Evans <dje@google.com>
12684
12685 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12686 10000.
12687
3d338901
DE
126882015-08-03 Doug Evans <dje@google.com>
12689
12690 * Makefile.in (workers/%.worker, build-perf): New rule.
12691 (GDB_PERFTEST_MODE): New variable.
12692 (check-perf): Use it.
12693 (clean): Clean up gdb.perf parallel build subdirs.
12694 * lib/build-piece.exp: New file.
12695 * lib/gdb.exp (make_gdb_parallel_path): New function
12696 (standard_output_file, standard_temp_file): Call it.
12697 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12698 of $GDB_PARALLEL.
12699 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12700
af061d3e
DE
127012015-08-03 Doug Evans <dje@google.com>
12702
8e1afc81 12703 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
12704 (LOG_FILE_NAME): New global.
12705 (TextReporter.__init__): Initialize self.txt_sum.
12706 (TextReporter.report): Add support for multiple data-points.
12707 Move report to perftest.sum, put raw data in perftest.log.
12708 (TextReporter.start): Open sum and log files.
12709 (TextReporter.end): Close sum and log files.
8e1afc81
DE
12710 * gdb.perf/lib/perftest/testresult.py
12711 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 12712
2c8c5d37
PA
127132015-07-31 Pedro Alves <palves@redhat.com>
12714
12715 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12716 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12717 kill_wait_spawned_process instead of explicit "kill -9".
12718 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12719 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12720 kill_wait_spawned_process.
12721 * gdb.base/attach-twice.exp: Likewise.
12722 * gdb.base/attach.exp: Likewise.
12723 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12724 gdb_test_multiple.
12725 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12726 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12727 kill_wait_spawned_process.
12728 * gdb.base/valgrind-infcall.exp: Likewise.
12729 * gdb.multi/multi-attach.exp: Likewise.
12730 * gdb.python/py-prompt.exp: Likewise.
12731 * gdb.python/py-sync-interp.exp: Likewise.
12732 * gdb.server/ext-attach.exp: Likewise.
12733 * gdb.threads/attach-into-signal.exp (corefunc): Use
12734 spawn_wait_for_attach, spawn_id_get_pid and
12735 kill_wait_spawned_process.
12736 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12737 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12738 spawn_id_get_pid and kill_wait_spawned_process.
12739 * gdb.threads/attach-stopped.exp (corefunc): Use
12740 spawn_wait_for_attach, spawn_id_get_pid and
12741 kill_wait_spawned_process.
12742 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12743 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12744 kill_wait_spawned_process instead of explicit "kill -9".
12745 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12746 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12747 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12748 processes. Don't map cygwin/windows pids here. Now returns a
12749 spawn id list.
12750
032a0fca
SL
127512015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12752
12753 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12754 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12755 correct patch.
12756
61a934ca
SL
127572015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12758
12759 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12760
4bc4d428
SL
127612015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12762
12763 Reapply:
12764 2014-05-21 Mark Wielaard <mjw@redhat.com>
12765
12766 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12767
998d452a
PA
127682015-07-30 Pedro Alves <palves@redhat.com>
12769
12770 * linux-low.c (handle_extended_wait): Set the child's last
12771 reported status to TARGET_WAITKIND_STOPPED.
12772
69dde7dc
PA
127732015-07-30 Pedro Alves <palves@redhat.com>
12774
12775 PR threads/18600
12776 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12777 only shows inferior 1.
12778
4dd63d48
PA
127792015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12780 Pedro Alves <palves@redhat.com>
12781
12782 PR threads/18600
12783 * gdb.threads/fork-plus-threads.c: New file.
12784 * gdb.threads/fork-plus-threads.exp: New file.
12785
d618e4c5
PP
127862015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12787
12788 * gdb.base/batch-preserve-term-settings.exp
12789 (test_terminal_settings_preserved_after_cli_exit): Use
12790 send_quit_command.
12791
1eef6428
PA
127922015-07-29 Pedro Alves <palves@redhat.com>
12793 Don Breazeal <donb@codesourcery.com>
12794
12795 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12796 output from both inferior_spawn_id and gdb_spawn_id.
12797
7da5b897
SDJ
127982015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12799
12800 * gdb.threads/attach-into-signal.exp (corefunc): Use
12801 with_test_prefix on nested loops, uniquefying the test messages.
12802
dac804df
SDJ
128032015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12804
12805 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12806 commit.
12807
06265e53
PP
128082015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12809
12810 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12811 New proc.
12812 (test_terminal_settings_preserved_after_sigterm): New test.
12813
18206ca3
PP
128142015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12815
12816 * gdb.base/batch-preserve-term-settings.exp
12817 (test_terminal_settings_preserved_after_cli_exit): New test.
12818
90074d11
PP
128192015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12820
12821 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12822 manipulation of saved_gdbflags.
12823 (test_terminal_settings_preserved): Remove global declaration of
12824 the unused variable pagination_prompt. Remove manipulation of
12825 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12826 GDBFLAGS.
12827
eb1a7902
PA
128282015-07-29 Pedro Alves <palves@redhat.com>
12829
12830 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12831
8b75dd3b
PA
128322015-07-29 Pedro Alves <palves@redhat.com>
12833
12834 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12835 at the top.
12836
dedad4e3
PA
128372015-07-29 Pedro Alves <palves@redhat.com>
12838
12839 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12840 (main): Call gdb_unbuffer_output.
12841 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12842 (main): Call gdb_unbuffer_output.
12843 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12844 (main): Call gdb_unbuffer_output.
12845 * gdb.base/call-strs.exp: Adjust to step over the
12846 gdb_unbuffer_output call.
12847 * gdb.base/catch-gdb-caused-signals.c: Include
12848 "../lib/unbuffer_output.c".
12849 (main): Call gdb_unbuffer_output.
12850 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12851 (main): Call gdb_unbuffer_output.
12852 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12853 (main): Call gdb_unbuffer_output.
12854 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12855 (main): Call gdb_unbuffer_output.
12856 * gdb.base/shlib-call.exp: Adjust to step over the
12857 gdb_unbuffer_output call.
12858 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12859 (main): Call gdb_unbuffer_output.
12860 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12861 (main): Call gdb_unbuffer_output.
12862 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12863 (main): Rename to ...
12864 (test): ... this.
12865 (main): Reimplement.
12866 * gdb.base/varargs.exp: Run to test instead of to main.
12867 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12868 (main): Call gdb_unbuffer_output.
12869
58789a91
PA
128702015-07-29 Pedro Alves <palves@redhat.com>
12871
12872 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12873 factore out from mi_continue_dprintf. For call-style dprintfs,
12874 expect dprintf output out of $inferior_spawn_id.
12875 (mi_continue_dprintf): Use mi_expect_dprintf.
12876 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12877 (main): Call gdb_unbuffer_output.
12878
e8376742
PA
128792015-07-29 Pedro Alves <palves@redhat.com>
12880
12881 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12882 (default_mi_gdb_start): Set inferior_spawn_id instead of
12883 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12884 gdb_spawn_id.
12885 (mi_gdb_test): Always expect inferior output from both
12886 $inferior_spawn_id and $gdb_spawn_id.
12887
08280010
PA
128882015-07-29 Pedro Alves <palves@redhat.com>
12889
12890 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12891 send_inferior and $inferior_spawn_id.
12892
4d30e432
PA
128932015-07-29 Pedro Alves <palves@redhat.com>
12894
12895 * gdb.gdb/complaints.exp (test_initial_complaints)
12896 (test_serial_complaints, test_short_complaints): Use
12897 gdb_test_stdio.
12898 (test_empty_complaint): Handle $inferior_spawn_id !=
12899 $gdb_spawn_id.
12900
0d30a335
PA
129012015-07-29 Pedro Alves <palves@redhat.com>
12902
12903 * gdb.base/varargs.exp: Use gdb_test_stdio.
12904
39413b29
PA
129052015-07-29 Pedro Alves <palves@redhat.com>
12906
12907 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12908
7cb000a9
PA
129092015-07-29 Pedro Alves <palves@redhat.com>
12910
12911 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12912
d7b8ac82
PA
129132015-07-29 Pedro Alves <palves@redhat.com>
12914
12915 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12916 parameter into two new parameters, "inf_result" and "gdb_result".
12917 Expect inferior output and gdb output from $inferior_spawn_id and
12918 $gdb_spawn_id, respectively. Adjust all callers.
12919
789c3a0c
PA
129202015-07-29 Pedro Alves <palves@redhat.com>
12921
12922 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12923 of gdb_test_sequence.
12924
77e760c3
PA
129252015-07-29 Pedro Alves <palves@redhat.com>
12926
12927 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12928 (saw_spurious_output): Expect inferior output from
12929 $inferior_spawn_id. Use gdb_test_stdio.
12930
8396d2cd
PA
129312015-07-29 Pedro Alves <palves@redhat.com>
12932
12933 * gdb.base/dprintf.exp: Use standard_testfile. Change
12934 prepare_for_testing call.
12935 (srcfile): Don't set.
12936 (restart): New procedure.
12937 (test_dprintf): New procecure, use to continue over dprintfs.
12938 (test_call, test_agent): New procedures, tests moved here.
12939 Restart gdb and recreate dprintfs. Adjust expected output.
12940
2051d61f
PA
129412015-07-29 Pedro Alves <palves@redhat.com>
12942
12943 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12944
452397af
PA
129452015-07-29 Pedro Alves <palves@redhat.com>
12946
12947 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12948
8aed9555
PA
129492015-07-29 Pedro Alves <palves@redhat.com>
12950
12951 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12952 gdb_test_stdio.
12953
188a61b4
PA
129542015-07-29 Pedro Alves <palves@redhat.com>
12955
12956 * lib/gdb.exp (gdb_test_stdio): New procedure.
12957
12264a45
PA
129582015-07-29 Pedro Alves <palves@redhat.com>
12959
12960 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12961
23ffc893
PA
129622015-07-29 Pedro Alves <palves@redhat.com>
12963
12964 * gdb.base/call-signal-resume.exp: Remove check for
12965 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12966 * gdb.base/unwindonsignal.exp: Likewise.
12967 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12968 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12969
65566918
PA
129702015-07-29 Pedro Alves <palves@redhat.com>
12971
12972 * gdb.base/siginfo-addr.c (pass): New function.
12973 (handler): Call it iff si_addr is correct.
12974 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12975 Set a breakpoint at "pass" and continue to it.
12976
d60a9221
SDJ
129772015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12978
12979 * gdb.python/py-objfile.exp: Make some tests have unique names.
12980 * gdb.python/py-pp-registration.exp: Likewise.
12981
bde40b8f
PA
129822015-07-28 Pedro Alves <palves@redhat.com>
12983
12984 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12985
13e1dec8
SM
129862015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12987
12988 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12989
da33c9a7
SM
129902015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12991
12992 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12993
077836f7
PP
129942015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12995
12996 * gdb.base/gdb-sigterm-2.exp: New test.
12997
b8cc7b2e
DE
129982015-07-25 Doug Evans <xdje42@gmail.com>
12999
13000 Revert:
13001 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13002 (workers/%.worker, build-perf): New rule.
13003 (GDB_PERFTEST_MODE): New variable.
13004 (check-perf): Use it.
13005 (clean): Clean up gdb.perf parallel build subdirs.
13006 * lib/build-piece.exp: New file.
13007 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13008 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13009 name.
13010 (standard_temp_file): Ditto.
13011 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13012 of $GDB_PARALLEL.
13013
c8bd4544
DE
130142015-07-24 Doug Evans <dje@google.com>
13015
13016 * gdb.perf/lib/perftest/utils.py: New file.
13017 * gdb.perf/gm-hello.cc: New file.
13018 * gdb.perf/gm-pervasive-typedef.cc: New file.
13019 * gdb.perf/gm-pervasive-typedef.h: New file.
13020 * gdb.perf/gm-std.cc: New file.
13021 * gdb.perf/gm-std.h: New file.
13022 * gdb.perf/gm-use-cerr.cc: New file.
13023 * gdb.perf/gm-utils.h: New file.
13024 * gdb.perf/gmonster-null-lookup.py: New file.
13025 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13026 * gdb.perf/gmonster-print-cerr.py: New file.
13027 * gdb.perf/gmonster-ptype-string.py: New file.
13028 * gdb.perf/gmonster-runto-main.py: New file.
13029 * gdb.perf/gmonster-select-file.py: New file.
13030 * gdb.perf/gmonster1-null-lookup.exp: New file.
13031 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13032 * gdb.perf/gmonster1-print-cerr.exp: New file.
13033 * gdb.perf/gmonster1-ptype-string.exp: New file.
13034 * gdb.perf/gmonster1-runto-main.exp: New file.
13035 * gdb.perf/gmonster1-select-file.exp: New file.
13036 * gdb.perf/gmonster1.cc: New file.
13037 * gdb.perf/gmonster1.exp: New file.
13038 * gdb.perf/gmonster2-null-lookup.exp: New file.
13039 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13040 * gdb.perf/gmonster2-print-cerr.exp: New file.
13041 * gdb.perf/gmonster2-ptype-string.exp: New file.
13042 * gdb.perf/gmonster2-runto-main.exp: New file.
13043 * gdb.perf/gmonster2-select-file.exp: New file.
13044 * gdb.perf/gmonster2.cc: New file.
13045 * gdb.perf/gmonster2.exp: New file.
13046
6eab34f3
DE
130472015-07-24 Doug Evans <dje@google.com>
13048
13049 * gdb.perf/README: New file.
13050 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13051 * lib/gen-perf-test.exp: New file.
13052
63738bfd
DE
130532015-07-24 Doug Evans <dje@google.com>
13054
13055 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13056 (PerfTest::startup): New function.
13057 (PerfTest::run): Return result of calling body.
13058 (PerfTest::assemble): Rewrite.
13059 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13060 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13061 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13062 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13063 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13064
7b606f95
DE
130652015-07-24 Doug Evans <dje@google.com>
13066
13067 * lib/gdb.exp (clean_restart): Make executable optional.
13068
a97b16b8
DE
130692015-07-24 Doug Evans <dje@google.com>
13070
13071 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13072 compiler_info references.
13073 * gdb.cp/temargs.exp: Ditto.
13074 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13075 (get_compiler_info): Early exit if already computed. Set compiler_info
13076 to "unknown" if there was a problem.
13077 (test_compiler_info): Add function comment. Call get_compiler_info.
13078
35baa57f
DE
130792015-07-24 Doug Evans <dje@google.com>
13080
13081 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13082 (workers/%.worker, build-perf): New rule.
13083 (GDB_PERFTEST_MODE): New variable.
13084 (check-perf): Use it.
13085 (clean): Clean up gdb.perf parallel build subdirs.
13086 * lib/build-piece.exp: New file.
13087 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13088 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13089 name.
13090 (standard_temp_file): Ditto.
13091 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13092 of $GDB_PARALLEL.
13093
6ebea266
DE
130942015-07-24 Doug Evans <dje@google.com>
13095
13096 * lib/future.exp (gdb_default_target_compile): New option
13097 "early_flags".
13098 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13099 --as-needed.
13100
1e76a7e9
SDJ
131012015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13102
13103 * gdb.base/catch-syscall.exp: Call gdb_exit before
13104 gdb_skip_xml_test.
13105
5068630a
PA
131062015-07-24 Pedro Alves <palves@redhat.com>
13107
13108 * gdb.python/py-events.exp: Accept output between the stop event
13109 and the prompt.
13110 * gdb.python/py-evsignal.exp: Likewise.
13111 * gdb.python/py-evthreads.exp: Likewise.
13112
77598427
PA
131132015-07-24 Pedro Alves <palves@redhat.com>
13114
13115 PR gdb/18717
13116 * gdb.threads/non-ldr-exit.c: New file.
13117 * gdb.threads/non-ldr-exit.exp: New file.
13118
11e6c98f
YQ
131192015-07-24 Yao Qi <yao.qi@linaro.org>
13120
13121 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13122 restarting process.
13123
51aee833
YQ
131242015-07-24 Yao Qi <yao.qi@linaro.org>
13125
13126 * gdb.server/ext-restart.exp: New file.
13127
8cfe207c
YQ
131282015-07-24 Yao Qi <yao.qi@linaro.org>
13129
13130 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13131 argument options.
13132 * gdb.server/ext-wrapper.exp: New file.
13133
cc12ce38
DE
131342015-07-23 Doug Evans <dje@google.com>
13135
13136 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13137 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13138
d0d84780
PMR
131392015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13140
13141 * gdb.ada/var_arr_typedef.exp: New testcase.
13142 * gdb.ada/var_arr_typedef/pack.adb: New file.
13143 * gdb.ada/var_arr_typedef/pack.ads: New file.
13144 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13145
8b558f79
JB
131462015-07-20 Joel Brobecker <brobecker@adacore.com>
13147
13148 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13149
775a3298
JK
131502015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13151
13152 * gdb.arch/i386-biarch-core.exp: Replace istarget
13153 by "complete set gnutarget". Remove expectation for the "core-file"
13154 command.
13155
db1ff28b
JK
131562015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13157
13158 Revert the previous commit:
13159 Tests for validate symbol file using build-id.
13160
0a94970d
JK
131612015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13162
13163 Tests for validate symbol file using build-id.
13164 * gdb.base/solib-mismatch-lib.c: New file.
13165 * gdb.base/solib-mismatch-libmod.c: New file.
13166 * gdb.base/solib-mismatch.c: New file.
13167 * gdb.base/solib-mismatch.exp: New file.
13168
03346981
SL
131692015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13170
13171 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13172 nios2-*-linux*.
13173 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13174 * gdb.base/siginfo.exp: Likewise.
13175 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13176
42422cc7
PL
131772015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13178
13179 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13180 Move it to ...
13181 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13182 ... here.
13183 * gdb.trace/range-stepping.exp: Check that the target supports
13184 range stepping.
13185
cfa68bae
JK
131862015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13187
13188 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13189
8ffdba26
PA
131902015-07-14 Pedro Alves <palves@redhat.com>
13191
13192 * gdb.base/killed-outside.exp: New file.
13193 * gdb.base/killed-outside.c: New file.
13194
218a5a11
JK
131952015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13196
13197 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13198 (n at main): New.
13199 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13200
e03ed3c6
AA
132012015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13202
13203 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13204 infcall tests instead of setting up for KFAIL.
13205
485668e5
MM
132062015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13207
13208 * gdb.btrace/record_goto-step.exp: New.
13209
08464196
JK
132102015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13211
13212 PR compile/18484
13213 * gdb.compile/compile.c (struct struct_type): Add volatile to
13214 selffield's type.
13215 * gdb.compile/compile.exp
13216 (compile code struct_object.selffield = &struct_object): Skip further
13217 struct_object tests if this one xfails.
13218
bcf5c1d9
RC
132192015-07-08 Robert O'Callahan <robert@ocallahan.org>
13220
13221 PR exp/18617
13222 * gdb.trace/ax.exp: Add test.
13223
4931af25
YQ
132242015-07-07 Yao Qi <yao.qi@linaro.org>
13225
13226 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13227 instead of istarget "aarch64*-*-*".
13228 * gdb.arch/aarch64-fp.exp: Likewise.
13229 * gdb.base/float.exp: Likewise.
13230 * gdb.reverse/aarch64.exp: Likewise.
13231 * lib/gdb.exp (is_aarch64_target): New proc.
13232
9fcf688e
YQ
132332015-07-07 Yao Qi <yao.qi@linaro.org>
13234
13235 * lib/gdb.exp (is_aarch32_target): New proc.
13236 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13237 instead of "istarget "arm*-*-*"".
13238 * gdb.arch/arm-disp-step.exp: Likewise.
13239 * gdb.arch/thumb-bx-pc.exp: Likewise.
13240 * gdb.arch/thumb-prologue.exp: Likewise.
13241 * gdb.arch/thumb-singlestep.exp: Likewise.
13242 * gdb.base/disp-step-syscall.exp: Likewise.
13243 * gdb.base/float.exp: Likewise.
13244
fbd8d50d
YQ
132452015-07-07 Yao Qi <yao.qi@linaro.org>
13246
13247 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13248 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13249
71be1fdc
YQ
132502015-07-07 Yao Qi <yao.qi@linaro.org>
13251
13252 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13253 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13254 if it exists.
13255 * gdb.multi/multi-arch.exp: Likewise.
13256
3e221d36
SM
132572015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13258
13259 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13260 print.
13261
d441430b
YQ
132622015-07-07 Yao Qi <yao.qi@linaro.org>
13263
13264 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13265
06f810bd
MG
132662015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13267
13268 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13269 '[' and ']' characters.
13270
5e61e7c0
IB
132712015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13272
13273 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13274
28bf096c
PA
132752015-06-29 Pedro Alves <palves@redhat.com>
13276
13277 PR threads/18127
13278 * gdb.threads/hand-call-new-thread.c: New file.
13279 * gdb.threads/hand-call-new-thread.c: New file.
13280
ee93cd5e
KS
132812015-06-26 Keith Seitz <keiths@redhat.com>
13282 Doug Evans <dje@google.com>
13283
13284 PR 16253
13285 * gdb.cp/var-tag-2.cc: New file.
13286 * gdb.cp/var-tag-3.cc: New file.
13287 * gdb.cp/var-tag-4.cc: New file.
13288 * gdb.cp/var-tag.cc: New file.
13289 * gdb.cp/var-tag.exp: New file.
13290
fc637f04
PP
132912015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13292
13293 * gdb.base/history-duplicates.exp: New test.
13294
2e52ae68
PP
132952015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13296
13297 * gdb.base/completion.exp: Test the completion of the "focus"
13298 command.
13299
6e22494e
JK
133002015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13301
13302 * gdb.arch/amd64-prologue-skip.S: New file.
13303 * gdb.arch/amd64-prologue-skip.exp: New file.
13304
bf7b9cd9
SM
133052015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13306
13307 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13308 is_address_zero_readable check.
13309
201e8dfd
PB
133102015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13311
13312 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13313 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13314
5cd867b4
YQ
133152015-06-24 Yao Qi <yao.qi@linaro.org>
13316
13317 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13318 linux targets.
13319
4d7be007
YQ
133202015-06-24 Yao Qi <yao.qi@linaro.org>
13321
13322 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13323 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13324 * gdb.base/siginfo-thread.exp: Likewise.
13325
07fcd301
YQ
133262015-06-22 Yao Qi <yao.qi@linaro.org>
13327
13328 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13329
52042a00
YQ
133302015-06-22 Yao Qi <yao.qi@linaro.org>
13331
13332 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13333 aarch64*-*-*.
13334 (skip_hw_watchpoint_tests): Likewise.
13335
74bd41ce
PP
133362015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13337
13338 * gdb.base/gdbinit-history.exp: Test the interaction between
13339 setting GDBHISTSIZE and setting the history size via .gdbinit.
13340
bc460514
PP
133412015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13342
13343 PR gdb/16999
13344 * gdb.base/gdbhistsize-history.exp: New test.
13345
b58c513b
PP
133462015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13347
13348 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13349 with GDBHISTSIZE.
13350 * gdb.base/readline.exp: Likewise.
13351
92046791
YQ
133522015-06-17 Yao Qi <yao.qi@linaro.org>
13353
13354 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13355 line.
13356
2093d2d3
PP
133572015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13358
13359 * gdb.base/gdbinit-history.exp: Add test case to check that
13360 an unlimited history file does not get truncated on exit.
13361
e6c693af
AA
133622015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13363
13364 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13365 (VECTOR): New macro. Use it...
13366 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13367 ...for these typedefs.
13368 (int8, char1, int1, double1): New typedefs.
13369 (struct just_int2, struct two_int2): New structures.
13370 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13371 (add_structvecs, add_singlevecs): New functions.
13372 (main): Call add_some_intvecs twice.
13373 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13374 the compile and exit upon failure. Try compiling for the "native"
13375 architecture. Test inferior function calls with vector arguments
13376 and vector return value handling with "finish" and "return".
13377
c74f7d1c
JT
133782015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13379
13380 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13381 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13382 PE file.
13383 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13384
98aa42ee
AT
133852015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13386
13387 PR breakpoints/16465
13388 * gdb.mi/mi-dprintf-pending.c: New file.
13389 * gdb.mi/mi-dprintf-pending.exp: New test.
13390 * gdb.mi/mi-dprintf-pendshr.c: New file.
13391
7d73c23c 133922015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 13393 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
13394
13395 * gdb.arch/i386-mpx-map.c: New file.
13396 * gdb.arch/i386-mpx-map.exp: New File.
13397
133982015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13399
13400 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13401 * gdb.arch/i386-mpx.exp: Indentation fixed.
13402
134032015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13404
13405 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13406 function and improved indentation.
13407 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13408 gdb_test_multiple. Added additional tests to skip the test.
13409
134102015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13411
13412 * gdb.arch/i386-avx512.c: Change path in include file.
13413 * gdb.arch/i386-avx512.exp: Change include dir path
13414 compilation flag.
13415 * gdb.arch/i386-mpx.c: Change path in include file.
13416 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13417 flag.
13418
d5eba19a
JK
134192015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13420
13421 * gdb.compile/compile-print.exp (compile print *vararray@3)
13422 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13423
7f361056
JK
134242015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13425
13426 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13427 (do not keep jit in memory): ... this.
13428 (expect 5): Change it to ...
13429 (expect no 5): ... this.
13430
3b462ec2
SM
134312015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13432
13433 PR gdb/15564
13434 * gdb.mi/mi-detach.exp: New file.
13435
e0619de6
JK
134362015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13437
13438 PR symtab/18392
13439 * gdb.arch/amd64-tailcall-self.S: New file.
13440 * gdb.arch/amd64-tailcall-self.c: New file.
13441 * gdb.arch/amd64-tailcall-self.exp: New file.
13442
e970cb34
DB
134432015-05-28 Don Breazeal <donb@codesourcery.com>
13444
13445 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13446 tests for remote targets by checking is_target_gdbserver.
13447
b2e2f908
DE
134482015-05-27 Doug Evans <dje@google.com>
13449
13450 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13451 * gdb.dwarf2/opaque-type-lookup.c: New file.
13452 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13453
82c7be31
DE
134542015-05-26 Doug Evans <dje@google.com>
13455
13456 * gdb.cp/iostream.cc: New file.
13457 * gdb.cp/iostream.exp: New file.
13458
b4f54984
DE
134592015-05-26 Doug Evans <dje@google.com>
13460
13461 * gdb.dwarf2/dw2-op-call.exp: Update.
13462 * gdb.dwarf2/dw4-sig-types.exp: Update.
13463 * gdb.dwarf2/implptr.exp: Update.
13464 * gdb.mi/mi-cmd-param-changed.exp: Update.
13465
4ea6efe9
DE
134662015-05-26 Doug Evans <dje@google.com>
13467
13468 * gdb.python/py-lazy-string.c: New file.
13469 * gdb.python/py-lazy-string.exp: New file.
13470 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13471 (main): Update. Add estring3.
13472 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13473 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13474
f6bb7db3
YQ
134752015-05-26 Omair Javaid <omair.javaid@linaro.org>
13476 Yao Qi <yao.qi@linaro.org>
13477
13478 * gdb.reverse/aarch64.c: New.
13479 * gdb.reverse/aarch64.exp: New.
13480
a81bfbd0
OJ
134812015-05-26 Omair Javaid <omair.javaid@linaro.org>
13482
25d49b86
PA
13483 * lib/gdb.exp (supports_process_record): Return true for
13484 aarch64*-linux*.
a81bfbd0
OJ
13485 (supports_reverse): Likewise.
13486
158bf1b4
PP
134872015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13488
13489 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13490 Use with_test_prefix.
13491
a0145030
AB
134922015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13493
13494 * gdb.base/completion.exp: Add test for completion of layout
13495 names.
13496
ebe3b578
AB
134972015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13498
13499 * lib/gdb.exp (skip_tui_tests): New proc.
13500 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13501
84204ed7
PA
135022015-05-19 Pedro Alves <palves@redhat.com>
13503
13504 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13505 Save the whole env array instead of just HOME. Unset HISTSIZE in
13506 the environment while testing. Restore whole environment
13507 afterwards.
13508
37442ce1
DE
135092015-05-16 Doug Evans <xdje42@gmail.com>
13510
13511 * gdb.guile/scm-ports.c: New file.
13512 * gdb.guile/scm-ports.exp: Add memory port tests.
13513
36de76f9
JK
135142015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13515
13516 * gdb.compile/compile-print.c: New file.
13517 * gdb.compile/compile-print.exp: New file.
13518
3a9558c4
JK
135192015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13520
13521 * gdb.compile/compile-ops.exp: Cast param to void.
13522 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13523 (compile code struct_object.selffield = &struct_object): Add xfail.
13524
aa715135
JG
135252015-05-15 Joel Brobecker <brobecker@adacore.com>
13526
13527 * gdb.ada/arr_enum_with_gap: New testcase.
13528
931e5bc3
JG
135292015-05-15 Joel Brobecker <brobecker@adacore.com>
13530
13531 * gdb.ada/byte_packed_arr: New testcase.
13532
9cd4d857
JB
135332015-05-15 Joel Brobecker <brobecker@adacore.com>
13534
13535 * gdb.ada/pckd_neg: New testcase.
13536
ebfd00d2
PP
135372015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13538
13539 PR gdb/17820
13540 * gdb.base/gdbinit-history.exp: New test.
13541 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13542 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13543
4c082a81
SC
135442015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13545
13546 * gdb.python/py-xmethods.cc: Enhance test case.
13547 * gdb.python/py-xmethods.exp: New tests.
13548 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13549 function.
13550 (B_indexoper): Likewise.
13551 (global_dm_list) : Add new xmethod worker functions.
13552
f7797074
SDJ
135532015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13554
13555 * gdb.base/coredump-filter.exp: Correctly unset
13556 "coredump_var_addr" array.
13557
a4674e4e
PA
135582015-05-08 Pedro Alves <palves@redhat.com>
13559
13560 * gdb.server/non-existing-program.exp: Unset spawn_id.
13561
df2eb078
SC
135622015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13563
13564 PR python/18291
13565 * gdb.python/py-xmethods.exp: Add tests.
13566
422349a3
YQ
135672015-05-08 Yao Qi <yao.qi@linaro.org>
13568
13569 PR gdb/18208
13570 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13571 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13572 function set_coredump_filter, and remove remote_exec call.
13573 Remove argument ipid. Callers update.
13574 (top level): Don't get inferior's PID.
13575
63fc80ce
AA
135762015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13577
13578 * gdb.base/watch_thread_num.exp: Skip test on targets without
13579 access watchpoints.
13580
80ad801e
PA
135812015-05-06 Pedro Alves <palves@redhat.com>
13582
13583 PR server/18081
13584 * gdb.server/non-existing-program.exp: New file.
13585
0fa7fe50
JB
135862015-05-05 Joel Brobecker <brobecker@adacore.com>
13587
13588 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13589
3ea89b92
PMR
135902015-05-05 Joel Brobecker <brobecker@adacore.com>
13591
13592 * gdb.ada/out_of_line_in_inlined: New testcase.
13593
87b8eff0
JB
135942015-05-05 Joel Brobecker <brobecker@adacore.com>
13595
13596 * gdb.ada/var_rec_arr: New testcase.
13597
5fccc635
YQ
135982015-04-30 Yao Qi <yao.qi@linaro.org>
13599
13600 * gdb.base/break-idempotent.exp: If
13601 skip_hw_watchpoint_multi_tests returns true, skip the tests
13602 on "rwatch" and "awatch".
13603
42d38f42
YQ
136042015-04-30 Yao Qi <yao.qi@linaro.org>
13605
13606 * gdb.base/relativedebug.exp: Invoke gdb command
13607 "info sharedlibrary", and if libc.so doesn't have debug info,
13608 skip the test.
13609
2ce1cdbf
DE
136102015-04-29 Doug Evans <dje@google.com>
13611
13612 * gdb.python/py-xmethods.exp: Add ptype tests.
13613 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13614 get_result_type method.
13615
f24a38c5
LM
136162015-04-29 Luis Machado <lgustavo@codesourcery.com>
13617
13618 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13619 the target does not support hardware watchpoints.
13620
ecbf2b3c
LM
136212015-04-29 Luis Machado <lgustavo@codesourcery.com>
13622
13623 * gdb.base/break-always.exp: Abort testing if writing to memory
13624 causes an error.
13625
34f5f757
DE
136262015-04-28 Doug Evans <dje@google.com>
13627
13628 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13629 * gdb.python/py-pp-registration.exp: ... here. New file.
13630 * gdb.python/py-pp-registration.c: New file.
13631 * gdb.python/py-pp-registration.py: New file.
13632
69b4374a
DE
136332015-04-28 Doug Evans <dje@google.com>
13634
13635 * gdb.python/py-bad-printers.c: New file.
13636 * gdb.python/py-bad-printers.py: New file.
13637 * gdb.python/py-bad-printers.exp: New file.
13638
59fb7612
SS
136392015-04-28 Sasha Smundak <asmundak@google.com>
13640
13641 * gdb.python/py-type.exp: New test.
13642
2631b16a
AW
136432015-04-28 Andy Wingo <wingo@igalia.com>
13644
13645 * gdb.python/py-parameter.exp:
13646 * gdb.guile/scm-parameter.exp: Escape the path that we are
13647 matching against, as it might contain characters that are special
13648 to regular expressions.
13649
460efde1
JB
136502015-04-27 Joel Brobecker <brobecker@adacore.com>
13651
13652 * gdb.ada/rec_comp: New testcase.
13653
2d369d8e
SDJ
136542015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13655
13656 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13657 before using it.
13658
cf75d6c3
AB
136592015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13660
13661 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13662 new tests for verilog output.
13663
8dbe7ca5
YQ
136642015-04-24 Yao Qi <yao.qi@linaro.org>
13665
13666 * boards/remote-gdbserver-on-localhost.exp: New file.
13667
4ef9fb2f
PA
136682015-04-23 Pedro Alves <palves@redhat.com>
13669
13670 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13671 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13672 "end of file", remove $inferior_spawn_id from the indirect list.
13673
0a803169
PA
136742015-04-23 Pedro Alves <palves@redhat.com>
13675
13676 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13677
749ef8f8
PA
136782015-04-23 Pedro Alves <palves@redhat.com>
13679
13680 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13681 on $any_spawn_id instead of only on $gdb_spawn_id.
13682
8aae4344
PM
136832015-04-21 Pierre Muller <muller@sourceware.org>
13684
13685 PR pascal/17815
13686 * lib/pascal.exp (gpc_compile): Add new option "class".
13687 (fpc_compile): Likewise.
13688 * gdb.pascal/case-insensitive-symbols.pas: New file.
13689 * gdb.pascal/case-insensitive-symbols.exp: New file.
13690
1586c8fb
GB
136912015-04-20 Gary Benson <gbenson@redhat.com>
13692
13693 * gdb.base/attach.exp: Fix three extended remote failures.
13694
1b6e6f5c
GB
136952015-04-17 Gary Benson <gbenson@redhat.com>
13696
13697 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13698 the main executable over the remote protocol.
13699
e797481d
PA
137002015-04-16 Pedro Alves <palves@redhat.com>
13701
13702 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13703 a new gdbserver if gdbserver_reconnect_p is set.
13704
1ca99c42
PA
137052015-04-16 Pedro Alves <palves@redhat.com>
13706
13707 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13708 is set, don't exit gdbserver.
13709
af9fd6f8
AA
137102015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13711
13712 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13713 appropriate .insn, such that an older assembler can be used.
13714 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13715 the z/Architecture instruction set on 31-bit targets as well.
13716
04ff1e61
AA
137172015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13718
13719 * gdb.go/handcall.exp: Remove all logic related to the first
13720 breakpoint and rely on go_runto_main instead.
13721 * gdb.go/strings.exp: Likewise.
13722 * gdb.go/unsafe.exp: Likewise.
13723 * gdb.go/hello.exp: Likewise. Also rename the remaining
13724 breakpoint marker to "breakpoint 1".
13725 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13726 * gdb.go/strings.go: Likewise.
13727 * gdb.go/unsafe.go: Likewise.
13728 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13729 "set breakpoint 2 here" and rename the remaining breakpoint marker
13730 to "breakpoint 1".
13731
40d2f8d6
SM
137322015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13733
13734 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13735 if itertools.imap is not present.
13736 * gdb.python/py-objfile.exp: Add parentheses.
13737 * gdb.python/py-type.exp: Same.
13738 * gdb.python/py-unwind-maint.py: Same.
13739
8cbc97c6
YQ
137402015-04-15 Yao Qi <yao.qi@linaro.org>
13741
13742 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13743 of ":$ptr_size" and set its form explicitly.
13744
45fd756c
YQ
137452015-04-15 Pedro Alves <palves@redhat.com>
13746 Yao Qi <yao.qi@linaro.org>
13747
13748 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13749 timeout by factor of 4.
13750 (test_regular_watch): Likewise.
13751 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13752 * gdb.reverse/sigall-reverse.exp: Likewise.
13753 * gdb.reverse/until-precsave.exp: Likewise.
13754 * lib/gdb.exp (with_timeout_factor): New proc.
13755 (gdb_expect): Move some code to ...
13756 (get_largest_timeout): ... here. New procedure.
13757
9e811bc3
LM
137582015-04-14 Luis Machado <lgustavo@codesourcery.com>
13759
13760 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13761
0ff6fcb2
LM
137622015-04-13 Luis Machado <lgustavo@codesourcery.com>
13763
13764 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13765 to write to the .text section.
13766
7578d5f7
LM
137672015-04-13 Luis Machado <lgustavo@codesourcery.com>
13768
13769 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13770 Handle the case of targets that do not provide PID information.
13771
2efe15c4
YQ
137722015-04-13 Yao Qi <yao.qi@linaro.org>
13773
13774 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13775 and use expect instead of gdb_expect.
13776
8cd8f2f8
SDJ
137772015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13778
13779 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13780 "coredump_var_addr" to avoid naming conflict with other testcases.
13781
9ee41772
PA
137822015-04-10 Pedro Alves <palves@redhat.com>
13783
13784 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13785 gdb_test_sequence and gdb_assert.
13786
07473109
PA
137872015-04-10 Pedro Alves <palves@redhat.com>
13788
13789 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13790 test messages that don't include the breakpoint address.
13791
de3db44c
YQ
137922015-04-10 Yao Qi <yao.qi@linaro.org>
13793
13794 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13795 false for some offset and width combinations which aren't
13796 supported by linux kernel.
13797
c79d856c
PA
137982015-04-10 Pedro Alves <palves@redhat.com>
13799
13800 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13801 procedure, factored out from ...
13802 (top level): ... here. Add "set displaced-stepping" testing axis.
13803 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13804 parameter "displaced". Use it.
13805 (top level): Use foreach and add "set displaced-stepping" testing
13806 axis.
13807
ebc90b50
PA
138082015-04-10 Pedro Alves <palves@redhat.com>
13809
13810 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13811 Remove comment.
13812 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13813 both the address of the instruction that triggers the watchpoint
13814 and the address of the instruction immediately after, and use
13815 those addresses for the test. Fix comment.
13816
8f572e5c
PA
138172015-04-10 Pedro Alves <palves@redhat.com>
13818
13819 * gdb.base/sigstep.exp (breakpoint_to_handler)
13820 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13821 Test "backtrace" in handler.
13822 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13823 (top level): Add new "displaced" test axis to
13824 breakpoint_to_handler, breakpoint_to_handler_entry and
13825 breakpoint_over_handler.
13826
8d707a12
PA
138272015-04-10 Pedro Alves <palves@redhat.com>
13828
13829 PR gdb/18216
13830 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13831
ef713951
YQ
138322015-04-10 Yao Qi <yao.qi@linaro.org>
13833
13834 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13835 (test_add_rn_pc): New function.
13836 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13837 (top level): Invoke test_add_rn_pc.
13838
906d60cf
PA
138392015-04-10 Pedro Alves <palves@redhat.com>
13840
13841 PR gdb/13858
13842 * gdb.base/step-over-no-symbols.exp: New file.
13843
f2983cc3
AW
138442015-04-09 Andy Wingo <wingo@igalia.com>
13845
13846 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13847 after the Python tests.
13848
6d62641c
SDJ
138492015-04-08 Keith Seitz <keiths@redhat.com>
13850
13851 PR python/16699
13852 * gdb.python/py-completion.exp: New tests for completion.
13853 * gdb.python/py-completion.py (CompleteLimit1): New class.
13854 (CompleteLimit2): Likewise.
13855 (CompleteLimit3): Likewise.
13856 (CompleteLimit4): Likewise.
13857 (CompleteLimit5): Likewise.
13858 (CompleteLimit6): Likewise.
13859 (CompleteLimit7): Likewise.
13860
f3770638
PA
138612015-04-08 Pedro Alves <palves@redhat.com>
13862
13863 PR gdb/18214
13864 PR gdb/18216
13865 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13866 function.
13867 (main): Install it as SIGUSR1 handler.
13868 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13869 parameter. Always use "setup" as prefix. Toggle "set
13870 displaced-stepping" off/on depending on global. Don't switch to
13871 thread 1 here.
13872 (top level): Add displaced stepping "off/on" test axis. Update
13873 "setup" calls. Wrap each subtest with with_test_prefix. Test
13874 continuing with a queued signal in each thread.
13875
4496bed7
PA
138762015-04-08 Pedro Alves <palves@redhat.com>
13877
13878 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13879 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13880 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13881 Return early if running to main fails.
13882 * gdb.trace/while-stepping.exp: Likewise.
13883
b97fde92
PA
138842015-04-07 Pedro Alves <palves@redhat.com>
13885
13886 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13887 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13888 interact with inferior program.
13889
f71c18e7
PA
138902015-04-07 Pedro Alves <palves@redhat.com>
13891
13892 * lib/gdb.exp (inferior_spawn_id): New global.
13893 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13894 spawn id after processing the user code.
13895 (default_gdb_start): Set inferior_spawn_id.
13896 (send_inferior): New procedure.
13897 * lib/gdbserver-support.exp (gdbserver_start): Set
13898 inferior_spawn_id.
13899 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13900
6423214f
PA
139012015-04-07 Pedro Alves <palves@redhat.com>
13902
13903 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13904 * lib/gdbserver-support.exp (gdbserver_start): Make
13905 $server_spawn_id global.
13906 (gdbserver_start): Don't wait for gdbserver's spawn id with
13907 expect_background.
13908 (close_gdbserver): New procedure.
13909 (gdb_exit): Rename the default version and reimplement.
13910
71c0ee8c
PA
139112015-04-07 Pedro Alves <palves@redhat.com>
13912
72f4393d 13913 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
13914 append the substituted item, not the original item.
13915
203bc29b
PA
139162015-04-07 Pedro Alves <palves@redhat.com>
13917
13918 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13919 gdb_expect.
13920
508a3ddf
PA
139212015-04-07 Pedro Alves <palves@redhat.com>
13922
13923 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13924 output appearing once only.
13925
9f6dbe2b
PA
139262015-04-07 Pedro Alves <palves@redhat.com>
13927
13928 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13929 that doesn't expect anything. Return early if running to main
13930 fails.
13931
337532fa
YQ
139322015-04-07 Yao Qi <yao.qi@linaro.org>
13933
13934 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13935 (child_function): Call alarm.
13936 (main): Move call to alarm into the loop.
13937 * gdb.threads/non-stop-fair-events.exp: Build program with
13938 -DTIMEOUT=$timeout.
13939
01b622d4
DE
139402015-04-06 Doug Evans <xdje42@gmail.com>
13941
13942 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13943 Fix dest parameter to board_info.
13944 (fpc_compile): Ditto.
13945 (gdb_compile_pascal): Rename dest arg to destfile.
13946
961f4160
PMR
139472015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13948
13949 * gdb.ada/funcall_ref.exp: New file.
13950 * gdb.ada/funcall_ref/foo.adb: New file.
13951
cafda597
YQ
139522015-04-02 Yao Qi <yao.qi@linaro.org>
13953
13954 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13955 is remote.
13956
fed040c6
GB
139572015-04-02 Gary Benson <gbenson@redhat.com>
13958
13959 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13960
d11916aa
SS
139612015-04-01 Sasha Smundak <asmundak@google.com>
13962
13963 * gdb.python/py-unwind-maint.c: New file.
13964 * gdb.python/py-unwind-maint.exp: New test.
13965 * gdb.python/py-unwind-maint.py: New file.
13966 * gdb.python/py-unwind.c: New file.
13967 * gdb.python/py-unwind.exp: New test.
13968 * gdb.python/py-unwind.py: New test.
13969
a1471180
PA
139702015-04-01 Pedro Alves <palves@redhat.com>
13971
13972 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13973 to fail instead of non-existent $test.
13974
0bbeccb1
PA
139752015-04-01 Pedro Alves <palves@redhat.com>
13976
13977 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13978 GDBFLAGS if not empty.
13979
3c724c8c
PMR
139802015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13981
13982 * gdb.ada/complete.exp: Remove "multi_line".
13983 * gdb.ada/info_exc.exp: Remove "multi_line".
13984 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13985 * gdb.ada/ptype_field.exp: Remove "multi_line".
13986 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13987 * gdb.ada/tagged.exp: Remove "multi_line".
13988 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13989 [multi_line ...]
13990 * gdb.btrace/delta.exp: Likewise.
13991 * gdb.btrace/exception.exp: Likewise.
13992 * gdb.btrace/function_call_history.exp: Likewise.
13993 * gdb.btrace/instruction_history.exp: Likewise.
13994 * gdb.btrace/nohist.exp: Likewise.
13995 * gdb.btrace/record_goto.exp: Likewise.
13996 * gdb.btrace/segv.exp: Likewise.
13997 * gdb.btrace/stepi.exp: Likewise.
13998 * gdb.btrace/tailcall.exp: Likewise.
13999 * gdb.btrace/unknown_functions.exp: Likewise.
14000 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14001 * lib/gdb.exp: Add the "multi_line" helper.
14002
4eec2deb
PA
140032015-04-01 Pedro Alves <palves@redhat.com>
14004
14005 * gdb.threads/tid-reuse.c: New file.
14006 * gdb.threads/tid-reuse.exp: New file.
14007
df8411da
SDJ
140082015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14009
14010 PR corefiles/16092
14011 * gdb.base/coredump-filter.c: New file.
14012 * gdb.base/coredump-filter.exp: Likewise.
14013
6ef37366
PM
140142015-03-27 Petr Machata <pmachata@redhat.com>
14015
14016 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14017 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14018 (Dwarf::assemble): Initialize them.
14019 (Dwarf::lines): New function.
14020
7ec911b0
JT
140212015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14022
14023 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14024 SYMBOL_PREFIX for x86_64-*-cygwin.
14025
ff908ebf
AW
140262015-03-26 Andy Wingo <wingo@igalia.com>
14027
14028 PR symtab/18148
14029 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14030 const_value but not a location.
14031 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14032 location defined in non-main CUs are visible.
14033
6d5f0679
YQ
140342015-03-26 Yao Qi <yao.qi@linaro.org>
14035
14036 PR testsuite/18139
14037 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14038 Add a line number entry for the same line.
14039 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14040 Add a line number entry for the same line.
14041
2898689b
YQ
140422015-03-26 Yao Qi <yao.qi@linaro.org>
14043
14044 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14045 .int 0.
14046 (func): Likewise. Add .Lfunc_1 label.
14047 Use .Lfunc_1 label.
14048 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14049 .int 0.
14050 (func): Likewise.
14051 Use .Lfunc_1 label.
14052
85180498
YQ
140532015-03-26 Yao Qi <yao.qi@linaro.org>
14054
14055 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14056 Call gdb_compile instead to compile each .s files without debug
14057 information.
14058
8aa08a8d
YQ
140592015-03-26 Yao Qi <yao.qi@linaro.org>
14060
14061 * gdb.base/savedregs.exp (process_saved_regs): Make
14062 "Saved registers:" optional in the pattern.
14063
66849923
MM
140642015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14065
14066 * gdb.btrace/next.exp: Merged into step.exp.
14067 * gdb.btrace/finish.exp: Merged into step.exp.
14068 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14069 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14070 "record goto" and checking the exact replay position.
14071 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14072 check for "Recording format" in "info record" output.
14073 * gdb.btrace/record_goto.exp: Choose test file based on target.
14074 * gdb.btrace/x86-record_goto.S: Renamed into ...
14075 * gdb.btrace/x86_64-record_goto.S: ... this.
14076 * gdb.btrace/i686-record_goto.S: New.
14077 * gdb.btrace/x86-tailcall.S: Renamed into ...
14078 * gdb.btrace/x86_64-tailcall.S: ... this.
14079 * gdb.btrace/i686-tailcall.S: New.
14080 * gdb.btrace/x86-tailcall.c: Renamed into ...
14081 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14082 separate statements. Update test.
14083 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14084 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14085 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14086 * gdb.btrace/tailcall.exp: Choose test file based on target.
14087 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14088
11cc1b74
MM
140892015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14090
14091 * gdb.btrace/exception.exp: Increase BTS buffer size.
14092
a25d8bf9
PA
140932015-03-24 Pedro Alves <palves@redhat.com>
14094
14095 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14096
856e7dd6
PA
140972015-03-24 Pedro Alves <palves@redhat.com>
14098
14099 * gdb.threads/schedlock.exp (test_step): No longer expect that
14100 "set scheduler-locking step" with "next" over a function call runs
14101 threads unlocked.
14102
ad235a41
AT
141032015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14104
14105 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14106
15630549
AT
141072015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14108
14109 PR breakpoints/16466
14110 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14111 * gdb.mi/mi-pending.c (thread_func): New function.
14112 (int main): Add threading support required.
14113 * gdb.mi/mi-pending.exp: Add tests for this issue.
14114 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14115 (pendfunc2): Remove stdio dependency.
14116 * gdb.mi/mi-pendshr2.c: New file.
14117
693dca06
KS
141182015-03-23 Keith Seitz <keiths@redhat.com>
14119
14120 * gdb.linespec/keywords.c: New file.
14121 * gdb.linespec/keywords.exp: New file.
14122
7e993ebf
KS
141232015-03-23 Keith Seitz <keiths@redhat.com>
14124
14125 PR gdb/18021
14126 * gdb.dwarf2/staticvirtual.exp: New test.
14127
bc23328c
JK
141282015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14129
14130 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14131 * README: Remove HP-UX and gdb.hp.
14132 (configuration):
14133 * configure: Regenerate.
14134 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14135 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14136 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14137 gdb.hp/gdb.defects/Makefile.
14138 * gdb.hp/Makefile.in: File deleted.
14139 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14140 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14141 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14142 * gdb.hp/gdb.aCC/run.c: File deleted.
14143 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14144 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14145 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14146 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14147 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14148 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14149 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14150 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14151 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14152 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14153 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14154 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14155 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14156 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14157 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14158 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14159 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14160 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14161 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14162 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14163 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14164 * gdb.hp/gdb.compat/average.c: File deleted.
14165 * gdb.hp/gdb.compat/sum.c: File deleted.
14166 * gdb.hp/gdb.compat/xdb.c: File deleted.
14167 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14168 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14169 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14170 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14171 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14172 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14173 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14174 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14175 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14176 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14177 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14178 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14179 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14180 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14181 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14182 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14183 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14184 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14185 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14186 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14187 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14188 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14189 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14190 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14191 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14192 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14193 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14194 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14195 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14196 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14197 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14198 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14199 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14200 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14201 * gdb.hp/tools/odump: File deleted.
14202
8bf3b159
PA
142032015-03-19 Pedro Alves <palves@redhat.com>
14204
14205 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14206 (saw_thread_3): New globals.
14207 (top level): Increment them when an event for the corresponding
14208 thread is seen.
14209 (no thread starvation): New test.
14210
eb54c8bf
PA
142112015-03-19 Pedro Alves <palves@redhat.com>
14212
14213 * gdb.threads/continue-pending-status.c: New file.
14214 * gdb.threads/continue-pending-status.exp: New file.
14215
32d2e5d6
PA
142162015-03-18 Pedro Alves <palves@redhat.com>
14217
14218 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14219 Use gdb_is_target_remote instead of is_remote. Use
14220 gdb_test_multiple instead of gdb_expect. Exit early if
14221 gdb_test_multiple hits its internal matches. Tighten stepi tests
14222 expected output. Fail on exit with any signal, instead of just
14223 SIGILL.
14224
f68f11b7
YQ
142252015-03-18 Yao Qi <yao.qi@linaro.org>
14226
14227 PR tdep/18107
14228 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14229 variable.
14230 * gdb.base/catch-syscall.exp: Don't skip it on
14231 aarch64*-*-linux* target. Remove elements in all_syscalls.
14232 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14233 target.
14234 (setup_all_syscalls): New proc.
14235
ca5fd19b
YQ
142362015-03-16 Yao Qi <yao.qi@linaro.org>
14237
14238 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14239 (top level): Skip tests if valid_addr_p returns false for
14240 $cmd1 or $cmd2.
14241
85642ba0
AW
142422015-03-11 Andy Wingo <wingo@igalia.com>
14243
14244 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14245
e03f9645
YQ
142462015-03-11 Yao Qi <yao.qi@linaro.org>
14247
14248 * gdb.base/catch-syscall.exp: Fix typo in comments.
14249
5d0962b2
YQ
142502015-03-11 Yao Qi <yao.qi@linaro.org>
14251
14252 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14253
b2df3cef
PA
142542015-03-09 Pedro Alves <palves@redhat.com>
14255
14256 * dg-extract-results.py: Delete.
14257
ef878e53
PA
142582015-03-09 Pedro Alves <palves@redhat.com>
14259
14260 Merge dg-extract-results.sh from GCC upstream (r218843).
14261
14262 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14263 * dg-extract-results.sh: Use --text with grep to avoid issues with
14264 binary files. Fall back to cat -v, if that doesn't work.
14265
9494d219
PA
142662015-03-05 Pedro Alves <palves@redhat.com>
14267
14268 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14269
a8d9763a
SM
142702015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14271
14272 * lib/mi-support.exp (mi_expect_interrupt): Accept
14273 alternative event for when in all-stop mode.
14274
be9957b8
PA
142752015-03-04 Pedro Alves <palves@redhat.com>
14276
14277 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14278
d57be0f4 142792015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
14280
14281 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14282
c214c7cf
AA
142832015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14284
14285 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14286 regexps for GDB's current line display, accept a hex address
14287 preceding the line number.
14288
6d74a497
AA
142892015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14290
14291 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14292 the 'arch1' variable for "s390*-linux*" targets.
14293
511aee7c
PA
142942015-03-04 Pedro Alves <palves@redhat.com>
14295
14296 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14297 (main): Pass missing retval argument to pthread_join call.
14298
95e50b27
PA
142992015-03-02 Pedro Alves <palves@redhat.com>
14300
14301 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14302 (top level): Call do_test with non-stop as well.
14303
28054d69
PA
143042015-03-02 Pedro Alves <palves@redhat.com>
14305
14306 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14307 -1.
14308
4fa5d7b4
AA
143092015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14310
14311 * gdb.arch/s390-vregs.exp: New test.
14312 * gdb.arch/s390-vregs.S: New file.
14313
97c18565
PA
143142015-02-27 Pedro Alves <palves@redhat.com>
14315
14316 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14317 call to catch_command_errors.
14318 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14319 catch_command_errors.
14320
a37bfa30
PA
143212015-02-27 Pedro Alves <palves@redhat.com>
14322
14323 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14324 "true" for boolean result.
14325 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14326 prototype of main.
14327
6f98576f
PA
143282015-02-27 Pedro Alves <palves@redhat.com>
14329
14330 * lib/unbuffer_output.c: New file.
14331 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14332 (main): Call gdb_unbuffer_output.
14333
eba5ab56
YQ
143342015-02-27 Yao Qi <yao.qi@linaro.org>
14335
14336 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14337 target.
14338
0def5aaa
DE
143392015-02-26 Doug Evans <dje@google.com>
14340
14341 * gdb.cp/class2.cc (Dbase, D): New classes.
14342 (main): New local delta.
14343 * gdb.cp/class2.exp: Test printing delta.
14344 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14345 (dynbar): New global.
14346 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14347
081a1c2c
JK
143482015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14349
14350 * gdb.compile/compile-ifunc.c: New file.
14351 * gdb.compile/compile-ifunc.exp: New file.
14352
2f41223f
AT
143532015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14354
14355 * gdb.base/structs.exp: Check for correct struct on finish.
14356
03eddd80
YQ
143572015-02-26 Yao Qi <yao.qi@linaro.org>
14358
14359 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14360 is zero.
14361
80c57053
JK
143622015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14363
14364 * gdb.arch/cordic.ko.bz2: New file.
14365 * gdb.arch/cordic.ko.debug.bz2: New file.
14366 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14367
21613c12
YQ
143682015-02-25 Yao Qi <yao.qi@linaro.org>
14369
14370 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14371 aarch64*-*-* target.
14372
d8b901ed
PA
143732015-02-23 Pedro Alves <palves@redhat.com>
14374
14375 * lib/gdb.exp (delete_breakpoints): Rewrite using
14376 gdb_test_multiple.
14377
e5b85ead
PA
143782015-02-23 Pedro Alves <palves@redhat.com>
14379
14380 * gdb.base/info-os.c: Include stdlib.h.
14381
85c3a371
DE
143822015-02-22 Doug Evans <xdje42@gmail.com>
14383
14384 PR symtab/17855
14385 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14386 is read after symbols have been re-read.
14387 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14388 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14389
96553a0c
DE
143902015-02-21 Doug Evans <dje@google.com>
14391
14392 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14393
97a0c697
JK
143942015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14395
14396 PR corefiles/17808
14397 * gdb.arch/i386-biarch-core.core.bz2: New file.
14398 * gdb.arch/i386-biarch-core.exp: New file.
14399
a47cd6e9
PA
144002015-02-21 Pedro Alves <palves@redhat.com>
14401
14402 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14403 runto_main fails.
14404
c5facdc4
PA
144052015-02-20 Pedro Alves <palves@redhat.com>
14406
14407 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14408 info probes.
14409
2db9a427
PA
144102015-02-20 Pedro Alves <palves@redhat.com>
14411
14412 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14413
60fb7e9e
PA
144142015-02-20 Pedro Alves <palves@redhat.com>
14415
14416 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14417 clean_restart before gdb_target_supports_trace.
14418
5c5019c2
PA
144192015-02-20 Pedro Alves <palves@redhat.com>
14420
14421 PR threads/18006
14422 * gdb.threads/clone-thread_db.c: New file.
14423 * gdb.threads/clone-thread_db.exp: New file.
14424
c9587f88
AT
144252015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14426
14427 PR breakpoints/16812
14428 * gdb.base/catch-gdb-caused-signals.c: New file.
14429 * gdb.base/catch-gdb-caused-signals.exp: New file.
14430
f6a88844
JM
144312015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14432
14433 * configure: Regenerated.
14434 * configure.ac: Use GDB_AC_TRANSFORM.
14435 * aclocal.m4: sinclude ../transform.m4.
14436
497c491b
JM
144372015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14438
14439 * lib/dtrace.exp: New file.
14440 * gdb.base/dtrace-probe.exp: Likewise.
14441 * gdb.base/dtrace-probe.d: Likewise.
14442 * gdb.base/dtrace-probe.c: Likewise.
14443 * lib/pdtrace.in: Likewise.
14444 * configure.ac: Output variables with the transformed names of
14445 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14446 * configure: Regenerated.
14447
03e98035
JM
144482015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14449
14450 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14451 expected message when trying to access $_probe_* convenience
14452 variables while not on a probe.
14453
63cc30e9
JK
144542015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14455
14456 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14457
0703599a
PA
144582015-02-11 Pedro Alves <pedro@codesourcery.com>
14459
14460 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14461 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14462
7e60a48e
DE
144632015-02-10 Doug Evans <xdje42@gmail.com>
14464
14465 * lib/gdb.exp (gdb_load): Always return a result.
14466
01b088bc
PA
144672015-02-10 Pedro Alves <palves@redhat.com>
14468
14469 * gdb.threads/signal-sigtrap.c: New file.
14470 * gdb.threads/signal-sigtrap.exp: New file.
14471
b05ec7a5
AT
144722015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14473
14474 * gdb.trace/no-attach-trace.c: New file.
14475 * gdb.trace/no-attach-trace.exp: New file.
14476
a2c2acaf
MW
144772015-02-09 Mark Wielaard <mjw@redhat.com>
14478
14479 * gdb.dwarf2/atomic.c: New file.
14480 * gdb.dwarf2/atomic-type.exp: Likewise.
14481
31fd9caa
MM
144822015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14483
14484 * gdb.btrace/buffer-size.exp: Update "info record" output.
14485 * gdb.btrace/delta.exp: Update "info record" output.
14486 * gdb.btrace/enable.exp: Update "info record" output.
14487 * gdb.btrace/finish.exp: Update "info record" output.
14488 * gdb.btrace/instruction_history.exp: Update "info record" output.
14489 * gdb.btrace/next.exp: Update "info record" output.
14490 * gdb.btrace/nexti.exp: Update "info record" output.
14491 * gdb.btrace/step.exp: Update "info record" output.
14492 * gdb.btrace/stepi.exp: Update "info record" output.
14493 * gdb.btrace/nohist.exp: Update "info record" output.
14494
d33501a5
MM
144952015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14496
14497 * gdb.btrace/buffer-size: New.
14498
f4abbc16
MM
144992015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14500
14501 * gdb.btrace/delta.exp: Update "info record" output.
14502 * gdb.btrace/enable.exp: Update "info record" output.
14503 * gdb.btrace/finish.exp: Update "info record" output.
14504 * gdb.btrace/instruction_history.exp: Update "info record" output.
14505 * gdb.btrace/next.exp: Update "info record" output.
14506 * gdb.btrace/nexti.exp: Update "info record" output.
14507 * gdb.btrace/step.exp: Update "info record" output.
14508 * gdb.btrace/stepi.exp: Update "info record" output.
14509 * gdb.btrace/nohist.exp: Update "info record" output.
14510
b9d61307
SM
145112015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14512
14513 PR gdb/15678
14514 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14515
e584fdbc
PA
145162015-02-06 Pedro Alves <palves@redhat.com>
14517
14518 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14519 macro.
14520 (seconds_left, again): New globals.
14521 (main): Wait seconds_left in a 1-second sleep loop instead of
14522 sleeping 180 seconds. If 'again' is set, reset the seconds
14523 counter.
14524 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14525 'again' in the inferior before detaching. Print the seconds left.
14526 (options): New global.
14527 (top level): Build program with -DTIMEOUT=$timeout.
14528
77f41761
PA
145292015-02-06 Pedro Alves <palves@redhat.com>
14530
14531 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14532 determine how many seconds to pass to 'alarm'.
14533 * gdb.base/gdb-sigterm.exp (top level): Build program with
14534 -DTIMEOUT=$timeout.
14535 (do_test): Return success/failure indication. Add more verbose
14536 logging. Don't fail if 200 single steps are seen. Instead, fail
14537 when the test times out.
14538 (passes): New global.
14539 (top level): Break the testing loop if testing fails on any
14540 iteration. Use gdb_assert.
14541
b9394193
DB
145422015-02-04 Don Breazeal <donb@codesourcery.com>
14543
14544 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14545 and initialize them.
14546 (ipc_cleanup): New function.
14547 (main): Don't declare shmid, semid, and msqid. Add a call to
14548 atexit so that we call ipc_cleanup on exit.
14549
42d9e528
PA
145502015-02-04 Pedro Alves <palves@redhat.com>
14551
14552 * boards/native-extended-gdbserver.exp: Remove any target variant
14553 specifications from the board name before clearing the isremote
14554 flag from board_info.
14555
ae6ae975
DE
145562015-01-31 Doug Evans <xdje42@gmail.com>
14557
14558 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14559
cfb069a8
GB
145602015-01-31 Gary Benson <gbenson@redhat.com>
14561
14562 * gdb.base/completion.exp: Disable completion limiting for
14563 existing tests. Add new tests to check completion limiting.
14564 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14565
5dd31d79
DE
145662015-01-31 Doug Evans <xdje42@gmail.com>
14567
14568 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14569
9f050062
DE
145702015-01-31 Doug Evans <xdje42@gmail.com>
14571
14572 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14573 entries. Duplicate file section script entries.
14574 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14575 inlined entries. Add test for safe-path rejection.
14576 * gdb.python/py-section-script.c: Add duplicate inlined section script
14577 entries. Duplicate file section script entries.
14578 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14579 inlined entries. Add test for safe-path rejection.
14580
df25ebbd
JB
145812015-01-29 Joel Brobecker <brobecker@adacore.com>
14582
14583 * gdb.ada/disc_arr_bound: New testcase.
14584
4a0ca9ec
JB
145852015-01-29 Joel Brobecker <brobecker@adacore.com>
14586
14587 * gdb.ada/mi_var_array: New testcase.
14588
3a8b707a
DE
145892015-01-27 Doug Evans <dje@google.com>
14590
14591 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14592 Add test for objfile.filename, objfile.username after objfile
14593 has been unloaded.
14594
f8313f6e
JB
145952015-01-26 Joel Brobecker <brobecker@adacore.com>
14596
14597 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14598 the second test to print the name attribute of value
14599 returned by the call to gdb.lookup_type, and adjust
14600 the expected output accordingly.
14601
37bc665e
MW
146022015-01-25 Mark Wielaard <mjw@redhat.com>
14603
14604 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14605 * gdb.base/disp-step-fork.c: Include unistd.h.
14606 * gdb.base/siginfo-obj.c: Include stdio.h.
14607 * gdb.base/siginfo-thread.c: Likewise.
14608 * gdb.mi/non-stop.c: Include unistd.h.
14609 * gdb.mi/nsthrexec.c: Include stdio.h.
14610 * gdb.mi/pthreads.c: Include unistd.h.
14611 * gdb.modula2/unbounded1.c (main): Declare returns int.
14612 * gdb.reverse/consecutive-reverse.c: Likewise.
14613 * gdb.threads/create-fail.c: Include unistd.h.
14614 * gdb.threads/killed.c: Likewise.
14615 * gdb.threads/linux-dp.c: Likewise.
14616 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14617 * gdb.threads/non-ldr-exc-2.c: Likewise.
14618 * gdb.threads/non-ldr-exc-3.c: Likewise.
14619 * gdb.threads/non-ldr-exc-4.c: Likewise.
14620 * gdb.threads/pthreads.c: Include unistd.h.
14621 (main): Declare returns int.
14622 * gdb.threads/tls-main.c (foo): New declaration.
14623 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14624
f7e5394d
SM
146252015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14626
14627 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14628 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14629
743649fd
MW
146302015-01-15 Mark Wielaard <mjw@redhat.com>
14631
14632 * gdb.base/noreturn-return.c: New file.
14633 * gdb.base/noreturn-return.exp: New file.
14634 * gdb.base/noreturn-finish.c: New file.
14635 * gdb.base/noreturn-finish.exp: New file.
14636
198297aa
PA
146372015-01-23 Pedro Alves <palves@redhat.com>
14638
14639 * gdb.threads/continue-pending-after-query.c: New file.
14640 * gdb.threads/continue-pending-after-query.exp: New file.
14641
717cf30c
AG
146422015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14643 Simon Marchi <simon.marchi@ericsson.com>
14644
14645 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14646 * gdb.base/valgrind-db-attach.exp: Same.
14647 * gdb.base/valgrind-infcall.exp: Same.
14648 * lib/mi-support.exp (default_mi_gdb_start): Same.
14649 * lib/prompt.exp (default_prompt_gdb_start): Same.
14650 * lib/gdb.exp (default_gdb_spawn): Same.
14651 (gdb_interact): New.
14652
14653
4b62a76e
JK
146542015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14655
14656 * gdb.compile/compile.exp (pointer to jit function): New test.
14657
b4cdae6f
WW
146582015-01-17 Wei-cheng Wang <cole945@gmail.com>
14659
14660 * lib/gdb.exp (supports_process_record): Return true for
14661 powerpc*-*-linux*.
14662 (supports_reverse): Likewise.
14663
d221e7ef
DB
146642015-01-15 Don Breazeal <donb@codesourcery.com>
14665
14666 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14667 instead of checking whether the target board is remote and
14668 use spawn_wait_for_attach instead of exec/sleep.
14669 * gdb.base/attach-twice.exp: Likewise.
14670
bafffb51
JB
146712015-01-15 Joel Brobecker <brobecker@adacore.com>
14672
14673 * gdb.ada/var_arr_attrs: New testcase.
14674
5589af0e
PA
146752015-01-14 Pedro Alves <palves@redhat.com>
14676 Joel Brobecker <brobecker@adacore.com>
14677
14678 PR gdb/17525
14679 * gdb.base/bp-cmds-execution-x-script.c: New file.
14680 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14681 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14682
6c400b59
PA
146832015-01-14 Pedro Alves <palves@redhat.com>
14684
14685 PR cli/17828
14686 * gdb.base/batch-preserve-term-settings.c: New file.
14687 * gdb.base/batch-preserve-term-settings.exp: New file.
14688
e02c96a7
DE
146892015-01-13 Doug Evans <dje@google.com>
14690
14691 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14692 binary.
14693
576fd14c
JB
146942015-01-13 Joel Brobecker <brobecker@adacore.com>
14695
14696 * Makefile.in (clean mostlyclean): Do not delete *.py.
14697
04dccad0
JB
146982015-01-13 Joel Brobecker <brobecker@adacore.com>
14699
14700 * gdb.python/py-lookup-type.exp: New file.
14701
3d230f71
PA
147022015-01-12 Pedro Alves <palves@redhat.com>
14703
14704 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14705 restore GDBFLAGS before returning.
14706
7e67715d
JK
147072015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14708
14709 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14710 is_amd64_regs_target and is_x86_like_target.
14711
f2e0d4b4
DE
147122015-01-11 Doug Evans <xdje42@gmail.com>
14713
14714 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14715 is given without an explicit form.
14716 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14717 attributes.
14718 * gdb.dwarf/corrupt.exp: Ditto.
14719 * gdb.dwarf2/enum-type.exp: Ditto.
14720 * gdb.trace/entry-values.exp: Ditto.
14721 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14722
439250fb
DE
147232015-01-11 Doug Evans <xdje42@gmail.com>
14724
14725 PR gdb/15830
14726 * gdb.base/maint.exp: Remove references to "maint demangle".
14727 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14728 Add tests for explicitly specifying language to demangle.
14729 * gdb.dlang/demangle.exp: Ditto.
14730
ede9f622
PA
147312015-01-09 Pedro Alves <palves@redhat.com>
14732
14733 * gdb.threads/non-stop-fair-events.c: New file.
14734 * gdb.threads/non-stop-fair-events.exp: New file.
14735
a7b796db
PA
147362015-01-09 Pedro Alves <palves@redhat.com>
14737
14738 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14739 the global scope. Set a breakpoint after all threads are started
14740 rather than stepping over two source lines. Expect the prompt.
14741 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14742 global.
14743 (NUM): Now 15.
14744 (main): Use threads_started_barrier to wait for all threads to
14745 start. Main thread no longer calls thread_function. Exit after
14746 180 seconds.
14747 (loop): New function.
14748 (thread_function): Wait on threads_started_barrier barrier. Call
14749 'loop' at each iteration.
14750 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14751 threads have started, instead of hardcoding number of "next"
14752 steps. Use an access watchpoint instead of a write watchpoint.
14753
9665ffdd
PA
147542015-01-09 Pedro Alves <palves@redhat.com>
14755
14756 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14757 (thread_func): Wait on barrier.
14758 (main): Wait for all threads to start before stopping GDB.
14759 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14760 global.
14761 (thread1_func, thread2_func): Wait on barrier.
14762 (main): Wait for all threads to start before stopping GDB.
14763 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14764 New global.
14765 (thread1_func, thread2_func): Wait on barrier.
14766 (main): Wait for all threads to start before stopping GDB.
14767
c945a99f
PA
147682015-01-09 Pedro Alves <palves@redhat.com>
14769
14770 * gdb.threads/attach-many-short-lived-threads.c: New file.
14771 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14772
c1a747c1
PA
147732014-01-09 Pedro Alves <palves@redhat.com>
14774
14775 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14776 instead of to thread 2.
14777 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14778 Add barrier around each pthread_create call instead of around all
14779 calls.
14780 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14781 Set a break on thread_function and have the child threads hit it
14782 one at at a time.
14783
60b3033e
PA
147842015-01-09 Pedro Alves <palves@redhat.com>
14785
14786 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14787 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14788 false.
14789 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14790 checking whether the target board is remote.
14791 * gdb.multi/multi-attach.exp: Likewise.
14792 * gdb.python/py-sync-interp.exp: Likewise.
14793 * gdb.server/ext-attach.exp: Likewise.
14794 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14795 tests that need to attach, instead of checking whether the target
14796 board is remote at the top of the file.
14797
acc018ac
YQ
147982015-01-08 Yao Qi <yao@codesourcery.com>
14799
14800 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14801
50a18af8
JK
148022015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14803
14804 Fix testcase compilation.
14805 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14806
8503d6e1
JB
148072015-01-06 Joel Brobecker <brobecker@adacore.com>
14808
14809 * gdb.python/py-type.exp: Add a couple test about empty
14810 array creation, and negative-length array creation.
14811
cc73dbcc
DE
148122015-01-02 Doug Evans <xdje42@gmail.com>
14813
14814 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14815
0300bbc7
DE
148162015-01-02 Doug Evans <dje@google.com>
14817
14818 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14819
9d85a0ec
YQ
148202014-12-29 Yao Qi <yao@codesourcery.com>
14821
14822 * gdb.trace/entry-values.exp: Update comments. Rename variable
14823 bar_call_foo to returned_from_foo.
14824
87186c6a
MMN
148252014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14826
14827 PR gdb/17394
14828 * gdb.linespec/break-asm-file.c: New file.
14829 * gdb.linespec/break-asm-file.exp: New file.
14830 * gdb.linespec/break-asm-file0.s: New file.
14831 * gdb.linespec/break-asm-file1.s: New file.
14832
1bab7383
YQ
148332014-12-18 Nigel Stephens <nigel@mips.com>
14834 Maciej W. Rozycki <macro@codesourcery.com>
14835
14836 * gdb.base/float.exp: Handle the new output from "info float" on
14837 MIPS targets.
14838
1bc1068a
JK
148392014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14840
14841 Fix MinGW compilation.
14842 * gdb.compile/compile-ops.exp: Update untested message if
14843 !skip_compile_feature_tests.
14844 * gdb.compile/compile-setjmp.exp: Likewise.
14845 * gdb.compile/compile-tls.exp: Likewise.
14846 * gdb.compile/compile.exp: Likewise.
14847 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14848 supported on this host".
14849
b6615d10
DE
148502014-12-16 Doug Evans <xdje42@gmail.com>
14851
14852 * boards/stabs.exp: New file.
14853
25dda427
AA
148542014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14855
14856 * gdb.base/completion.exp: Adjust to format changes of "maint
14857 print user-registers".
14858
bf330350
CU
148592014-12-16 Catalin Udma <catalin.udma@freescale.com>
14860
14861 PR server/17457
14862 * gdb.arch/aarch64-fp.c: New file.
14863 * gdb.arch/aarch64-fp.exp: New file.
14864
395cf596
SDJ
148652014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14866
14867 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14868 r210637, r210913, r211666, r215400, r215817).
14869
14870 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14871 * dg-extract-results.py: New file.
14872 * dg-extract-results.sh: Use it if the environment seems
14873 suitable.
14874
14875 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14876
14877 * dg-extract-results.py (parse_run): Handle warnings that
14878 are printed before a test harness is run.
14879
14880 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14881
14882 * dg-extract-results.py (Named): Remove __cmp__ method.
14883 (output_variation): Use a key to sort variation.harnesses.
14884
14885 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14886
14887 * dg-extract-results.py: For Python 3, force sys.stdout to
14888 handle surrogate escape sequences.
14889 (safe_open): New function.
14890 (output_segment, main): Use it.
14891
14892 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14893
14894 * dg-extract-results.py (Prog.result_re): Include options
14895 in test name.
14896
14897 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14898
14899 * dg-extract-results.py (output_variation): Always sort if
14900 do_sum.
14901
e882ef3c
SM
149022014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14903
14904 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14905 as long as we get pagination notifications.
14906
4992aa20
JM
149072014-12-15 Jason Merrill <jason@redhat.com>
14908
14909 * Makefile.in (check-gdb.%): Restore.
14910 * README: Mention it.
14911
c1b5a1a6
JB
149122014-12-13 Joel Brobecker <brobecker@adacore.com>
14913
14914 * gdb.ada/str_uninit: New testcase.
14915
5537b577
JK
149162014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14917
14918 PR symtab/17642
14919 * gdb.base/vla-stub-define.c: New file.
14920 * gdb.base/vla-stub.c: New file.
14921 * gdb.base/vla-stub.exp: New file.
14922
bb2ec1b3
TT
149232014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14924 Jan Kratochvil <jan.kratochvil@redhat.com>
14925 Tom Tromey <tromey@redhat.com>
14926
14927 * configure.ac: Add gdb.compile/.
14928 * configure: Regenerate.
14929 * gdb.compile/Makefile.in: New file.
14930 * gdb.compile/compile-ops.exp: New file.
14931 * gdb.compile/compile-ops.c: New file.
14932 * gdb.compile/compile-tls.c: New file.
14933 * gdb.compile/compile-tls.exp: New file.
14934 * gdb.compile/compile-constvar.S: New file.
14935 * gdb.compile/compile-constvar.c: New file.
14936 * gdb.compile/compile-mod.c: New file.
14937 * gdb.compile/compile-nodebug.c: New file.
14938 * gdb.compile/compile-setjmp-mod.c: New file.
14939 * gdb.compile/compile-setjmp.c: New file.
14940 * gdb.compile/compile-setjmp.exp: New file.
14941 * gdb.compile/compile-shlib.c: New file.
14942 * gdb.compile/compile.c: New file.
14943 * gdb.compile/compile.exp: New file.
14944 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14945
4ff709eb
TT
149462014-12-12 Tom Tromey <tromey@redhat.com>
14947
14948 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14949 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14950
6dddd6a5
DE
149512014-12-12 Doug Evans <dje@google.com>
14952
14953 * lib/gdb-python.exp (get_python_valueof): New function.
14954 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14955
71c24708
AA
149562014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14957
14958 * gdb.base/completion.exp: Add test for completion of "info
14959 registers ".
14960
3e29f34a
MR
149612014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14962
14963 * gdb.base/func-ptrs.c: New file.
14964 * gdb.base/func-ptrs.exp: New file.
14965
fc126975
SM
149662014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14967
14968 PR breakpoints/17012
14969 * gdb.base/dprintf-detach.c: New file.
14970 * gdb.base/dprintf-detach.exp: New file.
14971
0a46d518
SM
149722014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14973
14974 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14975 * lib/gdb.exp (target_is_gdbserver): New procedure.
14976
a0be3e44
DE
149772014-12-08 Doug Evans <dje@google.com>
14978
14979 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14980
df1b803a
YQ
149812014-12-05 Yao Qi <yao@codesourcery.com>
14982
14983 * gdb.guile/scm-error.exp: Remove the third argument to
14984 gdb_remote_download.
14985 * gdb.guile/scm-frame-args.exp: Likewise.
14986 * gdb.guile/scm-section-script.exp: Likewise.
14987
ddb9f679
YQ
149882014-12-05 Yao Qi <yao@codesourcery.com>
14989
14990 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14991
86e4ed39
DE
149922014-12-04 Doug Evans <dje@google.com>
14993
14994 * gdb.python/py-objfile.exp: Add tests for
14995 objfile.add_separate_debug_file.
14996
7c50a931
DE
149972014-12-04 Doug Evans <dje@google.com>
14998
14999 * lib/gdb.exp (get_build_id): New function.
15000 (build_id_debug_filename_get): Rewrite to use it.
15001 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15002
621661e3
MR
150032014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15004
15005 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15006 `method(long)', not just 0x0.
15007 * gdb.cp/nsalias.exp: Align code labels to 4.
15008 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15009 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15010 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15011 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15012 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15013 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15014
29f0c3b7
DE
150152014-12-02 Doug Evans <dje@google.com>
15016
e1e061e7 15017 PR symtab/17602
29f0c3b7 15018 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 15019 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
15020 * gdb.cp/anon-ns.exp: Update.
15021
162078c8
NB
150222014-12-02 Nick Bull <nicholaspbull@gmail.com>
15023
15024 * gdb.python/py-events.py (inferior_call_handler): New.
15025 (register_changed_handler, memory_changed_handler): New.
15026 (test_events.invoke): Register new handlers.
15027 * gdb.python/py-events.exp: Add tests for inferior call,
15028 memory_changed and register_changed events.
15029
fdb09caf
AA
150302014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15031
15032 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15033 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15034 if the linker doesn't understand this.
15035
55cfb2c4
SM
150362014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15037
15038 * gdb.python/python.exp: Change expected reply to help().
15039
9e8cd6df
YQ
150402014-12-01 Yao Qi <yao@codesourcery.com>
15041
15042 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15043 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15044 * configure: Re-generated.
15045
6c659fc2
SC
150462014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15047
15048 * gdb.cp/chained-calls.cc: New file.
15049 * gdb.cp/chained-calls.exp: New file.
15050 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15051
d7fc3181
SM
150522014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15053
15054 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15055 * gdb.dwarf2/symtab-producer.exp: Same.
15056 * gdb.gdb/python-interrupts.exp: Same.
15057 * gdb.gdb/python-selftest.exp: Same.
15058 * gdb.python/py-linetable.exp: Same.
15059 * gdb.python/py-type.exp: Same.
15060 * gdb.python/py-value-cc.exp: Same.
15061 * gdb.python/py-value.exp: Same.
15062
10e79639
YQ
150632014-11-28 Yao Qi <yao@codesourcery.com>
15064
15065 * gdb.base/break-probes.exp: Match library name prefixed with
15066 sysroot.
15067
f28a0564
SM
150682014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15069
15070 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15071 test expected output. Add parentheses for the call to print.
15072 Remove L suffix from integers.
15073
3fe1ce1d
DE
150742014-11-26 Doug Evans <dje@google.com>
15075
15076 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15077
84429e27
YQ
150782014-11-22 Yao Qi <yao@codesourcery.com>
15079
15080 * gdb.trace/entry-values.c: Remove asms.
15081 (foo): Add foo_label.
15082 (bar): Add bar_label.
15083 * gdb.trace/entry-values.exp: Remove code computing foo's
15084 length and bar's length.
15085 (Dwarf::assemble): Invoke function_range for bar and use
15086 MACRO_AT_func for foo.
15087
26741859
YQ
150882014-11-22 Yao Qi <yao@codesourcery.com>
15089
15090 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15091 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15092 Use .Lgcc43_procstart instead of gcc43.
15093
45e44d27
JB
150942014-11-21 Joel Brobecker <brobecker@adacore.com>
15095
15096 * gdb.ada/n_arr_bound: New testcase.
15097
458c8db8
SDJ
150982014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15099
15100 PR breakpoints/10737
15101 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15102 test_catch_syscall_multi_arch.
15103 (test_catch_syscall_multi_arch): New function.
15104
43f3e411
DE
151052014-11-20 Doug Evans <xdje42@gmail.com>
15106
15107 * gdb.base/maint.exp: Update expected output.
15108
0d7b2549
AA
151092014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15110
15111 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15112 4-byte instruction on S390.
15113
8908fca5
JB
151142014-11-19 Joel Brobecker <brobecker@adacore.com>
15115
15116 * gdb.ada/arr_arr: New testcase.
15117
4a46959e
JB
151182014-11-19 Joel Brobecker <brobecker@adacore.com>
15119
15120 * gdb.ada/pkd_arr_elem: New Testcase.
15121
470e2f4e
LM
151222014-11-18 Luis Machado <lgustavo@codesourcery.com>
15123
15124 * gdb.reverse/break-precsave: Expect completion message for
15125 core file reads.
15126 * gdb.reverse/consecutive-precsave.exp: Likewise.
15127 * gdb.reverse/finish-precsave.exp: Likewise.
15128 * gdb.reverse/i386-precsave.exp: Likewise.
15129 * gdb.reverse/machinestate-precsave.exp: Likewise.
15130 * gdb.reverse/sigall-precsave.exp: Likewise.
15131 * gdb.reverse/solib-precsave.exp: Likewise.
15132 * gdb.reverse/step-precsave.exp: Likewise.
15133 * gdb.reverse/until-precsave.exp: Likewise.
15134 * gdb.reverse/watch-precsave.exp: Likewise.
15135
a267f3ad
AA
151362014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15137
15138 * gdb.base/bp-permanent.c: Include unistd.h.
15139 * gdb.python/py-framefilter-mi.c (main): Add return type.
15140 * gdb.python/py-framefilter.c (main): Likewise.
15141 * gdb.trace/actions-changed.c (main): Likewise.
15142
12084a9a
AA
151432014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15144
15145 * gdb.mi/until.c: Add eye-catchers.
15146 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15147 line numbers.
15148
dc7e1a77
AA
151492014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15150
15151 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15152 function header variants in break1.c.
15153 * gdb.base/ena-dis-br.exp: Likewise.
15154 * gdb.base/hbreak2.exp: Likewise.
15155 * gdb.reverse/until-precsave.exp: Drop references to removed
15156 non-prototype function header variants in ur1.c.
15157 * gdb.reverse/until-reverse.exp: Likewise.
15158
41c77605
PM
151592014-11-17 Petr Machata <pmachata@redhat.com>
15160
15161 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15162 ${_cu_offset_size} bytes abbrev offset.
15163
34248c3a
DE
151642014-11-15 Doug Evans <xdje42@gmail.com>
15165
15166 PR symtab/17559
15167 * gdb.base/line-symtabs.exp: New file.
15168 * gdb.base/line-symtabs.c: New file.
15169 * gdb.base/line-symtabs.h: New file.
15170
646da059
YQ
151712014-11-14 Yao Qi <yao@codesourcery.com>
15172
15173 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15174 (func): Add label func_label.
15175 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15176 Replace low_pc and high_pc with MACRO_AT_range.
15177 Replace name, low_pc and high_pc with MACRO_AT_func.
15178
9301ebe6
YQ
151792014-11-14 Yao Qi <yao@codesourcery.com>
15180
15181 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15182 Replace name, low_pc and high_pc with MACRO_AT_func.
15183
f166b542
YQ
151842014-11-14 Yao Qi <yao@codesourcery.com>
15185
15186 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15187 produce debug information.
15188 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15189
0f6e71e3
YQ
151902014-11-14 Yao Qi <yao@codesourcery.com>
15191
15192 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15193 object and get function length.
15194 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15195 with MACRO_AT_func.
15196 (top-level): Replace gdb_compile and clean_restart with
15197 prepare_for_testing.
15198 * gdb.dwarf2/main.c (main): Add label main_label.
15199
876c4df9
YQ
152002014-11-14 Yao Qi <yao@codesourcery.com>
15201
15202 * lib/dwarf.exp (function_range): New procedure.
15203 (Dwarf::_handle_macro_at_func): New procedure.
15204 (Dwarf::_handle_macro_at_range): New procedure.
15205 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15206
02ad9cf1
YQ
152072014-11-14 Yao Qi <yao@codesourcery.com>
15208
15209 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15210 (_handle_attribute): New procedure.
15211
a59add0c
AA
152122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15213
15214 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15215 * gdb.base/call-sc.c (zed): Likewise.
15216 * gdb.base/checkpoint.c (main): Likewise.
15217 * gdb.base/dump.c (main): Likewise.
15218 * gdb.base/gcore.c (main): Likewise.
15219 * gdb.base/huge.c (main): Likewise.
15220 * gdb.base/multi-forks.c (main): Likewise.
15221 * gdb.base/pr10179-a.c (main): Likewise.
15222 * gdb.base/savedregs.c (main): Likewise.
15223 * gdb.base/sigaltstack.c (main): Likewise.
15224 * gdb.base/siginfo.c (main): Likewise.
15225 * gdb.base/structs.c (zed): Likewise.
15226 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15227 * gdb.mi/mi-syn-frame.c (main): Likewise.
15228 * gdb.mi/until.c (foo, main): Likewise.
15229 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15230 * gdb.base/solib-weak.c (foo): Declare.
15231 * gdb.base/attach-twice.c: Include stdio.h.
15232 * gdb.base/weaklib1.c: Likewise.
15233 * gdb.base/weaklib2.c: Likewise.
15234 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15235 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15236 unistd.h.
15237 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15238 * gdb.mi/mi-exit-code.c: Likewise.
15239 * gdb.base/break-interp-lib.c: Include string.h.
15240 * gdb.base/coremaker.c: Likewise.
15241 * gdb.base/testenv.c: Likewise.
15242 * gdb.python/py-finish-breakpoint.c: Likewise.
15243 * gdb.base/inferior-died.c: Include sys/wait.h.
15244 * gdb.base/fileio.c: Include time.h.
15245 * gdb.base/async-shell.c: Include unistd.h.
15246 * gdb.base/dprintf-non-stop.c: Likewise.
15247 * gdb.base/info-os.c: Likewise.
15248 * gdb.mi/mi-console.c: Likewise.
15249 * gdb.mi/watch-nonstop.c: Likewise.
15250 * gdb.python/py-events.c: Likewise.
15251 * gdb.base/async.c (baz): Move up before its invocation.
15252 * gdb.base/code_elim2.c (my_global_func): Likewise.
15253 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15254 * gdb.base/advance.c (func2): Likewise.
15255
3b5d5997
AA
152562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15257
15258 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15259 variant.
15260 * gdb.base/annota3.c: Likewise.
15261 * gdb.base/async.c: Likewise.
15262 * gdb.base/average.c: Likewise.
15263 * gdb.base/call-ar-st.c: Likewise.
15264 * gdb.base/call-rt-st.c: Likewise.
15265 * gdb.base/call-sc.c: Likewise.
15266 * gdb.base/call-strs.c: Likewise.
15267 * gdb.base/ending-run.c: Likewise.
15268 * gdb.base/execd-prog.c: Likewise.
15269 * gdb.base/exprs.c: Likewise.
15270 * gdb.base/foll-exec.c: Likewise.
15271 * gdb.base/foll-fork.c: Likewise.
15272 * gdb.base/foll-vfork.c: Likewise.
15273 * gdb.base/funcargs.c: Likewise.
15274 * gdb.base/gcore.c: Likewise.
15275 * gdb.base/jump.c: Likewise.
15276 * gdb.base/langs0.c: Likewise.
15277 * gdb.base/langs1.c: Likewise.
15278 * gdb.base/langs2.c: Likewise.
15279 * gdb.base/mips_pro.c: Likewise.
15280 * gdb.base/nodebug.c: Likewise.
15281 * gdb.base/opaque0.c: Likewise.
15282 * gdb.base/opaque1.c: Likewise.
15283 * gdb.base/recurse.c: Likewise.
15284 * gdb.base/run.c: Likewise.
15285 * gdb.base/scope0.c: Likewise.
15286 * gdb.base/scope1.c: Likewise.
15287 * gdb.base/setshow.c: Likewise.
15288 * gdb.base/setvar.c: Likewise.
15289 * gdb.base/shmain.c: Likewise.
15290 * gdb.base/shr1.c: Likewise.
15291 * gdb.base/shr2.c: Likewise.
15292 * gdb.base/sigall.c: Likewise.
15293 * gdb.base/signals.c: Likewise.
15294 * gdb.base/so-indr-cl.c: Likewise.
15295 * gdb.base/solib2.c: Likewise.
15296 * gdb.base/structs.c: Likewise.
15297 * gdb.base/sum.c: Likewise.
15298 * gdb.base/vforked-prog.c: Likewise.
15299 * gdb.base/watchpoint.c: Likewise.
15300 * gdb.reverse/shr2.c: Likewise.
15301 * gdb.reverse/until-reverse.c: Likewise.
15302 * gdb.reverse/ur1.c: Likewise.
15303 * gdb.reverse/watch-reverse.c: Likewise.
15304
066a77c5
AA
153052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15306
15307 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15308 variant.
15309 * gdb.base/sepdebug.exp: Drop references to removed code.
15310
4f204ea5
AA
153112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15312
15313 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15314 variant. Preserve original line numbering.
15315 * gdb.base/list1.c: Likewise.
15316
3b377a3a
AA
153172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15318
15319 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15320 variant.
15321 * gdb.base/break1.c: Likewise.
15322 * gdb.base/break.exp: Drop references to removed code.
15323
e444df73
AA
153242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15325
15326 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15327 variant.
15328
8008f2a7
AA
153292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15330
15331 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15332
a5a06887
AA
153332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15334
15335 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15336 logic into perform_all_tests() and invoke it with and without
15337 function header prototypes.
15338 (do_function_calls): Remove conditional XFAIL for PR 5318.
15339 (rerun_and_prepare): Remove duplicate code.
15340 (perform_all_tests): New. Main logic moved here.
15341
44dba9b9
AA
153422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15343
15344 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15345 code guarded by #ifdef NO_PROTOTYPES.
15346 (t_double_many_args): Likewise.
15347 (DEF_FUNC_MANY_ARGS_1): Likewise.
15348 (DEF_FUNC_VALUES_1): Likewise.
15349 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15350 guarded by #ifdef PROTOTYPES.
15351
d1fbcd56
AA
153522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15353
15354 * gdb.mi/mi-console.c: Add eye-catcher.
15355 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15356 instead of literal line number.
15357
b0e59b8f
AA
153582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15359
15360 * gdb.base/shr2.c: Add eye-catcher.
15361 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15362 line number.
15363
78f98cca
AA
153642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15365
15366 * gdb.base/jump.c: Add eye-catchers.
15367 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15368 numbers.
15369
58fa2af0
AA
153702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15371
15372 * gdb.base/execd-prog.c: Add eye-catchers.
15373 * gdb.base/foll-exec.c: Likewise.
15374 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15375 line numbers.
15376
04e5059b
AA
153772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15378
15379 * gdb.base/ending-run.c: Add eye-catchers.
15380 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15381 literal line numbers.
15382
dbfdb174
AA
153832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15384
15385 * gdb.base/call-rt-st.c: Add eye-catchers.
15386 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15387 literal line numbers.
15388
888a2ade
AA
153892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15390
15391 * gdb.base/call-ar-st.c: Add eye-catchers.
15392 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15393 literal line numbers.
15394
6acc2dde
AA
153952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15396
15397 * gdb.base/average.c: Add eye-catchers.
15398 * gdb.base/sum.c: Likewise.
15399 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15400 regexps dynamically.
15401
9ecfcd1d
AA
154022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15403
15404 * gdb.base/solib1.c: Add eye-catchers.
15405 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15406 literal line numbers.
15407
78708b7c
PA
154082014-11-12 Pedro Alves <palves@redhat.com>
15409
15410 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15411 leader has exited.
15412
af48d08f
PA
154132014-11-12 Pedro Alves <palves@redhat.com>
15414
15415 * gdb.arch/i386-bp_permanent.c: New file.
15416 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15417 (srcfile): Set to i386-bp_permanent.c.
15418 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15419 that stepi does not execute the 'leave' instruction, instead of
15420 testing it does execute.
15421 * gdb.base/bp-permanent.c: New file.
15422 * gdb.base/bp-permanent.exp: New file.
15423
af3768e9
DE
154242014-11-10 Doug Evans <xdje42@gmail.com>
15425
15426 PR symtab/17564
15427 * gdb.base/symtab-search-order.exp: New file.
15428 * gdb.base/symtab-search-order.c: New file.
15429 * gdb.base/symtab-search-order-1.c: New file.
15430 * gdb.base/symtab-search-order-shlib-1.c: New file.
15431
9de00a4a
PA
154322014-11-07 Pedro Alves <palves@redhat.com>
15433
15434 PR gdb/17511
15435 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15436 i?86-*-linux*.
15437
e0f52461
SC
154382014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15439
15440 PR c++/17494
15441 * gdb.cp/pr17494.cc: New file.
15442 * gdb.cp/pr17494.exp: New file.
15443
6ce8c980
YQ
154442014-11-02 Yao Qi <yao@codesourcery.com>
15445
15446 * gdb.python/python.exp: Get working directory and match the
15447 output of "set extended-prompt \\w " with it.
15448
02be9a71
DE
154492014-10-30 Doug Evans <dje@google.com>
15450
15451 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15452 in objfiles.
15453 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15454 in progspaces.
15455
3bdff46b
LM
154562014-10-30 Janis Johnson <janisjo@codesourcery.com>
15457
15458 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15459 * gdb.base/realname-expand.exp: Likewise.
15460 * gdb.linespec/macro-relative.exp: Likewise.
15461
ab917dfb
PA
154622014-10-29 Pedro Alves <palves@redhat.com>
15463
15464 PR gdb/17408
15465 * gdb.threads/schedlock.c (some_function): New function.
15466 (call_function): New global.
15467 (MAYBE_CALL_SOME_FUNCTION): New macro.
15468 (thread_function): Call it.
15469 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15470 and use it instead of a global counter. Adjust all callers.
15471 (get_current_thread): Use "find current thread" for test message
15472 here rather than having all callers pass down the same string.
15473 (goto_loop): New procedure, factored out from ...
15474 (my_continue): ... this.
15475 (step_ten_loops): Change parameter from test message to command to
15476 use. Adjust.
15477 (list_count): Delete global.
15478 (check_result): New procedure, factored out from duplicate top
15479 level code.
15480 (continue tests): Wrap in with_test_prefix.
15481 (test_step): New procedure, factored out from duplicate top level
15482 code.
15483 (top level): Test "step" in combination with all scheduler-locking
15484 modes. Test "next" in combination with all scheduler-locking
15485 modes, and in combination with stepping over a function call or
15486 not.
15487 * gdb.threads/next-bp-other-thread.c: New file.
15488 * gdb.threads/next-bp-other-thread.exp: New file.
15489
d3d4baed
PA
154902014-10-29 Pedro Alves <palves@redhat.com>
15491
15492 PR python/17372
15493 * gdb.python/python.exp: Test a multi-line command that spawns
15494 interactive Python.
15495 * gdb.base/multi-line-starts-subshell.exp: New file.
15496
563e8d85
YQ
154972014-10-29 Yao Qi <yao@codesourcery.com>
15498
15499 * gdb.base/fileio.exp: Make directories on host.
15500
0ea4d52e
YQ
155012014-10-29 Yao Qi <yao@codesourcery.com>
15502
15503 * gdb.base/fileio.c (test_write): Close the file.
15504
7f5ef605
PA
155052014-10-28 Pedro Alves <palves@redhat.com>
15506
15507 PR gdb/12623
15508 * gdb.base/sigstep.c (no_handler): New global.
15509 (main): If 'no_handler is true, set the signal handlers to
15510 SIG_IGN.
15511 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15512 with_sw_watch and no_handler parameters. Handle them.
15513 (top level) <stepping over handler when stopped at a breakpoint
15514 test>: Add a test axis for testing with a software watchpoint, and
15515 another for testing with the signal handler set to SIG_IGN.
15516 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15517 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15518
abbdbd03
PA
155192014-10-28 Pedro Alves <palves@redhat.com>
15520
15521 PR gdb/17511
15522 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15523 * gdb.base/sigstep.exp (other_handler_location): New global.
15524 (advance): Support stepping into the signal handler, and running
15525 commands while in the handler.
15526 (in_handler_map): New global.
15527 (top level): In the advance test, add combinations for getting
15528 into the handler with stepping commands, and for running commands
15529 in the handler. Add comment descripting the advancei tests.
15530
1df4399f
PA
155312014-10-28 Pedro Alves <palves@redhat.com>
15532
15533 * gdb.base/sigstep.exp: Use build_executable instead of
15534 prepare_for_testing.
15535 (top level): Move code that starts GDB, runs to main and creates a
15536 display to ...
15537 (restart): ... this new procedure.
15538 (top level): Move backtrace from signal handler test to ...
15539 (validate_backtrace): ... this new procedure.
15540 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15541 with_test_prefix. Always restart GDB.
15542 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15543 with_test_prefix. Always restart GDB. No need to delete
15544 breakpoints after the test.
15545 (test_skip_handler): Remove prefix parameter.
15546 (skip_over_handler, breakpoint_to_handler)
15547 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15548 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15549 restart GDB. No need to delete breakpoints after the test.
15550 (top level): Use foreach to call the test procedures with
15551 different commands.
15552
a5b6e449
PA
155532014-10-28 Pedro Alves <palves@redhat.com>
15554
15555 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15556 instead of GNATS numbers.
15557 * gdb.base/sigbpt.exp: Likewise.
15558 * gdb.base/siginfo.exp: Likewise.
15559 * gdb.base/sigstep.exp: Likewise.
15560
e5f8a7cc
PA
155612014-10-27 Pedro Alves <palves@redhat.com>
15562
15563 * gdb.base/sigstep.c (dummy): New global.
15564 (main): Issue a couple writes to the new global.
15565 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15566 procedures.
15567 (skip_over_handler): Use test_skip_handler.
15568 (top level): Call skip_over_handler for stepi and nexti too.
15569 (breakpoint_over_handler): Use test_skip_handler.
15570 (top level): Call breakpoint_over_handler for stepi and nexti too.
15571
763905a3
YQ
155722014-10-27 Yao Qi <yao@codesourcery.com>
15573
15574 * gdb.trace/tfile.c (adjust_function_address)
15575 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15576 function descriptor.
15577
6f259a23
DB
155782014-10-24 Don Breazeal <donb@codesourcery.com>
15579
15580 * gdb.base/foll-fork.exp (test_follow_fork,
15581 catch_fork_child_follow): Check for updated fork messages emitted
15582 from infrun.c.
15583 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15584 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15585 vfork_and_exec_child_follow_through_step): Check for updated vfork
15586 messages emitted from infrun.c.
15587
09dd9a69
PA
155882014-10-24 Pedro Alves <palves@redhat.com>
15589
15590 * gdb.base/corefile.exp: Remove references to ultrix.
15591 * gdb.base/interrupt.exp: Likewise.
15592 * gdb.base/whatis.exp: Likewise.
15593 * gdb.gdb/selftest.exp: Likewise.
15594 * gdb.threads/manythreads.exp: Likewise.
15595 * gdb.threads/print-threads.exp: Likewise.
15596 * gdb.threads/pthreads.exp:: Likewise.
15597 * gdb.threads/schedlock.exp: Likewise.
15598
3433cfa5
SC
155992014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15600
15601 * gdb.cp/non-trivial-retval.cc: Add a test case.
15602 * gdb.cp/non-trivial-retval.exp: Add a test.
15603
092f880b
YQ
156042014-10-20 Yao Qi <yao@codesourcery.com>
15605
15606 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15607 * gdb.python/py-objfile-script-gdb.py: New file.
15608 * gdb.python/py-objfile-script.exp: Update reference to
15609 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15610 of remote_download. Remove the dest file.
15611
acbdb7f3
YQ
156122014-10-20 Yao Qi <yao@codesourcery.com>
15613
15614 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15615 * gdb.base/step-line.exp: Likewise.
15616 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15617 * gdb.dwarf2/dw2-basic.exp: Likewise.
15618 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15619 * gdb.dwarf2/dw2-filename.exp: Likewise.
15620 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15621 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15622 * gdb.dwarf2/dw2-producer.exp: Likewise.
15623 * gdb.dwarf2/mac-fileno.exp: Likewise.
15624 * gdb.python/py-frame-args.exp: Likewise.
15625 * gdb.python/py-framefilter.exp: Likewise.
15626 * gdb.python/py-mi.exp: Likewise.
15627 * gdb.python/py-objfile-script.exp: Likewise
15628 * gdb.python/py-pp-integral.exp: Likewise.
15629 * gdb.python/py-pp-re-notag.exp: Likewise.
15630 * gdb.python/py-prettyprint.exp: Likewise.
15631 * gdb.python/py-section-script.exp: Likewise.
15632 * gdb.python/py-typeprint.exp: Likewise.
15633 * gdb.python/py-xmethods.exp: Likewise.
15634 * gdb.stabs/weird.exp: Likewise.
15635 * gdb.xml/tdesc-regs.exp: Likewise.
15636
bd286a29
KCY
156372014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15638
15639 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15640 (out_cu): Use addr_len for the size of addresses.
15641 (out_line): Likewise. Size DW_LNE_set_address instruction
15642 according to addr_len.
15643 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15644 (FUNC): Add START_INSNS to definition.
15645
673dc4a0
YQ
156462014-10-18 Yao Qi <yao@codesourcery.com>
15647
15648 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15649 gdb_has_argv0 return true.
15650 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15651 check [target_info exists noargs], check [gdb_has_argv0]
15652 instead.
15653 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15654 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15655 procedures.
15656
4ffbba72
DE
156572014-10-17 Doug Evans <dje@google.com>
15658
15659 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15660 event.
15661 * gdb.python/py-events.py: Add clear_objfiles event.
15662
d096d8c1
DE
156632014-10-17 Doug Evans <dje@google.com>
15664
15665 * gdb.python/py-objfile.exp: Test progspace attribute.
15666
a80db015
LM
156672014-10-17 Luis Machado <lgustavo@codesourcery.com>
15668
15669 * gdb.guile/scm-breakpoint.exp: Do not assume any
15670 directory separators when matching source file paths.
15671 * gdb.python/py-breakpoint.exp: Likewise.
15672 * gdb.reverse/break-precsave.exp: Likewise.
15673 * gdb.reverse/break-reverse.exp: Likewise.
15674 * gdb.reverse/consecutive-precsave.exp: Likewise.
15675 * gdb.reverse/finish-precsave.exp: Likewise.
15676 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15677 * gdb.reverse/finish-reverse.exp: Likewise.
15678 * gdb.reverse/i386-precsave.exp: Likewise.
15679 * gdb.reverse/i387-env-reverse.exp: Likewise.
15680 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15681 * gdb.reverse/machinestate-precsave.exp: Likewise.
15682 * gdb.reverse/machinestate.exp: Likewise.
15683 * gdb.reverse/sigall-precsave.exp: Likewise.
15684 * gdb.reverse/solib-precsave.exp: Likewise.
15685 * gdb.reverse/step-precsave.exp: Likewise.
15686 * gdb.reverse/until-precsave.exp: Likewise.
15687 * gdb.reverse/watch-precsave.exp: Likewise.
15688 * gdb.reverse/watch-reverse.exp: Likewise.
15689
b22089ab
YQ
156902014-10-17 Yao Qi <yao@codesourcery.com>
15691
15692 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15693 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15694
6c4486e6
PA
156952014-10-17 Pedro Alves <palves@redhat.com>
15696
15697 PR gdb/17471
15698 * gdb.base/bg-execution-repeat.c: New file.
15699 * gdb.base/bg-execution-repeat.exp: New file.
15700
0ff33695
PA
157012014-10-17 Pedro Alves <palves@redhat.com>
15702
15703 PR gdb/17300
15704 * gdb.base/continue-all-already-running.c: New file.
15705 * gdb.base/continue-all-already-running.exp: New file.
15706
6fdebc3d
PA
157072014-10-17 Pedro Alves <palves@redhat.com>
15708
15709 PR gdb/17472
15710 * gdb.base/annota-input-while-running.c: New file.
15711 * gdb.base/annota-input-while-running.exp: New file.
15712
32a8097b
PA
157132014-10-17 Pedro Alves <palves@redhat.com>
15714
15715 * gdb.base/callfuncs.exp: emove references to osf.
15716 * gdb.base/sigall.exp: Likewise.
15717 * gdb.gdb/selftest.exp: Likewise.
15718 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15719 * gdb.mi/non-stop.c: Likewise.
15720 * gdb.mi/pthreads.c: Likewise.
15721 * gdb.reverse/sigall-precsave.exp: Likewise.
15722 * gdb.reverse/sigall-reverse.exp: Likewise.
15723 * gdb.threads/pthreads.c: Likewise.
15724 * gdb.threads/pthreads.exp: Likewise.
15725
7a3517ff
YQ
157262014-10-17 Yao Qi <yao@codesourcery.com>
15727
15728 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15729 check 'target_info exists noargs'.
15730 (test_command_prompt_position): Likewise.
15731 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15732 Remove "set args".
15733 (progvar_simple_while_test): Likewise.
15734 (progvar_complex_if_while_test): Likewise.
15735 (if_while_breakpoint_command_test): Likewise.
15736 (infrun_breakpoint_command_test): Likewise.
15737 (breakpoint_command_test): Likewise.
15738 (watchpoint_command_test): Likewise.
15739 (bp_deleted_in_command_test): Likewise.
15740 (temporary_breakpoint_commands): Likewise.
15741
bb99c472
YQ
157422014-10-16 Yao Qi <yao@codesourcery.com>
15743
15744 * gdb.base/remotetimeout.exp: Remove noargs checking.
15745
7c16b83e
PA
157462014-10-15 Pedro Alves <palves@redhat.com>
15747
15748 PR breakpoints/9649
15749 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15750 * gdb.base/breakpoint-in-ro-region.exp
15751 (probe_target_hardware_step): New procedure.
15752 (top level): Probe hardware stepping and hardware breakpoint
15753 support. Test stepping through a read-only region, with both
15754 "breakpoint auto-hw" on and off and both "always-inserted" on and
15755 off.
15756
35a49624
IB
157572014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15758
15759 * gdb.dlang/demangle.exp: Update for demangling changes.
15760
2d1c107c
SC
157612014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15762
15763 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15764 * gdb.cp/non-trivial-retval.exp: Add new tests.
15765
778811d5
SC
157662014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15767
15768 PR c++/13403
15769 PR c++/15154
15770 * gdb.cp/non-trivial-retval.cc: New file.
15771 * gdb.cp/non-trivial-retval.exp: New file.
15772
10c5f0a8
YQ
157732014-10-15 Yao Qi <yao@codesourcery.com>
15774
15775 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15776 remote host.
15777
65d7b369
YQ
157782014-10-15 Yao Qi <yao@codesourcery.com>
15779
15780 * gdb.python/py-symbol.exp: Match file base name if host is
15781 remote, otherwise match file name with dir name.
15782 * gdb.python/py-symtab.exp: Likewise.
15783 * gdb.python/python.exp: Likewise.
15784
46dc1394
YQ
157852014-10-15 Yao Qi <yao@codesourcery.com>
15786
15787 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15788 pattern.
15789 * gdb.python/py-symtab.exp: Likewise.
15790 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15791 locationn.
15792
c40cc657
JB
157932014-10-14 Joel Brobecker <brobecker@adacore.com>
15794
15795 * gdb.ada/addr_arith: New testcase.
15796
2abf49e1
MR
157972014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15798
15799 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15800 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15801 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15802 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15803
f7088df3
SDJ
158042014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15805
15806 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15807 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15808 * gdb.arch/stap-eval-lang-ada.exp: New file.
15809
4dc06805
YQ
158102014-10-14 Yao Qi <yao@codesourcery.com>
15811
15812 * gdb.mi/mi-var-child.c (nothing1): New function.
15813 (nothing2): New function.
15814 (do_children_tests): Set function pointers by nothing1 and
15815 nothing2.
15816 * gdb.mi/mi-var-child.exp: Step over new added statements.
15817 Update test to match the new output.
15818 * gdb.mi/var-cmd.c (nothing1): New function.
15819 (nothing2): New function.
15820 (do_children_tests): Set function pointers by nothing1 and
15821 nothing2.
15822 * gdb.mi/mi-var-display.exp: Update test to match output.
15823 Step to the line specified by $line_dct_nothing.
15824 Increase the number of lines to step.
15825
46a93de2
YQ
158262014-10-14 Yao Qi <yao@codesourcery.com>
15827
15828 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15829 tests.
15830 * gdb.mi/mi2-var-child.exp: Likewise.
15831
14ea52ee
DE
158322014-10-13 Doug Evans <dje@google.com>
15833
15834 * gdb.python/py-objfile.exp: Change name of file name test.
15835
e5c6e92b
DE
158362014-10-13 Doug Evans <dje@google.com>
15837
15838 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15839 from the start of the CU.
15840
c780cc2f
JK
158412014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15842 Yao Qi <yao@codesourcery.com>
15843
15844 Fix "save breakpoints" for "catch" command.
15845 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15846 Remove -nonewline. Match also the added "main" line.
15847
99894e11
JK
158482014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15849
15850 Fix "save breakpoints" for "disable $bpnum" command.
15851 * gdb.base/save-bp.c (main): Add label.
15852 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15853
6e1ac5a3
JK
158542014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15855
15856 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15857
754dd2b0
YQ
158582014-10-11 Yao Qi <yao@codesourcery.com>
15859
15860 * gdb.server/server-kill.exp: Execute command
15861 "set remote trace-status-packet on" before "tstatus".
15862
f90183d7
YQ
158632014-10-11 Yao Qi <yao@codesourcery.com>
15864
15865 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15866 (main): Call getppid.
15867 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15868 and continue to it. Read variable "server_pid".
15869
bf40a607
YQ
158702014-10-11 Yao Qi <yao@codesourcery.com>
15871
15872 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15873
052ca370
YQ
158742014-10-11 Yao Qi <yao@codesourcery.com>
15875
15876 * gdb.threads/thread-find.exp: Don't execute command
15877 "info threads".
15878 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15879 * gdb.threads/linux-dp.exp: Don't check the condition
15880 $threads_created equals to zero.
15881
3831839c
PA
158822014-10-10 Pedro Alves <palves@redhat.com>
15883
15884 * gdb.base/bigcore.exp: Remove references to IRIX.
15885 * gdb.base/funcargs.exp: Likewise.
15886 * gdb.base/interrupt.exp: Likewise.
15887 * gdb.base/mips_pro.exp: Likewise.
15888 * gdb.base/nodebug.exp: Likewise.
15889 * gdb.base/setvar.exp: Likewise.
15890 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15891
8b9a549d
PA
158922014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15893 Pedro Alves <palves@redhat.com>
15894
15895 PR symtab/14466
15896 * gdb.base/vdso-warning.c: New file.
15897 * gdb.base/vdso-warning.exp: New file.
15898
d48ba5e8
DE
158992014-10-02 Doug Evans <dje@google.com>
15900
15901 * gdb.base/structs.c (main): Don't run forever.
15902
2278c276
PA
159032014-10-02 Pedro Alves <palves@redhat.com>
15904
15905 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15906 (top level) <stop threads 1, stop threads 2>: Use it.
15907
b57bacec
PA
159082014-10-02 Pedro Alves <palves@redhat.com>
15909
15910 * gdb.threads/break-while-running.exp (test): Add new
15911 'update_thread_list' argument. Skip "info threads" if false.
15912 (top level): Add new 'update_thread_list' axis.
15913
13fd3ff3
PA
159142014-10-02 Pedro Alves <palves@redhat.com>
15915
15916 PR breakpoints/17431
15917 * gdb.base/execl-update-breakpoints.c: New file.
15918 * gdb.base/execl-update-breakpoints.exp: New file.
15919
0fec99e8
PA
159202014-10-01 Pedro Alves <palves@redhat.com>
15921
15922 * gdb.base/breakpoint-in-ro-region.c: New file.
15923 * gdb.base/breakpoint-in-ro-region.exp: New file.
15924
2ddf4301
SM
159252014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15926
15927 * gdb.mi/mi-exit-code.exp: New file.
15928 * gdb.mi/mi-exit-code.c: New file.
15929
6a5f3f43
YQ
159302014-09-30 Yao Qi <yao@codesourcery.com>
15931
15932 * lib/prelink-support.exp (build_executable_own_libs): Error if
15933 the target isn't native.
15934
345bcc73
YQ
159352014-09-30 Yao Qi <yao@codesourcery.com>
15936
15937 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15938 false.
15939
a25a5a45
PA
159402014-09-22 Pedro Alves <palves@redhat.com>
15941
15942 * gdb.threads/break-while-running.exp: New file.
15943 * gdb.threads/break-while-running.c: New file.
15944
00ba3162
YQ
159452014-09-19 Yao Qi <yao@codesourcery.com>
15946
15947 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15948 Invoke test. Restart GDB with --readnow and invoke test again.
15949
c3b7b696
YQ
159502014-09-19 Yao Qi <yao@codesourcery.com>
15951
15952 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15953 proc set_breakpoint_on_gcd_function. Invoke
15954 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15955 invoke set_breakpoint_on_gcd_function again.
15956
2b4fd423
DE
159572014-09-18 Doug Evans <dje@google.com>
15958
15959 * gdb.dwarf2/symtab-producer.exp: New file.
15960
a5947601
SDJ
159612014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15962
15963 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15964 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15965 * gdb.base/global-var-nested-by-dso.c: Likewise.
15966 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15967
91c19059
SDJ
159682014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15969 Pedro Alves <palves@redhat.com>
15970
15971 * gdb.base/watch-bitfields.exp: Pass string other than test file
15972 name to prepare_for_testing.
15973 (watch): New procedure.
15974 (expect_watchpoint): Use with_test_prefix.
15975 (top level): Factor out tests to ...
15976 (test_watch_location, test_regular_watch): ... these new
15977 procedures, and use with_test_prefix and gdb_continue_to_end.
15978
bb9d5f81
PP
159792014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15980
15981 PR breakpoints/12526
15982 * gdb.base/watch-bitfields.exp: New file.
15983 * gdb.base/watch-bitfields.c: New file.
15984
635856f5
PA
159852014-09-16 Pedro Alves <palves@redhat.com>
15986
15987 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15988 software and hardware addresses, not software address against
15989 itself.
15990
7280ceea
PA
159912014-09-16 Pedro Alves <palves@redhat.com>
15992
15993 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15994 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15995
428b16bd
PA
159962014-09-16 Pedro Alves <palves@redhat.com>
15997
15998 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15999 files.
16000 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16001 "*-*-vxworks*" throughout.
16002 * gdb.base/break.exp: Likewise.
16003 * gdb.base/default.exp: Likewise.
16004 * gdb.base/scope.exp: Likewise.
16005 * gdb.base/sepdebug.exp: Likewise.
16006 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16007 throughout.
16008 * gdb.base/run.c: Likewise.
16009 * gdb.base/sepdebug.c: Likewise.
16010 * gdb.hp/gdb.aCC/run.c: Likewise.
16011 * gdb.reverse/until-reverse.c: Likewise.
16012 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16013
666d413c
YQ
160142014-09-16 Yao Qi <yao@codesourcery.com>
16015
16016 * boards/local-remote-host-native.exp: New file.
16017
57cbd724
DE
160182014-09-14 Doug Evans <xdje42@gmail.com>
16019
16020 * gdb.threads/queue-signal.c (thread_count): New variable.
16021 (thread_count_mutex, thread_count_condvar): New variables.
16022 (incr_thread_count, wait_all_threads_running): New functions.
16023 (main): Wait for all threads to be in their thread functions.
16024
81219e53
DE
160252014-09-13 Doug Evans <xdje42@gmail.com>
16026
16027 * gdb.threads/queue-signal.c: New file.
16028 * gdb.threads/queue-signal.exp: New file.
16029
3714cea7
DE
160302014-09-13 Doug Evans <xdje42@gmail.com>
16031
16032 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16033 be consistent with what default_gdb_init uses.
16034 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16035 the plain text of the prompt. Add some logging printfs.
16036 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16037
fa43b1d7
PA
160382014-09-12 Pedro Alves <palves@redhat.com>
16039
16040 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16041 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16042 * gdb.arch/i386-size-overlap.exp: Likewise.
16043 * gdb.arch/i386-size.exp: Likewise.
16044 * gdb.arch/i386-unwind.exp: Likewise.
16045 * gdb.base/a2-run.exp: Likewise.
16046 * gdb.base/break.exp: Likewise.
16047 * gdb.base/charset.exp: Likewise.
16048 * gdb.base/chng-syms.exp: Likewise.
16049 * gdb.base/commands.exp: Likewise.
16050 * gdb.base/dbx.exp: Likewise.
16051 * gdb.base/find.exp: Likewise.
16052 * gdb.base/funcargs.exp: Likewise.
16053 * gdb.base/jit-simple.exp: Likewise.
16054 * gdb.base/reread.exp: Likewise.
16055 * gdb.base/sepdebug.exp: Likewise.
16056 * gdb.base/step-bt.exp: Likewise.
16057 * gdb.cp/mb-inline.exp: Likewise.
16058 * gdb.cp/mb-templates.exp: Likewise.
16059 * gdb.objc/basicclass.exp: Likewise.
16060 * gdb.threads/killed.exp: Likewise.
16061
9d9bf2df
EBM
160622014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16063
16064 PR tdep/17379
16065 * gdb.arch/powerpc-stackless.S: New file.
16066 * gdb.arch/powerpc-stackless.exp: New file.
16067
1cf2f1b0
JK
160682014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16069
16070 * gdb.base/attach.c: Include unistd.h.
16071 (main): Call alarm. Add label postloop.
16072 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16073 gdb_breakpoint, gdb_continue_to_breakpoint.
16074 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16075
98880d46
PA
160762014-09-11 Pedro Alves <palves@redhat.com>
16077
16078 PR gdb/17347
16079 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16080 * gdb.base/attach.exp (test_command_line_attach_run): New
16081 procedure.
16082 (top level): Call it.
16083
4c92ff2c
PA
160842014-09-11 Pedro Alves <palves@redhat.com>
16085
16086 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16087 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16088 (do_command_attach_tests): Use spawn_wait_for_attach.
16089 * gdb.base/solib-overlap.exp: Likewise.
16090 * gdb.multi/multi-attach.exp: Likewise.
16091 * gdb.python/py-prompt.exp: Likewise.
16092 * gdb.python/py-sync-interp.exp: Likewise.
16093 * gdb.server/ext-attach.exp: Likewise.
16094
3adc1a7d
GKB
160952014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16096
16097 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16098 command in testcase. Simplify testcase.
16099
96334934
JB
161002014-09-10 Joel Brobecker <brobecker@adacore.com>
16101
16102 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16103
eb479039
JB
161042014-09-10 Joel Brobecker <brobecker@adacore.com>
16105
16106 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16107
deede10c
JB
161082014-09-10 Joel Brobecker <brobecker@adacore.com>
16109
16110 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16111
7828a5f5
JB
161122014-09-10 Joel Brobecker <brobecker@adacore.com>
16113
16114 * gdb.dwarf2/dynarr-ptr.c: New file.
16115 * gdb.dwarf2/dynarr-ptr.exp: New file.
16116
33aeebcf
MR
161172014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16118
16119 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16120 of 30 rather than hardcoding 120 for a slow test case. Take the
16121 `gdb,timeout' target setting into account for this calculation.
16122 Don't extend the timeout for the test cases that don't need it.
16123
7b415901
MR
161242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16125
16126 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16127 a factor of 2 for a slow test case. Take the `gdb,timeout'
16128 target setting into account for this calculation.
16129 * gdb.reverse/until-precsave.exp: Increase the timeout by
16130 a factor of 15 and 3 respectively rather than adding 120
16131 for a pair of slow test cases. Take the `gdb,timeout'
16132 target setting into account for this calculation.
16133
4a40f85a
MR
161342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16135
16136 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16137 timeout, don't pass one down to gdb_expect.
16138 (gdb_expect): Rework timeout selection.
16139
09635af7
MR
161402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16141
16142 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16143 exception on timeout.
16144 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16145 (gdbserver_start_extended): Catch any `gdbserver_start' error
16146 exceptions.
16147 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16148 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16149 `gdbserver_gdb_load' error exceptions.
16150
2bdd10b7
MR
161512014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16152
16153 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16154 120 on waiting for the TCP socket to open.
16155
316935f0
DE
161562014-09-09 Doug Evans <xdje42@gmail.com>
16157
16158 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16159 _caller_matches, _any_caller_is, _any_caller_matches.
16160
83740597
DE
161612014-09-09 Doug Evans <xdje42@gmail.com>
16162
16163 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16164
4c122fc3
YQ
161652014-09-09 Yao Qi <yao@codesourcery.com>
16166
16167 * gdb.mi/mi-var-display.exp: Set print symbol off.
16168
a9f116cb
GKB
161692014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16170
16171 PR gdb/17035
16172 * gdb.base/commands.exp: Add tests to verify user-defined
16173 commands with empty bodies.
16174 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16175 python commands in `show user command`.
16176 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16177 scheme commands in `show user command`.
16178
c75bd3a2
JK
161792014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16180
16181 PR python/17355
16182 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16183 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16184 * gdb.python/py-framefilter-invalidarg.exp: New file.
16185 * gdb.python/py-framefilter-invalidarg.py: New file.
16186
faa42425
DE
161872014-09-06 Doug Evans <xdje42@gmail.com>
16188
16189 PR 15276
16190 * gdb.python/py-caller-is.c: New file.
16191 * gdb.python/py-caller-is.exp: New file.
16192
474ca4f6
SDJ
161932014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16194
16195 PR gdb/17235
16196 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16197 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16198
eb0b0463
SDJ
161992014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16200
16201 PR fortran/17237
16202 * gdb.fortran/print-formatted.exp: New file.
16203 * gdb.fortran/print-formatted.f90: Likewise.
16204
5f3b99cf
SS
162052014-09-03 Sasha Smundak <asmundak@google.com>
16206
16207 * gdb.python/py-frame.exp: Test Frame.read_register.
16208
7d793aa9
SDJ
162092014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16210
16211 PR python/16699
16212 * gdb.python/py-completion.exp: New file.
16213 * gdb.python/py-completion.py: Likewise.
16214
fb0576e9
DE
162152014-08-28 Doug Evans <dje@google.com>
16216
16217 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16218 eax,etc. are live with values set by gdb and thus the compiler can't
16219 use them.
16220 * gdb.arch/i386-pseudo.c (main): Ditto.
16221
ee92b0dd
DE
162222014-08-27 Doug Evans <dje@google.com>
16223
16224 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16225
6649db35
DE
162262014-08-25 Doug Evans <dje@google.com>
16227
16228 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16229 (main): Ditto.
16230
564b7600
DE
162312014-08-25 Doug Evans <dje@google.com>
16232
16233 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16234
3881fb67
YQ
162352014-08-24 Yao Qi <yao@codesourcery.com>
16236
16237 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16238 symbol off.
16239 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16240
a05a36a5
DE
162412014-08-22 Doug Evans <dje@google.com>
16242
16243 PR 17276
16244 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16245 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16246 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16247
7c343b48
YQ
162482014-08-22 Yao Qi <yao@codesourcery.com>
16249
16250 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16251 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16252 * gdb.python/python.exp: Likewise. Use .py file on the host
16253 instead of the build.
16254
22fd09ae
JK
162552014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16256
16257 * gdb.threads/gcore-stale-thread.c: New file.
16258 * gdb.threads/gcore-stale-thread.exp: New file.
16259
a8454a7c
PA
162602014-08-21 Pedro Alves <palves@redhat.com>
16261
16262 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16263 * gdb.base/gcore-relro-pie.exp: Likewise.
16264 * gdb.base/gcore-relro.exp: Likewise.
16265 * gdb.base/gcore.exp: Likewise.
16266 * gdb.base/print-symbol-loading.exp: Likewise.
16267 * gdb.threads/gcore-thread.exp: Likewise.
16268 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16269
2a31c623
PA
162702014-08-20 Pedro Alves <palves@redhat.com>
16271 Jan Kratochvil <jan.kratochvil@redhat.com>
16272
16273 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16274 configure.
16275 (EXPECT): Handle READ1 being set.
16276 (all): Depend on EXTRA_RULES.
16277 (check-read1, expect-read1, read1.so, read1): New rules.
16278 * README (Testsuite Parameters): Document the READ1 make variable.
16279 (Race detection): New section.
16280 * configure: Regenerate.
16281 * configure.ac: If build==host==target, and running under a
16282 GNU/glibc system, add read1 to the extra Makefile rules.
16283 (EXTRA_RULES): AC_SUBST it.
16284 * lib/read1.c: New file.
16285
d36430db
JB
162862014-08-20 Joel Brobecker <brobecker@adacore.com>
16287
16288 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16289 the handling of variables declared as a typedef to an array
16290 which a DW_AT_data_location attribute.
16291
9a0dc9e3
PA
162922014-08-19 Andrew Burgess <aburgess@broadcom.com>
16293 Pedro Alves <palves@redhat.com>
16294
16295 PR symtab/14604
16296 PR symtab/14605
16297 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16298 gdb_test.
16299
0718a8da
PA
163002014-08-19 Pedro Alves <palves@redhat.com>
16301
16302 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16303
13b448cd
YQ
163042014-08-19 Yao Qi <yao@codesourcery.com>
16305
16306 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16307 right line.
16308
1cbf5077
DB
163092014-08-18 David Blaikie <dblaikie@gmail.com>
16310
16311 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16312
bf0fae19
JB
163132014-08-18 Joel Brobecker <brobecker@adacore.com>
16314
16315 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16316 attribute in array range.
16317
3c8c5dcc
JB
163182014-08-18 Joel Brobecker <brobecker@adacore.com>
16319
16320 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16321
e66d4446
SC
163222014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16323
16324 PR c++/17132
16325 * gdb.cp/pr17132.cc: New file.
16326 * gdb.cp/pr17132.exp: New file.
16327
940df408
SC
163282014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16329
16330 * gdb.python/py-xmethods.py (A_getarrayind)
16331 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16332 Use 'print' with function call syntax.
16333 (E_method_matcher.match): Fix tab vs space indentation mixup.
16334
ebcc6c3a
YQ
163352014-08-15 Yao Qi <yao@codesourcery.com>
16336
16337 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16338 false.
16339
775e0f04
YQ
163402014-08-15 Yao Qi <yao@codesourcery.com>
16341
16342 * gdb.cp/casts.exp: Set print symbol off.
16343 * gdb.cp/class2.exp: Likewise.
16344 * gdb.cp/overload.exp: Likewise.
16345 * gdb.cp/templates.exp: Likewise.
16346
d769e349
DE
163472014-08-11 Doug Evans <dje@google.com>
16348
16349 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16350 (test_load_shlib): Update.
16351
20c6f1e1
YQ
163522014-08-09 Yao Qi <yao@codesourcery.com>
16353
16354 * gdb.base/display.exp: Invoke is_address_zero_readable.
16355 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16356 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16357 * gdb.base/hbreak-unmapped.exp: Return if
16358 is_address_zero_readable returns true.
16359 * gdb.base/signest.exp: Likewise.
16360 * gdb.base/signull.exp: Likewise.
16361 * gdb.base/sigbpt.exp: Likewise.
16362 * gdb.guile/scm-disasm.exp: Do the test if
16363 is_address_zero_readable returns false.
16364 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16365 * gdb.python/py-arch.exp: Likewise.
16366 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16367 * lib/gdb.exp (is_address_zero_readable): New proc.
16368
5792e8e3
YQ
163692014-08-09 Yao Qi <yao@codesourcery.com>
16370
16371 PR testsuite/13443
16372 * gdb.mi/mi-var-display.exp: Make test messages unique.
16373
3cecbbbe
TT
163742014-08-04 Tom Tromey <tromey@redhat.com>
16375
16376 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16377 target 0".
16378
00b51ff5
TT
163792014-08-04 Tom Tromey <tromey@redhat.com>
16380
16381 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16382 "target_resume".
16383
6908c509
JB
163842014-08-01 Joel Brobecker <brobecker@adacore.com>
16385
16386 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16387 inner_vla_struct_object_size.
16388 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16389 as xfail.
16390
cc6563d2
PA
163912014-07-30 Pedro Alves <palves@redhat.com>
16392
16393 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16394 comment.
16395
7e09a223
YQ
163962014-07-29 Yao Qi <yao@codesourcery.com>
16397
16398 PR gdb/17206
16399 * gdb.base/until-nodebug.exp: New.
16400
7ebdbe92
DE
164012014-07-28 Doug Evans <xdje42@gmail.com>
16402
16403 PR guile/17203
16404 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16405 previously existing parameter, and previously ambiguously spelled
16406 parameter.
16407
fdb1adc6
WN
164082014-07-28 Will Newton <will.newton@linaro.org>
16409
16410 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16411
186fcde0
DE
164122014-07-26 Ludovic Courtès <ludo@gnu.org>
16413 Doug Evans <xdje42@gmail.com>
16414
16415 PR guile/17146
16416 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16417
70509625
PA
164182014-07-25 Pedro Alves <palves@redhat.com>
16419
16420 * gdb.threads/signal-command-handle-nopass.c: New file.
16421 * gdb.threads/signal-command-handle-nopass.exp: New file.
16422 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16423 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16424 * gdb.threads/signal-delivered-right-thread.c: New file.
16425 * gdb.threads/signal-delivered-right-thread.exp: New file.
16426
c3f814a1
PA
164272014-07-25 Pedro Alves <palves@redhat.com>
16428
16429 * gdb.base/double-prompt-target-event-error.exp
16430 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16431 match.
16432 (cancel_pagination_in_target_event): Rework double prompt
16433 detection.
16434 * gdb.base/paginate-after-ctrl-c-running.exp
16435 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16436 <return>' match.
16437 * gdb.base/paginate-bg-execution.exp
16438 (test_bg_execution_pagination_return)
16439 (test_bg_execution_pagination_cancel): Remove '-notransfer
16440 <return>' matches.
16441 * gdb.base/paginate-execution-startup.exp
16442 (test_fg_execution_pagination_return)
16443 (test_fg_execution_pagination_cancel): Remove '-notransfer
16444 <return>' matches.
16445 * gdb.base/paginate-inferior-exit.exp
16446 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16447 match.
16448 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16449 * lib/gdb.exp (pagination_prompt): Run text through
16450 string_to_regexp.
16451 (gdb_test_multiple): Match $pagination_prompt instead of
16452 "<return>".
16453 (string_to_regexp): Move to lib/gdb-utils.exp.
16454
e214cf6c
JK
164552014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16456
16457 * gdb.arch/amd64-entry-value-paramref.S: New file.
16458 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16459 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16460 * gdb.arch/amd64-optimout-repeat.S: New file.
16461 * gdb.arch/amd64-optimout-repeat.c: New file.
16462 * gdb.arch/amd64-optimout-repeat.exp: New file.
16463
17d0c5c8
JK
164642014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16465
16466 PR gdb/17170
16467 * gdb.base/statistics.exp: New file.
16468
b8b8facf
DE
164692014-07-17 Doug Evans <dje@google.com>
16470
74b49205 16471 PR gdb/17170
b8b8facf
DE
16472 * gdb.base/maint.exp: Update testing of per-command stats.
16473
1b5d0ab3
PA
164742014-07-16 Pedro Alves <palves@redhat.com>
16475
16476 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16477 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16478 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16479 (tfile_write_buf): New functions.
16480 (add_memory_block): Rewrite using the above.
16481 (adjust_function_address): New function.
16482 (FUNCTION_ADDRESS): New macro.
16483 (write_basic_trace_file): Remove short_x local, and use
16484 tfile_write_16. Change type of func_addr local to unsigned long
16485 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16486 here. Cast argument of add_memory_block to char pointer.
16487 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16488 (main): Remove parameters.
16489 * gdb.trace/tfile.exp: Remove nowarnings.
16490
4d974e88
SM
164912014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16492
16493 * gdb.base/debug-expr.exp: Test string evaluation with
16494 "debug expression" on.
16495
41e99568
PA
164962014-07-15 Pedro Alves <palves@redhat.com>
16497
16498 * gdb.base/reread.exp: Use clean_restart.
16499
487d9753
PL
165002014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16501
16502 * gdb.arch/avr-flash-qualifer.c: New.
16503 * gdb.arch/avr-flash-qualifer.exp: New.
16504
cc1c52ad
PA
165052014-07-14 Pedro Alves <palves@redhat.com>
16506
16507 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16508 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16509
1e973570
PA
165102014-07-14 Pedro Alves <palves@redhat.com>
16511
16512 * gdb.base/double-prompt-target-event-error.c: New file.
16513 * gdb.base/double-prompt-target-event-error.exp: New file.
16514
93d6eb10
PA
165152014-07-14 Pedro Alves <palves@redhat.com>
16516
16517 PR gdb/17072
16518 * gdb.base/paginate-inferior-exit.c: New file.
16519 * gdb.base/paginate-inferior-exit.exp: New file.
16520
0017922d
PA
165212014-07-14 Pedro Alves <palves@redhat.com>
16522
16523 PR gdb/17072
16524 * gdb.base/paginate-bg-execution.c: New file.
16525 * gdb.base/paginate-bg-execution.exp: New file.
16526
94696ad3
PA
165272014-07-14 Pedro Alves <palves@redhat.com>
16528
16529 PR gdb/17072
16530 * gdb.base/paginate-execution-startup.c: New file.
16531 * gdb.base/paginate-execution-startup.exp: New file.
16532 * lib/gdb.exp (pagination_prompt): New global.
16533 (default_gdb_spawn): New procedure, factored out from
16534 default_gdb_spawn.
16535 (default_gdb_start): Adjust to call default_gdb_spawn.
16536 (gdb_spawn): New procedure.
16537
bd293940
PA
165382014-07-14 Pedro Alves <palves@redhat.com>
16539
16540 * lib/gdb.exp (gdb_assert): New procedure.
16541 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16542
c933f875
PA
165432014-07-14 Pedro Alves <palves@redhat.com>
16544
16545 * gdb.base/execution-termios.c: New file.
16546 * gdb.base/execution-termios.exp: New file.
16547
d98b7a16
TT
165482014-07-14 Tom Tromey <tromey@redhat.com>
16549
16550 * gdb.cp/vla-cxx.cc: New file.
16551 * gdb.cp/vla-cxx.exp: New file.
16552
548740d6
TT
165532014-07-14 Tom Tromey <tromey@redhat.com>
16554
16555 * gdb.reverse/rerun-prec.c: New file.
16556 * gdb.reverse/rerun-prec.exp: New file.
16557
a25eb028
MR
165582014-07-12 Maciej W. Rozycki <macro@mips.com>
16559 Maciej W. Rozycki <macro@codesourcery.com>
16560
16561 * lib/gdb-utils.exp: New file.
16562 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16563 inline `gdb_init_command' processing.
16564 (gdb_start_cmd): Likewise.
16565 * lib/mi-support.exp (mi_run_cmd): Likewise.
16566 * README: Document `gdb_init_command' and `gdb_init_commands'.
16567
218c2655
JK
165682014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16569
16570 Fix false FAIL running under a very long directory name.
16571 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16572 and "set print elements 10000". Twice.
16573
5401fde3
YQ
165742014-07-11 Yao Qi <yao@codesourcery.com>
16575
16576 * gdb.base/exprs.exp: "set print symbol off".
16577
e76126e8
PA
165782014-07-11 Pedro Alves <palves@redhat.com>
16579
16580 * gdb.threads/kill.c: New file.
16581 * gdb.threads/kill.exp: New file.
16582
2d6f0de6
YQ
165832014-07-10 Yao Qi <yao@codesourcery.com>
16584
16585 * gdb.trace/tfile.c (write_basic_trace_file)
16586 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16587 address written to trace file.
16588
7180e04a
PA
165892014-07-09 Pedro Alves <palves@redhat.com>
16590
16591 * gdb.base/attach-wait-input.exp: New file.
16592 * gdb.base/attach-wait-input.c: New file.
16593
9a9a7608
AB
165942014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16595
16596 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16597 setting up test structures.
16598 (main): Call new test function.
16599 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16600 test function, continue into test function and walk test
16601 structures.
16602
161ac41e
YQ
166032014-07-02 Yao Qi <yao@codesourcery.com>
16604
16605 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16606 'bar_start' at the beginning of functions 'foo' and 'bar'
16607 respectively.
16608 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16609 instead of 'foo' and 'bar'.
16610
1f267ae3
MM
166112014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16612
16613 * gdb.btrace/segv.exp: New.
16614 * gdb.btrace/segv.c: New.
16615
2b239efb
LM
166162014-07-02 Luis Machado <lgustavo@codesourcery.com>
16617
16618 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16619 instruction.
16620
cf363f18
MW
166212014-06-30 Mark Wielaard <mjw@redhat.com>
16622
16623 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16624 vulture, vilify, villar): New volatile array constants.
16625 (vindictive, vegetation): New const volatile array constants.
16626 * gdb.base/volatile.exp: Test volatile and const volatile array
16627 types.
16628
aebf9d24
AA
166292014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16630
16631 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16632 target lacks support for awatch, rwatch, or hbreak.
16633
b67a2c6f
YQ
166342014-06-27 Yao Qi <yao@codesourcery.com>
16635
16636 * gdb.multi/dummy-frame-restore.exp: New.
16637 * gdb.multi/dummy-frame-restore.c: New.
16638
aef92902
MM
166392014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16640
16641 * gdb.btrace/gcore.exp: New.
16642
8e9db26e
PA
166432014-06-23 Pedro Alves <palves@redhat.com>
16644
16645 * gdb.base/watchpoint-reuse-slot.c: New file.
16646 * gdb.base/watchpoint-reuse-slot.exp: New file.
16647
70afc5b7
SC
166482014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16649
16650 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16651 progspace's filename in 'info', 'enable' and 'disable' command
16652 tests.
16653
b972bd9c
JK
166542014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16655
16656 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16657 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16658 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16659
125f8a3d
GB
166602014-06-20 Gary Benson <gbenson@redhat.com>
16661
16662 * gdb.arch/i386-avx.exp: Fix include file location.
16663 * gdb.arch/i386-sse.exp: Likewise.
16664
3ed9baed
IB
166652014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16666
16667 * gdb.dlang/expression.exp: New file.
16668
034f788c
PA
166692014-06-19 Pedro Alves <palves@redhat.com>
16670
16671 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16672 out from ...
16673 (top level): ... here. Iterate running tests under different
16674 scheduler-locking settings.
16675
45371d0c
LM
166762014-06-18 Luis Machado <lgustavo@codesourcery.com>
16677
16678 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16679 to DW_FORM_addr and use non-zero addresses.
16680
5d376983
SC
166812014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16682
16683 PR gdb/17017
16684 * gdb.python/py-xmethods.cc: Add global function call counters and
16685 increment them in their respective functions. Remove "cout"
16686 statements.
16687 * gdb.python/py-xmethods.exp: Make tests check the global function
16688 call counters instead of depending on inferior IO.
16689
a1aa2221
LM
166902014-06-18 Don Breazeal <donb@codesourcery.com>
16691
16692 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16693 Deleted procedure.
16694 (explicit_fork_parent_follow): Deleted procedure.
16695 (explicit_fork_child_follow): Deleted procedure.
16696 (test_follow_fork): New procedure.
16697 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 16698 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
16699 procedure calls.
16700
0fc05997
YQ
167012014-06-17 Yao Qi <yao@codesourcery.com>
16702
16703 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16704 CP1252.
16705
70795c52
LM
167062014-06-17 Luis Machado <lgustavo@codesourcery.com>
16707
16708 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16709 Initialize ptr and S explicitly.
16710 (skip_type_update_when_not_use_rtti_test): Likewise.
16711
6be47f0c
KS
167122014-06-16 Keith Seitz <keiths@redhat.com>
16713
16714 PR mi/15863
16715 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16716 the inferior is started.
16717
d03de421
PA
167182014-06-16 Pedro Alves <palves@redhat.com>
16719
16720 * gdb.base/break-main-file-remove-fail.c: New file.
16721 * gdb.base/break-main-file-remove-fail.exp: New file.
16722 * gdb.base/break-unload-file.exp: Use build_executable instead of
16723 prepare_for_testing.
16724 (test_break): New parameter "initial_load". Handle it.
16725 (top level): Add initial_load cmdline/file axis.
16726
f9579b99
TT
167272014-06-12 Tom Tromey <tromey@redhat.com>
16728
16729 * gdb.base/completion.exp: Don't use directory name in test.
16730
3657956b
GB
167312014-06-09 Gary Benson <gbenson@redhat.com>
16732
16733 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16734 separate the always-available ANSI-standard signals from the
16735 signals that require checking.
16736 (main): Likewise.
16737 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16738 Likewise.
16739 (main): Likewise.
16740
4186eb54
KS
167412014-06-07 Keith Seitz <keiths@redhat.com>
16742
16743 Revert:
16744 PR c++/16253
16745 * gdb.cp/var-tag.cc: New file.
16746 * gdb.cp/var-tag.exp: New file.
16747 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16748 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16749 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16750 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16751
25326a28 167522014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
16753
16754 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16755
829155c9
PA
167562014-06-06 Pedro Alves <palves@redhat.com>
16757
16758 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16759 in target debug output instead of looking at RSP packets,
16760 disabling the test on any target that uses hardware stepping.
16761 Update comments.
16762
61c8d22e
PA
167632014-06-06 Pedro Alves <palves@redhat.com>
16764
16765 * gdb.base/break-unload-file.exp: Fix typo.
16766
d9a47287
YQ
167672014-06-06 Yao Qi <yao@codesourcery.com>
16768
16769 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16770 from "jit_function" to "^jit_function".
16771
e5e01dbf
YQ
167722014-06-06 Yao Qi <yao@codesourcery.com>
16773
16774 * gdb.base/async.c (foo): Add one statement.
16775 * gdb.base/async.exp: Get the next instruction address and
16776 match the output of "nexti" by instruction address. Match
16777 the hex address in the output of "finish".
16778
73ba372c
GB
167792014-06-06 Gary Benson <gbenson@redhat.com>
16780
16781 * gdb.base/call-signals.c: Remove preprocessor conditionals
16782 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16783 SIGSEGV and SIGTERM.
16784 * gdb.base/sigall.c: Likewise.
16785 * gdb.base/unwindonsignal.c: Likewise.
16786 * gdb.reverse/sigall-reverse.c: Likewise.
16787
831517df
YQ
167882014-06-06 Yao Qi <yao@codesourcery.com>
16789
16790 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16791 readable, skip the test.
16792
b8b91e98
YQ
167932014-06-06 Yao Qi <yao@codesourcery.com>
16794
16795 * gdb.threads/staticthreads.c (thread_function): Move the line
16796 setting breakpoint on forward.
16797 * gdb.threads/staticthreads.exp: Update comments.
16798
fb934770
LC
167992014-06-05 Ludovic Courtès <ludo@gnu.org>
16800
16801 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16802 "history-append! type error".
16803
6ef284bd
SM
168042014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16805
16806 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16807 erroneous dprintf expected input.
16808
a872e241
DE
168092014-06-04 Doug Evans <xdje42@gmail.com>
16810
16811 * gdb.guile/scm-generics.exp: Delete.
16812
16f691fb
DE
168132014-06-04 Doug Evans <xdje42@gmail.com>
16814
16815 * gdb.guile/scm-breakpoint.exp: Update.
16816 Add tests for breakpoint registration.
16817
012370f6
TT
168182014-06-04 Tom Tromey <tromey@redhat.com>
16819
16820 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16821 VLA-in-union.
16822 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16823 inner_vla_struct, vla_union types. Initialize objects of those
16824 types and compute their sizes.
16825
9f5a4cef
HZ
168262014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16827 Hui Zhu <hui@codesourcery.com>
16828
16829 * gdb.base/fileio.exp: Add test for shell not available as well as
16830 available.
16831 * gdb.base/fileio.c (test_system): Check for shell twice.
16832
90a45c4d
YQ
168332014-06-04 Yao Qi <yao@codesourcery.com>
16834
16835 * gdb.base/auto-connect-native-target.exp: Remove redundant
16836 space from the regexp pattern.
16837
70017e41
YQ
168382014-06-04 Yao Qi <yao@codesourcery.com>
16839
16840 * gdb.base/default.exp: Replace "child" with "native" in
16841 regexp pattern.
16842
883964a7
SC
168432014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16844
16845 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16846 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16847 * gdb.python/py-xmethods.py: Python script supporting the
16848 new testcase and tests.
16849
ef370185
JB
168502014-06-03 Joel Brobecker <brobecker@adacore.com>
16851 Pedro Alves <palves@redhat.com>
16852
16853 PR breakpoints/17000
16854 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16855 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16856
1e2ccb61
BM
168572014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16858
16859 * gdb.base/subst.exp: Add tests to verify partial path matching
16860 output.
16861
c6ec5ab2
PA
168622014-06-03 Pedro Alves <palves@redhat.com>
16863
16864 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16865 target that doesn't use software single-stepping.
16866
835c559f
PA
168672014-06-03 Pedro Alves <palves@redhat.com>
16868
16869 PR breakpoints/17000
16870 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16871 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16872
06eb1586
DE
168732014-06-02 Doug Evans <xdje42@gmail.com>
16874
16875 * gdb.guile/scm-parameter.exp: New file.
16876
e698b8c4
DE
168772014-06-02 Doug Evans <xdje42@gmail.com>
16878
16879 * gdb.guile/scm-cmd.c: New file.
16880 * gdb.guile/scm-cmd.exp: New file.
16881
ded03782
DE
168822014-06-02 Doug Evans <xdje42@gmail.com>
16883
16884 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16885 pretty-printer lookup.
16886 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16887 (make-pp_s-printer): Call it.
16888 (make-pretty-printer-from-dict): New function.
16889 (lookup-pretty-printer-maker-from-dict): New function.
16890 (*pretty-printer*): Simplify.
16891 (make-objfile-pp_s-printer): New function.
16892 (install-objfile-pretty-printers!): New function.
16893 (make-progspace-pp_s-printer): New function.
16894 (install-progspace-pretty-printers!): New function.
16895 * gdb.guile/scm-progspace.c: New file.
16896 * gdb.guile/scm-progspace.exp: New file.
16897
41fac0cf
PA
168982014-06-02 Pedro Alves <palves@redhat.com>
16899
16900 * gdb.base/dprintf-bp-same-addr.c: New file.
16901 * gdb.base/dprintf-bp-same-addr.exp: New file.
16902
96ae5695
EBM
169032014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16904
16905 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16906 * gdb.arch/powerpc-power.s: Likewise.
16907
da02b3a8
JB
169082014-06-02 Joel Brobecker <brobecker@adacore.com>
16909
16910 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16911
c72b2e7b
YQ
169122014-06-01 Yao Qi <yao@codesourcery.com>
16913
16914 * gdb.base/watchpoint.exp (test_watch_location): Check null
16915 pointer can be dereferenced. If not, do the test, otherwise
16916 skip it.
16917
53e8a631
AB
169182014-05-30 Andrew Burgess <aburgess@broadcom.com>
16919
16920 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16921 results.
16922 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16923
938f0e2f
AB
169242014-05-30 Andrew Burgess <aburgess@broadcom.com>
16925
16926 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16927 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16928 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16929 * gdb.arch/amd64-invalid-stack-top.c: New file.
16930 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16931
9ba6657a
PA
169322014-05-30 Pedro Alves <palves@redhat.com>
16933
16934 PR breakpoints/17000
16935 * gdb.base/sss-bp-on-user-bp.c: New file.
16936 * gdb.base/sss-bp-on-user-bp.exp: New file.
16937
522c09bf
DB
169382014-05-30 David Blaikie <dblaikie@gmail.com>
16939
16940 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16941 gnu_inline semantics via attribute.
16942 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16943 source explicitly specifies the required semantics.
16944
bf4ef81e
MR
169452014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16946
16947 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16948
329ea579
PA
169492014-05-29 Pedro Alves <palves@redhat.com>
16950 Tom Tromey <tromey@redhat.com>
16951
16952 * gdb.base/async-shell.exp: Don't enable target-async.
16953 * gdb.base/async.exp
16954 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16955 parameter. Adjust.
16956 (top level): Don't test with "target-async".
16957 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16958 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16959 * gdb.base/inferior-died.exp: Don't enable target-async.
16960 * gdb.base/interrupt-noterm.exp: Likewise.
16961 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16962 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16963 * gdb.mi/mi-nonstop.exp: Likewise.
16964 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16965 * gdb.mi/mi-nsintrall.exp: Likewise.
16966 * gdb.mi/mi-nsmoribund.exp: Likewise.
16967 * gdb.mi/mi-nsthrexec.exp: Likewise.
16968 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16969 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16970 * gdb.python/py-evsignal.exp: Don't enable target-async.
16971 * gdb.python/py-evthreads.exp: Likewise.
16972 * gdb.python/py-prompt.exp: Likewise.
16973 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16974 * gdb.server/solib-list.exp: Don't enable target-async.
16975 * gdb.threads/thread-specific-bp.exp: Likewise.
16976 * lib/mi-support.exp: Adjust to use mi-async.
16977
fd664c91
PA
169782014-05-29 Pedro Alves <palves@redhat.com>
16979
16980 PR gdb/13860
16981 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16982 reason, even in sync mode.
16983
251bde03
PA
169842014-05-29 Pedro Alves <palves@redhat.com>
16985 Hui Zhu <hui@codesourcery.com>
16986
16987 PR PR15693
16988 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16989 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16990 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16991 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16992
7f3c0343
JB
169932014-05-28 Joel Brobecker <brobecker@adacore.com>
16994
16995 * config/monitor.exp (gdb_target_monitor): Replace use of
16996 "set remotebaud" by "set serial baud".
16997
b2715b27
AW
169982014-05-26 Andy Wingo <wingo@igalia.com>
16999
17000 * gdb.guile/scm-breakpoint.exp:
17001 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17002 properties instead of gdb-object-properties.
17003
498a4489
YQ
170042014-05-26 Yao Qi <yao@codesourcery.com>
17005
17006 * gdb.server/no-thread-db.exp: Specify source file name
17007 explicitly when setting a breakpoint.
17008
589fdceb
MM
170092014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17010
17011 * gdb.btrace/vdso.c: New.
17012 * gdb.btrace/vdso.exp: New.
17013
e9089e05
MM
170142014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17015
17016 * gdb.base/gcore.exp (capture_command_output): Move ...
17017 * lib/gdb.exp (capture_command_output): ... here.
17018
67b5c0c1
MM
170192014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17020
17021 * gdb.btrace/data.exp: Test memory access during btrace replay.
17022
a2199296
SM
170232014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17024
17025 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17026
17b2616c
PA
170272014-05-21 Pedro Alves <palves@redhat.com>
17028
17029 PR gdb/13860
17030 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17031 (top level): Test that output related to execution commands is
17032 sent to the console with CLI commands, but not with MI commands.
17033 Test that breakpoint events are always mirrored to the console.
17034 Also expect the new source line to be output after a "next" in
17035 async mode too. Make it a pass/fail test.
17036 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17037 output.
17038 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17039
5166082f
PA
170402014-05-21 Pedro Alves <palves@redhat.com>
17041
17042 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17043 Use them to test variations of "list" after reaching a breakpoint.
17044 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17045 Test "list" with listsize 10 after reaching a breakpoint.
17046 * gdb.python/python.exp (decode_line current location line
17047 number): Adjust expected line number.
17048
2f25d70f
SM
170492014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17050
17051 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17052 behavior for $args, pass it directly to "run".
17053
ff604a67
MR
170542014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17055
17056 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17057 30000 to 65536.
17058
6a3cb8e8
PA
170592014-05-21 Pedro Alves <palves@redhat.com>
17060
17061 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17062 auto-connect-native-target off".
17063 * gdb.base/auto-connect-native-target.c: New file.
17064 * gdb.base/auto-connect-native-target.exp: New file.
17065
4ebfc96e
PA
170662014-05-21 Pedro Alves <palves@redhat.com>
17067
17068 * gdb.base/default.exp: Test "target native" instead of "target
17069 child".
17070
36d46afb
MW
170712014-05-21 Mark Wielaard <mjw@redhat.com>
17072
17073 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17074
5876f503
JK
170752014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17076
17077 Fix TLS access for -static -pthread.
17078 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17079 <HAVE_TLS> (thread_function, main): Initialize it.
17080 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17081 Add clean_restart.
17082 <$have_tls != "">: Check TLSVAR.
17083
0256a6ac
PA
170842014-05-21 Pedro Alves <palves@redhat.com>
17085
17086 * gdb.base/dcache-line-read-error.c: New.
17087 * gdb.base/dcache-line-read-error.exp: New.
17088
936d2992
PA
170892014-05-20 Pedro Alves <palves@redhat.com>
17090
17091 * gdb.base/compare-sections.c: New file.
17092 * gdb.base/compare-sections.exp: New file.
17093
802e8e6d
PA
170942014-05-20 Pedro Alves <palves@redhat.com>
17095
17096 * gdb.base/break-idempotent.c: New file.
17097 * gdb.base/break-idempotent.exp: New file.
17098
e59fa00f
MM
170992014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17100
17101 * gdb.btrace/nohist.exp: New.
17102
8b696e31
YQ
171032014-05-20 Yao Qi <yao@codesourcery.com>
17104
17105 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17106 gdb.reverse directory and gdb_reverse_timeout exists in board
17107 setting.
17108 * README: Document gdb_reverse_timeout.
17109
73c9764f
YQ
171102014-05-20 Yao Qi <yao@codesourcery.com>
17111
17112 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17113 'test_file_name'. Treat args as a string instead of a list.
17114 (gdb_init): Rename argument 'args' by 'test_file_name'.
17115
f1f4348a
JK
171162014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17117
17118 * gdb.arch/powerpc-power.exp: New file.
17119 * gdb.arch/powerpc-power.s: New file.
17120
0dbe70ce
DE
171212014-05-16 Doug Evans <dje@google.com>
17122
17123 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
17124 * gdb.base/completion.exp: Check that all expected files exist
17125 before doing file completion.
0dbe70ce 17126
8d551b02
DE
171272014-05-16 Doug Evans <dje@google.com>
17128
17129 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17130 Update.
17131 (do_syscall_tests_without_xml): Update.
17132
73eb7709
PA
171332014-05-16 Pedro Alves <palves@redhat.com>
17134
17135 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17136 instead of "unknown output after running".
17137
3fae92fc
YQ
171382014-05-16 Yao Qi <yao@codesourcery.com>
17139
17140 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17141 file1.txt from host at the end.
17142 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17143
c2b2ccc5
DE
171442014-05-15 Doug Evans <dje@google.com>
17145
17146 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17147 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17148 loading file. Add test for TU lookup.
17149
8c217a4b
SM
171502014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17151
17152 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17153 calling "-exec-arguments" or "set args" before running the
17154 inferior.
17155
3deb39c6
SM
171562014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17157
17158 * lib/mi-support.exp (mi_expect_stop): Expect message for
17159 inferiors that exit with non-zero exit code.
17160
71a79f8c
YQ
171612014-05-14 Yao Qi <yao@codesourcery.com>
17162
17163 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17164 match absolute path on remote host.
17165 (test_file_list_exec_source_files): Remove "/" from the
17166 pattern.
17167
f23fcd46
YQ
171682014-05-14 Yao Qi <yao@codesourcery.com>
17169
17170 * boards/local-remote-host-notty.exp (${board}_file): New
17171 proc.
17172
9404b58f
KM
171732014-05-07 Kyle McMartin <kyle@redhat.com>
17174
17175 Pushed by Joel Brobecker <brobecker@adacore.com>.
17176 * gdb.arch/aarch64-atomic-inst.c: New file.
17177 * gdb.arch/aarch64-atomic-inst.exp: New file.
17178
5e45f04c
YQ
171792014-05-07 Yao Qi <yao@codesourcery.com>
17180
17181 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17182 in current context" too.
17183
c888a17d
KS
171842014-05-05 Keith Seitz <keiths@redhat.com>
17185
17186 * gdb.linespec/ls-dollar.exp: Add test for linespec
17187 file:convenience_variable.
17188
290a839c
YQ
171892014-05-05 Yao Qi <yao@codesourcery.com>
17190
17191 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17192 traceframes into tfile and ctf trace files. Read data from
17193 trace file and test collected data.
17194 (gdb_collect_locals_test): Likewise.
17195 (gdb_unavailable_registers_test): Likewise.
17196 (gdb_unavailable_floats): Likewise.
17197 (gdb_collect_globals_test): Likewise.
17198 (top-level): Append "ctf" to trace_file_targets if GDB
17199 supports.
17200
b5262cd0
YQ
172012014-05-05 Yao Qi <yao@codesourcery.com>
17202
17203 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17204 code to ...
17205 (gdb_collect_args_test_1): ... it. New proc.
17206 (gdb_collect_locals_test): Move some code to ...
17207 (gdb_collect_locals_test_1): ... it. New proc.
17208 (gdb_unavailable_registers_test): Move some code to ...
17209 (gdb_unavailable_registers_test_1): ... it. New proc.
17210 (gdb_unavailable_floats): Move some code to ...
17211 (gdb_unavailable_floats_1): ... it. New proc.
17212
30a1e6cc
SDJ
172132014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17214
17215 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17216 probes to test for bitness recognition.
17217 * gdb.arch/amd64-stap-optional-prefix.exp
17218 (test_probe_value_without_reg): New procedure.
17219 Add code to test for different kinds of bitness.
17220
f33da99a
SDJ
172212014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17222
17223 PR breakpoints/16889
17224 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17225 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17226
5b80f00d
PA
172272014-05-01 Pedro Alves <palves@redhat.com>
17228
17229 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17230 gdb_file_cmd if no file is specified.
17231 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17232 last_loaded_file to set the remote exec-file.
17233
f8c2a73c
PA
172342014-05-01 Pedro Alves <palves@redhat.com>
17235
17236 * boards/local-remote-host.exp: New file.
17237
be6e8ac7
PA
172382014-05-01 Pedro Alves <palves@redhat.com>
17239
17240 * boards/local-remote-host.exp: Rename to ...
17241 * boards/local-remote-host-notty.exp: ... this.
17242
cac0dc8f
JB
172432014-04-28 Joel Brobecker <brobecker@adacore.com>
17244
17245 * gdb.ada/dyn_arrayidx: New testcase.
17246
9730e6cc
YQ
172472014-04-26 Yao Qi <yao@codesourcery.com>
17248
17249 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17250 and compute the length of function main. Save it in
17251 $main_length.
17252 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17253 (top-level): Use gdb_compile to compile objects into
17254 executable and restart GDB. Remove invocation to
17255 prepare_for_testing.
17256
7ae1a6a6
PA
172572014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17258 Pedro Alves <palves@redhat.com>
17259
17260 PR server/16255
17261 * gdb.multi/multi-attach.c: New file.
17262 * gdb.multi/multi-attach.exp: New file.
17263
4082afcc
PA
172642014-04-25 Pedro Alves <palves@redhat.com>
17265
17266 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17267 user.
17268 (top level): Test that "set remote conditional-breakpoints-packet
17269 off" works as intended.
17270 * gdb.base/dprintf.exp: Test that "set remote
17271 breakpoint-commands-packet off" works as intended.
17272 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17273 New function.
17274 (top level): Call it.
17275 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17276 remote fast-tracepoints-packet off" works as intended.
17277 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17278 * lib/gdb.exp (gdb_is_target_remote): ... here.
17279
2abc3f8d
DB
172802014-04-24 David Blaikie <dblaikie@gmail.com>
17281
17282 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17283 ensure clang would not discard them.
17284 * gdb.base/gdbvars.c: Ditto.
17285 * gdb.base/memattr.c: Ditto.
17286 * gdb.base/whatis.c: Ditto.
17287 * gdb.python/py-prettyprint.c: Ditto.
17288 * gdb.trace/actions.c: Ditto.
17289 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17290 ensure clang would not discard it.
17291
bfd39632
DB
172922014-04-24 David Blaikie <dblaikie@gmail.com>
17293
17294 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17295 clang to emit the full definition of type required by the test
17296 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17297
22842ff6
DB
172982014-04-24 David Blaikie <dblaikie@gmail.com>
17299
17300 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17301 coax Clang into emitting the definition of the type.
17302 * gdb.cp/pr10728-x.h (y): Ditto.
17303 * gdb.cp/pr10728-y.cc (y): Ditto.
17304
c2e827ad
DB
173052014-04-24 David Blaikie <dblaikie@gmail.com>
17306
17307 * gdb.base/label.exp: XFAIL label related tests under Clang.
17308 * gdb.cp/cplabel.exp: Ditto.
17309 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17310 under Clang those using labels.
17311
4c2d33e7
YQ
173122014-04-25 Yao Qi <yao@codesourcery.com>
17313
17314 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17315 double_label.
17316 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17317 partial_label and double_label.
17318
56083b99
DB
173192014-04-24 David Blaikie <dblaikie@gmail.com>
17320
17321 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17322
25d4e99d
DB
173232014-04-24 David Blaikie <dblaikie@gmail.com>
17324
17325 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17326 of the function to work across GCC and Clang.
17327 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17328 pointer types (const void ** const V void **).
17329
01f9f808
MS
173302014-04-24 Michael Sturm <michael.sturm@mintel.com>
17331 Walfred Tedeschi <walfred.tedeschi@intel.com>
17332
17333 * Makefile.in (EXECUTABLES): Added i386-avx512.
17334 * gdb.arch/i386-avx512.c: New file.
17335 * gdb.arch/i386-avx512.exp: Likewise.
17336
4b48d439
KS
173372014-04-23 Keith Seitz <keiths@redhat.com>
17338
17339 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17340 (mi_make_breakpoint_table): New procedure.
17341 (mi_create_breakpoint): Use mi_make_breakpoint
17342 and return the result.
17343 (mi_make_breakpoint): New procedure.
17344 (mi_build_kv_pairs): New procedure.
17345
17346 * gdb.mi/mi-break.exp: Remove unused globals,
17347 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17348 All callers updated.
17349 * gdb.mi/mi-dprintf.exp: Use variable to track command
17350 number.
17351 Update all callers of mi_create_breakpoint and use
17352 mi_make_breakpoint_table.
17353 Remove any unused global variables.
17354 * gdb.mi/mi-nonstop.exp: Likewise.
17355 * gdb.mi/mi-nsintrall.exp: Likewise.
17356 * gdb.mi/mi-nsmoribund.exp: Likewise.
17357 * gdb.mi/mi-nsthrexec.exp: Likewise.
17358 * gdb.mi/mi-reverse.exp: Likewise.
17359 * gdb.mi/mi-simplerun.exp: Likewise.
17360 * gdb.mi/mi-stepn.exp: Likewise.
17361 * gdb.mi/mi-syn-frame.exp: Likewise.
17362 * gdb.mi/mi-until.exp: Likewise.
17363 * gdb.mi/mi-var-cp.exp: Likewise.
17364 * gdb.mi/mi-var-display.exp: Likewise.
17365 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17366 * gdb.mi/mi2-var-child.exp: Likewise.
17367 * gdb.mi/mi-vla-c99.exp: Likewise.
17368 * lib/mi-support.exp: Likewise.
17369
17370 From Ian Lance Taylor <iant@cygnus.com>:
17371 * lib/gdb.exp (parse_args): New procedure.
17372
08351840
PA
173732014-04-23 Pedro Alves <palves@redhat.com>
17374
17375 * gdb.base/break-unload-file.c: New file.
17376 * gdb.base/break-unload-file.exp: New file.
17377 * gdb.base/sym-file-lib.c (baz): New function.
17378 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17379 field.
17380 (load): Store the segment's mapped size.
17381 (unload): New function.
17382 (unload_shlib): New function.
17383 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17384 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17385 set a breakpoint at baz, and call it.
17386 * gdb.base/sym-file.exp: New tests for stale breakpoint
17387 instructions.
17388
076855f9
PA
173892014-04-23 Pedro Alves <palves@redhat.com>
17390
17391 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17392 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17393 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17394 * gdb.base/hbreak-unmapped.c: New file.
17395 * gdb.base/hbreak-unmapped.exp: New file.
17396 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17397 * lib/gdb.exp (gdb_is_target_remote): ... here.
17398
483805cf
PA
173992014-04-22 Pedro Alves <palves@redhat.com>
17400
17401 * gdb.base/consecutive-step-over.c: New file.
17402 * gdb.base/consecutive-step-over.exp: New file.
17403
06d97543
PA
174042014-04-22 Pedro Alves <palves@redhat.com>
17405
17406 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17407 instead of send_gdb/gdb_expect.
17408
b4429ea2
YQ
174092014-04-22 Yao Qi <yao@codesourcery.com>
17410
17411 * lib/trace-support.exp (generate_tracefile): New procedure.
17412 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17413 return 0.
17414 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17415 if generate_tracefile returns 1.
17416
51d48146
PA
174172014-04-18 Tom Tromey <palves@redhat.com>
17418 Pedro alves <tromey@redhat.com>
17419
17420 PR backtrace/15558
17421 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17422 with a backtrace limit.
17423 * gdb.python/py-frame-inline.exp: Test running to an inline
17424 function with a backtrace limit, and printing the newest frame.
17425 * gdb.python/py-frame-inline.c (main): Call f.
17426
bd1dce5f
MS
174272014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17428
17429 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17430
40d1a503
MS
174312014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17432
17433 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17434 Drop prefix from unsupported source file path.
17435
389b98f7
YQ
174362014-04-17 Yao Qi <yao@codesourcery.com>
17437
17438 * lib/gdb.exp (with_target_charset): New proc.
17439 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17440 with_target_charset.
17441 (test_print_strings): Likewise.
17442 (test_repeat_bytes): Likewise.
17443 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17444 for some tests.
17445
22869d73
KS
174462014-04-16 Keith Seitz <keiths@redhat.com>
17447
17448 PR gdb/15827
17449 * gdb.dwarf2/corrupt.c: New file.
17450 * gdb.dwarf2/corrupt.exp: New file.
17451
c4f87ca6
KS
174522014-04-16 Keith Seitz <keiths@redhat.com>
17453
17454 PR c++/16597
17455 * gdb.cp/namelessclass.cc: New file.
17456 * gdb.cp/namelessclass.exp: New file.
17457 * gdb.cp/namelessclass.S: New file.
17458
ab19de87
DE
174592014-04-16 Doug Evans <dje@google.com>
17460
17461 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17462 Add comment.
17463 (gdbserver_default_get_comm_port): New function.
17464 (gdbserver_start): Check if board file provided
17465 "gdbserver,get_comm_port" and use it if so.
17466 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17467 (gdb,socketport): Set to "stdio".
17468 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17469 (stdio_gdbserver_template): Delete.
17470 (${board}_get_remote_address): Update.
17471 (${board}_build_remote_cmd): Delete.
17472 (${board}_get_comm_port): New function.
17473 (${board}_spawn): Update.
17474 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17475 Delete.
17476 (${board}_get_remote_address): Update.
17477 (${board}_get_comm_port): New function.
17478
fc98a809
AB
174792014-04-16 Andrew Burgess <aburgess@broadcom.com>
17480
17481 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17482 appearing in any order.
17483
87fd9e6e
DE
174842014-04-15 Doug Evans <dje@google.com>
17485
17486 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17487 uninitialized value of "description".
17488
099fc3ea
KS
174892014-04-15 Keith Seitz <keiths@redhat.com>
17490
17491 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17492 Remove unused globals.
17493 (test_running_the_program): Likewise.
17494 (test_controlled_execution): Likewise.
17495 (test_controlling_breakpoints): Likewise.
17496 (test_program_termination): Likewise.
17497
5da151d4
KS
174982014-04-15 Keith Seitz <keiths@redhat.com>
17499
17500 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17501 unused globals.
17502 (test_rbreak_creation_and_listing): Likewise.
17503 (test_ignore_count): Likewise.
17504 (test_error): Likewise.
17505
35e5d2f0
PA
175062014-04-15 Pedro Alves <palves@redhat.com>
17507
17508 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17509 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17510 sym-file-loader.c.
17511 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17512 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17513 to sym-file-loader.c.
17514 (struct library): Forward declare.
17515 (load_shlib, lookup_function): Change prototypes.
17516 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17517 (translate_offset): Remove declarations.
17518 (get_text_addr): New declaration.
17519 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17520 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17521 sym-file-loader.h.
17522 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17523 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17524 here from sym-file-loader.h.
17525 (struct library): New structure.
17526 (load_shlib, lookup_function): Change prototypes and adjust to
17527 work with a struct library.
17528 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17529 (translate_offset): Make static.
17530 (get_text_addr): New function.
17531 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17532
eb4c1710
PA
175332014-04-15 Pedro Alves <palves@redhat.com>
17534
17535 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17536
2d1baf52
PA
175372014-04-15 Pedro Alves <palves@redhat.com>
17538
17539 * gdb.base/sym-file-loader.c: Include <limits.h>.
17540 (SELF_LINK): New define.
17541 (get_origin): New function.
17542 (load_shlib): Use it.
17543 * gdb.base/sym-file.exp: Don't early return if the target is
17544 remote. Use runto_main, and issue fail is that fails. Use
17545 gdb_load_shlibs.
17546 (shlib_name): Delete.
17547 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17548
7dd6df01
PA
175492014-04-15 Pedro Alves <palves@redhat.com>
17550
17551 * gdb.base/sym-file.exp: Remove regex characters from test
17552 message. Don't refer to breakpoint numbers in test messages.
17553
b50c8614
KS
175542014-04-14 Keith Seitz <keiths@redhat.com>
17555
17556 PR c++/16253
17557 * gdb.cp/var-tag.cc: New file.
17558 * gdb.cp/var-tag.exp: New file.
17559 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17560 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17561 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17562 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17563
3d567982
TT
175642014-04-14 Tom Tromey <tromey@redhat.com>
17565
17566 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17567 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17568 type.
17569 * gdb.cp/enum-class.exp: New file.
17570 * gdb.cp/enum-class.cc: New file.
17571
0626fc76
TT
175722014-04-14 Tom Tromey <tromey@redhat.com>
17573
17574 * gdb.dwarf2/enum-type.exp: New file.
17575
dca325b3
SA
175762014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17577
17578 * gdb.mi/mi-vla-c99.exp: New file.
17579 * gdb.mi/vla.c: New file.
17580
5854b38a
SA
175812014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17582
17583 * gdb.base/vla-datatypes.c: New file.
17584 * gdb.base/vla-datatypes.exp: New file.
17585
463bb957
SA
175862014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17587
17588 * gdb.base/vla-ptr.c: New file.
17589 * gdb.base/vla-ptr.exp: New file.
17590
3dd170be
SA
175912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17592
17593 * gdb.dwarf2/count.exp: New file.
17594
5ecaaa66
SA
175952014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17596
17597 * gdb.base/vla-sideeffect.c: New file.
17598 * gdb.base/vla-sideeffect.exp: New file.
17599
41f1ada5
DB
176002014-04-14 David Blaikie <dblaikie@gmail.com>
17601
17602 * gdb.mi/non-stop.c: Add return value for non-void function return
17603 statement.
17604 * gdb.threads/staticthreads.c: Ditto.
17605
0be03e84
DE
176062014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17607 Doug Evans <xdje42@gmail.com>
17608
17609 * gdb.guile/scm-value.c: Improve test case.
17610 * gdb.guile/scm-value.exp: Add new test.
17611
f180a1fb
DB
176122014-04-11 David Blaikie <dblaikie@gmail.com>
17613
17614 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17615 override Clang's default.
17616
6b662e19
JB
176172014-04-11 Joel Brobecker <brobecker@adacore.com>
17618
17619 Revert the following changes (regressions):
17620
17621 * gdb.base/vla-sideeffect.c: New file.
17622 * gdb.base/vla-sideeffect.exp: New file.
17623
17624 * gdb.dwarf2/count.exp: New file.
17625
17626 * gdb.base/vla-multi.c: New file.
17627 * gdb.base/vla-multi.exp: New file.
17628
17629 * gdb.base/vla-ptr.c: New file.
17630 * gdb.base/vla-ptr.exp: New file.
17631
17632 * gdb.base/vla-datatypes.c: New file.
17633 * gdb.base/vla-datatypes.exp: New file.
17634
17635 * gdb.mi/mi-vla-c99.exp: New file.
17636 * gdb.mi/vla.c: New file.
17637
245a5f0b
KS
176382014-04-11 Keith Seitz <keiths@redhat.com>
17639
17640 PR c++/16675
17641 * gdb.cp/cpsizeof.exp: New file.
17642 * gdb.cp/cpsizeof.cc: New file.
17643
58a84dcf
SA
176442014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17645
191a8a90
JB
17646 * gdb.mi/mi-vla-c99.exp: New file.
17647 * gdb.mi/vla.c: New file.
58a84dcf 17648
c8655f75
SA
176492014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17650
17651 * gdb.base/vla-datatypes.c: New file.
17652 * gdb.base/vla-datatypes.exp: New file.
17653
024e13b4
SA
176542014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17655
17656 * gdb.base/vla-ptr.c: New file.
17657 * gdb.base/vla-ptr.exp: New file.
17658
1a237e0e
SA
176592014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17660
17661 * gdb.base/vla-multi.c: New file.
17662 * gdb.base/vla-multi.exp: New file.
17663
504f3432
SA
176642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17665
17666 * gdb.dwarf2/count.exp: New file.
17667
3bce8237
SA
176682014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17669
191a8a90
JB
17670 * gdb.base/vla-sideeffect.c: New file.
17671 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 17672
322f9c21
YQ
176732014-04-11 Yao Qi <yao@codesourcery.com>
17674
17675 * gdb.base/completion.exp: Check file exists before running tests
17676 on file completion.
17677
d708bcd1
PA
176782014-04-10 Pedro Alves <palves@redhat.com>
17679
17680 * gdb.base/cond-eval-mode.c: New file.
17681 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17682 prepare_for_testing to build the new file. Check result of
17683 runto_main.
17684 (test_break, test_watch): New procedures.
17685 (top level): Use them.
17686
ae1d2761
PM
176872014-04-08 Pierre Muller <muller@sourceware.org>
17688
17689 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17690 Ctrl-V use for mingw hosts.
17691
7af389b8
SC
176922014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17693
17694 * gdb.python/py-value.c: Improve test case.
17695 * gdb.python/py-value.exp: Add new test.
17696
5e703181
DE
176972014-04-07 David Blaikie <dblaikie@gmail.com>
17698
17699 * lib/compiler.c: Identify the clang compiler.
17700 * lib/compiler.cc: Ditto.
17701
9810b410
YQ
177022014-04-03 Yao Qi <yao@codesourcery.com>
17703
17704 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17705
98d1b8dc
AB
177062014-04-01 Anton Blanchard <anton@samba.org>
17707
17708 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17709 messages unique.
17710
3114cea1
AB
177112014-04-01 Anton Blanchard <anton@samba.org>
17712
17713 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17714 prepare_for_testing.
17715
62f7182c
AB
177162014-04-01 Anton Blanchard <anton@samba.org>
17717
17718 * gdb.arch/ppc64-atomic-inst.c: Remove.
17719 * gdb.arch/ppc64-atomic-inst.S: New file.
17720 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17721
770e7fc7
DE
177222014-03-31 Doug Evans <dje@google.com>
17723
17724 * gdb.base/print-symbol-loading-lib.c: New file.
17725 * gdb.base/print-symbol-loading-main.c: New file.
17726 * gdb.base/print-symbol-loading.exp: New file.
17727
46e2bafa
YQ
177282014-03-31 Yao Qi <yao@codesourcery.com>
17729
17730 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17731
8776cfe9
JB
177322014-03-28 Joel Brobecker <brobecker@adacore.com>
17733
17734 * gdb.ada/mi_dyn_arr: New testcase.
17735
5d1ef361
DE
177362014-03-27 Doug Evans <dje@google.com>
17737
17738 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17739
b5bee914
YQ
177402014-03-27 Yao Qi <yao@codesourcery.com>
17741
17742 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17743 if target is nios2-*-*.
17744
0d4d0e77
YQ
177452014-03-26 Yao Qi <yao@codesourcery.com>
17746
17747 * lib/gdb.exp (readline_is_used): New proc.
17748 * gdb.base/completion.exp: Move tests on command complete up.
17749 Skip the rest of tests if readline is not used.
17750 * gdb.ada/complete.exp: Skp the test if readline is not
17751 used.
17752 * gdb.base/filesym.exp: Likewise.
17753 * gdb.base/macscp.exp: Likewise.
17754 * gdb.base/readline-ask.exp: Likewise.
17755 * gdb.base/readline.exp: Likewise.
17756 * gdb.python/py-cmd.exp: Likewise.
17757 * gdb.trace/tfile.exp: Likewise.
17758
29361eee
YQ
177592014-03-26 Yao Qi <yao@codesourcery.com>
17760
17761 * gdb.base/macscp.exp: Fix code format issues.
17762
bc9a5525
UW
177632014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17764
17765 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17766 * gdb.asm/powerpc64le.inc: New file.
17767
d3839ede
PA
177682014-03-25 Pedro Alves <palves@redhat.com>
17769 Doug Evans <dje@google.com>
17770
17771 * gdb.base/source-execution.c: New file.
17772 * gdb.base/source-execution.exp: New file.
17773 * gdb.base/source-execution.gdb: New file.
17774
01672a57
DE
177752014-03-24 Doug Evans <dje@google.com>
17776
17777 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17778 using fission.
17779
88bbeca9
HZ
177802014-03-24 Hui Zhu <hui@codesourcery.com>
17781 Pedro Alves <palves@redhat.com>
17782
17783 PR breakpoints/16101
17784 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17785 test pass/fail messages. Detect missing support for dprintf when
17786 breakpoints are actually inserted.
17787 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17788 breakpoints are actually inserted.
17789 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17790 fails.
17791
d2348791
JK
177922014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17793
17794 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17795
feef67ab
DE
177962014-03-22 Doug Evans <xdje42@gmail.com>
17797
17798 * gdb.python/python.exp (python not supported): Verify multi-line
17799 python command issues an error.
25d743f9 17800 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 17801 guile command issues an error.
feef67ab 17802
ecebef6a
MR
178032014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17804
17805 * gdb.threads/thread-specific.exp: Handle the lack of usable
17806 $this_breakpoint and $this_thread.
17807
ccdd1909
HZ
178082014-03-21 Hui Zhu <hui@codesourcery.com>
17809
17810 * gdb.base/attach.exp (do_command_attach_tests): New.
17811
beb460e8
PA
178122014-03-20 Tom Tromey <tromey@redhat.com>
17813 Pedro Alves <palves@redhat.com>
17814
17815 PR cli/15718
17816 * gdb.base/condbreak-call-false.c: New file.
17817 * gdb.base/condbreak-call-false.exp: New file.
17818
40acf43a
PA
178192014-03-20 Pedro Alves <palves@redhat.com>
17820
17821 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17822 Delete.
17823 (block_signals, unblock_signals): Delete.
17824 (child_function_2, main): Remove references to deleted variable
17825 and functions.
17826
9f5e1e02
PA
178272014-03-20 Pedro Alves <palves@redhat.com>
17828
17829 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17830 Use pthread_kill to signal thread 2.
17831 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17832 Adjust to make the test send itself a signal rather than using the
17833 host's "kill" command.
17834
99619bea
PA
178352014-03-20 Pedro Alves <palves@redhat.com>
17836
17837 * gdb.threads/multiple-step-overs.c: New file.
17838 * gdb.threads/multiple-step-overs.exp: New file.
17839 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17840 Adjust expected infrun debug output.
17841
2adfaa28
PA
178422014-03-20 Pedro Alves <palves@redhat.com>
17843
17844 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17845 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17846
31e77af2
PA
178472014-03-20 Pedro Alves <palves@redhat.com>
17848
17849 PR breakpoints/7143
17850 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17851 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17852 of gdb_test_multiple.
17853 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17854 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17855
b9f437de
PA
178562014-03-20 Pedro Alves <palves@redhat.com>
17857
17858 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17859 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17860
05adc73e
PA
178612014-03-19 Pedro Alves <palves@redhat.com>
17862
17863 * gdb.base/async.exp: Remove early return.
17864
6048b950
PA
178652014-03-19 Pedro Alves <palves@redhat.com>
17866
17867 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17868
8bcfb00a
PA
178692014-03-19 Pedro Alves <palves@redhat.com>
17870
17871 * gdb.base/async.exp (test_background): Expect \r\n after
17872 "completed." in the fail pattern.
17873
884e37dc
PA
178742014-03-19 Pedro Alves <palves@redhat.com>
17875
17876 * gdb.base/async.exp (test_background): New procedure.
17877 Use it for all background execution command tests.
17878
148e57e2
PA
178792014-03-19 Pedro Alves <palves@redhat.com>
17880
17881 * gdb.base/async.exp: Use prepare_for_testing.
17882
f48088c7
PA
178832014-03-19 Pedro Alves <palves@redhat.com>
17884
17885 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17886 the same line.
17887
e2f6c966
PA
178882014-03-19 Pedro Alves <palves@redhat.com>
17889
17890 * gdb.base/async.c (main): Add "jump here" and "until here" line
17891 marker comments.
17892 * gdb.base/async.exp (jump_here): New global.
17893 (jump& test): Use it.
17894 (until_here): New global.
17895 (until& test): Use it.
17896
c30568d4
PA
178972014-03-19 Pedro Alves <palves@redhat.com>
17898
17899 * gdb.base/async.exp: Don't frob gdb_protocol.
17900
0172b6a7
DE
179012014-03-18 Doug Evans <xdje42@gmail.com>
17902
17903 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17904 Fix spelling of exec-done-display.
17905
06c868a8
JK
179062014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17907
17908 PR gdb/15358
17909 * gdb.base/gdb-sigterm.c: New file.
17910 * gdb.base/gdb-sigterm.exp: New file.
17911
0c7e1a46
PA
179122014-03-18 Pedro Alves <palves@redhat.com>
17913
17914 PR gdb/13860
17915 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17916 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17917 solib-event.
17918
f7c77d93
JB
179192014-03-17 Joel Brobecker <brobecker@adacore.com>
17920
17921 * gdb.ada/pckd_arr_ren: New testcase.
17922
5a1e8c7a
DE
179232014-03-13 Doug Evans <xdje42@gmail.com>
17924
17925 PR guile/16612
17926 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17927 collect after discarding symbols.
17928
350e1a76
DE
179292014-03-13 Ludovic Courtès <ludo@gnu.org>
17930 Doug Evans <xdje42@gmail.com>
17931
17932 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17933 to history survives a gc.
17934
a69900ae
PA
179352014-03-13 Pedro Alves <palves@redhat.com>
17936
17937 * gdb.base/default.exp: Don't test "target procfs".
17938
5db9f0bd
PA
179392014-03-13 Pedro Alves <palves@redhat.com>
17940
17941 * gdb.base/default.exp: Update "target child" and "target procfs"
17942 tests to not expect "Unix".
17943
b3ccfe11
TT
179442014-03-12 Tom Tromey <tromey@redhat.com>
17945
17946 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17947 New procs. Add target-async tests.
17948 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17949 Add target-async tests.
17950
646f4417
AA
179512014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17952
17953 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17954 'func_start' and 'func_end' for the beginning and end of the
17955 function code, respectively.
17956 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17957 'func_end' instead of 'func' and 'main'.
17958
288c211f
AA
179592014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17960
17961 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17962 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17963 generate the debug info assembler source.
17964
e0c0f156
AA
179652014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17966
17967 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17968 * gdb.dwarf2/arr-subrange.exp: Likewise.
17969 * gdb.dwarf2/dwz.exp: Likewise.
17970 * gdb.dwarf2/method-ptr.exp: Likewise.
17971 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17972 * gdb.dwarf2/subrange.exp: Likewise.
17973 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17974 * gdb.dwarf2/implptrpiece.exp: Likewise.
17975 * gdb.dwarf2/nostaticblock.exp: Likewise.
17976
0e5c4555
AA
179772014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17978
17979 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17980 directory to absolute path name arguments.
17981
5ec18f2b
JG
179822014-03-10 Joel Brobecker <brobecker@adacore.com>
17983
17984 * gdb.ada/tagged_access: New testcase.
17985
847fc4f2
MM
179862014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17987
17988 * gdb.btrace/data.exp: Update expected output.
17989
cc3da688
YQ
179902014-03-06 Yao Qi <yao@codesourcery.com>
17991
17992 * gdb.trace/pr16508.exp: New file.
17993
0f26cec1
PA
179942014-03-05 Pedro Alves <palves@redhat.com>
17995
17996 PR gdb/16575
17997 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17998 procedure.
17999 (top level): Adjust to use it. Add tests that exercise breakpoint
18000 interaction with the code-cache.
18001
7a5a839f
LC
180022014-02-26 Ludovic Courtès <ludo@gnu.org>
18003
18004 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18005 test for 'history-append!'.
18006
31aa7e4e
JB
180072014-02-26 Joel Brobecker <brobecker@adacore.com>
18008
18009 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18010 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18011 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18012 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18013 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18014 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18015
1b588015
JB
180162014-02-26 Joel Brobecker <brobecker@adacore.com>
18017
18018 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18019 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18020 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18021
55426c9d
JB
180222014-02-26 Joel Brobecker <brobecker@adacore.com>
18023
18024 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18025
dc53a7ad
JB
180262014-02-26 Joel Brobecker <brobecker@adacore.com>
18027
18028 * gdb.dwarf2/arr-stride.c: New file.
18029 * gdb.dwarf2/arr-stride.exp: New file.
18030
12ab52e9
PA
180312014-02-26 Pedro Alves <palves@redhat.com>
18032
18033 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18034 that won't ever trigger. Make sure that GDB reports the correct
18035 breakpoint that caused the stop.
18036
849c862e
JK
180372014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18038
18039 PR gdb/16626
18040 * gdb.base/auto-load-script: New file.
18041 * gdb.base/auto-load.c: New file.
18042 * gdb.base/auto-load.exp: New file.
18043
71b7d793
JK
18044 PR gdb/16626
18045 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18046
e2f0d509
JK
180472014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18048
18049 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18050 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18051
50cc37c8
DE
180522014-02-24 Doug Evans <dje@google.com>
18053
18054 * lib/gdb.exp (run_on_host): Log error output if program fails.
18055
ea4758f2
PA
180562014-02-21 Pedro Alves <palves@redhat.com>
18057
18058 * gdb.threads/step-after-sr-lock.c: Rename to ...
18059 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18060 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18061 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18062 ... this.
18063
d7b30f67
SDJ
180642014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18065
18066 PR tdep/16397
18067 * gdb.arch/amd64-stap-special-operands.exp: New file.
18068 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18069 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18070 * gdb.arch/amd64-stap-triplet.S: Likewise.
18071 * gdb.arch/amd64-stap-triplet.c: Likewise.
18072
83deb43f
JB
180732014-02-20 Joel Brobecker <brobecker@adacore.com>
18074
18075 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18076 in .section pseudo-op.
18077
adde2bff
DE
180782014-02-20 lin zuojian <manjian2006@gmail.com>
18079 Joel Brobecker <brobecker@adacore.com>
18080 Doug Evans <xdje42@gmail.com>
18081
18082 PR symtab/16581
18083 * gdb.dwarf2/dw2-icycle.S: New file.
18084 * gdb.dwarf2/dw2-icycle.c: New file.
18085 * gdb.dwarf2/dw2-icycle.exp: New file.
18086
f7bd0f78
SC
180872014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18088
18089 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18090 operations on gdb.Value objects.
18091 * gdb.python/py-value-cc.exp: Add new test to test operations on
18092 gdb.Value objects.
18093
c17ef0d5
DE
180942014-02-18 Doug Evans <dje@google.com>
18095
18096 * Makefile.in (TESTS): New variable.
18097 (expanded_tests, expanded_tests_or_none): New variables
18098 (check-single): Pass $(expanded_tests_or_none) to runtest.
18099 (check-parallel): Only run tests in $(TESTS) if non-empty.
18100 (check/no-matching-tests-found): New rule.
18101 * README: Document TESTS makefile variable.
18102
5dd3176f
DE
181032014-02-18 Doug Evans <dje@google.com>
18104
18105 * Makefile.in (check-parallel): rm -rf outputs temp.
18106
0b10be4f
JK
181072014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18108
18109 Fix "ERROR: no fileid for" in the testsuite.
18110 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18111
85f224e7
DE
181122014-02-12 Doug Evans <dje@google.com>
18113
18114 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18115 (MISCELLANEOUS): New variable.
18116 (clean): rm -rf $(MISCELLANEOUS).
18117 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18118 dwp live in the same directory as symlinks, with each symlink pointed
18119 to a differently named file in a different directory.
18120
149b30ff
DE
181212014-02-11 Doug Evans <dje@google.com>
18122
18123 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18124 of Tcl file commands.
18125
1dfdac32
MK
181262014-02-10 Mark Kettenis <kettenis@gnu.org>
18127
18128 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18129 "kill -SIGUSR1 -1".
18130
aa4fb036
JB
181312014-02-10 Joel Brobecker <brobecker@adacore.com>
18132
18133 * gdb.ada/tick_length_array_enum_idx: New testcase.
18134
ed3ef339
DE
181352014-02-10 Doug Evans <xdje42@gmail.com>
18136
18137 * configure.ac (AC_OUTPUT): Add gdb.guile.
18138 * configure: Regenerate.
18139 * lib/gdb-guile.exp: New file.
18140 * lib/gdb.exp (get_target_charset): New function.
18141 * gdb.base/help.exp: Update expected output from "apropos apropos".
18142 * gdb.guile/Makefile.in: New file.
18143 * gdb.guile/guile.exp: New file.
18144 * gdb.guile/scm-arch.c: New file.
18145 * gdb.guile/scm-arch.exp: New file.
18146 * gdb.guile/scm-block.c: New file.
18147 * gdb.guile/scm-block.exp: New file.
18148 * gdb.guile/scm-breakpoint.c: New file.
18149 * gdb.guile/scm-breakpoint.exp: New file.
18150 * gdb.guile/scm-disasm.c: New file.
18151 * gdb.guile/scm-disasm.exp: New file.
18152 * gdb.guile/scm-equal.c: New file.
18153 * gdb.guile/scm-equal.exp: New file.
18154 * gdb.guile/scm-error.exp: New file.
18155 * gdb.guile/scm-error.scm: New file.
18156 * gdb.guile/scm-frame-args.c: New file.
18157 * gdb.guile/scm-frame-args.exp: New file.
18158 * gdb.guile/scm-frame-args.scm: New file.
18159 * gdb.guile/scm-frame-inline.c: New file.
18160 * gdb.guile/scm-frame-inline.exp: New file.
18161 * gdb.guile/scm-frame.c: New file.
18162 * gdb.guile/scm-frame.exp: New file.
18163 * gdb.guile/scm-generics.exp: New file.
18164 * gdb.guile/scm-gsmob.exp: New file.
18165 * gdb.guile/scm-iterator.c: New file.
18166 * gdb.guile/scm-iterator.exp: New file.
18167 * gdb.guile/scm-math.c: New file.
18168 * gdb.guile/scm-math.exp: New file.
18169 * gdb.guile/scm-objfile-script-gdb.in: New file.
18170 * gdb.guile/scm-objfile-script.c: New file.
18171 * gdb.guile/scm-objfile-script.exp: New file.
18172 * gdb.guile/scm-objfile.c: New file.
18173 * gdb.guile/scm-objfile.exp: New file.
18174 * gdb.guile/scm-ports.exp: New file.
18175 * gdb.guile/scm-pretty-print.c: New file.
18176 * gdb.guile/scm-pretty-print.exp: New file.
18177 * gdb.guile/scm-pretty-print.scm: New file.
18178 * gdb.guile/scm-section-script.c: New file.
18179 * gdb.guile/scm-section-script.exp: New file.
18180 * gdb.guile/scm-section-script.scm: New file.
18181 * gdb.guile/scm-symbol.c: New file.
18182 * gdb.guile/scm-symbol.exp: New file.
18183 * gdb.guile/scm-symtab-2.c: New file.
18184 * gdb.guile/scm-symtab.c: New file.
18185 * gdb.guile/scm-symtab.exp: New file.
18186 * gdb.guile/scm-type.c: New file.
18187 * gdb.guile/scm-type.exp: New file.
18188 * gdb.guile/scm-value-cc.cc: New file.
18189 * gdb.guile/scm-value-cc.exp: New file.
18190 * gdb.guile/scm-value.c: New file.
18191 * gdb.guile/scm-value.exp: New file.
18192 * gdb.guile/source2.scm: New file.
18193 * gdb.guile/types-module.cc: New file.
18194 * gdb.guile/types-module.exp: New file.
18195
7026a7c1
YQ
181962014-02-10 Yao Qi <yao@codesourcery.com>
18197
18198 PR testsuite/16543
18199 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18200 * configure: Regenerated.
18201 * Makefile.in: New file.
18202
6c466447
AS
182032014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18204
18205 * gdb.python/py-framefilter.exp: Fix typo.
18206
6e854735
YQ
182072014-02-08 Yao Qi <yao@codesourcery.com>
18208
18209 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18210 that no =breakpoint-modified is emitted when breakpoints are
18211 modified through MI commands.
18212
d137e6dc
PA
182132014-02-07 Pedro Alves <pedro@codesourcery.com>
18214 Pedro Alves <palves@redhat.com>
18215
18216 * gdb.threads/step-after-sr-lock.c: New file.
18217 * gdb.threads/step-after-sr-lock.exp: New file.
18218
b5ee5a50
PA
182192014-02-07 Pedro Alves <palves@redhat.com>
18220
18221 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18222
3c77faf3
JK
182232014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18224
18225 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18226 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18227
6dddc817
DE
182282014-02-06 Doug Evans <xdje42@gmail.com>
18229
18230 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18231 output.
18232
18233 * gdb.gdb/python-interrupts.exp: New file.
18234
de7b2893
YQ
182352014-02-05 Yao Qi <yao@codesourcery.com>
18236
18237 * gdb.trace/report.exp (use_collected_data): Test the output
18238 of "info threads" and "info inferiors".
18239
66d032ac
YQ
182402014-02-05 Yao Qi <yao@codesourcery.com>
18241
18242 Revert this patch:
18243
18244 2013-05-24 Yao Qi <yao@codesourcery.com>
18245
18246 * gdb.trace/tfile.exp: Test inferior and thread.
18247
591a12a1
UW
182482014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18249
18250 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18251 on a function.
18252 * gdb.base/step-bt.c: Call hello via function pointer to make
18253 sure its first instruction is executed on powerpc64le-linux.
18254
0ff3e01f
UW
182552014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18256
18257 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18258
084ee545
UW
182592014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18260
18261 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18262 of the test patterns for use on little-endian systems.
18263
6ed14ff3
UW
182642014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18265
18266 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18267 (decimal_vector): Fix for little-endian.
18268
401e27fd
JM
182692014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18270
18271 * gdb.arch/sparc-sysstep.exp: New file.
18272 * gdb.arch/sparc-sysstep.c: Likewise.
18273
18274 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18275
8b924729
EBM
182762014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18277
18278 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18279
fb151210
JB
182802014-01-23 Tom Tromey <tromey@redhat.com>
18281
18282 * gdb.ada/array_char_idx: New testcase.
18283
0740f8d8
TT
182842014-01-23 Tom Tromey <tromey@redhat.com>
18285
18286 PR python/16487:
18287 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18288 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18289 classes.
18290
21909fa1
TT
182912014-01-23 Tom Tromey <tromey@redhat.com>
18292
18293 PR python/16491:
18294 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18295 string from an inferior frame.
18296 * gdb.python/py-framefilter-mi.exp: Update.
18297
87ce2a04
DE
182982014-01-22 Doug Evans <dje@google.com>
18299
18300 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18301
237b092b
AA
183022014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18303
18304 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18305
d674a709
AA
183062014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18307
18308 * gdb.trace/entry-values.exp: Remove excess space character from
18309 regex patterns. Handle s390 call instruction.
18310
20fa3390
AA
183112014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18312
18313 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18314 define "*_start" label. Make "name" static.
18315 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18316 ${name} by references to ${name}_start.
18317
78466714
AA
183182014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18319
18320 * gdb.base/info-macros.exp: Remove "debug" from the compile
18321 options.
18322
ec9f644a
IB
183232014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18324
18325 * gdb.dlang/demangle.exp: New file.
18326
94b1b47e
IB
183272014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18328
18329 * gdb.dlang/primitive-types.exp: New file.
18330
7f420862
IB
183312014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18332
18333 * configure.ac: Create gdb.dlang/Makefile.
18334 * configure: Regenerate.
18335 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18336 * gdb.dlang/Makefile.in: New file.
18337 * lib/d-support.exp: New file.
18338 * lib/gdb.exp (skip_d_tests): New proc.
18339
52834460
MM
183402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18341
18342 * gdb.btrace/delta.exp: Check reverse stepi.
18343 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18344 * gdb.btrace/finish.exp: New.
18345 * gdb.btrace/next.exp: New.
18346 * gdb.btrace/nexti.exp: New.
18347 * gdb.btrace/record_goto.c: Add comments.
18348 * gdb.btrace/step.exp: New.
18349 * gdb.btrace/stepi.exp: New.
18350 * gdb.btrace/multi-thread-step.c: New.
18351 * gdb.btrace/multi-thread-step.exp: New.
18352 * gdb.btrace/rn-dl-bind.c: New.
18353 * gdb.btrace/rn-dl-bind.exp: New.
18354 * gdb.btrace/data.c: New.
18355 * gdb.btrace/data.exp: New.
18356 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18357
6e07b1d2
MM
183582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18359
18360 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18361 * gdb.btrace/exception.exp: Update.
18362 * gdb.btrace/instruction_history.exp: Update.
18363 * gdb.btrace/record_goto.exp: Update.
18364 * gdb.btrace/tailcall.exp: Update.
18365 * gdb.btrace/unknown_functions.exp: Update.
18366 * gdb.btrace/delta.exp: New.
18367
0b722aec
MM
183682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18369
18370 * gdb.btrace/record_goto.exp: Add backtrace test.
18371 * gdb.btrace/tailcall.exp: Add backtrace test.
18372
066ce621
MM
183732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18374
18375 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18376 * gdb.btrace/record_goto.c: New.
18377 * gdb.btrace/record_goto.exp: New.
18378 * gdb.btrace/x86-record_goto.S: New.
18379
0688d04e
MM
183802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18381
18382 * gdb.btrace/function_call_history.exp: Update tests.
18383 * gdb.btrace/instruction_history.exp: Update tests.
18384
8710b709
MM
183852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18386
18387 * gdb.btrace/function_call_history.exp: Fix expected field
18388 order for "record function-call-history".
18389 Add new tests for "record function-call-history /c".
18390 * gdb.btrace/exception.cc: New.
18391 * gdb.btrace/exception.exp: New.
18392 * gdb.btrace/tailcall.exp: New.
18393 * gdb.btrace/x86-tailcall.S: New.
18394 * gdb.btrace/x86-tailcall.c: New.
18395 * gdb.btrace/unknown_functions.c: New.
18396 * gdb.btrace/unknown_functions.exp: New.
18397 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18398
5de9129b
MM
183992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18400
18401 * gdb.btrace/instruction_history.exp: Update.
18402 * gdb.btrace/function_call_history.exp: Update.
18403
23a7fe75
MM
184042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18405
18406 * gdb.btrace/function_call_history.exp: Fix expected function
18407 trace.
18408 * gdb.btrace/instruction_history.exp: Initialize traced.
18409 Remove traced_functions.
18410
724c7dd8
MM
184112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18412
18413 * gdb.btrace/function_call_history.exp: Update
18414 * gdb.btrace/instruction_history.exp: Update.
18415
6d78d93b
MM
184162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18417
18418 * gdb.btrace/enable.exp: Update expected text.
18419
93a360cc
OJ
184202014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18421
18422 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18423 bytes.
18424
3772b53f
MR
184252014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18426
18427 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18428
596662fa
OJ
184292014-01-15 Omair Javaid <omair.javaid@linaro.org>
18430
18431 * lib/gdb.exp (supports_process_record): Return true for
18432 arm*-linux*. (supports_reverse): Likewise.
18433
b5b08fb4
SC
184342014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18435
18436 PR python/15464
18437 PR python/16113
18438 * gdb.python/py-type.c: Enhance test case.
18439 * gdb.python/py-value-cc.cc: Likewise
18440 * gdb.python/py-type.exp: Add new tests.
18441 * gdb.python/py-value-cc.exp: Likewise
18442
52d7fb13
AA
184432014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18444 Pedro Alves <palves@redhat.com>
18445
18446 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18447 Make "name" extern.
18448 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18449 references to ${name}_start by references to ${name}.
18450
a2cd8cfe
JB
184512014-01-10 Joel Brobecker <brobecker@adacore.com>
18452
18453 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18454
4e23fced
JB
184552014-01-10 Joel Brobecker <brobecker@adacore.com>
18456
18457 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18458
c6a9e42c
PA
184592014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18460 Pedro Alves <palves@redhat.com>
18461
18462 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 18463 mi_gdb_target_load.
c6a9e42c 18464
b7ea362b
PA
184652014-01-08 Pedro Alves <palves@redhat.com>
18466
18467 * gdb.threads/reconnect-signal.c: New file.
18468 * gdb.threads/reconnect-signal.exp: New file.
18469
5e3f4fab
EBM
184702014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18471
18472 * gdb.base/source-dir.exp: New file.
18473
79301218
JB
184742014-01-07 Joel Brobecker <brobecker@adacore.com>
18475
18476 * gdb.ada/mi_interface: New testcase.
18477
8e355c5d
JB
184782014-01-07 Joel Brobecker <brobecker@adacore.com>
18479
18480 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18481 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18482 gdb.ada/pp-rec-component/pck.ads: New files.
18483
c0d48811
JB
184842014-01-07 Joel Brobecker <brobecker@adacore.com>
18485
18486 * gdb.python/py-pp-integral.c: New file.
18487 * gdb.python/py-pp-integral.py: New file.
18488 * gdb.python/py-pp-integral.exp: New file.
18489
17b609c3 18490For older changes see ChangeLog-1993-2013.
c906108c 18491\f
8d8cb839
EZ
18492;; Local Variables:
18493;; mode: change-log
18494;; left-margin: 8
18495;; fill-column: 74
18496;; version-control: never
18497;; End:
902f2ccb 18498
b811d2c2 18499 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
18500 Copying and distribution of this file, with or without modification,
18501 are permitted provided the copyright notice and this notice are preserved.
This page took 4.25043 seconds and 4 git commands to generate.