gdb: allow duplicate enumerators in flag enums
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2
3 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
4 enumerator.
5
6 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
7
8 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
9 FE_, add FE_NONE.
10 (three): Update.
11 (enum flag_enum_without_zero): New enum.
12 (flag_enum_without_zero): New variable.
13 (enum not_flag_enum): New enum.
14 (three_not_flag): New variable.
15 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
16 (test_print_enums): Add more tests for printing flag enums.
17
18 2020-02-18 Tom de Vries <tdevries@suse.de>
19
20 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
21 (gdb_compile_ada): ... here.
22 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
23 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
24
25 2020-02-14 Tom Tromey <tom@tromey.com>
26
27 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
28 build directory.
29 * boards/gdbserver-base.exp: Update path to gdbserver.
30
31 2020-02-13 Tom de Vries <tdevries@suse.de>
32
33 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
34
35 2020-02-13 Tom de Vries <tdevries@suse.de>
36
37 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
38 are missing.
39
40 2020-02-13 Tom de Vries <tdevries@suse.de>
41
42 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
43 call.
44
45 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
46
47 PR tui/25126
48 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
49 * gdb.base/cached-source-file.c: New file.
50 * gdb.base/cached-source-file.exp: New file.
51
52 2020-02-11 Tom de Vries <tdevries@suse.de>
53
54 PR testsuite/25488
55 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
56
57 2020-02-10 Tom de Vries <tdevries@suse.de>
58
59 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
60
61 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
62
63 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
64 and $after_addr are both integers before making a comparison.
65
66 2020-02-09 Tom de Vries <tdevries@suse.de>
67
68 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
69 command output and paste it into gdb.log. If any, paste catch message
70 to gdb.log.
71
72 2020-02-07 Tom Tromey <tromey@adacore.com>
73
74 PR breakpoints/24915:
75 * gdb.base/annotate-symlink.exp: Use setup_xfail.
76
77 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
78
79 * gdb.tui/tui-missing-src.exp: Add the "missing source
80 file" test for the TUI.
81
82 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
83
84 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
85 including a port number in the output.
86
87 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
88
89 * lib/fortran.exp (fortran_int4): Handle clang.
90 (fortran_int8): Likewise.
91 (fortran_real4): Likewise.
92 (fortran_real8): Likewise.
93 (fortran_complex4): Likewise.
94 (fortran_logical4): Likewise.
95 (fortran_character1): Likewise.
96
97 2020-02-04 Tom de Vries <tdevries@suse.de>
98
99 * README (Race detection): Add note.
100
101 2020-02-04 Tom de Vries <tdevries@suse.de>
102
103 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
104
105 2020-02-04 Tom de Vries <tdevries@suse.de>
106
107 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
108
109 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
110
111 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
112 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
113 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
114 blttar, bnetarl.
115 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
116 binary for blttar, bnetarl.
117 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
118 wait instruction. Delete ldmx test.
119 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
120
121 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
122
123 * gdb.fortran/array-bounds-high.exp: New file.
124 * gdb.fortran/array-bounds-high.f90: New file.
125
126 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
127
128 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
129 Replace #include of <sys/fcntl.h> by <fcntl.h>.
130
131 2020-02-01 Tom de Vries <tdevries@suse.de>
132
133 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
134
135 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
136
137 PR tui/9765
138 * gdb.tui/tui-layout-asm-short-prog.S: New file.
139 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
140
141 2020-01-29 Luis Machado <luis.machado@linaro.org>
142
143 * gdb.arch/aarch64-brk-patterns.c: New source file.
144 * gdb.arch/aarch64-brk-patterns.exp: New test.
145
146 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
147
148 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
149 GCC/Clang version.
150 * gdb.cp/pass-by-ref.exp: Ditto.
151
152 2020-01-29 Tom de Vries <tdevries@suse.de>
153
154 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
155 * gdb.threads/watchpoint-fork-mt.c: Same.
156 * gdb.threads/watchpoint-fork-parent.c: Same.
157 * gdb.threads/watchpoint-fork-st.c: Same.
158 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
159
160 2020-01-27 Luis Machado <luis.machado@linaro.org>
161
162 * gdb.base/step-over-syscall.exp (setup): Check if we're already
163 sitting at a syscall instruction when we hit the syscall function's
164 breakpoint.
165 Check PC against one obtained with the x command.
166 Validate syscall number.
167 (step_over_syscall): Don't continue to the syscall instruction if
168 we're already there.
169
170 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
171
172 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
173
174 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
175
176 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
177 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
178
179 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
180
181 * gdb.dwarf2/dw2-inline-stepping.c: New file.
182 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
183
184 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
185
186 * gdb.base/maint.exp: Update line table parsing test.
187 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
188
189 2020-01-24 Pedro Alves <palves@redhat.com>
190
191 PR gdb/25410
192 * gdb.multi/multi-re-run-1.c: New.
193 * gdb.multi/multi-re-run-2.c: New.
194 * gdb.multi/multi-re-run.exp: New.
195
196 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
197
198 PR gdb/23718
199 * gdb.server/server-kill-python.exp: New file.
200
201 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
202
203 * gdb.server/multi-ui-errors.c: New file.
204 * gdb.server/multi-ui-errors.exp: New file.
205
206 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
207
208 PR tui/9765
209 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
210
211 2020-01-19 Tom Tromey <tom@tromey.com>
212
213 * gdb.tui/main.exp: Add check for plain "file".
214
215 2020-01-16 Christian Biesinger <cbiesinger@google.com>
216
217 * lib/gdb.exp: Fix spelling error (seperatelly).
218
219 2020-01-14 Tom Tromey <tom@tromey.com>
220
221 PR symtab/12535:
222 * gdb.python/python.exp: Test decode_line with empty string
223 argument.
224
225 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
226
227 * gdb.base/skip-inline.exp: Extend test.
228
229 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
230
231 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
232 * gdb.dwarf2/dw2-bad-elf.c: New file.
233 * gdb.dwarf2/dw2-bad-elf.exp: New file.
234
235 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
236
237 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
238 _line_saw_file.
239
240 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
241
242 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
243 border.
244
245 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
246
247 * gdb.multi/multi-target.exp (setup): Factor out "info
248 connections" and "info inferiors" tests to ...
249 (test_info_inferiors): ... this new procedure.
250 (top level): Run new "info-inferiors" tests.
251
252 2020-01-10 Pedro Alves <palves@redhat.com>
253
254 * gdb.server/bkpt-other-inferior.exp: New file.
255
256 2020-01-10 Pedro Alves <palves@redhat.com>
257
258 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
259 of "add-inferior".
260 * gdb.base/quit-live.exp: Likewise.
261 * gdb.base/remote-exec-file.exp: Likewise.
262 * gdb.guile/scm-progspace.exp: Likewise.
263 * gdb.linespec/linespec.exp: Likewise.
264 * gdb.mi/new-ui-mi-sync.exp: Likewise.
265 * gdb.mi/user-selected-context-sync.exp: Likewise.
266 * gdb.multi/multi-target.exp (setup): Add "info connection" and
267 "info inferiors" tests.
268 * gdb.multi/remove-inferiors.exp: Adjust expected output of
269 "add-inferior".
270 * gdb.multi/watchpoint-multi.exp: Likewise.
271 * gdb.python/py-inferior.exp: Likewise.
272 * gdb.server/extended-remote-restart.exp: Likewise.
273 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
274 "info inferiors".
275 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
276 * gdb.trace/report.exp: Likewise.
277
278 2020-01-10 Pedro Alves <palves@redhat.com>
279
280 * gdb.multi/multi-target.c: New file.
281 * gdb.multi/multi-target.exp: New file.
282 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
283 mode requested, but remote does not support non-stop".
284
285 2020-01-10 Pedro Alves <palves@redhat.com>
286
287 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
288 disconnect before reconnecting.
289
290 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
291 Pedro Alves <palves@redhat.com>
292
293 * gdb.server/connect-without-multi-process.exp: Also test
294 continuing to end.
295
296 2020-01-10 Pedro Alves <palves@redhat.com>
297
298 * gdb.base/remote-exec-file.exp: New file.
299
300 2020-01-10 Pedro Alves <palves@redhat.com>
301
302 * gdb.base/fork-running-state.exp (do_test): Adjust expected
303 output.
304 * gdb.threads/async.c: New.
305 * gdb.threads/async.exp: New.
306 * gdb.multi/tids-gid-reset.c: New.
307 * gdb.multi/tids-gid-reset.exp: New.
308
309 2020-01-10 George Barrett <bob@bob131.so>
310
311 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
312 to help in finding the image relocation offset.
313 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
314 options in arguments.
315 (stap_test_no_debuginfo): Likewise.
316 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
317 test variants.
318 (stap_test): Add null semaphore relocation test.
319
320 2020-01-10 George Barrett <bob@bob131.so>
321
322 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
323 * gdb.base/stap-probe.exp: Likewise.
324 (stap_test): Pass argument as an additional flag.
325 (stap_test_no_debuginfo): Likewise.
326 (stap_test): Check `info probes stap' output for semaphore
327 addresses if the test binary is supposed to have them.
328
329 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
330
331 * gdb.tui/basic.exp: Add more scrolling tests.
332
333 2020-01-09 Tom Tromey <tom@tromey.com>
334
335 PR tui/18932:
336 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
337 meangingful value.
338 (Term::command, Term::resize): Update.
339 * gdb.tui/basic.exp: Add scrolling test.
340
341 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
342
343 * gdb.tui/tui-layout-asm.exp: New file.
344
345 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
346
347 * lib/tuiterm.exp (Term::check_box_contents): New proc.
348
349 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
350
351 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
352 (Term::enter_tui): Use Term::prepare_for_tui.
353
354 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
355
356 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
357 called.
358
359 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
360
361 * gdb.base/skip.exp: Fix race condition in test.
362
363 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
364
365 * gdb.base/backtrace.c: New file.
366 * gdb.base/backtrace.exp: New file.
367
368 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
369
370 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
371
372 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
373
374 * gdb.base/style.exp: Test that warnings are styled.
375
376 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
377
378 * gdb.base/line65535.exp: New file.
379 * gdb.base/line65535.c: New file.
380
381 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
382
383 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
384 * lib/gnat_debug_info_test.adb: New file.
385 * gdb.ada/ptype_tagged_param.exp: Use
386 gnat_runtime_has_debug_info, expect a different output if
387 runtime does not have debug info.
388
389 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
390
391 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
392 (another) quote in test name.
393
394 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
395
396 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
397 Add quote in test name.
398
399 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
400
401 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
402 directory instead.
403 * gdb.cp/pass-by-ref.exp: Extend with more cases.
404 * gdb.cp/pass-by-ref-2.cc: New file.
405 * gdb.cp/pass-by-ref-2.exp: New file.
406
407 2019-12-20 Tom Tromey <tom@tromey.com>
408
409 * gdb.tui/list-before.exp: New file.
410
411 2019-12-20 Tom Tromey <tom@tromey.com>
412
413 * gdb.tui/list.exp: Check for source on initial listing.
414
415 2019-12-11 Tom Tromey <tromey@adacore.com>
416
417 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
418 Add crlf test.
419
420 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
421
422 * gdb.base/default.exp: Update value of $_gdb_major.
423
424 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
425
426 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
427
428 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
429
430 * gdb.base/skip.exp: Whitespace fix.
431
432 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
433
434 * gdb.base/skip-inline.c: New file.
435 * gdb.base/skip-inline.exp: New file.
436
437 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
438
439 * gdb.base/jit-reader.exp (jit_reader_test): Rename
440 jit_function_00 to jit_function_stack_mangle.
441 * gdb.base/jithost.c (jit_function_t): Rename to...
442 (jit_function_stack_mangle_t): ... this.
443 (jit_function_add_t): New typedef.
444 (jit_function_00_code): Rename to...
445 (jit_function_stack_mangle_code): ... this, make static.
446 (jit_function_add_code): New.
447 (main): Generate "add" function and call it. Adjust to changes
448 in jithost_abi.
449 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
450 (struct jithost_abi) <begin, end>: Remove fields.
451 <object, function_stack_mangle, function_add>: New fields.
452 * gdb.base/jitreader.c (struct reader_state) <code_begin,
453 code_end>: Remove fields.
454 <func_stack_mangle>: New field.
455 (read_debug_info): Adjust to renaming, create block for "add"
456 function.
457 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
458
459 2019-12-11 Tom Tromey <tom@tromey.com>
460
461 * gdb.tui/resize.exp: Fix regexp.
462 * gdb.tui/regs.exp: Fix regexps.
463 * gdb.tui/main.exp: Fix regexp.
464
465 2019-12-11 Tom Tromey <tom@tromey.com>
466
467 * gdb.tui/resize.exp: Update.
468 * gdb.tui/empty.exp (layouts): Update.
469
470 2019-12-11 Tom Tromey <tom@tromey.com>
471
472 * gdb.tui/regs.exp: Update.
473 * gdb.tui/empty.exp (layouts): Update.
474 * gdb.tui/basic.exp: Update.
475 * lib/tuiterm.exp (_check_box): Don't check bottom border.
476
477 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
478
479 * gdb.base/options.exp: Add -raw-values in the print completion list.
480 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
481
482 2019-12-10 Kevin Buettner <kevinb@redhat.com>
483
484 * gdb.threads/omp-par-scope.c: New file.
485 * gdb/threads/omp-par-scope.exp: New file.
486
487 2019-12-10 Kevin Buettner <kevinb@redhat.com>
488
489 * lib/gdb.exp (support_nested_function_tests): New proc.
490
491 2019-12-10 Kevin Buettner <kevinb@redhat.com>
492
493 * lib/gdb.exp (gdb_compile_openmp): New proc.
494 (build_executable_from_specs): Add an "openmp" option.
495 (gdb_compile_pthreads): Add non-executable case.
496
497 2019-12-10 Tom Tromey <tromey@adacore.com>
498
499 * gdb.ada/unchecked_union.exp: New file.
500 * gdb.ada/unchecked_union/pck.adb: New file.
501 * gdb.ada/unchecked_union/pck.ads: New file.
502 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
503 * gdb-utils.exp (string_to_regexp): Also quote "?".
504
505 2019-12-10 George Barrett <bob@bob131.so>
506
507 Test scripted probe breakpoints.
508 * gdb.guile/scm-breakpoint.c (main): Add probe point.
509 * gdb.python/py-breakpoint.c (main): Likewise.
510 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
511 specifier test.
512 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
513
514 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
515
516 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
517 an rvalue parameter.
518 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
519 parameter.
520
521 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
522
523 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
524 modules.
525
526 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
527
528 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
529 broken version of GCC.
530
531 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
532
533 * gdb.fortran/info-modules.exp: Rewrite to make use of new
534 sym-info-cmds library.
535 * gdb.fortran/info-types.exp: Likewise.
536 * lib/sym-info-cmds.exp: New file.
537
538 2019-12-08 Tom de Vries <tdevries@suse.de>
539
540 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
541
542 2019-12-07 Keith Seitz <keiths@redhat.com>
543
544 * gdb.base/corefile-buildid-shlib-shr.c: New file.
545 * gdb.base/corefile-buildid-shlib.c: New file.
546 * gdb.base/corefile-buildid.c: New file.
547 * gdb.base/corefile-buildid.exp: New file.
548
549 2019-12-06 Tom de Vries <tdevries@suse.de>
550
551 * gdb.dwarf2/varval.exp: Add decl before def test.
552
553 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
554
555 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
556
557 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
558
559 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
560 CV and reference conversion for overload resolution.
561 * gdb.cp/rvalue-ref-overload.exp: Test it.
562
563 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
564
565 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
566 * gdb.base/frameapply.exp: Test faas without command.
567
568 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
569
570 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
571 Fortran tests.
572 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
573 order.
574
575 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
576
577 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
578 casting to type with no kind specified.
579 (test_basic_parsing_of_type_kinds): Additional tests for types
580 with no kind specified, and add tests for single/double
581 precision/complex types.
582
583 2019-12-04 Tom Tromey <tromey@adacore.com>
584
585 * gdb.base/endianity.c (struct other) <x>: New field.
586 (main): Initialize it.
587 * gdb.base/endianity.exp: Update.
588
589 2019-12-04 Tom Tromey <tromey@adacore.com>
590
591 * gdb.ada/scalar_storage/storage.adb: New file.
592 * gdb.ada/scalar_storage/pck.adb: New file.
593 * gdb.ada/scalar_storage/pck.ads: New file.
594 * gdb.ada/scalar_storage.exp: New file.
595
596 2019-12-04 Tom Tromey <tromey@adacore.com>
597
598 * gdb.base/endianity.c (struct otherendian) <f>: New field.
599 (main): Initialize it.
600 * gdb.base/endianity.exp: Update.
601
602 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
603
604 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
605
606 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
607
608 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
609 -symbol-info-module-functions and -symbol-info-module-variables.
610
611 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
612
613 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
614
615 2019-12-01 Richard Bunt <richard.bunt@arm.com>
616 Andrew Burgess <andrew.burgess@embecosm.com>
617
618 * gdb.fortran/derived-type-striding.exp: New file.
619 * gdb.fortran/derived-type-striding.f90: New file.
620 * gdb.fortran/array-slices.exp: New file.
621 * gdb.fortran/array-slices.f90: New file.
622
623 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
624
625 * gdb.base/define.exp: Test . in command names.
626 * gdb.base/setshow.exp: Update test, as . is now part of
627 command name.
628
629 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
630
631 * gdb.base/define-prefix.exp: New file.
632
633 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
634
635 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
636 compile.
637 (skip_btrace_pt_tests): Likewise.
638
639 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
640
641 * gdb.fortran/info-modules.exp: Compile source files in correct
642 order.
643
644 2019-11-27 Kevin Buettner <kevinb@redhat.com>
645
646 * gdb.dwarf2/imported-unit.exp: New file.
647 * gdb.dwarf2/imported-unit.c: New file.
648
649 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
650
651 * gdb.mi/mi-fortran-modules-2.f90: New file.
652 * gdb.mi/mi-fortran-modules.exp: New file.
653 * gdb.mi/mi-fortran-modules.f90: New file.
654
655 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
656
657 * gdb.mi/mi-sym-info-1.c: New file.
658 * gdb.mi/mi-sym-info-2.c: New file.
659 * gdb.mi/mi-sym-info.exp: New file.
660
661 2019-11-22 Tom Tromey <tromey@adacore.com>
662
663 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
664 * gdb.ada/tasks/foo.adb: Add another stopping location.
665
666 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
667
668 * gdb.base/endianity.c: New test.
669 * gdb.base/endianity.exp: New file.
670
671 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
672
673 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
674
675 2019-11-21 Tom de Vries <tdevries@suse.de>
676
677 PR gdb/24956
678 * gdb.base/ui-redirect.exp: Test output of user-defined command.
679
680 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
681
682 * gdb.python/py-progspace.exp: Add missing parentheses on some
683 'print' commands.
684
685 2019-11-19 Tom Tromey <tom@tromey.com>
686
687 * gdb.tui/winheight.exp: New file.
688
689 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
690
691 * gdb.base/ctf-whatis.c: Delete.
692 * gdb.base/ctf-whatis.exp: Delete.
693 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
694
695 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
696
697 * gdb.base/ctf-cvexpr.exp: Delete.
698 * gdb.base/cvexpr.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-constvars.exp: Skip test if CTF is not supported in
703 the compiler. Clean up header comment a little.
704 * gdb.base/ctf-ptype.exp: Likewise.
705 * gdb.base/ctf-whatis.exp: Likewise.
706 * lib/gdb.exp (skip_ctf_tests): New proc.
707
708 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
709
710 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
711 * gdb.tui/corefile-run.exp: New file.
712
713 2019-11-14 Tom Tromey <tromey@adacore.com>
714
715 * gdb.base/gdbvars.exp (test_convenience_variables): Add
716 regression tests.
717
718 2019-11-12 Tom Tromey <tom@tromey.com>
719
720 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
721 after any command. Expect prompt after WAIT_FOR is seen.
722 (enter_tui): Enable resize messages.
723 (command): Expect command in output.
724 (get_line): Avoid error when cursor appears to be off-screen.
725 (dump_screen): Include screen size in title.
726 (_do_resize): New proc, from "resize".
727 (resize): Rewrite. Do resize in two steps.
728 * gdb.tui/empty.exp (layouts): Fix entries.
729 (check_boxes): Remove xfail.
730 (check_text): Dump screen on failure.
731
732 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
733
734 * gdb.python/py-symbol.exp: Add test for
735 gdb.lookup_static_symbols.
736
737 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
738
739 * gdb.python/py-symbol.c: Declare and call function from new
740 py-symbol-2.c file.
741 * gdb.python/py-symbol.exp: Compile both source files, and add new
742 tests for gdb.lookup_static_symbol.
743 * gdb.python/py-symbol-2.c: New file.
744
745 2019-11-02 Tom de Vries <tdevries@suse.de>
746
747 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
748 * gdb.base/anon.exp: Same.
749 * gdb.base/auto-connect-native-target.exp: Same.
750 * gdb.base/call-ar-st.exp: Same.
751 * gdb.base/catch-syscall.exp: Same.
752 * gdb.base/commands.exp: Same.
753 * gdb.base/default.exp: Same.
754 * gdb.base/display.exp: Same.
755 * gdb.base/float.exp: Same.
756 * gdb.base/foll-fork.exp: Same.
757 * gdb.base/help.exp: Same.
758 * gdb.base/info-macros.exp: Same.
759 * gdb.base/info-proc.exp: Same.
760 * gdb.base/info-target.exp: Same.
761 * gdb.base/long_long.exp: Same.
762 * gdb.base/macscp.exp: Same.
763 * gdb.base/memattr.exp: Same.
764 * gdb.base/nofield.exp: Same.
765 * gdb.base/pointers.exp: Same.
766 * gdb.base/printcmds.exp: Same.
767 * gdb.base/ptype.exp: Same.
768 * gdb.base/restore.exp: Same.
769 * gdb.base/return.exp: Same.
770 * gdb.base/scope.exp: Same.
771 * gdb.base/set-noassign.exp: Same.
772 * gdb.base/setshow.exp: Same.
773 * gdb.base/shlib-call.exp: Same.
774 * gdb.base/signals.exp: Same.
775 * gdb.base/sigstep.exp: Same.
776 * gdb.base/skip.exp: Same.
777 * gdb.base/solib-symbol.exp: Same.
778 * gdb.base/stap-probe.exp: Same.
779 * gdb.base/step-line.exp: Same.
780 * gdb.base/step-test.exp: Same.
781 * gdb.base/style.exp: Same.
782 * gdb.base/varargs.exp: Same.
783 * gdb.base/vla-datatypes.exp: Same.
784 * gdb.base/vla-ptr.exp: Same.
785 * gdb.base/vla-sideeffect.exp: Same.
786 * gdb.base/volatile.exp: Same.
787 * gdb.base/watch-cond-infcall.exp: Same.
788 * gdb.base/watchpoint.exp: Same.
789
790 2019-11-02 Tom de Vries <tdevries@suse.de>
791
792 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
793 * gdb.cp/cpexprs.exp: Same.
794 * gdb.cp/except-multi-location.exp: Same.
795 * gdb.cp/exceptprint.exp: Same.
796 * gdb.cp/gdb2384.exp: Same.
797 * gdb.cp/inherit.exp: Same.
798 * gdb.cp/m-static.exp: Same.
799 * gdb.cp/meth-typedefs.exp: Same.
800 * gdb.cp/misc.exp: Same.
801 * gdb.cp/namespace.exp: Same.
802 * gdb.cp/non-trivial-retval.exp: Same.
803 * gdb.cp/overload.exp: Same.
804 * gdb.cp/pr17132.exp: Same.
805 * gdb.cp/re-set-overloaded.exp: Same.
806 * gdb.cp/rvalue-ref-types.exp: Same.
807 * gdb.cp/templates.exp: Same.
808
809 2019-11-01 Luis Machado <luis.machado@linaro.org>
810
811 PR gdb/25124
812
813 * gdb.arch/pr25124.S: New file.
814 * gdb.arch/pr25124.exp: New file.
815
816 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
817
818 * gdb.fortran/info-modules.exp: Update expected results, and add
819 additional tests for 'info module functinos', and 'info module
820 variables'.
821 * gdb.fortran/info-types.exp: Update expected results.
822 * gdb.fortran/info-types.f90: Extend testcase with additional
823 module variables and functions.
824
825 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
826
827 * gdb.fortran/info-modules.exp: New file.
828 * gdb.fortran/info-types.exp: Build with new file.
829 * gdb.fortran/info-types.f90: Include and use new module.
830 * gdb.fortran/info-types-2.f90: New file.
831
832 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
833
834 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
835 * gdb.base/settings.exp: Test all settings types using
836 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
837 that now verifies that the value of "maint show" is the same as
838 returned by the settings functions. Test the type of the
839 maintenance settings.
840 * gdb.base/default.exp: Update show_conv_list.
841
842 2019-10-31 Tom de Vries <tdevries@suse.de>
843
844 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
845 gdb_test.
846 * gdb.arch/amd64-disp-step.exp: Same.
847 * gdb.asm/asm-source.exp: Same.
848 * gdb.btrace/buffer-size.exp: Same.
849 * gdb.btrace/cpu.exp: Same.
850 * gdb.btrace/enable.exp: Same.
851 * gdb.dwarf2/count.exp: Same.
852 * gdb.dwarf2/dw2-ranges-func.exp: Same.
853 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
854 * gdb.fortran/vla-datatypes.exp: Same.
855 * gdb.fortran/vla-history.exp: Same.
856 * gdb.fortran/vla-ptype.exp: Same.
857 * gdb.fortran/vla-value.exp: Same.
858 * gdb.fortran/whatis_type.exp: Same.
859 * gdb.guile/guile.exp: Same.
860 * gdb.multi/tids.exp: Same.
861 * gdb.python/py-finish-breakpoint.exp: Same.
862 * gdb.python/py-framefilter.exp: Same.
863 * gdb.python/py-pp-registration.exp: Same.
864 * gdb.python/py-xmethods.exp: Same.
865 * gdb.python/python.exp: Same.
866 * gdb.server/connect-with-no-symbol-file.exp: Same.
867 * gdb.server/no-thread-db.exp: Same.
868 * gdb.server/run-without-local-binary.exp: Same.
869 * gdb.stabs/weird.exp: Same.
870 * gdb.threads/attach-many-short-lived-threads.exp: Same.
871 * gdb.threads/thread-find.exp: Same.
872 * gdb.threads/tls-shared.exp: Same.
873 * gdb.threads/tls.exp: Same.
874 * gdb.threads/wp-replication.exp: Same.
875 * gdb.trace/ax.exp: Same.
876 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
877
878 2019-10-31 Tom de Vries <tdevries@suse.de>
879
880 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
881 * gdb.ada/array_subscript_addr.exp: Same.
882 * gdb.ada/arrayidx.exp: Same.
883 * gdb.ada/arrayparam.exp: Same.
884 * gdb.ada/arrayptr.exp: Same.
885 * gdb.ada/boolean_expr.exp: Same.
886 * gdb.ada/call_pn.exp: Same.
887 * gdb.ada/complete.exp: Same.
888 * gdb.ada/fixed_cmp.exp: Same.
889 * gdb.ada/fun_addr.exp: Same.
890 * gdb.ada/funcall_param.exp: Same.
891 * gdb.ada/interface.exp: Same.
892 * gdb.ada/mod_from_name.exp: Same.
893 * gdb.ada/null_array.exp: Same.
894 * gdb.ada/packed_array.exp: Same.
895 * gdb.ada/packed_tagged.exp: Same.
896 * gdb.ada/print_chars.exp: Same.
897 * gdb.ada/print_pc.exp: Same.
898 * gdb.ada/ptype_arith_binop.exp: Same.
899 * gdb.ada/ptype_field.exp: Same.
900 * gdb.ada/ptype_tagged_param.exp: Same.
901 * gdb.ada/rec_return.exp: Same.
902 * gdb.ada/ref_tick_size.exp: Same.
903 * gdb.ada/str_ref_cmp.exp: Same.
904 * gdb.ada/taft_type.exp: Same.
905 * gdb.ada/tagged.exp: Same.
906 * gdb.ada/type_coercion.exp: Same.
907 * gdb.ada/uninitialized_vars.exp: Same.
908
909 2019-10-30 Tom de Vries <tdevries@suse.de>
910
911 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
912
913 2019-10-26 Tom de Vries <tdevries@suse.de>
914
915 * gdb.base/bigcore.c: Fix typos in comments.
916 * gdb.base/ctf-ptype.c: Same.
917 * gdb.base/long_long.c: Same.
918 * gdb.dwarf2/dw2-op-out-param.S: Same.
919 * gdb.python/py-evthreads.c: Same.
920 * gdb.reverse/i387-stack-reverse.c: Same.
921 * gdb.trace/tfile.c: Same.
922 * lib/compiler.c: Same.
923 * lib/compiler.cc: Same.
924
925 2019-10-25 Tom de Vries <tdevries@suse.de>
926
927 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
928 gdb_test_multiple calls.
929 * gdb.reverse/sigall-reverse.exp: Same.
930 * gdb.reverse/solib-precsave.exp: Same.
931 * gdb.reverse/solib-reverse.exp: Same.
932 * gdb.reverse/until-precsave.exp: Same.
933 * gdb.reverse/until-reverse.exp: Same.
934
935 2019-10-24 Tom de Vries <tdevries@suse.de>
936
937 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
938 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
939 kfail using -wrap pattern flag and convenience variable
940 gdb_test_name.
941
942 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
943
944 * gdb.python/py-progspace.exp: Add tests for the
945 Progspace.block_for_pc method.
946
947 2019-10-23 Tom Tromey <tom@tromey.com>
948
949 * configure: Rebuild.
950 * aclocal.m4: Use m4_include, not sinclude.
951
952 2019-10-21 Tom de Vries <tdevries@suse.de>
953
954 * gdb.base/infcall-nested-structs.c: Add
955 __attribute__((noinline,noclone)) to all functions.
956 (call_all): Add missing variable initialization. Simplify return value.
957 (breakpt): Increment volatile variable, to prevent call from being
958 optimized out.
959 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
960
961 2019-10-17 Tom de Vries <tdevries@suse.de>
962
963 * gdb.fortran/module.exp: Allow info variables to print info for files
964 other than module.f90.
965
966 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
967
968 * gdb.fortran/module.exp: Extend with 'info variables' test.
969
970 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
971
972 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
973 F77_FOR_TARGET.
974
975 2019-10-16 Tom de Vries <tdevries@suse.de>
976
977 PR tdep/25096
978 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
979
980 2019-10-16 Tom de Vries <tdevries@suse.de>
981
982 PR tdep/24104
983 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
984 Add KFAIL for PR tdep/25096.
985
986 2019-10-16 Tom de Vries <tdevries@suse.de>
987
988 PR testsuite/25059
989 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
990
991 2019-10-16 Tom de Vries <tdevries@suse.de>
992
993 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
994 as signed.
995
996 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
997
998 * gdb.mi/list-thread-groups-available.exp: Read entries one by
999 one instead of increasing timeout.
1000
1001 2019-10-13 Tom de Vries <tdevries@suse.de>
1002
1003 PR record/25038
1004 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1005 * gdb.reverse/sigall-reverse.exp: Same.
1006 * gdb.reverse/solib-precsave.exp: Same.
1007 * gdb.reverse/solib-reverse.exp: Same.
1008 * gdb.reverse/step-precsave.exp: Same.
1009 * gdb.reverse/until-precsave.exp: Same.
1010 * gdb.reverse/until-reverse.exp: Same.
1011 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1012
1013 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1014
1015 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1016 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1017 (cmp_struct_05_01, cmp_struct_static_02_01)
1018 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1019 comparisons.
1020
1021 2019-10-10 Tom de Vries <tdevries@suse.de>
1022
1023 PR testsuite/24888
1024 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1025 gnatlink.
1026
1027 2019-10-09 Tom de Vries <tdevries@suse.de>
1028
1029 PR testsuite/25048
1030 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1031
1032 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1033
1034 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1035 exceptions due to missing debug information.
1036
1037 2019-10-07 Tom de Vries <tdevries@suse.de>
1038
1039 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1040
1041 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1042
1043 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1044 * gdb.base/annota1.exp: Update to use gdb_test_name.
1045
1046 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1047
1048 * gdb.base/ctf-whatis.exp: New file.
1049 * gdb.base/ctf-whatis.c: New file.
1050 * gdb.base/ctf-ptype.exp: New file.
1051 * gdb.base/ctf-ptype.c: New file.
1052 * gdb.base/ctf-constvars.exp: New file.
1053 * gdb.base/ctf-constvars.c: New file.
1054 * gdb.base/ctf-cvexpr.exp: New file.
1055
1056 2019-10-04 Tom de Vries <tdevries@suse.de>
1057
1058 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1059 for loop.
1060
1061 2019-10-03 Tom Tromey <tom@tromey.com>
1062
1063 PR rust/24976:
1064 * gdb.rust/simple.rs (Union2): New type.
1065 (main): Use Union2.
1066 * gdb.rust/simple.exp: Add test.
1067
1068 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1069
1070 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1071 nested function prefix.
1072
1073 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1074 Richard Bunt <richard.bunt@arm.com>
1075 Andrew Burgess <andrew.burgess@embecosm.com>
1076
1077 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1078 nested functions.
1079 * gdb.fortran/nested-funcs.f90: Update expected results.
1080 * gdb.fortran/nested-funcs-2.exp: New file.
1081 * gdb.fortran/nested-funcs-2.f90: New file.
1082
1083 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1084
1085 * gdb.python/py-parameter.exp: Make test names unique.
1086 * gdb.python/py-template.exp: Likewise.
1087 * gdb.python/py-value.exp: Likewise.
1088
1089 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1090
1091 * gdb.base/break-interp.exp: Reduce test name duplication.
1092 * gdb.base/call-sc.exp: Likewise.
1093 * gdb.base/callfuncs.exp: Likewise.
1094 * gdb.base/charset.exp: Likewise.
1095 * gdb.base/dump.exp: Likewise.
1096 * gdb.base/ena-dis-br.exp: Likewise.
1097 * gdb.base/relational.exp: Likewise.
1098 * gdb.base/step-over-syscall.exp: Likewise.
1099 * gdb.base/structs.exp: Likewise.
1100
1101 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1102
1103 * gdb.linespec/explicit.exp: Make test names unique.
1104 * gdb.linespec/ls-errs.exp: Likewise.
1105
1106 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1107
1108 * gdb.reverse/break-precsave.exp: Make test names unique.
1109 * gdb.reverse/break-reverse.exp: Likewise.
1110 * gdb.reverse/finish-precsave.exp: Likewise.
1111 * gdb.reverse/finish-reverse.exp: Likewise.
1112 * gdb.reverse/machinestate-precsave.exp: Likewise.
1113 * gdb.reverse/machinestate.exp: Likewise.
1114 * gdb.reverse/readv-reverse.exp: Likewise.
1115 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1116 * gdb.reverse/sigall-precsave.exp: Likewise.
1117 * gdb.reverse/sigall-reverse.exp: Likewise.
1118 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1119 * gdb.reverse/watch-precsave.exp: Likewise.
1120 * gdb.reverse/watch-reverse.exp: Likewise.
1121
1122 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1123
1124 * gdb.threads/stop-with-handle.c: New file.
1125 * gdb.threads/stop-with-handle.exp: New file.
1126
1127 2019-10-03 Tom de Vries <tdevries@suse.de>
1128
1129 PR testsuite/25059
1130 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1131 directory" line to be missing.
1132
1133 2019-10-03 Tom de Vries <tdevries@suse.de>
1134
1135 PR testsuite/25059
1136 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1137 type optional.
1138
1139 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1140
1141 * gdb.python/py-format-string.c (string.h): New include.
1142 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1143 the same value, for endianness-independence.
1144 * gdb.python/py-format-string.exp (default_regexp_dict)
1145 (test_pretty_structs, test_format): Adjust expected output to the
1146 changed initialization.
1147
1148 2019-10-02 Tom Tromey <tromey@adacore.com>
1149
1150 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1151
1152 2019-10-02 Pedro Alves <palves@redhat.com>
1153 Andrew Burgess <andrew.burgess@embecosm.com>
1154
1155 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1156 "print-file-var.h".
1157 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1158 (get_version_1): Print this_version_id and its address.
1159 Add extern "C" wrappers around interface functions.
1160 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1161 "print-file-var.h".
1162 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1163 (get_version_2): Print this_version_id and its address.
1164 Add extern "C" wrappers around interface functions.
1165 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1166 <stddef.h> and "print-file-var.h".
1167 Add extern "C" wrappers around interface functions.
1168 [VERSION_ID_MAIN] (this_version_id): Define.
1169 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1170 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1171 up extern "C" blocks.
1172 * gdb.base/print-file-var.exp (test): New, factored out from top
1173 level.
1174 (top level): Test all combinations of attribute hidden or not,
1175 dlopen or not, and this_version_id symbol in main file or not.
1176 Compile tests as both C++ and C, make test names unique.
1177
1178 2019-10-01 Tom Tromey <tom@tromey.com>
1179
1180 * gdb.base/style.exp: Test "show logging filename".
1181
1182 2019-10-01 Tom Tromey <tom@tromey.com>
1183
1184 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1185 * gdb.base/style.exp: Add metadata style test.
1186
1187 2019-10-01 Tom Tromey <tom@tromey.com>
1188
1189 * gdb.base/style.exp: Test "pwd".
1190
1191 2019-10-01 Tom Tromey <tom@tromey.com>
1192
1193 * gdb.base/style.exp: Update tests.
1194
1195 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1196
1197 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1198 'six' to unsigned.
1199 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1200 'five'. Use an all-ones bit pattern for each.
1201 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1202 to its changed values.
1203
1204 2019-09-30 Tom Tromey <tromey@adacore.com>
1205
1206 * gdb.rust/traits.rs: Disable all warnings.
1207
1208 2019-09-29 Tom de Vries <tdevries@suse.de>
1209
1210 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1211
1212 2019-09-29 Tom de Vries <tdevries@suse.de>
1213
1214 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1215
1216 2019-09-27 Tom de Vries <tdevries@suse.de>
1217
1218 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1219
1220 2019-09-27 Tom de Vries <tdevries@suse.de>
1221
1222 PR record/23188
1223 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1224
1225 2019-09-26 Tom Tromey <tromey@adacore.com>
1226
1227 * gdb.ada/py_taft.exp: New file.
1228 * gdb.ada/py_taft/main.adb: New file.
1229 * gdb.ada/py_taft/pkg.adb: New file.
1230 * gdb.ada/py_taft/pkg.ads: New file.
1231
1232 2019-09-24 Tom de Vries <tdevries@suse.de>
1233
1234 PR gdb/24598
1235 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1236
1237 2019-09-22 Tom de Vries <tdevries@suse.de>
1238
1239 * gdb.base/restore.exp: Allow register variables to be optimized out at
1240 -O0.
1241
1242 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1243
1244 * gdb.arch/spu-info.exp: Remove file.
1245 * gdb.arch/spu-info.c: Remove file.
1246 * gdb.arch/spu-ls.exp: Remove file.
1247 * gdb.arch/spu-ls.c: Remove file.
1248
1249 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1250 * gdb.asm/spu.inc: Remove file.
1251
1252 * gdb.base/dump.exp: Remove support for spu*-*-*.
1253 * gdb.base/stack-checking.exp: Likewise.
1254 * gdb.base/overlays.exp: Likewise.
1255 * gdb.base/ovlymgr.c: Likewise.
1256 * gdb.base/spu.ld: Remove file.
1257
1258 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1259 * gdb.cp/cpexprs.exp: Likewise.
1260 * gdb.cp/exception.exp: Likewise.
1261 * gdb.cp/gdb2495.exp: Likewise.
1262 * gdb.cp/mb-templates.exp: Likewise.
1263 * gdb.cp/pr9167.exp: Likewise.
1264 * gdb.cp/userdef.exp: Likewise.
1265
1266 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1267
1268 * gdb.cell: Remove directory.
1269 * lib/cell.exp: Remove file.
1270
1271 2019-09-19 Tom de Vries <tdevries@suse.de>
1272
1273 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1274
1275 2019-09-19 Tom de Vries <tdevries@suse.de>
1276
1277 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1278
1279 2019-09-19 Tom de Vries <tdevries@suse.de>
1280
1281 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1282 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1283 (gdb_target_cmd): ... here.
1284 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1285 value 2.
1286
1287 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1288
1289 * gdb.base/source-dir.exp: Avoid having directory names in test
1290 names.
1291
1292 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1293
1294 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1295 directory.
1296
1297 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1298
1299 * gdb.base/list-missing-source.exp: New file.
1300
1301 2019-09-14 Tom de Vries <tdevries@suse.de>
1302
1303 PR teststuite/24599
1304 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1305 * lib/ada.exp (gnatmake_version_at_least): New proc.
1306
1307 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1308
1309 * gdb.base/maint.exp: Use exec_has_index_section.
1310
1311 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1312
1313 * gdb.base/maint.exp: Add test for 'maint info sections'.
1314
1315 2019-09-12 Tom de Vries <tdevries@suse.de>
1316
1317 * gdb.base/store.exp: Allow register variables to be optimized out at
1318 -O0.
1319
1320 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1321
1322 * gdb.ada/rdv_wait.exp: Update to new task names.
1323 * gdb.base/task_switch_in_core.exp: Likewise.
1324 * gdb.base/info_sources_base.c: Likewise.
1325
1326 2019-09-10 Tom Tromey <tromey@adacore.com>
1327
1328 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1329
1330 2019-09-10 Tom Tromey <tromey@adacore.com>
1331
1332 * gdb.ada/dgopt.exp: New file.
1333 * gdb.ada/dgopt/x.adb: New file.
1334
1335 2019-09-08 Tom Tromey <tom@tromey.com>
1336
1337 * gdb.tui/resize.exp: Remove setup_xfail.
1338 * gdb.tui/regs.exp: Remove setup_xfail.
1339 * gdb.tui/basic.exp: Remove setup_xfail.
1340
1341 2019-09-06 David Blaikie <dblaikie@gmail.com>
1342
1343 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1344 * gdb.cp/cplabel.exp: Ditto.
1345 * gdb.linespec/ls-errs.exp: Ditto.
1346
1347 2019-09-05 Tom de Vries <tdevries@suse.de>
1348
1349 * lib/gdb.exp (cmp_file_string): New proc.
1350 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1351 runto_main. Verify save breakpoints output.
1352
1353 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1354
1355 * gdb.base/info-var.exp: Test info variables without running
1356 to main, to avoid expect's buffer overflow.
1357
1358 2019-09-03 Tom Tromey <tromey@adacore.com>
1359
1360 * gdb.ada/bias.exp: New file.
1361 * gdb.ada/bias/bias.adb: New file.
1362 * gdb.ada/print_chars.exp: Add regression test.
1363 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1364 (MC): New variable.
1365
1366 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1367
1368 * gdb.base/argv0-symlink.exp: Run only on native target
1369 and local host.
1370
1371 2019-08-29 Tom de Vries <tdevries@suse.de>
1372
1373 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1374 diverse debug info.
1375 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1376
1377 2019-08-28 Tom de Vries <tdevries@suse.de>
1378
1379 * gdb.base/info-var.exp: Allow info variables to print info for files
1380 other than info-var-f1.c and info-var-f2.c.
1381
1382 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1383
1384 * gdb.fortran/info-types.exp: Add module.
1385 * gdb.fortran/info-types.f90: Update expected results.
1386
1387 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1388
1389 * gdb.fortran/info-types.exp: New file.
1390 * gdb.fortran/info-types.f90: New file.
1391 * lib/fortran.exp (fortran_character1): New proc.
1392
1393 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1394
1395 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1396 functions'. Reindent as needed.
1397 * gdb.base/info-var-f1.c: New file.
1398 * gdb.base/info-var-f2.c: New file.
1399 * gdb.base/info-var.exp: New file.
1400 * gdb.base/info-var.h: New file.
1401
1402 2019-08-26 Tom de Vries <tdevries@suse.de>
1403
1404 PR c++/24852
1405 * gdb.cp/no-libstdcxx-probe.exp: New test.
1406
1407 2019-08-26 Tom de Vries <tdevries@suse.de>
1408
1409 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1410 * tests need to be skipped.
1411 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1412 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1413 mi_skip_libstdcxx_probe_tests.
1414
1415 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1416
1417 * gdb.python/py-xmethods.exp: Use raw strings when passing
1418 arguments to SimpleXMethodMatcher.
1419
1420 2019-08-22 Tom de Vries <tdevries@suse.de>
1421
1422 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1423 more informative.
1424
1425 2019-08-21 Pedro Alves <palves@redhat.com>
1426
1427 * gdb.base/with.exp: Test "with" with no arguments.
1428
1429 2019-08-21 Tom de Vries <tdevries@suse.de>
1430
1431 * gdb.base/gdb-caching-proc.exp: Sort files.
1432
1433 2019-08-20 Tom de Vries <tdevries@suse.de>
1434
1435 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1436 compilation.
1437
1438 2019-08-16 Tom de Vries <tdevries@suse.de>
1439
1440 * gdb.base/compare-sections.exp ("after run to main"): Allow
1441 mismatched read-only sections for PIE executables.
1442
1443 2019-08-16 Tom Tromey <tom@tromey.com>
1444
1445 * lib/tuiterm.exp (_csi_Z): New proc.
1446 * gdb.tui/basic.exp: Update window positions.
1447 * gdb.tui/empty.exp: Update window positions.
1448
1449 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1450
1451 * gdb.base/examine-backward.exp: Correct regexp for
1452 "examine 3 bytes backward from ${address_zero}".
1453
1454 2019-08-15 Tom Tromey <tom@tromey.com>
1455
1456 * gdb.tui/empty.exp: Enable resizing tests.
1457
1458 2019-08-15 Tom Tromey <tromey@adacore.com>
1459
1460 * gdb.ada/char_enum.exp: Add regression tests.
1461 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1462 and '0'.
1463 (Char, Gchar): Update.
1464 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1465
1466 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1467
1468 * gdb.python/python.exp: Expect a leading underscore on
1469 GdbOutput{,Error}File.
1470
1471 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1472
1473 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1474 Windows host.
1475
1476 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1477
1478 * gdb.base/batch-preserve-term-settings.exp
1479 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1480
1481 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1482
1483 * lib/gdb.exp: When running on a mingw target, replace
1484 /x/ with x:/.
1485
1486 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1487
1488 * gdb.arch/aarch64-prologue.c: New test.
1489 * gdb.arch/aarch64-prologue.exp: New file.
1490
1491 2019-08-13 Tom de Vries <tdevries@suse.de>
1492
1493 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1494 Thread.
1495
1496 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1497
1498 * gdb.python/py-completion.exp: Download the .py file to the host
1499 and use its host pathname. Conditionalize tests that use
1500 tab completion and manipulate files on the build machine.
1501 * gdb.python/py-events.exp: Download the .py file to the host
1502 and use its host pathname.
1503 * gdb.python/py-evsignal.exp: Likewise.
1504 * gdb.python/py-evthreads.exp: Likewise.
1505 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1506 pathname syntax.
1507 * gdb.python/py-framefilter.exp: Download the .py file to the right
1508 place on the host. Match Windows pathname syntax.
1509 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1510 .py file to the host and use its host pathname.
1511 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1512 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1513 build pathname. Skip symlink test on Windows host. Add missing
1514 newline at end of file.
1515 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1516 and use its host pathname.
1517 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1518 * gdb.python/py-section-script.exp: Use host location of binfile
1519 on safe-path. Use correct path separator on Windows host.
1520 Reorder alternatives in gdb_test_multiple to prevent matching
1521 the wrong alternative on success.
1522 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1523
1524 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1525
1526 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1527 expect the GDB inferior to no longer immediately stop after
1528 being resumed with "signal SIGINT".
1529
1530 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1531
1532 * gdb.linespec/break-ask.exp: Generalize regexps to match
1533 Windows pathnames too.
1534
1535 2019-08-08 Tom de Vries <tdevries@suse.de>
1536
1537 PR testsuite/24862
1538 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1539
1540 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1541
1542 * gdb.base/style.exp: Update tests for help doc new invariants.
1543 * gdb.base/help.exp: Likewise.
1544
1545 2019-08-06 Tom Tromey <tom@tromey.com>
1546
1547 * gdb.base/style.exp: Add disassemble test.
1548 * gdb.base/style.c (some_called_function): New function.
1549 (main): Use it.
1550
1551 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1552
1553 * gdb.python/py-block.exp: Test dictionary access on blocks.
1554
1555 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1556
1557 PR gdb/24863
1558 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1559 -list-thread-groups --available test when running under
1560 check-read1.
1561
1562 2019-08-05 Tom de Vries <tdevries@suse.de>
1563
1564 PR testsuite/24863
1565 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1566 * gdb.base/help.exp: Use with_read1_timeout_factor.
1567 * gdb.base/info-macros.exp: Same.
1568 * gdb.cp/nested-types.exp: Same.
1569
1570 2019-08-05 Tom de Vries <tdevries@suse.de>
1571
1572 * lib/gdb.exp (version_at_least): Factor out of ...
1573 (tcl_version_at_least): ... here.
1574 (gdb_compile): Fail if pie results in non-PIE executable.
1575 (readelf_version, readelf_prints_pie): New proc.
1576 (exec_is_pie): Return -1 if unknown.
1577
1578 2019-08-05 Tom de Vries <tdevries@suse.de>
1579
1580 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1581
1582 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1583
1584 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1585
1586 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1587
1588 * lib/completion-support.exp (test_gdb_complete_none): Skip
1589 tab completion tests if no readline support.
1590 (test_gdb_complete_unique_re): Likewise.
1591 (test_gdb_complete_multiple): Likewise.
1592
1593 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1594
1595 * gdb.base/info_sources.exp: New file.
1596 * gdb.base/info_sources.c: New file.
1597 * gdb.base/info_sources_base.c: New file.
1598
1599 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1600
1601 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1602 prefix argument.
1603 (test_exit_status): Add prefix argument.
1604
1605 2019-08-01 Tom de Vries <tdevries@suse.de>
1606
1607 PR testsuite/24863
1608 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1609 calling exp_continue for new thread and thread exited messages.
1610
1611 2019-08-01 Tom de Vries <tdevries@suse.de>
1612
1613 PR testsuite/24863
1614 * gdb.base/structs.exp: Fix check-read1 timeout using
1615 gdb_test_sequence.
1616 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1617
1618 2019-08-01 Tom de Vries <tdevries@suse.de>
1619
1620 PR testsuite/24863
1621 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1622 line.
1623
1624 2019-08-01 Tom de Vries <tdevries@suse.de>
1625
1626 PR testsuite/24863
1627 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1628
1629 2019-07-30 Tom Tromey <tromey@adacore.com>
1630
1631 * gdb.ada/display_nested.exp: New file.
1632 * gdb.ada/display_nested/foo.adb: New file.
1633 * gdb.ada/display_nested/pack.adb: New file.
1634 * gdb.ada/display_nested/pack.ads: New file.
1635
1636 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1637
1638 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1639 namespace.
1640 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1641
1642 2019-07-30 Tom de Vries <tdevries@suse.de>
1643
1644 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1645 instead.
1646
1647 2019-07-30 Tom de Vries <tdevries@suse.de>
1648
1649 PR testsuite/24834
1650 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1651 (exec_is_pie): New proc.
1652
1653 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1654
1655 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1656
1657 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1658
1659 * gdb.python/py-objfile.c: Add global and static vars.
1660 * gdb.python/py-objfile.exp: Test new functions Objfile.
1661 lookup_global_symbol and lookup_static_symbol.
1662
1663 2019-07-29 Tom Tromey <tom@tromey.com>
1664
1665 * lib/tuiterm.exp (Term::_csi_@): New proc.
1666 (Term::_csi_X): Don't move cursor.
1667
1668 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1669
1670 * gdb.base/options.exp: Update backtrace - completion to
1671 new option -frame-info.
1672 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1673 Test new 'set print frame-info'. Test backtrace -frame-info
1674 overriding 'set print frame-info'.
1675 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1676 Test new 'set print frame-info'.
1677 Verify consistency of backtrace with and without filters, with and
1678 without -no-filters.
1679 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1680 default.
1681
1682 2019-07-29 Tom de Vries <tdevries@suse.de>
1683
1684 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1685 no arguments".
1686
1687 2019-07-29 Tom de Vries <tdevries@suse.de>
1688
1689 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1690 is a substring of the first for "complete non-unique file name".
1691
1692 2019-07-29 Tom de Vries <tdevries@suse.de>
1693
1694 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1695 with ".*".
1696
1697 2019-07-29 Tom de Vries <tdevries@suse.de>
1698
1699 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1700 Pass prompt_regexp parameter to gdb_test_multiple calls.
1701
1702 2019-07-29 Tom de Vries <tdevries@suse.de>
1703
1704 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1705 print registers" regexps.
1706
1707 2019-07-29 Tom de Vries <tdevries@suse.de>
1708
1709 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1710
1711 2019-07-29 Tom de Vries <tdevries@suse.de>
1712
1713 PR gdb/24855
1714 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1715 (skip_python_tests_prompt): Add prompt_regexp argument to
1716 gdb_test_multiple calls.
1717
1718 2019-07-27 Tom Tromey <tom@tromey.com>
1719
1720 * gdb.tui/main.exp: New file.
1721
1722 2019-07-27 Tom Tromey <tom@tromey.com>
1723
1724 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1725 optional.
1726 * gdb.tui/empty.exp: New file.
1727
1728 2019-07-27 Tom Tromey <tom@tromey.com>
1729
1730 * lib/tuiterm.exp (spawn): New proc.
1731 (Term::resize): New proc.
1732 * gdb.tui/resize.exp: New file.
1733
1734 2019-07-27 Tom Tromey <tom@tromey.com>
1735
1736 * gdb.tui/list.exp: New file.
1737
1738 2019-07-27 Tom Tromey <tom@tromey.com>
1739
1740 * gdb.tui/regs.exp: New file.
1741
1742 2019-07-27 Tom Tromey <tom@tromey.com>
1743
1744 * gdb.tui/basic.exp: Add "layout split" test.
1745
1746 2019-07-27 Tom Tromey <tom@tromey.com>
1747
1748 * gdb.tui/basic.exp: Add "layout asm" test.
1749
1750 2019-07-27 Tom Tromey <tom@tromey.com>
1751
1752 * lib/tuiterm.exp: New file.
1753 * gdb.tui/basic.exp: New file.
1754
1755 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1756
1757 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1758 Enable tests associated with this flag. Adjust regex
1759 referencing "foo_low" to now refer to "foo_cold" instead.
1760
1761 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1762
1763 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1764 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1765 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1766 foo_cold. Revise comments to match.
1767 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1768 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1769 were wrapped into this proc; Call do_test in loop from outermost
1770 level.
1771 (foo_low): Rename all occurrences to "foo_cold".
1772 (backtrace from baz): New test.
1773 (x2/i foo_cold): New test.
1774 (info line *foo_cold): New test.
1775
1776 2019-07-26 Tom de Vries <tdevries@suse.de>
1777
1778 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1779
1780 2019-07-25 Tom de Vries <tdevries@suse.de>
1781
1782 PR testsuite/24830
1783 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1784 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1785 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1786 (skip_libstdcxx_probe_tests): ... here.
1787 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1788
1789 2019-07-24 Tom de Vries <tdevries@suse.de>
1790
1791 PR testsuite/24807
1792 * gdb.objc/basicclass.m: Include stdio.h.
1793 * gdb.objc/nondebug.m: Same.
1794 * gdb.objc/objcdecode.m: Same.
1795
1796 2019-07-24 Tom de Vries <tdevries@suse.de>
1797
1798 PR testsuite/24612
1799 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1800 additional_flags.
1801
1802 2019-07-24 Tom de Vries <tdevries@suse.de>
1803
1804 PR testsuite/24831
1805 * gdb.multi/tids.exp: Update error messages for info threads.
1806
1807 2019-07-24 Tom de Vries <tdevries@suse.de>
1808
1809 * gdb.base/info-types.exp: Allow info types to print info for more than
1810 one file.
1811
1812 2019-07-23 Tom de Vries <tdevries@suse.de>
1813
1814 PR testsuite/24842
1815 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1816 gdb_spawn_with_cmdline_opts.
1817
1818 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1819
1820 * gdb.arch/arm-cmse-sgstubs.c: New test.
1821 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1822
1823 2019-07-23 Tom de Vries <tdevries@suse.de>
1824
1825 PR testsuite/24711
1826 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1827 issuing next command.
1828
1829 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1830
1831 * gdb.ada/info_auto_lang.exp: Update expected results.
1832 * gdb.base/info-types.c: Add additional types to check.
1833 * gdb.base/info-types.exp: Update expected results.
1834
1835 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1836
1837 * gdb.base/info-types.c: New file.
1838 * gdb.base/info-types.exp: New file.
1839
1840 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1841
1842 * gdb.arch/riscv-bp-infcall.c: New file.
1843 * gdb.arch/riscv-bp-infcall.exp: New file.
1844
1845 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1846
1847 PR breakpoints/24541
1848 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1849
1850 2019-07-14 Tom de Vries <tdevries@suse.de>
1851
1852 PR testsuite/24760
1853 * gdb.objc/basicclass.exp: Fix unterminated string.
1854
1855 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1856 Andrew Burgess <andrew.burgess@embecosm.com>
1857
1858 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1859 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1860 negative bounds.
1861 * gdb.fortran/vla-value.exp: Print elements of an array with
1862 negative bounds.
1863 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1864 testing.
1865
1866 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1867
1868 * gdb.base/options.exp (expect_string): Dequote strings in
1869 results.
1870 (test-string): Test strings with different quoting and reindent.
1871
1872 2019-07-10 Tom Tromey <tromey@adacore.com>
1873
1874 * gdb.ada/mi_ex_cond.exp: Update expected results.
1875 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1876 * gdb.ada/mi_catch_ex.exp: Update expected results.
1877 * gdb.ada/mi_catch_assert.exp: Update expected results.
1878 * gdb.ada/catch_ex.exp (catch_exception_info)
1879 (catch_exception_entry, catch_assert_entry)
1880 (catch_unhandled_entry): Update.
1881 * gdb.ada/catch_assert_if.exp: Update expected results.
1882
1883 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1884 Stephen Roberts <stephen.roberts@arm.com>
1885
1886 * gdb.base/define.exp: Restore original prompt.
1887
1888 2019-07-09 Pedro Alves <palves@redhat.com>
1889
1890 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1891 breakpoints" output.
1892 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1893 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1894 throw" creates breakpoint.
1895 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1896 'type="catchpoint"'.
1897
1898 2019-07-09 Pedro Alves <palves@redhat.com>
1899
1900 PR c++/15468
1901 * gdb.cp/except-multi-location-lib.cc: New.
1902 * gdb.cp/except-multi-location-main.cc: New.
1903 * gdb.cp/except-multi-location.exp: New.
1904
1905 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1906
1907 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1908 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1909 argument and update callers.
1910
1911 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1912
1913 * gdb.arch/amd64-break-on-asm-line.S: New file.
1914 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1915
1916 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1917
1918 * gdb.base/printcmds.exp: Test printing C string and
1919 C wide string convenience vars without transiting via the inferior.
1920 Also make test names unique.
1921
1922 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1923
1924 PR breakpoints/25011
1925 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1926
1927 2019-07-04 Pedro Alves <palves@redhat.com>
1928
1929 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1930 body returned ok(0), break(3) or continue(4).
1931 * gdb.testsuite/foreach_with_prefix.exp: New file.
1932
1933 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1934
1935 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1936
1937 2019-07-03 Pedro Alves <palves@redhat.com>
1938
1939 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1940 "return -code".
1941
1942 2019-07-03 Pedro Alves <palves@redhat.com>
1943
1944 PR cli/24732
1945 * gdb.base/shell.exp: Load completion-support.exp.
1946 Adjust expected error output. Add completion tests.
1947
1948 2019-07-03 Pedro Alves <palves@redhat.com>
1949
1950 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1951 string_to_regexp.
1952
1953 2019-07-03 Pedro Alves <palves@redhat.com>
1954
1955 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1956 (expect_integer): Adjust to expect "-string".
1957 (expect_string): New.
1958 (all_options): Expect "-string".
1959 (test-flag, test-boolean): Adjust to expect "-string".
1960 (test-string): New proc.
1961 (top level): Call it.
1962
1963 2019-07-03 Pedro Alves <palves@redhat.com>
1964
1965 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1966 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1967 the expected output in the success.
1968
1969 2019-07-03 Pedro Alves <palves@redhat.com>
1970
1971 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1972 Split one gdb_test_multiple call in two to avoid a race.
1973
1974 2019-07-03 Pedro Alves <palves@redhat.com>
1975
1976 * gdb.base/with.c: New file.
1977 * gdb.base/with.exp: New file.
1978
1979 2019-07-03 Pedro Alves <palves@redhat.com>
1980
1981 * gdb.base/settings.exp: Replace all references to "maint
1982 test-settings set" with references to "maint set test-settings",
1983 and all references to "maint test-settings show" with references
1984 to "maint show test-settings".
1985
1986 2019-07-03 Pedro Alves <palves@redhat.com>
1987
1988 * gdb.base/settings.exp (test-string): Adjust expected out when
1989 testing "maint test-settings show filename"
1990
1991 2019-07-02 Pedro Alves <palves@redhat.com>
1992
1993 * gdb.base/options.exp (test-info-threads): New procedure.
1994 (top level): Call it.
1995
1996 2019-06-28 Tom Tromey <tromey@adacore.com>
1997
1998 * gdb.dwarf2/ada-linkage-name.c: New file.
1999 * gdb.dwarf2/ada-linkage-name.exp: New file.
2000
2001 2019-06-27 Tom Tromey <tromey@adacore.com>
2002
2003 PR c++/20020:
2004 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2005
2006 2019-06-26 Tom de Vries <tdevries@suse.de>
2007
2008 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2009
2010 2019-06-26 Tom de Vries <tdevries@suse.de>
2011
2012 * gdb.base/index-cache.exp: Add back missing debug option.
2013
2014 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2015
2016 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2017
2018 2019-06-25 Tom de Vries <tdevries@suse.de>
2019
2020 PR testsuite/24727
2021 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2022
2023 2019-06-24 Tom de Vries <tdevries@suse.de>
2024
2025 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2026
2027 2019-06-24 Tom de Vries <tdevries@suse.de>
2028
2029 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2030 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2031 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2032
2033 2019-06-24 Tom de Vries <tdevries@suse.de>
2034
2035 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2036
2037 2019-06-21 Tom de Vries <tdevries@suse.de>
2038
2039 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2040
2041 2019-06-21 Tom de Vries <tdevries@suse.de>
2042
2043 PR testsuite/24518
2044 PR ada/24713
2045 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2046 index.
2047
2048 2019-06-19 Tom Tromey <tromey@adacore.com>
2049
2050 * gdb.ada/length_cond.exp: Add intro comment.
2051
2052 2019-06-19 Tom Tromey <tromey@adacore.com>
2053
2054 * gdb.ada/length_cond.exp: New file.
2055 * gdb.ada/length_cond/length_cond.adb: New file.
2056 * gdb.ada/length_cond/pck.adb: New file.
2057 * gdb.ada/length_cond/pck.ads: New file.
2058
2059 2019-06-18 Tom de Vries <tdevries@suse.de>
2060
2061 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2062
2063 2019-06-18 Tom Tromey <tromey@adacore.com>
2064
2065 * gdb.base/list0.h: Add comment explaining control character.
2066
2067 2019-06-18 Tom de Vries <tdevries@suse.de>
2068
2069 * boards/fission.exp: Break up long debug_flags line.
2070
2071 2019-06-16 Tom de Vries <tdevries@suse.de>
2072
2073 PR gdb/24445
2074 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2075 generated index.
2076
2077 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2078
2079 PR gdb/24686
2080 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2081 improve detection of bug gdb/24541.
2082
2083 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2084
2085 PR gdb/24669
2086 * gdb.base/index-cache.exp (uses_readnow,
2087 expecting_index_cache_use): Define global variable.
2088 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2089 expecting_index_cache_use.
2090
2091 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2092 Andrew Burgess <andrew.burgess@embecosm.com>
2093
2094 * gdb.fortran/pointers.f90: New file.
2095 * gdb.fortran/print_type.exp: New file.
2096 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2097 * gdb.fortran/vla-type.exp: Likewise.
2098 * gdb.fortran/vla-value.exp: Likewise.
2099 * gdb.mi/mi-vla-fortran.exp: Likewise.
2100
2101 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2102
2103 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2104 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2105 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2106 as a stop reason.
2107
2108 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2109
2110 * gdb.base/annota1.exp: Update expected results.
2111 * gdb.cp/annota2.exp: Likewise.
2112 * gdb.cp/annota3.exp: Likewise.
2113
2114 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2115
2116 * gdb.base/style-logging.exp: Remove path from test name.
2117
2118 2019-06-14 Tom Tromey <tromey@adacore.com>
2119
2120 PR gdb/24502:
2121 * gdb.base/style-logging.exp: New file.
2122
2123 2019-06-14 Tom Tromey <tromey@adacore.com>
2124
2125 * gdb.base/symfile-warn.exp: New file.
2126 * gdb.base/symfile-warn.c: New file.
2127
2128 2019-06-14 Tom Tromey <tromey@adacore.com>
2129
2130 * gdb.base/annotate-symlink.exp: New file.
2131
2132 2019-06-14 Tom Tromey <tromey@adacore.com>
2133
2134 * gdb.ada/set_wstr.exp: Add reassignment test.
2135
2136 2019-06-14 Tom Tromey <tromey@adacore.com>
2137
2138 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2139 'unchecked_access and 'unrestricted_access as well.
2140
2141 2019-06-14 Tom Tromey <tromey@adacore.com>
2142
2143 PR ada/24539:
2144 * gdb.ada/vla.exp: Update tests.
2145 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2146 pragma.
2147
2148 2019-06-13 Pedro Alves <palves@redhat.com>
2149
2150 * gdb.base/settings.exp (test-integer): Test junk after
2151 "unlimited".
2152
2153 2019-06-13 Pedro Alves <palves@redhat.com>
2154
2155 * gdb.base/options.exp (test-thread-apply): New.
2156 (top level): Call it.
2157
2158 2019-06-13 Pedro Alves <palves@redhat.com>
2159
2160 * gdb.base/options.exp (test-frame-apply): New.
2161 (top level): Test print commands with different "frame apply"
2162 prefixes.
2163
2164 2019-06-13 Pedro Alves <palves@redhat.com>
2165
2166 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2167 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2168 'max_completions' parameter and handle it.
2169 (test_gdb_completion_offers_commands): New.
2170
2171 2019-06-13 Pedro Alves <palves@redhat.com>
2172
2173 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2174
2175 2019-06-13 Pedro Alves <palves@redhat.com>
2176
2177 * gdb.base/options.exp (test-backtrace): New.
2178 (top level): Call it.
2179
2180 2019-06-13 Pedro Alves <palves@redhat.com>
2181
2182 * gdb.guile/scm-frame-args.exp: Use "set print
2183 raw-frame-arguments" instead of "set print raw frame-arguments".
2184 * gdb.python/py-frame-args.exp: Likewise.
2185
2186 2019-06-13 Pedro Alves <palves@redhat.com>
2187
2188 * gdb.compile/compile.exp: Adjust expected output to option
2189 processing changes.
2190
2191 2019-06-13 Pedro Alves <palves@redhat.com>
2192
2193 * gdb.base/options.exp: Build executable.
2194 (test-print): New procedure.
2195 (top level): Call it, once for "print" and another for "compile
2196 print".
2197
2198 2019-06-13 Pedro Alves <palves@redhat.com>
2199
2200 * gdb.base/options.c: New file.
2201 * gdb.base/options.exp: New file.
2202
2203 2019-06-13 Pedro Alves <palves@redhat.com>
2204
2205 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2206 that "o" is ambiguous.
2207
2208 2019-06-13 Pedro Alves <palves@redhat.com>
2209
2210 * gdb.base/settings.c: New file.
2211 * gdb.base/settings.exp: New file.
2212
2213 2019-06-13 Pedro Alves <palves@redhat.com>
2214
2215 * gdb.base/completion.exp: Fix comment typo.
2216
2217 2019-06-13 Pedro Alves <palves@redhat.com>
2218
2219 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2220 foo --1" test.
2221
2222 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2223
2224 * gdb.fortran/block-data.f: New.
2225 * gdb.fortran/block-data.exp: New.
2226
2227 2019-06-11 Tom de Vries <tdevries@suse.de>
2228
2229 PR testsuite/24521
2230 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2231 message.
2232
2233 2019-06-11 Tom de Vries <tdevries@suse.de>
2234
2235 PR testsuite/24521
2236 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2237
2238 2019-06-11 Tom de Vries <tdevries@suse.de>
2239
2240 * boards/readnow.exp: New file.
2241
2242 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2243
2244 * gdb.fortran/vla-sizeof.exp: Update expected results.
2245
2246 2019-06-06 Amos Bird <amosbird@gmail.com>
2247
2248 * gdb.base/annota1.exp (thread_switch): Add test for
2249 thread-exited annotation.
2250
2251 2019-06-06 Tom Tromey <tromey@adacore.com>
2252
2253 * gdb.base/maint.exp: Expect command started/finished output.
2254
2255 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2256
2257 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2258 comment.
2259 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2260
2261 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2262
2263 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2264 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2265 * gdb.arch/riscv-unwind-long-insn.c: New file.
2266 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2267
2268 2019-06-04 Christian Biesinger <cbiesinger@google.com>
2269
2270 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2271
2272 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2273
2274 * lib/gdb.exp (help_list_trailer): New regexp variable
2275 factorizing the help trailer message.
2276 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2277 arg to allow to better factorize various tests.
2278 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2279 (test_prefix_command_help): Use help_list_trailer.
2280 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2281 * gdb.guile/scm-cmd.exp: Likewise.
2282 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2283 * gdb.base/help.exp: Use test_user_defined_class_help.
2284 * gdb.base/style.exp: Add tests for styling of help and apropos.
2285 * lib/gdb-utils.exp (style): Add title and highlight styles.
2286
2287 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2288
2289 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2290 $_shell_exitsignal.
2291 * gdb.base/default.exp: Update for new convenience variables.
2292
2293 2019-05-29 Tom Tromey <tromey@adacore.com>
2294
2295 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2296 to "break complete ada" test case's regexp.
2297
2298 2019-05-29 Tom Tromey <tromey@adacore.com>
2299
2300 PR c++/20020:
2301 * gdb.cp/constexpr-field.exp: New file.
2302 * gdb.cp/constexpr-field.cc: New file.
2303
2304 2019-05-29 Tom Tromey <tromey@adacore.com>
2305
2306 * gdb.base/finish.exp (finish_no_print): New proc.
2307 (finish_tests): Call it.
2308
2309 2019-05-24 Tom de Vries <tdevries@suse.de>
2310
2311 * gdb.dwarf2/gdb-add-index.exp: New file.
2312
2313 2019-05-22 Tom Tromey <tromey@adacore.com>
2314
2315 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2316 * gdb.base/style.exp: Use "style".
2317 * lib/gdb-utils.exp (style): New proc.
2318
2319 2019-05-22 Tom de Vries <tdevries@suse.de>
2320
2321 * gdb.base/align.exp: Require c++11.
2322
2323 2019-05-22 Tom de Vries <tdevries@suse.de>
2324
2325 PR testsuite/24586
2326 * gdb.python/py-mi-var-info-path-expression.exp: Call
2327 mi_skip_python_tests to check if python is supported.
2328
2329 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2330
2331 * gdb.arch/aarch64-pauth.c: New test.
2332 * gdb.arch/aarch64-pauth.exp: New file.
2333
2334 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2335
2336 * README (Re-running Tests Outside The Testsuite): New section.
2337
2338 2019-05-21 Tom de Vries <tdevries@suse.de>
2339
2340 * gdb.arch/amd64-eval.exp: Require c++11.
2341 * gdb.base/max-depth.exp: Same.
2342 * gdb.compile/compile-cplus-array-decay.exp: Same.
2343 * gdb.cp/meth-typedefs.exp: Same.
2344 * gdb.cp/subtypes.exp: Same.
2345 * gdb.cp/temargs.exp: Same.
2346
2347 2019-05-21 Alan Hayward <alan.hayward@arm.com>
2348
2349 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2350
2351 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2352
2353 PR gdb/18644
2354 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2355 * gdb.fortran/printing-types.exp: Add new test.
2356 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2357 testing.
2358 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2359 setup_kfail call.
2360
2361 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2362
2363 * README (Running the Testsuite): Change example.
2364 (Testsuite Parameters): Remove TRANSCRIPT.
2365 * lib/gdb.exp: Remove TRANSCRIPT check.
2366
2367 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2368
2369 * README (Testsuite Parameters): Add replay logging to
2370 GDBSERVER_DEBUG.
2371 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2372 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2373 as a comma separated list.
2374 (gdb_debug_init): Override procedure.
2375
2376 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2377
2378 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2379 (gdb_write_cmd_file): New procedure.
2380 * lib/gdbserver-support.exp (gdbserver_start): Call
2381 gdbserver_write_cmd_file.
2382 (gdbserver_write_cmd_file): New procedure.
2383
2384 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2385
2386 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2387 (delete_breakpoints): Likewise.
2388 (gdb_run_cmd): Likewise.
2389 (gdb_start_cmd): Likewise.
2390 (gdb_starti_cmd): Likewise.
2391 (gdb_internal_error_resync): Likewise.
2392 (gdb_test_multiple): Likewise.
2393 (gdb_reinitialize_dir): Likewise.
2394 (default_gdb_exit): Likewise.
2395 (gdb_file_cmd): Mark kill as optional.
2396 (default_gdb_start): Call gdb_stdin_log_init.
2397 (send_gdb): Call gdb_stdin_log_write.
2398 (rerun_to_main): Mark Y as an answer.
2399 (gdb_stdin_log_init): New function.
2400 (gdb_stdin_log_write): Likewise.
2401
2402 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2403
2404 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2405 * gdb.base/debug-expr.exp: Likewise.
2406 * gdb.base/foll-fork.exp: Likewise.
2407 * gdb.base/foll-vfork.exp: Likewise.
2408 * gdb.base/fork-print-inferior-events.exp: Likewise.
2409 * gdb.base/gdb-sigterm.exp: Likewise.
2410 * gdb.base/gdbinit-history.exp: Likewise.
2411 * gdb.base/osabi.exp: Likewise.
2412 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2413 * gdb.base/ui-redirect.exp: Likewise.
2414 * gdb.gdb/unittest.exp: Likewise.
2415 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2416 * gdb.mi/mi-watch.exp: Likewise.
2417 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2418 * gdb.mi/user-selected-context-sync.exp: Likewise.
2419 * gdb.python/python.exp: Disable debug test when debugging.
2420 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2421 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2422 Likewise.
2423 * gdb.threads/stepi-random-signal.exp: Likewise.
2424
2425 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2426
2427 * Makefile.in: Pass through GDB_DEBUG.
2428 * README (Testsuite Parameters): Add GDB_DEBUG.
2429 (gdb,debug): Add board setting.
2430 * lib/gdb.exp (default_gdb_start): Start debugging.
2431 (gdb_debug_enabled): New procedure.
2432 (gdb_debug_init): Likewise.
2433
2434 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2435
2436 * Makefile.in: Pass through GDB_DEBUG.
2437 * README (Testsuite Parameters): Add GDB_DEBUG.
2438 (gdb,debug): Add board setting.
2439 * lib/gdb.exp (default_gdb_start): Start debugging.
2440 (gdb_debug_enabled): New procedure.
2441 (gdb_debug_init): Likewise.
2442
2443 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2444
2445 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2446
2447 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2448
2449 * gdb.base/ui-redirect.exp: Test redirection.
2450
2451 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2452
2453 * gdb.mi/mi-complete.exp: New file.
2454 * gdb.mi/mi-complete.cc: Likewise.
2455
2456 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2457
2458 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2459 indexed and sliced arrays, and pointers to arrays.
2460
2461 2019-05-14 Tom Tromey <tromey@adacore.com>
2462
2463 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2464 styling test.
2465
2466 2019-05-14 Tom de Vries <tdevries@suse.de>
2467
2468 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2469 selection entry encoding.
2470
2471 2019-05-10 Tom Tromey <tromey@adacore.com>
2472
2473 * gdb.ada/info_exc.exp: Add "complete" test.
2474
2475 2019-05-09 Tom de Vries <tdevries@suse.de>
2476
2477 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2478 CU-relative.
2479
2480 2019-05-09 Tom de Vries <tdevries@suse.de>
2481
2482 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2483 CU-relative.
2484
2485 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2486
2487 * gdb.ada/frame_arg_lang.exp: New testcase.
2488 * gdb.ada/frame_arg_lang/bla.adb: New file.
2489 * gdb.ada/frame_arg_lang/pck.ads: New file.
2490 * gdb.ada/frame_arg_lang/pck.adb: New file.
2491 * gdb.ada/frame_arg_lang/foo.c: New file.
2492
2493 2019-05-08 Tom Tromey <tromey@adacore.com>
2494
2495 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2496
2497 2019-05-08 Tom Tromey <tromey@adacore.com>
2498
2499 * gdb.base/ptype-offsets.exp: Update tests.
2500
2501 2019-05-08 Tom Tromey <tromey@adacore.com>
2502
2503 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2504 cases.
2505 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2506 "short".
2507
2508 2019-05-08 Tom Tromey <tromey@adacore.com>
2509
2510 * gdb.ada/vla.exp: New file.
2511 * gdb.ada/vla/vla.adb: New file.
2512
2513 2019-05-07 Tom de Vries <tdevries@suse.de>
2514
2515 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2516
2517 2019-05-07 Tom de Vries <tdevries@suse.de>
2518
2519 PR testsuite/24522
2520 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2521 section.
2522
2523 2019-05-07 Tom de Vries <tdevries@suse.de>
2524
2525 PR testsuite/24522
2526 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2527 .debug_aranges section.
2528
2529 2019-05-07 Tom de Vries <tdevries@suse.de>
2530
2531 PR testsuite/24159
2532 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2533
2534 2019-05-06 Tom de Vries <tdevries@suse.de>
2535
2536 * lib/gdb.exp (exec_has_index_section): New proc.
2537 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2538 section.
2539
2540 2019-05-04 Tom de Vries <tdevries@suse.de>
2541
2542 * boards/cc-with-debug-names.exp: New file.
2543
2544 2019-05-03 Tom Tromey <tromey@adacore.com>
2545
2546 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2547 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2548 * gdb.ada/char_enum.exp: Add test.
2549
2550 2019-05-03 Tom de Vries <tdevries@suse.de>
2551
2552 * boards/cc-with-gdb-index.exp: New file.
2553
2554 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2555
2556 * gdb.rust/simple.exp: Add new test case.
2557 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2558 (main): Initialise an instance of the new struct.
2559
2560 2019-05-01 Tom Tromey <tromey@adacore.com>
2561
2562 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2563 record.
2564 (NPR): New variable.
2565 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2566 test.
2567
2568 2019-05-01 Tom Tromey <tromey@adacore.com>
2569
2570 * gdb.ada/packed_array_assign.exp: Add packed assignment
2571 regression test.
2572
2573 2019-05-01 Tom de Vries <tdevries@suse.de>
2574
2575 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2576
2577 2019-05-01 Tom de Vries <tdevries@suse.de>
2578
2579 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2580
2581 2019-04-30 Ali Tamur <tamur@google.com>
2582
2583 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2584
2585 2019-04-30 Tom Tromey <tromey@adacore.com>
2586
2587 * lib/ada.exp (find_ada_tool): New proc.
2588 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2589 * gdb.ada/catch_ex_std.exp: New file.
2590 * gdb.ada/catch_ex_std/foo.adb: New file.
2591 * gdb.ada/catch_ex_std/some_package.adb: New file.
2592 * gdb.ada/catch_ex_std/some_package.ads: New file.
2593
2594 2019-04-30 Tom Tromey <tromey@adacore.com>
2595
2596 PR c++/24470:
2597 * gdb.cp/temargs.cc: Add test code from PR.
2598
2599 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2600
2601 * gdb.fortran/vla-datatypes.exp: Update expected results.
2602 * gdb.fortran/vla-ptype.exp: Likewise.
2603 * gdb.fortran/vla-type.exp: Likewise.
2604 * gdb.fortran/vla-value.exp: Likewise.
2605
2606 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2607
2608 * gdb.fortran/ptr-indentation.exp: Update expected results.
2609 * gdb.fortran/ptype-on-functions.exp: Likewise.
2610 * gdb.fortran/vla-ptr-info.exp: Likewise.
2611 * gdb.fortran/vla-value.exp: Likewise.
2612
2613 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2614
2615 * gdb.fortran/ptype-on-functions.exp: New file.
2616 * gdb.fortran/ptype-on-functions.f90: New file.
2617
2618 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2619
2620 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2621 case void string.
2622
2623 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2624
2625 * gdb.fortran/complex.exp: Expand.
2626 * gdb.fortran/complex.f: Renamed to...
2627 * gdb.fortran/complex.f90: ...this, and extended to add more
2628 complex values.
2629
2630 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2631
2632 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2633 MODULO, CMPLX.
2634
2635 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2636 Richard Bunt <richard.bunt@arm.com>
2637
2638 * gdb.base/max-depth.c: New file.
2639 * gdb.base/max-depth.exp: New file.
2640 * gdb.python/py-nested-maps.c: New file.
2641 * gdb.python/py-nested-maps.exp: New file.
2642 * gdb.python/py-nested-maps.py: New file.
2643 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2644 (test_all_common): Call test_max_depth.
2645 * gdb.fortran/max-depth.exp: New file.
2646 * gdb.fortran/max-depth.f90: New file.
2647 * gdb.go/max-depth.exp: New file.
2648 * gdb.go/max-depth.go: New file.
2649 * gdb.modula2/max-depth.exp: New file.
2650 * gdb.modula2/max-depth.c: New file.
2651 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2652
2653 2019-04-29 Tom de Vries <tdevries@suse.de>
2654
2655 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2656
2657 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2658
2659 * gdb.base/callexit.exp: Test may-call-functions off.
2660
2661 2019-04-25 Keith Seitz <keiths@redhat.com>
2662
2663 PR c++/24367
2664 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2665 (another_incomplete_struct, test_incomplete): New definitions.
2666 (main): Use new definitions.
2667 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2668 functions.
2669
2670 2019-04-25 Ali Tamur <tamur@google.com>
2671
2672 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
2673
2674 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2675
2676 PR corefiles/11608
2677 PR corefiles/18187
2678 * gdb.base/coredump-filter-build-id.exp: New file.
2679
2680 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2681
2682 * Makefile.in: Pass through GDBSERVER_DEBUG.
2683 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2684 (gdbserver,debug): Add board setting.
2685 * gdb.trace/tspeed.exp: Skip when debugging.
2686 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2687 * lib/gdbserver-support.exp: Likewise
2688
2689 2019-04-24 Tom Tromey <tromey@adacore.com>
2690
2691 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2692 Rust.
2693
2694 2019-04-24 Tom Tromey <tromey@adacore.com>
2695
2696 * gdb.arch/amd64-eval.exp: Test bitfield return.
2697 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2698 (class Foo) <return_bitfields>: New method.
2699 (main): Call it.
2700
2701 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2702
2703 * gdb.cp/many-args.cc: New file.
2704 * gdb.cp/many-args.exp: New file.
2705
2706 2019-04-23 Tom de Vries <tdevries@suse.de>
2707
2708 PR gdb/24433
2709 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2710
2711 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2712
2713 * gdb.trace/backtrace.exp: Use nopie flag.
2714 * gdb.trace/circ.exp: Likewise.
2715 * gdb.trace/collection.exp: Likewise.
2716 * gdb.trace/ftrace.exp: Likewise.
2717 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2718 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2719 * gdb.trace/qtro.exp: Likewise.
2720 * gdb.trace/read-memory.exp: Likewise.
2721 * gdb.trace/report.exp: Likewise.
2722 * gdb.trace/tfile.exp: Likewise.
2723 * gdb.trace/tfind.exp: Likewise.
2724 * gdb.trace/unavailable.exp: Likewise.
2725
2726 2019-04-22 Pedro Alves <palves@redhat.com>
2727
2728 * gdb.base/solib-probes-nosharedlibrary.c,
2729 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2730
2731 2019-04-19 Tom Tromey <tromey@adacore.com>
2732
2733 * gdb.ada/ptype_union.c: New file.
2734 * gdb.ada/ptype_union.exp: New file.
2735
2736 2019-04-19 Tom Tromey <tromey@adacore.com>
2737
2738 PR symtab/24423:
2739 * gdb.base/list0.h (foo): Add a control-l character.
2740
2741 2019-04-18 Tom de Vries <tdevries@suse.de>
2742
2743 PR gdb/24433
2744 * boards/local-board.exp: Set sysroot to "".
2745
2746 2019-04-18 Tom de Vries <tdevries@suse.de>
2747 Pedro Alves <palves@redhat.com>
2748
2749 PR gdb/24454
2750 * gdb.threads/vfork-follow-child-exec.c: New file.
2751 * gdb.threads/vfork-follow-child-exec.exp: New file.
2752 * gdb.threads/vfork-follow-child-exit.c: New file.
2753 * gdb.threads/vfork-follow-child-exit.exp: New file.
2754
2755 2019-04-15 Leszek Swirski <leszeks@google.com>
2756
2757 * gdb.arch/amd64-eval.cc: New file.
2758 * gdb.arch/amd64-eval.exp: New file.
2759
2760 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2761
2762 * gdb.server/sysroot.c: New test.
2763 * gdb.server/sysroot.exp: New file.
2764 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2765 matching param.
2766
2767 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2768
2769 * gdb.base/align.exp: Extend test to cover structures containing
2770 only static fields.
2771
2772 2019-04-11 Tom de Vries <tdevries@suse.de>
2773
2774 * boards/cc-with-dwz-m.exp: New file.
2775 * boards/cc-with-dwz.exp: New file.
2776 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2777
2778 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2779
2780 * gdb.base/start-cpp.exp: New file.
2781 * gdb.base/start-cpp.cc: New file.
2782
2783 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2784
2785 * gdb.python/py-thrhandle.exp: Adjust tests to call
2786 thread_from_handle instead of thread_from_thread_handle.
2787
2788 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2789
2790 * gdb.python/py-thrhandle.exp: Add tests for
2791 gdb.InferiorThread.handle.
2792
2793 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2794
2795 * gdb.python/py-function.exp: Check calling helper function from
2796 all languages.
2797 * lib/gdb.exp (gdb_supported_languages): New proc.
2798
2799 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2800
2801 * gdb.base/complex-parts.c: New file.
2802 * gdb.base/complex-parts.exp: New file.
2803
2804 2019-04-01 Tom Tromey <tromey@adacore.com>
2805
2806 PR symtab/23331:
2807 * gdb.dwarf2/dw2-ranges-main.c: New file.
2808 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2809 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2810
2811 2019-03-30 Simon Marchi <simark@simark.ca>
2812
2813 * gdb.base/default.exp: Add values for $_gdb_major and
2814 $_gdb_minor.
2815
2816 2019-03-29 Tom Tromey <tromey@adacore.com>
2817
2818 * gdb.base/help.exp: Tighten apropos regexp.
2819
2820 2019-03-29 Keith Seitz <keiths@redhat.com>
2821
2822 * gdb.fortran/array-bounds.exp: New file.
2823 * gdb.fortran/array-bounds.f90: New file.
2824
2825 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2826
2827 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2828
2829 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2830
2831 * gdb.multi/hello.c (main): Increase alarm timer.
2832
2833 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2834
2835 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2836 factor when no hardware watchpoint support.
2837
2838 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2839 Pedro Alves <palves@redhat.com>
2840
2841 * boards/local-board.exp: set sysroot to /.
2842
2843 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2844
2845 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2846 in child.
2847
2848 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2849
2850 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2851 field.
2852 (make_container): Initialise new field.
2853 * gdb.python/py-prettyprint.exp: Add new tests.
2854 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2855 <display_hint>: New method.
2856
2857 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2858
2859 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2860 gdb_continue_to_breakpoint more throughout this test.
2861 (run_lang_tests) Supply unique test names, and use
2862 gdb_test_no_output.
2863
2864 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2865
2866 * gdb.base/finish-pretty.exp: Update expected results.
2867 * gdb.base/pretty-print.c: New file.
2868 * gdb.base/pretty-print.exp: New file.
2869
2870 2019-03-25 Pedro Alves <palves@redhat.com>
2871
2872 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2873 move comments outside list. Append '-i "" eof' section.
2874
2875 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2876
2877 PR testsuite/25016
2878 * README: Add pie options.
2879 * gdb.base/break-interp.exp: Ensure pie is disabled.
2880 * gdb.base/dump.exp: Likewise.
2881 * lib/gdb.exp (gdb_compile): Add pie option.
2882
2883 2019-03-19 Tom Tromey <tromey@adacore.com>
2884
2885 * gdb.mi/mi2-cli-display.c: New file.
2886 * gdb.mi/mi2-cli-display.exp: New file.
2887
2888 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2889 Tom Tromey <tromey@adacore.com>
2890
2891 * gdb.ada/ptype_array/pck.adb: New file.
2892 * gdb.ada/ptype_array/pck.ads: New file.
2893 * gdb.ada/ptype_array/foo.adb: New file.
2894 * gdb.ada/ptype_array.exp: New file.
2895
2896 2019-03-14 Tom Tromey <tromey@adacore.com>
2897
2898 * gdb.base/style.exp: Add "set style sources" test.
2899
2900 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2901
2902 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2903 * mi-breakpoint-multiple-locations.exp: ... this.
2904 (make_breakpoints_pattern): New proc.
2905 (do_test): Add mi_version parameter, test -break-insert,
2906 -break-info and =breakpoint-created.
2907
2908 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2909
2910 * config/default.exp: Remove 'load_lib gdb.exp'.
2911 * config/monitor.exp: Likewise.
2912 * config/sid.exp: Likewise.
2913 * config/sim.exp: Likewise.
2914 * config/slite.exp: Likewise.
2915 * config/unix.exp: Likewise.
2916 * gdb.base/default.exp: Remove unhelpful comment.
2917
2918 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2919
2920 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2921
2922 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2923
2924 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2925
2926 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2927
2928 * gdb.fortran/type-kinds.exp: Update expected results.
2929
2930 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2931
2932 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2933
2934 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2935
2936 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2937 function.
2938 (test_basic_parsing_of_type_kinds): Expand types tested.
2939 (test_parsing_invalid_type_kinds): New function.
2940
2941 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2942
2943 * gdb.fortran/intrinsics.exp: New file.
2944 * gdb.fortran/intrinsics.f90: New file.
2945 * gdb.fortran/type-kinds.exp: New file.
2946
2947 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2948
2949 * gdb.fortran/dot-ops.exp: New file.
2950
2951 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2952
2953 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2954 Check upper and lower case logical literals.
2955
2956 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2957
2958 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2959 Remove duplicate tests.
2960
2961 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2962
2963 * lib/gdb.exp (builtin_cd): rename of cd.
2964 (cd): Override builtin.
2965
2966 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2967
2968 * gdb.fortran/function-calls.exp: New file.
2969 * gdb.fortran/function-calls.f90: New test.
2970
2971 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2972
2973 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2974 on user program standard output.
2975 * gdb.fortran/short-circuit-argument-list.f90: Record function
2976 calls.
2977
2978 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2979
2980 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2981 failure.
2982
2983 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2984
2985 PR gdb/8527
2986 * gdb.base/interrupt-daemon-attach.c,
2987 gdb.base/interrupt-daemon-attach.exp: New test.
2988
2989 2019-02-27 Pedro Alves <palves@redhat.com>
2990
2991 * gdb.base/page.exp: Add tests for "set width/height -1".
2992
2993 2019-02-27 Pedro Alves <palves@redhat.com>
2994
2995 * gdb.base/page.exp: Add tests for "set/show width/height" with
2996 "infinite" values.
2997
2998 2019-02-27 Tom Tromey <tromey@adacore.com>
2999
3000 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3001 2.4.
3002 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3003 workaround.
3004
3005 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3006
3007 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3008 tests for structs with static members.
3009
3010 2019-02-26 Tom Tromey <tromey@adacore.com>
3011
3012 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3013 ValueError, not TypeError.
3014
3015 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3016
3017 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3018 call from main program.
3019
3020 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3021
3022 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3023 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3024 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3025 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3026 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3027
3028 2019-02-22 Keith Seitz <keiths@redhat.com>
3029
3030 PR symtab/23853
3031 * gdb.base/symlink-sourcefile.c: New file.
3032 * gdb.base/symlink-sourcefile.exp: New file.
3033
3034 2019-02-20 Tom Tromey <tom@tromey.com>
3035
3036 * gdb.base/info_qt.exp: Update.
3037
3038 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3039
3040 * gdb.base/source.exp: Move "error in sourced script" code to
3041 the end.
3042 * gdb.base/source-error.gdb: Move contents to
3043 source-error-1.gdb. Add new code to source source-error-1.gdb.
3044 * gdb.base/source-error-1.gdb: New file, from previous
3045 source-error.gdb.
3046
3047 2019-02-17 Tom Tromey <tom@tromey.com>
3048
3049 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3050 for macro styling.
3051 * gdb.base/style.c (SOME_MACRO): New macro.
3052
3053 2019-02-17 Tom Tromey <tom@tromey.com>
3054
3055 * gdb.base/style.exp: Add line-wrapping tests.
3056 * gdb.base/page.exp: Add test for quitting during pagination.
3057
3058 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3059
3060 * gdb.ada/big_packed_array: New testcase.
3061 * gdb.ada/homonym.exp: Fix incorrect expected output for
3062 "break <homonym__get_value>" test.
3063
3064 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3065
3066 PR breakpoints/21870
3067 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3068 and prepare_for_testing. Add comment.
3069 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3070 redundant cleanup call. Clean up comment.
3071
3072 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3073
3074 PR breakpoints/21870
3075 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3076 * gdb.arch/aarch64-dbreg-contents.c: New file.
3077
3078 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3079
3080 * gdb.ada/mi_ref_changeable: New testcase.
3081
3082 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3083
3084 * gdb.base/attach.exp: Add double attach test.
3085
3086 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3087
3088 * lib/gdb.exp (default_gdb_start): Don't match pagination
3089 prompt.
3090 (gdb_init): Set stty_init.
3091
3092 2019-01-27 Tom Tromey <tom@tromey.com>
3093
3094 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3095 skip_python_tests.
3096
3097 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3098
3099 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3100 New structure.
3101 (struct struct_static_02_02): Likewise.
3102 (struct struct_static_02_03): Likewise.
3103 (struct struct_static_02_04): Likewise.
3104 (struct struct_static_04_01): Likewise.
3105 (struct struct_static_04_02): Likewise.
3106 (struct struct_static_04_03): Likewise.
3107 (struct struct_static_04_04): Likewise.
3108 (struct struct_static_06_01): Likewise.
3109 (struct struct_static_06_02): Likewise.
3110 (struct struct_static_06_03): Likewise.
3111 (struct struct_static_06_04): Likewise.
3112 (cmp_struct_static_02_01): Likewise.
3113 (cmp_struct_static_02_02): Likewise.
3114 (cmp_struct_static_02_03): Likewise.
3115 (cmp_struct_static_02_04): Likewise.
3116 (cmp_struct_static_04_01): Likewise.
3117 (cmp_struct_static_04_02): Likewise.
3118 (cmp_struct_static_04_03): Likewise.
3119 (cmp_struct_static_04_04): Likewise.
3120 (cmp_struct_static_06_01): Likewise.
3121 (cmp_struct_static_06_02): Likewise.
3122 (cmp_struct_static_06_03): Likewise.
3123 (cmp_struct_static_06_04): Likewise.
3124 (call_all): Test new structs.
3125 * gdb.base/infcall-nested-structs.exp: Likewise.
3126
3127 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3128 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3129
3130 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3131 * gdb.base/stack-protector.c: New test.
3132 * gdb.base/stack-protector.exp: New file.
3133 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3134 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3135 option.
3136 (gdb_compile): Remove stack protector for GCC and prevent
3137 recursion.
3138
3139 2019-01-16 Keith Seitz <keiths@redhat.com>
3140
3141 PR gdb/23773
3142 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3143
3144 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3145
3146 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3147 aliases.
3148 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3149 tests.
3150 * gdb.arch/powerpc-vector-regs.c: New file.
3151 * gdb.arch/powerpc-vector-regs.exp: New file.
3152
3153 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3154
3155 * gdb.arch/altivec-regs.exp: Fix the list passed to
3156 gdb_expect_list when testing "info vector".
3157
3158 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3159
3160 * gdb.base/style.exp: Don't include path in testname.
3161
3162 2019-01-10 Keith Seitz <keiths@redhat.com>
3163
3164 PR gdb/23712
3165 PR symtab/23010
3166 * gdb.dwarf2/multidictionary.exp: New file.
3167
3168 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3169
3170 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3171 (test_gnuv3_style_demangling): ... this.
3172 (test_lucid_style_demangling): Remove.
3173 (test_arm_style_demangling): Remove.
3174 (test_hp_style_demangling): Remove.
3175 (do_tests): Remove calls to the above.
3176
3177 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3178
3179 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3180 case.
3181
3182 2019-01-06 Tom Tromey <tom@tromey.com>
3183
3184 PR gdb/28155:
3185 * gdb.dwarf2/typedef-void-finish.exp: New file.
3186
3187 2018-12-28 Tom Tromey <tom@tromey.com>
3188 Simon Marchi <simark@simark.ca>
3189
3190 * gdb.base/jit-exec.exp: New file.
3191 * gdb.base/jit-exec.c: New file.
3192 * gdb.base/jit-execd.c: New file.
3193
3194 2018-12-28 Tom Tromey <tom@tromey.com>
3195
3196 * gdb.base/style.exp: Update test to check for address styling.
3197
3198 2018-12-28 Tom Tromey <tom@tromey.com>
3199
3200 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3201 message.
3202
3203 2018-12-28 Tom Tromey <tom@tromey.com>
3204
3205 * gdb.base/style.exp: Add test for version number styling.
3206
3207 2018-12-28 Tom Tromey <tom@tromey.com>
3208
3209 * gdb.base/style.exp: Add test for print_address_symbolic.
3210
3211 2018-12-28 Tom Tromey <tom@tromey.com>
3212
3213 * gdb.base/style.exp: Add test for breakpoint setting.
3214
3215 2018-12-28 Tom Tromey <tom@tromey.com>
3216
3217 * gdb.base/style.exp: Add test for variable names.
3218
3219 2018-12-28 Tom Tromey <tom@tromey.com>
3220
3221 * gdb.base/style.exp: New file.
3222 * gdb.base/style.c: New file.
3223
3224 2018-12-28 Tom Tromey <tom@tromey.com>
3225
3226 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3227 "dumb".
3228 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3229 the TERM environment variable.
3230
3231 2018-12-27 Tom Tromey <tom@tromey.com>
3232
3233 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3234 pagination test.
3235
3236 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3237
3238 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3239 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3240
3241 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3242
3243 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3244 Filename a.adb changed to bp_fun_addr.adb.
3245 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3246
3247 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3248
3249 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3250 non-PIE executables.
3251 * README: Mention the gdb,nopie_flag board setting.
3252 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3253 non-PIE executable.
3254 * gdb.arch/amd64-entry-value.exp: Likewise.
3255 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3256 * gdb.arch/i386-float.exp: Likewise.
3257 * gdb.arch/i386-signal.exp: Likewise.
3258 * gdb.mi/mi-reg-undefined.exp: Likewise.
3259
3260 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3261
3262 PR gdb/23974
3263 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3264
3265 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3266
3267 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3268 Update order of results accordingly.
3269
3270 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3271
3272 * gdb.base/annota1.exp: Update a test regexp.
3273
3274 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3275
3276 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3277
3278 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3279
3280 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3281 (reuse_time): Initialize to REUSE_TIME_CAP.
3282 (check_rc): New function.
3283 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3284 Check pthread_create rc.
3285 (spawner_thread_func): Check pthread_create and pthread_join rc.
3286
3287 2018-12-08 Pedro Alves <palves@redhat.com>
3288
3289 * gdb.base/list.exp (test_forward_search): Rename to ...
3290 (test_forward_reverse_search): ... this. Also test reverse-search
3291 and the forward-search alias.
3292
3293 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3294
3295 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3296 local timeout variable before return, and remove all local timeout
3297 variable entirely.
3298 (gdb_load): Likewise.
3299
3300 2018-12-01 Tom de Vries <tdevries@suse.de>
3301
3302 * gdb.base/gdb-caching-proc.exp: New file.
3303
3304 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3305
3306 * Makefile.in (TIMESTAMP): New variable.
3307 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3308 command.
3309 (check-single-racy): Likewise.
3310 (check/%.exp): Likewise.
3311 (check-racy/%.exp): Likewise.
3312 (workers/%.worker): Likewise.
3313 (build-perf): Likewise.
3314 (check-perf): Likewise.
3315 * README: Describe new "TS" and "TS_FORMAT" variables.
3316 * print-ts.py: New file.
3317
3318 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3319
3320 PR python/23714
3321 * gdb.python/python.exp: Test command repetition after
3322 gdb.execute.
3323
3324 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3325
3326 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3327 is correctly aligned.
3328
3329 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3330
3331 * gdb.ada/info_auto_lang.exp: New testcase.
3332 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3333 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3334 * gdb.ada/info_auto_lang/some_c.c: New file.
3335
3336 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3337
3338 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3339 FUNC_lang language syntax.
3340
3341 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3342
3343 * gdb.base/info_minsym.c: New file.
3344 * gdb.base/info_minsym.exp: New file.
3345
3346 2018-11-19 Tom Tromey <tom@tromey.com>
3347
3348 PR rust/23625:
3349 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3350 * gdb.rust/expr.exp: Update expected output. Change one test.
3351
3352 2018-11-19 Tom Tromey <tom@tromey.com>
3353
3354 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3355
3356 2018-11-19 Pedro Alves <palves@redhat.com>
3357
3358 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3359 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3360 see the expected warning.
3361
3362 2018-11-16 Alan Hayward <alan.hayward@arm.com>
3363
3364 PR gdb/22736:
3365 * gdb.cp/infcall-nodebug-lib.c: New test.
3366 * gdb.cp/infcall-nodebug-main.c: New test.
3367 * gdb.cp/infcall-nodebug.exp: New file.
3368
3369 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3370
3371 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3372 completer tests.
3373
3374 2018-11-09 Tom de Vries <tdevries@suse.de>
3375
3376 * gdb.base/msym-lang.c: New test.
3377 * gdb.base/msym-lang.exp: New file.
3378 * gdb.base/msym-lang-main.c: New test.
3379
3380 2018-11-08 Tom Tromey <tom@tromey.com>
3381
3382 PR gdb/23555:
3383 PR gdb/23838:
3384 * gdb.base/warning.exp: New file.
3385
3386 2018-11-08 Jan Beulich <jbeulich@suse.com>
3387
3388 * testsuite/gdb.arch/i386-avx512.c,
3389 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3390
3391 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3392
3393 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3394 point hardware.
3395
3396 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3397
3398 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3399 * gdb.dwarf2/missing-type-name.exp: New file.
3400
3401 2018-11-06 Tom de Vries <tdevries@suse.de>
3402
3403 * gdb.base/many-headers.c: New test.
3404 * gdb.base/many-headers.exp: New file.
3405
3406 2018-11-06 Jim Wilson <jimw@sifive.com>
3407
3408 * gdb.base/code_elim.exp: For riscv, set additional_flags
3409 to include -msmall-data-limit=0.
3410
3411 2018-11-01 Joel Brobecker <brobecker@adacore.com>
3412
3413 * gdb.ada/watch_minus_l: New testcase.
3414
3415 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3416
3417 * gdb.arch/aix-sighandle.c: New file.
3418 * gdb.arch/aix-sighandle.exp: New file.
3419
3420 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3421
3422 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3423 registers being unions.
3424
3425 2018-10-31 Tom de Vries <tdevries@suse.de>
3426
3427 * lib/valgrind.exp: New file.
3428 (vgdb_start, vgdb_stop): New procs, factored out of ...
3429 * gdb.base/valgrind-bt.exp: ... here, ...
3430 * gdb.base/valgrind-disp-step.exp: ... here and ...
3431 * gdb.base/valgrind-infcall.exp: ... here.
3432
3433 2018-10-31 Tom de Vries <tdevries@suse.de>
3434
3435 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3436
3437 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3438
3439 * gdb.dwarf2/void-type.c: New file.
3440 * gdb.dwarf2/void-type.exp: New file.
3441
3442 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3443
3444 * gdb.base/info_qt.c: New file.
3445 * gdb.base/info_qt.exp: New file.
3446
3447 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3448
3449 * gdb.arch/powerpc-htm-regs.c: New file.
3450 * gdb.arch/powerpc-htm-regs.exp: New file.
3451
3452 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3453
3454 * gdb.arch/powerpc-tar.c: New file.
3455 * gdb.arch/powerpc-tar.exp: New file.
3456
3457 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3458
3459 * gdb.arch/powerpc-ppr-dscr.c: New file.
3460 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3461
3462 2018-10-25 Tom de Vries <tdevries@suse.de>
3463
3464 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3465
3466 2018-10-24 Tom de Vries <tdevries@suse.de>
3467
3468 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3469 longer exists error.
3470
3471 2018-10-24 Tom de Vries <tdevries@suse.de>
3472
3473 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3474
3475 2018-10-24 Tom de Vries <tdevries@suse.de>
3476
3477 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3478 --db-attach in valgrind.
3479
3480 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3481
3482 * gdb.arch/riscv-reg-aliases.c: New file.
3483 * gdb.arch/riscv-reg-aliases.exp: New file.
3484
3485 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3486
3487 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3488
3489 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3490
3491 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3492
3493 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3494
3495 * gdb.cp/ovldbreak.exp: Fix regexps.
3496
3497 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3498
3499 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3500
3501 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3502
3503 PR cli/23785
3504 * gdb.base/restore.exp: New test to check if "restore" with an
3505 invalid file doesn't segfault.
3506
3507 2018-10-18 Tom de Vries <tdevries@suse.de>
3508
3509 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3510 * gdb.ada/excep_handle.exp: Same.
3511 * gdb.ada/mi_string_access.exp: Same.
3512 * gdb.ada/mi_var_union.exp: Same.
3513 * gdb.arch/arc-analyze-prologue.exp: Same.
3514 * gdb.arch/arc-decode-insn.exp: Same.
3515 * gdb.base/readnever.exp: Same.
3516 * gdb.fortran/printing-types.exp: Same.
3517 * gdb.guile/scm-lazy-string.exp: Same.
3518
3519 2018-10-16 Tom de Vries <tdevries@suse.de>
3520
3521 PR gdb/23730
3522 * gdb.base/catch-follow-exec.c: Add copyright notice.
3523 * gdb.base/catch-follow-exec.exp: Rewrite to use
3524 gdb_spawn_with_cmdline_opts. Require gdb-native.
3525
3526 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3527
3528 * gdb.trace/actions-changed.exp: Check for arch support.
3529 * gdb.trace/actions.exp: Likewise.
3530 * gdb.trace/ax.exp: Likewise.
3531 * gdb.trace/backtrace.exp: Likewise.
3532 * gdb.trace/change-loc.exp: Likewise.
3533 * gdb.trace/deltrace.exp: Likewise.
3534 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3535 * gdb.trace/ftrace.exp: Likewise.
3536 * gdb.trace/infotrace.exp: Check for arch support.
3537 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3538 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3539 * gdb.trace/mi-tsv-changed.exp: Likewise.
3540 * gdb.trace/packetlen.exp: Likewise.
3541 * gdb.trace/passc-dyn.exp: Likewise.
3542 * gdb.trace/passcount.exp: Likewise.
3543 * gdb.trace/pending.exp: Likewise.
3544 * gdb.trace/range-stepping.exp: Check for shlib support.
3545 * gdb.trace/report.exp: Check for arch support.
3546 * gdb.trace/save-trace.exp: Likewise.
3547 * gdb.trace/signal.exp: Check for signal support.
3548 * gdb.trace/tfind.exp: Check for arch support.
3549 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3550 * gdb.trace/trace-common.h: Add comment.
3551 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3552 * gdb.trace/trace-enable-disable.exp: Likewise.
3553 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3554 * gdb.trace/tracecmd.exp: Check for arch support.
3555 * gdb.trace/tspeed.exp: Check for shlib and target support.
3556 * gdb.trace/tstatus.exp: Check for arch support.
3557 * gdb.trace/tsv.exp: Likewise.
3558 * gdb.trace/while-dyn.exp: Likewise.
3559 * gdb.trace/while-stepping.exp: Likewise.
3560 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3561
3562 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3563
3564 * gdb.trace/tspeed.exp: Remove nowarnings.
3565 (prepare_for_trace_test): Declare "global ipalib".
3566 * gdb.trace/tspeed.c: Include unistd.h.
3567 (main): Remove superfluous printf argument.
3568
3569 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3570
3571 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3572 directory prefix on the filename.
3573
3574 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3575
3576 * gdb.gdb/unittest.exp: Update expected message informing that
3577 selftests have been disabled.
3578 * gdb.server/unittest.exp: Likewise.
3579
3580 2018-10-09 Tom de Vries <tdevries@suse.de>
3581
3582 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3583 with runto_main.
3584
3585 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3586
3587 PR c++/16841
3588 * gdb.cp/virtbase2.cc: New file.
3589 * gdb.cp/virtbase2.exp: New file.
3590
3591 2018-10-06 Tom Tromey <tom@tromey.com>
3592
3593 PR python/19399:
3594 * gdb.python/py-inferior.exp: Add architecture test.
3595
3596 2018-10-06 Tom Tromey <tom@tromey.com>
3597
3598 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3599 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3600
3601 2018-10-06 Tom Tromey <tom@tromey.com>
3602
3603 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3604 of a "throw" catchpoint.
3605
3606 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3607
3608 * gdb.base/info-proc.exp: Update string expected from "help info
3609 proc".
3610
3611 2018-10-04 Tom Tromey <tom@tromey.com>
3612
3613 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3614 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3615 (test_initial_complaints, test_empty_complaints): Update.
3616 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3617
3618 2018-10-04 Tom Tromey <tom@tromey.com>
3619
3620 PR cli/19551:
3621 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3622 * lib/gdb.exp (gdb_file_cmd): Update.
3623 * gdb.stabs/weird.exp (print_weird_var): Update.
3624 * gdb.server/solib-list.exp: Update.
3625 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3626 * gdb.mi/mi-cli.exp: Update.
3627 * gdb.linespec/linespec.exp: Update.
3628 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3629 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3630 * gdb.cp/cp-relocate.exp: Update.
3631 * gdb.base/sym-file.exp: Update.
3632 * gdb.base/relocate.exp: Update.
3633 * gdb.base/readnever.exp: Update.
3634 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3635 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3636 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3637 * gdb.base/code_elim.exp: Update.
3638 * gdb.base/break-unload-file.exp (test_break): Update.
3639 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3640 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3641 Update.
3642 * gdb.base/attach.exp (do_attach_tests): Update.
3643 * gdb.base/sepdebug.exp: Update.
3644 * gdb.python/py-section-script.exp: Update.
3645
3646 2018-10-04 Tom Tromey <tom@tromey.com>
3647
3648 PR cli/22234:
3649 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3650 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3651 output.
3652
3653 2018-10-04 Tom Tromey <tom@tromey.com>
3654
3655 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3656 set width and height to 0.
3657 (test_command_line_attach_run): Use -quiet.
3658
3659 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3660
3661 * lib/gdb.exp (skip_ifunc_tests): New.
3662 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3663 other compile failures.
3664 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3665
3666 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3667
3668 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3669 is_amd64_regs_target.
3670
3671 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3672
3673 * gdb.arch/aarch64-sighandler-regs.c: New test.
3674 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3675 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3676
3677 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3678
3679 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3680 assembly.
3681
3682 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3683
3684 * gdb.base/frame-selection.exp: New file.
3685 * gdb.base/frame-selection.c: New file.
3686
3687 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3688
3689 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3690 pthread barrier.
3691 (main): Likewise.
3692
3693 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3694
3695 * gdb.base/large-frame-1.c: New file.
3696 * gdb.base/large-frame-2.c: New file.
3697 * gdb.base/large-frame.exp: New file.
3698 * gdb.base/large-frame.h: New file.
3699
3700 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3701
3702 PR gdb/20948
3703 * gdb.base/write_mem.exp: New test.
3704 * gdb.base/write_mem.c: Likewise.
3705
3706 2018-09-23 Tom Tromey <tom@tromey.com>
3707
3708 PR python/18852:
3709 * gdb.python/py-parameter.exp: Add test for parameter that throws
3710 on "set".
3711
3712 2018-09-23 Tom Tromey <tom@tromey.com>
3713
3714 PR python/17284:
3715 * gdb.python/py-template.exp (test_template_arg): Add test for
3716 negative template argument number.
3717
3718 2018-09-23 Tom Tromey <tom@tromey.com>
3719
3720 PR python/14062:
3721 * gdb.python/python.exp: Add test for post_event error.
3722
3723 2018-09-23 Tom Tromey <tom@tromey.com>
3724
3725 PR python/18170:
3726 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3727 convert pointers to int and long.
3728
3729 2018-09-23 Tom Tromey <tom@tromey.com>
3730
3731 PR python/20126:
3732 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3733 signed-ness conversion tests.
3734
3735 2018-09-23 Tom Tromey <tom@tromey.com>
3736
3737 PR python/18352;
3738 * gdb.python/py-value.exp (test_float_conversion): New proc.
3739 Use it.
3740
3741 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3742
3743 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3744
3745 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3746
3747 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3748 no readline.
3749 * gdb.base/utf8-identifiers.exp: Likewise.
3750 * gdb.cp/cpcompletion.exp: Likewise.
3751 * gdb.linespec/cpcompletion.exp: Likewise.
3752 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3753 * gdb.linespec/cpls-ops.exp: Likewise.
3754
3755 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3756 Chris January <chris.january@arm.com>
3757
3758 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3759 * gdb.fortran/short-circuit-argument-list.exp: New file.
3760 * gdb.fortran/short-circuit-argument-list.f90: New test.
3761
3762 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3763
3764 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3765 "arch=" keyword when executing "-stack-list-frames".
3766
3767 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3768
3769 * gdb.arch/amd64-invalid-stack-middle.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.ada/complete.exp: Expect for "@" when doing "complete
3775 break ada".
3776
3777 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3778
3779 PR python/23669
3780 * gdb.python/python.exp: Test gdb.execute("show commands").
3781
3782 2018-09-16 Tom Tromey <tom@tromey.com>
3783
3784 * gdb.base/new-ui.exp (do_execution_tests): Update.
3785 * gdb.base/dbx.exp (test_breakpoints): Update.
3786
3787 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3788
3789 * lib/gdb.exp (gdb_simple_compile): Add proc.
3790 (is_elf_target): Use gdb_simple_compile.
3791 (skip_altivec_tests): Likewise.
3792 (skip_vsx_tests): Likewise.
3793 (skip_tsx_tests): Likewise.
3794 (skip_btrace_tests): Likewise.
3795 (skip_btrace_pt_tests): Likewise.
3796 (gdb_can_simple_compile): Likewise.
3797 (gdb_has_argv0): Likewise.
3798 (gdb_target_symbol_prefix): Likewise.
3799 (target_supports_scheduler_locking): Likewise.
3800
3801 2018-09-13 Tom Tromey <tom@tromey.com>
3802
3803 * Makefile.in (TAGS): Recognize proc_with_prefix and
3804 gdb_caching_proc.
3805
3806 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3807
3808 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3809 method.
3810
3811 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3812
3813 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3814 and a few other Inferior properties when the Inferior is no
3815 longer valid.
3816
3817 2018-09-13 Tom Tromey <tom@tromey.com>
3818
3819 PR rust/23650:
3820 * gdb.rust/simple.exp: Add test for enum field access error.
3821
3822 2018-09-13 Tom Tromey <tom@tromey.com>
3823
3824 PR rust/23626:
3825 * gdb.rust/simple.rs (EmptyEnum): New type.
3826 (main): Use it.
3827 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3828
3829 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3830
3831 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3832 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3833 * gdb.python/py-symtab.exp: Update test printing an objfile.
3834
3835 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3836
3837 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3838 object.
3839
3840 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3841
3842 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3843 (support_complex_tests): Use gdb_can_simple_compile.
3844 (is_ilp32_target): Likewise.
3845 (is_lp64_target): Likewise.
3846 (is_64_target): Likewise.
3847 (is_amd64_regs_target): Likewise.
3848 (is_aarch32_target): Likewise.
3849 (gdb_int128_helper): Likewise.
3850
3851 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3852
3853 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3854
3855 2018-09-10 Jerome Guitton <guitton@adacore.com>
3856
3857 * gdb.ada/same_component_name: Add test for case of tagged record
3858 with variable-length fields.
3859
3860 2018-09-10 Xavier Roirand <roirand@adacore.com>
3861
3862 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3863 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3864 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3865 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3866
3867 2018-09-10 Xavier Roirand <roirand@adacore.com>
3868
3869 * gdb.ada/mi_string_access.exp: New testcase.
3870 * gdb.ada/mi_string_access/bar.adb: New file.
3871 * gdb.ada/mi_string_access/pck.adb: New file.
3872 * gdb.ada/mi_string_access/pck.asd: New file.
3873
3874 2018-09-10 Xavier Roirand <roirand@adacore.com>
3875
3876 * gdb.ada/mi_var_union.exp: New testcase.
3877 * gdb.ada/mi_var_union/bar.adb: New file.
3878 * gdb.ada/mi_var_union/pck.adb: New file.
3879 * gdb.ada/mi_var_union/pck.asd: New file.
3880
3881 2018-09-08 Tom Tromey <tom@tromey.com>
3882
3883 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3884
3885 2018-09-08 Tom Tromey <tom@tromey.com>
3886
3887 PR python/16047:
3888 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3889 (register_pretty_printers): Register new printer.
3890 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3891 test.
3892 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3893 (an_int_type3): New global.
3894
3895 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3896
3897 * gdb.ada/expr_with_funcall: New testcase.
3898
3899 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3900
3901 * gdb.ada/packed_array_assign: New testcase.
3902
3903 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3904
3905 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3906 names, and add test prefixes to make test names unique.
3907
3908 2018-09-05 Tom de Vries <tdevries@suse.de>
3909
3910 * gdb.dwarf2/varval.exp: Add test.
3911
3912 2018-09-04 Gary Benson <gbenson@redhat.com>
3913
3914 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3915 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3916
3917 2018-08-31 Tom Tromey <tom@tromey.com>
3918
3919 * gdb.rust/simple.rs: Rename second variable "v".
3920
3921 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3922
3923 * gdb.base/funcargs.c (use_a): New function.
3924 (recurse): Call use_a.
3925
3926 2018-08-29 Keith Seitz <keiths@redhat.com>
3927
3928 * gdb.compile/compile-cplus-anonymous.cc: New file.
3929 * gdb.compile/compile-cplus-anonymous.exp: New file.
3930 * gdb.compile/compile-cplus-array-decay.cc: New file.
3931 * gdb.compile/compile-cplus-array-decay.exp: New file.
3932 * gdb.compile/compile-cplus-inherit.cc: New file.
3933 * gdb.compile/compile-cplus-inherit.exp: New file.
3934 * gdb.compile/compile-cplus-member.cc: New file.
3935 * gdb.compile/compile-cplus-member.exp: New file.
3936 * gdb.compile/compile-cplus-method.cc: New file.
3937 * gdb.compile/compile-cplus-method.exp: New file.
3938 * gdb.compile/compile-cplus-mod.c: "New" file.
3939 * gdb.compile/compile-cplus-namespace.cc: New file.
3940 * gdb.compile/compile-cplus-namespace.exp: New file.
3941 * gdb.compile/compile-cplus-nested.cc: New file.
3942 * gdb.compile/compile-cplus-nested.exp: New file.
3943 * gdb.compile/compile-cplus-print.c: "New" file.
3944 * gdb.compile/compile-cplus-print.exp: "New" file.
3945 * gdb.compile/compile-cplus-virtual.cc: New file.
3946 * gdb.compile/compile-cplus-virtual.exp: New file.
3947 * gdb.compile/compile-cplus.c: "New" file.
3948 * gdb.compile/compile-cplus.exp: "New" file.
3949 * lib/compile-support.exp: New file.
3950
3951 2018-08-16 Gary Benson <gbenson@redhat.com>
3952
3953 PR gdb/13000:
3954 * gdb.base/batch-exit-status.exp: New file.
3955 * gdb.base/batch-exit-status.good-commands: Likewise.
3956 * gdb.base/batch-exit-status.bad-commands: Likewise.
3957
3958 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3959
3960 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3961 (struct struct02): Likewise.
3962 (struct struct03): Likewise.
3963 (struct struct04): Likewise.
3964 (struct struct_01_01): New struct.
3965 (struct struct_01_02): Likewise.
3966 (struct struct_01_03): Likewise.
3967 (struct struct_01_04): Likewise.
3968 (struct struct_02_01): Likewise.
3969 (struct struct_02_02): Likewise.
3970 (struct struct_02_03): Likewise.
3971 (struct struct_02_04): Likewise.
3972 (struct struct_04_01): Likewise.
3973 (struct struct_04_02): Likewise.
3974 (struct struct_04_03): Likewise.
3975 (struct struct_04_04): Likewise.
3976 (struct struct_05_01): Likewise.
3977 (struct struct_05_02): Likewise.
3978 (struct struct_05_03): Likewise.
3979 (struct struct_05_04): Likewise.
3980 (cmp_struct01): Remove function.
3981 (cmp_struct02): Likewise.
3982 (cmp_struct03): Likewise.
3983 (cmp_struct04): Likewise.
3984 (cmp_struct_01_01): Add Function.
3985 (cmp_struct_01_02): Likewise.
3986 (cmp_struct_01_03): Likewise.
3987 (cmp_struct_01_04): Likewise.
3988 (cmp_struct_02_01): Likewise.
3989 (cmp_struct_02_02): Likewise.
3990 (cmp_struct_02_03): Likewise.
3991 (cmp_struct_02_04): Likewise.
3992 (cmp_struct_04_01): Likewise.
3993 (cmp_struct_04_02): Likewise.
3994 (cmp_struct_04_03): Likewise.
3995 (cmp_struct_04_04): Likewise.
3996 (cmp_struct_05_01): Likewise.
3997 (cmp_struct_05_02): Likewise.
3998 (cmp_struct_05_03): Likewise.
3999 (cmp_struct_05_04): Likewise.
4000 (call_all): Add new structs.
4001 * gdb.base/infcall-nested-structs.exp: Likewise.
4002
4003 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4004
4005 * gdb.python/py-framefilter-mi.exp: Update regexp to
4006 check for "arch" field in frame output.
4007
4008 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4009
4010 * gdb.dwarf2/dw2-ranges-func.c: New file.
4011 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4012
4013 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4014
4015 * gdb.base/term.exp: Compare terminal settings with values from
4016 the inferior.
4017 * gdb.base/term.c: Get and set terminal settings.
4018
4019 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4020
4021 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4022 accommodate new "arch" field in frame output.
4023 * gdb.mi/mi-return.exp: Likewise.
4024 * gdb.mi/mi-stack.exp: Likewise.
4025 * gdb.mi/mi-syn-frame.exp: Likewise.
4026 * gdb.mi/user-selected-context-sync.exp: Likewise.
4027
4028 2018-08-19 Michael Spang <spang@google.com>
4029
4030 PR gdb/11786
4031 * gdb.base/gcore-tls-pie.c: New file.
4032 * gdb.base/gcore-tls-pie.exp: New file.
4033
4034 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4035
4036 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4037 * gdb.dwarf2/varval.c: New file.
4038 * gdb.dwarf2/varval.exp: New file.
4039
4040 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4041
4042 PR gdb/18931
4043 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4044
4045 2018-08-16 Keith Seitz <keiths@redhat.com>
4046
4047 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4048 tests expected to pass.
4049
4050 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4051
4052 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4053 -data-disassemble -a.
4054 (test_disassembly_bogus_args): Likewise.
4055
4056 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4057
4058 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4059
4060 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4061
4062 * gdb.base/vla-optimized-out.exp: Add new test.
4063
4064 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4065
4066 * gdb.base/vla-optimized-out-o3.exp: Delete.
4067 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4068 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4069 deleted tests.
4070
4071 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4072
4073 PR gdb/18050:
4074 * gdb.server/extended-remote-restart.c: New file.
4075 * gdb.server/extended-remote-restart.exp: New file.
4076
4077 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4078
4079 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4080 "set variable index = 42".
4081
4082 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4083
4084 * boards/index-cache-gdb.exp: New file.
4085 * gdb.dwarf2/index-cache.exp: New file.
4086 * gdb.dwarf2/index-cache.c: New file.
4087 * gdb.base/maint.exp: Check if we are using the index cache.
4088
4089 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4090
4091 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4092 MAKEFLAGS.
4093
4094 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4095
4096 * dg-extract-results.sh: Move to toplevel contrib.
4097 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4098 * Makefile.in (check-parallel-racy): Likewise.
4099
4100 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4101
4102 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4103 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4104 tests if the target supports scheduler locking.
4105
4106 2018-08-04 Tom de Vries <tdevries@suse.de>
4107
4108 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4109
4110 2018-08-02 Tom Tromey <tom@tromey.com>
4111
4112 PR symtab/16842.
4113 * gdb.cp/temargs.exp: Test "info address" of a template
4114 parameter.
4115
4116 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4117
4118 * gdb.python/py-mi-var-info-path-expression.c: New file.
4119 * gdb.python/py-mi-var-info-path-expression.py: New file.
4120 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4121
4122 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4123
4124 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4125 error after "cannot resolve name" string.
4126
4127 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4128
4129 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4130 started.
4131 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4132
4133 2018-07-28 Tom de Vries <tdevries@suse.de>
4134
4135 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4136
4137 2018-07-26 Tom de Vries <tdevries@suse.de>
4138
4139 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4140
4141 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4142
4143 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4144 is visible.
4145
4146 2018-07-26 Tom de Vries <tdevries@suse.de>
4147
4148 PR breakpoints/23366
4149 * gdb.base/catch-follow-exec.c: New test.
4150 * gdb.base/catch-follow-exec.exp: New file.
4151
4152 2018-07-25 Tom de Vries <tdevries@suse.de>
4153
4154 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4155 vla-optimized-out.c.
4156
4157 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4158
4159 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4160 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4161
4162 2018-07-20 Tom de Vries <tdevries@suse.de>
4163
4164 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4165 NOCLONE macro.
4166 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4167
4168 2018-07-19 Tom de Vries <tdevries@suse.de>
4169
4170 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4171 regular expression.
4172
4173 2018-07-18 Tom de Vries <tdevries@suse.de>
4174
4175 * gdb.base/vla-optimized-out.c: New test.
4176 * gdb.base/vla-optimized-out.exp: New file.
4177
4178 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4179
4180 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4181 message "No address associated with hostname" when gdbserver
4182 cannot resolve the hostname.
4183
4184 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4185
4186 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4187 Add some test prefixes to make tests unique.
4188
4189 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4190
4191 * gdb.base/frameapply.c: New file.
4192 * gdb.base/frameapply.exp: New file.
4193
4194 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4195
4196 * gdb.base/skip.exp: Update expected error message.
4197
4198 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4199 Jan Kratochvil <jan.kratochvil@redhat.com>
4200 Paul Fertser <fercerpav@gmail.com>
4201 Tsutomu Seki <sekiriki@gmail.com>
4202
4203 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4204 parameter.
4205 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4206 by default.
4207 * boards/native-gdbserver.exp: Likewise.
4208 * gdb.server/run-without-local-binary.exp: Improve regexp used
4209 for detecting when a remote debugging connection succeeds.
4210 * gdb.server/server-connect.exp: New file.
4211 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4212 Do not prefix the port number with ":".
4213 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4214 support for detecting and using it. Add '$debughost_gdbserver'
4215 to the list of arguments used to start gdbserver. Handle case
4216 when gdbserver cannot resolve a network name.
4217
4218 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4219
4220 PR c++/23373
4221 * gdb.base/ptype-offsets.cc (struct static_member): New
4222 struct.
4223 (main) <stmember>: New variable.
4224 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4225 with a static member in it.
4226
4227 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4228
4229 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4230 watchpoints enabled and disabled.
4231
4232 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4233
4234 * gdb.base/examine-backward.exp: Still run tests around address
4235 0x0, even if address 0x0 is not readable. Update the pattern for
4236 matching address 0x0 in expected output.
4237
4238 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4239
4240 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4241 malloc/free.
4242
4243 2018-07-04 Tom de Vries <tdevries@suse.de>
4244
4245 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4246
4247 2018-07-02 Maciej W. Rozycki <macro@mips.com>
4248
4249 PR tdep/8282
4250 * gdb.arch/mips-disassembler-options.exp: New test.
4251 * gdb.arch/mips-disassembler-options.s: New test source.
4252
4253 2018-06-29 Pedro Alves <palves@redhat.com>
4254
4255 * gdb.threads/names.exp: Adjust expected "info threads" output.
4256
4257 2018-06-29 Pedro Alves <palves@redhat.com>
4258
4259 * gdb.opt/inline-break.exp (line number, address): Add "info
4260 break" tests.
4261
4262 2018-06-29 Pedro Alves <palves@redhat.com>
4263
4264 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4265 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4266 number and address and running to them.
4267
4268 2018-06-29 Richard Bunt <richard.bunt@arm.com>
4269
4270 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4271
4272 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4273
4274 * lib/compiler.c: Remove executable permission flag.
4275
4276 2018-06-28 Richard Bunt <richard.bunt@arm.com>
4277
4278 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4279 code.
4280 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4281
4282 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4283
4284 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4285
4286 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4287
4288 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4289 address argument is omitted.
4290
4291 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4292
4293 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4294
4295 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
4296
4297 PR gdb/21695
4298 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4299 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4300
4301 2018-06-26 Tom Tromey <tom@tromey.com>
4302
4303 PR rust/22574:
4304 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4305 * gdb.rust/simple.rs (struct SimpleLayout): New.
4306
4307 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4308
4309 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4310 "info registers" output.
4311
4312 2018-06-21 Richard Bunt <richard.bunt@arm.com>
4313
4314 * gdb.base/watchpoint-hw-attach.c: New test.
4315 * gdb.base/watchpoint-hw-attach.exp: New file.
4316
4317 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4318
4319 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4320 through /bin/sh.
4321 * boards/dwarf4-gdb-index.exp: Likewise.
4322 * boards/fission-dwp.exp: Likewise.
4323
4324 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4325
4326 * gdb.base/float128.exp: Add comment and improved fail message
4327 to the failure case of "print large128" test.
4328
4329 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4330
4331 * configure.ac: Remove AC_PREREQ.
4332 * configure: Re-generate.
4333
4334 2018-06-19 Pedro Alves <palves@redhat.com>
4335
4336 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4337 (func_extern_caller): New.
4338 (main): Call func_extern_caller.
4339 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4340 logic change.
4341
4342 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
4343
4344 PR gdb/16841
4345 * gdb.cp/typedef-base.cc: New file.
4346 * gdb.cp/typedef-base.exp: New file.
4347
4348 2018-06-18 Tom de Vries <tdevries@suse.de>
4349
4350 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4351
4352 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4353 Richard Bunt <Richard.Bunt@arm.com>
4354
4355 * gdb.threads/attach-slow-waitpid.c: New file.
4356 * gdb.threads/attach-slow-waitpid.exp: New file.
4357 * gdb.threads/slow-waitpid.c: New file.
4358
4359 2018-06-14 Pedro Alves <palves@redhat.com>
4360
4361 * gdb.base/fork-running-state.c: Include <errno.h>.
4362 (exit_if_relative_exits): New.
4363 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4364 exits.
4365 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4366 child exits.
4367
4368 2018-06-14 Tom de Vries <tdevries@suse.de>
4369
4370 PR cli/22573
4371 * gdb.base/finish-pretty.c: New test.
4372 * gdb.base/finish-pretty.exp: New file.
4373
4374 2018-06-14 Pedro Alves <palves@redhat.com>
4375
4376 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4377 gdb's expected startup output.
4378
4379 2018-06-14 Pedro Alves <palves@redhat.com>
4380
4381 * lib/selftest-support.exp (selftest_setup): Remove inlined
4382 function handling.
4383
4384 2018-06-14 Tom de Vries <tdevries@suse.de>
4385
4386 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4387 matching of breakpoint printing.
4388
4389 2018-06-13 Tom de Vries <tdevries@suse.de>
4390
4391 PR testsuite/23269
4392 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4393 (fork_child): ... here, and ...
4394 (fork_parent): ... here.
4395
4396 2018-06-12 Tom de Vries <tdevries@suse.de>
4397
4398 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4399
4400 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4401 Stephen Roberts <stephen.roberts@arm.com>
4402
4403 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4404 rewrite test to describe action performed, rather than possible
4405 failure.
4406
4407 2018-06-08 Gary Benson <gbenson@redhat.com>
4408
4409 * gdb.threads/check-libthread-db.exp: New file.
4410 * gdb.threads/check-libthread-db.c: Likewise.
4411
4412 2018-06-05 Tom Tromey <tom@tromey.com>
4413
4414 * gdb.base/default.exp: Update expected "show version" output.
4415
4416 2018-06-05 Tom Tromey <tom@tromey.com>
4417
4418 PR cli/12326:
4419 * gdb.cp/static-print-quit.exp: Update.
4420 * lib/gdb.exp (pagination_prompt): Update.
4421 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4422 * gdb.python/python.exp: Update.
4423
4424 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4425
4426 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4427
4428 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4429
4430 * gdb.ada/bp_fun_addr: New testcase.
4431
4432 2018-06-01 Tom Tromey <tom@tromey.com>
4433
4434 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4435 results.
4436 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4437 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4438 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4439 * gdb.base/maint.exp (maint_pass_if): Update.
4440
4441 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4442
4443 * gdb.base/endian.exp: New test.
4444 * gdb.base/endian.c: New test source.
4445
4446 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4447
4448 PR gdb/23203
4449 * gdb.base/bt-selected-frame.c: New file.
4450 * gdb.base/bt-selected-frame.exp: New file.
4451 * lib/gdb.exp (get_current_frame_number): New function.
4452
4453 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4454 Pedro Alves <palves@redhat.com>
4455
4456 * gdb.threads/tls-core.c: Include <stdlib.h>
4457 (thread_proc): Call `abort'.
4458 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4459 (tls_core_test): New procedure, bits factored out from ...
4460 (top level): ... here. Test both native cores and gcore cores.
4461
4462 2018-05-23 Tom Tromey <tom@tromey.com>
4463
4464 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4465
4466 2018-05-23 Tom Tromey <tom@tromey.com>
4467
4468 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4469 symfile_complaints.
4470 (test_short_complaints): Likewise.
4471 (test_empty_complaints): Likewise.
4472 (test_initial_complaints): Update.
4473
4474 2018-05-23 Tom Tromey <tom@tromey.com>
4475
4476 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4477
4478 2018-05-23 Tom Tromey <tom@tromey.com>
4479
4480 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4481 (test_short_complaints): Update.
4482
4483 2018-05-22 Pedro Alves <palves@redhat.com>
4484
4485 * gdb.base/remote.exp: Only gdb_start after compiling the
4486 testcase. Issue "disconnect" before testing "set remote" command
4487 defaults. Issue clean_restart before running to main.
4488
4489 2018-05-22 Pedro Alves <palves@redhat.com>
4490
4491 * gdb.base/remote.exp: Adjust expected output of "show remote
4492 memory-write-packet-size". Add tests for "set remote
4493 memory-write-packet-size 0" and "set remote
4494 memory-write-packet-size fixed/limit".
4495
4496 2018-05-22 Pedro Alves <palves@redhat.com>
4497
4498 PR gdb/22973
4499 * gdb.base/utf8-identifiers.c: New file.
4500 * gdb.base/utf8-identifiers.exp: New file.
4501
4502 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4503
4504 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4505
4506 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4507
4508 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4509
4510 2018-05-18 Tom Tromey <tom@tromey.com>
4511
4512 * gdb.base/ptype-offsets.exp: Update.
4513
4514 2018-05-17 Keith Seitz <keiths@redhat.com>
4515
4516 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4517 in expected breakpoint stop locations.
4518 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4519 move to proper scope to test variable values.
4520 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4521 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4522 New functions.
4523 (main): Call not_inline_func3.
4524 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4525 inline_func1, inline_func2, and inline_func3. Test that when each
4526 breakpoint is hit, GDB properly reports both the stop location
4527 and the backtrace. Repeat tests for temporary breakpoints.
4528
4529 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4530
4531 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4532 rather then trying to access it in determining whether the PID
4533 of `gdbserver' could have been retrieved.
4534
4535 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4536
4537 * gdb.arch/amd64-init-x87-values.S: New file.
4538 * gdb.arch/amd64-init-x87-values.exp: New file.
4539
4540 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4541
4542 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4543
4544 2018-05-04 Tom Tromey <tom@tromey.com>
4545
4546 PR python/22730:
4547 * gdb.python/python.exp: Test multi-line execute.
4548
4549 2018-05-04 Tom Tromey <tom@tromey.com>
4550
4551 PR python/22731:
4552 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4553
4554 2018-05-04 Tom Tromey <tom@tromey.com>
4555
4556 PR gdb/11750:
4557 * gdb.base/define.exp: Test defining a user command inside a user
4558 command.
4559 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4560
4561 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4562 Pedro Alves <palves@redhat.com>
4563
4564 PR breakpoints/19806 and support for PR external/20207.
4565 * gdb.base/watchpoint-unaligned.c: New file.
4566 * gdb.base/watchpoint-unaligned.exp: New file.
4567
4568 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4569
4570 * gdb.base/maint.exp: Make test names unique, use
4571 test_prefix_command_help to test 'help maint info', and remove
4572 repeated test of 'help maint'.
4573
4574 2018-05-04 Tom Tromey <tom@tromey.com>
4575
4576 PR gdb/22619:
4577 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4578 behavior.
4579
4580 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4581
4582 * gdb.base/maint.exp: Process output from 'maint print registers'
4583 line at a time.
4584
4585 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4586
4587 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4588 timeout.
4589
4590 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4591
4592 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4593 filter pattern.
4594
4595 2018-05-02 Pedro Alves <palves@redhat.com>
4596
4597 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4598 to_log_command renames.
4599 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4600
4601 2018-05-02 Tom Tromey <tom@tromey.com>
4602
4603 * gdb.python/py-parameter.exp: Set test message.
4604
4605 2018-05-02 Tom Tromey <tom@tromey.com>
4606
4607 PR python/20084:
4608 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4609 PARAM_ZUINTEGER_UNLIMITED tests.
4610
4611 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4612
4613 PR rust/23124
4614 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4615 when casting.
4616
4617 2018-04-30 Tom Tromey <tom@tromey.com>
4618
4619 * gdb.python/py-type.exp: Check align attribute.
4620 * gdb.python/py-type.c: New "aligncheck" global.
4621
4622 2018-04-30 Tom Tromey <tom@tromey.com>
4623
4624 PR exp/17095:
4625 * gdb.dwarf2/dw2-align.exp: New file.
4626 * gdb.cp/align.exp: New file.
4627 * gdb.base/align.exp: New file.
4628 * lib/gdb.exp (gdb_int128_helper): New proc.
4629 (has_int128_c, has_int128_cxx): New caching procs.
4630
4631 2018-04-27 Tom Tromey <tom@tromey.com>
4632
4633 PR rust/22545:
4634 * gdb.rust/simple.exp: Add inclusive range tests.
4635
4636 2018-04-26 Pedro Alves <palves@redhat.com>
4637
4638 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4639 ifunc breakpoint locations correctly of ifunc breakpoints set
4640 while the program resolves the ifunc.
4641
4642 2018-04-26 Pedro Alves <palves@redhat.com>
4643
4644 * gdb.base/gnu-ifunc-final.c: New file.
4645 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4646 * gdb.base/gnu-ifunc.exp (executable): Delete.
4647 (staticexecutable): Adjust.
4648 (lib_opts, exec_opts): Delete.
4649 (make_binsuffix, build, set-break): New procedures.
4650 (misc_tests): New, with tests factored out from the top level.
4651 (top level): Test different combinations of ifunc resolver name,
4652 resolver with and with debug info, and ifunc target with and
4653 without debug info. Wrap static tests with with_target_prefix.
4654
4655 2018-04-26 Pedro Alves <palves@redhat.com>
4656
4657 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4658 return type" warnings.
4659
4660 2018-04-25 Pedro Alves <palves@redhat.com>
4661
4662 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4663 killed".
4664 * gdb.base/kill-after-signal.exp: Likewise.
4665 * gdb.threads/kill.exp: Likewise.
4666
4667 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4668 Sergio Durigan Junior <sergiodj@redhat.com>
4669 Pedro Alves <palves@redhat.com>
4670
4671 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4672 regexps to expect for '[Inferior ... detached]' as well.
4673 * gdb.base/attach.exp: Likewise.
4674 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4675 "gdb_continue_to_end".
4676 (test_catch_syscall_with_wrong_args): Likewise.
4677 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4678 ']'. Don't set 'verbose' on.
4679 * gdb.base/foll-vfork.exp: Likewise.
4680 * gdb.base/fork-print-inferior-events.c: New file.
4681 * gdb.base/fork-print-inferior-events.exp: New file.
4682 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4683 '[Inferior ... has been killed]' message.
4684 * gdb.base/kill-after-signal.exp: Likewise.
4685 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4686 detach message.
4687 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4688 message.
4689 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4690 regexps to expect for '[Inferior ... detached]' as well.
4691 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4692
4693 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4694
4695 PR gdb/23104
4696 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4697
4698 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
4699
4700 PR gdb/23095
4701 * gdb.base/break-probes.exp: Pass shlib_load to
4702 prepare_for_testing. Set normal_bp to r_debug_state if target is
4703 bsd.
4704
4705 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4706
4707 * gdb.threads/multiple-successive-infcall.c: New test.
4708 * gdb.threads/multiple-successive-infcall.exp: New file.
4709
4710 2018-04-17 Tom Tromey <tom@tromey.com>
4711
4712 * gdb.rust/simple.rs (Union): New type.
4713 (main): New local "u".
4714 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4715
4716 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4717
4718 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4719 number information in output of "whereis" command.
4720 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4721
4722 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4723
4724 * gdb.ada/info_types.exp: Adjust expected output to the line
4725 numbers now printed by "info var/func/type".
4726 * gdb.base/completion.exp: Likewise.
4727 * gdb.base/included.exp: Likewise.
4728 * gdb.cp/cp-relocate.exp: Likewise.
4729 * gdb.cp/cplusfuncs.exp: Likewise.
4730 * gdb.cp/namespace.exp: Likewise.
4731 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4732
4733 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4734
4735 * gdb.btrace/cpu.exp: New.
4736
4737 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4738
4739 * gdb.base/step-indirect-call-thunk.exp: New.
4740 * gdb.base/step-indirect-call-thunk.c: New.
4741 * gdb.reverse/step-indirect-call-thunk.exp: New.
4742 * gdb.reverse/step-indirect-call-thunk.c: New.
4743
4744 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4745
4746 * gdb.base/pie-fork.c: New file.
4747 * gdb.base/pie-fork.exp: New file.
4748
4749 2018-04-11 Tom Tromey <tom@tromey.com>
4750
4751 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4752
4753 2018-04-10 Pedro Alves <palves@redhat.com>
4754
4755 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4756 exits. Instead loop running forever.
4757 (fork_parent): Run forever too.
4758
4759 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4760
4761 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4762 mi_continue_to_line.
4763 * gdb.mi/mi-stack.c (callee4): Add comment.
4764
4765 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4766
4767 * gdb.mi/mi-stack.exp: Fix indentation.
4768
4769 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4770
4771 PR gdb/22979
4772 * gdb.arch/amd64-osabi.exp: New file.
4773
4774 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4775
4776 PR gdb/22980
4777 * gdb.base/osabi.exp: New file.
4778
4779 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4780
4781 * gdb.cp/static-typedef-print.exp: New file.
4782 * gdb.cp/static-typedef-print.cc: New file.
4783
4784 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4785
4786 * gdb.ada/varsize_limit: New testcase.
4787
4788 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4789
4790 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4791
4792 * gdb.ada/notcplusplus: New testcase.
4793
4794 * gdb.base/c-linkage-name.c: New file.
4795 * gdb.base/c-linkage-name.exp: New testcase.
4796
4797 2018-03-26 Tom Tromey <tom@tromey.com>
4798
4799 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4800 * gdb.python/py-framefilter.py (name_error): New global.
4801 (ErrorInName.function): Use name_error.
4802
4803 2018-03-26 Tom Tromey <tom@tromey.com>
4804
4805 PR backtrace/15582:
4806 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4807
4808 2018-03-23 Keith Seitz <keiths@redhat.com>
4809
4810 PR c++/22968
4811 * gdb.cp/subtypes.exp: New file.
4812 * gdb.cp/subtypes.h: New file.
4813 * gdb.cp/subtypes.cc: New file.
4814 * gdb.cp/subtypes-2.cc: New file.
4815
4816 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4817
4818 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4819 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4820 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4821 -nostartfiles when compiling the test. Confirm that all registers
4822 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4823
4824 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4825
4826 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4827 option, syntax was wrong anyway.
4828 * gdb.arch/arm-disp-step.exp: Likewise.
4829 * gdb.arch/sparc64-regs.exp: Likewise.
4830 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4831 option, syntax was wrong anyway, switch to use
4832 prepare_for_testing.
4833 * gdb.arch/i386-disp-step.exp: Likewise.
4834
4835 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4836
4837 * gdb.ada/exec_changed.exp: Replace "target_info exists
4838 use_gdb_stub" by "use_gdb_stub".
4839 * gdb.ada/start.exp: Likewise.
4840 * gdb.base/async-shell.exp: Likewise.
4841 * gdb.base/attach-pie-misread.exp: Likewise.
4842 * gdb.base/attach-wait-input.exp: Likewise.
4843 * gdb.base/break-entry.exp: Likewise.
4844 * gdb.base/break-interp.exp: Likewise.
4845 * gdb.base/dprintf-detach.exp: Likewise.
4846 * gdb.base/nostdlib.exp: Likewise.
4847 * gdb.base/solib-nodir.exp: Likewise.
4848 * gdb.base/statistics.exp: Likewise.
4849 * gdb.base/testenv.exp: Likewise.
4850 * gdb.mi/mi-exec-run.exp: Likewise.
4851 * gdb.mi/mi-start.exp: Likewise.
4852 * gdb.multi/dummy-frame-restore.exp: Likewise.
4853 * gdb.multi/multi-arch-exec.exp: Likewise.
4854 * gdb.multi/multi-arch.exp: Likewise.
4855 * gdb.multi/tids.exp: Likewise.
4856 * gdb.multi/watchpoint-multi.exp: Likewise.
4857 * gdb.python/py-events.exp: Likewise.
4858 * gdb.threads/attach-into-signal.exp: Likewise.
4859 * gdb.threads/attach-stopped.exp: Likewise.
4860 * gdb.threads/threadapply.exp: Likewise.
4861 * lib/selftest-support.exp: Likewise.
4862
4863 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4864
4865 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4866
4867 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4868
4869 * gdb.perf/template-breakpoints.cc: New file.
4870 * gdb.perf/template-breakpoints.exp: New file.
4871 * gdb.perf/template-breakpoints.py: New file.
4872
4873 2018-03-19 Tom Tromey <tom@tromey.com>
4874
4875 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4876 y0.
4877 * gdb.rust/simple.exp: Test bare identifier form of struct
4878 initializer.
4879
4880 2018-03-19 Tom Tromey <tom@tromey.com>
4881
4882 * gdb.gdb/observer.exp: Remove.
4883
4884 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4885
4886 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4887 "qualified" option when setting breakpoints.
4888 * gdb.trace/backtrace.exp: Likewise.
4889 * gdb.trace/circ.exp: Likewise.
4890 * gdb.trace/collection.exp: Likewise.
4891 * gdb.trace/disconnected-tracing.exp: Likewise.
4892 * gdb.trace/ftrace-lock.exp: Likewise.
4893 * gdb.trace/ftrace.exp: Likewise.
4894 * gdb.trace/infotrace.exp: Likewise.
4895 * gdb.trace/packetlen.exp: Likewise.
4896 * gdb.trace/passc-dyn.exp: Likewise.
4897 * gdb.trace/qtro.exp: Likewise.
4898 * gdb.trace/read-memory.exp: Likewise.
4899 * gdb.trace/report.exp: Likewise.
4900 * gdb.trace/signal.exp: Likewise.
4901 * gdb.trace/status-stop.exp: Likewise.
4902 * gdb.trace/strace.exp: Likewise.
4903 * gdb.trace/tfind.exp: Likewise.
4904 * gdb.trace/trace-break.exp: Likewise.
4905 * gdb.trace/trace-condition.exp: Likewise.
4906 * gdb.trace/trace-mt.exp: Likewise.
4907 * gdb.trace/tstatus.exp: Likewise.
4908 * gdb.trace/tsv.exp: Likewise.
4909 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4910 * gdb.trace/unavailable.exp: Likewise.
4911 * gdb.trace/while-dyn.exp: Likewise.
4912
4913 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4914
4915 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4916 that libinproctrace is copied to the target.
4917
4918 2018-03-14 Tom Tromey <tom@tromey.com>
4919
4920 PR cli/14977:
4921 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4922 a null pointer.
4923 * gdb.base/wchar.exp: Likewise.
4924
4925 2018-03-14 Tom Tromey <tom@tromey.com>
4926
4927 PR cli/19918:
4928 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4929 flag.
4930
4931 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4932
4933 PR gdb/22841
4934 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4935 "target" to remote_exec.
4936
4937 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4938
4939 PR gdb/22841
4940 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4941 ${board}_upload): Remove.
4942
4943 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4944
4945 * gdb.cp/watch-cp.cc: New test.
4946 * gdb.cp/watch-cp.exp: New file.
4947
4948 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4949
4950 * gdb.base/infcall-nested-structs.exp: New file.
4951 * gdb.base/infcall-nested-structs.c: New file.
4952 * gdb.base/float.exp: Add riscv support.
4953
4954 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4955
4956 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4957 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4958
4959 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4960
4961 * gdb.server/abspath.exp: New file.
4962 * lib/gdb.exp (with_cwd): New procedure.
4963
4964 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4965
4966 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4967 use it.
4968 (gdb_is_target_remote_prompt): New proc.
4969 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4970 (gdb_is_target_native): Pass prompt parameter to
4971 gdb_is_target_1.
4972
4973 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4974
4975 * gdb.base/load-command.c: New file.
4976 * gdb.base/load-command.exp: New file.
4977 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4978 (gdb_is_target_1): ...this, and generalize for other targets
4979 than just remote.
4980 (gdb_is_target_remote): Use gdb_is_target_1.
4981 (gdb_is_target_native): use gdb_is_target_1.
4982
4983 2018-02-26 Tom Tromey <tom@tromey.com>
4984
4985 PR python/16497:
4986 * gdb.python/py-framefilter.exp: Update test.
4987
4988 2018-02-26 Tom Tromey <tom@tromey.com>
4989
4990 * gdb.dwarf2/variant.c: New file.
4991 * gdb.dwarf2/variant.exp: New file.
4992
4993 2018-02-26 Tom Tromey <tom@tromey.com>
4994
4995 * gdb.rust/simple.exp: Accept more possible results in enum test.
4996
4997 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4998
4999 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5000 parentheses.
5001
5002 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5003
5004 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5005 name of a variable: $actual_linejj -> $actual_line.
5006
5007 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5008
5009 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5010
5011 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5012
5013 * gdb.btrace/buffer-size.exp: Do not force BTS.
5014
5015 2018-02-14 Pedro Alves <palves@redhat.com>
5016
5017 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5018 getting a "Quit".
5019
5020 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5021
5022 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5023 Fix test name.
5024
5025 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5026
5027 * gdb.cp/m-static.exp: Check type of optimized out static
5028 member.
5029
5030 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5031
5032 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5033 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5034
5035 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5036 Leszek Swirski <leszeks@google.com>
5037
5038 * gdb.python/py-prettyprint.c
5039 (struct to_string_returns_value_inner,
5040 struct to_string_returns_value_wrapper): New.
5041 (main): Add tsrvw variable.
5042 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5043 ToStringReturnsValueWrapper): New classes.
5044 (register_pretty_printers): Register new pretty-printers.
5045 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5046 recursive pretty printer.
5047 * gdb.python/py-mi.exp: Likewise.
5048
5049 2018-02-01 Leszek Swirski <leszeks@google.com>
5050
5051 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5052 functions with the same name as an include file are parsed
5053 correctly.
5054
5055 2018-02-01 Yao Qi <yao.qi@linaro.org>
5056
5057 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5058 "\[^\r\n\]*".
5059
5060 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5061
5062 * gdb.arch/powerpc-prologue-frame.s: New file.
5063 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5064 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5065
5066 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5067
5068 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5069
5070 2018-01-30 Pedro Alves <palves@redhat.com>
5071
5072 PR gdb/13211
5073 * gdb.base/interrupt-daemon.c: New.
5074 * gdb.base/interrupt-daemon.exp: New.
5075 * gdb.multi/multi-term-settings.c: New.
5076 * gdb.multi/multi-term-settings.exp: New.
5077
5078 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5079
5080 * gdb.base/break.exp: Save the location where the breakpoint
5081 on break.c:47 was actually inserted when debugging the version
5082 compiled at -O2 and use it in the expected output of the "info
5083 break" test performed soon after.
5084
5085 2018-01-22 Pedro Alves <palves@redhat.com>
5086 Sergio Durigan Junior <sergiodj@redhat.com>
5087
5088 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5089 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5090
5091 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5092
5093 * gdb.base/break-include.c, gdb.base/break-include.inc,
5094 gdb.base/break-include.exp: New files.
5095 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5096 line number now being the actual line number where the breakpoint
5097 was inserted.
5098 * gdb.mi/mi-break.exp: Likewise.
5099 * gdb.mi/mi-reverse.exp: Likewise.
5100 * gdb.mi/mi-simplerun.exp: Ditto.
5101
5102 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5103
5104 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5105 varobj.
5106 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5107
5108 2018-01-21 Don Breazeal <donb@codesourcery.com>
5109 Andrew Burgess <andrew.burgess@embecosm.com>
5110
5111 * gdb.mi/basics.c: Add new global.
5112 * gdb.mi/mi-frame-regs.exp: New file.
5113 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5114 case.
5115
5116 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5117
5118 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5119 non-parameter, and on an unknown symbol.
5120
5121 2018-01-19 Tom Tromey <tom@tromey.com>
5122
5123 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5124 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5125
5126 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5127
5128 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5129 setrlimit and chdir to int.
5130
5131 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5132
5133 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5134 function.
5135 (my_tend): Likewise.
5136 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5137 rationale of avoiding FP- and vector instructions.
5138
5139 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5140
5141 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5142 "info reg" with "\[ \t\]*".
5143 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5144 "\[ \t\]+".
5145 * gdb.arch/s390-multiarch.exp: Ditto.
5146 * gdb.base/pc-fp.exp: Ditto.
5147 * gdb.reverse/i386-precsave.exp: Ditto.
5148 * gdb.reverse/i386-reverse.exp: Ditto.
5149 * gdb.reverse/i387-env-reverse.exp: Ditto.
5150 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5151
5152 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5153
5154 * lib/gdb.exp (gdb_compile): Re-enable use of
5155 universal_compile_options for languages other than Rust.
5156
5157 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5158
5159 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5160
5161 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5162
5163 PR gdb/16577
5164 * gdb.base/solib-vanish.exp: New.
5165 * gdb.base/solib-vanish-main.c: New.
5166 * gdb.base/solib-vanish-lib1.c: New.
5167 * gdb.base/solib-vanish-lib2.c: New.
5168
5169 2018-01-17 Yao Qi <yao.qi@linaro.org>
5170
5171 * gdb.compile/compile.exp: Match the address printed for
5172 frame in the output of command "bt".
5173
5174 2018-01-15 Tom Tromey <tom@tromey.com>
5175
5176 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5177 compute sp_reg.
5178
5179 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5180
5181 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5182 to prepare.
5183 (prepare): Return 0 on error, 1 on success.
5184
5185 2018-01-12 Pedro Alves <palves@redhat.com>
5186
5187 * gdb.base/continue-after-aborted-step-over.c: New.
5188 * gdb.base/continue-after-aborted-step-over.exp: New.
5189
5190 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5191
5192 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5193 options when not creating an executable.
5194
5195 2018-01-11 Pedro Alves <palves@redhat.com>
5196
5197 PR remote/22597
5198 * gdb.server/stop-reply-no-thread.c: New file.
5199 * gdb.server/stop-reply-no-thread.exp: New file.
5200
5201 2018-01-10 Pedro Alves <palves@redhat.com>
5202
5203 PR gdb/22670
5204 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5205 functions too. Test setting breakpoints and printing C functions
5206 with no debug info too.
5207 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5208
5209 2018-01-10 Pedro Alves <palves@redhat.com>
5210
5211 PR gdb/22670
5212 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5213 a fail.
5214
5215 2018-01-10 Pedro Alves <palves@redhat.com>
5216
5217 PR gdb/22670
5218 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5219
5220 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5221
5222 * gdb.server/unittest.exp: Match the output in non-development
5223 mode.
5224
5225 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5226
5227 * gdb.gdb/unittest.exp: Match output in non-development mode.
5228
5229 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5230
5231 * gdb.ada/access_tagged_param.exp: Relax expected output
5232 for value of "ObjL" in "continue" to pck.inspect breakpoint
5233 test.
5234
5235 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5236
5237 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5238 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5239
5240 2018-01-05 Pedro Alves <palves@redhat.com>
5241
5242 PR gdb/18653
5243 * gdb.base/libsegfault.exp: New.
5244
5245 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5246
5247 PR gdb/22670
5248 * gdb.ada/access_tagged_param.exp: New file.
5249 * gdb.ada/access_tagged_param/foo.adb: New file.
5250
5251 2018-01-05 Pedro Alves <palves@redhat.com>
5252
5253 PR gdb/22670
5254 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5255 exercise lower case too, and to exercise both full matching and
5256 wild matching.
5257
5258 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5259
5260 * gdb.ada/rename_subscript_param: New testcase.
5261
5262 2018-01-05 Jerome Guitton <guitton@adacore.com>
5263
5264 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5265
5266 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5267
5268 * gdb.ada/convvar_comp: New testcase.
5269
5270 2018-01-05 Xavier Roirand <roirand@adacore.com>
5271
5272 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5273 (My_Table): New global variable.
5274 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5275
5276 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5277
5278 PR gdb/22670
5279 * gdb.ada/maint_with_ada: New testcase.
5280
5281 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5282
5283 PR gdb/22670
5284 * gdb.ada/bp_c_mixed_case: New testcase.
5285
5286 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5287
5288 PR gdb/22670
5289 * gdb.ada/complete.exp: Add "complete break ada" test.
5290
5291 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5292
5293 PR gdb/22670
5294 * gdb.ada/info_addr_mixed_case: New testcase.
5295
5296 2018-01-03 Xavier Roirand <roirand@adacore.com>
5297
5298 * gdb.ada/excep_handle.exp: New testcase.
5299 * gdb.ada/excep_handle/foo.adb: New file.
5300 * gdb.ada/excep_handle/pck.ads: New file.
5301
5302 2018-01-03 Joel Brobecker <brobecker@adacore.com>
5303
5304 * gdb.base/step-line.c: Add extra empty line in copyright header.
5305 * gdb.base/step-line.inp: Likewise.
5306
5307 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5308
5309 * gdb.ada/dyn_stride.exp: Add slice test.
5310
5311 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5312
5313 * gdb.ada/dyn_stride: New testcase.
5314
5315 2017-12-27 Stafford Horne <shorne@gmail.com>
5316
5317 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5318 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5319
5320 2017-12-27 Stafford Horne <shorne@gmail.com>
5321
5322 * gdb.base/reggroups.c: New file.
5323 * gdb.base/reggroups.exp: New file.
5324
5325 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5326
5327 * gdb.dwarf2/ada-valprint-error.c: New file.
5328 * gdb.dwarf2/ada-valprint-error.exp: New file.
5329
5330 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5331
5332 * gdb.ada/assign_arr: New testcase.
5333
5334 2017-12-18 Xavier Roirand <roirand@adacore.com>
5335
5336 * gdb.ada/funcall_ptr: New testcase.
5337
5338 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5339
5340 PR cli/16224
5341 * gdb.base/ptype-offsets.cc: New file.
5342 * gdb.base/ptype-offsets.exp: New file.
5343
5344 2017-12-15 Yao Qi <yao.qi@linaro.org>
5345
5346 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5347 if XML is disabled.
5348
5349 2017-12-15 Xavier Roirand <roirand@adacore.com>
5350
5351 * gdb.ada/same_component_name: New testcase.
5352
5353 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5354
5355 * gdb.ada/str_binop_equal: New testcase.
5356
5357 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5358
5359 * gdb.ada/task_switch_in_core: New testcase.
5360
5361 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5362
5363 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5364 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5365 call test_bkpt_qualified.
5366 (test_bkpt_qualified): New proc.
5367
5368 2017-12-13 Pedro Alves <palves@redhat.com>
5369
5370 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5371 Tighten regexp by matching with an anchor.
5372
5373 2017-12-13 Pedro Alves <palves@redhat.com>
5374
5375 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5376 ("expression with namespace"): New set of tests.
5377 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5378 (Nested::Test_NS::qux): New.
5379 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5380 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5381
5382 2017-12-13 Joel Brobecker <brobecker@adacore.com>
5383
5384 * gdb.base/server-del-break.c: New file.
5385 * gdb.base/server-del-break.exp: New file.
5386
5387 2017-12-12 Stafford Horne <shorne@gmail.com>
5388
5389 * gdb.xml/tdesc-regs.exp: Add or1k support.
5390
5391 2017-12-12 Stafford Horne <shorne@gmail.com>
5392
5393 * gdb.base/bp-permanent.c: Define nop of or1k.
5394
5395 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5396
5397 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5398 output with components being reordered.
5399
5400 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5401
5402 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5403 output with components being reordered.
5404
5405 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5406 Pedro Alves <palves@redhat.com>
5407
5408 * gdb.base/maint.exp (check for .gdb_index): Check also for
5409 .debug_names.
5410 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5411 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5412 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5413 (.gdb_index used after symbol reloading): Support also .debug_names.
5414 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5415
5416 2017-12-08 Yao Qi <yao.qi@linaro.org>
5417
5418 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5419 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
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 test for breakpoint.
5425
5426 2017-12-08 Yao Qi <yao.qi@linaro.org>
5427
5428 * gdb.arch/aarch64-tagged-pointer.c: New file.
5429 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5430
5431 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5432
5433 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5434 "int".
5435
5436 2017-12-07 Keith Seitz <keiths@redhat.com>
5437
5438 PR breakpoints/22569
5439 * gdb.linespec/ls-errs.exp: Change expected result of "break
5440 -source this file has spaces.c -line 3".
5441 Check that an explicit source file followed by whitespace is
5442 identified as an invalid explicit location.
5443
5444 2017-12-07 Keith Seitz <keiths@redhat.com>
5445
5446 * gdb.cp/nested-types.cc: New file.
5447 * gdb.cp/nested-types.exp: New file.
5448 * lib/cp-support.exp: Load data-structures.exp library.
5449 (debug_cp_test_ptype_class): New global.
5450 (cp_ptype_class_verbose, next_line): New procedures.
5451 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5452 Add and document new return value.
5453 Switch the list of lines to a queue.
5454 Add support for new `type' key for nested type definitions.
5455 Add debugging/troubleshooting messages.
5456 * lib/data-structures.exp: New file.
5457
5458 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5459
5460 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5461 with proc_with_prefix, don't use with_test_prefix.
5462
5463 2017-12-07 Tom Tromey <tom@tromey.com>
5464
5465 * gdb.base/break.exp: Add test for empty "commands".
5466
5467 2017-12-07 Yao Qi <yao.qi@linaro.org>
5468
5469 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5470 malloc and catch syscall.
5471
5472 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5473
5474 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5475 tests for explicit locations.
5476
5477 2017-12-06 Pedro Alves <palves@redhat.com>
5478
5479 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5480 force-disabling XML descriptions.
5481
5482 2017-12-04 Pedro Alves <palves@redhat.com>
5483
5484 PR gdb/22499
5485 * gdb.arch/amd64-disp-step-avx.S: New file.
5486 * gdb.arch/amd64-disp-step-avx.exp: New file.
5487
5488 2017-12-03 Pedro Alves <palves@redhat.com>
5489
5490 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5491 and <string.h>.
5492 (parent_function): Print distinct messages when waitpid fails, or
5493 the child exits with a signal, or the child exits for an unhandled
5494 reason.
5495 * gdb.threads/process-dies-while-detaching.exp
5496 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5497 it. Wait for both inferior output and GDB's prompt. Use an
5498 indirect spawn id list.
5499 (do_detach): New parameter 'child_exit'. Use it to compute
5500 expected inferior output.
5501 (test_detach, test_detach_watch, test_detach_killed_outside):
5502 Adjust to pass down the expected child exit kind.
5503
5504 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5505 Sergio Durigan Junior <sergiodj@redhat.com>
5506 Pedro Alves <palves@redhat.com>
5507
5508 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5509
5510 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5511
5512 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5513 to 'symbol-file' and 'add-symbol-file' can be
5514 position-independent.
5515
5516 2017-12-01 Yao Qi <yao.qi@linaro.org>
5517
5518 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5519 the URL in copyright header.
5520 * gdb.arch/aarch64-fp.exp: Likewise.
5521 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5522 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5523 * gdb.base/expand-psymtabs.exp: Likewise.
5524 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5525 * gdb.fortran/common-block.exp: Likewise.
5526 * gdb.fortran/common-block.f90: Likewise.
5527 * gdb.fortran/logical.exp: Likewise.
5528 * gdb.fortran/vla-datatypes.f90: Likewise.
5529 * gdb.fortran/vla-sub.f90: Likewise.
5530
5531 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5532
5533 * gdb.ada/repeat_dyn: New testcase.
5534
5535 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5536
5537 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5538 Update for changed thread numbering.
5539 * gdb.cell/bt.exp: Update for changed GDB output.
5540
5541 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5542
5543 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5544 setting isremote by hand.
5545 * boards/dwarf4-gdb-index.exp: Likewise.
5546 * boards/fission.exp: Likewise.
5547 * boards/stabs.exp: Likewise.
5548
5549 2017-11-30 Pedro Alves <palves@redhat.com>
5550
5551 * gdb.linespec/cpls-ops.exp
5552 (check_explicit_skips_function_argument): Extract the underlying
5553 type of size_t instead of hardcoding it.
5554
5555 2017-11-29 Pedro Alves <palves@redhat.com>
5556
5557 PR c++/19436
5558 * gdb.linespec/cpls-abi-tag.cc: New file.
5559 * gdb.linespec/cpls-abi-tag.exp: New file.
5560
5561 2017-11-29 Pedro Alves <palves@redhat.com>
5562
5563 * gdb.base/langs.exp: Use -qualified.
5564 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5565 it.
5566 * gdb.cp/namespace.exp: Use -qualified.
5567 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5568 (overload-3, template-overload, template-ret-type, const-overload)
5569 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5570 procedures.
5571 (test_driver): Call them.
5572 * gdb.cp/save-bp-qualified.cc: New.
5573 * gdb.cp/save-bp-qualified.exp: New.
5574 * gdb.linespec/explicit.exp: Test -qualified.
5575 * lib/completion-support.exp (completion::explicit_opts_list): Add
5576 "-qualified".
5577 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5578
5579 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5580
5581 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5582
5583 2017-11-29 Tom Tromey <tom@tromey.com>
5584
5585 * gdb.base/relocate.exp: Update invalid argument test.
5586 Add new tests for invalid arguments.
5587
5588 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5589
5590 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5591 Return 0 as a long.
5592 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5593
5594 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5595
5596 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5597 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5598 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5599 func ().
5600 * gdb.cp/shadow.cc (B.func): Return 0.
5601
5602 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5603
5604 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5605 expected output in gdb_expect call to allow the exception
5606 message to be present as well. Fix syntax confusion to avoid
5607 TCL thinking that exception_name is an array.
5608
5609 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5610
5611 * gdb.arch/spu-info.c: Include <unistd.h>.
5612 (do_signal_test): Fix broken calls to write.
5613 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5614 Fix checks for empty mailboxes. Update signal tests for corrected
5615 do_signal_test routine. Allow nonzero event status.
5616 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5617 * gdb.cell/arch.exp: Use standard_output_file.
5618 * gdb.cell/break.exp: Likewise.
5619 * gdb.cell/bt.exp: Likewise.
5620 * gdb.cell/core.exp: Likewise.
5621 * gdb.cell/dwarfaddr.exp: Likewise.
5622 * gdb.cell/ea-cache.exp: Likewise.
5623 * gdb.cell/ea-standalone.exp: Likewise.
5624 * gdb.cell/f-regs.exp: Likewise.
5625 * gdb.cell/fork.exp: Likewise.
5626 * gdb.cell/gcore.exp: Likewise.
5627 * gdb.cell/mem-access.exp: Likewise.
5628 * gdb.cell/ptype.exp: Likewise.
5629 * gdb.cell/registers.exp: Likewise.
5630 * gdb.cell/sizeof.exp: Likewise.
5631 * gdb.cell/solib-symbol.exp: Likewise.
5632 * gdb.cell/solib.exp: Likewise.
5633
5634 2017-11-25 Pedro Alves <palves@redhat.com>
5635
5636 * gdb.base/complete-empty.exp: New file.
5637 * gdb.base/completion.exp: Adjust.
5638
5639 2017-11-25 Pedro Alves <palves@redhat.com>
5640
5641 * gdb.linespec/cpls-ops.cc: New file.
5642 * gdb.linespec/cpls-ops.exp: New file.
5643 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5644 factored out from ...
5645 (test_complete_prefix_range): ... this.
5646
5647 2017-11-24 Pedro Alves <palves@redhat.com>
5648
5649 * gdb.linespec/cpcompletion.exp: New file.
5650 * gdb.linespec/cpls-hyphen.cc: New file.
5651 * gdb.linespec/cpls.cc: New file.
5652 * gdb.linespec/cpls2.cc: New file.
5653 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5654 test to use test_gdb_complete_unique. Add label completion,
5655 keyword completion and explicit location completion tests.
5656 * lib/completion-support.exp: New file.
5657
5658 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5659
5660 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5661 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5662 when hitting an exception catchpoint.
5663
5664 2017-11-22 Yao Qi <yao.qi@linaro.org>
5665
5666 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5667
5668 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5669
5670 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5671 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5672 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5673
5674 2017-11-22 Yao Qi <yao.qi@linaro.org>
5675
5676 * gdb.base/info-os.exp: Pass pthreads.
5677 * gdb.multi/multi-attach.exp: Likewise.
5678
5679 2017-11-22 Yao Qi <yao.qi@linaro.org>
5680
5681 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5682 compiler.
5683
5684 2017-11-22 Yao Qi <yao.qi@linaro.org>
5685
5686 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5687 * gdb.base/break-interp.exp: Likewise.
5688 * gdb.base/jit-attach-pie.exp: Likewise.
5689
5690 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5691
5692 * gdb.base/float128.c (large128): New variable.
5693 * gdb.base/float128.exp: Add test to print largest __float128 value.
5694
5695 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5696
5697 * gdb.arch/vsx-regs.exp: Update register content checks.
5698
5699 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5700
5701 * gdb.arch/ppc-longdouble.exp: New file.
5702 * gdb.arch/ppc-longdouble.c: Likewise.
5703
5704 2017-11-21 Pedro Alves <palves@redhat.com>
5705
5706 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5707
5708 2017-11-20 Pedro Alves <palves@redhat.com>
5709
5710 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5711 (long_double_typedef): New typedefs.
5712 Use DEF on double and long double.
5713 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5714 cases.
5715 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5716 and 'long_double_ptr_same_size' locals. Use them to decide
5717 whether cast from array/function to float is valid/invalid.
5718
5719 2017-11-17 Tom Tromey <tom@tromey.com>
5720
5721 * gdb.rust/traits.rs: New file.
5722 * gdb.rust/traits.exp: New file.
5723
5724 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5725
5726 * gdb.ada/minsyms: New testcase.
5727
5728 2017-11-16 Pedro Alves <palves@redhat.com>
5729
5730 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5731 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5732
5733 2017-11-16 Pedro Alves <palves@redhat.com>
5734
5735 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5736 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5737
5738 2017-11-16 Pedro Alves <palves@redhat.com>
5739
5740 * gdb.server/reconnect-ctrl-c.c: New file.
5741 * gdb.server/reconnect-ctrl-c.exp: New file.
5742
5743 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5744
5745 * gdb.python/py-rbreak.exp: New file.
5746 * gdb.python/py-rbreak.c: New file.
5747 * gdb.python/py-rbreak-func2.c: New file.
5748
5749 2017-11-16 Pedro Alves <palves@redhat.com>
5750
5751 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5752 pattern.
5753 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5754 GDB.
5755
5756 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5757
5758 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5759 regex.
5760
5761 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5762
5763 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5764 test names.
5765
5766 2017-11-09 Pedro Alves <palves@redhat.com>
5767
5768 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5769 factored out from ...
5770 (top level): ... here, and adjusted to avoid expecting beyond the
5771 prompt in a single gdb_test_multiple.
5772
5773 2017-11-09 Pedro Alves <palves@redhat.com>
5774
5775 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5776 output.
5777 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5778 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5779 * gdb.server/ext-run.exp ("kill" test): Likewise.
5780 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5781
5782 2017-11-09 Pedro Alves <palves@redhat.com>
5783
5784 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5785 match till end of line.
5786
5787 2017-11-09 Pedro Alves <palves@redhat.com>
5788
5789 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5790
5791 2017-11-09 Pedro Alves <palves@redhat.com>
5792
5793 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5794 New procedures, factored out from ...
5795 (top level): ... here, and adjusted to avoid expecting beyond the
5796 prompt in one go.
5797
5798 2017-11-09 Pedro Alves <palves@redhat.com>
5799
5800 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5801 output. Fix '?' match.
5802
5803 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5804
5805 * gdb.ada/scoped_watch: New testcase.
5806 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5807 which is actually correct.
5808 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5809 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5810
5811 2017-11-08 Pedro Alves <palves@redhat.com>
5812
5813 * gdb.gdb/complaints.exp (test_initial_complaints)
5814 (test_serial_complaints, test_short_complaints): Call
5815 complaint_internal instead of complaint.
5816
5817 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5818
5819 * gdb.threads/tls-core.c: New file.
5820 * gdb.threads/tls-core.exp: Likewise.
5821
5822 2017-11-08 Pedro Alves <palves@redhat.com>
5823
5824 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5825 (p Exported_Capitalized): New test.
5826 (p exported_capitalized): New test.
5827
5828 2017-11-07 Pedro Alves <palves@redhat.com>
5829
5830 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5831
5832 2017-11-07 Pedro Alves <palves@redhat.com>
5833
5834 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5835 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5836 (disable_invalid, disable_inverted, disable_negative): New
5837 procedures.
5838 ("bad numbers"): New set of tests.
5839
5840 2017-11-07 Pedro Alves <palves@redhat.com>
5841
5842 * gdb.cp/ena-dis-br-range.exp: Add tests.
5843
5844 2017-11-07 Pedro Alves <palves@redhat.com>
5845
5846 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5847
5848 2017-11-07 Xavier Roirand <roirand@adacore.com>
5849 Pedro Alves <palves@redhat.com>
5850
5851 * gdb.base/ena-dis-br.exp: Add reference to
5852 gdb.cp/ena-dis-br-range.exp.
5853 * gdb.cp/ena-dis-br-range.exp: New file.
5854 * gdb.cp/ena-dis-br-range.cc: New file.
5855
5856 2017-11-06 Pedro Alves <palves@redhat.com>
5857
5858 * gdb.base/attach-non-pgrp-leader.c: New.
5859 * gdb.base/attach-non-pgrp-leader.exp: New.
5860
5861 2017-11-06 Pedro Alves <palves@redhat.com>
5862
5863 * configure.ac: No longer check for termio.h and sgtty.h.
5864 * configure: Regenerate.
5865 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5866 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5867 Remove termio and sgtty code.
5868
5869 2017-11-03 Yao Qi <yao.qi@linaro.org>
5870
5871 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5872 in GDB is disabled.
5873
5874 2017-11-03 Yao Qi <yao.qi@linaro.org>
5875
5876 * gdb.python/py-thrhandle.exp: Skip it if python is not
5877 enabled.
5878
5879 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5880
5881 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5882 as a breakpoint command.
5883
5884 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5885
5886 PR python/21213
5887 * gdb.python/py-infthread.exp: Test calling
5888 InferiorThread.inferior () multiple times in a row.
5889
5890 2017-10-27 Keith Seitz <keiths@redhat.com>
5891
5892 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5893 Test "info break" for every inlined function breakpoint.
5894
5895 2017-10-27 Yao Qi <yao.qi@linaro.org>
5896
5897 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5898
5899 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5900
5901 * gdb.cp/classes.exp (test_static_members): Test printing
5902 Outer::instance.
5903 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5904 (Inner::instance, Outer::instance): New.
5905
5906 2017-10-24 Pedro Alves <palves@redhat.com>
5907
5908 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5909 extra console" test in two stages.
5910
5911 2017-10-24 Pedro Alves <palves@redhat.com>
5912
5913 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5914
5915 2017-10-24 Pedro Alves <palves@redhat.com>
5916
5917 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5918 loop.
5919
5920 2017-10-24 Pedro Alves <palves@redhat.com>
5921
5922 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5923 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5924
5925 2017-10-24 Pedro Alves <palves@redhat.com>
5926
5927 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5928 parameter and handle it. Don't output read value in test name.
5929
5930 2017-10-24 Pedro Alves <palves@redhat.com>
5931
5932 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5933 custom test name.
5934
5935 2017-10-24 Pedro Alves <palves@redhat.com>
5936
5937 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5938 include the unstable output directory name in the test's name.
5939 (initial_setup_simple) <'set args'>: Use custom test name.
5940
5941 2017-10-24 Pedro Alves <palves@redhat.com>
5942
5943 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5944 with explicit test name.
5945
5946 2017-10-20 Pedro Alves <palves@redhat.com>
5947
5948 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5949 'wait -i'. Use gdb_assert and remote_close.
5950
5951 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5952
5953 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5954 number from variable rather than hard-coded.
5955
5956 2017-10-19 Pedro Alves <palves@redhat.com>
5957
5958 * gdb.base/long-inferior-output.c: New file.
5959 * gdb.base/long-inferior-output.exp: New file.
5960
5961 2017-11-18 Keith Seitz <keiths@redhat.com>
5962
5963 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5964 method.
5965 (main): Call it.
5966 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5967 Add additional user-defined conversion operator tests.
5968
5969 2017-10-17 Pedro Alves <palves@redhat.com>
5970
5971 * boards/native-stdio-gdbserver.exp: Load "local-board".
5972
5973 2017-10-17 Pedro Alves <palves@redhat.com>
5974
5975 * gdb.base/quit-live.c: New file.
5976 * gdb.base/quit-live.exp: New file.
5977
5978 2017-10-16 Keith Seitz <keiths@redhat.com>
5979
5980 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5981 (class_with_protected_typedef, class_with_private_typedef)
5982 (struct_with_public_typedef, struct_with_protected_typedef)
5983 (struct_with_private_typedef): New classes/structs.
5984 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5985 typedefs and access specifiers.
5986
5987 2017-10-16 Pedro Alves <palves@redhat.com>
5988 Simon Marchi <simon.marchi@polymtl.ca>
5989
5990 * README (Local vs Remote vs Native): New section.
5991 * boards/local-board.exp: New file, with bits factored out from
5992 ...
5993 * boards/native-extended-gdbserver.exp: ... here. Load
5994 "local-board".
5995 * boards/native-gdbserver.exp: Load "local-board".
5996 (${board}_spawn, ${board}_exec): Delete.
5997 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5998 ...
5999 * boards/stdio-gdbserver-base.exp: ... this new file.
6000 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6001 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6002 procedure.
6003 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6004 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6005 stdio_gdbserver_command.
6006 (${board}_get_remote_address, ${board}_get_comm_port)
6007 (${board}_download, ${board}_upload): Delete.
6008 (get_target_remote_pipe_cmd): New.
6009
6010 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6011
6012 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6013 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6014 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6015 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6016 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6017 remove with_test_prefix.
6018
6019 2017-10-13 Pedro Alves <palves@redhat.com>
6020
6021 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6022 * gdb.base/annota1.exp: Use it instead of is_remote.
6023 * gdb.base/annota3.exp: Use it instead of is_remote.
6024 * gdb.cp/annota2.exp: Use it instead of is_remote.
6025 * gdb.cp/annota3.exp: Use it instead of is_remote.
6026 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6027
6028 2017-10-13 Pedro Alves <palves@redhat.com>
6029
6030 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6031 (test_num_test_vars, run_and_count_vars, find_env)
6032 (test_set_unset_env, test_inherit_env_var): New procedures.
6033 (top level): Use them.
6034
6035 2017-10-13 Pedro Alves <palves@redhat.com>
6036
6037 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6038 also skip on stub-like targets.
6039
6040 2017-10-13 Pedro Alves <palves@redhat.com>
6041
6042 PR gdb/22293
6043 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6044 (top level): Move some tests to ...
6045 (test_not_found): ... this new procedure.
6046 (top level): Call it.
6047
6048 2017-10-13 Pedro Alves <palves@redhat.com>
6049
6050 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6051 expect different "info terminal" output if testing with a
6052 non-native target.
6053
6054 2017-10-13 Pedro Alves <palves@redhat.com>
6055 Simon Marchi <simon.marchi@polymtl.ca>
6056
6057 PR python/12966
6058 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6059
6060 2017-10-13 Pedro Alves <palves@redhat.com>
6061
6062 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6063 already.
6064
6065 2017-10-13 Pedro Alves <palves@redhat.com>
6066
6067 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6068 is_remote.
6069
6070 2017-10-13 Pedro Alves <palves@redhat.com>
6071
6072 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6073 is_remote.
6074
6075 2017-10-13 Pedro Alves <palves@redhat.com>
6076
6077 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6078 is set.
6079 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6080 instead of is_remote.
6081
6082 2017-10-13 Pedro Alves <palves@redhat.com>
6083
6084 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6085 (top level): Add comment.
6086
6087 2017-10-13 Pedro Alves <palves@redhat.com>
6088
6089 * gdb.base/remote.exp (top level): Fix comment typo and add
6090 missing return.
6091
6092 2017-10-13 Pedro Alves <palves@redhat.com>
6093 Simon Marchi <simon.marchi@polymtl.ca>
6094
6095 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6096 calls and add comments. Skip test if use_gdb_stub is set.
6097 (top level): Use "set cwd" command instead of "cd" command.
6098
6099 2017-10-13 Pedro Alves <palves@redhat.com>
6100
6101 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6102 is_remote target check.
6103
6104 2017-10-13 Pedro Alves <palves@redhat.com>
6105
6106 * gdb.base/scope.exp: Use build_executable + clean_restart +
6107 gdb_file_cmd instead of prepare_for_testing and no longer skip
6108 "before run" tests on is_remote target boards. Update comments.
6109 * boards/native-extended-gdbserver.exp
6110 (extended_gdbserver_load_last_file): New, factored out from ...
6111 (gdb_load): ... this. Move further below and add comment.
6112 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6113
6114 2017-10-12 Pedro Alves <palves@redhat.com>
6115
6116 * gdb.base/attach.exp: Remove references to gdb64.
6117 * gdb.base/dbx.exp: Remove references to gdb64.
6118
6119 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6120 Pedro Alves <palves@redhat.com>
6121
6122 * gdb.base/label.exp: Remove is_remote target check.
6123
6124 2017-10-12 Pedro Alves <palves@redhat.com>
6125
6126 * gdb.base/auvx.exp (coredir): Update comment.
6127 (top level) <core_works>: Use "set cwd" command instead of "cd"
6128 command.
6129
6130 2017-10-12 Pedro Alves <palves@redhat.com>
6131 Simon Marchi <simon.marchi@polymtl.ca>
6132
6133 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6134 target boards.
6135
6136 2017-10-12 Pedro Alves <palves@redhat.com>
6137 Simon Marchi <simon.marchi@polymtl.ca>
6138
6139 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6140 Instead skip if there's any gdb_protocol set.
6141
6142 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6143 Pedro Alves <palves@redhat.com>
6144
6145 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6146
6147 2017-10-12 Pedro Alves <palves@redhat.com>
6148 Simon Marchi <simon.marchi@polymtl.ca>
6149
6150 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6151 instead of on dejagnu remote boards.
6152
6153 2017-10-12 Pedro Alves <palves@redhat.com>
6154 Simon Marchi <simon.marchi@polymtl.ca>
6155
6156 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6157 checks. Use build_executable + clean_restart instead of
6158 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6159 of enabling non-stop after starting gdb.
6160
6161 2017-10-12 Pedro Alves <palves@redhat.com>
6162
6163 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6164 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6165 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6166 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6167
6168 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6169
6170 * gdb.arch/arc-tdesc-cpu.exp: New file.
6171 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6172
6173 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6174
6175 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6176
6177 2017-10-10 Pedro Alves <palves@redhat.com>
6178
6179 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6180 expect CLI output.
6181
6182 2017-10-10 Pedro Alves <palves@redhat.com>
6183
6184 * lib/selftest-support.exp (selftest_setup): Update for
6185 captured_command_loop's prototype change.
6186
6187 2017-10-09 Pedro Alves <palves@redhat.com>
6188
6189 Test both arch1=>arch2 and arch2=>arch1.
6190
6191 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6192 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6193 factored out to...
6194 (append_arch1_options, append_arch2_options, append_arch_options)
6195 (build_executables): New procedures.
6196 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6197 local.
6198 (top level): Add new 'first_arch' testing axis.
6199
6200 2017-10-09 Pedro Alves <palves@redhat.com>
6201
6202 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6203 (barrier): New.
6204 (thread_start, all_started): New functions.
6205 (main): Spawn new thread and wait until it is scheduled.
6206 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6207 option.
6208 (do_test): Add 'selected_thread' parameter. Run to all_started
6209 instead of main. Explicitly set the breakpoint at main. Switch
6210 to the SELECTED_THREAD thread.
6211 (top level): Test handling the exec event with either the main
6212 thread or the second thread selected.
6213
6214 2017-10-09 Pedro Alves <palves@redhat.com>
6215
6216 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6217 logic. Move STOP marker after the value checks.
6218 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6219 regexp.
6220
6221 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6222
6223 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6224
6225 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6226
6227 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6228 integer-to-dfp conversion.
6229 * gdb.base/dfp-test.exp: Likewise.
6230
6231 2017-10-04 Pedro Alves <palves@redhat.com>
6232
6233 * gdb.multi/hangout.c: Include <unistd.h>.
6234 (hangout_loop): New function.
6235 (main): Call alarm. Call hangout_loop in a loop.
6236 * gdb.multi/hello.c: Include <unistd.h>.
6237 (hello_loop): New function.
6238 (main): Call alarm. Call hangout_loop in a loop.
6239 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6240 inferior with the other selected.
6241
6242 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6243
6244 * gdb.mi/list-thread-groups-available.exp: New file.
6245 * gdb.mi/list-thread-groups-available.c: New file.
6246
6247 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6248
6249 * gdb.base/set-cwd.exp: Make it available on
6250 native-extended-gdbserver.
6251
6252 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6253
6254 * gdb.base/set-cwd.c: New file.
6255 * gdb.base/set-cwd.exp: Likewise.
6256
6257 2017-10-02 Tom Tromey <tom@tromey.com>
6258
6259 PR rust/22236:
6260 * gdb.rust/simple.rs (main): New variable "fslice".
6261 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6262
6263 2017-10-02 Tom Tromey <tom@tromey.com>
6264
6265 * gdb.rust/simple.exp: Test ptype of a slice.
6266
6267 2017-10-02 Tom Tromey <tom@tromey.com>
6268
6269 * gdb.rust/simple.exp: Test index of slice.
6270
6271 2017-09-27 Tom Tromey <tom@tromey.com>
6272
6273 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6274
6275 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6276 Pedro Alves <palves@redhat.com>
6277
6278 * gdb.base/compare-sections.exp (get value of read-only section): Read
6279 as unsigned value.
6280 (corrupt read-only section): Likewise and don't set written if patching
6281 failed.
6282
6283 2017-09-21 Kevin Buettner <kevinb@redhat.com>
6284
6285 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6286 files.
6287
6288 2017-09-20 Pedro Alves <palves@redhat.com>
6289
6290 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6291 symbol names in gdb's output.
6292 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6293
6294 2017-09-20 Pedro Alves <palves@redhat.com>
6295
6296 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6297 Rename to ...
6298 (test_list_ambiguous_symbol): ... this and add a symbol name
6299 parameter. Adjust.
6300 (test_list_ambiguous_function): Reimplement on top of
6301 test_list_ambiguous_symbol and also test listing ambiguous
6302 variables.
6303 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6304 (ambiguous_fun): ... this.
6305 (ambiguous_var): New.
6306 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6307 (ambiguous_fun): ... this.
6308 (ambiguous_var): New.
6309
6310 2017-09-19 John Baldwin <jhb@FreeBSD.org>
6311
6312 * gdb.base/starti.c: New file.
6313 * gdb.base/starti.exp: New file.
6314 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6315
6316 2017-09-14 Pedro Alves <palves@redhat.com>
6317
6318 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6319 (top level): Use it instead of runto.
6320
6321 2017-09-11 Tom Tromey <tom@tromey.com>
6322
6323 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6324
6325 2017-09-11 Tom Tromey <tom@tromey.com>
6326
6327 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6328 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6329
6330 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6331
6332 * gdb.fortran/printing-types.exp: New file.
6333 * gdb.fortran/printing-types.exp: New file.
6334
6335 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6336
6337 * gdb.fortran/vla-ptype.exp: Fix typos.
6338 * gdb.fortran/vla-value.exp: Same.
6339
6340 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6341
6342 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6343 * gdb.mi/mi-var-child-f.exp: Likewise.
6344 * gdb.mi/mi-vla-fortran.exp: Likewise.
6345
6346 2017-09-08 Frank Penczek <frank.penczek@intel.com>
6347 Christoph Weinmann <christoph.t.weinmann@intel.com>
6348 Bernhard Heckel <bernhard.heckel@intel.com>
6349
6350 * gdb.fortran/ptr-indentation.f90: New file.
6351 * gdb.fortran/ptr-indentation.exp: New file.
6352
6353 2017-09-05 Tom Tromey <tom@tromey.com>
6354
6355 PR gdb/22010:
6356 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6357
6358 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6359
6360 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6361
6362 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6363
6364 * gdb.threads/tls-nodebug-pie.c: New file.
6365 * gdb.threads/tls-nodebug-pie.exp: New file.
6366
6367 2017-09-05 Tom Tromey <tom@tromey.com>
6368
6369 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6370 for rust.
6371
6372 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6373
6374 * gdb.multi/multi-arch-exec.exp: Test with different
6375 "follow-exec-mode" settings.
6376 (do_test): New procedure.
6377
6378 2017-09-04 Pedro Alves <palves@redhat.com>
6379
6380 * gdb.base/func-static.c (S::method const, S::method volatile)
6381 (S::method volatile const): New methods.
6382 (c_s, v_s, cv_s): New instances.
6383 (main): Call method() on them.
6384 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6385 (cannot_resolve): New procedure.
6386 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6387 print-quote-unquoted columns.
6388 (do_test): Test printing each scope too.
6389
6390 2017-09-04 Pedro Alves <palves@redhat.com>
6391
6392 * gdb.base/local-static.exp: Also test with
6393 class::method::variable wholly quoted.
6394 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6395
6396 2017-09-04 Pedro Alves <palves@redhat.com>
6397
6398 * gdb.base/local-static.c: New.
6399 * gdb.base/local-static.cc: New.
6400 * gdb.base/local-static.exp: New.
6401
6402 2017-09-04 Pedro Alves <palves@redhat.com>
6403
6404 * gdb.asm/asm-source.exp: Add casts to int.
6405 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6406 (dataglobal64_1, dataglobal64_2): New globals.
6407 * gdb.base/nodebug.exp: Test different expressions involving the
6408 new globals, with print, whatis and ptype. Add casts to int.
6409 * gdb.base/solib-display.exp: Add casts to int.
6410 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6411 * gdb.cp/m-static.exp: Add cast to int.
6412 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6413 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6414 tls variable with no debug info without a cast. Test with a cast
6415 to int too.
6416 * gdb.trace/entry-values.exp: Add casts.
6417
6418 2017-09-04 Pedro Alves <palves@redhat.com>
6419
6420 * gdb.base/nodebug.exp: Test that ptype's error about functions
6421 with unknown return type includes the function name too.
6422
6423 2017-09-04 Pedro Alves <palves@redhat.com>
6424
6425 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6426 return type of munmap in infcall.
6427 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6428 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6429 type of ftell in infcall.
6430 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6431 type of getpid in infcall.
6432 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6433 infcall.
6434 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6435 Bail on failure to extract the pid.
6436 * gdb.base/nodebug.c: #include <stdint.h>.
6437 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6438 New functions.
6439 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6440 Change expected output of print/whatis/ptype with functions with
6441 no debug info. Test all supported languages. Call
6442 test_call_promotion.
6443 * gdb.compile/compile.exp: Adjust expected output to expect
6444 warning.
6445 * gdb.threads/siginfo-threads.exp: Likewise.
6446
6447 2017-09-04 Pedro Alves <palves@redhat.com>
6448
6449 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6450 "prototypes". Test calling float functions via prototyped and
6451 unprototyped function pointers.
6452 (perform_all_tests): New parameter "prototypes". Pass it down.
6453 (top level): Pass down "prototypes" parameter to
6454 perform_all_tests.
6455
6456 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6457
6458 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6459 Test with nested loops.
6460
6461 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6462
6463 * gdb.base/commands.exp: Call the new procedures.
6464 (loop_break_test, loop_continue_test): New procedures.
6465
6466 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6467
6468 * gdb.base/commands.exp: Call new procedure.
6469 (define_if_without_arg_test): New procedure.
6470
6471 2017-09-04 Pedro Alves <palves@redhat.com>
6472
6473 * gdb.base/list-ambiguous.exp: New file.
6474 * gdb.base/list-ambiguous0.c: New file.
6475 * gdb.base/list-ambiguous1.c: New file.
6476 * gdb.base/list.exp (test_list_range): Adjust expected output.
6477
6478 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6479
6480 * gdb.base/share-env-with-gdbserver.c: New file.
6481 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6482
6483 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6484
6485 * gdb.base/commands.exp (gdbvar_simple_if_test,
6486 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6487 progvar_simple_if_test, progvar_simple_while_test,
6488 progvar_complex_if_while_test, user_defined_command_test,
6489 user_defined_command_args_eval,
6490 user_defined_command_args_stack_test,
6491 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6492 temporary_breakpoint_commands,
6493 gdb_test_no_prompt, redefine_hook_test,
6494 redefine_backtrace_test): Remove "global gdb_prompt".
6495
6496 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6497
6498 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6499 New proc, call it from toplevel.
6500
6501 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6502
6503 PR remote/21852
6504 * gdb.server/normal.c: New file, copied from gdb.base.
6505 * gdb.server/run-without-local-binary.exp: New file.
6506
6507 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6508
6509 * gdb.arch/sparc64-adi.exp: New file.
6510 * gdb.arch/sparc64-adi.c: New file.
6511
6512 2017-08-22 Pedro Alves <palves@redhat.com>
6513
6514 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6515 (top level): Add "list all overloads" tests.
6516
6517 2017-08-22 Tom Tromey <tom@tromey.com>
6518
6519 * gdb.gdb/xfullpath.exp: Remove.
6520
6521 2017-08-21 Pedro Alves <palves@redhat.com>
6522
6523 PR gdb/19487
6524 * gdb.base/symbol-alias.c: New.
6525 * gdb.base/symbol-alias2.c: New.
6526 * gdb.base/symbol-alias.exp: New.
6527
6528 2017-08-21 Pedro Alves <palves@redhat.com>
6529
6530 * gdb.base/dfp-test.c
6531 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6532 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6533 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6534 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6535 * gdb.base/whatis-ptype-typedefs.c: New.
6536 * gdb.base/whatis-ptype-typedefs.exp: New.
6537 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6538 (an_int, an_int_type, an_int_type2): New globals.
6539 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6540 involving typedefs and cast expressions.
6541 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6542 (lookup_typedefs_function): New.
6543 (typedefs_pretty_printers_dict): New.
6544 (top level): Register lookup_typedefs_function in
6545 gdb.pretty_printers.
6546
6547 2017-08-18 Yao Qi <yao.qi@linaro.org>
6548
6549 * gdb.server/unittest.exp: New.
6550
6551 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6552
6553 PR gdb/21954
6554 * gdb.base/environ.exp: Add test to check if 'unset environment'
6555 works.
6556
6557 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6558
6559 * lib/gdb.exp (universal_compile_options): New caching proc.
6560 (gdb_compile): Suppress GCC's coloring of messages.
6561
6562 2017-08-14 Tom Tromey <tom@tromey.com>
6563
6564 PR gdb/21675:
6565 * gdb.base/printcmds.exp (test_radices): New function.
6566 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6567 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6568 * lib/gdb.exp (get_integer_valueof): Use p/d.
6569
6570 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6571
6572 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6573 characters.
6574
6575 2017-08-05 Tom Tromey <tom@tromey.com>
6576
6577 * gdb.rust/simple.exp: Allow String to appear in a different
6578 namespace.
6579
6580 2017-07-26 Yao Qi <yao.qi@linaro.org>
6581
6582 * gdb.gdb/unittest.exp: Invoke command
6583 "maintenance check xml-descriptions".
6584
6585 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6586
6587 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6588 calling context.
6589 (hex128): Drop erroneous calculation of parameters.
6590
6591 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6592
6593 * gdb.python/py-unwind.exp: Disable stack protection when
6594 building test file.
6595
6596 2017-07-20 Pedro Alves <palves@redhat.com>
6597
6598 * gdb.base/default.exp (set language): Adjust expected output.
6599
6600 2017-07-20 Pedro Alves <palves@redhat.com>
6601
6602 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6603 (test_minsym): ... this, and make static.
6604 (get_pck__foo__bar__minsym): Rename to ...
6605 (get_test_minsym): ... this.
6606 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6607 symbol names and comments.
6608 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6609 (get_test_minsym): ... this.
6610 (pck__foo__bar__minsym__2): Rename to ...
6611 (test_minsym): ... this.
6612 (main): Adjust.
6613
6614 2017-07-17 Pedro Alves <palves@redhat.com>
6615
6616 * gdb.base/completion.exp: Adjust expected output.
6617 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6618 the completer works.
6619
6620 2017-07-17 Pedro Alves <palves@redhat.com>
6621
6622 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6623
6624 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6625
6626 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6627
6628 2017-07-14 Tom Tromey <tom@tromey.com>
6629
6630 PR rust/21764:
6631 * gdb.rust/simple.exp: Add tests.
6632
6633 2017-07-14 Tom Tromey <tom@tromey.com>
6634
6635 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6636
6637 2017-07-14 Pedro Alves <palves@redhat.com>
6638
6639 * gdb.linespec/base/one/thefile.cc (z1): New function.
6640 * gdb.linespec/base/two/thefile.cc (z2): New function.
6641 * gdb.linespec/linespec.exp: Add tests.
6642
6643 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6644
6645 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6646 to mi_create_breakpoint.
6647
6648 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6649
6650 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6651 mi_create_breakpoint.
6652
6653 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6654
6655 * gdb.dlang/demangle.exp: Update for demangling changes.
6656
6657 2017-07-09 Tom Tromey <tom@tromey.com>
6658
6659 * gdb.dwarf2/shortpiece.exp: New file.
6660
6661 2017-07-06 David Blaikie <dblaikie@gmail.com>
6662
6663 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6664 built from fissiont-multi-cu{1,2}.c.
6665 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6666 except putting 'main' and 'func' in separate CUs in the same DWO file.
6667 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6668 test.
6669 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6670 test.
6671
6672 2017-07-06 Pedro Alves <palves@redhat.com>
6673
6674 * gdb.python/py-unwind.exp: Test flushregs.
6675
6676 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6677
6678 PR cli/21688
6679 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6680 tests for alias commands and trailing whitespace.
6681
6682 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6683
6684 PR cli/21688
6685 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6686 procedure. Call it.
6687
6688 2017-06-29 Pedro Alves <palves@redhat.com>
6689
6690 * gdb.base/printcmds.exp: Add tests.
6691
6692 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6693
6694 PR gdb/21337
6695 * gdb.base/reread-readsym.exp: New file.
6696 * gdb.base/reread-readsym.c: New file.
6697
6698 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6699
6700 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6701 subpattern.
6702
6703 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6704
6705 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6706 extended mnemonic.
6707 * gdb.arch/powerpc-power9.s: Likewise.
6708
6709 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6710
6711 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6712 on 32-bit x86 targets. Exploit is_*_target macros where
6713 appropriate.
6714
6715 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6716
6717 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6718 register pieces.
6719
6720 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6721
6722 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6723 located in one or more DWARF pieces.
6724
6725 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6726
6727 * lib/gdb.exp (get_endianness): New proc.
6728 * gdb.arch/aarch64-fp.exp: Use it.
6729 * gdb.arch/altivec-regs.exp: Likewise.
6730 * gdb.arch/e500-regs.exp: Likewise.
6731 * gdb.arch/vsx-regs.exp: Likewise.
6732 * gdb.base/dump.exp: Likewise.
6733 * gdb.base/funcargs.exp: Likewise.
6734 * gdb.base/gnu_vector.exp: Likewise.
6735 * gdb.dwarf2/formdata16.exp: Likewise.
6736 * gdb.dwarf2/implptrpiece.exp: Likewise.
6737 * gdb.dwarf2/nonvar-access.exp: Likewise.
6738 * gdb.python/py-inferior.exp: Likewise.
6739 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6740
6741 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6742
6743 PR gdb/21226
6744 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6745 stack value pieces are taken from the LSB end.
6746
6747 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6748
6749 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6750 variable at nonzero offset.
6751
6752 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6753
6754 * gdb.dwarf2/var-access.c: New file.
6755 * gdb.dwarf2/var-access.exp: New test.
6756 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6757
6758 2017-06-12 Tom Tromey <tom@tromey.com>
6759
6760 * gdb.dwarf2/formdata16.exp: Add tests.
6761
6762 2017-06-12 Tom Tromey <tom@tromey.com>
6763
6764 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6765
6766 2017-06-12 Tom Tromey <tom@tromey.com>
6767
6768 PR exp/16225:
6769 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6770 * gdb.arch/vsx-regs.exp: Update tests.
6771 * gdb.arch/s390-vregs.exp (hex128): New proc.
6772 Update test.
6773 * gdb.arch/altivec-regs.exp: Update tests.
6774
6775 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6776
6777 * gdb.base/startup-with-shell.c: New file.
6778 * gdb.base/startup-with-shell.exp: Likewise.
6779
6780 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6781
6782 * gdb.server/non-existing-program.exp: Update regex in order to
6783 reflect the fact that gdbserver is now using fork_inferior (with a
6784 shell) to startup the inferior.
6785
6786 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6787
6788 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6789 support function calls from GDB.
6790
6791 2017-05-21 Tom Tromey <tom@tromey.com>
6792
6793 PR rust/21466:
6794 * gdb.rust/unsized.exp: New file.
6795 * gdb.rust/unsized.rs: New file.
6796
6797 2017-05-19 Tom Tromey <tom@tromey.com>
6798
6799 PR rust/21484:
6800 * gdb.rust/watch.exp: New file.
6801 * gdb.rust/watch.rs: New file.
6802
6803 2017-05-18 Tom Tromey <tom@tromey.com>
6804
6805 * gdb.rust/simple.exp: Allow Box to be qualified.
6806
6807 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6808
6809 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6810
6811 2017-05-18 Pedro Alves <palves@redhat.com>
6812
6813 * gdb.base/fileio.c (test_write, test_read, test_close)
6814 (test_fstat): Don't print 'ret' in the fail path.
6815
6816 2017-05-18 Pedro Alves <palves@redhat.com>
6817
6818 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6819 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6820 (test_system, test_rename, test_unlink, test_time): Change
6821 prototypes.
6822 * gdb.base/fileio.exp (stop_msg): Adjust.
6823
6824 2017-05-18 Pedro Alves <palves@redhat.com>
6825
6826 * gdb.base/fileio.c (null_str): New global.
6827 (test_stat): Use it.
6828 * gdb.base/fileio.exp: Remove nowarnings.
6829
6830 2017-05-17 Yao Qi <yao.qi@linaro.org>
6831
6832 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6833
6834 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6835
6836 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6837 argument command.
6838 (top-level): Invoke test_set_inferior_tty.
6839
6840 2017-05-04 Pedro Alves <palves@redhat.com>
6841
6842 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6843 Add parens to print call for Python 3.
6844
6845 2017-05-03 Keith Seitz <keiths@redhat.com>
6846
6847 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6848 (main): Call it.
6849
6850 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6851
6852 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6853 to prev and next.
6854
6855 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6856
6857 * gdb.python/py-record-btrace.exp: Remove test for
6858 gdb.BtraceInstruction.error.
6859
6860 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6861
6862 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6863
6864 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6865
6866 * gdb.python/py-record-btrace-threads.c: New file.
6867 * gdb.python/py-record-btrace-threads.exp: New file.
6868
6869 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6870
6871 PR testsuite/8595
6872 * gdb.base/environ.exp: Make test available in all architectures.
6873 Move bits related to "info program" testing to
6874 gdb.base/info-program.exp. Rewrite tests to use the two new
6875 procedures mentione below.
6876 (test_set_show_env_var) New procedure.
6877 (test_set_show_env_var_equal): Likewise.
6878 * gdb.base/info-program.exp: New file.
6879
6880 2017-04-27 Keith Seitz <keiths@redhat.com>
6881
6882 * gdb.cp/oranking.cc (test15): New function.
6883 (main): Call test15 and declare additional variables for testing.
6884 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6885 "p foo101('abc')" tests.
6886 Add tests for cv qualifier overloads.
6887 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6888 "lvalue reference overload" test.
6889 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6890 "print value of f1 on Child&& in f2" test.
6891
6892 2017-04-19 Pedro Alves <palves@redhat.com>
6893
6894 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6895 procedure.
6896 (top level): Call it.
6897 * lib/gdb.exp (gdb_define_cmd): New procedure.
6898
6899 2017-04-12 Pedro Alves <palves@redhat.com>
6900
6901 PR gdb/21323
6902 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6903 (wchar): New global.
6904 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6905 (do_test_wide_char, wide_char_types_no_program, top level): Add
6906 wchar_t testing.
6907
6908 2017-04-12 Pedro Alves <palves@redhat.com>
6909
6910 PR c++/21323
6911 * gdb.cp/wide_char_types.c: New file.
6912 * gdb.cp/wide_char_types.exp: New file.
6913
6914 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6915
6916 PR gdb/21352
6917 * gdb.trace/tsv.exp: Add test for "tsave -r".
6918
6919 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6920
6921 * gdb.dlang/watch-loc.c: New file.
6922 * gdb.dlang/watch-loc.exp: New file.
6923
6924 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6925
6926 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6927
6928 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6929
6930 * gdb.arch/arc-analyze-prologue.S: New file.
6931 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6932
6933 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6934
6935 * gdb.arch/arc-decode-insn.S: New file.
6936 * gdb.arch/arc-decode-insn.exp: Likewise.
6937
6938 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6939
6940 PR tdep/20928
6941 * gdb.arch/sparc64-regs.exp: New file.
6942 * gdb.arch/sparc64-regs.S: Likewise.
6943
6944 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6945
6946 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6947 and memory view on Python 3.
6948
6949 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6950 Keith Seitz <keiths@redhat.com>
6951
6952 PR gdb/14441
6953 * gdb.cp/demangle.exp: Add rvalue reference tests.
6954 * gdb.cp/rvalue-ref-casts.cc: New file.
6955 * gdb.cp/rvalue-ref-casts.exp: New file.
6956 * gdb.cp/rvalue-ref-overload.cc: New file.
6957 * gdb.cp/rvalue-ref-overload.exp: New file.
6958 * gdb.cp/rvalue-ref-params.cc: New file.
6959 * gdb.cp/rvalue-ref-params.exp: New file.
6960 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6961 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6962 * gdb.cp/rvalue-ref-types.cc: New file.
6963 * gdb.cp/rvalue-ref-types.exp: New file.
6964 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6965 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6966
6967 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6968
6969 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6970 New procedure.
6971
6972 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6973
6974 * lib/mi-support.exp (mi_gdb_test): Add additional message
6975 for unexpected output.
6976
6977 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6978
6979 * gdb.base/examine-backward.c (Barrier): New character array
6980 constant, to ensure that TestStrings is preceded by a string
6981 terminator.
6982
6983 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6984
6985 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6986 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6987 and implicit pointer into such a location.
6988
6989 2017-03-16 Doug Evans <dje@google.com>
6990
6991 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6992
6993 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6994
6995 * gdb.cp/m-static.exp: Fix expectation for prototype of
6996 test5.single_constructor and single_constructor::single_constructor.
6997
6998 2017-03-16 Doug Evans <dje@google.com>
6999
7000 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7001 * gdb.guile/scm-lazy-string.c: New file.
7002 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7003 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7004 for pointer, array, typedef lazy strings.
7005
7006 2017-03-16 Doug Evans <dje@google.com>
7007
7008 PR python/17728, python/18439, python/18779
7009 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7010 * gdb.python/py-lazy-string.c (pointer): New typedef.
7011 (main): New locals ptr, array, typedef_ptr.
7012 * gdb.python/py-value.exp: Move lazy string tests to ...
7013 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7014 array, typedef lazy strings.
7015
7016 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7017
7018 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7019 Add optional 'test' parameter.
7020
7021 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7022
7023 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7024 Skip for versions of DejaGnu < 1.5.
7025
7026 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7027
7028 * lib/gdb.exp (dejagnu_version): New proc.
7029 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7030 Use dejagnu_version.
7031
7032 2017-03-10 Keith Seitz <keiths@redhat.com>
7033
7034 PR c++/8128
7035 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7036 type from destructor regexps.
7037 Add a branch which actually passes the test.
7038 Adjust "ptype t5i" test names.
7039
7040 2017-03-08 Pedro Alves <palves@redhat.com>
7041
7042 * gdb.base/step-over-exit.exp: Add explicit test message.
7043
7044 2017-03-08 Pedro Alves <palves@redhat.com>
7045
7046 PR gdb/18360
7047 * gdb.threads/interrupt-while-step-over.c: New file.
7048 * gdb.threads/interrupt-while-step-over.exp: New file.
7049
7050 2017-03-08 Pedro Alves <palves@redhat.com>
7051
7052 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7053 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7054
7055 2017-03-08 Pedro Alves <palves@redhat.com>
7056
7057 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7058 PKRU as not supported as a PASS.
7059
7060 2017-03-08 Pedro Alves <palves@redhat.com>
7061
7062 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7063 prefix instead of $binfile1/$binfile2.
7064 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7065 in test message.
7066 * gdb.python/py-completion.exp: Use "load python file" as test
7067 messages instead of unstable path names.
7068
7069 2017-03-08 Pedro Alves <palves@redhat.com>
7070 Jan Kratochvil <jan.kratochvil@redhat.com>
7071
7072 PR cli/21218
7073 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7074 New proc.
7075 (top level): Call it.
7076
7077 2017-03-08 Pedro Alves <palves@redhat.com>
7078
7079 PR tui/21216
7080 * gdb.tui/tui-nl-filtered-output.exp: New file.
7081
7082 2017-03-08 Pedro Alves <palves@redhat.com>
7083
7084 * gdb.base/completion.exp: Move TUI completion tests to ...
7085 * gdb.tui/completion.exp: ... this new file.
7086
7087 2017-03-08 Pedro Alves <palves@redhat.com>
7088
7089 * gdb.base/tui-disasm-long-lines.c,
7090 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7091 gdb.base/tui-layout.exp: Move to ...
7092 * gdb.tui/: ... this new directory.
7093
7094 2017-03-07 Pedro Alves <palves@redhat.com>
7095
7096 * gdb.base/tui-layout.c: New file.
7097 * gdb.base/tui-layout.exp: New file.
7098
7099 2017-03-07 Pedro Alves <palves@redhat.com>
7100
7101 * gdb.base/tui-layout.c: Rename to ...
7102 * gdb.base/tui-disasm-long-lines.c: ... this.
7103 * gdb.base/tui-layout.exp: Rename to ...
7104 * gdb.base/tui-disasm-long-lines.exp: ... this.
7105
7106 2017-03-07 Pedro Alves <palves@redhat.com>
7107
7108 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7109
7110 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7111
7112 * i386-mpx-call.c: New file.
7113 * i386-mpx-call.exp: New file.
7114
7115 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7116
7117 * gdb.arch/powerpc-power.exp: Delete test.
7118 * gdb.arch/powerpc-power.s: Likewise.
7119 * gdb.disasm/disassembler-options.exp: New test.
7120 * gdb.arch/powerpc-altivec.exp: Likewise.
7121 * gdb.arch/powerpc-altivec.s: Likewise.
7122 * gdb.arch/powerpc-altivec2.exp: Likewise.
7123 * gdb.arch/powerpc-altivec2.s: Likewise.
7124 * gdb.arch/powerpc-altivec3.exp: Likewise.
7125 * gdb.arch/powerpc-altivec3.s: Likewise.
7126 * gdb.arch/powerpc-power7.exp: Likewise.
7127 * gdb.arch/powerpc-power7.s: Likewise.
7128 * gdb.arch/powerpc-power8.exp: Likewise.
7129 * gdb.arch/powerpc-power8.s: Likewise.
7130 * gdb.arch/powerpc-power9.exp: Likewise.
7131 * gdb.arch/powerpc-power9.s: Likewise.
7132 * gdb.arch/powerpc-vsx.exp: Likewise.
7133 * gdb.arch/powerpc-vsx.s: Likewise.
7134 * gdb.arch/powerpc-vsx2.exp: Likewise.
7135 * gdb.arch/powerpc-vsx2.s: Likewise.
7136 * gdb.arch/powerpc-vsx3.exp: Likewise.
7137 * gdb.arch/powerpc-vsx3.s: Likewise.
7138 * gdb.arch/arm-disassembler-options.exp: Likewise.
7139 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7140 * gdb.arch/s390-disassembler-options.exp: Likewise.
7141
7142 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7143
7144 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7145 (check_supported_features): ... this. Changed return type to void.
7146 (supports_rdseed): New static global.
7147 (rdseed): Check supports_rdseed.
7148 (initialize): Call check_supported_features.
7149
7150 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7151
7152 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7153 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7154 and lqarx/stqcx.
7155 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7156 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7157
7158 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7159
7160 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7161 uppercase.
7162
7163 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7164
7165 * gdb.dwarf2/formdata16.c: New file.
7166 * gdb.dwarf2/formdata16.exp: New file.
7167 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7168
7169 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7170
7171 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7172 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7173 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7174 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7175 DW_AT_GNU_*.
7176
7177 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7178
7179 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7180
7181 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7182
7183 PR gdb/21164
7184 * gdb.base/maint.exp: Add testcases for when the commands do
7185 not have arguments.
7186
7187 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7188
7189 * gdb.cp/chained-calls.exp: Use p instead of P.
7190
7191 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7192
7193 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7194 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7195
7196 2017-02-14 Tom Tromey <tom@tromey.com>
7197
7198 PR python/13598:
7199 * gdb.python/py-events.exp: Add before_prompt event tests.
7200
7201 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7202
7203 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7204
7205 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7206
7207 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7208 (main): Call my_unique_function_name.
7209 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7210 completion of patterns with a single match.
7211 Add missing -re switches to gdb_test_multiple calls.
7212
7213 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7214
7215 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7216 return if core file is not recognized.
7217
7218 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7219
7220 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7221 and extra UIs.
7222
7223 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7224
7225 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7226 proc_with_prefix.
7227
7228 2017-02-10 Tom Tromey <tom@tromey.com>
7229
7230 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7231
7232 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
7233
7234 PR gdb/21122
7235 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7236
7237 2017-02-08 Jerome Guitton <guitton@adacore.com>
7238
7239 * gdb.base/define.exp: Add test for command abbreviations
7240 in define.
7241
7242 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
7243
7244 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7245 * gdb.reverse/insn-reverse-x86.c: New file.
7246
7247 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7248
7249 PR tdep/20936
7250 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7251
7252 2017-02-03 Tom Tromey <tom@tromey.com>
7253
7254 PR rust/21097:
7255 * gdb.rust/simple.exp: Add new tests.
7256
7257 2017-02-02 Pedro Alves <palves@redhat.com>
7258
7259 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7260 tests.
7261
7262 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7263
7264 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7265 taking a 2-byte value out of a 4-byte DWARF implicit value on
7266 big-endian targets.
7267 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7268 logic. Add test cases for DW_OP_implicit.
7269
7270 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7271
7272 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7273
7274 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7275
7276 * gdb.btrace/enable.exp: Call gdb_exit before
7277 skip_gdbserver_tests.
7278
7279 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7280
7281 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7282 GDBFLAGS.
7283
7284 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7285
7286 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7287 the test is skipped.
7288 * gdb.btrace/data.exp: Likewise.
7289 * gdb.btrace/delta.exp: Likewise.
7290 * gdb.btrace/dlopen.exp: Likewise.
7291 * gdb.btrace/enable-running.exp: Likewise.
7292 * gdb.btrace/enable.exp: Likewise.
7293 * gdb.btrace/exception.exp: Likewise.
7294 * gdb.btrace/function_call_history.exp: Likewise.
7295 * gdb.btrace/gcore.exp: Likewise.
7296 * gdb.btrace/instruction_history.exp: Likewise.
7297 * gdb.btrace/multi-thread-step.exp: Likewise.
7298 * gdb.btrace/nohist.exp: Likewise.
7299 * gdb.btrace/non-stop.exp: Likewise.
7300 * gdb.btrace/reconnect.exp: Likewise.
7301 * gdb.btrace/record_goto-step.exp: Likewise.
7302 * gdb.btrace/record_goto.exp: Likewise.
7303 * gdb.btrace/rn-dl-bind.exp: Likewise.
7304 * gdb.btrace/segv.exp: Likewise.
7305 * gdb.btrace/step.exp: Likewise.
7306 * gdb.btrace/stepi.exp: Likewise.
7307 * gdb.btrace/tailcall-only.exp: Likewise.
7308 * gdb.btrace/tailcall.exp: Likewise.
7309 * gdb.btrace/tsx.exp: Likewise.
7310 * gdb.btrace/unknown_functions.exp: Likewise.
7311 * gdb.btrace/vdso.exp: Likewise.
7312
7313 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7314
7315 * gdb.btrace/enable-running.c: New.
7316 * gdb.btrace/enable-running.exp: New.
7317
7318 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7319
7320 * gdb.arch/amd64-gs_base.c: New file.
7321 * gdb.arch/amd64-gs_base.exp: New file.
7322
7323 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7324
7325 * lib/memory.exp: Remove spurious empty newlines.
7326
7327 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7328
7329 * gdb.python/py-bad-printers.exp: Load python file using "source".
7330 * gdb.python/py-events.exp: Likewise.
7331 * gdb.python/py-evsignal.exp: Likewise.
7332 * gdb.python/py-evthreads.exp: Likewise.
7333 * gdb.python/py-frame-args.exp: Likewise.
7334 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7335 * gdb.python/py-framefilter-mi.exp: Likewise.
7336 * gdb.python/py-framefilter.exp: Likewise.
7337 * gdb.python/py-mi.exp: Likewise.
7338 * gdb.python/py-pp-maint.exp: Likewise.
7339 * gdb.python/py-pp-registration.exp: Likewise.
7340 * gdb.python/py-prettyprint.exp: Likewise.
7341 (run_lang_tests): Likewise.
7342 * gdb.python/py-typeprint.exp: Likewise.
7343
7344 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7345
7346 * lib/memory.exp: New file.
7347 * lib/gdb.exp: Load memory.exp.
7348 * gdb.base/memattr.exp (delete_memory): Move proc to
7349 lib/memory.exp and rename to delete_memory_regions.
7350 Replace delete_memory with delete_memory_regions.
7351 Cleanup memory regions before tests.
7352 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7353 before tests.
7354
7355 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7356
7357 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7358 files.
7359 (initialize): New function conditionally defined.
7360 (testcases): Move within conditional block.
7361 (main): Call initialize.
7362 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7363 of gdb.reverse/insn-reverse.c.
7364 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7365 gdb.reverse/insn-reverse.c.
7366
7367 2017-01-26 Yao Qi <yao.qi@linaro.org>
7368
7369 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7370 disassemble on address 0.
7371
7372 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7373 Yao Qi <yao.qi@linaro.org>
7374
7375 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7376 * gdb.dwarf2/implptr-64bit.S: Remove.
7377 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7378 variables in caller's context. Add DW_OP_implicit_value.
7379
7380 2017-01-25 Yao Qi <yao.qi@linaro.org>
7381
7382 * lib/dwarf.exp (Dwarf::_location): Handle
7383 DW_OP_GNU_implicit_pointer with proper size.
7384
7385 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7386
7387 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7388 and add untested calls.
7389
7390 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7391
7392 * gdb.python/python.exp: Check line number against what GDB thinks
7393 the line number is for func1.
7394
7395 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7396
7397 * gdb.dlang/debug-expr.exp: New file.
7398
7399 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
7400
7401 Fix test names for the following files:
7402
7403 * gdb.ada/exec_changed.exp
7404 * gdb.ada/info_types.exp
7405 * gdb.arch/aarch64-atomic-inst.exp
7406 * gdb.arch/aarch64-fp.exp
7407 * gdb.arch/altivec-abi.exp
7408 * gdb.arch/altivec-regs.exp
7409 * gdb.arch/amd64-byte.exp
7410 * gdb.arch/amd64-disp-step.exp
7411 * gdb.arch/amd64-dword.exp
7412 * gdb.arch/amd64-entry-value-inline.exp
7413 * gdb.arch/amd64-entry-value-param.exp
7414 * gdb.arch/amd64-entry-value-paramref.exp
7415 * gdb.arch/amd64-entry-value.exp
7416 * gdb.arch/amd64-i386-address.exp
7417 * gdb.arch/amd64-invalid-stack-middle.exp
7418 * gdb.arch/amd64-invalid-stack-top.exp
7419 * gdb.arch/amd64-optimout-repeat.exp
7420 * gdb.arch/amd64-prologue-skip.exp
7421 * gdb.arch/amd64-prologue-xmm.exp
7422 * gdb.arch/amd64-stap-special-operands.exp
7423 * gdb.arch/amd64-stap-wrong-subexp.exp
7424 * gdb.arch/amd64-tailcall-cxx.exp
7425 * gdb.arch/amd64-tailcall-noret.exp
7426 * gdb.arch/amd64-tailcall-ret.exp
7427 * gdb.arch/amd64-tailcall-self.exp
7428 * gdb.arch/amd64-word.exp
7429 * gdb.arch/arm-bl-branch-dest.exp
7430 * gdb.arch/arm-disp-step.exp
7431 * gdb.arch/arm-neon.exp
7432 * gdb.arch/arm-single-step-kernel-helper.exp
7433 * gdb.arch/avr-flash-qualifier.exp
7434 * gdb.arch/disp-step-insn-reloc.exp
7435 * gdb.arch/e500-abi.exp
7436 * gdb.arch/e500-regs.exp
7437 * gdb.arch/ftrace-insn-reloc.exp
7438 * gdb.arch/i386-avx512.exp
7439 * gdb.arch/i386-bp_permanent.exp
7440 * gdb.arch/i386-byte.exp
7441 * gdb.arch/i386-cfi-notcurrent.exp
7442 * gdb.arch/i386-disp-step.exp
7443 * gdb.arch/i386-dr3-watch.exp
7444 * gdb.arch/i386-float.exp
7445 * gdb.arch/i386-gnu-cfi.exp
7446 * gdb.arch/i386-mpx-map.exp
7447 * gdb.arch/i386-mpx-sigsegv.exp
7448 * gdb.arch/i386-mpx-simple_segv.exp
7449 * gdb.arch/i386-mpx.exp
7450 * gdb.arch/i386-permbkpt.exp
7451 * gdb.arch/i386-prologue.exp
7452 * gdb.arch/i386-signal.exp
7453 * gdb.arch/i386-size-overlap.exp
7454 * gdb.arch/i386-unwind.exp
7455 * gdb.arch/i386-word.exp
7456 * gdb.arch/mips-fcr.exp
7457 * gdb.arch/powerpc-d128-regs.exp
7458 * gdb.arch/powerpc-stackless.exp
7459 * gdb.arch/ppc64-atomic-inst.exp
7460 * gdb.arch/s390-stackless.exp
7461 * gdb.arch/s390-tdbregs.exp
7462 * gdb.arch/s390-vregs.exp
7463 * gdb.arch/sparc-sysstep.exp
7464 * gdb.arch/thumb-bx-pc.exp
7465 * gdb.arch/thumb-singlestep.exp
7466 * gdb.arch/thumb2-it.exp
7467 * gdb.arch/vsx-regs.exp
7468 * gdb.asm/asm-source.exp
7469 * gdb.base/a2-run.exp
7470 * gdb.base/advance.exp
7471 * gdb.base/all-bin.exp
7472 * gdb.base/anon.exp
7473 * gdb.base/args.exp
7474 * gdb.base/arithmet.exp
7475 * gdb.base/async-shell.exp
7476 * gdb.base/async.exp
7477 * gdb.base/attach-pie-noexec.exp
7478 * gdb.base/attach-twice.exp
7479 * gdb.base/auto-load.exp
7480 * gdb.base/bang.exp
7481 * gdb.base/bitfields.exp
7482 * gdb.base/break-always.exp
7483 * gdb.base/break-caller-line.exp
7484 * gdb.base/break-entry.exp
7485 * gdb.base/break-inline.exp
7486 * gdb.base/break-on-linker-gcd-function.exp
7487 * gdb.base/break-probes.exp
7488 * gdb.base/break.exp
7489 * gdb.base/breakpoint-shadow.exp
7490 * gdb.base/call-ar-st.exp
7491 * gdb.base/call-sc.exp
7492 * gdb.base/call-signal-resume.exp
7493 * gdb.base/call-strs.exp
7494 * gdb.base/callfuncs.exp
7495 * gdb.base/catch-fork-static.exp
7496 * gdb.base/catch-gdb-caused-signals.exp
7497 * gdb.base/catch-load.exp
7498 * gdb.base/catch-signal-fork.exp
7499 * gdb.base/catch-signal.exp
7500 * gdb.base/catch-syscall.exp
7501 * gdb.base/charset.exp
7502 * gdb.base/checkpoint.exp
7503 * gdb.base/chng-syms.exp
7504 * gdb.base/code-expr.exp
7505 * gdb.base/code_elim.exp
7506 * gdb.base/commands.exp
7507 * gdb.base/completion.exp
7508 * gdb.base/complex.exp
7509 * gdb.base/cond-expr.exp
7510 * gdb.base/condbreak.exp
7511 * gdb.base/consecutive.exp
7512 * gdb.base/continue-all-already-running.exp
7513 * gdb.base/coredump-filter.exp
7514 * gdb.base/corefile.exp
7515 * gdb.base/dbx.exp
7516 * gdb.base/debug-expr.exp
7517 * gdb.base/define.exp
7518 * gdb.base/del.exp
7519 * gdb.base/disabled-location.exp
7520 * gdb.base/disasm-end-cu.exp
7521 * gdb.base/disasm-optim.exp
7522 * gdb.base/display.exp
7523 * gdb.base/duplicate-bp.exp
7524 * gdb.base/ena-dis-br.exp
7525 * gdb.base/ending-run.exp
7526 * gdb.base/enumval.exp
7527 * gdb.base/environ.exp
7528 * gdb.base/eu-strip-infcall.exp
7529 * gdb.base/eval-avoid-side-effects.exp
7530 * gdb.base/eval-skip.exp
7531 * gdb.base/exitsignal.exp
7532 * gdb.base/expand-psymtabs.exp
7533 * gdb.base/filesym.exp
7534 * gdb.base/find-unmapped.exp
7535 * gdb.base/finish.exp
7536 * gdb.base/float.exp
7537 * gdb.base/foll-exec-mode.exp
7538 * gdb.base/foll-exec.exp
7539 * gdb.base/foll-fork.exp
7540 * gdb.base/fortran-sym-case.exp
7541 * gdb.base/freebpcmd.exp
7542 * gdb.base/func-ptr.exp
7543 * gdb.base/func-ptrs.exp
7544 * gdb.base/funcargs.exp
7545 * gdb.base/gcore-buffer-overflow.exp
7546 * gdb.base/gcore-relro-pie.exp
7547 * gdb.base/gcore-relro.exp
7548 * gdb.base/gcore.exp
7549 * gdb.base/gdb1090.exp
7550 * gdb.base/gdb11530.exp
7551 * gdb.base/gdb11531.exp
7552 * gdb.base/gdb1821.exp
7553 * gdb.base/gdbindex-stabs.exp
7554 * gdb.base/gdbvars.exp
7555 * gdb.base/hbreak.exp
7556 * gdb.base/hbreak2.exp
7557 * gdb.base/included.exp
7558 * gdb.base/infcall-input.exp
7559 * gdb.base/inferior-died.exp
7560 * gdb.base/infnan.exp
7561 * gdb.base/info-macros.exp
7562 * gdb.base/info-os.exp
7563 * gdb.base/info-proc.exp
7564 * gdb.base/info-shared.exp
7565 * gdb.base/info-target.exp
7566 * gdb.base/infoline.exp
7567 * gdb.base/interp.exp
7568 * gdb.base/interrupt.exp
7569 * gdb.base/jit-reader.exp
7570 * gdb.base/jit-simple.exp
7571 * gdb.base/kill-after-signal.exp
7572 * gdb.base/kill-detach-inferiors-cmd.exp
7573 * gdb.base/label.exp
7574 * gdb.base/langs.exp
7575 * gdb.base/ldbl_e308.exp
7576 * gdb.base/line-symtabs.exp
7577 * gdb.base/linespecs.exp
7578 * gdb.base/list.exp
7579 * gdb.base/long_long.exp
7580 * gdb.base/longest-types.exp
7581 * gdb.base/maint.exp
7582 * gdb.base/max-value-size.exp
7583 * gdb.base/memattr.exp
7584 * gdb.base/mips_pro.exp
7585 * gdb.base/morestack.exp
7586 * gdb.base/moribund-step.exp
7587 * gdb.base/multi-forks.exp
7588 * gdb.base/nested-addr.exp
7589 * gdb.base/nextoverexit.exp
7590 * gdb.base/noreturn-finish.exp
7591 * gdb.base/noreturn-return.exp
7592 * gdb.base/nostdlib.exp
7593 * gdb.base/offsets.exp
7594 * gdb.base/opaque.exp
7595 * gdb.base/pc-fp.exp
7596 * gdb.base/permissions.exp
7597 * gdb.base/print-symbol-loading.exp
7598 * gdb.base/prologue-include.exp
7599 * gdb.base/psymtab.exp
7600 * gdb.base/ptype.exp
7601 * gdb.base/random-signal.exp
7602 * gdb.base/randomize.exp
7603 * gdb.base/range-stepping.exp
7604 * gdb.base/readline-ask.exp
7605 * gdb.base/recpar.exp
7606 * gdb.base/recurse.exp
7607 * gdb.base/relational.exp
7608 * gdb.base/restore.exp
7609 * gdb.base/return-nodebug.exp
7610 * gdb.base/return.exp
7611 * gdb.base/run-after-attach.exp
7612 * gdb.base/save-bp.exp
7613 * gdb.base/scope.exp
7614 * gdb.base/sect-cmd.exp
7615 * gdb.base/set-lang-auto.exp
7616 * gdb.base/set-noassign.exp
7617 * gdb.base/setvar.exp
7618 * gdb.base/sigall.exp
7619 * gdb.base/sigbpt.exp
7620 * gdb.base/siginfo-addr.exp
7621 * gdb.base/siginfo-infcall.exp
7622 * gdb.base/siginfo-obj.exp
7623 * gdb.base/siginfo.exp
7624 * gdb.base/signals-state-child.exp
7625 * gdb.base/signest.exp
7626 * gdb.base/sigstep.exp
7627 * gdb.base/sizeof.exp
7628 * gdb.base/skip.exp
7629 * gdb.base/solib-corrupted.exp
7630 * gdb.base/solib-nodir.exp
7631 * gdb.base/solib-search.exp
7632 * gdb.base/stack-checking.exp
7633 * gdb.base/stale-infcall.exp
7634 * gdb.base/stap-probe.exp
7635 * gdb.base/start.exp
7636 * gdb.base/step-break.exp
7637 * gdb.base/step-bt.exp
7638 * gdb.base/step-line.exp
7639 * gdb.base/step-over-exit.exp
7640 * gdb.base/step-over-syscall.exp
7641 * gdb.base/step-resume-infcall.exp
7642 * gdb.base/step-test.exp
7643 * gdb.base/store.exp
7644 * gdb.base/structs3.exp
7645 * gdb.base/sym-file.exp
7646 * gdb.base/symbol-without-target_section.exp
7647 * gdb.base/term.exp
7648 * gdb.base/testenv.exp
7649 * gdb.base/ui-redirect.exp
7650 * gdb.base/until.exp
7651 * gdb.base/unwindonsignal.exp
7652 * gdb.base/value-double-free.exp
7653 * gdb.base/vla-datatypes.exp
7654 * gdb.base/vla-ptr.exp
7655 * gdb.base/vla-sideeffect.exp
7656 * gdb.base/volatile.exp
7657 * gdb.base/watch-cond-infcall.exp
7658 * gdb.base/watch-cond.exp
7659 * gdb.base/watch-non-mem.exp
7660 * gdb.base/watch-read.exp
7661 * gdb.base/watch-vfork.exp
7662 * gdb.base/watchpoint-cond-gone.exp
7663 * gdb.base/watchpoint-delete.exp
7664 * gdb.base/watchpoint-hw-hit-once.exp
7665 * gdb.base/watchpoint-hw.exp
7666 * gdb.base/watchpoint-stops-at-right-insn.exp
7667 * gdb.base/watchpoints.exp
7668 * gdb.base/wchar.exp
7669 * gdb.base/whatis-exp.exp
7670 * gdb.btrace/buffer-size.exp
7671 * gdb.btrace/data.exp
7672 * gdb.btrace/delta.exp
7673 * gdb.btrace/dlopen.exp
7674 * gdb.btrace/enable.exp
7675 * gdb.btrace/exception.exp
7676 * gdb.btrace/function_call_history.exp
7677 * gdb.btrace/gcore.exp
7678 * gdb.btrace/instruction_history.exp
7679 * gdb.btrace/nohist.exp
7680 * gdb.btrace/reconnect.exp
7681 * gdb.btrace/record_goto-step.exp
7682 * gdb.btrace/record_goto.exp
7683 * gdb.btrace/rn-dl-bind.exp
7684 * gdb.btrace/segv.exp
7685 * gdb.btrace/step.exp
7686 * gdb.btrace/stepi.exp
7687 * gdb.btrace/tailcall-only.exp
7688 * gdb.btrace/tailcall.exp
7689 * gdb.btrace/tsx.exp
7690 * gdb.btrace/unknown_functions.exp
7691 * gdb.btrace/vdso.exp
7692 * gdb.compile/compile-ifunc.exp
7693 * gdb.compile/compile-ops.exp
7694 * gdb.compile/compile-print.exp
7695 * gdb.compile/compile-setjmp.exp
7696 * gdb.cp/abstract-origin.exp
7697 * gdb.cp/ambiguous.exp
7698 * gdb.cp/annota2.exp
7699 * gdb.cp/annota3.exp
7700 * gdb.cp/anon-ns.exp
7701 * gdb.cp/anon-struct.exp
7702 * gdb.cp/anon-union.exp
7703 * gdb.cp/arg-reference.exp
7704 * gdb.cp/baseenum.exp
7705 * gdb.cp/bool.exp
7706 * gdb.cp/breakpoint.exp
7707 * gdb.cp/bs15503.exp
7708 * gdb.cp/call-c.exp
7709 * gdb.cp/casts.exp
7710 * gdb.cp/chained-calls.exp
7711 * gdb.cp/class2.exp
7712 * gdb.cp/classes.exp
7713 * gdb.cp/cmpd-minsyms.exp
7714 * gdb.cp/converts.exp
7715 * gdb.cp/cp-relocate.exp
7716 * gdb.cp/cpcompletion.exp
7717 * gdb.cp/cpexprs.exp
7718 * gdb.cp/cplabel.exp
7719 * gdb.cp/cplusfuncs.exp
7720 * gdb.cp/cpsizeof.exp
7721 * gdb.cp/ctti.exp
7722 * gdb.cp/derivation.exp
7723 * gdb.cp/destrprint.exp
7724 * gdb.cp/dispcxx.exp
7725 * gdb.cp/enum-class.exp
7726 * gdb.cp/exception.exp
7727 * gdb.cp/exceptprint.exp
7728 * gdb.cp/expand-psymtabs-cxx.exp
7729 * gdb.cp/expand-sals.exp
7730 * gdb.cp/extern-c.exp
7731 * gdb.cp/filename.exp
7732 * gdb.cp/formatted-ref.exp
7733 * gdb.cp/fpointer.exp
7734 * gdb.cp/gdb1355.exp
7735 * gdb.cp/gdb2495.exp
7736 * gdb.cp/hang.exp
7737 * gdb.cp/impl-this.exp
7738 * gdb.cp/infcall-dlopen.exp
7739 * gdb.cp/inherit.exp
7740 * gdb.cp/iostream.exp
7741 * gdb.cp/koenig.exp
7742 * gdb.cp/local.exp
7743 * gdb.cp/m-data.exp
7744 * gdb.cp/m-static.exp
7745 * gdb.cp/mb-ctor.exp
7746 * gdb.cp/mb-inline.exp
7747 * gdb.cp/mb-templates.exp
7748 * gdb.cp/member-name.exp
7749 * gdb.cp/member-ptr.exp
7750 * gdb.cp/meth-typedefs.exp
7751 * gdb.cp/method.exp
7752 * gdb.cp/method2.exp
7753 * gdb.cp/minsym-fallback.exp
7754 * gdb.cp/misc.exp
7755 * gdb.cp/namelessclass.exp
7756 * gdb.cp/namespace-enum.exp
7757 * gdb.cp/namespace-nested-import.exp
7758 * gdb.cp/namespace.exp
7759 * gdb.cp/nextoverthrow.exp
7760 * gdb.cp/no-dmgl-verbose.exp
7761 * gdb.cp/non-trivial-retval.exp
7762 * gdb.cp/noparam.exp
7763 * gdb.cp/nsdecl.exp
7764 * gdb.cp/nsimport.exp
7765 * gdb.cp/nsnested.exp
7766 * gdb.cp/nsnoimports.exp
7767 * gdb.cp/nsrecurs.exp
7768 * gdb.cp/nsstress.exp
7769 * gdb.cp/nsusing.exp
7770 * gdb.cp/operator.exp
7771 * gdb.cp/oranking.exp
7772 * gdb.cp/overload-const.exp
7773 * gdb.cp/overload.exp
7774 * gdb.cp/ovldbreak.exp
7775 * gdb.cp/ovsrch.exp
7776 * gdb.cp/paren-type.exp
7777 * gdb.cp/parse-lang.exp
7778 * gdb.cp/pass-by-ref.exp
7779 * gdb.cp/pr-1023.exp
7780 * gdb.cp/pr-1210.exp
7781 * gdb.cp/pr-574.exp
7782 * gdb.cp/pr10687.exp
7783 * gdb.cp/pr12028.exp
7784 * gdb.cp/pr17132.exp
7785 * gdb.cp/pr17494.exp
7786 * gdb.cp/pr9067.exp
7787 * gdb.cp/pr9167.exp
7788 * gdb.cp/pr9631.exp
7789 * gdb.cp/printmethod.exp
7790 * gdb.cp/psmang.exp
7791 * gdb.cp/psymtab-parameter.exp
7792 * gdb.cp/ptype-cv-cp.exp
7793 * gdb.cp/ptype-flags.exp
7794 * gdb.cp/re-set-overloaded.exp
7795 * gdb.cp/ref-types.exp
7796 * gdb.cp/rtti.exp
7797 * gdb.cp/scope-err.exp
7798 * gdb.cp/shadow.exp
7799 * gdb.cp/smartp.exp
7800 * gdb.cp/static-method.exp
7801 * gdb.cp/static-print-quit.exp
7802 * gdb.cp/temargs.exp
7803 * gdb.cp/templates.exp
7804 * gdb.cp/try_catch.exp
7805 * gdb.cp/typedef-operator.exp
7806 * gdb.cp/typeid.exp
7807 * gdb.cp/userdef.exp
7808 * gdb.cp/using-crash.exp
7809 * gdb.cp/var-tag.exp
7810 * gdb.cp/virtbase.exp
7811 * gdb.cp/virtfunc.exp
7812 * gdb.cp/virtfunc2.exp
7813 * gdb.cp/vla-cxx.exp
7814 * gdb.disasm/t01_mov.exp
7815 * gdb.disasm/t02_mova.exp
7816 * gdb.disasm/t03_add.exp
7817 * gdb.disasm/t04_sub.exp
7818 * gdb.disasm/t05_cmp.exp
7819 * gdb.disasm/t06_ari2.exp
7820 * gdb.disasm/t07_ari3.exp
7821 * gdb.disasm/t08_or.exp
7822 * gdb.disasm/t09_xor.exp
7823 * gdb.disasm/t10_and.exp
7824 * gdb.disasm/t11_logs.exp
7825 * gdb.disasm/t12_bit.exp
7826 * gdb.disasm/t13_otr.exp
7827 * gdb.dlang/circular.exp
7828 * gdb.dwarf2/arr-stride.exp
7829 * gdb.dwarf2/arr-subrange.exp
7830 * gdb.dwarf2/atomic-type.exp
7831 * gdb.dwarf2/bad-regnum.exp
7832 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7833 * gdb.dwarf2/callframecfa.exp
7834 * gdb.dwarf2/clztest.exp
7835 * gdb.dwarf2/corrupt.exp
7836 * gdb.dwarf2/data-loc.exp
7837 * gdb.dwarf2/dup-psym.exp
7838 * gdb.dwarf2/dw2-anon-mptr.exp
7839 * gdb.dwarf2/dw2-anonymous-func.exp
7840 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7841 * gdb.dwarf2/dw2-bad-unresolved.exp
7842 * gdb.dwarf2/dw2-basic.exp
7843 * gdb.dwarf2/dw2-canonicalize-type.exp
7844 * gdb.dwarf2/dw2-case-insensitive.exp
7845 * gdb.dwarf2/dw2-common-block.exp
7846 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7847 * gdb.dwarf2/dw2-compressed.exp
7848 * gdb.dwarf2/dw2-const.exp
7849 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7850 * gdb.dwarf2/dw2-cu-size.exp
7851 * gdb.dwarf2/dw2-dup-frame.exp
7852 * gdb.dwarf2/dw2-entry-value.exp
7853 * gdb.dwarf2/dw2-icycle.exp
7854 * gdb.dwarf2/dw2-ifort-parameter.exp
7855 * gdb.dwarf2/dw2-inline-break.exp
7856 * gdb.dwarf2/dw2-inline-param.exp
7857 * gdb.dwarf2/dw2-intercu.exp
7858 * gdb.dwarf2/dw2-intermix.exp
7859 * gdb.dwarf2/dw2-lexical-block-bare.exp
7860 * gdb.dwarf2/dw2-linkage-name-trust.exp
7861 * gdb.dwarf2/dw2-minsym-in-cu.exp
7862 * gdb.dwarf2/dw2-noloc.exp
7863 * gdb.dwarf2/dw2-op-call.exp
7864 * gdb.dwarf2/dw2-op-out-param.exp
7865 * gdb.dwarf2/dw2-opt-structptr.exp
7866 * gdb.dwarf2/dw2-param-error.exp
7867 * gdb.dwarf2/dw2-producer.exp
7868 * gdb.dwarf2/dw2-ranges-base.exp
7869 * gdb.dwarf2/dw2-ref-missing-frame.exp
7870 * gdb.dwarf2/dw2-reg-undefined.exp
7871 * gdb.dwarf2/dw2-regno-invalid.exp
7872 * gdb.dwarf2/dw2-restore.exp
7873 * gdb.dwarf2/dw2-restrict.exp
7874 * gdb.dwarf2/dw2-single-line-discriminators.exp
7875 * gdb.dwarf2/dw2-strp.exp
7876 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7877 * gdb.dwarf2/dw2-unresolved.exp
7878 * gdb.dwarf2/dw2-var-zero-addr.exp
7879 * gdb.dwarf2/dw4-sig-types.exp
7880 * gdb.dwarf2/dwz.exp
7881 * gdb.dwarf2/dynarr-ptr.exp
7882 * gdb.dwarf2/enum-type.exp
7883 * gdb.dwarf2/gdb-index.exp
7884 * gdb.dwarf2/implptr-64bit.exp
7885 * gdb.dwarf2/implptr-optimized-out.exp
7886 * gdb.dwarf2/implptr.exp
7887 * gdb.dwarf2/implref-array.exp
7888 * gdb.dwarf2/implref-const.exp
7889 * gdb.dwarf2/implref-global.exp
7890 * gdb.dwarf2/implref-struct.exp
7891 * gdb.dwarf2/mac-fileno.exp
7892 * gdb.dwarf2/main-subprogram.exp
7893 * gdb.dwarf2/member-ptr-forwardref.exp
7894 * gdb.dwarf2/method-ptr.exp
7895 * gdb.dwarf2/missing-sig-type.exp
7896 * gdb.dwarf2/nonvar-access.exp
7897 * gdb.dwarf2/opaque-type-lookup.exp
7898 * gdb.dwarf2/pieces-optimized-out.exp
7899 * gdb.dwarf2/pieces.exp
7900 * gdb.dwarf2/pr10770.exp
7901 * gdb.dwarf2/pr13961.exp
7902 * gdb.dwarf2/staticvirtual.exp
7903 * gdb.dwarf2/subrange.exp
7904 * gdb.dwarf2/symtab-producer.exp
7905 * gdb.dwarf2/trace-crash.exp
7906 * gdb.dwarf2/typeddwarf.exp
7907 * gdb.dwarf2/valop.exp
7908 * gdb.dwarf2/watch-notconst.exp
7909 * gdb.fortran/array-element.exp
7910 * gdb.fortran/charset.exp
7911 * gdb.fortran/common-block.exp
7912 * gdb.fortran/complex.exp
7913 * gdb.fortran/derived-type-function.exp
7914 * gdb.fortran/derived-type.exp
7915 * gdb.fortran/logical.exp
7916 * gdb.fortran/module.exp
7917 * gdb.fortran/multi-dim.exp
7918 * gdb.fortran/nested-funcs.exp
7919 * gdb.fortran/print-formatted.exp
7920 * gdb.fortran/subarray.exp
7921 * gdb.fortran/vla-alloc-assoc.exp
7922 * gdb.fortran/vla-datatypes.exp
7923 * gdb.fortran/vla-history.exp
7924 * gdb.fortran/vla-ptr-info.exp
7925 * gdb.fortran/vla-ptype-sub.exp
7926 * gdb.fortran/vla-ptype.exp
7927 * gdb.fortran/vla-sizeof.exp
7928 * gdb.fortran/vla-type.exp
7929 * gdb.fortran/vla-value-sub-arbitrary.exp
7930 * gdb.fortran/vla-value-sub-finish.exp
7931 * gdb.fortran/vla-value-sub.exp
7932 * gdb.fortran/vla-value.exp
7933 * gdb.fortran/whatis_type.exp
7934 * gdb.go/chan.exp
7935 * gdb.go/handcall.exp
7936 * gdb.go/hello.exp
7937 * gdb.go/integers.exp
7938 * gdb.go/methods.exp
7939 * gdb.go/package.exp
7940 * gdb.go/strings.exp
7941 * gdb.go/types.exp
7942 * gdb.go/unsafe.exp
7943 * gdb.guile/scm-arch.exp
7944 * gdb.guile/scm-block.exp
7945 * gdb.guile/scm-breakpoint.exp
7946 * gdb.guile/scm-cmd.exp
7947 * gdb.guile/scm-disasm.exp
7948 * gdb.guile/scm-equal.exp
7949 * gdb.guile/scm-frame-args.exp
7950 * gdb.guile/scm-frame-inline.exp
7951 * gdb.guile/scm-frame.exp
7952 * gdb.guile/scm-iterator.exp
7953 * gdb.guile/scm-math.exp
7954 * gdb.guile/scm-objfile.exp
7955 * gdb.guile/scm-ports.exp
7956 * gdb.guile/scm-symbol.exp
7957 * gdb.guile/scm-symtab.exp
7958 * gdb.guile/scm-value-cc.exp
7959 * gdb.guile/types-module.exp
7960 * gdb.linespec/break-ask.exp
7961 * gdb.linespec/cpexplicit.exp
7962 * gdb.linespec/explicit.exp
7963 * gdb.linespec/keywords.exp
7964 * gdb.linespec/linespec.exp
7965 * gdb.linespec/ls-dollar.exp
7966 * gdb.linespec/ls-errs.exp
7967 * gdb.linespec/skip-two.exp
7968 * gdb.linespec/thread.exp
7969 * gdb.mi/mi-async.exp
7970 * gdb.mi/mi-basics.exp
7971 * gdb.mi/mi-break.exp
7972 * gdb.mi/mi-catch-load.exp
7973 * gdb.mi/mi-cli.exp
7974 * gdb.mi/mi-cmd-param-changed.exp
7975 * gdb.mi/mi-console.exp
7976 * gdb.mi/mi-detach.exp
7977 * gdb.mi/mi-disassemble.exp
7978 * gdb.mi/mi-eval.exp
7979 * gdb.mi/mi-file-transfer.exp
7980 * gdb.mi/mi-file.exp
7981 * gdb.mi/mi-fill-memory.exp
7982 * gdb.mi/mi-inheritance-syntax-error.exp
7983 * gdb.mi/mi-linespec-err-cp.exp
7984 * gdb.mi/mi-logging.exp
7985 * gdb.mi/mi-memory-changed.exp
7986 * gdb.mi/mi-read-memory.exp
7987 * gdb.mi/mi-record-changed.exp
7988 * gdb.mi/mi-reg-undefined.exp
7989 * gdb.mi/mi-regs.exp
7990 * gdb.mi/mi-return.exp
7991 * gdb.mi/mi-reverse.exp
7992 * gdb.mi/mi-simplerun.exp
7993 * gdb.mi/mi-solib.exp
7994 * gdb.mi/mi-stack.exp
7995 * gdb.mi/mi-stepi.exp
7996 * gdb.mi/mi-syn-frame.exp
7997 * gdb.mi/mi-until.exp
7998 * gdb.mi/mi-var-block.exp
7999 * gdb.mi/mi-var-child.exp
8000 * gdb.mi/mi-var-cmd.exp
8001 * gdb.mi/mi-var-cp.exp
8002 * gdb.mi/mi-var-display.exp
8003 * gdb.mi/mi-var-invalidate.exp
8004 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8005 * gdb.mi/mi-vla-fortran.exp
8006 * gdb.mi/mi-watch.exp
8007 * gdb.mi/mi2-var-child.exp
8008 * gdb.mi/user-selected-context-sync.exp
8009 * gdb.modula2/unbounded-array.exp
8010 * gdb.multi/dummy-frame-restore.exp
8011 * gdb.multi/multi-arch-exec.exp
8012 * gdb.multi/multi-arch.exp
8013 * gdb.multi/tids.exp
8014 * gdb.multi/watchpoint-multi.exp
8015 * gdb.opencl/callfuncs.exp
8016 * gdb.opencl/convs_casts.exp
8017 * gdb.opencl/datatypes.exp
8018 * gdb.opencl/operators.exp
8019 * gdb.opencl/vec_comps.exp
8020 * gdb.opt/clobbered-registers-O2.exp
8021 * gdb.opt/inline-break.exp
8022 * gdb.opt/inline-bt.exp
8023 * gdb.opt/inline-cmds.exp
8024 * gdb.opt/inline-locals.exp
8025 * gdb.pascal/case-insensitive-symbols.exp
8026 * gdb.pascal/floats.exp
8027 * gdb.pascal/gdb11492.exp
8028 * gdb.python/lib-types.exp
8029 * gdb.python/py-arch.exp
8030 * gdb.python/py-as-string.exp
8031 * gdb.python/py-bad-printers.exp
8032 * gdb.python/py-block.exp
8033 * gdb.python/py-breakpoint-create-fail.exp
8034 * gdb.python/py-breakpoint.exp
8035 * gdb.python/py-caller-is.exp
8036 * gdb.python/py-cmd.exp
8037 * gdb.python/py-explore-cc.exp
8038 * gdb.python/py-explore.exp
8039 * gdb.python/py-finish-breakpoint.exp
8040 * gdb.python/py-finish-breakpoint2.exp
8041 * gdb.python/py-frame-args.exp
8042 * gdb.python/py-frame-inline.exp
8043 * gdb.python/py-frame.exp
8044 * gdb.python/py-framefilter-mi.exp
8045 * gdb.python/py-infthread.exp
8046 * gdb.python/py-lazy-string.exp
8047 * gdb.python/py-linetable.exp
8048 * gdb.python/py-mi-events.exp
8049 * gdb.python/py-mi-objfile.exp
8050 * gdb.python/py-mi.exp
8051 * gdb.python/py-objfile.exp
8052 * gdb.python/py-pp-integral.exp
8053 * gdb.python/py-pp-maint.exp
8054 * gdb.python/py-pp-re-notag.exp
8055 * gdb.python/py-pp-registration.exp
8056 * gdb.python/py-recurse-unwind.exp
8057 * gdb.python/py-strfns.exp
8058 * gdb.python/py-symbol.exp
8059 * gdb.python/py-symtab.exp
8060 * gdb.python/py-sync-interp.exp
8061 * gdb.python/py-typeprint.exp
8062 * gdb.python/py-unwind-maint.exp
8063 * gdb.python/py-unwind.exp
8064 * gdb.python/py-value-cc.exp
8065 * gdb.python/py-xmethods.exp
8066 * gdb.reverse/amd64-tailcall-reverse.exp
8067 * gdb.reverse/break-precsave.exp
8068 * gdb.reverse/break-reverse.exp
8069 * gdb.reverse/consecutive-precsave.exp
8070 * gdb.reverse/consecutive-reverse.exp
8071 * gdb.reverse/finish-precsave.exp
8072 * gdb.reverse/finish-reverse-bkpt.exp
8073 * gdb.reverse/finish-reverse.exp
8074 * gdb.reverse/fstatat-reverse.exp
8075 * gdb.reverse/getresuid-reverse.exp
8076 * gdb.reverse/i386-precsave.exp
8077 * gdb.reverse/i386-reverse.exp
8078 * gdb.reverse/i386-sse-reverse.exp
8079 * gdb.reverse/i387-env-reverse.exp
8080 * gdb.reverse/i387-stack-reverse.exp
8081 * gdb.reverse/insn-reverse.exp
8082 * gdb.reverse/machinestate-precsave.exp
8083 * gdb.reverse/machinestate.exp
8084 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8085 * gdb.reverse/pipe-reverse.exp
8086 * gdb.reverse/readv-reverse.exp
8087 * gdb.reverse/recvmsg-reverse.exp
8088 * gdb.reverse/rerun-prec.exp
8089 * gdb.reverse/s390-mvcle.exp
8090 * gdb.reverse/step-precsave.exp
8091 * gdb.reverse/step-reverse.exp
8092 * gdb.reverse/time-reverse.exp
8093 * gdb.reverse/until-precsave.exp
8094 * gdb.reverse/until-reverse.exp
8095 * gdb.reverse/waitpid-reverse.exp
8096 * gdb.reverse/watch-precsave.exp
8097 * gdb.reverse/watch-reverse.exp
8098 * gdb.rust/generics.exp
8099 * gdb.rust/methods.exp
8100 * gdb.rust/modules.exp
8101 * gdb.rust/simple.exp
8102 * gdb.server/connect-with-no-symbol-file.exp
8103 * gdb.server/ext-attach.exp
8104 * gdb.server/ext-restart.exp
8105 * gdb.server/ext-wrapper.exp
8106 * gdb.server/file-transfer.exp
8107 * gdb.server/server-exec-info.exp
8108 * gdb.server/server-kill.exp
8109 * gdb.server/server-mon.exp
8110 * gdb.server/wrapper.exp
8111 * gdb.stabs/exclfwd.exp
8112 * gdb.stabs/gdb11479.exp
8113 * gdb.threads/clone-new-thread-event.exp
8114 * gdb.threads/corethreads.exp
8115 * gdb.threads/current-lwp-dead.exp
8116 * gdb.threads/dlopen-libpthread.exp
8117 * gdb.threads/gcore-thread.exp
8118 * gdb.threads/sigstep-threads.exp
8119 * gdb.threads/watchpoint-fork.exp
8120 * gdb.trace/actions-changed.exp
8121 * gdb.trace/backtrace.exp
8122 * gdb.trace/change-loc.exp
8123 * gdb.trace/circ.exp
8124 * gdb.trace/collection.exp
8125 * gdb.trace/disconnected-tracing.exp
8126 * gdb.trace/ftrace.exp
8127 * gdb.trace/mi-trace-frame-collected.exp
8128 * gdb.trace/mi-trace-unavailable.exp
8129 * gdb.trace/mi-traceframe-changed.exp
8130 * gdb.trace/mi-tsv-changed.exp
8131 * gdb.trace/no-attach-trace.exp
8132 * gdb.trace/passc-dyn.exp
8133 * gdb.trace/qtro.exp
8134 * gdb.trace/range-stepping.exp
8135 * gdb.trace/read-memory.exp
8136 * gdb.trace/save-trace.exp
8137 * gdb.trace/signal.exp
8138 * gdb.trace/status-stop.exp
8139 * gdb.trace/tfile.exp
8140 * gdb.trace/trace-break.exp
8141 * gdb.trace/trace-buffer-size.exp
8142 * gdb.trace/trace-condition.exp
8143 * gdb.trace/tracefile-pseudo-reg.exp
8144 * gdb.trace/tstatus.exp
8145 * gdb.trace/unavailable.exp
8146 * gdb.trace/while-dyn.exp
8147 * gdb.trace/while-stepping.exp
8148
8149 2016-12-22 Doug Evans <xdje42@gmail.com>
8150
8151 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8152 and msymbols.
8153
8154 2016-12-19 Yao Qi <yao.qi@linaro.org>
8155
8156 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8157 (test_with_self): Don't call do_steps_and_nexts, and remove
8158 code about stepping into xmalloc.
8159
8160 2016-12-09 Yao Qi <yao.qi@linaro.org>
8161
8162 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8163
8164 2016-12-09 Yao Qi <yao.qi@linaro.org>
8165
8166 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8167
8168 2016-12-09 Pedro Alves <palves@redhat.com>
8169
8170 * gdb.base/all-architectures-0.exp: New file.
8171 * gdb.base/all-architectures-1.exp: New file.
8172 * gdb.base/all-architectures-2.exp: New file.
8173 * gdb.base/all-architectures-3.exp: New file.
8174 * gdb.base/all-architectures-4.exp: New file.
8175 * gdb.base/all-architectures-5.exp: New file.
8176 * gdb.base/all-architectures-6.exp: New file.
8177 * gdb.base/all-architectures-7.exp: New file.
8178 * gdb.base/all-architectures.exp.in: New file.
8179
8180 2016-12-09 Yao Qi <yao.qi@linaro.org>
8181
8182 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8183
8184 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8185
8186 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8187 possible.
8188 Remove useless pattern-matching code.
8189
8190 2016-12-02 Pedro Alves <palves@redhat.com>
8191
8192 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8193 procedure.
8194 (top level): Call it.
8195
8196 2016-12-02 Pedro Alves <palves@redhat.com>
8197
8198 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8199 New procedure.
8200 (top level): Call it.
8201
8202 2016-12-02 Pedro Alves <palves@redhat.com>
8203
8204 PR cli/20559
8205 * gdb.base/commands.exp (user_defined_command_args_eval): New
8206 procedure.
8207 (top level): Call it.
8208
8209 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8210
8211 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8212 timeout handling.
8213
8214 2016-12-02 Tom Tromey <tom@tromey.com>
8215
8216 * gdb.dwarf2/main-subprogram.c: New file.
8217 * gdb.dwarf2/main-subprogram.exp: New file.
8218
8219 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8220
8221 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8222 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8223 gdb_test_no_output for a couple of cases.
8224 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8225
8226 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8227
8228 Fix test names and standardize compilation error messages throughout
8229 the following files:
8230
8231 * gdb.ada/start.exp
8232 * gdb.arch/alpha-step.exp
8233 * gdb.arch/e500-prologue.exp
8234 * gdb.arch/ftrace-insn-reloc.exp
8235 * gdb.arch/gdb1291.exp
8236 * gdb.arch/gdb1431.exp
8237 * gdb.arch/gdb1558.exp
8238 * gdb.arch/i386-dr3-watch.exp
8239 * gdb.arch/i386-sse-stack-align.exp
8240 * gdb.arch/ia64-breakpoint-shadow.exp
8241 * gdb.arch/pa-nullify.exp
8242 * gdb.arch/powerpc-aix-prologue.exp
8243 * gdb.arch/thumb-bx-pc.exp
8244 * gdb.base/annota1.exp
8245 * gdb.base/annota3.exp
8246 * gdb.base/arrayidx.exp
8247 * gdb.base/assign.exp
8248 * gdb.base/attach.exp
8249 * gdb.base/auxv.exp
8250 * gdb.base/bang.exp
8251 * gdb.base/bfp-test.exp
8252 * gdb.base/bigcore.exp
8253 * gdb.base/bitfields2.exp
8254 * gdb.base/break-fun-addr.exp
8255 * gdb.base/break-probes.exp
8256 * gdb.base/call-rt-st.exp
8257 * gdb.base/callexit.exp
8258 * gdb.base/catch-fork-kill.exp
8259 * gdb.base/charset.exp
8260 * gdb.base/checkpoint.exp
8261 * gdb.base/comprdebug.exp
8262 * gdb.base/constvars.exp
8263 * gdb.base/coredump-filter.exp
8264 * gdb.base/cursal.exp
8265 * gdb.base/cvexpr.exp
8266 * gdb.base/detach.exp
8267 * gdb.base/display.exp
8268 * gdb.base/dmsym.exp
8269 * gdb.base/dprintf-pending.exp
8270 * gdb.base/dso2dso.exp
8271 * gdb.base/dtrace-probe.exp
8272 * gdb.base/dump.exp
8273 * gdb.base/enum_cond.exp
8274 * gdb.base/exe-lock.exp
8275 * gdb.base/exec-invalid-sysroot.exp
8276 * gdb.base/execl-update-breakpoints.exp
8277 * gdb.base/exprs.exp
8278 * gdb.base/fileio.exp
8279 * gdb.base/find.exp
8280 * gdb.base/finish.exp
8281 * gdb.base/fixsection.exp
8282 * gdb.base/foll-vfork.exp
8283 * gdb.base/frame-args.exp
8284 * gdb.base/gcore.exp
8285 * gdb.base/gdb1250.exp
8286 * gdb.base/global-var-nested-by-dso.exp
8287 * gdb.base/gnu-ifunc.exp
8288 * gdb.base/hashline1.exp
8289 * gdb.base/hashline2.exp
8290 * gdb.base/hashline3.exp
8291 * gdb.base/hbreak-in-shr-unsupported.exp
8292 * gdb.base/huge.exp
8293 * gdb.base/infcall-input.exp
8294 * gdb.base/info-fun.exp
8295 * gdb.base/info-shared.exp
8296 * gdb.base/jit-simple.exp
8297 * gdb.base/jit-so.exp
8298 * gdb.base/jit.exp
8299 * gdb.base/jump.exp
8300 * gdb.base/label.exp
8301 * gdb.base/lineinc.exp
8302 * gdb.base/logical.exp
8303 * gdb.base/longjmp.exp
8304 * gdb.base/macscp.exp
8305 * gdb.base/miscexprs.exp
8306 * gdb.base/new-ui-echo.exp
8307 * gdb.base/new-ui-pending-input.exp
8308 * gdb.base/new-ui.exp
8309 * gdb.base/nodebug.exp
8310 * gdb.base/nofield.exp
8311 * gdb.base/offsets.exp
8312 * gdb.base/overlays.exp
8313 * gdb.base/pending.exp
8314 * gdb.base/pointers.exp
8315 * gdb.base/pr11022.exp
8316 * gdb.base/printcmds.exp
8317 * gdb.base/prologue.exp
8318 * gdb.base/ptr-typedef.exp
8319 * gdb.base/realname-expand.exp
8320 * gdb.base/relativedebug.exp
8321 * gdb.base/relocate.exp
8322 * gdb.base/remote.exp
8323 * gdb.base/reread.exp
8324 * gdb.base/return2.exp
8325 * gdb.base/savedregs.exp
8326 * gdb.base/sep.exp
8327 * gdb.base/sepdebug.exp
8328 * gdb.base/sepsymtab.exp
8329 * gdb.base/set-inferior-tty.exp
8330 * gdb.base/setshow.exp
8331 * gdb.base/shlib-call.exp
8332 * gdb.base/sigaltstack.exp
8333 * gdb.base/siginfo-addr.exp
8334 * gdb.base/signals.exp
8335 * gdb.base/signull.exp
8336 * gdb.base/sigrepeat.exp
8337 * gdb.base/so-impl-ld.exp
8338 * gdb.base/solib-display.exp
8339 * gdb.base/solib-overlap.exp
8340 * gdb.base/solib-search.exp
8341 * gdb.base/solib-symbol.exp
8342 * gdb.base/structs.exp
8343 * gdb.base/structs2.exp
8344 * gdb.base/symtab-search-order.exp
8345 * gdb.base/twice.exp
8346 * gdb.base/unload.exp
8347 * gdb.base/varargs.exp
8348 * gdb.base/watchpoint-solib.exp
8349 * gdb.base/watchpoint.exp
8350 * gdb.base/whatis.exp
8351 * gdb.base/wrong_frame_bt_full.exp
8352 * gdb.btrace/dlopen.exp
8353 * gdb.cell/ea-standalone.exp
8354 * gdb.cell/ea-test.exp
8355 * gdb.cp/dispcxx.exp
8356 * gdb.cp/gdb2384.exp
8357 * gdb.cp/method2.exp
8358 * gdb.cp/nextoverthrow.exp
8359 * gdb.cp/pr10728.exp
8360 * gdb.disasm/am33.exp
8361 * gdb.disasm/h8300s.exp
8362 * gdb.disasm/mn10300.exp
8363 * gdb.disasm/sh3.exp
8364 * gdb.dwarf2/dw2-dir-file-name.exp
8365 * gdb.fortran/complex.exp
8366 * gdb.fortran/library-module.exp
8367 * gdb.guile/scm-pretty-print.exp
8368 * gdb.guile/scm-symbol.exp
8369 * gdb.guile/scm-type.exp
8370 * gdb.guile/scm-value.exp
8371 * gdb.linespec/linespec.exp
8372 * gdb.mi/gdb701.exp
8373 * gdb.mi/gdb792.exp
8374 * gdb.mi/mi-breakpoint-changed.exp
8375 * gdb.mi/mi-dprintf-pending.exp
8376 * gdb.mi/mi-dprintf.exp
8377 * gdb.mi/mi-exit-code.exp
8378 * gdb.mi/mi-pending.exp
8379 * gdb.mi/mi-solib.exp
8380 * gdb.mi/new-ui-mi-sync.exp
8381 * gdb.mi/pr11022.exp
8382 * gdb.mi/user-selected-context-sync.exp
8383 * gdb.opt/solib-intra-step.exp
8384 * gdb.python/py-events.exp
8385 * gdb.python/py-finish-breakpoint.exp
8386 * gdb.python/py-mi.exp
8387 * gdb.python/py-prettyprint.exp
8388 * gdb.python/py-shared.exp
8389 * gdb.python/py-symbol.exp
8390 * gdb.python/py-template.exp
8391 * gdb.python/py-type.exp
8392 * gdb.python/py-value.exp
8393 * gdb.reverse/solib-precsave.exp
8394 * gdb.reverse/solib-reverse.exp
8395 * gdb.server/solib-list.exp
8396 * gdb.stabs/weird.exp
8397 * gdb.threads/reconnect-signal.exp
8398 * gdb.threads/stepi-random-signal.exp
8399 * gdb.trace/actions.exp
8400 * gdb.trace/ax.exp
8401 * gdb.trace/backtrace.exp
8402 * gdb.trace/change-loc.exp
8403 * gdb.trace/deltrace.exp
8404 * gdb.trace/ftrace-lock.exp
8405 * gdb.trace/ftrace.exp
8406 * gdb.trace/infotrace.exp
8407 * gdb.trace/mi-tracepoint-changed.exp
8408 * gdb.trace/packetlen.exp
8409 * gdb.trace/passcount.exp
8410 * gdb.trace/pending.exp
8411 * gdb.trace/range-stepping.exp
8412 * gdb.trace/report.exp
8413 * gdb.trace/stap-trace.exp
8414 * gdb.trace/tfind.exp
8415 * gdb.trace/trace-break.exp
8416 * gdb.trace/trace-condition.exp
8417 * gdb.trace/trace-enable-disable.exp
8418 * gdb.trace/trace-mt.exp
8419 * gdb.trace/tracecmd.exp
8420 * gdb.trace/tspeed.exp
8421 * gdb.trace/tsv.exp
8422 * lib/perftest.exp
8423
8424 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8425
8426 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8427 with gdb_test_no_output.
8428 Use command as test name.
8429
8430 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8431
8432 Fix test names starting with uppercase throughout the files.
8433
8434 * gdb.ada/assign_1.exp
8435 * gdb.ada/boolean_expr.exp
8436 * gdb.base/arrayidx.exp
8437 * gdb.base/del.exp
8438 * gdb.base/gcore-buffer-overflow.exp
8439 * gdb.base/testenv.exp
8440 * gdb.compile/compile.exp
8441 * gdb.python/py-framefilter-invalidarg.exp
8442 * gdb.python/py-framefilter.exp
8443
8444 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8445
8446 Fix test names starting with uppercase throughout the files.
8447
8448 * gdb.ada/array_return.exp
8449 * gdb.ada/expr_delims.exp
8450 * gdb.ada/mi_dyn_arr.exp
8451 * gdb.ada/mi_interface.exp
8452 * gdb.ada/mi_var_array.exp
8453 * gdb.ada/watch_arg.exp
8454 * gdb.arch/alpha-step.exp
8455 * gdb.arch/altivec-regs.exp
8456 * gdb.arch/e500-regs.exp
8457 * gdb.arch/powerpc-d128-regs.exp
8458 * gdb.base/arrayidx.exp
8459 * gdb.base/break.exp
8460 * gdb.base/checkpoint.exp
8461 * gdb.base/debug-expr.exp
8462 * gdb.base/dmsym.exp
8463 * gdb.base/radix.exp
8464 * gdb.base/sepdebug.exp
8465 * gdb.base/testenv.exp
8466 * gdb.base/watch_thread_num.exp
8467 * gdb.base/watchpoint-cond-gone.exp
8468 * gdb.cell/break.exp
8469 * gdb.cell/ea-cache.exp
8470 * gdb.compile/compile.exp
8471 * gdb.cp/gdb2495.exp
8472 * gdb.gdb/selftest.exp
8473 * gdb.gdb/xfullpath.exp
8474 * gdb.go/hello.exp
8475 * gdb.go/integers.exp
8476 * gdb.objc/basicclass.exp
8477 * gdb.pascal/hello.exp
8478 * gdb.pascal/integers.exp
8479 * gdb.python/py-breakpoint.exp
8480 * gdb.python/py-cmd.exp
8481 * gdb.python/py-linetable.exp
8482 * gdb.python/py-xmethods.exp
8483 * gdb.python/python.exp
8484 * gdb.reverse/consecutive-precsave.exp
8485 * gdb.reverse/finish-precsave.exp
8486 * gdb.reverse/i386-precsave.exp
8487 * gdb.reverse/machinestate-precsave.exp
8488 * gdb.reverse/sigall-precsave.exp
8489 * gdb.reverse/solib-precsave.exp
8490 * gdb.reverse/step-precsave.exp
8491 * gdb.reverse/until-precsave.exp
8492 * gdb.reverse/watch-precsave.exp
8493 * gdb.threads/leader-exit.exp
8494 * gdb.threads/pthreads.exp
8495 * gdb.threads/wp-replication.exp
8496 * gdb.trace/actions.exp
8497 * gdb.trace/mi-tsv-changed.exp
8498 * gdb.trace/tsv.exp
8499
8500 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8501
8502 Fix test names starting with uppercase throughout the files.
8503
8504 * gdb.arch/i386-bp_permanent.exp
8505 * gdb.arch/i386-gnu-cfi.exp
8506 * gdb.base/disasm-end-cu.exp
8507 * gdb.base/macscp.exp
8508 * gdb.base/pending.exp
8509 * gdb.base/watch_thread_num.exp
8510 * gdb.cp/exception.exp
8511 * gdb.cp/gdb2495.exp
8512 * gdb.cp/local.exp
8513 * gdb.python/py-evsignal.exp
8514 * gdb.python/python.exp
8515 * gdb.trace/tracecmd.exp
8516
8517 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8518
8519 Fix test names starting with uppercase throughout the files.
8520
8521 * gdb.base/charset.exp
8522 * gdb.base/eval.exp
8523 * gdb.base/multi-forks.exp
8524 * gdb.guile/scm-progspace.exp
8525 * gdb.opencl/datatypes.exp
8526 * gdb.python/py-block.exp
8527 * gdb.python/py-function.exp
8528 * gdb.python/py-symbol.exp
8529 * gdb.python/py-symtab.exp
8530 * gdb.python/py-xmethods.exp
8531 * gdb.reverse/break-precsave.exp
8532 * gdb.reverse/break-reverse.exp
8533 * gdb.reverse/consecutive-precsave.exp
8534 * gdb.reverse/consecutive-reverse.exp
8535 * gdb.reverse/finish-precsave.exp
8536 * gdb.reverse/finish-reverse-bkpt.exp
8537 * gdb.reverse/finish-reverse.exp
8538 * gdb.reverse/fstatat-reverse.exp
8539 * gdb.reverse/getresuid-reverse.exp
8540 * gdb.reverse/i386-precsave.exp
8541 * gdb.reverse/i386-reverse.exp
8542 * gdb.reverse/i386-sse-reverse.exp
8543 * gdb.reverse/i387-stack-reverse.exp
8544 * gdb.reverse/insn-reverse.exp
8545 * gdb.reverse/machinestate-precsave.exp
8546 * gdb.reverse/machinestate.exp
8547 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8548 * gdb.reverse/pipe-reverse.exp
8549 * gdb.reverse/readv-reverse.exp
8550 * gdb.reverse/recvmsg-reverse.exp
8551 * gdb.reverse/rerun-prec.exp
8552 * gdb.reverse/s390-mvcle.exp
8553 * gdb.reverse/sigall-precsave.exp
8554 * gdb.reverse/sigall-reverse.exp
8555 * gdb.reverse/solib-precsave.exp
8556 * gdb.reverse/solib-reverse.exp
8557 * gdb.reverse/step-precsave.exp
8558 * gdb.reverse/step-reverse.exp
8559 * gdb.reverse/time-reverse.exp
8560 * gdb.reverse/until-precsave.exp
8561 * gdb.reverse/until-reverse.exp
8562 * gdb.reverse/waitpid-reverse.exp
8563 * gdb.reverse/watch-precsave.exp
8564 * gdb.reverse/watch-reverse.exp
8565
8566 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8567
8568 Fix test names starting with uppercase throughout the files.
8569
8570 * gdb.arch/i386-mpx-simple_segv.exp
8571 * gdb.arch/i386-mpx.exp
8572 * gdb.arch/i386-permbkpt.exp
8573 * gdb.arch/pa-nullify.exp
8574 * gdb.arch/powerpc-d128-regs.exp
8575 * gdb.arch/vsx-regs.exp
8576 * gdb.base/bfp-test.exp
8577 * gdb.base/break.exp
8578 * gdb.base/breakpoint-shadow.exp
8579 * gdb.base/callfuncs.exp
8580 * gdb.base/charset.exp
8581 * gdb.base/commands.exp
8582 * gdb.base/completion.exp
8583 * gdb.base/dfp-test.exp
8584 * gdb.base/echo.exp
8585 * gdb.base/ending-run.exp
8586 * gdb.base/eval.exp
8587 * gdb.base/expand-psymtabs.exp
8588 * gdb.base/float128.exp
8589 * gdb.base/floatn.exp
8590 * gdb.base/foll-exec-mode.exp
8591 * gdb.base/gdb1056.exp
8592 * gdb.base/gdb11531.exp
8593 * gdb.base/kill-after-signal.exp
8594 * gdb.base/multi-forks.exp
8595 * gdb.base/overlays.exp
8596 * gdb.base/pending.exp
8597 * gdb.base/sepdebug.exp
8598 * gdb.base/testenv.exp
8599 * gdb.base/valgrind-db-attach.exp
8600 * gdb.base/watch_thread_num.exp
8601 * gdb.base/watchpoint-cond-gone.exp
8602 * gdb.base/watchpoint.exp
8603 * gdb.base/watchpoints.exp
8604 * gdb.cp/arg-reference.exp
8605 * gdb.cp/baseenum.exp
8606 * gdb.cp/operator.exp
8607 * gdb.cp/shadow.exp
8608 * gdb.dwarf2/dw2-op-out-param.exp
8609 * gdb.dwarf2/dw2-reg-undefined.exp
8610 * gdb.go/chan.exp
8611 * gdb.go/hello.exp
8612 * gdb.go/integers.exp
8613 * gdb.go/methods.exp
8614 * gdb.go/package.exp
8615 * gdb.guile/scm-parameter.exp
8616 * gdb.guile/scm-progspace.exp
8617 * gdb.guile/scm-value.exp
8618 * gdb.mi/mi-pending.exp
8619 * gdb.mi/user-selected-context-sync.exp
8620 * gdb.multi/multi-attach.exp
8621 * gdb.multi/tids.exp
8622 * gdb.opt/clobbered-registers-O2.exp
8623 * gdb.pascal/floats.exp
8624 * gdb.pascal/integers.exp
8625 * gdb.python/py-block.exp
8626 * gdb.python/py-events.exp
8627 * gdb.python/py-parameter.exp
8628 * gdb.python/py-symbol.exp
8629 * gdb.python/py-symtab.exp
8630 * gdb.python/py-type.exp
8631 * gdb.python/py-value.exp
8632 * gdb.python/py-xmethods.exp
8633 * gdb.python/python.exp
8634 * gdb.reverse/break-precsave.exp
8635 * gdb.reverse/consecutive-precsave.exp
8636 * gdb.reverse/finish-precsave.exp
8637 * gdb.reverse/i386-precsave.exp
8638 * gdb.reverse/machinestate-precsave.exp
8639 * gdb.reverse/sigall-precsave.exp
8640 * gdb.reverse/solib-precsave.exp
8641 * gdb.reverse/step-precsave.exp
8642 * gdb.reverse/until-precsave.exp
8643 * gdb.reverse/watch-precsave.exp
8644 * gdb.server/ext-attach.exp
8645 * gdb.server/ext-restart.exp
8646 * gdb.server/ext-run.exp
8647 * gdb.server/ext-wrapper.exp
8648 * gdb.stabs/gdb11479.exp
8649 * gdb.stabs/weird.exp
8650 * gdb.threads/attach-many-short-lived-threads.exp
8651 * gdb.threads/kill.exp
8652 * gdb.threads/watchpoint-fork.exp
8653
8654 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8655
8656 Fix test names starting with uppercase throughout all the files below.
8657
8658 * gdb.ada/array_return.exp
8659 * gdb.ada/catch_ex.exp
8660 * gdb.ada/info_exc.exp
8661 * gdb.ada/mi_catch_ex.exp
8662 * gdb.ada/mi_dyn_arr.exp
8663 * gdb.ada/mi_ex_cond.exp
8664 * gdb.ada/mi_exc_info.exp
8665 * gdb.ada/mi_interface.exp
8666 * gdb.ada/mi_task_arg.exp
8667 * gdb.ada/mi_task_info.exp
8668 * gdb.ada/mi_var_array.exp
8669 * gdb.arch/alpha-step.exp
8670 * gdb.arch/amd64-disp-step.exp
8671 * gdb.arch/arm-disp-step.exp
8672 * gdb.arch/disp-step-insn-reloc.exp
8673 * gdb.arch/e500-prologue.exp
8674 * gdb.arch/ftrace-insn-reloc.exp
8675 * gdb.arch/gdb1558.exp
8676 * gdb.arch/i386-bp_permanent.exp
8677 * gdb.arch/i386-disp-step.exp
8678 * gdb.arch/i386-float.exp
8679 * gdb.arch/i386-gnu-cfi.exp
8680 * gdb.arch/ia64-breakpoint-shadow.exp
8681 * gdb.arch/mips16-thunks.exp
8682 * gdb.arch/pa-nullify.exp
8683 * gdb.arch/powerpc-aix-prologue.exp
8684 * gdb.arch/powerpc-power.exp
8685 * gdb.arch/ppc-dfp.exp
8686 * gdb.arch/s390-tdbregs.exp
8687 * gdb.arch/spu-info.exp
8688 * gdb.arch/spu-ls.exp
8689 * gdb.arch/thumb-bx-pc.exp
8690 * gdb.base/advance.exp
8691 * gdb.base/annota-input-while-running.exp
8692 * gdb.base/arrayidx.exp
8693 * gdb.base/asmlabel.exp
8694 * gdb.base/async.exp
8695 * gdb.base/attach-wait-input.exp
8696 * gdb.base/auto-connect-native-target.exp
8697 * gdb.base/batch-preserve-term-settings.exp
8698 * gdb.base/bfp-test.exp
8699 * gdb.base/bigcore.exp
8700 * gdb.base/bp-permanent.exp
8701 * gdb.base/break-always.exp
8702 * gdb.base/break-fun-addr.exp
8703 * gdb.base/break-idempotent.exp
8704 * gdb.base/break-main-file-remove-fail.exp
8705 * gdb.base/break-probes.exp
8706 * gdb.base/break-unload-file.exp
8707 * gdb.base/break.exp
8708 * gdb.base/call-ar-st.exp
8709 * gdb.base/call-rt-st.exp
8710 * gdb.base/call-sc.exp
8711 * gdb.base/call-signal-resume.exp
8712 * gdb.base/call-strs.exp
8713 * gdb.base/callexit.exp
8714 * gdb.base/callfuncs.exp
8715 * gdb.base/catch-gdb-caused-signals.exp
8716 * gdb.base/catch-signal-siginfo-cond.exp
8717 * gdb.base/catch-syscall.exp
8718 * gdb.base/compare-sections.exp
8719 * gdb.base/cond-eval-mode.exp
8720 * gdb.base/condbreak-call-false.exp
8721 * gdb.base/consecutive-step-over.exp
8722 * gdb.base/cursal.exp
8723 * gdb.base/disabled-location.exp
8724 * gdb.base/disasm-end-cu.exp
8725 * gdb.base/display.exp
8726 * gdb.base/double-prompt-target-event-error.exp
8727 * gdb.base/dprintf-bp-same-addr.exp
8728 * gdb.base/dprintf-detach.exp
8729 * gdb.base/dprintf-next.exp
8730 * gdb.base/dprintf-non-stop.exp
8731 * gdb.base/dprintf-pending.exp
8732 * gdb.base/dso2dso.exp
8733 * gdb.base/ending-run.exp
8734 * gdb.base/enum_cond.exp
8735 * gdb.base/examine-backward.exp
8736 * gdb.base/exe-lock.exp
8737 * gdb.base/exec-invalid-sysroot.exp
8738 * gdb.base/execl-update-breakpoints.exp
8739 * gdb.base/execution-termios.exp
8740 * gdb.base/fileio.exp
8741 * gdb.base/fixsection.exp
8742 * gdb.base/foll-exec-mode.exp
8743 * gdb.base/foll-exec.exp
8744 * gdb.base/fork-running-state.exp
8745 * gdb.base/frame-args.exp
8746 * gdb.base/fullpath-expand.exp
8747 * gdb.base/func-ptr.exp
8748 * gdb.base/gcore-relro-pie.exp
8749 * gdb.base/gdb1090.exp
8750 * gdb.base/gdb1555.exp
8751 * gdb.base/global-var-nested-by-dso.exp
8752 * gdb.base/gnu-ifunc.exp
8753 * gdb.base/hbreak-in-shr-unsupported.exp
8754 * gdb.base/hbreak-unmapped.exp
8755 * gdb.base/hook-stop.exp
8756 * gdb.base/infcall-input.exp
8757 * gdb.base/info-fun.exp
8758 * gdb.base/info-shared.exp
8759 * gdb.base/interrupt-noterm.exp
8760 * gdb.base/jit-so.exp
8761 * gdb.base/jit.exp
8762 * gdb.base/line-symtabs.exp
8763 * gdb.base/list.exp
8764 * gdb.base/longjmp.exp
8765 * gdb.base/macscp.exp
8766 * gdb.base/max-value-size.exp
8767 * gdb.base/nodebug.exp
8768 * gdb.base/nofield.exp
8769 * gdb.base/overlays.exp
8770 * gdb.base/paginate-after-ctrl-c-running.exp
8771 * gdb.base/paginate-bg-execution.exp
8772 * gdb.base/paginate-inferior-exit.exp
8773 * gdb.base/pending.exp
8774 * gdb.base/pr11022.exp
8775 * gdb.base/printcmds.exp
8776 * gdb.base/ptr-typedef.exp
8777 * gdb.base/ptype.exp
8778 * gdb.base/randomize.exp
8779 * gdb.base/range-stepping.exp
8780 * gdb.base/realname-expand.exp
8781 * gdb.base/relativedebug.exp
8782 * gdb.base/remote.exp
8783 * gdb.base/savedregs.exp
8784 * gdb.base/sepdebug.exp
8785 * gdb.base/set-noassign.exp
8786 * gdb.base/shlib-call.exp
8787 * gdb.base/shreloc.exp
8788 * gdb.base/sigaltstack.exp
8789 * gdb.base/sigbpt.exp
8790 * gdb.base/siginfo-addr.exp
8791 * gdb.base/siginfo-obj.exp
8792 * gdb.base/siginfo-thread.exp
8793 * gdb.base/signest.exp
8794 * gdb.base/signull.exp
8795 * gdb.base/sigrepeat.exp
8796 * gdb.base/skip.exp
8797 * gdb.base/so-impl-ld.exp
8798 * gdb.base/solib-corrupted.exp
8799 * gdb.base/solib-disc.exp
8800 * gdb.base/solib-display.exp
8801 * gdb.base/solib-overlap.exp
8802 * gdb.base/solib-search.exp
8803 * gdb.base/solib-symbol.exp
8804 * gdb.base/source-execution.exp
8805 * gdb.base/sss-bp-on-user-bp-2.exp
8806 * gdb.base/sss-bp-on-user-bp.exp
8807 * gdb.base/stack-checking.exp
8808 * gdb.base/stale-infcall.exp
8809 * gdb.base/step-break.exp
8810 * gdb.base/step-line.exp
8811 * gdb.base/step-over-exit.exp
8812 * gdb.base/step-test.exp
8813 * gdb.base/structs.exp
8814 * gdb.base/sym-file.exp
8815 * gdb.base/symtab-search-order.exp
8816 * gdb.base/term.exp
8817 * gdb.base/type-opaque.exp
8818 * gdb.base/unload.exp
8819 * gdb.base/until-nodebug.exp
8820 * gdb.base/until.exp
8821 * gdb.base/unwindonsignal.exp
8822 * gdb.base/watch-cond.exp
8823 * gdb.base/watch-non-mem.exp
8824 * gdb.base/watch_thread_num.exp
8825 * gdb.base/watchpoint-reuse-slot.exp
8826 * gdb.base/watchpoint-solib.exp
8827 * gdb.base/watchpoint.exp
8828 * gdb.btrace/dlopen.exp
8829 * gdb.cell/arch.exp
8830 * gdb.cell/break.exp
8831 * gdb.cell/bt.exp
8832 * gdb.cell/core.exp
8833 * gdb.cell/data.exp
8834 * gdb.cell/dwarfaddr.exp
8835 * gdb.cell/ea-cache.exp
8836 * gdb.cell/ea-standalone.exp
8837 * gdb.cell/ea-test.exp
8838 * gdb.cell/f-regs.exp
8839 * gdb.cell/fork.exp
8840 * gdb.cell/gcore.exp
8841 * gdb.cell/mem-access.exp
8842 * gdb.cell/ptype.exp
8843 * gdb.cell/registers.exp
8844 * gdb.cell/sizeof.exp
8845 * gdb.cell/solib-symbol.exp
8846 * gdb.cell/solib.exp
8847 * gdb.compile/compile-tls.exp
8848 * gdb.cp/exception.exp
8849 * gdb.cp/gdb2495.exp
8850 * gdb.cp/local.exp
8851 * gdb.cp/mb-inline.exp
8852 * gdb.cp/mb-templates.exp
8853 * gdb.cp/pr10687.exp
8854 * gdb.cp/pr9167.exp
8855 * gdb.cp/scope-err.exp
8856 * gdb.cp/templates.exp
8857 * gdb.cp/virtfunc.exp
8858 * gdb.dwarf2/dw2-dir-file-name.exp
8859 * gdb.dwarf2/dw2-single-line-discriminators.exp
8860 * gdb.fortran/complex.exp
8861 * gdb.fortran/library-module.exp
8862 * gdb.guile/guile.exp
8863 * gdb.guile/scm-cmd.exp
8864 * gdb.guile/scm-frame-inline.exp
8865 * gdb.guile/scm-objfile.exp
8866 * gdb.guile/scm-pretty-print.exp
8867 * gdb.guile/scm-symbol.exp
8868 * gdb.guile/scm-type.exp
8869 * gdb.guile/scm-value.exp
8870 * gdb.linespec/keywords.exp
8871 * gdb.linespec/ls-errs.exp
8872 * gdb.linespec/macro-relative.exp
8873 * gdb.linespec/thread.exp
8874 * gdb.mi/mi-breakpoint-changed.exp
8875 * gdb.mi/mi-dprintf-pending.exp
8876 * gdb.mi/mi-fullname-deleted.exp
8877 * gdb.mi/mi-logging.exp
8878 * gdb.mi/mi-pending.exp
8879 * gdb.mi/mi-solib.exp
8880 * gdb.mi/new-ui-mi-sync.exp
8881 * gdb.mi/user-selected-context-sync.exp
8882 * gdb.multi/dummy-frame-restore.exp
8883 * gdb.multi/multi-arch-exec.exp
8884 * gdb.multi/remove-inferiors.exp
8885 * gdb.multi/watchpoint-multi-exit.exp
8886 * gdb.opt/solib-intra-step.exp
8887 * gdb.perf/backtrace.exp
8888 * gdb.perf/single-step.exp
8889 * gdb.perf/skip-command.exp
8890 * gdb.perf/skip-prologue.exp
8891 * gdb.perf/solib.exp
8892 * gdb.python/lib-types.exp
8893 * gdb.python/py-as-string.exp
8894 * gdb.python/py-bad-printers.exp
8895 * gdb.python/py-block.exp
8896 * gdb.python/py-breakpoint.exp
8897 * gdb.python/py-cmd.exp
8898 * gdb.python/py-events.exp
8899 * gdb.python/py-evthreads.exp
8900 * gdb.python/py-finish-breakpoint.exp
8901 * gdb.python/py-finish-breakpoint2.exp
8902 * gdb.python/py-frame-inline.exp
8903 * gdb.python/py-frame.exp
8904 * gdb.python/py-inferior.exp
8905 * gdb.python/py-infthread.exp
8906 * gdb.python/py-mi.exp
8907 * gdb.python/py-objfile.exp
8908 * gdb.python/py-pp-maint.exp
8909 * gdb.python/py-pp-registration.exp
8910 * gdb.python/py-prettyprint.exp
8911 * gdb.python/py-recurse-unwind.exp
8912 * gdb.python/py-shared.exp
8913 * gdb.python/py-symbol.exp
8914 * gdb.python/py-symtab.exp
8915 * gdb.python/py-template.exp
8916 * gdb.python/py-type.exp
8917 * gdb.python/py-unwind-maint.exp
8918 * gdb.python/py-unwind.exp
8919 * gdb.python/py-value.exp
8920 * gdb.python/python.exp
8921 * gdb.reverse/finish-reverse-bkpt.exp
8922 * gdb.reverse/insn-reverse.exp
8923 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8924 * gdb.reverse/solib-precsave.exp
8925 * gdb.reverse/solib-reverse.exp
8926 * gdb.stabs/gdb11479.exp
8927 * gdb.stabs/weird.exp
8928 * gdb.threads/fork-child-threads.exp
8929 * gdb.threads/fork-plus-threads.exp
8930 * gdb.threads/fork-thread-pending.exp
8931 * gdb.threads/forking-threads-plus-breakpoint.exp
8932 * gdb.threads/hand-call-in-threads.exp
8933 * gdb.threads/interrupted-hand-call.exp
8934 * gdb.threads/linux-dp.exp
8935 * gdb.threads/local-watch-wrong-thread.exp
8936 * gdb.threads/next-while-other-thread-longjmps.exp
8937 * gdb.threads/non-ldr-exit.exp
8938 * gdb.threads/pending-step.exp
8939 * gdb.threads/print-threads.exp
8940 * gdb.threads/process-dies-while-detaching.exp
8941 * gdb.threads/process-dies-while-handling-bp.exp
8942 * gdb.threads/pthreads.exp
8943 * gdb.threads/queue-signal.exp
8944 * gdb.threads/reconnect-signal.exp
8945 * gdb.threads/signal-command-handle-nopass.exp
8946 * gdb.threads/signal-command-multiple-signals-pending.exp
8947 * gdb.threads/signal-delivered-right-thread.exp
8948 * gdb.threads/signal-sigtrap.exp
8949 * gdb.threads/sigthread.exp
8950 * gdb.threads/staticthreads.exp
8951 * gdb.threads/stepi-random-signal.exp
8952 * gdb.threads/thread-unwindonsignal.exp
8953 * gdb.threads/thread_check.exp
8954 * gdb.threads/thread_events.exp
8955 * gdb.threads/tid-reuse.exp
8956 * gdb.threads/tls-nodebug.exp
8957 * gdb.threads/tls-shared.exp
8958 * gdb.threads/tls-so_extern.exp
8959 * gdb.threads/tls.exp
8960 * gdb.threads/wp-replication.exp
8961 * gdb.trace/actions-changed.exp
8962 * gdb.trace/actions.exp
8963 * gdb.trace/backtrace.exp
8964 * gdb.trace/change-loc.exp
8965 * gdb.trace/collection.exp
8966 * gdb.trace/deltrace.exp
8967 * gdb.trace/disconnected-tracing.exp
8968 * gdb.trace/entry-values.exp
8969 * gdb.trace/ftrace-lock.exp
8970 * gdb.trace/ftrace.exp
8971 * gdb.trace/infotrace.exp
8972 * gdb.trace/mi-trace-frame-collected.exp
8973 * gdb.trace/mi-trace-unavailable.exp
8974 * gdb.trace/mi-traceframe-changed.exp
8975 * gdb.trace/mi-tracepoint-changed.exp
8976 * gdb.trace/mi-tsv-changed.exp
8977 * gdb.trace/no-attach-trace.exp
8978 * gdb.trace/packetlen.exp
8979 * gdb.trace/passc-dyn.exp
8980 * gdb.trace/passcount.exp
8981 * gdb.trace/pending.exp
8982 * gdb.trace/pr16508.exp
8983 * gdb.trace/qtro.exp
8984 * gdb.trace/range-stepping.exp
8985 * gdb.trace/read-memory.exp
8986 * gdb.trace/report.exp
8987 * gdb.trace/save-trace.exp
8988 * gdb.trace/signal.exp
8989 * gdb.trace/stap-trace.exp
8990 * gdb.trace/status-stop.exp
8991 * gdb.trace/strace.exp
8992 * gdb.trace/tfile.exp
8993 * gdb.trace/tfind.exp
8994 * gdb.trace/trace-break.exp
8995 * gdb.trace/trace-condition.exp
8996 * gdb.trace/trace-enable-disable.exp
8997 * gdb.trace/trace-mt.exp
8998 * gdb.trace/tracecmd.exp
8999 * gdb.trace/tracefile-pseudo-reg.exp
9000 * gdb.trace/tspeed.exp
9001 * gdb.trace/tstatus.exp
9002 * gdb.trace/tsv.exp
9003 * gdb.trace/unavailable.exp
9004 * gdb.trace/while-dyn.exp
9005 * gdb.trace/while-stepping.exp
9006 * lib/gdb-guile.exp
9007 * lib/gdb.exp
9008 * lib/mi-support.exp
9009 * lib/pascal.exp
9010 * lib/perftest.exp
9011 * lib/prelink-support.exp
9012 * lib/selftest-support.exp
9013
9014 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9015
9016 * Makefile.in: Include disable-implicit-rules.mk.
9017
9018 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9019
9020 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9021 non-byte-aligned bit fields.
9022
9023 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9024
9025 PR gdb/12616
9026 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9027 respects the DW_AT_data_bit_offset attribute.
9028
9029 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9030
9031 * gdb.base/default.exp: Fix output of "set language".
9032
9033 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9034
9035 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9036 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9037 make.
9038 * configure.ac: Remove checks for the make program.
9039 * configure: Re-generate.
9040
9041 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9042
9043 * gdb.python/py-recurse-unwind.c (main): Add loop.
9044 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9045 to read_register() and gdb.parse_and_eval(). Make each code
9046 call a separate case that can be individually tested.
9047 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9048 proc. Call cont_and_backtrace for each of the code paths that
9049 we want to test in the unwinder.
9050
9051 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9052
9053 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9054 the definition of struct S.
9055
9056 2016-11-11 Catherine Moore <clm@codesourcery.com>
9057
9058 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9059
9060 2016-11-09 Pedro Alves <palves@redhat.com>
9061
9062 * gdb.base/commands.exp (runto_or_return): New procedure.
9063 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9064 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9065 (progvar_simple_while_test, progvar_complex_if_while_test)
9066 (if_while_breakpoint_command_test)
9067 (infrun_breakpoint_command_test, breakpoint_command_test)
9068 (user_defined_command_test, watchpoint_command_test)
9069 (test_command_prompt_position, redefine_hook_test)
9070 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9071 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9072 multi_line_input and multi_line. Remove gdb_expect and
9073 gdb_stop_suppressing_tests uses.
9074 * lib/gdb.exp (valnum_re): New global.
9075 (multi_line_input): New procedure.
9076
9077 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9078
9079 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9080 Remove.
9081 (test_setup): Define with proc_with_prefix.
9082 (test_cli_inferior): Likewise.
9083 (test_cli_thread): Likewise.
9084 (test_cli_frame): Likewise.
9085 (test_cli_select_frame): Likewise.
9086 (test_cli_up_down): Likewise.
9087 (test_mi_thread_select): Likewise.
9088 (test_mi_stack_select_frame): Likewise.
9089 (test_cli_in_mi_inferior): Likewise.
9090 (test_cli_in_mi_thread): Likewise.
9091 (test_cli_in_mi_frame): Likewise.
9092 (top level): Do not use with_test_prefix_procname.
9093
9094 2016-11-09 Pedro Alves <palves@redhat.com>
9095
9096 * gdb.base/commands.exp (gdbvar_simple_if_test)
9097 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9098 (progvar_simple_if_test, progvar_simple_while_test)
9099 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9100 (infrun_breakpoint_command_test, breakpoint_command_test)
9101 (user_defined_command_test, watchpoint_command_test)
9102 (test_command_prompt_position, deprecated_command_test)
9103 (bp_deleted_in_command, temporary_breakpoint_commands)
9104 (stray_arg0_test, source_file_with_indented_comment)
9105 (recursive_source_test, if_commands_test)
9106 (error_clears_commands_left, redefine_hook_test)
9107 (redefine_backtrace_test): Use proc_with_prefix.
9108 * lib/gdb.exp (proc_with_prefix): New proc.
9109
9110 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9111
9112 * gdb.base/tui-layout.c: New file.
9113 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9114 disassembly window contains very long lines.
9115
9116 2016-11-08 Tom Tromey <tom@tromey.com>
9117
9118 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9119 depend on Python 2.
9120
9121 2016-11-08 Tom Tromey <tom@tromey.com>
9122
9123 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9124 New method.
9125
9126 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9127
9128 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9129
9130 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9131
9132 * gdb.rust/simple.rs: Add test for univariant enums without
9133 discriminants and for encoded struct-like enums.
9134
9135 2016-10-28 Pedro Alves <palves@redhat.com>
9136
9137 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9138 gdb_test_multiple, tighten regexps and match symtabs and line
9139 tables incrementally.
9140
9141 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9142
9143 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9144 general.
9145
9146 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9147
9148 * gdb.base/exec-invalid-sysroot.exp: New file.
9149
9150 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9151
9152 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9153
9154 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9155
9156 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9157
9158 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9159
9160 * gdb.base/killed-outside.exp: Remove $options from a call to
9161 `prepare_for_testing'.
9162
9163 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9164
9165 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9166 Change test message.
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 Update comment.
9172
9173 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9174
9175 * gdb.trace/mi-trace-save.exp: New file.
9176
9177 2016-10-13 Yao Qi <yao.qi@linaro.org>
9178
9179 * gdb.base/code_elim.exp (get_var_address): Remove.
9180 * gdb.base/relocate.exp: Likewise.
9181 * gdb.base/shreloc.exp: Likewise.
9182 * lib/gdb.exp (get_var_address): New.
9183
9184 2016-10-13 Yao Qi <yao.qi@linaro.org>
9185
9186 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9187 floating point tests if $skip_float_test is false.
9188
9189 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9190
9191 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9192 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9193 argc values.
9194 Add 1 to argc so we guarantee distinct initial/modified argc values.
9195
9196 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9197
9198 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9199
9200 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9201
9202 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9203 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9204 * gdb.arch/vsx-regs.exp: Likewise.
9205
9206 2016-10-07 Yao Qi <yao.qi@linaro.org>
9207
9208 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9209
9210 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9211
9212 * gdb.python/python.exp: Test decode_line("*0").
9213
9214 2016-10-06 Doug Evans <dje@google.com>
9215
9216 * gdb.python/py-value.exp (test_value_creation): Add test for large
9217 unsigned 64-bit value.
9218
9219 2016-10-06 Tom Tromey <tom@tromey.com>
9220
9221 * gdb.compile/compile.exp: Change java tests to rust.
9222 * gdb.base/setshow.exp: Change java tests to rust.
9223 * gdb.base/default.exp: Remove java from language list.
9224 * README (Examples): Update language example.
9225 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9226 test.
9227 * lib/gdb.exp (skip_java_tests): Remove.
9228 * lib/java.exp: Remove.
9229 * gdb.java: Remove.
9230
9231 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9232
9233 * gdb.arch/mips-fcr.exp: New test.
9234 * gdb.arch/mips-fcr.c: Source for the new test.
9235
9236 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9237
9238 * gdb.base/solib-disc.exp: Use `standard_output_file'
9239 throughout.
9240
9241 2016-10-06 Pedro Alves <palves@redhat.com>
9242
9243 * gdb.base/jit-simple-dl.c: New file.
9244 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9245 * gdb.base/jit-simple.c: ... this.
9246 * gdb.base/jit-simple.exp (jit_run): Delete.
9247 (build_jit): New proc.
9248 (jit_test_reread): Recompile either the main program or the shared
9249 library, depending on what is being tested. Skip changing address
9250 if caller wants to. Compare before/after addresses. If testing
9251 standalone, explicitly load the binary. Test "maint info
9252 breakpoints".
9253 (top level): Add "standalone vs shared lib" and "change address"
9254 vs "same address" axes.
9255
9256 2016-10-06 Pedro Alves <palves@redhat.com>
9257
9258 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9259 call.
9260 (jit_run): Delete.
9261 (jit_test_reread): Use with_test_prefix. Reload the main binary
9262 explicitly. Compare the before/after addresses of the JIT
9263 descriptor.
9264
9265 2016-08-15 Doug Evans <dje@google.com>
9266
9267 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9268 for single bitfields is bool.
9269 * gdb.xml/tdesc-regs.exp: Ditto.
9270
9271 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9272
9273 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9274
9275 2016-10-05 Yao Qi <yao.qi@linaro.org>
9276
9277 * lib/gdb.exp (support_complex_tests): Return zero if
9278 gdb_skip_float_test return true.
9279
9280 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9281 Simon Marchi <simon.marchi@ericsson.com>
9282
9283 PR gdb/20487
9284 * gdb.mi/user-selected-context-sync.exp: New file.
9285 * gdb.mi/user-selected-context-sync.c: New file.
9286
9287 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9288 Simon Marchi <simon.marchi@ericsson.com>
9289
9290 PR gdb/20487
9291 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9292 =thread-select-event check.
9293
9294 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9295
9296 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9297 the compulsory L operand changes.
9298 * gdb.arch/powerpc-power.s: Likewise.
9299
9300 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9301
9302 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9303 * gdb.base/jit-attach-pie.c: New file.
9304 * gdb.base/jit-attach-pie.exp: New file.
9305
9306 2016-09-28 Pedro Alves <palves@redhat.com>
9307
9308 * gdb.base/infcall-input.c: New file.
9309 * gdb.base/infcall-input.exp: New file.
9310
9311 2016-09-22 Yao Qi <yao.qi@linaro.org>
9312
9313 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9314 (gdb_exit): Rename it to ...
9315 (gdbserver_gdb_exit): ... Close GDBserver.
9316 (gdb_exit): New proc, call gdbserver_gdb_exit.
9317 (mi_gdb_exit): Likewise.
9318
9319 2016-09-22 Yao Qi <yao.qi@linaro.org>
9320
9321 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9322 path.
9323 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9324 Remove duplication.
9325
9326 2016-09-22 Yao Qi <yao.qi@linaro.org>
9327
9328 * lib/gdbserver-support.exp: Check the existence of
9329 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9330
9331 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9332
9333 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9334
9335 2016-09-21 Tom Tromey <tom@tromey.com>
9336
9337 PR gdb/20604:
9338 * gdb.base/quit.exp: New file.
9339
9340 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9341
9342 * .gitignore: New file.
9343
9344 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9345
9346 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9347 throughout.
9348
9349 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9350
9351 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9352
9353 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9354
9355 * gdb.cp/casts.cc (decltype): Move it ...
9356 (main): ... with its call to ...
9357 * gdb.cp/casts03.cc: ... a new file.
9358 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9359
9360 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9361
9362 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9363
9364 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9365
9366 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9367 and sync up the test with tests in gas/testsuite/gas/ppc.
9368 * gdb.arch/powerpc-power.exp: Likewise.
9369
9370 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9371
9372 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9373
9374 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9375 Jan Kratochvil <jan.kratochvil@redhat.com>
9376
9377 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9378 make m1's definition to be different from m2's. Use 'dummy' as an
9379 argument for probe 'two'.
9380
9381 2016-09-10 Jon Beniston <jon@beniston.com>
9382
9383 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9384 for sim target.
9385
9386 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9387
9388 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9389 variable declaration.
9390 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9391 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9392 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9393 received HWCAP as its argument.
9394
9395 2016-09-06 Pedro Alves <palves@redhat.com>
9396
9397 * gdb.base/new-ui-pending-input.c: New file.
9398 * gdb.base/new-ui-pending-input.exp: New file.
9399 * gdb.exp (clear_gdb_spawn_id): New procedure.
9400 (with_spawn_id): Check whether gdb_spawn_id exists before
9401 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9402 on exit.
9403
9404 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9405
9406 * gdb.base/float128.c: New file.
9407 * gdb.base/float128.exp: Likewise.
9408 * gdb.base/floatn.c: Likewise.
9409 * gdb.base/floatn.exp: Likewise.
9410
9411 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9412
9413 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9414
9415 2016-09-05 Pedro Alves <palves@redhat.com>
9416
9417 PR backtrace/19927
9418 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9419 unwinders are immediately called as side effect of "source" or
9420 "disable unwinder" commands.
9421 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9422
9423 2016-09-02 Yao Qi <yao.qi@linaro.org>
9424
9425 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9426 is true and $type is "float" or "double".
9427
9428 2016-09-02 Yao Qi <yao.qi@linaro.org>
9429
9430 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9431 true.
9432 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9433 * gdb.base/call-rt-st.exp: Likewise.
9434 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9435 return value instead of gdb,skip_float_test.
9436 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9437 (do_function_calls): Use its return value instead of
9438 gdb,skip_float_test.
9439 * gdb.base/finish.exp: Likewise.
9440 * gdb.base/funcargs.exp: Likewise.
9441 * gdb.base/return.exp: Likewise.
9442 * gdb.base/return2.exp: Likewise.
9443 * gdb.base/varargs.exp: Likewise.
9444 * lib/gdb.exp (gdb_skip_float_test): Change it to
9445 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9446
9447 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9448
9449 * gdb.multi/tids.exp: Test "thread apply all".
9450
9451 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9452
9453 * gdb.base/default.exp (tty): Remove.
9454
9455 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9456
9457 * gdb.python/py-recurse-unwind.c: New file.
9458 * gdb.python/py-recurse-unwind.py: New file.
9459 * gdb.python/py-recurse-unwind.exp: New file.
9460
9461 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9462
9463 * gdb.base/set-inferior-tty.exp: New file.
9464 * gdb.base/set-inferior-tty.c: New file.
9465
9466 2016-08-23 Pedro Alves <palves@redhat.com>
9467
9468 PR gdb/20494
9469 * gdb.base/new-ui-echo.c: New file.
9470 * gdb.base/new-ui-echo.exp: New file.
9471
9472 2016-08-23 Yao Qi <yao.qi@linaro.org>
9473
9474 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9475 gdbserver_spawn.
9476 * gdb.server/connect-without-multi-process.exp (do_test):
9477 Likewise.
9478
9479 2016-08-23 Yao Qi <yao.qi@linaro.org>
9480
9481 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9482 standalone_txt. Delete gdb_txt and standalone_txt on host
9483 and target. Spawn the binary on target. Copy files from
9484 target to host.
9485
9486 2016-08-22 Pedro Alves <palves@redhat.com>
9487
9488 PR gdb/20505
9489 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9490 with_test_prefix. Factor out bits to ...
9491 (test_no_vdso): ... this new procedure.
9492
9493 2016-08-19 Carl Love <cel@us.ibm.com>
9494
9495 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9496 maintaining separate logic for constructing the output path.
9497 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9498 * gdb.arch/ppc-dfp.exp: Likewise.
9499 * gdb.arch/ppc-fp.exp: Likewise.
9500 * gdb.arch/vsx-regs.exp: Likewise.
9501 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9502 binprefix for generating the additional binary files.
9503
9504 2016-08-19 Pedro Alves <palves@redhat.com>
9505
9506 * gdb.trace/mi-trace-frame-collected.exp
9507 (test_trace_frame_collected): On x32, expect two registers.
9508
9509 2016-08-18 Carl Love <cel@us.ibm.com>
9510
9511 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9512 and sync up the test with tests in gas/testsuite/gas/ppc.
9513 * gdb.arch/powerpc-power.exp: Likewise.
9514
9515 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9516
9517 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9518 expected error message.
9519
9520 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9521
9522 * gdb.multi/remove-inferiors.exp: New file.
9523 * gdb.multi/remove-inferiors.c: New file.
9524
9525 2016-08-12 Yao Qi <yao.qi@linaro.org>
9526
9527 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9528 argument list.
9529
9530 2016-08-10 Pedro Alves <palves@redhat.com>
9531
9532 PR gdb/19187
9533 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9534 setup_kfails.
9535
9536 2016-08-09 Pedro Alves <palves@redhat.com>
9537 Simon Marchi <simon.marchi@ericsson.com>
9538
9539 PR gdb/20418
9540 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9541 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9542
9543 2016-08-09 Pedro Alves <palves@redhat.com>
9544
9545 PR mi/20431
9546 * gdb.mi/mi-cmd-error.exp: New file.
9547
9548 2016-08-09 Pedro Alves <palves@redhat.com>
9549
9550 PR gdb/18653
9551 * gdb.base/signals-state-child.c: New file.
9552 * gdb.base/signals-state-child.exp: New file.
9553 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9554
9555 2016-08-09 Pedro Alves <palves@redhat.com>
9556
9557 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9558
9559 2016-08-03 Tom Tromey <tom@tromey.com>
9560
9561 PR python/18565:
9562 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9563
9564 2016-08-01 Yao Qi <yao.qi@linaro.org>
9565
9566 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9567 variable mode to "multi-process" if $multi_process is 1, otherwise
9568 set it to "single-process".
9569
9570 2016-08-01 Yao Qi <yao.qi@linaro.org>
9571
9572 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9573 * gdb.cp/cpexprs.exp: Likewise.
9574 * gdb.cp/m-static.exp: Likewise.
9575
9576 2016-07-26 Tom Tromey <tom@tromey.com>
9577
9578 PR python/20190:
9579 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9580 test.
9581
9582 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9583
9584 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9585 selecting assembly source files.
9586 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9587 assembly source files.
9588 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9589 assembly source files.
9590 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9591 selecting assembly source files.
9592
9593 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9594
9595 * gdb.base/new-ui.exp (do_test_invalid_args): New
9596 procedure.
9597
9598 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9599
9600 * gdb.btrace/reconnect.c: New file.
9601 * gdb.btrace/reconnect.exp: New file.
9602
9603 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9604
9605 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9606 to test_catch_syscall_group.
9607 (test_catch_syscall_group): New.
9608
9609 2016-07-21 Tom Tromey <tom@tromey.com>
9610
9611 * gdb.rust/simple.rs (main): Use empty struct expression.
9612 * gdb.rust/simple.exp: Add tests for empty struct expression.
9613
9614 2016-07-21 Yao Qi <yao.qi@linaro.org>
9615
9616 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9617 if gdb_skip_xml_test is true on some targets.
9618
9619 2016-07-21 Yao Qi <yao.qi@linaro.org>
9620
9621 * gdb.server/solib-list.exp: Unset last_loaded_file.
9622
9623 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9624
9625 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9626 "step into captured_main (args)".
9627
9628 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9629
9630 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9631
9632 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9633
9634 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9635
9636 2016-07-19 Pedro Alves <palves@redhat.com>
9637
9638 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9639 * gdb.opt/inline-bt.exp: Likewise.
9640 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9641 additional_flags=-Winline.
9642 * gdb.opt/inline-locals.exp: Likewise.
9643 * gdb.opt/inline-markers.c (ATTR): Define.
9644 (inlined_fn): Use it.
9645
9646 2016-07-19 Yao Qi <yao.qi@linaro.org>
9647
9648 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9649 (test_with_self): Remove some code. Remove argument executable.
9650 (top-level): Use do_self_tests.
9651
9652 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9653 Don Breazeal <donb@codesourcery.com>
9654
9655 * gdb.base/maint.exp: Escape paths used in regular expressions.
9656 * gdb.stabs/weird.exp: Likewise.
9657
9658 2016-07-13 Tom Tromey <tom@tromey.com>
9659
9660 PR python/15620, PR python/18620:
9661 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9662 (test_bkpt_events): New procs.
9663
9664 2016-07-13 Tom Tromey <tom@tromey.com>
9665
9666 PR python/17698:
9667 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9668 test.
9669 (test_watchpoints): Likewise.
9670 (test_bkpt_pending): New proc.
9671
9672 2016-07-13 Tom Tromey <tom@tromey.com>
9673
9674 PR cli/18053:
9675 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9676 completion test.
9677
9678 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9679
9680 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9681 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9682 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9683 f_label.
9684 (g): Rename g_end_lbl to g_label.
9685 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9686 low_pc and high_pc.
9687 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9688
9689 2016-07-12 Tom Tromey <tom@tromey.com>
9690
9691 PR python/19293:
9692 * gdb.python/py-unwind-maint.exp: Update tests.
9693
9694 2016-07-12 Yao Qi <yao.qi@linaro.org>
9695
9696 * lib/selftest-support.exp (selftest_setup): Match the output
9697 when captured_main is inlined.
9698
9699 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9700
9701 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9702 New variables.
9703 (print this%a, print this%b, print this): New tests.
9704 * gdb.fortran/derived-types.f90 (this): New object and
9705 initialization.
9706
9707 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9708
9709 * gdb.ada/arraydim.exp: Remove extra directory level in build
9710 directory.
9711
9712 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9713
9714 * lib/ada.exp: Remove extra directory level in build directory.
9715 * gdb.ada/cond_lang.exp: Likewise.
9716 * gdb.ada/exec_changed.exp: Likewise.
9717 * gdb.ada/lang_switch.exp: Likewise.
9718
9719 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9720
9721 * simple.rs: Add test for raw pointer subscripting.
9722 * simple.exp: Add test expectations.
9723
9724 2016-07-05 Yao Qi <yao.qi@linaro.org>
9725
9726 * gdb.mi/mi-reverse.exp: Match =record-started output.
9727
9728 2016-07-01 Pedro Alves <palves@redhat.com>
9729
9730 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9731 procedure.
9732 (jit_reader_test): Test the jit reader's unwinder.
9733 * gdb.base/jithost.c (jit_function_00_code): New global.
9734 (main): Use memcpy to fill in the mmapped code, instead of poking
9735 bytes manually here.
9736 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9737 value.
9738 (read_debug_info): Save the function's range.
9739 (read_sp): New function.
9740 (unwind_frame): Use it. Also unwind RBP.
9741 (get_frame_id): Use read_sp.
9742 (gdb_init_reader): Use calloc instead of malloc.
9743 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9744 parameter. Use gdb_test_multiple.
9745
9746 2016-07-01 Pedro Alves <palves@redhat.com>
9747 Antoine Tremblay <antoine.tremblay@ericsson.com>
9748
9749 * gdb.threads/process-dies-while-detaching.c: New file.
9750 * gdb.threads/process-dies-while-detaching.exp: New file.
9751
9752 2016-07-01 Pedro Alves <palves@redhat.com>
9753
9754 * gdb.multi/watchpoint-multi-exit.c: New file.
9755 * gdb.multi/watchpoint-multi-exit.exp: New file.
9756
9757 2016-06-30 Pedro Alves <palves@redhat.com>
9758
9759 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9760 unset inferior_spawn_id.
9761
9762 2016-06-30 Pedro Alves <palves@redhat.com>
9763
9764 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9765 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9766
9767 2016-06-29 Yao Qi <yao.qi@linaro.org>
9768
9769 * gdb.base/return.c: Add copyright header.
9770
9771 2016-06-29 Tom Tromey <tom@tromey.com>
9772
9773 PR python/20129:
9774 * gdb.python/py-framefilter.exp: Add tests for setting priority
9775 and disabling of non-existent frame filter.
9776
9777 2016-06-29 Yao Qi <yao.qi@linaro.org>
9778
9779 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9780 0x0f07ff.
9781
9782 2016-06-28 Yao Qi <yao.qi@linaro.org>
9783
9784 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9785 triplets. Start gdb, execute catch syscall, and continue. Check
9786 gdb's output to determine catch syscall is supported.
9787
9788 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9789
9790 * gdb.rust/simple.rs: Add test for returning unit in a function.
9791 * gdb.rust/simple.exp: Add expectation for functions returning
9792 unit.
9793
9794 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9795
9796 * gdb.python/py-breakpoint-create-fail.c,
9797 gdb.python/py-breakpoint-create-fail.exp,
9798 gdb.python/py-breakpoint-create-fail.py: New testcase.
9799
9800 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9801
9802 PR gdb/20239
9803 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9804 * gdb.rust/simple.exp: Add test expectations for new NonZero
9805 tests.
9806
9807 2016-06-24 David Taylor <dtaylor@emc.com>
9808
9809 * gdb.base/offsets.exp: New file.
9810 * gdb.base/offsets.c: New file.
9811
9812 2016-06-23 Tom Tromey <tom@tromey.com>
9813
9814 PR gdb/16483:
9815 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9816 before any filters are loaded.
9817
9818 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9819
9820 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9821 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9822 structs.
9823 * gdb.fortran/derived-type-function.exp: New file.
9824 * gdb.fortran/derived-type-function.f90: New file.
9825
9826
9827 2016-06-21 Pedro Alves <palves@redhat.com>
9828
9829 * gdb.base/new-ui.exp: New file.
9830 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9831 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9832 (with_spawn_id): New procedure.
9833
9834 2016-06-21 Pedro Alves <palves@redhat.com>
9835
9836 * gdb.mi/mi-exec-run.exp: New file.
9837
9838 2016-06-21 Pedro Alves <palves@redhat.com>
9839
9840 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9841 breakpoint command's output on the main UI.
9842 (test_break): New procedure, factored out from calls in the top
9843 level.
9844 (top level): Use foreach_with_prefix to test MI as main UI and as
9845 separate UI.
9846
9847 2016-06-21 Pedro Alves <palves@redhat.com>
9848
9849 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9850 (test_awatch_creation_and_listing)
9851 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9852 Remove 'type' parameter.
9853 (test_watchpoint_all): New parameter mi_mode. Remove
9854 with_test_prefix.
9855 (top level): Use foreach_with_prefix, and add main/separate UI MI
9856 testing axis.
9857
9858 2016-06-21 Pedro Alves <palves@redhat.com>
9859
9860 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9861 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9862 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9863 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9864 (gdb_main_spawn_id, mi_spawn_id): Declare and
9865 comment.
9866 (mi_create_inferior_pty): New procedure,
9867 factored out from default_mi_gdb_start.
9868 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9869 procedures.
9870 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9871 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9872 Use mi_create_inferior_pty.
9873 (mi_gdb_start): Use eval to pass down args list.
9874
9875 2016-06-21 Pedro Alves <palves@redhat.com>
9876
9877 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9878 * gdb.opt/inline-cmds.exp: Add MI tests.
9879
9880 2016-06-21 Pedro Alves <palves@redhat.com>
9881
9882 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9883
9884 2016-06-21 Pedro Alves <palves@redhat.com>
9885
9886 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9887 (top level): Use it instead of mi_execute_to.
9888
9889 2016-06-21 Pedro Alves <palves@redhat.com>
9890
9891 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9892 (cont_handler_str): New.
9893 (signal_stop_handler): Set stop_handler_str instead of printing to
9894 stdout.
9895 (continue_handler): Set cont_handler_str instead of printing to
9896 stdout.
9897 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9898 mi_send_resuming_command. Print stop_handler_str and
9899 cont_handler_str instead of expecting the python events print
9900 directly.
9901
9902 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9903
9904 * gdb.base/jit-reader.exp: New file.
9905 * gdb.base/jithost.c: New file.
9906 * gdb.base/jithost.h: New file.
9907 * gdb.base/jitreader.c : New file.
9908 * gdb.base/jit-protocol.h: New file.
9909
9910 2016-06-17 Yao Qi <yao.qi@linaro.org>
9911
9912 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9913 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9914 and detach-on-fork. Adjust tests.
9915 (top level): Invoke break_cond_on_syscall with combinations of
9916 syscall, follow-fork-mode and detach-on-fork.
9917
9918 2016-06-17 Yao Qi <yao.qi@linaro.org>
9919
9920 * gdb.base/step-over-exit.c: New.
9921 * gdb.base/step-over-exit.exp: New.
9922
9923 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9924
9925 * gdb.base/float.exp: Add target check for nds32*-*-*.
9926 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9927
9928 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9929
9930 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9931 for unsupported target features.
9932 * gdb.base/call-rt-st.exp: Likewise.
9933 * gdb.base/call-sc.exp: Likewise.
9934 * gdb.base/call-signal-resume.exp: Likewise.
9935 * gdb.base/call-strs.exp: Likewise.
9936 * gdb.base/callexit.exp: Likewise.
9937 * gdb.base/callfuncs.exp: Likewise.
9938 * gdb.base/nodebug.exp: Likewise.
9939 * gdb.base/printcmds.exp: Likewise.
9940 * gdb.base/ptype.exp: Likewise.
9941 * gdb.base/structs.exp: Likewise.
9942 * gdb.base/unwindonsignal.exp: Likewise.
9943 * gdb.cp/gdb2495.exp: Likewise.
9944 * gdb.cp/templates.exp: Likewise.
9945 * gdb.cp/virtfunc.exp: Likewise.
9946 * gdb.threads/hand-call-in-threads.exp: Likewise.
9947 * gdb.threads/interrupted-hand-call.exp: Likewise.
9948 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9949
9950 2016-06-10 Tom Tromey <tom@tromey.com>
9951
9952 PR rust/20110:
9953 * gdb.rust/expr.exp: Add test for integer constant larger than
9954 i32.
9955
9956 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9957
9958 * gdb.fortran/nested-funcs.exp: New.
9959 * gdb.fortran/nested-funcs.f90: New.
9960
9961 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9962
9963 * gdb.base/examine-backward.c: New file.
9964 * gdb.base/examine-backward.exp: New file.
9965
9966 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9967
9968 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9969 matching.
9970
9971 2016-06-02 Tom Tromey <tom@tromey.com>
9972
9973 PR python/18984:
9974 * gdb.python/py-shared.exp: Add solib_name test.
9975
9976 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9977
9978 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9979
9980 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9981
9982 PR c++/19893
9983 * gdb.dwarf2/implref.exp: Rename to...
9984 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9985 * gdb.dwarf2/implref-array.c: New file.
9986 * gdb.dwarf2/implref-array.exp: Likewise.
9987 * gdb.dwarf2/implref-global.c: Likewise.
9988 * gdb.dwarf2/implref-global.exp: Likewise.
9989 * gdb.dwarf2/implref-struct.c: Likewise.
9990 * gdb.dwarf2/implref-struct.exp: Likewise.
9991
9992 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9993
9994 * gdb.trace/trace-condition.exp: Add 64bit tests.
9995
9996 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9997
9998 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9999 bits types.
10000 (main): Adapt to 8 to 64 bits types.
10001 * gdb.trace/trace-condition.exp: Add new tests.
10002
10003 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10004
10005 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10006
10007 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10008
10009 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10010 Move condition tests...
10011 * gdb.trace/trace-condition.exp: Here.
10012
10013 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10014
10015 * gdb.trace/trace-condition.exp: Add counter-case tests.
10016
10017 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10018
10019 PR c++/15231
10020 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10021 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10022
10023 2016-05-27 Pedro Alves <palves@redhat.com>
10024
10025 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10026 New procedure.
10027 (top level): Call it, and bail out of DejaGnu is known to be bad.
10028
10029 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10030
10031 * gdb.base/whatis.c: Extend the test case.
10032 * gdb.base/whatis.exp: Add additional tests.
10033
10034 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10035
10036 * gdb.fortran/type.f90: Add pointer variable.
10037 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10038
10039 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10040
10041 * gdb.fortran/vla-type.exp: Fix testcase name.
10042
10043 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10044
10045 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10046
10047 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10048
10049 * gdb.fortran/type.f90: Add nested structures.
10050 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10051 * gdb.fortran/derived-type.exp: Adapt expected output.
10052 * gdb.fortran/vla-type.exp: Adapt expected output.
10053
10054 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10055
10056 * gdb.fortran/whatis_type.exp: Adapt expected output.
10057
10058 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10059
10060 * gdb.fortran/print_type.exp: Fix expected output.
10061 * gdb.fortran/whatis_type.exp: Fix expected output.
10062
10063 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10064
10065 * gdb.fortran/whatis_type.exp: Use multi_line.
10066
10067 2016-05-24 Tom Tromey <tom@tromey.com>
10068
10069 PR python/17386:
10070 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10071 use value as an index.
10072
10073 2016-05-23 Tom Tromey <tom@tromey.com>
10074
10075 PR python/17981:
10076 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10077 no-breakpoint case.
10078
10079 2016-05-24 Pedro Alves <palves@redhat.com>
10080
10081 PR gdb/19828
10082 * gdb.threads/clone-attach-detach.c: New file.
10083 * gdb.threads/clone-attach-detach.exp: New file.
10084
10085 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10086
10087 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10088
10089 2016-05-23 Tom Tromey <tom@tromey.com>
10090
10091 PR python/19438, PR python/18393:
10092 * gdb.python/py-progspace.exp: Add "dir" test.
10093 * gdb.python/py-objfile.exp: Add "dir" test.
10094
10095 2016-05-23 Yao Qi <yao.qi@linaro.org>
10096
10097 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10098 * gdb.arch/thumb2-it.exp: Likewise.
10099
10100 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10101
10102 * gdb.mi/mi-threads-interrupt.c: New file.
10103 * gdb.mi/mi-threads-interrupt.exp: New file.
10104
10105 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10106
10107 PR gdb/18077
10108 * gdb.mi/mi-async-run.exp: New file.
10109 * gdb.mi/mi-async-run.c: New file.
10110
10111 2016-05-17 Tom Tromey <tom@tromey.com>
10112 Manish Goregaokar <manishsmail@gmail.com>
10113
10114 * lib/rust-support.exp: New file.
10115 * lib/gdb.exp (skip_rust_tests): New proc.
10116 (build_executable_from_specs): Handle rust.
10117 * lib/future.exp (gdb_find_rustc): New proc.
10118 (gdb_default_target_compile): Handle rust.
10119 * gdb.rust/expr.exp: New file.
10120 * gdb.rust/generics.exp: New file.
10121 * gdb.rust/generics.rs: New file.
10122 * gdb.rust/methods.exp: New file.
10123 * gdb.rust/methods.rs: New file.
10124 * gdb.rust/modules.exp: New file.
10125 * gdb.rust/modules.rs: New file.
10126 * gdb.rust/simple.exp: New file.
10127 * gdb.rust/simple.rs: New file.
10128
10129 2016-05-17 Tom Tromey <tom@tromey.com>
10130
10131 * gdb.base/default.exp (set language): Add rust.
10132
10133 2016-05-17 Tom Tromey <tom@tromey.com>
10134
10135 * gdb.gdb/unittest.exp: New file.
10136
10137 2016-05-16 Yao Qi <yao.qi@linaro.org>
10138
10139 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10140 shell_prompt. Update shell_prompt_re.
10141
10142 2016-05-12 Doug Evans <dje@google.com>
10143
10144 PR symtab/19999
10145 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10146 $options when building executable.
10147 * gdb.dwarf2/fission-loclists-pie.S: New file.
10148 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10149
10150 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10151
10152 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10153 of [is_remote target],
10154
10155 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10156
10157 * lib/gdb.exp (use_gdb_stub): New procedure.
10158
10159 2016-05-03 Yunlian Jiang <yunlian@google.com>
10160 Doug Evans <dje@google.com>
10161
10162 PR symtab/19914
10163 * gdb.dwarf2/dwp-sepdebug.c: New file.
10164 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10165
10166 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10167
10168 * gdb.base/detach.exp: Remove is_remote check.
10169
10170 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10171
10172 * gdb.base/annota-input-while-running.exp: Don't check for
10173 [is_remote target]. Enable annotations after running to main.
10174 Remove unused "set test..." line.
10175
10176 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10177
10178 * gdb.trace/trace-enable-disable.exp: New file.
10179 * gdb.trace/trace-enable-disable.c: New file.
10180
10181 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10182
10183 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10184 use it in info sharedlibrary test.
10185 * gdb.trace/ftrace-lock.exp: Likewise.
10186 * gdb.trace/ftrace.exp: Likewise.
10187 * gdb.trace/range-stepping.exp: Likewise.
10188 * gdb.trace/trace-break.exp: Likewise.
10189 * gdb.trace/trace-condition.exp: Likewise.
10190 * gdb.trace/trace-mt.exp: Likewise.
10191
10192 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10193
10194 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10195 (gdb_load_shlib): ... this.
10196 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10197 gdb_load_shlib.
10198 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10199 * gdb.base/ctxobj.exp: Likewise.
10200 * gdb.base/dprintf-pending.exp: Likewise.
10201 * gdb.base/dso2dso.exp: Likewise.
10202 * gdb.base/fixsection.exp: Likewise.
10203 * gdb.base/gcore-relro.exp: Likewise.
10204 * gdb.base/gdb1555.exp: Likewise.
10205 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10206 * gdb.base/gnu-ifunc.exp: Likewise.
10207 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10208 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10209 * gdb.base/pending.exp: Likewise.
10210 * gdb.base/print-file-var.exp: Likewise.
10211 * gdb.base/print-symbol-loading.exp: Likewise.
10212 * gdb.base/shlib-call.exp: Likewise.
10213 * gdb.base/shreloc.exp: Likewise.
10214 * gdb.base/so-impl-ld.exp: Likewise.
10215 * gdb.base/solib-disc.exp: Likewise.
10216 * gdb.base/solib-nodir.exp: Likewise.
10217 * gdb.base/solib-overlap.exp: Likewise.
10218 * gdb.base/solib-symbol.exp: Likewise.
10219 * gdb.base/solib-weak.exp (do_test): Likewise.
10220 * gdb.base/sym-file.exp: Likewise.
10221 * gdb.base/symtab-search-order.exp: Likewise.
10222 * gdb.base/type-opaque.exp: Likewise.
10223 * gdb.base/unload.exp: Likewise.
10224 * gdb.base/watchpoint-solib.exp: Likewise.
10225 * gdb.compile/compile.exp: Likewise.
10226 * gdb.cp/gdb2384.exp: Likewise.
10227 * gdb.cp/infcall-dlopen.exp: Likewise.
10228 * gdb.cp/re-set-overloaded.exp: Likewise.
10229 * gdb.fortran/library-module.exp: Likewise.
10230 * gdb.opt/solib-intra-step.exp: Likewise.
10231 * gdb.python/py-finish-breakpoint.exp: Likewise.
10232 * gdb.python/py-shared.exp: Likewise.
10233 * gdb.reverse/solib-precsave.exp: Likewise.
10234 * gdb.reverse/solib-reverse.exp: Likewise.
10235 * gdb.server/solib-list.exp: Likewise.
10236 * gdb.threads/dlopen-libpthread.exp: Likewise.
10237 * gdb.threads/tls-shared.exp: Likewise.
10238 * gdb.threads/tls-so_extern.exp: Likewise.
10239 * gdb.trace/change-loc.exp: Likewise.
10240 * gdb.trace/ftrace-lock.exp: Likewise.
10241 * gdb.trace/ftrace.exp: Likewise.
10242 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10243 * gdb.trace/pending.exp: Likewise.
10244 * gdb.trace/range-stepping.exp: Likewise.
10245 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10246 (strace_info_marker): Likewise.
10247 (strace_probe_marker): Likewise.
10248 (strace_trace_on_same_addr): Likewise.
10249 (strace_trace_on_diff_addr): Likewise.
10250 * gdb.trace/trace-break.exp: Likewise.
10251 * gdb.trace/trace-condition.exp: Likewise.
10252 * gdb.trace/trace-mt.exp: Likewise.
10253
10254 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10255
10256 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10257 result of gdb_remote_download.
10258 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10259 * gdb.base/dso2dso.exp: Likewise.
10260 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10261 * gdb.base/print-file-var.exp: Likewise.
10262 * gdb.base/shlib-call.exp: Likewise.
10263 * gdb.base/shreloc.exp: Likewise.
10264 * gdb.base/solib-overlap.exp: Likewise.
10265 * gdb.base/solib-weak.exp (do_test): Likewise.
10266 * gdb.base/unload.exp: Likewise.
10267
10268 2016-04-27 Yao Qi <yao.qi@linaro.org>
10269
10270 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10271 exists.
10272
10273 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10274
10275 * vla-type.exp: Print structure from toplevel.
10276
10277 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10278
10279 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10280 of dynamic types.
10281 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10282 of dynamic types.
10283
10284 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10285
10286 * gdb.fortran/vla-type.f90: New file.
10287 * gdb.fortran/vla-type.exp: New file.
10288
10289 2016-04-25 Yao Qi <yao.qi@linaro.org>
10290
10291 * gdb.base/branch-to-self.c: New file.
10292 * gdb.base/branch-to-self.exp: New file.
10293
10294 2016-04-22 Yao Qi <yao.qi@linaro.org>
10295
10296 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10297 more after $hex.
10298
10299 2016-04-22 Yao Qi <yao.qi@linaro.org>
10300
10301 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10302 * gdb.base/annota3.exp: Likewise.
10303
10304 2016-04-22 Yao Qi <yao.qi@linaro.org>
10305
10306 * gdb.reverse/step-precsave.exp: Do one step and test program
10307 stops in "callee" and do multiple steps until program goes out
10308 of "callee".
10309 * gdb.reverse/step-reverse.exp: Likewise.
10310
10311 2016-04-22 Yao Qi <yao.qi@linaro.org>
10312
10313 * gdb.trace/signal.exp: Also pass if
10314 $tracepoint_hits($i) > $iterations.
10315
10316 2016-04-22 Yao Qi <yao.qi@linaro.org>
10317
10318 * gdb.trace/signal.c: New file.
10319 * gdb.trace/signal.exp: New file.
10320
10321 2016-04-19 Doug Evans <xdje42@gmail.com>
10322
10323 * gdb.base/bad-file.exp: New file.
10324
10325 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10326
10327 * gdb.dwarf2/implref.exp: New file.
10328
10329 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10330
10331 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10332 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10333 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10334 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10335 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10336 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10337 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10338 * lib/fortran.exp (fortran_int4): New procedure.
10339 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10340 (fortran_logical4): Likewise.
10341
10342 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10343
10344 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10345
10346 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10347
10348 * lib/compiler.c: Add Intel specific preprocessor macros.
10349 * lib/compiler.cc: Likewise.
10350
10351 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
10352
10353 * gdb.server/connect-with-no-symbol-file.c: New file.
10354 * gdb.server/connect-with-no-symbol-file.exp: New file.
10355
10356 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10357
10358 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10359
10360 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10361
10362 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10363 standard output directory.
10364
10365 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10366
10367 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10368
10369 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10370
10371 * gdb.btrace/instruction_history.c (loop): Add declaration.
10372
10373 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10374
10375 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10376
10377 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10378
10379 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10380 parentheses to print.
10381 (continue_handler): Likewise.
10382
10383 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10384
10385 * gdb.server/solib-list.exp: Remove is_remote check.
10386 Pass shlib= to gdb_compile. Don't link shared library with
10387 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10388 Run binary filename through "readlink -f" on the target.
10389
10390 2016-04-08 Pedro Alves <palves@redhat.com>
10391
10392 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10393 interpreter filename as argument to gdbserver_spawn.
10394 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10395 Return empty if $last_loaded_file does not exist.
10396
10397 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10398
10399 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10400 * gdb.base/jit-main.c: Use exit after usage.
10401
10402 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10403
10404 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10405 GDBHISTSIZE prior to the tests.
10406 * gdb.base/gdbinit-history.exp: Likewise.
10407
10408 2016-04-07 Pedro Alves <palves@redhat.com>
10409
10410 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10411 instead of build_executable. Use gdb_load_shlibs.
10412
10413 2016-04-07 Yao Qi <yao.qi@linaro.org>
10414
10415 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10416 Execute "si" command.
10417
10418 2016-04-07 Yao Qi <yao.qi@linaro.org>
10419
10420 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10421 number instead of the comments on some line.
10422
10423 2016-04-06 Don Breazeal <donb@codesourcery.com>
10424
10425 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10426 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10427
10428 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10429
10430 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10431 standard_output_file. Remove unused binfile variable.
10432
10433 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10434
10435 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10436 * gdb.python/py-mi-objfile.exp: Match "list main" output
10437 in console format.
10438
10439 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10440
10441 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10442 absolute.
10443
10444 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10445
10446 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10447 absolute.
10448 * gdb.trace/ftrace.exp: Likewise.
10449 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10450 targets as well.
10451 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10452 (gdb_load_shlibs): Copy libraries to test directory when testing
10453 natively. Only set solib-search-path if testing remotely.
10454 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10455
10456 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10457
10458 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10459 gdb_download. Use it even if the target is not remote.
10460 * gdb.base/jit.exp (compile_jit_test): Likewise.
10461 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10462 output directory if the destination board is local, otherwise use
10463 the standard remote_download from DejaGnu.
10464 (gdb_download): Remove.
10465 (gdb_load_shlibs): Use gdb_remote_download instead of
10466 gdb_download.
10467 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10468 Use gdb_remote_download instead of gdb_download. Use it even if
10469 the target is not remote.
10470 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10471 instead of gdb_download.
10472
10473 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10474
10475 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10476 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10477 run.
10478
10479 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10480
10481 PR gdb/19820
10482 * gdb.base/printcmds.exp: Add artificial arrays tests.
10483
10484 2016-03-31 Pedro Alves <palves@redhat.com>
10485
10486 PR gdb/19858
10487 * gdb.base/jit-main.c: Include unistd.h.
10488 (ATTACH): Define to 0 if not already defined.
10489 (wait_for_gdb, mypid): New globals.
10490 (WAIT_FOR_GDB): New macro.
10491 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10492 some breakpoint locations.
10493 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10494 New procedures.
10495 (one_jit_test): Add REATTACH parameter, and handle it. Use
10496 continue_to_test_location.
10497 (top level): Test attach, and adjusts calls to one_jit_test.
10498
10499 2016-03-31 Pedro Alves <palves@redhat.com>
10500
10501 PR gdb/19858
10502 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10503 BINSUFFIX parameter, and handle it.
10504 (top level): Adjust calls compile_jit_test.
10505
10506 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10507
10508 PR python/19743
10509 * gdb.python/py-mi-events-gdb.py: New file.
10510 * gdb.python/py-mi-events.c: New file.
10511 * gdb.python/py-mi-events.exp: New file.
10512
10513 2016-03-30 Yao Qi <yao.qi@linaro.org>
10514
10515 * gdb.reverse/until-precsave.exp: Match function name only.
10516 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10517 Move malloc to a condition block.
10518 * gdb.reverse/until-reverse.exp: Match function name only.
10519
10520 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10521
10522 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10523 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10524 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10525 variable for GPR 0 instead of assuming it is register 0.
10526 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10527 * lib/trace-support.exp: Add s390 registers.
10528
10529 2016-03-29 Yao Qi <yao.qi@linaro.org>
10530
10531 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10532
10533 2016-03-24 Yao Qi <yao.qi@linaro.org>
10534
10535 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10536 test message.
10537
10538 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10539
10540 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10541 maintaining separate logic for constructing the output path.
10542
10543 2016-03-16 Don Breazeal <donb@codesourcery.com>
10544
10545 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10546 Retry fork and waitpid on interrupted system call errors.
10547 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10548 Use with_timeout_factor to increase timeout by factor of 10.
10549
10550 2016-03-15 Don Breazeal <donb@codesourcery.com>
10551
10552 * gdb.cp/scope-err.cc: New test program.
10553 * gdb.cp/scope-err.exp: New test script.
10554 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10555 lines and "set breakpoint here" comment.
10556 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10557 Fixed some whitespace and format issues.
10558 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10559 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10560
10561 2016-03-15 Doug Evans <dje@google.com>
10562
10563 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10564 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10565 All callers updated. Add tests for enums, mixed flags register.
10566
10567 2016-03-15 Doug Evans <dje@google.com>
10568
10569 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10570 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10571
10572 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10573
10574 * gdb.base/default.exp: Add $_as_string to the list of expected
10575 convenience functions.
10576
10577 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10578
10579 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10580
10581 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10582
10583 * gdb.python/py-as-string.exp: New file.
10584 * gdb.python/py-as-string.c: New file.
10585
10586 2016-03-09 Pedro Alves <palves@redhat.com>
10587
10588 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10589 signal" -> "Thread NN received signal" output change.
10590 * gdb.threads/ia64-sigill.exp: Likewise.
10591 * gdb.threads/linux-dp.exp: Likewise.
10592 * gdb.threads/manythreads.exp: Likewise.
10593 * gdb.threads/pending-step.exp: Likewise.
10594 * gdb.threads/print-threads.exp: Likewise.
10595 * gdb.threads/sigstep-threads.exp: Likewise.
10596 * gdb.threads/staticthreads.exp: Likewise.
10597 * gdb.threads/tls.exp: Likewise.
10598
10599 2016-03-09 Pedro Alves <palves@redhat.com>
10600
10601 * gdb.base/command-line-input.exp: New file.
10602
10603 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10604
10605 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10606 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10607 * gdb.trace/pending.exp: Accept leading dot before function name.
10608 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10609 * lib/trace-support.exp: Set registers for ppc.
10610
10611 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10612
10613 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10614 use it for disassembly; accept .main in addition to main in backtrace.
10615
10616 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10617 Marcin Kościelnicki <koriakin@0x04.net>
10618
10619 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10620 (gdb_recursion_test_ptr): New global variable.
10621 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10622 gdb_recursion_test.
10623 (gdb_c_test): Ditto.
10624
10625 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10626
10627 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10628 ordering.
10629
10630 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10631
10632 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10633 (bar): Add bar_start_lbl label.
10634 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10635 of foo/bar for emitting DWARF and tracing.
10636
10637 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10638
10639 * analyze-racy-logs.py: Set executable bit.
10640
10641 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10642
10643 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10644 (CHECK_TARGET_TMP): Likewise.
10645 (check-single-racy): New rule.
10646 (check-parallel-racy): Likewise.
10647 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10648 (do-check-parallel-racy): New rule.
10649 (check-racy/%.exp): Likewise.
10650 * README (Racy testcases): New section.
10651 * analyze-racy-logs.py: New file.
10652
10653 2016-03-03 Doug Evans <dje@google.com>
10654
10655 * gdb.base/skip.exp: Use with_test_prefix.
10656
10657 2016-03-03 Yao Qi <yao.qi@linaro.org>
10658
10659 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10660 Invoke step_over_syscall "clone" and break_cond_on_syscall
10661 "clone".
10662 * gdb.base/step-over-clone.c: New file.
10663
10664 2016-03-03 Yao Qi <yao.qi@linaro.org>
10665
10666 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10667 code format.
10668
10669 2016-03-03 Yao Qi <yao.qi@linaro.org>
10670
10671 * gdb.base/disp-step-fork.c: Rename to ...
10672 * gdb.base/step-over-fork.c: ... it. New file.
10673 * gdb.base/disp-step-vfork.c: Rename to ...
10674 * gdb.base/step-over-vfork.c: ... it. New file.
10675 * gdb.base/disp-step-syscall.exp: Rename to ...
10676 * gdb.base/step-over-syscall.exp: ... it. New file.
10677 (disp_step_cross_syscall): Rename to ...
10678 (step_over_syscall): ... it.
10679
10680 2016-03-03 Yao Qi <yao.qi@linaro.org>
10681
10682 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10683 If target supports condition evaluation on target, invoke
10684 break_cond_on_syscall for fork and vfork.
10685
10686 2016-03-03 Yao Qi <yao.qi@linaro.org>
10687
10688 * gdb.base/disp-step-syscall.exp: Don't invoke
10689 support_displaced_stepping.
10690 (disp_step_cross_syscall): Test with displaced stepping off and
10691 on if supported.
10692
10693 2016-03-03 Yao Qi <yao.qi@linaro.org>
10694
10695 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10696 proc.
10697 (setup): New proc.
10698 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10699 and setup.
10700
10701 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10702
10703 * gdb.fortran/vla-history.exp: Remove breakpoint.
10704
10705 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10706
10707 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10708 exceeds timeout.
10709
10710 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10711
10712 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10713 breakpoint.
10714
10715 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10716
10717 * gdb.mi/vla.f90: Nullify pointer after declaration.
10718
10719 2016-03-01 Pedro Alves <palves@redhat.com>
10720
10721 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10722
10723 2016-03-01 Pedro Alves <palves@redhat.com>
10724
10725 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10726 before anything else.
10727 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10728 _GNU_SOURCE here.
10729 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10730 before anything else.
10731 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10732
10733 2016-03-01 Pedro Alves <palves@redhat.com>
10734
10735 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10736
10737 2016-03-01 Yao Qi <yao.qi@linaro.org>
10738
10739 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10740 prepare_for_testing.
10741
10742 2016-03-01 Yao Qi <yao.qi@linaro.org>
10743
10744 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10745
10746 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10747
10748 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10749 manually constructing the output path.
10750
10751 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10752
10753 * gdb.arch/s390-stackless.S: New.
10754 * gdb.arch/s390-stackless.exp: New.
10755
10756 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10757
10758 * gdb.dlang/circular.c: New file.
10759 * gdb.dlang/circular.exp: New file.
10760
10761 2016-02-26 Yao Qi <yao.qi@linaro.org>
10762
10763 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10764 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10765 (testcases): Update.
10766
10767 2016-02-26 Yao Qi <yao.qi@linaro.org>
10768
10769 * gdb.reverse/aarch64.c: Rename to ...
10770 * gdb.reverse/insn-reverse.c: ... it.
10771 * gdb.reverse/aarch64.exp: Rename to ...
10772 * gdb.reverse/insn-reverse.exp: ... it.
10773
10774 2016-02-26 Yao Qi <yao.qi@linaro.org>
10775
10776 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10777 (testcase_ftype): New.
10778 (testcases): New array.
10779 (n_testcases): New.
10780 (main): Call each element in testcases.
10781 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10782 (read_testcase): New.
10783 Do the tests in a loop.
10784
10785 2016-02-25 Yao Qi <yao.qi@linaro.org>
10786
10787 * gdb.base/branches.c: Remove.
10788
10789 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10790
10791 PR gdb/13808
10792 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10793
10794 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10795
10796 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10797
10798 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10799
10800 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10801 change x86_64 call_insn to 'callq'.
10802
10803 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10804
10805 * gdb.trace/tfile-avx.c: Move to...
10806 * gdb.trace/tracefile-pseudo-reg.c: Here.
10807 * gdb.trace/tfile-avx.exp: Move to...
10808 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10809
10810 2016-02-24 Gary Benson <gbenson@redhat.com>
10811
10812 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10813 message on attach.
10814
10815 2016-02-23 Doug Evans <dje@google.com>
10816
10817 * gdb.base/skip.c (test_skip): New function.
10818 (end_test_skip_file_and_function): New function.
10819 (test_skip_file_and_function): New function.
10820 * gdb.base/skip1.c (test_skip): New function.
10821 (skip1_test_skip_file_and_function): New function.
10822 * gdb.base/skip.exp: Add tests for new skip options.
10823 * gdb.base/skip-solib.exp: Update expected output.
10824 * gdb.perf/skip-command.cc: New file.
10825 * gdb.perf/skip-command.exp: New file.
10826 * gdb.perf/skip-command.py: New file.
10827
10828 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10829
10830 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10831 info registers pattern.
10832
10833 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10834
10835 * lib/future.exp: Add D support.
10836 (gdb_find_gdc): New proc.
10837 (gdb_default_target_compile): Add D support.
10838
10839 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10840
10841 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10842 user+system time.
10843 (trace_speed_test): Determine the iteration count for a time
10844 between 15..30 seconds.
10845
10846 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10847
10848 * gdb.arch/i386-mpx-sigsegv.c: New file.
10849 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10850 * gdb.arch/i386-mpx-simple_segv.c: New file.
10851 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10852
10853 2016-02-18 Yao Qi <yao.qi@linaro.org>
10854
10855 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10856 Don't call setup_kfail.
10857
10858 2016-02-18 Yao Qi <yao.qi@linaro.org>
10859
10860 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10861 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10862
10863 2016-02-16 Doug Evans <dje@google.com>
10864
10865 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10866 * gdb.base/skip1.c: Ditto.
10867 * gdb.base/skip.exp: Whitespace cleanup.
10868
10869 2016-02-16 Don Breazeal <donb@codesourcery.com>
10870
10871 PR remote/19496
10872 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10873 Remove kfail for PR remote/19496.
10874
10875 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10876
10877 * lib/gdb.exp (standard_temp_file): Return a path specific to
10878 the runtest invocation.
10879
10880 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10881
10882 * gdb.trace/save-trace.exp: Change relative path to be in the
10883 standard output directory.
10884
10885 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10886
10887 * gdb.arch/i386-prologue.c: Add missing prototypes.
10888
10889 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10890
10891 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10892 * gdb.arch/i386-prologue.exp: Likewise.
10893 * gdb.arch/i386-size.exp: Likewise.
10894
10895 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10896
10897 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10898 define object file path.
10899 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10900 file path.
10901 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10902 standard_output_file to define binfile.
10903
10904 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10905
10906 Fix compatibility with recent gfortran-5.3.1.
10907 * gdb.fortran/vla-history.exp (print vla1 allocated)
10908 (print vla2 allocated, print $2, print $3): Remove
10909 (print $4): Rename to ...
10910 (print $2): ... here.
10911 (print $9): Rename to ...
10912 (print $5): ... here.
10913 (print $10): Rename to ...
10914 (print $6): ... here.
10915 * gdb.fortran/vla.f90: Add pvla initialization.
10916
10917 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10918
10919 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10920 New test.
10921 * gdb.fortran/vla-value-sub.exp: Likewise.
10922
10923 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10924
10925 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10926
10927 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10928
10929 * i386-biarch-core.exp: Define corefile using
10930 standard_output_file.
10931
10932 2016-02-12 Yao Qi <yao.qi@linaro.org>
10933
10934 * gdb.arch/arm-single-step-kernel-helper.c: New.
10935 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10936
10937 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10938
10939 * gdb.btrace/tailcall-only.exp: New.
10940 * gdb.btrace/tailcall-only.c: New.
10941 * gdb.btrace/x86_64-tailcall-only.S: New.
10942 * gdb.btrace/i686-tailcall-only.S: New.
10943
10944 2016-02-11 Pedro Alves <palves@redhat.com>
10945
10946 * README (Parallel testing): Add missing double quotes.
10947
10948 2016-02-11 Pedro Alves <palves@redhat.com>
10949
10950 * README (Parallel testing): New section.
10951 (GDB_PARALLEL): Rewrite.
10952 (FORCE_PARALLEL): Document.
10953
10954 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10955
10956 * gdb.trace/tfile-avx.c: New test.
10957 * gdb.trace/tfile-avx.exp: New test.
10958
10959 2016-02-09 Keith Seitz <keiths@redhat.com>
10960
10961 PR breakpoints/19546
10962 * gdb.base/infcall-exec.c: New file.
10963 * gdb.base/infcall-exec2.c: New file.
10964 * gdb.base/infcall-exec.exp: New file.
10965
10966 2016-02-09 Keith Seitz <keiths@redhat.com>
10967
10968 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10969 (toplevel): Call test_bkpt_address.
10970
10971 2016-02-09 Keith Seitz <keiths@redhat.com>
10972
10973 PR python/19506
10974 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10975 (toplevel): Call test_bkpt_address.
10976
10977 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10978
10979 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10980 to AC_OUTPUT.
10981 * configure: Regenerate.
10982
10983 2016-02-09 Pedro Alves <palves@redhat.com>
10984
10985 PR breakpoints/19548
10986 * gdb.base/execl-update-breakpoints.c (some_function): New
10987 function.
10988 (main): Call it.
10989 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10990 Tighten expected GDB output.
10991
10992 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10993
10994 * Makefile.in (ALL_SUBDIRS): Remove.
10995 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10996 (distclean maintainer-clean realclean): Likewise.
10997 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10998 * configure: Regenerate.
10999 * gdb.ada/Makefile.in: Delete.
11000 * gdb.arch/Makefile.in: Likewise.
11001 * gdb.asm/Makefile.in: Likewise.
11002 * gdb.base/Makefile.in: Likewise.
11003 * gdb.btrace/Makefile.in: Likewise.
11004 * gdb.cell/Makefile.in: Likewise.
11005 * gdb.compile/Makefile.in: Likewise.
11006 * gdb.cp/Makefile.in: Likewise.
11007 * gdb.disasm/Makefile.in: Likewise.
11008 * gdb.dlang/Makefile.in: Likewise.
11009 * gdb.dwarf2/Makefile.in: Likewise.
11010 * gdb.fortran/Makefile.in: Likewise.
11011 * gdb.gdb/Makefile.in: Likewise.
11012 * gdb.go/Makefile.in: Likewise.
11013 * gdb.guile/Makefile.in: Likewise.
11014 * gdb.java/Makefile.in: Likewise.
11015 * gdb.linespec/Makefile.in: Likewise.
11016 * gdb.mi/Makefile.in: Likewise.
11017 * gdb.modula2/Makefile.in: Likewise.
11018 * gdb.multi/Makefile.in: Likewise.
11019 * gdb.objc/Makefile.in: Likewise.
11020 * gdb.opencl/Makefile.in: Likewise.
11021 * gdb.opt/Makefile.in: Likewise.
11022 * gdb.pascal/Makefile.in: Likewise.
11023 * gdb.perf/Makefile.in: Likewise.
11024 * gdb.python/Makefile.in: Likewise.
11025 * gdb.reverse/Makefile.in: Likewise.
11026 * gdb.server/Makefile.in: Likewise.
11027 * gdb.stabs/Makefile.in: Likewise.
11028 * gdb.threads/Makefile.in: Likewise.
11029 * gdb.trace/Makefile.in: Likewise.
11030 * gdb.xml/Makefile.in: Likewise.
11031 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11032 GDB_PARALLEL.
11033 (standard_output_file): Remove check for GDB_PARALLEL, always
11034 return path in outputs/$subdir/$testname.
11035
11036 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11037
11038 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11039 (site.exp): Assign abs_srcdir to tcl's srcdir.
11040
11041 2016-02-04 Yao Qi <yao.qi@linaro.org>
11042
11043 * gdb.base/foll-exec-mode.c: Include limits.h.
11044 (main): Add parameters argc and argv. Get directory from
11045 argv[0].
11046 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11047 compilation.
11048 * gdb.base/foll-exec.c: Include limits.h.
11049 (main): Add parameters argc and argv.
11050 Get directory from argv[0].
11051 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11052 Adjust tests on the number of lines as source code changed.
11053 * gdb.base/foll-vfork-exit.c: Include limits.h.
11054 (main): Add one line of statement before vfork.
11055 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11056 (main): Add parameters argc and argv. Get directory from
11057 argv[0].
11058 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11059 (setup_gdb): Set tbreak to skip some source lines.
11060 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11061 (main): Add parameters argc and argv. Get directory from
11062 argv[0].
11063 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11064 compilation.
11065 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11066 (main): Add parameters argc and argv. Get directory from
11067 argv[0].
11068 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11069 compilation.
11070
11071 2016-02-01 Doug Evans <dje@google.com>
11072
11073 * gdb.base/skip.exp: Clean up multiple references to same test name.
11074
11075 2016-02-01 Pedro Alves <palves@redhat.com>
11076
11077 PR remote/19496
11078 * gdb.threads/forking-threads-plus-breakpoint.exp
11079 (displaced_stepping_supported): New global.
11080 (probe_displaced_stepping_support): New procedure.
11081 (do_test): Add 'displaced' parameter, and use it.
11082 (top level): Check for displaced stepping support. Add displaced
11083 stepping on/off testing axis.
11084
11085 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11086
11087 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11088 pointer. Don't perform further tests on the unassociated pointer
11089 if the first test fails.
11090
11091 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11092
11093 * gdb.base/max-value-size.c: New file.
11094 * gdb.base/max-value-size.exp: New file.
11095 * gdb.base/huge.exp: Disable max-value-size for this test.
11096
11097 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11098
11099 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11100
11101 2016-01-28 Yao Qi <yao.qi@linaro.org>
11102
11103 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11104
11105 2016-01-25 Pedro Alves <palves@redhat.com>
11106
11107 PR threads/19461
11108 * gdb.base/fork-running-state.c: New file.
11109 * gdb.base/fork-running-state.exp: New file.
11110
11111 2016-01-25 Pedro Alves <palves@redhat.com>
11112
11113 PR gdb/19494
11114 * gdb.base/catch-fork-kill.c: New file.
11115 * gdb.base/catch-fork-kill.exp: New file.
11116
11117 2016-01-25 Pedro Alves <palves@redhat.com>
11118
11119 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11120 Delete, moved to lib/gdb.exp.
11121 * gdb.threads/forking-threads-plus-breakpoint.exp
11122 (foreach_with_prefix): Likewise.
11123 * gdb.threads/process-dies-while-handling-bp.exp
11124 (foreach_with_prefix): Likewise.
11125 * lib/gdb.exp (foreach_with_prefix): New procedure.
11126
11127 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11128
11129 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11130 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11131
11132 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11133
11134 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11135 endian targets.
11136
11137 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11138 Pedro Alves <palves@redhat.com>
11139
11140 Fix testsuite compatibility with Guile.
11141 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11142 number.
11143
11144 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11145
11146 Fix testsuite compatibility with Guile.
11147 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11148 (thread 1): New test for backtrace through signal handler.
11149
11150 2016-01-22 Yao Qi <yao.qi@linaro.org>
11151
11152 PR testsuite/19491
11153 * gdb.base/multi-forks.c: Include
11154 ../lib/unbuffer_output.c
11155 (main): Call gdb_unbuffer_output.
11156
11157 2016-01-21 Doug Evans <dje@google.com>
11158
11159 * lib/ada.exp (gdb_compile_ada): Fix typo.
11160
11161 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11162
11163 * gdb.base/break-fun-addr.exp: New file.
11164 * gdb.base/break-fun-addr1.c: New file.
11165 * gdb.base/break-fun-addr2.c: New file.
11166
11167 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11168
11169 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11170 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11171 enum flag values.
11172
11173 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11174
11175 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11176 when GDB can not set the vector return value. Add more comments
11177 for clarification.
11178
11179 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11180
11181 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11182 command.
11183
11184 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11185
11186 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11187
11188 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11189
11190 * Makefile.in (check-single): Pass --status to runtest.
11191 (check/%.exp): Likewise.
11192
11193 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11194
11195 * Makefile.in (check-parallel): Propagate return code from make
11196 do-check-parallel.
11197
11198 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11199
11200 * gdb.trace/ftrace.exp: Fix expected message on continue.
11201 * gdb.trace/pending.exp: Fix expected message on continue.
11202 * gdb.trace/trace-break.exp: Fix expected message on continue.
11203
11204 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11205
11206 * lib/gdb.exp (gdb_test): Remove unused global references.
11207
11208 2016-01-18 Pedro Alves <palves@redhat.com>
11209
11210 * gdb.base/async-shell.exp: Adjust expected output.
11211 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11212 * gdb.base/siginfo-thread.exp: Adjust expected output.
11213 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11214 * gdb.java/jnpe.exp: Adjust expected output.
11215 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11216 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11217 * gdb.threads/leader-exit.exp: Adjust expected output.
11218 * gdb.threads/manythreads.exp: Adjust expected output.
11219 * gdb.threads/pthreads.exp: Adjust expected output.
11220 * gdb.threads/schedlock.exp: Adjust expected output.
11221 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11222 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11223 expected output.
11224 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11225 output.
11226 * gdb.threads/sigthread.exp: Adjust expected output.
11227 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11228
11229 2016-01-18 Yao Qi <yao.qi@linaro.org>
11230
11231 * gdb.guile/scm-section-script.c: Replace @progbits with
11232 %progbits.
11233 * gdb.python/py-section-script.c: Likewise.
11234
11235 2016-01-15 Pedro Alves <palves@redhat.com>
11236
11237 * gdb.multi/tids.exp: Test star wildcard ranges.
11238
11239 2016-01-15 Pedro Alves <palves@redhat.com>
11240
11241 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11242 command from "thread apply" invocation.
11243 (thr_apply_info_thr_invalid): Default the expected output to the
11244 input tid list.
11245 (top level): Add tests that use convenience variables. Add tests
11246 for "thread apply" with a valid TID list, but missing the command.
11247
11248 2016-01-13 Pedro Alves <palves@redhat.com>
11249
11250 * gdb.base/default.exp: Expect $_gthread as well.
11251 * gdb.multi/tids.exp: Test $_gthread.
11252 * gdb.threads/thread-specific.exp: Test $_gthread.
11253
11254 2016-01-13 Pedro Alves <palves@redhat.com>
11255
11256 * gdb.multi/tids.exp: Test "info threads -gid".
11257
11258 2016-01-13 Pedro Alves <palves@redhat.com>
11259
11260 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11261 Breakpoint.thread.
11262 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11263
11264 2016-01-07 Pedro Alves <palves@redhat.com>
11265
11266 * gdb.base/break.exp: Adjust to output changes.
11267 * gdb.base/hbreak2.exp: Likewise.
11268 * gdb.base/sepdebug.exp: Likewise.
11269 * gdb.base/watch_thread_num.exp: Likewise.
11270 * gdb.linespec/keywords.exp: Likewise.
11271 * gdb.multi/info-threads.exp: Likewise.
11272 * gdb.threads/thread-find.exp: Likewise.
11273 * gdb.multi/tids.c: New file.
11274 * gdb.multi/tids.exp: New file.
11275
11276 2016-01-13 Pedro Alves <palves@redhat.com>
11277
11278 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11279
11280 2016-01-13 Pedro Alves <palves@redhat.com>
11281
11282 * gdb.base/default.exp: Expect $_inferior as well.
11283 * gdb.multi/base.exp: Test $_inferior.
11284
11285 2016-01-13 Pedro Alves <palves@redhat.com>
11286
11287 PR breakpoints/19388
11288 * gdb.base/catch-signal-siginfo-cond.c: New file.
11289 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11290
11291 2016-01-12 Josh Stone <jistone@redhat.com>
11292 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11293
11294 * gdb.base/catch-syscall.c (do_execve): New variable.
11295 (main): Conditionally trigger an execve.
11296 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11297 (test_catch_syscall_execve): New, check entry/return across execve.
11298 (do_syscall_tests): Call test_catch_syscall_execve.
11299
11300 2016-01-12 Pedro Alves <palves@redhat.com>
11301
11302 * gdb.base/random-signal.exp (do_test): New procedure, with body
11303 of testcase moved in.
11304
11305 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11306 Pedro Alves <palves@redhat.com>
11307
11308 * gdb.base/funcargs.exp (finish from indirectly called function):
11309 Reintroduce the case for 'First'.
11310
11311 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11312 Pedro Alves <palves@redhat.com>
11313
11314 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11315 (tcatch_vfork_then_child_follow_exec)
11316 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11317 identification.
11318
11319 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11320
11321 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11322 and repeats to unlimited.
11323 * gdb.python/py-value.exp: Likewise.
11324 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11325 and repeats to unlimited.
11326
11327 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11328
11329 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11330 and reordering the functions.
11331 * gdb.multi/hangout.c: Likewise.
11332 * gdb.multi/hello.c: Likewise.
11333
11334 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11335
11336 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11337 absolute.
11338 (SingleStatisticTestResult.report): Use dict.keys instead of
11339 dict.iterkeys.
11340
11341 2016-01-06 Pedro Alves <palves@redhat.com>
11342
11343 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11344
11345 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11346
11347 * gdb.btrace/dlopen.exp: New.
11348 * gdb.btrace/dlopen.c: New.
11349 * gdb.btrace/dlopen-dso.c: New.
11350
11351 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11352
11353 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11354 PATTERN argument is optional.
11355
11356 2015-12-24 Joel Brobecker <brobecker@adacore.com>
11357
11358 * lib/ada.exp (target_compile_ada_from_dir): New function.
11359 (gdb_compile_ada): Reimplement avoiding the use of project files.
11360 * gdb.ada/gnat_ada.gpr: Delete.
11361 * gdb.ada/cond_lang.exp: Adjust test to make path before
11362 filename optional.
11363 * gdb.ada/small_reg_param.exp: Likewise.
11364
11365 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11366
11367 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11368
11369 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11370
11371 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11372 case.
11373
11374 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11375
11376 * gdb.base/break.exp: Remove dead code.
11377 * gdb.base/sepdebug.exp: Likewise.
11378
11379 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11380
11381 * gdb.asm/asm-source.exp: Remove HP-UX references.
11382 * gdb.base/annota1.exp: Likewise.
11383 * gdb.base/annota3.exp: Likewise.
11384 * gdb.base/attach.exp: Likewise.
11385 * gdb.base/bigcore.exp: Likewise.
11386 * gdb.base/break.exp: Likewise.
11387 * gdb.base/call-ar-st.exp: Likewise.
11388 * gdb.base/callfuncs.exp: Likewise.
11389 * gdb.base/catch-fork-static.exp: Likewise.
11390 * gdb.base/display.exp: Likewise.
11391 * gdb.base/foll-exec-mode.exp: Likewise.
11392 * gdb.base/foll-exec.exp: Likewise.
11393 * gdb.base/foll-fork.exp: Likewise.
11394 * gdb.base/foll-vfork.exp: Likewise.
11395 * gdb.base/funcargs.exp: Likewise.
11396 * gdb.base/hbreak2.exp: Likewise.
11397 * gdb.base/inferior-died.exp: Likewise.
11398 * gdb.base/interrupt.exp: Likewise.
11399 * gdb.base/multi-forks.exp: Likewise.
11400 * gdb.base/nodebug.exp: Likewise.
11401 * gdb.base/sepdebug.exp: Likewise.
11402 * gdb.base/solib1.c: Likewise.
11403 * gdb.base/step-test.exp: Likewise.
11404 * gdb.mi/non-stop.c: Likewise.
11405 * gdb.mi/pthreads.c: Likewise.
11406 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11407 * gdb.threads/pthreads.c: Likewise.
11408 * gdb.threads/staticthreads.exp: Likewise.
11409 * lib/future.exp: Likewise.
11410 * lib/gdb.exp: Likewise.
11411 * gdb.base/so-indr-cl.c: Remove.
11412 * gdb.base/so-indr-cl.exp: Likewise.
11413 * gdb.base/solib.c: Likewise.
11414 * gdb.base/solib.exp: Likewise.
11415 * gdb.base/solib2.c: Likewise.
11416
11417 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11418
11419 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11420 * gdb.base/call-ar-st.exp: Likewise.
11421 * gdb.base/callfuncs.exp: Likewise.
11422 * gdb.base/condbreak.exp: Likewise.
11423 * gdb.base/constvars.exp: Likewise.
11424 * gdb.base/hbreak2.exp: Likewise.
11425 * gdb.base/langs.exp: Likewise.
11426 * gdb.base/list.exp: Likewise.
11427 * gdb.base/long_long.exp: Likewise.
11428 * gdb.base/ptype.exp: Likewise.
11429 * gdb.base/scope.exp: Likewise.
11430 * gdb.base/signals.exp: Likewise.
11431 * gdb.base/so-impl-ld.exp: Likewise.
11432 * gdb.base/varargs.exp: Likewise.
11433 * gdb.base/volatile.exp: Likewise.
11434 * gdb.base/whatis.exp: Likewise.
11435 * gdb.cp/cplusfuncs.exp: Likewise.
11436 * gdb.cp/inherit.exp: Likewise.
11437 * gdb.cp/local.exp: Likewise.
11438 * gdb.cp/member-ptr.exp: Likewise.
11439 * gdb.cp/method.exp: Likewise.
11440 * gdb.cp/overload.exp: Likewise.
11441 * gdb.cp/templates.exp: Likewise.
11442 * gdb.stabs/weird.exp: Likewise.
11443 * lib/compiler.c: Likewise.
11444 * lib/compiler.cc: Likewise.
11445 * lib/cp-support.exp: Likewise.
11446 * lib/gdb.exp: Likewise.
11447
11448 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11449
11450 * configure.ac: Remove HP-UX case.
11451 * configure: Regenerate.
11452
11453 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11454
11455 * lib/gdb.exp (gdb_compile): Add function doc.
11456
11457 2015-12-17 Pedro Alves <palves@redhat.com>
11458
11459 PR threads/19354
11460 * gdb.multi/info-threads.exp: New file.
11461
11462 2015-12-15 Yao Qi <yao.qi@linaro.org>
11463
11464 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11465 is aarch64*-*-*.
11466
11467 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11468
11469 * gdb.base/history-duplicates.exp: Skip if no readline support.
11470
11471 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11472
11473 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11474
11475 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11476
11477 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11478
11479 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11480
11481 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11482 ctrl-C if nointerrupts target property is set.
11483 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11484 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11485 * gdb.base/paginate-bg-execution.exp: Likewise.
11486 * gdb.base/paginate-execution-startup.exp: Likewise.
11487 * gdb.base/random-signal.exp: Likewise.
11488 * gdb.base/range-stepping.exp: Likewise.
11489 * gdb.cp/annota2.exp: Likewise.
11490 * gdb.cp/annota3.exp: Likewise.
11491 * gdb.gdb/selftest.exp: Likewise.
11492 * gdb.threads/continue-pending-status.exp: Likewise.
11493 * gdb.threads/leader-exit.exp: Likewise.
11494 * gdb.threads/manythreads.exp: Likewise.
11495 * gdb.threads/pthreads.exp: Likewise.
11496 * gdb.threads/schedlock.exp: Likewise.
11497 * gdb.threads/sigthread.exp: Likewise.
11498
11499 2015-12-11 Don Breazeal <donb@codesourcery.com>
11500
11501 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11502 remote.
11503 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11504 * gdb.base/foll-exec.exp (main): Enable for target remote.
11505 * gdb.base/foll-fork.exp (main): Likewise.
11506 * gdb.base/foll-vfork.exp (main): Likewise.
11507 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11508 (proc continue_to_exit_bp_loc): Use clean_restart.
11509 * gdb.base/pie-execl.exp (main): Disable for target remote.
11510 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11511 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11512 * gdb.threads/execl.exp (main): Likewise.
11513 * gdb.threads/fork-child-threads.exp (main): Likewise.
11514 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11515 remote.
11516 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11517 remote.
11518 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11519 pid.tid style ptids, instead of just tid.
11520 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11521 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11522 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11523 ptids, instead of just tid.
11524
11525 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11526
11527 * gdb.base/list.exp (test_list_forward): Add end of file error
11528 test.
11529 (test_repeat_list_command): Add end of file error test.
11530 (test_list_backwards): Add beginning of file error test.
11531
11532 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11533
11534 * gdb.base/list.exp (test_list_invalid_args): New function,
11535 defined, and called.
11536
11537 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11538
11539 * gdb.base/list.exp (test_list): Make test names unique.
11540
11541 2015-12-11 Yao Qi <yao.qi@linaro.org>
11542
11543 * gdb.base/coremaker2.c: Remove.
11544
11545 2015-12-10 Pedro Alves <palves@redhat.com>
11546
11547 * gdb.multi/base.exp: Remove stale "spaces" references.
11548
11549 2015-12-10 Pedro Alves <palves@redhat.com>
11550
11551 * gdb.multi/base.exp: Don't use nowarnings.
11552 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11553 * gdb.multi/hangout.c: Include stdio.h.
11554 * gdb.multi/hello.c: Include stdlib.h.
11555 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11556 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11557 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11558
11559 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11560
11561 * gdb.dwarf2/dw2-ranges-base.c: New file.
11562 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11563 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11564 support additional line table, and debug ranges generation.
11565 (Dwarf::ranges): New function, generate .debug_ranges.
11566 (Dwarf::lines): Support generating simple line table programs.
11567 (Dwarf::assemble): Initialise new namespace variables.
11568
11569 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11570
11571 * gdb.base/async.exp (proc test_background): Add case for
11572 asynchronous execution not supported.
11573
11574 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11575
11576 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11577 format and change test names to make them unique.
11578
11579 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11580 Pedro Alves <pedro@redhat.com>
11581
11582 PR gdb/18702
11583 Add checking of floatformats setup on x86_64 hosts.
11584 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11585 (smallval, bigval): New labels/constants.
11586 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11587 float" after loading bigval and smallval.
11588
11589 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11590
11591 * gdb.ada/fun_overload_menu.exp: New testcase.
11592 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11593
11594 2015-12-04 Josh Stone <jistone@redhat.com>
11595
11596 * gdb.base/catch-fork-static.exp: New.
11597
11598 2015-12-03 Yao Qi <yao.qi@linaro.org>
11599
11600 * gdb.base/sizeof.c: Don't include stdio.h and
11601 ../lib/unbuffer_output.c.
11602 (main): New variable 'size' and 'value'. Remove printf and
11603 gdb_unbuffer_output. Assign return value to size and value.
11604 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11605 at the beginning.
11606 (check_sizeof): Check the result by printing variable 'size'.
11607 (check_valueof): Check the result by printing variable 'value'.
11608
11609 2015-12-01 Yao Qi <yao.qi@linaro.org>
11610
11611 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11612 for aarch64*-*-linux* target.
11613
11614 2015-11-30 Pedro Alves <palves@redhat.com>
11615
11616 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11617
11618 2015-11-30 Pedro Alves <palves@redhat.com>
11619
11620 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11621 Handle non-stop mode vCont replies.
11622
11623 2015-11-30 Pedro Alves <palves@redhat.com>
11624
11625 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11626 prepare_for_testing. Start gdb with "set non-stop on" appended to
11627 GDBFLAGS. Lax expected stop output.
11628
11629 2015-11-27 Yao Qi <yao.qi@linaro.org>
11630
11631 * gdb.arch/arm-neon.exp: New.
11632 * gdb.arch/arm-neon.c: New.
11633
11634 2015-11-27 Yao Qi <yao.qi@linaro.org>
11635
11636 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11637
11638 2015-11-27 Yao Qi <yao.qi@linaro.org>
11639
11640 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11641 frames-invalid annotation.
11642
11643 2015-11-27 Yao Qi <yao.qi@linaro.org>
11644
11645 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11646
11647 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11648
11649 * gdb.threads/names.exp: New file.
11650 * gdb.threads/names.c: New file.
11651 * README: Mention gdb,no_thread_names.
11652
11653 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11654
11655 PR 19297
11656 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11657 support" error.
11658
11659 2015-11-24 Pedro Alves <palves@redhat.com>
11660
11661 PR 17539
11662 * gdb.base/display.exp: Expect displays to be sorted in ascending
11663 order. Use multi_line.
11664 * gdb.base/solib-display.exp: Likewise.
11665
11666 2015-11-24 Pedro Alves <palves@redhat.com>
11667
11668 PR 17539
11669 * gdb.base/display.exp: Expect displays to be sorted in ascending
11670 order. Use multi_line.
11671 * gdb.base/solib-display.exp: Likewise.
11672
11673 2015-11-24 Pedro Alves <palves@redhat.com>
11674
11675 PR 17539
11676 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11677 threads in ascending order.
11678 * gdb.base/foll-fork.exp: Likewise.
11679 * gdb.base/foll-vfork.exp: Likewise.
11680 * gdb.base/multi-forks.exp: Likewise.
11681 * gdb.mi/mi-nonstop.exp: Likewise.
11682 * gdb.mi/mi-nsintrall.exp: Likewise.
11683 * gdb.multi/base.exp: Likewise.
11684 * gdb.multi/multi-arch.exp: Likewise.
11685 * gdb.python/py-inferior.exp: Likewise.
11686 * gdb.threads/break-while-running.exp: Likewise.
11687 * gdb.threads/execl.exp: Likewise.
11688 * gdb.threads/gcore-thread.exp: Likewise.
11689 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11690 * gdb.threads/kill.exp: Likewise.
11691 * gdb.threads/linux-dp.exp: Likewise.
11692 * gdb.threads/multiple-step-overs.exp: Likewise.
11693 * gdb.threads/next-bp-other-thread.exp: Likewise.
11694 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11695 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11696 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11697 * gdb.threads/thread-find.exp: Likewise.
11698 * gdb.threads/tls.exp: Likewise.
11699 * lib/mi-support.exp (mi_reverse_list): Delete.
11700 (mi_check_thread_states): No longer reverse list.
11701
11702 2015-11-24 Pedro Alves <palves@redhat.com>
11703
11704 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11705 use lowercase.
11706
11707 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11708
11709 * gdb.trace/actions.c: Include trace-common.h.
11710 (main): Add a location for a fast tracepoint.
11711 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11712 the normal tracepoints.
11713 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11714
11715 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11716
11717 * save-trace.exp: Factor out code to these...
11718 (gdb_save_tracepoints): New.
11719 (gdb_load_tracepoints): New.
11720 (do_save_load_test): New.
11721
11722 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11723
11724 * gdb.base/asmlabel.exp: New test.
11725 * gdb.base/asmlabel.c: New test case.
11726
11727 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11728
11729 * gdb.base/wrong_frame_bt_full-main.c: New file.
11730 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11731 * gdb.base/wrong_frame_bt_full.exp: New file.
11732
11733 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11734
11735 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11736
11737 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11738
11739 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11740 pstate register when comparing registers values in
11741 sparc64-*-linux-gnu targets to avoid spurious differences.
11742
11743 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11744
11745 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11746
11747 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11748
11749 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11750 as type argument to gdb_compile.
11751 * gdb.base/nested-subp2.exp: Likewise.
11752 * gdb.base/nested-subp3.exp: Likewise.
11753
11754 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11755
11756 * lib/dwarf.exp (_note): Fix left shift of negative value.
11757 * gdb.trace/trace-condition.exp: Likewise.
11758
11759 2015-11-13 Yao Qi <yao.qi@linaro.org>
11760
11761 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11762 comments about d10v.
11763 (test_scalar_returns): Likewise.
11764 * gdb.base/d10v.ld: Remove.
11765 * gdb.base/overlays.exp: Remove the target triplet checking for
11766 d10v-*-*.
11767 * gdb.base/structs.exp (test_struct_returns): Remove the
11768 comments about d10v.
11769 (test_struct_calls): Likewise.
11770
11771 2015-11-13 Yao Qi <yao.qi@linaro.org>
11772
11773 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11774 * gdb.base/gnu_vector.c: Don't include stdio.h.
11775 (main): Don't print res and call add_some_intvecs.
11776
11777 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11778
11779 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11780 macro.
11781 (func5): Removed.
11782 (func4): Use FAST_TRACEPOINT_LABEL.
11783 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11784 macro.
11785 (func): Removed.
11786 (thread_function): Use FAST_TRACEPOINT_LABEL.
11787 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11788 (func): Remove.
11789 (marker): Use FAST_TRACEPOINT_LABEL.
11790 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11791 (pendfunc1): Remove.
11792 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11793 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11794 (foo): Remove.
11795 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11796 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11797 macro.
11798 (func): Remove.
11799 (marker): Use FAST_TRACEPOINT_LABEL.
11800 * gdb.trace/trace-common.h: New header.
11801 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11802 macro.
11803 (func): Remove.
11804 (marker): Use FAST_TRACEPOINT_LABEL.
11805 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11806 (func): Remove.
11807 (thread_function): Use FAST_TRACEPOINT_LABEL.
11808
11809 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11810
11811 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11812 in front.
11813 * gdb.trace/change-loc.exp: Use global pcreg definition.
11814 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11815 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11816 in front.
11817 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11818 * gdb.trace/pending.exp: Likewise.
11819 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11820 * gdb.trace/trace-break.exp: Likewise.
11821 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11822 in front.
11823 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11824 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11825 in front.
11826 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11827
11828 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11829
11830 * gdb.ada/fin_fun_out: New testcase.
11831
11832 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11833
11834 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11835 value associated with DW_AT_byte_size.
11836 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11837 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11838 DW_AT_upper_bound.
11839
11840 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11841
11842 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11843 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11844 version.
11845 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11846 gdb.dwarf2/dw2-canonicalize-type.exp,
11847 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11848 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11849 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11850 provided by gdb_target_symbol_prefix_flags_asm.
11851 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11852 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11853 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11854 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11855 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11856 macros where needed). Use this macro for symbols which require
11857 the prefix provided by SYMBOL_PREFIX.
11858
11859 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11860
11861 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11862 New procs.
11863 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11864 representing expressions, of more than one list element.
11865 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11866 to prepend linker symbol prefix to f.
11867 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11868 table_1 and table_2.
11869 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11870 Likewise, for f and g.
11871 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11872 for ptr.
11873 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11874 for main.
11875 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11876 table_1_ptr and table_2_ptr.
11877
11878 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11879 Joel Brobecker <brobecker@adacore.com>
11880
11881 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11882
11883 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11884
11885 * gdb.reverse/s390-mvcle.c: New test.
11886 * gdb.reverse/s390-mvcle.exp: New file.
11887 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11888
11889 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11890
11891 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11892
11893 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11894
11895 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11896 reaching marker2.
11897 * gdb.reverse/getresuid-reverse.exp: Likewise.
11898 * gdb.reverse/pipe-reverse.exp: Likewise.
11899 * gdb.reverse/readv-reverse.exp: Likewise.
11900 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11901 * gdb.reverse/time-reverse.exp: Likewise.
11902 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11903
11904 2015-10-30 Yao Qi <yao.qi@linaro.org>
11905
11906 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11907 (empty_cycle): Remove.
11908 (main): Don't call empty_cycle. Don't use watch_count_done.
11909 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11910 empty_cycle. Rewrite the code counting HW watchpoints.
11911
11912 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11913
11914 * gdb.reverse/fstatat-reverse.c: New test.
11915 * gdb.reverse/fstatat-reverse.exp: New file.
11916 * gdb.reverse/getresuid-reverse.c: New test.
11917 * gdb.reverse/getresuid-reverse.exp: New file.
11918 * gdb.reverse/pipe-reverse.c: New test.
11919 * gdb.reverse/pipe-reverse.exp: New file.
11920 * gdb.reverse/readv-reverse.c: New test.
11921 * gdb.reverse/readv-reverse.exp: New file.
11922 * gdb.reverse/recvmsg-reverse.c: New test.
11923 * gdb.reverse/recvmsg-reverse.exp: New file.
11924 * gdb.reverse/time-reverse.c: New test.
11925 * gdb.reverse/time-reverse.exp: New file.
11926 * gdb.reverse/waitpid-reverse.c: New test.
11927 * gdb.reverse/waitpid-reverse.exp: New file.
11928
11929 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11930
11931 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11932
11933 2015-10-26 Doug Evans <dje@google.com>
11934
11935 PR symtab/17391
11936 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11937 * gdb.dwarf2/bad-regnum.c: New file.
11938 * gdb.dwarf2/bad-regnum.exp: New file.
11939
11940 2015-10-26 Doug Evans <dje@google.com>
11941
11942 PR python/18938
11943 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11944 file.
11945
11946 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11947
11948 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11949 for a change by "Mention language in compile error message".
11950
11951 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11952
11953 PR python/18073
11954 * gdb.python/py-type.c (C::a_method): New.
11955 (C::a_const_method): New.
11956 (C::a_static_method): New.
11957 (a_function): New.
11958 * gdb.python/py-type.exp (test_fields): Test getting fields
11959 from function and method.
11960
11961 2015-10-21 Keven Boell <keven.boell@intel.com>
11962
11963 * gdb.fortran/vla-alloc-assoc.exp: New file.
11964 * gdb.fortran/vla-datatypes.exp: New file.
11965 * gdb.fortran/vla-datatypes.f90: New file.
11966 * gdb.fortran/vla-history.exp: New file.
11967 * gdb.fortran/vla-ptype-sub.exp: New file.
11968 * gdb.fortran/vla-ptype.exp: New file.
11969 * gdb.fortran/vla-sizeof.exp: New file.
11970 * gdb.fortran/vla-sub.f90: New file.
11971 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11972 * gdb.fortran/vla-value-sub-finish.exp: New file.
11973 * gdb.fortran/vla-value-sub.exp: New file.
11974 * gdb.fortran/vla-value.exp: New file.
11975 * gdb.fortran/vla-ptr-info.exp: New file.
11976 * gdb.mi/mi-vla-fortran.exp: New file.
11977 * gdb.mi/vla.f90: New file.
11978
11979 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11980
11981 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11982 of hardwired timeout value.
11983
11984 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11985 Pedro Alves <palves@redhat.com>
11986
11987 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11988 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11989
11990 2015-10-19 Josh Stone <jistone@redhat.com>
11991
11992 * gdb.base/catch-syscall.c: Include <sched.h>.
11993 (unknown_syscall): New variable.
11994 (main): Trigger a vfork and an unknown syscall.
11995 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11996 (unknown_syscall_number): Likewise.
11997 (check_call_to_syscall): Accept an optional syscall pattern.
11998 (check_return_from_syscall): Likewise.
11999 (check_continue): Likewise.
12000 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12001 (test_catch_syscall_skipping_return): New test toggling off 'catch
12002 syscall' to step over the syscall return, then toggling back on.
12003 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12004 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12005 (do_syscall_tests): Call test_catch_syscall_without_args and
12006 test_catch_syscall_mid_vfork.
12007 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12008 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12009
12010 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12011
12012 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12013 print g_vE): Add new pass patterns.
12014 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12015 print various symbol names for vptr fields.
12016
12017 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12018
12019 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12020 results.
12021
12022 2015-10-12 Yao Qi <yao.qi@linaro.org>
12023
12024 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12025
12026 2015-10-12 Yao Qi <yao.qi@linaro.org>
12027
12028 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12029 is aarch64*-*-linux*.
12030
12031 2015-10-12 Yao Qi <yao.qi@linaro.org>
12032
12033 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12034 (can_relocate_bcond_true): ... it.
12035 (can_relocate_bcond_false): New function.
12036 (foo): Likewise.
12037 (can_relocate_bl): Likewise.
12038 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12039 can_relocate_bl.
12040
12041 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12042
12043 * gdb.base/nested-addr.c: New file.
12044 * gdb.base/nested-addr.exp: New testcase.
12045
12046 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12047
12048 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12049 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12050 its output. Ignore the output of "record goto begin" and instead
12051 check that GDB is replaying.
12052
12053 2015-10-09 Pedro Alves <palves@redhat.com>
12054
12055 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12056 (top level): Use it in the run with no args test.
12057
12058 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12059
12060 * gdb.dlang/properties.exp: New file.
12061
12062 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12063
12064 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12065 whether or not address 0x1000 is mapped on the target.
12066
12067 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12068
12069 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12070 build.
12071
12072 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12073
12074 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12075 instruction-history test.
12076
12077 2015-09-28 Doug Evans <dje@google.com>
12078
12079 * gdb.base/gcore.c (array_func): Add reference to static_array.
12080
12081 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12082
12083 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12084 source line.
12085
12086 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12087
12088 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12089 short or char as base type.
12090
12091 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12092
12093 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12094 to allow any size enum.
12095
12096 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12097
12098 * gdb.ada/array_ptr_renaming.exp: New testcase.
12099 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12100 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12101
12102 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12103
12104 * gdb.trace/ftrace-lock.c: New file.
12105 * gdb.trace/ftrace-lock.exp: New file.
12106
12107 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12108
12109 * gdb.arch/insn-reloc.c: New file.
12110 * gdb.arch/ftrace-insn-reloc.exp: New file.
12111
12112 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12113
12114 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12115 instruction.
12116 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12117 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12118 * gdb.trace/range-stepping.c: Likewise.
12119 * gdb.trace/trace-break.c: Likewise.
12120 * gdb.trace/trace-mt.c (thread_function): Likewise.
12121 * gdb.trace/ftrace.c (marker): Likewise.
12122 * gdb.trace/trace-condition.c (marker): Likewise.
12123 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12124 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12125 is_aarch64_target.
12126
12127 2015-09-18 Doug Evans <xdje42@gmail.com>
12128
12129 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12130 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12131
12132 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12133
12134 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12135 the breakpoint.
12136
12137 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12138
12139 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12140 the pending breakpoint. Remove timeout override for "Run till
12141 MI pending breakpoint on pendfunc3 on thread 2" test.
12142
12143 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12144
12145 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12146 filename pattern.
12147
12148 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12149
12150 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12151 in breakpoint filename pattern.
12152
12153 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12154
12155 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12156
12157 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12158
12159 * gdb.linespec/explicit.exp: Check for readline support for
12160 tab-completion tests. Fix obvious typo.
12161
12162 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12163
12164 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12165 and replay.
12166
12167 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12168
12169 * gdb.btrace/non-stop.c: New.
12170 * gdb.btrace/non-stop.exp: New.
12171
12172 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12173 Yao Qi <yao.qi@linaro.org>
12174
12175 * gdb.trace/trace-condition.c: New file.
12176 * gdb.trace/trace-condition.exp: New file.
12177
12178 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12179
12180 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12181 for testing bytecode compilation.
12182
12183 2015-09-16 Pedro Alves <palves@redhat.com>
12184 Sandra Loosemore <sandra@codesourcery.com>
12185
12186 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12187 (SECONDS): Redefine.
12188 (main): Call pthread_kill and alarm early.
12189 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12190 support.
12191 (test): If the target can't hardware step and doesn't support
12192 displaced stepping, increase the timeout.
12193
12194 2015-09-16 Pedro Alves <palves@redhat.com>
12195
12196 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12197 (enable_debug): New procedures.
12198 (test): Use them. Bail out if waiting for threads fails.
12199 (top level): Bail out if a test fails.
12200
12201 2015-09-16 Yao Qi <yao.qi@linaro.org>
12202
12203 * gdb.asm/asm-source.exp: Set asm-arch for
12204 aarch64*-*-* target.
12205 * gdb.asm/aarch64.inc: New file.
12206
12207 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12208
12209 * gdb.ada/array_of_variable_length.exp: New testcase.
12210 * gdb.ada/array_of_variable_length/foo.adb: New file.
12211 * gdb.ada/array_of_variable_length/pck.adb: New file.
12212 * gdb.ada/array_of_variable_length/pck.ads: New file.
12213
12214 2015-09-15 Doug Evans <dje@google.com>
12215
12216 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12217 of function static local variable.
12218
12219 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12220
12221 * gdb.threads/tls-so_extern.exp: New test file.
12222 * gdb.threads/tls-so_extern.c: New test file.
12223 * gdb.threads/tls-so_extern_main.c: New test file.
12224
12225 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12226
12227 * gdb.opt/solib-intra-step-lib.c: New file.
12228 * gdb.opt/solib-intra-step-main.c: New file.
12229 * gdb.opt/solib-intra-step.exp: New file.
12230
12231 2015-09-15 Pedro Alves <palves@redhat.com>
12232
12233 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12234 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12235
12236 2015-09-14 Pedro Alves <palves@redhat.com>
12237
12238 * gdb.base/hook-stop-continue.c: Delete.
12239 * gdb.base/hook-stop-continue.exp: Delete.
12240 * gdb.base/hook-stop-frame.c: Delete.
12241 * gdb.base/hook-stop-frame.exp: Delete.
12242 * gdb.base/hook-stop.c: New file.
12243 * gdb.base/hook-stop.exp: New file.
12244
12245 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12246
12247 * gdb.ada/access_to_packed_array.exp: New testcase.
12248 * gdb.ada/access_to_packed_array/foo.adb: New file.
12249 * gdb.ada/access_to_packed_array/pack.adb: New file.
12250 * gdb.ada/access_to_packed_array/pack.ads: New file.
12251
12252 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12253
12254 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12255 buffer size test.
12256
12257 2015-09-11 Don Breazeal <donb@codesourcery.com>
12258
12259 * gdb.base/foll-exec.c: Add copyright header. Fix
12260 formatting issues.
12261 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12262 (do_exec_tests): Use clean_restart in place of zap_session,
12263 and for test initialization. Fix formatting issues. Use
12264 fail in place of perror.
12265 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12266 an expect statement to match an expression with output from
12267 the program under debug.
12268 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12269 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12270 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12271 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12272 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12273
12274 2015-09-09 Doug Evans <dje@google.com>
12275
12276 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12277
12278 2015-09-09 Doug Evans <dje@google.com>
12279
12280 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12281
12282 2015-09-09 Doug Evans <dje@google.com>
12283
12284 * gdb.base/savedregs.exp: Fix typo.
12285
12286 2015-09-09 Pedro Alves <palves@redhat.com>
12287
12288 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12289
12290 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12291
12292 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12293 command actually switches threads. Give up on remaining
12294 tests if target fails to stop at breakpoint.
12295
12296 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12297
12298 * gdb.ada/funcall_char.exp: New testcase.
12299 * gdb.ada/funcall_char/foo.adb: New file.
12300
12301 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12302
12303 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12304 expected outputs. Add two testcases for completing ambiguous
12305 functions.
12306 * gdb.ada/complete/aux_pck.adb: New file.
12307 * gdb.ada/complete/aux_pck.ads: New file.
12308 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12309 Ambiguous_Func functions.
12310 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12311 * gdb.ada/complete/pck.adb: Likewise.
12312
12313 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12314
12315 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12316 failures to run the test program under GDB.
12317
12318 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
12319
12320 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12321 to C.
12322
12323 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12324
12325 * gdb.base/run-after-attach.exp: New test file.
12326 * gdb.base/run-after-attach.c: New test file.
12327
12328 2015-08-26 Don Breazeal <donb@codesourcery.com>
12329
12330 * gdb.base/foll-exec-2.c: New test program.
12331 * gdb.base/foll-exec-2.exp: New test.
12332
12333 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12334
12335 * gdb.base/nested-subp1.exp: New file.
12336 * gdb.base/nested-subp1.c: New file.
12337 * gdb.base/nested-subp2.exp: New file.
12338 * gdb.base/nested-subp2.c: New file.
12339 * gdb.base/nested-subp3.exp: New file.
12340 * gdb.base/nested-subp3.c: New file.
12341
12342 2015-08-24 Pedro Alves <palves@redhat.com>
12343
12344 * gdb.server/connect-without-multi-process.c: New file.
12345 * gdb.server/connect-without-multi-process.exp: New file.
12346
12347 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12348
12349 * gdb.opt/inline-markers.c: Make z int.
12350
12351 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12352
12353 * gdb.opt/inline-markers.c: Make z volatile.
12354
12355 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12356
12357 * gdb.opt/inline-bt.c: New volatile global z.
12358 * gdb.opt/inline-cmds.c: Likewise.
12359 * gdb.opt/inline-locals.c: Likewise.
12360 * gdb.opt/inline-markers.c: New extern global z.
12361 (marker): Use z.
12362 (inline_fn): Likewise.
12363
12364 2015-08-24 Pedro Alves <palves@redhat.com>
12365
12366 * config/m32r-stub.exp: Remove file.
12367 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12368 * gdb.base/call-rt-st.exp: Likewise.
12369 * gdb.base/call-strs.exp: Likewise.
12370 * gdb.base/default.exp: Remove references to h8300-*-hms and
12371 *-*-udi*.
12372 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12373
12374 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12375
12376 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12377 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12378 and "return" use KFAIL when GDB can not read/write the vector
12379 return value.
12380
12381 2015-08-21 Gary Benson <gbenson@redhat.com>
12382
12383 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12384
12385 2015-08-20 Pedro Alves <palves@redhat.com>
12386
12387 * gdb.server/solib-list.exp: No longer expect an interior stop in
12388 non-stop mode.
12389
12390 2015-08-20 Pedro Alves <palves@redhat.com>
12391
12392 * gdb.server/connect-stopped-target.c: New file.
12393 * gdb.server/connect-stopped-target.exp: New file.
12394
12395 2015-08-20 Pedro Alves <palves@redhat.com>
12396
12397 * gdb.dwarf2/comp-unit-lang.exp: New file.
12398 * gdb.dwarf2/comp-unit-lang.c: New file.
12399
12400 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12401
12402 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12403 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12404
12405 2015-08-19 Kevin Buettner <kevinb@redhat.com>
12406
12407 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12408 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12409
12410 2015-08-18 Doug Evans <dje@google.com>
12411 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12412
12413 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12414 skip_python_tests. New arg prompt_regexp.
12415 (skip_python_tests): New function.
12416 * lib/mi-support.exp (mi_skip_python_tests): New function.
12417 * gdb.python/py-mi-objfile-gdb.py: New file.
12418 * gdb.python/py-mi-objfile.c: New file.
12419 * gdb.python/py-mi-objfile.exp: New file.
12420
12421 2015-08-17 Keith Seitz <keiths@redhat.com>
12422
12423 * gdb.linespec/explicit.exp: Move strace test from here ...
12424 * gdb.trace/strace.exp: ... to here.
12425
12426 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12427
12428 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12429 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12430
12431 2015-08-14 Doug Evans <xdje42@gmail.com>
12432
12433 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12434 inferior before selecting a new file.
12435
12436 2015-08-14 Doug Evans <xdje42@gmail.com>
12437
12438 * gdb.mi/mi-disassemble.exp: Update.
12439 * gdb.base/disasm-optim.S: New file.
12440 * gdb.base/disasm-optim.c: New file.
12441 * gdb.base/disasm-optim.h: New file.
12442 * gdb.base/disasm-optim.exp: New file.
12443
12444 2015-08-14 Keith Seitz <keiths@redhat.com>
12445
12446 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12447 "evaluated-by".
12448
12449 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12450
12451 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12452
12453 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12454
12455 * gdb.ada/fun_renaming.exp: New testcase.
12456 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12457 * gdb.ada/fun_renaming/pack.adb: New file.
12458 * gdb.ada/fun_renaming/pack.ads: New file.
12459
12460 2015-08-12 Keith Seitz <keiths@redhat.com>
12461
12462 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12463 gdb_get_line_number.
12464
12465 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12466
12467 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12468 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12469 gdb.base/dso2dso.exp: New files.
12470
12471 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12472 Pedro Alves <palves@redhat.com>
12473 Keith Seitz <keiths@redhat.com>
12474
12475 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12476 GDBFLAGS.
12477
12478 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12479
12480 * gdb.base/gdbhistsize-history.exp
12481 (test_histsize_history_setting): Use save_vars.
12482 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12483 Use save_vars.
12484 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12485 * gdb.base/readline.exp: Use save_vars.
12486
12487 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12488
12489 * lib/gdb.exp (save_vars): New proc.
12490
12491 2015-08-11 Keith Seitz <keiths@redhat.com>
12492
12493 * gdb.base/help.exp: Update help_breakpoint_text.
12494
12495 2015-08-11 Keith Seitz <keiths@redhat.com>
12496
12497 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12498 (at toplevel): Call test_explicit_breakpoints.
12499 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12500 breakpoints.
12501 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12502 breakpoint conditions, "-cond".
12503
12504 2015-08-11 Keith Seitz <keiths@redhat.com>
12505
12506 * gdb.linespec/3explicit.c: New file.
12507 * gdb.linespec/cpexplicit.cc: New file.
12508 * gdb.linespec/cpexplicit.exp: New file.
12509 * gdb.linespec/explicit.c: New file.
12510 * gdb.linespec/explicit.exp: New file.
12511 * gdb.linespec/explicit2.c: New file.
12512 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12513 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12514 before using in the matching pattern.
12515 Clarify that `prefix' is a regular expression.
12516
12517 2015-08-11 Keith Seitz <keiths@redhat.com>
12518
12519 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12520 test.
12521 Add tests for missing ",FMT" and ",".
12522
12523 2015-08-10 Doug Evans <dje@google.com>
12524 Keith Seitz <keiths@redhat.com>
12525
12526 PR gdb/17960
12527 * gdb.base/completion.exp: Add location completer tests.
12528
12529 2015-08-07 Pedro Alves <palves@redhat.com>
12530
12531 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12532 tests here.
12533 (top level): Run do_test with and without displaced stepping.
12534
12535 2015-08-07 Pedro Alves <palves@redhat.com>
12536
12537 * gdb.base/valgrind-disp-step.c: New file.
12538 * gdb.base/valgrind-disp-step.exp: New file.
12539
12540 2015-08-07 Pedro Alves <palves@redhat.com>
12541
12542 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12543 Delete function.
12544 (main): Add alarm. Run an infinite loop instead of calling
12545 wait_threads.
12546 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12547 comment.
12548 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12549 Delete function.
12550 (main): Add alarm. Run an infinite loop instead of calling
12551 wait_threads.
12552 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12553 comment.
12554
12555 2015-08-07 Pedro Alves <palves@redhat.com>
12556
12557 * gdb.base/checkpoint-ns.exp: New file.
12558 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12559 standard_testfile.
12560
12561 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12562
12563 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12564 * gdb.btrace/instruction_history.exp: Update.
12565 * gdb.btrace/tsx.exp: New.
12566 * gdb.btrace/tsx.c: New.
12567
12568 2015-08-06 Pedro Alves <palves@redhat.com>
12569
12570 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12571 increase timeout.
12572 * gdb.reverse/until-precsave.exp: Bump timeouts.
12573
12574 2015-08-06 Pedro Alves <palves@redhat.com>
12575
12576 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12577
12578 2015-08-06 Pedro Alves <palves@redhat.com>
12579
12580 PR gdb/18749
12581 * gdb.threads/process-dies-while-handling-bp.c: New file.
12582 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12583
12584 2015-08-06 Pedro Alves <palves@redhat.com>
12585
12586 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12587 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12588
12589 2015-08-05 Pedro Alves <palves@redhat.com>
12590
12591 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12592 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12593
12594 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12595
12596 * gdb.base/bp-permanent.exp: Report test as unsupported if
12597 the target cannot stop at the permanent breakpoint.
12598
12599 2015-08-03 Doug Evans <dje@google.com>
12600
12601 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12602 10000.
12603
12604 2015-08-03 Doug Evans <dje@google.com>
12605
12606 * Makefile.in (workers/%.worker, build-perf): New rule.
12607 (GDB_PERFTEST_MODE): New variable.
12608 (check-perf): Use it.
12609 (clean): Clean up gdb.perf parallel build subdirs.
12610 * lib/build-piece.exp: New file.
12611 * lib/gdb.exp (make_gdb_parallel_path): New function
12612 (standard_output_file, standard_temp_file): Call it.
12613 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12614 of $GDB_PARALLEL.
12615 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12616
12617 2015-08-03 Doug Evans <dje@google.com>
12618
12619 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12620 (LOG_FILE_NAME): New global.
12621 (TextReporter.__init__): Initialize self.txt_sum.
12622 (TextReporter.report): Add support for multiple data-points.
12623 Move report to perftest.sum, put raw data in perftest.log.
12624 (TextReporter.start): Open sum and log files.
12625 (TextReporter.end): Close sum and log files.
12626 * gdb.perf/lib/perftest/testresult.py
12627 (SingleStatisticTestResult.record): Handle multiple data-points.
12628
12629 2015-07-31 Pedro Alves <palves@redhat.com>
12630
12631 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12632 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12633 kill_wait_spawned_process instead of explicit "kill -9".
12634 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12635 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12636 kill_wait_spawned_process.
12637 * gdb.base/attach-twice.exp: Likewise.
12638 * gdb.base/attach.exp: Likewise.
12639 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12640 gdb_test_multiple.
12641 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12642 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12643 kill_wait_spawned_process.
12644 * gdb.base/valgrind-infcall.exp: Likewise.
12645 * gdb.multi/multi-attach.exp: Likewise.
12646 * gdb.python/py-prompt.exp: Likewise.
12647 * gdb.python/py-sync-interp.exp: Likewise.
12648 * gdb.server/ext-attach.exp: Likewise.
12649 * gdb.threads/attach-into-signal.exp (corefunc): Use
12650 spawn_wait_for_attach, spawn_id_get_pid and
12651 kill_wait_spawned_process.
12652 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12653 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12654 spawn_id_get_pid and kill_wait_spawned_process.
12655 * gdb.threads/attach-stopped.exp (corefunc): Use
12656 spawn_wait_for_attach, spawn_id_get_pid and
12657 kill_wait_spawned_process.
12658 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12659 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12660 kill_wait_spawned_process instead of explicit "kill -9".
12661 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12662 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12663 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12664 processes. Don't map cygwin/windows pids here. Now returns a
12665 spawn id list.
12666
12667 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12668
12669 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12670 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12671 correct patch.
12672
12673 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12674
12675 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12676
12677 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12678
12679 Reapply:
12680 2014-05-21 Mark Wielaard <mjw@redhat.com>
12681
12682 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12683
12684 2015-07-30 Pedro Alves <palves@redhat.com>
12685
12686 * linux-low.c (handle_extended_wait): Set the child's last
12687 reported status to TARGET_WAITKIND_STOPPED.
12688
12689 2015-07-30 Pedro Alves <palves@redhat.com>
12690
12691 PR threads/18600
12692 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12693 only shows inferior 1.
12694
12695 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12696 Pedro Alves <palves@redhat.com>
12697
12698 PR threads/18600
12699 * gdb.threads/fork-plus-threads.c: New file.
12700 * gdb.threads/fork-plus-threads.exp: New file.
12701
12702 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12703
12704 * gdb.base/batch-preserve-term-settings.exp
12705 (test_terminal_settings_preserved_after_cli_exit): Use
12706 send_quit_command.
12707
12708 2015-07-29 Pedro Alves <palves@redhat.com>
12709 Don Breazeal <donb@codesourcery.com>
12710
12711 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12712 output from both inferior_spawn_id and gdb_spawn_id.
12713
12714 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12715
12716 * gdb.threads/attach-into-signal.exp (corefunc): Use
12717 with_test_prefix on nested loops, uniquefying the test messages.
12718
12719 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12720
12721 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12722 commit.
12723
12724 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12725
12726 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12727 New proc.
12728 (test_terminal_settings_preserved_after_sigterm): New test.
12729
12730 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12731
12732 * gdb.base/batch-preserve-term-settings.exp
12733 (test_terminal_settings_preserved_after_cli_exit): New test.
12734
12735 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12736
12737 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12738 manipulation of saved_gdbflags.
12739 (test_terminal_settings_preserved): Remove global declaration of
12740 the unused variable pagination_prompt. Remove manipulation of
12741 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12742 GDBFLAGS.
12743
12744 2015-07-29 Pedro Alves <palves@redhat.com>
12745
12746 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12747
12748 2015-07-29 Pedro Alves <palves@redhat.com>
12749
12750 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12751 at the top.
12752
12753 2015-07-29 Pedro Alves <palves@redhat.com>
12754
12755 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12756 (main): Call gdb_unbuffer_output.
12757 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12758 (main): Call gdb_unbuffer_output.
12759 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12760 (main): Call gdb_unbuffer_output.
12761 * gdb.base/call-strs.exp: Adjust to step over the
12762 gdb_unbuffer_output call.
12763 * gdb.base/catch-gdb-caused-signals.c: Include
12764 "../lib/unbuffer_output.c".
12765 (main): Call gdb_unbuffer_output.
12766 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12767 (main): Call gdb_unbuffer_output.
12768 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12769 (main): Call gdb_unbuffer_output.
12770 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12771 (main): Call gdb_unbuffer_output.
12772 * gdb.base/shlib-call.exp: Adjust to step over the
12773 gdb_unbuffer_output call.
12774 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12775 (main): Call gdb_unbuffer_output.
12776 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12777 (main): Call gdb_unbuffer_output.
12778 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12779 (main): Rename to ...
12780 (test): ... this.
12781 (main): Reimplement.
12782 * gdb.base/varargs.exp: Run to test instead of to main.
12783 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12784 (main): Call gdb_unbuffer_output.
12785
12786 2015-07-29 Pedro Alves <palves@redhat.com>
12787
12788 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12789 factore out from mi_continue_dprintf. For call-style dprintfs,
12790 expect dprintf output out of $inferior_spawn_id.
12791 (mi_continue_dprintf): Use mi_expect_dprintf.
12792 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12793 (main): Call gdb_unbuffer_output.
12794
12795 2015-07-29 Pedro Alves <palves@redhat.com>
12796
12797 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12798 (default_mi_gdb_start): Set inferior_spawn_id instead of
12799 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12800 gdb_spawn_id.
12801 (mi_gdb_test): Always expect inferior output from both
12802 $inferior_spawn_id and $gdb_spawn_id.
12803
12804 2015-07-29 Pedro Alves <palves@redhat.com>
12805
12806 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12807 send_inferior and $inferior_spawn_id.
12808
12809 2015-07-29 Pedro Alves <palves@redhat.com>
12810
12811 * gdb.gdb/complaints.exp (test_initial_complaints)
12812 (test_serial_complaints, test_short_complaints): Use
12813 gdb_test_stdio.
12814 (test_empty_complaint): Handle $inferior_spawn_id !=
12815 $gdb_spawn_id.
12816
12817 2015-07-29 Pedro Alves <palves@redhat.com>
12818
12819 * gdb.base/varargs.exp: Use gdb_test_stdio.
12820
12821 2015-07-29 Pedro Alves <palves@redhat.com>
12822
12823 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12824
12825 2015-07-29 Pedro Alves <palves@redhat.com>
12826
12827 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12828
12829 2015-07-29 Pedro Alves <palves@redhat.com>
12830
12831 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12832 parameter into two new parameters, "inf_result" and "gdb_result".
12833 Expect inferior output and gdb output from $inferior_spawn_id and
12834 $gdb_spawn_id, respectively. Adjust all callers.
12835
12836 2015-07-29 Pedro Alves <palves@redhat.com>
12837
12838 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12839 of gdb_test_sequence.
12840
12841 2015-07-29 Pedro Alves <palves@redhat.com>
12842
12843 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12844 (saw_spurious_output): Expect inferior output from
12845 $inferior_spawn_id. Use gdb_test_stdio.
12846
12847 2015-07-29 Pedro Alves <palves@redhat.com>
12848
12849 * gdb.base/dprintf.exp: Use standard_testfile. Change
12850 prepare_for_testing call.
12851 (srcfile): Don't set.
12852 (restart): New procedure.
12853 (test_dprintf): New procecure, use to continue over dprintfs.
12854 (test_call, test_agent): New procedures, tests moved here.
12855 Restart gdb and recreate dprintfs. Adjust expected output.
12856
12857 2015-07-29 Pedro Alves <palves@redhat.com>
12858
12859 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12860
12861 2015-07-29 Pedro Alves <palves@redhat.com>
12862
12863 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12864
12865 2015-07-29 Pedro Alves <palves@redhat.com>
12866
12867 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12868 gdb_test_stdio.
12869
12870 2015-07-29 Pedro Alves <palves@redhat.com>
12871
12872 * lib/gdb.exp (gdb_test_stdio): New procedure.
12873
12874 2015-07-29 Pedro Alves <palves@redhat.com>
12875
12876 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12877
12878 2015-07-29 Pedro Alves <palves@redhat.com>
12879
12880 * gdb.base/call-signal-resume.exp: Remove check for
12881 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12882 * gdb.base/unwindonsignal.exp: Likewise.
12883 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12884 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12885
12886 2015-07-29 Pedro Alves <palves@redhat.com>
12887
12888 * gdb.base/siginfo-addr.c (pass): New function.
12889 (handler): Call it iff si_addr is correct.
12890 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12891 Set a breakpoint at "pass" and continue to it.
12892
12893 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12894
12895 * gdb.python/py-objfile.exp: Make some tests have unique names.
12896 * gdb.python/py-pp-registration.exp: Likewise.
12897
12898 2015-07-28 Pedro Alves <palves@redhat.com>
12899
12900 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12901
12902 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12903
12904 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12905
12906 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12907
12908 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12909
12910 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12911
12912 * gdb.base/gdb-sigterm-2.exp: New test.
12913
12914 2015-07-25 Doug Evans <xdje42@gmail.com>
12915
12916 Revert:
12917 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12918 (workers/%.worker, build-perf): New rule.
12919 (GDB_PERFTEST_MODE): New variable.
12920 (check-perf): Use it.
12921 (clean): Clean up gdb.perf parallel build subdirs.
12922 * lib/build-piece.exp: New file.
12923 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12924 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12925 name.
12926 (standard_temp_file): Ditto.
12927 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12928 of $GDB_PARALLEL.
12929
12930 2015-07-24 Doug Evans <dje@google.com>
12931
12932 * gdb.perf/lib/perftest/utils.py: New file.
12933 * gdb.perf/gm-hello.cc: New file.
12934 * gdb.perf/gm-pervasive-typedef.cc: New file.
12935 * gdb.perf/gm-pervasive-typedef.h: New file.
12936 * gdb.perf/gm-std.cc: New file.
12937 * gdb.perf/gm-std.h: New file.
12938 * gdb.perf/gm-use-cerr.cc: New file.
12939 * gdb.perf/gm-utils.h: New file.
12940 * gdb.perf/gmonster-null-lookup.py: New file.
12941 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12942 * gdb.perf/gmonster-print-cerr.py: New file.
12943 * gdb.perf/gmonster-ptype-string.py: New file.
12944 * gdb.perf/gmonster-runto-main.py: New file.
12945 * gdb.perf/gmonster-select-file.py: New file.
12946 * gdb.perf/gmonster1-null-lookup.exp: New file.
12947 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12948 * gdb.perf/gmonster1-print-cerr.exp: New file.
12949 * gdb.perf/gmonster1-ptype-string.exp: New file.
12950 * gdb.perf/gmonster1-runto-main.exp: New file.
12951 * gdb.perf/gmonster1-select-file.exp: New file.
12952 * gdb.perf/gmonster1.cc: New file.
12953 * gdb.perf/gmonster1.exp: New file.
12954 * gdb.perf/gmonster2-null-lookup.exp: New file.
12955 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12956 * gdb.perf/gmonster2-print-cerr.exp: New file.
12957 * gdb.perf/gmonster2-ptype-string.exp: New file.
12958 * gdb.perf/gmonster2-runto-main.exp: New file.
12959 * gdb.perf/gmonster2-select-file.exp: New file.
12960 * gdb.perf/gmonster2.cc: New file.
12961 * gdb.perf/gmonster2.exp: New file.
12962
12963 2015-07-24 Doug Evans <dje@google.com>
12964
12965 * gdb.perf/README: New file.
12966 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12967 * lib/gen-perf-test.exp: New file.
12968
12969 2015-07-24 Doug Evans <dje@google.com>
12970
12971 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12972 (PerfTest::startup): New function.
12973 (PerfTest::run): Return result of calling body.
12974 (PerfTest::assemble): Rewrite.
12975 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12976 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12977 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12978 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12979 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12980
12981 2015-07-24 Doug Evans <dje@google.com>
12982
12983 * lib/gdb.exp (clean_restart): Make executable optional.
12984
12985 2015-07-24 Doug Evans <dje@google.com>
12986
12987 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12988 compiler_info references.
12989 * gdb.cp/temargs.exp: Ditto.
12990 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12991 (get_compiler_info): Early exit if already computed. Set compiler_info
12992 to "unknown" if there was a problem.
12993 (test_compiler_info): Add function comment. Call get_compiler_info.
12994
12995 2015-07-24 Doug Evans <dje@google.com>
12996
12997 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12998 (workers/%.worker, build-perf): New rule.
12999 (GDB_PERFTEST_MODE): New variable.
13000 (check-perf): Use it.
13001 (clean): Clean up gdb.perf parallel build subdirs.
13002 * lib/build-piece.exp: New file.
13003 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13004 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13005 name.
13006 (standard_temp_file): Ditto.
13007 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13008 of $GDB_PARALLEL.
13009
13010 2015-07-24 Doug Evans <dje@google.com>
13011
13012 * lib/future.exp (gdb_default_target_compile): New option
13013 "early_flags".
13014 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13015 --as-needed.
13016
13017 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13018
13019 * gdb.base/catch-syscall.exp: Call gdb_exit before
13020 gdb_skip_xml_test.
13021
13022 2015-07-24 Pedro Alves <palves@redhat.com>
13023
13024 * gdb.python/py-events.exp: Accept output between the stop event
13025 and the prompt.
13026 * gdb.python/py-evsignal.exp: Likewise.
13027 * gdb.python/py-evthreads.exp: Likewise.
13028
13029 2015-07-24 Pedro Alves <palves@redhat.com>
13030
13031 PR gdb/18717
13032 * gdb.threads/non-ldr-exit.c: New file.
13033 * gdb.threads/non-ldr-exit.exp: New file.
13034
13035 2015-07-24 Yao Qi <yao.qi@linaro.org>
13036
13037 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13038 restarting process.
13039
13040 2015-07-24 Yao Qi <yao.qi@linaro.org>
13041
13042 * gdb.server/ext-restart.exp: New file.
13043
13044 2015-07-24 Yao Qi <yao.qi@linaro.org>
13045
13046 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13047 argument options.
13048 * gdb.server/ext-wrapper.exp: New file.
13049
13050 2015-07-23 Doug Evans <dje@google.com>
13051
13052 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13053 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13054
13055 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13056
13057 * gdb.ada/var_arr_typedef.exp: New testcase.
13058 * gdb.ada/var_arr_typedef/pack.adb: New file.
13059 * gdb.ada/var_arr_typedef/pack.ads: New file.
13060 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13061
13062 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13063
13064 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13065
13066 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13067
13068 * gdb.arch/i386-biarch-core.exp: Replace istarget
13069 by "complete set gnutarget". Remove expectation for the "core-file"
13070 command.
13071
13072 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13073
13074 Revert the previous commit:
13075 Tests for validate symbol file using build-id.
13076
13077 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13078
13079 Tests for validate symbol file using build-id.
13080 * gdb.base/solib-mismatch-lib.c: New file.
13081 * gdb.base/solib-mismatch-libmod.c: New file.
13082 * gdb.base/solib-mismatch.c: New file.
13083 * gdb.base/solib-mismatch.exp: New file.
13084
13085 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13086
13087 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13088 nios2-*-linux*.
13089 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13090 * gdb.base/siginfo.exp: Likewise.
13091 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13092
13093 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13094
13095 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13096 Move it to ...
13097 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13098 ... here.
13099 * gdb.trace/range-stepping.exp: Check that the target supports
13100 range stepping.
13101
13102 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13103
13104 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13105
13106 2015-07-14 Pedro Alves <palves@redhat.com>
13107
13108 * gdb.base/killed-outside.exp: New file.
13109 * gdb.base/killed-outside.c: New file.
13110
13111 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13112
13113 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13114 (n at main): New.
13115 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13116
13117 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13118
13119 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13120 infcall tests instead of setting up for KFAIL.
13121
13122 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13123
13124 * gdb.btrace/record_goto-step.exp: New.
13125
13126 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13127
13128 PR compile/18484
13129 * gdb.compile/compile.c (struct struct_type): Add volatile to
13130 selffield's type.
13131 * gdb.compile/compile.exp
13132 (compile code struct_object.selffield = &struct_object): Skip further
13133 struct_object tests if this one xfails.
13134
13135 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13136
13137 PR exp/18617
13138 * gdb.trace/ax.exp: Add test.
13139
13140 2015-07-07 Yao Qi <yao.qi@linaro.org>
13141
13142 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13143 instead of istarget "aarch64*-*-*".
13144 * gdb.arch/aarch64-fp.exp: Likewise.
13145 * gdb.base/float.exp: Likewise.
13146 * gdb.reverse/aarch64.exp: Likewise.
13147 * lib/gdb.exp (is_aarch64_target): New proc.
13148
13149 2015-07-07 Yao Qi <yao.qi@linaro.org>
13150
13151 * lib/gdb.exp (is_aarch32_target): New proc.
13152 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13153 instead of "istarget "arm*-*-*"".
13154 * gdb.arch/arm-disp-step.exp: Likewise.
13155 * gdb.arch/thumb-bx-pc.exp: Likewise.
13156 * gdb.arch/thumb-prologue.exp: Likewise.
13157 * gdb.arch/thumb-singlestep.exp: Likewise.
13158 * gdb.base/disp-step-syscall.exp: Likewise.
13159 * gdb.base/float.exp: Likewise.
13160
13161 2015-07-07 Yao Qi <yao.qi@linaro.org>
13162
13163 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13164 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13165
13166 2015-07-07 Yao Qi <yao.qi@linaro.org>
13167
13168 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13169 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13170 if it exists.
13171 * gdb.multi/multi-arch.exp: Likewise.
13172
13173 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13174
13175 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13176 print.
13177
13178 2015-07-07 Yao Qi <yao.qi@linaro.org>
13179
13180 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13181
13182 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13183
13184 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13185 '[' and ']' characters.
13186
13187 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13188
13189 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13190
13191 2015-06-29 Pedro Alves <palves@redhat.com>
13192
13193 PR threads/18127
13194 * gdb.threads/hand-call-new-thread.c: New file.
13195 * gdb.threads/hand-call-new-thread.c: New file.
13196
13197 2015-06-26 Keith Seitz <keiths@redhat.com>
13198 Doug Evans <dje@google.com>
13199
13200 PR 16253
13201 * gdb.cp/var-tag-2.cc: New file.
13202 * gdb.cp/var-tag-3.cc: New file.
13203 * gdb.cp/var-tag-4.cc: New file.
13204 * gdb.cp/var-tag.cc: New file.
13205 * gdb.cp/var-tag.exp: New file.
13206
13207 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13208
13209 * gdb.base/history-duplicates.exp: New test.
13210
13211 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13212
13213 * gdb.base/completion.exp: Test the completion of the "focus"
13214 command.
13215
13216 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13217
13218 * gdb.arch/amd64-prologue-skip.S: New file.
13219 * gdb.arch/amd64-prologue-skip.exp: New file.
13220
13221 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13222
13223 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13224 is_address_zero_readable check.
13225
13226 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13227
13228 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13229 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13230
13231 2015-06-24 Yao Qi <yao.qi@linaro.org>
13232
13233 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13234 linux targets.
13235
13236 2015-06-24 Yao Qi <yao.qi@linaro.org>
13237
13238 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13239 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13240 * gdb.base/siginfo-thread.exp: Likewise.
13241
13242 2015-06-22 Yao Qi <yao.qi@linaro.org>
13243
13244 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13245
13246 2015-06-22 Yao Qi <yao.qi@linaro.org>
13247
13248 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13249 aarch64*-*-*.
13250 (skip_hw_watchpoint_tests): Likewise.
13251
13252 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13253
13254 * gdb.base/gdbinit-history.exp: Test the interaction between
13255 setting GDBHISTSIZE and setting the history size via .gdbinit.
13256
13257 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13258
13259 PR gdb/16999
13260 * gdb.base/gdbhistsize-history.exp: New test.
13261
13262 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13263
13264 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13265 with GDBHISTSIZE.
13266 * gdb.base/readline.exp: Likewise.
13267
13268 2015-06-17 Yao Qi <yao.qi@linaro.org>
13269
13270 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13271 line.
13272
13273 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13274
13275 * gdb.base/gdbinit-history.exp: Add test case to check that
13276 an unlimited history file does not get truncated on exit.
13277
13278 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13279
13280 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13281 (VECTOR): New macro. Use it...
13282 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13283 ...for these typedefs.
13284 (int8, char1, int1, double1): New typedefs.
13285 (struct just_int2, struct two_int2): New structures.
13286 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13287 (add_structvecs, add_singlevecs): New functions.
13288 (main): Call add_some_intvecs twice.
13289 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13290 the compile and exit upon failure. Try compiling for the "native"
13291 architecture. Test inferior function calls with vector arguments
13292 and vector return value handling with "finish" and "return".
13293
13294 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13295
13296 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13297 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13298 PE file.
13299 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13300
13301 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13302
13303 PR breakpoints/16465
13304 * gdb.mi/mi-dprintf-pending.c: New file.
13305 * gdb.mi/mi-dprintf-pending.exp: New test.
13306 * gdb.mi/mi-dprintf-pendshr.c: New file.
13307
13308 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13309 Mircea Gherzan <mircea.gherzan@intel.com>
13310
13311 * gdb.arch/i386-mpx-map.c: New file.
13312 * gdb.arch/i386-mpx-map.exp: New File.
13313
13314 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13315
13316 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13317 * gdb.arch/i386-mpx.exp: Indentation fixed.
13318
13319 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13320
13321 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13322 function and improved indentation.
13323 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13324 gdb_test_multiple. Added additional tests to skip the test.
13325
13326 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13327
13328 * gdb.arch/i386-avx512.c: Change path in include file.
13329 * gdb.arch/i386-avx512.exp: Change include dir path
13330 compilation flag.
13331 * gdb.arch/i386-mpx.c: Change path in include file.
13332 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13333 flag.
13334
13335 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13336
13337 * gdb.compile/compile-print.exp (compile print *vararray@3)
13338 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13339
13340 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13341
13342 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13343 (do not keep jit in memory): ... this.
13344 (expect 5): Change it to ...
13345 (expect no 5): ... this.
13346
13347 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13348
13349 PR gdb/15564
13350 * gdb.mi/mi-detach.exp: New file.
13351
13352 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13353
13354 PR symtab/18392
13355 * gdb.arch/amd64-tailcall-self.S: New file.
13356 * gdb.arch/amd64-tailcall-self.c: New file.
13357 * gdb.arch/amd64-tailcall-self.exp: New file.
13358
13359 2015-05-28 Don Breazeal <donb@codesourcery.com>
13360
13361 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13362 tests for remote targets by checking is_target_gdbserver.
13363
13364 2015-05-27 Doug Evans <dje@google.com>
13365
13366 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13367 * gdb.dwarf2/opaque-type-lookup.c: New file.
13368 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13369
13370 2015-05-26 Doug Evans <dje@google.com>
13371
13372 * gdb.cp/iostream.cc: New file.
13373 * gdb.cp/iostream.exp: New file.
13374
13375 2015-05-26 Doug Evans <dje@google.com>
13376
13377 * gdb.dwarf2/dw2-op-call.exp: Update.
13378 * gdb.dwarf2/dw4-sig-types.exp: Update.
13379 * gdb.dwarf2/implptr.exp: Update.
13380 * gdb.mi/mi-cmd-param-changed.exp: Update.
13381
13382 2015-05-26 Doug Evans <dje@google.com>
13383
13384 * gdb.python/py-lazy-string.c: New file.
13385 * gdb.python/py-lazy-string.exp: New file.
13386 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13387 (main): Update. Add estring3.
13388 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13389 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13390
13391 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13392 Yao Qi <yao.qi@linaro.org>
13393
13394 * gdb.reverse/aarch64.c: New.
13395 * gdb.reverse/aarch64.exp: New.
13396
13397 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13398
13399 * lib/gdb.exp (supports_process_record): Return true for
13400 aarch64*-linux*.
13401 (supports_reverse): Likewise.
13402
13403 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13404
13405 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13406 Use with_test_prefix.
13407
13408 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13409
13410 * gdb.base/completion.exp: Add test for completion of layout
13411 names.
13412
13413 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13414
13415 * lib/gdb.exp (skip_tui_tests): New proc.
13416 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13417
13418 2015-05-19 Pedro Alves <palves@redhat.com>
13419
13420 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13421 Save the whole env array instead of just HOME. Unset HISTSIZE in
13422 the environment while testing. Restore whole environment
13423 afterwards.
13424
13425 2015-05-16 Doug Evans <xdje42@gmail.com>
13426
13427 * gdb.guile/scm-ports.c: New file.
13428 * gdb.guile/scm-ports.exp: Add memory port tests.
13429
13430 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13431
13432 * gdb.compile/compile-print.c: New file.
13433 * gdb.compile/compile-print.exp: New file.
13434
13435 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13436
13437 * gdb.compile/compile-ops.exp: Cast param to void.
13438 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13439 (compile code struct_object.selffield = &struct_object): Add xfail.
13440
13441 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13442
13443 * gdb.ada/arr_enum_with_gap: New testcase.
13444
13445 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13446
13447 * gdb.ada/byte_packed_arr: New testcase.
13448
13449 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13450
13451 * gdb.ada/pckd_neg: New testcase.
13452
13453 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13454
13455 PR gdb/17820
13456 * gdb.base/gdbinit-history.exp: New test.
13457 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13458 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13459
13460 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13461
13462 * gdb.python/py-xmethods.cc: Enhance test case.
13463 * gdb.python/py-xmethods.exp: New tests.
13464 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13465 function.
13466 (B_indexoper): Likewise.
13467 (global_dm_list) : Add new xmethod worker functions.
13468
13469 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13470
13471 * gdb.base/coredump-filter.exp: Correctly unset
13472 "coredump_var_addr" array.
13473
13474 2015-05-08 Pedro Alves <palves@redhat.com>
13475
13476 * gdb.server/non-existing-program.exp: Unset spawn_id.
13477
13478 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13479
13480 PR python/18291
13481 * gdb.python/py-xmethods.exp: Add tests.
13482
13483 2015-05-08 Yao Qi <yao.qi@linaro.org>
13484
13485 PR gdb/18208
13486 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13487 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13488 function set_coredump_filter, and remove remote_exec call.
13489 Remove argument ipid. Callers update.
13490 (top level): Don't get inferior's PID.
13491
13492 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13493
13494 * gdb.base/watch_thread_num.exp: Skip test on targets without
13495 access watchpoints.
13496
13497 2015-05-06 Pedro Alves <palves@redhat.com>
13498
13499 PR server/18081
13500 * gdb.server/non-existing-program.exp: New file.
13501
13502 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13503
13504 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13505
13506 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13507
13508 * gdb.ada/out_of_line_in_inlined: New testcase.
13509
13510 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13511
13512 * gdb.ada/var_rec_arr: New testcase.
13513
13514 2015-04-30 Yao Qi <yao.qi@linaro.org>
13515
13516 * gdb.base/break-idempotent.exp: If
13517 skip_hw_watchpoint_multi_tests returns true, skip the tests
13518 on "rwatch" and "awatch".
13519
13520 2015-04-30 Yao Qi <yao.qi@linaro.org>
13521
13522 * gdb.base/relativedebug.exp: Invoke gdb command
13523 "info sharedlibrary", and if libc.so doesn't have debug info,
13524 skip the test.
13525
13526 2015-04-29 Doug Evans <dje@google.com>
13527
13528 * gdb.python/py-xmethods.exp: Add ptype tests.
13529 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13530 get_result_type method.
13531
13532 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13533
13534 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13535 the target does not support hardware watchpoints.
13536
13537 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13538
13539 * gdb.base/break-always.exp: Abort testing if writing to memory
13540 causes an error.
13541
13542 2015-04-28 Doug Evans <dje@google.com>
13543
13544 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13545 * gdb.python/py-pp-registration.exp: ... here. New file.
13546 * gdb.python/py-pp-registration.c: New file.
13547 * gdb.python/py-pp-registration.py: New file.
13548
13549 2015-04-28 Doug Evans <dje@google.com>
13550
13551 * gdb.python/py-bad-printers.c: New file.
13552 * gdb.python/py-bad-printers.py: New file.
13553 * gdb.python/py-bad-printers.exp: New file.
13554
13555 2015-04-28 Sasha Smundak <asmundak@google.com>
13556
13557 * gdb.python/py-type.exp: New test.
13558
13559 2015-04-28 Andy Wingo <wingo@igalia.com>
13560
13561 * gdb.python/py-parameter.exp:
13562 * gdb.guile/scm-parameter.exp: Escape the path that we are
13563 matching against, as it might contain characters that are special
13564 to regular expressions.
13565
13566 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13567
13568 * gdb.ada/rec_comp: New testcase.
13569
13570 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13571
13572 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13573 before using it.
13574
13575 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13576
13577 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13578 new tests for verilog output.
13579
13580 2015-04-24 Yao Qi <yao.qi@linaro.org>
13581
13582 * boards/remote-gdbserver-on-localhost.exp: New file.
13583
13584 2015-04-23 Pedro Alves <palves@redhat.com>
13585
13586 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13587 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13588 "end of file", remove $inferior_spawn_id from the indirect list.
13589
13590 2015-04-23 Pedro Alves <palves@redhat.com>
13591
13592 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13593
13594 2015-04-23 Pedro Alves <palves@redhat.com>
13595
13596 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13597 on $any_spawn_id instead of only on $gdb_spawn_id.
13598
13599 2015-04-21 Pierre Muller <muller@sourceware.org>
13600
13601 PR pascal/17815
13602 * lib/pascal.exp (gpc_compile): Add new option "class".
13603 (fpc_compile): Likewise.
13604 * gdb.pascal/case-insensitive-symbols.pas: New file.
13605 * gdb.pascal/case-insensitive-symbols.exp: New file.
13606
13607 2015-04-20 Gary Benson <gbenson@redhat.com>
13608
13609 * gdb.base/attach.exp: Fix three extended remote failures.
13610
13611 2015-04-17 Gary Benson <gbenson@redhat.com>
13612
13613 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13614 the main executable over the remote protocol.
13615
13616 2015-04-16 Pedro Alves <palves@redhat.com>
13617
13618 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13619 a new gdbserver if gdbserver_reconnect_p is set.
13620
13621 2015-04-16 Pedro Alves <palves@redhat.com>
13622
13623 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13624 is set, don't exit gdbserver.
13625
13626 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13627
13628 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13629 appropriate .insn, such that an older assembler can be used.
13630 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13631 the z/Architecture instruction set on 31-bit targets as well.
13632
13633 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13634
13635 * gdb.go/handcall.exp: Remove all logic related to the first
13636 breakpoint and rely on go_runto_main instead.
13637 * gdb.go/strings.exp: Likewise.
13638 * gdb.go/unsafe.exp: Likewise.
13639 * gdb.go/hello.exp: Likewise. Also rename the remaining
13640 breakpoint marker to "breakpoint 1".
13641 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13642 * gdb.go/strings.go: Likewise.
13643 * gdb.go/unsafe.go: Likewise.
13644 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13645 "set breakpoint 2 here" and rename the remaining breakpoint marker
13646 to "breakpoint 1".
13647
13648 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13649
13650 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13651 if itertools.imap is not present.
13652 * gdb.python/py-objfile.exp: Add parentheses.
13653 * gdb.python/py-type.exp: Same.
13654 * gdb.python/py-unwind-maint.py: Same.
13655
13656 2015-04-15 Yao Qi <yao.qi@linaro.org>
13657
13658 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13659 of ":$ptr_size" and set its form explicitly.
13660
13661 2015-04-15 Pedro Alves <palves@redhat.com>
13662 Yao Qi <yao.qi@linaro.org>
13663
13664 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13665 timeout by factor of 4.
13666 (test_regular_watch): Likewise.
13667 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13668 * gdb.reverse/sigall-reverse.exp: Likewise.
13669 * gdb.reverse/until-precsave.exp: Likewise.
13670 * lib/gdb.exp (with_timeout_factor): New proc.
13671 (gdb_expect): Move some code to ...
13672 (get_largest_timeout): ... here. New procedure.
13673
13674 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13675
13676 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13677
13678 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13679
13680 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13681 to write to the .text section.
13682
13683 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13684
13685 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13686 Handle the case of targets that do not provide PID information.
13687
13688 2015-04-13 Yao Qi <yao.qi@linaro.org>
13689
13690 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13691 and use expect instead of gdb_expect.
13692
13693 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13694
13695 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13696 "coredump_var_addr" to avoid naming conflict with other testcases.
13697
13698 2015-04-10 Pedro Alves <palves@redhat.com>
13699
13700 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13701 gdb_test_sequence and gdb_assert.
13702
13703 2015-04-10 Pedro Alves <palves@redhat.com>
13704
13705 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13706 test messages that don't include the breakpoint address.
13707
13708 2015-04-10 Yao Qi <yao.qi@linaro.org>
13709
13710 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13711 false for some offset and width combinations which aren't
13712 supported by linux kernel.
13713
13714 2015-04-10 Pedro Alves <palves@redhat.com>
13715
13716 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13717 procedure, factored out from ...
13718 (top level): ... here. Add "set displaced-stepping" testing axis.
13719 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13720 parameter "displaced". Use it.
13721 (top level): Use foreach and add "set displaced-stepping" testing
13722 axis.
13723
13724 2015-04-10 Pedro Alves <palves@redhat.com>
13725
13726 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13727 Remove comment.
13728 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13729 both the address of the instruction that triggers the watchpoint
13730 and the address of the instruction immediately after, and use
13731 those addresses for the test. Fix comment.
13732
13733 2015-04-10 Pedro Alves <palves@redhat.com>
13734
13735 * gdb.base/sigstep.exp (breakpoint_to_handler)
13736 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13737 Test "backtrace" in handler.
13738 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13739 (top level): Add new "displaced" test axis to
13740 breakpoint_to_handler, breakpoint_to_handler_entry and
13741 breakpoint_over_handler.
13742
13743 2015-04-10 Pedro Alves <palves@redhat.com>
13744
13745 PR gdb/18216
13746 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13747
13748 2015-04-10 Yao Qi <yao.qi@linaro.org>
13749
13750 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13751 (test_add_rn_pc): New function.
13752 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13753 (top level): Invoke test_add_rn_pc.
13754
13755 2015-04-10 Pedro Alves <palves@redhat.com>
13756
13757 PR gdb/13858
13758 * gdb.base/step-over-no-symbols.exp: New file.
13759
13760 2015-04-09 Andy Wingo <wingo@igalia.com>
13761
13762 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13763 after the Python tests.
13764
13765 2015-04-08 Keith Seitz <keiths@redhat.com>
13766
13767 PR python/16699
13768 * gdb.python/py-completion.exp: New tests for completion.
13769 * gdb.python/py-completion.py (CompleteLimit1): New class.
13770 (CompleteLimit2): Likewise.
13771 (CompleteLimit3): Likewise.
13772 (CompleteLimit4): Likewise.
13773 (CompleteLimit5): Likewise.
13774 (CompleteLimit6): Likewise.
13775 (CompleteLimit7): Likewise.
13776
13777 2015-04-08 Pedro Alves <palves@redhat.com>
13778
13779 PR gdb/18214
13780 PR gdb/18216
13781 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13782 function.
13783 (main): Install it as SIGUSR1 handler.
13784 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13785 parameter. Always use "setup" as prefix. Toggle "set
13786 displaced-stepping" off/on depending on global. Don't switch to
13787 thread 1 here.
13788 (top level): Add displaced stepping "off/on" test axis. Update
13789 "setup" calls. Wrap each subtest with with_test_prefix. Test
13790 continuing with a queued signal in each thread.
13791
13792 2015-04-08 Pedro Alves <palves@redhat.com>
13793
13794 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13795 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13796 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13797 Return early if running to main fails.
13798 * gdb.trace/while-stepping.exp: Likewise.
13799
13800 2015-04-07 Pedro Alves <palves@redhat.com>
13801
13802 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13803 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13804 interact with inferior program.
13805
13806 2015-04-07 Pedro Alves <palves@redhat.com>
13807
13808 * lib/gdb.exp (inferior_spawn_id): New global.
13809 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13810 spawn id after processing the user code.
13811 (default_gdb_start): Set inferior_spawn_id.
13812 (send_inferior): New procedure.
13813 * lib/gdbserver-support.exp (gdbserver_start): Set
13814 inferior_spawn_id.
13815 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13816
13817 2015-04-07 Pedro Alves <palves@redhat.com>
13818
13819 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13820 * lib/gdbserver-support.exp (gdbserver_start): Make
13821 $server_spawn_id global.
13822 (gdbserver_start): Don't wait for gdbserver's spawn id with
13823 expect_background.
13824 (close_gdbserver): New procedure.
13825 (gdb_exit): Rename the default version and reimplement.
13826
13827 2015-04-07 Pedro Alves <palves@redhat.com>
13828
13829 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13830 append the substituted item, not the original item.
13831
13832 2015-04-07 Pedro Alves <palves@redhat.com>
13833
13834 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13835 gdb_expect.
13836
13837 2015-04-07 Pedro Alves <palves@redhat.com>
13838
13839 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13840 output appearing once only.
13841
13842 2015-04-07 Pedro Alves <palves@redhat.com>
13843
13844 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13845 that doesn't expect anything. Return early if running to main
13846 fails.
13847
13848 2015-04-07 Yao Qi <yao.qi@linaro.org>
13849
13850 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13851 (child_function): Call alarm.
13852 (main): Move call to alarm into the loop.
13853 * gdb.threads/non-stop-fair-events.exp: Build program with
13854 -DTIMEOUT=$timeout.
13855
13856 2015-04-06 Doug Evans <xdje42@gmail.com>
13857
13858 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13859 Fix dest parameter to board_info.
13860 (fpc_compile): Ditto.
13861 (gdb_compile_pascal): Rename dest arg to destfile.
13862
13863 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13864
13865 * gdb.ada/funcall_ref.exp: New file.
13866 * gdb.ada/funcall_ref/foo.adb: New file.
13867
13868 2015-04-02 Yao Qi <yao.qi@linaro.org>
13869
13870 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13871 is remote.
13872
13873 2015-04-02 Gary Benson <gbenson@redhat.com>
13874
13875 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13876
13877 2015-04-01 Sasha Smundak <asmundak@google.com>
13878
13879 * gdb.python/py-unwind-maint.c: New file.
13880 * gdb.python/py-unwind-maint.exp: New test.
13881 * gdb.python/py-unwind-maint.py: New file.
13882 * gdb.python/py-unwind.c: New file.
13883 * gdb.python/py-unwind.exp: New test.
13884 * gdb.python/py-unwind.py: New test.
13885
13886 2015-04-01 Pedro Alves <palves@redhat.com>
13887
13888 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13889 to fail instead of non-existent $test.
13890
13891 2015-04-01 Pedro Alves <palves@redhat.com>
13892
13893 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13894 GDBFLAGS if not empty.
13895
13896 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13897
13898 * gdb.ada/complete.exp: Remove "multi_line".
13899 * gdb.ada/info_exc.exp: Remove "multi_line".
13900 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13901 * gdb.ada/ptype_field.exp: Remove "multi_line".
13902 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13903 * gdb.ada/tagged.exp: Remove "multi_line".
13904 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13905 [multi_line ...]
13906 * gdb.btrace/delta.exp: Likewise.
13907 * gdb.btrace/exception.exp: Likewise.
13908 * gdb.btrace/function_call_history.exp: Likewise.
13909 * gdb.btrace/instruction_history.exp: Likewise.
13910 * gdb.btrace/nohist.exp: Likewise.
13911 * gdb.btrace/record_goto.exp: Likewise.
13912 * gdb.btrace/segv.exp: Likewise.
13913 * gdb.btrace/stepi.exp: Likewise.
13914 * gdb.btrace/tailcall.exp: Likewise.
13915 * gdb.btrace/unknown_functions.exp: Likewise.
13916 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13917 * lib/gdb.exp: Add the "multi_line" helper.
13918
13919 2015-04-01 Pedro Alves <palves@redhat.com>
13920
13921 * gdb.threads/tid-reuse.c: New file.
13922 * gdb.threads/tid-reuse.exp: New file.
13923
13924 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13925
13926 PR corefiles/16092
13927 * gdb.base/coredump-filter.c: New file.
13928 * gdb.base/coredump-filter.exp: Likewise.
13929
13930 2015-03-27 Petr Machata <pmachata@redhat.com>
13931
13932 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13933 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13934 (Dwarf::assemble): Initialize them.
13935 (Dwarf::lines): New function.
13936
13937 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13938
13939 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13940 SYMBOL_PREFIX for x86_64-*-cygwin.
13941
13942 2015-03-26 Andy Wingo <wingo@igalia.com>
13943
13944 PR symtab/18148
13945 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13946 const_value but not a location.
13947 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13948 location defined in non-main CUs are visible.
13949
13950 2015-03-26 Yao Qi <yao.qi@linaro.org>
13951
13952 PR testsuite/18139
13953 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13954 Add a line number entry for the same line.
13955 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13956 Add a line number entry for the same line.
13957
13958 2015-03-26 Yao Qi <yao.qi@linaro.org>
13959
13960 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13961 .int 0.
13962 (func): Likewise. Add .Lfunc_1 label.
13963 Use .Lfunc_1 label.
13964 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13965 .int 0.
13966 (func): Likewise.
13967 Use .Lfunc_1 label.
13968
13969 2015-03-26 Yao Qi <yao.qi@linaro.org>
13970
13971 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13972 Call gdb_compile instead to compile each .s files without debug
13973 information.
13974
13975 2015-03-26 Yao Qi <yao.qi@linaro.org>
13976
13977 * gdb.base/savedregs.exp (process_saved_regs): Make
13978 "Saved registers:" optional in the pattern.
13979
13980 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13981
13982 * gdb.btrace/next.exp: Merged into step.exp.
13983 * gdb.btrace/finish.exp: Merged into step.exp.
13984 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13985 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13986 "record goto" and checking the exact replay position.
13987 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13988 check for "Recording format" in "info record" output.
13989 * gdb.btrace/record_goto.exp: Choose test file based on target.
13990 * gdb.btrace/x86-record_goto.S: Renamed into ...
13991 * gdb.btrace/x86_64-record_goto.S: ... this.
13992 * gdb.btrace/i686-record_goto.S: New.
13993 * gdb.btrace/x86-tailcall.S: Renamed into ...
13994 * gdb.btrace/x86_64-tailcall.S: ... this.
13995 * gdb.btrace/i686-tailcall.S: New.
13996 * gdb.btrace/x86-tailcall.c: Renamed into ...
13997 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13998 separate statements. Update test.
13999 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14000 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14001 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14002 * gdb.btrace/tailcall.exp: Choose test file based on target.
14003 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14004
14005 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14006
14007 * gdb.btrace/exception.exp: Increase BTS buffer size.
14008
14009 2015-03-24 Pedro Alves <palves@redhat.com>
14010
14011 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14012
14013 2015-03-24 Pedro Alves <palves@redhat.com>
14014
14015 * gdb.threads/schedlock.exp (test_step): No longer expect that
14016 "set scheduler-locking step" with "next" over a function call runs
14017 threads unlocked.
14018
14019 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14020
14021 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14022
14023 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14024
14025 PR breakpoints/16466
14026 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14027 * gdb.mi/mi-pending.c (thread_func): New function.
14028 (int main): Add threading support required.
14029 * gdb.mi/mi-pending.exp: Add tests for this issue.
14030 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14031 (pendfunc2): Remove stdio dependency.
14032 * gdb.mi/mi-pendshr2.c: New file.
14033
14034 2015-03-23 Keith Seitz <keiths@redhat.com>
14035
14036 * gdb.linespec/keywords.c: New file.
14037 * gdb.linespec/keywords.exp: New file.
14038
14039 2015-03-23 Keith Seitz <keiths@redhat.com>
14040
14041 PR gdb/18021
14042 * gdb.dwarf2/staticvirtual.exp: New test.
14043
14044 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14045
14046 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14047 * README: Remove HP-UX and gdb.hp.
14048 (configuration):
14049 * configure: Regenerate.
14050 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14051 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14052 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14053 gdb.hp/gdb.defects/Makefile.
14054 * gdb.hp/Makefile.in: File deleted.
14055 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14056 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14057 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14058 * gdb.hp/gdb.aCC/run.c: File deleted.
14059 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14060 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14061 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14062 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14063 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14064 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14065 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14066 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14067 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14068 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14069 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14070 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14071 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14072 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14073 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14074 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14075 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14076 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14077 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14078 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14079 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14080 * gdb.hp/gdb.compat/average.c: File deleted.
14081 * gdb.hp/gdb.compat/sum.c: File deleted.
14082 * gdb.hp/gdb.compat/xdb.c: File deleted.
14083 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14084 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14085 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14086 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14087 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14088 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14089 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14090 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14091 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14092 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14093 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14094 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14095 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14096 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14097 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14098 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14099 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14100 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14101 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14102 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14103 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14104 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14105 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14106 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14107 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14108 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14109 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14110 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14111 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14112 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14113 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14114 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14115 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14116 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14117 * gdb.hp/tools/odump: File deleted.
14118
14119 2015-03-19 Pedro Alves <palves@redhat.com>
14120
14121 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14122 (saw_thread_3): New globals.
14123 (top level): Increment them when an event for the corresponding
14124 thread is seen.
14125 (no thread starvation): New test.
14126
14127 2015-03-19 Pedro Alves <palves@redhat.com>
14128
14129 * gdb.threads/continue-pending-status.c: New file.
14130 * gdb.threads/continue-pending-status.exp: New file.
14131
14132 2015-03-18 Pedro Alves <palves@redhat.com>
14133
14134 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14135 Use gdb_is_target_remote instead of is_remote. Use
14136 gdb_test_multiple instead of gdb_expect. Exit early if
14137 gdb_test_multiple hits its internal matches. Tighten stepi tests
14138 expected output. Fail on exit with any signal, instead of just
14139 SIGILL.
14140
14141 2015-03-18 Yao Qi <yao.qi@linaro.org>
14142
14143 PR tdep/18107
14144 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14145 variable.
14146 * gdb.base/catch-syscall.exp: Don't skip it on
14147 aarch64*-*-linux* target. Remove elements in all_syscalls.
14148 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14149 target.
14150 (setup_all_syscalls): New proc.
14151
14152 2015-03-16 Yao Qi <yao.qi@linaro.org>
14153
14154 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14155 (top level): Skip tests if valid_addr_p returns false for
14156 $cmd1 or $cmd2.
14157
14158 2015-03-11 Andy Wingo <wingo@igalia.com>
14159
14160 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14161
14162 2015-03-11 Yao Qi <yao.qi@linaro.org>
14163
14164 * gdb.base/catch-syscall.exp: Fix typo in comments.
14165
14166 2015-03-11 Yao Qi <yao.qi@linaro.org>
14167
14168 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14169
14170 2015-03-09 Pedro Alves <palves@redhat.com>
14171
14172 * dg-extract-results.py: Delete.
14173
14174 2015-03-09 Pedro Alves <palves@redhat.com>
14175
14176 Merge dg-extract-results.sh from GCC upstream (r218843).
14177
14178 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14179 * dg-extract-results.sh: Use --text with grep to avoid issues with
14180 binary files. Fall back to cat -v, if that doesn't work.
14181
14182 2015-03-05 Pedro Alves <palves@redhat.com>
14183
14184 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14185
14186 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14187
14188 * lib/mi-support.exp (mi_expect_interrupt): Accept
14189 alternative event for when in all-stop mode.
14190
14191 2015-03-04 Pedro Alves <palves@redhat.com>
14192
14193 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14194
14195 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14196
14197 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14198
14199 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14200
14201 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14202 regexps for GDB's current line display, accept a hex address
14203 preceding the line number.
14204
14205 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14206
14207 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14208 the 'arch1' variable for "s390*-linux*" targets.
14209
14210 2015-03-04 Pedro Alves <palves@redhat.com>
14211
14212 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14213 (main): Pass missing retval argument to pthread_join call.
14214
14215 2015-03-02 Pedro Alves <palves@redhat.com>
14216
14217 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14218 (top level): Call do_test with non-stop as well.
14219
14220 2015-03-02 Pedro Alves <palves@redhat.com>
14221
14222 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14223 -1.
14224
14225 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14226
14227 * gdb.arch/s390-vregs.exp: New test.
14228 * gdb.arch/s390-vregs.S: New file.
14229
14230 2015-02-27 Pedro Alves <palves@redhat.com>
14231
14232 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14233 call to catch_command_errors.
14234 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14235 catch_command_errors.
14236
14237 2015-02-27 Pedro Alves <palves@redhat.com>
14238
14239 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14240 "true" for boolean result.
14241 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14242 prototype of main.
14243
14244 2015-02-27 Pedro Alves <palves@redhat.com>
14245
14246 * lib/unbuffer_output.c: New file.
14247 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14248 (main): Call gdb_unbuffer_output.
14249
14250 2015-02-27 Yao Qi <yao.qi@linaro.org>
14251
14252 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14253 target.
14254
14255 2015-02-26 Doug Evans <dje@google.com>
14256
14257 * gdb.cp/class2.cc (Dbase, D): New classes.
14258 (main): New local delta.
14259 * gdb.cp/class2.exp: Test printing delta.
14260 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14261 (dynbar): New global.
14262 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14263
14264 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14265
14266 * gdb.compile/compile-ifunc.c: New file.
14267 * gdb.compile/compile-ifunc.exp: New file.
14268
14269 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14270
14271 * gdb.base/structs.exp: Check for correct struct on finish.
14272
14273 2015-02-26 Yao Qi <yao.qi@linaro.org>
14274
14275 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14276 is zero.
14277
14278 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14279
14280 * gdb.arch/cordic.ko.bz2: New file.
14281 * gdb.arch/cordic.ko.debug.bz2: New file.
14282 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14283
14284 2015-02-25 Yao Qi <yao.qi@linaro.org>
14285
14286 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14287 aarch64*-*-* target.
14288
14289 2015-02-23 Pedro Alves <palves@redhat.com>
14290
14291 * lib/gdb.exp (delete_breakpoints): Rewrite using
14292 gdb_test_multiple.
14293
14294 2015-02-23 Pedro Alves <palves@redhat.com>
14295
14296 * gdb.base/info-os.c: Include stdlib.h.
14297
14298 2015-02-22 Doug Evans <xdje42@gmail.com>
14299
14300 PR symtab/17855
14301 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14302 is read after symbols have been re-read.
14303 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14304 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14305
14306 2015-02-21 Doug Evans <dje@google.com>
14307
14308 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14309
14310 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14311
14312 PR corefiles/17808
14313 * gdb.arch/i386-biarch-core.core.bz2: New file.
14314 * gdb.arch/i386-biarch-core.exp: New file.
14315
14316 2015-02-21 Pedro Alves <palves@redhat.com>
14317
14318 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14319 runto_main fails.
14320
14321 2015-02-20 Pedro Alves <palves@redhat.com>
14322
14323 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14324 info probes.
14325
14326 2015-02-20 Pedro Alves <palves@redhat.com>
14327
14328 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14329
14330 2015-02-20 Pedro Alves <palves@redhat.com>
14331
14332 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14333 clean_restart before gdb_target_supports_trace.
14334
14335 2015-02-20 Pedro Alves <palves@redhat.com>
14336
14337 PR threads/18006
14338 * gdb.threads/clone-thread_db.c: New file.
14339 * gdb.threads/clone-thread_db.exp: New file.
14340
14341 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14342
14343 PR breakpoints/16812
14344 * gdb.base/catch-gdb-caused-signals.c: New file.
14345 * gdb.base/catch-gdb-caused-signals.exp: New file.
14346
14347 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14348
14349 * configure: Regenerated.
14350 * configure.ac: Use GDB_AC_TRANSFORM.
14351 * aclocal.m4: sinclude ../transform.m4.
14352
14353 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14354
14355 * lib/dtrace.exp: New file.
14356 * gdb.base/dtrace-probe.exp: Likewise.
14357 * gdb.base/dtrace-probe.d: Likewise.
14358 * gdb.base/dtrace-probe.c: Likewise.
14359 * lib/pdtrace.in: Likewise.
14360 * configure.ac: Output variables with the transformed names of
14361 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14362 * configure: Regenerated.
14363
14364 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14365
14366 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14367 expected message when trying to access $_probe_* convenience
14368 variables while not on a probe.
14369
14370 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14371
14372 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14373
14374 2015-02-11 Pedro Alves <pedro@codesourcery.com>
14375
14376 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14377 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14378
14379 2015-02-10 Doug Evans <xdje42@gmail.com>
14380
14381 * lib/gdb.exp (gdb_load): Always return a result.
14382
14383 2015-02-10 Pedro Alves <palves@redhat.com>
14384
14385 * gdb.threads/signal-sigtrap.c: New file.
14386 * gdb.threads/signal-sigtrap.exp: New file.
14387
14388 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14389
14390 * gdb.trace/no-attach-trace.c: New file.
14391 * gdb.trace/no-attach-trace.exp: New file.
14392
14393 2015-02-09 Mark Wielaard <mjw@redhat.com>
14394
14395 * gdb.dwarf2/atomic.c: New file.
14396 * gdb.dwarf2/atomic-type.exp: Likewise.
14397
14398 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14399
14400 * gdb.btrace/buffer-size.exp: Update "info record" output.
14401 * gdb.btrace/delta.exp: Update "info record" output.
14402 * gdb.btrace/enable.exp: Update "info record" output.
14403 * gdb.btrace/finish.exp: Update "info record" output.
14404 * gdb.btrace/instruction_history.exp: Update "info record" output.
14405 * gdb.btrace/next.exp: Update "info record" output.
14406 * gdb.btrace/nexti.exp: Update "info record" output.
14407 * gdb.btrace/step.exp: Update "info record" output.
14408 * gdb.btrace/stepi.exp: Update "info record" output.
14409 * gdb.btrace/nohist.exp: Update "info record" output.
14410
14411 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14412
14413 * gdb.btrace/buffer-size: New.
14414
14415 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14416
14417 * gdb.btrace/delta.exp: Update "info record" output.
14418 * gdb.btrace/enable.exp: Update "info record" output.
14419 * gdb.btrace/finish.exp: Update "info record" output.
14420 * gdb.btrace/instruction_history.exp: Update "info record" output.
14421 * gdb.btrace/next.exp: Update "info record" output.
14422 * gdb.btrace/nexti.exp: Update "info record" output.
14423 * gdb.btrace/step.exp: Update "info record" output.
14424 * gdb.btrace/stepi.exp: Update "info record" output.
14425 * gdb.btrace/nohist.exp: Update "info record" output.
14426
14427 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14428
14429 PR gdb/15678
14430 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14431
14432 2015-02-06 Pedro Alves <palves@redhat.com>
14433
14434 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14435 macro.
14436 (seconds_left, again): New globals.
14437 (main): Wait seconds_left in a 1-second sleep loop instead of
14438 sleeping 180 seconds. If 'again' is set, reset the seconds
14439 counter.
14440 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14441 'again' in the inferior before detaching. Print the seconds left.
14442 (options): New global.
14443 (top level): Build program with -DTIMEOUT=$timeout.
14444
14445 2015-02-06 Pedro Alves <palves@redhat.com>
14446
14447 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14448 determine how many seconds to pass to 'alarm'.
14449 * gdb.base/gdb-sigterm.exp (top level): Build program with
14450 -DTIMEOUT=$timeout.
14451 (do_test): Return success/failure indication. Add more verbose
14452 logging. Don't fail if 200 single steps are seen. Instead, fail
14453 when the test times out.
14454 (passes): New global.
14455 (top level): Break the testing loop if testing fails on any
14456 iteration. Use gdb_assert.
14457
14458 2015-02-04 Don Breazeal <donb@codesourcery.com>
14459
14460 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14461 and initialize them.
14462 (ipc_cleanup): New function.
14463 (main): Don't declare shmid, semid, and msqid. Add a call to
14464 atexit so that we call ipc_cleanup on exit.
14465
14466 2015-02-04 Pedro Alves <palves@redhat.com>
14467
14468 * boards/native-extended-gdbserver.exp: Remove any target variant
14469 specifications from the board name before clearing the isremote
14470 flag from board_info.
14471
14472 2015-01-31 Doug Evans <xdje42@gmail.com>
14473
14474 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14475
14476 2015-01-31 Gary Benson <gbenson@redhat.com>
14477
14478 * gdb.base/completion.exp: Disable completion limiting for
14479 existing tests. Add new tests to check completion limiting.
14480 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14481
14482 2015-01-31 Doug Evans <xdje42@gmail.com>
14483
14484 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14485
14486 2015-01-31 Doug Evans <xdje42@gmail.com>
14487
14488 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14489 entries. Duplicate file section script entries.
14490 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14491 inlined entries. Add test for safe-path rejection.
14492 * gdb.python/py-section-script.c: Add duplicate inlined section script
14493 entries. Duplicate file section script entries.
14494 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14495 inlined entries. Add test for safe-path rejection.
14496
14497 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14498
14499 * gdb.ada/disc_arr_bound: New testcase.
14500
14501 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14502
14503 * gdb.ada/mi_var_array: New testcase.
14504
14505 2015-01-27 Doug Evans <dje@google.com>
14506
14507 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14508 Add test for objfile.filename, objfile.username after objfile
14509 has been unloaded.
14510
14511 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14512
14513 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14514 the second test to print the name attribute of value
14515 returned by the call to gdb.lookup_type, and adjust
14516 the expected output accordingly.
14517
14518 2015-01-25 Mark Wielaard <mjw@redhat.com>
14519
14520 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14521 * gdb.base/disp-step-fork.c: Include unistd.h.
14522 * gdb.base/siginfo-obj.c: Include stdio.h.
14523 * gdb.base/siginfo-thread.c: Likewise.
14524 * gdb.mi/non-stop.c: Include unistd.h.
14525 * gdb.mi/nsthrexec.c: Include stdio.h.
14526 * gdb.mi/pthreads.c: Include unistd.h.
14527 * gdb.modula2/unbounded1.c (main): Declare returns int.
14528 * gdb.reverse/consecutive-reverse.c: Likewise.
14529 * gdb.threads/create-fail.c: Include unistd.h.
14530 * gdb.threads/killed.c: Likewise.
14531 * gdb.threads/linux-dp.c: Likewise.
14532 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14533 * gdb.threads/non-ldr-exc-2.c: Likewise.
14534 * gdb.threads/non-ldr-exc-3.c: Likewise.
14535 * gdb.threads/non-ldr-exc-4.c: Likewise.
14536 * gdb.threads/pthreads.c: Include unistd.h.
14537 (main): Declare returns int.
14538 * gdb.threads/tls-main.c (foo): New declaration.
14539 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14540
14541 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14542
14543 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14544 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14545
14546 2015-01-15 Mark Wielaard <mjw@redhat.com>
14547
14548 * gdb.base/noreturn-return.c: New file.
14549 * gdb.base/noreturn-return.exp: New file.
14550 * gdb.base/noreturn-finish.c: New file.
14551 * gdb.base/noreturn-finish.exp: New file.
14552
14553 2015-01-23 Pedro Alves <palves@redhat.com>
14554
14555 * gdb.threads/continue-pending-after-query.c: New file.
14556 * gdb.threads/continue-pending-after-query.exp: New file.
14557
14558 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14559 Simon Marchi <simon.marchi@ericsson.com>
14560
14561 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14562 * gdb.base/valgrind-db-attach.exp: Same.
14563 * gdb.base/valgrind-infcall.exp: Same.
14564 * lib/mi-support.exp (default_mi_gdb_start): Same.
14565 * lib/prompt.exp (default_prompt_gdb_start): Same.
14566 * lib/gdb.exp (default_gdb_spawn): Same.
14567 (gdb_interact): New.
14568
14569
14570 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14571
14572 * gdb.compile/compile.exp (pointer to jit function): New test.
14573
14574 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14575
14576 * lib/gdb.exp (supports_process_record): Return true for
14577 powerpc*-*-linux*.
14578 (supports_reverse): Likewise.
14579
14580 2015-01-15 Don Breazeal <donb@codesourcery.com>
14581
14582 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14583 instead of checking whether the target board is remote and
14584 use spawn_wait_for_attach instead of exec/sleep.
14585 * gdb.base/attach-twice.exp: Likewise.
14586
14587 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14588
14589 * gdb.ada/var_arr_attrs: New testcase.
14590
14591 2015-01-14 Pedro Alves <palves@redhat.com>
14592 Joel Brobecker <brobecker@adacore.com>
14593
14594 PR gdb/17525
14595 * gdb.base/bp-cmds-execution-x-script.c: New file.
14596 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14597 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14598
14599 2015-01-14 Pedro Alves <palves@redhat.com>
14600
14601 PR cli/17828
14602 * gdb.base/batch-preserve-term-settings.c: New file.
14603 * gdb.base/batch-preserve-term-settings.exp: New file.
14604
14605 2015-01-13 Doug Evans <dje@google.com>
14606
14607 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14608 binary.
14609
14610 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14611
14612 * Makefile.in (clean mostlyclean): Do not delete *.py.
14613
14614 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14615
14616 * gdb.python/py-lookup-type.exp: New file.
14617
14618 2015-01-12 Pedro Alves <palves@redhat.com>
14619
14620 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14621 restore GDBFLAGS before returning.
14622
14623 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14624
14625 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14626 is_amd64_regs_target and is_x86_like_target.
14627
14628 2015-01-11 Doug Evans <xdje42@gmail.com>
14629
14630 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14631 is given without an explicit form.
14632 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14633 attributes.
14634 * gdb.dwarf/corrupt.exp: Ditto.
14635 * gdb.dwarf2/enum-type.exp: Ditto.
14636 * gdb.trace/entry-values.exp: Ditto.
14637 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14638
14639 2015-01-11 Doug Evans <xdje42@gmail.com>
14640
14641 PR gdb/15830
14642 * gdb.base/maint.exp: Remove references to "maint demangle".
14643 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14644 Add tests for explicitly specifying language to demangle.
14645 * gdb.dlang/demangle.exp: Ditto.
14646
14647 2015-01-09 Pedro Alves <palves@redhat.com>
14648
14649 * gdb.threads/non-stop-fair-events.c: New file.
14650 * gdb.threads/non-stop-fair-events.exp: New file.
14651
14652 2015-01-09 Pedro Alves <palves@redhat.com>
14653
14654 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14655 the global scope. Set a breakpoint after all threads are started
14656 rather than stepping over two source lines. Expect the prompt.
14657 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14658 global.
14659 (NUM): Now 15.
14660 (main): Use threads_started_barrier to wait for all threads to
14661 start. Main thread no longer calls thread_function. Exit after
14662 180 seconds.
14663 (loop): New function.
14664 (thread_function): Wait on threads_started_barrier barrier. Call
14665 'loop' at each iteration.
14666 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14667 threads have started, instead of hardcoding number of "next"
14668 steps. Use an access watchpoint instead of a write watchpoint.
14669
14670 2015-01-09 Pedro Alves <palves@redhat.com>
14671
14672 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14673 (thread_func): Wait on barrier.
14674 (main): Wait for all threads to start before stopping GDB.
14675 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14676 global.
14677 (thread1_func, thread2_func): Wait on barrier.
14678 (main): Wait for all threads to start before stopping GDB.
14679 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14680 New global.
14681 (thread1_func, thread2_func): Wait on barrier.
14682 (main): Wait for all threads to start before stopping GDB.
14683
14684 2015-01-09 Pedro Alves <palves@redhat.com>
14685
14686 * gdb.threads/attach-many-short-lived-threads.c: New file.
14687 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14688
14689 2014-01-09 Pedro Alves <palves@redhat.com>
14690
14691 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14692 instead of to thread 2.
14693 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14694 Add barrier around each pthread_create call instead of around all
14695 calls.
14696 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14697 Set a break on thread_function and have the child threads hit it
14698 one at at a time.
14699
14700 2015-01-09 Pedro Alves <palves@redhat.com>
14701
14702 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14703 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14704 false.
14705 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14706 checking whether the target board is remote.
14707 * gdb.multi/multi-attach.exp: Likewise.
14708 * gdb.python/py-sync-interp.exp: Likewise.
14709 * gdb.server/ext-attach.exp: Likewise.
14710 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14711 tests that need to attach, instead of checking whether the target
14712 board is remote at the top of the file.
14713
14714 2015-01-08 Yao Qi <yao@codesourcery.com>
14715
14716 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14717
14718 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14719
14720 Fix testcase compilation.
14721 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14722
14723 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14724
14725 * gdb.python/py-type.exp: Add a couple test about empty
14726 array creation, and negative-length array creation.
14727
14728 2015-01-02 Doug Evans <xdje42@gmail.com>
14729
14730 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14731
14732 2015-01-02 Doug Evans <dje@google.com>
14733
14734 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14735
14736 2014-12-29 Yao Qi <yao@codesourcery.com>
14737
14738 * gdb.trace/entry-values.exp: Update comments. Rename variable
14739 bar_call_foo to returned_from_foo.
14740
14741 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14742
14743 PR gdb/17394
14744 * gdb.linespec/break-asm-file.c: New file.
14745 * gdb.linespec/break-asm-file.exp: New file.
14746 * gdb.linespec/break-asm-file0.s: New file.
14747 * gdb.linespec/break-asm-file1.s: New file.
14748
14749 2014-12-18 Nigel Stephens <nigel@mips.com>
14750 Maciej W. Rozycki <macro@codesourcery.com>
14751
14752 * gdb.base/float.exp: Handle the new output from "info float" on
14753 MIPS targets.
14754
14755 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14756
14757 Fix MinGW compilation.
14758 * gdb.compile/compile-ops.exp: Update untested message if
14759 !skip_compile_feature_tests.
14760 * gdb.compile/compile-setjmp.exp: Likewise.
14761 * gdb.compile/compile-tls.exp: Likewise.
14762 * gdb.compile/compile.exp: Likewise.
14763 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14764 supported on this host".
14765
14766 2014-12-16 Doug Evans <xdje42@gmail.com>
14767
14768 * boards/stabs.exp: New file.
14769
14770 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14771
14772 * gdb.base/completion.exp: Adjust to format changes of "maint
14773 print user-registers".
14774
14775 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14776
14777 PR server/17457
14778 * gdb.arch/aarch64-fp.c: New file.
14779 * gdb.arch/aarch64-fp.exp: New file.
14780
14781 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14782
14783 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14784 r210637, r210913, r211666, r215400, r215817).
14785
14786 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14787 * dg-extract-results.py: New file.
14788 * dg-extract-results.sh: Use it if the environment seems
14789 suitable.
14790
14791 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14792
14793 * dg-extract-results.py (parse_run): Handle warnings that
14794 are printed before a test harness is run.
14795
14796 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14797
14798 * dg-extract-results.py (Named): Remove __cmp__ method.
14799 (output_variation): Use a key to sort variation.harnesses.
14800
14801 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14802
14803 * dg-extract-results.py: For Python 3, force sys.stdout to
14804 handle surrogate escape sequences.
14805 (safe_open): New function.
14806 (output_segment, main): Use it.
14807
14808 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14809
14810 * dg-extract-results.py (Prog.result_re): Include options
14811 in test name.
14812
14813 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14814
14815 * dg-extract-results.py (output_variation): Always sort if
14816 do_sum.
14817
14818 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14819
14820 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14821 as long as we get pagination notifications.
14822
14823 2014-12-15 Jason Merrill <jason@redhat.com>
14824
14825 * Makefile.in (check-gdb.%): Restore.
14826 * README: Mention it.
14827
14828 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14829
14830 * gdb.ada/str_uninit: New testcase.
14831
14832 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14833
14834 PR symtab/17642
14835 * gdb.base/vla-stub-define.c: New file.
14836 * gdb.base/vla-stub.c: New file.
14837 * gdb.base/vla-stub.exp: New file.
14838
14839 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14840 Jan Kratochvil <jan.kratochvil@redhat.com>
14841 Tom Tromey <tromey@redhat.com>
14842
14843 * configure.ac: Add gdb.compile/.
14844 * configure: Regenerate.
14845 * gdb.compile/Makefile.in: New file.
14846 * gdb.compile/compile-ops.exp: New file.
14847 * gdb.compile/compile-ops.c: New file.
14848 * gdb.compile/compile-tls.c: New file.
14849 * gdb.compile/compile-tls.exp: New file.
14850 * gdb.compile/compile-constvar.S: New file.
14851 * gdb.compile/compile-constvar.c: New file.
14852 * gdb.compile/compile-mod.c: New file.
14853 * gdb.compile/compile-nodebug.c: New file.
14854 * gdb.compile/compile-setjmp-mod.c: New file.
14855 * gdb.compile/compile-setjmp.c: New file.
14856 * gdb.compile/compile-setjmp.exp: New file.
14857 * gdb.compile/compile-shlib.c: New file.
14858 * gdb.compile/compile.c: New file.
14859 * gdb.compile/compile.exp: New file.
14860 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14861
14862 2014-12-12 Tom Tromey <tromey@redhat.com>
14863
14864 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14865 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14866
14867 2014-12-12 Doug Evans <dje@google.com>
14868
14869 * lib/gdb-python.exp (get_python_valueof): New function.
14870 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14871
14872 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14873
14874 * gdb.base/completion.exp: Add test for completion of "info
14875 registers ".
14876
14877 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14878
14879 * gdb.base/func-ptrs.c: New file.
14880 * gdb.base/func-ptrs.exp: New file.
14881
14882 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14883
14884 PR breakpoints/17012
14885 * gdb.base/dprintf-detach.c: New file.
14886 * gdb.base/dprintf-detach.exp: New file.
14887
14888 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14889
14890 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14891 * lib/gdb.exp (target_is_gdbserver): New procedure.
14892
14893 2014-12-08 Doug Evans <dje@google.com>
14894
14895 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14896
14897 2014-12-05 Yao Qi <yao@codesourcery.com>
14898
14899 * gdb.guile/scm-error.exp: Remove the third argument to
14900 gdb_remote_download.
14901 * gdb.guile/scm-frame-args.exp: Likewise.
14902 * gdb.guile/scm-section-script.exp: Likewise.
14903
14904 2014-12-05 Yao Qi <yao@codesourcery.com>
14905
14906 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14907
14908 2014-12-04 Doug Evans <dje@google.com>
14909
14910 * gdb.python/py-objfile.exp: Add tests for
14911 objfile.add_separate_debug_file.
14912
14913 2014-12-04 Doug Evans <dje@google.com>
14914
14915 * lib/gdb.exp (get_build_id): New function.
14916 (build_id_debug_filename_get): Rewrite to use it.
14917 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14918
14919 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14920
14921 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14922 `method(long)', not just 0x0.
14923 * gdb.cp/nsalias.exp: Align code labels to 4.
14924 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14925 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14926 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14927 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14928 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14929 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14930
14931 2014-12-02 Doug Evans <dje@google.com>
14932
14933 PR symtab/17602
14934 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14935 * gdb.cp/anon-ns2.cc: ... here. New file.
14936 * gdb.cp/anon-ns.exp: Update.
14937
14938 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14939
14940 * gdb.python/py-events.py (inferior_call_handler): New.
14941 (register_changed_handler, memory_changed_handler): New.
14942 (test_events.invoke): Register new handlers.
14943 * gdb.python/py-events.exp: Add tests for inferior call,
14944 memory_changed and register_changed events.
14945
14946 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14947
14948 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14949 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14950 if the linker doesn't understand this.
14951
14952 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14953
14954 * gdb.python/python.exp: Change expected reply to help().
14955
14956 2014-12-01 Yao Qi <yao@codesourcery.com>
14957
14958 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14959 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14960 * configure: Re-generated.
14961
14962 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14963
14964 * gdb.cp/chained-calls.cc: New file.
14965 * gdb.cp/chained-calls.exp: New file.
14966 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14967
14968 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14969
14970 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14971 * gdb.dwarf2/symtab-producer.exp: Same.
14972 * gdb.gdb/python-interrupts.exp: Same.
14973 * gdb.gdb/python-selftest.exp: Same.
14974 * gdb.python/py-linetable.exp: Same.
14975 * gdb.python/py-type.exp: Same.
14976 * gdb.python/py-value-cc.exp: Same.
14977 * gdb.python/py-value.exp: Same.
14978
14979 2014-11-28 Yao Qi <yao@codesourcery.com>
14980
14981 * gdb.base/break-probes.exp: Match library name prefixed with
14982 sysroot.
14983
14984 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14985
14986 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14987 test expected output. Add parentheses for the call to print.
14988 Remove L suffix from integers.
14989
14990 2014-11-26 Doug Evans <dje@google.com>
14991
14992 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14993
14994 2014-11-22 Yao Qi <yao@codesourcery.com>
14995
14996 * gdb.trace/entry-values.c: Remove asms.
14997 (foo): Add foo_label.
14998 (bar): Add bar_label.
14999 * gdb.trace/entry-values.exp: Remove code computing foo's
15000 length and bar's length.
15001 (Dwarf::assemble): Invoke function_range for bar and use
15002 MACRO_AT_func for foo.
15003
15004 2014-11-22 Yao Qi <yao@codesourcery.com>
15005
15006 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15007 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15008 Use .Lgcc43_procstart instead of gcc43.
15009
15010 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15011
15012 * gdb.ada/n_arr_bound: New testcase.
15013
15014 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15015
15016 PR breakpoints/10737
15017 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15018 test_catch_syscall_multi_arch.
15019 (test_catch_syscall_multi_arch): New function.
15020
15021 2014-11-20 Doug Evans <xdje42@gmail.com>
15022
15023 * gdb.base/maint.exp: Update expected output.
15024
15025 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15026
15027 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15028 4-byte instruction on S390.
15029
15030 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15031
15032 * gdb.ada/arr_arr: New testcase.
15033
15034 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15035
15036 * gdb.ada/pkd_arr_elem: New Testcase.
15037
15038 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15039
15040 * gdb.reverse/break-precsave: Expect completion message for
15041 core file reads.
15042 * gdb.reverse/consecutive-precsave.exp: Likewise.
15043 * gdb.reverse/finish-precsave.exp: Likewise.
15044 * gdb.reverse/i386-precsave.exp: Likewise.
15045 * gdb.reverse/machinestate-precsave.exp: Likewise.
15046 * gdb.reverse/sigall-precsave.exp: Likewise.
15047 * gdb.reverse/solib-precsave.exp: Likewise.
15048 * gdb.reverse/step-precsave.exp: Likewise.
15049 * gdb.reverse/until-precsave.exp: Likewise.
15050 * gdb.reverse/watch-precsave.exp: Likewise.
15051
15052 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15053
15054 * gdb.base/bp-permanent.c: Include unistd.h.
15055 * gdb.python/py-framefilter-mi.c (main): Add return type.
15056 * gdb.python/py-framefilter.c (main): Likewise.
15057 * gdb.trace/actions-changed.c (main): Likewise.
15058
15059 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15060
15061 * gdb.mi/until.c: Add eye-catchers.
15062 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15063 line numbers.
15064
15065 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15066
15067 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15068 function header variants in break1.c.
15069 * gdb.base/ena-dis-br.exp: Likewise.
15070 * gdb.base/hbreak2.exp: Likewise.
15071 * gdb.reverse/until-precsave.exp: Drop references to removed
15072 non-prototype function header variants in ur1.c.
15073 * gdb.reverse/until-reverse.exp: Likewise.
15074
15075 2014-11-17 Petr Machata <pmachata@redhat.com>
15076
15077 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15078 ${_cu_offset_size} bytes abbrev offset.
15079
15080 2014-11-15 Doug Evans <xdje42@gmail.com>
15081
15082 PR symtab/17559
15083 * gdb.base/line-symtabs.exp: New file.
15084 * gdb.base/line-symtabs.c: New file.
15085 * gdb.base/line-symtabs.h: New file.
15086
15087 2014-11-14 Yao Qi <yao@codesourcery.com>
15088
15089 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15090 (func): Add label func_label.
15091 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15092 Replace low_pc and high_pc with MACRO_AT_range.
15093 Replace name, low_pc and high_pc with MACRO_AT_func.
15094
15095 2014-11-14 Yao Qi <yao@codesourcery.com>
15096
15097 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
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: Use Dwarf::assemble to
15103 produce debug information.
15104 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15105
15106 2014-11-14 Yao Qi <yao@codesourcery.com>
15107
15108 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15109 object and get function length.
15110 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15111 with MACRO_AT_func.
15112 (top-level): Replace gdb_compile and clean_restart with
15113 prepare_for_testing.
15114 * gdb.dwarf2/main.c (main): Add label main_label.
15115
15116 2014-11-14 Yao Qi <yao@codesourcery.com>
15117
15118 * lib/dwarf.exp (function_range): New procedure.
15119 (Dwarf::_handle_macro_at_func): New procedure.
15120 (Dwarf::_handle_macro_at_range): New procedure.
15121 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15122
15123 2014-11-14 Yao Qi <yao@codesourcery.com>
15124
15125 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15126 (_handle_attribute): New procedure.
15127
15128 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15129
15130 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15131 * gdb.base/call-sc.c (zed): Likewise.
15132 * gdb.base/checkpoint.c (main): Likewise.
15133 * gdb.base/dump.c (main): Likewise.
15134 * gdb.base/gcore.c (main): Likewise.
15135 * gdb.base/huge.c (main): Likewise.
15136 * gdb.base/multi-forks.c (main): Likewise.
15137 * gdb.base/pr10179-a.c (main): Likewise.
15138 * gdb.base/savedregs.c (main): Likewise.
15139 * gdb.base/sigaltstack.c (main): Likewise.
15140 * gdb.base/siginfo.c (main): Likewise.
15141 * gdb.base/structs.c (zed): Likewise.
15142 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15143 * gdb.mi/mi-syn-frame.c (main): Likewise.
15144 * gdb.mi/until.c (foo, main): Likewise.
15145 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15146 * gdb.base/solib-weak.c (foo): Declare.
15147 * gdb.base/attach-twice.c: Include stdio.h.
15148 * gdb.base/weaklib1.c: Likewise.
15149 * gdb.base/weaklib2.c: Likewise.
15150 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15151 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15152 unistd.h.
15153 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15154 * gdb.mi/mi-exit-code.c: Likewise.
15155 * gdb.base/break-interp-lib.c: Include string.h.
15156 * gdb.base/coremaker.c: Likewise.
15157 * gdb.base/testenv.c: Likewise.
15158 * gdb.python/py-finish-breakpoint.c: Likewise.
15159 * gdb.base/inferior-died.c: Include sys/wait.h.
15160 * gdb.base/fileio.c: Include time.h.
15161 * gdb.base/async-shell.c: Include unistd.h.
15162 * gdb.base/dprintf-non-stop.c: Likewise.
15163 * gdb.base/info-os.c: Likewise.
15164 * gdb.mi/mi-console.c: Likewise.
15165 * gdb.mi/watch-nonstop.c: Likewise.
15166 * gdb.python/py-events.c: Likewise.
15167 * gdb.base/async.c (baz): Move up before its invocation.
15168 * gdb.base/code_elim2.c (my_global_func): Likewise.
15169 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15170 * gdb.base/advance.c (func2): Likewise.
15171
15172 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15173
15174 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15175 variant.
15176 * gdb.base/annota3.c: Likewise.
15177 * gdb.base/async.c: Likewise.
15178 * gdb.base/average.c: Likewise.
15179 * gdb.base/call-ar-st.c: Likewise.
15180 * gdb.base/call-rt-st.c: Likewise.
15181 * gdb.base/call-sc.c: Likewise.
15182 * gdb.base/call-strs.c: Likewise.
15183 * gdb.base/ending-run.c: Likewise.
15184 * gdb.base/execd-prog.c: Likewise.
15185 * gdb.base/exprs.c: Likewise.
15186 * gdb.base/foll-exec.c: Likewise.
15187 * gdb.base/foll-fork.c: Likewise.
15188 * gdb.base/foll-vfork.c: Likewise.
15189 * gdb.base/funcargs.c: Likewise.
15190 * gdb.base/gcore.c: Likewise.
15191 * gdb.base/jump.c: Likewise.
15192 * gdb.base/langs0.c: Likewise.
15193 * gdb.base/langs1.c: Likewise.
15194 * gdb.base/langs2.c: Likewise.
15195 * gdb.base/mips_pro.c: Likewise.
15196 * gdb.base/nodebug.c: Likewise.
15197 * gdb.base/opaque0.c: Likewise.
15198 * gdb.base/opaque1.c: Likewise.
15199 * gdb.base/recurse.c: Likewise.
15200 * gdb.base/run.c: Likewise.
15201 * gdb.base/scope0.c: Likewise.
15202 * gdb.base/scope1.c: Likewise.
15203 * gdb.base/setshow.c: Likewise.
15204 * gdb.base/setvar.c: Likewise.
15205 * gdb.base/shmain.c: Likewise.
15206 * gdb.base/shr1.c: Likewise.
15207 * gdb.base/shr2.c: Likewise.
15208 * gdb.base/sigall.c: Likewise.
15209 * gdb.base/signals.c: Likewise.
15210 * gdb.base/so-indr-cl.c: Likewise.
15211 * gdb.base/solib2.c: Likewise.
15212 * gdb.base/structs.c: Likewise.
15213 * gdb.base/sum.c: Likewise.
15214 * gdb.base/vforked-prog.c: Likewise.
15215 * gdb.base/watchpoint.c: Likewise.
15216 * gdb.reverse/shr2.c: Likewise.
15217 * gdb.reverse/until-reverse.c: Likewise.
15218 * gdb.reverse/ur1.c: Likewise.
15219 * gdb.reverse/watch-reverse.c: Likewise.
15220
15221 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15222
15223 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15224 variant.
15225 * gdb.base/sepdebug.exp: Drop references to removed code.
15226
15227 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15228
15229 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15230 variant. Preserve original line numbering.
15231 * gdb.base/list1.c: Likewise.
15232
15233 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15234
15235 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15236 variant.
15237 * gdb.base/break1.c: Likewise.
15238 * gdb.base/break.exp: Drop references to removed code.
15239
15240 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15241
15242 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15243 variant.
15244
15245 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15246
15247 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15248
15249 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15250
15251 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15252 logic into perform_all_tests() and invoke it with and without
15253 function header prototypes.
15254 (do_function_calls): Remove conditional XFAIL for PR 5318.
15255 (rerun_and_prepare): Remove duplicate code.
15256 (perform_all_tests): New. Main logic moved here.
15257
15258 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15259
15260 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15261 code guarded by #ifdef NO_PROTOTYPES.
15262 (t_double_many_args): Likewise.
15263 (DEF_FUNC_MANY_ARGS_1): Likewise.
15264 (DEF_FUNC_VALUES_1): Likewise.
15265 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15266 guarded by #ifdef PROTOTYPES.
15267
15268 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15269
15270 * gdb.mi/mi-console.c: Add eye-catcher.
15271 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15272 instead of literal line number.
15273
15274 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15275
15276 * gdb.base/shr2.c: Add eye-catcher.
15277 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15278 line number.
15279
15280 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15281
15282 * gdb.base/jump.c: Add eye-catchers.
15283 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15284 numbers.
15285
15286 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15287
15288 * gdb.base/execd-prog.c: Add eye-catchers.
15289 * gdb.base/foll-exec.c: Likewise.
15290 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15291 line numbers.
15292
15293 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15294
15295 * gdb.base/ending-run.c: Add eye-catchers.
15296 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15297 literal line numbers.
15298
15299 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15300
15301 * gdb.base/call-rt-st.c: Add eye-catchers.
15302 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15303 literal line numbers.
15304
15305 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15306
15307 * gdb.base/call-ar-st.c: Add eye-catchers.
15308 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15309 literal line numbers.
15310
15311 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15312
15313 * gdb.base/average.c: Add eye-catchers.
15314 * gdb.base/sum.c: Likewise.
15315 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15316 regexps dynamically.
15317
15318 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15319
15320 * gdb.base/solib1.c: Add eye-catchers.
15321 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15322 literal line numbers.
15323
15324 2014-11-12 Pedro Alves <palves@redhat.com>
15325
15326 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15327 leader has exited.
15328
15329 2014-11-12 Pedro Alves <palves@redhat.com>
15330
15331 * gdb.arch/i386-bp_permanent.c: New file.
15332 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15333 (srcfile): Set to i386-bp_permanent.c.
15334 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15335 that stepi does not execute the 'leave' instruction, instead of
15336 testing it does execute.
15337 * gdb.base/bp-permanent.c: New file.
15338 * gdb.base/bp-permanent.exp: New file.
15339
15340 2014-11-10 Doug Evans <xdje42@gmail.com>
15341
15342 PR symtab/17564
15343 * gdb.base/symtab-search-order.exp: New file.
15344 * gdb.base/symtab-search-order.c: New file.
15345 * gdb.base/symtab-search-order-1.c: New file.
15346 * gdb.base/symtab-search-order-shlib-1.c: New file.
15347
15348 2014-11-07 Pedro Alves <palves@redhat.com>
15349
15350 PR gdb/17511
15351 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15352 i?86-*-linux*.
15353
15354 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15355
15356 PR c++/17494
15357 * gdb.cp/pr17494.cc: New file.
15358 * gdb.cp/pr17494.exp: New file.
15359
15360 2014-11-02 Yao Qi <yao@codesourcery.com>
15361
15362 * gdb.python/python.exp: Get working directory and match the
15363 output of "set extended-prompt \\w " with it.
15364
15365 2014-10-30 Doug Evans <dje@google.com>
15366
15367 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15368 in objfiles.
15369 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15370 in progspaces.
15371
15372 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
15373
15374 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15375 * gdb.base/realname-expand.exp: Likewise.
15376 * gdb.linespec/macro-relative.exp: Likewise.
15377
15378 2014-10-29 Pedro Alves <palves@redhat.com>
15379
15380 PR gdb/17408
15381 * gdb.threads/schedlock.c (some_function): New function.
15382 (call_function): New global.
15383 (MAYBE_CALL_SOME_FUNCTION): New macro.
15384 (thread_function): Call it.
15385 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15386 and use it instead of a global counter. Adjust all callers.
15387 (get_current_thread): Use "find current thread" for test message
15388 here rather than having all callers pass down the same string.
15389 (goto_loop): New procedure, factored out from ...
15390 (my_continue): ... this.
15391 (step_ten_loops): Change parameter from test message to command to
15392 use. Adjust.
15393 (list_count): Delete global.
15394 (check_result): New procedure, factored out from duplicate top
15395 level code.
15396 (continue tests): Wrap in with_test_prefix.
15397 (test_step): New procedure, factored out from duplicate top level
15398 code.
15399 (top level): Test "step" in combination with all scheduler-locking
15400 modes. Test "next" in combination with all scheduler-locking
15401 modes, and in combination with stepping over a function call or
15402 not.
15403 * gdb.threads/next-bp-other-thread.c: New file.
15404 * gdb.threads/next-bp-other-thread.exp: New file.
15405
15406 2014-10-29 Pedro Alves <palves@redhat.com>
15407
15408 PR python/17372
15409 * gdb.python/python.exp: Test a multi-line command that spawns
15410 interactive Python.
15411 * gdb.base/multi-line-starts-subshell.exp: New file.
15412
15413 2014-10-29 Yao Qi <yao@codesourcery.com>
15414
15415 * gdb.base/fileio.exp: Make directories on host.
15416
15417 2014-10-29 Yao Qi <yao@codesourcery.com>
15418
15419 * gdb.base/fileio.c (test_write): Close the file.
15420
15421 2014-10-28 Pedro Alves <palves@redhat.com>
15422
15423 PR gdb/12623
15424 * gdb.base/sigstep.c (no_handler): New global.
15425 (main): If 'no_handler is true, set the signal handlers to
15426 SIG_IGN.
15427 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15428 with_sw_watch and no_handler parameters. Handle them.
15429 (top level) <stepping over handler when stopped at a breakpoint
15430 test>: Add a test axis for testing with a software watchpoint, and
15431 another for testing with the signal handler set to SIG_IGN.
15432 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15433 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15434
15435 2014-10-28 Pedro Alves <palves@redhat.com>
15436
15437 PR gdb/17511
15438 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15439 * gdb.base/sigstep.exp (other_handler_location): New global.
15440 (advance): Support stepping into the signal handler, and running
15441 commands while in the handler.
15442 (in_handler_map): New global.
15443 (top level): In the advance test, add combinations for getting
15444 into the handler with stepping commands, and for running commands
15445 in the handler. Add comment descripting the advancei tests.
15446
15447 2014-10-28 Pedro Alves <palves@redhat.com>
15448
15449 * gdb.base/sigstep.exp: Use build_executable instead of
15450 prepare_for_testing.
15451 (top level): Move code that starts GDB, runs to main and creates a
15452 display to ...
15453 (restart): ... this new procedure.
15454 (top level): Move backtrace from signal handler test to ...
15455 (validate_backtrace): ... this new procedure.
15456 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15457 with_test_prefix. Always restart GDB.
15458 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15459 with_test_prefix. Always restart GDB. No need to delete
15460 breakpoints after the test.
15461 (test_skip_handler): Remove prefix parameter.
15462 (skip_over_handler, breakpoint_to_handler)
15463 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15464 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15465 restart GDB. No need to delete breakpoints after the test.
15466 (top level): Use foreach to call the test procedures with
15467 different commands.
15468
15469 2014-10-28 Pedro Alves <palves@redhat.com>
15470
15471 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15472 instead of GNATS numbers.
15473 * gdb.base/sigbpt.exp: Likewise.
15474 * gdb.base/siginfo.exp: Likewise.
15475 * gdb.base/sigstep.exp: Likewise.
15476
15477 2014-10-27 Pedro Alves <palves@redhat.com>
15478
15479 * gdb.base/sigstep.c (dummy): New global.
15480 (main): Issue a couple writes to the new global.
15481 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15482 procedures.
15483 (skip_over_handler): Use test_skip_handler.
15484 (top level): Call skip_over_handler for stepi and nexti too.
15485 (breakpoint_over_handler): Use test_skip_handler.
15486 (top level): Call breakpoint_over_handler for stepi and nexti too.
15487
15488 2014-10-27 Yao Qi <yao@codesourcery.com>
15489
15490 * gdb.trace/tfile.c (adjust_function_address)
15491 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15492 function descriptor.
15493
15494 2014-10-24 Don Breazeal <donb@codesourcery.com>
15495
15496 * gdb.base/foll-fork.exp (test_follow_fork,
15497 catch_fork_child_follow): Check for updated fork messages emitted
15498 from infrun.c.
15499 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15500 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15501 vfork_and_exec_child_follow_through_step): Check for updated vfork
15502 messages emitted from infrun.c.
15503
15504 2014-10-24 Pedro Alves <palves@redhat.com>
15505
15506 * gdb.base/corefile.exp: Remove references to ultrix.
15507 * gdb.base/interrupt.exp: Likewise.
15508 * gdb.base/whatis.exp: Likewise.
15509 * gdb.gdb/selftest.exp: Likewise.
15510 * gdb.threads/manythreads.exp: Likewise.
15511 * gdb.threads/print-threads.exp: Likewise.
15512 * gdb.threads/pthreads.exp:: Likewise.
15513 * gdb.threads/schedlock.exp: Likewise.
15514
15515 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15516
15517 * gdb.cp/non-trivial-retval.cc: Add a test case.
15518 * gdb.cp/non-trivial-retval.exp: Add a test.
15519
15520 2014-10-20 Yao Qi <yao@codesourcery.com>
15521
15522 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15523 * gdb.python/py-objfile-script-gdb.py: New file.
15524 * gdb.python/py-objfile-script.exp: Update reference to
15525 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15526 of remote_download. Remove the dest file.
15527
15528 2014-10-20 Yao Qi <yao@codesourcery.com>
15529
15530 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15531 * gdb.base/step-line.exp: Likewise.
15532 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15533 * gdb.dwarf2/dw2-basic.exp: Likewise.
15534 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15535 * gdb.dwarf2/dw2-filename.exp: Likewise.
15536 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15537 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15538 * gdb.dwarf2/dw2-producer.exp: Likewise.
15539 * gdb.dwarf2/mac-fileno.exp: Likewise.
15540 * gdb.python/py-frame-args.exp: Likewise.
15541 * gdb.python/py-framefilter.exp: Likewise.
15542 * gdb.python/py-mi.exp: Likewise.
15543 * gdb.python/py-objfile-script.exp: Likewise
15544 * gdb.python/py-pp-integral.exp: Likewise.
15545 * gdb.python/py-pp-re-notag.exp: Likewise.
15546 * gdb.python/py-prettyprint.exp: Likewise.
15547 * gdb.python/py-section-script.exp: Likewise.
15548 * gdb.python/py-typeprint.exp: Likewise.
15549 * gdb.python/py-xmethods.exp: Likewise.
15550 * gdb.stabs/weird.exp: Likewise.
15551 * gdb.xml/tdesc-regs.exp: Likewise.
15552
15553 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15554
15555 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15556 (out_cu): Use addr_len for the size of addresses.
15557 (out_line): Likewise. Size DW_LNE_set_address instruction
15558 according to addr_len.
15559 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15560 (FUNC): Add START_INSNS to definition.
15561
15562 2014-10-18 Yao Qi <yao@codesourcery.com>
15563
15564 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15565 gdb_has_argv0 return true.
15566 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15567 check [target_info exists noargs], check [gdb_has_argv0]
15568 instead.
15569 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15570 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15571 procedures.
15572
15573 2014-10-17 Doug Evans <dje@google.com>
15574
15575 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15576 event.
15577 * gdb.python/py-events.py: Add clear_objfiles event.
15578
15579 2014-10-17 Doug Evans <dje@google.com>
15580
15581 * gdb.python/py-objfile.exp: Test progspace attribute.
15582
15583 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15584
15585 * gdb.guile/scm-breakpoint.exp: Do not assume any
15586 directory separators when matching source file paths.
15587 * gdb.python/py-breakpoint.exp: Likewise.
15588 * gdb.reverse/break-precsave.exp: Likewise.
15589 * gdb.reverse/break-reverse.exp: Likewise.
15590 * gdb.reverse/consecutive-precsave.exp: Likewise.
15591 * gdb.reverse/finish-precsave.exp: Likewise.
15592 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15593 * gdb.reverse/finish-reverse.exp: Likewise.
15594 * gdb.reverse/i386-precsave.exp: Likewise.
15595 * gdb.reverse/i387-env-reverse.exp: Likewise.
15596 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15597 * gdb.reverse/machinestate-precsave.exp: Likewise.
15598 * gdb.reverse/machinestate.exp: Likewise.
15599 * gdb.reverse/sigall-precsave.exp: Likewise.
15600 * gdb.reverse/solib-precsave.exp: Likewise.
15601 * gdb.reverse/step-precsave.exp: Likewise.
15602 * gdb.reverse/until-precsave.exp: Likewise.
15603 * gdb.reverse/watch-precsave.exp: Likewise.
15604 * gdb.reverse/watch-reverse.exp: Likewise.
15605
15606 2014-10-17 Yao Qi <yao@codesourcery.com>
15607
15608 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15609 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15610
15611 2014-10-17 Pedro Alves <palves@redhat.com>
15612
15613 PR gdb/17471
15614 * gdb.base/bg-execution-repeat.c: New file.
15615 * gdb.base/bg-execution-repeat.exp: New file.
15616
15617 2014-10-17 Pedro Alves <palves@redhat.com>
15618
15619 PR gdb/17300
15620 * gdb.base/continue-all-already-running.c: New file.
15621 * gdb.base/continue-all-already-running.exp: New file.
15622
15623 2014-10-17 Pedro Alves <palves@redhat.com>
15624
15625 PR gdb/17472
15626 * gdb.base/annota-input-while-running.c: New file.
15627 * gdb.base/annota-input-while-running.exp: New file.
15628
15629 2014-10-17 Pedro Alves <palves@redhat.com>
15630
15631 * gdb.base/callfuncs.exp: emove references to osf.
15632 * gdb.base/sigall.exp: Likewise.
15633 * gdb.gdb/selftest.exp: Likewise.
15634 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15635 * gdb.mi/non-stop.c: Likewise.
15636 * gdb.mi/pthreads.c: Likewise.
15637 * gdb.reverse/sigall-precsave.exp: Likewise.
15638 * gdb.reverse/sigall-reverse.exp: Likewise.
15639 * gdb.threads/pthreads.c: Likewise.
15640 * gdb.threads/pthreads.exp: Likewise.
15641
15642 2014-10-17 Yao Qi <yao@codesourcery.com>
15643
15644 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15645 check 'target_info exists noargs'.
15646 (test_command_prompt_position): Likewise.
15647 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15648 Remove "set args".
15649 (progvar_simple_while_test): Likewise.
15650 (progvar_complex_if_while_test): Likewise.
15651 (if_while_breakpoint_command_test): Likewise.
15652 (infrun_breakpoint_command_test): Likewise.
15653 (breakpoint_command_test): Likewise.
15654 (watchpoint_command_test): Likewise.
15655 (bp_deleted_in_command_test): Likewise.
15656 (temporary_breakpoint_commands): Likewise.
15657
15658 2014-10-16 Yao Qi <yao@codesourcery.com>
15659
15660 * gdb.base/remotetimeout.exp: Remove noargs checking.
15661
15662 2014-10-15 Pedro Alves <palves@redhat.com>
15663
15664 PR breakpoints/9649
15665 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15666 * gdb.base/breakpoint-in-ro-region.exp
15667 (probe_target_hardware_step): New procedure.
15668 (top level): Probe hardware stepping and hardware breakpoint
15669 support. Test stepping through a read-only region, with both
15670 "breakpoint auto-hw" on and off and both "always-inserted" on and
15671 off.
15672
15673 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15674
15675 * gdb.dlang/demangle.exp: Update for demangling changes.
15676
15677 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15678
15679 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15680 * gdb.cp/non-trivial-retval.exp: Add new tests.
15681
15682 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15683
15684 PR c++/13403
15685 PR c++/15154
15686 * gdb.cp/non-trivial-retval.cc: New file.
15687 * gdb.cp/non-trivial-retval.exp: New file.
15688
15689 2014-10-15 Yao Qi <yao@codesourcery.com>
15690
15691 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15692 remote host.
15693
15694 2014-10-15 Yao Qi <yao@codesourcery.com>
15695
15696 * gdb.python/py-symbol.exp: Match file base name if host is
15697 remote, otherwise match file name with dir name.
15698 * gdb.python/py-symtab.exp: Likewise.
15699 * gdb.python/python.exp: Likewise.
15700
15701 2014-10-15 Yao Qi <yao@codesourcery.com>
15702
15703 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15704 pattern.
15705 * gdb.python/py-symtab.exp: Likewise.
15706 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15707 locationn.
15708
15709 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15710
15711 * gdb.ada/addr_arith: New testcase.
15712
15713 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15714
15715 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15716 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15717 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15718 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15719
15720 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15721
15722 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15723 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15724 * gdb.arch/stap-eval-lang-ada.exp: New file.
15725
15726 2014-10-14 Yao Qi <yao@codesourcery.com>
15727
15728 * gdb.mi/mi-var-child.c (nothing1): New function.
15729 (nothing2): New function.
15730 (do_children_tests): Set function pointers by nothing1 and
15731 nothing2.
15732 * gdb.mi/mi-var-child.exp: Step over new added statements.
15733 Update test to match the new output.
15734 * gdb.mi/var-cmd.c (nothing1): New function.
15735 (nothing2): New function.
15736 (do_children_tests): Set function pointers by nothing1 and
15737 nothing2.
15738 * gdb.mi/mi-var-display.exp: Update test to match output.
15739 Step to the line specified by $line_dct_nothing.
15740 Increase the number of lines to step.
15741
15742 2014-10-14 Yao Qi <yao@codesourcery.com>
15743
15744 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15745 tests.
15746 * gdb.mi/mi2-var-child.exp: Likewise.
15747
15748 2014-10-13 Doug Evans <dje@google.com>
15749
15750 * gdb.python/py-objfile.exp: Change name of file name test.
15751
15752 2014-10-13 Doug Evans <dje@google.com>
15753
15754 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15755 from the start of the CU.
15756
15757 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15758 Yao Qi <yao@codesourcery.com>
15759
15760 Fix "save breakpoints" for "catch" command.
15761 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15762 Remove -nonewline. Match also the added "main" line.
15763
15764 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15765
15766 Fix "save breakpoints" for "disable $bpnum" command.
15767 * gdb.base/save-bp.c (main): Add label.
15768 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15769
15770 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15771
15772 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15773
15774 2014-10-11 Yao Qi <yao@codesourcery.com>
15775
15776 * gdb.server/server-kill.exp: Execute command
15777 "set remote trace-status-packet on" before "tstatus".
15778
15779 2014-10-11 Yao Qi <yao@codesourcery.com>
15780
15781 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15782 (main): Call getppid.
15783 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15784 and continue to it. Read variable "server_pid".
15785
15786 2014-10-11 Yao Qi <yao@codesourcery.com>
15787
15788 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15789
15790 2014-10-11 Yao Qi <yao@codesourcery.com>
15791
15792 * gdb.threads/thread-find.exp: Don't execute command
15793 "info threads".
15794 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15795 * gdb.threads/linux-dp.exp: Don't check the condition
15796 $threads_created equals to zero.
15797
15798 2014-10-10 Pedro Alves <palves@redhat.com>
15799
15800 * gdb.base/bigcore.exp: Remove references to IRIX.
15801 * gdb.base/funcargs.exp: Likewise.
15802 * gdb.base/interrupt.exp: Likewise.
15803 * gdb.base/mips_pro.exp: Likewise.
15804 * gdb.base/nodebug.exp: Likewise.
15805 * gdb.base/setvar.exp: Likewise.
15806 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15807
15808 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15809 Pedro Alves <palves@redhat.com>
15810
15811 PR symtab/14466
15812 * gdb.base/vdso-warning.c: New file.
15813 * gdb.base/vdso-warning.exp: New file.
15814
15815 2014-10-02 Doug Evans <dje@google.com>
15816
15817 * gdb.base/structs.c (main): Don't run forever.
15818
15819 2014-10-02 Pedro Alves <palves@redhat.com>
15820
15821 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15822 (top level) <stop threads 1, stop threads 2>: Use it.
15823
15824 2014-10-02 Pedro Alves <palves@redhat.com>
15825
15826 * gdb.threads/break-while-running.exp (test): Add new
15827 'update_thread_list' argument. Skip "info threads" if false.
15828 (top level): Add new 'update_thread_list' axis.
15829
15830 2014-10-02 Pedro Alves <palves@redhat.com>
15831
15832 PR breakpoints/17431
15833 * gdb.base/execl-update-breakpoints.c: New file.
15834 * gdb.base/execl-update-breakpoints.exp: New file.
15835
15836 2014-10-01 Pedro Alves <palves@redhat.com>
15837
15838 * gdb.base/breakpoint-in-ro-region.c: New file.
15839 * gdb.base/breakpoint-in-ro-region.exp: New file.
15840
15841 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15842
15843 * gdb.mi/mi-exit-code.exp: New file.
15844 * gdb.mi/mi-exit-code.c: New file.
15845
15846 2014-09-30 Yao Qi <yao@codesourcery.com>
15847
15848 * lib/prelink-support.exp (build_executable_own_libs): Error if
15849 the target isn't native.
15850
15851 2014-09-30 Yao Qi <yao@codesourcery.com>
15852
15853 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15854 false.
15855
15856 2014-09-22 Pedro Alves <palves@redhat.com>
15857
15858 * gdb.threads/break-while-running.exp: New file.
15859 * gdb.threads/break-while-running.c: New file.
15860
15861 2014-09-19 Yao Qi <yao@codesourcery.com>
15862
15863 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15864 Invoke test. Restart GDB with --readnow and invoke test again.
15865
15866 2014-09-19 Yao Qi <yao@codesourcery.com>
15867
15868 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15869 proc set_breakpoint_on_gcd_function. Invoke
15870 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15871 invoke set_breakpoint_on_gcd_function again.
15872
15873 2014-09-18 Doug Evans <dje@google.com>
15874
15875 * gdb.dwarf2/symtab-producer.exp: New file.
15876
15877 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15878
15879 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15880 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15881 * gdb.base/global-var-nested-by-dso.c: Likewise.
15882 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15883
15884 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15885 Pedro Alves <palves@redhat.com>
15886
15887 * gdb.base/watch-bitfields.exp: Pass string other than test file
15888 name to prepare_for_testing.
15889 (watch): New procedure.
15890 (expect_watchpoint): Use with_test_prefix.
15891 (top level): Factor out tests to ...
15892 (test_watch_location, test_regular_watch): ... these new
15893 procedures, and use with_test_prefix and gdb_continue_to_end.
15894
15895 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15896
15897 PR breakpoints/12526
15898 * gdb.base/watch-bitfields.exp: New file.
15899 * gdb.base/watch-bitfields.c: New file.
15900
15901 2014-09-16 Pedro Alves <palves@redhat.com>
15902
15903 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15904 software and hardware addresses, not software address against
15905 itself.
15906
15907 2014-09-16 Pedro Alves <palves@redhat.com>
15908
15909 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15910 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15911
15912 2014-09-16 Pedro Alves <palves@redhat.com>
15913
15914 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15915 files.
15916 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15917 "*-*-vxworks*" throughout.
15918 * gdb.base/break.exp: Likewise.
15919 * gdb.base/default.exp: Likewise.
15920 * gdb.base/scope.exp: Likewise.
15921 * gdb.base/sepdebug.exp: Likewise.
15922 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15923 throughout.
15924 * gdb.base/run.c: Likewise.
15925 * gdb.base/sepdebug.c: Likewise.
15926 * gdb.hp/gdb.aCC/run.c: Likewise.
15927 * gdb.reverse/until-reverse.c: Likewise.
15928 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15929
15930 2014-09-16 Yao Qi <yao@codesourcery.com>
15931
15932 * boards/local-remote-host-native.exp: New file.
15933
15934 2014-09-14 Doug Evans <xdje42@gmail.com>
15935
15936 * gdb.threads/queue-signal.c (thread_count): New variable.
15937 (thread_count_mutex, thread_count_condvar): New variables.
15938 (incr_thread_count, wait_all_threads_running): New functions.
15939 (main): Wait for all threads to be in their thread functions.
15940
15941 2014-09-13 Doug Evans <xdje42@gmail.com>
15942
15943 * gdb.threads/queue-signal.c: New file.
15944 * gdb.threads/queue-signal.exp: New file.
15945
15946 2014-09-13 Doug Evans <xdje42@gmail.com>
15947
15948 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15949 be consistent with what default_gdb_init uses.
15950 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15951 the plain text of the prompt. Add some logging printfs.
15952 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15953
15954 2014-09-12 Pedro Alves <palves@redhat.com>
15955
15956 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15957 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15958 * gdb.arch/i386-size-overlap.exp: Likewise.
15959 * gdb.arch/i386-size.exp: Likewise.
15960 * gdb.arch/i386-unwind.exp: Likewise.
15961 * gdb.base/a2-run.exp: Likewise.
15962 * gdb.base/break.exp: Likewise.
15963 * gdb.base/charset.exp: Likewise.
15964 * gdb.base/chng-syms.exp: Likewise.
15965 * gdb.base/commands.exp: Likewise.
15966 * gdb.base/dbx.exp: Likewise.
15967 * gdb.base/find.exp: Likewise.
15968 * gdb.base/funcargs.exp: Likewise.
15969 * gdb.base/jit-simple.exp: Likewise.
15970 * gdb.base/reread.exp: Likewise.
15971 * gdb.base/sepdebug.exp: Likewise.
15972 * gdb.base/step-bt.exp: Likewise.
15973 * gdb.cp/mb-inline.exp: Likewise.
15974 * gdb.cp/mb-templates.exp: Likewise.
15975 * gdb.objc/basicclass.exp: Likewise.
15976 * gdb.threads/killed.exp: Likewise.
15977
15978 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15979
15980 PR tdep/17379
15981 * gdb.arch/powerpc-stackless.S: New file.
15982 * gdb.arch/powerpc-stackless.exp: New file.
15983
15984 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15985
15986 * gdb.base/attach.c: Include unistd.h.
15987 (main): Call alarm. Add label postloop.
15988 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15989 gdb_breakpoint, gdb_continue_to_breakpoint.
15990 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15991
15992 2014-09-11 Pedro Alves <palves@redhat.com>
15993
15994 PR gdb/17347
15995 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15996 * gdb.base/attach.exp (test_command_line_attach_run): New
15997 procedure.
15998 (top level): Call it.
15999
16000 2014-09-11 Pedro Alves <palves@redhat.com>
16001
16002 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16003 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16004 (do_command_attach_tests): Use spawn_wait_for_attach.
16005 * gdb.base/solib-overlap.exp: Likewise.
16006 * gdb.multi/multi-attach.exp: Likewise.
16007 * gdb.python/py-prompt.exp: Likewise.
16008 * gdb.python/py-sync-interp.exp: Likewise.
16009 * gdb.server/ext-attach.exp: Likewise.
16010
16011 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16012
16013 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16014 command in testcase. Simplify testcase.
16015
16016 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16017
16018 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16019
16020 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16021
16022 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16023
16024 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16025
16026 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16027
16028 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16029
16030 * gdb.dwarf2/dynarr-ptr.c: New file.
16031 * gdb.dwarf2/dynarr-ptr.exp: New file.
16032
16033 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16034
16035 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16036 of 30 rather than hardcoding 120 for a slow test case. Take the
16037 `gdb,timeout' target setting into account for this calculation.
16038 Don't extend the timeout for the test cases that don't need it.
16039
16040 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16041
16042 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16043 a factor of 2 for a slow test case. Take the `gdb,timeout'
16044 target setting into account for this calculation.
16045 * gdb.reverse/until-precsave.exp: Increase the timeout by
16046 a factor of 15 and 3 respectively rather than adding 120
16047 for a pair of slow test cases. Take the `gdb,timeout'
16048 target setting into account for this calculation.
16049
16050 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16051
16052 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16053 timeout, don't pass one down to gdb_expect.
16054 (gdb_expect): Rework timeout selection.
16055
16056 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16057
16058 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16059 exception on timeout.
16060 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16061 (gdbserver_start_extended): Catch any `gdbserver_start' error
16062 exceptions.
16063 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16064 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16065 `gdbserver_gdb_load' error exceptions.
16066
16067 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16068
16069 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16070 120 on waiting for the TCP socket to open.
16071
16072 2014-09-09 Doug Evans <xdje42@gmail.com>
16073
16074 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16075 _caller_matches, _any_caller_is, _any_caller_matches.
16076
16077 2014-09-09 Doug Evans <xdje42@gmail.com>
16078
16079 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16080
16081 2014-09-09 Yao Qi <yao@codesourcery.com>
16082
16083 * gdb.mi/mi-var-display.exp: Set print symbol off.
16084
16085 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16086
16087 PR gdb/17035
16088 * gdb.base/commands.exp: Add tests to verify user-defined
16089 commands with empty bodies.
16090 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16091 python commands in `show user command`.
16092 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16093 scheme commands in `show user command`.
16094
16095 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16096
16097 PR python/17355
16098 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16099 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16100 * gdb.python/py-framefilter-invalidarg.exp: New file.
16101 * gdb.python/py-framefilter-invalidarg.py: New file.
16102
16103 2014-09-06 Doug Evans <xdje42@gmail.com>
16104
16105 PR 15276
16106 * gdb.python/py-caller-is.c: New file.
16107 * gdb.python/py-caller-is.exp: New file.
16108
16109 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16110
16111 PR gdb/17235
16112 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16113 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16114
16115 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16116
16117 PR fortran/17237
16118 * gdb.fortran/print-formatted.exp: New file.
16119 * gdb.fortran/print-formatted.f90: Likewise.
16120
16121 2014-09-03 Sasha Smundak <asmundak@google.com>
16122
16123 * gdb.python/py-frame.exp: Test Frame.read_register.
16124
16125 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16126
16127 PR python/16699
16128 * gdb.python/py-completion.exp: New file.
16129 * gdb.python/py-completion.py: Likewise.
16130
16131 2014-08-28 Doug Evans <dje@google.com>
16132
16133 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16134 eax,etc. are live with values set by gdb and thus the compiler can't
16135 use them.
16136 * gdb.arch/i386-pseudo.c (main): Ditto.
16137
16138 2014-08-27 Doug Evans <dje@google.com>
16139
16140 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16141
16142 2014-08-25 Doug Evans <dje@google.com>
16143
16144 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16145 (main): Ditto.
16146
16147 2014-08-25 Doug Evans <dje@google.com>
16148
16149 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16150
16151 2014-08-24 Yao Qi <yao@codesourcery.com>
16152
16153 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16154 symbol off.
16155 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16156
16157 2014-08-22 Doug Evans <dje@google.com>
16158
16159 PR 17276
16160 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16161 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16162 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16163
16164 2014-08-22 Yao Qi <yao@codesourcery.com>
16165
16166 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16167 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16168 * gdb.python/python.exp: Likewise. Use .py file on the host
16169 instead of the build.
16170
16171 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16172
16173 * gdb.threads/gcore-stale-thread.c: New file.
16174 * gdb.threads/gcore-stale-thread.exp: New file.
16175
16176 2014-08-21 Pedro Alves <palves@redhat.com>
16177
16178 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16179 * gdb.base/gcore-relro-pie.exp: Likewise.
16180 * gdb.base/gcore-relro.exp: Likewise.
16181 * gdb.base/gcore.exp: Likewise.
16182 * gdb.base/print-symbol-loading.exp: Likewise.
16183 * gdb.threads/gcore-thread.exp: Likewise.
16184 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16185
16186 2014-08-20 Pedro Alves <palves@redhat.com>
16187 Jan Kratochvil <jan.kratochvil@redhat.com>
16188
16189 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16190 configure.
16191 (EXPECT): Handle READ1 being set.
16192 (all): Depend on EXTRA_RULES.
16193 (check-read1, expect-read1, read1.so, read1): New rules.
16194 * README (Testsuite Parameters): Document the READ1 make variable.
16195 (Race detection): New section.
16196 * configure: Regenerate.
16197 * configure.ac: If build==host==target, and running under a
16198 GNU/glibc system, add read1 to the extra Makefile rules.
16199 (EXTRA_RULES): AC_SUBST it.
16200 * lib/read1.c: New file.
16201
16202 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16203
16204 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16205 the handling of variables declared as a typedef to an array
16206 which a DW_AT_data_location attribute.
16207
16208 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16209 Pedro Alves <palves@redhat.com>
16210
16211 PR symtab/14604
16212 PR symtab/14605
16213 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16214 gdb_test.
16215
16216 2014-08-19 Pedro Alves <palves@redhat.com>
16217
16218 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16219
16220 2014-08-19 Yao Qi <yao@codesourcery.com>
16221
16222 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16223 right line.
16224
16225 2014-08-18 David Blaikie <dblaikie@gmail.com>
16226
16227 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16228
16229 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16230
16231 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16232 attribute in array range.
16233
16234 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16235
16236 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16237
16238 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16239
16240 PR c++/17132
16241 * gdb.cp/pr17132.cc: New file.
16242 * gdb.cp/pr17132.exp: New file.
16243
16244 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16245
16246 * gdb.python/py-xmethods.py (A_getarrayind)
16247 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16248 Use 'print' with function call syntax.
16249 (E_method_matcher.match): Fix tab vs space indentation mixup.
16250
16251 2014-08-15 Yao Qi <yao@codesourcery.com>
16252
16253 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16254 false.
16255
16256 2014-08-15 Yao Qi <yao@codesourcery.com>
16257
16258 * gdb.cp/casts.exp: Set print symbol off.
16259 * gdb.cp/class2.exp: Likewise.
16260 * gdb.cp/overload.exp: Likewise.
16261 * gdb.cp/templates.exp: Likewise.
16262
16263 2014-08-11 Doug Evans <dje@google.com>
16264
16265 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16266 (test_load_shlib): Update.
16267
16268 2014-08-09 Yao Qi <yao@codesourcery.com>
16269
16270 * gdb.base/display.exp: Invoke is_address_zero_readable.
16271 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16272 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16273 * gdb.base/hbreak-unmapped.exp: Return if
16274 is_address_zero_readable returns true.
16275 * gdb.base/signest.exp: Likewise.
16276 * gdb.base/signull.exp: Likewise.
16277 * gdb.base/sigbpt.exp: Likewise.
16278 * gdb.guile/scm-disasm.exp: Do the test if
16279 is_address_zero_readable returns false.
16280 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16281 * gdb.python/py-arch.exp: Likewise.
16282 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16283 * lib/gdb.exp (is_address_zero_readable): New proc.
16284
16285 2014-08-09 Yao Qi <yao@codesourcery.com>
16286
16287 PR testsuite/13443
16288 * gdb.mi/mi-var-display.exp: Make test messages unique.
16289
16290 2014-08-04 Tom Tromey <tromey@redhat.com>
16291
16292 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16293 target 0".
16294
16295 2014-08-04 Tom Tromey <tromey@redhat.com>
16296
16297 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16298 "target_resume".
16299
16300 2014-08-01 Joel Brobecker <brobecker@adacore.com>
16301
16302 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16303 inner_vla_struct_object_size.
16304 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16305 as xfail.
16306
16307 2014-07-30 Pedro Alves <palves@redhat.com>
16308
16309 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16310 comment.
16311
16312 2014-07-29 Yao Qi <yao@codesourcery.com>
16313
16314 PR gdb/17206
16315 * gdb.base/until-nodebug.exp: New.
16316
16317 2014-07-28 Doug Evans <xdje42@gmail.com>
16318
16319 PR guile/17203
16320 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16321 previously existing parameter, and previously ambiguously spelled
16322 parameter.
16323
16324 2014-07-28 Will Newton <will.newton@linaro.org>
16325
16326 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16327
16328 2014-07-26 Ludovic Courtès <ludo@gnu.org>
16329 Doug Evans <xdje42@gmail.com>
16330
16331 PR guile/17146
16332 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16333
16334 2014-07-25 Pedro Alves <palves@redhat.com>
16335
16336 * gdb.threads/signal-command-handle-nopass.c: New file.
16337 * gdb.threads/signal-command-handle-nopass.exp: New file.
16338 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16339 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16340 * gdb.threads/signal-delivered-right-thread.c: New file.
16341 * gdb.threads/signal-delivered-right-thread.exp: New file.
16342
16343 2014-07-25 Pedro Alves <palves@redhat.com>
16344
16345 * gdb.base/double-prompt-target-event-error.exp
16346 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16347 match.
16348 (cancel_pagination_in_target_event): Rework double prompt
16349 detection.
16350 * gdb.base/paginate-after-ctrl-c-running.exp
16351 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16352 <return>' match.
16353 * gdb.base/paginate-bg-execution.exp
16354 (test_bg_execution_pagination_return)
16355 (test_bg_execution_pagination_cancel): Remove '-notransfer
16356 <return>' matches.
16357 * gdb.base/paginate-execution-startup.exp
16358 (test_fg_execution_pagination_return)
16359 (test_fg_execution_pagination_cancel): Remove '-notransfer
16360 <return>' matches.
16361 * gdb.base/paginate-inferior-exit.exp
16362 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16363 match.
16364 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16365 * lib/gdb.exp (pagination_prompt): Run text through
16366 string_to_regexp.
16367 (gdb_test_multiple): Match $pagination_prompt instead of
16368 "<return>".
16369 (string_to_regexp): Move to lib/gdb-utils.exp.
16370
16371 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16372
16373 * gdb.arch/amd64-entry-value-paramref.S: New file.
16374 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16375 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16376 * gdb.arch/amd64-optimout-repeat.S: New file.
16377 * gdb.arch/amd64-optimout-repeat.c: New file.
16378 * gdb.arch/amd64-optimout-repeat.exp: New file.
16379
16380 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16381
16382 PR gdb/17170
16383 * gdb.base/statistics.exp: New file.
16384
16385 2014-07-17 Doug Evans <dje@google.com>
16386
16387 PR gdb/17170
16388 * gdb.base/maint.exp: Update testing of per-command stats.
16389
16390 2014-07-16 Pedro Alves <palves@redhat.com>
16391
16392 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16393 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16394 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16395 (tfile_write_buf): New functions.
16396 (add_memory_block): Rewrite using the above.
16397 (adjust_function_address): New function.
16398 (FUNCTION_ADDRESS): New macro.
16399 (write_basic_trace_file): Remove short_x local, and use
16400 tfile_write_16. Change type of func_addr local to unsigned long
16401 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16402 here. Cast argument of add_memory_block to char pointer.
16403 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16404 (main): Remove parameters.
16405 * gdb.trace/tfile.exp: Remove nowarnings.
16406
16407 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16408
16409 * gdb.base/debug-expr.exp: Test string evaluation with
16410 "debug expression" on.
16411
16412 2014-07-15 Pedro Alves <palves@redhat.com>
16413
16414 * gdb.base/reread.exp: Use clean_restart.
16415
16416 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16417
16418 * gdb.arch/avr-flash-qualifer.c: New.
16419 * gdb.arch/avr-flash-qualifer.exp: New.
16420
16421 2014-07-14 Pedro Alves <palves@redhat.com>
16422
16423 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16424 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16425
16426 2014-07-14 Pedro Alves <palves@redhat.com>
16427
16428 * gdb.base/double-prompt-target-event-error.c: New file.
16429 * gdb.base/double-prompt-target-event-error.exp: New file.
16430
16431 2014-07-14 Pedro Alves <palves@redhat.com>
16432
16433 PR gdb/17072
16434 * gdb.base/paginate-inferior-exit.c: New file.
16435 * gdb.base/paginate-inferior-exit.exp: New file.
16436
16437 2014-07-14 Pedro Alves <palves@redhat.com>
16438
16439 PR gdb/17072
16440 * gdb.base/paginate-bg-execution.c: New file.
16441 * gdb.base/paginate-bg-execution.exp: New file.
16442
16443 2014-07-14 Pedro Alves <palves@redhat.com>
16444
16445 PR gdb/17072
16446 * gdb.base/paginate-execution-startup.c: New file.
16447 * gdb.base/paginate-execution-startup.exp: New file.
16448 * lib/gdb.exp (pagination_prompt): New global.
16449 (default_gdb_spawn): New procedure, factored out from
16450 default_gdb_spawn.
16451 (default_gdb_start): Adjust to call default_gdb_spawn.
16452 (gdb_spawn): New procedure.
16453
16454 2014-07-14 Pedro Alves <palves@redhat.com>
16455
16456 * lib/gdb.exp (gdb_assert): New procedure.
16457 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16458
16459 2014-07-14 Pedro Alves <palves@redhat.com>
16460
16461 * gdb.base/execution-termios.c: New file.
16462 * gdb.base/execution-termios.exp: New file.
16463
16464 2014-07-14 Tom Tromey <tromey@redhat.com>
16465
16466 * gdb.cp/vla-cxx.cc: New file.
16467 * gdb.cp/vla-cxx.exp: New file.
16468
16469 2014-07-14 Tom Tromey <tromey@redhat.com>
16470
16471 * gdb.reverse/rerun-prec.c: New file.
16472 * gdb.reverse/rerun-prec.exp: New file.
16473
16474 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16475 Maciej W. Rozycki <macro@codesourcery.com>
16476
16477 * lib/gdb-utils.exp: New file.
16478 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16479 inline `gdb_init_command' processing.
16480 (gdb_start_cmd): Likewise.
16481 * lib/mi-support.exp (mi_run_cmd): Likewise.
16482 * README: Document `gdb_init_command' and `gdb_init_commands'.
16483
16484 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16485
16486 Fix false FAIL running under a very long directory name.
16487 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16488 and "set print elements 10000". Twice.
16489
16490 2014-07-11 Yao Qi <yao@codesourcery.com>
16491
16492 * gdb.base/exprs.exp: "set print symbol off".
16493
16494 2014-07-11 Pedro Alves <palves@redhat.com>
16495
16496 * gdb.threads/kill.c: New file.
16497 * gdb.threads/kill.exp: New file.
16498
16499 2014-07-10 Yao Qi <yao@codesourcery.com>
16500
16501 * gdb.trace/tfile.c (write_basic_trace_file)
16502 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16503 address written to trace file.
16504
16505 2014-07-09 Pedro Alves <palves@redhat.com>
16506
16507 * gdb.base/attach-wait-input.exp: New file.
16508 * gdb.base/attach-wait-input.c: New file.
16509
16510 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16511
16512 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16513 setting up test structures.
16514 (main): Call new test function.
16515 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16516 test function, continue into test function and walk test
16517 structures.
16518
16519 2014-07-02 Yao Qi <yao@codesourcery.com>
16520
16521 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16522 'bar_start' at the beginning of functions 'foo' and 'bar'
16523 respectively.
16524 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16525 instead of 'foo' and 'bar'.
16526
16527 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16528
16529 * gdb.btrace/segv.exp: New.
16530 * gdb.btrace/segv.c: New.
16531
16532 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16533
16534 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16535 instruction.
16536
16537 2014-06-30 Mark Wielaard <mjw@redhat.com>
16538
16539 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16540 vulture, vilify, villar): New volatile array constants.
16541 (vindictive, vegetation): New const volatile array constants.
16542 * gdb.base/volatile.exp: Test volatile and const volatile array
16543 types.
16544
16545 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16546
16547 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16548 target lacks support for awatch, rwatch, or hbreak.
16549
16550 2014-06-27 Yao Qi <yao@codesourcery.com>
16551
16552 * gdb.multi/dummy-frame-restore.exp: New.
16553 * gdb.multi/dummy-frame-restore.c: New.
16554
16555 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16556
16557 * gdb.btrace/gcore.exp: New.
16558
16559 2014-06-23 Pedro Alves <palves@redhat.com>
16560
16561 * gdb.base/watchpoint-reuse-slot.c: New file.
16562 * gdb.base/watchpoint-reuse-slot.exp: New file.
16563
16564 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16565
16566 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16567 progspace's filename in 'info', 'enable' and 'disable' command
16568 tests.
16569
16570 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16571
16572 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16573 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16574 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16575
16576 2014-06-20 Gary Benson <gbenson@redhat.com>
16577
16578 * gdb.arch/i386-avx.exp: Fix include file location.
16579 * gdb.arch/i386-sse.exp: Likewise.
16580
16581 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16582
16583 * gdb.dlang/expression.exp: New file.
16584
16585 2014-06-19 Pedro Alves <palves@redhat.com>
16586
16587 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16588 out from ...
16589 (top level): ... here. Iterate running tests under different
16590 scheduler-locking settings.
16591
16592 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16593
16594 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16595 to DW_FORM_addr and use non-zero addresses.
16596
16597 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16598
16599 PR gdb/17017
16600 * gdb.python/py-xmethods.cc: Add global function call counters and
16601 increment them in their respective functions. Remove "cout"
16602 statements.
16603 * gdb.python/py-xmethods.exp: Make tests check the global function
16604 call counters instead of depending on inferior IO.
16605
16606 2014-06-18 Don Breazeal <donb@codesourcery.com>
16607
16608 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16609 Deleted procedure.
16610 (explicit_fork_parent_follow): Deleted procedure.
16611 (explicit_fork_child_follow): Deleted procedure.
16612 (test_follow_fork): New procedure.
16613 (do_fork_tests): Replace calls to deleted procedures with
16614 calls to test_follow_fork and reset GDB for subsequent
16615 procedure calls.
16616
16617 2014-06-17 Yao Qi <yao@codesourcery.com>
16618
16619 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16620 CP1252.
16621
16622 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16623
16624 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16625 Initialize ptr and S explicitly.
16626 (skip_type_update_when_not_use_rtti_test): Likewise.
16627
16628 2014-06-16 Keith Seitz <keiths@redhat.com>
16629
16630 PR mi/15863
16631 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16632 the inferior is started.
16633
16634 2014-06-16 Pedro Alves <palves@redhat.com>
16635
16636 * gdb.base/break-main-file-remove-fail.c: New file.
16637 * gdb.base/break-main-file-remove-fail.exp: New file.
16638 * gdb.base/break-unload-file.exp: Use build_executable instead of
16639 prepare_for_testing.
16640 (test_break): New parameter "initial_load". Handle it.
16641 (top level): Add initial_load cmdline/file axis.
16642
16643 2014-06-12 Tom Tromey <tromey@redhat.com>
16644
16645 * gdb.base/completion.exp: Don't use directory name in test.
16646
16647 2014-06-09 Gary Benson <gbenson@redhat.com>
16648
16649 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16650 separate the always-available ANSI-standard signals from the
16651 signals that require checking.
16652 (main): Likewise.
16653 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16654 Likewise.
16655 (main): Likewise.
16656
16657 2014-06-07 Keith Seitz <keiths@redhat.com>
16658
16659 Revert:
16660 PR c++/16253
16661 * gdb.cp/var-tag.cc: New file.
16662 * gdb.cp/var-tag.exp: New file.
16663 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16664 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16665 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16666 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16667
16668 2014-06-06 Doug Evans <xdje42@gmail.com>
16669
16670 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16671
16672 2014-06-06 Pedro Alves <palves@redhat.com>
16673
16674 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16675 in target debug output instead of looking at RSP packets,
16676 disabling the test on any target that uses hardware stepping.
16677 Update comments.
16678
16679 2014-06-06 Pedro Alves <palves@redhat.com>
16680
16681 * gdb.base/break-unload-file.exp: Fix typo.
16682
16683 2014-06-06 Yao Qi <yao@codesourcery.com>
16684
16685 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16686 from "jit_function" to "^jit_function".
16687
16688 2014-06-06 Yao Qi <yao@codesourcery.com>
16689
16690 * gdb.base/async.c (foo): Add one statement.
16691 * gdb.base/async.exp: Get the next instruction address and
16692 match the output of "nexti" by instruction address. Match
16693 the hex address in the output of "finish".
16694
16695 2014-06-06 Gary Benson <gbenson@redhat.com>
16696
16697 * gdb.base/call-signals.c: Remove preprocessor conditionals
16698 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16699 SIGSEGV and SIGTERM.
16700 * gdb.base/sigall.c: Likewise.
16701 * gdb.base/unwindonsignal.c: Likewise.
16702 * gdb.reverse/sigall-reverse.c: Likewise.
16703
16704 2014-06-06 Yao Qi <yao@codesourcery.com>
16705
16706 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16707 readable, skip the test.
16708
16709 2014-06-06 Yao Qi <yao@codesourcery.com>
16710
16711 * gdb.threads/staticthreads.c (thread_function): Move the line
16712 setting breakpoint on forward.
16713 * gdb.threads/staticthreads.exp: Update comments.
16714
16715 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16716
16717 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16718 "history-append! type error".
16719
16720 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16721
16722 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16723 erroneous dprintf expected input.
16724
16725 2014-06-04 Doug Evans <xdje42@gmail.com>
16726
16727 * gdb.guile/scm-generics.exp: Delete.
16728
16729 2014-06-04 Doug Evans <xdje42@gmail.com>
16730
16731 * gdb.guile/scm-breakpoint.exp: Update.
16732 Add tests for breakpoint registration.
16733
16734 2014-06-04 Tom Tromey <tromey@redhat.com>
16735
16736 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16737 VLA-in-union.
16738 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16739 inner_vla_struct, vla_union types. Initialize objects of those
16740 types and compute their sizes.
16741
16742 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16743 Hui Zhu <hui@codesourcery.com>
16744
16745 * gdb.base/fileio.exp: Add test for shell not available as well as
16746 available.
16747 * gdb.base/fileio.c (test_system): Check for shell twice.
16748
16749 2014-06-04 Yao Qi <yao@codesourcery.com>
16750
16751 * gdb.base/auto-connect-native-target.exp: Remove redundant
16752 space from the regexp pattern.
16753
16754 2014-06-04 Yao Qi <yao@codesourcery.com>
16755
16756 * gdb.base/default.exp: Replace "child" with "native" in
16757 regexp pattern.
16758
16759 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16760
16761 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16762 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16763 * gdb.python/py-xmethods.py: Python script supporting the
16764 new testcase and tests.
16765
16766 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16767 Pedro Alves <palves@redhat.com>
16768
16769 PR breakpoints/17000
16770 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16771 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16772
16773 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16774
16775 * gdb.base/subst.exp: Add tests to verify partial path matching
16776 output.
16777
16778 2014-06-03 Pedro Alves <palves@redhat.com>
16779
16780 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16781 target that doesn't use software single-stepping.
16782
16783 2014-06-03 Pedro Alves <palves@redhat.com>
16784
16785 PR breakpoints/17000
16786 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16787 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16788
16789 2014-06-02 Doug Evans <xdje42@gmail.com>
16790
16791 * gdb.guile/scm-parameter.exp: New file.
16792
16793 2014-06-02 Doug Evans <xdje42@gmail.com>
16794
16795 * gdb.guile/scm-cmd.c: New file.
16796 * gdb.guile/scm-cmd.exp: New file.
16797
16798 2014-06-02 Doug Evans <xdje42@gmail.com>
16799
16800 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16801 pretty-printer lookup.
16802 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16803 (make-pp_s-printer): Call it.
16804 (make-pretty-printer-from-dict): New function.
16805 (lookup-pretty-printer-maker-from-dict): New function.
16806 (*pretty-printer*): Simplify.
16807 (make-objfile-pp_s-printer): New function.
16808 (install-objfile-pretty-printers!): New function.
16809 (make-progspace-pp_s-printer): New function.
16810 (install-progspace-pretty-printers!): New function.
16811 * gdb.guile/scm-progspace.c: New file.
16812 * gdb.guile/scm-progspace.exp: New file.
16813
16814 2014-06-02 Pedro Alves <palves@redhat.com>
16815
16816 * gdb.base/dprintf-bp-same-addr.c: New file.
16817 * gdb.base/dprintf-bp-same-addr.exp: New file.
16818
16819 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16820
16821 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16822 * gdb.arch/powerpc-power.s: Likewise.
16823
16824 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16825
16826 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16827
16828 2014-06-01 Yao Qi <yao@codesourcery.com>
16829
16830 * gdb.base/watchpoint.exp (test_watch_location): Check null
16831 pointer can be dereferenced. If not, do the test, otherwise
16832 skip it.
16833
16834 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16835
16836 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16837 results.
16838 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16839
16840 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16841
16842 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16843 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16844 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16845 * gdb.arch/amd64-invalid-stack-top.c: New file.
16846 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16847
16848 2014-05-30 Pedro Alves <palves@redhat.com>
16849
16850 PR breakpoints/17000
16851 * gdb.base/sss-bp-on-user-bp.c: New file.
16852 * gdb.base/sss-bp-on-user-bp.exp: New file.
16853
16854 2014-05-30 David Blaikie <dblaikie@gmail.com>
16855
16856 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16857 gnu_inline semantics via attribute.
16858 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16859 source explicitly specifies the required semantics.
16860
16861 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16862
16863 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16864
16865 2014-05-29 Pedro Alves <palves@redhat.com>
16866 Tom Tromey <tromey@redhat.com>
16867
16868 * gdb.base/async-shell.exp: Don't enable target-async.
16869 * gdb.base/async.exp
16870 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16871 parameter. Adjust.
16872 (top level): Don't test with "target-async".
16873 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16874 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16875 * gdb.base/inferior-died.exp: Don't enable target-async.
16876 * gdb.base/interrupt-noterm.exp: Likewise.
16877 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16878 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16879 * gdb.mi/mi-nonstop.exp: Likewise.
16880 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16881 * gdb.mi/mi-nsintrall.exp: Likewise.
16882 * gdb.mi/mi-nsmoribund.exp: Likewise.
16883 * gdb.mi/mi-nsthrexec.exp: Likewise.
16884 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16885 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16886 * gdb.python/py-evsignal.exp: Don't enable target-async.
16887 * gdb.python/py-evthreads.exp: Likewise.
16888 * gdb.python/py-prompt.exp: Likewise.
16889 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16890 * gdb.server/solib-list.exp: Don't enable target-async.
16891 * gdb.threads/thread-specific-bp.exp: Likewise.
16892 * lib/mi-support.exp: Adjust to use mi-async.
16893
16894 2014-05-29 Pedro Alves <palves@redhat.com>
16895
16896 PR gdb/13860
16897 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16898 reason, even in sync mode.
16899
16900 2014-05-29 Pedro Alves <palves@redhat.com>
16901 Hui Zhu <hui@codesourcery.com>
16902
16903 PR PR15693
16904 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16905 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16906 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16907 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16908
16909 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16910
16911 * config/monitor.exp (gdb_target_monitor): Replace use of
16912 "set remotebaud" by "set serial baud".
16913
16914 2014-05-26 Andy Wingo <wingo@igalia.com>
16915
16916 * gdb.guile/scm-breakpoint.exp:
16917 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16918 properties instead of gdb-object-properties.
16919
16920 2014-05-26 Yao Qi <yao@codesourcery.com>
16921
16922 * gdb.server/no-thread-db.exp: Specify source file name
16923 explicitly when setting a breakpoint.
16924
16925 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16926
16927 * gdb.btrace/vdso.c: New.
16928 * gdb.btrace/vdso.exp: New.
16929
16930 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16931
16932 * gdb.base/gcore.exp (capture_command_output): Move ...
16933 * lib/gdb.exp (capture_command_output): ... here.
16934
16935 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16936
16937 * gdb.btrace/data.exp: Test memory access during btrace replay.
16938
16939 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16940
16941 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16942
16943 2014-05-21 Pedro Alves <palves@redhat.com>
16944
16945 PR gdb/13860
16946 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16947 (top level): Test that output related to execution commands is
16948 sent to the console with CLI commands, but not with MI commands.
16949 Test that breakpoint events are always mirrored to the console.
16950 Also expect the new source line to be output after a "next" in
16951 async mode too. Make it a pass/fail test.
16952 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16953 output.
16954 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16955
16956 2014-05-21 Pedro Alves <palves@redhat.com>
16957
16958 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16959 Use them to test variations of "list" after reaching a breakpoint.
16960 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16961 Test "list" with listsize 10 after reaching a breakpoint.
16962 * gdb.python/python.exp (decode_line current location line
16963 number): Adjust expected line number.
16964
16965 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16966
16967 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16968 behavior for $args, pass it directly to "run".
16969
16970 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16971
16972 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16973 30000 to 65536.
16974
16975 2014-05-21 Pedro Alves <palves@redhat.com>
16976
16977 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16978 auto-connect-native-target off".
16979 * gdb.base/auto-connect-native-target.c: New file.
16980 * gdb.base/auto-connect-native-target.exp: New file.
16981
16982 2014-05-21 Pedro Alves <palves@redhat.com>
16983
16984 * gdb.base/default.exp: Test "target native" instead of "target
16985 child".
16986
16987 2014-05-21 Mark Wielaard <mjw@redhat.com>
16988
16989 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16990
16991 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16992
16993 Fix TLS access for -static -pthread.
16994 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16995 <HAVE_TLS> (thread_function, main): Initialize it.
16996 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16997 Add clean_restart.
16998 <$have_tls != "">: Check TLSVAR.
16999
17000 2014-05-21 Pedro Alves <palves@redhat.com>
17001
17002 * gdb.base/dcache-line-read-error.c: New.
17003 * gdb.base/dcache-line-read-error.exp: New.
17004
17005 2014-05-20 Pedro Alves <palves@redhat.com>
17006
17007 * gdb.base/compare-sections.c: New file.
17008 * gdb.base/compare-sections.exp: New file.
17009
17010 2014-05-20 Pedro Alves <palves@redhat.com>
17011
17012 * gdb.base/break-idempotent.c: New file.
17013 * gdb.base/break-idempotent.exp: New file.
17014
17015 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17016
17017 * gdb.btrace/nohist.exp: New.
17018
17019 2014-05-20 Yao Qi <yao@codesourcery.com>
17020
17021 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17022 gdb.reverse directory and gdb_reverse_timeout exists in board
17023 setting.
17024 * README: Document gdb_reverse_timeout.
17025
17026 2014-05-20 Yao Qi <yao@codesourcery.com>
17027
17028 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17029 'test_file_name'. Treat args as a string instead of a list.
17030 (gdb_init): Rename argument 'args' by 'test_file_name'.
17031
17032 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17033
17034 * gdb.arch/powerpc-power.exp: New file.
17035 * gdb.arch/powerpc-power.s: New file.
17036
17037 2014-05-16 Doug Evans <dje@google.com>
17038
17039 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17040 * gdb.base/completion.exp: Check that all expected files exist
17041 before doing file completion.
17042
17043 2014-05-16 Doug Evans <dje@google.com>
17044
17045 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17046 Update.
17047 (do_syscall_tests_without_xml): Update.
17048
17049 2014-05-16 Pedro Alves <palves@redhat.com>
17050
17051 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17052 instead of "unknown output after running".
17053
17054 2014-05-16 Yao Qi <yao@codesourcery.com>
17055
17056 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17057 file1.txt from host at the end.
17058 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17059
17060 2014-05-15 Doug Evans <dje@google.com>
17061
17062 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17063 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17064 loading file. Add test for TU lookup.
17065
17066 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17067
17068 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17069 calling "-exec-arguments" or "set args" before running the
17070 inferior.
17071
17072 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17073
17074 * lib/mi-support.exp (mi_expect_stop): Expect message for
17075 inferiors that exit with non-zero exit code.
17076
17077 2014-05-14 Yao Qi <yao@codesourcery.com>
17078
17079 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17080 match absolute path on remote host.
17081 (test_file_list_exec_source_files): Remove "/" from the
17082 pattern.
17083
17084 2014-05-14 Yao Qi <yao@codesourcery.com>
17085
17086 * boards/local-remote-host-notty.exp (${board}_file): New
17087 proc.
17088
17089 2014-05-07 Kyle McMartin <kyle@redhat.com>
17090
17091 Pushed by Joel Brobecker <brobecker@adacore.com>.
17092 * gdb.arch/aarch64-atomic-inst.c: New file.
17093 * gdb.arch/aarch64-atomic-inst.exp: New file.
17094
17095 2014-05-07 Yao Qi <yao@codesourcery.com>
17096
17097 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17098 in current context" too.
17099
17100 2014-05-05 Keith Seitz <keiths@redhat.com>
17101
17102 * gdb.linespec/ls-dollar.exp: Add test for linespec
17103 file:convenience_variable.
17104
17105 2014-05-05 Yao Qi <yao@codesourcery.com>
17106
17107 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17108 traceframes into tfile and ctf trace files. Read data from
17109 trace file and test collected data.
17110 (gdb_collect_locals_test): Likewise.
17111 (gdb_unavailable_registers_test): Likewise.
17112 (gdb_unavailable_floats): Likewise.
17113 (gdb_collect_globals_test): Likewise.
17114 (top-level): Append "ctf" to trace_file_targets if GDB
17115 supports.
17116
17117 2014-05-05 Yao Qi <yao@codesourcery.com>
17118
17119 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17120 code to ...
17121 (gdb_collect_args_test_1): ... it. New proc.
17122 (gdb_collect_locals_test): Move some code to ...
17123 (gdb_collect_locals_test_1): ... it. New proc.
17124 (gdb_unavailable_registers_test): Move some code to ...
17125 (gdb_unavailable_registers_test_1): ... it. New proc.
17126 (gdb_unavailable_floats): Move some code to ...
17127 (gdb_unavailable_floats_1): ... it. New proc.
17128
17129 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17130
17131 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17132 probes to test for bitness recognition.
17133 * gdb.arch/amd64-stap-optional-prefix.exp
17134 (test_probe_value_without_reg): New procedure.
17135 Add code to test for different kinds of bitness.
17136
17137 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17138
17139 PR breakpoints/16889
17140 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17141 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17142
17143 2014-05-01 Pedro Alves <palves@redhat.com>
17144
17145 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17146 gdb_file_cmd if no file is specified.
17147 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17148 last_loaded_file to set the remote exec-file.
17149
17150 2014-05-01 Pedro Alves <palves@redhat.com>
17151
17152 * boards/local-remote-host.exp: New file.
17153
17154 2014-05-01 Pedro Alves <palves@redhat.com>
17155
17156 * boards/local-remote-host.exp: Rename to ...
17157 * boards/local-remote-host-notty.exp: ... this.
17158
17159 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17160
17161 * gdb.ada/dyn_arrayidx: New testcase.
17162
17163 2014-04-26 Yao Qi <yao@codesourcery.com>
17164
17165 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17166 and compute the length of function main. Save it in
17167 $main_length.
17168 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17169 (top-level): Use gdb_compile to compile objects into
17170 executable and restart GDB. Remove invocation to
17171 prepare_for_testing.
17172
17173 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17174 Pedro Alves <palves@redhat.com>
17175
17176 PR server/16255
17177 * gdb.multi/multi-attach.c: New file.
17178 * gdb.multi/multi-attach.exp: New file.
17179
17180 2014-04-25 Pedro Alves <palves@redhat.com>
17181
17182 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17183 user.
17184 (top level): Test that "set remote conditional-breakpoints-packet
17185 off" works as intended.
17186 * gdb.base/dprintf.exp: Test that "set remote
17187 breakpoint-commands-packet off" works as intended.
17188 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17189 New function.
17190 (top level): Call it.
17191 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17192 remote fast-tracepoints-packet off" works as intended.
17193 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17194 * lib/gdb.exp (gdb_is_target_remote): ... here.
17195
17196 2014-04-24 David Blaikie <dblaikie@gmail.com>
17197
17198 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17199 ensure clang would not discard them.
17200 * gdb.base/gdbvars.c: Ditto.
17201 * gdb.base/memattr.c: Ditto.
17202 * gdb.base/whatis.c: Ditto.
17203 * gdb.python/py-prettyprint.c: Ditto.
17204 * gdb.trace/actions.c: Ditto.
17205 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17206 ensure clang would not discard it.
17207
17208 2014-04-24 David Blaikie <dblaikie@gmail.com>
17209
17210 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17211 clang to emit the full definition of type required by the test
17212 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17213
17214 2014-04-24 David Blaikie <dblaikie@gmail.com>
17215
17216 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17217 coax Clang into emitting the definition of the type.
17218 * gdb.cp/pr10728-x.h (y): Ditto.
17219 * gdb.cp/pr10728-y.cc (y): Ditto.
17220
17221 2014-04-24 David Blaikie <dblaikie@gmail.com>
17222
17223 * gdb.base/label.exp: XFAIL label related tests under Clang.
17224 * gdb.cp/cplabel.exp: Ditto.
17225 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17226 under Clang those using labels.
17227
17228 2014-04-25 Yao Qi <yao@codesourcery.com>
17229
17230 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17231 double_label.
17232 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17233 partial_label and double_label.
17234
17235 2014-04-24 David Blaikie <dblaikie@gmail.com>
17236
17237 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17238
17239 2014-04-24 David Blaikie <dblaikie@gmail.com>
17240
17241 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17242 of the function to work across GCC and Clang.
17243 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17244 pointer types (const void ** const V void **).
17245
17246 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
17247 Walfred Tedeschi <walfred.tedeschi@intel.com>
17248
17249 * Makefile.in (EXECUTABLES): Added i386-avx512.
17250 * gdb.arch/i386-avx512.c: New file.
17251 * gdb.arch/i386-avx512.exp: Likewise.
17252
17253 2014-04-23 Keith Seitz <keiths@redhat.com>
17254
17255 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17256 (mi_make_breakpoint_table): New procedure.
17257 (mi_create_breakpoint): Use mi_make_breakpoint
17258 and return the result.
17259 (mi_make_breakpoint): New procedure.
17260 (mi_build_kv_pairs): New procedure.
17261
17262 * gdb.mi/mi-break.exp: Remove unused globals,
17263 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17264 All callers updated.
17265 * gdb.mi/mi-dprintf.exp: Use variable to track command
17266 number.
17267 Update all callers of mi_create_breakpoint and use
17268 mi_make_breakpoint_table.
17269 Remove any unused global variables.
17270 * gdb.mi/mi-nonstop.exp: Likewise.
17271 * gdb.mi/mi-nsintrall.exp: Likewise.
17272 * gdb.mi/mi-nsmoribund.exp: Likewise.
17273 * gdb.mi/mi-nsthrexec.exp: Likewise.
17274 * gdb.mi/mi-reverse.exp: Likewise.
17275 * gdb.mi/mi-simplerun.exp: Likewise.
17276 * gdb.mi/mi-stepn.exp: Likewise.
17277 * gdb.mi/mi-syn-frame.exp: Likewise.
17278 * gdb.mi/mi-until.exp: Likewise.
17279 * gdb.mi/mi-var-cp.exp: Likewise.
17280 * gdb.mi/mi-var-display.exp: Likewise.
17281 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17282 * gdb.mi/mi2-var-child.exp: Likewise.
17283 * gdb.mi/mi-vla-c99.exp: Likewise.
17284 * lib/mi-support.exp: Likewise.
17285
17286 From Ian Lance Taylor <iant@cygnus.com>:
17287 * lib/gdb.exp (parse_args): New procedure.
17288
17289 2014-04-23 Pedro Alves <palves@redhat.com>
17290
17291 * gdb.base/break-unload-file.c: New file.
17292 * gdb.base/break-unload-file.exp: New file.
17293 * gdb.base/sym-file-lib.c (baz): New function.
17294 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17295 field.
17296 (load): Store the segment's mapped size.
17297 (unload): New function.
17298 (unload_shlib): New function.
17299 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17300 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17301 set a breakpoint at baz, and call it.
17302 * gdb.base/sym-file.exp: New tests for stale breakpoint
17303 instructions.
17304
17305 2014-04-23 Pedro Alves <palves@redhat.com>
17306
17307 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17308 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17309 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17310 * gdb.base/hbreak-unmapped.c: New file.
17311 * gdb.base/hbreak-unmapped.exp: New file.
17312 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17313 * lib/gdb.exp (gdb_is_target_remote): ... here.
17314
17315 2014-04-22 Pedro Alves <palves@redhat.com>
17316
17317 * gdb.base/consecutive-step-over.c: New file.
17318 * gdb.base/consecutive-step-over.exp: New file.
17319
17320 2014-04-22 Pedro Alves <palves@redhat.com>
17321
17322 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17323 instead of send_gdb/gdb_expect.
17324
17325 2014-04-22 Yao Qi <yao@codesourcery.com>
17326
17327 * lib/trace-support.exp (generate_tracefile): New procedure.
17328 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17329 return 0.
17330 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17331 if generate_tracefile returns 1.
17332
17333 2014-04-18 Tom Tromey <palves@redhat.com>
17334 Pedro alves <tromey@redhat.com>
17335
17336 PR backtrace/15558
17337 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17338 with a backtrace limit.
17339 * gdb.python/py-frame-inline.exp: Test running to an inline
17340 function with a backtrace limit, and printing the newest frame.
17341 * gdb.python/py-frame-inline.c (main): Call f.
17342
17343 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17344
17345 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17346
17347 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17348
17349 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17350 Drop prefix from unsupported source file path.
17351
17352 2014-04-17 Yao Qi <yao@codesourcery.com>
17353
17354 * lib/gdb.exp (with_target_charset): New proc.
17355 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17356 with_target_charset.
17357 (test_print_strings): Likewise.
17358 (test_repeat_bytes): Likewise.
17359 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17360 for some tests.
17361
17362 2014-04-16 Keith Seitz <keiths@redhat.com>
17363
17364 PR gdb/15827
17365 * gdb.dwarf2/corrupt.c: New file.
17366 * gdb.dwarf2/corrupt.exp: New file.
17367
17368 2014-04-16 Keith Seitz <keiths@redhat.com>
17369
17370 PR c++/16597
17371 * gdb.cp/namelessclass.cc: New file.
17372 * gdb.cp/namelessclass.exp: New file.
17373 * gdb.cp/namelessclass.S: New file.
17374
17375 2014-04-16 Doug Evans <dje@google.com>
17376
17377 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17378 Add comment.
17379 (gdbserver_default_get_comm_port): New function.
17380 (gdbserver_start): Check if board file provided
17381 "gdbserver,get_comm_port" and use it if so.
17382 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17383 (gdb,socketport): Set to "stdio".
17384 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17385 (stdio_gdbserver_template): Delete.
17386 (${board}_get_remote_address): Update.
17387 (${board}_build_remote_cmd): Delete.
17388 (${board}_get_comm_port): New function.
17389 (${board}_spawn): Update.
17390 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17391 Delete.
17392 (${board}_get_remote_address): Update.
17393 (${board}_get_comm_port): New function.
17394
17395 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
17396
17397 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17398 appearing in any order.
17399
17400 2014-04-15 Doug Evans <dje@google.com>
17401
17402 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17403 uninitialized value of "description".
17404
17405 2014-04-15 Keith Seitz <keiths@redhat.com>
17406
17407 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17408 Remove unused globals.
17409 (test_running_the_program): Likewise.
17410 (test_controlled_execution): Likewise.
17411 (test_controlling_breakpoints): Likewise.
17412 (test_program_termination): Likewise.
17413
17414 2014-04-15 Keith Seitz <keiths@redhat.com>
17415
17416 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17417 unused globals.
17418 (test_rbreak_creation_and_listing): Likewise.
17419 (test_ignore_count): Likewise.
17420 (test_error): Likewise.
17421
17422 2014-04-15 Pedro Alves <palves@redhat.com>
17423
17424 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17425 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17426 sym-file-loader.c.
17427 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17428 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17429 to sym-file-loader.c.
17430 (struct library): Forward declare.
17431 (load_shlib, lookup_function): Change prototypes.
17432 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17433 (translate_offset): Remove declarations.
17434 (get_text_addr): New declaration.
17435 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17436 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17437 sym-file-loader.h.
17438 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17439 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17440 here from sym-file-loader.h.
17441 (struct library): New structure.
17442 (load_shlib, lookup_function): Change prototypes and adjust to
17443 work with a struct library.
17444 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17445 (translate_offset): Make static.
17446 (get_text_addr): New function.
17447 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17448
17449 2014-04-15 Pedro Alves <palves@redhat.com>
17450
17451 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17452
17453 2014-04-15 Pedro Alves <palves@redhat.com>
17454
17455 * gdb.base/sym-file-loader.c: Include <limits.h>.
17456 (SELF_LINK): New define.
17457 (get_origin): New function.
17458 (load_shlib): Use it.
17459 * gdb.base/sym-file.exp: Don't early return if the target is
17460 remote. Use runto_main, and issue fail is that fails. Use
17461 gdb_load_shlibs.
17462 (shlib_name): Delete.
17463 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17464
17465 2014-04-15 Pedro Alves <palves@redhat.com>
17466
17467 * gdb.base/sym-file.exp: Remove regex characters from test
17468 message. Don't refer to breakpoint numbers in test messages.
17469
17470 2014-04-14 Keith Seitz <keiths@redhat.com>
17471
17472 PR c++/16253
17473 * gdb.cp/var-tag.cc: New file.
17474 * gdb.cp/var-tag.exp: New file.
17475 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17476 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17477 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17478 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17479
17480 2014-04-14 Tom Tromey <tromey@redhat.com>
17481
17482 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17483 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17484 type.
17485 * gdb.cp/enum-class.exp: New file.
17486 * gdb.cp/enum-class.cc: New file.
17487
17488 2014-04-14 Tom Tromey <tromey@redhat.com>
17489
17490 * gdb.dwarf2/enum-type.exp: New file.
17491
17492 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17493
17494 * gdb.mi/mi-vla-c99.exp: New file.
17495 * gdb.mi/vla.c: New file.
17496
17497 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17498
17499 * gdb.base/vla-datatypes.c: New file.
17500 * gdb.base/vla-datatypes.exp: New file.
17501
17502 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17503
17504 * gdb.base/vla-ptr.c: New file.
17505 * gdb.base/vla-ptr.exp: New file.
17506
17507 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17508
17509 * gdb.dwarf2/count.exp: New file.
17510
17511 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17512
17513 * gdb.base/vla-sideeffect.c: New file.
17514 * gdb.base/vla-sideeffect.exp: New file.
17515
17516 2014-04-14 David Blaikie <dblaikie@gmail.com>
17517
17518 * gdb.mi/non-stop.c: Add return value for non-void function return
17519 statement.
17520 * gdb.threads/staticthreads.c: Ditto.
17521
17522 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17523 Doug Evans <xdje42@gmail.com>
17524
17525 * gdb.guile/scm-value.c: Improve test case.
17526 * gdb.guile/scm-value.exp: Add new test.
17527
17528 2014-04-11 David Blaikie <dblaikie@gmail.com>
17529
17530 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17531 override Clang's default.
17532
17533 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17534
17535 Revert the following changes (regressions):
17536
17537 * gdb.base/vla-sideeffect.c: New file.
17538 * gdb.base/vla-sideeffect.exp: New file.
17539
17540 * gdb.dwarf2/count.exp: New file.
17541
17542 * gdb.base/vla-multi.c: New file.
17543 * gdb.base/vla-multi.exp: New file.
17544
17545 * gdb.base/vla-ptr.c: New file.
17546 * gdb.base/vla-ptr.exp: New file.
17547
17548 * gdb.base/vla-datatypes.c: New file.
17549 * gdb.base/vla-datatypes.exp: New file.
17550
17551 * gdb.mi/mi-vla-c99.exp: New file.
17552 * gdb.mi/vla.c: New file.
17553
17554 2014-04-11 Keith Seitz <keiths@redhat.com>
17555
17556 PR c++/16675
17557 * gdb.cp/cpsizeof.exp: New file.
17558 * gdb.cp/cpsizeof.cc: New file.
17559
17560 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17561
17562 * gdb.mi/mi-vla-c99.exp: New file.
17563 * gdb.mi/vla.c: New file.
17564
17565 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17566
17567 * gdb.base/vla-datatypes.c: New file.
17568 * gdb.base/vla-datatypes.exp: New file.
17569
17570 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17571
17572 * gdb.base/vla-ptr.c: New file.
17573 * gdb.base/vla-ptr.exp: New file.
17574
17575 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17576
17577 * gdb.base/vla-multi.c: New file.
17578 * gdb.base/vla-multi.exp: New file.
17579
17580 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17581
17582 * gdb.dwarf2/count.exp: New file.
17583
17584 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17585
17586 * gdb.base/vla-sideeffect.c: New file.
17587 * gdb.base/vla-sideeffect.exp: New file.
17588
17589 2014-04-11 Yao Qi <yao@codesourcery.com>
17590
17591 * gdb.base/completion.exp: Check file exists before running tests
17592 on file completion.
17593
17594 2014-04-10 Pedro Alves <palves@redhat.com>
17595
17596 * gdb.base/cond-eval-mode.c: New file.
17597 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17598 prepare_for_testing to build the new file. Check result of
17599 runto_main.
17600 (test_break, test_watch): New procedures.
17601 (top level): Use them.
17602
17603 2014-04-08 Pierre Muller <muller@sourceware.org>
17604
17605 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17606 Ctrl-V use for mingw hosts.
17607
17608 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17609
17610 * gdb.python/py-value.c: Improve test case.
17611 * gdb.python/py-value.exp: Add new test.
17612
17613 2014-04-07 David Blaikie <dblaikie@gmail.com>
17614
17615 * lib/compiler.c: Identify the clang compiler.
17616 * lib/compiler.cc: Ditto.
17617
17618 2014-04-03 Yao Qi <yao@codesourcery.com>
17619
17620 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17621
17622 2014-04-01 Anton Blanchard <anton@samba.org>
17623
17624 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17625 messages unique.
17626
17627 2014-04-01 Anton Blanchard <anton@samba.org>
17628
17629 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17630 prepare_for_testing.
17631
17632 2014-04-01 Anton Blanchard <anton@samba.org>
17633
17634 * gdb.arch/ppc64-atomic-inst.c: Remove.
17635 * gdb.arch/ppc64-atomic-inst.S: New file.
17636 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17637
17638 2014-03-31 Doug Evans <dje@google.com>
17639
17640 * gdb.base/print-symbol-loading-lib.c: New file.
17641 * gdb.base/print-symbol-loading-main.c: New file.
17642 * gdb.base/print-symbol-loading.exp: New file.
17643
17644 2014-03-31 Yao Qi <yao@codesourcery.com>
17645
17646 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17647
17648 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17649
17650 * gdb.ada/mi_dyn_arr: New testcase.
17651
17652 2014-03-27 Doug Evans <dje@google.com>
17653
17654 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17655
17656 2014-03-27 Yao Qi <yao@codesourcery.com>
17657
17658 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17659 if target is nios2-*-*.
17660
17661 2014-03-26 Yao Qi <yao@codesourcery.com>
17662
17663 * lib/gdb.exp (readline_is_used): New proc.
17664 * gdb.base/completion.exp: Move tests on command complete up.
17665 Skip the rest of tests if readline is not used.
17666 * gdb.ada/complete.exp: Skp the test if readline is not
17667 used.
17668 * gdb.base/filesym.exp: Likewise.
17669 * gdb.base/macscp.exp: Likewise.
17670 * gdb.base/readline-ask.exp: Likewise.
17671 * gdb.base/readline.exp: Likewise.
17672 * gdb.python/py-cmd.exp: Likewise.
17673 * gdb.trace/tfile.exp: Likewise.
17674
17675 2014-03-26 Yao Qi <yao@codesourcery.com>
17676
17677 * gdb.base/macscp.exp: Fix code format issues.
17678
17679 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17680
17681 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17682 * gdb.asm/powerpc64le.inc: New file.
17683
17684 2014-03-25 Pedro Alves <palves@redhat.com>
17685 Doug Evans <dje@google.com>
17686
17687 * gdb.base/source-execution.c: New file.
17688 * gdb.base/source-execution.exp: New file.
17689 * gdb.base/source-execution.gdb: New file.
17690
17691 2014-03-24 Doug Evans <dje@google.com>
17692
17693 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17694 using fission.
17695
17696 2014-03-24 Hui Zhu <hui@codesourcery.com>
17697 Pedro Alves <palves@redhat.com>
17698
17699 PR breakpoints/16101
17700 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17701 test pass/fail messages. Detect missing support for dprintf when
17702 breakpoints are actually inserted.
17703 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17704 breakpoints are actually inserted.
17705 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17706 fails.
17707
17708 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17709
17710 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17711
17712 2014-03-22 Doug Evans <xdje42@gmail.com>
17713
17714 * gdb.python/python.exp (python not supported): Verify multi-line
17715 python command issues an error.
17716 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17717 guile command issues an error.
17718
17719 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17720
17721 * gdb.threads/thread-specific.exp: Handle the lack of usable
17722 $this_breakpoint and $this_thread.
17723
17724 2014-03-21 Hui Zhu <hui@codesourcery.com>
17725
17726 * gdb.base/attach.exp (do_command_attach_tests): New.
17727
17728 2014-03-20 Tom Tromey <tromey@redhat.com>
17729 Pedro Alves <palves@redhat.com>
17730
17731 PR cli/15718
17732 * gdb.base/condbreak-call-false.c: New file.
17733 * gdb.base/condbreak-call-false.exp: New file.
17734
17735 2014-03-20 Pedro Alves <palves@redhat.com>
17736
17737 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17738 Delete.
17739 (block_signals, unblock_signals): Delete.
17740 (child_function_2, main): Remove references to deleted variable
17741 and functions.
17742
17743 2014-03-20 Pedro Alves <palves@redhat.com>
17744
17745 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17746 Use pthread_kill to signal thread 2.
17747 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17748 Adjust to make the test send itself a signal rather than using the
17749 host's "kill" command.
17750
17751 2014-03-20 Pedro Alves <palves@redhat.com>
17752
17753 * gdb.threads/multiple-step-overs.c: New file.
17754 * gdb.threads/multiple-step-overs.exp: New file.
17755 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17756 Adjust expected infrun debug output.
17757
17758 2014-03-20 Pedro Alves <palves@redhat.com>
17759
17760 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17761 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17762
17763 2014-03-20 Pedro Alves <palves@redhat.com>
17764
17765 PR breakpoints/7143
17766 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17767 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17768 of gdb_test_multiple.
17769 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17770 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17771
17772 2014-03-20 Pedro Alves <palves@redhat.com>
17773
17774 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17775 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17776
17777 2014-03-19 Pedro Alves <palves@redhat.com>
17778
17779 * gdb.base/async.exp: Remove early return.
17780
17781 2014-03-19 Pedro Alves <palves@redhat.com>
17782
17783 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17784
17785 2014-03-19 Pedro Alves <palves@redhat.com>
17786
17787 * gdb.base/async.exp (test_background): Expect \r\n after
17788 "completed." in the fail pattern.
17789
17790 2014-03-19 Pedro Alves <palves@redhat.com>
17791
17792 * gdb.base/async.exp (test_background): New procedure.
17793 Use it for all background execution command tests.
17794
17795 2014-03-19 Pedro Alves <palves@redhat.com>
17796
17797 * gdb.base/async.exp: Use prepare_for_testing.
17798
17799 2014-03-19 Pedro Alves <palves@redhat.com>
17800
17801 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17802 the same line.
17803
17804 2014-03-19 Pedro Alves <palves@redhat.com>
17805
17806 * gdb.base/async.c (main): Add "jump here" and "until here" line
17807 marker comments.
17808 * gdb.base/async.exp (jump_here): New global.
17809 (jump& test): Use it.
17810 (until_here): New global.
17811 (until& test): Use it.
17812
17813 2014-03-19 Pedro Alves <palves@redhat.com>
17814
17815 * gdb.base/async.exp: Don't frob gdb_protocol.
17816
17817 2014-03-18 Doug Evans <xdje42@gmail.com>
17818
17819 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17820 Fix spelling of exec-done-display.
17821
17822 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17823
17824 PR gdb/15358
17825 * gdb.base/gdb-sigterm.c: New file.
17826 * gdb.base/gdb-sigterm.exp: New file.
17827
17828 2014-03-18 Pedro Alves <palves@redhat.com>
17829
17830 PR gdb/13860
17831 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17832 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17833 solib-event.
17834
17835 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17836
17837 * gdb.ada/pckd_arr_ren: New testcase.
17838
17839 2014-03-13 Doug Evans <xdje42@gmail.com>
17840
17841 PR guile/16612
17842 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17843 collect after discarding symbols.
17844
17845 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17846 Doug Evans <xdje42@gmail.com>
17847
17848 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17849 to history survives a gc.
17850
17851 2014-03-13 Pedro Alves <palves@redhat.com>
17852
17853 * gdb.base/default.exp: Don't test "target procfs".
17854
17855 2014-03-13 Pedro Alves <palves@redhat.com>
17856
17857 * gdb.base/default.exp: Update "target child" and "target procfs"
17858 tests to not expect "Unix".
17859
17860 2014-03-12 Tom Tromey <tromey@redhat.com>
17861
17862 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17863 New procs. Add target-async tests.
17864 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17865 Add target-async tests.
17866
17867 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17868
17869 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17870 'func_start' and 'func_end' for the beginning and end of the
17871 function code, respectively.
17872 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17873 'func_end' instead of 'func' and 'main'.
17874
17875 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17876
17877 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17878 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17879 generate the debug info assembler source.
17880
17881 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17882
17883 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17884 * gdb.dwarf2/arr-subrange.exp: Likewise.
17885 * gdb.dwarf2/dwz.exp: Likewise.
17886 * gdb.dwarf2/method-ptr.exp: Likewise.
17887 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17888 * gdb.dwarf2/subrange.exp: Likewise.
17889 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17890 * gdb.dwarf2/implptrpiece.exp: Likewise.
17891 * gdb.dwarf2/nostaticblock.exp: Likewise.
17892
17893 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17894
17895 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17896 directory to absolute path name arguments.
17897
17898 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17899
17900 * gdb.ada/tagged_access: New testcase.
17901
17902 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17903
17904 * gdb.btrace/data.exp: Update expected output.
17905
17906 2014-03-06 Yao Qi <yao@codesourcery.com>
17907
17908 * gdb.trace/pr16508.exp: New file.
17909
17910 2014-03-05 Pedro Alves <palves@redhat.com>
17911
17912 PR gdb/16575
17913 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17914 procedure.
17915 (top level): Adjust to use it. Add tests that exercise breakpoint
17916 interaction with the code-cache.
17917
17918 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17919
17920 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17921 test for 'history-append!'.
17922
17923 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17924
17925 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17926 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17927 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17928 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17929 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17930 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17931
17932 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17933
17934 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17935 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17936 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17937
17938 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17939
17940 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17941
17942 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17943
17944 * gdb.dwarf2/arr-stride.c: New file.
17945 * gdb.dwarf2/arr-stride.exp: New file.
17946
17947 2014-02-26 Pedro Alves <palves@redhat.com>
17948
17949 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17950 that won't ever trigger. Make sure that GDB reports the correct
17951 breakpoint that caused the stop.
17952
17953 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17954
17955 PR gdb/16626
17956 * gdb.base/auto-load-script: New file.
17957 * gdb.base/auto-load.c: New file.
17958 * gdb.base/auto-load.exp: New file.
17959
17960 PR gdb/16626
17961 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17962
17963 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17964
17965 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17966 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17967
17968 2014-02-24 Doug Evans <dje@google.com>
17969
17970 * lib/gdb.exp (run_on_host): Log error output if program fails.
17971
17972 2014-02-21 Pedro Alves <palves@redhat.com>
17973
17974 * gdb.threads/step-after-sr-lock.c: Rename to ...
17975 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17976 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17977 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17978 ... this.
17979
17980 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17981
17982 PR tdep/16397
17983 * gdb.arch/amd64-stap-special-operands.exp: New file.
17984 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17985 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17986 * gdb.arch/amd64-stap-triplet.S: Likewise.
17987 * gdb.arch/amd64-stap-triplet.c: Likewise.
17988
17989 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17990
17991 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17992 in .section pseudo-op.
17993
17994 2014-02-20 lin zuojian <manjian2006@gmail.com>
17995 Joel Brobecker <brobecker@adacore.com>
17996 Doug Evans <xdje42@gmail.com>
17997
17998 PR symtab/16581
17999 * gdb.dwarf2/dw2-icycle.S: New file.
18000 * gdb.dwarf2/dw2-icycle.c: New file.
18001 * gdb.dwarf2/dw2-icycle.exp: New file.
18002
18003 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18004
18005 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18006 operations on gdb.Value objects.
18007 * gdb.python/py-value-cc.exp: Add new test to test operations on
18008 gdb.Value objects.
18009
18010 2014-02-18 Doug Evans <dje@google.com>
18011
18012 * Makefile.in (TESTS): New variable.
18013 (expanded_tests, expanded_tests_or_none): New variables
18014 (check-single): Pass $(expanded_tests_or_none) to runtest.
18015 (check-parallel): Only run tests in $(TESTS) if non-empty.
18016 (check/no-matching-tests-found): New rule.
18017 * README: Document TESTS makefile variable.
18018
18019 2014-02-18 Doug Evans <dje@google.com>
18020
18021 * Makefile.in (check-parallel): rm -rf outputs temp.
18022
18023 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18024
18025 Fix "ERROR: no fileid for" in the testsuite.
18026 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18027
18028 2014-02-12 Doug Evans <dje@google.com>
18029
18030 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18031 (MISCELLANEOUS): New variable.
18032 (clean): rm -rf $(MISCELLANEOUS).
18033 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18034 dwp live in the same directory as symlinks, with each symlink pointed
18035 to a differently named file in a different directory.
18036
18037 2014-02-11 Doug Evans <dje@google.com>
18038
18039 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18040 of Tcl file commands.
18041
18042 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18043
18044 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18045 "kill -SIGUSR1 -1".
18046
18047 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18048
18049 * gdb.ada/tick_length_array_enum_idx: New testcase.
18050
18051 2014-02-10 Doug Evans <xdje42@gmail.com>
18052
18053 * configure.ac (AC_OUTPUT): Add gdb.guile.
18054 * configure: Regenerate.
18055 * lib/gdb-guile.exp: New file.
18056 * lib/gdb.exp (get_target_charset): New function.
18057 * gdb.base/help.exp: Update expected output from "apropos apropos".
18058 * gdb.guile/Makefile.in: New file.
18059 * gdb.guile/guile.exp: New file.
18060 * gdb.guile/scm-arch.c: New file.
18061 * gdb.guile/scm-arch.exp: New file.
18062 * gdb.guile/scm-block.c: New file.
18063 * gdb.guile/scm-block.exp: New file.
18064 * gdb.guile/scm-breakpoint.c: New file.
18065 * gdb.guile/scm-breakpoint.exp: New file.
18066 * gdb.guile/scm-disasm.c: New file.
18067 * gdb.guile/scm-disasm.exp: New file.
18068 * gdb.guile/scm-equal.c: New file.
18069 * gdb.guile/scm-equal.exp: New file.
18070 * gdb.guile/scm-error.exp: New file.
18071 * gdb.guile/scm-error.scm: New file.
18072 * gdb.guile/scm-frame-args.c: New file.
18073 * gdb.guile/scm-frame-args.exp: New file.
18074 * gdb.guile/scm-frame-args.scm: New file.
18075 * gdb.guile/scm-frame-inline.c: New file.
18076 * gdb.guile/scm-frame-inline.exp: New file.
18077 * gdb.guile/scm-frame.c: New file.
18078 * gdb.guile/scm-frame.exp: New file.
18079 * gdb.guile/scm-generics.exp: New file.
18080 * gdb.guile/scm-gsmob.exp: New file.
18081 * gdb.guile/scm-iterator.c: New file.
18082 * gdb.guile/scm-iterator.exp: New file.
18083 * gdb.guile/scm-math.c: New file.
18084 * gdb.guile/scm-math.exp: New file.
18085 * gdb.guile/scm-objfile-script-gdb.in: New file.
18086 * gdb.guile/scm-objfile-script.c: New file.
18087 * gdb.guile/scm-objfile-script.exp: New file.
18088 * gdb.guile/scm-objfile.c: New file.
18089 * gdb.guile/scm-objfile.exp: New file.
18090 * gdb.guile/scm-ports.exp: New file.
18091 * gdb.guile/scm-pretty-print.c: New file.
18092 * gdb.guile/scm-pretty-print.exp: New file.
18093 * gdb.guile/scm-pretty-print.scm: New file.
18094 * gdb.guile/scm-section-script.c: New file.
18095 * gdb.guile/scm-section-script.exp: New file.
18096 * gdb.guile/scm-section-script.scm: New file.
18097 * gdb.guile/scm-symbol.c: New file.
18098 * gdb.guile/scm-symbol.exp: New file.
18099 * gdb.guile/scm-symtab-2.c: New file.
18100 * gdb.guile/scm-symtab.c: New file.
18101 * gdb.guile/scm-symtab.exp: New file.
18102 * gdb.guile/scm-type.c: New file.
18103 * gdb.guile/scm-type.exp: New file.
18104 * gdb.guile/scm-value-cc.cc: New file.
18105 * gdb.guile/scm-value-cc.exp: New file.
18106 * gdb.guile/scm-value.c: New file.
18107 * gdb.guile/scm-value.exp: New file.
18108 * gdb.guile/source2.scm: New file.
18109 * gdb.guile/types-module.cc: New file.
18110 * gdb.guile/types-module.exp: New file.
18111
18112 2014-02-10 Yao Qi <yao@codesourcery.com>
18113
18114 PR testsuite/16543
18115 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18116 * configure: Regenerated.
18117 * Makefile.in: New file.
18118
18119 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18120
18121 * gdb.python/py-framefilter.exp: Fix typo.
18122
18123 2014-02-08 Yao Qi <yao@codesourcery.com>
18124
18125 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18126 that no =breakpoint-modified is emitted when breakpoints are
18127 modified through MI commands.
18128
18129 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18130 Pedro Alves <palves@redhat.com>
18131
18132 * gdb.threads/step-after-sr-lock.c: New file.
18133 * gdb.threads/step-after-sr-lock.exp: New file.
18134
18135 2014-02-07 Pedro Alves <palves@redhat.com>
18136
18137 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18138
18139 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18140
18141 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18142 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18143
18144 2014-02-06 Doug Evans <xdje42@gmail.com>
18145
18146 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18147 output.
18148
18149 * gdb.gdb/python-interrupts.exp: New file.
18150
18151 2014-02-05 Yao Qi <yao@codesourcery.com>
18152
18153 * gdb.trace/report.exp (use_collected_data): Test the output
18154 of "info threads" and "info inferiors".
18155
18156 2014-02-05 Yao Qi <yao@codesourcery.com>
18157
18158 Revert this patch:
18159
18160 2013-05-24 Yao Qi <yao@codesourcery.com>
18161
18162 * gdb.trace/tfile.exp: Test inferior and thread.
18163
18164 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18165
18166 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18167 on a function.
18168 * gdb.base/step-bt.c: Call hello via function pointer to make
18169 sure its first instruction is executed on powerpc64le-linux.
18170
18171 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18172
18173 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18174
18175 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18176
18177 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18178 of the test patterns for use on little-endian systems.
18179
18180 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18181
18182 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18183 (decimal_vector): Fix for little-endian.
18184
18185 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18186
18187 * gdb.arch/sparc-sysstep.exp: New file.
18188 * gdb.arch/sparc-sysstep.c: Likewise.
18189
18190 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18191
18192 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18193
18194 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18195
18196 2014-01-23 Tom Tromey <tromey@redhat.com>
18197
18198 * gdb.ada/array_char_idx: New testcase.
18199
18200 2014-01-23 Tom Tromey <tromey@redhat.com>
18201
18202 PR python/16487:
18203 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18204 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18205 classes.
18206
18207 2014-01-23 Tom Tromey <tromey@redhat.com>
18208
18209 PR python/16491:
18210 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18211 string from an inferior frame.
18212 * gdb.python/py-framefilter-mi.exp: Update.
18213
18214 2014-01-22 Doug Evans <dje@google.com>
18215
18216 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18217
18218 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18219
18220 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18221
18222 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18223
18224 * gdb.trace/entry-values.exp: Remove excess space character from
18225 regex patterns. Handle s390 call instruction.
18226
18227 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18228
18229 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18230 define "*_start" label. Make "name" static.
18231 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18232 ${name} by references to ${name}_start.
18233
18234 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18235
18236 * gdb.base/info-macros.exp: Remove "debug" from the compile
18237 options.
18238
18239 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18240
18241 * gdb.dlang/demangle.exp: New file.
18242
18243 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18244
18245 * gdb.dlang/primitive-types.exp: New file.
18246
18247 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18248
18249 * configure.ac: Create gdb.dlang/Makefile.
18250 * configure: Regenerate.
18251 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18252 * gdb.dlang/Makefile.in: New file.
18253 * lib/d-support.exp: New file.
18254 * lib/gdb.exp (skip_d_tests): New proc.
18255
18256 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18257
18258 * gdb.btrace/delta.exp: Check reverse stepi.
18259 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18260 * gdb.btrace/finish.exp: New.
18261 * gdb.btrace/next.exp: New.
18262 * gdb.btrace/nexti.exp: New.
18263 * gdb.btrace/record_goto.c: Add comments.
18264 * gdb.btrace/step.exp: New.
18265 * gdb.btrace/stepi.exp: New.
18266 * gdb.btrace/multi-thread-step.c: New.
18267 * gdb.btrace/multi-thread-step.exp: New.
18268 * gdb.btrace/rn-dl-bind.c: New.
18269 * gdb.btrace/rn-dl-bind.exp: New.
18270 * gdb.btrace/data.c: New.
18271 * gdb.btrace/data.exp: New.
18272 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18273
18274 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18275
18276 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18277 * gdb.btrace/exception.exp: Update.
18278 * gdb.btrace/instruction_history.exp: Update.
18279 * gdb.btrace/record_goto.exp: Update.
18280 * gdb.btrace/tailcall.exp: Update.
18281 * gdb.btrace/unknown_functions.exp: Update.
18282 * gdb.btrace/delta.exp: New.
18283
18284 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18285
18286 * gdb.btrace/record_goto.exp: Add backtrace test.
18287 * gdb.btrace/tailcall.exp: Add backtrace test.
18288
18289 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18290
18291 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18292 * gdb.btrace/record_goto.c: New.
18293 * gdb.btrace/record_goto.exp: New.
18294 * gdb.btrace/x86-record_goto.S: New.
18295
18296 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18297
18298 * gdb.btrace/function_call_history.exp: Update tests.
18299 * gdb.btrace/instruction_history.exp: Update tests.
18300
18301 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18302
18303 * gdb.btrace/function_call_history.exp: Fix expected field
18304 order for "record function-call-history".
18305 Add new tests for "record function-call-history /c".
18306 * gdb.btrace/exception.cc: New.
18307 * gdb.btrace/exception.exp: New.
18308 * gdb.btrace/tailcall.exp: New.
18309 * gdb.btrace/x86-tailcall.S: New.
18310 * gdb.btrace/x86-tailcall.c: New.
18311 * gdb.btrace/unknown_functions.c: New.
18312 * gdb.btrace/unknown_functions.exp: New.
18313 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18314
18315 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18316
18317 * gdb.btrace/instruction_history.exp: Update.
18318 * gdb.btrace/function_call_history.exp: Update.
18319
18320 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18321
18322 * gdb.btrace/function_call_history.exp: Fix expected function
18323 trace.
18324 * gdb.btrace/instruction_history.exp: Initialize traced.
18325 Remove traced_functions.
18326
18327 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18328
18329 * gdb.btrace/function_call_history.exp: Update
18330 * gdb.btrace/instruction_history.exp: Update.
18331
18332 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18333
18334 * gdb.btrace/enable.exp: Update expected text.
18335
18336 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18337
18338 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18339 bytes.
18340
18341 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18342
18343 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18344
18345 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
18346
18347 * lib/gdb.exp (supports_process_record): Return true for
18348 arm*-linux*. (supports_reverse): Likewise.
18349
18350 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18351
18352 PR python/15464
18353 PR python/16113
18354 * gdb.python/py-type.c: Enhance test case.
18355 * gdb.python/py-value-cc.cc: Likewise
18356 * gdb.python/py-type.exp: Add new tests.
18357 * gdb.python/py-value-cc.exp: Likewise
18358
18359 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18360 Pedro Alves <palves@redhat.com>
18361
18362 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18363 Make "name" extern.
18364 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18365 references to ${name}_start by references to ${name}.
18366
18367 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18368
18369 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18370
18371 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18372
18373 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18374
18375 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18376 Pedro Alves <palves@redhat.com>
18377
18378 * gdb.mi/mi-info-os.exp: Connect to the target with
18379 mi_gdb_target_load.
18380
18381 2014-01-08 Pedro Alves <palves@redhat.com>
18382
18383 * gdb.threads/reconnect-signal.c: New file.
18384 * gdb.threads/reconnect-signal.exp: New file.
18385
18386 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18387
18388 * gdb.base/source-dir.exp: New file.
18389
18390 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18391
18392 * gdb.ada/mi_interface: New testcase.
18393
18394 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18395
18396 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18397 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18398 gdb.ada/pp-rec-component/pck.ads: New files.
18399
18400 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18401
18402 * gdb.python/py-pp-integral.c: New file.
18403 * gdb.python/py-pp-integral.py: New file.
18404 * gdb.python/py-pp-integral.exp: New file.
18405
18406 For older changes see ChangeLog-1993-2013.
18407 \f
18408 ;; Local Variables:
18409 ;; mode: change-log
18410 ;; left-margin: 8
18411 ;; fill-column: 74
18412 ;; version-control: never
18413 ;; End:
18414
18415 Copyright 2014-2020 Free Software Foundation, Inc.
18416 Copying and distribution of this file, with or without modification,
18417 are permitted provided the copyright notice and this notice are preserved.
This page took 0.408475 seconds and 5 git commands to generate.