Testsuite: Add gdb_can_simple_compile
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2018-09-12 Alan Hayward <alan.hayward@arm.com>
2
3 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4 (support_complex_tests): Use gdb_can_simple_compile.
5 (is_ilp32_target): Likewise.
6 (is_lp64_target): Likewise.
7 (is_64_target): Likewise.
8 (is_amd64_regs_target): Likewise.
9 (is_aarch32_target): Likewise.
10 (gdb_int128_helper): Likewise.
11
12 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13
14 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
15
16 2018-09-10 Jerome Guitton <guitton@adacore.com>
17
18 * gdb.ada/same_component_name: Add test for case of tagged record
19 with variable-length fields.
20
21 2018-09-10 Xavier Roirand <roirand@adacore.com>
22
23 * gdb.ada/access_to_unbounded_array.exp: New testcase.
24 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
25 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
26 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
27
28 2018-09-10 Xavier Roirand <roirand@adacore.com>
29
30 * gdb.ada/mi_string_access.exp: New testcase.
31 * gdb.ada/mi_string_access/bar.adb: New file.
32 * gdb.ada/mi_string_access/pck.adb: New file.
33 * gdb.ada/mi_string_access/pck.asd: New file.
34
35 2018-09-10 Xavier Roirand <roirand@adacore.com>
36
37 * gdb.ada/mi_var_union.exp: New testcase.
38 * gdb.ada/mi_var_union/bar.adb: New file.
39 * gdb.ada/mi_var_union/pck.adb: New file.
40 * gdb.ada/mi_var_union/pck.asd: New file.
41
42 2018-09-08 Tom Tromey <tom@tromey.com>
43
44 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
45
46 2018-09-08 Tom Tromey <tom@tromey.com>
47
48 PR python/16047:
49 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
50 (register_pretty_printers): Register new printer.
51 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
52 test.
53 * gdb.python/py-prettyprint.c (int_type3): New typedef.
54 (an_int_type3): New global.
55
56 2018-09-08 Joel Brobecker <brobecker@adacore.com>
57
58 * gdb.ada/expr_with_funcall: New testcase.
59
60 2018-09-08 Joel Brobecker <brobecker@adacore.com>
61
62 * gdb.ada/packed_array_assign: New testcase.
63
64 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
65
66 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
67 names, and add test prefixes to make test names unique.
68
69 2018-09-05 Tom de Vries <tdevries@suse.de>
70
71 * gdb.dwarf2/varval.exp: Add test.
72
73 2018-09-04 Gary Benson <gbenson@redhat.com>
74
75 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
76 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
77
78 2018-08-31 Tom Tromey <tom@tromey.com>
79
80 * gdb.rust/simple.rs: Rename second variable "v".
81
82 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
83
84 * gdb.base/funcargs.c (use_a): New function.
85 (recurse): Call use_a.
86
87 2018-08-29 Keith Seitz <keiths@redhat.com>
88
89 * gdb.compile/compile-cplus-anonymous.cc: New file.
90 * gdb.compile/compile-cplus-anonymous.exp: New file.
91 * gdb.compile/compile-cplus-array-decay.cc: New file.
92 * gdb.compile/compile-cplus-array-decay.exp: New file.
93 * gdb.compile/compile-cplus-inherit.cc: New file.
94 * gdb.compile/compile-cplus-inherit.exp: New file.
95 * gdb.compile/compile-cplus-member.cc: New file.
96 * gdb.compile/compile-cplus-member.exp: New file.
97 * gdb.compile/compile-cplus-method.cc: New file.
98 * gdb.compile/compile-cplus-method.exp: New file.
99 * gdb.compile/compile-cplus-mod.c: "New" file.
100 * gdb.compile/compile-cplus-namespace.cc: New file.
101 * gdb.compile/compile-cplus-namespace.exp: New file.
102 * gdb.compile/compile-cplus-nested.cc: New file.
103 * gdb.compile/compile-cplus-nested.exp: New file.
104 * gdb.compile/compile-cplus-print.c: "New" file.
105 * gdb.compile/compile-cplus-print.exp: "New" file.
106 * gdb.compile/compile-cplus-virtual.cc: New file.
107 * gdb.compile/compile-cplus-virtual.exp: New file.
108 * gdb.compile/compile-cplus.c: "New" file.
109 * gdb.compile/compile-cplus.exp: "New" file.
110 * lib/compile-support.exp: New file.
111
112 2018-08-16 Gary Benson <gbenson@redhat.com>
113
114 PR gdb/13000:
115 * gdb.base/batch-exit-status.exp: New file.
116 * gdb.base/batch-exit-status.good-commands: Likewise.
117 * gdb.base/batch-exit-status.bad-commands: Likewise.
118
119 2018-08-29 Alan Hayward <alan.hayward@arm.com>
120
121 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
122 (struct struct02): Likewise.
123 (struct struct03): Likewise.
124 (struct struct04): Likewise.
125 (struct struct_01_01): New struct.
126 (struct struct_01_02): Likewise.
127 (struct struct_01_03): Likewise.
128 (struct struct_01_04): Likewise.
129 (struct struct_02_01): Likewise.
130 (struct struct_02_02): Likewise.
131 (struct struct_02_03): Likewise.
132 (struct struct_02_04): Likewise.
133 (struct struct_04_01): Likewise.
134 (struct struct_04_02): Likewise.
135 (struct struct_04_03): Likewise.
136 (struct struct_04_04): Likewise.
137 (struct struct_05_01): Likewise.
138 (struct struct_05_02): Likewise.
139 (struct struct_05_03): Likewise.
140 (struct struct_05_04): Likewise.
141 (cmp_struct01): Remove function.
142 (cmp_struct02): Likewise.
143 (cmp_struct03): Likewise.
144 (cmp_struct04): Likewise.
145 (cmp_struct_01_01): Add Function.
146 (cmp_struct_01_02): Likewise.
147 (cmp_struct_01_03): Likewise.
148 (cmp_struct_01_04): Likewise.
149 (cmp_struct_02_01): Likewise.
150 (cmp_struct_02_02): Likewise.
151 (cmp_struct_02_03): Likewise.
152 (cmp_struct_02_04): Likewise.
153 (cmp_struct_04_01): Likewise.
154 (cmp_struct_04_02): Likewise.
155 (cmp_struct_04_03): Likewise.
156 (cmp_struct_04_04): Likewise.
157 (cmp_struct_05_01): Likewise.
158 (cmp_struct_05_02): Likewise.
159 (cmp_struct_05_03): Likewise.
160 (cmp_struct_05_04): Likewise.
161 (call_all): Add new structs.
162 * gdb.base/infcall-nested-structs.exp: Likewise.
163
164 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
165
166 * gdb.python/py-framefilter-mi.exp: Update regexp to
167 check for "arch" field in frame output.
168
169 2018-08-23 Kevin Buettner <kevinb@redhat.com>
170
171 * gdb.dwarf2/dw2-ranges-func.c: New file.
172 * gdb.dwarf2/dw2-ranges-func.exp: New file.
173
174 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
175
176 * gdb.base/term.exp: Compare terminal settings with values from
177 the inferior.
178 * gdb.base/term.c: Get and set terminal settings.
179
180 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
181
182 * lib/mi-support.exp (mi_expect_stop): Update regexp to
183 accommodate new "arch" field in frame output.
184 * gdb.mi/mi-return.exp: Likewise.
185 * gdb.mi/mi-stack.exp: Likewise.
186 * gdb.mi/mi-syn-frame.exp: Likewise.
187 * gdb.mi/user-selected-context-sync.exp: Likewise.
188
189 2018-08-19 Michael Spang <spang@google.com>
190
191 PR gdb/11786
192 * gdb.base/gcore-tls-pie.c: New file.
193 * gdb.base/gcore-tls-pie.exp: New file.
194
195 2018-08-18 Kevin Buettner <kevinb@redhat.com>
196
197 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
198 * gdb.dwarf2/varval.c: New file.
199 * gdb.dwarf2/varval.exp: New file.
200
201 2018-08-17 Alan Hayward <alan.hayward@arm.com>
202
203 PR gdb/18931
204 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
205
206 2018-08-16 Keith Seitz <keiths@redhat.com>
207
208 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
209 tests expected to pass.
210
211 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
212
213 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
214 -data-disassemble -a.
215 (test_disassembly_bogus_args): Likewise.
216
217 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
218
219 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
220
221 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
222
223 * gdb.base/vla-optimized-out.exp: Add new test.
224
225 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
226
227 * gdb.base/vla-optimized-out-o3.exp: Delete.
228 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
229 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
230 deleted tests.
231
232 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
233
234 PR gdb/18050:
235 * gdb.server/extended-remote-restart.c: New file.
236 * gdb.server/extended-remote-restart.exp: New file.
237
238 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
239
240 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
241 "set variable index = 42".
242
243 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
244
245 * boards/index-cache-gdb.exp: New file.
246 * gdb.dwarf2/index-cache.exp: New file.
247 * gdb.dwarf2/index-cache.c: New file.
248 * gdb.base/maint.exp: Check if we are using the index cache.
249
250 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
251
252 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
253 MAKEFLAGS.
254
255 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
256
257 * dg-extract-results.sh: Move to toplevel contrib.
258 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
259 * Makefile.in (check-parallel-racy): Likewise.
260
261 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
262
263 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
264 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
265 tests if the target supports scheduler locking.
266
267 2018-08-04 Tom de Vries <tdevries@suse.de>
268
269 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
270
271 2018-08-02 Tom Tromey <tom@tromey.com>
272
273 PR symtab/16842.
274 * gdb.cp/temargs.exp: Test "info address" of a template
275 parameter.
276
277 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
278
279 * gdb.python/py-mi-var-info-path-expression.c: New file.
280 * gdb.python/py-mi-var-info-path-expression.py: New file.
281 * gdb.python/py-mi-var-info-path-expression.exp: New file.
282
283 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
284
285 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
286 error after "cannot resolve name" string.
287
288 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
289
290 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
291 started.
292 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
293
294 2018-07-28 Tom de Vries <tdevries@suse.de>
295
296 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
297
298 2018-07-26 Tom de Vries <tdevries@suse.de>
299
300 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
301
302 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
303
304 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
305 is visible.
306
307 2018-07-26 Tom de Vries <tdevries@suse.de>
308
309 PR breakpoints/23366
310 * gdb.base/catch-follow-exec.c: New test.
311 * gdb.base/catch-follow-exec.exp: New file.
312
313 2018-07-25 Tom de Vries <tdevries@suse.de>
314
315 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
316 vla-optimized-out.c.
317
318 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
319
320 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
321 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
322
323 2018-07-20 Tom de Vries <tdevries@suse.de>
324
325 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
326 NOCLONE macro.
327 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
328
329 2018-07-19 Tom de Vries <tdevries@suse.de>
330
331 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
332 regular expression.
333
334 2018-07-18 Tom de Vries <tdevries@suse.de>
335
336 * gdb.base/vla-optimized-out.c: New test.
337 * gdb.base/vla-optimized-out.exp: New file.
338
339 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
340
341 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
342 message "No address associated with hostname" when gdbserver
343 cannot resolve the hostname.
344
345 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
346
347 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
348 Add some test prefixes to make tests unique.
349
350 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
351
352 * gdb.base/frameapply.c: New file.
353 * gdb.base/frameapply.exp: New file.
354
355 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
356
357 * gdb.base/skip.exp: Update expected error message.
358
359 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
360 Jan Kratochvil <jan.kratochvil@redhat.com>
361 Paul Fertser <fercerpav@gmail.com>
362 Tsutomu Seki <sekiriki@gmail.com>
363
364 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
365 parameter.
366 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
367 by default.
368 * boards/native-gdbserver.exp: Likewise.
369 * gdb.server/run-without-local-binary.exp: Improve regexp used
370 for detecting when a remote debugging connection succeeds.
371 * gdb.server/server-connect.exp: New file.
372 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
373 Do not prefix the port number with ":".
374 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
375 support for detecting and using it. Add '$debughost_gdbserver'
376 to the list of arguments used to start gdbserver. Handle case
377 when gdbserver cannot resolve a network name.
378
379 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
380
381 PR c++/23373
382 * gdb.base/ptype-offsets.cc (struct static_member): New
383 struct.
384 (main) <stmember>: New variable.
385 * gdb.base/ptype-offsets.exp: Add test for printing a struct
386 with a static member in it.
387
388 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
389
390 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
391 watchpoints enabled and disabled.
392
393 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
394
395 * gdb.base/examine-backward.exp: Still run tests around address
396 0x0, even if address 0x0 is not readable. Update the pattern for
397 matching address 0x0 in expected output.
398
399 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
400
401 * gdb.base/share-env-with-gdbserver.c (main): Add call to
402 malloc/free.
403
404 2018-07-04 Tom de Vries <tdevries@suse.de>
405
406 * gdb.dwarf2/dw2-error.exp: Update expected error message.
407
408 2018-07-02 Maciej W. Rozycki <macro@mips.com>
409
410 PR tdep/8282
411 * gdb.arch/mips-disassembler-options.exp: New test.
412 * gdb.arch/mips-disassembler-options.s: New test source.
413
414 2018-06-29 Pedro Alves <palves@redhat.com>
415
416 * gdb.threads/names.exp: Adjust expected "info threads" output.
417
418 2018-06-29 Pedro Alves <palves@redhat.com>
419
420 * gdb.opt/inline-break.exp (line number, address): Add "info
421 break" tests.
422
423 2018-06-29 Pedro Alves <palves@redhat.com>
424
425 * gdb.opt/inline-break.c (func1): Add "break here" marker.
426 * gdb.opt/inline-break.exp: Test setting breakpoints by line
427 number and address and running to them.
428
429 2018-06-29 Richard Bunt <richard.bunt@arm.com>
430
431 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
432
433 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
434
435 * lib/compiler.c: Remove executable permission flag.
436
437 2018-06-28 Richard Bunt <richard.bunt@arm.com>
438
439 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
440 code.
441 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
442
443 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
444
445 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
446
447 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
448
449 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
450 address argument is omitted.
451
452 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
453
454 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
455
456 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
457
458 PR gdb/21695
459 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
460 * gdb.base/infoline-reloc-main-from-zero.c: New file.
461
462 2018-06-26 Tom Tromey <tom@tromey.com>
463
464 PR rust/22574:
465 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
466 * gdb.rust/simple.rs (struct SimpleLayout): New.
467
468 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
469
470 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
471 "info registers" output.
472
473 2018-06-21 Richard Bunt <richard.bunt@arm.com>
474
475 * gdb.base/watchpoint-hw-attach.c: New test.
476 * gdb.base/watchpoint-hw-attach.exp: New file.
477
478 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
479
480 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
481 through /bin/sh.
482 * boards/dwarf4-gdb-index.exp: Likewise.
483 * boards/fission-dwp.exp: Likewise.
484
485 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
486
487 * gdb.base/float128.exp: Add comment and improved fail message
488 to the failure case of "print large128" test.
489
490 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
491
492 * configure.ac: Remove AC_PREREQ.
493 * configure: Re-generate.
494
495 2018-06-19 Pedro Alves <palves@redhat.com>
496
497 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
498 (func_extern_caller): New.
499 (main): Call func_extern_caller.
500 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
501 logic change.
502
503 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
504
505 PR gdb/16841
506 * gdb.cp/typedef-base.cc: New file.
507 * gdb.cp/typedef-base.exp: New file.
508
509 2018-06-18 Tom de Vries <tdevries@suse.de>
510
511 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
512
513 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
514 Richard Bunt <Richard.Bunt@arm.com>
515
516 * gdb.threads/attach-slow-waitpid.c: New file.
517 * gdb.threads/attach-slow-waitpid.exp: New file.
518 * gdb.threads/slow-waitpid.c: New file.
519
520 2018-06-14 Pedro Alves <palves@redhat.com>
521
522 * gdb.base/fork-running-state.c: Include <errno.h>.
523 (exit_if_relative_exits): New.
524 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
525 exits.
526 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
527 child exits.
528
529 2018-06-14 Tom de Vries <tdevries@suse.de>
530
531 PR cli/22573
532 * gdb.base/finish-pretty.c: New test.
533 * gdb.base/finish-pretty.exp: New file.
534
535 2018-06-14 Pedro Alves <palves@redhat.com>
536
537 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
538 gdb's expected startup output.
539
540 2018-06-14 Pedro Alves <palves@redhat.com>
541
542 * lib/selftest-support.exp (selftest_setup): Remove inlined
543 function handling.
544
545 2018-06-14 Tom de Vries <tdevries@suse.de>
546
547 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
548 matching of breakpoint printing.
549
550 2018-06-13 Tom de Vries <tdevries@suse.de>
551
552 PR testsuite/23269
553 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
554 (fork_child): ... here, and ...
555 (fork_parent): ... here.
556
557 2018-06-12 Tom de Vries <tdevries@suse.de>
558
559 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
560
561 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
562 Stephen Roberts <stephen.roberts@arm.com>
563
564 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
565 rewrite test to describe action performed, rather than possible
566 failure.
567
568 2018-06-08 Gary Benson <gbenson@redhat.com>
569
570 * gdb.threads/check-libthread-db.exp: New file.
571 * gdb.threads/check-libthread-db.c: Likewise.
572
573 2018-06-05 Tom Tromey <tom@tromey.com>
574
575 * gdb.base/default.exp: Update expected "show version" output.
576
577 2018-06-05 Tom Tromey <tom@tromey.com>
578
579 PR cli/12326:
580 * gdb.cp/static-print-quit.exp: Update.
581 * lib/gdb.exp (pagination_prompt): Update.
582 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
583 * gdb.python/python.exp: Update.
584
585 2018-06-04 Joel Brobecker <brobecker@adacore.com>
586
587 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
588
589 2018-06-01 Joel Brobecker <brobecker@adacore.com>
590
591 * gdb.ada/bp_fun_addr: New testcase.
592
593 2018-06-01 Tom Tromey <tom@tromey.com>
594
595 * gdb.xml/tdesc-regs.exp (load_description): Update expected
596 results.
597 * gdb.dwarf2/method-ptr.exp: Set language to C++.
598 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
599 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
600 * gdb.base/maint.exp (maint_pass_if): Update.
601
602 2018-05-31 Maciej W. Rozycki <macro@mips.com>
603
604 * gdb.base/endian.exp: New test.
605 * gdb.base/endian.c: New test source.
606
607 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
608
609 PR gdb/23203
610 * gdb.base/bt-selected-frame.c: New file.
611 * gdb.base/bt-selected-frame.exp: New file.
612 * lib/gdb.exp (get_current_frame_number): New function.
613
614 2018-05-24 Maciej W. Rozycki <macro@mips.com>
615 Pedro Alves <palves@redhat.com>
616
617 * gdb.threads/tls-core.c: Include <stdlib.h>
618 (thread_proc): Call `abort'.
619 * gdb.threads/tls-core.exp: Generate a core with core_find too.
620 (tls_core_test): New procedure, bits factored out from ...
621 (top level): ... here. Test both native cores and gcore cores.
622
623 2018-05-23 Tom Tromey <tom@tromey.com>
624
625 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
626
627 2018-05-23 Tom Tromey <tom@tromey.com>
628
629 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
630 symfile_complaints.
631 (test_short_complaints): Likewise.
632 (test_empty_complaints): Likewise.
633 (test_initial_complaints): Update.
634
635 2018-05-23 Tom Tromey <tom@tromey.com>
636
637 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
638
639 2018-05-23 Tom Tromey <tom@tromey.com>
640
641 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
642 (test_short_complaints): Update.
643
644 2018-05-22 Pedro Alves <palves@redhat.com>
645
646 * gdb.base/remote.exp: Only gdb_start after compiling the
647 testcase. Issue "disconnect" before testing "set remote" command
648 defaults. Issue clean_restart before running to main.
649
650 2018-05-22 Pedro Alves <palves@redhat.com>
651
652 * gdb.base/remote.exp: Adjust expected output of "show remote
653 memory-write-packet-size". Add tests for "set remote
654 memory-write-packet-size 0" and "set remote
655 memory-write-packet-size fixed/limit".
656
657 2018-05-22 Pedro Alves <palves@redhat.com>
658
659 PR gdb/22973
660 * gdb.base/utf8-identifiers.c: New file.
661 * gdb.base/utf8-identifiers.exp: New file.
662
663 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
664
665 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
666
667 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
668
669 * gdb.arch/powerpc-vsx-gcore.exp: New file.
670
671 2018-05-18 Tom Tromey <tom@tromey.com>
672
673 * gdb.base/ptype-offsets.exp: Update.
674
675 2018-05-17 Keith Seitz <keiths@redhat.com>
676
677 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
678 in expected breakpoint stop locations.
679 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
680 move to proper scope to test variable values.
681 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
682 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
683 New functions.
684 (main): Call not_inline_func3.
685 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
686 inline_func1, inline_func2, and inline_func3. Test that when each
687 breakpoint is hit, GDB properly reports both the stop location
688 and the backtrace. Repeat tests for temporary breakpoints.
689
690 2018-05-15 Maciej W. Rozycki <macro@mips.com>
691
692 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
693 rather then trying to access it in determining whether the PID
694 of `gdbserver' could have been retrieved.
695
696 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
697
698 * gdb.arch/amd64-init-x87-values.S: New file.
699 * gdb.arch/amd64-init-x87-values.exp: New file.
700
701 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
702
703 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
704
705 2018-05-04 Tom Tromey <tom@tromey.com>
706
707 PR python/22730:
708 * gdb.python/python.exp: Test multi-line execute.
709
710 2018-05-04 Tom Tromey <tom@tromey.com>
711
712 PR python/22731:
713 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
714
715 2018-05-04 Tom Tromey <tom@tromey.com>
716
717 PR gdb/11750:
718 * gdb.base/define.exp: Test defining a user command inside a user
719 command.
720 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
721
722 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
723 Pedro Alves <palves@redhat.com>
724
725 PR breakpoints/19806 and support for PR external/20207.
726 * gdb.base/watchpoint-unaligned.c: New file.
727 * gdb.base/watchpoint-unaligned.exp: New file.
728
729 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
730
731 * gdb.base/maint.exp: Make test names unique, use
732 test_prefix_command_help to test 'help maint info', and remove
733 repeated test of 'help maint'.
734
735 2018-05-04 Tom Tromey <tom@tromey.com>
736
737 PR gdb/22619:
738 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
739 behavior.
740
741 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
742
743 * gdb.base/maint.exp: Process output from 'maint print registers'
744 line at a time.
745
746 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
747
748 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
749 timeout.
750
751 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
752
753 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
754 filter pattern.
755
756 2018-05-02 Pedro Alves <palves@redhat.com>
757
758 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
759 to_log_command renames.
760 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
761
762 2018-05-02 Tom Tromey <tom@tromey.com>
763
764 * gdb.python/py-parameter.exp: Set test message.
765
766 2018-05-02 Tom Tromey <tom@tromey.com>
767
768 PR python/20084:
769 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
770 PARAM_ZUINTEGER_UNLIMITED tests.
771
772 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
773
774 PR rust/23124
775 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
776 when casting.
777
778 2018-04-30 Tom Tromey <tom@tromey.com>
779
780 * gdb.python/py-type.exp: Check align attribute.
781 * gdb.python/py-type.c: New "aligncheck" global.
782
783 2018-04-30 Tom Tromey <tom@tromey.com>
784
785 PR exp/17095:
786 * gdb.dwarf2/dw2-align.exp: New file.
787 * gdb.cp/align.exp: New file.
788 * gdb.base/align.exp: New file.
789 * lib/gdb.exp (gdb_int128_helper): New proc.
790 (has_int128_c, has_int128_cxx): New caching procs.
791
792 2018-04-27 Tom Tromey <tom@tromey.com>
793
794 PR rust/22545:
795 * gdb.rust/simple.exp: Add inclusive range tests.
796
797 2018-04-26 Pedro Alves <palves@redhat.com>
798
799 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
800 ifunc breakpoint locations correctly of ifunc breakpoints set
801 while the program resolves the ifunc.
802
803 2018-04-26 Pedro Alves <palves@redhat.com>
804
805 * gdb.base/gnu-ifunc-final.c: New file.
806 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
807 * gdb.base/gnu-ifunc.exp (executable): Delete.
808 (staticexecutable): Adjust.
809 (lib_opts, exec_opts): Delete.
810 (make_binsuffix, build, set-break): New procedures.
811 (misc_tests): New, with tests factored out from the top level.
812 (top level): Test different combinations of ifunc resolver name,
813 resolver with and with debug info, and ifunc target with and
814 without debug info. Wrap static tests with with_target_prefix.
815
816 2018-04-26 Pedro Alves <palves@redhat.com>
817
818 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
819 return type" warnings.
820
821 2018-04-25 Pedro Alves <palves@redhat.com>
822
823 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
824 killed".
825 * gdb.base/kill-after-signal.exp: Likewise.
826 * gdb.threads/kill.exp: Likewise.
827
828 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
829 Sergio Durigan Junior <sergiodj@redhat.com>
830 Pedro Alves <palves@redhat.com>
831
832 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
833 regexps to expect for '[Inferior ... detached]' as well.
834 * gdb.base/attach.exp: Likewise.
835 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
836 "gdb_continue_to_end".
837 (test_catch_syscall_with_wrong_args): Likewise.
838 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
839 ']'. Don't set 'verbose' on.
840 * gdb.base/foll-vfork.exp: Likewise.
841 * gdb.base/fork-print-inferior-events.c: New file.
842 * gdb.base/fork-print-inferior-events.exp: New file.
843 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
844 '[Inferior ... has been killed]' message.
845 * gdb.base/kill-after-signal.exp: Likewise.
846 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
847 detach message.
848 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
849 message.
850 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
851 regexps to expect for '[Inferior ... detached]' as well.
852 * gdb.threads/process-dies-while-detaching.exp: Likewise.
853
854 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
855
856 PR gdb/23104
857 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
858
859 2018-04-19 Richard Bunt <richard.bunt@arm.com>
860
861 * gdb.threads/multiple-successive-infcall.c: New test.
862 * gdb.threads/multiple-successive-infcall.exp: New file.
863
864 2018-04-17 Tom Tromey <tom@tromey.com>
865
866 * gdb.rust/simple.rs (Union): New type.
867 (main): New local "u".
868 * gdb.rust/simple.exp (test_one_slice): Add new test case.
869
870 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
871
872 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
873 number information in output of "whereis" command.
874 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
875
876 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
877
878 * gdb.ada/info_types.exp: Adjust expected output to the line
879 numbers now printed by "info var/func/type".
880 * gdb.base/completion.exp: Likewise.
881 * gdb.base/included.exp: Likewise.
882 * gdb.cp/cp-relocate.exp: Likewise.
883 * gdb.cp/cplusfuncs.exp: Likewise.
884 * gdb.cp/namespace.exp: Likewise.
885 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
886
887 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
888
889 * gdb.btrace/cpu.exp: New.
890
891 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
892
893 * gdb.base/step-indirect-call-thunk.exp: New.
894 * gdb.base/step-indirect-call-thunk.c: New.
895 * gdb.reverse/step-indirect-call-thunk.exp: New.
896 * gdb.reverse/step-indirect-call-thunk.c: New.
897
898 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
899
900 * gdb.base/pie-fork.c: New file.
901 * gdb.base/pie-fork.exp: New file.
902
903 2018-04-11 Tom Tromey <tom@tromey.com>
904
905 * gdb.rust/simple.exp: Add test for ".." struct initializer.
906
907 2018-04-10 Pedro Alves <palves@redhat.com>
908
909 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
910 exits. Instead loop running forever.
911 (fork_parent): Run forever too.
912
913 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
914
915 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
916 mi_continue_to_line.
917 * gdb.mi/mi-stack.c (callee4): Add comment.
918
919 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
920
921 * gdb.mi/mi-stack.exp: Fix indentation.
922
923 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
924
925 PR gdb/22979
926 * gdb.arch/amd64-osabi.exp: New file.
927
928 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
929
930 PR gdb/22980
931 * gdb.base/osabi.exp: New file.
932
933 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
934
935 * gdb.cp/static-typedef-print.exp: New file.
936 * gdb.cp/static-typedef-print.cc: New file.
937
938 2018-03-27 Joel Brobecker <brobecker@adacore.com>
939
940 * gdb.ada/varsize_limit: New testcase.
941
942 2018-03-27 Joel Brobecker <brobecker@adacore.com>
943
944 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
945
946 * gdb.ada/notcplusplus: New testcase.
947
948 * gdb.base/c-linkage-name.c: New file.
949 * gdb.base/c-linkage-name.exp: New testcase.
950
951 2018-03-26 Tom Tromey <tom@tromey.com>
952
953 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
954 * gdb.python/py-framefilter.py (name_error): New global.
955 (ErrorInName.function): Use name_error.
956
957 2018-03-26 Tom Tromey <tom@tromey.com>
958
959 PR backtrace/15582:
960 * gdb.python/py-framefilter.exp: Add "bt hide" test.
961
962 2018-03-23 Keith Seitz <keiths@redhat.com>
963
964 PR c++/22968
965 * gdb.cp/subtypes.exp: New file.
966 * gdb.cp/subtypes.h: New file.
967 * gdb.cp/subtypes.cc: New file.
968 * gdb.cp/subtypes-2.cc: New file.
969
970 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
971
972 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
973 (done): Call '_exit' not 'exit' to avoid atexit handlers.
974 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
975 -nostartfiles when compiling the test. Confirm that all registers
976 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
977
978 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
979
980 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
981 option, syntax was wrong anyway.
982 * gdb.arch/arm-disp-step.exp: Likewise.
983 * gdb.arch/sparc64-regs.exp: Likewise.
984 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
985 option, syntax was wrong anyway, switch to use
986 prepare_for_testing.
987 * gdb.arch/i386-disp-step.exp: Likewise.
988
989 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
990
991 * gdb.ada/exec_changed.exp: Replace "target_info exists
992 use_gdb_stub" by "use_gdb_stub".
993 * gdb.ada/start.exp: Likewise.
994 * gdb.base/async-shell.exp: Likewise.
995 * gdb.base/attach-pie-misread.exp: Likewise.
996 * gdb.base/attach-wait-input.exp: Likewise.
997 * gdb.base/break-entry.exp: Likewise.
998 * gdb.base/break-interp.exp: Likewise.
999 * gdb.base/dprintf-detach.exp: Likewise.
1000 * gdb.base/nostdlib.exp: Likewise.
1001 * gdb.base/solib-nodir.exp: Likewise.
1002 * gdb.base/statistics.exp: Likewise.
1003 * gdb.base/testenv.exp: Likewise.
1004 * gdb.mi/mi-exec-run.exp: Likewise.
1005 * gdb.mi/mi-start.exp: Likewise.
1006 * gdb.multi/dummy-frame-restore.exp: Likewise.
1007 * gdb.multi/multi-arch-exec.exp: Likewise.
1008 * gdb.multi/multi-arch.exp: Likewise.
1009 * gdb.multi/tids.exp: Likewise.
1010 * gdb.multi/watchpoint-multi.exp: Likewise.
1011 * gdb.python/py-events.exp: Likewise.
1012 * gdb.threads/attach-into-signal.exp: Likewise.
1013 * gdb.threads/attach-stopped.exp: Likewise.
1014 * gdb.threads/threadapply.exp: Likewise.
1015 * lib/selftest-support.exp: Likewise.
1016
1017 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1018
1019 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1020
1021 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1022
1023 * gdb.perf/template-breakpoints.cc: New file.
1024 * gdb.perf/template-breakpoints.exp: New file.
1025 * gdb.perf/template-breakpoints.py: New file.
1026
1027 2018-03-19 Tom Tromey <tom@tromey.com>
1028
1029 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1030 y0.
1031 * gdb.rust/simple.exp: Test bare identifier form of struct
1032 initializer.
1033
1034 2018-03-19 Tom Tromey <tom@tromey.com>
1035
1036 * gdb.gdb/observer.exp: Remove.
1037
1038 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1039
1040 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1041 "qualified" option when setting breakpoints.
1042 * gdb.trace/backtrace.exp: Likewise.
1043 * gdb.trace/circ.exp: Likewise.
1044 * gdb.trace/collection.exp: Likewise.
1045 * gdb.trace/disconnected-tracing.exp: Likewise.
1046 * gdb.trace/ftrace-lock.exp: Likewise.
1047 * gdb.trace/ftrace.exp: Likewise.
1048 * gdb.trace/infotrace.exp: Likewise.
1049 * gdb.trace/packetlen.exp: Likewise.
1050 * gdb.trace/passc-dyn.exp: Likewise.
1051 * gdb.trace/qtro.exp: Likewise.
1052 * gdb.trace/read-memory.exp: Likewise.
1053 * gdb.trace/report.exp: Likewise.
1054 * gdb.trace/signal.exp: Likewise.
1055 * gdb.trace/status-stop.exp: Likewise.
1056 * gdb.trace/strace.exp: Likewise.
1057 * gdb.trace/tfind.exp: Likewise.
1058 * gdb.trace/trace-break.exp: Likewise.
1059 * gdb.trace/trace-condition.exp: Likewise.
1060 * gdb.trace/trace-mt.exp: Likewise.
1061 * gdb.trace/tstatus.exp: Likewise.
1062 * gdb.trace/tsv.exp: Likewise.
1063 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1064 * gdb.trace/unavailable.exp: Likewise.
1065 * gdb.trace/while-dyn.exp: Likewise.
1066
1067 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1068
1069 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1070 that libinproctrace is copied to the target.
1071
1072 2018-03-14 Tom Tromey <tom@tromey.com>
1073
1074 PR cli/14977:
1075 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1076 a null pointer.
1077 * gdb.base/wchar.exp: Likewise.
1078
1079 2018-03-14 Tom Tromey <tom@tromey.com>
1080
1081 PR cli/19918:
1082 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1083 flag.
1084
1085 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1086
1087 PR gdb/22841
1088 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1089 "target" to remote_exec.
1090
1091 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1092
1093 PR gdb/22841
1094 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1095 ${board}_upload): Remove.
1096
1097 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1098
1099 * gdb.cp/watch-cp.cc: New test.
1100 * gdb.cp/watch-cp.exp: New file.
1101
1102 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1103
1104 * gdb.base/infcall-nested-structs.exp: New file.
1105 * gdb.base/infcall-nested-structs.c: New file.
1106 * gdb.base/float.exp: Add riscv support.
1107
1108 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1109
1110 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1111 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1112
1113 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1114
1115 * gdb.server/abspath.exp: New file.
1116 * lib/gdb.exp (with_cwd): New procedure.
1117
1118 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1119
1120 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1121 use it.
1122 (gdb_is_target_remote_prompt): New proc.
1123 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1124 (gdb_is_target_native): Pass prompt parameter to
1125 gdb_is_target_1.
1126
1127 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1128
1129 * gdb.base/load-command.c: New file.
1130 * gdb.base/load-command.exp: New file.
1131 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1132 (gdb_is_target_1): ...this, and generalize for other targets
1133 than just remote.
1134 (gdb_is_target_remote): Use gdb_is_target_1.
1135 (gdb_is_target_native): use gdb_is_target_1.
1136
1137 2018-02-26 Tom Tromey <tom@tromey.com>
1138
1139 PR python/16497:
1140 * gdb.python/py-framefilter.exp: Update test.
1141
1142 2018-02-26 Tom Tromey <tom@tromey.com>
1143
1144 * gdb.dwarf2/variant.c: New file.
1145 * gdb.dwarf2/variant.exp: New file.
1146
1147 2018-02-26 Tom Tromey <tom@tromey.com>
1148
1149 * gdb.rust/simple.exp: Accept more possible results in enum test.
1150
1151 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1152
1153 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1154 parentheses.
1155
1156 2018-02-23 Maciej W. Rozycki <macro@mips.com>
1157
1158 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1159 name of a variable: $actual_linejj -> $actual_line.
1160
1161 2018-02-21 John Baldwin <jhb@FreeBSD.org>
1162
1163 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1164
1165 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1166
1167 * gdb.btrace/buffer-size.exp: Do not force BTS.
1168
1169 2018-02-14 Pedro Alves <palves@redhat.com>
1170
1171 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1172 getting a "Quit".
1173
1174 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1175
1176 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1177 Fix test name.
1178
1179 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1180
1181 * gdb.cp/m-static.exp: Check type of optimized out static
1182 member.
1183
1184 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1185
1186 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1187 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1188
1189 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1190 Leszek Swirski <leszeks@google.com>
1191
1192 * gdb.python/py-prettyprint.c
1193 (struct to_string_returns_value_inner,
1194 struct to_string_returns_value_wrapper): New.
1195 (main): Add tsrvw variable.
1196 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1197 ToStringReturnsValueWrapper): New classes.
1198 (register_pretty_printers): Register new pretty-printers.
1199 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1200 recursive pretty printer.
1201 * gdb.python/py-mi.exp: Likewise.
1202
1203 2018-02-01 Leszek Swirski <leszeks@google.com>
1204
1205 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1206 functions with the same name as an include file are parsed
1207 correctly.
1208
1209 2018-02-01 Yao Qi <yao.qi@linaro.org>
1210
1211 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1212 "\[^\r\n\]*".
1213
1214 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1215
1216 * gdb.arch/powerpc-prologue-frame.s: New file.
1217 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1218 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1219
1220 2018-01-31 Joel Brobecker <brobecker@adacore.com>
1221
1222 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1223
1224 2018-01-30 Pedro Alves <palves@redhat.com>
1225
1226 PR gdb/13211
1227 * gdb.base/interrupt-daemon.c: New.
1228 * gdb.base/interrupt-daemon.exp: New.
1229 * gdb.multi/multi-term-settings.c: New.
1230 * gdb.multi/multi-term-settings.exp: New.
1231
1232 2018-01-30 Joel Brobecker <brobecker@adacore.com>
1233
1234 * gdb.base/break.exp: Save the location where the breakpoint
1235 on break.c:47 was actually inserted when debugging the version
1236 compiled at -O2 and use it in the expected output of the "info
1237 break" test performed soon after.
1238
1239 2018-01-22 Pedro Alves <palves@redhat.com>
1240 Sergio Durigan Junior <sergiodj@redhat.com>
1241
1242 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1243 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1244
1245 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1246
1247 * gdb.base/break-include.c, gdb.base/break-include.inc,
1248 gdb.base/break-include.exp: New files.
1249 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1250 line number now being the actual line number where the breakpoint
1251 was inserted.
1252 * gdb.mi/mi-break.exp: Likewise.
1253 * gdb.mi/mi-reverse.exp: Likewise.
1254 * gdb.mi/mi-simplerun.exp: Ditto.
1255
1256 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1257
1258 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1259 varobj.
1260 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1261
1262 2018-01-21 Don Breazeal <donb@codesourcery.com>
1263 Andrew Burgess <andrew.burgess@embecosm.com>
1264
1265 * gdb.mi/basics.c: Add new global.
1266 * gdb.mi/mi-frame-regs.exp: New file.
1267 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1268 case.
1269
1270 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1271
1272 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1273 non-parameter, and on an unknown symbol.
1274
1275 2018-01-19 Tom Tromey <tom@tromey.com>
1276
1277 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1278 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1279
1280 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1281
1282 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1283 setrlimit and chdir to int.
1284
1285 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1286
1287 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1288 function.
1289 (my_tend): Likewise.
1290 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1291 rationale of avoiding FP- and vector instructions.
1292
1293 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1294
1295 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1296 "info reg" with "\[ \t\]*".
1297 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1298 "\[ \t\]+".
1299 * gdb.arch/s390-multiarch.exp: Ditto.
1300 * gdb.base/pc-fp.exp: Ditto.
1301 * gdb.reverse/i386-precsave.exp: Ditto.
1302 * gdb.reverse/i386-reverse.exp: Ditto.
1303 * gdb.reverse/i387-env-reverse.exp: Ditto.
1304 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1305
1306 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1307
1308 * lib/gdb.exp (gdb_compile): Re-enable use of
1309 universal_compile_options for languages other than Rust.
1310
1311 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1312
1313 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1314
1315 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1316
1317 PR gdb/16577
1318 * gdb.base/solib-vanish.exp: New.
1319 * gdb.base/solib-vanish-main.c: New.
1320 * gdb.base/solib-vanish-lib1.c: New.
1321 * gdb.base/solib-vanish-lib2.c: New.
1322
1323 2018-01-17 Yao Qi <yao.qi@linaro.org>
1324
1325 * gdb.compile/compile.exp: Match the address printed for
1326 frame in the output of command "bt".
1327
1328 2018-01-15 Tom Tromey <tom@tromey.com>
1329
1330 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1331 compute sp_reg.
1332
1333 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1334
1335 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1336 to prepare.
1337 (prepare): Return 0 on error, 1 on success.
1338
1339 2018-01-12 Pedro Alves <palves@redhat.com>
1340
1341 * gdb.base/continue-after-aborted-step-over.c: New.
1342 * gdb.base/continue-after-aborted-step-over.exp: New.
1343
1344 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1345
1346 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1347 options when not creating an executable.
1348
1349 2018-01-11 Pedro Alves <palves@redhat.com>
1350
1351 PR remote/22597
1352 * gdb.server/stop-reply-no-thread.c: New file.
1353 * gdb.server/stop-reply-no-thread.exp: New file.
1354
1355 2018-01-10 Pedro Alves <palves@redhat.com>
1356
1357 PR gdb/22670
1358 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1359 functions too. Test setting breakpoints and printing C functions
1360 with no debug info too.
1361 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1362
1363 2018-01-10 Pedro Alves <palves@redhat.com>
1364
1365 PR gdb/22670
1366 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1367 a fail.
1368
1369 2018-01-10 Pedro Alves <palves@redhat.com>
1370
1371 PR gdb/22670
1372 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1373
1374 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1375
1376 * gdb.server/unittest.exp: Match the output in non-development
1377 mode.
1378
1379 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1380
1381 * gdb.gdb/unittest.exp: Match output in non-development mode.
1382
1383 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1384
1385 * gdb.ada/access_tagged_param.exp: Relax expected output
1386 for value of "ObjL" in "continue" to pck.inspect breakpoint
1387 test.
1388
1389 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1390
1391 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1392 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1393
1394 2018-01-05 Pedro Alves <palves@redhat.com>
1395
1396 PR gdb/18653
1397 * gdb.base/libsegfault.exp: New.
1398
1399 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1400
1401 PR gdb/22670
1402 * gdb.ada/access_tagged_param.exp: New file.
1403 * gdb.ada/access_tagged_param/foo.adb: New file.
1404
1405 2018-01-05 Pedro Alves <palves@redhat.com>
1406
1407 PR gdb/22670
1408 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1409 exercise lower case too, and to exercise both full matching and
1410 wild matching.
1411
1412 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1413
1414 * gdb.ada/rename_subscript_param: New testcase.
1415
1416 2018-01-05 Jerome Guitton <guitton@adacore.com>
1417
1418 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1419
1420 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1421
1422 * gdb.ada/convvar_comp: New testcase.
1423
1424 2018-01-05 Xavier Roirand <roirand@adacore.com>
1425
1426 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1427 (My_Table): New global variable.
1428 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1429
1430 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1431
1432 PR gdb/22670
1433 * gdb.ada/maint_with_ada: New testcase.
1434
1435 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1436
1437 PR gdb/22670
1438 * gdb.ada/bp_c_mixed_case: New testcase.
1439
1440 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1441
1442 PR gdb/22670
1443 * gdb.ada/complete.exp: Add "complete break ada" test.
1444
1445 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1446
1447 PR gdb/22670
1448 * gdb.ada/info_addr_mixed_case: New testcase.
1449
1450 2018-01-03 Xavier Roirand <roirand@adacore.com>
1451
1452 * gdb.ada/excep_handle.exp: New testcase.
1453 * gdb.ada/excep_handle/foo.adb: New file.
1454 * gdb.ada/excep_handle/pck.ads: New file.
1455
1456 2018-01-03 Joel Brobecker <brobecker@adacore.com>
1457
1458 * gdb.base/step-line.c: Add extra empty line in copyright header.
1459 * gdb.base/step-line.inp: Likewise.
1460
1461 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1462
1463 * gdb.ada/dyn_stride.exp: Add slice test.
1464
1465 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1466
1467 * gdb.ada/dyn_stride: New testcase.
1468
1469 2017-12-27 Stafford Horne <shorne@gmail.com>
1470
1471 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1472 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1473
1474 2017-12-27 Stafford Horne <shorne@gmail.com>
1475
1476 * gdb.base/reggroups.c: New file.
1477 * gdb.base/reggroups.exp: New file.
1478
1479 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1480
1481 * gdb.dwarf2/ada-valprint-error.c: New file.
1482 * gdb.dwarf2/ada-valprint-error.exp: New file.
1483
1484 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1485
1486 * gdb.ada/assign_arr: New testcase.
1487
1488 2017-12-18 Xavier Roirand <roirand@adacore.com>
1489
1490 * gdb.ada/funcall_ptr: New testcase.
1491
1492 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1493
1494 PR cli/16224
1495 * gdb.base/ptype-offsets.cc: New file.
1496 * gdb.base/ptype-offsets.exp: New file.
1497
1498 2017-12-15 Yao Qi <yao.qi@linaro.org>
1499
1500 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1501 if XML is disabled.
1502
1503 2017-12-15 Xavier Roirand <roirand@adacore.com>
1504
1505 * gdb.ada/same_component_name: New testcase.
1506
1507 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1508
1509 * gdb.ada/str_binop_equal: New testcase.
1510
1511 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1512
1513 * gdb.ada/task_switch_in_core: New testcase.
1514
1515 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
1516
1517 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1518 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1519 call test_bkpt_qualified.
1520 (test_bkpt_qualified): New proc.
1521
1522 2017-12-13 Pedro Alves <palves@redhat.com>
1523
1524 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1525 Tighten regexp by matching with an anchor.
1526
1527 2017-12-13 Pedro Alves <palves@redhat.com>
1528
1529 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1530 ("expression with namespace"): New set of tests.
1531 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1532 (Nested::Test_NS::qux): New.
1533 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1534 defaults to 'start_quote_char' and 'end_quote_char' parameters.
1535
1536 2017-12-13 Joel Brobecker <brobecker@adacore.com>
1537
1538 * gdb.base/server-del-break.c: New file.
1539 * gdb.base/server-del-break.exp: New file.
1540
1541 2017-12-12 Stafford Horne <shorne@gmail.com>
1542
1543 * gdb.xml/tdesc-regs.exp: Add or1k support.
1544
1545 2017-12-12 Stafford Horne <shorne@gmail.com>
1546
1547 * gdb.base/bp-permanent.c: Define nop of or1k.
1548
1549 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1550
1551 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1552 output with components being reordered.
1553
1554 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1555
1556 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1557 output with components being reordered.
1558
1559 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1560 Pedro Alves <palves@redhat.com>
1561
1562 * gdb.base/maint.exp (check for .gdb_index): Check also for
1563 .debug_names.
1564 * gdb.dlang/watch-loc.c (.debug_aranges): New.
1565 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1566 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1567 (.gdb_index used after symbol reloading): Support also .debug_names.
1568 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
1569
1570 2017-12-08 Yao Qi <yao.qi@linaro.org>
1571
1572 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1573 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
1574
1575 2017-12-08 Yao Qi <yao.qi@linaro.org>
1576
1577 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1578 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1579
1580 2017-12-08 Yao Qi <yao.qi@linaro.org>
1581
1582 * gdb.arch/aarch64-tagged-pointer.c: New file.
1583 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1584
1585 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1586
1587 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1588 "int".
1589
1590 2017-12-07 Keith Seitz <keiths@redhat.com>
1591
1592 PR breakpoints/22569
1593 * gdb.linespec/ls-errs.exp: Change expected result of "break
1594 -source this file has spaces.c -line 3".
1595 Check that an explicit source file followed by whitespace is
1596 identified as an invalid explicit location.
1597
1598 2017-12-07 Keith Seitz <keiths@redhat.com>
1599
1600 * gdb.cp/nested-types.cc: New file.
1601 * gdb.cp/nested-types.exp: New file.
1602 * lib/cp-support.exp: Load data-structures.exp library.
1603 (debug_cp_test_ptype_class): New global.
1604 (cp_ptype_class_verbose, next_line): New procedures.
1605 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1606 Add and document new return value.
1607 Switch the list of lines to a queue.
1608 Add support for new `type' key for nested type definitions.
1609 Add debugging/troubleshooting messages.
1610 * lib/data-structures.exp: New file.
1611
1612 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1613
1614 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1615 with proc_with_prefix, don't use with_test_prefix.
1616
1617 2017-12-07 Tom Tromey <tom@tromey.com>
1618
1619 * gdb.base/break.exp: Add test for empty "commands".
1620
1621 2017-12-07 Yao Qi <yao.qi@linaro.org>
1622
1623 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1624 malloc and catch syscall.
1625
1626 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1627
1628 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1629 tests for explicit locations.
1630
1631 2017-12-06 Pedro Alves <palves@redhat.com>
1632
1633 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1634 force-disabling XML descriptions.
1635
1636 2017-12-04 Pedro Alves <palves@redhat.com>
1637
1638 PR gdb/22499
1639 * gdb.arch/amd64-disp-step-avx.S: New file.
1640 * gdb.arch/amd64-disp-step-avx.exp: New file.
1641
1642 2017-12-03 Pedro Alves <palves@redhat.com>
1643
1644 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1645 and <string.h>.
1646 (parent_function): Print distinct messages when waitpid fails, or
1647 the child exits with a signal, or the child exits for an unhandled
1648 reason.
1649 * gdb.threads/process-dies-while-detaching.exp
1650 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1651 it. Wait for both inferior output and GDB's prompt. Use an
1652 indirect spawn id list.
1653 (do_detach): New parameter 'child_exit'. Use it to compute
1654 expected inferior output.
1655 (test_detach, test_detach_watch, test_detach_killed_outside):
1656 Adjust to pass down the expected child exit kind.
1657
1658 2017-12-01 Joel Brobecker <brobecker@adacore.com>
1659 Sergio Durigan Junior <sergiodj@redhat.com>
1660 Pedro Alves <palves@redhat.com>
1661
1662 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1663
1664 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1665
1666 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1667 to 'symbol-file' and 'add-symbol-file' can be
1668 position-independent.
1669
1670 2017-12-01 Yao Qi <yao.qi@linaro.org>
1671
1672 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1673 the URL in copyright header.
1674 * gdb.arch/aarch64-fp.exp: Likewise.
1675 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1676 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1677 * gdb.base/expand-psymtabs.exp: Likewise.
1678 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1679 * gdb.fortran/common-block.exp: Likewise.
1680 * gdb.fortran/common-block.f90: Likewise.
1681 * gdb.fortran/logical.exp: Likewise.
1682 * gdb.fortran/vla-datatypes.f90: Likewise.
1683 * gdb.fortran/vla-sub.f90: Likewise.
1684
1685 2017-11-30 Joel Brobecker <brobecker@adacore.com>
1686
1687 * gdb.ada/repeat_dyn: New testcase.
1688
1689 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1690
1691 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1692 Update for changed thread numbering.
1693 * gdb.cell/bt.exp: Update for changed GDB output.
1694
1695 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1696
1697 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1698 setting isremote by hand.
1699 * boards/dwarf4-gdb-index.exp: Likewise.
1700 * boards/fission.exp: Likewise.
1701 * boards/stabs.exp: Likewise.
1702
1703 2017-11-30 Pedro Alves <palves@redhat.com>
1704
1705 * gdb.linespec/cpls-ops.exp
1706 (check_explicit_skips_function_argument): Extract the underlying
1707 type of size_t instead of hardcoding it.
1708
1709 2017-11-29 Pedro Alves <palves@redhat.com>
1710
1711 PR c++/19436
1712 * gdb.linespec/cpls-abi-tag.cc: New file.
1713 * gdb.linespec/cpls-abi-tag.exp: New file.
1714
1715 2017-11-29 Pedro Alves <palves@redhat.com>
1716
1717 * gdb.base/langs.exp: Use -qualified.
1718 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1719 it.
1720 * gdb.cp/namespace.exp: Use -qualified.
1721 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1722 (overload-3, template-overload, template-ret-type, const-overload)
1723 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1724 procedures.
1725 (test_driver): Call them.
1726 * gdb.cp/save-bp-qualified.cc: New.
1727 * gdb.cp/save-bp-qualified.exp: New.
1728 * gdb.linespec/explicit.exp: Test -qualified.
1729 * lib/completion-support.exp (completion::explicit_opts_list): Add
1730 "-qualified".
1731 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1732
1733 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1734
1735 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1736
1737 2017-11-29 Tom Tromey <tom@tromey.com>
1738
1739 * gdb.base/relocate.exp: Update invalid argument test.
1740 Add new tests for invalid arguments.
1741
1742 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1743
1744 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1745 Return 0 as a long.
1746 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1747
1748 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1749
1750 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1751 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1752 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1753 func ().
1754 * gdb.cp/shadow.cc (B.func): Return 0.
1755
1756 2017-11-27 Joel Brobecker <brobecker@adacore.com>
1757
1758 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1759 expected output in gdb_expect call to allow the exception
1760 message to be present as well. Fix syntax confusion to avoid
1761 TCL thinking that exception_name is an array.
1762
1763 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1764
1765 * gdb.arch/spu-info.c: Include <unistd.h>.
1766 (do_signal_test): Fix broken calls to write.
1767 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1768 Fix checks for empty mailboxes. Update signal tests for corrected
1769 do_signal_test routine. Allow nonzero event status.
1770 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1771 * gdb.cell/arch.exp: Use standard_output_file.
1772 * gdb.cell/break.exp: Likewise.
1773 * gdb.cell/bt.exp: Likewise.
1774 * gdb.cell/core.exp: Likewise.
1775 * gdb.cell/dwarfaddr.exp: Likewise.
1776 * gdb.cell/ea-cache.exp: Likewise.
1777 * gdb.cell/ea-standalone.exp: Likewise.
1778 * gdb.cell/f-regs.exp: Likewise.
1779 * gdb.cell/fork.exp: Likewise.
1780 * gdb.cell/gcore.exp: Likewise.
1781 * gdb.cell/mem-access.exp: Likewise.
1782 * gdb.cell/ptype.exp: Likewise.
1783 * gdb.cell/registers.exp: Likewise.
1784 * gdb.cell/sizeof.exp: Likewise.
1785 * gdb.cell/solib-symbol.exp: Likewise.
1786 * gdb.cell/solib.exp: Likewise.
1787
1788 2017-11-25 Pedro Alves <palves@redhat.com>
1789
1790 * gdb.base/complete-empty.exp: New file.
1791 * gdb.base/completion.exp: Adjust.
1792
1793 2017-11-25 Pedro Alves <palves@redhat.com>
1794
1795 * gdb.linespec/cpls-ops.cc: New file.
1796 * gdb.linespec/cpls-ops.exp: New file.
1797 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1798 factored out from ...
1799 (test_complete_prefix_range): ... this.
1800
1801 2017-11-24 Pedro Alves <palves@redhat.com>
1802
1803 * gdb.linespec/cpcompletion.exp: New file.
1804 * gdb.linespec/cpls-hyphen.cc: New file.
1805 * gdb.linespec/cpls.cc: New file.
1806 * gdb.linespec/cpls2.cc: New file.
1807 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1808 test to use test_gdb_complete_unique. Add label completion,
1809 keyword completion and explicit location completion tests.
1810 * lib/completion-support.exp: New file.
1811
1812 2017-11-24 Joel Brobecker <brobecker@adacore.com>
1813
1814 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1815 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1816 when hitting an exception catchpoint.
1817
1818 2017-11-22 Yao Qi <yao.qi@linaro.org>
1819
1820 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1821
1822 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1823
1824 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1825 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1826 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1827
1828 2017-11-22 Yao Qi <yao.qi@linaro.org>
1829
1830 * gdb.base/info-os.exp: Pass pthreads.
1831 * gdb.multi/multi-attach.exp: Likewise.
1832
1833 2017-11-22 Yao Qi <yao.qi@linaro.org>
1834
1835 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1836 compiler.
1837
1838 2017-11-22 Yao Qi <yao.qi@linaro.org>
1839
1840 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1841 * gdb.base/break-interp.exp: Likewise.
1842 * gdb.base/jit-attach-pie.exp: Likewise.
1843
1844 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1845
1846 * gdb.base/float128.c (large128): New variable.
1847 * gdb.base/float128.exp: Add test to print largest __float128 value.
1848
1849 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1850
1851 * gdb.arch/vsx-regs.exp: Update register content checks.
1852
1853 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1854
1855 * gdb.arch/ppc-longdouble.exp: New file.
1856 * gdb.arch/ppc-longdouble.c: Likewise.
1857
1858 2017-11-21 Pedro Alves <palves@redhat.com>
1859
1860 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
1861
1862 2017-11-20 Pedro Alves <palves@redhat.com>
1863
1864 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
1865 (long_double_typedef): New typedefs.
1866 Use DEF on double and long double.
1867 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
1868 cases.
1869 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
1870 and 'long_double_ptr_same_size' locals. Use them to decide
1871 whether cast from array/function to float is valid/invalid.
1872
1873 2017-11-17 Tom Tromey <tom@tromey.com>
1874
1875 * gdb.rust/traits.rs: New file.
1876 * gdb.rust/traits.exp: New file.
1877
1878 2017-11-17 Joel Brobecker <brobecker@adacore.com>
1879
1880 * gdb.ada/minsyms: New testcase.
1881
1882 2017-11-16 Pedro Alves <palves@redhat.com>
1883
1884 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
1885 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
1886
1887 2017-11-16 Pedro Alves <palves@redhat.com>
1888
1889 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
1890 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
1891
1892 2017-11-16 Pedro Alves <palves@redhat.com>
1893
1894 * gdb.server/reconnect-ctrl-c.c: New file.
1895 * gdb.server/reconnect-ctrl-c.exp: New file.
1896
1897 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
1898
1899 * gdb.python/py-rbreak.exp: New file.
1900 * gdb.python/py-rbreak.c: New file.
1901 * gdb.python/py-rbreak-func2.c: New file.
1902
1903 2017-11-16 Pedro Alves <palves@redhat.com>
1904
1905 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
1906 pattern.
1907 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
1908 GDB.
1909
1910 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
1911
1912 * gdb.tui/completionn.exp (test_tab_completion): Add space in
1913 regex.
1914
1915 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
1916
1917 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
1918 test names.
1919
1920 2017-11-09 Pedro Alves <palves@redhat.com>
1921
1922 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
1923 factored out from ...
1924 (top level): ... here, and adjusted to avoid expecting beyond the
1925 prompt in a single gdb_test_multiple.
1926
1927 2017-11-09 Pedro Alves <palves@redhat.com>
1928
1929 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
1930 output.
1931 * gdb.server/ext-attach.exp ("kill" test): Likewise.
1932 * gdb.server/ext-restart.exp ("kill" test): Likewise.
1933 * gdb.server/ext-run.exp ("kill" test): Likewise.
1934 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
1935
1936 2017-11-09 Pedro Alves <palves@redhat.com>
1937
1938 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
1939 match till end of line.
1940
1941 2017-11-09 Pedro Alves <palves@redhat.com>
1942
1943 * gdb.base/memattr.exp: Tighten regexes to match the end line.
1944
1945 2017-11-09 Pedro Alves <palves@redhat.com>
1946
1947 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
1948 New procedures, factored out from ...
1949 (top level): ... here, and adjusted to avoid expecting beyond the
1950 prompt in one go.
1951
1952 2017-11-09 Pedro Alves <palves@redhat.com>
1953
1954 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
1955 output. Fix '?' match.
1956
1957 2017-11-08 Joel Brobecker <brobecker@adacore.com>
1958
1959 * gdb.ada/scoped_watch: New testcase.
1960 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
1961 which is actually correct.
1962 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
1963 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
1964
1965 2017-11-08 Pedro Alves <palves@redhat.com>
1966
1967 * gdb.gdb/complaints.exp (test_initial_complaints)
1968 (test_serial_complaints, test_short_complaints): Call
1969 complaint_internal instead of complaint.
1970
1971 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
1972
1973 * gdb.threads/tls-core.c: New file.
1974 * gdb.threads/tls-core.exp: Likewise.
1975
1976 2017-11-08 Pedro Alves <palves@redhat.com>
1977
1978 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
1979 (p Exported_Capitalized): New test.
1980 (p exported_capitalized): New test.
1981
1982 2017-11-07 Pedro Alves <palves@redhat.com>
1983
1984 * gdb.cp/ena-dis-br-range.exp: Add more tests.
1985
1986 2017-11-07 Pedro Alves <palves@redhat.com>
1987
1988 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
1989 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
1990 (disable_invalid, disable_inverted, disable_negative): New
1991 procedures.
1992 ("bad numbers"): New set of tests.
1993
1994 2017-11-07 Pedro Alves <palves@redhat.com>
1995
1996 * gdb.cp/ena-dis-br-range.exp: Add tests.
1997
1998 2017-11-07 Pedro Alves <palves@redhat.com>
1999
2000 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2001
2002 2017-11-07 Xavier Roirand <roirand@adacore.com>
2003 Pedro Alves <palves@redhat.com>
2004
2005 * gdb.base/ena-dis-br.exp: Add reference to
2006 gdb.cp/ena-dis-br-range.exp.
2007 * gdb.cp/ena-dis-br-range.exp: New file.
2008 * gdb.cp/ena-dis-br-range.cc: New file.
2009
2010 2017-11-06 Pedro Alves <palves@redhat.com>
2011
2012 * gdb.base/attach-non-pgrp-leader.c: New.
2013 * gdb.base/attach-non-pgrp-leader.exp: New.
2014
2015 2017-11-06 Pedro Alves <palves@redhat.com>
2016
2017 * configure.ac: No longer check for termio.h and sgtty.h.
2018 * configure: Regenerate.
2019 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2020 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2021 Remove termio and sgtty code.
2022
2023 2017-11-03 Yao Qi <yao.qi@linaro.org>
2024
2025 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2026 in GDB is disabled.
2027
2028 2017-11-03 Yao Qi <yao.qi@linaro.org>
2029
2030 * gdb.python/py-thrhandle.exp: Skip it if python is not
2031 enabled.
2032
2033 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2034
2035 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2036 as a breakpoint command.
2037
2038 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2039
2040 PR python/21213
2041 * gdb.python/py-infthread.exp: Test calling
2042 InferiorThread.inferior () multiple times in a row.
2043
2044 2017-10-27 Keith Seitz <keiths@redhat.com>
2045
2046 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2047 Test "info break" for every inlined function breakpoint.
2048
2049 2017-10-27 Yao Qi <yao.qi@linaro.org>
2050
2051 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2052
2053 2017-10-26 Patrick Frants <osscontribute@gmail.com>
2054
2055 * gdb.cp/classes.exp (test_static_members): Test printing
2056 Outer::instance.
2057 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2058 (Inner::instance, Outer::instance): New.
2059
2060 2017-10-24 Pedro Alves <palves@redhat.com>
2061
2062 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2063 extra console" test in two stages.
2064
2065 2017-10-24 Pedro Alves <palves@redhat.com>
2066
2067 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2068
2069 2017-10-24 Pedro Alves <palves@redhat.com>
2070
2071 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2072 loop.
2073
2074 2017-10-24 Pedro Alves <palves@redhat.com>
2075
2076 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2077 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2078
2079 2017-10-24 Pedro Alves <palves@redhat.com>
2080
2081 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2082 parameter and handle it. Don't output read value in test name.
2083
2084 2017-10-24 Pedro Alves <palves@redhat.com>
2085
2086 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2087 custom test name.
2088
2089 2017-10-24 Pedro Alves <palves@redhat.com>
2090
2091 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2092 include the unstable output directory name in the test's name.
2093 (initial_setup_simple) <'set args'>: Use custom test name.
2094
2095 2017-10-24 Pedro Alves <palves@redhat.com>
2096
2097 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2098 with explicit test name.
2099
2100 2017-10-20 Pedro Alves <palves@redhat.com>
2101
2102 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2103 'wait -i'. Use gdb_assert and remote_close.
2104
2105 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2106
2107 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2108 number from variable rather than hard-coded.
2109
2110 2017-10-19 Pedro Alves <palves@redhat.com>
2111
2112 * gdb.base/long-inferior-output.c: New file.
2113 * gdb.base/long-inferior-output.exp: New file.
2114
2115 2017-11-18 Keith Seitz <keiths@redhat.com>
2116
2117 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2118 method.
2119 (main): Call it.
2120 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2121 Add additional user-defined conversion operator tests.
2122
2123 2017-10-17 Pedro Alves <palves@redhat.com>
2124
2125 * boards/native-stdio-gdbserver.exp: Load "local-board".
2126
2127 2017-10-17 Pedro Alves <palves@redhat.com>
2128
2129 * gdb.base/quit-live.c: New file.
2130 * gdb.base/quit-live.exp: New file.
2131
2132 2017-10-16 Keith Seitz <keiths@redhat.com>
2133
2134 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2135 (class_with_protected_typedef, class_with_private_typedef)
2136 (struct_with_public_typedef, struct_with_protected_typedef)
2137 (struct_with_private_typedef): New classes/structs.
2138 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2139 typedefs and access specifiers.
2140
2141 2017-10-16 Pedro Alves <palves@redhat.com>
2142 Simon Marchi <simon.marchi@polymtl.ca>
2143
2144 * README (Local vs Remote vs Native): New section.
2145 * boards/local-board.exp: New file, with bits factored out from
2146 ...
2147 * boards/native-extended-gdbserver.exp: ... here. Load
2148 "local-board".
2149 * boards/native-gdbserver.exp: Load "local-board".
2150 (${board}_spawn, ${board}_exec): Delete.
2151 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2152 ...
2153 * boards/stdio-gdbserver-base.exp: ... this new file.
2154 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2155 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2156 procedure.
2157 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2158 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2159 stdio_gdbserver_command.
2160 (${board}_get_remote_address, ${board}_get_comm_port)
2161 (${board}_download, ${board}_upload): Delete.
2162 (get_target_remote_pipe_cmd): New.
2163
2164 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2165
2166 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2167 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2168 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2169 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2170 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2171 remove with_test_prefix.
2172
2173 2017-10-13 Pedro Alves <palves@redhat.com>
2174
2175 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2176 * gdb.base/annota1.exp: Use it instead of is_remote.
2177 * gdb.base/annota3.exp: Use it instead of is_remote.
2178 * gdb.cp/annota2.exp: Use it instead of is_remote.
2179 * gdb.cp/annota3.exp: Use it instead of is_remote.
2180 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2181
2182 2017-10-13 Pedro Alves <palves@redhat.com>
2183
2184 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2185 (test_num_test_vars, run_and_count_vars, find_env)
2186 (test_set_unset_env, test_inherit_env_var): New procedures.
2187 (top level): Use them.
2188
2189 2017-10-13 Pedro Alves <palves@redhat.com>
2190
2191 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2192 also skip on stub-like targets.
2193
2194 2017-10-13 Pedro Alves <palves@redhat.com>
2195
2196 PR gdb/22293
2197 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2198 (top level): Move some tests to ...
2199 (test_not_found): ... this new procedure.
2200 (top level): Call it.
2201
2202 2017-10-13 Pedro Alves <palves@redhat.com>
2203
2204 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2205 expect different "info terminal" output if testing with a
2206 non-native target.
2207
2208 2017-10-13 Pedro Alves <palves@redhat.com>
2209 Simon Marchi <simon.marchi@polymtl.ca>
2210
2211 PR python/12966
2212 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2213
2214 2017-10-13 Pedro Alves <palves@redhat.com>
2215
2216 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2217 already.
2218
2219 2017-10-13 Pedro Alves <palves@redhat.com>
2220
2221 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2222 is_remote.
2223
2224 2017-10-13 Pedro Alves <palves@redhat.com>
2225
2226 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2227 is_remote.
2228
2229 2017-10-13 Pedro Alves <palves@redhat.com>
2230
2231 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2232 is set.
2233 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2234 instead of is_remote.
2235
2236 2017-10-13 Pedro Alves <palves@redhat.com>
2237
2238 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2239 (top level): Add comment.
2240
2241 2017-10-13 Pedro Alves <palves@redhat.com>
2242
2243 * gdb.base/remote.exp (top level): Fix comment typo and add
2244 missing return.
2245
2246 2017-10-13 Pedro Alves <palves@redhat.com>
2247 Simon Marchi <simon.marchi@polymtl.ca>
2248
2249 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2250 calls and add comments. Skip test if use_gdb_stub is set.
2251 (top level): Use "set cwd" command instead of "cd" command.
2252
2253 2017-10-13 Pedro Alves <palves@redhat.com>
2254
2255 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2256 is_remote target check.
2257
2258 2017-10-13 Pedro Alves <palves@redhat.com>
2259
2260 * gdb.base/scope.exp: Use build_executable + clean_restart +
2261 gdb_file_cmd instead of prepare_for_testing and no longer skip
2262 "before run" tests on is_remote target boards. Update comments.
2263 * boards/native-extended-gdbserver.exp
2264 (extended_gdbserver_load_last_file): New, factored out from ...
2265 (gdb_load): ... this. Move further below and add comment.
2266 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2267
2268 2017-10-12 Pedro Alves <palves@redhat.com>
2269
2270 * gdb.base/attach.exp: Remove references to gdb64.
2271 * gdb.base/dbx.exp: Remove references to gdb64.
2272
2273 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2274 Pedro Alves <palves@redhat.com>
2275
2276 * gdb.base/label.exp: Remove is_remote target check.
2277
2278 2017-10-12 Pedro Alves <palves@redhat.com>
2279
2280 * gdb.base/auvx.exp (coredir): Update comment.
2281 (top level) <core_works>: Use "set cwd" command instead of "cd"
2282 command.
2283
2284 2017-10-12 Pedro Alves <palves@redhat.com>
2285 Simon Marchi <simon.marchi@polymtl.ca>
2286
2287 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2288 target boards.
2289
2290 2017-10-12 Pedro Alves <palves@redhat.com>
2291 Simon Marchi <simon.marchi@polymtl.ca>
2292
2293 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2294 Instead skip if there's any gdb_protocol set.
2295
2296 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2297 Pedro Alves <palves@redhat.com>
2298
2299 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2300
2301 2017-10-12 Pedro Alves <palves@redhat.com>
2302 Simon Marchi <simon.marchi@polymtl.ca>
2303
2304 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2305 instead of on dejagnu remote boards.
2306
2307 2017-10-12 Pedro Alves <palves@redhat.com>
2308 Simon Marchi <simon.marchi@polymtl.ca>
2309
2310 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2311 checks. Use build_executable + clean_restart instead of
2312 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2313 of enabling non-stop after starting gdb.
2314
2315 2017-10-12 Pedro Alves <palves@redhat.com>
2316
2317 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2318 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2319 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2320 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2321
2322 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2323
2324 * gdb.arch/arc-tdesc-cpu.exp: New file.
2325 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2326
2327 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2328
2329 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2330
2331 2017-10-10 Pedro Alves <palves@redhat.com>
2332
2333 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2334 expect CLI output.
2335
2336 2017-10-10 Pedro Alves <palves@redhat.com>
2337
2338 * lib/selftest-support.exp (selftest_setup): Update for
2339 captured_command_loop's prototype change.
2340
2341 2017-10-09 Pedro Alves <palves@redhat.com>
2342
2343 Test both arch1=>arch2 and arch2=>arch1.
2344
2345 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2346 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2347 factored out to...
2348 (append_arch1_options, append_arch2_options, append_arch_options)
2349 (build_executables): New procedures.
2350 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2351 local.
2352 (top level): Add new 'first_arch' testing axis.
2353
2354 2017-10-09 Pedro Alves <palves@redhat.com>
2355
2356 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2357 (barrier): New.
2358 (thread_start, all_started): New functions.
2359 (main): Spawn new thread and wait until it is scheduled.
2360 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2361 option.
2362 (do_test): Add 'selected_thread' parameter. Run to all_started
2363 instead of main. Explicitly set the breakpoint at main. Switch
2364 to the SELECTED_THREAD thread.
2365 (top level): Test handling the exec event with either the main
2366 thread or the second thread selected.
2367
2368 2017-10-09 Pedro Alves <palves@redhat.com>
2369
2370 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2371 logic. Move STOP marker after the value checks.
2372 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2373 regexp.
2374
2375 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2376
2377 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2378
2379 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2380
2381 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2382 integer-to-dfp conversion.
2383 * gdb.base/dfp-test.exp: Likewise.
2384
2385 2017-10-04 Pedro Alves <palves@redhat.com>
2386
2387 * gdb.multi/hangout.c: Include <unistd.h>.
2388 (hangout_loop): New function.
2389 (main): Call alarm. Call hangout_loop in a loop.
2390 * gdb.multi/hello.c: Include <unistd.h>.
2391 (hello_loop): New function.
2392 (main): Call alarm. Call hangout_loop in a loop.
2393 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2394 inferior with the other selected.
2395
2396 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2397
2398 * gdb.mi/list-thread-groups-available.exp: New file.
2399 * gdb.mi/list-thread-groups-available.c: New file.
2400
2401 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2402
2403 * gdb.base/set-cwd.exp: Make it available on
2404 native-extended-gdbserver.
2405
2406 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2407
2408 * gdb.base/set-cwd.c: New file.
2409 * gdb.base/set-cwd.exp: Likewise.
2410
2411 2017-10-02 Tom Tromey <tom@tromey.com>
2412
2413 PR rust/22236:
2414 * gdb.rust/simple.rs (main): New variable "fslice".
2415 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2416
2417 2017-10-02 Tom Tromey <tom@tromey.com>
2418
2419 * gdb.rust/simple.exp: Test ptype of a slice.
2420
2421 2017-10-02 Tom Tromey <tom@tromey.com>
2422
2423 * gdb.rust/simple.exp: Test index of slice.
2424
2425 2017-09-27 Tom Tromey <tom@tromey.com>
2426
2427 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2428
2429 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2430 Pedro Alves <palves@redhat.com>
2431
2432 * gdb.base/compare-sections.exp (get value of read-only section): Read
2433 as unsigned value.
2434 (corrupt read-only section): Likewise and don't set written if patching
2435 failed.
2436
2437 2017-09-21 Kevin Buettner <kevinb@redhat.com>
2438
2439 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2440 files.
2441
2442 2017-09-20 Pedro Alves <palves@redhat.com>
2443
2444 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2445 symbol names in gdb's output.
2446 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2447
2448 2017-09-20 Pedro Alves <palves@redhat.com>
2449
2450 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2451 Rename to ...
2452 (test_list_ambiguous_symbol): ... this and add a symbol name
2453 parameter. Adjust.
2454 (test_list_ambiguous_function): Reimplement on top of
2455 test_list_ambiguous_symbol and also test listing ambiguous
2456 variables.
2457 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2458 (ambiguous_fun): ... this.
2459 (ambiguous_var): New.
2460 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2461 (ambiguous_fun): ... this.
2462 (ambiguous_var): New.
2463
2464 2017-09-19 John Baldwin <jhb@FreeBSD.org>
2465
2466 * gdb.base/starti.c: New file.
2467 * gdb.base/starti.exp: New file.
2468 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2469
2470 2017-09-14 Pedro Alves <palves@redhat.com>
2471
2472 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2473 (top level): Use it instead of runto.
2474
2475 2017-09-11 Tom Tromey <tom@tromey.com>
2476
2477 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2478
2479 2017-09-11 Tom Tromey <tom@tromey.com>
2480
2481 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2482 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2483
2484 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2485
2486 * gdb.fortran/printing-types.exp: New file.
2487 * gdb.fortran/printing-types.exp: New file.
2488
2489 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2490
2491 * gdb.fortran/vla-ptype.exp: Fix typos.
2492 * gdb.fortran/vla-value.exp: Same.
2493
2494 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2495
2496 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2497 * gdb.mi/mi-var-child-f.exp: Likewise.
2498 * gdb.mi/mi-vla-fortran.exp: Likewise.
2499
2500 2017-09-08 Frank Penczek <frank.penczek@intel.com>
2501 Christoph Weinmann <christoph.t.weinmann@intel.com>
2502 Bernhard Heckel <bernhard.heckel@intel.com>
2503
2504 * gdb.fortran/ptr-indentation.f90: New file.
2505 * gdb.fortran/ptr-indentation.exp: New file.
2506
2507 2017-09-05 Tom Tromey <tom@tromey.com>
2508
2509 PR gdb/22010:
2510 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2511
2512 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2513
2514 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2515
2516 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2517
2518 * gdb.threads/tls-nodebug-pie.c: New file.
2519 * gdb.threads/tls-nodebug-pie.exp: New file.
2520
2521 2017-09-05 Tom Tromey <tom@tromey.com>
2522
2523 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2524 for rust.
2525
2526 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
2527
2528 * gdb.multi/multi-arch-exec.exp: Test with different
2529 "follow-exec-mode" settings.
2530 (do_test): New procedure.
2531
2532 2017-09-04 Pedro Alves <palves@redhat.com>
2533
2534 * gdb.base/func-static.c (S::method const, S::method volatile)
2535 (S::method volatile const): New methods.
2536 (c_s, v_s, cv_s): New instances.
2537 (main): Call method() on them.
2538 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2539 (cannot_resolve): New procedure.
2540 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
2541 print-quote-unquoted columns.
2542 (do_test): Test printing each scope too.
2543
2544 2017-09-04 Pedro Alves <palves@redhat.com>
2545
2546 * gdb.base/local-static.exp: Also test with
2547 class::method::variable wholly quoted.
2548 * gdb.cp/m-static.exp (class::method::variable): Remove test.
2549
2550 2017-09-04 Pedro Alves <palves@redhat.com>
2551
2552 * gdb.base/local-static.c: New.
2553 * gdb.base/local-static.cc: New.
2554 * gdb.base/local-static.exp: New.
2555
2556 2017-09-04 Pedro Alves <palves@redhat.com>
2557
2558 * gdb.asm/asm-source.exp: Add casts to int.
2559 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2560 (dataglobal64_1, dataglobal64_2): New globals.
2561 * gdb.base/nodebug.exp: Test different expressions involving the
2562 new globals, with print, whatis and ptype. Add casts to int.
2563 * gdb.base/solib-display.exp: Add casts to int.
2564 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
2565 * gdb.cp/m-static.exp: Add cast to int.
2566 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2567 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2568 tls variable with no debug info without a cast. Test with a cast
2569 to int too.
2570 * gdb.trace/entry-values.exp: Add casts.
2571
2572 2017-09-04 Pedro Alves <palves@redhat.com>
2573
2574 * gdb.base/nodebug.exp: Test that ptype's error about functions
2575 with unknown return type includes the function name too.
2576
2577 2017-09-04 Pedro Alves <palves@redhat.com>
2578
2579 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2580 return type of munmap in infcall.
2581 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2582 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2583 type of ftell in infcall.
2584 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2585 type of getpid in infcall.
2586 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2587 infcall.
2588 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2589 Bail on failure to extract the pid.
2590 * gdb.base/nodebug.c: #include <stdint.h>.
2591 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2592 New functions.
2593 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2594 Change expected output of print/whatis/ptype with functions with
2595 no debug info. Test all supported languages. Call
2596 test_call_promotion.
2597 * gdb.compile/compile.exp: Adjust expected output to expect
2598 warning.
2599 * gdb.threads/siginfo-threads.exp: Likewise.
2600
2601 2017-09-04 Pedro Alves <palves@redhat.com>
2602
2603 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2604 "prototypes". Test calling float functions via prototyped and
2605 unprototyped function pointers.
2606 (perform_all_tests): New parameter "prototypes". Pass it down.
2607 (top level): Pass down "prototypes" parameter to
2608 perform_all_tests.
2609
2610 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2611
2612 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2613 Test with nested loops.
2614
2615 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2616
2617 * gdb.base/commands.exp: Call the new procedures.
2618 (loop_break_test, loop_continue_test): New procedures.
2619
2620 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2621
2622 * gdb.base/commands.exp: Call new procedure.
2623 (define_if_without_arg_test): New procedure.
2624
2625 2017-09-04 Pedro Alves <palves@redhat.com>
2626
2627 * gdb.base/list-ambiguous.exp: New file.
2628 * gdb.base/list-ambiguous0.c: New file.
2629 * gdb.base/list-ambiguous1.c: New file.
2630 * gdb.base/list.exp (test_list_range): Adjust expected output.
2631
2632 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2633
2634 * gdb.base/share-env-with-gdbserver.c: New file.
2635 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2636
2637 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2638
2639 * gdb.base/commands.exp (gdbvar_simple_if_test,
2640 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2641 progvar_simple_if_test, progvar_simple_while_test,
2642 progvar_complex_if_while_test, user_defined_command_test,
2643 user_defined_command_args_eval,
2644 user_defined_command_args_stack_test,
2645 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2646 temporary_breakpoint_commands,
2647 gdb_test_no_prompt, redefine_hook_test,
2648 redefine_backtrace_test): Remove "global gdb_prompt".
2649
2650 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2651
2652 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2653 New proc, call it from toplevel.
2654
2655 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2656
2657 PR remote/21852
2658 * gdb.server/normal.c: New file, copied from gdb.base.
2659 * gdb.server/run-without-local-binary.exp: New file.
2660
2661 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
2662
2663 * gdb.arch/sparc64-adi.exp: New file.
2664 * gdb.arch/sparc64-adi.c: New file.
2665
2666 2017-08-22 Pedro Alves <palves@redhat.com>
2667
2668 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2669 (top level): Add "list all overloads" tests.
2670
2671 2017-08-22 Tom Tromey <tom@tromey.com>
2672
2673 * gdb.gdb/xfullpath.exp: Remove.
2674
2675 2017-08-21 Pedro Alves <palves@redhat.com>
2676
2677 PR gdb/19487
2678 * gdb.base/symbol-alias.c: New.
2679 * gdb.base/symbol-alias2.c: New.
2680 * gdb.base/symbol-alias.exp: New.
2681
2682 2017-08-21 Pedro Alves <palves@redhat.com>
2683
2684 * gdb.base/dfp-test.c
2685 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2686 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2687 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2688 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2689 * gdb.base/whatis-ptype-typedefs.c: New.
2690 * gdb.base/whatis-ptype-typedefs.exp: New.
2691 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2692 (an_int, an_int_type, an_int_type2): New globals.
2693 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2694 involving typedefs and cast expressions.
2695 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2696 (lookup_typedefs_function): New.
2697 (typedefs_pretty_printers_dict): New.
2698 (top level): Register lookup_typedefs_function in
2699 gdb.pretty_printers.
2700
2701 2017-08-18 Yao Qi <yao.qi@linaro.org>
2702
2703 * gdb.server/unittest.exp: New.
2704
2705 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2706
2707 PR gdb/21954
2708 * gdb.base/environ.exp: Add test to check if 'unset environment'
2709 works.
2710
2711 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2712
2713 * lib/gdb.exp (universal_compile_options): New caching proc.
2714 (gdb_compile): Suppress GCC's coloring of messages.
2715
2716 2017-08-14 Tom Tromey <tom@tromey.com>
2717
2718 PR gdb/21675:
2719 * gdb.base/printcmds.exp (test_radices): New function.
2720 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2721 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2722 * lib/gdb.exp (get_integer_valueof): Use p/d.
2723
2724 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2725
2726 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2727 characters.
2728
2729 2017-08-05 Tom Tromey <tom@tromey.com>
2730
2731 * gdb.rust/simple.exp: Allow String to appear in a different
2732 namespace.
2733
2734 2017-07-26 Yao Qi <yao.qi@linaro.org>
2735
2736 * gdb.gdb/unittest.exp: Invoke command
2737 "maintenance check xml-descriptions".
2738
2739 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2740
2741 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2742 calling context.
2743 (hex128): Drop erroneous calculation of parameters.
2744
2745 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2746
2747 * gdb.python/py-unwind.exp: Disable stack protection when
2748 building test file.
2749
2750 2017-07-20 Pedro Alves <palves@redhat.com>
2751
2752 * gdb.base/default.exp (set language): Adjust expected output.
2753
2754 2017-07-20 Pedro Alves <palves@redhat.com>
2755
2756 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2757 (test_minsym): ... this, and make static.
2758 (get_pck__foo__bar__minsym): Rename to ...
2759 (get_test_minsym): ... this.
2760 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2761 symbol names and comments.
2762 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2763 (get_test_minsym): ... this.
2764 (pck__foo__bar__minsym__2): Rename to ...
2765 (test_minsym): ... this.
2766 (main): Adjust.
2767
2768 2017-07-17 Pedro Alves <palves@redhat.com>
2769
2770 * gdb.base/completion.exp: Adjust expected output.
2771 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2772 the completer works.
2773
2774 2017-07-17 Pedro Alves <palves@redhat.com>
2775
2776 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2777
2778 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2779
2780 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2781
2782 2017-07-14 Tom Tromey <tom@tromey.com>
2783
2784 PR rust/21764:
2785 * gdb.rust/simple.exp: Add tests.
2786
2787 2017-07-14 Tom Tromey <tom@tromey.com>
2788
2789 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2790
2791 2017-07-14 Pedro Alves <palves@redhat.com>
2792
2793 * gdb.linespec/base/one/thefile.cc (z1): New function.
2794 * gdb.linespec/base/two/thefile.cc (z2): New function.
2795 * gdb.linespec/linespec.exp: Add tests.
2796
2797 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2798
2799 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2800 to mi_create_breakpoint.
2801
2802 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2803
2804 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2805 mi_create_breakpoint.
2806
2807 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2808
2809 * gdb.dlang/demangle.exp: Update for demangling changes.
2810
2811 2017-07-09 Tom Tromey <tom@tromey.com>
2812
2813 * gdb.dwarf2/shortpiece.exp: New file.
2814
2815 2017-07-06 David Blaikie <dblaikie@gmail.com>
2816
2817 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2818 built from fissiont-multi-cu{1,2}.c.
2819 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2820 except putting 'main' and 'func' in separate CUs in the same DWO file.
2821 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2822 test.
2823 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2824 test.
2825
2826 2017-07-06 Pedro Alves <palves@redhat.com>
2827
2828 * gdb.python/py-unwind.exp: Test flushregs.
2829
2830 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2831
2832 PR cli/21688
2833 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2834 tests for alias commands and trailing whitespace.
2835
2836 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2837
2838 PR cli/21688
2839 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2840 procedure. Call it.
2841
2842 2017-06-29 Pedro Alves <palves@redhat.com>
2843
2844 * gdb.base/printcmds.exp: Add tests.
2845
2846 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2847
2848 PR gdb/21337
2849 * gdb.base/reread-readsym.exp: New file.
2850 * gdb.base/reread-readsym.c: New file.
2851
2852 2017-06-21 Kevin Buettner <kevinb@redhat.com>
2853
2854 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
2855 subpattern.
2856
2857 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
2858
2859 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
2860 extended mnemonic.
2861 * gdb.arch/powerpc-power9.s: Likewise.
2862
2863 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2864
2865 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
2866 on 32-bit x86 targets. Exploit is_*_target macros where
2867 appropriate.
2868
2869 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2870
2871 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
2872 register pieces.
2873
2874 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2875
2876 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
2877 located in one or more DWARF pieces.
2878
2879 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2880
2881 * lib/gdb.exp (get_endianness): New proc.
2882 * gdb.arch/aarch64-fp.exp: Use it.
2883 * gdb.arch/altivec-regs.exp: Likewise.
2884 * gdb.arch/e500-regs.exp: Likewise.
2885 * gdb.arch/vsx-regs.exp: Likewise.
2886 * gdb.base/dump.exp: Likewise.
2887 * gdb.base/funcargs.exp: Likewise.
2888 * gdb.base/gnu_vector.exp: Likewise.
2889 * gdb.dwarf2/formdata16.exp: Likewise.
2890 * gdb.dwarf2/implptrpiece.exp: Likewise.
2891 * gdb.dwarf2/nonvar-access.exp: Likewise.
2892 * gdb.python/py-inferior.exp: Likewise.
2893 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2894
2895 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2896
2897 PR gdb/21226
2898 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
2899 stack value pieces are taken from the LSB end.
2900
2901 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2902
2903 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
2904 variable at nonzero offset.
2905
2906 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2907
2908 * gdb.dwarf2/var-access.c: New file.
2909 * gdb.dwarf2/var-access.exp: New test.
2910 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
2911
2912 2017-06-12 Tom Tromey <tom@tromey.com>
2913
2914 * gdb.dwarf2/formdata16.exp: Add tests.
2915
2916 2017-06-12 Tom Tromey <tom@tromey.com>
2917
2918 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
2919
2920 2017-06-12 Tom Tromey <tom@tromey.com>
2921
2922 PR exp/16225:
2923 * gdb.reverse/i386-sse-reverse.exp: Update tests.
2924 * gdb.arch/vsx-regs.exp: Update tests.
2925 * gdb.arch/s390-vregs.exp (hex128): New proc.
2926 Update test.
2927 * gdb.arch/altivec-regs.exp: Update tests.
2928
2929 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2930
2931 * gdb.base/startup-with-shell.c: New file.
2932 * gdb.base/startup-with-shell.exp: Likewise.
2933
2934 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2935
2936 * gdb.server/non-existing-program.exp: Update regex in order to
2937 reflect the fact that gdbserver is now using fork_inferior (with a
2938 shell) to startup the inferior.
2939
2940 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
2941
2942 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
2943 support function calls from GDB.
2944
2945 2017-05-21 Tom Tromey <tom@tromey.com>
2946
2947 PR rust/21466:
2948 * gdb.rust/unsized.exp: New file.
2949 * gdb.rust/unsized.rs: New file.
2950
2951 2017-05-19 Tom Tromey <tom@tromey.com>
2952
2953 PR rust/21484:
2954 * gdb.rust/watch.exp: New file.
2955 * gdb.rust/watch.rs: New file.
2956
2957 2017-05-18 Tom Tromey <tom@tromey.com>
2958
2959 * gdb.rust/simple.exp: Allow Box to be qualified.
2960
2961 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
2962
2963 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
2964
2965 2017-05-18 Pedro Alves <palves@redhat.com>
2966
2967 * gdb.base/fileio.c (test_write, test_read, test_close)
2968 (test_fstat): Don't print 'ret' in the fail path.
2969
2970 2017-05-18 Pedro Alves <palves@redhat.com>
2971
2972 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
2973 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
2974 (test_system, test_rename, test_unlink, test_time): Change
2975 prototypes.
2976 * gdb.base/fileio.exp (stop_msg): Adjust.
2977
2978 2017-05-18 Pedro Alves <palves@redhat.com>
2979
2980 * gdb.base/fileio.c (null_str): New global.
2981 (test_stat): Use it.
2982 * gdb.base/fileio.exp: Remove nowarnings.
2983
2984 2017-05-17 Yao Qi <yao.qi@linaro.org>
2985
2986 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
2987
2988 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
2989
2990 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
2991 argument command.
2992 (top-level): Invoke test_set_inferior_tty.
2993
2994 2017-05-04 Pedro Alves <palves@redhat.com>
2995
2996 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
2997 Add parens to print call for Python 3.
2998
2999 2017-05-03 Keith Seitz <keiths@redhat.com>
3000
3001 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3002 (main): Call it.
3003
3004 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3005
3006 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3007 to prev and next.
3008
3009 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3010
3011 * gdb.python/py-record-btrace.exp: Remove test for
3012 gdb.BtraceInstruction.error.
3013
3014 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3015
3016 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3017
3018 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3019
3020 * gdb.python/py-record-btrace-threads.c: New file.
3021 * gdb.python/py-record-btrace-threads.exp: New file.
3022
3023 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3024
3025 PR testsuite/8595
3026 * gdb.base/environ.exp: Make test available in all architectures.
3027 Move bits related to "info program" testing to
3028 gdb.base/info-program.exp. Rewrite tests to use the two new
3029 procedures mentione below.
3030 (test_set_show_env_var) New procedure.
3031 (test_set_show_env_var_equal): Likewise.
3032 * gdb.base/info-program.exp: New file.
3033
3034 2017-04-27 Keith Seitz <keiths@redhat.com>
3035
3036 * gdb.cp/oranking.cc (test15): New function.
3037 (main): Call test15 and declare additional variables for testing.
3038 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3039 "p foo101('abc')" tests.
3040 Add tests for cv qualifier overloads.
3041 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3042 "lvalue reference overload" test.
3043 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3044 "print value of f1 on Child&& in f2" test.
3045
3046 2017-04-19 Pedro Alves <palves@redhat.com>
3047
3048 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3049 procedure.
3050 (top level): Call it.
3051 * lib/gdb.exp (gdb_define_cmd): New procedure.
3052
3053 2017-04-12 Pedro Alves <palves@redhat.com>
3054
3055 PR gdb/21323
3056 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3057 (wchar): New global.
3058 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3059 (do_test_wide_char, wide_char_types_no_program, top level): Add
3060 wchar_t testing.
3061
3062 2017-04-12 Pedro Alves <palves@redhat.com>
3063
3064 PR c++/21323
3065 * gdb.cp/wide_char_types.c: New file.
3066 * gdb.cp/wide_char_types.exp: New file.
3067
3068 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3069
3070 PR gdb/21352
3071 * gdb.trace/tsv.exp: Add test for "tsave -r".
3072
3073 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3074
3075 * gdb.dlang/watch-loc.c: New file.
3076 * gdb.dlang/watch-loc.exp: New file.
3077
3078 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3079
3080 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3081
3082 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3083
3084 * gdb.arch/arc-analyze-prologue.S: New file.
3085 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3086
3087 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3088
3089 * gdb.arch/arc-decode-insn.S: New file.
3090 * gdb.arch/arc-decode-insn.exp: Likewise.
3091
3092 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3093
3094 PR tdep/20928
3095 * gdb.arch/sparc64-regs.exp: New file.
3096 * gdb.arch/sparc64-regs.S: Likewise.
3097
3098 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3099
3100 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3101 and memory view on Python 3.
3102
3103 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
3104 Keith Seitz <keiths@redhat.com>
3105
3106 PR gdb/14441
3107 * gdb.cp/demangle.exp: Add rvalue reference tests.
3108 * gdb.cp/rvalue-ref-casts.cc: New file.
3109 * gdb.cp/rvalue-ref-casts.exp: New file.
3110 * gdb.cp/rvalue-ref-overload.cc: New file.
3111 * gdb.cp/rvalue-ref-overload.exp: New file.
3112 * gdb.cp/rvalue-ref-params.cc: New file.
3113 * gdb.cp/rvalue-ref-params.exp: New file.
3114 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3115 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3116 * gdb.cp/rvalue-ref-types.cc: New file.
3117 * gdb.cp/rvalue-ref-types.exp: New file.
3118 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3119 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3120
3121 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3122
3123 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3124 New procedure.
3125
3126 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3127
3128 * lib/mi-support.exp (mi_gdb_test): Add additional message
3129 for unexpected output.
3130
3131 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3132
3133 * gdb.base/examine-backward.c (Barrier): New character array
3134 constant, to ensure that TestStrings is preceded by a string
3135 terminator.
3136
3137 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3138
3139 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3140 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3141 and implicit pointer into such a location.
3142
3143 2017-03-16 Doug Evans <dje@google.com>
3144
3145 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3146
3147 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3148
3149 * gdb.cp/m-static.exp: Fix expectation for prototype of
3150 test5.single_constructor and single_constructor::single_constructor.
3151
3152 2017-03-16 Doug Evans <dje@google.com>
3153
3154 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3155 * gdb.guile/scm-lazy-string.c: New file.
3156 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3157 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3158 for pointer, array, typedef lazy strings.
3159
3160 2017-03-16 Doug Evans <dje@google.com>
3161
3162 PR python/17728, python/18439, python/18779
3163 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3164 * gdb.python/py-lazy-string.c (pointer): New typedef.
3165 (main): New locals ptr, array, typedef_ptr.
3166 * gdb.python/py-value.exp: Move lazy string tests to ...
3167 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3168 array, typedef lazy strings.
3169
3170 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3171
3172 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3173 Add optional 'test' parameter.
3174
3175 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3176
3177 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3178 Skip for versions of DejaGnu < 1.5.
3179
3180 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3181
3182 * lib/gdb.exp (dejagnu_version): New proc.
3183 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3184 Use dejagnu_version.
3185
3186 2017-03-10 Keith Seitz <keiths@redhat.com>
3187
3188 PR c++/8128
3189 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3190 type from destructor regexps.
3191 Add a branch which actually passes the test.
3192 Adjust "ptype t5i" test names.
3193
3194 2017-03-08 Pedro Alves <palves@redhat.com>
3195
3196 * gdb.base/step-over-exit.exp: Add explicit test message.
3197
3198 2017-03-08 Pedro Alves <palves@redhat.com>
3199
3200 PR gdb/18360
3201 * gdb.threads/interrupt-while-step-over.c: New file.
3202 * gdb.threads/interrupt-while-step-over.exp: New file.
3203
3204 2017-03-08 Pedro Alves <palves@redhat.com>
3205
3206 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3207 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3208
3209 2017-03-08 Pedro Alves <palves@redhat.com>
3210
3211 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3212 PKRU as not supported as a PASS.
3213
3214 2017-03-08 Pedro Alves <palves@redhat.com>
3215
3216 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3217 prefix instead of $binfile1/$binfile2.
3218 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3219 in test message.
3220 * gdb.python/py-completion.exp: Use "load python file" as test
3221 messages instead of unstable path names.
3222
3223 2017-03-08 Pedro Alves <palves@redhat.com>
3224 Jan Kratochvil <jan.kratochvil@redhat.com>
3225
3226 PR cli/21218
3227 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3228 New proc.
3229 (top level): Call it.
3230
3231 2017-03-08 Pedro Alves <palves@redhat.com>
3232
3233 PR tui/21216
3234 * gdb.tui/tui-nl-filtered-output.exp: New file.
3235
3236 2017-03-08 Pedro Alves <palves@redhat.com>
3237
3238 * gdb.base/completion.exp: Move TUI completion tests to ...
3239 * gdb.tui/completion.exp: ... this new file.
3240
3241 2017-03-08 Pedro Alves <palves@redhat.com>
3242
3243 * gdb.base/tui-disasm-long-lines.c,
3244 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3245 gdb.base/tui-layout.exp: Move to ...
3246 * gdb.tui/: ... this new directory.
3247
3248 2017-03-07 Pedro Alves <palves@redhat.com>
3249
3250 * gdb.base/tui-layout.c: New file.
3251 * gdb.base/tui-layout.exp: New file.
3252
3253 2017-03-07 Pedro Alves <palves@redhat.com>
3254
3255 * gdb.base/tui-layout.c: Rename to ...
3256 * gdb.base/tui-disasm-long-lines.c: ... this.
3257 * gdb.base/tui-layout.exp: Rename to ...
3258 * gdb.base/tui-disasm-long-lines.exp: ... this.
3259
3260 2017-03-07 Pedro Alves <palves@redhat.com>
3261
3262 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3263
3264 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3265
3266 * i386-mpx-call.c: New file.
3267 * i386-mpx-call.exp: New file.
3268
3269 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3270
3271 * gdb.arch/powerpc-power.exp: Delete test.
3272 * gdb.arch/powerpc-power.s: Likewise.
3273 * gdb.disasm/disassembler-options.exp: New test.
3274 * gdb.arch/powerpc-altivec.exp: Likewise.
3275 * gdb.arch/powerpc-altivec.s: Likewise.
3276 * gdb.arch/powerpc-altivec2.exp: Likewise.
3277 * gdb.arch/powerpc-altivec2.s: Likewise.
3278 * gdb.arch/powerpc-altivec3.exp: Likewise.
3279 * gdb.arch/powerpc-altivec3.s: Likewise.
3280 * gdb.arch/powerpc-power7.exp: Likewise.
3281 * gdb.arch/powerpc-power7.s: Likewise.
3282 * gdb.arch/powerpc-power8.exp: Likewise.
3283 * gdb.arch/powerpc-power8.s: Likewise.
3284 * gdb.arch/powerpc-power9.exp: Likewise.
3285 * gdb.arch/powerpc-power9.s: Likewise.
3286 * gdb.arch/powerpc-vsx.exp: Likewise.
3287 * gdb.arch/powerpc-vsx.s: Likewise.
3288 * gdb.arch/powerpc-vsx2.exp: Likewise.
3289 * gdb.arch/powerpc-vsx2.s: Likewise.
3290 * gdb.arch/powerpc-vsx3.exp: Likewise.
3291 * gdb.arch/powerpc-vsx3.s: Likewise.
3292 * gdb.arch/arm-disassembler-options.exp: Likewise.
3293 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3294 * gdb.arch/s390-disassembler-options.exp: Likewise.
3295
3296 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
3297
3298 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3299 (check_supported_features): ... this. Changed return type to void.
3300 (supports_rdseed): New static global.
3301 (rdseed): Check supports_rdseed.
3302 (initialize): Call check_supported_features.
3303
3304 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3305
3306 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3307 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3308 and lqarx/stqcx.
3309 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3310 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3311
3312 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3313
3314 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3315 uppercase.
3316
3317 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3318
3319 * gdb.dwarf2/formdata16.c: New file.
3320 * gdb.dwarf2/formdata16.exp: New file.
3321 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3322
3323 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3324
3325 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3326 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3327 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3328 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3329 DW_AT_GNU_*.
3330
3331 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3332
3333 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3334
3335 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3336
3337 PR gdb/21164
3338 * gdb.base/maint.exp: Add testcases for when the commands do
3339 not have arguments.
3340
3341 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3342
3343 * gdb.cp/chained-calls.exp: Use p instead of P.
3344
3345 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3346
3347 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3348 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3349
3350 2017-02-14 Tom Tromey <tom@tromey.com>
3351
3352 PR python/13598:
3353 * gdb.python/py-events.exp: Add before_prompt event tests.
3354
3355 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3356
3357 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3358
3359 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3360
3361 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3362 (main): Call my_unique_function_name.
3363 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3364 completion of patterns with a single match.
3365 Add missing -re switches to gdb_test_multiple calls.
3366
3367 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3368
3369 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3370 return if core file is not recognized.
3371
3372 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3373
3374 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3375 and extra UIs.
3376
3377 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3378
3379 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3380 proc_with_prefix.
3381
3382 2017-02-10 Tom Tromey <tom@tromey.com>
3383
3384 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3385
3386 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
3387
3388 PR gdb/21122
3389 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3390
3391 2017-02-08 Jerome Guitton <guitton@adacore.com>
3392
3393 * gdb.base/define.exp: Add test for command abbreviations
3394 in define.
3395
3396 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
3397
3398 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3399 * gdb.reverse/insn-reverse-x86.c: New file.
3400
3401 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3402
3403 PR tdep/20936
3404 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3405
3406 2017-02-03 Tom Tromey <tom@tromey.com>
3407
3408 PR rust/21097:
3409 * gdb.rust/simple.exp: Add new tests.
3410
3411 2017-02-02 Pedro Alves <palves@redhat.com>
3412
3413 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3414 tests.
3415
3416 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3417
3418 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3419 taking a 2-byte value out of a 4-byte DWARF implicit value on
3420 big-endian targets.
3421 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3422 logic. Add test cases for DW_OP_implicit.
3423
3424 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3425
3426 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3427
3428 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3429
3430 * gdb.btrace/enable.exp: Call gdb_exit before
3431 skip_gdbserver_tests.
3432
3433 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3434
3435 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3436 GDBFLAGS.
3437
3438 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3439
3440 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3441 the test is skipped.
3442 * gdb.btrace/data.exp: Likewise.
3443 * gdb.btrace/delta.exp: Likewise.
3444 * gdb.btrace/dlopen.exp: Likewise.
3445 * gdb.btrace/enable-running.exp: Likewise.
3446 * gdb.btrace/enable.exp: Likewise.
3447 * gdb.btrace/exception.exp: Likewise.
3448 * gdb.btrace/function_call_history.exp: Likewise.
3449 * gdb.btrace/gcore.exp: Likewise.
3450 * gdb.btrace/instruction_history.exp: Likewise.
3451 * gdb.btrace/multi-thread-step.exp: Likewise.
3452 * gdb.btrace/nohist.exp: Likewise.
3453 * gdb.btrace/non-stop.exp: Likewise.
3454 * gdb.btrace/reconnect.exp: Likewise.
3455 * gdb.btrace/record_goto-step.exp: Likewise.
3456 * gdb.btrace/record_goto.exp: Likewise.
3457 * gdb.btrace/rn-dl-bind.exp: Likewise.
3458 * gdb.btrace/segv.exp: Likewise.
3459 * gdb.btrace/step.exp: Likewise.
3460 * gdb.btrace/stepi.exp: Likewise.
3461 * gdb.btrace/tailcall-only.exp: Likewise.
3462 * gdb.btrace/tailcall.exp: Likewise.
3463 * gdb.btrace/tsx.exp: Likewise.
3464 * gdb.btrace/unknown_functions.exp: Likewise.
3465 * gdb.btrace/vdso.exp: Likewise.
3466
3467 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3468
3469 * gdb.btrace/enable-running.c: New.
3470 * gdb.btrace/enable-running.exp: New.
3471
3472 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3473
3474 * gdb.arch/amd64-gs_base.c: New file.
3475 * gdb.arch/amd64-gs_base.exp: New file.
3476
3477 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3478
3479 * lib/memory.exp: Remove spurious empty newlines.
3480
3481 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3482
3483 * gdb.python/py-bad-printers.exp: Load python file using "source".
3484 * gdb.python/py-events.exp: Likewise.
3485 * gdb.python/py-evsignal.exp: Likewise.
3486 * gdb.python/py-evthreads.exp: Likewise.
3487 * gdb.python/py-frame-args.exp: Likewise.
3488 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3489 * gdb.python/py-framefilter-mi.exp: Likewise.
3490 * gdb.python/py-framefilter.exp: Likewise.
3491 * gdb.python/py-mi.exp: Likewise.
3492 * gdb.python/py-pp-maint.exp: Likewise.
3493 * gdb.python/py-pp-registration.exp: Likewise.
3494 * gdb.python/py-prettyprint.exp: Likewise.
3495 (run_lang_tests): Likewise.
3496 * gdb.python/py-typeprint.exp: Likewise.
3497
3498 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3499
3500 * lib/memory.exp: New file.
3501 * lib/gdb.exp: Load memory.exp.
3502 * gdb.base/memattr.exp (delete_memory): Move proc to
3503 lib/memory.exp and rename to delete_memory_regions.
3504 Replace delete_memory with delete_memory_regions.
3505 Cleanup memory regions before tests.
3506 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3507 before tests.
3508
3509 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3510
3511 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3512 files.
3513 (initialize): New function conditionally defined.
3514 (testcases): Move within conditional block.
3515 (main): Call initialize.
3516 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3517 of gdb.reverse/insn-reverse.c.
3518 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3519 gdb.reverse/insn-reverse.c.
3520
3521 2017-01-26 Yao Qi <yao.qi@linaro.org>
3522
3523 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3524 disassemble on address 0.
3525
3526 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
3527 Yao Qi <yao.qi@linaro.org>
3528
3529 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3530 * gdb.dwarf2/implptr-64bit.S: Remove.
3531 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
3532 variables in caller's context. Add DW_OP_implicit_value.
3533
3534 2017-01-25 Yao Qi <yao.qi@linaro.org>
3535
3536 * lib/dwarf.exp (Dwarf::_location): Handle
3537 DW_OP_GNU_implicit_pointer with proper size.
3538
3539 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3540
3541 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3542 and add untested calls.
3543
3544 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3545
3546 * gdb.python/python.exp: Check line number against what GDB thinks
3547 the line number is for func1.
3548
3549 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
3550
3551 * gdb.dlang/debug-expr.exp: New file.
3552
3553 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
3554
3555 Fix test names for the following files:
3556
3557 * gdb.ada/exec_changed.exp
3558 * gdb.ada/info_types.exp
3559 * gdb.arch/aarch64-atomic-inst.exp
3560 * gdb.arch/aarch64-fp.exp
3561 * gdb.arch/altivec-abi.exp
3562 * gdb.arch/altivec-regs.exp
3563 * gdb.arch/amd64-byte.exp
3564 * gdb.arch/amd64-disp-step.exp
3565 * gdb.arch/amd64-dword.exp
3566 * gdb.arch/amd64-entry-value-inline.exp
3567 * gdb.arch/amd64-entry-value-param.exp
3568 * gdb.arch/amd64-entry-value-paramref.exp
3569 * gdb.arch/amd64-entry-value.exp
3570 * gdb.arch/amd64-i386-address.exp
3571 * gdb.arch/amd64-invalid-stack-middle.exp
3572 * gdb.arch/amd64-invalid-stack-top.exp
3573 * gdb.arch/amd64-optimout-repeat.exp
3574 * gdb.arch/amd64-prologue-skip.exp
3575 * gdb.arch/amd64-prologue-xmm.exp
3576 * gdb.arch/amd64-stap-special-operands.exp
3577 * gdb.arch/amd64-stap-wrong-subexp.exp
3578 * gdb.arch/amd64-tailcall-cxx.exp
3579 * gdb.arch/amd64-tailcall-noret.exp
3580 * gdb.arch/amd64-tailcall-ret.exp
3581 * gdb.arch/amd64-tailcall-self.exp
3582 * gdb.arch/amd64-word.exp
3583 * gdb.arch/arm-bl-branch-dest.exp
3584 * gdb.arch/arm-disp-step.exp
3585 * gdb.arch/arm-neon.exp
3586 * gdb.arch/arm-single-step-kernel-helper.exp
3587 * gdb.arch/avr-flash-qualifier.exp
3588 * gdb.arch/disp-step-insn-reloc.exp
3589 * gdb.arch/e500-abi.exp
3590 * gdb.arch/e500-regs.exp
3591 * gdb.arch/ftrace-insn-reloc.exp
3592 * gdb.arch/i386-avx512.exp
3593 * gdb.arch/i386-bp_permanent.exp
3594 * gdb.arch/i386-byte.exp
3595 * gdb.arch/i386-cfi-notcurrent.exp
3596 * gdb.arch/i386-disp-step.exp
3597 * gdb.arch/i386-dr3-watch.exp
3598 * gdb.arch/i386-float.exp
3599 * gdb.arch/i386-gnu-cfi.exp
3600 * gdb.arch/i386-mpx-map.exp
3601 * gdb.arch/i386-mpx-sigsegv.exp
3602 * gdb.arch/i386-mpx-simple_segv.exp
3603 * gdb.arch/i386-mpx.exp
3604 * gdb.arch/i386-permbkpt.exp
3605 * gdb.arch/i386-prologue.exp
3606 * gdb.arch/i386-signal.exp
3607 * gdb.arch/i386-size-overlap.exp
3608 * gdb.arch/i386-unwind.exp
3609 * gdb.arch/i386-word.exp
3610 * gdb.arch/mips-fcr.exp
3611 * gdb.arch/powerpc-d128-regs.exp
3612 * gdb.arch/powerpc-stackless.exp
3613 * gdb.arch/ppc64-atomic-inst.exp
3614 * gdb.arch/s390-stackless.exp
3615 * gdb.arch/s390-tdbregs.exp
3616 * gdb.arch/s390-vregs.exp
3617 * gdb.arch/sparc-sysstep.exp
3618 * gdb.arch/thumb-bx-pc.exp
3619 * gdb.arch/thumb-singlestep.exp
3620 * gdb.arch/thumb2-it.exp
3621 * gdb.arch/vsx-regs.exp
3622 * gdb.asm/asm-source.exp
3623 * gdb.base/a2-run.exp
3624 * gdb.base/advance.exp
3625 * gdb.base/all-bin.exp
3626 * gdb.base/anon.exp
3627 * gdb.base/args.exp
3628 * gdb.base/arithmet.exp
3629 * gdb.base/async-shell.exp
3630 * gdb.base/async.exp
3631 * gdb.base/attach-pie-noexec.exp
3632 * gdb.base/attach-twice.exp
3633 * gdb.base/auto-load.exp
3634 * gdb.base/bang.exp
3635 * gdb.base/bitfields.exp
3636 * gdb.base/break-always.exp
3637 * gdb.base/break-caller-line.exp
3638 * gdb.base/break-entry.exp
3639 * gdb.base/break-inline.exp
3640 * gdb.base/break-on-linker-gcd-function.exp
3641 * gdb.base/break-probes.exp
3642 * gdb.base/break.exp
3643 * gdb.base/breakpoint-shadow.exp
3644 * gdb.base/call-ar-st.exp
3645 * gdb.base/call-sc.exp
3646 * gdb.base/call-signal-resume.exp
3647 * gdb.base/call-strs.exp
3648 * gdb.base/callfuncs.exp
3649 * gdb.base/catch-fork-static.exp
3650 * gdb.base/catch-gdb-caused-signals.exp
3651 * gdb.base/catch-load.exp
3652 * gdb.base/catch-signal-fork.exp
3653 * gdb.base/catch-signal.exp
3654 * gdb.base/catch-syscall.exp
3655 * gdb.base/charset.exp
3656 * gdb.base/checkpoint.exp
3657 * gdb.base/chng-syms.exp
3658 * gdb.base/code-expr.exp
3659 * gdb.base/code_elim.exp
3660 * gdb.base/commands.exp
3661 * gdb.base/completion.exp
3662 * gdb.base/complex.exp
3663 * gdb.base/cond-expr.exp
3664 * gdb.base/condbreak.exp
3665 * gdb.base/consecutive.exp
3666 * gdb.base/continue-all-already-running.exp
3667 * gdb.base/coredump-filter.exp
3668 * gdb.base/corefile.exp
3669 * gdb.base/dbx.exp
3670 * gdb.base/debug-expr.exp
3671 * gdb.base/define.exp
3672 * gdb.base/del.exp
3673 * gdb.base/disabled-location.exp
3674 * gdb.base/disasm-end-cu.exp
3675 * gdb.base/disasm-optim.exp
3676 * gdb.base/display.exp
3677 * gdb.base/duplicate-bp.exp
3678 * gdb.base/ena-dis-br.exp
3679 * gdb.base/ending-run.exp
3680 * gdb.base/enumval.exp
3681 * gdb.base/environ.exp
3682 * gdb.base/eu-strip-infcall.exp
3683 * gdb.base/eval-avoid-side-effects.exp
3684 * gdb.base/eval-skip.exp
3685 * gdb.base/exitsignal.exp
3686 * gdb.base/expand-psymtabs.exp
3687 * gdb.base/filesym.exp
3688 * gdb.base/find-unmapped.exp
3689 * gdb.base/finish.exp
3690 * gdb.base/float.exp
3691 * gdb.base/foll-exec-mode.exp
3692 * gdb.base/foll-exec.exp
3693 * gdb.base/foll-fork.exp
3694 * gdb.base/fortran-sym-case.exp
3695 * gdb.base/freebpcmd.exp
3696 * gdb.base/func-ptr.exp
3697 * gdb.base/func-ptrs.exp
3698 * gdb.base/funcargs.exp
3699 * gdb.base/gcore-buffer-overflow.exp
3700 * gdb.base/gcore-relro-pie.exp
3701 * gdb.base/gcore-relro.exp
3702 * gdb.base/gcore.exp
3703 * gdb.base/gdb1090.exp
3704 * gdb.base/gdb11530.exp
3705 * gdb.base/gdb11531.exp
3706 * gdb.base/gdb1821.exp
3707 * gdb.base/gdbindex-stabs.exp
3708 * gdb.base/gdbvars.exp
3709 * gdb.base/hbreak.exp
3710 * gdb.base/hbreak2.exp
3711 * gdb.base/included.exp
3712 * gdb.base/infcall-input.exp
3713 * gdb.base/inferior-died.exp
3714 * gdb.base/infnan.exp
3715 * gdb.base/info-macros.exp
3716 * gdb.base/info-os.exp
3717 * gdb.base/info-proc.exp
3718 * gdb.base/info-shared.exp
3719 * gdb.base/info-target.exp
3720 * gdb.base/infoline.exp
3721 * gdb.base/interp.exp
3722 * gdb.base/interrupt.exp
3723 * gdb.base/jit-reader.exp
3724 * gdb.base/jit-simple.exp
3725 * gdb.base/kill-after-signal.exp
3726 * gdb.base/kill-detach-inferiors-cmd.exp
3727 * gdb.base/label.exp
3728 * gdb.base/langs.exp
3729 * gdb.base/ldbl_e308.exp
3730 * gdb.base/line-symtabs.exp
3731 * gdb.base/linespecs.exp
3732 * gdb.base/list.exp
3733 * gdb.base/long_long.exp
3734 * gdb.base/longest-types.exp
3735 * gdb.base/maint.exp
3736 * gdb.base/max-value-size.exp
3737 * gdb.base/memattr.exp
3738 * gdb.base/mips_pro.exp
3739 * gdb.base/morestack.exp
3740 * gdb.base/moribund-step.exp
3741 * gdb.base/multi-forks.exp
3742 * gdb.base/nested-addr.exp
3743 * gdb.base/nextoverexit.exp
3744 * gdb.base/noreturn-finish.exp
3745 * gdb.base/noreturn-return.exp
3746 * gdb.base/nostdlib.exp
3747 * gdb.base/offsets.exp
3748 * gdb.base/opaque.exp
3749 * gdb.base/pc-fp.exp
3750 * gdb.base/permissions.exp
3751 * gdb.base/print-symbol-loading.exp
3752 * gdb.base/prologue-include.exp
3753 * gdb.base/psymtab.exp
3754 * gdb.base/ptype.exp
3755 * gdb.base/random-signal.exp
3756 * gdb.base/randomize.exp
3757 * gdb.base/range-stepping.exp
3758 * gdb.base/readline-ask.exp
3759 * gdb.base/recpar.exp
3760 * gdb.base/recurse.exp
3761 * gdb.base/relational.exp
3762 * gdb.base/restore.exp
3763 * gdb.base/return-nodebug.exp
3764 * gdb.base/return.exp
3765 * gdb.base/run-after-attach.exp
3766 * gdb.base/save-bp.exp
3767 * gdb.base/scope.exp
3768 * gdb.base/sect-cmd.exp
3769 * gdb.base/set-lang-auto.exp
3770 * gdb.base/set-noassign.exp
3771 * gdb.base/setvar.exp
3772 * gdb.base/sigall.exp
3773 * gdb.base/sigbpt.exp
3774 * gdb.base/siginfo-addr.exp
3775 * gdb.base/siginfo-infcall.exp
3776 * gdb.base/siginfo-obj.exp
3777 * gdb.base/siginfo.exp
3778 * gdb.base/signals-state-child.exp
3779 * gdb.base/signest.exp
3780 * gdb.base/sigstep.exp
3781 * gdb.base/sizeof.exp
3782 * gdb.base/skip.exp
3783 * gdb.base/solib-corrupted.exp
3784 * gdb.base/solib-nodir.exp
3785 * gdb.base/solib-search.exp
3786 * gdb.base/stack-checking.exp
3787 * gdb.base/stale-infcall.exp
3788 * gdb.base/stap-probe.exp
3789 * gdb.base/start.exp
3790 * gdb.base/step-break.exp
3791 * gdb.base/step-bt.exp
3792 * gdb.base/step-line.exp
3793 * gdb.base/step-over-exit.exp
3794 * gdb.base/step-over-syscall.exp
3795 * gdb.base/step-resume-infcall.exp
3796 * gdb.base/step-test.exp
3797 * gdb.base/store.exp
3798 * gdb.base/structs3.exp
3799 * gdb.base/sym-file.exp
3800 * gdb.base/symbol-without-target_section.exp
3801 * gdb.base/term.exp
3802 * gdb.base/testenv.exp
3803 * gdb.base/ui-redirect.exp
3804 * gdb.base/until.exp
3805 * gdb.base/unwindonsignal.exp
3806 * gdb.base/value-double-free.exp
3807 * gdb.base/vla-datatypes.exp
3808 * gdb.base/vla-ptr.exp
3809 * gdb.base/vla-sideeffect.exp
3810 * gdb.base/volatile.exp
3811 * gdb.base/watch-cond-infcall.exp
3812 * gdb.base/watch-cond.exp
3813 * gdb.base/watch-non-mem.exp
3814 * gdb.base/watch-read.exp
3815 * gdb.base/watch-vfork.exp
3816 * gdb.base/watchpoint-cond-gone.exp
3817 * gdb.base/watchpoint-delete.exp
3818 * gdb.base/watchpoint-hw-hit-once.exp
3819 * gdb.base/watchpoint-hw.exp
3820 * gdb.base/watchpoint-stops-at-right-insn.exp
3821 * gdb.base/watchpoints.exp
3822 * gdb.base/wchar.exp
3823 * gdb.base/whatis-exp.exp
3824 * gdb.btrace/buffer-size.exp
3825 * gdb.btrace/data.exp
3826 * gdb.btrace/delta.exp
3827 * gdb.btrace/dlopen.exp
3828 * gdb.btrace/enable.exp
3829 * gdb.btrace/exception.exp
3830 * gdb.btrace/function_call_history.exp
3831 * gdb.btrace/gcore.exp
3832 * gdb.btrace/instruction_history.exp
3833 * gdb.btrace/nohist.exp
3834 * gdb.btrace/reconnect.exp
3835 * gdb.btrace/record_goto-step.exp
3836 * gdb.btrace/record_goto.exp
3837 * gdb.btrace/rn-dl-bind.exp
3838 * gdb.btrace/segv.exp
3839 * gdb.btrace/step.exp
3840 * gdb.btrace/stepi.exp
3841 * gdb.btrace/tailcall-only.exp
3842 * gdb.btrace/tailcall.exp
3843 * gdb.btrace/tsx.exp
3844 * gdb.btrace/unknown_functions.exp
3845 * gdb.btrace/vdso.exp
3846 * gdb.compile/compile-ifunc.exp
3847 * gdb.compile/compile-ops.exp
3848 * gdb.compile/compile-print.exp
3849 * gdb.compile/compile-setjmp.exp
3850 * gdb.cp/abstract-origin.exp
3851 * gdb.cp/ambiguous.exp
3852 * gdb.cp/annota2.exp
3853 * gdb.cp/annota3.exp
3854 * gdb.cp/anon-ns.exp
3855 * gdb.cp/anon-struct.exp
3856 * gdb.cp/anon-union.exp
3857 * gdb.cp/arg-reference.exp
3858 * gdb.cp/baseenum.exp
3859 * gdb.cp/bool.exp
3860 * gdb.cp/breakpoint.exp
3861 * gdb.cp/bs15503.exp
3862 * gdb.cp/call-c.exp
3863 * gdb.cp/casts.exp
3864 * gdb.cp/chained-calls.exp
3865 * gdb.cp/class2.exp
3866 * gdb.cp/classes.exp
3867 * gdb.cp/cmpd-minsyms.exp
3868 * gdb.cp/converts.exp
3869 * gdb.cp/cp-relocate.exp
3870 * gdb.cp/cpcompletion.exp
3871 * gdb.cp/cpexprs.exp
3872 * gdb.cp/cplabel.exp
3873 * gdb.cp/cplusfuncs.exp
3874 * gdb.cp/cpsizeof.exp
3875 * gdb.cp/ctti.exp
3876 * gdb.cp/derivation.exp
3877 * gdb.cp/destrprint.exp
3878 * gdb.cp/dispcxx.exp
3879 * gdb.cp/enum-class.exp
3880 * gdb.cp/exception.exp
3881 * gdb.cp/exceptprint.exp
3882 * gdb.cp/expand-psymtabs-cxx.exp
3883 * gdb.cp/expand-sals.exp
3884 * gdb.cp/extern-c.exp
3885 * gdb.cp/filename.exp
3886 * gdb.cp/formatted-ref.exp
3887 * gdb.cp/fpointer.exp
3888 * gdb.cp/gdb1355.exp
3889 * gdb.cp/gdb2495.exp
3890 * gdb.cp/hang.exp
3891 * gdb.cp/impl-this.exp
3892 * gdb.cp/infcall-dlopen.exp
3893 * gdb.cp/inherit.exp
3894 * gdb.cp/iostream.exp
3895 * gdb.cp/koenig.exp
3896 * gdb.cp/local.exp
3897 * gdb.cp/m-data.exp
3898 * gdb.cp/m-static.exp
3899 * gdb.cp/mb-ctor.exp
3900 * gdb.cp/mb-inline.exp
3901 * gdb.cp/mb-templates.exp
3902 * gdb.cp/member-name.exp
3903 * gdb.cp/member-ptr.exp
3904 * gdb.cp/meth-typedefs.exp
3905 * gdb.cp/method.exp
3906 * gdb.cp/method2.exp
3907 * gdb.cp/minsym-fallback.exp
3908 * gdb.cp/misc.exp
3909 * gdb.cp/namelessclass.exp
3910 * gdb.cp/namespace-enum.exp
3911 * gdb.cp/namespace-nested-import.exp
3912 * gdb.cp/namespace.exp
3913 * gdb.cp/nextoverthrow.exp
3914 * gdb.cp/no-dmgl-verbose.exp
3915 * gdb.cp/non-trivial-retval.exp
3916 * gdb.cp/noparam.exp
3917 * gdb.cp/nsdecl.exp
3918 * gdb.cp/nsimport.exp
3919 * gdb.cp/nsnested.exp
3920 * gdb.cp/nsnoimports.exp
3921 * gdb.cp/nsrecurs.exp
3922 * gdb.cp/nsstress.exp
3923 * gdb.cp/nsusing.exp
3924 * gdb.cp/operator.exp
3925 * gdb.cp/oranking.exp
3926 * gdb.cp/overload-const.exp
3927 * gdb.cp/overload.exp
3928 * gdb.cp/ovldbreak.exp
3929 * gdb.cp/ovsrch.exp
3930 * gdb.cp/paren-type.exp
3931 * gdb.cp/parse-lang.exp
3932 * gdb.cp/pass-by-ref.exp
3933 * gdb.cp/pr-1023.exp
3934 * gdb.cp/pr-1210.exp
3935 * gdb.cp/pr-574.exp
3936 * gdb.cp/pr10687.exp
3937 * gdb.cp/pr12028.exp
3938 * gdb.cp/pr17132.exp
3939 * gdb.cp/pr17494.exp
3940 * gdb.cp/pr9067.exp
3941 * gdb.cp/pr9167.exp
3942 * gdb.cp/pr9631.exp
3943 * gdb.cp/printmethod.exp
3944 * gdb.cp/psmang.exp
3945 * gdb.cp/psymtab-parameter.exp
3946 * gdb.cp/ptype-cv-cp.exp
3947 * gdb.cp/ptype-flags.exp
3948 * gdb.cp/re-set-overloaded.exp
3949 * gdb.cp/ref-types.exp
3950 * gdb.cp/rtti.exp
3951 * gdb.cp/scope-err.exp
3952 * gdb.cp/shadow.exp
3953 * gdb.cp/smartp.exp
3954 * gdb.cp/static-method.exp
3955 * gdb.cp/static-print-quit.exp
3956 * gdb.cp/temargs.exp
3957 * gdb.cp/templates.exp
3958 * gdb.cp/try_catch.exp
3959 * gdb.cp/typedef-operator.exp
3960 * gdb.cp/typeid.exp
3961 * gdb.cp/userdef.exp
3962 * gdb.cp/using-crash.exp
3963 * gdb.cp/var-tag.exp
3964 * gdb.cp/virtbase.exp
3965 * gdb.cp/virtfunc.exp
3966 * gdb.cp/virtfunc2.exp
3967 * gdb.cp/vla-cxx.exp
3968 * gdb.disasm/t01_mov.exp
3969 * gdb.disasm/t02_mova.exp
3970 * gdb.disasm/t03_add.exp
3971 * gdb.disasm/t04_sub.exp
3972 * gdb.disasm/t05_cmp.exp
3973 * gdb.disasm/t06_ari2.exp
3974 * gdb.disasm/t07_ari3.exp
3975 * gdb.disasm/t08_or.exp
3976 * gdb.disasm/t09_xor.exp
3977 * gdb.disasm/t10_and.exp
3978 * gdb.disasm/t11_logs.exp
3979 * gdb.disasm/t12_bit.exp
3980 * gdb.disasm/t13_otr.exp
3981 * gdb.dlang/circular.exp
3982 * gdb.dwarf2/arr-stride.exp
3983 * gdb.dwarf2/arr-subrange.exp
3984 * gdb.dwarf2/atomic-type.exp
3985 * gdb.dwarf2/bad-regnum.exp
3986 * gdb.dwarf2/bitfield-parent-optimized-out.exp
3987 * gdb.dwarf2/callframecfa.exp
3988 * gdb.dwarf2/clztest.exp
3989 * gdb.dwarf2/corrupt.exp
3990 * gdb.dwarf2/data-loc.exp
3991 * gdb.dwarf2/dup-psym.exp
3992 * gdb.dwarf2/dw2-anon-mptr.exp
3993 * gdb.dwarf2/dw2-anonymous-func.exp
3994 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
3995 * gdb.dwarf2/dw2-bad-unresolved.exp
3996 * gdb.dwarf2/dw2-basic.exp
3997 * gdb.dwarf2/dw2-canonicalize-type.exp
3998 * gdb.dwarf2/dw2-case-insensitive.exp
3999 * gdb.dwarf2/dw2-common-block.exp
4000 * gdb.dwarf2/dw2-compdir-oldgcc.exp
4001 * gdb.dwarf2/dw2-compressed.exp
4002 * gdb.dwarf2/dw2-const.exp
4003 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4004 * gdb.dwarf2/dw2-cu-size.exp
4005 * gdb.dwarf2/dw2-dup-frame.exp
4006 * gdb.dwarf2/dw2-entry-value.exp
4007 * gdb.dwarf2/dw2-icycle.exp
4008 * gdb.dwarf2/dw2-ifort-parameter.exp
4009 * gdb.dwarf2/dw2-inline-break.exp
4010 * gdb.dwarf2/dw2-inline-param.exp
4011 * gdb.dwarf2/dw2-intercu.exp
4012 * gdb.dwarf2/dw2-intermix.exp
4013 * gdb.dwarf2/dw2-lexical-block-bare.exp
4014 * gdb.dwarf2/dw2-linkage-name-trust.exp
4015 * gdb.dwarf2/dw2-minsym-in-cu.exp
4016 * gdb.dwarf2/dw2-noloc.exp
4017 * gdb.dwarf2/dw2-op-call.exp
4018 * gdb.dwarf2/dw2-op-out-param.exp
4019 * gdb.dwarf2/dw2-opt-structptr.exp
4020 * gdb.dwarf2/dw2-param-error.exp
4021 * gdb.dwarf2/dw2-producer.exp
4022 * gdb.dwarf2/dw2-ranges-base.exp
4023 * gdb.dwarf2/dw2-ref-missing-frame.exp
4024 * gdb.dwarf2/dw2-reg-undefined.exp
4025 * gdb.dwarf2/dw2-regno-invalid.exp
4026 * gdb.dwarf2/dw2-restore.exp
4027 * gdb.dwarf2/dw2-restrict.exp
4028 * gdb.dwarf2/dw2-single-line-discriminators.exp
4029 * gdb.dwarf2/dw2-strp.exp
4030 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4031 * gdb.dwarf2/dw2-unresolved.exp
4032 * gdb.dwarf2/dw2-var-zero-addr.exp
4033 * gdb.dwarf2/dw4-sig-types.exp
4034 * gdb.dwarf2/dwz.exp
4035 * gdb.dwarf2/dynarr-ptr.exp
4036 * gdb.dwarf2/enum-type.exp
4037 * gdb.dwarf2/gdb-index.exp
4038 * gdb.dwarf2/implptr-64bit.exp
4039 * gdb.dwarf2/implptr-optimized-out.exp
4040 * gdb.dwarf2/implptr.exp
4041 * gdb.dwarf2/implref-array.exp
4042 * gdb.dwarf2/implref-const.exp
4043 * gdb.dwarf2/implref-global.exp
4044 * gdb.dwarf2/implref-struct.exp
4045 * gdb.dwarf2/mac-fileno.exp
4046 * gdb.dwarf2/main-subprogram.exp
4047 * gdb.dwarf2/member-ptr-forwardref.exp
4048 * gdb.dwarf2/method-ptr.exp
4049 * gdb.dwarf2/missing-sig-type.exp
4050 * gdb.dwarf2/nonvar-access.exp
4051 * gdb.dwarf2/opaque-type-lookup.exp
4052 * gdb.dwarf2/pieces-optimized-out.exp
4053 * gdb.dwarf2/pieces.exp
4054 * gdb.dwarf2/pr10770.exp
4055 * gdb.dwarf2/pr13961.exp
4056 * gdb.dwarf2/staticvirtual.exp
4057 * gdb.dwarf2/subrange.exp
4058 * gdb.dwarf2/symtab-producer.exp
4059 * gdb.dwarf2/trace-crash.exp
4060 * gdb.dwarf2/typeddwarf.exp
4061 * gdb.dwarf2/valop.exp
4062 * gdb.dwarf2/watch-notconst.exp
4063 * gdb.fortran/array-element.exp
4064 * gdb.fortran/charset.exp
4065 * gdb.fortran/common-block.exp
4066 * gdb.fortran/complex.exp
4067 * gdb.fortran/derived-type-function.exp
4068 * gdb.fortran/derived-type.exp
4069 * gdb.fortran/logical.exp
4070 * gdb.fortran/module.exp
4071 * gdb.fortran/multi-dim.exp
4072 * gdb.fortran/nested-funcs.exp
4073 * gdb.fortran/print-formatted.exp
4074 * gdb.fortran/subarray.exp
4075 * gdb.fortran/vla-alloc-assoc.exp
4076 * gdb.fortran/vla-datatypes.exp
4077 * gdb.fortran/vla-history.exp
4078 * gdb.fortran/vla-ptr-info.exp
4079 * gdb.fortran/vla-ptype-sub.exp
4080 * gdb.fortran/vla-ptype.exp
4081 * gdb.fortran/vla-sizeof.exp
4082 * gdb.fortran/vla-type.exp
4083 * gdb.fortran/vla-value-sub-arbitrary.exp
4084 * gdb.fortran/vla-value-sub-finish.exp
4085 * gdb.fortran/vla-value-sub.exp
4086 * gdb.fortran/vla-value.exp
4087 * gdb.fortran/whatis_type.exp
4088 * gdb.go/chan.exp
4089 * gdb.go/handcall.exp
4090 * gdb.go/hello.exp
4091 * gdb.go/integers.exp
4092 * gdb.go/methods.exp
4093 * gdb.go/package.exp
4094 * gdb.go/strings.exp
4095 * gdb.go/types.exp
4096 * gdb.go/unsafe.exp
4097 * gdb.guile/scm-arch.exp
4098 * gdb.guile/scm-block.exp
4099 * gdb.guile/scm-breakpoint.exp
4100 * gdb.guile/scm-cmd.exp
4101 * gdb.guile/scm-disasm.exp
4102 * gdb.guile/scm-equal.exp
4103 * gdb.guile/scm-frame-args.exp
4104 * gdb.guile/scm-frame-inline.exp
4105 * gdb.guile/scm-frame.exp
4106 * gdb.guile/scm-iterator.exp
4107 * gdb.guile/scm-math.exp
4108 * gdb.guile/scm-objfile.exp
4109 * gdb.guile/scm-ports.exp
4110 * gdb.guile/scm-symbol.exp
4111 * gdb.guile/scm-symtab.exp
4112 * gdb.guile/scm-value-cc.exp
4113 * gdb.guile/types-module.exp
4114 * gdb.linespec/break-ask.exp
4115 * gdb.linespec/cpexplicit.exp
4116 * gdb.linespec/explicit.exp
4117 * gdb.linespec/keywords.exp
4118 * gdb.linespec/linespec.exp
4119 * gdb.linespec/ls-dollar.exp
4120 * gdb.linespec/ls-errs.exp
4121 * gdb.linespec/skip-two.exp
4122 * gdb.linespec/thread.exp
4123 * gdb.mi/mi-async.exp
4124 * gdb.mi/mi-basics.exp
4125 * gdb.mi/mi-break.exp
4126 * gdb.mi/mi-catch-load.exp
4127 * gdb.mi/mi-cli.exp
4128 * gdb.mi/mi-cmd-param-changed.exp
4129 * gdb.mi/mi-console.exp
4130 * gdb.mi/mi-detach.exp
4131 * gdb.mi/mi-disassemble.exp
4132 * gdb.mi/mi-eval.exp
4133 * gdb.mi/mi-file-transfer.exp
4134 * gdb.mi/mi-file.exp
4135 * gdb.mi/mi-fill-memory.exp
4136 * gdb.mi/mi-inheritance-syntax-error.exp
4137 * gdb.mi/mi-linespec-err-cp.exp
4138 * gdb.mi/mi-logging.exp
4139 * gdb.mi/mi-memory-changed.exp
4140 * gdb.mi/mi-read-memory.exp
4141 * gdb.mi/mi-record-changed.exp
4142 * gdb.mi/mi-reg-undefined.exp
4143 * gdb.mi/mi-regs.exp
4144 * gdb.mi/mi-return.exp
4145 * gdb.mi/mi-reverse.exp
4146 * gdb.mi/mi-simplerun.exp
4147 * gdb.mi/mi-solib.exp
4148 * gdb.mi/mi-stack.exp
4149 * gdb.mi/mi-stepi.exp
4150 * gdb.mi/mi-syn-frame.exp
4151 * gdb.mi/mi-until.exp
4152 * gdb.mi/mi-var-block.exp
4153 * gdb.mi/mi-var-child.exp
4154 * gdb.mi/mi-var-cmd.exp
4155 * gdb.mi/mi-var-cp.exp
4156 * gdb.mi/mi-var-display.exp
4157 * gdb.mi/mi-var-invalidate.exp
4158 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4159 * gdb.mi/mi-vla-fortran.exp
4160 * gdb.mi/mi-watch.exp
4161 * gdb.mi/mi2-var-child.exp
4162 * gdb.mi/user-selected-context-sync.exp
4163 * gdb.modula2/unbounded-array.exp
4164 * gdb.multi/dummy-frame-restore.exp
4165 * gdb.multi/multi-arch-exec.exp
4166 * gdb.multi/multi-arch.exp
4167 * gdb.multi/tids.exp
4168 * gdb.multi/watchpoint-multi.exp
4169 * gdb.opencl/callfuncs.exp
4170 * gdb.opencl/convs_casts.exp
4171 * gdb.opencl/datatypes.exp
4172 * gdb.opencl/operators.exp
4173 * gdb.opencl/vec_comps.exp
4174 * gdb.opt/clobbered-registers-O2.exp
4175 * gdb.opt/inline-break.exp
4176 * gdb.opt/inline-bt.exp
4177 * gdb.opt/inline-cmds.exp
4178 * gdb.opt/inline-locals.exp
4179 * gdb.pascal/case-insensitive-symbols.exp
4180 * gdb.pascal/floats.exp
4181 * gdb.pascal/gdb11492.exp
4182 * gdb.python/lib-types.exp
4183 * gdb.python/py-arch.exp
4184 * gdb.python/py-as-string.exp
4185 * gdb.python/py-bad-printers.exp
4186 * gdb.python/py-block.exp
4187 * gdb.python/py-breakpoint-create-fail.exp
4188 * gdb.python/py-breakpoint.exp
4189 * gdb.python/py-caller-is.exp
4190 * gdb.python/py-cmd.exp
4191 * gdb.python/py-explore-cc.exp
4192 * gdb.python/py-explore.exp
4193 * gdb.python/py-finish-breakpoint.exp
4194 * gdb.python/py-finish-breakpoint2.exp
4195 * gdb.python/py-frame-args.exp
4196 * gdb.python/py-frame-inline.exp
4197 * gdb.python/py-frame.exp
4198 * gdb.python/py-framefilter-mi.exp
4199 * gdb.python/py-infthread.exp
4200 * gdb.python/py-lazy-string.exp
4201 * gdb.python/py-linetable.exp
4202 * gdb.python/py-mi-events.exp
4203 * gdb.python/py-mi-objfile.exp
4204 * gdb.python/py-mi.exp
4205 * gdb.python/py-objfile.exp
4206 * gdb.python/py-pp-integral.exp
4207 * gdb.python/py-pp-maint.exp
4208 * gdb.python/py-pp-re-notag.exp
4209 * gdb.python/py-pp-registration.exp
4210 * gdb.python/py-recurse-unwind.exp
4211 * gdb.python/py-strfns.exp
4212 * gdb.python/py-symbol.exp
4213 * gdb.python/py-symtab.exp
4214 * gdb.python/py-sync-interp.exp
4215 * gdb.python/py-typeprint.exp
4216 * gdb.python/py-unwind-maint.exp
4217 * gdb.python/py-unwind.exp
4218 * gdb.python/py-value-cc.exp
4219 * gdb.python/py-xmethods.exp
4220 * gdb.reverse/amd64-tailcall-reverse.exp
4221 * gdb.reverse/break-precsave.exp
4222 * gdb.reverse/break-reverse.exp
4223 * gdb.reverse/consecutive-precsave.exp
4224 * gdb.reverse/consecutive-reverse.exp
4225 * gdb.reverse/finish-precsave.exp
4226 * gdb.reverse/finish-reverse-bkpt.exp
4227 * gdb.reverse/finish-reverse.exp
4228 * gdb.reverse/fstatat-reverse.exp
4229 * gdb.reverse/getresuid-reverse.exp
4230 * gdb.reverse/i386-precsave.exp
4231 * gdb.reverse/i386-reverse.exp
4232 * gdb.reverse/i386-sse-reverse.exp
4233 * gdb.reverse/i387-env-reverse.exp
4234 * gdb.reverse/i387-stack-reverse.exp
4235 * gdb.reverse/insn-reverse.exp
4236 * gdb.reverse/machinestate-precsave.exp
4237 * gdb.reverse/machinestate.exp
4238 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4239 * gdb.reverse/pipe-reverse.exp
4240 * gdb.reverse/readv-reverse.exp
4241 * gdb.reverse/recvmsg-reverse.exp
4242 * gdb.reverse/rerun-prec.exp
4243 * gdb.reverse/s390-mvcle.exp
4244 * gdb.reverse/step-precsave.exp
4245 * gdb.reverse/step-reverse.exp
4246 * gdb.reverse/time-reverse.exp
4247 * gdb.reverse/until-precsave.exp
4248 * gdb.reverse/until-reverse.exp
4249 * gdb.reverse/waitpid-reverse.exp
4250 * gdb.reverse/watch-precsave.exp
4251 * gdb.reverse/watch-reverse.exp
4252 * gdb.rust/generics.exp
4253 * gdb.rust/methods.exp
4254 * gdb.rust/modules.exp
4255 * gdb.rust/simple.exp
4256 * gdb.server/connect-with-no-symbol-file.exp
4257 * gdb.server/ext-attach.exp
4258 * gdb.server/ext-restart.exp
4259 * gdb.server/ext-wrapper.exp
4260 * gdb.server/file-transfer.exp
4261 * gdb.server/server-exec-info.exp
4262 * gdb.server/server-kill.exp
4263 * gdb.server/server-mon.exp
4264 * gdb.server/wrapper.exp
4265 * gdb.stabs/exclfwd.exp
4266 * gdb.stabs/gdb11479.exp
4267 * gdb.threads/clone-new-thread-event.exp
4268 * gdb.threads/corethreads.exp
4269 * gdb.threads/current-lwp-dead.exp
4270 * gdb.threads/dlopen-libpthread.exp
4271 * gdb.threads/gcore-thread.exp
4272 * gdb.threads/sigstep-threads.exp
4273 * gdb.threads/watchpoint-fork.exp
4274 * gdb.trace/actions-changed.exp
4275 * gdb.trace/backtrace.exp
4276 * gdb.trace/change-loc.exp
4277 * gdb.trace/circ.exp
4278 * gdb.trace/collection.exp
4279 * gdb.trace/disconnected-tracing.exp
4280 * gdb.trace/ftrace.exp
4281 * gdb.trace/mi-trace-frame-collected.exp
4282 * gdb.trace/mi-trace-unavailable.exp
4283 * gdb.trace/mi-traceframe-changed.exp
4284 * gdb.trace/mi-tsv-changed.exp
4285 * gdb.trace/no-attach-trace.exp
4286 * gdb.trace/passc-dyn.exp
4287 * gdb.trace/qtro.exp
4288 * gdb.trace/range-stepping.exp
4289 * gdb.trace/read-memory.exp
4290 * gdb.trace/save-trace.exp
4291 * gdb.trace/signal.exp
4292 * gdb.trace/status-stop.exp
4293 * gdb.trace/tfile.exp
4294 * gdb.trace/trace-break.exp
4295 * gdb.trace/trace-buffer-size.exp
4296 * gdb.trace/trace-condition.exp
4297 * gdb.trace/tracefile-pseudo-reg.exp
4298 * gdb.trace/tstatus.exp
4299 * gdb.trace/unavailable.exp
4300 * gdb.trace/while-dyn.exp
4301 * gdb.trace/while-stepping.exp
4302
4303 2016-12-22 Doug Evans <xdje42@gmail.com>
4304
4305 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4306 and msymbols.
4307
4308 2016-12-19 Yao Qi <yao.qi@linaro.org>
4309
4310 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4311 (test_with_self): Don't call do_steps_and_nexts, and remove
4312 code about stepping into xmalloc.
4313
4314 2016-12-09 Yao Qi <yao.qi@linaro.org>
4315
4316 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4317
4318 2016-12-09 Yao Qi <yao.qi@linaro.org>
4319
4320 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4321
4322 2016-12-09 Pedro Alves <palves@redhat.com>
4323
4324 * gdb.base/all-architectures-0.exp: New file.
4325 * gdb.base/all-architectures-1.exp: New file.
4326 * gdb.base/all-architectures-2.exp: New file.
4327 * gdb.base/all-architectures-3.exp: New file.
4328 * gdb.base/all-architectures-4.exp: New file.
4329 * gdb.base/all-architectures-5.exp: New file.
4330 * gdb.base/all-architectures-6.exp: New file.
4331 * gdb.base/all-architectures-7.exp: New file.
4332 * gdb.base/all-architectures.exp.in: New file.
4333
4334 2016-12-09 Yao Qi <yao.qi@linaro.org>
4335
4336 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4337
4338 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4339
4340 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4341 possible.
4342 Remove useless pattern-matching code.
4343
4344 2016-12-02 Pedro Alves <palves@redhat.com>
4345
4346 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4347 procedure.
4348 (top level): Call it.
4349
4350 2016-12-02 Pedro Alves <palves@redhat.com>
4351
4352 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4353 New procedure.
4354 (top level): Call it.
4355
4356 2016-12-02 Pedro Alves <palves@redhat.com>
4357
4358 PR cli/20559
4359 * gdb.base/commands.exp (user_defined_command_args_eval): New
4360 procedure.
4361 (top level): Call it.
4362
4363 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4364
4365 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4366 timeout handling.
4367
4368 2016-12-02 Tom Tromey <tom@tromey.com>
4369
4370 * gdb.dwarf2/main-subprogram.c: New file.
4371 * gdb.dwarf2/main-subprogram.exp: New file.
4372
4373 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4374
4375 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4376 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4377 gdb_test_no_output for a couple of cases.
4378 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4379
4380 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4381
4382 Fix test names and standardize compilation error messages throughout
4383 the following files:
4384
4385 * gdb.ada/start.exp
4386 * gdb.arch/alpha-step.exp
4387 * gdb.arch/e500-prologue.exp
4388 * gdb.arch/ftrace-insn-reloc.exp
4389 * gdb.arch/gdb1291.exp
4390 * gdb.arch/gdb1431.exp
4391 * gdb.arch/gdb1558.exp
4392 * gdb.arch/i386-dr3-watch.exp
4393 * gdb.arch/i386-sse-stack-align.exp
4394 * gdb.arch/ia64-breakpoint-shadow.exp
4395 * gdb.arch/pa-nullify.exp
4396 * gdb.arch/powerpc-aix-prologue.exp
4397 * gdb.arch/thumb-bx-pc.exp
4398 * gdb.base/annota1.exp
4399 * gdb.base/annota3.exp
4400 * gdb.base/arrayidx.exp
4401 * gdb.base/assign.exp
4402 * gdb.base/attach.exp
4403 * gdb.base/auxv.exp
4404 * gdb.base/bang.exp
4405 * gdb.base/bfp-test.exp
4406 * gdb.base/bigcore.exp
4407 * gdb.base/bitfields2.exp
4408 * gdb.base/break-fun-addr.exp
4409 * gdb.base/break-probes.exp
4410 * gdb.base/call-rt-st.exp
4411 * gdb.base/callexit.exp
4412 * gdb.base/catch-fork-kill.exp
4413 * gdb.base/charset.exp
4414 * gdb.base/checkpoint.exp
4415 * gdb.base/comprdebug.exp
4416 * gdb.base/constvars.exp
4417 * gdb.base/coredump-filter.exp
4418 * gdb.base/cursal.exp
4419 * gdb.base/cvexpr.exp
4420 * gdb.base/detach.exp
4421 * gdb.base/display.exp
4422 * gdb.base/dmsym.exp
4423 * gdb.base/dprintf-pending.exp
4424 * gdb.base/dso2dso.exp
4425 * gdb.base/dtrace-probe.exp
4426 * gdb.base/dump.exp
4427 * gdb.base/enum_cond.exp
4428 * gdb.base/exe-lock.exp
4429 * gdb.base/exec-invalid-sysroot.exp
4430 * gdb.base/execl-update-breakpoints.exp
4431 * gdb.base/exprs.exp
4432 * gdb.base/fileio.exp
4433 * gdb.base/find.exp
4434 * gdb.base/finish.exp
4435 * gdb.base/fixsection.exp
4436 * gdb.base/foll-vfork.exp
4437 * gdb.base/frame-args.exp
4438 * gdb.base/gcore.exp
4439 * gdb.base/gdb1250.exp
4440 * gdb.base/global-var-nested-by-dso.exp
4441 * gdb.base/gnu-ifunc.exp
4442 * gdb.base/hashline1.exp
4443 * gdb.base/hashline2.exp
4444 * gdb.base/hashline3.exp
4445 * gdb.base/hbreak-in-shr-unsupported.exp
4446 * gdb.base/huge.exp
4447 * gdb.base/infcall-input.exp
4448 * gdb.base/info-fun.exp
4449 * gdb.base/info-shared.exp
4450 * gdb.base/jit-simple.exp
4451 * gdb.base/jit-so.exp
4452 * gdb.base/jit.exp
4453 * gdb.base/jump.exp
4454 * gdb.base/label.exp
4455 * gdb.base/lineinc.exp
4456 * gdb.base/logical.exp
4457 * gdb.base/longjmp.exp
4458 * gdb.base/macscp.exp
4459 * gdb.base/miscexprs.exp
4460 * gdb.base/new-ui-echo.exp
4461 * gdb.base/new-ui-pending-input.exp
4462 * gdb.base/new-ui.exp
4463 * gdb.base/nodebug.exp
4464 * gdb.base/nofield.exp
4465 * gdb.base/offsets.exp
4466 * gdb.base/overlays.exp
4467 * gdb.base/pending.exp
4468 * gdb.base/pointers.exp
4469 * gdb.base/pr11022.exp
4470 * gdb.base/printcmds.exp
4471 * gdb.base/prologue.exp
4472 * gdb.base/ptr-typedef.exp
4473 * gdb.base/realname-expand.exp
4474 * gdb.base/relativedebug.exp
4475 * gdb.base/relocate.exp
4476 * gdb.base/remote.exp
4477 * gdb.base/reread.exp
4478 * gdb.base/return2.exp
4479 * gdb.base/savedregs.exp
4480 * gdb.base/sep.exp
4481 * gdb.base/sepdebug.exp
4482 * gdb.base/sepsymtab.exp
4483 * gdb.base/set-inferior-tty.exp
4484 * gdb.base/setshow.exp
4485 * gdb.base/shlib-call.exp
4486 * gdb.base/sigaltstack.exp
4487 * gdb.base/siginfo-addr.exp
4488 * gdb.base/signals.exp
4489 * gdb.base/signull.exp
4490 * gdb.base/sigrepeat.exp
4491 * gdb.base/so-impl-ld.exp
4492 * gdb.base/solib-display.exp
4493 * gdb.base/solib-overlap.exp
4494 * gdb.base/solib-search.exp
4495 * gdb.base/solib-symbol.exp
4496 * gdb.base/structs.exp
4497 * gdb.base/structs2.exp
4498 * gdb.base/symtab-search-order.exp
4499 * gdb.base/twice.exp
4500 * gdb.base/unload.exp
4501 * gdb.base/varargs.exp
4502 * gdb.base/watchpoint-solib.exp
4503 * gdb.base/watchpoint.exp
4504 * gdb.base/whatis.exp
4505 * gdb.base/wrong_frame_bt_full.exp
4506 * gdb.btrace/dlopen.exp
4507 * gdb.cell/ea-standalone.exp
4508 * gdb.cell/ea-test.exp
4509 * gdb.cp/dispcxx.exp
4510 * gdb.cp/gdb2384.exp
4511 * gdb.cp/method2.exp
4512 * gdb.cp/nextoverthrow.exp
4513 * gdb.cp/pr10728.exp
4514 * gdb.disasm/am33.exp
4515 * gdb.disasm/h8300s.exp
4516 * gdb.disasm/mn10300.exp
4517 * gdb.disasm/sh3.exp
4518 * gdb.dwarf2/dw2-dir-file-name.exp
4519 * gdb.fortran/complex.exp
4520 * gdb.fortran/library-module.exp
4521 * gdb.guile/scm-pretty-print.exp
4522 * gdb.guile/scm-symbol.exp
4523 * gdb.guile/scm-type.exp
4524 * gdb.guile/scm-value.exp
4525 * gdb.linespec/linespec.exp
4526 * gdb.mi/gdb701.exp
4527 * gdb.mi/gdb792.exp
4528 * gdb.mi/mi-breakpoint-changed.exp
4529 * gdb.mi/mi-dprintf-pending.exp
4530 * gdb.mi/mi-dprintf.exp
4531 * gdb.mi/mi-exit-code.exp
4532 * gdb.mi/mi-pending.exp
4533 * gdb.mi/mi-solib.exp
4534 * gdb.mi/new-ui-mi-sync.exp
4535 * gdb.mi/pr11022.exp
4536 * gdb.mi/user-selected-context-sync.exp
4537 * gdb.opt/solib-intra-step.exp
4538 * gdb.python/py-events.exp
4539 * gdb.python/py-finish-breakpoint.exp
4540 * gdb.python/py-mi.exp
4541 * gdb.python/py-prettyprint.exp
4542 * gdb.python/py-shared.exp
4543 * gdb.python/py-symbol.exp
4544 * gdb.python/py-template.exp
4545 * gdb.python/py-type.exp
4546 * gdb.python/py-value.exp
4547 * gdb.reverse/solib-precsave.exp
4548 * gdb.reverse/solib-reverse.exp
4549 * gdb.server/solib-list.exp
4550 * gdb.stabs/weird.exp
4551 * gdb.threads/reconnect-signal.exp
4552 * gdb.threads/stepi-random-signal.exp
4553 * gdb.trace/actions.exp
4554 * gdb.trace/ax.exp
4555 * gdb.trace/backtrace.exp
4556 * gdb.trace/change-loc.exp
4557 * gdb.trace/deltrace.exp
4558 * gdb.trace/ftrace-lock.exp
4559 * gdb.trace/ftrace.exp
4560 * gdb.trace/infotrace.exp
4561 * gdb.trace/mi-tracepoint-changed.exp
4562 * gdb.trace/packetlen.exp
4563 * gdb.trace/passcount.exp
4564 * gdb.trace/pending.exp
4565 * gdb.trace/range-stepping.exp
4566 * gdb.trace/report.exp
4567 * gdb.trace/stap-trace.exp
4568 * gdb.trace/tfind.exp
4569 * gdb.trace/trace-break.exp
4570 * gdb.trace/trace-condition.exp
4571 * gdb.trace/trace-enable-disable.exp
4572 * gdb.trace/trace-mt.exp
4573 * gdb.trace/tracecmd.exp
4574 * gdb.trace/tspeed.exp
4575 * gdb.trace/tsv.exp
4576 * lib/perftest.exp
4577
4578 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4579
4580 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4581 with gdb_test_no_output.
4582 Use command as test name.
4583
4584 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4585
4586 Fix test names starting with uppercase throughout the files.
4587
4588 * gdb.ada/assign_1.exp
4589 * gdb.ada/boolean_expr.exp
4590 * gdb.base/arrayidx.exp
4591 * gdb.base/del.exp
4592 * gdb.base/gcore-buffer-overflow.exp
4593 * gdb.base/testenv.exp
4594 * gdb.compile/compile.exp
4595 * gdb.python/py-framefilter-invalidarg.exp
4596 * gdb.python/py-framefilter.exp
4597
4598 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4599
4600 Fix test names starting with uppercase throughout the files.
4601
4602 * gdb.ada/array_return.exp
4603 * gdb.ada/expr_delims.exp
4604 * gdb.ada/mi_dyn_arr.exp
4605 * gdb.ada/mi_interface.exp
4606 * gdb.ada/mi_var_array.exp
4607 * gdb.ada/watch_arg.exp
4608 * gdb.arch/alpha-step.exp
4609 * gdb.arch/altivec-regs.exp
4610 * gdb.arch/e500-regs.exp
4611 * gdb.arch/powerpc-d128-regs.exp
4612 * gdb.base/arrayidx.exp
4613 * gdb.base/break.exp
4614 * gdb.base/checkpoint.exp
4615 * gdb.base/debug-expr.exp
4616 * gdb.base/dmsym.exp
4617 * gdb.base/radix.exp
4618 * gdb.base/sepdebug.exp
4619 * gdb.base/testenv.exp
4620 * gdb.base/watch_thread_num.exp
4621 * gdb.base/watchpoint-cond-gone.exp
4622 * gdb.cell/break.exp
4623 * gdb.cell/ea-cache.exp
4624 * gdb.compile/compile.exp
4625 * gdb.cp/gdb2495.exp
4626 * gdb.gdb/selftest.exp
4627 * gdb.gdb/xfullpath.exp
4628 * gdb.go/hello.exp
4629 * gdb.go/integers.exp
4630 * gdb.objc/basicclass.exp
4631 * gdb.pascal/hello.exp
4632 * gdb.pascal/integers.exp
4633 * gdb.python/py-breakpoint.exp
4634 * gdb.python/py-cmd.exp
4635 * gdb.python/py-linetable.exp
4636 * gdb.python/py-xmethods.exp
4637 * gdb.python/python.exp
4638 * gdb.reverse/consecutive-precsave.exp
4639 * gdb.reverse/finish-precsave.exp
4640 * gdb.reverse/i386-precsave.exp
4641 * gdb.reverse/machinestate-precsave.exp
4642 * gdb.reverse/sigall-precsave.exp
4643 * gdb.reverse/solib-precsave.exp
4644 * gdb.reverse/step-precsave.exp
4645 * gdb.reverse/until-precsave.exp
4646 * gdb.reverse/watch-precsave.exp
4647 * gdb.threads/leader-exit.exp
4648 * gdb.threads/pthreads.exp
4649 * gdb.threads/wp-replication.exp
4650 * gdb.trace/actions.exp
4651 * gdb.trace/mi-tsv-changed.exp
4652 * gdb.trace/tsv.exp
4653
4654 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4655
4656 Fix test names starting with uppercase throughout the files.
4657
4658 * gdb.arch/i386-bp_permanent.exp
4659 * gdb.arch/i386-gnu-cfi.exp
4660 * gdb.base/disasm-end-cu.exp
4661 * gdb.base/macscp.exp
4662 * gdb.base/pending.exp
4663 * gdb.base/watch_thread_num.exp
4664 * gdb.cp/exception.exp
4665 * gdb.cp/gdb2495.exp
4666 * gdb.cp/local.exp
4667 * gdb.python/py-evsignal.exp
4668 * gdb.python/python.exp
4669 * gdb.trace/tracecmd.exp
4670
4671 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4672
4673 Fix test names starting with uppercase throughout the files.
4674
4675 * gdb.base/charset.exp
4676 * gdb.base/eval.exp
4677 * gdb.base/multi-forks.exp
4678 * gdb.guile/scm-progspace.exp
4679 * gdb.opencl/datatypes.exp
4680 * gdb.python/py-block.exp
4681 * gdb.python/py-function.exp
4682 * gdb.python/py-symbol.exp
4683 * gdb.python/py-symtab.exp
4684 * gdb.python/py-xmethods.exp
4685 * gdb.reverse/break-precsave.exp
4686 * gdb.reverse/break-reverse.exp
4687 * gdb.reverse/consecutive-precsave.exp
4688 * gdb.reverse/consecutive-reverse.exp
4689 * gdb.reverse/finish-precsave.exp
4690 * gdb.reverse/finish-reverse-bkpt.exp
4691 * gdb.reverse/finish-reverse.exp
4692 * gdb.reverse/fstatat-reverse.exp
4693 * gdb.reverse/getresuid-reverse.exp
4694 * gdb.reverse/i386-precsave.exp
4695 * gdb.reverse/i386-reverse.exp
4696 * gdb.reverse/i386-sse-reverse.exp
4697 * gdb.reverse/i387-stack-reverse.exp
4698 * gdb.reverse/insn-reverse.exp
4699 * gdb.reverse/machinestate-precsave.exp
4700 * gdb.reverse/machinestate.exp
4701 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4702 * gdb.reverse/pipe-reverse.exp
4703 * gdb.reverse/readv-reverse.exp
4704 * gdb.reverse/recvmsg-reverse.exp
4705 * gdb.reverse/rerun-prec.exp
4706 * gdb.reverse/s390-mvcle.exp
4707 * gdb.reverse/sigall-precsave.exp
4708 * gdb.reverse/sigall-reverse.exp
4709 * gdb.reverse/solib-precsave.exp
4710 * gdb.reverse/solib-reverse.exp
4711 * gdb.reverse/step-precsave.exp
4712 * gdb.reverse/step-reverse.exp
4713 * gdb.reverse/time-reverse.exp
4714 * gdb.reverse/until-precsave.exp
4715 * gdb.reverse/until-reverse.exp
4716 * gdb.reverse/waitpid-reverse.exp
4717 * gdb.reverse/watch-precsave.exp
4718 * gdb.reverse/watch-reverse.exp
4719
4720 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4721
4722 Fix test names starting with uppercase throughout the files.
4723
4724 * gdb.arch/i386-mpx-simple_segv.exp
4725 * gdb.arch/i386-mpx.exp
4726 * gdb.arch/i386-permbkpt.exp
4727 * gdb.arch/pa-nullify.exp
4728 * gdb.arch/powerpc-d128-regs.exp
4729 * gdb.arch/vsx-regs.exp
4730 * gdb.base/bfp-test.exp
4731 * gdb.base/break.exp
4732 * gdb.base/breakpoint-shadow.exp
4733 * gdb.base/callfuncs.exp
4734 * gdb.base/charset.exp
4735 * gdb.base/commands.exp
4736 * gdb.base/completion.exp
4737 * gdb.base/dfp-test.exp
4738 * gdb.base/echo.exp
4739 * gdb.base/ending-run.exp
4740 * gdb.base/eval.exp
4741 * gdb.base/expand-psymtabs.exp
4742 * gdb.base/float128.exp
4743 * gdb.base/floatn.exp
4744 * gdb.base/foll-exec-mode.exp
4745 * gdb.base/gdb1056.exp
4746 * gdb.base/gdb11531.exp
4747 * gdb.base/kill-after-signal.exp
4748 * gdb.base/multi-forks.exp
4749 * gdb.base/overlays.exp
4750 * gdb.base/pending.exp
4751 * gdb.base/sepdebug.exp
4752 * gdb.base/testenv.exp
4753 * gdb.base/valgrind-db-attach.exp
4754 * gdb.base/watch_thread_num.exp
4755 * gdb.base/watchpoint-cond-gone.exp
4756 * gdb.base/watchpoint.exp
4757 * gdb.base/watchpoints.exp
4758 * gdb.cp/arg-reference.exp
4759 * gdb.cp/baseenum.exp
4760 * gdb.cp/operator.exp
4761 * gdb.cp/shadow.exp
4762 * gdb.dwarf2/dw2-op-out-param.exp
4763 * gdb.dwarf2/dw2-reg-undefined.exp
4764 * gdb.go/chan.exp
4765 * gdb.go/hello.exp
4766 * gdb.go/integers.exp
4767 * gdb.go/methods.exp
4768 * gdb.go/package.exp
4769 * gdb.guile/scm-parameter.exp
4770 * gdb.guile/scm-progspace.exp
4771 * gdb.guile/scm-value.exp
4772 * gdb.mi/mi-pending.exp
4773 * gdb.mi/user-selected-context-sync.exp
4774 * gdb.multi/multi-attach.exp
4775 * gdb.multi/tids.exp
4776 * gdb.opt/clobbered-registers-O2.exp
4777 * gdb.pascal/floats.exp
4778 * gdb.pascal/integers.exp
4779 * gdb.python/py-block.exp
4780 * gdb.python/py-events.exp
4781 * gdb.python/py-parameter.exp
4782 * gdb.python/py-symbol.exp
4783 * gdb.python/py-symtab.exp
4784 * gdb.python/py-type.exp
4785 * gdb.python/py-value.exp
4786 * gdb.python/py-xmethods.exp
4787 * gdb.python/python.exp
4788 * gdb.reverse/break-precsave.exp
4789 * gdb.reverse/consecutive-precsave.exp
4790 * gdb.reverse/finish-precsave.exp
4791 * gdb.reverse/i386-precsave.exp
4792 * gdb.reverse/machinestate-precsave.exp
4793 * gdb.reverse/sigall-precsave.exp
4794 * gdb.reverse/solib-precsave.exp
4795 * gdb.reverse/step-precsave.exp
4796 * gdb.reverse/until-precsave.exp
4797 * gdb.reverse/watch-precsave.exp
4798 * gdb.server/ext-attach.exp
4799 * gdb.server/ext-restart.exp
4800 * gdb.server/ext-run.exp
4801 * gdb.server/ext-wrapper.exp
4802 * gdb.stabs/gdb11479.exp
4803 * gdb.stabs/weird.exp
4804 * gdb.threads/attach-many-short-lived-threads.exp
4805 * gdb.threads/kill.exp
4806 * gdb.threads/watchpoint-fork.exp
4807
4808 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4809
4810 Fix test names starting with uppercase throughout all the files below.
4811
4812 * gdb.ada/array_return.exp
4813 * gdb.ada/catch_ex.exp
4814 * gdb.ada/info_exc.exp
4815 * gdb.ada/mi_catch_ex.exp
4816 * gdb.ada/mi_dyn_arr.exp
4817 * gdb.ada/mi_ex_cond.exp
4818 * gdb.ada/mi_exc_info.exp
4819 * gdb.ada/mi_interface.exp
4820 * gdb.ada/mi_task_arg.exp
4821 * gdb.ada/mi_task_info.exp
4822 * gdb.ada/mi_var_array.exp
4823 * gdb.arch/alpha-step.exp
4824 * gdb.arch/amd64-disp-step.exp
4825 * gdb.arch/arm-disp-step.exp
4826 * gdb.arch/disp-step-insn-reloc.exp
4827 * gdb.arch/e500-prologue.exp
4828 * gdb.arch/ftrace-insn-reloc.exp
4829 * gdb.arch/gdb1558.exp
4830 * gdb.arch/i386-bp_permanent.exp
4831 * gdb.arch/i386-disp-step.exp
4832 * gdb.arch/i386-float.exp
4833 * gdb.arch/i386-gnu-cfi.exp
4834 * gdb.arch/ia64-breakpoint-shadow.exp
4835 * gdb.arch/mips16-thunks.exp
4836 * gdb.arch/pa-nullify.exp
4837 * gdb.arch/powerpc-aix-prologue.exp
4838 * gdb.arch/powerpc-power.exp
4839 * gdb.arch/ppc-dfp.exp
4840 * gdb.arch/s390-tdbregs.exp
4841 * gdb.arch/spu-info.exp
4842 * gdb.arch/spu-ls.exp
4843 * gdb.arch/thumb-bx-pc.exp
4844 * gdb.base/advance.exp
4845 * gdb.base/annota-input-while-running.exp
4846 * gdb.base/arrayidx.exp
4847 * gdb.base/asmlabel.exp
4848 * gdb.base/async.exp
4849 * gdb.base/attach-wait-input.exp
4850 * gdb.base/auto-connect-native-target.exp
4851 * gdb.base/batch-preserve-term-settings.exp
4852 * gdb.base/bfp-test.exp
4853 * gdb.base/bigcore.exp
4854 * gdb.base/bp-permanent.exp
4855 * gdb.base/break-always.exp
4856 * gdb.base/break-fun-addr.exp
4857 * gdb.base/break-idempotent.exp
4858 * gdb.base/break-main-file-remove-fail.exp
4859 * gdb.base/break-probes.exp
4860 * gdb.base/break-unload-file.exp
4861 * gdb.base/break.exp
4862 * gdb.base/call-ar-st.exp
4863 * gdb.base/call-rt-st.exp
4864 * gdb.base/call-sc.exp
4865 * gdb.base/call-signal-resume.exp
4866 * gdb.base/call-strs.exp
4867 * gdb.base/callexit.exp
4868 * gdb.base/callfuncs.exp
4869 * gdb.base/catch-gdb-caused-signals.exp
4870 * gdb.base/catch-signal-siginfo-cond.exp
4871 * gdb.base/catch-syscall.exp
4872 * gdb.base/compare-sections.exp
4873 * gdb.base/cond-eval-mode.exp
4874 * gdb.base/condbreak-call-false.exp
4875 * gdb.base/consecutive-step-over.exp
4876 * gdb.base/cursal.exp
4877 * gdb.base/disabled-location.exp
4878 * gdb.base/disasm-end-cu.exp
4879 * gdb.base/display.exp
4880 * gdb.base/double-prompt-target-event-error.exp
4881 * gdb.base/dprintf-bp-same-addr.exp
4882 * gdb.base/dprintf-detach.exp
4883 * gdb.base/dprintf-next.exp
4884 * gdb.base/dprintf-non-stop.exp
4885 * gdb.base/dprintf-pending.exp
4886 * gdb.base/dso2dso.exp
4887 * gdb.base/ending-run.exp
4888 * gdb.base/enum_cond.exp
4889 * gdb.base/examine-backward.exp
4890 * gdb.base/exe-lock.exp
4891 * gdb.base/exec-invalid-sysroot.exp
4892 * gdb.base/execl-update-breakpoints.exp
4893 * gdb.base/execution-termios.exp
4894 * gdb.base/fileio.exp
4895 * gdb.base/fixsection.exp
4896 * gdb.base/foll-exec-mode.exp
4897 * gdb.base/foll-exec.exp
4898 * gdb.base/fork-running-state.exp
4899 * gdb.base/frame-args.exp
4900 * gdb.base/fullpath-expand.exp
4901 * gdb.base/func-ptr.exp
4902 * gdb.base/gcore-relro-pie.exp
4903 * gdb.base/gdb1090.exp
4904 * gdb.base/gdb1555.exp
4905 * gdb.base/global-var-nested-by-dso.exp
4906 * gdb.base/gnu-ifunc.exp
4907 * gdb.base/hbreak-in-shr-unsupported.exp
4908 * gdb.base/hbreak-unmapped.exp
4909 * gdb.base/hook-stop.exp
4910 * gdb.base/infcall-input.exp
4911 * gdb.base/info-fun.exp
4912 * gdb.base/info-shared.exp
4913 * gdb.base/interrupt-noterm.exp
4914 * gdb.base/jit-so.exp
4915 * gdb.base/jit.exp
4916 * gdb.base/line-symtabs.exp
4917 * gdb.base/list.exp
4918 * gdb.base/longjmp.exp
4919 * gdb.base/macscp.exp
4920 * gdb.base/max-value-size.exp
4921 * gdb.base/nodebug.exp
4922 * gdb.base/nofield.exp
4923 * gdb.base/overlays.exp
4924 * gdb.base/paginate-after-ctrl-c-running.exp
4925 * gdb.base/paginate-bg-execution.exp
4926 * gdb.base/paginate-inferior-exit.exp
4927 * gdb.base/pending.exp
4928 * gdb.base/pr11022.exp
4929 * gdb.base/printcmds.exp
4930 * gdb.base/ptr-typedef.exp
4931 * gdb.base/ptype.exp
4932 * gdb.base/randomize.exp
4933 * gdb.base/range-stepping.exp
4934 * gdb.base/realname-expand.exp
4935 * gdb.base/relativedebug.exp
4936 * gdb.base/remote.exp
4937 * gdb.base/savedregs.exp
4938 * gdb.base/sepdebug.exp
4939 * gdb.base/set-noassign.exp
4940 * gdb.base/shlib-call.exp
4941 * gdb.base/shreloc.exp
4942 * gdb.base/sigaltstack.exp
4943 * gdb.base/sigbpt.exp
4944 * gdb.base/siginfo-addr.exp
4945 * gdb.base/siginfo-obj.exp
4946 * gdb.base/siginfo-thread.exp
4947 * gdb.base/signest.exp
4948 * gdb.base/signull.exp
4949 * gdb.base/sigrepeat.exp
4950 * gdb.base/skip.exp
4951 * gdb.base/so-impl-ld.exp
4952 * gdb.base/solib-corrupted.exp
4953 * gdb.base/solib-disc.exp
4954 * gdb.base/solib-display.exp
4955 * gdb.base/solib-overlap.exp
4956 * gdb.base/solib-search.exp
4957 * gdb.base/solib-symbol.exp
4958 * gdb.base/source-execution.exp
4959 * gdb.base/sss-bp-on-user-bp-2.exp
4960 * gdb.base/sss-bp-on-user-bp.exp
4961 * gdb.base/stack-checking.exp
4962 * gdb.base/stale-infcall.exp
4963 * gdb.base/step-break.exp
4964 * gdb.base/step-line.exp
4965 * gdb.base/step-over-exit.exp
4966 * gdb.base/step-test.exp
4967 * gdb.base/structs.exp
4968 * gdb.base/sym-file.exp
4969 * gdb.base/symtab-search-order.exp
4970 * gdb.base/term.exp
4971 * gdb.base/type-opaque.exp
4972 * gdb.base/unload.exp
4973 * gdb.base/until-nodebug.exp
4974 * gdb.base/until.exp
4975 * gdb.base/unwindonsignal.exp
4976 * gdb.base/watch-cond.exp
4977 * gdb.base/watch-non-mem.exp
4978 * gdb.base/watch_thread_num.exp
4979 * gdb.base/watchpoint-reuse-slot.exp
4980 * gdb.base/watchpoint-solib.exp
4981 * gdb.base/watchpoint.exp
4982 * gdb.btrace/dlopen.exp
4983 * gdb.cell/arch.exp
4984 * gdb.cell/break.exp
4985 * gdb.cell/bt.exp
4986 * gdb.cell/core.exp
4987 * gdb.cell/data.exp
4988 * gdb.cell/dwarfaddr.exp
4989 * gdb.cell/ea-cache.exp
4990 * gdb.cell/ea-standalone.exp
4991 * gdb.cell/ea-test.exp
4992 * gdb.cell/f-regs.exp
4993 * gdb.cell/fork.exp
4994 * gdb.cell/gcore.exp
4995 * gdb.cell/mem-access.exp
4996 * gdb.cell/ptype.exp
4997 * gdb.cell/registers.exp
4998 * gdb.cell/sizeof.exp
4999 * gdb.cell/solib-symbol.exp
5000 * gdb.cell/solib.exp
5001 * gdb.compile/compile-tls.exp
5002 * gdb.cp/exception.exp
5003 * gdb.cp/gdb2495.exp
5004 * gdb.cp/local.exp
5005 * gdb.cp/mb-inline.exp
5006 * gdb.cp/mb-templates.exp
5007 * gdb.cp/pr10687.exp
5008 * gdb.cp/pr9167.exp
5009 * gdb.cp/scope-err.exp
5010 * gdb.cp/templates.exp
5011 * gdb.cp/virtfunc.exp
5012 * gdb.dwarf2/dw2-dir-file-name.exp
5013 * gdb.dwarf2/dw2-single-line-discriminators.exp
5014 * gdb.fortran/complex.exp
5015 * gdb.fortran/library-module.exp
5016 * gdb.guile/guile.exp
5017 * gdb.guile/scm-cmd.exp
5018 * gdb.guile/scm-frame-inline.exp
5019 * gdb.guile/scm-objfile.exp
5020 * gdb.guile/scm-pretty-print.exp
5021 * gdb.guile/scm-symbol.exp
5022 * gdb.guile/scm-type.exp
5023 * gdb.guile/scm-value.exp
5024 * gdb.linespec/keywords.exp
5025 * gdb.linespec/ls-errs.exp
5026 * gdb.linespec/macro-relative.exp
5027 * gdb.linespec/thread.exp
5028 * gdb.mi/mi-breakpoint-changed.exp
5029 * gdb.mi/mi-dprintf-pending.exp
5030 * gdb.mi/mi-fullname-deleted.exp
5031 * gdb.mi/mi-logging.exp
5032 * gdb.mi/mi-pending.exp
5033 * gdb.mi/mi-solib.exp
5034 * gdb.mi/new-ui-mi-sync.exp
5035 * gdb.mi/user-selected-context-sync.exp
5036 * gdb.multi/dummy-frame-restore.exp
5037 * gdb.multi/multi-arch-exec.exp
5038 * gdb.multi/remove-inferiors.exp
5039 * gdb.multi/watchpoint-multi-exit.exp
5040 * gdb.opt/solib-intra-step.exp
5041 * gdb.perf/backtrace.exp
5042 * gdb.perf/single-step.exp
5043 * gdb.perf/skip-command.exp
5044 * gdb.perf/skip-prologue.exp
5045 * gdb.perf/solib.exp
5046 * gdb.python/lib-types.exp
5047 * gdb.python/py-as-string.exp
5048 * gdb.python/py-bad-printers.exp
5049 * gdb.python/py-block.exp
5050 * gdb.python/py-breakpoint.exp
5051 * gdb.python/py-cmd.exp
5052 * gdb.python/py-events.exp
5053 * gdb.python/py-evthreads.exp
5054 * gdb.python/py-finish-breakpoint.exp
5055 * gdb.python/py-finish-breakpoint2.exp
5056 * gdb.python/py-frame-inline.exp
5057 * gdb.python/py-frame.exp
5058 * gdb.python/py-inferior.exp
5059 * gdb.python/py-infthread.exp
5060 * gdb.python/py-mi.exp
5061 * gdb.python/py-objfile.exp
5062 * gdb.python/py-pp-maint.exp
5063 * gdb.python/py-pp-registration.exp
5064 * gdb.python/py-prettyprint.exp
5065 * gdb.python/py-recurse-unwind.exp
5066 * gdb.python/py-shared.exp
5067 * gdb.python/py-symbol.exp
5068 * gdb.python/py-symtab.exp
5069 * gdb.python/py-template.exp
5070 * gdb.python/py-type.exp
5071 * gdb.python/py-unwind-maint.exp
5072 * gdb.python/py-unwind.exp
5073 * gdb.python/py-value.exp
5074 * gdb.python/python.exp
5075 * gdb.reverse/finish-reverse-bkpt.exp
5076 * gdb.reverse/insn-reverse.exp
5077 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5078 * gdb.reverse/solib-precsave.exp
5079 * gdb.reverse/solib-reverse.exp
5080 * gdb.stabs/gdb11479.exp
5081 * gdb.stabs/weird.exp
5082 * gdb.threads/fork-child-threads.exp
5083 * gdb.threads/fork-plus-threads.exp
5084 * gdb.threads/fork-thread-pending.exp
5085 * gdb.threads/forking-threads-plus-breakpoint.exp
5086 * gdb.threads/hand-call-in-threads.exp
5087 * gdb.threads/interrupted-hand-call.exp
5088 * gdb.threads/linux-dp.exp
5089 * gdb.threads/local-watch-wrong-thread.exp
5090 * gdb.threads/next-while-other-thread-longjmps.exp
5091 * gdb.threads/non-ldr-exit.exp
5092 * gdb.threads/pending-step.exp
5093 * gdb.threads/print-threads.exp
5094 * gdb.threads/process-dies-while-detaching.exp
5095 * gdb.threads/process-dies-while-handling-bp.exp
5096 * gdb.threads/pthreads.exp
5097 * gdb.threads/queue-signal.exp
5098 * gdb.threads/reconnect-signal.exp
5099 * gdb.threads/signal-command-handle-nopass.exp
5100 * gdb.threads/signal-command-multiple-signals-pending.exp
5101 * gdb.threads/signal-delivered-right-thread.exp
5102 * gdb.threads/signal-sigtrap.exp
5103 * gdb.threads/sigthread.exp
5104 * gdb.threads/staticthreads.exp
5105 * gdb.threads/stepi-random-signal.exp
5106 * gdb.threads/thread-unwindonsignal.exp
5107 * gdb.threads/thread_check.exp
5108 * gdb.threads/thread_events.exp
5109 * gdb.threads/tid-reuse.exp
5110 * gdb.threads/tls-nodebug.exp
5111 * gdb.threads/tls-shared.exp
5112 * gdb.threads/tls-so_extern.exp
5113 * gdb.threads/tls.exp
5114 * gdb.threads/wp-replication.exp
5115 * gdb.trace/actions-changed.exp
5116 * gdb.trace/actions.exp
5117 * gdb.trace/backtrace.exp
5118 * gdb.trace/change-loc.exp
5119 * gdb.trace/collection.exp
5120 * gdb.trace/deltrace.exp
5121 * gdb.trace/disconnected-tracing.exp
5122 * gdb.trace/entry-values.exp
5123 * gdb.trace/ftrace-lock.exp
5124 * gdb.trace/ftrace.exp
5125 * gdb.trace/infotrace.exp
5126 * gdb.trace/mi-trace-frame-collected.exp
5127 * gdb.trace/mi-trace-unavailable.exp
5128 * gdb.trace/mi-traceframe-changed.exp
5129 * gdb.trace/mi-tracepoint-changed.exp
5130 * gdb.trace/mi-tsv-changed.exp
5131 * gdb.trace/no-attach-trace.exp
5132 * gdb.trace/packetlen.exp
5133 * gdb.trace/passc-dyn.exp
5134 * gdb.trace/passcount.exp
5135 * gdb.trace/pending.exp
5136 * gdb.trace/pr16508.exp
5137 * gdb.trace/qtro.exp
5138 * gdb.trace/range-stepping.exp
5139 * gdb.trace/read-memory.exp
5140 * gdb.trace/report.exp
5141 * gdb.trace/save-trace.exp
5142 * gdb.trace/signal.exp
5143 * gdb.trace/stap-trace.exp
5144 * gdb.trace/status-stop.exp
5145 * gdb.trace/strace.exp
5146 * gdb.trace/tfile.exp
5147 * gdb.trace/tfind.exp
5148 * gdb.trace/trace-break.exp
5149 * gdb.trace/trace-condition.exp
5150 * gdb.trace/trace-enable-disable.exp
5151 * gdb.trace/trace-mt.exp
5152 * gdb.trace/tracecmd.exp
5153 * gdb.trace/tracefile-pseudo-reg.exp
5154 * gdb.trace/tspeed.exp
5155 * gdb.trace/tstatus.exp
5156 * gdb.trace/tsv.exp
5157 * gdb.trace/unavailable.exp
5158 * gdb.trace/while-dyn.exp
5159 * gdb.trace/while-stepping.exp
5160 * lib/gdb-guile.exp
5161 * lib/gdb.exp
5162 * lib/mi-support.exp
5163 * lib/pascal.exp
5164 * lib/perftest.exp
5165 * lib/prelink-support.exp
5166 * lib/selftest-support.exp
5167
5168 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5169
5170 * Makefile.in: Include disable-implicit-rules.mk.
5171
5172 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5173
5174 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5175 non-byte-aligned bit fields.
5176
5177 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5178
5179 PR gdb/12616
5180 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5181 respects the DW_AT_data_bit_offset attribute.
5182
5183 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5184
5185 * gdb.base/default.exp: Fix output of "set language".
5186
5187 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5188
5189 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5190 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5191 make.
5192 * configure.ac: Remove checks for the make program.
5193 * configure: Re-generate.
5194
5195 2016-11-16 Kevin Buettner <kevinb@redhat.com>
5196
5197 * gdb.python/py-recurse-unwind.c (main): Add loop.
5198 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5199 to read_register() and gdb.parse_and_eval(). Make each code
5200 call a separate case that can be individually tested.
5201 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5202 proc. Call cont_and_backtrace for each of the code paths that
5203 we want to test in the unwinder.
5204
5205 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5206
5207 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5208 the definition of struct S.
5209
5210 2016-11-11 Catherine Moore <clm@codesourcery.com>
5211
5212 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5213
5214 2016-11-09 Pedro Alves <palves@redhat.com>
5215
5216 * gdb.base/commands.exp (runto_or_return): New procedure.
5217 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5218 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5219 (progvar_simple_while_test, progvar_complex_if_while_test)
5220 (if_while_breakpoint_command_test)
5221 (infrun_breakpoint_command_test, breakpoint_command_test)
5222 (user_defined_command_test, watchpoint_command_test)
5223 (test_command_prompt_position, redefine_hook_test)
5224 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5225 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5226 multi_line_input and multi_line. Remove gdb_expect and
5227 gdb_stop_suppressing_tests uses.
5228 * lib/gdb.exp (valnum_re): New global.
5229 (multi_line_input): New procedure.
5230
5231 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5232
5233 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5234 Remove.
5235 (test_setup): Define with proc_with_prefix.
5236 (test_cli_inferior): Likewise.
5237 (test_cli_thread): Likewise.
5238 (test_cli_frame): Likewise.
5239 (test_cli_select_frame): Likewise.
5240 (test_cli_up_down): Likewise.
5241 (test_mi_thread_select): Likewise.
5242 (test_mi_stack_select_frame): Likewise.
5243 (test_cli_in_mi_inferior): Likewise.
5244 (test_cli_in_mi_thread): Likewise.
5245 (test_cli_in_mi_frame): Likewise.
5246 (top level): Do not use with_test_prefix_procname.
5247
5248 2016-11-09 Pedro Alves <palves@redhat.com>
5249
5250 * gdb.base/commands.exp (gdbvar_simple_if_test)
5251 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5252 (progvar_simple_if_test, progvar_simple_while_test)
5253 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5254 (infrun_breakpoint_command_test, breakpoint_command_test)
5255 (user_defined_command_test, watchpoint_command_test)
5256 (test_command_prompt_position, deprecated_command_test)
5257 (bp_deleted_in_command, temporary_breakpoint_commands)
5258 (stray_arg0_test, source_file_with_indented_comment)
5259 (recursive_source_test, if_commands_test)
5260 (error_clears_commands_left, redefine_hook_test)
5261 (redefine_backtrace_test): Use proc_with_prefix.
5262 * lib/gdb.exp (proc_with_prefix): New proc.
5263
5264 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5265
5266 * gdb.base/tui-layout.c: New file.
5267 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5268 disassembly window contains very long lines.
5269
5270 2016-11-08 Tom Tromey <tom@tromey.com>
5271
5272 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5273 depend on Python 2.
5274
5275 2016-11-08 Tom Tromey <tom@tromey.com>
5276
5277 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5278 New method.
5279
5280 2016-10-29 Manish Goregaokar <manish@mozilla.com>
5281
5282 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5283
5284 2016-10-27 Manish Goregaokar <manish@mozilla.com>
5285
5286 * gdb.rust/simple.rs: Add test for univariant enums without
5287 discriminants and for encoded struct-like enums.
5288
5289 2016-10-28 Pedro Alves <palves@redhat.com>
5290
5291 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5292 gdb_test_multiple, tighten regexps and match symtabs and line
5293 tables incrementally.
5294
5295 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
5296
5297 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5298 general.
5299
5300 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
5301
5302 * gdb.base/exec-invalid-sysroot.exp: New file.
5303
5304 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5305
5306 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5307
5308 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5309
5310 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5311
5312 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5313
5314 * gdb.base/killed-outside.exp: Remove $options from a call to
5315 `prepare_for_testing'.
5316
5317 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5318
5319 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5320 Change test message.
5321
5322 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5323
5324 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5325 Update comment.
5326
5327 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5328
5329 * gdb.trace/mi-trace-save.exp: New file.
5330
5331 2016-10-13 Yao Qi <yao.qi@linaro.org>
5332
5333 * gdb.base/code_elim.exp (get_var_address): Remove.
5334 * gdb.base/relocate.exp: Likewise.
5335 * gdb.base/shreloc.exp: Likewise.
5336 * lib/gdb.exp (get_var_address): New.
5337
5338 2016-10-13 Yao Qi <yao.qi@linaro.org>
5339
5340 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5341 floating point tests if $skip_float_test is false.
5342
5343 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
5344
5345 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5346 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5347 argc values.
5348 Add 1 to argc so we guarantee distinct initial/modified argc values.
5349
5350 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5351
5352 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5353
5354 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5355
5356 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5357 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5358 * gdb.arch/vsx-regs.exp: Likewise.
5359
5360 2016-10-07 Yao Qi <yao.qi@linaro.org>
5361
5362 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5363
5364 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5365
5366 * gdb.python/python.exp: Test decode_line("*0").
5367
5368 2016-10-06 Doug Evans <dje@google.com>
5369
5370 * gdb.python/py-value.exp (test_value_creation): Add test for large
5371 unsigned 64-bit value.
5372
5373 2016-10-06 Tom Tromey <tom@tromey.com>
5374
5375 * gdb.compile/compile.exp: Change java tests to rust.
5376 * gdb.base/setshow.exp: Change java tests to rust.
5377 * gdb.base/default.exp: Remove java from language list.
5378 * README (Examples): Update language example.
5379 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5380 test.
5381 * lib/gdb.exp (skip_java_tests): Remove.
5382 * lib/java.exp: Remove.
5383 * gdb.java: Remove.
5384
5385 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5386
5387 * gdb.arch/mips-fcr.exp: New test.
5388 * gdb.arch/mips-fcr.c: Source for the new test.
5389
5390 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5391
5392 * gdb.base/solib-disc.exp: Use `standard_output_file'
5393 throughout.
5394
5395 2016-10-06 Pedro Alves <palves@redhat.com>
5396
5397 * gdb.base/jit-simple-dl.c: New file.
5398 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5399 * gdb.base/jit-simple.c: ... this.
5400 * gdb.base/jit-simple.exp (jit_run): Delete.
5401 (build_jit): New proc.
5402 (jit_test_reread): Recompile either the main program or the shared
5403 library, depending on what is being tested. Skip changing address
5404 if caller wants to. Compare before/after addresses. If testing
5405 standalone, explicitly load the binary. Test "maint info
5406 breakpoints".
5407 (top level): Add "standalone vs shared lib" and "change address"
5408 vs "same address" axes.
5409
5410 2016-10-06 Pedro Alves <palves@redhat.com>
5411
5412 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5413 call.
5414 (jit_run): Delete.
5415 (jit_test_reread): Use with_test_prefix. Reload the main binary
5416 explicitly. Compare the before/after addresses of the JIT
5417 descriptor.
5418
5419 2016-08-15 Doug Evans <dje@google.com>
5420
5421 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5422 for single bitfields is bool.
5423 * gdb.xml/tdesc-regs.exp: Ditto.
5424
5425 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5426
5427 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5428
5429 2016-10-05 Yao Qi <yao.qi@linaro.org>
5430
5431 * lib/gdb.exp (support_complex_tests): Return zero if
5432 gdb_skip_float_test return true.
5433
5434 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5435 Simon Marchi <simon.marchi@ericsson.com>
5436
5437 PR gdb/20487
5438 * gdb.mi/user-selected-context-sync.exp: New file.
5439 * gdb.mi/user-selected-context-sync.c: New file.
5440
5441 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5442 Simon Marchi <simon.marchi@ericsson.com>
5443
5444 PR gdb/20487
5445 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5446 =thread-select-event check.
5447
5448 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5449
5450 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5451 the compulsory L operand changes.
5452 * gdb.arch/powerpc-power.s: Likewise.
5453
5454 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5455
5456 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5457 * gdb.base/jit-attach-pie.c: New file.
5458 * gdb.base/jit-attach-pie.exp: New file.
5459
5460 2016-09-28 Pedro Alves <palves@redhat.com>
5461
5462 * gdb.base/infcall-input.c: New file.
5463 * gdb.base/infcall-input.exp: New file.
5464
5465 2016-09-22 Yao Qi <yao.qi@linaro.org>
5466
5467 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5468 (gdb_exit): Rename it to ...
5469 (gdbserver_gdb_exit): ... Close GDBserver.
5470 (gdb_exit): New proc, call gdbserver_gdb_exit.
5471 (mi_gdb_exit): Likewise.
5472
5473 2016-09-22 Yao Qi <yao.qi@linaro.org>
5474
5475 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5476 path.
5477 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5478 Remove duplication.
5479
5480 2016-09-22 Yao Qi <yao.qi@linaro.org>
5481
5482 * lib/gdbserver-support.exp: Check the existence of
5483 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5484
5485 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5486
5487 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5488
5489 2016-09-21 Tom Tromey <tom@tromey.com>
5490
5491 PR gdb/20604:
5492 * gdb.base/quit.exp: New file.
5493
5494 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5495
5496 * .gitignore: New file.
5497
5498 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5499
5500 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5501 throughout.
5502
5503 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5504
5505 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5506
5507 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5508
5509 * gdb.cp/casts.cc (decltype): Move it ...
5510 (main): ... with its call to ...
5511 * gdb.cp/casts03.cc: ... a new file.
5512 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5513
5514 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5515
5516 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5517
5518 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
5519
5520 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5521 and sync up the test with tests in gas/testsuite/gas/ppc.
5522 * gdb.arch/powerpc-power.exp: Likewise.
5523
5524 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5525
5526 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5527
5528 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
5529 Jan Kratochvil <jan.kratochvil@redhat.com>
5530
5531 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5532 make m1's definition to be different from m2's. Use 'dummy' as an
5533 argument for probe 'two'.
5534
5535 2016-09-10 Jon Beniston <jon@beniston.com>
5536
5537 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5538 for sim target.
5539
5540 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5541
5542 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5543 variable declaration.
5544 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
5545 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5546 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5547 received HWCAP as its argument.
5548
5549 2016-09-06 Pedro Alves <palves@redhat.com>
5550
5551 * gdb.base/new-ui-pending-input.c: New file.
5552 * gdb.base/new-ui-pending-input.exp: New file.
5553 * gdb.exp (clear_gdb_spawn_id): New procedure.
5554 (with_spawn_id): Check whether gdb_spawn_id exists before
5555 referencing it. If gdb_spawn_id didn't exist on entry, clear it
5556 on exit.
5557
5558 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5559
5560 * gdb.base/float128.c: New file.
5561 * gdb.base/float128.exp: Likewise.
5562 * gdb.base/floatn.c: Likewise.
5563 * gdb.base/floatn.exp: Likewise.
5564
5565 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5566
5567 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5568
5569 2016-09-05 Pedro Alves <palves@redhat.com>
5570
5571 PR backtrace/19927
5572 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5573 unwinders are immediately called as side effect of "source" or
5574 "disable unwinder" commands.
5575 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5576
5577 2016-09-02 Yao Qi <yao.qi@linaro.org>
5578
5579 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5580 is true and $type is "float" or "double".
5581
5582 2016-09-02 Yao Qi <yao.qi@linaro.org>
5583
5584 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5585 true.
5586 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5587 * gdb.base/call-rt-st.exp: Likewise.
5588 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5589 return value instead of gdb,skip_float_test.
5590 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5591 (do_function_calls): Use its return value instead of
5592 gdb,skip_float_test.
5593 * gdb.base/finish.exp: Likewise.
5594 * gdb.base/funcargs.exp: Likewise.
5595 * gdb.base/return.exp: Likewise.
5596 * gdb.base/return2.exp: Likewise.
5597 * gdb.base/varargs.exp: Likewise.
5598 * lib/gdb.exp (gdb_skip_float_test): Change it to
5599 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5600
5601 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5602
5603 * gdb.multi/tids.exp: Test "thread apply all".
5604
5605 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5606
5607 * gdb.base/default.exp (tty): Remove.
5608
5609 2016-08-24 Kevin Buettner <kevinb@redhat.com>
5610
5611 * gdb.python/py-recurse-unwind.c: New file.
5612 * gdb.python/py-recurse-unwind.py: New file.
5613 * gdb.python/py-recurse-unwind.exp: New file.
5614
5615 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5616
5617 * gdb.base/set-inferior-tty.exp: New file.
5618 * gdb.base/set-inferior-tty.c: New file.
5619
5620 2016-08-23 Pedro Alves <palves@redhat.com>
5621
5622 PR gdb/20494
5623 * gdb.base/new-ui-echo.c: New file.
5624 * gdb.base/new-ui-echo.exp: New file.
5625
5626 2016-08-23 Yao Qi <yao.qi@linaro.org>
5627
5628 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5629 gdbserver_spawn.
5630 * gdb.server/connect-without-multi-process.exp (do_test):
5631 Likewise.
5632
5633 2016-08-23 Yao Qi <yao.qi@linaro.org>
5634
5635 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5636 standalone_txt. Delete gdb_txt and standalone_txt on host
5637 and target. Spawn the binary on target. Copy files from
5638 target to host.
5639
5640 2016-08-22 Pedro Alves <palves@redhat.com>
5641
5642 PR gdb/20505
5643 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5644 with_test_prefix. Factor out bits to ...
5645 (test_no_vdso): ... this new procedure.
5646
5647 2016-08-19 Carl Love <cel@us.ibm.com>
5648
5649 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5650 maintaining separate logic for constructing the output path.
5651 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5652 * gdb.arch/ppc-dfp.exp: Likewise.
5653 * gdb.arch/ppc-fp.exp: Likewise.
5654 * gdb.arch/vsx-regs.exp: Likewise.
5655 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5656 binprefix for generating the additional binary files.
5657
5658 2016-08-19 Pedro Alves <palves@redhat.com>
5659
5660 * gdb.trace/mi-trace-frame-collected.exp
5661 (test_trace_frame_collected): On x32, expect two registers.
5662
5663 2016-08-18 Carl Love <cel@us.ibm.com>
5664
5665 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5666 and sync up the test with tests in gas/testsuite/gas/ppc.
5667 * gdb.arch/powerpc-power.exp: Likewise.
5668
5669 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5670
5671 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5672 expected error message.
5673
5674 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5675
5676 * gdb.multi/remove-inferiors.exp: New file.
5677 * gdb.multi/remove-inferiors.c: New file.
5678
5679 2016-08-12 Yao Qi <yao.qi@linaro.org>
5680
5681 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5682 argument list.
5683
5684 2016-08-10 Pedro Alves <palves@redhat.com>
5685
5686 PR gdb/19187
5687 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5688 setup_kfails.
5689
5690 2016-08-09 Pedro Alves <palves@redhat.com>
5691 Simon Marchi <simon.marchi@ericsson.com>
5692
5693 PR gdb/20418
5694 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5695 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5696
5697 2016-08-09 Pedro Alves <palves@redhat.com>
5698
5699 PR mi/20431
5700 * gdb.mi/mi-cmd-error.exp: New file.
5701
5702 2016-08-09 Pedro Alves <palves@redhat.com>
5703
5704 PR gdb/18653
5705 * gdb.base/signals-state-child.c: New file.
5706 * gdb.base/signals-state-child.exp: New file.
5707 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5708
5709 2016-08-09 Pedro Alves <palves@redhat.com>
5710
5711 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5712
5713 2016-08-03 Tom Tromey <tom@tromey.com>
5714
5715 PR python/18565:
5716 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5717
5718 2016-08-01 Yao Qi <yao.qi@linaro.org>
5719
5720 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5721 variable mode to "multi-process" if $multi_process is 1, otherwise
5722 set it to "single-process".
5723
5724 2016-08-01 Yao Qi <yao.qi@linaro.org>
5725
5726 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5727 * gdb.cp/cpexprs.exp: Likewise.
5728 * gdb.cp/m-static.exp: Likewise.
5729
5730 2016-07-26 Tom Tromey <tom@tromey.com>
5731
5732 PR python/20190:
5733 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5734 test.
5735
5736 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5737
5738 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5739 selecting assembly source files.
5740 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5741 assembly source files.
5742 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5743 assembly source files.
5744 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5745 selecting assembly source files.
5746
5747 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5748
5749 * gdb.base/new-ui.exp (do_test_invalid_args): New
5750 procedure.
5751
5752 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5753
5754 * gdb.btrace/reconnect.c: New file.
5755 * gdb.btrace/reconnect.exp: New file.
5756
5757 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5758
5759 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5760 to test_catch_syscall_group.
5761 (test_catch_syscall_group): New.
5762
5763 2016-07-21 Tom Tromey <tom@tromey.com>
5764
5765 * gdb.rust/simple.rs (main): Use empty struct expression.
5766 * gdb.rust/simple.exp: Add tests for empty struct expression.
5767
5768 2016-07-21 Yao Qi <yao.qi@linaro.org>
5769
5770 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5771 if gdb_skip_xml_test is true on some targets.
5772
5773 2016-07-21 Yao Qi <yao.qi@linaro.org>
5774
5775 * gdb.server/solib-list.exp: Unset last_loaded_file.
5776
5777 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5778
5779 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5780 "step into captured_main (args)".
5781
5782 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5783
5784 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5785
5786 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5787
5788 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5789
5790 2016-07-19 Pedro Alves <palves@redhat.com>
5791
5792 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5793 * gdb.opt/inline-bt.exp: Likewise.
5794 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5795 additional_flags=-Winline.
5796 * gdb.opt/inline-locals.exp: Likewise.
5797 * gdb.opt/inline-markers.c (ATTR): Define.
5798 (inlined_fn): Use it.
5799
5800 2016-07-19 Yao Qi <yao.qi@linaro.org>
5801
5802 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5803 (test_with_self): Remove some code. Remove argument executable.
5804 (top-level): Use do_self_tests.
5805
5806 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
5807 Don Breazeal <donb@codesourcery.com>
5808
5809 * gdb.base/maint.exp: Escape paths used in regular expressions.
5810 * gdb.stabs/weird.exp: Likewise.
5811
5812 2016-07-13 Tom Tromey <tom@tromey.com>
5813
5814 PR python/15620, PR python/18620:
5815 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5816 (test_bkpt_events): New procs.
5817
5818 2016-07-13 Tom Tromey <tom@tromey.com>
5819
5820 PR python/17698:
5821 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5822 test.
5823 (test_watchpoints): Likewise.
5824 (test_bkpt_pending): New proc.
5825
5826 2016-07-13 Tom Tromey <tom@tromey.com>
5827
5828 PR cli/18053:
5829 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5830 completion test.
5831
5832 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5833
5834 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5835 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5836 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5837 f_label.
5838 (g): Rename g_end_lbl to g_label.
5839 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5840 low_pc and high_pc.
5841 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5842
5843 2016-07-12 Tom Tromey <tom@tromey.com>
5844
5845 PR python/19293:
5846 * gdb.python/py-unwind-maint.exp: Update tests.
5847
5848 2016-07-12 Yao Qi <yao.qi@linaro.org>
5849
5850 * lib/selftest-support.exp (selftest_setup): Match the output
5851 when captured_main is inlined.
5852
5853 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5854
5855 * gdb.fortran/derived-types.exp (result_line, result_line_2):
5856 New variables.
5857 (print this%a, print this%b, print this): New tests.
5858 * gdb.fortran/derived-types.f90 (this): New object and
5859 initialization.
5860
5861 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5862
5863 * gdb.ada/arraydim.exp: Remove extra directory level in build
5864 directory.
5865
5866 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5867
5868 * lib/ada.exp: Remove extra directory level in build directory.
5869 * gdb.ada/cond_lang.exp: Likewise.
5870 * gdb.ada/exec_changed.exp: Likewise.
5871 * gdb.ada/lang_switch.exp: Likewise.
5872
5873 2016-07-06 Manish Goregaokar <manish@mozilla.com>
5874
5875 * simple.rs: Add test for raw pointer subscripting.
5876 * simple.exp: Add test expectations.
5877
5878 2016-07-05 Yao Qi <yao.qi@linaro.org>
5879
5880 * gdb.mi/mi-reverse.exp: Match =record-started output.
5881
5882 2016-07-01 Pedro Alves <palves@redhat.com>
5883
5884 * gdb.base/jit-reader.exp (info_registers_current_frame): New
5885 procedure.
5886 (jit_reader_test): Test the jit reader's unwinder.
5887 * gdb.base/jithost.c (jit_function_00_code): New global.
5888 (main): Use memcpy to fill in the mmapped code, instead of poking
5889 bytes manually here.
5890 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
5891 value.
5892 (read_debug_info): Save the function's range.
5893 (read_sp): New function.
5894 (unwind_frame): Use it. Also unwind RBP.
5895 (get_frame_id): Use read_sp.
5896 (gdb_init_reader): Use calloc instead of malloc.
5897 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
5898 parameter. Use gdb_test_multiple.
5899
5900 2016-07-01 Pedro Alves <palves@redhat.com>
5901 Antoine Tremblay <antoine.tremblay@ericsson.com>
5902
5903 * gdb.threads/process-dies-while-detaching.c: New file.
5904 * gdb.threads/process-dies-while-detaching.exp: New file.
5905
5906 2016-07-01 Pedro Alves <palves@redhat.com>
5907
5908 * gdb.multi/watchpoint-multi-exit.c: New file.
5909 * gdb.multi/watchpoint-multi-exit.exp: New file.
5910
5911 2016-06-30 Pedro Alves <palves@redhat.com>
5912
5913 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
5914 unset inferior_spawn_id.
5915
5916 2016-06-30 Pedro Alves <palves@redhat.com>
5917
5918 * lib/mi-support.exp (default_mi_gdb_start): Declare global
5919 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
5920
5921 2016-06-29 Yao Qi <yao.qi@linaro.org>
5922
5923 * gdb.base/return.c: Add copyright header.
5924
5925 2016-06-29 Tom Tromey <tom@tromey.com>
5926
5927 PR python/20129:
5928 * gdb.python/py-framefilter.exp: Add tests for setting priority
5929 and disabling of non-existent frame filter.
5930
5931 2016-06-29 Yao Qi <yao.qi@linaro.org>
5932
5933 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
5934 0x0f07ff.
5935
5936 2016-06-28 Yao Qi <yao.qi@linaro.org>
5937
5938 * gdb.base/catch-syscall.exp: Remove check on isnative and target
5939 triplets. Start gdb, execute catch syscall, and continue. Check
5940 gdb's output to determine catch syscall is supported.
5941
5942 2016-06-27 Manish Goregaokar <manish@mozilla.com>
5943
5944 * gdb.rust/simple.rs: Add test for returning unit in a function.
5945 * gdb.rust/simple.exp: Add expectation for functions returning
5946 unit.
5947
5948 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
5949
5950 * gdb.python/py-breakpoint-create-fail.c,
5951 gdb.python/py-breakpoint-create-fail.exp,
5952 gdb.python/py-breakpoint-create-fail.py: New testcase.
5953
5954 2016-06-25 Manish Goregaokar <manish@mozilla.com>
5955
5956 PR gdb/20239
5957 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
5958 * gdb.rust/simple.exp: Add test expectations for new NonZero
5959 tests.
5960
5961 2016-06-24 David Taylor <dtaylor@emc.com>
5962
5963 * gdb.base/offsets.exp: New file.
5964 * gdb.base/offsets.c: New file.
5965
5966 2016-06-23 Tom Tromey <tom@tromey.com>
5967
5968 PR gdb/16483:
5969 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
5970 before any filters are loaded.
5971
5972 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
5973
5974 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
5975 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
5976 structs.
5977 * gdb.fortran/derived-type-function.exp: New file.
5978 * gdb.fortran/derived-type-function.f90: New file.
5979
5980
5981 2016-06-21 Pedro Alves <palves@redhat.com>
5982
5983 * gdb.base/new-ui.exp: New file.
5984 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
5985 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
5986 (with_spawn_id): New procedure.
5987
5988 2016-06-21 Pedro Alves <palves@redhat.com>
5989
5990 * gdb.mi/mi-exec-run.exp: New file.
5991
5992 2016-06-21 Pedro Alves <palves@redhat.com>
5993
5994 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
5995 breakpoint command's output on the main UI.
5996 (test_break): New procedure, factored out from calls in the top
5997 level.
5998 (top level): Use foreach_with_prefix to test MI as main UI and as
5999 separate UI.
6000
6001 2016-06-21 Pedro Alves <palves@redhat.com>
6002
6003 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6004 (test_awatch_creation_and_listing)
6005 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6006 Remove 'type' parameter.
6007 (test_watchpoint_all): New parameter mi_mode. Remove
6008 with_test_prefix.
6009 (top level): Use foreach_with_prefix, and add main/separate UI MI
6010 testing axis.
6011
6012 2016-06-21 Pedro Alves <palves@redhat.com>
6013
6014 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6015 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6016 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6017 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6018 (gdb_main_spawn_id, mi_spawn_id): Declare and
6019 comment.
6020 (mi_create_inferior_pty): New procedure,
6021 factored out from default_mi_gdb_start.
6022 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6023 procedures.
6024 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6025 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6026 Use mi_create_inferior_pty.
6027 (mi_gdb_start): Use eval to pass down args list.
6028
6029 2016-06-21 Pedro Alves <palves@redhat.com>
6030
6031 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6032 * gdb.opt/inline-cmds.exp: Add MI tests.
6033
6034 2016-06-21 Pedro Alves <palves@redhat.com>
6035
6036 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6037
6038 2016-06-21 Pedro Alves <palves@redhat.com>
6039
6040 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6041 (top level): Use it instead of mi_execute_to.
6042
6043 2016-06-21 Pedro Alves <palves@redhat.com>
6044
6045 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6046 (cont_handler_str): New.
6047 (signal_stop_handler): Set stop_handler_str instead of printing to
6048 stdout.
6049 (continue_handler): Set cont_handler_str instead of printing to
6050 stdout.
6051 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6052 mi_send_resuming_command. Print stop_handler_str and
6053 cont_handler_str instead of expecting the python events print
6054 directly.
6055
6056 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6057
6058 * gdb.base/jit-reader.exp: New file.
6059 * gdb.base/jithost.c: New file.
6060 * gdb.base/jithost.h: New file.
6061 * gdb.base/jitreader.c : New file.
6062 * gdb.base/jit-protocol.h: New file.
6063
6064 2016-06-17 Yao Qi <yao.qi@linaro.org>
6065
6066 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6067 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6068 and detach-on-fork. Adjust tests.
6069 (top level): Invoke break_cond_on_syscall with combinations of
6070 syscall, follow-fork-mode and detach-on-fork.
6071
6072 2016-06-17 Yao Qi <yao.qi@linaro.org>
6073
6074 * gdb.base/step-over-exit.c: New.
6075 * gdb.base/step-over-exit.exp: New.
6076
6077 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6078
6079 * gdb.base/float.exp: Add target check for nds32*-*-*.
6080 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6081
6082 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6083
6084 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6085 for unsupported target features.
6086 * gdb.base/call-rt-st.exp: Likewise.
6087 * gdb.base/call-sc.exp: Likewise.
6088 * gdb.base/call-signal-resume.exp: Likewise.
6089 * gdb.base/call-strs.exp: Likewise.
6090 * gdb.base/callexit.exp: Likewise.
6091 * gdb.base/callfuncs.exp: Likewise.
6092 * gdb.base/nodebug.exp: Likewise.
6093 * gdb.base/printcmds.exp: Likewise.
6094 * gdb.base/ptype.exp: Likewise.
6095 * gdb.base/structs.exp: Likewise.
6096 * gdb.base/unwindonsignal.exp: Likewise.
6097 * gdb.cp/gdb2495.exp: Likewise.
6098 * gdb.cp/templates.exp: Likewise.
6099 * gdb.cp/virtfunc.exp: Likewise.
6100 * gdb.threads/hand-call-in-threads.exp: Likewise.
6101 * gdb.threads/interrupted-hand-call.exp: Likewise.
6102 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6103
6104 2016-06-10 Tom Tromey <tom@tromey.com>
6105
6106 PR rust/20110:
6107 * gdb.rust/expr.exp: Add test for integer constant larger than
6108 i32.
6109
6110 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6111
6112 * gdb.fortran/nested-funcs.exp: New.
6113 * gdb.fortran/nested-funcs.f90: New.
6114
6115 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6116
6117 * gdb.base/examine-backward.c: New file.
6118 * gdb.base/examine-backward.exp: New file.
6119
6120 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6121
6122 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6123 matching.
6124
6125 2016-06-02 Tom Tromey <tom@tromey.com>
6126
6127 PR python/18984:
6128 * gdb.python/py-shared.exp: Add solib_name test.
6129
6130 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6131
6132 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6133
6134 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6135
6136 PR c++/19893
6137 * gdb.dwarf2/implref.exp: Rename to...
6138 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6139 * gdb.dwarf2/implref-array.c: New file.
6140 * gdb.dwarf2/implref-array.exp: Likewise.
6141 * gdb.dwarf2/implref-global.c: Likewise.
6142 * gdb.dwarf2/implref-global.exp: Likewise.
6143 * gdb.dwarf2/implref-struct.c: Likewise.
6144 * gdb.dwarf2/implref-struct.exp: Likewise.
6145
6146 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6147
6148 * gdb.trace/trace-condition.exp: Add 64bit tests.
6149
6150 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6151
6152 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6153 bits types.
6154 (main): Adapt to 8 to 64 bits types.
6155 * gdb.trace/trace-condition.exp: Add new tests.
6156
6157 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6158
6159 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6160
6161 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6162
6163 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6164 Move condition tests...
6165 * gdb.trace/trace-condition.exp: Here.
6166
6167 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6168
6169 * gdb.trace/trace-condition.exp: Add counter-case tests.
6170
6171 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6172
6173 PR c++/15231
6174 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6175 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6176
6177 2016-05-27 Pedro Alves <palves@redhat.com>
6178
6179 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6180 New procedure.
6181 (top level): Call it, and bail out of DejaGnu is known to be bad.
6182
6183 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6184
6185 * gdb.base/whatis.c: Extend the test case.
6186 * gdb.base/whatis.exp: Add additional tests.
6187
6188 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6189
6190 * gdb.fortran/type.f90: Add pointer variable.
6191 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6192
6193 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6194
6195 * gdb.fortran/vla-type.exp: Fix testcase name.
6196
6197 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6198
6199 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6200
6201 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6202
6203 * gdb.fortran/type.f90: Add nested structures.
6204 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6205 * gdb.fortran/derived-type.exp: Adapt expected output.
6206 * gdb.fortran/vla-type.exp: Adapt expected output.
6207
6208 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6209
6210 * gdb.fortran/whatis_type.exp: Adapt expected output.
6211
6212 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6213
6214 * gdb.fortran/print_type.exp: Fix expected output.
6215 * gdb.fortran/whatis_type.exp: Fix expected output.
6216
6217 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6218
6219 * gdb.fortran/whatis_type.exp: Use multi_line.
6220
6221 2016-05-24 Tom Tromey <tom@tromey.com>
6222
6223 PR python/17386:
6224 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6225 use value as an index.
6226
6227 2016-05-23 Tom Tromey <tom@tromey.com>
6228
6229 PR python/17981:
6230 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6231 no-breakpoint case.
6232
6233 2016-05-24 Pedro Alves <palves@redhat.com>
6234
6235 PR gdb/19828
6236 * gdb.threads/clone-attach-detach.c: New file.
6237 * gdb.threads/clone-attach-detach.exp: New file.
6238
6239 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6240
6241 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6242
6243 2016-05-23 Tom Tromey <tom@tromey.com>
6244
6245 PR python/19438, PR python/18393:
6246 * gdb.python/py-progspace.exp: Add "dir" test.
6247 * gdb.python/py-objfile.exp: Add "dir" test.
6248
6249 2016-05-23 Yao Qi <yao.qi@linaro.org>
6250
6251 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6252 * gdb.arch/thumb2-it.exp: Likewise.
6253
6254 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6255
6256 * gdb.mi/mi-threads-interrupt.c: New file.
6257 * gdb.mi/mi-threads-interrupt.exp: New file.
6258
6259 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6260
6261 PR gdb/18077
6262 * gdb.mi/mi-async-run.exp: New file.
6263 * gdb.mi/mi-async-run.c: New file.
6264
6265 2016-05-17 Tom Tromey <tom@tromey.com>
6266 Manish Goregaokar <manishsmail@gmail.com>
6267
6268 * lib/rust-support.exp: New file.
6269 * lib/gdb.exp (skip_rust_tests): New proc.
6270 (build_executable_from_specs): Handle rust.
6271 * lib/future.exp (gdb_find_rustc): New proc.
6272 (gdb_default_target_compile): Handle rust.
6273 * gdb.rust/expr.exp: New file.
6274 * gdb.rust/generics.exp: New file.
6275 * gdb.rust/generics.rs: New file.
6276 * gdb.rust/methods.exp: New file.
6277 * gdb.rust/methods.rs: New file.
6278 * gdb.rust/modules.exp: New file.
6279 * gdb.rust/modules.rs: New file.
6280 * gdb.rust/simple.exp: New file.
6281 * gdb.rust/simple.rs: New file.
6282
6283 2016-05-17 Tom Tromey <tom@tromey.com>
6284
6285 * gdb.base/default.exp (set language): Add rust.
6286
6287 2016-05-17 Tom Tromey <tom@tromey.com>
6288
6289 * gdb.gdb/unittest.exp: New file.
6290
6291 2016-05-16 Yao Qi <yao.qi@linaro.org>
6292
6293 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6294 shell_prompt. Update shell_prompt_re.
6295
6296 2016-05-12 Doug Evans <dje@google.com>
6297
6298 PR symtab/19999
6299 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6300 $options when building executable.
6301 * gdb.dwarf2/fission-loclists-pie.S: New file.
6302 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6303
6304 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6305
6306 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6307 of [is_remote target],
6308
6309 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6310
6311 * lib/gdb.exp (use_gdb_stub): New procedure.
6312
6313 2016-05-03 Yunlian Jiang <yunlian@google.com>
6314 Doug Evans <dje@google.com>
6315
6316 PR symtab/19914
6317 * gdb.dwarf2/dwp-sepdebug.c: New file.
6318 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6319
6320 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6321
6322 * gdb.base/detach.exp: Remove is_remote check.
6323
6324 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6325
6326 * gdb.base/annota-input-while-running.exp: Don't check for
6327 [is_remote target]. Enable annotations after running to main.
6328 Remove unused "set test..." line.
6329
6330 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6331
6332 * gdb.trace/trace-enable-disable.exp: New file.
6333 * gdb.trace/trace-enable-disable.c: New file.
6334
6335 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6336
6337 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6338 use it in info sharedlibrary test.
6339 * gdb.trace/ftrace-lock.exp: Likewise.
6340 * gdb.trace/ftrace.exp: Likewise.
6341 * gdb.trace/range-stepping.exp: Likewise.
6342 * gdb.trace/trace-break.exp: Likewise.
6343 * gdb.trace/trace-condition.exp: Likewise.
6344 * gdb.trace/trace-mt.exp: Likewise.
6345
6346 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6347
6348 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6349 (gdb_load_shlib): ... this.
6350 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6351 gdb_load_shlib.
6352 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6353 * gdb.base/ctxobj.exp: Likewise.
6354 * gdb.base/dprintf-pending.exp: Likewise.
6355 * gdb.base/dso2dso.exp: Likewise.
6356 * gdb.base/fixsection.exp: Likewise.
6357 * gdb.base/gcore-relro.exp: Likewise.
6358 * gdb.base/gdb1555.exp: Likewise.
6359 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6360 * gdb.base/gnu-ifunc.exp: Likewise.
6361 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6362 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6363 * gdb.base/pending.exp: Likewise.
6364 * gdb.base/print-file-var.exp: Likewise.
6365 * gdb.base/print-symbol-loading.exp: Likewise.
6366 * gdb.base/shlib-call.exp: Likewise.
6367 * gdb.base/shreloc.exp: Likewise.
6368 * gdb.base/so-impl-ld.exp: Likewise.
6369 * gdb.base/solib-disc.exp: Likewise.
6370 * gdb.base/solib-nodir.exp: Likewise.
6371 * gdb.base/solib-overlap.exp: Likewise.
6372 * gdb.base/solib-symbol.exp: Likewise.
6373 * gdb.base/solib-weak.exp (do_test): Likewise.
6374 * gdb.base/sym-file.exp: Likewise.
6375 * gdb.base/symtab-search-order.exp: Likewise.
6376 * gdb.base/type-opaque.exp: Likewise.
6377 * gdb.base/unload.exp: Likewise.
6378 * gdb.base/watchpoint-solib.exp: Likewise.
6379 * gdb.compile/compile.exp: Likewise.
6380 * gdb.cp/gdb2384.exp: Likewise.
6381 * gdb.cp/infcall-dlopen.exp: Likewise.
6382 * gdb.cp/re-set-overloaded.exp: Likewise.
6383 * gdb.fortran/library-module.exp: Likewise.
6384 * gdb.opt/solib-intra-step.exp: Likewise.
6385 * gdb.python/py-finish-breakpoint.exp: Likewise.
6386 * gdb.python/py-shared.exp: Likewise.
6387 * gdb.reverse/solib-precsave.exp: Likewise.
6388 * gdb.reverse/solib-reverse.exp: Likewise.
6389 * gdb.server/solib-list.exp: Likewise.
6390 * gdb.threads/dlopen-libpthread.exp: Likewise.
6391 * gdb.threads/tls-shared.exp: Likewise.
6392 * gdb.threads/tls-so_extern.exp: Likewise.
6393 * gdb.trace/change-loc.exp: Likewise.
6394 * gdb.trace/ftrace-lock.exp: Likewise.
6395 * gdb.trace/ftrace.exp: Likewise.
6396 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6397 * gdb.trace/pending.exp: Likewise.
6398 * gdb.trace/range-stepping.exp: Likewise.
6399 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6400 (strace_info_marker): Likewise.
6401 (strace_probe_marker): Likewise.
6402 (strace_trace_on_same_addr): Likewise.
6403 (strace_trace_on_diff_addr): Likewise.
6404 * gdb.trace/trace-break.exp: Likewise.
6405 * gdb.trace/trace-condition.exp: Likewise.
6406 * gdb.trace/trace-mt.exp: Likewise.
6407
6408 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6409
6410 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6411 result of gdb_remote_download.
6412 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6413 * gdb.base/dso2dso.exp: Likewise.
6414 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6415 * gdb.base/print-file-var.exp: Likewise.
6416 * gdb.base/shlib-call.exp: Likewise.
6417 * gdb.base/shreloc.exp: Likewise.
6418 * gdb.base/solib-overlap.exp: Likewise.
6419 * gdb.base/solib-weak.exp (do_test): Likewise.
6420 * gdb.base/unload.exp: Likewise.
6421
6422 2016-04-27 Yao Qi <yao.qi@linaro.org>
6423
6424 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6425 exists.
6426
6427 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6428
6429 * vla-type.exp: Print structure from toplevel.
6430
6431 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6432
6433 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6434 of dynamic types.
6435 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6436 of dynamic types.
6437
6438 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6439
6440 * gdb.fortran/vla-type.f90: New file.
6441 * gdb.fortran/vla-type.exp: New file.
6442
6443 2016-04-25 Yao Qi <yao.qi@linaro.org>
6444
6445 * gdb.base/branch-to-self.c: New file.
6446 * gdb.base/branch-to-self.exp: New file.
6447
6448 2016-04-22 Yao Qi <yao.qi@linaro.org>
6449
6450 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6451 more after $hex.
6452
6453 2016-04-22 Yao Qi <yao.qi@linaro.org>
6454
6455 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6456 * gdb.base/annota3.exp: Likewise.
6457
6458 2016-04-22 Yao Qi <yao.qi@linaro.org>
6459
6460 * gdb.reverse/step-precsave.exp: Do one step and test program
6461 stops in "callee" and do multiple steps until program goes out
6462 of "callee".
6463 * gdb.reverse/step-reverse.exp: Likewise.
6464
6465 2016-04-22 Yao Qi <yao.qi@linaro.org>
6466
6467 * gdb.trace/signal.exp: Also pass if
6468 $tracepoint_hits($i) > $iterations.
6469
6470 2016-04-22 Yao Qi <yao.qi@linaro.org>
6471
6472 * gdb.trace/signal.c: New file.
6473 * gdb.trace/signal.exp: New file.
6474
6475 2016-04-19 Doug Evans <xdje42@gmail.com>
6476
6477 * gdb.base/bad-file.exp: New file.
6478
6479 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6480
6481 * gdb.dwarf2/implref.exp: New file.
6482
6483 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6484
6485 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6486 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6487 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6488 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6489 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6490 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6491 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6492 * lib/fortran.exp (fortran_int4): New procedure.
6493 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6494 (fortran_logical4): Likewise.
6495
6496 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6497
6498 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6499
6500 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6501
6502 * lib/compiler.c: Add Intel specific preprocessor macros.
6503 * lib/compiler.cc: Likewise.
6504
6505 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
6506
6507 * gdb.server/connect-with-no-symbol-file.c: New file.
6508 * gdb.server/connect-with-no-symbol-file.exp: New file.
6509
6510 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6511
6512 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6513
6514 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6515
6516 * boards/gdbserver-base.exp (${board}_download): Copy source file to
6517 standard output directory.
6518
6519 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
6520
6521 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6522
6523 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
6524
6525 * gdb.btrace/instruction_history.c (loop): Add declaration.
6526
6527 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6528
6529 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6530
6531 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
6532
6533 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6534 parentheses to print.
6535 (continue_handler): Likewise.
6536
6537 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
6538
6539 * gdb.server/solib-list.exp: Remove is_remote check.
6540 Pass shlib= to gdb_compile. Don't link shared library with
6541 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
6542 Run binary filename through "readlink -f" on the target.
6543
6544 2016-04-08 Pedro Alves <palves@redhat.com>
6545
6546 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
6547 interpreter filename as argument to gdbserver_spawn.
6548 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6549 Return empty if $last_loaded_file does not exist.
6550
6551 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6552
6553 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6554 * gdb.base/jit-main.c: Use exit after usage.
6555
6556 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6557
6558 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6559 GDBHISTSIZE prior to the tests.
6560 * gdb.base/gdbinit-history.exp: Likewise.
6561
6562 2016-04-07 Pedro Alves <palves@redhat.com>
6563
6564 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6565 instead of build_executable. Use gdb_load_shlibs.
6566
6567 2016-04-07 Yao Qi <yao.qi@linaro.org>
6568
6569 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6570 Execute "si" command.
6571
6572 2016-04-07 Yao Qi <yao.qi@linaro.org>
6573
6574 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
6575 number instead of the comments on some line.
6576
6577 2016-04-06 Don Breazeal <donb@codesourcery.com>
6578
6579 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6580 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6581
6582 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6583
6584 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6585 standard_output_file. Remove unused binfile variable.
6586
6587 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
6588
6589 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6590 * gdb.python/py-mi-objfile.exp: Match "list main" output
6591 in console format.
6592
6593 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6594
6595 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6596 absolute.
6597
6598 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6599
6600 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6601 absolute.
6602 * gdb.trace/ftrace.exp: Likewise.
6603 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6604 targets as well.
6605 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6606 (gdb_load_shlibs): Copy libraries to test directory when testing
6607 natively. Only set solib-search-path if testing remotely.
6608 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6609
6610 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6611
6612 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6613 gdb_download. Use it even if the target is not remote.
6614 * gdb.base/jit.exp (compile_jit_test): Likewise.
6615 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6616 output directory if the destination board is local, otherwise use
6617 the standard remote_download from DejaGnu.
6618 (gdb_download): Remove.
6619 (gdb_load_shlibs): Use gdb_remote_download instead of
6620 gdb_download.
6621 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6622 Use gdb_remote_download instead of gdb_download. Use it even if
6623 the target is not remote.
6624 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6625 instead of gdb_download.
6626
6627 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6628
6629 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6630 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6631 run.
6632
6633 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
6634
6635 PR gdb/19820
6636 * gdb.base/printcmds.exp: Add artificial arrays tests.
6637
6638 2016-03-31 Pedro Alves <palves@redhat.com>
6639
6640 PR gdb/19858
6641 * gdb.base/jit-main.c: Include unistd.h.
6642 (ATTACH): Define to 0 if not already defined.
6643 (wait_for_gdb, mypid): New globals.
6644 (WAIT_FOR_GDB): New macro.
6645 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6646 some breakpoint locations.
6647 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6648 New procedures.
6649 (one_jit_test): Add REATTACH parameter, and handle it. Use
6650 continue_to_test_location.
6651 (top level): Test attach, and adjusts calls to one_jit_test.
6652
6653 2016-03-31 Pedro Alves <palves@redhat.com>
6654
6655 PR gdb/19858
6656 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6657 BINSUFFIX parameter, and handle it.
6658 (top level): Adjust calls compile_jit_test.
6659
6660 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
6661
6662 PR python/19743
6663 * gdb.python/py-mi-events-gdb.py: New file.
6664 * gdb.python/py-mi-events.c: New file.
6665 * gdb.python/py-mi-events.exp: New file.
6666
6667 2016-03-30 Yao Qi <yao.qi@linaro.org>
6668
6669 * gdb.reverse/until-precsave.exp: Match function name only.
6670 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6671 Move malloc to a condition block.
6672 * gdb.reverse/until-reverse.exp: Match function name only.
6673
6674 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6675
6676 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6677 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6678 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6679 variable for GPR 0 instead of assuming it is register 0.
6680 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6681 * lib/trace-support.exp: Add s390 registers.
6682
6683 2016-03-29 Yao Qi <yao.qi@linaro.org>
6684
6685 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6686
6687 2016-03-24 Yao Qi <yao.qi@linaro.org>
6688
6689 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6690 test message.
6691
6692 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6693
6694 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6695 maintaining separate logic for constructing the output path.
6696
6697 2016-03-16 Don Breazeal <donb@codesourcery.com>
6698
6699 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6700 Retry fork and waitpid on interrupted system call errors.
6701 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6702 Use with_timeout_factor to increase timeout by factor of 10.
6703
6704 2016-03-15 Don Breazeal <donb@codesourcery.com>
6705
6706 * gdb.cp/scope-err.cc: New test program.
6707 * gdb.cp/scope-err.exp: New test script.
6708 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6709 lines and "set breakpoint here" comment.
6710 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6711 Fixed some whitespace and format issues.
6712 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6713 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6714
6715 2016-03-15 Doug Evans <dje@google.com>
6716
6717 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6718 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6719 All callers updated. Add tests for enums, mixed flags register.
6720
6721 2016-03-15 Doug Evans <dje@google.com>
6722
6723 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6724 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6725
6726 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6727
6728 * gdb.base/default.exp: Add $_as_string to the list of expected
6729 convenience functions.
6730
6731 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6732
6733 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6734
6735 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6736
6737 * gdb.python/py-as-string.exp: New file.
6738 * gdb.python/py-as-string.c: New file.
6739
6740 2016-03-09 Pedro Alves <palves@redhat.com>
6741
6742 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6743 signal" -> "Thread NN received signal" output change.
6744 * gdb.threads/ia64-sigill.exp: Likewise.
6745 * gdb.threads/linux-dp.exp: Likewise.
6746 * gdb.threads/manythreads.exp: Likewise.
6747 * gdb.threads/pending-step.exp: Likewise.
6748 * gdb.threads/print-threads.exp: Likewise.
6749 * gdb.threads/sigstep-threads.exp: Likewise.
6750 * gdb.threads/staticthreads.exp: Likewise.
6751 * gdb.threads/tls.exp: Likewise.
6752
6753 2016-03-09 Pedro Alves <palves@redhat.com>
6754
6755 * gdb.base/command-line-input.exp: New file.
6756
6757 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6758
6759 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6760 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6761 * gdb.trace/pending.exp: Accept leading dot before function name.
6762 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6763 * lib/trace-support.exp: Set registers for ppc.
6764
6765 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6766
6767 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6768 use it for disassembly; accept .main in addition to main in backtrace.
6769
6770 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
6771 Marcin Kościelnicki <koriakin@0x04.net>
6772
6773 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6774 (gdb_recursion_test_ptr): New global variable.
6775 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6776 gdb_recursion_test.
6777 (gdb_c_test): Ditto.
6778
6779 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6780
6781 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6782 ordering.
6783
6784 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6785
6786 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6787 (bar): Add bar_start_lbl label.
6788 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6789 of foo/bar for emitting DWARF and tracing.
6790
6791 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6792
6793 * analyze-racy-logs.py: Set executable bit.
6794
6795 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6796
6797 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6798 (CHECK_TARGET_TMP): Likewise.
6799 (check-single-racy): New rule.
6800 (check-parallel-racy): Likewise.
6801 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6802 (do-check-parallel-racy): New rule.
6803 (check-racy/%.exp): Likewise.
6804 * README (Racy testcases): New section.
6805 * analyze-racy-logs.py: New file.
6806
6807 2016-03-03 Doug Evans <dje@google.com>
6808
6809 * gdb.base/skip.exp: Use with_test_prefix.
6810
6811 2016-03-03 Yao Qi <yao.qi@linaro.org>
6812
6813 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6814 Invoke step_over_syscall "clone" and break_cond_on_syscall
6815 "clone".
6816 * gdb.base/step-over-clone.c: New file.
6817
6818 2016-03-03 Yao Qi <yao.qi@linaro.org>
6819
6820 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6821 code format.
6822
6823 2016-03-03 Yao Qi <yao.qi@linaro.org>
6824
6825 * gdb.base/disp-step-fork.c: Rename to ...
6826 * gdb.base/step-over-fork.c: ... it. New file.
6827 * gdb.base/disp-step-vfork.c: Rename to ...
6828 * gdb.base/step-over-vfork.c: ... it. New file.
6829 * gdb.base/disp-step-syscall.exp: Rename to ...
6830 * gdb.base/step-over-syscall.exp: ... it. New file.
6831 (disp_step_cross_syscall): Rename to ...
6832 (step_over_syscall): ... it.
6833
6834 2016-03-03 Yao Qi <yao.qi@linaro.org>
6835
6836 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6837 If target supports condition evaluation on target, invoke
6838 break_cond_on_syscall for fork and vfork.
6839
6840 2016-03-03 Yao Qi <yao.qi@linaro.org>
6841
6842 * gdb.base/disp-step-syscall.exp: Don't invoke
6843 support_displaced_stepping.
6844 (disp_step_cross_syscall): Test with displaced stepping off and
6845 on if supported.
6846
6847 2016-03-03 Yao Qi <yao.qi@linaro.org>
6848
6849 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6850 proc.
6851 (setup): New proc.
6852 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
6853 and setup.
6854
6855 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6856
6857 * gdb.fortran/vla-history.exp: Remove breakpoint.
6858
6859 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6860
6861 * gdb.fortran/vla-history.exp: Lookup array elements and printing
6862 exceeds timeout.
6863
6864 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6865
6866 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
6867 breakpoint.
6868
6869 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6870
6871 * gdb.mi/vla.f90: Nullify pointer after declaration.
6872
6873 2016-03-01 Pedro Alves <palves@redhat.com>
6874
6875 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
6876
6877 2016-03-01 Pedro Alves <palves@redhat.com>
6878
6879 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
6880 before anything else.
6881 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
6882 _GNU_SOURCE here.
6883 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
6884 before anything else.
6885 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
6886
6887 2016-03-01 Pedro Alves <palves@redhat.com>
6888
6889 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
6890
6891 2016-03-01 Yao Qi <yao.qi@linaro.org>
6892
6893 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
6894 prepare_for_testing.
6895
6896 2016-03-01 Yao Qi <yao.qi@linaro.org>
6897
6898 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
6899
6900 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6901
6902 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
6903 manually constructing the output path.
6904
6905 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6906
6907 * gdb.arch/s390-stackless.S: New.
6908 * gdb.arch/s390-stackless.exp: New.
6909
6910 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
6911
6912 * gdb.dlang/circular.c: New file.
6913 * gdb.dlang/circular.exp: New file.
6914
6915 2016-02-26 Yao Qi <yao.qi@linaro.org>
6916
6917 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
6918 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
6919 (testcases): Update.
6920
6921 2016-02-26 Yao Qi <yao.qi@linaro.org>
6922
6923 * gdb.reverse/aarch64.c: Rename to ...
6924 * gdb.reverse/insn-reverse.c: ... it.
6925 * gdb.reverse/aarch64.exp: Rename to ...
6926 * gdb.reverse/insn-reverse.exp: ... it.
6927
6928 2016-02-26 Yao Qi <yao.qi@linaro.org>
6929
6930 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
6931 (testcase_ftype): New.
6932 (testcases): New array.
6933 (n_testcases): New.
6934 (main): Call each element in testcases.
6935 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
6936 (read_testcase): New.
6937 Do the tests in a loop.
6938
6939 2016-02-25 Yao Qi <yao.qi@linaro.org>
6940
6941 * gdb.base/branches.c: Remove.
6942
6943 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6944
6945 PR gdb/13808
6946 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
6947
6948 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6949
6950 * gdb.trace/ftrace.exp: Remove unnecessary target check.
6951
6952 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6953
6954 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
6955 change x86_64 call_insn to 'callq'.
6956
6957 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6958
6959 * gdb.trace/tfile-avx.c: Move to...
6960 * gdb.trace/tracefile-pseudo-reg.c: Here.
6961 * gdb.trace/tfile-avx.exp: Move to...
6962 * gdb.trace/tracefile-pseudo-reg.exp: Here.
6963
6964 2016-02-24 Gary Benson <gbenson@redhat.com>
6965
6966 * gdb.base/attach-pie-noexec.exp: Do not expect an error
6967 message on attach.
6968
6969 2016-02-23 Doug Evans <dje@google.com>
6970
6971 * gdb.base/skip.c (test_skip): New function.
6972 (end_test_skip_file_and_function): New function.
6973 (test_skip_file_and_function): New function.
6974 * gdb.base/skip1.c (test_skip): New function.
6975 (skip1_test_skip_file_and_function): New function.
6976 * gdb.base/skip.exp: Add tests for new skip options.
6977 * gdb.base/skip-solib.exp: Update expected output.
6978 * gdb.perf/skip-command.cc: New file.
6979 * gdb.perf/skip-command.exp: New file.
6980 * gdb.perf/skip-command.py: New file.
6981
6982 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
6983
6984 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
6985 info registers pattern.
6986
6987 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
6988
6989 * lib/future.exp: Add D support.
6990 (gdb_find_gdc): New proc.
6991 (gdb_default_target_compile): Add D support.
6992
6993 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
6994
6995 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
6996 user+system time.
6997 (trace_speed_test): Determine the iteration count for a time
6998 between 15..30 seconds.
6999
7000 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
7001
7002 * gdb.arch/i386-mpx-sigsegv.c: New file.
7003 * gdb.arch/i386-mpx-sigsegv.exp: New file.
7004 * gdb.arch/i386-mpx-simple_segv.c: New file.
7005 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7006
7007 2016-02-18 Yao Qi <yao.qi@linaro.org>
7008
7009 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7010 Don't call setup_kfail.
7011
7012 2016-02-18 Yao Qi <yao.qi@linaro.org>
7013
7014 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7015 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7016
7017 2016-02-16 Doug Evans <dje@google.com>
7018
7019 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7020 * gdb.base/skip1.c: Ditto.
7021 * gdb.base/skip.exp: Whitespace cleanup.
7022
7023 2016-02-16 Don Breazeal <donb@codesourcery.com>
7024
7025 PR remote/19496
7026 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7027 Remove kfail for PR remote/19496.
7028
7029 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7030
7031 * lib/gdb.exp (standard_temp_file): Return a path specific to
7032 the runtest invocation.
7033
7034 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7035
7036 * gdb.trace/save-trace.exp: Change relative path to be in the
7037 standard output directory.
7038
7039 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7040
7041 * gdb.arch/i386-prologue.c: Add missing prototypes.
7042
7043 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7044
7045 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7046 * gdb.arch/i386-prologue.exp: Likewise.
7047 * gdb.arch/i386-size.exp: Likewise.
7048
7049 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7050
7051 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7052 define object file path.
7053 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7054 file path.
7055 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7056 standard_output_file to define binfile.
7057
7058 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7059
7060 Fix compatibility with recent gfortran-5.3.1.
7061 * gdb.fortran/vla-history.exp (print vla1 allocated)
7062 (print vla2 allocated, print $2, print $3): Remove
7063 (print $4): Rename to ...
7064 (print $2): ... here.
7065 (print $9): Rename to ...
7066 (print $5): ... here.
7067 (print $10): Rename to ...
7068 (print $6): ... here.
7069 * gdb.fortran/vla.f90: Add pvla initialization.
7070
7071 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7072
7073 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7074 New test.
7075 * gdb.fortran/vla-value-sub.exp: Likewise.
7076
7077 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7078
7079 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7080
7081 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7082
7083 * i386-biarch-core.exp: Define corefile using
7084 standard_output_file.
7085
7086 2016-02-12 Yao Qi <yao.qi@linaro.org>
7087
7088 * gdb.arch/arm-single-step-kernel-helper.c: New.
7089 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7090
7091 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7092
7093 * gdb.btrace/tailcall-only.exp: New.
7094 * gdb.btrace/tailcall-only.c: New.
7095 * gdb.btrace/x86_64-tailcall-only.S: New.
7096 * gdb.btrace/i686-tailcall-only.S: New.
7097
7098 2016-02-11 Pedro Alves <palves@redhat.com>
7099
7100 * README (Parallel testing): Add missing double quotes.
7101
7102 2016-02-11 Pedro Alves <palves@redhat.com>
7103
7104 * README (Parallel testing): New section.
7105 (GDB_PARALLEL): Rewrite.
7106 (FORCE_PARALLEL): Document.
7107
7108 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7109
7110 * gdb.trace/tfile-avx.c: New test.
7111 * gdb.trace/tfile-avx.exp: New test.
7112
7113 2016-02-09 Keith Seitz <keiths@redhat.com>
7114
7115 PR breakpoints/19546
7116 * gdb.base/infcall-exec.c: New file.
7117 * gdb.base/infcall-exec2.c: New file.
7118 * gdb.base/infcall-exec.exp: New file.
7119
7120 2016-02-09 Keith Seitz <keiths@redhat.com>
7121
7122 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7123 (toplevel): Call test_bkpt_address.
7124
7125 2016-02-09 Keith Seitz <keiths@redhat.com>
7126
7127 PR python/19506
7128 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7129 (toplevel): Call test_bkpt_address.
7130
7131 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7132
7133 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7134 to AC_OUTPUT.
7135 * configure: Regenerate.
7136
7137 2016-02-09 Pedro Alves <palves@redhat.com>
7138
7139 PR breakpoints/19548
7140 * gdb.base/execl-update-breakpoints.c (some_function): New
7141 function.
7142 (main): Call it.
7143 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7144 Tighten expected GDB output.
7145
7146 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7147
7148 * Makefile.in (ALL_SUBDIRS): Remove.
7149 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7150 (distclean maintainer-clean realclean): Likewise.
7151 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7152 * configure: Regenerate.
7153 * gdb.ada/Makefile.in: Delete.
7154 * gdb.arch/Makefile.in: Likewise.
7155 * gdb.asm/Makefile.in: Likewise.
7156 * gdb.base/Makefile.in: Likewise.
7157 * gdb.btrace/Makefile.in: Likewise.
7158 * gdb.cell/Makefile.in: Likewise.
7159 * gdb.compile/Makefile.in: Likewise.
7160 * gdb.cp/Makefile.in: Likewise.
7161 * gdb.disasm/Makefile.in: Likewise.
7162 * gdb.dlang/Makefile.in: Likewise.
7163 * gdb.dwarf2/Makefile.in: Likewise.
7164 * gdb.fortran/Makefile.in: Likewise.
7165 * gdb.gdb/Makefile.in: Likewise.
7166 * gdb.go/Makefile.in: Likewise.
7167 * gdb.guile/Makefile.in: Likewise.
7168 * gdb.java/Makefile.in: Likewise.
7169 * gdb.linespec/Makefile.in: Likewise.
7170 * gdb.mi/Makefile.in: Likewise.
7171 * gdb.modula2/Makefile.in: Likewise.
7172 * gdb.multi/Makefile.in: Likewise.
7173 * gdb.objc/Makefile.in: Likewise.
7174 * gdb.opencl/Makefile.in: Likewise.
7175 * gdb.opt/Makefile.in: Likewise.
7176 * gdb.pascal/Makefile.in: Likewise.
7177 * gdb.perf/Makefile.in: Likewise.
7178 * gdb.python/Makefile.in: Likewise.
7179 * gdb.reverse/Makefile.in: Likewise.
7180 * gdb.server/Makefile.in: Likewise.
7181 * gdb.stabs/Makefile.in: Likewise.
7182 * gdb.threads/Makefile.in: Likewise.
7183 * gdb.trace/Makefile.in: Likewise.
7184 * gdb.xml/Makefile.in: Likewise.
7185 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7186 GDB_PARALLEL.
7187 (standard_output_file): Remove check for GDB_PARALLEL, always
7188 return path in outputs/$subdir/$testname.
7189
7190 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7191
7192 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7193 (site.exp): Assign abs_srcdir to tcl's srcdir.
7194
7195 2016-02-04 Yao Qi <yao.qi@linaro.org>
7196
7197 * gdb.base/foll-exec-mode.c: Include limits.h.
7198 (main): Add parameters argc and argv. Get directory from
7199 argv[0].
7200 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7201 compilation.
7202 * gdb.base/foll-exec.c: Include limits.h.
7203 (main): Add parameters argc and argv.
7204 Get directory from argv[0].
7205 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7206 Adjust tests on the number of lines as source code changed.
7207 * gdb.base/foll-vfork-exit.c: Include limits.h.
7208 (main): Add one line of statement before vfork.
7209 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7210 (main): Add parameters argc and argv. Get directory from
7211 argv[0].
7212 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7213 (setup_gdb): Set tbreak to skip some source lines.
7214 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7215 (main): Add parameters argc and argv. Get directory from
7216 argv[0].
7217 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7218 compilation.
7219 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7220 (main): Add parameters argc and argv. Get directory from
7221 argv[0].
7222 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7223 compilation.
7224
7225 2016-02-01 Doug Evans <dje@google.com>
7226
7227 * gdb.base/skip.exp: Clean up multiple references to same test name.
7228
7229 2016-02-01 Pedro Alves <palves@redhat.com>
7230
7231 PR remote/19496
7232 * gdb.threads/forking-threads-plus-breakpoint.exp
7233 (displaced_stepping_supported): New global.
7234 (probe_displaced_stepping_support): New procedure.
7235 (do_test): Add 'displaced' parameter, and use it.
7236 (top level): Check for displaced stepping support. Add displaced
7237 stepping on/off testing axis.
7238
7239 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7240
7241 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7242 pointer. Don't perform further tests on the unassociated pointer
7243 if the first test fails.
7244
7245 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7246
7247 * gdb.base/max-value-size.c: New file.
7248 * gdb.base/max-value-size.exp: New file.
7249 * gdb.base/huge.exp: Disable max-value-size for this test.
7250
7251 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7252
7253 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7254
7255 2016-01-28 Yao Qi <yao.qi@linaro.org>
7256
7257 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7258
7259 2016-01-25 Pedro Alves <palves@redhat.com>
7260
7261 PR threads/19461
7262 * gdb.base/fork-running-state.c: New file.
7263 * gdb.base/fork-running-state.exp: New file.
7264
7265 2016-01-25 Pedro Alves <palves@redhat.com>
7266
7267 PR gdb/19494
7268 * gdb.base/catch-fork-kill.c: New file.
7269 * gdb.base/catch-fork-kill.exp: New file.
7270
7271 2016-01-25 Pedro Alves <palves@redhat.com>
7272
7273 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7274 Delete, moved to lib/gdb.exp.
7275 * gdb.threads/forking-threads-plus-breakpoint.exp
7276 (foreach_with_prefix): Likewise.
7277 * gdb.threads/process-dies-while-handling-bp.exp
7278 (foreach_with_prefix): Likewise.
7279 * lib/gdb.exp (foreach_with_prefix): New procedure.
7280
7281 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7282
7283 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7284 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7285
7286 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7287
7288 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7289 endian targets.
7290
7291 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7292 Pedro Alves <palves@redhat.com>
7293
7294 Fix testsuite compatibility with Guile.
7295 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7296 number.
7297
7298 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7299
7300 Fix testsuite compatibility with Guile.
7301 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7302 (thread 1): New test for backtrace through signal handler.
7303
7304 2016-01-22 Yao Qi <yao.qi@linaro.org>
7305
7306 PR testsuite/19491
7307 * gdb.base/multi-forks.c: Include
7308 ../lib/unbuffer_output.c
7309 (main): Call gdb_unbuffer_output.
7310
7311 2016-01-21 Doug Evans <dje@google.com>
7312
7313 * lib/ada.exp (gdb_compile_ada): Fix typo.
7314
7315 2016-01-21 Joel Brobecker <brobecker@adacore.com>
7316
7317 * gdb.base/break-fun-addr.exp: New file.
7318 * gdb.base/break-fun-addr1.c: New file.
7319 * gdb.base/break-fun-addr2.c: New file.
7320
7321 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7322
7323 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7324 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7325 enum flag values.
7326
7327 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7328
7329 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7330 when GDB can not set the vector return value. Add more comments
7331 for clarification.
7332
7333 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7334
7335 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7336 command.
7337
7338 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7339
7340 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7341
7342 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7343
7344 * Makefile.in (check-single): Pass --status to runtest.
7345 (check/%.exp): Likewise.
7346
7347 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7348
7349 * Makefile.in (check-parallel): Propagate return code from make
7350 do-check-parallel.
7351
7352 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7353
7354 * gdb.trace/ftrace.exp: Fix expected message on continue.
7355 * gdb.trace/pending.exp: Fix expected message on continue.
7356 * gdb.trace/trace-break.exp: Fix expected message on continue.
7357
7358 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7359
7360 * lib/gdb.exp (gdb_test): Remove unused global references.
7361
7362 2016-01-18 Pedro Alves <palves@redhat.com>
7363
7364 * gdb.base/async-shell.exp: Adjust expected output.
7365 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7366 * gdb.base/siginfo-thread.exp: Adjust expected output.
7367 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7368 * gdb.java/jnpe.exp: Adjust expected output.
7369 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7370 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7371 * gdb.threads/leader-exit.exp: Adjust expected output.
7372 * gdb.threads/manythreads.exp: Adjust expected output.
7373 * gdb.threads/pthreads.exp: Adjust expected output.
7374 * gdb.threads/schedlock.exp: Adjust expected output.
7375 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7376 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7377 expected output.
7378 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7379 output.
7380 * gdb.threads/sigthread.exp: Adjust expected output.
7381 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7382
7383 2016-01-18 Yao Qi <yao.qi@linaro.org>
7384
7385 * gdb.guile/scm-section-script.c: Replace @progbits with
7386 %progbits.
7387 * gdb.python/py-section-script.c: Likewise.
7388
7389 2016-01-15 Pedro Alves <palves@redhat.com>
7390
7391 * gdb.multi/tids.exp: Test star wildcard ranges.
7392
7393 2016-01-15 Pedro Alves <palves@redhat.com>
7394
7395 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7396 command from "thread apply" invocation.
7397 (thr_apply_info_thr_invalid): Default the expected output to the
7398 input tid list.
7399 (top level): Add tests that use convenience variables. Add tests
7400 for "thread apply" with a valid TID list, but missing the command.
7401
7402 2016-01-13 Pedro Alves <palves@redhat.com>
7403
7404 * gdb.base/default.exp: Expect $_gthread as well.
7405 * gdb.multi/tids.exp: Test $_gthread.
7406 * gdb.threads/thread-specific.exp: Test $_gthread.
7407
7408 2016-01-13 Pedro Alves <palves@redhat.com>
7409
7410 * gdb.multi/tids.exp: Test "info threads -gid".
7411
7412 2016-01-13 Pedro Alves <palves@redhat.com>
7413
7414 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7415 Breakpoint.thread.
7416 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7417
7418 2016-01-07 Pedro Alves <palves@redhat.com>
7419
7420 * gdb.base/break.exp: Adjust to output changes.
7421 * gdb.base/hbreak2.exp: Likewise.
7422 * gdb.base/sepdebug.exp: Likewise.
7423 * gdb.base/watch_thread_num.exp: Likewise.
7424 * gdb.linespec/keywords.exp: Likewise.
7425 * gdb.multi/info-threads.exp: Likewise.
7426 * gdb.threads/thread-find.exp: Likewise.
7427 * gdb.multi/tids.c: New file.
7428 * gdb.multi/tids.exp: New file.
7429
7430 2016-01-13 Pedro Alves <palves@redhat.com>
7431
7432 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7433
7434 2016-01-13 Pedro Alves <palves@redhat.com>
7435
7436 * gdb.base/default.exp: Expect $_inferior as well.
7437 * gdb.multi/base.exp: Test $_inferior.
7438
7439 2016-01-13 Pedro Alves <palves@redhat.com>
7440
7441 PR breakpoints/19388
7442 * gdb.base/catch-signal-siginfo-cond.c: New file.
7443 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7444
7445 2016-01-12 Josh Stone <jistone@redhat.com>
7446 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7447
7448 * gdb.base/catch-syscall.c (do_execve): New variable.
7449 (main): Conditionally trigger an execve.
7450 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7451 (test_catch_syscall_execve): New, check entry/return across execve.
7452 (do_syscall_tests): Call test_catch_syscall_execve.
7453
7454 2016-01-12 Pedro Alves <palves@redhat.com>
7455
7456 * gdb.base/random-signal.exp (do_test): New procedure, with body
7457 of testcase moved in.
7458
7459 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7460 Pedro Alves <palves@redhat.com>
7461
7462 * gdb.base/funcargs.exp (finish from indirectly called function):
7463 Reintroduce the case for 'First'.
7464
7465 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7466 Pedro Alves <palves@redhat.com>
7467
7468 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7469 (tcatch_vfork_then_child_follow_exec)
7470 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7471 identification.
7472
7473 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7474
7475 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7476 and repeats to unlimited.
7477 * gdb.python/py-value.exp: Likewise.
7478 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7479 and repeats to unlimited.
7480
7481 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7482
7483 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7484 and reordering the functions.
7485 * gdb.multi/hangout.c: Likewise.
7486 * gdb.multi/hello.c: Likewise.
7487
7488 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7489
7490 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7491 absolute.
7492 (SingleStatisticTestResult.report): Use dict.keys instead of
7493 dict.iterkeys.
7494
7495 2016-01-06 Pedro Alves <palves@redhat.com>
7496
7497 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7498
7499 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7500
7501 * gdb.btrace/dlopen.exp: New.
7502 * gdb.btrace/dlopen.c: New.
7503 * gdb.btrace/dlopen-dso.c: New.
7504
7505 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
7506
7507 * lib/gdb.exp (gdb_test): Update comments to clarify that the
7508 PATTERN argument is optional.
7509
7510 2015-12-24 Joel Brobecker <brobecker@adacore.com>
7511
7512 * lib/ada.exp (target_compile_ada_from_dir): New function.
7513 (gdb_compile_ada): Reimplement avoiding the use of project files.
7514 * gdb.ada/gnat_ada.gpr: Delete.
7515 * gdb.ada/cond_lang.exp: Adjust test to make path before
7516 filename optional.
7517 * gdb.ada/small_reg_param.exp: Likewise.
7518
7519 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
7520
7521 * gdb.base/foll-vork.exp: Remove HP-UX special case.
7522
7523 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
7524
7525 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7526 case.
7527
7528 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
7529
7530 * gdb.base/break.exp: Remove dead code.
7531 * gdb.base/sepdebug.exp: Likewise.
7532
7533 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7534
7535 * gdb.asm/asm-source.exp: Remove HP-UX references.
7536 * gdb.base/annota1.exp: Likewise.
7537 * gdb.base/annota3.exp: Likewise.
7538 * gdb.base/attach.exp: Likewise.
7539 * gdb.base/bigcore.exp: Likewise.
7540 * gdb.base/break.exp: Likewise.
7541 * gdb.base/call-ar-st.exp: Likewise.
7542 * gdb.base/callfuncs.exp: Likewise.
7543 * gdb.base/catch-fork-static.exp: Likewise.
7544 * gdb.base/display.exp: Likewise.
7545 * gdb.base/foll-exec-mode.exp: Likewise.
7546 * gdb.base/foll-exec.exp: Likewise.
7547 * gdb.base/foll-fork.exp: Likewise.
7548 * gdb.base/foll-vfork.exp: Likewise.
7549 * gdb.base/funcargs.exp: Likewise.
7550 * gdb.base/hbreak2.exp: Likewise.
7551 * gdb.base/inferior-died.exp: Likewise.
7552 * gdb.base/interrupt.exp: Likewise.
7553 * gdb.base/multi-forks.exp: Likewise.
7554 * gdb.base/nodebug.exp: Likewise.
7555 * gdb.base/sepdebug.exp: Likewise.
7556 * gdb.base/solib1.c: Likewise.
7557 * gdb.base/step-test.exp: Likewise.
7558 * gdb.mi/non-stop.c: Likewise.
7559 * gdb.mi/pthreads.c: Likewise.
7560 * gdb.multi/bkpt-multi-exec.ex: Likewise.
7561 * gdb.threads/pthreads.c: Likewise.
7562 * gdb.threads/staticthreads.exp: Likewise.
7563 * lib/future.exp: Likewise.
7564 * lib/gdb.exp: Likewise.
7565 * gdb.base/so-indr-cl.c: Remove.
7566 * gdb.base/so-indr-cl.exp: Likewise.
7567 * gdb.base/solib.c: Likewise.
7568 * gdb.base/solib.exp: Likewise.
7569 * gdb.base/solib2.c: Likewise.
7570
7571 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7572
7573 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7574 * gdb.base/call-ar-st.exp: Likewise.
7575 * gdb.base/callfuncs.exp: Likewise.
7576 * gdb.base/condbreak.exp: Likewise.
7577 * gdb.base/constvars.exp: Likewise.
7578 * gdb.base/hbreak2.exp: Likewise.
7579 * gdb.base/langs.exp: Likewise.
7580 * gdb.base/list.exp: Likewise.
7581 * gdb.base/long_long.exp: Likewise.
7582 * gdb.base/ptype.exp: Likewise.
7583 * gdb.base/scope.exp: Likewise.
7584 * gdb.base/signals.exp: Likewise.
7585 * gdb.base/so-impl-ld.exp: Likewise.
7586 * gdb.base/varargs.exp: Likewise.
7587 * gdb.base/volatile.exp: Likewise.
7588 * gdb.base/whatis.exp: Likewise.
7589 * gdb.cp/cplusfuncs.exp: Likewise.
7590 * gdb.cp/inherit.exp: Likewise.
7591 * gdb.cp/local.exp: Likewise.
7592 * gdb.cp/member-ptr.exp: Likewise.
7593 * gdb.cp/method.exp: Likewise.
7594 * gdb.cp/overload.exp: Likewise.
7595 * gdb.cp/templates.exp: Likewise.
7596 * gdb.stabs/weird.exp: Likewise.
7597 * lib/compiler.c: Likewise.
7598 * lib/compiler.cc: Likewise.
7599 * lib/cp-support.exp: Likewise.
7600 * lib/gdb.exp: Likewise.
7601
7602 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7603
7604 * configure.ac: Remove HP-UX case.
7605 * configure: Regenerate.
7606
7607 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7608
7609 * lib/gdb.exp (gdb_compile): Add function doc.
7610
7611 2015-12-17 Pedro Alves <palves@redhat.com>
7612
7613 PR threads/19354
7614 * gdb.multi/info-threads.exp: New file.
7615
7616 2015-12-15 Yao Qi <yao.qi@linaro.org>
7617
7618 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7619 is aarch64*-*-*.
7620
7621 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7622
7623 * gdb.base/history-duplicates.exp: Skip if no readline support.
7624
7625 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7626
7627 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7628
7629 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7630
7631 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7632
7633 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7634
7635 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7636 ctrl-C if nointerrupts target property is set.
7637 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7638 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7639 * gdb.base/paginate-bg-execution.exp: Likewise.
7640 * gdb.base/paginate-execution-startup.exp: Likewise.
7641 * gdb.base/random-signal.exp: Likewise.
7642 * gdb.base/range-stepping.exp: Likewise.
7643 * gdb.cp/annota2.exp: Likewise.
7644 * gdb.cp/annota3.exp: Likewise.
7645 * gdb.gdb/selftest.exp: Likewise.
7646 * gdb.threads/continue-pending-status.exp: Likewise.
7647 * gdb.threads/leader-exit.exp: Likewise.
7648 * gdb.threads/manythreads.exp: Likewise.
7649 * gdb.threads/pthreads.exp: Likewise.
7650 * gdb.threads/schedlock.exp: Likewise.
7651 * gdb.threads/sigthread.exp: Likewise.
7652
7653 2015-12-11 Don Breazeal <donb@codesourcery.com>
7654
7655 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7656 remote.
7657 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7658 * gdb.base/foll-exec.exp (main): Enable for target remote.
7659 * gdb.base/foll-fork.exp (main): Likewise.
7660 * gdb.base/foll-vfork.exp (main): Likewise.
7661 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7662 (proc continue_to_exit_bp_loc): Use clean_restart.
7663 * gdb.base/pie-execl.exp (main): Disable for target remote.
7664 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7665 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7666 * gdb.threads/execl.exp (main): Likewise.
7667 * gdb.threads/fork-child-threads.exp (main): Likewise.
7668 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7669 remote.
7670 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7671 remote.
7672 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7673 pid.tid style ptids, instead of just tid.
7674 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7675 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7676 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7677 ptids, instead of just tid.
7678
7679 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7680
7681 * gdb.base/list.exp (test_list_forward): Add end of file error
7682 test.
7683 (test_repeat_list_command): Add end of file error test.
7684 (test_list_backwards): Add beginning of file error test.
7685
7686 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7687
7688 * gdb.base/list.exp (test_list_invalid_args): New function,
7689 defined, and called.
7690
7691 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7692
7693 * gdb.base/list.exp (test_list): Make test names unique.
7694
7695 2015-12-11 Yao Qi <yao.qi@linaro.org>
7696
7697 * gdb.base/coremaker2.c: Remove.
7698
7699 2015-12-10 Pedro Alves <palves@redhat.com>
7700
7701 * gdb.multi/base.exp: Remove stale "spaces" references.
7702
7703 2015-12-10 Pedro Alves <palves@redhat.com>
7704
7705 * gdb.multi/base.exp: Don't use nowarnings.
7706 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7707 * gdb.multi/hangout.c: Include stdio.h.
7708 * gdb.multi/hello.c: Include stdlib.h.
7709 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7710 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7711 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7712
7713 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7714
7715 * gdb.dwarf2/dw2-ranges-base.c: New file.
7716 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7717 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7718 support additional line table, and debug ranges generation.
7719 (Dwarf::ranges): New function, generate .debug_ranges.
7720 (Dwarf::lines): Support generating simple line table programs.
7721 (Dwarf::assemble): Initialise new namespace variables.
7722
7723 2015-12-09 Kevin Buettner <kevinb@redhat.com>
7724
7725 * gdb.base/async.exp (proc test_background): Add case for
7726 asynchronous execution not supported.
7727
7728 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
7729
7730 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7731 format and change test names to make them unique.
7732
7733 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7734 Pedro Alves <pedro@redhat.com>
7735
7736 PR gdb/18702
7737 Add checking of floatformats setup on x86_64 hosts.
7738 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7739 (smallval, bigval): New labels/constants.
7740 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7741 float" after loading bigval and smallval.
7742
7743 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7744
7745 * gdb.ada/fun_overload_menu.exp: New testcase.
7746 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7747
7748 2015-12-04 Josh Stone <jistone@redhat.com>
7749
7750 * gdb.base/catch-fork-static.exp: New.
7751
7752 2015-12-03 Yao Qi <yao.qi@linaro.org>
7753
7754 * gdb.base/sizeof.c: Don't include stdio.h and
7755 ../lib/unbuffer_output.c.
7756 (main): New variable 'size' and 'value'. Remove printf and
7757 gdb_unbuffer_output. Assign return value to size and value.
7758 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7759 at the beginning.
7760 (check_sizeof): Check the result by printing variable 'size'.
7761 (check_valueof): Check the result by printing variable 'value'.
7762
7763 2015-12-01 Yao Qi <yao.qi@linaro.org>
7764
7765 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7766 for aarch64*-*-linux* target.
7767
7768 2015-11-30 Pedro Alves <palves@redhat.com>
7769
7770 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7771
7772 2015-11-30 Pedro Alves <palves@redhat.com>
7773
7774 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7775 Handle non-stop mode vCont replies.
7776
7777 2015-11-30 Pedro Alves <palves@redhat.com>
7778
7779 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7780 prepare_for_testing. Start gdb with "set non-stop on" appended to
7781 GDBFLAGS. Lax expected stop output.
7782
7783 2015-11-27 Yao Qi <yao.qi@linaro.org>
7784
7785 * gdb.arch/arm-neon.exp: New.
7786 * gdb.arch/arm-neon.c: New.
7787
7788 2015-11-27 Yao Qi <yao.qi@linaro.org>
7789
7790 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7791
7792 2015-11-27 Yao Qi <yao.qi@linaro.org>
7793
7794 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7795 frames-invalid annotation.
7796
7797 2015-11-27 Yao Qi <yao.qi@linaro.org>
7798
7799 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7800
7801 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7802
7803 * gdb.threads/names.exp: New file.
7804 * gdb.threads/names.c: New file.
7805 * README: Mention gdb,no_thread_names.
7806
7807 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7808
7809 PR 19297
7810 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7811 support" error.
7812
7813 2015-11-24 Pedro Alves <palves@redhat.com>
7814
7815 PR 17539
7816 * gdb.base/display.exp: Expect displays to be sorted in ascending
7817 order. Use multi_line.
7818 * gdb.base/solib-display.exp: Likewise.
7819
7820 2015-11-24 Pedro Alves <palves@redhat.com>
7821
7822 PR 17539
7823 * gdb.base/display.exp: Expect displays to be sorted in ascending
7824 order. Use multi_line.
7825 * gdb.base/solib-display.exp: Likewise.
7826
7827 2015-11-24 Pedro Alves <palves@redhat.com>
7828
7829 PR 17539
7830 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7831 threads in ascending order.
7832 * gdb.base/foll-fork.exp: Likewise.
7833 * gdb.base/foll-vfork.exp: Likewise.
7834 * gdb.base/multi-forks.exp: Likewise.
7835 * gdb.mi/mi-nonstop.exp: Likewise.
7836 * gdb.mi/mi-nsintrall.exp: Likewise.
7837 * gdb.multi/base.exp: Likewise.
7838 * gdb.multi/multi-arch.exp: Likewise.
7839 * gdb.python/py-inferior.exp: Likewise.
7840 * gdb.threads/break-while-running.exp: Likewise.
7841 * gdb.threads/execl.exp: Likewise.
7842 * gdb.threads/gcore-thread.exp: Likewise.
7843 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7844 * gdb.threads/kill.exp: Likewise.
7845 * gdb.threads/linux-dp.exp: Likewise.
7846 * gdb.threads/multiple-step-overs.exp: Likewise.
7847 * gdb.threads/next-bp-other-thread.exp: Likewise.
7848 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7849 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7850 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7851 * gdb.threads/thread-find.exp: Likewise.
7852 * gdb.threads/tls.exp: Likewise.
7853 * lib/mi-support.exp (mi_reverse_list): Delete.
7854 (mi_check_thread_states): No longer reverse list.
7855
7856 2015-11-24 Pedro Alves <palves@redhat.com>
7857
7858 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
7859 use lowercase.
7860
7861 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7862
7863 * gdb.trace/actions.c: Include trace-common.h.
7864 (main): Add a location for a fast tracepoint.
7865 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
7866 the normal tracepoints.
7867 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
7868
7869 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7870
7871 * save-trace.exp: Factor out code to these...
7872 (gdb_save_tracepoints): New.
7873 (gdb_load_tracepoints): New.
7874 (do_save_load_test): New.
7875
7876 2015-11-23 Kevin Buettner <kevinb@redhat.com>
7877
7878 * gdb.base/asmlabel.exp: New test.
7879 * gdb.base/asmlabel.c: New test case.
7880
7881 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7882
7883 * gdb.base/wrong_frame_bt_full-main.c: New file.
7884 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
7885 * gdb.base/wrong_frame_bt_full.exp: New file.
7886
7887 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7888
7889 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
7890
7891 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7892
7893 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
7894 pstate register when comparing registers values in
7895 sparc64-*-linux-gnu targets to avoid spurious differences.
7896
7897 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7898
7899 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
7900
7901 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
7902
7903 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
7904 as type argument to gdb_compile.
7905 * gdb.base/nested-subp2.exp: Likewise.
7906 * gdb.base/nested-subp3.exp: Likewise.
7907
7908 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
7909
7910 * lib/dwarf.exp (_note): Fix left shift of negative value.
7911 * gdb.trace/trace-condition.exp: Likewise.
7912
7913 2015-11-13 Yao Qi <yao.qi@linaro.org>
7914
7915 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
7916 comments about d10v.
7917 (test_scalar_returns): Likewise.
7918 * gdb.base/d10v.ld: Remove.
7919 * gdb.base/overlays.exp: Remove the target triplet checking for
7920 d10v-*-*.
7921 * gdb.base/structs.exp (test_struct_returns): Remove the
7922 comments about d10v.
7923 (test_struct_calls): Likewise.
7924
7925 2015-11-13 Yao Qi <yao.qi@linaro.org>
7926
7927 * gdb.base/gnu_vector.exp: Check the return value by "p res".
7928 * gdb.base/gnu_vector.c: Don't include stdio.h.
7929 (main): Don't print res and call add_some_intvecs.
7930
7931 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
7932
7933 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
7934 macro.
7935 (func5): Removed.
7936 (func4): Use FAST_TRACEPOINT_LABEL.
7937 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
7938 macro.
7939 (func): Removed.
7940 (thread_function): Use FAST_TRACEPOINT_LABEL.
7941 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
7942 (func): Remove.
7943 (marker): Use FAST_TRACEPOINT_LABEL.
7944 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
7945 (pendfunc1): Remove.
7946 (pendfunc): Use FAST_TRACEPOINT_LABEL.
7947 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
7948 (foo): Remove.
7949 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
7950 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
7951 macro.
7952 (func): Remove.
7953 (marker): Use FAST_TRACEPOINT_LABEL.
7954 * gdb.trace/trace-common.h: New header.
7955 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
7956 macro.
7957 (func): Remove.
7958 (marker): Use FAST_TRACEPOINT_LABEL.
7959 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
7960 (func): Remove.
7961 (thread_function): Use FAST_TRACEPOINT_LABEL.
7962
7963 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
7964
7965 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
7966 in front.
7967 * gdb.trace/change-loc.exp: Use global pcreg definition.
7968 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
7969 * gdb.trace/entry-values.exp: Use global spreg definition, add $
7970 in front.
7971 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
7972 * gdb.trace/pending.exp: Likewise.
7973 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
7974 * gdb.trace/trace-break.exp: Likewise.
7975 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
7976 in front.
7977 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
7978 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
7979 in front.
7980 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
7981
7982 2015-11-09 Joel Brobecker <brobecker@adacore.com>
7983
7984 * gdb.ada/fin_fun_out: New testcase.
7985
7986 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7987
7988 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
7989 value associated with DW_AT_byte_size.
7990 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
7991 constants for DW_AT_byte_size, DW_AT_lower_bound, and
7992 DW_AT_upper_bound.
7993
7994 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7995
7996 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
7997 (gdb_target_symbol_prefix_flags): Define in terms of _asm
7998 version.
7999 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8000 gdb.dwarf2/dw2-canonicalize-type.exp,
8001 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8002 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8003 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8004 provided by gdb_target_symbol_prefix_flags_asm.
8005 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8006 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8007 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8008 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8009 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8010 macros where needed). Use this macro for symbols which require
8011 the prefix provided by SYMBOL_PREFIX.
8012
8013 2015-11-05 Kevin Buettner <kevinb@redhat.com>
8014
8015 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8016 New procs.
8017 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8018 representing expressions, of more than one list element.
8019 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8020 to prepend linker symbol prefix to f.
8021 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8022 table_1 and table_2.
8023 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8024 Likewise, for f and g.
8025 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8026 for ptr.
8027 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8028 for main.
8029 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8030 table_1_ptr and table_2_ptr.
8031
8032 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8033 Joel Brobecker <brobecker@adacore.com>
8034
8035 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8036
8037 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8038
8039 * gdb.reverse/s390-mvcle.c: New test.
8040 * gdb.reverse/s390-mvcle.exp: New file.
8041 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8042
8043 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8044
8045 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8046
8047 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8048
8049 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8050 reaching marker2.
8051 * gdb.reverse/getresuid-reverse.exp: Likewise.
8052 * gdb.reverse/pipe-reverse.exp: Likewise.
8053 * gdb.reverse/readv-reverse.exp: Likewise.
8054 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8055 * gdb.reverse/time-reverse.exp: Likewise.
8056 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8057
8058 2015-10-30 Yao Qi <yao.qi@linaro.org>
8059
8060 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8061 (empty_cycle): Remove.
8062 (main): Don't call empty_cycle. Don't use watch_count_done.
8063 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8064 empty_cycle. Rewrite the code counting HW watchpoints.
8065
8066 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8067
8068 * gdb.reverse/fstatat-reverse.c: New test.
8069 * gdb.reverse/fstatat-reverse.exp: New file.
8070 * gdb.reverse/getresuid-reverse.c: New test.
8071 * gdb.reverse/getresuid-reverse.exp: New file.
8072 * gdb.reverse/pipe-reverse.c: New test.
8073 * gdb.reverse/pipe-reverse.exp: New file.
8074 * gdb.reverse/readv-reverse.c: New test.
8075 * gdb.reverse/readv-reverse.exp: New file.
8076 * gdb.reverse/recvmsg-reverse.c: New test.
8077 * gdb.reverse/recvmsg-reverse.exp: New file.
8078 * gdb.reverse/time-reverse.c: New test.
8079 * gdb.reverse/time-reverse.exp: New file.
8080 * gdb.reverse/waitpid-reverse.c: New test.
8081 * gdb.reverse/waitpid-reverse.exp: New file.
8082
8083 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8084
8085 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8086
8087 2015-10-26 Doug Evans <dje@google.com>
8088
8089 PR symtab/17391
8090 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8091 * gdb.dwarf2/bad-regnum.c: New file.
8092 * gdb.dwarf2/bad-regnum.exp: New file.
8093
8094 2015-10-26 Doug Evans <dje@google.com>
8095
8096 PR python/18938
8097 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8098 file.
8099
8100 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8101
8102 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8103 for a change by "Mention language in compile error message".
8104
8105 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8106
8107 PR python/18073
8108 * gdb.python/py-type.c (C::a_method): New.
8109 (C::a_const_method): New.
8110 (C::a_static_method): New.
8111 (a_function): New.
8112 * gdb.python/py-type.exp (test_fields): Test getting fields
8113 from function and method.
8114
8115 2015-10-21 Keven Boell <keven.boell@intel.com>
8116
8117 * gdb.fortran/vla-alloc-assoc.exp: New file.
8118 * gdb.fortran/vla-datatypes.exp: New file.
8119 * gdb.fortran/vla-datatypes.f90: New file.
8120 * gdb.fortran/vla-history.exp: New file.
8121 * gdb.fortran/vla-ptype-sub.exp: New file.
8122 * gdb.fortran/vla-ptype.exp: New file.
8123 * gdb.fortran/vla-sizeof.exp: New file.
8124 * gdb.fortran/vla-sub.f90: New file.
8125 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8126 * gdb.fortran/vla-value-sub-finish.exp: New file.
8127 * gdb.fortran/vla-value-sub.exp: New file.
8128 * gdb.fortran/vla-value.exp: New file.
8129 * gdb.fortran/vla-ptr-info.exp: New file.
8130 * gdb.mi/mi-vla-fortran.exp: New file.
8131 * gdb.mi/vla.f90: New file.
8132
8133 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8134
8135 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8136 of hardwired timeout value.
8137
8138 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8139 Pedro Alves <palves@redhat.com>
8140
8141 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8142 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8143
8144 2015-10-19 Josh Stone <jistone@redhat.com>
8145
8146 * gdb.base/catch-syscall.c: Include <sched.h>.
8147 (unknown_syscall): New variable.
8148 (main): Trigger a vfork and an unknown syscall.
8149 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8150 (unknown_syscall_number): Likewise.
8151 (check_call_to_syscall): Accept an optional syscall pattern.
8152 (check_return_from_syscall): Likewise.
8153 (check_continue): Likewise.
8154 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8155 (test_catch_syscall_skipping_return): New test toggling off 'catch
8156 syscall' to step over the syscall return, then toggling back on.
8157 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8158 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8159 (do_syscall_tests): Call test_catch_syscall_without_args and
8160 test_catch_syscall_mid_vfork.
8161 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8162 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8163
8164 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
8165
8166 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8167 print g_vE): Add new pass patterns.
8168 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8169 print various symbol names for vptr fields.
8170
8171 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8172
8173 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8174 results.
8175
8176 2015-10-12 Yao Qi <yao.qi@linaro.org>
8177
8178 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8179
8180 2015-10-12 Yao Qi <yao.qi@linaro.org>
8181
8182 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8183 is aarch64*-*-linux*.
8184
8185 2015-10-12 Yao Qi <yao.qi@linaro.org>
8186
8187 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8188 (can_relocate_bcond_true): ... it.
8189 (can_relocate_bcond_false): New function.
8190 (foo): Likewise.
8191 (can_relocate_bl): Likewise.
8192 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8193 can_relocate_bl.
8194
8195 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8196
8197 * gdb.base/nested-addr.c: New file.
8198 * gdb.base/nested-addr.exp: New testcase.
8199
8200 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8201
8202 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8203 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8204 its output. Ignore the output of "record goto begin" and instead
8205 check that GDB is replaying.
8206
8207 2015-10-09 Pedro Alves <palves@redhat.com>
8208
8209 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8210 (top level): Use it in the run with no args test.
8211
8212 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8213
8214 * gdb.dlang/properties.exp: New file.
8215
8216 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8217
8218 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8219 whether or not address 0x1000 is mapped on the target.
8220
8221 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8222
8223 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8224 build.
8225
8226 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8227
8228 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8229 instruction-history test.
8230
8231 2015-09-28 Doug Evans <dje@google.com>
8232
8233 * gdb.base/gcore.c (array_func): Add reference to static_array.
8234
8235 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8236
8237 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8238 source line.
8239
8240 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8241
8242 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8243 short or char as base type.
8244
8245 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8246
8247 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8248 to allow any size enum.
8249
8250 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8251
8252 * gdb.ada/array_ptr_renaming.exp: New testcase.
8253 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8254 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8255
8256 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8257
8258 * gdb.trace/ftrace-lock.c: New file.
8259 * gdb.trace/ftrace-lock.exp: New file.
8260
8261 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8262
8263 * gdb.arch/insn-reloc.c: New file.
8264 * gdb.arch/ftrace-insn-reloc.exp: New file.
8265
8266 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8267
8268 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8269 instruction.
8270 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8271 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8272 * gdb.trace/range-stepping.c: Likewise.
8273 * gdb.trace/trace-break.c: Likewise.
8274 * gdb.trace/trace-mt.c (thread_function): Likewise.
8275 * gdb.trace/ftrace.c (marker): Likewise.
8276 * gdb.trace/trace-condition.c (marker): Likewise.
8277 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8278 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8279 is_aarch64_target.
8280
8281 2015-09-18 Doug Evans <xdje42@gmail.com>
8282
8283 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8284 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8285
8286 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8287
8288 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8289 the breakpoint.
8290
8291 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8292
8293 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8294 the pending breakpoint. Remove timeout override for "Run till
8295 MI pending breakpoint on pendfunc3 on thread 2" test.
8296
8297 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8298
8299 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8300 filename pattern.
8301
8302 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8303
8304 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8305 in breakpoint filename pattern.
8306
8307 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8308
8309 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8310
8311 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8312
8313 * gdb.linespec/explicit.exp: Check for readline support for
8314 tab-completion tests. Fix obvious typo.
8315
8316 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8317
8318 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8319 and replay.
8320
8321 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8322
8323 * gdb.btrace/non-stop.c: New.
8324 * gdb.btrace/non-stop.exp: New.
8325
8326 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8327 Yao Qi <yao.qi@linaro.org>
8328
8329 * gdb.trace/trace-condition.c: New file.
8330 * gdb.trace/trace-condition.exp: New file.
8331
8332 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
8333
8334 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8335 for testing bytecode compilation.
8336
8337 2015-09-16 Pedro Alves <palves@redhat.com>
8338 Sandra Loosemore <sandra@codesourcery.com>
8339
8340 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8341 (SECONDS): Redefine.
8342 (main): Call pthread_kill and alarm early.
8343 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8344 support.
8345 (test): If the target can't hardware step and doesn't support
8346 displaced stepping, increase the timeout.
8347
8348 2015-09-16 Pedro Alves <palves@redhat.com>
8349
8350 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8351 (enable_debug): New procedures.
8352 (test): Use them. Bail out if waiting for threads fails.
8353 (top level): Bail out if a test fails.
8354
8355 2015-09-16 Yao Qi <yao.qi@linaro.org>
8356
8357 * gdb.asm/asm-source.exp: Set asm-arch for
8358 aarch64*-*-* target.
8359 * gdb.asm/aarch64.inc: New file.
8360
8361 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8362
8363 * gdb.ada/array_of_variable_length.exp: New testcase.
8364 * gdb.ada/array_of_variable_length/foo.adb: New file.
8365 * gdb.ada/array_of_variable_length/pck.adb: New file.
8366 * gdb.ada/array_of_variable_length/pck.ads: New file.
8367
8368 2015-09-15 Doug Evans <dje@google.com>
8369
8370 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8371 of function static local variable.
8372
8373 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8374
8375 * gdb.threads/tls-so_extern.exp: New test file.
8376 * gdb.threads/tls-so_extern.c: New test file.
8377 * gdb.threads/tls-so_extern_main.c: New test file.
8378
8379 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8380
8381 * gdb.opt/solib-intra-step-lib.c: New file.
8382 * gdb.opt/solib-intra-step-main.c: New file.
8383 * gdb.opt/solib-intra-step.exp: New file.
8384
8385 2015-09-15 Pedro Alves <palves@redhat.com>
8386
8387 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8388 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8389
8390 2015-09-14 Pedro Alves <palves@redhat.com>
8391
8392 * gdb.base/hook-stop-continue.c: Delete.
8393 * gdb.base/hook-stop-continue.exp: Delete.
8394 * gdb.base/hook-stop-frame.c: Delete.
8395 * gdb.base/hook-stop-frame.exp: Delete.
8396 * gdb.base/hook-stop.c: New file.
8397 * gdb.base/hook-stop.exp: New file.
8398
8399 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8400
8401 * gdb.ada/access_to_packed_array.exp: New testcase.
8402 * gdb.ada/access_to_packed_array/foo.adb: New file.
8403 * gdb.ada/access_to_packed_array/pack.adb: New file.
8404 * gdb.ada/access_to_packed_array/pack.ads: New file.
8405
8406 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8407
8408 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8409 buffer size test.
8410
8411 2015-09-11 Don Breazeal <donb@codesourcery.com>
8412
8413 * gdb.base/foll-exec.c: Add copyright header. Fix
8414 formatting issues.
8415 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8416 (do_exec_tests): Use clean_restart in place of zap_session,
8417 and for test initialization. Fix formatting issues. Use
8418 fail in place of perror.
8419 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8420 an expect statement to match an expression with output from
8421 the program under debug.
8422 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8423 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8424 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8425 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8426 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8427
8428 2015-09-09 Doug Evans <dje@google.com>
8429
8430 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8431
8432 2015-09-09 Doug Evans <dje@google.com>
8433
8434 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8435
8436 2015-09-09 Doug Evans <dje@google.com>
8437
8438 * gdb.base/savedregs.exp: Fix typo.
8439
8440 2015-09-09 Pedro Alves <palves@redhat.com>
8441
8442 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8443
8444 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8445
8446 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8447 command actually switches threads. Give up on remaining
8448 tests if target fails to stop at breakpoint.
8449
8450 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8451
8452 * gdb.ada/funcall_char.exp: New testcase.
8453 * gdb.ada/funcall_char/foo.adb: New file.
8454
8455 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8456
8457 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8458 expected outputs. Add two testcases for completing ambiguous
8459 functions.
8460 * gdb.ada/complete/aux_pck.adb: New file.
8461 * gdb.ada/complete/aux_pck.ads: New file.
8462 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8463 Ambiguous_Func functions.
8464 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8465 * gdb.ada/complete/pck.adb: Likewise.
8466
8467 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8468
8469 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8470 failures to run the test program under GDB.
8471
8472 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
8473
8474 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8475 to C.
8476
8477 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8478
8479 * gdb.base/run-after-attach.exp: New test file.
8480 * gdb.base/run-after-attach.c: New test file.
8481
8482 2015-08-26 Don Breazeal <donb@codesourcery.com>
8483
8484 * gdb.base/foll-exec-2.c: New test program.
8485 * gdb.base/foll-exec-2.exp: New test.
8486
8487 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8488
8489 * gdb.base/nested-subp1.exp: New file.
8490 * gdb.base/nested-subp1.c: New file.
8491 * gdb.base/nested-subp2.exp: New file.
8492 * gdb.base/nested-subp2.c: New file.
8493 * gdb.base/nested-subp3.exp: New file.
8494 * gdb.base/nested-subp3.c: New file.
8495
8496 2015-08-24 Pedro Alves <palves@redhat.com>
8497
8498 * gdb.server/connect-without-multi-process.c: New file.
8499 * gdb.server/connect-without-multi-process.exp: New file.
8500
8501 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8502
8503 * gdb.opt/inline-markers.c: Make z int.
8504
8505 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8506
8507 * gdb.opt/inline-markers.c: Make z volatile.
8508
8509 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8510
8511 * gdb.opt/inline-bt.c: New volatile global z.
8512 * gdb.opt/inline-cmds.c: Likewise.
8513 * gdb.opt/inline-locals.c: Likewise.
8514 * gdb.opt/inline-markers.c: New extern global z.
8515 (marker): Use z.
8516 (inline_fn): Likewise.
8517
8518 2015-08-24 Pedro Alves <palves@redhat.com>
8519
8520 * config/m32r-stub.exp: Remove file.
8521 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8522 * gdb.base/call-rt-st.exp: Likewise.
8523 * gdb.base/call-strs.exp: Likewise.
8524 * gdb.base/default.exp: Remove references to h8300-*-hms and
8525 *-*-udi*.
8526 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8527
8528 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8529
8530 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8531 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
8532 and "return" use KFAIL when GDB can not read/write the vector
8533 return value.
8534
8535 2015-08-21 Gary Benson <gbenson@redhat.com>
8536
8537 * gdb.trace/pending.exp: Cope with remote transfer warnings.
8538
8539 2015-08-20 Pedro Alves <palves@redhat.com>
8540
8541 * gdb.server/solib-list.exp: No longer expect an interior stop in
8542 non-stop mode.
8543
8544 2015-08-20 Pedro Alves <palves@redhat.com>
8545
8546 * gdb.server/connect-stopped-target.c: New file.
8547 * gdb.server/connect-stopped-target.exp: New file.
8548
8549 2015-08-20 Pedro Alves <palves@redhat.com>
8550
8551 * gdb.dwarf2/comp-unit-lang.exp: New file.
8552 * gdb.dwarf2/comp-unit-lang.c: New file.
8553
8554 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
8555
8556 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8557 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8558
8559 2015-08-19 Kevin Buettner <kevinb@redhat.com>
8560
8561 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8562 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8563
8564 2015-08-18 Doug Evans <dje@google.com>
8565 Adrian Sendroiu <adrian.sendroiu@freescale.com>
8566
8567 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8568 skip_python_tests. New arg prompt_regexp.
8569 (skip_python_tests): New function.
8570 * lib/mi-support.exp (mi_skip_python_tests): New function.
8571 * gdb.python/py-mi-objfile-gdb.py: New file.
8572 * gdb.python/py-mi-objfile.c: New file.
8573 * gdb.python/py-mi-objfile.exp: New file.
8574
8575 2015-08-17 Keith Seitz <keiths@redhat.com>
8576
8577 * gdb.linespec/explicit.exp: Move strace test from here ...
8578 * gdb.trace/strace.exp: ... to here.
8579
8580 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8581
8582 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8583 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8584
8585 2015-08-14 Doug Evans <xdje42@gmail.com>
8586
8587 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8588 inferior before selecting a new file.
8589
8590 2015-08-14 Doug Evans <xdje42@gmail.com>
8591
8592 * gdb.mi/mi-disassemble.exp: Update.
8593 * gdb.base/disasm-optim.S: New file.
8594 * gdb.base/disasm-optim.c: New file.
8595 * gdb.base/disasm-optim.h: New file.
8596 * gdb.base/disasm-optim.exp: New file.
8597
8598 2015-08-14 Keith Seitz <keiths@redhat.com>
8599
8600 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8601 "evaluated-by".
8602
8603 2015-08-13 Joel Brobecker <brobecker@adacore.com>
8604
8605 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8606
8607 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8608
8609 * gdb.ada/fun_renaming.exp: New testcase.
8610 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8611 * gdb.ada/fun_renaming/pack.adb: New file.
8612 * gdb.ada/fun_renaming/pack.ads: New file.
8613
8614 2015-08-12 Keith Seitz <keiths@redhat.com>
8615
8616 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8617 gdb_get_line_number.
8618
8619 2015-08-12 Joel Brobecker <brobecker@adacore.com>
8620
8621 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8622 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8623 gdb.base/dso2dso.exp: New files.
8624
8625 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8626 Pedro Alves <palves@redhat.com>
8627 Keith Seitz <keiths@redhat.com>
8628
8629 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8630 GDBFLAGS.
8631
8632 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8633
8634 * gdb.base/gdbhistsize-history.exp
8635 (test_histsize_history_setting): Use save_vars.
8636 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8637 Use save_vars.
8638 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8639 * gdb.base/readline.exp: Use save_vars.
8640
8641 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8642
8643 * lib/gdb.exp (save_vars): New proc.
8644
8645 2015-08-11 Keith Seitz <keiths@redhat.com>
8646
8647 * gdb.base/help.exp: Update help_breakpoint_text.
8648
8649 2015-08-11 Keith Seitz <keiths@redhat.com>
8650
8651 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8652 (at toplevel): Call test_explicit_breakpoints.
8653 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8654 breakpoints.
8655 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8656 breakpoint conditions, "-cond".
8657
8658 2015-08-11 Keith Seitz <keiths@redhat.com>
8659
8660 * gdb.linespec/3explicit.c: New file.
8661 * gdb.linespec/cpexplicit.cc: New file.
8662 * gdb.linespec/cpexplicit.exp: New file.
8663 * gdb.linespec/explicit.c: New file.
8664 * gdb.linespec/explicit.exp: New file.
8665 * gdb.linespec/explicit2.c: New file.
8666 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8667 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8668 before using in the matching pattern.
8669 Clarify that `prefix' is a regular expression.
8670
8671 2015-08-11 Keith Seitz <keiths@redhat.com>
8672
8673 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8674 test.
8675 Add tests for missing ",FMT" and ",".
8676
8677 2015-08-10 Doug Evans <dje@google.com>
8678 Keith Seitz <keiths@redhat.com>
8679
8680 PR gdb/17960
8681 * gdb.base/completion.exp: Add location completer tests.
8682
8683 2015-08-07 Pedro Alves <palves@redhat.com>
8684
8685 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8686 tests here.
8687 (top level): Run do_test with and without displaced stepping.
8688
8689 2015-08-07 Pedro Alves <palves@redhat.com>
8690
8691 * gdb.base/valgrind-disp-step.c: New file.
8692 * gdb.base/valgrind-disp-step.exp: New file.
8693
8694 2015-08-07 Pedro Alves <palves@redhat.com>
8695
8696 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8697 Delete function.
8698 (main): Add alarm. Run an infinite loop instead of calling
8699 wait_threads.
8700 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8701 comment.
8702 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8703 Delete function.
8704 (main): Add alarm. Run an infinite loop instead of calling
8705 wait_threads.
8706 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8707 comment.
8708
8709 2015-08-07 Pedro Alves <palves@redhat.com>
8710
8711 * gdb.base/checkpoint-ns.exp: New file.
8712 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8713 standard_testfile.
8714
8715 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8716
8717 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8718 * gdb.btrace/instruction_history.exp: Update.
8719 * gdb.btrace/tsx.exp: New.
8720 * gdb.btrace/tsx.c: New.
8721
8722 2015-08-06 Pedro Alves <palves@redhat.com>
8723
8724 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8725 increase timeout.
8726 * gdb.reverse/until-precsave.exp: Bump timeouts.
8727
8728 2015-08-06 Pedro Alves <palves@redhat.com>
8729
8730 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8731
8732 2015-08-06 Pedro Alves <palves@redhat.com>
8733
8734 PR gdb/18749
8735 * gdb.threads/process-dies-while-handling-bp.c: New file.
8736 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8737
8738 2015-08-06 Pedro Alves <palves@redhat.com>
8739
8740 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8741 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8742
8743 2015-08-05 Pedro Alves <palves@redhat.com>
8744
8745 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8746 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8747
8748 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8749
8750 * gdb.base/bp-permanent.exp: Report test as unsupported if
8751 the target cannot stop at the permanent breakpoint.
8752
8753 2015-08-03 Doug Evans <dje@google.com>
8754
8755 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8756 10000.
8757
8758 2015-08-03 Doug Evans <dje@google.com>
8759
8760 * Makefile.in (workers/%.worker, build-perf): New rule.
8761 (GDB_PERFTEST_MODE): New variable.
8762 (check-perf): Use it.
8763 (clean): Clean up gdb.perf parallel build subdirs.
8764 * lib/build-piece.exp: New file.
8765 * lib/gdb.exp (make_gdb_parallel_path): New function
8766 (standard_output_file, standard_temp_file): Call it.
8767 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8768 of $GDB_PARALLEL.
8769 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8770
8771 2015-08-03 Doug Evans <dje@google.com>
8772
8773 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8774 (LOG_FILE_NAME): New global.
8775 (TextReporter.__init__): Initialize self.txt_sum.
8776 (TextReporter.report): Add support for multiple data-points.
8777 Move report to perftest.sum, put raw data in perftest.log.
8778 (TextReporter.start): Open sum and log files.
8779 (TextReporter.end): Close sum and log files.
8780 * gdb.perf/lib/perftest/testresult.py
8781 (SingleStatisticTestResult.record): Handle multiple data-points.
8782
8783 2015-07-31 Pedro Alves <palves@redhat.com>
8784
8785 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8786 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8787 kill_wait_spawned_process instead of explicit "kill -9".
8788 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8789 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8790 kill_wait_spawned_process.
8791 * gdb.base/attach-twice.exp: Likewise.
8792 * gdb.base/attach.exp: Likewise.
8793 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8794 gdb_test_multiple.
8795 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8796 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8797 kill_wait_spawned_process.
8798 * gdb.base/valgrind-infcall.exp: Likewise.
8799 * gdb.multi/multi-attach.exp: Likewise.
8800 * gdb.python/py-prompt.exp: Likewise.
8801 * gdb.python/py-sync-interp.exp: Likewise.
8802 * gdb.server/ext-attach.exp: Likewise.
8803 * gdb.threads/attach-into-signal.exp (corefunc): Use
8804 spawn_wait_for_attach, spawn_id_get_pid and
8805 kill_wait_spawned_process.
8806 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8807 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8808 spawn_id_get_pid and kill_wait_spawned_process.
8809 * gdb.threads/attach-stopped.exp (corefunc): Use
8810 spawn_wait_for_attach, spawn_id_get_pid and
8811 kill_wait_spawned_process.
8812 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8813 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8814 kill_wait_spawned_process instead of explicit "kill -9".
8815 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8816 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8817 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8818 processes. Don't map cygwin/windows pids here. Now returns a
8819 spawn id list.
8820
8821 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8822
8823 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8824 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8825 correct patch.
8826
8827 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8828
8829 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8830
8831 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8832
8833 Reapply:
8834 2014-05-21 Mark Wielaard <mjw@redhat.com>
8835
8836 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8837
8838 2015-07-30 Pedro Alves <palves@redhat.com>
8839
8840 * linux-low.c (handle_extended_wait): Set the child's last
8841 reported status to TARGET_WAITKIND_STOPPED.
8842
8843 2015-07-30 Pedro Alves <palves@redhat.com>
8844
8845 PR threads/18600
8846 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8847 only shows inferior 1.
8848
8849 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8850 Pedro Alves <palves@redhat.com>
8851
8852 PR threads/18600
8853 * gdb.threads/fork-plus-threads.c: New file.
8854 * gdb.threads/fork-plus-threads.exp: New file.
8855
8856 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8857
8858 * gdb.base/batch-preserve-term-settings.exp
8859 (test_terminal_settings_preserved_after_cli_exit): Use
8860 send_quit_command.
8861
8862 2015-07-29 Pedro Alves <palves@redhat.com>
8863 Don Breazeal <donb@codesourcery.com>
8864
8865 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
8866 output from both inferior_spawn_id and gdb_spawn_id.
8867
8868 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8869
8870 * gdb.threads/attach-into-signal.exp (corefunc): Use
8871 with_test_prefix on nested loops, uniquefying the test messages.
8872
8873 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8874
8875 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
8876 commit.
8877
8878 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8879
8880 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
8881 New proc.
8882 (test_terminal_settings_preserved_after_sigterm): New test.
8883
8884 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8885
8886 * gdb.base/batch-preserve-term-settings.exp
8887 (test_terminal_settings_preserved_after_cli_exit): New test.
8888
8889 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8890
8891 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
8892 manipulation of saved_gdbflags.
8893 (test_terminal_settings_preserved): Remove global declaration of
8894 the unused variable pagination_prompt. Remove manipulation of
8895 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
8896 GDBFLAGS.
8897
8898 2015-07-29 Pedro Alves <palves@redhat.com>
8899
8900 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
8901
8902 2015-07-29 Pedro Alves <palves@redhat.com>
8903
8904 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
8905 at the top.
8906
8907 2015-07-29 Pedro Alves <palves@redhat.com>
8908
8909 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
8910 (main): Call gdb_unbuffer_output.
8911 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
8912 (main): Call gdb_unbuffer_output.
8913 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
8914 (main): Call gdb_unbuffer_output.
8915 * gdb.base/call-strs.exp: Adjust to step over the
8916 gdb_unbuffer_output call.
8917 * gdb.base/catch-gdb-caused-signals.c: Include
8918 "../lib/unbuffer_output.c".
8919 (main): Call gdb_unbuffer_output.
8920 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
8921 (main): Call gdb_unbuffer_output.
8922 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
8923 (main): Call gdb_unbuffer_output.
8924 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
8925 (main): Call gdb_unbuffer_output.
8926 * gdb.base/shlib-call.exp: Adjust to step over the
8927 gdb_unbuffer_output call.
8928 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
8929 (main): Call gdb_unbuffer_output.
8930 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
8931 (main): Call gdb_unbuffer_output.
8932 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
8933 (main): Rename to ...
8934 (test): ... this.
8935 (main): Reimplement.
8936 * gdb.base/varargs.exp: Run to test instead of to main.
8937 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8938 (main): Call gdb_unbuffer_output.
8939
8940 2015-07-29 Pedro Alves <palves@redhat.com>
8941
8942 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
8943 factore out from mi_continue_dprintf. For call-style dprintfs,
8944 expect dprintf output out of $inferior_spawn_id.
8945 (mi_continue_dprintf): Use mi_expect_dprintf.
8946 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8947 (main): Call gdb_unbuffer_output.
8948
8949 2015-07-29 Pedro Alves <palves@redhat.com>
8950
8951 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
8952 (default_mi_gdb_start): Set inferior_spawn_id instead of
8953 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
8954 gdb_spawn_id.
8955 (mi_gdb_test): Always expect inferior output from both
8956 $inferior_spawn_id and $gdb_spawn_id.
8957
8958 2015-07-29 Pedro Alves <palves@redhat.com>
8959
8960 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
8961 send_inferior and $inferior_spawn_id.
8962
8963 2015-07-29 Pedro Alves <palves@redhat.com>
8964
8965 * gdb.gdb/complaints.exp (test_initial_complaints)
8966 (test_serial_complaints, test_short_complaints): Use
8967 gdb_test_stdio.
8968 (test_empty_complaint): Handle $inferior_spawn_id !=
8969 $gdb_spawn_id.
8970
8971 2015-07-29 Pedro Alves <palves@redhat.com>
8972
8973 * gdb.base/varargs.exp: Use gdb_test_stdio.
8974
8975 2015-07-29 Pedro Alves <palves@redhat.com>
8976
8977 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
8978
8979 2015-07-29 Pedro Alves <palves@redhat.com>
8980
8981 * gdb.base/ending-run.exp: Use gdb_test_stdio.
8982
8983 2015-07-29 Pedro Alves <palves@redhat.com>
8984
8985 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
8986 parameter into two new parameters, "inf_result" and "gdb_result".
8987 Expect inferior output and gdb output from $inferior_spawn_id and
8988 $gdb_spawn_id, respectively. Adjust all callers.
8989
8990 2015-07-29 Pedro Alves <palves@redhat.com>
8991
8992 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
8993 of gdb_test_sequence.
8994
8995 2015-07-29 Pedro Alves <palves@redhat.com>
8996
8997 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
8998 (saw_spurious_output): Expect inferior output from
8999 $inferior_spawn_id. Use gdb_test_stdio.
9000
9001 2015-07-29 Pedro Alves <palves@redhat.com>
9002
9003 * gdb.base/dprintf.exp: Use standard_testfile. Change
9004 prepare_for_testing call.
9005 (srcfile): Don't set.
9006 (restart): New procedure.
9007 (test_dprintf): New procecure, use to continue over dprintfs.
9008 (test_call, test_agent): New procedures, tests moved here.
9009 Restart gdb and recreate dprintfs. Adjust expected output.
9010
9011 2015-07-29 Pedro Alves <palves@redhat.com>
9012
9013 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9014
9015 2015-07-29 Pedro Alves <palves@redhat.com>
9016
9017 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9018
9019 2015-07-29 Pedro Alves <palves@redhat.com>
9020
9021 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9022 gdb_test_stdio.
9023
9024 2015-07-29 Pedro Alves <palves@redhat.com>
9025
9026 * lib/gdb.exp (gdb_test_stdio): New procedure.
9027
9028 2015-07-29 Pedro Alves <palves@redhat.com>
9029
9030 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9031
9032 2015-07-29 Pedro Alves <palves@redhat.com>
9033
9034 * gdb.base/call-signal-resume.exp: Remove check for
9035 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9036 * gdb.base/unwindonsignal.exp: Likewise.
9037 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9038 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9039
9040 2015-07-29 Pedro Alves <palves@redhat.com>
9041
9042 * gdb.base/siginfo-addr.c (pass): New function.
9043 (handler): Call it iff si_addr is correct.
9044 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9045 Set a breakpoint at "pass" and continue to it.
9046
9047 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9048
9049 * gdb.python/py-objfile.exp: Make some tests have unique names.
9050 * gdb.python/py-pp-registration.exp: Likewise.
9051
9052 2015-07-28 Pedro Alves <palves@redhat.com>
9053
9054 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9055
9056 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9057
9058 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9059
9060 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9061
9062 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9063
9064 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9065
9066 * gdb.base/gdb-sigterm-2.exp: New test.
9067
9068 2015-07-25 Doug Evans <xdje42@gmail.com>
9069
9070 Revert:
9071 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9072 (workers/%.worker, build-perf): New rule.
9073 (GDB_PERFTEST_MODE): New variable.
9074 (check-perf): Use it.
9075 (clean): Clean up gdb.perf parallel build subdirs.
9076 * lib/build-piece.exp: New file.
9077 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9078 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9079 name.
9080 (standard_temp_file): Ditto.
9081 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9082 of $GDB_PARALLEL.
9083
9084 2015-07-24 Doug Evans <dje@google.com>
9085
9086 * gdb.perf/lib/perftest/utils.py: New file.
9087 * gdb.perf/gm-hello.cc: New file.
9088 * gdb.perf/gm-pervasive-typedef.cc: New file.
9089 * gdb.perf/gm-pervasive-typedef.h: New file.
9090 * gdb.perf/gm-std.cc: New file.
9091 * gdb.perf/gm-std.h: New file.
9092 * gdb.perf/gm-use-cerr.cc: New file.
9093 * gdb.perf/gm-utils.h: New file.
9094 * gdb.perf/gmonster-null-lookup.py: New file.
9095 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9096 * gdb.perf/gmonster-print-cerr.py: New file.
9097 * gdb.perf/gmonster-ptype-string.py: New file.
9098 * gdb.perf/gmonster-runto-main.py: New file.
9099 * gdb.perf/gmonster-select-file.py: New file.
9100 * gdb.perf/gmonster1-null-lookup.exp: New file.
9101 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9102 * gdb.perf/gmonster1-print-cerr.exp: New file.
9103 * gdb.perf/gmonster1-ptype-string.exp: New file.
9104 * gdb.perf/gmonster1-runto-main.exp: New file.
9105 * gdb.perf/gmonster1-select-file.exp: New file.
9106 * gdb.perf/gmonster1.cc: New file.
9107 * gdb.perf/gmonster1.exp: New file.
9108 * gdb.perf/gmonster2-null-lookup.exp: New file.
9109 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9110 * gdb.perf/gmonster2-print-cerr.exp: New file.
9111 * gdb.perf/gmonster2-ptype-string.exp: New file.
9112 * gdb.perf/gmonster2-runto-main.exp: New file.
9113 * gdb.perf/gmonster2-select-file.exp: New file.
9114 * gdb.perf/gmonster2.cc: New file.
9115 * gdb.perf/gmonster2.exp: New file.
9116
9117 2015-07-24 Doug Evans <dje@google.com>
9118
9119 * gdb.perf/README: New file.
9120 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9121 * lib/gen-perf-test.exp: New file.
9122
9123 2015-07-24 Doug Evans <dje@google.com>
9124
9125 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9126 (PerfTest::startup): New function.
9127 (PerfTest::run): Return result of calling body.
9128 (PerfTest::assemble): Rewrite.
9129 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9130 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9131 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9132 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9133 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9134
9135 2015-07-24 Doug Evans <dje@google.com>
9136
9137 * lib/gdb.exp (clean_restart): Make executable optional.
9138
9139 2015-07-24 Doug Evans <dje@google.com>
9140
9141 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9142 compiler_info references.
9143 * gdb.cp/temargs.exp: Ditto.
9144 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9145 (get_compiler_info): Early exit if already computed. Set compiler_info
9146 to "unknown" if there was a problem.
9147 (test_compiler_info): Add function comment. Call get_compiler_info.
9148
9149 2015-07-24 Doug Evans <dje@google.com>
9150
9151 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9152 (workers/%.worker, build-perf): New rule.
9153 (GDB_PERFTEST_MODE): New variable.
9154 (check-perf): Use it.
9155 (clean): Clean up gdb.perf parallel build subdirs.
9156 * lib/build-piece.exp: New file.
9157 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9158 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9159 name.
9160 (standard_temp_file): Ditto.
9161 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9162 of $GDB_PARALLEL.
9163
9164 2015-07-24 Doug Evans <dje@google.com>
9165
9166 * lib/future.exp (gdb_default_target_compile): New option
9167 "early_flags".
9168 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9169 --as-needed.
9170
9171 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9172
9173 * gdb.base/catch-syscall.exp: Call gdb_exit before
9174 gdb_skip_xml_test.
9175
9176 2015-07-24 Pedro Alves <palves@redhat.com>
9177
9178 * gdb.python/py-events.exp: Accept output between the stop event
9179 and the prompt.
9180 * gdb.python/py-evsignal.exp: Likewise.
9181 * gdb.python/py-evthreads.exp: Likewise.
9182
9183 2015-07-24 Pedro Alves <palves@redhat.com>
9184
9185 PR gdb/18717
9186 * gdb.threads/non-ldr-exit.c: New file.
9187 * gdb.threads/non-ldr-exit.exp: New file.
9188
9189 2015-07-24 Yao Qi <yao.qi@linaro.org>
9190
9191 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9192 restarting process.
9193
9194 2015-07-24 Yao Qi <yao.qi@linaro.org>
9195
9196 * gdb.server/ext-restart.exp: New file.
9197
9198 2015-07-24 Yao Qi <yao.qi@linaro.org>
9199
9200 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9201 argument options.
9202 * gdb.server/ext-wrapper.exp: New file.
9203
9204 2015-07-23 Doug Evans <dje@google.com>
9205
9206 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9207 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9208
9209 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9210
9211 * gdb.ada/var_arr_typedef.exp: New testcase.
9212 * gdb.ada/var_arr_typedef/pack.adb: New file.
9213 * gdb.ada/var_arr_typedef/pack.ads: New file.
9214 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9215
9216 2015-07-20 Joel Brobecker <brobecker@adacore.com>
9217
9218 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9219
9220 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9221
9222 * gdb.arch/i386-biarch-core.exp: Replace istarget
9223 by "complete set gnutarget". Remove expectation for the "core-file"
9224 command.
9225
9226 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9227
9228 Revert the previous commit:
9229 Tests for validate symbol file using build-id.
9230
9231 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9232
9233 Tests for validate symbol file using build-id.
9234 * gdb.base/solib-mismatch-lib.c: New file.
9235 * gdb.base/solib-mismatch-libmod.c: New file.
9236 * gdb.base/solib-mismatch.c: New file.
9237 * gdb.base/solib-mismatch.exp: New file.
9238
9239 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9240
9241 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9242 nios2-*-linux*.
9243 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9244 * gdb.base/siginfo.exp: Likewise.
9245 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9246
9247 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9248
9249 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9250 Move it to ...
9251 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9252 ... here.
9253 * gdb.trace/range-stepping.exp: Check that the target supports
9254 range stepping.
9255
9256 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9257
9258 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9259
9260 2015-07-14 Pedro Alves <palves@redhat.com>
9261
9262 * gdb.base/killed-outside.exp: New file.
9263 * gdb.base/killed-outside.c: New file.
9264
9265 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9266
9267 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9268 (n at main): New.
9269 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9270
9271 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9272
9273 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9274 infcall tests instead of setting up for KFAIL.
9275
9276 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9277
9278 * gdb.btrace/record_goto-step.exp: New.
9279
9280 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9281
9282 PR compile/18484
9283 * gdb.compile/compile.c (struct struct_type): Add volatile to
9284 selffield's type.
9285 * gdb.compile/compile.exp
9286 (compile code struct_object.selffield = &struct_object): Skip further
9287 struct_object tests if this one xfails.
9288
9289 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
9290
9291 PR exp/18617
9292 * gdb.trace/ax.exp: Add test.
9293
9294 2015-07-07 Yao Qi <yao.qi@linaro.org>
9295
9296 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9297 instead of istarget "aarch64*-*-*".
9298 * gdb.arch/aarch64-fp.exp: Likewise.
9299 * gdb.base/float.exp: Likewise.
9300 * gdb.reverse/aarch64.exp: Likewise.
9301 * lib/gdb.exp (is_aarch64_target): New proc.
9302
9303 2015-07-07 Yao Qi <yao.qi@linaro.org>
9304
9305 * lib/gdb.exp (is_aarch32_target): New proc.
9306 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9307 instead of "istarget "arm*-*-*"".
9308 * gdb.arch/arm-disp-step.exp: Likewise.
9309 * gdb.arch/thumb-bx-pc.exp: Likewise.
9310 * gdb.arch/thumb-prologue.exp: Likewise.
9311 * gdb.arch/thumb-singlestep.exp: Likewise.
9312 * gdb.base/disp-step-syscall.exp: Likewise.
9313 * gdb.base/float.exp: Likewise.
9314
9315 2015-07-07 Yao Qi <yao.qi@linaro.org>
9316
9317 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9318 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9319
9320 2015-07-07 Yao Qi <yao.qi@linaro.org>
9321
9322 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9323 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9324 if it exists.
9325 * gdb.multi/multi-arch.exp: Likewise.
9326
9327 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9328
9329 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9330 print.
9331
9332 2015-07-07 Yao Qi <yao.qi@linaro.org>
9333
9334 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9335
9336 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9337
9338 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9339 '[' and ']' characters.
9340
9341 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9342
9343 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9344
9345 2015-06-29 Pedro Alves <palves@redhat.com>
9346
9347 PR threads/18127
9348 * gdb.threads/hand-call-new-thread.c: New file.
9349 * gdb.threads/hand-call-new-thread.c: New file.
9350
9351 2015-06-26 Keith Seitz <keiths@redhat.com>
9352 Doug Evans <dje@google.com>
9353
9354 PR 16253
9355 * gdb.cp/var-tag-2.cc: New file.
9356 * gdb.cp/var-tag-3.cc: New file.
9357 * gdb.cp/var-tag-4.cc: New file.
9358 * gdb.cp/var-tag.cc: New file.
9359 * gdb.cp/var-tag.exp: New file.
9360
9361 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9362
9363 * gdb.base/history-duplicates.exp: New test.
9364
9365 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9366
9367 * gdb.base/completion.exp: Test the completion of the "focus"
9368 command.
9369
9370 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9371
9372 * gdb.arch/amd64-prologue-skip.S: New file.
9373 * gdb.arch/amd64-prologue-skip.exp: New file.
9374
9375 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9376
9377 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9378 is_address_zero_readable check.
9379
9380 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9381
9382 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9383 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9384
9385 2015-06-24 Yao Qi <yao.qi@linaro.org>
9386
9387 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9388 linux targets.
9389
9390 2015-06-24 Yao Qi <yao.qi@linaro.org>
9391
9392 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9393 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9394 * gdb.base/siginfo-thread.exp: Likewise.
9395
9396 2015-06-22 Yao Qi <yao.qi@linaro.org>
9397
9398 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9399
9400 2015-06-22 Yao Qi <yao.qi@linaro.org>
9401
9402 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9403 aarch64*-*-*.
9404 (skip_hw_watchpoint_tests): Likewise.
9405
9406 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9407
9408 * gdb.base/gdbinit-history.exp: Test the interaction between
9409 setting GDBHISTSIZE and setting the history size via .gdbinit.
9410
9411 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9412
9413 PR gdb/16999
9414 * gdb.base/gdbhistsize-history.exp: New test.
9415
9416 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9417
9418 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9419 with GDBHISTSIZE.
9420 * gdb.base/readline.exp: Likewise.
9421
9422 2015-06-17 Yao Qi <yao.qi@linaro.org>
9423
9424 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9425 line.
9426
9427 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9428
9429 * gdb.base/gdbinit-history.exp: Add test case to check that
9430 an unlimited history file does not get truncated on exit.
9431
9432 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9433
9434 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9435 (VECTOR): New macro. Use it...
9436 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9437 ...for these typedefs.
9438 (int8, char1, int1, double1): New typedefs.
9439 (struct just_int2, struct two_int2): New structures.
9440 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9441 (add_structvecs, add_singlevecs): New functions.
9442 (main): Call add_some_intvecs twice.
9443 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9444 the compile and exit upon failure. Try compiling for the "native"
9445 architecture. Test inferior function calls with vector arguments
9446 and vector return value handling with "finish" and "return".
9447
9448 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9449
9450 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9451 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9452 PE file.
9453 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9454
9455 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9456
9457 PR breakpoints/16465
9458 * gdb.mi/mi-dprintf-pending.c: New file.
9459 * gdb.mi/mi-dprintf-pending.exp: New test.
9460 * gdb.mi/mi-dprintf-pendshr.c: New file.
9461
9462 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9463 Mircea Gherzan <mircea.gherzan@intel.com>
9464
9465 * gdb.arch/i386-mpx-map.c: New file.
9466 * gdb.arch/i386-mpx-map.exp: New File.
9467
9468 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9469
9470 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9471 * gdb.arch/i386-mpx.exp: Indentation fixed.
9472
9473 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9474
9475 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9476 function and improved indentation.
9477 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9478 gdb_test_multiple. Added additional tests to skip the test.
9479
9480 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9481
9482 * gdb.arch/i386-avx512.c: Change path in include file.
9483 * gdb.arch/i386-avx512.exp: Change include dir path
9484 compilation flag.
9485 * gdb.arch/i386-mpx.c: Change path in include file.
9486 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9487 flag.
9488
9489 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9490
9491 * gdb.compile/compile-print.exp (compile print *vararray@3)
9492 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9493
9494 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9495
9496 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9497 (do not keep jit in memory): ... this.
9498 (expect 5): Change it to ...
9499 (expect no 5): ... this.
9500
9501 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9502
9503 PR gdb/15564
9504 * gdb.mi/mi-detach.exp: New file.
9505
9506 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9507
9508 PR symtab/18392
9509 * gdb.arch/amd64-tailcall-self.S: New file.
9510 * gdb.arch/amd64-tailcall-self.c: New file.
9511 * gdb.arch/amd64-tailcall-self.exp: New file.
9512
9513 2015-05-28 Don Breazeal <donb@codesourcery.com>
9514
9515 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9516 tests for remote targets by checking is_target_gdbserver.
9517
9518 2015-05-27 Doug Evans <dje@google.com>
9519
9520 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9521 * gdb.dwarf2/opaque-type-lookup.c: New file.
9522 * gdb.dwarf2/opaque-type-lookup.exp: New file.
9523
9524 2015-05-26 Doug Evans <dje@google.com>
9525
9526 * gdb.cp/iostream.cc: New file.
9527 * gdb.cp/iostream.exp: New file.
9528
9529 2015-05-26 Doug Evans <dje@google.com>
9530
9531 * gdb.dwarf2/dw2-op-call.exp: Update.
9532 * gdb.dwarf2/dw4-sig-types.exp: Update.
9533 * gdb.dwarf2/implptr.exp: Update.
9534 * gdb.mi/mi-cmd-param-changed.exp: Update.
9535
9536 2015-05-26 Doug Evans <dje@google.com>
9537
9538 * gdb.python/py-lazy-string.c: New file.
9539 * gdb.python/py-lazy-string.exp: New file.
9540 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9541 (main): Update. Add estring3.
9542 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9543 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9544
9545 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9546 Yao Qi <yao.qi@linaro.org>
9547
9548 * gdb.reverse/aarch64.c: New.
9549 * gdb.reverse/aarch64.exp: New.
9550
9551 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9552
9553 * lib/gdb.exp (supports_process_record): Return true for
9554 aarch64*-linux*.
9555 (supports_reverse): Likewise.
9556
9557 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
9558
9559 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9560 Use with_test_prefix.
9561
9562 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
9563
9564 * gdb.base/completion.exp: Add test for completion of layout
9565 names.
9566
9567 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
9568
9569 * lib/gdb.exp (skip_tui_tests): New proc.
9570 * gdb.base/tui-layout.exp: Check skip_tui_tests.
9571
9572 2015-05-19 Pedro Alves <palves@redhat.com>
9573
9574 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9575 Save the whole env array instead of just HOME. Unset HISTSIZE in
9576 the environment while testing. Restore whole environment
9577 afterwards.
9578
9579 2015-05-16 Doug Evans <xdje42@gmail.com>
9580
9581 * gdb.guile/scm-ports.c: New file.
9582 * gdb.guile/scm-ports.exp: Add memory port tests.
9583
9584 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9585
9586 * gdb.compile/compile-print.c: New file.
9587 * gdb.compile/compile-print.exp: New file.
9588
9589 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9590
9591 * gdb.compile/compile-ops.exp: Cast param to void.
9592 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9593 (compile code struct_object.selffield = &struct_object): Add xfail.
9594
9595 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9596
9597 * gdb.ada/arr_enum_with_gap: New testcase.
9598
9599 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9600
9601 * gdb.ada/byte_packed_arr: New testcase.
9602
9603 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9604
9605 * gdb.ada/pckd_neg: New testcase.
9606
9607 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9608
9609 PR gdb/17820
9610 * gdb.base/gdbinit-history.exp: New test.
9611 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9612 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9613
9614 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9615
9616 * gdb.python/py-xmethods.cc: Enhance test case.
9617 * gdb.python/py-xmethods.exp: New tests.
9618 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9619 function.
9620 (B_indexoper): Likewise.
9621 (global_dm_list) : Add new xmethod worker functions.
9622
9623 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9624
9625 * gdb.base/coredump-filter.exp: Correctly unset
9626 "coredump_var_addr" array.
9627
9628 2015-05-08 Pedro Alves <palves@redhat.com>
9629
9630 * gdb.server/non-existing-program.exp: Unset spawn_id.
9631
9632 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9633
9634 PR python/18291
9635 * gdb.python/py-xmethods.exp: Add tests.
9636
9637 2015-05-08 Yao Qi <yao.qi@linaro.org>
9638
9639 PR gdb/18208
9640 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9641 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9642 function set_coredump_filter, and remove remote_exec call.
9643 Remove argument ipid. Callers update.
9644 (top level): Don't get inferior's PID.
9645
9646 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9647
9648 * gdb.base/watch_thread_num.exp: Skip test on targets without
9649 access watchpoints.
9650
9651 2015-05-06 Pedro Alves <palves@redhat.com>
9652
9653 PR server/18081
9654 * gdb.server/non-existing-program.exp: New file.
9655
9656 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9657
9658 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9659
9660 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9661
9662 * gdb.ada/out_of_line_in_inlined: New testcase.
9663
9664 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9665
9666 * gdb.ada/var_rec_arr: New testcase.
9667
9668 2015-04-30 Yao Qi <yao.qi@linaro.org>
9669
9670 * gdb.base/break-idempotent.exp: If
9671 skip_hw_watchpoint_multi_tests returns true, skip the tests
9672 on "rwatch" and "awatch".
9673
9674 2015-04-30 Yao Qi <yao.qi@linaro.org>
9675
9676 * gdb.base/relativedebug.exp: Invoke gdb command
9677 "info sharedlibrary", and if libc.so doesn't have debug info,
9678 skip the test.
9679
9680 2015-04-29 Doug Evans <dje@google.com>
9681
9682 * gdb.python/py-xmethods.exp: Add ptype tests.
9683 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9684 get_result_type method.
9685
9686 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9687
9688 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9689 the target does not support hardware watchpoints.
9690
9691 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9692
9693 * gdb.base/break-always.exp: Abort testing if writing to memory
9694 causes an error.
9695
9696 2015-04-28 Doug Evans <dje@google.com>
9697
9698 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9699 * gdb.python/py-pp-registration.exp: ... here. New file.
9700 * gdb.python/py-pp-registration.c: New file.
9701 * gdb.python/py-pp-registration.py: New file.
9702
9703 2015-04-28 Doug Evans <dje@google.com>
9704
9705 * gdb.python/py-bad-printers.c: New file.
9706 * gdb.python/py-bad-printers.py: New file.
9707 * gdb.python/py-bad-printers.exp: New file.
9708
9709 2015-04-28 Sasha Smundak <asmundak@google.com>
9710
9711 * gdb.python/py-type.exp: New test.
9712
9713 2015-04-28 Andy Wingo <wingo@igalia.com>
9714
9715 * gdb.python/py-parameter.exp:
9716 * gdb.guile/scm-parameter.exp: Escape the path that we are
9717 matching against, as it might contain characters that are special
9718 to regular expressions.
9719
9720 2015-04-27 Joel Brobecker <brobecker@adacore.com>
9721
9722 * gdb.ada/rec_comp: New testcase.
9723
9724 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9725
9726 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9727 before using it.
9728
9729 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9730
9731 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9732 new tests for verilog output.
9733
9734 2015-04-24 Yao Qi <yao.qi@linaro.org>
9735
9736 * boards/remote-gdbserver-on-localhost.exp: New file.
9737
9738 2015-04-23 Pedro Alves <palves@redhat.com>
9739
9740 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9741 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9742 "end of file", remove $inferior_spawn_id from the indirect list.
9743
9744 2015-04-23 Pedro Alves <palves@redhat.com>
9745
9746 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9747
9748 2015-04-23 Pedro Alves <palves@redhat.com>
9749
9750 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9751 on $any_spawn_id instead of only on $gdb_spawn_id.
9752
9753 2015-04-21 Pierre Muller <muller@sourceware.org>
9754
9755 PR pascal/17815
9756 * lib/pascal.exp (gpc_compile): Add new option "class".
9757 (fpc_compile): Likewise.
9758 * gdb.pascal/case-insensitive-symbols.pas: New file.
9759 * gdb.pascal/case-insensitive-symbols.exp: New file.
9760
9761 2015-04-20 Gary Benson <gbenson@redhat.com>
9762
9763 * gdb.base/attach.exp: Fix three extended remote failures.
9764
9765 2015-04-17 Gary Benson <gbenson@redhat.com>
9766
9767 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9768 the main executable over the remote protocol.
9769
9770 2015-04-16 Pedro Alves <palves@redhat.com>
9771
9772 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9773 a new gdbserver if gdbserver_reconnect_p is set.
9774
9775 2015-04-16 Pedro Alves <palves@redhat.com>
9776
9777 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9778 is set, don't exit gdbserver.
9779
9780 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9781
9782 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9783 appropriate .insn, such that an older assembler can be used.
9784 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9785 the z/Architecture instruction set on 31-bit targets as well.
9786
9787 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9788
9789 * gdb.go/handcall.exp: Remove all logic related to the first
9790 breakpoint and rely on go_runto_main instead.
9791 * gdb.go/strings.exp: Likewise.
9792 * gdb.go/unsafe.exp: Likewise.
9793 * gdb.go/hello.exp: Likewise. Also rename the remaining
9794 breakpoint marker to "breakpoint 1".
9795 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9796 * gdb.go/strings.go: Likewise.
9797 * gdb.go/unsafe.go: Likewise.
9798 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9799 "set breakpoint 2 here" and rename the remaining breakpoint marker
9800 to "breakpoint 1".
9801
9802 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9803
9804 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9805 if itertools.imap is not present.
9806 * gdb.python/py-objfile.exp: Add parentheses.
9807 * gdb.python/py-type.exp: Same.
9808 * gdb.python/py-unwind-maint.py: Same.
9809
9810 2015-04-15 Yao Qi <yao.qi@linaro.org>
9811
9812 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9813 of ":$ptr_size" and set its form explicitly.
9814
9815 2015-04-15 Pedro Alves <palves@redhat.com>
9816 Yao Qi <yao.qi@linaro.org>
9817
9818 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9819 timeout by factor of 4.
9820 (test_regular_watch): Likewise.
9821 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9822 * gdb.reverse/sigall-reverse.exp: Likewise.
9823 * gdb.reverse/until-precsave.exp: Likewise.
9824 * lib/gdb.exp (with_timeout_factor): New proc.
9825 (gdb_expect): Move some code to ...
9826 (get_largest_timeout): ... here. New procedure.
9827
9828 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
9829
9830 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9831
9832 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9833
9834 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9835 to write to the .text section.
9836
9837 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9838
9839 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9840 Handle the case of targets that do not provide PID information.
9841
9842 2015-04-13 Yao Qi <yao.qi@linaro.org>
9843
9844 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9845 and use expect instead of gdb_expect.
9846
9847 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9848
9849 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9850 "coredump_var_addr" to avoid naming conflict with other testcases.
9851
9852 2015-04-10 Pedro Alves <palves@redhat.com>
9853
9854 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
9855 gdb_test_sequence and gdb_assert.
9856
9857 2015-04-10 Pedro Alves <palves@redhat.com>
9858
9859 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
9860 test messages that don't include the breakpoint address.
9861
9862 2015-04-10 Yao Qi <yao.qi@linaro.org>
9863
9864 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
9865 false for some offset and width combinations which aren't
9866 supported by linux kernel.
9867
9868 2015-04-10 Pedro Alves <palves@redhat.com>
9869
9870 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
9871 procedure, factored out from ...
9872 (top level): ... here. Add "set displaced-stepping" testing axis.
9873 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
9874 parameter "displaced". Use it.
9875 (top level): Use foreach and add "set displaced-stepping" testing
9876 axis.
9877
9878 2015-04-10 Pedro Alves <palves@redhat.com>
9879
9880 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
9881 Remove comment.
9882 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
9883 both the address of the instruction that triggers the watchpoint
9884 and the address of the instruction immediately after, and use
9885 those addresses for the test. Fix comment.
9886
9887 2015-04-10 Pedro Alves <palves@redhat.com>
9888
9889 * gdb.base/sigstep.exp (breakpoint_to_handler)
9890 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
9891 Test "backtrace" in handler.
9892 (breakpoint_over_handler): New parameter 'displaced'. Use it.
9893 (top level): Add new "displaced" test axis to
9894 breakpoint_to_handler, breakpoint_to_handler_entry and
9895 breakpoint_over_handler.
9896
9897 2015-04-10 Pedro Alves <palves@redhat.com>
9898
9899 PR gdb/18216
9900 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
9901
9902 2015-04-10 Yao Qi <yao.qi@linaro.org>
9903
9904 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
9905 (test_add_rn_pc): New function.
9906 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
9907 (top level): Invoke test_add_rn_pc.
9908
9909 2015-04-10 Pedro Alves <palves@redhat.com>
9910
9911 PR gdb/13858
9912 * gdb.base/step-over-no-symbols.exp: New file.
9913
9914 2015-04-09 Andy Wingo <wingo@igalia.com>
9915
9916 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
9917 after the Python tests.
9918
9919 2015-04-08 Keith Seitz <keiths@redhat.com>
9920
9921 PR python/16699
9922 * gdb.python/py-completion.exp: New tests for completion.
9923 * gdb.python/py-completion.py (CompleteLimit1): New class.
9924 (CompleteLimit2): Likewise.
9925 (CompleteLimit3): Likewise.
9926 (CompleteLimit4): Likewise.
9927 (CompleteLimit5): Likewise.
9928 (CompleteLimit6): Likewise.
9929 (CompleteLimit7): Likewise.
9930
9931 2015-04-08 Pedro Alves <palves@redhat.com>
9932
9933 PR gdb/18214
9934 PR gdb/18216
9935 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
9936 function.
9937 (main): Install it as SIGUSR1 handler.
9938 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
9939 parameter. Always use "setup" as prefix. Toggle "set
9940 displaced-stepping" off/on depending on global. Don't switch to
9941 thread 1 here.
9942 (top level): Add displaced stepping "off/on" test axis. Update
9943 "setup" calls. Wrap each subtest with with_test_prefix. Test
9944 continuing with a queued signal in each thread.
9945
9946 2015-04-08 Pedro Alves <palves@redhat.com>
9947
9948 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
9949 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
9950 gdb_breakpoint instead of gdb_test that doesn't expect anything.
9951 Return early if running to main fails.
9952 * gdb.trace/while-stepping.exp: Likewise.
9953
9954 2015-04-07 Pedro Alves <palves@redhat.com>
9955
9956 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
9957 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
9958 interact with inferior program.
9959
9960 2015-04-07 Pedro Alves <palves@redhat.com>
9961
9962 * lib/gdb.exp (inferior_spawn_id): New global.
9963 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
9964 spawn id after processing the user code.
9965 (default_gdb_start): Set inferior_spawn_id.
9966 (send_inferior): New procedure.
9967 * lib/gdbserver-support.exp (gdbserver_start): Set
9968 inferior_spawn_id.
9969 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
9970
9971 2015-04-07 Pedro Alves <palves@redhat.com>
9972
9973 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
9974 * lib/gdbserver-support.exp (gdbserver_start): Make
9975 $server_spawn_id global.
9976 (gdbserver_start): Don't wait for gdbserver's spawn id with
9977 expect_background.
9978 (close_gdbserver): New procedure.
9979 (gdb_exit): Rename the default version and reimplement.
9980
9981 2015-04-07 Pedro Alves <palves@redhat.com>
9982
9983 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
9984 append the substituted item, not the original item.
9985
9986 2015-04-07 Pedro Alves <palves@redhat.com>
9987
9988 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
9989 gdb_expect.
9990
9991 2015-04-07 Pedro Alves <palves@redhat.com>
9992
9993 * gdb.base/interrupt.exp: Don't handle the case of the inferior
9994 output appearing once only.
9995
9996 2015-04-07 Pedro Alves <palves@redhat.com>
9997
9998 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
9999 that doesn't expect anything. Return early if running to main
10000 fails.
10001
10002 2015-04-07 Yao Qi <yao.qi@linaro.org>
10003
10004 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10005 (child_function): Call alarm.
10006 (main): Move call to alarm into the loop.
10007 * gdb.threads/non-stop-fair-events.exp: Build program with
10008 -DTIMEOUT=$timeout.
10009
10010 2015-04-06 Doug Evans <xdje42@gmail.com>
10011
10012 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10013 Fix dest parameter to board_info.
10014 (fpc_compile): Ditto.
10015 (gdb_compile_pascal): Rename dest arg to destfile.
10016
10017 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10018
10019 * gdb.ada/funcall_ref.exp: New file.
10020 * gdb.ada/funcall_ref/foo.adb: New file.
10021
10022 2015-04-02 Yao Qi <yao.qi@linaro.org>
10023
10024 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10025 is remote.
10026
10027 2015-04-02 Gary Benson <gbenson@redhat.com>
10028
10029 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10030
10031 2015-04-01 Sasha Smundak <asmundak@google.com>
10032
10033 * gdb.python/py-unwind-maint.c: New file.
10034 * gdb.python/py-unwind-maint.exp: New test.
10035 * gdb.python/py-unwind-maint.py: New file.
10036 * gdb.python/py-unwind.c: New file.
10037 * gdb.python/py-unwind.exp: New test.
10038 * gdb.python/py-unwind.py: New test.
10039
10040 2015-04-01 Pedro Alves <palves@redhat.com>
10041
10042 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10043 to fail instead of non-existent $test.
10044
10045 2015-04-01 Pedro Alves <palves@redhat.com>
10046
10047 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10048 GDBFLAGS if not empty.
10049
10050 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10051
10052 * gdb.ada/complete.exp: Remove "multi_line".
10053 * gdb.ada/info_exc.exp: Remove "multi_line".
10054 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10055 * gdb.ada/ptype_field.exp: Remove "multi_line".
10056 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10057 * gdb.ada/tagged.exp: Remove "multi_line".
10058 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10059 [multi_line ...]
10060 * gdb.btrace/delta.exp: Likewise.
10061 * gdb.btrace/exception.exp: Likewise.
10062 * gdb.btrace/function_call_history.exp: Likewise.
10063 * gdb.btrace/instruction_history.exp: Likewise.
10064 * gdb.btrace/nohist.exp: Likewise.
10065 * gdb.btrace/record_goto.exp: Likewise.
10066 * gdb.btrace/segv.exp: Likewise.
10067 * gdb.btrace/stepi.exp: Likewise.
10068 * gdb.btrace/tailcall.exp: Likewise.
10069 * gdb.btrace/unknown_functions.exp: Likewise.
10070 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10071 * lib/gdb.exp: Add the "multi_line" helper.
10072
10073 2015-04-01 Pedro Alves <palves@redhat.com>
10074
10075 * gdb.threads/tid-reuse.c: New file.
10076 * gdb.threads/tid-reuse.exp: New file.
10077
10078 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10079
10080 PR corefiles/16092
10081 * gdb.base/coredump-filter.c: New file.
10082 * gdb.base/coredump-filter.exp: Likewise.
10083
10084 2015-03-27 Petr Machata <pmachata@redhat.com>
10085
10086 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10087 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10088 (Dwarf::assemble): Initialize them.
10089 (Dwarf::lines): New function.
10090
10091 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10092
10093 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10094 SYMBOL_PREFIX for x86_64-*-cygwin.
10095
10096 2015-03-26 Andy Wingo <wingo@igalia.com>
10097
10098 PR symtab/18148
10099 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10100 const_value but not a location.
10101 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10102 location defined in non-main CUs are visible.
10103
10104 2015-03-26 Yao Qi <yao.qi@linaro.org>
10105
10106 PR testsuite/18139
10107 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10108 Add a line number entry for the same line.
10109 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10110 Add a line number entry for the same line.
10111
10112 2015-03-26 Yao Qi <yao.qi@linaro.org>
10113
10114 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10115 .int 0.
10116 (func): Likewise. Add .Lfunc_1 label.
10117 Use .Lfunc_1 label.
10118 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10119 .int 0.
10120 (func): Likewise.
10121 Use .Lfunc_1 label.
10122
10123 2015-03-26 Yao Qi <yao.qi@linaro.org>
10124
10125 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10126 Call gdb_compile instead to compile each .s files without debug
10127 information.
10128
10129 2015-03-26 Yao Qi <yao.qi@linaro.org>
10130
10131 * gdb.base/savedregs.exp (process_saved_regs): Make
10132 "Saved registers:" optional in the pattern.
10133
10134 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10135
10136 * gdb.btrace/next.exp: Merged into step.exp.
10137 * gdb.btrace/finish.exp: Merged into step.exp.
10138 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10139 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10140 "record goto" and checking the exact replay position.
10141 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10142 check for "Recording format" in "info record" output.
10143 * gdb.btrace/record_goto.exp: Choose test file based on target.
10144 * gdb.btrace/x86-record_goto.S: Renamed into ...
10145 * gdb.btrace/x86_64-record_goto.S: ... this.
10146 * gdb.btrace/i686-record_goto.S: New.
10147 * gdb.btrace/x86-tailcall.S: Renamed into ...
10148 * gdb.btrace/x86_64-tailcall.S: ... this.
10149 * gdb.btrace/i686-tailcall.S: New.
10150 * gdb.btrace/x86-tailcall.c: Renamed into ...
10151 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10152 separate statements. Update test.
10153 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10154 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10155 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10156 * gdb.btrace/tailcall.exp: Choose test file based on target.
10157 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10158
10159 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10160
10161 * gdb.btrace/exception.exp: Increase BTS buffer size.
10162
10163 2015-03-24 Pedro Alves <palves@redhat.com>
10164
10165 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10166
10167 2015-03-24 Pedro Alves <palves@redhat.com>
10168
10169 * gdb.threads/schedlock.exp (test_step): No longer expect that
10170 "set scheduler-locking step" with "next" over a function call runs
10171 threads unlocked.
10172
10173 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10174
10175 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10176
10177 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10178
10179 PR breakpoints/16466
10180 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10181 * gdb.mi/mi-pending.c (thread_func): New function.
10182 (int main): Add threading support required.
10183 * gdb.mi/mi-pending.exp: Add tests for this issue.
10184 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10185 (pendfunc2): Remove stdio dependency.
10186 * gdb.mi/mi-pendshr2.c: New file.
10187
10188 2015-03-23 Keith Seitz <keiths@redhat.com>
10189
10190 * gdb.linespec/keywords.c: New file.
10191 * gdb.linespec/keywords.exp: New file.
10192
10193 2015-03-23 Keith Seitz <keiths@redhat.com>
10194
10195 PR gdb/18021
10196 * gdb.dwarf2/staticvirtual.exp: New test.
10197
10198 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10199
10200 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10201 * README: Remove HP-UX and gdb.hp.
10202 (configuration):
10203 * configure: Regenerate.
10204 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10205 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10206 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10207 gdb.hp/gdb.defects/Makefile.
10208 * gdb.hp/Makefile.in: File deleted.
10209 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10210 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10211 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10212 * gdb.hp/gdb.aCC/run.c: File deleted.
10213 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10214 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10215 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10216 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10217 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10218 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10219 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10220 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10221 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10222 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10223 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10224 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10225 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10226 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10227 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10228 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10229 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10230 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10231 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10232 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10233 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10234 * gdb.hp/gdb.compat/average.c: File deleted.
10235 * gdb.hp/gdb.compat/sum.c: File deleted.
10236 * gdb.hp/gdb.compat/xdb.c: File deleted.
10237 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10238 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10239 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10240 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10241 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10242 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10243 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10244 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10245 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10246 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10247 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10248 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10249 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10250 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10251 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10252 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10253 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10254 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10255 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10256 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10257 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10258 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10259 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10260 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10261 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10262 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10263 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10264 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10265 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10266 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10267 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10268 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10269 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10270 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10271 * gdb.hp/tools/odump: File deleted.
10272
10273 2015-03-19 Pedro Alves <palves@redhat.com>
10274
10275 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10276 (saw_thread_3): New globals.
10277 (top level): Increment them when an event for the corresponding
10278 thread is seen.
10279 (no thread starvation): New test.
10280
10281 2015-03-19 Pedro Alves <palves@redhat.com>
10282
10283 * gdb.threads/continue-pending-status.c: New file.
10284 * gdb.threads/continue-pending-status.exp: New file.
10285
10286 2015-03-18 Pedro Alves <palves@redhat.com>
10287
10288 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10289 Use gdb_is_target_remote instead of is_remote. Use
10290 gdb_test_multiple instead of gdb_expect. Exit early if
10291 gdb_test_multiple hits its internal matches. Tighten stepi tests
10292 expected output. Fail on exit with any signal, instead of just
10293 SIGILL.
10294
10295 2015-03-18 Yao Qi <yao.qi@linaro.org>
10296
10297 PR tdep/18107
10298 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10299 variable.
10300 * gdb.base/catch-syscall.exp: Don't skip it on
10301 aarch64*-*-linux* target. Remove elements in all_syscalls.
10302 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10303 target.
10304 (setup_all_syscalls): New proc.
10305
10306 2015-03-16 Yao Qi <yao.qi@linaro.org>
10307
10308 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10309 (top level): Skip tests if valid_addr_p returns false for
10310 $cmd1 or $cmd2.
10311
10312 2015-03-11 Andy Wingo <wingo@igalia.com>
10313
10314 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10315
10316 2015-03-11 Yao Qi <yao.qi@linaro.org>
10317
10318 * gdb.base/catch-syscall.exp: Fix typo in comments.
10319
10320 2015-03-11 Yao Qi <yao.qi@linaro.org>
10321
10322 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10323
10324 2015-03-09 Pedro Alves <palves@redhat.com>
10325
10326 * dg-extract-results.py: Delete.
10327
10328 2015-03-09 Pedro Alves <palves@redhat.com>
10329
10330 Merge dg-extract-results.sh from GCC upstream (r218843).
10331
10332 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10333 * dg-extract-results.sh: Use --text with grep to avoid issues with
10334 binary files. Fall back to cat -v, if that doesn't work.
10335
10336 2015-03-05 Pedro Alves <palves@redhat.com>
10337
10338 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10339
10340 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10341
10342 * lib/mi-support.exp (mi_expect_interrupt): Accept
10343 alternative event for when in all-stop mode.
10344
10345 2015-03-04 Pedro Alves <palves@redhat.com>
10346
10347 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10348
10349 2015-03-04 Mark Kettenis <kettenis@gnu.org>
10350
10351 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10352
10353 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10354
10355 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10356 regexps for GDB's current line display, accept a hex address
10357 preceding the line number.
10358
10359 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10360
10361 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10362 the 'arch1' variable for "s390*-linux*" targets.
10363
10364 2015-03-04 Pedro Alves <palves@redhat.com>
10365
10366 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10367 (main): Pass missing retval argument to pthread_join call.
10368
10369 2015-03-02 Pedro Alves <palves@redhat.com>
10370
10371 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10372 (top level): Call do_test with non-stop as well.
10373
10374 2015-03-02 Pedro Alves <palves@redhat.com>
10375
10376 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10377 -1.
10378
10379 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10380
10381 * gdb.arch/s390-vregs.exp: New test.
10382 * gdb.arch/s390-vregs.S: New file.
10383
10384 2015-02-27 Pedro Alves <palves@redhat.com>
10385
10386 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10387 call to catch_command_errors.
10388 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10389 catch_command_errors.
10390
10391 2015-02-27 Pedro Alves <palves@redhat.com>
10392
10393 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10394 "true" for boolean result.
10395 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10396 prototype of main.
10397
10398 2015-02-27 Pedro Alves <palves@redhat.com>
10399
10400 * lib/unbuffer_output.c: New file.
10401 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10402 (main): Call gdb_unbuffer_output.
10403
10404 2015-02-27 Yao Qi <yao.qi@linaro.org>
10405
10406 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10407 target.
10408
10409 2015-02-26 Doug Evans <dje@google.com>
10410
10411 * gdb.cp/class2.cc (Dbase, D): New classes.
10412 (main): New local delta.
10413 * gdb.cp/class2.exp: Test printing delta.
10414 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10415 (dynbar): New global.
10416 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10417
10418 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10419
10420 * gdb.compile/compile-ifunc.c: New file.
10421 * gdb.compile/compile-ifunc.exp: New file.
10422
10423 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10424
10425 * gdb.base/structs.exp: Check for correct struct on finish.
10426
10427 2015-02-26 Yao Qi <yao.qi@linaro.org>
10428
10429 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10430 is zero.
10431
10432 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10433
10434 * gdb.arch/cordic.ko.bz2: New file.
10435 * gdb.arch/cordic.ko.debug.bz2: New file.
10436 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10437
10438 2015-02-25 Yao Qi <yao.qi@linaro.org>
10439
10440 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10441 aarch64*-*-* target.
10442
10443 2015-02-23 Pedro Alves <palves@redhat.com>
10444
10445 * lib/gdb.exp (delete_breakpoints): Rewrite using
10446 gdb_test_multiple.
10447
10448 2015-02-23 Pedro Alves <palves@redhat.com>
10449
10450 * gdb.base/info-os.c: Include stdlib.h.
10451
10452 2015-02-22 Doug Evans <xdje42@gmail.com>
10453
10454 PR symtab/17855
10455 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10456 is read after symbols have been re-read.
10457 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10458 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10459
10460 2015-02-21 Doug Evans <dje@google.com>
10461
10462 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10463
10464 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10465
10466 PR corefiles/17808
10467 * gdb.arch/i386-biarch-core.core.bz2: New file.
10468 * gdb.arch/i386-biarch-core.exp: New file.
10469
10470 2015-02-21 Pedro Alves <palves@redhat.com>
10471
10472 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10473 runto_main fails.
10474
10475 2015-02-20 Pedro Alves <palves@redhat.com>
10476
10477 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10478 info probes.
10479
10480 2015-02-20 Pedro Alves <palves@redhat.com>
10481
10482 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10483
10484 2015-02-20 Pedro Alves <palves@redhat.com>
10485
10486 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10487 clean_restart before gdb_target_supports_trace.
10488
10489 2015-02-20 Pedro Alves <palves@redhat.com>
10490
10491 PR threads/18006
10492 * gdb.threads/clone-thread_db.c: New file.
10493 * gdb.threads/clone-thread_db.exp: New file.
10494
10495 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10496
10497 PR breakpoints/16812
10498 * gdb.base/catch-gdb-caused-signals.c: New file.
10499 * gdb.base/catch-gdb-caused-signals.exp: New file.
10500
10501 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10502
10503 * configure: Regenerated.
10504 * configure.ac: Use GDB_AC_TRANSFORM.
10505 * aclocal.m4: sinclude ../transform.m4.
10506
10507 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10508
10509 * lib/dtrace.exp: New file.
10510 * gdb.base/dtrace-probe.exp: Likewise.
10511 * gdb.base/dtrace-probe.d: Likewise.
10512 * gdb.base/dtrace-probe.c: Likewise.
10513 * lib/pdtrace.in: Likewise.
10514 * configure.ac: Output variables with the transformed names of
10515 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
10516 * configure: Regenerated.
10517
10518 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10519
10520 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10521 expected message when trying to access $_probe_* convenience
10522 variables while not on a probe.
10523
10524 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10525
10526 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10527
10528 2015-02-11 Pedro Alves <pedro@codesourcery.com>
10529
10530 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10531 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10532
10533 2015-02-10 Doug Evans <xdje42@gmail.com>
10534
10535 * lib/gdb.exp (gdb_load): Always return a result.
10536
10537 2015-02-10 Pedro Alves <palves@redhat.com>
10538
10539 * gdb.threads/signal-sigtrap.c: New file.
10540 * gdb.threads/signal-sigtrap.exp: New file.
10541
10542 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
10543
10544 * gdb.trace/no-attach-trace.c: New file.
10545 * gdb.trace/no-attach-trace.exp: New file.
10546
10547 2015-02-09 Mark Wielaard <mjw@redhat.com>
10548
10549 * gdb.dwarf2/atomic.c: New file.
10550 * gdb.dwarf2/atomic-type.exp: Likewise.
10551
10552 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10553
10554 * gdb.btrace/buffer-size.exp: Update "info record" output.
10555 * gdb.btrace/delta.exp: Update "info record" output.
10556 * gdb.btrace/enable.exp: Update "info record" output.
10557 * gdb.btrace/finish.exp: Update "info record" output.
10558 * gdb.btrace/instruction_history.exp: Update "info record" output.
10559 * gdb.btrace/next.exp: Update "info record" output.
10560 * gdb.btrace/nexti.exp: Update "info record" output.
10561 * gdb.btrace/step.exp: Update "info record" output.
10562 * gdb.btrace/stepi.exp: Update "info record" output.
10563 * gdb.btrace/nohist.exp: Update "info record" output.
10564
10565 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10566
10567 * gdb.btrace/buffer-size: New.
10568
10569 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10570
10571 * gdb.btrace/delta.exp: Update "info record" output.
10572 * gdb.btrace/enable.exp: Update "info record" output.
10573 * gdb.btrace/finish.exp: Update "info record" output.
10574 * gdb.btrace/instruction_history.exp: Update "info record" output.
10575 * gdb.btrace/next.exp: Update "info record" output.
10576 * gdb.btrace/nexti.exp: Update "info record" output.
10577 * gdb.btrace/step.exp: Update "info record" output.
10578 * gdb.btrace/stepi.exp: Update "info record" output.
10579 * gdb.btrace/nohist.exp: Update "info record" output.
10580
10581 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10582
10583 PR gdb/15678
10584 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10585
10586 2015-02-06 Pedro Alves <palves@redhat.com>
10587
10588 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10589 macro.
10590 (seconds_left, again): New globals.
10591 (main): Wait seconds_left in a 1-second sleep loop instead of
10592 sleeping 180 seconds. If 'again' is set, reset the seconds
10593 counter.
10594 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10595 'again' in the inferior before detaching. Print the seconds left.
10596 (options): New global.
10597 (top level): Build program with -DTIMEOUT=$timeout.
10598
10599 2015-02-06 Pedro Alves <palves@redhat.com>
10600
10601 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10602 determine how many seconds to pass to 'alarm'.
10603 * gdb.base/gdb-sigterm.exp (top level): Build program with
10604 -DTIMEOUT=$timeout.
10605 (do_test): Return success/failure indication. Add more verbose
10606 logging. Don't fail if 200 single steps are seen. Instead, fail
10607 when the test times out.
10608 (passes): New global.
10609 (top level): Break the testing loop if testing fails on any
10610 iteration. Use gdb_assert.
10611
10612 2015-02-04 Don Breazeal <donb@codesourcery.com>
10613
10614 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10615 and initialize them.
10616 (ipc_cleanup): New function.
10617 (main): Don't declare shmid, semid, and msqid. Add a call to
10618 atexit so that we call ipc_cleanup on exit.
10619
10620 2015-02-04 Pedro Alves <palves@redhat.com>
10621
10622 * boards/native-extended-gdbserver.exp: Remove any target variant
10623 specifications from the board name before clearing the isremote
10624 flag from board_info.
10625
10626 2015-01-31 Doug Evans <xdje42@gmail.com>
10627
10628 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10629
10630 2015-01-31 Gary Benson <gbenson@redhat.com>
10631
10632 * gdb.base/completion.exp: Disable completion limiting for
10633 existing tests. Add new tests to check completion limiting.
10634 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10635
10636 2015-01-31 Doug Evans <xdje42@gmail.com>
10637
10638 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10639
10640 2015-01-31 Doug Evans <xdje42@gmail.com>
10641
10642 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10643 entries. Duplicate file section script entries.
10644 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10645 inlined entries. Add test for safe-path rejection.
10646 * gdb.python/py-section-script.c: Add duplicate inlined section script
10647 entries. Duplicate file section script entries.
10648 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10649 inlined entries. Add test for safe-path rejection.
10650
10651 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10652
10653 * gdb.ada/disc_arr_bound: New testcase.
10654
10655 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10656
10657 * gdb.ada/mi_var_array: New testcase.
10658
10659 2015-01-27 Doug Evans <dje@google.com>
10660
10661 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10662 Add test for objfile.filename, objfile.username after objfile
10663 has been unloaded.
10664
10665 2015-01-26 Joel Brobecker <brobecker@adacore.com>
10666
10667 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10668 the second test to print the name attribute of value
10669 returned by the call to gdb.lookup_type, and adjust
10670 the expected output accordingly.
10671
10672 2015-01-25 Mark Wielaard <mjw@redhat.com>
10673
10674 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10675 * gdb.base/disp-step-fork.c: Include unistd.h.
10676 * gdb.base/siginfo-obj.c: Include stdio.h.
10677 * gdb.base/siginfo-thread.c: Likewise.
10678 * gdb.mi/non-stop.c: Include unistd.h.
10679 * gdb.mi/nsthrexec.c: Include stdio.h.
10680 * gdb.mi/pthreads.c: Include unistd.h.
10681 * gdb.modula2/unbounded1.c (main): Declare returns int.
10682 * gdb.reverse/consecutive-reverse.c: Likewise.
10683 * gdb.threads/create-fail.c: Include unistd.h.
10684 * gdb.threads/killed.c: Likewise.
10685 * gdb.threads/linux-dp.c: Likewise.
10686 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10687 * gdb.threads/non-ldr-exc-2.c: Likewise.
10688 * gdb.threads/non-ldr-exc-3.c: Likewise.
10689 * gdb.threads/non-ldr-exc-4.c: Likewise.
10690 * gdb.threads/pthreads.c: Include unistd.h.
10691 (main): Declare returns int.
10692 * gdb.threads/tls-main.c (foo): New declaration.
10693 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10694
10695 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10696
10697 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10698 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10699
10700 2015-01-15 Mark Wielaard <mjw@redhat.com>
10701
10702 * gdb.base/noreturn-return.c: New file.
10703 * gdb.base/noreturn-return.exp: New file.
10704 * gdb.base/noreturn-finish.c: New file.
10705 * gdb.base/noreturn-finish.exp: New file.
10706
10707 2015-01-23 Pedro Alves <palves@redhat.com>
10708
10709 * gdb.threads/continue-pending-after-query.c: New file.
10710 * gdb.threads/continue-pending-after-query.exp: New file.
10711
10712 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10713 Simon Marchi <simon.marchi@ericsson.com>
10714
10715 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10716 * gdb.base/valgrind-db-attach.exp: Same.
10717 * gdb.base/valgrind-infcall.exp: Same.
10718 * lib/mi-support.exp (default_mi_gdb_start): Same.
10719 * lib/prompt.exp (default_prompt_gdb_start): Same.
10720 * lib/gdb.exp (default_gdb_spawn): Same.
10721 (gdb_interact): New.
10722
10723
10724 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10725
10726 * gdb.compile/compile.exp (pointer to jit function): New test.
10727
10728 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
10729
10730 * lib/gdb.exp (supports_process_record): Return true for
10731 powerpc*-*-linux*.
10732 (supports_reverse): Likewise.
10733
10734 2015-01-15 Don Breazeal <donb@codesourcery.com>
10735
10736 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10737 instead of checking whether the target board is remote and
10738 use spawn_wait_for_attach instead of exec/sleep.
10739 * gdb.base/attach-twice.exp: Likewise.
10740
10741 2015-01-15 Joel Brobecker <brobecker@adacore.com>
10742
10743 * gdb.ada/var_arr_attrs: New testcase.
10744
10745 2015-01-14 Pedro Alves <palves@redhat.com>
10746 Joel Brobecker <brobecker@adacore.com>
10747
10748 PR gdb/17525
10749 * gdb.base/bp-cmds-execution-x-script.c: New file.
10750 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10751 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10752
10753 2015-01-14 Pedro Alves <palves@redhat.com>
10754
10755 PR cli/17828
10756 * gdb.base/batch-preserve-term-settings.c: New file.
10757 * gdb.base/batch-preserve-term-settings.exp: New file.
10758
10759 2015-01-13 Doug Evans <dje@google.com>
10760
10761 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10762 binary.
10763
10764 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10765
10766 * Makefile.in (clean mostlyclean): Do not delete *.py.
10767
10768 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10769
10770 * gdb.python/py-lookup-type.exp: New file.
10771
10772 2015-01-12 Pedro Alves <palves@redhat.com>
10773
10774 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10775 restore GDBFLAGS before returning.
10776
10777 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10778
10779 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10780 is_amd64_regs_target and is_x86_like_target.
10781
10782 2015-01-11 Doug Evans <xdje42@gmail.com>
10783
10784 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10785 is given without an explicit form.
10786 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10787 attributes.
10788 * gdb.dwarf/corrupt.exp: Ditto.
10789 * gdb.dwarf2/enum-type.exp: Ditto.
10790 * gdb.trace/entry-values.exp: Ditto.
10791 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10792
10793 2015-01-11 Doug Evans <xdje42@gmail.com>
10794
10795 PR gdb/15830
10796 * gdb.base/maint.exp: Remove references to "maint demangle".
10797 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10798 Add tests for explicitly specifying language to demangle.
10799 * gdb.dlang/demangle.exp: Ditto.
10800
10801 2015-01-09 Pedro Alves <palves@redhat.com>
10802
10803 * gdb.threads/non-stop-fair-events.c: New file.
10804 * gdb.threads/non-stop-fair-events.exp: New file.
10805
10806 2015-01-09 Pedro Alves <palves@redhat.com>
10807
10808 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10809 the global scope. Set a breakpoint after all threads are started
10810 rather than stepping over two source lines. Expect the prompt.
10811 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10812 global.
10813 (NUM): Now 15.
10814 (main): Use threads_started_barrier to wait for all threads to
10815 start. Main thread no longer calls thread_function. Exit after
10816 180 seconds.
10817 (loop): New function.
10818 (thread_function): Wait on threads_started_barrier barrier. Call
10819 'loop' at each iteration.
10820 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10821 threads have started, instead of hardcoding number of "next"
10822 steps. Use an access watchpoint instead of a write watchpoint.
10823
10824 2015-01-09 Pedro Alves <palves@redhat.com>
10825
10826 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10827 (thread_func): Wait on barrier.
10828 (main): Wait for all threads to start before stopping GDB.
10829 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10830 global.
10831 (thread1_func, thread2_func): Wait on barrier.
10832 (main): Wait for all threads to start before stopping GDB.
10833 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10834 New global.
10835 (thread1_func, thread2_func): Wait on barrier.
10836 (main): Wait for all threads to start before stopping GDB.
10837
10838 2015-01-09 Pedro Alves <palves@redhat.com>
10839
10840 * gdb.threads/attach-many-short-lived-threads.c: New file.
10841 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10842
10843 2014-01-09 Pedro Alves <palves@redhat.com>
10844
10845 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10846 instead of to thread 2.
10847 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10848 Add barrier around each pthread_create call instead of around all
10849 calls.
10850 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10851 Set a break on thread_function and have the child threads hit it
10852 one at at a time.
10853
10854 2015-01-09 Pedro Alves <palves@redhat.com>
10855
10856 * lib/gdb.exp (can_spawn_for_attach): New procedure.
10857 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
10858 false.
10859 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
10860 checking whether the target board is remote.
10861 * gdb.multi/multi-attach.exp: Likewise.
10862 * gdb.python/py-sync-interp.exp: Likewise.
10863 * gdb.server/ext-attach.exp: Likewise.
10864 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
10865 tests that need to attach, instead of checking whether the target
10866 board is remote at the top of the file.
10867
10868 2015-01-08 Yao Qi <yao@codesourcery.com>
10869
10870 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
10871
10872 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10873
10874 Fix testcase compilation.
10875 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
10876
10877 2015-01-06 Joel Brobecker <brobecker@adacore.com>
10878
10879 * gdb.python/py-type.exp: Add a couple test about empty
10880 array creation, and negative-length array creation.
10881
10882 2015-01-02 Doug Evans <xdje42@gmail.com>
10883
10884 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
10885
10886 2015-01-02 Doug Evans <dje@google.com>
10887
10888 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
10889
10890 2014-12-29 Yao Qi <yao@codesourcery.com>
10891
10892 * gdb.trace/entry-values.exp: Update comments. Rename variable
10893 bar_call_foo to returned_from_foo.
10894
10895 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
10896
10897 PR gdb/17394
10898 * gdb.linespec/break-asm-file.c: New file.
10899 * gdb.linespec/break-asm-file.exp: New file.
10900 * gdb.linespec/break-asm-file0.s: New file.
10901 * gdb.linespec/break-asm-file1.s: New file.
10902
10903 2014-12-18 Nigel Stephens <nigel@mips.com>
10904 Maciej W. Rozycki <macro@codesourcery.com>
10905
10906 * gdb.base/float.exp: Handle the new output from "info float" on
10907 MIPS targets.
10908
10909 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10910
10911 Fix MinGW compilation.
10912 * gdb.compile/compile-ops.exp: Update untested message if
10913 !skip_compile_feature_tests.
10914 * gdb.compile/compile-setjmp.exp: Likewise.
10915 * gdb.compile/compile-tls.exp: Likewise.
10916 * gdb.compile/compile.exp: Likewise.
10917 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
10918 supported on this host".
10919
10920 2014-12-16 Doug Evans <xdje42@gmail.com>
10921
10922 * boards/stabs.exp: New file.
10923
10924 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
10925
10926 * gdb.base/completion.exp: Adjust to format changes of "maint
10927 print user-registers".
10928
10929 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
10930
10931 PR server/17457
10932 * gdb.arch/aarch64-fp.c: New file.
10933 * gdb.arch/aarch64-fp.exp: New file.
10934
10935 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10936
10937 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
10938 r210637, r210913, r211666, r215400, r215817).
10939
10940 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
10941 * dg-extract-results.py: New file.
10942 * dg-extract-results.sh: Use it if the environment seems
10943 suitable.
10944
10945 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
10946
10947 * dg-extract-results.py (parse_run): Handle warnings that
10948 are printed before a test harness is run.
10949
10950 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
10951
10952 * dg-extract-results.py (Named): Remove __cmp__ method.
10953 (output_variation): Use a key to sort variation.harnesses.
10954
10955 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
10956
10957 * dg-extract-results.py: For Python 3, force sys.stdout to
10958 handle surrogate escape sequences.
10959 (safe_open): New function.
10960 (output_segment, main): Use it.
10961
10962 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
10963
10964 * dg-extract-results.py (Prog.result_re): Include options
10965 in test name.
10966
10967 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
10968
10969 * dg-extract-results.py (output_variation): Always sort if
10970 do_sum.
10971
10972 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
10973
10974 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
10975 as long as we get pagination notifications.
10976
10977 2014-12-15 Jason Merrill <jason@redhat.com>
10978
10979 * Makefile.in (check-gdb.%): Restore.
10980 * README: Mention it.
10981
10982 2014-12-13 Joel Brobecker <brobecker@adacore.com>
10983
10984 * gdb.ada/str_uninit: New testcase.
10985
10986 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10987
10988 PR symtab/17642
10989 * gdb.base/vla-stub-define.c: New file.
10990 * gdb.base/vla-stub.c: New file.
10991 * gdb.base/vla-stub.exp: New file.
10992
10993 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
10994 Jan Kratochvil <jan.kratochvil@redhat.com>
10995 Tom Tromey <tromey@redhat.com>
10996
10997 * configure.ac: Add gdb.compile/.
10998 * configure: Regenerate.
10999 * gdb.compile/Makefile.in: New file.
11000 * gdb.compile/compile-ops.exp: New file.
11001 * gdb.compile/compile-ops.c: New file.
11002 * gdb.compile/compile-tls.c: New file.
11003 * gdb.compile/compile-tls.exp: New file.
11004 * gdb.compile/compile-constvar.S: New file.
11005 * gdb.compile/compile-constvar.c: New file.
11006 * gdb.compile/compile-mod.c: New file.
11007 * gdb.compile/compile-nodebug.c: New file.
11008 * gdb.compile/compile-setjmp-mod.c: New file.
11009 * gdb.compile/compile-setjmp.c: New file.
11010 * gdb.compile/compile-setjmp.exp: New file.
11011 * gdb.compile/compile-shlib.c: New file.
11012 * gdb.compile/compile.c: New file.
11013 * gdb.compile/compile.exp: New file.
11014 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11015
11016 2014-12-12 Tom Tromey <tromey@redhat.com>
11017
11018 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11019 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11020
11021 2014-12-12 Doug Evans <dje@google.com>
11022
11023 * lib/gdb-python.exp (get_python_valueof): New function.
11024 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11025
11026 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11027
11028 * gdb.base/completion.exp: Add test for completion of "info
11029 registers ".
11030
11031 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11032
11033 * gdb.base/func-ptrs.c: New file.
11034 * gdb.base/func-ptrs.exp: New file.
11035
11036 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11037
11038 PR breakpoints/17012
11039 * gdb.base/dprintf-detach.c: New file.
11040 * gdb.base/dprintf-detach.exp: New file.
11041
11042 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11043
11044 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11045 * lib/gdb.exp (target_is_gdbserver): New procedure.
11046
11047 2014-12-08 Doug Evans <dje@google.com>
11048
11049 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11050
11051 2014-12-05 Yao Qi <yao@codesourcery.com>
11052
11053 * gdb.guile/scm-error.exp: Remove the third argument to
11054 gdb_remote_download.
11055 * gdb.guile/scm-frame-args.exp: Likewise.
11056 * gdb.guile/scm-section-script.exp: Likewise.
11057
11058 2014-12-05 Yao Qi <yao@codesourcery.com>
11059
11060 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11061
11062 2014-12-04 Doug Evans <dje@google.com>
11063
11064 * gdb.python/py-objfile.exp: Add tests for
11065 objfile.add_separate_debug_file.
11066
11067 2014-12-04 Doug Evans <dje@google.com>
11068
11069 * lib/gdb.exp (get_build_id): New function.
11070 (build_id_debug_filename_get): Rewrite to use it.
11071 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11072
11073 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11074
11075 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11076 `method(long)', not just 0x0.
11077 * gdb.cp/nsalias.exp: Align code labels to 4.
11078 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11079 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11080 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11081 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11082 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11083 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11084
11085 2014-12-02 Doug Evans <dje@google.com>
11086
11087 PR symtab/17602
11088 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11089 * gdb.cp/anon-ns2.cc: ... here. New file.
11090 * gdb.cp/anon-ns.exp: Update.
11091
11092 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
11093
11094 * gdb.python/py-events.py (inferior_call_handler): New.
11095 (register_changed_handler, memory_changed_handler): New.
11096 (test_events.invoke): Register new handlers.
11097 * gdb.python/py-events.exp: Add tests for inferior call,
11098 memory_changed and register_changed events.
11099
11100 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11101
11102 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11103 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11104 if the linker doesn't understand this.
11105
11106 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11107
11108 * gdb.python/python.exp: Change expected reply to help().
11109
11110 2014-12-01 Yao Qi <yao@codesourcery.com>
11111
11112 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11113 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11114 * configure: Re-generated.
11115
11116 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11117
11118 * gdb.cp/chained-calls.cc: New file.
11119 * gdb.cp/chained-calls.exp: New file.
11120 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11121
11122 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11123
11124 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11125 * gdb.dwarf2/symtab-producer.exp: Same.
11126 * gdb.gdb/python-interrupts.exp: Same.
11127 * gdb.gdb/python-selftest.exp: Same.
11128 * gdb.python/py-linetable.exp: Same.
11129 * gdb.python/py-type.exp: Same.
11130 * gdb.python/py-value-cc.exp: Same.
11131 * gdb.python/py-value.exp: Same.
11132
11133 2014-11-28 Yao Qi <yao@codesourcery.com>
11134
11135 * gdb.base/break-probes.exp: Match library name prefixed with
11136 sysroot.
11137
11138 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11139
11140 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11141 test expected output. Add parentheses for the call to print.
11142 Remove L suffix from integers.
11143
11144 2014-11-26 Doug Evans <dje@google.com>
11145
11146 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11147
11148 2014-11-22 Yao Qi <yao@codesourcery.com>
11149
11150 * gdb.trace/entry-values.c: Remove asms.
11151 (foo): Add foo_label.
11152 (bar): Add bar_label.
11153 * gdb.trace/entry-values.exp: Remove code computing foo's
11154 length and bar's length.
11155 (Dwarf::assemble): Invoke function_range for bar and use
11156 MACRO_AT_func for foo.
11157
11158 2014-11-22 Yao Qi <yao@codesourcery.com>
11159
11160 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11161 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11162 Use .Lgcc43_procstart instead of gcc43.
11163
11164 2014-11-21 Joel Brobecker <brobecker@adacore.com>
11165
11166 * gdb.ada/n_arr_bound: New testcase.
11167
11168 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11169
11170 PR breakpoints/10737
11171 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11172 test_catch_syscall_multi_arch.
11173 (test_catch_syscall_multi_arch): New function.
11174
11175 2014-11-20 Doug Evans <xdje42@gmail.com>
11176
11177 * gdb.base/maint.exp: Update expected output.
11178
11179 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11180
11181 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11182 4-byte instruction on S390.
11183
11184 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11185
11186 * gdb.ada/arr_arr: New testcase.
11187
11188 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11189
11190 * gdb.ada/pkd_arr_elem: New Testcase.
11191
11192 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11193
11194 * gdb.reverse/break-precsave: Expect completion message for
11195 core file reads.
11196 * gdb.reverse/consecutive-precsave.exp: Likewise.
11197 * gdb.reverse/finish-precsave.exp: Likewise.
11198 * gdb.reverse/i386-precsave.exp: Likewise.
11199 * gdb.reverse/machinestate-precsave.exp: Likewise.
11200 * gdb.reverse/sigall-precsave.exp: Likewise.
11201 * gdb.reverse/solib-precsave.exp: Likewise.
11202 * gdb.reverse/step-precsave.exp: Likewise.
11203 * gdb.reverse/until-precsave.exp: Likewise.
11204 * gdb.reverse/watch-precsave.exp: Likewise.
11205
11206 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11207
11208 * gdb.base/bp-permanent.c: Include unistd.h.
11209 * gdb.python/py-framefilter-mi.c (main): Add return type.
11210 * gdb.python/py-framefilter.c (main): Likewise.
11211 * gdb.trace/actions-changed.c (main): Likewise.
11212
11213 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11214
11215 * gdb.mi/until.c: Add eye-catchers.
11216 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11217 line numbers.
11218
11219 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11220
11221 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11222 function header variants in break1.c.
11223 * gdb.base/ena-dis-br.exp: Likewise.
11224 * gdb.base/hbreak2.exp: Likewise.
11225 * gdb.reverse/until-precsave.exp: Drop references to removed
11226 non-prototype function header variants in ur1.c.
11227 * gdb.reverse/until-reverse.exp: Likewise.
11228
11229 2014-11-17 Petr Machata <pmachata@redhat.com>
11230
11231 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11232 ${_cu_offset_size} bytes abbrev offset.
11233
11234 2014-11-15 Doug Evans <xdje42@gmail.com>
11235
11236 PR symtab/17559
11237 * gdb.base/line-symtabs.exp: New file.
11238 * gdb.base/line-symtabs.c: New file.
11239 * gdb.base/line-symtabs.h: New file.
11240
11241 2014-11-14 Yao Qi <yao@codesourcery.com>
11242
11243 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11244 (func): Add label func_label.
11245 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11246 Replace low_pc and high_pc with MACRO_AT_range.
11247 Replace name, low_pc and high_pc with MACRO_AT_func.
11248
11249 2014-11-14 Yao Qi <yao@codesourcery.com>
11250
11251 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11252 Replace name, low_pc and high_pc with MACRO_AT_func.
11253
11254 2014-11-14 Yao Qi <yao@codesourcery.com>
11255
11256 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11257 produce debug information.
11258 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11259
11260 2014-11-14 Yao Qi <yao@codesourcery.com>
11261
11262 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11263 object and get function length.
11264 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11265 with MACRO_AT_func.
11266 (top-level): Replace gdb_compile and clean_restart with
11267 prepare_for_testing.
11268 * gdb.dwarf2/main.c (main): Add label main_label.
11269
11270 2014-11-14 Yao Qi <yao@codesourcery.com>
11271
11272 * lib/dwarf.exp (function_range): New procedure.
11273 (Dwarf::_handle_macro_at_func): New procedure.
11274 (Dwarf::_handle_macro_at_range): New procedure.
11275 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11276
11277 2014-11-14 Yao Qi <yao@codesourcery.com>
11278
11279 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11280 (_handle_attribute): New procedure.
11281
11282 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11283
11284 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11285 * gdb.base/call-sc.c (zed): Likewise.
11286 * gdb.base/checkpoint.c (main): Likewise.
11287 * gdb.base/dump.c (main): Likewise.
11288 * gdb.base/gcore.c (main): Likewise.
11289 * gdb.base/huge.c (main): Likewise.
11290 * gdb.base/multi-forks.c (main): Likewise.
11291 * gdb.base/pr10179-a.c (main): Likewise.
11292 * gdb.base/savedregs.c (main): Likewise.
11293 * gdb.base/sigaltstack.c (main): Likewise.
11294 * gdb.base/siginfo.c (main): Likewise.
11295 * gdb.base/structs.c (zed): Likewise.
11296 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11297 * gdb.mi/mi-syn-frame.c (main): Likewise.
11298 * gdb.mi/until.c (foo, main): Likewise.
11299 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11300 * gdb.base/solib-weak.c (foo): Declare.
11301 * gdb.base/attach-twice.c: Include stdio.h.
11302 * gdb.base/weaklib1.c: Likewise.
11303 * gdb.base/weaklib2.c: Likewise.
11304 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11305 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11306 unistd.h.
11307 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11308 * gdb.mi/mi-exit-code.c: Likewise.
11309 * gdb.base/break-interp-lib.c: Include string.h.
11310 * gdb.base/coremaker.c: Likewise.
11311 * gdb.base/testenv.c: Likewise.
11312 * gdb.python/py-finish-breakpoint.c: Likewise.
11313 * gdb.base/inferior-died.c: Include sys/wait.h.
11314 * gdb.base/fileio.c: Include time.h.
11315 * gdb.base/async-shell.c: Include unistd.h.
11316 * gdb.base/dprintf-non-stop.c: Likewise.
11317 * gdb.base/info-os.c: Likewise.
11318 * gdb.mi/mi-console.c: Likewise.
11319 * gdb.mi/watch-nonstop.c: Likewise.
11320 * gdb.python/py-events.c: Likewise.
11321 * gdb.base/async.c (baz): Move up before its invocation.
11322 * gdb.base/code_elim2.c (my_global_func): Likewise.
11323 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11324 * gdb.base/advance.c (func2): Likewise.
11325
11326 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11327
11328 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11329 variant.
11330 * gdb.base/annota3.c: Likewise.
11331 * gdb.base/async.c: Likewise.
11332 * gdb.base/average.c: Likewise.
11333 * gdb.base/call-ar-st.c: Likewise.
11334 * gdb.base/call-rt-st.c: Likewise.
11335 * gdb.base/call-sc.c: Likewise.
11336 * gdb.base/call-strs.c: Likewise.
11337 * gdb.base/ending-run.c: Likewise.
11338 * gdb.base/execd-prog.c: Likewise.
11339 * gdb.base/exprs.c: Likewise.
11340 * gdb.base/foll-exec.c: Likewise.
11341 * gdb.base/foll-fork.c: Likewise.
11342 * gdb.base/foll-vfork.c: Likewise.
11343 * gdb.base/funcargs.c: Likewise.
11344 * gdb.base/gcore.c: Likewise.
11345 * gdb.base/jump.c: Likewise.
11346 * gdb.base/langs0.c: Likewise.
11347 * gdb.base/langs1.c: Likewise.
11348 * gdb.base/langs2.c: Likewise.
11349 * gdb.base/mips_pro.c: Likewise.
11350 * gdb.base/nodebug.c: Likewise.
11351 * gdb.base/opaque0.c: Likewise.
11352 * gdb.base/opaque1.c: Likewise.
11353 * gdb.base/recurse.c: Likewise.
11354 * gdb.base/run.c: Likewise.
11355 * gdb.base/scope0.c: Likewise.
11356 * gdb.base/scope1.c: Likewise.
11357 * gdb.base/setshow.c: Likewise.
11358 * gdb.base/setvar.c: Likewise.
11359 * gdb.base/shmain.c: Likewise.
11360 * gdb.base/shr1.c: Likewise.
11361 * gdb.base/shr2.c: Likewise.
11362 * gdb.base/sigall.c: Likewise.
11363 * gdb.base/signals.c: Likewise.
11364 * gdb.base/so-indr-cl.c: Likewise.
11365 * gdb.base/solib2.c: Likewise.
11366 * gdb.base/structs.c: Likewise.
11367 * gdb.base/sum.c: Likewise.
11368 * gdb.base/vforked-prog.c: Likewise.
11369 * gdb.base/watchpoint.c: Likewise.
11370 * gdb.reverse/shr2.c: Likewise.
11371 * gdb.reverse/until-reverse.c: Likewise.
11372 * gdb.reverse/ur1.c: Likewise.
11373 * gdb.reverse/watch-reverse.c: Likewise.
11374
11375 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11376
11377 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11378 variant.
11379 * gdb.base/sepdebug.exp: Drop references to removed code.
11380
11381 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11382
11383 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11384 variant. Preserve original line numbering.
11385 * gdb.base/list1.c: Likewise.
11386
11387 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11388
11389 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11390 variant.
11391 * gdb.base/break1.c: Likewise.
11392 * gdb.base/break.exp: Drop references to removed code.
11393
11394 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11395
11396 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11397 variant.
11398
11399 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11400
11401 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11402
11403 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11404
11405 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11406 logic into perform_all_tests() and invoke it with and without
11407 function header prototypes.
11408 (do_function_calls): Remove conditional XFAIL for PR 5318.
11409 (rerun_and_prepare): Remove duplicate code.
11410 (perform_all_tests): New. Main logic moved here.
11411
11412 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11413
11414 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11415 code guarded by #ifdef NO_PROTOTYPES.
11416 (t_double_many_args): Likewise.
11417 (DEF_FUNC_MANY_ARGS_1): Likewise.
11418 (DEF_FUNC_VALUES_1): Likewise.
11419 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11420 guarded by #ifdef PROTOTYPES.
11421
11422 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11423
11424 * gdb.mi/mi-console.c: Add eye-catcher.
11425 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11426 instead of literal line number.
11427
11428 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11429
11430 * gdb.base/shr2.c: Add eye-catcher.
11431 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11432 line number.
11433
11434 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11435
11436 * gdb.base/jump.c: Add eye-catchers.
11437 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11438 numbers.
11439
11440 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11441
11442 * gdb.base/execd-prog.c: Add eye-catchers.
11443 * gdb.base/foll-exec.c: Likewise.
11444 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11445 line numbers.
11446
11447 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11448
11449 * gdb.base/ending-run.c: Add eye-catchers.
11450 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11451 literal line numbers.
11452
11453 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11454
11455 * gdb.base/call-rt-st.c: Add eye-catchers.
11456 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11457 literal line numbers.
11458
11459 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11460
11461 * gdb.base/call-ar-st.c: Add eye-catchers.
11462 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11463 literal line numbers.
11464
11465 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11466
11467 * gdb.base/average.c: Add eye-catchers.
11468 * gdb.base/sum.c: Likewise.
11469 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11470 regexps dynamically.
11471
11472 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11473
11474 * gdb.base/solib1.c: Add eye-catchers.
11475 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11476 literal line numbers.
11477
11478 2014-11-12 Pedro Alves <palves@redhat.com>
11479
11480 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11481 leader has exited.
11482
11483 2014-11-12 Pedro Alves <palves@redhat.com>
11484
11485 * gdb.arch/i386-bp_permanent.c: New file.
11486 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11487 (srcfile): Set to i386-bp_permanent.c.
11488 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11489 that stepi does not execute the 'leave' instruction, instead of
11490 testing it does execute.
11491 * gdb.base/bp-permanent.c: New file.
11492 * gdb.base/bp-permanent.exp: New file.
11493
11494 2014-11-10 Doug Evans <xdje42@gmail.com>
11495
11496 PR symtab/17564
11497 * gdb.base/symtab-search-order.exp: New file.
11498 * gdb.base/symtab-search-order.c: New file.
11499 * gdb.base/symtab-search-order-1.c: New file.
11500 * gdb.base/symtab-search-order-shlib-1.c: New file.
11501
11502 2014-11-07 Pedro Alves <palves@redhat.com>
11503
11504 PR gdb/17511
11505 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11506 i?86-*-linux*.
11507
11508 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
11509
11510 PR c++/17494
11511 * gdb.cp/pr17494.cc: New file.
11512 * gdb.cp/pr17494.exp: New file.
11513
11514 2014-11-02 Yao Qi <yao@codesourcery.com>
11515
11516 * gdb.python/python.exp: Get working directory and match the
11517 output of "set extended-prompt \\w " with it.
11518
11519 2014-10-30 Doug Evans <dje@google.com>
11520
11521 * gdb.python/py-objfile.exp: Add tests for setting random attributes
11522 in objfiles.
11523 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11524 in progspaces.
11525
11526 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
11527
11528 * gdb.base/fullpath-expand.exp: Skip for a remote host.
11529 * gdb.base/realname-expand.exp: Likewise.
11530 * gdb.linespec/macro-relative.exp: Likewise.
11531
11532 2014-10-29 Pedro Alves <palves@redhat.com>
11533
11534 PR gdb/17408
11535 * gdb.threads/schedlock.c (some_function): New function.
11536 (call_function): New global.
11537 (MAYBE_CALL_SOME_FUNCTION): New macro.
11538 (thread_function): Call it.
11539 * gdb.threads/schedlock.exp (get_args): Add description parameter,
11540 and use it instead of a global counter. Adjust all callers.
11541 (get_current_thread): Use "find current thread" for test message
11542 here rather than having all callers pass down the same string.
11543 (goto_loop): New procedure, factored out from ...
11544 (my_continue): ... this.
11545 (step_ten_loops): Change parameter from test message to command to
11546 use. Adjust.
11547 (list_count): Delete global.
11548 (check_result): New procedure, factored out from duplicate top
11549 level code.
11550 (continue tests): Wrap in with_test_prefix.
11551 (test_step): New procedure, factored out from duplicate top level
11552 code.
11553 (top level): Test "step" in combination with all scheduler-locking
11554 modes. Test "next" in combination with all scheduler-locking
11555 modes, and in combination with stepping over a function call or
11556 not.
11557 * gdb.threads/next-bp-other-thread.c: New file.
11558 * gdb.threads/next-bp-other-thread.exp: New file.
11559
11560 2014-10-29 Pedro Alves <palves@redhat.com>
11561
11562 PR python/17372
11563 * gdb.python/python.exp: Test a multi-line command that spawns
11564 interactive Python.
11565 * gdb.base/multi-line-starts-subshell.exp: New file.
11566
11567 2014-10-29 Yao Qi <yao@codesourcery.com>
11568
11569 * gdb.base/fileio.exp: Make directories on host.
11570
11571 2014-10-29 Yao Qi <yao@codesourcery.com>
11572
11573 * gdb.base/fileio.c (test_write): Close the file.
11574
11575 2014-10-28 Pedro Alves <palves@redhat.com>
11576
11577 PR gdb/12623
11578 * gdb.base/sigstep.c (no_handler): New global.
11579 (main): If 'no_handler is true, set the signal handlers to
11580 SIG_IGN.
11581 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11582 with_sw_watch and no_handler parameters. Handle them.
11583 (top level) <stepping over handler when stopped at a breakpoint
11584 test>: Add a test axis for testing with a software watchpoint, and
11585 another for testing with the signal handler set to SIG_IGN.
11586 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11587 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11588
11589 2014-10-28 Pedro Alves <palves@redhat.com>
11590
11591 PR gdb/17511
11592 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11593 * gdb.base/sigstep.exp (other_handler_location): New global.
11594 (advance): Support stepping into the signal handler, and running
11595 commands while in the handler.
11596 (in_handler_map): New global.
11597 (top level): In the advance test, add combinations for getting
11598 into the handler with stepping commands, and for running commands
11599 in the handler. Add comment descripting the advancei tests.
11600
11601 2014-10-28 Pedro Alves <palves@redhat.com>
11602
11603 * gdb.base/sigstep.exp: Use build_executable instead of
11604 prepare_for_testing.
11605 (top level): Move code that starts GDB, runs to main and creates a
11606 display to ...
11607 (restart): ... this new procedure.
11608 (top level): Move backtrace from signal handler test to ...
11609 (validate_backtrace): ... this new procedure.
11610 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11611 with_test_prefix. Always restart GDB.
11612 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11613 with_test_prefix. Always restart GDB. No need to delete
11614 breakpoints after the test.
11615 (test_skip_handler): Remove prefix parameter.
11616 (skip_over_handler, breakpoint_to_handler)
11617 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11618 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11619 restart GDB. No need to delete breakpoints after the test.
11620 (top level): Use foreach to call the test procedures with
11621 different commands.
11622
11623 2014-10-28 Pedro Alves <palves@redhat.com>
11624
11625 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11626 instead of GNATS numbers.
11627 * gdb.base/sigbpt.exp: Likewise.
11628 * gdb.base/siginfo.exp: Likewise.
11629 * gdb.base/sigstep.exp: Likewise.
11630
11631 2014-10-27 Pedro Alves <palves@redhat.com>
11632
11633 * gdb.base/sigstep.c (dummy): New global.
11634 (main): Issue a couple writes to the new global.
11635 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11636 procedures.
11637 (skip_over_handler): Use test_skip_handler.
11638 (top level): Call skip_over_handler for stepi and nexti too.
11639 (breakpoint_over_handler): Use test_skip_handler.
11640 (top level): Call breakpoint_over_handler for stepi and nexti too.
11641
11642 2014-10-27 Yao Qi <yao@codesourcery.com>
11643
11644 * gdb.trace/tfile.c (adjust_function_address)
11645 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11646 function descriptor.
11647
11648 2014-10-24 Don Breazeal <donb@codesourcery.com>
11649
11650 * gdb.base/foll-fork.exp (test_follow_fork,
11651 catch_fork_child_follow): Check for updated fork messages emitted
11652 from infrun.c.
11653 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11654 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11655 vfork_and_exec_child_follow_through_step): Check for updated vfork
11656 messages emitted from infrun.c.
11657
11658 2014-10-24 Pedro Alves <palves@redhat.com>
11659
11660 * gdb.base/corefile.exp: Remove references to ultrix.
11661 * gdb.base/interrupt.exp: Likewise.
11662 * gdb.base/whatis.exp: Likewise.
11663 * gdb.gdb/selftest.exp: Likewise.
11664 * gdb.threads/manythreads.exp: Likewise.
11665 * gdb.threads/print-threads.exp: Likewise.
11666 * gdb.threads/pthreads.exp:: Likewise.
11667 * gdb.threads/schedlock.exp: Likewise.
11668
11669 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11670
11671 * gdb.cp/non-trivial-retval.cc: Add a test case.
11672 * gdb.cp/non-trivial-retval.exp: Add a test.
11673
11674 2014-10-20 Yao Qi <yao@codesourcery.com>
11675
11676 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11677 * gdb.python/py-objfile-script-gdb.py: New file.
11678 * gdb.python/py-objfile-script.exp: Update reference to
11679 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11680 of remote_download. Remove the dest file.
11681
11682 2014-10-20 Yao Qi <yao@codesourcery.com>
11683
11684 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11685 * gdb.base/step-line.exp: Likewise.
11686 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11687 * gdb.dwarf2/dw2-basic.exp: Likewise.
11688 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11689 * gdb.dwarf2/dw2-filename.exp: Likewise.
11690 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11691 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11692 * gdb.dwarf2/dw2-producer.exp: Likewise.
11693 * gdb.dwarf2/mac-fileno.exp: Likewise.
11694 * gdb.python/py-frame-args.exp: Likewise.
11695 * gdb.python/py-framefilter.exp: Likewise.
11696 * gdb.python/py-mi.exp: Likewise.
11697 * gdb.python/py-objfile-script.exp: Likewise
11698 * gdb.python/py-pp-integral.exp: Likewise.
11699 * gdb.python/py-pp-re-notag.exp: Likewise.
11700 * gdb.python/py-prettyprint.exp: Likewise.
11701 * gdb.python/py-section-script.exp: Likewise.
11702 * gdb.python/py-typeprint.exp: Likewise.
11703 * gdb.python/py-xmethods.exp: Likewise.
11704 * gdb.stabs/weird.exp: Likewise.
11705 * gdb.xml/tdesc-regs.exp: Likewise.
11706
11707 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11708
11709 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11710 (out_cu): Use addr_len for the size of addresses.
11711 (out_line): Likewise. Size DW_LNE_set_address instruction
11712 according to addr_len.
11713 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11714 (FUNC): Add START_INSNS to definition.
11715
11716 2014-10-18 Yao Qi <yao@codesourcery.com>
11717
11718 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11719 gdb_has_argv0 return true.
11720 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11721 check [target_info exists noargs], check [gdb_has_argv0]
11722 instead.
11723 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11724 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11725 procedures.
11726
11727 2014-10-17 Doug Evans <dje@google.com>
11728
11729 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11730 event.
11731 * gdb.python/py-events.py: Add clear_objfiles event.
11732
11733 2014-10-17 Doug Evans <dje@google.com>
11734
11735 * gdb.python/py-objfile.exp: Test progspace attribute.
11736
11737 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
11738
11739 * gdb.guile/scm-breakpoint.exp: Do not assume any
11740 directory separators when matching source file paths.
11741 * gdb.python/py-breakpoint.exp: Likewise.
11742 * gdb.reverse/break-precsave.exp: Likewise.
11743 * gdb.reverse/break-reverse.exp: Likewise.
11744 * gdb.reverse/consecutive-precsave.exp: Likewise.
11745 * gdb.reverse/finish-precsave.exp: Likewise.
11746 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11747 * gdb.reverse/finish-reverse.exp: Likewise.
11748 * gdb.reverse/i386-precsave.exp: Likewise.
11749 * gdb.reverse/i387-env-reverse.exp: Likewise.
11750 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11751 * gdb.reverse/machinestate-precsave.exp: Likewise.
11752 * gdb.reverse/machinestate.exp: Likewise.
11753 * gdb.reverse/sigall-precsave.exp: Likewise.
11754 * gdb.reverse/solib-precsave.exp: Likewise.
11755 * gdb.reverse/step-precsave.exp: Likewise.
11756 * gdb.reverse/until-precsave.exp: Likewise.
11757 * gdb.reverse/watch-precsave.exp: Likewise.
11758 * gdb.reverse/watch-reverse.exp: Likewise.
11759
11760 2014-10-17 Yao Qi <yao@codesourcery.com>
11761
11762 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11763 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11764
11765 2014-10-17 Pedro Alves <palves@redhat.com>
11766
11767 PR gdb/17471
11768 * gdb.base/bg-execution-repeat.c: New file.
11769 * gdb.base/bg-execution-repeat.exp: New file.
11770
11771 2014-10-17 Pedro Alves <palves@redhat.com>
11772
11773 PR gdb/17300
11774 * gdb.base/continue-all-already-running.c: New file.
11775 * gdb.base/continue-all-already-running.exp: New file.
11776
11777 2014-10-17 Pedro Alves <palves@redhat.com>
11778
11779 PR gdb/17472
11780 * gdb.base/annota-input-while-running.c: New file.
11781 * gdb.base/annota-input-while-running.exp: New file.
11782
11783 2014-10-17 Pedro Alves <palves@redhat.com>
11784
11785 * gdb.base/callfuncs.exp: emove references to osf.
11786 * gdb.base/sigall.exp: Likewise.
11787 * gdb.gdb/selftest.exp: Likewise.
11788 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11789 * gdb.mi/non-stop.c: Likewise.
11790 * gdb.mi/pthreads.c: Likewise.
11791 * gdb.reverse/sigall-precsave.exp: Likewise.
11792 * gdb.reverse/sigall-reverse.exp: Likewise.
11793 * gdb.threads/pthreads.c: Likewise.
11794 * gdb.threads/pthreads.exp: Likewise.
11795
11796 2014-10-17 Yao Qi <yao@codesourcery.com>
11797
11798 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11799 check 'target_info exists noargs'.
11800 (test_command_prompt_position): Likewise.
11801 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11802 Remove "set args".
11803 (progvar_simple_while_test): Likewise.
11804 (progvar_complex_if_while_test): Likewise.
11805 (if_while_breakpoint_command_test): Likewise.
11806 (infrun_breakpoint_command_test): Likewise.
11807 (breakpoint_command_test): Likewise.
11808 (watchpoint_command_test): Likewise.
11809 (bp_deleted_in_command_test): Likewise.
11810 (temporary_breakpoint_commands): Likewise.
11811
11812 2014-10-16 Yao Qi <yao@codesourcery.com>
11813
11814 * gdb.base/remotetimeout.exp: Remove noargs checking.
11815
11816 2014-10-15 Pedro Alves <palves@redhat.com>
11817
11818 PR breakpoints/9649
11819 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11820 * gdb.base/breakpoint-in-ro-region.exp
11821 (probe_target_hardware_step): New procedure.
11822 (top level): Probe hardware stepping and hardware breakpoint
11823 support. Test stepping through a read-only region, with both
11824 "breakpoint auto-hw" on and off and both "always-inserted" on and
11825 off.
11826
11827 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11828
11829 * gdb.dlang/demangle.exp: Update for demangling changes.
11830
11831 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11832
11833 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11834 * gdb.cp/non-trivial-retval.exp: Add new tests.
11835
11836 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11837
11838 PR c++/13403
11839 PR c++/15154
11840 * gdb.cp/non-trivial-retval.cc: New file.
11841 * gdb.cp/non-trivial-retval.exp: New file.
11842
11843 2014-10-15 Yao Qi <yao@codesourcery.com>
11844
11845 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11846 remote host.
11847
11848 2014-10-15 Yao Qi <yao@codesourcery.com>
11849
11850 * gdb.python/py-symbol.exp: Match file base name if host is
11851 remote, otherwise match file name with dir name.
11852 * gdb.python/py-symtab.exp: Likewise.
11853 * gdb.python/python.exp: Likewise.
11854
11855 2014-10-15 Yao Qi <yao@codesourcery.com>
11856
11857 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
11858 pattern.
11859 * gdb.python/py-symtab.exp: Likewise.
11860 * gdb.python/python.exp: Remove trailing ".*". Fix typo
11861 locationn.
11862
11863 2014-10-14 Joel Brobecker <brobecker@adacore.com>
11864
11865 * gdb.ada/addr_arith: New testcase.
11866
11867 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
11868
11869 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
11870 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
11871 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
11872 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
11873
11874 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
11875
11876 * gdb.arch/stap-eval-lang-ada.S: Likewise.
11877 * gdb.arch/stap-eval-lang-ada.c: Likewise.
11878 * gdb.arch/stap-eval-lang-ada.exp: New file.
11879
11880 2014-10-14 Yao Qi <yao@codesourcery.com>
11881
11882 * gdb.mi/mi-var-child.c (nothing1): New function.
11883 (nothing2): New function.
11884 (do_children_tests): Set function pointers by nothing1 and
11885 nothing2.
11886 * gdb.mi/mi-var-child.exp: Step over new added statements.
11887 Update test to match the new output.
11888 * gdb.mi/var-cmd.c (nothing1): New function.
11889 (nothing2): New function.
11890 (do_children_tests): Set function pointers by nothing1 and
11891 nothing2.
11892 * gdb.mi/mi-var-display.exp: Update test to match output.
11893 Step to the line specified by $line_dct_nothing.
11894 Increase the number of lines to step.
11895
11896 2014-10-14 Yao Qi <yao@codesourcery.com>
11897
11898 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
11899 tests.
11900 * gdb.mi/mi2-var-child.exp: Likewise.
11901
11902 2014-10-13 Doug Evans <dje@google.com>
11903
11904 * gdb.python/py-objfile.exp: Change name of file name test.
11905
11906 2014-10-13 Doug Evans <dje@google.com>
11907
11908 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
11909 from the start of the CU.
11910
11911 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11912 Yao Qi <yao@codesourcery.com>
11913
11914 Fix "save breakpoints" for "catch" command.
11915 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11916 Remove -nonewline. Match also the added "main" line.
11917
11918 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11919
11920 Fix "save breakpoints" for "disable $bpnum" command.
11921 * gdb.base/save-bp.c (main): Add label.
11922 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
11923
11924 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11925
11926 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
11927
11928 2014-10-11 Yao Qi <yao@codesourcery.com>
11929
11930 * gdb.server/server-kill.exp: Execute command
11931 "set remote trace-status-packet on" before "tstatus".
11932
11933 2014-10-11 Yao Qi <yao@codesourcery.com>
11934
11935 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
11936 (main): Call getppid.
11937 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
11938 and continue to it. Read variable "server_pid".
11939
11940 2014-10-11 Yao Qi <yao@codesourcery.com>
11941
11942 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
11943
11944 2014-10-11 Yao Qi <yao@codesourcery.com>
11945
11946 * gdb.threads/thread-find.exp: Don't execute command
11947 "info threads".
11948 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
11949 * gdb.threads/linux-dp.exp: Don't check the condition
11950 $threads_created equals to zero.
11951
11952 2014-10-10 Pedro Alves <palves@redhat.com>
11953
11954 * gdb.base/bigcore.exp: Remove references to IRIX.
11955 * gdb.base/funcargs.exp: Likewise.
11956 * gdb.base/interrupt.exp: Likewise.
11957 * gdb.base/mips_pro.exp: Likewise.
11958 * gdb.base/nodebug.exp: Likewise.
11959 * gdb.base/setvar.exp: Likewise.
11960 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
11961
11962 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11963 Pedro Alves <palves@redhat.com>
11964
11965 PR symtab/14466
11966 * gdb.base/vdso-warning.c: New file.
11967 * gdb.base/vdso-warning.exp: New file.
11968
11969 2014-10-02 Doug Evans <dje@google.com>
11970
11971 * gdb.base/structs.c (main): Don't run forever.
11972
11973 2014-10-02 Pedro Alves <palves@redhat.com>
11974
11975 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
11976 (top level) <stop threads 1, stop threads 2>: Use it.
11977
11978 2014-10-02 Pedro Alves <palves@redhat.com>
11979
11980 * gdb.threads/break-while-running.exp (test): Add new
11981 'update_thread_list' argument. Skip "info threads" if false.
11982 (top level): Add new 'update_thread_list' axis.
11983
11984 2014-10-02 Pedro Alves <palves@redhat.com>
11985
11986 PR breakpoints/17431
11987 * gdb.base/execl-update-breakpoints.c: New file.
11988 * gdb.base/execl-update-breakpoints.exp: New file.
11989
11990 2014-10-01 Pedro Alves <palves@redhat.com>
11991
11992 * gdb.base/breakpoint-in-ro-region.c: New file.
11993 * gdb.base/breakpoint-in-ro-region.exp: New file.
11994
11995 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
11996
11997 * gdb.mi/mi-exit-code.exp: New file.
11998 * gdb.mi/mi-exit-code.c: New file.
11999
12000 2014-09-30 Yao Qi <yao@codesourcery.com>
12001
12002 * lib/prelink-support.exp (build_executable_own_libs): Error if
12003 the target isn't native.
12004
12005 2014-09-30 Yao Qi <yao@codesourcery.com>
12006
12007 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12008 false.
12009
12010 2014-09-22 Pedro Alves <palves@redhat.com>
12011
12012 * gdb.threads/break-while-running.exp: New file.
12013 * gdb.threads/break-while-running.c: New file.
12014
12015 2014-09-19 Yao Qi <yao@codesourcery.com>
12016
12017 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12018 Invoke test. Restart GDB with --readnow and invoke test again.
12019
12020 2014-09-19 Yao Qi <yao@codesourcery.com>
12021
12022 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12023 proc set_breakpoint_on_gcd_function. Invoke
12024 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12025 invoke set_breakpoint_on_gcd_function again.
12026
12027 2014-09-18 Doug Evans <dje@google.com>
12028
12029 * gdb.dwarf2/symtab-producer.exp: New file.
12030
12031 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12032
12033 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12034 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12035 * gdb.base/global-var-nested-by-dso.c: Likewise.
12036 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12037
12038 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12039 Pedro Alves <palves@redhat.com>
12040
12041 * gdb.base/watch-bitfields.exp: Pass string other than test file
12042 name to prepare_for_testing.
12043 (watch): New procedure.
12044 (expect_watchpoint): Use with_test_prefix.
12045 (top level): Factor out tests to ...
12046 (test_watch_location, test_regular_watch): ... these new
12047 procedures, and use with_test_prefix and gdb_continue_to_end.
12048
12049 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12050
12051 PR breakpoints/12526
12052 * gdb.base/watch-bitfields.exp: New file.
12053 * gdb.base/watch-bitfields.c: New file.
12054
12055 2014-09-16 Pedro Alves <palves@redhat.com>
12056
12057 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12058 software and hardware addresses, not software address against
12059 itself.
12060
12061 2014-09-16 Pedro Alves <palves@redhat.com>
12062
12063 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12064 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12065
12066 2014-09-16 Pedro Alves <palves@redhat.com>
12067
12068 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12069 files.
12070 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12071 "*-*-vxworks*" throughout.
12072 * gdb.base/break.exp: Likewise.
12073 * gdb.base/default.exp: Likewise.
12074 * gdb.base/scope.exp: Likewise.
12075 * gdb.base/sepdebug.exp: Likewise.
12076 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12077 throughout.
12078 * gdb.base/run.c: Likewise.
12079 * gdb.base/sepdebug.c: Likewise.
12080 * gdb.hp/gdb.aCC/run.c: Likewise.
12081 * gdb.reverse/until-reverse.c: Likewise.
12082 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12083
12084 2014-09-16 Yao Qi <yao@codesourcery.com>
12085
12086 * boards/local-remote-host-native.exp: New file.
12087
12088 2014-09-14 Doug Evans <xdje42@gmail.com>
12089
12090 * gdb.threads/queue-signal.c (thread_count): New variable.
12091 (thread_count_mutex, thread_count_condvar): New variables.
12092 (incr_thread_count, wait_all_threads_running): New functions.
12093 (main): Wait for all threads to be in their thread functions.
12094
12095 2014-09-13 Doug Evans <xdje42@gmail.com>
12096
12097 * gdb.threads/queue-signal.c: New file.
12098 * gdb.threads/queue-signal.exp: New file.
12099
12100 2014-09-13 Doug Evans <xdje42@gmail.com>
12101
12102 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12103 be consistent with what default_gdb_init uses.
12104 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12105 the plain text of the prompt. Add some logging printfs.
12106 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12107
12108 2014-09-12 Pedro Alves <palves@redhat.com>
12109
12110 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12111 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12112 * gdb.arch/i386-size-overlap.exp: Likewise.
12113 * gdb.arch/i386-size.exp: Likewise.
12114 * gdb.arch/i386-unwind.exp: Likewise.
12115 * gdb.base/a2-run.exp: Likewise.
12116 * gdb.base/break.exp: Likewise.
12117 * gdb.base/charset.exp: Likewise.
12118 * gdb.base/chng-syms.exp: Likewise.
12119 * gdb.base/commands.exp: Likewise.
12120 * gdb.base/dbx.exp: Likewise.
12121 * gdb.base/find.exp: Likewise.
12122 * gdb.base/funcargs.exp: Likewise.
12123 * gdb.base/jit-simple.exp: Likewise.
12124 * gdb.base/reread.exp: Likewise.
12125 * gdb.base/sepdebug.exp: Likewise.
12126 * gdb.base/step-bt.exp: Likewise.
12127 * gdb.cp/mb-inline.exp: Likewise.
12128 * gdb.cp/mb-templates.exp: Likewise.
12129 * gdb.objc/basicclass.exp: Likewise.
12130 * gdb.threads/killed.exp: Likewise.
12131
12132 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12133
12134 PR tdep/17379
12135 * gdb.arch/powerpc-stackless.S: New file.
12136 * gdb.arch/powerpc-stackless.exp: New file.
12137
12138 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12139
12140 * gdb.base/attach.c: Include unistd.h.
12141 (main): Call alarm. Add label postloop.
12142 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12143 gdb_breakpoint, gdb_continue_to_breakpoint.
12144 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12145
12146 2014-09-11 Pedro Alves <palves@redhat.com>
12147
12148 PR gdb/17347
12149 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12150 * gdb.base/attach.exp (test_command_line_attach_run): New
12151 procedure.
12152 (top level): Call it.
12153
12154 2014-09-11 Pedro Alves <palves@redhat.com>
12155
12156 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12157 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12158 (do_command_attach_tests): Use spawn_wait_for_attach.
12159 * gdb.base/solib-overlap.exp: Likewise.
12160 * gdb.multi/multi-attach.exp: Likewise.
12161 * gdb.python/py-prompt.exp: Likewise.
12162 * gdb.python/py-sync-interp.exp: Likewise.
12163 * gdb.server/ext-attach.exp: Likewise.
12164
12165 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12166
12167 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12168 command in testcase. Simplify testcase.
12169
12170 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12171
12172 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12173
12174 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12175
12176 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12177
12178 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12179
12180 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12181
12182 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12183
12184 * gdb.dwarf2/dynarr-ptr.c: New file.
12185 * gdb.dwarf2/dynarr-ptr.exp: New file.
12186
12187 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12188
12189 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12190 of 30 rather than hardcoding 120 for a slow test case. Take the
12191 `gdb,timeout' target setting into account for this calculation.
12192 Don't extend the timeout for the test cases that don't need it.
12193
12194 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12195
12196 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12197 a factor of 2 for a slow test case. Take the `gdb,timeout'
12198 target setting into account for this calculation.
12199 * gdb.reverse/until-precsave.exp: Increase the timeout by
12200 a factor of 15 and 3 respectively rather than adding 120
12201 for a pair of slow test cases. Take the `gdb,timeout'
12202 target setting into account for this calculation.
12203
12204 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12205
12206 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12207 timeout, don't pass one down to gdb_expect.
12208 (gdb_expect): Rework timeout selection.
12209
12210 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12211
12212 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12213 exception on timeout.
12214 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12215 (gdbserver_start_extended): Catch any `gdbserver_start' error
12216 exceptions.
12217 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12218 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12219 `gdbserver_gdb_load' error exceptions.
12220
12221 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12222
12223 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12224 120 on waiting for the TCP socket to open.
12225
12226 2014-09-09 Doug Evans <xdje42@gmail.com>
12227
12228 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12229 _caller_matches, _any_caller_is, _any_caller_matches.
12230
12231 2014-09-09 Doug Evans <xdje42@gmail.com>
12232
12233 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12234
12235 2014-09-09 Yao Qi <yao@codesourcery.com>
12236
12237 * gdb.mi/mi-var-display.exp: Set print symbol off.
12238
12239 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12240
12241 PR gdb/17035
12242 * gdb.base/commands.exp: Add tests to verify user-defined
12243 commands with empty bodies.
12244 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12245 python commands in `show user command`.
12246 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12247 scheme commands in `show user command`.
12248
12249 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12250
12251 PR python/17355
12252 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12253 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12254 * gdb.python/py-framefilter-invalidarg.exp: New file.
12255 * gdb.python/py-framefilter-invalidarg.py: New file.
12256
12257 2014-09-06 Doug Evans <xdje42@gmail.com>
12258
12259 PR 15276
12260 * gdb.python/py-caller-is.c: New file.
12261 * gdb.python/py-caller-is.exp: New file.
12262
12263 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12264
12265 PR gdb/17235
12266 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12267 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12268
12269 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12270
12271 PR fortran/17237
12272 * gdb.fortran/print-formatted.exp: New file.
12273 * gdb.fortran/print-formatted.f90: Likewise.
12274
12275 2014-09-03 Sasha Smundak <asmundak@google.com>
12276
12277 * gdb.python/py-frame.exp: Test Frame.read_register.
12278
12279 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12280
12281 PR python/16699
12282 * gdb.python/py-completion.exp: New file.
12283 * gdb.python/py-completion.py: Likewise.
12284
12285 2014-08-28 Doug Evans <dje@google.com>
12286
12287 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12288 eax,etc. are live with values set by gdb and thus the compiler can't
12289 use them.
12290 * gdb.arch/i386-pseudo.c (main): Ditto.
12291
12292 2014-08-27 Doug Evans <dje@google.com>
12293
12294 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12295
12296 2014-08-25 Doug Evans <dje@google.com>
12297
12298 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12299 (main): Ditto.
12300
12301 2014-08-25 Doug Evans <dje@google.com>
12302
12303 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12304
12305 2014-08-24 Yao Qi <yao@codesourcery.com>
12306
12307 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12308 symbol off.
12309 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12310
12311 2014-08-22 Doug Evans <dje@google.com>
12312
12313 PR 17276
12314 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12315 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12316 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12317
12318 2014-08-22 Yao Qi <yao@codesourcery.com>
12319
12320 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12321 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12322 * gdb.python/python.exp: Likewise. Use .py file on the host
12323 instead of the build.
12324
12325 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12326
12327 * gdb.threads/gcore-stale-thread.c: New file.
12328 * gdb.threads/gcore-stale-thread.exp: New file.
12329
12330 2014-08-21 Pedro Alves <palves@redhat.com>
12331
12332 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12333 * gdb.base/gcore-relro-pie.exp: Likewise.
12334 * gdb.base/gcore-relro.exp: Likewise.
12335 * gdb.base/gcore.exp: Likewise.
12336 * gdb.base/print-symbol-loading.exp: Likewise.
12337 * gdb.threads/gcore-thread.exp: Likewise.
12338 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12339
12340 2014-08-20 Pedro Alves <palves@redhat.com>
12341 Jan Kratochvil <jan.kratochvil@redhat.com>
12342
12343 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12344 configure.
12345 (EXPECT): Handle READ1 being set.
12346 (all): Depend on EXTRA_RULES.
12347 (check-read1, expect-read1, read1.so, read1): New rules.
12348 * README (Testsuite Parameters): Document the READ1 make variable.
12349 (Race detection): New section.
12350 * configure: Regenerate.
12351 * configure.ac: If build==host==target, and running under a
12352 GNU/glibc system, add read1 to the extra Makefile rules.
12353 (EXTRA_RULES): AC_SUBST it.
12354 * lib/read1.c: New file.
12355
12356 2014-08-20 Joel Brobecker <brobecker@adacore.com>
12357
12358 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12359 the handling of variables declared as a typedef to an array
12360 which a DW_AT_data_location attribute.
12361
12362 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
12363 Pedro Alves <palves@redhat.com>
12364
12365 PR symtab/14604
12366 PR symtab/14605
12367 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12368 gdb_test.
12369
12370 2014-08-19 Pedro Alves <palves@redhat.com>
12371
12372 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12373
12374 2014-08-19 Yao Qi <yao@codesourcery.com>
12375
12376 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12377 right line.
12378
12379 2014-08-18 David Blaikie <dblaikie@gmail.com>
12380
12381 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12382
12383 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12384
12385 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12386 attribute in array range.
12387
12388 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12389
12390 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12391
12392 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12393
12394 PR c++/17132
12395 * gdb.cp/pr17132.cc: New file.
12396 * gdb.cp/pr17132.exp: New file.
12397
12398 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12399
12400 * gdb.python/py-xmethods.py (A_getarrayind)
12401 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12402 Use 'print' with function call syntax.
12403 (E_method_matcher.match): Fix tab vs space indentation mixup.
12404
12405 2014-08-15 Yao Qi <yao@codesourcery.com>
12406
12407 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12408 false.
12409
12410 2014-08-15 Yao Qi <yao@codesourcery.com>
12411
12412 * gdb.cp/casts.exp: Set print symbol off.
12413 * gdb.cp/class2.exp: Likewise.
12414 * gdb.cp/overload.exp: Likewise.
12415 * gdb.cp/templates.exp: Likewise.
12416
12417 2014-08-11 Doug Evans <dje@google.com>
12418
12419 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12420 (test_load_shlib): Update.
12421
12422 2014-08-09 Yao Qi <yao@codesourcery.com>
12423
12424 * gdb.base/display.exp: Invoke is_address_zero_readable.
12425 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12426 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12427 * gdb.base/hbreak-unmapped.exp: Return if
12428 is_address_zero_readable returns true.
12429 * gdb.base/signest.exp: Likewise.
12430 * gdb.base/signull.exp: Likewise.
12431 * gdb.base/sigbpt.exp: Likewise.
12432 * gdb.guile/scm-disasm.exp: Do the test if
12433 is_address_zero_readable returns false.
12434 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12435 * gdb.python/py-arch.exp: Likewise.
12436 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12437 * lib/gdb.exp (is_address_zero_readable): New proc.
12438
12439 2014-08-09 Yao Qi <yao@codesourcery.com>
12440
12441 PR testsuite/13443
12442 * gdb.mi/mi-var-display.exp: Make test messages unique.
12443
12444 2014-08-04 Tom Tromey <tromey@redhat.com>
12445
12446 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12447 target 0".
12448
12449 2014-08-04 Tom Tromey <tromey@redhat.com>
12450
12451 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12452 "target_resume".
12453
12454 2014-08-01 Joel Brobecker <brobecker@adacore.com>
12455
12456 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12457 inner_vla_struct_object_size.
12458 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12459 as xfail.
12460
12461 2014-07-30 Pedro Alves <palves@redhat.com>
12462
12463 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12464 comment.
12465
12466 2014-07-29 Yao Qi <yao@codesourcery.com>
12467
12468 PR gdb/17206
12469 * gdb.base/until-nodebug.exp: New.
12470
12471 2014-07-28 Doug Evans <xdje42@gmail.com>
12472
12473 PR guile/17203
12474 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12475 previously existing parameter, and previously ambiguously spelled
12476 parameter.
12477
12478 2014-07-28 Will Newton <will.newton@linaro.org>
12479
12480 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12481
12482 2014-07-26 Ludovic Courtès <ludo@gnu.org>
12483 Doug Evans <xdje42@gmail.com>
12484
12485 PR guile/17146
12486 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12487
12488 2014-07-25 Pedro Alves <palves@redhat.com>
12489
12490 * gdb.threads/signal-command-handle-nopass.c: New file.
12491 * gdb.threads/signal-command-handle-nopass.exp: New file.
12492 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12493 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12494 * gdb.threads/signal-delivered-right-thread.c: New file.
12495 * gdb.threads/signal-delivered-right-thread.exp: New file.
12496
12497 2014-07-25 Pedro Alves <palves@redhat.com>
12498
12499 * gdb.base/double-prompt-target-event-error.exp
12500 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12501 match.
12502 (cancel_pagination_in_target_event): Rework double prompt
12503 detection.
12504 * gdb.base/paginate-after-ctrl-c-running.exp
12505 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12506 <return>' match.
12507 * gdb.base/paginate-bg-execution.exp
12508 (test_bg_execution_pagination_return)
12509 (test_bg_execution_pagination_cancel): Remove '-notransfer
12510 <return>' matches.
12511 * gdb.base/paginate-execution-startup.exp
12512 (test_fg_execution_pagination_return)
12513 (test_fg_execution_pagination_cancel): Remove '-notransfer
12514 <return>' matches.
12515 * gdb.base/paginate-inferior-exit.exp
12516 (test_paginate_inferior_exited): Remove '-notransfer <return>'
12517 match.
12518 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12519 * lib/gdb.exp (pagination_prompt): Run text through
12520 string_to_regexp.
12521 (gdb_test_multiple): Match $pagination_prompt instead of
12522 "<return>".
12523 (string_to_regexp): Move to lib/gdb-utils.exp.
12524
12525 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12526
12527 * gdb.arch/amd64-entry-value-paramref.S: New file.
12528 * gdb.arch/amd64-entry-value-paramref.cc: New file.
12529 * gdb.arch/amd64-entry-value-paramref.exp: New file.
12530 * gdb.arch/amd64-optimout-repeat.S: New file.
12531 * gdb.arch/amd64-optimout-repeat.c: New file.
12532 * gdb.arch/amd64-optimout-repeat.exp: New file.
12533
12534 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12535
12536 PR gdb/17170
12537 * gdb.base/statistics.exp: New file.
12538
12539 2014-07-17 Doug Evans <dje@google.com>
12540
12541 PR gdb/17170
12542 * gdb.base/maint.exp: Update testing of per-command stats.
12543
12544 2014-07-16 Pedro Alves <palves@redhat.com>
12545
12546 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12547 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12548 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12549 (tfile_write_buf): New functions.
12550 (add_memory_block): Rewrite using the above.
12551 (adjust_function_address): New function.
12552 (FUNCTION_ADDRESS): New macro.
12553 (write_basic_trace_file): Remove short_x local, and use
12554 tfile_write_16. Change type of func_addr local to unsigned long
12555 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
12556 here. Cast argument of add_memory_block to char pointer.
12557 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
12558 (main): Remove parameters.
12559 * gdb.trace/tfile.exp: Remove nowarnings.
12560
12561 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
12562
12563 * gdb.base/debug-expr.exp: Test string evaluation with
12564 "debug expression" on.
12565
12566 2014-07-15 Pedro Alves <palves@redhat.com>
12567
12568 * gdb.base/reread.exp: Use clean_restart.
12569
12570 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
12571
12572 * gdb.arch/avr-flash-qualifer.c: New.
12573 * gdb.arch/avr-flash-qualifer.exp: New.
12574
12575 2014-07-14 Pedro Alves <palves@redhat.com>
12576
12577 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12578 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12579
12580 2014-07-14 Pedro Alves <palves@redhat.com>
12581
12582 * gdb.base/double-prompt-target-event-error.c: New file.
12583 * gdb.base/double-prompt-target-event-error.exp: New file.
12584
12585 2014-07-14 Pedro Alves <palves@redhat.com>
12586
12587 PR gdb/17072
12588 * gdb.base/paginate-inferior-exit.c: New file.
12589 * gdb.base/paginate-inferior-exit.exp: New file.
12590
12591 2014-07-14 Pedro Alves <palves@redhat.com>
12592
12593 PR gdb/17072
12594 * gdb.base/paginate-bg-execution.c: New file.
12595 * gdb.base/paginate-bg-execution.exp: New file.
12596
12597 2014-07-14 Pedro Alves <palves@redhat.com>
12598
12599 PR gdb/17072
12600 * gdb.base/paginate-execution-startup.c: New file.
12601 * gdb.base/paginate-execution-startup.exp: New file.
12602 * lib/gdb.exp (pagination_prompt): New global.
12603 (default_gdb_spawn): New procedure, factored out from
12604 default_gdb_spawn.
12605 (default_gdb_start): Adjust to call default_gdb_spawn.
12606 (gdb_spawn): New procedure.
12607
12608 2014-07-14 Pedro Alves <palves@redhat.com>
12609
12610 * lib/gdb.exp (gdb_assert): New procedure.
12611 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12612
12613 2014-07-14 Pedro Alves <palves@redhat.com>
12614
12615 * gdb.base/execution-termios.c: New file.
12616 * gdb.base/execution-termios.exp: New file.
12617
12618 2014-07-14 Tom Tromey <tromey@redhat.com>
12619
12620 * gdb.cp/vla-cxx.cc: New file.
12621 * gdb.cp/vla-cxx.exp: New file.
12622
12623 2014-07-14 Tom Tromey <tromey@redhat.com>
12624
12625 * gdb.reverse/rerun-prec.c: New file.
12626 * gdb.reverse/rerun-prec.exp: New file.
12627
12628 2014-07-12 Maciej W. Rozycki <macro@mips.com>
12629 Maciej W. Rozycki <macro@codesourcery.com>
12630
12631 * lib/gdb-utils.exp: New file.
12632 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12633 inline `gdb_init_command' processing.
12634 (gdb_start_cmd): Likewise.
12635 * lib/mi-support.exp (mi_run_cmd): Likewise.
12636 * README: Document `gdb_init_command' and `gdb_init_commands'.
12637
12638 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12639
12640 Fix false FAIL running under a very long directory name.
12641 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12642 and "set print elements 10000". Twice.
12643
12644 2014-07-11 Yao Qi <yao@codesourcery.com>
12645
12646 * gdb.base/exprs.exp: "set print symbol off".
12647
12648 2014-07-11 Pedro Alves <palves@redhat.com>
12649
12650 * gdb.threads/kill.c: New file.
12651 * gdb.threads/kill.exp: New file.
12652
12653 2014-07-10 Yao Qi <yao@codesourcery.com>
12654
12655 * gdb.trace/tfile.c (write_basic_trace_file)
12656 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12657 address written to trace file.
12658
12659 2014-07-09 Pedro Alves <palves@redhat.com>
12660
12661 * gdb.base/attach-wait-input.exp: New file.
12662 * gdb.base/attach-wait-input.c: New file.
12663
12664 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12665
12666 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12667 setting up test structures.
12668 (main): Call new test function.
12669 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12670 test function, continue into test function and walk test
12671 structures.
12672
12673 2014-07-02 Yao Qi <yao@codesourcery.com>
12674
12675 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12676 'bar_start' at the beginning of functions 'foo' and 'bar'
12677 respectively.
12678 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12679 instead of 'foo' and 'bar'.
12680
12681 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12682
12683 * gdb.btrace/segv.exp: New.
12684 * gdb.btrace/segv.c: New.
12685
12686 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
12687
12688 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12689 instruction.
12690
12691 2014-06-30 Mark Wielaard <mjw@redhat.com>
12692
12693 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12694 vulture, vilify, villar): New volatile array constants.
12695 (vindictive, vegetation): New const volatile array constants.
12696 * gdb.base/volatile.exp: Test volatile and const volatile array
12697 types.
12698
12699 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12700
12701 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12702 target lacks support for awatch, rwatch, or hbreak.
12703
12704 2014-06-27 Yao Qi <yao@codesourcery.com>
12705
12706 * gdb.multi/dummy-frame-restore.exp: New.
12707 * gdb.multi/dummy-frame-restore.c: New.
12708
12709 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12710
12711 * gdb.btrace/gcore.exp: New.
12712
12713 2014-06-23 Pedro Alves <palves@redhat.com>
12714
12715 * gdb.base/watchpoint-reuse-slot.c: New file.
12716 * gdb.base/watchpoint-reuse-slot.exp: New file.
12717
12718 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12719
12720 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12721 progspace's filename in 'info', 'enable' and 'disable' command
12722 tests.
12723
12724 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12725
12726 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12727 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12728 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12729
12730 2014-06-20 Gary Benson <gbenson@redhat.com>
12731
12732 * gdb.arch/i386-avx.exp: Fix include file location.
12733 * gdb.arch/i386-sse.exp: Likewise.
12734
12735 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12736
12737 * gdb.dlang/expression.exp: New file.
12738
12739 2014-06-19 Pedro Alves <palves@redhat.com>
12740
12741 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12742 out from ...
12743 (top level): ... here. Iterate running tests under different
12744 scheduler-locking settings.
12745
12746 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
12747
12748 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12749 to DW_FORM_addr and use non-zero addresses.
12750
12751 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12752
12753 PR gdb/17017
12754 * gdb.python/py-xmethods.cc: Add global function call counters and
12755 increment them in their respective functions. Remove "cout"
12756 statements.
12757 * gdb.python/py-xmethods.exp: Make tests check the global function
12758 call counters instead of depending on inferior IO.
12759
12760 2014-06-18 Don Breazeal <donb@codesourcery.com>
12761
12762 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12763 Deleted procedure.
12764 (explicit_fork_parent_follow): Deleted procedure.
12765 (explicit_fork_child_follow): Deleted procedure.
12766 (test_follow_fork): New procedure.
12767 (do_fork_tests): Replace calls to deleted procedures with
12768 calls to test_follow_fork and reset GDB for subsequent
12769 procedure calls.
12770
12771 2014-06-17 Yao Qi <yao@codesourcery.com>
12772
12773 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12774 CP1252.
12775
12776 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
12777
12778 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12779 Initialize ptr and S explicitly.
12780 (skip_type_update_when_not_use_rtti_test): Likewise.
12781
12782 2014-06-16 Keith Seitz <keiths@redhat.com>
12783
12784 PR mi/15863
12785 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12786 the inferior is started.
12787
12788 2014-06-16 Pedro Alves <palves@redhat.com>
12789
12790 * gdb.base/break-main-file-remove-fail.c: New file.
12791 * gdb.base/break-main-file-remove-fail.exp: New file.
12792 * gdb.base/break-unload-file.exp: Use build_executable instead of
12793 prepare_for_testing.
12794 (test_break): New parameter "initial_load". Handle it.
12795 (top level): Add initial_load cmdline/file axis.
12796
12797 2014-06-12 Tom Tromey <tromey@redhat.com>
12798
12799 * gdb.base/completion.exp: Don't use directory name in test.
12800
12801 2014-06-09 Gary Benson <gbenson@redhat.com>
12802
12803 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12804 separate the always-available ANSI-standard signals from the
12805 signals that require checking.
12806 (main): Likewise.
12807 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12808 Likewise.
12809 (main): Likewise.
12810
12811 2014-06-07 Keith Seitz <keiths@redhat.com>
12812
12813 Revert:
12814 PR c++/16253
12815 * gdb.cp/var-tag.cc: New file.
12816 * gdb.cp/var-tag.exp: New file.
12817 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12818 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12819 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12820 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12821
12822 2014-06-06 Doug Evans <xdje42@gmail.com>
12823
12824 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12825
12826 2014-06-06 Pedro Alves <palves@redhat.com>
12827
12828 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12829 in target debug output instead of looking at RSP packets,
12830 disabling the test on any target that uses hardware stepping.
12831 Update comments.
12832
12833 2014-06-06 Pedro Alves <palves@redhat.com>
12834
12835 * gdb.base/break-unload-file.exp: Fix typo.
12836
12837 2014-06-06 Yao Qi <yao@codesourcery.com>
12838
12839 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12840 from "jit_function" to "^jit_function".
12841
12842 2014-06-06 Yao Qi <yao@codesourcery.com>
12843
12844 * gdb.base/async.c (foo): Add one statement.
12845 * gdb.base/async.exp: Get the next instruction address and
12846 match the output of "nexti" by instruction address. Match
12847 the hex address in the output of "finish".
12848
12849 2014-06-06 Gary Benson <gbenson@redhat.com>
12850
12851 * gdb.base/call-signals.c: Remove preprocessor conditionals
12852 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
12853 SIGSEGV and SIGTERM.
12854 * gdb.base/sigall.c: Likewise.
12855 * gdb.base/unwindonsignal.c: Likewise.
12856 * gdb.reverse/sigall-reverse.c: Likewise.
12857
12858 2014-06-06 Yao Qi <yao@codesourcery.com>
12859
12860 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
12861 readable, skip the test.
12862
12863 2014-06-06 Yao Qi <yao@codesourcery.com>
12864
12865 * gdb.threads/staticthreads.c (thread_function): Move the line
12866 setting breakpoint on forward.
12867 * gdb.threads/staticthreads.exp: Update comments.
12868
12869 2014-06-05 Ludovic Courtès <ludo@gnu.org>
12870
12871 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
12872 "history-append! type error".
12873
12874 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
12875
12876 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
12877 erroneous dprintf expected input.
12878
12879 2014-06-04 Doug Evans <xdje42@gmail.com>
12880
12881 * gdb.guile/scm-generics.exp: Delete.
12882
12883 2014-06-04 Doug Evans <xdje42@gmail.com>
12884
12885 * gdb.guile/scm-breakpoint.exp: Update.
12886 Add tests for breakpoint registration.
12887
12888 2014-06-04 Tom Tromey <tromey@redhat.com>
12889
12890 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
12891 VLA-in-union.
12892 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
12893 inner_vla_struct, vla_union types. Initialize objects of those
12894 types and compute their sizes.
12895
12896 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
12897 Hui Zhu <hui@codesourcery.com>
12898
12899 * gdb.base/fileio.exp: Add test for shell not available as well as
12900 available.
12901 * gdb.base/fileio.c (test_system): Check for shell twice.
12902
12903 2014-06-04 Yao Qi <yao@codesourcery.com>
12904
12905 * gdb.base/auto-connect-native-target.exp: Remove redundant
12906 space from the regexp pattern.
12907
12908 2014-06-04 Yao Qi <yao@codesourcery.com>
12909
12910 * gdb.base/default.exp: Replace "child" with "native" in
12911 regexp pattern.
12912
12913 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
12914
12915 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
12916 * gdb.python/py-xmethods.exp: New tests to test xmethods.
12917 * gdb.python/py-xmethods.py: Python script supporting the
12918 new testcase and tests.
12919
12920 2014-06-03 Joel Brobecker <brobecker@adacore.com>
12921 Pedro Alves <palves@redhat.com>
12922
12923 PR breakpoints/17000
12924 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
12925 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
12926
12927 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
12928
12929 * gdb.base/subst.exp: Add tests to verify partial path matching
12930 output.
12931
12932 2014-06-03 Pedro Alves <palves@redhat.com>
12933
12934 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
12935 target that doesn't use software single-stepping.
12936
12937 2014-06-03 Pedro Alves <palves@redhat.com>
12938
12939 PR breakpoints/17000
12940 * gdb.base/sss-bp-on-user-bp-2.c: New file.
12941 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
12942
12943 2014-06-02 Doug Evans <xdje42@gmail.com>
12944
12945 * gdb.guile/scm-parameter.exp: New file.
12946
12947 2014-06-02 Doug Evans <xdje42@gmail.com>
12948
12949 * gdb.guile/scm-cmd.c: New file.
12950 * gdb.guile/scm-cmd.exp: New file.
12951
12952 2014-06-02 Doug Evans <xdje42@gmail.com>
12953
12954 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
12955 pretty-printer lookup.
12956 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
12957 (make-pp_s-printer): Call it.
12958 (make-pretty-printer-from-dict): New function.
12959 (lookup-pretty-printer-maker-from-dict): New function.
12960 (*pretty-printer*): Simplify.
12961 (make-objfile-pp_s-printer): New function.
12962 (install-objfile-pretty-printers!): New function.
12963 (make-progspace-pp_s-printer): New function.
12964 (install-progspace-pretty-printers!): New function.
12965 * gdb.guile/scm-progspace.c: New file.
12966 * gdb.guile/scm-progspace.exp: New file.
12967
12968 2014-06-02 Pedro Alves <palves@redhat.com>
12969
12970 * gdb.base/dprintf-bp-same-addr.c: New file.
12971 * gdb.base/dprintf-bp-same-addr.exp: New file.
12972
12973 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12974
12975 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
12976 * gdb.arch/powerpc-power.s: Likewise.
12977
12978 2014-06-02 Joel Brobecker <brobecker@adacore.com>
12979
12980 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
12981
12982 2014-06-01 Yao Qi <yao@codesourcery.com>
12983
12984 * gdb.base/watchpoint.exp (test_watch_location): Check null
12985 pointer can be dereferenced. If not, do the test, otherwise
12986 skip it.
12987
12988 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12989
12990 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
12991 results.
12992 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
12993
12994 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12995
12996 * gdb.arch/amd64-invalid-stack-middle.S: New file.
12997 * gdb.arch/amd64-invalid-stack-middle.c: New file.
12998 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
12999 * gdb.arch/amd64-invalid-stack-top.c: New file.
13000 * gdb.arch/amd64-invalid-stack-top.exp: New file.
13001
13002 2014-05-30 Pedro Alves <palves@redhat.com>
13003
13004 PR breakpoints/17000
13005 * gdb.base/sss-bp-on-user-bp.c: New file.
13006 * gdb.base/sss-bp-on-user-bp.exp: New file.
13007
13008 2014-05-30 David Blaikie <dblaikie@gmail.com>
13009
13010 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13011 gnu_inline semantics via attribute.
13012 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13013 source explicitly specifies the required semantics.
13014
13015 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13016
13017 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13018
13019 2014-05-29 Pedro Alves <palves@redhat.com>
13020 Tom Tromey <tromey@redhat.com>
13021
13022 * gdb.base/async-shell.exp: Don't enable target-async.
13023 * gdb.base/async.exp
13024 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13025 parameter. Adjust.
13026 (top level): Don't test with "target-async".
13027 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13028 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13029 * gdb.base/inferior-died.exp: Don't enable target-async.
13030 * gdb.base/interrupt-noterm.exp: Likewise.
13031 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13032 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13033 * gdb.mi/mi-nonstop.exp: Likewise.
13034 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13035 * gdb.mi/mi-nsintrall.exp: Likewise.
13036 * gdb.mi/mi-nsmoribund.exp: Likewise.
13037 * gdb.mi/mi-nsthrexec.exp: Likewise.
13038 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13039 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13040 * gdb.python/py-evsignal.exp: Don't enable target-async.
13041 * gdb.python/py-evthreads.exp: Likewise.
13042 * gdb.python/py-prompt.exp: Likewise.
13043 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13044 * gdb.server/solib-list.exp: Don't enable target-async.
13045 * gdb.threads/thread-specific-bp.exp: Likewise.
13046 * lib/mi-support.exp: Adjust to use mi-async.
13047
13048 2014-05-29 Pedro Alves <palves@redhat.com>
13049
13050 PR gdb/13860
13051 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13052 reason, even in sync mode.
13053
13054 2014-05-29 Pedro Alves <palves@redhat.com>
13055 Hui Zhu <hui@codesourcery.com>
13056
13057 PR PR15693
13058 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13059 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13060 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13061 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13062
13063 2014-05-28 Joel Brobecker <brobecker@adacore.com>
13064
13065 * config/monitor.exp (gdb_target_monitor): Replace use of
13066 "set remotebaud" by "set serial baud".
13067
13068 2014-05-26 Andy Wingo <wingo@igalia.com>
13069
13070 * gdb.guile/scm-breakpoint.exp:
13071 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13072 properties instead of gdb-object-properties.
13073
13074 2014-05-26 Yao Qi <yao@codesourcery.com>
13075
13076 * gdb.server/no-thread-db.exp: Specify source file name
13077 explicitly when setting a breakpoint.
13078
13079 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13080
13081 * gdb.btrace/vdso.c: New.
13082 * gdb.btrace/vdso.exp: New.
13083
13084 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13085
13086 * gdb.base/gcore.exp (capture_command_output): Move ...
13087 * lib/gdb.exp (capture_command_output): ... here.
13088
13089 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13090
13091 * gdb.btrace/data.exp: Test memory access during btrace replay.
13092
13093 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13094
13095 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13096
13097 2014-05-21 Pedro Alves <palves@redhat.com>
13098
13099 PR gdb/13860
13100 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13101 (top level): Test that output related to execution commands is
13102 sent to the console with CLI commands, but not with MI commands.
13103 Test that breakpoint events are always mirrored to the console.
13104 Also expect the new source line to be output after a "next" in
13105 async mode too. Make it a pass/fail test.
13106 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13107 output.
13108 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13109
13110 2014-05-21 Pedro Alves <palves@redhat.com>
13111
13112 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13113 Use them to test variations of "list" after reaching a breakpoint.
13114 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13115 Test "list" with listsize 10 after reaching a breakpoint.
13116 * gdb.python/python.exp (decode_line current location line
13117 number): Adjust expected line number.
13118
13119 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13120
13121 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13122 behavior for $args, pass it directly to "run".
13123
13124 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13125
13126 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13127 30000 to 65536.
13128
13129 2014-05-21 Pedro Alves <palves@redhat.com>
13130
13131 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13132 auto-connect-native-target off".
13133 * gdb.base/auto-connect-native-target.c: New file.
13134 * gdb.base/auto-connect-native-target.exp: New file.
13135
13136 2014-05-21 Pedro Alves <palves@redhat.com>
13137
13138 * gdb.base/default.exp: Test "target native" instead of "target
13139 child".
13140
13141 2014-05-21 Mark Wielaard <mjw@redhat.com>
13142
13143 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13144
13145 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13146
13147 Fix TLS access for -static -pthread.
13148 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13149 <HAVE_TLS> (thread_function, main): Initialize it.
13150 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13151 Add clean_restart.
13152 <$have_tls != "">: Check TLSVAR.
13153
13154 2014-05-21 Pedro Alves <palves@redhat.com>
13155
13156 * gdb.base/dcache-line-read-error.c: New.
13157 * gdb.base/dcache-line-read-error.exp: New.
13158
13159 2014-05-20 Pedro Alves <palves@redhat.com>
13160
13161 * gdb.base/compare-sections.c: New file.
13162 * gdb.base/compare-sections.exp: New file.
13163
13164 2014-05-20 Pedro Alves <palves@redhat.com>
13165
13166 * gdb.base/break-idempotent.c: New file.
13167 * gdb.base/break-idempotent.exp: New file.
13168
13169 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13170
13171 * gdb.btrace/nohist.exp: New.
13172
13173 2014-05-20 Yao Qi <yao@codesourcery.com>
13174
13175 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13176 gdb.reverse directory and gdb_reverse_timeout exists in board
13177 setting.
13178 * README: Document gdb_reverse_timeout.
13179
13180 2014-05-20 Yao Qi <yao@codesourcery.com>
13181
13182 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13183 'test_file_name'. Treat args as a string instead of a list.
13184 (gdb_init): Rename argument 'args' by 'test_file_name'.
13185
13186 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13187
13188 * gdb.arch/powerpc-power.exp: New file.
13189 * gdb.arch/powerpc-power.s: New file.
13190
13191 2014-05-16 Doug Evans <dje@google.com>
13192
13193 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13194 * gdb.base/completion.exp: Check that all expected files exist
13195 before doing file completion.
13196
13197 2014-05-16 Doug Evans <dje@google.com>
13198
13199 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13200 Update.
13201 (do_syscall_tests_without_xml): Update.
13202
13203 2014-05-16 Pedro Alves <palves@redhat.com>
13204
13205 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13206 instead of "unknown output after running".
13207
13208 2014-05-16 Yao Qi <yao@codesourcery.com>
13209
13210 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13211 file1.txt from host at the end.
13212 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13213
13214 2014-05-15 Doug Evans <dje@google.com>
13215
13216 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13217 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13218 loading file. Add test for TU lookup.
13219
13220 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13221
13222 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13223 calling "-exec-arguments" or "set args" before running the
13224 inferior.
13225
13226 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13227
13228 * lib/mi-support.exp (mi_expect_stop): Expect message for
13229 inferiors that exit with non-zero exit code.
13230
13231 2014-05-14 Yao Qi <yao@codesourcery.com>
13232
13233 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13234 match absolute path on remote host.
13235 (test_file_list_exec_source_files): Remove "/" from the
13236 pattern.
13237
13238 2014-05-14 Yao Qi <yao@codesourcery.com>
13239
13240 * boards/local-remote-host-notty.exp (${board}_file): New
13241 proc.
13242
13243 2014-05-07 Kyle McMartin <kyle@redhat.com>
13244
13245 Pushed by Joel Brobecker <brobecker@adacore.com>.
13246 * gdb.arch/aarch64-atomic-inst.c: New file.
13247 * gdb.arch/aarch64-atomic-inst.exp: New file.
13248
13249 2014-05-07 Yao Qi <yao@codesourcery.com>
13250
13251 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13252 in current context" too.
13253
13254 2014-05-05 Keith Seitz <keiths@redhat.com>
13255
13256 * gdb.linespec/ls-dollar.exp: Add test for linespec
13257 file:convenience_variable.
13258
13259 2014-05-05 Yao Qi <yao@codesourcery.com>
13260
13261 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13262 traceframes into tfile and ctf trace files. Read data from
13263 trace file and test collected data.
13264 (gdb_collect_locals_test): Likewise.
13265 (gdb_unavailable_registers_test): Likewise.
13266 (gdb_unavailable_floats): Likewise.
13267 (gdb_collect_globals_test): Likewise.
13268 (top-level): Append "ctf" to trace_file_targets if GDB
13269 supports.
13270
13271 2014-05-05 Yao Qi <yao@codesourcery.com>
13272
13273 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13274 code to ...
13275 (gdb_collect_args_test_1): ... it. New proc.
13276 (gdb_collect_locals_test): Move some code to ...
13277 (gdb_collect_locals_test_1): ... it. New proc.
13278 (gdb_unavailable_registers_test): Move some code to ...
13279 (gdb_unavailable_registers_test_1): ... it. New proc.
13280 (gdb_unavailable_floats): Move some code to ...
13281 (gdb_unavailable_floats_1): ... it. New proc.
13282
13283 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13284
13285 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13286 probes to test for bitness recognition.
13287 * gdb.arch/amd64-stap-optional-prefix.exp
13288 (test_probe_value_without_reg): New procedure.
13289 Add code to test for different kinds of bitness.
13290
13291 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13292
13293 PR breakpoints/16889
13294 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13295 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13296
13297 2014-05-01 Pedro Alves <palves@redhat.com>
13298
13299 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13300 gdb_file_cmd if no file is specified.
13301 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13302 last_loaded_file to set the remote exec-file.
13303
13304 2014-05-01 Pedro Alves <palves@redhat.com>
13305
13306 * boards/local-remote-host.exp: New file.
13307
13308 2014-05-01 Pedro Alves <palves@redhat.com>
13309
13310 * boards/local-remote-host.exp: Rename to ...
13311 * boards/local-remote-host-notty.exp: ... this.
13312
13313 2014-04-28 Joel Brobecker <brobecker@adacore.com>
13314
13315 * gdb.ada/dyn_arrayidx: New testcase.
13316
13317 2014-04-26 Yao Qi <yao@codesourcery.com>
13318
13319 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13320 and compute the length of function main. Save it in
13321 $main_length.
13322 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13323 (top-level): Use gdb_compile to compile objects into
13324 executable and restart GDB. Remove invocation to
13325 prepare_for_testing.
13326
13327 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13328 Pedro Alves <palves@redhat.com>
13329
13330 PR server/16255
13331 * gdb.multi/multi-attach.c: New file.
13332 * gdb.multi/multi-attach.exp: New file.
13333
13334 2014-04-25 Pedro Alves <palves@redhat.com>
13335
13336 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13337 user.
13338 (top level): Test that "set remote conditional-breakpoints-packet
13339 off" works as intended.
13340 * gdb.base/dprintf.exp: Test that "set remote
13341 breakpoint-commands-packet off" works as intended.
13342 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13343 New function.
13344 (top level): Call it.
13345 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13346 remote fast-tracepoints-packet off" works as intended.
13347 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13348 * lib/gdb.exp (gdb_is_target_remote): ... here.
13349
13350 2014-04-24 David Blaikie <dblaikie@gmail.com>
13351
13352 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13353 ensure clang would not discard them.
13354 * gdb.base/gdbvars.c: Ditto.
13355 * gdb.base/memattr.c: Ditto.
13356 * gdb.base/whatis.c: Ditto.
13357 * gdb.python/py-prettyprint.c: Ditto.
13358 * gdb.trace/actions.c: Ditto.
13359 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13360 ensure clang would not discard it.
13361
13362 2014-04-24 David Blaikie <dblaikie@gmail.com>
13363
13364 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13365 clang to emit the full definition of type required by the test
13366 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13367
13368 2014-04-24 David Blaikie <dblaikie@gmail.com>
13369
13370 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13371 coax Clang into emitting the definition of the type.
13372 * gdb.cp/pr10728-x.h (y): Ditto.
13373 * gdb.cp/pr10728-y.cc (y): Ditto.
13374
13375 2014-04-24 David Blaikie <dblaikie@gmail.com>
13376
13377 * gdb.base/label.exp: XFAIL label related tests under Clang.
13378 * gdb.cp/cplabel.exp: Ditto.
13379 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13380 under Clang those using labels.
13381
13382 2014-04-25 Yao Qi <yao@codesourcery.com>
13383
13384 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13385 double_label.
13386 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13387 partial_label and double_label.
13388
13389 2014-04-24 David Blaikie <dblaikie@gmail.com>
13390
13391 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13392
13393 2014-04-24 David Blaikie <dblaikie@gmail.com>
13394
13395 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13396 of the function to work across GCC and Clang.
13397 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13398 pointer types (const void ** const V void **).
13399
13400 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
13401 Walfred Tedeschi <walfred.tedeschi@intel.com>
13402
13403 * Makefile.in (EXECUTABLES): Added i386-avx512.
13404 * gdb.arch/i386-avx512.c: New file.
13405 * gdb.arch/i386-avx512.exp: Likewise.
13406
13407 2014-04-23 Keith Seitz <keiths@redhat.com>
13408
13409 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13410 (mi_make_breakpoint_table): New procedure.
13411 (mi_create_breakpoint): Use mi_make_breakpoint
13412 and return the result.
13413 (mi_make_breakpoint): New procedure.
13414 (mi_build_kv_pairs): New procedure.
13415
13416 * gdb.mi/mi-break.exp: Remove unused globals,
13417 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13418 All callers updated.
13419 * gdb.mi/mi-dprintf.exp: Use variable to track command
13420 number.
13421 Update all callers of mi_create_breakpoint and use
13422 mi_make_breakpoint_table.
13423 Remove any unused global variables.
13424 * gdb.mi/mi-nonstop.exp: Likewise.
13425 * gdb.mi/mi-nsintrall.exp: Likewise.
13426 * gdb.mi/mi-nsmoribund.exp: Likewise.
13427 * gdb.mi/mi-nsthrexec.exp: Likewise.
13428 * gdb.mi/mi-reverse.exp: Likewise.
13429 * gdb.mi/mi-simplerun.exp: Likewise.
13430 * gdb.mi/mi-stepn.exp: Likewise.
13431 * gdb.mi/mi-syn-frame.exp: Likewise.
13432 * gdb.mi/mi-until.exp: Likewise.
13433 * gdb.mi/mi-var-cp.exp: Likewise.
13434 * gdb.mi/mi-var-display.exp: Likewise.
13435 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13436 * gdb.mi/mi2-var-child.exp: Likewise.
13437 * gdb.mi/mi-vla-c99.exp: Likewise.
13438 * lib/mi-support.exp: Likewise.
13439
13440 From Ian Lance Taylor <iant@cygnus.com>:
13441 * lib/gdb.exp (parse_args): New procedure.
13442
13443 2014-04-23 Pedro Alves <palves@redhat.com>
13444
13445 * gdb.base/break-unload-file.c: New file.
13446 * gdb.base/break-unload-file.exp: New file.
13447 * gdb.base/sym-file-lib.c (baz): New function.
13448 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13449 field.
13450 (load): Store the segment's mapped size.
13451 (unload): New function.
13452 (unload_shlib): New function.
13453 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13454 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13455 set a breakpoint at baz, and call it.
13456 * gdb.base/sym-file.exp: New tests for stale breakpoint
13457 instructions.
13458
13459 2014-04-23 Pedro Alves <palves@redhat.com>
13460
13461 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13462 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13463 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13464 * gdb.base/hbreak-unmapped.c: New file.
13465 * gdb.base/hbreak-unmapped.exp: New file.
13466 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13467 * lib/gdb.exp (gdb_is_target_remote): ... here.
13468
13469 2014-04-22 Pedro Alves <palves@redhat.com>
13470
13471 * gdb.base/consecutive-step-over.c: New file.
13472 * gdb.base/consecutive-step-over.exp: New file.
13473
13474 2014-04-22 Pedro Alves <palves@redhat.com>
13475
13476 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13477 instead of send_gdb/gdb_expect.
13478
13479 2014-04-22 Yao Qi <yao@codesourcery.com>
13480
13481 * lib/trace-support.exp (generate_tracefile): New procedure.
13482 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13483 return 0.
13484 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13485 if generate_tracefile returns 1.
13486
13487 2014-04-18 Tom Tromey <palves@redhat.com>
13488 Pedro alves <tromey@redhat.com>
13489
13490 PR backtrace/15558
13491 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13492 with a backtrace limit.
13493 * gdb.python/py-frame-inline.exp: Test running to an inline
13494 function with a backtrace limit, and printing the newest frame.
13495 * gdb.python/py-frame-inline.c (main): Call f.
13496
13497 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13498
13499 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13500
13501 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13502
13503 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13504 Drop prefix from unsupported source file path.
13505
13506 2014-04-17 Yao Qi <yao@codesourcery.com>
13507
13508 * lib/gdb.exp (with_target_charset): New proc.
13509 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13510 with_target_charset.
13511 (test_print_strings): Likewise.
13512 (test_repeat_bytes): Likewise.
13513 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13514 for some tests.
13515
13516 2014-04-16 Keith Seitz <keiths@redhat.com>
13517
13518 PR gdb/15827
13519 * gdb.dwarf2/corrupt.c: New file.
13520 * gdb.dwarf2/corrupt.exp: New file.
13521
13522 2014-04-16 Keith Seitz <keiths@redhat.com>
13523
13524 PR c++/16597
13525 * gdb.cp/namelessclass.cc: New file.
13526 * gdb.cp/namelessclass.exp: New file.
13527 * gdb.cp/namelessclass.S: New file.
13528
13529 2014-04-16 Doug Evans <dje@google.com>
13530
13531 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13532 Add comment.
13533 (gdbserver_default_get_comm_port): New function.
13534 (gdbserver_start): Check if board file provided
13535 "gdbserver,get_comm_port" and use it if so.
13536 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13537 (gdb,socketport): Set to "stdio".
13538 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13539 (stdio_gdbserver_template): Delete.
13540 (${board}_get_remote_address): Update.
13541 (${board}_build_remote_cmd): Delete.
13542 (${board}_get_comm_port): New function.
13543 (${board}_spawn): Update.
13544 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13545 Delete.
13546 (${board}_get_remote_address): Update.
13547 (${board}_get_comm_port): New function.
13548
13549 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
13550
13551 * gdb.base/memattr.exp: Improve regexps to handle memory regions
13552 appearing in any order.
13553
13554 2014-04-15 Doug Evans <dje@google.com>
13555
13556 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13557 uninitialized value of "description".
13558
13559 2014-04-15 Keith Seitz <keiths@redhat.com>
13560
13561 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13562 Remove unused globals.
13563 (test_running_the_program): Likewise.
13564 (test_controlled_execution): Likewise.
13565 (test_controlling_breakpoints): Likewise.
13566 (test_program_termination): Likewise.
13567
13568 2014-04-15 Keith Seitz <keiths@redhat.com>
13569
13570 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13571 unused globals.
13572 (test_rbreak_creation_and_listing): Likewise.
13573 (test_ignore_count): Likewise.
13574 (test_error): Likewise.
13575
13576 2014-04-15 Pedro Alves <palves@redhat.com>
13577
13578 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13579 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13580 sym-file-loader.c.
13581 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13582 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13583 to sym-file-loader.c.
13584 (struct library): Forward declare.
13585 (load_shlib, lookup_function): Change prototypes.
13586 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13587 (translate_offset): Remove declarations.
13588 (get_text_addr): New declaration.
13589 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13590 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13591 sym-file-loader.h.
13592 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13593 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13594 here from sym-file-loader.h.
13595 (struct library): New structure.
13596 (load_shlib, lookup_function): Change prototypes and adjust to
13597 work with a struct library.
13598 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13599 (translate_offset): Make static.
13600 (get_text_addr): New function.
13601 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13602
13603 2014-04-15 Pedro Alves <palves@redhat.com>
13604
13605 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13606
13607 2014-04-15 Pedro Alves <palves@redhat.com>
13608
13609 * gdb.base/sym-file-loader.c: Include <limits.h>.
13610 (SELF_LINK): New define.
13611 (get_origin): New function.
13612 (load_shlib): Use it.
13613 * gdb.base/sym-file.exp: Don't early return if the target is
13614 remote. Use runto_main, and issue fail is that fails. Use
13615 gdb_load_shlibs.
13616 (shlib_name): Delete.
13617 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13618
13619 2014-04-15 Pedro Alves <palves@redhat.com>
13620
13621 * gdb.base/sym-file.exp: Remove regex characters from test
13622 message. Don't refer to breakpoint numbers in test messages.
13623
13624 2014-04-14 Keith Seitz <keiths@redhat.com>
13625
13626 PR c++/16253
13627 * gdb.cp/var-tag.cc: New file.
13628 * gdb.cp/var-tag.exp: New file.
13629 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13630 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13631 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13632 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13633
13634 2014-04-14 Tom Tromey <tromey@redhat.com>
13635
13636 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13637 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13638 type.
13639 * gdb.cp/enum-class.exp: New file.
13640 * gdb.cp/enum-class.cc: New file.
13641
13642 2014-04-14 Tom Tromey <tromey@redhat.com>
13643
13644 * gdb.dwarf2/enum-type.exp: New file.
13645
13646 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13647
13648 * gdb.mi/mi-vla-c99.exp: New file.
13649 * gdb.mi/vla.c: New file.
13650
13651 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13652
13653 * gdb.base/vla-datatypes.c: New file.
13654 * gdb.base/vla-datatypes.exp: New file.
13655
13656 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13657
13658 * gdb.base/vla-ptr.c: New file.
13659 * gdb.base/vla-ptr.exp: New file.
13660
13661 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13662
13663 * gdb.dwarf2/count.exp: New file.
13664
13665 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13666
13667 * gdb.base/vla-sideeffect.c: New file.
13668 * gdb.base/vla-sideeffect.exp: New file.
13669
13670 2014-04-14 David Blaikie <dblaikie@gmail.com>
13671
13672 * gdb.mi/non-stop.c: Add return value for non-void function return
13673 statement.
13674 * gdb.threads/staticthreads.c: Ditto.
13675
13676 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13677 Doug Evans <xdje42@gmail.com>
13678
13679 * gdb.guile/scm-value.c: Improve test case.
13680 * gdb.guile/scm-value.exp: Add new test.
13681
13682 2014-04-11 David Blaikie <dblaikie@gmail.com>
13683
13684 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13685 override Clang's default.
13686
13687 2014-04-11 Joel Brobecker <brobecker@adacore.com>
13688
13689 Revert the following changes (regressions):
13690
13691 * gdb.base/vla-sideeffect.c: New file.
13692 * gdb.base/vla-sideeffect.exp: New file.
13693
13694 * gdb.dwarf2/count.exp: New file.
13695
13696 * gdb.base/vla-multi.c: New file.
13697 * gdb.base/vla-multi.exp: New file.
13698
13699 * gdb.base/vla-ptr.c: New file.
13700 * gdb.base/vla-ptr.exp: New file.
13701
13702 * gdb.base/vla-datatypes.c: New file.
13703 * gdb.base/vla-datatypes.exp: New file.
13704
13705 * gdb.mi/mi-vla-c99.exp: New file.
13706 * gdb.mi/vla.c: New file.
13707
13708 2014-04-11 Keith Seitz <keiths@redhat.com>
13709
13710 PR c++/16675
13711 * gdb.cp/cpsizeof.exp: New file.
13712 * gdb.cp/cpsizeof.cc: New file.
13713
13714 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13715
13716 * gdb.mi/mi-vla-c99.exp: New file.
13717 * gdb.mi/vla.c: New file.
13718
13719 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13720
13721 * gdb.base/vla-datatypes.c: New file.
13722 * gdb.base/vla-datatypes.exp: New file.
13723
13724 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13725
13726 * gdb.base/vla-ptr.c: New file.
13727 * gdb.base/vla-ptr.exp: New file.
13728
13729 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13730
13731 * gdb.base/vla-multi.c: New file.
13732 * gdb.base/vla-multi.exp: New file.
13733
13734 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13735
13736 * gdb.dwarf2/count.exp: New file.
13737
13738 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13739
13740 * gdb.base/vla-sideeffect.c: New file.
13741 * gdb.base/vla-sideeffect.exp: New file.
13742
13743 2014-04-11 Yao Qi <yao@codesourcery.com>
13744
13745 * gdb.base/completion.exp: Check file exists before running tests
13746 on file completion.
13747
13748 2014-04-10 Pedro Alves <palves@redhat.com>
13749
13750 * gdb.base/cond-eval-mode.c: New file.
13751 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13752 prepare_for_testing to build the new file. Check result of
13753 runto_main.
13754 (test_break, test_watch): New procedures.
13755 (top level): Use them.
13756
13757 2014-04-08 Pierre Muller <muller@sourceware.org>
13758
13759 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13760 Ctrl-V use for mingw hosts.
13761
13762 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13763
13764 * gdb.python/py-value.c: Improve test case.
13765 * gdb.python/py-value.exp: Add new test.
13766
13767 2014-04-07 David Blaikie <dblaikie@gmail.com>
13768
13769 * lib/compiler.c: Identify the clang compiler.
13770 * lib/compiler.cc: Ditto.
13771
13772 2014-04-03 Yao Qi <yao@codesourcery.com>
13773
13774 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13775
13776 2014-04-01 Anton Blanchard <anton@samba.org>
13777
13778 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13779 messages unique.
13780
13781 2014-04-01 Anton Blanchard <anton@samba.org>
13782
13783 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13784 prepare_for_testing.
13785
13786 2014-04-01 Anton Blanchard <anton@samba.org>
13787
13788 * gdb.arch/ppc64-atomic-inst.c: Remove.
13789 * gdb.arch/ppc64-atomic-inst.S: New file.
13790 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13791
13792 2014-03-31 Doug Evans <dje@google.com>
13793
13794 * gdb.base/print-symbol-loading-lib.c: New file.
13795 * gdb.base/print-symbol-loading-main.c: New file.
13796 * gdb.base/print-symbol-loading.exp: New file.
13797
13798 2014-03-31 Yao Qi <yao@codesourcery.com>
13799
13800 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13801
13802 2014-03-28 Joel Brobecker <brobecker@adacore.com>
13803
13804 * gdb.ada/mi_dyn_arr: New testcase.
13805
13806 2014-03-27 Doug Evans <dje@google.com>
13807
13808 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13809
13810 2014-03-27 Yao Qi <yao@codesourcery.com>
13811
13812 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13813 if target is nios2-*-*.
13814
13815 2014-03-26 Yao Qi <yao@codesourcery.com>
13816
13817 * lib/gdb.exp (readline_is_used): New proc.
13818 * gdb.base/completion.exp: Move tests on command complete up.
13819 Skip the rest of tests if readline is not used.
13820 * gdb.ada/complete.exp: Skp the test if readline is not
13821 used.
13822 * gdb.base/filesym.exp: Likewise.
13823 * gdb.base/macscp.exp: Likewise.
13824 * gdb.base/readline-ask.exp: Likewise.
13825 * gdb.base/readline.exp: Likewise.
13826 * gdb.python/py-cmd.exp: Likewise.
13827 * gdb.trace/tfile.exp: Likewise.
13828
13829 2014-03-26 Yao Qi <yao@codesourcery.com>
13830
13831 * gdb.base/macscp.exp: Fix code format issues.
13832
13833 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13834
13835 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13836 * gdb.asm/powerpc64le.inc: New file.
13837
13838 2014-03-25 Pedro Alves <palves@redhat.com>
13839 Doug Evans <dje@google.com>
13840
13841 * gdb.base/source-execution.c: New file.
13842 * gdb.base/source-execution.exp: New file.
13843 * gdb.base/source-execution.gdb: New file.
13844
13845 2014-03-24 Doug Evans <dje@google.com>
13846
13847 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13848 using fission.
13849
13850 2014-03-24 Hui Zhu <hui@codesourcery.com>
13851 Pedro Alves <palves@redhat.com>
13852
13853 PR breakpoints/16101
13854 * gdb.base/dprintf.exp: Use unsupported rather than changing the
13855 test pass/fail messages. Detect missing support for dprintf when
13856 breakpoints are actually inserted.
13857 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
13858 breakpoints are actually inserted.
13859 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
13860 fails.
13861
13862 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13863
13864 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
13865
13866 2014-03-22 Doug Evans <xdje42@gmail.com>
13867
13868 * gdb.python/python.exp (python not supported): Verify multi-line
13869 python command issues an error.
13870 * gdb.guile/guile.exp (guile not supported): Verify multi-line
13871 guile command issues an error.
13872
13873 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
13874
13875 * gdb.threads/thread-specific.exp: Handle the lack of usable
13876 $this_breakpoint and $this_thread.
13877
13878 2014-03-21 Hui Zhu <hui@codesourcery.com>
13879
13880 * gdb.base/attach.exp (do_command_attach_tests): New.
13881
13882 2014-03-20 Tom Tromey <tromey@redhat.com>
13883 Pedro Alves <palves@redhat.com>
13884
13885 PR cli/15718
13886 * gdb.base/condbreak-call-false.c: New file.
13887 * gdb.base/condbreak-call-false.exp: New file.
13888
13889 2014-03-20 Pedro Alves <palves@redhat.com>
13890
13891 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
13892 Delete.
13893 (block_signals, unblock_signals): Delete.
13894 (child_function_2, main): Remove references to deleted variable
13895 and functions.
13896
13897 2014-03-20 Pedro Alves <palves@redhat.com>
13898
13899 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
13900 Use pthread_kill to signal thread 2.
13901 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13902 Adjust to make the test send itself a signal rather than using the
13903 host's "kill" command.
13904
13905 2014-03-20 Pedro Alves <palves@redhat.com>
13906
13907 * gdb.threads/multiple-step-overs.c: New file.
13908 * gdb.threads/multiple-step-overs.exp: New file.
13909 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13910 Adjust expected infrun debug output.
13911
13912 2014-03-20 Pedro Alves <palves@redhat.com>
13913
13914 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
13915 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
13916
13917 2014-03-20 Pedro Alves <palves@redhat.com>
13918
13919 PR breakpoints/7143
13920 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
13921 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
13922 of gdb_test_multiple.
13923 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
13924 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
13925
13926 2014-03-20 Pedro Alves <palves@redhat.com>
13927
13928 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
13929 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
13930
13931 2014-03-19 Pedro Alves <palves@redhat.com>
13932
13933 * gdb.base/async.exp: Remove early return.
13934
13935 2014-03-19 Pedro Alves <palves@redhat.com>
13936
13937 * gdb.base/async.exp (step& tests): Pass explicit test messages.
13938
13939 2014-03-19 Pedro Alves <palves@redhat.com>
13940
13941 * gdb.base/async.exp (test_background): Expect \r\n after
13942 "completed." in the fail pattern.
13943
13944 2014-03-19 Pedro Alves <palves@redhat.com>
13945
13946 * gdb.base/async.exp (test_background): New procedure.
13947 Use it for all background execution command tests.
13948
13949 2014-03-19 Pedro Alves <palves@redhat.com>
13950
13951 * gdb.base/async.exp: Use prepare_for_testing.
13952
13953 2014-03-19 Pedro Alves <palves@redhat.com>
13954
13955 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
13956 the same line.
13957
13958 2014-03-19 Pedro Alves <palves@redhat.com>
13959
13960 * gdb.base/async.c (main): Add "jump here" and "until here" line
13961 marker comments.
13962 * gdb.base/async.exp (jump_here): New global.
13963 (jump& test): Use it.
13964 (until_here): New global.
13965 (until& test): Use it.
13966
13967 2014-03-19 Pedro Alves <palves@redhat.com>
13968
13969 * gdb.base/async.exp: Don't frob gdb_protocol.
13970
13971 2014-03-18 Doug Evans <xdje42@gmail.com>
13972
13973 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
13974 Fix spelling of exec-done-display.
13975
13976 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13977
13978 PR gdb/15358
13979 * gdb.base/gdb-sigterm.c: New file.
13980 * gdb.base/gdb-sigterm.exp: New file.
13981
13982 2014-03-18 Pedro Alves <palves@redhat.com>
13983
13984 PR gdb/13860
13985 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
13986 * lib/mi-support.exp (mi_expect_stop): Add special handling for
13987 solib-event.
13988
13989 2014-03-17 Joel Brobecker <brobecker@adacore.com>
13990
13991 * gdb.ada/pckd_arr_ren: New testcase.
13992
13993 2014-03-13 Doug Evans <xdje42@gmail.com>
13994
13995 PR guile/16612
13996 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
13997 collect after discarding symbols.
13998
13999 2014-03-13 Ludovic Courtès <ludo@gnu.org>
14000 Doug Evans <xdje42@gmail.com>
14001
14002 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14003 to history survives a gc.
14004
14005 2014-03-13 Pedro Alves <palves@redhat.com>
14006
14007 * gdb.base/default.exp: Don't test "target procfs".
14008
14009 2014-03-13 Pedro Alves <palves@redhat.com>
14010
14011 * gdb.base/default.exp: Update "target child" and "target procfs"
14012 tests to not expect "Unix".
14013
14014 2014-03-12 Tom Tromey <tromey@redhat.com>
14015
14016 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14017 New procs. Add target-async tests.
14018 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14019 Add target-async tests.
14020
14021 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14022
14023 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14024 'func_start' and 'func_end' for the beginning and end of the
14025 function code, respectively.
14026 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14027 'func_end' instead of 'func' and 'main'.
14028
14029 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14030
14031 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14032 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14033 generate the debug info assembler source.
14034
14035 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14036
14037 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14038 * gdb.dwarf2/arr-subrange.exp: Likewise.
14039 * gdb.dwarf2/dwz.exp: Likewise.
14040 * gdb.dwarf2/method-ptr.exp: Likewise.
14041 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14042 * gdb.dwarf2/subrange.exp: Likewise.
14043 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14044 * gdb.dwarf2/implptrpiece.exp: Likewise.
14045 * gdb.dwarf2/nostaticblock.exp: Likewise.
14046
14047 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14048
14049 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14050 directory to absolute path name arguments.
14051
14052 2014-03-10 Joel Brobecker <brobecker@adacore.com>
14053
14054 * gdb.ada/tagged_access: New testcase.
14055
14056 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14057
14058 * gdb.btrace/data.exp: Update expected output.
14059
14060 2014-03-06 Yao Qi <yao@codesourcery.com>
14061
14062 * gdb.trace/pr16508.exp: New file.
14063
14064 2014-03-05 Pedro Alves <palves@redhat.com>
14065
14066 PR gdb/16575
14067 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14068 procedure.
14069 (top level): Adjust to use it. Add tests that exercise breakpoint
14070 interaction with the code-cache.
14071
14072 2014-02-26 Ludovic Courtès <ludo@gnu.org>
14073
14074 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14075 test for 'history-append!'.
14076
14077 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14078
14079 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14080 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14081 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14082 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14083 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14084 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14085
14086 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14087
14088 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14089 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14090 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14091
14092 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14093
14094 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14095
14096 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14097
14098 * gdb.dwarf2/arr-stride.c: New file.
14099 * gdb.dwarf2/arr-stride.exp: New file.
14100
14101 2014-02-26 Pedro Alves <palves@redhat.com>
14102
14103 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14104 that won't ever trigger. Make sure that GDB reports the correct
14105 breakpoint that caused the stop.
14106
14107 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14108
14109 PR gdb/16626
14110 * gdb.base/auto-load-script: New file.
14111 * gdb.base/auto-load.c: New file.
14112 * gdb.base/auto-load.exp: New file.
14113
14114 PR gdb/16626
14115 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14116
14117 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14118
14119 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14120 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14121
14122 2014-02-24 Doug Evans <dje@google.com>
14123
14124 * lib/gdb.exp (run_on_host): Log error output if program fails.
14125
14126 2014-02-21 Pedro Alves <palves@redhat.com>
14127
14128 * gdb.threads/step-after-sr-lock.c: Rename to ...
14129 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14130 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14131 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14132 ... this.
14133
14134 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14135
14136 PR tdep/16397
14137 * gdb.arch/amd64-stap-special-operands.exp: New file.
14138 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14139 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14140 * gdb.arch/amd64-stap-triplet.S: Likewise.
14141 * gdb.arch/amd64-stap-triplet.c: Likewise.
14142
14143 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14144
14145 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14146 in .section pseudo-op.
14147
14148 2014-02-20 lin zuojian <manjian2006@gmail.com>
14149 Joel Brobecker <brobecker@adacore.com>
14150 Doug Evans <xdje42@gmail.com>
14151
14152 PR symtab/16581
14153 * gdb.dwarf2/dw2-icycle.S: New file.
14154 * gdb.dwarf2/dw2-icycle.c: New file.
14155 * gdb.dwarf2/dw2-icycle.exp: New file.
14156
14157 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14158
14159 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14160 operations on gdb.Value objects.
14161 * gdb.python/py-value-cc.exp: Add new test to test operations on
14162 gdb.Value objects.
14163
14164 2014-02-18 Doug Evans <dje@google.com>
14165
14166 * Makefile.in (TESTS): New variable.
14167 (expanded_tests, expanded_tests_or_none): New variables
14168 (check-single): Pass $(expanded_tests_or_none) to runtest.
14169 (check-parallel): Only run tests in $(TESTS) if non-empty.
14170 (check/no-matching-tests-found): New rule.
14171 * README: Document TESTS makefile variable.
14172
14173 2014-02-18 Doug Evans <dje@google.com>
14174
14175 * Makefile.in (check-parallel): rm -rf outputs temp.
14176
14177 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14178
14179 Fix "ERROR: no fileid for" in the testsuite.
14180 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14181
14182 2014-02-12 Doug Evans <dje@google.com>
14183
14184 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14185 (MISCELLANEOUS): New variable.
14186 (clean): rm -rf $(MISCELLANEOUS).
14187 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14188 dwp live in the same directory as symlinks, with each symlink pointed
14189 to a differently named file in a different directory.
14190
14191 2014-02-11 Doug Evans <dje@google.com>
14192
14193 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14194 of Tcl file commands.
14195
14196 2014-02-10 Mark Kettenis <kettenis@gnu.org>
14197
14198 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14199 "kill -SIGUSR1 -1".
14200
14201 2014-02-10 Joel Brobecker <brobecker@adacore.com>
14202
14203 * gdb.ada/tick_length_array_enum_idx: New testcase.
14204
14205 2014-02-10 Doug Evans <xdje42@gmail.com>
14206
14207 * configure.ac (AC_OUTPUT): Add gdb.guile.
14208 * configure: Regenerate.
14209 * lib/gdb-guile.exp: New file.
14210 * lib/gdb.exp (get_target_charset): New function.
14211 * gdb.base/help.exp: Update expected output from "apropos apropos".
14212 * gdb.guile/Makefile.in: New file.
14213 * gdb.guile/guile.exp: New file.
14214 * gdb.guile/scm-arch.c: New file.
14215 * gdb.guile/scm-arch.exp: New file.
14216 * gdb.guile/scm-block.c: New file.
14217 * gdb.guile/scm-block.exp: New file.
14218 * gdb.guile/scm-breakpoint.c: New file.
14219 * gdb.guile/scm-breakpoint.exp: New file.
14220 * gdb.guile/scm-disasm.c: New file.
14221 * gdb.guile/scm-disasm.exp: New file.
14222 * gdb.guile/scm-equal.c: New file.
14223 * gdb.guile/scm-equal.exp: New file.
14224 * gdb.guile/scm-error.exp: New file.
14225 * gdb.guile/scm-error.scm: New file.
14226 * gdb.guile/scm-frame-args.c: New file.
14227 * gdb.guile/scm-frame-args.exp: New file.
14228 * gdb.guile/scm-frame-args.scm: New file.
14229 * gdb.guile/scm-frame-inline.c: New file.
14230 * gdb.guile/scm-frame-inline.exp: New file.
14231 * gdb.guile/scm-frame.c: New file.
14232 * gdb.guile/scm-frame.exp: New file.
14233 * gdb.guile/scm-generics.exp: New file.
14234 * gdb.guile/scm-gsmob.exp: New file.
14235 * gdb.guile/scm-iterator.c: New file.
14236 * gdb.guile/scm-iterator.exp: New file.
14237 * gdb.guile/scm-math.c: New file.
14238 * gdb.guile/scm-math.exp: New file.
14239 * gdb.guile/scm-objfile-script-gdb.in: New file.
14240 * gdb.guile/scm-objfile-script.c: New file.
14241 * gdb.guile/scm-objfile-script.exp: New file.
14242 * gdb.guile/scm-objfile.c: New file.
14243 * gdb.guile/scm-objfile.exp: New file.
14244 * gdb.guile/scm-ports.exp: New file.
14245 * gdb.guile/scm-pretty-print.c: New file.
14246 * gdb.guile/scm-pretty-print.exp: New file.
14247 * gdb.guile/scm-pretty-print.scm: New file.
14248 * gdb.guile/scm-section-script.c: New file.
14249 * gdb.guile/scm-section-script.exp: New file.
14250 * gdb.guile/scm-section-script.scm: New file.
14251 * gdb.guile/scm-symbol.c: New file.
14252 * gdb.guile/scm-symbol.exp: New file.
14253 * gdb.guile/scm-symtab-2.c: New file.
14254 * gdb.guile/scm-symtab.c: New file.
14255 * gdb.guile/scm-symtab.exp: New file.
14256 * gdb.guile/scm-type.c: New file.
14257 * gdb.guile/scm-type.exp: New file.
14258 * gdb.guile/scm-value-cc.cc: New file.
14259 * gdb.guile/scm-value-cc.exp: New file.
14260 * gdb.guile/scm-value.c: New file.
14261 * gdb.guile/scm-value.exp: New file.
14262 * gdb.guile/source2.scm: New file.
14263 * gdb.guile/types-module.cc: New file.
14264 * gdb.guile/types-module.exp: New file.
14265
14266 2014-02-10 Yao Qi <yao@codesourcery.com>
14267
14268 PR testsuite/16543
14269 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14270 * configure: Regenerated.
14271 * Makefile.in: New file.
14272
14273 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14274
14275 * gdb.python/py-framefilter.exp: Fix typo.
14276
14277 2014-02-08 Yao Qi <yao@codesourcery.com>
14278
14279 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14280 that no =breakpoint-modified is emitted when breakpoints are
14281 modified through MI commands.
14282
14283 2014-02-07 Pedro Alves <pedro@codesourcery.com>
14284 Pedro Alves <palves@redhat.com>
14285
14286 * gdb.threads/step-after-sr-lock.c: New file.
14287 * gdb.threads/step-after-sr-lock.exp: New file.
14288
14289 2014-02-07 Pedro Alves <palves@redhat.com>
14290
14291 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14292
14293 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14294
14295 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14296 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14297
14298 2014-02-06 Doug Evans <xdje42@gmail.com>
14299
14300 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14301 output.
14302
14303 * gdb.gdb/python-interrupts.exp: New file.
14304
14305 2014-02-05 Yao Qi <yao@codesourcery.com>
14306
14307 * gdb.trace/report.exp (use_collected_data): Test the output
14308 of "info threads" and "info inferiors".
14309
14310 2014-02-05 Yao Qi <yao@codesourcery.com>
14311
14312 Revert this patch:
14313
14314 2013-05-24 Yao Qi <yao@codesourcery.com>
14315
14316 * gdb.trace/tfile.exp: Test inferior and thread.
14317
14318 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14319
14320 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14321 on a function.
14322 * gdb.base/step-bt.c: Call hello via function pointer to make
14323 sure its first instruction is executed on powerpc64le-linux.
14324
14325 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14326
14327 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14328
14329 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14330
14331 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14332 of the test patterns for use on little-endian systems.
14333
14334 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14335
14336 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14337 (decimal_vector): Fix for little-endian.
14338
14339 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14340
14341 * gdb.arch/sparc-sysstep.exp: New file.
14342 * gdb.arch/sparc-sysstep.c: Likewise.
14343
14344 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14345
14346 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14347
14348 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14349
14350 2014-01-23 Tom Tromey <tromey@redhat.com>
14351
14352 * gdb.ada/array_char_idx: New testcase.
14353
14354 2014-01-23 Tom Tromey <tromey@redhat.com>
14355
14356 PR python/16487:
14357 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14358 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14359 classes.
14360
14361 2014-01-23 Tom Tromey <tromey@redhat.com>
14362
14363 PR python/16491:
14364 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14365 string from an inferior frame.
14366 * gdb.python/py-framefilter-mi.exp: Update.
14367
14368 2014-01-22 Doug Evans <dje@google.com>
14369
14370 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14371
14372 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14373
14374 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14375
14376 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14377
14378 * gdb.trace/entry-values.exp: Remove excess space character from
14379 regex patterns. Handle s390 call instruction.
14380
14381 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14382
14383 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14384 define "*_start" label. Make "name" static.
14385 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14386 ${name} by references to ${name}_start.
14387
14388 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14389
14390 * gdb.base/info-macros.exp: Remove "debug" from the compile
14391 options.
14392
14393 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14394
14395 * gdb.dlang/demangle.exp: New file.
14396
14397 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14398
14399 * gdb.dlang/primitive-types.exp: New file.
14400
14401 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14402
14403 * configure.ac: Create gdb.dlang/Makefile.
14404 * configure: Regenerate.
14405 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14406 * gdb.dlang/Makefile.in: New file.
14407 * lib/d-support.exp: New file.
14408 * lib/gdb.exp (skip_d_tests): New proc.
14409
14410 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14411
14412 * gdb.btrace/delta.exp: Check reverse stepi.
14413 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14414 * gdb.btrace/finish.exp: New.
14415 * gdb.btrace/next.exp: New.
14416 * gdb.btrace/nexti.exp: New.
14417 * gdb.btrace/record_goto.c: Add comments.
14418 * gdb.btrace/step.exp: New.
14419 * gdb.btrace/stepi.exp: New.
14420 * gdb.btrace/multi-thread-step.c: New.
14421 * gdb.btrace/multi-thread-step.exp: New.
14422 * gdb.btrace/rn-dl-bind.c: New.
14423 * gdb.btrace/rn-dl-bind.exp: New.
14424 * gdb.btrace/data.c: New.
14425 * gdb.btrace/data.exp: New.
14426 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14427
14428 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14429
14430 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14431 * gdb.btrace/exception.exp: Update.
14432 * gdb.btrace/instruction_history.exp: Update.
14433 * gdb.btrace/record_goto.exp: Update.
14434 * gdb.btrace/tailcall.exp: Update.
14435 * gdb.btrace/unknown_functions.exp: Update.
14436 * gdb.btrace/delta.exp: New.
14437
14438 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14439
14440 * gdb.btrace/record_goto.exp: Add backtrace test.
14441 * gdb.btrace/tailcall.exp: Add backtrace test.
14442
14443 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14444
14445 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14446 * gdb.btrace/record_goto.c: New.
14447 * gdb.btrace/record_goto.exp: New.
14448 * gdb.btrace/x86-record_goto.S: New.
14449
14450 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14451
14452 * gdb.btrace/function_call_history.exp: Update tests.
14453 * gdb.btrace/instruction_history.exp: Update tests.
14454
14455 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14456
14457 * gdb.btrace/function_call_history.exp: Fix expected field
14458 order for "record function-call-history".
14459 Add new tests for "record function-call-history /c".
14460 * gdb.btrace/exception.cc: New.
14461 * gdb.btrace/exception.exp: New.
14462 * gdb.btrace/tailcall.exp: New.
14463 * gdb.btrace/x86-tailcall.S: New.
14464 * gdb.btrace/x86-tailcall.c: New.
14465 * gdb.btrace/unknown_functions.c: New.
14466 * gdb.btrace/unknown_functions.exp: New.
14467 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14468
14469 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14470
14471 * gdb.btrace/instruction_history.exp: Update.
14472 * gdb.btrace/function_call_history.exp: Update.
14473
14474 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14475
14476 * gdb.btrace/function_call_history.exp: Fix expected function
14477 trace.
14478 * gdb.btrace/instruction_history.exp: Initialize traced.
14479 Remove traced_functions.
14480
14481 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14482
14483 * gdb.btrace/function_call_history.exp: Update
14484 * gdb.btrace/instruction_history.exp: Update.
14485
14486 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14487
14488 * gdb.btrace/enable.exp: Update expected text.
14489
14490 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14491
14492 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14493 bytes.
14494
14495 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14496
14497 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14498
14499 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14500
14501 * lib/gdb.exp (supports_process_record): Return true for
14502 arm*-linux*. (supports_reverse): Likewise.
14503
14504 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14505
14506 PR python/15464
14507 PR python/16113
14508 * gdb.python/py-type.c: Enhance test case.
14509 * gdb.python/py-value-cc.cc: Likewise
14510 * gdb.python/py-type.exp: Add new tests.
14511 * gdb.python/py-value-cc.exp: Likewise
14512
14513 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14514 Pedro Alves <palves@redhat.com>
14515
14516 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14517 Make "name" extern.
14518 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14519 references to ${name}_start by references to ${name}.
14520
14521 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14522
14523 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14524
14525 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14526
14527 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14528
14529 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
14530 Pedro Alves <palves@redhat.com>
14531
14532 * gdb.mi/mi-info-os.exp: Connect to the target with
14533 mi_gdb_target_load.
14534
14535 2014-01-08 Pedro Alves <palves@redhat.com>
14536
14537 * gdb.threads/reconnect-signal.c: New file.
14538 * gdb.threads/reconnect-signal.exp: New file.
14539
14540 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14541
14542 * gdb.base/source-dir.exp: New file.
14543
14544 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14545
14546 * gdb.ada/mi_interface: New testcase.
14547
14548 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14549
14550 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14551 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14552 gdb.ada/pp-rec-component/pck.ads: New files.
14553
14554 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14555
14556 * gdb.python/py-pp-integral.c: New file.
14557 * gdb.python/py-pp-integral.py: New file.
14558 * gdb.python/py-pp-integral.exp: New file.
14559
14560 For older changes see ChangeLog-1993-2013.
14561 \f
14562 ;; Local Variables:
14563 ;; mode: change-log
14564 ;; left-margin: 8
14565 ;; fill-column: 74
14566 ;; version-control: never
14567 ;; End:
14568
14569 Copyright 2014-2018 Free Software Foundation, Inc.
14570 Copying and distribution of this file, with or without modification,
14571 are permitted provided the copyright notice and this notice are preserved.