]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb: make gdbarch_displaced_step_copy_insn return an std::unique_ptr
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
8f432634
TV
12020-02-13 Tom de Vries <tdevries@suse.de>
2
3 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
4
92b6eaf7
TV
52020-02-13 Tom de Vries <tdevries@suse.de>
6
7 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
8 are missing.
9
f3b0f7fe
TV
102020-02-13 Tom de Vries <tdevries@suse.de>
11
12 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
13 call.
14
f6be8713
SDJ
152020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
16
17 PR tui/25126
18 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
19 * gdb.base/cached-source-file.c: New file.
20 * gdb.base/cached-source-file.exp: New file.
21
b2770d5e
TV
222020-02-11 Tom de Vries <tdevries@suse.de>
23
24 PR testsuite/25488
25 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
26
44f6938e
TV
272020-02-10 Tom de Vries <tdevries@suse.de>
28
29 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
30
5f0e2eb7
MR
312020-02-10 Maciej W. Rozycki <macro@wdc.com>
32
33 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
34 and $after_addr are both integers before making a comparison.
35
46ce2b6f
TV
362020-02-09 Tom de Vries <tdevries@suse.de>
37
38 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
39 command output and paste it into gdb.log. If any, paste catch message
40 to gdb.log.
41
5abbbe1d
TT
422020-02-07 Tom Tromey <tromey@adacore.com>
43
44 PR breakpoints/24915:
45 * gdb.base/annotate-symlink.exp: Use setup_xfail.
46
1d5d29e7
SV
472020-02-06 Shahab Vahedi <shahab@synopsys.com>
48
49 * gdb.tui/tui-missing-src.exp: Add the "missing source
50 file" test for the TUI.
51
b0999b9b
AB
522020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
53
54 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
55 including a port number in the output.
56
c3b149eb
AKS
572020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
58
59 * lib/fortran.exp (fortran_int4): Handle clang.
60 (fortran_int8): Likewise.
61 (fortran_real4): Likewise.
62 (fortran_real8): Likewise.
63 (fortran_complex4): Likewise.
64 (fortran_logical4): Likewise.
65 (fortran_character1): Likewise.
66
f8dcc90b
TV
672020-02-04 Tom de Vries <tdevries@suse.de>
68
69 * README (Race detection): Add note.
70
f90ac7c2
TV
712020-02-04 Tom de Vries <tdevries@suse.de>
72
73 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
74
780636ae
TV
752020-02-04 Tom de Vries <tdevries@suse.de>
76
77 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
78
5d2e1193
RA
792020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
80
81 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
82 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
83 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
84 blttar, bnetarl.
85 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
86 binary for blttar, bnetarl.
87 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
88 wait instruction. Delete ldmx test.
89 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
90
e409c542
AKS
912020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
92
93 * gdb.fortran/array-bounds-high.exp: New file.
94 * gdb.fortran/array-bounds-high.f90: New file.
95
b0029748
LD
962020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
97
98 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
99 Replace #include of <sys/fcntl.h> by <fcntl.h>.
100
195a8287
TV
1012020-02-01 Tom de Vries <tdevries@suse.de>
102
103 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
104
42330a68
AB
1052020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
106
107 PR tui/9765
108 * gdb.tui/tui-layout-asm-short-prog.S: New file.
109 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
110
b62a8028
LM
1112020-01-29 Luis Machado <luis.machado@linaro.org>
112
113 * gdb.arch/aarch64-brk-patterns.c: New source file.
114 * gdb.arch/aarch64-brk-patterns.exp: New test.
115
5f440116
TBA
1162020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
117
118 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
119 GCC/Clang version.
120 * gdb.cp/pass-by-ref.exp: Ditto.
121
ee2a6fc6
TV
1222020-01-29 Tom de Vries <tdevries@suse.de>
123
124 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
125 * gdb.threads/watchpoint-fork-mt.c: Same.
126 * gdb.threads/watchpoint-fork-parent.c: Same.
127 * gdb.threads/watchpoint-fork-st.c: Same.
128 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
129
16b10d6e
LM
1302020-01-27 Luis Machado <luis.machado@linaro.org>
131
132 * gdb.base/step-over-syscall.exp (setup): Check if we're already
133 sitting at a syscall instruction when we hit the syscall function's
134 breakpoint.
135 Check PC against one obtained with the x command.
136 Validate syscall number.
137 (step_over_syscall): Don't continue to the syscall instruction if
138 we're already there.
139
b1468492
PW
1402020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
141
142 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
143
7ffa82e1
AB
1442020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
145
146 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
147 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
148
3d92a3e3
AB
1492020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
150
151 * gdb.dwarf2/dw2-inline-stepping.c: New file.
152 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
153
94a72be7
AB
1542020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
155
156 * gdb.base/maint.exp: Update line table parsing test.
157 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
158
53af73bf
PA
1592020-01-24 Pedro Alves <palves@redhat.com>
160
161 PR gdb/25410
162 * gdb.multi/multi-re-run-1.c: New.
163 * gdb.multi/multi-re-run-2.c: New.
164 * gdb.multi/multi-re-run.exp: New.
165
1ba1ac88
AB
1662020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
167
168 PR gdb/23718
169 * gdb.server/server-kill-python.exp: New file.
170
f3364a6d
AB
1712020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
172
173 * gdb.server/multi-ui-errors.c: New file.
174 * gdb.server/multi-ui-errors.exp: New file.
175
733d0a67
AB
1762020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
177
178 PR tui/9765
179 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
180
4f13c1c0
TT
1812020-01-19 Tom Tromey <tom@tromey.com>
182
183 * gdb.tui/main.exp: Add check for plain "file".
184
40c94099
CB
1852020-01-16 Christian Biesinger <cbiesinger@google.com>
186
187 * lib/gdb.exp: Fix spelling error (seperatelly).
188
ff47f4f0
TT
1892020-01-14 Tom Tromey <tom@tromey.com>
190
191 PR symtab/12535:
192 * gdb.python/python.exp: Test decode_line with empty string
193 argument.
194
717c684d
BE
1952020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
196
197 * gdb.base/skip-inline.exp: Extend test.
198
44e4c775
AB
1992020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
200
201 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
202 * gdb.dwarf2/dw2-bad-elf.c: New file.
203 * gdb.dwarf2/dw2-bad-elf.exp: New file.
204
d93c6db7
AB
2052020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
206
207 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
208 _line_saw_file.
209
9a6d629c
AB
2102020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
211
212 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
213 border.
214
d9ebdab7
TBA
2152020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
216
217 * gdb.multi/multi-target.exp (setup): Factor out "info
218 connections" and "info inferiors" tests to ...
219 (test_info_inferiors): ... this new procedure.
220 (top level): Run new "info-inferiors" tests.
221
f3c469b9
PA
2222020-01-10 Pedro Alves <palves@redhat.com>
223
224 * gdb.server/bkpt-other-inferior.exp: New file.
225
121b3efd
PA
2262020-01-10 Pedro Alves <palves@redhat.com>
227
228 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
229 of "add-inferior".
230 * gdb.base/quit-live.exp: Likewise.
231 * gdb.base/remote-exec-file.exp: Likewise.
232 * gdb.guile/scm-progspace.exp: Likewise.
233 * gdb.linespec/linespec.exp: Likewise.
234 * gdb.mi/new-ui-mi-sync.exp: Likewise.
235 * gdb.mi/user-selected-context-sync.exp: Likewise.
236 * gdb.multi/multi-target.exp (setup): Add "info connection" and
237 "info inferiors" tests.
238 * gdb.multi/remove-inferiors.exp: Adjust expected output of
239 "add-inferior".
240 * gdb.multi/watchpoint-multi.exp: Likewise.
241 * gdb.python/py-inferior.exp: Likewise.
242 * gdb.server/extended-remote-restart.exp: Likewise.
243 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
244 "info inferiors".
245 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
246 * gdb.trace/report.exp: Likewise.
247
1dadb1dd
PA
2482020-01-10 Pedro Alves <palves@redhat.com>
249
250 * gdb.multi/multi-target.c: New file.
251 * gdb.multi/multi-target.exp: New file.
252 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
253 mode requested, but remote does not support non-stop".
254
78f2c40a
PA
2552020-01-10 Pedro Alves <palves@redhat.com>
256
257 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
258 disconnect before reconnecting.
259
e7af6c70
TBA
2602020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
261 Pedro Alves <palves@redhat.com>
262
263 * gdb.server/connect-without-multi-process.exp: Also test
264 continuing to end.
265
acdf84a6
PA
2662020-01-10 Pedro Alves <palves@redhat.com>
267
268 * gdb.base/remote-exec-file.exp: New file.
269
873657b9
PA
2702020-01-10 Pedro Alves <palves@redhat.com>
271
272 * gdb.base/fork-running-state.exp (do_test): Adjust expected
273 output.
274 * gdb.threads/async.c: New.
275 * gdb.threads/async.exp: New.
276 * gdb.multi/tids-gid-reset.c: New.
277 * gdb.multi/tids-gid-reset.exp: New.
278
7f0ae84c
GB
2792020-01-10 George Barrett <bob@bob131.so>
280
281 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
282 to help in finding the image relocation offset.
283 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
284 options in arguments.
285 (stap_test_no_debuginfo): Likewise.
286 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
287 test variants.
288 (stap_test): Add null semaphore relocation test.
289
47e9d49d
GB
2902020-01-10 George Barrett <bob@bob131.so>
291
292 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
293 * gdb.base/stap-probe.exp: Likewise.
294 (stap_test): Pass argument as an additional flag.
295 (stap_test_no_debuginfo): Likewise.
296 (stap_test): Check `info probes stap' output for semaphore
297 addresses if the test binary is supposed to have them.
298
f5a7c406
AB
2992020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
300
301 * gdb.tui/basic.exp: Add more scrolling tests.
302
9ae6bf64
TT
3032020-01-09 Tom Tromey <tom@tromey.com>
304
305 PR tui/18932:
306 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
307 meangingful value.
308 (Term::command, Term::resize): Update.
309 * gdb.tui/basic.exp: Add scrolling test.
310
b2efe70c
AB
3112020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
312
313 * gdb.tui/tui-layout-asm.exp: New file.
314
3804da7e
AB
3152020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
316
317 * lib/tuiterm.exp (Term::check_box_contents): New proc.
318
b40aa28f
AB
3192020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
320
321 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
322 (Term::enter_tui): Use Term::prepare_for_tui.
323
63ffd7c9
AB
3242020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
325
326 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
327 called.
328
3be966f6
AB
3292020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
330
331 * gdb.base/skip.exp: Fix race condition in test.
332
153d79c4
AB
3332020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
334
335 * gdb.base/backtrace.c: New file.
336 * gdb.base/backtrace.exp: New file.
337
f2302a34
AB
3382020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
339
340 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
341
6ec1d75e
PW
3422020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
343
344 * gdb.base/style.exp: Test that warnings are styled.
345
c296cbe6
BE
3462019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
347
348 * gdb.base/line65535.exp: New file.
349 * gdb.base/line65535.c: New file.
350
b28a729d
SM
3512019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
352
353 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
354 * lib/gnat_debug_info_test.adb: New file.
355 * gdb.ada/ptype_tagged_param.exp: Use
356 gnat_runtime_has_debug_info, expect a different output if
357 runtime does not have debug info.
358
7f2d7a0d
SM
3592019-12-20 Simon Marchi <simon.marchi@efficios.com>
360
361 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
362 (another) quote in test name.
363
f3bce483
SM
3642019-12-20 Simon Marchi <simon.marchi@efficios.com>
365
366 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
367 Add quote in test name.
368
c855a912
TBA
3692019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
370
371 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
372 directory instead.
373 * gdb.cp/pass-by-ref.exp: Extend with more cases.
374 * gdb.cp/pass-by-ref-2.cc: New file.
375 * gdb.cp/pass-by-ref-2.exp: New file.
376
fc9d2d72
TT
3772019-12-20 Tom Tromey <tom@tromey.com>
378
379 * gdb.tui/list-before.exp: New file.
380
77b97e00
TT
3812019-12-20 Tom Tromey <tom@tromey.com>
382
383 * gdb.tui/list.exp: Check for source on initial listing.
384
f69656d0
TT
3852019-12-11 Tom Tromey <tromey@adacore.com>
386
387 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
388 Add crlf test.
389
99a55965
SM
3902019-12-18 Simon Marchi <simon.marchi@efficios.com>
391
392 * gdb.base/default.exp: Update value of $_gdb_major.
393
5024637f
BE
3942019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
395
396 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
397
b63634be
BE
3982019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
399
400 * gdb.base/skip.exp: Whitespace fix.
401
45d73523
BE
4022019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
403
404 * gdb.base/skip-inline.c: New file.
405 * gdb.base/skip-inline.exp: New file.
406
d043f8c8
SM
4072019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
408
409 * gdb.base/jit-reader.exp (jit_reader_test): Rename
410 jit_function_00 to jit_function_stack_mangle.
411 * gdb.base/jithost.c (jit_function_t): Rename to...
412 (jit_function_stack_mangle_t): ... this.
413 (jit_function_add_t): New typedef.
414 (jit_function_00_code): Rename to...
415 (jit_function_stack_mangle_code): ... this, make static.
416 (jit_function_add_code): New.
417 (main): Generate "add" function and call it. Adjust to changes
418 in jithost_abi.
419 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
420 (struct jithost_abi) <begin, end>: Remove fields.
421 <object, function_stack_mangle, function_add>: New fields.
422 * gdb.base/jitreader.c (struct reader_state) <code_begin,
423 code_end>: Remove fields.
424 <func_stack_mangle>: New field.
425 (read_debug_info): Adjust to renaming, create block for "add"
426 function.
427 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
428
873de05c
TT
4292019-12-11 Tom Tromey <tom@tromey.com>
430
431 * gdb.tui/resize.exp: Fix regexp.
432 * gdb.tui/regs.exp: Fix regexps.
433 * gdb.tui/main.exp: Fix regexp.
434
3d979945
TT
4352019-12-11 Tom Tromey <tom@tromey.com>
436
437 * gdb.tui/resize.exp: Update.
438 * gdb.tui/empty.exp (layouts): Update.
439
2192a9d3
TT
4402019-12-11 Tom Tromey <tom@tromey.com>
441
442 * gdb.tui/regs.exp: Update.
443 * gdb.tui/empty.exp (layouts): Update.
444 * gdb.tui/basic.exp: Update.
445 * lib/tuiterm.exp (_check_box): Don't check bottom border.
446
d8edc8b7
PW
4472019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
448
449 * gdb.base/options.exp: Add -raw-values in the print completion list.
450 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
451
4c12d936
KB
4522019-12-10 Kevin Buettner <kevinb@redhat.com>
453
454 * gdb.threads/omp-par-scope.c: New file.
455 * gdb/threads/omp-par-scope.exp: New file.
456
26b911fb
KB
4572019-12-10 Kevin Buettner <kevinb@redhat.com>
458
bb47f919
KB
459 * lib/gdb.exp (support_nested_function_tests): New proc.
460
4612019-12-10 Kevin Buettner <kevinb@redhat.com>
462
463 * lib/gdb.exp (gdb_compile_openmp): New proc.
464 (build_executable_from_specs): Add an "openmp" option.
465 (gdb_compile_pthreads): Add non-executable case.
26b911fb 466
6c71eb7d
TT
4672019-12-10 Tom Tromey <tromey@adacore.com>
468
469 * gdb.ada/unchecked_union.exp: New file.
470 * gdb.ada/unchecked_union/pck.adb: New file.
471 * gdb.ada/unchecked_union/pck.ads: New file.
472 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
473 * gdb-utils.exp (string_to_regexp): Also quote "?".
474
bac7c5cf
GB
4752019-12-10 George Barrett <bob@bob131.so>
476
477 Test scripted probe breakpoints.
478 * gdb.guile/scm-breakpoint.c (main): Add probe point.
479 * gdb.python/py-breakpoint.c (main): Likewise.
480 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
481 specifier test.
482 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
483
330f1d38
TBA
4842019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
485
486 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
487 an rvalue parameter.
488 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
489 parameter.
490
b43315e2
AB
4912019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
492
493 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
494 modules.
495
54f73dad
AB
4962019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
497
498 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
499 broken version of GCC.
500
d57cbee9
AB
5012019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
502
503 * gdb.fortran/info-modules.exp: Rewrite to make use of new
504 sym-info-cmds library.
505 * gdb.fortran/info-types.exp: Likewise.
506 * lib/sym-info-cmds.exp: New file.
507
c14aab8c
TV
5082019-12-08 Tom de Vries <tdevries@suse.de>
509
510 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
511
aa2d5a42
KS
5122019-12-07 Keith Seitz <keiths@redhat.com>
513
514 * gdb.base/corefile-buildid-shlib-shr.c: New file.
515 * gdb.base/corefile-buildid-shlib.c: New file.
516 * gdb.base/corefile-buildid.c: New file.
517 * gdb.base/corefile-buildid.exp: New file.
518
93e55f0a
TV
5192019-12-06 Tom de Vries <tdevries@suse.de>
520
521 * gdb.dwarf2/varval.exp: Add decl before def test.
522
c7d12402
TBA
5232019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
524
525 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
526
06acc08f
TBA
5272019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
528
529 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
530 CV and reference conversion for overload resolution.
531 * gdb.cp/rvalue-ref-overload.exp: Test it.
532
e0fad1ea
PW
5332019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
534
535 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
536 * gdb.base/frameapply.exp: Test faas without command.
537
8d70a9f0
AB
5382019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
539
540 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
541 Fortran tests.
542 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
543 order.
544
36c8fb93
AB
5452019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
546
547 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
548 casting to type with no kind specified.
549 (test_basic_parsing_of_type_kinds): Additional tests for types
550 with no kind specified, and add tests for single/double
551 precision/complex types.
552
4139ff00
TT
5532019-12-04 Tom Tromey <tromey@adacore.com>
554
555 * gdb.base/endianity.c (struct other) <x>: New field.
556 (main): Initialize it.
557 * gdb.base/endianity.exp: Update.
558
a05cf17a
TT
5592019-12-04 Tom Tromey <tromey@adacore.com>
560
561 * gdb.ada/scalar_storage/storage.adb: New file.
562 * gdb.ada/scalar_storage/pck.adb: New file.
563 * gdb.ada/scalar_storage/pck.ads: New file.
564 * gdb.ada/scalar_storage.exp: New file.
565
103a685e
TT
5662019-12-04 Tom Tromey <tromey@adacore.com>
567
568 * gdb.base/endianity.c (struct otherendian) <f>: New field.
569 (main): Initialize it.
570 * gdb.base/endianity.exp: Update.
571
c2512106
AB
5722019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
573
574 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
575
293b38d6
AB
5762019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
577
578 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
579 -symbol-info-module-functions and -symbol-info-module-variables.
580
216a7e6b
AB
5812019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
582
583 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
584
5bbd8269
AB
5852019-12-01 Richard Bunt <richard.bunt@arm.com>
586 Andrew Burgess <andrew.burgess@embecosm.com>
587
588 * gdb.fortran/derived-type-striding.exp: New file.
589 * gdb.fortran/derived-type-striding.f90: New file.
590 * gdb.fortran/array-slices.exp: New file.
591 * gdb.fortran/array-slices.f90: New file.
592
be09caf1
PW
5932019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
594
595 * gdb.base/define.exp: Test . in command names.
596 * gdb.base/setshow.exp: Update test, as . is now part of
597 command name.
598
643c0cbe
PW
5992019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
600
601 * gdb.base/define-prefix.exp: New file.
602
dcdec678
AB
6032019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
604
605 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
606 compile.
607 (skip_btrace_pt_tests): Likewise.
608
640ab947
AB
6092019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
610
611 * gdb.fortran/info-modules.exp: Compile source files in correct
612 order.
613
d22670f0
KB
6142019-11-27 Kevin Buettner <kevinb@redhat.com>
615
616 * gdb.dwarf2/imported-unit.exp: New file.
617 * gdb.dwarf2/imported-unit.c: New file.
618
db5960b4
AB
6192019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
620
621 * gdb.mi/mi-fortran-modules-2.f90: New file.
622 * gdb.mi/mi-fortran-modules.exp: New file.
623 * gdb.mi/mi-fortran-modules.f90: New file.
624
7dc42066
AB
6252019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
626
627 * gdb.mi/mi-sym-info-1.c: New file.
628 * gdb.mi/mi-sym-info-2.c: New file.
629 * gdb.mi/mi-sym-info.exp: New file.
630
0dfeecca
TT
6312019-11-22 Tom Tromey <tromey@adacore.com>
632
633 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
634 * gdb.ada/tasks/foo.adb: Add another stopping location.
635
34877895
PJ
6362019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
637
638 * gdb.base/endianity.c: New test.
639 * gdb.base/endianity.exp: New file.
640
2e84f897
LD
6412019-11-21 Lukas Durfina <ldurfina@tachyum.com>
642
643 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
644
65d1cd5f
TV
6452019-11-21 Tom de Vries <tdevries@suse.de>
646
647 PR gdb/24956
648 * gdb.base/ui-redirect.exp: Test output of user-defined command.
649
4f22c3f4
SDJ
6502019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
651
652 * gdb.python/py-progspace.exp: Add missing parentheses on some
653 'print' commands.
654
9f6ad286
TT
6552019-11-19 Tom Tromey <tom@tromey.com>
656
657 * gdb.tui/winheight.exp: New file.
658
0b8dbf3f
AB
6592019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
660
661 * gdb.base/ctf-whatis.c: Delete.
662 * gdb.base/ctf-whatis.exp: Delete.
663 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
664
f833b7a7
AB
6652019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
666
667 * gdb.base/ctf-cvexpr.exp: Delete.
668 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
669
30d0a636
AB
6702019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
671
672 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
673 the compiler. Clean up header comment a little.
674 * gdb.base/ctf-ptype.exp: Likewise.
675 * gdb.base/ctf-whatis.exp: Likewise.
676 * lib/gdb.exp (skip_ctf_tests): New proc.
677
494409bb
SDJ
6782019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
679
680 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
681 * gdb.tui/corefile-run.exp: New file.
682
55708e99
TT
6832019-11-14 Tom Tromey <tromey@adacore.com>
684
685 * gdb.base/gdbvars.exp (test_convenience_variables): Add
686 regression tests.
687
45e42163
TT
6882019-11-12 Tom Tromey <tom@tromey.com>
689
690 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
691 after any command. Expect prompt after WAIT_FOR is seen.
692 (enter_tui): Enable resize messages.
693 (command): Expect command in output.
694 (get_line): Avoid error when cursor appears to be off-screen.
695 (dump_screen): Include screen size in title.
696 (_do_resize): New proc, from "resize".
697 (resize): Rewrite. Do resize in two steps.
698 * gdb.tui/empty.exp (layouts): Fix entries.
699 (check_boxes): Remove xfail.
700 (check_text): Dump screen on failure.
701
086baaf1
AB
7022019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
703
704 * gdb.python/py-symbol.exp: Add test for
705 gdb.lookup_static_symbols.
706
09ff83af
AB
7072019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
708
709 * gdb.python/py-symbol.c: Declare and call function from new
710 py-symbol-2.c file.
711 * gdb.python/py-symbol.exp: Compile both source files, and add new
712 tests for gdb.lookup_static_symbol.
713 * gdb.python/py-symbol-2.c: New file.
714
11af934b
TV
7152019-11-02 Tom de Vries <tdevries@suse.de>
716
717 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
718 * gdb.base/anon.exp: Same.
719 * gdb.base/auto-connect-native-target.exp: Same.
720 * gdb.base/call-ar-st.exp: Same.
721 * gdb.base/catch-syscall.exp: Same.
722 * gdb.base/commands.exp: Same.
723 * gdb.base/default.exp: Same.
724 * gdb.base/display.exp: Same.
725 * gdb.base/float.exp: Same.
726 * gdb.base/foll-fork.exp: Same.
727 * gdb.base/help.exp: Same.
728 * gdb.base/info-macros.exp: Same.
729 * gdb.base/info-proc.exp: Same.
730 * gdb.base/info-target.exp: Same.
731 * gdb.base/long_long.exp: Same.
732 * gdb.base/macscp.exp: Same.
733 * gdb.base/memattr.exp: Same.
734 * gdb.base/nofield.exp: Same.
735 * gdb.base/pointers.exp: Same.
736 * gdb.base/printcmds.exp: Same.
737 * gdb.base/ptype.exp: Same.
738 * gdb.base/restore.exp: Same.
739 * gdb.base/return.exp: Same.
740 * gdb.base/scope.exp: Same.
741 * gdb.base/set-noassign.exp: Same.
742 * gdb.base/setshow.exp: Same.
743 * gdb.base/shlib-call.exp: Same.
744 * gdb.base/signals.exp: Same.
745 * gdb.base/sigstep.exp: Same.
746 * gdb.base/skip.exp: Same.
747 * gdb.base/solib-symbol.exp: Same.
748 * gdb.base/stap-probe.exp: Same.
749 * gdb.base/step-line.exp: Same.
750 * gdb.base/step-test.exp: Same.
751 * gdb.base/style.exp: Same.
752 * gdb.base/varargs.exp: Same.
753 * gdb.base/vla-datatypes.exp: Same.
754 * gdb.base/vla-ptr.exp: Same.
755 * gdb.base/vla-sideeffect.exp: Same.
756 * gdb.base/volatile.exp: Same.
757 * gdb.base/watch-cond-infcall.exp: Same.
758 * gdb.base/watchpoint.exp: Same.
759
e96ec2ba
TV
7602019-11-02 Tom de Vries <tdevries@suse.de>
761
762 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
763 * gdb.cp/cpexprs.exp: Same.
764 * gdb.cp/except-multi-location.exp: Same.
765 * gdb.cp/exceptprint.exp: Same.
766 * gdb.cp/gdb2384.exp: Same.
767 * gdb.cp/inherit.exp: Same.
768 * gdb.cp/m-static.exp: Same.
769 * gdb.cp/meth-typedefs.exp: Same.
770 * gdb.cp/misc.exp: Same.
771 * gdb.cp/namespace.exp: Same.
772 * gdb.cp/non-trivial-retval.exp: Same.
773 * gdb.cp/overload.exp: Same.
774 * gdb.cp/pr17132.exp: Same.
775 * gdb.cp/re-set-overloaded.exp: Same.
776 * gdb.cp/rvalue-ref-types.exp: Same.
777 * gdb.cp/templates.exp: Same.
778
bd5766ec
LM
7792019-11-01 Luis Machado <luis.machado@linaro.org>
780
781 PR gdb/25124
782
783 * gdb.arch/pr25124.S: New file.
784 * gdb.arch/pr25124.exp: New file.
785
165f8965
AB
7862019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
787
788 * gdb.fortran/info-modules.exp: Update expected results, and add
789 additional tests for 'info module functinos', and 'info module
790 variables'.
791 * gdb.fortran/info-types.exp: Update expected results.
792 * gdb.fortran/info-types.f90: Extend testcase with additional
793 module variables and functions.
794
59c35742
AB
7952019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
796
797 * gdb.fortran/info-modules.exp: New file.
798 * gdb.fortran/info-types.exp: Build with new file.
799 * gdb.fortran/info-types.f90: Include and use new module.
800 * gdb.fortran/info-types-2.f90: New file.
801
f3fb2519
PW
8022019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
803
804 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
805 * gdb.base/settings.exp: Test all settings types using
806 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
807 that now verifies that the value of "maint show" is the same as
808 returned by the settings functions. Test the type of the
809 maintenance settings.
810 * gdb.base/default.exp: Update show_conv_list.
811
d1e36019
TV
8122019-10-31 Tom de Vries <tdevries@suse.de>
813
814 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
815 gdb_test.
816 * gdb.arch/amd64-disp-step.exp: Same.
817 * gdb.asm/asm-source.exp: Same.
818 * gdb.btrace/buffer-size.exp: Same.
819 * gdb.btrace/cpu.exp: Same.
820 * gdb.btrace/enable.exp: Same.
821 * gdb.dwarf2/count.exp: Same.
822 * gdb.dwarf2/dw2-ranges-func.exp: Same.
823 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
824 * gdb.fortran/vla-datatypes.exp: Same.
825 * gdb.fortran/vla-history.exp: Same.
826 * gdb.fortran/vla-ptype.exp: Same.
827 * gdb.fortran/vla-value.exp: Same.
828 * gdb.fortran/whatis_type.exp: Same.
829 * gdb.guile/guile.exp: Same.
830 * gdb.multi/tids.exp: Same.
831 * gdb.python/py-finish-breakpoint.exp: Same.
832 * gdb.python/py-framefilter.exp: Same.
833 * gdb.python/py-pp-registration.exp: Same.
834 * gdb.python/py-xmethods.exp: Same.
835 * gdb.python/python.exp: Same.
836 * gdb.server/connect-with-no-symbol-file.exp: Same.
837 * gdb.server/no-thread-db.exp: Same.
838 * gdb.server/run-without-local-binary.exp: Same.
839 * gdb.stabs/weird.exp: Same.
840 * gdb.threads/attach-many-short-lived-threads.exp: Same.
841 * gdb.threads/thread-find.exp: Same.
842 * gdb.threads/tls-shared.exp: Same.
843 * gdb.threads/tls.exp: Same.
844 * gdb.threads/wp-replication.exp: Same.
845 * gdb.trace/ax.exp: Same.
846 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
847
3d11e68e
TV
8482019-10-31 Tom de Vries <tdevries@suse.de>
849
850 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
851 * gdb.ada/array_subscript_addr.exp: Same.
852 * gdb.ada/arrayidx.exp: Same.
853 * gdb.ada/arrayparam.exp: Same.
854 * gdb.ada/arrayptr.exp: Same.
855 * gdb.ada/boolean_expr.exp: Same.
856 * gdb.ada/call_pn.exp: Same.
857 * gdb.ada/complete.exp: Same.
858 * gdb.ada/fixed_cmp.exp: Same.
859 * gdb.ada/fun_addr.exp: Same.
860 * gdb.ada/funcall_param.exp: Same.
861 * gdb.ada/interface.exp: Same.
862 * gdb.ada/mod_from_name.exp: Same.
863 * gdb.ada/null_array.exp: Same.
864 * gdb.ada/packed_array.exp: Same.
865 * gdb.ada/packed_tagged.exp: Same.
866 * gdb.ada/print_chars.exp: Same.
867 * gdb.ada/print_pc.exp: Same.
868 * gdb.ada/ptype_arith_binop.exp: Same.
869 * gdb.ada/ptype_field.exp: Same.
870 * gdb.ada/ptype_tagged_param.exp: Same.
871 * gdb.ada/rec_return.exp: Same.
872 * gdb.ada/ref_tick_size.exp: Same.
873 * gdb.ada/str_ref_cmp.exp: Same.
874 * gdb.ada/taft_type.exp: Same.
875 * gdb.ada/tagged.exp: Same.
876 * gdb.ada/type_coercion.exp: Same.
877 * gdb.ada/uninitialized_vars.exp: Same.
878
60b6ede8
TV
8792019-10-30 Tom de Vries <tdevries@suse.de>
880
881 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
882
30baf67b
TV
8832019-10-26 Tom de Vries <tdevries@suse.de>
884
885 * gdb.base/bigcore.c: Fix typos in comments.
886 * gdb.base/ctf-ptype.c: Same.
887 * gdb.base/long_long.c: Same.
888 * gdb.dwarf2/dw2-op-out-param.S: Same.
889 * gdb.python/py-evthreads.c: Same.
890 * gdb.reverse/i387-stack-reverse.c: Same.
891 * gdb.trace/tfile.c: Same.
892 * lib/compiler.c: Same.
893 * lib/compiler.cc: Same.
894
158da0d1
TV
8952019-10-25 Tom de Vries <tdevries@suse.de>
896
897 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
898 gdb_test_multiple calls.
899 * gdb.reverse/sigall-reverse.exp: Same.
900 * gdb.reverse/solib-precsave.exp: Same.
901 * gdb.reverse/solib-reverse.exp: Same.
902 * gdb.reverse/until-precsave.exp: Same.
903 * gdb.reverse/until-reverse.exp: Same.
904
4ccdfbec
TV
9052019-10-24 Tom de Vries <tdevries@suse.de>
906
907 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
908 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
909 kfail using -wrap pattern flag and convenience variable
910 gdb_test_name.
911
33d569b7
AB
9122019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
913
914 * gdb.python/py-progspace.exp: Add tests for the
915 Progspace.block_for_pc method.
916
4d0b984b
TT
9172019-10-23 Tom Tromey <tom@tromey.com>
918
919 * configure: Rebuild.
920 * aclocal.m4: Use m4_include, not sinclude.
921
94cb3754
TV
9222019-10-21 Tom de Vries <tdevries@suse.de>
923
924 * gdb.base/infcall-nested-structs.c: Add
925 __attribute__((noinline,noclone)) to all functions.
926 (call_all): Add missing variable initialization. Simplify return value.
927 (breakpt): Increment volatile variable, to prevent call from being
928 optimized out.
929 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
930
062f1fc1
TV
9312019-10-17 Tom de Vries <tdevries@suse.de>
932
933 * gdb.fortran/module.exp: Allow info variables to print info for files
934 other than module.f90.
935
0b54364d
AB
9362019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
937
938 * gdb.fortran/module.exp: Extend with 'info variables' test.
939
7ff5fae7
AB
9402019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
941
942 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
943 F77_FOR_TARGET.
944
d10eccaa
TV
9452019-10-16 Tom de Vries <tdevries@suse.de>
946
947 PR tdep/25096
948 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
949
745ff14e
TV
9502019-10-16 Tom de Vries <tdevries@suse.de>
951
952 PR tdep/24104
953 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
954 Add KFAIL for PR tdep/25096.
955
03e1ab94
TV
9562019-10-16 Tom de Vries <tdevries@suse.de>
957
958 PR testsuite/25059
959 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
960
b17fcc10
TV
9612019-10-16 Tom de Vries <tdevries@suse.de>
962
963 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
964 as signed.
965
9223170f
SM
9662019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
967
968 * gdb.mi/list-thread-groups-available.exp: Read entries one by
969 one instead of increasing timeout.
970
d6e76313
TV
9712019-10-13 Tom de Vries <tdevries@suse.de>
972
973 PR record/25038
974 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
975 * gdb.reverse/sigall-reverse.exp: Same.
976 * gdb.reverse/solib-precsave.exp: Same.
977 * gdb.reverse/solib-reverse.exp: Same.
978 * gdb.reverse/step-precsave.exp: Same.
979 * gdb.reverse/until-precsave.exp: Same.
980 * gdb.reverse/until-reverse.exp: Same.
981 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
982
6dfc0041
AA
9832019-10-10 Andreas Arnez <arnez@linux.ibm.com>
984
985 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
986 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
987 (cmp_struct_05_01, cmp_struct_static_02_01)
988 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
989 comparisons.
990
abcf2cc8
TV
9912019-10-10 Tom de Vries <tdevries@suse.de>
992
993 PR testsuite/24888
994 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
995 gnatlink.
996
a50faaf6
TV
9972019-10-09 Tom de Vries <tdevries@suse.de>
998
999 PR testsuite/25048
1000 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1001
60ff3cd7
AB
10022019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1003
1004 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1005 exceptions due to missing debug information.
1006
dfee8566
TV
10072019-10-07 Tom de Vries <tdevries@suse.de>
1008
1009 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1010
3d63690a
AB
10112019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1012
1013 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1014 * gdb.base/annota1.exp: Update to use gdb_test_name.
1015
30d1f018
WP
10162019-10-07 Weimin Pan <weimin.pan@oracle.com>
1017
1018 * gdb.base/ctf-whatis.exp: New file.
1019 * gdb.base/ctf-whatis.c: New file.
1020 * gdb.base/ctf-ptype.exp: New file.
1021 * gdb.base/ctf-ptype.c: New file.
1022 * gdb.base/ctf-constvars.exp: New file.
1023 * gdb.base/ctf-constvars.c: New file.
1024 * gdb.base/ctf-cvexpr.exp: New file.
1025
4dbbb47c
TV
10262019-10-04 Tom de Vries <tdevries@suse.de>
1027
1028 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1029 for loop.
1030
77c2dba3
TT
10312019-10-03 Tom Tromey <tom@tromey.com>
1032
1033 PR rust/24976:
1034 * gdb.rust/simple.rs (Union2): New type.
1035 (main): Use Union2.
1036 * gdb.rust/simple.exp: Add test.
1037
179aed7f
AB
10382019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1039
1040 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1041 nested function prefix.
1042
0a4b0913
AB
10432019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1044 Richard Bunt <richard.bunt@arm.com>
1045 Andrew Burgess <andrew.burgess@embecosm.com>
1046
1047 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1048 nested functions.
1049 * gdb.fortran/nested-funcs.f90: Update expected results.
1050 * gdb.fortran/nested-funcs-2.exp: New file.
1051 * gdb.fortran/nested-funcs-2.f90: New file.
1052
082cce05
AB
10532019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1054
1055 * gdb.python/py-parameter.exp: Make test names unique.
1056 * gdb.python/py-template.exp: Likewise.
1057 * gdb.python/py-value.exp: Likewise.
1058
2b74ba5a
AB
10592019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1060
1061 * gdb.base/break-interp.exp: Reduce test name duplication.
1062 * gdb.base/call-sc.exp: Likewise.
1063 * gdb.base/callfuncs.exp: Likewise.
1064 * gdb.base/charset.exp: Likewise.
1065 * gdb.base/dump.exp: Likewise.
1066 * gdb.base/ena-dis-br.exp: Likewise.
1067 * gdb.base/relational.exp: Likewise.
1068 * gdb.base/step-over-syscall.exp: Likewise.
1069 * gdb.base/structs.exp: Likewise.
1070
58eb20d5
AB
10712019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1072
1073 * gdb.linespec/explicit.exp: Make test names unique.
1074 * gdb.linespec/ls-errs.exp: Likewise.
1075
4d421147
AB
10762019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1077
1078 * gdb.reverse/break-precsave.exp: Make test names unique.
1079 * gdb.reverse/break-reverse.exp: Likewise.
1080 * gdb.reverse/finish-precsave.exp: Likewise.
1081 * gdb.reverse/finish-reverse.exp: Likewise.
1082 * gdb.reverse/machinestate-precsave.exp: Likewise.
1083 * gdb.reverse/machinestate.exp: Likewise.
1084 * gdb.reverse/readv-reverse.exp: Likewise.
1085 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1086 * gdb.reverse/sigall-precsave.exp: Likewise.
1087 * gdb.reverse/sigall-reverse.exp: Likewise.
1088 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1089 * gdb.reverse/watch-precsave.exp: Likewise.
1090 * gdb.reverse/watch-reverse.exp: Likewise.
1091
d8c06f22
AB
10922019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1093
1094 * gdb.threads/stop-with-handle.c: New file.
1095 * gdb.threads/stop-with-handle.exp: New file.
1096
3a56ed86
TV
10972019-10-03 Tom de Vries <tdevries@suse.de>
1098
1099 PR testsuite/25059
1100 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1101 directory" line to be missing.
1102
42275044
TV
11032019-10-03 Tom de Vries <tdevries@suse.de>
1104
1105 PR testsuite/25059
1106 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1107 type optional.
1108
9ef62df0
AA
11092019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1110
1111 * gdb.python/py-format-string.c (string.h): New include.
1112 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1113 the same value, for endianness-independence.
1114 * gdb.python/py-format-string.exp (default_regexp_dict)
1115 (test_pretty_structs, test_format): Adjust expected output to the
1116 changed initialization.
1117
37f6a7f4
TT
11182019-10-02 Tom Tromey <tromey@adacore.com>
1119
1120 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1121
1d58d6a2
PA
11222019-10-02 Pedro Alves <palves@redhat.com>
1123 Andrew Burgess <andrew.burgess@embecosm.com>
1124
1125 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1126 "print-file-var.h".
1127 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1128 (get_version_1): Print this_version_id and its address.
1129 Add extern "C" wrappers around interface functions.
1130 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1131 "print-file-var.h".
1132 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1133 (get_version_2): Print this_version_id and its address.
1134 Add extern "C" wrappers around interface functions.
1135 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1136 <stddef.h> and "print-file-var.h".
1137 Add extern "C" wrappers around interface functions.
1138 [VERSION_ID_MAIN] (this_version_id): Define.
1139 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1140 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1141 up extern "C" blocks.
1142 * gdb.base/print-file-var.exp (test): New, factored out from top
1143 level.
1144 (top level): Test all combinations of attribute hidden or not,
1145 dlopen or not, and this_version_id symbol in main file or not.
1146 Compile tests as both C++ and C, make test names unique.
1147
d770d56f
TT
11482019-10-01 Tom Tromey <tom@tromey.com>
1149
1150 * gdb.base/style.exp: Test "show logging filename".
1151
7f6aba03
TT
11522019-10-01 Tom Tromey <tom@tromey.com>
1153
1154 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1155 * gdb.base/style.exp: Add metadata style test.
1156
14309bb6
TT
11572019-10-01 Tom Tromey <tom@tromey.com>
1158
1159 * gdb.base/style.exp: Test "pwd".
1160
2a3c1174
PA
11612019-10-01 Tom Tromey <tom@tromey.com>
1162
1163 * gdb.base/style.exp: Update tests.
1164
53d666ec
AA
11652019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1166
1167 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1168 'six' to unsigned.
1169 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1170 'five'. Use an all-ones bit pattern for each.
1171 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1172 to its changed values.
1173
4a56a520
TT
11742019-09-30 Tom Tromey <tromey@adacore.com>
1175
1176 * gdb.rust/traits.rs: Disable all warnings.
1177
0df0352a
TV
11782019-09-29 Tom de Vries <tdevries@suse.de>
1179
1180 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1181
73d9a918
TV
11822019-09-29 Tom de Vries <tdevries@suse.de>
1183
1184 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1185
060b3ab4
TV
11862019-09-27 Tom de Vries <tdevries@suse.de>
1187
1188 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1189
68f7d34d
TV
11902019-09-27 Tom de Vries <tdevries@suse.de>
1191
1192 PR record/23188
1193 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1194
5d63b30a
TT
11952019-09-26 Tom Tromey <tromey@adacore.com>
1196
1197 * gdb.ada/py_taft.exp: New file.
1198 * gdb.ada/py_taft/main.adb: New file.
1199 * gdb.ada/py_taft/pkg.adb: New file.
1200 * gdb.ada/py_taft/pkg.ads: New file.
1201
3d435220
TV
12022019-09-24 Tom de Vries <tdevries@suse.de>
1203
1204 PR gdb/24598
1205 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1206
77d03678
TV
12072019-09-22 Tom de Vries <tdevries@suse.de>
1208
1209 * gdb.base/restore.exp: Allow register variables to be optimized out at
1210 -O0.
1211
abf516c6
UW
12122019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1213
1214 * gdb.arch/spu-info.exp: Remove file.
1215 * gdb.arch/spu-info.c: Remove file.
1216 * gdb.arch/spu-ls.exp: Remove file.
1217 * gdb.arch/spu-ls.c: Remove file.
1218
1219 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1220 * gdb.asm/spu.inc: Remove file.
1221
1222 * gdb.base/dump.exp: Remove support for spu*-*-*.
1223 * gdb.base/stack-checking.exp: Likewise.
1224 * gdb.base/overlays.exp: Likewise.
1225 * gdb.base/ovlymgr.c: Likewise.
1226 * gdb.base/spu.ld: Remove file.
1227
1228 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1229 * gdb.cp/cpexprs.exp: Likewise.
1230 * gdb.cp/exception.exp: Likewise.
1231 * gdb.cp/gdb2495.exp: Likewise.
1232 * gdb.cp/mb-templates.exp: Likewise.
1233 * gdb.cp/pr9167.exp: Likewise.
1234 * gdb.cp/userdef.exp: Likewise.
1235
1236 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1237
1238 * gdb.cell: Remove directory.
1239 * lib/cell.exp: Remove file.
1240
e452e88f
TV
12412019-09-19 Tom de Vries <tdevries@suse.de>
1242
1243 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1244
8a625130
TV
12452019-09-19 Tom de Vries <tdevries@suse.de>
1246
1247 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1248
81dc3ab5
TV
12492019-09-19 Tom de Vries <tdevries@suse.de>
1250
1251 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1252 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1253 (gdb_target_cmd): ... here.
1254 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1255 value 2.
1256
b078f3ac
AB
12572019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1258
1259 * gdb.base/source-dir.exp: Avoid having directory names in test
1260 names.
1261
f1b620e9
MG
12622019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1263
1264 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1265 directory.
1266
67f3ed6a
AB
12672019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1268
1269 * gdb.base/list-missing-source.exp: New file.
1270
d1b70248
TV
12712019-09-14 Tom de Vries <tdevries@suse.de>
1272
1273 PR teststuite/24599
1274 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1275 * lib/ada.exp (gnatmake_version_at_least): New proc.
1276
5fabdcd6
AB
12772019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1278
1279 * gdb.base/maint.exp: Use exec_has_index_section.
1280
aa17805f
AB
12812019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1282
1283 * gdb.base/maint.exp: Add test for 'maint info sections'.
1284
25e5c209
TV
12852019-09-12 Tom de Vries <tdevries@suse.de>
1286
1287 * gdb.base/store.exp: Allow register variables to be optimized out at
1288 -O0.
1289
4993045d
PW
12902019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1291
1292 * gdb.ada/rdv_wait.exp: Update to new task names.
1293 * gdb.base/task_switch_in_core.exp: Likewise.
1294 * gdb.base/info_sources_base.c: Likewise.
1295
8a516164
TT
12962019-09-10 Tom Tromey <tromey@adacore.com>
1297
1298 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1299
aa391654
TT
13002019-09-10 Tom Tromey <tromey@adacore.com>
1301
1302 * gdb.ada/dgopt.exp: New file.
1303 * gdb.ada/dgopt/x.adb: New file.
1304
8634b462
TT
13052019-09-08 Tom Tromey <tom@tromey.com>
1306
1307 * gdb.tui/resize.exp: Remove setup_xfail.
1308 * gdb.tui/regs.exp: Remove setup_xfail.
1309 * gdb.tui/basic.exp: Remove setup_xfail.
1310
736b0f76
DB
13112019-09-06 David Blaikie <dblaikie@gmail.com>
1312
1313 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1314 * gdb.cp/cplabel.exp: Ditto.
1315 * gdb.linespec/ls-errs.exp: Ditto.
1316
30331a6c
TV
13172019-09-05 Tom de Vries <tdevries@suse.de>
1318
1319 * lib/gdb.exp (cmp_file_string): New proc.
1320 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1321 runto_main. Verify save breakpoints output.
1322
98b0ebab
PW
13232019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1324
1325 * gdb.base/info-var.exp: Test info variables without running
1326 to main, to avoid expect's buffer overflow.
1327
4e962e74
TT
13282019-09-03 Tom Tromey <tromey@adacore.com>
1329
1330 * gdb.ada/bias.exp: New file.
1331 * gdb.ada/bias/bias.adb: New file.
1332 * gdb.ada/print_chars.exp: Add regression test.
1333 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1334 (MC): New variable.
1335
2ea1a07a
SL
13362019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1337
1338 * gdb.base/argv0-symlink.exp: Run only on native target
1339 and local host.
1340
8077c50d
TV
13412019-08-29 Tom de Vries <tdevries@suse.de>
1342
1343 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1344 diverse debug info.
1345 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1346
48352473
TV
13472019-08-28 Tom de Vries <tdevries@suse.de>
1348
1349 * gdb.base/info-var.exp: Allow info variables to print info for files
1350 other than info-var-f1.c and info-var-f2.c.
1351
d8f27c60
AB
13522019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1353
1354 * gdb.fortran/info-types.exp: Add module.
1355 * gdb.fortran/info-types.f90: Update expected results.
1356
1f20c35e
AB
13572019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1358
1359 * gdb.fortran/info-types.exp: New file.
1360 * gdb.fortran/info-types.f90: New file.
1361 * lib/fortran.exp (fortran_character1): New proc.
1362
4acfdd20
AB
13632019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1364
1365 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1366 functions'. Reindent as needed.
1367 * gdb.base/info-var-f1.c: New file.
1368 * gdb.base/info-var-f2.c: New file.
1369 * gdb.base/info-var.exp: New file.
1370 * gdb.base/info-var.h: New file.
1371
5c31b358
TV
13722019-08-26 Tom de Vries <tdevries@suse.de>
1373
1374 PR c++/24852
1375 * gdb.cp/no-libstdcxx-probe.exp: New test.
1376
b694989f
TV
13772019-08-26 Tom de Vries <tdevries@suse.de>
1378
1379 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1380 * tests need to be skipped.
1381 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1382 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1383 mi_skip_libstdcxx_probe_tests.
1384
d9c4ba53
SDJ
13852019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1386
1387 * gdb.python/py-xmethods.exp: Use raw strings when passing
1388 arguments to SimpleXMethodMatcher.
1389
395fad09
TV
13902019-08-22 Tom de Vries <tdevries@suse.de>
1391
1392 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1393 more informative.
1394
26c957f1
PA
13952019-08-21 Pedro Alves <palves@redhat.com>
1396
1397 * gdb.base/with.exp: Test "with" with no arguments.
1398
61f80d5d
TV
13992019-08-21 Tom de Vries <tdevries@suse.de>
1400
1401 * gdb.base/gdb-caching-proc.exp: Sort files.
1402
d7a11d13
TV
14032019-08-20 Tom de Vries <tdevries@suse.de>
1404
1405 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1406 compilation.
1407
34dafe9f
TV
14082019-08-16 Tom de Vries <tdevries@suse.de>
1409
1410 * gdb.base/compare-sections.exp ("after run to main"): Allow
1411 mismatched read-only sections for PIE executables.
1412
398fdd60
TT
14132019-08-16 Tom Tromey <tom@tromey.com>
1414
1415 * lib/tuiterm.exp (_csi_Z): New proc.
1416 * gdb.tui/basic.exp: Update window positions.
1417 * gdb.tui/empty.exp: Update window positions.
1418
d8f9e51c
SL
14192019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1420
1421 * gdb.base/examine-backward.exp: Correct regexp for
1422 "examine 3 bytes backward from ${address_zero}".
1423
3df505f6
TT
14242019-08-15 Tom Tromey <tom@tromey.com>
1425
1426 * gdb.tui/empty.exp: Enable resizing tests.
1427
272560b5
TT
14282019-08-15 Tom Tromey <tromey@adacore.com>
1429
1430 * gdb.ada/char_enum.exp: Add regression tests.
1431 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1432 and '0'.
1433 (Char, Gchar): Update.
1434 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1435
08235187
CB
14362019-08-15 Christian Biesinger <cbiesinger@google.com>
1437
1438 * gdb.python/python.exp: Expect a leading underscore on
1439 GdbOutput{,Error}File.
1440
22a2ab04
SL
14412019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1442
1443 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1444 Windows host.
1445
835b995b
SL
14462019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1447
1448 * gdb.base/batch-preserve-term-settings.exp
1449 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1450
97dd8e07
CB
14512019-08-15 Christian Biesinger <cbiesinger@google.com>
1452
1453 * lib/gdb.exp: When running on a mingw target, replace
1454 /x/ with x:/.
1455
75faf5c4
AH
14562019-08-14 Alan Hayward <alan.hayward@arm.com>
1457
1458 * gdb.arch/aarch64-prologue.c: New test.
1459 * gdb.arch/aarch64-prologue.exp: New file.
1460
abc6c00f
TV
14612019-08-13 Tom de Vries <tdevries@suse.de>
1462
1463 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1464 Thread.
1465
74c2c1f4
SL
14662019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1467
1468 * gdb.python/py-completion.exp: Download the .py file to the host
1469 and use its host pathname. Conditionalize tests that use
1470 tab completion and manipulate files on the build machine.
1471 * gdb.python/py-events.exp: Download the .py file to the host
1472 and use its host pathname.
1473 * gdb.python/py-evsignal.exp: Likewise.
1474 * gdb.python/py-evthreads.exp: Likewise.
1475 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1476 pathname syntax.
1477 * gdb.python/py-framefilter.exp: Download the .py file to the right
1478 place on the host. Match Windows pathname syntax.
1479 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1480 .py file to the host and use its host pathname.
1481 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1482 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1483 build pathname. Skip symlink test on Windows host. Add missing
1484 newline at end of file.
1485 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1486 and use its host pathname.
1487 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1488 * gdb.python/py-section-script.exp: Use host location of binfile
1489 on safe-path. Use correct path separator on Windows host.
1490 Reorder alternatives in gdb_test_multiple to prevent matching
1491 the wrong alternative on success.
1492 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1493
ca2589f3
PP
14942019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1495
1496 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1497 expect the GDB inferior to no longer immediately stop after
1498 being resumed with "signal SIGINT".
1499
020a839d
SL
15002019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1501
1502 * gdb.linespec/break-ask.exp: Generalize regexps to match
1503 Windows pathnames too.
1504
128d6509
TV
15052019-08-08 Tom de Vries <tdevries@suse.de>
1506
1507 PR testsuite/24862
1508 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1509
590042fc
PW
15102019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1511
1512 * gdb.base/style.exp: Update tests for help doc new invariants.
1513 * gdb.base/help.exp: Likewise.
1514
046bebe1
TT
15152019-08-06 Tom Tromey <tom@tromey.com>
1516
1517 * gdb.base/style.exp: Add disassemble test.
1518 * gdb.base/style.c (some_called_function): New function.
1519 (main): Use it.
1520
0b27c27d
CB
15212019-08-05 Christian Biesinger <cbiesinger@google.com>
1522
1523 * gdb.python/py-block.exp: Test dictionary access on blocks.
1524
580f1034
SM
15252019-08-05 Simon Marchi <simon.marchi@efficios.com>
1526
1527 PR gdb/24863
1528 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1529 -list-thread-groups --available test when running under
1530 check-read1.
1531
d86bd7cb
TV
15322019-08-05 Tom de Vries <tdevries@suse.de>
1533
1534 PR testsuite/24863
1535 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1536 * gdb.base/help.exp: Use with_read1_timeout_factor.
1537 * gdb.base/info-macros.exp: Same.
1538 * gdb.cp/nested-types.exp: Same.
1539
a80cf5d8
TV
15402019-08-05 Tom de Vries <tdevries@suse.de>
1541
1542 * lib/gdb.exp (version_at_least): Factor out of ...
1543 (tcl_version_at_least): ... here.
1544 (gdb_compile): Fail if pie results in non-PIE executable.
1545 (readelf_version, readelf_prints_pie): New proc.
1546 (exec_is_pie): Return -1 if unknown.
1547
d0962838
TV
15482019-08-05 Tom de Vries <tdevries@suse.de>
1549
1550 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1551
2252ff3d
SL
15522019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1553
1554 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1555
26655f53
SL
15562019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1557
1558 * lib/completion-support.exp (test_gdb_complete_none): Skip
1559 tab completion tests if no readline support.
1560 (test_gdb_complete_unique_re): Likewise.
1561 (test_gdb_complete_multiple): Likewise.
1562
db4dc13e
PW
15632019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1564
1565 * gdb.base/info_sources.exp: New file.
1566 * gdb.base/info_sources.c: New file.
1567 * gdb.base/info_sources_base.c: New file.
1568
0eba165a
PFC
15692019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1570
1571 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1572 prefix argument.
1573 (test_exit_status): Add prefix argument.
1574
59bd512b
TV
15752019-08-01 Tom de Vries <tdevries@suse.de>
1576
1577 PR testsuite/24863
1578 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1579 calling exp_continue for new thread and thread exited messages.
1580
2a3ad588
TV
15812019-08-01 Tom de Vries <tdevries@suse.de>
1582
1583 PR testsuite/24863
1584 * gdb.base/structs.exp: Fix check-read1 timeout using
1585 gdb_test_sequence.
1586 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1587
117eb594
TV
15882019-08-01 Tom de Vries <tdevries@suse.de>
1589
1590 PR testsuite/24863
1591 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1592 line.
1593
ed591340
TV
15942019-08-01 Tom de Vries <tdevries@suse.de>
1595
1596 PR testsuite/24863
1597 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1598
aa3b6533
TT
15992019-07-30 Tom Tromey <tromey@adacore.com>
1600
1601 * gdb.ada/display_nested.exp: New file.
1602 * gdb.ada/display_nested/foo.adb: New file.
1603 * gdb.ada/display_nested/pack.adb: New file.
1604 * gdb.ada/display_nested/pack.ads: New file.
1605
2906593f
CB
16062019-07-30 Christian Biesinger <cbiesinger@google.com>
1607
1608 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1609 namespace.
1610 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1611
0f575925
TV
16122019-07-30 Tom de Vries <tdevries@suse.de>
1613
1614 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1615 instead.
1616
b13057d9
TV
16172019-07-30 Tom de Vries <tdevries@suse.de>
1618
1619 PR testsuite/24834
1620 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1621 (exec_is_pie): New proc.
1622
5c4dde85
CB
16232019-07-29 Christian Biesinger <cbiesinger@google.com>
1624
1625 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1626
c620ed88
CB
16272019-07-29 Christian Biesinger <cbiesinger@google.com>
1628
1629 * gdb.python/py-objfile.c: Add global and static vars.
1630 * gdb.python/py-objfile.exp: Test new functions Objfile.
1631 lookup_global_symbol and lookup_static_symbol.
1632
3d235706
TT
16332019-07-29 Tom Tromey <tom@tromey.com>
1634
1635 * lib/tuiterm.exp (Term::_csi_@): New proc.
1636 (Term::_csi_X): Don't move cursor.
1637
c7e4c0a6
PW
16382019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1639
1640 * gdb.base/options.exp: Update backtrace - completion to
1641 new option -frame-info.
1642 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1643 Test new 'set print frame-info'. Test backtrace -frame-info
1644 overriding 'set print frame-info'.
1645 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1646 Test new 'set print frame-info'.
1647 Verify consistency of backtrace with and without filters, with and
1648 without -no-filters.
1649 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1650 default.
1651
de28a3b7
TV
16522019-07-29 Tom de Vries <tdevries@suse.de>
1653
1654 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1655 no arguments".
1656
507dd60e
TV
16572019-07-29 Tom de Vries <tdevries@suse.de>
1658
1659 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1660 is a substring of the first for "complete non-unique file name".
1661
5beafce9
TV
16622019-07-29 Tom de Vries <tdevries@suse.de>
1663
1664 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1665 with ".*".
1666
2d274232
TV
16672019-07-29 Tom de Vries <tdevries@suse.de>
1668
1669 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1670 Pass prompt_regexp parameter to gdb_test_multiple calls.
1671
9197cd8b
TV
16722019-07-29 Tom de Vries <tdevries@suse.de>
1673
1674 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1675 print registers" regexps.
1676
b528dae0
TV
16772019-07-29 Tom de Vries <tdevries@suse.de>
1678
1679 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1680
d17725d7
TV
16812019-07-29 Tom de Vries <tdevries@suse.de>
1682
1683 PR gdb/24855
1684 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1685 (skip_python_tests_prompt): Add prompt_regexp argument to
1686 gdb_test_multiple calls.
1687
52b75bf1
TT
16882019-07-27 Tom Tromey <tom@tromey.com>
1689
1690 * gdb.tui/main.exp: New file.
1691
2b1d00c2
TT
16922019-07-27 Tom Tromey <tom@tromey.com>
1693
1694 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1695 optional.
1696 * gdb.tui/empty.exp: New file.
1697
ded631d5
TT
16982019-07-27 Tom Tromey <tom@tromey.com>
1699
1700 * lib/tuiterm.exp (spawn): New proc.
1701 (Term::resize): New proc.
1702 * gdb.tui/resize.exp: New file.
1703
58ac439d
TT
17042019-07-27 Tom Tromey <tom@tromey.com>
1705
1706 * gdb.tui/list.exp: New file.
1707
fe1f56ee
TT
17082019-07-27 Tom Tromey <tom@tromey.com>
1709
1710 * gdb.tui/regs.exp: New file.
1711
f790b310
TT
17122019-07-27 Tom Tromey <tom@tromey.com>
1713
1714 * gdb.tui/basic.exp: Add "layout split" test.
1715
d95fc6ee
TT
17162019-07-27 Tom Tromey <tom@tromey.com>
1717
1718 * gdb.tui/basic.exp: Add "layout asm" test.
1719
c3786b3a
TT
17202019-07-27 Tom Tromey <tom@tromey.com>
1721
1722 * lib/tuiterm.exp: New file.
1723 * gdb.tui/basic.exp: New file.
1724
98a617f8
KB
17252019-07-27 Kevin Buettner <kevinb@redhat.com>
1726
1727 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1728 Enable tests associated with this flag. Adjust regex
1729 referencing "foo_low" to now refer to "foo_cold" instead.
1730
5c076da4
KB
17312019-07-27 Kevin Buettner <kevinb@redhat.com>
1732
1733 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1734 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1735 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1736 foo_cold. Revise comments to match.
1737 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1738 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1739 were wrapped into this proc; Call do_test in loop from outermost
1740 level.
1741 (foo_low): Rename all occurrences to "foo_cold".
1742 (backtrace from baz): New test.
1743 (x2/i foo_cold): New test.
1744 (info line *foo_cold): New test.
1745
1512d3b7
TV
17462019-07-26 Tom de Vries <tdevries@suse.de>
1747
1748 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1749
297989a1
TV
17502019-07-25 Tom de Vries <tdevries@suse.de>
1751
1752 PR testsuite/24830
1753 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1754 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1755 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1756 (skip_libstdcxx_probe_tests): ... here.
1757 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1758
b3b965fb
TV
17592019-07-24 Tom de Vries <tdevries@suse.de>
1760
1761 PR testsuite/24807
1762 * gdb.objc/basicclass.m: Include stdio.h.
1763 * gdb.objc/nondebug.m: Same.
1764 * gdb.objc/objcdecode.m: Same.
1765
4625b4d0
TV
17662019-07-24 Tom de Vries <tdevries@suse.de>
1767
1768 PR testsuite/24612
1769 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1770 additional_flags.
1771
024a5840
TV
17722019-07-24 Tom de Vries <tdevries@suse.de>
1773
1774 PR testsuite/24831
1775 * gdb.multi/tids.exp: Update error messages for info threads.
1776
c76ddaa3
TV
17772019-07-24 Tom de Vries <tdevries@suse.de>
1778
1779 * gdb.base/info-types.exp: Allow info types to print info for more than
1780 one file.
1781
9a618ef6
TV
17822019-07-23 Tom de Vries <tdevries@suse.de>
1783
1784 PR testsuite/24842
1785 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1786 gdb_spawn_with_cmdline_opts.
1787
40eadf04
SP
17882019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1789
1790 * gdb.arch/arm-cmse-sgstubs.c: New test.
1791 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1792
5ba29434
TV
17932019-07-23 Tom de Vries <tdevries@suse.de>
1794
1795 PR testsuite/24711
1796 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1797 issuing next command.
1798
a8e9d247
AB
17992019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1800
1801 * gdb.ada/info_auto_lang.exp: Update expected results.
1802 * gdb.base/info-types.c: Add additional types to check.
1803 * gdb.base/info-types.exp: Update expected results.
1804
eb86c5e2
AB
18052019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1806
1807 * gdb.base/info-types.c: New file.
1808 * gdb.base/info-types.exp: New file.
1809
01e175fe
AB
18102019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1811
1812 * gdb.arch/riscv-bp-infcall.c: New file.
1813 * gdb.arch/riscv-bp-infcall.exp: New file.
1814
6b78c3f8
AB
18152019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1816
1817 PR breakpoints/24541
1818 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1819
da738167
TV
18202019-07-14 Tom de Vries <tdevries@suse.de>
1821
1822 PR testsuite/24760
1823 * gdb.objc/basicclass.exp: Fix unterminated string.
1824
0d4e84ed
AB
18252019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1826 Andrew Burgess <andrew.burgess@embecosm.com>
1827
1828 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1829 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1830 negative bounds.
1831 * gdb.fortran/vla-value.exp: Print elements of an array with
1832 negative bounds.
1833 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1834 testing.
1835
021d8588
AB
18362019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1837
1838 * gdb.base/options.exp (expect_string): Dequote strings in
1839 results.
1840 (test-string): Test strings with different quoting and reindent.
1841
f06f1252
TT
18422019-07-10 Tom Tromey <tromey@adacore.com>
1843
1844 * gdb.ada/mi_ex_cond.exp: Update expected results.
1845 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1846 * gdb.ada/mi_catch_ex.exp: Update expected results.
1847 * gdb.ada/mi_catch_assert.exp: Update expected results.
1848 * gdb.ada/catch_ex.exp (catch_exception_info)
1849 (catch_exception_entry, catch_assert_entry)
1850 (catch_unhandled_entry): Update.
1851 * gdb.ada/catch_assert_if.exp: Update expected results.
1852
b863685d
RB
18532019-07-10 Richard Bunt <richard.bunt@arm.com>
1854 Stephen Roberts <stephen.roberts@arm.com>
1855
1856 * gdb.base/define.exp: Restore original prompt.
1857
cb1e4e32
PA
18582019-07-09 Pedro Alves <palves@redhat.com>
1859
1860 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1861 breakpoints" output.
1862 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1863 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1864 throw" creates breakpoint.
1865 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1866 'type="catchpoint"'.
1867
b58a68fe
PA
18682019-07-09 Pedro Alves <palves@redhat.com>
1869
1870 PR c++/15468
1871 * gdb.cp/except-multi-location-lib.cc: New.
1872 * gdb.cp/except-multi-location-main.cc: New.
1873 * gdb.cp/except-multi-location.exp: New.
1874
0826779b
PW
18752019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1876
1877 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1878 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1879 argument and update callers.
1880
5b0e2db4
AB
18812019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1882
1883 * gdb.arch/amd64-break-on-asm-line.S: New file.
1884 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1885
1f6f6e21
PW
18862019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1887
1888 * gdb.base/printcmds.exp: Test printing C string and
1889 C wide string convenience vars without transiting via the inferior.
1890 Also make test names unique.
1891
ea142fbf
AH
18922019-07-08 Alan Hayward <alan.hayward@arm.com>
1893
5862c886 1894 PR breakpoints/25011
ea142fbf
AH
1895 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1896
213fd9fa
PA
18972019-07-04 Pedro Alves <palves@redhat.com>
1898
1899 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1900 body returned ok(0), break(3) or continue(4).
1901 * gdb.testsuite/foreach_with_prefix.exp: New file.
1902
2b40fda7
AH
19032019-07-04 Alan Hayward <alan.hayward@arm.com>
1904
1905 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1906
a26c8de0
PA
19072019-07-03 Pedro Alves <palves@redhat.com>
1908
1909 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1910 "return -code".
1911
5f4ba3e7
PA
19122019-07-03 Pedro Alves <palves@redhat.com>
1913
1914 PR cli/24732
1915 * gdb.base/shell.exp: Load completion-support.exp.
1916 Adjust expected error output. Add completion tests.
1917
a994424f
PA
19182019-07-03 Pedro Alves <palves@redhat.com>
1919
1920 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1921 string_to_regexp.
1922
3d9be6f5
PA
19232019-07-03 Pedro Alves <palves@redhat.com>
1924
1925 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1926 (expect_integer): Adjust to expect "-string".
1927 (expect_string): New.
1928 (all_options): Expect "-string".
1929 (test-flag, test-boolean): Adjust to expect "-string".
1930 (test-string): New proc.
1931 (top level): Call it.
1932
41fc454c
PA
19332019-07-03 Pedro Alves <palves@redhat.com>
1934
1935 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1936 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1937 the expected output in the success.
1938
b2b2a215
PA
19392019-07-03 Pedro Alves <palves@redhat.com>
1940
1941 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1942 Split one gdb_test_multiple call in two to avoid a race.
1943
fdbc9870
PA
19442019-07-03 Pedro Alves <palves@redhat.com>
1945
1946 * gdb.base/with.c: New file.
1947 * gdb.base/with.exp: New file.
1948
c6ac8931
PA
19492019-07-03 Pedro Alves <palves@redhat.com>
1950
1951 * gdb.base/settings.exp: Replace all references to "maint
1952 test-settings set" with references to "maint set test-settings",
1953 and all references to "maint test-settings show" with references
1954 to "maint show test-settings".
1955
970f9d09
PA
19562019-07-03 Pedro Alves <palves@redhat.com>
1957
1958 * gdb.base/settings.exp (test-string): Adjust expected out when
1959 testing "maint test-settings show filename"
1960
54d66006
PA
19612019-07-02 Pedro Alves <palves@redhat.com>
1962
1963 * gdb.base/options.exp (test-info-threads): New procedure.
1964 (top level): Call it.
1965
10d06d82
TT
19662019-06-28 Tom Tromey <tromey@adacore.com>
1967
1968 * gdb.dwarf2/ada-linkage-name.c: New file.
1969 * gdb.dwarf2/ada-linkage-name.exp: New file.
1970
3d507ff2
TT
19712019-06-27 Tom Tromey <tromey@adacore.com>
1972
d039f014 1973 PR c++/20020:
3d507ff2
TT
1974 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1975
8af58ffe
TV
19762019-06-26 Tom de Vries <tdevries@suse.de>
1977
1978 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1979
22e21752
TV
19802019-06-26 Tom de Vries <tdevries@suse.de>
1981
1982 * gdb.base/index-cache.exp: Add back missing debug option.
1983
b65b566c
PW
19842019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1985
1986 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1987
5c2c8c69
TV
19882019-06-25 Tom de Vries <tdevries@suse.de>
1989
1990 PR testsuite/24727
1991 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1992
164e3873
TV
19932019-06-24 Tom de Vries <tdevries@suse.de>
1994
1995 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1996
824eacee
TV
19972019-06-24 Tom de Vries <tdevries@suse.de>
1998
1999 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2000 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2001 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2002
385b97d3
TV
20032019-06-24 Tom de Vries <tdevries@suse.de>
2004
2005 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2006
c596f180
TV
20072019-06-21 Tom de Vries <tdevries@suse.de>
2008
2009 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2010
b13a7d03
TV
20112019-06-21 Tom de Vries <tdevries@suse.de>
2012
2013 PR testsuite/24518
2014 PR ada/24713
2015 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2016 index.
2017
899277ae
TT
20182019-06-19 Tom Tromey <tromey@adacore.com>
2019
2020 * gdb.ada/length_cond.exp: Add intro comment.
2021
680e1bee
TT
20222019-06-19 Tom Tromey <tromey@adacore.com>
2023
2024 * gdb.ada/length_cond.exp: New file.
2025 * gdb.ada/length_cond/length_cond.adb: New file.
2026 * gdb.ada/length_cond/pck.adb: New file.
2027 * gdb.ada/length_cond/pck.ads: New file.
2028
0ed4690a
TV
20292019-06-18 Tom de Vries <tdevries@suse.de>
2030
2031 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2032
d20ed5fd
TT
20332019-06-18 Tom Tromey <tromey@adacore.com>
2034
2035 * gdb.base/list0.h: Add comment explaining control character.
2036
86e04673
TV
20372019-06-18 Tom de Vries <tdevries@suse.de>
2038
2039 * boards/fission.exp: Break up long debug_flags line.
2040
c4973306
SM
20412019-06-16 Tom de Vries <tdevries@suse.de>
2042
2043 PR gdb/24445
2044 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2045 generated index.
2046
93cb9841
AB
20472019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2048
2049 PR gdb/24686
2050 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2051 improve detection of bug gdb/24541.
2052
399aaebd
SM
20532019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2054
2055 PR gdb/24669
2056 * gdb.base/index-cache.exp (uses_readnow,
2057 expecting_index_cache_use): Define global variable.
2058 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2059 expecting_index_cache_use.
2060
584a927c
AB
20612019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2062 Andrew Burgess <andrew.burgess@embecosm.com>
2063
2064 * gdb.fortran/pointers.f90: New file.
2065 * gdb.fortran/print_type.exp: New file.
2066 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2067 * gdb.fortran/vla-type.exp: Likewise.
2068 * gdb.fortran/vla-value.exp: Likewise.
2069 * gdb.mi/mi-vla-fortran.exp: Likewise.
2070
30056ea0
AB
20712019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2072
2073 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2074 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2075 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2076 as a stop reason.
2077
ec8e2b6d
AB
20782019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2079
2080 * gdb.base/annota1.exp: Update expected results.
2081 * gdb.cp/annota2.exp: Likewise.
2082 * gdb.cp/annota3.exp: Likewise.
2083
09e4c4e1
AB
20842019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2085
2086 * gdb.base/style-logging.exp: Remove path from test name.
2087
0735b091
TT
20882019-06-14 Tom Tromey <tromey@adacore.com>
2089
2090 PR gdb/24502:
2091 * gdb.base/style-logging.exp: New file.
2092
f5686554
TT
20932019-06-14 Tom Tromey <tromey@adacore.com>
2094
2095 * gdb.base/symfile-warn.exp: New file.
2096 * gdb.base/symfile-warn.c: New file.
2097
a0c1ffed
TT
20982019-06-14 Tom Tromey <tromey@adacore.com>
2099
2100 * gdb.base/annotate-symlink.exp: New file.
2101
f411722c
TT
21022019-06-14 Tom Tromey <tromey@adacore.com>
2103
2104 * gdb.ada/set_wstr.exp: Add reassignment test.
2105
4268ec18
TT
21062019-06-14 Tom Tromey <tromey@adacore.com>
2107
2108 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2109 'unchecked_access and 'unrestricted_access as well.
2110
9a9e394b
TT
21112019-06-14 Tom Tromey <tromey@adacore.com>
2112
2113 PR ada/24539:
2114 * gdb.ada/vla.exp: Update tests.
2115 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2116 pragma.
2117
4c048731
PA
21182019-06-13 Pedro Alves <palves@redhat.com>
2119
2120 * gdb.base/settings.exp (test-integer): Test junk after
2121 "unlimited".
2122
6665660a
PA
21232019-06-13 Pedro Alves <palves@redhat.com>
2124
2125 * gdb.base/options.exp (test-thread-apply): New.
2126 (top level): Call it.
2127
5d707134
PA
21282019-06-13 Pedro Alves <palves@redhat.com>
2129
2130 * gdb.base/options.exp (test-frame-apply): New.
2131 (top level): Test print commands with different "frame apply"
2132 prefixes.
2133
e2a689da
PA
21342019-06-13 Pedro Alves <palves@redhat.com>
2135
e79be6e5 2136 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
2137 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2138 'max_completions' parameter and handle it.
2139 (test_gdb_completion_offers_commands): New.
2140
90a1ef87
PA
21412019-06-13 Pedro Alves <palves@redhat.com>
2142
2143 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2144
d4c16835
PA
21452019-06-13 Pedro Alves <palves@redhat.com>
2146
2147 * gdb.base/options.exp (test-backtrace): New.
2148 (top level): Call it.
2149
2daf894e
PA
21502019-06-13 Pedro Alves <palves@redhat.com>
2151
2152 * gdb.guile/scm-frame-args.exp: Use "set print
2153 raw-frame-arguments" instead of "set print raw frame-arguments".
2154 * gdb.python/py-frame-args.exp: Likewise.
2155
e6ed716c
PA
21562019-06-13 Pedro Alves <palves@redhat.com>
2157
2158 * gdb.compile/compile.exp: Adjust expected output to option
2159 processing changes.
2160
7d8062de
PA
21612019-06-13 Pedro Alves <palves@redhat.com>
2162
2163 * gdb.base/options.exp: Build executable.
2164 (test-print): New procedure.
2165 (top level): Call it, once for "print" and another for "compile
2166 print".
2167
9d0faba9
PA
21682019-06-13 Pedro Alves <palves@redhat.com>
2169
2170 * gdb.base/options.c: New file.
2171 * gdb.base/options.exp: New file.
2172
dee7b4c8
PA
21732019-06-13 Pedro Alves <palves@redhat.com>
2174
2175 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2176 that "o" is ambiguous.
2177
dca0f6c0
PA
21782019-06-13 Pedro Alves <palves@redhat.com>
2179
2180 * gdb.base/settings.c: New file.
2181 * gdb.base/settings.exp: New file.
2182
ccf46844
PA
21832019-06-13 Pedro Alves <palves@redhat.com>
2184
2185 * gdb.base/completion.exp: Fix comment typo.
2186
b9a3f842
PA
21872019-06-13 Pedro Alves <palves@redhat.com>
2188
2189 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2190 foo --1" test.
2191
d106773e
PA
21922019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2193
2194 * gdb.fortran/block-data.f: New.
2195 * gdb.fortran/block-data.exp: New.
2196
fea82da0
TV
21972019-06-11 Tom de Vries <tdevries@suse.de>
2198
2199 PR testsuite/24521
2200 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2201 message.
2202
8c2e74f1
TV
22032019-06-11 Tom de Vries <tdevries@suse.de>
2204
2205 PR testsuite/24521
2206 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2207
b49851c8
TV
22082019-06-11 Tom de Vries <tdevries@suse.de>
2209
2210 * boards/readnow.exp: New file.
2211
a7067863
AB
22122019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2213
2214 * gdb.fortran/vla-sizeof.exp: Update expected results.
2215
1a3da2cd
AB
22162019-06-06 Amos Bird <amosbird@gmail.com>
2217
2218 * gdb.base/annota1.exp (thread_switch): Add test for
2219 thread-exited annotation.
2220
3847a7bf
TT
22212019-06-06 Tom Tromey <tromey@adacore.com>
2222
2223 * gdb.base/maint.exp: Expect command started/finished output.
2224
0088ba59
AB
22252019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2226
2227 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2228 comment.
2229 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2230
312617a3
AB
22312019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2232
2233 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2234 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2235 * gdb.arch/riscv-unwind-long-insn.c: New file.
2236 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2237
e1f2e1a2
CB
22382019-06-04 Christian Biesinger <cbiesinger@google.com>
2239
d3238f7d 2240 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 2241
206584bd
PW
22422019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2243
2244 * lib/gdb.exp (help_list_trailer): New regexp variable
2245 factorizing the help trailer message.
2246 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2247 arg to allow to better factorize various tests.
2248 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2249 (test_prefix_command_help): Use help_list_trailer.
2250 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2251 * gdb.guile/scm-cmd.exp: Likewise.
2252 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2253 * gdb.base/help.exp: Use test_user_defined_class_help.
2254 * gdb.base/style.exp: Add tests for styling of help and apropos.
2255 * lib/gdb-utils.exp (style): Add title and highlight styles.
2256
708dc93e
PW
22572019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2258
2259 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2260 $_shell_exitsignal.
2261 * gdb.base/default.exp: Update for new convenience variables.
2262
f49055a5
TT
22632019-05-29 Tom Tromey <tromey@adacore.com>
2264
2265 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2266 to "break complete ada" test case's regexp.
2267
4330d61d
TT
22682019-05-29 Tom Tromey <tromey@adacore.com>
2269
2270 PR c++/20020:
2271 * gdb.cp/constexpr-field.exp: New file.
2272 * gdb.cp/constexpr-field.cc: New file.
2273
000439d5
TT
22742019-05-29 Tom Tromey <tromey@adacore.com>
2275
2276 * gdb.base/finish.exp (finish_no_print): New proc.
2277 (finish_tests): Call it.
2278
5a01c34c
TV
22792019-05-24 Tom de Vries <tdevries@suse.de>
2280
2281 * gdb.dwarf2/gdb-add-index.exp: New file.
2282
18125b16
TT
22832019-05-22 Tom Tromey <tromey@adacore.com>
2284
2285 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2286 * gdb.base/style.exp: Use "style".
2287 * lib/gdb-utils.exp (style): New proc.
2288
af1a8d03
TV
22892019-05-22 Tom de Vries <tdevries@suse.de>
2290
2291 * gdb.base/align.exp: Require c++11.
2292
e7fe496b
TV
22932019-05-22 Tom de Vries <tdevries@suse.de>
2294
2295 PR testsuite/24586
2296 * gdb.python/py-mi-var-info-path-expression.exp: Call
2297 mi_skip_python_tests to check if python is supported.
2298
8fca4da0
AH
22992019-05-22 Alan Hayward <alan.hayward@arm.com>
2300
2301 * gdb.arch/aarch64-pauth.c: New test.
2302 * gdb.arch/aarch64-pauth.exp: New file.
2303
b7060614
AH
23042019-05-22 Alan Hayward <alan.hayward@arm.com>
2305
2306 * README (Re-running Tests Outside The Testsuite): New section.
2307
669d0468
TV
23082019-05-21 Tom de Vries <tdevries@suse.de>
2309
2310 * gdb.arch/amd64-eval.exp: Require c++11.
2311 * gdb.base/max-depth.exp: Same.
2312 * gdb.compile/compile-cplus-array-decay.exp: Same.
2313 * gdb.cp/meth-typedefs.exp: Same.
2314 * gdb.cp/subtypes.exp: Same.
2315 * gdb.cp/temargs.exp: Same.
2316
ce3ebcaa
AH
23172019-05-21 Alan Hayward <alan.hayward@arm.com>
2318
2319 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2320
34d11c68
AB
23212019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2322
2323 PR gdb/18644
2324 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2325 * gdb.fortran/printing-types.exp: Add new test.
2326 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2327 testing.
2328 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2329 setup_kfail call.
2330
87781e84
AH
23312019-05-17 Alan Hayward <alan.hayward@arm.com>
2332
2333 * README (Running the Testsuite): Change example.
2334 (Testsuite Parameters): Remove TRANSCRIPT.
2335 * lib/gdb.exp: Remove TRANSCRIPT check.
2336
b420b89e
AH
23372019-05-17 Alan Hayward <alan.hayward@arm.com>
2338
2339 * README (Testsuite Parameters): Add replay logging to
2340 GDBSERVER_DEBUG.
2341 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2342 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2343 as a comma separated list.
2344 (gdb_debug_init): Override procedure.
2345
408e9b8b
AH
23462019-05-17 Alan Hayward <alan.hayward@arm.com>
2347
2348 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2349 (gdb_write_cmd_file): New procedure.
2350 * lib/gdbserver-support.exp (gdbserver_start): Call
2351 gdbserver_write_cmd_file.
2352 (gdbserver_write_cmd_file): New procedure.
2353
f9e2e39d
AH
23542019-05-17 Alan Hayward <alan.hayward@arm.com>
2355
2356 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2357 (delete_breakpoints): Likewise.
2358 (gdb_run_cmd): Likewise.
2359 (gdb_start_cmd): Likewise.
2360 (gdb_starti_cmd): Likewise.
2361 (gdb_internal_error_resync): Likewise.
2362 (gdb_test_multiple): Likewise.
2363 (gdb_reinitialize_dir): Likewise.
2364 (default_gdb_exit): Likewise.
2365 (gdb_file_cmd): Mark kill as optional.
2366 (default_gdb_start): Call gdb_stdin_log_init.
2367 (send_gdb): Call gdb_stdin_log_write.
2368 (rerun_to_main): Mark Y as an answer.
2369 (gdb_stdin_log_init): New function.
2370 (gdb_stdin_log_write): Likewise.
2371
81f47ac2
AH
23722019-05-17 Alan Hayward <alan.hayward@arm.com>
2373
2374 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2375 * gdb.base/debug-expr.exp: Likewise.
2376 * gdb.base/foll-fork.exp: Likewise.
2377 * gdb.base/foll-vfork.exp: Likewise.
2378 * gdb.base/fork-print-inferior-events.exp: Likewise.
2379 * gdb.base/gdb-sigterm.exp: Likewise.
2380 * gdb.base/gdbinit-history.exp: Likewise.
2381 * gdb.base/osabi.exp: Likewise.
2382 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2383 * gdb.base/ui-redirect.exp: Likewise.
2384 * gdb.gdb/unittest.exp: Likewise.
2385 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2386 * gdb.mi/mi-watch.exp: Likewise.
2387 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2388 * gdb.mi/user-selected-context-sync.exp: Likewise.
2389 * gdb.python/python.exp: Disable debug test when debugging.
2390 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2391 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2392 Likewise.
2393 * gdb.threads/stepi-random-signal.exp: Likewise.
2394
29b52314
AH
23952019-05-17 Alan Hayward <alan.hayward@arm.com>
2396
2397 * Makefile.in: Pass through GDB_DEBUG.
2398 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2399 (gdb,debug): Add board setting.
2400 * lib/gdb.exp (default_gdb_start): Start debugging.
2401 (gdb_debug_enabled): New procedure.
2402 (gdb_debug_init): Likewise.
29b52314
AH
2403
24042019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 2405
29b52314
AH
2406 * Makefile.in: Pass through GDB_DEBUG.
2407 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2408 (gdb,debug): Add board setting.
2409 * lib/gdb.exp (default_gdb_start): Start debugging.
2410 (gdb_debug_enabled): New procedure.
2411 (gdb_debug_init): Likewise.
29b52314 2412
ca1285d1
AH
24132019-05-17 Alan Hayward <alan.hayward@arm.com>
2414
2415 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2416
f3a09c80
AH
24172019-05-17 Alan Hayward <alan.hayward@arm.com>
2418
2419 * gdb.base/ui-redirect.exp: Test redirection.
2420
26648588
JV
24212019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2422
2423 * gdb.mi/mi-complete.exp: New file.
2424 * gdb.mi/mi-complete.cc: Likewise.
2425
14237686
AB
24262019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2427
2428 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2429 indexed and sliced arrays, and pointers to arrays.
2430
e7bd7fba
TT
24312019-05-14 Tom Tromey <tromey@adacore.com>
2432
2433 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2434 styling test.
2435
2764128d
TV
24362019-05-14 Tom de Vries <tdevries@suse.de>
2437
2438 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2439 selection entry encoding.
2440
71bed2db
TT
24412019-05-10 Tom Tromey <tromey@adacore.com>
2442
2443 * gdb.ada/info_exc.exp: Add "complete" test.
2444
63b667ad
TV
24452019-05-09 Tom de Vries <tdevries@suse.de>
2446
2447 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2448 CU-relative.
2449
9cfd2b89
TV
24502019-05-09 Tom de Vries <tdevries@suse.de>
2451
2452 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2453 CU-relative.
2454
2228ef77
XR
24552019-05-08 Joel Brobecker <brobecker@adacore.com>
2456
2457 * gdb.ada/frame_arg_lang.exp: New testcase.
2458 * gdb.ada/frame_arg_lang/bla.adb: New file.
2459 * gdb.ada/frame_arg_lang/pck.ads: New file.
2460 * gdb.ada/frame_arg_lang/pck.adb: New file.
2461 * gdb.ada/frame_arg_lang/foo.c: New file.
2462
80e55b13
TT
24632019-05-08 Tom Tromey <tromey@adacore.com>
2464
2465 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2466
9d3421af
TT
24672019-05-08 Tom Tromey <tromey@adacore.com>
2468
2469 * gdb.base/ptype-offsets.exp: Update tests.
2470
844333e2
TT
24712019-05-08 Tom Tromey <tromey@adacore.com>
2472
2473 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2474 cases.
2475 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2476 "short".
2477
988915ee
TT
24782019-05-08 Tom Tromey <tromey@adacore.com>
2479
2480 * gdb.ada/vla.exp: New file.
2481 * gdb.ada/vla/vla.adb: New file.
2482
7bd55dac
TV
24832019-05-07 Tom de Vries <tdevries@suse.de>
2484
2485 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2486
75f06e9d
TV
24872019-05-07 Tom de Vries <tdevries@suse.de>
2488
2489 PR testsuite/24522
2490 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2491 section.
2492
77e7aaa4
TV
24932019-05-07 Tom de Vries <tdevries@suse.de>
2494
2495 PR testsuite/24522
2496 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2497 .debug_aranges section.
2498
456ba0fa
TV
24992019-05-07 Tom de Vries <tdevries@suse.de>
2500
2501 PR testsuite/24159
2502 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2503
5a56d6a6
TV
25042019-05-06 Tom de Vries <tdevries@suse.de>
2505
2506 * lib/gdb.exp (exec_has_index_section): New proc.
2507 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2508 section.
2509
9d6d4be8
TV
25102019-05-04 Tom de Vries <tdevries@suse.de>
2511
2512 * boards/cc-with-debug-names.exp: New file.
2513
222a8d25
TT
25142019-05-03 Tom Tromey <tromey@adacore.com>
2515
2516 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2517 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2518 * gdb.ada/char_enum.exp: Add test.
2519
0fdfd794
TV
25202019-05-03 Tom de Vries <tdevries@suse.de>
2521
2522 * boards/cc-with-gdb-index.exp: New file.
2523
80062eb9
AB
25242019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2525
2526 * gdb.rust/simple.exp: Add new test case.
2527 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2528 (main): Initialise an instance of the new struct.
2529
4504bbde
TT
25302019-05-01 Tom Tromey <tromey@adacore.com>
2531
2532 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2533 record.
2534 (NPR): New variable.
2535 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2536 test.
2537
d48e62f4
TT
25382019-05-01 Tom Tromey <tromey@adacore.com>
2539
2540 * gdb.ada/packed_array_assign.exp: Add packed assignment
2541 regression test.
2542
f59f30f5
TV
25432019-05-01 Tom de Vries <tdevries@suse.de>
2544
2545 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2546
b70bfc54
TV
25472019-05-01 Tom de Vries <tdevries@suse.de>
2548
2549 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2550
15f18d14
AT
25512019-04-30 Ali Tamur <tamur@google.com>
2552
2553 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2554
2ff0a947
TT
25552019-04-30 Tom Tromey <tromey@adacore.com>
2556
2557 * lib/ada.exp (find_ada_tool): New proc.
2558 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2559 * gdb.ada/catch_ex_std.exp: New file.
2560 * gdb.ada/catch_ex_std/foo.adb: New file.
2561 * gdb.ada/catch_ex_std/some_package.adb: New file.
2562 * gdb.ada/catch_ex_std/some_package.ads: New file.
2563
a776957c
TT
25642019-04-30 Tom Tromey <tromey@adacore.com>
2565
2566 PR c++/24470:
2567 * gdb.cp/temargs.cc: Add test code from PR.
2568
bc68014d
AB
25692019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2570
2571 * gdb.fortran/vla-datatypes.exp: Update expected results.
2572 * gdb.fortran/vla-ptype.exp: Likewise.
2573 * gdb.fortran/vla-type.exp: Likewise.
2574 * gdb.fortran/vla-value.exp: Likewise.
2575
f1fdc960
AB
25762019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2577
2578 * gdb.fortran/ptr-indentation.exp: Update expected results.
2579 * gdb.fortran/ptype-on-functions.exp: Likewise.
2580 * gdb.fortran/vla-ptr-info.exp: Likewise.
2581 * gdb.fortran/vla-value.exp: Likewise.
2582
bf7a4de1
AB
25832019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2584
2585 * gdb.fortran/ptype-on-functions.exp: New file.
2586 * gdb.fortran/ptype-on-functions.f90: New file.
2587
bbe75b9d
AB
25882019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2589
2590 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2591 case void string.
2592
1db455a7
AB
25932019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2594
2595 * gdb.fortran/complex.exp: Expand.
2596 * gdb.fortran/complex.f: Renamed to...
2597 * gdb.fortran/complex.f90: ...this, and extended to add more
2598 complex values.
2599
b6d03bb2
AB
26002019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2601
2602 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2603 MODULO, CMPLX.
2604
2e62ab40
AB
26052019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2606 Richard Bunt <richard.bunt@arm.com>
2607
2608 * gdb.base/max-depth.c: New file.
2609 * gdb.base/max-depth.exp: New file.
2610 * gdb.python/py-nested-maps.c: New file.
2611 * gdb.python/py-nested-maps.exp: New file.
2612 * gdb.python/py-nested-maps.py: New file.
2613 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2614 (test_all_common): Call test_max_depth.
2615 * gdb.fortran/max-depth.exp: New file.
2616 * gdb.fortran/max-depth.f90: New file.
2617 * gdb.go/max-depth.exp: New file.
2618 * gdb.go/max-depth.go: New file.
2619 * gdb.modula2/max-depth.exp: New file.
2620 * gdb.modula2/max-depth.c: New file.
2621 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2622
d2b584a5
TV
26232019-04-29 Tom de Vries <tdevries@suse.de>
2624
2625 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2626
136afab8
PW
26272019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2628
2629 * gdb.base/callexit.exp: Test may-call-functions off.
2630
725cbb63
KS
26312019-04-25 Keith Seitz <keiths@redhat.com>
2632
2633 PR c++/24367
2634 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2635 (another_incomplete_struct, test_incomplete): New definitions.
2636 (main): Use new definitions.
2637 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2638 functions.
2639
701adfb0
PA
26402019-04-25 Ali Tamur <tamur@google.com>
2641
2642 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
2643
82433e3e
SDJ
26442019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2645
2646 PR corefiles/11608
2647 PR corefiles/18187
2648 * gdb.base/coredump-filter-build-id.exp: New file.
2649
dd06d4d6
AH
26502019-04-25 Alan Hayward <alan.hayward@arm.com>
2651
e79be6e5
SM
2652 * Makefile.in: Pass through GDBSERVER_DEBUG.
2653 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2654 (gdbserver,debug): Add board setting.
2655 * gdb.trace/tspeed.exp: Skip when debugging.
2656 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2657 * lib/gdbserver-support.exp: Likewise
dd06d4d6 2658
1670072e
TT
26592019-04-24 Tom Tromey <tromey@adacore.com>
2660
2661 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2662 Rust.
2663
a59240a4
TT
26642019-04-24 Tom Tromey <tromey@adacore.com>
2665
2666 * gdb.arch/amd64-eval.exp: Test bitfield return.
2667 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2668 (class Foo) <return_bitfields>: New method.
2669 (main): Call it.
2670
b907456c
AB
26712019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2672
2673 * gdb.cp/many-args.cc: New file.
2674 * gdb.cp/many-args.exp: New file.
2675
5c565afd
TV
26762019-04-23 Tom de Vries <tdevries@suse.de>
2677
2678 PR gdb/24433
2679 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2680
ba22ff86
AH
26812019-04-23 Alan Hayward <alan.hayward@arm.com>
2682
2683 * gdb.trace/backtrace.exp: Use nopie flag.
2684 * gdb.trace/circ.exp: Likewise.
2685 * gdb.trace/collection.exp: Likewise.
2686 * gdb.trace/ftrace.exp: Likewise.
2687 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2688 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2689 * gdb.trace/qtro.exp: Likewise.
2690 * gdb.trace/read-memory.exp: Likewise.
2691 * gdb.trace/report.exp: Likewise.
2692 * gdb.trace/tfile.exp: Likewise.
2693 * gdb.trace/tfind.exp: Likewise.
2694 * gdb.trace/unavailable.exp: Likewise.
2695
7905fc35
PA
26962019-04-22 Pedro Alves <palves@redhat.com>
2697
2698 * gdb.base/solib-probes-nosharedlibrary.c,
2699 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2700
8ecb59f8
TT
27012019-04-19 Tom Tromey <tromey@adacore.com>
2702
2703 * gdb.ada/ptype_union.c: New file.
2704 * gdb.ada/ptype_union.exp: New file.
2705
62160ec9
TT
27062019-04-19 Tom Tromey <tromey@adacore.com>
2707
2708 PR symtab/24423:
2709 * gdb.base/list0.h (foo): Add a control-l character.
2710
36cd4ba5
TV
27112019-04-18 Tom de Vries <tdevries@suse.de>
2712
2713 PR gdb/24433
2714 * boards/local-board.exp: Set sysroot to "".
2715
b73715df
TV
27162019-04-18 Tom de Vries <tdevries@suse.de>
2717 Pedro Alves <palves@redhat.com>
2718
2719 PR gdb/24454
2720 * gdb.threads/vfork-follow-child-exec.c: New file.
2721 * gdb.threads/vfork-follow-child-exec.exp: New file.
2722 * gdb.threads/vfork-follow-child-exit.c: New file.
2723 * gdb.threads/vfork-follow-child-exit.exp: New file.
2724
4aa866af
LS
27252019-04-15 Leszek Swirski <leszeks@google.com>
2726
2727 * gdb.arch/amd64-eval.cc: New file.
2728 * gdb.arch/amd64-eval.exp: New file.
2729
e5a1a79a
AH
27302019-04-11 Alan Hayward <alan.hayward@arm.com>
2731
2732 * gdb.server/sysroot.c: New test.
2733 * gdb.server/sysroot.exp: New file.
2734 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2735 matching param.
2736
41077b66
AB
27372019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2738
2739 * gdb.base/align.exp: Extend test to cover structures containing
2740 only static fields.
2741
c30391f8
TV
27422019-04-11 Tom de Vries <tdevries@suse.de>
2743
2744 * boards/cc-with-dwz-m.exp: New file.
2745 * boards/cc-with-dwz.exp: New file.
2746 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2747
e242fd12
SM
27482019-04-09 Simon Marchi <simon.marchi@efficios.com>
2749
2750 * gdb.base/start-cpp.exp: New file.
2751 * gdb.base/start-cpp.cc: New file.
2752
2b0c8b01
KB
27532019-04-08 Kevin Buettner <kevinb@redhat.com>
2754
2755 * gdb.python/py-thrhandle.exp: Adjust tests to call
2756 thread_from_handle instead of thread_from_thread_handle.
2757
947210e5
KB
27582019-04-08 Kevin Buettner <kevinb@redhat.com>
2759
2760 * gdb.python/py-thrhandle.exp: Add tests for
2761 gdb.InferiorThread.handle.
2762
d7df6549
AB
27632019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2764
2765 * gdb.python/py-function.exp: Check calling helper function from
2766 all languages.
2767 * lib/gdb.exp (gdb_supported_languages): New proc.
2768
8bdc1658
AB
27692019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2770
2771 * gdb.base/complex-parts.c: New file.
2772 * gdb.base/complex-parts.exp: New file.
2773
05caa1d2
TT
27742019-04-01 Tom Tromey <tromey@adacore.com>
2775
2776 PR symtab/23331:
2777 * gdb.dwarf2/dw2-ranges-main.c: New file.
2778 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2779 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2780
7734102d
EZ
27812019-03-30 Simon Marchi <simark@simark.ca>
2782
2783 * gdb.base/default.exp: Add values for $_gdb_major and
2784 $_gdb_minor.
2785
188e1fa9
TT
27862019-03-29 Tom Tromey <tromey@adacore.com>
2787
2788 * gdb.base/help.exp: Tighten apropos regexp.
2789
2880242d
KS
27902019-03-29 Keith Seitz <keiths@redhat.com>
2791
2792 * gdb.fortran/array-bounds.exp: New file.
2793 * gdb.fortran/array-bounds.f90: New file.
2794
077cad8e
PW
27952019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2796
2797 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2798
80047cfc
PW
27992019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2800
2801 * gdb.multi/hello.c (main): Increase alarm timer.
2802
f489207e
SL
28032019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2804
2805 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2806 factor when no hardware watchpoint support.
2807
c92df149
AH
28082019-03-28 Alan Hayward <alan.hayward@arm.com>
2809 Pedro Alves <palves@redhat.com>
2810
2811 * boards/local-board.exp: set sysroot to /.
2812
933aebfa
AH
28132019-03-27 Alan Hayward <alan.hayward@arm.com>
2814
2815 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2816 in child.
2817
9f9aa852
AB
28182019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2819
2820 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2821 field.
2822 (make_container): Initialise new field.
2823 * gdb.python/py-prettyprint.exp: Add new tests.
2824 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2825 <display_hint>: New method.
2826
3714a195
AB
28272019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2828
2829 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2830 gdb_continue_to_breakpoint more throughout this test.
2831 (run_lang_tests) Supply unique test names, and use
2832 gdb_test_no_output.
2833
18c77628
AB
28342019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2835
2836 * gdb.base/finish-pretty.exp: Update expected results.
2837 * gdb.base/pretty-print.c: New file.
2838 * gdb.base/pretty-print.exp: New file.
2839
9a93502f
PA
28402019-03-25 Pedro Alves <palves@redhat.com>
2841
2842 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2843 move comments outside list. Append '-i "" eof' section.
2844
968aa7ae
AH
28452019-03-22 Alan Hayward <alan.hayward@arm.com>
2846
34a7f2a4 2847 PR testsuite/25016
968aa7ae
AH
2848 * README: Add pie options.
2849 * gdb.base/break-interp.exp: Ensure pie is disabled.
2850 * gdb.base/dump.exp: Likewise.
2851 * lib/gdb.exp (gdb_compile): Add pie option.
2852
4c7d57e7
TT
28532019-03-19 Tom Tromey <tromey@adacore.com>
2854
2855 * gdb.mi/mi2-cli-display.c: New file.
2856 * gdb.mi/mi2-cli-display.exp: New file.
2857
bff8c71f
TT
28582019-03-18 Joel Brobecker <brobecker@adacore.com>
2859 Tom Tromey <tromey@adacore.com>
2860
2861 * gdb.ada/ptype_array/pck.adb: New file.
2862 * gdb.ada/ptype_array/pck.ads: New file.
2863 * gdb.ada/ptype_array/foo.adb: New file.
2864 * gdb.ada/ptype_array.exp: New file.
2865
d085f989
TT
28662019-03-14 Tom Tromey <tromey@adacore.com>
2867
2868 * gdb.base/style.exp: Add "set style sources" test.
2869
b4be1b06
SM
28702019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2871
2872 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2873 * mi-breakpoint-multiple-locations.exp: ... this.
2874 (make_breakpoints_pattern): New proc.
2875 (do_test): Add mi_version parameter, test -break-insert,
2876 -break-info and =breakpoint-created.
2877
7cde5fc2
AB
28782019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2879
2880 * config/default.exp: Remove 'load_lib gdb.exp'.
2881 * config/monitor.exp: Likewise.
2882 * config/sid.exp: Likewise.
2883 * config/sim.exp: Likewise.
2884 * config/slite.exp: Likewise.
2885 * config/unix.exp: Likewise.
2886 * gdb.base/default.exp: Remove unhelpful comment.
2887
efbecbc1
AB
28882019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2889
2890 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2891
0841c79a
AB
28922019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2893
2894 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2895
4a270568
AB
28962019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2897
2898 * gdb.fortran/type-kinds.exp: Update expected results.
2899
067630bd
AB
29002019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2901
2902 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2903
3be47f7a
AB
29042019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2905
2906 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2907 function.
2908 (test_basic_parsing_of_type_kinds): Expand types tested.
2909 (test_parsing_invalid_type_kinds): New function.
2910
4d00f5d8
AB
29112019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2912
2913 * gdb.fortran/intrinsics.exp: New file.
2914 * gdb.fortran/intrinsics.f90: New file.
2915 * gdb.fortran/type-kinds.exp: New file.
2916
c8f91604
AB
29172019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2918
2919 * gdb.fortran/dot-ops.exp: New file.
2920
dd9f2c76
AB
29212019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2922
2923 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2924 Check upper and lower case logical literals.
2925
84ec9724
AB
29262019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2927
2928 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2929 Remove duplicate tests.
2930
c3734e09
AH
29312019-03-06 Alan Hayward <alan.hayward@arm.com>
2932
2933 * lib/gdb.exp (builtin_cd): rename of cd.
2934 (cd): Override builtin.
2935
aa3cfbda
RB
29362019-03-06 Richard Bunt <richard.bunt@arm.com>
2937
2938 * gdb.fortran/function-calls.exp: New file.
2939 * gdb.fortran/function-calls.f90: New test.
2940
7b63ad86
RB
29412019-03-04 Richard Bunt <richard.bunt@arm.com>
2942
2943 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2944 on user program standard output.
2945 * gdb.fortran/short-circuit-argument-list.f90: Record function
2946 calls.
2947
01abb042
AH
29482019-02-28 Alan Hayward <alan.hayward@arm.com>
2949
c3734e09
AH
2950 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2951 failure.
01abb042 2952
92137da0
RO
29532019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2954
2955 PR gdb/8527
2956 * gdb.base/interrupt-daemon-attach.c,
2957 gdb.base/interrupt-daemon-attach.exp: New test.
2958
5862844d
PA
29592019-02-27 Pedro Alves <palves@redhat.com>
2960
2961 * gdb.base/page.exp: Add tests for "set width/height -1".
2962
8ed25214
PA
29632019-02-27 Pedro Alves <palves@redhat.com>
2964
2965 * gdb.base/page.exp: Add tests for "set/show width/height" with
2966 "infinite" values.
2967
6c28e44a
TT
29682019-02-27 Tom Tromey <tromey@adacore.com>
2969
2970 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2971 2.4.
2972 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2973 workaround.
2974
bf9a735e
AB
29752019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2976
2977 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2978 tests for structs with static members.
2979
8791793c
TT
29802019-02-26 Tom Tromey <tromey@adacore.com>
2981
2982 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2983 ValueError, not TypeError.
2984
bc2a507e
KB
29852019-02-26 Kevin Buettner <kevinb@redhat.com>
2986
2987 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2988 call from main program.
2989
e0e7d3bd
JB
29902019-02-23 Joel Brobecker <brobecker@adacore.com>
2991
2992 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2993 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2994 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2995 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2996 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2997
9600246d
KS
29982019-02-22 Keith Seitz <keiths@redhat.com>
2999
3000 PR symtab/23853
3001 * gdb.base/symlink-sourcefile.c: New file.
3002 * gdb.base/symlink-sourcefile.exp: New file.
3003
0c95f9ed
TT
30042019-02-20 Tom Tromey <tom@tromey.com>
3005
3006 * gdb.base/info_qt.exp: Update.
3007
6caa91b6
SM
30082019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3009
3010 * gdb.base/source.exp: Move "error in sourced script" code to
3011 the end.
3012 * gdb.base/source-error.gdb: Move contents to
3013 source-error-1.gdb. Add new code to source source-error-1.gdb.
3014 * gdb.base/source-error-1.gdb: New file, from previous
3015 source-error.gdb.
3016
6506371f
TT
30172019-02-17 Tom Tromey <tom@tromey.com>
3018
3019 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3020 for macro styling.
3021 * gdb.base/style.c (SOME_MACRO): New macro.
3022
a0087920
TT
30232019-02-17 Tom Tromey <tom@tromey.com>
3024
3025 * gdb.base/style.exp: Add line-wrapping tests.
3026 * gdb.base/page.exp: Add test for quitting during pagination.
3027
a2cd4f14
JB
30282019-02-17 Joel Brobecker <brobecker@adacore.com>
3029
3030 * gdb.ada/big_packed_array: New testcase.
3031 * gdb.ada/homonym.exp: Fix incorrect expected output for
3032 "break <homonym__get_value>" test.
3033
9d70ffbc
WP
30342019-02-13 Weimin Pan <weimin.pan@oracle.com>
3035
3036 PR breakpoints/21870
3037 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3038 and prepare_for_testing. Add comment.
3039 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3040 redundant cleanup call. Clean up comment.
3041
01c7ae81
WP
30422019-02-12 Weimin Pan <weimin.pan@oracle.com>
3043
3044 PR breakpoints/21870
3045 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3046 * gdb.arch/aarch64-dbreg-contents.c: New file.
3047
aff29d1c
JB
30482019-02-10 Joel Brobecker <brobecker@adacore.com>
3049
3050 * gdb.ada/mi_ref_changeable: New testcase.
3051
df0da8a2
AH
30522019-02-07 Alan Hayward <alan.hayward@arm.com>
3053
3054 * gdb.base/attach.exp: Add double attach test.
3055
bd447abb
SM
30562019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3057
3058 * lib/gdb.exp (default_gdb_start): Don't match pagination
3059 prompt.
3060 (gdb_init): Set stty_init.
3061
1dbc40b9
TT
30622019-01-27 Tom Tromey <tom@tromey.com>
3063
3064 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3065 skip_python_tests.
3066
353229bf
AH
30672019-01-24 Alan Hayward <alan.hayward@arm.com>
3068
3069 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3070 New structure.
3071 (struct struct_static_02_02): Likewise.
3072 (struct struct_static_02_03): Likewise.
3073 (struct struct_static_02_04): Likewise.
3074 (struct struct_static_04_01): Likewise.
3075 (struct struct_static_04_02): Likewise.
3076 (struct struct_static_04_03): Likewise.
3077 (struct struct_static_04_04): Likewise.
3078 (struct struct_static_06_01): Likewise.
3079 (struct struct_static_06_02): Likewise.
3080 (struct struct_static_06_03): Likewise.
3081 (struct struct_static_06_04): Likewise.
3082 (cmp_struct_static_02_01): Likewise.
3083 (cmp_struct_static_02_02): Likewise.
3084 (cmp_struct_static_02_03): Likewise.
3085 (cmp_struct_static_02_04): Likewise.
3086 (cmp_struct_static_04_01): Likewise.
3087 (cmp_struct_static_04_02): Likewise.
3088 (cmp_struct_static_04_03): Likewise.
3089 (cmp_struct_static_04_04): Likewise.
3090 (cmp_struct_static_06_01): Likewise.
3091 (cmp_struct_static_06_02): Likewise.
3092 (cmp_struct_static_06_03): Likewise.
3093 (cmp_struct_static_06_04): Likewise.
3094 (call_all): Test new structs.
3095 * gdb.base/infcall-nested-structs.exp: Likewise.
3096
73021deb
AH
30972019-01-21 Alan Hayward <alan.hayward@arm.com>
3098 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3099
fc65c7db
AH
31002019-01-21 Alan Hayward <alan.hayward@arm.com>
3101 * gdb.base/stack-protector.c: New test.
3102 * gdb.base/stack-protector.exp: New file.
3103 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3104 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3105 option.
3106 (gdb_compile): Remove stack protector for GCC and prevent
3107 recursion.
3108
c24bdb02
KS
31092019-01-16 Keith Seitz <keiths@redhat.com>
3110
3111 PR gdb/23773
3112 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3113
6f072a10
PFC
31142019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3115
3116 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3117 aliases.
3118 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3119 tests.
3120 * gdb.arch/powerpc-vector-regs.c: New file.
3121 * gdb.arch/powerpc-vector-regs.exp: New file.
3122
a7b8d682
PFC
31232019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3124
3125 * gdb.arch/altivec-regs.exp: Fix the list passed to
3126 gdb_expect_list when testing "info vector".
3127
6eb6fb67
AB
31282019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3129
3130 * gdb.base/style.exp: Don't include path in testname.
3131
b56f80d8
KS
31322019-01-10 Keith Seitz <keiths@redhat.com>
3133
3134 PR gdb/23712
3135 PR symtab/23010
3136 * gdb.dwarf2/multidictionary.exp: New file.
3137
041be526
SM
31382019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3139
3140 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3141 (test_gnuv3_style_demangling): ... this.
3142 (test_lucid_style_demangling): Remove.
3143 (test_arm_style_demangling): Remove.
3144 (test_hp_style_demangling): Remove.
3145 (do_tests): Remove calls to the above.
3146
d820d0c3
AB
31472019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3148
3149 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3150 case.
3151
f097f5ad
TT
31522019-01-06 Tom Tromey <tom@tromey.com>
3153
3154 PR gdb/28155:
3155 * gdb.dwarf2/typedef-void-finish.exp: New file.
3156
2cd8cc0b
TT
31572018-12-28 Tom Tromey <tom@tromey.com>
3158 Simon Marchi <simark@simark.ca>
3159
3160 * gdb.base/jit-exec.exp: New file.
3161 * gdb.base/jit-exec.c: New file.
3162 * gdb.base/jit-execd.c: New file.
3163
35fb8261
TT
31642018-12-28 Tom Tromey <tom@tromey.com>
3165
3166 * gdb.base/style.exp: Update test to check for address styling.
3167
47fd17cd
TT
31682018-12-28 Tom Tromey <tom@tromey.com>
3169
3170 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3171 message.
3172
d47032b7
TT
31732018-12-28 Tom Tromey <tom@tromey.com>
3174
3175 * gdb.base/style.exp: Add test for version number styling.
3176
af79b68d
TT
31772018-12-28 Tom Tromey <tom@tromey.com>
3178
3179 * gdb.base/style.exp: Add test for print_address_symbolic.
3180
0bb296cb
TT
31812018-12-28 Tom Tromey <tom@tromey.com>
3182
3183 * gdb.base/style.exp: Add test for breakpoint setting.
3184
80ae2043
TT
31852018-12-28 Tom Tromey <tom@tromey.com>
3186
3187 * gdb.base/style.exp: Add test for variable names.
3188
cbe56571
TT
31892018-12-28 Tom Tromey <tom@tromey.com>
3190
3191 * gdb.base/style.exp: New file.
3192 * gdb.base/style.c: New file.
3193
9162a27c
TT
31942018-12-28 Tom Tromey <tom@tromey.com>
3195
3196 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3197 "dumb".
3198 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3199 the TERM environment variable.
3200
bc543c90
TT
32012018-12-27 Tom Tromey <tom@tromey.com>
3202
3203 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3204 pagination test.
3205
6f0ffe50
AB
32062018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3207
3208 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3209 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3210
b5a1e557
PW
32112018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3212
3213 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3214 Filename a.adb changed to bp_fun_addr.adb.
3215 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3216
6e8b1ab2
JV
32172018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3218
3219 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3220 non-PIE executables.
3221 * README: Mention the gdb,nopie_flag board setting.
3222 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3223 non-PIE executable.
3224 * gdb.arch/amd64-entry-value.exp: Likewise.
3225 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3226 * gdb.arch/i386-float.exp: Likewise.
3227 * gdb.arch/i386-signal.exp: Likewise.
3228 * gdb.mi/mi-reg-undefined.exp: Likewise.
3229
d00a27c5
PM
32302018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3231
3232 PR gdb/23974
3233 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3234
161d081c
PW
32352018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3236
3237 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3238 Update order of results accordingly.
3239
b001de23
AB
32402018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3241
3242 * gdb.base/annota1.exp: Update a test regexp.
3243
99e1a184
AB
32442018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3245
3246 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3247
7a81c1e2
PW
32482018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3249
3250 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3251 (reuse_time): Initialize to REUSE_TIME_CAP.
3252 (check_rc): New function.
3253 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3254 Check pthread_create rc.
3255 (spawner_thread_func): Check pthread_create and pthread_join rc.
3256
73e8dc90
PA
32572018-12-08 Pedro Alves <palves@redhat.com>
3258
3259 * gdb.base/list.exp (test_forward_search): Rename to ...
3260 (test_forward_reverse_search): ... this. Also test reverse-search
3261 and the forward-search alias.
3262
13f2ed32
AB
32632018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3264
3265 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3266 local timeout variable before return, and remove all local timeout
3267 variable entirely.
3268 (gdb_load): Likewise.
3269
64d27cfc
TV
32702018-12-01 Tom de Vries <tdevries@suse.de>
3271
3272 * gdb.base/gdb-caching-proc.exp: New file.
3273
f63c03b4
SDJ
32742018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3275
3276 * Makefile.in (TIMESTAMP): New variable.
3277 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3278 command.
3279 (check-single-racy): Likewise.
3280 (check/%.exp): Likewise.
3281 (check-racy/%.exp): Likewise.
3282 (workers/%.worker): Likewise.
3283 (build-perf): Likewise.
3284 (check-perf): Likewise.
3285 * README: Describe new "TS" and "TS_FORMAT" variables.
3286 * print-ts.py: New file.
3287
1c97054b
BF
32882018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3289
3290 PR python/23714
3291 * gdb.python/python.exp: Test command repetition after
3292 gdb.execute.
3293
1871a62d
AB
32942018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3295
3296 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3297 is correctly aligned.
3298
fb5e1ed9
PW
32992018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3300
3301 * gdb.ada/info_auto_lang.exp: New testcase.
3302 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3303 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3304 * gdb.ada/info_auto_lang/some_c.c: New file.
3305
43d397ca
PW
33062018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3307
3308 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3309 FUNC_lang language syntax.
3310
beddd671
PW
33112018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3312
3313 * gdb.base/info_minsym.c: New file.
3314 * gdb.base/info_minsym.exp: New file.
3315
73fc52c4
TT
33162018-11-19 Tom Tromey <tom@tromey.com>
3317
3318 PR rust/23625:
3319 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3320 * gdb.rust/expr.exp: Update expected output. Change one test.
3321
994b876a
TT
33222018-11-19 Tom Tromey <tom@tromey.com>
3323
3324 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3325
6769f276
PA
33262018-11-19 Pedro Alves <palves@redhat.com>
3327
3328 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3329 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3330 see the expected warning.
3331
38a72da0
AH
33322018-11-16 Alan Hayward <alan.hayward@arm.com>
3333
3334 PR gdb/22736:
3335 * gdb.cp/infcall-nodebug-lib.c: New test.
3336 * gdb.cp/infcall-nodebug-main.c: New test.
3337 * gdb.cp/infcall-nodebug.exp: New file.
3338
53a89d6e
SM
33392018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3340
3341 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3342 completer tests.
3343
9325300d
TV
33442018-11-09 Tom de Vries <tdevries@suse.de>
3345
3346 * gdb.base/msym-lang.c: New test.
3347 * gdb.base/msym-lang.exp: New file.
3348 * gdb.base/msym-lang-main.c: New test.
3349
20f0d60d
TT
33502018-11-08 Tom Tromey <tom@tromey.com>
3351
3352 PR gdb/23555:
3353 PR gdb/23838:
3354 * gdb.base/warning.exp: New file.
3355
b5420128
JB
33562018-11-08 Jan Beulich <jbeulich@suse.com>
3357
3358 * testsuite/gdb.arch/i386-avx512.c,
3359 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3360
cd115d61
AB
33612018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3362
3363 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3364 point hardware.
3365
35ee2dc2
AB
33662018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3367
3368 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3369 * gdb.dwarf2/missing-type-name.exp: New file.
3370
31aceee8
TV
33712018-11-06 Tom de Vries <tdevries@suse.de>
3372
3373 * gdb.base/many-headers.c: New test.
3374 * gdb.base/many-headers.exp: New file.
3375
109be305
JW
33762018-11-06 Jim Wilson <jimw@sifive.com>
3377
3378 * gdb.base/code_elim.exp: For riscv, set additional_flags
3379 to include -msmall-data-limit=0.
3380
e2b7af72
JB
33812018-11-01 Joel Brobecker <brobecker@adacore.com>
3382
3383 * gdb.ada/watch_minus_l: New testcase.
3384
cdcda965
SM
33852018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3386
3387 * gdb.arch/aix-sighandle.c: New file.
3388 * gdb.arch/aix-sighandle.exp: New file.
3389
92dcebf3
AB
33902018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3391
3392 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3393 registers being unions.
3394
68b9ac18
TV
33952018-10-31 Tom de Vries <tdevries@suse.de>
3396
3397 * lib/valgrind.exp: New file.
3398 (vgdb_start, vgdb_stop): New procs, factored out of ...
3399 * gdb.base/valgrind-bt.exp: ... here, ...
3400 * gdb.base/valgrind-disp-step.exp: ... here and ...
3401 * gdb.base/valgrind-infcall.exp: ... here.
3402
1443936e
TV
34032018-10-31 Tom de Vries <tdevries@suse.de>
3404
3405 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3406
eb77c9df
AB
34072018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3408
3409 * gdb.dwarf2/void-type.c: New file.
3410 * gdb.dwarf2/void-type.exp: New file.
3411
82b5e646
PW
34122018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3413
3414 * gdb.base/info_qt.c: New file.
3415 * gdb.base/info_qt.exp: New file.
3416
8d619c01
EBM
34172018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3418
3419 * gdb.arch/powerpc-htm-regs.c: New file.
3420 * gdb.arch/powerpc-htm-regs.exp: New file.
3421
f2cf6173
EBM
34222018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3423
3424 * gdb.arch/powerpc-tar.c: New file.
3425 * gdb.arch/powerpc-tar.exp: New file.
3426
7ca18ed6
EBM
34272018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3428
3429 * gdb.arch/powerpc-ppr-dscr.c: New file.
3430 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3431
bfcc0eba
TV
34322018-10-25 Tom de Vries <tdevries@suse.de>
3433
3434 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3435
fe1a5cad
TV
34362018-10-24 Tom de Vries <tdevries@suse.de>
3437
3438 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3439 longer exists error.
3440
a76dc3b7
TV
34412018-10-24 Tom de Vries <tdevries@suse.de>
3442
3443 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3444
4df46df7
TV
34452018-10-24 Tom de Vries <tdevries@suse.de>
3446
3447 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3448 --db-attach in valgrind.
3449
0dbfcfff
AB
34502018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3451
3452 * gdb.arch/riscv-reg-aliases.c: New file.
3453 * gdb.arch/riscv-reg-aliases.exp: New file.
3454
b04480b1
AH
34552018-10-19 Alan Hayward <alan.hayward@arm.com>
3456
3457 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3458
2c6ac8d7
AH
34592018-10-19 Alan Hayward <alan.hayward@arm.com>
3460
3461 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3462
2bc69f25
AH
34632018-10-19 Alan Hayward <alan.hayward@arm.com>
3464
3465 * gdb.cp/ovldbreak.exp: Fix regexps.
3466
1f1ae3a3
AH
34672018-10-19 Alan Hayward <alan.hayward@arm.com>
3468
3469 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3470
94c18618
SDJ
34712018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3472
3473 PR cli/23785
3474 * gdb.base/restore.exp: New test to check if "restore" with an
3475 invalid file doesn't segfault.
3476
812cd6eb
TV
34772018-10-18 Tom de Vries <tdevries@suse.de>
3478
3479 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3480 * gdb.ada/excep_handle.exp: Same.
3481 * gdb.ada/mi_string_access.exp: Same.
3482 * gdb.ada/mi_var_union.exp: Same.
3483 * gdb.arch/arc-analyze-prologue.exp: Same.
3484 * gdb.arch/arc-decode-insn.exp: Same.
3485 * gdb.base/readnever.exp: Same.
3486 * gdb.fortran/printing-types.exp: Same.
3487 * gdb.guile/scm-lazy-string.exp: Same.
3488
c4b90788
TV
34892018-10-16 Tom de Vries <tdevries@suse.de>
3490
3491 PR gdb/23730
3492 * gdb.base/catch-follow-exec.c: Add copyright notice.
3493 * gdb.base/catch-follow-exec.exp: Rewrite to use
3494 gdb_spawn_with_cmdline_opts. Require gdb-native.
3495
8bca2978
SL
34962018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3497
3498 * gdb.trace/actions-changed.exp: Check for arch support.
3499 * gdb.trace/actions.exp: Likewise.
3500 * gdb.trace/ax.exp: Likewise.
3501 * gdb.trace/backtrace.exp: Likewise.
3502 * gdb.trace/change-loc.exp: Likewise.
3503 * gdb.trace/deltrace.exp: Likewise.
3504 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3505 * gdb.trace/ftrace.exp: Likewise.
3506 * gdb.trace/infotrace.exp: Check for arch support.
3507 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3508 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3509 * gdb.trace/mi-tsv-changed.exp: Likewise.
3510 * gdb.trace/packetlen.exp: Likewise.
3511 * gdb.trace/passc-dyn.exp: Likewise.
3512 * gdb.trace/passcount.exp: Likewise.
3513 * gdb.trace/pending.exp: Likewise.
3514 * gdb.trace/range-stepping.exp: Check for shlib support.
3515 * gdb.trace/report.exp: Check for arch support.
3516 * gdb.trace/save-trace.exp: Likewise.
3517 * gdb.trace/signal.exp: Check for signal support.
3518 * gdb.trace/tfind.exp: Check for arch support.
3519 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3520 * gdb.trace/trace-common.h: Add comment.
3521 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3522 * gdb.trace/trace-enable-disable.exp: Likewise.
3523 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3524 * gdb.trace/tracecmd.exp: Check for arch support.
3525 * gdb.trace/tspeed.exp: Check for shlib and target support.
3526 * gdb.trace/tstatus.exp: Check for arch support.
3527 * gdb.trace/tsv.exp: Likewise.
3528 * gdb.trace/while-dyn.exp: Likewise.
3529 * gdb.trace/while-stepping.exp: Likewise.
3530 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3531
f9c49bff
SM
35322018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3533
3534 * gdb.trace/tspeed.exp: Remove nowarnings.
3535 (prepare_for_trace_test): Declare "global ipalib".
3536 * gdb.trace/tspeed.c: Include unistd.h.
3537 (main): Remove superfluous printf argument.
3538
d4330bde
SL
35392018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3540
3541 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3542 directory prefix on the filename.
3543
8ecfd7bd
SDJ
35442018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3545
3546 * gdb.gdb/unittest.exp: Update expected message informing that
3547 selftests have been disabled.
3548 * gdb.server/unittest.exp: Likewise.
3549
58bbcd02
TV
35502018-10-09 Tom de Vries <tdevries@suse.de>
3551
3552 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3553 with runto_main.
3554
9f6b697b
WP
35552018-10-08 Weimin Pan <weimin.pan@oracle.com>
3556
3557 PR c++/16841
3558 * gdb.cp/virtbase2.cc: New file.
3559 * gdb.cp/virtbase2.exp: New file.
3560
add5ded5
TT
35612018-10-06 Tom Tromey <tom@tromey.com>
3562
3563 PR python/19399:
3564 * gdb.python/py-inferior.exp: Add architecture test.
3565
f9e48344
TT
35662018-10-06 Tom Tromey <tom@tromey.com>
3567
3568 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3569 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3570
2a8be203
TT
35712018-10-06 Tom Tromey <tom@tromey.com>
3572
3573 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3574 of a "throw" catchpoint.
3575
e04caa70
SDJ
35762018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3577
3578 * gdb.base/info-proc.exp: Update string expected from "help info
3579 proc".
3580
5ca8c39f
TT
35812018-10-04 Tom Tromey <tom@tromey.com>
3582
3583 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3584 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3585 (test_initial_complaints, test_empty_complaints): Update.
3586 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3587
3453e7e4
TT
35882018-10-04 Tom Tromey <tom@tromey.com>
3589
3590 PR cli/19551:
3591 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3592 * lib/gdb.exp (gdb_file_cmd): Update.
3593 * gdb.stabs/weird.exp (print_weird_var): Update.
3594 * gdb.server/solib-list.exp: Update.
3595 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3596 * gdb.mi/mi-cli.exp: Update.
3597 * gdb.linespec/linespec.exp: Update.
3598 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3599 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3600 * gdb.cp/cp-relocate.exp: Update.
3601 * gdb.base/sym-file.exp: Update.
3602 * gdb.base/relocate.exp: Update.
3603 * gdb.base/readnever.exp: Update.
3604 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3605 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3606 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3607 * gdb.base/code_elim.exp: Update.
3608 * gdb.base/break-unload-file.exp (test_break): Update.
3609 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3610 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3611 Update.
3612 * gdb.base/attach.exp (do_attach_tests): Update.
3613 * gdb.base/sepdebug.exp: Update.
3614 * gdb.python/py-section-script.exp: Update.
3615
6afcf761
TT
36162018-10-04 Tom Tromey <tom@tromey.com>
3617
3618 PR cli/22234:
3619 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3620 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3621 output.
3622
fef1b293
TT
36232018-10-04 Tom Tromey <tom@tromey.com>
3624
3625 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3626 set width and height to 0.
3627 (test_command_line_attach_run): Use -quiet.
3628
ca98345e
SL
36292018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3630
3631 * lib/gdb.exp (skip_ifunc_tests): New.
3632 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3633 other compile failures.
3634 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3635
ff34e6ae
SM
36362018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3637
3638 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3639 is_amd64_regs_target.
3640
6bb8890e
AH
36412018-10-01 Alan Hayward <alan.hayward@arm.com>
3642
3643 * gdb.arch/aarch64-sighandler-regs.c: New test.
3644 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3645 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3646
224d30d3
MM
36472018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3648
3649 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3650 assembly.
3651
f67ffa6a
AB
36522018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3653
3654 * gdb.base/frame-selection.exp: New file.
3655 * gdb.base/frame-selection.c: New file.
3656
9fc3183f
AH
36572018-09-27 Alan Hayward <alan.hayward@arm.com>
3658
3659 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3660 pthread barrier.
3661 (main): Likewise.
3662
d354055e
AB
36632018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3664
3665 * gdb.base/large-frame-1.c: New file.
3666 * gdb.base/large-frame-2.c: New file.
3667 * gdb.base/large-frame.exp: New file.
3668 * gdb.base/large-frame.h: New file.
3669
db727370
JL
36702018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3671
3672 PR gdb/20948
3673 * gdb.base/write_mem.exp: New test.
3674 * gdb.base/write_mem.c: Likewise.
3675
ae778caf
TT
36762018-09-23 Tom Tromey <tom@tromey.com>
3677
3678 PR python/18852:
3679 * gdb.python/py-parameter.exp: Add test for parameter that throws
3680 on "set".
3681
fd3ba736
TT
36822018-09-23 Tom Tromey <tom@tromey.com>
3683
3684 PR python/17284:
3685 * gdb.python/py-template.exp (test_template_arg): Add test for
3686 negative template argument number.
3687
39a24317
TT
36882018-09-23 Tom Tromey <tom@tromey.com>
3689
3690 PR python/14062:
3691 * gdb.python/python.exp: Add test for post_event error.
3692
f5769a2c
TT
36932018-09-23 Tom Tromey <tom@tromey.com>
3694
3695 PR python/18170:
3696 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3697 convert pointers to int and long.
3698
1c1e54f6
TT
36992018-09-23 Tom Tromey <tom@tromey.com>
3700
3701 PR python/20126:
3702 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3703 signed-ness conversion tests.
3704
fb4fa946
TT
37052018-09-23 Tom Tromey <tom@tromey.com>
3706
3707 PR python/18352;
3708 * gdb.python/py-value.exp (test_float_conversion): New proc.
3709 Use it.
3710
a466edac
HAQ
37112018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3712
3713 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3714
4ee9b0c5
SL
37152018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3716
3717 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3718 no readline.
3719 * gdb.base/utf8-identifiers.exp: Likewise.
3720 * gdb.cp/cpcompletion.exp: Likewise.
3721 * gdb.linespec/cpcompletion.exp: Likewise.
3722 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3723 * gdb.linespec/cpls-ops.exp: Likewise.
3724
23be8da7
RB
37252018-09-19 Richard Bunt <richard.bunt@arm.com>
3726 Chris January <chris.january@arm.com>
3727
3728 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3729 * gdb.fortran/short-circuit-argument-list.exp: New file.
3730 * gdb.fortran/short-circuit-argument-list.f90: New test.
3731
5031d0ae
SDJ
37322018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3733
3734 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3735 "arch=" keyword when executing "-stack-list-frames".
3736
b4c0d1a4
SDJ
37372018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3738
3739 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3740 "arch=" keyword when executing "-stack-list-frames".
3741
7a6d2b45
SDJ
37422018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3743
3744 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3745 break ada".
3746
8588b356
SM
37472018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3748
3749 PR python/23669
3750 * gdb.python/python.exp: Test gdb.execute("show commands").
3751
65e65158
TT
37522018-09-16 Tom Tromey <tom@tromey.com>
3753
3754 * gdb.base/new-ui.exp (do_execution_tests): Update.
3755 * gdb.base/dbx.exp (test_breakpoints): Update.
3756
bf326452
AH
37572018-09-14 Alan Hayward <alan.hayward@arm.com>
3758
3759 * lib/gdb.exp (gdb_simple_compile): Add proc.
3760 (is_elf_target): Use gdb_simple_compile.
3761 (skip_altivec_tests): Likewise.
3762 (skip_vsx_tests): Likewise.
3763 (skip_tsx_tests): Likewise.
3764 (skip_btrace_tests): Likewise.
3765 (skip_btrace_pt_tests): Likewise.
3766 (gdb_can_simple_compile): Likewise.
3767 (gdb_has_argv0): Likewise.
3768 (gdb_target_symbol_prefix): Likewise.
3769 (target_supports_scheduler_locking): Likewise.
3770
2361b0fb
TT
37712018-09-13 Tom Tromey <tom@tromey.com>
3772
3773 * Makefile.in (TAGS): Recognize proc_with_prefix and
3774 gdb_caching_proc.
3775
0ae1a321
SM
37762018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3777
3778 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3779 method.
3780
a40bf0c2
SM
37812018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3782
3783 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3784 and a few other Inferior properties when the Inferior is no
3785 longer valid.
3786
4a3fe98f
TT
37872018-09-13 Tom Tromey <tom@tromey.com>
3788
3789 PR rust/23650:
3790 * gdb.rust/simple.exp: Add test for enum field access error.
3791
098b2108
TT
37922018-09-13 Tom Tromey <tom@tromey.com>
3793
3794 PR rust/23626:
3795 * gdb.rust/simple.rs (EmptyEnum): New type.
3796 (main): Use it.
3797 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3798
1256af7d
SM
37992018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3800
3801 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3802 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3803 * gdb.python/py-symtab.exp: Update test printing an objfile.
3804
4aa8e6c2
SM
38052018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3806
3807 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3808 object.
3809
c221b2f7
AH
38102018-09-12 Alan Hayward <alan.hayward@arm.com>
3811
3812 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3813 (support_complex_tests): Use gdb_can_simple_compile.
3814 (is_ilp32_target): Likewise.
3815 (is_lp64_target): Likewise.
3816 (is_64_target): Likewise.
3817 (is_amd64_regs_target): Likewise.
3818 (is_aarch32_target): Likewise.
3819 (gdb_int128_helper): Likewise.
3820
6f1107b5
JK
38212018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3822
3823 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3824
1f5d1570
JG
38252018-09-10 Jerome Guitton <guitton@adacore.com>
3826
3827 * gdb.ada/same_component_name: Add test for case of tagged record
3828 with variable-length fields.
3829
cc330e39
XR
38302018-09-10 Xavier Roirand <roirand@adacore.com>
3831
3832 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3833 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3834 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3835 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3836
b9c50e9a
XR
38372018-09-10 Xavier Roirand <roirand@adacore.com>
3838
3839 * gdb.ada/mi_string_access.exp: New testcase.
3840 * gdb.ada/mi_string_access/bar.adb: New file.
3841 * gdb.ada/mi_string_access/pck.adb: New file.
3842 * gdb.ada/mi_string_access/pck.asd: New file.
3843
2963898f
XR
38442018-09-10 Xavier Roirand <roirand@adacore.com>
3845
3846 * gdb.ada/mi_var_union.exp: New testcase.
3847 * gdb.ada/mi_var_union/bar.adb: New file.
3848 * gdb.ada/mi_var_union/pck.adb: New file.
3849 * gdb.ada/mi_var_union/pck.asd: New file.
3850
1aac008f
TT
38512018-09-08 Tom Tromey <tom@tromey.com>
3852
3853 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3854
332cf4c9
TT
38552018-09-08 Tom Tromey <tom@tromey.com>
3856
3857 PR python/16047:
3858 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3859 (register_pretty_printers): Register new printer.
3860 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3861 test.
3862 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3863 (an_int_type3): New global.
3864
424da6cf
JB
38652018-09-08 Joel Brobecker <brobecker@adacore.com>
3866
3867 * gdb.ada/expr_with_funcall: New testcase.
3868
2a62dfa9
JB
38692018-09-08 Joel Brobecker <brobecker@adacore.com>
3870
3871 * gdb.ada/packed_array_assign: New testcase.
3872
96b6697f
AB
38732018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3874
3875 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3876 names, and add test prefixes to make test names unique.
3877
e4a62c65
TV
38782018-09-05 Tom de Vries <tdevries@suse.de>
3879
3880 * gdb.dwarf2/varval.exp: Add test.
3881
dd083ee2
GB
38822018-09-04 Gary Benson <gbenson@redhat.com>
3883
3884 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3885 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3886
aef9346c
TT
38872018-08-31 Tom Tromey <tom@tromey.com>
3888
3889 * gdb.rust/simple.rs: Rename second variable "v".
3890
c67f2e15
AB
38912018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3892
3893 * gdb.base/funcargs.c (use_a): New function.
3894 (recurse): Call use_a.
3895
078a0207
KS
38962018-08-29 Keith Seitz <keiths@redhat.com>
3897
3898 * gdb.compile/compile-cplus-anonymous.cc: New file.
3899 * gdb.compile/compile-cplus-anonymous.exp: New file.
3900 * gdb.compile/compile-cplus-array-decay.cc: New file.
3901 * gdb.compile/compile-cplus-array-decay.exp: New file.
3902 * gdb.compile/compile-cplus-inherit.cc: New file.
3903 * gdb.compile/compile-cplus-inherit.exp: New file.
3904 * gdb.compile/compile-cplus-member.cc: New file.
3905 * gdb.compile/compile-cplus-member.exp: New file.
3906 * gdb.compile/compile-cplus-method.cc: New file.
3907 * gdb.compile/compile-cplus-method.exp: New file.
3908 * gdb.compile/compile-cplus-mod.c: "New" file.
3909 * gdb.compile/compile-cplus-namespace.cc: New file.
3910 * gdb.compile/compile-cplus-namespace.exp: New file.
3911 * gdb.compile/compile-cplus-nested.cc: New file.
3912 * gdb.compile/compile-cplus-nested.exp: New file.
3913 * gdb.compile/compile-cplus-print.c: "New" file.
3914 * gdb.compile/compile-cplus-print.exp: "New" file.
3915 * gdb.compile/compile-cplus-virtual.cc: New file.
3916 * gdb.compile/compile-cplus-virtual.exp: New file.
3917 * gdb.compile/compile-cplus.c: "New" file.
3918 * gdb.compile/compile-cplus.exp: "New" file.
3919 * lib/compile-support.exp: New file.
3920
b0f492b9
GB
39212018-08-16 Gary Benson <gbenson@redhat.com>
3922
3923 PR gdb/13000:
3924 * gdb.base/batch-exit-status.exp: New file.
3925 * gdb.base/batch-exit-status.good-commands: Likewise.
3926 * gdb.base/batch-exit-status.bad-commands: Likewise.
3927
36eb4c5f
AH
39282018-08-29 Alan Hayward <alan.hayward@arm.com>
3929
3930 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3931 (struct struct02): Likewise.
3932 (struct struct03): Likewise.
3933 (struct struct04): Likewise.
3934 (struct struct_01_01): New struct.
3935 (struct struct_01_02): Likewise.
3936 (struct struct_01_03): Likewise.
3937 (struct struct_01_04): Likewise.
3938 (struct struct_02_01): Likewise.
3939 (struct struct_02_02): Likewise.
3940 (struct struct_02_03): Likewise.
3941 (struct struct_02_04): Likewise.
3942 (struct struct_04_01): Likewise.
3943 (struct struct_04_02): Likewise.
3944 (struct struct_04_03): Likewise.
3945 (struct struct_04_04): Likewise.
3946 (struct struct_05_01): Likewise.
3947 (struct struct_05_02): Likewise.
3948 (struct struct_05_03): Likewise.
3949 (struct struct_05_04): Likewise.
3950 (cmp_struct01): Remove function.
3951 (cmp_struct02): Likewise.
3952 (cmp_struct03): Likewise.
3953 (cmp_struct04): Likewise.
3954 (cmp_struct_01_01): Add Function.
3955 (cmp_struct_01_02): Likewise.
3956 (cmp_struct_01_03): Likewise.
3957 (cmp_struct_01_04): Likewise.
3958 (cmp_struct_02_01): Likewise.
3959 (cmp_struct_02_02): Likewise.
3960 (cmp_struct_02_03): Likewise.
3961 (cmp_struct_02_04): Likewise.
3962 (cmp_struct_04_01): Likewise.
3963 (cmp_struct_04_02): Likewise.
3964 (cmp_struct_04_03): Likewise.
3965 (cmp_struct_04_04): Likewise.
3966 (cmp_struct_05_01): Likewise.
3967 (cmp_struct_05_02): Likewise.
3968 (cmp_struct_05_03): Likewise.
3969 (cmp_struct_05_04): Likewise.
3970 (call_all): Add new structs.
3971 * gdb.base/infcall-nested-structs.exp: Likewise.
3972
3bf9c013
JV
39732018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3974
3975 * gdb.python/py-framefilter-mi.exp: Update regexp to
3976 check for "arch" field in frame output.
3977
450d1e88
KB
39782018-08-23 Kevin Buettner <kevinb@redhat.com>
3979
3980 * gdb.dwarf2/dw2-ranges-func.c: New file.
3981 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3982
ae739fe7
SM
39832018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3984
3985 * gdb.base/term.exp: Compare terminal settings with values from
3986 the inferior.
3987 * gdb.base/term.c: Get and set terminal settings.
3988
6d52907e
JV
39892018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3990
3991 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3992 accommodate new "arch" field in frame output.
3993 * gdb.mi/mi-return.exp: Likewise.
3994 * gdb.mi/mi-stack.exp: Likewise.
3995 * gdb.mi/mi-syn-frame.exp: Likewise.
3996 * gdb.mi/user-selected-context-sync.exp: Likewise.
3997
be2d111a
MS
39982018-08-19 Michael Spang <spang@google.com>
3999
4000 PR gdb/11786
4001 * gdb.base/gcore-tls-pie.c: New file.
4002 * gdb.base/gcore-tls-pie.exp: New file.
4003
ae3a7c47
KB
40042018-08-18 Kevin Buettner <kevinb@redhat.com>
4005
4006 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
4007 * gdb.dwarf2/varval.c: New file.
4008 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 4009
2ecae92e
AH
40102018-08-17 Alan Hayward <alan.hayward@arm.com>
4011
4012 PR gdb/18931
4013 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4014
c1854f1d
KS
40152018-08-16 Keith Seitz <keiths@redhat.com>
4016
4017 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4018 tests expected to pass.
4019
26fb3983
JV
40202018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4021
4022 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4023 -data-disassemble -a.
4024 (test_disassembly_bogus_args): Likewise.
4025
67943c00
AB
40262018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4027
4028 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4029
5ff2bbae
AB
40302018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4031
4032 * gdb.base/vla-optimized-out.exp: Add new test.
4033
e5bbcd0f
AB
40342018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4035
4036 * gdb.base/vla-optimized-out-o3.exp: Delete.
4037 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4038 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4039 deleted tests.
4040
9d4a934c
AB
40412018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4042
4043 PR gdb/18050:
4044 * gdb.server/extended-remote-restart.c: New file.
4045 * gdb.server/extended-remote-restart.exp: New file.
4046
045cf012
SM
40472018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4048
4049 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4050 "set variable index = 42".
4051
87d6a7aa
SM
40522018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4053
4054 * boards/index-cache-gdb.exp: New file.
4055 * gdb.dwarf2/index-cache.exp: New file.
4056 * gdb.dwarf2/index-cache.c: New file.
4057 * gdb.base/maint.exp: Check if we are using the index cache.
4058
96d68bd4
RO
40592018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4060
4061 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4062 MAKEFLAGS.
4063
5a699617
RO
40642018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4065
4066 * dg-extract-results.sh: Move to toplevel contrib.
4067 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4068 * Makefile.in (check-parallel-racy): Likewise.
4069
5bd18990
AB
40702018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4071
4072 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4073 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4074 tests if the target supports scheduler locking.
4075
3fbbcf47
TV
40762018-08-04 Tom de Vries <tdevries@suse.de>
4077
4078 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4079
3e1d3d8c
TT
40802018-08-02 Tom Tromey <tom@tromey.com>
4081
4082 PR symtab/16842.
4083 * gdb.cp/temargs.exp: Test "info address" of a template
4084 parameter.
4085
5abe0f0c
JV
40862018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4087
4088 * gdb.python/py-mi-var-info-path-expression.c: New file.
4089 * gdb.python/py-mi-var-info-path-expression.py: New file.
4090 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4091
fb66cde8
SDJ
40922018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4093
4094 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4095 error after "cannot resolve name" string.
4096
c708f4d2
AB
40972018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4098
4099 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4100 started.
4101 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4102
37cc0cae
TV
41032018-07-28 Tom de Vries <tdevries@suse.de>
4104
4105 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4106
63b4ecf7
TV
41072018-07-26 Tom de Vries <tdevries@suse.de>
4108
4109 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4110
3c3bb058
AB
41112018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4112
4113 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4114 is visible.
4115
9e7f3bbb
TV
41162018-07-26 Tom de Vries <tdevries@suse.de>
4117
4118 PR breakpoints/23366
4119 * gdb.base/catch-follow-exec.c: New test.
4120 * gdb.base/catch-follow-exec.exp: New file.
4121
16f808ec
TV
41222018-07-25 Tom de Vries <tdevries@suse.de>
4123
4124 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4125 vla-optimized-out.c.
4126
d7154a8d
JV
41272018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4128
4129 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4130 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4131
232a0032
TV
41322018-07-20 Tom de Vries <tdevries@suse.de>
4133
4134 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4135 NOCLONE macro.
4136 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4137
fbb1d502
TV
41382018-07-19 Tom de Vries <tdevries@suse.de>
4139
4140 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4141 regular expression.
4142
42dc7699
TV
41432018-07-18 Tom de Vries <tdevries@suse.de>
4144
4145 * gdb.base/vla-optimized-out.c: New test.
4146 * gdb.base/vla-optimized-out.exp: New file.
4147
7f1f7e23
SDJ
41482018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4149
4150 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4151 message "No address associated with hostname" when gdbserver
4152 cannot resolve the hostname.
4153
5759ebb3
PW
41542018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4155
4156 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4157 Add some test prefixes to make tests unique.
4158
3606ccab
PW
41592018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4160
4161 * gdb.base/frameapply.c: New file.
4162 * gdb.base/frameapply.exp: New file.
4163
529c08b2
PW
41642018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4165
4166 * gdb.base/skip.exp: Update expected error message.
4167
c7ab0aef
SDJ
41682018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4169 Jan Kratochvil <jan.kratochvil@redhat.com>
4170 Paul Fertser <fercerpav@gmail.com>
4171 Tsutomu Seki <sekiriki@gmail.com>
4172
4173 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4174 parameter.
4175 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4176 by default.
4177 * boards/native-gdbserver.exp: Likewise.
4178 * gdb.server/run-without-local-binary.exp: Improve regexp used
4179 for detecting when a remote debugging connection succeeds.
4180 * gdb.server/server-connect.exp: New file.
4181 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4182 Do not prefix the port number with ":".
4183 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4184 support for detecting and using it. Add '$debughost_gdbserver'
4185 to the list of arguments used to start gdbserver. Handle case
4186 when gdbserver cannot resolve a network name.
4187
16ff70dd
SDJ
41882018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4189
4190 PR c++/23373
4191 * gdb.base/ptype-offsets.cc (struct static_member): New
4192 struct.
4193 (main) <stmember>: New variable.
4194 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4195 with a static member in it.
4196
3541979f
AB
41972018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4198
4199 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4200 watchpoints enabled and disabled.
4201
c8ad9b9a
AB
42022018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4203
4204 * gdb.base/examine-backward.exp: Still run tests around address
4205 0x0, even if address 0x0 is not readable. Update the pattern for
4206 matching address 0x0 in expected output.
4207
e0e5e971
AB
42082018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4209
4210 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4211 malloc/free.
4212
1ea5da02
TV
42132018-07-04 Tom de Vries <tdevries@suse.de>
4214
4215 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4216
471b9d15
MR
42172018-07-02 Maciej W. Rozycki <macro@mips.com>
4218
4219 PR tdep/8282
4220 * gdb.arch/mips-disassembler-options.exp: New test.
4221 * gdb.arch/mips-disassembler-options.s: New test source.
4222
75acb486
PA
42232018-06-29 Pedro Alves <palves@redhat.com>
4224
4225 * gdb.threads/names.exp: Adjust expected "info threads" output.
4226
cd2bb709
PA
42272018-06-29 Pedro Alves <palves@redhat.com>
4228
4229 * gdb.opt/inline-break.exp (line number, address): Add "info
4230 break" tests.
4231
991ff292
PA
42322018-06-29 Pedro Alves <palves@redhat.com>
4233
4234 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4235 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4236 number and address and running to them.
4237
356819b6 42382018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
4239
4240 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4241
2512d7ef
JK
42422018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4243
4244 * lib/compiler.c: Remove executable permission flag.
4245
be1b6474
RB
42462018-06-28 Richard Bunt <richard.bunt@arm.com>
4247
4248 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4249 code.
4250 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4251
291f9a96
PT
42522018-06-28 Petr Tesarik <ptesarik@suse.cz>
4253
4254 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4255
ed6dfe51
PT
42562018-06-28 Petr Tesarik <ptesarik@suse.cz>
4257
4258 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4259 address argument is omitted.
4260
d4d429d5
PT
42612018-06-28 Petr Tesarik <ptesarik@suse.cz>
4262
4263 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4264
7ab6656f
OJ
42652018-06-27 Omair Javaid <omair.javaid@linaro.org>
4266
4267 PR gdb/21695
4268 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4269 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4270
a33ccfc7
TT
42712018-06-26 Tom Tromey <tom@tromey.com>
4272
4273 PR rust/22574:
4274 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4275 * gdb.rust/simple.rs (struct SimpleLayout): New.
4276
6d72d289
SM
42772018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4278
4279 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4280 "info registers" output.
4281
8363f9d5
RB
42822018-06-21 Richard Bunt <richard.bunt@arm.com>
4283
4284 * gdb.base/watchpoint-hw-attach.c: New test.
4285 * gdb.base/watchpoint-hw-attach.exp: New file.
4286
f00674fe
SM
42872018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4288
4289 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4290 through /bin/sh.
4291 * boards/dwarf4-gdb-index.exp: Likewise.
4292 * boards/fission-dwp.exp: Likewise.
4293
1d554008
UW
42942018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4295
4296 * gdb.base/float128.exp: Add comment and improved fail message
4297 to the failure case of "print large128" test.
4298
d0ac1c44
SM
42992018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4300
4301 * configure.ac: Remove AC_PREREQ.
4302 * configure: Re-generate.
4303
61b04dd0
PA
43042018-06-19 Pedro Alves <palves@redhat.com>
4305
4306 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4307 (func_extern_caller): New.
4308 (main): Call func_extern_caller.
4309 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4310 logic change.
4311
f63b508a
SM
43122018-06-18 Weimin Pan <weimin.pan@oracle.com>
4313
4314 PR gdb/16841
4315 * gdb.cp/typedef-base.cc: New file.
4316 * gdb.cp/typedef-base.exp: New file.
4317
0fe3a558
TV
43182018-06-18 Tom de Vries <tdevries@suse.de>
4319
4320 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4321
7010835a
AB
43222018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4323 Richard Bunt <Richard.Bunt@arm.com>
4324
4325 * gdb.threads/attach-slow-waitpid.c: New file.
4326 * gdb.threads/attach-slow-waitpid.exp: New file.
4327 * gdb.threads/slow-waitpid.c: New file.
4328
14897d65
PA
43292018-06-14 Pedro Alves <palves@redhat.com>
4330
4331 * gdb.base/fork-running-state.c: Include <errno.h>.
4332 (exit_if_relative_exits): New.
4333 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4334 exits.
4335 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4336 child exits.
4337
5d9a0608
TV
43382018-06-14 Tom de Vries <tdevries@suse.de>
4339
4340 PR cli/22573
4341 * gdb.base/finish-pretty.c: New test.
4342 * gdb.base/finish-pretty.exp: New file.
4343
11ae5818
PA
43442018-06-14 Pedro Alves <palves@redhat.com>
4345
4346 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4347 gdb's expected startup output.
4348
1d39de44
PA
43492018-06-14 Pedro Alves <palves@redhat.com>
4350
4351 * lib/selftest-support.exp (selftest_setup): Remove inlined
4352 function handling.
4353
70ee0000
TV
43542018-06-14 Tom de Vries <tdevries@suse.de>
4355
4356 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4357 matching of breakpoint printing.
4358
11f4b608
TV
43592018-06-13 Tom de Vries <tdevries@suse.de>
4360
4361 PR testsuite/23269
4362 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4363 (fork_child): ... here, and ...
4364 (fork_parent): ... here.
4365
43662018-06-12 Tom de Vries <tdevries@suse.de>
4367
4368 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4369
9516f85a
AB
43702018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4371 Stephen Roberts <stephen.roberts@arm.com>
4372
4373 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4374 rewrite test to describe action performed, rather than possible
4375 failure.
4376
5045b3d7
GB
43772018-06-08 Gary Benson <gbenson@redhat.com>
4378
4379 * gdb.threads/check-libthread-db.exp: New file.
4380 * gdb.threads/check-libthread-db.c: Likewise.
4381
c61b06a1
TT
43822018-06-05 Tom Tromey <tom@tromey.com>
4383
4384 * gdb.base/default.exp: Update expected "show version" output.
4385
eb6af809
TT
43862018-06-05 Tom Tromey <tom@tromey.com>
4387
4388 PR cli/12326:
4389 * gdb.cp/static-print-quit.exp: Update.
4390 * lib/gdb.exp (pagination_prompt): Update.
4391 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4392 * gdb.python/python.exp: Update.
4393
178d6a63
JB
43942018-06-04 Joel Brobecker <brobecker@adacore.com>
4395
4396 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4397
8e817061
JB
43982018-06-01 Joel Brobecker <brobecker@adacore.com>
4399
4400 * gdb.ada/bp_fun_addr: New testcase.
4401
e86ca25f
TT
44022018-06-01 Tom Tromey <tom@tromey.com>
4403
4404 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4405 results.
4406 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4407 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4408 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4409 * gdb.base/maint.exp (maint_pass_if): Update.
4410
4b2dfa9d
MR
44112018-05-31 Maciej W. Rozycki <macro@mips.com>
4412
4413 * gdb.base/endian.exp: New test.
4414 * gdb.base/endian.c: New test source.
4415
45f25d6c
AB
44162018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4417
4418 PR gdb/23203
4419 * gdb.base/bt-selected-frame.c: New file.
4420 * gdb.base/bt-selected-frame.exp: New file.
4421 * lib/gdb.exp (get_current_frame_number): New function.
4422
d9f6d7f8
MR
44232018-05-24 Maciej W. Rozycki <macro@mips.com>
4424 Pedro Alves <palves@redhat.com>
4425
4426 * gdb.threads/tls-core.c: Include <stdlib.h>
4427 (thread_proc): Call `abort'.
4428 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4429 (tls_core_test): New procedure, bits factored out from ...
4430 (top level): ... here. Test both native cores and gcore cores.
4431
ff1cf532
TT
44322018-05-23 Tom Tromey <tom@tromey.com>
4433
4434 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4435
b98664d3
TT
44362018-05-23 Tom Tromey <tom@tromey.com>
4437
4438 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4439 symfile_complaints.
4440 (test_short_complaints): Likewise.
4441 (test_empty_complaints): Likewise.
4442 (test_initial_complaints): Update.
4443
4e9668d0
TT
44442018-05-23 Tom Tromey <tom@tromey.com>
4445
4446 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4447
43ba33c7
TT
44482018-05-23 Tom Tromey <tom@tromey.com>
4449
4450 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4451 (test_short_complaints): Update.
4452
035522c0
PA
44532018-05-22 Pedro Alves <palves@redhat.com>
4454
4455 * gdb.base/remote.exp: Only gdb_start after compiling the
4456 testcase. Issue "disconnect" before testing "set remote" command
4457 defaults. Issue clean_restart before running to main.
4458
cc0be08f
PA
44592018-05-22 Pedro Alves <palves@redhat.com>
4460
4461 * gdb.base/remote.exp: Adjust expected output of "show remote
4462 memory-write-packet-size". Add tests for "set remote
4463 memory-write-packet-size 0" and "set remote
4464 memory-write-packet-size fixed/limit".
4465
b1b60145
PA
44662018-05-22 Pedro Alves <palves@redhat.com>
4467
4468 PR gdb/22973
4469 * gdb.base/utf8-identifiers.c: New file.
4470 * gdb.base/utf8-identifiers.exp: New file.
4471
0ec848ad
PFC
44722018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4473
4474 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4475
2c3305f6
PFC
44762018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4477
4478 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4479
ce1e8424
TT
44802018-05-18 Tom Tromey <tom@tromey.com>
4481
4482 * gdb.base/ptype-offsets.exp: Update.
4483
ddfe970e
KS
44842018-05-17 Keith Seitz <keiths@redhat.com>
4485
4486 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4487 in expected breakpoint stop locations.
4488 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4489 move to proper scope to test variable values.
4490 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4491 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4492 New functions.
4493 (main): Call not_inline_func3.
4494 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4495 inline_func1, inline_func2, and inline_func3. Test that when each
4496 breakpoint is hit, GDB properly reports both the stop location
4497 and the backtrace. Repeat tests for temporary breakpoints.
4498
0726fcc6
MR
44992018-05-15 Maciej W. Rozycki <macro@mips.com>
4500
4501 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4502 rather then trying to access it in determining whether the PID
4503 of `gdbserver' could have been retrieved.
4504
8ee22052
AB
45052018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4506
4507 * gdb.arch/amd64-init-x87-values.S: New file.
4508 * gdb.arch/amd64-init-x87-values.exp: New file.
4509
7785df48
JK
45102018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4511
4512 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4513
56bcdbea
TT
45142018-05-04 Tom Tromey <tom@tromey.com>
4515
4516 PR python/22730:
4517 * gdb.python/python.exp: Test multi-line execute.
4518
a913fffb
TT
45192018-05-04 Tom Tromey <tom@tromey.com>
4520
4521 PR python/22731:
4522 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4523
7a2c85f2
TT
45242018-05-04 Tom Tromey <tom@tromey.com>
4525
4526 PR gdb/11750:
4527 * gdb.base/define.exp: Test defining a user command inside a user
4528 command.
4529 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4530
a3b60e45
JK
45312018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4532 Pedro Alves <palves@redhat.com>
4533
4534 PR breakpoints/19806 and support for PR external/20207.
4535 * gdb.base/watchpoint-unaligned.c: New file.
4536 * gdb.base/watchpoint-unaligned.exp: New file.
4537
45fe4a03
AB
45382018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4539
4540 * gdb.base/maint.exp: Make test names unique, use
4541 test_prefix_command_help to test 'help maint info', and remove
4542 repeated test of 'help maint'.
4543
9be2ae8f
TT
45442018-05-04 Tom Tromey <tom@tromey.com>
4545
4546 PR gdb/22619:
4547 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4548 behavior.
4549
11859c31
AB
45502018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4551
4552 * gdb.base/maint.exp: Process output from 'maint print registers'
4553 line at a time.
4554
089a9490
AB
45552018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4556
4557 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4558 timeout.
4559
9b0797e2
AB
45602018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4561
4562 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4563 filter pattern.
4564
f6ac5f3d
PA
45652018-05-02 Pedro Alves <palves@redhat.com>
4566
4567 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4568 to_log_command renames.
4569 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4570
77d3c63b
TT
45712018-05-02 Tom Tromey <tom@tromey.com>
4572
4573 * gdb.python/py-parameter.exp: Set test message.
4574
0489430a
TT
45752018-05-02 Tom Tromey <tom@tromey.com>
4576
4577 PR python/20084:
4578 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4579 PARAM_ZUINTEGER_UNLIMITED tests.
4580
1632f8ba
DR
45812018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4582
4583 PR rust/23124
4584 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4585 when casting.
4586
6d7bb824
TT
45872018-04-30 Tom Tromey <tom@tromey.com>
4588
4589 * gdb.python/py-type.exp: Check align attribute.
4590 * gdb.python/py-type.c: New "aligncheck" global.
4591
007e1530
TT
45922018-04-30 Tom Tromey <tom@tromey.com>
4593
4594 PR exp/17095:
4595 * gdb.dwarf2/dw2-align.exp: New file.
4596 * gdb.cp/align.exp: New file.
4597 * gdb.base/align.exp: New file.
4598 * lib/gdb.exp (gdb_int128_helper): New proc.
4599 (has_int128_c, has_int128_cxx): New caching procs.
4600
6873858b
TT
46012018-04-27 Tom Tromey <tom@tromey.com>
4602
4603 PR rust/22545:
4604 * gdb.rust/simple.exp: Add inclusive range tests.
4605
79188d8d
PA
46062018-04-26 Pedro Alves <palves@redhat.com>
4607
4608 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4609 ifunc breakpoint locations correctly of ifunc breakpoints set
4610 while the program resolves the ifunc.
4611
c7075ad5
PA
46122018-04-26 Pedro Alves <palves@redhat.com>
4613
4614 * gdb.base/gnu-ifunc-final.c: New file.
4615 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4616 * gdb.base/gnu-ifunc.exp (executable): Delete.
4617 (staticexecutable): Adjust.
4618 (lib_opts, exec_opts): Delete.
4619 (make_binsuffix, build, set-break): New procedures.
4620 (misc_tests): New, with tests factored out from the top level.
4621 (top level): Test different combinations of ifunc resolver name,
4622 resolver with and with debug info, and ifunc target with and
4623 without debug info. Wrap static tests with with_target_prefix.
4624
8388016d
PA
46252018-04-26 Pedro Alves <palves@redhat.com>
4626
4627 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4628 return type" warnings.
4629
249b5733
PA
46302018-04-25 Pedro Alves <palves@redhat.com>
4631
4632 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4633 killed".
4634 * gdb.base/kill-after-signal.exp: Likewise.
4635 * gdb.threads/kill.exp: Likewise.
4636
f67c0c91
SDJ
46372018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4638 Sergio Durigan Junior <sergiodj@redhat.com>
4639 Pedro Alves <palves@redhat.com>
4640
4641 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4642 regexps to expect for '[Inferior ... detached]' as well.
4643 * gdb.base/attach.exp: Likewise.
4644 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4645 "gdb_continue_to_end".
4646 (test_catch_syscall_with_wrong_args): Likewise.
4647 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4648 ']'. Don't set 'verbose' on.
4649 * gdb.base/foll-vfork.exp: Likewise.
4650 * gdb.base/fork-print-inferior-events.c: New file.
4651 * gdb.base/fork-print-inferior-events.exp: New file.
4652 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4653 '[Inferior ... has been killed]' message.
4654 * gdb.base/kill-after-signal.exp: Likewise.
4655 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4656 detach message.
4657 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4658 message.
4659 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4660 regexps to expect for '[Inferior ... detached]' as well.
4661 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4662
0a8ddac4
SM
46632018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4664
4665 PR gdb/23104
4666 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4667
701adfb0
PA
46682018-04-22 Rajendra SY <rajendra.sy@gmail.com>
4669
4670 PR gdb/23095
4671 * gdb.base/break-probes.exp: Pass shlib_load to
4672 prepare_for_testing. Set normal_bp to r_debug_state if target is
4673 bsd.
4674
d27d16bf
RB
46752018-04-19 Richard Bunt <richard.bunt@arm.com>
4676
4677 * gdb.threads/multiple-successive-infcall.c: New test.
4678 * gdb.threads/multiple-successive-infcall.exp: New file.
4679
a037790e
TT
46802018-04-17 Tom Tromey <tom@tromey.com>
4681
4682 * gdb.rust/simple.rs (Union): New type.
4683 (main): New local "u".
4684 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4685
e3a91079
AA
46862018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4687
4688 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4689 number information in output of "whereis" command.
4690 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4691
b744723f
AA
46922018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4693
4694 * gdb.ada/info_types.exp: Adjust expected output to the line
4695 numbers now printed by "info var/func/type".
4696 * gdb.base/completion.exp: Likewise.
4697 * gdb.base/included.exp: Likewise.
4698 * gdb.cp/cp-relocate.exp: Likewise.
4699 * gdb.cp/cplusfuncs.exp: Likewise.
4700 * gdb.cp/namespace.exp: Likewise.
4701 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4702
4a4495d6
MM
47032018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4704
4705 * gdb.btrace/cpu.exp: New.
4706
1d509aa6
MM
47072018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4708
4709 * gdb.base/step-indirect-call-thunk.exp: New.
4710 * gdb.base/step-indirect-call-thunk.c: New.
4711 * gdb.reverse/step-indirect-call-thunk.exp: New.
4712 * gdb.reverse/step-indirect-call-thunk.c: New.
4713
6295b6da
SM
47142018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4715
4716 * gdb.base/pie-fork.c: New file.
4717 * gdb.base/pie-fork.exp: New file.
4718
50146e70
TT
47192018-04-11 Tom Tromey <tom@tromey.com>
4720
4721 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4722
f50d8a2e
PA
47232018-04-10 Pedro Alves <palves@redhat.com>
4724
4725 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4726 exits. Instead loop running forever.
4727 (fork_parent): Run forever too.
4728
a0be7a36
SM
47292018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4730
4731 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4732 mi_continue_to_line.
4733 * gdb.mi/mi-stack.c (callee4): Add comment.
4734
9b73db36
SM
47352018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4736
4737 * gdb.mi/mi-stack.exp: Fix indentation.
4738
c912f608
SM
47392018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4740
4741 PR gdb/22979
4742 * gdb.arch/amd64-osabi.exp: New file.
4743
26540402
SM
47442018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4745
4746 PR gdb/22980
4747 * gdb.base/osabi.exp: New file.
4748
121ad66c 47492018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
4750
4751 * gdb.cp/static-typedef-print.exp: New file.
4752 * gdb.cp/static-typedef-print.cc: New file.
4753
3fcded8f
JB
47542018-03-27 Joel Brobecker <brobecker@adacore.com>
4755
4756 * gdb.ada/varsize_limit: New testcase.
4757
59cc4834
JB
47582018-03-27 Joel Brobecker <brobecker@adacore.com>
4759
4760 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4761
4762 * gdb.ada/notcplusplus: New testcase.
4763
4764 * gdb.base/c-linkage-name.c: New file.
4765 * gdb.base/c-linkage-name.exp: New testcase.
4766
4ca59a9f
TT
47672018-03-26 Tom Tromey <tom@tromey.com>
4768
4769 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4770 * gdb.python/py-framefilter.py (name_error): New global.
4771 (ErrorInName.function): Use name_error.
4772
978d6c75
TT
47732018-03-26 Tom Tromey <tom@tromey.com>
4774
4775 PR backtrace/15582:
4776 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4777
b7fee5a3
KS
47782018-03-23 Keith Seitz <keiths@redhat.com>
4779
4780 PR c++/22968
4781 * gdb.cp/subtypes.exp: New file.
4782 * gdb.cp/subtypes.h: New file.
4783 * gdb.cp/subtypes.cc: New file.
4784 * gdb.cp/subtypes-2.cc: New file.
4785
376be529
AB
47862018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4787
4788 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4789 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4790 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4791 -nostartfiles when compiling the test. Confirm that all registers
4792 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4793
066cfa98
AB
47942018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4795
4796 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4797 option, syntax was wrong anyway.
4798 * gdb.arch/arm-disp-step.exp: Likewise.
4799 * gdb.arch/sparc64-regs.exp: Likewise.
4800 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4801 option, syntax was wrong anyway, switch to use
4802 prepare_for_testing.
4803 * gdb.arch/i386-disp-step.exp: Likewise.
4804
079670b9
AA
48052018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4806
4807 * gdb.ada/exec_changed.exp: Replace "target_info exists
4808 use_gdb_stub" by "use_gdb_stub".
4809 * gdb.ada/start.exp: Likewise.
4810 * gdb.base/async-shell.exp: Likewise.
4811 * gdb.base/attach-pie-misread.exp: Likewise.
4812 * gdb.base/attach-wait-input.exp: Likewise.
4813 * gdb.base/break-entry.exp: Likewise.
4814 * gdb.base/break-interp.exp: Likewise.
4815 * gdb.base/dprintf-detach.exp: Likewise.
4816 * gdb.base/nostdlib.exp: Likewise.
4817 * gdb.base/solib-nodir.exp: Likewise.
4818 * gdb.base/statistics.exp: Likewise.
4819 * gdb.base/testenv.exp: Likewise.
4820 * gdb.mi/mi-exec-run.exp: Likewise.
4821 * gdb.mi/mi-start.exp: Likewise.
4822 * gdb.multi/dummy-frame-restore.exp: Likewise.
4823 * gdb.multi/multi-arch-exec.exp: Likewise.
4824 * gdb.multi/multi-arch.exp: Likewise.
4825 * gdb.multi/tids.exp: Likewise.
4826 * gdb.multi/watchpoint-multi.exp: Likewise.
4827 * gdb.python/py-events.exp: Likewise.
4828 * gdb.threads/attach-into-signal.exp: Likewise.
4829 * gdb.threads/attach-stopped.exp: Likewise.
4830 * gdb.threads/threadapply.exp: Likewise.
4831 * lib/selftest-support.exp: Likewise.
4832
26d6cec4
AA
48332018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4834
4835 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4836
4ee89e90
SR
48372018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4838
4839 * gdb.perf/template-breakpoints.cc: New file.
4840 * gdb.perf/template-breakpoints.exp: New file.
4841 * gdb.perf/template-breakpoints.py: New file.
4842
92630041
TT
48432018-03-19 Tom Tromey <tom@tromey.com>
4844
4845 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4846 y0.
4847 * gdb.rust/simple.exp: Test bare identifier form of struct
4848 initializer.
4849
76727919
TT
48502018-03-19 Tom Tromey <tom@tromey.com>
4851
4852 * gdb.gdb/observer.exp: Remove.
4853
194ed413
AA
48542018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4855
4856 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4857 "qualified" option when setting breakpoints.
4858 * gdb.trace/backtrace.exp: Likewise.
4859 * gdb.trace/circ.exp: Likewise.
4860 * gdb.trace/collection.exp: Likewise.
4861 * gdb.trace/disconnected-tracing.exp: Likewise.
4862 * gdb.trace/ftrace-lock.exp: Likewise.
4863 * gdb.trace/ftrace.exp: Likewise.
4864 * gdb.trace/infotrace.exp: Likewise.
4865 * gdb.trace/packetlen.exp: Likewise.
4866 * gdb.trace/passc-dyn.exp: Likewise.
4867 * gdb.trace/qtro.exp: Likewise.
4868 * gdb.trace/read-memory.exp: Likewise.
4869 * gdb.trace/report.exp: Likewise.
4870 * gdb.trace/signal.exp: Likewise.
4871 * gdb.trace/status-stop.exp: Likewise.
4872 * gdb.trace/strace.exp: Likewise.
4873 * gdb.trace/tfind.exp: Likewise.
4874 * gdb.trace/trace-break.exp: Likewise.
4875 * gdb.trace/trace-condition.exp: Likewise.
4876 * gdb.trace/trace-mt.exp: Likewise.
4877 * gdb.trace/tstatus.exp: Likewise.
4878 * gdb.trace/tsv.exp: Likewise.
4879 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4880 * gdb.trace/unavailable.exp: Likewise.
4881 * gdb.trace/while-dyn.exp: Likewise.
4882
8b067d2c
AA
48832018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4884
4885 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4886 that libinproctrace is copied to the target.
4887
3ae9ce5d
TT
48882018-03-14 Tom Tromey <tom@tromey.com>
4889
4890 PR cli/14977:
4891 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4892 a null pointer.
4893 * gdb.base/wchar.exp: Likewise.
4894
b8c2339b
TT
48952018-03-14 Tom Tromey <tom@tromey.com>
4896
4897 PR cli/19918:
4898 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4899 flag.
4900
4872dc46
SM
49012018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4902
4903 PR gdb/22841
4904 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4905 "target" to remote_exec.
4906
e4fe3756
SM
49072018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4908
4909 PR gdb/22841
4910 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4911 ${board}_upload): Remove.
4912
e95a97d4
AA
49132018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4914
4915 * gdb.cp/watch-cp.cc: New test.
4916 * gdb.cp/watch-cp.exp: New file.
4917
dbbb1059
AB
49182018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4919
4920 * gdb.base/infcall-nested-structs.exp: New file.
4921 * gdb.base/infcall-nested-structs.c: New file.
4922 * gdb.base/float.exp: Add riscv support.
4923
ecc054c0
TP
49242018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4925
4926 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4927 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4928
25e3c82c
SDJ
49292018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4930
4931 * gdb.server/abspath.exp: New file.
4932 * lib/gdb.exp (with_cwd): New procedure.
4933
3083294d
SM
49342018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4935
4936 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4937 use it.
4938 (gdb_is_target_remote_prompt): New proc.
4939 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4940 (gdb_is_target_native): Pass prompt parameter to
4941 gdb_is_target_1.
4942
3275ef47
SM
49432018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4944
4945 * gdb.base/load-command.c: New file.
4946 * gdb.base/load-command.exp: New file.
4947 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4948 (gdb_is_target_1): ...this, and generalize for other targets
4949 than just remote.
4950 (gdb_is_target_remote): Use gdb_is_target_1.
4951 (gdb_is_target_native): use gdb_is_target_1.
4952
6893c19a
TT
49532018-02-26 Tom Tromey <tom@tromey.com>
4954
4955 PR python/16497:
4956 * gdb.python/py-framefilter.exp: Update test.
4957
2ddeaf8a
TT
49582018-02-26 Tom Tromey <tom@tromey.com>
4959
4960 * gdb.dwarf2/variant.c: New file.
4961 * gdb.dwarf2/variant.exp: New file.
4962
c9317f21
TT
49632018-02-26 Tom Tromey <tom@tromey.com>
4964
4965 * gdb.rust/simple.exp: Accept more possible results in enum test.
4966
6f6d0c26
SM
49672018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4968
4969 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4970 parentheses.
4971
11b03145
MR
49722018-02-23 Maciej W. Rozycki <macro@mips.com>
4973
4974 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4975 name of a variable: $actual_linejj -> $actual_line.
4976
54a27fe5
JB
49772018-02-21 John Baldwin <jhb@FreeBSD.org>
4978
4979 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4980
de65820c
MM
49812018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4982
4983 * gdb.btrace/buffer-size.exp: Do not force BTS.
4984
980548fd
PA
49852018-02-14 Pedro Alves <palves@redhat.com>
4986
4987 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4988 getting a "Quit".
4989
c4e12631
MM
49902018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4991
4992 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4993 Fix test name.
4994
c2e0e465
SM
49952018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4996
4997 * gdb.cp/m-static.exp: Check type of optimized out static
4998 member.
4999
f7216783
AB
50002018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5001
5002 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5003 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5004
0625771b
LS
50052018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5006 Leszek Swirski <leszeks@google.com>
5007
5008 * gdb.python/py-prettyprint.c
5009 (struct to_string_returns_value_inner,
5010 struct to_string_returns_value_wrapper): New.
5011 (main): Add tsrvw variable.
5012 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5013 ToStringReturnsValueWrapper): New classes.
5014 (register_pretty_printers): Register new pretty-printers.
5015 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5016 recursive pretty printer.
5017 * gdb.python/py-mi.exp: Likewise.
5018
59498c30
LS
50192018-02-01 Leszek Swirski <leszeks@google.com>
5020
5021 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5022 functions with the same name as an include file are parsed
5023 correctly.
5024
d4d38844
YQ
50252018-02-01 Yao Qi <yao.qi@linaro.org>
5026
5027 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5028 "\[^\r\n\]*".
5029
07e5f5cf
NP
50302018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5031
5032 * gdb.arch/powerpc-prologue-frame.s: New file.
5033 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5034 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5035
929b5ad4
JB
50362018-01-31 Joel Brobecker <brobecker@adacore.com>
5037
5038 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5039
e671cd59
PA
50402018-01-30 Pedro Alves <palves@redhat.com>
5041
5042 PR gdb/13211
5043 * gdb.base/interrupt-daemon.c: New.
5044 * gdb.base/interrupt-daemon.exp: New.
5045 * gdb.multi/multi-term-settings.c: New.
5046 * gdb.multi/multi-term-settings.exp: New.
5047
fc413dc4
JB
50482018-01-30 Joel Brobecker <brobecker@adacore.com>
5049
5050 * gdb.base/break.exp: Save the location where the breakpoint
5051 on break.c:47 was actually inserted when debugging the version
5052 compiled at -O2 and use it in the expected output of the "info
5053 break" test performed soon after.
5054
5c319bb2
PA
50552018-01-22 Pedro Alves <palves@redhat.com>
5056 Sergio Durigan Junior <sergiodj@redhat.com>
5057
5058 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5059 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5060
a9e40818
JB
50612018-01-22 Joel Brobecker <brobecker@adacore.com>
5062
5063 * gdb.base/break-include.c, gdb.base/break-include.inc,
5064 gdb.base/break-include.exp: New files.
5065 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5066 line number now being the actual line number where the breakpoint
5067 was inserted.
5068 * gdb.mi/mi-break.exp: Likewise.
5069 * gdb.mi/mi-reverse.exp: Likewise.
5070 * gdb.mi/mi-simplerun.exp: Ditto.
5071
e707fc44
AB
50722018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5073
5074 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5075 varobj.
5076 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5077
ae451627
AB
50782018-01-21 Don Breazeal <donb@codesourcery.com>
5079 Andrew Burgess <andrew.burgess@embecosm.com>
5080
5081 * gdb.mi/basics.c: Add new global.
5082 * gdb.mi/mi-frame-regs.exp: New file.
5083 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5084 case.
5085
b1b189e0
AB
50862018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5087
5088 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5089 non-parameter, and on an unknown symbol.
5090
fcfcc376
TT
50912018-01-19 Tom Tromey <tom@tromey.com>
5092
5093 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5094 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5095
634c1c31
AA
50962018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5097
5098 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5099 setrlimit and chdir to int.
5100
d6ad07fd
AA
51012018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5102
5103 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5104 function.
5105 (my_tend): Likewise.
5106 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5107 rationale of avoiding FP- and vector instructions.
5108
adf8243b
RK
51092018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5110
5111 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5112 "info reg" with "\[ \t\]*".
5113 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5114 "\[ \t\]+".
5115 * gdb.arch/s390-multiarch.exp: Ditto.
5116 * gdb.base/pc-fp.exp: Ditto.
5117 * gdb.reverse/i386-precsave.exp: Ditto.
5118 * gdb.reverse/i386-reverse.exp: Ditto.
5119 * gdb.reverse/i387-env-reverse.exp: Ditto.
5120 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5121
dcc06925
AA
51222018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5123
5124 * lib/gdb.exp (gdb_compile): Re-enable use of
5125 universal_compile_options for languages other than Rust.
5126
25d4fd80
AA
51272018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5128
5129 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5130
ee7f689e 51312018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
5132
5133 PR gdb/16577
5134 * gdb.base/solib-vanish.exp: New.
5135 * gdb.base/solib-vanish-main.c: New.
5136 * gdb.base/solib-vanish-lib1.c: New.
5137 * gdb.base/solib-vanish-lib2.c: New.
5138
d8447b6b
YQ
51392018-01-17 Yao Qi <yao.qi@linaro.org>
5140
5141 * gdb.compile/compile.exp: Match the address printed for
5142 frame in the output of command "bt".
5143
86d6a90c
TT
51442018-01-15 Tom Tromey <tom@tromey.com>
5145
5146 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5147 compute sp_reg.
5148
cbcdb1aa
AB
51492018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5150
5151 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5152 to prepare.
5153 (prepare): Return 0 on error, 1 on success.
5154
eea61984
PA
51552018-01-12 Pedro Alves <palves@redhat.com>
5156
5157 * gdb.base/continue-after-aborted-step-over.c: New.
5158 * gdb.base/continue-after-aborted-step-over.exp: New.
5159
6181e9c2
SM
51602018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5161
5162 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5163 options when not creating an executable.
5164
3cada740
PA
51652018-01-11 Pedro Alves <palves@redhat.com>
5166
5167 PR remote/22597
5168 * gdb.server/stop-reply-no-thread.c: New file.
5169 * gdb.server/stop-reply-no-thread.exp: New file.
5170
c63d3e8d
PA
51712018-01-10 Pedro Alves <palves@redhat.com>
5172
5173 PR gdb/22670
5174 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5175 functions too. Test setting breakpoints and printing C functions
5176 with no debug info too.
5177 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5178
d4c2a405
PA
51792018-01-10 Pedro Alves <palves@redhat.com>
5180
5181 PR gdb/22670
5182 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5183 a fail.
5184
8825213e
PA
51852018-01-10 Pedro Alves <palves@redhat.com>
5186
5187 PR gdb/22670
5188 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5189
605fd3c6
YQ
51902018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5191
5192 * gdb.server/unittest.exp: Match the output in non-development
5193 mode.
5194
1e5ded6c
YQ
51952018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5196
5197 * gdb.gdb/unittest.exp: Match output in non-development mode.
5198
30066b0b
JB
51992018-01-08 Joel Brobecker <brobecker@adacore.com>
5200
5201 * gdb.ada/access_tagged_param.exp: Relax expected output
5202 for value of "ObjL" in "continue" to pck.inspect breakpoint
5203 test.
5204
04bafb1e
XR
52052018-01-08 Joel Brobecker <brobecker@adacore.com>
5206
9f86398b
JB
5207 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5208 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 5209
e379cee6
PA
52102018-01-05 Pedro Alves <palves@redhat.com>
5211
5212 PR gdb/18653
5213 * gdb.base/libsegfault.exp: New.
5214
de63c46b
PA
52152018-01-05 Joel Brobecker <brobecker@adacore.com>
5216
5217 PR gdb/22670
5218 * gdb.ada/access_tagged_param.exp: New file.
5219 * gdb.ada/access_tagged_param/foo.adb: New file.
5220
f98fc17b
PA
52212018-01-05 Pedro Alves <palves@redhat.com>
5222
5223 PR gdb/22670
5224 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5225 exercise lower case too, and to exercise both full matching and
5226 wild matching.
5227
342f8240
JB
52282018-01-05 Joel Brobecker <brobecker@adacore.com>
5229
5230 * gdb.ada/rename_subscript_param: New testcase.
5231
7150d33c
JG
52322018-01-05 Jerome Guitton <guitton@adacore.com>
5233
5234 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5235
cc0e770c
JB
52362018-01-05 Joel Brobecker <brobecker@adacore.com>
5237
5238 * gdb.ada/convvar_comp: New testcase.
5239
672a41aa 52402018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
5241
5242 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5243 (My_Table): New global variable.
5244 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5245
7365ec2f
JB
52462018-01-04 Joel Brobecker <brobecker@adacore.com>
5247
5248 PR gdb/22670
5249 * gdb.ada/maint_with_ada: New testcase.
5250
289483b6
JB
52512018-01-04 Joel Brobecker <brobecker@adacore.com>
5252
5253 PR gdb/22670
5254 * gdb.ada/bp_c_mixed_case: New testcase.
5255
344420da
JB
52562018-01-04 Joel Brobecker <brobecker@adacore.com>
5257
5258 PR gdb/22670
5259 * gdb.ada/complete.exp: Add "complete break ada" test.
5260
66fc87a0
JB
52612018-01-04 Joel Brobecker <brobecker@adacore.com>
5262
5263 PR gdb/22670
5264 * gdb.ada/info_addr_mixed_case: New testcase.
5265
9f757bf7
XR
52662018-01-03 Xavier Roirand <roirand@adacore.com>
5267
5268 * gdb.ada/excep_handle.exp: New testcase.
5269 * gdb.ada/excep_handle/foo.adb: New file.
5270 * gdb.ada/excep_handle/pck.ads: New file.
5271
bd570f80
JB
52722018-01-03 Joel Brobecker <brobecker@adacore.com>
5273
5274 * gdb.base/step-line.c: Add extra empty line in copyright header.
5275 * gdb.base/step-line.inp: Likewise.
5276
9fe561ab
JB
52772018-01-02 Joel Brobecker <brobecker@adacore.com>
5278
5279 * gdb.ada/dyn_stride.exp: Add slice test.
5280
a405673c
JB
52812018-01-02 Joel Brobecker <brobecker@adacore.com>
5282
5283 * gdb.ada/dyn_stride: New testcase.
5284
cef0f868
SH
52852017-12-27 Stafford Horne <shorne@gmail.com>
5286
5287 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5288 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5289
b67d92b0
SH
52902017-12-27 Stafford Horne <shorne@gmail.com>
5291
5292 * gdb.base/reggroups.c: New file.
5293 * gdb.base/reggroups.exp: New file.
5294
eccab96d
JB
52952017-12-18 Joel Brobecker <brobecker@adacore.com>
5296
5297 * gdb.dwarf2/ada-valprint-error.c: New file.
5298 * gdb.dwarf2/ada-valprint-error.exp: New file.
5299
0e2da9f0
JB
53002017-12-18 Joel Brobecker <brobecker@adacore.com>
5301
5302 * gdb.ada/assign_arr: New testcase.
5303
cb923fcc
XR
53042017-12-18 Xavier Roirand <roirand@adacore.com>
5305
5306 * gdb.ada/funcall_ptr: New testcase.
5307
7c161838
SDJ
53082017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5309
5310 PR cli/16224
5311 * gdb.base/ptype-offsets.cc: New file.
5312 * gdb.base/ptype-offsets.exp: New file.
5313
1af17fd9
YQ
53142017-12-15 Yao Qi <yao.qi@linaro.org>
5315
5316 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5317 if XML is disabled.
5318
828d5846
XR
53192017-12-15 Xavier Roirand <roirand@adacore.com>
5320
5321 * gdb.ada/same_component_name: New testcase.
5322
79e8fcaa
JB
53232017-12-14 Joel Brobecker <brobecker@adacore.com>
5324
5325 * gdb.ada/str_binop_equal: New testcase.
5326
e05fa6f9
JB
53272017-12-14 Joel Brobecker <brobecker@adacore.com>
5328
5329 * gdb.ada/task_switch_in_core: New testcase.
5330
b89641ba
SM
53312017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5332
5333 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5334 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5335 call test_bkpt_qualified.
5336 (test_bkpt_qualified): New proc.
5337
6892d2e4
PA
53382017-12-13 Pedro Alves <palves@redhat.com>
5339
5340 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5341 Tighten regexp by matching with an anchor.
5342
a22ecf70
PA
53432017-12-13 Pedro Alves <palves@redhat.com>
5344
5345 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5346 ("expression with namespace"): New set of tests.
5347 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5348 (Nested::Test_NS::qux): New.
5349 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5350 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5351
9937536c
JB
53522017-12-13 Joel Brobecker <brobecker@adacore.com>
5353
5354 * gdb.base/server-del-break.c: New file.
5355 * gdb.base/server-del-break.exp: New file.
5356
fe49c6f5
SH
53572017-12-12 Stafford Horne <shorne@gmail.com>
5358
5359 * gdb.xml/tdesc-regs.exp: Add or1k support.
5360
c3d18620
SH
53612017-12-12 Stafford Horne <shorne@gmail.com>
5362
5363 * gdb.base/bp-permanent.c: Define nop of or1k.
5364
c5f9cfc8
JB
53652017-12-11 Joel Brobecker <brobecker@adacore.com>
5366
5367 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5368 output with components being reordered.
5369
a9c135fc
JB
53702017-12-11 Joel Brobecker <brobecker@adacore.com>
5371
5372 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5373 output with components being reordered.
5374
927aa2e7
JK
53752017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5376 Pedro Alves <palves@redhat.com>
5377
5378 * gdb.base/maint.exp (check for .gdb_index): Check also for
5379 .debug_names.
5380 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5381 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5382 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5383 (.gdb_index used after symbol reloading): Support also .debug_names.
5384 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5385
f17d9474
YQ
53862017-12-08 Yao Qi <yao.qi@linaro.org>
5387
5388 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5389 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5390
a0de8c21
YQ
53912017-12-08 Yao Qi <yao.qi@linaro.org>
5392
5393 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5394 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5395
a738ea1d
YQ
53962017-12-08 Yao Qi <yao.qi@linaro.org>
5397
5398 * gdb.arch/aarch64-tagged-pointer.c: New file.
5399 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5400
1cd9a73b
SDJ
54012017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5402
5403 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5404 "int".
5405
fa6eb693
KS
54062017-12-07 Keith Seitz <keiths@redhat.com>
5407
5408 PR breakpoints/22569
5409 * gdb.linespec/ls-errs.exp: Change expected result of "break
5410 -source this file has spaces.c -line 3".
5411 Check that an explicit source file followed by whitespace is
5412 identified as an invalid explicit location.
5413
883fd55a
KS
54142017-12-07 Keith Seitz <keiths@redhat.com>
5415
5416 * gdb.cp/nested-types.cc: New file.
5417 * gdb.cp/nested-types.exp: New file.
5418 * lib/cp-support.exp: Load data-structures.exp library.
5419 (debug_cp_test_ptype_class): New global.
5420 (cp_ptype_class_verbose, next_line): New procedures.
5421 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5422 Add and document new return value.
5423 Switch the list of lines to a queue.
5424 Add support for new `type' key for nested type definitions.
5425 Add debugging/troubleshooting messages.
5426 * lib/data-structures.exp: New file.
5427
ec72db3e
SM
54282017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5429
5430 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5431 with proc_with_prefix, don't use with_test_prefix.
5432
99598d71
TT
54332017-12-07 Tom Tromey <tom@tromey.com>
5434
5435 * gdb.base/break.exp: Add test for empty "commands".
5436
a8806230
YQ
54372017-12-07 Yao Qi <yao.qi@linaro.org>
5438
5439 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5440 malloc and catch syscall.
5441
824cc835
PM
54422017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5443
e79be6e5 5444 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
5445 tests for explicit locations.
5446
7cc244de
PA
54472017-12-06 Pedro Alves <palves@redhat.com>
5448
5449 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5450 force-disabling XML descriptions.
5451
50a1fdd5
PA
54522017-12-04 Pedro Alves <palves@redhat.com>
5453
5454 PR gdb/22499
5455 * gdb.arch/amd64-disp-step-avx.S: New file.
5456 * gdb.arch/amd64-disp-step-avx.exp: New file.
5457
f0fb2488
PA
54582017-12-03 Pedro Alves <palves@redhat.com>
5459
5460 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5461 and <string.h>.
5462 (parent_function): Print distinct messages when waitpid fails, or
5463 the child exits with a signal, or the child exits for an unhandled
5464 reason.
5465 * gdb.threads/process-dies-while-detaching.exp
5466 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5467 it. Wait for both inferior output and GDB's prompt. Use an
5468 indirect spawn id list.
5469 (do_detach): New parameter 'child_exit'. Use it to compute
5470 expected inferior output.
5471 (test_detach, test_detach_watch, test_detach_killed_outside):
5472 Adjust to pass down the expected child exit kind.
5473
97cbe998
SDJ
54742017-12-01 Joel Brobecker <brobecker@adacore.com>
5475 Sergio Durigan Junior <sergiodj@redhat.com>
5476 Pedro Alves <palves@redhat.com>
5477
5478 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5479
40fc416f
SDJ
54802017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5481
5482 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5483 to 'symbol-file' and 'add-symbol-file' can be
5484 position-independent.
5485
1cc75e92
YQ
54862017-12-01 Yao Qi <yao.qi@linaro.org>
5487
5488 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5489 the URL in copyright header.
5490 * gdb.arch/aarch64-fp.exp: Likewise.
5491 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5492 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5493 * gdb.base/expand-psymtabs.exp: Likewise.
5494 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5495 * gdb.fortran/common-block.exp: Likewise.
5496 * gdb.fortran/common-block.f90: Likewise.
5497 * gdb.fortran/logical.exp: Likewise.
5498 * gdb.fortran/vla-datatypes.f90: Likewise.
5499 * gdb.fortran/vla-sub.f90: Likewise.
5500
875fb7a7
JB
55012017-11-30 Joel Brobecker <brobecker@adacore.com>
5502
5503 * gdb.ada/repeat_dyn: New testcase.
5504
6f14765f
UW
55052017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5506
5507 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5508 Update for changed thread numbering.
5509 * gdb.cell/bt.exp: Update for changed GDB output.
5510
f1af7b94
SM
55112017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5512
5513 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5514 setting isremote by hand.
5515 * boards/dwarf4-gdb-index.exp: Likewise.
5516 * boards/fission.exp: Likewise.
5517 * boards/stabs.exp: Likewise.
5518
e3919f3e
PA
55192017-11-30 Pedro Alves <palves@redhat.com>
5520
5521 * gdb.linespec/cpls-ops.exp
5522 (check_explicit_skips_function_argument): Extract the underlying
5523 type of size_t instead of hardcoding it.
5524
bd69330d
PA
55252017-11-29 Pedro Alves <palves@redhat.com>
5526
5527 PR c++/19436
5528 * gdb.linespec/cpls-abi-tag.cc: New file.
5529 * gdb.linespec/cpls-abi-tag.exp: New file.
5530
a20714ff
PA
55312017-11-29 Pedro Alves <palves@redhat.com>
5532
5533 * gdb.base/langs.exp: Use -qualified.
5534 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5535 it.
5536 * gdb.cp/namespace.exp: Use -qualified.
5537 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5538 (overload-3, template-overload, template-ret-type, const-overload)
5539 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5540 procedures.
5541 (test_driver): Call them.
5542 * gdb.cp/save-bp-qualified.cc: New.
5543 * gdb.cp/save-bp-qualified.exp: New.
5544 * gdb.linespec/explicit.exp: Test -qualified.
5545 * lib/completion-support.exp (completion::explicit_opts_list): Add
5546 "-qualified".
5547 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5548
f6f1d339
PM
55492017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5550
5551 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5552
02ca603a
TT
55532017-11-29 Tom Tromey <tom@tromey.com>
5554
5555 * gdb.base/relocate.exp: Update invalid argument test.
5556 Add new tests for invalid arguments.
5557
ed6c0bfb
TP
55582017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5559
5560 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5561 Return 0 as a long.
5562 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5563
f106e10e
TP
55642017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5565
5566 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5567 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5568 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5569 func ().
5570 * gdb.cp/shadow.cc (B.func): Return 0.
5571
10329bb2
JB
55722017-11-27 Joel Brobecker <brobecker@adacore.com>
5573
5574 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5575 expected output in gdb_expect call to allow the exception
5576 message to be present as well. Fix syntax confusion to avoid
5577 TCL thinking that exception_name is an array.
5578
617cd4bc
UW
55792017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5580
5581 * gdb.arch/spu-info.c: Include <unistd.h>.
5582 (do_signal_test): Fix broken calls to write.
5583 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5584 Fix checks for empty mailboxes. Update signal tests for corrected
5585 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
5586 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5587 * gdb.cell/arch.exp: Use standard_output_file.
5588 * gdb.cell/break.exp: Likewise.
5589 * gdb.cell/bt.exp: Likewise.
5590 * gdb.cell/core.exp: Likewise.
5591 * gdb.cell/dwarfaddr.exp: Likewise.
5592 * gdb.cell/ea-cache.exp: Likewise.
5593 * gdb.cell/ea-standalone.exp: Likewise.
5594 * gdb.cell/f-regs.exp: Likewise.
5595 * gdb.cell/fork.exp: Likewise.
5596 * gdb.cell/gcore.exp: Likewise.
5597 * gdb.cell/mem-access.exp: Likewise.
5598 * gdb.cell/ptype.exp: Likewise.
5599 * gdb.cell/registers.exp: Likewise.
5600 * gdb.cell/sizeof.exp: Likewise.
5601 * gdb.cell/solib-symbol.exp: Likewise.
5602 * gdb.cell/solib.exp: Likewise.
617cd4bc 5603
a81aaca0
PA
56042017-11-25 Pedro Alves <palves@redhat.com>
5605
5606 * gdb.base/complete-empty.exp: New file.
5607 * gdb.base/completion.exp: Adjust.
5608
6a3c6ee4
PA
56092017-11-25 Pedro Alves <palves@redhat.com>
5610
5611 * gdb.linespec/cpls-ops.cc: New file.
5612 * gdb.linespec/cpls-ops.exp: New file.
5613 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5614 factored out from ...
5615 (test_complete_prefix_range): ... this.
5616
8955eb2d
PA
56172017-11-24 Pedro Alves <palves@redhat.com>
5618
5619 * gdb.linespec/cpcompletion.exp: New file.
5620 * gdb.linespec/cpls-hyphen.cc: New file.
5621 * gdb.linespec/cpls.cc: New file.
5622 * gdb.linespec/cpls2.cc: New file.
5623 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5624 test to use test_gdb_complete_unique. Add label completion,
5625 keyword completion and explicit location completion tests.
5626 * lib/completion-support.exp: New file.
5627
e547c119
JB
56282017-11-24 Joel Brobecker <brobecker@adacore.com>
5629
5630 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5631 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5632 when hitting an exception catchpoint.
5633
7c3c1aa8
YQ
56342017-11-22 Yao Qi <yao.qi@linaro.org>
5635
5636 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5637
41bd68f5
SM
56382017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5639
5640 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5641 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5642 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5643
1daad298
YQ
56442017-11-22 Yao Qi <yao.qi@linaro.org>
5645
5646 * gdb.base/info-os.exp: Pass pthreads.
5647 * gdb.multi/multi-attach.exp: Likewise.
5648
88465e87
YQ
56492017-11-22 Yao Qi <yao.qi@linaro.org>
5650
5651 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5652 compiler.
5653
dc196b23
YQ
56542017-11-22 Yao Qi <yao.qi@linaro.org>
5655
5656 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5657 * gdb.base/break-interp.exp: Likewise.
5658 * gdb.base/jit-attach-pie.exp: Likewise.
5659
2400729e
UW
56602017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5661
5662 * gdb.base/float128.c (large128): New variable.
5663 * gdb.base/float128.exp: Add test to print largest __float128 value.
5664
7a26362d
UW
56652017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5666
5667 * gdb.arch/vsx-regs.exp: Update register content checks.
5668
ed0f4273
UW
56692017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5670
5671 * gdb.arch/ppc-longdouble.exp: New file.
5672 * gdb.arch/ppc-longdouble.c: Likewise.
5673
a25d69c6
PA
56742017-11-21 Pedro Alves <palves@redhat.com>
5675
5676 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5677
73fcf641
PA
56782017-11-20 Pedro Alves <palves@redhat.com>
5679
5680 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5681 (long_double_typedef): New typedefs.
5682 Use DEF on double and long double.
5683 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5684 cases.
5685 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5686 and 'long_double_ptr_same_size' locals. Use them to decide
5687 whether cast from array/function to float is valid/invalid.
5688
71a3c369
TT
56892017-11-17 Tom Tromey <tom@tromey.com>
5690
5691 * gdb.rust/traits.rs: New file.
5692 * gdb.rust/traits.exp: New file.
5693
ced9779b
JB
56942017-11-17 Joel Brobecker <brobecker@adacore.com>
5695
5696 * gdb.ada/minsyms: New testcase.
5697
a0922d80
PA
56982017-11-16 Pedro Alves <palves@redhat.com>
5699
5700 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5701 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5702
ea04e54c
PA
57032017-11-16 Pedro Alves <palves@redhat.com>
5704
5705 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5706 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5707
e849ea89
PA
57082017-11-16 Pedro Alves <palves@redhat.com>
5709
5710 * gdb.server/reconnect-ctrl-c.c: New file.
5711 * gdb.server/reconnect-ctrl-c.exp: New file.
5712
d8ae99a7
PM
57132017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5714
5715 * gdb.python/py-rbreak.exp: New file.
5716 * gdb.python/py-rbreak.c: New file.
5717 * gdb.python/py-rbreak-func2.c: New file.
5718
968a13f8
PA
57192017-11-16 Pedro Alves <palves@redhat.com>
5720
5721 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5722 pattern.
5723 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5724 GDB.
5725
71774bc9
SM
57262017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5727
5728 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5729 regex.
5730
ddbb44cf
SM
57312017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5732
5733 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5734 test names.
5735
584a564f
PA
57362017-11-09 Pedro Alves <palves@redhat.com>
5737
5738 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5739 factored out from ...
5740 (top level): ... here, and adjusted to avoid expecting beyond the
5741 prompt in a single gdb_test_multiple.
5742
5ed7a928
PA
57432017-11-09 Pedro Alves <palves@redhat.com>
5744
5745 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5746 output.
5747 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5748 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5749 * gdb.server/ext-run.exp ("kill" test): Likewise.
5750 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5751
a60e0738
PA
57522017-11-09 Pedro Alves <palves@redhat.com>
5753
5754 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5755 match till end of line.
5756
2c88253f
PA
57572017-11-09 Pedro Alves <palves@redhat.com>
5758
5759 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5760
c7a38517
PA
57612017-11-09 Pedro Alves <palves@redhat.com>
5762
5763 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5764 New procedures, factored out from ...
5765 (top level): ... here, and adjusted to avoid expecting beyond the
5766 prompt in one go.
5767
f29f4b6b
PA
57682017-11-09 Pedro Alves <palves@redhat.com>
5769
5770 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5771 output. Fix '?' match.
5772
286acbb5
JB
57732017-11-08 Joel Brobecker <brobecker@adacore.com>
5774
5775 * gdb.ada/scoped_watch: New testcase.
5776 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5777 which is actually correct.
5778 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5779 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5780
62d7ae92
PA
57812017-11-08 Pedro Alves <palves@redhat.com>
5782
5783 * gdb.gdb/complaints.exp (test_initial_complaints)
5784 (test_serial_complaints, test_short_complaints): Call
5785 complaint_internal instead of complaint.
5786
280ca31f
DT
57872017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5788
5789 * gdb.threads/tls-core.c: New file.
5790 * gdb.threads/tls-core.exp: Likewise.
5791
b5ec771e
PA
57922017-11-08 Pedro Alves <palves@redhat.com>
5793
5794 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5795 (p Exported_Capitalized): New test.
5796 (p exported_capitalized): New test.
5797
a02b41a7
PA
57982017-11-07 Pedro Alves <palves@redhat.com>
5799
5800 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5801
95e95a6d
PA
58022017-11-07 Pedro Alves <palves@redhat.com>
5803
5804 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5805 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5806 (disable_invalid, disable_inverted, disable_negative): New
5807 procedures.
5808 ("bad numbers"): New set of tests.
5809
cee62dbd
PA
58102017-11-07 Pedro Alves <palves@redhat.com>
5811
5812 * gdb.cp/ena-dis-br-range.exp: Add tests.
5813
cc638e86
PA
58142017-11-07 Pedro Alves <palves@redhat.com>
5815
5816 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5817
d0fe4701
XR
58182017-11-07 Xavier Roirand <roirand@adacore.com>
5819 Pedro Alves <palves@redhat.com>
5820
5821 * gdb.base/ena-dis-br.exp: Add reference to
5822 gdb.cp/ena-dis-br-range.exp.
5823 * gdb.cp/ena-dis-br-range.exp: New file.
5824 * gdb.cp/ena-dis-br-range.cc: New file.
5825
46f67f80
PA
58262017-11-06 Pedro Alves <palves@redhat.com>
5827
5828 * gdb.base/attach-non-pgrp-leader.c: New.
5829 * gdb.base/attach-non-pgrp-leader.exp: New.
5830
726e1356
PA
58312017-11-06 Pedro Alves <palves@redhat.com>
5832
5833 * configure.ac: No longer check for termio.h and sgtty.h.
5834 * configure: Regenerate.
5835 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5836 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5837 Remove termio and sgtty code.
5838
50ab6ace
YQ
58392017-11-03 Yao Qi <yao.qi@linaro.org>
5840
5841 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5842 in GDB is disabled.
5843
8e68731c
YQ
58442017-11-03 Yao Qi <yao.qi@linaro.org>
5845
5846 * gdb.python/py-thrhandle.exp: Skip it if python is not
5847 enabled.
5848
3a87ae65
SM
58492017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5850
5851 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5852 as a breakpoint command.
5853
484d8d36
MD
58542017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5855
5856 PR python/21213
5857 * gdb.python/py-infthread.exp: Test calling
5858 InferiorThread.inferior () multiple times in a row.
5859
4a27f119
KS
58602017-10-27 Keith Seitz <keiths@redhat.com>
5861
5862 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5863 Test "info break" for every inlined function breakpoint.
5864
bb11dd58
YQ
58652017-10-27 Yao Qi <yao.qi@linaro.org>
5866
5867 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5868
a43f3893
PF
58692017-10-26 Patrick Frants <osscontribute@gmail.com>
5870
5871 * gdb.cp/classes.exp (test_static_members): Test printing
5872 Outer::instance.
5873 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5874 (Inner::instance, Outer::instance): New.
5875
792ccf00
PA
58762017-10-24 Pedro Alves <palves@redhat.com>
5877
5878 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5879 extra console" test in two stages.
5880
eb2bfbad
PA
58812017-10-24 Pedro Alves <palves@redhat.com>
5882
5883 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5884
1f75a651
PA
58852017-10-24 Pedro Alves <palves@redhat.com>
5886
5887 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5888 loop.
5889
779990d9
PA
58902017-10-24 Pedro Alves <palves@redhat.com>
5891
5892 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5893 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5894
ad9b8f5d
PA
58952017-10-24 Pedro Alves <palves@redhat.com>
5896
5897 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5898 parameter and handle it. Don't output read value in test name.
5899
fee6da6e
PA
59002017-10-24 Pedro Alves <palves@redhat.com>
5901
5902 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5903 custom test name.
5904
10389c2c
PA
59052017-10-24 Pedro Alves <palves@redhat.com>
5906
5907 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5908 include the unstable output directory name in the test's name.
5909 (initial_setup_simple) <'set args'>: Use custom test name.
5910
a80e65a9
PA
59112017-10-24 Pedro Alves <palves@redhat.com>
5912
5913 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5914 with explicit test name.
5915
15763a09
PA
59162017-10-20 Pedro Alves <palves@redhat.com>
5917
5918 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5919 'wait -i'. Use gdb_assert and remote_close.
5920
49a4ce2e
AB
59212017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5922
5923 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5924 number from variable rather than hard-coded.
5925
a75868f5
PA
59262017-10-19 Pedro Alves <palves@redhat.com>
5927
5928 * gdb.base/long-inferior-output.c: New file.
5929 * gdb.base/long-inferior-output.exp: New file.
5930
c8ba13ad
KS
59312017-11-18 Keith Seitz <keiths@redhat.com>
5932
5933 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5934 method.
5935 (main): Call it.
5936 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5937 Add additional user-defined conversion operator tests.
5938
b27de576
PA
59392017-10-17 Pedro Alves <palves@redhat.com>
5940
5941 * boards/native-stdio-gdbserver.exp: Load "local-board".
5942
8484c955
PA
59432017-10-17 Pedro Alves <palves@redhat.com>
5944
5945 * gdb.base/quit-live.c: New file.
5946 * gdb.base/quit-live.exp: New file.
5947
83d5a34d
KS
59482017-10-16 Keith Seitz <keiths@redhat.com>
5949
5950 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5951 (class_with_protected_typedef, class_with_private_typedef)
5952 (struct_with_public_typedef, struct_with_protected_typedef)
5953 (struct_with_private_typedef): New classes/structs.
5954 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5955 typedefs and access specifiers.
5956
739b3f1d
PA
59572017-10-16 Pedro Alves <palves@redhat.com>
5958 Simon Marchi <simon.marchi@polymtl.ca>
5959
5960 * README (Local vs Remote vs Native): New section.
5961 * boards/local-board.exp: New file, with bits factored out from
5962 ...
5963 * boards/native-extended-gdbserver.exp: ... here. Load
5964 "local-board".
5965 * boards/native-gdbserver.exp: Load "local-board".
5966 (${board}_spawn, ${board}_exec): Delete.
5967 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5968 ...
5969 * boards/stdio-gdbserver-base.exp: ... this new file.
5970 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5971 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5972 procedure.
5973 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5974 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5975 stdio_gdbserver_command.
5976 (${board}_get_remote_address, ${board}_get_comm_port)
5977 (${board}_download, ${board}_upload): Delete.
5978 (get_target_remote_pipe_cmd): New.
5979
fe68b953
SM
59802017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5981
5982 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5983 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5984 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5985 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5986 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5987 remove with_test_prefix.
5988
300b6685
PA
59892017-10-13 Pedro Alves <palves@redhat.com>
5990
5991 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5992 * gdb.base/annota1.exp: Use it instead of is_remote.
5993 * gdb.base/annota3.exp: Use it instead of is_remote.
5994 * gdb.cp/annota2.exp: Use it instead of is_remote.
5995 * gdb.cp/annota3.exp: Use it instead of is_remote.
5996 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5997
50500caf
PA
59982017-10-13 Pedro Alves <palves@redhat.com>
5999
6000 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6001 (test_num_test_vars, run_and_count_vars, find_env)
6002 (test_set_unset_env, test_inherit_env_var): New procedures.
6003 (top level): Use them.
6004
dad0c6d2
PA
60052017-10-13 Pedro Alves <palves@redhat.com>
6006
6007 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6008 also skip on stub-like targets.
6009
8b0553c1
PA
60102017-10-13 Pedro Alves <palves@redhat.com>
6011
6012 PR gdb/22293
6013 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6014 (top level): Move some tests to ...
6015 (test_not_found): ... this new procedure.
6016 (top level): Call it.
6017
7594f623
PA
60182017-10-13 Pedro Alves <palves@redhat.com>
6019
6020 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6021 expect different "info terminal" output if testing with a
6022 non-native target.
6023
ebe3b402
PA
60242017-10-13 Pedro Alves <palves@redhat.com>
6025 Simon Marchi <simon.marchi@polymtl.ca>
6026
6027 PR python/12966
6028 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6029
42f1b161
PA
60302017-10-13 Pedro Alves <palves@redhat.com>
6031
6032 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6033 already.
6034
8d6ef72b
PA
60352017-10-13 Pedro Alves <palves@redhat.com>
6036
6037 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6038 is_remote.
6039
d7bcd5b8
PA
60402017-10-13 Pedro Alves <palves@redhat.com>
6041
6042 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6043 is_remote.
6044
df479dc6
PA
60452017-10-13 Pedro Alves <palves@redhat.com>
6046
6047 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6048 is set.
6049 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6050 instead of is_remote.
6051
23fb630a
PA
60522017-10-13 Pedro Alves <palves@redhat.com>
6053
6054 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6055 (top level): Add comment.
6056
cc77b1dc
PA
60572017-10-13 Pedro Alves <palves@redhat.com>
6058
6059 * gdb.base/remote.exp (top level): Fix comment typo and add
6060 missing return.
6061
27c9e813
PA
60622017-10-13 Pedro Alves <palves@redhat.com>
6063 Simon Marchi <simon.marchi@polymtl.ca>
6064
6065 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6066 calls and add comments. Skip test if use_gdb_stub is set.
6067 (top level): Use "set cwd" command instead of "cd" command.
6068
5e830d98
PA
60692017-10-13 Pedro Alves <palves@redhat.com>
6070
6071 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6072 is_remote target check.
6073
f5ca0032
PA
60742017-10-13 Pedro Alves <palves@redhat.com>
6075
6076 * gdb.base/scope.exp: Use build_executable + clean_restart +
6077 gdb_file_cmd instead of prepare_for_testing and no longer skip
6078 "before run" tests on is_remote target boards. Update comments.
6079 * boards/native-extended-gdbserver.exp
6080 (extended_gdbserver_load_last_file): New, factored out from ...
6081 (gdb_load): ... this. Move further below and add comment.
6082 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6083
8aed1c0d
PA
60842017-10-12 Pedro Alves <palves@redhat.com>
6085
6086 * gdb.base/attach.exp: Remove references to gdb64.
6087 * gdb.base/dbx.exp: Remove references to gdb64.
6088
cfa34c87
SM
60892017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6090 Pedro Alves <palves@redhat.com>
6091
6092 * gdb.base/label.exp: Remove is_remote target check.
6093
9192b7de
PA
60942017-10-12 Pedro Alves <palves@redhat.com>
6095
6096 * gdb.base/auvx.exp (coredir): Update comment.
6097 (top level) <core_works>: Use "set cwd" command instead of "cd"
6098 command.
6099
6bf0052d
PA
61002017-10-12 Pedro Alves <palves@redhat.com>
6101 Simon Marchi <simon.marchi@polymtl.ca>
6102
6103 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6104 target boards.
6105
e48ef82d
PA
61062017-10-12 Pedro Alves <palves@redhat.com>
6107 Simon Marchi <simon.marchi@polymtl.ca>
6108
6109 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6110 Instead skip if there's any gdb_protocol set.
6111
8d7aea57
SM
61122017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6113 Pedro Alves <palves@redhat.com>
6114
6115 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6116
30440677
PA
61172017-10-12 Pedro Alves <palves@redhat.com>
6118 Simon Marchi <simon.marchi@polymtl.ca>
6119
6120 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6121 instead of on dejagnu remote boards.
6122
4e04f045 61232017-10-12 Pedro Alves <palves@redhat.com>
175654b9 6124 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
6125
6126 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6127 checks. Use build_executable + clean_restart instead of
6128 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6129 of enabling non-stop after starting gdb.
6130
871a186e
PA
61312017-10-12 Pedro Alves <palves@redhat.com>
6132
6133 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6134 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6135 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6136 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6137
56d704da
AK
61382017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6139
6140 * gdb.arch/arc-tdesc-cpu.exp: New file.
6141 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6142
2f20e312
SM
61432017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6144
6145 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6146
65630365
PA
61472017-10-10 Pedro Alves <palves@redhat.com>
6148
6149 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6150 expect CLI output.
6151
bf469271
PA
61522017-10-10 Pedro Alves <palves@redhat.com>
6153
6154 * lib/selftest-support.exp (selftest_setup): Update for
6155 captured_command_loop's prototype change.
6156
777a42f1
PA
61572017-10-09 Pedro Alves <palves@redhat.com>
6158
6159 Test both arch1=>arch2 and arch2=>arch1.
6160
6161 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6162 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6163 factored out to...
6164 (append_arch1_options, append_arch2_options, append_arch_options)
6165 (build_executables): New procedures.
6166 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6167 local.
6168 (top level): Add new 'first_arch' testing axis.
6169
cbd2b4e3
PA
61702017-10-09 Pedro Alves <palves@redhat.com>
6171
6172 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6173 (barrier): New.
6174 (thread_start, all_started): New functions.
6175 (main): Spawn new thread and wait until it is scheduled.
6176 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6177 option.
6178 (do_test): Add 'selected_thread' parameter. Run to all_started
6179 instead of main. Explicitly set the breakpoint at main. Switch
6180 to the SELECTED_THREAD thread.
6181 (top level): Test handling the exec event with either the main
6182 thread or the second thread selected.
6183
5c9e4427
PA
61842017-10-09 Pedro Alves <palves@redhat.com>
6185
6186 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6187 logic. Move STOP marker after the value checks.
6188 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6189 regexp.
6190
b3b7c423
SL
61912017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6192
6193 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6194
3b4b2f16
UW
61952017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6196
6197 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6198 integer-to-dfp conversion.
6199 * gdb.base/dfp-test.exp: Likewise.
6200
5cd63fda
PA
62012017-10-04 Pedro Alves <palves@redhat.com>
6202
6203 * gdb.multi/hangout.c: Include <unistd.h>.
6204 (hangout_loop): New function.
6205 (main): Call alarm. Call hangout_loop in a loop.
6206 * gdb.multi/hello.c: Include <unistd.h>.
6207 (hello_loop): New function.
6208 (main): Call alarm. Call hangout_loop in a loop.
6209 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6210 inferior with the other selected.
6211
4c71c105
SM
62122017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6213
6214 * gdb.mi/list-thread-groups-available.exp: New file.
6215 * gdb.mi/list-thread-groups-available.c: New file.
6216
bc3b087d
SDJ
62172017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6218
6219 * gdb.base/set-cwd.exp: Make it available on
6220 native-extended-gdbserver.
6221
d092c5a2
SDJ
62222017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6223
6224 * gdb.base/set-cwd.c: New file.
6225 * gdb.base/set-cwd.exp: Likewise.
6226
45320ffa
TT
62272017-10-02 Tom Tromey <tom@tromey.com>
6228
6229 PR rust/22236:
6230 * gdb.rust/simple.rs (main): New variable "fslice".
6231 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6232
b3e3859b
TT
62332017-10-02 Tom Tromey <tom@tromey.com>
6234
6235 * gdb.rust/simple.exp: Test ptype of a slice.
6236
01af5e0d
TT
62372017-10-02 Tom Tromey <tom@tromey.com>
6238
6239 * gdb.rust/simple.exp: Test index of slice.
6240
a9bbfbd8
TT
62412017-09-27 Tom Tromey <tom@tromey.com>
6242
6243 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6244
df8899e5
TP
62452017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6246 Pedro Alves <palves@redhat.com>
6247
6248 * gdb.base/compare-sections.exp (get value of read-only section): Read
6249 as unsigned value.
6250 (corrupt read-only section): Likewise and don't set written if patching
6251 failed.
6252
757bf54b
KB
62532017-09-21 Kevin Buettner <kevinb@redhat.com>
6254
6255 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6256 files.
6257
06871ae8
PA
62582017-09-20 Pedro Alves <palves@redhat.com>
6259
6260 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6261 symbol names in gdb's output.
6262 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6263
e5f25bc5
PA
62642017-09-20 Pedro Alves <palves@redhat.com>
6265
6266 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6267 Rename to ...
6268 (test_list_ambiguous_symbol): ... this and add a symbol name
6269 parameter. Adjust.
6270 (test_list_ambiguous_function): Reimplement on top of
6271 test_list_ambiguous_symbol and also test listing ambiguous
6272 variables.
6273 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6274 (ambiguous_fun): ... this.
6275 (ambiguous_var): New.
6276 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6277 (ambiguous_fun): ... this.
6278 (ambiguous_var): New.
6279
4e5a4f58
JB
62802017-09-19 John Baldwin <jhb@FreeBSD.org>
6281
6282 * gdb.base/starti.c: New file.
6283 * gdb.base/starti.exp: New file.
6284 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6285
26e53f3e
PA
62862017-09-14 Pedro Alves <palves@redhat.com>
6287
6288 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6289 (top level): Use it instead of runto.
6290
cb791d59
TT
62912017-09-11 Tom Tromey <tom@tromey.com>
6292
6293 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6294
7c96f8c1
TT
62952017-09-11 Tom Tromey <tom@tromey.com>
6296
6297 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6298 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6299
469412dd
CW
63002017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6301
6302 * gdb.fortran/printing-types.exp: New file.
6303 * gdb.fortran/printing-types.exp: New file.
6304
e0f86435
BH
63052017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6306
6307 * gdb.fortran/vla-ptype.exp: Fix typos.
6308 * gdb.fortran/vla-value.exp: Same.
6309
9e9af4be
BH
63102017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6311
6312 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6313 * gdb.mi/mi-var-child-f.exp: Likewise.
6314 * gdb.mi/mi-vla-fortran.exp: Likewise.
6315
a5ad232b 63162017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
6317 Christoph Weinmann <christoph.t.weinmann@intel.com>
6318 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
6319
6320 * gdb.fortran/ptr-indentation.f90: New file.
6321 * gdb.fortran/ptr-indentation.exp: New file.
6322
5aec60eb
TT
63232017-09-05 Tom Tromey <tom@tromey.com>
6324
6325 PR gdb/22010:
6326 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6327
8f8f8152
TP
63282017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6329
6330 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6331
fbd1b771
JK
63322017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6333
6334 * gdb.threads/tls-nodebug-pie.c: New file.
6335 * gdb.threads/tls-nodebug-pie.exp: New file.
6336
5eb5f850
TT
63372017-09-05 Tom Tromey <tom@tromey.com>
6338
6339 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6340 for rust.
6341
ae780a21
SM
63422017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6343
6344 * gdb.multi/multi-arch-exec.exp: Test with different
6345 "follow-exec-mode" settings.
6346 (do_test): New procedure.
6347
3693fdb3
PA
63482017-09-04 Pedro Alves <palves@redhat.com>
6349
6350 * gdb.base/func-static.c (S::method const, S::method volatile)
6351 (S::method volatile const): New methods.
6352 (c_s, v_s, cv_s): New instances.
6353 (main): Call method() on them.
6354 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6355 (cannot_resolve): New procedure.
6356 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6357 print-quote-unquoted columns.
6358 (do_test): Test printing each scope too.
6359
e68cb8e0
PA
63602017-09-04 Pedro Alves <palves@redhat.com>
6361
6362 * gdb.base/local-static.exp: Also test with
6363 class::method::variable wholly quoted.
6364 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6365
858be34c
PA
63662017-09-04 Pedro Alves <palves@redhat.com>
6367
6368 * gdb.base/local-static.c: New.
6369 * gdb.base/local-static.cc: New.
6370 * gdb.base/local-static.exp: New.
6371
46a4882b
PA
63722017-09-04 Pedro Alves <palves@redhat.com>
6373
6374 * gdb.asm/asm-source.exp: Add casts to int.
6375 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6376 (dataglobal64_1, dataglobal64_2): New globals.
6377 * gdb.base/nodebug.exp: Test different expressions involving the
6378 new globals, with print, whatis and ptype. Add casts to int.
6379 * gdb.base/solib-display.exp: Add casts to int.
6380 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6381 * gdb.cp/m-static.exp: Add cast to int.
6382 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6383 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6384 tls variable with no debug info without a cast. Test with a cast
6385 to int too.
6386 * gdb.trace/entry-values.exp: Add casts.
6387
2c5a2be1
PA
63882017-09-04 Pedro Alves <palves@redhat.com>
6389
6390 * gdb.base/nodebug.exp: Test that ptype's error about functions
6391 with unknown return type includes the function name too.
6392
7022349d
PA
63932017-09-04 Pedro Alves <palves@redhat.com>
6394
6395 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6396 return type of munmap in infcall.
6397 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6398 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6399 type of ftell in infcall.
6400 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6401 type of getpid in infcall.
6402 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6403 infcall.
6404 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6405 Bail on failure to extract the pid.
6406 * gdb.base/nodebug.c: #include <stdint.h>.
6407 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6408 New functions.
6409 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6410 Change expected output of print/whatis/ptype with functions with
6411 no debug info. Test all supported languages. Call
6412 test_call_promotion.
6413 * gdb.compile/compile.exp: Adjust expected output to expect
6414 warning.
6415 * gdb.threads/siginfo-threads.exp: Likewise.
6416
54990598
PA
64172017-09-04 Pedro Alves <palves@redhat.com>
6418
6419 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6420 "prototypes". Test calling float functions via prototyped and
6421 unprototyped function pointers.
6422 (perform_all_tests): New parameter "prototypes". Pass it down.
6423 (top level): Pass down "prototypes" parameter to
6424 perform_all_tests.
6425
34d16ea2
SM
64262017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6427
6428 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6429 Test with nested loops.
6430
9521ecda
SM
64312017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6432
6433 * gdb.base/commands.exp: Call the new procedures.
6434 (loop_break_test, loop_continue_test): New procedures.
6435
80a65e9b
SM
64362017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6437
6438 * gdb.base/commands.exp: Call new procedure.
6439 (define_if_without_arg_test): New procedure.
6440
e439fa14
PA
64412017-09-04 Pedro Alves <palves@redhat.com>
6442
6443 * gdb.base/list-ambiguous.exp: New file.
6444 * gdb.base/list-ambiguous0.c: New file.
6445 * gdb.base/list-ambiguous1.c: New file.
6446 * gdb.base/list.exp (test_list_range): Adjust expected output.
6447
0a2dde4a
SDJ
64482017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6449
6450 * gdb.base/share-env-with-gdbserver.c: New file.
6451 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6452
5e89eb3a
SM
64532017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6454
6455 * gdb.base/commands.exp (gdbvar_simple_if_test,
6456 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6457 progvar_simple_if_test, progvar_simple_while_test,
6458 progvar_complex_if_while_test, user_defined_command_test,
6459 user_defined_command_args_eval,
6460 user_defined_command_args_stack_test,
6461 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6462 temporary_breakpoint_commands,
6463 gdb_test_no_prompt, redefine_hook_test,
6464 redefine_backtrace_test): Remove "global gdb_prompt".
6465
fd437cbc
SM
64662017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6467
6468 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6469 New proc, call it from toplevel.
6470
87215ad1
SDJ
64712017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6472
6473 PR remote/21852
6474 * gdb.server/normal.c: New file, copied from gdb.base.
6475 * gdb.server/run-without-local-binary.exp: New file.
6476
58afddc6
WP
64772017-08-07 Weimin Pan <weimin.pan@oracle.com>
6478
6479 * gdb.arch/sparc64-adi.exp: New file.
6480 * gdb.arch/sparc64-adi.c: New file.
6481
5277199a
PA
64822017-08-22 Pedro Alves <palves@redhat.com>
6483
6484 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6485 (top level): Add "list all overloads" tests.
6486
14278e1f
TT
64872017-08-22 Tom Tromey <tom@tromey.com>
6488
6489 * gdb.gdb/xfullpath.exp: Remove.
6490
bf223d3e
PA
64912017-08-21 Pedro Alves <palves@redhat.com>
6492
6493 PR gdb/19487
6494 * gdb.base/symbol-alias.c: New.
6495 * gdb.base/symbol-alias2.c: New.
6496 * gdb.base/symbol-alias.exp: New.
6497
c973d0aa
PA
64982017-08-21 Pedro Alves <palves@redhat.com>
6499
6500 * gdb.base/dfp-test.c
6501 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6502 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6503 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6504 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6505 * gdb.base/whatis-ptype-typedefs.c: New.
6506 * gdb.base/whatis-ptype-typedefs.exp: New.
6507 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6508 (an_int, an_int_type, an_int_type2): New globals.
6509 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6510 involving typedefs and cast expressions.
6511 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6512 (lookup_typedefs_function): New.
6513 (typedefs_pretty_printers_dict): New.
6514 (top level): Register lookup_typedefs_function in
6515 gdb.pretty_printers.
6516
6d580b63
YQ
65172017-08-18 Yao Qi <yao.qi@linaro.org>
6518
6519 * gdb.server/unittest.exp: New.
6520
206726fb
SDJ
65212017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6522
6523 PR gdb/21954
6524 * gdb.base/environ.exp: Add test to check if 'unset environment'
6525 works.
6526
bf0ec4c2
AA
65272017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6528
6529 * lib/gdb.exp (universal_compile_options): New caching proc.
6530 (gdb_compile): Suppress GCC's coloring of messages.
6531
d6382fff
TT
65322017-08-14 Tom Tromey <tom@tromey.com>
6533
6534 PR gdb/21675:
6535 * gdb.base/printcmds.exp (test_radices): New function.
6536 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6537 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6538 * lib/gdb.exp (get_integer_valueof): Use p/d.
6539
c2c2dd9f
SM
65402017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6541
6542 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6543 characters.
6544
fdffd6f4
TT
65452017-08-05 Tom Tromey <tom@tromey.com>
6546
6547 * gdb.rust/simple.exp: Allow String to appear in a different
6548 namespace.
6549
27d41eac
YQ
65502017-07-26 Yao Qi <yao.qi@linaro.org>
6551
6552 * gdb.gdb/unittest.exp: Invoke command
6553 "maintenance check xml-descriptions".
6554
031ed05d
AA
65552017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6556
6557 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6558 calling context.
6559 (hex128): Drop erroneous calculation of parameters.
6560
dcd27ddf
SM
65612017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6562
6563 * gdb.python/py-unwind.exp: Disable stack protection when
6564 building test file.
6565
47e77640
PA
65662017-07-20 Pedro Alves <palves@redhat.com>
6567
6568 * gdb.base/default.exp (set language): Adjust expected output.
6569
62d2a18a
PA
65702017-07-20 Pedro Alves <palves@redhat.com>
6571
6572 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6573 (test_minsym): ... this, and make static.
6574 (get_pck__foo__bar__minsym): Rename to ...
6575 (get_test_minsym): ... this.
6576 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6577 symbol names and comments.
6578 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6579 (get_test_minsym): ... this.
6580 (pck__foo__bar__minsym__2): Rename to ...
6581 (test_minsym): ... this.
6582 (main): Adjust.
6583
c45ec17c
PA
65842017-07-17 Pedro Alves <palves@redhat.com>
6585
6586 * gdb.base/completion.exp: Adjust expected output.
6587 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6588 the completer works.
6589
c6756f62
PA
65902017-07-17 Pedro Alves <palves@redhat.com>
6591
6592 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6593
5bd68487
AB
65942017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6595
6596 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6597
8880f2a9
TT
65982017-07-14 Tom Tromey <tom@tromey.com>
6599
6600 PR rust/21764:
6601 * gdb.rust/simple.exp: Add tests.
6602
65547233
TT
66032017-07-14 Tom Tromey <tom@tromey.com>
6604
6605 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6606
8f14146e
PA
66072017-07-14 Pedro Alves <palves@redhat.com>
6608
6609 * gdb.linespec/base/one/thefile.cc (z1): New function.
6610 * gdb.linespec/base/two/thefile.cc (z2): New function.
6611 * gdb.linespec/linespec.exp: Add tests.
6612
b4365d02
AB
66132017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6614
6615 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6616 to mi_create_breakpoint.
6617
5d2cbaa5
AB
66182017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6619
6620 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6621 mi_create_breakpoint.
6622
11cb5716
IB
66232017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6624
6625 * gdb.dlang/demangle.exp: Update for demangling changes.
6626
03278692
TT
66272017-07-09 Tom Tromey <tom@tromey.com>
6628
6629 * gdb.dwarf2/shortpiece.exp: New file.
6630
33c5cd75
DB
66312017-07-06 David Blaikie <dblaikie@gmail.com>
6632
6633 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6634 built from fissiont-multi-cu{1,2}.c.
6635 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6636 except putting 'main' and 'func' in separate CUs in the same DWO file.
6637 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6638 test.
6639 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6640 test.
6641
8455d262
PA
66422017-07-06 Pedro Alves <palves@redhat.com>
6643
6644 * gdb.python/py-unwind.exp: Test flushregs.
6645
dc4bde35
SDJ
66462017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6647
6648 PR cli/21688
6649 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6650 tests for alias commands and trailing whitespace.
6651
51ed89aa
SDJ
66522017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6653
6654 PR cli/21688
6655 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6656 procedure. Call it.
6657
eb17d413
PA
66582017-06-29 Pedro Alves <palves@redhat.com>
6659
6660 * gdb.base/printcmds.exp: Add tests.
6661
41664b45
DG
66622017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6663
6664 PR gdb/21337
6665 * gdb.base/reread-readsym.exp: New file.
6666 * gdb.base/reread-readsym.c: New file.
6667
75312ae3
KB
66682017-06-21 Kevin Buettner <kevinb@redhat.com>
6669
6670 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6671 subpattern.
6672
66953522
PB
66732017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6674
6675 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6676 extended mnemonic.
6677 * gdb.arch/powerpc-power9.s: Likewise.
6678
5524b525
AA
66792017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6680
6681 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6682 on 32-bit x86 targets. Exploit is_*_target macros where
6683 appropriate.
6684
03c8af18
AA
66852017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6686
6687 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6688 register pieces.
6689
3bf31011
AA
66902017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6691
6692 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6693 located in one or more DWARF pieces.
6694
805acca0
AA
66952017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6696
6697 * lib/gdb.exp (get_endianness): New proc.
6698 * gdb.arch/aarch64-fp.exp: Use it.
6699 * gdb.arch/altivec-regs.exp: Likewise.
6700 * gdb.arch/e500-regs.exp: Likewise.
6701 * gdb.arch/vsx-regs.exp: Likewise.
6702 * gdb.base/dump.exp: Likewise.
6703 * gdb.base/funcargs.exp: Likewise.
6704 * gdb.base/gnu_vector.exp: Likewise.
6705 * gdb.dwarf2/formdata16.exp: Likewise.
6706 * gdb.dwarf2/implptrpiece.exp: Likewise.
6707 * gdb.dwarf2/nonvar-access.exp: Likewise.
6708 * gdb.python/py-inferior.exp: Likewise.
6709 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6710
e9352324
AA
67112017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6712
6713 PR gdb/21226
6714 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6715 stack value pieces are taken from the LSB end.
6716
d5d1163e
AA
67172017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6718
6719 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6720 variable at nonzero offset.
6721
0567c986
AA
67222017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6723
6724 * gdb.dwarf2/var-access.c: New file.
6725 * gdb.dwarf2/var-access.exp: New test.
6726 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6727
973e9aab
TT
67282017-06-12 Tom Tromey <tom@tromey.com>
6729
6730 * gdb.dwarf2/formdata16.exp: Add tests.
6731
d9109c80
TT
67322017-06-12 Tom Tromey <tom@tromey.com>
6733
6734 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6735
30a25466
TT
67362017-06-12 Tom Tromey <tom@tromey.com>
6737
6738 PR exp/16225:
6739 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6740 * gdb.arch/vsx-regs.exp: Update tests.
6741 * gdb.arch/s390-vregs.exp (hex128): New proc.
6742 Update test.
6743 * gdb.arch/altivec-regs.exp: Update tests.
6744
aefd8b33
SDJ
67452017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6746
6747 * gdb.base/startup-with-shell.c: New file.
6748 * gdb.base/startup-with-shell.exp: Likewise.
6749
2090129c
SDJ
67502017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6751
6752 * gdb.server/non-existing-program.exp: Update regex in order to
6753 reflect the fact that gdbserver is now using fork_inferior (with a
6754 shell) to startup the inferior.
6755
8e86a419
SM
67562017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6757
6758 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6759 support function calls from GDB.
6760
e6cf65f2
TT
67612017-05-21 Tom Tromey <tom@tromey.com>
6762
6763 PR rust/21466:
6764 * gdb.rust/unsized.exp: New file.
6765 * gdb.rust/unsized.rs: New file.
6766
43cc5389
TT
67672017-05-19 Tom Tromey <tom@tromey.com>
6768
6769 PR rust/21484:
6770 * gdb.rust/watch.exp: New file.
6771 * gdb.rust/watch.rs: New file.
6772
ec8df234
TT
67732017-05-18 Tom Tromey <tom@tromey.com>
6774
6775 * gdb.rust/simple.exp: Allow Box to be qualified.
6776
3e3e7fae
TP
67772017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6778
6779 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6780
59cc050d
PA
67812017-05-18 Pedro Alves <palves@redhat.com>
6782
6783 * gdb.base/fileio.c (test_write, test_read, test_close)
6784 (test_fstat): Don't print 'ret' in the fail path.
6785
c8f6abd1
PA
67862017-05-18 Pedro Alves <palves@redhat.com>
6787
6788 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6789 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6790 (test_system, test_rename, test_unlink, test_time): Change
6791 prototypes.
6792 * gdb.base/fileio.exp (stop_msg): Adjust.
6793
d2a03b77
PA
67942017-05-18 Pedro Alves <palves@redhat.com>
6795
6796 * gdb.base/fileio.c (null_str): New global.
6797 (test_stat): Use it.
6798 * gdb.base/fileio.exp: Remove nowarnings.
6799
0d5c6999
YQ
68002017-05-17 Yao Qi <yao.qi@linaro.org>
6801
6802 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6803
21873064
YQ
68042017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6805
6806 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6807 argument command.
6808 (top-level): Invoke test_set_inferior_tty.
6809
d512d31c
PA
68102017-05-04 Pedro Alves <palves@redhat.com>
6811
6812 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6813 Add parens to print call for Python 3.
6814
90cef2ed
KS
68152017-05-03 Keith Seitz <keiths@redhat.com>
6816
6817 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6818 (main): Call it.
6819
14f819c8
TW
68202017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6821
6822 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6823 to prev and next.
6824
913aeadd
TW
68252017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6826
6827 * gdb.python/py-record-btrace.exp: Remove test for
6828 gdb.BtraceInstruction.error.
6829
a3be24ad
TW
68302017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6831
6832 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6833
ae20e79a
TW
68342017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6835
6836 * gdb.python/py-record-btrace-threads.c: New file.
6837 * gdb.python/py-record-btrace-threads.exp: New file.
6838
45ce1b47
SDJ
68392017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6840
6841 PR testsuite/8595
6842 * gdb.base/environ.exp: Make test available in all architectures.
6843 Move bits related to "info program" testing to
6844 gdb.base/info-program.exp. Rewrite tests to use the two new
6845 procedures mentione below.
6846 (test_set_show_env_var) New procedure.
6847 (test_set_show_env_var_equal): Likewise.
6848 * gdb.base/info-program.exp: New file.
6849
e15c3eb4
KS
68502017-04-27 Keith Seitz <keiths@redhat.com>
6851
6852 * gdb.cp/oranking.cc (test15): New function.
6853 (main): Call test15 and declare additional variables for testing.
6854 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6855 "p foo101('abc')" tests.
6856 Add tests for cv qualifier overloads.
6857 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6858 "lvalue reference overload" test.
6859 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6860 "print value of f1 on Child&& in f2" test.
6861
3a3fd0fd
PA
68622017-04-19 Pedro Alves <palves@redhat.com>
6863
6864 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6865 procedure.
6866 (top level): Call it.
6867 * lib/gdb.exp (gdb_define_cmd): New procedure.
6868
53375380
PA
68692017-04-12 Pedro Alves <palves@redhat.com>
6870
6871 PR gdb/21323
6872 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6873 (wchar): New global.
6874 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6875 (do_test_wide_char, wide_char_types_no_program, top level): Add
6876 wchar_t testing.
6877
53e710ac
PA
68782017-04-12 Pedro Alves <palves@redhat.com>
6879
6880 PR c++/21323
6881 * gdb.cp/wide_char_types.c: New file.
6882 * gdb.cp/wide_char_types.exp: New file.
6883
0ad9d8c7
SDJ
68842017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6885
6886 PR gdb/21352
6887 * gdb.trace/tsv.exp: Add test for "tsave -r".
6888
b1b45502
IB
68892017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6890
6891 * gdb.dlang/watch-loc.c: New file.
6892 * gdb.dlang/watch-loc.exp: New file.
6893
ec13808e
JK
68942017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6895
6896 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6897
fe5f7374
AK
68982017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6899
6900 * gdb.arch/arc-analyze-prologue.S: New file.
6901 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6902
eea78757
AK
69032017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6904
6905 * gdb.arch/arc-decode-insn.S: New file.
6906 * gdb.arch/arc-decode-insn.exp: Likewise.
6907
5badf10a
IR
69082017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6909
6910 PR tdep/20928
6911 * gdb.arch/sparc64-regs.exp: New file.
6912 * gdb.arch/sparc64-regs.S: Likewise.
6913
cee59b3f
TW
69142017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6915
6916 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6917 and memory view on Python 3.
6918
c0f55cc6
AV
69192017-03-20 Artemiy Volkov <artemiyv@acm.org>
6920 Keith Seitz <keiths@redhat.com>
6921
6922 PR gdb/14441
6923 * gdb.cp/demangle.exp: Add rvalue reference tests.
6924 * gdb.cp/rvalue-ref-casts.cc: New file.
6925 * gdb.cp/rvalue-ref-casts.exp: New file.
6926 * gdb.cp/rvalue-ref-overload.cc: New file.
6927 * gdb.cp/rvalue-ref-overload.exp: New file.
6928 * gdb.cp/rvalue-ref-params.cc: New file.
6929 * gdb.cp/rvalue-ref-params.exp: New file.
6930 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6931 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6932 * gdb.cp/rvalue-ref-types.cc: New file.
6933 * gdb.cp/rvalue-ref-types.exp: New file.
6934 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6935 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6936
51457a05
MAL
69372017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6938
6939 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6940 New procedure.
6941
5b291c04
MAL
69422017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6943
6944 * lib/mi-support.exp (mi_gdb_test): Add additional message
6945 for unexpected output.
6946
59a56148
AA
69472017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6948
6949 * gdb.base/examine-backward.c (Barrier): New character array
6950 constant, to ensure that TestStrings is preceded by a string
6951 terminator.
6952
7942e96e
AA
69532017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6954
6955 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6956 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6957 and implicit pointer into such a location.
6958
6ebac3fb
DE
69592017-03-16 Doug Evans <dje@google.com>
6960
6961 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6962
ec3b243d
TP
69632017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6964
6965 * gdb.cp/m-static.exp: Fix expectation for prototype of
6966 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
6967
69682017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
6969
6970 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6971 * gdb.guile/scm-lazy-string.c: New file.
6972 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6973 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6974 for pointer, array, typedef lazy strings.
6975
2cc36e25 69762017-03-16 Doug Evans <dje@google.com>
34b43320
DE
6977
6978 PR python/17728, python/18439, python/18779
6979 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6980 * gdb.python/py-lazy-string.c (pointer): New typedef.
6981 (main): New locals ptr, array, typedef_ptr.
6982 * gdb.python/py-value.exp: Move lazy string tests to ...
6983 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6984 array, typedef lazy strings.
ec3b243d 6985
0efcde63
AK
69862017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6987
6988 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6989 Add optional 'test' parameter.
6990
7978d7c3
SM
69912017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6992
6993 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6994 Skip for versions of DejaGnu < 1.5.
6995
896c0c1e
SM
69962017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6997
6998 * lib/gdb.exp (dejagnu_version): New proc.
6999 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7000 Use dejagnu_version.
7001
5f4d1085
KS
70022017-03-10 Keith Seitz <keiths@redhat.com>
7003
7004 PR c++/8128
7005 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7006 type from destructor regexps.
7007 Add a branch which actually passes the test.
7008 Adjust "ptype t5i" test names.
7009
1de05205
PA
70102017-03-08 Pedro Alves <palves@redhat.com>
7011
7012 * gdb.base/step-over-exit.exp: Add explicit test message.
7013
c65d6b55
PA
70142017-03-08 Pedro Alves <palves@redhat.com>
7015
7016 PR gdb/18360
7017 * gdb.threads/interrupt-while-step-over.c: New file.
7018 * gdb.threads/interrupt-while-step-over.exp: New file.
7019
2e86a283
PA
70202017-03-08 Pedro Alves <palves@redhat.com>
7021
7022 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7023 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7024
25dcbff6
PA
70252017-03-08 Pedro Alves <palves@redhat.com>
7026
7027 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7028 PKRU as not supported as a PASS.
7029
dc9366eb
PA
70302017-03-08 Pedro Alves <palves@redhat.com>
7031
7032 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7033 prefix instead of $binfile1/$binfile2.
7034 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7035 in test message.
7036 * gdb.python/py-completion.exp: Use "load python file" as test
7037 messages instead of unstable path names.
7038
6e5d74e7
PA
70392017-03-08 Pedro Alves <palves@redhat.com>
7040 Jan Kratochvil <jan.kratochvil@redhat.com>
7041
7042 PR cli/21218
7043 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7044 New proc.
7045 (top level): Call it.
7046
9753a2f6
PA
70472017-03-08 Pedro Alves <palves@redhat.com>
7048
7049 PR tui/21216
7050 * gdb.tui/tui-nl-filtered-output.exp: New file.
7051
1a4dd9dd
PA
70522017-03-08 Pedro Alves <palves@redhat.com>
7053
7054 * gdb.base/completion.exp: Move TUI completion tests to ...
7055 * gdb.tui/completion.exp: ... this new file.
7056
7cbbff33
PA
70572017-03-08 Pedro Alves <palves@redhat.com>
7058
7059 * gdb.base/tui-disasm-long-lines.c,
7060 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7061 gdb.base/tui-layout.exp: Move to ...
7062 * gdb.tui/: ... this new directory.
7063
5f6fd321
PA
70642017-03-07 Pedro Alves <palves@redhat.com>
7065
7066 * gdb.base/tui-layout.c: New file.
7067 * gdb.base/tui-layout.exp: New file.
7068
44959fa8
PA
70692017-03-07 Pedro Alves <palves@redhat.com>
7070
7071 * gdb.base/tui-layout.c: Rename to ...
7072 * gdb.base/tui-disasm-long-lines.c: ... this.
7073 * gdb.base/tui-layout.exp: Rename to ...
7074 * gdb.base/tui-disasm-long-lines.exp: ... this.
7075
f8c4e718
PA
70762017-03-07 Pedro Alves <palves@redhat.com>
7077
7078 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7079
6dbb839a 70802017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
7081
7082 * i386-mpx-call.c: New file.
7083 * i386-mpx-call.exp: New file.
7084
65b48a81
PB
70852017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7086
7087 * gdb.arch/powerpc-power.exp: Delete test.
7088 * gdb.arch/powerpc-power.s: Likewise.
7089 * gdb.disasm/disassembler-options.exp: New test.
7090 * gdb.arch/powerpc-altivec.exp: Likewise.
7091 * gdb.arch/powerpc-altivec.s: Likewise.
7092 * gdb.arch/powerpc-altivec2.exp: Likewise.
7093 * gdb.arch/powerpc-altivec2.s: Likewise.
7094 * gdb.arch/powerpc-altivec3.exp: Likewise.
7095 * gdb.arch/powerpc-altivec3.s: Likewise.
7096 * gdb.arch/powerpc-power7.exp: Likewise.
7097 * gdb.arch/powerpc-power7.s: Likewise.
7098 * gdb.arch/powerpc-power8.exp: Likewise.
7099 * gdb.arch/powerpc-power8.s: Likewise.
7100 * gdb.arch/powerpc-power9.exp: Likewise.
7101 * gdb.arch/powerpc-power9.s: Likewise.
7102 * gdb.arch/powerpc-vsx.exp: Likewise.
7103 * gdb.arch/powerpc-vsx.s: Likewise.
7104 * gdb.arch/powerpc-vsx2.exp: Likewise.
7105 * gdb.arch/powerpc-vsx2.s: Likewise.
7106 * gdb.arch/powerpc-vsx3.exp: Likewise.
7107 * gdb.arch/powerpc-vsx3.s: Likewise.
7108 * gdb.arch/arm-disassembler-options.exp: Likewise.
7109 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7110 * gdb.arch/s390-disassembler-options.exp: Likewise.
7111
17cd4947
LM
71122017-02-23 Luis Machado <lgustavo@codesourcery.com>
7113
7114 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7115 (check_supported_features): ... this. Changed return type to void.
7116 (supports_rdseed): New static global.
7117 (rdseed): Check supports_rdseed.
7118 (initialize): Call check_supported_features.
7119
2039d74e
EBM
71202017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7121
7122 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7123 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7124 and lqarx/stqcx.
7125 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7126 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7127
a51d7ecf
EBM
71282017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7129
7130 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7131 uppercase.
7132
0224619f
JK
71332017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7134
7135 * gdb.dwarf2/formdata16.c: New file.
7136 * gdb.dwarf2/formdata16.exp: New file.
7137 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7138
216f72a1
JK
71392017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7140
7141 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7142 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7143 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7144 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7145 DW_AT_GNU_*.
7146
43988095
JK
71472017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7148
7149 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7150
99e8a4f9
SDJ
71512017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7152
7153 PR gdb/21164
7154 * gdb.base/maint.exp: Add testcases for when the commands do
7155 not have arguments.
7156
b58a8c0c
TP
71572017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7158
7159 * gdb.cp/chained-calls.exp: Use p instead of P.
7160
4e746bb6
TW
71612017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7162
7163 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7164 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7165
3f77c769
TT
71662017-02-14 Tom Tromey <tom@tromey.com>
7167
7168 PR python/13598:
7169 * gdb.python/py-events.exp: Add before_prompt event tests.
7170
075beec0
AA
71712017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7172
7173 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7174
bf5f525c
LM
71752017-02-13 Luis Machado <lgustavo@codesourcery.com>
7176
7177 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7178 (main): Call my_unique_function_name.
7179 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7180 completion of patterns with a single match.
7181 Add missing -re switches to gdb_test_multiple calls.
7182
13a66184
LM
71832017-02-13 Luis Machado <lgustavo@codesourcery.com>
7184
7185 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7186 return if core file is not recognized.
7187
26a06916
SM
71882017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7189
7190 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7191 and extra UIs.
7192
b761ca9e
SM
71932017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7194
7195 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7196 proc_with_prefix.
7197
b964bee0
TT
71982017-02-10 Tom Tromey <tom@tromey.com>
7199
7200 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7201
18da0c51
MG
72022017-02-10 Martin Galvan <martingalvan@sourceware.org>
7203
7204 PR gdb/21122
7205 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7206
604c4576
JG
72072017-02-08 Jerome Guitton <guitton@adacore.com>
7208
7209 * gdb.base/define.exp: Add test for command abbreviations
7210 in define.
7211
20b477a7
LM
72122017-02-06 Luis Machado <lgustavo@codesourcery.com>
7213
7214 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7215 * gdb.reverse/insn-reverse-x86.c: New file.
7216
3f7b46f2
IR
72172017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7218
7219 PR tdep/20936
7220 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7221
f0fd41c1
TT
72222017-02-03 Tom Tromey <tom@tromey.com>
7223
7224 PR rust/21097:
7225 * gdb.rust/simple.exp: Add new tests.
7226
5be5dbf0
PA
72272017-02-02 Pedro Alves <palves@redhat.com>
7228
7229 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7230 tests.
7231
7346ef59
AA
72322017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7233
7234 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7235 taking a 2-byte value out of a 4-byte DWARF implicit value on
7236 big-endian targets.
7237 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7238 logic. Add test cases for DW_OP_implicit.
7239
787f0025
MM
72402017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7241
7242 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7243
68777c29
MM
72442017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7245
7246 * gdb.btrace/enable.exp: Call gdb_exit before
7247 skip_gdbserver_tests.
7248
0a1c7e28
MM
72492017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7250
7251 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7252 GDBFLAGS.
7253
b5ac99b0
MM
72542017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7255
7256 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7257 the test is skipped.
7258 * gdb.btrace/data.exp: Likewise.
7259 * gdb.btrace/delta.exp: Likewise.
7260 * gdb.btrace/dlopen.exp: Likewise.
7261 * gdb.btrace/enable-running.exp: Likewise.
7262 * gdb.btrace/enable.exp: Likewise.
7263 * gdb.btrace/exception.exp: Likewise.
7264 * gdb.btrace/function_call_history.exp: Likewise.
7265 * gdb.btrace/gcore.exp: Likewise.
7266 * gdb.btrace/instruction_history.exp: Likewise.
7267 * gdb.btrace/multi-thread-step.exp: Likewise.
7268 * gdb.btrace/nohist.exp: Likewise.
7269 * gdb.btrace/non-stop.exp: Likewise.
7270 * gdb.btrace/reconnect.exp: Likewise.
7271 * gdb.btrace/record_goto-step.exp: Likewise.
7272 * gdb.btrace/record_goto.exp: Likewise.
7273 * gdb.btrace/rn-dl-bind.exp: Likewise.
7274 * gdb.btrace/segv.exp: Likewise.
7275 * gdb.btrace/step.exp: Likewise.
7276 * gdb.btrace/stepi.exp: Likewise.
7277 * gdb.btrace/tailcall-only.exp: Likewise.
7278 * gdb.btrace/tailcall.exp: Likewise.
7279 * gdb.btrace/tsx.exp: Likewise.
7280 * gdb.btrace/unknown_functions.exp: Likewise.
7281 * gdb.btrace/vdso.exp: Likewise.
7282
cd4007e4
MM
72832017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7284
7285 * gdb.btrace/enable-running.c: New.
7286 * gdb.btrace/enable-running.exp: New.
7287
2735833d
WT
72882017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7289
7290 * gdb.arch/amd64-gs_base.c: New file.
7291 * gdb.arch/amd64-gs_base.exp: New file.
7292
b51e1e94
LM
72932017-01-26 Luis Machado <lgustavo@codesourcery.com>
7294
7295 * lib/memory.exp: Remove spurious empty newlines.
7296
72ca0410
SM
72972017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7298
7299 * gdb.python/py-bad-printers.exp: Load python file using "source".
7300 * gdb.python/py-events.exp: Likewise.
7301 * gdb.python/py-evsignal.exp: Likewise.
7302 * gdb.python/py-evthreads.exp: Likewise.
7303 * gdb.python/py-frame-args.exp: Likewise.
7304 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7305 * gdb.python/py-framefilter-mi.exp: Likewise.
7306 * gdb.python/py-framefilter.exp: Likewise.
7307 * gdb.python/py-mi.exp: Likewise.
7308 * gdb.python/py-pp-maint.exp: Likewise.
7309 * gdb.python/py-pp-registration.exp: Likewise.
7310 * gdb.python/py-prettyprint.exp: Likewise.
7311 (run_lang_tests): Likewise.
7312 * gdb.python/py-typeprint.exp: Likewise.
7313
e309aa65
LM
73142017-01-26 Luis Machado <lgustavo@codesourcery.com>
7315
7316 * lib/memory.exp: New file.
7317 * lib/gdb.exp: Load memory.exp.
7318 * gdb.base/memattr.exp (delete_memory): Move proc to
7319 lib/memory.exp and rename to delete_memory_regions.
7320 Replace delete_memory with delete_memory_regions.
7321 Cleanup memory regions before tests.
7322 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7323 before tests.
7324
515aff23
LM
73252017-01-26 Luis Machado <lgustavo@codesourcery.com>
7326
7327 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7328 files.
7329 (initialize): New function conditionally defined.
7330 (testcases): Move within conditional block.
7331 (main): Call initialize.
7332 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7333 of gdb.reverse/insn-reverse.c.
7334 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7335 gdb.reverse/insn-reverse.c.
7336
d8b49cf0
YQ
73372017-01-26 Yao Qi <yao.qi@linaro.org>
7338
7339 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7340 disassemble on address 0.
7341
f13a9a0c
YQ
73422017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7343 Yao Qi <yao.qi@linaro.org>
7344
7345 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7346 * gdb.dwarf2/implptr-64bit.S: Remove.
7347 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7348 variables in caller's context. Add DW_OP_implicit_value.
7349
5ac95241
YQ
73502017-01-25 Yao Qi <yao.qi@linaro.org>
7351
7352 * lib/dwarf.exp (Dwarf::_location): Handle
7353 DW_OP_GNU_implicit_pointer with proper size.
7354
23e82930
LM
73552017-01-20 Luis Machado <lgustavo@codesourcery.com>
7356
7357 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7358 and add untested calls.
7359
d334ae25
LM
73602017-01-20 Luis Machado <lgustavo@codesourcery.com>
7361
7362 * gdb.python/python.exp: Check line number against what GDB thinks
7363 the line number is for func1.
7364
f5e6296e
IB
73652017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7366
7367 * gdb.dlang/debug-expr.exp: New file.
7368
5b362f04
LM
73692016-12-23 Luis Machado <lgustavo@codesourcery.com>
7370
7371 Fix test names for the following files:
7372
7373 * gdb.ada/exec_changed.exp
7374 * gdb.ada/info_types.exp
7375 * gdb.arch/aarch64-atomic-inst.exp
7376 * gdb.arch/aarch64-fp.exp
7377 * gdb.arch/altivec-abi.exp
7378 * gdb.arch/altivec-regs.exp
7379 * gdb.arch/amd64-byte.exp
7380 * gdb.arch/amd64-disp-step.exp
7381 * gdb.arch/amd64-dword.exp
7382 * gdb.arch/amd64-entry-value-inline.exp
7383 * gdb.arch/amd64-entry-value-param.exp
7384 * gdb.arch/amd64-entry-value-paramref.exp
7385 * gdb.arch/amd64-entry-value.exp
7386 * gdb.arch/amd64-i386-address.exp
7387 * gdb.arch/amd64-invalid-stack-middle.exp
7388 * gdb.arch/amd64-invalid-stack-top.exp
7389 * gdb.arch/amd64-optimout-repeat.exp
7390 * gdb.arch/amd64-prologue-skip.exp
7391 * gdb.arch/amd64-prologue-xmm.exp
7392 * gdb.arch/amd64-stap-special-operands.exp
7393 * gdb.arch/amd64-stap-wrong-subexp.exp
7394 * gdb.arch/amd64-tailcall-cxx.exp
7395 * gdb.arch/amd64-tailcall-noret.exp
7396 * gdb.arch/amd64-tailcall-ret.exp
7397 * gdb.arch/amd64-tailcall-self.exp
7398 * gdb.arch/amd64-word.exp
7399 * gdb.arch/arm-bl-branch-dest.exp
7400 * gdb.arch/arm-disp-step.exp
7401 * gdb.arch/arm-neon.exp
7402 * gdb.arch/arm-single-step-kernel-helper.exp
7403 * gdb.arch/avr-flash-qualifier.exp
7404 * gdb.arch/disp-step-insn-reloc.exp
7405 * gdb.arch/e500-abi.exp
7406 * gdb.arch/e500-regs.exp
7407 * gdb.arch/ftrace-insn-reloc.exp
7408 * gdb.arch/i386-avx512.exp
7409 * gdb.arch/i386-bp_permanent.exp
7410 * gdb.arch/i386-byte.exp
7411 * gdb.arch/i386-cfi-notcurrent.exp
7412 * gdb.arch/i386-disp-step.exp
7413 * gdb.arch/i386-dr3-watch.exp
7414 * gdb.arch/i386-float.exp
7415 * gdb.arch/i386-gnu-cfi.exp
7416 * gdb.arch/i386-mpx-map.exp
7417 * gdb.arch/i386-mpx-sigsegv.exp
7418 * gdb.arch/i386-mpx-simple_segv.exp
7419 * gdb.arch/i386-mpx.exp
7420 * gdb.arch/i386-permbkpt.exp
7421 * gdb.arch/i386-prologue.exp
7422 * gdb.arch/i386-signal.exp
7423 * gdb.arch/i386-size-overlap.exp
7424 * gdb.arch/i386-unwind.exp
7425 * gdb.arch/i386-word.exp
7426 * gdb.arch/mips-fcr.exp
7427 * gdb.arch/powerpc-d128-regs.exp
7428 * gdb.arch/powerpc-stackless.exp
7429 * gdb.arch/ppc64-atomic-inst.exp
7430 * gdb.arch/s390-stackless.exp
7431 * gdb.arch/s390-tdbregs.exp
7432 * gdb.arch/s390-vregs.exp
7433 * gdb.arch/sparc-sysstep.exp
7434 * gdb.arch/thumb-bx-pc.exp
7435 * gdb.arch/thumb-singlestep.exp
7436 * gdb.arch/thumb2-it.exp
7437 * gdb.arch/vsx-regs.exp
7438 * gdb.asm/asm-source.exp
7439 * gdb.base/a2-run.exp
7440 * gdb.base/advance.exp
7441 * gdb.base/all-bin.exp
7442 * gdb.base/anon.exp
7443 * gdb.base/args.exp
7444 * gdb.base/arithmet.exp
7445 * gdb.base/async-shell.exp
7446 * gdb.base/async.exp
7447 * gdb.base/attach-pie-noexec.exp
7448 * gdb.base/attach-twice.exp
7449 * gdb.base/auto-load.exp
7450 * gdb.base/bang.exp
7451 * gdb.base/bitfields.exp
7452 * gdb.base/break-always.exp
7453 * gdb.base/break-caller-line.exp
7454 * gdb.base/break-entry.exp
7455 * gdb.base/break-inline.exp
7456 * gdb.base/break-on-linker-gcd-function.exp
7457 * gdb.base/break-probes.exp
7458 * gdb.base/break.exp
7459 * gdb.base/breakpoint-shadow.exp
7460 * gdb.base/call-ar-st.exp
7461 * gdb.base/call-sc.exp
7462 * gdb.base/call-signal-resume.exp
7463 * gdb.base/call-strs.exp
7464 * gdb.base/callfuncs.exp
7465 * gdb.base/catch-fork-static.exp
7466 * gdb.base/catch-gdb-caused-signals.exp
7467 * gdb.base/catch-load.exp
7468 * gdb.base/catch-signal-fork.exp
7469 * gdb.base/catch-signal.exp
7470 * gdb.base/catch-syscall.exp
7471 * gdb.base/charset.exp
7472 * gdb.base/checkpoint.exp
7473 * gdb.base/chng-syms.exp
7474 * gdb.base/code-expr.exp
7475 * gdb.base/code_elim.exp
7476 * gdb.base/commands.exp
7477 * gdb.base/completion.exp
7478 * gdb.base/complex.exp
7479 * gdb.base/cond-expr.exp
7480 * gdb.base/condbreak.exp
7481 * gdb.base/consecutive.exp
7482 * gdb.base/continue-all-already-running.exp
7483 * gdb.base/coredump-filter.exp
7484 * gdb.base/corefile.exp
7485 * gdb.base/dbx.exp
7486 * gdb.base/debug-expr.exp
7487 * gdb.base/define.exp
7488 * gdb.base/del.exp
7489 * gdb.base/disabled-location.exp
7490 * gdb.base/disasm-end-cu.exp
7491 * gdb.base/disasm-optim.exp
7492 * gdb.base/display.exp
7493 * gdb.base/duplicate-bp.exp
7494 * gdb.base/ena-dis-br.exp
7495 * gdb.base/ending-run.exp
7496 * gdb.base/enumval.exp
7497 * gdb.base/environ.exp
7498 * gdb.base/eu-strip-infcall.exp
7499 * gdb.base/eval-avoid-side-effects.exp
7500 * gdb.base/eval-skip.exp
7501 * gdb.base/exitsignal.exp
7502 * gdb.base/expand-psymtabs.exp
7503 * gdb.base/filesym.exp
7504 * gdb.base/find-unmapped.exp
7505 * gdb.base/finish.exp
7506 * gdb.base/float.exp
7507 * gdb.base/foll-exec-mode.exp
7508 * gdb.base/foll-exec.exp
7509 * gdb.base/foll-fork.exp
7510 * gdb.base/fortran-sym-case.exp
7511 * gdb.base/freebpcmd.exp
7512 * gdb.base/func-ptr.exp
7513 * gdb.base/func-ptrs.exp
7514 * gdb.base/funcargs.exp
7515 * gdb.base/gcore-buffer-overflow.exp
7516 * gdb.base/gcore-relro-pie.exp
7517 * gdb.base/gcore-relro.exp
7518 * gdb.base/gcore.exp
7519 * gdb.base/gdb1090.exp
7520 * gdb.base/gdb11530.exp
7521 * gdb.base/gdb11531.exp
7522 * gdb.base/gdb1821.exp
7523 * gdb.base/gdbindex-stabs.exp
7524 * gdb.base/gdbvars.exp
7525 * gdb.base/hbreak.exp
7526 * gdb.base/hbreak2.exp
7527 * gdb.base/included.exp
7528 * gdb.base/infcall-input.exp
7529 * gdb.base/inferior-died.exp
7530 * gdb.base/infnan.exp
7531 * gdb.base/info-macros.exp
7532 * gdb.base/info-os.exp
7533 * gdb.base/info-proc.exp
7534 * gdb.base/info-shared.exp
7535 * gdb.base/info-target.exp
7536 * gdb.base/infoline.exp
7537 * gdb.base/interp.exp
7538 * gdb.base/interrupt.exp
7539 * gdb.base/jit-reader.exp
7540 * gdb.base/jit-simple.exp
7541 * gdb.base/kill-after-signal.exp
7542 * gdb.base/kill-detach-inferiors-cmd.exp
7543 * gdb.base/label.exp
7544 * gdb.base/langs.exp
7545 * gdb.base/ldbl_e308.exp
7546 * gdb.base/line-symtabs.exp
7547 * gdb.base/linespecs.exp
7548 * gdb.base/list.exp
7549 * gdb.base/long_long.exp
7550 * gdb.base/longest-types.exp
7551 * gdb.base/maint.exp
7552 * gdb.base/max-value-size.exp
7553 * gdb.base/memattr.exp
7554 * gdb.base/mips_pro.exp
7555 * gdb.base/morestack.exp
7556 * gdb.base/moribund-step.exp
7557 * gdb.base/multi-forks.exp
7558 * gdb.base/nested-addr.exp
7559 * gdb.base/nextoverexit.exp
7560 * gdb.base/noreturn-finish.exp
7561 * gdb.base/noreturn-return.exp
7562 * gdb.base/nostdlib.exp
7563 * gdb.base/offsets.exp
7564 * gdb.base/opaque.exp
7565 * gdb.base/pc-fp.exp
7566 * gdb.base/permissions.exp
7567 * gdb.base/print-symbol-loading.exp
7568 * gdb.base/prologue-include.exp
7569 * gdb.base/psymtab.exp
7570 * gdb.base/ptype.exp
7571 * gdb.base/random-signal.exp
7572 * gdb.base/randomize.exp
7573 * gdb.base/range-stepping.exp
7574 * gdb.base/readline-ask.exp
7575 * gdb.base/recpar.exp
7576 * gdb.base/recurse.exp
7577 * gdb.base/relational.exp
7578 * gdb.base/restore.exp
7579 * gdb.base/return-nodebug.exp
7580 * gdb.base/return.exp
7581 * gdb.base/run-after-attach.exp
7582 * gdb.base/save-bp.exp
7583 * gdb.base/scope.exp
7584 * gdb.base/sect-cmd.exp
7585 * gdb.base/set-lang-auto.exp
7586 * gdb.base/set-noassign.exp
7587 * gdb.base/setvar.exp
7588 * gdb.base/sigall.exp
7589 * gdb.base/sigbpt.exp
7590 * gdb.base/siginfo-addr.exp
7591 * gdb.base/siginfo-infcall.exp
7592 * gdb.base/siginfo-obj.exp
7593 * gdb.base/siginfo.exp
7594 * gdb.base/signals-state-child.exp
7595 * gdb.base/signest.exp
7596 * gdb.base/sigstep.exp
7597 * gdb.base/sizeof.exp
7598 * gdb.base/skip.exp
7599 * gdb.base/solib-corrupted.exp
7600 * gdb.base/solib-nodir.exp
7601 * gdb.base/solib-search.exp
7602 * gdb.base/stack-checking.exp
7603 * gdb.base/stale-infcall.exp
7604 * gdb.base/stap-probe.exp
7605 * gdb.base/start.exp
7606 * gdb.base/step-break.exp
7607 * gdb.base/step-bt.exp
7608 * gdb.base/step-line.exp
7609 * gdb.base/step-over-exit.exp
7610 * gdb.base/step-over-syscall.exp
7611 * gdb.base/step-resume-infcall.exp
7612 * gdb.base/step-test.exp
7613 * gdb.base/store.exp
7614 * gdb.base/structs3.exp
7615 * gdb.base/sym-file.exp
7616 * gdb.base/symbol-without-target_section.exp
7617 * gdb.base/term.exp
7618 * gdb.base/testenv.exp
7619 * gdb.base/ui-redirect.exp
7620 * gdb.base/until.exp
7621 * gdb.base/unwindonsignal.exp
7622 * gdb.base/value-double-free.exp
7623 * gdb.base/vla-datatypes.exp
7624 * gdb.base/vla-ptr.exp
7625 * gdb.base/vla-sideeffect.exp
7626 * gdb.base/volatile.exp
7627 * gdb.base/watch-cond-infcall.exp
7628 * gdb.base/watch-cond.exp
7629 * gdb.base/watch-non-mem.exp
7630 * gdb.base/watch-read.exp
7631 * gdb.base/watch-vfork.exp
7632 * gdb.base/watchpoint-cond-gone.exp
7633 * gdb.base/watchpoint-delete.exp
7634 * gdb.base/watchpoint-hw-hit-once.exp
7635 * gdb.base/watchpoint-hw.exp
7636 * gdb.base/watchpoint-stops-at-right-insn.exp
7637 * gdb.base/watchpoints.exp
7638 * gdb.base/wchar.exp
7639 * gdb.base/whatis-exp.exp
7640 * gdb.btrace/buffer-size.exp
7641 * gdb.btrace/data.exp
7642 * gdb.btrace/delta.exp
7643 * gdb.btrace/dlopen.exp
7644 * gdb.btrace/enable.exp
7645 * gdb.btrace/exception.exp
7646 * gdb.btrace/function_call_history.exp
7647 * gdb.btrace/gcore.exp
7648 * gdb.btrace/instruction_history.exp
7649 * gdb.btrace/nohist.exp
7650 * gdb.btrace/reconnect.exp
7651 * gdb.btrace/record_goto-step.exp
7652 * gdb.btrace/record_goto.exp
7653 * gdb.btrace/rn-dl-bind.exp
7654 * gdb.btrace/segv.exp
7655 * gdb.btrace/step.exp
7656 * gdb.btrace/stepi.exp
7657 * gdb.btrace/tailcall-only.exp
7658 * gdb.btrace/tailcall.exp
7659 * gdb.btrace/tsx.exp
7660 * gdb.btrace/unknown_functions.exp
7661 * gdb.btrace/vdso.exp
7662 * gdb.compile/compile-ifunc.exp
7663 * gdb.compile/compile-ops.exp
7664 * gdb.compile/compile-print.exp
7665 * gdb.compile/compile-setjmp.exp
7666 * gdb.cp/abstract-origin.exp
7667 * gdb.cp/ambiguous.exp
7668 * gdb.cp/annota2.exp
7669 * gdb.cp/annota3.exp
7670 * gdb.cp/anon-ns.exp
7671 * gdb.cp/anon-struct.exp
7672 * gdb.cp/anon-union.exp
7673 * gdb.cp/arg-reference.exp
7674 * gdb.cp/baseenum.exp
7675 * gdb.cp/bool.exp
7676 * gdb.cp/breakpoint.exp
7677 * gdb.cp/bs15503.exp
7678 * gdb.cp/call-c.exp
7679 * gdb.cp/casts.exp
7680 * gdb.cp/chained-calls.exp
7681 * gdb.cp/class2.exp
7682 * gdb.cp/classes.exp
7683 * gdb.cp/cmpd-minsyms.exp
7684 * gdb.cp/converts.exp
7685 * gdb.cp/cp-relocate.exp
7686 * gdb.cp/cpcompletion.exp
7687 * gdb.cp/cpexprs.exp
7688 * gdb.cp/cplabel.exp
7689 * gdb.cp/cplusfuncs.exp
7690 * gdb.cp/cpsizeof.exp
7691 * gdb.cp/ctti.exp
7692 * gdb.cp/derivation.exp
7693 * gdb.cp/destrprint.exp
7694 * gdb.cp/dispcxx.exp
7695 * gdb.cp/enum-class.exp
7696 * gdb.cp/exception.exp
7697 * gdb.cp/exceptprint.exp
7698 * gdb.cp/expand-psymtabs-cxx.exp
7699 * gdb.cp/expand-sals.exp
7700 * gdb.cp/extern-c.exp
7701 * gdb.cp/filename.exp
7702 * gdb.cp/formatted-ref.exp
7703 * gdb.cp/fpointer.exp
7704 * gdb.cp/gdb1355.exp
7705 * gdb.cp/gdb2495.exp
7706 * gdb.cp/hang.exp
7707 * gdb.cp/impl-this.exp
7708 * gdb.cp/infcall-dlopen.exp
7709 * gdb.cp/inherit.exp
7710 * gdb.cp/iostream.exp
7711 * gdb.cp/koenig.exp
7712 * gdb.cp/local.exp
7713 * gdb.cp/m-data.exp
7714 * gdb.cp/m-static.exp
7715 * gdb.cp/mb-ctor.exp
7716 * gdb.cp/mb-inline.exp
7717 * gdb.cp/mb-templates.exp
7718 * gdb.cp/member-name.exp
7719 * gdb.cp/member-ptr.exp
7720 * gdb.cp/meth-typedefs.exp
7721 * gdb.cp/method.exp
7722 * gdb.cp/method2.exp
7723 * gdb.cp/minsym-fallback.exp
7724 * gdb.cp/misc.exp
7725 * gdb.cp/namelessclass.exp
7726 * gdb.cp/namespace-enum.exp
7727 * gdb.cp/namespace-nested-import.exp
7728 * gdb.cp/namespace.exp
7729 * gdb.cp/nextoverthrow.exp
7730 * gdb.cp/no-dmgl-verbose.exp
7731 * gdb.cp/non-trivial-retval.exp
7732 * gdb.cp/noparam.exp
7733 * gdb.cp/nsdecl.exp
7734 * gdb.cp/nsimport.exp
7735 * gdb.cp/nsnested.exp
7736 * gdb.cp/nsnoimports.exp
7737 * gdb.cp/nsrecurs.exp
7738 * gdb.cp/nsstress.exp
7739 * gdb.cp/nsusing.exp
7740 * gdb.cp/operator.exp
7741 * gdb.cp/oranking.exp
7742 * gdb.cp/overload-const.exp
7743 * gdb.cp/overload.exp
7744 * gdb.cp/ovldbreak.exp
7745 * gdb.cp/ovsrch.exp
7746 * gdb.cp/paren-type.exp
7747 * gdb.cp/parse-lang.exp
7748 * gdb.cp/pass-by-ref.exp
7749 * gdb.cp/pr-1023.exp
7750 * gdb.cp/pr-1210.exp
7751 * gdb.cp/pr-574.exp
7752 * gdb.cp/pr10687.exp
7753 * gdb.cp/pr12028.exp
7754 * gdb.cp/pr17132.exp
7755 * gdb.cp/pr17494.exp
7756 * gdb.cp/pr9067.exp
7757 * gdb.cp/pr9167.exp
7758 * gdb.cp/pr9631.exp
7759 * gdb.cp/printmethod.exp
7760 * gdb.cp/psmang.exp
7761 * gdb.cp/psymtab-parameter.exp
7762 * gdb.cp/ptype-cv-cp.exp
7763 * gdb.cp/ptype-flags.exp
7764 * gdb.cp/re-set-overloaded.exp
7765 * gdb.cp/ref-types.exp
7766 * gdb.cp/rtti.exp
7767 * gdb.cp/scope-err.exp
7768 * gdb.cp/shadow.exp
7769 * gdb.cp/smartp.exp
7770 * gdb.cp/static-method.exp
7771 * gdb.cp/static-print-quit.exp
7772 * gdb.cp/temargs.exp
7773 * gdb.cp/templates.exp
7774 * gdb.cp/try_catch.exp
7775 * gdb.cp/typedef-operator.exp
7776 * gdb.cp/typeid.exp
7777 * gdb.cp/userdef.exp
7778 * gdb.cp/using-crash.exp
7779 * gdb.cp/var-tag.exp
7780 * gdb.cp/virtbase.exp
7781 * gdb.cp/virtfunc.exp
7782 * gdb.cp/virtfunc2.exp
7783 * gdb.cp/vla-cxx.exp
7784 * gdb.disasm/t01_mov.exp
7785 * gdb.disasm/t02_mova.exp
7786 * gdb.disasm/t03_add.exp
7787 * gdb.disasm/t04_sub.exp
7788 * gdb.disasm/t05_cmp.exp
7789 * gdb.disasm/t06_ari2.exp
7790 * gdb.disasm/t07_ari3.exp
7791 * gdb.disasm/t08_or.exp
7792 * gdb.disasm/t09_xor.exp
7793 * gdb.disasm/t10_and.exp
7794 * gdb.disasm/t11_logs.exp
7795 * gdb.disasm/t12_bit.exp
7796 * gdb.disasm/t13_otr.exp
7797 * gdb.dlang/circular.exp
7798 * gdb.dwarf2/arr-stride.exp
7799 * gdb.dwarf2/arr-subrange.exp
7800 * gdb.dwarf2/atomic-type.exp
7801 * gdb.dwarf2/bad-regnum.exp
7802 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7803 * gdb.dwarf2/callframecfa.exp
7804 * gdb.dwarf2/clztest.exp
7805 * gdb.dwarf2/corrupt.exp
7806 * gdb.dwarf2/data-loc.exp
7807 * gdb.dwarf2/dup-psym.exp
7808 * gdb.dwarf2/dw2-anon-mptr.exp
7809 * gdb.dwarf2/dw2-anonymous-func.exp
7810 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7811 * gdb.dwarf2/dw2-bad-unresolved.exp
7812 * gdb.dwarf2/dw2-basic.exp
7813 * gdb.dwarf2/dw2-canonicalize-type.exp
7814 * gdb.dwarf2/dw2-case-insensitive.exp
7815 * gdb.dwarf2/dw2-common-block.exp
7816 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7817 * gdb.dwarf2/dw2-compressed.exp
7818 * gdb.dwarf2/dw2-const.exp
7819 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7820 * gdb.dwarf2/dw2-cu-size.exp
7821 * gdb.dwarf2/dw2-dup-frame.exp
7822 * gdb.dwarf2/dw2-entry-value.exp
7823 * gdb.dwarf2/dw2-icycle.exp
7824 * gdb.dwarf2/dw2-ifort-parameter.exp
7825 * gdb.dwarf2/dw2-inline-break.exp
7826 * gdb.dwarf2/dw2-inline-param.exp
7827 * gdb.dwarf2/dw2-intercu.exp
7828 * gdb.dwarf2/dw2-intermix.exp
7829 * gdb.dwarf2/dw2-lexical-block-bare.exp
7830 * gdb.dwarf2/dw2-linkage-name-trust.exp
7831 * gdb.dwarf2/dw2-minsym-in-cu.exp
7832 * gdb.dwarf2/dw2-noloc.exp
7833 * gdb.dwarf2/dw2-op-call.exp
7834 * gdb.dwarf2/dw2-op-out-param.exp
7835 * gdb.dwarf2/dw2-opt-structptr.exp
7836 * gdb.dwarf2/dw2-param-error.exp
7837 * gdb.dwarf2/dw2-producer.exp
7838 * gdb.dwarf2/dw2-ranges-base.exp
7839 * gdb.dwarf2/dw2-ref-missing-frame.exp
7840 * gdb.dwarf2/dw2-reg-undefined.exp
7841 * gdb.dwarf2/dw2-regno-invalid.exp
7842 * gdb.dwarf2/dw2-restore.exp
7843 * gdb.dwarf2/dw2-restrict.exp
7844 * gdb.dwarf2/dw2-single-line-discriminators.exp
7845 * gdb.dwarf2/dw2-strp.exp
7846 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7847 * gdb.dwarf2/dw2-unresolved.exp
7848 * gdb.dwarf2/dw2-var-zero-addr.exp
7849 * gdb.dwarf2/dw4-sig-types.exp
7850 * gdb.dwarf2/dwz.exp
7851 * gdb.dwarf2/dynarr-ptr.exp
7852 * gdb.dwarf2/enum-type.exp
7853 * gdb.dwarf2/gdb-index.exp
7854 * gdb.dwarf2/implptr-64bit.exp
7855 * gdb.dwarf2/implptr-optimized-out.exp
7856 * gdb.dwarf2/implptr.exp
7857 * gdb.dwarf2/implref-array.exp
7858 * gdb.dwarf2/implref-const.exp
7859 * gdb.dwarf2/implref-global.exp
7860 * gdb.dwarf2/implref-struct.exp
7861 * gdb.dwarf2/mac-fileno.exp
7862 * gdb.dwarf2/main-subprogram.exp
7863 * gdb.dwarf2/member-ptr-forwardref.exp
7864 * gdb.dwarf2/method-ptr.exp
7865 * gdb.dwarf2/missing-sig-type.exp
7866 * gdb.dwarf2/nonvar-access.exp
7867 * gdb.dwarf2/opaque-type-lookup.exp
7868 * gdb.dwarf2/pieces-optimized-out.exp
7869 * gdb.dwarf2/pieces.exp
7870 * gdb.dwarf2/pr10770.exp
7871 * gdb.dwarf2/pr13961.exp
7872 * gdb.dwarf2/staticvirtual.exp
7873 * gdb.dwarf2/subrange.exp
7874 * gdb.dwarf2/symtab-producer.exp
7875 * gdb.dwarf2/trace-crash.exp
7876 * gdb.dwarf2/typeddwarf.exp
7877 * gdb.dwarf2/valop.exp
7878 * gdb.dwarf2/watch-notconst.exp
7879 * gdb.fortran/array-element.exp
7880 * gdb.fortran/charset.exp
7881 * gdb.fortran/common-block.exp
7882 * gdb.fortran/complex.exp
7883 * gdb.fortran/derived-type-function.exp
7884 * gdb.fortran/derived-type.exp
7885 * gdb.fortran/logical.exp
7886 * gdb.fortran/module.exp
7887 * gdb.fortran/multi-dim.exp
7888 * gdb.fortran/nested-funcs.exp
7889 * gdb.fortran/print-formatted.exp
7890 * gdb.fortran/subarray.exp
7891 * gdb.fortran/vla-alloc-assoc.exp
7892 * gdb.fortran/vla-datatypes.exp
7893 * gdb.fortran/vla-history.exp
7894 * gdb.fortran/vla-ptr-info.exp
7895 * gdb.fortran/vla-ptype-sub.exp
7896 * gdb.fortran/vla-ptype.exp
7897 * gdb.fortran/vla-sizeof.exp
7898 * gdb.fortran/vla-type.exp
7899 * gdb.fortran/vla-value-sub-arbitrary.exp
7900 * gdb.fortran/vla-value-sub-finish.exp
7901 * gdb.fortran/vla-value-sub.exp
7902 * gdb.fortran/vla-value.exp
7903 * gdb.fortran/whatis_type.exp
7904 * gdb.go/chan.exp
7905 * gdb.go/handcall.exp
7906 * gdb.go/hello.exp
7907 * gdb.go/integers.exp
7908 * gdb.go/methods.exp
7909 * gdb.go/package.exp
7910 * gdb.go/strings.exp
7911 * gdb.go/types.exp
7912 * gdb.go/unsafe.exp
7913 * gdb.guile/scm-arch.exp
7914 * gdb.guile/scm-block.exp
7915 * gdb.guile/scm-breakpoint.exp
7916 * gdb.guile/scm-cmd.exp
7917 * gdb.guile/scm-disasm.exp
7918 * gdb.guile/scm-equal.exp
7919 * gdb.guile/scm-frame-args.exp
7920 * gdb.guile/scm-frame-inline.exp
7921 * gdb.guile/scm-frame.exp
7922 * gdb.guile/scm-iterator.exp
7923 * gdb.guile/scm-math.exp
7924 * gdb.guile/scm-objfile.exp
7925 * gdb.guile/scm-ports.exp
7926 * gdb.guile/scm-symbol.exp
7927 * gdb.guile/scm-symtab.exp
7928 * gdb.guile/scm-value-cc.exp
7929 * gdb.guile/types-module.exp
7930 * gdb.linespec/break-ask.exp
7931 * gdb.linespec/cpexplicit.exp
7932 * gdb.linespec/explicit.exp
7933 * gdb.linespec/keywords.exp
7934 * gdb.linespec/linespec.exp
7935 * gdb.linespec/ls-dollar.exp
7936 * gdb.linespec/ls-errs.exp
7937 * gdb.linespec/skip-two.exp
7938 * gdb.linespec/thread.exp
7939 * gdb.mi/mi-async.exp
7940 * gdb.mi/mi-basics.exp
7941 * gdb.mi/mi-break.exp
7942 * gdb.mi/mi-catch-load.exp
7943 * gdb.mi/mi-cli.exp
7944 * gdb.mi/mi-cmd-param-changed.exp
7945 * gdb.mi/mi-console.exp
7946 * gdb.mi/mi-detach.exp
7947 * gdb.mi/mi-disassemble.exp
7948 * gdb.mi/mi-eval.exp
7949 * gdb.mi/mi-file-transfer.exp
7950 * gdb.mi/mi-file.exp
7951 * gdb.mi/mi-fill-memory.exp
7952 * gdb.mi/mi-inheritance-syntax-error.exp
7953 * gdb.mi/mi-linespec-err-cp.exp
7954 * gdb.mi/mi-logging.exp
7955 * gdb.mi/mi-memory-changed.exp
7956 * gdb.mi/mi-read-memory.exp
7957 * gdb.mi/mi-record-changed.exp
7958 * gdb.mi/mi-reg-undefined.exp
7959 * gdb.mi/mi-regs.exp
7960 * gdb.mi/mi-return.exp
7961 * gdb.mi/mi-reverse.exp
7962 * gdb.mi/mi-simplerun.exp
7963 * gdb.mi/mi-solib.exp
7964 * gdb.mi/mi-stack.exp
7965 * gdb.mi/mi-stepi.exp
7966 * gdb.mi/mi-syn-frame.exp
7967 * gdb.mi/mi-until.exp
7968 * gdb.mi/mi-var-block.exp
7969 * gdb.mi/mi-var-child.exp
7970 * gdb.mi/mi-var-cmd.exp
7971 * gdb.mi/mi-var-cp.exp
7972 * gdb.mi/mi-var-display.exp
7973 * gdb.mi/mi-var-invalidate.exp
7974 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7975 * gdb.mi/mi-vla-fortran.exp
7976 * gdb.mi/mi-watch.exp
7977 * gdb.mi/mi2-var-child.exp
7978 * gdb.mi/user-selected-context-sync.exp
7979 * gdb.modula2/unbounded-array.exp
7980 * gdb.multi/dummy-frame-restore.exp
7981 * gdb.multi/multi-arch-exec.exp
7982 * gdb.multi/multi-arch.exp
7983 * gdb.multi/tids.exp
7984 * gdb.multi/watchpoint-multi.exp
7985 * gdb.opencl/callfuncs.exp
7986 * gdb.opencl/convs_casts.exp
7987 * gdb.opencl/datatypes.exp
7988 * gdb.opencl/operators.exp
7989 * gdb.opencl/vec_comps.exp
7990 * gdb.opt/clobbered-registers-O2.exp
7991 * gdb.opt/inline-break.exp
7992 * gdb.opt/inline-bt.exp
7993 * gdb.opt/inline-cmds.exp
7994 * gdb.opt/inline-locals.exp
7995 * gdb.pascal/case-insensitive-symbols.exp
7996 * gdb.pascal/floats.exp
7997 * gdb.pascal/gdb11492.exp
7998 * gdb.python/lib-types.exp
7999 * gdb.python/py-arch.exp
8000 * gdb.python/py-as-string.exp
8001 * gdb.python/py-bad-printers.exp
8002 * gdb.python/py-block.exp
8003 * gdb.python/py-breakpoint-create-fail.exp
8004 * gdb.python/py-breakpoint.exp
8005 * gdb.python/py-caller-is.exp
8006 * gdb.python/py-cmd.exp
8007 * gdb.python/py-explore-cc.exp
8008 * gdb.python/py-explore.exp
8009 * gdb.python/py-finish-breakpoint.exp
8010 * gdb.python/py-finish-breakpoint2.exp
8011 * gdb.python/py-frame-args.exp
8012 * gdb.python/py-frame-inline.exp
8013 * gdb.python/py-frame.exp
8014 * gdb.python/py-framefilter-mi.exp
8015 * gdb.python/py-infthread.exp
8016 * gdb.python/py-lazy-string.exp
8017 * gdb.python/py-linetable.exp
8018 * gdb.python/py-mi-events.exp
8019 * gdb.python/py-mi-objfile.exp
8020 * gdb.python/py-mi.exp
8021 * gdb.python/py-objfile.exp
8022 * gdb.python/py-pp-integral.exp
8023 * gdb.python/py-pp-maint.exp
8024 * gdb.python/py-pp-re-notag.exp
8025 * gdb.python/py-pp-registration.exp
8026 * gdb.python/py-recurse-unwind.exp
8027 * gdb.python/py-strfns.exp
8028 * gdb.python/py-symbol.exp
8029 * gdb.python/py-symtab.exp
8030 * gdb.python/py-sync-interp.exp
8031 * gdb.python/py-typeprint.exp
8032 * gdb.python/py-unwind-maint.exp
8033 * gdb.python/py-unwind.exp
8034 * gdb.python/py-value-cc.exp
8035 * gdb.python/py-xmethods.exp
8036 * gdb.reverse/amd64-tailcall-reverse.exp
8037 * gdb.reverse/break-precsave.exp
8038 * gdb.reverse/break-reverse.exp
8039 * gdb.reverse/consecutive-precsave.exp
8040 * gdb.reverse/consecutive-reverse.exp
8041 * gdb.reverse/finish-precsave.exp
8042 * gdb.reverse/finish-reverse-bkpt.exp
8043 * gdb.reverse/finish-reverse.exp
8044 * gdb.reverse/fstatat-reverse.exp
8045 * gdb.reverse/getresuid-reverse.exp
8046 * gdb.reverse/i386-precsave.exp
8047 * gdb.reverse/i386-reverse.exp
8048 * gdb.reverse/i386-sse-reverse.exp
8049 * gdb.reverse/i387-env-reverse.exp
8050 * gdb.reverse/i387-stack-reverse.exp
8051 * gdb.reverse/insn-reverse.exp
8052 * gdb.reverse/machinestate-precsave.exp
8053 * gdb.reverse/machinestate.exp
8054 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8055 * gdb.reverse/pipe-reverse.exp
8056 * gdb.reverse/readv-reverse.exp
8057 * gdb.reverse/recvmsg-reverse.exp
8058 * gdb.reverse/rerun-prec.exp
8059 * gdb.reverse/s390-mvcle.exp
8060 * gdb.reverse/step-precsave.exp
8061 * gdb.reverse/step-reverse.exp
8062 * gdb.reverse/time-reverse.exp
8063 * gdb.reverse/until-precsave.exp
8064 * gdb.reverse/until-reverse.exp
8065 * gdb.reverse/waitpid-reverse.exp
8066 * gdb.reverse/watch-precsave.exp
8067 * gdb.reverse/watch-reverse.exp
8068 * gdb.rust/generics.exp
8069 * gdb.rust/methods.exp
8070 * gdb.rust/modules.exp
8071 * gdb.rust/simple.exp
8072 * gdb.server/connect-with-no-symbol-file.exp
8073 * gdb.server/ext-attach.exp
8074 * gdb.server/ext-restart.exp
8075 * gdb.server/ext-wrapper.exp
8076 * gdb.server/file-transfer.exp
8077 * gdb.server/server-exec-info.exp
8078 * gdb.server/server-kill.exp
8079 * gdb.server/server-mon.exp
8080 * gdb.server/wrapper.exp
8081 * gdb.stabs/exclfwd.exp
8082 * gdb.stabs/gdb11479.exp
8083 * gdb.threads/clone-new-thread-event.exp
8084 * gdb.threads/corethreads.exp
8085 * gdb.threads/current-lwp-dead.exp
8086 * gdb.threads/dlopen-libpthread.exp
8087 * gdb.threads/gcore-thread.exp
8088 * gdb.threads/sigstep-threads.exp
8089 * gdb.threads/watchpoint-fork.exp
8090 * gdb.trace/actions-changed.exp
8091 * gdb.trace/backtrace.exp
8092 * gdb.trace/change-loc.exp
8093 * gdb.trace/circ.exp
8094 * gdb.trace/collection.exp
8095 * gdb.trace/disconnected-tracing.exp
8096 * gdb.trace/ftrace.exp
8097 * gdb.trace/mi-trace-frame-collected.exp
8098 * gdb.trace/mi-trace-unavailable.exp
8099 * gdb.trace/mi-traceframe-changed.exp
8100 * gdb.trace/mi-tsv-changed.exp
8101 * gdb.trace/no-attach-trace.exp
8102 * gdb.trace/passc-dyn.exp
8103 * gdb.trace/qtro.exp
8104 * gdb.trace/range-stepping.exp
8105 * gdb.trace/read-memory.exp
8106 * gdb.trace/save-trace.exp
8107 * gdb.trace/signal.exp
8108 * gdb.trace/status-stop.exp
8109 * gdb.trace/tfile.exp
8110 * gdb.trace/trace-break.exp
8111 * gdb.trace/trace-buffer-size.exp
8112 * gdb.trace/trace-condition.exp
8113 * gdb.trace/tracefile-pseudo-reg.exp
8114 * gdb.trace/tstatus.exp
8115 * gdb.trace/unavailable.exp
8116 * gdb.trace/while-dyn.exp
8117 * gdb.trace/while-stepping.exp
8118
34c41c68
DE
81192016-12-22 Doug Evans <xdje42@gmail.com>
8120
8121 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8122 and msymbols.
8123
16e69324
YQ
81242016-12-19 Yao Qi <yao.qi@linaro.org>
8125
8126 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8127 (test_with_self): Don't call do_steps_and_nexts, and remove
8128 code about stepping into xmalloc.
8129
f94f411b
YQ
81302016-12-09 Yao Qi <yao.qi@linaro.org>
8131
8132 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8133
81342016-12-09 Yao Qi <yao.qi@linaro.org>
8135
8136 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8137
f1b5deee
PA
81382016-12-09 Pedro Alves <palves@redhat.com>
8139
8140 * gdb.base/all-architectures-0.exp: New file.
8141 * gdb.base/all-architectures-1.exp: New file.
8142 * gdb.base/all-architectures-2.exp: New file.
8143 * gdb.base/all-architectures-3.exp: New file.
8144 * gdb.base/all-architectures-4.exp: New file.
8145 * gdb.base/all-architectures-5.exp: New file.
8146 * gdb.base/all-architectures-6.exp: New file.
8147 * gdb.base/all-architectures-7.exp: New file.
8148 * gdb.base/all-architectures.exp.in: New file.
8149
364ca42e
YQ
81502016-12-09 Yao Qi <yao.qi@linaro.org>
8151
8152 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8153
107c2d62
LM
81542016-12-02 Luis Machado <lgustavo@codesourcery.com>
8155
8156 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8157 possible.
8158 Remove useless pattern-matching code.
8159
df3ee9ca
PA
81602016-12-02 Pedro Alves <palves@redhat.com>
8161
8162 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8163 procedure.
8164 (top level): Call it.
8165
ec835369
PA
81662016-12-02 Pedro Alves <palves@redhat.com>
8167
8168 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8169 New procedure.
8170 (top level): Call it.
8171
01770bbd
PA
81722016-12-02 Pedro Alves <palves@redhat.com>
8173
8174 PR cli/20559
8175 * gdb.base/commands.exp (user_defined_command_args_eval): New
8176 procedure.
8177 (top level): Call it.
8178
008459ea
LM
81792016-12-02 Luis Machado <lgustavo@codesourcery.com>
8180
8181 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8182 timeout handling.
8183
0c1b455e
TT
81842016-12-02 Tom Tromey <tom@tromey.com>
8185
8186 * gdb.dwarf2/main-subprogram.c: New file.
8187 * gdb.dwarf2/main-subprogram.exp: New file.
8188
018572b8
LM
81892016-12-01 Luis Machado <lgustavo@codesourcery.com>
8190
8191 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8192 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8193 gdb_test_no_output for a couple of cases.
8194 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8195
84c93cd5
LM
81962016-12-01 Luis Machado <lgustavo@codesourcery.com>
8197
8198 Fix test names and standardize compilation error messages throughout
8199 the following files:
8200
8201 * gdb.ada/start.exp
8202 * gdb.arch/alpha-step.exp
8203 * gdb.arch/e500-prologue.exp
8204 * gdb.arch/ftrace-insn-reloc.exp
8205 * gdb.arch/gdb1291.exp
8206 * gdb.arch/gdb1431.exp
8207 * gdb.arch/gdb1558.exp
8208 * gdb.arch/i386-dr3-watch.exp
8209 * gdb.arch/i386-sse-stack-align.exp
8210 * gdb.arch/ia64-breakpoint-shadow.exp
8211 * gdb.arch/pa-nullify.exp
8212 * gdb.arch/powerpc-aix-prologue.exp
8213 * gdb.arch/thumb-bx-pc.exp
8214 * gdb.base/annota1.exp
8215 * gdb.base/annota3.exp
8216 * gdb.base/arrayidx.exp
8217 * gdb.base/assign.exp
8218 * gdb.base/attach.exp
8219 * gdb.base/auxv.exp
8220 * gdb.base/bang.exp
8221 * gdb.base/bfp-test.exp
8222 * gdb.base/bigcore.exp
8223 * gdb.base/bitfields2.exp
8224 * gdb.base/break-fun-addr.exp
8225 * gdb.base/break-probes.exp
8226 * gdb.base/call-rt-st.exp
8227 * gdb.base/callexit.exp
8228 * gdb.base/catch-fork-kill.exp
8229 * gdb.base/charset.exp
8230 * gdb.base/checkpoint.exp
8231 * gdb.base/comprdebug.exp
8232 * gdb.base/constvars.exp
8233 * gdb.base/coredump-filter.exp
8234 * gdb.base/cursal.exp
8235 * gdb.base/cvexpr.exp
8236 * gdb.base/detach.exp
8237 * gdb.base/display.exp
8238 * gdb.base/dmsym.exp
8239 * gdb.base/dprintf-pending.exp
8240 * gdb.base/dso2dso.exp
8241 * gdb.base/dtrace-probe.exp
8242 * gdb.base/dump.exp
8243 * gdb.base/enum_cond.exp
8244 * gdb.base/exe-lock.exp
8245 * gdb.base/exec-invalid-sysroot.exp
8246 * gdb.base/execl-update-breakpoints.exp
8247 * gdb.base/exprs.exp
8248 * gdb.base/fileio.exp
8249 * gdb.base/find.exp
8250 * gdb.base/finish.exp
8251 * gdb.base/fixsection.exp
8252 * gdb.base/foll-vfork.exp
8253 * gdb.base/frame-args.exp
8254 * gdb.base/gcore.exp
8255 * gdb.base/gdb1250.exp
8256 * gdb.base/global-var-nested-by-dso.exp
8257 * gdb.base/gnu-ifunc.exp
8258 * gdb.base/hashline1.exp
8259 * gdb.base/hashline2.exp
8260 * gdb.base/hashline3.exp
8261 * gdb.base/hbreak-in-shr-unsupported.exp
8262 * gdb.base/huge.exp
8263 * gdb.base/infcall-input.exp
8264 * gdb.base/info-fun.exp
8265 * gdb.base/info-shared.exp
8266 * gdb.base/jit-simple.exp
8267 * gdb.base/jit-so.exp
8268 * gdb.base/jit.exp
8269 * gdb.base/jump.exp
8270 * gdb.base/label.exp
8271 * gdb.base/lineinc.exp
8272 * gdb.base/logical.exp
8273 * gdb.base/longjmp.exp
8274 * gdb.base/macscp.exp
8275 * gdb.base/miscexprs.exp
8276 * gdb.base/new-ui-echo.exp
8277 * gdb.base/new-ui-pending-input.exp
8278 * gdb.base/new-ui.exp
8279 * gdb.base/nodebug.exp
8280 * gdb.base/nofield.exp
8281 * gdb.base/offsets.exp
8282 * gdb.base/overlays.exp
8283 * gdb.base/pending.exp
8284 * gdb.base/pointers.exp
8285 * gdb.base/pr11022.exp
8286 * gdb.base/printcmds.exp
8287 * gdb.base/prologue.exp
8288 * gdb.base/ptr-typedef.exp
8289 * gdb.base/realname-expand.exp
8290 * gdb.base/relativedebug.exp
8291 * gdb.base/relocate.exp
8292 * gdb.base/remote.exp
8293 * gdb.base/reread.exp
8294 * gdb.base/return2.exp
8295 * gdb.base/savedregs.exp
8296 * gdb.base/sep.exp
8297 * gdb.base/sepdebug.exp
8298 * gdb.base/sepsymtab.exp
8299 * gdb.base/set-inferior-tty.exp
8300 * gdb.base/setshow.exp
8301 * gdb.base/shlib-call.exp
8302 * gdb.base/sigaltstack.exp
8303 * gdb.base/siginfo-addr.exp
8304 * gdb.base/signals.exp
8305 * gdb.base/signull.exp
8306 * gdb.base/sigrepeat.exp
8307 * gdb.base/so-impl-ld.exp
8308 * gdb.base/solib-display.exp
8309 * gdb.base/solib-overlap.exp
8310 * gdb.base/solib-search.exp
8311 * gdb.base/solib-symbol.exp
8312 * gdb.base/structs.exp
8313 * gdb.base/structs2.exp
8314 * gdb.base/symtab-search-order.exp
8315 * gdb.base/twice.exp
8316 * gdb.base/unload.exp
8317 * gdb.base/varargs.exp
8318 * gdb.base/watchpoint-solib.exp
8319 * gdb.base/watchpoint.exp
8320 * gdb.base/whatis.exp
8321 * gdb.base/wrong_frame_bt_full.exp
8322 * gdb.btrace/dlopen.exp
8323 * gdb.cell/ea-standalone.exp
8324 * gdb.cell/ea-test.exp
8325 * gdb.cp/dispcxx.exp
8326 * gdb.cp/gdb2384.exp
8327 * gdb.cp/method2.exp
8328 * gdb.cp/nextoverthrow.exp
8329 * gdb.cp/pr10728.exp
8330 * gdb.disasm/am33.exp
8331 * gdb.disasm/h8300s.exp
8332 * gdb.disasm/mn10300.exp
8333 * gdb.disasm/sh3.exp
8334 * gdb.dwarf2/dw2-dir-file-name.exp
8335 * gdb.fortran/complex.exp
8336 * gdb.fortran/library-module.exp
8337 * gdb.guile/scm-pretty-print.exp
8338 * gdb.guile/scm-symbol.exp
8339 * gdb.guile/scm-type.exp
8340 * gdb.guile/scm-value.exp
8341 * gdb.linespec/linespec.exp
8342 * gdb.mi/gdb701.exp
8343 * gdb.mi/gdb792.exp
8344 * gdb.mi/mi-breakpoint-changed.exp
8345 * gdb.mi/mi-dprintf-pending.exp
8346 * gdb.mi/mi-dprintf.exp
8347 * gdb.mi/mi-exit-code.exp
8348 * gdb.mi/mi-pending.exp
8349 * gdb.mi/mi-solib.exp
8350 * gdb.mi/new-ui-mi-sync.exp
8351 * gdb.mi/pr11022.exp
8352 * gdb.mi/user-selected-context-sync.exp
8353 * gdb.opt/solib-intra-step.exp
8354 * gdb.python/py-events.exp
8355 * gdb.python/py-finish-breakpoint.exp
8356 * gdb.python/py-mi.exp
8357 * gdb.python/py-prettyprint.exp
8358 * gdb.python/py-shared.exp
8359 * gdb.python/py-symbol.exp
8360 * gdb.python/py-template.exp
8361 * gdb.python/py-type.exp
8362 * gdb.python/py-value.exp
8363 * gdb.reverse/solib-precsave.exp
8364 * gdb.reverse/solib-reverse.exp
8365 * gdb.server/solib-list.exp
8366 * gdb.stabs/weird.exp
8367 * gdb.threads/reconnect-signal.exp
8368 * gdb.threads/stepi-random-signal.exp
8369 * gdb.trace/actions.exp
8370 * gdb.trace/ax.exp
8371 * gdb.trace/backtrace.exp
8372 * gdb.trace/change-loc.exp
8373 * gdb.trace/deltrace.exp
8374 * gdb.trace/ftrace-lock.exp
8375 * gdb.trace/ftrace.exp
8376 * gdb.trace/infotrace.exp
8377 * gdb.trace/mi-tracepoint-changed.exp
8378 * gdb.trace/packetlen.exp
8379 * gdb.trace/passcount.exp
8380 * gdb.trace/pending.exp
8381 * gdb.trace/range-stepping.exp
8382 * gdb.trace/report.exp
8383 * gdb.trace/stap-trace.exp
8384 * gdb.trace/tfind.exp
8385 * gdb.trace/trace-break.exp
8386 * gdb.trace/trace-condition.exp
8387 * gdb.trace/trace-enable-disable.exp
8388 * gdb.trace/trace-mt.exp
8389 * gdb.trace/tracecmd.exp
8390 * gdb.trace/tspeed.exp
8391 * gdb.trace/tsv.exp
8392 * lib/perftest.exp
8393
fb9feb35
LM
83942016-12-01 Luis Machado <lgustavo@codesourcery.com>
8395
8396 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8397 with gdb_test_no_output.
8398 Use command as test name.
8399
cd2ddb6c
LM
84002016-12-01 Luis Machado <lgustavo@codesourcery.com>
8401
8402 Fix test names starting with uppercase throughout the files.
8403
8404 * gdb.ada/assign_1.exp
8405 * gdb.ada/boolean_expr.exp
8406 * gdb.base/arrayidx.exp
8407 * gdb.base/del.exp
8408 * gdb.base/gcore-buffer-overflow.exp
8409 * gdb.base/testenv.exp
8410 * gdb.compile/compile.exp
8411 * gdb.python/py-framefilter-invalidarg.exp
8412 * gdb.python/py-framefilter.exp
8413
bb95117e
LM
84142016-12-01 Luis Machado <lgustavo@codesourcery.com>
8415
8416 Fix test names starting with uppercase throughout the files.
8417
8418 * gdb.ada/array_return.exp
8419 * gdb.ada/expr_delims.exp
8420 * gdb.ada/mi_dyn_arr.exp
8421 * gdb.ada/mi_interface.exp
8422 * gdb.ada/mi_var_array.exp
8423 * gdb.ada/watch_arg.exp
8424 * gdb.arch/alpha-step.exp
8425 * gdb.arch/altivec-regs.exp
8426 * gdb.arch/e500-regs.exp
8427 * gdb.arch/powerpc-d128-regs.exp
8428 * gdb.base/arrayidx.exp
8429 * gdb.base/break.exp
8430 * gdb.base/checkpoint.exp
8431 * gdb.base/debug-expr.exp
8432 * gdb.base/dmsym.exp
8433 * gdb.base/radix.exp
8434 * gdb.base/sepdebug.exp
8435 * gdb.base/testenv.exp
8436 * gdb.base/watch_thread_num.exp
8437 * gdb.base/watchpoint-cond-gone.exp
8438 * gdb.cell/break.exp
8439 * gdb.cell/ea-cache.exp
8440 * gdb.compile/compile.exp
8441 * gdb.cp/gdb2495.exp
8442 * gdb.gdb/selftest.exp
8443 * gdb.gdb/xfullpath.exp
8444 * gdb.go/hello.exp
8445 * gdb.go/integers.exp
8446 * gdb.objc/basicclass.exp
8447 * gdb.pascal/hello.exp
8448 * gdb.pascal/integers.exp
8449 * gdb.python/py-breakpoint.exp
8450 * gdb.python/py-cmd.exp
8451 * gdb.python/py-linetable.exp
8452 * gdb.python/py-xmethods.exp
8453 * gdb.python/python.exp
8454 * gdb.reverse/consecutive-precsave.exp
8455 * gdb.reverse/finish-precsave.exp
8456 * gdb.reverse/i386-precsave.exp
8457 * gdb.reverse/machinestate-precsave.exp
8458 * gdb.reverse/sigall-precsave.exp
8459 * gdb.reverse/solib-precsave.exp
8460 * gdb.reverse/step-precsave.exp
8461 * gdb.reverse/until-precsave.exp
8462 * gdb.reverse/watch-precsave.exp
8463 * gdb.threads/leader-exit.exp
8464 * gdb.threads/pthreads.exp
8465 * gdb.threads/wp-replication.exp
8466 * gdb.trace/actions.exp
8467 * gdb.trace/mi-tsv-changed.exp
8468 * gdb.trace/tsv.exp
8469
de97fdd4
LM
84702016-12-01 Luis Machado <lgustavo@codesourcery.com>
8471
8472 Fix test names starting with uppercase throughout the files.
8473
8474 * gdb.arch/i386-bp_permanent.exp
8475 * gdb.arch/i386-gnu-cfi.exp
8476 * gdb.base/disasm-end-cu.exp
8477 * gdb.base/macscp.exp
8478 * gdb.base/pending.exp
8479 * gdb.base/watch_thread_num.exp
8480 * gdb.cp/exception.exp
8481 * gdb.cp/gdb2495.exp
8482 * gdb.cp/local.exp
8483 * gdb.python/py-evsignal.exp
8484 * gdb.python/python.exp
8485 * gdb.trace/tracecmd.exp
8486
9f058c10
LM
84872016-12-01 Luis Machado <lgustavo@codesourcery.com>
8488
8489 Fix test names starting with uppercase throughout the files.
8490
8491 * gdb.base/charset.exp
8492 * gdb.base/eval.exp
8493 * gdb.base/multi-forks.exp
8494 * gdb.guile/scm-progspace.exp
8495 * gdb.opencl/datatypes.exp
8496 * gdb.python/py-block.exp
8497 * gdb.python/py-function.exp
8498 * gdb.python/py-symbol.exp
8499 * gdb.python/py-symtab.exp
8500 * gdb.python/py-xmethods.exp
8501 * gdb.reverse/break-precsave.exp
8502 * gdb.reverse/break-reverse.exp
8503 * gdb.reverse/consecutive-precsave.exp
8504 * gdb.reverse/consecutive-reverse.exp
8505 * gdb.reverse/finish-precsave.exp
8506 * gdb.reverse/finish-reverse-bkpt.exp
8507 * gdb.reverse/finish-reverse.exp
8508 * gdb.reverse/fstatat-reverse.exp
8509 * gdb.reverse/getresuid-reverse.exp
8510 * gdb.reverse/i386-precsave.exp
8511 * gdb.reverse/i386-reverse.exp
8512 * gdb.reverse/i386-sse-reverse.exp
8513 * gdb.reverse/i387-stack-reverse.exp
8514 * gdb.reverse/insn-reverse.exp
8515 * gdb.reverse/machinestate-precsave.exp
8516 * gdb.reverse/machinestate.exp
8517 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8518 * gdb.reverse/pipe-reverse.exp
8519 * gdb.reverse/readv-reverse.exp
8520 * gdb.reverse/recvmsg-reverse.exp
8521 * gdb.reverse/rerun-prec.exp
8522 * gdb.reverse/s390-mvcle.exp
8523 * gdb.reverse/sigall-precsave.exp
8524 * gdb.reverse/sigall-reverse.exp
8525 * gdb.reverse/solib-precsave.exp
8526 * gdb.reverse/solib-reverse.exp
8527 * gdb.reverse/step-precsave.exp
8528 * gdb.reverse/step-reverse.exp
8529 * gdb.reverse/time-reverse.exp
8530 * gdb.reverse/until-precsave.exp
8531 * gdb.reverse/until-reverse.exp
8532 * gdb.reverse/waitpid-reverse.exp
8533 * gdb.reverse/watch-precsave.exp
8534 * gdb.reverse/watch-reverse.exp
8535
cdc7edd7
LM
85362016-12-01 Luis Machado <lgustavo@codesourcery.com>
8537
8538 Fix test names starting with uppercase throughout the files.
8539
8540 * gdb.arch/i386-mpx-simple_segv.exp
8541 * gdb.arch/i386-mpx.exp
8542 * gdb.arch/i386-permbkpt.exp
8543 * gdb.arch/pa-nullify.exp
8544 * gdb.arch/powerpc-d128-regs.exp
8545 * gdb.arch/vsx-regs.exp
8546 * gdb.base/bfp-test.exp
8547 * gdb.base/break.exp
8548 * gdb.base/breakpoint-shadow.exp
8549 * gdb.base/callfuncs.exp
8550 * gdb.base/charset.exp
8551 * gdb.base/commands.exp
8552 * gdb.base/completion.exp
8553 * gdb.base/dfp-test.exp
8554 * gdb.base/echo.exp
8555 * gdb.base/ending-run.exp
8556 * gdb.base/eval.exp
8557 * gdb.base/expand-psymtabs.exp
8558 * gdb.base/float128.exp
8559 * gdb.base/floatn.exp
8560 * gdb.base/foll-exec-mode.exp
8561 * gdb.base/gdb1056.exp
8562 * gdb.base/gdb11531.exp
8563 * gdb.base/kill-after-signal.exp
8564 * gdb.base/multi-forks.exp
8565 * gdb.base/overlays.exp
8566 * gdb.base/pending.exp
8567 * gdb.base/sepdebug.exp
8568 * gdb.base/testenv.exp
8569 * gdb.base/valgrind-db-attach.exp
8570 * gdb.base/watch_thread_num.exp
8571 * gdb.base/watchpoint-cond-gone.exp
8572 * gdb.base/watchpoint.exp
8573 * gdb.base/watchpoints.exp
8574 * gdb.cp/arg-reference.exp
8575 * gdb.cp/baseenum.exp
8576 * gdb.cp/operator.exp
8577 * gdb.cp/shadow.exp
8578 * gdb.dwarf2/dw2-op-out-param.exp
8579 * gdb.dwarf2/dw2-reg-undefined.exp
8580 * gdb.go/chan.exp
8581 * gdb.go/hello.exp
8582 * gdb.go/integers.exp
8583 * gdb.go/methods.exp
8584 * gdb.go/package.exp
8585 * gdb.guile/scm-parameter.exp
8586 * gdb.guile/scm-progspace.exp
8587 * gdb.guile/scm-value.exp
8588 * gdb.mi/mi-pending.exp
8589 * gdb.mi/user-selected-context-sync.exp
8590 * gdb.multi/multi-attach.exp
8591 * gdb.multi/tids.exp
8592 * gdb.opt/clobbered-registers-O2.exp
8593 * gdb.pascal/floats.exp
8594 * gdb.pascal/integers.exp
8595 * gdb.python/py-block.exp
8596 * gdb.python/py-events.exp
8597 * gdb.python/py-parameter.exp
8598 * gdb.python/py-symbol.exp
8599 * gdb.python/py-symtab.exp
8600 * gdb.python/py-type.exp
8601 * gdb.python/py-value.exp
8602 * gdb.python/py-xmethods.exp
8603 * gdb.python/python.exp
8604 * gdb.reverse/break-precsave.exp
8605 * gdb.reverse/consecutive-precsave.exp
8606 * gdb.reverse/finish-precsave.exp
8607 * gdb.reverse/i386-precsave.exp
8608 * gdb.reverse/machinestate-precsave.exp
8609 * gdb.reverse/sigall-precsave.exp
8610 * gdb.reverse/solib-precsave.exp
8611 * gdb.reverse/step-precsave.exp
8612 * gdb.reverse/until-precsave.exp
8613 * gdb.reverse/watch-precsave.exp
8614 * gdb.server/ext-attach.exp
8615 * gdb.server/ext-restart.exp
8616 * gdb.server/ext-run.exp
8617 * gdb.server/ext-wrapper.exp
8618 * gdb.stabs/gdb11479.exp
8619 * gdb.stabs/weird.exp
8620 * gdb.threads/attach-many-short-lived-threads.exp
8621 * gdb.threads/kill.exp
8622 * gdb.threads/watchpoint-fork.exp
8623
bc6c7af4
LM
86242016-12-01 Luis Machado <lgustavo@codesourcery.com>
8625
8626 Fix test names starting with uppercase throughout all the files below.
8627
8628 * gdb.ada/array_return.exp
8629 * gdb.ada/catch_ex.exp
8630 * gdb.ada/info_exc.exp
8631 * gdb.ada/mi_catch_ex.exp
8632 * gdb.ada/mi_dyn_arr.exp
8633 * gdb.ada/mi_ex_cond.exp
8634 * gdb.ada/mi_exc_info.exp
8635 * gdb.ada/mi_interface.exp
8636 * gdb.ada/mi_task_arg.exp
8637 * gdb.ada/mi_task_info.exp
8638 * gdb.ada/mi_var_array.exp
8639 * gdb.arch/alpha-step.exp
8640 * gdb.arch/amd64-disp-step.exp
8641 * gdb.arch/arm-disp-step.exp
8642 * gdb.arch/disp-step-insn-reloc.exp
8643 * gdb.arch/e500-prologue.exp
8644 * gdb.arch/ftrace-insn-reloc.exp
8645 * gdb.arch/gdb1558.exp
8646 * gdb.arch/i386-bp_permanent.exp
8647 * gdb.arch/i386-disp-step.exp
8648 * gdb.arch/i386-float.exp
8649 * gdb.arch/i386-gnu-cfi.exp
8650 * gdb.arch/ia64-breakpoint-shadow.exp
8651 * gdb.arch/mips16-thunks.exp
8652 * gdb.arch/pa-nullify.exp
8653 * gdb.arch/powerpc-aix-prologue.exp
8654 * gdb.arch/powerpc-power.exp
8655 * gdb.arch/ppc-dfp.exp
8656 * gdb.arch/s390-tdbregs.exp
8657 * gdb.arch/spu-info.exp
8658 * gdb.arch/spu-ls.exp
8659 * gdb.arch/thumb-bx-pc.exp
8660 * gdb.base/advance.exp
8661 * gdb.base/annota-input-while-running.exp
8662 * gdb.base/arrayidx.exp
8663 * gdb.base/asmlabel.exp
8664 * gdb.base/async.exp
8665 * gdb.base/attach-wait-input.exp
8666 * gdb.base/auto-connect-native-target.exp
8667 * gdb.base/batch-preserve-term-settings.exp
8668 * gdb.base/bfp-test.exp
8669 * gdb.base/bigcore.exp
8670 * gdb.base/bp-permanent.exp
8671 * gdb.base/break-always.exp
8672 * gdb.base/break-fun-addr.exp
8673 * gdb.base/break-idempotent.exp
8674 * gdb.base/break-main-file-remove-fail.exp
8675 * gdb.base/break-probes.exp
8676 * gdb.base/break-unload-file.exp
8677 * gdb.base/break.exp
8678 * gdb.base/call-ar-st.exp
8679 * gdb.base/call-rt-st.exp
8680 * gdb.base/call-sc.exp
8681 * gdb.base/call-signal-resume.exp
8682 * gdb.base/call-strs.exp
8683 * gdb.base/callexit.exp
8684 * gdb.base/callfuncs.exp
8685 * gdb.base/catch-gdb-caused-signals.exp
8686 * gdb.base/catch-signal-siginfo-cond.exp
8687 * gdb.base/catch-syscall.exp
8688 * gdb.base/compare-sections.exp
8689 * gdb.base/cond-eval-mode.exp
8690 * gdb.base/condbreak-call-false.exp
8691 * gdb.base/consecutive-step-over.exp
8692 * gdb.base/cursal.exp
8693 * gdb.base/disabled-location.exp
8694 * gdb.base/disasm-end-cu.exp
8695 * gdb.base/display.exp
8696 * gdb.base/double-prompt-target-event-error.exp
8697 * gdb.base/dprintf-bp-same-addr.exp
8698 * gdb.base/dprintf-detach.exp
8699 * gdb.base/dprintf-next.exp
8700 * gdb.base/dprintf-non-stop.exp
8701 * gdb.base/dprintf-pending.exp
8702 * gdb.base/dso2dso.exp
8703 * gdb.base/ending-run.exp
8704 * gdb.base/enum_cond.exp
8705 * gdb.base/examine-backward.exp
8706 * gdb.base/exe-lock.exp
8707 * gdb.base/exec-invalid-sysroot.exp
8708 * gdb.base/execl-update-breakpoints.exp
8709 * gdb.base/execution-termios.exp
8710 * gdb.base/fileio.exp
8711 * gdb.base/fixsection.exp
8712 * gdb.base/foll-exec-mode.exp
8713 * gdb.base/foll-exec.exp
8714 * gdb.base/fork-running-state.exp
8715 * gdb.base/frame-args.exp
8716 * gdb.base/fullpath-expand.exp
8717 * gdb.base/func-ptr.exp
8718 * gdb.base/gcore-relro-pie.exp
8719 * gdb.base/gdb1090.exp
8720 * gdb.base/gdb1555.exp
8721 * gdb.base/global-var-nested-by-dso.exp
8722 * gdb.base/gnu-ifunc.exp
8723 * gdb.base/hbreak-in-shr-unsupported.exp
8724 * gdb.base/hbreak-unmapped.exp
8725 * gdb.base/hook-stop.exp
8726 * gdb.base/infcall-input.exp
8727 * gdb.base/info-fun.exp
8728 * gdb.base/info-shared.exp
8729 * gdb.base/interrupt-noterm.exp
8730 * gdb.base/jit-so.exp
8731 * gdb.base/jit.exp
8732 * gdb.base/line-symtabs.exp
8733 * gdb.base/list.exp
8734 * gdb.base/longjmp.exp
8735 * gdb.base/macscp.exp
8736 * gdb.base/max-value-size.exp
8737 * gdb.base/nodebug.exp
8738 * gdb.base/nofield.exp
8739 * gdb.base/overlays.exp
8740 * gdb.base/paginate-after-ctrl-c-running.exp
8741 * gdb.base/paginate-bg-execution.exp
8742 * gdb.base/paginate-inferior-exit.exp
8743 * gdb.base/pending.exp
8744 * gdb.base/pr11022.exp
8745 * gdb.base/printcmds.exp
8746 * gdb.base/ptr-typedef.exp
8747 * gdb.base/ptype.exp
8748 * gdb.base/randomize.exp
8749 * gdb.base/range-stepping.exp
8750 * gdb.base/realname-expand.exp
8751 * gdb.base/relativedebug.exp
8752 * gdb.base/remote.exp
8753 * gdb.base/savedregs.exp
8754 * gdb.base/sepdebug.exp
8755 * gdb.base/set-noassign.exp
8756 * gdb.base/shlib-call.exp
8757 * gdb.base/shreloc.exp
8758 * gdb.base/sigaltstack.exp
8759 * gdb.base/sigbpt.exp
8760 * gdb.base/siginfo-addr.exp
8761 * gdb.base/siginfo-obj.exp
8762 * gdb.base/siginfo-thread.exp
8763 * gdb.base/signest.exp
8764 * gdb.base/signull.exp
8765 * gdb.base/sigrepeat.exp
8766 * gdb.base/skip.exp
8767 * gdb.base/so-impl-ld.exp
8768 * gdb.base/solib-corrupted.exp
8769 * gdb.base/solib-disc.exp
8770 * gdb.base/solib-display.exp
8771 * gdb.base/solib-overlap.exp
8772 * gdb.base/solib-search.exp
8773 * gdb.base/solib-symbol.exp
8774 * gdb.base/source-execution.exp
8775 * gdb.base/sss-bp-on-user-bp-2.exp
8776 * gdb.base/sss-bp-on-user-bp.exp
8777 * gdb.base/stack-checking.exp
8778 * gdb.base/stale-infcall.exp
8779 * gdb.base/step-break.exp
8780 * gdb.base/step-line.exp
8781 * gdb.base/step-over-exit.exp
8782 * gdb.base/step-test.exp
8783 * gdb.base/structs.exp
8784 * gdb.base/sym-file.exp
8785 * gdb.base/symtab-search-order.exp
8786 * gdb.base/term.exp
8787 * gdb.base/type-opaque.exp
8788 * gdb.base/unload.exp
8789 * gdb.base/until-nodebug.exp
8790 * gdb.base/until.exp
8791 * gdb.base/unwindonsignal.exp
8792 * gdb.base/watch-cond.exp
8793 * gdb.base/watch-non-mem.exp
8794 * gdb.base/watch_thread_num.exp
8795 * gdb.base/watchpoint-reuse-slot.exp
8796 * gdb.base/watchpoint-solib.exp
8797 * gdb.base/watchpoint.exp
8798 * gdb.btrace/dlopen.exp
8799 * gdb.cell/arch.exp
8800 * gdb.cell/break.exp
8801 * gdb.cell/bt.exp
8802 * gdb.cell/core.exp
8803 * gdb.cell/data.exp
8804 * gdb.cell/dwarfaddr.exp
8805 * gdb.cell/ea-cache.exp
8806 * gdb.cell/ea-standalone.exp
8807 * gdb.cell/ea-test.exp
8808 * gdb.cell/f-regs.exp
8809 * gdb.cell/fork.exp
8810 * gdb.cell/gcore.exp
8811 * gdb.cell/mem-access.exp
8812 * gdb.cell/ptype.exp
8813 * gdb.cell/registers.exp
8814 * gdb.cell/sizeof.exp
8815 * gdb.cell/solib-symbol.exp
8816 * gdb.cell/solib.exp
8817 * gdb.compile/compile-tls.exp
8818 * gdb.cp/exception.exp
8819 * gdb.cp/gdb2495.exp
8820 * gdb.cp/local.exp
8821 * gdb.cp/mb-inline.exp
8822 * gdb.cp/mb-templates.exp
8823 * gdb.cp/pr10687.exp
8824 * gdb.cp/pr9167.exp
8825 * gdb.cp/scope-err.exp
8826 * gdb.cp/templates.exp
8827 * gdb.cp/virtfunc.exp
8828 * gdb.dwarf2/dw2-dir-file-name.exp
8829 * gdb.dwarf2/dw2-single-line-discriminators.exp
8830 * gdb.fortran/complex.exp
8831 * gdb.fortran/library-module.exp
8832 * gdb.guile/guile.exp
8833 * gdb.guile/scm-cmd.exp
8834 * gdb.guile/scm-frame-inline.exp
8835 * gdb.guile/scm-objfile.exp
8836 * gdb.guile/scm-pretty-print.exp
8837 * gdb.guile/scm-symbol.exp
8838 * gdb.guile/scm-type.exp
8839 * gdb.guile/scm-value.exp
8840 * gdb.linespec/keywords.exp
8841 * gdb.linespec/ls-errs.exp
8842 * gdb.linespec/macro-relative.exp
8843 * gdb.linespec/thread.exp
8844 * gdb.mi/mi-breakpoint-changed.exp
8845 * gdb.mi/mi-dprintf-pending.exp
8846 * gdb.mi/mi-fullname-deleted.exp
8847 * gdb.mi/mi-logging.exp
8848 * gdb.mi/mi-pending.exp
8849 * gdb.mi/mi-solib.exp
8850 * gdb.mi/new-ui-mi-sync.exp
8851 * gdb.mi/user-selected-context-sync.exp
8852 * gdb.multi/dummy-frame-restore.exp
8853 * gdb.multi/multi-arch-exec.exp
8854 * gdb.multi/remove-inferiors.exp
8855 * gdb.multi/watchpoint-multi-exit.exp
8856 * gdb.opt/solib-intra-step.exp
8857 * gdb.perf/backtrace.exp
8858 * gdb.perf/single-step.exp
8859 * gdb.perf/skip-command.exp
8860 * gdb.perf/skip-prologue.exp
8861 * gdb.perf/solib.exp
8862 * gdb.python/lib-types.exp
8863 * gdb.python/py-as-string.exp
8864 * gdb.python/py-bad-printers.exp
8865 * gdb.python/py-block.exp
8866 * gdb.python/py-breakpoint.exp
8867 * gdb.python/py-cmd.exp
8868 * gdb.python/py-events.exp
8869 * gdb.python/py-evthreads.exp
8870 * gdb.python/py-finish-breakpoint.exp
8871 * gdb.python/py-finish-breakpoint2.exp
8872 * gdb.python/py-frame-inline.exp
8873 * gdb.python/py-frame.exp
8874 * gdb.python/py-inferior.exp
8875 * gdb.python/py-infthread.exp
8876 * gdb.python/py-mi.exp
8877 * gdb.python/py-objfile.exp
8878 * gdb.python/py-pp-maint.exp
8879 * gdb.python/py-pp-registration.exp
8880 * gdb.python/py-prettyprint.exp
8881 * gdb.python/py-recurse-unwind.exp
8882 * gdb.python/py-shared.exp
8883 * gdb.python/py-symbol.exp
8884 * gdb.python/py-symtab.exp
8885 * gdb.python/py-template.exp
8886 * gdb.python/py-type.exp
8887 * gdb.python/py-unwind-maint.exp
8888 * gdb.python/py-unwind.exp
8889 * gdb.python/py-value.exp
8890 * gdb.python/python.exp
8891 * gdb.reverse/finish-reverse-bkpt.exp
8892 * gdb.reverse/insn-reverse.exp
8893 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8894 * gdb.reverse/solib-precsave.exp
8895 * gdb.reverse/solib-reverse.exp
8896 * gdb.stabs/gdb11479.exp
8897 * gdb.stabs/weird.exp
8898 * gdb.threads/fork-child-threads.exp
8899 * gdb.threads/fork-plus-threads.exp
8900 * gdb.threads/fork-thread-pending.exp
8901 * gdb.threads/forking-threads-plus-breakpoint.exp
8902 * gdb.threads/hand-call-in-threads.exp
8903 * gdb.threads/interrupted-hand-call.exp
8904 * gdb.threads/linux-dp.exp
8905 * gdb.threads/local-watch-wrong-thread.exp
8906 * gdb.threads/next-while-other-thread-longjmps.exp
8907 * gdb.threads/non-ldr-exit.exp
8908 * gdb.threads/pending-step.exp
8909 * gdb.threads/print-threads.exp
8910 * gdb.threads/process-dies-while-detaching.exp
8911 * gdb.threads/process-dies-while-handling-bp.exp
8912 * gdb.threads/pthreads.exp
8913 * gdb.threads/queue-signal.exp
8914 * gdb.threads/reconnect-signal.exp
8915 * gdb.threads/signal-command-handle-nopass.exp
8916 * gdb.threads/signal-command-multiple-signals-pending.exp
8917 * gdb.threads/signal-delivered-right-thread.exp
8918 * gdb.threads/signal-sigtrap.exp
8919 * gdb.threads/sigthread.exp
8920 * gdb.threads/staticthreads.exp
8921 * gdb.threads/stepi-random-signal.exp
8922 * gdb.threads/thread-unwindonsignal.exp
8923 * gdb.threads/thread_check.exp
8924 * gdb.threads/thread_events.exp
8925 * gdb.threads/tid-reuse.exp
8926 * gdb.threads/tls-nodebug.exp
8927 * gdb.threads/tls-shared.exp
8928 * gdb.threads/tls-so_extern.exp
8929 * gdb.threads/tls.exp
8930 * gdb.threads/wp-replication.exp
8931 * gdb.trace/actions-changed.exp
8932 * gdb.trace/actions.exp
8933 * gdb.trace/backtrace.exp
8934 * gdb.trace/change-loc.exp
8935 * gdb.trace/collection.exp
8936 * gdb.trace/deltrace.exp
8937 * gdb.trace/disconnected-tracing.exp
8938 * gdb.trace/entry-values.exp
8939 * gdb.trace/ftrace-lock.exp
8940 * gdb.trace/ftrace.exp
8941 * gdb.trace/infotrace.exp
8942 * gdb.trace/mi-trace-frame-collected.exp
8943 * gdb.trace/mi-trace-unavailable.exp
8944 * gdb.trace/mi-traceframe-changed.exp
8945 * gdb.trace/mi-tracepoint-changed.exp
8946 * gdb.trace/mi-tsv-changed.exp
8947 * gdb.trace/no-attach-trace.exp
8948 * gdb.trace/packetlen.exp
8949 * gdb.trace/passc-dyn.exp
8950 * gdb.trace/passcount.exp
8951 * gdb.trace/pending.exp
8952 * gdb.trace/pr16508.exp
8953 * gdb.trace/qtro.exp
8954 * gdb.trace/range-stepping.exp
8955 * gdb.trace/read-memory.exp
8956 * gdb.trace/report.exp
8957 * gdb.trace/save-trace.exp
8958 * gdb.trace/signal.exp
8959 * gdb.trace/stap-trace.exp
8960 * gdb.trace/status-stop.exp
8961 * gdb.trace/strace.exp
8962 * gdb.trace/tfile.exp
8963 * gdb.trace/tfind.exp
8964 * gdb.trace/trace-break.exp
8965 * gdb.trace/trace-condition.exp
8966 * gdb.trace/trace-enable-disable.exp
8967 * gdb.trace/trace-mt.exp
8968 * gdb.trace/tracecmd.exp
8969 * gdb.trace/tracefile-pseudo-reg.exp
8970 * gdb.trace/tspeed.exp
8971 * gdb.trace/tstatus.exp
8972 * gdb.trace/tsv.exp
8973 * gdb.trace/unavailable.exp
8974 * gdb.trace/while-dyn.exp
8975 * gdb.trace/while-stepping.exp
8976 * lib/gdb-guile.exp
8977 * lib/gdb.exp
8978 * lib/mi-support.exp
8979 * lib/pascal.exp
8980 * lib/perftest.exp
8981 * lib/prelink-support.exp
8982 * lib/selftest-support.exp
8983
ad02e4fe
SM
89842016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8985
8986 * Makefile.in: Include disable-implicit-rules.mk.
8987
22347e55
AA
89882016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8989
8990 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8991 non-byte-aligned bit fields.
8992
da5b30da
AA
89932016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8994
8995 PR gdb/12616
8996 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8997 respects the DW_AT_data_bit_offset attribute.
8998
b593ecca
SM
89992016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9000
9001 * gdb.base/default.exp: Fix output of "set language".
9002
3b165252
SM
90032016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9004
9005 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9006 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9007 make.
9008 * configure.ac: Remove checks for the make program.
9009 * configure: Re-generate.
9010
1a2f3d7f
KB
90112016-11-16 Kevin Buettner <kevinb@redhat.com>
9012
9013 * gdb.python/py-recurse-unwind.c (main): Add loop.
9014 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9015 to read_register() and gdb.parse_and_eval(). Make each code
9016 call a separate case that can be individually tested.
9017 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9018 proc. Call cont_and_backtrace for each of the code paths that
9019 we want to test in the unwinder.
9020
b7f38fda
AA
90212016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9022
9023 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9024 the definition of struct S.
9025
1f8db343
CM
90262016-11-11 Catherine Moore <clm@codesourcery.com>
9027
9028 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9029
fad0c9fb
PA
90302016-11-09 Pedro Alves <palves@redhat.com>
9031
9032 * gdb.base/commands.exp (runto_or_return): New procedure.
9033 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9034 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9035 (progvar_simple_while_test, progvar_complex_if_while_test)
9036 (if_while_breakpoint_command_test)
9037 (infrun_breakpoint_command_test, breakpoint_command_test)
9038 (user_defined_command_test, watchpoint_command_test)
9039 (test_command_prompt_position, redefine_hook_test)
9040 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9041 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9042 multi_line_input and multi_line. Remove gdb_expect and
9043 gdb_stop_suppressing_tests uses.
9044 * lib/gdb.exp (valnum_re): New global.
9045 (multi_line_input): New procedure.
9046
8354c62c
SM
90472016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9048
9049 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9050 Remove.
9051 (test_setup): Define with proc_with_prefix.
9052 (test_cli_inferior): Likewise.
9053 (test_cli_thread): Likewise.
9054 (test_cli_frame): Likewise.
9055 (test_cli_select_frame): Likewise.
9056 (test_cli_up_down): Likewise.
9057 (test_mi_thread_select): Likewise.
9058 (test_mi_stack_select_frame): Likewise.
9059 (test_cli_in_mi_inferior): Likewise.
9060 (test_cli_in_mi_thread): Likewise.
9061 (test_cli_in_mi_frame): Likewise.
9062 (top level): Do not use with_test_prefix_procname.
9063
64f367a2
PA
90642016-11-09 Pedro Alves <palves@redhat.com>
9065
9066 * gdb.base/commands.exp (gdbvar_simple_if_test)
9067 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9068 (progvar_simple_if_test, progvar_simple_while_test)
9069 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9070 (infrun_breakpoint_command_test, breakpoint_command_test)
9071 (user_defined_command_test, watchpoint_command_test)
9072 (test_command_prompt_position, deprecated_command_test)
9073 (bp_deleted_in_command, temporary_breakpoint_commands)
9074 (stray_arg0_test, source_file_with_indented_comment)
9075 (recursive_source_test, if_commands_test)
9076 (error_clears_commands_left, redefine_hook_test)
9077 (redefine_backtrace_test): Use proc_with_prefix.
9078 * lib/gdb.exp (proc_with_prefix): New proc.
9079
0bb65f1e
AA
90802016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9081
9082 * gdb.base/tui-layout.c: New file.
9083 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9084 disassembly window contains very long lines.
9085
7353f247
TT
90862016-11-08 Tom Tromey <tom@tromey.com>
9087
9088 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9089 depend on Python 2.
9090
30a7bb83
TT
90912016-11-08 Tom Tromey <tom@tromey.com>
9092
9093 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9094 New method.
9095
cdf5a07c
MG
90962016-10-29 Manish Goregaokar <manish@mozilla.com>
9097
2806dc7e 9098 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 9099
51a789c3
MG
91002016-10-27 Manish Goregaokar <manish@mozilla.com>
9101
2806dc7e
PA
9102 * gdb.rust/simple.rs: Add test for univariant enums without
9103 discriminants and for encoded struct-like enums.
51a789c3 9104
f610ab6d
PA
91052016-10-28 Pedro Alves <palves@redhat.com>
9106
9107 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9108 gdb_test_multiple, tighten regexps and match symtabs and line
9109 tables incrementally.
9110
b129b0ca
LM
91112016-10-28 Luis Machado <lgustavo@codesourcery.com>
9112
9113 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9114 general.
9115
ecf45d2c
SL
91162016-10-25 Luis Machado <lgustavo@codesourcery.com>
9117
9118 * gdb.base/exec-invalid-sysroot.exp: New file.
9119
b8d38ee4
JK
91202016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9121
9122 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9123
f90fd8c2
JK
91242016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9125
9126 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9127
2d2476aa
MR
91282016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9129
2806dc7e
PA
9130 * gdb.base/killed-outside.exp: Remove $options from a call to
9131 `prepare_for_testing'.
2d2476aa 9132
e42b25a0
SM
91332016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9134
9135 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9136 Change test message.
9137
3ccdb432
SM
91382016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9139
9140 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9141 Update comment.
9142
5bad3170
SM
91432016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9144
9145 * gdb.trace/mi-trace-save.exp: New file.
9146
5ad9dba7
YQ
91472016-10-13 Yao Qi <yao.qi@linaro.org>
9148
9149 * gdb.base/code_elim.exp (get_var_address): Remove.
9150 * gdb.base/relocate.exp: Likewise.
9151 * gdb.base/shreloc.exp: Likewise.
9152 * lib/gdb.exp (get_var_address): New.
9153
62df7e21
YQ
91542016-10-13 Yao Qi <yao.qi@linaro.org>
9155
9156 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9157 floating point tests if $skip_float_test is false.
9158
4dac951e
LM
91592016-10-12 Luis Machado <lgustavo@codesourcery.com>
9160
9161 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9162 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9163 argc values.
9164 Add 1 to argc so we guarantee distinct initial/modified argc values.
9165
8f1a8fc4
JK
91662016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9167
9168 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9169
16c85b5d
JK
91702016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9171
9172 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9173 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9174 * gdb.arch/vsx-regs.exp: Likewise.
9175
1d0e042a
YQ
91762016-10-07 Yao Qi <yao.qi@linaro.org>
9177
9178 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9179
68dadef5
MM
91802016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9181
9182 * gdb.python/python.exp: Test decode_line("*0").
9183
33fa2c6e
DE
91842016-10-06 Doug Evans <dje@google.com>
9185
9186 * gdb.python/py-value.exp (test_value_creation): Add test for large
9187 unsigned 64-bit value.
9188
9c37b5ae
TT
91892016-10-06 Tom Tromey <tom@tromey.com>
9190
9191 * gdb.compile/compile.exp: Change java tests to rust.
9192 * gdb.base/setshow.exp: Change java tests to rust.
9193 * gdb.base/default.exp: Remove java from language list.
9194 * README (Examples): Update language example.
9195 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9196 test.
9197 * lib/gdb.exp (skip_java_tests): Remove.
9198 * lib/java.exp: Remove.
9199 * gdb.java: Remove.
9200
78b86327
MR
92012016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9202
9203 * gdb.arch/mips-fcr.exp: New test.
9204 * gdb.arch/mips-fcr.c: Source for the new test.
9205
7470adbb
MR
92062016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9207
9208 * gdb.base/solib-disc.exp: Use `standard_output_file'
9209 throughout.
9210
4a556533
PA
92112016-10-06 Pedro Alves <palves@redhat.com>
9212
9213 * gdb.base/jit-simple-dl.c: New file.
9214 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9215 * gdb.base/jit-simple.c: ... this.
9216 * gdb.base/jit-simple.exp (jit_run): Delete.
9217 (build_jit): New proc.
9218 (jit_test_reread): Recompile either the main program or the shared
9219 library, depending on what is being tested. Skip changing address
9220 if caller wants to. Compare before/after addresses. If testing
9221 standalone, explicitly load the binary. Test "maint info
9222 breakpoints".
9223 (top level): Add "standalone vs shared lib" and "change address"
9224 vs "same address" axes.
9225
5a122fbc
PA
92262016-10-06 Pedro Alves <palves@redhat.com>
9227
9228 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9229 call.
9230 (jit_run): Delete.
9231 (jit_test_reread): Use with_test_prefix. Reload the main binary
9232 explicitly. Compare the before/after addresses of the JIT
9233 descriptor.
9234
ee8da4b8
DE
92352016-08-15 Doug Evans <dje@google.com>
9236
9237 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9238 for single bitfields is bool.
9239 * gdb.xml/tdesc-regs.exp: Ditto.
9240
f389f6fe
JK
92412016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9242
9243 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9244
fdebf1a4
YQ
92452016-10-05 Yao Qi <yao.qi@linaro.org>
9246
9247 * lib/gdb.exp (support_complex_tests): Return zero if
9248 gdb_skip_float_test return true.
9249
9c36d954 92502016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9251 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
9252
9253 PR gdb/20487
9254 * gdb.mi/user-selected-context-sync.exp: New file.
9255 * gdb.mi/user-selected-context-sync.c: New file.
9256
4034d0ff 92572016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9258 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
9259
9260 PR gdb/20487
9261 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9262 =thread-select-event check.
9263
a4297203
PB
92642016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9265
9266 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9267 the compulsory L operand changes.
9268 * gdb.arch/powerpc-power.s: Likewise.
9269
bb805577
JK
92702016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9271
9272 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9273 * gdb.base/jit-attach-pie.c: New file.
9274 * gdb.base/jit-attach-pie.exp: New file.
9275
6d61dee5
PA
92762016-09-28 Pedro Alves <palves@redhat.com>
9277
9278 * gdb.base/infcall-input.c: New file.
9279 * gdb.base/infcall-input.exp: New file.
9280
f73842fc
YQ
92812016-09-22 Yao Qi <yao.qi@linaro.org>
9282
9283 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9284 (gdb_exit): Rename it to ...
9285 (gdbserver_gdb_exit): ... Close GDBserver.
9286 (gdb_exit): New proc, call gdbserver_gdb_exit.
9287 (mi_gdb_exit): Likewise.
9288
90681dab
YQ
92892016-09-22 Yao Qi <yao.qi@linaro.org>
9290
9291 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9292 path.
9293 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9294 Remove duplication.
9295
9c211fd8
YQ
92962016-09-22 Yao Qi <yao.qi@linaro.org>
9297
9298 * lib/gdbserver-support.exp: Check the existence of
9299 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9300
ad0a504f
AK
93012016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9302
9303 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9304
36cf1806
TT
93052016-09-21 Tom Tromey <tom@tromey.com>
9306
9307 PR gdb/20604:
9308 * gdb.base/quit.exp: New file.
9309
74172ecf
SM
93102016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9311
9312 * .gitignore: New file.
9313
3d0ec882
MR
93142016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9315
9316 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9317 throughout.
9318
8193adea
AA
93192016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9320
9321 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9322
d41a5c09
JK
93232016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9324
9325 * gdb.cp/casts.cc (decltype): Move it ...
9326 (main): ... with its call to ...
9327 * gdb.cp/casts03.cc: ... a new file.
9328 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9329
d2dfe700
JK
93302016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9331
9332 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9333
e2a92b16
PB
93342016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9335
9336 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9337 and sync up the test with tests in gas/testsuite/gas/ppc.
9338 * gdb.arch/powerpc-power.exp: Likewise.
9339
49b4de64
JK
93402016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9341
9342 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9343
2c29df25
SDJ
93442016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9345 Jan Kratochvil <jan.kratochvil@redhat.com>
9346
9347 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9348 make m1's definition to be different from m2's. Use 'dummy' as an
9349 argument for probe 'two'.
9350
cc3c2846
JB
93512016-09-10 Jon Beniston <jon@beniston.com>
9352
9353 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9354 for sim target.
9355
e1b2624a
AA
93562016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9357
9358 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9359 variable declaration.
9360 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9361 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9362 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9363 received HWCAP as its argument.
9364
4295e285
PA
93652016-09-06 Pedro Alves <palves@redhat.com>
9366
9367 * gdb.base/new-ui-pending-input.c: New file.
9368 * gdb.base/new-ui-pending-input.exp: New file.
9369 * gdb.exp (clear_gdb_spawn_id): New procedure.
9370 (with_spawn_id): Check whether gdb_spawn_id exists before
9371 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9372 on exit.
9373
00d5215e
UW
93742016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9375
9376 * gdb.base/float128.c: New file.
9377 * gdb.base/float128.exp: Likewise.
9378 * gdb.base/floatn.c: Likewise.
9379 * gdb.base/floatn.exp: Likewise.
9380
a9ff5f12
UW
93812016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9382
9383 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9384
f245535c
PA
93852016-09-05 Pedro Alves <palves@redhat.com>
9386
9387 PR backtrace/19927
9388 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9389 unwinders are immediately called as side effect of "source" or
9390 "disable unwinder" commands.
9391 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9392
ae9cf263
YQ
93932016-09-02 Yao Qi <yao.qi@linaro.org>
9394
9395 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9396 is true and $type is "float" or "double".
9397
27aba047
YQ
93982016-09-02 Yao Qi <yao.qi@linaro.org>
9399
9400 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9401 true.
9402 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9403 * gdb.base/call-rt-st.exp: Likewise.
9404 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9405 return value instead of gdb,skip_float_test.
9406 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9407 (do_function_calls): Use its return value instead of
9408 gdb,skip_float_test.
9409 * gdb.base/finish.exp: Likewise.
9410 * gdb.base/funcargs.exp: Likewise.
9411 * gdb.base/return.exp: Likewise.
9412 * gdb.base/return2.exp: Likewise.
9413 * gdb.base/varargs.exp: Likewise.
9414 * lib/gdb.exp (gdb_skip_float_test): Change it to
9415 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9416
5af962df
AA
94172016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9418
9419 * gdb.multi/tids.exp: Test "thread apply all".
9420
7fac6910
JK
94212016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9422
9423 * gdb.base/default.exp (tty): Remove.
9424
bb1fe4ac
KB
94252016-08-24 Kevin Buettner <kevinb@redhat.com>
9426
2806dc7e
PA
9427 * gdb.python/py-recurse-unwind.c: New file.
9428 * gdb.python/py-recurse-unwind.py: New file.
9429 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 9430
0a1ddfa6
SM
94312016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9432
9433 * gdb.base/set-inferior-tty.exp: New file.
9434 * gdb.base/set-inferior-tty.c: New file.
9435
d9de1fe3
PA
94362016-08-23 Pedro Alves <palves@redhat.com>
9437
9438 PR gdb/20494
9439 * gdb.base/new-ui-echo.c: New file.
9440 * gdb.base/new-ui-echo.exp: New file.
9441
e9d9abd7
YQ
94422016-08-23 Yao Qi <yao.qi@linaro.org>
9443
9444 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9445 gdbserver_spawn.
9446 * gdb.server/connect-without-multi-process.exp (do_test):
9447 Likewise.
9448
3589529e
YQ
94492016-08-23 Yao Qi <yao.qi@linaro.org>
9450
9451 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9452 standalone_txt. Delete gdb_txt and standalone_txt on host
9453 and target. Spawn the binary on target. Copy files from
9454 target to host.
9455
6bb90213
PA
94562016-08-22 Pedro Alves <palves@redhat.com>
9457
9458 PR gdb/20505
9459 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9460 with_test_prefix. Factor out bits to ...
9461 (test_no_vdso): ... this new procedure.
9462
20c2c024
CL
94632016-08-19 Carl Love <cel@us.ibm.com>
9464
9465 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9466 maintaining separate logic for constructing the output path.
9467 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9468 * gdb.arch/ppc-dfp.exp: Likewise.
9469 * gdb.arch/ppc-fp.exp: Likewise.
9470 * gdb.arch/vsx-regs.exp: Likewise.
9471 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9472 binprefix for generating the additional binary files.
9473
0646e07d
PA
94742016-08-19 Pedro Alves <palves@redhat.com>
9475
9476 * gdb.trace/mi-trace-frame-collected.exp
9477 (test_trace_frame_collected): On x32, expect two registers.
9478
46da9242
CL
94792016-08-18 Carl Love <cel@us.ibm.com>
9480
9481 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9482 and sync up the test with tests in gas/testsuite/gas/ppc.
9483 * gdb.arch/powerpc-power.exp: Likewise.
9484
eb2332d7
SM
94852016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9486
9487 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9488 expected error message.
9489
63c61e04
SM
94902016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9491
9492 * gdb.multi/remove-inferiors.exp: New file.
9493 * gdb.multi/remove-inferiors.c: New file.
9494
7b17065f
YQ
94952016-08-12 Yao Qi <yao.qi@linaro.org>
9496
9497 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9498 argument list.
9499
01d3dedf
PA
95002016-08-10 Pedro Alves <palves@redhat.com>
9501
9502 PR gdb/19187
9503 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9504 setup_kfails.
9505
3eb7562a
PA
95062016-08-09 Pedro Alves <palves@redhat.com>
9507 Simon Marchi <simon.marchi@ericsson.com>
9508
9509 PR gdb/20418
9510 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9511 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9512
80614914
PA
95132016-08-09 Pedro Alves <palves@redhat.com>
9514
9515 PR mi/20431
9516 * gdb.mi/mi-cmd-error.exp: New file.
9517
f348d89a
PA
95182016-08-09 Pedro Alves <palves@redhat.com>
9519
9520 PR gdb/18653
9521 * gdb.base/signals-state-child.c: New file.
9522 * gdb.base/signals-state-child.exp: New file.
9523 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9524
e5ca03b4
PA
95252016-08-09 Pedro Alves <palves@redhat.com>
9526
9527 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9528
282a0691
TT
95292016-08-03 Tom Tromey <tom@tromey.com>
9530
9531 PR python/18565:
9532 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9533
41bfcd63
YQ
95342016-08-01 Yao Qi <yao.qi@linaro.org>
9535
9536 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9537 variable mode to "multi-process" if $multi_process is 1, otherwise
9538 set it to "single-process".
9539
e3465b24
YQ
95402016-08-01 Yao Qi <yao.qi@linaro.org>
9541
9542 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9543 * gdb.cp/cpexprs.exp: Likewise.
9544 * gdb.cp/m-static.exp: Likewise.
9545
0b31a4bc
TT
95462016-07-26 Tom Tromey <tom@tromey.com>
9547
9548 PR python/20190:
9549 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9550 test.
9551
e0461dbb
MM
95522016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9553
9554 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9555 selecting assembly source files.
9556 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9557 assembly source files.
9558 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9559 assembly source files.
9560 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9561 selecting assembly source files.
9562
8194e927
SM
95632016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9564
9565 * gdb.base/new-ui.exp (do_test_invalid_args): New
9566 procedure.
9567
c0272db5
TW
95682016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9569
9570 * gdb.btrace/reconnect.c: New file.
9571 * gdb.btrace/reconnect.exp: New file.
9572
e3487908
GKB
95732016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9574
9575 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9576 to test_catch_syscall_group.
9577 (test_catch_syscall_group): New.
9578
12df5c00
TT
95792016-07-21 Tom Tromey <tom@tromey.com>
9580
9581 * gdb.rust/simple.rs (main): Use empty struct expression.
9582 * gdb.rust/simple.exp: Add tests for empty struct expression.
9583
bae62ee2
YQ
95842016-07-21 Yao Qi <yao.qi@linaro.org>
9585
9586 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9587 if gdb_skip_xml_test is true on some targets.
9588
b1b53fb3
YQ
95892016-07-21 Yao Qi <yao.qi@linaro.org>
9590
9591 * gdb.server/solib-list.exp: Unset last_loaded_file.
9592
027d97f8
JK
95932016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9594
9595 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9596 "step into captured_main (args)".
9597
7674d381
JK
95982016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9599
9600 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9601
72b5d099
JK
96022016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9603
9604 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9605
1f960ced
PA
96062016-07-19 Pedro Alves <palves@redhat.com>
9607
9608 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9609 * gdb.opt/inline-bt.exp: Likewise.
9610 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9611 additional_flags=-Winline.
9612 * gdb.opt/inline-locals.exp: Likewise.
9613 * gdb.opt/inline-markers.c (ATTR): Define.
9614 (inlined_fn): Use it.
9615
f25827c1
YQ
96162016-07-19 Yao Qi <yao.qi@linaro.org>
9617
9618 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9619 (test_with_self): Remove some code. Remove argument executable.
9620 (top-level): Use do_self_tests.
9621
37539ebe
DB
96222016-07-15 Zachary Welch <zwelch@codesourcery.com>
9623 Don Breazeal <donb@codesourcery.com>
9624
9625 * gdb.base/maint.exp: Escape paths used in regular expressions.
9626 * gdb.stabs/weird.exp: Likewise.
9627
dac790e1
TT
96282016-07-13 Tom Tromey <tom@tromey.com>
9629
9630 PR python/15620, PR python/18620:
9631 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9632 (test_bkpt_events): New procs.
9633
93daf339
TT
96342016-07-13 Tom Tromey <tom@tromey.com>
9635
9636 PR python/17698:
9637 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9638 test.
9639 (test_watchpoints): Likewise.
9640 (test_bkpt_pending): New proc.
9641
6571a381
TT
96422016-07-13 Tom Tromey <tom@tromey.com>
9643
9644 PR cli/18053:
9645 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9646 completion test.
9647
e8732474
JK
96482016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9649
9650 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9651 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9652 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9653 f_label.
9654 (g): Rename g_end_lbl to g_label.
9655 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9656 low_pc and high_pc.
9657 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9658
e0f3fd7c
TT
96592016-07-12 Tom Tromey <tom@tromey.com>
9660
9661 PR python/19293:
9662 * gdb.python/py-unwind-maint.exp: Update tests.
9663
3cfe46b6
YQ
96642016-07-12 Yao Qi <yao.qi@linaro.org>
9665
9666 * lib/selftest-support.exp (selftest_setup): Match the output
9667 when captured_main is inlined.
9668
4f19a0e6
WT
96692016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9670
9671 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9672 New variables.
9673 (print this%a, print this%b, print this): New tests.
9674 * gdb.fortran/derived-types.f90 (this): New object and
9675 initialization.
9676
986cf455
SM
96772016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9678
9679 * gdb.ada/arraydim.exp: Remove extra directory level in build
9680 directory.
9681
f0464b23
SM
96822016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9683
9684 * lib/ada.exp: Remove extra directory level in build directory.
9685 * gdb.ada/cond_lang.exp: Likewise.
9686 * gdb.ada/exec_changed.exp: Likewise.
9687 * gdb.ada/lang_switch.exp: Likewise.
9688
42d94011
MG
96892016-07-06 Manish Goregaokar <manish@mozilla.com>
9690
2806dc7e
PA
9691 * simple.rs: Add test for raw pointer subscripting.
9692 * simple.exp: Add test expectations.
42d94011 9693
647c264c
YQ
96942016-07-05 Yao Qi <yao.qi@linaro.org>
9695
9696 * gdb.mi/mi-reverse.exp: Match =record-started output.
9697
20aa2c60
PA
96982016-07-01 Pedro Alves <palves@redhat.com>
9699
9700 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9701 procedure.
9702 (jit_reader_test): Test the jit reader's unwinder.
9703 * gdb.base/jithost.c (jit_function_00_code): New global.
9704 (main): Use memcpy to fill in the mmapped code, instead of poking
9705 bytes manually here.
9706 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9707 value.
9708 (read_debug_info): Save the function's range.
9709 (read_sp): New function.
9710 (unwind_frame): Use it. Also unwind RBP.
9711 (get_frame_id): Use read_sp.
9712 (gdb_init_reader): Use calloc instead of malloc.
9713 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9714 parameter. Use gdb_test_multiple.
9715
ced2dffb
PA
97162016-07-01 Pedro Alves <palves@redhat.com>
9717 Antoine Tremblay <antoine.tremblay@ericsson.com>
9718
9719 * gdb.threads/process-dies-while-detaching.c: New file.
9720 * gdb.threads/process-dies-while-detaching.exp: New file.
9721
63000888
PA
97222016-07-01 Pedro Alves <palves@redhat.com>
9723
9724 * gdb.multi/watchpoint-multi-exit.c: New file.
9725 * gdb.multi/watchpoint-multi-exit.exp: New file.
9726
038d4868
PA
97272016-06-30 Pedro Alves <palves@redhat.com>
9728
9729 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9730 unset inferior_spawn_id.
9731
994e9c83
PA
97322016-06-30 Pedro Alves <palves@redhat.com>
9733
9734 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9735 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9736
e5653468
YQ
97372016-06-29 Yao Qi <yao.qi@linaro.org>
9738
9739 * gdb.base/return.c: Add copyright header.
9740
803b47e5
TT
97412016-06-29 Tom Tromey <tom@tromey.com>
9742
9743 PR python/20129:
9744 * gdb.python/py-framefilter.exp: Add tests for setting priority
9745 and disabling of non-existent frame filter.
9746
28244707
YQ
97472016-06-29 Yao Qi <yao.qi@linaro.org>
9748
9749 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9750 0x0f07ff.
9751
a31d2f06
YQ
97522016-06-28 Yao Qi <yao.qi@linaro.org>
9753
9754 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9755 triplets. Start gdb, execute catch syscall, and continue. Check
9756 gdb's output to determine catch syscall is supported.
9757
921d8f54
MG
97582016-06-27 Manish Goregaokar <manish@mozilla.com>
9759
25d49b86
PA
9760 * gdb.rust/simple.rs: Add test for returning unit in a function.
9761 * gdb.rust/simple.exp: Add expectation for functions returning
9762 unit.
921d8f54 9763
f4952523
PMR
97642016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9765
9766 * gdb.python/py-breakpoint-create-fail.c,
9767 gdb.python/py-breakpoint-create-fail.exp,
9768 gdb.python/py-breakpoint-create-fail.py: New testcase.
9769
fccb08f8
MG
97702016-06-25 Manish Goregaokar <manish@mozilla.com>
9771
9772 PR gdb/20239
9773 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
9774 * gdb.rust/simple.exp: Add test expectations for new NonZero
9775 tests.
fccb08f8 9776
6b850546
DT
97772016-06-24 David Taylor <dtaylor@emc.com>
9778
9779 * gdb.base/offsets.exp: New file.
9780 * gdb.base/offsets.c: New file.
9781
17621150
TT
97822016-06-23 Tom Tromey <tom@tromey.com>
9783
9784 PR gdb/16483:
9785 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9786 before any filters are loaded.
9787
04d59df6
WT
97882016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9789
9790 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9791 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9792 structs.
9793 * gdb.fortran/derived-type-function.exp: New file.
9794 * gdb.fortran/derived-type-function.f90: New file.
9795
9796
ac69f786
PA
97972016-06-21 Pedro Alves <palves@redhat.com>
9798
9799 * gdb.base/new-ui.exp: New file.
9800 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9801 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9802 (with_spawn_id): New procedure.
9803
49940788
PA
98042016-06-21 Pedro Alves <palves@redhat.com>
9805
9806 * gdb.mi/mi-exec-run.exp: New file.
9807
ef274d26
PA
98082016-06-21 Pedro Alves <palves@redhat.com>
9809
9810 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9811 breakpoint command's output on the main UI.
9812 (test_break): New procedure, factored out from calls in the top
9813 level.
9814 (top level): Use foreach_with_prefix to test MI as main UI and as
9815 separate UI.
9816
468afe6c
PA
98172016-06-21 Pedro Alves <palves@redhat.com>
9818
9819 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9820 (test_awatch_creation_and_listing)
9821 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9822 Remove 'type' parameter.
9823 (test_watchpoint_all): New parameter mi_mode. Remove
9824 with_test_prefix.
9825 (top level): Use foreach_with_prefix, and add main/separate UI MI
9826 testing axis.
9827
51f77c37
PA
98282016-06-21 Pedro Alves <palves@redhat.com>
9829
9830 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9831 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9832 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9833 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9834 (gdb_main_spawn_id, mi_spawn_id): Declare and
9835 comment.
9836 (mi_create_inferior_pty): New procedure,
9837 factored out from default_mi_gdb_start.
9838 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9839 procedures.
9840 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9841 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9842 Use mi_create_inferior_pty.
9843 (mi_gdb_start): Use eval to pass down args list.
9844
8980e177
PA
98452016-06-21 Pedro Alves <palves@redhat.com>
9846
9847 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9848 * gdb.opt/inline-cmds.exp: Add MI tests.
9849
f38d3ad1
PA
98502016-06-21 Pedro Alves <palves@redhat.com>
9851
9852 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9853
45db7c09
PA
98542016-06-21 Pedro Alves <palves@redhat.com>
9855
9856 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9857 (top level): Use it instead of mi_execute_to.
9858
5a069ab3
PA
98592016-06-21 Pedro Alves <palves@redhat.com>
9860
9861 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9862 (cont_handler_str): New.
9863 (signal_stop_handler): Set stop_handler_str instead of printing to
9864 stdout.
9865 (continue_handler): Set cont_handler_str instead of printing to
9866 stdout.
9867 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9868 mi_send_resuming_command. Print stop_handler_str and
9869 cont_handler_str instead of expecting the python events print
9870 directly.
9871
2838cc1d
SD
98722016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9873
9874 * gdb.base/jit-reader.exp: New file.
9875 * gdb.base/jithost.c: New file.
9876 * gdb.base/jithost.h: New file.
9877 * gdb.base/jitreader.c : New file.
9878 * gdb.base/jit-protocol.h: New file.
9879
21a77091
YQ
98802016-06-17 Yao Qi <yao.qi@linaro.org>
9881
9882 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9883 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9884 and detach-on-fork. Adjust tests.
9885 (top level): Invoke break_cond_on_syscall with combinations of
9886 syscall, follow-fork-mode and detach-on-fork.
9887
f50bf8e5
YQ
98882016-06-17 Yao Qi <yao.qi@linaro.org>
9889
9890 * gdb.base/step-over-exit.c: New.
9891 * gdb.base/step-over-exit.exp: New.
9892
a28d8e50
YTL
98932016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9894
9895 * gdb.base/float.exp: Add target check for nds32*-*-*.
9896 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9897
cad8e26d
AB
98982016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9899
9900 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9901 for unsupported target features.
9902 * gdb.base/call-rt-st.exp: Likewise.
9903 * gdb.base/call-sc.exp: Likewise.
9904 * gdb.base/call-signal-resume.exp: Likewise.
9905 * gdb.base/call-strs.exp: Likewise.
9906 * gdb.base/callexit.exp: Likewise.
9907 * gdb.base/callfuncs.exp: Likewise.
9908 * gdb.base/nodebug.exp: Likewise.
9909 * gdb.base/printcmds.exp: Likewise.
9910 * gdb.base/ptype.exp: Likewise.
9911 * gdb.base/structs.exp: Likewise.
9912 * gdb.base/unwindonsignal.exp: Likewise.
9913 * gdb.cp/gdb2495.exp: Likewise.
9914 * gdb.cp/templates.exp: Likewise.
9915 * gdb.cp/virtfunc.exp: Likewise.
9916 * gdb.threads/hand-call-in-threads.exp: Likewise.
9917 * gdb.threads/interrupted-hand-call.exp: Likewise.
9918 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9919
347dc102
TT
99202016-06-10 Tom Tromey <tom@tromey.com>
9921
9922 PR rust/20110:
9923 * gdb.rust/expr.exp: Add test for integer constant larger than
9924 i32.
9925
5e13cf25
BH
99262016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9927
9928 * gdb.fortran/nested-funcs.exp: New.
9929 * gdb.fortran/nested-funcs.f90: New.
9930
bb556f1f
TK
99312016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9932
9933 * gdb.base/examine-backward.c: New file.
9934 * gdb.base/examine-backward.exp: New file.
9935
38b022b4
SM
99362016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9937
9938 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9939 matching.
9940
1b40ec05
TT
99412016-06-02 Tom Tromey <tom@tromey.com>
9942
9943 PR python/18984:
9944 * gdb.python/py-shared.exp: Add solib_name test.
9945
193bd378
SM
99462016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9947
9948 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9949
3326303b
MG
99502016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9951
9952 PR c++/19893
9953 * gdb.dwarf2/implref.exp: Rename to...
9954 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9955 * gdb.dwarf2/implref-array.c: New file.
9956 * gdb.dwarf2/implref-array.exp: Likewise.
9957 * gdb.dwarf2/implref-global.c: Likewise.
9958 * gdb.dwarf2/implref-global.exp: Likewise.
9959 * gdb.dwarf2/implref-struct.c: Likewise.
9960 * gdb.dwarf2/implref-struct.exp: Likewise.
9961
825c8ef2
AT
99622016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9963
9964 * gdb.trace/trace-condition.exp: Add 64bit tests.
9965
2320162a
AT
99662016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9967
9968 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9969 bits types.
9970 (main): Adapt to 8 to 64 bits types.
9971 * gdb.trace/trace-condition.exp: Add new tests.
9972
a7818233
AT
99732016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9974
9975 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9976
0d336466
AT
99772016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9978
9979 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9980 Move condition tests...
9981 * gdb.trace/trace-condition.exp: Here.
9982
7faeb45a
AT
99832016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9984
9985 * gdb.trace/trace-condition.exp: Add counter-case tests.
9986
e385593e
JK
99872016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9988
9989 PR c++/15231
9990 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9991 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9992
744608cc
PA
99932016-05-27 Pedro Alves <palves@redhat.com>
9994
9995 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9996 New procedure.
9997 (top level): Call it, and bail out of DejaGnu is known to be bad.
9998
ac775bf4
AB
99992016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10000
10001 * gdb.base/whatis.c: Extend the test case.
10002 * gdb.base/whatis.exp: Add additional tests.
10003
2bbad2ea
BH
100042016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10005
10006* gdb.fortran/type.f90: Add pointer variable.
10007* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10008
8b70175d
BH
100092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10010
10011 * gdb.fortran/vla-type.exp: Fix testcase name.
10012
86d8a848
BH
100132016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10014
10015 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10016
e188eb36
BH
100172016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10018
10019 * gdb.fortran/type.f90: Add nested structures.
10020 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10021 * gdb.fortran/derived-type.exp: Adapt expected output.
10022 * gdb.fortran/vla-type.exp: Adapt expected output.
10023
9b2db1fd
BH
100242016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10025
10026 * gdb.fortran/whatis_type.exp: Adapt expected output.
10027
72b17055
BH
100282016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10029
10030 * gdb.fortran/print_type.exp: Fix expected output.
10031 * gdb.fortran/whatis_type.exp: Fix expected output.
10032
3cd81d8d
BH
100332016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10034
10035 * gdb.fortran/whatis_type.exp: Use multi_line.
10036
ddae9462
TT
100372016-05-24 Tom Tromey <tom@tromey.com>
10038
10039 PR python/17386:
10040 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10041 use value as an index.
10042
1957f6b8
TT
100432016-05-23 Tom Tromey <tom@tromey.com>
10044
10045 PR python/17981:
10046 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10047 no-breakpoint case.
10048
026a9174
PA
100492016-05-24 Pedro Alves <palves@redhat.com>
10050
10051 PR gdb/19828
10052 * gdb.threads/clone-attach-detach.c: New file.
10053 * gdb.threads/clone-attach-detach.exp: New file.
10054
e70a7231
FR
100552016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10056
10057 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10058
0f6ed0e0
TT
100592016-05-23 Tom Tromey <tom@tromey.com>
10060
10061 PR python/19438, PR python/18393:
10062 * gdb.python/py-progspace.exp: Add "dir" test.
10063 * gdb.python/py-objfile.exp: Add "dir" test.
10064
ffd19d61
YQ
100652016-05-23 Yao Qi <yao.qi@linaro.org>
10066
10067 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10068 * gdb.arch/thumb2-it.exp: Likewise.
10069
9e8f9b05
SM
100702016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10071
10072 * gdb.mi/mi-threads-interrupt.c: New file.
10073 * gdb.mi/mi-threads-interrupt.exp: New file.
10074
61c6156d
SM
100752016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10076
10077 PR gdb/18077
10078 * gdb.mi/mi-async-run.exp: New file.
10079 * gdb.mi/mi-async-run.c: New file.
10080
67218854
TT
100812016-05-17 Tom Tromey <tom@tromey.com>
10082 Manish Goregaokar <manishsmail@gmail.com>
10083
10084 * lib/rust-support.exp: New file.
10085 * lib/gdb.exp (skip_rust_tests): New proc.
10086 (build_executable_from_specs): Handle rust.
10087 * lib/future.exp (gdb_find_rustc): New proc.
10088 (gdb_default_target_compile): Handle rust.
10089 * gdb.rust/expr.exp: New file.
10090 * gdb.rust/generics.exp: New file.
10091 * gdb.rust/generics.rs: New file.
10092 * gdb.rust/methods.exp: New file.
10093 * gdb.rust/methods.rs: New file.
10094 * gdb.rust/modules.exp: New file.
10095 * gdb.rust/modules.rs: New file.
10096 * gdb.rust/simple.exp: New file.
10097 * gdb.rust/simple.rs: New file.
10098
c44af4eb
TT
100992016-05-17 Tom Tromey <tom@tromey.com>
10100
10101 * gdb.base/default.exp (set language): Add rust.
10102
dcd1f979
TT
101032016-05-17 Tom Tromey <tom@tromey.com>
10104
10105 * gdb.gdb/unittest.exp: New file.
10106
155b7f57
YQ
101072016-05-16 Yao Qi <yao.qi@linaro.org>
10108
10109 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10110 shell_prompt. Update shell_prompt_re.
10111
8ddd5a6c
DE
101122016-05-12 Doug Evans <dje@google.com>
10113
10114 PR symtab/19999
10115 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10116 $options when building executable.
10117 * gdb.dwarf2/fission-loclists-pie.S: New file.
10118 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10119
02e370d9
SM
101202016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10121
10122 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10123 of [is_remote target],
10124
8929ad8b
SM
101252016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10126
10127 * lib/gdb.exp (use_gdb_stub): New procedure.
10128
6c447423
DE
101292016-05-03 Yunlian Jiang <yunlian@google.com>
10130 Doug Evans <dje@google.com>
10131
10132 PR symtab/19914
10133 * gdb.dwarf2/dwp-sepdebug.c: New file.
10134 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10135
444e826c
SM
101362016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10137
10138 * gdb.base/detach.exp: Remove is_remote check.
10139
740feeaa
SM
101402016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10141
10142 * gdb.base/annota-input-while-running.exp: Don't check for
10143 [is_remote target]. Enable annotations after running to main.
10144 Remove unused "set test..." line.
10145
9080ac9d
SM
101462016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10147
10148 * gdb.trace/trace-enable-disable.exp: New file.
10149 * gdb.trace/trace-enable-disable.c: New file.
10150
952ebca5
SM
101512016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10152
10153 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10154 use it in info sharedlibrary test.
10155 * gdb.trace/ftrace-lock.exp: Likewise.
10156 * gdb.trace/ftrace.exp: Likewise.
10157 * gdb.trace/range-stepping.exp: Likewise.
10158 * gdb.trace/trace-break.exp: Likewise.
10159 * gdb.trace/trace-condition.exp: Likewise.
10160 * gdb.trace/trace-mt.exp: Likewise.
10161
d9019901
SM
101622016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10163
10164 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10165 (gdb_load_shlib): ... this.
10166 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10167 gdb_load_shlib.
10168 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10169 * gdb.base/ctxobj.exp: Likewise.
10170 * gdb.base/dprintf-pending.exp: Likewise.
10171 * gdb.base/dso2dso.exp: Likewise.
10172 * gdb.base/fixsection.exp: Likewise.
10173 * gdb.base/gcore-relro.exp: Likewise.
10174 * gdb.base/gdb1555.exp: Likewise.
10175 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10176 * gdb.base/gnu-ifunc.exp: Likewise.
10177 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10178 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10179 * gdb.base/pending.exp: Likewise.
10180 * gdb.base/print-file-var.exp: Likewise.
10181 * gdb.base/print-symbol-loading.exp: Likewise.
10182 * gdb.base/shlib-call.exp: Likewise.
10183 * gdb.base/shreloc.exp: Likewise.
10184 * gdb.base/so-impl-ld.exp: Likewise.
10185 * gdb.base/solib-disc.exp: Likewise.
10186 * gdb.base/solib-nodir.exp: Likewise.
10187 * gdb.base/solib-overlap.exp: Likewise.
10188 * gdb.base/solib-symbol.exp: Likewise.
10189 * gdb.base/solib-weak.exp (do_test): Likewise.
10190 * gdb.base/sym-file.exp: Likewise.
10191 * gdb.base/symtab-search-order.exp: Likewise.
10192 * gdb.base/type-opaque.exp: Likewise.
10193 * gdb.base/unload.exp: Likewise.
10194 * gdb.base/watchpoint-solib.exp: Likewise.
10195 * gdb.compile/compile.exp: Likewise.
10196 * gdb.cp/gdb2384.exp: Likewise.
10197 * gdb.cp/infcall-dlopen.exp: Likewise.
10198 * gdb.cp/re-set-overloaded.exp: Likewise.
10199 * gdb.fortran/library-module.exp: Likewise.
10200 * gdb.opt/solib-intra-step.exp: Likewise.
10201 * gdb.python/py-finish-breakpoint.exp: Likewise.
10202 * gdb.python/py-shared.exp: Likewise.
10203 * gdb.reverse/solib-precsave.exp: Likewise.
10204 * gdb.reverse/solib-reverse.exp: Likewise.
10205 * gdb.server/solib-list.exp: Likewise.
10206 * gdb.threads/dlopen-libpthread.exp: Likewise.
10207 * gdb.threads/tls-shared.exp: Likewise.
10208 * gdb.threads/tls-so_extern.exp: Likewise.
10209 * gdb.trace/change-loc.exp: Likewise.
10210 * gdb.trace/ftrace-lock.exp: Likewise.
10211 * gdb.trace/ftrace.exp: Likewise.
10212 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10213 * gdb.trace/pending.exp: Likewise.
10214 * gdb.trace/range-stepping.exp: Likewise.
10215 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10216 (strace_info_marker): Likewise.
10217 (strace_probe_marker): Likewise.
10218 (strace_trace_on_same_addr): Likewise.
10219 (strace_trace_on_diff_addr): Likewise.
10220 * gdb.trace/trace-break.exp: Likewise.
10221 * gdb.trace/trace-condition.exp: Likewise.
10222 * gdb.trace/trace-mt.exp: Likewise.
10223
fca4cfd9
SM
102242016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10225
10226 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10227 result of gdb_remote_download.
10228 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10229 * gdb.base/dso2dso.exp: Likewise.
10230 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10231 * gdb.base/print-file-var.exp: Likewise.
10232 * gdb.base/shlib-call.exp: Likewise.
10233 * gdb.base/shreloc.exp: Likewise.
10234 * gdb.base/solib-overlap.exp: Likewise.
10235 * gdb.base/solib-weak.exp (do_test): Likewise.
10236 * gdb.base/unload.exp: Likewise.
10237
11cf4ffb
YQ
102382016-04-27 Yao Qi <yao.qi@linaro.org>
10239
10240 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10241 exists.
10242
3e2e34f8
KB
102432016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10244
10245 * vla-type.exp: Print structure from toplevel.
10246
8f07e298
BH
102472016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10248
10249 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10250 of dynamic types.
10251 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10252 of dynamic types.
10253
9920b434
BH
102542016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10255
10256 * gdb.fortran/vla-type.f90: New file.
10257 * gdb.fortran/vla-type.exp: New file.
10258
f3abeff5
YQ
102592016-04-25 Yao Qi <yao.qi@linaro.org>
10260
10261 * gdb.base/branch-to-self.c: New file.
10262 * gdb.base/branch-to-self.exp: New file.
10263
0a5d52f0
YQ
102642016-04-22 Yao Qi <yao.qi@linaro.org>
10265
10266 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10267 more after $hex.
10268
495346f6
YQ
102692016-04-22 Yao Qi <yao.qi@linaro.org>
10270
10271 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10272 * gdb.base/annota3.exp: Likewise.
10273
4a7e075c
YQ
102742016-04-22 Yao Qi <yao.qi@linaro.org>
10275
10276 * gdb.reverse/step-precsave.exp: Do one step and test program
10277 stops in "callee" and do multiple steps until program goes out
10278 of "callee".
10279 * gdb.reverse/step-reverse.exp: Likewise.
10280
5b061e98
YQ
102812016-04-22 Yao Qi <yao.qi@linaro.org>
10282
10283 * gdb.trace/signal.exp: Also pass if
10284 $tracepoint_hits($i) > $iterations.
10285
5c5dc57f
YQ
102862016-04-22 Yao Qi <yao.qi@linaro.org>
10287
10288 * gdb.trace/signal.c: New file.
10289 * gdb.trace/signal.exp: New file.
10290
a55411b9
DE
102912016-04-19 Doug Evans <xdje42@gmail.com>
10292
10293 * gdb.base/bad-file.exp: New file.
10294
a22df60a
MG
102952016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10296
10297 * gdb.dwarf2/implref.exp: New file.
10298
0c13f7e5
BH
102992016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10300
10301 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10302 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10303 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10304 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10305 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10306 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10307 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10308 * lib/fortran.exp (fortran_int4): New procedure.
10309 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10310 (fortran_logical4): Likewise.
10311
9b9b09e9
BH
103122016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10313
10314 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10315
a14d1f4d
BH
103162016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10317
10318 * lib/compiler.c: Add Intel specific preprocessor macros.
10319 * lib/compiler.cc: Likewise.
25d49b86 10320
7d49b1d0
LM
103212016-04-13 Luis Machado <lgustavo@codesourcery.com>
10322
10323 * gdb.server/connect-with-no-symbol-file.c: New file.
10324 * gdb.server/connect-with-no-symbol-file.exp: New file.
10325
8392fa22
SM
103262016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10327
10328 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10329
8c4c4aeb
SM
103302016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10331
10332 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10333 standard output directory.
10334
45e3745e
AT
103352016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10336
10337 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10338
e26b7e41
MM
103392016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10340
10341 * gdb.btrace/instruction_history.c (loop): Add declaration.
10342
8ce09462
AT
103432016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10344
10345 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10346
2e88a1ea
SM
103472016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10348
10349 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10350 parentheses to print.
10351 (continue_handler): Likewise.
10352
f48e22e3
SM
103532016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10354
10355 * gdb.server/solib-list.exp: Remove is_remote check.
10356 Pass shlib= to gdb_compile. Don't link shared library with
10357 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10358 Run binary filename through "readlink -f" on the target.
10359
096be756
PA
103602016-04-08 Pedro Alves <palves@redhat.com>
10361
10362 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10363 interpreter filename as argument to gdbserver_spawn.
10364 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10365 Return empty if $last_loaded_file does not exist.
10366
06500533
JK
103672016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10368
10369 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10370 * gdb.base/jit-main.c: Use exit after usage.
10371
2d35e871
JK
103722016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10373
10374 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10375 GDBHISTSIZE prior to the tests.
10376 * gdb.base/gdbinit-history.exp: Likewise.
10377
103782016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
10379
10380 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10381 instead of build_executable. Use gdb_load_shlibs.
10382
c8064e7e
YQ
103832016-04-07 Yao Qi <yao.qi@linaro.org>
10384
10385 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10386 Execute "si" command.
10387
bde47561
YQ
103882016-04-07 Yao Qi <yao.qi@linaro.org>
10389
10390 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10391 number instead of the comments on some line.
10392
b16f8a3b
DB
103932016-04-06 Don Breazeal <donb@codesourcery.com>
10394
10395 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10396 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10397
c2f901df
SM
103982016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10399
10400 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10401 standard_output_file. Remove unused binfile variable.
10402
ac17fda0
CU
104032016-04-05 Catalin Udma <catalin.udma@freescale.com>
10404
10405 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10406 * gdb.python/py-mi-objfile.exp: Match "list main" output
10407 in console format.
10408
03a8c4df
SM
104092016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10410
10411 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10412 absolute.
10413
6e774b13
SM
104142016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10415
10416 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10417 absolute.
10418 * gdb.trace/ftrace.exp: Likewise.
10419 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10420 targets as well.
10421 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10422 (gdb_load_shlibs): Copy libraries to test directory when testing
10423 natively. Only set solib-search-path if testing remotely.
10424 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10425
7817ea46
SM
104262016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10427
10428 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10429 gdb_download. Use it even if the target is not remote.
10430 * gdb.base/jit.exp (compile_jit_test): Likewise.
10431 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10432 output directory if the destination board is local, otherwise use
10433 the standard remote_download from DejaGnu.
10434 (gdb_download): Remove.
10435 (gdb_load_shlibs): Use gdb_remote_download instead of
10436 gdb_download.
10437 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10438 Use gdb_remote_download instead of gdb_download. Use it even if
10439 the target is not remote.
10440 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10441 instead of gdb_download.
10442
7beb7f68
SM
104432016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10444
10445 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10446 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10447 run.
10448
cc63428a
AV
104492016-04-01 Artemiy Volkov <artemiyv@acm.org>
10450
10451 PR gdb/19820
10452 * gdb.base/printcmds.exp: Add artificial arrays tests.
10453
64cdf930
PA
104542016-03-31 Pedro Alves <palves@redhat.com>
10455
10456 PR gdb/19858
10457 * gdb.base/jit-main.c: Include unistd.h.
10458 (ATTACH): Define to 0 if not already defined.
10459 (wait_for_gdb, mypid): New globals.
10460 (WAIT_FOR_GDB): New macro.
10461 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10462 some breakpoint locations.
10463 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10464 New procedures.
10465 (one_jit_test): Add REATTACH parameter, and handle it. Use
10466 continue_to_test_location.
10467 (top level): Test attach, and adjusts calls to one_jit_test.
10468
40dea8cb
PA
104692016-03-31 Pedro Alves <palves@redhat.com>
10470
10471 PR gdb/19858
10472 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10473 BINSUFFIX parameter, and handle it.
10474 (top level): Adjust calls compile_jit_test.
10475
e7ea3ec7
CU
104762016-03-31 Catalin Udma <catalin.udma@freescale.com>
10477
10478 PR python/19743
10479 * gdb.python/py-mi-events-gdb.py: New file.
10480 * gdb.python/py-mi-events.c: New file.
10481 * gdb.python/py-mi-events.exp: New file.
10482
e6359af3
YQ
104832016-03-30 Yao Qi <yao.qi@linaro.org>
10484
10485 * gdb.reverse/until-precsave.exp: Match function name only.
10486 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10487 Move malloc to a condition block.
10488 * gdb.reverse/until-reverse.exp: Match function name only.
10489
a4105d04
MK
104902016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10491
10492 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10493 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10494 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10495 variable for GPR 0 instead of assuming it is register 0.
10496 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10497 * lib/trace-support.exp: Add s390 registers.
10498
bfa6adb9
YQ
104992016-03-29 Yao Qi <yao.qi@linaro.org>
10500
10501 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10502
1e6697ea
YQ
105032016-03-24 Yao Qi <yao.qi@linaro.org>
10504
10505 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10506 test message.
10507
64bcd522
AA
105082016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10509
10510 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10511 maintaining separate logic for constructing the output path.
10512
7868401b
DB
105132016-03-16 Don Breazeal <donb@codesourcery.com>
10514
10515 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10516 Retry fork and waitpid on interrupted system call errors.
10517 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10518 Use with_timeout_factor to increase timeout by factor of 10.
10519
1cafadb4
DB
105202016-03-15 Don Breazeal <donb@codesourcery.com>
10521
10522 * gdb.cp/scope-err.cc: New test program.
10523 * gdb.cp/scope-err.exp: New test script.
10524 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10525 lines and "set breakpoint here" comment.
10526 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10527 Fixed some whitespace and format issues.
10528 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10529 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10530
81516450
DE
105312016-03-15 Doug Evans <dje@google.com>
10532
10533 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10534 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10535 All callers updated. Add tests for enums, mixed flags register.
10536
aa52b601
DE
105372016-03-15 Doug Evans <dje@google.com>
10538
10539 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10540 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10541
fa4ff313
SM
105422016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10543
10544 * gdb.base/default.exp: Add $_as_string to the list of expected
10545 convenience functions.
10546
f2403c39
AB
105472016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10548
10549 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10550
f2f3ccb9
SM
105512016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10552
10553 * gdb.python/py-as-string.exp: New file.
10554 * gdb.python/py-as-string.c: New file.
10555
00dbd492
PA
105562016-03-09 Pedro Alves <palves@redhat.com>
10557
10558 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10559 signal" -> "Thread NN received signal" output change.
10560 * gdb.threads/ia64-sigill.exp: Likewise.
10561 * gdb.threads/linux-dp.exp: Likewise.
10562 * gdb.threads/manythreads.exp: Likewise.
10563 * gdb.threads/pending-step.exp: Likewise.
10564 * gdb.threads/print-threads.exp: Likewise.
10565 * gdb.threads/sigstep-threads.exp: Likewise.
10566 * gdb.threads/staticthreads.exp: Likewise.
10567 * gdb.threads/tls.exp: Likewise.
10568
1e6697ea
YQ
105692016-03-09 Pedro Alves <palves@redhat.com>
10570
10571 * gdb.base/command-line-input.exp: New file.
10572
b04fd3be
MK
105732016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10574
10575 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10576 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10577 * gdb.trace/pending.exp: Accept leading dot before function name.
10578 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10579 * lib/trace-support.exp: Set registers for ppc.
10580
98fa59e9
MK
105812016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10582
10583 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10584 use it for disassembly; accept .main in addition to main in backtrace.
10585
f77198c8
MK
105862016-03-09 Wei-cheng Wang <cole945@gmail.com>
10587 Marcin Kościelnicki <koriakin@0x04.net>
10588
10589 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10590 (gdb_recursion_test_ptr): New global variable.
10591 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10592 gdb_recursion_test.
10593 (gdb_c_test): Ditto.
10594
ba84e0da
MK
105952016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10596
10597 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10598 ordering.
10599
4366d36e
MK
106002016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10601
10602 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10603 (bar): Add bar_start_lbl label.
10604 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10605 of foo/bar for emitting DWARF and tracing.
10606
5eb264df
SDJ
106072016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10608
10609 * analyze-racy-logs.py: Set executable bit.
10610
fb6a751f
SDJ
106112016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10612
10613 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10614 (CHECK_TARGET_TMP): Likewise.
10615 (check-single-racy): New rule.
10616 (check-parallel-racy): Likewise.
10617 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10618 (do-check-parallel-racy): New rule.
10619 (check-racy/%.exp): Likewise.
10620 * README (Racy testcases): New section.
10621 * analyze-racy-logs.py: New file.
10622
bdf7e230
DE
106232016-03-03 Doug Evans <dje@google.com>
10624
10625 * gdb.base/skip.exp: Use with_test_prefix.
10626
4719d415
YQ
106272016-03-03 Yao Qi <yao.qi@linaro.org>
10628
10629 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10630 Invoke step_over_syscall "clone" and break_cond_on_syscall
10631 "clone".
10632 * gdb.base/step-over-clone.c: New file.
10633
ea507862
YQ
106342016-03-03 Yao Qi <yao.qi@linaro.org>
10635
10636 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10637 code format.
10638
8fc8cbda
YQ
106392016-03-03 Yao Qi <yao.qi@linaro.org>
10640
10641 * gdb.base/disp-step-fork.c: Rename to ...
10642 * gdb.base/step-over-fork.c: ... it. New file.
10643 * gdb.base/disp-step-vfork.c: Rename to ...
10644 * gdb.base/step-over-vfork.c: ... it. New file.
10645 * gdb.base/disp-step-syscall.exp: Rename to ...
10646 * gdb.base/step-over-syscall.exp: ... it. New file.
10647 (disp_step_cross_syscall): Rename to ...
10648 (step_over_syscall): ... it.
10649
92fa70b0
YQ
106502016-03-03 Yao Qi <yao.qi@linaro.org>
10651
10652 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10653 If target supports condition evaluation on target, invoke
10654 break_cond_on_syscall for fork and vfork.
10655
e197ad3c
YQ
106562016-03-03 Yao Qi <yao.qi@linaro.org>
10657
10658 * gdb.base/disp-step-syscall.exp: Don't invoke
10659 support_displaced_stepping.
10660 (disp_step_cross_syscall): Test with displaced stepping off and
10661 on if supported.
10662
0b47da9f
YQ
106632016-03-03 Yao Qi <yao.qi@linaro.org>
10664
10665 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10666 proc.
10667 (setup): New proc.
10668 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10669 and setup.
10670
065ab6dc
BH
106712016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10672
10673 * gdb.fortran/vla-history.exp: Remove breakpoint.
10674
07e448ad 106752016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10676
25d49b86
PA
10677 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10678 exceeds timeout.
07e448ad 10679
9ac2d526 106802016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10681
25d49b86
PA
10682 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10683 breakpoint.
9ac2d526 10684
17807369
BH
106852016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10686
10687 * gdb.mi/vla.f90: Nullify pointer after declaration.
10688
86e501af
PA
106892016-03-01 Pedro Alves <palves@redhat.com>
10690
10691 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10692
1e903e32
PA
106932016-03-01 Pedro Alves <palves@redhat.com>
10694
10695 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10696 before anything else.
10697 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10698 _GNU_SOURCE here.
10699 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10700 before anything else.
10701 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10702
6ccb54e2
PA
107032016-03-01 Pedro Alves <palves@redhat.com>
10704
10705 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10706
30ca9da1
YQ
107072016-03-01 Yao Qi <yao.qi@linaro.org>
10708
10709 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10710 prepare_for_testing.
10711
dc856b38
YQ
107122016-03-01 Yao Qi <yao.qi@linaro.org>
10713
10714 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10715
4a932159
AA
107162016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10717
10718 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10719 manually constructing the output path.
10720
f2489477
AA
107212016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10722
10723 * gdb.arch/s390-stackless.S: New.
10724 * gdb.arch/s390-stackless.exp: New.
10725
38899f16
IB
107262016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10727
10728 * gdb.dlang/circular.c: New file.
10729 * gdb.dlang/circular.exp: New file.
10730
9fde51ed
YQ
107312016-02-26 Yao Qi <yao.qi@linaro.org>
10732
10733 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10734 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10735 (testcases): Update.
10736
ce90fefe
YQ
107372016-02-26 Yao Qi <yao.qi@linaro.org>
10738
10739 * gdb.reverse/aarch64.c: Rename to ...
10740 * gdb.reverse/insn-reverse.c: ... it.
10741 * gdb.reverse/aarch64.exp: Rename to ...
10742 * gdb.reverse/insn-reverse.exp: ... it.
10743
3263bceb
YQ
107442016-02-26 Yao Qi <yao.qi@linaro.org>
10745
10746 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10747 (testcase_ftype): New.
10748 (testcases): New array.
10749 (n_testcases): New.
10750 (main): Call each element in testcases.
10751 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10752 (read_testcase): New.
10753 Do the tests in a loop.
10754
6cb59ff1
YQ
107552016-02-25 Yao Qi <yao.qi@linaro.org>
10756
10757 * gdb.base/branches.c: Remove.
10758
ae91f625
MK
107592016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10760
10761 PR gdb/13808
10762 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10763
678b48b7
MK
107642016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10765
10766 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10767
7337a6f2
MK
107682016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10769
10770 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10771 change x86_64 call_insn to 'callq'.
10772
861ca91f
AT
107732016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10774
10775 * gdb.trace/tfile-avx.c: Move to...
10776 * gdb.trace/tracefile-pseudo-reg.c: Here.
10777 * gdb.trace/tfile-avx.exp: Move to...
10778 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10779
bf74e428
GB
107802016-02-24 Gary Benson <gbenson@redhat.com>
10781
10782 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10783 message on attach.
10784
cce0e923
DE
107852016-02-23 Doug Evans <dje@google.com>
10786
10787 * gdb.base/skip.c (test_skip): New function.
10788 (end_test_skip_file_and_function): New function.
10789 (test_skip_file_and_function): New function.
10790 * gdb.base/skip1.c (test_skip): New function.
10791 (skip1_test_skip_file_and_function): New function.
10792 * gdb.base/skip.exp: Add tests for new skip options.
10793 * gdb.base/skip-solib.exp: Update expected output.
10794 * gdb.perf/skip-command.cc: New file.
10795 * gdb.perf/skip-command.exp: New file.
10796 * gdb.perf/skip-command.py: New file.
10797
4000e47e
MK
107982016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10799
10800 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10801 info registers pattern.
10802
24f75ead
IB
108032016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10804
10805 * lib/future.exp: Add D support.
10806 (gdb_find_gdc): New proc.
10807 (gdb_default_target_compile): Add D support.
10808
fbb7bcbe
WW
108092016-02-18 Wei-cheng Wang <cole945@gmail.com>
10810
10811 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10812 user+system time.
10813 (trace_speed_test): Determine the iteration count for a time
10814 between 15..30 seconds.
10815
012b3a21
WT
108162016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10817
10818 * gdb.arch/i386-mpx-sigsegv.c: New file.
10819 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10820 * gdb.arch/i386-mpx-simple_segv.c: New file.
10821 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10822
2d5189bd
YQ
108232016-02-18 Yao Qi <yao.qi@linaro.org>
10824
10825 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10826 Don't call setup_kfail.
10827
40fb20d0
YQ
108282016-02-18 Yao Qi <yao.qi@linaro.org>
10829
10830 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10831 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10832
21b1f8d2
DE
108332016-02-16 Doug Evans <dje@google.com>
10834
10835 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10836 * gdb.base/skip1.c: Ditto.
10837 * gdb.base/skip.exp: Whitespace cleanup.
10838
4041ed77
DB
108392016-02-16 Don Breazeal <donb@codesourcery.com>
10840
10841 PR remote/19496
10842 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10843 Remove kfail for PR remote/19496.
10844
c4ef31bf
SM
108452016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10846
10847 * lib/gdb.exp (standard_temp_file): Return a path specific to
10848 the runtest invocation.
10849
266b65b3
SM
108502016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10851
10852 * gdb.trace/save-trace.exp: Change relative path to be in the
10853 standard output directory.
10854
a7a0a6a9
JK
108552016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10856
10857 * gdb.arch/i386-prologue.c: Add missing prototypes.
10858
c99dbb42
JK
108592016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10860
10861 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10862 * gdb.arch/i386-prologue.exp: Likewise.
10863 * gdb.arch/i386-size.exp: Likewise.
10864
aa480355
SM
108652016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10866
10867 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10868 define object file path.
10869 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10870 file path.
10871 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10872 standard_output_file to define binfile.
10873
ba881f50
JK
108742016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10875
10876 Fix compatibility with recent gfortran-5.3.1.
10877 * gdb.fortran/vla-history.exp (print vla1 allocated)
10878 (print vla2 allocated, print $2, print $3): Remove
10879 (print $4): Rename to ...
10880 (print $2): ... here.
10881 (print $9): Rename to ...
10882 (print $5): ... here.
10883 (print $10): Rename to ...
10884 (print $6): ... here.
10885 * gdb.fortran/vla.f90: Add pvla initialization.
10886
e9fb005c
JK
108872016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10888
10889 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10890 New test.
10891 * gdb.fortran/vla-value-sub.exp: Likewise.
10892
e44e00ff
MK
108932016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10894
10895 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10896
97e94151
SM
108972016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10898
10899 * i386-biarch-core.exp: Define corefile using
10900 standard_output_file.
10901
01113bc1
YQ
109022016-02-12 Yao Qi <yao.qi@linaro.org>
10903
10904 * gdb.arch/arm-single-step-kernel-helper.c: New.
10905 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10906
33b4777c
MM
109072016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10908
10909 * gdb.btrace/tailcall-only.exp: New.
10910 * gdb.btrace/tailcall-only.c: New.
10911 * gdb.btrace/x86_64-tailcall-only.S: New.
10912 * gdb.btrace/i686-tailcall-only.S: New.
10913
acc23c11
PA
109142016-02-11 Pedro Alves <palves@redhat.com>
10915
10916 * README (Parallel testing): Add missing double quotes.
10917
e352bf0a
PA
109182016-02-11 Pedro Alves <palves@redhat.com>
10919
10920 * README (Parallel testing): New section.
10921 (GDB_PARALLEL): Rewrite.
10922 (FORCE_PARALLEL): Document.
10923
9f5fed78
MK
109242016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10925
10926 * gdb.trace/tfile-avx.c: New test.
10927 * gdb.trace/tfile-avx.exp: New test.
10928
9ef9e6a6
KS
109292016-02-09 Keith Seitz <keiths@redhat.com>
10930
10931 PR breakpoints/19546
10932 * gdb.base/infcall-exec.c: New file.
10933 * gdb.base/infcall-exec2.c: New file.
10934 * gdb.base/infcall-exec.exp: New file.
10935
a96e36da
KS
109362016-02-09 Keith Seitz <keiths@redhat.com>
10937
10938 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10939 (toplevel): Call test_bkpt_address.
10940
9f61929f
KS
109412016-02-09 Keith Seitz <keiths@redhat.com>
10942
10943 PR python/19506
10944 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10945 (toplevel): Call test_bkpt_address.
10946
1e94266c
SM
109472016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10948
10949 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10950 to AC_OUTPUT.
10951 * configure: Regenerate.
10952
2a7f3dff
PA
109532016-02-09 Pedro Alves <palves@redhat.com>
10954
10955 PR breakpoints/19548
10956 * gdb.base/execl-update-breakpoints.c (some_function): New
10957 function.
10958 (main): Call it.
10959 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10960 Tighten expected GDB output.
10961
2151ccc5
SM
109622016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10963
10964 * Makefile.in (ALL_SUBDIRS): Remove.
10965 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10966 (distclean maintainer-clean realclean): Likewise.
10967 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10968 * configure: Regenerate.
10969 * gdb.ada/Makefile.in: Delete.
10970 * gdb.arch/Makefile.in: Likewise.
10971 * gdb.asm/Makefile.in: Likewise.
10972 * gdb.base/Makefile.in: Likewise.
10973 * gdb.btrace/Makefile.in: Likewise.
10974 * gdb.cell/Makefile.in: Likewise.
10975 * gdb.compile/Makefile.in: Likewise.
10976 * gdb.cp/Makefile.in: Likewise.
10977 * gdb.disasm/Makefile.in: Likewise.
10978 * gdb.dlang/Makefile.in: Likewise.
10979 * gdb.dwarf2/Makefile.in: Likewise.
10980 * gdb.fortran/Makefile.in: Likewise.
10981 * gdb.gdb/Makefile.in: Likewise.
10982 * gdb.go/Makefile.in: Likewise.
10983 * gdb.guile/Makefile.in: Likewise.
10984 * gdb.java/Makefile.in: Likewise.
10985 * gdb.linespec/Makefile.in: Likewise.
10986 * gdb.mi/Makefile.in: Likewise.
10987 * gdb.modula2/Makefile.in: Likewise.
10988 * gdb.multi/Makefile.in: Likewise.
10989 * gdb.objc/Makefile.in: Likewise.
10990 * gdb.opencl/Makefile.in: Likewise.
10991 * gdb.opt/Makefile.in: Likewise.
10992 * gdb.pascal/Makefile.in: Likewise.
10993 * gdb.perf/Makefile.in: Likewise.
10994 * gdb.python/Makefile.in: Likewise.
10995 * gdb.reverse/Makefile.in: Likewise.
10996 * gdb.server/Makefile.in: Likewise.
10997 * gdb.stabs/Makefile.in: Likewise.
10998 * gdb.threads/Makefile.in: Likewise.
10999 * gdb.trace/Makefile.in: Likewise.
11000 * gdb.xml/Makefile.in: Likewise.
11001 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11002 GDB_PARALLEL.
11003 (standard_output_file): Remove check for GDB_PARALLEL, always
11004 return path in outputs/$subdir/$testname.
11005
437277d4
SM
110062016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11007
11008 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11009 (site.exp): Assign abs_srcdir to tcl's srcdir.
11010
31d913c7
YQ
110112016-02-04 Yao Qi <yao.qi@linaro.org>
11012
11013 * gdb.base/foll-exec-mode.c: Include limits.h.
11014 (main): Add parameters argc and argv. Get directory from
11015 argv[0].
11016 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11017 compilation.
11018 * gdb.base/foll-exec.c: Include limits.h.
11019 (main): Add parameters argc and argv.
11020 Get directory from argv[0].
11021 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11022 Adjust tests on the number of lines as source code changed.
11023 * gdb.base/foll-vfork-exit.c: Include limits.h.
11024 (main): Add one line of statement before vfork.
11025 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11026 (main): Add parameters argc and argv. Get directory from
11027 argv[0].
11028 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11029 (setup_gdb): Set tbreak to skip some source lines.
11030 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11031 (main): Add parameters argc and argv. Get directory from
11032 argv[0].
11033 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11034 compilation.
11035 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11036 (main): Add parameters argc and argv. Get directory from
11037 argv[0].
11038 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11039 compilation.
11040
9482b9fb
DE
110412016-02-01 Doug Evans <dje@google.com>
11042
11043 * gdb.base/skip.exp: Clean up multiple references to same test name.
11044
6b2e4f10
PA
110452016-02-01 Pedro Alves <palves@redhat.com>
11046
ccb6afd6 11047 PR remote/19496
6b2e4f10
PA
11048 * gdb.threads/forking-threads-plus-breakpoint.exp
11049 (displaced_stepping_supported): New global.
11050 (probe_displaced_stepping_support): New procedure.
11051 (do_test): Add 'displaced' parameter, and use it.
11052 (top level): Check for displaced stepping support. Add displaced
11053 stepping on/off testing axis.
11054
37a8db1a
AB
110552016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11056
11057 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11058 pointer. Don't perform further tests on the unassociated pointer
11059 if the first test fails.
11060
5fdf6324
AB
110612016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11062
11063 * gdb.base/max-value-size.c: New file.
11064 * gdb.base/max-value-size.exp: New file.
11065 * gdb.base/huge.exp: Disable max-value-size for this test.
11066
935c6144
IB
110672016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11068
11069 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11070
7fe8399d
YQ
110712016-01-28 Yao Qi <yao.qi@linaro.org>
11072
11073 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11074
a2077e25
PA
110752016-01-25 Pedro Alves <palves@redhat.com>
11076
11077 PR threads/19461
11078 * gdb.base/fork-running-state.c: New file.
11079 * gdb.base/fork-running-state.exp: New file.
11080
1d2736d4
PA
110812016-01-25 Pedro Alves <palves@redhat.com>
11082
11083 PR gdb/19494
11084 * gdb.base/catch-fork-kill.c: New file.
11085 * gdb.base/catch-fork-kill.exp: New file.
11086
f1da4b11
PA
110872016-01-25 Pedro Alves <palves@redhat.com>
11088
11089 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11090 Delete, moved to lib/gdb.exp.
11091 * gdb.threads/forking-threads-plus-breakpoint.exp
11092 (foreach_with_prefix): Likewise.
11093 * gdb.threads/process-dies-while-handling-bp.exp
11094 (foreach_with_prefix): Likewise.
11095 * lib/gdb.exp (foreach_with_prefix): New procedure.
11096
45f38546
MK
110972016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11098
11099 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11100 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11101
dc29a1ce
MK
111022016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11103
11104 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11105 endian targets.
11106
092127d7
JK
111072016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11108 Pedro Alves <palves@redhat.com>
11109
11110 Fix testsuite compatibility with Guile.
11111 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11112 number.
11113
31d765d3
JK
111142016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11115
11116 Fix testsuite compatibility with Guile.
11117 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11118 (thread 1): New test for backtrace through signal handler.
11119
1ac78c04
YQ
111202016-01-22 Yao Qi <yao.qi@linaro.org>
11121
11122 PR testsuite/19491
11123 * gdb.base/multi-forks.c: Include
11124 ../lib/unbuffer_output.c
11125 (main): Call gdb_unbuffer_output.
11126
4f5946a8
DE
111272016-01-21 Doug Evans <dje@google.com>
11128
11129 * lib/ada.exp (gdb_compile_ada): Fix typo.
11130
305e13e6
JB
111312016-01-21 Joel Brobecker <brobecker@adacore.com>
11132
11133 * gdb.base/break-fun-addr.exp: New file.
11134 * gdb.base/break-fun-addr1.c: New file.
11135 * gdb.base/break-fun-addr2.c: New file.
11136
5f5dfff6
SM
111372016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11138
11139 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11140 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11141 enum flag values.
11142
fd356fa2
AA
111432016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11144
11145 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11146 when GDB can not set the vector return value. Add more comments
11147 for clarification.
11148
9df22175
AT
111492016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11150
11151 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11152 command.
11153
41d1845e
SM
111542016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11155
11156 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11157
01ac6840
SM
111582016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11159
11160 * Makefile.in (check-single): Pass --status to runtest.
11161 (check/%.exp): Likewise.
11162
111632016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11164
11165 * Makefile.in (check-parallel): Propagate return code from make
11166 do-check-parallel.
11167
bd0a71fa
MK
111682016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11169
11170 * gdb.trace/ftrace.exp: Fix expected message on continue.
11171 * gdb.trace/pending.exp: Fix expected message on continue.
11172 * gdb.trace/trace-break.exp: Fix expected message on continue.
11173
8bcbad33
SM
111742016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11175
11176 * lib/gdb.exp (gdb_test): Remove unused global references.
11177
f303dbd6
PA
111782016-01-18 Pedro Alves <palves@redhat.com>
11179
11180 * gdb.base/async-shell.exp: Adjust expected output.
11181 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11182 * gdb.base/siginfo-thread.exp: Adjust expected output.
11183 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11184 * gdb.java/jnpe.exp: Adjust expected output.
11185 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11186 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11187 * gdb.threads/leader-exit.exp: Adjust expected output.
11188 * gdb.threads/manythreads.exp: Adjust expected output.
11189 * gdb.threads/pthreads.exp: Adjust expected output.
11190 * gdb.threads/schedlock.exp: Adjust expected output.
11191 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11192 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11193 expected output.
11194 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11195 output.
11196 * gdb.threads/sigthread.exp: Adjust expected output.
11197 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11198
b2789696
YQ
111992016-01-18 Yao Qi <yao.qi@linaro.org>
11200
11201 * gdb.guile/scm-section-script.c: Replace @progbits with
11202 %progbits.
11203 * gdb.python/py-section-script.c: Likewise.
11204
71ef29a8
PA
112052016-01-15 Pedro Alves <palves@redhat.com>
11206
11207 * gdb.multi/tids.exp: Test star wildcard ranges.
11208
3f5b7598
PA
112092016-01-15 Pedro Alves <palves@redhat.com>
11210
11211 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11212 command from "thread apply" invocation.
11213 (thr_apply_info_thr_invalid): Default the expected output to the
11214 input tid list.
11215 (top level): Add tests that use convenience variables. Add tests
11216 for "thread apply" with a valid TID list, but missing the command.
11217
663f6d42
PA
112182016-01-13 Pedro Alves <palves@redhat.com>
11219
11220 * gdb.base/default.exp: Expect $_gthread as well.
11221 * gdb.multi/tids.exp: Test $_gthread.
11222 * gdb.threads/thread-specific.exp: Test $_gthread.
11223
c84f6bbf
PA
112242016-01-13 Pedro Alves <palves@redhat.com>
11225
11226 * gdb.multi/tids.exp: Test "info threads -gid".
11227
22a02324
PA
112282016-01-13 Pedro Alves <palves@redhat.com>
11229
11230 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11231 Breakpoint.thread.
11232 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11233
5d5658a1
PA
112342016-01-07 Pedro Alves <palves@redhat.com>
11235
11236 * gdb.base/break.exp: Adjust to output changes.
11237 * gdb.base/hbreak2.exp: Likewise.
11238 * gdb.base/sepdebug.exp: Likewise.
11239 * gdb.base/watch_thread_num.exp: Likewise.
11240 * gdb.linespec/keywords.exp: Likewise.
11241 * gdb.multi/info-threads.exp: Likewise.
11242 * gdb.threads/thread-find.exp: Likewise.
11243 * gdb.multi/tids.c: New file.
11244 * gdb.multi/tids.exp: New file.
11245
84654457
PA
112462016-01-13 Pedro Alves <palves@redhat.com>
11247
11248 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11249
e3940304
PA
112502016-01-13 Pedro Alves <palves@redhat.com>
11251
11252 * gdb.base/default.exp: Expect $_inferior as well.
11253 * gdb.multi/base.exp: Test $_inferior.
11254
a911d87a
PA
112552016-01-13 Pedro Alves <palves@redhat.com>
11256
11257 PR breakpoints/19388
11258 * gdb.base/catch-signal-siginfo-cond.c: New file.
11259 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11260
82075af2
JS
112612016-01-12 Josh Stone <jistone@redhat.com>
11262 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11263
11264 * gdb.base/catch-syscall.c (do_execve): New variable.
11265 (main): Conditionally trigger an execve.
11266 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11267 (test_catch_syscall_execve): New, check entry/return across execve.
11268 (do_syscall_tests): Call test_catch_syscall_execve.
11269
e46eeedd
PA
112702016-01-12 Pedro Alves <palves@redhat.com>
11271
11272 * gdb.base/random-signal.exp (do_test): New procedure, with body
11273 of testcase moved in.
11274
01d8c27e
JK
112752016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11276 Pedro Alves <palves@redhat.com>
11277
11278 * gdb.base/funcargs.exp (finish from indirectly called function):
11279 Reintroduce the case for 'First'.
11280
9a706302
JK
112812016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11282 Pedro Alves <palves@redhat.com>
11283
11284 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11285 (tcatch_vfork_then_child_follow_exec)
11286 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11287 identification.
11288
c0ecb95f
JK
112892016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11290
11291 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11292 and repeats to unlimited.
11293 * gdb.python/py-value.exp: Likewise.
11294 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11295 and repeats to unlimited.
11296
6cfc1fcb
JK
112972016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11298
11299 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11300 and reordering the functions.
11301 * gdb.multi/hangout.c: Likewise.
11302 * gdb.multi/hello.c: Likewise.
11303
582a1b00
SM
113042016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11305
11306 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11307 absolute.
11308 (SingleStatisticTestResult.report): Use dict.keys instead of
11309 dict.iterkeys.
11310
79bc59cb
PA
113112016-01-06 Pedro Alves <palves@redhat.com>
11312
11313 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11314
43368e1d
MM
113152016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11316
11317 * gdb.btrace/dlopen.exp: New.
11318 * gdb.btrace/dlopen.c: New.
11319 * gdb.btrace/dlopen-dso.c: New.
11320
79fad5b8
SL
113212015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11322
11323 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11324 PATTERN argument is optional.
11325
ab8314b3
JB
113262015-12-24 Joel Brobecker <brobecker@adacore.com>
11327
11328 * lib/ada.exp (target_compile_ada_from_dir): New function.
11329 (gdb_compile_ada): Reimplement avoiding the use of project files.
11330 * gdb.ada/gnat_ada.gpr: Delete.
11331 * gdb.ada/cond_lang.exp: Adjust test to make path before
11332 filename optional.
11333 * gdb.ada/small_reg_param.exp: Likewise.
11334
fe33faff
SM
113352015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11336
11337 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11338
6d265cb4
TP
113392015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11340
11341 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11342 case.
11343
10125099
SM
113442015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11345
11346 * gdb.base/break.exp: Remove dead code.
11347 * gdb.base/sepdebug.exp: Likewise.
11348
3ca22649
SM
113492015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11350
11351 * gdb.asm/asm-source.exp: Remove HP-UX references.
11352 * gdb.base/annota1.exp: Likewise.
11353 * gdb.base/annota3.exp: Likewise.
11354 * gdb.base/attach.exp: Likewise.
11355 * gdb.base/bigcore.exp: Likewise.
11356 * gdb.base/break.exp: Likewise.
11357 * gdb.base/call-ar-st.exp: Likewise.
11358 * gdb.base/callfuncs.exp: Likewise.
11359 * gdb.base/catch-fork-static.exp: Likewise.
11360 * gdb.base/display.exp: Likewise.
11361 * gdb.base/foll-exec-mode.exp: Likewise.
11362 * gdb.base/foll-exec.exp: Likewise.
11363 * gdb.base/foll-fork.exp: Likewise.
11364 * gdb.base/foll-vfork.exp: Likewise.
11365 * gdb.base/funcargs.exp: Likewise.
11366 * gdb.base/hbreak2.exp: Likewise.
11367 * gdb.base/inferior-died.exp: Likewise.
11368 * gdb.base/interrupt.exp: Likewise.
11369 * gdb.base/multi-forks.exp: Likewise.
11370 * gdb.base/nodebug.exp: Likewise.
11371 * gdb.base/sepdebug.exp: Likewise.
11372 * gdb.base/solib1.c: Likewise.
11373 * gdb.base/step-test.exp: Likewise.
11374 * gdb.mi/non-stop.c: Likewise.
11375 * gdb.mi/pthreads.c: Likewise.
11376 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11377 * gdb.threads/pthreads.c: Likewise.
11378 * gdb.threads/staticthreads.exp: Likewise.
11379 * lib/future.exp: Likewise.
11380 * lib/gdb.exp: Likewise.
11381 * gdb.base/so-indr-cl.c: Remove.
11382 * gdb.base/so-indr-cl.exp: Likewise.
11383 * gdb.base/solib.c: Likewise.
11384 * gdb.base/solib.exp: Likewise.
11385 * gdb.base/solib2.c: Likewise.
11386
b6304613
SM
113872015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11388
11389 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11390 * gdb.base/call-ar-st.exp: Likewise.
11391 * gdb.base/callfuncs.exp: Likewise.
11392 * gdb.base/condbreak.exp: Likewise.
11393 * gdb.base/constvars.exp: Likewise.
11394 * gdb.base/hbreak2.exp: Likewise.
11395 * gdb.base/langs.exp: Likewise.
11396 * gdb.base/list.exp: Likewise.
11397 * gdb.base/long_long.exp: Likewise.
11398 * gdb.base/ptype.exp: Likewise.
11399 * gdb.base/scope.exp: Likewise.
11400 * gdb.base/signals.exp: Likewise.
11401 * gdb.base/so-impl-ld.exp: Likewise.
11402 * gdb.base/varargs.exp: Likewise.
11403 * gdb.base/volatile.exp: Likewise.
11404 * gdb.base/whatis.exp: Likewise.
11405 * gdb.cp/cplusfuncs.exp: Likewise.
11406 * gdb.cp/inherit.exp: Likewise.
11407 * gdb.cp/local.exp: Likewise.
11408 * gdb.cp/member-ptr.exp: Likewise.
11409 * gdb.cp/method.exp: Likewise.
11410 * gdb.cp/overload.exp: Likewise.
11411 * gdb.cp/templates.exp: Likewise.
11412 * gdb.stabs/weird.exp: Likewise.
11413 * lib/compiler.c: Likewise.
11414 * lib/compiler.cc: Likewise.
11415 * lib/cp-support.exp: Likewise.
11416 * lib/gdb.exp: Likewise.
11417
bf401b07
SM
114182015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11419
11420 * configure.ac: Remove HP-UX case.
11421 * configure: Regenerate.
11422
aff9c0f8
SM
114232015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11424
11425 * lib/gdb.exp (gdb_compile): Add function doc.
11426
a6904d5a
PA
114272015-12-17 Pedro Alves <palves@redhat.com>
11428
11429 PR threads/19354
11430 * gdb.multi/info-threads.exp: New file.
11431
a22279dd
YQ
114322015-12-15 Yao Qi <yao.qi@linaro.org>
11433
11434 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11435 is aarch64*-*-*.
11436
0588c796
SL
114372015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11438
11439 * gdb.base/history-duplicates.exp: Skip if no readline support.
11440
5d978e17
SL
114412015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11442
11443 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11444
7e763b86
SL
114452015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11446
11447 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11448
87a3a92c
SL
114492015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11450
11451 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11452 ctrl-C if nointerrupts target property is set.
11453 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11454 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11455 * gdb.base/paginate-bg-execution.exp: Likewise.
11456 * gdb.base/paginate-execution-startup.exp: Likewise.
11457 * gdb.base/random-signal.exp: Likewise.
11458 * gdb.base/range-stepping.exp: Likewise.
11459 * gdb.cp/annota2.exp: Likewise.
11460 * gdb.cp/annota3.exp: Likewise.
11461 * gdb.gdb/selftest.exp: Likewise.
11462 * gdb.threads/continue-pending-status.exp: Likewise.
11463 * gdb.threads/leader-exit.exp: Likewise.
11464 * gdb.threads/manythreads.exp: Likewise.
11465 * gdb.threads/pthreads.exp: Likewise.
11466 * gdb.threads/schedlock.exp: Likewise.
11467 * gdb.threads/sigthread.exp: Likewise.
11468
a8f077dc
DB
114692015-12-11 Don Breazeal <donb@codesourcery.com>
11470
11471 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11472 remote.
11473 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11474 * gdb.base/foll-exec.exp (main): Enable for target remote.
11475 * gdb.base/foll-fork.exp (main): Likewise.
11476 * gdb.base/foll-vfork.exp (main): Likewise.
11477 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11478 (proc continue_to_exit_bp_loc): Use clean_restart.
11479 * gdb.base/pie-execl.exp (main): Disable for target remote.
11480 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11481 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11482 * gdb.threads/execl.exp (main): Likewise.
11483 * gdb.threads/fork-child-threads.exp (main): Likewise.
11484 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11485 remote.
11486 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11487 remote.
11488 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11489 pid.tid style ptids, instead of just tid.
11490 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11491 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11492 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11493 ptids, instead of just tid.
11494
3b2464a8
AB
114952015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11496
11497 * gdb.base/list.exp (test_list_forward): Add end of file error
11498 test.
11499 (test_repeat_list_command): Add end of file error test.
11500 (test_list_backwards): Add beginning of file error test.
11501
a0def019
AB
115022015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11503
11504 * gdb.base/list.exp (test_list_invalid_args): New function,
11505 defined, and called.
11506
5c000dff
AB
115072015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11508
11509 * gdb.base/list.exp (test_list): Make test names unique.
11510
f1637ebe
YQ
115112015-12-11 Yao Qi <yao.qi@linaro.org>
11512
11513 * gdb.base/coremaker2.c: Remove.
11514
36d6fc0a
PA
115152015-12-10 Pedro Alves <palves@redhat.com>
11516
11517 * gdb.multi/base.exp: Remove stale "spaces" references.
11518
762f7747
PA
115192015-12-10 Pedro Alves <palves@redhat.com>
11520
11521 * gdb.multi/base.exp: Don't use nowarnings.
11522 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11523 * gdb.multi/hangout.c: Include stdio.h.
11524 * gdb.multi/hello.c: Include stdlib.h.
11525 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11526 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11527 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11528
28d2bfb9
AB
115292015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11530
11531 * gdb.dwarf2/dw2-ranges-base.c: New file.
11532 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11533 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11534 support additional line table, and debug ranges generation.
11535 (Dwarf::ranges): New function, generate .debug_ranges.
11536 (Dwarf::lines): Support generating simple line table programs.
11537 (Dwarf::assemble): Initialise new namespace variables.
11538
5fc2beac
KB
115392015-12-09 Kevin Buettner <kevinb@redhat.com>
11540
11541 * gdb.base/async.exp (proc test_background): Add case for
11542 asynchronous execution not supported.
11543
1c35a88f
LM
115442015-12-09 Luis Machado <lgustavo@codesourcery.com>
11545
11546 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11547 format and change test names to make them unique.
11548
b593e3d9
RK
115492015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11550 Pedro Alves <pedro@redhat.com>
11551
11552 PR gdb/18702
11553 Add checking of floatformats setup on x86_64 hosts.
11554 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11555 (smallval, bigval): New labels/constants.
11556 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11557 float" after loading bigval and smallval.
11558
d72413e6
PMR
115592015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11560
11561 * gdb.ada/fun_overload_menu.exp: New testcase.
11562 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11563
ece66d65
JS
115642015-12-04 Josh Stone <jistone@redhat.com>
11565
11566 * gdb.base/catch-fork-static.exp: New.
11567
41d0efca
YQ
115682015-12-03 Yao Qi <yao.qi@linaro.org>
11569
11570 * gdb.base/sizeof.c: Don't include stdio.h and
11571 ../lib/unbuffer_output.c.
11572 (main): New variable 'size' and 'value'. Remove printf and
11573 gdb_unbuffer_output. Assign return value to size and value.
11574 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11575 at the beginning.
11576 (check_sizeof): Check the result by printing variable 'size'.
11577 (check_valueof): Check the result by printing variable 'value'.
11578
99fd02d9
YQ
115792015-12-01 Yao Qi <yao.qi@linaro.org>
11580
11581 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11582 for aarch64*-*-linux* target.
11583
f2faf941
PA
115842015-11-30 Pedro Alves <palves@redhat.com>
11585
11586 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11587
04bf20c5
PA
115882015-11-30 Pedro Alves <palves@redhat.com>
11589
11590 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11591 Handle non-stop mode vCont replies.
11592
09df4675
PA
115932015-11-30 Pedro Alves <palves@redhat.com>
11594
11595 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11596 prepare_for_testing. Start gdb with "set non-stop on" appended to
11597 GDBFLAGS. Lax expected stop output.
11598
58b584af
YQ
115992015-11-27 Yao Qi <yao.qi@linaro.org>
11600
11601 * gdb.arch/arm-neon.exp: New.
11602 * gdb.arch/arm-neon.c: New.
11603
dfcb77a8
YQ
116042015-11-27 Yao Qi <yao.qi@linaro.org>
11605
11606 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11607
88e8ec1b
YQ
116082015-11-27 Yao Qi <yao.qi@linaro.org>
11609
11610 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11611 frames-invalid annotation.
11612
bfde72c2
YQ
116132015-11-27 Yao Qi <yao.qi@linaro.org>
11614
11615 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11616
f6512a69
SM
116172015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11618
11619 * gdb.threads/names.exp: New file.
11620 * gdb.threads/names.c: New file.
11621 * README: Mention gdb,no_thread_names.
11622
46a3515b
MM
116232015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11624
11625 PR 19297
11626 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11627 support" error.
11628
62147a22
PA
116292015-11-24 Pedro Alves <palves@redhat.com>
11630
11631 PR 17539
11632 * gdb.base/display.exp: Expect displays to be sorted in ascending
11633 order. Use multi_line.
11634 * gdb.base/solib-display.exp: Likewise.
11635
2f341b6e
PA
116362015-11-24 Pedro Alves <palves@redhat.com>
11637
11638 PR 17539
25d49b86
PA
11639 * gdb.base/display.exp: Expect displays to be sorted in ascending
11640 order. Use multi_line.
11641 * gdb.base/solib-display.exp: Likewise.
2f341b6e 11642
7e0aa6aa
PA
116432015-11-24 Pedro Alves <palves@redhat.com>
11644
11645 PR 17539
11646 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11647 threads in ascending order.
11648 * gdb.base/foll-fork.exp: Likewise.
11649 * gdb.base/foll-vfork.exp: Likewise.
11650 * gdb.base/multi-forks.exp: Likewise.
11651 * gdb.mi/mi-nonstop.exp: Likewise.
11652 * gdb.mi/mi-nsintrall.exp: Likewise.
11653 * gdb.multi/base.exp: Likewise.
11654 * gdb.multi/multi-arch.exp: Likewise.
11655 * gdb.python/py-inferior.exp: Likewise.
11656 * gdb.threads/break-while-running.exp: Likewise.
11657 * gdb.threads/execl.exp: Likewise.
11658 * gdb.threads/gcore-thread.exp: Likewise.
11659 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11660 * gdb.threads/kill.exp: Likewise.
11661 * gdb.threads/linux-dp.exp: Likewise.
11662 * gdb.threads/multiple-step-overs.exp: Likewise.
11663 * gdb.threads/next-bp-other-thread.exp: Likewise.
11664 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11665 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11666 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11667 * gdb.threads/thread-find.exp: Likewise.
11668 * gdb.threads/tls.exp: Likewise.
11669 * lib/mi-support.exp (mi_reverse_list): Delete.
11670 (mi_check_thread_states): No longer reverse list.
11671
2cc57ad8
PA
116722015-11-24 Pedro Alves <palves@redhat.com>
11673
11674 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11675 use lowercase.
11676
c93e8391
SM
116772015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11678
11679 * gdb.trace/actions.c: Include trace-common.h.
11680 (main): Add a location for a fast tracepoint.
11681 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11682 the normal tracepoints.
11683 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11684
045ccf91
SM
116852015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11686
11687 * save-trace.exp: Factor out code to these...
11688 (gdb_save_tracepoints): New.
11689 (gdb_load_tracepoints): New.
11690 (do_save_load_test): New.
11691
5506f9f6
KB
116922015-11-23 Kevin Buettner <kevinb@redhat.com>
11693
11694 * gdb.base/asmlabel.exp: New test.
11695 * gdb.base/asmlabel.c: New test case.
11696
16c3b12f
JB
116972015-11-23 Joel Brobecker <brobecker@adacore.com>
11698
11699 * gdb.base/wrong_frame_bt_full-main.c: New file.
11700 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11701 * gdb.base/wrong_frame_bt_full.exp: New file.
11702
155bfbd3
JB
117032015-11-23 Joel Brobecker <brobecker@adacore.com>
11704
11705 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11706
bb097445
JM
117072015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11708
206853a0 11709 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
11710 pstate register when comparing registers values in
11711 sparc64-*-linux-gnu targets to avoid spurious differences.
11712
9c88ed8f
JM
117132015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11714
206853a0 11715 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 11716
96161e25
SL
117172015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11718
11719 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11720 as type argument to gdb_compile.
11721 * gdb.base/nested-subp2.exp: Likewise.
11722 * gdb.base/nested-subp3.exp: Likewise.
11723
340c2830
DV
117242015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11725
11726 * lib/dwarf.exp (_note): Fix left shift of negative value.
11727 * gdb.trace/trace-condition.exp: Likewise.
11728
c1862d0f
YQ
117292015-11-13 Yao Qi <yao.qi@linaro.org>
11730
11731 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11732 comments about d10v.
11733 (test_scalar_returns): Likewise.
11734 * gdb.base/d10v.ld: Remove.
11735 * gdb.base/overlays.exp: Remove the target triplet checking for
11736 d10v-*-*.
11737 * gdb.base/structs.exp (test_struct_returns): Remove the
11738 comments about d10v.
11739 (test_struct_calls): Likewise.
11740
77ae9c19
YQ
117412015-11-13 Yao Qi <yao.qi@linaro.org>
11742
11743 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11744 * gdb.base/gnu_vector.c: Don't include stdio.h.
11745 (main): Don't print res and call add_some_intvecs.
11746
430e004e
MK
117472015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11748
11749 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11750 macro.
11751 (func5): Removed.
11752 (func4): Use FAST_TRACEPOINT_LABEL.
11753 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11754 macro.
11755 (func): Removed.
11756 (thread_function): Use FAST_TRACEPOINT_LABEL.
11757 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11758 (func): Remove.
11759 (marker): Use FAST_TRACEPOINT_LABEL.
11760 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11761 (pendfunc1): Remove.
11762 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11763 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11764 (foo): Remove.
11765 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11766 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11767 macro.
11768 (func): Remove.
11769 (marker): Use FAST_TRACEPOINT_LABEL.
11770 * gdb.trace/trace-common.h: New header.
11771 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11772 macro.
11773 (func): Remove.
11774 (marker): Use FAST_TRACEPOINT_LABEL.
11775 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11776 (func): Remove.
11777 (thread_function): Use FAST_TRACEPOINT_LABEL.
11778
6e7675a7
MK
117792015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11780
11781 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11782 in front.
11783 * gdb.trace/change-loc.exp: Use global pcreg definition.
11784 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11785 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11786 in front.
11787 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11788 * gdb.trace/pending.exp: Likewise.
11789 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11790 * gdb.trace/trace-break.exp: Likewise.
11791 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11792 in front.
11793 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11794 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11795 in front.
11796 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11797
dddc0e16
JB
117982015-11-09 Joel Brobecker <brobecker@adacore.com>
11799
11800 * gdb.ada/fin_fun_out: New testcase.
11801
c6f0b406
KB
118022015-11-07 Kevin Buettner <kevinb@redhat.com>
11803
11804 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11805 value associated with DW_AT_byte_size.
11806 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11807 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11808 DW_AT_upper_bound.
11809
f01dcfd9
KB
118102015-11-07 Kevin Buettner <kevinb@redhat.com>
11811
11812 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11813 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11814 version.
11815 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11816 gdb.dwarf2/dw2-canonicalize-type.exp,
11817 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11818 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11819 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11820 provided by gdb_target_symbol_prefix_flags_asm.
11821 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11822 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11823 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11824 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11825 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11826 macros where needed). Use this macro for symbols which require
11827 the prefix provided by SYMBOL_PREFIX.
11828
2223449a
KB
118292015-11-05 Kevin Buettner <kevinb@redhat.com>
11830
11831 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11832 New procs.
11833 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11834 representing expressions, of more than one list element.
11835 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11836 to prepend linker symbol prefix to f.
11837 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11838 table_1 and table_2.
11839 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11840 Likewise, for f and g.
11841 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11842 for ptr.
11843 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11844 for main.
11845 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11846 table_1_ptr and table_2_ptr.
11847
6f2f1a3a
JK
118482015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11849 Joel Brobecker <brobecker@adacore.com>
11850
11851 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11852
566c56c9
MK
118532015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11854
11855 * gdb.reverse/s390-mvcle.c: New test.
11856 * gdb.reverse/s390-mvcle.exp: New file.
11857 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11858
d5f0636b
MK
118592015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11860
11861 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11862
7ad8b86c
MK
118632015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11864
11865 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11866 reaching marker2.
11867 * gdb.reverse/getresuid-reverse.exp: Likewise.
11868 * gdb.reverse/pipe-reverse.exp: Likewise.
11869 * gdb.reverse/readv-reverse.exp: Likewise.
11870 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11871 * gdb.reverse/time-reverse.exp: Likewise.
11872 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11873
4081c0f1
YQ
118742015-10-30 Yao Qi <yao.qi@linaro.org>
11875
11876 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11877 (empty_cycle): Remove.
11878 (main): Don't call empty_cycle. Don't use watch_count_done.
11879 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11880 empty_cycle. Rewrite the code counting HW watchpoints.
11881
452b4ba5
MK
118822015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11883
11884 * gdb.reverse/fstatat-reverse.c: New test.
11885 * gdb.reverse/fstatat-reverse.exp: New file.
11886 * gdb.reverse/getresuid-reverse.c: New test.
11887 * gdb.reverse/getresuid-reverse.exp: New file.
11888 * gdb.reverse/pipe-reverse.c: New test.
11889 * gdb.reverse/pipe-reverse.exp: New file.
11890 * gdb.reverse/readv-reverse.c: New test.
11891 * gdb.reverse/readv-reverse.exp: New file.
11892 * gdb.reverse/recvmsg-reverse.c: New test.
11893 * gdb.reverse/recvmsg-reverse.exp: New file.
11894 * gdb.reverse/time-reverse.c: New test.
11895 * gdb.reverse/time-reverse.exp: New file.
11896 * gdb.reverse/waitpid-reverse.c: New test.
11897 * gdb.reverse/waitpid-reverse.exp: New file.
11898
5e2e7507
JK
118992015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11900
11901 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11902
0fde2c53
DE
119032015-10-26 Doug Evans <dje@google.com>
11904
11905 PR symtab/17391
11906 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11907 * gdb.dwarf2/bad-regnum.c: New file.
11908 * gdb.dwarf2/bad-regnum.exp: New file.
11909
1a70ae97
DE
119102015-10-26 Doug Evans <dje@google.com>
11911
11912 PR python/18938
11913 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11914 file.
11915
27dc26ab
JK
119162015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11917
11918 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11919 for a change by "Mention language in compile error message".
11920
bed91f4d
SM
119212015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11922
11923 PR python/18073
11924 * gdb.python/py-type.c (C::a_method): New.
11925 (C::a_const_method): New.
11926 (C::a_static_method): New.
11927 (a_function): New.
11928 * gdb.python/py-type.exp (test_fields): Test getting fields
11929 from function and method.
11930
3f2f83dd
KB
119312015-10-21 Keven Boell <keven.boell@intel.com>
11932
11933 * gdb.fortran/vla-alloc-assoc.exp: New file.
11934 * gdb.fortran/vla-datatypes.exp: New file.
11935 * gdb.fortran/vla-datatypes.f90: New file.
11936 * gdb.fortran/vla-history.exp: New file.
11937 * gdb.fortran/vla-ptype-sub.exp: New file.
11938 * gdb.fortran/vla-ptype.exp: New file.
11939 * gdb.fortran/vla-sizeof.exp: New file.
11940 * gdb.fortran/vla-sub.f90: New file.
11941 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11942 * gdb.fortran/vla-value-sub-finish.exp: New file.
11943 * gdb.fortran/vla-value-sub.exp: New file.
11944 * gdb.fortran/vla-value.exp: New file.
11945 * gdb.fortran/vla-ptr-info.exp: New file.
11946 * gdb.mi/mi-vla-fortran.exp: New file.
11947 * gdb.mi/vla.f90: New file.
11948
27145d50
SL
119492015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11950
11951 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11952 of hardwired timeout value.
11953
5f3ff4f8
JK
119542015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11955 Pedro Alves <palves@redhat.com>
11956
11957 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11958 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11959
bfd09d20
JS
119602015-10-19 Josh Stone <jistone@redhat.com>
11961
11962 * gdb.base/catch-syscall.c: Include <sched.h>.
11963 (unknown_syscall): New variable.
11964 (main): Trigger a vfork and an unknown syscall.
11965 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11966 (unknown_syscall_number): Likewise.
11967 (check_call_to_syscall): Accept an optional syscall pattern.
11968 (check_return_from_syscall): Likewise.
11969 (check_continue): Likewise.
11970 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11971 (test_catch_syscall_skipping_return): New test toggling off 'catch
11972 syscall' to step over the syscall return, then toggling back on.
11973 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11974 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11975 (do_syscall_tests): Call test_catch_syscall_without_args and
11976 test_catch_syscall_mid_vfork.
11977 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11978 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11979
b32b93c6
AS
119802015-10-19 Andrew Stubbs <ams@codesourcery.com>
11981
11982 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11983 print g_vE): Add new pass patterns.
11984 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11985 print various symbol names for vptr fields.
11986
9d622bda
AB
119872015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11988
11989 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11990 results.
11991
0fd8ac1c
YQ
119922015-10-12 Yao Qi <yao.qi@linaro.org>
11993
11994 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11995
34240514
YQ
119962015-10-12 Yao Qi <yao.qi@linaro.org>
11997
11998 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11999 is aarch64*-*-linux*.
12000
8240f442
YQ
120012015-10-12 Yao Qi <yao.qi@linaro.org>
12002
12003 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12004 (can_relocate_bcond_true): ... it.
12005 (can_relocate_bcond_false): New function.
12006 (foo): Likewise.
12007 (can_relocate_bl): Likewise.
12008 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12009 can_relocate_bl.
12010
2520f728
PMR
120112015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12012
12013 * gdb.base/nested-addr.c: New file.
12014 * gdb.base/nested-addr.exp: New testcase.
12015
abcef95a
MM
120162015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12017
12018 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12019 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12020 its output. Ignore the output of "record goto begin" and instead
12021 check that GDB is replaying.
12022
145e3ddb
PA
120232015-10-09 Pedro Alves <palves@redhat.com>
12024
12025 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12026 (top level): Use it in the run with no args test.
12027
d5d8c4e1
IB
120282015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12029
12030 * gdb.dlang/properties.exp: New file.
12031
06e635ef
SL
120322015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12033
12034 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12035 whether or not address 0x1000 is mapped on the target.
12036
e019fd1d
SM
120372015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12038
12039 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12040 build.
12041
77ba2a67
MM
120422015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12043
12044 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12045 instruction-history test.
12046
c60eb31f
DE
120472015-09-28 Doug Evans <dje@google.com>
12048
12049 * gdb.base/gcore.c (array_func): Add reference to static_array.
12050
9a3c8263
SM
120512015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12052
12053 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12054 source line.
12055
9720e656
SL
120562015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12057
12058 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12059 short or char as base type.
12060
938d3bf2
SL
120612015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12062
12063 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12064 to allow any size enum.
12065
e6c2c623
PMR
120662015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12067
12068 * gdb.ada/array_ptr_renaming.exp: New testcase.
12069 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12070 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12071
06da0f77
PL
120722015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12073
12074 * gdb.trace/ftrace-lock.c: New file.
12075 * gdb.trace/ftrace-lock.exp: New file.
12076
4f51c22a
PL
120772015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12078
12079 * gdb.arch/insn-reloc.c: New file.
12080 * gdb.arch/ftrace-insn-reloc.exp: New file.
12081
7041adf4
PL
120822015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12083
12084 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12085 instruction.
12086 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12087 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12088 * gdb.trace/range-stepping.c: Likewise.
12089 * gdb.trace/trace-break.c: Likewise.
12090 * gdb.trace/trace-mt.c (thread_function): Likewise.
12091 * gdb.trace/ftrace.c (marker): Likewise.
12092 * gdb.trace/trace-condition.c (marker): Likewise.
12093 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12094 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12095 is_aarch64_target.
12096
015d2e7e
DE
120972015-09-18 Doug Evans <xdje42@gmail.com>
12098
12099 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12100 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12101
26b188a2
SL
121022015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12103
12104 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12105 the breakpoint.
12106
79dc332b
SL
121072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12108
12109 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12110 the pending breakpoint. Remove timeout override for "Run till
12111 MI pending breakpoint on pendfunc3 on thread 2" test.
12112
f57929f2
SL
121132015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12114
12115 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12116 filename pattern.
12117
3f469b17
SL
121182015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12119
12120 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12121 in breakpoint filename pattern.
12122
515b89b3
SL
121232015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12124
7800dbe4
SL
12125 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12126
121272015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12128
515b89b3
SL
12129 * gdb.linespec/explicit.exp: Check for readline support for
12130 tab-completion tests. Fix obvious typo.
12131
d2939ba2
MM
121322015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12133
12134 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12135 and replay.
12136
cbb55fa7
MM
121372015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12138
12139 * gdb.btrace/non-stop.c: New.
12140 * gdb.btrace/non-stop.exp: New.
12141
43691ca1
PL
121422015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12143 Yao Qi <yao.qi@linaro.org>
12144
12145 * gdb.trace/trace-condition.c: New file.
12146 * gdb.trace/trace-condition.exp: New file.
12147
d78908cf
WW
121482015-09-16 Wei-cheng Wang <cole945@gmail.com>
12149
12150 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12151 for testing bytecode compilation.
12152
1ed415e2
PA
121532015-09-16 Pedro Alves <palves@redhat.com>
12154 Sandra Loosemore <sandra@codesourcery.com>
12155
12156 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12157 (SECONDS): Redefine.
12158 (main): Call pthread_kill and alarm early.
12159 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12160 support.
12161 (test): If the target can't hardware step and doesn't support
12162 displaced stepping, increase the timeout.
12163
d136eff5
PA
121642015-09-16 Pedro Alves <palves@redhat.com>
12165
12166 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12167 (enable_debug): New procedures.
12168 (test): Use them. Bail out if waiting for threads fails.
12169 (top level): Bail out if a test fails.
12170
991f019c
YQ
121712015-09-16 Yao Qi <yao.qi@linaro.org>
12172
12173 * gdb.asm/asm-source.exp: Set asm-arch for
12174 aarch64*-*-* target.
12175 * gdb.asm/aarch64.inc: New file.
12176
bfca584f
PMR
121772015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12178
12179 * gdb.ada/array_of_variable_length.exp: New testcase.
12180 * gdb.ada/array_of_variable_length/foo.adb: New file.
12181 * gdb.ada/array_of_variable_length/pck.adb: New file.
12182 * gdb.ada/array_of_variable_length/pck.ads: New file.
12183
b326e587
DE
121842015-09-15 Doug Evans <dje@google.com>
12185
12186 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12187 of function static local variable.
12188
5382cfab
PW
121892015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12190
12191 * gdb.threads/tls-so_extern.exp: New test file.
12192 * gdb.threads/tls-so_extern.c: New test file.
12193 * gdb.threads/tls-so_extern_main.c: New test file.
12194
141c5cc4
JK
121952015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12196
12197 * gdb.opt/solib-intra-step-lib.c: New file.
12198 * gdb.opt/solib-intra-step-main.c: New file.
12199 * gdb.opt/solib-intra-step.exp: New file.
12200
d15dcecd
PA
122012015-09-15 Pedro Alves <palves@redhat.com>
12202
12203 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12204 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12205
4c2f2a79
PA
122062015-09-14 Pedro Alves <palves@redhat.com>
12207
12208 * gdb.base/hook-stop-continue.c: Delete.
12209 * gdb.base/hook-stop-continue.exp: Delete.
12210 * gdb.base/hook-stop-frame.c: Delete.
12211 * gdb.base/hook-stop-frame.exp: Delete.
12212 * gdb.base/hook-stop.c: New file.
12213 * gdb.base/hook-stop.exp: New file.
12214
919e6dbe
PMR
122152015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12216
12217 * gdb.ada/access_to_packed_array.exp: New testcase.
12218 * gdb.ada/access_to_packed_array/foo.adb: New file.
12219 * gdb.ada/access_to_packed_array/pack.adb: New file.
12220 * gdb.ada/access_to_packed_array/pack.ads: New file.
12221
157280a4
MM
122222015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12223
12224 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12225 buffer size test.
12226
2fd33e94
DB
122272015-09-11 Don Breazeal <donb@codesourcery.com>
12228
12229 * gdb.base/foll-exec.c: Add copyright header. Fix
12230 formatting issues.
12231 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12232 (do_exec_tests): Use clean_restart in place of zap_session,
12233 and for test initialization. Fix formatting issues. Use
12234 fail in place of perror.
12235 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12236 an expect statement to match an expression with output from
12237 the program under debug.
12238 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12239 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12240 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12241 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12242 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12243
e70b6e8e
DE
122442015-09-09 Doug Evans <dje@google.com>
12245
12246 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12247
7a551a51
DE
122482015-09-09 Doug Evans <dje@google.com>
12249
12250 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12251
4c666f84
DE
122522015-09-09 Doug Evans <dje@google.com>
12253
12254 * gdb.base/savedregs.exp: Fix typo.
12255
243a9253
PA
122562015-09-09 Pedro Alves <palves@redhat.com>
12257
12258 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12259
c0fa8fbd
SL
122602015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12261
12262 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12263 command actually switches threads. Give up on remaining
12264 tests if target fails to stop at breakpoint.
12265
cd7c1778
PMR
122662015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12267
12268 * gdb.ada/funcall_char.exp: New testcase.
12269 * gdb.ada/funcall_char/foo.adb: New file.
12270
dc5c8746
PMR
122712015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12272
12273 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12274 expected outputs. Add two testcases for completing ambiguous
12275 functions.
12276 * gdb.ada/complete/aux_pck.adb: New file.
12277 * gdb.ada/complete/aux_pck.ads: New file.
12278 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12279 Ambiguous_Func functions.
12280 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12281 * gdb.ada/complete/pck.adb: Likewise.
12282
4e83a1e7
UW
122832015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12284
12285 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12286 failures to run the test program under GDB.
12287
8ce74153
LM
122882015-08-26 Luis Machado <lgustavo@codesourcery.com>
12289
12290 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12291 to C.
12292
e9756d52
PP
122932015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12294
12295 * gdb.base/run-after-attach.exp: New test file.
12296 * gdb.base/run-after-attach.c: New test file.
12297
8d37573b
DB
122982015-08-26 Don Breazeal <donb@codesourcery.com>
12299
12300 * gdb.base/foll-exec-2.c: New test program.
12301 * gdb.base/foll-exec-2.exp: New test.
12302
63e43d3a
PMR
123032015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12304
12305 * gdb.base/nested-subp1.exp: New file.
12306 * gdb.base/nested-subp1.c: New file.
12307 * gdb.base/nested-subp2.exp: New file.
12308 * gdb.base/nested-subp2.c: New file.
12309 * gdb.base/nested-subp3.exp: New file.
12310 * gdb.base/nested-subp3.c: New file.
12311
3d40fbb5
PA
123122015-08-24 Pedro Alves <palves@redhat.com>
12313
12314 * gdb.server/connect-without-multi-process.c: New file.
12315 * gdb.server/connect-without-multi-process.exp: New file.
12316
4422ac93
LM
123172015-08-24 Luis Machado <lgustavo@codesourcery.com>
12318
12319 * gdb.opt/inline-markers.c: Make z int.
12320
91dddb86
LM
123212015-08-24 Luis Machado <lgustavo@codesourcery.com>
12322
12323 * gdb.opt/inline-markers.c: Make z volatile.
12324
a48847ee
LM
123252015-08-24 Luis Machado <lgustavo@codesourcery.com>
12326
12327 * gdb.opt/inline-bt.c: New volatile global z.
12328 * gdb.opt/inline-cmds.c: Likewise.
12329 * gdb.opt/inline-locals.c: Likewise.
12330 * gdb.opt/inline-markers.c: New extern global z.
12331 (marker): Use z.
12332 (inline_fn): Likewise.
12333
0ebbc52b
PA
123342015-08-24 Pedro Alves <palves@redhat.com>
12335
12336 * config/m32r-stub.exp: Remove file.
12337 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12338 * gdb.base/call-rt-st.exp: Likewise.
12339 * gdb.base/call-strs.exp: Likewise.
12340 * gdb.base/default.exp: Remove references to h8300-*-hms and
12341 *-*-udi*.
12342 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12343
77c365df
AA
123442015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12345
12346 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12347 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12348 and "return" use KFAIL when GDB can not read/write the vector
12349 return value.
12350
4313b8c0
GB
123512015-08-21 Gary Benson <gbenson@redhat.com>
12352
12353 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12354
0e433b32
PA
123552015-08-20 Pedro Alves <palves@redhat.com>
12356
12357 * gdb.server/solib-list.exp: No longer expect an interior stop in
12358 non-stop mode.
12359
221e1a37
PA
123602015-08-20 Pedro Alves <palves@redhat.com>
12361
12362 * gdb.server/connect-stopped-target.c: New file.
12363 * gdb.server/connect-stopped-target.exp: New file.
12364
40e3ad0e
PA
123652015-08-20 Pedro Alves <palves@redhat.com>
12366
12367 * gdb.dwarf2/comp-unit-lang.exp: New file.
12368 * gdb.dwarf2/comp-unit-lang.c: New file.
12369
af39b327
PMR
123702015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12371
12372 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12373 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12374
7d45c7c3 123752015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 12376
7d45c7c3
KB
12377 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12378 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12379
4d6cceb4
DE
123802015-08-18 Doug Evans <dje@google.com>
12381 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12382
12383 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12384 skip_python_tests. New arg prompt_regexp.
12385 (skip_python_tests): New function.
12386 * lib/mi-support.exp (mi_skip_python_tests): New function.
12387 * gdb.python/py-mi-objfile-gdb.py: New file.
12388 * gdb.python/py-mi-objfile.c: New file.
12389 * gdb.python/py-mi-objfile.exp: New file.
12390
ad89c2aa
KS
123912015-08-17 Keith Seitz <keiths@redhat.com>
12392
12393 * gdb.linespec/explicit.exp: Move strace test from here ...
12394 * gdb.trace/strace.exp: ... to here.
12395
e3ae3c43
PP
123962015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12397
12398 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12399 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12400
604b2636
DE
124012015-08-14 Doug Evans <xdje42@gmail.com>
12402
12403 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12404 inferior before selecting a new file.
12405
6ff0ba5f
DE
124062015-08-14 Doug Evans <xdje42@gmail.com>
12407
12408 * gdb.mi/mi-disassemble.exp: Update.
12409 * gdb.base/disasm-optim.S: New file.
12410 * gdb.base/disasm-optim.c: New file.
12411 * gdb.base/disasm-optim.h: New file.
12412 * gdb.base/disasm-optim.exp: New file.
12413
9ca98f92
KS
124142015-08-14 Keith Seitz <keiths@redhat.com>
12415
12416 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12417 "evaluated-by".
12418
52bbc560
JB
124192015-08-13 Joel Brobecker <brobecker@adacore.com>
12420
12421 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12422
5d8c3ed3
PMR
124232015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12424
12425 * gdb.ada/fun_renaming.exp: New testcase.
12426 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12427 * gdb.ada/fun_renaming/pack.adb: New file.
12428 * gdb.ada/fun_renaming/pack.ads: New file.
12429
ea8812bc
KS
124302015-08-12 Keith Seitz <keiths@redhat.com>
12431
12432 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12433 gdb_get_line_number.
12434
4dafcdeb
JB
124352015-08-12 Joel Brobecker <brobecker@adacore.com>
12436
12437 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12438 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12439 gdb.base/dso2dso.exp: New files.
12440
5ba32597
SDJ
124412015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12442 Pedro Alves <palves@redhat.com>
12443 Keith Seitz <keiths@redhat.com>
12444
12445 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12446 GDBFLAGS.
12447
b6dafabf
PP
124482015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12449
12450 * gdb.base/gdbhistsize-history.exp
12451 (test_histsize_history_setting): Use save_vars.
12452 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12453 Use save_vars.
12454 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12455 * gdb.base/readline.exp: Use save_vars.
12456
abe8e607
PP
124572015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12458
12459 * lib/gdb.exp (save_vars): New proc.
12460
629500fa
KS
124612015-08-11 Keith Seitz <keiths@redhat.com>
12462
12463 * gdb.base/help.exp: Update help_breakpoint_text.
12464
eb8c4e2e
KS
124652015-08-11 Keith Seitz <keiths@redhat.com>
12466
12467 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12468 (at toplevel): Call test_explicit_breakpoints.
12469 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12470 breakpoints.
12471 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12472 breakpoint conditions, "-cond".
12473
87f0e720
KS
124742015-08-11 Keith Seitz <keiths@redhat.com>
12475
12476 * gdb.linespec/3explicit.c: New file.
12477 * gdb.linespec/cpexplicit.cc: New file.
12478 * gdb.linespec/cpexplicit.exp: New file.
12479 * gdb.linespec/explicit.c: New file.
12480 * gdb.linespec/explicit.exp: New file.
12481 * gdb.linespec/explicit2.c: New file.
12482 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12483 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12484 before using in the matching pattern.
12485 Clarify that `prefix' is a regular expression.
12486
f00aae0f
KS
124872015-08-11 Keith Seitz <keiths@redhat.com>
12488
12489 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12490 test.
12491 Add tests for missing ",FMT" and ",".
12492
e27852be
DE
124932015-08-10 Doug Evans <dje@google.com>
12494 Keith Seitz <keiths@redhat.com>
12495
12496 PR gdb/17960
12497 * gdb.base/completion.exp: Add location completer tests.
12498
7f03bd92
PA
124992015-08-07 Pedro Alves <palves@redhat.com>
12500
12501 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12502 tests here.
12503 (top level): Run do_test with and without displaced stepping.
12504
3fc8eb30
PA
125052015-08-07 Pedro Alves <palves@redhat.com>
12506
12507 * gdb.base/valgrind-disp-step.c: New file.
12508 * gdb.base/valgrind-disp-step.exp: New file.
12509
d4569d7b
PA
125102015-08-07 Pedro Alves <palves@redhat.com>
12511
12512 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12513 Delete function.
12514 (main): Add alarm. Run an infinite loop instead of calling
12515 wait_threads.
12516 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12517 comment.
12518 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12519 Delete function.
12520 (main): Add alarm. Run an infinite loop instead of calling
12521 wait_threads.
12522 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12523 comment.
12524
e1316e60
PA
125252015-08-07 Pedro Alves <palves@redhat.com>
12526
12527 * gdb.base/checkpoint-ns.exp: New file.
12528 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12529 standard_testfile.
12530
da8c46d2
MM
125312015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12532
12533 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12534 * gdb.btrace/instruction_history.exp: Update.
12535 * gdb.btrace/tsx.exp: New.
12536 * gdb.btrace/tsx.c: New.
12537
de1c2c52
PA
125382015-08-06 Pedro Alves <palves@redhat.com>
12539
12540 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12541 increase timeout.
12542 * gdb.reverse/until-precsave.exp: Bump timeouts.
12543
782e0bf4
PA
125442015-08-06 Pedro Alves <palves@redhat.com>
12545
12546 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12547
83e97ed0
PA
125482015-08-06 Pedro Alves <palves@redhat.com>
12549
12550 PR gdb/18749
12551 * gdb.threads/process-dies-while-handling-bp.c: New file.
12552 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12553
863d01bd
PA
125542015-08-06 Pedro Alves <palves@redhat.com>
12555
12556 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12557 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12558
0a39bb32
PA
125592015-08-05 Pedro Alves <palves@redhat.com>
12560
12561 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12562 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12563
ee2d2b10
SL
125642015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12565
12566 * gdb.base/bp-permanent.exp: Report test as unsupported if
12567 the target cannot stop at the permanent breakpoint.
12568
4e1bdb00
DE
125692015-08-03 Doug Evans <dje@google.com>
12570
12571 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12572 10000.
12573
3d338901
DE
125742015-08-03 Doug Evans <dje@google.com>
12575
12576 * Makefile.in (workers/%.worker, build-perf): New rule.
12577 (GDB_PERFTEST_MODE): New variable.
12578 (check-perf): Use it.
12579 (clean): Clean up gdb.perf parallel build subdirs.
12580 * lib/build-piece.exp: New file.
12581 * lib/gdb.exp (make_gdb_parallel_path): New function
12582 (standard_output_file, standard_temp_file): Call it.
12583 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12584 of $GDB_PARALLEL.
12585 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12586
af061d3e
DE
125872015-08-03 Doug Evans <dje@google.com>
12588
8e1afc81 12589 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
12590 (LOG_FILE_NAME): New global.
12591 (TextReporter.__init__): Initialize self.txt_sum.
12592 (TextReporter.report): Add support for multiple data-points.
12593 Move report to perftest.sum, put raw data in perftest.log.
12594 (TextReporter.start): Open sum and log files.
12595 (TextReporter.end): Close sum and log files.
8e1afc81
DE
12596 * gdb.perf/lib/perftest/testresult.py
12597 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 12598
2c8c5d37
PA
125992015-07-31 Pedro Alves <palves@redhat.com>
12600
12601 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12602 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12603 kill_wait_spawned_process instead of explicit "kill -9".
12604 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12605 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12606 kill_wait_spawned_process.
12607 * gdb.base/attach-twice.exp: Likewise.
12608 * gdb.base/attach.exp: Likewise.
12609 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12610 gdb_test_multiple.
12611 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12612 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12613 kill_wait_spawned_process.
12614 * gdb.base/valgrind-infcall.exp: Likewise.
12615 * gdb.multi/multi-attach.exp: Likewise.
12616 * gdb.python/py-prompt.exp: Likewise.
12617 * gdb.python/py-sync-interp.exp: Likewise.
12618 * gdb.server/ext-attach.exp: Likewise.
12619 * gdb.threads/attach-into-signal.exp (corefunc): Use
12620 spawn_wait_for_attach, spawn_id_get_pid and
12621 kill_wait_spawned_process.
12622 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12623 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12624 spawn_id_get_pid and kill_wait_spawned_process.
12625 * gdb.threads/attach-stopped.exp (corefunc): Use
12626 spawn_wait_for_attach, spawn_id_get_pid and
12627 kill_wait_spawned_process.
12628 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12629 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12630 kill_wait_spawned_process instead of explicit "kill -9".
12631 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12632 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12633 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12634 processes. Don't map cygwin/windows pids here. Now returns a
12635 spawn id list.
12636
032a0fca
SL
126372015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12638
12639 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12640 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12641 correct patch.
12642
61a934ca
SL
126432015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12644
12645 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12646
4bc4d428
SL
126472015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12648
12649 Reapply:
12650 2014-05-21 Mark Wielaard <mjw@redhat.com>
12651
12652 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12653
998d452a
PA
126542015-07-30 Pedro Alves <palves@redhat.com>
12655
12656 * linux-low.c (handle_extended_wait): Set the child's last
12657 reported status to TARGET_WAITKIND_STOPPED.
12658
69dde7dc
PA
126592015-07-30 Pedro Alves <palves@redhat.com>
12660
12661 PR threads/18600
12662 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12663 only shows inferior 1.
12664
4dd63d48
PA
126652015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12666 Pedro Alves <palves@redhat.com>
12667
12668 PR threads/18600
12669 * gdb.threads/fork-plus-threads.c: New file.
12670 * gdb.threads/fork-plus-threads.exp: New file.
12671
d618e4c5
PP
126722015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12673
12674 * gdb.base/batch-preserve-term-settings.exp
12675 (test_terminal_settings_preserved_after_cli_exit): Use
12676 send_quit_command.
12677
1eef6428
PA
126782015-07-29 Pedro Alves <palves@redhat.com>
12679 Don Breazeal <donb@codesourcery.com>
12680
12681 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12682 output from both inferior_spawn_id and gdb_spawn_id.
12683
7da5b897
SDJ
126842015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12685
12686 * gdb.threads/attach-into-signal.exp (corefunc): Use
12687 with_test_prefix on nested loops, uniquefying the test messages.
12688
dac804df
SDJ
126892015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12690
12691 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12692 commit.
12693
06265e53
PP
126942015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12695
12696 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12697 New proc.
12698 (test_terminal_settings_preserved_after_sigterm): New test.
12699
18206ca3
PP
127002015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12701
12702 * gdb.base/batch-preserve-term-settings.exp
12703 (test_terminal_settings_preserved_after_cli_exit): New test.
12704
90074d11
PP
127052015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12706
12707 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12708 manipulation of saved_gdbflags.
12709 (test_terminal_settings_preserved): Remove global declaration of
12710 the unused variable pagination_prompt. Remove manipulation of
12711 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12712 GDBFLAGS.
12713
eb1a7902
PA
127142015-07-29 Pedro Alves <palves@redhat.com>
12715
12716 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12717
8b75dd3b
PA
127182015-07-29 Pedro Alves <palves@redhat.com>
12719
12720 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12721 at the top.
12722
dedad4e3
PA
127232015-07-29 Pedro Alves <palves@redhat.com>
12724
12725 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12726 (main): Call gdb_unbuffer_output.
12727 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12728 (main): Call gdb_unbuffer_output.
12729 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12730 (main): Call gdb_unbuffer_output.
12731 * gdb.base/call-strs.exp: Adjust to step over the
12732 gdb_unbuffer_output call.
12733 * gdb.base/catch-gdb-caused-signals.c: Include
12734 "../lib/unbuffer_output.c".
12735 (main): Call gdb_unbuffer_output.
12736 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12737 (main): Call gdb_unbuffer_output.
12738 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12739 (main): Call gdb_unbuffer_output.
12740 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12741 (main): Call gdb_unbuffer_output.
12742 * gdb.base/shlib-call.exp: Adjust to step over the
12743 gdb_unbuffer_output call.
12744 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12745 (main): Call gdb_unbuffer_output.
12746 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12747 (main): Call gdb_unbuffer_output.
12748 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12749 (main): Rename to ...
12750 (test): ... this.
12751 (main): Reimplement.
12752 * gdb.base/varargs.exp: Run to test instead of to main.
12753 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12754 (main): Call gdb_unbuffer_output.
12755
58789a91
PA
127562015-07-29 Pedro Alves <palves@redhat.com>
12757
12758 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12759 factore out from mi_continue_dprintf. For call-style dprintfs,
12760 expect dprintf output out of $inferior_spawn_id.
12761 (mi_continue_dprintf): Use mi_expect_dprintf.
12762 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12763 (main): Call gdb_unbuffer_output.
12764
e8376742
PA
127652015-07-29 Pedro Alves <palves@redhat.com>
12766
12767 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12768 (default_mi_gdb_start): Set inferior_spawn_id instead of
12769 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12770 gdb_spawn_id.
12771 (mi_gdb_test): Always expect inferior output from both
12772 $inferior_spawn_id and $gdb_spawn_id.
12773
08280010
PA
127742015-07-29 Pedro Alves <palves@redhat.com>
12775
12776 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12777 send_inferior and $inferior_spawn_id.
12778
4d30e432
PA
127792015-07-29 Pedro Alves <palves@redhat.com>
12780
12781 * gdb.gdb/complaints.exp (test_initial_complaints)
12782 (test_serial_complaints, test_short_complaints): Use
12783 gdb_test_stdio.
12784 (test_empty_complaint): Handle $inferior_spawn_id !=
12785 $gdb_spawn_id.
12786
0d30a335
PA
127872015-07-29 Pedro Alves <palves@redhat.com>
12788
12789 * gdb.base/varargs.exp: Use gdb_test_stdio.
12790
39413b29
PA
127912015-07-29 Pedro Alves <palves@redhat.com>
12792
12793 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12794
7cb000a9
PA
127952015-07-29 Pedro Alves <palves@redhat.com>
12796
12797 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12798
d7b8ac82
PA
127992015-07-29 Pedro Alves <palves@redhat.com>
12800
12801 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12802 parameter into two new parameters, "inf_result" and "gdb_result".
12803 Expect inferior output and gdb output from $inferior_spawn_id and
12804 $gdb_spawn_id, respectively. Adjust all callers.
12805
789c3a0c
PA
128062015-07-29 Pedro Alves <palves@redhat.com>
12807
12808 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12809 of gdb_test_sequence.
12810
77e760c3
PA
128112015-07-29 Pedro Alves <palves@redhat.com>
12812
12813 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12814 (saw_spurious_output): Expect inferior output from
12815 $inferior_spawn_id. Use gdb_test_stdio.
12816
8396d2cd
PA
128172015-07-29 Pedro Alves <palves@redhat.com>
12818
12819 * gdb.base/dprintf.exp: Use standard_testfile. Change
12820 prepare_for_testing call.
12821 (srcfile): Don't set.
12822 (restart): New procedure.
12823 (test_dprintf): New procecure, use to continue over dprintfs.
12824 (test_call, test_agent): New procedures, tests moved here.
12825 Restart gdb and recreate dprintfs. Adjust expected output.
12826
2051d61f
PA
128272015-07-29 Pedro Alves <palves@redhat.com>
12828
12829 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12830
452397af
PA
128312015-07-29 Pedro Alves <palves@redhat.com>
12832
12833 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12834
8aed9555
PA
128352015-07-29 Pedro Alves <palves@redhat.com>
12836
12837 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12838 gdb_test_stdio.
12839
188a61b4
PA
128402015-07-29 Pedro Alves <palves@redhat.com>
12841
12842 * lib/gdb.exp (gdb_test_stdio): New procedure.
12843
12264a45
PA
128442015-07-29 Pedro Alves <palves@redhat.com>
12845
12846 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12847
23ffc893
PA
128482015-07-29 Pedro Alves <palves@redhat.com>
12849
12850 * gdb.base/call-signal-resume.exp: Remove check for
12851 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12852 * gdb.base/unwindonsignal.exp: Likewise.
12853 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12854 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12855
65566918
PA
128562015-07-29 Pedro Alves <palves@redhat.com>
12857
12858 * gdb.base/siginfo-addr.c (pass): New function.
12859 (handler): Call it iff si_addr is correct.
12860 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12861 Set a breakpoint at "pass" and continue to it.
12862
d60a9221
SDJ
128632015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12864
12865 * gdb.python/py-objfile.exp: Make some tests have unique names.
12866 * gdb.python/py-pp-registration.exp: Likewise.
12867
bde40b8f
PA
128682015-07-28 Pedro Alves <palves@redhat.com>
12869
12870 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12871
13e1dec8
SM
128722015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12873
12874 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12875
da33c9a7
SM
128762015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12877
12878 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12879
077836f7
PP
128802015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12881
12882 * gdb.base/gdb-sigterm-2.exp: New test.
12883
b8cc7b2e
DE
128842015-07-25 Doug Evans <xdje42@gmail.com>
12885
12886 Revert:
12887 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12888 (workers/%.worker, build-perf): New rule.
12889 (GDB_PERFTEST_MODE): New variable.
12890 (check-perf): Use it.
12891 (clean): Clean up gdb.perf parallel build subdirs.
12892 * lib/build-piece.exp: New file.
12893 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12894 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12895 name.
12896 (standard_temp_file): Ditto.
12897 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12898 of $GDB_PARALLEL.
12899
c8bd4544
DE
129002015-07-24 Doug Evans <dje@google.com>
12901
12902 * gdb.perf/lib/perftest/utils.py: New file.
12903 * gdb.perf/gm-hello.cc: New file.
12904 * gdb.perf/gm-pervasive-typedef.cc: New file.
12905 * gdb.perf/gm-pervasive-typedef.h: New file.
12906 * gdb.perf/gm-std.cc: New file.
12907 * gdb.perf/gm-std.h: New file.
12908 * gdb.perf/gm-use-cerr.cc: New file.
12909 * gdb.perf/gm-utils.h: New file.
12910 * gdb.perf/gmonster-null-lookup.py: New file.
12911 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12912 * gdb.perf/gmonster-print-cerr.py: New file.
12913 * gdb.perf/gmonster-ptype-string.py: New file.
12914 * gdb.perf/gmonster-runto-main.py: New file.
12915 * gdb.perf/gmonster-select-file.py: New file.
12916 * gdb.perf/gmonster1-null-lookup.exp: New file.
12917 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12918 * gdb.perf/gmonster1-print-cerr.exp: New file.
12919 * gdb.perf/gmonster1-ptype-string.exp: New file.
12920 * gdb.perf/gmonster1-runto-main.exp: New file.
12921 * gdb.perf/gmonster1-select-file.exp: New file.
12922 * gdb.perf/gmonster1.cc: New file.
12923 * gdb.perf/gmonster1.exp: New file.
12924 * gdb.perf/gmonster2-null-lookup.exp: New file.
12925 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12926 * gdb.perf/gmonster2-print-cerr.exp: New file.
12927 * gdb.perf/gmonster2-ptype-string.exp: New file.
12928 * gdb.perf/gmonster2-runto-main.exp: New file.
12929 * gdb.perf/gmonster2-select-file.exp: New file.
12930 * gdb.perf/gmonster2.cc: New file.
12931 * gdb.perf/gmonster2.exp: New file.
12932
6eab34f3
DE
129332015-07-24 Doug Evans <dje@google.com>
12934
12935 * gdb.perf/README: New file.
12936 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12937 * lib/gen-perf-test.exp: New file.
12938
63738bfd
DE
129392015-07-24 Doug Evans <dje@google.com>
12940
12941 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12942 (PerfTest::startup): New function.
12943 (PerfTest::run): Return result of calling body.
12944 (PerfTest::assemble): Rewrite.
12945 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12946 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12947 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12948 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12949 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12950
7b606f95
DE
129512015-07-24 Doug Evans <dje@google.com>
12952
12953 * lib/gdb.exp (clean_restart): Make executable optional.
12954
a97b16b8
DE
129552015-07-24 Doug Evans <dje@google.com>
12956
12957 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12958 compiler_info references.
12959 * gdb.cp/temargs.exp: Ditto.
12960 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12961 (get_compiler_info): Early exit if already computed. Set compiler_info
12962 to "unknown" if there was a problem.
12963 (test_compiler_info): Add function comment. Call get_compiler_info.
12964
35baa57f
DE
129652015-07-24 Doug Evans <dje@google.com>
12966
12967 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12968 (workers/%.worker, build-perf): New rule.
12969 (GDB_PERFTEST_MODE): New variable.
12970 (check-perf): Use it.
12971 (clean): Clean up gdb.perf parallel build subdirs.
12972 * lib/build-piece.exp: New file.
12973 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12974 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12975 name.
12976 (standard_temp_file): Ditto.
12977 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12978 of $GDB_PARALLEL.
12979
6ebea266
DE
129802015-07-24 Doug Evans <dje@google.com>
12981
12982 * lib/future.exp (gdb_default_target_compile): New option
12983 "early_flags".
12984 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12985 --as-needed.
12986
1e76a7e9
SDJ
129872015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12988
12989 * gdb.base/catch-syscall.exp: Call gdb_exit before
12990 gdb_skip_xml_test.
12991
5068630a
PA
129922015-07-24 Pedro Alves <palves@redhat.com>
12993
12994 * gdb.python/py-events.exp: Accept output between the stop event
12995 and the prompt.
12996 * gdb.python/py-evsignal.exp: Likewise.
12997 * gdb.python/py-evthreads.exp: Likewise.
12998
77598427
PA
129992015-07-24 Pedro Alves <palves@redhat.com>
13000
13001 PR gdb/18717
13002 * gdb.threads/non-ldr-exit.c: New file.
13003 * gdb.threads/non-ldr-exit.exp: New file.
13004
11e6c98f
YQ
130052015-07-24 Yao Qi <yao.qi@linaro.org>
13006
13007 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13008 restarting process.
13009
51aee833
YQ
130102015-07-24 Yao Qi <yao.qi@linaro.org>
13011
13012 * gdb.server/ext-restart.exp: New file.
13013
8cfe207c
YQ
130142015-07-24 Yao Qi <yao.qi@linaro.org>
13015
13016 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13017 argument options.
13018 * gdb.server/ext-wrapper.exp: New file.
13019
cc12ce38
DE
130202015-07-23 Doug Evans <dje@google.com>
13021
13022 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13023 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13024
d0d84780
PMR
130252015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13026
13027 * gdb.ada/var_arr_typedef.exp: New testcase.
13028 * gdb.ada/var_arr_typedef/pack.adb: New file.
13029 * gdb.ada/var_arr_typedef/pack.ads: New file.
13030 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13031
8b558f79
JB
130322015-07-20 Joel Brobecker <brobecker@adacore.com>
13033
13034 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13035
775a3298
JK
130362015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13037
13038 * gdb.arch/i386-biarch-core.exp: Replace istarget
13039 by "complete set gnutarget". Remove expectation for the "core-file"
13040 command.
13041
db1ff28b
JK
130422015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13043
13044 Revert the previous commit:
13045 Tests for validate symbol file using build-id.
13046
0a94970d
JK
130472015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13048
13049 Tests for validate symbol file using build-id.
13050 * gdb.base/solib-mismatch-lib.c: New file.
13051 * gdb.base/solib-mismatch-libmod.c: New file.
13052 * gdb.base/solib-mismatch.c: New file.
13053 * gdb.base/solib-mismatch.exp: New file.
13054
03346981
SL
130552015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13056
13057 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13058 nios2-*-linux*.
13059 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13060 * gdb.base/siginfo.exp: Likewise.
13061 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13062
42422cc7
PL
130632015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13064
13065 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13066 Move it to ...
13067 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13068 ... here.
13069 * gdb.trace/range-stepping.exp: Check that the target supports
13070 range stepping.
13071
cfa68bae
JK
130722015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13073
13074 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13075
8ffdba26
PA
130762015-07-14 Pedro Alves <palves@redhat.com>
13077
13078 * gdb.base/killed-outside.exp: New file.
13079 * gdb.base/killed-outside.c: New file.
13080
218a5a11
JK
130812015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13082
13083 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13084 (n at main): New.
13085 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13086
e03ed3c6
AA
130872015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13088
13089 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13090 infcall tests instead of setting up for KFAIL.
13091
485668e5
MM
130922015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13093
13094 * gdb.btrace/record_goto-step.exp: New.
13095
08464196
JK
130962015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13097
13098 PR compile/18484
13099 * gdb.compile/compile.c (struct struct_type): Add volatile to
13100 selffield's type.
13101 * gdb.compile/compile.exp
13102 (compile code struct_object.selffield = &struct_object): Skip further
13103 struct_object tests if this one xfails.
13104
bcf5c1d9
RC
131052015-07-08 Robert O'Callahan <robert@ocallahan.org>
13106
13107 PR exp/18617
13108 * gdb.trace/ax.exp: Add test.
13109
4931af25
YQ
131102015-07-07 Yao Qi <yao.qi@linaro.org>
13111
13112 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13113 instead of istarget "aarch64*-*-*".
13114 * gdb.arch/aarch64-fp.exp: Likewise.
13115 * gdb.base/float.exp: Likewise.
13116 * gdb.reverse/aarch64.exp: Likewise.
13117 * lib/gdb.exp (is_aarch64_target): New proc.
13118
9fcf688e
YQ
131192015-07-07 Yao Qi <yao.qi@linaro.org>
13120
13121 * lib/gdb.exp (is_aarch32_target): New proc.
13122 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13123 instead of "istarget "arm*-*-*"".
13124 * gdb.arch/arm-disp-step.exp: Likewise.
13125 * gdb.arch/thumb-bx-pc.exp: Likewise.
13126 * gdb.arch/thumb-prologue.exp: Likewise.
13127 * gdb.arch/thumb-singlestep.exp: Likewise.
13128 * gdb.base/disp-step-syscall.exp: Likewise.
13129 * gdb.base/float.exp: Likewise.
13130
fbd8d50d
YQ
131312015-07-07 Yao Qi <yao.qi@linaro.org>
13132
13133 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13134 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13135
71be1fdc
YQ
131362015-07-07 Yao Qi <yao.qi@linaro.org>
13137
13138 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13139 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13140 if it exists.
13141 * gdb.multi/multi-arch.exp: Likewise.
13142
3e221d36
SM
131432015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13144
13145 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13146 print.
13147
d441430b
YQ
131482015-07-07 Yao Qi <yao.qi@linaro.org>
13149
13150 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13151
06f810bd
MG
131522015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13153
13154 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13155 '[' and ']' characters.
13156
5e61e7c0
IB
131572015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13158
13159 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13160
28bf096c
PA
131612015-06-29 Pedro Alves <palves@redhat.com>
13162
13163 PR threads/18127
13164 * gdb.threads/hand-call-new-thread.c: New file.
13165 * gdb.threads/hand-call-new-thread.c: New file.
13166
ee93cd5e
KS
131672015-06-26 Keith Seitz <keiths@redhat.com>
13168 Doug Evans <dje@google.com>
13169
13170 PR 16253
13171 * gdb.cp/var-tag-2.cc: New file.
13172 * gdb.cp/var-tag-3.cc: New file.
13173 * gdb.cp/var-tag-4.cc: New file.
13174 * gdb.cp/var-tag.cc: New file.
13175 * gdb.cp/var-tag.exp: New file.
13176
fc637f04
PP
131772015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13178
13179 * gdb.base/history-duplicates.exp: New test.
13180
2e52ae68
PP
131812015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13182
13183 * gdb.base/completion.exp: Test the completion of the "focus"
13184 command.
13185
6e22494e
JK
131862015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13187
13188 * gdb.arch/amd64-prologue-skip.S: New file.
13189 * gdb.arch/amd64-prologue-skip.exp: New file.
13190
bf7b9cd9
SM
131912015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13192
13193 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13194 is_address_zero_readable check.
13195
201e8dfd
PB
131962015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13197
13198 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13199 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13200
5cd867b4
YQ
132012015-06-24 Yao Qi <yao.qi@linaro.org>
13202
13203 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13204 linux targets.
13205
4d7be007
YQ
132062015-06-24 Yao Qi <yao.qi@linaro.org>
13207
13208 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13209 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13210 * gdb.base/siginfo-thread.exp: Likewise.
13211
07fcd301
YQ
132122015-06-22 Yao Qi <yao.qi@linaro.org>
13213
13214 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13215
52042a00
YQ
132162015-06-22 Yao Qi <yao.qi@linaro.org>
13217
13218 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13219 aarch64*-*-*.
13220 (skip_hw_watchpoint_tests): Likewise.
13221
74bd41ce
PP
132222015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13223
13224 * gdb.base/gdbinit-history.exp: Test the interaction between
13225 setting GDBHISTSIZE and setting the history size via .gdbinit.
13226
bc460514
PP
132272015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13228
13229 PR gdb/16999
13230 * gdb.base/gdbhistsize-history.exp: New test.
13231
b58c513b
PP
132322015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13233
13234 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13235 with GDBHISTSIZE.
13236 * gdb.base/readline.exp: Likewise.
13237
92046791
YQ
132382015-06-17 Yao Qi <yao.qi@linaro.org>
13239
13240 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13241 line.
13242
2093d2d3
PP
132432015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13244
13245 * gdb.base/gdbinit-history.exp: Add test case to check that
13246 an unlimited history file does not get truncated on exit.
13247
e6c693af
AA
132482015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13249
13250 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13251 (VECTOR): New macro. Use it...
13252 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13253 ...for these typedefs.
13254 (int8, char1, int1, double1): New typedefs.
13255 (struct just_int2, struct two_int2): New structures.
13256 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13257 (add_structvecs, add_singlevecs): New functions.
13258 (main): Call add_some_intvecs twice.
13259 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13260 the compile and exit upon failure. Try compiling for the "native"
13261 architecture. Test inferior function calls with vector arguments
13262 and vector return value handling with "finish" and "return".
13263
c74f7d1c
JT
132642015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13265
13266 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13267 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13268 PE file.
13269 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13270
98aa42ee
AT
132712015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13272
13273 PR breakpoints/16465
13274 * gdb.mi/mi-dprintf-pending.c: New file.
13275 * gdb.mi/mi-dprintf-pending.exp: New test.
13276 * gdb.mi/mi-dprintf-pendshr.c: New file.
13277
7d73c23c 132782015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 13279 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
13280
13281 * gdb.arch/i386-mpx-map.c: New file.
13282 * gdb.arch/i386-mpx-map.exp: New File.
13283
132842015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13285
13286 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13287 * gdb.arch/i386-mpx.exp: Indentation fixed.
13288
132892015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13290
13291 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13292 function and improved indentation.
13293 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13294 gdb_test_multiple. Added additional tests to skip the test.
13295
132962015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13297
13298 * gdb.arch/i386-avx512.c: Change path in include file.
13299 * gdb.arch/i386-avx512.exp: Change include dir path
13300 compilation flag.
13301 * gdb.arch/i386-mpx.c: Change path in include file.
13302 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13303 flag.
13304
d5eba19a
JK
133052015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13306
13307 * gdb.compile/compile-print.exp (compile print *vararray@3)
13308 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13309
7f361056
JK
133102015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13311
13312 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13313 (do not keep jit in memory): ... this.
13314 (expect 5): Change it to ...
13315 (expect no 5): ... this.
13316
3b462ec2
SM
133172015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13318
13319 PR gdb/15564
13320 * gdb.mi/mi-detach.exp: New file.
13321
e0619de6
JK
133222015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13323
13324 PR symtab/18392
13325 * gdb.arch/amd64-tailcall-self.S: New file.
13326 * gdb.arch/amd64-tailcall-self.c: New file.
13327 * gdb.arch/amd64-tailcall-self.exp: New file.
13328
e970cb34
DB
133292015-05-28 Don Breazeal <donb@codesourcery.com>
13330
13331 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13332 tests for remote targets by checking is_target_gdbserver.
13333
b2e2f908
DE
133342015-05-27 Doug Evans <dje@google.com>
13335
13336 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13337 * gdb.dwarf2/opaque-type-lookup.c: New file.
13338 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13339
82c7be31
DE
133402015-05-26 Doug Evans <dje@google.com>
13341
13342 * gdb.cp/iostream.cc: New file.
13343 * gdb.cp/iostream.exp: New file.
13344
b4f54984
DE
133452015-05-26 Doug Evans <dje@google.com>
13346
13347 * gdb.dwarf2/dw2-op-call.exp: Update.
13348 * gdb.dwarf2/dw4-sig-types.exp: Update.
13349 * gdb.dwarf2/implptr.exp: Update.
13350 * gdb.mi/mi-cmd-param-changed.exp: Update.
13351
4ea6efe9
DE
133522015-05-26 Doug Evans <dje@google.com>
13353
13354 * gdb.python/py-lazy-string.c: New file.
13355 * gdb.python/py-lazy-string.exp: New file.
13356 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13357 (main): Update. Add estring3.
13358 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13359 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13360
f6bb7db3
YQ
133612015-05-26 Omair Javaid <omair.javaid@linaro.org>
13362 Yao Qi <yao.qi@linaro.org>
13363
13364 * gdb.reverse/aarch64.c: New.
13365 * gdb.reverse/aarch64.exp: New.
13366
a81bfbd0
OJ
133672015-05-26 Omair Javaid <omair.javaid@linaro.org>
13368
25d49b86
PA
13369 * lib/gdb.exp (supports_process_record): Return true for
13370 aarch64*-linux*.
a81bfbd0
OJ
13371 (supports_reverse): Likewise.
13372
158bf1b4
PP
133732015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13374
13375 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13376 Use with_test_prefix.
13377
a0145030
AB
133782015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13379
13380 * gdb.base/completion.exp: Add test for completion of layout
13381 names.
13382
ebe3b578
AB
133832015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13384
13385 * lib/gdb.exp (skip_tui_tests): New proc.
13386 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13387
84204ed7
PA
133882015-05-19 Pedro Alves <palves@redhat.com>
13389
13390 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13391 Save the whole env array instead of just HOME. Unset HISTSIZE in
13392 the environment while testing. Restore whole environment
13393 afterwards.
13394
37442ce1
DE
133952015-05-16 Doug Evans <xdje42@gmail.com>
13396
13397 * gdb.guile/scm-ports.c: New file.
13398 * gdb.guile/scm-ports.exp: Add memory port tests.
13399
36de76f9
JK
134002015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13401
13402 * gdb.compile/compile-print.c: New file.
13403 * gdb.compile/compile-print.exp: New file.
13404
3a9558c4
JK
134052015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13406
13407 * gdb.compile/compile-ops.exp: Cast param to void.
13408 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13409 (compile code struct_object.selffield = &struct_object): Add xfail.
13410
aa715135
JG
134112015-05-15 Joel Brobecker <brobecker@adacore.com>
13412
13413 * gdb.ada/arr_enum_with_gap: New testcase.
13414
931e5bc3
JG
134152015-05-15 Joel Brobecker <brobecker@adacore.com>
13416
13417 * gdb.ada/byte_packed_arr: New testcase.
13418
9cd4d857
JB
134192015-05-15 Joel Brobecker <brobecker@adacore.com>
13420
13421 * gdb.ada/pckd_neg: New testcase.
13422
ebfd00d2
PP
134232015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13424
13425 PR gdb/17820
13426 * gdb.base/gdbinit-history.exp: New test.
13427 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13428 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13429
4c082a81
SC
134302015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13431
13432 * gdb.python/py-xmethods.cc: Enhance test case.
13433 * gdb.python/py-xmethods.exp: New tests.
13434 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13435 function.
13436 (B_indexoper): Likewise.
13437 (global_dm_list) : Add new xmethod worker functions.
13438
f7797074
SDJ
134392015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13440
13441 * gdb.base/coredump-filter.exp: Correctly unset
13442 "coredump_var_addr" array.
13443
a4674e4e
PA
134442015-05-08 Pedro Alves <palves@redhat.com>
13445
13446 * gdb.server/non-existing-program.exp: Unset spawn_id.
13447
df2eb078
SC
134482015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13449
13450 PR python/18291
13451 * gdb.python/py-xmethods.exp: Add tests.
13452
422349a3
YQ
134532015-05-08 Yao Qi <yao.qi@linaro.org>
13454
13455 PR gdb/18208
13456 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13457 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13458 function set_coredump_filter, and remove remote_exec call.
13459 Remove argument ipid. Callers update.
13460 (top level): Don't get inferior's PID.
13461
63fc80ce
AA
134622015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13463
13464 * gdb.base/watch_thread_num.exp: Skip test on targets without
13465 access watchpoints.
13466
80ad801e
PA
134672015-05-06 Pedro Alves <palves@redhat.com>
13468
13469 PR server/18081
13470 * gdb.server/non-existing-program.exp: New file.
13471
0fa7fe50
JB
134722015-05-05 Joel Brobecker <brobecker@adacore.com>
13473
13474 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13475
3ea89b92
PMR
134762015-05-05 Joel Brobecker <brobecker@adacore.com>
13477
13478 * gdb.ada/out_of_line_in_inlined: New testcase.
13479
87b8eff0
JB
134802015-05-05 Joel Brobecker <brobecker@adacore.com>
13481
13482 * gdb.ada/var_rec_arr: New testcase.
13483
5fccc635
YQ
134842015-04-30 Yao Qi <yao.qi@linaro.org>
13485
13486 * gdb.base/break-idempotent.exp: If
13487 skip_hw_watchpoint_multi_tests returns true, skip the tests
13488 on "rwatch" and "awatch".
13489
42d38f42
YQ
134902015-04-30 Yao Qi <yao.qi@linaro.org>
13491
13492 * gdb.base/relativedebug.exp: Invoke gdb command
13493 "info sharedlibrary", and if libc.so doesn't have debug info,
13494 skip the test.
13495
2ce1cdbf
DE
134962015-04-29 Doug Evans <dje@google.com>
13497
13498 * gdb.python/py-xmethods.exp: Add ptype tests.
13499 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13500 get_result_type method.
13501
f24a38c5
LM
135022015-04-29 Luis Machado <lgustavo@codesourcery.com>
13503
13504 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13505 the target does not support hardware watchpoints.
13506
ecbf2b3c
LM
135072015-04-29 Luis Machado <lgustavo@codesourcery.com>
13508
13509 * gdb.base/break-always.exp: Abort testing if writing to memory
13510 causes an error.
13511
34f5f757
DE
135122015-04-28 Doug Evans <dje@google.com>
13513
13514 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13515 * gdb.python/py-pp-registration.exp: ... here. New file.
13516 * gdb.python/py-pp-registration.c: New file.
13517 * gdb.python/py-pp-registration.py: New file.
13518
69b4374a
DE
135192015-04-28 Doug Evans <dje@google.com>
13520
13521 * gdb.python/py-bad-printers.c: New file.
13522 * gdb.python/py-bad-printers.py: New file.
13523 * gdb.python/py-bad-printers.exp: New file.
13524
59fb7612
SS
135252015-04-28 Sasha Smundak <asmundak@google.com>
13526
13527 * gdb.python/py-type.exp: New test.
13528
2631b16a
AW
135292015-04-28 Andy Wingo <wingo@igalia.com>
13530
13531 * gdb.python/py-parameter.exp:
13532 * gdb.guile/scm-parameter.exp: Escape the path that we are
13533 matching against, as it might contain characters that are special
13534 to regular expressions.
13535
460efde1
JB
135362015-04-27 Joel Brobecker <brobecker@adacore.com>
13537
13538 * gdb.ada/rec_comp: New testcase.
13539
2d369d8e
SDJ
135402015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13541
13542 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13543 before using it.
13544
cf75d6c3
AB
135452015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13546
13547 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13548 new tests for verilog output.
13549
8dbe7ca5
YQ
135502015-04-24 Yao Qi <yao.qi@linaro.org>
13551
13552 * boards/remote-gdbserver-on-localhost.exp: New file.
13553
4ef9fb2f
PA
135542015-04-23 Pedro Alves <palves@redhat.com>
13555
13556 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13557 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13558 "end of file", remove $inferior_spawn_id from the indirect list.
13559
0a803169
PA
135602015-04-23 Pedro Alves <palves@redhat.com>
13561
13562 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13563
749ef8f8
PA
135642015-04-23 Pedro Alves <palves@redhat.com>
13565
13566 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13567 on $any_spawn_id instead of only on $gdb_spawn_id.
13568
8aae4344
PM
135692015-04-21 Pierre Muller <muller@sourceware.org>
13570
13571 PR pascal/17815
13572 * lib/pascal.exp (gpc_compile): Add new option "class".
13573 (fpc_compile): Likewise.
13574 * gdb.pascal/case-insensitive-symbols.pas: New file.
13575 * gdb.pascal/case-insensitive-symbols.exp: New file.
13576
1586c8fb
GB
135772015-04-20 Gary Benson <gbenson@redhat.com>
13578
13579 * gdb.base/attach.exp: Fix three extended remote failures.
13580
1b6e6f5c
GB
135812015-04-17 Gary Benson <gbenson@redhat.com>
13582
13583 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13584 the main executable over the remote protocol.
13585
e797481d
PA
135862015-04-16 Pedro Alves <palves@redhat.com>
13587
13588 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13589 a new gdbserver if gdbserver_reconnect_p is set.
13590
1ca99c42
PA
135912015-04-16 Pedro Alves <palves@redhat.com>
13592
13593 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13594 is set, don't exit gdbserver.
13595
af9fd6f8
AA
135962015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13597
13598 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13599 appropriate .insn, such that an older assembler can be used.
13600 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13601 the z/Architecture instruction set on 31-bit targets as well.
13602
04ff1e61
AA
136032015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13604
13605 * gdb.go/handcall.exp: Remove all logic related to the first
13606 breakpoint and rely on go_runto_main instead.
13607 * gdb.go/strings.exp: Likewise.
13608 * gdb.go/unsafe.exp: Likewise.
13609 * gdb.go/hello.exp: Likewise. Also rename the remaining
13610 breakpoint marker to "breakpoint 1".
13611 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13612 * gdb.go/strings.go: Likewise.
13613 * gdb.go/unsafe.go: Likewise.
13614 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13615 "set breakpoint 2 here" and rename the remaining breakpoint marker
13616 to "breakpoint 1".
13617
40d2f8d6
SM
136182015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13619
13620 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13621 if itertools.imap is not present.
13622 * gdb.python/py-objfile.exp: Add parentheses.
13623 * gdb.python/py-type.exp: Same.
13624 * gdb.python/py-unwind-maint.py: Same.
13625
8cbc97c6
YQ
136262015-04-15 Yao Qi <yao.qi@linaro.org>
13627
13628 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13629 of ":$ptr_size" and set its form explicitly.
13630
45fd756c
YQ
136312015-04-15 Pedro Alves <palves@redhat.com>
13632 Yao Qi <yao.qi@linaro.org>
13633
13634 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13635 timeout by factor of 4.
13636 (test_regular_watch): Likewise.
13637 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13638 * gdb.reverse/sigall-reverse.exp: Likewise.
13639 * gdb.reverse/until-precsave.exp: Likewise.
13640 * lib/gdb.exp (with_timeout_factor): New proc.
13641 (gdb_expect): Move some code to ...
13642 (get_largest_timeout): ... here. New procedure.
13643
9e811bc3
LM
136442015-04-14 Luis Machado <lgustavo@codesourcery.com>
13645
13646 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13647
0ff6fcb2
LM
136482015-04-13 Luis Machado <lgustavo@codesourcery.com>
13649
13650 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13651 to write to the .text section.
13652
7578d5f7
LM
136532015-04-13 Luis Machado <lgustavo@codesourcery.com>
13654
13655 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13656 Handle the case of targets that do not provide PID information.
13657
2efe15c4
YQ
136582015-04-13 Yao Qi <yao.qi@linaro.org>
13659
13660 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13661 and use expect instead of gdb_expect.
13662
8cd8f2f8
SDJ
136632015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13664
13665 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13666 "coredump_var_addr" to avoid naming conflict with other testcases.
13667
9ee41772
PA
136682015-04-10 Pedro Alves <palves@redhat.com>
13669
13670 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13671 gdb_test_sequence and gdb_assert.
13672
07473109
PA
136732015-04-10 Pedro Alves <palves@redhat.com>
13674
13675 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13676 test messages that don't include the breakpoint address.
13677
de3db44c
YQ
136782015-04-10 Yao Qi <yao.qi@linaro.org>
13679
13680 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13681 false for some offset and width combinations which aren't
13682 supported by linux kernel.
13683
c79d856c
PA
136842015-04-10 Pedro Alves <palves@redhat.com>
13685
13686 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13687 procedure, factored out from ...
13688 (top level): ... here. Add "set displaced-stepping" testing axis.
13689 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13690 parameter "displaced". Use it.
13691 (top level): Use foreach and add "set displaced-stepping" testing
13692 axis.
13693
ebc90b50
PA
136942015-04-10 Pedro Alves <palves@redhat.com>
13695
13696 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13697 Remove comment.
13698 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13699 both the address of the instruction that triggers the watchpoint
13700 and the address of the instruction immediately after, and use
13701 those addresses for the test. Fix comment.
13702
8f572e5c
PA
137032015-04-10 Pedro Alves <palves@redhat.com>
13704
13705 * gdb.base/sigstep.exp (breakpoint_to_handler)
13706 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13707 Test "backtrace" in handler.
13708 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13709 (top level): Add new "displaced" test axis to
13710 breakpoint_to_handler, breakpoint_to_handler_entry and
13711 breakpoint_over_handler.
13712
8d707a12
PA
137132015-04-10 Pedro Alves <palves@redhat.com>
13714
13715 PR gdb/18216
13716 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13717
ef713951
YQ
137182015-04-10 Yao Qi <yao.qi@linaro.org>
13719
13720 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13721 (test_add_rn_pc): New function.
13722 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13723 (top level): Invoke test_add_rn_pc.
13724
906d60cf
PA
137252015-04-10 Pedro Alves <palves@redhat.com>
13726
13727 PR gdb/13858
13728 * gdb.base/step-over-no-symbols.exp: New file.
13729
f2983cc3
AW
137302015-04-09 Andy Wingo <wingo@igalia.com>
13731
13732 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13733 after the Python tests.
13734
6d62641c
SDJ
137352015-04-08 Keith Seitz <keiths@redhat.com>
13736
13737 PR python/16699
13738 * gdb.python/py-completion.exp: New tests for completion.
13739 * gdb.python/py-completion.py (CompleteLimit1): New class.
13740 (CompleteLimit2): Likewise.
13741 (CompleteLimit3): Likewise.
13742 (CompleteLimit4): Likewise.
13743 (CompleteLimit5): Likewise.
13744 (CompleteLimit6): Likewise.
13745 (CompleteLimit7): Likewise.
13746
f3770638
PA
137472015-04-08 Pedro Alves <palves@redhat.com>
13748
13749 PR gdb/18214
13750 PR gdb/18216
13751 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13752 function.
13753 (main): Install it as SIGUSR1 handler.
13754 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13755 parameter. Always use "setup" as prefix. Toggle "set
13756 displaced-stepping" off/on depending on global. Don't switch to
13757 thread 1 here.
13758 (top level): Add displaced stepping "off/on" test axis. Update
13759 "setup" calls. Wrap each subtest with with_test_prefix. Test
13760 continuing with a queued signal in each thread.
13761
4496bed7
PA
137622015-04-08 Pedro Alves <palves@redhat.com>
13763
13764 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13765 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13766 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13767 Return early if running to main fails.
13768 * gdb.trace/while-stepping.exp: Likewise.
13769
b97fde92
PA
137702015-04-07 Pedro Alves <palves@redhat.com>
13771
13772 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13773 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13774 interact with inferior program.
13775
f71c18e7
PA
137762015-04-07 Pedro Alves <palves@redhat.com>
13777
13778 * lib/gdb.exp (inferior_spawn_id): New global.
13779 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13780 spawn id after processing the user code.
13781 (default_gdb_start): Set inferior_spawn_id.
13782 (send_inferior): New procedure.
13783 * lib/gdbserver-support.exp (gdbserver_start): Set
13784 inferior_spawn_id.
13785 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13786
6423214f
PA
137872015-04-07 Pedro Alves <palves@redhat.com>
13788
13789 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13790 * lib/gdbserver-support.exp (gdbserver_start): Make
13791 $server_spawn_id global.
13792 (gdbserver_start): Don't wait for gdbserver's spawn id with
13793 expect_background.
13794 (close_gdbserver): New procedure.
13795 (gdb_exit): Rename the default version and reimplement.
13796
71c0ee8c
PA
137972015-04-07 Pedro Alves <palves@redhat.com>
13798
72f4393d 13799 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
13800 append the substituted item, not the original item.
13801
203bc29b
PA
138022015-04-07 Pedro Alves <palves@redhat.com>
13803
13804 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13805 gdb_expect.
13806
508a3ddf
PA
138072015-04-07 Pedro Alves <palves@redhat.com>
13808
13809 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13810 output appearing once only.
13811
9f6dbe2b
PA
138122015-04-07 Pedro Alves <palves@redhat.com>
13813
13814 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13815 that doesn't expect anything. Return early if running to main
13816 fails.
13817
337532fa
YQ
138182015-04-07 Yao Qi <yao.qi@linaro.org>
13819
13820 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13821 (child_function): Call alarm.
13822 (main): Move call to alarm into the loop.
13823 * gdb.threads/non-stop-fair-events.exp: Build program with
13824 -DTIMEOUT=$timeout.
13825
01b622d4
DE
138262015-04-06 Doug Evans <xdje42@gmail.com>
13827
13828 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13829 Fix dest parameter to board_info.
13830 (fpc_compile): Ditto.
13831 (gdb_compile_pascal): Rename dest arg to destfile.
13832
961f4160
PMR
138332015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13834
13835 * gdb.ada/funcall_ref.exp: New file.
13836 * gdb.ada/funcall_ref/foo.adb: New file.
13837
cafda597
YQ
138382015-04-02 Yao Qi <yao.qi@linaro.org>
13839
13840 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13841 is remote.
13842
fed040c6
GB
138432015-04-02 Gary Benson <gbenson@redhat.com>
13844
13845 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13846
d11916aa
SS
138472015-04-01 Sasha Smundak <asmundak@google.com>
13848
13849 * gdb.python/py-unwind-maint.c: New file.
13850 * gdb.python/py-unwind-maint.exp: New test.
13851 * gdb.python/py-unwind-maint.py: New file.
13852 * gdb.python/py-unwind.c: New file.
13853 * gdb.python/py-unwind.exp: New test.
13854 * gdb.python/py-unwind.py: New test.
13855
a1471180
PA
138562015-04-01 Pedro Alves <palves@redhat.com>
13857
13858 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13859 to fail instead of non-existent $test.
13860
0bbeccb1
PA
138612015-04-01 Pedro Alves <palves@redhat.com>
13862
13863 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13864 GDBFLAGS if not empty.
13865
3c724c8c
PMR
138662015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13867
13868 * gdb.ada/complete.exp: Remove "multi_line".
13869 * gdb.ada/info_exc.exp: Remove "multi_line".
13870 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13871 * gdb.ada/ptype_field.exp: Remove "multi_line".
13872 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13873 * gdb.ada/tagged.exp: Remove "multi_line".
13874 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13875 [multi_line ...]
13876 * gdb.btrace/delta.exp: Likewise.
13877 * gdb.btrace/exception.exp: Likewise.
13878 * gdb.btrace/function_call_history.exp: Likewise.
13879 * gdb.btrace/instruction_history.exp: Likewise.
13880 * gdb.btrace/nohist.exp: Likewise.
13881 * gdb.btrace/record_goto.exp: Likewise.
13882 * gdb.btrace/segv.exp: Likewise.
13883 * gdb.btrace/stepi.exp: Likewise.
13884 * gdb.btrace/tailcall.exp: Likewise.
13885 * gdb.btrace/unknown_functions.exp: Likewise.
13886 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13887 * lib/gdb.exp: Add the "multi_line" helper.
13888
4eec2deb
PA
138892015-04-01 Pedro Alves <palves@redhat.com>
13890
13891 * gdb.threads/tid-reuse.c: New file.
13892 * gdb.threads/tid-reuse.exp: New file.
13893
df8411da
SDJ
138942015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13895
13896 PR corefiles/16092
13897 * gdb.base/coredump-filter.c: New file.
13898 * gdb.base/coredump-filter.exp: Likewise.
13899
6ef37366
PM
139002015-03-27 Petr Machata <pmachata@redhat.com>
13901
13902 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13903 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13904 (Dwarf::assemble): Initialize them.
13905 (Dwarf::lines): New function.
13906
7ec911b0
JT
139072015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13908
13909 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13910 SYMBOL_PREFIX for x86_64-*-cygwin.
13911
ff908ebf
AW
139122015-03-26 Andy Wingo <wingo@igalia.com>
13913
13914 PR symtab/18148
13915 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13916 const_value but not a location.
13917 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13918 location defined in non-main CUs are visible.
13919
6d5f0679
YQ
139202015-03-26 Yao Qi <yao.qi@linaro.org>
13921
13922 PR testsuite/18139
13923 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13924 Add a line number entry for the same line.
13925 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13926 Add a line number entry for the same line.
13927
2898689b
YQ
139282015-03-26 Yao Qi <yao.qi@linaro.org>
13929
13930 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13931 .int 0.
13932 (func): Likewise. Add .Lfunc_1 label.
13933 Use .Lfunc_1 label.
13934 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13935 .int 0.
13936 (func): Likewise.
13937 Use .Lfunc_1 label.
13938
85180498
YQ
139392015-03-26 Yao Qi <yao.qi@linaro.org>
13940
13941 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13942 Call gdb_compile instead to compile each .s files without debug
13943 information.
13944
8aa08a8d
YQ
139452015-03-26 Yao Qi <yao.qi@linaro.org>
13946
13947 * gdb.base/savedregs.exp (process_saved_regs): Make
13948 "Saved registers:" optional in the pattern.
13949
66849923
MM
139502015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13951
13952 * gdb.btrace/next.exp: Merged into step.exp.
13953 * gdb.btrace/finish.exp: Merged into step.exp.
13954 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13955 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13956 "record goto" and checking the exact replay position.
13957 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13958 check for "Recording format" in "info record" output.
13959 * gdb.btrace/record_goto.exp: Choose test file based on target.
13960 * gdb.btrace/x86-record_goto.S: Renamed into ...
13961 * gdb.btrace/x86_64-record_goto.S: ... this.
13962 * gdb.btrace/i686-record_goto.S: New.
13963 * gdb.btrace/x86-tailcall.S: Renamed into ...
13964 * gdb.btrace/x86_64-tailcall.S: ... this.
13965 * gdb.btrace/i686-tailcall.S: New.
13966 * gdb.btrace/x86-tailcall.c: Renamed into ...
13967 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13968 separate statements. Update test.
13969 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13970 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13971 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13972 * gdb.btrace/tailcall.exp: Choose test file based on target.
13973 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13974
11cc1b74
MM
139752015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13976
13977 * gdb.btrace/exception.exp: Increase BTS buffer size.
13978
a25d8bf9
PA
139792015-03-24 Pedro Alves <palves@redhat.com>
13980
13981 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13982
856e7dd6
PA
139832015-03-24 Pedro Alves <palves@redhat.com>
13984
13985 * gdb.threads/schedlock.exp (test_step): No longer expect that
13986 "set scheduler-locking step" with "next" over a function call runs
13987 threads unlocked.
13988
ad235a41
AT
139892015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13990
13991 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13992
15630549
AT
139932015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13994
13995 PR breakpoints/16466
13996 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13997 * gdb.mi/mi-pending.c (thread_func): New function.
13998 (int main): Add threading support required.
13999 * gdb.mi/mi-pending.exp: Add tests for this issue.
14000 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14001 (pendfunc2): Remove stdio dependency.
14002 * gdb.mi/mi-pendshr2.c: New file.
14003
693dca06
KS
140042015-03-23 Keith Seitz <keiths@redhat.com>
14005
14006 * gdb.linespec/keywords.c: New file.
14007 * gdb.linespec/keywords.exp: New file.
14008
7e993ebf
KS
140092015-03-23 Keith Seitz <keiths@redhat.com>
14010
14011 PR gdb/18021
14012 * gdb.dwarf2/staticvirtual.exp: New test.
14013
bc23328c
JK
140142015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14015
14016 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14017 * README: Remove HP-UX and gdb.hp.
14018 (configuration):
14019 * configure: Regenerate.
14020 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14021 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14022 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14023 gdb.hp/gdb.defects/Makefile.
14024 * gdb.hp/Makefile.in: File deleted.
14025 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14026 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14027 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14028 * gdb.hp/gdb.aCC/run.c: File deleted.
14029 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14030 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14031 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14032 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14033 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14034 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14035 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14036 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14037 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14038 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14039 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14040 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14041 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14042 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14043 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14044 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14045 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14046 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14047 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14048 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14049 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14050 * gdb.hp/gdb.compat/average.c: File deleted.
14051 * gdb.hp/gdb.compat/sum.c: File deleted.
14052 * gdb.hp/gdb.compat/xdb.c: File deleted.
14053 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14054 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14055 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14056 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14057 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14058 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14059 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14060 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14061 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14062 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14063 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14064 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14065 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14066 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14067 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14068 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14069 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14070 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14071 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14072 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14073 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14074 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14075 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14076 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14077 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14078 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14079 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14080 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14081 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14082 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14083 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14084 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14085 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14086 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14087 * gdb.hp/tools/odump: File deleted.
14088
8bf3b159
PA
140892015-03-19 Pedro Alves <palves@redhat.com>
14090
14091 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14092 (saw_thread_3): New globals.
14093 (top level): Increment them when an event for the corresponding
14094 thread is seen.
14095 (no thread starvation): New test.
14096
eb54c8bf
PA
140972015-03-19 Pedro Alves <palves@redhat.com>
14098
14099 * gdb.threads/continue-pending-status.c: New file.
14100 * gdb.threads/continue-pending-status.exp: New file.
14101
32d2e5d6
PA
141022015-03-18 Pedro Alves <palves@redhat.com>
14103
14104 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14105 Use gdb_is_target_remote instead of is_remote. Use
14106 gdb_test_multiple instead of gdb_expect. Exit early if
14107 gdb_test_multiple hits its internal matches. Tighten stepi tests
14108 expected output. Fail on exit with any signal, instead of just
14109 SIGILL.
14110
f68f11b7
YQ
141112015-03-18 Yao Qi <yao.qi@linaro.org>
14112
14113 PR tdep/18107
14114 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14115 variable.
14116 * gdb.base/catch-syscall.exp: Don't skip it on
14117 aarch64*-*-linux* target. Remove elements in all_syscalls.
14118 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14119 target.
14120 (setup_all_syscalls): New proc.
14121
ca5fd19b
YQ
141222015-03-16 Yao Qi <yao.qi@linaro.org>
14123
14124 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14125 (top level): Skip tests if valid_addr_p returns false for
14126 $cmd1 or $cmd2.
14127
85642ba0
AW
141282015-03-11 Andy Wingo <wingo@igalia.com>
14129
14130 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14131
e03f9645
YQ
141322015-03-11 Yao Qi <yao.qi@linaro.org>
14133
14134 * gdb.base/catch-syscall.exp: Fix typo in comments.
14135
5d0962b2
YQ
141362015-03-11 Yao Qi <yao.qi@linaro.org>
14137
14138 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14139
b2df3cef
PA
141402015-03-09 Pedro Alves <palves@redhat.com>
14141
14142 * dg-extract-results.py: Delete.
14143
ef878e53
PA
141442015-03-09 Pedro Alves <palves@redhat.com>
14145
14146 Merge dg-extract-results.sh from GCC upstream (r218843).
14147
14148 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14149 * dg-extract-results.sh: Use --text with grep to avoid issues with
14150 binary files. Fall back to cat -v, if that doesn't work.
14151
9494d219
PA
141522015-03-05 Pedro Alves <palves@redhat.com>
14153
14154 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14155
a8d9763a
SM
141562015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14157
14158 * lib/mi-support.exp (mi_expect_interrupt): Accept
14159 alternative event for when in all-stop mode.
14160
be9957b8
PA
141612015-03-04 Pedro Alves <palves@redhat.com>
14162
14163 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14164
d57be0f4 141652015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
14166
14167 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14168
c214c7cf
AA
141692015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14170
14171 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14172 regexps for GDB's current line display, accept a hex address
14173 preceding the line number.
14174
6d74a497
AA
141752015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14176
14177 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14178 the 'arch1' variable for "s390*-linux*" targets.
14179
511aee7c
PA
141802015-03-04 Pedro Alves <palves@redhat.com>
14181
14182 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14183 (main): Pass missing retval argument to pthread_join call.
14184
95e50b27
PA
141852015-03-02 Pedro Alves <palves@redhat.com>
14186
14187 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14188 (top level): Call do_test with non-stop as well.
14189
28054d69
PA
141902015-03-02 Pedro Alves <palves@redhat.com>
14191
14192 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14193 -1.
14194
4fa5d7b4
AA
141952015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14196
14197 * gdb.arch/s390-vregs.exp: New test.
14198 * gdb.arch/s390-vregs.S: New file.
14199
97c18565
PA
142002015-02-27 Pedro Alves <palves@redhat.com>
14201
14202 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14203 call to catch_command_errors.
14204 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14205 catch_command_errors.
14206
a37bfa30
PA
142072015-02-27 Pedro Alves <palves@redhat.com>
14208
14209 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14210 "true" for boolean result.
14211 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14212 prototype of main.
14213
6f98576f
PA
142142015-02-27 Pedro Alves <palves@redhat.com>
14215
14216 * lib/unbuffer_output.c: New file.
14217 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14218 (main): Call gdb_unbuffer_output.
14219
eba5ab56
YQ
142202015-02-27 Yao Qi <yao.qi@linaro.org>
14221
14222 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14223 target.
14224
0def5aaa
DE
142252015-02-26 Doug Evans <dje@google.com>
14226
14227 * gdb.cp/class2.cc (Dbase, D): New classes.
14228 (main): New local delta.
14229 * gdb.cp/class2.exp: Test printing delta.
14230 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14231 (dynbar): New global.
14232 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14233
081a1c2c
JK
142342015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14235
14236 * gdb.compile/compile-ifunc.c: New file.
14237 * gdb.compile/compile-ifunc.exp: New file.
14238
2f41223f
AT
142392015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14240
14241 * gdb.base/structs.exp: Check for correct struct on finish.
14242
03eddd80
YQ
142432015-02-26 Yao Qi <yao.qi@linaro.org>
14244
14245 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14246 is zero.
14247
80c57053
JK
142482015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14249
14250 * gdb.arch/cordic.ko.bz2: New file.
14251 * gdb.arch/cordic.ko.debug.bz2: New file.
14252 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14253
21613c12
YQ
142542015-02-25 Yao Qi <yao.qi@linaro.org>
14255
14256 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14257 aarch64*-*-* target.
14258
d8b901ed
PA
142592015-02-23 Pedro Alves <palves@redhat.com>
14260
14261 * lib/gdb.exp (delete_breakpoints): Rewrite using
14262 gdb_test_multiple.
14263
e5b85ead
PA
142642015-02-23 Pedro Alves <palves@redhat.com>
14265
14266 * gdb.base/info-os.c: Include stdlib.h.
14267
85c3a371
DE
142682015-02-22 Doug Evans <xdje42@gmail.com>
14269
14270 PR symtab/17855
14271 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14272 is read after symbols have been re-read.
14273 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14274 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14275
96553a0c
DE
142762015-02-21 Doug Evans <dje@google.com>
14277
14278 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14279
97a0c697
JK
142802015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14281
14282 PR corefiles/17808
14283 * gdb.arch/i386-biarch-core.core.bz2: New file.
14284 * gdb.arch/i386-biarch-core.exp: New file.
14285
a47cd6e9
PA
142862015-02-21 Pedro Alves <palves@redhat.com>
14287
14288 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14289 runto_main fails.
14290
c5facdc4
PA
142912015-02-20 Pedro Alves <palves@redhat.com>
14292
14293 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14294 info probes.
14295
2db9a427
PA
142962015-02-20 Pedro Alves <palves@redhat.com>
14297
14298 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14299
60fb7e9e
PA
143002015-02-20 Pedro Alves <palves@redhat.com>
14301
14302 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14303 clean_restart before gdb_target_supports_trace.
14304
5c5019c2
PA
143052015-02-20 Pedro Alves <palves@redhat.com>
14306
14307 PR threads/18006
14308 * gdb.threads/clone-thread_db.c: New file.
14309 * gdb.threads/clone-thread_db.exp: New file.
14310
c9587f88
AT
143112015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14312
14313 PR breakpoints/16812
14314 * gdb.base/catch-gdb-caused-signals.c: New file.
14315 * gdb.base/catch-gdb-caused-signals.exp: New file.
14316
f6a88844
JM
143172015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14318
14319 * configure: Regenerated.
14320 * configure.ac: Use GDB_AC_TRANSFORM.
14321 * aclocal.m4: sinclude ../transform.m4.
14322
497c491b
JM
143232015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14324
14325 * lib/dtrace.exp: New file.
14326 * gdb.base/dtrace-probe.exp: Likewise.
14327 * gdb.base/dtrace-probe.d: Likewise.
14328 * gdb.base/dtrace-probe.c: Likewise.
14329 * lib/pdtrace.in: Likewise.
14330 * configure.ac: Output variables with the transformed names of
14331 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14332 * configure: Regenerated.
14333
03e98035
JM
143342015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14335
14336 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14337 expected message when trying to access $_probe_* convenience
14338 variables while not on a probe.
14339
63cc30e9
JK
143402015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14341
14342 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14343
0703599a
PA
143442015-02-11 Pedro Alves <pedro@codesourcery.com>
14345
14346 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14347 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14348
7e60a48e
DE
143492015-02-10 Doug Evans <xdje42@gmail.com>
14350
14351 * lib/gdb.exp (gdb_load): Always return a result.
14352
01b088bc
PA
143532015-02-10 Pedro Alves <palves@redhat.com>
14354
14355 * gdb.threads/signal-sigtrap.c: New file.
14356 * gdb.threads/signal-sigtrap.exp: New file.
14357
b05ec7a5
AT
143582015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14359
14360 * gdb.trace/no-attach-trace.c: New file.
14361 * gdb.trace/no-attach-trace.exp: New file.
14362
a2c2acaf
MW
143632015-02-09 Mark Wielaard <mjw@redhat.com>
14364
14365 * gdb.dwarf2/atomic.c: New file.
14366 * gdb.dwarf2/atomic-type.exp: Likewise.
14367
31fd9caa
MM
143682015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14369
14370 * gdb.btrace/buffer-size.exp: Update "info record" output.
14371 * gdb.btrace/delta.exp: Update "info record" output.
14372 * gdb.btrace/enable.exp: Update "info record" output.
14373 * gdb.btrace/finish.exp: Update "info record" output.
14374 * gdb.btrace/instruction_history.exp: Update "info record" output.
14375 * gdb.btrace/next.exp: Update "info record" output.
14376 * gdb.btrace/nexti.exp: Update "info record" output.
14377 * gdb.btrace/step.exp: Update "info record" output.
14378 * gdb.btrace/stepi.exp: Update "info record" output.
14379 * gdb.btrace/nohist.exp: Update "info record" output.
14380
d33501a5
MM
143812015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14382
14383 * gdb.btrace/buffer-size: New.
14384
f4abbc16
MM
143852015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14386
14387 * gdb.btrace/delta.exp: Update "info record" output.
14388 * gdb.btrace/enable.exp: Update "info record" output.
14389 * gdb.btrace/finish.exp: Update "info record" output.
14390 * gdb.btrace/instruction_history.exp: Update "info record" output.
14391 * gdb.btrace/next.exp: Update "info record" output.
14392 * gdb.btrace/nexti.exp: Update "info record" output.
14393 * gdb.btrace/step.exp: Update "info record" output.
14394 * gdb.btrace/stepi.exp: Update "info record" output.
14395 * gdb.btrace/nohist.exp: Update "info record" output.
14396
b9d61307
SM
143972015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14398
14399 PR gdb/15678
14400 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14401
e584fdbc
PA
144022015-02-06 Pedro Alves <palves@redhat.com>
14403
14404 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14405 macro.
14406 (seconds_left, again): New globals.
14407 (main): Wait seconds_left in a 1-second sleep loop instead of
14408 sleeping 180 seconds. If 'again' is set, reset the seconds
14409 counter.
14410 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14411 'again' in the inferior before detaching. Print the seconds left.
14412 (options): New global.
14413 (top level): Build program with -DTIMEOUT=$timeout.
14414
77f41761
PA
144152015-02-06 Pedro Alves <palves@redhat.com>
14416
14417 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14418 determine how many seconds to pass to 'alarm'.
14419 * gdb.base/gdb-sigterm.exp (top level): Build program with
14420 -DTIMEOUT=$timeout.
14421 (do_test): Return success/failure indication. Add more verbose
14422 logging. Don't fail if 200 single steps are seen. Instead, fail
14423 when the test times out.
14424 (passes): New global.
14425 (top level): Break the testing loop if testing fails on any
14426 iteration. Use gdb_assert.
14427
b9394193
DB
144282015-02-04 Don Breazeal <donb@codesourcery.com>
14429
14430 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14431 and initialize them.
14432 (ipc_cleanup): New function.
14433 (main): Don't declare shmid, semid, and msqid. Add a call to
14434 atexit so that we call ipc_cleanup on exit.
14435
42d9e528
PA
144362015-02-04 Pedro Alves <palves@redhat.com>
14437
14438 * boards/native-extended-gdbserver.exp: Remove any target variant
14439 specifications from the board name before clearing the isremote
14440 flag from board_info.
14441
ae6ae975
DE
144422015-01-31 Doug Evans <xdje42@gmail.com>
14443
14444 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14445
cfb069a8
GB
144462015-01-31 Gary Benson <gbenson@redhat.com>
14447
14448 * gdb.base/completion.exp: Disable completion limiting for
14449 existing tests. Add new tests to check completion limiting.
14450 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14451
5dd31d79
DE
144522015-01-31 Doug Evans <xdje42@gmail.com>
14453
14454 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14455
9f050062
DE
144562015-01-31 Doug Evans <xdje42@gmail.com>
14457
14458 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14459 entries. Duplicate file section script entries.
14460 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14461 inlined entries. Add test for safe-path rejection.
14462 * gdb.python/py-section-script.c: Add duplicate inlined section script
14463 entries. Duplicate file section script entries.
14464 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14465 inlined entries. Add test for safe-path rejection.
14466
df25ebbd
JB
144672015-01-29 Joel Brobecker <brobecker@adacore.com>
14468
14469 * gdb.ada/disc_arr_bound: New testcase.
14470
4a0ca9ec
JB
144712015-01-29 Joel Brobecker <brobecker@adacore.com>
14472
14473 * gdb.ada/mi_var_array: New testcase.
14474
3a8b707a
DE
144752015-01-27 Doug Evans <dje@google.com>
14476
14477 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14478 Add test for objfile.filename, objfile.username after objfile
14479 has been unloaded.
14480
f8313f6e
JB
144812015-01-26 Joel Brobecker <brobecker@adacore.com>
14482
14483 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14484 the second test to print the name attribute of value
14485 returned by the call to gdb.lookup_type, and adjust
14486 the expected output accordingly.
14487
37bc665e
MW
144882015-01-25 Mark Wielaard <mjw@redhat.com>
14489
14490 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14491 * gdb.base/disp-step-fork.c: Include unistd.h.
14492 * gdb.base/siginfo-obj.c: Include stdio.h.
14493 * gdb.base/siginfo-thread.c: Likewise.
14494 * gdb.mi/non-stop.c: Include unistd.h.
14495 * gdb.mi/nsthrexec.c: Include stdio.h.
14496 * gdb.mi/pthreads.c: Include unistd.h.
14497 * gdb.modula2/unbounded1.c (main): Declare returns int.
14498 * gdb.reverse/consecutive-reverse.c: Likewise.
14499 * gdb.threads/create-fail.c: Include unistd.h.
14500 * gdb.threads/killed.c: Likewise.
14501 * gdb.threads/linux-dp.c: Likewise.
14502 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14503 * gdb.threads/non-ldr-exc-2.c: Likewise.
14504 * gdb.threads/non-ldr-exc-3.c: Likewise.
14505 * gdb.threads/non-ldr-exc-4.c: Likewise.
14506 * gdb.threads/pthreads.c: Include unistd.h.
14507 (main): Declare returns int.
14508 * gdb.threads/tls-main.c (foo): New declaration.
14509 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14510
f7e5394d
SM
145112015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14512
14513 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14514 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14515
743649fd
MW
145162015-01-15 Mark Wielaard <mjw@redhat.com>
14517
14518 * gdb.base/noreturn-return.c: New file.
14519 * gdb.base/noreturn-return.exp: New file.
14520 * gdb.base/noreturn-finish.c: New file.
14521 * gdb.base/noreturn-finish.exp: New file.
14522
198297aa
PA
145232015-01-23 Pedro Alves <palves@redhat.com>
14524
14525 * gdb.threads/continue-pending-after-query.c: New file.
14526 * gdb.threads/continue-pending-after-query.exp: New file.
14527
717cf30c
AG
145282015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14529 Simon Marchi <simon.marchi@ericsson.com>
14530
14531 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14532 * gdb.base/valgrind-db-attach.exp: Same.
14533 * gdb.base/valgrind-infcall.exp: Same.
14534 * lib/mi-support.exp (default_mi_gdb_start): Same.
14535 * lib/prompt.exp (default_prompt_gdb_start): Same.
14536 * lib/gdb.exp (default_gdb_spawn): Same.
14537 (gdb_interact): New.
14538
14539
4b62a76e
JK
145402015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14541
14542 * gdb.compile/compile.exp (pointer to jit function): New test.
14543
b4cdae6f
WW
145442015-01-17 Wei-cheng Wang <cole945@gmail.com>
14545
14546 * lib/gdb.exp (supports_process_record): Return true for
14547 powerpc*-*-linux*.
14548 (supports_reverse): Likewise.
14549
d221e7ef
DB
145502015-01-15 Don Breazeal <donb@codesourcery.com>
14551
14552 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14553 instead of checking whether the target board is remote and
14554 use spawn_wait_for_attach instead of exec/sleep.
14555 * gdb.base/attach-twice.exp: Likewise.
14556
bafffb51
JB
145572015-01-15 Joel Brobecker <brobecker@adacore.com>
14558
14559 * gdb.ada/var_arr_attrs: New testcase.
14560
5589af0e
PA
145612015-01-14 Pedro Alves <palves@redhat.com>
14562 Joel Brobecker <brobecker@adacore.com>
14563
14564 PR gdb/17525
14565 * gdb.base/bp-cmds-execution-x-script.c: New file.
14566 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14567 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14568
6c400b59
PA
145692015-01-14 Pedro Alves <palves@redhat.com>
14570
14571 PR cli/17828
14572 * gdb.base/batch-preserve-term-settings.c: New file.
14573 * gdb.base/batch-preserve-term-settings.exp: New file.
14574
e02c96a7
DE
145752015-01-13 Doug Evans <dje@google.com>
14576
14577 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14578 binary.
14579
576fd14c
JB
145802015-01-13 Joel Brobecker <brobecker@adacore.com>
14581
14582 * Makefile.in (clean mostlyclean): Do not delete *.py.
14583
04dccad0
JB
145842015-01-13 Joel Brobecker <brobecker@adacore.com>
14585
14586 * gdb.python/py-lookup-type.exp: New file.
14587
3d230f71
PA
145882015-01-12 Pedro Alves <palves@redhat.com>
14589
14590 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14591 restore GDBFLAGS before returning.
14592
7e67715d
JK
145932015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14594
14595 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14596 is_amd64_regs_target and is_x86_like_target.
14597
f2e0d4b4
DE
145982015-01-11 Doug Evans <xdje42@gmail.com>
14599
14600 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14601 is given without an explicit form.
14602 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14603 attributes.
14604 * gdb.dwarf/corrupt.exp: Ditto.
14605 * gdb.dwarf2/enum-type.exp: Ditto.
14606 * gdb.trace/entry-values.exp: Ditto.
14607 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14608
439250fb
DE
146092015-01-11 Doug Evans <xdje42@gmail.com>
14610
14611 PR gdb/15830
14612 * gdb.base/maint.exp: Remove references to "maint demangle".
14613 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14614 Add tests for explicitly specifying language to demangle.
14615 * gdb.dlang/demangle.exp: Ditto.
14616
ede9f622
PA
146172015-01-09 Pedro Alves <palves@redhat.com>
14618
14619 * gdb.threads/non-stop-fair-events.c: New file.
14620 * gdb.threads/non-stop-fair-events.exp: New file.
14621
a7b796db
PA
146222015-01-09 Pedro Alves <palves@redhat.com>
14623
14624 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14625 the global scope. Set a breakpoint after all threads are started
14626 rather than stepping over two source lines. Expect the prompt.
14627 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14628 global.
14629 (NUM): Now 15.
14630 (main): Use threads_started_barrier to wait for all threads to
14631 start. Main thread no longer calls thread_function. Exit after
14632 180 seconds.
14633 (loop): New function.
14634 (thread_function): Wait on threads_started_barrier barrier. Call
14635 'loop' at each iteration.
14636 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14637 threads have started, instead of hardcoding number of "next"
14638 steps. Use an access watchpoint instead of a write watchpoint.
14639
9665ffdd
PA
146402015-01-09 Pedro Alves <palves@redhat.com>
14641
14642 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14643 (thread_func): Wait on barrier.
14644 (main): Wait for all threads to start before stopping GDB.
14645 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14646 global.
14647 (thread1_func, thread2_func): Wait on barrier.
14648 (main): Wait for all threads to start before stopping GDB.
14649 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14650 New global.
14651 (thread1_func, thread2_func): Wait on barrier.
14652 (main): Wait for all threads to start before stopping GDB.
14653
c945a99f
PA
146542015-01-09 Pedro Alves <palves@redhat.com>
14655
14656 * gdb.threads/attach-many-short-lived-threads.c: New file.
14657 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14658
c1a747c1
PA
146592014-01-09 Pedro Alves <palves@redhat.com>
14660
14661 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14662 instead of to thread 2.
14663 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14664 Add barrier around each pthread_create call instead of around all
14665 calls.
14666 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14667 Set a break on thread_function and have the child threads hit it
14668 one at at a time.
14669
60b3033e
PA
146702015-01-09 Pedro Alves <palves@redhat.com>
14671
14672 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14673 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14674 false.
14675 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14676 checking whether the target board is remote.
14677 * gdb.multi/multi-attach.exp: Likewise.
14678 * gdb.python/py-sync-interp.exp: Likewise.
14679 * gdb.server/ext-attach.exp: Likewise.
14680 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14681 tests that need to attach, instead of checking whether the target
14682 board is remote at the top of the file.
14683
acc018ac
YQ
146842015-01-08 Yao Qi <yao@codesourcery.com>
14685
14686 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14687
50a18af8
JK
146882015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14689
14690 Fix testcase compilation.
14691 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14692
8503d6e1
JB
146932015-01-06 Joel Brobecker <brobecker@adacore.com>
14694
14695 * gdb.python/py-type.exp: Add a couple test about empty
14696 array creation, and negative-length array creation.
14697
cc73dbcc
DE
146982015-01-02 Doug Evans <xdje42@gmail.com>
14699
14700 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14701
0300bbc7
DE
147022015-01-02 Doug Evans <dje@google.com>
14703
14704 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14705
9d85a0ec
YQ
147062014-12-29 Yao Qi <yao@codesourcery.com>
14707
14708 * gdb.trace/entry-values.exp: Update comments. Rename variable
14709 bar_call_foo to returned_from_foo.
14710
87186c6a
MMN
147112014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14712
14713 PR gdb/17394
14714 * gdb.linespec/break-asm-file.c: New file.
14715 * gdb.linespec/break-asm-file.exp: New file.
14716 * gdb.linespec/break-asm-file0.s: New file.
14717 * gdb.linespec/break-asm-file1.s: New file.
14718
1bab7383
YQ
147192014-12-18 Nigel Stephens <nigel@mips.com>
14720 Maciej W. Rozycki <macro@codesourcery.com>
14721
14722 * gdb.base/float.exp: Handle the new output from "info float" on
14723 MIPS targets.
14724
1bc1068a
JK
147252014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14726
14727 Fix MinGW compilation.
14728 * gdb.compile/compile-ops.exp: Update untested message if
14729 !skip_compile_feature_tests.
14730 * gdb.compile/compile-setjmp.exp: Likewise.
14731 * gdb.compile/compile-tls.exp: Likewise.
14732 * gdb.compile/compile.exp: Likewise.
14733 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14734 supported on this host".
14735
b6615d10
DE
147362014-12-16 Doug Evans <xdje42@gmail.com>
14737
14738 * boards/stabs.exp: New file.
14739
25dda427
AA
147402014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14741
14742 * gdb.base/completion.exp: Adjust to format changes of "maint
14743 print user-registers".
14744
bf330350
CU
147452014-12-16 Catalin Udma <catalin.udma@freescale.com>
14746
14747 PR server/17457
14748 * gdb.arch/aarch64-fp.c: New file.
14749 * gdb.arch/aarch64-fp.exp: New file.
14750
395cf596
SDJ
147512014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14752
14753 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14754 r210637, r210913, r211666, r215400, r215817).
14755
14756 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14757 * dg-extract-results.py: New file.
14758 * dg-extract-results.sh: Use it if the environment seems
14759 suitable.
14760
14761 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14762
14763 * dg-extract-results.py (parse_run): Handle warnings that
14764 are printed before a test harness is run.
14765
14766 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14767
14768 * dg-extract-results.py (Named): Remove __cmp__ method.
14769 (output_variation): Use a key to sort variation.harnesses.
14770
14771 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14772
14773 * dg-extract-results.py: For Python 3, force sys.stdout to
14774 handle surrogate escape sequences.
14775 (safe_open): New function.
14776 (output_segment, main): Use it.
14777
14778 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14779
14780 * dg-extract-results.py (Prog.result_re): Include options
14781 in test name.
14782
14783 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14784
14785 * dg-extract-results.py (output_variation): Always sort if
14786 do_sum.
14787
e882ef3c
SM
147882014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14789
14790 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14791 as long as we get pagination notifications.
14792
4992aa20
JM
147932014-12-15 Jason Merrill <jason@redhat.com>
14794
14795 * Makefile.in (check-gdb.%): Restore.
14796 * README: Mention it.
14797
c1b5a1a6
JB
147982014-12-13 Joel Brobecker <brobecker@adacore.com>
14799
14800 * gdb.ada/str_uninit: New testcase.
14801
5537b577
JK
148022014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14803
14804 PR symtab/17642
14805 * gdb.base/vla-stub-define.c: New file.
14806 * gdb.base/vla-stub.c: New file.
14807 * gdb.base/vla-stub.exp: New file.
14808
bb2ec1b3
TT
148092014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14810 Jan Kratochvil <jan.kratochvil@redhat.com>
14811 Tom Tromey <tromey@redhat.com>
14812
14813 * configure.ac: Add gdb.compile/.
14814 * configure: Regenerate.
14815 * gdb.compile/Makefile.in: New file.
14816 * gdb.compile/compile-ops.exp: New file.
14817 * gdb.compile/compile-ops.c: New file.
14818 * gdb.compile/compile-tls.c: New file.
14819 * gdb.compile/compile-tls.exp: New file.
14820 * gdb.compile/compile-constvar.S: New file.
14821 * gdb.compile/compile-constvar.c: New file.
14822 * gdb.compile/compile-mod.c: New file.
14823 * gdb.compile/compile-nodebug.c: New file.
14824 * gdb.compile/compile-setjmp-mod.c: New file.
14825 * gdb.compile/compile-setjmp.c: New file.
14826 * gdb.compile/compile-setjmp.exp: New file.
14827 * gdb.compile/compile-shlib.c: New file.
14828 * gdb.compile/compile.c: New file.
14829 * gdb.compile/compile.exp: New file.
14830 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14831
4ff709eb
TT
148322014-12-12 Tom Tromey <tromey@redhat.com>
14833
14834 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14835 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14836
6dddd6a5
DE
148372014-12-12 Doug Evans <dje@google.com>
14838
14839 * lib/gdb-python.exp (get_python_valueof): New function.
14840 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14841
71c24708
AA
148422014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14843
14844 * gdb.base/completion.exp: Add test for completion of "info
14845 registers ".
14846
3e29f34a
MR
148472014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14848
14849 * gdb.base/func-ptrs.c: New file.
14850 * gdb.base/func-ptrs.exp: New file.
14851
fc126975
SM
148522014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14853
14854 PR breakpoints/17012
14855 * gdb.base/dprintf-detach.c: New file.
14856 * gdb.base/dprintf-detach.exp: New file.
14857
0a46d518
SM
148582014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14859
14860 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14861 * lib/gdb.exp (target_is_gdbserver): New procedure.
14862
a0be3e44
DE
148632014-12-08 Doug Evans <dje@google.com>
14864
14865 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14866
df1b803a
YQ
148672014-12-05 Yao Qi <yao@codesourcery.com>
14868
14869 * gdb.guile/scm-error.exp: Remove the third argument to
14870 gdb_remote_download.
14871 * gdb.guile/scm-frame-args.exp: Likewise.
14872 * gdb.guile/scm-section-script.exp: Likewise.
14873
ddb9f679
YQ
148742014-12-05 Yao Qi <yao@codesourcery.com>
14875
14876 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14877
86e4ed39
DE
148782014-12-04 Doug Evans <dje@google.com>
14879
14880 * gdb.python/py-objfile.exp: Add tests for
14881 objfile.add_separate_debug_file.
14882
7c50a931
DE
148832014-12-04 Doug Evans <dje@google.com>
14884
14885 * lib/gdb.exp (get_build_id): New function.
14886 (build_id_debug_filename_get): Rewrite to use it.
14887 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14888
621661e3
MR
148892014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14890
14891 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14892 `method(long)', not just 0x0.
14893 * gdb.cp/nsalias.exp: Align code labels to 4.
14894 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14895 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14896 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14897 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14898 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14899 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14900
29f0c3b7
DE
149012014-12-02 Doug Evans <dje@google.com>
14902
e1e061e7 14903 PR symtab/17602
29f0c3b7 14904 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 14905 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
14906 * gdb.cp/anon-ns.exp: Update.
14907
162078c8
NB
149082014-12-02 Nick Bull <nicholaspbull@gmail.com>
14909
14910 * gdb.python/py-events.py (inferior_call_handler): New.
14911 (register_changed_handler, memory_changed_handler): New.
14912 (test_events.invoke): Register new handlers.
14913 * gdb.python/py-events.exp: Add tests for inferior call,
14914 memory_changed and register_changed events.
14915
fdb09caf
AA
149162014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14917
14918 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14919 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14920 if the linker doesn't understand this.
14921
55cfb2c4
SM
149222014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14923
14924 * gdb.python/python.exp: Change expected reply to help().
14925
9e8cd6df
YQ
149262014-12-01 Yao Qi <yao@codesourcery.com>
14927
14928 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14929 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14930 * configure: Re-generated.
14931
6c659fc2
SC
149322014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14933
14934 * gdb.cp/chained-calls.cc: New file.
14935 * gdb.cp/chained-calls.exp: New file.
14936 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14937
d7fc3181
SM
149382014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14939
14940 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14941 * gdb.dwarf2/symtab-producer.exp: Same.
14942 * gdb.gdb/python-interrupts.exp: Same.
14943 * gdb.gdb/python-selftest.exp: Same.
14944 * gdb.python/py-linetable.exp: Same.
14945 * gdb.python/py-type.exp: Same.
14946 * gdb.python/py-value-cc.exp: Same.
14947 * gdb.python/py-value.exp: Same.
14948
10e79639
YQ
149492014-11-28 Yao Qi <yao@codesourcery.com>
14950
14951 * gdb.base/break-probes.exp: Match library name prefixed with
14952 sysroot.
14953
f28a0564
SM
149542014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14955
14956 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14957 test expected output. Add parentheses for the call to print.
14958 Remove L suffix from integers.
14959
3fe1ce1d
DE
149602014-11-26 Doug Evans <dje@google.com>
14961
14962 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14963
84429e27
YQ
149642014-11-22 Yao Qi <yao@codesourcery.com>
14965
14966 * gdb.trace/entry-values.c: Remove asms.
14967 (foo): Add foo_label.
14968 (bar): Add bar_label.
14969 * gdb.trace/entry-values.exp: Remove code computing foo's
14970 length and bar's length.
14971 (Dwarf::assemble): Invoke function_range for bar and use
14972 MACRO_AT_func for foo.
14973
26741859
YQ
149742014-11-22 Yao Qi <yao@codesourcery.com>
14975
14976 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14977 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14978 Use .Lgcc43_procstart instead of gcc43.
14979
45e44d27
JB
149802014-11-21 Joel Brobecker <brobecker@adacore.com>
14981
14982 * gdb.ada/n_arr_bound: New testcase.
14983
458c8db8
SDJ
149842014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14985
14986 PR breakpoints/10737
14987 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14988 test_catch_syscall_multi_arch.
14989 (test_catch_syscall_multi_arch): New function.
14990
43f3e411
DE
149912014-11-20 Doug Evans <xdje42@gmail.com>
14992
14993 * gdb.base/maint.exp: Update expected output.
14994
0d7b2549
AA
149952014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14996
14997 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14998 4-byte instruction on S390.
14999
8908fca5
JB
150002014-11-19 Joel Brobecker <brobecker@adacore.com>
15001
15002 * gdb.ada/arr_arr: New testcase.
15003
4a46959e
JB
150042014-11-19 Joel Brobecker <brobecker@adacore.com>
15005
15006 * gdb.ada/pkd_arr_elem: New Testcase.
15007
470e2f4e
LM
150082014-11-18 Luis Machado <lgustavo@codesourcery.com>
15009
15010 * gdb.reverse/break-precsave: Expect completion message for
15011 core file reads.
15012 * gdb.reverse/consecutive-precsave.exp: Likewise.
15013 * gdb.reverse/finish-precsave.exp: Likewise.
15014 * gdb.reverse/i386-precsave.exp: Likewise.
15015 * gdb.reverse/machinestate-precsave.exp: Likewise.
15016 * gdb.reverse/sigall-precsave.exp: Likewise.
15017 * gdb.reverse/solib-precsave.exp: Likewise.
15018 * gdb.reverse/step-precsave.exp: Likewise.
15019 * gdb.reverse/until-precsave.exp: Likewise.
15020 * gdb.reverse/watch-precsave.exp: Likewise.
15021
a267f3ad
AA
150222014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15023
15024 * gdb.base/bp-permanent.c: Include unistd.h.
15025 * gdb.python/py-framefilter-mi.c (main): Add return type.
15026 * gdb.python/py-framefilter.c (main): Likewise.
15027 * gdb.trace/actions-changed.c (main): Likewise.
15028
12084a9a
AA
150292014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15030
15031 * gdb.mi/until.c: Add eye-catchers.
15032 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15033 line numbers.
15034
dc7e1a77
AA
150352014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15036
15037 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15038 function header variants in break1.c.
15039 * gdb.base/ena-dis-br.exp: Likewise.
15040 * gdb.base/hbreak2.exp: Likewise.
15041 * gdb.reverse/until-precsave.exp: Drop references to removed
15042 non-prototype function header variants in ur1.c.
15043 * gdb.reverse/until-reverse.exp: Likewise.
15044
41c77605
PM
150452014-11-17 Petr Machata <pmachata@redhat.com>
15046
15047 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15048 ${_cu_offset_size} bytes abbrev offset.
15049
34248c3a
DE
150502014-11-15 Doug Evans <xdje42@gmail.com>
15051
15052 PR symtab/17559
15053 * gdb.base/line-symtabs.exp: New file.
15054 * gdb.base/line-symtabs.c: New file.
15055 * gdb.base/line-symtabs.h: New file.
15056
646da059
YQ
150572014-11-14 Yao Qi <yao@codesourcery.com>
15058
15059 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15060 (func): Add label func_label.
15061 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15062 Replace low_pc and high_pc with MACRO_AT_range.
15063 Replace name, low_pc and high_pc with MACRO_AT_func.
15064
9301ebe6
YQ
150652014-11-14 Yao Qi <yao@codesourcery.com>
15066
15067 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15068 Replace name, low_pc and high_pc with MACRO_AT_func.
15069
f166b542
YQ
150702014-11-14 Yao Qi <yao@codesourcery.com>
15071
15072 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15073 produce debug information.
15074 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15075
0f6e71e3
YQ
150762014-11-14 Yao Qi <yao@codesourcery.com>
15077
15078 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15079 object and get function length.
15080 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15081 with MACRO_AT_func.
15082 (top-level): Replace gdb_compile and clean_restart with
15083 prepare_for_testing.
15084 * gdb.dwarf2/main.c (main): Add label main_label.
15085
876c4df9
YQ
150862014-11-14 Yao Qi <yao@codesourcery.com>
15087
15088 * lib/dwarf.exp (function_range): New procedure.
15089 (Dwarf::_handle_macro_at_func): New procedure.
15090 (Dwarf::_handle_macro_at_range): New procedure.
15091 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15092
02ad9cf1
YQ
150932014-11-14 Yao Qi <yao@codesourcery.com>
15094
15095 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15096 (_handle_attribute): New procedure.
15097
a59add0c
AA
150982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15099
15100 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15101 * gdb.base/call-sc.c (zed): Likewise.
15102 * gdb.base/checkpoint.c (main): Likewise.
15103 * gdb.base/dump.c (main): Likewise.
15104 * gdb.base/gcore.c (main): Likewise.
15105 * gdb.base/huge.c (main): Likewise.
15106 * gdb.base/multi-forks.c (main): Likewise.
15107 * gdb.base/pr10179-a.c (main): Likewise.
15108 * gdb.base/savedregs.c (main): Likewise.
15109 * gdb.base/sigaltstack.c (main): Likewise.
15110 * gdb.base/siginfo.c (main): Likewise.
15111 * gdb.base/structs.c (zed): Likewise.
15112 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15113 * gdb.mi/mi-syn-frame.c (main): Likewise.
15114 * gdb.mi/until.c (foo, main): Likewise.
15115 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15116 * gdb.base/solib-weak.c (foo): Declare.
15117 * gdb.base/attach-twice.c: Include stdio.h.
15118 * gdb.base/weaklib1.c: Likewise.
15119 * gdb.base/weaklib2.c: Likewise.
15120 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15121 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15122 unistd.h.
15123 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15124 * gdb.mi/mi-exit-code.c: Likewise.
15125 * gdb.base/break-interp-lib.c: Include string.h.
15126 * gdb.base/coremaker.c: Likewise.
15127 * gdb.base/testenv.c: Likewise.
15128 * gdb.python/py-finish-breakpoint.c: Likewise.
15129 * gdb.base/inferior-died.c: Include sys/wait.h.
15130 * gdb.base/fileio.c: Include time.h.
15131 * gdb.base/async-shell.c: Include unistd.h.
15132 * gdb.base/dprintf-non-stop.c: Likewise.
15133 * gdb.base/info-os.c: Likewise.
15134 * gdb.mi/mi-console.c: Likewise.
15135 * gdb.mi/watch-nonstop.c: Likewise.
15136 * gdb.python/py-events.c: Likewise.
15137 * gdb.base/async.c (baz): Move up before its invocation.
15138 * gdb.base/code_elim2.c (my_global_func): Likewise.
15139 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15140 * gdb.base/advance.c (func2): Likewise.
15141
3b5d5997
AA
151422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15143
15144 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15145 variant.
15146 * gdb.base/annota3.c: Likewise.
15147 * gdb.base/async.c: Likewise.
15148 * gdb.base/average.c: Likewise.
15149 * gdb.base/call-ar-st.c: Likewise.
15150 * gdb.base/call-rt-st.c: Likewise.
15151 * gdb.base/call-sc.c: Likewise.
15152 * gdb.base/call-strs.c: Likewise.
15153 * gdb.base/ending-run.c: Likewise.
15154 * gdb.base/execd-prog.c: Likewise.
15155 * gdb.base/exprs.c: Likewise.
15156 * gdb.base/foll-exec.c: Likewise.
15157 * gdb.base/foll-fork.c: Likewise.
15158 * gdb.base/foll-vfork.c: Likewise.
15159 * gdb.base/funcargs.c: Likewise.
15160 * gdb.base/gcore.c: Likewise.
15161 * gdb.base/jump.c: Likewise.
15162 * gdb.base/langs0.c: Likewise.
15163 * gdb.base/langs1.c: Likewise.
15164 * gdb.base/langs2.c: Likewise.
15165 * gdb.base/mips_pro.c: Likewise.
15166 * gdb.base/nodebug.c: Likewise.
15167 * gdb.base/opaque0.c: Likewise.
15168 * gdb.base/opaque1.c: Likewise.
15169 * gdb.base/recurse.c: Likewise.
15170 * gdb.base/run.c: Likewise.
15171 * gdb.base/scope0.c: Likewise.
15172 * gdb.base/scope1.c: Likewise.
15173 * gdb.base/setshow.c: Likewise.
15174 * gdb.base/setvar.c: Likewise.
15175 * gdb.base/shmain.c: Likewise.
15176 * gdb.base/shr1.c: Likewise.
15177 * gdb.base/shr2.c: Likewise.
15178 * gdb.base/sigall.c: Likewise.
15179 * gdb.base/signals.c: Likewise.
15180 * gdb.base/so-indr-cl.c: Likewise.
15181 * gdb.base/solib2.c: Likewise.
15182 * gdb.base/structs.c: Likewise.
15183 * gdb.base/sum.c: Likewise.
15184 * gdb.base/vforked-prog.c: Likewise.
15185 * gdb.base/watchpoint.c: Likewise.
15186 * gdb.reverse/shr2.c: Likewise.
15187 * gdb.reverse/until-reverse.c: Likewise.
15188 * gdb.reverse/ur1.c: Likewise.
15189 * gdb.reverse/watch-reverse.c: Likewise.
15190
066a77c5
AA
151912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15192
15193 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15194 variant.
15195 * gdb.base/sepdebug.exp: Drop references to removed code.
15196
4f204ea5
AA
151972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15198
15199 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15200 variant. Preserve original line numbering.
15201 * gdb.base/list1.c: Likewise.
15202
3b377a3a
AA
152032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15204
15205 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15206 variant.
15207 * gdb.base/break1.c: Likewise.
15208 * gdb.base/break.exp: Drop references to removed code.
15209
e444df73
AA
152102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15211
15212 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15213 variant.
15214
8008f2a7
AA
152152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15216
15217 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15218
a5a06887
AA
152192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15220
15221 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15222 logic into perform_all_tests() and invoke it with and without
15223 function header prototypes.
15224 (do_function_calls): Remove conditional XFAIL for PR 5318.
15225 (rerun_and_prepare): Remove duplicate code.
15226 (perform_all_tests): New. Main logic moved here.
15227
44dba9b9
AA
152282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15229
15230 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15231 code guarded by #ifdef NO_PROTOTYPES.
15232 (t_double_many_args): Likewise.
15233 (DEF_FUNC_MANY_ARGS_1): Likewise.
15234 (DEF_FUNC_VALUES_1): Likewise.
15235 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15236 guarded by #ifdef PROTOTYPES.
15237
d1fbcd56
AA
152382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15239
15240 * gdb.mi/mi-console.c: Add eye-catcher.
15241 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15242 instead of literal line number.
15243
b0e59b8f
AA
152442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15245
15246 * gdb.base/shr2.c: Add eye-catcher.
15247 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15248 line number.
15249
78f98cca
AA
152502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15251
15252 * gdb.base/jump.c: Add eye-catchers.
15253 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15254 numbers.
15255
58fa2af0
AA
152562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15257
15258 * gdb.base/execd-prog.c: Add eye-catchers.
15259 * gdb.base/foll-exec.c: Likewise.
15260 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15261 line numbers.
15262
04e5059b
AA
152632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15264
15265 * gdb.base/ending-run.c: Add eye-catchers.
15266 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15267 literal line numbers.
15268
dbfdb174
AA
152692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15270
15271 * gdb.base/call-rt-st.c: Add eye-catchers.
15272 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15273 literal line numbers.
15274
888a2ade
AA
152752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15276
15277 * gdb.base/call-ar-st.c: Add eye-catchers.
15278 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15279 literal line numbers.
15280
6acc2dde
AA
152812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15282
15283 * gdb.base/average.c: Add eye-catchers.
15284 * gdb.base/sum.c: Likewise.
15285 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15286 regexps dynamically.
15287
9ecfcd1d
AA
152882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15289
15290 * gdb.base/solib1.c: Add eye-catchers.
15291 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15292 literal line numbers.
15293
78708b7c
PA
152942014-11-12 Pedro Alves <palves@redhat.com>
15295
15296 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15297 leader has exited.
15298
af48d08f
PA
152992014-11-12 Pedro Alves <palves@redhat.com>
15300
15301 * gdb.arch/i386-bp_permanent.c: New file.
15302 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15303 (srcfile): Set to i386-bp_permanent.c.
15304 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15305 that stepi does not execute the 'leave' instruction, instead of
15306 testing it does execute.
15307 * gdb.base/bp-permanent.c: New file.
15308 * gdb.base/bp-permanent.exp: New file.
15309
af3768e9
DE
153102014-11-10 Doug Evans <xdje42@gmail.com>
15311
15312 PR symtab/17564
15313 * gdb.base/symtab-search-order.exp: New file.
15314 * gdb.base/symtab-search-order.c: New file.
15315 * gdb.base/symtab-search-order-1.c: New file.
15316 * gdb.base/symtab-search-order-shlib-1.c: New file.
15317
9de00a4a
PA
153182014-11-07 Pedro Alves <palves@redhat.com>
15319
15320 PR gdb/17511
15321 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15322 i?86-*-linux*.
15323
e0f52461
SC
153242014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15325
15326 PR c++/17494
15327 * gdb.cp/pr17494.cc: New file.
15328 * gdb.cp/pr17494.exp: New file.
15329
6ce8c980
YQ
153302014-11-02 Yao Qi <yao@codesourcery.com>
15331
15332 * gdb.python/python.exp: Get working directory and match the
15333 output of "set extended-prompt \\w " with it.
15334
02be9a71
DE
153352014-10-30 Doug Evans <dje@google.com>
15336
15337 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15338 in objfiles.
15339 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15340 in progspaces.
15341
3bdff46b
LM
153422014-10-30 Janis Johnson <janisjo@codesourcery.com>
15343
15344 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15345 * gdb.base/realname-expand.exp: Likewise.
15346 * gdb.linespec/macro-relative.exp: Likewise.
15347
ab917dfb
PA
153482014-10-29 Pedro Alves <palves@redhat.com>
15349
15350 PR gdb/17408
15351 * gdb.threads/schedlock.c (some_function): New function.
15352 (call_function): New global.
15353 (MAYBE_CALL_SOME_FUNCTION): New macro.
15354 (thread_function): Call it.
15355 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15356 and use it instead of a global counter. Adjust all callers.
15357 (get_current_thread): Use "find current thread" for test message
15358 here rather than having all callers pass down the same string.
15359 (goto_loop): New procedure, factored out from ...
15360 (my_continue): ... this.
15361 (step_ten_loops): Change parameter from test message to command to
15362 use. Adjust.
15363 (list_count): Delete global.
15364 (check_result): New procedure, factored out from duplicate top
15365 level code.
15366 (continue tests): Wrap in with_test_prefix.
15367 (test_step): New procedure, factored out from duplicate top level
15368 code.
15369 (top level): Test "step" in combination with all scheduler-locking
15370 modes. Test "next" in combination with all scheduler-locking
15371 modes, and in combination with stepping over a function call or
15372 not.
15373 * gdb.threads/next-bp-other-thread.c: New file.
15374 * gdb.threads/next-bp-other-thread.exp: New file.
15375
d3d4baed
PA
153762014-10-29 Pedro Alves <palves@redhat.com>
15377
15378 PR python/17372
15379 * gdb.python/python.exp: Test a multi-line command that spawns
15380 interactive Python.
15381 * gdb.base/multi-line-starts-subshell.exp: New file.
15382
563e8d85
YQ
153832014-10-29 Yao Qi <yao@codesourcery.com>
15384
15385 * gdb.base/fileio.exp: Make directories on host.
15386
0ea4d52e
YQ
153872014-10-29 Yao Qi <yao@codesourcery.com>
15388
15389 * gdb.base/fileio.c (test_write): Close the file.
15390
7f5ef605
PA
153912014-10-28 Pedro Alves <palves@redhat.com>
15392
15393 PR gdb/12623
15394 * gdb.base/sigstep.c (no_handler): New global.
15395 (main): If 'no_handler is true, set the signal handlers to
15396 SIG_IGN.
15397 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15398 with_sw_watch and no_handler parameters. Handle them.
15399 (top level) <stepping over handler when stopped at a breakpoint
15400 test>: Add a test axis for testing with a software watchpoint, and
15401 another for testing with the signal handler set to SIG_IGN.
15402 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15403 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15404
abbdbd03
PA
154052014-10-28 Pedro Alves <palves@redhat.com>
15406
15407 PR gdb/17511
15408 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15409 * gdb.base/sigstep.exp (other_handler_location): New global.
15410 (advance): Support stepping into the signal handler, and running
15411 commands while in the handler.
15412 (in_handler_map): New global.
15413 (top level): In the advance test, add combinations for getting
15414 into the handler with stepping commands, and for running commands
15415 in the handler. Add comment descripting the advancei tests.
15416
1df4399f
PA
154172014-10-28 Pedro Alves <palves@redhat.com>
15418
15419 * gdb.base/sigstep.exp: Use build_executable instead of
15420 prepare_for_testing.
15421 (top level): Move code that starts GDB, runs to main and creates a
15422 display to ...
15423 (restart): ... this new procedure.
15424 (top level): Move backtrace from signal handler test to ...
15425 (validate_backtrace): ... this new procedure.
15426 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15427 with_test_prefix. Always restart GDB.
15428 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15429 with_test_prefix. Always restart GDB. No need to delete
15430 breakpoints after the test.
15431 (test_skip_handler): Remove prefix parameter.
15432 (skip_over_handler, breakpoint_to_handler)
15433 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15434 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15435 restart GDB. No need to delete breakpoints after the test.
15436 (top level): Use foreach to call the test procedures with
15437 different commands.
15438
a5b6e449
PA
154392014-10-28 Pedro Alves <palves@redhat.com>
15440
15441 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15442 instead of GNATS numbers.
15443 * gdb.base/sigbpt.exp: Likewise.
15444 * gdb.base/siginfo.exp: Likewise.
15445 * gdb.base/sigstep.exp: Likewise.
15446
e5f8a7cc
PA
154472014-10-27 Pedro Alves <palves@redhat.com>
15448
15449 * gdb.base/sigstep.c (dummy): New global.
15450 (main): Issue a couple writes to the new global.
15451 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15452 procedures.
15453 (skip_over_handler): Use test_skip_handler.
15454 (top level): Call skip_over_handler for stepi and nexti too.
15455 (breakpoint_over_handler): Use test_skip_handler.
15456 (top level): Call breakpoint_over_handler for stepi and nexti too.
15457
763905a3
YQ
154582014-10-27 Yao Qi <yao@codesourcery.com>
15459
15460 * gdb.trace/tfile.c (adjust_function_address)
15461 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15462 function descriptor.
15463
6f259a23
DB
154642014-10-24 Don Breazeal <donb@codesourcery.com>
15465
15466 * gdb.base/foll-fork.exp (test_follow_fork,
15467 catch_fork_child_follow): Check for updated fork messages emitted
15468 from infrun.c.
15469 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15470 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15471 vfork_and_exec_child_follow_through_step): Check for updated vfork
15472 messages emitted from infrun.c.
15473
09dd9a69
PA
154742014-10-24 Pedro Alves <palves@redhat.com>
15475
15476 * gdb.base/corefile.exp: Remove references to ultrix.
15477 * gdb.base/interrupt.exp: Likewise.
15478 * gdb.base/whatis.exp: Likewise.
15479 * gdb.gdb/selftest.exp: Likewise.
15480 * gdb.threads/manythreads.exp: Likewise.
15481 * gdb.threads/print-threads.exp: Likewise.
15482 * gdb.threads/pthreads.exp:: Likewise.
15483 * gdb.threads/schedlock.exp: Likewise.
15484
3433cfa5
SC
154852014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15486
15487 * gdb.cp/non-trivial-retval.cc: Add a test case.
15488 * gdb.cp/non-trivial-retval.exp: Add a test.
15489
092f880b
YQ
154902014-10-20 Yao Qi <yao@codesourcery.com>
15491
15492 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15493 * gdb.python/py-objfile-script-gdb.py: New file.
15494 * gdb.python/py-objfile-script.exp: Update reference to
15495 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15496 of remote_download. Remove the dest file.
15497
acbdb7f3
YQ
154982014-10-20 Yao Qi <yao@codesourcery.com>
15499
15500 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15501 * gdb.base/step-line.exp: Likewise.
15502 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15503 * gdb.dwarf2/dw2-basic.exp: Likewise.
15504 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15505 * gdb.dwarf2/dw2-filename.exp: Likewise.
15506 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15507 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15508 * gdb.dwarf2/dw2-producer.exp: Likewise.
15509 * gdb.dwarf2/mac-fileno.exp: Likewise.
15510 * gdb.python/py-frame-args.exp: Likewise.
15511 * gdb.python/py-framefilter.exp: Likewise.
15512 * gdb.python/py-mi.exp: Likewise.
15513 * gdb.python/py-objfile-script.exp: Likewise
15514 * gdb.python/py-pp-integral.exp: Likewise.
15515 * gdb.python/py-pp-re-notag.exp: Likewise.
15516 * gdb.python/py-prettyprint.exp: Likewise.
15517 * gdb.python/py-section-script.exp: Likewise.
15518 * gdb.python/py-typeprint.exp: Likewise.
15519 * gdb.python/py-xmethods.exp: Likewise.
15520 * gdb.stabs/weird.exp: Likewise.
15521 * gdb.xml/tdesc-regs.exp: Likewise.
15522
bd286a29
KCY
155232014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15524
15525 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15526 (out_cu): Use addr_len for the size of addresses.
15527 (out_line): Likewise. Size DW_LNE_set_address instruction
15528 according to addr_len.
15529 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15530 (FUNC): Add START_INSNS to definition.
15531
673dc4a0
YQ
155322014-10-18 Yao Qi <yao@codesourcery.com>
15533
15534 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15535 gdb_has_argv0 return true.
15536 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15537 check [target_info exists noargs], check [gdb_has_argv0]
15538 instead.
15539 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15540 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15541 procedures.
15542
4ffbba72
DE
155432014-10-17 Doug Evans <dje@google.com>
15544
15545 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15546 event.
15547 * gdb.python/py-events.py: Add clear_objfiles event.
15548
d096d8c1
DE
155492014-10-17 Doug Evans <dje@google.com>
15550
15551 * gdb.python/py-objfile.exp: Test progspace attribute.
15552
a80db015
LM
155532014-10-17 Luis Machado <lgustavo@codesourcery.com>
15554
15555 * gdb.guile/scm-breakpoint.exp: Do not assume any
15556 directory separators when matching source file paths.
15557 * gdb.python/py-breakpoint.exp: Likewise.
15558 * gdb.reverse/break-precsave.exp: Likewise.
15559 * gdb.reverse/break-reverse.exp: Likewise.
15560 * gdb.reverse/consecutive-precsave.exp: Likewise.
15561 * gdb.reverse/finish-precsave.exp: Likewise.
15562 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15563 * gdb.reverse/finish-reverse.exp: Likewise.
15564 * gdb.reverse/i386-precsave.exp: Likewise.
15565 * gdb.reverse/i387-env-reverse.exp: Likewise.
15566 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15567 * gdb.reverse/machinestate-precsave.exp: Likewise.
15568 * gdb.reverse/machinestate.exp: Likewise.
15569 * gdb.reverse/sigall-precsave.exp: Likewise.
15570 * gdb.reverse/solib-precsave.exp: Likewise.
15571 * gdb.reverse/step-precsave.exp: Likewise.
15572 * gdb.reverse/until-precsave.exp: Likewise.
15573 * gdb.reverse/watch-precsave.exp: Likewise.
15574 * gdb.reverse/watch-reverse.exp: Likewise.
15575
b22089ab
YQ
155762014-10-17 Yao Qi <yao@codesourcery.com>
15577
15578 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15579 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15580
6c4486e6
PA
155812014-10-17 Pedro Alves <palves@redhat.com>
15582
15583 PR gdb/17471
15584 * gdb.base/bg-execution-repeat.c: New file.
15585 * gdb.base/bg-execution-repeat.exp: New file.
15586
0ff33695
PA
155872014-10-17 Pedro Alves <palves@redhat.com>
15588
15589 PR gdb/17300
15590 * gdb.base/continue-all-already-running.c: New file.
15591 * gdb.base/continue-all-already-running.exp: New file.
15592
6fdebc3d
PA
155932014-10-17 Pedro Alves <palves@redhat.com>
15594
15595 PR gdb/17472
15596 * gdb.base/annota-input-while-running.c: New file.
15597 * gdb.base/annota-input-while-running.exp: New file.
15598
32a8097b
PA
155992014-10-17 Pedro Alves <palves@redhat.com>
15600
15601 * gdb.base/callfuncs.exp: emove references to osf.
15602 * gdb.base/sigall.exp: Likewise.
15603 * gdb.gdb/selftest.exp: Likewise.
15604 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15605 * gdb.mi/non-stop.c: Likewise.
15606 * gdb.mi/pthreads.c: Likewise.
15607 * gdb.reverse/sigall-precsave.exp: Likewise.
15608 * gdb.reverse/sigall-reverse.exp: Likewise.
15609 * gdb.threads/pthreads.c: Likewise.
15610 * gdb.threads/pthreads.exp: Likewise.
15611
7a3517ff
YQ
156122014-10-17 Yao Qi <yao@codesourcery.com>
15613
15614 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15615 check 'target_info exists noargs'.
15616 (test_command_prompt_position): Likewise.
15617 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15618 Remove "set args".
15619 (progvar_simple_while_test): Likewise.
15620 (progvar_complex_if_while_test): Likewise.
15621 (if_while_breakpoint_command_test): Likewise.
15622 (infrun_breakpoint_command_test): Likewise.
15623 (breakpoint_command_test): Likewise.
15624 (watchpoint_command_test): Likewise.
15625 (bp_deleted_in_command_test): Likewise.
15626 (temporary_breakpoint_commands): Likewise.
15627
bb99c472
YQ
156282014-10-16 Yao Qi <yao@codesourcery.com>
15629
15630 * gdb.base/remotetimeout.exp: Remove noargs checking.
15631
7c16b83e
PA
156322014-10-15 Pedro Alves <palves@redhat.com>
15633
15634 PR breakpoints/9649
15635 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15636 * gdb.base/breakpoint-in-ro-region.exp
15637 (probe_target_hardware_step): New procedure.
15638 (top level): Probe hardware stepping and hardware breakpoint
15639 support. Test stepping through a read-only region, with both
15640 "breakpoint auto-hw" on and off and both "always-inserted" on and
15641 off.
15642
35a49624
IB
156432014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15644
15645 * gdb.dlang/demangle.exp: Update for demangling changes.
15646
2d1c107c
SC
156472014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15648
15649 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15650 * gdb.cp/non-trivial-retval.exp: Add new tests.
15651
778811d5
SC
156522014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15653
15654 PR c++/13403
15655 PR c++/15154
15656 * gdb.cp/non-trivial-retval.cc: New file.
15657 * gdb.cp/non-trivial-retval.exp: New file.
15658
10c5f0a8
YQ
156592014-10-15 Yao Qi <yao@codesourcery.com>
15660
15661 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15662 remote host.
15663
65d7b369
YQ
156642014-10-15 Yao Qi <yao@codesourcery.com>
15665
15666 * gdb.python/py-symbol.exp: Match file base name if host is
15667 remote, otherwise match file name with dir name.
15668 * gdb.python/py-symtab.exp: Likewise.
15669 * gdb.python/python.exp: Likewise.
15670
46dc1394
YQ
156712014-10-15 Yao Qi <yao@codesourcery.com>
15672
15673 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15674 pattern.
15675 * gdb.python/py-symtab.exp: Likewise.
15676 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15677 locationn.
15678
c40cc657
JB
156792014-10-14 Joel Brobecker <brobecker@adacore.com>
15680
15681 * gdb.ada/addr_arith: New testcase.
15682
2abf49e1
MR
156832014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15684
15685 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15686 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15687 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15688 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15689
f7088df3
SDJ
156902014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15691
15692 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15693 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15694 * gdb.arch/stap-eval-lang-ada.exp: New file.
15695
4dc06805
YQ
156962014-10-14 Yao Qi <yao@codesourcery.com>
15697
15698 * gdb.mi/mi-var-child.c (nothing1): New function.
15699 (nothing2): New function.
15700 (do_children_tests): Set function pointers by nothing1 and
15701 nothing2.
15702 * gdb.mi/mi-var-child.exp: Step over new added statements.
15703 Update test to match the new output.
15704 * gdb.mi/var-cmd.c (nothing1): New function.
15705 (nothing2): New function.
15706 (do_children_tests): Set function pointers by nothing1 and
15707 nothing2.
15708 * gdb.mi/mi-var-display.exp: Update test to match output.
15709 Step to the line specified by $line_dct_nothing.
15710 Increase the number of lines to step.
15711
46a93de2
YQ
157122014-10-14 Yao Qi <yao@codesourcery.com>
15713
15714 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15715 tests.
15716 * gdb.mi/mi2-var-child.exp: Likewise.
15717
14ea52ee
DE
157182014-10-13 Doug Evans <dje@google.com>
15719
15720 * gdb.python/py-objfile.exp: Change name of file name test.
15721
e5c6e92b
DE
157222014-10-13 Doug Evans <dje@google.com>
15723
15724 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15725 from the start of the CU.
15726
c780cc2f
JK
157272014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15728 Yao Qi <yao@codesourcery.com>
15729
15730 Fix "save breakpoints" for "catch" command.
15731 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15732 Remove -nonewline. Match also the added "main" line.
15733
99894e11
JK
157342014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15735
15736 Fix "save breakpoints" for "disable $bpnum" command.
15737 * gdb.base/save-bp.c (main): Add label.
15738 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15739
6e1ac5a3
JK
157402014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15741
15742 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15743
754dd2b0
YQ
157442014-10-11 Yao Qi <yao@codesourcery.com>
15745
15746 * gdb.server/server-kill.exp: Execute command
15747 "set remote trace-status-packet on" before "tstatus".
15748
f90183d7
YQ
157492014-10-11 Yao Qi <yao@codesourcery.com>
15750
15751 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15752 (main): Call getppid.
15753 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15754 and continue to it. Read variable "server_pid".
15755
bf40a607
YQ
157562014-10-11 Yao Qi <yao@codesourcery.com>
15757
15758 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15759
052ca370
YQ
157602014-10-11 Yao Qi <yao@codesourcery.com>
15761
15762 * gdb.threads/thread-find.exp: Don't execute command
15763 "info threads".
15764 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15765 * gdb.threads/linux-dp.exp: Don't check the condition
15766 $threads_created equals to zero.
15767
3831839c
PA
157682014-10-10 Pedro Alves <palves@redhat.com>
15769
15770 * gdb.base/bigcore.exp: Remove references to IRIX.
15771 * gdb.base/funcargs.exp: Likewise.
15772 * gdb.base/interrupt.exp: Likewise.
15773 * gdb.base/mips_pro.exp: Likewise.
15774 * gdb.base/nodebug.exp: Likewise.
15775 * gdb.base/setvar.exp: Likewise.
15776 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15777
8b9a549d
PA
157782014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15779 Pedro Alves <palves@redhat.com>
15780
15781 PR symtab/14466
15782 * gdb.base/vdso-warning.c: New file.
15783 * gdb.base/vdso-warning.exp: New file.
15784
d48ba5e8
DE
157852014-10-02 Doug Evans <dje@google.com>
15786
15787 * gdb.base/structs.c (main): Don't run forever.
15788
2278c276
PA
157892014-10-02 Pedro Alves <palves@redhat.com>
15790
15791 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15792 (top level) <stop threads 1, stop threads 2>: Use it.
15793
b57bacec
PA
157942014-10-02 Pedro Alves <palves@redhat.com>
15795
15796 * gdb.threads/break-while-running.exp (test): Add new
15797 'update_thread_list' argument. Skip "info threads" if false.
15798 (top level): Add new 'update_thread_list' axis.
15799
13fd3ff3
PA
158002014-10-02 Pedro Alves <palves@redhat.com>
15801
15802 PR breakpoints/17431
15803 * gdb.base/execl-update-breakpoints.c: New file.
15804 * gdb.base/execl-update-breakpoints.exp: New file.
15805
0fec99e8
PA
158062014-10-01 Pedro Alves <palves@redhat.com>
15807
15808 * gdb.base/breakpoint-in-ro-region.c: New file.
15809 * gdb.base/breakpoint-in-ro-region.exp: New file.
15810
2ddf4301
SM
158112014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15812
15813 * gdb.mi/mi-exit-code.exp: New file.
15814 * gdb.mi/mi-exit-code.c: New file.
15815
6a5f3f43
YQ
158162014-09-30 Yao Qi <yao@codesourcery.com>
15817
15818 * lib/prelink-support.exp (build_executable_own_libs): Error if
15819 the target isn't native.
15820
345bcc73
YQ
158212014-09-30 Yao Qi <yao@codesourcery.com>
15822
15823 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15824 false.
15825
a25a5a45
PA
158262014-09-22 Pedro Alves <palves@redhat.com>
15827
15828 * gdb.threads/break-while-running.exp: New file.
15829 * gdb.threads/break-while-running.c: New file.
15830
00ba3162
YQ
158312014-09-19 Yao Qi <yao@codesourcery.com>
15832
15833 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15834 Invoke test. Restart GDB with --readnow and invoke test again.
15835
c3b7b696
YQ
158362014-09-19 Yao Qi <yao@codesourcery.com>
15837
15838 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15839 proc set_breakpoint_on_gcd_function. Invoke
15840 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15841 invoke set_breakpoint_on_gcd_function again.
15842
2b4fd423
DE
158432014-09-18 Doug Evans <dje@google.com>
15844
15845 * gdb.dwarf2/symtab-producer.exp: New file.
15846
a5947601
SDJ
158472014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15848
15849 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15850 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15851 * gdb.base/global-var-nested-by-dso.c: Likewise.
15852 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15853
91c19059
SDJ
158542014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15855 Pedro Alves <palves@redhat.com>
15856
15857 * gdb.base/watch-bitfields.exp: Pass string other than test file
15858 name to prepare_for_testing.
15859 (watch): New procedure.
15860 (expect_watchpoint): Use with_test_prefix.
15861 (top level): Factor out tests to ...
15862 (test_watch_location, test_regular_watch): ... these new
15863 procedures, and use with_test_prefix and gdb_continue_to_end.
15864
bb9d5f81
PP
158652014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15866
15867 PR breakpoints/12526
15868 * gdb.base/watch-bitfields.exp: New file.
15869 * gdb.base/watch-bitfields.c: New file.
15870
635856f5
PA
158712014-09-16 Pedro Alves <palves@redhat.com>
15872
15873 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15874 software and hardware addresses, not software address against
15875 itself.
15876
7280ceea
PA
158772014-09-16 Pedro Alves <palves@redhat.com>
15878
15879 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15880 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15881
428b16bd
PA
158822014-09-16 Pedro Alves <palves@redhat.com>
15883
15884 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15885 files.
15886 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15887 "*-*-vxworks*" throughout.
15888 * gdb.base/break.exp: Likewise.
15889 * gdb.base/default.exp: Likewise.
15890 * gdb.base/scope.exp: Likewise.
15891 * gdb.base/sepdebug.exp: Likewise.
15892 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15893 throughout.
15894 * gdb.base/run.c: Likewise.
15895 * gdb.base/sepdebug.c: Likewise.
15896 * gdb.hp/gdb.aCC/run.c: Likewise.
15897 * gdb.reverse/until-reverse.c: Likewise.
15898 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15899
666d413c
YQ
159002014-09-16 Yao Qi <yao@codesourcery.com>
15901
15902 * boards/local-remote-host-native.exp: New file.
15903
57cbd724
DE
159042014-09-14 Doug Evans <xdje42@gmail.com>
15905
15906 * gdb.threads/queue-signal.c (thread_count): New variable.
15907 (thread_count_mutex, thread_count_condvar): New variables.
15908 (incr_thread_count, wait_all_threads_running): New functions.
15909 (main): Wait for all threads to be in their thread functions.
15910
81219e53
DE
159112014-09-13 Doug Evans <xdje42@gmail.com>
15912
15913 * gdb.threads/queue-signal.c: New file.
15914 * gdb.threads/queue-signal.exp: New file.
15915
3714cea7
DE
159162014-09-13 Doug Evans <xdje42@gmail.com>
15917
15918 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15919 be consistent with what default_gdb_init uses.
15920 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15921 the plain text of the prompt. Add some logging printfs.
15922 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15923
fa43b1d7
PA
159242014-09-12 Pedro Alves <palves@redhat.com>
15925
15926 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15927 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15928 * gdb.arch/i386-size-overlap.exp: Likewise.
15929 * gdb.arch/i386-size.exp: Likewise.
15930 * gdb.arch/i386-unwind.exp: Likewise.
15931 * gdb.base/a2-run.exp: Likewise.
15932 * gdb.base/break.exp: Likewise.
15933 * gdb.base/charset.exp: Likewise.
15934 * gdb.base/chng-syms.exp: Likewise.
15935 * gdb.base/commands.exp: Likewise.
15936 * gdb.base/dbx.exp: Likewise.
15937 * gdb.base/find.exp: Likewise.
15938 * gdb.base/funcargs.exp: Likewise.
15939 * gdb.base/jit-simple.exp: Likewise.
15940 * gdb.base/reread.exp: Likewise.
15941 * gdb.base/sepdebug.exp: Likewise.
15942 * gdb.base/step-bt.exp: Likewise.
15943 * gdb.cp/mb-inline.exp: Likewise.
15944 * gdb.cp/mb-templates.exp: Likewise.
15945 * gdb.objc/basicclass.exp: Likewise.
15946 * gdb.threads/killed.exp: Likewise.
15947
9d9bf2df
EBM
159482014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15949
15950 PR tdep/17379
15951 * gdb.arch/powerpc-stackless.S: New file.
15952 * gdb.arch/powerpc-stackless.exp: New file.
15953
1cf2f1b0
JK
159542014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15955
15956 * gdb.base/attach.c: Include unistd.h.
15957 (main): Call alarm. Add label postloop.
15958 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15959 gdb_breakpoint, gdb_continue_to_breakpoint.
15960 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15961
98880d46
PA
159622014-09-11 Pedro Alves <palves@redhat.com>
15963
15964 PR gdb/17347
15965 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15966 * gdb.base/attach.exp (test_command_line_attach_run): New
15967 procedure.
15968 (top level): Call it.
15969
4c92ff2c
PA
159702014-09-11 Pedro Alves <palves@redhat.com>
15971
15972 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15973 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15974 (do_command_attach_tests): Use spawn_wait_for_attach.
15975 * gdb.base/solib-overlap.exp: Likewise.
15976 * gdb.multi/multi-attach.exp: Likewise.
15977 * gdb.python/py-prompt.exp: Likewise.
15978 * gdb.python/py-sync-interp.exp: Likewise.
15979 * gdb.server/ext-attach.exp: Likewise.
15980
3adc1a7d
GKB
159812014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15982
15983 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15984 command in testcase. Simplify testcase.
15985
96334934
JB
159862014-09-10 Joel Brobecker <brobecker@adacore.com>
15987
15988 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15989
eb479039
JB
159902014-09-10 Joel Brobecker <brobecker@adacore.com>
15991
15992 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15993
deede10c
JB
159942014-09-10 Joel Brobecker <brobecker@adacore.com>
15995
15996 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15997
7828a5f5
JB
159982014-09-10 Joel Brobecker <brobecker@adacore.com>
15999
16000 * gdb.dwarf2/dynarr-ptr.c: New file.
16001 * gdb.dwarf2/dynarr-ptr.exp: New file.
16002
33aeebcf
MR
160032014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16004
16005 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16006 of 30 rather than hardcoding 120 for a slow test case. Take the
16007 `gdb,timeout' target setting into account for this calculation.
16008 Don't extend the timeout for the test cases that don't need it.
16009
7b415901
MR
160102014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16011
16012 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16013 a factor of 2 for a slow test case. Take the `gdb,timeout'
16014 target setting into account for this calculation.
16015 * gdb.reverse/until-precsave.exp: Increase the timeout by
16016 a factor of 15 and 3 respectively rather than adding 120
16017 for a pair of slow test cases. Take the `gdb,timeout'
16018 target setting into account for this calculation.
16019
4a40f85a
MR
160202014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16021
16022 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16023 timeout, don't pass one down to gdb_expect.
16024 (gdb_expect): Rework timeout selection.
16025
09635af7
MR
160262014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16027
16028 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16029 exception on timeout.
16030 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16031 (gdbserver_start_extended): Catch any `gdbserver_start' error
16032 exceptions.
16033 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16034 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16035 `gdbserver_gdb_load' error exceptions.
16036
2bdd10b7
MR
160372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16038
16039 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16040 120 on waiting for the TCP socket to open.
16041
316935f0
DE
160422014-09-09 Doug Evans <xdje42@gmail.com>
16043
16044 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16045 _caller_matches, _any_caller_is, _any_caller_matches.
16046
83740597
DE
160472014-09-09 Doug Evans <xdje42@gmail.com>
16048
16049 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16050
4c122fc3
YQ
160512014-09-09 Yao Qi <yao@codesourcery.com>
16052
16053 * gdb.mi/mi-var-display.exp: Set print symbol off.
16054
a9f116cb
GKB
160552014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16056
16057 PR gdb/17035
16058 * gdb.base/commands.exp: Add tests to verify user-defined
16059 commands with empty bodies.
16060 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16061 python commands in `show user command`.
16062 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16063 scheme commands in `show user command`.
16064
c75bd3a2
JK
160652014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16066
16067 PR python/17355
16068 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16069 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16070 * gdb.python/py-framefilter-invalidarg.exp: New file.
16071 * gdb.python/py-framefilter-invalidarg.py: New file.
16072
faa42425
DE
160732014-09-06 Doug Evans <xdje42@gmail.com>
16074
16075 PR 15276
16076 * gdb.python/py-caller-is.c: New file.
16077 * gdb.python/py-caller-is.exp: New file.
16078
474ca4f6
SDJ
160792014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16080
16081 PR gdb/17235
16082 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16083 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16084
eb0b0463
SDJ
160852014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16086
16087 PR fortran/17237
16088 * gdb.fortran/print-formatted.exp: New file.
16089 * gdb.fortran/print-formatted.f90: Likewise.
16090
5f3b99cf
SS
160912014-09-03 Sasha Smundak <asmundak@google.com>
16092
16093 * gdb.python/py-frame.exp: Test Frame.read_register.
16094
7d793aa9
SDJ
160952014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16096
16097 PR python/16699
16098 * gdb.python/py-completion.exp: New file.
16099 * gdb.python/py-completion.py: Likewise.
16100
fb0576e9
DE
161012014-08-28 Doug Evans <dje@google.com>
16102
16103 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16104 eax,etc. are live with values set by gdb and thus the compiler can't
16105 use them.
16106 * gdb.arch/i386-pseudo.c (main): Ditto.
16107
ee92b0dd
DE
161082014-08-27 Doug Evans <dje@google.com>
16109
16110 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16111
6649db35
DE
161122014-08-25 Doug Evans <dje@google.com>
16113
16114 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16115 (main): Ditto.
16116
564b7600
DE
161172014-08-25 Doug Evans <dje@google.com>
16118
16119 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16120
3881fb67
YQ
161212014-08-24 Yao Qi <yao@codesourcery.com>
16122
16123 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16124 symbol off.
16125 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16126
a05a36a5
DE
161272014-08-22 Doug Evans <dje@google.com>
16128
16129 PR 17276
16130 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16131 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16132 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16133
7c343b48
YQ
161342014-08-22 Yao Qi <yao@codesourcery.com>
16135
16136 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16137 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16138 * gdb.python/python.exp: Likewise. Use .py file on the host
16139 instead of the build.
16140
22fd09ae
JK
161412014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16142
16143 * gdb.threads/gcore-stale-thread.c: New file.
16144 * gdb.threads/gcore-stale-thread.exp: New file.
16145
a8454a7c
PA
161462014-08-21 Pedro Alves <palves@redhat.com>
16147
16148 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16149 * gdb.base/gcore-relro-pie.exp: Likewise.
16150 * gdb.base/gcore-relro.exp: Likewise.
16151 * gdb.base/gcore.exp: Likewise.
16152 * gdb.base/print-symbol-loading.exp: Likewise.
16153 * gdb.threads/gcore-thread.exp: Likewise.
16154 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16155
2a31c623
PA
161562014-08-20 Pedro Alves <palves@redhat.com>
16157 Jan Kratochvil <jan.kratochvil@redhat.com>
16158
16159 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16160 configure.
16161 (EXPECT): Handle READ1 being set.
16162 (all): Depend on EXTRA_RULES.
16163 (check-read1, expect-read1, read1.so, read1): New rules.
16164 * README (Testsuite Parameters): Document the READ1 make variable.
16165 (Race detection): New section.
16166 * configure: Regenerate.
16167 * configure.ac: If build==host==target, and running under a
16168 GNU/glibc system, add read1 to the extra Makefile rules.
16169 (EXTRA_RULES): AC_SUBST it.
16170 * lib/read1.c: New file.
16171
d36430db
JB
161722014-08-20 Joel Brobecker <brobecker@adacore.com>
16173
16174 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16175 the handling of variables declared as a typedef to an array
16176 which a DW_AT_data_location attribute.
16177
9a0dc9e3
PA
161782014-08-19 Andrew Burgess <aburgess@broadcom.com>
16179 Pedro Alves <palves@redhat.com>
16180
16181 PR symtab/14604
16182 PR symtab/14605
16183 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16184 gdb_test.
16185
0718a8da
PA
161862014-08-19 Pedro Alves <palves@redhat.com>
16187
16188 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16189
13b448cd
YQ
161902014-08-19 Yao Qi <yao@codesourcery.com>
16191
16192 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16193 right line.
16194
1cbf5077
DB
161952014-08-18 David Blaikie <dblaikie@gmail.com>
16196
16197 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16198
bf0fae19
JB
161992014-08-18 Joel Brobecker <brobecker@adacore.com>
16200
16201 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16202 attribute in array range.
16203
3c8c5dcc
JB
162042014-08-18 Joel Brobecker <brobecker@adacore.com>
16205
16206 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16207
e66d4446
SC
162082014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16209
16210 PR c++/17132
16211 * gdb.cp/pr17132.cc: New file.
16212 * gdb.cp/pr17132.exp: New file.
16213
940df408
SC
162142014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16215
16216 * gdb.python/py-xmethods.py (A_getarrayind)
16217 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16218 Use 'print' with function call syntax.
16219 (E_method_matcher.match): Fix tab vs space indentation mixup.
16220
ebcc6c3a
YQ
162212014-08-15 Yao Qi <yao@codesourcery.com>
16222
16223 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16224 false.
16225
775e0f04
YQ
162262014-08-15 Yao Qi <yao@codesourcery.com>
16227
16228 * gdb.cp/casts.exp: Set print symbol off.
16229 * gdb.cp/class2.exp: Likewise.
16230 * gdb.cp/overload.exp: Likewise.
16231 * gdb.cp/templates.exp: Likewise.
16232
d769e349
DE
162332014-08-11 Doug Evans <dje@google.com>
16234
16235 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16236 (test_load_shlib): Update.
16237
20c6f1e1
YQ
162382014-08-09 Yao Qi <yao@codesourcery.com>
16239
16240 * gdb.base/display.exp: Invoke is_address_zero_readable.
16241 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16242 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16243 * gdb.base/hbreak-unmapped.exp: Return if
16244 is_address_zero_readable returns true.
16245 * gdb.base/signest.exp: Likewise.
16246 * gdb.base/signull.exp: Likewise.
16247 * gdb.base/sigbpt.exp: Likewise.
16248 * gdb.guile/scm-disasm.exp: Do the test if
16249 is_address_zero_readable returns false.
16250 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16251 * gdb.python/py-arch.exp: Likewise.
16252 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16253 * lib/gdb.exp (is_address_zero_readable): New proc.
16254
5792e8e3
YQ
162552014-08-09 Yao Qi <yao@codesourcery.com>
16256
16257 PR testsuite/13443
16258 * gdb.mi/mi-var-display.exp: Make test messages unique.
16259
3cecbbbe
TT
162602014-08-04 Tom Tromey <tromey@redhat.com>
16261
16262 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16263 target 0".
16264
00b51ff5
TT
162652014-08-04 Tom Tromey <tromey@redhat.com>
16266
16267 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16268 "target_resume".
16269
6908c509
JB
162702014-08-01 Joel Brobecker <brobecker@adacore.com>
16271
16272 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16273 inner_vla_struct_object_size.
16274 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16275 as xfail.
16276
cc6563d2
PA
162772014-07-30 Pedro Alves <palves@redhat.com>
16278
16279 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16280 comment.
16281
7e09a223
YQ
162822014-07-29 Yao Qi <yao@codesourcery.com>
16283
16284 PR gdb/17206
16285 * gdb.base/until-nodebug.exp: New.
16286
7ebdbe92
DE
162872014-07-28 Doug Evans <xdje42@gmail.com>
16288
16289 PR guile/17203
16290 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16291 previously existing parameter, and previously ambiguously spelled
16292 parameter.
16293
fdb1adc6
WN
162942014-07-28 Will Newton <will.newton@linaro.org>
16295
16296 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16297
186fcde0
DE
162982014-07-26 Ludovic Courtès <ludo@gnu.org>
16299 Doug Evans <xdje42@gmail.com>
16300
16301 PR guile/17146
16302 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16303
70509625
PA
163042014-07-25 Pedro Alves <palves@redhat.com>
16305
16306 * gdb.threads/signal-command-handle-nopass.c: New file.
16307 * gdb.threads/signal-command-handle-nopass.exp: New file.
16308 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16309 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16310 * gdb.threads/signal-delivered-right-thread.c: New file.
16311 * gdb.threads/signal-delivered-right-thread.exp: New file.
16312
c3f814a1
PA
163132014-07-25 Pedro Alves <palves@redhat.com>
16314
16315 * gdb.base/double-prompt-target-event-error.exp
16316 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16317 match.
16318 (cancel_pagination_in_target_event): Rework double prompt
16319 detection.
16320 * gdb.base/paginate-after-ctrl-c-running.exp
16321 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16322 <return>' match.
16323 * gdb.base/paginate-bg-execution.exp
16324 (test_bg_execution_pagination_return)
16325 (test_bg_execution_pagination_cancel): Remove '-notransfer
16326 <return>' matches.
16327 * gdb.base/paginate-execution-startup.exp
16328 (test_fg_execution_pagination_return)
16329 (test_fg_execution_pagination_cancel): Remove '-notransfer
16330 <return>' matches.
16331 * gdb.base/paginate-inferior-exit.exp
16332 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16333 match.
16334 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16335 * lib/gdb.exp (pagination_prompt): Run text through
16336 string_to_regexp.
16337 (gdb_test_multiple): Match $pagination_prompt instead of
16338 "<return>".
16339 (string_to_regexp): Move to lib/gdb-utils.exp.
16340
e214cf6c
JK
163412014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16342
16343 * gdb.arch/amd64-entry-value-paramref.S: New file.
16344 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16345 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16346 * gdb.arch/amd64-optimout-repeat.S: New file.
16347 * gdb.arch/amd64-optimout-repeat.c: New file.
16348 * gdb.arch/amd64-optimout-repeat.exp: New file.
16349
17d0c5c8
JK
163502014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16351
16352 PR gdb/17170
16353 * gdb.base/statistics.exp: New file.
16354
b8b8facf
DE
163552014-07-17 Doug Evans <dje@google.com>
16356
74b49205 16357 PR gdb/17170
b8b8facf
DE
16358 * gdb.base/maint.exp: Update testing of per-command stats.
16359
1b5d0ab3
PA
163602014-07-16 Pedro Alves <palves@redhat.com>
16361
16362 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16363 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16364 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16365 (tfile_write_buf): New functions.
16366 (add_memory_block): Rewrite using the above.
16367 (adjust_function_address): New function.
16368 (FUNCTION_ADDRESS): New macro.
16369 (write_basic_trace_file): Remove short_x local, and use
16370 tfile_write_16. Change type of func_addr local to unsigned long
16371 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16372 here. Cast argument of add_memory_block to char pointer.
16373 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16374 (main): Remove parameters.
16375 * gdb.trace/tfile.exp: Remove nowarnings.
16376
4d974e88
SM
163772014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16378
16379 * gdb.base/debug-expr.exp: Test string evaluation with
16380 "debug expression" on.
16381
41e99568
PA
163822014-07-15 Pedro Alves <palves@redhat.com>
16383
16384 * gdb.base/reread.exp: Use clean_restart.
16385
487d9753
PL
163862014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16387
16388 * gdb.arch/avr-flash-qualifer.c: New.
16389 * gdb.arch/avr-flash-qualifer.exp: New.
16390
cc1c52ad
PA
163912014-07-14 Pedro Alves <palves@redhat.com>
16392
16393 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16394 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16395
1e973570
PA
163962014-07-14 Pedro Alves <palves@redhat.com>
16397
16398 * gdb.base/double-prompt-target-event-error.c: New file.
16399 * gdb.base/double-prompt-target-event-error.exp: New file.
16400
93d6eb10
PA
164012014-07-14 Pedro Alves <palves@redhat.com>
16402
16403 PR gdb/17072
16404 * gdb.base/paginate-inferior-exit.c: New file.
16405 * gdb.base/paginate-inferior-exit.exp: New file.
16406
0017922d
PA
164072014-07-14 Pedro Alves <palves@redhat.com>
16408
16409 PR gdb/17072
16410 * gdb.base/paginate-bg-execution.c: New file.
16411 * gdb.base/paginate-bg-execution.exp: New file.
16412
94696ad3
PA
164132014-07-14 Pedro Alves <palves@redhat.com>
16414
16415 PR gdb/17072
16416 * gdb.base/paginate-execution-startup.c: New file.
16417 * gdb.base/paginate-execution-startup.exp: New file.
16418 * lib/gdb.exp (pagination_prompt): New global.
16419 (default_gdb_spawn): New procedure, factored out from
16420 default_gdb_spawn.
16421 (default_gdb_start): Adjust to call default_gdb_spawn.
16422 (gdb_spawn): New procedure.
16423
bd293940
PA
164242014-07-14 Pedro Alves <palves@redhat.com>
16425
16426 * lib/gdb.exp (gdb_assert): New procedure.
16427 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16428
c933f875
PA
164292014-07-14 Pedro Alves <palves@redhat.com>
16430
16431 * gdb.base/execution-termios.c: New file.
16432 * gdb.base/execution-termios.exp: New file.
16433
d98b7a16
TT
164342014-07-14 Tom Tromey <tromey@redhat.com>
16435
16436 * gdb.cp/vla-cxx.cc: New file.
16437 * gdb.cp/vla-cxx.exp: New file.
16438
548740d6
TT
164392014-07-14 Tom Tromey <tromey@redhat.com>
16440
16441 * gdb.reverse/rerun-prec.c: New file.
16442 * gdb.reverse/rerun-prec.exp: New file.
16443
a25eb028
MR
164442014-07-12 Maciej W. Rozycki <macro@mips.com>
16445 Maciej W. Rozycki <macro@codesourcery.com>
16446
16447 * lib/gdb-utils.exp: New file.
16448 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16449 inline `gdb_init_command' processing.
16450 (gdb_start_cmd): Likewise.
16451 * lib/mi-support.exp (mi_run_cmd): Likewise.
16452 * README: Document `gdb_init_command' and `gdb_init_commands'.
16453
218c2655
JK
164542014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16455
16456 Fix false FAIL running under a very long directory name.
16457 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16458 and "set print elements 10000". Twice.
16459
5401fde3
YQ
164602014-07-11 Yao Qi <yao@codesourcery.com>
16461
16462 * gdb.base/exprs.exp: "set print symbol off".
16463
e76126e8
PA
164642014-07-11 Pedro Alves <palves@redhat.com>
16465
16466 * gdb.threads/kill.c: New file.
16467 * gdb.threads/kill.exp: New file.
16468
2d6f0de6
YQ
164692014-07-10 Yao Qi <yao@codesourcery.com>
16470
16471 * gdb.trace/tfile.c (write_basic_trace_file)
16472 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16473 address written to trace file.
16474
7180e04a
PA
164752014-07-09 Pedro Alves <palves@redhat.com>
16476
16477 * gdb.base/attach-wait-input.exp: New file.
16478 * gdb.base/attach-wait-input.c: New file.
16479
9a9a7608
AB
164802014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16481
16482 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16483 setting up test structures.
16484 (main): Call new test function.
16485 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16486 test function, continue into test function and walk test
16487 structures.
16488
161ac41e
YQ
164892014-07-02 Yao Qi <yao@codesourcery.com>
16490
16491 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16492 'bar_start' at the beginning of functions 'foo' and 'bar'
16493 respectively.
16494 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16495 instead of 'foo' and 'bar'.
16496
1f267ae3
MM
164972014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16498
16499 * gdb.btrace/segv.exp: New.
16500 * gdb.btrace/segv.c: New.
16501
2b239efb
LM
165022014-07-02 Luis Machado <lgustavo@codesourcery.com>
16503
16504 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16505 instruction.
16506
cf363f18
MW
165072014-06-30 Mark Wielaard <mjw@redhat.com>
16508
16509 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16510 vulture, vilify, villar): New volatile array constants.
16511 (vindictive, vegetation): New const volatile array constants.
16512 * gdb.base/volatile.exp: Test volatile and const volatile array
16513 types.
16514
aebf9d24
AA
165152014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16516
16517 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16518 target lacks support for awatch, rwatch, or hbreak.
16519
b67a2c6f
YQ
165202014-06-27 Yao Qi <yao@codesourcery.com>
16521
16522 * gdb.multi/dummy-frame-restore.exp: New.
16523 * gdb.multi/dummy-frame-restore.c: New.
16524
aef92902
MM
165252014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16526
16527 * gdb.btrace/gcore.exp: New.
16528
8e9db26e
PA
165292014-06-23 Pedro Alves <palves@redhat.com>
16530
16531 * gdb.base/watchpoint-reuse-slot.c: New file.
16532 * gdb.base/watchpoint-reuse-slot.exp: New file.
16533
70afc5b7
SC
165342014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16535
16536 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16537 progspace's filename in 'info', 'enable' and 'disable' command
16538 tests.
16539
b972bd9c
JK
165402014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16541
16542 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16543 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16544 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16545
125f8a3d
GB
165462014-06-20 Gary Benson <gbenson@redhat.com>
16547
16548 * gdb.arch/i386-avx.exp: Fix include file location.
16549 * gdb.arch/i386-sse.exp: Likewise.
16550
3ed9baed
IB
165512014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16552
16553 * gdb.dlang/expression.exp: New file.
16554
034f788c
PA
165552014-06-19 Pedro Alves <palves@redhat.com>
16556
16557 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16558 out from ...
16559 (top level): ... here. Iterate running tests under different
16560 scheduler-locking settings.
16561
45371d0c
LM
165622014-06-18 Luis Machado <lgustavo@codesourcery.com>
16563
16564 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16565 to DW_FORM_addr and use non-zero addresses.
16566
5d376983
SC
165672014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16568
16569 PR gdb/17017
16570 * gdb.python/py-xmethods.cc: Add global function call counters and
16571 increment them in their respective functions. Remove "cout"
16572 statements.
16573 * gdb.python/py-xmethods.exp: Make tests check the global function
16574 call counters instead of depending on inferior IO.
16575
a1aa2221
LM
165762014-06-18 Don Breazeal <donb@codesourcery.com>
16577
16578 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16579 Deleted procedure.
16580 (explicit_fork_parent_follow): Deleted procedure.
16581 (explicit_fork_child_follow): Deleted procedure.
16582 (test_follow_fork): New procedure.
16583 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 16584 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
16585 procedure calls.
16586
0fc05997
YQ
165872014-06-17 Yao Qi <yao@codesourcery.com>
16588
16589 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16590 CP1252.
16591
70795c52
LM
165922014-06-17 Luis Machado <lgustavo@codesourcery.com>
16593
16594 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16595 Initialize ptr and S explicitly.
16596 (skip_type_update_when_not_use_rtti_test): Likewise.
16597
6be47f0c
KS
165982014-06-16 Keith Seitz <keiths@redhat.com>
16599
16600 PR mi/15863
16601 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16602 the inferior is started.
16603
d03de421
PA
166042014-06-16 Pedro Alves <palves@redhat.com>
16605
16606 * gdb.base/break-main-file-remove-fail.c: New file.
16607 * gdb.base/break-main-file-remove-fail.exp: New file.
16608 * gdb.base/break-unload-file.exp: Use build_executable instead of
16609 prepare_for_testing.
16610 (test_break): New parameter "initial_load". Handle it.
16611 (top level): Add initial_load cmdline/file axis.
16612
f9579b99
TT
166132014-06-12 Tom Tromey <tromey@redhat.com>
16614
16615 * gdb.base/completion.exp: Don't use directory name in test.
16616
3657956b
GB
166172014-06-09 Gary Benson <gbenson@redhat.com>
16618
16619 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16620 separate the always-available ANSI-standard signals from the
16621 signals that require checking.
16622 (main): Likewise.
16623 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16624 Likewise.
16625 (main): Likewise.
16626
4186eb54
KS
166272014-06-07 Keith Seitz <keiths@redhat.com>
16628
16629 Revert:
16630 PR c++/16253
16631 * gdb.cp/var-tag.cc: New file.
16632 * gdb.cp/var-tag.exp: New file.
16633 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16634 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16635 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16636 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16637
25326a28 166382014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
16639
16640 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16641
829155c9
PA
166422014-06-06 Pedro Alves <palves@redhat.com>
16643
16644 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16645 in target debug output instead of looking at RSP packets,
16646 disabling the test on any target that uses hardware stepping.
16647 Update comments.
16648
61c8d22e
PA
166492014-06-06 Pedro Alves <palves@redhat.com>
16650
16651 * gdb.base/break-unload-file.exp: Fix typo.
16652
d9a47287
YQ
166532014-06-06 Yao Qi <yao@codesourcery.com>
16654
16655 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16656 from "jit_function" to "^jit_function".
16657
e5e01dbf
YQ
166582014-06-06 Yao Qi <yao@codesourcery.com>
16659
16660 * gdb.base/async.c (foo): Add one statement.
16661 * gdb.base/async.exp: Get the next instruction address and
16662 match the output of "nexti" by instruction address. Match
16663 the hex address in the output of "finish".
16664
73ba372c
GB
166652014-06-06 Gary Benson <gbenson@redhat.com>
16666
16667 * gdb.base/call-signals.c: Remove preprocessor conditionals
16668 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16669 SIGSEGV and SIGTERM.
16670 * gdb.base/sigall.c: Likewise.
16671 * gdb.base/unwindonsignal.c: Likewise.
16672 * gdb.reverse/sigall-reverse.c: Likewise.
16673
831517df
YQ
166742014-06-06 Yao Qi <yao@codesourcery.com>
16675
16676 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16677 readable, skip the test.
16678
b8b91e98
YQ
166792014-06-06 Yao Qi <yao@codesourcery.com>
16680
16681 * gdb.threads/staticthreads.c (thread_function): Move the line
16682 setting breakpoint on forward.
16683 * gdb.threads/staticthreads.exp: Update comments.
16684
fb934770
LC
166852014-06-05 Ludovic Courtès <ludo@gnu.org>
16686
16687 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16688 "history-append! type error".
16689
6ef284bd
SM
166902014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16691
16692 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16693 erroneous dprintf expected input.
16694
a872e241
DE
166952014-06-04 Doug Evans <xdje42@gmail.com>
16696
16697 * gdb.guile/scm-generics.exp: Delete.
16698
16f691fb
DE
166992014-06-04 Doug Evans <xdje42@gmail.com>
16700
16701 * gdb.guile/scm-breakpoint.exp: Update.
16702 Add tests for breakpoint registration.
16703
012370f6
TT
167042014-06-04 Tom Tromey <tromey@redhat.com>
16705
16706 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16707 VLA-in-union.
16708 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16709 inner_vla_struct, vla_union types. Initialize objects of those
16710 types and compute their sizes.
16711
9f5a4cef
HZ
167122014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16713 Hui Zhu <hui@codesourcery.com>
16714
16715 * gdb.base/fileio.exp: Add test for shell not available as well as
16716 available.
16717 * gdb.base/fileio.c (test_system): Check for shell twice.
16718
90a45c4d
YQ
167192014-06-04 Yao Qi <yao@codesourcery.com>
16720
16721 * gdb.base/auto-connect-native-target.exp: Remove redundant
16722 space from the regexp pattern.
16723
70017e41
YQ
167242014-06-04 Yao Qi <yao@codesourcery.com>
16725
16726 * gdb.base/default.exp: Replace "child" with "native" in
16727 regexp pattern.
16728
883964a7
SC
167292014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16730
16731 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16732 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16733 * gdb.python/py-xmethods.py: Python script supporting the
16734 new testcase and tests.
16735
ef370185
JB
167362014-06-03 Joel Brobecker <brobecker@adacore.com>
16737 Pedro Alves <palves@redhat.com>
16738
16739 PR breakpoints/17000
16740 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16741 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16742
1e2ccb61
BM
167432014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16744
16745 * gdb.base/subst.exp: Add tests to verify partial path matching
16746 output.
16747
c6ec5ab2
PA
167482014-06-03 Pedro Alves <palves@redhat.com>
16749
16750 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16751 target that doesn't use software single-stepping.
16752
835c559f
PA
167532014-06-03 Pedro Alves <palves@redhat.com>
16754
16755 PR breakpoints/17000
16756 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16757 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16758
06eb1586
DE
167592014-06-02 Doug Evans <xdje42@gmail.com>
16760
16761 * gdb.guile/scm-parameter.exp: New file.
16762
e698b8c4
DE
167632014-06-02 Doug Evans <xdje42@gmail.com>
16764
16765 * gdb.guile/scm-cmd.c: New file.
16766 * gdb.guile/scm-cmd.exp: New file.
16767
ded03782
DE
167682014-06-02 Doug Evans <xdje42@gmail.com>
16769
16770 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16771 pretty-printer lookup.
16772 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16773 (make-pp_s-printer): Call it.
16774 (make-pretty-printer-from-dict): New function.
16775 (lookup-pretty-printer-maker-from-dict): New function.
16776 (*pretty-printer*): Simplify.
16777 (make-objfile-pp_s-printer): New function.
16778 (install-objfile-pretty-printers!): New function.
16779 (make-progspace-pp_s-printer): New function.
16780 (install-progspace-pretty-printers!): New function.
16781 * gdb.guile/scm-progspace.c: New file.
16782 * gdb.guile/scm-progspace.exp: New file.
16783
41fac0cf
PA
167842014-06-02 Pedro Alves <palves@redhat.com>
16785
16786 * gdb.base/dprintf-bp-same-addr.c: New file.
16787 * gdb.base/dprintf-bp-same-addr.exp: New file.
16788
96ae5695
EBM
167892014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16790
16791 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16792 * gdb.arch/powerpc-power.s: Likewise.
16793
da02b3a8
JB
167942014-06-02 Joel Brobecker <brobecker@adacore.com>
16795
16796 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16797
c72b2e7b
YQ
167982014-06-01 Yao Qi <yao@codesourcery.com>
16799
16800 * gdb.base/watchpoint.exp (test_watch_location): Check null
16801 pointer can be dereferenced. If not, do the test, otherwise
16802 skip it.
16803
53e8a631
AB
168042014-05-30 Andrew Burgess <aburgess@broadcom.com>
16805
16806 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16807 results.
16808 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16809
938f0e2f
AB
168102014-05-30 Andrew Burgess <aburgess@broadcom.com>
16811
16812 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16813 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16814 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16815 * gdb.arch/amd64-invalid-stack-top.c: New file.
16816 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16817
9ba6657a
PA
168182014-05-30 Pedro Alves <palves@redhat.com>
16819
16820 PR breakpoints/17000
16821 * gdb.base/sss-bp-on-user-bp.c: New file.
16822 * gdb.base/sss-bp-on-user-bp.exp: New file.
16823
522c09bf
DB
168242014-05-30 David Blaikie <dblaikie@gmail.com>
16825
16826 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16827 gnu_inline semantics via attribute.
16828 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16829 source explicitly specifies the required semantics.
16830
bf4ef81e
MR
168312014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16832
16833 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16834
329ea579
PA
168352014-05-29 Pedro Alves <palves@redhat.com>
16836 Tom Tromey <tromey@redhat.com>
16837
16838 * gdb.base/async-shell.exp: Don't enable target-async.
16839 * gdb.base/async.exp
16840 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16841 parameter. Adjust.
16842 (top level): Don't test with "target-async".
16843 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16844 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16845 * gdb.base/inferior-died.exp: Don't enable target-async.
16846 * gdb.base/interrupt-noterm.exp: Likewise.
16847 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16848 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16849 * gdb.mi/mi-nonstop.exp: Likewise.
16850 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16851 * gdb.mi/mi-nsintrall.exp: Likewise.
16852 * gdb.mi/mi-nsmoribund.exp: Likewise.
16853 * gdb.mi/mi-nsthrexec.exp: Likewise.
16854 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16855 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16856 * gdb.python/py-evsignal.exp: Don't enable target-async.
16857 * gdb.python/py-evthreads.exp: Likewise.
16858 * gdb.python/py-prompt.exp: Likewise.
16859 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16860 * gdb.server/solib-list.exp: Don't enable target-async.
16861 * gdb.threads/thread-specific-bp.exp: Likewise.
16862 * lib/mi-support.exp: Adjust to use mi-async.
16863
fd664c91
PA
168642014-05-29 Pedro Alves <palves@redhat.com>
16865
16866 PR gdb/13860
16867 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16868 reason, even in sync mode.
16869
251bde03
PA
168702014-05-29 Pedro Alves <palves@redhat.com>
16871 Hui Zhu <hui@codesourcery.com>
16872
16873 PR PR15693
16874 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16875 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16876 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16877 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16878
7f3c0343
JB
168792014-05-28 Joel Brobecker <brobecker@adacore.com>
16880
16881 * config/monitor.exp (gdb_target_monitor): Replace use of
16882 "set remotebaud" by "set serial baud".
16883
b2715b27
AW
168842014-05-26 Andy Wingo <wingo@igalia.com>
16885
16886 * gdb.guile/scm-breakpoint.exp:
16887 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16888 properties instead of gdb-object-properties.
16889
498a4489
YQ
168902014-05-26 Yao Qi <yao@codesourcery.com>
16891
16892 * gdb.server/no-thread-db.exp: Specify source file name
16893 explicitly when setting a breakpoint.
16894
589fdceb
MM
168952014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16896
16897 * gdb.btrace/vdso.c: New.
16898 * gdb.btrace/vdso.exp: New.
16899
e9089e05
MM
169002014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16901
16902 * gdb.base/gcore.exp (capture_command_output): Move ...
16903 * lib/gdb.exp (capture_command_output): ... here.
16904
67b5c0c1
MM
169052014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16906
16907 * gdb.btrace/data.exp: Test memory access during btrace replay.
16908
a2199296
SM
169092014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16910
16911 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16912
17b2616c
PA
169132014-05-21 Pedro Alves <palves@redhat.com>
16914
16915 PR gdb/13860
16916 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16917 (top level): Test that output related to execution commands is
16918 sent to the console with CLI commands, but not with MI commands.
16919 Test that breakpoint events are always mirrored to the console.
16920 Also expect the new source line to be output after a "next" in
16921 async mode too. Make it a pass/fail test.
16922 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16923 output.
16924 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16925
5166082f
PA
169262014-05-21 Pedro Alves <palves@redhat.com>
16927
16928 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16929 Use them to test variations of "list" after reaching a breakpoint.
16930 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16931 Test "list" with listsize 10 after reaching a breakpoint.
16932 * gdb.python/python.exp (decode_line current location line
16933 number): Adjust expected line number.
16934
2f25d70f
SM
169352014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16936
16937 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16938 behavior for $args, pass it directly to "run".
16939
ff604a67
MR
169402014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16941
16942 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16943 30000 to 65536.
16944
6a3cb8e8
PA
169452014-05-21 Pedro Alves <palves@redhat.com>
16946
16947 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16948 auto-connect-native-target off".
16949 * gdb.base/auto-connect-native-target.c: New file.
16950 * gdb.base/auto-connect-native-target.exp: New file.
16951
4ebfc96e
PA
169522014-05-21 Pedro Alves <palves@redhat.com>
16953
16954 * gdb.base/default.exp: Test "target native" instead of "target
16955 child".
16956
36d46afb
MW
169572014-05-21 Mark Wielaard <mjw@redhat.com>
16958
16959 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16960
5876f503
JK
169612014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16962
16963 Fix TLS access for -static -pthread.
16964 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16965 <HAVE_TLS> (thread_function, main): Initialize it.
16966 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16967 Add clean_restart.
16968 <$have_tls != "">: Check TLSVAR.
16969
0256a6ac
PA
169702014-05-21 Pedro Alves <palves@redhat.com>
16971
16972 * gdb.base/dcache-line-read-error.c: New.
16973 * gdb.base/dcache-line-read-error.exp: New.
16974
936d2992
PA
169752014-05-20 Pedro Alves <palves@redhat.com>
16976
16977 * gdb.base/compare-sections.c: New file.
16978 * gdb.base/compare-sections.exp: New file.
16979
802e8e6d
PA
169802014-05-20 Pedro Alves <palves@redhat.com>
16981
16982 * gdb.base/break-idempotent.c: New file.
16983 * gdb.base/break-idempotent.exp: New file.
16984
e59fa00f
MM
169852014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16986
16987 * gdb.btrace/nohist.exp: New.
16988
8b696e31
YQ
169892014-05-20 Yao Qi <yao@codesourcery.com>
16990
16991 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16992 gdb.reverse directory and gdb_reverse_timeout exists in board
16993 setting.
16994 * README: Document gdb_reverse_timeout.
16995
73c9764f
YQ
169962014-05-20 Yao Qi <yao@codesourcery.com>
16997
16998 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16999 'test_file_name'. Treat args as a string instead of a list.
17000 (gdb_init): Rename argument 'args' by 'test_file_name'.
17001
f1f4348a
JK
170022014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17003
17004 * gdb.arch/powerpc-power.exp: New file.
17005 * gdb.arch/powerpc-power.s: New file.
17006
0dbe70ce
DE
170072014-05-16 Doug Evans <dje@google.com>
17008
17009 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
17010 * gdb.base/completion.exp: Check that all expected files exist
17011 before doing file completion.
0dbe70ce 17012
8d551b02
DE
170132014-05-16 Doug Evans <dje@google.com>
17014
17015 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17016 Update.
17017 (do_syscall_tests_without_xml): Update.
17018
73eb7709
PA
170192014-05-16 Pedro Alves <palves@redhat.com>
17020
17021 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17022 instead of "unknown output after running".
17023
3fae92fc
YQ
170242014-05-16 Yao Qi <yao@codesourcery.com>
17025
17026 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17027 file1.txt from host at the end.
17028 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17029
c2b2ccc5
DE
170302014-05-15 Doug Evans <dje@google.com>
17031
17032 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17033 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17034 loading file. Add test for TU lookup.
17035
8c217a4b
SM
170362014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17037
17038 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17039 calling "-exec-arguments" or "set args" before running the
17040 inferior.
17041
3deb39c6
SM
170422014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17043
17044 * lib/mi-support.exp (mi_expect_stop): Expect message for
17045 inferiors that exit with non-zero exit code.
17046
71a79f8c
YQ
170472014-05-14 Yao Qi <yao@codesourcery.com>
17048
17049 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17050 match absolute path on remote host.
17051 (test_file_list_exec_source_files): Remove "/" from the
17052 pattern.
17053
f23fcd46
YQ
170542014-05-14 Yao Qi <yao@codesourcery.com>
17055
17056 * boards/local-remote-host-notty.exp (${board}_file): New
17057 proc.
17058
9404b58f
KM
170592014-05-07 Kyle McMartin <kyle@redhat.com>
17060
17061 Pushed by Joel Brobecker <brobecker@adacore.com>.
17062 * gdb.arch/aarch64-atomic-inst.c: New file.
17063 * gdb.arch/aarch64-atomic-inst.exp: New file.
17064
5e45f04c
YQ
170652014-05-07 Yao Qi <yao@codesourcery.com>
17066
17067 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17068 in current context" too.
17069
c888a17d
KS
170702014-05-05 Keith Seitz <keiths@redhat.com>
17071
17072 * gdb.linespec/ls-dollar.exp: Add test for linespec
17073 file:convenience_variable.
17074
290a839c
YQ
170752014-05-05 Yao Qi <yao@codesourcery.com>
17076
17077 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17078 traceframes into tfile and ctf trace files. Read data from
17079 trace file and test collected data.
17080 (gdb_collect_locals_test): Likewise.
17081 (gdb_unavailable_registers_test): Likewise.
17082 (gdb_unavailable_floats): Likewise.
17083 (gdb_collect_globals_test): Likewise.
17084 (top-level): Append "ctf" to trace_file_targets if GDB
17085 supports.
17086
b5262cd0
YQ
170872014-05-05 Yao Qi <yao@codesourcery.com>
17088
17089 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17090 code to ...
17091 (gdb_collect_args_test_1): ... it. New proc.
17092 (gdb_collect_locals_test): Move some code to ...
17093 (gdb_collect_locals_test_1): ... it. New proc.
17094 (gdb_unavailable_registers_test): Move some code to ...
17095 (gdb_unavailable_registers_test_1): ... it. New proc.
17096 (gdb_unavailable_floats): Move some code to ...
17097 (gdb_unavailable_floats_1): ... it. New proc.
17098
30a1e6cc
SDJ
170992014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17100
17101 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17102 probes to test for bitness recognition.
17103 * gdb.arch/amd64-stap-optional-prefix.exp
17104 (test_probe_value_without_reg): New procedure.
17105 Add code to test for different kinds of bitness.
17106
f33da99a
SDJ
171072014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17108
17109 PR breakpoints/16889
17110 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17111 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17112
5b80f00d
PA
171132014-05-01 Pedro Alves <palves@redhat.com>
17114
17115 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17116 gdb_file_cmd if no file is specified.
17117 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17118 last_loaded_file to set the remote exec-file.
17119
f8c2a73c
PA
171202014-05-01 Pedro Alves <palves@redhat.com>
17121
17122 * boards/local-remote-host.exp: New file.
17123
be6e8ac7
PA
171242014-05-01 Pedro Alves <palves@redhat.com>
17125
17126 * boards/local-remote-host.exp: Rename to ...
17127 * boards/local-remote-host-notty.exp: ... this.
17128
cac0dc8f
JB
171292014-04-28 Joel Brobecker <brobecker@adacore.com>
17130
17131 * gdb.ada/dyn_arrayidx: New testcase.
17132
9730e6cc
YQ
171332014-04-26 Yao Qi <yao@codesourcery.com>
17134
17135 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17136 and compute the length of function main. Save it in
17137 $main_length.
17138 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17139 (top-level): Use gdb_compile to compile objects into
17140 executable and restart GDB. Remove invocation to
17141 prepare_for_testing.
17142
7ae1a6a6
PA
171432014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17144 Pedro Alves <palves@redhat.com>
17145
17146 PR server/16255
17147 * gdb.multi/multi-attach.c: New file.
17148 * gdb.multi/multi-attach.exp: New file.
17149
4082afcc
PA
171502014-04-25 Pedro Alves <palves@redhat.com>
17151
17152 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17153 user.
17154 (top level): Test that "set remote conditional-breakpoints-packet
17155 off" works as intended.
17156 * gdb.base/dprintf.exp: Test that "set remote
17157 breakpoint-commands-packet off" works as intended.
17158 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17159 New function.
17160 (top level): Call it.
17161 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17162 remote fast-tracepoints-packet off" works as intended.
17163 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17164 * lib/gdb.exp (gdb_is_target_remote): ... here.
17165
2abc3f8d
DB
171662014-04-24 David Blaikie <dblaikie@gmail.com>
17167
17168 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17169 ensure clang would not discard them.
17170 * gdb.base/gdbvars.c: Ditto.
17171 * gdb.base/memattr.c: Ditto.
17172 * gdb.base/whatis.c: Ditto.
17173 * gdb.python/py-prettyprint.c: Ditto.
17174 * gdb.trace/actions.c: Ditto.
17175 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17176 ensure clang would not discard it.
17177
bfd39632
DB
171782014-04-24 David Blaikie <dblaikie@gmail.com>
17179
17180 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17181 clang to emit the full definition of type required by the test
17182 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17183
22842ff6
DB
171842014-04-24 David Blaikie <dblaikie@gmail.com>
17185
17186 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17187 coax Clang into emitting the definition of the type.
17188 * gdb.cp/pr10728-x.h (y): Ditto.
17189 * gdb.cp/pr10728-y.cc (y): Ditto.
17190
c2e827ad
DB
171912014-04-24 David Blaikie <dblaikie@gmail.com>
17192
17193 * gdb.base/label.exp: XFAIL label related tests under Clang.
17194 * gdb.cp/cplabel.exp: Ditto.
17195 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17196 under Clang those using labels.
17197
4c2d33e7
YQ
171982014-04-25 Yao Qi <yao@codesourcery.com>
17199
17200 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17201 double_label.
17202 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17203 partial_label and double_label.
17204
56083b99
DB
172052014-04-24 David Blaikie <dblaikie@gmail.com>
17206
17207 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17208
25d4e99d
DB
172092014-04-24 David Blaikie <dblaikie@gmail.com>
17210
17211 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17212 of the function to work across GCC and Clang.
17213 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17214 pointer types (const void ** const V void **).
17215
01f9f808
MS
172162014-04-24 Michael Sturm <michael.sturm@mintel.com>
17217 Walfred Tedeschi <walfred.tedeschi@intel.com>
17218
17219 * Makefile.in (EXECUTABLES): Added i386-avx512.
17220 * gdb.arch/i386-avx512.c: New file.
17221 * gdb.arch/i386-avx512.exp: Likewise.
17222
4b48d439
KS
172232014-04-23 Keith Seitz <keiths@redhat.com>
17224
17225 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17226 (mi_make_breakpoint_table): New procedure.
17227 (mi_create_breakpoint): Use mi_make_breakpoint
17228 and return the result.
17229 (mi_make_breakpoint): New procedure.
17230 (mi_build_kv_pairs): New procedure.
17231
17232 * gdb.mi/mi-break.exp: Remove unused globals,
17233 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17234 All callers updated.
17235 * gdb.mi/mi-dprintf.exp: Use variable to track command
17236 number.
17237 Update all callers of mi_create_breakpoint and use
17238 mi_make_breakpoint_table.
17239 Remove any unused global variables.
17240 * gdb.mi/mi-nonstop.exp: Likewise.
17241 * gdb.mi/mi-nsintrall.exp: Likewise.
17242 * gdb.mi/mi-nsmoribund.exp: Likewise.
17243 * gdb.mi/mi-nsthrexec.exp: Likewise.
17244 * gdb.mi/mi-reverse.exp: Likewise.
17245 * gdb.mi/mi-simplerun.exp: Likewise.
17246 * gdb.mi/mi-stepn.exp: Likewise.
17247 * gdb.mi/mi-syn-frame.exp: Likewise.
17248 * gdb.mi/mi-until.exp: Likewise.
17249 * gdb.mi/mi-var-cp.exp: Likewise.
17250 * gdb.mi/mi-var-display.exp: Likewise.
17251 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17252 * gdb.mi/mi2-var-child.exp: Likewise.
17253 * gdb.mi/mi-vla-c99.exp: Likewise.
17254 * lib/mi-support.exp: Likewise.
17255
17256 From Ian Lance Taylor <iant@cygnus.com>:
17257 * lib/gdb.exp (parse_args): New procedure.
17258
08351840
PA
172592014-04-23 Pedro Alves <palves@redhat.com>
17260
17261 * gdb.base/break-unload-file.c: New file.
17262 * gdb.base/break-unload-file.exp: New file.
17263 * gdb.base/sym-file-lib.c (baz): New function.
17264 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17265 field.
17266 (load): Store the segment's mapped size.
17267 (unload): New function.
17268 (unload_shlib): New function.
17269 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17270 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17271 set a breakpoint at baz, and call it.
17272 * gdb.base/sym-file.exp: New tests for stale breakpoint
17273 instructions.
17274
076855f9
PA
172752014-04-23 Pedro Alves <palves@redhat.com>
17276
17277 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17278 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17279 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17280 * gdb.base/hbreak-unmapped.c: New file.
17281 * gdb.base/hbreak-unmapped.exp: New file.
17282 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17283 * lib/gdb.exp (gdb_is_target_remote): ... here.
17284
483805cf
PA
172852014-04-22 Pedro Alves <palves@redhat.com>
17286
17287 * gdb.base/consecutive-step-over.c: New file.
17288 * gdb.base/consecutive-step-over.exp: New file.
17289
06d97543
PA
172902014-04-22 Pedro Alves <palves@redhat.com>
17291
17292 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17293 instead of send_gdb/gdb_expect.
17294
b4429ea2
YQ
172952014-04-22 Yao Qi <yao@codesourcery.com>
17296
17297 * lib/trace-support.exp (generate_tracefile): New procedure.
17298 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17299 return 0.
17300 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17301 if generate_tracefile returns 1.
17302
51d48146
PA
173032014-04-18 Tom Tromey <palves@redhat.com>
17304 Pedro alves <tromey@redhat.com>
17305
17306 PR backtrace/15558
17307 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17308 with a backtrace limit.
17309 * gdb.python/py-frame-inline.exp: Test running to an inline
17310 function with a backtrace limit, and printing the newest frame.
17311 * gdb.python/py-frame-inline.c (main): Call f.
17312
bd1dce5f
MS
173132014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17314
17315 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17316
40d1a503
MS
173172014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17318
17319 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17320 Drop prefix from unsupported source file path.
17321
389b98f7
YQ
173222014-04-17 Yao Qi <yao@codesourcery.com>
17323
17324 * lib/gdb.exp (with_target_charset): New proc.
17325 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17326 with_target_charset.
17327 (test_print_strings): Likewise.
17328 (test_repeat_bytes): Likewise.
17329 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17330 for some tests.
17331
22869d73
KS
173322014-04-16 Keith Seitz <keiths@redhat.com>
17333
17334 PR gdb/15827
17335 * gdb.dwarf2/corrupt.c: New file.
17336 * gdb.dwarf2/corrupt.exp: New file.
17337
c4f87ca6
KS
173382014-04-16 Keith Seitz <keiths@redhat.com>
17339
17340 PR c++/16597
17341 * gdb.cp/namelessclass.cc: New file.
17342 * gdb.cp/namelessclass.exp: New file.
17343 * gdb.cp/namelessclass.S: New file.
17344
ab19de87
DE
173452014-04-16 Doug Evans <dje@google.com>
17346
17347 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17348 Add comment.
17349 (gdbserver_default_get_comm_port): New function.
17350 (gdbserver_start): Check if board file provided
17351 "gdbserver,get_comm_port" and use it if so.
17352 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17353 (gdb,socketport): Set to "stdio".
17354 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17355 (stdio_gdbserver_template): Delete.
17356 (${board}_get_remote_address): Update.
17357 (${board}_build_remote_cmd): Delete.
17358 (${board}_get_comm_port): New function.
17359 (${board}_spawn): Update.
17360 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17361 Delete.
17362 (${board}_get_remote_address): Update.
17363 (${board}_get_comm_port): New function.
17364
fc98a809
AB
173652014-04-16 Andrew Burgess <aburgess@broadcom.com>
17366
17367 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17368 appearing in any order.
17369
87fd9e6e
DE
173702014-04-15 Doug Evans <dje@google.com>
17371
17372 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17373 uninitialized value of "description".
17374
099fc3ea
KS
173752014-04-15 Keith Seitz <keiths@redhat.com>
17376
17377 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17378 Remove unused globals.
17379 (test_running_the_program): Likewise.
17380 (test_controlled_execution): Likewise.
17381 (test_controlling_breakpoints): Likewise.
17382 (test_program_termination): Likewise.
17383
5da151d4
KS
173842014-04-15 Keith Seitz <keiths@redhat.com>
17385
17386 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17387 unused globals.
17388 (test_rbreak_creation_and_listing): Likewise.
17389 (test_ignore_count): Likewise.
17390 (test_error): Likewise.
17391
35e5d2f0
PA
173922014-04-15 Pedro Alves <palves@redhat.com>
17393
17394 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17395 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17396 sym-file-loader.c.
17397 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17398 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17399 to sym-file-loader.c.
17400 (struct library): Forward declare.
17401 (load_shlib, lookup_function): Change prototypes.
17402 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17403 (translate_offset): Remove declarations.
17404 (get_text_addr): New declaration.
17405 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17406 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17407 sym-file-loader.h.
17408 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17409 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17410 here from sym-file-loader.h.
17411 (struct library): New structure.
17412 (load_shlib, lookup_function): Change prototypes and adjust to
17413 work with a struct library.
17414 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17415 (translate_offset): Make static.
17416 (get_text_addr): New function.
17417 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17418
eb4c1710
PA
174192014-04-15 Pedro Alves <palves@redhat.com>
17420
17421 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17422
2d1baf52
PA
174232014-04-15 Pedro Alves <palves@redhat.com>
17424
17425 * gdb.base/sym-file-loader.c: Include <limits.h>.
17426 (SELF_LINK): New define.
17427 (get_origin): New function.
17428 (load_shlib): Use it.
17429 * gdb.base/sym-file.exp: Don't early return if the target is
17430 remote. Use runto_main, and issue fail is that fails. Use
17431 gdb_load_shlibs.
17432 (shlib_name): Delete.
17433 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17434
7dd6df01
PA
174352014-04-15 Pedro Alves <palves@redhat.com>
17436
17437 * gdb.base/sym-file.exp: Remove regex characters from test
17438 message. Don't refer to breakpoint numbers in test messages.
17439
b50c8614
KS
174402014-04-14 Keith Seitz <keiths@redhat.com>
17441
17442 PR c++/16253
17443 * gdb.cp/var-tag.cc: New file.
17444 * gdb.cp/var-tag.exp: New file.
17445 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17446 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17447 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17448 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17449
3d567982
TT
174502014-04-14 Tom Tromey <tromey@redhat.com>
17451
17452 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17453 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17454 type.
17455 * gdb.cp/enum-class.exp: New file.
17456 * gdb.cp/enum-class.cc: New file.
17457
0626fc76
TT
174582014-04-14 Tom Tromey <tromey@redhat.com>
17459
17460 * gdb.dwarf2/enum-type.exp: New file.
17461
dca325b3
SA
174622014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17463
17464 * gdb.mi/mi-vla-c99.exp: New file.
17465 * gdb.mi/vla.c: New file.
17466
5854b38a
SA
174672014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17468
17469 * gdb.base/vla-datatypes.c: New file.
17470 * gdb.base/vla-datatypes.exp: New file.
17471
463bb957
SA
174722014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17473
17474 * gdb.base/vla-ptr.c: New file.
17475 * gdb.base/vla-ptr.exp: New file.
17476
3dd170be
SA
174772014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17478
17479 * gdb.dwarf2/count.exp: New file.
17480
5ecaaa66
SA
174812014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17482
17483 * gdb.base/vla-sideeffect.c: New file.
17484 * gdb.base/vla-sideeffect.exp: New file.
17485
41f1ada5
DB
174862014-04-14 David Blaikie <dblaikie@gmail.com>
17487
17488 * gdb.mi/non-stop.c: Add return value for non-void function return
17489 statement.
17490 * gdb.threads/staticthreads.c: Ditto.
17491
0be03e84
DE
174922014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17493 Doug Evans <xdje42@gmail.com>
17494
17495 * gdb.guile/scm-value.c: Improve test case.
17496 * gdb.guile/scm-value.exp: Add new test.
17497
f180a1fb
DB
174982014-04-11 David Blaikie <dblaikie@gmail.com>
17499
17500 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17501 override Clang's default.
17502
6b662e19
JB
175032014-04-11 Joel Brobecker <brobecker@adacore.com>
17504
17505 Revert the following changes (regressions):
17506
17507 * gdb.base/vla-sideeffect.c: New file.
17508 * gdb.base/vla-sideeffect.exp: New file.
17509
17510 * gdb.dwarf2/count.exp: New file.
17511
17512 * gdb.base/vla-multi.c: New file.
17513 * gdb.base/vla-multi.exp: New file.
17514
17515 * gdb.base/vla-ptr.c: New file.
17516 * gdb.base/vla-ptr.exp: New file.
17517
17518 * gdb.base/vla-datatypes.c: New file.
17519 * gdb.base/vla-datatypes.exp: New file.
17520
17521 * gdb.mi/mi-vla-c99.exp: New file.
17522 * gdb.mi/vla.c: New file.
17523
245a5f0b
KS
175242014-04-11 Keith Seitz <keiths@redhat.com>
17525
17526 PR c++/16675
17527 * gdb.cp/cpsizeof.exp: New file.
17528 * gdb.cp/cpsizeof.cc: New file.
17529
58a84dcf
SA
175302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17531
191a8a90
JB
17532 * gdb.mi/mi-vla-c99.exp: New file.
17533 * gdb.mi/vla.c: New file.
58a84dcf 17534
c8655f75
SA
175352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17536
17537 * gdb.base/vla-datatypes.c: New file.
17538 * gdb.base/vla-datatypes.exp: New file.
17539
024e13b4
SA
175402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17541
17542 * gdb.base/vla-ptr.c: New file.
17543 * gdb.base/vla-ptr.exp: New file.
17544
1a237e0e
SA
175452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17546
17547 * gdb.base/vla-multi.c: New file.
17548 * gdb.base/vla-multi.exp: New file.
17549
504f3432
SA
175502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17551
17552 * gdb.dwarf2/count.exp: New file.
17553
3bce8237
SA
175542014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17555
191a8a90
JB
17556 * gdb.base/vla-sideeffect.c: New file.
17557 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 17558
322f9c21
YQ
175592014-04-11 Yao Qi <yao@codesourcery.com>
17560
17561 * gdb.base/completion.exp: Check file exists before running tests
17562 on file completion.
17563
d708bcd1
PA
175642014-04-10 Pedro Alves <palves@redhat.com>
17565
17566 * gdb.base/cond-eval-mode.c: New file.
17567 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17568 prepare_for_testing to build the new file. Check result of
17569 runto_main.
17570 (test_break, test_watch): New procedures.
17571 (top level): Use them.
17572
ae1d2761
PM
175732014-04-08 Pierre Muller <muller@sourceware.org>
17574
17575 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17576 Ctrl-V use for mingw hosts.
17577
7af389b8
SC
175782014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17579
17580 * gdb.python/py-value.c: Improve test case.
17581 * gdb.python/py-value.exp: Add new test.
17582
5e703181
DE
175832014-04-07 David Blaikie <dblaikie@gmail.com>
17584
17585 * lib/compiler.c: Identify the clang compiler.
17586 * lib/compiler.cc: Ditto.
17587
9810b410
YQ
175882014-04-03 Yao Qi <yao@codesourcery.com>
17589
17590 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17591
98d1b8dc
AB
175922014-04-01 Anton Blanchard <anton@samba.org>
17593
17594 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17595 messages unique.
17596
3114cea1
AB
175972014-04-01 Anton Blanchard <anton@samba.org>
17598
17599 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17600 prepare_for_testing.
17601
62f7182c
AB
176022014-04-01 Anton Blanchard <anton@samba.org>
17603
17604 * gdb.arch/ppc64-atomic-inst.c: Remove.
17605 * gdb.arch/ppc64-atomic-inst.S: New file.
17606 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17607
770e7fc7
DE
176082014-03-31 Doug Evans <dje@google.com>
17609
17610 * gdb.base/print-symbol-loading-lib.c: New file.
17611 * gdb.base/print-symbol-loading-main.c: New file.
17612 * gdb.base/print-symbol-loading.exp: New file.
17613
46e2bafa
YQ
176142014-03-31 Yao Qi <yao@codesourcery.com>
17615
17616 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17617
8776cfe9
JB
176182014-03-28 Joel Brobecker <brobecker@adacore.com>
17619
17620 * gdb.ada/mi_dyn_arr: New testcase.
17621
5d1ef361
DE
176222014-03-27 Doug Evans <dje@google.com>
17623
17624 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17625
b5bee914
YQ
176262014-03-27 Yao Qi <yao@codesourcery.com>
17627
17628 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17629 if target is nios2-*-*.
17630
0d4d0e77
YQ
176312014-03-26 Yao Qi <yao@codesourcery.com>
17632
17633 * lib/gdb.exp (readline_is_used): New proc.
17634 * gdb.base/completion.exp: Move tests on command complete up.
17635 Skip the rest of tests if readline is not used.
17636 * gdb.ada/complete.exp: Skp the test if readline is not
17637 used.
17638 * gdb.base/filesym.exp: Likewise.
17639 * gdb.base/macscp.exp: Likewise.
17640 * gdb.base/readline-ask.exp: Likewise.
17641 * gdb.base/readline.exp: Likewise.
17642 * gdb.python/py-cmd.exp: Likewise.
17643 * gdb.trace/tfile.exp: Likewise.
17644
29361eee
YQ
176452014-03-26 Yao Qi <yao@codesourcery.com>
17646
17647 * gdb.base/macscp.exp: Fix code format issues.
17648
bc9a5525
UW
176492014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17650
17651 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17652 * gdb.asm/powerpc64le.inc: New file.
17653
d3839ede
PA
176542014-03-25 Pedro Alves <palves@redhat.com>
17655 Doug Evans <dje@google.com>
17656
17657 * gdb.base/source-execution.c: New file.
17658 * gdb.base/source-execution.exp: New file.
17659 * gdb.base/source-execution.gdb: New file.
17660
01672a57
DE
176612014-03-24 Doug Evans <dje@google.com>
17662
17663 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17664 using fission.
17665
88bbeca9
HZ
176662014-03-24 Hui Zhu <hui@codesourcery.com>
17667 Pedro Alves <palves@redhat.com>
17668
17669 PR breakpoints/16101
17670 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17671 test pass/fail messages. Detect missing support for dprintf when
17672 breakpoints are actually inserted.
17673 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17674 breakpoints are actually inserted.
17675 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17676 fails.
17677
d2348791
JK
176782014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17679
17680 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17681
feef67ab
DE
176822014-03-22 Doug Evans <xdje42@gmail.com>
17683
17684 * gdb.python/python.exp (python not supported): Verify multi-line
17685 python command issues an error.
25d743f9 17686 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 17687 guile command issues an error.
feef67ab 17688
ecebef6a
MR
176892014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17690
17691 * gdb.threads/thread-specific.exp: Handle the lack of usable
17692 $this_breakpoint and $this_thread.
17693
ccdd1909
HZ
176942014-03-21 Hui Zhu <hui@codesourcery.com>
17695
17696 * gdb.base/attach.exp (do_command_attach_tests): New.
17697
beb460e8
PA
176982014-03-20 Tom Tromey <tromey@redhat.com>
17699 Pedro Alves <palves@redhat.com>
17700
17701 PR cli/15718
17702 * gdb.base/condbreak-call-false.c: New file.
17703 * gdb.base/condbreak-call-false.exp: New file.
17704
40acf43a
PA
177052014-03-20 Pedro Alves <palves@redhat.com>
17706
17707 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17708 Delete.
17709 (block_signals, unblock_signals): Delete.
17710 (child_function_2, main): Remove references to deleted variable
17711 and functions.
17712
9f5e1e02
PA
177132014-03-20 Pedro Alves <palves@redhat.com>
17714
17715 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17716 Use pthread_kill to signal thread 2.
17717 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17718 Adjust to make the test send itself a signal rather than using the
17719 host's "kill" command.
17720
99619bea
PA
177212014-03-20 Pedro Alves <palves@redhat.com>
17722
17723 * gdb.threads/multiple-step-overs.c: New file.
17724 * gdb.threads/multiple-step-overs.exp: New file.
17725 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17726 Adjust expected infrun debug output.
17727
2adfaa28
PA
177282014-03-20 Pedro Alves <palves@redhat.com>
17729
17730 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17731 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17732
31e77af2
PA
177332014-03-20 Pedro Alves <palves@redhat.com>
17734
17735 PR breakpoints/7143
17736 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17737 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17738 of gdb_test_multiple.
17739 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17740 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17741
b9f437de
PA
177422014-03-20 Pedro Alves <palves@redhat.com>
17743
17744 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17745 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17746
05adc73e
PA
177472014-03-19 Pedro Alves <palves@redhat.com>
17748
17749 * gdb.base/async.exp: Remove early return.
17750
6048b950
PA
177512014-03-19 Pedro Alves <palves@redhat.com>
17752
17753 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17754
8bcfb00a
PA
177552014-03-19 Pedro Alves <palves@redhat.com>
17756
17757 * gdb.base/async.exp (test_background): Expect \r\n after
17758 "completed." in the fail pattern.
17759
884e37dc
PA
177602014-03-19 Pedro Alves <palves@redhat.com>
17761
17762 * gdb.base/async.exp (test_background): New procedure.
17763 Use it for all background execution command tests.
17764
148e57e2
PA
177652014-03-19 Pedro Alves <palves@redhat.com>
17766
17767 * gdb.base/async.exp: Use prepare_for_testing.
17768
f48088c7
PA
177692014-03-19 Pedro Alves <palves@redhat.com>
17770
17771 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17772 the same line.
17773
e2f6c966
PA
177742014-03-19 Pedro Alves <palves@redhat.com>
17775
17776 * gdb.base/async.c (main): Add "jump here" and "until here" line
17777 marker comments.
17778 * gdb.base/async.exp (jump_here): New global.
17779 (jump& test): Use it.
17780 (until_here): New global.
17781 (until& test): Use it.
17782
c30568d4
PA
177832014-03-19 Pedro Alves <palves@redhat.com>
17784
17785 * gdb.base/async.exp: Don't frob gdb_protocol.
17786
0172b6a7
DE
177872014-03-18 Doug Evans <xdje42@gmail.com>
17788
17789 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17790 Fix spelling of exec-done-display.
17791
06c868a8
JK
177922014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17793
17794 PR gdb/15358
17795 * gdb.base/gdb-sigterm.c: New file.
17796 * gdb.base/gdb-sigterm.exp: New file.
17797
0c7e1a46
PA
177982014-03-18 Pedro Alves <palves@redhat.com>
17799
17800 PR gdb/13860
17801 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17802 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17803 solib-event.
17804
f7c77d93
JB
178052014-03-17 Joel Brobecker <brobecker@adacore.com>
17806
17807 * gdb.ada/pckd_arr_ren: New testcase.
17808
5a1e8c7a
DE
178092014-03-13 Doug Evans <xdje42@gmail.com>
17810
17811 PR guile/16612
17812 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17813 collect after discarding symbols.
17814
350e1a76
DE
178152014-03-13 Ludovic Courtès <ludo@gnu.org>
17816 Doug Evans <xdje42@gmail.com>
17817
17818 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17819 to history survives a gc.
17820
a69900ae
PA
178212014-03-13 Pedro Alves <palves@redhat.com>
17822
17823 * gdb.base/default.exp: Don't test "target procfs".
17824
5db9f0bd
PA
178252014-03-13 Pedro Alves <palves@redhat.com>
17826
17827 * gdb.base/default.exp: Update "target child" and "target procfs"
17828 tests to not expect "Unix".
17829
b3ccfe11
TT
178302014-03-12 Tom Tromey <tromey@redhat.com>
17831
17832 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17833 New procs. Add target-async tests.
17834 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17835 Add target-async tests.
17836
646f4417
AA
178372014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17838
17839 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17840 'func_start' and 'func_end' for the beginning and end of the
17841 function code, respectively.
17842 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17843 'func_end' instead of 'func' and 'main'.
17844
288c211f
AA
178452014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17846
17847 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17848 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17849 generate the debug info assembler source.
17850
e0c0f156
AA
178512014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17852
17853 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17854 * gdb.dwarf2/arr-subrange.exp: Likewise.
17855 * gdb.dwarf2/dwz.exp: Likewise.
17856 * gdb.dwarf2/method-ptr.exp: Likewise.
17857 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17858 * gdb.dwarf2/subrange.exp: Likewise.
17859 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17860 * gdb.dwarf2/implptrpiece.exp: Likewise.
17861 * gdb.dwarf2/nostaticblock.exp: Likewise.
17862
0e5c4555
AA
178632014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17864
17865 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17866 directory to absolute path name arguments.
17867
5ec18f2b
JG
178682014-03-10 Joel Brobecker <brobecker@adacore.com>
17869
17870 * gdb.ada/tagged_access: New testcase.
17871
847fc4f2
MM
178722014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17873
17874 * gdb.btrace/data.exp: Update expected output.
17875
cc3da688
YQ
178762014-03-06 Yao Qi <yao@codesourcery.com>
17877
17878 * gdb.trace/pr16508.exp: New file.
17879
0f26cec1
PA
178802014-03-05 Pedro Alves <palves@redhat.com>
17881
17882 PR gdb/16575
17883 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17884 procedure.
17885 (top level): Adjust to use it. Add tests that exercise breakpoint
17886 interaction with the code-cache.
17887
7a5a839f
LC
178882014-02-26 Ludovic Courtès <ludo@gnu.org>
17889
17890 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17891 test for 'history-append!'.
17892
31aa7e4e
JB
178932014-02-26 Joel Brobecker <brobecker@adacore.com>
17894
17895 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17896 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17897 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17898 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17899 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17900 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17901
1b588015
JB
179022014-02-26 Joel Brobecker <brobecker@adacore.com>
17903
17904 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17905 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17906 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17907
55426c9d
JB
179082014-02-26 Joel Brobecker <brobecker@adacore.com>
17909
17910 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17911
dc53a7ad
JB
179122014-02-26 Joel Brobecker <brobecker@adacore.com>
17913
17914 * gdb.dwarf2/arr-stride.c: New file.
17915 * gdb.dwarf2/arr-stride.exp: New file.
17916
12ab52e9
PA
179172014-02-26 Pedro Alves <palves@redhat.com>
17918
17919 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17920 that won't ever trigger. Make sure that GDB reports the correct
17921 breakpoint that caused the stop.
17922
849c862e
JK
179232014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17924
17925 PR gdb/16626
17926 * gdb.base/auto-load-script: New file.
17927 * gdb.base/auto-load.c: New file.
17928 * gdb.base/auto-load.exp: New file.
17929
71b7d793
JK
17930 PR gdb/16626
17931 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17932
e2f0d509
JK
179332014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17934
17935 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17936 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17937
50cc37c8
DE
179382014-02-24 Doug Evans <dje@google.com>
17939
17940 * lib/gdb.exp (run_on_host): Log error output if program fails.
17941
ea4758f2
PA
179422014-02-21 Pedro Alves <palves@redhat.com>
17943
17944 * gdb.threads/step-after-sr-lock.c: Rename to ...
17945 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17946 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17947 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17948 ... this.
17949
d7b30f67
SDJ
179502014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17951
17952 PR tdep/16397
17953 * gdb.arch/amd64-stap-special-operands.exp: New file.
17954 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17955 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17956 * gdb.arch/amd64-stap-triplet.S: Likewise.
17957 * gdb.arch/amd64-stap-triplet.c: Likewise.
17958
83deb43f
JB
179592014-02-20 Joel Brobecker <brobecker@adacore.com>
17960
17961 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17962 in .section pseudo-op.
17963
adde2bff
DE
179642014-02-20 lin zuojian <manjian2006@gmail.com>
17965 Joel Brobecker <brobecker@adacore.com>
17966 Doug Evans <xdje42@gmail.com>
17967
17968 PR symtab/16581
17969 * gdb.dwarf2/dw2-icycle.S: New file.
17970 * gdb.dwarf2/dw2-icycle.c: New file.
17971 * gdb.dwarf2/dw2-icycle.exp: New file.
17972
f7bd0f78
SC
179732014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17974
17975 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17976 operations on gdb.Value objects.
17977 * gdb.python/py-value-cc.exp: Add new test to test operations on
17978 gdb.Value objects.
17979
c17ef0d5
DE
179802014-02-18 Doug Evans <dje@google.com>
17981
17982 * Makefile.in (TESTS): New variable.
17983 (expanded_tests, expanded_tests_or_none): New variables
17984 (check-single): Pass $(expanded_tests_or_none) to runtest.
17985 (check-parallel): Only run tests in $(TESTS) if non-empty.
17986 (check/no-matching-tests-found): New rule.
17987 * README: Document TESTS makefile variable.
17988
5dd3176f
DE
179892014-02-18 Doug Evans <dje@google.com>
17990
17991 * Makefile.in (check-parallel): rm -rf outputs temp.
17992
0b10be4f
JK
179932014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17994
17995 Fix "ERROR: no fileid for" in the testsuite.
17996 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17997
85f224e7
DE
179982014-02-12 Doug Evans <dje@google.com>
17999
18000 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18001 (MISCELLANEOUS): New variable.
18002 (clean): rm -rf $(MISCELLANEOUS).
18003 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18004 dwp live in the same directory as symlinks, with each symlink pointed
18005 to a differently named file in a different directory.
18006
149b30ff
DE
180072014-02-11 Doug Evans <dje@google.com>
18008
18009 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18010 of Tcl file commands.
18011
1dfdac32
MK
180122014-02-10 Mark Kettenis <kettenis@gnu.org>
18013
18014 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18015 "kill -SIGUSR1 -1".
18016
aa4fb036
JB
180172014-02-10 Joel Brobecker <brobecker@adacore.com>
18018
18019 * gdb.ada/tick_length_array_enum_idx: New testcase.
18020
ed3ef339
DE
180212014-02-10 Doug Evans <xdje42@gmail.com>
18022
18023 * configure.ac (AC_OUTPUT): Add gdb.guile.
18024 * configure: Regenerate.
18025 * lib/gdb-guile.exp: New file.
18026 * lib/gdb.exp (get_target_charset): New function.
18027 * gdb.base/help.exp: Update expected output from "apropos apropos".
18028 * gdb.guile/Makefile.in: New file.
18029 * gdb.guile/guile.exp: New file.
18030 * gdb.guile/scm-arch.c: New file.
18031 * gdb.guile/scm-arch.exp: New file.
18032 * gdb.guile/scm-block.c: New file.
18033 * gdb.guile/scm-block.exp: New file.
18034 * gdb.guile/scm-breakpoint.c: New file.
18035 * gdb.guile/scm-breakpoint.exp: New file.
18036 * gdb.guile/scm-disasm.c: New file.
18037 * gdb.guile/scm-disasm.exp: New file.
18038 * gdb.guile/scm-equal.c: New file.
18039 * gdb.guile/scm-equal.exp: New file.
18040 * gdb.guile/scm-error.exp: New file.
18041 * gdb.guile/scm-error.scm: New file.
18042 * gdb.guile/scm-frame-args.c: New file.
18043 * gdb.guile/scm-frame-args.exp: New file.
18044 * gdb.guile/scm-frame-args.scm: New file.
18045 * gdb.guile/scm-frame-inline.c: New file.
18046 * gdb.guile/scm-frame-inline.exp: New file.
18047 * gdb.guile/scm-frame.c: New file.
18048 * gdb.guile/scm-frame.exp: New file.
18049 * gdb.guile/scm-generics.exp: New file.
18050 * gdb.guile/scm-gsmob.exp: New file.
18051 * gdb.guile/scm-iterator.c: New file.
18052 * gdb.guile/scm-iterator.exp: New file.
18053 * gdb.guile/scm-math.c: New file.
18054 * gdb.guile/scm-math.exp: New file.
18055 * gdb.guile/scm-objfile-script-gdb.in: New file.
18056 * gdb.guile/scm-objfile-script.c: New file.
18057 * gdb.guile/scm-objfile-script.exp: New file.
18058 * gdb.guile/scm-objfile.c: New file.
18059 * gdb.guile/scm-objfile.exp: New file.
18060 * gdb.guile/scm-ports.exp: New file.
18061 * gdb.guile/scm-pretty-print.c: New file.
18062 * gdb.guile/scm-pretty-print.exp: New file.
18063 * gdb.guile/scm-pretty-print.scm: New file.
18064 * gdb.guile/scm-section-script.c: New file.
18065 * gdb.guile/scm-section-script.exp: New file.
18066 * gdb.guile/scm-section-script.scm: New file.
18067 * gdb.guile/scm-symbol.c: New file.
18068 * gdb.guile/scm-symbol.exp: New file.
18069 * gdb.guile/scm-symtab-2.c: New file.
18070 * gdb.guile/scm-symtab.c: New file.
18071 * gdb.guile/scm-symtab.exp: New file.
18072 * gdb.guile/scm-type.c: New file.
18073 * gdb.guile/scm-type.exp: New file.
18074 * gdb.guile/scm-value-cc.cc: New file.
18075 * gdb.guile/scm-value-cc.exp: New file.
18076 * gdb.guile/scm-value.c: New file.
18077 * gdb.guile/scm-value.exp: New file.
18078 * gdb.guile/source2.scm: New file.
18079 * gdb.guile/types-module.cc: New file.
18080 * gdb.guile/types-module.exp: New file.
18081
7026a7c1
YQ
180822014-02-10 Yao Qi <yao@codesourcery.com>
18083
18084 PR testsuite/16543
18085 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18086 * configure: Regenerated.
18087 * Makefile.in: New file.
18088
6c466447
AS
180892014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18090
18091 * gdb.python/py-framefilter.exp: Fix typo.
18092
6e854735
YQ
180932014-02-08 Yao Qi <yao@codesourcery.com>
18094
18095 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18096 that no =breakpoint-modified is emitted when breakpoints are
18097 modified through MI commands.
18098
d137e6dc
PA
180992014-02-07 Pedro Alves <pedro@codesourcery.com>
18100 Pedro Alves <palves@redhat.com>
18101
18102 * gdb.threads/step-after-sr-lock.c: New file.
18103 * gdb.threads/step-after-sr-lock.exp: New file.
18104
b5ee5a50
PA
181052014-02-07 Pedro Alves <palves@redhat.com>
18106
18107 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18108
3c77faf3
JK
181092014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18110
18111 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18112 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18113
6dddc817
DE
181142014-02-06 Doug Evans <xdje42@gmail.com>
18115
18116 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18117 output.
18118
18119 * gdb.gdb/python-interrupts.exp: New file.
18120
de7b2893
YQ
181212014-02-05 Yao Qi <yao@codesourcery.com>
18122
18123 * gdb.trace/report.exp (use_collected_data): Test the output
18124 of "info threads" and "info inferiors".
18125
66d032ac
YQ
181262014-02-05 Yao Qi <yao@codesourcery.com>
18127
18128 Revert this patch:
18129
18130 2013-05-24 Yao Qi <yao@codesourcery.com>
18131
18132 * gdb.trace/tfile.exp: Test inferior and thread.
18133
591a12a1
UW
181342014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18135
18136 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18137 on a function.
18138 * gdb.base/step-bt.c: Call hello via function pointer to make
18139 sure its first instruction is executed on powerpc64le-linux.
18140
0ff3e01f
UW
181412014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18142
18143 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18144
084ee545
UW
181452014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18146
18147 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18148 of the test patterns for use on little-endian systems.
18149
6ed14ff3
UW
181502014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18151
18152 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18153 (decimal_vector): Fix for little-endian.
18154
401e27fd
JM
181552014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18156
18157 * gdb.arch/sparc-sysstep.exp: New file.
18158 * gdb.arch/sparc-sysstep.c: Likewise.
18159
18160 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18161
8b924729
EBM
181622014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18163
18164 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18165
fb151210
JB
181662014-01-23 Tom Tromey <tromey@redhat.com>
18167
18168 * gdb.ada/array_char_idx: New testcase.
18169
0740f8d8
TT
181702014-01-23 Tom Tromey <tromey@redhat.com>
18171
18172 PR python/16487:
18173 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18174 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18175 classes.
18176
21909fa1
TT
181772014-01-23 Tom Tromey <tromey@redhat.com>
18178
18179 PR python/16491:
18180 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18181 string from an inferior frame.
18182 * gdb.python/py-framefilter-mi.exp: Update.
18183
87ce2a04
DE
181842014-01-22 Doug Evans <dje@google.com>
18185
18186 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18187
237b092b
AA
181882014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18189
18190 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18191
d674a709
AA
181922014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18193
18194 * gdb.trace/entry-values.exp: Remove excess space character from
18195 regex patterns. Handle s390 call instruction.
18196
20fa3390
AA
181972014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18198
18199 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18200 define "*_start" label. Make "name" static.
18201 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18202 ${name} by references to ${name}_start.
18203
78466714
AA
182042014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18205
18206 * gdb.base/info-macros.exp: Remove "debug" from the compile
18207 options.
18208
ec9f644a
IB
182092014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18210
18211 * gdb.dlang/demangle.exp: New file.
18212
94b1b47e
IB
182132014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18214
18215 * gdb.dlang/primitive-types.exp: New file.
18216
7f420862
IB
182172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18218
18219 * configure.ac: Create gdb.dlang/Makefile.
18220 * configure: Regenerate.
18221 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18222 * gdb.dlang/Makefile.in: New file.
18223 * lib/d-support.exp: New file.
18224 * lib/gdb.exp (skip_d_tests): New proc.
18225
52834460
MM
182262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18227
18228 * gdb.btrace/delta.exp: Check reverse stepi.
18229 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18230 * gdb.btrace/finish.exp: New.
18231 * gdb.btrace/next.exp: New.
18232 * gdb.btrace/nexti.exp: New.
18233 * gdb.btrace/record_goto.c: Add comments.
18234 * gdb.btrace/step.exp: New.
18235 * gdb.btrace/stepi.exp: New.
18236 * gdb.btrace/multi-thread-step.c: New.
18237 * gdb.btrace/multi-thread-step.exp: New.
18238 * gdb.btrace/rn-dl-bind.c: New.
18239 * gdb.btrace/rn-dl-bind.exp: New.
18240 * gdb.btrace/data.c: New.
18241 * gdb.btrace/data.exp: New.
18242 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18243
6e07b1d2
MM
182442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18245
18246 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18247 * gdb.btrace/exception.exp: Update.
18248 * gdb.btrace/instruction_history.exp: Update.
18249 * gdb.btrace/record_goto.exp: Update.
18250 * gdb.btrace/tailcall.exp: Update.
18251 * gdb.btrace/unknown_functions.exp: Update.
18252 * gdb.btrace/delta.exp: New.
18253
0b722aec
MM
182542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18255
18256 * gdb.btrace/record_goto.exp: Add backtrace test.
18257 * gdb.btrace/tailcall.exp: Add backtrace test.
18258
066ce621
MM
182592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18260
18261 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18262 * gdb.btrace/record_goto.c: New.
18263 * gdb.btrace/record_goto.exp: New.
18264 * gdb.btrace/x86-record_goto.S: New.
18265
0688d04e
MM
182662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18267
18268 * gdb.btrace/function_call_history.exp: Update tests.
18269 * gdb.btrace/instruction_history.exp: Update tests.
18270
8710b709
MM
182712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18272
18273 * gdb.btrace/function_call_history.exp: Fix expected field
18274 order for "record function-call-history".
18275 Add new tests for "record function-call-history /c".
18276 * gdb.btrace/exception.cc: New.
18277 * gdb.btrace/exception.exp: New.
18278 * gdb.btrace/tailcall.exp: New.
18279 * gdb.btrace/x86-tailcall.S: New.
18280 * gdb.btrace/x86-tailcall.c: New.
18281 * gdb.btrace/unknown_functions.c: New.
18282 * gdb.btrace/unknown_functions.exp: New.
18283 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18284
5de9129b
MM
182852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18286
18287 * gdb.btrace/instruction_history.exp: Update.
18288 * gdb.btrace/function_call_history.exp: Update.
18289
23a7fe75
MM
182902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18291
18292 * gdb.btrace/function_call_history.exp: Fix expected function
18293 trace.
18294 * gdb.btrace/instruction_history.exp: Initialize traced.
18295 Remove traced_functions.
18296
724c7dd8
MM
182972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18298
18299 * gdb.btrace/function_call_history.exp: Update
18300 * gdb.btrace/instruction_history.exp: Update.
18301
6d78d93b
MM
183022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18303
18304 * gdb.btrace/enable.exp: Update expected text.
18305
93a360cc
OJ
183062014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18307
18308 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18309 bytes.
18310
3772b53f
MR
183112014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18312
18313 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18314
596662fa
OJ
183152014-01-15 Omair Javaid <omair.javaid@linaro.org>
18316
18317 * lib/gdb.exp (supports_process_record): Return true for
18318 arm*-linux*. (supports_reverse): Likewise.
18319
b5b08fb4
SC
183202014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18321
18322 PR python/15464
18323 PR python/16113
18324 * gdb.python/py-type.c: Enhance test case.
18325 * gdb.python/py-value-cc.cc: Likewise
18326 * gdb.python/py-type.exp: Add new tests.
18327 * gdb.python/py-value-cc.exp: Likewise
18328
52d7fb13
AA
183292014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18330 Pedro Alves <palves@redhat.com>
18331
18332 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18333 Make "name" extern.
18334 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18335 references to ${name}_start by references to ${name}.
18336
a2cd8cfe
JB
183372014-01-10 Joel Brobecker <brobecker@adacore.com>
18338
18339 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18340
4e23fced
JB
183412014-01-10 Joel Brobecker <brobecker@adacore.com>
18342
18343 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18344
c6a9e42c
PA
183452014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18346 Pedro Alves <palves@redhat.com>
18347
18348 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 18349 mi_gdb_target_load.
c6a9e42c 18350
b7ea362b
PA
183512014-01-08 Pedro Alves <palves@redhat.com>
18352
18353 * gdb.threads/reconnect-signal.c: New file.
18354 * gdb.threads/reconnect-signal.exp: New file.
18355
5e3f4fab
EBM
183562014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18357
18358 * gdb.base/source-dir.exp: New file.
18359
79301218
JB
183602014-01-07 Joel Brobecker <brobecker@adacore.com>
18361
18362 * gdb.ada/mi_interface: New testcase.
18363
8e355c5d
JB
183642014-01-07 Joel Brobecker <brobecker@adacore.com>
18365
18366 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18367 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18368 gdb.ada/pp-rec-component/pck.ads: New files.
18369
c0d48811
JB
183702014-01-07 Joel Brobecker <brobecker@adacore.com>
18371
18372 * gdb.python/py-pp-integral.c: New file.
18373 * gdb.python/py-pp-integral.py: New file.
18374 * gdb.python/py-pp-integral.exp: New file.
18375
17b609c3 18376For older changes see ChangeLog-1993-2013.
c906108c 18377\f
8d8cb839
EZ
18378;; Local Variables:
18379;; mode: change-log
18380;; left-margin: 8
18381;; fill-column: 74
18382;; version-control: never
18383;; End:
902f2ccb 18384
b811d2c2 18385 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
18386 Copying and distribution of this file, with or without modification,
18387 are permitted provided the copyright notice and this notice are preserved.