gdb: print unknown part of flag enum in hex
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2
3 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
4 for "unknown".
5
6 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
7
8 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
9 enumerator.
10
11 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
12
13 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
14 FE_, add FE_NONE.
15 (three): Update.
16 (enum flag_enum_without_zero): New enum.
17 (flag_enum_without_zero): New variable.
18 (enum not_flag_enum): New enum.
19 (three_not_flag): New variable.
20 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
21 (test_print_enums): Add more tests for printing flag enums.
22
23 2020-02-18 Tom de Vries <tdevries@suse.de>
24
25 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
26 (gdb_compile_ada): ... here.
27 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
28 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
29
30 2020-02-14 Tom Tromey <tom@tromey.com>
31
32 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
33 build directory.
34 * boards/gdbserver-base.exp: Update path to gdbserver.
35
36 2020-02-13 Tom de Vries <tdevries@suse.de>
37
38 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
39
40 2020-02-13 Tom de Vries <tdevries@suse.de>
41
42 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
43 are missing.
44
45 2020-02-13 Tom de Vries <tdevries@suse.de>
46
47 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
48 call.
49
50 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
51
52 PR tui/25126
53 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
54 * gdb.base/cached-source-file.c: New file.
55 * gdb.base/cached-source-file.exp: New file.
56
57 2020-02-11 Tom de Vries <tdevries@suse.de>
58
59 PR testsuite/25488
60 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
61
62 2020-02-10 Tom de Vries <tdevries@suse.de>
63
64 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
65
66 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
67
68 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
69 and $after_addr are both integers before making a comparison.
70
71 2020-02-09 Tom de Vries <tdevries@suse.de>
72
73 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
74 command output and paste it into gdb.log. If any, paste catch message
75 to gdb.log.
76
77 2020-02-07 Tom Tromey <tromey@adacore.com>
78
79 PR breakpoints/24915:
80 * gdb.base/annotate-symlink.exp: Use setup_xfail.
81
82 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
83
84 * gdb.tui/tui-missing-src.exp: Add the "missing source
85 file" test for the TUI.
86
87 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
88
89 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
90 including a port number in the output.
91
92 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
93
94 * lib/fortran.exp (fortran_int4): Handle clang.
95 (fortran_int8): Likewise.
96 (fortran_real4): Likewise.
97 (fortran_real8): Likewise.
98 (fortran_complex4): Likewise.
99 (fortran_logical4): Likewise.
100 (fortran_character1): Likewise.
101
102 2020-02-04 Tom de Vries <tdevries@suse.de>
103
104 * README (Race detection): Add note.
105
106 2020-02-04 Tom de Vries <tdevries@suse.de>
107
108 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
109
110 2020-02-04 Tom de Vries <tdevries@suse.de>
111
112 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
113
114 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
115
116 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
117 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
118 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
119 blttar, bnetarl.
120 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
121 binary for blttar, bnetarl.
122 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
123 wait instruction. Delete ldmx test.
124 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
125
126 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
127
128 * gdb.fortran/array-bounds-high.exp: New file.
129 * gdb.fortran/array-bounds-high.f90: New file.
130
131 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
132
133 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
134 Replace #include of <sys/fcntl.h> by <fcntl.h>.
135
136 2020-02-01 Tom de Vries <tdevries@suse.de>
137
138 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
139
140 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
141
142 PR tui/9765
143 * gdb.tui/tui-layout-asm-short-prog.S: New file.
144 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
145
146 2020-01-29 Luis Machado <luis.machado@linaro.org>
147
148 * gdb.arch/aarch64-brk-patterns.c: New source file.
149 * gdb.arch/aarch64-brk-patterns.exp: New test.
150
151 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
152
153 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
154 GCC/Clang version.
155 * gdb.cp/pass-by-ref.exp: Ditto.
156
157 2020-01-29 Tom de Vries <tdevries@suse.de>
158
159 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
160 * gdb.threads/watchpoint-fork-mt.c: Same.
161 * gdb.threads/watchpoint-fork-parent.c: Same.
162 * gdb.threads/watchpoint-fork-st.c: Same.
163 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
164
165 2020-01-27 Luis Machado <luis.machado@linaro.org>
166
167 * gdb.base/step-over-syscall.exp (setup): Check if we're already
168 sitting at a syscall instruction when we hit the syscall function's
169 breakpoint.
170 Check PC against one obtained with the x command.
171 Validate syscall number.
172 (step_over_syscall): Don't continue to the syscall instruction if
173 we're already there.
174
175 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
176
177 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
178
179 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
180
181 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
182 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
183
184 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
185
186 * gdb.dwarf2/dw2-inline-stepping.c: New file.
187 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
188
189 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
190
191 * gdb.base/maint.exp: Update line table parsing test.
192 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
193
194 2020-01-24 Pedro Alves <palves@redhat.com>
195
196 PR gdb/25410
197 * gdb.multi/multi-re-run-1.c: New.
198 * gdb.multi/multi-re-run-2.c: New.
199 * gdb.multi/multi-re-run.exp: New.
200
201 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
202
203 PR gdb/23718
204 * gdb.server/server-kill-python.exp: New file.
205
206 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
207
208 * gdb.server/multi-ui-errors.c: New file.
209 * gdb.server/multi-ui-errors.exp: New file.
210
211 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
212
213 PR tui/9765
214 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
215
216 2020-01-19 Tom Tromey <tom@tromey.com>
217
218 * gdb.tui/main.exp: Add check for plain "file".
219
220 2020-01-16 Christian Biesinger <cbiesinger@google.com>
221
222 * lib/gdb.exp: Fix spelling error (seperatelly).
223
224 2020-01-14 Tom Tromey <tom@tromey.com>
225
226 PR symtab/12535:
227 * gdb.python/python.exp: Test decode_line with empty string
228 argument.
229
230 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
231
232 * gdb.base/skip-inline.exp: Extend test.
233
234 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
235
236 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
237 * gdb.dwarf2/dw2-bad-elf.c: New file.
238 * gdb.dwarf2/dw2-bad-elf.exp: New file.
239
240 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
241
242 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
243 _line_saw_file.
244
245 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
246
247 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
248 border.
249
250 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
251
252 * gdb.multi/multi-target.exp (setup): Factor out "info
253 connections" and "info inferiors" tests to ...
254 (test_info_inferiors): ... this new procedure.
255 (top level): Run new "info-inferiors" tests.
256
257 2020-01-10 Pedro Alves <palves@redhat.com>
258
259 * gdb.server/bkpt-other-inferior.exp: New file.
260
261 2020-01-10 Pedro Alves <palves@redhat.com>
262
263 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
264 of "add-inferior".
265 * gdb.base/quit-live.exp: Likewise.
266 * gdb.base/remote-exec-file.exp: Likewise.
267 * gdb.guile/scm-progspace.exp: Likewise.
268 * gdb.linespec/linespec.exp: Likewise.
269 * gdb.mi/new-ui-mi-sync.exp: Likewise.
270 * gdb.mi/user-selected-context-sync.exp: Likewise.
271 * gdb.multi/multi-target.exp (setup): Add "info connection" and
272 "info inferiors" tests.
273 * gdb.multi/remove-inferiors.exp: Adjust expected output of
274 "add-inferior".
275 * gdb.multi/watchpoint-multi.exp: Likewise.
276 * gdb.python/py-inferior.exp: Likewise.
277 * gdb.server/extended-remote-restart.exp: Likewise.
278 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
279 "info inferiors".
280 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
281 * gdb.trace/report.exp: Likewise.
282
283 2020-01-10 Pedro Alves <palves@redhat.com>
284
285 * gdb.multi/multi-target.c: New file.
286 * gdb.multi/multi-target.exp: New file.
287 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
288 mode requested, but remote does not support non-stop".
289
290 2020-01-10 Pedro Alves <palves@redhat.com>
291
292 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
293 disconnect before reconnecting.
294
295 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
296 Pedro Alves <palves@redhat.com>
297
298 * gdb.server/connect-without-multi-process.exp: Also test
299 continuing to end.
300
301 2020-01-10 Pedro Alves <palves@redhat.com>
302
303 * gdb.base/remote-exec-file.exp: New file.
304
305 2020-01-10 Pedro Alves <palves@redhat.com>
306
307 * gdb.base/fork-running-state.exp (do_test): Adjust expected
308 output.
309 * gdb.threads/async.c: New.
310 * gdb.threads/async.exp: New.
311 * gdb.multi/tids-gid-reset.c: New.
312 * gdb.multi/tids-gid-reset.exp: New.
313
314 2020-01-10 George Barrett <bob@bob131.so>
315
316 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
317 to help in finding the image relocation offset.
318 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
319 options in arguments.
320 (stap_test_no_debuginfo): Likewise.
321 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
322 test variants.
323 (stap_test): Add null semaphore relocation test.
324
325 2020-01-10 George Barrett <bob@bob131.so>
326
327 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
328 * gdb.base/stap-probe.exp: Likewise.
329 (stap_test): Pass argument as an additional flag.
330 (stap_test_no_debuginfo): Likewise.
331 (stap_test): Check `info probes stap' output for semaphore
332 addresses if the test binary is supposed to have them.
333
334 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
335
336 * gdb.tui/basic.exp: Add more scrolling tests.
337
338 2020-01-09 Tom Tromey <tom@tromey.com>
339
340 PR tui/18932:
341 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
342 meangingful value.
343 (Term::command, Term::resize): Update.
344 * gdb.tui/basic.exp: Add scrolling test.
345
346 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
347
348 * gdb.tui/tui-layout-asm.exp: New file.
349
350 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
351
352 * lib/tuiterm.exp (Term::check_box_contents): New proc.
353
354 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
355
356 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
357 (Term::enter_tui): Use Term::prepare_for_tui.
358
359 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
360
361 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
362 called.
363
364 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
365
366 * gdb.base/skip.exp: Fix race condition in test.
367
368 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
369
370 * gdb.base/backtrace.c: New file.
371 * gdb.base/backtrace.exp: New file.
372
373 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
374
375 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
376
377 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
378
379 * gdb.base/style.exp: Test that warnings are styled.
380
381 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
382
383 * gdb.base/line65535.exp: New file.
384 * gdb.base/line65535.c: New file.
385
386 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
387
388 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
389 * lib/gnat_debug_info_test.adb: New file.
390 * gdb.ada/ptype_tagged_param.exp: Use
391 gnat_runtime_has_debug_info, expect a different output if
392 runtime does not have debug info.
393
394 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
395
396 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
397 (another) quote in test name.
398
399 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
400
401 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
402 Add quote in test name.
403
404 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
405
406 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
407 directory instead.
408 * gdb.cp/pass-by-ref.exp: Extend with more cases.
409 * gdb.cp/pass-by-ref-2.cc: New file.
410 * gdb.cp/pass-by-ref-2.exp: New file.
411
412 2019-12-20 Tom Tromey <tom@tromey.com>
413
414 * gdb.tui/list-before.exp: New file.
415
416 2019-12-20 Tom Tromey <tom@tromey.com>
417
418 * gdb.tui/list.exp: Check for source on initial listing.
419
420 2019-12-11 Tom Tromey <tromey@adacore.com>
421
422 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
423 Add crlf test.
424
425 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
426
427 * gdb.base/default.exp: Update value of $_gdb_major.
428
429 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
430
431 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
432
433 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
434
435 * gdb.base/skip.exp: Whitespace fix.
436
437 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
438
439 * gdb.base/skip-inline.c: New file.
440 * gdb.base/skip-inline.exp: New file.
441
442 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
443
444 * gdb.base/jit-reader.exp (jit_reader_test): Rename
445 jit_function_00 to jit_function_stack_mangle.
446 * gdb.base/jithost.c (jit_function_t): Rename to...
447 (jit_function_stack_mangle_t): ... this.
448 (jit_function_add_t): New typedef.
449 (jit_function_00_code): Rename to...
450 (jit_function_stack_mangle_code): ... this, make static.
451 (jit_function_add_code): New.
452 (main): Generate "add" function and call it. Adjust to changes
453 in jithost_abi.
454 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
455 (struct jithost_abi) <begin, end>: Remove fields.
456 <object, function_stack_mangle, function_add>: New fields.
457 * gdb.base/jitreader.c (struct reader_state) <code_begin,
458 code_end>: Remove fields.
459 <func_stack_mangle>: New field.
460 (read_debug_info): Adjust to renaming, create block for "add"
461 function.
462 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
463
464 2019-12-11 Tom Tromey <tom@tromey.com>
465
466 * gdb.tui/resize.exp: Fix regexp.
467 * gdb.tui/regs.exp: Fix regexps.
468 * gdb.tui/main.exp: Fix regexp.
469
470 2019-12-11 Tom Tromey <tom@tromey.com>
471
472 * gdb.tui/resize.exp: Update.
473 * gdb.tui/empty.exp (layouts): Update.
474
475 2019-12-11 Tom Tromey <tom@tromey.com>
476
477 * gdb.tui/regs.exp: Update.
478 * gdb.tui/empty.exp (layouts): Update.
479 * gdb.tui/basic.exp: Update.
480 * lib/tuiterm.exp (_check_box): Don't check bottom border.
481
482 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
483
484 * gdb.base/options.exp: Add -raw-values in the print completion list.
485 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
486
487 2019-12-10 Kevin Buettner <kevinb@redhat.com>
488
489 * gdb.threads/omp-par-scope.c: New file.
490 * gdb/threads/omp-par-scope.exp: New file.
491
492 2019-12-10 Kevin Buettner <kevinb@redhat.com>
493
494 * lib/gdb.exp (support_nested_function_tests): New proc.
495
496 2019-12-10 Kevin Buettner <kevinb@redhat.com>
497
498 * lib/gdb.exp (gdb_compile_openmp): New proc.
499 (build_executable_from_specs): Add an "openmp" option.
500 (gdb_compile_pthreads): Add non-executable case.
501
502 2019-12-10 Tom Tromey <tromey@adacore.com>
503
504 * gdb.ada/unchecked_union.exp: New file.
505 * gdb.ada/unchecked_union/pck.adb: New file.
506 * gdb.ada/unchecked_union/pck.ads: New file.
507 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
508 * gdb-utils.exp (string_to_regexp): Also quote "?".
509
510 2019-12-10 George Barrett <bob@bob131.so>
511
512 Test scripted probe breakpoints.
513 * gdb.guile/scm-breakpoint.c (main): Add probe point.
514 * gdb.python/py-breakpoint.c (main): Likewise.
515 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
516 specifier test.
517 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
518
519 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
520
521 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
522 an rvalue parameter.
523 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
524 parameter.
525
526 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
527
528 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
529 modules.
530
531 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
532
533 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
534 broken version of GCC.
535
536 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
537
538 * gdb.fortran/info-modules.exp: Rewrite to make use of new
539 sym-info-cmds library.
540 * gdb.fortran/info-types.exp: Likewise.
541 * lib/sym-info-cmds.exp: New file.
542
543 2019-12-08 Tom de Vries <tdevries@suse.de>
544
545 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
546
547 2019-12-07 Keith Seitz <keiths@redhat.com>
548
549 * gdb.base/corefile-buildid-shlib-shr.c: New file.
550 * gdb.base/corefile-buildid-shlib.c: New file.
551 * gdb.base/corefile-buildid.c: New file.
552 * gdb.base/corefile-buildid.exp: New file.
553
554 2019-12-06 Tom de Vries <tdevries@suse.de>
555
556 * gdb.dwarf2/varval.exp: Add decl before def test.
557
558 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
559
560 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
561
562 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
563
564 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
565 CV and reference conversion for overload resolution.
566 * gdb.cp/rvalue-ref-overload.exp: Test it.
567
568 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
569
570 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
571 * gdb.base/frameapply.exp: Test faas without command.
572
573 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
574
575 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
576 Fortran tests.
577 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
578 order.
579
580 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
581
582 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
583 casting to type with no kind specified.
584 (test_basic_parsing_of_type_kinds): Additional tests for types
585 with no kind specified, and add tests for single/double
586 precision/complex types.
587
588 2019-12-04 Tom Tromey <tromey@adacore.com>
589
590 * gdb.base/endianity.c (struct other) <x>: New field.
591 (main): Initialize it.
592 * gdb.base/endianity.exp: Update.
593
594 2019-12-04 Tom Tromey <tromey@adacore.com>
595
596 * gdb.ada/scalar_storage/storage.adb: New file.
597 * gdb.ada/scalar_storage/pck.adb: New file.
598 * gdb.ada/scalar_storage/pck.ads: New file.
599 * gdb.ada/scalar_storage.exp: New file.
600
601 2019-12-04 Tom Tromey <tromey@adacore.com>
602
603 * gdb.base/endianity.c (struct otherendian) <f>: New field.
604 (main): Initialize it.
605 * gdb.base/endianity.exp: Update.
606
607 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
608
609 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
610
611 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
612
613 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
614 -symbol-info-module-functions and -symbol-info-module-variables.
615
616 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
617
618 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
619
620 2019-12-01 Richard Bunt <richard.bunt@arm.com>
621 Andrew Burgess <andrew.burgess@embecosm.com>
622
623 * gdb.fortran/derived-type-striding.exp: New file.
624 * gdb.fortran/derived-type-striding.f90: New file.
625 * gdb.fortran/array-slices.exp: New file.
626 * gdb.fortran/array-slices.f90: New file.
627
628 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
629
630 * gdb.base/define.exp: Test . in command names.
631 * gdb.base/setshow.exp: Update test, as . is now part of
632 command name.
633
634 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
635
636 * gdb.base/define-prefix.exp: New file.
637
638 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
639
640 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
641 compile.
642 (skip_btrace_pt_tests): Likewise.
643
644 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
645
646 * gdb.fortran/info-modules.exp: Compile source files in correct
647 order.
648
649 2019-11-27 Kevin Buettner <kevinb@redhat.com>
650
651 * gdb.dwarf2/imported-unit.exp: New file.
652 * gdb.dwarf2/imported-unit.c: New file.
653
654 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
655
656 * gdb.mi/mi-fortran-modules-2.f90: New file.
657 * gdb.mi/mi-fortran-modules.exp: New file.
658 * gdb.mi/mi-fortran-modules.f90: New file.
659
660 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
661
662 * gdb.mi/mi-sym-info-1.c: New file.
663 * gdb.mi/mi-sym-info-2.c: New file.
664 * gdb.mi/mi-sym-info.exp: New file.
665
666 2019-11-22 Tom Tromey <tromey@adacore.com>
667
668 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
669 * gdb.ada/tasks/foo.adb: Add another stopping location.
670
671 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
672
673 * gdb.base/endianity.c: New test.
674 * gdb.base/endianity.exp: New file.
675
676 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
677
678 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
679
680 2019-11-21 Tom de Vries <tdevries@suse.de>
681
682 PR gdb/24956
683 * gdb.base/ui-redirect.exp: Test output of user-defined command.
684
685 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
686
687 * gdb.python/py-progspace.exp: Add missing parentheses on some
688 'print' commands.
689
690 2019-11-19 Tom Tromey <tom@tromey.com>
691
692 * gdb.tui/winheight.exp: New file.
693
694 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
695
696 * gdb.base/ctf-whatis.c: Delete.
697 * gdb.base/ctf-whatis.exp: Delete.
698 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
699
700 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
701
702 * gdb.base/ctf-cvexpr.exp: Delete.
703 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
704
705 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
706
707 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
708 the compiler. Clean up header comment a little.
709 * gdb.base/ctf-ptype.exp: Likewise.
710 * gdb.base/ctf-whatis.exp: Likewise.
711 * lib/gdb.exp (skip_ctf_tests): New proc.
712
713 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
714
715 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
716 * gdb.tui/corefile-run.exp: New file.
717
718 2019-11-14 Tom Tromey <tromey@adacore.com>
719
720 * gdb.base/gdbvars.exp (test_convenience_variables): Add
721 regression tests.
722
723 2019-11-12 Tom Tromey <tom@tromey.com>
724
725 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
726 after any command. Expect prompt after WAIT_FOR is seen.
727 (enter_tui): Enable resize messages.
728 (command): Expect command in output.
729 (get_line): Avoid error when cursor appears to be off-screen.
730 (dump_screen): Include screen size in title.
731 (_do_resize): New proc, from "resize".
732 (resize): Rewrite. Do resize in two steps.
733 * gdb.tui/empty.exp (layouts): Fix entries.
734 (check_boxes): Remove xfail.
735 (check_text): Dump screen on failure.
736
737 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
738
739 * gdb.python/py-symbol.exp: Add test for
740 gdb.lookup_static_symbols.
741
742 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
743
744 * gdb.python/py-symbol.c: Declare and call function from new
745 py-symbol-2.c file.
746 * gdb.python/py-symbol.exp: Compile both source files, and add new
747 tests for gdb.lookup_static_symbol.
748 * gdb.python/py-symbol-2.c: New file.
749
750 2019-11-02 Tom de Vries <tdevries@suse.de>
751
752 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
753 * gdb.base/anon.exp: Same.
754 * gdb.base/auto-connect-native-target.exp: Same.
755 * gdb.base/call-ar-st.exp: Same.
756 * gdb.base/catch-syscall.exp: Same.
757 * gdb.base/commands.exp: Same.
758 * gdb.base/default.exp: Same.
759 * gdb.base/display.exp: Same.
760 * gdb.base/float.exp: Same.
761 * gdb.base/foll-fork.exp: Same.
762 * gdb.base/help.exp: Same.
763 * gdb.base/info-macros.exp: Same.
764 * gdb.base/info-proc.exp: Same.
765 * gdb.base/info-target.exp: Same.
766 * gdb.base/long_long.exp: Same.
767 * gdb.base/macscp.exp: Same.
768 * gdb.base/memattr.exp: Same.
769 * gdb.base/nofield.exp: Same.
770 * gdb.base/pointers.exp: Same.
771 * gdb.base/printcmds.exp: Same.
772 * gdb.base/ptype.exp: Same.
773 * gdb.base/restore.exp: Same.
774 * gdb.base/return.exp: Same.
775 * gdb.base/scope.exp: Same.
776 * gdb.base/set-noassign.exp: Same.
777 * gdb.base/setshow.exp: Same.
778 * gdb.base/shlib-call.exp: Same.
779 * gdb.base/signals.exp: Same.
780 * gdb.base/sigstep.exp: Same.
781 * gdb.base/skip.exp: Same.
782 * gdb.base/solib-symbol.exp: Same.
783 * gdb.base/stap-probe.exp: Same.
784 * gdb.base/step-line.exp: Same.
785 * gdb.base/step-test.exp: Same.
786 * gdb.base/style.exp: Same.
787 * gdb.base/varargs.exp: Same.
788 * gdb.base/vla-datatypes.exp: Same.
789 * gdb.base/vla-ptr.exp: Same.
790 * gdb.base/vla-sideeffect.exp: Same.
791 * gdb.base/volatile.exp: Same.
792 * gdb.base/watch-cond-infcall.exp: Same.
793 * gdb.base/watchpoint.exp: Same.
794
795 2019-11-02 Tom de Vries <tdevries@suse.de>
796
797 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
798 * gdb.cp/cpexprs.exp: Same.
799 * gdb.cp/except-multi-location.exp: Same.
800 * gdb.cp/exceptprint.exp: Same.
801 * gdb.cp/gdb2384.exp: Same.
802 * gdb.cp/inherit.exp: Same.
803 * gdb.cp/m-static.exp: Same.
804 * gdb.cp/meth-typedefs.exp: Same.
805 * gdb.cp/misc.exp: Same.
806 * gdb.cp/namespace.exp: Same.
807 * gdb.cp/non-trivial-retval.exp: Same.
808 * gdb.cp/overload.exp: Same.
809 * gdb.cp/pr17132.exp: Same.
810 * gdb.cp/re-set-overloaded.exp: Same.
811 * gdb.cp/rvalue-ref-types.exp: Same.
812 * gdb.cp/templates.exp: Same.
813
814 2019-11-01 Luis Machado <luis.machado@linaro.org>
815
816 PR gdb/25124
817
818 * gdb.arch/pr25124.S: New file.
819 * gdb.arch/pr25124.exp: New file.
820
821 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
822
823 * gdb.fortran/info-modules.exp: Update expected results, and add
824 additional tests for 'info module functinos', and 'info module
825 variables'.
826 * gdb.fortran/info-types.exp: Update expected results.
827 * gdb.fortran/info-types.f90: Extend testcase with additional
828 module variables and functions.
829
830 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
831
832 * gdb.fortran/info-modules.exp: New file.
833 * gdb.fortran/info-types.exp: Build with new file.
834 * gdb.fortran/info-types.f90: Include and use new module.
835 * gdb.fortran/info-types-2.f90: New file.
836
837 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
838
839 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
840 * gdb.base/settings.exp: Test all settings types using
841 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
842 that now verifies that the value of "maint show" is the same as
843 returned by the settings functions. Test the type of the
844 maintenance settings.
845 * gdb.base/default.exp: Update show_conv_list.
846
847 2019-10-31 Tom de Vries <tdevries@suse.de>
848
849 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
850 gdb_test.
851 * gdb.arch/amd64-disp-step.exp: Same.
852 * gdb.asm/asm-source.exp: Same.
853 * gdb.btrace/buffer-size.exp: Same.
854 * gdb.btrace/cpu.exp: Same.
855 * gdb.btrace/enable.exp: Same.
856 * gdb.dwarf2/count.exp: Same.
857 * gdb.dwarf2/dw2-ranges-func.exp: Same.
858 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
859 * gdb.fortran/vla-datatypes.exp: Same.
860 * gdb.fortran/vla-history.exp: Same.
861 * gdb.fortran/vla-ptype.exp: Same.
862 * gdb.fortran/vla-value.exp: Same.
863 * gdb.fortran/whatis_type.exp: Same.
864 * gdb.guile/guile.exp: Same.
865 * gdb.multi/tids.exp: Same.
866 * gdb.python/py-finish-breakpoint.exp: Same.
867 * gdb.python/py-framefilter.exp: Same.
868 * gdb.python/py-pp-registration.exp: Same.
869 * gdb.python/py-xmethods.exp: Same.
870 * gdb.python/python.exp: Same.
871 * gdb.server/connect-with-no-symbol-file.exp: Same.
872 * gdb.server/no-thread-db.exp: Same.
873 * gdb.server/run-without-local-binary.exp: Same.
874 * gdb.stabs/weird.exp: Same.
875 * gdb.threads/attach-many-short-lived-threads.exp: Same.
876 * gdb.threads/thread-find.exp: Same.
877 * gdb.threads/tls-shared.exp: Same.
878 * gdb.threads/tls.exp: Same.
879 * gdb.threads/wp-replication.exp: Same.
880 * gdb.trace/ax.exp: Same.
881 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
882
883 2019-10-31 Tom de Vries <tdevries@suse.de>
884
885 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
886 * gdb.ada/array_subscript_addr.exp: Same.
887 * gdb.ada/arrayidx.exp: Same.
888 * gdb.ada/arrayparam.exp: Same.
889 * gdb.ada/arrayptr.exp: Same.
890 * gdb.ada/boolean_expr.exp: Same.
891 * gdb.ada/call_pn.exp: Same.
892 * gdb.ada/complete.exp: Same.
893 * gdb.ada/fixed_cmp.exp: Same.
894 * gdb.ada/fun_addr.exp: Same.
895 * gdb.ada/funcall_param.exp: Same.
896 * gdb.ada/interface.exp: Same.
897 * gdb.ada/mod_from_name.exp: Same.
898 * gdb.ada/null_array.exp: Same.
899 * gdb.ada/packed_array.exp: Same.
900 * gdb.ada/packed_tagged.exp: Same.
901 * gdb.ada/print_chars.exp: Same.
902 * gdb.ada/print_pc.exp: Same.
903 * gdb.ada/ptype_arith_binop.exp: Same.
904 * gdb.ada/ptype_field.exp: Same.
905 * gdb.ada/ptype_tagged_param.exp: Same.
906 * gdb.ada/rec_return.exp: Same.
907 * gdb.ada/ref_tick_size.exp: Same.
908 * gdb.ada/str_ref_cmp.exp: Same.
909 * gdb.ada/taft_type.exp: Same.
910 * gdb.ada/tagged.exp: Same.
911 * gdb.ada/type_coercion.exp: Same.
912 * gdb.ada/uninitialized_vars.exp: Same.
913
914 2019-10-30 Tom de Vries <tdevries@suse.de>
915
916 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
917
918 2019-10-26 Tom de Vries <tdevries@suse.de>
919
920 * gdb.base/bigcore.c: Fix typos in comments.
921 * gdb.base/ctf-ptype.c: Same.
922 * gdb.base/long_long.c: Same.
923 * gdb.dwarf2/dw2-op-out-param.S: Same.
924 * gdb.python/py-evthreads.c: Same.
925 * gdb.reverse/i387-stack-reverse.c: Same.
926 * gdb.trace/tfile.c: Same.
927 * lib/compiler.c: Same.
928 * lib/compiler.cc: Same.
929
930 2019-10-25 Tom de Vries <tdevries@suse.de>
931
932 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
933 gdb_test_multiple calls.
934 * gdb.reverse/sigall-reverse.exp: Same.
935 * gdb.reverse/solib-precsave.exp: Same.
936 * gdb.reverse/solib-reverse.exp: Same.
937 * gdb.reverse/until-precsave.exp: Same.
938 * gdb.reverse/until-reverse.exp: Same.
939
940 2019-10-24 Tom de Vries <tdevries@suse.de>
941
942 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
943 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
944 kfail using -wrap pattern flag and convenience variable
945 gdb_test_name.
946
947 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
948
949 * gdb.python/py-progspace.exp: Add tests for the
950 Progspace.block_for_pc method.
951
952 2019-10-23 Tom Tromey <tom@tromey.com>
953
954 * configure: Rebuild.
955 * aclocal.m4: Use m4_include, not sinclude.
956
957 2019-10-21 Tom de Vries <tdevries@suse.de>
958
959 * gdb.base/infcall-nested-structs.c: Add
960 __attribute__((noinline,noclone)) to all functions.
961 (call_all): Add missing variable initialization. Simplify return value.
962 (breakpt): Increment volatile variable, to prevent call from being
963 optimized out.
964 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
965
966 2019-10-17 Tom de Vries <tdevries@suse.de>
967
968 * gdb.fortran/module.exp: Allow info variables to print info for files
969 other than module.f90.
970
971 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
972
973 * gdb.fortran/module.exp: Extend with 'info variables' test.
974
975 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
976
977 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
978 F77_FOR_TARGET.
979
980 2019-10-16 Tom de Vries <tdevries@suse.de>
981
982 PR tdep/25096
983 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
984
985 2019-10-16 Tom de Vries <tdevries@suse.de>
986
987 PR tdep/24104
988 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
989 Add KFAIL for PR tdep/25096.
990
991 2019-10-16 Tom de Vries <tdevries@suse.de>
992
993 PR testsuite/25059
994 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
995
996 2019-10-16 Tom de Vries <tdevries@suse.de>
997
998 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
999 as signed.
1000
1001 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1002
1003 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1004 one instead of increasing timeout.
1005
1006 2019-10-13 Tom de Vries <tdevries@suse.de>
1007
1008 PR record/25038
1009 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1010 * gdb.reverse/sigall-reverse.exp: Same.
1011 * gdb.reverse/solib-precsave.exp: Same.
1012 * gdb.reverse/solib-reverse.exp: Same.
1013 * gdb.reverse/step-precsave.exp: Same.
1014 * gdb.reverse/until-precsave.exp: Same.
1015 * gdb.reverse/until-reverse.exp: Same.
1016 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1017
1018 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1019
1020 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1021 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1022 (cmp_struct_05_01, cmp_struct_static_02_01)
1023 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1024 comparisons.
1025
1026 2019-10-10 Tom de Vries <tdevries@suse.de>
1027
1028 PR testsuite/24888
1029 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1030 gnatlink.
1031
1032 2019-10-09 Tom de Vries <tdevries@suse.de>
1033
1034 PR testsuite/25048
1035 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1036
1037 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1038
1039 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1040 exceptions due to missing debug information.
1041
1042 2019-10-07 Tom de Vries <tdevries@suse.de>
1043
1044 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1045
1046 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1047
1048 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1049 * gdb.base/annota1.exp: Update to use gdb_test_name.
1050
1051 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1052
1053 * gdb.base/ctf-whatis.exp: New file.
1054 * gdb.base/ctf-whatis.c: New file.
1055 * gdb.base/ctf-ptype.exp: New file.
1056 * gdb.base/ctf-ptype.c: New file.
1057 * gdb.base/ctf-constvars.exp: New file.
1058 * gdb.base/ctf-constvars.c: New file.
1059 * gdb.base/ctf-cvexpr.exp: New file.
1060
1061 2019-10-04 Tom de Vries <tdevries@suse.de>
1062
1063 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1064 for loop.
1065
1066 2019-10-03 Tom Tromey <tom@tromey.com>
1067
1068 PR rust/24976:
1069 * gdb.rust/simple.rs (Union2): New type.
1070 (main): Use Union2.
1071 * gdb.rust/simple.exp: Add test.
1072
1073 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1074
1075 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1076 nested function prefix.
1077
1078 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1079 Richard Bunt <richard.bunt@arm.com>
1080 Andrew Burgess <andrew.burgess@embecosm.com>
1081
1082 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1083 nested functions.
1084 * gdb.fortran/nested-funcs.f90: Update expected results.
1085 * gdb.fortran/nested-funcs-2.exp: New file.
1086 * gdb.fortran/nested-funcs-2.f90: New file.
1087
1088 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1089
1090 * gdb.python/py-parameter.exp: Make test names unique.
1091 * gdb.python/py-template.exp: Likewise.
1092 * gdb.python/py-value.exp: Likewise.
1093
1094 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1095
1096 * gdb.base/break-interp.exp: Reduce test name duplication.
1097 * gdb.base/call-sc.exp: Likewise.
1098 * gdb.base/callfuncs.exp: Likewise.
1099 * gdb.base/charset.exp: Likewise.
1100 * gdb.base/dump.exp: Likewise.
1101 * gdb.base/ena-dis-br.exp: Likewise.
1102 * gdb.base/relational.exp: Likewise.
1103 * gdb.base/step-over-syscall.exp: Likewise.
1104 * gdb.base/structs.exp: Likewise.
1105
1106 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1107
1108 * gdb.linespec/explicit.exp: Make test names unique.
1109 * gdb.linespec/ls-errs.exp: Likewise.
1110
1111 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1112
1113 * gdb.reverse/break-precsave.exp: Make test names unique.
1114 * gdb.reverse/break-reverse.exp: Likewise.
1115 * gdb.reverse/finish-precsave.exp: Likewise.
1116 * gdb.reverse/finish-reverse.exp: Likewise.
1117 * gdb.reverse/machinestate-precsave.exp: Likewise.
1118 * gdb.reverse/machinestate.exp: Likewise.
1119 * gdb.reverse/readv-reverse.exp: Likewise.
1120 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1121 * gdb.reverse/sigall-precsave.exp: Likewise.
1122 * gdb.reverse/sigall-reverse.exp: Likewise.
1123 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1124 * gdb.reverse/watch-precsave.exp: Likewise.
1125 * gdb.reverse/watch-reverse.exp: Likewise.
1126
1127 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1128
1129 * gdb.threads/stop-with-handle.c: New file.
1130 * gdb.threads/stop-with-handle.exp: New file.
1131
1132 2019-10-03 Tom de Vries <tdevries@suse.de>
1133
1134 PR testsuite/25059
1135 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1136 directory" line to be missing.
1137
1138 2019-10-03 Tom de Vries <tdevries@suse.de>
1139
1140 PR testsuite/25059
1141 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1142 type optional.
1143
1144 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1145
1146 * gdb.python/py-format-string.c (string.h): New include.
1147 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1148 the same value, for endianness-independence.
1149 * gdb.python/py-format-string.exp (default_regexp_dict)
1150 (test_pretty_structs, test_format): Adjust expected output to the
1151 changed initialization.
1152
1153 2019-10-02 Tom Tromey <tromey@adacore.com>
1154
1155 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1156
1157 2019-10-02 Pedro Alves <palves@redhat.com>
1158 Andrew Burgess <andrew.burgess@embecosm.com>
1159
1160 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1161 "print-file-var.h".
1162 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1163 (get_version_1): Print this_version_id and its address.
1164 Add extern "C" wrappers around interface functions.
1165 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1166 "print-file-var.h".
1167 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1168 (get_version_2): Print this_version_id and its address.
1169 Add extern "C" wrappers around interface functions.
1170 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1171 <stddef.h> and "print-file-var.h".
1172 Add extern "C" wrappers around interface functions.
1173 [VERSION_ID_MAIN] (this_version_id): Define.
1174 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1175 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1176 up extern "C" blocks.
1177 * gdb.base/print-file-var.exp (test): New, factored out from top
1178 level.
1179 (top level): Test all combinations of attribute hidden or not,
1180 dlopen or not, and this_version_id symbol in main file or not.
1181 Compile tests as both C++ and C, make test names unique.
1182
1183 2019-10-01 Tom Tromey <tom@tromey.com>
1184
1185 * gdb.base/style.exp: Test "show logging filename".
1186
1187 2019-10-01 Tom Tromey <tom@tromey.com>
1188
1189 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1190 * gdb.base/style.exp: Add metadata style test.
1191
1192 2019-10-01 Tom Tromey <tom@tromey.com>
1193
1194 * gdb.base/style.exp: Test "pwd".
1195
1196 2019-10-01 Tom Tromey <tom@tromey.com>
1197
1198 * gdb.base/style.exp: Update tests.
1199
1200 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1201
1202 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1203 'six' to unsigned.
1204 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1205 'five'. Use an all-ones bit pattern for each.
1206 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1207 to its changed values.
1208
1209 2019-09-30 Tom Tromey <tromey@adacore.com>
1210
1211 * gdb.rust/traits.rs: Disable all warnings.
1212
1213 2019-09-29 Tom de Vries <tdevries@suse.de>
1214
1215 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1216
1217 2019-09-29 Tom de Vries <tdevries@suse.de>
1218
1219 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1220
1221 2019-09-27 Tom de Vries <tdevries@suse.de>
1222
1223 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1224
1225 2019-09-27 Tom de Vries <tdevries@suse.de>
1226
1227 PR record/23188
1228 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1229
1230 2019-09-26 Tom Tromey <tromey@adacore.com>
1231
1232 * gdb.ada/py_taft.exp: New file.
1233 * gdb.ada/py_taft/main.adb: New file.
1234 * gdb.ada/py_taft/pkg.adb: New file.
1235 * gdb.ada/py_taft/pkg.ads: New file.
1236
1237 2019-09-24 Tom de Vries <tdevries@suse.de>
1238
1239 PR gdb/24598
1240 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1241
1242 2019-09-22 Tom de Vries <tdevries@suse.de>
1243
1244 * gdb.base/restore.exp: Allow register variables to be optimized out at
1245 -O0.
1246
1247 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1248
1249 * gdb.arch/spu-info.exp: Remove file.
1250 * gdb.arch/spu-info.c: Remove file.
1251 * gdb.arch/spu-ls.exp: Remove file.
1252 * gdb.arch/spu-ls.c: Remove file.
1253
1254 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1255 * gdb.asm/spu.inc: Remove file.
1256
1257 * gdb.base/dump.exp: Remove support for spu*-*-*.
1258 * gdb.base/stack-checking.exp: Likewise.
1259 * gdb.base/overlays.exp: Likewise.
1260 * gdb.base/ovlymgr.c: Likewise.
1261 * gdb.base/spu.ld: Remove file.
1262
1263 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1264 * gdb.cp/cpexprs.exp: Likewise.
1265 * gdb.cp/exception.exp: Likewise.
1266 * gdb.cp/gdb2495.exp: Likewise.
1267 * gdb.cp/mb-templates.exp: Likewise.
1268 * gdb.cp/pr9167.exp: Likewise.
1269 * gdb.cp/userdef.exp: Likewise.
1270
1271 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1272
1273 * gdb.cell: Remove directory.
1274 * lib/cell.exp: Remove file.
1275
1276 2019-09-19 Tom de Vries <tdevries@suse.de>
1277
1278 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1279
1280 2019-09-19 Tom de Vries <tdevries@suse.de>
1281
1282 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1283
1284 2019-09-19 Tom de Vries <tdevries@suse.de>
1285
1286 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1287 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1288 (gdb_target_cmd): ... here.
1289 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1290 value 2.
1291
1292 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1293
1294 * gdb.base/source-dir.exp: Avoid having directory names in test
1295 names.
1296
1297 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1298
1299 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1300 directory.
1301
1302 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1303
1304 * gdb.base/list-missing-source.exp: New file.
1305
1306 2019-09-14 Tom de Vries <tdevries@suse.de>
1307
1308 PR teststuite/24599
1309 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1310 * lib/ada.exp (gnatmake_version_at_least): New proc.
1311
1312 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1313
1314 * gdb.base/maint.exp: Use exec_has_index_section.
1315
1316 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1317
1318 * gdb.base/maint.exp: Add test for 'maint info sections'.
1319
1320 2019-09-12 Tom de Vries <tdevries@suse.de>
1321
1322 * gdb.base/store.exp: Allow register variables to be optimized out at
1323 -O0.
1324
1325 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1326
1327 * gdb.ada/rdv_wait.exp: Update to new task names.
1328 * gdb.base/task_switch_in_core.exp: Likewise.
1329 * gdb.base/info_sources_base.c: Likewise.
1330
1331 2019-09-10 Tom Tromey <tromey@adacore.com>
1332
1333 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1334
1335 2019-09-10 Tom Tromey <tromey@adacore.com>
1336
1337 * gdb.ada/dgopt.exp: New file.
1338 * gdb.ada/dgopt/x.adb: New file.
1339
1340 2019-09-08 Tom Tromey <tom@tromey.com>
1341
1342 * gdb.tui/resize.exp: Remove setup_xfail.
1343 * gdb.tui/regs.exp: Remove setup_xfail.
1344 * gdb.tui/basic.exp: Remove setup_xfail.
1345
1346 2019-09-06 David Blaikie <dblaikie@gmail.com>
1347
1348 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1349 * gdb.cp/cplabel.exp: Ditto.
1350 * gdb.linespec/ls-errs.exp: Ditto.
1351
1352 2019-09-05 Tom de Vries <tdevries@suse.de>
1353
1354 * lib/gdb.exp (cmp_file_string): New proc.
1355 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1356 runto_main. Verify save breakpoints output.
1357
1358 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1359
1360 * gdb.base/info-var.exp: Test info variables without running
1361 to main, to avoid expect's buffer overflow.
1362
1363 2019-09-03 Tom Tromey <tromey@adacore.com>
1364
1365 * gdb.ada/bias.exp: New file.
1366 * gdb.ada/bias/bias.adb: New file.
1367 * gdb.ada/print_chars.exp: Add regression test.
1368 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1369 (MC): New variable.
1370
1371 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1372
1373 * gdb.base/argv0-symlink.exp: Run only on native target
1374 and local host.
1375
1376 2019-08-29 Tom de Vries <tdevries@suse.de>
1377
1378 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1379 diverse debug info.
1380 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1381
1382 2019-08-28 Tom de Vries <tdevries@suse.de>
1383
1384 * gdb.base/info-var.exp: Allow info variables to print info for files
1385 other than info-var-f1.c and info-var-f2.c.
1386
1387 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1388
1389 * gdb.fortran/info-types.exp: Add module.
1390 * gdb.fortran/info-types.f90: Update expected results.
1391
1392 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1393
1394 * gdb.fortran/info-types.exp: New file.
1395 * gdb.fortran/info-types.f90: New file.
1396 * lib/fortran.exp (fortran_character1): New proc.
1397
1398 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1399
1400 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1401 functions'. Reindent as needed.
1402 * gdb.base/info-var-f1.c: New file.
1403 * gdb.base/info-var-f2.c: New file.
1404 * gdb.base/info-var.exp: New file.
1405 * gdb.base/info-var.h: New file.
1406
1407 2019-08-26 Tom de Vries <tdevries@suse.de>
1408
1409 PR c++/24852
1410 * gdb.cp/no-libstdcxx-probe.exp: New test.
1411
1412 2019-08-26 Tom de Vries <tdevries@suse.de>
1413
1414 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1415 * tests need to be skipped.
1416 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1417 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1418 mi_skip_libstdcxx_probe_tests.
1419
1420 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1421
1422 * gdb.python/py-xmethods.exp: Use raw strings when passing
1423 arguments to SimpleXMethodMatcher.
1424
1425 2019-08-22 Tom de Vries <tdevries@suse.de>
1426
1427 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1428 more informative.
1429
1430 2019-08-21 Pedro Alves <palves@redhat.com>
1431
1432 * gdb.base/with.exp: Test "with" with no arguments.
1433
1434 2019-08-21 Tom de Vries <tdevries@suse.de>
1435
1436 * gdb.base/gdb-caching-proc.exp: Sort files.
1437
1438 2019-08-20 Tom de Vries <tdevries@suse.de>
1439
1440 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1441 compilation.
1442
1443 2019-08-16 Tom de Vries <tdevries@suse.de>
1444
1445 * gdb.base/compare-sections.exp ("after run to main"): Allow
1446 mismatched read-only sections for PIE executables.
1447
1448 2019-08-16 Tom Tromey <tom@tromey.com>
1449
1450 * lib/tuiterm.exp (_csi_Z): New proc.
1451 * gdb.tui/basic.exp: Update window positions.
1452 * gdb.tui/empty.exp: Update window positions.
1453
1454 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1455
1456 * gdb.base/examine-backward.exp: Correct regexp for
1457 "examine 3 bytes backward from ${address_zero}".
1458
1459 2019-08-15 Tom Tromey <tom@tromey.com>
1460
1461 * gdb.tui/empty.exp: Enable resizing tests.
1462
1463 2019-08-15 Tom Tromey <tromey@adacore.com>
1464
1465 * gdb.ada/char_enum.exp: Add regression tests.
1466 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1467 and '0'.
1468 (Char, Gchar): Update.
1469 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1470
1471 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1472
1473 * gdb.python/python.exp: Expect a leading underscore on
1474 GdbOutput{,Error}File.
1475
1476 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1477
1478 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1479 Windows host.
1480
1481 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1482
1483 * gdb.base/batch-preserve-term-settings.exp
1484 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1485
1486 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1487
1488 * lib/gdb.exp: When running on a mingw target, replace
1489 /x/ with x:/.
1490
1491 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1492
1493 * gdb.arch/aarch64-prologue.c: New test.
1494 * gdb.arch/aarch64-prologue.exp: New file.
1495
1496 2019-08-13 Tom de Vries <tdevries@suse.de>
1497
1498 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1499 Thread.
1500
1501 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1502
1503 * gdb.python/py-completion.exp: Download the .py file to the host
1504 and use its host pathname. Conditionalize tests that use
1505 tab completion and manipulate files on the build machine.
1506 * gdb.python/py-events.exp: Download the .py file to the host
1507 and use its host pathname.
1508 * gdb.python/py-evsignal.exp: Likewise.
1509 * gdb.python/py-evthreads.exp: Likewise.
1510 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1511 pathname syntax.
1512 * gdb.python/py-framefilter.exp: Download the .py file to the right
1513 place on the host. Match Windows pathname syntax.
1514 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1515 .py file to the host and use its host pathname.
1516 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1517 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1518 build pathname. Skip symlink test on Windows host. Add missing
1519 newline at end of file.
1520 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1521 and use its host pathname.
1522 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1523 * gdb.python/py-section-script.exp: Use host location of binfile
1524 on safe-path. Use correct path separator on Windows host.
1525 Reorder alternatives in gdb_test_multiple to prevent matching
1526 the wrong alternative on success.
1527 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1528
1529 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1530
1531 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1532 expect the GDB inferior to no longer immediately stop after
1533 being resumed with "signal SIGINT".
1534
1535 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1536
1537 * gdb.linespec/break-ask.exp: Generalize regexps to match
1538 Windows pathnames too.
1539
1540 2019-08-08 Tom de Vries <tdevries@suse.de>
1541
1542 PR testsuite/24862
1543 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1544
1545 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1546
1547 * gdb.base/style.exp: Update tests for help doc new invariants.
1548 * gdb.base/help.exp: Likewise.
1549
1550 2019-08-06 Tom Tromey <tom@tromey.com>
1551
1552 * gdb.base/style.exp: Add disassemble test.
1553 * gdb.base/style.c (some_called_function): New function.
1554 (main): Use it.
1555
1556 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1557
1558 * gdb.python/py-block.exp: Test dictionary access on blocks.
1559
1560 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1561
1562 PR gdb/24863
1563 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1564 -list-thread-groups --available test when running under
1565 check-read1.
1566
1567 2019-08-05 Tom de Vries <tdevries@suse.de>
1568
1569 PR testsuite/24863
1570 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1571 * gdb.base/help.exp: Use with_read1_timeout_factor.
1572 * gdb.base/info-macros.exp: Same.
1573 * gdb.cp/nested-types.exp: Same.
1574
1575 2019-08-05 Tom de Vries <tdevries@suse.de>
1576
1577 * lib/gdb.exp (version_at_least): Factor out of ...
1578 (tcl_version_at_least): ... here.
1579 (gdb_compile): Fail if pie results in non-PIE executable.
1580 (readelf_version, readelf_prints_pie): New proc.
1581 (exec_is_pie): Return -1 if unknown.
1582
1583 2019-08-05 Tom de Vries <tdevries@suse.de>
1584
1585 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1586
1587 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1588
1589 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1590
1591 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1592
1593 * lib/completion-support.exp (test_gdb_complete_none): Skip
1594 tab completion tests if no readline support.
1595 (test_gdb_complete_unique_re): Likewise.
1596 (test_gdb_complete_multiple): Likewise.
1597
1598 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1599
1600 * gdb.base/info_sources.exp: New file.
1601 * gdb.base/info_sources.c: New file.
1602 * gdb.base/info_sources_base.c: New file.
1603
1604 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1605
1606 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1607 prefix argument.
1608 (test_exit_status): Add prefix argument.
1609
1610 2019-08-01 Tom de Vries <tdevries@suse.de>
1611
1612 PR testsuite/24863
1613 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1614 calling exp_continue for new thread and thread exited messages.
1615
1616 2019-08-01 Tom de Vries <tdevries@suse.de>
1617
1618 PR testsuite/24863
1619 * gdb.base/structs.exp: Fix check-read1 timeout using
1620 gdb_test_sequence.
1621 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1622
1623 2019-08-01 Tom de Vries <tdevries@suse.de>
1624
1625 PR testsuite/24863
1626 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1627 line.
1628
1629 2019-08-01 Tom de Vries <tdevries@suse.de>
1630
1631 PR testsuite/24863
1632 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1633
1634 2019-07-30 Tom Tromey <tromey@adacore.com>
1635
1636 * gdb.ada/display_nested.exp: New file.
1637 * gdb.ada/display_nested/foo.adb: New file.
1638 * gdb.ada/display_nested/pack.adb: New file.
1639 * gdb.ada/display_nested/pack.ads: New file.
1640
1641 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1642
1643 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1644 namespace.
1645 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1646
1647 2019-07-30 Tom de Vries <tdevries@suse.de>
1648
1649 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1650 instead.
1651
1652 2019-07-30 Tom de Vries <tdevries@suse.de>
1653
1654 PR testsuite/24834
1655 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1656 (exec_is_pie): New proc.
1657
1658 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1659
1660 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1661
1662 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1663
1664 * gdb.python/py-objfile.c: Add global and static vars.
1665 * gdb.python/py-objfile.exp: Test new functions Objfile.
1666 lookup_global_symbol and lookup_static_symbol.
1667
1668 2019-07-29 Tom Tromey <tom@tromey.com>
1669
1670 * lib/tuiterm.exp (Term::_csi_@): New proc.
1671 (Term::_csi_X): Don't move cursor.
1672
1673 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1674
1675 * gdb.base/options.exp: Update backtrace - completion to
1676 new option -frame-info.
1677 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1678 Test new 'set print frame-info'. Test backtrace -frame-info
1679 overriding 'set print frame-info'.
1680 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1681 Test new 'set print frame-info'.
1682 Verify consistency of backtrace with and without filters, with and
1683 without -no-filters.
1684 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1685 default.
1686
1687 2019-07-29 Tom de Vries <tdevries@suse.de>
1688
1689 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1690 no arguments".
1691
1692 2019-07-29 Tom de Vries <tdevries@suse.de>
1693
1694 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1695 is a substring of the first for "complete non-unique file name".
1696
1697 2019-07-29 Tom de Vries <tdevries@suse.de>
1698
1699 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1700 with ".*".
1701
1702 2019-07-29 Tom de Vries <tdevries@suse.de>
1703
1704 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1705 Pass prompt_regexp parameter to gdb_test_multiple calls.
1706
1707 2019-07-29 Tom de Vries <tdevries@suse.de>
1708
1709 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1710 print registers" regexps.
1711
1712 2019-07-29 Tom de Vries <tdevries@suse.de>
1713
1714 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1715
1716 2019-07-29 Tom de Vries <tdevries@suse.de>
1717
1718 PR gdb/24855
1719 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1720 (skip_python_tests_prompt): Add prompt_regexp argument to
1721 gdb_test_multiple calls.
1722
1723 2019-07-27 Tom Tromey <tom@tromey.com>
1724
1725 * gdb.tui/main.exp: New file.
1726
1727 2019-07-27 Tom Tromey <tom@tromey.com>
1728
1729 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1730 optional.
1731 * gdb.tui/empty.exp: New file.
1732
1733 2019-07-27 Tom Tromey <tom@tromey.com>
1734
1735 * lib/tuiterm.exp (spawn): New proc.
1736 (Term::resize): New proc.
1737 * gdb.tui/resize.exp: New file.
1738
1739 2019-07-27 Tom Tromey <tom@tromey.com>
1740
1741 * gdb.tui/list.exp: New file.
1742
1743 2019-07-27 Tom Tromey <tom@tromey.com>
1744
1745 * gdb.tui/regs.exp: New file.
1746
1747 2019-07-27 Tom Tromey <tom@tromey.com>
1748
1749 * gdb.tui/basic.exp: Add "layout split" test.
1750
1751 2019-07-27 Tom Tromey <tom@tromey.com>
1752
1753 * gdb.tui/basic.exp: Add "layout asm" test.
1754
1755 2019-07-27 Tom Tromey <tom@tromey.com>
1756
1757 * lib/tuiterm.exp: New file.
1758 * gdb.tui/basic.exp: New file.
1759
1760 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1761
1762 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1763 Enable tests associated with this flag. Adjust regex
1764 referencing "foo_low" to now refer to "foo_cold" instead.
1765
1766 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1767
1768 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1769 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1770 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1771 foo_cold. Revise comments to match.
1772 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1773 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1774 were wrapped into this proc; Call do_test in loop from outermost
1775 level.
1776 (foo_low): Rename all occurrences to "foo_cold".
1777 (backtrace from baz): New test.
1778 (x2/i foo_cold): New test.
1779 (info line *foo_cold): New test.
1780
1781 2019-07-26 Tom de Vries <tdevries@suse.de>
1782
1783 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1784
1785 2019-07-25 Tom de Vries <tdevries@suse.de>
1786
1787 PR testsuite/24830
1788 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1789 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1790 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1791 (skip_libstdcxx_probe_tests): ... here.
1792 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1793
1794 2019-07-24 Tom de Vries <tdevries@suse.de>
1795
1796 PR testsuite/24807
1797 * gdb.objc/basicclass.m: Include stdio.h.
1798 * gdb.objc/nondebug.m: Same.
1799 * gdb.objc/objcdecode.m: Same.
1800
1801 2019-07-24 Tom de Vries <tdevries@suse.de>
1802
1803 PR testsuite/24612
1804 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1805 additional_flags.
1806
1807 2019-07-24 Tom de Vries <tdevries@suse.de>
1808
1809 PR testsuite/24831
1810 * gdb.multi/tids.exp: Update error messages for info threads.
1811
1812 2019-07-24 Tom de Vries <tdevries@suse.de>
1813
1814 * gdb.base/info-types.exp: Allow info types to print info for more than
1815 one file.
1816
1817 2019-07-23 Tom de Vries <tdevries@suse.de>
1818
1819 PR testsuite/24842
1820 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1821 gdb_spawn_with_cmdline_opts.
1822
1823 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1824
1825 * gdb.arch/arm-cmse-sgstubs.c: New test.
1826 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1827
1828 2019-07-23 Tom de Vries <tdevries@suse.de>
1829
1830 PR testsuite/24711
1831 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1832 issuing next command.
1833
1834 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1835
1836 * gdb.ada/info_auto_lang.exp: Update expected results.
1837 * gdb.base/info-types.c: Add additional types to check.
1838 * gdb.base/info-types.exp: Update expected results.
1839
1840 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1841
1842 * gdb.base/info-types.c: New file.
1843 * gdb.base/info-types.exp: New file.
1844
1845 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1846
1847 * gdb.arch/riscv-bp-infcall.c: New file.
1848 * gdb.arch/riscv-bp-infcall.exp: New file.
1849
1850 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1851
1852 PR breakpoints/24541
1853 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1854
1855 2019-07-14 Tom de Vries <tdevries@suse.de>
1856
1857 PR testsuite/24760
1858 * gdb.objc/basicclass.exp: Fix unterminated string.
1859
1860 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1861 Andrew Burgess <andrew.burgess@embecosm.com>
1862
1863 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1864 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1865 negative bounds.
1866 * gdb.fortran/vla-value.exp: Print elements of an array with
1867 negative bounds.
1868 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1869 testing.
1870
1871 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1872
1873 * gdb.base/options.exp (expect_string): Dequote strings in
1874 results.
1875 (test-string): Test strings with different quoting and reindent.
1876
1877 2019-07-10 Tom Tromey <tromey@adacore.com>
1878
1879 * gdb.ada/mi_ex_cond.exp: Update expected results.
1880 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1881 * gdb.ada/mi_catch_ex.exp: Update expected results.
1882 * gdb.ada/mi_catch_assert.exp: Update expected results.
1883 * gdb.ada/catch_ex.exp (catch_exception_info)
1884 (catch_exception_entry, catch_assert_entry)
1885 (catch_unhandled_entry): Update.
1886 * gdb.ada/catch_assert_if.exp: Update expected results.
1887
1888 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1889 Stephen Roberts <stephen.roberts@arm.com>
1890
1891 * gdb.base/define.exp: Restore original prompt.
1892
1893 2019-07-09 Pedro Alves <palves@redhat.com>
1894
1895 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1896 breakpoints" output.
1897 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1898 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1899 throw" creates breakpoint.
1900 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1901 'type="catchpoint"'.
1902
1903 2019-07-09 Pedro Alves <palves@redhat.com>
1904
1905 PR c++/15468
1906 * gdb.cp/except-multi-location-lib.cc: New.
1907 * gdb.cp/except-multi-location-main.cc: New.
1908 * gdb.cp/except-multi-location.exp: New.
1909
1910 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1911
1912 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1913 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1914 argument and update callers.
1915
1916 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1917
1918 * gdb.arch/amd64-break-on-asm-line.S: New file.
1919 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1920
1921 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1922
1923 * gdb.base/printcmds.exp: Test printing C string and
1924 C wide string convenience vars without transiting via the inferior.
1925 Also make test names unique.
1926
1927 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1928
1929 PR breakpoints/25011
1930 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1931
1932 2019-07-04 Pedro Alves <palves@redhat.com>
1933
1934 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1935 body returned ok(0), break(3) or continue(4).
1936 * gdb.testsuite/foreach_with_prefix.exp: New file.
1937
1938 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1939
1940 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1941
1942 2019-07-03 Pedro Alves <palves@redhat.com>
1943
1944 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1945 "return -code".
1946
1947 2019-07-03 Pedro Alves <palves@redhat.com>
1948
1949 PR cli/24732
1950 * gdb.base/shell.exp: Load completion-support.exp.
1951 Adjust expected error output. Add completion tests.
1952
1953 2019-07-03 Pedro Alves <palves@redhat.com>
1954
1955 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1956 string_to_regexp.
1957
1958 2019-07-03 Pedro Alves <palves@redhat.com>
1959
1960 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1961 (expect_integer): Adjust to expect "-string".
1962 (expect_string): New.
1963 (all_options): Expect "-string".
1964 (test-flag, test-boolean): Adjust to expect "-string".
1965 (test-string): New proc.
1966 (top level): Call it.
1967
1968 2019-07-03 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1971 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1972 the expected output in the success.
1973
1974 2019-07-03 Pedro Alves <palves@redhat.com>
1975
1976 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1977 Split one gdb_test_multiple call in two to avoid a race.
1978
1979 2019-07-03 Pedro Alves <palves@redhat.com>
1980
1981 * gdb.base/with.c: New file.
1982 * gdb.base/with.exp: New file.
1983
1984 2019-07-03 Pedro Alves <palves@redhat.com>
1985
1986 * gdb.base/settings.exp: Replace all references to "maint
1987 test-settings set" with references to "maint set test-settings",
1988 and all references to "maint test-settings show" with references
1989 to "maint show test-settings".
1990
1991 2019-07-03 Pedro Alves <palves@redhat.com>
1992
1993 * gdb.base/settings.exp (test-string): Adjust expected out when
1994 testing "maint test-settings show filename"
1995
1996 2019-07-02 Pedro Alves <palves@redhat.com>
1997
1998 * gdb.base/options.exp (test-info-threads): New procedure.
1999 (top level): Call it.
2000
2001 2019-06-28 Tom Tromey <tromey@adacore.com>
2002
2003 * gdb.dwarf2/ada-linkage-name.c: New file.
2004 * gdb.dwarf2/ada-linkage-name.exp: New file.
2005
2006 2019-06-27 Tom Tromey <tromey@adacore.com>
2007
2008 PR c++/20020:
2009 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2010
2011 2019-06-26 Tom de Vries <tdevries@suse.de>
2012
2013 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2014
2015 2019-06-26 Tom de Vries <tdevries@suse.de>
2016
2017 * gdb.base/index-cache.exp: Add back missing debug option.
2018
2019 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2020
2021 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2022
2023 2019-06-25 Tom de Vries <tdevries@suse.de>
2024
2025 PR testsuite/24727
2026 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2027
2028 2019-06-24 Tom de Vries <tdevries@suse.de>
2029
2030 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2031
2032 2019-06-24 Tom de Vries <tdevries@suse.de>
2033
2034 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2035 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2036 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2037
2038 2019-06-24 Tom de Vries <tdevries@suse.de>
2039
2040 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2041
2042 2019-06-21 Tom de Vries <tdevries@suse.de>
2043
2044 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2045
2046 2019-06-21 Tom de Vries <tdevries@suse.de>
2047
2048 PR testsuite/24518
2049 PR ada/24713
2050 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2051 index.
2052
2053 2019-06-19 Tom Tromey <tromey@adacore.com>
2054
2055 * gdb.ada/length_cond.exp: Add intro comment.
2056
2057 2019-06-19 Tom Tromey <tromey@adacore.com>
2058
2059 * gdb.ada/length_cond.exp: New file.
2060 * gdb.ada/length_cond/length_cond.adb: New file.
2061 * gdb.ada/length_cond/pck.adb: New file.
2062 * gdb.ada/length_cond/pck.ads: New file.
2063
2064 2019-06-18 Tom de Vries <tdevries@suse.de>
2065
2066 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2067
2068 2019-06-18 Tom Tromey <tromey@adacore.com>
2069
2070 * gdb.base/list0.h: Add comment explaining control character.
2071
2072 2019-06-18 Tom de Vries <tdevries@suse.de>
2073
2074 * boards/fission.exp: Break up long debug_flags line.
2075
2076 2019-06-16 Tom de Vries <tdevries@suse.de>
2077
2078 PR gdb/24445
2079 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2080 generated index.
2081
2082 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2083
2084 PR gdb/24686
2085 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2086 improve detection of bug gdb/24541.
2087
2088 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2089
2090 PR gdb/24669
2091 * gdb.base/index-cache.exp (uses_readnow,
2092 expecting_index_cache_use): Define global variable.
2093 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2094 expecting_index_cache_use.
2095
2096 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2097 Andrew Burgess <andrew.burgess@embecosm.com>
2098
2099 * gdb.fortran/pointers.f90: New file.
2100 * gdb.fortran/print_type.exp: New file.
2101 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2102 * gdb.fortran/vla-type.exp: Likewise.
2103 * gdb.fortran/vla-value.exp: Likewise.
2104 * gdb.mi/mi-vla-fortran.exp: Likewise.
2105
2106 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2107
2108 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2109 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2110 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2111 as a stop reason.
2112
2113 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2114
2115 * gdb.base/annota1.exp: Update expected results.
2116 * gdb.cp/annota2.exp: Likewise.
2117 * gdb.cp/annota3.exp: Likewise.
2118
2119 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2120
2121 * gdb.base/style-logging.exp: Remove path from test name.
2122
2123 2019-06-14 Tom Tromey <tromey@adacore.com>
2124
2125 PR gdb/24502:
2126 * gdb.base/style-logging.exp: New file.
2127
2128 2019-06-14 Tom Tromey <tromey@adacore.com>
2129
2130 * gdb.base/symfile-warn.exp: New file.
2131 * gdb.base/symfile-warn.c: New file.
2132
2133 2019-06-14 Tom Tromey <tromey@adacore.com>
2134
2135 * gdb.base/annotate-symlink.exp: New file.
2136
2137 2019-06-14 Tom Tromey <tromey@adacore.com>
2138
2139 * gdb.ada/set_wstr.exp: Add reassignment test.
2140
2141 2019-06-14 Tom Tromey <tromey@adacore.com>
2142
2143 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2144 'unchecked_access and 'unrestricted_access as well.
2145
2146 2019-06-14 Tom Tromey <tromey@adacore.com>
2147
2148 PR ada/24539:
2149 * gdb.ada/vla.exp: Update tests.
2150 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2151 pragma.
2152
2153 2019-06-13 Pedro Alves <palves@redhat.com>
2154
2155 * gdb.base/settings.exp (test-integer): Test junk after
2156 "unlimited".
2157
2158 2019-06-13 Pedro Alves <palves@redhat.com>
2159
2160 * gdb.base/options.exp (test-thread-apply): New.
2161 (top level): Call it.
2162
2163 2019-06-13 Pedro Alves <palves@redhat.com>
2164
2165 * gdb.base/options.exp (test-frame-apply): New.
2166 (top level): Test print commands with different "frame apply"
2167 prefixes.
2168
2169 2019-06-13 Pedro Alves <palves@redhat.com>
2170
2171 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2172 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2173 'max_completions' parameter and handle it.
2174 (test_gdb_completion_offers_commands): New.
2175
2176 2019-06-13 Pedro Alves <palves@redhat.com>
2177
2178 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2179
2180 2019-06-13 Pedro Alves <palves@redhat.com>
2181
2182 * gdb.base/options.exp (test-backtrace): New.
2183 (top level): Call it.
2184
2185 2019-06-13 Pedro Alves <palves@redhat.com>
2186
2187 * gdb.guile/scm-frame-args.exp: Use "set print
2188 raw-frame-arguments" instead of "set print raw frame-arguments".
2189 * gdb.python/py-frame-args.exp: Likewise.
2190
2191 2019-06-13 Pedro Alves <palves@redhat.com>
2192
2193 * gdb.compile/compile.exp: Adjust expected output to option
2194 processing changes.
2195
2196 2019-06-13 Pedro Alves <palves@redhat.com>
2197
2198 * gdb.base/options.exp: Build executable.
2199 (test-print): New procedure.
2200 (top level): Call it, once for "print" and another for "compile
2201 print".
2202
2203 2019-06-13 Pedro Alves <palves@redhat.com>
2204
2205 * gdb.base/options.c: New file.
2206 * gdb.base/options.exp: New file.
2207
2208 2019-06-13 Pedro Alves <palves@redhat.com>
2209
2210 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2211 that "o" is ambiguous.
2212
2213 2019-06-13 Pedro Alves <palves@redhat.com>
2214
2215 * gdb.base/settings.c: New file.
2216 * gdb.base/settings.exp: New file.
2217
2218 2019-06-13 Pedro Alves <palves@redhat.com>
2219
2220 * gdb.base/completion.exp: Fix comment typo.
2221
2222 2019-06-13 Pedro Alves <palves@redhat.com>
2223
2224 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2225 foo --1" test.
2226
2227 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2228
2229 * gdb.fortran/block-data.f: New.
2230 * gdb.fortran/block-data.exp: New.
2231
2232 2019-06-11 Tom de Vries <tdevries@suse.de>
2233
2234 PR testsuite/24521
2235 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2236 message.
2237
2238 2019-06-11 Tom de Vries <tdevries@suse.de>
2239
2240 PR testsuite/24521
2241 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2242
2243 2019-06-11 Tom de Vries <tdevries@suse.de>
2244
2245 * boards/readnow.exp: New file.
2246
2247 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2248
2249 * gdb.fortran/vla-sizeof.exp: Update expected results.
2250
2251 2019-06-06 Amos Bird <amosbird@gmail.com>
2252
2253 * gdb.base/annota1.exp (thread_switch): Add test for
2254 thread-exited annotation.
2255
2256 2019-06-06 Tom Tromey <tromey@adacore.com>
2257
2258 * gdb.base/maint.exp: Expect command started/finished output.
2259
2260 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2261
2262 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2263 comment.
2264 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2265
2266 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2267
2268 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2269 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2270 * gdb.arch/riscv-unwind-long-insn.c: New file.
2271 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2272
2273 2019-06-04 Christian Biesinger <cbiesinger@google.com>
2274
2275 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2276
2277 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2278
2279 * lib/gdb.exp (help_list_trailer): New regexp variable
2280 factorizing the help trailer message.
2281 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2282 arg to allow to better factorize various tests.
2283 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2284 (test_prefix_command_help): Use help_list_trailer.
2285 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2286 * gdb.guile/scm-cmd.exp: Likewise.
2287 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2288 * gdb.base/help.exp: Use test_user_defined_class_help.
2289 * gdb.base/style.exp: Add tests for styling of help and apropos.
2290 * lib/gdb-utils.exp (style): Add title and highlight styles.
2291
2292 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2293
2294 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2295 $_shell_exitsignal.
2296 * gdb.base/default.exp: Update for new convenience variables.
2297
2298 2019-05-29 Tom Tromey <tromey@adacore.com>
2299
2300 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2301 to "break complete ada" test case's regexp.
2302
2303 2019-05-29 Tom Tromey <tromey@adacore.com>
2304
2305 PR c++/20020:
2306 * gdb.cp/constexpr-field.exp: New file.
2307 * gdb.cp/constexpr-field.cc: New file.
2308
2309 2019-05-29 Tom Tromey <tromey@adacore.com>
2310
2311 * gdb.base/finish.exp (finish_no_print): New proc.
2312 (finish_tests): Call it.
2313
2314 2019-05-24 Tom de Vries <tdevries@suse.de>
2315
2316 * gdb.dwarf2/gdb-add-index.exp: New file.
2317
2318 2019-05-22 Tom Tromey <tromey@adacore.com>
2319
2320 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2321 * gdb.base/style.exp: Use "style".
2322 * lib/gdb-utils.exp (style): New proc.
2323
2324 2019-05-22 Tom de Vries <tdevries@suse.de>
2325
2326 * gdb.base/align.exp: Require c++11.
2327
2328 2019-05-22 Tom de Vries <tdevries@suse.de>
2329
2330 PR testsuite/24586
2331 * gdb.python/py-mi-var-info-path-expression.exp: Call
2332 mi_skip_python_tests to check if python is supported.
2333
2334 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2335
2336 * gdb.arch/aarch64-pauth.c: New test.
2337 * gdb.arch/aarch64-pauth.exp: New file.
2338
2339 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2340
2341 * README (Re-running Tests Outside The Testsuite): New section.
2342
2343 2019-05-21 Tom de Vries <tdevries@suse.de>
2344
2345 * gdb.arch/amd64-eval.exp: Require c++11.
2346 * gdb.base/max-depth.exp: Same.
2347 * gdb.compile/compile-cplus-array-decay.exp: Same.
2348 * gdb.cp/meth-typedefs.exp: Same.
2349 * gdb.cp/subtypes.exp: Same.
2350 * gdb.cp/temargs.exp: Same.
2351
2352 2019-05-21 Alan Hayward <alan.hayward@arm.com>
2353
2354 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2355
2356 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2357
2358 PR gdb/18644
2359 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2360 * gdb.fortran/printing-types.exp: Add new test.
2361 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2362 testing.
2363 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2364 setup_kfail call.
2365
2366 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2367
2368 * README (Running the Testsuite): Change example.
2369 (Testsuite Parameters): Remove TRANSCRIPT.
2370 * lib/gdb.exp: Remove TRANSCRIPT check.
2371
2372 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2373
2374 * README (Testsuite Parameters): Add replay logging to
2375 GDBSERVER_DEBUG.
2376 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2377 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2378 as a comma separated list.
2379 (gdb_debug_init): Override procedure.
2380
2381 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2382
2383 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2384 (gdb_write_cmd_file): New procedure.
2385 * lib/gdbserver-support.exp (gdbserver_start): Call
2386 gdbserver_write_cmd_file.
2387 (gdbserver_write_cmd_file): New procedure.
2388
2389 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2390
2391 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2392 (delete_breakpoints): Likewise.
2393 (gdb_run_cmd): Likewise.
2394 (gdb_start_cmd): Likewise.
2395 (gdb_starti_cmd): Likewise.
2396 (gdb_internal_error_resync): Likewise.
2397 (gdb_test_multiple): Likewise.
2398 (gdb_reinitialize_dir): Likewise.
2399 (default_gdb_exit): Likewise.
2400 (gdb_file_cmd): Mark kill as optional.
2401 (default_gdb_start): Call gdb_stdin_log_init.
2402 (send_gdb): Call gdb_stdin_log_write.
2403 (rerun_to_main): Mark Y as an answer.
2404 (gdb_stdin_log_init): New function.
2405 (gdb_stdin_log_write): Likewise.
2406
2407 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2408
2409 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2410 * gdb.base/debug-expr.exp: Likewise.
2411 * gdb.base/foll-fork.exp: Likewise.
2412 * gdb.base/foll-vfork.exp: Likewise.
2413 * gdb.base/fork-print-inferior-events.exp: Likewise.
2414 * gdb.base/gdb-sigterm.exp: Likewise.
2415 * gdb.base/gdbinit-history.exp: Likewise.
2416 * gdb.base/osabi.exp: Likewise.
2417 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2418 * gdb.base/ui-redirect.exp: Likewise.
2419 * gdb.gdb/unittest.exp: Likewise.
2420 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2421 * gdb.mi/mi-watch.exp: Likewise.
2422 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2423 * gdb.mi/user-selected-context-sync.exp: Likewise.
2424 * gdb.python/python.exp: Disable debug test when debugging.
2425 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2426 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2427 Likewise.
2428 * gdb.threads/stepi-random-signal.exp: Likewise.
2429
2430 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2431
2432 * Makefile.in: Pass through GDB_DEBUG.
2433 * README (Testsuite Parameters): Add GDB_DEBUG.
2434 (gdb,debug): Add board setting.
2435 * lib/gdb.exp (default_gdb_start): Start debugging.
2436 (gdb_debug_enabled): New procedure.
2437 (gdb_debug_init): Likewise.
2438
2439 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2440
2441 * Makefile.in: Pass through GDB_DEBUG.
2442 * README (Testsuite Parameters): Add GDB_DEBUG.
2443 (gdb,debug): Add board setting.
2444 * lib/gdb.exp (default_gdb_start): Start debugging.
2445 (gdb_debug_enabled): New procedure.
2446 (gdb_debug_init): Likewise.
2447
2448 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2449
2450 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2451
2452 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2453
2454 * gdb.base/ui-redirect.exp: Test redirection.
2455
2456 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2457
2458 * gdb.mi/mi-complete.exp: New file.
2459 * gdb.mi/mi-complete.cc: Likewise.
2460
2461 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2462
2463 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2464 indexed and sliced arrays, and pointers to arrays.
2465
2466 2019-05-14 Tom Tromey <tromey@adacore.com>
2467
2468 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2469 styling test.
2470
2471 2019-05-14 Tom de Vries <tdevries@suse.de>
2472
2473 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2474 selection entry encoding.
2475
2476 2019-05-10 Tom Tromey <tromey@adacore.com>
2477
2478 * gdb.ada/info_exc.exp: Add "complete" test.
2479
2480 2019-05-09 Tom de Vries <tdevries@suse.de>
2481
2482 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2483 CU-relative.
2484
2485 2019-05-09 Tom de Vries <tdevries@suse.de>
2486
2487 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2488 CU-relative.
2489
2490 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2491
2492 * gdb.ada/frame_arg_lang.exp: New testcase.
2493 * gdb.ada/frame_arg_lang/bla.adb: New file.
2494 * gdb.ada/frame_arg_lang/pck.ads: New file.
2495 * gdb.ada/frame_arg_lang/pck.adb: New file.
2496 * gdb.ada/frame_arg_lang/foo.c: New file.
2497
2498 2019-05-08 Tom Tromey <tromey@adacore.com>
2499
2500 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2501
2502 2019-05-08 Tom Tromey <tromey@adacore.com>
2503
2504 * gdb.base/ptype-offsets.exp: Update tests.
2505
2506 2019-05-08 Tom Tromey <tromey@adacore.com>
2507
2508 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2509 cases.
2510 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2511 "short".
2512
2513 2019-05-08 Tom Tromey <tromey@adacore.com>
2514
2515 * gdb.ada/vla.exp: New file.
2516 * gdb.ada/vla/vla.adb: New file.
2517
2518 2019-05-07 Tom de Vries <tdevries@suse.de>
2519
2520 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2521
2522 2019-05-07 Tom de Vries <tdevries@suse.de>
2523
2524 PR testsuite/24522
2525 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2526 section.
2527
2528 2019-05-07 Tom de Vries <tdevries@suse.de>
2529
2530 PR testsuite/24522
2531 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2532 .debug_aranges section.
2533
2534 2019-05-07 Tom de Vries <tdevries@suse.de>
2535
2536 PR testsuite/24159
2537 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2538
2539 2019-05-06 Tom de Vries <tdevries@suse.de>
2540
2541 * lib/gdb.exp (exec_has_index_section): New proc.
2542 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2543 section.
2544
2545 2019-05-04 Tom de Vries <tdevries@suse.de>
2546
2547 * boards/cc-with-debug-names.exp: New file.
2548
2549 2019-05-03 Tom Tromey <tromey@adacore.com>
2550
2551 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2552 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2553 * gdb.ada/char_enum.exp: Add test.
2554
2555 2019-05-03 Tom de Vries <tdevries@suse.de>
2556
2557 * boards/cc-with-gdb-index.exp: New file.
2558
2559 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2560
2561 * gdb.rust/simple.exp: Add new test case.
2562 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2563 (main): Initialise an instance of the new struct.
2564
2565 2019-05-01 Tom Tromey <tromey@adacore.com>
2566
2567 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2568 record.
2569 (NPR): New variable.
2570 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2571 test.
2572
2573 2019-05-01 Tom Tromey <tromey@adacore.com>
2574
2575 * gdb.ada/packed_array_assign.exp: Add packed assignment
2576 regression test.
2577
2578 2019-05-01 Tom de Vries <tdevries@suse.de>
2579
2580 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2581
2582 2019-05-01 Tom de Vries <tdevries@suse.de>
2583
2584 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2585
2586 2019-04-30 Ali Tamur <tamur@google.com>
2587
2588 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2589
2590 2019-04-30 Tom Tromey <tromey@adacore.com>
2591
2592 * lib/ada.exp (find_ada_tool): New proc.
2593 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2594 * gdb.ada/catch_ex_std.exp: New file.
2595 * gdb.ada/catch_ex_std/foo.adb: New file.
2596 * gdb.ada/catch_ex_std/some_package.adb: New file.
2597 * gdb.ada/catch_ex_std/some_package.ads: New file.
2598
2599 2019-04-30 Tom Tromey <tromey@adacore.com>
2600
2601 PR c++/24470:
2602 * gdb.cp/temargs.cc: Add test code from PR.
2603
2604 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2605
2606 * gdb.fortran/vla-datatypes.exp: Update expected results.
2607 * gdb.fortran/vla-ptype.exp: Likewise.
2608 * gdb.fortran/vla-type.exp: Likewise.
2609 * gdb.fortran/vla-value.exp: Likewise.
2610
2611 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2612
2613 * gdb.fortran/ptr-indentation.exp: Update expected results.
2614 * gdb.fortran/ptype-on-functions.exp: Likewise.
2615 * gdb.fortran/vla-ptr-info.exp: Likewise.
2616 * gdb.fortran/vla-value.exp: Likewise.
2617
2618 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2619
2620 * gdb.fortran/ptype-on-functions.exp: New file.
2621 * gdb.fortran/ptype-on-functions.f90: New file.
2622
2623 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2624
2625 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2626 case void string.
2627
2628 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2629
2630 * gdb.fortran/complex.exp: Expand.
2631 * gdb.fortran/complex.f: Renamed to...
2632 * gdb.fortran/complex.f90: ...this, and extended to add more
2633 complex values.
2634
2635 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2636
2637 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2638 MODULO, CMPLX.
2639
2640 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2641 Richard Bunt <richard.bunt@arm.com>
2642
2643 * gdb.base/max-depth.c: New file.
2644 * gdb.base/max-depth.exp: New file.
2645 * gdb.python/py-nested-maps.c: New file.
2646 * gdb.python/py-nested-maps.exp: New file.
2647 * gdb.python/py-nested-maps.py: New file.
2648 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2649 (test_all_common): Call test_max_depth.
2650 * gdb.fortran/max-depth.exp: New file.
2651 * gdb.fortran/max-depth.f90: New file.
2652 * gdb.go/max-depth.exp: New file.
2653 * gdb.go/max-depth.go: New file.
2654 * gdb.modula2/max-depth.exp: New file.
2655 * gdb.modula2/max-depth.c: New file.
2656 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2657
2658 2019-04-29 Tom de Vries <tdevries@suse.de>
2659
2660 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2661
2662 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2663
2664 * gdb.base/callexit.exp: Test may-call-functions off.
2665
2666 2019-04-25 Keith Seitz <keiths@redhat.com>
2667
2668 PR c++/24367
2669 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2670 (another_incomplete_struct, test_incomplete): New definitions.
2671 (main): Use new definitions.
2672 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2673 functions.
2674
2675 2019-04-25 Ali Tamur <tamur@google.com>
2676
2677 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
2678
2679 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2680
2681 PR corefiles/11608
2682 PR corefiles/18187
2683 * gdb.base/coredump-filter-build-id.exp: New file.
2684
2685 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2686
2687 * Makefile.in: Pass through GDBSERVER_DEBUG.
2688 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2689 (gdbserver,debug): Add board setting.
2690 * gdb.trace/tspeed.exp: Skip when debugging.
2691 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2692 * lib/gdbserver-support.exp: Likewise
2693
2694 2019-04-24 Tom Tromey <tromey@adacore.com>
2695
2696 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2697 Rust.
2698
2699 2019-04-24 Tom Tromey <tromey@adacore.com>
2700
2701 * gdb.arch/amd64-eval.exp: Test bitfield return.
2702 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2703 (class Foo) <return_bitfields>: New method.
2704 (main): Call it.
2705
2706 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2707
2708 * gdb.cp/many-args.cc: New file.
2709 * gdb.cp/many-args.exp: New file.
2710
2711 2019-04-23 Tom de Vries <tdevries@suse.de>
2712
2713 PR gdb/24433
2714 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2715
2716 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2717
2718 * gdb.trace/backtrace.exp: Use nopie flag.
2719 * gdb.trace/circ.exp: Likewise.
2720 * gdb.trace/collection.exp: Likewise.
2721 * gdb.trace/ftrace.exp: Likewise.
2722 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2723 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2724 * gdb.trace/qtro.exp: Likewise.
2725 * gdb.trace/read-memory.exp: Likewise.
2726 * gdb.trace/report.exp: Likewise.
2727 * gdb.trace/tfile.exp: Likewise.
2728 * gdb.trace/tfind.exp: Likewise.
2729 * gdb.trace/unavailable.exp: Likewise.
2730
2731 2019-04-22 Pedro Alves <palves@redhat.com>
2732
2733 * gdb.base/solib-probes-nosharedlibrary.c,
2734 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2735
2736 2019-04-19 Tom Tromey <tromey@adacore.com>
2737
2738 * gdb.ada/ptype_union.c: New file.
2739 * gdb.ada/ptype_union.exp: New file.
2740
2741 2019-04-19 Tom Tromey <tromey@adacore.com>
2742
2743 PR symtab/24423:
2744 * gdb.base/list0.h (foo): Add a control-l character.
2745
2746 2019-04-18 Tom de Vries <tdevries@suse.de>
2747
2748 PR gdb/24433
2749 * boards/local-board.exp: Set sysroot to "".
2750
2751 2019-04-18 Tom de Vries <tdevries@suse.de>
2752 Pedro Alves <palves@redhat.com>
2753
2754 PR gdb/24454
2755 * gdb.threads/vfork-follow-child-exec.c: New file.
2756 * gdb.threads/vfork-follow-child-exec.exp: New file.
2757 * gdb.threads/vfork-follow-child-exit.c: New file.
2758 * gdb.threads/vfork-follow-child-exit.exp: New file.
2759
2760 2019-04-15 Leszek Swirski <leszeks@google.com>
2761
2762 * gdb.arch/amd64-eval.cc: New file.
2763 * gdb.arch/amd64-eval.exp: New file.
2764
2765 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2766
2767 * gdb.server/sysroot.c: New test.
2768 * gdb.server/sysroot.exp: New file.
2769 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2770 matching param.
2771
2772 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2773
2774 * gdb.base/align.exp: Extend test to cover structures containing
2775 only static fields.
2776
2777 2019-04-11 Tom de Vries <tdevries@suse.de>
2778
2779 * boards/cc-with-dwz-m.exp: New file.
2780 * boards/cc-with-dwz.exp: New file.
2781 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2782
2783 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2784
2785 * gdb.base/start-cpp.exp: New file.
2786 * gdb.base/start-cpp.cc: New file.
2787
2788 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2789
2790 * gdb.python/py-thrhandle.exp: Adjust tests to call
2791 thread_from_handle instead of thread_from_thread_handle.
2792
2793 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2794
2795 * gdb.python/py-thrhandle.exp: Add tests for
2796 gdb.InferiorThread.handle.
2797
2798 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2799
2800 * gdb.python/py-function.exp: Check calling helper function from
2801 all languages.
2802 * lib/gdb.exp (gdb_supported_languages): New proc.
2803
2804 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2805
2806 * gdb.base/complex-parts.c: New file.
2807 * gdb.base/complex-parts.exp: New file.
2808
2809 2019-04-01 Tom Tromey <tromey@adacore.com>
2810
2811 PR symtab/23331:
2812 * gdb.dwarf2/dw2-ranges-main.c: New file.
2813 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2814 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2815
2816 2019-03-30 Simon Marchi <simark@simark.ca>
2817
2818 * gdb.base/default.exp: Add values for $_gdb_major and
2819 $_gdb_minor.
2820
2821 2019-03-29 Tom Tromey <tromey@adacore.com>
2822
2823 * gdb.base/help.exp: Tighten apropos regexp.
2824
2825 2019-03-29 Keith Seitz <keiths@redhat.com>
2826
2827 * gdb.fortran/array-bounds.exp: New file.
2828 * gdb.fortran/array-bounds.f90: New file.
2829
2830 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2831
2832 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2833
2834 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2835
2836 * gdb.multi/hello.c (main): Increase alarm timer.
2837
2838 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2839
2840 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2841 factor when no hardware watchpoint support.
2842
2843 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2844 Pedro Alves <palves@redhat.com>
2845
2846 * boards/local-board.exp: set sysroot to /.
2847
2848 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2849
2850 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2851 in child.
2852
2853 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2854
2855 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2856 field.
2857 (make_container): Initialise new field.
2858 * gdb.python/py-prettyprint.exp: Add new tests.
2859 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2860 <display_hint>: New method.
2861
2862 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2863
2864 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2865 gdb_continue_to_breakpoint more throughout this test.
2866 (run_lang_tests) Supply unique test names, and use
2867 gdb_test_no_output.
2868
2869 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2870
2871 * gdb.base/finish-pretty.exp: Update expected results.
2872 * gdb.base/pretty-print.c: New file.
2873 * gdb.base/pretty-print.exp: New file.
2874
2875 2019-03-25 Pedro Alves <palves@redhat.com>
2876
2877 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2878 move comments outside list. Append '-i "" eof' section.
2879
2880 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2881
2882 PR testsuite/25016
2883 * README: Add pie options.
2884 * gdb.base/break-interp.exp: Ensure pie is disabled.
2885 * gdb.base/dump.exp: Likewise.
2886 * lib/gdb.exp (gdb_compile): Add pie option.
2887
2888 2019-03-19 Tom Tromey <tromey@adacore.com>
2889
2890 * gdb.mi/mi2-cli-display.c: New file.
2891 * gdb.mi/mi2-cli-display.exp: New file.
2892
2893 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2894 Tom Tromey <tromey@adacore.com>
2895
2896 * gdb.ada/ptype_array/pck.adb: New file.
2897 * gdb.ada/ptype_array/pck.ads: New file.
2898 * gdb.ada/ptype_array/foo.adb: New file.
2899 * gdb.ada/ptype_array.exp: New file.
2900
2901 2019-03-14 Tom Tromey <tromey@adacore.com>
2902
2903 * gdb.base/style.exp: Add "set style sources" test.
2904
2905 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2906
2907 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2908 * mi-breakpoint-multiple-locations.exp: ... this.
2909 (make_breakpoints_pattern): New proc.
2910 (do_test): Add mi_version parameter, test -break-insert,
2911 -break-info and =breakpoint-created.
2912
2913 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2914
2915 * config/default.exp: Remove 'load_lib gdb.exp'.
2916 * config/monitor.exp: Likewise.
2917 * config/sid.exp: Likewise.
2918 * config/sim.exp: Likewise.
2919 * config/slite.exp: Likewise.
2920 * config/unix.exp: Likewise.
2921 * gdb.base/default.exp: Remove unhelpful comment.
2922
2923 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2924
2925 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2926
2927 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2928
2929 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2930
2931 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2932
2933 * gdb.fortran/type-kinds.exp: Update expected results.
2934
2935 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2936
2937 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2938
2939 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2940
2941 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2942 function.
2943 (test_basic_parsing_of_type_kinds): Expand types tested.
2944 (test_parsing_invalid_type_kinds): New function.
2945
2946 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2947
2948 * gdb.fortran/intrinsics.exp: New file.
2949 * gdb.fortran/intrinsics.f90: New file.
2950 * gdb.fortran/type-kinds.exp: New file.
2951
2952 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2953
2954 * gdb.fortran/dot-ops.exp: New file.
2955
2956 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2957
2958 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2959 Check upper and lower case logical literals.
2960
2961 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2962
2963 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2964 Remove duplicate tests.
2965
2966 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2967
2968 * lib/gdb.exp (builtin_cd): rename of cd.
2969 (cd): Override builtin.
2970
2971 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2972
2973 * gdb.fortran/function-calls.exp: New file.
2974 * gdb.fortran/function-calls.f90: New test.
2975
2976 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2977
2978 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2979 on user program standard output.
2980 * gdb.fortran/short-circuit-argument-list.f90: Record function
2981 calls.
2982
2983 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2984
2985 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2986 failure.
2987
2988 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2989
2990 PR gdb/8527
2991 * gdb.base/interrupt-daemon-attach.c,
2992 gdb.base/interrupt-daemon-attach.exp: New test.
2993
2994 2019-02-27 Pedro Alves <palves@redhat.com>
2995
2996 * gdb.base/page.exp: Add tests for "set width/height -1".
2997
2998 2019-02-27 Pedro Alves <palves@redhat.com>
2999
3000 * gdb.base/page.exp: Add tests for "set/show width/height" with
3001 "infinite" values.
3002
3003 2019-02-27 Tom Tromey <tromey@adacore.com>
3004
3005 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3006 2.4.
3007 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3008 workaround.
3009
3010 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3011
3012 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3013 tests for structs with static members.
3014
3015 2019-02-26 Tom Tromey <tromey@adacore.com>
3016
3017 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3018 ValueError, not TypeError.
3019
3020 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3021
3022 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3023 call from main program.
3024
3025 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3026
3027 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3028 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3029 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3030 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3031 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3032
3033 2019-02-22 Keith Seitz <keiths@redhat.com>
3034
3035 PR symtab/23853
3036 * gdb.base/symlink-sourcefile.c: New file.
3037 * gdb.base/symlink-sourcefile.exp: New file.
3038
3039 2019-02-20 Tom Tromey <tom@tromey.com>
3040
3041 * gdb.base/info_qt.exp: Update.
3042
3043 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3044
3045 * gdb.base/source.exp: Move "error in sourced script" code to
3046 the end.
3047 * gdb.base/source-error.gdb: Move contents to
3048 source-error-1.gdb. Add new code to source source-error-1.gdb.
3049 * gdb.base/source-error-1.gdb: New file, from previous
3050 source-error.gdb.
3051
3052 2019-02-17 Tom Tromey <tom@tromey.com>
3053
3054 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3055 for macro styling.
3056 * gdb.base/style.c (SOME_MACRO): New macro.
3057
3058 2019-02-17 Tom Tromey <tom@tromey.com>
3059
3060 * gdb.base/style.exp: Add line-wrapping tests.
3061 * gdb.base/page.exp: Add test for quitting during pagination.
3062
3063 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3064
3065 * gdb.ada/big_packed_array: New testcase.
3066 * gdb.ada/homonym.exp: Fix incorrect expected output for
3067 "break <homonym__get_value>" test.
3068
3069 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3070
3071 PR breakpoints/21870
3072 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3073 and prepare_for_testing. Add comment.
3074 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3075 redundant cleanup call. Clean up comment.
3076
3077 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3078
3079 PR breakpoints/21870
3080 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3081 * gdb.arch/aarch64-dbreg-contents.c: New file.
3082
3083 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3084
3085 * gdb.ada/mi_ref_changeable: New testcase.
3086
3087 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3088
3089 * gdb.base/attach.exp: Add double attach test.
3090
3091 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3092
3093 * lib/gdb.exp (default_gdb_start): Don't match pagination
3094 prompt.
3095 (gdb_init): Set stty_init.
3096
3097 2019-01-27 Tom Tromey <tom@tromey.com>
3098
3099 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3100 skip_python_tests.
3101
3102 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3103
3104 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3105 New structure.
3106 (struct struct_static_02_02): Likewise.
3107 (struct struct_static_02_03): Likewise.
3108 (struct struct_static_02_04): Likewise.
3109 (struct struct_static_04_01): Likewise.
3110 (struct struct_static_04_02): Likewise.
3111 (struct struct_static_04_03): Likewise.
3112 (struct struct_static_04_04): Likewise.
3113 (struct struct_static_06_01): Likewise.
3114 (struct struct_static_06_02): Likewise.
3115 (struct struct_static_06_03): Likewise.
3116 (struct struct_static_06_04): Likewise.
3117 (cmp_struct_static_02_01): Likewise.
3118 (cmp_struct_static_02_02): Likewise.
3119 (cmp_struct_static_02_03): Likewise.
3120 (cmp_struct_static_02_04): Likewise.
3121 (cmp_struct_static_04_01): Likewise.
3122 (cmp_struct_static_04_02): Likewise.
3123 (cmp_struct_static_04_03): Likewise.
3124 (cmp_struct_static_04_04): Likewise.
3125 (cmp_struct_static_06_01): Likewise.
3126 (cmp_struct_static_06_02): Likewise.
3127 (cmp_struct_static_06_03): Likewise.
3128 (cmp_struct_static_06_04): Likewise.
3129 (call_all): Test new structs.
3130 * gdb.base/infcall-nested-structs.exp: Likewise.
3131
3132 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3133 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3134
3135 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3136 * gdb.base/stack-protector.c: New test.
3137 * gdb.base/stack-protector.exp: New file.
3138 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3139 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3140 option.
3141 (gdb_compile): Remove stack protector for GCC and prevent
3142 recursion.
3143
3144 2019-01-16 Keith Seitz <keiths@redhat.com>
3145
3146 PR gdb/23773
3147 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3148
3149 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3150
3151 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3152 aliases.
3153 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3154 tests.
3155 * gdb.arch/powerpc-vector-regs.c: New file.
3156 * gdb.arch/powerpc-vector-regs.exp: New file.
3157
3158 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3159
3160 * gdb.arch/altivec-regs.exp: Fix the list passed to
3161 gdb_expect_list when testing "info vector".
3162
3163 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3164
3165 * gdb.base/style.exp: Don't include path in testname.
3166
3167 2019-01-10 Keith Seitz <keiths@redhat.com>
3168
3169 PR gdb/23712
3170 PR symtab/23010
3171 * gdb.dwarf2/multidictionary.exp: New file.
3172
3173 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3174
3175 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3176 (test_gnuv3_style_demangling): ... this.
3177 (test_lucid_style_demangling): Remove.
3178 (test_arm_style_demangling): Remove.
3179 (test_hp_style_demangling): Remove.
3180 (do_tests): Remove calls to the above.
3181
3182 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3183
3184 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3185 case.
3186
3187 2019-01-06 Tom Tromey <tom@tromey.com>
3188
3189 PR gdb/28155:
3190 * gdb.dwarf2/typedef-void-finish.exp: New file.
3191
3192 2018-12-28 Tom Tromey <tom@tromey.com>
3193 Simon Marchi <simark@simark.ca>
3194
3195 * gdb.base/jit-exec.exp: New file.
3196 * gdb.base/jit-exec.c: New file.
3197 * gdb.base/jit-execd.c: New file.
3198
3199 2018-12-28 Tom Tromey <tom@tromey.com>
3200
3201 * gdb.base/style.exp: Update test to check for address styling.
3202
3203 2018-12-28 Tom Tromey <tom@tromey.com>
3204
3205 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3206 message.
3207
3208 2018-12-28 Tom Tromey <tom@tromey.com>
3209
3210 * gdb.base/style.exp: Add test for version number styling.
3211
3212 2018-12-28 Tom Tromey <tom@tromey.com>
3213
3214 * gdb.base/style.exp: Add test for print_address_symbolic.
3215
3216 2018-12-28 Tom Tromey <tom@tromey.com>
3217
3218 * gdb.base/style.exp: Add test for breakpoint setting.
3219
3220 2018-12-28 Tom Tromey <tom@tromey.com>
3221
3222 * gdb.base/style.exp: Add test for variable names.
3223
3224 2018-12-28 Tom Tromey <tom@tromey.com>
3225
3226 * gdb.base/style.exp: New file.
3227 * gdb.base/style.c: New file.
3228
3229 2018-12-28 Tom Tromey <tom@tromey.com>
3230
3231 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3232 "dumb".
3233 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3234 the TERM environment variable.
3235
3236 2018-12-27 Tom Tromey <tom@tromey.com>
3237
3238 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3239 pagination test.
3240
3241 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3242
3243 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3244 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3245
3246 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3247
3248 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3249 Filename a.adb changed to bp_fun_addr.adb.
3250 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3251
3252 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3253
3254 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3255 non-PIE executables.
3256 * README: Mention the gdb,nopie_flag board setting.
3257 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3258 non-PIE executable.
3259 * gdb.arch/amd64-entry-value.exp: Likewise.
3260 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3261 * gdb.arch/i386-float.exp: Likewise.
3262 * gdb.arch/i386-signal.exp: Likewise.
3263 * gdb.mi/mi-reg-undefined.exp: Likewise.
3264
3265 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3266
3267 PR gdb/23974
3268 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3269
3270 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3271
3272 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3273 Update order of results accordingly.
3274
3275 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3276
3277 * gdb.base/annota1.exp: Update a test regexp.
3278
3279 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3280
3281 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3282
3283 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3284
3285 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3286 (reuse_time): Initialize to REUSE_TIME_CAP.
3287 (check_rc): New function.
3288 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3289 Check pthread_create rc.
3290 (spawner_thread_func): Check pthread_create and pthread_join rc.
3291
3292 2018-12-08 Pedro Alves <palves@redhat.com>
3293
3294 * gdb.base/list.exp (test_forward_search): Rename to ...
3295 (test_forward_reverse_search): ... this. Also test reverse-search
3296 and the forward-search alias.
3297
3298 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3299
3300 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3301 local timeout variable before return, and remove all local timeout
3302 variable entirely.
3303 (gdb_load): Likewise.
3304
3305 2018-12-01 Tom de Vries <tdevries@suse.de>
3306
3307 * gdb.base/gdb-caching-proc.exp: New file.
3308
3309 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3310
3311 * Makefile.in (TIMESTAMP): New variable.
3312 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3313 command.
3314 (check-single-racy): Likewise.
3315 (check/%.exp): Likewise.
3316 (check-racy/%.exp): Likewise.
3317 (workers/%.worker): Likewise.
3318 (build-perf): Likewise.
3319 (check-perf): Likewise.
3320 * README: Describe new "TS" and "TS_FORMAT" variables.
3321 * print-ts.py: New file.
3322
3323 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3324
3325 PR python/23714
3326 * gdb.python/python.exp: Test command repetition after
3327 gdb.execute.
3328
3329 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3330
3331 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3332 is correctly aligned.
3333
3334 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3335
3336 * gdb.ada/info_auto_lang.exp: New testcase.
3337 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3338 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3339 * gdb.ada/info_auto_lang/some_c.c: New file.
3340
3341 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3342
3343 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3344 FUNC_lang language syntax.
3345
3346 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3347
3348 * gdb.base/info_minsym.c: New file.
3349 * gdb.base/info_minsym.exp: New file.
3350
3351 2018-11-19 Tom Tromey <tom@tromey.com>
3352
3353 PR rust/23625:
3354 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3355 * gdb.rust/expr.exp: Update expected output. Change one test.
3356
3357 2018-11-19 Tom Tromey <tom@tromey.com>
3358
3359 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3360
3361 2018-11-19 Pedro Alves <palves@redhat.com>
3362
3363 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3364 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3365 see the expected warning.
3366
3367 2018-11-16 Alan Hayward <alan.hayward@arm.com>
3368
3369 PR gdb/22736:
3370 * gdb.cp/infcall-nodebug-lib.c: New test.
3371 * gdb.cp/infcall-nodebug-main.c: New test.
3372 * gdb.cp/infcall-nodebug.exp: New file.
3373
3374 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3375
3376 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3377 completer tests.
3378
3379 2018-11-09 Tom de Vries <tdevries@suse.de>
3380
3381 * gdb.base/msym-lang.c: New test.
3382 * gdb.base/msym-lang.exp: New file.
3383 * gdb.base/msym-lang-main.c: New test.
3384
3385 2018-11-08 Tom Tromey <tom@tromey.com>
3386
3387 PR gdb/23555:
3388 PR gdb/23838:
3389 * gdb.base/warning.exp: New file.
3390
3391 2018-11-08 Jan Beulich <jbeulich@suse.com>
3392
3393 * testsuite/gdb.arch/i386-avx512.c,
3394 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3395
3396 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3397
3398 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3399 point hardware.
3400
3401 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3402
3403 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3404 * gdb.dwarf2/missing-type-name.exp: New file.
3405
3406 2018-11-06 Tom de Vries <tdevries@suse.de>
3407
3408 * gdb.base/many-headers.c: New test.
3409 * gdb.base/many-headers.exp: New file.
3410
3411 2018-11-06 Jim Wilson <jimw@sifive.com>
3412
3413 * gdb.base/code_elim.exp: For riscv, set additional_flags
3414 to include -msmall-data-limit=0.
3415
3416 2018-11-01 Joel Brobecker <brobecker@adacore.com>
3417
3418 * gdb.ada/watch_minus_l: New testcase.
3419
3420 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3421
3422 * gdb.arch/aix-sighandle.c: New file.
3423 * gdb.arch/aix-sighandle.exp: New file.
3424
3425 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3426
3427 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3428 registers being unions.
3429
3430 2018-10-31 Tom de Vries <tdevries@suse.de>
3431
3432 * lib/valgrind.exp: New file.
3433 (vgdb_start, vgdb_stop): New procs, factored out of ...
3434 * gdb.base/valgrind-bt.exp: ... here, ...
3435 * gdb.base/valgrind-disp-step.exp: ... here and ...
3436 * gdb.base/valgrind-infcall.exp: ... here.
3437
3438 2018-10-31 Tom de Vries <tdevries@suse.de>
3439
3440 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3441
3442 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3443
3444 * gdb.dwarf2/void-type.c: New file.
3445 * gdb.dwarf2/void-type.exp: New file.
3446
3447 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3448
3449 * gdb.base/info_qt.c: New file.
3450 * gdb.base/info_qt.exp: New file.
3451
3452 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3453
3454 * gdb.arch/powerpc-htm-regs.c: New file.
3455 * gdb.arch/powerpc-htm-regs.exp: New file.
3456
3457 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3458
3459 * gdb.arch/powerpc-tar.c: New file.
3460 * gdb.arch/powerpc-tar.exp: New file.
3461
3462 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3463
3464 * gdb.arch/powerpc-ppr-dscr.c: New file.
3465 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3466
3467 2018-10-25 Tom de Vries <tdevries@suse.de>
3468
3469 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3470
3471 2018-10-24 Tom de Vries <tdevries@suse.de>
3472
3473 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3474 longer exists error.
3475
3476 2018-10-24 Tom de Vries <tdevries@suse.de>
3477
3478 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3479
3480 2018-10-24 Tom de Vries <tdevries@suse.de>
3481
3482 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3483 --db-attach in valgrind.
3484
3485 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3486
3487 * gdb.arch/riscv-reg-aliases.c: New file.
3488 * gdb.arch/riscv-reg-aliases.exp: New file.
3489
3490 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3491
3492 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3493
3494 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3495
3496 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3497
3498 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3499
3500 * gdb.cp/ovldbreak.exp: Fix regexps.
3501
3502 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3503
3504 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3505
3506 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3507
3508 PR cli/23785
3509 * gdb.base/restore.exp: New test to check if "restore" with an
3510 invalid file doesn't segfault.
3511
3512 2018-10-18 Tom de Vries <tdevries@suse.de>
3513
3514 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3515 * gdb.ada/excep_handle.exp: Same.
3516 * gdb.ada/mi_string_access.exp: Same.
3517 * gdb.ada/mi_var_union.exp: Same.
3518 * gdb.arch/arc-analyze-prologue.exp: Same.
3519 * gdb.arch/arc-decode-insn.exp: Same.
3520 * gdb.base/readnever.exp: Same.
3521 * gdb.fortran/printing-types.exp: Same.
3522 * gdb.guile/scm-lazy-string.exp: Same.
3523
3524 2018-10-16 Tom de Vries <tdevries@suse.de>
3525
3526 PR gdb/23730
3527 * gdb.base/catch-follow-exec.c: Add copyright notice.
3528 * gdb.base/catch-follow-exec.exp: Rewrite to use
3529 gdb_spawn_with_cmdline_opts. Require gdb-native.
3530
3531 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3532
3533 * gdb.trace/actions-changed.exp: Check for arch support.
3534 * gdb.trace/actions.exp: Likewise.
3535 * gdb.trace/ax.exp: Likewise.
3536 * gdb.trace/backtrace.exp: Likewise.
3537 * gdb.trace/change-loc.exp: Likewise.
3538 * gdb.trace/deltrace.exp: Likewise.
3539 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3540 * gdb.trace/ftrace.exp: Likewise.
3541 * gdb.trace/infotrace.exp: Check for arch support.
3542 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3543 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3544 * gdb.trace/mi-tsv-changed.exp: Likewise.
3545 * gdb.trace/packetlen.exp: Likewise.
3546 * gdb.trace/passc-dyn.exp: Likewise.
3547 * gdb.trace/passcount.exp: Likewise.
3548 * gdb.trace/pending.exp: Likewise.
3549 * gdb.trace/range-stepping.exp: Check for shlib support.
3550 * gdb.trace/report.exp: Check for arch support.
3551 * gdb.trace/save-trace.exp: Likewise.
3552 * gdb.trace/signal.exp: Check for signal support.
3553 * gdb.trace/tfind.exp: Check for arch support.
3554 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3555 * gdb.trace/trace-common.h: Add comment.
3556 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3557 * gdb.trace/trace-enable-disable.exp: Likewise.
3558 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3559 * gdb.trace/tracecmd.exp: Check for arch support.
3560 * gdb.trace/tspeed.exp: Check for shlib and target support.
3561 * gdb.trace/tstatus.exp: Check for arch support.
3562 * gdb.trace/tsv.exp: Likewise.
3563 * gdb.trace/while-dyn.exp: Likewise.
3564 * gdb.trace/while-stepping.exp: Likewise.
3565 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3566
3567 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3568
3569 * gdb.trace/tspeed.exp: Remove nowarnings.
3570 (prepare_for_trace_test): Declare "global ipalib".
3571 * gdb.trace/tspeed.c: Include unistd.h.
3572 (main): Remove superfluous printf argument.
3573
3574 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3575
3576 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3577 directory prefix on the filename.
3578
3579 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3580
3581 * gdb.gdb/unittest.exp: Update expected message informing that
3582 selftests have been disabled.
3583 * gdb.server/unittest.exp: Likewise.
3584
3585 2018-10-09 Tom de Vries <tdevries@suse.de>
3586
3587 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3588 with runto_main.
3589
3590 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3591
3592 PR c++/16841
3593 * gdb.cp/virtbase2.cc: New file.
3594 * gdb.cp/virtbase2.exp: New file.
3595
3596 2018-10-06 Tom Tromey <tom@tromey.com>
3597
3598 PR python/19399:
3599 * gdb.python/py-inferior.exp: Add architecture test.
3600
3601 2018-10-06 Tom Tromey <tom@tromey.com>
3602
3603 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3604 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3605
3606 2018-10-06 Tom Tromey <tom@tromey.com>
3607
3608 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3609 of a "throw" catchpoint.
3610
3611 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3612
3613 * gdb.base/info-proc.exp: Update string expected from "help info
3614 proc".
3615
3616 2018-10-04 Tom Tromey <tom@tromey.com>
3617
3618 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3619 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3620 (test_initial_complaints, test_empty_complaints): Update.
3621 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3622
3623 2018-10-04 Tom Tromey <tom@tromey.com>
3624
3625 PR cli/19551:
3626 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3627 * lib/gdb.exp (gdb_file_cmd): Update.
3628 * gdb.stabs/weird.exp (print_weird_var): Update.
3629 * gdb.server/solib-list.exp: Update.
3630 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3631 * gdb.mi/mi-cli.exp: Update.
3632 * gdb.linespec/linespec.exp: Update.
3633 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3634 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3635 * gdb.cp/cp-relocate.exp: Update.
3636 * gdb.base/sym-file.exp: Update.
3637 * gdb.base/relocate.exp: Update.
3638 * gdb.base/readnever.exp: Update.
3639 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3640 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3641 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3642 * gdb.base/code_elim.exp: Update.
3643 * gdb.base/break-unload-file.exp (test_break): Update.
3644 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3645 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3646 Update.
3647 * gdb.base/attach.exp (do_attach_tests): Update.
3648 * gdb.base/sepdebug.exp: Update.
3649 * gdb.python/py-section-script.exp: Update.
3650
3651 2018-10-04 Tom Tromey <tom@tromey.com>
3652
3653 PR cli/22234:
3654 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3655 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3656 output.
3657
3658 2018-10-04 Tom Tromey <tom@tromey.com>
3659
3660 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3661 set width and height to 0.
3662 (test_command_line_attach_run): Use -quiet.
3663
3664 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3665
3666 * lib/gdb.exp (skip_ifunc_tests): New.
3667 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3668 other compile failures.
3669 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3670
3671 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3672
3673 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3674 is_amd64_regs_target.
3675
3676 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3677
3678 * gdb.arch/aarch64-sighandler-regs.c: New test.
3679 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3680 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3681
3682 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3683
3684 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3685 assembly.
3686
3687 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3688
3689 * gdb.base/frame-selection.exp: New file.
3690 * gdb.base/frame-selection.c: New file.
3691
3692 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3693
3694 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3695 pthread barrier.
3696 (main): Likewise.
3697
3698 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3699
3700 * gdb.base/large-frame-1.c: New file.
3701 * gdb.base/large-frame-2.c: New file.
3702 * gdb.base/large-frame.exp: New file.
3703 * gdb.base/large-frame.h: New file.
3704
3705 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3706
3707 PR gdb/20948
3708 * gdb.base/write_mem.exp: New test.
3709 * gdb.base/write_mem.c: Likewise.
3710
3711 2018-09-23 Tom Tromey <tom@tromey.com>
3712
3713 PR python/18852:
3714 * gdb.python/py-parameter.exp: Add test for parameter that throws
3715 on "set".
3716
3717 2018-09-23 Tom Tromey <tom@tromey.com>
3718
3719 PR python/17284:
3720 * gdb.python/py-template.exp (test_template_arg): Add test for
3721 negative template argument number.
3722
3723 2018-09-23 Tom Tromey <tom@tromey.com>
3724
3725 PR python/14062:
3726 * gdb.python/python.exp: Add test for post_event error.
3727
3728 2018-09-23 Tom Tromey <tom@tromey.com>
3729
3730 PR python/18170:
3731 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3732 convert pointers to int and long.
3733
3734 2018-09-23 Tom Tromey <tom@tromey.com>
3735
3736 PR python/20126:
3737 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3738 signed-ness conversion tests.
3739
3740 2018-09-23 Tom Tromey <tom@tromey.com>
3741
3742 PR python/18352;
3743 * gdb.python/py-value.exp (test_float_conversion): New proc.
3744 Use it.
3745
3746 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3747
3748 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3749
3750 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3751
3752 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3753 no readline.
3754 * gdb.base/utf8-identifiers.exp: Likewise.
3755 * gdb.cp/cpcompletion.exp: Likewise.
3756 * gdb.linespec/cpcompletion.exp: Likewise.
3757 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3758 * gdb.linespec/cpls-ops.exp: Likewise.
3759
3760 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3761 Chris January <chris.january@arm.com>
3762
3763 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3764 * gdb.fortran/short-circuit-argument-list.exp: New file.
3765 * gdb.fortran/short-circuit-argument-list.f90: New test.
3766
3767 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3768
3769 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3770 "arch=" keyword when executing "-stack-list-frames".
3771
3772 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3773
3774 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3775 "arch=" keyword when executing "-stack-list-frames".
3776
3777 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3778
3779 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3780 break ada".
3781
3782 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3783
3784 PR python/23669
3785 * gdb.python/python.exp: Test gdb.execute("show commands").
3786
3787 2018-09-16 Tom Tromey <tom@tromey.com>
3788
3789 * gdb.base/new-ui.exp (do_execution_tests): Update.
3790 * gdb.base/dbx.exp (test_breakpoints): Update.
3791
3792 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3793
3794 * lib/gdb.exp (gdb_simple_compile): Add proc.
3795 (is_elf_target): Use gdb_simple_compile.
3796 (skip_altivec_tests): Likewise.
3797 (skip_vsx_tests): Likewise.
3798 (skip_tsx_tests): Likewise.
3799 (skip_btrace_tests): Likewise.
3800 (skip_btrace_pt_tests): Likewise.
3801 (gdb_can_simple_compile): Likewise.
3802 (gdb_has_argv0): Likewise.
3803 (gdb_target_symbol_prefix): Likewise.
3804 (target_supports_scheduler_locking): Likewise.
3805
3806 2018-09-13 Tom Tromey <tom@tromey.com>
3807
3808 * Makefile.in (TAGS): Recognize proc_with_prefix and
3809 gdb_caching_proc.
3810
3811 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3812
3813 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3814 method.
3815
3816 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3817
3818 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3819 and a few other Inferior properties when the Inferior is no
3820 longer valid.
3821
3822 2018-09-13 Tom Tromey <tom@tromey.com>
3823
3824 PR rust/23650:
3825 * gdb.rust/simple.exp: Add test for enum field access error.
3826
3827 2018-09-13 Tom Tromey <tom@tromey.com>
3828
3829 PR rust/23626:
3830 * gdb.rust/simple.rs (EmptyEnum): New type.
3831 (main): Use it.
3832 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3833
3834 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3835
3836 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3837 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3838 * gdb.python/py-symtab.exp: Update test printing an objfile.
3839
3840 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3841
3842 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3843 object.
3844
3845 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3846
3847 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3848 (support_complex_tests): Use gdb_can_simple_compile.
3849 (is_ilp32_target): Likewise.
3850 (is_lp64_target): Likewise.
3851 (is_64_target): Likewise.
3852 (is_amd64_regs_target): Likewise.
3853 (is_aarch32_target): Likewise.
3854 (gdb_int128_helper): Likewise.
3855
3856 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3857
3858 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3859
3860 2018-09-10 Jerome Guitton <guitton@adacore.com>
3861
3862 * gdb.ada/same_component_name: Add test for case of tagged record
3863 with variable-length fields.
3864
3865 2018-09-10 Xavier Roirand <roirand@adacore.com>
3866
3867 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3868 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3869 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3870 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3871
3872 2018-09-10 Xavier Roirand <roirand@adacore.com>
3873
3874 * gdb.ada/mi_string_access.exp: New testcase.
3875 * gdb.ada/mi_string_access/bar.adb: New file.
3876 * gdb.ada/mi_string_access/pck.adb: New file.
3877 * gdb.ada/mi_string_access/pck.asd: New file.
3878
3879 2018-09-10 Xavier Roirand <roirand@adacore.com>
3880
3881 * gdb.ada/mi_var_union.exp: New testcase.
3882 * gdb.ada/mi_var_union/bar.adb: New file.
3883 * gdb.ada/mi_var_union/pck.adb: New file.
3884 * gdb.ada/mi_var_union/pck.asd: New file.
3885
3886 2018-09-08 Tom Tromey <tom@tromey.com>
3887
3888 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3889
3890 2018-09-08 Tom Tromey <tom@tromey.com>
3891
3892 PR python/16047:
3893 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3894 (register_pretty_printers): Register new printer.
3895 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3896 test.
3897 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3898 (an_int_type3): New global.
3899
3900 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3901
3902 * gdb.ada/expr_with_funcall: New testcase.
3903
3904 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3905
3906 * gdb.ada/packed_array_assign: New testcase.
3907
3908 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3909
3910 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3911 names, and add test prefixes to make test names unique.
3912
3913 2018-09-05 Tom de Vries <tdevries@suse.de>
3914
3915 * gdb.dwarf2/varval.exp: Add test.
3916
3917 2018-09-04 Gary Benson <gbenson@redhat.com>
3918
3919 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3920 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3921
3922 2018-08-31 Tom Tromey <tom@tromey.com>
3923
3924 * gdb.rust/simple.rs: Rename second variable "v".
3925
3926 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3927
3928 * gdb.base/funcargs.c (use_a): New function.
3929 (recurse): Call use_a.
3930
3931 2018-08-29 Keith Seitz <keiths@redhat.com>
3932
3933 * gdb.compile/compile-cplus-anonymous.cc: New file.
3934 * gdb.compile/compile-cplus-anonymous.exp: New file.
3935 * gdb.compile/compile-cplus-array-decay.cc: New file.
3936 * gdb.compile/compile-cplus-array-decay.exp: New file.
3937 * gdb.compile/compile-cplus-inherit.cc: New file.
3938 * gdb.compile/compile-cplus-inherit.exp: New file.
3939 * gdb.compile/compile-cplus-member.cc: New file.
3940 * gdb.compile/compile-cplus-member.exp: New file.
3941 * gdb.compile/compile-cplus-method.cc: New file.
3942 * gdb.compile/compile-cplus-method.exp: New file.
3943 * gdb.compile/compile-cplus-mod.c: "New" file.
3944 * gdb.compile/compile-cplus-namespace.cc: New file.
3945 * gdb.compile/compile-cplus-namespace.exp: New file.
3946 * gdb.compile/compile-cplus-nested.cc: New file.
3947 * gdb.compile/compile-cplus-nested.exp: New file.
3948 * gdb.compile/compile-cplus-print.c: "New" file.
3949 * gdb.compile/compile-cplus-print.exp: "New" file.
3950 * gdb.compile/compile-cplus-virtual.cc: New file.
3951 * gdb.compile/compile-cplus-virtual.exp: New file.
3952 * gdb.compile/compile-cplus.c: "New" file.
3953 * gdb.compile/compile-cplus.exp: "New" file.
3954 * lib/compile-support.exp: New file.
3955
3956 2018-08-16 Gary Benson <gbenson@redhat.com>
3957
3958 PR gdb/13000:
3959 * gdb.base/batch-exit-status.exp: New file.
3960 * gdb.base/batch-exit-status.good-commands: Likewise.
3961 * gdb.base/batch-exit-status.bad-commands: Likewise.
3962
3963 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3964
3965 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3966 (struct struct02): Likewise.
3967 (struct struct03): Likewise.
3968 (struct struct04): Likewise.
3969 (struct struct_01_01): New struct.
3970 (struct struct_01_02): Likewise.
3971 (struct struct_01_03): Likewise.
3972 (struct struct_01_04): Likewise.
3973 (struct struct_02_01): Likewise.
3974 (struct struct_02_02): Likewise.
3975 (struct struct_02_03): Likewise.
3976 (struct struct_02_04): Likewise.
3977 (struct struct_04_01): Likewise.
3978 (struct struct_04_02): Likewise.
3979 (struct struct_04_03): Likewise.
3980 (struct struct_04_04): Likewise.
3981 (struct struct_05_01): Likewise.
3982 (struct struct_05_02): Likewise.
3983 (struct struct_05_03): Likewise.
3984 (struct struct_05_04): Likewise.
3985 (cmp_struct01): Remove function.
3986 (cmp_struct02): Likewise.
3987 (cmp_struct03): Likewise.
3988 (cmp_struct04): Likewise.
3989 (cmp_struct_01_01): Add Function.
3990 (cmp_struct_01_02): Likewise.
3991 (cmp_struct_01_03): Likewise.
3992 (cmp_struct_01_04): Likewise.
3993 (cmp_struct_02_01): Likewise.
3994 (cmp_struct_02_02): Likewise.
3995 (cmp_struct_02_03): Likewise.
3996 (cmp_struct_02_04): Likewise.
3997 (cmp_struct_04_01): Likewise.
3998 (cmp_struct_04_02): Likewise.
3999 (cmp_struct_04_03): Likewise.
4000 (cmp_struct_04_04): Likewise.
4001 (cmp_struct_05_01): Likewise.
4002 (cmp_struct_05_02): Likewise.
4003 (cmp_struct_05_03): Likewise.
4004 (cmp_struct_05_04): Likewise.
4005 (call_all): Add new structs.
4006 * gdb.base/infcall-nested-structs.exp: Likewise.
4007
4008 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4009
4010 * gdb.python/py-framefilter-mi.exp: Update regexp to
4011 check for "arch" field in frame output.
4012
4013 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4014
4015 * gdb.dwarf2/dw2-ranges-func.c: New file.
4016 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4017
4018 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4019
4020 * gdb.base/term.exp: Compare terminal settings with values from
4021 the inferior.
4022 * gdb.base/term.c: Get and set terminal settings.
4023
4024 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4025
4026 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4027 accommodate new "arch" field in frame output.
4028 * gdb.mi/mi-return.exp: Likewise.
4029 * gdb.mi/mi-stack.exp: Likewise.
4030 * gdb.mi/mi-syn-frame.exp: Likewise.
4031 * gdb.mi/user-selected-context-sync.exp: Likewise.
4032
4033 2018-08-19 Michael Spang <spang@google.com>
4034
4035 PR gdb/11786
4036 * gdb.base/gcore-tls-pie.c: New file.
4037 * gdb.base/gcore-tls-pie.exp: New file.
4038
4039 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4040
4041 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4042 * gdb.dwarf2/varval.c: New file.
4043 * gdb.dwarf2/varval.exp: New file.
4044
4045 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4046
4047 PR gdb/18931
4048 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4049
4050 2018-08-16 Keith Seitz <keiths@redhat.com>
4051
4052 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4053 tests expected to pass.
4054
4055 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4056
4057 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4058 -data-disassemble -a.
4059 (test_disassembly_bogus_args): Likewise.
4060
4061 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4062
4063 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4064
4065 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4066
4067 * gdb.base/vla-optimized-out.exp: Add new test.
4068
4069 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4070
4071 * gdb.base/vla-optimized-out-o3.exp: Delete.
4072 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4073 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4074 deleted tests.
4075
4076 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4077
4078 PR gdb/18050:
4079 * gdb.server/extended-remote-restart.c: New file.
4080 * gdb.server/extended-remote-restart.exp: New file.
4081
4082 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4083
4084 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4085 "set variable index = 42".
4086
4087 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4088
4089 * boards/index-cache-gdb.exp: New file.
4090 * gdb.dwarf2/index-cache.exp: New file.
4091 * gdb.dwarf2/index-cache.c: New file.
4092 * gdb.base/maint.exp: Check if we are using the index cache.
4093
4094 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4095
4096 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4097 MAKEFLAGS.
4098
4099 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4100
4101 * dg-extract-results.sh: Move to toplevel contrib.
4102 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4103 * Makefile.in (check-parallel-racy): Likewise.
4104
4105 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4106
4107 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4108 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4109 tests if the target supports scheduler locking.
4110
4111 2018-08-04 Tom de Vries <tdevries@suse.de>
4112
4113 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4114
4115 2018-08-02 Tom Tromey <tom@tromey.com>
4116
4117 PR symtab/16842.
4118 * gdb.cp/temargs.exp: Test "info address" of a template
4119 parameter.
4120
4121 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4122
4123 * gdb.python/py-mi-var-info-path-expression.c: New file.
4124 * gdb.python/py-mi-var-info-path-expression.py: New file.
4125 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4126
4127 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4128
4129 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4130 error after "cannot resolve name" string.
4131
4132 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4133
4134 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4135 started.
4136 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4137
4138 2018-07-28 Tom de Vries <tdevries@suse.de>
4139
4140 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4141
4142 2018-07-26 Tom de Vries <tdevries@suse.de>
4143
4144 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4145
4146 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4147
4148 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4149 is visible.
4150
4151 2018-07-26 Tom de Vries <tdevries@suse.de>
4152
4153 PR breakpoints/23366
4154 * gdb.base/catch-follow-exec.c: New test.
4155 * gdb.base/catch-follow-exec.exp: New file.
4156
4157 2018-07-25 Tom de Vries <tdevries@suse.de>
4158
4159 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4160 vla-optimized-out.c.
4161
4162 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4163
4164 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4165 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4166
4167 2018-07-20 Tom de Vries <tdevries@suse.de>
4168
4169 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4170 NOCLONE macro.
4171 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4172
4173 2018-07-19 Tom de Vries <tdevries@suse.de>
4174
4175 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4176 regular expression.
4177
4178 2018-07-18 Tom de Vries <tdevries@suse.de>
4179
4180 * gdb.base/vla-optimized-out.c: New test.
4181 * gdb.base/vla-optimized-out.exp: New file.
4182
4183 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4184
4185 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4186 message "No address associated with hostname" when gdbserver
4187 cannot resolve the hostname.
4188
4189 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4190
4191 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4192 Add some test prefixes to make tests unique.
4193
4194 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4195
4196 * gdb.base/frameapply.c: New file.
4197 * gdb.base/frameapply.exp: New file.
4198
4199 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4200
4201 * gdb.base/skip.exp: Update expected error message.
4202
4203 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4204 Jan Kratochvil <jan.kratochvil@redhat.com>
4205 Paul Fertser <fercerpav@gmail.com>
4206 Tsutomu Seki <sekiriki@gmail.com>
4207
4208 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4209 parameter.
4210 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4211 by default.
4212 * boards/native-gdbserver.exp: Likewise.
4213 * gdb.server/run-without-local-binary.exp: Improve regexp used
4214 for detecting when a remote debugging connection succeeds.
4215 * gdb.server/server-connect.exp: New file.
4216 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4217 Do not prefix the port number with ":".
4218 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4219 support for detecting and using it. Add '$debughost_gdbserver'
4220 to the list of arguments used to start gdbserver. Handle case
4221 when gdbserver cannot resolve a network name.
4222
4223 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4224
4225 PR c++/23373
4226 * gdb.base/ptype-offsets.cc (struct static_member): New
4227 struct.
4228 (main) <stmember>: New variable.
4229 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4230 with a static member in it.
4231
4232 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4233
4234 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4235 watchpoints enabled and disabled.
4236
4237 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4238
4239 * gdb.base/examine-backward.exp: Still run tests around address
4240 0x0, even if address 0x0 is not readable. Update the pattern for
4241 matching address 0x0 in expected output.
4242
4243 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4244
4245 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4246 malloc/free.
4247
4248 2018-07-04 Tom de Vries <tdevries@suse.de>
4249
4250 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4251
4252 2018-07-02 Maciej W. Rozycki <macro@mips.com>
4253
4254 PR tdep/8282
4255 * gdb.arch/mips-disassembler-options.exp: New test.
4256 * gdb.arch/mips-disassembler-options.s: New test source.
4257
4258 2018-06-29 Pedro Alves <palves@redhat.com>
4259
4260 * gdb.threads/names.exp: Adjust expected "info threads" output.
4261
4262 2018-06-29 Pedro Alves <palves@redhat.com>
4263
4264 * gdb.opt/inline-break.exp (line number, address): Add "info
4265 break" tests.
4266
4267 2018-06-29 Pedro Alves <palves@redhat.com>
4268
4269 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4270 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4271 number and address and running to them.
4272
4273 2018-06-29 Richard Bunt <richard.bunt@arm.com>
4274
4275 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4276
4277 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4278
4279 * lib/compiler.c: Remove executable permission flag.
4280
4281 2018-06-28 Richard Bunt <richard.bunt@arm.com>
4282
4283 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4284 code.
4285 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4286
4287 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4288
4289 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4290
4291 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4292
4293 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4294 address argument is omitted.
4295
4296 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4297
4298 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4299
4300 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
4301
4302 PR gdb/21695
4303 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4304 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4305
4306 2018-06-26 Tom Tromey <tom@tromey.com>
4307
4308 PR rust/22574:
4309 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4310 * gdb.rust/simple.rs (struct SimpleLayout): New.
4311
4312 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4313
4314 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4315 "info registers" output.
4316
4317 2018-06-21 Richard Bunt <richard.bunt@arm.com>
4318
4319 * gdb.base/watchpoint-hw-attach.c: New test.
4320 * gdb.base/watchpoint-hw-attach.exp: New file.
4321
4322 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4323
4324 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4325 through /bin/sh.
4326 * boards/dwarf4-gdb-index.exp: Likewise.
4327 * boards/fission-dwp.exp: Likewise.
4328
4329 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4330
4331 * gdb.base/float128.exp: Add comment and improved fail message
4332 to the failure case of "print large128" test.
4333
4334 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4335
4336 * configure.ac: Remove AC_PREREQ.
4337 * configure: Re-generate.
4338
4339 2018-06-19 Pedro Alves <palves@redhat.com>
4340
4341 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4342 (func_extern_caller): New.
4343 (main): Call func_extern_caller.
4344 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4345 logic change.
4346
4347 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
4348
4349 PR gdb/16841
4350 * gdb.cp/typedef-base.cc: New file.
4351 * gdb.cp/typedef-base.exp: New file.
4352
4353 2018-06-18 Tom de Vries <tdevries@suse.de>
4354
4355 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4356
4357 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4358 Richard Bunt <Richard.Bunt@arm.com>
4359
4360 * gdb.threads/attach-slow-waitpid.c: New file.
4361 * gdb.threads/attach-slow-waitpid.exp: New file.
4362 * gdb.threads/slow-waitpid.c: New file.
4363
4364 2018-06-14 Pedro Alves <palves@redhat.com>
4365
4366 * gdb.base/fork-running-state.c: Include <errno.h>.
4367 (exit_if_relative_exits): New.
4368 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4369 exits.
4370 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4371 child exits.
4372
4373 2018-06-14 Tom de Vries <tdevries@suse.de>
4374
4375 PR cli/22573
4376 * gdb.base/finish-pretty.c: New test.
4377 * gdb.base/finish-pretty.exp: New file.
4378
4379 2018-06-14 Pedro Alves <palves@redhat.com>
4380
4381 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4382 gdb's expected startup output.
4383
4384 2018-06-14 Pedro Alves <palves@redhat.com>
4385
4386 * lib/selftest-support.exp (selftest_setup): Remove inlined
4387 function handling.
4388
4389 2018-06-14 Tom de Vries <tdevries@suse.de>
4390
4391 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4392 matching of breakpoint printing.
4393
4394 2018-06-13 Tom de Vries <tdevries@suse.de>
4395
4396 PR testsuite/23269
4397 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4398 (fork_child): ... here, and ...
4399 (fork_parent): ... here.
4400
4401 2018-06-12 Tom de Vries <tdevries@suse.de>
4402
4403 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4404
4405 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4406 Stephen Roberts <stephen.roberts@arm.com>
4407
4408 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4409 rewrite test to describe action performed, rather than possible
4410 failure.
4411
4412 2018-06-08 Gary Benson <gbenson@redhat.com>
4413
4414 * gdb.threads/check-libthread-db.exp: New file.
4415 * gdb.threads/check-libthread-db.c: Likewise.
4416
4417 2018-06-05 Tom Tromey <tom@tromey.com>
4418
4419 * gdb.base/default.exp: Update expected "show version" output.
4420
4421 2018-06-05 Tom Tromey <tom@tromey.com>
4422
4423 PR cli/12326:
4424 * gdb.cp/static-print-quit.exp: Update.
4425 * lib/gdb.exp (pagination_prompt): Update.
4426 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4427 * gdb.python/python.exp: Update.
4428
4429 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4430
4431 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4432
4433 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4434
4435 * gdb.ada/bp_fun_addr: New testcase.
4436
4437 2018-06-01 Tom Tromey <tom@tromey.com>
4438
4439 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4440 results.
4441 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4442 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4443 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4444 * gdb.base/maint.exp (maint_pass_if): Update.
4445
4446 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4447
4448 * gdb.base/endian.exp: New test.
4449 * gdb.base/endian.c: New test source.
4450
4451 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4452
4453 PR gdb/23203
4454 * gdb.base/bt-selected-frame.c: New file.
4455 * gdb.base/bt-selected-frame.exp: New file.
4456 * lib/gdb.exp (get_current_frame_number): New function.
4457
4458 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4459 Pedro Alves <palves@redhat.com>
4460
4461 * gdb.threads/tls-core.c: Include <stdlib.h>
4462 (thread_proc): Call `abort'.
4463 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4464 (tls_core_test): New procedure, bits factored out from ...
4465 (top level): ... here. Test both native cores and gcore cores.
4466
4467 2018-05-23 Tom Tromey <tom@tromey.com>
4468
4469 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4470
4471 2018-05-23 Tom Tromey <tom@tromey.com>
4472
4473 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4474 symfile_complaints.
4475 (test_short_complaints): Likewise.
4476 (test_empty_complaints): Likewise.
4477 (test_initial_complaints): Update.
4478
4479 2018-05-23 Tom Tromey <tom@tromey.com>
4480
4481 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4482
4483 2018-05-23 Tom Tromey <tom@tromey.com>
4484
4485 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4486 (test_short_complaints): Update.
4487
4488 2018-05-22 Pedro Alves <palves@redhat.com>
4489
4490 * gdb.base/remote.exp: Only gdb_start after compiling the
4491 testcase. Issue "disconnect" before testing "set remote" command
4492 defaults. Issue clean_restart before running to main.
4493
4494 2018-05-22 Pedro Alves <palves@redhat.com>
4495
4496 * gdb.base/remote.exp: Adjust expected output of "show remote
4497 memory-write-packet-size". Add tests for "set remote
4498 memory-write-packet-size 0" and "set remote
4499 memory-write-packet-size fixed/limit".
4500
4501 2018-05-22 Pedro Alves <palves@redhat.com>
4502
4503 PR gdb/22973
4504 * gdb.base/utf8-identifiers.c: New file.
4505 * gdb.base/utf8-identifiers.exp: New file.
4506
4507 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4508
4509 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4510
4511 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4512
4513 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4514
4515 2018-05-18 Tom Tromey <tom@tromey.com>
4516
4517 * gdb.base/ptype-offsets.exp: Update.
4518
4519 2018-05-17 Keith Seitz <keiths@redhat.com>
4520
4521 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4522 in expected breakpoint stop locations.
4523 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4524 move to proper scope to test variable values.
4525 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4526 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4527 New functions.
4528 (main): Call not_inline_func3.
4529 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4530 inline_func1, inline_func2, and inline_func3. Test that when each
4531 breakpoint is hit, GDB properly reports both the stop location
4532 and the backtrace. Repeat tests for temporary breakpoints.
4533
4534 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4535
4536 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4537 rather then trying to access it in determining whether the PID
4538 of `gdbserver' could have been retrieved.
4539
4540 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4541
4542 * gdb.arch/amd64-init-x87-values.S: New file.
4543 * gdb.arch/amd64-init-x87-values.exp: New file.
4544
4545 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4546
4547 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4548
4549 2018-05-04 Tom Tromey <tom@tromey.com>
4550
4551 PR python/22730:
4552 * gdb.python/python.exp: Test multi-line execute.
4553
4554 2018-05-04 Tom Tromey <tom@tromey.com>
4555
4556 PR python/22731:
4557 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4558
4559 2018-05-04 Tom Tromey <tom@tromey.com>
4560
4561 PR gdb/11750:
4562 * gdb.base/define.exp: Test defining a user command inside a user
4563 command.
4564 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4565
4566 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4567 Pedro Alves <palves@redhat.com>
4568
4569 PR breakpoints/19806 and support for PR external/20207.
4570 * gdb.base/watchpoint-unaligned.c: New file.
4571 * gdb.base/watchpoint-unaligned.exp: New file.
4572
4573 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4574
4575 * gdb.base/maint.exp: Make test names unique, use
4576 test_prefix_command_help to test 'help maint info', and remove
4577 repeated test of 'help maint'.
4578
4579 2018-05-04 Tom Tromey <tom@tromey.com>
4580
4581 PR gdb/22619:
4582 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4583 behavior.
4584
4585 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4586
4587 * gdb.base/maint.exp: Process output from 'maint print registers'
4588 line at a time.
4589
4590 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4591
4592 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4593 timeout.
4594
4595 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4596
4597 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4598 filter pattern.
4599
4600 2018-05-02 Pedro Alves <palves@redhat.com>
4601
4602 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4603 to_log_command renames.
4604 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4605
4606 2018-05-02 Tom Tromey <tom@tromey.com>
4607
4608 * gdb.python/py-parameter.exp: Set test message.
4609
4610 2018-05-02 Tom Tromey <tom@tromey.com>
4611
4612 PR python/20084:
4613 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4614 PARAM_ZUINTEGER_UNLIMITED tests.
4615
4616 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4617
4618 PR rust/23124
4619 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4620 when casting.
4621
4622 2018-04-30 Tom Tromey <tom@tromey.com>
4623
4624 * gdb.python/py-type.exp: Check align attribute.
4625 * gdb.python/py-type.c: New "aligncheck" global.
4626
4627 2018-04-30 Tom Tromey <tom@tromey.com>
4628
4629 PR exp/17095:
4630 * gdb.dwarf2/dw2-align.exp: New file.
4631 * gdb.cp/align.exp: New file.
4632 * gdb.base/align.exp: New file.
4633 * lib/gdb.exp (gdb_int128_helper): New proc.
4634 (has_int128_c, has_int128_cxx): New caching procs.
4635
4636 2018-04-27 Tom Tromey <tom@tromey.com>
4637
4638 PR rust/22545:
4639 * gdb.rust/simple.exp: Add inclusive range tests.
4640
4641 2018-04-26 Pedro Alves <palves@redhat.com>
4642
4643 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4644 ifunc breakpoint locations correctly of ifunc breakpoints set
4645 while the program resolves the ifunc.
4646
4647 2018-04-26 Pedro Alves <palves@redhat.com>
4648
4649 * gdb.base/gnu-ifunc-final.c: New file.
4650 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4651 * gdb.base/gnu-ifunc.exp (executable): Delete.
4652 (staticexecutable): Adjust.
4653 (lib_opts, exec_opts): Delete.
4654 (make_binsuffix, build, set-break): New procedures.
4655 (misc_tests): New, with tests factored out from the top level.
4656 (top level): Test different combinations of ifunc resolver name,
4657 resolver with and with debug info, and ifunc target with and
4658 without debug info. Wrap static tests with with_target_prefix.
4659
4660 2018-04-26 Pedro Alves <palves@redhat.com>
4661
4662 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4663 return type" warnings.
4664
4665 2018-04-25 Pedro Alves <palves@redhat.com>
4666
4667 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4668 killed".
4669 * gdb.base/kill-after-signal.exp: Likewise.
4670 * gdb.threads/kill.exp: Likewise.
4671
4672 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4673 Sergio Durigan Junior <sergiodj@redhat.com>
4674 Pedro Alves <palves@redhat.com>
4675
4676 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4677 regexps to expect for '[Inferior ... detached]' as well.
4678 * gdb.base/attach.exp: Likewise.
4679 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4680 "gdb_continue_to_end".
4681 (test_catch_syscall_with_wrong_args): Likewise.
4682 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4683 ']'. Don't set 'verbose' on.
4684 * gdb.base/foll-vfork.exp: Likewise.
4685 * gdb.base/fork-print-inferior-events.c: New file.
4686 * gdb.base/fork-print-inferior-events.exp: New file.
4687 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4688 '[Inferior ... has been killed]' message.
4689 * gdb.base/kill-after-signal.exp: Likewise.
4690 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4691 detach message.
4692 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4693 message.
4694 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4695 regexps to expect for '[Inferior ... detached]' as well.
4696 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4697
4698 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4699
4700 PR gdb/23104
4701 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4702
4703 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
4704
4705 PR gdb/23095
4706 * gdb.base/break-probes.exp: Pass shlib_load to
4707 prepare_for_testing. Set normal_bp to r_debug_state if target is
4708 bsd.
4709
4710 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4711
4712 * gdb.threads/multiple-successive-infcall.c: New test.
4713 * gdb.threads/multiple-successive-infcall.exp: New file.
4714
4715 2018-04-17 Tom Tromey <tom@tromey.com>
4716
4717 * gdb.rust/simple.rs (Union): New type.
4718 (main): New local "u".
4719 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4720
4721 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4722
4723 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4724 number information in output of "whereis" command.
4725 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4726
4727 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4728
4729 * gdb.ada/info_types.exp: Adjust expected output to the line
4730 numbers now printed by "info var/func/type".
4731 * gdb.base/completion.exp: Likewise.
4732 * gdb.base/included.exp: Likewise.
4733 * gdb.cp/cp-relocate.exp: Likewise.
4734 * gdb.cp/cplusfuncs.exp: Likewise.
4735 * gdb.cp/namespace.exp: Likewise.
4736 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4737
4738 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4739
4740 * gdb.btrace/cpu.exp: New.
4741
4742 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4743
4744 * gdb.base/step-indirect-call-thunk.exp: New.
4745 * gdb.base/step-indirect-call-thunk.c: New.
4746 * gdb.reverse/step-indirect-call-thunk.exp: New.
4747 * gdb.reverse/step-indirect-call-thunk.c: New.
4748
4749 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4750
4751 * gdb.base/pie-fork.c: New file.
4752 * gdb.base/pie-fork.exp: New file.
4753
4754 2018-04-11 Tom Tromey <tom@tromey.com>
4755
4756 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4757
4758 2018-04-10 Pedro Alves <palves@redhat.com>
4759
4760 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4761 exits. Instead loop running forever.
4762 (fork_parent): Run forever too.
4763
4764 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4765
4766 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4767 mi_continue_to_line.
4768 * gdb.mi/mi-stack.c (callee4): Add comment.
4769
4770 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4771
4772 * gdb.mi/mi-stack.exp: Fix indentation.
4773
4774 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4775
4776 PR gdb/22979
4777 * gdb.arch/amd64-osabi.exp: New file.
4778
4779 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4780
4781 PR gdb/22980
4782 * gdb.base/osabi.exp: New file.
4783
4784 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4785
4786 * gdb.cp/static-typedef-print.exp: New file.
4787 * gdb.cp/static-typedef-print.cc: New file.
4788
4789 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4790
4791 * gdb.ada/varsize_limit: New testcase.
4792
4793 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4794
4795 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4796
4797 * gdb.ada/notcplusplus: New testcase.
4798
4799 * gdb.base/c-linkage-name.c: New file.
4800 * gdb.base/c-linkage-name.exp: New testcase.
4801
4802 2018-03-26 Tom Tromey <tom@tromey.com>
4803
4804 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4805 * gdb.python/py-framefilter.py (name_error): New global.
4806 (ErrorInName.function): Use name_error.
4807
4808 2018-03-26 Tom Tromey <tom@tromey.com>
4809
4810 PR backtrace/15582:
4811 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4812
4813 2018-03-23 Keith Seitz <keiths@redhat.com>
4814
4815 PR c++/22968
4816 * gdb.cp/subtypes.exp: New file.
4817 * gdb.cp/subtypes.h: New file.
4818 * gdb.cp/subtypes.cc: New file.
4819 * gdb.cp/subtypes-2.cc: New file.
4820
4821 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4822
4823 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4824 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4825 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4826 -nostartfiles when compiling the test. Confirm that all registers
4827 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4828
4829 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4830
4831 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4832 option, syntax was wrong anyway.
4833 * gdb.arch/arm-disp-step.exp: Likewise.
4834 * gdb.arch/sparc64-regs.exp: Likewise.
4835 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4836 option, syntax was wrong anyway, switch to use
4837 prepare_for_testing.
4838 * gdb.arch/i386-disp-step.exp: Likewise.
4839
4840 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4841
4842 * gdb.ada/exec_changed.exp: Replace "target_info exists
4843 use_gdb_stub" by "use_gdb_stub".
4844 * gdb.ada/start.exp: Likewise.
4845 * gdb.base/async-shell.exp: Likewise.
4846 * gdb.base/attach-pie-misread.exp: Likewise.
4847 * gdb.base/attach-wait-input.exp: Likewise.
4848 * gdb.base/break-entry.exp: Likewise.
4849 * gdb.base/break-interp.exp: Likewise.
4850 * gdb.base/dprintf-detach.exp: Likewise.
4851 * gdb.base/nostdlib.exp: Likewise.
4852 * gdb.base/solib-nodir.exp: Likewise.
4853 * gdb.base/statistics.exp: Likewise.
4854 * gdb.base/testenv.exp: Likewise.
4855 * gdb.mi/mi-exec-run.exp: Likewise.
4856 * gdb.mi/mi-start.exp: Likewise.
4857 * gdb.multi/dummy-frame-restore.exp: Likewise.
4858 * gdb.multi/multi-arch-exec.exp: Likewise.
4859 * gdb.multi/multi-arch.exp: Likewise.
4860 * gdb.multi/tids.exp: Likewise.
4861 * gdb.multi/watchpoint-multi.exp: Likewise.
4862 * gdb.python/py-events.exp: Likewise.
4863 * gdb.threads/attach-into-signal.exp: Likewise.
4864 * gdb.threads/attach-stopped.exp: Likewise.
4865 * gdb.threads/threadapply.exp: Likewise.
4866 * lib/selftest-support.exp: Likewise.
4867
4868 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4869
4870 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4871
4872 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4873
4874 * gdb.perf/template-breakpoints.cc: New file.
4875 * gdb.perf/template-breakpoints.exp: New file.
4876 * gdb.perf/template-breakpoints.py: New file.
4877
4878 2018-03-19 Tom Tromey <tom@tromey.com>
4879
4880 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4881 y0.
4882 * gdb.rust/simple.exp: Test bare identifier form of struct
4883 initializer.
4884
4885 2018-03-19 Tom Tromey <tom@tromey.com>
4886
4887 * gdb.gdb/observer.exp: Remove.
4888
4889 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4890
4891 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4892 "qualified" option when setting breakpoints.
4893 * gdb.trace/backtrace.exp: Likewise.
4894 * gdb.trace/circ.exp: Likewise.
4895 * gdb.trace/collection.exp: Likewise.
4896 * gdb.trace/disconnected-tracing.exp: Likewise.
4897 * gdb.trace/ftrace-lock.exp: Likewise.
4898 * gdb.trace/ftrace.exp: Likewise.
4899 * gdb.trace/infotrace.exp: Likewise.
4900 * gdb.trace/packetlen.exp: Likewise.
4901 * gdb.trace/passc-dyn.exp: Likewise.
4902 * gdb.trace/qtro.exp: Likewise.
4903 * gdb.trace/read-memory.exp: Likewise.
4904 * gdb.trace/report.exp: Likewise.
4905 * gdb.trace/signal.exp: Likewise.
4906 * gdb.trace/status-stop.exp: Likewise.
4907 * gdb.trace/strace.exp: Likewise.
4908 * gdb.trace/tfind.exp: Likewise.
4909 * gdb.trace/trace-break.exp: Likewise.
4910 * gdb.trace/trace-condition.exp: Likewise.
4911 * gdb.trace/trace-mt.exp: Likewise.
4912 * gdb.trace/tstatus.exp: Likewise.
4913 * gdb.trace/tsv.exp: Likewise.
4914 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4915 * gdb.trace/unavailable.exp: Likewise.
4916 * gdb.trace/while-dyn.exp: Likewise.
4917
4918 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4919
4920 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4921 that libinproctrace is copied to the target.
4922
4923 2018-03-14 Tom Tromey <tom@tromey.com>
4924
4925 PR cli/14977:
4926 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4927 a null pointer.
4928 * gdb.base/wchar.exp: Likewise.
4929
4930 2018-03-14 Tom Tromey <tom@tromey.com>
4931
4932 PR cli/19918:
4933 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4934 flag.
4935
4936 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4937
4938 PR gdb/22841
4939 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4940 "target" to remote_exec.
4941
4942 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4943
4944 PR gdb/22841
4945 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4946 ${board}_upload): Remove.
4947
4948 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4949
4950 * gdb.cp/watch-cp.cc: New test.
4951 * gdb.cp/watch-cp.exp: New file.
4952
4953 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4954
4955 * gdb.base/infcall-nested-structs.exp: New file.
4956 * gdb.base/infcall-nested-structs.c: New file.
4957 * gdb.base/float.exp: Add riscv support.
4958
4959 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4960
4961 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4962 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4963
4964 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4965
4966 * gdb.server/abspath.exp: New file.
4967 * lib/gdb.exp (with_cwd): New procedure.
4968
4969 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4970
4971 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4972 use it.
4973 (gdb_is_target_remote_prompt): New proc.
4974 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4975 (gdb_is_target_native): Pass prompt parameter to
4976 gdb_is_target_1.
4977
4978 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4979
4980 * gdb.base/load-command.c: New file.
4981 * gdb.base/load-command.exp: New file.
4982 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4983 (gdb_is_target_1): ...this, and generalize for other targets
4984 than just remote.
4985 (gdb_is_target_remote): Use gdb_is_target_1.
4986 (gdb_is_target_native): use gdb_is_target_1.
4987
4988 2018-02-26 Tom Tromey <tom@tromey.com>
4989
4990 PR python/16497:
4991 * gdb.python/py-framefilter.exp: Update test.
4992
4993 2018-02-26 Tom Tromey <tom@tromey.com>
4994
4995 * gdb.dwarf2/variant.c: New file.
4996 * gdb.dwarf2/variant.exp: New file.
4997
4998 2018-02-26 Tom Tromey <tom@tromey.com>
4999
5000 * gdb.rust/simple.exp: Accept more possible results in enum test.
5001
5002 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5003
5004 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5005 parentheses.
5006
5007 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5008
5009 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5010 name of a variable: $actual_linejj -> $actual_line.
5011
5012 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5013
5014 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5015
5016 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5017
5018 * gdb.btrace/buffer-size.exp: Do not force BTS.
5019
5020 2018-02-14 Pedro Alves <palves@redhat.com>
5021
5022 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5023 getting a "Quit".
5024
5025 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5026
5027 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5028 Fix test name.
5029
5030 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5031
5032 * gdb.cp/m-static.exp: Check type of optimized out static
5033 member.
5034
5035 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5036
5037 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5038 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5039
5040 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5041 Leszek Swirski <leszeks@google.com>
5042
5043 * gdb.python/py-prettyprint.c
5044 (struct to_string_returns_value_inner,
5045 struct to_string_returns_value_wrapper): New.
5046 (main): Add tsrvw variable.
5047 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5048 ToStringReturnsValueWrapper): New classes.
5049 (register_pretty_printers): Register new pretty-printers.
5050 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5051 recursive pretty printer.
5052 * gdb.python/py-mi.exp: Likewise.
5053
5054 2018-02-01 Leszek Swirski <leszeks@google.com>
5055
5056 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5057 functions with the same name as an include file are parsed
5058 correctly.
5059
5060 2018-02-01 Yao Qi <yao.qi@linaro.org>
5061
5062 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5063 "\[^\r\n\]*".
5064
5065 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5066
5067 * gdb.arch/powerpc-prologue-frame.s: New file.
5068 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5069 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5070
5071 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5072
5073 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5074
5075 2018-01-30 Pedro Alves <palves@redhat.com>
5076
5077 PR gdb/13211
5078 * gdb.base/interrupt-daemon.c: New.
5079 * gdb.base/interrupt-daemon.exp: New.
5080 * gdb.multi/multi-term-settings.c: New.
5081 * gdb.multi/multi-term-settings.exp: New.
5082
5083 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5084
5085 * gdb.base/break.exp: Save the location where the breakpoint
5086 on break.c:47 was actually inserted when debugging the version
5087 compiled at -O2 and use it in the expected output of the "info
5088 break" test performed soon after.
5089
5090 2018-01-22 Pedro Alves <palves@redhat.com>
5091 Sergio Durigan Junior <sergiodj@redhat.com>
5092
5093 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5094 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5095
5096 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5097
5098 * gdb.base/break-include.c, gdb.base/break-include.inc,
5099 gdb.base/break-include.exp: New files.
5100 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5101 line number now being the actual line number where the breakpoint
5102 was inserted.
5103 * gdb.mi/mi-break.exp: Likewise.
5104 * gdb.mi/mi-reverse.exp: Likewise.
5105 * gdb.mi/mi-simplerun.exp: Ditto.
5106
5107 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5108
5109 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5110 varobj.
5111 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5112
5113 2018-01-21 Don Breazeal <donb@codesourcery.com>
5114 Andrew Burgess <andrew.burgess@embecosm.com>
5115
5116 * gdb.mi/basics.c: Add new global.
5117 * gdb.mi/mi-frame-regs.exp: New file.
5118 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5119 case.
5120
5121 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5122
5123 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5124 non-parameter, and on an unknown symbol.
5125
5126 2018-01-19 Tom Tromey <tom@tromey.com>
5127
5128 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5129 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5130
5131 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5132
5133 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5134 setrlimit and chdir to int.
5135
5136 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5137
5138 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5139 function.
5140 (my_tend): Likewise.
5141 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5142 rationale of avoiding FP- and vector instructions.
5143
5144 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5145
5146 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5147 "info reg" with "\[ \t\]*".
5148 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5149 "\[ \t\]+".
5150 * gdb.arch/s390-multiarch.exp: Ditto.
5151 * gdb.base/pc-fp.exp: Ditto.
5152 * gdb.reverse/i386-precsave.exp: Ditto.
5153 * gdb.reverse/i386-reverse.exp: Ditto.
5154 * gdb.reverse/i387-env-reverse.exp: Ditto.
5155 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5156
5157 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5158
5159 * lib/gdb.exp (gdb_compile): Re-enable use of
5160 universal_compile_options for languages other than Rust.
5161
5162 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5163
5164 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5165
5166 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5167
5168 PR gdb/16577
5169 * gdb.base/solib-vanish.exp: New.
5170 * gdb.base/solib-vanish-main.c: New.
5171 * gdb.base/solib-vanish-lib1.c: New.
5172 * gdb.base/solib-vanish-lib2.c: New.
5173
5174 2018-01-17 Yao Qi <yao.qi@linaro.org>
5175
5176 * gdb.compile/compile.exp: Match the address printed for
5177 frame in the output of command "bt".
5178
5179 2018-01-15 Tom Tromey <tom@tromey.com>
5180
5181 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5182 compute sp_reg.
5183
5184 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5185
5186 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5187 to prepare.
5188 (prepare): Return 0 on error, 1 on success.
5189
5190 2018-01-12 Pedro Alves <palves@redhat.com>
5191
5192 * gdb.base/continue-after-aborted-step-over.c: New.
5193 * gdb.base/continue-after-aborted-step-over.exp: New.
5194
5195 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5196
5197 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5198 options when not creating an executable.
5199
5200 2018-01-11 Pedro Alves <palves@redhat.com>
5201
5202 PR remote/22597
5203 * gdb.server/stop-reply-no-thread.c: New file.
5204 * gdb.server/stop-reply-no-thread.exp: New file.
5205
5206 2018-01-10 Pedro Alves <palves@redhat.com>
5207
5208 PR gdb/22670
5209 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5210 functions too. Test setting breakpoints and printing C functions
5211 with no debug info too.
5212 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5213
5214 2018-01-10 Pedro Alves <palves@redhat.com>
5215
5216 PR gdb/22670
5217 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5218 a fail.
5219
5220 2018-01-10 Pedro Alves <palves@redhat.com>
5221
5222 PR gdb/22670
5223 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5224
5225 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5226
5227 * gdb.server/unittest.exp: Match the output in non-development
5228 mode.
5229
5230 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5231
5232 * gdb.gdb/unittest.exp: Match output in non-development mode.
5233
5234 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5235
5236 * gdb.ada/access_tagged_param.exp: Relax expected output
5237 for value of "ObjL" in "continue" to pck.inspect breakpoint
5238 test.
5239
5240 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5241
5242 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5243 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5244
5245 2018-01-05 Pedro Alves <palves@redhat.com>
5246
5247 PR gdb/18653
5248 * gdb.base/libsegfault.exp: New.
5249
5250 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5251
5252 PR gdb/22670
5253 * gdb.ada/access_tagged_param.exp: New file.
5254 * gdb.ada/access_tagged_param/foo.adb: New file.
5255
5256 2018-01-05 Pedro Alves <palves@redhat.com>
5257
5258 PR gdb/22670
5259 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5260 exercise lower case too, and to exercise both full matching and
5261 wild matching.
5262
5263 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5264
5265 * gdb.ada/rename_subscript_param: New testcase.
5266
5267 2018-01-05 Jerome Guitton <guitton@adacore.com>
5268
5269 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5270
5271 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5272
5273 * gdb.ada/convvar_comp: New testcase.
5274
5275 2018-01-05 Xavier Roirand <roirand@adacore.com>
5276
5277 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5278 (My_Table): New global variable.
5279 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5280
5281 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5282
5283 PR gdb/22670
5284 * gdb.ada/maint_with_ada: New testcase.
5285
5286 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5287
5288 PR gdb/22670
5289 * gdb.ada/bp_c_mixed_case: New testcase.
5290
5291 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5292
5293 PR gdb/22670
5294 * gdb.ada/complete.exp: Add "complete break ada" test.
5295
5296 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5297
5298 PR gdb/22670
5299 * gdb.ada/info_addr_mixed_case: New testcase.
5300
5301 2018-01-03 Xavier Roirand <roirand@adacore.com>
5302
5303 * gdb.ada/excep_handle.exp: New testcase.
5304 * gdb.ada/excep_handle/foo.adb: New file.
5305 * gdb.ada/excep_handle/pck.ads: New file.
5306
5307 2018-01-03 Joel Brobecker <brobecker@adacore.com>
5308
5309 * gdb.base/step-line.c: Add extra empty line in copyright header.
5310 * gdb.base/step-line.inp: Likewise.
5311
5312 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5313
5314 * gdb.ada/dyn_stride.exp: Add slice test.
5315
5316 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5317
5318 * gdb.ada/dyn_stride: New testcase.
5319
5320 2017-12-27 Stafford Horne <shorne@gmail.com>
5321
5322 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5323 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5324
5325 2017-12-27 Stafford Horne <shorne@gmail.com>
5326
5327 * gdb.base/reggroups.c: New file.
5328 * gdb.base/reggroups.exp: New file.
5329
5330 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5331
5332 * gdb.dwarf2/ada-valprint-error.c: New file.
5333 * gdb.dwarf2/ada-valprint-error.exp: New file.
5334
5335 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5336
5337 * gdb.ada/assign_arr: New testcase.
5338
5339 2017-12-18 Xavier Roirand <roirand@adacore.com>
5340
5341 * gdb.ada/funcall_ptr: New testcase.
5342
5343 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5344
5345 PR cli/16224
5346 * gdb.base/ptype-offsets.cc: New file.
5347 * gdb.base/ptype-offsets.exp: New file.
5348
5349 2017-12-15 Yao Qi <yao.qi@linaro.org>
5350
5351 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5352 if XML is disabled.
5353
5354 2017-12-15 Xavier Roirand <roirand@adacore.com>
5355
5356 * gdb.ada/same_component_name: New testcase.
5357
5358 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5359
5360 * gdb.ada/str_binop_equal: New testcase.
5361
5362 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5363
5364 * gdb.ada/task_switch_in_core: New testcase.
5365
5366 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5367
5368 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5369 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5370 call test_bkpt_qualified.
5371 (test_bkpt_qualified): New proc.
5372
5373 2017-12-13 Pedro Alves <palves@redhat.com>
5374
5375 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5376 Tighten regexp by matching with an anchor.
5377
5378 2017-12-13 Pedro Alves <palves@redhat.com>
5379
5380 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5381 ("expression with namespace"): New set of tests.
5382 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5383 (Nested::Test_NS::qux): New.
5384 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5385 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5386
5387 2017-12-13 Joel Brobecker <brobecker@adacore.com>
5388
5389 * gdb.base/server-del-break.c: New file.
5390 * gdb.base/server-del-break.exp: New file.
5391
5392 2017-12-12 Stafford Horne <shorne@gmail.com>
5393
5394 * gdb.xml/tdesc-regs.exp: Add or1k support.
5395
5396 2017-12-12 Stafford Horne <shorne@gmail.com>
5397
5398 * gdb.base/bp-permanent.c: Define nop of or1k.
5399
5400 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5401
5402 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5403 output with components being reordered.
5404
5405 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5406
5407 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5408 output with components being reordered.
5409
5410 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5411 Pedro Alves <palves@redhat.com>
5412
5413 * gdb.base/maint.exp (check for .gdb_index): Check also for
5414 .debug_names.
5415 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5416 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5417 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5418 (.gdb_index used after symbol reloading): Support also .debug_names.
5419 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5420
5421 2017-12-08 Yao Qi <yao.qi@linaro.org>
5422
5423 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5424 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5425
5426 2017-12-08 Yao Qi <yao.qi@linaro.org>
5427
5428 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5429 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5430
5431 2017-12-08 Yao Qi <yao.qi@linaro.org>
5432
5433 * gdb.arch/aarch64-tagged-pointer.c: New file.
5434 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5435
5436 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5437
5438 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5439 "int".
5440
5441 2017-12-07 Keith Seitz <keiths@redhat.com>
5442
5443 PR breakpoints/22569
5444 * gdb.linespec/ls-errs.exp: Change expected result of "break
5445 -source this file has spaces.c -line 3".
5446 Check that an explicit source file followed by whitespace is
5447 identified as an invalid explicit location.
5448
5449 2017-12-07 Keith Seitz <keiths@redhat.com>
5450
5451 * gdb.cp/nested-types.cc: New file.
5452 * gdb.cp/nested-types.exp: New file.
5453 * lib/cp-support.exp: Load data-structures.exp library.
5454 (debug_cp_test_ptype_class): New global.
5455 (cp_ptype_class_verbose, next_line): New procedures.
5456 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5457 Add and document new return value.
5458 Switch the list of lines to a queue.
5459 Add support for new `type' key for nested type definitions.
5460 Add debugging/troubleshooting messages.
5461 * lib/data-structures.exp: New file.
5462
5463 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5464
5465 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5466 with proc_with_prefix, don't use with_test_prefix.
5467
5468 2017-12-07 Tom Tromey <tom@tromey.com>
5469
5470 * gdb.base/break.exp: Add test for empty "commands".
5471
5472 2017-12-07 Yao Qi <yao.qi@linaro.org>
5473
5474 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5475 malloc and catch syscall.
5476
5477 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5478
5479 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5480 tests for explicit locations.
5481
5482 2017-12-06 Pedro Alves <palves@redhat.com>
5483
5484 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5485 force-disabling XML descriptions.
5486
5487 2017-12-04 Pedro Alves <palves@redhat.com>
5488
5489 PR gdb/22499
5490 * gdb.arch/amd64-disp-step-avx.S: New file.
5491 * gdb.arch/amd64-disp-step-avx.exp: New file.
5492
5493 2017-12-03 Pedro Alves <palves@redhat.com>
5494
5495 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5496 and <string.h>.
5497 (parent_function): Print distinct messages when waitpid fails, or
5498 the child exits with a signal, or the child exits for an unhandled
5499 reason.
5500 * gdb.threads/process-dies-while-detaching.exp
5501 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5502 it. Wait for both inferior output and GDB's prompt. Use an
5503 indirect spawn id list.
5504 (do_detach): New parameter 'child_exit'. Use it to compute
5505 expected inferior output.
5506 (test_detach, test_detach_watch, test_detach_killed_outside):
5507 Adjust to pass down the expected child exit kind.
5508
5509 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5510 Sergio Durigan Junior <sergiodj@redhat.com>
5511 Pedro Alves <palves@redhat.com>
5512
5513 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5514
5515 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5516
5517 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5518 to 'symbol-file' and 'add-symbol-file' can be
5519 position-independent.
5520
5521 2017-12-01 Yao Qi <yao.qi@linaro.org>
5522
5523 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5524 the URL in copyright header.
5525 * gdb.arch/aarch64-fp.exp: Likewise.
5526 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5527 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5528 * gdb.base/expand-psymtabs.exp: Likewise.
5529 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5530 * gdb.fortran/common-block.exp: Likewise.
5531 * gdb.fortran/common-block.f90: Likewise.
5532 * gdb.fortran/logical.exp: Likewise.
5533 * gdb.fortran/vla-datatypes.f90: Likewise.
5534 * gdb.fortran/vla-sub.f90: Likewise.
5535
5536 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5537
5538 * gdb.ada/repeat_dyn: New testcase.
5539
5540 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5541
5542 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5543 Update for changed thread numbering.
5544 * gdb.cell/bt.exp: Update for changed GDB output.
5545
5546 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5547
5548 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5549 setting isremote by hand.
5550 * boards/dwarf4-gdb-index.exp: Likewise.
5551 * boards/fission.exp: Likewise.
5552 * boards/stabs.exp: Likewise.
5553
5554 2017-11-30 Pedro Alves <palves@redhat.com>
5555
5556 * gdb.linespec/cpls-ops.exp
5557 (check_explicit_skips_function_argument): Extract the underlying
5558 type of size_t instead of hardcoding it.
5559
5560 2017-11-29 Pedro Alves <palves@redhat.com>
5561
5562 PR c++/19436
5563 * gdb.linespec/cpls-abi-tag.cc: New file.
5564 * gdb.linespec/cpls-abi-tag.exp: New file.
5565
5566 2017-11-29 Pedro Alves <palves@redhat.com>
5567
5568 * gdb.base/langs.exp: Use -qualified.
5569 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5570 it.
5571 * gdb.cp/namespace.exp: Use -qualified.
5572 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5573 (overload-3, template-overload, template-ret-type, const-overload)
5574 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5575 procedures.
5576 (test_driver): Call them.
5577 * gdb.cp/save-bp-qualified.cc: New.
5578 * gdb.cp/save-bp-qualified.exp: New.
5579 * gdb.linespec/explicit.exp: Test -qualified.
5580 * lib/completion-support.exp (completion::explicit_opts_list): Add
5581 "-qualified".
5582 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5583
5584 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5585
5586 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5587
5588 2017-11-29 Tom Tromey <tom@tromey.com>
5589
5590 * gdb.base/relocate.exp: Update invalid argument test.
5591 Add new tests for invalid arguments.
5592
5593 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5594
5595 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5596 Return 0 as a long.
5597 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5598
5599 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5600
5601 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5602 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5603 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5604 func ().
5605 * gdb.cp/shadow.cc (B.func): Return 0.
5606
5607 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5608
5609 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5610 expected output in gdb_expect call to allow the exception
5611 message to be present as well. Fix syntax confusion to avoid
5612 TCL thinking that exception_name is an array.
5613
5614 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5615
5616 * gdb.arch/spu-info.c: Include <unistd.h>.
5617 (do_signal_test): Fix broken calls to write.
5618 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5619 Fix checks for empty mailboxes. Update signal tests for corrected
5620 do_signal_test routine. Allow nonzero event status.
5621 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5622 * gdb.cell/arch.exp: Use standard_output_file.
5623 * gdb.cell/break.exp: Likewise.
5624 * gdb.cell/bt.exp: Likewise.
5625 * gdb.cell/core.exp: Likewise.
5626 * gdb.cell/dwarfaddr.exp: Likewise.
5627 * gdb.cell/ea-cache.exp: Likewise.
5628 * gdb.cell/ea-standalone.exp: Likewise.
5629 * gdb.cell/f-regs.exp: Likewise.
5630 * gdb.cell/fork.exp: Likewise.
5631 * gdb.cell/gcore.exp: Likewise.
5632 * gdb.cell/mem-access.exp: Likewise.
5633 * gdb.cell/ptype.exp: Likewise.
5634 * gdb.cell/registers.exp: Likewise.
5635 * gdb.cell/sizeof.exp: Likewise.
5636 * gdb.cell/solib-symbol.exp: Likewise.
5637 * gdb.cell/solib.exp: Likewise.
5638
5639 2017-11-25 Pedro Alves <palves@redhat.com>
5640
5641 * gdb.base/complete-empty.exp: New file.
5642 * gdb.base/completion.exp: Adjust.
5643
5644 2017-11-25 Pedro Alves <palves@redhat.com>
5645
5646 * gdb.linespec/cpls-ops.cc: New file.
5647 * gdb.linespec/cpls-ops.exp: New file.
5648 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5649 factored out from ...
5650 (test_complete_prefix_range): ... this.
5651
5652 2017-11-24 Pedro Alves <palves@redhat.com>
5653
5654 * gdb.linespec/cpcompletion.exp: New file.
5655 * gdb.linespec/cpls-hyphen.cc: New file.
5656 * gdb.linespec/cpls.cc: New file.
5657 * gdb.linespec/cpls2.cc: New file.
5658 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5659 test to use test_gdb_complete_unique. Add label completion,
5660 keyword completion and explicit location completion tests.
5661 * lib/completion-support.exp: New file.
5662
5663 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5664
5665 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5666 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5667 when hitting an exception catchpoint.
5668
5669 2017-11-22 Yao Qi <yao.qi@linaro.org>
5670
5671 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5672
5673 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5674
5675 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5676 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5677 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5678
5679 2017-11-22 Yao Qi <yao.qi@linaro.org>
5680
5681 * gdb.base/info-os.exp: Pass pthreads.
5682 * gdb.multi/multi-attach.exp: Likewise.
5683
5684 2017-11-22 Yao Qi <yao.qi@linaro.org>
5685
5686 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5687 compiler.
5688
5689 2017-11-22 Yao Qi <yao.qi@linaro.org>
5690
5691 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5692 * gdb.base/break-interp.exp: Likewise.
5693 * gdb.base/jit-attach-pie.exp: Likewise.
5694
5695 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5696
5697 * gdb.base/float128.c (large128): New variable.
5698 * gdb.base/float128.exp: Add test to print largest __float128 value.
5699
5700 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5701
5702 * gdb.arch/vsx-regs.exp: Update register content checks.
5703
5704 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5705
5706 * gdb.arch/ppc-longdouble.exp: New file.
5707 * gdb.arch/ppc-longdouble.c: Likewise.
5708
5709 2017-11-21 Pedro Alves <palves@redhat.com>
5710
5711 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5712
5713 2017-11-20 Pedro Alves <palves@redhat.com>
5714
5715 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5716 (long_double_typedef): New typedefs.
5717 Use DEF on double and long double.
5718 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5719 cases.
5720 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5721 and 'long_double_ptr_same_size' locals. Use them to decide
5722 whether cast from array/function to float is valid/invalid.
5723
5724 2017-11-17 Tom Tromey <tom@tromey.com>
5725
5726 * gdb.rust/traits.rs: New file.
5727 * gdb.rust/traits.exp: New file.
5728
5729 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5730
5731 * gdb.ada/minsyms: New testcase.
5732
5733 2017-11-16 Pedro Alves <palves@redhat.com>
5734
5735 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5736 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5737
5738 2017-11-16 Pedro Alves <palves@redhat.com>
5739
5740 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5741 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5742
5743 2017-11-16 Pedro Alves <palves@redhat.com>
5744
5745 * gdb.server/reconnect-ctrl-c.c: New file.
5746 * gdb.server/reconnect-ctrl-c.exp: New file.
5747
5748 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5749
5750 * gdb.python/py-rbreak.exp: New file.
5751 * gdb.python/py-rbreak.c: New file.
5752 * gdb.python/py-rbreak-func2.c: New file.
5753
5754 2017-11-16 Pedro Alves <palves@redhat.com>
5755
5756 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5757 pattern.
5758 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5759 GDB.
5760
5761 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5762
5763 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5764 regex.
5765
5766 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5767
5768 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5769 test names.
5770
5771 2017-11-09 Pedro Alves <palves@redhat.com>
5772
5773 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5774 factored out from ...
5775 (top level): ... here, and adjusted to avoid expecting beyond the
5776 prompt in a single gdb_test_multiple.
5777
5778 2017-11-09 Pedro Alves <palves@redhat.com>
5779
5780 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5781 output.
5782 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5783 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5784 * gdb.server/ext-run.exp ("kill" test): Likewise.
5785 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5786
5787 2017-11-09 Pedro Alves <palves@redhat.com>
5788
5789 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5790 match till end of line.
5791
5792 2017-11-09 Pedro Alves <palves@redhat.com>
5793
5794 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5795
5796 2017-11-09 Pedro Alves <palves@redhat.com>
5797
5798 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5799 New procedures, factored out from ...
5800 (top level): ... here, and adjusted to avoid expecting beyond the
5801 prompt in one go.
5802
5803 2017-11-09 Pedro Alves <palves@redhat.com>
5804
5805 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5806 output. Fix '?' match.
5807
5808 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5809
5810 * gdb.ada/scoped_watch: New testcase.
5811 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5812 which is actually correct.
5813 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5814 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5815
5816 2017-11-08 Pedro Alves <palves@redhat.com>
5817
5818 * gdb.gdb/complaints.exp (test_initial_complaints)
5819 (test_serial_complaints, test_short_complaints): Call
5820 complaint_internal instead of complaint.
5821
5822 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5823
5824 * gdb.threads/tls-core.c: New file.
5825 * gdb.threads/tls-core.exp: Likewise.
5826
5827 2017-11-08 Pedro Alves <palves@redhat.com>
5828
5829 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5830 (p Exported_Capitalized): New test.
5831 (p exported_capitalized): New test.
5832
5833 2017-11-07 Pedro Alves <palves@redhat.com>
5834
5835 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5836
5837 2017-11-07 Pedro Alves <palves@redhat.com>
5838
5839 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5840 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5841 (disable_invalid, disable_inverted, disable_negative): New
5842 procedures.
5843 ("bad numbers"): New set of tests.
5844
5845 2017-11-07 Pedro Alves <palves@redhat.com>
5846
5847 * gdb.cp/ena-dis-br-range.exp: Add tests.
5848
5849 2017-11-07 Pedro Alves <palves@redhat.com>
5850
5851 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5852
5853 2017-11-07 Xavier Roirand <roirand@adacore.com>
5854 Pedro Alves <palves@redhat.com>
5855
5856 * gdb.base/ena-dis-br.exp: Add reference to
5857 gdb.cp/ena-dis-br-range.exp.
5858 * gdb.cp/ena-dis-br-range.exp: New file.
5859 * gdb.cp/ena-dis-br-range.cc: New file.
5860
5861 2017-11-06 Pedro Alves <palves@redhat.com>
5862
5863 * gdb.base/attach-non-pgrp-leader.c: New.
5864 * gdb.base/attach-non-pgrp-leader.exp: New.
5865
5866 2017-11-06 Pedro Alves <palves@redhat.com>
5867
5868 * configure.ac: No longer check for termio.h and sgtty.h.
5869 * configure: Regenerate.
5870 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5871 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5872 Remove termio and sgtty code.
5873
5874 2017-11-03 Yao Qi <yao.qi@linaro.org>
5875
5876 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5877 in GDB is disabled.
5878
5879 2017-11-03 Yao Qi <yao.qi@linaro.org>
5880
5881 * gdb.python/py-thrhandle.exp: Skip it if python is not
5882 enabled.
5883
5884 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5885
5886 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5887 as a breakpoint command.
5888
5889 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5890
5891 PR python/21213
5892 * gdb.python/py-infthread.exp: Test calling
5893 InferiorThread.inferior () multiple times in a row.
5894
5895 2017-10-27 Keith Seitz <keiths@redhat.com>
5896
5897 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5898 Test "info break" for every inlined function breakpoint.
5899
5900 2017-10-27 Yao Qi <yao.qi@linaro.org>
5901
5902 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5903
5904 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5905
5906 * gdb.cp/classes.exp (test_static_members): Test printing
5907 Outer::instance.
5908 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5909 (Inner::instance, Outer::instance): New.
5910
5911 2017-10-24 Pedro Alves <palves@redhat.com>
5912
5913 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5914 extra console" test in two stages.
5915
5916 2017-10-24 Pedro Alves <palves@redhat.com>
5917
5918 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5919
5920 2017-10-24 Pedro Alves <palves@redhat.com>
5921
5922 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5923 loop.
5924
5925 2017-10-24 Pedro Alves <palves@redhat.com>
5926
5927 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5928 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5929
5930 2017-10-24 Pedro Alves <palves@redhat.com>
5931
5932 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5933 parameter and handle it. Don't output read value in test name.
5934
5935 2017-10-24 Pedro Alves <palves@redhat.com>
5936
5937 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5938 custom test name.
5939
5940 2017-10-24 Pedro Alves <palves@redhat.com>
5941
5942 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5943 include the unstable output directory name in the test's name.
5944 (initial_setup_simple) <'set args'>: Use custom test name.
5945
5946 2017-10-24 Pedro Alves <palves@redhat.com>
5947
5948 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5949 with explicit test name.
5950
5951 2017-10-20 Pedro Alves <palves@redhat.com>
5952
5953 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5954 'wait -i'. Use gdb_assert and remote_close.
5955
5956 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5957
5958 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5959 number from variable rather than hard-coded.
5960
5961 2017-10-19 Pedro Alves <palves@redhat.com>
5962
5963 * gdb.base/long-inferior-output.c: New file.
5964 * gdb.base/long-inferior-output.exp: New file.
5965
5966 2017-11-18 Keith Seitz <keiths@redhat.com>
5967
5968 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5969 method.
5970 (main): Call it.
5971 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5972 Add additional user-defined conversion operator tests.
5973
5974 2017-10-17 Pedro Alves <palves@redhat.com>
5975
5976 * boards/native-stdio-gdbserver.exp: Load "local-board".
5977
5978 2017-10-17 Pedro Alves <palves@redhat.com>
5979
5980 * gdb.base/quit-live.c: New file.
5981 * gdb.base/quit-live.exp: New file.
5982
5983 2017-10-16 Keith Seitz <keiths@redhat.com>
5984
5985 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5986 (class_with_protected_typedef, class_with_private_typedef)
5987 (struct_with_public_typedef, struct_with_protected_typedef)
5988 (struct_with_private_typedef): New classes/structs.
5989 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5990 typedefs and access specifiers.
5991
5992 2017-10-16 Pedro Alves <palves@redhat.com>
5993 Simon Marchi <simon.marchi@polymtl.ca>
5994
5995 * README (Local vs Remote vs Native): New section.
5996 * boards/local-board.exp: New file, with bits factored out from
5997 ...
5998 * boards/native-extended-gdbserver.exp: ... here. Load
5999 "local-board".
6000 * boards/native-gdbserver.exp: Load "local-board".
6001 (${board}_spawn, ${board}_exec): Delete.
6002 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6003 ...
6004 * boards/stdio-gdbserver-base.exp: ... this new file.
6005 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6006 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6007 procedure.
6008 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6009 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6010 stdio_gdbserver_command.
6011 (${board}_get_remote_address, ${board}_get_comm_port)
6012 (${board}_download, ${board}_upload): Delete.
6013 (get_target_remote_pipe_cmd): New.
6014
6015 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6016
6017 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6018 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6019 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6020 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6021 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6022 remove with_test_prefix.
6023
6024 2017-10-13 Pedro Alves <palves@redhat.com>
6025
6026 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6027 * gdb.base/annota1.exp: Use it instead of is_remote.
6028 * gdb.base/annota3.exp: Use it instead of is_remote.
6029 * gdb.cp/annota2.exp: Use it instead of is_remote.
6030 * gdb.cp/annota3.exp: Use it instead of is_remote.
6031 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6032
6033 2017-10-13 Pedro Alves <palves@redhat.com>
6034
6035 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6036 (test_num_test_vars, run_and_count_vars, find_env)
6037 (test_set_unset_env, test_inherit_env_var): New procedures.
6038 (top level): Use them.
6039
6040 2017-10-13 Pedro Alves <palves@redhat.com>
6041
6042 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6043 also skip on stub-like targets.
6044
6045 2017-10-13 Pedro Alves <palves@redhat.com>
6046
6047 PR gdb/22293
6048 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6049 (top level): Move some tests to ...
6050 (test_not_found): ... this new procedure.
6051 (top level): Call it.
6052
6053 2017-10-13 Pedro Alves <palves@redhat.com>
6054
6055 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6056 expect different "info terminal" output if testing with a
6057 non-native target.
6058
6059 2017-10-13 Pedro Alves <palves@redhat.com>
6060 Simon Marchi <simon.marchi@polymtl.ca>
6061
6062 PR python/12966
6063 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6064
6065 2017-10-13 Pedro Alves <palves@redhat.com>
6066
6067 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6068 already.
6069
6070 2017-10-13 Pedro Alves <palves@redhat.com>
6071
6072 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6073 is_remote.
6074
6075 2017-10-13 Pedro Alves <palves@redhat.com>
6076
6077 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6078 is_remote.
6079
6080 2017-10-13 Pedro Alves <palves@redhat.com>
6081
6082 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6083 is set.
6084 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6085 instead of is_remote.
6086
6087 2017-10-13 Pedro Alves <palves@redhat.com>
6088
6089 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6090 (top level): Add comment.
6091
6092 2017-10-13 Pedro Alves <palves@redhat.com>
6093
6094 * gdb.base/remote.exp (top level): Fix comment typo and add
6095 missing return.
6096
6097 2017-10-13 Pedro Alves <palves@redhat.com>
6098 Simon Marchi <simon.marchi@polymtl.ca>
6099
6100 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6101 calls and add comments. Skip test if use_gdb_stub is set.
6102 (top level): Use "set cwd" command instead of "cd" command.
6103
6104 2017-10-13 Pedro Alves <palves@redhat.com>
6105
6106 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6107 is_remote target check.
6108
6109 2017-10-13 Pedro Alves <palves@redhat.com>
6110
6111 * gdb.base/scope.exp: Use build_executable + clean_restart +
6112 gdb_file_cmd instead of prepare_for_testing and no longer skip
6113 "before run" tests on is_remote target boards. Update comments.
6114 * boards/native-extended-gdbserver.exp
6115 (extended_gdbserver_load_last_file): New, factored out from ...
6116 (gdb_load): ... this. Move further below and add comment.
6117 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6118
6119 2017-10-12 Pedro Alves <palves@redhat.com>
6120
6121 * gdb.base/attach.exp: Remove references to gdb64.
6122 * gdb.base/dbx.exp: Remove references to gdb64.
6123
6124 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6125 Pedro Alves <palves@redhat.com>
6126
6127 * gdb.base/label.exp: Remove is_remote target check.
6128
6129 2017-10-12 Pedro Alves <palves@redhat.com>
6130
6131 * gdb.base/auvx.exp (coredir): Update comment.
6132 (top level) <core_works>: Use "set cwd" command instead of "cd"
6133 command.
6134
6135 2017-10-12 Pedro Alves <palves@redhat.com>
6136 Simon Marchi <simon.marchi@polymtl.ca>
6137
6138 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6139 target boards.
6140
6141 2017-10-12 Pedro Alves <palves@redhat.com>
6142 Simon Marchi <simon.marchi@polymtl.ca>
6143
6144 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6145 Instead skip if there's any gdb_protocol set.
6146
6147 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6148 Pedro Alves <palves@redhat.com>
6149
6150 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6151
6152 2017-10-12 Pedro Alves <palves@redhat.com>
6153 Simon Marchi <simon.marchi@polymtl.ca>
6154
6155 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6156 instead of on dejagnu remote boards.
6157
6158 2017-10-12 Pedro Alves <palves@redhat.com>
6159 Simon Marchi <simon.marchi@polymtl.ca>
6160
6161 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6162 checks. Use build_executable + clean_restart instead of
6163 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6164 of enabling non-stop after starting gdb.
6165
6166 2017-10-12 Pedro Alves <palves@redhat.com>
6167
6168 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6169 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6170 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6171 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6172
6173 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6174
6175 * gdb.arch/arc-tdesc-cpu.exp: New file.
6176 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6177
6178 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6179
6180 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6181
6182 2017-10-10 Pedro Alves <palves@redhat.com>
6183
6184 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6185 expect CLI output.
6186
6187 2017-10-10 Pedro Alves <palves@redhat.com>
6188
6189 * lib/selftest-support.exp (selftest_setup): Update for
6190 captured_command_loop's prototype change.
6191
6192 2017-10-09 Pedro Alves <palves@redhat.com>
6193
6194 Test both arch1=>arch2 and arch2=>arch1.
6195
6196 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6197 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6198 factored out to...
6199 (append_arch1_options, append_arch2_options, append_arch_options)
6200 (build_executables): New procedures.
6201 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6202 local.
6203 (top level): Add new 'first_arch' testing axis.
6204
6205 2017-10-09 Pedro Alves <palves@redhat.com>
6206
6207 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6208 (barrier): New.
6209 (thread_start, all_started): New functions.
6210 (main): Spawn new thread and wait until it is scheduled.
6211 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6212 option.
6213 (do_test): Add 'selected_thread' parameter. Run to all_started
6214 instead of main. Explicitly set the breakpoint at main. Switch
6215 to the SELECTED_THREAD thread.
6216 (top level): Test handling the exec event with either the main
6217 thread or the second thread selected.
6218
6219 2017-10-09 Pedro Alves <palves@redhat.com>
6220
6221 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6222 logic. Move STOP marker after the value checks.
6223 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6224 regexp.
6225
6226 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6227
6228 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6229
6230 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6231
6232 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6233 integer-to-dfp conversion.
6234 * gdb.base/dfp-test.exp: Likewise.
6235
6236 2017-10-04 Pedro Alves <palves@redhat.com>
6237
6238 * gdb.multi/hangout.c: Include <unistd.h>.
6239 (hangout_loop): New function.
6240 (main): Call alarm. Call hangout_loop in a loop.
6241 * gdb.multi/hello.c: Include <unistd.h>.
6242 (hello_loop): New function.
6243 (main): Call alarm. Call hangout_loop in a loop.
6244 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6245 inferior with the other selected.
6246
6247 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6248
6249 * gdb.mi/list-thread-groups-available.exp: New file.
6250 * gdb.mi/list-thread-groups-available.c: New file.
6251
6252 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6253
6254 * gdb.base/set-cwd.exp: Make it available on
6255 native-extended-gdbserver.
6256
6257 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6258
6259 * gdb.base/set-cwd.c: New file.
6260 * gdb.base/set-cwd.exp: Likewise.
6261
6262 2017-10-02 Tom Tromey <tom@tromey.com>
6263
6264 PR rust/22236:
6265 * gdb.rust/simple.rs (main): New variable "fslice".
6266 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6267
6268 2017-10-02 Tom Tromey <tom@tromey.com>
6269
6270 * gdb.rust/simple.exp: Test ptype of a slice.
6271
6272 2017-10-02 Tom Tromey <tom@tromey.com>
6273
6274 * gdb.rust/simple.exp: Test index of slice.
6275
6276 2017-09-27 Tom Tromey <tom@tromey.com>
6277
6278 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6279
6280 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6281 Pedro Alves <palves@redhat.com>
6282
6283 * gdb.base/compare-sections.exp (get value of read-only section): Read
6284 as unsigned value.
6285 (corrupt read-only section): Likewise and don't set written if patching
6286 failed.
6287
6288 2017-09-21 Kevin Buettner <kevinb@redhat.com>
6289
6290 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6291 files.
6292
6293 2017-09-20 Pedro Alves <palves@redhat.com>
6294
6295 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6296 symbol names in gdb's output.
6297 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6298
6299 2017-09-20 Pedro Alves <palves@redhat.com>
6300
6301 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6302 Rename to ...
6303 (test_list_ambiguous_symbol): ... this and add a symbol name
6304 parameter. Adjust.
6305 (test_list_ambiguous_function): Reimplement on top of
6306 test_list_ambiguous_symbol and also test listing ambiguous
6307 variables.
6308 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6309 (ambiguous_fun): ... this.
6310 (ambiguous_var): New.
6311 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6312 (ambiguous_fun): ... this.
6313 (ambiguous_var): New.
6314
6315 2017-09-19 John Baldwin <jhb@FreeBSD.org>
6316
6317 * gdb.base/starti.c: New file.
6318 * gdb.base/starti.exp: New file.
6319 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6320
6321 2017-09-14 Pedro Alves <palves@redhat.com>
6322
6323 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6324 (top level): Use it instead of runto.
6325
6326 2017-09-11 Tom Tromey <tom@tromey.com>
6327
6328 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6329
6330 2017-09-11 Tom Tromey <tom@tromey.com>
6331
6332 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6333 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6334
6335 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6336
6337 * gdb.fortran/printing-types.exp: New file.
6338 * gdb.fortran/printing-types.exp: New file.
6339
6340 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6341
6342 * gdb.fortran/vla-ptype.exp: Fix typos.
6343 * gdb.fortran/vla-value.exp: Same.
6344
6345 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6346
6347 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6348 * gdb.mi/mi-var-child-f.exp: Likewise.
6349 * gdb.mi/mi-vla-fortran.exp: Likewise.
6350
6351 2017-09-08 Frank Penczek <frank.penczek@intel.com>
6352 Christoph Weinmann <christoph.t.weinmann@intel.com>
6353 Bernhard Heckel <bernhard.heckel@intel.com>
6354
6355 * gdb.fortran/ptr-indentation.f90: New file.
6356 * gdb.fortran/ptr-indentation.exp: New file.
6357
6358 2017-09-05 Tom Tromey <tom@tromey.com>
6359
6360 PR gdb/22010:
6361 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6362
6363 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6364
6365 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6366
6367 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6368
6369 * gdb.threads/tls-nodebug-pie.c: New file.
6370 * gdb.threads/tls-nodebug-pie.exp: New file.
6371
6372 2017-09-05 Tom Tromey <tom@tromey.com>
6373
6374 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6375 for rust.
6376
6377 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6378
6379 * gdb.multi/multi-arch-exec.exp: Test with different
6380 "follow-exec-mode" settings.
6381 (do_test): New procedure.
6382
6383 2017-09-04 Pedro Alves <palves@redhat.com>
6384
6385 * gdb.base/func-static.c (S::method const, S::method volatile)
6386 (S::method volatile const): New methods.
6387 (c_s, v_s, cv_s): New instances.
6388 (main): Call method() on them.
6389 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6390 (cannot_resolve): New procedure.
6391 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6392 print-quote-unquoted columns.
6393 (do_test): Test printing each scope too.
6394
6395 2017-09-04 Pedro Alves <palves@redhat.com>
6396
6397 * gdb.base/local-static.exp: Also test with
6398 class::method::variable wholly quoted.
6399 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6400
6401 2017-09-04 Pedro Alves <palves@redhat.com>
6402
6403 * gdb.base/local-static.c: New.
6404 * gdb.base/local-static.cc: New.
6405 * gdb.base/local-static.exp: New.
6406
6407 2017-09-04 Pedro Alves <palves@redhat.com>
6408
6409 * gdb.asm/asm-source.exp: Add casts to int.
6410 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6411 (dataglobal64_1, dataglobal64_2): New globals.
6412 * gdb.base/nodebug.exp: Test different expressions involving the
6413 new globals, with print, whatis and ptype. Add casts to int.
6414 * gdb.base/solib-display.exp: Add casts to int.
6415 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6416 * gdb.cp/m-static.exp: Add cast to int.
6417 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6418 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6419 tls variable with no debug info without a cast. Test with a cast
6420 to int too.
6421 * gdb.trace/entry-values.exp: Add casts.
6422
6423 2017-09-04 Pedro Alves <palves@redhat.com>
6424
6425 * gdb.base/nodebug.exp: Test that ptype's error about functions
6426 with unknown return type includes the function name too.
6427
6428 2017-09-04 Pedro Alves <palves@redhat.com>
6429
6430 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6431 return type of munmap in infcall.
6432 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6433 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6434 type of ftell in infcall.
6435 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6436 type of getpid in infcall.
6437 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6438 infcall.
6439 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6440 Bail on failure to extract the pid.
6441 * gdb.base/nodebug.c: #include <stdint.h>.
6442 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6443 New functions.
6444 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6445 Change expected output of print/whatis/ptype with functions with
6446 no debug info. Test all supported languages. Call
6447 test_call_promotion.
6448 * gdb.compile/compile.exp: Adjust expected output to expect
6449 warning.
6450 * gdb.threads/siginfo-threads.exp: Likewise.
6451
6452 2017-09-04 Pedro Alves <palves@redhat.com>
6453
6454 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6455 "prototypes". Test calling float functions via prototyped and
6456 unprototyped function pointers.
6457 (perform_all_tests): New parameter "prototypes". Pass it down.
6458 (top level): Pass down "prototypes" parameter to
6459 perform_all_tests.
6460
6461 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6462
6463 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6464 Test with nested loops.
6465
6466 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6467
6468 * gdb.base/commands.exp: Call the new procedures.
6469 (loop_break_test, loop_continue_test): New procedures.
6470
6471 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6472
6473 * gdb.base/commands.exp: Call new procedure.
6474 (define_if_without_arg_test): New procedure.
6475
6476 2017-09-04 Pedro Alves <palves@redhat.com>
6477
6478 * gdb.base/list-ambiguous.exp: New file.
6479 * gdb.base/list-ambiguous0.c: New file.
6480 * gdb.base/list-ambiguous1.c: New file.
6481 * gdb.base/list.exp (test_list_range): Adjust expected output.
6482
6483 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6484
6485 * gdb.base/share-env-with-gdbserver.c: New file.
6486 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6487
6488 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6489
6490 * gdb.base/commands.exp (gdbvar_simple_if_test,
6491 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6492 progvar_simple_if_test, progvar_simple_while_test,
6493 progvar_complex_if_while_test, user_defined_command_test,
6494 user_defined_command_args_eval,
6495 user_defined_command_args_stack_test,
6496 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6497 temporary_breakpoint_commands,
6498 gdb_test_no_prompt, redefine_hook_test,
6499 redefine_backtrace_test): Remove "global gdb_prompt".
6500
6501 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6502
6503 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6504 New proc, call it from toplevel.
6505
6506 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6507
6508 PR remote/21852
6509 * gdb.server/normal.c: New file, copied from gdb.base.
6510 * gdb.server/run-without-local-binary.exp: New file.
6511
6512 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6513
6514 * gdb.arch/sparc64-adi.exp: New file.
6515 * gdb.arch/sparc64-adi.c: New file.
6516
6517 2017-08-22 Pedro Alves <palves@redhat.com>
6518
6519 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6520 (top level): Add "list all overloads" tests.
6521
6522 2017-08-22 Tom Tromey <tom@tromey.com>
6523
6524 * gdb.gdb/xfullpath.exp: Remove.
6525
6526 2017-08-21 Pedro Alves <palves@redhat.com>
6527
6528 PR gdb/19487
6529 * gdb.base/symbol-alias.c: New.
6530 * gdb.base/symbol-alias2.c: New.
6531 * gdb.base/symbol-alias.exp: New.
6532
6533 2017-08-21 Pedro Alves <palves@redhat.com>
6534
6535 * gdb.base/dfp-test.c
6536 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6537 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6538 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6539 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6540 * gdb.base/whatis-ptype-typedefs.c: New.
6541 * gdb.base/whatis-ptype-typedefs.exp: New.
6542 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6543 (an_int, an_int_type, an_int_type2): New globals.
6544 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6545 involving typedefs and cast expressions.
6546 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6547 (lookup_typedefs_function): New.
6548 (typedefs_pretty_printers_dict): New.
6549 (top level): Register lookup_typedefs_function in
6550 gdb.pretty_printers.
6551
6552 2017-08-18 Yao Qi <yao.qi@linaro.org>
6553
6554 * gdb.server/unittest.exp: New.
6555
6556 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6557
6558 PR gdb/21954
6559 * gdb.base/environ.exp: Add test to check if 'unset environment'
6560 works.
6561
6562 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6563
6564 * lib/gdb.exp (universal_compile_options): New caching proc.
6565 (gdb_compile): Suppress GCC's coloring of messages.
6566
6567 2017-08-14 Tom Tromey <tom@tromey.com>
6568
6569 PR gdb/21675:
6570 * gdb.base/printcmds.exp (test_radices): New function.
6571 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6572 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6573 * lib/gdb.exp (get_integer_valueof): Use p/d.
6574
6575 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6576
6577 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6578 characters.
6579
6580 2017-08-05 Tom Tromey <tom@tromey.com>
6581
6582 * gdb.rust/simple.exp: Allow String to appear in a different
6583 namespace.
6584
6585 2017-07-26 Yao Qi <yao.qi@linaro.org>
6586
6587 * gdb.gdb/unittest.exp: Invoke command
6588 "maintenance check xml-descriptions".
6589
6590 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6591
6592 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6593 calling context.
6594 (hex128): Drop erroneous calculation of parameters.
6595
6596 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6597
6598 * gdb.python/py-unwind.exp: Disable stack protection when
6599 building test file.
6600
6601 2017-07-20 Pedro Alves <palves@redhat.com>
6602
6603 * gdb.base/default.exp (set language): Adjust expected output.
6604
6605 2017-07-20 Pedro Alves <palves@redhat.com>
6606
6607 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6608 (test_minsym): ... this, and make static.
6609 (get_pck__foo__bar__minsym): Rename to ...
6610 (get_test_minsym): ... this.
6611 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6612 symbol names and comments.
6613 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6614 (get_test_minsym): ... this.
6615 (pck__foo__bar__minsym__2): Rename to ...
6616 (test_minsym): ... this.
6617 (main): Adjust.
6618
6619 2017-07-17 Pedro Alves <palves@redhat.com>
6620
6621 * gdb.base/completion.exp: Adjust expected output.
6622 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6623 the completer works.
6624
6625 2017-07-17 Pedro Alves <palves@redhat.com>
6626
6627 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6628
6629 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6630
6631 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6632
6633 2017-07-14 Tom Tromey <tom@tromey.com>
6634
6635 PR rust/21764:
6636 * gdb.rust/simple.exp: Add tests.
6637
6638 2017-07-14 Tom Tromey <tom@tromey.com>
6639
6640 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6641
6642 2017-07-14 Pedro Alves <palves@redhat.com>
6643
6644 * gdb.linespec/base/one/thefile.cc (z1): New function.
6645 * gdb.linespec/base/two/thefile.cc (z2): New function.
6646 * gdb.linespec/linespec.exp: Add tests.
6647
6648 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6649
6650 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6651 to mi_create_breakpoint.
6652
6653 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6654
6655 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6656 mi_create_breakpoint.
6657
6658 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6659
6660 * gdb.dlang/demangle.exp: Update for demangling changes.
6661
6662 2017-07-09 Tom Tromey <tom@tromey.com>
6663
6664 * gdb.dwarf2/shortpiece.exp: New file.
6665
6666 2017-07-06 David Blaikie <dblaikie@gmail.com>
6667
6668 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6669 built from fissiont-multi-cu{1,2}.c.
6670 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6671 except putting 'main' and 'func' in separate CUs in the same DWO file.
6672 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6673 test.
6674 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6675 test.
6676
6677 2017-07-06 Pedro Alves <palves@redhat.com>
6678
6679 * gdb.python/py-unwind.exp: Test flushregs.
6680
6681 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6682
6683 PR cli/21688
6684 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6685 tests for alias commands and trailing whitespace.
6686
6687 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6688
6689 PR cli/21688
6690 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6691 procedure. Call it.
6692
6693 2017-06-29 Pedro Alves <palves@redhat.com>
6694
6695 * gdb.base/printcmds.exp: Add tests.
6696
6697 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6698
6699 PR gdb/21337
6700 * gdb.base/reread-readsym.exp: New file.
6701 * gdb.base/reread-readsym.c: New file.
6702
6703 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6704
6705 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6706 subpattern.
6707
6708 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6709
6710 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6711 extended mnemonic.
6712 * gdb.arch/powerpc-power9.s: Likewise.
6713
6714 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6715
6716 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6717 on 32-bit x86 targets. Exploit is_*_target macros where
6718 appropriate.
6719
6720 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6721
6722 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6723 register pieces.
6724
6725 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6726
6727 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6728 located in one or more DWARF pieces.
6729
6730 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6731
6732 * lib/gdb.exp (get_endianness): New proc.
6733 * gdb.arch/aarch64-fp.exp: Use it.
6734 * gdb.arch/altivec-regs.exp: Likewise.
6735 * gdb.arch/e500-regs.exp: Likewise.
6736 * gdb.arch/vsx-regs.exp: Likewise.
6737 * gdb.base/dump.exp: Likewise.
6738 * gdb.base/funcargs.exp: Likewise.
6739 * gdb.base/gnu_vector.exp: Likewise.
6740 * gdb.dwarf2/formdata16.exp: Likewise.
6741 * gdb.dwarf2/implptrpiece.exp: Likewise.
6742 * gdb.dwarf2/nonvar-access.exp: Likewise.
6743 * gdb.python/py-inferior.exp: Likewise.
6744 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6745
6746 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6747
6748 PR gdb/21226
6749 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6750 stack value pieces are taken from the LSB end.
6751
6752 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6753
6754 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6755 variable at nonzero offset.
6756
6757 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6758
6759 * gdb.dwarf2/var-access.c: New file.
6760 * gdb.dwarf2/var-access.exp: New test.
6761 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6762
6763 2017-06-12 Tom Tromey <tom@tromey.com>
6764
6765 * gdb.dwarf2/formdata16.exp: Add tests.
6766
6767 2017-06-12 Tom Tromey <tom@tromey.com>
6768
6769 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6770
6771 2017-06-12 Tom Tromey <tom@tromey.com>
6772
6773 PR exp/16225:
6774 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6775 * gdb.arch/vsx-regs.exp: Update tests.
6776 * gdb.arch/s390-vregs.exp (hex128): New proc.
6777 Update test.
6778 * gdb.arch/altivec-regs.exp: Update tests.
6779
6780 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6781
6782 * gdb.base/startup-with-shell.c: New file.
6783 * gdb.base/startup-with-shell.exp: Likewise.
6784
6785 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6786
6787 * gdb.server/non-existing-program.exp: Update regex in order to
6788 reflect the fact that gdbserver is now using fork_inferior (with a
6789 shell) to startup the inferior.
6790
6791 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6792
6793 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6794 support function calls from GDB.
6795
6796 2017-05-21 Tom Tromey <tom@tromey.com>
6797
6798 PR rust/21466:
6799 * gdb.rust/unsized.exp: New file.
6800 * gdb.rust/unsized.rs: New file.
6801
6802 2017-05-19 Tom Tromey <tom@tromey.com>
6803
6804 PR rust/21484:
6805 * gdb.rust/watch.exp: New file.
6806 * gdb.rust/watch.rs: New file.
6807
6808 2017-05-18 Tom Tromey <tom@tromey.com>
6809
6810 * gdb.rust/simple.exp: Allow Box to be qualified.
6811
6812 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6813
6814 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6815
6816 2017-05-18 Pedro Alves <palves@redhat.com>
6817
6818 * gdb.base/fileio.c (test_write, test_read, test_close)
6819 (test_fstat): Don't print 'ret' in the fail path.
6820
6821 2017-05-18 Pedro Alves <palves@redhat.com>
6822
6823 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6824 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6825 (test_system, test_rename, test_unlink, test_time): Change
6826 prototypes.
6827 * gdb.base/fileio.exp (stop_msg): Adjust.
6828
6829 2017-05-18 Pedro Alves <palves@redhat.com>
6830
6831 * gdb.base/fileio.c (null_str): New global.
6832 (test_stat): Use it.
6833 * gdb.base/fileio.exp: Remove nowarnings.
6834
6835 2017-05-17 Yao Qi <yao.qi@linaro.org>
6836
6837 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6838
6839 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6840
6841 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6842 argument command.
6843 (top-level): Invoke test_set_inferior_tty.
6844
6845 2017-05-04 Pedro Alves <palves@redhat.com>
6846
6847 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6848 Add parens to print call for Python 3.
6849
6850 2017-05-03 Keith Seitz <keiths@redhat.com>
6851
6852 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6853 (main): Call it.
6854
6855 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6856
6857 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6858 to prev and next.
6859
6860 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6861
6862 * gdb.python/py-record-btrace.exp: Remove test for
6863 gdb.BtraceInstruction.error.
6864
6865 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6866
6867 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6868
6869 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6870
6871 * gdb.python/py-record-btrace-threads.c: New file.
6872 * gdb.python/py-record-btrace-threads.exp: New file.
6873
6874 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6875
6876 PR testsuite/8595
6877 * gdb.base/environ.exp: Make test available in all architectures.
6878 Move bits related to "info program" testing to
6879 gdb.base/info-program.exp. Rewrite tests to use the two new
6880 procedures mentione below.
6881 (test_set_show_env_var) New procedure.
6882 (test_set_show_env_var_equal): Likewise.
6883 * gdb.base/info-program.exp: New file.
6884
6885 2017-04-27 Keith Seitz <keiths@redhat.com>
6886
6887 * gdb.cp/oranking.cc (test15): New function.
6888 (main): Call test15 and declare additional variables for testing.
6889 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6890 "p foo101('abc')" tests.
6891 Add tests for cv qualifier overloads.
6892 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6893 "lvalue reference overload" test.
6894 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6895 "print value of f1 on Child&& in f2" test.
6896
6897 2017-04-19 Pedro Alves <palves@redhat.com>
6898
6899 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6900 procedure.
6901 (top level): Call it.
6902 * lib/gdb.exp (gdb_define_cmd): New procedure.
6903
6904 2017-04-12 Pedro Alves <palves@redhat.com>
6905
6906 PR gdb/21323
6907 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6908 (wchar): New global.
6909 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6910 (do_test_wide_char, wide_char_types_no_program, top level): Add
6911 wchar_t testing.
6912
6913 2017-04-12 Pedro Alves <palves@redhat.com>
6914
6915 PR c++/21323
6916 * gdb.cp/wide_char_types.c: New file.
6917 * gdb.cp/wide_char_types.exp: New file.
6918
6919 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6920
6921 PR gdb/21352
6922 * gdb.trace/tsv.exp: Add test for "tsave -r".
6923
6924 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6925
6926 * gdb.dlang/watch-loc.c: New file.
6927 * gdb.dlang/watch-loc.exp: New file.
6928
6929 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6930
6931 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6932
6933 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6934
6935 * gdb.arch/arc-analyze-prologue.S: New file.
6936 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6937
6938 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6939
6940 * gdb.arch/arc-decode-insn.S: New file.
6941 * gdb.arch/arc-decode-insn.exp: Likewise.
6942
6943 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6944
6945 PR tdep/20928
6946 * gdb.arch/sparc64-regs.exp: New file.
6947 * gdb.arch/sparc64-regs.S: Likewise.
6948
6949 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6950
6951 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6952 and memory view on Python 3.
6953
6954 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6955 Keith Seitz <keiths@redhat.com>
6956
6957 PR gdb/14441
6958 * gdb.cp/demangle.exp: Add rvalue reference tests.
6959 * gdb.cp/rvalue-ref-casts.cc: New file.
6960 * gdb.cp/rvalue-ref-casts.exp: New file.
6961 * gdb.cp/rvalue-ref-overload.cc: New file.
6962 * gdb.cp/rvalue-ref-overload.exp: New file.
6963 * gdb.cp/rvalue-ref-params.cc: New file.
6964 * gdb.cp/rvalue-ref-params.exp: New file.
6965 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6966 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6967 * gdb.cp/rvalue-ref-types.cc: New file.
6968 * gdb.cp/rvalue-ref-types.exp: New file.
6969 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6970 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6971
6972 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6973
6974 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6975 New procedure.
6976
6977 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6978
6979 * lib/mi-support.exp (mi_gdb_test): Add additional message
6980 for unexpected output.
6981
6982 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6983
6984 * gdb.base/examine-backward.c (Barrier): New character array
6985 constant, to ensure that TestStrings is preceded by a string
6986 terminator.
6987
6988 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6989
6990 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6991 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6992 and implicit pointer into such a location.
6993
6994 2017-03-16 Doug Evans <dje@google.com>
6995
6996 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6997
6998 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6999
7000 * gdb.cp/m-static.exp: Fix expectation for prototype of
7001 test5.single_constructor and single_constructor::single_constructor.
7002
7003 2017-03-16 Doug Evans <dje@google.com>
7004
7005 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7006 * gdb.guile/scm-lazy-string.c: New file.
7007 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7008 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7009 for pointer, array, typedef lazy strings.
7010
7011 2017-03-16 Doug Evans <dje@google.com>
7012
7013 PR python/17728, python/18439, python/18779
7014 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7015 * gdb.python/py-lazy-string.c (pointer): New typedef.
7016 (main): New locals ptr, array, typedef_ptr.
7017 * gdb.python/py-value.exp: Move lazy string tests to ...
7018 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7019 array, typedef lazy strings.
7020
7021 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7022
7023 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7024 Add optional 'test' parameter.
7025
7026 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7027
7028 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7029 Skip for versions of DejaGnu < 1.5.
7030
7031 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7032
7033 * lib/gdb.exp (dejagnu_version): New proc.
7034 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7035 Use dejagnu_version.
7036
7037 2017-03-10 Keith Seitz <keiths@redhat.com>
7038
7039 PR c++/8128
7040 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7041 type from destructor regexps.
7042 Add a branch which actually passes the test.
7043 Adjust "ptype t5i" test names.
7044
7045 2017-03-08 Pedro Alves <palves@redhat.com>
7046
7047 * gdb.base/step-over-exit.exp: Add explicit test message.
7048
7049 2017-03-08 Pedro Alves <palves@redhat.com>
7050
7051 PR gdb/18360
7052 * gdb.threads/interrupt-while-step-over.c: New file.
7053 * gdb.threads/interrupt-while-step-over.exp: New file.
7054
7055 2017-03-08 Pedro Alves <palves@redhat.com>
7056
7057 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7058 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7059
7060 2017-03-08 Pedro Alves <palves@redhat.com>
7061
7062 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7063 PKRU as not supported as a PASS.
7064
7065 2017-03-08 Pedro Alves <palves@redhat.com>
7066
7067 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7068 prefix instead of $binfile1/$binfile2.
7069 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7070 in test message.
7071 * gdb.python/py-completion.exp: Use "load python file" as test
7072 messages instead of unstable path names.
7073
7074 2017-03-08 Pedro Alves <palves@redhat.com>
7075 Jan Kratochvil <jan.kratochvil@redhat.com>
7076
7077 PR cli/21218
7078 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7079 New proc.
7080 (top level): Call it.
7081
7082 2017-03-08 Pedro Alves <palves@redhat.com>
7083
7084 PR tui/21216
7085 * gdb.tui/tui-nl-filtered-output.exp: New file.
7086
7087 2017-03-08 Pedro Alves <palves@redhat.com>
7088
7089 * gdb.base/completion.exp: Move TUI completion tests to ...
7090 * gdb.tui/completion.exp: ... this new file.
7091
7092 2017-03-08 Pedro Alves <palves@redhat.com>
7093
7094 * gdb.base/tui-disasm-long-lines.c,
7095 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7096 gdb.base/tui-layout.exp: Move to ...
7097 * gdb.tui/: ... this new directory.
7098
7099 2017-03-07 Pedro Alves <palves@redhat.com>
7100
7101 * gdb.base/tui-layout.c: New file.
7102 * gdb.base/tui-layout.exp: New file.
7103
7104 2017-03-07 Pedro Alves <palves@redhat.com>
7105
7106 * gdb.base/tui-layout.c: Rename to ...
7107 * gdb.base/tui-disasm-long-lines.c: ... this.
7108 * gdb.base/tui-layout.exp: Rename to ...
7109 * gdb.base/tui-disasm-long-lines.exp: ... this.
7110
7111 2017-03-07 Pedro Alves <palves@redhat.com>
7112
7113 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7114
7115 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7116
7117 * i386-mpx-call.c: New file.
7118 * i386-mpx-call.exp: New file.
7119
7120 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7121
7122 * gdb.arch/powerpc-power.exp: Delete test.
7123 * gdb.arch/powerpc-power.s: Likewise.
7124 * gdb.disasm/disassembler-options.exp: New test.
7125 * gdb.arch/powerpc-altivec.exp: Likewise.
7126 * gdb.arch/powerpc-altivec.s: Likewise.
7127 * gdb.arch/powerpc-altivec2.exp: Likewise.
7128 * gdb.arch/powerpc-altivec2.s: Likewise.
7129 * gdb.arch/powerpc-altivec3.exp: Likewise.
7130 * gdb.arch/powerpc-altivec3.s: Likewise.
7131 * gdb.arch/powerpc-power7.exp: Likewise.
7132 * gdb.arch/powerpc-power7.s: Likewise.
7133 * gdb.arch/powerpc-power8.exp: Likewise.
7134 * gdb.arch/powerpc-power8.s: Likewise.
7135 * gdb.arch/powerpc-power9.exp: Likewise.
7136 * gdb.arch/powerpc-power9.s: Likewise.
7137 * gdb.arch/powerpc-vsx.exp: Likewise.
7138 * gdb.arch/powerpc-vsx.s: Likewise.
7139 * gdb.arch/powerpc-vsx2.exp: Likewise.
7140 * gdb.arch/powerpc-vsx2.s: Likewise.
7141 * gdb.arch/powerpc-vsx3.exp: Likewise.
7142 * gdb.arch/powerpc-vsx3.s: Likewise.
7143 * gdb.arch/arm-disassembler-options.exp: Likewise.
7144 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7145 * gdb.arch/s390-disassembler-options.exp: Likewise.
7146
7147 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7148
7149 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7150 (check_supported_features): ... this. Changed return type to void.
7151 (supports_rdseed): New static global.
7152 (rdseed): Check supports_rdseed.
7153 (initialize): Call check_supported_features.
7154
7155 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7156
7157 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7158 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7159 and lqarx/stqcx.
7160 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7161 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7162
7163 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7164
7165 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7166 uppercase.
7167
7168 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7169
7170 * gdb.dwarf2/formdata16.c: New file.
7171 * gdb.dwarf2/formdata16.exp: New file.
7172 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7173
7174 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7175
7176 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7177 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7178 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7179 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7180 DW_AT_GNU_*.
7181
7182 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7183
7184 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7185
7186 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7187
7188 PR gdb/21164
7189 * gdb.base/maint.exp: Add testcases for when the commands do
7190 not have arguments.
7191
7192 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7193
7194 * gdb.cp/chained-calls.exp: Use p instead of P.
7195
7196 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7197
7198 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7199 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7200
7201 2017-02-14 Tom Tromey <tom@tromey.com>
7202
7203 PR python/13598:
7204 * gdb.python/py-events.exp: Add before_prompt event tests.
7205
7206 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7207
7208 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7209
7210 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7211
7212 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7213 (main): Call my_unique_function_name.
7214 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7215 completion of patterns with a single match.
7216 Add missing -re switches to gdb_test_multiple calls.
7217
7218 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7219
7220 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7221 return if core file is not recognized.
7222
7223 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7224
7225 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7226 and extra UIs.
7227
7228 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7229
7230 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7231 proc_with_prefix.
7232
7233 2017-02-10 Tom Tromey <tom@tromey.com>
7234
7235 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7236
7237 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
7238
7239 PR gdb/21122
7240 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7241
7242 2017-02-08 Jerome Guitton <guitton@adacore.com>
7243
7244 * gdb.base/define.exp: Add test for command abbreviations
7245 in define.
7246
7247 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
7248
7249 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7250 * gdb.reverse/insn-reverse-x86.c: New file.
7251
7252 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7253
7254 PR tdep/20936
7255 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7256
7257 2017-02-03 Tom Tromey <tom@tromey.com>
7258
7259 PR rust/21097:
7260 * gdb.rust/simple.exp: Add new tests.
7261
7262 2017-02-02 Pedro Alves <palves@redhat.com>
7263
7264 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7265 tests.
7266
7267 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7268
7269 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7270 taking a 2-byte value out of a 4-byte DWARF implicit value on
7271 big-endian targets.
7272 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7273 logic. Add test cases for DW_OP_implicit.
7274
7275 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7276
7277 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7278
7279 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7280
7281 * gdb.btrace/enable.exp: Call gdb_exit before
7282 skip_gdbserver_tests.
7283
7284 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7285
7286 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7287 GDBFLAGS.
7288
7289 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7290
7291 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7292 the test is skipped.
7293 * gdb.btrace/data.exp: Likewise.
7294 * gdb.btrace/delta.exp: Likewise.
7295 * gdb.btrace/dlopen.exp: Likewise.
7296 * gdb.btrace/enable-running.exp: Likewise.
7297 * gdb.btrace/enable.exp: Likewise.
7298 * gdb.btrace/exception.exp: Likewise.
7299 * gdb.btrace/function_call_history.exp: Likewise.
7300 * gdb.btrace/gcore.exp: Likewise.
7301 * gdb.btrace/instruction_history.exp: Likewise.
7302 * gdb.btrace/multi-thread-step.exp: Likewise.
7303 * gdb.btrace/nohist.exp: Likewise.
7304 * gdb.btrace/non-stop.exp: Likewise.
7305 * gdb.btrace/reconnect.exp: Likewise.
7306 * gdb.btrace/record_goto-step.exp: Likewise.
7307 * gdb.btrace/record_goto.exp: Likewise.
7308 * gdb.btrace/rn-dl-bind.exp: Likewise.
7309 * gdb.btrace/segv.exp: Likewise.
7310 * gdb.btrace/step.exp: Likewise.
7311 * gdb.btrace/stepi.exp: Likewise.
7312 * gdb.btrace/tailcall-only.exp: Likewise.
7313 * gdb.btrace/tailcall.exp: Likewise.
7314 * gdb.btrace/tsx.exp: Likewise.
7315 * gdb.btrace/unknown_functions.exp: Likewise.
7316 * gdb.btrace/vdso.exp: Likewise.
7317
7318 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7319
7320 * gdb.btrace/enable-running.c: New.
7321 * gdb.btrace/enable-running.exp: New.
7322
7323 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7324
7325 * gdb.arch/amd64-gs_base.c: New file.
7326 * gdb.arch/amd64-gs_base.exp: New file.
7327
7328 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7329
7330 * lib/memory.exp: Remove spurious empty newlines.
7331
7332 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7333
7334 * gdb.python/py-bad-printers.exp: Load python file using "source".
7335 * gdb.python/py-events.exp: Likewise.
7336 * gdb.python/py-evsignal.exp: Likewise.
7337 * gdb.python/py-evthreads.exp: Likewise.
7338 * gdb.python/py-frame-args.exp: Likewise.
7339 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7340 * gdb.python/py-framefilter-mi.exp: Likewise.
7341 * gdb.python/py-framefilter.exp: Likewise.
7342 * gdb.python/py-mi.exp: Likewise.
7343 * gdb.python/py-pp-maint.exp: Likewise.
7344 * gdb.python/py-pp-registration.exp: Likewise.
7345 * gdb.python/py-prettyprint.exp: Likewise.
7346 (run_lang_tests): Likewise.
7347 * gdb.python/py-typeprint.exp: Likewise.
7348
7349 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7350
7351 * lib/memory.exp: New file.
7352 * lib/gdb.exp: Load memory.exp.
7353 * gdb.base/memattr.exp (delete_memory): Move proc to
7354 lib/memory.exp and rename to delete_memory_regions.
7355 Replace delete_memory with delete_memory_regions.
7356 Cleanup memory regions before tests.
7357 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7358 before tests.
7359
7360 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7361
7362 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7363 files.
7364 (initialize): New function conditionally defined.
7365 (testcases): Move within conditional block.
7366 (main): Call initialize.
7367 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7368 of gdb.reverse/insn-reverse.c.
7369 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7370 gdb.reverse/insn-reverse.c.
7371
7372 2017-01-26 Yao Qi <yao.qi@linaro.org>
7373
7374 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7375 disassemble on address 0.
7376
7377 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7378 Yao Qi <yao.qi@linaro.org>
7379
7380 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7381 * gdb.dwarf2/implptr-64bit.S: Remove.
7382 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7383 variables in caller's context. Add DW_OP_implicit_value.
7384
7385 2017-01-25 Yao Qi <yao.qi@linaro.org>
7386
7387 * lib/dwarf.exp (Dwarf::_location): Handle
7388 DW_OP_GNU_implicit_pointer with proper size.
7389
7390 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7391
7392 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7393 and add untested calls.
7394
7395 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7396
7397 * gdb.python/python.exp: Check line number against what GDB thinks
7398 the line number is for func1.
7399
7400 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7401
7402 * gdb.dlang/debug-expr.exp: New file.
7403
7404 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
7405
7406 Fix test names for the following files:
7407
7408 * gdb.ada/exec_changed.exp
7409 * gdb.ada/info_types.exp
7410 * gdb.arch/aarch64-atomic-inst.exp
7411 * gdb.arch/aarch64-fp.exp
7412 * gdb.arch/altivec-abi.exp
7413 * gdb.arch/altivec-regs.exp
7414 * gdb.arch/amd64-byte.exp
7415 * gdb.arch/amd64-disp-step.exp
7416 * gdb.arch/amd64-dword.exp
7417 * gdb.arch/amd64-entry-value-inline.exp
7418 * gdb.arch/amd64-entry-value-param.exp
7419 * gdb.arch/amd64-entry-value-paramref.exp
7420 * gdb.arch/amd64-entry-value.exp
7421 * gdb.arch/amd64-i386-address.exp
7422 * gdb.arch/amd64-invalid-stack-middle.exp
7423 * gdb.arch/amd64-invalid-stack-top.exp
7424 * gdb.arch/amd64-optimout-repeat.exp
7425 * gdb.arch/amd64-prologue-skip.exp
7426 * gdb.arch/amd64-prologue-xmm.exp
7427 * gdb.arch/amd64-stap-special-operands.exp
7428 * gdb.arch/amd64-stap-wrong-subexp.exp
7429 * gdb.arch/amd64-tailcall-cxx.exp
7430 * gdb.arch/amd64-tailcall-noret.exp
7431 * gdb.arch/amd64-tailcall-ret.exp
7432 * gdb.arch/amd64-tailcall-self.exp
7433 * gdb.arch/amd64-word.exp
7434 * gdb.arch/arm-bl-branch-dest.exp
7435 * gdb.arch/arm-disp-step.exp
7436 * gdb.arch/arm-neon.exp
7437 * gdb.arch/arm-single-step-kernel-helper.exp
7438 * gdb.arch/avr-flash-qualifier.exp
7439 * gdb.arch/disp-step-insn-reloc.exp
7440 * gdb.arch/e500-abi.exp
7441 * gdb.arch/e500-regs.exp
7442 * gdb.arch/ftrace-insn-reloc.exp
7443 * gdb.arch/i386-avx512.exp
7444 * gdb.arch/i386-bp_permanent.exp
7445 * gdb.arch/i386-byte.exp
7446 * gdb.arch/i386-cfi-notcurrent.exp
7447 * gdb.arch/i386-disp-step.exp
7448 * gdb.arch/i386-dr3-watch.exp
7449 * gdb.arch/i386-float.exp
7450 * gdb.arch/i386-gnu-cfi.exp
7451 * gdb.arch/i386-mpx-map.exp
7452 * gdb.arch/i386-mpx-sigsegv.exp
7453 * gdb.arch/i386-mpx-simple_segv.exp
7454 * gdb.arch/i386-mpx.exp
7455 * gdb.arch/i386-permbkpt.exp
7456 * gdb.arch/i386-prologue.exp
7457 * gdb.arch/i386-signal.exp
7458 * gdb.arch/i386-size-overlap.exp
7459 * gdb.arch/i386-unwind.exp
7460 * gdb.arch/i386-word.exp
7461 * gdb.arch/mips-fcr.exp
7462 * gdb.arch/powerpc-d128-regs.exp
7463 * gdb.arch/powerpc-stackless.exp
7464 * gdb.arch/ppc64-atomic-inst.exp
7465 * gdb.arch/s390-stackless.exp
7466 * gdb.arch/s390-tdbregs.exp
7467 * gdb.arch/s390-vregs.exp
7468 * gdb.arch/sparc-sysstep.exp
7469 * gdb.arch/thumb-bx-pc.exp
7470 * gdb.arch/thumb-singlestep.exp
7471 * gdb.arch/thumb2-it.exp
7472 * gdb.arch/vsx-regs.exp
7473 * gdb.asm/asm-source.exp
7474 * gdb.base/a2-run.exp
7475 * gdb.base/advance.exp
7476 * gdb.base/all-bin.exp
7477 * gdb.base/anon.exp
7478 * gdb.base/args.exp
7479 * gdb.base/arithmet.exp
7480 * gdb.base/async-shell.exp
7481 * gdb.base/async.exp
7482 * gdb.base/attach-pie-noexec.exp
7483 * gdb.base/attach-twice.exp
7484 * gdb.base/auto-load.exp
7485 * gdb.base/bang.exp
7486 * gdb.base/bitfields.exp
7487 * gdb.base/break-always.exp
7488 * gdb.base/break-caller-line.exp
7489 * gdb.base/break-entry.exp
7490 * gdb.base/break-inline.exp
7491 * gdb.base/break-on-linker-gcd-function.exp
7492 * gdb.base/break-probes.exp
7493 * gdb.base/break.exp
7494 * gdb.base/breakpoint-shadow.exp
7495 * gdb.base/call-ar-st.exp
7496 * gdb.base/call-sc.exp
7497 * gdb.base/call-signal-resume.exp
7498 * gdb.base/call-strs.exp
7499 * gdb.base/callfuncs.exp
7500 * gdb.base/catch-fork-static.exp
7501 * gdb.base/catch-gdb-caused-signals.exp
7502 * gdb.base/catch-load.exp
7503 * gdb.base/catch-signal-fork.exp
7504 * gdb.base/catch-signal.exp
7505 * gdb.base/catch-syscall.exp
7506 * gdb.base/charset.exp
7507 * gdb.base/checkpoint.exp
7508 * gdb.base/chng-syms.exp
7509 * gdb.base/code-expr.exp
7510 * gdb.base/code_elim.exp
7511 * gdb.base/commands.exp
7512 * gdb.base/completion.exp
7513 * gdb.base/complex.exp
7514 * gdb.base/cond-expr.exp
7515 * gdb.base/condbreak.exp
7516 * gdb.base/consecutive.exp
7517 * gdb.base/continue-all-already-running.exp
7518 * gdb.base/coredump-filter.exp
7519 * gdb.base/corefile.exp
7520 * gdb.base/dbx.exp
7521 * gdb.base/debug-expr.exp
7522 * gdb.base/define.exp
7523 * gdb.base/del.exp
7524 * gdb.base/disabled-location.exp
7525 * gdb.base/disasm-end-cu.exp
7526 * gdb.base/disasm-optim.exp
7527 * gdb.base/display.exp
7528 * gdb.base/duplicate-bp.exp
7529 * gdb.base/ena-dis-br.exp
7530 * gdb.base/ending-run.exp
7531 * gdb.base/enumval.exp
7532 * gdb.base/environ.exp
7533 * gdb.base/eu-strip-infcall.exp
7534 * gdb.base/eval-avoid-side-effects.exp
7535 * gdb.base/eval-skip.exp
7536 * gdb.base/exitsignal.exp
7537 * gdb.base/expand-psymtabs.exp
7538 * gdb.base/filesym.exp
7539 * gdb.base/find-unmapped.exp
7540 * gdb.base/finish.exp
7541 * gdb.base/float.exp
7542 * gdb.base/foll-exec-mode.exp
7543 * gdb.base/foll-exec.exp
7544 * gdb.base/foll-fork.exp
7545 * gdb.base/fortran-sym-case.exp
7546 * gdb.base/freebpcmd.exp
7547 * gdb.base/func-ptr.exp
7548 * gdb.base/func-ptrs.exp
7549 * gdb.base/funcargs.exp
7550 * gdb.base/gcore-buffer-overflow.exp
7551 * gdb.base/gcore-relro-pie.exp
7552 * gdb.base/gcore-relro.exp
7553 * gdb.base/gcore.exp
7554 * gdb.base/gdb1090.exp
7555 * gdb.base/gdb11530.exp
7556 * gdb.base/gdb11531.exp
7557 * gdb.base/gdb1821.exp
7558 * gdb.base/gdbindex-stabs.exp
7559 * gdb.base/gdbvars.exp
7560 * gdb.base/hbreak.exp
7561 * gdb.base/hbreak2.exp
7562 * gdb.base/included.exp
7563 * gdb.base/infcall-input.exp
7564 * gdb.base/inferior-died.exp
7565 * gdb.base/infnan.exp
7566 * gdb.base/info-macros.exp
7567 * gdb.base/info-os.exp
7568 * gdb.base/info-proc.exp
7569 * gdb.base/info-shared.exp
7570 * gdb.base/info-target.exp
7571 * gdb.base/infoline.exp
7572 * gdb.base/interp.exp
7573 * gdb.base/interrupt.exp
7574 * gdb.base/jit-reader.exp
7575 * gdb.base/jit-simple.exp
7576 * gdb.base/kill-after-signal.exp
7577 * gdb.base/kill-detach-inferiors-cmd.exp
7578 * gdb.base/label.exp
7579 * gdb.base/langs.exp
7580 * gdb.base/ldbl_e308.exp
7581 * gdb.base/line-symtabs.exp
7582 * gdb.base/linespecs.exp
7583 * gdb.base/list.exp
7584 * gdb.base/long_long.exp
7585 * gdb.base/longest-types.exp
7586 * gdb.base/maint.exp
7587 * gdb.base/max-value-size.exp
7588 * gdb.base/memattr.exp
7589 * gdb.base/mips_pro.exp
7590 * gdb.base/morestack.exp
7591 * gdb.base/moribund-step.exp
7592 * gdb.base/multi-forks.exp
7593 * gdb.base/nested-addr.exp
7594 * gdb.base/nextoverexit.exp
7595 * gdb.base/noreturn-finish.exp
7596 * gdb.base/noreturn-return.exp
7597 * gdb.base/nostdlib.exp
7598 * gdb.base/offsets.exp
7599 * gdb.base/opaque.exp
7600 * gdb.base/pc-fp.exp
7601 * gdb.base/permissions.exp
7602 * gdb.base/print-symbol-loading.exp
7603 * gdb.base/prologue-include.exp
7604 * gdb.base/psymtab.exp
7605 * gdb.base/ptype.exp
7606 * gdb.base/random-signal.exp
7607 * gdb.base/randomize.exp
7608 * gdb.base/range-stepping.exp
7609 * gdb.base/readline-ask.exp
7610 * gdb.base/recpar.exp
7611 * gdb.base/recurse.exp
7612 * gdb.base/relational.exp
7613 * gdb.base/restore.exp
7614 * gdb.base/return-nodebug.exp
7615 * gdb.base/return.exp
7616 * gdb.base/run-after-attach.exp
7617 * gdb.base/save-bp.exp
7618 * gdb.base/scope.exp
7619 * gdb.base/sect-cmd.exp
7620 * gdb.base/set-lang-auto.exp
7621 * gdb.base/set-noassign.exp
7622 * gdb.base/setvar.exp
7623 * gdb.base/sigall.exp
7624 * gdb.base/sigbpt.exp
7625 * gdb.base/siginfo-addr.exp
7626 * gdb.base/siginfo-infcall.exp
7627 * gdb.base/siginfo-obj.exp
7628 * gdb.base/siginfo.exp
7629 * gdb.base/signals-state-child.exp
7630 * gdb.base/signest.exp
7631 * gdb.base/sigstep.exp
7632 * gdb.base/sizeof.exp
7633 * gdb.base/skip.exp
7634 * gdb.base/solib-corrupted.exp
7635 * gdb.base/solib-nodir.exp
7636 * gdb.base/solib-search.exp
7637 * gdb.base/stack-checking.exp
7638 * gdb.base/stale-infcall.exp
7639 * gdb.base/stap-probe.exp
7640 * gdb.base/start.exp
7641 * gdb.base/step-break.exp
7642 * gdb.base/step-bt.exp
7643 * gdb.base/step-line.exp
7644 * gdb.base/step-over-exit.exp
7645 * gdb.base/step-over-syscall.exp
7646 * gdb.base/step-resume-infcall.exp
7647 * gdb.base/step-test.exp
7648 * gdb.base/store.exp
7649 * gdb.base/structs3.exp
7650 * gdb.base/sym-file.exp
7651 * gdb.base/symbol-without-target_section.exp
7652 * gdb.base/term.exp
7653 * gdb.base/testenv.exp
7654 * gdb.base/ui-redirect.exp
7655 * gdb.base/until.exp
7656 * gdb.base/unwindonsignal.exp
7657 * gdb.base/value-double-free.exp
7658 * gdb.base/vla-datatypes.exp
7659 * gdb.base/vla-ptr.exp
7660 * gdb.base/vla-sideeffect.exp
7661 * gdb.base/volatile.exp
7662 * gdb.base/watch-cond-infcall.exp
7663 * gdb.base/watch-cond.exp
7664 * gdb.base/watch-non-mem.exp
7665 * gdb.base/watch-read.exp
7666 * gdb.base/watch-vfork.exp
7667 * gdb.base/watchpoint-cond-gone.exp
7668 * gdb.base/watchpoint-delete.exp
7669 * gdb.base/watchpoint-hw-hit-once.exp
7670 * gdb.base/watchpoint-hw.exp
7671 * gdb.base/watchpoint-stops-at-right-insn.exp
7672 * gdb.base/watchpoints.exp
7673 * gdb.base/wchar.exp
7674 * gdb.base/whatis-exp.exp
7675 * gdb.btrace/buffer-size.exp
7676 * gdb.btrace/data.exp
7677 * gdb.btrace/delta.exp
7678 * gdb.btrace/dlopen.exp
7679 * gdb.btrace/enable.exp
7680 * gdb.btrace/exception.exp
7681 * gdb.btrace/function_call_history.exp
7682 * gdb.btrace/gcore.exp
7683 * gdb.btrace/instruction_history.exp
7684 * gdb.btrace/nohist.exp
7685 * gdb.btrace/reconnect.exp
7686 * gdb.btrace/record_goto-step.exp
7687 * gdb.btrace/record_goto.exp
7688 * gdb.btrace/rn-dl-bind.exp
7689 * gdb.btrace/segv.exp
7690 * gdb.btrace/step.exp
7691 * gdb.btrace/stepi.exp
7692 * gdb.btrace/tailcall-only.exp
7693 * gdb.btrace/tailcall.exp
7694 * gdb.btrace/tsx.exp
7695 * gdb.btrace/unknown_functions.exp
7696 * gdb.btrace/vdso.exp
7697 * gdb.compile/compile-ifunc.exp
7698 * gdb.compile/compile-ops.exp
7699 * gdb.compile/compile-print.exp
7700 * gdb.compile/compile-setjmp.exp
7701 * gdb.cp/abstract-origin.exp
7702 * gdb.cp/ambiguous.exp
7703 * gdb.cp/annota2.exp
7704 * gdb.cp/annota3.exp
7705 * gdb.cp/anon-ns.exp
7706 * gdb.cp/anon-struct.exp
7707 * gdb.cp/anon-union.exp
7708 * gdb.cp/arg-reference.exp
7709 * gdb.cp/baseenum.exp
7710 * gdb.cp/bool.exp
7711 * gdb.cp/breakpoint.exp
7712 * gdb.cp/bs15503.exp
7713 * gdb.cp/call-c.exp
7714 * gdb.cp/casts.exp
7715 * gdb.cp/chained-calls.exp
7716 * gdb.cp/class2.exp
7717 * gdb.cp/classes.exp
7718 * gdb.cp/cmpd-minsyms.exp
7719 * gdb.cp/converts.exp
7720 * gdb.cp/cp-relocate.exp
7721 * gdb.cp/cpcompletion.exp
7722 * gdb.cp/cpexprs.exp
7723 * gdb.cp/cplabel.exp
7724 * gdb.cp/cplusfuncs.exp
7725 * gdb.cp/cpsizeof.exp
7726 * gdb.cp/ctti.exp
7727 * gdb.cp/derivation.exp
7728 * gdb.cp/destrprint.exp
7729 * gdb.cp/dispcxx.exp
7730 * gdb.cp/enum-class.exp
7731 * gdb.cp/exception.exp
7732 * gdb.cp/exceptprint.exp
7733 * gdb.cp/expand-psymtabs-cxx.exp
7734 * gdb.cp/expand-sals.exp
7735 * gdb.cp/extern-c.exp
7736 * gdb.cp/filename.exp
7737 * gdb.cp/formatted-ref.exp
7738 * gdb.cp/fpointer.exp
7739 * gdb.cp/gdb1355.exp
7740 * gdb.cp/gdb2495.exp
7741 * gdb.cp/hang.exp
7742 * gdb.cp/impl-this.exp
7743 * gdb.cp/infcall-dlopen.exp
7744 * gdb.cp/inherit.exp
7745 * gdb.cp/iostream.exp
7746 * gdb.cp/koenig.exp
7747 * gdb.cp/local.exp
7748 * gdb.cp/m-data.exp
7749 * gdb.cp/m-static.exp
7750 * gdb.cp/mb-ctor.exp
7751 * gdb.cp/mb-inline.exp
7752 * gdb.cp/mb-templates.exp
7753 * gdb.cp/member-name.exp
7754 * gdb.cp/member-ptr.exp
7755 * gdb.cp/meth-typedefs.exp
7756 * gdb.cp/method.exp
7757 * gdb.cp/method2.exp
7758 * gdb.cp/minsym-fallback.exp
7759 * gdb.cp/misc.exp
7760 * gdb.cp/namelessclass.exp
7761 * gdb.cp/namespace-enum.exp
7762 * gdb.cp/namespace-nested-import.exp
7763 * gdb.cp/namespace.exp
7764 * gdb.cp/nextoverthrow.exp
7765 * gdb.cp/no-dmgl-verbose.exp
7766 * gdb.cp/non-trivial-retval.exp
7767 * gdb.cp/noparam.exp
7768 * gdb.cp/nsdecl.exp
7769 * gdb.cp/nsimport.exp
7770 * gdb.cp/nsnested.exp
7771 * gdb.cp/nsnoimports.exp
7772 * gdb.cp/nsrecurs.exp
7773 * gdb.cp/nsstress.exp
7774 * gdb.cp/nsusing.exp
7775 * gdb.cp/operator.exp
7776 * gdb.cp/oranking.exp
7777 * gdb.cp/overload-const.exp
7778 * gdb.cp/overload.exp
7779 * gdb.cp/ovldbreak.exp
7780 * gdb.cp/ovsrch.exp
7781 * gdb.cp/paren-type.exp
7782 * gdb.cp/parse-lang.exp
7783 * gdb.cp/pass-by-ref.exp
7784 * gdb.cp/pr-1023.exp
7785 * gdb.cp/pr-1210.exp
7786 * gdb.cp/pr-574.exp
7787 * gdb.cp/pr10687.exp
7788 * gdb.cp/pr12028.exp
7789 * gdb.cp/pr17132.exp
7790 * gdb.cp/pr17494.exp
7791 * gdb.cp/pr9067.exp
7792 * gdb.cp/pr9167.exp
7793 * gdb.cp/pr9631.exp
7794 * gdb.cp/printmethod.exp
7795 * gdb.cp/psmang.exp
7796 * gdb.cp/psymtab-parameter.exp
7797 * gdb.cp/ptype-cv-cp.exp
7798 * gdb.cp/ptype-flags.exp
7799 * gdb.cp/re-set-overloaded.exp
7800 * gdb.cp/ref-types.exp
7801 * gdb.cp/rtti.exp
7802 * gdb.cp/scope-err.exp
7803 * gdb.cp/shadow.exp
7804 * gdb.cp/smartp.exp
7805 * gdb.cp/static-method.exp
7806 * gdb.cp/static-print-quit.exp
7807 * gdb.cp/temargs.exp
7808 * gdb.cp/templates.exp
7809 * gdb.cp/try_catch.exp
7810 * gdb.cp/typedef-operator.exp
7811 * gdb.cp/typeid.exp
7812 * gdb.cp/userdef.exp
7813 * gdb.cp/using-crash.exp
7814 * gdb.cp/var-tag.exp
7815 * gdb.cp/virtbase.exp
7816 * gdb.cp/virtfunc.exp
7817 * gdb.cp/virtfunc2.exp
7818 * gdb.cp/vla-cxx.exp
7819 * gdb.disasm/t01_mov.exp
7820 * gdb.disasm/t02_mova.exp
7821 * gdb.disasm/t03_add.exp
7822 * gdb.disasm/t04_sub.exp
7823 * gdb.disasm/t05_cmp.exp
7824 * gdb.disasm/t06_ari2.exp
7825 * gdb.disasm/t07_ari3.exp
7826 * gdb.disasm/t08_or.exp
7827 * gdb.disasm/t09_xor.exp
7828 * gdb.disasm/t10_and.exp
7829 * gdb.disasm/t11_logs.exp
7830 * gdb.disasm/t12_bit.exp
7831 * gdb.disasm/t13_otr.exp
7832 * gdb.dlang/circular.exp
7833 * gdb.dwarf2/arr-stride.exp
7834 * gdb.dwarf2/arr-subrange.exp
7835 * gdb.dwarf2/atomic-type.exp
7836 * gdb.dwarf2/bad-regnum.exp
7837 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7838 * gdb.dwarf2/callframecfa.exp
7839 * gdb.dwarf2/clztest.exp
7840 * gdb.dwarf2/corrupt.exp
7841 * gdb.dwarf2/data-loc.exp
7842 * gdb.dwarf2/dup-psym.exp
7843 * gdb.dwarf2/dw2-anon-mptr.exp
7844 * gdb.dwarf2/dw2-anonymous-func.exp
7845 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7846 * gdb.dwarf2/dw2-bad-unresolved.exp
7847 * gdb.dwarf2/dw2-basic.exp
7848 * gdb.dwarf2/dw2-canonicalize-type.exp
7849 * gdb.dwarf2/dw2-case-insensitive.exp
7850 * gdb.dwarf2/dw2-common-block.exp
7851 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7852 * gdb.dwarf2/dw2-compressed.exp
7853 * gdb.dwarf2/dw2-const.exp
7854 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7855 * gdb.dwarf2/dw2-cu-size.exp
7856 * gdb.dwarf2/dw2-dup-frame.exp
7857 * gdb.dwarf2/dw2-entry-value.exp
7858 * gdb.dwarf2/dw2-icycle.exp
7859 * gdb.dwarf2/dw2-ifort-parameter.exp
7860 * gdb.dwarf2/dw2-inline-break.exp
7861 * gdb.dwarf2/dw2-inline-param.exp
7862 * gdb.dwarf2/dw2-intercu.exp
7863 * gdb.dwarf2/dw2-intermix.exp
7864 * gdb.dwarf2/dw2-lexical-block-bare.exp
7865 * gdb.dwarf2/dw2-linkage-name-trust.exp
7866 * gdb.dwarf2/dw2-minsym-in-cu.exp
7867 * gdb.dwarf2/dw2-noloc.exp
7868 * gdb.dwarf2/dw2-op-call.exp
7869 * gdb.dwarf2/dw2-op-out-param.exp
7870 * gdb.dwarf2/dw2-opt-structptr.exp
7871 * gdb.dwarf2/dw2-param-error.exp
7872 * gdb.dwarf2/dw2-producer.exp
7873 * gdb.dwarf2/dw2-ranges-base.exp
7874 * gdb.dwarf2/dw2-ref-missing-frame.exp
7875 * gdb.dwarf2/dw2-reg-undefined.exp
7876 * gdb.dwarf2/dw2-regno-invalid.exp
7877 * gdb.dwarf2/dw2-restore.exp
7878 * gdb.dwarf2/dw2-restrict.exp
7879 * gdb.dwarf2/dw2-single-line-discriminators.exp
7880 * gdb.dwarf2/dw2-strp.exp
7881 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7882 * gdb.dwarf2/dw2-unresolved.exp
7883 * gdb.dwarf2/dw2-var-zero-addr.exp
7884 * gdb.dwarf2/dw4-sig-types.exp
7885 * gdb.dwarf2/dwz.exp
7886 * gdb.dwarf2/dynarr-ptr.exp
7887 * gdb.dwarf2/enum-type.exp
7888 * gdb.dwarf2/gdb-index.exp
7889 * gdb.dwarf2/implptr-64bit.exp
7890 * gdb.dwarf2/implptr-optimized-out.exp
7891 * gdb.dwarf2/implptr.exp
7892 * gdb.dwarf2/implref-array.exp
7893 * gdb.dwarf2/implref-const.exp
7894 * gdb.dwarf2/implref-global.exp
7895 * gdb.dwarf2/implref-struct.exp
7896 * gdb.dwarf2/mac-fileno.exp
7897 * gdb.dwarf2/main-subprogram.exp
7898 * gdb.dwarf2/member-ptr-forwardref.exp
7899 * gdb.dwarf2/method-ptr.exp
7900 * gdb.dwarf2/missing-sig-type.exp
7901 * gdb.dwarf2/nonvar-access.exp
7902 * gdb.dwarf2/opaque-type-lookup.exp
7903 * gdb.dwarf2/pieces-optimized-out.exp
7904 * gdb.dwarf2/pieces.exp
7905 * gdb.dwarf2/pr10770.exp
7906 * gdb.dwarf2/pr13961.exp
7907 * gdb.dwarf2/staticvirtual.exp
7908 * gdb.dwarf2/subrange.exp
7909 * gdb.dwarf2/symtab-producer.exp
7910 * gdb.dwarf2/trace-crash.exp
7911 * gdb.dwarf2/typeddwarf.exp
7912 * gdb.dwarf2/valop.exp
7913 * gdb.dwarf2/watch-notconst.exp
7914 * gdb.fortran/array-element.exp
7915 * gdb.fortran/charset.exp
7916 * gdb.fortran/common-block.exp
7917 * gdb.fortran/complex.exp
7918 * gdb.fortran/derived-type-function.exp
7919 * gdb.fortran/derived-type.exp
7920 * gdb.fortran/logical.exp
7921 * gdb.fortran/module.exp
7922 * gdb.fortran/multi-dim.exp
7923 * gdb.fortran/nested-funcs.exp
7924 * gdb.fortran/print-formatted.exp
7925 * gdb.fortran/subarray.exp
7926 * gdb.fortran/vla-alloc-assoc.exp
7927 * gdb.fortran/vla-datatypes.exp
7928 * gdb.fortran/vla-history.exp
7929 * gdb.fortran/vla-ptr-info.exp
7930 * gdb.fortran/vla-ptype-sub.exp
7931 * gdb.fortran/vla-ptype.exp
7932 * gdb.fortran/vla-sizeof.exp
7933 * gdb.fortran/vla-type.exp
7934 * gdb.fortran/vla-value-sub-arbitrary.exp
7935 * gdb.fortran/vla-value-sub-finish.exp
7936 * gdb.fortran/vla-value-sub.exp
7937 * gdb.fortran/vla-value.exp
7938 * gdb.fortran/whatis_type.exp
7939 * gdb.go/chan.exp
7940 * gdb.go/handcall.exp
7941 * gdb.go/hello.exp
7942 * gdb.go/integers.exp
7943 * gdb.go/methods.exp
7944 * gdb.go/package.exp
7945 * gdb.go/strings.exp
7946 * gdb.go/types.exp
7947 * gdb.go/unsafe.exp
7948 * gdb.guile/scm-arch.exp
7949 * gdb.guile/scm-block.exp
7950 * gdb.guile/scm-breakpoint.exp
7951 * gdb.guile/scm-cmd.exp
7952 * gdb.guile/scm-disasm.exp
7953 * gdb.guile/scm-equal.exp
7954 * gdb.guile/scm-frame-args.exp
7955 * gdb.guile/scm-frame-inline.exp
7956 * gdb.guile/scm-frame.exp
7957 * gdb.guile/scm-iterator.exp
7958 * gdb.guile/scm-math.exp
7959 * gdb.guile/scm-objfile.exp
7960 * gdb.guile/scm-ports.exp
7961 * gdb.guile/scm-symbol.exp
7962 * gdb.guile/scm-symtab.exp
7963 * gdb.guile/scm-value-cc.exp
7964 * gdb.guile/types-module.exp
7965 * gdb.linespec/break-ask.exp
7966 * gdb.linespec/cpexplicit.exp
7967 * gdb.linespec/explicit.exp
7968 * gdb.linespec/keywords.exp
7969 * gdb.linespec/linespec.exp
7970 * gdb.linespec/ls-dollar.exp
7971 * gdb.linespec/ls-errs.exp
7972 * gdb.linespec/skip-two.exp
7973 * gdb.linespec/thread.exp
7974 * gdb.mi/mi-async.exp
7975 * gdb.mi/mi-basics.exp
7976 * gdb.mi/mi-break.exp
7977 * gdb.mi/mi-catch-load.exp
7978 * gdb.mi/mi-cli.exp
7979 * gdb.mi/mi-cmd-param-changed.exp
7980 * gdb.mi/mi-console.exp
7981 * gdb.mi/mi-detach.exp
7982 * gdb.mi/mi-disassemble.exp
7983 * gdb.mi/mi-eval.exp
7984 * gdb.mi/mi-file-transfer.exp
7985 * gdb.mi/mi-file.exp
7986 * gdb.mi/mi-fill-memory.exp
7987 * gdb.mi/mi-inheritance-syntax-error.exp
7988 * gdb.mi/mi-linespec-err-cp.exp
7989 * gdb.mi/mi-logging.exp
7990 * gdb.mi/mi-memory-changed.exp
7991 * gdb.mi/mi-read-memory.exp
7992 * gdb.mi/mi-record-changed.exp
7993 * gdb.mi/mi-reg-undefined.exp
7994 * gdb.mi/mi-regs.exp
7995 * gdb.mi/mi-return.exp
7996 * gdb.mi/mi-reverse.exp
7997 * gdb.mi/mi-simplerun.exp
7998 * gdb.mi/mi-solib.exp
7999 * gdb.mi/mi-stack.exp
8000 * gdb.mi/mi-stepi.exp
8001 * gdb.mi/mi-syn-frame.exp
8002 * gdb.mi/mi-until.exp
8003 * gdb.mi/mi-var-block.exp
8004 * gdb.mi/mi-var-child.exp
8005 * gdb.mi/mi-var-cmd.exp
8006 * gdb.mi/mi-var-cp.exp
8007 * gdb.mi/mi-var-display.exp
8008 * gdb.mi/mi-var-invalidate.exp
8009 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8010 * gdb.mi/mi-vla-fortran.exp
8011 * gdb.mi/mi-watch.exp
8012 * gdb.mi/mi2-var-child.exp
8013 * gdb.mi/user-selected-context-sync.exp
8014 * gdb.modula2/unbounded-array.exp
8015 * gdb.multi/dummy-frame-restore.exp
8016 * gdb.multi/multi-arch-exec.exp
8017 * gdb.multi/multi-arch.exp
8018 * gdb.multi/tids.exp
8019 * gdb.multi/watchpoint-multi.exp
8020 * gdb.opencl/callfuncs.exp
8021 * gdb.opencl/convs_casts.exp
8022 * gdb.opencl/datatypes.exp
8023 * gdb.opencl/operators.exp
8024 * gdb.opencl/vec_comps.exp
8025 * gdb.opt/clobbered-registers-O2.exp
8026 * gdb.opt/inline-break.exp
8027 * gdb.opt/inline-bt.exp
8028 * gdb.opt/inline-cmds.exp
8029 * gdb.opt/inline-locals.exp
8030 * gdb.pascal/case-insensitive-symbols.exp
8031 * gdb.pascal/floats.exp
8032 * gdb.pascal/gdb11492.exp
8033 * gdb.python/lib-types.exp
8034 * gdb.python/py-arch.exp
8035 * gdb.python/py-as-string.exp
8036 * gdb.python/py-bad-printers.exp
8037 * gdb.python/py-block.exp
8038 * gdb.python/py-breakpoint-create-fail.exp
8039 * gdb.python/py-breakpoint.exp
8040 * gdb.python/py-caller-is.exp
8041 * gdb.python/py-cmd.exp
8042 * gdb.python/py-explore-cc.exp
8043 * gdb.python/py-explore.exp
8044 * gdb.python/py-finish-breakpoint.exp
8045 * gdb.python/py-finish-breakpoint2.exp
8046 * gdb.python/py-frame-args.exp
8047 * gdb.python/py-frame-inline.exp
8048 * gdb.python/py-frame.exp
8049 * gdb.python/py-framefilter-mi.exp
8050 * gdb.python/py-infthread.exp
8051 * gdb.python/py-lazy-string.exp
8052 * gdb.python/py-linetable.exp
8053 * gdb.python/py-mi-events.exp
8054 * gdb.python/py-mi-objfile.exp
8055 * gdb.python/py-mi.exp
8056 * gdb.python/py-objfile.exp
8057 * gdb.python/py-pp-integral.exp
8058 * gdb.python/py-pp-maint.exp
8059 * gdb.python/py-pp-re-notag.exp
8060 * gdb.python/py-pp-registration.exp
8061 * gdb.python/py-recurse-unwind.exp
8062 * gdb.python/py-strfns.exp
8063 * gdb.python/py-symbol.exp
8064 * gdb.python/py-symtab.exp
8065 * gdb.python/py-sync-interp.exp
8066 * gdb.python/py-typeprint.exp
8067 * gdb.python/py-unwind-maint.exp
8068 * gdb.python/py-unwind.exp
8069 * gdb.python/py-value-cc.exp
8070 * gdb.python/py-xmethods.exp
8071 * gdb.reverse/amd64-tailcall-reverse.exp
8072 * gdb.reverse/break-precsave.exp
8073 * gdb.reverse/break-reverse.exp
8074 * gdb.reverse/consecutive-precsave.exp
8075 * gdb.reverse/consecutive-reverse.exp
8076 * gdb.reverse/finish-precsave.exp
8077 * gdb.reverse/finish-reverse-bkpt.exp
8078 * gdb.reverse/finish-reverse.exp
8079 * gdb.reverse/fstatat-reverse.exp
8080 * gdb.reverse/getresuid-reverse.exp
8081 * gdb.reverse/i386-precsave.exp
8082 * gdb.reverse/i386-reverse.exp
8083 * gdb.reverse/i386-sse-reverse.exp
8084 * gdb.reverse/i387-env-reverse.exp
8085 * gdb.reverse/i387-stack-reverse.exp
8086 * gdb.reverse/insn-reverse.exp
8087 * gdb.reverse/machinestate-precsave.exp
8088 * gdb.reverse/machinestate.exp
8089 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8090 * gdb.reverse/pipe-reverse.exp
8091 * gdb.reverse/readv-reverse.exp
8092 * gdb.reverse/recvmsg-reverse.exp
8093 * gdb.reverse/rerun-prec.exp
8094 * gdb.reverse/s390-mvcle.exp
8095 * gdb.reverse/step-precsave.exp
8096 * gdb.reverse/step-reverse.exp
8097 * gdb.reverse/time-reverse.exp
8098 * gdb.reverse/until-precsave.exp
8099 * gdb.reverse/until-reverse.exp
8100 * gdb.reverse/waitpid-reverse.exp
8101 * gdb.reverse/watch-precsave.exp
8102 * gdb.reverse/watch-reverse.exp
8103 * gdb.rust/generics.exp
8104 * gdb.rust/methods.exp
8105 * gdb.rust/modules.exp
8106 * gdb.rust/simple.exp
8107 * gdb.server/connect-with-no-symbol-file.exp
8108 * gdb.server/ext-attach.exp
8109 * gdb.server/ext-restart.exp
8110 * gdb.server/ext-wrapper.exp
8111 * gdb.server/file-transfer.exp
8112 * gdb.server/server-exec-info.exp
8113 * gdb.server/server-kill.exp
8114 * gdb.server/server-mon.exp
8115 * gdb.server/wrapper.exp
8116 * gdb.stabs/exclfwd.exp
8117 * gdb.stabs/gdb11479.exp
8118 * gdb.threads/clone-new-thread-event.exp
8119 * gdb.threads/corethreads.exp
8120 * gdb.threads/current-lwp-dead.exp
8121 * gdb.threads/dlopen-libpthread.exp
8122 * gdb.threads/gcore-thread.exp
8123 * gdb.threads/sigstep-threads.exp
8124 * gdb.threads/watchpoint-fork.exp
8125 * gdb.trace/actions-changed.exp
8126 * gdb.trace/backtrace.exp
8127 * gdb.trace/change-loc.exp
8128 * gdb.trace/circ.exp
8129 * gdb.trace/collection.exp
8130 * gdb.trace/disconnected-tracing.exp
8131 * gdb.trace/ftrace.exp
8132 * gdb.trace/mi-trace-frame-collected.exp
8133 * gdb.trace/mi-trace-unavailable.exp
8134 * gdb.trace/mi-traceframe-changed.exp
8135 * gdb.trace/mi-tsv-changed.exp
8136 * gdb.trace/no-attach-trace.exp
8137 * gdb.trace/passc-dyn.exp
8138 * gdb.trace/qtro.exp
8139 * gdb.trace/range-stepping.exp
8140 * gdb.trace/read-memory.exp
8141 * gdb.trace/save-trace.exp
8142 * gdb.trace/signal.exp
8143 * gdb.trace/status-stop.exp
8144 * gdb.trace/tfile.exp
8145 * gdb.trace/trace-break.exp
8146 * gdb.trace/trace-buffer-size.exp
8147 * gdb.trace/trace-condition.exp
8148 * gdb.trace/tracefile-pseudo-reg.exp
8149 * gdb.trace/tstatus.exp
8150 * gdb.trace/unavailable.exp
8151 * gdb.trace/while-dyn.exp
8152 * gdb.trace/while-stepping.exp
8153
8154 2016-12-22 Doug Evans <xdje42@gmail.com>
8155
8156 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8157 and msymbols.
8158
8159 2016-12-19 Yao Qi <yao.qi@linaro.org>
8160
8161 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8162 (test_with_self): Don't call do_steps_and_nexts, and remove
8163 code about stepping into xmalloc.
8164
8165 2016-12-09 Yao Qi <yao.qi@linaro.org>
8166
8167 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8168
8169 2016-12-09 Yao Qi <yao.qi@linaro.org>
8170
8171 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8172
8173 2016-12-09 Pedro Alves <palves@redhat.com>
8174
8175 * gdb.base/all-architectures-0.exp: New file.
8176 * gdb.base/all-architectures-1.exp: New file.
8177 * gdb.base/all-architectures-2.exp: New file.
8178 * gdb.base/all-architectures-3.exp: New file.
8179 * gdb.base/all-architectures-4.exp: New file.
8180 * gdb.base/all-architectures-5.exp: New file.
8181 * gdb.base/all-architectures-6.exp: New file.
8182 * gdb.base/all-architectures-7.exp: New file.
8183 * gdb.base/all-architectures.exp.in: New file.
8184
8185 2016-12-09 Yao Qi <yao.qi@linaro.org>
8186
8187 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8188
8189 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8190
8191 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8192 possible.
8193 Remove useless pattern-matching code.
8194
8195 2016-12-02 Pedro Alves <palves@redhat.com>
8196
8197 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8198 procedure.
8199 (top level): Call it.
8200
8201 2016-12-02 Pedro Alves <palves@redhat.com>
8202
8203 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8204 New procedure.
8205 (top level): Call it.
8206
8207 2016-12-02 Pedro Alves <palves@redhat.com>
8208
8209 PR cli/20559
8210 * gdb.base/commands.exp (user_defined_command_args_eval): New
8211 procedure.
8212 (top level): Call it.
8213
8214 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8215
8216 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8217 timeout handling.
8218
8219 2016-12-02 Tom Tromey <tom@tromey.com>
8220
8221 * gdb.dwarf2/main-subprogram.c: New file.
8222 * gdb.dwarf2/main-subprogram.exp: New file.
8223
8224 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8225
8226 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8227 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8228 gdb_test_no_output for a couple of cases.
8229 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8230
8231 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8232
8233 Fix test names and standardize compilation error messages throughout
8234 the following files:
8235
8236 * gdb.ada/start.exp
8237 * gdb.arch/alpha-step.exp
8238 * gdb.arch/e500-prologue.exp
8239 * gdb.arch/ftrace-insn-reloc.exp
8240 * gdb.arch/gdb1291.exp
8241 * gdb.arch/gdb1431.exp
8242 * gdb.arch/gdb1558.exp
8243 * gdb.arch/i386-dr3-watch.exp
8244 * gdb.arch/i386-sse-stack-align.exp
8245 * gdb.arch/ia64-breakpoint-shadow.exp
8246 * gdb.arch/pa-nullify.exp
8247 * gdb.arch/powerpc-aix-prologue.exp
8248 * gdb.arch/thumb-bx-pc.exp
8249 * gdb.base/annota1.exp
8250 * gdb.base/annota3.exp
8251 * gdb.base/arrayidx.exp
8252 * gdb.base/assign.exp
8253 * gdb.base/attach.exp
8254 * gdb.base/auxv.exp
8255 * gdb.base/bang.exp
8256 * gdb.base/bfp-test.exp
8257 * gdb.base/bigcore.exp
8258 * gdb.base/bitfields2.exp
8259 * gdb.base/break-fun-addr.exp
8260 * gdb.base/break-probes.exp
8261 * gdb.base/call-rt-st.exp
8262 * gdb.base/callexit.exp
8263 * gdb.base/catch-fork-kill.exp
8264 * gdb.base/charset.exp
8265 * gdb.base/checkpoint.exp
8266 * gdb.base/comprdebug.exp
8267 * gdb.base/constvars.exp
8268 * gdb.base/coredump-filter.exp
8269 * gdb.base/cursal.exp
8270 * gdb.base/cvexpr.exp
8271 * gdb.base/detach.exp
8272 * gdb.base/display.exp
8273 * gdb.base/dmsym.exp
8274 * gdb.base/dprintf-pending.exp
8275 * gdb.base/dso2dso.exp
8276 * gdb.base/dtrace-probe.exp
8277 * gdb.base/dump.exp
8278 * gdb.base/enum_cond.exp
8279 * gdb.base/exe-lock.exp
8280 * gdb.base/exec-invalid-sysroot.exp
8281 * gdb.base/execl-update-breakpoints.exp
8282 * gdb.base/exprs.exp
8283 * gdb.base/fileio.exp
8284 * gdb.base/find.exp
8285 * gdb.base/finish.exp
8286 * gdb.base/fixsection.exp
8287 * gdb.base/foll-vfork.exp
8288 * gdb.base/frame-args.exp
8289 * gdb.base/gcore.exp
8290 * gdb.base/gdb1250.exp
8291 * gdb.base/global-var-nested-by-dso.exp
8292 * gdb.base/gnu-ifunc.exp
8293 * gdb.base/hashline1.exp
8294 * gdb.base/hashline2.exp
8295 * gdb.base/hashline3.exp
8296 * gdb.base/hbreak-in-shr-unsupported.exp
8297 * gdb.base/huge.exp
8298 * gdb.base/infcall-input.exp
8299 * gdb.base/info-fun.exp
8300 * gdb.base/info-shared.exp
8301 * gdb.base/jit-simple.exp
8302 * gdb.base/jit-so.exp
8303 * gdb.base/jit.exp
8304 * gdb.base/jump.exp
8305 * gdb.base/label.exp
8306 * gdb.base/lineinc.exp
8307 * gdb.base/logical.exp
8308 * gdb.base/longjmp.exp
8309 * gdb.base/macscp.exp
8310 * gdb.base/miscexprs.exp
8311 * gdb.base/new-ui-echo.exp
8312 * gdb.base/new-ui-pending-input.exp
8313 * gdb.base/new-ui.exp
8314 * gdb.base/nodebug.exp
8315 * gdb.base/nofield.exp
8316 * gdb.base/offsets.exp
8317 * gdb.base/overlays.exp
8318 * gdb.base/pending.exp
8319 * gdb.base/pointers.exp
8320 * gdb.base/pr11022.exp
8321 * gdb.base/printcmds.exp
8322 * gdb.base/prologue.exp
8323 * gdb.base/ptr-typedef.exp
8324 * gdb.base/realname-expand.exp
8325 * gdb.base/relativedebug.exp
8326 * gdb.base/relocate.exp
8327 * gdb.base/remote.exp
8328 * gdb.base/reread.exp
8329 * gdb.base/return2.exp
8330 * gdb.base/savedregs.exp
8331 * gdb.base/sep.exp
8332 * gdb.base/sepdebug.exp
8333 * gdb.base/sepsymtab.exp
8334 * gdb.base/set-inferior-tty.exp
8335 * gdb.base/setshow.exp
8336 * gdb.base/shlib-call.exp
8337 * gdb.base/sigaltstack.exp
8338 * gdb.base/siginfo-addr.exp
8339 * gdb.base/signals.exp
8340 * gdb.base/signull.exp
8341 * gdb.base/sigrepeat.exp
8342 * gdb.base/so-impl-ld.exp
8343 * gdb.base/solib-display.exp
8344 * gdb.base/solib-overlap.exp
8345 * gdb.base/solib-search.exp
8346 * gdb.base/solib-symbol.exp
8347 * gdb.base/structs.exp
8348 * gdb.base/structs2.exp
8349 * gdb.base/symtab-search-order.exp
8350 * gdb.base/twice.exp
8351 * gdb.base/unload.exp
8352 * gdb.base/varargs.exp
8353 * gdb.base/watchpoint-solib.exp
8354 * gdb.base/watchpoint.exp
8355 * gdb.base/whatis.exp
8356 * gdb.base/wrong_frame_bt_full.exp
8357 * gdb.btrace/dlopen.exp
8358 * gdb.cell/ea-standalone.exp
8359 * gdb.cell/ea-test.exp
8360 * gdb.cp/dispcxx.exp
8361 * gdb.cp/gdb2384.exp
8362 * gdb.cp/method2.exp
8363 * gdb.cp/nextoverthrow.exp
8364 * gdb.cp/pr10728.exp
8365 * gdb.disasm/am33.exp
8366 * gdb.disasm/h8300s.exp
8367 * gdb.disasm/mn10300.exp
8368 * gdb.disasm/sh3.exp
8369 * gdb.dwarf2/dw2-dir-file-name.exp
8370 * gdb.fortran/complex.exp
8371 * gdb.fortran/library-module.exp
8372 * gdb.guile/scm-pretty-print.exp
8373 * gdb.guile/scm-symbol.exp
8374 * gdb.guile/scm-type.exp
8375 * gdb.guile/scm-value.exp
8376 * gdb.linespec/linespec.exp
8377 * gdb.mi/gdb701.exp
8378 * gdb.mi/gdb792.exp
8379 * gdb.mi/mi-breakpoint-changed.exp
8380 * gdb.mi/mi-dprintf-pending.exp
8381 * gdb.mi/mi-dprintf.exp
8382 * gdb.mi/mi-exit-code.exp
8383 * gdb.mi/mi-pending.exp
8384 * gdb.mi/mi-solib.exp
8385 * gdb.mi/new-ui-mi-sync.exp
8386 * gdb.mi/pr11022.exp
8387 * gdb.mi/user-selected-context-sync.exp
8388 * gdb.opt/solib-intra-step.exp
8389 * gdb.python/py-events.exp
8390 * gdb.python/py-finish-breakpoint.exp
8391 * gdb.python/py-mi.exp
8392 * gdb.python/py-prettyprint.exp
8393 * gdb.python/py-shared.exp
8394 * gdb.python/py-symbol.exp
8395 * gdb.python/py-template.exp
8396 * gdb.python/py-type.exp
8397 * gdb.python/py-value.exp
8398 * gdb.reverse/solib-precsave.exp
8399 * gdb.reverse/solib-reverse.exp
8400 * gdb.server/solib-list.exp
8401 * gdb.stabs/weird.exp
8402 * gdb.threads/reconnect-signal.exp
8403 * gdb.threads/stepi-random-signal.exp
8404 * gdb.trace/actions.exp
8405 * gdb.trace/ax.exp
8406 * gdb.trace/backtrace.exp
8407 * gdb.trace/change-loc.exp
8408 * gdb.trace/deltrace.exp
8409 * gdb.trace/ftrace-lock.exp
8410 * gdb.trace/ftrace.exp
8411 * gdb.trace/infotrace.exp
8412 * gdb.trace/mi-tracepoint-changed.exp
8413 * gdb.trace/packetlen.exp
8414 * gdb.trace/passcount.exp
8415 * gdb.trace/pending.exp
8416 * gdb.trace/range-stepping.exp
8417 * gdb.trace/report.exp
8418 * gdb.trace/stap-trace.exp
8419 * gdb.trace/tfind.exp
8420 * gdb.trace/trace-break.exp
8421 * gdb.trace/trace-condition.exp
8422 * gdb.trace/trace-enable-disable.exp
8423 * gdb.trace/trace-mt.exp
8424 * gdb.trace/tracecmd.exp
8425 * gdb.trace/tspeed.exp
8426 * gdb.trace/tsv.exp
8427 * lib/perftest.exp
8428
8429 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8430
8431 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8432 with gdb_test_no_output.
8433 Use command as test name.
8434
8435 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8436
8437 Fix test names starting with uppercase throughout the files.
8438
8439 * gdb.ada/assign_1.exp
8440 * gdb.ada/boolean_expr.exp
8441 * gdb.base/arrayidx.exp
8442 * gdb.base/del.exp
8443 * gdb.base/gcore-buffer-overflow.exp
8444 * gdb.base/testenv.exp
8445 * gdb.compile/compile.exp
8446 * gdb.python/py-framefilter-invalidarg.exp
8447 * gdb.python/py-framefilter.exp
8448
8449 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8450
8451 Fix test names starting with uppercase throughout the files.
8452
8453 * gdb.ada/array_return.exp
8454 * gdb.ada/expr_delims.exp
8455 * gdb.ada/mi_dyn_arr.exp
8456 * gdb.ada/mi_interface.exp
8457 * gdb.ada/mi_var_array.exp
8458 * gdb.ada/watch_arg.exp
8459 * gdb.arch/alpha-step.exp
8460 * gdb.arch/altivec-regs.exp
8461 * gdb.arch/e500-regs.exp
8462 * gdb.arch/powerpc-d128-regs.exp
8463 * gdb.base/arrayidx.exp
8464 * gdb.base/break.exp
8465 * gdb.base/checkpoint.exp
8466 * gdb.base/debug-expr.exp
8467 * gdb.base/dmsym.exp
8468 * gdb.base/radix.exp
8469 * gdb.base/sepdebug.exp
8470 * gdb.base/testenv.exp
8471 * gdb.base/watch_thread_num.exp
8472 * gdb.base/watchpoint-cond-gone.exp
8473 * gdb.cell/break.exp
8474 * gdb.cell/ea-cache.exp
8475 * gdb.compile/compile.exp
8476 * gdb.cp/gdb2495.exp
8477 * gdb.gdb/selftest.exp
8478 * gdb.gdb/xfullpath.exp
8479 * gdb.go/hello.exp
8480 * gdb.go/integers.exp
8481 * gdb.objc/basicclass.exp
8482 * gdb.pascal/hello.exp
8483 * gdb.pascal/integers.exp
8484 * gdb.python/py-breakpoint.exp
8485 * gdb.python/py-cmd.exp
8486 * gdb.python/py-linetable.exp
8487 * gdb.python/py-xmethods.exp
8488 * gdb.python/python.exp
8489 * gdb.reverse/consecutive-precsave.exp
8490 * gdb.reverse/finish-precsave.exp
8491 * gdb.reverse/i386-precsave.exp
8492 * gdb.reverse/machinestate-precsave.exp
8493 * gdb.reverse/sigall-precsave.exp
8494 * gdb.reverse/solib-precsave.exp
8495 * gdb.reverse/step-precsave.exp
8496 * gdb.reverse/until-precsave.exp
8497 * gdb.reverse/watch-precsave.exp
8498 * gdb.threads/leader-exit.exp
8499 * gdb.threads/pthreads.exp
8500 * gdb.threads/wp-replication.exp
8501 * gdb.trace/actions.exp
8502 * gdb.trace/mi-tsv-changed.exp
8503 * gdb.trace/tsv.exp
8504
8505 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8506
8507 Fix test names starting with uppercase throughout the files.
8508
8509 * gdb.arch/i386-bp_permanent.exp
8510 * gdb.arch/i386-gnu-cfi.exp
8511 * gdb.base/disasm-end-cu.exp
8512 * gdb.base/macscp.exp
8513 * gdb.base/pending.exp
8514 * gdb.base/watch_thread_num.exp
8515 * gdb.cp/exception.exp
8516 * gdb.cp/gdb2495.exp
8517 * gdb.cp/local.exp
8518 * gdb.python/py-evsignal.exp
8519 * gdb.python/python.exp
8520 * gdb.trace/tracecmd.exp
8521
8522 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8523
8524 Fix test names starting with uppercase throughout the files.
8525
8526 * gdb.base/charset.exp
8527 * gdb.base/eval.exp
8528 * gdb.base/multi-forks.exp
8529 * gdb.guile/scm-progspace.exp
8530 * gdb.opencl/datatypes.exp
8531 * gdb.python/py-block.exp
8532 * gdb.python/py-function.exp
8533 * gdb.python/py-symbol.exp
8534 * gdb.python/py-symtab.exp
8535 * gdb.python/py-xmethods.exp
8536 * gdb.reverse/break-precsave.exp
8537 * gdb.reverse/break-reverse.exp
8538 * gdb.reverse/consecutive-precsave.exp
8539 * gdb.reverse/consecutive-reverse.exp
8540 * gdb.reverse/finish-precsave.exp
8541 * gdb.reverse/finish-reverse-bkpt.exp
8542 * gdb.reverse/finish-reverse.exp
8543 * gdb.reverse/fstatat-reverse.exp
8544 * gdb.reverse/getresuid-reverse.exp
8545 * gdb.reverse/i386-precsave.exp
8546 * gdb.reverse/i386-reverse.exp
8547 * gdb.reverse/i386-sse-reverse.exp
8548 * gdb.reverse/i387-stack-reverse.exp
8549 * gdb.reverse/insn-reverse.exp
8550 * gdb.reverse/machinestate-precsave.exp
8551 * gdb.reverse/machinestate.exp
8552 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8553 * gdb.reverse/pipe-reverse.exp
8554 * gdb.reverse/readv-reverse.exp
8555 * gdb.reverse/recvmsg-reverse.exp
8556 * gdb.reverse/rerun-prec.exp
8557 * gdb.reverse/s390-mvcle.exp
8558 * gdb.reverse/sigall-precsave.exp
8559 * gdb.reverse/sigall-reverse.exp
8560 * gdb.reverse/solib-precsave.exp
8561 * gdb.reverse/solib-reverse.exp
8562 * gdb.reverse/step-precsave.exp
8563 * gdb.reverse/step-reverse.exp
8564 * gdb.reverse/time-reverse.exp
8565 * gdb.reverse/until-precsave.exp
8566 * gdb.reverse/until-reverse.exp
8567 * gdb.reverse/waitpid-reverse.exp
8568 * gdb.reverse/watch-precsave.exp
8569 * gdb.reverse/watch-reverse.exp
8570
8571 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8572
8573 Fix test names starting with uppercase throughout the files.
8574
8575 * gdb.arch/i386-mpx-simple_segv.exp
8576 * gdb.arch/i386-mpx.exp
8577 * gdb.arch/i386-permbkpt.exp
8578 * gdb.arch/pa-nullify.exp
8579 * gdb.arch/powerpc-d128-regs.exp
8580 * gdb.arch/vsx-regs.exp
8581 * gdb.base/bfp-test.exp
8582 * gdb.base/break.exp
8583 * gdb.base/breakpoint-shadow.exp
8584 * gdb.base/callfuncs.exp
8585 * gdb.base/charset.exp
8586 * gdb.base/commands.exp
8587 * gdb.base/completion.exp
8588 * gdb.base/dfp-test.exp
8589 * gdb.base/echo.exp
8590 * gdb.base/ending-run.exp
8591 * gdb.base/eval.exp
8592 * gdb.base/expand-psymtabs.exp
8593 * gdb.base/float128.exp
8594 * gdb.base/floatn.exp
8595 * gdb.base/foll-exec-mode.exp
8596 * gdb.base/gdb1056.exp
8597 * gdb.base/gdb11531.exp
8598 * gdb.base/kill-after-signal.exp
8599 * gdb.base/multi-forks.exp
8600 * gdb.base/overlays.exp
8601 * gdb.base/pending.exp
8602 * gdb.base/sepdebug.exp
8603 * gdb.base/testenv.exp
8604 * gdb.base/valgrind-db-attach.exp
8605 * gdb.base/watch_thread_num.exp
8606 * gdb.base/watchpoint-cond-gone.exp
8607 * gdb.base/watchpoint.exp
8608 * gdb.base/watchpoints.exp
8609 * gdb.cp/arg-reference.exp
8610 * gdb.cp/baseenum.exp
8611 * gdb.cp/operator.exp
8612 * gdb.cp/shadow.exp
8613 * gdb.dwarf2/dw2-op-out-param.exp
8614 * gdb.dwarf2/dw2-reg-undefined.exp
8615 * gdb.go/chan.exp
8616 * gdb.go/hello.exp
8617 * gdb.go/integers.exp
8618 * gdb.go/methods.exp
8619 * gdb.go/package.exp
8620 * gdb.guile/scm-parameter.exp
8621 * gdb.guile/scm-progspace.exp
8622 * gdb.guile/scm-value.exp
8623 * gdb.mi/mi-pending.exp
8624 * gdb.mi/user-selected-context-sync.exp
8625 * gdb.multi/multi-attach.exp
8626 * gdb.multi/tids.exp
8627 * gdb.opt/clobbered-registers-O2.exp
8628 * gdb.pascal/floats.exp
8629 * gdb.pascal/integers.exp
8630 * gdb.python/py-block.exp
8631 * gdb.python/py-events.exp
8632 * gdb.python/py-parameter.exp
8633 * gdb.python/py-symbol.exp
8634 * gdb.python/py-symtab.exp
8635 * gdb.python/py-type.exp
8636 * gdb.python/py-value.exp
8637 * gdb.python/py-xmethods.exp
8638 * gdb.python/python.exp
8639 * gdb.reverse/break-precsave.exp
8640 * gdb.reverse/consecutive-precsave.exp
8641 * gdb.reverse/finish-precsave.exp
8642 * gdb.reverse/i386-precsave.exp
8643 * gdb.reverse/machinestate-precsave.exp
8644 * gdb.reverse/sigall-precsave.exp
8645 * gdb.reverse/solib-precsave.exp
8646 * gdb.reverse/step-precsave.exp
8647 * gdb.reverse/until-precsave.exp
8648 * gdb.reverse/watch-precsave.exp
8649 * gdb.server/ext-attach.exp
8650 * gdb.server/ext-restart.exp
8651 * gdb.server/ext-run.exp
8652 * gdb.server/ext-wrapper.exp
8653 * gdb.stabs/gdb11479.exp
8654 * gdb.stabs/weird.exp
8655 * gdb.threads/attach-many-short-lived-threads.exp
8656 * gdb.threads/kill.exp
8657 * gdb.threads/watchpoint-fork.exp
8658
8659 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8660
8661 Fix test names starting with uppercase throughout all the files below.
8662
8663 * gdb.ada/array_return.exp
8664 * gdb.ada/catch_ex.exp
8665 * gdb.ada/info_exc.exp
8666 * gdb.ada/mi_catch_ex.exp
8667 * gdb.ada/mi_dyn_arr.exp
8668 * gdb.ada/mi_ex_cond.exp
8669 * gdb.ada/mi_exc_info.exp
8670 * gdb.ada/mi_interface.exp
8671 * gdb.ada/mi_task_arg.exp
8672 * gdb.ada/mi_task_info.exp
8673 * gdb.ada/mi_var_array.exp
8674 * gdb.arch/alpha-step.exp
8675 * gdb.arch/amd64-disp-step.exp
8676 * gdb.arch/arm-disp-step.exp
8677 * gdb.arch/disp-step-insn-reloc.exp
8678 * gdb.arch/e500-prologue.exp
8679 * gdb.arch/ftrace-insn-reloc.exp
8680 * gdb.arch/gdb1558.exp
8681 * gdb.arch/i386-bp_permanent.exp
8682 * gdb.arch/i386-disp-step.exp
8683 * gdb.arch/i386-float.exp
8684 * gdb.arch/i386-gnu-cfi.exp
8685 * gdb.arch/ia64-breakpoint-shadow.exp
8686 * gdb.arch/mips16-thunks.exp
8687 * gdb.arch/pa-nullify.exp
8688 * gdb.arch/powerpc-aix-prologue.exp
8689 * gdb.arch/powerpc-power.exp
8690 * gdb.arch/ppc-dfp.exp
8691 * gdb.arch/s390-tdbregs.exp
8692 * gdb.arch/spu-info.exp
8693 * gdb.arch/spu-ls.exp
8694 * gdb.arch/thumb-bx-pc.exp
8695 * gdb.base/advance.exp
8696 * gdb.base/annota-input-while-running.exp
8697 * gdb.base/arrayidx.exp
8698 * gdb.base/asmlabel.exp
8699 * gdb.base/async.exp
8700 * gdb.base/attach-wait-input.exp
8701 * gdb.base/auto-connect-native-target.exp
8702 * gdb.base/batch-preserve-term-settings.exp
8703 * gdb.base/bfp-test.exp
8704 * gdb.base/bigcore.exp
8705 * gdb.base/bp-permanent.exp
8706 * gdb.base/break-always.exp
8707 * gdb.base/break-fun-addr.exp
8708 * gdb.base/break-idempotent.exp
8709 * gdb.base/break-main-file-remove-fail.exp
8710 * gdb.base/break-probes.exp
8711 * gdb.base/break-unload-file.exp
8712 * gdb.base/break.exp
8713 * gdb.base/call-ar-st.exp
8714 * gdb.base/call-rt-st.exp
8715 * gdb.base/call-sc.exp
8716 * gdb.base/call-signal-resume.exp
8717 * gdb.base/call-strs.exp
8718 * gdb.base/callexit.exp
8719 * gdb.base/callfuncs.exp
8720 * gdb.base/catch-gdb-caused-signals.exp
8721 * gdb.base/catch-signal-siginfo-cond.exp
8722 * gdb.base/catch-syscall.exp
8723 * gdb.base/compare-sections.exp
8724 * gdb.base/cond-eval-mode.exp
8725 * gdb.base/condbreak-call-false.exp
8726 * gdb.base/consecutive-step-over.exp
8727 * gdb.base/cursal.exp
8728 * gdb.base/disabled-location.exp
8729 * gdb.base/disasm-end-cu.exp
8730 * gdb.base/display.exp
8731 * gdb.base/double-prompt-target-event-error.exp
8732 * gdb.base/dprintf-bp-same-addr.exp
8733 * gdb.base/dprintf-detach.exp
8734 * gdb.base/dprintf-next.exp
8735 * gdb.base/dprintf-non-stop.exp
8736 * gdb.base/dprintf-pending.exp
8737 * gdb.base/dso2dso.exp
8738 * gdb.base/ending-run.exp
8739 * gdb.base/enum_cond.exp
8740 * gdb.base/examine-backward.exp
8741 * gdb.base/exe-lock.exp
8742 * gdb.base/exec-invalid-sysroot.exp
8743 * gdb.base/execl-update-breakpoints.exp
8744 * gdb.base/execution-termios.exp
8745 * gdb.base/fileio.exp
8746 * gdb.base/fixsection.exp
8747 * gdb.base/foll-exec-mode.exp
8748 * gdb.base/foll-exec.exp
8749 * gdb.base/fork-running-state.exp
8750 * gdb.base/frame-args.exp
8751 * gdb.base/fullpath-expand.exp
8752 * gdb.base/func-ptr.exp
8753 * gdb.base/gcore-relro-pie.exp
8754 * gdb.base/gdb1090.exp
8755 * gdb.base/gdb1555.exp
8756 * gdb.base/global-var-nested-by-dso.exp
8757 * gdb.base/gnu-ifunc.exp
8758 * gdb.base/hbreak-in-shr-unsupported.exp
8759 * gdb.base/hbreak-unmapped.exp
8760 * gdb.base/hook-stop.exp
8761 * gdb.base/infcall-input.exp
8762 * gdb.base/info-fun.exp
8763 * gdb.base/info-shared.exp
8764 * gdb.base/interrupt-noterm.exp
8765 * gdb.base/jit-so.exp
8766 * gdb.base/jit.exp
8767 * gdb.base/line-symtabs.exp
8768 * gdb.base/list.exp
8769 * gdb.base/longjmp.exp
8770 * gdb.base/macscp.exp
8771 * gdb.base/max-value-size.exp
8772 * gdb.base/nodebug.exp
8773 * gdb.base/nofield.exp
8774 * gdb.base/overlays.exp
8775 * gdb.base/paginate-after-ctrl-c-running.exp
8776 * gdb.base/paginate-bg-execution.exp
8777 * gdb.base/paginate-inferior-exit.exp
8778 * gdb.base/pending.exp
8779 * gdb.base/pr11022.exp
8780 * gdb.base/printcmds.exp
8781 * gdb.base/ptr-typedef.exp
8782 * gdb.base/ptype.exp
8783 * gdb.base/randomize.exp
8784 * gdb.base/range-stepping.exp
8785 * gdb.base/realname-expand.exp
8786 * gdb.base/relativedebug.exp
8787 * gdb.base/remote.exp
8788 * gdb.base/savedregs.exp
8789 * gdb.base/sepdebug.exp
8790 * gdb.base/set-noassign.exp
8791 * gdb.base/shlib-call.exp
8792 * gdb.base/shreloc.exp
8793 * gdb.base/sigaltstack.exp
8794 * gdb.base/sigbpt.exp
8795 * gdb.base/siginfo-addr.exp
8796 * gdb.base/siginfo-obj.exp
8797 * gdb.base/siginfo-thread.exp
8798 * gdb.base/signest.exp
8799 * gdb.base/signull.exp
8800 * gdb.base/sigrepeat.exp
8801 * gdb.base/skip.exp
8802 * gdb.base/so-impl-ld.exp
8803 * gdb.base/solib-corrupted.exp
8804 * gdb.base/solib-disc.exp
8805 * gdb.base/solib-display.exp
8806 * gdb.base/solib-overlap.exp
8807 * gdb.base/solib-search.exp
8808 * gdb.base/solib-symbol.exp
8809 * gdb.base/source-execution.exp
8810 * gdb.base/sss-bp-on-user-bp-2.exp
8811 * gdb.base/sss-bp-on-user-bp.exp
8812 * gdb.base/stack-checking.exp
8813 * gdb.base/stale-infcall.exp
8814 * gdb.base/step-break.exp
8815 * gdb.base/step-line.exp
8816 * gdb.base/step-over-exit.exp
8817 * gdb.base/step-test.exp
8818 * gdb.base/structs.exp
8819 * gdb.base/sym-file.exp
8820 * gdb.base/symtab-search-order.exp
8821 * gdb.base/term.exp
8822 * gdb.base/type-opaque.exp
8823 * gdb.base/unload.exp
8824 * gdb.base/until-nodebug.exp
8825 * gdb.base/until.exp
8826 * gdb.base/unwindonsignal.exp
8827 * gdb.base/watch-cond.exp
8828 * gdb.base/watch-non-mem.exp
8829 * gdb.base/watch_thread_num.exp
8830 * gdb.base/watchpoint-reuse-slot.exp
8831 * gdb.base/watchpoint-solib.exp
8832 * gdb.base/watchpoint.exp
8833 * gdb.btrace/dlopen.exp
8834 * gdb.cell/arch.exp
8835 * gdb.cell/break.exp
8836 * gdb.cell/bt.exp
8837 * gdb.cell/core.exp
8838 * gdb.cell/data.exp
8839 * gdb.cell/dwarfaddr.exp
8840 * gdb.cell/ea-cache.exp
8841 * gdb.cell/ea-standalone.exp
8842 * gdb.cell/ea-test.exp
8843 * gdb.cell/f-regs.exp
8844 * gdb.cell/fork.exp
8845 * gdb.cell/gcore.exp
8846 * gdb.cell/mem-access.exp
8847 * gdb.cell/ptype.exp
8848 * gdb.cell/registers.exp
8849 * gdb.cell/sizeof.exp
8850 * gdb.cell/solib-symbol.exp
8851 * gdb.cell/solib.exp
8852 * gdb.compile/compile-tls.exp
8853 * gdb.cp/exception.exp
8854 * gdb.cp/gdb2495.exp
8855 * gdb.cp/local.exp
8856 * gdb.cp/mb-inline.exp
8857 * gdb.cp/mb-templates.exp
8858 * gdb.cp/pr10687.exp
8859 * gdb.cp/pr9167.exp
8860 * gdb.cp/scope-err.exp
8861 * gdb.cp/templates.exp
8862 * gdb.cp/virtfunc.exp
8863 * gdb.dwarf2/dw2-dir-file-name.exp
8864 * gdb.dwarf2/dw2-single-line-discriminators.exp
8865 * gdb.fortran/complex.exp
8866 * gdb.fortran/library-module.exp
8867 * gdb.guile/guile.exp
8868 * gdb.guile/scm-cmd.exp
8869 * gdb.guile/scm-frame-inline.exp
8870 * gdb.guile/scm-objfile.exp
8871 * gdb.guile/scm-pretty-print.exp
8872 * gdb.guile/scm-symbol.exp
8873 * gdb.guile/scm-type.exp
8874 * gdb.guile/scm-value.exp
8875 * gdb.linespec/keywords.exp
8876 * gdb.linespec/ls-errs.exp
8877 * gdb.linespec/macro-relative.exp
8878 * gdb.linespec/thread.exp
8879 * gdb.mi/mi-breakpoint-changed.exp
8880 * gdb.mi/mi-dprintf-pending.exp
8881 * gdb.mi/mi-fullname-deleted.exp
8882 * gdb.mi/mi-logging.exp
8883 * gdb.mi/mi-pending.exp
8884 * gdb.mi/mi-solib.exp
8885 * gdb.mi/new-ui-mi-sync.exp
8886 * gdb.mi/user-selected-context-sync.exp
8887 * gdb.multi/dummy-frame-restore.exp
8888 * gdb.multi/multi-arch-exec.exp
8889 * gdb.multi/remove-inferiors.exp
8890 * gdb.multi/watchpoint-multi-exit.exp
8891 * gdb.opt/solib-intra-step.exp
8892 * gdb.perf/backtrace.exp
8893 * gdb.perf/single-step.exp
8894 * gdb.perf/skip-command.exp
8895 * gdb.perf/skip-prologue.exp
8896 * gdb.perf/solib.exp
8897 * gdb.python/lib-types.exp
8898 * gdb.python/py-as-string.exp
8899 * gdb.python/py-bad-printers.exp
8900 * gdb.python/py-block.exp
8901 * gdb.python/py-breakpoint.exp
8902 * gdb.python/py-cmd.exp
8903 * gdb.python/py-events.exp
8904 * gdb.python/py-evthreads.exp
8905 * gdb.python/py-finish-breakpoint.exp
8906 * gdb.python/py-finish-breakpoint2.exp
8907 * gdb.python/py-frame-inline.exp
8908 * gdb.python/py-frame.exp
8909 * gdb.python/py-inferior.exp
8910 * gdb.python/py-infthread.exp
8911 * gdb.python/py-mi.exp
8912 * gdb.python/py-objfile.exp
8913 * gdb.python/py-pp-maint.exp
8914 * gdb.python/py-pp-registration.exp
8915 * gdb.python/py-prettyprint.exp
8916 * gdb.python/py-recurse-unwind.exp
8917 * gdb.python/py-shared.exp
8918 * gdb.python/py-symbol.exp
8919 * gdb.python/py-symtab.exp
8920 * gdb.python/py-template.exp
8921 * gdb.python/py-type.exp
8922 * gdb.python/py-unwind-maint.exp
8923 * gdb.python/py-unwind.exp
8924 * gdb.python/py-value.exp
8925 * gdb.python/python.exp
8926 * gdb.reverse/finish-reverse-bkpt.exp
8927 * gdb.reverse/insn-reverse.exp
8928 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8929 * gdb.reverse/solib-precsave.exp
8930 * gdb.reverse/solib-reverse.exp
8931 * gdb.stabs/gdb11479.exp
8932 * gdb.stabs/weird.exp
8933 * gdb.threads/fork-child-threads.exp
8934 * gdb.threads/fork-plus-threads.exp
8935 * gdb.threads/fork-thread-pending.exp
8936 * gdb.threads/forking-threads-plus-breakpoint.exp
8937 * gdb.threads/hand-call-in-threads.exp
8938 * gdb.threads/interrupted-hand-call.exp
8939 * gdb.threads/linux-dp.exp
8940 * gdb.threads/local-watch-wrong-thread.exp
8941 * gdb.threads/next-while-other-thread-longjmps.exp
8942 * gdb.threads/non-ldr-exit.exp
8943 * gdb.threads/pending-step.exp
8944 * gdb.threads/print-threads.exp
8945 * gdb.threads/process-dies-while-detaching.exp
8946 * gdb.threads/process-dies-while-handling-bp.exp
8947 * gdb.threads/pthreads.exp
8948 * gdb.threads/queue-signal.exp
8949 * gdb.threads/reconnect-signal.exp
8950 * gdb.threads/signal-command-handle-nopass.exp
8951 * gdb.threads/signal-command-multiple-signals-pending.exp
8952 * gdb.threads/signal-delivered-right-thread.exp
8953 * gdb.threads/signal-sigtrap.exp
8954 * gdb.threads/sigthread.exp
8955 * gdb.threads/staticthreads.exp
8956 * gdb.threads/stepi-random-signal.exp
8957 * gdb.threads/thread-unwindonsignal.exp
8958 * gdb.threads/thread_check.exp
8959 * gdb.threads/thread_events.exp
8960 * gdb.threads/tid-reuse.exp
8961 * gdb.threads/tls-nodebug.exp
8962 * gdb.threads/tls-shared.exp
8963 * gdb.threads/tls-so_extern.exp
8964 * gdb.threads/tls.exp
8965 * gdb.threads/wp-replication.exp
8966 * gdb.trace/actions-changed.exp
8967 * gdb.trace/actions.exp
8968 * gdb.trace/backtrace.exp
8969 * gdb.trace/change-loc.exp
8970 * gdb.trace/collection.exp
8971 * gdb.trace/deltrace.exp
8972 * gdb.trace/disconnected-tracing.exp
8973 * gdb.trace/entry-values.exp
8974 * gdb.trace/ftrace-lock.exp
8975 * gdb.trace/ftrace.exp
8976 * gdb.trace/infotrace.exp
8977 * gdb.trace/mi-trace-frame-collected.exp
8978 * gdb.trace/mi-trace-unavailable.exp
8979 * gdb.trace/mi-traceframe-changed.exp
8980 * gdb.trace/mi-tracepoint-changed.exp
8981 * gdb.trace/mi-tsv-changed.exp
8982 * gdb.trace/no-attach-trace.exp
8983 * gdb.trace/packetlen.exp
8984 * gdb.trace/passc-dyn.exp
8985 * gdb.trace/passcount.exp
8986 * gdb.trace/pending.exp
8987 * gdb.trace/pr16508.exp
8988 * gdb.trace/qtro.exp
8989 * gdb.trace/range-stepping.exp
8990 * gdb.trace/read-memory.exp
8991 * gdb.trace/report.exp
8992 * gdb.trace/save-trace.exp
8993 * gdb.trace/signal.exp
8994 * gdb.trace/stap-trace.exp
8995 * gdb.trace/status-stop.exp
8996 * gdb.trace/strace.exp
8997 * gdb.trace/tfile.exp
8998 * gdb.trace/tfind.exp
8999 * gdb.trace/trace-break.exp
9000 * gdb.trace/trace-condition.exp
9001 * gdb.trace/trace-enable-disable.exp
9002 * gdb.trace/trace-mt.exp
9003 * gdb.trace/tracecmd.exp
9004 * gdb.trace/tracefile-pseudo-reg.exp
9005 * gdb.trace/tspeed.exp
9006 * gdb.trace/tstatus.exp
9007 * gdb.trace/tsv.exp
9008 * gdb.trace/unavailable.exp
9009 * gdb.trace/while-dyn.exp
9010 * gdb.trace/while-stepping.exp
9011 * lib/gdb-guile.exp
9012 * lib/gdb.exp
9013 * lib/mi-support.exp
9014 * lib/pascal.exp
9015 * lib/perftest.exp
9016 * lib/prelink-support.exp
9017 * lib/selftest-support.exp
9018
9019 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9020
9021 * Makefile.in: Include disable-implicit-rules.mk.
9022
9023 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9024
9025 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9026 non-byte-aligned bit fields.
9027
9028 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9029
9030 PR gdb/12616
9031 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9032 respects the DW_AT_data_bit_offset attribute.
9033
9034 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9035
9036 * gdb.base/default.exp: Fix output of "set language".
9037
9038 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9039
9040 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9041 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9042 make.
9043 * configure.ac: Remove checks for the make program.
9044 * configure: Re-generate.
9045
9046 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9047
9048 * gdb.python/py-recurse-unwind.c (main): Add loop.
9049 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9050 to read_register() and gdb.parse_and_eval(). Make each code
9051 call a separate case that can be individually tested.
9052 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9053 proc. Call cont_and_backtrace for each of the code paths that
9054 we want to test in the unwinder.
9055
9056 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9057
9058 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9059 the definition of struct S.
9060
9061 2016-11-11 Catherine Moore <clm@codesourcery.com>
9062
9063 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9064
9065 2016-11-09 Pedro Alves <palves@redhat.com>
9066
9067 * gdb.base/commands.exp (runto_or_return): New procedure.
9068 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9069 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9070 (progvar_simple_while_test, progvar_complex_if_while_test)
9071 (if_while_breakpoint_command_test)
9072 (infrun_breakpoint_command_test, breakpoint_command_test)
9073 (user_defined_command_test, watchpoint_command_test)
9074 (test_command_prompt_position, redefine_hook_test)
9075 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9076 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9077 multi_line_input and multi_line. Remove gdb_expect and
9078 gdb_stop_suppressing_tests uses.
9079 * lib/gdb.exp (valnum_re): New global.
9080 (multi_line_input): New procedure.
9081
9082 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9083
9084 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9085 Remove.
9086 (test_setup): Define with proc_with_prefix.
9087 (test_cli_inferior): Likewise.
9088 (test_cli_thread): Likewise.
9089 (test_cli_frame): Likewise.
9090 (test_cli_select_frame): Likewise.
9091 (test_cli_up_down): Likewise.
9092 (test_mi_thread_select): Likewise.
9093 (test_mi_stack_select_frame): Likewise.
9094 (test_cli_in_mi_inferior): Likewise.
9095 (test_cli_in_mi_thread): Likewise.
9096 (test_cli_in_mi_frame): Likewise.
9097 (top level): Do not use with_test_prefix_procname.
9098
9099 2016-11-09 Pedro Alves <palves@redhat.com>
9100
9101 * gdb.base/commands.exp (gdbvar_simple_if_test)
9102 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9103 (progvar_simple_if_test, progvar_simple_while_test)
9104 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9105 (infrun_breakpoint_command_test, breakpoint_command_test)
9106 (user_defined_command_test, watchpoint_command_test)
9107 (test_command_prompt_position, deprecated_command_test)
9108 (bp_deleted_in_command, temporary_breakpoint_commands)
9109 (stray_arg0_test, source_file_with_indented_comment)
9110 (recursive_source_test, if_commands_test)
9111 (error_clears_commands_left, redefine_hook_test)
9112 (redefine_backtrace_test): Use proc_with_prefix.
9113 * lib/gdb.exp (proc_with_prefix): New proc.
9114
9115 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9116
9117 * gdb.base/tui-layout.c: New file.
9118 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9119 disassembly window contains very long lines.
9120
9121 2016-11-08 Tom Tromey <tom@tromey.com>
9122
9123 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9124 depend on Python 2.
9125
9126 2016-11-08 Tom Tromey <tom@tromey.com>
9127
9128 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9129 New method.
9130
9131 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9132
9133 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9134
9135 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9136
9137 * gdb.rust/simple.rs: Add test for univariant enums without
9138 discriminants and for encoded struct-like enums.
9139
9140 2016-10-28 Pedro Alves <palves@redhat.com>
9141
9142 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9143 gdb_test_multiple, tighten regexps and match symtabs and line
9144 tables incrementally.
9145
9146 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9147
9148 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9149 general.
9150
9151 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9152
9153 * gdb.base/exec-invalid-sysroot.exp: New file.
9154
9155 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9156
9157 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9158
9159 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9160
9161 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9162
9163 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9164
9165 * gdb.base/killed-outside.exp: Remove $options from a call to
9166 `prepare_for_testing'.
9167
9168 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9169
9170 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9171 Change test message.
9172
9173 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9174
9175 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9176 Update comment.
9177
9178 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9179
9180 * gdb.trace/mi-trace-save.exp: New file.
9181
9182 2016-10-13 Yao Qi <yao.qi@linaro.org>
9183
9184 * gdb.base/code_elim.exp (get_var_address): Remove.
9185 * gdb.base/relocate.exp: Likewise.
9186 * gdb.base/shreloc.exp: Likewise.
9187 * lib/gdb.exp (get_var_address): New.
9188
9189 2016-10-13 Yao Qi <yao.qi@linaro.org>
9190
9191 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9192 floating point tests if $skip_float_test is false.
9193
9194 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9195
9196 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9197 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9198 argc values.
9199 Add 1 to argc so we guarantee distinct initial/modified argc values.
9200
9201 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9202
9203 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9204
9205 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9206
9207 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9208 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9209 * gdb.arch/vsx-regs.exp: Likewise.
9210
9211 2016-10-07 Yao Qi <yao.qi@linaro.org>
9212
9213 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9214
9215 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9216
9217 * gdb.python/python.exp: Test decode_line("*0").
9218
9219 2016-10-06 Doug Evans <dje@google.com>
9220
9221 * gdb.python/py-value.exp (test_value_creation): Add test for large
9222 unsigned 64-bit value.
9223
9224 2016-10-06 Tom Tromey <tom@tromey.com>
9225
9226 * gdb.compile/compile.exp: Change java tests to rust.
9227 * gdb.base/setshow.exp: Change java tests to rust.
9228 * gdb.base/default.exp: Remove java from language list.
9229 * README (Examples): Update language example.
9230 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9231 test.
9232 * lib/gdb.exp (skip_java_tests): Remove.
9233 * lib/java.exp: Remove.
9234 * gdb.java: Remove.
9235
9236 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9237
9238 * gdb.arch/mips-fcr.exp: New test.
9239 * gdb.arch/mips-fcr.c: Source for the new test.
9240
9241 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9242
9243 * gdb.base/solib-disc.exp: Use `standard_output_file'
9244 throughout.
9245
9246 2016-10-06 Pedro Alves <palves@redhat.com>
9247
9248 * gdb.base/jit-simple-dl.c: New file.
9249 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9250 * gdb.base/jit-simple.c: ... this.
9251 * gdb.base/jit-simple.exp (jit_run): Delete.
9252 (build_jit): New proc.
9253 (jit_test_reread): Recompile either the main program or the shared
9254 library, depending on what is being tested. Skip changing address
9255 if caller wants to. Compare before/after addresses. If testing
9256 standalone, explicitly load the binary. Test "maint info
9257 breakpoints".
9258 (top level): Add "standalone vs shared lib" and "change address"
9259 vs "same address" axes.
9260
9261 2016-10-06 Pedro Alves <palves@redhat.com>
9262
9263 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9264 call.
9265 (jit_run): Delete.
9266 (jit_test_reread): Use with_test_prefix. Reload the main binary
9267 explicitly. Compare the before/after addresses of the JIT
9268 descriptor.
9269
9270 2016-08-15 Doug Evans <dje@google.com>
9271
9272 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9273 for single bitfields is bool.
9274 * gdb.xml/tdesc-regs.exp: Ditto.
9275
9276 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9277
9278 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9279
9280 2016-10-05 Yao Qi <yao.qi@linaro.org>
9281
9282 * lib/gdb.exp (support_complex_tests): Return zero if
9283 gdb_skip_float_test return true.
9284
9285 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9286 Simon Marchi <simon.marchi@ericsson.com>
9287
9288 PR gdb/20487
9289 * gdb.mi/user-selected-context-sync.exp: New file.
9290 * gdb.mi/user-selected-context-sync.c: New file.
9291
9292 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9293 Simon Marchi <simon.marchi@ericsson.com>
9294
9295 PR gdb/20487
9296 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9297 =thread-select-event check.
9298
9299 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9300
9301 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9302 the compulsory L operand changes.
9303 * gdb.arch/powerpc-power.s: Likewise.
9304
9305 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9306
9307 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9308 * gdb.base/jit-attach-pie.c: New file.
9309 * gdb.base/jit-attach-pie.exp: New file.
9310
9311 2016-09-28 Pedro Alves <palves@redhat.com>
9312
9313 * gdb.base/infcall-input.c: New file.
9314 * gdb.base/infcall-input.exp: New file.
9315
9316 2016-09-22 Yao Qi <yao.qi@linaro.org>
9317
9318 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9319 (gdb_exit): Rename it to ...
9320 (gdbserver_gdb_exit): ... Close GDBserver.
9321 (gdb_exit): New proc, call gdbserver_gdb_exit.
9322 (mi_gdb_exit): Likewise.
9323
9324 2016-09-22 Yao Qi <yao.qi@linaro.org>
9325
9326 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9327 path.
9328 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9329 Remove duplication.
9330
9331 2016-09-22 Yao Qi <yao.qi@linaro.org>
9332
9333 * lib/gdbserver-support.exp: Check the existence of
9334 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9335
9336 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9337
9338 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9339
9340 2016-09-21 Tom Tromey <tom@tromey.com>
9341
9342 PR gdb/20604:
9343 * gdb.base/quit.exp: New file.
9344
9345 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9346
9347 * .gitignore: New file.
9348
9349 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9350
9351 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9352 throughout.
9353
9354 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9355
9356 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9357
9358 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9359
9360 * gdb.cp/casts.cc (decltype): Move it ...
9361 (main): ... with its call to ...
9362 * gdb.cp/casts03.cc: ... a new file.
9363 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9364
9365 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9366
9367 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9368
9369 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9370
9371 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9372 and sync up the test with tests in gas/testsuite/gas/ppc.
9373 * gdb.arch/powerpc-power.exp: Likewise.
9374
9375 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9376
9377 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9378
9379 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9380 Jan Kratochvil <jan.kratochvil@redhat.com>
9381
9382 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9383 make m1's definition to be different from m2's. Use 'dummy' as an
9384 argument for probe 'two'.
9385
9386 2016-09-10 Jon Beniston <jon@beniston.com>
9387
9388 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9389 for sim target.
9390
9391 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9392
9393 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9394 variable declaration.
9395 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9396 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9397 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9398 received HWCAP as its argument.
9399
9400 2016-09-06 Pedro Alves <palves@redhat.com>
9401
9402 * gdb.base/new-ui-pending-input.c: New file.
9403 * gdb.base/new-ui-pending-input.exp: New file.
9404 * gdb.exp (clear_gdb_spawn_id): New procedure.
9405 (with_spawn_id): Check whether gdb_spawn_id exists before
9406 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9407 on exit.
9408
9409 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9410
9411 * gdb.base/float128.c: New file.
9412 * gdb.base/float128.exp: Likewise.
9413 * gdb.base/floatn.c: Likewise.
9414 * gdb.base/floatn.exp: Likewise.
9415
9416 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9417
9418 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9419
9420 2016-09-05 Pedro Alves <palves@redhat.com>
9421
9422 PR backtrace/19927
9423 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9424 unwinders are immediately called as side effect of "source" or
9425 "disable unwinder" commands.
9426 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9427
9428 2016-09-02 Yao Qi <yao.qi@linaro.org>
9429
9430 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9431 is true and $type is "float" or "double".
9432
9433 2016-09-02 Yao Qi <yao.qi@linaro.org>
9434
9435 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9436 true.
9437 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9438 * gdb.base/call-rt-st.exp: Likewise.
9439 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9440 return value instead of gdb,skip_float_test.
9441 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9442 (do_function_calls): Use its return value instead of
9443 gdb,skip_float_test.
9444 * gdb.base/finish.exp: Likewise.
9445 * gdb.base/funcargs.exp: Likewise.
9446 * gdb.base/return.exp: Likewise.
9447 * gdb.base/return2.exp: Likewise.
9448 * gdb.base/varargs.exp: Likewise.
9449 * lib/gdb.exp (gdb_skip_float_test): Change it to
9450 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9451
9452 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9453
9454 * gdb.multi/tids.exp: Test "thread apply all".
9455
9456 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9457
9458 * gdb.base/default.exp (tty): Remove.
9459
9460 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9461
9462 * gdb.python/py-recurse-unwind.c: New file.
9463 * gdb.python/py-recurse-unwind.py: New file.
9464 * gdb.python/py-recurse-unwind.exp: New file.
9465
9466 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9467
9468 * gdb.base/set-inferior-tty.exp: New file.
9469 * gdb.base/set-inferior-tty.c: New file.
9470
9471 2016-08-23 Pedro Alves <palves@redhat.com>
9472
9473 PR gdb/20494
9474 * gdb.base/new-ui-echo.c: New file.
9475 * gdb.base/new-ui-echo.exp: New file.
9476
9477 2016-08-23 Yao Qi <yao.qi@linaro.org>
9478
9479 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9480 gdbserver_spawn.
9481 * gdb.server/connect-without-multi-process.exp (do_test):
9482 Likewise.
9483
9484 2016-08-23 Yao Qi <yao.qi@linaro.org>
9485
9486 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9487 standalone_txt. Delete gdb_txt and standalone_txt on host
9488 and target. Spawn the binary on target. Copy files from
9489 target to host.
9490
9491 2016-08-22 Pedro Alves <palves@redhat.com>
9492
9493 PR gdb/20505
9494 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9495 with_test_prefix. Factor out bits to ...
9496 (test_no_vdso): ... this new procedure.
9497
9498 2016-08-19 Carl Love <cel@us.ibm.com>
9499
9500 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9501 maintaining separate logic for constructing the output path.
9502 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9503 * gdb.arch/ppc-dfp.exp: Likewise.
9504 * gdb.arch/ppc-fp.exp: Likewise.
9505 * gdb.arch/vsx-regs.exp: Likewise.
9506 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9507 binprefix for generating the additional binary files.
9508
9509 2016-08-19 Pedro Alves <palves@redhat.com>
9510
9511 * gdb.trace/mi-trace-frame-collected.exp
9512 (test_trace_frame_collected): On x32, expect two registers.
9513
9514 2016-08-18 Carl Love <cel@us.ibm.com>
9515
9516 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9517 and sync up the test with tests in gas/testsuite/gas/ppc.
9518 * gdb.arch/powerpc-power.exp: Likewise.
9519
9520 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9521
9522 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9523 expected error message.
9524
9525 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9526
9527 * gdb.multi/remove-inferiors.exp: New file.
9528 * gdb.multi/remove-inferiors.c: New file.
9529
9530 2016-08-12 Yao Qi <yao.qi@linaro.org>
9531
9532 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9533 argument list.
9534
9535 2016-08-10 Pedro Alves <palves@redhat.com>
9536
9537 PR gdb/19187
9538 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9539 setup_kfails.
9540
9541 2016-08-09 Pedro Alves <palves@redhat.com>
9542 Simon Marchi <simon.marchi@ericsson.com>
9543
9544 PR gdb/20418
9545 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9546 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9547
9548 2016-08-09 Pedro Alves <palves@redhat.com>
9549
9550 PR mi/20431
9551 * gdb.mi/mi-cmd-error.exp: New file.
9552
9553 2016-08-09 Pedro Alves <palves@redhat.com>
9554
9555 PR gdb/18653
9556 * gdb.base/signals-state-child.c: New file.
9557 * gdb.base/signals-state-child.exp: New file.
9558 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9559
9560 2016-08-09 Pedro Alves <palves@redhat.com>
9561
9562 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9563
9564 2016-08-03 Tom Tromey <tom@tromey.com>
9565
9566 PR python/18565:
9567 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9568
9569 2016-08-01 Yao Qi <yao.qi@linaro.org>
9570
9571 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9572 variable mode to "multi-process" if $multi_process is 1, otherwise
9573 set it to "single-process".
9574
9575 2016-08-01 Yao Qi <yao.qi@linaro.org>
9576
9577 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9578 * gdb.cp/cpexprs.exp: Likewise.
9579 * gdb.cp/m-static.exp: Likewise.
9580
9581 2016-07-26 Tom Tromey <tom@tromey.com>
9582
9583 PR python/20190:
9584 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9585 test.
9586
9587 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9588
9589 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9590 selecting assembly source files.
9591 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9592 assembly source files.
9593 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9594 assembly source files.
9595 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9596 selecting assembly source files.
9597
9598 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9599
9600 * gdb.base/new-ui.exp (do_test_invalid_args): New
9601 procedure.
9602
9603 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9604
9605 * gdb.btrace/reconnect.c: New file.
9606 * gdb.btrace/reconnect.exp: New file.
9607
9608 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9609
9610 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9611 to test_catch_syscall_group.
9612 (test_catch_syscall_group): New.
9613
9614 2016-07-21 Tom Tromey <tom@tromey.com>
9615
9616 * gdb.rust/simple.rs (main): Use empty struct expression.
9617 * gdb.rust/simple.exp: Add tests for empty struct expression.
9618
9619 2016-07-21 Yao Qi <yao.qi@linaro.org>
9620
9621 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9622 if gdb_skip_xml_test is true on some targets.
9623
9624 2016-07-21 Yao Qi <yao.qi@linaro.org>
9625
9626 * gdb.server/solib-list.exp: Unset last_loaded_file.
9627
9628 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9629
9630 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9631 "step into captured_main (args)".
9632
9633 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9634
9635 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9636
9637 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9638
9639 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9640
9641 2016-07-19 Pedro Alves <palves@redhat.com>
9642
9643 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9644 * gdb.opt/inline-bt.exp: Likewise.
9645 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9646 additional_flags=-Winline.
9647 * gdb.opt/inline-locals.exp: Likewise.
9648 * gdb.opt/inline-markers.c (ATTR): Define.
9649 (inlined_fn): Use it.
9650
9651 2016-07-19 Yao Qi <yao.qi@linaro.org>
9652
9653 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9654 (test_with_self): Remove some code. Remove argument executable.
9655 (top-level): Use do_self_tests.
9656
9657 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9658 Don Breazeal <donb@codesourcery.com>
9659
9660 * gdb.base/maint.exp: Escape paths used in regular expressions.
9661 * gdb.stabs/weird.exp: Likewise.
9662
9663 2016-07-13 Tom Tromey <tom@tromey.com>
9664
9665 PR python/15620, PR python/18620:
9666 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9667 (test_bkpt_events): New procs.
9668
9669 2016-07-13 Tom Tromey <tom@tromey.com>
9670
9671 PR python/17698:
9672 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9673 test.
9674 (test_watchpoints): Likewise.
9675 (test_bkpt_pending): New proc.
9676
9677 2016-07-13 Tom Tromey <tom@tromey.com>
9678
9679 PR cli/18053:
9680 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9681 completion test.
9682
9683 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9684
9685 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9686 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9687 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9688 f_label.
9689 (g): Rename g_end_lbl to g_label.
9690 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9691 low_pc and high_pc.
9692 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9693
9694 2016-07-12 Tom Tromey <tom@tromey.com>
9695
9696 PR python/19293:
9697 * gdb.python/py-unwind-maint.exp: Update tests.
9698
9699 2016-07-12 Yao Qi <yao.qi@linaro.org>
9700
9701 * lib/selftest-support.exp (selftest_setup): Match the output
9702 when captured_main is inlined.
9703
9704 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9705
9706 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9707 New variables.
9708 (print this%a, print this%b, print this): New tests.
9709 * gdb.fortran/derived-types.f90 (this): New object and
9710 initialization.
9711
9712 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9713
9714 * gdb.ada/arraydim.exp: Remove extra directory level in build
9715 directory.
9716
9717 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9718
9719 * lib/ada.exp: Remove extra directory level in build directory.
9720 * gdb.ada/cond_lang.exp: Likewise.
9721 * gdb.ada/exec_changed.exp: Likewise.
9722 * gdb.ada/lang_switch.exp: Likewise.
9723
9724 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9725
9726 * simple.rs: Add test for raw pointer subscripting.
9727 * simple.exp: Add test expectations.
9728
9729 2016-07-05 Yao Qi <yao.qi@linaro.org>
9730
9731 * gdb.mi/mi-reverse.exp: Match =record-started output.
9732
9733 2016-07-01 Pedro Alves <palves@redhat.com>
9734
9735 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9736 procedure.
9737 (jit_reader_test): Test the jit reader's unwinder.
9738 * gdb.base/jithost.c (jit_function_00_code): New global.
9739 (main): Use memcpy to fill in the mmapped code, instead of poking
9740 bytes manually here.
9741 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9742 value.
9743 (read_debug_info): Save the function's range.
9744 (read_sp): New function.
9745 (unwind_frame): Use it. Also unwind RBP.
9746 (get_frame_id): Use read_sp.
9747 (gdb_init_reader): Use calloc instead of malloc.
9748 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9749 parameter. Use gdb_test_multiple.
9750
9751 2016-07-01 Pedro Alves <palves@redhat.com>
9752 Antoine Tremblay <antoine.tremblay@ericsson.com>
9753
9754 * gdb.threads/process-dies-while-detaching.c: New file.
9755 * gdb.threads/process-dies-while-detaching.exp: New file.
9756
9757 2016-07-01 Pedro Alves <palves@redhat.com>
9758
9759 * gdb.multi/watchpoint-multi-exit.c: New file.
9760 * gdb.multi/watchpoint-multi-exit.exp: New file.
9761
9762 2016-06-30 Pedro Alves <palves@redhat.com>
9763
9764 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9765 unset inferior_spawn_id.
9766
9767 2016-06-30 Pedro Alves <palves@redhat.com>
9768
9769 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9770 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9771
9772 2016-06-29 Yao Qi <yao.qi@linaro.org>
9773
9774 * gdb.base/return.c: Add copyright header.
9775
9776 2016-06-29 Tom Tromey <tom@tromey.com>
9777
9778 PR python/20129:
9779 * gdb.python/py-framefilter.exp: Add tests for setting priority
9780 and disabling of non-existent frame filter.
9781
9782 2016-06-29 Yao Qi <yao.qi@linaro.org>
9783
9784 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9785 0x0f07ff.
9786
9787 2016-06-28 Yao Qi <yao.qi@linaro.org>
9788
9789 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9790 triplets. Start gdb, execute catch syscall, and continue. Check
9791 gdb's output to determine catch syscall is supported.
9792
9793 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9794
9795 * gdb.rust/simple.rs: Add test for returning unit in a function.
9796 * gdb.rust/simple.exp: Add expectation for functions returning
9797 unit.
9798
9799 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9800
9801 * gdb.python/py-breakpoint-create-fail.c,
9802 gdb.python/py-breakpoint-create-fail.exp,
9803 gdb.python/py-breakpoint-create-fail.py: New testcase.
9804
9805 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9806
9807 PR gdb/20239
9808 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9809 * gdb.rust/simple.exp: Add test expectations for new NonZero
9810 tests.
9811
9812 2016-06-24 David Taylor <dtaylor@emc.com>
9813
9814 * gdb.base/offsets.exp: New file.
9815 * gdb.base/offsets.c: New file.
9816
9817 2016-06-23 Tom Tromey <tom@tromey.com>
9818
9819 PR gdb/16483:
9820 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9821 before any filters are loaded.
9822
9823 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9824
9825 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9826 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9827 structs.
9828 * gdb.fortran/derived-type-function.exp: New file.
9829 * gdb.fortran/derived-type-function.f90: New file.
9830
9831
9832 2016-06-21 Pedro Alves <palves@redhat.com>
9833
9834 * gdb.base/new-ui.exp: New file.
9835 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9836 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9837 (with_spawn_id): New procedure.
9838
9839 2016-06-21 Pedro Alves <palves@redhat.com>
9840
9841 * gdb.mi/mi-exec-run.exp: New file.
9842
9843 2016-06-21 Pedro Alves <palves@redhat.com>
9844
9845 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9846 breakpoint command's output on the main UI.
9847 (test_break): New procedure, factored out from calls in the top
9848 level.
9849 (top level): Use foreach_with_prefix to test MI as main UI and as
9850 separate UI.
9851
9852 2016-06-21 Pedro Alves <palves@redhat.com>
9853
9854 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9855 (test_awatch_creation_and_listing)
9856 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9857 Remove 'type' parameter.
9858 (test_watchpoint_all): New parameter mi_mode. Remove
9859 with_test_prefix.
9860 (top level): Use foreach_with_prefix, and add main/separate UI MI
9861 testing axis.
9862
9863 2016-06-21 Pedro Alves <palves@redhat.com>
9864
9865 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9866 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9867 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9868 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9869 (gdb_main_spawn_id, mi_spawn_id): Declare and
9870 comment.
9871 (mi_create_inferior_pty): New procedure,
9872 factored out from default_mi_gdb_start.
9873 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9874 procedures.
9875 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9876 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9877 Use mi_create_inferior_pty.
9878 (mi_gdb_start): Use eval to pass down args list.
9879
9880 2016-06-21 Pedro Alves <palves@redhat.com>
9881
9882 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9883 * gdb.opt/inline-cmds.exp: Add MI tests.
9884
9885 2016-06-21 Pedro Alves <palves@redhat.com>
9886
9887 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9888
9889 2016-06-21 Pedro Alves <palves@redhat.com>
9890
9891 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9892 (top level): Use it instead of mi_execute_to.
9893
9894 2016-06-21 Pedro Alves <palves@redhat.com>
9895
9896 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9897 (cont_handler_str): New.
9898 (signal_stop_handler): Set stop_handler_str instead of printing to
9899 stdout.
9900 (continue_handler): Set cont_handler_str instead of printing to
9901 stdout.
9902 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9903 mi_send_resuming_command. Print stop_handler_str and
9904 cont_handler_str instead of expecting the python events print
9905 directly.
9906
9907 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9908
9909 * gdb.base/jit-reader.exp: New file.
9910 * gdb.base/jithost.c: New file.
9911 * gdb.base/jithost.h: New file.
9912 * gdb.base/jitreader.c : New file.
9913 * gdb.base/jit-protocol.h: New file.
9914
9915 2016-06-17 Yao Qi <yao.qi@linaro.org>
9916
9917 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9918 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9919 and detach-on-fork. Adjust tests.
9920 (top level): Invoke break_cond_on_syscall with combinations of
9921 syscall, follow-fork-mode and detach-on-fork.
9922
9923 2016-06-17 Yao Qi <yao.qi@linaro.org>
9924
9925 * gdb.base/step-over-exit.c: New.
9926 * gdb.base/step-over-exit.exp: New.
9927
9928 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9929
9930 * gdb.base/float.exp: Add target check for nds32*-*-*.
9931 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9932
9933 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9934
9935 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9936 for unsupported target features.
9937 * gdb.base/call-rt-st.exp: Likewise.
9938 * gdb.base/call-sc.exp: Likewise.
9939 * gdb.base/call-signal-resume.exp: Likewise.
9940 * gdb.base/call-strs.exp: Likewise.
9941 * gdb.base/callexit.exp: Likewise.
9942 * gdb.base/callfuncs.exp: Likewise.
9943 * gdb.base/nodebug.exp: Likewise.
9944 * gdb.base/printcmds.exp: Likewise.
9945 * gdb.base/ptype.exp: Likewise.
9946 * gdb.base/structs.exp: Likewise.
9947 * gdb.base/unwindonsignal.exp: Likewise.
9948 * gdb.cp/gdb2495.exp: Likewise.
9949 * gdb.cp/templates.exp: Likewise.
9950 * gdb.cp/virtfunc.exp: Likewise.
9951 * gdb.threads/hand-call-in-threads.exp: Likewise.
9952 * gdb.threads/interrupted-hand-call.exp: Likewise.
9953 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9954
9955 2016-06-10 Tom Tromey <tom@tromey.com>
9956
9957 PR rust/20110:
9958 * gdb.rust/expr.exp: Add test for integer constant larger than
9959 i32.
9960
9961 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9962
9963 * gdb.fortran/nested-funcs.exp: New.
9964 * gdb.fortran/nested-funcs.f90: New.
9965
9966 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9967
9968 * gdb.base/examine-backward.c: New file.
9969 * gdb.base/examine-backward.exp: New file.
9970
9971 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9972
9973 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9974 matching.
9975
9976 2016-06-02 Tom Tromey <tom@tromey.com>
9977
9978 PR python/18984:
9979 * gdb.python/py-shared.exp: Add solib_name test.
9980
9981 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9982
9983 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9984
9985 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9986
9987 PR c++/19893
9988 * gdb.dwarf2/implref.exp: Rename to...
9989 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9990 * gdb.dwarf2/implref-array.c: New file.
9991 * gdb.dwarf2/implref-array.exp: Likewise.
9992 * gdb.dwarf2/implref-global.c: Likewise.
9993 * gdb.dwarf2/implref-global.exp: Likewise.
9994 * gdb.dwarf2/implref-struct.c: Likewise.
9995 * gdb.dwarf2/implref-struct.exp: Likewise.
9996
9997 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9998
9999 * gdb.trace/trace-condition.exp: Add 64bit tests.
10000
10001 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10002
10003 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10004 bits types.
10005 (main): Adapt to 8 to 64 bits types.
10006 * gdb.trace/trace-condition.exp: Add new tests.
10007
10008 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10009
10010 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10011
10012 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10013
10014 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10015 Move condition tests...
10016 * gdb.trace/trace-condition.exp: Here.
10017
10018 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10019
10020 * gdb.trace/trace-condition.exp: Add counter-case tests.
10021
10022 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10023
10024 PR c++/15231
10025 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10026 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10027
10028 2016-05-27 Pedro Alves <palves@redhat.com>
10029
10030 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10031 New procedure.
10032 (top level): Call it, and bail out of DejaGnu is known to be bad.
10033
10034 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10035
10036 * gdb.base/whatis.c: Extend the test case.
10037 * gdb.base/whatis.exp: Add additional tests.
10038
10039 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10040
10041 * gdb.fortran/type.f90: Add pointer variable.
10042 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10043
10044 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10045
10046 * gdb.fortran/vla-type.exp: Fix testcase name.
10047
10048 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10049
10050 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10051
10052 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10053
10054 * gdb.fortran/type.f90: Add nested structures.
10055 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10056 * gdb.fortran/derived-type.exp: Adapt expected output.
10057 * gdb.fortran/vla-type.exp: Adapt expected output.
10058
10059 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10060
10061 * gdb.fortran/whatis_type.exp: Adapt expected output.
10062
10063 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10064
10065 * gdb.fortran/print_type.exp: Fix expected output.
10066 * gdb.fortran/whatis_type.exp: Fix expected output.
10067
10068 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10069
10070 * gdb.fortran/whatis_type.exp: Use multi_line.
10071
10072 2016-05-24 Tom Tromey <tom@tromey.com>
10073
10074 PR python/17386:
10075 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10076 use value as an index.
10077
10078 2016-05-23 Tom Tromey <tom@tromey.com>
10079
10080 PR python/17981:
10081 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10082 no-breakpoint case.
10083
10084 2016-05-24 Pedro Alves <palves@redhat.com>
10085
10086 PR gdb/19828
10087 * gdb.threads/clone-attach-detach.c: New file.
10088 * gdb.threads/clone-attach-detach.exp: New file.
10089
10090 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10091
10092 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10093
10094 2016-05-23 Tom Tromey <tom@tromey.com>
10095
10096 PR python/19438, PR python/18393:
10097 * gdb.python/py-progspace.exp: Add "dir" test.
10098 * gdb.python/py-objfile.exp: Add "dir" test.
10099
10100 2016-05-23 Yao Qi <yao.qi@linaro.org>
10101
10102 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10103 * gdb.arch/thumb2-it.exp: Likewise.
10104
10105 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10106
10107 * gdb.mi/mi-threads-interrupt.c: New file.
10108 * gdb.mi/mi-threads-interrupt.exp: New file.
10109
10110 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10111
10112 PR gdb/18077
10113 * gdb.mi/mi-async-run.exp: New file.
10114 * gdb.mi/mi-async-run.c: New file.
10115
10116 2016-05-17 Tom Tromey <tom@tromey.com>
10117 Manish Goregaokar <manishsmail@gmail.com>
10118
10119 * lib/rust-support.exp: New file.
10120 * lib/gdb.exp (skip_rust_tests): New proc.
10121 (build_executable_from_specs): Handle rust.
10122 * lib/future.exp (gdb_find_rustc): New proc.
10123 (gdb_default_target_compile): Handle rust.
10124 * gdb.rust/expr.exp: New file.
10125 * gdb.rust/generics.exp: New file.
10126 * gdb.rust/generics.rs: New file.
10127 * gdb.rust/methods.exp: New file.
10128 * gdb.rust/methods.rs: New file.
10129 * gdb.rust/modules.exp: New file.
10130 * gdb.rust/modules.rs: New file.
10131 * gdb.rust/simple.exp: New file.
10132 * gdb.rust/simple.rs: New file.
10133
10134 2016-05-17 Tom Tromey <tom@tromey.com>
10135
10136 * gdb.base/default.exp (set language): Add rust.
10137
10138 2016-05-17 Tom Tromey <tom@tromey.com>
10139
10140 * gdb.gdb/unittest.exp: New file.
10141
10142 2016-05-16 Yao Qi <yao.qi@linaro.org>
10143
10144 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10145 shell_prompt. Update shell_prompt_re.
10146
10147 2016-05-12 Doug Evans <dje@google.com>
10148
10149 PR symtab/19999
10150 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10151 $options when building executable.
10152 * gdb.dwarf2/fission-loclists-pie.S: New file.
10153 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10154
10155 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10156
10157 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10158 of [is_remote target],
10159
10160 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10161
10162 * lib/gdb.exp (use_gdb_stub): New procedure.
10163
10164 2016-05-03 Yunlian Jiang <yunlian@google.com>
10165 Doug Evans <dje@google.com>
10166
10167 PR symtab/19914
10168 * gdb.dwarf2/dwp-sepdebug.c: New file.
10169 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10170
10171 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10172
10173 * gdb.base/detach.exp: Remove is_remote check.
10174
10175 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10176
10177 * gdb.base/annota-input-while-running.exp: Don't check for
10178 [is_remote target]. Enable annotations after running to main.
10179 Remove unused "set test..." line.
10180
10181 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10182
10183 * gdb.trace/trace-enable-disable.exp: New file.
10184 * gdb.trace/trace-enable-disable.c: New file.
10185
10186 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10187
10188 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10189 use it in info sharedlibrary test.
10190 * gdb.trace/ftrace-lock.exp: Likewise.
10191 * gdb.trace/ftrace.exp: Likewise.
10192 * gdb.trace/range-stepping.exp: Likewise.
10193 * gdb.trace/trace-break.exp: Likewise.
10194 * gdb.trace/trace-condition.exp: Likewise.
10195 * gdb.trace/trace-mt.exp: Likewise.
10196
10197 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10198
10199 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10200 (gdb_load_shlib): ... this.
10201 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10202 gdb_load_shlib.
10203 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10204 * gdb.base/ctxobj.exp: Likewise.
10205 * gdb.base/dprintf-pending.exp: Likewise.
10206 * gdb.base/dso2dso.exp: Likewise.
10207 * gdb.base/fixsection.exp: Likewise.
10208 * gdb.base/gcore-relro.exp: Likewise.
10209 * gdb.base/gdb1555.exp: Likewise.
10210 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10211 * gdb.base/gnu-ifunc.exp: Likewise.
10212 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10213 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10214 * gdb.base/pending.exp: Likewise.
10215 * gdb.base/print-file-var.exp: Likewise.
10216 * gdb.base/print-symbol-loading.exp: Likewise.
10217 * gdb.base/shlib-call.exp: Likewise.
10218 * gdb.base/shreloc.exp: Likewise.
10219 * gdb.base/so-impl-ld.exp: Likewise.
10220 * gdb.base/solib-disc.exp: Likewise.
10221 * gdb.base/solib-nodir.exp: Likewise.
10222 * gdb.base/solib-overlap.exp: Likewise.
10223 * gdb.base/solib-symbol.exp: Likewise.
10224 * gdb.base/solib-weak.exp (do_test): Likewise.
10225 * gdb.base/sym-file.exp: Likewise.
10226 * gdb.base/symtab-search-order.exp: Likewise.
10227 * gdb.base/type-opaque.exp: Likewise.
10228 * gdb.base/unload.exp: Likewise.
10229 * gdb.base/watchpoint-solib.exp: Likewise.
10230 * gdb.compile/compile.exp: Likewise.
10231 * gdb.cp/gdb2384.exp: Likewise.
10232 * gdb.cp/infcall-dlopen.exp: Likewise.
10233 * gdb.cp/re-set-overloaded.exp: Likewise.
10234 * gdb.fortran/library-module.exp: Likewise.
10235 * gdb.opt/solib-intra-step.exp: Likewise.
10236 * gdb.python/py-finish-breakpoint.exp: Likewise.
10237 * gdb.python/py-shared.exp: Likewise.
10238 * gdb.reverse/solib-precsave.exp: Likewise.
10239 * gdb.reverse/solib-reverse.exp: Likewise.
10240 * gdb.server/solib-list.exp: Likewise.
10241 * gdb.threads/dlopen-libpthread.exp: Likewise.
10242 * gdb.threads/tls-shared.exp: Likewise.
10243 * gdb.threads/tls-so_extern.exp: Likewise.
10244 * gdb.trace/change-loc.exp: Likewise.
10245 * gdb.trace/ftrace-lock.exp: Likewise.
10246 * gdb.trace/ftrace.exp: Likewise.
10247 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10248 * gdb.trace/pending.exp: Likewise.
10249 * gdb.trace/range-stepping.exp: Likewise.
10250 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10251 (strace_info_marker): Likewise.
10252 (strace_probe_marker): Likewise.
10253 (strace_trace_on_same_addr): Likewise.
10254 (strace_trace_on_diff_addr): Likewise.
10255 * gdb.trace/trace-break.exp: Likewise.
10256 * gdb.trace/trace-condition.exp: Likewise.
10257 * gdb.trace/trace-mt.exp: Likewise.
10258
10259 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10260
10261 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10262 result of gdb_remote_download.
10263 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10264 * gdb.base/dso2dso.exp: Likewise.
10265 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10266 * gdb.base/print-file-var.exp: Likewise.
10267 * gdb.base/shlib-call.exp: Likewise.
10268 * gdb.base/shreloc.exp: Likewise.
10269 * gdb.base/solib-overlap.exp: Likewise.
10270 * gdb.base/solib-weak.exp (do_test): Likewise.
10271 * gdb.base/unload.exp: Likewise.
10272
10273 2016-04-27 Yao Qi <yao.qi@linaro.org>
10274
10275 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10276 exists.
10277
10278 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10279
10280 * vla-type.exp: Print structure from toplevel.
10281
10282 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10283
10284 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10285 of dynamic types.
10286 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10287 of dynamic types.
10288
10289 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10290
10291 * gdb.fortran/vla-type.f90: New file.
10292 * gdb.fortran/vla-type.exp: New file.
10293
10294 2016-04-25 Yao Qi <yao.qi@linaro.org>
10295
10296 * gdb.base/branch-to-self.c: New file.
10297 * gdb.base/branch-to-self.exp: New file.
10298
10299 2016-04-22 Yao Qi <yao.qi@linaro.org>
10300
10301 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10302 more after $hex.
10303
10304 2016-04-22 Yao Qi <yao.qi@linaro.org>
10305
10306 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10307 * gdb.base/annota3.exp: Likewise.
10308
10309 2016-04-22 Yao Qi <yao.qi@linaro.org>
10310
10311 * gdb.reverse/step-precsave.exp: Do one step and test program
10312 stops in "callee" and do multiple steps until program goes out
10313 of "callee".
10314 * gdb.reverse/step-reverse.exp: Likewise.
10315
10316 2016-04-22 Yao Qi <yao.qi@linaro.org>
10317
10318 * gdb.trace/signal.exp: Also pass if
10319 $tracepoint_hits($i) > $iterations.
10320
10321 2016-04-22 Yao Qi <yao.qi@linaro.org>
10322
10323 * gdb.trace/signal.c: New file.
10324 * gdb.trace/signal.exp: New file.
10325
10326 2016-04-19 Doug Evans <xdje42@gmail.com>
10327
10328 * gdb.base/bad-file.exp: New file.
10329
10330 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10331
10332 * gdb.dwarf2/implref.exp: New file.
10333
10334 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10335
10336 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10337 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10338 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10339 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10340 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10341 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10342 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10343 * lib/fortran.exp (fortran_int4): New procedure.
10344 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10345 (fortran_logical4): Likewise.
10346
10347 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10348
10349 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10350
10351 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10352
10353 * lib/compiler.c: Add Intel specific preprocessor macros.
10354 * lib/compiler.cc: Likewise.
10355
10356 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
10357
10358 * gdb.server/connect-with-no-symbol-file.c: New file.
10359 * gdb.server/connect-with-no-symbol-file.exp: New file.
10360
10361 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10362
10363 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10364
10365 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10366
10367 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10368 standard output directory.
10369
10370 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10371
10372 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10373
10374 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10375
10376 * gdb.btrace/instruction_history.c (loop): Add declaration.
10377
10378 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10379
10380 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10381
10382 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10383
10384 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10385 parentheses to print.
10386 (continue_handler): Likewise.
10387
10388 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10389
10390 * gdb.server/solib-list.exp: Remove is_remote check.
10391 Pass shlib= to gdb_compile. Don't link shared library with
10392 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10393 Run binary filename through "readlink -f" on the target.
10394
10395 2016-04-08 Pedro Alves <palves@redhat.com>
10396
10397 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10398 interpreter filename as argument to gdbserver_spawn.
10399 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10400 Return empty if $last_loaded_file does not exist.
10401
10402 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10403
10404 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10405 * gdb.base/jit-main.c: Use exit after usage.
10406
10407 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10408
10409 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10410 GDBHISTSIZE prior to the tests.
10411 * gdb.base/gdbinit-history.exp: Likewise.
10412
10413 2016-04-07 Pedro Alves <palves@redhat.com>
10414
10415 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10416 instead of build_executable. Use gdb_load_shlibs.
10417
10418 2016-04-07 Yao Qi <yao.qi@linaro.org>
10419
10420 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10421 Execute "si" command.
10422
10423 2016-04-07 Yao Qi <yao.qi@linaro.org>
10424
10425 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10426 number instead of the comments on some line.
10427
10428 2016-04-06 Don Breazeal <donb@codesourcery.com>
10429
10430 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10431 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10432
10433 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10434
10435 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10436 standard_output_file. Remove unused binfile variable.
10437
10438 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10439
10440 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10441 * gdb.python/py-mi-objfile.exp: Match "list main" output
10442 in console format.
10443
10444 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10445
10446 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10447 absolute.
10448
10449 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10450
10451 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10452 absolute.
10453 * gdb.trace/ftrace.exp: Likewise.
10454 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10455 targets as well.
10456 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10457 (gdb_load_shlibs): Copy libraries to test directory when testing
10458 natively. Only set solib-search-path if testing remotely.
10459 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10460
10461 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10462
10463 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10464 gdb_download. Use it even if the target is not remote.
10465 * gdb.base/jit.exp (compile_jit_test): Likewise.
10466 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10467 output directory if the destination board is local, otherwise use
10468 the standard remote_download from DejaGnu.
10469 (gdb_download): Remove.
10470 (gdb_load_shlibs): Use gdb_remote_download instead of
10471 gdb_download.
10472 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10473 Use gdb_remote_download instead of gdb_download. Use it even if
10474 the target is not remote.
10475 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10476 instead of gdb_download.
10477
10478 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10479
10480 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10481 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10482 run.
10483
10484 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10485
10486 PR gdb/19820
10487 * gdb.base/printcmds.exp: Add artificial arrays tests.
10488
10489 2016-03-31 Pedro Alves <palves@redhat.com>
10490
10491 PR gdb/19858
10492 * gdb.base/jit-main.c: Include unistd.h.
10493 (ATTACH): Define to 0 if not already defined.
10494 (wait_for_gdb, mypid): New globals.
10495 (WAIT_FOR_GDB): New macro.
10496 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10497 some breakpoint locations.
10498 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10499 New procedures.
10500 (one_jit_test): Add REATTACH parameter, and handle it. Use
10501 continue_to_test_location.
10502 (top level): Test attach, and adjusts calls to one_jit_test.
10503
10504 2016-03-31 Pedro Alves <palves@redhat.com>
10505
10506 PR gdb/19858
10507 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10508 BINSUFFIX parameter, and handle it.
10509 (top level): Adjust calls compile_jit_test.
10510
10511 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10512
10513 PR python/19743
10514 * gdb.python/py-mi-events-gdb.py: New file.
10515 * gdb.python/py-mi-events.c: New file.
10516 * gdb.python/py-mi-events.exp: New file.
10517
10518 2016-03-30 Yao Qi <yao.qi@linaro.org>
10519
10520 * gdb.reverse/until-precsave.exp: Match function name only.
10521 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10522 Move malloc to a condition block.
10523 * gdb.reverse/until-reverse.exp: Match function name only.
10524
10525 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10526
10527 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10528 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10529 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10530 variable for GPR 0 instead of assuming it is register 0.
10531 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10532 * lib/trace-support.exp: Add s390 registers.
10533
10534 2016-03-29 Yao Qi <yao.qi@linaro.org>
10535
10536 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10537
10538 2016-03-24 Yao Qi <yao.qi@linaro.org>
10539
10540 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10541 test message.
10542
10543 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10544
10545 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10546 maintaining separate logic for constructing the output path.
10547
10548 2016-03-16 Don Breazeal <donb@codesourcery.com>
10549
10550 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10551 Retry fork and waitpid on interrupted system call errors.
10552 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10553 Use with_timeout_factor to increase timeout by factor of 10.
10554
10555 2016-03-15 Don Breazeal <donb@codesourcery.com>
10556
10557 * gdb.cp/scope-err.cc: New test program.
10558 * gdb.cp/scope-err.exp: New test script.
10559 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10560 lines and "set breakpoint here" comment.
10561 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10562 Fixed some whitespace and format issues.
10563 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10564 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10565
10566 2016-03-15 Doug Evans <dje@google.com>
10567
10568 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10569 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10570 All callers updated. Add tests for enums, mixed flags register.
10571
10572 2016-03-15 Doug Evans <dje@google.com>
10573
10574 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10575 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10576
10577 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10578
10579 * gdb.base/default.exp: Add $_as_string to the list of expected
10580 convenience functions.
10581
10582 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10583
10584 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10585
10586 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10587
10588 * gdb.python/py-as-string.exp: New file.
10589 * gdb.python/py-as-string.c: New file.
10590
10591 2016-03-09 Pedro Alves <palves@redhat.com>
10592
10593 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10594 signal" -> "Thread NN received signal" output change.
10595 * gdb.threads/ia64-sigill.exp: Likewise.
10596 * gdb.threads/linux-dp.exp: Likewise.
10597 * gdb.threads/manythreads.exp: Likewise.
10598 * gdb.threads/pending-step.exp: Likewise.
10599 * gdb.threads/print-threads.exp: Likewise.
10600 * gdb.threads/sigstep-threads.exp: Likewise.
10601 * gdb.threads/staticthreads.exp: Likewise.
10602 * gdb.threads/tls.exp: Likewise.
10603
10604 2016-03-09 Pedro Alves <palves@redhat.com>
10605
10606 * gdb.base/command-line-input.exp: New file.
10607
10608 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10609
10610 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10611 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10612 * gdb.trace/pending.exp: Accept leading dot before function name.
10613 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10614 * lib/trace-support.exp: Set registers for ppc.
10615
10616 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10617
10618 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10619 use it for disassembly; accept .main in addition to main in backtrace.
10620
10621 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10622 Marcin Kościelnicki <koriakin@0x04.net>
10623
10624 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10625 (gdb_recursion_test_ptr): New global variable.
10626 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10627 gdb_recursion_test.
10628 (gdb_c_test): Ditto.
10629
10630 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10631
10632 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10633 ordering.
10634
10635 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10636
10637 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10638 (bar): Add bar_start_lbl label.
10639 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10640 of foo/bar for emitting DWARF and tracing.
10641
10642 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10643
10644 * analyze-racy-logs.py: Set executable bit.
10645
10646 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10647
10648 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10649 (CHECK_TARGET_TMP): Likewise.
10650 (check-single-racy): New rule.
10651 (check-parallel-racy): Likewise.
10652 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10653 (do-check-parallel-racy): New rule.
10654 (check-racy/%.exp): Likewise.
10655 * README (Racy testcases): New section.
10656 * analyze-racy-logs.py: New file.
10657
10658 2016-03-03 Doug Evans <dje@google.com>
10659
10660 * gdb.base/skip.exp: Use with_test_prefix.
10661
10662 2016-03-03 Yao Qi <yao.qi@linaro.org>
10663
10664 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10665 Invoke step_over_syscall "clone" and break_cond_on_syscall
10666 "clone".
10667 * gdb.base/step-over-clone.c: New file.
10668
10669 2016-03-03 Yao Qi <yao.qi@linaro.org>
10670
10671 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10672 code format.
10673
10674 2016-03-03 Yao Qi <yao.qi@linaro.org>
10675
10676 * gdb.base/disp-step-fork.c: Rename to ...
10677 * gdb.base/step-over-fork.c: ... it. New file.
10678 * gdb.base/disp-step-vfork.c: Rename to ...
10679 * gdb.base/step-over-vfork.c: ... it. New file.
10680 * gdb.base/disp-step-syscall.exp: Rename to ...
10681 * gdb.base/step-over-syscall.exp: ... it. New file.
10682 (disp_step_cross_syscall): Rename to ...
10683 (step_over_syscall): ... it.
10684
10685 2016-03-03 Yao Qi <yao.qi@linaro.org>
10686
10687 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10688 If target supports condition evaluation on target, invoke
10689 break_cond_on_syscall for fork and vfork.
10690
10691 2016-03-03 Yao Qi <yao.qi@linaro.org>
10692
10693 * gdb.base/disp-step-syscall.exp: Don't invoke
10694 support_displaced_stepping.
10695 (disp_step_cross_syscall): Test with displaced stepping off and
10696 on if supported.
10697
10698 2016-03-03 Yao Qi <yao.qi@linaro.org>
10699
10700 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10701 proc.
10702 (setup): New proc.
10703 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10704 and setup.
10705
10706 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10707
10708 * gdb.fortran/vla-history.exp: Remove breakpoint.
10709
10710 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10711
10712 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10713 exceeds timeout.
10714
10715 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10716
10717 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10718 breakpoint.
10719
10720 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10721
10722 * gdb.mi/vla.f90: Nullify pointer after declaration.
10723
10724 2016-03-01 Pedro Alves <palves@redhat.com>
10725
10726 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10727
10728 2016-03-01 Pedro Alves <palves@redhat.com>
10729
10730 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10731 before anything else.
10732 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10733 _GNU_SOURCE here.
10734 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10735 before anything else.
10736 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10737
10738 2016-03-01 Pedro Alves <palves@redhat.com>
10739
10740 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10741
10742 2016-03-01 Yao Qi <yao.qi@linaro.org>
10743
10744 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10745 prepare_for_testing.
10746
10747 2016-03-01 Yao Qi <yao.qi@linaro.org>
10748
10749 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10750
10751 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10752
10753 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10754 manually constructing the output path.
10755
10756 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10757
10758 * gdb.arch/s390-stackless.S: New.
10759 * gdb.arch/s390-stackless.exp: New.
10760
10761 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10762
10763 * gdb.dlang/circular.c: New file.
10764 * gdb.dlang/circular.exp: New file.
10765
10766 2016-02-26 Yao Qi <yao.qi@linaro.org>
10767
10768 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10769 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10770 (testcases): Update.
10771
10772 2016-02-26 Yao Qi <yao.qi@linaro.org>
10773
10774 * gdb.reverse/aarch64.c: Rename to ...
10775 * gdb.reverse/insn-reverse.c: ... it.
10776 * gdb.reverse/aarch64.exp: Rename to ...
10777 * gdb.reverse/insn-reverse.exp: ... it.
10778
10779 2016-02-26 Yao Qi <yao.qi@linaro.org>
10780
10781 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10782 (testcase_ftype): New.
10783 (testcases): New array.
10784 (n_testcases): New.
10785 (main): Call each element in testcases.
10786 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10787 (read_testcase): New.
10788 Do the tests in a loop.
10789
10790 2016-02-25 Yao Qi <yao.qi@linaro.org>
10791
10792 * gdb.base/branches.c: Remove.
10793
10794 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10795
10796 PR gdb/13808
10797 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10798
10799 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10800
10801 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10802
10803 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10804
10805 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10806 change x86_64 call_insn to 'callq'.
10807
10808 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10809
10810 * gdb.trace/tfile-avx.c: Move to...
10811 * gdb.trace/tracefile-pseudo-reg.c: Here.
10812 * gdb.trace/tfile-avx.exp: Move to...
10813 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10814
10815 2016-02-24 Gary Benson <gbenson@redhat.com>
10816
10817 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10818 message on attach.
10819
10820 2016-02-23 Doug Evans <dje@google.com>
10821
10822 * gdb.base/skip.c (test_skip): New function.
10823 (end_test_skip_file_and_function): New function.
10824 (test_skip_file_and_function): New function.
10825 * gdb.base/skip1.c (test_skip): New function.
10826 (skip1_test_skip_file_and_function): New function.
10827 * gdb.base/skip.exp: Add tests for new skip options.
10828 * gdb.base/skip-solib.exp: Update expected output.
10829 * gdb.perf/skip-command.cc: New file.
10830 * gdb.perf/skip-command.exp: New file.
10831 * gdb.perf/skip-command.py: New file.
10832
10833 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10834
10835 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10836 info registers pattern.
10837
10838 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10839
10840 * lib/future.exp: Add D support.
10841 (gdb_find_gdc): New proc.
10842 (gdb_default_target_compile): Add D support.
10843
10844 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10845
10846 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10847 user+system time.
10848 (trace_speed_test): Determine the iteration count for a time
10849 between 15..30 seconds.
10850
10851 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10852
10853 * gdb.arch/i386-mpx-sigsegv.c: New file.
10854 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10855 * gdb.arch/i386-mpx-simple_segv.c: New file.
10856 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10857
10858 2016-02-18 Yao Qi <yao.qi@linaro.org>
10859
10860 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10861 Don't call setup_kfail.
10862
10863 2016-02-18 Yao Qi <yao.qi@linaro.org>
10864
10865 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10866 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10867
10868 2016-02-16 Doug Evans <dje@google.com>
10869
10870 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10871 * gdb.base/skip1.c: Ditto.
10872 * gdb.base/skip.exp: Whitespace cleanup.
10873
10874 2016-02-16 Don Breazeal <donb@codesourcery.com>
10875
10876 PR remote/19496
10877 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10878 Remove kfail for PR remote/19496.
10879
10880 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10881
10882 * lib/gdb.exp (standard_temp_file): Return a path specific to
10883 the runtest invocation.
10884
10885 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10886
10887 * gdb.trace/save-trace.exp: Change relative path to be in the
10888 standard output directory.
10889
10890 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10891
10892 * gdb.arch/i386-prologue.c: Add missing prototypes.
10893
10894 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10895
10896 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10897 * gdb.arch/i386-prologue.exp: Likewise.
10898 * gdb.arch/i386-size.exp: Likewise.
10899
10900 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10901
10902 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10903 define object file path.
10904 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10905 file path.
10906 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10907 standard_output_file to define binfile.
10908
10909 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10910
10911 Fix compatibility with recent gfortran-5.3.1.
10912 * gdb.fortran/vla-history.exp (print vla1 allocated)
10913 (print vla2 allocated, print $2, print $3): Remove
10914 (print $4): Rename to ...
10915 (print $2): ... here.
10916 (print $9): Rename to ...
10917 (print $5): ... here.
10918 (print $10): Rename to ...
10919 (print $6): ... here.
10920 * gdb.fortran/vla.f90: Add pvla initialization.
10921
10922 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10923
10924 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10925 New test.
10926 * gdb.fortran/vla-value-sub.exp: Likewise.
10927
10928 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10929
10930 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10931
10932 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10933
10934 * i386-biarch-core.exp: Define corefile using
10935 standard_output_file.
10936
10937 2016-02-12 Yao Qi <yao.qi@linaro.org>
10938
10939 * gdb.arch/arm-single-step-kernel-helper.c: New.
10940 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10941
10942 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10943
10944 * gdb.btrace/tailcall-only.exp: New.
10945 * gdb.btrace/tailcall-only.c: New.
10946 * gdb.btrace/x86_64-tailcall-only.S: New.
10947 * gdb.btrace/i686-tailcall-only.S: New.
10948
10949 2016-02-11 Pedro Alves <palves@redhat.com>
10950
10951 * README (Parallel testing): Add missing double quotes.
10952
10953 2016-02-11 Pedro Alves <palves@redhat.com>
10954
10955 * README (Parallel testing): New section.
10956 (GDB_PARALLEL): Rewrite.
10957 (FORCE_PARALLEL): Document.
10958
10959 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10960
10961 * gdb.trace/tfile-avx.c: New test.
10962 * gdb.trace/tfile-avx.exp: New test.
10963
10964 2016-02-09 Keith Seitz <keiths@redhat.com>
10965
10966 PR breakpoints/19546
10967 * gdb.base/infcall-exec.c: New file.
10968 * gdb.base/infcall-exec2.c: New file.
10969 * gdb.base/infcall-exec.exp: New file.
10970
10971 2016-02-09 Keith Seitz <keiths@redhat.com>
10972
10973 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10974 (toplevel): Call test_bkpt_address.
10975
10976 2016-02-09 Keith Seitz <keiths@redhat.com>
10977
10978 PR python/19506
10979 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10980 (toplevel): Call test_bkpt_address.
10981
10982 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10983
10984 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10985 to AC_OUTPUT.
10986 * configure: Regenerate.
10987
10988 2016-02-09 Pedro Alves <palves@redhat.com>
10989
10990 PR breakpoints/19548
10991 * gdb.base/execl-update-breakpoints.c (some_function): New
10992 function.
10993 (main): Call it.
10994 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10995 Tighten expected GDB output.
10996
10997 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10998
10999 * Makefile.in (ALL_SUBDIRS): Remove.
11000 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11001 (distclean maintainer-clean realclean): Likewise.
11002 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11003 * configure: Regenerate.
11004 * gdb.ada/Makefile.in: Delete.
11005 * gdb.arch/Makefile.in: Likewise.
11006 * gdb.asm/Makefile.in: Likewise.
11007 * gdb.base/Makefile.in: Likewise.
11008 * gdb.btrace/Makefile.in: Likewise.
11009 * gdb.cell/Makefile.in: Likewise.
11010 * gdb.compile/Makefile.in: Likewise.
11011 * gdb.cp/Makefile.in: Likewise.
11012 * gdb.disasm/Makefile.in: Likewise.
11013 * gdb.dlang/Makefile.in: Likewise.
11014 * gdb.dwarf2/Makefile.in: Likewise.
11015 * gdb.fortran/Makefile.in: Likewise.
11016 * gdb.gdb/Makefile.in: Likewise.
11017 * gdb.go/Makefile.in: Likewise.
11018 * gdb.guile/Makefile.in: Likewise.
11019 * gdb.java/Makefile.in: Likewise.
11020 * gdb.linespec/Makefile.in: Likewise.
11021 * gdb.mi/Makefile.in: Likewise.
11022 * gdb.modula2/Makefile.in: Likewise.
11023 * gdb.multi/Makefile.in: Likewise.
11024 * gdb.objc/Makefile.in: Likewise.
11025 * gdb.opencl/Makefile.in: Likewise.
11026 * gdb.opt/Makefile.in: Likewise.
11027 * gdb.pascal/Makefile.in: Likewise.
11028 * gdb.perf/Makefile.in: Likewise.
11029 * gdb.python/Makefile.in: Likewise.
11030 * gdb.reverse/Makefile.in: Likewise.
11031 * gdb.server/Makefile.in: Likewise.
11032 * gdb.stabs/Makefile.in: Likewise.
11033 * gdb.threads/Makefile.in: Likewise.
11034 * gdb.trace/Makefile.in: Likewise.
11035 * gdb.xml/Makefile.in: Likewise.
11036 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11037 GDB_PARALLEL.
11038 (standard_output_file): Remove check for GDB_PARALLEL, always
11039 return path in outputs/$subdir/$testname.
11040
11041 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11042
11043 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11044 (site.exp): Assign abs_srcdir to tcl's srcdir.
11045
11046 2016-02-04 Yao Qi <yao.qi@linaro.org>
11047
11048 * gdb.base/foll-exec-mode.c: Include limits.h.
11049 (main): Add parameters argc and argv. Get directory from
11050 argv[0].
11051 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11052 compilation.
11053 * gdb.base/foll-exec.c: Include limits.h.
11054 (main): Add parameters argc and argv.
11055 Get directory from argv[0].
11056 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11057 Adjust tests on the number of lines as source code changed.
11058 * gdb.base/foll-vfork-exit.c: Include limits.h.
11059 (main): Add one line of statement before vfork.
11060 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11061 (main): Add parameters argc and argv. Get directory from
11062 argv[0].
11063 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11064 (setup_gdb): Set tbreak to skip some source lines.
11065 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11066 (main): Add parameters argc and argv. Get directory from
11067 argv[0].
11068 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11069 compilation.
11070 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11071 (main): Add parameters argc and argv. Get directory from
11072 argv[0].
11073 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11074 compilation.
11075
11076 2016-02-01 Doug Evans <dje@google.com>
11077
11078 * gdb.base/skip.exp: Clean up multiple references to same test name.
11079
11080 2016-02-01 Pedro Alves <palves@redhat.com>
11081
11082 PR remote/19496
11083 * gdb.threads/forking-threads-plus-breakpoint.exp
11084 (displaced_stepping_supported): New global.
11085 (probe_displaced_stepping_support): New procedure.
11086 (do_test): Add 'displaced' parameter, and use it.
11087 (top level): Check for displaced stepping support. Add displaced
11088 stepping on/off testing axis.
11089
11090 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11091
11092 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11093 pointer. Don't perform further tests on the unassociated pointer
11094 if the first test fails.
11095
11096 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11097
11098 * gdb.base/max-value-size.c: New file.
11099 * gdb.base/max-value-size.exp: New file.
11100 * gdb.base/huge.exp: Disable max-value-size for this test.
11101
11102 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11103
11104 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11105
11106 2016-01-28 Yao Qi <yao.qi@linaro.org>
11107
11108 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11109
11110 2016-01-25 Pedro Alves <palves@redhat.com>
11111
11112 PR threads/19461
11113 * gdb.base/fork-running-state.c: New file.
11114 * gdb.base/fork-running-state.exp: New file.
11115
11116 2016-01-25 Pedro Alves <palves@redhat.com>
11117
11118 PR gdb/19494
11119 * gdb.base/catch-fork-kill.c: New file.
11120 * gdb.base/catch-fork-kill.exp: New file.
11121
11122 2016-01-25 Pedro Alves <palves@redhat.com>
11123
11124 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11125 Delete, moved to lib/gdb.exp.
11126 * gdb.threads/forking-threads-plus-breakpoint.exp
11127 (foreach_with_prefix): Likewise.
11128 * gdb.threads/process-dies-while-handling-bp.exp
11129 (foreach_with_prefix): Likewise.
11130 * lib/gdb.exp (foreach_with_prefix): New procedure.
11131
11132 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11133
11134 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11135 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11136
11137 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11138
11139 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11140 endian targets.
11141
11142 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11143 Pedro Alves <palves@redhat.com>
11144
11145 Fix testsuite compatibility with Guile.
11146 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11147 number.
11148
11149 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11150
11151 Fix testsuite compatibility with Guile.
11152 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11153 (thread 1): New test for backtrace through signal handler.
11154
11155 2016-01-22 Yao Qi <yao.qi@linaro.org>
11156
11157 PR testsuite/19491
11158 * gdb.base/multi-forks.c: Include
11159 ../lib/unbuffer_output.c
11160 (main): Call gdb_unbuffer_output.
11161
11162 2016-01-21 Doug Evans <dje@google.com>
11163
11164 * lib/ada.exp (gdb_compile_ada): Fix typo.
11165
11166 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11167
11168 * gdb.base/break-fun-addr.exp: New file.
11169 * gdb.base/break-fun-addr1.c: New file.
11170 * gdb.base/break-fun-addr2.c: New file.
11171
11172 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11173
11174 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11175 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11176 enum flag values.
11177
11178 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11179
11180 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11181 when GDB can not set the vector return value. Add more comments
11182 for clarification.
11183
11184 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11185
11186 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11187 command.
11188
11189 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11190
11191 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11192
11193 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11194
11195 * Makefile.in (check-single): Pass --status to runtest.
11196 (check/%.exp): Likewise.
11197
11198 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11199
11200 * Makefile.in (check-parallel): Propagate return code from make
11201 do-check-parallel.
11202
11203 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11204
11205 * gdb.trace/ftrace.exp: Fix expected message on continue.
11206 * gdb.trace/pending.exp: Fix expected message on continue.
11207 * gdb.trace/trace-break.exp: Fix expected message on continue.
11208
11209 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11210
11211 * lib/gdb.exp (gdb_test): Remove unused global references.
11212
11213 2016-01-18 Pedro Alves <palves@redhat.com>
11214
11215 * gdb.base/async-shell.exp: Adjust expected output.
11216 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11217 * gdb.base/siginfo-thread.exp: Adjust expected output.
11218 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11219 * gdb.java/jnpe.exp: Adjust expected output.
11220 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11221 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11222 * gdb.threads/leader-exit.exp: Adjust expected output.
11223 * gdb.threads/manythreads.exp: Adjust expected output.
11224 * gdb.threads/pthreads.exp: Adjust expected output.
11225 * gdb.threads/schedlock.exp: Adjust expected output.
11226 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11227 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11228 expected output.
11229 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11230 output.
11231 * gdb.threads/sigthread.exp: Adjust expected output.
11232 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11233
11234 2016-01-18 Yao Qi <yao.qi@linaro.org>
11235
11236 * gdb.guile/scm-section-script.c: Replace @progbits with
11237 %progbits.
11238 * gdb.python/py-section-script.c: Likewise.
11239
11240 2016-01-15 Pedro Alves <palves@redhat.com>
11241
11242 * gdb.multi/tids.exp: Test star wildcard ranges.
11243
11244 2016-01-15 Pedro Alves <palves@redhat.com>
11245
11246 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11247 command from "thread apply" invocation.
11248 (thr_apply_info_thr_invalid): Default the expected output to the
11249 input tid list.
11250 (top level): Add tests that use convenience variables. Add tests
11251 for "thread apply" with a valid TID list, but missing the command.
11252
11253 2016-01-13 Pedro Alves <palves@redhat.com>
11254
11255 * gdb.base/default.exp: Expect $_gthread as well.
11256 * gdb.multi/tids.exp: Test $_gthread.
11257 * gdb.threads/thread-specific.exp: Test $_gthread.
11258
11259 2016-01-13 Pedro Alves <palves@redhat.com>
11260
11261 * gdb.multi/tids.exp: Test "info threads -gid".
11262
11263 2016-01-13 Pedro Alves <palves@redhat.com>
11264
11265 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11266 Breakpoint.thread.
11267 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11268
11269 2016-01-07 Pedro Alves <palves@redhat.com>
11270
11271 * gdb.base/break.exp: Adjust to output changes.
11272 * gdb.base/hbreak2.exp: Likewise.
11273 * gdb.base/sepdebug.exp: Likewise.
11274 * gdb.base/watch_thread_num.exp: Likewise.
11275 * gdb.linespec/keywords.exp: Likewise.
11276 * gdb.multi/info-threads.exp: Likewise.
11277 * gdb.threads/thread-find.exp: Likewise.
11278 * gdb.multi/tids.c: New file.
11279 * gdb.multi/tids.exp: New file.
11280
11281 2016-01-13 Pedro Alves <palves@redhat.com>
11282
11283 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11284
11285 2016-01-13 Pedro Alves <palves@redhat.com>
11286
11287 * gdb.base/default.exp: Expect $_inferior as well.
11288 * gdb.multi/base.exp: Test $_inferior.
11289
11290 2016-01-13 Pedro Alves <palves@redhat.com>
11291
11292 PR breakpoints/19388
11293 * gdb.base/catch-signal-siginfo-cond.c: New file.
11294 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11295
11296 2016-01-12 Josh Stone <jistone@redhat.com>
11297 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11298
11299 * gdb.base/catch-syscall.c (do_execve): New variable.
11300 (main): Conditionally trigger an execve.
11301 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11302 (test_catch_syscall_execve): New, check entry/return across execve.
11303 (do_syscall_tests): Call test_catch_syscall_execve.
11304
11305 2016-01-12 Pedro Alves <palves@redhat.com>
11306
11307 * gdb.base/random-signal.exp (do_test): New procedure, with body
11308 of testcase moved in.
11309
11310 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11311 Pedro Alves <palves@redhat.com>
11312
11313 * gdb.base/funcargs.exp (finish from indirectly called function):
11314 Reintroduce the case for 'First'.
11315
11316 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11317 Pedro Alves <palves@redhat.com>
11318
11319 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11320 (tcatch_vfork_then_child_follow_exec)
11321 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11322 identification.
11323
11324 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11325
11326 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11327 and repeats to unlimited.
11328 * gdb.python/py-value.exp: Likewise.
11329 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11330 and repeats to unlimited.
11331
11332 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11333
11334 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11335 and reordering the functions.
11336 * gdb.multi/hangout.c: Likewise.
11337 * gdb.multi/hello.c: Likewise.
11338
11339 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11340
11341 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11342 absolute.
11343 (SingleStatisticTestResult.report): Use dict.keys instead of
11344 dict.iterkeys.
11345
11346 2016-01-06 Pedro Alves <palves@redhat.com>
11347
11348 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11349
11350 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11351
11352 * gdb.btrace/dlopen.exp: New.
11353 * gdb.btrace/dlopen.c: New.
11354 * gdb.btrace/dlopen-dso.c: New.
11355
11356 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11357
11358 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11359 PATTERN argument is optional.
11360
11361 2015-12-24 Joel Brobecker <brobecker@adacore.com>
11362
11363 * lib/ada.exp (target_compile_ada_from_dir): New function.
11364 (gdb_compile_ada): Reimplement avoiding the use of project files.
11365 * gdb.ada/gnat_ada.gpr: Delete.
11366 * gdb.ada/cond_lang.exp: Adjust test to make path before
11367 filename optional.
11368 * gdb.ada/small_reg_param.exp: Likewise.
11369
11370 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11371
11372 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11373
11374 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11375
11376 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11377 case.
11378
11379 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11380
11381 * gdb.base/break.exp: Remove dead code.
11382 * gdb.base/sepdebug.exp: Likewise.
11383
11384 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11385
11386 * gdb.asm/asm-source.exp: Remove HP-UX references.
11387 * gdb.base/annota1.exp: Likewise.
11388 * gdb.base/annota3.exp: Likewise.
11389 * gdb.base/attach.exp: Likewise.
11390 * gdb.base/bigcore.exp: Likewise.
11391 * gdb.base/break.exp: Likewise.
11392 * gdb.base/call-ar-st.exp: Likewise.
11393 * gdb.base/callfuncs.exp: Likewise.
11394 * gdb.base/catch-fork-static.exp: Likewise.
11395 * gdb.base/display.exp: Likewise.
11396 * gdb.base/foll-exec-mode.exp: Likewise.
11397 * gdb.base/foll-exec.exp: Likewise.
11398 * gdb.base/foll-fork.exp: Likewise.
11399 * gdb.base/foll-vfork.exp: Likewise.
11400 * gdb.base/funcargs.exp: Likewise.
11401 * gdb.base/hbreak2.exp: Likewise.
11402 * gdb.base/inferior-died.exp: Likewise.
11403 * gdb.base/interrupt.exp: Likewise.
11404 * gdb.base/multi-forks.exp: Likewise.
11405 * gdb.base/nodebug.exp: Likewise.
11406 * gdb.base/sepdebug.exp: Likewise.
11407 * gdb.base/solib1.c: Likewise.
11408 * gdb.base/step-test.exp: Likewise.
11409 * gdb.mi/non-stop.c: Likewise.
11410 * gdb.mi/pthreads.c: Likewise.
11411 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11412 * gdb.threads/pthreads.c: Likewise.
11413 * gdb.threads/staticthreads.exp: Likewise.
11414 * lib/future.exp: Likewise.
11415 * lib/gdb.exp: Likewise.
11416 * gdb.base/so-indr-cl.c: Remove.
11417 * gdb.base/so-indr-cl.exp: Likewise.
11418 * gdb.base/solib.c: Likewise.
11419 * gdb.base/solib.exp: Likewise.
11420 * gdb.base/solib2.c: Likewise.
11421
11422 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11423
11424 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11425 * gdb.base/call-ar-st.exp: Likewise.
11426 * gdb.base/callfuncs.exp: Likewise.
11427 * gdb.base/condbreak.exp: Likewise.
11428 * gdb.base/constvars.exp: Likewise.
11429 * gdb.base/hbreak2.exp: Likewise.
11430 * gdb.base/langs.exp: Likewise.
11431 * gdb.base/list.exp: Likewise.
11432 * gdb.base/long_long.exp: Likewise.
11433 * gdb.base/ptype.exp: Likewise.
11434 * gdb.base/scope.exp: Likewise.
11435 * gdb.base/signals.exp: Likewise.
11436 * gdb.base/so-impl-ld.exp: Likewise.
11437 * gdb.base/varargs.exp: Likewise.
11438 * gdb.base/volatile.exp: Likewise.
11439 * gdb.base/whatis.exp: Likewise.
11440 * gdb.cp/cplusfuncs.exp: Likewise.
11441 * gdb.cp/inherit.exp: Likewise.
11442 * gdb.cp/local.exp: Likewise.
11443 * gdb.cp/member-ptr.exp: Likewise.
11444 * gdb.cp/method.exp: Likewise.
11445 * gdb.cp/overload.exp: Likewise.
11446 * gdb.cp/templates.exp: Likewise.
11447 * gdb.stabs/weird.exp: Likewise.
11448 * lib/compiler.c: Likewise.
11449 * lib/compiler.cc: Likewise.
11450 * lib/cp-support.exp: Likewise.
11451 * lib/gdb.exp: Likewise.
11452
11453 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11454
11455 * configure.ac: Remove HP-UX case.
11456 * configure: Regenerate.
11457
11458 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11459
11460 * lib/gdb.exp (gdb_compile): Add function doc.
11461
11462 2015-12-17 Pedro Alves <palves@redhat.com>
11463
11464 PR threads/19354
11465 * gdb.multi/info-threads.exp: New file.
11466
11467 2015-12-15 Yao Qi <yao.qi@linaro.org>
11468
11469 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11470 is aarch64*-*-*.
11471
11472 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11473
11474 * gdb.base/history-duplicates.exp: Skip if no readline support.
11475
11476 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11477
11478 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11479
11480 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11481
11482 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11483
11484 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11485
11486 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11487 ctrl-C if nointerrupts target property is set.
11488 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11489 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11490 * gdb.base/paginate-bg-execution.exp: Likewise.
11491 * gdb.base/paginate-execution-startup.exp: Likewise.
11492 * gdb.base/random-signal.exp: Likewise.
11493 * gdb.base/range-stepping.exp: Likewise.
11494 * gdb.cp/annota2.exp: Likewise.
11495 * gdb.cp/annota3.exp: Likewise.
11496 * gdb.gdb/selftest.exp: Likewise.
11497 * gdb.threads/continue-pending-status.exp: Likewise.
11498 * gdb.threads/leader-exit.exp: Likewise.
11499 * gdb.threads/manythreads.exp: Likewise.
11500 * gdb.threads/pthreads.exp: Likewise.
11501 * gdb.threads/schedlock.exp: Likewise.
11502 * gdb.threads/sigthread.exp: Likewise.
11503
11504 2015-12-11 Don Breazeal <donb@codesourcery.com>
11505
11506 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11507 remote.
11508 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11509 * gdb.base/foll-exec.exp (main): Enable for target remote.
11510 * gdb.base/foll-fork.exp (main): Likewise.
11511 * gdb.base/foll-vfork.exp (main): Likewise.
11512 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11513 (proc continue_to_exit_bp_loc): Use clean_restart.
11514 * gdb.base/pie-execl.exp (main): Disable for target remote.
11515 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11516 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11517 * gdb.threads/execl.exp (main): Likewise.
11518 * gdb.threads/fork-child-threads.exp (main): Likewise.
11519 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11520 remote.
11521 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11522 remote.
11523 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11524 pid.tid style ptids, instead of just tid.
11525 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11526 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11527 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11528 ptids, instead of just tid.
11529
11530 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11531
11532 * gdb.base/list.exp (test_list_forward): Add end of file error
11533 test.
11534 (test_repeat_list_command): Add end of file error test.
11535 (test_list_backwards): Add beginning of file error test.
11536
11537 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11538
11539 * gdb.base/list.exp (test_list_invalid_args): New function,
11540 defined, and called.
11541
11542 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11543
11544 * gdb.base/list.exp (test_list): Make test names unique.
11545
11546 2015-12-11 Yao Qi <yao.qi@linaro.org>
11547
11548 * gdb.base/coremaker2.c: Remove.
11549
11550 2015-12-10 Pedro Alves <palves@redhat.com>
11551
11552 * gdb.multi/base.exp: Remove stale "spaces" references.
11553
11554 2015-12-10 Pedro Alves <palves@redhat.com>
11555
11556 * gdb.multi/base.exp: Don't use nowarnings.
11557 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11558 * gdb.multi/hangout.c: Include stdio.h.
11559 * gdb.multi/hello.c: Include stdlib.h.
11560 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11561 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11562 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11563
11564 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11565
11566 * gdb.dwarf2/dw2-ranges-base.c: New file.
11567 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11568 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11569 support additional line table, and debug ranges generation.
11570 (Dwarf::ranges): New function, generate .debug_ranges.
11571 (Dwarf::lines): Support generating simple line table programs.
11572 (Dwarf::assemble): Initialise new namespace variables.
11573
11574 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11575
11576 * gdb.base/async.exp (proc test_background): Add case for
11577 asynchronous execution not supported.
11578
11579 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11580
11581 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11582 format and change test names to make them unique.
11583
11584 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11585 Pedro Alves <pedro@redhat.com>
11586
11587 PR gdb/18702
11588 Add checking of floatformats setup on x86_64 hosts.
11589 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11590 (smallval, bigval): New labels/constants.
11591 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11592 float" after loading bigval and smallval.
11593
11594 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11595
11596 * gdb.ada/fun_overload_menu.exp: New testcase.
11597 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11598
11599 2015-12-04 Josh Stone <jistone@redhat.com>
11600
11601 * gdb.base/catch-fork-static.exp: New.
11602
11603 2015-12-03 Yao Qi <yao.qi@linaro.org>
11604
11605 * gdb.base/sizeof.c: Don't include stdio.h and
11606 ../lib/unbuffer_output.c.
11607 (main): New variable 'size' and 'value'. Remove printf and
11608 gdb_unbuffer_output. Assign return value to size and value.
11609 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11610 at the beginning.
11611 (check_sizeof): Check the result by printing variable 'size'.
11612 (check_valueof): Check the result by printing variable 'value'.
11613
11614 2015-12-01 Yao Qi <yao.qi@linaro.org>
11615
11616 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11617 for aarch64*-*-linux* target.
11618
11619 2015-11-30 Pedro Alves <palves@redhat.com>
11620
11621 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11622
11623 2015-11-30 Pedro Alves <palves@redhat.com>
11624
11625 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11626 Handle non-stop mode vCont replies.
11627
11628 2015-11-30 Pedro Alves <palves@redhat.com>
11629
11630 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11631 prepare_for_testing. Start gdb with "set non-stop on" appended to
11632 GDBFLAGS. Lax expected stop output.
11633
11634 2015-11-27 Yao Qi <yao.qi@linaro.org>
11635
11636 * gdb.arch/arm-neon.exp: New.
11637 * gdb.arch/arm-neon.c: New.
11638
11639 2015-11-27 Yao Qi <yao.qi@linaro.org>
11640
11641 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11642
11643 2015-11-27 Yao Qi <yao.qi@linaro.org>
11644
11645 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11646 frames-invalid annotation.
11647
11648 2015-11-27 Yao Qi <yao.qi@linaro.org>
11649
11650 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11651
11652 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11653
11654 * gdb.threads/names.exp: New file.
11655 * gdb.threads/names.c: New file.
11656 * README: Mention gdb,no_thread_names.
11657
11658 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11659
11660 PR 19297
11661 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11662 support" error.
11663
11664 2015-11-24 Pedro Alves <palves@redhat.com>
11665
11666 PR 17539
11667 * gdb.base/display.exp: Expect displays to be sorted in ascending
11668 order. Use multi_line.
11669 * gdb.base/solib-display.exp: Likewise.
11670
11671 2015-11-24 Pedro Alves <palves@redhat.com>
11672
11673 PR 17539
11674 * gdb.base/display.exp: Expect displays to be sorted in ascending
11675 order. Use multi_line.
11676 * gdb.base/solib-display.exp: Likewise.
11677
11678 2015-11-24 Pedro Alves <palves@redhat.com>
11679
11680 PR 17539
11681 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11682 threads in ascending order.
11683 * gdb.base/foll-fork.exp: Likewise.
11684 * gdb.base/foll-vfork.exp: Likewise.
11685 * gdb.base/multi-forks.exp: Likewise.
11686 * gdb.mi/mi-nonstop.exp: Likewise.
11687 * gdb.mi/mi-nsintrall.exp: Likewise.
11688 * gdb.multi/base.exp: Likewise.
11689 * gdb.multi/multi-arch.exp: Likewise.
11690 * gdb.python/py-inferior.exp: Likewise.
11691 * gdb.threads/break-while-running.exp: Likewise.
11692 * gdb.threads/execl.exp: Likewise.
11693 * gdb.threads/gcore-thread.exp: Likewise.
11694 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11695 * gdb.threads/kill.exp: Likewise.
11696 * gdb.threads/linux-dp.exp: Likewise.
11697 * gdb.threads/multiple-step-overs.exp: Likewise.
11698 * gdb.threads/next-bp-other-thread.exp: Likewise.
11699 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11700 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11701 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11702 * gdb.threads/thread-find.exp: Likewise.
11703 * gdb.threads/tls.exp: Likewise.
11704 * lib/mi-support.exp (mi_reverse_list): Delete.
11705 (mi_check_thread_states): No longer reverse list.
11706
11707 2015-11-24 Pedro Alves <palves@redhat.com>
11708
11709 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11710 use lowercase.
11711
11712 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11713
11714 * gdb.trace/actions.c: Include trace-common.h.
11715 (main): Add a location for a fast tracepoint.
11716 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11717 the normal tracepoints.
11718 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11719
11720 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11721
11722 * save-trace.exp: Factor out code to these...
11723 (gdb_save_tracepoints): New.
11724 (gdb_load_tracepoints): New.
11725 (do_save_load_test): New.
11726
11727 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11728
11729 * gdb.base/asmlabel.exp: New test.
11730 * gdb.base/asmlabel.c: New test case.
11731
11732 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11733
11734 * gdb.base/wrong_frame_bt_full-main.c: New file.
11735 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11736 * gdb.base/wrong_frame_bt_full.exp: New file.
11737
11738 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11739
11740 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11741
11742 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11743
11744 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11745 pstate register when comparing registers values in
11746 sparc64-*-linux-gnu targets to avoid spurious differences.
11747
11748 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11749
11750 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11751
11752 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11753
11754 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11755 as type argument to gdb_compile.
11756 * gdb.base/nested-subp2.exp: Likewise.
11757 * gdb.base/nested-subp3.exp: Likewise.
11758
11759 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11760
11761 * lib/dwarf.exp (_note): Fix left shift of negative value.
11762 * gdb.trace/trace-condition.exp: Likewise.
11763
11764 2015-11-13 Yao Qi <yao.qi@linaro.org>
11765
11766 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11767 comments about d10v.
11768 (test_scalar_returns): Likewise.
11769 * gdb.base/d10v.ld: Remove.
11770 * gdb.base/overlays.exp: Remove the target triplet checking for
11771 d10v-*-*.
11772 * gdb.base/structs.exp (test_struct_returns): Remove the
11773 comments about d10v.
11774 (test_struct_calls): Likewise.
11775
11776 2015-11-13 Yao Qi <yao.qi@linaro.org>
11777
11778 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11779 * gdb.base/gnu_vector.c: Don't include stdio.h.
11780 (main): Don't print res and call add_some_intvecs.
11781
11782 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11783
11784 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11785 macro.
11786 (func5): Removed.
11787 (func4): Use FAST_TRACEPOINT_LABEL.
11788 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11789 macro.
11790 (func): Removed.
11791 (thread_function): Use FAST_TRACEPOINT_LABEL.
11792 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11793 (func): Remove.
11794 (marker): Use FAST_TRACEPOINT_LABEL.
11795 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11796 (pendfunc1): Remove.
11797 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11798 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11799 (foo): Remove.
11800 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11801 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11802 macro.
11803 (func): Remove.
11804 (marker): Use FAST_TRACEPOINT_LABEL.
11805 * gdb.trace/trace-common.h: New header.
11806 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11807 macro.
11808 (func): Remove.
11809 (marker): Use FAST_TRACEPOINT_LABEL.
11810 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11811 (func): Remove.
11812 (thread_function): Use FAST_TRACEPOINT_LABEL.
11813
11814 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11815
11816 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11817 in front.
11818 * gdb.trace/change-loc.exp: Use global pcreg definition.
11819 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11820 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11821 in front.
11822 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11823 * gdb.trace/pending.exp: Likewise.
11824 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11825 * gdb.trace/trace-break.exp: Likewise.
11826 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11827 in front.
11828 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11829 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11830 in front.
11831 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11832
11833 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11834
11835 * gdb.ada/fin_fun_out: New testcase.
11836
11837 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11838
11839 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11840 value associated with DW_AT_byte_size.
11841 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11842 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11843 DW_AT_upper_bound.
11844
11845 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11846
11847 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11848 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11849 version.
11850 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11851 gdb.dwarf2/dw2-canonicalize-type.exp,
11852 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11853 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11854 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11855 provided by gdb_target_symbol_prefix_flags_asm.
11856 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11857 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11858 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11859 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11860 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11861 macros where needed). Use this macro for symbols which require
11862 the prefix provided by SYMBOL_PREFIX.
11863
11864 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11865
11866 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11867 New procs.
11868 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11869 representing expressions, of more than one list element.
11870 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11871 to prepend linker symbol prefix to f.
11872 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11873 table_1 and table_2.
11874 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11875 Likewise, for f and g.
11876 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11877 for ptr.
11878 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11879 for main.
11880 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11881 table_1_ptr and table_2_ptr.
11882
11883 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11884 Joel Brobecker <brobecker@adacore.com>
11885
11886 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11887
11888 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11889
11890 * gdb.reverse/s390-mvcle.c: New test.
11891 * gdb.reverse/s390-mvcle.exp: New file.
11892 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11893
11894 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11895
11896 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11897
11898 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11899
11900 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11901 reaching marker2.
11902 * gdb.reverse/getresuid-reverse.exp: Likewise.
11903 * gdb.reverse/pipe-reverse.exp: Likewise.
11904 * gdb.reverse/readv-reverse.exp: Likewise.
11905 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11906 * gdb.reverse/time-reverse.exp: Likewise.
11907 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11908
11909 2015-10-30 Yao Qi <yao.qi@linaro.org>
11910
11911 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11912 (empty_cycle): Remove.
11913 (main): Don't call empty_cycle. Don't use watch_count_done.
11914 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11915 empty_cycle. Rewrite the code counting HW watchpoints.
11916
11917 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11918
11919 * gdb.reverse/fstatat-reverse.c: New test.
11920 * gdb.reverse/fstatat-reverse.exp: New file.
11921 * gdb.reverse/getresuid-reverse.c: New test.
11922 * gdb.reverse/getresuid-reverse.exp: New file.
11923 * gdb.reverse/pipe-reverse.c: New test.
11924 * gdb.reverse/pipe-reverse.exp: New file.
11925 * gdb.reverse/readv-reverse.c: New test.
11926 * gdb.reverse/readv-reverse.exp: New file.
11927 * gdb.reverse/recvmsg-reverse.c: New test.
11928 * gdb.reverse/recvmsg-reverse.exp: New file.
11929 * gdb.reverse/time-reverse.c: New test.
11930 * gdb.reverse/time-reverse.exp: New file.
11931 * gdb.reverse/waitpid-reverse.c: New test.
11932 * gdb.reverse/waitpid-reverse.exp: New file.
11933
11934 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11935
11936 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11937
11938 2015-10-26 Doug Evans <dje@google.com>
11939
11940 PR symtab/17391
11941 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11942 * gdb.dwarf2/bad-regnum.c: New file.
11943 * gdb.dwarf2/bad-regnum.exp: New file.
11944
11945 2015-10-26 Doug Evans <dje@google.com>
11946
11947 PR python/18938
11948 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11949 file.
11950
11951 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11952
11953 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11954 for a change by "Mention language in compile error message".
11955
11956 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11957
11958 PR python/18073
11959 * gdb.python/py-type.c (C::a_method): New.
11960 (C::a_const_method): New.
11961 (C::a_static_method): New.
11962 (a_function): New.
11963 * gdb.python/py-type.exp (test_fields): Test getting fields
11964 from function and method.
11965
11966 2015-10-21 Keven Boell <keven.boell@intel.com>
11967
11968 * gdb.fortran/vla-alloc-assoc.exp: New file.
11969 * gdb.fortran/vla-datatypes.exp: New file.
11970 * gdb.fortran/vla-datatypes.f90: New file.
11971 * gdb.fortran/vla-history.exp: New file.
11972 * gdb.fortran/vla-ptype-sub.exp: New file.
11973 * gdb.fortran/vla-ptype.exp: New file.
11974 * gdb.fortran/vla-sizeof.exp: New file.
11975 * gdb.fortran/vla-sub.f90: New file.
11976 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11977 * gdb.fortran/vla-value-sub-finish.exp: New file.
11978 * gdb.fortran/vla-value-sub.exp: New file.
11979 * gdb.fortran/vla-value.exp: New file.
11980 * gdb.fortran/vla-ptr-info.exp: New file.
11981 * gdb.mi/mi-vla-fortran.exp: New file.
11982 * gdb.mi/vla.f90: New file.
11983
11984 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11985
11986 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11987 of hardwired timeout value.
11988
11989 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11990 Pedro Alves <palves@redhat.com>
11991
11992 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11993 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11994
11995 2015-10-19 Josh Stone <jistone@redhat.com>
11996
11997 * gdb.base/catch-syscall.c: Include <sched.h>.
11998 (unknown_syscall): New variable.
11999 (main): Trigger a vfork and an unknown syscall.
12000 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12001 (unknown_syscall_number): Likewise.
12002 (check_call_to_syscall): Accept an optional syscall pattern.
12003 (check_return_from_syscall): Likewise.
12004 (check_continue): Likewise.
12005 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12006 (test_catch_syscall_skipping_return): New test toggling off 'catch
12007 syscall' to step over the syscall return, then toggling back on.
12008 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12009 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12010 (do_syscall_tests): Call test_catch_syscall_without_args and
12011 test_catch_syscall_mid_vfork.
12012 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12013 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12014
12015 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12016
12017 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12018 print g_vE): Add new pass patterns.
12019 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12020 print various symbol names for vptr fields.
12021
12022 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12023
12024 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12025 results.
12026
12027 2015-10-12 Yao Qi <yao.qi@linaro.org>
12028
12029 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12030
12031 2015-10-12 Yao Qi <yao.qi@linaro.org>
12032
12033 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12034 is aarch64*-*-linux*.
12035
12036 2015-10-12 Yao Qi <yao.qi@linaro.org>
12037
12038 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12039 (can_relocate_bcond_true): ... it.
12040 (can_relocate_bcond_false): New function.
12041 (foo): Likewise.
12042 (can_relocate_bl): Likewise.
12043 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12044 can_relocate_bl.
12045
12046 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12047
12048 * gdb.base/nested-addr.c: New file.
12049 * gdb.base/nested-addr.exp: New testcase.
12050
12051 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12052
12053 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12054 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12055 its output. Ignore the output of "record goto begin" and instead
12056 check that GDB is replaying.
12057
12058 2015-10-09 Pedro Alves <palves@redhat.com>
12059
12060 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12061 (top level): Use it in the run with no args test.
12062
12063 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12064
12065 * gdb.dlang/properties.exp: New file.
12066
12067 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12068
12069 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12070 whether or not address 0x1000 is mapped on the target.
12071
12072 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12073
12074 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12075 build.
12076
12077 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12078
12079 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12080 instruction-history test.
12081
12082 2015-09-28 Doug Evans <dje@google.com>
12083
12084 * gdb.base/gcore.c (array_func): Add reference to static_array.
12085
12086 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12087
12088 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12089 source line.
12090
12091 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12092
12093 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12094 short or char as base type.
12095
12096 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12097
12098 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12099 to allow any size enum.
12100
12101 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12102
12103 * gdb.ada/array_ptr_renaming.exp: New testcase.
12104 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12105 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12106
12107 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12108
12109 * gdb.trace/ftrace-lock.c: New file.
12110 * gdb.trace/ftrace-lock.exp: New file.
12111
12112 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12113
12114 * gdb.arch/insn-reloc.c: New file.
12115 * gdb.arch/ftrace-insn-reloc.exp: New file.
12116
12117 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12118
12119 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12120 instruction.
12121 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12122 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12123 * gdb.trace/range-stepping.c: Likewise.
12124 * gdb.trace/trace-break.c: Likewise.
12125 * gdb.trace/trace-mt.c (thread_function): Likewise.
12126 * gdb.trace/ftrace.c (marker): Likewise.
12127 * gdb.trace/trace-condition.c (marker): Likewise.
12128 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12129 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12130 is_aarch64_target.
12131
12132 2015-09-18 Doug Evans <xdje42@gmail.com>
12133
12134 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12135 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12136
12137 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12138
12139 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12140 the breakpoint.
12141
12142 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12143
12144 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12145 the pending breakpoint. Remove timeout override for "Run till
12146 MI pending breakpoint on pendfunc3 on thread 2" test.
12147
12148 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12149
12150 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12151 filename pattern.
12152
12153 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12154
12155 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12156 in breakpoint filename pattern.
12157
12158 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12159
12160 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12161
12162 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12163
12164 * gdb.linespec/explicit.exp: Check for readline support for
12165 tab-completion tests. Fix obvious typo.
12166
12167 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12168
12169 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12170 and replay.
12171
12172 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12173
12174 * gdb.btrace/non-stop.c: New.
12175 * gdb.btrace/non-stop.exp: New.
12176
12177 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12178 Yao Qi <yao.qi@linaro.org>
12179
12180 * gdb.trace/trace-condition.c: New file.
12181 * gdb.trace/trace-condition.exp: New file.
12182
12183 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12184
12185 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12186 for testing bytecode compilation.
12187
12188 2015-09-16 Pedro Alves <palves@redhat.com>
12189 Sandra Loosemore <sandra@codesourcery.com>
12190
12191 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12192 (SECONDS): Redefine.
12193 (main): Call pthread_kill and alarm early.
12194 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12195 support.
12196 (test): If the target can't hardware step and doesn't support
12197 displaced stepping, increase the timeout.
12198
12199 2015-09-16 Pedro Alves <palves@redhat.com>
12200
12201 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12202 (enable_debug): New procedures.
12203 (test): Use them. Bail out if waiting for threads fails.
12204 (top level): Bail out if a test fails.
12205
12206 2015-09-16 Yao Qi <yao.qi@linaro.org>
12207
12208 * gdb.asm/asm-source.exp: Set asm-arch for
12209 aarch64*-*-* target.
12210 * gdb.asm/aarch64.inc: New file.
12211
12212 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12213
12214 * gdb.ada/array_of_variable_length.exp: New testcase.
12215 * gdb.ada/array_of_variable_length/foo.adb: New file.
12216 * gdb.ada/array_of_variable_length/pck.adb: New file.
12217 * gdb.ada/array_of_variable_length/pck.ads: New file.
12218
12219 2015-09-15 Doug Evans <dje@google.com>
12220
12221 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12222 of function static local variable.
12223
12224 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12225
12226 * gdb.threads/tls-so_extern.exp: New test file.
12227 * gdb.threads/tls-so_extern.c: New test file.
12228 * gdb.threads/tls-so_extern_main.c: New test file.
12229
12230 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12231
12232 * gdb.opt/solib-intra-step-lib.c: New file.
12233 * gdb.opt/solib-intra-step-main.c: New file.
12234 * gdb.opt/solib-intra-step.exp: New file.
12235
12236 2015-09-15 Pedro Alves <palves@redhat.com>
12237
12238 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12239 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12240
12241 2015-09-14 Pedro Alves <palves@redhat.com>
12242
12243 * gdb.base/hook-stop-continue.c: Delete.
12244 * gdb.base/hook-stop-continue.exp: Delete.
12245 * gdb.base/hook-stop-frame.c: Delete.
12246 * gdb.base/hook-stop-frame.exp: Delete.
12247 * gdb.base/hook-stop.c: New file.
12248 * gdb.base/hook-stop.exp: New file.
12249
12250 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12251
12252 * gdb.ada/access_to_packed_array.exp: New testcase.
12253 * gdb.ada/access_to_packed_array/foo.adb: New file.
12254 * gdb.ada/access_to_packed_array/pack.adb: New file.
12255 * gdb.ada/access_to_packed_array/pack.ads: New file.
12256
12257 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12258
12259 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12260 buffer size test.
12261
12262 2015-09-11 Don Breazeal <donb@codesourcery.com>
12263
12264 * gdb.base/foll-exec.c: Add copyright header. Fix
12265 formatting issues.
12266 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12267 (do_exec_tests): Use clean_restart in place of zap_session,
12268 and for test initialization. Fix formatting issues. Use
12269 fail in place of perror.
12270 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12271 an expect statement to match an expression with output from
12272 the program under debug.
12273 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12274 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12275 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12276 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12277 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12278
12279 2015-09-09 Doug Evans <dje@google.com>
12280
12281 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12282
12283 2015-09-09 Doug Evans <dje@google.com>
12284
12285 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12286
12287 2015-09-09 Doug Evans <dje@google.com>
12288
12289 * gdb.base/savedregs.exp: Fix typo.
12290
12291 2015-09-09 Pedro Alves <palves@redhat.com>
12292
12293 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12294
12295 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12296
12297 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12298 command actually switches threads. Give up on remaining
12299 tests if target fails to stop at breakpoint.
12300
12301 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12302
12303 * gdb.ada/funcall_char.exp: New testcase.
12304 * gdb.ada/funcall_char/foo.adb: New file.
12305
12306 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12307
12308 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12309 expected outputs. Add two testcases for completing ambiguous
12310 functions.
12311 * gdb.ada/complete/aux_pck.adb: New file.
12312 * gdb.ada/complete/aux_pck.ads: New file.
12313 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12314 Ambiguous_Func functions.
12315 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12316 * gdb.ada/complete/pck.adb: Likewise.
12317
12318 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12319
12320 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12321 failures to run the test program under GDB.
12322
12323 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
12324
12325 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12326 to C.
12327
12328 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12329
12330 * gdb.base/run-after-attach.exp: New test file.
12331 * gdb.base/run-after-attach.c: New test file.
12332
12333 2015-08-26 Don Breazeal <donb@codesourcery.com>
12334
12335 * gdb.base/foll-exec-2.c: New test program.
12336 * gdb.base/foll-exec-2.exp: New test.
12337
12338 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12339
12340 * gdb.base/nested-subp1.exp: New file.
12341 * gdb.base/nested-subp1.c: New file.
12342 * gdb.base/nested-subp2.exp: New file.
12343 * gdb.base/nested-subp2.c: New file.
12344 * gdb.base/nested-subp3.exp: New file.
12345 * gdb.base/nested-subp3.c: New file.
12346
12347 2015-08-24 Pedro Alves <palves@redhat.com>
12348
12349 * gdb.server/connect-without-multi-process.c: New file.
12350 * gdb.server/connect-without-multi-process.exp: New file.
12351
12352 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12353
12354 * gdb.opt/inline-markers.c: Make z int.
12355
12356 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12357
12358 * gdb.opt/inline-markers.c: Make z volatile.
12359
12360 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12361
12362 * gdb.opt/inline-bt.c: New volatile global z.
12363 * gdb.opt/inline-cmds.c: Likewise.
12364 * gdb.opt/inline-locals.c: Likewise.
12365 * gdb.opt/inline-markers.c: New extern global z.
12366 (marker): Use z.
12367 (inline_fn): Likewise.
12368
12369 2015-08-24 Pedro Alves <palves@redhat.com>
12370
12371 * config/m32r-stub.exp: Remove file.
12372 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12373 * gdb.base/call-rt-st.exp: Likewise.
12374 * gdb.base/call-strs.exp: Likewise.
12375 * gdb.base/default.exp: Remove references to h8300-*-hms and
12376 *-*-udi*.
12377 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12378
12379 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12380
12381 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12382 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12383 and "return" use KFAIL when GDB can not read/write the vector
12384 return value.
12385
12386 2015-08-21 Gary Benson <gbenson@redhat.com>
12387
12388 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12389
12390 2015-08-20 Pedro Alves <palves@redhat.com>
12391
12392 * gdb.server/solib-list.exp: No longer expect an interior stop in
12393 non-stop mode.
12394
12395 2015-08-20 Pedro Alves <palves@redhat.com>
12396
12397 * gdb.server/connect-stopped-target.c: New file.
12398 * gdb.server/connect-stopped-target.exp: New file.
12399
12400 2015-08-20 Pedro Alves <palves@redhat.com>
12401
12402 * gdb.dwarf2/comp-unit-lang.exp: New file.
12403 * gdb.dwarf2/comp-unit-lang.c: New file.
12404
12405 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12406
12407 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12408 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12409
12410 2015-08-19 Kevin Buettner <kevinb@redhat.com>
12411
12412 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12413 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12414
12415 2015-08-18 Doug Evans <dje@google.com>
12416 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12417
12418 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12419 skip_python_tests. New arg prompt_regexp.
12420 (skip_python_tests): New function.
12421 * lib/mi-support.exp (mi_skip_python_tests): New function.
12422 * gdb.python/py-mi-objfile-gdb.py: New file.
12423 * gdb.python/py-mi-objfile.c: New file.
12424 * gdb.python/py-mi-objfile.exp: New file.
12425
12426 2015-08-17 Keith Seitz <keiths@redhat.com>
12427
12428 * gdb.linespec/explicit.exp: Move strace test from here ...
12429 * gdb.trace/strace.exp: ... to here.
12430
12431 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12432
12433 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12434 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12435
12436 2015-08-14 Doug Evans <xdje42@gmail.com>
12437
12438 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12439 inferior before selecting a new file.
12440
12441 2015-08-14 Doug Evans <xdje42@gmail.com>
12442
12443 * gdb.mi/mi-disassemble.exp: Update.
12444 * gdb.base/disasm-optim.S: New file.
12445 * gdb.base/disasm-optim.c: New file.
12446 * gdb.base/disasm-optim.h: New file.
12447 * gdb.base/disasm-optim.exp: New file.
12448
12449 2015-08-14 Keith Seitz <keiths@redhat.com>
12450
12451 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12452 "evaluated-by".
12453
12454 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12455
12456 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12457
12458 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12459
12460 * gdb.ada/fun_renaming.exp: New testcase.
12461 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12462 * gdb.ada/fun_renaming/pack.adb: New file.
12463 * gdb.ada/fun_renaming/pack.ads: New file.
12464
12465 2015-08-12 Keith Seitz <keiths@redhat.com>
12466
12467 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12468 gdb_get_line_number.
12469
12470 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12471
12472 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12473 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12474 gdb.base/dso2dso.exp: New files.
12475
12476 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12477 Pedro Alves <palves@redhat.com>
12478 Keith Seitz <keiths@redhat.com>
12479
12480 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12481 GDBFLAGS.
12482
12483 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12484
12485 * gdb.base/gdbhistsize-history.exp
12486 (test_histsize_history_setting): Use save_vars.
12487 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12488 Use save_vars.
12489 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12490 * gdb.base/readline.exp: Use save_vars.
12491
12492 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12493
12494 * lib/gdb.exp (save_vars): New proc.
12495
12496 2015-08-11 Keith Seitz <keiths@redhat.com>
12497
12498 * gdb.base/help.exp: Update help_breakpoint_text.
12499
12500 2015-08-11 Keith Seitz <keiths@redhat.com>
12501
12502 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12503 (at toplevel): Call test_explicit_breakpoints.
12504 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12505 breakpoints.
12506 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12507 breakpoint conditions, "-cond".
12508
12509 2015-08-11 Keith Seitz <keiths@redhat.com>
12510
12511 * gdb.linespec/3explicit.c: New file.
12512 * gdb.linespec/cpexplicit.cc: New file.
12513 * gdb.linespec/cpexplicit.exp: New file.
12514 * gdb.linespec/explicit.c: New file.
12515 * gdb.linespec/explicit.exp: New file.
12516 * gdb.linespec/explicit2.c: New file.
12517 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12518 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12519 before using in the matching pattern.
12520 Clarify that `prefix' is a regular expression.
12521
12522 2015-08-11 Keith Seitz <keiths@redhat.com>
12523
12524 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12525 test.
12526 Add tests for missing ",FMT" and ",".
12527
12528 2015-08-10 Doug Evans <dje@google.com>
12529 Keith Seitz <keiths@redhat.com>
12530
12531 PR gdb/17960
12532 * gdb.base/completion.exp: Add location completer tests.
12533
12534 2015-08-07 Pedro Alves <palves@redhat.com>
12535
12536 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12537 tests here.
12538 (top level): Run do_test with and without displaced stepping.
12539
12540 2015-08-07 Pedro Alves <palves@redhat.com>
12541
12542 * gdb.base/valgrind-disp-step.c: New file.
12543 * gdb.base/valgrind-disp-step.exp: New file.
12544
12545 2015-08-07 Pedro Alves <palves@redhat.com>
12546
12547 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12548 Delete function.
12549 (main): Add alarm. Run an infinite loop instead of calling
12550 wait_threads.
12551 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12552 comment.
12553 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12554 Delete function.
12555 (main): Add alarm. Run an infinite loop instead of calling
12556 wait_threads.
12557 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12558 comment.
12559
12560 2015-08-07 Pedro Alves <palves@redhat.com>
12561
12562 * gdb.base/checkpoint-ns.exp: New file.
12563 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12564 standard_testfile.
12565
12566 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12567
12568 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12569 * gdb.btrace/instruction_history.exp: Update.
12570 * gdb.btrace/tsx.exp: New.
12571 * gdb.btrace/tsx.c: New.
12572
12573 2015-08-06 Pedro Alves <palves@redhat.com>
12574
12575 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12576 increase timeout.
12577 * gdb.reverse/until-precsave.exp: Bump timeouts.
12578
12579 2015-08-06 Pedro Alves <palves@redhat.com>
12580
12581 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12582
12583 2015-08-06 Pedro Alves <palves@redhat.com>
12584
12585 PR gdb/18749
12586 * gdb.threads/process-dies-while-handling-bp.c: New file.
12587 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12588
12589 2015-08-06 Pedro Alves <palves@redhat.com>
12590
12591 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12592 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12593
12594 2015-08-05 Pedro Alves <palves@redhat.com>
12595
12596 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12597 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12598
12599 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12600
12601 * gdb.base/bp-permanent.exp: Report test as unsupported if
12602 the target cannot stop at the permanent breakpoint.
12603
12604 2015-08-03 Doug Evans <dje@google.com>
12605
12606 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12607 10000.
12608
12609 2015-08-03 Doug Evans <dje@google.com>
12610
12611 * Makefile.in (workers/%.worker, build-perf): New rule.
12612 (GDB_PERFTEST_MODE): New variable.
12613 (check-perf): Use it.
12614 (clean): Clean up gdb.perf parallel build subdirs.
12615 * lib/build-piece.exp: New file.
12616 * lib/gdb.exp (make_gdb_parallel_path): New function
12617 (standard_output_file, standard_temp_file): Call it.
12618 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12619 of $GDB_PARALLEL.
12620 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12621
12622 2015-08-03 Doug Evans <dje@google.com>
12623
12624 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12625 (LOG_FILE_NAME): New global.
12626 (TextReporter.__init__): Initialize self.txt_sum.
12627 (TextReporter.report): Add support for multiple data-points.
12628 Move report to perftest.sum, put raw data in perftest.log.
12629 (TextReporter.start): Open sum and log files.
12630 (TextReporter.end): Close sum and log files.
12631 * gdb.perf/lib/perftest/testresult.py
12632 (SingleStatisticTestResult.record): Handle multiple data-points.
12633
12634 2015-07-31 Pedro Alves <palves@redhat.com>
12635
12636 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12637 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12638 kill_wait_spawned_process instead of explicit "kill -9".
12639 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12640 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12641 kill_wait_spawned_process.
12642 * gdb.base/attach-twice.exp: Likewise.
12643 * gdb.base/attach.exp: Likewise.
12644 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12645 gdb_test_multiple.
12646 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12647 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12648 kill_wait_spawned_process.
12649 * gdb.base/valgrind-infcall.exp: Likewise.
12650 * gdb.multi/multi-attach.exp: Likewise.
12651 * gdb.python/py-prompt.exp: Likewise.
12652 * gdb.python/py-sync-interp.exp: Likewise.
12653 * gdb.server/ext-attach.exp: Likewise.
12654 * gdb.threads/attach-into-signal.exp (corefunc): Use
12655 spawn_wait_for_attach, spawn_id_get_pid and
12656 kill_wait_spawned_process.
12657 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12658 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12659 spawn_id_get_pid and kill_wait_spawned_process.
12660 * gdb.threads/attach-stopped.exp (corefunc): Use
12661 spawn_wait_for_attach, spawn_id_get_pid and
12662 kill_wait_spawned_process.
12663 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12664 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12665 kill_wait_spawned_process instead of explicit "kill -9".
12666 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12667 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12668 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12669 processes. Don't map cygwin/windows pids here. Now returns a
12670 spawn id list.
12671
12672 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12673
12674 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12675 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12676 correct patch.
12677
12678 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12679
12680 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12681
12682 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12683
12684 Reapply:
12685 2014-05-21 Mark Wielaard <mjw@redhat.com>
12686
12687 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12688
12689 2015-07-30 Pedro Alves <palves@redhat.com>
12690
12691 * linux-low.c (handle_extended_wait): Set the child's last
12692 reported status to TARGET_WAITKIND_STOPPED.
12693
12694 2015-07-30 Pedro Alves <palves@redhat.com>
12695
12696 PR threads/18600
12697 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12698 only shows inferior 1.
12699
12700 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12701 Pedro Alves <palves@redhat.com>
12702
12703 PR threads/18600
12704 * gdb.threads/fork-plus-threads.c: New file.
12705 * gdb.threads/fork-plus-threads.exp: New file.
12706
12707 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12708
12709 * gdb.base/batch-preserve-term-settings.exp
12710 (test_terminal_settings_preserved_after_cli_exit): Use
12711 send_quit_command.
12712
12713 2015-07-29 Pedro Alves <palves@redhat.com>
12714 Don Breazeal <donb@codesourcery.com>
12715
12716 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12717 output from both inferior_spawn_id and gdb_spawn_id.
12718
12719 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12720
12721 * gdb.threads/attach-into-signal.exp (corefunc): Use
12722 with_test_prefix on nested loops, uniquefying the test messages.
12723
12724 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12725
12726 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12727 commit.
12728
12729 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12730
12731 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12732 New proc.
12733 (test_terminal_settings_preserved_after_sigterm): New test.
12734
12735 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12736
12737 * gdb.base/batch-preserve-term-settings.exp
12738 (test_terminal_settings_preserved_after_cli_exit): New test.
12739
12740 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12741
12742 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12743 manipulation of saved_gdbflags.
12744 (test_terminal_settings_preserved): Remove global declaration of
12745 the unused variable pagination_prompt. Remove manipulation of
12746 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12747 GDBFLAGS.
12748
12749 2015-07-29 Pedro Alves <palves@redhat.com>
12750
12751 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12752
12753 2015-07-29 Pedro Alves <palves@redhat.com>
12754
12755 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12756 at the top.
12757
12758 2015-07-29 Pedro Alves <palves@redhat.com>
12759
12760 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12761 (main): Call gdb_unbuffer_output.
12762 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12763 (main): Call gdb_unbuffer_output.
12764 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12765 (main): Call gdb_unbuffer_output.
12766 * gdb.base/call-strs.exp: Adjust to step over the
12767 gdb_unbuffer_output call.
12768 * gdb.base/catch-gdb-caused-signals.c: Include
12769 "../lib/unbuffer_output.c".
12770 (main): Call gdb_unbuffer_output.
12771 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12772 (main): Call gdb_unbuffer_output.
12773 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12774 (main): Call gdb_unbuffer_output.
12775 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12776 (main): Call gdb_unbuffer_output.
12777 * gdb.base/shlib-call.exp: Adjust to step over the
12778 gdb_unbuffer_output call.
12779 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12780 (main): Call gdb_unbuffer_output.
12781 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12782 (main): Call gdb_unbuffer_output.
12783 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12784 (main): Rename to ...
12785 (test): ... this.
12786 (main): Reimplement.
12787 * gdb.base/varargs.exp: Run to test instead of to main.
12788 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12789 (main): Call gdb_unbuffer_output.
12790
12791 2015-07-29 Pedro Alves <palves@redhat.com>
12792
12793 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12794 factore out from mi_continue_dprintf. For call-style dprintfs,
12795 expect dprintf output out of $inferior_spawn_id.
12796 (mi_continue_dprintf): Use mi_expect_dprintf.
12797 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12798 (main): Call gdb_unbuffer_output.
12799
12800 2015-07-29 Pedro Alves <palves@redhat.com>
12801
12802 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12803 (default_mi_gdb_start): Set inferior_spawn_id instead of
12804 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12805 gdb_spawn_id.
12806 (mi_gdb_test): Always expect inferior output from both
12807 $inferior_spawn_id and $gdb_spawn_id.
12808
12809 2015-07-29 Pedro Alves <palves@redhat.com>
12810
12811 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12812 send_inferior and $inferior_spawn_id.
12813
12814 2015-07-29 Pedro Alves <palves@redhat.com>
12815
12816 * gdb.gdb/complaints.exp (test_initial_complaints)
12817 (test_serial_complaints, test_short_complaints): Use
12818 gdb_test_stdio.
12819 (test_empty_complaint): Handle $inferior_spawn_id !=
12820 $gdb_spawn_id.
12821
12822 2015-07-29 Pedro Alves <palves@redhat.com>
12823
12824 * gdb.base/varargs.exp: Use gdb_test_stdio.
12825
12826 2015-07-29 Pedro Alves <palves@redhat.com>
12827
12828 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12829
12830 2015-07-29 Pedro Alves <palves@redhat.com>
12831
12832 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12833
12834 2015-07-29 Pedro Alves <palves@redhat.com>
12835
12836 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12837 parameter into two new parameters, "inf_result" and "gdb_result".
12838 Expect inferior output and gdb output from $inferior_spawn_id and
12839 $gdb_spawn_id, respectively. Adjust all callers.
12840
12841 2015-07-29 Pedro Alves <palves@redhat.com>
12842
12843 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12844 of gdb_test_sequence.
12845
12846 2015-07-29 Pedro Alves <palves@redhat.com>
12847
12848 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12849 (saw_spurious_output): Expect inferior output from
12850 $inferior_spawn_id. Use gdb_test_stdio.
12851
12852 2015-07-29 Pedro Alves <palves@redhat.com>
12853
12854 * gdb.base/dprintf.exp: Use standard_testfile. Change
12855 prepare_for_testing call.
12856 (srcfile): Don't set.
12857 (restart): New procedure.
12858 (test_dprintf): New procecure, use to continue over dprintfs.
12859 (test_call, test_agent): New procedures, tests moved here.
12860 Restart gdb and recreate dprintfs. Adjust expected output.
12861
12862 2015-07-29 Pedro Alves <palves@redhat.com>
12863
12864 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12865
12866 2015-07-29 Pedro Alves <palves@redhat.com>
12867
12868 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12869
12870 2015-07-29 Pedro Alves <palves@redhat.com>
12871
12872 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12873 gdb_test_stdio.
12874
12875 2015-07-29 Pedro Alves <palves@redhat.com>
12876
12877 * lib/gdb.exp (gdb_test_stdio): New procedure.
12878
12879 2015-07-29 Pedro Alves <palves@redhat.com>
12880
12881 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12882
12883 2015-07-29 Pedro Alves <palves@redhat.com>
12884
12885 * gdb.base/call-signal-resume.exp: Remove check for
12886 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12887 * gdb.base/unwindonsignal.exp: Likewise.
12888 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12889 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12890
12891 2015-07-29 Pedro Alves <palves@redhat.com>
12892
12893 * gdb.base/siginfo-addr.c (pass): New function.
12894 (handler): Call it iff si_addr is correct.
12895 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12896 Set a breakpoint at "pass" and continue to it.
12897
12898 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12899
12900 * gdb.python/py-objfile.exp: Make some tests have unique names.
12901 * gdb.python/py-pp-registration.exp: Likewise.
12902
12903 2015-07-28 Pedro Alves <palves@redhat.com>
12904
12905 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12906
12907 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12908
12909 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12910
12911 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12912
12913 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12914
12915 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12916
12917 * gdb.base/gdb-sigterm-2.exp: New test.
12918
12919 2015-07-25 Doug Evans <xdje42@gmail.com>
12920
12921 Revert:
12922 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12923 (workers/%.worker, build-perf): New rule.
12924 (GDB_PERFTEST_MODE): New variable.
12925 (check-perf): Use it.
12926 (clean): Clean up gdb.perf parallel build subdirs.
12927 * lib/build-piece.exp: New file.
12928 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12929 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12930 name.
12931 (standard_temp_file): Ditto.
12932 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12933 of $GDB_PARALLEL.
12934
12935 2015-07-24 Doug Evans <dje@google.com>
12936
12937 * gdb.perf/lib/perftest/utils.py: New file.
12938 * gdb.perf/gm-hello.cc: New file.
12939 * gdb.perf/gm-pervasive-typedef.cc: New file.
12940 * gdb.perf/gm-pervasive-typedef.h: New file.
12941 * gdb.perf/gm-std.cc: New file.
12942 * gdb.perf/gm-std.h: New file.
12943 * gdb.perf/gm-use-cerr.cc: New file.
12944 * gdb.perf/gm-utils.h: New file.
12945 * gdb.perf/gmonster-null-lookup.py: New file.
12946 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12947 * gdb.perf/gmonster-print-cerr.py: New file.
12948 * gdb.perf/gmonster-ptype-string.py: New file.
12949 * gdb.perf/gmonster-runto-main.py: New file.
12950 * gdb.perf/gmonster-select-file.py: New file.
12951 * gdb.perf/gmonster1-null-lookup.exp: New file.
12952 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12953 * gdb.perf/gmonster1-print-cerr.exp: New file.
12954 * gdb.perf/gmonster1-ptype-string.exp: New file.
12955 * gdb.perf/gmonster1-runto-main.exp: New file.
12956 * gdb.perf/gmonster1-select-file.exp: New file.
12957 * gdb.perf/gmonster1.cc: New file.
12958 * gdb.perf/gmonster1.exp: New file.
12959 * gdb.perf/gmonster2-null-lookup.exp: New file.
12960 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12961 * gdb.perf/gmonster2-print-cerr.exp: New file.
12962 * gdb.perf/gmonster2-ptype-string.exp: New file.
12963 * gdb.perf/gmonster2-runto-main.exp: New file.
12964 * gdb.perf/gmonster2-select-file.exp: New file.
12965 * gdb.perf/gmonster2.cc: New file.
12966 * gdb.perf/gmonster2.exp: New file.
12967
12968 2015-07-24 Doug Evans <dje@google.com>
12969
12970 * gdb.perf/README: New file.
12971 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12972 * lib/gen-perf-test.exp: New file.
12973
12974 2015-07-24 Doug Evans <dje@google.com>
12975
12976 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12977 (PerfTest::startup): New function.
12978 (PerfTest::run): Return result of calling body.
12979 (PerfTest::assemble): Rewrite.
12980 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12981 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12982 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12983 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12984 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12985
12986 2015-07-24 Doug Evans <dje@google.com>
12987
12988 * lib/gdb.exp (clean_restart): Make executable optional.
12989
12990 2015-07-24 Doug Evans <dje@google.com>
12991
12992 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12993 compiler_info references.
12994 * gdb.cp/temargs.exp: Ditto.
12995 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12996 (get_compiler_info): Early exit if already computed. Set compiler_info
12997 to "unknown" if there was a problem.
12998 (test_compiler_info): Add function comment. Call get_compiler_info.
12999
13000 2015-07-24 Doug Evans <dje@google.com>
13001
13002 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13003 (workers/%.worker, build-perf): New rule.
13004 (GDB_PERFTEST_MODE): New variable.
13005 (check-perf): Use it.
13006 (clean): Clean up gdb.perf parallel build subdirs.
13007 * lib/build-piece.exp: New file.
13008 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13009 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13010 name.
13011 (standard_temp_file): Ditto.
13012 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13013 of $GDB_PARALLEL.
13014
13015 2015-07-24 Doug Evans <dje@google.com>
13016
13017 * lib/future.exp (gdb_default_target_compile): New option
13018 "early_flags".
13019 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13020 --as-needed.
13021
13022 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13023
13024 * gdb.base/catch-syscall.exp: Call gdb_exit before
13025 gdb_skip_xml_test.
13026
13027 2015-07-24 Pedro Alves <palves@redhat.com>
13028
13029 * gdb.python/py-events.exp: Accept output between the stop event
13030 and the prompt.
13031 * gdb.python/py-evsignal.exp: Likewise.
13032 * gdb.python/py-evthreads.exp: Likewise.
13033
13034 2015-07-24 Pedro Alves <palves@redhat.com>
13035
13036 PR gdb/18717
13037 * gdb.threads/non-ldr-exit.c: New file.
13038 * gdb.threads/non-ldr-exit.exp: New file.
13039
13040 2015-07-24 Yao Qi <yao.qi@linaro.org>
13041
13042 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13043 restarting process.
13044
13045 2015-07-24 Yao Qi <yao.qi@linaro.org>
13046
13047 * gdb.server/ext-restart.exp: New file.
13048
13049 2015-07-24 Yao Qi <yao.qi@linaro.org>
13050
13051 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13052 argument options.
13053 * gdb.server/ext-wrapper.exp: New file.
13054
13055 2015-07-23 Doug Evans <dje@google.com>
13056
13057 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13058 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13059
13060 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13061
13062 * gdb.ada/var_arr_typedef.exp: New testcase.
13063 * gdb.ada/var_arr_typedef/pack.adb: New file.
13064 * gdb.ada/var_arr_typedef/pack.ads: New file.
13065 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13066
13067 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13068
13069 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13070
13071 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13072
13073 * gdb.arch/i386-biarch-core.exp: Replace istarget
13074 by "complete set gnutarget". Remove expectation for the "core-file"
13075 command.
13076
13077 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13078
13079 Revert the previous commit:
13080 Tests for validate symbol file using build-id.
13081
13082 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13083
13084 Tests for validate symbol file using build-id.
13085 * gdb.base/solib-mismatch-lib.c: New file.
13086 * gdb.base/solib-mismatch-libmod.c: New file.
13087 * gdb.base/solib-mismatch.c: New file.
13088 * gdb.base/solib-mismatch.exp: New file.
13089
13090 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13091
13092 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13093 nios2-*-linux*.
13094 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13095 * gdb.base/siginfo.exp: Likewise.
13096 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13097
13098 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13099
13100 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13101 Move it to ...
13102 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13103 ... here.
13104 * gdb.trace/range-stepping.exp: Check that the target supports
13105 range stepping.
13106
13107 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13108
13109 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13110
13111 2015-07-14 Pedro Alves <palves@redhat.com>
13112
13113 * gdb.base/killed-outside.exp: New file.
13114 * gdb.base/killed-outside.c: New file.
13115
13116 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13117
13118 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13119 (n at main): New.
13120 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13121
13122 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13123
13124 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13125 infcall tests instead of setting up for KFAIL.
13126
13127 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13128
13129 * gdb.btrace/record_goto-step.exp: New.
13130
13131 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13132
13133 PR compile/18484
13134 * gdb.compile/compile.c (struct struct_type): Add volatile to
13135 selffield's type.
13136 * gdb.compile/compile.exp
13137 (compile code struct_object.selffield = &struct_object): Skip further
13138 struct_object tests if this one xfails.
13139
13140 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13141
13142 PR exp/18617
13143 * gdb.trace/ax.exp: Add test.
13144
13145 2015-07-07 Yao Qi <yao.qi@linaro.org>
13146
13147 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13148 instead of istarget "aarch64*-*-*".
13149 * gdb.arch/aarch64-fp.exp: Likewise.
13150 * gdb.base/float.exp: Likewise.
13151 * gdb.reverse/aarch64.exp: Likewise.
13152 * lib/gdb.exp (is_aarch64_target): New proc.
13153
13154 2015-07-07 Yao Qi <yao.qi@linaro.org>
13155
13156 * lib/gdb.exp (is_aarch32_target): New proc.
13157 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13158 instead of "istarget "arm*-*-*"".
13159 * gdb.arch/arm-disp-step.exp: Likewise.
13160 * gdb.arch/thumb-bx-pc.exp: Likewise.
13161 * gdb.arch/thumb-prologue.exp: Likewise.
13162 * gdb.arch/thumb-singlestep.exp: Likewise.
13163 * gdb.base/disp-step-syscall.exp: Likewise.
13164 * gdb.base/float.exp: Likewise.
13165
13166 2015-07-07 Yao Qi <yao.qi@linaro.org>
13167
13168 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13169 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13170
13171 2015-07-07 Yao Qi <yao.qi@linaro.org>
13172
13173 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13174 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13175 if it exists.
13176 * gdb.multi/multi-arch.exp: Likewise.
13177
13178 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13179
13180 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13181 print.
13182
13183 2015-07-07 Yao Qi <yao.qi@linaro.org>
13184
13185 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13186
13187 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13188
13189 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13190 '[' and ']' characters.
13191
13192 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13193
13194 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13195
13196 2015-06-29 Pedro Alves <palves@redhat.com>
13197
13198 PR threads/18127
13199 * gdb.threads/hand-call-new-thread.c: New file.
13200 * gdb.threads/hand-call-new-thread.c: New file.
13201
13202 2015-06-26 Keith Seitz <keiths@redhat.com>
13203 Doug Evans <dje@google.com>
13204
13205 PR 16253
13206 * gdb.cp/var-tag-2.cc: New file.
13207 * gdb.cp/var-tag-3.cc: New file.
13208 * gdb.cp/var-tag-4.cc: New file.
13209 * gdb.cp/var-tag.cc: New file.
13210 * gdb.cp/var-tag.exp: New file.
13211
13212 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13213
13214 * gdb.base/history-duplicates.exp: New test.
13215
13216 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13217
13218 * gdb.base/completion.exp: Test the completion of the "focus"
13219 command.
13220
13221 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13222
13223 * gdb.arch/amd64-prologue-skip.S: New file.
13224 * gdb.arch/amd64-prologue-skip.exp: New file.
13225
13226 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13227
13228 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13229 is_address_zero_readable check.
13230
13231 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13232
13233 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13234 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13235
13236 2015-06-24 Yao Qi <yao.qi@linaro.org>
13237
13238 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13239 linux targets.
13240
13241 2015-06-24 Yao Qi <yao.qi@linaro.org>
13242
13243 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13244 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13245 * gdb.base/siginfo-thread.exp: Likewise.
13246
13247 2015-06-22 Yao Qi <yao.qi@linaro.org>
13248
13249 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13250
13251 2015-06-22 Yao Qi <yao.qi@linaro.org>
13252
13253 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13254 aarch64*-*-*.
13255 (skip_hw_watchpoint_tests): Likewise.
13256
13257 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13258
13259 * gdb.base/gdbinit-history.exp: Test the interaction between
13260 setting GDBHISTSIZE and setting the history size via .gdbinit.
13261
13262 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13263
13264 PR gdb/16999
13265 * gdb.base/gdbhistsize-history.exp: New test.
13266
13267 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13268
13269 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13270 with GDBHISTSIZE.
13271 * gdb.base/readline.exp: Likewise.
13272
13273 2015-06-17 Yao Qi <yao.qi@linaro.org>
13274
13275 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13276 line.
13277
13278 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13279
13280 * gdb.base/gdbinit-history.exp: Add test case to check that
13281 an unlimited history file does not get truncated on exit.
13282
13283 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13284
13285 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13286 (VECTOR): New macro. Use it...
13287 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13288 ...for these typedefs.
13289 (int8, char1, int1, double1): New typedefs.
13290 (struct just_int2, struct two_int2): New structures.
13291 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13292 (add_structvecs, add_singlevecs): New functions.
13293 (main): Call add_some_intvecs twice.
13294 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13295 the compile and exit upon failure. Try compiling for the "native"
13296 architecture. Test inferior function calls with vector arguments
13297 and vector return value handling with "finish" and "return".
13298
13299 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13300
13301 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13302 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13303 PE file.
13304 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13305
13306 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13307
13308 PR breakpoints/16465
13309 * gdb.mi/mi-dprintf-pending.c: New file.
13310 * gdb.mi/mi-dprintf-pending.exp: New test.
13311 * gdb.mi/mi-dprintf-pendshr.c: New file.
13312
13313 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13314 Mircea Gherzan <mircea.gherzan@intel.com>
13315
13316 * gdb.arch/i386-mpx-map.c: New file.
13317 * gdb.arch/i386-mpx-map.exp: New File.
13318
13319 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13320
13321 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13322 * gdb.arch/i386-mpx.exp: Indentation fixed.
13323
13324 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13325
13326 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13327 function and improved indentation.
13328 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13329 gdb_test_multiple. Added additional tests to skip the test.
13330
13331 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13332
13333 * gdb.arch/i386-avx512.c: Change path in include file.
13334 * gdb.arch/i386-avx512.exp: Change include dir path
13335 compilation flag.
13336 * gdb.arch/i386-mpx.c: Change path in include file.
13337 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13338 flag.
13339
13340 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13341
13342 * gdb.compile/compile-print.exp (compile print *vararray@3)
13343 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13344
13345 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13346
13347 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13348 (do not keep jit in memory): ... this.
13349 (expect 5): Change it to ...
13350 (expect no 5): ... this.
13351
13352 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13353
13354 PR gdb/15564
13355 * gdb.mi/mi-detach.exp: New file.
13356
13357 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13358
13359 PR symtab/18392
13360 * gdb.arch/amd64-tailcall-self.S: New file.
13361 * gdb.arch/amd64-tailcall-self.c: New file.
13362 * gdb.arch/amd64-tailcall-self.exp: New file.
13363
13364 2015-05-28 Don Breazeal <donb@codesourcery.com>
13365
13366 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13367 tests for remote targets by checking is_target_gdbserver.
13368
13369 2015-05-27 Doug Evans <dje@google.com>
13370
13371 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13372 * gdb.dwarf2/opaque-type-lookup.c: New file.
13373 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13374
13375 2015-05-26 Doug Evans <dje@google.com>
13376
13377 * gdb.cp/iostream.cc: New file.
13378 * gdb.cp/iostream.exp: New file.
13379
13380 2015-05-26 Doug Evans <dje@google.com>
13381
13382 * gdb.dwarf2/dw2-op-call.exp: Update.
13383 * gdb.dwarf2/dw4-sig-types.exp: Update.
13384 * gdb.dwarf2/implptr.exp: Update.
13385 * gdb.mi/mi-cmd-param-changed.exp: Update.
13386
13387 2015-05-26 Doug Evans <dje@google.com>
13388
13389 * gdb.python/py-lazy-string.c: New file.
13390 * gdb.python/py-lazy-string.exp: New file.
13391 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13392 (main): Update. Add estring3.
13393 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13394 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13395
13396 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13397 Yao Qi <yao.qi@linaro.org>
13398
13399 * gdb.reverse/aarch64.c: New.
13400 * gdb.reverse/aarch64.exp: New.
13401
13402 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13403
13404 * lib/gdb.exp (supports_process_record): Return true for
13405 aarch64*-linux*.
13406 (supports_reverse): Likewise.
13407
13408 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13409
13410 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13411 Use with_test_prefix.
13412
13413 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13414
13415 * gdb.base/completion.exp: Add test for completion of layout
13416 names.
13417
13418 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13419
13420 * lib/gdb.exp (skip_tui_tests): New proc.
13421 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13422
13423 2015-05-19 Pedro Alves <palves@redhat.com>
13424
13425 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13426 Save the whole env array instead of just HOME. Unset HISTSIZE in
13427 the environment while testing. Restore whole environment
13428 afterwards.
13429
13430 2015-05-16 Doug Evans <xdje42@gmail.com>
13431
13432 * gdb.guile/scm-ports.c: New file.
13433 * gdb.guile/scm-ports.exp: Add memory port tests.
13434
13435 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13436
13437 * gdb.compile/compile-print.c: New file.
13438 * gdb.compile/compile-print.exp: New file.
13439
13440 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13441
13442 * gdb.compile/compile-ops.exp: Cast param to void.
13443 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13444 (compile code struct_object.selffield = &struct_object): Add xfail.
13445
13446 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13447
13448 * gdb.ada/arr_enum_with_gap: New testcase.
13449
13450 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13451
13452 * gdb.ada/byte_packed_arr: New testcase.
13453
13454 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13455
13456 * gdb.ada/pckd_neg: New testcase.
13457
13458 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13459
13460 PR gdb/17820
13461 * gdb.base/gdbinit-history.exp: New test.
13462 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13463 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13464
13465 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13466
13467 * gdb.python/py-xmethods.cc: Enhance test case.
13468 * gdb.python/py-xmethods.exp: New tests.
13469 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13470 function.
13471 (B_indexoper): Likewise.
13472 (global_dm_list) : Add new xmethod worker functions.
13473
13474 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13475
13476 * gdb.base/coredump-filter.exp: Correctly unset
13477 "coredump_var_addr" array.
13478
13479 2015-05-08 Pedro Alves <palves@redhat.com>
13480
13481 * gdb.server/non-existing-program.exp: Unset spawn_id.
13482
13483 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13484
13485 PR python/18291
13486 * gdb.python/py-xmethods.exp: Add tests.
13487
13488 2015-05-08 Yao Qi <yao.qi@linaro.org>
13489
13490 PR gdb/18208
13491 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13492 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13493 function set_coredump_filter, and remove remote_exec call.
13494 Remove argument ipid. Callers update.
13495 (top level): Don't get inferior's PID.
13496
13497 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13498
13499 * gdb.base/watch_thread_num.exp: Skip test on targets without
13500 access watchpoints.
13501
13502 2015-05-06 Pedro Alves <palves@redhat.com>
13503
13504 PR server/18081
13505 * gdb.server/non-existing-program.exp: New file.
13506
13507 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13508
13509 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13510
13511 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13512
13513 * gdb.ada/out_of_line_in_inlined: New testcase.
13514
13515 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13516
13517 * gdb.ada/var_rec_arr: New testcase.
13518
13519 2015-04-30 Yao Qi <yao.qi@linaro.org>
13520
13521 * gdb.base/break-idempotent.exp: If
13522 skip_hw_watchpoint_multi_tests returns true, skip the tests
13523 on "rwatch" and "awatch".
13524
13525 2015-04-30 Yao Qi <yao.qi@linaro.org>
13526
13527 * gdb.base/relativedebug.exp: Invoke gdb command
13528 "info sharedlibrary", and if libc.so doesn't have debug info,
13529 skip the test.
13530
13531 2015-04-29 Doug Evans <dje@google.com>
13532
13533 * gdb.python/py-xmethods.exp: Add ptype tests.
13534 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13535 get_result_type method.
13536
13537 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13538
13539 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13540 the target does not support hardware watchpoints.
13541
13542 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13543
13544 * gdb.base/break-always.exp: Abort testing if writing to memory
13545 causes an error.
13546
13547 2015-04-28 Doug Evans <dje@google.com>
13548
13549 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13550 * gdb.python/py-pp-registration.exp: ... here. New file.
13551 * gdb.python/py-pp-registration.c: New file.
13552 * gdb.python/py-pp-registration.py: New file.
13553
13554 2015-04-28 Doug Evans <dje@google.com>
13555
13556 * gdb.python/py-bad-printers.c: New file.
13557 * gdb.python/py-bad-printers.py: New file.
13558 * gdb.python/py-bad-printers.exp: New file.
13559
13560 2015-04-28 Sasha Smundak <asmundak@google.com>
13561
13562 * gdb.python/py-type.exp: New test.
13563
13564 2015-04-28 Andy Wingo <wingo@igalia.com>
13565
13566 * gdb.python/py-parameter.exp:
13567 * gdb.guile/scm-parameter.exp: Escape the path that we are
13568 matching against, as it might contain characters that are special
13569 to regular expressions.
13570
13571 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13572
13573 * gdb.ada/rec_comp: New testcase.
13574
13575 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13576
13577 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13578 before using it.
13579
13580 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13581
13582 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13583 new tests for verilog output.
13584
13585 2015-04-24 Yao Qi <yao.qi@linaro.org>
13586
13587 * boards/remote-gdbserver-on-localhost.exp: New file.
13588
13589 2015-04-23 Pedro Alves <palves@redhat.com>
13590
13591 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13592 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13593 "end of file", remove $inferior_spawn_id from the indirect list.
13594
13595 2015-04-23 Pedro Alves <palves@redhat.com>
13596
13597 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13598
13599 2015-04-23 Pedro Alves <palves@redhat.com>
13600
13601 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13602 on $any_spawn_id instead of only on $gdb_spawn_id.
13603
13604 2015-04-21 Pierre Muller <muller@sourceware.org>
13605
13606 PR pascal/17815
13607 * lib/pascal.exp (gpc_compile): Add new option "class".
13608 (fpc_compile): Likewise.
13609 * gdb.pascal/case-insensitive-symbols.pas: New file.
13610 * gdb.pascal/case-insensitive-symbols.exp: New file.
13611
13612 2015-04-20 Gary Benson <gbenson@redhat.com>
13613
13614 * gdb.base/attach.exp: Fix three extended remote failures.
13615
13616 2015-04-17 Gary Benson <gbenson@redhat.com>
13617
13618 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13619 the main executable over the remote protocol.
13620
13621 2015-04-16 Pedro Alves <palves@redhat.com>
13622
13623 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13624 a new gdbserver if gdbserver_reconnect_p is set.
13625
13626 2015-04-16 Pedro Alves <palves@redhat.com>
13627
13628 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13629 is set, don't exit gdbserver.
13630
13631 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13632
13633 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13634 appropriate .insn, such that an older assembler can be used.
13635 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13636 the z/Architecture instruction set on 31-bit targets as well.
13637
13638 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13639
13640 * gdb.go/handcall.exp: Remove all logic related to the first
13641 breakpoint and rely on go_runto_main instead.
13642 * gdb.go/strings.exp: Likewise.
13643 * gdb.go/unsafe.exp: Likewise.
13644 * gdb.go/hello.exp: Likewise. Also rename the remaining
13645 breakpoint marker to "breakpoint 1".
13646 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13647 * gdb.go/strings.go: Likewise.
13648 * gdb.go/unsafe.go: Likewise.
13649 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13650 "set breakpoint 2 here" and rename the remaining breakpoint marker
13651 to "breakpoint 1".
13652
13653 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13654
13655 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13656 if itertools.imap is not present.
13657 * gdb.python/py-objfile.exp: Add parentheses.
13658 * gdb.python/py-type.exp: Same.
13659 * gdb.python/py-unwind-maint.py: Same.
13660
13661 2015-04-15 Yao Qi <yao.qi@linaro.org>
13662
13663 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13664 of ":$ptr_size" and set its form explicitly.
13665
13666 2015-04-15 Pedro Alves <palves@redhat.com>
13667 Yao Qi <yao.qi@linaro.org>
13668
13669 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13670 timeout by factor of 4.
13671 (test_regular_watch): Likewise.
13672 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13673 * gdb.reverse/sigall-reverse.exp: Likewise.
13674 * gdb.reverse/until-precsave.exp: Likewise.
13675 * lib/gdb.exp (with_timeout_factor): New proc.
13676 (gdb_expect): Move some code to ...
13677 (get_largest_timeout): ... here. New procedure.
13678
13679 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13680
13681 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13682
13683 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13684
13685 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13686 to write to the .text section.
13687
13688 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13689
13690 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13691 Handle the case of targets that do not provide PID information.
13692
13693 2015-04-13 Yao Qi <yao.qi@linaro.org>
13694
13695 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13696 and use expect instead of gdb_expect.
13697
13698 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13699
13700 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13701 "coredump_var_addr" to avoid naming conflict with other testcases.
13702
13703 2015-04-10 Pedro Alves <palves@redhat.com>
13704
13705 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13706 gdb_test_sequence and gdb_assert.
13707
13708 2015-04-10 Pedro Alves <palves@redhat.com>
13709
13710 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13711 test messages that don't include the breakpoint address.
13712
13713 2015-04-10 Yao Qi <yao.qi@linaro.org>
13714
13715 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13716 false for some offset and width combinations which aren't
13717 supported by linux kernel.
13718
13719 2015-04-10 Pedro Alves <palves@redhat.com>
13720
13721 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13722 procedure, factored out from ...
13723 (top level): ... here. Add "set displaced-stepping" testing axis.
13724 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13725 parameter "displaced". Use it.
13726 (top level): Use foreach and add "set displaced-stepping" testing
13727 axis.
13728
13729 2015-04-10 Pedro Alves <palves@redhat.com>
13730
13731 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13732 Remove comment.
13733 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13734 both the address of the instruction that triggers the watchpoint
13735 and the address of the instruction immediately after, and use
13736 those addresses for the test. Fix comment.
13737
13738 2015-04-10 Pedro Alves <palves@redhat.com>
13739
13740 * gdb.base/sigstep.exp (breakpoint_to_handler)
13741 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13742 Test "backtrace" in handler.
13743 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13744 (top level): Add new "displaced" test axis to
13745 breakpoint_to_handler, breakpoint_to_handler_entry and
13746 breakpoint_over_handler.
13747
13748 2015-04-10 Pedro Alves <palves@redhat.com>
13749
13750 PR gdb/18216
13751 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13752
13753 2015-04-10 Yao Qi <yao.qi@linaro.org>
13754
13755 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13756 (test_add_rn_pc): New function.
13757 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13758 (top level): Invoke test_add_rn_pc.
13759
13760 2015-04-10 Pedro Alves <palves@redhat.com>
13761
13762 PR gdb/13858
13763 * gdb.base/step-over-no-symbols.exp: New file.
13764
13765 2015-04-09 Andy Wingo <wingo@igalia.com>
13766
13767 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13768 after the Python tests.
13769
13770 2015-04-08 Keith Seitz <keiths@redhat.com>
13771
13772 PR python/16699
13773 * gdb.python/py-completion.exp: New tests for completion.
13774 * gdb.python/py-completion.py (CompleteLimit1): New class.
13775 (CompleteLimit2): Likewise.
13776 (CompleteLimit3): Likewise.
13777 (CompleteLimit4): Likewise.
13778 (CompleteLimit5): Likewise.
13779 (CompleteLimit6): Likewise.
13780 (CompleteLimit7): Likewise.
13781
13782 2015-04-08 Pedro Alves <palves@redhat.com>
13783
13784 PR gdb/18214
13785 PR gdb/18216
13786 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13787 function.
13788 (main): Install it as SIGUSR1 handler.
13789 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13790 parameter. Always use "setup" as prefix. Toggle "set
13791 displaced-stepping" off/on depending on global. Don't switch to
13792 thread 1 here.
13793 (top level): Add displaced stepping "off/on" test axis. Update
13794 "setup" calls. Wrap each subtest with with_test_prefix. Test
13795 continuing with a queued signal in each thread.
13796
13797 2015-04-08 Pedro Alves <palves@redhat.com>
13798
13799 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13800 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13801 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13802 Return early if running to main fails.
13803 * gdb.trace/while-stepping.exp: Likewise.
13804
13805 2015-04-07 Pedro Alves <palves@redhat.com>
13806
13807 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13808 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13809 interact with inferior program.
13810
13811 2015-04-07 Pedro Alves <palves@redhat.com>
13812
13813 * lib/gdb.exp (inferior_spawn_id): New global.
13814 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13815 spawn id after processing the user code.
13816 (default_gdb_start): Set inferior_spawn_id.
13817 (send_inferior): New procedure.
13818 * lib/gdbserver-support.exp (gdbserver_start): Set
13819 inferior_spawn_id.
13820 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13821
13822 2015-04-07 Pedro Alves <palves@redhat.com>
13823
13824 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13825 * lib/gdbserver-support.exp (gdbserver_start): Make
13826 $server_spawn_id global.
13827 (gdbserver_start): Don't wait for gdbserver's spawn id with
13828 expect_background.
13829 (close_gdbserver): New procedure.
13830 (gdb_exit): Rename the default version and reimplement.
13831
13832 2015-04-07 Pedro Alves <palves@redhat.com>
13833
13834 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13835 append the substituted item, not the original item.
13836
13837 2015-04-07 Pedro Alves <palves@redhat.com>
13838
13839 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13840 gdb_expect.
13841
13842 2015-04-07 Pedro Alves <palves@redhat.com>
13843
13844 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13845 output appearing once only.
13846
13847 2015-04-07 Pedro Alves <palves@redhat.com>
13848
13849 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13850 that doesn't expect anything. Return early if running to main
13851 fails.
13852
13853 2015-04-07 Yao Qi <yao.qi@linaro.org>
13854
13855 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13856 (child_function): Call alarm.
13857 (main): Move call to alarm into the loop.
13858 * gdb.threads/non-stop-fair-events.exp: Build program with
13859 -DTIMEOUT=$timeout.
13860
13861 2015-04-06 Doug Evans <xdje42@gmail.com>
13862
13863 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13864 Fix dest parameter to board_info.
13865 (fpc_compile): Ditto.
13866 (gdb_compile_pascal): Rename dest arg to destfile.
13867
13868 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13869
13870 * gdb.ada/funcall_ref.exp: New file.
13871 * gdb.ada/funcall_ref/foo.adb: New file.
13872
13873 2015-04-02 Yao Qi <yao.qi@linaro.org>
13874
13875 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13876 is remote.
13877
13878 2015-04-02 Gary Benson <gbenson@redhat.com>
13879
13880 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13881
13882 2015-04-01 Sasha Smundak <asmundak@google.com>
13883
13884 * gdb.python/py-unwind-maint.c: New file.
13885 * gdb.python/py-unwind-maint.exp: New test.
13886 * gdb.python/py-unwind-maint.py: New file.
13887 * gdb.python/py-unwind.c: New file.
13888 * gdb.python/py-unwind.exp: New test.
13889 * gdb.python/py-unwind.py: New test.
13890
13891 2015-04-01 Pedro Alves <palves@redhat.com>
13892
13893 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13894 to fail instead of non-existent $test.
13895
13896 2015-04-01 Pedro Alves <palves@redhat.com>
13897
13898 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13899 GDBFLAGS if not empty.
13900
13901 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13902
13903 * gdb.ada/complete.exp: Remove "multi_line".
13904 * gdb.ada/info_exc.exp: Remove "multi_line".
13905 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13906 * gdb.ada/ptype_field.exp: Remove "multi_line".
13907 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13908 * gdb.ada/tagged.exp: Remove "multi_line".
13909 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13910 [multi_line ...]
13911 * gdb.btrace/delta.exp: Likewise.
13912 * gdb.btrace/exception.exp: Likewise.
13913 * gdb.btrace/function_call_history.exp: Likewise.
13914 * gdb.btrace/instruction_history.exp: Likewise.
13915 * gdb.btrace/nohist.exp: Likewise.
13916 * gdb.btrace/record_goto.exp: Likewise.
13917 * gdb.btrace/segv.exp: Likewise.
13918 * gdb.btrace/stepi.exp: Likewise.
13919 * gdb.btrace/tailcall.exp: Likewise.
13920 * gdb.btrace/unknown_functions.exp: Likewise.
13921 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13922 * lib/gdb.exp: Add the "multi_line" helper.
13923
13924 2015-04-01 Pedro Alves <palves@redhat.com>
13925
13926 * gdb.threads/tid-reuse.c: New file.
13927 * gdb.threads/tid-reuse.exp: New file.
13928
13929 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13930
13931 PR corefiles/16092
13932 * gdb.base/coredump-filter.c: New file.
13933 * gdb.base/coredump-filter.exp: Likewise.
13934
13935 2015-03-27 Petr Machata <pmachata@redhat.com>
13936
13937 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13938 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13939 (Dwarf::assemble): Initialize them.
13940 (Dwarf::lines): New function.
13941
13942 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13943
13944 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13945 SYMBOL_PREFIX for x86_64-*-cygwin.
13946
13947 2015-03-26 Andy Wingo <wingo@igalia.com>
13948
13949 PR symtab/18148
13950 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13951 const_value but not a location.
13952 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13953 location defined in non-main CUs are visible.
13954
13955 2015-03-26 Yao Qi <yao.qi@linaro.org>
13956
13957 PR testsuite/18139
13958 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13959 Add a line number entry for the same line.
13960 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13961 Add a line number entry for the same line.
13962
13963 2015-03-26 Yao Qi <yao.qi@linaro.org>
13964
13965 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13966 .int 0.
13967 (func): Likewise. Add .Lfunc_1 label.
13968 Use .Lfunc_1 label.
13969 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13970 .int 0.
13971 (func): Likewise.
13972 Use .Lfunc_1 label.
13973
13974 2015-03-26 Yao Qi <yao.qi@linaro.org>
13975
13976 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13977 Call gdb_compile instead to compile each .s files without debug
13978 information.
13979
13980 2015-03-26 Yao Qi <yao.qi@linaro.org>
13981
13982 * gdb.base/savedregs.exp (process_saved_regs): Make
13983 "Saved registers:" optional in the pattern.
13984
13985 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13986
13987 * gdb.btrace/next.exp: Merged into step.exp.
13988 * gdb.btrace/finish.exp: Merged into step.exp.
13989 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13990 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13991 "record goto" and checking the exact replay position.
13992 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13993 check for "Recording format" in "info record" output.
13994 * gdb.btrace/record_goto.exp: Choose test file based on target.
13995 * gdb.btrace/x86-record_goto.S: Renamed into ...
13996 * gdb.btrace/x86_64-record_goto.S: ... this.
13997 * gdb.btrace/i686-record_goto.S: New.
13998 * gdb.btrace/x86-tailcall.S: Renamed into ...
13999 * gdb.btrace/x86_64-tailcall.S: ... this.
14000 * gdb.btrace/i686-tailcall.S: New.
14001 * gdb.btrace/x86-tailcall.c: Renamed into ...
14002 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14003 separate statements. Update test.
14004 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14005 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14006 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14007 * gdb.btrace/tailcall.exp: Choose test file based on target.
14008 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14009
14010 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14011
14012 * gdb.btrace/exception.exp: Increase BTS buffer size.
14013
14014 2015-03-24 Pedro Alves <palves@redhat.com>
14015
14016 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14017
14018 2015-03-24 Pedro Alves <palves@redhat.com>
14019
14020 * gdb.threads/schedlock.exp (test_step): No longer expect that
14021 "set scheduler-locking step" with "next" over a function call runs
14022 threads unlocked.
14023
14024 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14025
14026 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14027
14028 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14029
14030 PR breakpoints/16466
14031 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14032 * gdb.mi/mi-pending.c (thread_func): New function.
14033 (int main): Add threading support required.
14034 * gdb.mi/mi-pending.exp: Add tests for this issue.
14035 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14036 (pendfunc2): Remove stdio dependency.
14037 * gdb.mi/mi-pendshr2.c: New file.
14038
14039 2015-03-23 Keith Seitz <keiths@redhat.com>
14040
14041 * gdb.linespec/keywords.c: New file.
14042 * gdb.linespec/keywords.exp: New file.
14043
14044 2015-03-23 Keith Seitz <keiths@redhat.com>
14045
14046 PR gdb/18021
14047 * gdb.dwarf2/staticvirtual.exp: New test.
14048
14049 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14050
14051 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14052 * README: Remove HP-UX and gdb.hp.
14053 (configuration):
14054 * configure: Regenerate.
14055 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14056 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14057 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14058 gdb.hp/gdb.defects/Makefile.
14059 * gdb.hp/Makefile.in: File deleted.
14060 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14061 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14062 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14063 * gdb.hp/gdb.aCC/run.c: File deleted.
14064 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14065 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14066 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14067 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14068 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14069 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14070 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14071 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14072 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14073 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14074 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14075 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14076 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14077 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14078 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14079 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14080 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14081 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14082 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14083 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14084 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14085 * gdb.hp/gdb.compat/average.c: File deleted.
14086 * gdb.hp/gdb.compat/sum.c: File deleted.
14087 * gdb.hp/gdb.compat/xdb.c: File deleted.
14088 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14089 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14090 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14091 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14092 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14093 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14094 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14095 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14096 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14097 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14098 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14099 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14100 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14101 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14102 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14103 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14104 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14105 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14106 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14107 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14108 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14109 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14110 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14111 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14112 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14113 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14114 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14115 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14116 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14117 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14118 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14119 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14120 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14121 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14122 * gdb.hp/tools/odump: File deleted.
14123
14124 2015-03-19 Pedro Alves <palves@redhat.com>
14125
14126 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14127 (saw_thread_3): New globals.
14128 (top level): Increment them when an event for the corresponding
14129 thread is seen.
14130 (no thread starvation): New test.
14131
14132 2015-03-19 Pedro Alves <palves@redhat.com>
14133
14134 * gdb.threads/continue-pending-status.c: New file.
14135 * gdb.threads/continue-pending-status.exp: New file.
14136
14137 2015-03-18 Pedro Alves <palves@redhat.com>
14138
14139 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14140 Use gdb_is_target_remote instead of is_remote. Use
14141 gdb_test_multiple instead of gdb_expect. Exit early if
14142 gdb_test_multiple hits its internal matches. Tighten stepi tests
14143 expected output. Fail on exit with any signal, instead of just
14144 SIGILL.
14145
14146 2015-03-18 Yao Qi <yao.qi@linaro.org>
14147
14148 PR tdep/18107
14149 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14150 variable.
14151 * gdb.base/catch-syscall.exp: Don't skip it on
14152 aarch64*-*-linux* target. Remove elements in all_syscalls.
14153 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14154 target.
14155 (setup_all_syscalls): New proc.
14156
14157 2015-03-16 Yao Qi <yao.qi@linaro.org>
14158
14159 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14160 (top level): Skip tests if valid_addr_p returns false for
14161 $cmd1 or $cmd2.
14162
14163 2015-03-11 Andy Wingo <wingo@igalia.com>
14164
14165 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14166
14167 2015-03-11 Yao Qi <yao.qi@linaro.org>
14168
14169 * gdb.base/catch-syscall.exp: Fix typo in comments.
14170
14171 2015-03-11 Yao Qi <yao.qi@linaro.org>
14172
14173 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14174
14175 2015-03-09 Pedro Alves <palves@redhat.com>
14176
14177 * dg-extract-results.py: Delete.
14178
14179 2015-03-09 Pedro Alves <palves@redhat.com>
14180
14181 Merge dg-extract-results.sh from GCC upstream (r218843).
14182
14183 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14184 * dg-extract-results.sh: Use --text with grep to avoid issues with
14185 binary files. Fall back to cat -v, if that doesn't work.
14186
14187 2015-03-05 Pedro Alves <palves@redhat.com>
14188
14189 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14190
14191 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14192
14193 * lib/mi-support.exp (mi_expect_interrupt): Accept
14194 alternative event for when in all-stop mode.
14195
14196 2015-03-04 Pedro Alves <palves@redhat.com>
14197
14198 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14199
14200 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14201
14202 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14203
14204 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14205
14206 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14207 regexps for GDB's current line display, accept a hex address
14208 preceding the line number.
14209
14210 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14211
14212 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14213 the 'arch1' variable for "s390*-linux*" targets.
14214
14215 2015-03-04 Pedro Alves <palves@redhat.com>
14216
14217 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14218 (main): Pass missing retval argument to pthread_join call.
14219
14220 2015-03-02 Pedro Alves <palves@redhat.com>
14221
14222 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14223 (top level): Call do_test with non-stop as well.
14224
14225 2015-03-02 Pedro Alves <palves@redhat.com>
14226
14227 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14228 -1.
14229
14230 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14231
14232 * gdb.arch/s390-vregs.exp: New test.
14233 * gdb.arch/s390-vregs.S: New file.
14234
14235 2015-02-27 Pedro Alves <palves@redhat.com>
14236
14237 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14238 call to catch_command_errors.
14239 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14240 catch_command_errors.
14241
14242 2015-02-27 Pedro Alves <palves@redhat.com>
14243
14244 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14245 "true" for boolean result.
14246 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14247 prototype of main.
14248
14249 2015-02-27 Pedro Alves <palves@redhat.com>
14250
14251 * lib/unbuffer_output.c: New file.
14252 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14253 (main): Call gdb_unbuffer_output.
14254
14255 2015-02-27 Yao Qi <yao.qi@linaro.org>
14256
14257 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14258 target.
14259
14260 2015-02-26 Doug Evans <dje@google.com>
14261
14262 * gdb.cp/class2.cc (Dbase, D): New classes.
14263 (main): New local delta.
14264 * gdb.cp/class2.exp: Test printing delta.
14265 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14266 (dynbar): New global.
14267 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14268
14269 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14270
14271 * gdb.compile/compile-ifunc.c: New file.
14272 * gdb.compile/compile-ifunc.exp: New file.
14273
14274 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14275
14276 * gdb.base/structs.exp: Check for correct struct on finish.
14277
14278 2015-02-26 Yao Qi <yao.qi@linaro.org>
14279
14280 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14281 is zero.
14282
14283 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14284
14285 * gdb.arch/cordic.ko.bz2: New file.
14286 * gdb.arch/cordic.ko.debug.bz2: New file.
14287 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14288
14289 2015-02-25 Yao Qi <yao.qi@linaro.org>
14290
14291 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14292 aarch64*-*-* target.
14293
14294 2015-02-23 Pedro Alves <palves@redhat.com>
14295
14296 * lib/gdb.exp (delete_breakpoints): Rewrite using
14297 gdb_test_multiple.
14298
14299 2015-02-23 Pedro Alves <palves@redhat.com>
14300
14301 * gdb.base/info-os.c: Include stdlib.h.
14302
14303 2015-02-22 Doug Evans <xdje42@gmail.com>
14304
14305 PR symtab/17855
14306 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14307 is read after symbols have been re-read.
14308 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14309 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14310
14311 2015-02-21 Doug Evans <dje@google.com>
14312
14313 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14314
14315 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14316
14317 PR corefiles/17808
14318 * gdb.arch/i386-biarch-core.core.bz2: New file.
14319 * gdb.arch/i386-biarch-core.exp: New file.
14320
14321 2015-02-21 Pedro Alves <palves@redhat.com>
14322
14323 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14324 runto_main fails.
14325
14326 2015-02-20 Pedro Alves <palves@redhat.com>
14327
14328 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14329 info probes.
14330
14331 2015-02-20 Pedro Alves <palves@redhat.com>
14332
14333 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14334
14335 2015-02-20 Pedro Alves <palves@redhat.com>
14336
14337 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14338 clean_restart before gdb_target_supports_trace.
14339
14340 2015-02-20 Pedro Alves <palves@redhat.com>
14341
14342 PR threads/18006
14343 * gdb.threads/clone-thread_db.c: New file.
14344 * gdb.threads/clone-thread_db.exp: New file.
14345
14346 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14347
14348 PR breakpoints/16812
14349 * gdb.base/catch-gdb-caused-signals.c: New file.
14350 * gdb.base/catch-gdb-caused-signals.exp: New file.
14351
14352 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14353
14354 * configure: Regenerated.
14355 * configure.ac: Use GDB_AC_TRANSFORM.
14356 * aclocal.m4: sinclude ../transform.m4.
14357
14358 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14359
14360 * lib/dtrace.exp: New file.
14361 * gdb.base/dtrace-probe.exp: Likewise.
14362 * gdb.base/dtrace-probe.d: Likewise.
14363 * gdb.base/dtrace-probe.c: Likewise.
14364 * lib/pdtrace.in: Likewise.
14365 * configure.ac: Output variables with the transformed names of
14366 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14367 * configure: Regenerated.
14368
14369 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14370
14371 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14372 expected message when trying to access $_probe_* convenience
14373 variables while not on a probe.
14374
14375 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14376
14377 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14378
14379 2015-02-11 Pedro Alves <pedro@codesourcery.com>
14380
14381 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14382 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14383
14384 2015-02-10 Doug Evans <xdje42@gmail.com>
14385
14386 * lib/gdb.exp (gdb_load): Always return a result.
14387
14388 2015-02-10 Pedro Alves <palves@redhat.com>
14389
14390 * gdb.threads/signal-sigtrap.c: New file.
14391 * gdb.threads/signal-sigtrap.exp: New file.
14392
14393 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14394
14395 * gdb.trace/no-attach-trace.c: New file.
14396 * gdb.trace/no-attach-trace.exp: New file.
14397
14398 2015-02-09 Mark Wielaard <mjw@redhat.com>
14399
14400 * gdb.dwarf2/atomic.c: New file.
14401 * gdb.dwarf2/atomic-type.exp: Likewise.
14402
14403 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14404
14405 * gdb.btrace/buffer-size.exp: Update "info record" output.
14406 * gdb.btrace/delta.exp: Update "info record" output.
14407 * gdb.btrace/enable.exp: Update "info record" output.
14408 * gdb.btrace/finish.exp: Update "info record" output.
14409 * gdb.btrace/instruction_history.exp: Update "info record" output.
14410 * gdb.btrace/next.exp: Update "info record" output.
14411 * gdb.btrace/nexti.exp: Update "info record" output.
14412 * gdb.btrace/step.exp: Update "info record" output.
14413 * gdb.btrace/stepi.exp: Update "info record" output.
14414 * gdb.btrace/nohist.exp: Update "info record" output.
14415
14416 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14417
14418 * gdb.btrace/buffer-size: New.
14419
14420 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14421
14422 * gdb.btrace/delta.exp: Update "info record" output.
14423 * gdb.btrace/enable.exp: Update "info record" output.
14424 * gdb.btrace/finish.exp: Update "info record" output.
14425 * gdb.btrace/instruction_history.exp: Update "info record" output.
14426 * gdb.btrace/next.exp: Update "info record" output.
14427 * gdb.btrace/nexti.exp: Update "info record" output.
14428 * gdb.btrace/step.exp: Update "info record" output.
14429 * gdb.btrace/stepi.exp: Update "info record" output.
14430 * gdb.btrace/nohist.exp: Update "info record" output.
14431
14432 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14433
14434 PR gdb/15678
14435 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14436
14437 2015-02-06 Pedro Alves <palves@redhat.com>
14438
14439 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14440 macro.
14441 (seconds_left, again): New globals.
14442 (main): Wait seconds_left in a 1-second sleep loop instead of
14443 sleeping 180 seconds. If 'again' is set, reset the seconds
14444 counter.
14445 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14446 'again' in the inferior before detaching. Print the seconds left.
14447 (options): New global.
14448 (top level): Build program with -DTIMEOUT=$timeout.
14449
14450 2015-02-06 Pedro Alves <palves@redhat.com>
14451
14452 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14453 determine how many seconds to pass to 'alarm'.
14454 * gdb.base/gdb-sigterm.exp (top level): Build program with
14455 -DTIMEOUT=$timeout.
14456 (do_test): Return success/failure indication. Add more verbose
14457 logging. Don't fail if 200 single steps are seen. Instead, fail
14458 when the test times out.
14459 (passes): New global.
14460 (top level): Break the testing loop if testing fails on any
14461 iteration. Use gdb_assert.
14462
14463 2015-02-04 Don Breazeal <donb@codesourcery.com>
14464
14465 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14466 and initialize them.
14467 (ipc_cleanup): New function.
14468 (main): Don't declare shmid, semid, and msqid. Add a call to
14469 atexit so that we call ipc_cleanup on exit.
14470
14471 2015-02-04 Pedro Alves <palves@redhat.com>
14472
14473 * boards/native-extended-gdbserver.exp: Remove any target variant
14474 specifications from the board name before clearing the isremote
14475 flag from board_info.
14476
14477 2015-01-31 Doug Evans <xdje42@gmail.com>
14478
14479 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14480
14481 2015-01-31 Gary Benson <gbenson@redhat.com>
14482
14483 * gdb.base/completion.exp: Disable completion limiting for
14484 existing tests. Add new tests to check completion limiting.
14485 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14486
14487 2015-01-31 Doug Evans <xdje42@gmail.com>
14488
14489 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14490
14491 2015-01-31 Doug Evans <xdje42@gmail.com>
14492
14493 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14494 entries. Duplicate file section script entries.
14495 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14496 inlined entries. Add test for safe-path rejection.
14497 * gdb.python/py-section-script.c: Add duplicate inlined section script
14498 entries. Duplicate file section script entries.
14499 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14500 inlined entries. Add test for safe-path rejection.
14501
14502 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14503
14504 * gdb.ada/disc_arr_bound: New testcase.
14505
14506 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14507
14508 * gdb.ada/mi_var_array: New testcase.
14509
14510 2015-01-27 Doug Evans <dje@google.com>
14511
14512 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14513 Add test for objfile.filename, objfile.username after objfile
14514 has been unloaded.
14515
14516 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14517
14518 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14519 the second test to print the name attribute of value
14520 returned by the call to gdb.lookup_type, and adjust
14521 the expected output accordingly.
14522
14523 2015-01-25 Mark Wielaard <mjw@redhat.com>
14524
14525 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14526 * gdb.base/disp-step-fork.c: Include unistd.h.
14527 * gdb.base/siginfo-obj.c: Include stdio.h.
14528 * gdb.base/siginfo-thread.c: Likewise.
14529 * gdb.mi/non-stop.c: Include unistd.h.
14530 * gdb.mi/nsthrexec.c: Include stdio.h.
14531 * gdb.mi/pthreads.c: Include unistd.h.
14532 * gdb.modula2/unbounded1.c (main): Declare returns int.
14533 * gdb.reverse/consecutive-reverse.c: Likewise.
14534 * gdb.threads/create-fail.c: Include unistd.h.
14535 * gdb.threads/killed.c: Likewise.
14536 * gdb.threads/linux-dp.c: Likewise.
14537 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14538 * gdb.threads/non-ldr-exc-2.c: Likewise.
14539 * gdb.threads/non-ldr-exc-3.c: Likewise.
14540 * gdb.threads/non-ldr-exc-4.c: Likewise.
14541 * gdb.threads/pthreads.c: Include unistd.h.
14542 (main): Declare returns int.
14543 * gdb.threads/tls-main.c (foo): New declaration.
14544 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14545
14546 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14547
14548 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14549 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14550
14551 2015-01-15 Mark Wielaard <mjw@redhat.com>
14552
14553 * gdb.base/noreturn-return.c: New file.
14554 * gdb.base/noreturn-return.exp: New file.
14555 * gdb.base/noreturn-finish.c: New file.
14556 * gdb.base/noreturn-finish.exp: New file.
14557
14558 2015-01-23 Pedro Alves <palves@redhat.com>
14559
14560 * gdb.threads/continue-pending-after-query.c: New file.
14561 * gdb.threads/continue-pending-after-query.exp: New file.
14562
14563 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14564 Simon Marchi <simon.marchi@ericsson.com>
14565
14566 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14567 * gdb.base/valgrind-db-attach.exp: Same.
14568 * gdb.base/valgrind-infcall.exp: Same.
14569 * lib/mi-support.exp (default_mi_gdb_start): Same.
14570 * lib/prompt.exp (default_prompt_gdb_start): Same.
14571 * lib/gdb.exp (default_gdb_spawn): Same.
14572 (gdb_interact): New.
14573
14574
14575 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14576
14577 * gdb.compile/compile.exp (pointer to jit function): New test.
14578
14579 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14580
14581 * lib/gdb.exp (supports_process_record): Return true for
14582 powerpc*-*-linux*.
14583 (supports_reverse): Likewise.
14584
14585 2015-01-15 Don Breazeal <donb@codesourcery.com>
14586
14587 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14588 instead of checking whether the target board is remote and
14589 use spawn_wait_for_attach instead of exec/sleep.
14590 * gdb.base/attach-twice.exp: Likewise.
14591
14592 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14593
14594 * gdb.ada/var_arr_attrs: New testcase.
14595
14596 2015-01-14 Pedro Alves <palves@redhat.com>
14597 Joel Brobecker <brobecker@adacore.com>
14598
14599 PR gdb/17525
14600 * gdb.base/bp-cmds-execution-x-script.c: New file.
14601 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14602 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14603
14604 2015-01-14 Pedro Alves <palves@redhat.com>
14605
14606 PR cli/17828
14607 * gdb.base/batch-preserve-term-settings.c: New file.
14608 * gdb.base/batch-preserve-term-settings.exp: New file.
14609
14610 2015-01-13 Doug Evans <dje@google.com>
14611
14612 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14613 binary.
14614
14615 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14616
14617 * Makefile.in (clean mostlyclean): Do not delete *.py.
14618
14619 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14620
14621 * gdb.python/py-lookup-type.exp: New file.
14622
14623 2015-01-12 Pedro Alves <palves@redhat.com>
14624
14625 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14626 restore GDBFLAGS before returning.
14627
14628 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14629
14630 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14631 is_amd64_regs_target and is_x86_like_target.
14632
14633 2015-01-11 Doug Evans <xdje42@gmail.com>
14634
14635 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14636 is given without an explicit form.
14637 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14638 attributes.
14639 * gdb.dwarf/corrupt.exp: Ditto.
14640 * gdb.dwarf2/enum-type.exp: Ditto.
14641 * gdb.trace/entry-values.exp: Ditto.
14642 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14643
14644 2015-01-11 Doug Evans <xdje42@gmail.com>
14645
14646 PR gdb/15830
14647 * gdb.base/maint.exp: Remove references to "maint demangle".
14648 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14649 Add tests for explicitly specifying language to demangle.
14650 * gdb.dlang/demangle.exp: Ditto.
14651
14652 2015-01-09 Pedro Alves <palves@redhat.com>
14653
14654 * gdb.threads/non-stop-fair-events.c: New file.
14655 * gdb.threads/non-stop-fair-events.exp: New file.
14656
14657 2015-01-09 Pedro Alves <palves@redhat.com>
14658
14659 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14660 the global scope. Set a breakpoint after all threads are started
14661 rather than stepping over two source lines. Expect the prompt.
14662 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14663 global.
14664 (NUM): Now 15.
14665 (main): Use threads_started_barrier to wait for all threads to
14666 start. Main thread no longer calls thread_function. Exit after
14667 180 seconds.
14668 (loop): New function.
14669 (thread_function): Wait on threads_started_barrier barrier. Call
14670 'loop' at each iteration.
14671 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14672 threads have started, instead of hardcoding number of "next"
14673 steps. Use an access watchpoint instead of a write watchpoint.
14674
14675 2015-01-09 Pedro Alves <palves@redhat.com>
14676
14677 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14678 (thread_func): Wait on barrier.
14679 (main): Wait for all threads to start before stopping GDB.
14680 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14681 global.
14682 (thread1_func, thread2_func): Wait on barrier.
14683 (main): Wait for all threads to start before stopping GDB.
14684 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14685 New global.
14686 (thread1_func, thread2_func): Wait on barrier.
14687 (main): Wait for all threads to start before stopping GDB.
14688
14689 2015-01-09 Pedro Alves <palves@redhat.com>
14690
14691 * gdb.threads/attach-many-short-lived-threads.c: New file.
14692 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14693
14694 2014-01-09 Pedro Alves <palves@redhat.com>
14695
14696 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14697 instead of to thread 2.
14698 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14699 Add barrier around each pthread_create call instead of around all
14700 calls.
14701 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14702 Set a break on thread_function and have the child threads hit it
14703 one at at a time.
14704
14705 2015-01-09 Pedro Alves <palves@redhat.com>
14706
14707 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14708 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14709 false.
14710 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14711 checking whether the target board is remote.
14712 * gdb.multi/multi-attach.exp: Likewise.
14713 * gdb.python/py-sync-interp.exp: Likewise.
14714 * gdb.server/ext-attach.exp: Likewise.
14715 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14716 tests that need to attach, instead of checking whether the target
14717 board is remote at the top of the file.
14718
14719 2015-01-08 Yao Qi <yao@codesourcery.com>
14720
14721 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14722
14723 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14724
14725 Fix testcase compilation.
14726 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14727
14728 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14729
14730 * gdb.python/py-type.exp: Add a couple test about empty
14731 array creation, and negative-length array creation.
14732
14733 2015-01-02 Doug Evans <xdje42@gmail.com>
14734
14735 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14736
14737 2015-01-02 Doug Evans <dje@google.com>
14738
14739 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14740
14741 2014-12-29 Yao Qi <yao@codesourcery.com>
14742
14743 * gdb.trace/entry-values.exp: Update comments. Rename variable
14744 bar_call_foo to returned_from_foo.
14745
14746 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14747
14748 PR gdb/17394
14749 * gdb.linespec/break-asm-file.c: New file.
14750 * gdb.linespec/break-asm-file.exp: New file.
14751 * gdb.linespec/break-asm-file0.s: New file.
14752 * gdb.linespec/break-asm-file1.s: New file.
14753
14754 2014-12-18 Nigel Stephens <nigel@mips.com>
14755 Maciej W. Rozycki <macro@codesourcery.com>
14756
14757 * gdb.base/float.exp: Handle the new output from "info float" on
14758 MIPS targets.
14759
14760 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14761
14762 Fix MinGW compilation.
14763 * gdb.compile/compile-ops.exp: Update untested message if
14764 !skip_compile_feature_tests.
14765 * gdb.compile/compile-setjmp.exp: Likewise.
14766 * gdb.compile/compile-tls.exp: Likewise.
14767 * gdb.compile/compile.exp: Likewise.
14768 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14769 supported on this host".
14770
14771 2014-12-16 Doug Evans <xdje42@gmail.com>
14772
14773 * boards/stabs.exp: New file.
14774
14775 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14776
14777 * gdb.base/completion.exp: Adjust to format changes of "maint
14778 print user-registers".
14779
14780 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14781
14782 PR server/17457
14783 * gdb.arch/aarch64-fp.c: New file.
14784 * gdb.arch/aarch64-fp.exp: New file.
14785
14786 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14787
14788 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14789 r210637, r210913, r211666, r215400, r215817).
14790
14791 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14792 * dg-extract-results.py: New file.
14793 * dg-extract-results.sh: Use it if the environment seems
14794 suitable.
14795
14796 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14797
14798 * dg-extract-results.py (parse_run): Handle warnings that
14799 are printed before a test harness is run.
14800
14801 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14802
14803 * dg-extract-results.py (Named): Remove __cmp__ method.
14804 (output_variation): Use a key to sort variation.harnesses.
14805
14806 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14807
14808 * dg-extract-results.py: For Python 3, force sys.stdout to
14809 handle surrogate escape sequences.
14810 (safe_open): New function.
14811 (output_segment, main): Use it.
14812
14813 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14814
14815 * dg-extract-results.py (Prog.result_re): Include options
14816 in test name.
14817
14818 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14819
14820 * dg-extract-results.py (output_variation): Always sort if
14821 do_sum.
14822
14823 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14824
14825 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14826 as long as we get pagination notifications.
14827
14828 2014-12-15 Jason Merrill <jason@redhat.com>
14829
14830 * Makefile.in (check-gdb.%): Restore.
14831 * README: Mention it.
14832
14833 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14834
14835 * gdb.ada/str_uninit: New testcase.
14836
14837 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14838
14839 PR symtab/17642
14840 * gdb.base/vla-stub-define.c: New file.
14841 * gdb.base/vla-stub.c: New file.
14842 * gdb.base/vla-stub.exp: New file.
14843
14844 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14845 Jan Kratochvil <jan.kratochvil@redhat.com>
14846 Tom Tromey <tromey@redhat.com>
14847
14848 * configure.ac: Add gdb.compile/.
14849 * configure: Regenerate.
14850 * gdb.compile/Makefile.in: New file.
14851 * gdb.compile/compile-ops.exp: New file.
14852 * gdb.compile/compile-ops.c: New file.
14853 * gdb.compile/compile-tls.c: New file.
14854 * gdb.compile/compile-tls.exp: New file.
14855 * gdb.compile/compile-constvar.S: New file.
14856 * gdb.compile/compile-constvar.c: New file.
14857 * gdb.compile/compile-mod.c: New file.
14858 * gdb.compile/compile-nodebug.c: New file.
14859 * gdb.compile/compile-setjmp-mod.c: New file.
14860 * gdb.compile/compile-setjmp.c: New file.
14861 * gdb.compile/compile-setjmp.exp: New file.
14862 * gdb.compile/compile-shlib.c: New file.
14863 * gdb.compile/compile.c: New file.
14864 * gdb.compile/compile.exp: New file.
14865 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14866
14867 2014-12-12 Tom Tromey <tromey@redhat.com>
14868
14869 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14870 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14871
14872 2014-12-12 Doug Evans <dje@google.com>
14873
14874 * lib/gdb-python.exp (get_python_valueof): New function.
14875 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14876
14877 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14878
14879 * gdb.base/completion.exp: Add test for completion of "info
14880 registers ".
14881
14882 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14883
14884 * gdb.base/func-ptrs.c: New file.
14885 * gdb.base/func-ptrs.exp: New file.
14886
14887 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14888
14889 PR breakpoints/17012
14890 * gdb.base/dprintf-detach.c: New file.
14891 * gdb.base/dprintf-detach.exp: New file.
14892
14893 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14894
14895 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14896 * lib/gdb.exp (target_is_gdbserver): New procedure.
14897
14898 2014-12-08 Doug Evans <dje@google.com>
14899
14900 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14901
14902 2014-12-05 Yao Qi <yao@codesourcery.com>
14903
14904 * gdb.guile/scm-error.exp: Remove the third argument to
14905 gdb_remote_download.
14906 * gdb.guile/scm-frame-args.exp: Likewise.
14907 * gdb.guile/scm-section-script.exp: Likewise.
14908
14909 2014-12-05 Yao Qi <yao@codesourcery.com>
14910
14911 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14912
14913 2014-12-04 Doug Evans <dje@google.com>
14914
14915 * gdb.python/py-objfile.exp: Add tests for
14916 objfile.add_separate_debug_file.
14917
14918 2014-12-04 Doug Evans <dje@google.com>
14919
14920 * lib/gdb.exp (get_build_id): New function.
14921 (build_id_debug_filename_get): Rewrite to use it.
14922 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14923
14924 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14925
14926 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14927 `method(long)', not just 0x0.
14928 * gdb.cp/nsalias.exp: Align code labels to 4.
14929 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14930 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14931 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14932 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14933 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14934 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14935
14936 2014-12-02 Doug Evans <dje@google.com>
14937
14938 PR symtab/17602
14939 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14940 * gdb.cp/anon-ns2.cc: ... here. New file.
14941 * gdb.cp/anon-ns.exp: Update.
14942
14943 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14944
14945 * gdb.python/py-events.py (inferior_call_handler): New.
14946 (register_changed_handler, memory_changed_handler): New.
14947 (test_events.invoke): Register new handlers.
14948 * gdb.python/py-events.exp: Add tests for inferior call,
14949 memory_changed and register_changed events.
14950
14951 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14952
14953 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14954 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14955 if the linker doesn't understand this.
14956
14957 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14958
14959 * gdb.python/python.exp: Change expected reply to help().
14960
14961 2014-12-01 Yao Qi <yao@codesourcery.com>
14962
14963 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14964 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14965 * configure: Re-generated.
14966
14967 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14968
14969 * gdb.cp/chained-calls.cc: New file.
14970 * gdb.cp/chained-calls.exp: New file.
14971 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14972
14973 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14974
14975 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14976 * gdb.dwarf2/symtab-producer.exp: Same.
14977 * gdb.gdb/python-interrupts.exp: Same.
14978 * gdb.gdb/python-selftest.exp: Same.
14979 * gdb.python/py-linetable.exp: Same.
14980 * gdb.python/py-type.exp: Same.
14981 * gdb.python/py-value-cc.exp: Same.
14982 * gdb.python/py-value.exp: Same.
14983
14984 2014-11-28 Yao Qi <yao@codesourcery.com>
14985
14986 * gdb.base/break-probes.exp: Match library name prefixed with
14987 sysroot.
14988
14989 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14990
14991 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14992 test expected output. Add parentheses for the call to print.
14993 Remove L suffix from integers.
14994
14995 2014-11-26 Doug Evans <dje@google.com>
14996
14997 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14998
14999 2014-11-22 Yao Qi <yao@codesourcery.com>
15000
15001 * gdb.trace/entry-values.c: Remove asms.
15002 (foo): Add foo_label.
15003 (bar): Add bar_label.
15004 * gdb.trace/entry-values.exp: Remove code computing foo's
15005 length and bar's length.
15006 (Dwarf::assemble): Invoke function_range for bar and use
15007 MACRO_AT_func for foo.
15008
15009 2014-11-22 Yao Qi <yao@codesourcery.com>
15010
15011 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15012 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15013 Use .Lgcc43_procstart instead of gcc43.
15014
15015 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15016
15017 * gdb.ada/n_arr_bound: New testcase.
15018
15019 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15020
15021 PR breakpoints/10737
15022 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15023 test_catch_syscall_multi_arch.
15024 (test_catch_syscall_multi_arch): New function.
15025
15026 2014-11-20 Doug Evans <xdje42@gmail.com>
15027
15028 * gdb.base/maint.exp: Update expected output.
15029
15030 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15031
15032 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15033 4-byte instruction on S390.
15034
15035 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15036
15037 * gdb.ada/arr_arr: New testcase.
15038
15039 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15040
15041 * gdb.ada/pkd_arr_elem: New Testcase.
15042
15043 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15044
15045 * gdb.reverse/break-precsave: Expect completion message for
15046 core file reads.
15047 * gdb.reverse/consecutive-precsave.exp: Likewise.
15048 * gdb.reverse/finish-precsave.exp: Likewise.
15049 * gdb.reverse/i386-precsave.exp: Likewise.
15050 * gdb.reverse/machinestate-precsave.exp: Likewise.
15051 * gdb.reverse/sigall-precsave.exp: Likewise.
15052 * gdb.reverse/solib-precsave.exp: Likewise.
15053 * gdb.reverse/step-precsave.exp: Likewise.
15054 * gdb.reverse/until-precsave.exp: Likewise.
15055 * gdb.reverse/watch-precsave.exp: Likewise.
15056
15057 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15058
15059 * gdb.base/bp-permanent.c: Include unistd.h.
15060 * gdb.python/py-framefilter-mi.c (main): Add return type.
15061 * gdb.python/py-framefilter.c (main): Likewise.
15062 * gdb.trace/actions-changed.c (main): Likewise.
15063
15064 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15065
15066 * gdb.mi/until.c: Add eye-catchers.
15067 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15068 line numbers.
15069
15070 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15071
15072 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15073 function header variants in break1.c.
15074 * gdb.base/ena-dis-br.exp: Likewise.
15075 * gdb.base/hbreak2.exp: Likewise.
15076 * gdb.reverse/until-precsave.exp: Drop references to removed
15077 non-prototype function header variants in ur1.c.
15078 * gdb.reverse/until-reverse.exp: Likewise.
15079
15080 2014-11-17 Petr Machata <pmachata@redhat.com>
15081
15082 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15083 ${_cu_offset_size} bytes abbrev offset.
15084
15085 2014-11-15 Doug Evans <xdje42@gmail.com>
15086
15087 PR symtab/17559
15088 * gdb.base/line-symtabs.exp: New file.
15089 * gdb.base/line-symtabs.c: New file.
15090 * gdb.base/line-symtabs.h: New file.
15091
15092 2014-11-14 Yao Qi <yao@codesourcery.com>
15093
15094 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15095 (func): Add label func_label.
15096 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15097 Replace low_pc and high_pc with MACRO_AT_range.
15098 Replace name, low_pc and high_pc with MACRO_AT_func.
15099
15100 2014-11-14 Yao Qi <yao@codesourcery.com>
15101
15102 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15103 Replace name, low_pc and high_pc with MACRO_AT_func.
15104
15105 2014-11-14 Yao Qi <yao@codesourcery.com>
15106
15107 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15108 produce debug information.
15109 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15110
15111 2014-11-14 Yao Qi <yao@codesourcery.com>
15112
15113 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15114 object and get function length.
15115 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15116 with MACRO_AT_func.
15117 (top-level): Replace gdb_compile and clean_restart with
15118 prepare_for_testing.
15119 * gdb.dwarf2/main.c (main): Add label main_label.
15120
15121 2014-11-14 Yao Qi <yao@codesourcery.com>
15122
15123 * lib/dwarf.exp (function_range): New procedure.
15124 (Dwarf::_handle_macro_at_func): New procedure.
15125 (Dwarf::_handle_macro_at_range): New procedure.
15126 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15127
15128 2014-11-14 Yao Qi <yao@codesourcery.com>
15129
15130 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15131 (_handle_attribute): New procedure.
15132
15133 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15134
15135 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15136 * gdb.base/call-sc.c (zed): Likewise.
15137 * gdb.base/checkpoint.c (main): Likewise.
15138 * gdb.base/dump.c (main): Likewise.
15139 * gdb.base/gcore.c (main): Likewise.
15140 * gdb.base/huge.c (main): Likewise.
15141 * gdb.base/multi-forks.c (main): Likewise.
15142 * gdb.base/pr10179-a.c (main): Likewise.
15143 * gdb.base/savedregs.c (main): Likewise.
15144 * gdb.base/sigaltstack.c (main): Likewise.
15145 * gdb.base/siginfo.c (main): Likewise.
15146 * gdb.base/structs.c (zed): Likewise.
15147 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15148 * gdb.mi/mi-syn-frame.c (main): Likewise.
15149 * gdb.mi/until.c (foo, main): Likewise.
15150 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15151 * gdb.base/solib-weak.c (foo): Declare.
15152 * gdb.base/attach-twice.c: Include stdio.h.
15153 * gdb.base/weaklib1.c: Likewise.
15154 * gdb.base/weaklib2.c: Likewise.
15155 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15156 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15157 unistd.h.
15158 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15159 * gdb.mi/mi-exit-code.c: Likewise.
15160 * gdb.base/break-interp-lib.c: Include string.h.
15161 * gdb.base/coremaker.c: Likewise.
15162 * gdb.base/testenv.c: Likewise.
15163 * gdb.python/py-finish-breakpoint.c: Likewise.
15164 * gdb.base/inferior-died.c: Include sys/wait.h.
15165 * gdb.base/fileio.c: Include time.h.
15166 * gdb.base/async-shell.c: Include unistd.h.
15167 * gdb.base/dprintf-non-stop.c: Likewise.
15168 * gdb.base/info-os.c: Likewise.
15169 * gdb.mi/mi-console.c: Likewise.
15170 * gdb.mi/watch-nonstop.c: Likewise.
15171 * gdb.python/py-events.c: Likewise.
15172 * gdb.base/async.c (baz): Move up before its invocation.
15173 * gdb.base/code_elim2.c (my_global_func): Likewise.
15174 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15175 * gdb.base/advance.c (func2): Likewise.
15176
15177 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15178
15179 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15180 variant.
15181 * gdb.base/annota3.c: Likewise.
15182 * gdb.base/async.c: Likewise.
15183 * gdb.base/average.c: Likewise.
15184 * gdb.base/call-ar-st.c: Likewise.
15185 * gdb.base/call-rt-st.c: Likewise.
15186 * gdb.base/call-sc.c: Likewise.
15187 * gdb.base/call-strs.c: Likewise.
15188 * gdb.base/ending-run.c: Likewise.
15189 * gdb.base/execd-prog.c: Likewise.
15190 * gdb.base/exprs.c: Likewise.
15191 * gdb.base/foll-exec.c: Likewise.
15192 * gdb.base/foll-fork.c: Likewise.
15193 * gdb.base/foll-vfork.c: Likewise.
15194 * gdb.base/funcargs.c: Likewise.
15195 * gdb.base/gcore.c: Likewise.
15196 * gdb.base/jump.c: Likewise.
15197 * gdb.base/langs0.c: Likewise.
15198 * gdb.base/langs1.c: Likewise.
15199 * gdb.base/langs2.c: Likewise.
15200 * gdb.base/mips_pro.c: Likewise.
15201 * gdb.base/nodebug.c: Likewise.
15202 * gdb.base/opaque0.c: Likewise.
15203 * gdb.base/opaque1.c: Likewise.
15204 * gdb.base/recurse.c: Likewise.
15205 * gdb.base/run.c: Likewise.
15206 * gdb.base/scope0.c: Likewise.
15207 * gdb.base/scope1.c: Likewise.
15208 * gdb.base/setshow.c: Likewise.
15209 * gdb.base/setvar.c: Likewise.
15210 * gdb.base/shmain.c: Likewise.
15211 * gdb.base/shr1.c: Likewise.
15212 * gdb.base/shr2.c: Likewise.
15213 * gdb.base/sigall.c: Likewise.
15214 * gdb.base/signals.c: Likewise.
15215 * gdb.base/so-indr-cl.c: Likewise.
15216 * gdb.base/solib2.c: Likewise.
15217 * gdb.base/structs.c: Likewise.
15218 * gdb.base/sum.c: Likewise.
15219 * gdb.base/vforked-prog.c: Likewise.
15220 * gdb.base/watchpoint.c: Likewise.
15221 * gdb.reverse/shr2.c: Likewise.
15222 * gdb.reverse/until-reverse.c: Likewise.
15223 * gdb.reverse/ur1.c: Likewise.
15224 * gdb.reverse/watch-reverse.c: Likewise.
15225
15226 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15227
15228 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15229 variant.
15230 * gdb.base/sepdebug.exp: Drop references to removed code.
15231
15232 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15233
15234 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15235 variant. Preserve original line numbering.
15236 * gdb.base/list1.c: Likewise.
15237
15238 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15239
15240 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15241 variant.
15242 * gdb.base/break1.c: Likewise.
15243 * gdb.base/break.exp: Drop references to removed code.
15244
15245 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15246
15247 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15248 variant.
15249
15250 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15251
15252 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15253
15254 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15255
15256 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15257 logic into perform_all_tests() and invoke it with and without
15258 function header prototypes.
15259 (do_function_calls): Remove conditional XFAIL for PR 5318.
15260 (rerun_and_prepare): Remove duplicate code.
15261 (perform_all_tests): New. Main logic moved here.
15262
15263 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15264
15265 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15266 code guarded by #ifdef NO_PROTOTYPES.
15267 (t_double_many_args): Likewise.
15268 (DEF_FUNC_MANY_ARGS_1): Likewise.
15269 (DEF_FUNC_VALUES_1): Likewise.
15270 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15271 guarded by #ifdef PROTOTYPES.
15272
15273 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15274
15275 * gdb.mi/mi-console.c: Add eye-catcher.
15276 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15277 instead of literal line number.
15278
15279 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15280
15281 * gdb.base/shr2.c: Add eye-catcher.
15282 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15283 line number.
15284
15285 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15286
15287 * gdb.base/jump.c: Add eye-catchers.
15288 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15289 numbers.
15290
15291 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15292
15293 * gdb.base/execd-prog.c: Add eye-catchers.
15294 * gdb.base/foll-exec.c: Likewise.
15295 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15296 line numbers.
15297
15298 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15299
15300 * gdb.base/ending-run.c: Add eye-catchers.
15301 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15302 literal line numbers.
15303
15304 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15305
15306 * gdb.base/call-rt-st.c: Add eye-catchers.
15307 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15308 literal line numbers.
15309
15310 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15311
15312 * gdb.base/call-ar-st.c: Add eye-catchers.
15313 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15314 literal line numbers.
15315
15316 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15317
15318 * gdb.base/average.c: Add eye-catchers.
15319 * gdb.base/sum.c: Likewise.
15320 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15321 regexps dynamically.
15322
15323 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15324
15325 * gdb.base/solib1.c: Add eye-catchers.
15326 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15327 literal line numbers.
15328
15329 2014-11-12 Pedro Alves <palves@redhat.com>
15330
15331 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15332 leader has exited.
15333
15334 2014-11-12 Pedro Alves <palves@redhat.com>
15335
15336 * gdb.arch/i386-bp_permanent.c: New file.
15337 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15338 (srcfile): Set to i386-bp_permanent.c.
15339 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15340 that stepi does not execute the 'leave' instruction, instead of
15341 testing it does execute.
15342 * gdb.base/bp-permanent.c: New file.
15343 * gdb.base/bp-permanent.exp: New file.
15344
15345 2014-11-10 Doug Evans <xdje42@gmail.com>
15346
15347 PR symtab/17564
15348 * gdb.base/symtab-search-order.exp: New file.
15349 * gdb.base/symtab-search-order.c: New file.
15350 * gdb.base/symtab-search-order-1.c: New file.
15351 * gdb.base/symtab-search-order-shlib-1.c: New file.
15352
15353 2014-11-07 Pedro Alves <palves@redhat.com>
15354
15355 PR gdb/17511
15356 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15357 i?86-*-linux*.
15358
15359 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15360
15361 PR c++/17494
15362 * gdb.cp/pr17494.cc: New file.
15363 * gdb.cp/pr17494.exp: New file.
15364
15365 2014-11-02 Yao Qi <yao@codesourcery.com>
15366
15367 * gdb.python/python.exp: Get working directory and match the
15368 output of "set extended-prompt \\w " with it.
15369
15370 2014-10-30 Doug Evans <dje@google.com>
15371
15372 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15373 in objfiles.
15374 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15375 in progspaces.
15376
15377 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
15378
15379 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15380 * gdb.base/realname-expand.exp: Likewise.
15381 * gdb.linespec/macro-relative.exp: Likewise.
15382
15383 2014-10-29 Pedro Alves <palves@redhat.com>
15384
15385 PR gdb/17408
15386 * gdb.threads/schedlock.c (some_function): New function.
15387 (call_function): New global.
15388 (MAYBE_CALL_SOME_FUNCTION): New macro.
15389 (thread_function): Call it.
15390 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15391 and use it instead of a global counter. Adjust all callers.
15392 (get_current_thread): Use "find current thread" for test message
15393 here rather than having all callers pass down the same string.
15394 (goto_loop): New procedure, factored out from ...
15395 (my_continue): ... this.
15396 (step_ten_loops): Change parameter from test message to command to
15397 use. Adjust.
15398 (list_count): Delete global.
15399 (check_result): New procedure, factored out from duplicate top
15400 level code.
15401 (continue tests): Wrap in with_test_prefix.
15402 (test_step): New procedure, factored out from duplicate top level
15403 code.
15404 (top level): Test "step" in combination with all scheduler-locking
15405 modes. Test "next" in combination with all scheduler-locking
15406 modes, and in combination with stepping over a function call or
15407 not.
15408 * gdb.threads/next-bp-other-thread.c: New file.
15409 * gdb.threads/next-bp-other-thread.exp: New file.
15410
15411 2014-10-29 Pedro Alves <palves@redhat.com>
15412
15413 PR python/17372
15414 * gdb.python/python.exp: Test a multi-line command that spawns
15415 interactive Python.
15416 * gdb.base/multi-line-starts-subshell.exp: New file.
15417
15418 2014-10-29 Yao Qi <yao@codesourcery.com>
15419
15420 * gdb.base/fileio.exp: Make directories on host.
15421
15422 2014-10-29 Yao Qi <yao@codesourcery.com>
15423
15424 * gdb.base/fileio.c (test_write): Close the file.
15425
15426 2014-10-28 Pedro Alves <palves@redhat.com>
15427
15428 PR gdb/12623
15429 * gdb.base/sigstep.c (no_handler): New global.
15430 (main): If 'no_handler is true, set the signal handlers to
15431 SIG_IGN.
15432 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15433 with_sw_watch and no_handler parameters. Handle them.
15434 (top level) <stepping over handler when stopped at a breakpoint
15435 test>: Add a test axis for testing with a software watchpoint, and
15436 another for testing with the signal handler set to SIG_IGN.
15437 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15438 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15439
15440 2014-10-28 Pedro Alves <palves@redhat.com>
15441
15442 PR gdb/17511
15443 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15444 * gdb.base/sigstep.exp (other_handler_location): New global.
15445 (advance): Support stepping into the signal handler, and running
15446 commands while in the handler.
15447 (in_handler_map): New global.
15448 (top level): In the advance test, add combinations for getting
15449 into the handler with stepping commands, and for running commands
15450 in the handler. Add comment descripting the advancei tests.
15451
15452 2014-10-28 Pedro Alves <palves@redhat.com>
15453
15454 * gdb.base/sigstep.exp: Use build_executable instead of
15455 prepare_for_testing.
15456 (top level): Move code that starts GDB, runs to main and creates a
15457 display to ...
15458 (restart): ... this new procedure.
15459 (top level): Move backtrace from signal handler test to ...
15460 (validate_backtrace): ... this new procedure.
15461 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15462 with_test_prefix. Always restart GDB.
15463 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15464 with_test_prefix. Always restart GDB. No need to delete
15465 breakpoints after the test.
15466 (test_skip_handler): Remove prefix parameter.
15467 (skip_over_handler, breakpoint_to_handler)
15468 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15469 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15470 restart GDB. No need to delete breakpoints after the test.
15471 (top level): Use foreach to call the test procedures with
15472 different commands.
15473
15474 2014-10-28 Pedro Alves <palves@redhat.com>
15475
15476 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15477 instead of GNATS numbers.
15478 * gdb.base/sigbpt.exp: Likewise.
15479 * gdb.base/siginfo.exp: Likewise.
15480 * gdb.base/sigstep.exp: Likewise.
15481
15482 2014-10-27 Pedro Alves <palves@redhat.com>
15483
15484 * gdb.base/sigstep.c (dummy): New global.
15485 (main): Issue a couple writes to the new global.
15486 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15487 procedures.
15488 (skip_over_handler): Use test_skip_handler.
15489 (top level): Call skip_over_handler for stepi and nexti too.
15490 (breakpoint_over_handler): Use test_skip_handler.
15491 (top level): Call breakpoint_over_handler for stepi and nexti too.
15492
15493 2014-10-27 Yao Qi <yao@codesourcery.com>
15494
15495 * gdb.trace/tfile.c (adjust_function_address)
15496 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15497 function descriptor.
15498
15499 2014-10-24 Don Breazeal <donb@codesourcery.com>
15500
15501 * gdb.base/foll-fork.exp (test_follow_fork,
15502 catch_fork_child_follow): Check for updated fork messages emitted
15503 from infrun.c.
15504 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15505 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15506 vfork_and_exec_child_follow_through_step): Check for updated vfork
15507 messages emitted from infrun.c.
15508
15509 2014-10-24 Pedro Alves <palves@redhat.com>
15510
15511 * gdb.base/corefile.exp: Remove references to ultrix.
15512 * gdb.base/interrupt.exp: Likewise.
15513 * gdb.base/whatis.exp: Likewise.
15514 * gdb.gdb/selftest.exp: Likewise.
15515 * gdb.threads/manythreads.exp: Likewise.
15516 * gdb.threads/print-threads.exp: Likewise.
15517 * gdb.threads/pthreads.exp:: Likewise.
15518 * gdb.threads/schedlock.exp: Likewise.
15519
15520 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15521
15522 * gdb.cp/non-trivial-retval.cc: Add a test case.
15523 * gdb.cp/non-trivial-retval.exp: Add a test.
15524
15525 2014-10-20 Yao Qi <yao@codesourcery.com>
15526
15527 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15528 * gdb.python/py-objfile-script-gdb.py: New file.
15529 * gdb.python/py-objfile-script.exp: Update reference to
15530 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15531 of remote_download. Remove the dest file.
15532
15533 2014-10-20 Yao Qi <yao@codesourcery.com>
15534
15535 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15536 * gdb.base/step-line.exp: Likewise.
15537 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15538 * gdb.dwarf2/dw2-basic.exp: Likewise.
15539 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15540 * gdb.dwarf2/dw2-filename.exp: Likewise.
15541 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15542 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15543 * gdb.dwarf2/dw2-producer.exp: Likewise.
15544 * gdb.dwarf2/mac-fileno.exp: Likewise.
15545 * gdb.python/py-frame-args.exp: Likewise.
15546 * gdb.python/py-framefilter.exp: Likewise.
15547 * gdb.python/py-mi.exp: Likewise.
15548 * gdb.python/py-objfile-script.exp: Likewise
15549 * gdb.python/py-pp-integral.exp: Likewise.
15550 * gdb.python/py-pp-re-notag.exp: Likewise.
15551 * gdb.python/py-prettyprint.exp: Likewise.
15552 * gdb.python/py-section-script.exp: Likewise.
15553 * gdb.python/py-typeprint.exp: Likewise.
15554 * gdb.python/py-xmethods.exp: Likewise.
15555 * gdb.stabs/weird.exp: Likewise.
15556 * gdb.xml/tdesc-regs.exp: Likewise.
15557
15558 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15559
15560 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15561 (out_cu): Use addr_len for the size of addresses.
15562 (out_line): Likewise. Size DW_LNE_set_address instruction
15563 according to addr_len.
15564 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15565 (FUNC): Add START_INSNS to definition.
15566
15567 2014-10-18 Yao Qi <yao@codesourcery.com>
15568
15569 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15570 gdb_has_argv0 return true.
15571 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15572 check [target_info exists noargs], check [gdb_has_argv0]
15573 instead.
15574 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15575 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15576 procedures.
15577
15578 2014-10-17 Doug Evans <dje@google.com>
15579
15580 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15581 event.
15582 * gdb.python/py-events.py: Add clear_objfiles event.
15583
15584 2014-10-17 Doug Evans <dje@google.com>
15585
15586 * gdb.python/py-objfile.exp: Test progspace attribute.
15587
15588 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15589
15590 * gdb.guile/scm-breakpoint.exp: Do not assume any
15591 directory separators when matching source file paths.
15592 * gdb.python/py-breakpoint.exp: Likewise.
15593 * gdb.reverse/break-precsave.exp: Likewise.
15594 * gdb.reverse/break-reverse.exp: Likewise.
15595 * gdb.reverse/consecutive-precsave.exp: Likewise.
15596 * gdb.reverse/finish-precsave.exp: Likewise.
15597 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15598 * gdb.reverse/finish-reverse.exp: Likewise.
15599 * gdb.reverse/i386-precsave.exp: Likewise.
15600 * gdb.reverse/i387-env-reverse.exp: Likewise.
15601 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15602 * gdb.reverse/machinestate-precsave.exp: Likewise.
15603 * gdb.reverse/machinestate.exp: Likewise.
15604 * gdb.reverse/sigall-precsave.exp: Likewise.
15605 * gdb.reverse/solib-precsave.exp: Likewise.
15606 * gdb.reverse/step-precsave.exp: Likewise.
15607 * gdb.reverse/until-precsave.exp: Likewise.
15608 * gdb.reverse/watch-precsave.exp: Likewise.
15609 * gdb.reverse/watch-reverse.exp: Likewise.
15610
15611 2014-10-17 Yao Qi <yao@codesourcery.com>
15612
15613 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15614 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15615
15616 2014-10-17 Pedro Alves <palves@redhat.com>
15617
15618 PR gdb/17471
15619 * gdb.base/bg-execution-repeat.c: New file.
15620 * gdb.base/bg-execution-repeat.exp: New file.
15621
15622 2014-10-17 Pedro Alves <palves@redhat.com>
15623
15624 PR gdb/17300
15625 * gdb.base/continue-all-already-running.c: New file.
15626 * gdb.base/continue-all-already-running.exp: New file.
15627
15628 2014-10-17 Pedro Alves <palves@redhat.com>
15629
15630 PR gdb/17472
15631 * gdb.base/annota-input-while-running.c: New file.
15632 * gdb.base/annota-input-while-running.exp: New file.
15633
15634 2014-10-17 Pedro Alves <palves@redhat.com>
15635
15636 * gdb.base/callfuncs.exp: emove references to osf.
15637 * gdb.base/sigall.exp: Likewise.
15638 * gdb.gdb/selftest.exp: Likewise.
15639 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15640 * gdb.mi/non-stop.c: Likewise.
15641 * gdb.mi/pthreads.c: Likewise.
15642 * gdb.reverse/sigall-precsave.exp: Likewise.
15643 * gdb.reverse/sigall-reverse.exp: Likewise.
15644 * gdb.threads/pthreads.c: Likewise.
15645 * gdb.threads/pthreads.exp: Likewise.
15646
15647 2014-10-17 Yao Qi <yao@codesourcery.com>
15648
15649 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15650 check 'target_info exists noargs'.
15651 (test_command_prompt_position): Likewise.
15652 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15653 Remove "set args".
15654 (progvar_simple_while_test): Likewise.
15655 (progvar_complex_if_while_test): Likewise.
15656 (if_while_breakpoint_command_test): Likewise.
15657 (infrun_breakpoint_command_test): Likewise.
15658 (breakpoint_command_test): Likewise.
15659 (watchpoint_command_test): Likewise.
15660 (bp_deleted_in_command_test): Likewise.
15661 (temporary_breakpoint_commands): Likewise.
15662
15663 2014-10-16 Yao Qi <yao@codesourcery.com>
15664
15665 * gdb.base/remotetimeout.exp: Remove noargs checking.
15666
15667 2014-10-15 Pedro Alves <palves@redhat.com>
15668
15669 PR breakpoints/9649
15670 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15671 * gdb.base/breakpoint-in-ro-region.exp
15672 (probe_target_hardware_step): New procedure.
15673 (top level): Probe hardware stepping and hardware breakpoint
15674 support. Test stepping through a read-only region, with both
15675 "breakpoint auto-hw" on and off and both "always-inserted" on and
15676 off.
15677
15678 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15679
15680 * gdb.dlang/demangle.exp: Update for demangling changes.
15681
15682 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15683
15684 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15685 * gdb.cp/non-trivial-retval.exp: Add new tests.
15686
15687 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15688
15689 PR c++/13403
15690 PR c++/15154
15691 * gdb.cp/non-trivial-retval.cc: New file.
15692 * gdb.cp/non-trivial-retval.exp: New file.
15693
15694 2014-10-15 Yao Qi <yao@codesourcery.com>
15695
15696 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15697 remote host.
15698
15699 2014-10-15 Yao Qi <yao@codesourcery.com>
15700
15701 * gdb.python/py-symbol.exp: Match file base name if host is
15702 remote, otherwise match file name with dir name.
15703 * gdb.python/py-symtab.exp: Likewise.
15704 * gdb.python/python.exp: Likewise.
15705
15706 2014-10-15 Yao Qi <yao@codesourcery.com>
15707
15708 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15709 pattern.
15710 * gdb.python/py-symtab.exp: Likewise.
15711 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15712 locationn.
15713
15714 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15715
15716 * gdb.ada/addr_arith: New testcase.
15717
15718 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15719
15720 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15721 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15722 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15723 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15724
15725 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15726
15727 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15728 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15729 * gdb.arch/stap-eval-lang-ada.exp: New file.
15730
15731 2014-10-14 Yao Qi <yao@codesourcery.com>
15732
15733 * gdb.mi/mi-var-child.c (nothing1): New function.
15734 (nothing2): New function.
15735 (do_children_tests): Set function pointers by nothing1 and
15736 nothing2.
15737 * gdb.mi/mi-var-child.exp: Step over new added statements.
15738 Update test to match the new output.
15739 * gdb.mi/var-cmd.c (nothing1): New function.
15740 (nothing2): New function.
15741 (do_children_tests): Set function pointers by nothing1 and
15742 nothing2.
15743 * gdb.mi/mi-var-display.exp: Update test to match output.
15744 Step to the line specified by $line_dct_nothing.
15745 Increase the number of lines to step.
15746
15747 2014-10-14 Yao Qi <yao@codesourcery.com>
15748
15749 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15750 tests.
15751 * gdb.mi/mi2-var-child.exp: Likewise.
15752
15753 2014-10-13 Doug Evans <dje@google.com>
15754
15755 * gdb.python/py-objfile.exp: Change name of file name test.
15756
15757 2014-10-13 Doug Evans <dje@google.com>
15758
15759 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15760 from the start of the CU.
15761
15762 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15763 Yao Qi <yao@codesourcery.com>
15764
15765 Fix "save breakpoints" for "catch" command.
15766 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15767 Remove -nonewline. Match also the added "main" line.
15768
15769 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15770
15771 Fix "save breakpoints" for "disable $bpnum" command.
15772 * gdb.base/save-bp.c (main): Add label.
15773 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15774
15775 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15776
15777 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15778
15779 2014-10-11 Yao Qi <yao@codesourcery.com>
15780
15781 * gdb.server/server-kill.exp: Execute command
15782 "set remote trace-status-packet on" before "tstatus".
15783
15784 2014-10-11 Yao Qi <yao@codesourcery.com>
15785
15786 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15787 (main): Call getppid.
15788 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15789 and continue to it. Read variable "server_pid".
15790
15791 2014-10-11 Yao Qi <yao@codesourcery.com>
15792
15793 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15794
15795 2014-10-11 Yao Qi <yao@codesourcery.com>
15796
15797 * gdb.threads/thread-find.exp: Don't execute command
15798 "info threads".
15799 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15800 * gdb.threads/linux-dp.exp: Don't check the condition
15801 $threads_created equals to zero.
15802
15803 2014-10-10 Pedro Alves <palves@redhat.com>
15804
15805 * gdb.base/bigcore.exp: Remove references to IRIX.
15806 * gdb.base/funcargs.exp: Likewise.
15807 * gdb.base/interrupt.exp: Likewise.
15808 * gdb.base/mips_pro.exp: Likewise.
15809 * gdb.base/nodebug.exp: Likewise.
15810 * gdb.base/setvar.exp: Likewise.
15811 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15812
15813 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15814 Pedro Alves <palves@redhat.com>
15815
15816 PR symtab/14466
15817 * gdb.base/vdso-warning.c: New file.
15818 * gdb.base/vdso-warning.exp: New file.
15819
15820 2014-10-02 Doug Evans <dje@google.com>
15821
15822 * gdb.base/structs.c (main): Don't run forever.
15823
15824 2014-10-02 Pedro Alves <palves@redhat.com>
15825
15826 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15827 (top level) <stop threads 1, stop threads 2>: Use it.
15828
15829 2014-10-02 Pedro Alves <palves@redhat.com>
15830
15831 * gdb.threads/break-while-running.exp (test): Add new
15832 'update_thread_list' argument. Skip "info threads" if false.
15833 (top level): Add new 'update_thread_list' axis.
15834
15835 2014-10-02 Pedro Alves <palves@redhat.com>
15836
15837 PR breakpoints/17431
15838 * gdb.base/execl-update-breakpoints.c: New file.
15839 * gdb.base/execl-update-breakpoints.exp: New file.
15840
15841 2014-10-01 Pedro Alves <palves@redhat.com>
15842
15843 * gdb.base/breakpoint-in-ro-region.c: New file.
15844 * gdb.base/breakpoint-in-ro-region.exp: New file.
15845
15846 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15847
15848 * gdb.mi/mi-exit-code.exp: New file.
15849 * gdb.mi/mi-exit-code.c: New file.
15850
15851 2014-09-30 Yao Qi <yao@codesourcery.com>
15852
15853 * lib/prelink-support.exp (build_executable_own_libs): Error if
15854 the target isn't native.
15855
15856 2014-09-30 Yao Qi <yao@codesourcery.com>
15857
15858 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15859 false.
15860
15861 2014-09-22 Pedro Alves <palves@redhat.com>
15862
15863 * gdb.threads/break-while-running.exp: New file.
15864 * gdb.threads/break-while-running.c: New file.
15865
15866 2014-09-19 Yao Qi <yao@codesourcery.com>
15867
15868 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15869 Invoke test. Restart GDB with --readnow and invoke test again.
15870
15871 2014-09-19 Yao Qi <yao@codesourcery.com>
15872
15873 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15874 proc set_breakpoint_on_gcd_function. Invoke
15875 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15876 invoke set_breakpoint_on_gcd_function again.
15877
15878 2014-09-18 Doug Evans <dje@google.com>
15879
15880 * gdb.dwarf2/symtab-producer.exp: New file.
15881
15882 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15883
15884 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15885 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15886 * gdb.base/global-var-nested-by-dso.c: Likewise.
15887 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15888
15889 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15890 Pedro Alves <palves@redhat.com>
15891
15892 * gdb.base/watch-bitfields.exp: Pass string other than test file
15893 name to prepare_for_testing.
15894 (watch): New procedure.
15895 (expect_watchpoint): Use with_test_prefix.
15896 (top level): Factor out tests to ...
15897 (test_watch_location, test_regular_watch): ... these new
15898 procedures, and use with_test_prefix and gdb_continue_to_end.
15899
15900 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15901
15902 PR breakpoints/12526
15903 * gdb.base/watch-bitfields.exp: New file.
15904 * gdb.base/watch-bitfields.c: New file.
15905
15906 2014-09-16 Pedro Alves <palves@redhat.com>
15907
15908 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15909 software and hardware addresses, not software address against
15910 itself.
15911
15912 2014-09-16 Pedro Alves <palves@redhat.com>
15913
15914 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15915 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15916
15917 2014-09-16 Pedro Alves <palves@redhat.com>
15918
15919 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15920 files.
15921 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15922 "*-*-vxworks*" throughout.
15923 * gdb.base/break.exp: Likewise.
15924 * gdb.base/default.exp: Likewise.
15925 * gdb.base/scope.exp: Likewise.
15926 * gdb.base/sepdebug.exp: Likewise.
15927 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15928 throughout.
15929 * gdb.base/run.c: Likewise.
15930 * gdb.base/sepdebug.c: Likewise.
15931 * gdb.hp/gdb.aCC/run.c: Likewise.
15932 * gdb.reverse/until-reverse.c: Likewise.
15933 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15934
15935 2014-09-16 Yao Qi <yao@codesourcery.com>
15936
15937 * boards/local-remote-host-native.exp: New file.
15938
15939 2014-09-14 Doug Evans <xdje42@gmail.com>
15940
15941 * gdb.threads/queue-signal.c (thread_count): New variable.
15942 (thread_count_mutex, thread_count_condvar): New variables.
15943 (incr_thread_count, wait_all_threads_running): New functions.
15944 (main): Wait for all threads to be in their thread functions.
15945
15946 2014-09-13 Doug Evans <xdje42@gmail.com>
15947
15948 * gdb.threads/queue-signal.c: New file.
15949 * gdb.threads/queue-signal.exp: New file.
15950
15951 2014-09-13 Doug Evans <xdje42@gmail.com>
15952
15953 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15954 be consistent with what default_gdb_init uses.
15955 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15956 the plain text of the prompt. Add some logging printfs.
15957 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15958
15959 2014-09-12 Pedro Alves <palves@redhat.com>
15960
15961 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15962 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15963 * gdb.arch/i386-size-overlap.exp: Likewise.
15964 * gdb.arch/i386-size.exp: Likewise.
15965 * gdb.arch/i386-unwind.exp: Likewise.
15966 * gdb.base/a2-run.exp: Likewise.
15967 * gdb.base/break.exp: Likewise.
15968 * gdb.base/charset.exp: Likewise.
15969 * gdb.base/chng-syms.exp: Likewise.
15970 * gdb.base/commands.exp: Likewise.
15971 * gdb.base/dbx.exp: Likewise.
15972 * gdb.base/find.exp: Likewise.
15973 * gdb.base/funcargs.exp: Likewise.
15974 * gdb.base/jit-simple.exp: Likewise.
15975 * gdb.base/reread.exp: Likewise.
15976 * gdb.base/sepdebug.exp: Likewise.
15977 * gdb.base/step-bt.exp: Likewise.
15978 * gdb.cp/mb-inline.exp: Likewise.
15979 * gdb.cp/mb-templates.exp: Likewise.
15980 * gdb.objc/basicclass.exp: Likewise.
15981 * gdb.threads/killed.exp: Likewise.
15982
15983 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15984
15985 PR tdep/17379
15986 * gdb.arch/powerpc-stackless.S: New file.
15987 * gdb.arch/powerpc-stackless.exp: New file.
15988
15989 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15990
15991 * gdb.base/attach.c: Include unistd.h.
15992 (main): Call alarm. Add label postloop.
15993 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15994 gdb_breakpoint, gdb_continue_to_breakpoint.
15995 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15996
15997 2014-09-11 Pedro Alves <palves@redhat.com>
15998
15999 PR gdb/17347
16000 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16001 * gdb.base/attach.exp (test_command_line_attach_run): New
16002 procedure.
16003 (top level): Call it.
16004
16005 2014-09-11 Pedro Alves <palves@redhat.com>
16006
16007 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16008 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16009 (do_command_attach_tests): Use spawn_wait_for_attach.
16010 * gdb.base/solib-overlap.exp: Likewise.
16011 * gdb.multi/multi-attach.exp: Likewise.
16012 * gdb.python/py-prompt.exp: Likewise.
16013 * gdb.python/py-sync-interp.exp: Likewise.
16014 * gdb.server/ext-attach.exp: Likewise.
16015
16016 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16017
16018 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16019 command in testcase. Simplify testcase.
16020
16021 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16022
16023 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16024
16025 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16026
16027 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16028
16029 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16030
16031 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16032
16033 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16034
16035 * gdb.dwarf2/dynarr-ptr.c: New file.
16036 * gdb.dwarf2/dynarr-ptr.exp: New file.
16037
16038 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16039
16040 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16041 of 30 rather than hardcoding 120 for a slow test case. Take the
16042 `gdb,timeout' target setting into account for this calculation.
16043 Don't extend the timeout for the test cases that don't need it.
16044
16045 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16046
16047 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16048 a factor of 2 for a slow test case. Take the `gdb,timeout'
16049 target setting into account for this calculation.
16050 * gdb.reverse/until-precsave.exp: Increase the timeout by
16051 a factor of 15 and 3 respectively rather than adding 120
16052 for a pair of slow test cases. Take the `gdb,timeout'
16053 target setting into account for this calculation.
16054
16055 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16056
16057 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16058 timeout, don't pass one down to gdb_expect.
16059 (gdb_expect): Rework timeout selection.
16060
16061 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16062
16063 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16064 exception on timeout.
16065 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16066 (gdbserver_start_extended): Catch any `gdbserver_start' error
16067 exceptions.
16068 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16069 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16070 `gdbserver_gdb_load' error exceptions.
16071
16072 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16073
16074 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16075 120 on waiting for the TCP socket to open.
16076
16077 2014-09-09 Doug Evans <xdje42@gmail.com>
16078
16079 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16080 _caller_matches, _any_caller_is, _any_caller_matches.
16081
16082 2014-09-09 Doug Evans <xdje42@gmail.com>
16083
16084 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16085
16086 2014-09-09 Yao Qi <yao@codesourcery.com>
16087
16088 * gdb.mi/mi-var-display.exp: Set print symbol off.
16089
16090 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16091
16092 PR gdb/17035
16093 * gdb.base/commands.exp: Add tests to verify user-defined
16094 commands with empty bodies.
16095 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16096 python commands in `show user command`.
16097 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16098 scheme commands in `show user command`.
16099
16100 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16101
16102 PR python/17355
16103 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16104 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16105 * gdb.python/py-framefilter-invalidarg.exp: New file.
16106 * gdb.python/py-framefilter-invalidarg.py: New file.
16107
16108 2014-09-06 Doug Evans <xdje42@gmail.com>
16109
16110 PR 15276
16111 * gdb.python/py-caller-is.c: New file.
16112 * gdb.python/py-caller-is.exp: New file.
16113
16114 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16115
16116 PR gdb/17235
16117 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16118 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16119
16120 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16121
16122 PR fortran/17237
16123 * gdb.fortran/print-formatted.exp: New file.
16124 * gdb.fortran/print-formatted.f90: Likewise.
16125
16126 2014-09-03 Sasha Smundak <asmundak@google.com>
16127
16128 * gdb.python/py-frame.exp: Test Frame.read_register.
16129
16130 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16131
16132 PR python/16699
16133 * gdb.python/py-completion.exp: New file.
16134 * gdb.python/py-completion.py: Likewise.
16135
16136 2014-08-28 Doug Evans <dje@google.com>
16137
16138 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16139 eax,etc. are live with values set by gdb and thus the compiler can't
16140 use them.
16141 * gdb.arch/i386-pseudo.c (main): Ditto.
16142
16143 2014-08-27 Doug Evans <dje@google.com>
16144
16145 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16146
16147 2014-08-25 Doug Evans <dje@google.com>
16148
16149 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16150 (main): Ditto.
16151
16152 2014-08-25 Doug Evans <dje@google.com>
16153
16154 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16155
16156 2014-08-24 Yao Qi <yao@codesourcery.com>
16157
16158 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16159 symbol off.
16160 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16161
16162 2014-08-22 Doug Evans <dje@google.com>
16163
16164 PR 17276
16165 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16166 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16167 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16168
16169 2014-08-22 Yao Qi <yao@codesourcery.com>
16170
16171 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16172 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16173 * gdb.python/python.exp: Likewise. Use .py file on the host
16174 instead of the build.
16175
16176 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16177
16178 * gdb.threads/gcore-stale-thread.c: New file.
16179 * gdb.threads/gcore-stale-thread.exp: New file.
16180
16181 2014-08-21 Pedro Alves <palves@redhat.com>
16182
16183 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16184 * gdb.base/gcore-relro-pie.exp: Likewise.
16185 * gdb.base/gcore-relro.exp: Likewise.
16186 * gdb.base/gcore.exp: Likewise.
16187 * gdb.base/print-symbol-loading.exp: Likewise.
16188 * gdb.threads/gcore-thread.exp: Likewise.
16189 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16190
16191 2014-08-20 Pedro Alves <palves@redhat.com>
16192 Jan Kratochvil <jan.kratochvil@redhat.com>
16193
16194 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16195 configure.
16196 (EXPECT): Handle READ1 being set.
16197 (all): Depend on EXTRA_RULES.
16198 (check-read1, expect-read1, read1.so, read1): New rules.
16199 * README (Testsuite Parameters): Document the READ1 make variable.
16200 (Race detection): New section.
16201 * configure: Regenerate.
16202 * configure.ac: If build==host==target, and running under a
16203 GNU/glibc system, add read1 to the extra Makefile rules.
16204 (EXTRA_RULES): AC_SUBST it.
16205 * lib/read1.c: New file.
16206
16207 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16208
16209 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16210 the handling of variables declared as a typedef to an array
16211 which a DW_AT_data_location attribute.
16212
16213 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16214 Pedro Alves <palves@redhat.com>
16215
16216 PR symtab/14604
16217 PR symtab/14605
16218 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16219 gdb_test.
16220
16221 2014-08-19 Pedro Alves <palves@redhat.com>
16222
16223 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16224
16225 2014-08-19 Yao Qi <yao@codesourcery.com>
16226
16227 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16228 right line.
16229
16230 2014-08-18 David Blaikie <dblaikie@gmail.com>
16231
16232 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16233
16234 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16235
16236 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16237 attribute in array range.
16238
16239 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16240
16241 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16242
16243 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16244
16245 PR c++/17132
16246 * gdb.cp/pr17132.cc: New file.
16247 * gdb.cp/pr17132.exp: New file.
16248
16249 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16250
16251 * gdb.python/py-xmethods.py (A_getarrayind)
16252 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16253 Use 'print' with function call syntax.
16254 (E_method_matcher.match): Fix tab vs space indentation mixup.
16255
16256 2014-08-15 Yao Qi <yao@codesourcery.com>
16257
16258 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16259 false.
16260
16261 2014-08-15 Yao Qi <yao@codesourcery.com>
16262
16263 * gdb.cp/casts.exp: Set print symbol off.
16264 * gdb.cp/class2.exp: Likewise.
16265 * gdb.cp/overload.exp: Likewise.
16266 * gdb.cp/templates.exp: Likewise.
16267
16268 2014-08-11 Doug Evans <dje@google.com>
16269
16270 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16271 (test_load_shlib): Update.
16272
16273 2014-08-09 Yao Qi <yao@codesourcery.com>
16274
16275 * gdb.base/display.exp: Invoke is_address_zero_readable.
16276 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16277 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16278 * gdb.base/hbreak-unmapped.exp: Return if
16279 is_address_zero_readable returns true.
16280 * gdb.base/signest.exp: Likewise.
16281 * gdb.base/signull.exp: Likewise.
16282 * gdb.base/sigbpt.exp: Likewise.
16283 * gdb.guile/scm-disasm.exp: Do the test if
16284 is_address_zero_readable returns false.
16285 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16286 * gdb.python/py-arch.exp: Likewise.
16287 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16288 * lib/gdb.exp (is_address_zero_readable): New proc.
16289
16290 2014-08-09 Yao Qi <yao@codesourcery.com>
16291
16292 PR testsuite/13443
16293 * gdb.mi/mi-var-display.exp: Make test messages unique.
16294
16295 2014-08-04 Tom Tromey <tromey@redhat.com>
16296
16297 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16298 target 0".
16299
16300 2014-08-04 Tom Tromey <tromey@redhat.com>
16301
16302 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16303 "target_resume".
16304
16305 2014-08-01 Joel Brobecker <brobecker@adacore.com>
16306
16307 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16308 inner_vla_struct_object_size.
16309 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16310 as xfail.
16311
16312 2014-07-30 Pedro Alves <palves@redhat.com>
16313
16314 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16315 comment.
16316
16317 2014-07-29 Yao Qi <yao@codesourcery.com>
16318
16319 PR gdb/17206
16320 * gdb.base/until-nodebug.exp: New.
16321
16322 2014-07-28 Doug Evans <xdje42@gmail.com>
16323
16324 PR guile/17203
16325 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16326 previously existing parameter, and previously ambiguously spelled
16327 parameter.
16328
16329 2014-07-28 Will Newton <will.newton@linaro.org>
16330
16331 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16332
16333 2014-07-26 Ludovic Courtès <ludo@gnu.org>
16334 Doug Evans <xdje42@gmail.com>
16335
16336 PR guile/17146
16337 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16338
16339 2014-07-25 Pedro Alves <palves@redhat.com>
16340
16341 * gdb.threads/signal-command-handle-nopass.c: New file.
16342 * gdb.threads/signal-command-handle-nopass.exp: New file.
16343 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16344 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16345 * gdb.threads/signal-delivered-right-thread.c: New file.
16346 * gdb.threads/signal-delivered-right-thread.exp: New file.
16347
16348 2014-07-25 Pedro Alves <palves@redhat.com>
16349
16350 * gdb.base/double-prompt-target-event-error.exp
16351 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16352 match.
16353 (cancel_pagination_in_target_event): Rework double prompt
16354 detection.
16355 * gdb.base/paginate-after-ctrl-c-running.exp
16356 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16357 <return>' match.
16358 * gdb.base/paginate-bg-execution.exp
16359 (test_bg_execution_pagination_return)
16360 (test_bg_execution_pagination_cancel): Remove '-notransfer
16361 <return>' matches.
16362 * gdb.base/paginate-execution-startup.exp
16363 (test_fg_execution_pagination_return)
16364 (test_fg_execution_pagination_cancel): Remove '-notransfer
16365 <return>' matches.
16366 * gdb.base/paginate-inferior-exit.exp
16367 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16368 match.
16369 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16370 * lib/gdb.exp (pagination_prompt): Run text through
16371 string_to_regexp.
16372 (gdb_test_multiple): Match $pagination_prompt instead of
16373 "<return>".
16374 (string_to_regexp): Move to lib/gdb-utils.exp.
16375
16376 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16377
16378 * gdb.arch/amd64-entry-value-paramref.S: New file.
16379 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16380 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16381 * gdb.arch/amd64-optimout-repeat.S: New file.
16382 * gdb.arch/amd64-optimout-repeat.c: New file.
16383 * gdb.arch/amd64-optimout-repeat.exp: New file.
16384
16385 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16386
16387 PR gdb/17170
16388 * gdb.base/statistics.exp: New file.
16389
16390 2014-07-17 Doug Evans <dje@google.com>
16391
16392 PR gdb/17170
16393 * gdb.base/maint.exp: Update testing of per-command stats.
16394
16395 2014-07-16 Pedro Alves <palves@redhat.com>
16396
16397 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16398 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16399 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16400 (tfile_write_buf): New functions.
16401 (add_memory_block): Rewrite using the above.
16402 (adjust_function_address): New function.
16403 (FUNCTION_ADDRESS): New macro.
16404 (write_basic_trace_file): Remove short_x local, and use
16405 tfile_write_16. Change type of func_addr local to unsigned long
16406 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16407 here. Cast argument of add_memory_block to char pointer.
16408 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16409 (main): Remove parameters.
16410 * gdb.trace/tfile.exp: Remove nowarnings.
16411
16412 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16413
16414 * gdb.base/debug-expr.exp: Test string evaluation with
16415 "debug expression" on.
16416
16417 2014-07-15 Pedro Alves <palves@redhat.com>
16418
16419 * gdb.base/reread.exp: Use clean_restart.
16420
16421 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16422
16423 * gdb.arch/avr-flash-qualifer.c: New.
16424 * gdb.arch/avr-flash-qualifer.exp: New.
16425
16426 2014-07-14 Pedro Alves <palves@redhat.com>
16427
16428 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16429 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16430
16431 2014-07-14 Pedro Alves <palves@redhat.com>
16432
16433 * gdb.base/double-prompt-target-event-error.c: New file.
16434 * gdb.base/double-prompt-target-event-error.exp: New file.
16435
16436 2014-07-14 Pedro Alves <palves@redhat.com>
16437
16438 PR gdb/17072
16439 * gdb.base/paginate-inferior-exit.c: New file.
16440 * gdb.base/paginate-inferior-exit.exp: New file.
16441
16442 2014-07-14 Pedro Alves <palves@redhat.com>
16443
16444 PR gdb/17072
16445 * gdb.base/paginate-bg-execution.c: New file.
16446 * gdb.base/paginate-bg-execution.exp: New file.
16447
16448 2014-07-14 Pedro Alves <palves@redhat.com>
16449
16450 PR gdb/17072
16451 * gdb.base/paginate-execution-startup.c: New file.
16452 * gdb.base/paginate-execution-startup.exp: New file.
16453 * lib/gdb.exp (pagination_prompt): New global.
16454 (default_gdb_spawn): New procedure, factored out from
16455 default_gdb_spawn.
16456 (default_gdb_start): Adjust to call default_gdb_spawn.
16457 (gdb_spawn): New procedure.
16458
16459 2014-07-14 Pedro Alves <palves@redhat.com>
16460
16461 * lib/gdb.exp (gdb_assert): New procedure.
16462 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16463
16464 2014-07-14 Pedro Alves <palves@redhat.com>
16465
16466 * gdb.base/execution-termios.c: New file.
16467 * gdb.base/execution-termios.exp: New file.
16468
16469 2014-07-14 Tom Tromey <tromey@redhat.com>
16470
16471 * gdb.cp/vla-cxx.cc: New file.
16472 * gdb.cp/vla-cxx.exp: New file.
16473
16474 2014-07-14 Tom Tromey <tromey@redhat.com>
16475
16476 * gdb.reverse/rerun-prec.c: New file.
16477 * gdb.reverse/rerun-prec.exp: New file.
16478
16479 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16480 Maciej W. Rozycki <macro@codesourcery.com>
16481
16482 * lib/gdb-utils.exp: New file.
16483 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16484 inline `gdb_init_command' processing.
16485 (gdb_start_cmd): Likewise.
16486 * lib/mi-support.exp (mi_run_cmd): Likewise.
16487 * README: Document `gdb_init_command' and `gdb_init_commands'.
16488
16489 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16490
16491 Fix false FAIL running under a very long directory name.
16492 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16493 and "set print elements 10000". Twice.
16494
16495 2014-07-11 Yao Qi <yao@codesourcery.com>
16496
16497 * gdb.base/exprs.exp: "set print symbol off".
16498
16499 2014-07-11 Pedro Alves <palves@redhat.com>
16500
16501 * gdb.threads/kill.c: New file.
16502 * gdb.threads/kill.exp: New file.
16503
16504 2014-07-10 Yao Qi <yao@codesourcery.com>
16505
16506 * gdb.trace/tfile.c (write_basic_trace_file)
16507 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16508 address written to trace file.
16509
16510 2014-07-09 Pedro Alves <palves@redhat.com>
16511
16512 * gdb.base/attach-wait-input.exp: New file.
16513 * gdb.base/attach-wait-input.c: New file.
16514
16515 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16516
16517 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16518 setting up test structures.
16519 (main): Call new test function.
16520 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16521 test function, continue into test function and walk test
16522 structures.
16523
16524 2014-07-02 Yao Qi <yao@codesourcery.com>
16525
16526 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16527 'bar_start' at the beginning of functions 'foo' and 'bar'
16528 respectively.
16529 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16530 instead of 'foo' and 'bar'.
16531
16532 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16533
16534 * gdb.btrace/segv.exp: New.
16535 * gdb.btrace/segv.c: New.
16536
16537 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16538
16539 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16540 instruction.
16541
16542 2014-06-30 Mark Wielaard <mjw@redhat.com>
16543
16544 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16545 vulture, vilify, villar): New volatile array constants.
16546 (vindictive, vegetation): New const volatile array constants.
16547 * gdb.base/volatile.exp: Test volatile and const volatile array
16548 types.
16549
16550 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16551
16552 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16553 target lacks support for awatch, rwatch, or hbreak.
16554
16555 2014-06-27 Yao Qi <yao@codesourcery.com>
16556
16557 * gdb.multi/dummy-frame-restore.exp: New.
16558 * gdb.multi/dummy-frame-restore.c: New.
16559
16560 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16561
16562 * gdb.btrace/gcore.exp: New.
16563
16564 2014-06-23 Pedro Alves <palves@redhat.com>
16565
16566 * gdb.base/watchpoint-reuse-slot.c: New file.
16567 * gdb.base/watchpoint-reuse-slot.exp: New file.
16568
16569 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16570
16571 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16572 progspace's filename in 'info', 'enable' and 'disable' command
16573 tests.
16574
16575 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16576
16577 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16578 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16579 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16580
16581 2014-06-20 Gary Benson <gbenson@redhat.com>
16582
16583 * gdb.arch/i386-avx.exp: Fix include file location.
16584 * gdb.arch/i386-sse.exp: Likewise.
16585
16586 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16587
16588 * gdb.dlang/expression.exp: New file.
16589
16590 2014-06-19 Pedro Alves <palves@redhat.com>
16591
16592 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16593 out from ...
16594 (top level): ... here. Iterate running tests under different
16595 scheduler-locking settings.
16596
16597 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16598
16599 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16600 to DW_FORM_addr and use non-zero addresses.
16601
16602 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16603
16604 PR gdb/17017
16605 * gdb.python/py-xmethods.cc: Add global function call counters and
16606 increment them in their respective functions. Remove "cout"
16607 statements.
16608 * gdb.python/py-xmethods.exp: Make tests check the global function
16609 call counters instead of depending on inferior IO.
16610
16611 2014-06-18 Don Breazeal <donb@codesourcery.com>
16612
16613 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16614 Deleted procedure.
16615 (explicit_fork_parent_follow): Deleted procedure.
16616 (explicit_fork_child_follow): Deleted procedure.
16617 (test_follow_fork): New procedure.
16618 (do_fork_tests): Replace calls to deleted procedures with
16619 calls to test_follow_fork and reset GDB for subsequent
16620 procedure calls.
16621
16622 2014-06-17 Yao Qi <yao@codesourcery.com>
16623
16624 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16625 CP1252.
16626
16627 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16628
16629 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16630 Initialize ptr and S explicitly.
16631 (skip_type_update_when_not_use_rtti_test): Likewise.
16632
16633 2014-06-16 Keith Seitz <keiths@redhat.com>
16634
16635 PR mi/15863
16636 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16637 the inferior is started.
16638
16639 2014-06-16 Pedro Alves <palves@redhat.com>
16640
16641 * gdb.base/break-main-file-remove-fail.c: New file.
16642 * gdb.base/break-main-file-remove-fail.exp: New file.
16643 * gdb.base/break-unload-file.exp: Use build_executable instead of
16644 prepare_for_testing.
16645 (test_break): New parameter "initial_load". Handle it.
16646 (top level): Add initial_load cmdline/file axis.
16647
16648 2014-06-12 Tom Tromey <tromey@redhat.com>
16649
16650 * gdb.base/completion.exp: Don't use directory name in test.
16651
16652 2014-06-09 Gary Benson <gbenson@redhat.com>
16653
16654 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16655 separate the always-available ANSI-standard signals from the
16656 signals that require checking.
16657 (main): Likewise.
16658 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16659 Likewise.
16660 (main): Likewise.
16661
16662 2014-06-07 Keith Seitz <keiths@redhat.com>
16663
16664 Revert:
16665 PR c++/16253
16666 * gdb.cp/var-tag.cc: New file.
16667 * gdb.cp/var-tag.exp: New file.
16668 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16669 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16670 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16671 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16672
16673 2014-06-06 Doug Evans <xdje42@gmail.com>
16674
16675 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16676
16677 2014-06-06 Pedro Alves <palves@redhat.com>
16678
16679 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16680 in target debug output instead of looking at RSP packets,
16681 disabling the test on any target that uses hardware stepping.
16682 Update comments.
16683
16684 2014-06-06 Pedro Alves <palves@redhat.com>
16685
16686 * gdb.base/break-unload-file.exp: Fix typo.
16687
16688 2014-06-06 Yao Qi <yao@codesourcery.com>
16689
16690 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16691 from "jit_function" to "^jit_function".
16692
16693 2014-06-06 Yao Qi <yao@codesourcery.com>
16694
16695 * gdb.base/async.c (foo): Add one statement.
16696 * gdb.base/async.exp: Get the next instruction address and
16697 match the output of "nexti" by instruction address. Match
16698 the hex address in the output of "finish".
16699
16700 2014-06-06 Gary Benson <gbenson@redhat.com>
16701
16702 * gdb.base/call-signals.c: Remove preprocessor conditionals
16703 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16704 SIGSEGV and SIGTERM.
16705 * gdb.base/sigall.c: Likewise.
16706 * gdb.base/unwindonsignal.c: Likewise.
16707 * gdb.reverse/sigall-reverse.c: Likewise.
16708
16709 2014-06-06 Yao Qi <yao@codesourcery.com>
16710
16711 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16712 readable, skip the test.
16713
16714 2014-06-06 Yao Qi <yao@codesourcery.com>
16715
16716 * gdb.threads/staticthreads.c (thread_function): Move the line
16717 setting breakpoint on forward.
16718 * gdb.threads/staticthreads.exp: Update comments.
16719
16720 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16721
16722 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16723 "history-append! type error".
16724
16725 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16726
16727 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16728 erroneous dprintf expected input.
16729
16730 2014-06-04 Doug Evans <xdje42@gmail.com>
16731
16732 * gdb.guile/scm-generics.exp: Delete.
16733
16734 2014-06-04 Doug Evans <xdje42@gmail.com>
16735
16736 * gdb.guile/scm-breakpoint.exp: Update.
16737 Add tests for breakpoint registration.
16738
16739 2014-06-04 Tom Tromey <tromey@redhat.com>
16740
16741 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16742 VLA-in-union.
16743 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16744 inner_vla_struct, vla_union types. Initialize objects of those
16745 types and compute their sizes.
16746
16747 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16748 Hui Zhu <hui@codesourcery.com>
16749
16750 * gdb.base/fileio.exp: Add test for shell not available as well as
16751 available.
16752 * gdb.base/fileio.c (test_system): Check for shell twice.
16753
16754 2014-06-04 Yao Qi <yao@codesourcery.com>
16755
16756 * gdb.base/auto-connect-native-target.exp: Remove redundant
16757 space from the regexp pattern.
16758
16759 2014-06-04 Yao Qi <yao@codesourcery.com>
16760
16761 * gdb.base/default.exp: Replace "child" with "native" in
16762 regexp pattern.
16763
16764 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16765
16766 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16767 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16768 * gdb.python/py-xmethods.py: Python script supporting the
16769 new testcase and tests.
16770
16771 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16772 Pedro Alves <palves@redhat.com>
16773
16774 PR breakpoints/17000
16775 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16776 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16777
16778 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16779
16780 * gdb.base/subst.exp: Add tests to verify partial path matching
16781 output.
16782
16783 2014-06-03 Pedro Alves <palves@redhat.com>
16784
16785 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16786 target that doesn't use software single-stepping.
16787
16788 2014-06-03 Pedro Alves <palves@redhat.com>
16789
16790 PR breakpoints/17000
16791 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16792 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16793
16794 2014-06-02 Doug Evans <xdje42@gmail.com>
16795
16796 * gdb.guile/scm-parameter.exp: New file.
16797
16798 2014-06-02 Doug Evans <xdje42@gmail.com>
16799
16800 * gdb.guile/scm-cmd.c: New file.
16801 * gdb.guile/scm-cmd.exp: New file.
16802
16803 2014-06-02 Doug Evans <xdje42@gmail.com>
16804
16805 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16806 pretty-printer lookup.
16807 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16808 (make-pp_s-printer): Call it.
16809 (make-pretty-printer-from-dict): New function.
16810 (lookup-pretty-printer-maker-from-dict): New function.
16811 (*pretty-printer*): Simplify.
16812 (make-objfile-pp_s-printer): New function.
16813 (install-objfile-pretty-printers!): New function.
16814 (make-progspace-pp_s-printer): New function.
16815 (install-progspace-pretty-printers!): New function.
16816 * gdb.guile/scm-progspace.c: New file.
16817 * gdb.guile/scm-progspace.exp: New file.
16818
16819 2014-06-02 Pedro Alves <palves@redhat.com>
16820
16821 * gdb.base/dprintf-bp-same-addr.c: New file.
16822 * gdb.base/dprintf-bp-same-addr.exp: New file.
16823
16824 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16825
16826 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16827 * gdb.arch/powerpc-power.s: Likewise.
16828
16829 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16830
16831 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16832
16833 2014-06-01 Yao Qi <yao@codesourcery.com>
16834
16835 * gdb.base/watchpoint.exp (test_watch_location): Check null
16836 pointer can be dereferenced. If not, do the test, otherwise
16837 skip it.
16838
16839 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16840
16841 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16842 results.
16843 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16844
16845 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16846
16847 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16848 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16849 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16850 * gdb.arch/amd64-invalid-stack-top.c: New file.
16851 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16852
16853 2014-05-30 Pedro Alves <palves@redhat.com>
16854
16855 PR breakpoints/17000
16856 * gdb.base/sss-bp-on-user-bp.c: New file.
16857 * gdb.base/sss-bp-on-user-bp.exp: New file.
16858
16859 2014-05-30 David Blaikie <dblaikie@gmail.com>
16860
16861 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16862 gnu_inline semantics via attribute.
16863 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16864 source explicitly specifies the required semantics.
16865
16866 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16867
16868 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16869
16870 2014-05-29 Pedro Alves <palves@redhat.com>
16871 Tom Tromey <tromey@redhat.com>
16872
16873 * gdb.base/async-shell.exp: Don't enable target-async.
16874 * gdb.base/async.exp
16875 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16876 parameter. Adjust.
16877 (top level): Don't test with "target-async".
16878 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16879 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16880 * gdb.base/inferior-died.exp: Don't enable target-async.
16881 * gdb.base/interrupt-noterm.exp: Likewise.
16882 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16883 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16884 * gdb.mi/mi-nonstop.exp: Likewise.
16885 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16886 * gdb.mi/mi-nsintrall.exp: Likewise.
16887 * gdb.mi/mi-nsmoribund.exp: Likewise.
16888 * gdb.mi/mi-nsthrexec.exp: Likewise.
16889 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16890 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16891 * gdb.python/py-evsignal.exp: Don't enable target-async.
16892 * gdb.python/py-evthreads.exp: Likewise.
16893 * gdb.python/py-prompt.exp: Likewise.
16894 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16895 * gdb.server/solib-list.exp: Don't enable target-async.
16896 * gdb.threads/thread-specific-bp.exp: Likewise.
16897 * lib/mi-support.exp: Adjust to use mi-async.
16898
16899 2014-05-29 Pedro Alves <palves@redhat.com>
16900
16901 PR gdb/13860
16902 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16903 reason, even in sync mode.
16904
16905 2014-05-29 Pedro Alves <palves@redhat.com>
16906 Hui Zhu <hui@codesourcery.com>
16907
16908 PR PR15693
16909 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16910 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16911 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16912 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16913
16914 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16915
16916 * config/monitor.exp (gdb_target_monitor): Replace use of
16917 "set remotebaud" by "set serial baud".
16918
16919 2014-05-26 Andy Wingo <wingo@igalia.com>
16920
16921 * gdb.guile/scm-breakpoint.exp:
16922 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16923 properties instead of gdb-object-properties.
16924
16925 2014-05-26 Yao Qi <yao@codesourcery.com>
16926
16927 * gdb.server/no-thread-db.exp: Specify source file name
16928 explicitly when setting a breakpoint.
16929
16930 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16931
16932 * gdb.btrace/vdso.c: New.
16933 * gdb.btrace/vdso.exp: New.
16934
16935 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16936
16937 * gdb.base/gcore.exp (capture_command_output): Move ...
16938 * lib/gdb.exp (capture_command_output): ... here.
16939
16940 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16941
16942 * gdb.btrace/data.exp: Test memory access during btrace replay.
16943
16944 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16945
16946 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16947
16948 2014-05-21 Pedro Alves <palves@redhat.com>
16949
16950 PR gdb/13860
16951 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16952 (top level): Test that output related to execution commands is
16953 sent to the console with CLI commands, but not with MI commands.
16954 Test that breakpoint events are always mirrored to the console.
16955 Also expect the new source line to be output after a "next" in
16956 async mode too. Make it a pass/fail test.
16957 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16958 output.
16959 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16960
16961 2014-05-21 Pedro Alves <palves@redhat.com>
16962
16963 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16964 Use them to test variations of "list" after reaching a breakpoint.
16965 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16966 Test "list" with listsize 10 after reaching a breakpoint.
16967 * gdb.python/python.exp (decode_line current location line
16968 number): Adjust expected line number.
16969
16970 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16971
16972 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16973 behavior for $args, pass it directly to "run".
16974
16975 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16976
16977 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16978 30000 to 65536.
16979
16980 2014-05-21 Pedro Alves <palves@redhat.com>
16981
16982 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16983 auto-connect-native-target off".
16984 * gdb.base/auto-connect-native-target.c: New file.
16985 * gdb.base/auto-connect-native-target.exp: New file.
16986
16987 2014-05-21 Pedro Alves <palves@redhat.com>
16988
16989 * gdb.base/default.exp: Test "target native" instead of "target
16990 child".
16991
16992 2014-05-21 Mark Wielaard <mjw@redhat.com>
16993
16994 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16995
16996 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16997
16998 Fix TLS access for -static -pthread.
16999 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17000 <HAVE_TLS> (thread_function, main): Initialize it.
17001 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17002 Add clean_restart.
17003 <$have_tls != "">: Check TLSVAR.
17004
17005 2014-05-21 Pedro Alves <palves@redhat.com>
17006
17007 * gdb.base/dcache-line-read-error.c: New.
17008 * gdb.base/dcache-line-read-error.exp: New.
17009
17010 2014-05-20 Pedro Alves <palves@redhat.com>
17011
17012 * gdb.base/compare-sections.c: New file.
17013 * gdb.base/compare-sections.exp: New file.
17014
17015 2014-05-20 Pedro Alves <palves@redhat.com>
17016
17017 * gdb.base/break-idempotent.c: New file.
17018 * gdb.base/break-idempotent.exp: New file.
17019
17020 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17021
17022 * gdb.btrace/nohist.exp: New.
17023
17024 2014-05-20 Yao Qi <yao@codesourcery.com>
17025
17026 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17027 gdb.reverse directory and gdb_reverse_timeout exists in board
17028 setting.
17029 * README: Document gdb_reverse_timeout.
17030
17031 2014-05-20 Yao Qi <yao@codesourcery.com>
17032
17033 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17034 'test_file_name'. Treat args as a string instead of a list.
17035 (gdb_init): Rename argument 'args' by 'test_file_name'.
17036
17037 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17038
17039 * gdb.arch/powerpc-power.exp: New file.
17040 * gdb.arch/powerpc-power.s: New file.
17041
17042 2014-05-16 Doug Evans <dje@google.com>
17043
17044 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17045 * gdb.base/completion.exp: Check that all expected files exist
17046 before doing file completion.
17047
17048 2014-05-16 Doug Evans <dje@google.com>
17049
17050 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17051 Update.
17052 (do_syscall_tests_without_xml): Update.
17053
17054 2014-05-16 Pedro Alves <palves@redhat.com>
17055
17056 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17057 instead of "unknown output after running".
17058
17059 2014-05-16 Yao Qi <yao@codesourcery.com>
17060
17061 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17062 file1.txt from host at the end.
17063 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17064
17065 2014-05-15 Doug Evans <dje@google.com>
17066
17067 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17068 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17069 loading file. Add test for TU lookup.
17070
17071 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17072
17073 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17074 calling "-exec-arguments" or "set args" before running the
17075 inferior.
17076
17077 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17078
17079 * lib/mi-support.exp (mi_expect_stop): Expect message for
17080 inferiors that exit with non-zero exit code.
17081
17082 2014-05-14 Yao Qi <yao@codesourcery.com>
17083
17084 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17085 match absolute path on remote host.
17086 (test_file_list_exec_source_files): Remove "/" from the
17087 pattern.
17088
17089 2014-05-14 Yao Qi <yao@codesourcery.com>
17090
17091 * boards/local-remote-host-notty.exp (${board}_file): New
17092 proc.
17093
17094 2014-05-07 Kyle McMartin <kyle@redhat.com>
17095
17096 Pushed by Joel Brobecker <brobecker@adacore.com>.
17097 * gdb.arch/aarch64-atomic-inst.c: New file.
17098 * gdb.arch/aarch64-atomic-inst.exp: New file.
17099
17100 2014-05-07 Yao Qi <yao@codesourcery.com>
17101
17102 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17103 in current context" too.
17104
17105 2014-05-05 Keith Seitz <keiths@redhat.com>
17106
17107 * gdb.linespec/ls-dollar.exp: Add test for linespec
17108 file:convenience_variable.
17109
17110 2014-05-05 Yao Qi <yao@codesourcery.com>
17111
17112 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17113 traceframes into tfile and ctf trace files. Read data from
17114 trace file and test collected data.
17115 (gdb_collect_locals_test): Likewise.
17116 (gdb_unavailable_registers_test): Likewise.
17117 (gdb_unavailable_floats): Likewise.
17118 (gdb_collect_globals_test): Likewise.
17119 (top-level): Append "ctf" to trace_file_targets if GDB
17120 supports.
17121
17122 2014-05-05 Yao Qi <yao@codesourcery.com>
17123
17124 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17125 code to ...
17126 (gdb_collect_args_test_1): ... it. New proc.
17127 (gdb_collect_locals_test): Move some code to ...
17128 (gdb_collect_locals_test_1): ... it. New proc.
17129 (gdb_unavailable_registers_test): Move some code to ...
17130 (gdb_unavailable_registers_test_1): ... it. New proc.
17131 (gdb_unavailable_floats): Move some code to ...
17132 (gdb_unavailable_floats_1): ... it. New proc.
17133
17134 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17135
17136 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17137 probes to test for bitness recognition.
17138 * gdb.arch/amd64-stap-optional-prefix.exp
17139 (test_probe_value_without_reg): New procedure.
17140 Add code to test for different kinds of bitness.
17141
17142 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17143
17144 PR breakpoints/16889
17145 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17146 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17147
17148 2014-05-01 Pedro Alves <palves@redhat.com>
17149
17150 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17151 gdb_file_cmd if no file is specified.
17152 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17153 last_loaded_file to set the remote exec-file.
17154
17155 2014-05-01 Pedro Alves <palves@redhat.com>
17156
17157 * boards/local-remote-host.exp: New file.
17158
17159 2014-05-01 Pedro Alves <palves@redhat.com>
17160
17161 * boards/local-remote-host.exp: Rename to ...
17162 * boards/local-remote-host-notty.exp: ... this.
17163
17164 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17165
17166 * gdb.ada/dyn_arrayidx: New testcase.
17167
17168 2014-04-26 Yao Qi <yao@codesourcery.com>
17169
17170 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17171 and compute the length of function main. Save it in
17172 $main_length.
17173 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17174 (top-level): Use gdb_compile to compile objects into
17175 executable and restart GDB. Remove invocation to
17176 prepare_for_testing.
17177
17178 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17179 Pedro Alves <palves@redhat.com>
17180
17181 PR server/16255
17182 * gdb.multi/multi-attach.c: New file.
17183 * gdb.multi/multi-attach.exp: New file.
17184
17185 2014-04-25 Pedro Alves <palves@redhat.com>
17186
17187 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17188 user.
17189 (top level): Test that "set remote conditional-breakpoints-packet
17190 off" works as intended.
17191 * gdb.base/dprintf.exp: Test that "set remote
17192 breakpoint-commands-packet off" works as intended.
17193 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17194 New function.
17195 (top level): Call it.
17196 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17197 remote fast-tracepoints-packet off" works as intended.
17198 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17199 * lib/gdb.exp (gdb_is_target_remote): ... here.
17200
17201 2014-04-24 David Blaikie <dblaikie@gmail.com>
17202
17203 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17204 ensure clang would not discard them.
17205 * gdb.base/gdbvars.c: Ditto.
17206 * gdb.base/memattr.c: Ditto.
17207 * gdb.base/whatis.c: Ditto.
17208 * gdb.python/py-prettyprint.c: Ditto.
17209 * gdb.trace/actions.c: Ditto.
17210 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17211 ensure clang would not discard it.
17212
17213 2014-04-24 David Blaikie <dblaikie@gmail.com>
17214
17215 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17216 clang to emit the full definition of type required by the test
17217 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17218
17219 2014-04-24 David Blaikie <dblaikie@gmail.com>
17220
17221 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17222 coax Clang into emitting the definition of the type.
17223 * gdb.cp/pr10728-x.h (y): Ditto.
17224 * gdb.cp/pr10728-y.cc (y): Ditto.
17225
17226 2014-04-24 David Blaikie <dblaikie@gmail.com>
17227
17228 * gdb.base/label.exp: XFAIL label related tests under Clang.
17229 * gdb.cp/cplabel.exp: Ditto.
17230 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17231 under Clang those using labels.
17232
17233 2014-04-25 Yao Qi <yao@codesourcery.com>
17234
17235 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17236 double_label.
17237 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17238 partial_label and double_label.
17239
17240 2014-04-24 David Blaikie <dblaikie@gmail.com>
17241
17242 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17243
17244 2014-04-24 David Blaikie <dblaikie@gmail.com>
17245
17246 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17247 of the function to work across GCC and Clang.
17248 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17249 pointer types (const void ** const V void **).
17250
17251 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
17252 Walfred Tedeschi <walfred.tedeschi@intel.com>
17253
17254 * Makefile.in (EXECUTABLES): Added i386-avx512.
17255 * gdb.arch/i386-avx512.c: New file.
17256 * gdb.arch/i386-avx512.exp: Likewise.
17257
17258 2014-04-23 Keith Seitz <keiths@redhat.com>
17259
17260 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17261 (mi_make_breakpoint_table): New procedure.
17262 (mi_create_breakpoint): Use mi_make_breakpoint
17263 and return the result.
17264 (mi_make_breakpoint): New procedure.
17265 (mi_build_kv_pairs): New procedure.
17266
17267 * gdb.mi/mi-break.exp: Remove unused globals,
17268 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17269 All callers updated.
17270 * gdb.mi/mi-dprintf.exp: Use variable to track command
17271 number.
17272 Update all callers of mi_create_breakpoint and use
17273 mi_make_breakpoint_table.
17274 Remove any unused global variables.
17275 * gdb.mi/mi-nonstop.exp: Likewise.
17276 * gdb.mi/mi-nsintrall.exp: Likewise.
17277 * gdb.mi/mi-nsmoribund.exp: Likewise.
17278 * gdb.mi/mi-nsthrexec.exp: Likewise.
17279 * gdb.mi/mi-reverse.exp: Likewise.
17280 * gdb.mi/mi-simplerun.exp: Likewise.
17281 * gdb.mi/mi-stepn.exp: Likewise.
17282 * gdb.mi/mi-syn-frame.exp: Likewise.
17283 * gdb.mi/mi-until.exp: Likewise.
17284 * gdb.mi/mi-var-cp.exp: Likewise.
17285 * gdb.mi/mi-var-display.exp: Likewise.
17286 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17287 * gdb.mi/mi2-var-child.exp: Likewise.
17288 * gdb.mi/mi-vla-c99.exp: Likewise.
17289 * lib/mi-support.exp: Likewise.
17290
17291 From Ian Lance Taylor <iant@cygnus.com>:
17292 * lib/gdb.exp (parse_args): New procedure.
17293
17294 2014-04-23 Pedro Alves <palves@redhat.com>
17295
17296 * gdb.base/break-unload-file.c: New file.
17297 * gdb.base/break-unload-file.exp: New file.
17298 * gdb.base/sym-file-lib.c (baz): New function.
17299 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17300 field.
17301 (load): Store the segment's mapped size.
17302 (unload): New function.
17303 (unload_shlib): New function.
17304 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17305 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17306 set a breakpoint at baz, and call it.
17307 * gdb.base/sym-file.exp: New tests for stale breakpoint
17308 instructions.
17309
17310 2014-04-23 Pedro Alves <palves@redhat.com>
17311
17312 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17313 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17314 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17315 * gdb.base/hbreak-unmapped.c: New file.
17316 * gdb.base/hbreak-unmapped.exp: New file.
17317 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17318 * lib/gdb.exp (gdb_is_target_remote): ... here.
17319
17320 2014-04-22 Pedro Alves <palves@redhat.com>
17321
17322 * gdb.base/consecutive-step-over.c: New file.
17323 * gdb.base/consecutive-step-over.exp: New file.
17324
17325 2014-04-22 Pedro Alves <palves@redhat.com>
17326
17327 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17328 instead of send_gdb/gdb_expect.
17329
17330 2014-04-22 Yao Qi <yao@codesourcery.com>
17331
17332 * lib/trace-support.exp (generate_tracefile): New procedure.
17333 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17334 return 0.
17335 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17336 if generate_tracefile returns 1.
17337
17338 2014-04-18 Tom Tromey <palves@redhat.com>
17339 Pedro alves <tromey@redhat.com>
17340
17341 PR backtrace/15558
17342 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17343 with a backtrace limit.
17344 * gdb.python/py-frame-inline.exp: Test running to an inline
17345 function with a backtrace limit, and printing the newest frame.
17346 * gdb.python/py-frame-inline.c (main): Call f.
17347
17348 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17349
17350 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17351
17352 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17353
17354 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17355 Drop prefix from unsupported source file path.
17356
17357 2014-04-17 Yao Qi <yao@codesourcery.com>
17358
17359 * lib/gdb.exp (with_target_charset): New proc.
17360 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17361 with_target_charset.
17362 (test_print_strings): Likewise.
17363 (test_repeat_bytes): Likewise.
17364 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17365 for some tests.
17366
17367 2014-04-16 Keith Seitz <keiths@redhat.com>
17368
17369 PR gdb/15827
17370 * gdb.dwarf2/corrupt.c: New file.
17371 * gdb.dwarf2/corrupt.exp: New file.
17372
17373 2014-04-16 Keith Seitz <keiths@redhat.com>
17374
17375 PR c++/16597
17376 * gdb.cp/namelessclass.cc: New file.
17377 * gdb.cp/namelessclass.exp: New file.
17378 * gdb.cp/namelessclass.S: New file.
17379
17380 2014-04-16 Doug Evans <dje@google.com>
17381
17382 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17383 Add comment.
17384 (gdbserver_default_get_comm_port): New function.
17385 (gdbserver_start): Check if board file provided
17386 "gdbserver,get_comm_port" and use it if so.
17387 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17388 (gdb,socketport): Set to "stdio".
17389 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17390 (stdio_gdbserver_template): Delete.
17391 (${board}_get_remote_address): Update.
17392 (${board}_build_remote_cmd): Delete.
17393 (${board}_get_comm_port): New function.
17394 (${board}_spawn): Update.
17395 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17396 Delete.
17397 (${board}_get_remote_address): Update.
17398 (${board}_get_comm_port): New function.
17399
17400 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
17401
17402 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17403 appearing in any order.
17404
17405 2014-04-15 Doug Evans <dje@google.com>
17406
17407 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17408 uninitialized value of "description".
17409
17410 2014-04-15 Keith Seitz <keiths@redhat.com>
17411
17412 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17413 Remove unused globals.
17414 (test_running_the_program): Likewise.
17415 (test_controlled_execution): Likewise.
17416 (test_controlling_breakpoints): Likewise.
17417 (test_program_termination): Likewise.
17418
17419 2014-04-15 Keith Seitz <keiths@redhat.com>
17420
17421 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17422 unused globals.
17423 (test_rbreak_creation_and_listing): Likewise.
17424 (test_ignore_count): Likewise.
17425 (test_error): Likewise.
17426
17427 2014-04-15 Pedro Alves <palves@redhat.com>
17428
17429 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17430 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17431 sym-file-loader.c.
17432 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17433 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17434 to sym-file-loader.c.
17435 (struct library): Forward declare.
17436 (load_shlib, lookup_function): Change prototypes.
17437 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17438 (translate_offset): Remove declarations.
17439 (get_text_addr): New declaration.
17440 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17441 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17442 sym-file-loader.h.
17443 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17444 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17445 here from sym-file-loader.h.
17446 (struct library): New structure.
17447 (load_shlib, lookup_function): Change prototypes and adjust to
17448 work with a struct library.
17449 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17450 (translate_offset): Make static.
17451 (get_text_addr): New function.
17452 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17453
17454 2014-04-15 Pedro Alves <palves@redhat.com>
17455
17456 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17457
17458 2014-04-15 Pedro Alves <palves@redhat.com>
17459
17460 * gdb.base/sym-file-loader.c: Include <limits.h>.
17461 (SELF_LINK): New define.
17462 (get_origin): New function.
17463 (load_shlib): Use it.
17464 * gdb.base/sym-file.exp: Don't early return if the target is
17465 remote. Use runto_main, and issue fail is that fails. Use
17466 gdb_load_shlibs.
17467 (shlib_name): Delete.
17468 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17469
17470 2014-04-15 Pedro Alves <palves@redhat.com>
17471
17472 * gdb.base/sym-file.exp: Remove regex characters from test
17473 message. Don't refer to breakpoint numbers in test messages.
17474
17475 2014-04-14 Keith Seitz <keiths@redhat.com>
17476
17477 PR c++/16253
17478 * gdb.cp/var-tag.cc: New file.
17479 * gdb.cp/var-tag.exp: New file.
17480 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17481 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17482 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17483 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17484
17485 2014-04-14 Tom Tromey <tromey@redhat.com>
17486
17487 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17488 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17489 type.
17490 * gdb.cp/enum-class.exp: New file.
17491 * gdb.cp/enum-class.cc: New file.
17492
17493 2014-04-14 Tom Tromey <tromey@redhat.com>
17494
17495 * gdb.dwarf2/enum-type.exp: New file.
17496
17497 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17498
17499 * gdb.mi/mi-vla-c99.exp: New file.
17500 * gdb.mi/vla.c: New file.
17501
17502 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17503
17504 * gdb.base/vla-datatypes.c: New file.
17505 * gdb.base/vla-datatypes.exp: New file.
17506
17507 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17508
17509 * gdb.base/vla-ptr.c: New file.
17510 * gdb.base/vla-ptr.exp: New file.
17511
17512 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17513
17514 * gdb.dwarf2/count.exp: New file.
17515
17516 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17517
17518 * gdb.base/vla-sideeffect.c: New file.
17519 * gdb.base/vla-sideeffect.exp: New file.
17520
17521 2014-04-14 David Blaikie <dblaikie@gmail.com>
17522
17523 * gdb.mi/non-stop.c: Add return value for non-void function return
17524 statement.
17525 * gdb.threads/staticthreads.c: Ditto.
17526
17527 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17528 Doug Evans <xdje42@gmail.com>
17529
17530 * gdb.guile/scm-value.c: Improve test case.
17531 * gdb.guile/scm-value.exp: Add new test.
17532
17533 2014-04-11 David Blaikie <dblaikie@gmail.com>
17534
17535 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17536 override Clang's default.
17537
17538 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17539
17540 Revert the following changes (regressions):
17541
17542 * gdb.base/vla-sideeffect.c: New file.
17543 * gdb.base/vla-sideeffect.exp: New file.
17544
17545 * gdb.dwarf2/count.exp: New file.
17546
17547 * gdb.base/vla-multi.c: New file.
17548 * gdb.base/vla-multi.exp: New file.
17549
17550 * gdb.base/vla-ptr.c: New file.
17551 * gdb.base/vla-ptr.exp: New file.
17552
17553 * gdb.base/vla-datatypes.c: New file.
17554 * gdb.base/vla-datatypes.exp: New file.
17555
17556 * gdb.mi/mi-vla-c99.exp: New file.
17557 * gdb.mi/vla.c: New file.
17558
17559 2014-04-11 Keith Seitz <keiths@redhat.com>
17560
17561 PR c++/16675
17562 * gdb.cp/cpsizeof.exp: New file.
17563 * gdb.cp/cpsizeof.cc: New file.
17564
17565 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17566
17567 * gdb.mi/mi-vla-c99.exp: New file.
17568 * gdb.mi/vla.c: New file.
17569
17570 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17571
17572 * gdb.base/vla-datatypes.c: New file.
17573 * gdb.base/vla-datatypes.exp: New file.
17574
17575 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17576
17577 * gdb.base/vla-ptr.c: New file.
17578 * gdb.base/vla-ptr.exp: New file.
17579
17580 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17581
17582 * gdb.base/vla-multi.c: New file.
17583 * gdb.base/vla-multi.exp: New file.
17584
17585 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17586
17587 * gdb.dwarf2/count.exp: New file.
17588
17589 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17590
17591 * gdb.base/vla-sideeffect.c: New file.
17592 * gdb.base/vla-sideeffect.exp: New file.
17593
17594 2014-04-11 Yao Qi <yao@codesourcery.com>
17595
17596 * gdb.base/completion.exp: Check file exists before running tests
17597 on file completion.
17598
17599 2014-04-10 Pedro Alves <palves@redhat.com>
17600
17601 * gdb.base/cond-eval-mode.c: New file.
17602 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17603 prepare_for_testing to build the new file. Check result of
17604 runto_main.
17605 (test_break, test_watch): New procedures.
17606 (top level): Use them.
17607
17608 2014-04-08 Pierre Muller <muller@sourceware.org>
17609
17610 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17611 Ctrl-V use for mingw hosts.
17612
17613 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17614
17615 * gdb.python/py-value.c: Improve test case.
17616 * gdb.python/py-value.exp: Add new test.
17617
17618 2014-04-07 David Blaikie <dblaikie@gmail.com>
17619
17620 * lib/compiler.c: Identify the clang compiler.
17621 * lib/compiler.cc: Ditto.
17622
17623 2014-04-03 Yao Qi <yao@codesourcery.com>
17624
17625 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17626
17627 2014-04-01 Anton Blanchard <anton@samba.org>
17628
17629 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17630 messages unique.
17631
17632 2014-04-01 Anton Blanchard <anton@samba.org>
17633
17634 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17635 prepare_for_testing.
17636
17637 2014-04-01 Anton Blanchard <anton@samba.org>
17638
17639 * gdb.arch/ppc64-atomic-inst.c: Remove.
17640 * gdb.arch/ppc64-atomic-inst.S: New file.
17641 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17642
17643 2014-03-31 Doug Evans <dje@google.com>
17644
17645 * gdb.base/print-symbol-loading-lib.c: New file.
17646 * gdb.base/print-symbol-loading-main.c: New file.
17647 * gdb.base/print-symbol-loading.exp: New file.
17648
17649 2014-03-31 Yao Qi <yao@codesourcery.com>
17650
17651 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17652
17653 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17654
17655 * gdb.ada/mi_dyn_arr: New testcase.
17656
17657 2014-03-27 Doug Evans <dje@google.com>
17658
17659 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17660
17661 2014-03-27 Yao Qi <yao@codesourcery.com>
17662
17663 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17664 if target is nios2-*-*.
17665
17666 2014-03-26 Yao Qi <yao@codesourcery.com>
17667
17668 * lib/gdb.exp (readline_is_used): New proc.
17669 * gdb.base/completion.exp: Move tests on command complete up.
17670 Skip the rest of tests if readline is not used.
17671 * gdb.ada/complete.exp: Skp the test if readline is not
17672 used.
17673 * gdb.base/filesym.exp: Likewise.
17674 * gdb.base/macscp.exp: Likewise.
17675 * gdb.base/readline-ask.exp: Likewise.
17676 * gdb.base/readline.exp: Likewise.
17677 * gdb.python/py-cmd.exp: Likewise.
17678 * gdb.trace/tfile.exp: Likewise.
17679
17680 2014-03-26 Yao Qi <yao@codesourcery.com>
17681
17682 * gdb.base/macscp.exp: Fix code format issues.
17683
17684 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17685
17686 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17687 * gdb.asm/powerpc64le.inc: New file.
17688
17689 2014-03-25 Pedro Alves <palves@redhat.com>
17690 Doug Evans <dje@google.com>
17691
17692 * gdb.base/source-execution.c: New file.
17693 * gdb.base/source-execution.exp: New file.
17694 * gdb.base/source-execution.gdb: New file.
17695
17696 2014-03-24 Doug Evans <dje@google.com>
17697
17698 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17699 using fission.
17700
17701 2014-03-24 Hui Zhu <hui@codesourcery.com>
17702 Pedro Alves <palves@redhat.com>
17703
17704 PR breakpoints/16101
17705 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17706 test pass/fail messages. Detect missing support for dprintf when
17707 breakpoints are actually inserted.
17708 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17709 breakpoints are actually inserted.
17710 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17711 fails.
17712
17713 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17714
17715 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17716
17717 2014-03-22 Doug Evans <xdje42@gmail.com>
17718
17719 * gdb.python/python.exp (python not supported): Verify multi-line
17720 python command issues an error.
17721 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17722 guile command issues an error.
17723
17724 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17725
17726 * gdb.threads/thread-specific.exp: Handle the lack of usable
17727 $this_breakpoint and $this_thread.
17728
17729 2014-03-21 Hui Zhu <hui@codesourcery.com>
17730
17731 * gdb.base/attach.exp (do_command_attach_tests): New.
17732
17733 2014-03-20 Tom Tromey <tromey@redhat.com>
17734 Pedro Alves <palves@redhat.com>
17735
17736 PR cli/15718
17737 * gdb.base/condbreak-call-false.c: New file.
17738 * gdb.base/condbreak-call-false.exp: New file.
17739
17740 2014-03-20 Pedro Alves <palves@redhat.com>
17741
17742 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17743 Delete.
17744 (block_signals, unblock_signals): Delete.
17745 (child_function_2, main): Remove references to deleted variable
17746 and functions.
17747
17748 2014-03-20 Pedro Alves <palves@redhat.com>
17749
17750 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17751 Use pthread_kill to signal thread 2.
17752 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17753 Adjust to make the test send itself a signal rather than using the
17754 host's "kill" command.
17755
17756 2014-03-20 Pedro Alves <palves@redhat.com>
17757
17758 * gdb.threads/multiple-step-overs.c: New file.
17759 * gdb.threads/multiple-step-overs.exp: New file.
17760 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17761 Adjust expected infrun debug output.
17762
17763 2014-03-20 Pedro Alves <palves@redhat.com>
17764
17765 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17766 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17767
17768 2014-03-20 Pedro Alves <palves@redhat.com>
17769
17770 PR breakpoints/7143
17771 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17772 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17773 of gdb_test_multiple.
17774 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17775 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17776
17777 2014-03-20 Pedro Alves <palves@redhat.com>
17778
17779 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17780 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17781
17782 2014-03-19 Pedro Alves <palves@redhat.com>
17783
17784 * gdb.base/async.exp: Remove early return.
17785
17786 2014-03-19 Pedro Alves <palves@redhat.com>
17787
17788 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17789
17790 2014-03-19 Pedro Alves <palves@redhat.com>
17791
17792 * gdb.base/async.exp (test_background): Expect \r\n after
17793 "completed." in the fail pattern.
17794
17795 2014-03-19 Pedro Alves <palves@redhat.com>
17796
17797 * gdb.base/async.exp (test_background): New procedure.
17798 Use it for all background execution command tests.
17799
17800 2014-03-19 Pedro Alves <palves@redhat.com>
17801
17802 * gdb.base/async.exp: Use prepare_for_testing.
17803
17804 2014-03-19 Pedro Alves <palves@redhat.com>
17805
17806 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17807 the same line.
17808
17809 2014-03-19 Pedro Alves <palves@redhat.com>
17810
17811 * gdb.base/async.c (main): Add "jump here" and "until here" line
17812 marker comments.
17813 * gdb.base/async.exp (jump_here): New global.
17814 (jump& test): Use it.
17815 (until_here): New global.
17816 (until& test): Use it.
17817
17818 2014-03-19 Pedro Alves <palves@redhat.com>
17819
17820 * gdb.base/async.exp: Don't frob gdb_protocol.
17821
17822 2014-03-18 Doug Evans <xdje42@gmail.com>
17823
17824 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17825 Fix spelling of exec-done-display.
17826
17827 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17828
17829 PR gdb/15358
17830 * gdb.base/gdb-sigterm.c: New file.
17831 * gdb.base/gdb-sigterm.exp: New file.
17832
17833 2014-03-18 Pedro Alves <palves@redhat.com>
17834
17835 PR gdb/13860
17836 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17837 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17838 solib-event.
17839
17840 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17841
17842 * gdb.ada/pckd_arr_ren: New testcase.
17843
17844 2014-03-13 Doug Evans <xdje42@gmail.com>
17845
17846 PR guile/16612
17847 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17848 collect after discarding symbols.
17849
17850 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17851 Doug Evans <xdje42@gmail.com>
17852
17853 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17854 to history survives a gc.
17855
17856 2014-03-13 Pedro Alves <palves@redhat.com>
17857
17858 * gdb.base/default.exp: Don't test "target procfs".
17859
17860 2014-03-13 Pedro Alves <palves@redhat.com>
17861
17862 * gdb.base/default.exp: Update "target child" and "target procfs"
17863 tests to not expect "Unix".
17864
17865 2014-03-12 Tom Tromey <tromey@redhat.com>
17866
17867 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17868 New procs. Add target-async tests.
17869 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17870 Add target-async tests.
17871
17872 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17873
17874 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17875 'func_start' and 'func_end' for the beginning and end of the
17876 function code, respectively.
17877 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17878 'func_end' instead of 'func' and 'main'.
17879
17880 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17881
17882 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17883 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17884 generate the debug info assembler source.
17885
17886 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17887
17888 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17889 * gdb.dwarf2/arr-subrange.exp: Likewise.
17890 * gdb.dwarf2/dwz.exp: Likewise.
17891 * gdb.dwarf2/method-ptr.exp: Likewise.
17892 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17893 * gdb.dwarf2/subrange.exp: Likewise.
17894 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17895 * gdb.dwarf2/implptrpiece.exp: Likewise.
17896 * gdb.dwarf2/nostaticblock.exp: Likewise.
17897
17898 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17899
17900 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17901 directory to absolute path name arguments.
17902
17903 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17904
17905 * gdb.ada/tagged_access: New testcase.
17906
17907 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17908
17909 * gdb.btrace/data.exp: Update expected output.
17910
17911 2014-03-06 Yao Qi <yao@codesourcery.com>
17912
17913 * gdb.trace/pr16508.exp: New file.
17914
17915 2014-03-05 Pedro Alves <palves@redhat.com>
17916
17917 PR gdb/16575
17918 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17919 procedure.
17920 (top level): Adjust to use it. Add tests that exercise breakpoint
17921 interaction with the code-cache.
17922
17923 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17924
17925 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17926 test for 'history-append!'.
17927
17928 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17929
17930 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17931 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17932 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17933 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17934 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17935 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17936
17937 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17938
17939 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17940 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17941 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17942
17943 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17944
17945 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17946
17947 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17948
17949 * gdb.dwarf2/arr-stride.c: New file.
17950 * gdb.dwarf2/arr-stride.exp: New file.
17951
17952 2014-02-26 Pedro Alves <palves@redhat.com>
17953
17954 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17955 that won't ever trigger. Make sure that GDB reports the correct
17956 breakpoint that caused the stop.
17957
17958 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17959
17960 PR gdb/16626
17961 * gdb.base/auto-load-script: New file.
17962 * gdb.base/auto-load.c: New file.
17963 * gdb.base/auto-load.exp: New file.
17964
17965 PR gdb/16626
17966 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17967
17968 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17969
17970 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17971 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17972
17973 2014-02-24 Doug Evans <dje@google.com>
17974
17975 * lib/gdb.exp (run_on_host): Log error output if program fails.
17976
17977 2014-02-21 Pedro Alves <palves@redhat.com>
17978
17979 * gdb.threads/step-after-sr-lock.c: Rename to ...
17980 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17981 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17982 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17983 ... this.
17984
17985 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17986
17987 PR tdep/16397
17988 * gdb.arch/amd64-stap-special-operands.exp: New file.
17989 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17990 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17991 * gdb.arch/amd64-stap-triplet.S: Likewise.
17992 * gdb.arch/amd64-stap-triplet.c: Likewise.
17993
17994 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17995
17996 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17997 in .section pseudo-op.
17998
17999 2014-02-20 lin zuojian <manjian2006@gmail.com>
18000 Joel Brobecker <brobecker@adacore.com>
18001 Doug Evans <xdje42@gmail.com>
18002
18003 PR symtab/16581
18004 * gdb.dwarf2/dw2-icycle.S: New file.
18005 * gdb.dwarf2/dw2-icycle.c: New file.
18006 * gdb.dwarf2/dw2-icycle.exp: New file.
18007
18008 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18009
18010 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18011 operations on gdb.Value objects.
18012 * gdb.python/py-value-cc.exp: Add new test to test operations on
18013 gdb.Value objects.
18014
18015 2014-02-18 Doug Evans <dje@google.com>
18016
18017 * Makefile.in (TESTS): New variable.
18018 (expanded_tests, expanded_tests_or_none): New variables
18019 (check-single): Pass $(expanded_tests_or_none) to runtest.
18020 (check-parallel): Only run tests in $(TESTS) if non-empty.
18021 (check/no-matching-tests-found): New rule.
18022 * README: Document TESTS makefile variable.
18023
18024 2014-02-18 Doug Evans <dje@google.com>
18025
18026 * Makefile.in (check-parallel): rm -rf outputs temp.
18027
18028 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18029
18030 Fix "ERROR: no fileid for" in the testsuite.
18031 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18032
18033 2014-02-12 Doug Evans <dje@google.com>
18034
18035 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18036 (MISCELLANEOUS): New variable.
18037 (clean): rm -rf $(MISCELLANEOUS).
18038 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18039 dwp live in the same directory as symlinks, with each symlink pointed
18040 to a differently named file in a different directory.
18041
18042 2014-02-11 Doug Evans <dje@google.com>
18043
18044 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18045 of Tcl file commands.
18046
18047 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18048
18049 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18050 "kill -SIGUSR1 -1".
18051
18052 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18053
18054 * gdb.ada/tick_length_array_enum_idx: New testcase.
18055
18056 2014-02-10 Doug Evans <xdje42@gmail.com>
18057
18058 * configure.ac (AC_OUTPUT): Add gdb.guile.
18059 * configure: Regenerate.
18060 * lib/gdb-guile.exp: New file.
18061 * lib/gdb.exp (get_target_charset): New function.
18062 * gdb.base/help.exp: Update expected output from "apropos apropos".
18063 * gdb.guile/Makefile.in: New file.
18064 * gdb.guile/guile.exp: New file.
18065 * gdb.guile/scm-arch.c: New file.
18066 * gdb.guile/scm-arch.exp: New file.
18067 * gdb.guile/scm-block.c: New file.
18068 * gdb.guile/scm-block.exp: New file.
18069 * gdb.guile/scm-breakpoint.c: New file.
18070 * gdb.guile/scm-breakpoint.exp: New file.
18071 * gdb.guile/scm-disasm.c: New file.
18072 * gdb.guile/scm-disasm.exp: New file.
18073 * gdb.guile/scm-equal.c: New file.
18074 * gdb.guile/scm-equal.exp: New file.
18075 * gdb.guile/scm-error.exp: New file.
18076 * gdb.guile/scm-error.scm: New file.
18077 * gdb.guile/scm-frame-args.c: New file.
18078 * gdb.guile/scm-frame-args.exp: New file.
18079 * gdb.guile/scm-frame-args.scm: New file.
18080 * gdb.guile/scm-frame-inline.c: New file.
18081 * gdb.guile/scm-frame-inline.exp: New file.
18082 * gdb.guile/scm-frame.c: New file.
18083 * gdb.guile/scm-frame.exp: New file.
18084 * gdb.guile/scm-generics.exp: New file.
18085 * gdb.guile/scm-gsmob.exp: New file.
18086 * gdb.guile/scm-iterator.c: New file.
18087 * gdb.guile/scm-iterator.exp: New file.
18088 * gdb.guile/scm-math.c: New file.
18089 * gdb.guile/scm-math.exp: New file.
18090 * gdb.guile/scm-objfile-script-gdb.in: New file.
18091 * gdb.guile/scm-objfile-script.c: New file.
18092 * gdb.guile/scm-objfile-script.exp: New file.
18093 * gdb.guile/scm-objfile.c: New file.
18094 * gdb.guile/scm-objfile.exp: New file.
18095 * gdb.guile/scm-ports.exp: New file.
18096 * gdb.guile/scm-pretty-print.c: New file.
18097 * gdb.guile/scm-pretty-print.exp: New file.
18098 * gdb.guile/scm-pretty-print.scm: New file.
18099 * gdb.guile/scm-section-script.c: New file.
18100 * gdb.guile/scm-section-script.exp: New file.
18101 * gdb.guile/scm-section-script.scm: New file.
18102 * gdb.guile/scm-symbol.c: New file.
18103 * gdb.guile/scm-symbol.exp: New file.
18104 * gdb.guile/scm-symtab-2.c: New file.
18105 * gdb.guile/scm-symtab.c: New file.
18106 * gdb.guile/scm-symtab.exp: New file.
18107 * gdb.guile/scm-type.c: New file.
18108 * gdb.guile/scm-type.exp: New file.
18109 * gdb.guile/scm-value-cc.cc: New file.
18110 * gdb.guile/scm-value-cc.exp: New file.
18111 * gdb.guile/scm-value.c: New file.
18112 * gdb.guile/scm-value.exp: New file.
18113 * gdb.guile/source2.scm: New file.
18114 * gdb.guile/types-module.cc: New file.
18115 * gdb.guile/types-module.exp: New file.
18116
18117 2014-02-10 Yao Qi <yao@codesourcery.com>
18118
18119 PR testsuite/16543
18120 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18121 * configure: Regenerated.
18122 * Makefile.in: New file.
18123
18124 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18125
18126 * gdb.python/py-framefilter.exp: Fix typo.
18127
18128 2014-02-08 Yao Qi <yao@codesourcery.com>
18129
18130 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18131 that no =breakpoint-modified is emitted when breakpoints are
18132 modified through MI commands.
18133
18134 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18135 Pedro Alves <palves@redhat.com>
18136
18137 * gdb.threads/step-after-sr-lock.c: New file.
18138 * gdb.threads/step-after-sr-lock.exp: New file.
18139
18140 2014-02-07 Pedro Alves <palves@redhat.com>
18141
18142 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18143
18144 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18145
18146 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18147 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18148
18149 2014-02-06 Doug Evans <xdje42@gmail.com>
18150
18151 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18152 output.
18153
18154 * gdb.gdb/python-interrupts.exp: New file.
18155
18156 2014-02-05 Yao Qi <yao@codesourcery.com>
18157
18158 * gdb.trace/report.exp (use_collected_data): Test the output
18159 of "info threads" and "info inferiors".
18160
18161 2014-02-05 Yao Qi <yao@codesourcery.com>
18162
18163 Revert this patch:
18164
18165 2013-05-24 Yao Qi <yao@codesourcery.com>
18166
18167 * gdb.trace/tfile.exp: Test inferior and thread.
18168
18169 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18170
18171 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18172 on a function.
18173 * gdb.base/step-bt.c: Call hello via function pointer to make
18174 sure its first instruction is executed on powerpc64le-linux.
18175
18176 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18177
18178 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18179
18180 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18181
18182 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18183 of the test patterns for use on little-endian systems.
18184
18185 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18186
18187 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18188 (decimal_vector): Fix for little-endian.
18189
18190 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18191
18192 * gdb.arch/sparc-sysstep.exp: New file.
18193 * gdb.arch/sparc-sysstep.c: Likewise.
18194
18195 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18196
18197 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18198
18199 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18200
18201 2014-01-23 Tom Tromey <tromey@redhat.com>
18202
18203 * gdb.ada/array_char_idx: New testcase.
18204
18205 2014-01-23 Tom Tromey <tromey@redhat.com>
18206
18207 PR python/16487:
18208 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18209 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18210 classes.
18211
18212 2014-01-23 Tom Tromey <tromey@redhat.com>
18213
18214 PR python/16491:
18215 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18216 string from an inferior frame.
18217 * gdb.python/py-framefilter-mi.exp: Update.
18218
18219 2014-01-22 Doug Evans <dje@google.com>
18220
18221 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18222
18223 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18224
18225 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18226
18227 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18228
18229 * gdb.trace/entry-values.exp: Remove excess space character from
18230 regex patterns. Handle s390 call instruction.
18231
18232 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18233
18234 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18235 define "*_start" label. Make "name" static.
18236 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18237 ${name} by references to ${name}_start.
18238
18239 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18240
18241 * gdb.base/info-macros.exp: Remove "debug" from the compile
18242 options.
18243
18244 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18245
18246 * gdb.dlang/demangle.exp: New file.
18247
18248 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18249
18250 * gdb.dlang/primitive-types.exp: New file.
18251
18252 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18253
18254 * configure.ac: Create gdb.dlang/Makefile.
18255 * configure: Regenerate.
18256 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18257 * gdb.dlang/Makefile.in: New file.
18258 * lib/d-support.exp: New file.
18259 * lib/gdb.exp (skip_d_tests): New proc.
18260
18261 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18262
18263 * gdb.btrace/delta.exp: Check reverse stepi.
18264 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18265 * gdb.btrace/finish.exp: New.
18266 * gdb.btrace/next.exp: New.
18267 * gdb.btrace/nexti.exp: New.
18268 * gdb.btrace/record_goto.c: Add comments.
18269 * gdb.btrace/step.exp: New.
18270 * gdb.btrace/stepi.exp: New.
18271 * gdb.btrace/multi-thread-step.c: New.
18272 * gdb.btrace/multi-thread-step.exp: New.
18273 * gdb.btrace/rn-dl-bind.c: New.
18274 * gdb.btrace/rn-dl-bind.exp: New.
18275 * gdb.btrace/data.c: New.
18276 * gdb.btrace/data.exp: New.
18277 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18278
18279 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18280
18281 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18282 * gdb.btrace/exception.exp: Update.
18283 * gdb.btrace/instruction_history.exp: Update.
18284 * gdb.btrace/record_goto.exp: Update.
18285 * gdb.btrace/tailcall.exp: Update.
18286 * gdb.btrace/unknown_functions.exp: Update.
18287 * gdb.btrace/delta.exp: New.
18288
18289 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18290
18291 * gdb.btrace/record_goto.exp: Add backtrace test.
18292 * gdb.btrace/tailcall.exp: Add backtrace test.
18293
18294 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18295
18296 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18297 * gdb.btrace/record_goto.c: New.
18298 * gdb.btrace/record_goto.exp: New.
18299 * gdb.btrace/x86-record_goto.S: New.
18300
18301 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18302
18303 * gdb.btrace/function_call_history.exp: Update tests.
18304 * gdb.btrace/instruction_history.exp: Update tests.
18305
18306 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18307
18308 * gdb.btrace/function_call_history.exp: Fix expected field
18309 order for "record function-call-history".
18310 Add new tests for "record function-call-history /c".
18311 * gdb.btrace/exception.cc: New.
18312 * gdb.btrace/exception.exp: New.
18313 * gdb.btrace/tailcall.exp: New.
18314 * gdb.btrace/x86-tailcall.S: New.
18315 * gdb.btrace/x86-tailcall.c: New.
18316 * gdb.btrace/unknown_functions.c: New.
18317 * gdb.btrace/unknown_functions.exp: New.
18318 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18319
18320 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18321
18322 * gdb.btrace/instruction_history.exp: Update.
18323 * gdb.btrace/function_call_history.exp: Update.
18324
18325 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18326
18327 * gdb.btrace/function_call_history.exp: Fix expected function
18328 trace.
18329 * gdb.btrace/instruction_history.exp: Initialize traced.
18330 Remove traced_functions.
18331
18332 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18333
18334 * gdb.btrace/function_call_history.exp: Update
18335 * gdb.btrace/instruction_history.exp: Update.
18336
18337 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18338
18339 * gdb.btrace/enable.exp: Update expected text.
18340
18341 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18342
18343 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18344 bytes.
18345
18346 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18347
18348 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18349
18350 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
18351
18352 * lib/gdb.exp (supports_process_record): Return true for
18353 arm*-linux*. (supports_reverse): Likewise.
18354
18355 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18356
18357 PR python/15464
18358 PR python/16113
18359 * gdb.python/py-type.c: Enhance test case.
18360 * gdb.python/py-value-cc.cc: Likewise
18361 * gdb.python/py-type.exp: Add new tests.
18362 * gdb.python/py-value-cc.exp: Likewise
18363
18364 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18365 Pedro Alves <palves@redhat.com>
18366
18367 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18368 Make "name" extern.
18369 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18370 references to ${name}_start by references to ${name}.
18371
18372 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18373
18374 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18375
18376 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18377
18378 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18379
18380 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18381 Pedro Alves <palves@redhat.com>
18382
18383 * gdb.mi/mi-info-os.exp: Connect to the target with
18384 mi_gdb_target_load.
18385
18386 2014-01-08 Pedro Alves <palves@redhat.com>
18387
18388 * gdb.threads/reconnect-signal.c: New file.
18389 * gdb.threads/reconnect-signal.exp: New file.
18390
18391 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18392
18393 * gdb.base/source-dir.exp: New file.
18394
18395 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18396
18397 * gdb.ada/mi_interface: New testcase.
18398
18399 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18400
18401 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18402 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18403 gdb.ada/pp-rec-component/pck.ads: New files.
18404
18405 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18406
18407 * gdb.python/py-pp-integral.c: New file.
18408 * gdb.python/py-pp-integral.py: New file.
18409 * gdb.python/py-pp-integral.exp: New file.
18410
18411 For older changes see ChangeLog-1993-2013.
18412 \f
18413 ;; Local Variables:
18414 ;; mode: change-log
18415 ;; left-margin: 8
18416 ;; fill-column: 74
18417 ;; version-control: never
18418 ;; End:
18419
18420 Copyright 2014-2020 Free Software Foundation, Inc.
18421 Copying and distribution of this file, with or without modification,
18422 are permitted provided the copyright notice and this notice are preserved.
This page took 0.708104 seconds and 4 git commands to generate.