[testsuite] Fix dg-extract-results.sh path
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4
5 2018-09-10 Jerome Guitton <guitton@adacore.com>
6
7 * gdb.ada/same_component_name: Add test for case of tagged record
8 with variable-length fields.
9
10 2018-09-10 Xavier Roirand <roirand@adacore.com>
11
12 * gdb.ada/access_to_unbounded_array.exp: New testcase.
13 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
14 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
15 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
16
17 2018-09-10 Xavier Roirand <roirand@adacore.com>
18
19 * gdb.ada/mi_string_access.exp: New testcase.
20 * gdb.ada/mi_string_access/bar.adb: New file.
21 * gdb.ada/mi_string_access/pck.adb: New file.
22 * gdb.ada/mi_string_access/pck.asd: New file.
23
24 2018-09-10 Xavier Roirand <roirand@adacore.com>
25
26 * gdb.ada/mi_var_union.exp: New testcase.
27 * gdb.ada/mi_var_union/bar.adb: New file.
28 * gdb.ada/mi_var_union/pck.adb: New file.
29 * gdb.ada/mi_var_union/pck.asd: New file.
30
31 2018-09-08 Tom Tromey <tom@tromey.com>
32
33 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
34
35 2018-09-08 Tom Tromey <tom@tromey.com>
36
37 PR python/16047:
38 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
39 (register_pretty_printers): Register new printer.
40 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
41 test.
42 * gdb.python/py-prettyprint.c (int_type3): New typedef.
43 (an_int_type3): New global.
44
45 2018-09-08 Joel Brobecker <brobecker@adacore.com>
46
47 * gdb.ada/expr_with_funcall: New testcase.
48
49 2018-09-08 Joel Brobecker <brobecker@adacore.com>
50
51 * gdb.ada/packed_array_assign: New testcase.
52
53 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
54
55 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
56 names, and add test prefixes to make test names unique.
57
58 2018-09-05 Tom de Vries <tdevries@suse.de>
59
60 * gdb.dwarf2/varval.exp: Add test.
61
62 2018-09-04 Gary Benson <gbenson@redhat.com>
63
64 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
65 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
66
67 2018-08-31 Tom Tromey <tom@tromey.com>
68
69 * gdb.rust/simple.rs: Rename second variable "v".
70
71 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
72
73 * gdb.base/funcargs.c (use_a): New function.
74 (recurse): Call use_a.
75
76 2018-08-29 Keith Seitz <keiths@redhat.com>
77
78 * gdb.compile/compile-cplus-anonymous.cc: New file.
79 * gdb.compile/compile-cplus-anonymous.exp: New file.
80 * gdb.compile/compile-cplus-array-decay.cc: New file.
81 * gdb.compile/compile-cplus-array-decay.exp: New file.
82 * gdb.compile/compile-cplus-inherit.cc: New file.
83 * gdb.compile/compile-cplus-inherit.exp: New file.
84 * gdb.compile/compile-cplus-member.cc: New file.
85 * gdb.compile/compile-cplus-member.exp: New file.
86 * gdb.compile/compile-cplus-method.cc: New file.
87 * gdb.compile/compile-cplus-method.exp: New file.
88 * gdb.compile/compile-cplus-mod.c: "New" file.
89 * gdb.compile/compile-cplus-namespace.cc: New file.
90 * gdb.compile/compile-cplus-namespace.exp: New file.
91 * gdb.compile/compile-cplus-nested.cc: New file.
92 * gdb.compile/compile-cplus-nested.exp: New file.
93 * gdb.compile/compile-cplus-print.c: "New" file.
94 * gdb.compile/compile-cplus-print.exp: "New" file.
95 * gdb.compile/compile-cplus-virtual.cc: New file.
96 * gdb.compile/compile-cplus-virtual.exp: New file.
97 * gdb.compile/compile-cplus.c: "New" file.
98 * gdb.compile/compile-cplus.exp: "New" file.
99 * lib/compile-support.exp: New file.
100
101 2018-08-16 Gary Benson <gbenson@redhat.com>
102
103 PR gdb/13000:
104 * gdb.base/batch-exit-status.exp: New file.
105 * gdb.base/batch-exit-status.good-commands: Likewise.
106 * gdb.base/batch-exit-status.bad-commands: Likewise.
107
108 2018-08-29 Alan Hayward <alan.hayward@arm.com>
109
110 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
111 (struct struct02): Likewise.
112 (struct struct03): Likewise.
113 (struct struct04): Likewise.
114 (struct struct_01_01): New struct.
115 (struct struct_01_02): Likewise.
116 (struct struct_01_03): Likewise.
117 (struct struct_01_04): Likewise.
118 (struct struct_02_01): Likewise.
119 (struct struct_02_02): Likewise.
120 (struct struct_02_03): Likewise.
121 (struct struct_02_04): Likewise.
122 (struct struct_04_01): Likewise.
123 (struct struct_04_02): Likewise.
124 (struct struct_04_03): Likewise.
125 (struct struct_04_04): Likewise.
126 (struct struct_05_01): Likewise.
127 (struct struct_05_02): Likewise.
128 (struct struct_05_03): Likewise.
129 (struct struct_05_04): Likewise.
130 (cmp_struct01): Remove function.
131 (cmp_struct02): Likewise.
132 (cmp_struct03): Likewise.
133 (cmp_struct04): Likewise.
134 (cmp_struct_01_01): Add Function.
135 (cmp_struct_01_02): Likewise.
136 (cmp_struct_01_03): Likewise.
137 (cmp_struct_01_04): Likewise.
138 (cmp_struct_02_01): Likewise.
139 (cmp_struct_02_02): Likewise.
140 (cmp_struct_02_03): Likewise.
141 (cmp_struct_02_04): Likewise.
142 (cmp_struct_04_01): Likewise.
143 (cmp_struct_04_02): Likewise.
144 (cmp_struct_04_03): Likewise.
145 (cmp_struct_04_04): Likewise.
146 (cmp_struct_05_01): Likewise.
147 (cmp_struct_05_02): Likewise.
148 (cmp_struct_05_03): Likewise.
149 (cmp_struct_05_04): Likewise.
150 (call_all): Add new structs.
151 * gdb.base/infcall-nested-structs.exp: Likewise.
152
153 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
154
155 * gdb.python/py-framefilter-mi.exp: Update regexp to
156 check for "arch" field in frame output.
157
158 2018-08-23 Kevin Buettner <kevinb@redhat.com>
159
160 * gdb.dwarf2/dw2-ranges-func.c: New file.
161 * gdb.dwarf2/dw2-ranges-func.exp: New file.
162
163 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
164
165 * gdb.base/term.exp: Compare terminal settings with values from
166 the inferior.
167 * gdb.base/term.c: Get and set terminal settings.
168
169 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
170
171 * lib/mi-support.exp (mi_expect_stop): Update regexp to
172 accommodate new "arch" field in frame output.
173 * gdb.mi/mi-return.exp: Likewise.
174 * gdb.mi/mi-stack.exp: Likewise.
175 * gdb.mi/mi-syn-frame.exp: Likewise.
176 * gdb.mi/user-selected-context-sync.exp: Likewise.
177
178 2018-08-19 Michael Spang <spang@google.com>
179
180 PR gdb/11786
181 * gdb.base/gcore-tls-pie.c: New file.
182 * gdb.base/gcore-tls-pie.exp: New file.
183
184 2018-08-18 Kevin Buettner <kevinb@redhat.com>
185
186 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
187 * gdb.dwarf2/varval.c: New file.
188 * gdb.dwarf2/varval.exp: New file.
189
190 2018-08-17 Alan Hayward <alan.hayward@arm.com>
191
192 PR gdb/18931
193 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
194
195 2018-08-16 Keith Seitz <keiths@redhat.com>
196
197 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
198 tests expected to pass.
199
200 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
201
202 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
203 -data-disassemble -a.
204 (test_disassembly_bogus_args): Likewise.
205
206 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
207
208 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
209
210 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
211
212 * gdb.base/vla-optimized-out.exp: Add new test.
213
214 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
215
216 * gdb.base/vla-optimized-out-o3.exp: Delete.
217 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
218 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
219 deleted tests.
220
221 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
222
223 PR gdb/18050:
224 * gdb.server/extended-remote-restart.c: New file.
225 * gdb.server/extended-remote-restart.exp: New file.
226
227 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
228
229 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
230 "set variable index = 42".
231
232 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
233
234 * boards/index-cache-gdb.exp: New file.
235 * gdb.dwarf2/index-cache.exp: New file.
236 * gdb.dwarf2/index-cache.c: New file.
237 * gdb.base/maint.exp: Check if we are using the index cache.
238
239 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
240
241 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
242 MAKEFLAGS.
243
244 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
245
246 * dg-extract-results.sh: Move to toplevel contrib.
247 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
248 * Makefile.in (check-parallel-racy): Likewise.
249
250 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
251
252 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
253 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
254 tests if the target supports scheduler locking.
255
256 2018-08-04 Tom de Vries <tdevries@suse.de>
257
258 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
259
260 2018-08-02 Tom Tromey <tom@tromey.com>
261
262 PR symtab/16842.
263 * gdb.cp/temargs.exp: Test "info address" of a template
264 parameter.
265
266 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
267
268 * gdb.python/py-mi-var-info-path-expression.c: New file.
269 * gdb.python/py-mi-var-info-path-expression.py: New file.
270 * gdb.python/py-mi-var-info-path-expression.exp: New file.
271
272 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
273
274 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
275 error after "cannot resolve name" string.
276
277 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
278
279 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
280 started.
281 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
282
283 2018-07-28 Tom de Vries <tdevries@suse.de>
284
285 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
286
287 2018-07-26 Tom de Vries <tdevries@suse.de>
288
289 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
290
291 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
292
293 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
294 is visible.
295
296 2018-07-26 Tom de Vries <tdevries@suse.de>
297
298 PR breakpoints/23366
299 * gdb.base/catch-follow-exec.c: New test.
300 * gdb.base/catch-follow-exec.exp: New file.
301
302 2018-07-25 Tom de Vries <tdevries@suse.de>
303
304 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
305 vla-optimized-out.c.
306
307 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
308
309 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
310 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
311
312 2018-07-20 Tom de Vries <tdevries@suse.de>
313
314 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
315 NOCLONE macro.
316 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
317
318 2018-07-19 Tom de Vries <tdevries@suse.de>
319
320 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
321 regular expression.
322
323 2018-07-18 Tom de Vries <tdevries@suse.de>
324
325 * gdb.base/vla-optimized-out.c: New test.
326 * gdb.base/vla-optimized-out.exp: New file.
327
328 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
329
330 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
331 message "No address associated with hostname" when gdbserver
332 cannot resolve the hostname.
333
334 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
335
336 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
337 Add some test prefixes to make tests unique.
338
339 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
340
341 * gdb.base/frameapply.c: New file.
342 * gdb.base/frameapply.exp: New file.
343
344 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
345
346 * gdb.base/skip.exp: Update expected error message.
347
348 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
349 Jan Kratochvil <jan.kratochvil@redhat.com>
350 Paul Fertser <fercerpav@gmail.com>
351 Tsutomu Seki <sekiriki@gmail.com>
352
353 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
354 parameter.
355 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
356 by default.
357 * boards/native-gdbserver.exp: Likewise.
358 * gdb.server/run-without-local-binary.exp: Improve regexp used
359 for detecting when a remote debugging connection succeeds.
360 * gdb.server/server-connect.exp: New file.
361 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
362 Do not prefix the port number with ":".
363 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
364 support for detecting and using it. Add '$debughost_gdbserver'
365 to the list of arguments used to start gdbserver. Handle case
366 when gdbserver cannot resolve a network name.
367
368 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
369
370 PR c++/23373
371 * gdb.base/ptype-offsets.cc (struct static_member): New
372 struct.
373 (main) <stmember>: New variable.
374 * gdb.base/ptype-offsets.exp: Add test for printing a struct
375 with a static member in it.
376
377 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
378
379 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
380 watchpoints enabled and disabled.
381
382 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
383
384 * gdb.base/examine-backward.exp: Still run tests around address
385 0x0, even if address 0x0 is not readable. Update the pattern for
386 matching address 0x0 in expected output.
387
388 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
389
390 * gdb.base/share-env-with-gdbserver.c (main): Add call to
391 malloc/free.
392
393 2018-07-04 Tom de Vries <tdevries@suse.de>
394
395 * gdb.dwarf2/dw2-error.exp: Update expected error message.
396
397 2018-07-02 Maciej W. Rozycki <macro@mips.com>
398
399 PR tdep/8282
400 * gdb.arch/mips-disassembler-options.exp: New test.
401 * gdb.arch/mips-disassembler-options.s: New test source.
402
403 2018-06-29 Pedro Alves <palves@redhat.com>
404
405 * gdb.threads/names.exp: Adjust expected "info threads" output.
406
407 2018-06-29 Pedro Alves <palves@redhat.com>
408
409 * gdb.opt/inline-break.exp (line number, address): Add "info
410 break" tests.
411
412 2018-06-29 Pedro Alves <palves@redhat.com>
413
414 * gdb.opt/inline-break.c (func1): Add "break here" marker.
415 * gdb.opt/inline-break.exp: Test setting breakpoints by line
416 number and address and running to them.
417
418 2018-06-29 Richard Bunt <richard.bunt@arm.com>
419
420 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
421
422 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
423
424 * lib/compiler.c: Remove executable permission flag.
425
426 2018-06-28 Richard Bunt <richard.bunt@arm.com>
427
428 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
429 code.
430 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
431
432 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
433
434 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
435
436 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
437
438 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
439 address argument is omitted.
440
441 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
442
443 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
444
445 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
446
447 PR gdb/21695
448 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
449 * gdb.base/infoline-reloc-main-from-zero.c: New file.
450
451 2018-06-26 Tom Tromey <tom@tromey.com>
452
453 PR rust/22574:
454 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
455 * gdb.rust/simple.rs (struct SimpleLayout): New.
456
457 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
458
459 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
460 "info registers" output.
461
462 2018-06-21 Richard Bunt <richard.bunt@arm.com>
463
464 * gdb.base/watchpoint-hw-attach.c: New test.
465 * gdb.base/watchpoint-hw-attach.exp: New file.
466
467 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
468
469 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
470 through /bin/sh.
471 * boards/dwarf4-gdb-index.exp: Likewise.
472 * boards/fission-dwp.exp: Likewise.
473
474 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
475
476 * gdb.base/float128.exp: Add comment and improved fail message
477 to the failure case of "print large128" test.
478
479 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
480
481 * configure.ac: Remove AC_PREREQ.
482 * configure: Re-generate.
483
484 2018-06-19 Pedro Alves <palves@redhat.com>
485
486 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
487 (func_extern_caller): New.
488 (main): Call func_extern_caller.
489 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
490 logic change.
491
492 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
493
494 PR gdb/16841
495 * gdb.cp/typedef-base.cc: New file.
496 * gdb.cp/typedef-base.exp: New file.
497
498 2018-06-18 Tom de Vries <tdevries@suse.de>
499
500 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
501
502 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
503 Richard Bunt <Richard.Bunt@arm.com>
504
505 * gdb.threads/attach-slow-waitpid.c: New file.
506 * gdb.threads/attach-slow-waitpid.exp: New file.
507 * gdb.threads/slow-waitpid.c: New file.
508
509 2018-06-14 Pedro Alves <palves@redhat.com>
510
511 * gdb.base/fork-running-state.c: Include <errno.h>.
512 (exit_if_relative_exits): New.
513 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
514 exits.
515 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
516 child exits.
517
518 2018-06-14 Tom de Vries <tdevries@suse.de>
519
520 PR cli/22573
521 * gdb.base/finish-pretty.c: New test.
522 * gdb.base/finish-pretty.exp: New file.
523
524 2018-06-14 Pedro Alves <palves@redhat.com>
525
526 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
527 gdb's expected startup output.
528
529 2018-06-14 Pedro Alves <palves@redhat.com>
530
531 * lib/selftest-support.exp (selftest_setup): Remove inlined
532 function handling.
533
534 2018-06-14 Tom de Vries <tdevries@suse.de>
535
536 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
537 matching of breakpoint printing.
538
539 2018-06-13 Tom de Vries <tdevries@suse.de>
540
541 PR testsuite/23269
542 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
543 (fork_child): ... here, and ...
544 (fork_parent): ... here.
545
546 2018-06-12 Tom de Vries <tdevries@suse.de>
547
548 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
549
550 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
551 Stephen Roberts <stephen.roberts@arm.com>
552
553 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
554 rewrite test to describe action performed, rather than possible
555 failure.
556
557 2018-06-08 Gary Benson <gbenson@redhat.com>
558
559 * gdb.threads/check-libthread-db.exp: New file.
560 * gdb.threads/check-libthread-db.c: Likewise.
561
562 2018-06-05 Tom Tromey <tom@tromey.com>
563
564 * gdb.base/default.exp: Update expected "show version" output.
565
566 2018-06-05 Tom Tromey <tom@tromey.com>
567
568 PR cli/12326:
569 * gdb.cp/static-print-quit.exp: Update.
570 * lib/gdb.exp (pagination_prompt): Update.
571 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
572 * gdb.python/python.exp: Update.
573
574 2018-06-04 Joel Brobecker <brobecker@adacore.com>
575
576 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
577
578 2018-06-01 Joel Brobecker <brobecker@adacore.com>
579
580 * gdb.ada/bp_fun_addr: New testcase.
581
582 2018-06-01 Tom Tromey <tom@tromey.com>
583
584 * gdb.xml/tdesc-regs.exp (load_description): Update expected
585 results.
586 * gdb.dwarf2/method-ptr.exp: Set language to C++.
587 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
588 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
589 * gdb.base/maint.exp (maint_pass_if): Update.
590
591 2018-05-31 Maciej W. Rozycki <macro@mips.com>
592
593 * gdb.base/endian.exp: New test.
594 * gdb.base/endian.c: New test source.
595
596 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
597
598 PR gdb/23203
599 * gdb.base/bt-selected-frame.c: New file.
600 * gdb.base/bt-selected-frame.exp: New file.
601 * lib/gdb.exp (get_current_frame_number): New function.
602
603 2018-05-24 Maciej W. Rozycki <macro@mips.com>
604 Pedro Alves <palves@redhat.com>
605
606 * gdb.threads/tls-core.c: Include <stdlib.h>
607 (thread_proc): Call `abort'.
608 * gdb.threads/tls-core.exp: Generate a core with core_find too.
609 (tls_core_test): New procedure, bits factored out from ...
610 (top level): ... here. Test both native cores and gcore cores.
611
612 2018-05-23 Tom Tromey <tom@tromey.com>
613
614 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
615
616 2018-05-23 Tom Tromey <tom@tromey.com>
617
618 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
619 symfile_complaints.
620 (test_short_complaints): Likewise.
621 (test_empty_complaints): Likewise.
622 (test_initial_complaints): Update.
623
624 2018-05-23 Tom Tromey <tom@tromey.com>
625
626 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
627
628 2018-05-23 Tom Tromey <tom@tromey.com>
629
630 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
631 (test_short_complaints): Update.
632
633 2018-05-22 Pedro Alves <palves@redhat.com>
634
635 * gdb.base/remote.exp: Only gdb_start after compiling the
636 testcase. Issue "disconnect" before testing "set remote" command
637 defaults. Issue clean_restart before running to main.
638
639 2018-05-22 Pedro Alves <palves@redhat.com>
640
641 * gdb.base/remote.exp: Adjust expected output of "show remote
642 memory-write-packet-size". Add tests for "set remote
643 memory-write-packet-size 0" and "set remote
644 memory-write-packet-size fixed/limit".
645
646 2018-05-22 Pedro Alves <palves@redhat.com>
647
648 PR gdb/22973
649 * gdb.base/utf8-identifiers.c: New file.
650 * gdb.base/utf8-identifiers.exp: New file.
651
652 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
653
654 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
655
656 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
657
658 * gdb.arch/powerpc-vsx-gcore.exp: New file.
659
660 2018-05-18 Tom Tromey <tom@tromey.com>
661
662 * gdb.base/ptype-offsets.exp: Update.
663
664 2018-05-17 Keith Seitz <keiths@redhat.com>
665
666 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
667 in expected breakpoint stop locations.
668 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
669 move to proper scope to test variable values.
670 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
671 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
672 New functions.
673 (main): Call not_inline_func3.
674 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
675 inline_func1, inline_func2, and inline_func3. Test that when each
676 breakpoint is hit, GDB properly reports both the stop location
677 and the backtrace. Repeat tests for temporary breakpoints.
678
679 2018-05-15 Maciej W. Rozycki <macro@mips.com>
680
681 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
682 rather then trying to access it in determining whether the PID
683 of `gdbserver' could have been retrieved.
684
685 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
686
687 * gdb.arch/amd64-init-x87-values.S: New file.
688 * gdb.arch/amd64-init-x87-values.exp: New file.
689
690 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
691
692 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
693
694 2018-05-04 Tom Tromey <tom@tromey.com>
695
696 PR python/22730:
697 * gdb.python/python.exp: Test multi-line execute.
698
699 2018-05-04 Tom Tromey <tom@tromey.com>
700
701 PR python/22731:
702 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
703
704 2018-05-04 Tom Tromey <tom@tromey.com>
705
706 PR gdb/11750:
707 * gdb.base/define.exp: Test defining a user command inside a user
708 command.
709 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
710
711 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
712 Pedro Alves <palves@redhat.com>
713
714 PR breakpoints/19806 and support for PR external/20207.
715 * gdb.base/watchpoint-unaligned.c: New file.
716 * gdb.base/watchpoint-unaligned.exp: New file.
717
718 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
719
720 * gdb.base/maint.exp: Make test names unique, use
721 test_prefix_command_help to test 'help maint info', and remove
722 repeated test of 'help maint'.
723
724 2018-05-04 Tom Tromey <tom@tromey.com>
725
726 PR gdb/22619:
727 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
728 behavior.
729
730 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
731
732 * gdb.base/maint.exp: Process output from 'maint print registers'
733 line at a time.
734
735 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
736
737 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
738 timeout.
739
740 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
741
742 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
743 filter pattern.
744
745 2018-05-02 Pedro Alves <palves@redhat.com>
746
747 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
748 to_log_command renames.
749 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
750
751 2018-05-02 Tom Tromey <tom@tromey.com>
752
753 * gdb.python/py-parameter.exp: Set test message.
754
755 2018-05-02 Tom Tromey <tom@tromey.com>
756
757 PR python/20084:
758 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
759 PARAM_ZUINTEGER_UNLIMITED tests.
760
761 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
762
763 PR rust/23124
764 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
765 when casting.
766
767 2018-04-30 Tom Tromey <tom@tromey.com>
768
769 * gdb.python/py-type.exp: Check align attribute.
770 * gdb.python/py-type.c: New "aligncheck" global.
771
772 2018-04-30 Tom Tromey <tom@tromey.com>
773
774 PR exp/17095:
775 * gdb.dwarf2/dw2-align.exp: New file.
776 * gdb.cp/align.exp: New file.
777 * gdb.base/align.exp: New file.
778 * lib/gdb.exp (gdb_int128_helper): New proc.
779 (has_int128_c, has_int128_cxx): New caching procs.
780
781 2018-04-27 Tom Tromey <tom@tromey.com>
782
783 PR rust/22545:
784 * gdb.rust/simple.exp: Add inclusive range tests.
785
786 2018-04-26 Pedro Alves <palves@redhat.com>
787
788 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
789 ifunc breakpoint locations correctly of ifunc breakpoints set
790 while the program resolves the ifunc.
791
792 2018-04-26 Pedro Alves <palves@redhat.com>
793
794 * gdb.base/gnu-ifunc-final.c: New file.
795 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
796 * gdb.base/gnu-ifunc.exp (executable): Delete.
797 (staticexecutable): Adjust.
798 (lib_opts, exec_opts): Delete.
799 (make_binsuffix, build, set-break): New procedures.
800 (misc_tests): New, with tests factored out from the top level.
801 (top level): Test different combinations of ifunc resolver name,
802 resolver with and with debug info, and ifunc target with and
803 without debug info. Wrap static tests with with_target_prefix.
804
805 2018-04-26 Pedro Alves <palves@redhat.com>
806
807 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
808 return type" warnings.
809
810 2018-04-25 Pedro Alves <palves@redhat.com>
811
812 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
813 killed".
814 * gdb.base/kill-after-signal.exp: Likewise.
815 * gdb.threads/kill.exp: Likewise.
816
817 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
818 Sergio Durigan Junior <sergiodj@redhat.com>
819 Pedro Alves <palves@redhat.com>
820
821 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
822 regexps to expect for '[Inferior ... detached]' as well.
823 * gdb.base/attach.exp: Likewise.
824 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
825 "gdb_continue_to_end".
826 (test_catch_syscall_with_wrong_args): Likewise.
827 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
828 ']'. Don't set 'verbose' on.
829 * gdb.base/foll-vfork.exp: Likewise.
830 * gdb.base/fork-print-inferior-events.c: New file.
831 * gdb.base/fork-print-inferior-events.exp: New file.
832 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
833 '[Inferior ... has been killed]' message.
834 * gdb.base/kill-after-signal.exp: Likewise.
835 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
836 detach message.
837 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
838 message.
839 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
840 regexps to expect for '[Inferior ... detached]' as well.
841 * gdb.threads/process-dies-while-detaching.exp: Likewise.
842
843 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
844
845 PR gdb/23104
846 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
847
848 2018-04-19 Richard Bunt <richard.bunt@arm.com>
849
850 * gdb.threads/multiple-successive-infcall.c: New test.
851 * gdb.threads/multiple-successive-infcall.exp: New file.
852
853 2018-04-17 Tom Tromey <tom@tromey.com>
854
855 * gdb.rust/simple.rs (Union): New type.
856 (main): New local "u".
857 * gdb.rust/simple.exp (test_one_slice): Add new test case.
858
859 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
860
861 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
862 number information in output of "whereis" command.
863 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
864
865 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
866
867 * gdb.ada/info_types.exp: Adjust expected output to the line
868 numbers now printed by "info var/func/type".
869 * gdb.base/completion.exp: Likewise.
870 * gdb.base/included.exp: Likewise.
871 * gdb.cp/cp-relocate.exp: Likewise.
872 * gdb.cp/cplusfuncs.exp: Likewise.
873 * gdb.cp/namespace.exp: Likewise.
874 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
875
876 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
877
878 * gdb.btrace/cpu.exp: New.
879
880 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
881
882 * gdb.base/step-indirect-call-thunk.exp: New.
883 * gdb.base/step-indirect-call-thunk.c: New.
884 * gdb.reverse/step-indirect-call-thunk.exp: New.
885 * gdb.reverse/step-indirect-call-thunk.c: New.
886
887 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
888
889 * gdb.base/pie-fork.c: New file.
890 * gdb.base/pie-fork.exp: New file.
891
892 2018-04-11 Tom Tromey <tom@tromey.com>
893
894 * gdb.rust/simple.exp: Add test for ".." struct initializer.
895
896 2018-04-10 Pedro Alves <palves@redhat.com>
897
898 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
899 exits. Instead loop running forever.
900 (fork_parent): Run forever too.
901
902 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
903
904 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
905 mi_continue_to_line.
906 * gdb.mi/mi-stack.c (callee4): Add comment.
907
908 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
909
910 * gdb.mi/mi-stack.exp: Fix indentation.
911
912 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
913
914 PR gdb/22979
915 * gdb.arch/amd64-osabi.exp: New file.
916
917 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
918
919 PR gdb/22980
920 * gdb.base/osabi.exp: New file.
921
922 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
923
924 * gdb.cp/static-typedef-print.exp: New file.
925 * gdb.cp/static-typedef-print.cc: New file.
926
927 2018-03-27 Joel Brobecker <brobecker@adacore.com>
928
929 * gdb.ada/varsize_limit: New testcase.
930
931 2018-03-27 Joel Brobecker <brobecker@adacore.com>
932
933 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
934
935 * gdb.ada/notcplusplus: New testcase.
936
937 * gdb.base/c-linkage-name.c: New file.
938 * gdb.base/c-linkage-name.exp: New testcase.
939
940 2018-03-26 Tom Tromey <tom@tromey.com>
941
942 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
943 * gdb.python/py-framefilter.py (name_error): New global.
944 (ErrorInName.function): Use name_error.
945
946 2018-03-26 Tom Tromey <tom@tromey.com>
947
948 PR backtrace/15582:
949 * gdb.python/py-framefilter.exp: Add "bt hide" test.
950
951 2018-03-23 Keith Seitz <keiths@redhat.com>
952
953 PR c++/22968
954 * gdb.cp/subtypes.exp: New file.
955 * gdb.cp/subtypes.h: New file.
956 * gdb.cp/subtypes.cc: New file.
957 * gdb.cp/subtypes-2.cc: New file.
958
959 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
960
961 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
962 (done): Call '_exit' not 'exit' to avoid atexit handlers.
963 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
964 -nostartfiles when compiling the test. Confirm that all registers
965 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
966
967 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
968
969 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
970 option, syntax was wrong anyway.
971 * gdb.arch/arm-disp-step.exp: Likewise.
972 * gdb.arch/sparc64-regs.exp: Likewise.
973 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
974 option, syntax was wrong anyway, switch to use
975 prepare_for_testing.
976 * gdb.arch/i386-disp-step.exp: Likewise.
977
978 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
979
980 * gdb.ada/exec_changed.exp: Replace "target_info exists
981 use_gdb_stub" by "use_gdb_stub".
982 * gdb.ada/start.exp: Likewise.
983 * gdb.base/async-shell.exp: Likewise.
984 * gdb.base/attach-pie-misread.exp: Likewise.
985 * gdb.base/attach-wait-input.exp: Likewise.
986 * gdb.base/break-entry.exp: Likewise.
987 * gdb.base/break-interp.exp: Likewise.
988 * gdb.base/dprintf-detach.exp: Likewise.
989 * gdb.base/nostdlib.exp: Likewise.
990 * gdb.base/solib-nodir.exp: Likewise.
991 * gdb.base/statistics.exp: Likewise.
992 * gdb.base/testenv.exp: Likewise.
993 * gdb.mi/mi-exec-run.exp: Likewise.
994 * gdb.mi/mi-start.exp: Likewise.
995 * gdb.multi/dummy-frame-restore.exp: Likewise.
996 * gdb.multi/multi-arch-exec.exp: Likewise.
997 * gdb.multi/multi-arch.exp: Likewise.
998 * gdb.multi/tids.exp: Likewise.
999 * gdb.multi/watchpoint-multi.exp: Likewise.
1000 * gdb.python/py-events.exp: Likewise.
1001 * gdb.threads/attach-into-signal.exp: Likewise.
1002 * gdb.threads/attach-stopped.exp: Likewise.
1003 * gdb.threads/threadapply.exp: Likewise.
1004 * lib/selftest-support.exp: Likewise.
1005
1006 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1007
1008 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1009
1010 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1011
1012 * gdb.perf/template-breakpoints.cc: New file.
1013 * gdb.perf/template-breakpoints.exp: New file.
1014 * gdb.perf/template-breakpoints.py: New file.
1015
1016 2018-03-19 Tom Tromey <tom@tromey.com>
1017
1018 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1019 y0.
1020 * gdb.rust/simple.exp: Test bare identifier form of struct
1021 initializer.
1022
1023 2018-03-19 Tom Tromey <tom@tromey.com>
1024
1025 * gdb.gdb/observer.exp: Remove.
1026
1027 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1028
1029 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1030 "qualified" option when setting breakpoints.
1031 * gdb.trace/backtrace.exp: Likewise.
1032 * gdb.trace/circ.exp: Likewise.
1033 * gdb.trace/collection.exp: Likewise.
1034 * gdb.trace/disconnected-tracing.exp: Likewise.
1035 * gdb.trace/ftrace-lock.exp: Likewise.
1036 * gdb.trace/ftrace.exp: Likewise.
1037 * gdb.trace/infotrace.exp: Likewise.
1038 * gdb.trace/packetlen.exp: Likewise.
1039 * gdb.trace/passc-dyn.exp: Likewise.
1040 * gdb.trace/qtro.exp: Likewise.
1041 * gdb.trace/read-memory.exp: Likewise.
1042 * gdb.trace/report.exp: Likewise.
1043 * gdb.trace/signal.exp: Likewise.
1044 * gdb.trace/status-stop.exp: Likewise.
1045 * gdb.trace/strace.exp: Likewise.
1046 * gdb.trace/tfind.exp: Likewise.
1047 * gdb.trace/trace-break.exp: Likewise.
1048 * gdb.trace/trace-condition.exp: Likewise.
1049 * gdb.trace/trace-mt.exp: Likewise.
1050 * gdb.trace/tstatus.exp: Likewise.
1051 * gdb.trace/tsv.exp: Likewise.
1052 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1053 * gdb.trace/unavailable.exp: Likewise.
1054 * gdb.trace/while-dyn.exp: Likewise.
1055
1056 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1057
1058 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1059 that libinproctrace is copied to the target.
1060
1061 2018-03-14 Tom Tromey <tom@tromey.com>
1062
1063 PR cli/14977:
1064 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1065 a null pointer.
1066 * gdb.base/wchar.exp: Likewise.
1067
1068 2018-03-14 Tom Tromey <tom@tromey.com>
1069
1070 PR cli/19918:
1071 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1072 flag.
1073
1074 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1075
1076 PR gdb/22841
1077 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1078 "target" to remote_exec.
1079
1080 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1081
1082 PR gdb/22841
1083 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1084 ${board}_upload): Remove.
1085
1086 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1087
1088 * gdb.cp/watch-cp.cc: New test.
1089 * gdb.cp/watch-cp.exp: New file.
1090
1091 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1092
1093 * gdb.base/infcall-nested-structs.exp: New file.
1094 * gdb.base/infcall-nested-structs.c: New file.
1095 * gdb.base/float.exp: Add riscv support.
1096
1097 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1098
1099 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1100 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1101
1102 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1103
1104 * gdb.server/abspath.exp: New file.
1105 * lib/gdb.exp (with_cwd): New procedure.
1106
1107 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1108
1109 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1110 use it.
1111 (gdb_is_target_remote_prompt): New proc.
1112 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1113 (gdb_is_target_native): Pass prompt parameter to
1114 gdb_is_target_1.
1115
1116 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1117
1118 * gdb.base/load-command.c: New file.
1119 * gdb.base/load-command.exp: New file.
1120 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1121 (gdb_is_target_1): ...this, and generalize for other targets
1122 than just remote.
1123 (gdb_is_target_remote): Use gdb_is_target_1.
1124 (gdb_is_target_native): use gdb_is_target_1.
1125
1126 2018-02-26 Tom Tromey <tom@tromey.com>
1127
1128 PR python/16497:
1129 * gdb.python/py-framefilter.exp: Update test.
1130
1131 2018-02-26 Tom Tromey <tom@tromey.com>
1132
1133 * gdb.dwarf2/variant.c: New file.
1134 * gdb.dwarf2/variant.exp: New file.
1135
1136 2018-02-26 Tom Tromey <tom@tromey.com>
1137
1138 * gdb.rust/simple.exp: Accept more possible results in enum test.
1139
1140 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1141
1142 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1143 parentheses.
1144
1145 2018-02-23 Maciej W. Rozycki <macro@mips.com>
1146
1147 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1148 name of a variable: $actual_linejj -> $actual_line.
1149
1150 2018-02-21 John Baldwin <jhb@FreeBSD.org>
1151
1152 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1153
1154 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1155
1156 * gdb.btrace/buffer-size.exp: Do not force BTS.
1157
1158 2018-02-14 Pedro Alves <palves@redhat.com>
1159
1160 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1161 getting a "Quit".
1162
1163 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1164
1165 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1166 Fix test name.
1167
1168 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1169
1170 * gdb.cp/m-static.exp: Check type of optimized out static
1171 member.
1172
1173 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1174
1175 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1176 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1177
1178 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1179 Leszek Swirski <leszeks@google.com>
1180
1181 * gdb.python/py-prettyprint.c
1182 (struct to_string_returns_value_inner,
1183 struct to_string_returns_value_wrapper): New.
1184 (main): Add tsrvw variable.
1185 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1186 ToStringReturnsValueWrapper): New classes.
1187 (register_pretty_printers): Register new pretty-printers.
1188 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1189 recursive pretty printer.
1190 * gdb.python/py-mi.exp: Likewise.
1191
1192 2018-02-01 Leszek Swirski <leszeks@google.com>
1193
1194 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1195 functions with the same name as an include file are parsed
1196 correctly.
1197
1198 2018-02-01 Yao Qi <yao.qi@linaro.org>
1199
1200 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1201 "\[^\r\n\]*".
1202
1203 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1204
1205 * gdb.arch/powerpc-prologue-frame.s: New file.
1206 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1207 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1208
1209 2018-01-31 Joel Brobecker <brobecker@adacore.com>
1210
1211 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1212
1213 2018-01-30 Pedro Alves <palves@redhat.com>
1214
1215 PR gdb/13211
1216 * gdb.base/interrupt-daemon.c: New.
1217 * gdb.base/interrupt-daemon.exp: New.
1218 * gdb.multi/multi-term-settings.c: New.
1219 * gdb.multi/multi-term-settings.exp: New.
1220
1221 2018-01-30 Joel Brobecker <brobecker@adacore.com>
1222
1223 * gdb.base/break.exp: Save the location where the breakpoint
1224 on break.c:47 was actually inserted when debugging the version
1225 compiled at -O2 and use it in the expected output of the "info
1226 break" test performed soon after.
1227
1228 2018-01-22 Pedro Alves <palves@redhat.com>
1229 Sergio Durigan Junior <sergiodj@redhat.com>
1230
1231 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1232 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1233
1234 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1235
1236 * gdb.base/break-include.c, gdb.base/break-include.inc,
1237 gdb.base/break-include.exp: New files.
1238 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1239 line number now being the actual line number where the breakpoint
1240 was inserted.
1241 * gdb.mi/mi-break.exp: Likewise.
1242 * gdb.mi/mi-reverse.exp: Likewise.
1243 * gdb.mi/mi-simplerun.exp: Ditto.
1244
1245 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1246
1247 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1248 varobj.
1249 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1250
1251 2018-01-21 Don Breazeal <donb@codesourcery.com>
1252 Andrew Burgess <andrew.burgess@embecosm.com>
1253
1254 * gdb.mi/basics.c: Add new global.
1255 * gdb.mi/mi-frame-regs.exp: New file.
1256 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1257 case.
1258
1259 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1260
1261 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1262 non-parameter, and on an unknown symbol.
1263
1264 2018-01-19 Tom Tromey <tom@tromey.com>
1265
1266 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1267 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1268
1269 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1270
1271 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1272 setrlimit and chdir to int.
1273
1274 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1275
1276 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1277 function.
1278 (my_tend): Likewise.
1279 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1280 rationale of avoiding FP- and vector instructions.
1281
1282 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1283
1284 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1285 "info reg" with "\[ \t\]*".
1286 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1287 "\[ \t\]+".
1288 * gdb.arch/s390-multiarch.exp: Ditto.
1289 * gdb.base/pc-fp.exp: Ditto.
1290 * gdb.reverse/i386-precsave.exp: Ditto.
1291 * gdb.reverse/i386-reverse.exp: Ditto.
1292 * gdb.reverse/i387-env-reverse.exp: Ditto.
1293 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1294
1295 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1296
1297 * lib/gdb.exp (gdb_compile): Re-enable use of
1298 universal_compile_options for languages other than Rust.
1299
1300 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1301
1302 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1303
1304 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1305
1306 PR gdb/16577
1307 * gdb.base/solib-vanish.exp: New.
1308 * gdb.base/solib-vanish-main.c: New.
1309 * gdb.base/solib-vanish-lib1.c: New.
1310 * gdb.base/solib-vanish-lib2.c: New.
1311
1312 2018-01-17 Yao Qi <yao.qi@linaro.org>
1313
1314 * gdb.compile/compile.exp: Match the address printed for
1315 frame in the output of command "bt".
1316
1317 2018-01-15 Tom Tromey <tom@tromey.com>
1318
1319 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1320 compute sp_reg.
1321
1322 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1323
1324 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1325 to prepare.
1326 (prepare): Return 0 on error, 1 on success.
1327
1328 2018-01-12 Pedro Alves <palves@redhat.com>
1329
1330 * gdb.base/continue-after-aborted-step-over.c: New.
1331 * gdb.base/continue-after-aborted-step-over.exp: New.
1332
1333 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1334
1335 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1336 options when not creating an executable.
1337
1338 2018-01-11 Pedro Alves <palves@redhat.com>
1339
1340 PR remote/22597
1341 * gdb.server/stop-reply-no-thread.c: New file.
1342 * gdb.server/stop-reply-no-thread.exp: New file.
1343
1344 2018-01-10 Pedro Alves <palves@redhat.com>
1345
1346 PR gdb/22670
1347 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1348 functions too. Test setting breakpoints and printing C functions
1349 with no debug info too.
1350 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1351
1352 2018-01-10 Pedro Alves <palves@redhat.com>
1353
1354 PR gdb/22670
1355 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1356 a fail.
1357
1358 2018-01-10 Pedro Alves <palves@redhat.com>
1359
1360 PR gdb/22670
1361 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1362
1363 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1364
1365 * gdb.server/unittest.exp: Match the output in non-development
1366 mode.
1367
1368 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1369
1370 * gdb.gdb/unittest.exp: Match output in non-development mode.
1371
1372 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1373
1374 * gdb.ada/access_tagged_param.exp: Relax expected output
1375 for value of "ObjL" in "continue" to pck.inspect breakpoint
1376 test.
1377
1378 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1379
1380 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1381 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1382
1383 2018-01-05 Pedro Alves <palves@redhat.com>
1384
1385 PR gdb/18653
1386 * gdb.base/libsegfault.exp: New.
1387
1388 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1389
1390 PR gdb/22670
1391 * gdb.ada/access_tagged_param.exp: New file.
1392 * gdb.ada/access_tagged_param/foo.adb: New file.
1393
1394 2018-01-05 Pedro Alves <palves@redhat.com>
1395
1396 PR gdb/22670
1397 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1398 exercise lower case too, and to exercise both full matching and
1399 wild matching.
1400
1401 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1402
1403 * gdb.ada/rename_subscript_param: New testcase.
1404
1405 2018-01-05 Jerome Guitton <guitton@adacore.com>
1406
1407 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1408
1409 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1410
1411 * gdb.ada/convvar_comp: New testcase.
1412
1413 2018-01-05 Xavier Roirand <roirand@adacore.com>
1414
1415 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1416 (My_Table): New global variable.
1417 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1418
1419 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1420
1421 PR gdb/22670
1422 * gdb.ada/maint_with_ada: New testcase.
1423
1424 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1425
1426 PR gdb/22670
1427 * gdb.ada/bp_c_mixed_case: New testcase.
1428
1429 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1430
1431 PR gdb/22670
1432 * gdb.ada/complete.exp: Add "complete break ada" test.
1433
1434 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1435
1436 PR gdb/22670
1437 * gdb.ada/info_addr_mixed_case: New testcase.
1438
1439 2018-01-03 Xavier Roirand <roirand@adacore.com>
1440
1441 * gdb.ada/excep_handle.exp: New testcase.
1442 * gdb.ada/excep_handle/foo.adb: New file.
1443 * gdb.ada/excep_handle/pck.ads: New file.
1444
1445 2018-01-03 Joel Brobecker <brobecker@adacore.com>
1446
1447 * gdb.base/step-line.c: Add extra empty line in copyright header.
1448 * gdb.base/step-line.inp: Likewise.
1449
1450 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1451
1452 * gdb.ada/dyn_stride.exp: Add slice test.
1453
1454 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1455
1456 * gdb.ada/dyn_stride: New testcase.
1457
1458 2017-12-27 Stafford Horne <shorne@gmail.com>
1459
1460 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1461 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1462
1463 2017-12-27 Stafford Horne <shorne@gmail.com>
1464
1465 * gdb.base/reggroups.c: New file.
1466 * gdb.base/reggroups.exp: New file.
1467
1468 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1469
1470 * gdb.dwarf2/ada-valprint-error.c: New file.
1471 * gdb.dwarf2/ada-valprint-error.exp: New file.
1472
1473 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1474
1475 * gdb.ada/assign_arr: New testcase.
1476
1477 2017-12-18 Xavier Roirand <roirand@adacore.com>
1478
1479 * gdb.ada/funcall_ptr: New testcase.
1480
1481 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1482
1483 PR cli/16224
1484 * gdb.base/ptype-offsets.cc: New file.
1485 * gdb.base/ptype-offsets.exp: New file.
1486
1487 2017-12-15 Yao Qi <yao.qi@linaro.org>
1488
1489 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1490 if XML is disabled.
1491
1492 2017-12-15 Xavier Roirand <roirand@adacore.com>
1493
1494 * gdb.ada/same_component_name: New testcase.
1495
1496 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1497
1498 * gdb.ada/str_binop_equal: New testcase.
1499
1500 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1501
1502 * gdb.ada/task_switch_in_core: New testcase.
1503
1504 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
1505
1506 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1507 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1508 call test_bkpt_qualified.
1509 (test_bkpt_qualified): New proc.
1510
1511 2017-12-13 Pedro Alves <palves@redhat.com>
1512
1513 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1514 Tighten regexp by matching with an anchor.
1515
1516 2017-12-13 Pedro Alves <palves@redhat.com>
1517
1518 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1519 ("expression with namespace"): New set of tests.
1520 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1521 (Nested::Test_NS::qux): New.
1522 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1523 defaults to 'start_quote_char' and 'end_quote_char' parameters.
1524
1525 2017-12-13 Joel Brobecker <brobecker@adacore.com>
1526
1527 * gdb.base/server-del-break.c: New file.
1528 * gdb.base/server-del-break.exp: New file.
1529
1530 2017-12-12 Stafford Horne <shorne@gmail.com>
1531
1532 * gdb.xml/tdesc-regs.exp: Add or1k support.
1533
1534 2017-12-12 Stafford Horne <shorne@gmail.com>
1535
1536 * gdb.base/bp-permanent.c: Define nop of or1k.
1537
1538 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1539
1540 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1541 output with components being reordered.
1542
1543 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1544
1545 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1546 output with components being reordered.
1547
1548 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1549 Pedro Alves <palves@redhat.com>
1550
1551 * gdb.base/maint.exp (check for .gdb_index): Check also for
1552 .debug_names.
1553 * gdb.dlang/watch-loc.c (.debug_aranges): New.
1554 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1555 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1556 (.gdb_index used after symbol reloading): Support also .debug_names.
1557 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
1558
1559 2017-12-08 Yao Qi <yao.qi@linaro.org>
1560
1561 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1562 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
1563
1564 2017-12-08 Yao Qi <yao.qi@linaro.org>
1565
1566 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1567 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1568
1569 2017-12-08 Yao Qi <yao.qi@linaro.org>
1570
1571 * gdb.arch/aarch64-tagged-pointer.c: New file.
1572 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1573
1574 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1575
1576 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1577 "int".
1578
1579 2017-12-07 Keith Seitz <keiths@redhat.com>
1580
1581 PR breakpoints/22569
1582 * gdb.linespec/ls-errs.exp: Change expected result of "break
1583 -source this file has spaces.c -line 3".
1584 Check that an explicit source file followed by whitespace is
1585 identified as an invalid explicit location.
1586
1587 2017-12-07 Keith Seitz <keiths@redhat.com>
1588
1589 * gdb.cp/nested-types.cc: New file.
1590 * gdb.cp/nested-types.exp: New file.
1591 * lib/cp-support.exp: Load data-structures.exp library.
1592 (debug_cp_test_ptype_class): New global.
1593 (cp_ptype_class_verbose, next_line): New procedures.
1594 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1595 Add and document new return value.
1596 Switch the list of lines to a queue.
1597 Add support for new `type' key for nested type definitions.
1598 Add debugging/troubleshooting messages.
1599 * lib/data-structures.exp: New file.
1600
1601 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1602
1603 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1604 with proc_with_prefix, don't use with_test_prefix.
1605
1606 2017-12-07 Tom Tromey <tom@tromey.com>
1607
1608 * gdb.base/break.exp: Add test for empty "commands".
1609
1610 2017-12-07 Yao Qi <yao.qi@linaro.org>
1611
1612 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1613 malloc and catch syscall.
1614
1615 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1616
1617 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1618 tests for explicit locations.
1619
1620 2017-12-06 Pedro Alves <palves@redhat.com>
1621
1622 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1623 force-disabling XML descriptions.
1624
1625 2017-12-04 Pedro Alves <palves@redhat.com>
1626
1627 PR gdb/22499
1628 * gdb.arch/amd64-disp-step-avx.S: New file.
1629 * gdb.arch/amd64-disp-step-avx.exp: New file.
1630
1631 2017-12-03 Pedro Alves <palves@redhat.com>
1632
1633 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1634 and <string.h>.
1635 (parent_function): Print distinct messages when waitpid fails, or
1636 the child exits with a signal, or the child exits for an unhandled
1637 reason.
1638 * gdb.threads/process-dies-while-detaching.exp
1639 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1640 it. Wait for both inferior output and GDB's prompt. Use an
1641 indirect spawn id list.
1642 (do_detach): New parameter 'child_exit'. Use it to compute
1643 expected inferior output.
1644 (test_detach, test_detach_watch, test_detach_killed_outside):
1645 Adjust to pass down the expected child exit kind.
1646
1647 2017-12-01 Joel Brobecker <brobecker@adacore.com>
1648 Sergio Durigan Junior <sergiodj@redhat.com>
1649 Pedro Alves <palves@redhat.com>
1650
1651 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1652
1653 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1654
1655 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1656 to 'symbol-file' and 'add-symbol-file' can be
1657 position-independent.
1658
1659 2017-12-01 Yao Qi <yao.qi@linaro.org>
1660
1661 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1662 the URL in copyright header.
1663 * gdb.arch/aarch64-fp.exp: Likewise.
1664 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1665 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1666 * gdb.base/expand-psymtabs.exp: Likewise.
1667 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1668 * gdb.fortran/common-block.exp: Likewise.
1669 * gdb.fortran/common-block.f90: Likewise.
1670 * gdb.fortran/logical.exp: Likewise.
1671 * gdb.fortran/vla-datatypes.f90: Likewise.
1672 * gdb.fortran/vla-sub.f90: Likewise.
1673
1674 2017-11-30 Joel Brobecker <brobecker@adacore.com>
1675
1676 * gdb.ada/repeat_dyn: New testcase.
1677
1678 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1679
1680 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1681 Update for changed thread numbering.
1682 * gdb.cell/bt.exp: Update for changed GDB output.
1683
1684 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1685
1686 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1687 setting isremote by hand.
1688 * boards/dwarf4-gdb-index.exp: Likewise.
1689 * boards/fission.exp: Likewise.
1690 * boards/stabs.exp: Likewise.
1691
1692 2017-11-30 Pedro Alves <palves@redhat.com>
1693
1694 * gdb.linespec/cpls-ops.exp
1695 (check_explicit_skips_function_argument): Extract the underlying
1696 type of size_t instead of hardcoding it.
1697
1698 2017-11-29 Pedro Alves <palves@redhat.com>
1699
1700 PR c++/19436
1701 * gdb.linespec/cpls-abi-tag.cc: New file.
1702 * gdb.linespec/cpls-abi-tag.exp: New file.
1703
1704 2017-11-29 Pedro Alves <palves@redhat.com>
1705
1706 * gdb.base/langs.exp: Use -qualified.
1707 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1708 it.
1709 * gdb.cp/namespace.exp: Use -qualified.
1710 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1711 (overload-3, template-overload, template-ret-type, const-overload)
1712 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1713 procedures.
1714 (test_driver): Call them.
1715 * gdb.cp/save-bp-qualified.cc: New.
1716 * gdb.cp/save-bp-qualified.exp: New.
1717 * gdb.linespec/explicit.exp: Test -qualified.
1718 * lib/completion-support.exp (completion::explicit_opts_list): Add
1719 "-qualified".
1720 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1721
1722 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1723
1724 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1725
1726 2017-11-29 Tom Tromey <tom@tromey.com>
1727
1728 * gdb.base/relocate.exp: Update invalid argument test.
1729 Add new tests for invalid arguments.
1730
1731 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1732
1733 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1734 Return 0 as a long.
1735 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1736
1737 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1738
1739 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1740 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1741 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1742 func ().
1743 * gdb.cp/shadow.cc (B.func): Return 0.
1744
1745 2017-11-27 Joel Brobecker <brobecker@adacore.com>
1746
1747 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1748 expected output in gdb_expect call to allow the exception
1749 message to be present as well. Fix syntax confusion to avoid
1750 TCL thinking that exception_name is an array.
1751
1752 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1753
1754 * gdb.arch/spu-info.c: Include <unistd.h>.
1755 (do_signal_test): Fix broken calls to write.
1756 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1757 Fix checks for empty mailboxes. Update signal tests for corrected
1758 do_signal_test routine. Allow nonzero event status.
1759 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1760 * gdb.cell/arch.exp: Use standard_output_file.
1761 * gdb.cell/break.exp: Likewise.
1762 * gdb.cell/bt.exp: Likewise.
1763 * gdb.cell/core.exp: Likewise.
1764 * gdb.cell/dwarfaddr.exp: Likewise.
1765 * gdb.cell/ea-cache.exp: Likewise.
1766 * gdb.cell/ea-standalone.exp: Likewise.
1767 * gdb.cell/f-regs.exp: Likewise.
1768 * gdb.cell/fork.exp: Likewise.
1769 * gdb.cell/gcore.exp: Likewise.
1770 * gdb.cell/mem-access.exp: Likewise.
1771 * gdb.cell/ptype.exp: Likewise.
1772 * gdb.cell/registers.exp: Likewise.
1773 * gdb.cell/sizeof.exp: Likewise.
1774 * gdb.cell/solib-symbol.exp: Likewise.
1775 * gdb.cell/solib.exp: Likewise.
1776
1777 2017-11-25 Pedro Alves <palves@redhat.com>
1778
1779 * gdb.base/complete-empty.exp: New file.
1780 * gdb.base/completion.exp: Adjust.
1781
1782 2017-11-25 Pedro Alves <palves@redhat.com>
1783
1784 * gdb.linespec/cpls-ops.cc: New file.
1785 * gdb.linespec/cpls-ops.exp: New file.
1786 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1787 factored out from ...
1788 (test_complete_prefix_range): ... this.
1789
1790 2017-11-24 Pedro Alves <palves@redhat.com>
1791
1792 * gdb.linespec/cpcompletion.exp: New file.
1793 * gdb.linespec/cpls-hyphen.cc: New file.
1794 * gdb.linespec/cpls.cc: New file.
1795 * gdb.linespec/cpls2.cc: New file.
1796 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1797 test to use test_gdb_complete_unique. Add label completion,
1798 keyword completion and explicit location completion tests.
1799 * lib/completion-support.exp: New file.
1800
1801 2017-11-24 Joel Brobecker <brobecker@adacore.com>
1802
1803 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1804 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1805 when hitting an exception catchpoint.
1806
1807 2017-11-22 Yao Qi <yao.qi@linaro.org>
1808
1809 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1810
1811 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1812
1813 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1814 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1815 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1816
1817 2017-11-22 Yao Qi <yao.qi@linaro.org>
1818
1819 * gdb.base/info-os.exp: Pass pthreads.
1820 * gdb.multi/multi-attach.exp: Likewise.
1821
1822 2017-11-22 Yao Qi <yao.qi@linaro.org>
1823
1824 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1825 compiler.
1826
1827 2017-11-22 Yao Qi <yao.qi@linaro.org>
1828
1829 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1830 * gdb.base/break-interp.exp: Likewise.
1831 * gdb.base/jit-attach-pie.exp: Likewise.
1832
1833 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1834
1835 * gdb.base/float128.c (large128): New variable.
1836 * gdb.base/float128.exp: Add test to print largest __float128 value.
1837
1838 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1839
1840 * gdb.arch/vsx-regs.exp: Update register content checks.
1841
1842 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1843
1844 * gdb.arch/ppc-longdouble.exp: New file.
1845 * gdb.arch/ppc-longdouble.c: Likewise.
1846
1847 2017-11-21 Pedro Alves <palves@redhat.com>
1848
1849 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
1850
1851 2017-11-20 Pedro Alves <palves@redhat.com>
1852
1853 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
1854 (long_double_typedef): New typedefs.
1855 Use DEF on double and long double.
1856 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
1857 cases.
1858 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
1859 and 'long_double_ptr_same_size' locals. Use them to decide
1860 whether cast from array/function to float is valid/invalid.
1861
1862 2017-11-17 Tom Tromey <tom@tromey.com>
1863
1864 * gdb.rust/traits.rs: New file.
1865 * gdb.rust/traits.exp: New file.
1866
1867 2017-11-17 Joel Brobecker <brobecker@adacore.com>
1868
1869 * gdb.ada/minsyms: New testcase.
1870
1871 2017-11-16 Pedro Alves <palves@redhat.com>
1872
1873 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
1874 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
1875
1876 2017-11-16 Pedro Alves <palves@redhat.com>
1877
1878 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
1879 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
1880
1881 2017-11-16 Pedro Alves <palves@redhat.com>
1882
1883 * gdb.server/reconnect-ctrl-c.c: New file.
1884 * gdb.server/reconnect-ctrl-c.exp: New file.
1885
1886 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
1887
1888 * gdb.python/py-rbreak.exp: New file.
1889 * gdb.python/py-rbreak.c: New file.
1890 * gdb.python/py-rbreak-func2.c: New file.
1891
1892 2017-11-16 Pedro Alves <palves@redhat.com>
1893
1894 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
1895 pattern.
1896 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
1897 GDB.
1898
1899 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
1900
1901 * gdb.tui/completionn.exp (test_tab_completion): Add space in
1902 regex.
1903
1904 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
1905
1906 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
1907 test names.
1908
1909 2017-11-09 Pedro Alves <palves@redhat.com>
1910
1911 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
1912 factored out from ...
1913 (top level): ... here, and adjusted to avoid expecting beyond the
1914 prompt in a single gdb_test_multiple.
1915
1916 2017-11-09 Pedro Alves <palves@redhat.com>
1917
1918 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
1919 output.
1920 * gdb.server/ext-attach.exp ("kill" test): Likewise.
1921 * gdb.server/ext-restart.exp ("kill" test): Likewise.
1922 * gdb.server/ext-run.exp ("kill" test): Likewise.
1923 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
1924
1925 2017-11-09 Pedro Alves <palves@redhat.com>
1926
1927 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
1928 match till end of line.
1929
1930 2017-11-09 Pedro Alves <palves@redhat.com>
1931
1932 * gdb.base/memattr.exp: Tighten regexes to match the end line.
1933
1934 2017-11-09 Pedro Alves <palves@redhat.com>
1935
1936 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
1937 New procedures, factored out from ...
1938 (top level): ... here, and adjusted to avoid expecting beyond the
1939 prompt in one go.
1940
1941 2017-11-09 Pedro Alves <palves@redhat.com>
1942
1943 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
1944 output. Fix '?' match.
1945
1946 2017-11-08 Joel Brobecker <brobecker@adacore.com>
1947
1948 * gdb.ada/scoped_watch: New testcase.
1949 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
1950 which is actually correct.
1951 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
1952 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
1953
1954 2017-11-08 Pedro Alves <palves@redhat.com>
1955
1956 * gdb.gdb/complaints.exp (test_initial_complaints)
1957 (test_serial_complaints, test_short_complaints): Call
1958 complaint_internal instead of complaint.
1959
1960 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
1961
1962 * gdb.threads/tls-core.c: New file.
1963 * gdb.threads/tls-core.exp: Likewise.
1964
1965 2017-11-08 Pedro Alves <palves@redhat.com>
1966
1967 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
1968 (p Exported_Capitalized): New test.
1969 (p exported_capitalized): New test.
1970
1971 2017-11-07 Pedro Alves <palves@redhat.com>
1972
1973 * gdb.cp/ena-dis-br-range.exp: Add more tests.
1974
1975 2017-11-07 Pedro Alves <palves@redhat.com>
1976
1977 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
1978 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
1979 (disable_invalid, disable_inverted, disable_negative): New
1980 procedures.
1981 ("bad numbers"): New set of tests.
1982
1983 2017-11-07 Pedro Alves <palves@redhat.com>
1984
1985 * gdb.cp/ena-dis-br-range.exp: Add tests.
1986
1987 2017-11-07 Pedro Alves <palves@redhat.com>
1988
1989 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
1990
1991 2017-11-07 Xavier Roirand <roirand@adacore.com>
1992 Pedro Alves <palves@redhat.com>
1993
1994 * gdb.base/ena-dis-br.exp: Add reference to
1995 gdb.cp/ena-dis-br-range.exp.
1996 * gdb.cp/ena-dis-br-range.exp: New file.
1997 * gdb.cp/ena-dis-br-range.cc: New file.
1998
1999 2017-11-06 Pedro Alves <palves@redhat.com>
2000
2001 * gdb.base/attach-non-pgrp-leader.c: New.
2002 * gdb.base/attach-non-pgrp-leader.exp: New.
2003
2004 2017-11-06 Pedro Alves <palves@redhat.com>
2005
2006 * configure.ac: No longer check for termio.h and sgtty.h.
2007 * configure: Regenerate.
2008 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2009 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2010 Remove termio and sgtty code.
2011
2012 2017-11-03 Yao Qi <yao.qi@linaro.org>
2013
2014 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2015 in GDB is disabled.
2016
2017 2017-11-03 Yao Qi <yao.qi@linaro.org>
2018
2019 * gdb.python/py-thrhandle.exp: Skip it if python is not
2020 enabled.
2021
2022 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2023
2024 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2025 as a breakpoint command.
2026
2027 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2028
2029 PR python/21213
2030 * gdb.python/py-infthread.exp: Test calling
2031 InferiorThread.inferior () multiple times in a row.
2032
2033 2017-10-27 Keith Seitz <keiths@redhat.com>
2034
2035 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2036 Test "info break" for every inlined function breakpoint.
2037
2038 2017-10-27 Yao Qi <yao.qi@linaro.org>
2039
2040 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2041
2042 2017-10-26 Patrick Frants <osscontribute@gmail.com>
2043
2044 * gdb.cp/classes.exp (test_static_members): Test printing
2045 Outer::instance.
2046 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2047 (Inner::instance, Outer::instance): New.
2048
2049 2017-10-24 Pedro Alves <palves@redhat.com>
2050
2051 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2052 extra console" test in two stages.
2053
2054 2017-10-24 Pedro Alves <palves@redhat.com>
2055
2056 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2057
2058 2017-10-24 Pedro Alves <palves@redhat.com>
2059
2060 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2061 loop.
2062
2063 2017-10-24 Pedro Alves <palves@redhat.com>
2064
2065 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2066 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2067
2068 2017-10-24 Pedro Alves <palves@redhat.com>
2069
2070 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2071 parameter and handle it. Don't output read value in test name.
2072
2073 2017-10-24 Pedro Alves <palves@redhat.com>
2074
2075 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2076 custom test name.
2077
2078 2017-10-24 Pedro Alves <palves@redhat.com>
2079
2080 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2081 include the unstable output directory name in the test's name.
2082 (initial_setup_simple) <'set args'>: Use custom test name.
2083
2084 2017-10-24 Pedro Alves <palves@redhat.com>
2085
2086 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2087 with explicit test name.
2088
2089 2017-10-20 Pedro Alves <palves@redhat.com>
2090
2091 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2092 'wait -i'. Use gdb_assert and remote_close.
2093
2094 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2095
2096 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2097 number from variable rather than hard-coded.
2098
2099 2017-10-19 Pedro Alves <palves@redhat.com>
2100
2101 * gdb.base/long-inferior-output.c: New file.
2102 * gdb.base/long-inferior-output.exp: New file.
2103
2104 2017-11-18 Keith Seitz <keiths@redhat.com>
2105
2106 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2107 method.
2108 (main): Call it.
2109 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2110 Add additional user-defined conversion operator tests.
2111
2112 2017-10-17 Pedro Alves <palves@redhat.com>
2113
2114 * boards/native-stdio-gdbserver.exp: Load "local-board".
2115
2116 2017-10-17 Pedro Alves <palves@redhat.com>
2117
2118 * gdb.base/quit-live.c: New file.
2119 * gdb.base/quit-live.exp: New file.
2120
2121 2017-10-16 Keith Seitz <keiths@redhat.com>
2122
2123 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2124 (class_with_protected_typedef, class_with_private_typedef)
2125 (struct_with_public_typedef, struct_with_protected_typedef)
2126 (struct_with_private_typedef): New classes/structs.
2127 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2128 typedefs and access specifiers.
2129
2130 2017-10-16 Pedro Alves <palves@redhat.com>
2131 Simon Marchi <simon.marchi@polymtl.ca>
2132
2133 * README (Local vs Remote vs Native): New section.
2134 * boards/local-board.exp: New file, with bits factored out from
2135 ...
2136 * boards/native-extended-gdbserver.exp: ... here. Load
2137 "local-board".
2138 * boards/native-gdbserver.exp: Load "local-board".
2139 (${board}_spawn, ${board}_exec): Delete.
2140 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2141 ...
2142 * boards/stdio-gdbserver-base.exp: ... this new file.
2143 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2144 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2145 procedure.
2146 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2147 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2148 stdio_gdbserver_command.
2149 (${board}_get_remote_address, ${board}_get_comm_port)
2150 (${board}_download, ${board}_upload): Delete.
2151 (get_target_remote_pipe_cmd): New.
2152
2153 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2154
2155 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2156 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2157 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2158 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2159 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2160 remove with_test_prefix.
2161
2162 2017-10-13 Pedro Alves <palves@redhat.com>
2163
2164 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2165 * gdb.base/annota1.exp: Use it instead of is_remote.
2166 * gdb.base/annota3.exp: Use it instead of is_remote.
2167 * gdb.cp/annota2.exp: Use it instead of is_remote.
2168 * gdb.cp/annota3.exp: Use it instead of is_remote.
2169 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2170
2171 2017-10-13 Pedro Alves <palves@redhat.com>
2172
2173 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2174 (test_num_test_vars, run_and_count_vars, find_env)
2175 (test_set_unset_env, test_inherit_env_var): New procedures.
2176 (top level): Use them.
2177
2178 2017-10-13 Pedro Alves <palves@redhat.com>
2179
2180 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2181 also skip on stub-like targets.
2182
2183 2017-10-13 Pedro Alves <palves@redhat.com>
2184
2185 PR gdb/22293
2186 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2187 (top level): Move some tests to ...
2188 (test_not_found): ... this new procedure.
2189 (top level): Call it.
2190
2191 2017-10-13 Pedro Alves <palves@redhat.com>
2192
2193 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2194 expect different "info terminal" output if testing with a
2195 non-native target.
2196
2197 2017-10-13 Pedro Alves <palves@redhat.com>
2198 Simon Marchi <simon.marchi@polymtl.ca>
2199
2200 PR python/12966
2201 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2202
2203 2017-10-13 Pedro Alves <palves@redhat.com>
2204
2205 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2206 already.
2207
2208 2017-10-13 Pedro Alves <palves@redhat.com>
2209
2210 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2211 is_remote.
2212
2213 2017-10-13 Pedro Alves <palves@redhat.com>
2214
2215 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2216 is_remote.
2217
2218 2017-10-13 Pedro Alves <palves@redhat.com>
2219
2220 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2221 is set.
2222 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2223 instead of is_remote.
2224
2225 2017-10-13 Pedro Alves <palves@redhat.com>
2226
2227 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2228 (top level): Add comment.
2229
2230 2017-10-13 Pedro Alves <palves@redhat.com>
2231
2232 * gdb.base/remote.exp (top level): Fix comment typo and add
2233 missing return.
2234
2235 2017-10-13 Pedro Alves <palves@redhat.com>
2236 Simon Marchi <simon.marchi@polymtl.ca>
2237
2238 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2239 calls and add comments. Skip test if use_gdb_stub is set.
2240 (top level): Use "set cwd" command instead of "cd" command.
2241
2242 2017-10-13 Pedro Alves <palves@redhat.com>
2243
2244 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2245 is_remote target check.
2246
2247 2017-10-13 Pedro Alves <palves@redhat.com>
2248
2249 * gdb.base/scope.exp: Use build_executable + clean_restart +
2250 gdb_file_cmd instead of prepare_for_testing and no longer skip
2251 "before run" tests on is_remote target boards. Update comments.
2252 * boards/native-extended-gdbserver.exp
2253 (extended_gdbserver_load_last_file): New, factored out from ...
2254 (gdb_load): ... this. Move further below and add comment.
2255 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2256
2257 2017-10-12 Pedro Alves <palves@redhat.com>
2258
2259 * gdb.base/attach.exp: Remove references to gdb64.
2260 * gdb.base/dbx.exp: Remove references to gdb64.
2261
2262 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2263 Pedro Alves <palves@redhat.com>
2264
2265 * gdb.base/label.exp: Remove is_remote target check.
2266
2267 2017-10-12 Pedro Alves <palves@redhat.com>
2268
2269 * gdb.base/auvx.exp (coredir): Update comment.
2270 (top level) <core_works>: Use "set cwd" command instead of "cd"
2271 command.
2272
2273 2017-10-12 Pedro Alves <palves@redhat.com>
2274 Simon Marchi <simon.marchi@polymtl.ca>
2275
2276 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2277 target boards.
2278
2279 2017-10-12 Pedro Alves <palves@redhat.com>
2280 Simon Marchi <simon.marchi@polymtl.ca>
2281
2282 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2283 Instead skip if there's any gdb_protocol set.
2284
2285 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2286 Pedro Alves <palves@redhat.com>
2287
2288 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2289
2290 2017-10-12 Pedro Alves <palves@redhat.com>
2291 Simon Marchi <simon.marchi@polymtl.ca>
2292
2293 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2294 instead of on dejagnu remote boards.
2295
2296 2017-10-12 Pedro Alves <palves@redhat.com>
2297 Simon Marchi <simon.marchi@polymtl.ca>
2298
2299 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2300 checks. Use build_executable + clean_restart instead of
2301 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2302 of enabling non-stop after starting gdb.
2303
2304 2017-10-12 Pedro Alves <palves@redhat.com>
2305
2306 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2307 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2308 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2309 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2310
2311 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2312
2313 * gdb.arch/arc-tdesc-cpu.exp: New file.
2314 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2315
2316 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2317
2318 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2319
2320 2017-10-10 Pedro Alves <palves@redhat.com>
2321
2322 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2323 expect CLI output.
2324
2325 2017-10-10 Pedro Alves <palves@redhat.com>
2326
2327 * lib/selftest-support.exp (selftest_setup): Update for
2328 captured_command_loop's prototype change.
2329
2330 2017-10-09 Pedro Alves <palves@redhat.com>
2331
2332 Test both arch1=>arch2 and arch2=>arch1.
2333
2334 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2335 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2336 factored out to...
2337 (append_arch1_options, append_arch2_options, append_arch_options)
2338 (build_executables): New procedures.
2339 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2340 local.
2341 (top level): Add new 'first_arch' testing axis.
2342
2343 2017-10-09 Pedro Alves <palves@redhat.com>
2344
2345 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2346 (barrier): New.
2347 (thread_start, all_started): New functions.
2348 (main): Spawn new thread and wait until it is scheduled.
2349 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2350 option.
2351 (do_test): Add 'selected_thread' parameter. Run to all_started
2352 instead of main. Explicitly set the breakpoint at main. Switch
2353 to the SELECTED_THREAD thread.
2354 (top level): Test handling the exec event with either the main
2355 thread or the second thread selected.
2356
2357 2017-10-09 Pedro Alves <palves@redhat.com>
2358
2359 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2360 logic. Move STOP marker after the value checks.
2361 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2362 regexp.
2363
2364 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2365
2366 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2367
2368 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2369
2370 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2371 integer-to-dfp conversion.
2372 * gdb.base/dfp-test.exp: Likewise.
2373
2374 2017-10-04 Pedro Alves <palves@redhat.com>
2375
2376 * gdb.multi/hangout.c: Include <unistd.h>.
2377 (hangout_loop): New function.
2378 (main): Call alarm. Call hangout_loop in a loop.
2379 * gdb.multi/hello.c: Include <unistd.h>.
2380 (hello_loop): New function.
2381 (main): Call alarm. Call hangout_loop in a loop.
2382 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2383 inferior with the other selected.
2384
2385 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2386
2387 * gdb.mi/list-thread-groups-available.exp: New file.
2388 * gdb.mi/list-thread-groups-available.c: New file.
2389
2390 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2391
2392 * gdb.base/set-cwd.exp: Make it available on
2393 native-extended-gdbserver.
2394
2395 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2396
2397 * gdb.base/set-cwd.c: New file.
2398 * gdb.base/set-cwd.exp: Likewise.
2399
2400 2017-10-02 Tom Tromey <tom@tromey.com>
2401
2402 PR rust/22236:
2403 * gdb.rust/simple.rs (main): New variable "fslice".
2404 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2405
2406 2017-10-02 Tom Tromey <tom@tromey.com>
2407
2408 * gdb.rust/simple.exp: Test ptype of a slice.
2409
2410 2017-10-02 Tom Tromey <tom@tromey.com>
2411
2412 * gdb.rust/simple.exp: Test index of slice.
2413
2414 2017-09-27 Tom Tromey <tom@tromey.com>
2415
2416 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2417
2418 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2419 Pedro Alves <palves@redhat.com>
2420
2421 * gdb.base/compare-sections.exp (get value of read-only section): Read
2422 as unsigned value.
2423 (corrupt read-only section): Likewise and don't set written if patching
2424 failed.
2425
2426 2017-09-21 Kevin Buettner <kevinb@redhat.com>
2427
2428 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2429 files.
2430
2431 2017-09-20 Pedro Alves <palves@redhat.com>
2432
2433 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2434 symbol names in gdb's output.
2435 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2436
2437 2017-09-20 Pedro Alves <palves@redhat.com>
2438
2439 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2440 Rename to ...
2441 (test_list_ambiguous_symbol): ... this and add a symbol name
2442 parameter. Adjust.
2443 (test_list_ambiguous_function): Reimplement on top of
2444 test_list_ambiguous_symbol and also test listing ambiguous
2445 variables.
2446 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2447 (ambiguous_fun): ... this.
2448 (ambiguous_var): New.
2449 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2450 (ambiguous_fun): ... this.
2451 (ambiguous_var): New.
2452
2453 2017-09-19 John Baldwin <jhb@FreeBSD.org>
2454
2455 * gdb.base/starti.c: New file.
2456 * gdb.base/starti.exp: New file.
2457 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2458
2459 2017-09-14 Pedro Alves <palves@redhat.com>
2460
2461 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2462 (top level): Use it instead of runto.
2463
2464 2017-09-11 Tom Tromey <tom@tromey.com>
2465
2466 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2467
2468 2017-09-11 Tom Tromey <tom@tromey.com>
2469
2470 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2471 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2472
2473 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2474
2475 * gdb.fortran/printing-types.exp: New file.
2476 * gdb.fortran/printing-types.exp: New file.
2477
2478 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2479
2480 * gdb.fortran/vla-ptype.exp: Fix typos.
2481 * gdb.fortran/vla-value.exp: Same.
2482
2483 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2484
2485 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2486 * gdb.mi/mi-var-child-f.exp: Likewise.
2487 * gdb.mi/mi-vla-fortran.exp: Likewise.
2488
2489 2017-09-08 Frank Penczek <frank.penczek@intel.com>
2490 Christoph Weinmann <christoph.t.weinmann@intel.com>
2491 Bernhard Heckel <bernhard.heckel@intel.com>
2492
2493 * gdb.fortran/ptr-indentation.f90: New file.
2494 * gdb.fortran/ptr-indentation.exp: New file.
2495
2496 2017-09-05 Tom Tromey <tom@tromey.com>
2497
2498 PR gdb/22010:
2499 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2500
2501 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2502
2503 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2504
2505 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2506
2507 * gdb.threads/tls-nodebug-pie.c: New file.
2508 * gdb.threads/tls-nodebug-pie.exp: New file.
2509
2510 2017-09-05 Tom Tromey <tom@tromey.com>
2511
2512 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2513 for rust.
2514
2515 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
2516
2517 * gdb.multi/multi-arch-exec.exp: Test with different
2518 "follow-exec-mode" settings.
2519 (do_test): New procedure.
2520
2521 2017-09-04 Pedro Alves <palves@redhat.com>
2522
2523 * gdb.base/func-static.c (S::method const, S::method volatile)
2524 (S::method volatile const): New methods.
2525 (c_s, v_s, cv_s): New instances.
2526 (main): Call method() on them.
2527 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2528 (cannot_resolve): New procedure.
2529 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
2530 print-quote-unquoted columns.
2531 (do_test): Test printing each scope too.
2532
2533 2017-09-04 Pedro Alves <palves@redhat.com>
2534
2535 * gdb.base/local-static.exp: Also test with
2536 class::method::variable wholly quoted.
2537 * gdb.cp/m-static.exp (class::method::variable): Remove test.
2538
2539 2017-09-04 Pedro Alves <palves@redhat.com>
2540
2541 * gdb.base/local-static.c: New.
2542 * gdb.base/local-static.cc: New.
2543 * gdb.base/local-static.exp: New.
2544
2545 2017-09-04 Pedro Alves <palves@redhat.com>
2546
2547 * gdb.asm/asm-source.exp: Add casts to int.
2548 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2549 (dataglobal64_1, dataglobal64_2): New globals.
2550 * gdb.base/nodebug.exp: Test different expressions involving the
2551 new globals, with print, whatis and ptype. Add casts to int.
2552 * gdb.base/solib-display.exp: Add casts to int.
2553 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
2554 * gdb.cp/m-static.exp: Add cast to int.
2555 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2556 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2557 tls variable with no debug info without a cast. Test with a cast
2558 to int too.
2559 * gdb.trace/entry-values.exp: Add casts.
2560
2561 2017-09-04 Pedro Alves <palves@redhat.com>
2562
2563 * gdb.base/nodebug.exp: Test that ptype's error about functions
2564 with unknown return type includes the function name too.
2565
2566 2017-09-04 Pedro Alves <palves@redhat.com>
2567
2568 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2569 return type of munmap in infcall.
2570 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2571 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2572 type of ftell in infcall.
2573 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2574 type of getpid in infcall.
2575 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2576 infcall.
2577 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2578 Bail on failure to extract the pid.
2579 * gdb.base/nodebug.c: #include <stdint.h>.
2580 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2581 New functions.
2582 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2583 Change expected output of print/whatis/ptype with functions with
2584 no debug info. Test all supported languages. Call
2585 test_call_promotion.
2586 * gdb.compile/compile.exp: Adjust expected output to expect
2587 warning.
2588 * gdb.threads/siginfo-threads.exp: Likewise.
2589
2590 2017-09-04 Pedro Alves <palves@redhat.com>
2591
2592 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2593 "prototypes". Test calling float functions via prototyped and
2594 unprototyped function pointers.
2595 (perform_all_tests): New parameter "prototypes". Pass it down.
2596 (top level): Pass down "prototypes" parameter to
2597 perform_all_tests.
2598
2599 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2600
2601 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2602 Test with nested loops.
2603
2604 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2605
2606 * gdb.base/commands.exp: Call the new procedures.
2607 (loop_break_test, loop_continue_test): New procedures.
2608
2609 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2610
2611 * gdb.base/commands.exp: Call new procedure.
2612 (define_if_without_arg_test): New procedure.
2613
2614 2017-09-04 Pedro Alves <palves@redhat.com>
2615
2616 * gdb.base/list-ambiguous.exp: New file.
2617 * gdb.base/list-ambiguous0.c: New file.
2618 * gdb.base/list-ambiguous1.c: New file.
2619 * gdb.base/list.exp (test_list_range): Adjust expected output.
2620
2621 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2622
2623 * gdb.base/share-env-with-gdbserver.c: New file.
2624 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2625
2626 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2627
2628 * gdb.base/commands.exp (gdbvar_simple_if_test,
2629 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2630 progvar_simple_if_test, progvar_simple_while_test,
2631 progvar_complex_if_while_test, user_defined_command_test,
2632 user_defined_command_args_eval,
2633 user_defined_command_args_stack_test,
2634 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2635 temporary_breakpoint_commands,
2636 gdb_test_no_prompt, redefine_hook_test,
2637 redefine_backtrace_test): Remove "global gdb_prompt".
2638
2639 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2640
2641 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2642 New proc, call it from toplevel.
2643
2644 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2645
2646 PR remote/21852
2647 * gdb.server/normal.c: New file, copied from gdb.base.
2648 * gdb.server/run-without-local-binary.exp: New file.
2649
2650 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
2651
2652 * gdb.arch/sparc64-adi.exp: New file.
2653 * gdb.arch/sparc64-adi.c: New file.
2654
2655 2017-08-22 Pedro Alves <palves@redhat.com>
2656
2657 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2658 (top level): Add "list all overloads" tests.
2659
2660 2017-08-22 Tom Tromey <tom@tromey.com>
2661
2662 * gdb.gdb/xfullpath.exp: Remove.
2663
2664 2017-08-21 Pedro Alves <palves@redhat.com>
2665
2666 PR gdb/19487
2667 * gdb.base/symbol-alias.c: New.
2668 * gdb.base/symbol-alias2.c: New.
2669 * gdb.base/symbol-alias.exp: New.
2670
2671 2017-08-21 Pedro Alves <palves@redhat.com>
2672
2673 * gdb.base/dfp-test.c
2674 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2675 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2676 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2677 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2678 * gdb.base/whatis-ptype-typedefs.c: New.
2679 * gdb.base/whatis-ptype-typedefs.exp: New.
2680 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2681 (an_int, an_int_type, an_int_type2): New globals.
2682 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2683 involving typedefs and cast expressions.
2684 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2685 (lookup_typedefs_function): New.
2686 (typedefs_pretty_printers_dict): New.
2687 (top level): Register lookup_typedefs_function in
2688 gdb.pretty_printers.
2689
2690 2017-08-18 Yao Qi <yao.qi@linaro.org>
2691
2692 * gdb.server/unittest.exp: New.
2693
2694 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2695
2696 PR gdb/21954
2697 * gdb.base/environ.exp: Add test to check if 'unset environment'
2698 works.
2699
2700 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2701
2702 * lib/gdb.exp (universal_compile_options): New caching proc.
2703 (gdb_compile): Suppress GCC's coloring of messages.
2704
2705 2017-08-14 Tom Tromey <tom@tromey.com>
2706
2707 PR gdb/21675:
2708 * gdb.base/printcmds.exp (test_radices): New function.
2709 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2710 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2711 * lib/gdb.exp (get_integer_valueof): Use p/d.
2712
2713 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2714
2715 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2716 characters.
2717
2718 2017-08-05 Tom Tromey <tom@tromey.com>
2719
2720 * gdb.rust/simple.exp: Allow String to appear in a different
2721 namespace.
2722
2723 2017-07-26 Yao Qi <yao.qi@linaro.org>
2724
2725 * gdb.gdb/unittest.exp: Invoke command
2726 "maintenance check xml-descriptions".
2727
2728 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2729
2730 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2731 calling context.
2732 (hex128): Drop erroneous calculation of parameters.
2733
2734 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2735
2736 * gdb.python/py-unwind.exp: Disable stack protection when
2737 building test file.
2738
2739 2017-07-20 Pedro Alves <palves@redhat.com>
2740
2741 * gdb.base/default.exp (set language): Adjust expected output.
2742
2743 2017-07-20 Pedro Alves <palves@redhat.com>
2744
2745 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2746 (test_minsym): ... this, and make static.
2747 (get_pck__foo__bar__minsym): Rename to ...
2748 (get_test_minsym): ... this.
2749 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2750 symbol names and comments.
2751 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2752 (get_test_minsym): ... this.
2753 (pck__foo__bar__minsym__2): Rename to ...
2754 (test_minsym): ... this.
2755 (main): Adjust.
2756
2757 2017-07-17 Pedro Alves <palves@redhat.com>
2758
2759 * gdb.base/completion.exp: Adjust expected output.
2760 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2761 the completer works.
2762
2763 2017-07-17 Pedro Alves <palves@redhat.com>
2764
2765 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2766
2767 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2768
2769 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2770
2771 2017-07-14 Tom Tromey <tom@tromey.com>
2772
2773 PR rust/21764:
2774 * gdb.rust/simple.exp: Add tests.
2775
2776 2017-07-14 Tom Tromey <tom@tromey.com>
2777
2778 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2779
2780 2017-07-14 Pedro Alves <palves@redhat.com>
2781
2782 * gdb.linespec/base/one/thefile.cc (z1): New function.
2783 * gdb.linespec/base/two/thefile.cc (z2): New function.
2784 * gdb.linespec/linespec.exp: Add tests.
2785
2786 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2787
2788 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2789 to mi_create_breakpoint.
2790
2791 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2792
2793 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2794 mi_create_breakpoint.
2795
2796 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2797
2798 * gdb.dlang/demangle.exp: Update for demangling changes.
2799
2800 2017-07-09 Tom Tromey <tom@tromey.com>
2801
2802 * gdb.dwarf2/shortpiece.exp: New file.
2803
2804 2017-07-06 David Blaikie <dblaikie@gmail.com>
2805
2806 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2807 built from fissiont-multi-cu{1,2}.c.
2808 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2809 except putting 'main' and 'func' in separate CUs in the same DWO file.
2810 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2811 test.
2812 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2813 test.
2814
2815 2017-07-06 Pedro Alves <palves@redhat.com>
2816
2817 * gdb.python/py-unwind.exp: Test flushregs.
2818
2819 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2820
2821 PR cli/21688
2822 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2823 tests for alias commands and trailing whitespace.
2824
2825 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2826
2827 PR cli/21688
2828 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2829 procedure. Call it.
2830
2831 2017-06-29 Pedro Alves <palves@redhat.com>
2832
2833 * gdb.base/printcmds.exp: Add tests.
2834
2835 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2836
2837 PR gdb/21337
2838 * gdb.base/reread-readsym.exp: New file.
2839 * gdb.base/reread-readsym.c: New file.
2840
2841 2017-06-21 Kevin Buettner <kevinb@redhat.com>
2842
2843 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
2844 subpattern.
2845
2846 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
2847
2848 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
2849 extended mnemonic.
2850 * gdb.arch/powerpc-power9.s: Likewise.
2851
2852 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2853
2854 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
2855 on 32-bit x86 targets. Exploit is_*_target macros where
2856 appropriate.
2857
2858 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2859
2860 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
2861 register pieces.
2862
2863 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2864
2865 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
2866 located in one or more DWARF pieces.
2867
2868 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2869
2870 * lib/gdb.exp (get_endianness): New proc.
2871 * gdb.arch/aarch64-fp.exp: Use it.
2872 * gdb.arch/altivec-regs.exp: Likewise.
2873 * gdb.arch/e500-regs.exp: Likewise.
2874 * gdb.arch/vsx-regs.exp: Likewise.
2875 * gdb.base/dump.exp: Likewise.
2876 * gdb.base/funcargs.exp: Likewise.
2877 * gdb.base/gnu_vector.exp: Likewise.
2878 * gdb.dwarf2/formdata16.exp: Likewise.
2879 * gdb.dwarf2/implptrpiece.exp: Likewise.
2880 * gdb.dwarf2/nonvar-access.exp: Likewise.
2881 * gdb.python/py-inferior.exp: Likewise.
2882 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2883
2884 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2885
2886 PR gdb/21226
2887 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
2888 stack value pieces are taken from the LSB end.
2889
2890 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2891
2892 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
2893 variable at nonzero offset.
2894
2895 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2896
2897 * gdb.dwarf2/var-access.c: New file.
2898 * gdb.dwarf2/var-access.exp: New test.
2899 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
2900
2901 2017-06-12 Tom Tromey <tom@tromey.com>
2902
2903 * gdb.dwarf2/formdata16.exp: Add tests.
2904
2905 2017-06-12 Tom Tromey <tom@tromey.com>
2906
2907 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
2908
2909 2017-06-12 Tom Tromey <tom@tromey.com>
2910
2911 PR exp/16225:
2912 * gdb.reverse/i386-sse-reverse.exp: Update tests.
2913 * gdb.arch/vsx-regs.exp: Update tests.
2914 * gdb.arch/s390-vregs.exp (hex128): New proc.
2915 Update test.
2916 * gdb.arch/altivec-regs.exp: Update tests.
2917
2918 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2919
2920 * gdb.base/startup-with-shell.c: New file.
2921 * gdb.base/startup-with-shell.exp: Likewise.
2922
2923 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2924
2925 * gdb.server/non-existing-program.exp: Update regex in order to
2926 reflect the fact that gdbserver is now using fork_inferior (with a
2927 shell) to startup the inferior.
2928
2929 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
2930
2931 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
2932 support function calls from GDB.
2933
2934 2017-05-21 Tom Tromey <tom@tromey.com>
2935
2936 PR rust/21466:
2937 * gdb.rust/unsized.exp: New file.
2938 * gdb.rust/unsized.rs: New file.
2939
2940 2017-05-19 Tom Tromey <tom@tromey.com>
2941
2942 PR rust/21484:
2943 * gdb.rust/watch.exp: New file.
2944 * gdb.rust/watch.rs: New file.
2945
2946 2017-05-18 Tom Tromey <tom@tromey.com>
2947
2948 * gdb.rust/simple.exp: Allow Box to be qualified.
2949
2950 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
2951
2952 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
2953
2954 2017-05-18 Pedro Alves <palves@redhat.com>
2955
2956 * gdb.base/fileio.c (test_write, test_read, test_close)
2957 (test_fstat): Don't print 'ret' in the fail path.
2958
2959 2017-05-18 Pedro Alves <palves@redhat.com>
2960
2961 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
2962 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
2963 (test_system, test_rename, test_unlink, test_time): Change
2964 prototypes.
2965 * gdb.base/fileio.exp (stop_msg): Adjust.
2966
2967 2017-05-18 Pedro Alves <palves@redhat.com>
2968
2969 * gdb.base/fileio.c (null_str): New global.
2970 (test_stat): Use it.
2971 * gdb.base/fileio.exp: Remove nowarnings.
2972
2973 2017-05-17 Yao Qi <yao.qi@linaro.org>
2974
2975 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
2976
2977 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
2978
2979 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
2980 argument command.
2981 (top-level): Invoke test_set_inferior_tty.
2982
2983 2017-05-04 Pedro Alves <palves@redhat.com>
2984
2985 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
2986 Add parens to print call for Python 3.
2987
2988 2017-05-03 Keith Seitz <keiths@redhat.com>
2989
2990 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
2991 (main): Call it.
2992
2993 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2994
2995 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
2996 to prev and next.
2997
2998 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2999
3000 * gdb.python/py-record-btrace.exp: Remove test for
3001 gdb.BtraceInstruction.error.
3002
3003 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3004
3005 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3006
3007 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3008
3009 * gdb.python/py-record-btrace-threads.c: New file.
3010 * gdb.python/py-record-btrace-threads.exp: New file.
3011
3012 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3013
3014 PR testsuite/8595
3015 * gdb.base/environ.exp: Make test available in all architectures.
3016 Move bits related to "info program" testing to
3017 gdb.base/info-program.exp. Rewrite tests to use the two new
3018 procedures mentione below.
3019 (test_set_show_env_var) New procedure.
3020 (test_set_show_env_var_equal): Likewise.
3021 * gdb.base/info-program.exp: New file.
3022
3023 2017-04-27 Keith Seitz <keiths@redhat.com>
3024
3025 * gdb.cp/oranking.cc (test15): New function.
3026 (main): Call test15 and declare additional variables for testing.
3027 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3028 "p foo101('abc')" tests.
3029 Add tests for cv qualifier overloads.
3030 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3031 "lvalue reference overload" test.
3032 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3033 "print value of f1 on Child&& in f2" test.
3034
3035 2017-04-19 Pedro Alves <palves@redhat.com>
3036
3037 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3038 procedure.
3039 (top level): Call it.
3040 * lib/gdb.exp (gdb_define_cmd): New procedure.
3041
3042 2017-04-12 Pedro Alves <palves@redhat.com>
3043
3044 PR gdb/21323
3045 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3046 (wchar): New global.
3047 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3048 (do_test_wide_char, wide_char_types_no_program, top level): Add
3049 wchar_t testing.
3050
3051 2017-04-12 Pedro Alves <palves@redhat.com>
3052
3053 PR c++/21323
3054 * gdb.cp/wide_char_types.c: New file.
3055 * gdb.cp/wide_char_types.exp: New file.
3056
3057 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3058
3059 PR gdb/21352
3060 * gdb.trace/tsv.exp: Add test for "tsave -r".
3061
3062 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3063
3064 * gdb.dlang/watch-loc.c: New file.
3065 * gdb.dlang/watch-loc.exp: New file.
3066
3067 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3068
3069 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3070
3071 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3072
3073 * gdb.arch/arc-analyze-prologue.S: New file.
3074 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3075
3076 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3077
3078 * gdb.arch/arc-decode-insn.S: New file.
3079 * gdb.arch/arc-decode-insn.exp: Likewise.
3080
3081 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3082
3083 PR tdep/20928
3084 * gdb.arch/sparc64-regs.exp: New file.
3085 * gdb.arch/sparc64-regs.S: Likewise.
3086
3087 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3088
3089 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3090 and memory view on Python 3.
3091
3092 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
3093 Keith Seitz <keiths@redhat.com>
3094
3095 PR gdb/14441
3096 * gdb.cp/demangle.exp: Add rvalue reference tests.
3097 * gdb.cp/rvalue-ref-casts.cc: New file.
3098 * gdb.cp/rvalue-ref-casts.exp: New file.
3099 * gdb.cp/rvalue-ref-overload.cc: New file.
3100 * gdb.cp/rvalue-ref-overload.exp: New file.
3101 * gdb.cp/rvalue-ref-params.cc: New file.
3102 * gdb.cp/rvalue-ref-params.exp: New file.
3103 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3104 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3105 * gdb.cp/rvalue-ref-types.cc: New file.
3106 * gdb.cp/rvalue-ref-types.exp: New file.
3107 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3108 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3109
3110 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3111
3112 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3113 New procedure.
3114
3115 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3116
3117 * lib/mi-support.exp (mi_gdb_test): Add additional message
3118 for unexpected output.
3119
3120 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3121
3122 * gdb.base/examine-backward.c (Barrier): New character array
3123 constant, to ensure that TestStrings is preceded by a string
3124 terminator.
3125
3126 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3127
3128 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3129 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3130 and implicit pointer into such a location.
3131
3132 2017-03-16 Doug Evans <dje@google.com>
3133
3134 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3135
3136 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3137
3138 * gdb.cp/m-static.exp: Fix expectation for prototype of
3139 test5.single_constructor and single_constructor::single_constructor.
3140
3141 2017-03-16 Doug Evans <dje@google.com>
3142
3143 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3144 * gdb.guile/scm-lazy-string.c: New file.
3145 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3146 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3147 for pointer, array, typedef lazy strings.
3148
3149 2017-03-16 Doug Evans <dje@google.com>
3150
3151 PR python/17728, python/18439, python/18779
3152 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3153 * gdb.python/py-lazy-string.c (pointer): New typedef.
3154 (main): New locals ptr, array, typedef_ptr.
3155 * gdb.python/py-value.exp: Move lazy string tests to ...
3156 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3157 array, typedef lazy strings.
3158
3159 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3160
3161 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3162 Add optional 'test' parameter.
3163
3164 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3165
3166 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3167 Skip for versions of DejaGnu < 1.5.
3168
3169 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3170
3171 * lib/gdb.exp (dejagnu_version): New proc.
3172 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3173 Use dejagnu_version.
3174
3175 2017-03-10 Keith Seitz <keiths@redhat.com>
3176
3177 PR c++/8128
3178 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3179 type from destructor regexps.
3180 Add a branch which actually passes the test.
3181 Adjust "ptype t5i" test names.
3182
3183 2017-03-08 Pedro Alves <palves@redhat.com>
3184
3185 * gdb.base/step-over-exit.exp: Add explicit test message.
3186
3187 2017-03-08 Pedro Alves <palves@redhat.com>
3188
3189 PR gdb/18360
3190 * gdb.threads/interrupt-while-step-over.c: New file.
3191 * gdb.threads/interrupt-while-step-over.exp: New file.
3192
3193 2017-03-08 Pedro Alves <palves@redhat.com>
3194
3195 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3196 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3197
3198 2017-03-08 Pedro Alves <palves@redhat.com>
3199
3200 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3201 PKRU as not supported as a PASS.
3202
3203 2017-03-08 Pedro Alves <palves@redhat.com>
3204
3205 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3206 prefix instead of $binfile1/$binfile2.
3207 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3208 in test message.
3209 * gdb.python/py-completion.exp: Use "load python file" as test
3210 messages instead of unstable path names.
3211
3212 2017-03-08 Pedro Alves <palves@redhat.com>
3213 Jan Kratochvil <jan.kratochvil@redhat.com>
3214
3215 PR cli/21218
3216 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3217 New proc.
3218 (top level): Call it.
3219
3220 2017-03-08 Pedro Alves <palves@redhat.com>
3221
3222 PR tui/21216
3223 * gdb.tui/tui-nl-filtered-output.exp: New file.
3224
3225 2017-03-08 Pedro Alves <palves@redhat.com>
3226
3227 * gdb.base/completion.exp: Move TUI completion tests to ...
3228 * gdb.tui/completion.exp: ... this new file.
3229
3230 2017-03-08 Pedro Alves <palves@redhat.com>
3231
3232 * gdb.base/tui-disasm-long-lines.c,
3233 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3234 gdb.base/tui-layout.exp: Move to ...
3235 * gdb.tui/: ... this new directory.
3236
3237 2017-03-07 Pedro Alves <palves@redhat.com>
3238
3239 * gdb.base/tui-layout.c: New file.
3240 * gdb.base/tui-layout.exp: New file.
3241
3242 2017-03-07 Pedro Alves <palves@redhat.com>
3243
3244 * gdb.base/tui-layout.c: Rename to ...
3245 * gdb.base/tui-disasm-long-lines.c: ... this.
3246 * gdb.base/tui-layout.exp: Rename to ...
3247 * gdb.base/tui-disasm-long-lines.exp: ... this.
3248
3249 2017-03-07 Pedro Alves <palves@redhat.com>
3250
3251 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3252
3253 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3254
3255 * i386-mpx-call.c: New file.
3256 * i386-mpx-call.exp: New file.
3257
3258 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3259
3260 * gdb.arch/powerpc-power.exp: Delete test.
3261 * gdb.arch/powerpc-power.s: Likewise.
3262 * gdb.disasm/disassembler-options.exp: New test.
3263 * gdb.arch/powerpc-altivec.exp: Likewise.
3264 * gdb.arch/powerpc-altivec.s: Likewise.
3265 * gdb.arch/powerpc-altivec2.exp: Likewise.
3266 * gdb.arch/powerpc-altivec2.s: Likewise.
3267 * gdb.arch/powerpc-altivec3.exp: Likewise.
3268 * gdb.arch/powerpc-altivec3.s: Likewise.
3269 * gdb.arch/powerpc-power7.exp: Likewise.
3270 * gdb.arch/powerpc-power7.s: Likewise.
3271 * gdb.arch/powerpc-power8.exp: Likewise.
3272 * gdb.arch/powerpc-power8.s: Likewise.
3273 * gdb.arch/powerpc-power9.exp: Likewise.
3274 * gdb.arch/powerpc-power9.s: Likewise.
3275 * gdb.arch/powerpc-vsx.exp: Likewise.
3276 * gdb.arch/powerpc-vsx.s: Likewise.
3277 * gdb.arch/powerpc-vsx2.exp: Likewise.
3278 * gdb.arch/powerpc-vsx2.s: Likewise.
3279 * gdb.arch/powerpc-vsx3.exp: Likewise.
3280 * gdb.arch/powerpc-vsx3.s: Likewise.
3281 * gdb.arch/arm-disassembler-options.exp: Likewise.
3282 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3283 * gdb.arch/s390-disassembler-options.exp: Likewise.
3284
3285 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
3286
3287 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3288 (check_supported_features): ... this. Changed return type to void.
3289 (supports_rdseed): New static global.
3290 (rdseed): Check supports_rdseed.
3291 (initialize): Call check_supported_features.
3292
3293 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3294
3295 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3296 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3297 and lqarx/stqcx.
3298 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3299 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3300
3301 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3302
3303 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3304 uppercase.
3305
3306 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3307
3308 * gdb.dwarf2/formdata16.c: New file.
3309 * gdb.dwarf2/formdata16.exp: New file.
3310 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3311
3312 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3313
3314 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3315 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3316 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3317 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3318 DW_AT_GNU_*.
3319
3320 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3321
3322 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3323
3324 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3325
3326 PR gdb/21164
3327 * gdb.base/maint.exp: Add testcases for when the commands do
3328 not have arguments.
3329
3330 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3331
3332 * gdb.cp/chained-calls.exp: Use p instead of P.
3333
3334 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3335
3336 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3337 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3338
3339 2017-02-14 Tom Tromey <tom@tromey.com>
3340
3341 PR python/13598:
3342 * gdb.python/py-events.exp: Add before_prompt event tests.
3343
3344 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3345
3346 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3347
3348 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3349
3350 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3351 (main): Call my_unique_function_name.
3352 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3353 completion of patterns with a single match.
3354 Add missing -re switches to gdb_test_multiple calls.
3355
3356 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3357
3358 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3359 return if core file is not recognized.
3360
3361 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3362
3363 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3364 and extra UIs.
3365
3366 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3367
3368 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3369 proc_with_prefix.
3370
3371 2017-02-10 Tom Tromey <tom@tromey.com>
3372
3373 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3374
3375 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
3376
3377 PR gdb/21122
3378 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3379
3380 2017-02-08 Jerome Guitton <guitton@adacore.com>
3381
3382 * gdb.base/define.exp: Add test for command abbreviations
3383 in define.
3384
3385 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
3386
3387 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3388 * gdb.reverse/insn-reverse-x86.c: New file.
3389
3390 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3391
3392 PR tdep/20936
3393 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3394
3395 2017-02-03 Tom Tromey <tom@tromey.com>
3396
3397 PR rust/21097:
3398 * gdb.rust/simple.exp: Add new tests.
3399
3400 2017-02-02 Pedro Alves <palves@redhat.com>
3401
3402 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3403 tests.
3404
3405 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3406
3407 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3408 taking a 2-byte value out of a 4-byte DWARF implicit value on
3409 big-endian targets.
3410 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3411 logic. Add test cases for DW_OP_implicit.
3412
3413 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3414
3415 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3416
3417 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3418
3419 * gdb.btrace/enable.exp: Call gdb_exit before
3420 skip_gdbserver_tests.
3421
3422 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3423
3424 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3425 GDBFLAGS.
3426
3427 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3428
3429 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3430 the test is skipped.
3431 * gdb.btrace/data.exp: Likewise.
3432 * gdb.btrace/delta.exp: Likewise.
3433 * gdb.btrace/dlopen.exp: Likewise.
3434 * gdb.btrace/enable-running.exp: Likewise.
3435 * gdb.btrace/enable.exp: Likewise.
3436 * gdb.btrace/exception.exp: Likewise.
3437 * gdb.btrace/function_call_history.exp: Likewise.
3438 * gdb.btrace/gcore.exp: Likewise.
3439 * gdb.btrace/instruction_history.exp: Likewise.
3440 * gdb.btrace/multi-thread-step.exp: Likewise.
3441 * gdb.btrace/nohist.exp: Likewise.
3442 * gdb.btrace/non-stop.exp: Likewise.
3443 * gdb.btrace/reconnect.exp: Likewise.
3444 * gdb.btrace/record_goto-step.exp: Likewise.
3445 * gdb.btrace/record_goto.exp: Likewise.
3446 * gdb.btrace/rn-dl-bind.exp: Likewise.
3447 * gdb.btrace/segv.exp: Likewise.
3448 * gdb.btrace/step.exp: Likewise.
3449 * gdb.btrace/stepi.exp: Likewise.
3450 * gdb.btrace/tailcall-only.exp: Likewise.
3451 * gdb.btrace/tailcall.exp: Likewise.
3452 * gdb.btrace/tsx.exp: Likewise.
3453 * gdb.btrace/unknown_functions.exp: Likewise.
3454 * gdb.btrace/vdso.exp: Likewise.
3455
3456 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3457
3458 * gdb.btrace/enable-running.c: New.
3459 * gdb.btrace/enable-running.exp: New.
3460
3461 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3462
3463 * gdb.arch/amd64-gs_base.c: New file.
3464 * gdb.arch/amd64-gs_base.exp: New file.
3465
3466 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3467
3468 * lib/memory.exp: Remove spurious empty newlines.
3469
3470 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3471
3472 * gdb.python/py-bad-printers.exp: Load python file using "source".
3473 * gdb.python/py-events.exp: Likewise.
3474 * gdb.python/py-evsignal.exp: Likewise.
3475 * gdb.python/py-evthreads.exp: Likewise.
3476 * gdb.python/py-frame-args.exp: Likewise.
3477 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3478 * gdb.python/py-framefilter-mi.exp: Likewise.
3479 * gdb.python/py-framefilter.exp: Likewise.
3480 * gdb.python/py-mi.exp: Likewise.
3481 * gdb.python/py-pp-maint.exp: Likewise.
3482 * gdb.python/py-pp-registration.exp: Likewise.
3483 * gdb.python/py-prettyprint.exp: Likewise.
3484 (run_lang_tests): Likewise.
3485 * gdb.python/py-typeprint.exp: Likewise.
3486
3487 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3488
3489 * lib/memory.exp: New file.
3490 * lib/gdb.exp: Load memory.exp.
3491 * gdb.base/memattr.exp (delete_memory): Move proc to
3492 lib/memory.exp and rename to delete_memory_regions.
3493 Replace delete_memory with delete_memory_regions.
3494 Cleanup memory regions before tests.
3495 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3496 before tests.
3497
3498 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3499
3500 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3501 files.
3502 (initialize): New function conditionally defined.
3503 (testcases): Move within conditional block.
3504 (main): Call initialize.
3505 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3506 of gdb.reverse/insn-reverse.c.
3507 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3508 gdb.reverse/insn-reverse.c.
3509
3510 2017-01-26 Yao Qi <yao.qi@linaro.org>
3511
3512 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3513 disassemble on address 0.
3514
3515 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
3516 Yao Qi <yao.qi@linaro.org>
3517
3518 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3519 * gdb.dwarf2/implptr-64bit.S: Remove.
3520 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
3521 variables in caller's context. Add DW_OP_implicit_value.
3522
3523 2017-01-25 Yao Qi <yao.qi@linaro.org>
3524
3525 * lib/dwarf.exp (Dwarf::_location): Handle
3526 DW_OP_GNU_implicit_pointer with proper size.
3527
3528 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3529
3530 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3531 and add untested calls.
3532
3533 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3534
3535 * gdb.python/python.exp: Check line number against what GDB thinks
3536 the line number is for func1.
3537
3538 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
3539
3540 * gdb.dlang/debug-expr.exp: New file.
3541
3542 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
3543
3544 Fix test names for the following files:
3545
3546 * gdb.ada/exec_changed.exp
3547 * gdb.ada/info_types.exp
3548 * gdb.arch/aarch64-atomic-inst.exp
3549 * gdb.arch/aarch64-fp.exp
3550 * gdb.arch/altivec-abi.exp
3551 * gdb.arch/altivec-regs.exp
3552 * gdb.arch/amd64-byte.exp
3553 * gdb.arch/amd64-disp-step.exp
3554 * gdb.arch/amd64-dword.exp
3555 * gdb.arch/amd64-entry-value-inline.exp
3556 * gdb.arch/amd64-entry-value-param.exp
3557 * gdb.arch/amd64-entry-value-paramref.exp
3558 * gdb.arch/amd64-entry-value.exp
3559 * gdb.arch/amd64-i386-address.exp
3560 * gdb.arch/amd64-invalid-stack-middle.exp
3561 * gdb.arch/amd64-invalid-stack-top.exp
3562 * gdb.arch/amd64-optimout-repeat.exp
3563 * gdb.arch/amd64-prologue-skip.exp
3564 * gdb.arch/amd64-prologue-xmm.exp
3565 * gdb.arch/amd64-stap-special-operands.exp
3566 * gdb.arch/amd64-stap-wrong-subexp.exp
3567 * gdb.arch/amd64-tailcall-cxx.exp
3568 * gdb.arch/amd64-tailcall-noret.exp
3569 * gdb.arch/amd64-tailcall-ret.exp
3570 * gdb.arch/amd64-tailcall-self.exp
3571 * gdb.arch/amd64-word.exp
3572 * gdb.arch/arm-bl-branch-dest.exp
3573 * gdb.arch/arm-disp-step.exp
3574 * gdb.arch/arm-neon.exp
3575 * gdb.arch/arm-single-step-kernel-helper.exp
3576 * gdb.arch/avr-flash-qualifier.exp
3577 * gdb.arch/disp-step-insn-reloc.exp
3578 * gdb.arch/e500-abi.exp
3579 * gdb.arch/e500-regs.exp
3580 * gdb.arch/ftrace-insn-reloc.exp
3581 * gdb.arch/i386-avx512.exp
3582 * gdb.arch/i386-bp_permanent.exp
3583 * gdb.arch/i386-byte.exp
3584 * gdb.arch/i386-cfi-notcurrent.exp
3585 * gdb.arch/i386-disp-step.exp
3586 * gdb.arch/i386-dr3-watch.exp
3587 * gdb.arch/i386-float.exp
3588 * gdb.arch/i386-gnu-cfi.exp
3589 * gdb.arch/i386-mpx-map.exp
3590 * gdb.arch/i386-mpx-sigsegv.exp
3591 * gdb.arch/i386-mpx-simple_segv.exp
3592 * gdb.arch/i386-mpx.exp
3593 * gdb.arch/i386-permbkpt.exp
3594 * gdb.arch/i386-prologue.exp
3595 * gdb.arch/i386-signal.exp
3596 * gdb.arch/i386-size-overlap.exp
3597 * gdb.arch/i386-unwind.exp
3598 * gdb.arch/i386-word.exp
3599 * gdb.arch/mips-fcr.exp
3600 * gdb.arch/powerpc-d128-regs.exp
3601 * gdb.arch/powerpc-stackless.exp
3602 * gdb.arch/ppc64-atomic-inst.exp
3603 * gdb.arch/s390-stackless.exp
3604 * gdb.arch/s390-tdbregs.exp
3605 * gdb.arch/s390-vregs.exp
3606 * gdb.arch/sparc-sysstep.exp
3607 * gdb.arch/thumb-bx-pc.exp
3608 * gdb.arch/thumb-singlestep.exp
3609 * gdb.arch/thumb2-it.exp
3610 * gdb.arch/vsx-regs.exp
3611 * gdb.asm/asm-source.exp
3612 * gdb.base/a2-run.exp
3613 * gdb.base/advance.exp
3614 * gdb.base/all-bin.exp
3615 * gdb.base/anon.exp
3616 * gdb.base/args.exp
3617 * gdb.base/arithmet.exp
3618 * gdb.base/async-shell.exp
3619 * gdb.base/async.exp
3620 * gdb.base/attach-pie-noexec.exp
3621 * gdb.base/attach-twice.exp
3622 * gdb.base/auto-load.exp
3623 * gdb.base/bang.exp
3624 * gdb.base/bitfields.exp
3625 * gdb.base/break-always.exp
3626 * gdb.base/break-caller-line.exp
3627 * gdb.base/break-entry.exp
3628 * gdb.base/break-inline.exp
3629 * gdb.base/break-on-linker-gcd-function.exp
3630 * gdb.base/break-probes.exp
3631 * gdb.base/break.exp
3632 * gdb.base/breakpoint-shadow.exp
3633 * gdb.base/call-ar-st.exp
3634 * gdb.base/call-sc.exp
3635 * gdb.base/call-signal-resume.exp
3636 * gdb.base/call-strs.exp
3637 * gdb.base/callfuncs.exp
3638 * gdb.base/catch-fork-static.exp
3639 * gdb.base/catch-gdb-caused-signals.exp
3640 * gdb.base/catch-load.exp
3641 * gdb.base/catch-signal-fork.exp
3642 * gdb.base/catch-signal.exp
3643 * gdb.base/catch-syscall.exp
3644 * gdb.base/charset.exp
3645 * gdb.base/checkpoint.exp
3646 * gdb.base/chng-syms.exp
3647 * gdb.base/code-expr.exp
3648 * gdb.base/code_elim.exp
3649 * gdb.base/commands.exp
3650 * gdb.base/completion.exp
3651 * gdb.base/complex.exp
3652 * gdb.base/cond-expr.exp
3653 * gdb.base/condbreak.exp
3654 * gdb.base/consecutive.exp
3655 * gdb.base/continue-all-already-running.exp
3656 * gdb.base/coredump-filter.exp
3657 * gdb.base/corefile.exp
3658 * gdb.base/dbx.exp
3659 * gdb.base/debug-expr.exp
3660 * gdb.base/define.exp
3661 * gdb.base/del.exp
3662 * gdb.base/disabled-location.exp
3663 * gdb.base/disasm-end-cu.exp
3664 * gdb.base/disasm-optim.exp
3665 * gdb.base/display.exp
3666 * gdb.base/duplicate-bp.exp
3667 * gdb.base/ena-dis-br.exp
3668 * gdb.base/ending-run.exp
3669 * gdb.base/enumval.exp
3670 * gdb.base/environ.exp
3671 * gdb.base/eu-strip-infcall.exp
3672 * gdb.base/eval-avoid-side-effects.exp
3673 * gdb.base/eval-skip.exp
3674 * gdb.base/exitsignal.exp
3675 * gdb.base/expand-psymtabs.exp
3676 * gdb.base/filesym.exp
3677 * gdb.base/find-unmapped.exp
3678 * gdb.base/finish.exp
3679 * gdb.base/float.exp
3680 * gdb.base/foll-exec-mode.exp
3681 * gdb.base/foll-exec.exp
3682 * gdb.base/foll-fork.exp
3683 * gdb.base/fortran-sym-case.exp
3684 * gdb.base/freebpcmd.exp
3685 * gdb.base/func-ptr.exp
3686 * gdb.base/func-ptrs.exp
3687 * gdb.base/funcargs.exp
3688 * gdb.base/gcore-buffer-overflow.exp
3689 * gdb.base/gcore-relro-pie.exp
3690 * gdb.base/gcore-relro.exp
3691 * gdb.base/gcore.exp
3692 * gdb.base/gdb1090.exp
3693 * gdb.base/gdb11530.exp
3694 * gdb.base/gdb11531.exp
3695 * gdb.base/gdb1821.exp
3696 * gdb.base/gdbindex-stabs.exp
3697 * gdb.base/gdbvars.exp
3698 * gdb.base/hbreak.exp
3699 * gdb.base/hbreak2.exp
3700 * gdb.base/included.exp
3701 * gdb.base/infcall-input.exp
3702 * gdb.base/inferior-died.exp
3703 * gdb.base/infnan.exp
3704 * gdb.base/info-macros.exp
3705 * gdb.base/info-os.exp
3706 * gdb.base/info-proc.exp
3707 * gdb.base/info-shared.exp
3708 * gdb.base/info-target.exp
3709 * gdb.base/infoline.exp
3710 * gdb.base/interp.exp
3711 * gdb.base/interrupt.exp
3712 * gdb.base/jit-reader.exp
3713 * gdb.base/jit-simple.exp
3714 * gdb.base/kill-after-signal.exp
3715 * gdb.base/kill-detach-inferiors-cmd.exp
3716 * gdb.base/label.exp
3717 * gdb.base/langs.exp
3718 * gdb.base/ldbl_e308.exp
3719 * gdb.base/line-symtabs.exp
3720 * gdb.base/linespecs.exp
3721 * gdb.base/list.exp
3722 * gdb.base/long_long.exp
3723 * gdb.base/longest-types.exp
3724 * gdb.base/maint.exp
3725 * gdb.base/max-value-size.exp
3726 * gdb.base/memattr.exp
3727 * gdb.base/mips_pro.exp
3728 * gdb.base/morestack.exp
3729 * gdb.base/moribund-step.exp
3730 * gdb.base/multi-forks.exp
3731 * gdb.base/nested-addr.exp
3732 * gdb.base/nextoverexit.exp
3733 * gdb.base/noreturn-finish.exp
3734 * gdb.base/noreturn-return.exp
3735 * gdb.base/nostdlib.exp
3736 * gdb.base/offsets.exp
3737 * gdb.base/opaque.exp
3738 * gdb.base/pc-fp.exp
3739 * gdb.base/permissions.exp
3740 * gdb.base/print-symbol-loading.exp
3741 * gdb.base/prologue-include.exp
3742 * gdb.base/psymtab.exp
3743 * gdb.base/ptype.exp
3744 * gdb.base/random-signal.exp
3745 * gdb.base/randomize.exp
3746 * gdb.base/range-stepping.exp
3747 * gdb.base/readline-ask.exp
3748 * gdb.base/recpar.exp
3749 * gdb.base/recurse.exp
3750 * gdb.base/relational.exp
3751 * gdb.base/restore.exp
3752 * gdb.base/return-nodebug.exp
3753 * gdb.base/return.exp
3754 * gdb.base/run-after-attach.exp
3755 * gdb.base/save-bp.exp
3756 * gdb.base/scope.exp
3757 * gdb.base/sect-cmd.exp
3758 * gdb.base/set-lang-auto.exp
3759 * gdb.base/set-noassign.exp
3760 * gdb.base/setvar.exp
3761 * gdb.base/sigall.exp
3762 * gdb.base/sigbpt.exp
3763 * gdb.base/siginfo-addr.exp
3764 * gdb.base/siginfo-infcall.exp
3765 * gdb.base/siginfo-obj.exp
3766 * gdb.base/siginfo.exp
3767 * gdb.base/signals-state-child.exp
3768 * gdb.base/signest.exp
3769 * gdb.base/sigstep.exp
3770 * gdb.base/sizeof.exp
3771 * gdb.base/skip.exp
3772 * gdb.base/solib-corrupted.exp
3773 * gdb.base/solib-nodir.exp
3774 * gdb.base/solib-search.exp
3775 * gdb.base/stack-checking.exp
3776 * gdb.base/stale-infcall.exp
3777 * gdb.base/stap-probe.exp
3778 * gdb.base/start.exp
3779 * gdb.base/step-break.exp
3780 * gdb.base/step-bt.exp
3781 * gdb.base/step-line.exp
3782 * gdb.base/step-over-exit.exp
3783 * gdb.base/step-over-syscall.exp
3784 * gdb.base/step-resume-infcall.exp
3785 * gdb.base/step-test.exp
3786 * gdb.base/store.exp
3787 * gdb.base/structs3.exp
3788 * gdb.base/sym-file.exp
3789 * gdb.base/symbol-without-target_section.exp
3790 * gdb.base/term.exp
3791 * gdb.base/testenv.exp
3792 * gdb.base/ui-redirect.exp
3793 * gdb.base/until.exp
3794 * gdb.base/unwindonsignal.exp
3795 * gdb.base/value-double-free.exp
3796 * gdb.base/vla-datatypes.exp
3797 * gdb.base/vla-ptr.exp
3798 * gdb.base/vla-sideeffect.exp
3799 * gdb.base/volatile.exp
3800 * gdb.base/watch-cond-infcall.exp
3801 * gdb.base/watch-cond.exp
3802 * gdb.base/watch-non-mem.exp
3803 * gdb.base/watch-read.exp
3804 * gdb.base/watch-vfork.exp
3805 * gdb.base/watchpoint-cond-gone.exp
3806 * gdb.base/watchpoint-delete.exp
3807 * gdb.base/watchpoint-hw-hit-once.exp
3808 * gdb.base/watchpoint-hw.exp
3809 * gdb.base/watchpoint-stops-at-right-insn.exp
3810 * gdb.base/watchpoints.exp
3811 * gdb.base/wchar.exp
3812 * gdb.base/whatis-exp.exp
3813 * gdb.btrace/buffer-size.exp
3814 * gdb.btrace/data.exp
3815 * gdb.btrace/delta.exp
3816 * gdb.btrace/dlopen.exp
3817 * gdb.btrace/enable.exp
3818 * gdb.btrace/exception.exp
3819 * gdb.btrace/function_call_history.exp
3820 * gdb.btrace/gcore.exp
3821 * gdb.btrace/instruction_history.exp
3822 * gdb.btrace/nohist.exp
3823 * gdb.btrace/reconnect.exp
3824 * gdb.btrace/record_goto-step.exp
3825 * gdb.btrace/record_goto.exp
3826 * gdb.btrace/rn-dl-bind.exp
3827 * gdb.btrace/segv.exp
3828 * gdb.btrace/step.exp
3829 * gdb.btrace/stepi.exp
3830 * gdb.btrace/tailcall-only.exp
3831 * gdb.btrace/tailcall.exp
3832 * gdb.btrace/tsx.exp
3833 * gdb.btrace/unknown_functions.exp
3834 * gdb.btrace/vdso.exp
3835 * gdb.compile/compile-ifunc.exp
3836 * gdb.compile/compile-ops.exp
3837 * gdb.compile/compile-print.exp
3838 * gdb.compile/compile-setjmp.exp
3839 * gdb.cp/abstract-origin.exp
3840 * gdb.cp/ambiguous.exp
3841 * gdb.cp/annota2.exp
3842 * gdb.cp/annota3.exp
3843 * gdb.cp/anon-ns.exp
3844 * gdb.cp/anon-struct.exp
3845 * gdb.cp/anon-union.exp
3846 * gdb.cp/arg-reference.exp
3847 * gdb.cp/baseenum.exp
3848 * gdb.cp/bool.exp
3849 * gdb.cp/breakpoint.exp
3850 * gdb.cp/bs15503.exp
3851 * gdb.cp/call-c.exp
3852 * gdb.cp/casts.exp
3853 * gdb.cp/chained-calls.exp
3854 * gdb.cp/class2.exp
3855 * gdb.cp/classes.exp
3856 * gdb.cp/cmpd-minsyms.exp
3857 * gdb.cp/converts.exp
3858 * gdb.cp/cp-relocate.exp
3859 * gdb.cp/cpcompletion.exp
3860 * gdb.cp/cpexprs.exp
3861 * gdb.cp/cplabel.exp
3862 * gdb.cp/cplusfuncs.exp
3863 * gdb.cp/cpsizeof.exp
3864 * gdb.cp/ctti.exp
3865 * gdb.cp/derivation.exp
3866 * gdb.cp/destrprint.exp
3867 * gdb.cp/dispcxx.exp
3868 * gdb.cp/enum-class.exp
3869 * gdb.cp/exception.exp
3870 * gdb.cp/exceptprint.exp
3871 * gdb.cp/expand-psymtabs-cxx.exp
3872 * gdb.cp/expand-sals.exp
3873 * gdb.cp/extern-c.exp
3874 * gdb.cp/filename.exp
3875 * gdb.cp/formatted-ref.exp
3876 * gdb.cp/fpointer.exp
3877 * gdb.cp/gdb1355.exp
3878 * gdb.cp/gdb2495.exp
3879 * gdb.cp/hang.exp
3880 * gdb.cp/impl-this.exp
3881 * gdb.cp/infcall-dlopen.exp
3882 * gdb.cp/inherit.exp
3883 * gdb.cp/iostream.exp
3884 * gdb.cp/koenig.exp
3885 * gdb.cp/local.exp
3886 * gdb.cp/m-data.exp
3887 * gdb.cp/m-static.exp
3888 * gdb.cp/mb-ctor.exp
3889 * gdb.cp/mb-inline.exp
3890 * gdb.cp/mb-templates.exp
3891 * gdb.cp/member-name.exp
3892 * gdb.cp/member-ptr.exp
3893 * gdb.cp/meth-typedefs.exp
3894 * gdb.cp/method.exp
3895 * gdb.cp/method2.exp
3896 * gdb.cp/minsym-fallback.exp
3897 * gdb.cp/misc.exp
3898 * gdb.cp/namelessclass.exp
3899 * gdb.cp/namespace-enum.exp
3900 * gdb.cp/namespace-nested-import.exp
3901 * gdb.cp/namespace.exp
3902 * gdb.cp/nextoverthrow.exp
3903 * gdb.cp/no-dmgl-verbose.exp
3904 * gdb.cp/non-trivial-retval.exp
3905 * gdb.cp/noparam.exp
3906 * gdb.cp/nsdecl.exp
3907 * gdb.cp/nsimport.exp
3908 * gdb.cp/nsnested.exp
3909 * gdb.cp/nsnoimports.exp
3910 * gdb.cp/nsrecurs.exp
3911 * gdb.cp/nsstress.exp
3912 * gdb.cp/nsusing.exp
3913 * gdb.cp/operator.exp
3914 * gdb.cp/oranking.exp
3915 * gdb.cp/overload-const.exp
3916 * gdb.cp/overload.exp
3917 * gdb.cp/ovldbreak.exp
3918 * gdb.cp/ovsrch.exp
3919 * gdb.cp/paren-type.exp
3920 * gdb.cp/parse-lang.exp
3921 * gdb.cp/pass-by-ref.exp
3922 * gdb.cp/pr-1023.exp
3923 * gdb.cp/pr-1210.exp
3924 * gdb.cp/pr-574.exp
3925 * gdb.cp/pr10687.exp
3926 * gdb.cp/pr12028.exp
3927 * gdb.cp/pr17132.exp
3928 * gdb.cp/pr17494.exp
3929 * gdb.cp/pr9067.exp
3930 * gdb.cp/pr9167.exp
3931 * gdb.cp/pr9631.exp
3932 * gdb.cp/printmethod.exp
3933 * gdb.cp/psmang.exp
3934 * gdb.cp/psymtab-parameter.exp
3935 * gdb.cp/ptype-cv-cp.exp
3936 * gdb.cp/ptype-flags.exp
3937 * gdb.cp/re-set-overloaded.exp
3938 * gdb.cp/ref-types.exp
3939 * gdb.cp/rtti.exp
3940 * gdb.cp/scope-err.exp
3941 * gdb.cp/shadow.exp
3942 * gdb.cp/smartp.exp
3943 * gdb.cp/static-method.exp
3944 * gdb.cp/static-print-quit.exp
3945 * gdb.cp/temargs.exp
3946 * gdb.cp/templates.exp
3947 * gdb.cp/try_catch.exp
3948 * gdb.cp/typedef-operator.exp
3949 * gdb.cp/typeid.exp
3950 * gdb.cp/userdef.exp
3951 * gdb.cp/using-crash.exp
3952 * gdb.cp/var-tag.exp
3953 * gdb.cp/virtbase.exp
3954 * gdb.cp/virtfunc.exp
3955 * gdb.cp/virtfunc2.exp
3956 * gdb.cp/vla-cxx.exp
3957 * gdb.disasm/t01_mov.exp
3958 * gdb.disasm/t02_mova.exp
3959 * gdb.disasm/t03_add.exp
3960 * gdb.disasm/t04_sub.exp
3961 * gdb.disasm/t05_cmp.exp
3962 * gdb.disasm/t06_ari2.exp
3963 * gdb.disasm/t07_ari3.exp
3964 * gdb.disasm/t08_or.exp
3965 * gdb.disasm/t09_xor.exp
3966 * gdb.disasm/t10_and.exp
3967 * gdb.disasm/t11_logs.exp
3968 * gdb.disasm/t12_bit.exp
3969 * gdb.disasm/t13_otr.exp
3970 * gdb.dlang/circular.exp
3971 * gdb.dwarf2/arr-stride.exp
3972 * gdb.dwarf2/arr-subrange.exp
3973 * gdb.dwarf2/atomic-type.exp
3974 * gdb.dwarf2/bad-regnum.exp
3975 * gdb.dwarf2/bitfield-parent-optimized-out.exp
3976 * gdb.dwarf2/callframecfa.exp
3977 * gdb.dwarf2/clztest.exp
3978 * gdb.dwarf2/corrupt.exp
3979 * gdb.dwarf2/data-loc.exp
3980 * gdb.dwarf2/dup-psym.exp
3981 * gdb.dwarf2/dw2-anon-mptr.exp
3982 * gdb.dwarf2/dw2-anonymous-func.exp
3983 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
3984 * gdb.dwarf2/dw2-bad-unresolved.exp
3985 * gdb.dwarf2/dw2-basic.exp
3986 * gdb.dwarf2/dw2-canonicalize-type.exp
3987 * gdb.dwarf2/dw2-case-insensitive.exp
3988 * gdb.dwarf2/dw2-common-block.exp
3989 * gdb.dwarf2/dw2-compdir-oldgcc.exp
3990 * gdb.dwarf2/dw2-compressed.exp
3991 * gdb.dwarf2/dw2-const.exp
3992 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
3993 * gdb.dwarf2/dw2-cu-size.exp
3994 * gdb.dwarf2/dw2-dup-frame.exp
3995 * gdb.dwarf2/dw2-entry-value.exp
3996 * gdb.dwarf2/dw2-icycle.exp
3997 * gdb.dwarf2/dw2-ifort-parameter.exp
3998 * gdb.dwarf2/dw2-inline-break.exp
3999 * gdb.dwarf2/dw2-inline-param.exp
4000 * gdb.dwarf2/dw2-intercu.exp
4001 * gdb.dwarf2/dw2-intermix.exp
4002 * gdb.dwarf2/dw2-lexical-block-bare.exp
4003 * gdb.dwarf2/dw2-linkage-name-trust.exp
4004 * gdb.dwarf2/dw2-minsym-in-cu.exp
4005 * gdb.dwarf2/dw2-noloc.exp
4006 * gdb.dwarf2/dw2-op-call.exp
4007 * gdb.dwarf2/dw2-op-out-param.exp
4008 * gdb.dwarf2/dw2-opt-structptr.exp
4009 * gdb.dwarf2/dw2-param-error.exp
4010 * gdb.dwarf2/dw2-producer.exp
4011 * gdb.dwarf2/dw2-ranges-base.exp
4012 * gdb.dwarf2/dw2-ref-missing-frame.exp
4013 * gdb.dwarf2/dw2-reg-undefined.exp
4014 * gdb.dwarf2/dw2-regno-invalid.exp
4015 * gdb.dwarf2/dw2-restore.exp
4016 * gdb.dwarf2/dw2-restrict.exp
4017 * gdb.dwarf2/dw2-single-line-discriminators.exp
4018 * gdb.dwarf2/dw2-strp.exp
4019 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4020 * gdb.dwarf2/dw2-unresolved.exp
4021 * gdb.dwarf2/dw2-var-zero-addr.exp
4022 * gdb.dwarf2/dw4-sig-types.exp
4023 * gdb.dwarf2/dwz.exp
4024 * gdb.dwarf2/dynarr-ptr.exp
4025 * gdb.dwarf2/enum-type.exp
4026 * gdb.dwarf2/gdb-index.exp
4027 * gdb.dwarf2/implptr-64bit.exp
4028 * gdb.dwarf2/implptr-optimized-out.exp
4029 * gdb.dwarf2/implptr.exp
4030 * gdb.dwarf2/implref-array.exp
4031 * gdb.dwarf2/implref-const.exp
4032 * gdb.dwarf2/implref-global.exp
4033 * gdb.dwarf2/implref-struct.exp
4034 * gdb.dwarf2/mac-fileno.exp
4035 * gdb.dwarf2/main-subprogram.exp
4036 * gdb.dwarf2/member-ptr-forwardref.exp
4037 * gdb.dwarf2/method-ptr.exp
4038 * gdb.dwarf2/missing-sig-type.exp
4039 * gdb.dwarf2/nonvar-access.exp
4040 * gdb.dwarf2/opaque-type-lookup.exp
4041 * gdb.dwarf2/pieces-optimized-out.exp
4042 * gdb.dwarf2/pieces.exp
4043 * gdb.dwarf2/pr10770.exp
4044 * gdb.dwarf2/pr13961.exp
4045 * gdb.dwarf2/staticvirtual.exp
4046 * gdb.dwarf2/subrange.exp
4047 * gdb.dwarf2/symtab-producer.exp
4048 * gdb.dwarf2/trace-crash.exp
4049 * gdb.dwarf2/typeddwarf.exp
4050 * gdb.dwarf2/valop.exp
4051 * gdb.dwarf2/watch-notconst.exp
4052 * gdb.fortran/array-element.exp
4053 * gdb.fortran/charset.exp
4054 * gdb.fortran/common-block.exp
4055 * gdb.fortran/complex.exp
4056 * gdb.fortran/derived-type-function.exp
4057 * gdb.fortran/derived-type.exp
4058 * gdb.fortran/logical.exp
4059 * gdb.fortran/module.exp
4060 * gdb.fortran/multi-dim.exp
4061 * gdb.fortran/nested-funcs.exp
4062 * gdb.fortran/print-formatted.exp
4063 * gdb.fortran/subarray.exp
4064 * gdb.fortran/vla-alloc-assoc.exp
4065 * gdb.fortran/vla-datatypes.exp
4066 * gdb.fortran/vla-history.exp
4067 * gdb.fortran/vla-ptr-info.exp
4068 * gdb.fortran/vla-ptype-sub.exp
4069 * gdb.fortran/vla-ptype.exp
4070 * gdb.fortran/vla-sizeof.exp
4071 * gdb.fortran/vla-type.exp
4072 * gdb.fortran/vla-value-sub-arbitrary.exp
4073 * gdb.fortran/vla-value-sub-finish.exp
4074 * gdb.fortran/vla-value-sub.exp
4075 * gdb.fortran/vla-value.exp
4076 * gdb.fortran/whatis_type.exp
4077 * gdb.go/chan.exp
4078 * gdb.go/handcall.exp
4079 * gdb.go/hello.exp
4080 * gdb.go/integers.exp
4081 * gdb.go/methods.exp
4082 * gdb.go/package.exp
4083 * gdb.go/strings.exp
4084 * gdb.go/types.exp
4085 * gdb.go/unsafe.exp
4086 * gdb.guile/scm-arch.exp
4087 * gdb.guile/scm-block.exp
4088 * gdb.guile/scm-breakpoint.exp
4089 * gdb.guile/scm-cmd.exp
4090 * gdb.guile/scm-disasm.exp
4091 * gdb.guile/scm-equal.exp
4092 * gdb.guile/scm-frame-args.exp
4093 * gdb.guile/scm-frame-inline.exp
4094 * gdb.guile/scm-frame.exp
4095 * gdb.guile/scm-iterator.exp
4096 * gdb.guile/scm-math.exp
4097 * gdb.guile/scm-objfile.exp
4098 * gdb.guile/scm-ports.exp
4099 * gdb.guile/scm-symbol.exp
4100 * gdb.guile/scm-symtab.exp
4101 * gdb.guile/scm-value-cc.exp
4102 * gdb.guile/types-module.exp
4103 * gdb.linespec/break-ask.exp
4104 * gdb.linespec/cpexplicit.exp
4105 * gdb.linespec/explicit.exp
4106 * gdb.linespec/keywords.exp
4107 * gdb.linespec/linespec.exp
4108 * gdb.linespec/ls-dollar.exp
4109 * gdb.linespec/ls-errs.exp
4110 * gdb.linespec/skip-two.exp
4111 * gdb.linespec/thread.exp
4112 * gdb.mi/mi-async.exp
4113 * gdb.mi/mi-basics.exp
4114 * gdb.mi/mi-break.exp
4115 * gdb.mi/mi-catch-load.exp
4116 * gdb.mi/mi-cli.exp
4117 * gdb.mi/mi-cmd-param-changed.exp
4118 * gdb.mi/mi-console.exp
4119 * gdb.mi/mi-detach.exp
4120 * gdb.mi/mi-disassemble.exp
4121 * gdb.mi/mi-eval.exp
4122 * gdb.mi/mi-file-transfer.exp
4123 * gdb.mi/mi-file.exp
4124 * gdb.mi/mi-fill-memory.exp
4125 * gdb.mi/mi-inheritance-syntax-error.exp
4126 * gdb.mi/mi-linespec-err-cp.exp
4127 * gdb.mi/mi-logging.exp
4128 * gdb.mi/mi-memory-changed.exp
4129 * gdb.mi/mi-read-memory.exp
4130 * gdb.mi/mi-record-changed.exp
4131 * gdb.mi/mi-reg-undefined.exp
4132 * gdb.mi/mi-regs.exp
4133 * gdb.mi/mi-return.exp
4134 * gdb.mi/mi-reverse.exp
4135 * gdb.mi/mi-simplerun.exp
4136 * gdb.mi/mi-solib.exp
4137 * gdb.mi/mi-stack.exp
4138 * gdb.mi/mi-stepi.exp
4139 * gdb.mi/mi-syn-frame.exp
4140 * gdb.mi/mi-until.exp
4141 * gdb.mi/mi-var-block.exp
4142 * gdb.mi/mi-var-child.exp
4143 * gdb.mi/mi-var-cmd.exp
4144 * gdb.mi/mi-var-cp.exp
4145 * gdb.mi/mi-var-display.exp
4146 * gdb.mi/mi-var-invalidate.exp
4147 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4148 * gdb.mi/mi-vla-fortran.exp
4149 * gdb.mi/mi-watch.exp
4150 * gdb.mi/mi2-var-child.exp
4151 * gdb.mi/user-selected-context-sync.exp
4152 * gdb.modula2/unbounded-array.exp
4153 * gdb.multi/dummy-frame-restore.exp
4154 * gdb.multi/multi-arch-exec.exp
4155 * gdb.multi/multi-arch.exp
4156 * gdb.multi/tids.exp
4157 * gdb.multi/watchpoint-multi.exp
4158 * gdb.opencl/callfuncs.exp
4159 * gdb.opencl/convs_casts.exp
4160 * gdb.opencl/datatypes.exp
4161 * gdb.opencl/operators.exp
4162 * gdb.opencl/vec_comps.exp
4163 * gdb.opt/clobbered-registers-O2.exp
4164 * gdb.opt/inline-break.exp
4165 * gdb.opt/inline-bt.exp
4166 * gdb.opt/inline-cmds.exp
4167 * gdb.opt/inline-locals.exp
4168 * gdb.pascal/case-insensitive-symbols.exp
4169 * gdb.pascal/floats.exp
4170 * gdb.pascal/gdb11492.exp
4171 * gdb.python/lib-types.exp
4172 * gdb.python/py-arch.exp
4173 * gdb.python/py-as-string.exp
4174 * gdb.python/py-bad-printers.exp
4175 * gdb.python/py-block.exp
4176 * gdb.python/py-breakpoint-create-fail.exp
4177 * gdb.python/py-breakpoint.exp
4178 * gdb.python/py-caller-is.exp
4179 * gdb.python/py-cmd.exp
4180 * gdb.python/py-explore-cc.exp
4181 * gdb.python/py-explore.exp
4182 * gdb.python/py-finish-breakpoint.exp
4183 * gdb.python/py-finish-breakpoint2.exp
4184 * gdb.python/py-frame-args.exp
4185 * gdb.python/py-frame-inline.exp
4186 * gdb.python/py-frame.exp
4187 * gdb.python/py-framefilter-mi.exp
4188 * gdb.python/py-infthread.exp
4189 * gdb.python/py-lazy-string.exp
4190 * gdb.python/py-linetable.exp
4191 * gdb.python/py-mi-events.exp
4192 * gdb.python/py-mi-objfile.exp
4193 * gdb.python/py-mi.exp
4194 * gdb.python/py-objfile.exp
4195 * gdb.python/py-pp-integral.exp
4196 * gdb.python/py-pp-maint.exp
4197 * gdb.python/py-pp-re-notag.exp
4198 * gdb.python/py-pp-registration.exp
4199 * gdb.python/py-recurse-unwind.exp
4200 * gdb.python/py-strfns.exp
4201 * gdb.python/py-symbol.exp
4202 * gdb.python/py-symtab.exp
4203 * gdb.python/py-sync-interp.exp
4204 * gdb.python/py-typeprint.exp
4205 * gdb.python/py-unwind-maint.exp
4206 * gdb.python/py-unwind.exp
4207 * gdb.python/py-value-cc.exp
4208 * gdb.python/py-xmethods.exp
4209 * gdb.reverse/amd64-tailcall-reverse.exp
4210 * gdb.reverse/break-precsave.exp
4211 * gdb.reverse/break-reverse.exp
4212 * gdb.reverse/consecutive-precsave.exp
4213 * gdb.reverse/consecutive-reverse.exp
4214 * gdb.reverse/finish-precsave.exp
4215 * gdb.reverse/finish-reverse-bkpt.exp
4216 * gdb.reverse/finish-reverse.exp
4217 * gdb.reverse/fstatat-reverse.exp
4218 * gdb.reverse/getresuid-reverse.exp
4219 * gdb.reverse/i386-precsave.exp
4220 * gdb.reverse/i386-reverse.exp
4221 * gdb.reverse/i386-sse-reverse.exp
4222 * gdb.reverse/i387-env-reverse.exp
4223 * gdb.reverse/i387-stack-reverse.exp
4224 * gdb.reverse/insn-reverse.exp
4225 * gdb.reverse/machinestate-precsave.exp
4226 * gdb.reverse/machinestate.exp
4227 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4228 * gdb.reverse/pipe-reverse.exp
4229 * gdb.reverse/readv-reverse.exp
4230 * gdb.reverse/recvmsg-reverse.exp
4231 * gdb.reverse/rerun-prec.exp
4232 * gdb.reverse/s390-mvcle.exp
4233 * gdb.reverse/step-precsave.exp
4234 * gdb.reverse/step-reverse.exp
4235 * gdb.reverse/time-reverse.exp
4236 * gdb.reverse/until-precsave.exp
4237 * gdb.reverse/until-reverse.exp
4238 * gdb.reverse/waitpid-reverse.exp
4239 * gdb.reverse/watch-precsave.exp
4240 * gdb.reverse/watch-reverse.exp
4241 * gdb.rust/generics.exp
4242 * gdb.rust/methods.exp
4243 * gdb.rust/modules.exp
4244 * gdb.rust/simple.exp
4245 * gdb.server/connect-with-no-symbol-file.exp
4246 * gdb.server/ext-attach.exp
4247 * gdb.server/ext-restart.exp
4248 * gdb.server/ext-wrapper.exp
4249 * gdb.server/file-transfer.exp
4250 * gdb.server/server-exec-info.exp
4251 * gdb.server/server-kill.exp
4252 * gdb.server/server-mon.exp
4253 * gdb.server/wrapper.exp
4254 * gdb.stabs/exclfwd.exp
4255 * gdb.stabs/gdb11479.exp
4256 * gdb.threads/clone-new-thread-event.exp
4257 * gdb.threads/corethreads.exp
4258 * gdb.threads/current-lwp-dead.exp
4259 * gdb.threads/dlopen-libpthread.exp
4260 * gdb.threads/gcore-thread.exp
4261 * gdb.threads/sigstep-threads.exp
4262 * gdb.threads/watchpoint-fork.exp
4263 * gdb.trace/actions-changed.exp
4264 * gdb.trace/backtrace.exp
4265 * gdb.trace/change-loc.exp
4266 * gdb.trace/circ.exp
4267 * gdb.trace/collection.exp
4268 * gdb.trace/disconnected-tracing.exp
4269 * gdb.trace/ftrace.exp
4270 * gdb.trace/mi-trace-frame-collected.exp
4271 * gdb.trace/mi-trace-unavailable.exp
4272 * gdb.trace/mi-traceframe-changed.exp
4273 * gdb.trace/mi-tsv-changed.exp
4274 * gdb.trace/no-attach-trace.exp
4275 * gdb.trace/passc-dyn.exp
4276 * gdb.trace/qtro.exp
4277 * gdb.trace/range-stepping.exp
4278 * gdb.trace/read-memory.exp
4279 * gdb.trace/save-trace.exp
4280 * gdb.trace/signal.exp
4281 * gdb.trace/status-stop.exp
4282 * gdb.trace/tfile.exp
4283 * gdb.trace/trace-break.exp
4284 * gdb.trace/trace-buffer-size.exp
4285 * gdb.trace/trace-condition.exp
4286 * gdb.trace/tracefile-pseudo-reg.exp
4287 * gdb.trace/tstatus.exp
4288 * gdb.trace/unavailable.exp
4289 * gdb.trace/while-dyn.exp
4290 * gdb.trace/while-stepping.exp
4291
4292 2016-12-22 Doug Evans <xdje42@gmail.com>
4293
4294 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4295 and msymbols.
4296
4297 2016-12-19 Yao Qi <yao.qi@linaro.org>
4298
4299 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4300 (test_with_self): Don't call do_steps_and_nexts, and remove
4301 code about stepping into xmalloc.
4302
4303 2016-12-09 Yao Qi <yao.qi@linaro.org>
4304
4305 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4306
4307 2016-12-09 Yao Qi <yao.qi@linaro.org>
4308
4309 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4310
4311 2016-12-09 Pedro Alves <palves@redhat.com>
4312
4313 * gdb.base/all-architectures-0.exp: New file.
4314 * gdb.base/all-architectures-1.exp: New file.
4315 * gdb.base/all-architectures-2.exp: New file.
4316 * gdb.base/all-architectures-3.exp: New file.
4317 * gdb.base/all-architectures-4.exp: New file.
4318 * gdb.base/all-architectures-5.exp: New file.
4319 * gdb.base/all-architectures-6.exp: New file.
4320 * gdb.base/all-architectures-7.exp: New file.
4321 * gdb.base/all-architectures.exp.in: New file.
4322
4323 2016-12-09 Yao Qi <yao.qi@linaro.org>
4324
4325 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4326
4327 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4328
4329 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4330 possible.
4331 Remove useless pattern-matching code.
4332
4333 2016-12-02 Pedro Alves <palves@redhat.com>
4334
4335 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4336 procedure.
4337 (top level): Call it.
4338
4339 2016-12-02 Pedro Alves <palves@redhat.com>
4340
4341 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4342 New procedure.
4343 (top level): Call it.
4344
4345 2016-12-02 Pedro Alves <palves@redhat.com>
4346
4347 PR cli/20559
4348 * gdb.base/commands.exp (user_defined_command_args_eval): New
4349 procedure.
4350 (top level): Call it.
4351
4352 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4353
4354 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4355 timeout handling.
4356
4357 2016-12-02 Tom Tromey <tom@tromey.com>
4358
4359 * gdb.dwarf2/main-subprogram.c: New file.
4360 * gdb.dwarf2/main-subprogram.exp: New file.
4361
4362 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4363
4364 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4365 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4366 gdb_test_no_output for a couple of cases.
4367 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4368
4369 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4370
4371 Fix test names and standardize compilation error messages throughout
4372 the following files:
4373
4374 * gdb.ada/start.exp
4375 * gdb.arch/alpha-step.exp
4376 * gdb.arch/e500-prologue.exp
4377 * gdb.arch/ftrace-insn-reloc.exp
4378 * gdb.arch/gdb1291.exp
4379 * gdb.arch/gdb1431.exp
4380 * gdb.arch/gdb1558.exp
4381 * gdb.arch/i386-dr3-watch.exp
4382 * gdb.arch/i386-sse-stack-align.exp
4383 * gdb.arch/ia64-breakpoint-shadow.exp
4384 * gdb.arch/pa-nullify.exp
4385 * gdb.arch/powerpc-aix-prologue.exp
4386 * gdb.arch/thumb-bx-pc.exp
4387 * gdb.base/annota1.exp
4388 * gdb.base/annota3.exp
4389 * gdb.base/arrayidx.exp
4390 * gdb.base/assign.exp
4391 * gdb.base/attach.exp
4392 * gdb.base/auxv.exp
4393 * gdb.base/bang.exp
4394 * gdb.base/bfp-test.exp
4395 * gdb.base/bigcore.exp
4396 * gdb.base/bitfields2.exp
4397 * gdb.base/break-fun-addr.exp
4398 * gdb.base/break-probes.exp
4399 * gdb.base/call-rt-st.exp
4400 * gdb.base/callexit.exp
4401 * gdb.base/catch-fork-kill.exp
4402 * gdb.base/charset.exp
4403 * gdb.base/checkpoint.exp
4404 * gdb.base/comprdebug.exp
4405 * gdb.base/constvars.exp
4406 * gdb.base/coredump-filter.exp
4407 * gdb.base/cursal.exp
4408 * gdb.base/cvexpr.exp
4409 * gdb.base/detach.exp
4410 * gdb.base/display.exp
4411 * gdb.base/dmsym.exp
4412 * gdb.base/dprintf-pending.exp
4413 * gdb.base/dso2dso.exp
4414 * gdb.base/dtrace-probe.exp
4415 * gdb.base/dump.exp
4416 * gdb.base/enum_cond.exp
4417 * gdb.base/exe-lock.exp
4418 * gdb.base/exec-invalid-sysroot.exp
4419 * gdb.base/execl-update-breakpoints.exp
4420 * gdb.base/exprs.exp
4421 * gdb.base/fileio.exp
4422 * gdb.base/find.exp
4423 * gdb.base/finish.exp
4424 * gdb.base/fixsection.exp
4425 * gdb.base/foll-vfork.exp
4426 * gdb.base/frame-args.exp
4427 * gdb.base/gcore.exp
4428 * gdb.base/gdb1250.exp
4429 * gdb.base/global-var-nested-by-dso.exp
4430 * gdb.base/gnu-ifunc.exp
4431 * gdb.base/hashline1.exp
4432 * gdb.base/hashline2.exp
4433 * gdb.base/hashline3.exp
4434 * gdb.base/hbreak-in-shr-unsupported.exp
4435 * gdb.base/huge.exp
4436 * gdb.base/infcall-input.exp
4437 * gdb.base/info-fun.exp
4438 * gdb.base/info-shared.exp
4439 * gdb.base/jit-simple.exp
4440 * gdb.base/jit-so.exp
4441 * gdb.base/jit.exp
4442 * gdb.base/jump.exp
4443 * gdb.base/label.exp
4444 * gdb.base/lineinc.exp
4445 * gdb.base/logical.exp
4446 * gdb.base/longjmp.exp
4447 * gdb.base/macscp.exp
4448 * gdb.base/miscexprs.exp
4449 * gdb.base/new-ui-echo.exp
4450 * gdb.base/new-ui-pending-input.exp
4451 * gdb.base/new-ui.exp
4452 * gdb.base/nodebug.exp
4453 * gdb.base/nofield.exp
4454 * gdb.base/offsets.exp
4455 * gdb.base/overlays.exp
4456 * gdb.base/pending.exp
4457 * gdb.base/pointers.exp
4458 * gdb.base/pr11022.exp
4459 * gdb.base/printcmds.exp
4460 * gdb.base/prologue.exp
4461 * gdb.base/ptr-typedef.exp
4462 * gdb.base/realname-expand.exp
4463 * gdb.base/relativedebug.exp
4464 * gdb.base/relocate.exp
4465 * gdb.base/remote.exp
4466 * gdb.base/reread.exp
4467 * gdb.base/return2.exp
4468 * gdb.base/savedregs.exp
4469 * gdb.base/sep.exp
4470 * gdb.base/sepdebug.exp
4471 * gdb.base/sepsymtab.exp
4472 * gdb.base/set-inferior-tty.exp
4473 * gdb.base/setshow.exp
4474 * gdb.base/shlib-call.exp
4475 * gdb.base/sigaltstack.exp
4476 * gdb.base/siginfo-addr.exp
4477 * gdb.base/signals.exp
4478 * gdb.base/signull.exp
4479 * gdb.base/sigrepeat.exp
4480 * gdb.base/so-impl-ld.exp
4481 * gdb.base/solib-display.exp
4482 * gdb.base/solib-overlap.exp
4483 * gdb.base/solib-search.exp
4484 * gdb.base/solib-symbol.exp
4485 * gdb.base/structs.exp
4486 * gdb.base/structs2.exp
4487 * gdb.base/symtab-search-order.exp
4488 * gdb.base/twice.exp
4489 * gdb.base/unload.exp
4490 * gdb.base/varargs.exp
4491 * gdb.base/watchpoint-solib.exp
4492 * gdb.base/watchpoint.exp
4493 * gdb.base/whatis.exp
4494 * gdb.base/wrong_frame_bt_full.exp
4495 * gdb.btrace/dlopen.exp
4496 * gdb.cell/ea-standalone.exp
4497 * gdb.cell/ea-test.exp
4498 * gdb.cp/dispcxx.exp
4499 * gdb.cp/gdb2384.exp
4500 * gdb.cp/method2.exp
4501 * gdb.cp/nextoverthrow.exp
4502 * gdb.cp/pr10728.exp
4503 * gdb.disasm/am33.exp
4504 * gdb.disasm/h8300s.exp
4505 * gdb.disasm/mn10300.exp
4506 * gdb.disasm/sh3.exp
4507 * gdb.dwarf2/dw2-dir-file-name.exp
4508 * gdb.fortran/complex.exp
4509 * gdb.fortran/library-module.exp
4510 * gdb.guile/scm-pretty-print.exp
4511 * gdb.guile/scm-symbol.exp
4512 * gdb.guile/scm-type.exp
4513 * gdb.guile/scm-value.exp
4514 * gdb.linespec/linespec.exp
4515 * gdb.mi/gdb701.exp
4516 * gdb.mi/gdb792.exp
4517 * gdb.mi/mi-breakpoint-changed.exp
4518 * gdb.mi/mi-dprintf-pending.exp
4519 * gdb.mi/mi-dprintf.exp
4520 * gdb.mi/mi-exit-code.exp
4521 * gdb.mi/mi-pending.exp
4522 * gdb.mi/mi-solib.exp
4523 * gdb.mi/new-ui-mi-sync.exp
4524 * gdb.mi/pr11022.exp
4525 * gdb.mi/user-selected-context-sync.exp
4526 * gdb.opt/solib-intra-step.exp
4527 * gdb.python/py-events.exp
4528 * gdb.python/py-finish-breakpoint.exp
4529 * gdb.python/py-mi.exp
4530 * gdb.python/py-prettyprint.exp
4531 * gdb.python/py-shared.exp
4532 * gdb.python/py-symbol.exp
4533 * gdb.python/py-template.exp
4534 * gdb.python/py-type.exp
4535 * gdb.python/py-value.exp
4536 * gdb.reverse/solib-precsave.exp
4537 * gdb.reverse/solib-reverse.exp
4538 * gdb.server/solib-list.exp
4539 * gdb.stabs/weird.exp
4540 * gdb.threads/reconnect-signal.exp
4541 * gdb.threads/stepi-random-signal.exp
4542 * gdb.trace/actions.exp
4543 * gdb.trace/ax.exp
4544 * gdb.trace/backtrace.exp
4545 * gdb.trace/change-loc.exp
4546 * gdb.trace/deltrace.exp
4547 * gdb.trace/ftrace-lock.exp
4548 * gdb.trace/ftrace.exp
4549 * gdb.trace/infotrace.exp
4550 * gdb.trace/mi-tracepoint-changed.exp
4551 * gdb.trace/packetlen.exp
4552 * gdb.trace/passcount.exp
4553 * gdb.trace/pending.exp
4554 * gdb.trace/range-stepping.exp
4555 * gdb.trace/report.exp
4556 * gdb.trace/stap-trace.exp
4557 * gdb.trace/tfind.exp
4558 * gdb.trace/trace-break.exp
4559 * gdb.trace/trace-condition.exp
4560 * gdb.trace/trace-enable-disable.exp
4561 * gdb.trace/trace-mt.exp
4562 * gdb.trace/tracecmd.exp
4563 * gdb.trace/tspeed.exp
4564 * gdb.trace/tsv.exp
4565 * lib/perftest.exp
4566
4567 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4568
4569 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4570 with gdb_test_no_output.
4571 Use command as test name.
4572
4573 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4574
4575 Fix test names starting with uppercase throughout the files.
4576
4577 * gdb.ada/assign_1.exp
4578 * gdb.ada/boolean_expr.exp
4579 * gdb.base/arrayidx.exp
4580 * gdb.base/del.exp
4581 * gdb.base/gcore-buffer-overflow.exp
4582 * gdb.base/testenv.exp
4583 * gdb.compile/compile.exp
4584 * gdb.python/py-framefilter-invalidarg.exp
4585 * gdb.python/py-framefilter.exp
4586
4587 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4588
4589 Fix test names starting with uppercase throughout the files.
4590
4591 * gdb.ada/array_return.exp
4592 * gdb.ada/expr_delims.exp
4593 * gdb.ada/mi_dyn_arr.exp
4594 * gdb.ada/mi_interface.exp
4595 * gdb.ada/mi_var_array.exp
4596 * gdb.ada/watch_arg.exp
4597 * gdb.arch/alpha-step.exp
4598 * gdb.arch/altivec-regs.exp
4599 * gdb.arch/e500-regs.exp
4600 * gdb.arch/powerpc-d128-regs.exp
4601 * gdb.base/arrayidx.exp
4602 * gdb.base/break.exp
4603 * gdb.base/checkpoint.exp
4604 * gdb.base/debug-expr.exp
4605 * gdb.base/dmsym.exp
4606 * gdb.base/radix.exp
4607 * gdb.base/sepdebug.exp
4608 * gdb.base/testenv.exp
4609 * gdb.base/watch_thread_num.exp
4610 * gdb.base/watchpoint-cond-gone.exp
4611 * gdb.cell/break.exp
4612 * gdb.cell/ea-cache.exp
4613 * gdb.compile/compile.exp
4614 * gdb.cp/gdb2495.exp
4615 * gdb.gdb/selftest.exp
4616 * gdb.gdb/xfullpath.exp
4617 * gdb.go/hello.exp
4618 * gdb.go/integers.exp
4619 * gdb.objc/basicclass.exp
4620 * gdb.pascal/hello.exp
4621 * gdb.pascal/integers.exp
4622 * gdb.python/py-breakpoint.exp
4623 * gdb.python/py-cmd.exp
4624 * gdb.python/py-linetable.exp
4625 * gdb.python/py-xmethods.exp
4626 * gdb.python/python.exp
4627 * gdb.reverse/consecutive-precsave.exp
4628 * gdb.reverse/finish-precsave.exp
4629 * gdb.reverse/i386-precsave.exp
4630 * gdb.reverse/machinestate-precsave.exp
4631 * gdb.reverse/sigall-precsave.exp
4632 * gdb.reverse/solib-precsave.exp
4633 * gdb.reverse/step-precsave.exp
4634 * gdb.reverse/until-precsave.exp
4635 * gdb.reverse/watch-precsave.exp
4636 * gdb.threads/leader-exit.exp
4637 * gdb.threads/pthreads.exp
4638 * gdb.threads/wp-replication.exp
4639 * gdb.trace/actions.exp
4640 * gdb.trace/mi-tsv-changed.exp
4641 * gdb.trace/tsv.exp
4642
4643 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4644
4645 Fix test names starting with uppercase throughout the files.
4646
4647 * gdb.arch/i386-bp_permanent.exp
4648 * gdb.arch/i386-gnu-cfi.exp
4649 * gdb.base/disasm-end-cu.exp
4650 * gdb.base/macscp.exp
4651 * gdb.base/pending.exp
4652 * gdb.base/watch_thread_num.exp
4653 * gdb.cp/exception.exp
4654 * gdb.cp/gdb2495.exp
4655 * gdb.cp/local.exp
4656 * gdb.python/py-evsignal.exp
4657 * gdb.python/python.exp
4658 * gdb.trace/tracecmd.exp
4659
4660 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4661
4662 Fix test names starting with uppercase throughout the files.
4663
4664 * gdb.base/charset.exp
4665 * gdb.base/eval.exp
4666 * gdb.base/multi-forks.exp
4667 * gdb.guile/scm-progspace.exp
4668 * gdb.opencl/datatypes.exp
4669 * gdb.python/py-block.exp
4670 * gdb.python/py-function.exp
4671 * gdb.python/py-symbol.exp
4672 * gdb.python/py-symtab.exp
4673 * gdb.python/py-xmethods.exp
4674 * gdb.reverse/break-precsave.exp
4675 * gdb.reverse/break-reverse.exp
4676 * gdb.reverse/consecutive-precsave.exp
4677 * gdb.reverse/consecutive-reverse.exp
4678 * gdb.reverse/finish-precsave.exp
4679 * gdb.reverse/finish-reverse-bkpt.exp
4680 * gdb.reverse/finish-reverse.exp
4681 * gdb.reverse/fstatat-reverse.exp
4682 * gdb.reverse/getresuid-reverse.exp
4683 * gdb.reverse/i386-precsave.exp
4684 * gdb.reverse/i386-reverse.exp
4685 * gdb.reverse/i386-sse-reverse.exp
4686 * gdb.reverse/i387-stack-reverse.exp
4687 * gdb.reverse/insn-reverse.exp
4688 * gdb.reverse/machinestate-precsave.exp
4689 * gdb.reverse/machinestate.exp
4690 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4691 * gdb.reverse/pipe-reverse.exp
4692 * gdb.reverse/readv-reverse.exp
4693 * gdb.reverse/recvmsg-reverse.exp
4694 * gdb.reverse/rerun-prec.exp
4695 * gdb.reverse/s390-mvcle.exp
4696 * gdb.reverse/sigall-precsave.exp
4697 * gdb.reverse/sigall-reverse.exp
4698 * gdb.reverse/solib-precsave.exp
4699 * gdb.reverse/solib-reverse.exp
4700 * gdb.reverse/step-precsave.exp
4701 * gdb.reverse/step-reverse.exp
4702 * gdb.reverse/time-reverse.exp
4703 * gdb.reverse/until-precsave.exp
4704 * gdb.reverse/until-reverse.exp
4705 * gdb.reverse/waitpid-reverse.exp
4706 * gdb.reverse/watch-precsave.exp
4707 * gdb.reverse/watch-reverse.exp
4708
4709 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4710
4711 Fix test names starting with uppercase throughout the files.
4712
4713 * gdb.arch/i386-mpx-simple_segv.exp
4714 * gdb.arch/i386-mpx.exp
4715 * gdb.arch/i386-permbkpt.exp
4716 * gdb.arch/pa-nullify.exp
4717 * gdb.arch/powerpc-d128-regs.exp
4718 * gdb.arch/vsx-regs.exp
4719 * gdb.base/bfp-test.exp
4720 * gdb.base/break.exp
4721 * gdb.base/breakpoint-shadow.exp
4722 * gdb.base/callfuncs.exp
4723 * gdb.base/charset.exp
4724 * gdb.base/commands.exp
4725 * gdb.base/completion.exp
4726 * gdb.base/dfp-test.exp
4727 * gdb.base/echo.exp
4728 * gdb.base/ending-run.exp
4729 * gdb.base/eval.exp
4730 * gdb.base/expand-psymtabs.exp
4731 * gdb.base/float128.exp
4732 * gdb.base/floatn.exp
4733 * gdb.base/foll-exec-mode.exp
4734 * gdb.base/gdb1056.exp
4735 * gdb.base/gdb11531.exp
4736 * gdb.base/kill-after-signal.exp
4737 * gdb.base/multi-forks.exp
4738 * gdb.base/overlays.exp
4739 * gdb.base/pending.exp
4740 * gdb.base/sepdebug.exp
4741 * gdb.base/testenv.exp
4742 * gdb.base/valgrind-db-attach.exp
4743 * gdb.base/watch_thread_num.exp
4744 * gdb.base/watchpoint-cond-gone.exp
4745 * gdb.base/watchpoint.exp
4746 * gdb.base/watchpoints.exp
4747 * gdb.cp/arg-reference.exp
4748 * gdb.cp/baseenum.exp
4749 * gdb.cp/operator.exp
4750 * gdb.cp/shadow.exp
4751 * gdb.dwarf2/dw2-op-out-param.exp
4752 * gdb.dwarf2/dw2-reg-undefined.exp
4753 * gdb.go/chan.exp
4754 * gdb.go/hello.exp
4755 * gdb.go/integers.exp
4756 * gdb.go/methods.exp
4757 * gdb.go/package.exp
4758 * gdb.guile/scm-parameter.exp
4759 * gdb.guile/scm-progspace.exp
4760 * gdb.guile/scm-value.exp
4761 * gdb.mi/mi-pending.exp
4762 * gdb.mi/user-selected-context-sync.exp
4763 * gdb.multi/multi-attach.exp
4764 * gdb.multi/tids.exp
4765 * gdb.opt/clobbered-registers-O2.exp
4766 * gdb.pascal/floats.exp
4767 * gdb.pascal/integers.exp
4768 * gdb.python/py-block.exp
4769 * gdb.python/py-events.exp
4770 * gdb.python/py-parameter.exp
4771 * gdb.python/py-symbol.exp
4772 * gdb.python/py-symtab.exp
4773 * gdb.python/py-type.exp
4774 * gdb.python/py-value.exp
4775 * gdb.python/py-xmethods.exp
4776 * gdb.python/python.exp
4777 * gdb.reverse/break-precsave.exp
4778 * gdb.reverse/consecutive-precsave.exp
4779 * gdb.reverse/finish-precsave.exp
4780 * gdb.reverse/i386-precsave.exp
4781 * gdb.reverse/machinestate-precsave.exp
4782 * gdb.reverse/sigall-precsave.exp
4783 * gdb.reverse/solib-precsave.exp
4784 * gdb.reverse/step-precsave.exp
4785 * gdb.reverse/until-precsave.exp
4786 * gdb.reverse/watch-precsave.exp
4787 * gdb.server/ext-attach.exp
4788 * gdb.server/ext-restart.exp
4789 * gdb.server/ext-run.exp
4790 * gdb.server/ext-wrapper.exp
4791 * gdb.stabs/gdb11479.exp
4792 * gdb.stabs/weird.exp
4793 * gdb.threads/attach-many-short-lived-threads.exp
4794 * gdb.threads/kill.exp
4795 * gdb.threads/watchpoint-fork.exp
4796
4797 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4798
4799 Fix test names starting with uppercase throughout all the files below.
4800
4801 * gdb.ada/array_return.exp
4802 * gdb.ada/catch_ex.exp
4803 * gdb.ada/info_exc.exp
4804 * gdb.ada/mi_catch_ex.exp
4805 * gdb.ada/mi_dyn_arr.exp
4806 * gdb.ada/mi_ex_cond.exp
4807 * gdb.ada/mi_exc_info.exp
4808 * gdb.ada/mi_interface.exp
4809 * gdb.ada/mi_task_arg.exp
4810 * gdb.ada/mi_task_info.exp
4811 * gdb.ada/mi_var_array.exp
4812 * gdb.arch/alpha-step.exp
4813 * gdb.arch/amd64-disp-step.exp
4814 * gdb.arch/arm-disp-step.exp
4815 * gdb.arch/disp-step-insn-reloc.exp
4816 * gdb.arch/e500-prologue.exp
4817 * gdb.arch/ftrace-insn-reloc.exp
4818 * gdb.arch/gdb1558.exp
4819 * gdb.arch/i386-bp_permanent.exp
4820 * gdb.arch/i386-disp-step.exp
4821 * gdb.arch/i386-float.exp
4822 * gdb.arch/i386-gnu-cfi.exp
4823 * gdb.arch/ia64-breakpoint-shadow.exp
4824 * gdb.arch/mips16-thunks.exp
4825 * gdb.arch/pa-nullify.exp
4826 * gdb.arch/powerpc-aix-prologue.exp
4827 * gdb.arch/powerpc-power.exp
4828 * gdb.arch/ppc-dfp.exp
4829 * gdb.arch/s390-tdbregs.exp
4830 * gdb.arch/spu-info.exp
4831 * gdb.arch/spu-ls.exp
4832 * gdb.arch/thumb-bx-pc.exp
4833 * gdb.base/advance.exp
4834 * gdb.base/annota-input-while-running.exp
4835 * gdb.base/arrayidx.exp
4836 * gdb.base/asmlabel.exp
4837 * gdb.base/async.exp
4838 * gdb.base/attach-wait-input.exp
4839 * gdb.base/auto-connect-native-target.exp
4840 * gdb.base/batch-preserve-term-settings.exp
4841 * gdb.base/bfp-test.exp
4842 * gdb.base/bigcore.exp
4843 * gdb.base/bp-permanent.exp
4844 * gdb.base/break-always.exp
4845 * gdb.base/break-fun-addr.exp
4846 * gdb.base/break-idempotent.exp
4847 * gdb.base/break-main-file-remove-fail.exp
4848 * gdb.base/break-probes.exp
4849 * gdb.base/break-unload-file.exp
4850 * gdb.base/break.exp
4851 * gdb.base/call-ar-st.exp
4852 * gdb.base/call-rt-st.exp
4853 * gdb.base/call-sc.exp
4854 * gdb.base/call-signal-resume.exp
4855 * gdb.base/call-strs.exp
4856 * gdb.base/callexit.exp
4857 * gdb.base/callfuncs.exp
4858 * gdb.base/catch-gdb-caused-signals.exp
4859 * gdb.base/catch-signal-siginfo-cond.exp
4860 * gdb.base/catch-syscall.exp
4861 * gdb.base/compare-sections.exp
4862 * gdb.base/cond-eval-mode.exp
4863 * gdb.base/condbreak-call-false.exp
4864 * gdb.base/consecutive-step-over.exp
4865 * gdb.base/cursal.exp
4866 * gdb.base/disabled-location.exp
4867 * gdb.base/disasm-end-cu.exp
4868 * gdb.base/display.exp
4869 * gdb.base/double-prompt-target-event-error.exp
4870 * gdb.base/dprintf-bp-same-addr.exp
4871 * gdb.base/dprintf-detach.exp
4872 * gdb.base/dprintf-next.exp
4873 * gdb.base/dprintf-non-stop.exp
4874 * gdb.base/dprintf-pending.exp
4875 * gdb.base/dso2dso.exp
4876 * gdb.base/ending-run.exp
4877 * gdb.base/enum_cond.exp
4878 * gdb.base/examine-backward.exp
4879 * gdb.base/exe-lock.exp
4880 * gdb.base/exec-invalid-sysroot.exp
4881 * gdb.base/execl-update-breakpoints.exp
4882 * gdb.base/execution-termios.exp
4883 * gdb.base/fileio.exp
4884 * gdb.base/fixsection.exp
4885 * gdb.base/foll-exec-mode.exp
4886 * gdb.base/foll-exec.exp
4887 * gdb.base/fork-running-state.exp
4888 * gdb.base/frame-args.exp
4889 * gdb.base/fullpath-expand.exp
4890 * gdb.base/func-ptr.exp
4891 * gdb.base/gcore-relro-pie.exp
4892 * gdb.base/gdb1090.exp
4893 * gdb.base/gdb1555.exp
4894 * gdb.base/global-var-nested-by-dso.exp
4895 * gdb.base/gnu-ifunc.exp
4896 * gdb.base/hbreak-in-shr-unsupported.exp
4897 * gdb.base/hbreak-unmapped.exp
4898 * gdb.base/hook-stop.exp
4899 * gdb.base/infcall-input.exp
4900 * gdb.base/info-fun.exp
4901 * gdb.base/info-shared.exp
4902 * gdb.base/interrupt-noterm.exp
4903 * gdb.base/jit-so.exp
4904 * gdb.base/jit.exp
4905 * gdb.base/line-symtabs.exp
4906 * gdb.base/list.exp
4907 * gdb.base/longjmp.exp
4908 * gdb.base/macscp.exp
4909 * gdb.base/max-value-size.exp
4910 * gdb.base/nodebug.exp
4911 * gdb.base/nofield.exp
4912 * gdb.base/overlays.exp
4913 * gdb.base/paginate-after-ctrl-c-running.exp
4914 * gdb.base/paginate-bg-execution.exp
4915 * gdb.base/paginate-inferior-exit.exp
4916 * gdb.base/pending.exp
4917 * gdb.base/pr11022.exp
4918 * gdb.base/printcmds.exp
4919 * gdb.base/ptr-typedef.exp
4920 * gdb.base/ptype.exp
4921 * gdb.base/randomize.exp
4922 * gdb.base/range-stepping.exp
4923 * gdb.base/realname-expand.exp
4924 * gdb.base/relativedebug.exp
4925 * gdb.base/remote.exp
4926 * gdb.base/savedregs.exp
4927 * gdb.base/sepdebug.exp
4928 * gdb.base/set-noassign.exp
4929 * gdb.base/shlib-call.exp
4930 * gdb.base/shreloc.exp
4931 * gdb.base/sigaltstack.exp
4932 * gdb.base/sigbpt.exp
4933 * gdb.base/siginfo-addr.exp
4934 * gdb.base/siginfo-obj.exp
4935 * gdb.base/siginfo-thread.exp
4936 * gdb.base/signest.exp
4937 * gdb.base/signull.exp
4938 * gdb.base/sigrepeat.exp
4939 * gdb.base/skip.exp
4940 * gdb.base/so-impl-ld.exp
4941 * gdb.base/solib-corrupted.exp
4942 * gdb.base/solib-disc.exp
4943 * gdb.base/solib-display.exp
4944 * gdb.base/solib-overlap.exp
4945 * gdb.base/solib-search.exp
4946 * gdb.base/solib-symbol.exp
4947 * gdb.base/source-execution.exp
4948 * gdb.base/sss-bp-on-user-bp-2.exp
4949 * gdb.base/sss-bp-on-user-bp.exp
4950 * gdb.base/stack-checking.exp
4951 * gdb.base/stale-infcall.exp
4952 * gdb.base/step-break.exp
4953 * gdb.base/step-line.exp
4954 * gdb.base/step-over-exit.exp
4955 * gdb.base/step-test.exp
4956 * gdb.base/structs.exp
4957 * gdb.base/sym-file.exp
4958 * gdb.base/symtab-search-order.exp
4959 * gdb.base/term.exp
4960 * gdb.base/type-opaque.exp
4961 * gdb.base/unload.exp
4962 * gdb.base/until-nodebug.exp
4963 * gdb.base/until.exp
4964 * gdb.base/unwindonsignal.exp
4965 * gdb.base/watch-cond.exp
4966 * gdb.base/watch-non-mem.exp
4967 * gdb.base/watch_thread_num.exp
4968 * gdb.base/watchpoint-reuse-slot.exp
4969 * gdb.base/watchpoint-solib.exp
4970 * gdb.base/watchpoint.exp
4971 * gdb.btrace/dlopen.exp
4972 * gdb.cell/arch.exp
4973 * gdb.cell/break.exp
4974 * gdb.cell/bt.exp
4975 * gdb.cell/core.exp
4976 * gdb.cell/data.exp
4977 * gdb.cell/dwarfaddr.exp
4978 * gdb.cell/ea-cache.exp
4979 * gdb.cell/ea-standalone.exp
4980 * gdb.cell/ea-test.exp
4981 * gdb.cell/f-regs.exp
4982 * gdb.cell/fork.exp
4983 * gdb.cell/gcore.exp
4984 * gdb.cell/mem-access.exp
4985 * gdb.cell/ptype.exp
4986 * gdb.cell/registers.exp
4987 * gdb.cell/sizeof.exp
4988 * gdb.cell/solib-symbol.exp
4989 * gdb.cell/solib.exp
4990 * gdb.compile/compile-tls.exp
4991 * gdb.cp/exception.exp
4992 * gdb.cp/gdb2495.exp
4993 * gdb.cp/local.exp
4994 * gdb.cp/mb-inline.exp
4995 * gdb.cp/mb-templates.exp
4996 * gdb.cp/pr10687.exp
4997 * gdb.cp/pr9167.exp
4998 * gdb.cp/scope-err.exp
4999 * gdb.cp/templates.exp
5000 * gdb.cp/virtfunc.exp
5001 * gdb.dwarf2/dw2-dir-file-name.exp
5002 * gdb.dwarf2/dw2-single-line-discriminators.exp
5003 * gdb.fortran/complex.exp
5004 * gdb.fortran/library-module.exp
5005 * gdb.guile/guile.exp
5006 * gdb.guile/scm-cmd.exp
5007 * gdb.guile/scm-frame-inline.exp
5008 * gdb.guile/scm-objfile.exp
5009 * gdb.guile/scm-pretty-print.exp
5010 * gdb.guile/scm-symbol.exp
5011 * gdb.guile/scm-type.exp
5012 * gdb.guile/scm-value.exp
5013 * gdb.linespec/keywords.exp
5014 * gdb.linespec/ls-errs.exp
5015 * gdb.linespec/macro-relative.exp
5016 * gdb.linespec/thread.exp
5017 * gdb.mi/mi-breakpoint-changed.exp
5018 * gdb.mi/mi-dprintf-pending.exp
5019 * gdb.mi/mi-fullname-deleted.exp
5020 * gdb.mi/mi-logging.exp
5021 * gdb.mi/mi-pending.exp
5022 * gdb.mi/mi-solib.exp
5023 * gdb.mi/new-ui-mi-sync.exp
5024 * gdb.mi/user-selected-context-sync.exp
5025 * gdb.multi/dummy-frame-restore.exp
5026 * gdb.multi/multi-arch-exec.exp
5027 * gdb.multi/remove-inferiors.exp
5028 * gdb.multi/watchpoint-multi-exit.exp
5029 * gdb.opt/solib-intra-step.exp
5030 * gdb.perf/backtrace.exp
5031 * gdb.perf/single-step.exp
5032 * gdb.perf/skip-command.exp
5033 * gdb.perf/skip-prologue.exp
5034 * gdb.perf/solib.exp
5035 * gdb.python/lib-types.exp
5036 * gdb.python/py-as-string.exp
5037 * gdb.python/py-bad-printers.exp
5038 * gdb.python/py-block.exp
5039 * gdb.python/py-breakpoint.exp
5040 * gdb.python/py-cmd.exp
5041 * gdb.python/py-events.exp
5042 * gdb.python/py-evthreads.exp
5043 * gdb.python/py-finish-breakpoint.exp
5044 * gdb.python/py-finish-breakpoint2.exp
5045 * gdb.python/py-frame-inline.exp
5046 * gdb.python/py-frame.exp
5047 * gdb.python/py-inferior.exp
5048 * gdb.python/py-infthread.exp
5049 * gdb.python/py-mi.exp
5050 * gdb.python/py-objfile.exp
5051 * gdb.python/py-pp-maint.exp
5052 * gdb.python/py-pp-registration.exp
5053 * gdb.python/py-prettyprint.exp
5054 * gdb.python/py-recurse-unwind.exp
5055 * gdb.python/py-shared.exp
5056 * gdb.python/py-symbol.exp
5057 * gdb.python/py-symtab.exp
5058 * gdb.python/py-template.exp
5059 * gdb.python/py-type.exp
5060 * gdb.python/py-unwind-maint.exp
5061 * gdb.python/py-unwind.exp
5062 * gdb.python/py-value.exp
5063 * gdb.python/python.exp
5064 * gdb.reverse/finish-reverse-bkpt.exp
5065 * gdb.reverse/insn-reverse.exp
5066 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5067 * gdb.reverse/solib-precsave.exp
5068 * gdb.reverse/solib-reverse.exp
5069 * gdb.stabs/gdb11479.exp
5070 * gdb.stabs/weird.exp
5071 * gdb.threads/fork-child-threads.exp
5072 * gdb.threads/fork-plus-threads.exp
5073 * gdb.threads/fork-thread-pending.exp
5074 * gdb.threads/forking-threads-plus-breakpoint.exp
5075 * gdb.threads/hand-call-in-threads.exp
5076 * gdb.threads/interrupted-hand-call.exp
5077 * gdb.threads/linux-dp.exp
5078 * gdb.threads/local-watch-wrong-thread.exp
5079 * gdb.threads/next-while-other-thread-longjmps.exp
5080 * gdb.threads/non-ldr-exit.exp
5081 * gdb.threads/pending-step.exp
5082 * gdb.threads/print-threads.exp
5083 * gdb.threads/process-dies-while-detaching.exp
5084 * gdb.threads/process-dies-while-handling-bp.exp
5085 * gdb.threads/pthreads.exp
5086 * gdb.threads/queue-signal.exp
5087 * gdb.threads/reconnect-signal.exp
5088 * gdb.threads/signal-command-handle-nopass.exp
5089 * gdb.threads/signal-command-multiple-signals-pending.exp
5090 * gdb.threads/signal-delivered-right-thread.exp
5091 * gdb.threads/signal-sigtrap.exp
5092 * gdb.threads/sigthread.exp
5093 * gdb.threads/staticthreads.exp
5094 * gdb.threads/stepi-random-signal.exp
5095 * gdb.threads/thread-unwindonsignal.exp
5096 * gdb.threads/thread_check.exp
5097 * gdb.threads/thread_events.exp
5098 * gdb.threads/tid-reuse.exp
5099 * gdb.threads/tls-nodebug.exp
5100 * gdb.threads/tls-shared.exp
5101 * gdb.threads/tls-so_extern.exp
5102 * gdb.threads/tls.exp
5103 * gdb.threads/wp-replication.exp
5104 * gdb.trace/actions-changed.exp
5105 * gdb.trace/actions.exp
5106 * gdb.trace/backtrace.exp
5107 * gdb.trace/change-loc.exp
5108 * gdb.trace/collection.exp
5109 * gdb.trace/deltrace.exp
5110 * gdb.trace/disconnected-tracing.exp
5111 * gdb.trace/entry-values.exp
5112 * gdb.trace/ftrace-lock.exp
5113 * gdb.trace/ftrace.exp
5114 * gdb.trace/infotrace.exp
5115 * gdb.trace/mi-trace-frame-collected.exp
5116 * gdb.trace/mi-trace-unavailable.exp
5117 * gdb.trace/mi-traceframe-changed.exp
5118 * gdb.trace/mi-tracepoint-changed.exp
5119 * gdb.trace/mi-tsv-changed.exp
5120 * gdb.trace/no-attach-trace.exp
5121 * gdb.trace/packetlen.exp
5122 * gdb.trace/passc-dyn.exp
5123 * gdb.trace/passcount.exp
5124 * gdb.trace/pending.exp
5125 * gdb.trace/pr16508.exp
5126 * gdb.trace/qtro.exp
5127 * gdb.trace/range-stepping.exp
5128 * gdb.trace/read-memory.exp
5129 * gdb.trace/report.exp
5130 * gdb.trace/save-trace.exp
5131 * gdb.trace/signal.exp
5132 * gdb.trace/stap-trace.exp
5133 * gdb.trace/status-stop.exp
5134 * gdb.trace/strace.exp
5135 * gdb.trace/tfile.exp
5136 * gdb.trace/tfind.exp
5137 * gdb.trace/trace-break.exp
5138 * gdb.trace/trace-condition.exp
5139 * gdb.trace/trace-enable-disable.exp
5140 * gdb.trace/trace-mt.exp
5141 * gdb.trace/tracecmd.exp
5142 * gdb.trace/tracefile-pseudo-reg.exp
5143 * gdb.trace/tspeed.exp
5144 * gdb.trace/tstatus.exp
5145 * gdb.trace/tsv.exp
5146 * gdb.trace/unavailable.exp
5147 * gdb.trace/while-dyn.exp
5148 * gdb.trace/while-stepping.exp
5149 * lib/gdb-guile.exp
5150 * lib/gdb.exp
5151 * lib/mi-support.exp
5152 * lib/pascal.exp
5153 * lib/perftest.exp
5154 * lib/prelink-support.exp
5155 * lib/selftest-support.exp
5156
5157 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5158
5159 * Makefile.in: Include disable-implicit-rules.mk.
5160
5161 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5162
5163 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5164 non-byte-aligned bit fields.
5165
5166 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5167
5168 PR gdb/12616
5169 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5170 respects the DW_AT_data_bit_offset attribute.
5171
5172 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5173
5174 * gdb.base/default.exp: Fix output of "set language".
5175
5176 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5177
5178 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5179 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5180 make.
5181 * configure.ac: Remove checks for the make program.
5182 * configure: Re-generate.
5183
5184 2016-11-16 Kevin Buettner <kevinb@redhat.com>
5185
5186 * gdb.python/py-recurse-unwind.c (main): Add loop.
5187 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5188 to read_register() and gdb.parse_and_eval(). Make each code
5189 call a separate case that can be individually tested.
5190 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5191 proc. Call cont_and_backtrace for each of the code paths that
5192 we want to test in the unwinder.
5193
5194 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5195
5196 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5197 the definition of struct S.
5198
5199 2016-11-11 Catherine Moore <clm@codesourcery.com>
5200
5201 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5202
5203 2016-11-09 Pedro Alves <palves@redhat.com>
5204
5205 * gdb.base/commands.exp (runto_or_return): New procedure.
5206 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5207 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5208 (progvar_simple_while_test, progvar_complex_if_while_test)
5209 (if_while_breakpoint_command_test)
5210 (infrun_breakpoint_command_test, breakpoint_command_test)
5211 (user_defined_command_test, watchpoint_command_test)
5212 (test_command_prompt_position, redefine_hook_test)
5213 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5214 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5215 multi_line_input and multi_line. Remove gdb_expect and
5216 gdb_stop_suppressing_tests uses.
5217 * lib/gdb.exp (valnum_re): New global.
5218 (multi_line_input): New procedure.
5219
5220 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5221
5222 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5223 Remove.
5224 (test_setup): Define with proc_with_prefix.
5225 (test_cli_inferior): Likewise.
5226 (test_cli_thread): Likewise.
5227 (test_cli_frame): Likewise.
5228 (test_cli_select_frame): Likewise.
5229 (test_cli_up_down): Likewise.
5230 (test_mi_thread_select): Likewise.
5231 (test_mi_stack_select_frame): Likewise.
5232 (test_cli_in_mi_inferior): Likewise.
5233 (test_cli_in_mi_thread): Likewise.
5234 (test_cli_in_mi_frame): Likewise.
5235 (top level): Do not use with_test_prefix_procname.
5236
5237 2016-11-09 Pedro Alves <palves@redhat.com>
5238
5239 * gdb.base/commands.exp (gdbvar_simple_if_test)
5240 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5241 (progvar_simple_if_test, progvar_simple_while_test)
5242 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5243 (infrun_breakpoint_command_test, breakpoint_command_test)
5244 (user_defined_command_test, watchpoint_command_test)
5245 (test_command_prompt_position, deprecated_command_test)
5246 (bp_deleted_in_command, temporary_breakpoint_commands)
5247 (stray_arg0_test, source_file_with_indented_comment)
5248 (recursive_source_test, if_commands_test)
5249 (error_clears_commands_left, redefine_hook_test)
5250 (redefine_backtrace_test): Use proc_with_prefix.
5251 * lib/gdb.exp (proc_with_prefix): New proc.
5252
5253 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5254
5255 * gdb.base/tui-layout.c: New file.
5256 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5257 disassembly window contains very long lines.
5258
5259 2016-11-08 Tom Tromey <tom@tromey.com>
5260
5261 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5262 depend on Python 2.
5263
5264 2016-11-08 Tom Tromey <tom@tromey.com>
5265
5266 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5267 New method.
5268
5269 2016-10-29 Manish Goregaokar <manish@mozilla.com>
5270
5271 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5272
5273 2016-10-27 Manish Goregaokar <manish@mozilla.com>
5274
5275 * gdb.rust/simple.rs: Add test for univariant enums without
5276 discriminants and for encoded struct-like enums.
5277
5278 2016-10-28 Pedro Alves <palves@redhat.com>
5279
5280 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5281 gdb_test_multiple, tighten regexps and match symtabs and line
5282 tables incrementally.
5283
5284 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
5285
5286 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5287 general.
5288
5289 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
5290
5291 * gdb.base/exec-invalid-sysroot.exp: New file.
5292
5293 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5294
5295 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5296
5297 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5298
5299 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5300
5301 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5302
5303 * gdb.base/killed-outside.exp: Remove $options from a call to
5304 `prepare_for_testing'.
5305
5306 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5307
5308 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5309 Change test message.
5310
5311 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5312
5313 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5314 Update comment.
5315
5316 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5317
5318 * gdb.trace/mi-trace-save.exp: New file.
5319
5320 2016-10-13 Yao Qi <yao.qi@linaro.org>
5321
5322 * gdb.base/code_elim.exp (get_var_address): Remove.
5323 * gdb.base/relocate.exp: Likewise.
5324 * gdb.base/shreloc.exp: Likewise.
5325 * lib/gdb.exp (get_var_address): New.
5326
5327 2016-10-13 Yao Qi <yao.qi@linaro.org>
5328
5329 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5330 floating point tests if $skip_float_test is false.
5331
5332 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
5333
5334 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5335 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5336 argc values.
5337 Add 1 to argc so we guarantee distinct initial/modified argc values.
5338
5339 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5340
5341 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5342
5343 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5344
5345 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5346 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5347 * gdb.arch/vsx-regs.exp: Likewise.
5348
5349 2016-10-07 Yao Qi <yao.qi@linaro.org>
5350
5351 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5352
5353 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5354
5355 * gdb.python/python.exp: Test decode_line("*0").
5356
5357 2016-10-06 Doug Evans <dje@google.com>
5358
5359 * gdb.python/py-value.exp (test_value_creation): Add test for large
5360 unsigned 64-bit value.
5361
5362 2016-10-06 Tom Tromey <tom@tromey.com>
5363
5364 * gdb.compile/compile.exp: Change java tests to rust.
5365 * gdb.base/setshow.exp: Change java tests to rust.
5366 * gdb.base/default.exp: Remove java from language list.
5367 * README (Examples): Update language example.
5368 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5369 test.
5370 * lib/gdb.exp (skip_java_tests): Remove.
5371 * lib/java.exp: Remove.
5372 * gdb.java: Remove.
5373
5374 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5375
5376 * gdb.arch/mips-fcr.exp: New test.
5377 * gdb.arch/mips-fcr.c: Source for the new test.
5378
5379 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5380
5381 * gdb.base/solib-disc.exp: Use `standard_output_file'
5382 throughout.
5383
5384 2016-10-06 Pedro Alves <palves@redhat.com>
5385
5386 * gdb.base/jit-simple-dl.c: New file.
5387 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5388 * gdb.base/jit-simple.c: ... this.
5389 * gdb.base/jit-simple.exp (jit_run): Delete.
5390 (build_jit): New proc.
5391 (jit_test_reread): Recompile either the main program or the shared
5392 library, depending on what is being tested. Skip changing address
5393 if caller wants to. Compare before/after addresses. If testing
5394 standalone, explicitly load the binary. Test "maint info
5395 breakpoints".
5396 (top level): Add "standalone vs shared lib" and "change address"
5397 vs "same address" axes.
5398
5399 2016-10-06 Pedro Alves <palves@redhat.com>
5400
5401 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5402 call.
5403 (jit_run): Delete.
5404 (jit_test_reread): Use with_test_prefix. Reload the main binary
5405 explicitly. Compare the before/after addresses of the JIT
5406 descriptor.
5407
5408 2016-08-15 Doug Evans <dje@google.com>
5409
5410 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5411 for single bitfields is bool.
5412 * gdb.xml/tdesc-regs.exp: Ditto.
5413
5414 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5415
5416 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5417
5418 2016-10-05 Yao Qi <yao.qi@linaro.org>
5419
5420 * lib/gdb.exp (support_complex_tests): Return zero if
5421 gdb_skip_float_test return true.
5422
5423 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5424 Simon Marchi <simon.marchi@ericsson.com>
5425
5426 PR gdb/20487
5427 * gdb.mi/user-selected-context-sync.exp: New file.
5428 * gdb.mi/user-selected-context-sync.c: New file.
5429
5430 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5431 Simon Marchi <simon.marchi@ericsson.com>
5432
5433 PR gdb/20487
5434 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5435 =thread-select-event check.
5436
5437 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5438
5439 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5440 the compulsory L operand changes.
5441 * gdb.arch/powerpc-power.s: Likewise.
5442
5443 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5444
5445 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5446 * gdb.base/jit-attach-pie.c: New file.
5447 * gdb.base/jit-attach-pie.exp: New file.
5448
5449 2016-09-28 Pedro Alves <palves@redhat.com>
5450
5451 * gdb.base/infcall-input.c: New file.
5452 * gdb.base/infcall-input.exp: New file.
5453
5454 2016-09-22 Yao Qi <yao.qi@linaro.org>
5455
5456 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5457 (gdb_exit): Rename it to ...
5458 (gdbserver_gdb_exit): ... Close GDBserver.
5459 (gdb_exit): New proc, call gdbserver_gdb_exit.
5460 (mi_gdb_exit): Likewise.
5461
5462 2016-09-22 Yao Qi <yao.qi@linaro.org>
5463
5464 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5465 path.
5466 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5467 Remove duplication.
5468
5469 2016-09-22 Yao Qi <yao.qi@linaro.org>
5470
5471 * lib/gdbserver-support.exp: Check the existence of
5472 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5473
5474 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5475
5476 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5477
5478 2016-09-21 Tom Tromey <tom@tromey.com>
5479
5480 PR gdb/20604:
5481 * gdb.base/quit.exp: New file.
5482
5483 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5484
5485 * .gitignore: New file.
5486
5487 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5488
5489 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5490 throughout.
5491
5492 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5493
5494 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5495
5496 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5497
5498 * gdb.cp/casts.cc (decltype): Move it ...
5499 (main): ... with its call to ...
5500 * gdb.cp/casts03.cc: ... a new file.
5501 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5502
5503 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5504
5505 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5506
5507 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
5508
5509 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5510 and sync up the test with tests in gas/testsuite/gas/ppc.
5511 * gdb.arch/powerpc-power.exp: Likewise.
5512
5513 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5514
5515 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5516
5517 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
5518 Jan Kratochvil <jan.kratochvil@redhat.com>
5519
5520 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5521 make m1's definition to be different from m2's. Use 'dummy' as an
5522 argument for probe 'two'.
5523
5524 2016-09-10 Jon Beniston <jon@beniston.com>
5525
5526 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5527 for sim target.
5528
5529 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5530
5531 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5532 variable declaration.
5533 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
5534 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5535 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5536 received HWCAP as its argument.
5537
5538 2016-09-06 Pedro Alves <palves@redhat.com>
5539
5540 * gdb.base/new-ui-pending-input.c: New file.
5541 * gdb.base/new-ui-pending-input.exp: New file.
5542 * gdb.exp (clear_gdb_spawn_id): New procedure.
5543 (with_spawn_id): Check whether gdb_spawn_id exists before
5544 referencing it. If gdb_spawn_id didn't exist on entry, clear it
5545 on exit.
5546
5547 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5548
5549 * gdb.base/float128.c: New file.
5550 * gdb.base/float128.exp: Likewise.
5551 * gdb.base/floatn.c: Likewise.
5552 * gdb.base/floatn.exp: Likewise.
5553
5554 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5555
5556 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5557
5558 2016-09-05 Pedro Alves <palves@redhat.com>
5559
5560 PR backtrace/19927
5561 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5562 unwinders are immediately called as side effect of "source" or
5563 "disable unwinder" commands.
5564 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5565
5566 2016-09-02 Yao Qi <yao.qi@linaro.org>
5567
5568 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5569 is true and $type is "float" or "double".
5570
5571 2016-09-02 Yao Qi <yao.qi@linaro.org>
5572
5573 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5574 true.
5575 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5576 * gdb.base/call-rt-st.exp: Likewise.
5577 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5578 return value instead of gdb,skip_float_test.
5579 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5580 (do_function_calls): Use its return value instead of
5581 gdb,skip_float_test.
5582 * gdb.base/finish.exp: Likewise.
5583 * gdb.base/funcargs.exp: Likewise.
5584 * gdb.base/return.exp: Likewise.
5585 * gdb.base/return2.exp: Likewise.
5586 * gdb.base/varargs.exp: Likewise.
5587 * lib/gdb.exp (gdb_skip_float_test): Change it to
5588 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5589
5590 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5591
5592 * gdb.multi/tids.exp: Test "thread apply all".
5593
5594 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5595
5596 * gdb.base/default.exp (tty): Remove.
5597
5598 2016-08-24 Kevin Buettner <kevinb@redhat.com>
5599
5600 * gdb.python/py-recurse-unwind.c: New file.
5601 * gdb.python/py-recurse-unwind.py: New file.
5602 * gdb.python/py-recurse-unwind.exp: New file.
5603
5604 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5605
5606 * gdb.base/set-inferior-tty.exp: New file.
5607 * gdb.base/set-inferior-tty.c: New file.
5608
5609 2016-08-23 Pedro Alves <palves@redhat.com>
5610
5611 PR gdb/20494
5612 * gdb.base/new-ui-echo.c: New file.
5613 * gdb.base/new-ui-echo.exp: New file.
5614
5615 2016-08-23 Yao Qi <yao.qi@linaro.org>
5616
5617 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5618 gdbserver_spawn.
5619 * gdb.server/connect-without-multi-process.exp (do_test):
5620 Likewise.
5621
5622 2016-08-23 Yao Qi <yao.qi@linaro.org>
5623
5624 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5625 standalone_txt. Delete gdb_txt and standalone_txt on host
5626 and target. Spawn the binary on target. Copy files from
5627 target to host.
5628
5629 2016-08-22 Pedro Alves <palves@redhat.com>
5630
5631 PR gdb/20505
5632 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5633 with_test_prefix. Factor out bits to ...
5634 (test_no_vdso): ... this new procedure.
5635
5636 2016-08-19 Carl Love <cel@us.ibm.com>
5637
5638 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5639 maintaining separate logic for constructing the output path.
5640 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5641 * gdb.arch/ppc-dfp.exp: Likewise.
5642 * gdb.arch/ppc-fp.exp: Likewise.
5643 * gdb.arch/vsx-regs.exp: Likewise.
5644 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5645 binprefix for generating the additional binary files.
5646
5647 2016-08-19 Pedro Alves <palves@redhat.com>
5648
5649 * gdb.trace/mi-trace-frame-collected.exp
5650 (test_trace_frame_collected): On x32, expect two registers.
5651
5652 2016-08-18 Carl Love <cel@us.ibm.com>
5653
5654 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5655 and sync up the test with tests in gas/testsuite/gas/ppc.
5656 * gdb.arch/powerpc-power.exp: Likewise.
5657
5658 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5659
5660 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5661 expected error message.
5662
5663 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5664
5665 * gdb.multi/remove-inferiors.exp: New file.
5666 * gdb.multi/remove-inferiors.c: New file.
5667
5668 2016-08-12 Yao Qi <yao.qi@linaro.org>
5669
5670 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5671 argument list.
5672
5673 2016-08-10 Pedro Alves <palves@redhat.com>
5674
5675 PR gdb/19187
5676 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5677 setup_kfails.
5678
5679 2016-08-09 Pedro Alves <palves@redhat.com>
5680 Simon Marchi <simon.marchi@ericsson.com>
5681
5682 PR gdb/20418
5683 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5684 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5685
5686 2016-08-09 Pedro Alves <palves@redhat.com>
5687
5688 PR mi/20431
5689 * gdb.mi/mi-cmd-error.exp: New file.
5690
5691 2016-08-09 Pedro Alves <palves@redhat.com>
5692
5693 PR gdb/18653
5694 * gdb.base/signals-state-child.c: New file.
5695 * gdb.base/signals-state-child.exp: New file.
5696 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5697
5698 2016-08-09 Pedro Alves <palves@redhat.com>
5699
5700 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5701
5702 2016-08-03 Tom Tromey <tom@tromey.com>
5703
5704 PR python/18565:
5705 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5706
5707 2016-08-01 Yao Qi <yao.qi@linaro.org>
5708
5709 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5710 variable mode to "multi-process" if $multi_process is 1, otherwise
5711 set it to "single-process".
5712
5713 2016-08-01 Yao Qi <yao.qi@linaro.org>
5714
5715 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5716 * gdb.cp/cpexprs.exp: Likewise.
5717 * gdb.cp/m-static.exp: Likewise.
5718
5719 2016-07-26 Tom Tromey <tom@tromey.com>
5720
5721 PR python/20190:
5722 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5723 test.
5724
5725 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5726
5727 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5728 selecting assembly source files.
5729 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5730 assembly source files.
5731 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5732 assembly source files.
5733 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5734 selecting assembly source files.
5735
5736 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5737
5738 * gdb.base/new-ui.exp (do_test_invalid_args): New
5739 procedure.
5740
5741 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5742
5743 * gdb.btrace/reconnect.c: New file.
5744 * gdb.btrace/reconnect.exp: New file.
5745
5746 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5747
5748 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5749 to test_catch_syscall_group.
5750 (test_catch_syscall_group): New.
5751
5752 2016-07-21 Tom Tromey <tom@tromey.com>
5753
5754 * gdb.rust/simple.rs (main): Use empty struct expression.
5755 * gdb.rust/simple.exp: Add tests for empty struct expression.
5756
5757 2016-07-21 Yao Qi <yao.qi@linaro.org>
5758
5759 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5760 if gdb_skip_xml_test is true on some targets.
5761
5762 2016-07-21 Yao Qi <yao.qi@linaro.org>
5763
5764 * gdb.server/solib-list.exp: Unset last_loaded_file.
5765
5766 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5767
5768 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5769 "step into captured_main (args)".
5770
5771 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5772
5773 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5774
5775 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5776
5777 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5778
5779 2016-07-19 Pedro Alves <palves@redhat.com>
5780
5781 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5782 * gdb.opt/inline-bt.exp: Likewise.
5783 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5784 additional_flags=-Winline.
5785 * gdb.opt/inline-locals.exp: Likewise.
5786 * gdb.opt/inline-markers.c (ATTR): Define.
5787 (inlined_fn): Use it.
5788
5789 2016-07-19 Yao Qi <yao.qi@linaro.org>
5790
5791 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5792 (test_with_self): Remove some code. Remove argument executable.
5793 (top-level): Use do_self_tests.
5794
5795 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
5796 Don Breazeal <donb@codesourcery.com>
5797
5798 * gdb.base/maint.exp: Escape paths used in regular expressions.
5799 * gdb.stabs/weird.exp: Likewise.
5800
5801 2016-07-13 Tom Tromey <tom@tromey.com>
5802
5803 PR python/15620, PR python/18620:
5804 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5805 (test_bkpt_events): New procs.
5806
5807 2016-07-13 Tom Tromey <tom@tromey.com>
5808
5809 PR python/17698:
5810 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5811 test.
5812 (test_watchpoints): Likewise.
5813 (test_bkpt_pending): New proc.
5814
5815 2016-07-13 Tom Tromey <tom@tromey.com>
5816
5817 PR cli/18053:
5818 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5819 completion test.
5820
5821 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5822
5823 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5824 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5825 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5826 f_label.
5827 (g): Rename g_end_lbl to g_label.
5828 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5829 low_pc and high_pc.
5830 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5831
5832 2016-07-12 Tom Tromey <tom@tromey.com>
5833
5834 PR python/19293:
5835 * gdb.python/py-unwind-maint.exp: Update tests.
5836
5837 2016-07-12 Yao Qi <yao.qi@linaro.org>
5838
5839 * lib/selftest-support.exp (selftest_setup): Match the output
5840 when captured_main is inlined.
5841
5842 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5843
5844 * gdb.fortran/derived-types.exp (result_line, result_line_2):
5845 New variables.
5846 (print this%a, print this%b, print this): New tests.
5847 * gdb.fortran/derived-types.f90 (this): New object and
5848 initialization.
5849
5850 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5851
5852 * gdb.ada/arraydim.exp: Remove extra directory level in build
5853 directory.
5854
5855 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5856
5857 * lib/ada.exp: Remove extra directory level in build directory.
5858 * gdb.ada/cond_lang.exp: Likewise.
5859 * gdb.ada/exec_changed.exp: Likewise.
5860 * gdb.ada/lang_switch.exp: Likewise.
5861
5862 2016-07-06 Manish Goregaokar <manish@mozilla.com>
5863
5864 * simple.rs: Add test for raw pointer subscripting.
5865 * simple.exp: Add test expectations.
5866
5867 2016-07-05 Yao Qi <yao.qi@linaro.org>
5868
5869 * gdb.mi/mi-reverse.exp: Match =record-started output.
5870
5871 2016-07-01 Pedro Alves <palves@redhat.com>
5872
5873 * gdb.base/jit-reader.exp (info_registers_current_frame): New
5874 procedure.
5875 (jit_reader_test): Test the jit reader's unwinder.
5876 * gdb.base/jithost.c (jit_function_00_code): New global.
5877 (main): Use memcpy to fill in the mmapped code, instead of poking
5878 bytes manually here.
5879 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
5880 value.
5881 (read_debug_info): Save the function's range.
5882 (read_sp): New function.
5883 (unwind_frame): Use it. Also unwind RBP.
5884 (get_frame_id): Use read_sp.
5885 (gdb_init_reader): Use calloc instead of malloc.
5886 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
5887 parameter. Use gdb_test_multiple.
5888
5889 2016-07-01 Pedro Alves <palves@redhat.com>
5890 Antoine Tremblay <antoine.tremblay@ericsson.com>
5891
5892 * gdb.threads/process-dies-while-detaching.c: New file.
5893 * gdb.threads/process-dies-while-detaching.exp: New file.
5894
5895 2016-07-01 Pedro Alves <palves@redhat.com>
5896
5897 * gdb.multi/watchpoint-multi-exit.c: New file.
5898 * gdb.multi/watchpoint-multi-exit.exp: New file.
5899
5900 2016-06-30 Pedro Alves <palves@redhat.com>
5901
5902 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
5903 unset inferior_spawn_id.
5904
5905 2016-06-30 Pedro Alves <palves@redhat.com>
5906
5907 * lib/mi-support.exp (default_mi_gdb_start): Declare global
5908 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
5909
5910 2016-06-29 Yao Qi <yao.qi@linaro.org>
5911
5912 * gdb.base/return.c: Add copyright header.
5913
5914 2016-06-29 Tom Tromey <tom@tromey.com>
5915
5916 PR python/20129:
5917 * gdb.python/py-framefilter.exp: Add tests for setting priority
5918 and disabling of non-existent frame filter.
5919
5920 2016-06-29 Yao Qi <yao.qi@linaro.org>
5921
5922 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
5923 0x0f07ff.
5924
5925 2016-06-28 Yao Qi <yao.qi@linaro.org>
5926
5927 * gdb.base/catch-syscall.exp: Remove check on isnative and target
5928 triplets. Start gdb, execute catch syscall, and continue. Check
5929 gdb's output to determine catch syscall is supported.
5930
5931 2016-06-27 Manish Goregaokar <manish@mozilla.com>
5932
5933 * gdb.rust/simple.rs: Add test for returning unit in a function.
5934 * gdb.rust/simple.exp: Add expectation for functions returning
5935 unit.
5936
5937 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
5938
5939 * gdb.python/py-breakpoint-create-fail.c,
5940 gdb.python/py-breakpoint-create-fail.exp,
5941 gdb.python/py-breakpoint-create-fail.py: New testcase.
5942
5943 2016-06-25 Manish Goregaokar <manish@mozilla.com>
5944
5945 PR gdb/20239
5946 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
5947 * gdb.rust/simple.exp: Add test expectations for new NonZero
5948 tests.
5949
5950 2016-06-24 David Taylor <dtaylor@emc.com>
5951
5952 * gdb.base/offsets.exp: New file.
5953 * gdb.base/offsets.c: New file.
5954
5955 2016-06-23 Tom Tromey <tom@tromey.com>
5956
5957 PR gdb/16483:
5958 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
5959 before any filters are loaded.
5960
5961 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
5962
5963 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
5964 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
5965 structs.
5966 * gdb.fortran/derived-type-function.exp: New file.
5967 * gdb.fortran/derived-type-function.f90: New file.
5968
5969
5970 2016-06-21 Pedro Alves <palves@redhat.com>
5971
5972 * gdb.base/new-ui.exp: New file.
5973 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
5974 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
5975 (with_spawn_id): New procedure.
5976
5977 2016-06-21 Pedro Alves <palves@redhat.com>
5978
5979 * gdb.mi/mi-exec-run.exp: New file.
5980
5981 2016-06-21 Pedro Alves <palves@redhat.com>
5982
5983 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
5984 breakpoint command's output on the main UI.
5985 (test_break): New procedure, factored out from calls in the top
5986 level.
5987 (top level): Use foreach_with_prefix to test MI as main UI and as
5988 separate UI.
5989
5990 2016-06-21 Pedro Alves <palves@redhat.com>
5991
5992 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
5993 (test_awatch_creation_and_listing)
5994 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
5995 Remove 'type' parameter.
5996 (test_watchpoint_all): New parameter mi_mode. Remove
5997 with_test_prefix.
5998 (top level): Use foreach_with_prefix, and add main/separate UI MI
5999 testing axis.
6000
6001 2016-06-21 Pedro Alves <palves@redhat.com>
6002
6003 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6004 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6005 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6006 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6007 (gdb_main_spawn_id, mi_spawn_id): Declare and
6008 comment.
6009 (mi_create_inferior_pty): New procedure,
6010 factored out from default_mi_gdb_start.
6011 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6012 procedures.
6013 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6014 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6015 Use mi_create_inferior_pty.
6016 (mi_gdb_start): Use eval to pass down args list.
6017
6018 2016-06-21 Pedro Alves <palves@redhat.com>
6019
6020 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6021 * gdb.opt/inline-cmds.exp: Add MI tests.
6022
6023 2016-06-21 Pedro Alves <palves@redhat.com>
6024
6025 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6026
6027 2016-06-21 Pedro Alves <palves@redhat.com>
6028
6029 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6030 (top level): Use it instead of mi_execute_to.
6031
6032 2016-06-21 Pedro Alves <palves@redhat.com>
6033
6034 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6035 (cont_handler_str): New.
6036 (signal_stop_handler): Set stop_handler_str instead of printing to
6037 stdout.
6038 (continue_handler): Set cont_handler_str instead of printing to
6039 stdout.
6040 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6041 mi_send_resuming_command. Print stop_handler_str and
6042 cont_handler_str instead of expecting the python events print
6043 directly.
6044
6045 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6046
6047 * gdb.base/jit-reader.exp: New file.
6048 * gdb.base/jithost.c: New file.
6049 * gdb.base/jithost.h: New file.
6050 * gdb.base/jitreader.c : New file.
6051 * gdb.base/jit-protocol.h: New file.
6052
6053 2016-06-17 Yao Qi <yao.qi@linaro.org>
6054
6055 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6056 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6057 and detach-on-fork. Adjust tests.
6058 (top level): Invoke break_cond_on_syscall with combinations of
6059 syscall, follow-fork-mode and detach-on-fork.
6060
6061 2016-06-17 Yao Qi <yao.qi@linaro.org>
6062
6063 * gdb.base/step-over-exit.c: New.
6064 * gdb.base/step-over-exit.exp: New.
6065
6066 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6067
6068 * gdb.base/float.exp: Add target check for nds32*-*-*.
6069 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6070
6071 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6072
6073 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6074 for unsupported target features.
6075 * gdb.base/call-rt-st.exp: Likewise.
6076 * gdb.base/call-sc.exp: Likewise.
6077 * gdb.base/call-signal-resume.exp: Likewise.
6078 * gdb.base/call-strs.exp: Likewise.
6079 * gdb.base/callexit.exp: Likewise.
6080 * gdb.base/callfuncs.exp: Likewise.
6081 * gdb.base/nodebug.exp: Likewise.
6082 * gdb.base/printcmds.exp: Likewise.
6083 * gdb.base/ptype.exp: Likewise.
6084 * gdb.base/structs.exp: Likewise.
6085 * gdb.base/unwindonsignal.exp: Likewise.
6086 * gdb.cp/gdb2495.exp: Likewise.
6087 * gdb.cp/templates.exp: Likewise.
6088 * gdb.cp/virtfunc.exp: Likewise.
6089 * gdb.threads/hand-call-in-threads.exp: Likewise.
6090 * gdb.threads/interrupted-hand-call.exp: Likewise.
6091 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6092
6093 2016-06-10 Tom Tromey <tom@tromey.com>
6094
6095 PR rust/20110:
6096 * gdb.rust/expr.exp: Add test for integer constant larger than
6097 i32.
6098
6099 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6100
6101 * gdb.fortran/nested-funcs.exp: New.
6102 * gdb.fortran/nested-funcs.f90: New.
6103
6104 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6105
6106 * gdb.base/examine-backward.c: New file.
6107 * gdb.base/examine-backward.exp: New file.
6108
6109 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6110
6111 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6112 matching.
6113
6114 2016-06-02 Tom Tromey <tom@tromey.com>
6115
6116 PR python/18984:
6117 * gdb.python/py-shared.exp: Add solib_name test.
6118
6119 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6120
6121 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6122
6123 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6124
6125 PR c++/19893
6126 * gdb.dwarf2/implref.exp: Rename to...
6127 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6128 * gdb.dwarf2/implref-array.c: New file.
6129 * gdb.dwarf2/implref-array.exp: Likewise.
6130 * gdb.dwarf2/implref-global.c: Likewise.
6131 * gdb.dwarf2/implref-global.exp: Likewise.
6132 * gdb.dwarf2/implref-struct.c: Likewise.
6133 * gdb.dwarf2/implref-struct.exp: Likewise.
6134
6135 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6136
6137 * gdb.trace/trace-condition.exp: Add 64bit tests.
6138
6139 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6140
6141 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6142 bits types.
6143 (main): Adapt to 8 to 64 bits types.
6144 * gdb.trace/trace-condition.exp: Add new tests.
6145
6146 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6147
6148 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6149
6150 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6151
6152 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6153 Move condition tests...
6154 * gdb.trace/trace-condition.exp: Here.
6155
6156 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6157
6158 * gdb.trace/trace-condition.exp: Add counter-case tests.
6159
6160 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6161
6162 PR c++/15231
6163 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6164 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6165
6166 2016-05-27 Pedro Alves <palves@redhat.com>
6167
6168 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6169 New procedure.
6170 (top level): Call it, and bail out of DejaGnu is known to be bad.
6171
6172 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6173
6174 * gdb.base/whatis.c: Extend the test case.
6175 * gdb.base/whatis.exp: Add additional tests.
6176
6177 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6178
6179 * gdb.fortran/type.f90: Add pointer variable.
6180 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6181
6182 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6183
6184 * gdb.fortran/vla-type.exp: Fix testcase name.
6185
6186 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6187
6188 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6189
6190 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6191
6192 * gdb.fortran/type.f90: Add nested structures.
6193 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6194 * gdb.fortran/derived-type.exp: Adapt expected output.
6195 * gdb.fortran/vla-type.exp: Adapt expected output.
6196
6197 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6198
6199 * gdb.fortran/whatis_type.exp: Adapt expected output.
6200
6201 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6202
6203 * gdb.fortran/print_type.exp: Fix expected output.
6204 * gdb.fortran/whatis_type.exp: Fix expected output.
6205
6206 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6207
6208 * gdb.fortran/whatis_type.exp: Use multi_line.
6209
6210 2016-05-24 Tom Tromey <tom@tromey.com>
6211
6212 PR python/17386:
6213 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6214 use value as an index.
6215
6216 2016-05-23 Tom Tromey <tom@tromey.com>
6217
6218 PR python/17981:
6219 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6220 no-breakpoint case.
6221
6222 2016-05-24 Pedro Alves <palves@redhat.com>
6223
6224 PR gdb/19828
6225 * gdb.threads/clone-attach-detach.c: New file.
6226 * gdb.threads/clone-attach-detach.exp: New file.
6227
6228 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6229
6230 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6231
6232 2016-05-23 Tom Tromey <tom@tromey.com>
6233
6234 PR python/19438, PR python/18393:
6235 * gdb.python/py-progspace.exp: Add "dir" test.
6236 * gdb.python/py-objfile.exp: Add "dir" test.
6237
6238 2016-05-23 Yao Qi <yao.qi@linaro.org>
6239
6240 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6241 * gdb.arch/thumb2-it.exp: Likewise.
6242
6243 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6244
6245 * gdb.mi/mi-threads-interrupt.c: New file.
6246 * gdb.mi/mi-threads-interrupt.exp: New file.
6247
6248 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6249
6250 PR gdb/18077
6251 * gdb.mi/mi-async-run.exp: New file.
6252 * gdb.mi/mi-async-run.c: New file.
6253
6254 2016-05-17 Tom Tromey <tom@tromey.com>
6255 Manish Goregaokar <manishsmail@gmail.com>
6256
6257 * lib/rust-support.exp: New file.
6258 * lib/gdb.exp (skip_rust_tests): New proc.
6259 (build_executable_from_specs): Handle rust.
6260 * lib/future.exp (gdb_find_rustc): New proc.
6261 (gdb_default_target_compile): Handle rust.
6262 * gdb.rust/expr.exp: New file.
6263 * gdb.rust/generics.exp: New file.
6264 * gdb.rust/generics.rs: New file.
6265 * gdb.rust/methods.exp: New file.
6266 * gdb.rust/methods.rs: New file.
6267 * gdb.rust/modules.exp: New file.
6268 * gdb.rust/modules.rs: New file.
6269 * gdb.rust/simple.exp: New file.
6270 * gdb.rust/simple.rs: New file.
6271
6272 2016-05-17 Tom Tromey <tom@tromey.com>
6273
6274 * gdb.base/default.exp (set language): Add rust.
6275
6276 2016-05-17 Tom Tromey <tom@tromey.com>
6277
6278 * gdb.gdb/unittest.exp: New file.
6279
6280 2016-05-16 Yao Qi <yao.qi@linaro.org>
6281
6282 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6283 shell_prompt. Update shell_prompt_re.
6284
6285 2016-05-12 Doug Evans <dje@google.com>
6286
6287 PR symtab/19999
6288 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6289 $options when building executable.
6290 * gdb.dwarf2/fission-loclists-pie.S: New file.
6291 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6292
6293 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6294
6295 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6296 of [is_remote target],
6297
6298 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6299
6300 * lib/gdb.exp (use_gdb_stub): New procedure.
6301
6302 2016-05-03 Yunlian Jiang <yunlian@google.com>
6303 Doug Evans <dje@google.com>
6304
6305 PR symtab/19914
6306 * gdb.dwarf2/dwp-sepdebug.c: New file.
6307 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6308
6309 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6310
6311 * gdb.base/detach.exp: Remove is_remote check.
6312
6313 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6314
6315 * gdb.base/annota-input-while-running.exp: Don't check for
6316 [is_remote target]. Enable annotations after running to main.
6317 Remove unused "set test..." line.
6318
6319 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6320
6321 * gdb.trace/trace-enable-disable.exp: New file.
6322 * gdb.trace/trace-enable-disable.c: New file.
6323
6324 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6325
6326 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6327 use it in info sharedlibrary test.
6328 * gdb.trace/ftrace-lock.exp: Likewise.
6329 * gdb.trace/ftrace.exp: Likewise.
6330 * gdb.trace/range-stepping.exp: Likewise.
6331 * gdb.trace/trace-break.exp: Likewise.
6332 * gdb.trace/trace-condition.exp: Likewise.
6333 * gdb.trace/trace-mt.exp: Likewise.
6334
6335 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6336
6337 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6338 (gdb_load_shlib): ... this.
6339 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6340 gdb_load_shlib.
6341 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6342 * gdb.base/ctxobj.exp: Likewise.
6343 * gdb.base/dprintf-pending.exp: Likewise.
6344 * gdb.base/dso2dso.exp: Likewise.
6345 * gdb.base/fixsection.exp: Likewise.
6346 * gdb.base/gcore-relro.exp: Likewise.
6347 * gdb.base/gdb1555.exp: Likewise.
6348 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6349 * gdb.base/gnu-ifunc.exp: Likewise.
6350 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6351 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6352 * gdb.base/pending.exp: Likewise.
6353 * gdb.base/print-file-var.exp: Likewise.
6354 * gdb.base/print-symbol-loading.exp: Likewise.
6355 * gdb.base/shlib-call.exp: Likewise.
6356 * gdb.base/shreloc.exp: Likewise.
6357 * gdb.base/so-impl-ld.exp: Likewise.
6358 * gdb.base/solib-disc.exp: Likewise.
6359 * gdb.base/solib-nodir.exp: Likewise.
6360 * gdb.base/solib-overlap.exp: Likewise.
6361 * gdb.base/solib-symbol.exp: Likewise.
6362 * gdb.base/solib-weak.exp (do_test): Likewise.
6363 * gdb.base/sym-file.exp: Likewise.
6364 * gdb.base/symtab-search-order.exp: Likewise.
6365 * gdb.base/type-opaque.exp: Likewise.
6366 * gdb.base/unload.exp: Likewise.
6367 * gdb.base/watchpoint-solib.exp: Likewise.
6368 * gdb.compile/compile.exp: Likewise.
6369 * gdb.cp/gdb2384.exp: Likewise.
6370 * gdb.cp/infcall-dlopen.exp: Likewise.
6371 * gdb.cp/re-set-overloaded.exp: Likewise.
6372 * gdb.fortran/library-module.exp: Likewise.
6373 * gdb.opt/solib-intra-step.exp: Likewise.
6374 * gdb.python/py-finish-breakpoint.exp: Likewise.
6375 * gdb.python/py-shared.exp: Likewise.
6376 * gdb.reverse/solib-precsave.exp: Likewise.
6377 * gdb.reverse/solib-reverse.exp: Likewise.
6378 * gdb.server/solib-list.exp: Likewise.
6379 * gdb.threads/dlopen-libpthread.exp: Likewise.
6380 * gdb.threads/tls-shared.exp: Likewise.
6381 * gdb.threads/tls-so_extern.exp: Likewise.
6382 * gdb.trace/change-loc.exp: Likewise.
6383 * gdb.trace/ftrace-lock.exp: Likewise.
6384 * gdb.trace/ftrace.exp: Likewise.
6385 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6386 * gdb.trace/pending.exp: Likewise.
6387 * gdb.trace/range-stepping.exp: Likewise.
6388 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6389 (strace_info_marker): Likewise.
6390 (strace_probe_marker): Likewise.
6391 (strace_trace_on_same_addr): Likewise.
6392 (strace_trace_on_diff_addr): Likewise.
6393 * gdb.trace/trace-break.exp: Likewise.
6394 * gdb.trace/trace-condition.exp: Likewise.
6395 * gdb.trace/trace-mt.exp: Likewise.
6396
6397 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6398
6399 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6400 result of gdb_remote_download.
6401 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6402 * gdb.base/dso2dso.exp: Likewise.
6403 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6404 * gdb.base/print-file-var.exp: Likewise.
6405 * gdb.base/shlib-call.exp: Likewise.
6406 * gdb.base/shreloc.exp: Likewise.
6407 * gdb.base/solib-overlap.exp: Likewise.
6408 * gdb.base/solib-weak.exp (do_test): Likewise.
6409 * gdb.base/unload.exp: Likewise.
6410
6411 2016-04-27 Yao Qi <yao.qi@linaro.org>
6412
6413 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6414 exists.
6415
6416 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6417
6418 * vla-type.exp: Print structure from toplevel.
6419
6420 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6421
6422 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6423 of dynamic types.
6424 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6425 of dynamic types.
6426
6427 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6428
6429 * gdb.fortran/vla-type.f90: New file.
6430 * gdb.fortran/vla-type.exp: New file.
6431
6432 2016-04-25 Yao Qi <yao.qi@linaro.org>
6433
6434 * gdb.base/branch-to-self.c: New file.
6435 * gdb.base/branch-to-self.exp: New file.
6436
6437 2016-04-22 Yao Qi <yao.qi@linaro.org>
6438
6439 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6440 more after $hex.
6441
6442 2016-04-22 Yao Qi <yao.qi@linaro.org>
6443
6444 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6445 * gdb.base/annota3.exp: Likewise.
6446
6447 2016-04-22 Yao Qi <yao.qi@linaro.org>
6448
6449 * gdb.reverse/step-precsave.exp: Do one step and test program
6450 stops in "callee" and do multiple steps until program goes out
6451 of "callee".
6452 * gdb.reverse/step-reverse.exp: Likewise.
6453
6454 2016-04-22 Yao Qi <yao.qi@linaro.org>
6455
6456 * gdb.trace/signal.exp: Also pass if
6457 $tracepoint_hits($i) > $iterations.
6458
6459 2016-04-22 Yao Qi <yao.qi@linaro.org>
6460
6461 * gdb.trace/signal.c: New file.
6462 * gdb.trace/signal.exp: New file.
6463
6464 2016-04-19 Doug Evans <xdje42@gmail.com>
6465
6466 * gdb.base/bad-file.exp: New file.
6467
6468 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6469
6470 * gdb.dwarf2/implref.exp: New file.
6471
6472 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6473
6474 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6475 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6476 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6477 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6478 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6479 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6480 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6481 * lib/fortran.exp (fortran_int4): New procedure.
6482 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6483 (fortran_logical4): Likewise.
6484
6485 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6486
6487 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6488
6489 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6490
6491 * lib/compiler.c: Add Intel specific preprocessor macros.
6492 * lib/compiler.cc: Likewise.
6493
6494 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
6495
6496 * gdb.server/connect-with-no-symbol-file.c: New file.
6497 * gdb.server/connect-with-no-symbol-file.exp: New file.
6498
6499 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6500
6501 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6502
6503 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6504
6505 * boards/gdbserver-base.exp (${board}_download): Copy source file to
6506 standard output directory.
6507
6508 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
6509
6510 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6511
6512 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
6513
6514 * gdb.btrace/instruction_history.c (loop): Add declaration.
6515
6516 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6517
6518 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6519
6520 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
6521
6522 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6523 parentheses to print.
6524 (continue_handler): Likewise.
6525
6526 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
6527
6528 * gdb.server/solib-list.exp: Remove is_remote check.
6529 Pass shlib= to gdb_compile. Don't link shared library with
6530 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
6531 Run binary filename through "readlink -f" on the target.
6532
6533 2016-04-08 Pedro Alves <palves@redhat.com>
6534
6535 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
6536 interpreter filename as argument to gdbserver_spawn.
6537 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6538 Return empty if $last_loaded_file does not exist.
6539
6540 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6541
6542 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6543 * gdb.base/jit-main.c: Use exit after usage.
6544
6545 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6546
6547 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6548 GDBHISTSIZE prior to the tests.
6549 * gdb.base/gdbinit-history.exp: Likewise.
6550
6551 2016-04-07 Pedro Alves <palves@redhat.com>
6552
6553 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6554 instead of build_executable. Use gdb_load_shlibs.
6555
6556 2016-04-07 Yao Qi <yao.qi@linaro.org>
6557
6558 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6559 Execute "si" command.
6560
6561 2016-04-07 Yao Qi <yao.qi@linaro.org>
6562
6563 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
6564 number instead of the comments on some line.
6565
6566 2016-04-06 Don Breazeal <donb@codesourcery.com>
6567
6568 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6569 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6570
6571 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6572
6573 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6574 standard_output_file. Remove unused binfile variable.
6575
6576 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
6577
6578 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6579 * gdb.python/py-mi-objfile.exp: Match "list main" output
6580 in console format.
6581
6582 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6583
6584 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6585 absolute.
6586
6587 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6588
6589 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6590 absolute.
6591 * gdb.trace/ftrace.exp: Likewise.
6592 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6593 targets as well.
6594 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6595 (gdb_load_shlibs): Copy libraries to test directory when testing
6596 natively. Only set solib-search-path if testing remotely.
6597 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6598
6599 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6600
6601 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6602 gdb_download. Use it even if the target is not remote.
6603 * gdb.base/jit.exp (compile_jit_test): Likewise.
6604 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6605 output directory if the destination board is local, otherwise use
6606 the standard remote_download from DejaGnu.
6607 (gdb_download): Remove.
6608 (gdb_load_shlibs): Use gdb_remote_download instead of
6609 gdb_download.
6610 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6611 Use gdb_remote_download instead of gdb_download. Use it even if
6612 the target is not remote.
6613 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6614 instead of gdb_download.
6615
6616 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6617
6618 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6619 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6620 run.
6621
6622 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
6623
6624 PR gdb/19820
6625 * gdb.base/printcmds.exp: Add artificial arrays tests.
6626
6627 2016-03-31 Pedro Alves <palves@redhat.com>
6628
6629 PR gdb/19858
6630 * gdb.base/jit-main.c: Include unistd.h.
6631 (ATTACH): Define to 0 if not already defined.
6632 (wait_for_gdb, mypid): New globals.
6633 (WAIT_FOR_GDB): New macro.
6634 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6635 some breakpoint locations.
6636 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6637 New procedures.
6638 (one_jit_test): Add REATTACH parameter, and handle it. Use
6639 continue_to_test_location.
6640 (top level): Test attach, and adjusts calls to one_jit_test.
6641
6642 2016-03-31 Pedro Alves <palves@redhat.com>
6643
6644 PR gdb/19858
6645 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6646 BINSUFFIX parameter, and handle it.
6647 (top level): Adjust calls compile_jit_test.
6648
6649 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
6650
6651 PR python/19743
6652 * gdb.python/py-mi-events-gdb.py: New file.
6653 * gdb.python/py-mi-events.c: New file.
6654 * gdb.python/py-mi-events.exp: New file.
6655
6656 2016-03-30 Yao Qi <yao.qi@linaro.org>
6657
6658 * gdb.reverse/until-precsave.exp: Match function name only.
6659 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6660 Move malloc to a condition block.
6661 * gdb.reverse/until-reverse.exp: Match function name only.
6662
6663 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6664
6665 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6666 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6667 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6668 variable for GPR 0 instead of assuming it is register 0.
6669 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6670 * lib/trace-support.exp: Add s390 registers.
6671
6672 2016-03-29 Yao Qi <yao.qi@linaro.org>
6673
6674 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6675
6676 2016-03-24 Yao Qi <yao.qi@linaro.org>
6677
6678 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6679 test message.
6680
6681 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6682
6683 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6684 maintaining separate logic for constructing the output path.
6685
6686 2016-03-16 Don Breazeal <donb@codesourcery.com>
6687
6688 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6689 Retry fork and waitpid on interrupted system call errors.
6690 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6691 Use with_timeout_factor to increase timeout by factor of 10.
6692
6693 2016-03-15 Don Breazeal <donb@codesourcery.com>
6694
6695 * gdb.cp/scope-err.cc: New test program.
6696 * gdb.cp/scope-err.exp: New test script.
6697 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6698 lines and "set breakpoint here" comment.
6699 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6700 Fixed some whitespace and format issues.
6701 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6702 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6703
6704 2016-03-15 Doug Evans <dje@google.com>
6705
6706 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6707 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6708 All callers updated. Add tests for enums, mixed flags register.
6709
6710 2016-03-15 Doug Evans <dje@google.com>
6711
6712 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6713 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6714
6715 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6716
6717 * gdb.base/default.exp: Add $_as_string to the list of expected
6718 convenience functions.
6719
6720 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6721
6722 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6723
6724 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6725
6726 * gdb.python/py-as-string.exp: New file.
6727 * gdb.python/py-as-string.c: New file.
6728
6729 2016-03-09 Pedro Alves <palves@redhat.com>
6730
6731 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6732 signal" -> "Thread NN received signal" output change.
6733 * gdb.threads/ia64-sigill.exp: Likewise.
6734 * gdb.threads/linux-dp.exp: Likewise.
6735 * gdb.threads/manythreads.exp: Likewise.
6736 * gdb.threads/pending-step.exp: Likewise.
6737 * gdb.threads/print-threads.exp: Likewise.
6738 * gdb.threads/sigstep-threads.exp: Likewise.
6739 * gdb.threads/staticthreads.exp: Likewise.
6740 * gdb.threads/tls.exp: Likewise.
6741
6742 2016-03-09 Pedro Alves <palves@redhat.com>
6743
6744 * gdb.base/command-line-input.exp: New file.
6745
6746 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6747
6748 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6749 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6750 * gdb.trace/pending.exp: Accept leading dot before function name.
6751 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6752 * lib/trace-support.exp: Set registers for ppc.
6753
6754 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6755
6756 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6757 use it for disassembly; accept .main in addition to main in backtrace.
6758
6759 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
6760 Marcin Kościelnicki <koriakin@0x04.net>
6761
6762 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6763 (gdb_recursion_test_ptr): New global variable.
6764 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6765 gdb_recursion_test.
6766 (gdb_c_test): Ditto.
6767
6768 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6769
6770 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6771 ordering.
6772
6773 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6774
6775 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6776 (bar): Add bar_start_lbl label.
6777 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6778 of foo/bar for emitting DWARF and tracing.
6779
6780 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6781
6782 * analyze-racy-logs.py: Set executable bit.
6783
6784 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6785
6786 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6787 (CHECK_TARGET_TMP): Likewise.
6788 (check-single-racy): New rule.
6789 (check-parallel-racy): Likewise.
6790 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6791 (do-check-parallel-racy): New rule.
6792 (check-racy/%.exp): Likewise.
6793 * README (Racy testcases): New section.
6794 * analyze-racy-logs.py: New file.
6795
6796 2016-03-03 Doug Evans <dje@google.com>
6797
6798 * gdb.base/skip.exp: Use with_test_prefix.
6799
6800 2016-03-03 Yao Qi <yao.qi@linaro.org>
6801
6802 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6803 Invoke step_over_syscall "clone" and break_cond_on_syscall
6804 "clone".
6805 * gdb.base/step-over-clone.c: New file.
6806
6807 2016-03-03 Yao Qi <yao.qi@linaro.org>
6808
6809 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6810 code format.
6811
6812 2016-03-03 Yao Qi <yao.qi@linaro.org>
6813
6814 * gdb.base/disp-step-fork.c: Rename to ...
6815 * gdb.base/step-over-fork.c: ... it. New file.
6816 * gdb.base/disp-step-vfork.c: Rename to ...
6817 * gdb.base/step-over-vfork.c: ... it. New file.
6818 * gdb.base/disp-step-syscall.exp: Rename to ...
6819 * gdb.base/step-over-syscall.exp: ... it. New file.
6820 (disp_step_cross_syscall): Rename to ...
6821 (step_over_syscall): ... it.
6822
6823 2016-03-03 Yao Qi <yao.qi@linaro.org>
6824
6825 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6826 If target supports condition evaluation on target, invoke
6827 break_cond_on_syscall for fork and vfork.
6828
6829 2016-03-03 Yao Qi <yao.qi@linaro.org>
6830
6831 * gdb.base/disp-step-syscall.exp: Don't invoke
6832 support_displaced_stepping.
6833 (disp_step_cross_syscall): Test with displaced stepping off and
6834 on if supported.
6835
6836 2016-03-03 Yao Qi <yao.qi@linaro.org>
6837
6838 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6839 proc.
6840 (setup): New proc.
6841 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
6842 and setup.
6843
6844 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6845
6846 * gdb.fortran/vla-history.exp: Remove breakpoint.
6847
6848 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6849
6850 * gdb.fortran/vla-history.exp: Lookup array elements and printing
6851 exceeds timeout.
6852
6853 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6854
6855 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
6856 breakpoint.
6857
6858 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6859
6860 * gdb.mi/vla.f90: Nullify pointer after declaration.
6861
6862 2016-03-01 Pedro Alves <palves@redhat.com>
6863
6864 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
6865
6866 2016-03-01 Pedro Alves <palves@redhat.com>
6867
6868 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
6869 before anything else.
6870 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
6871 _GNU_SOURCE here.
6872 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
6873 before anything else.
6874 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
6875
6876 2016-03-01 Pedro Alves <palves@redhat.com>
6877
6878 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
6879
6880 2016-03-01 Yao Qi <yao.qi@linaro.org>
6881
6882 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
6883 prepare_for_testing.
6884
6885 2016-03-01 Yao Qi <yao.qi@linaro.org>
6886
6887 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
6888
6889 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6890
6891 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
6892 manually constructing the output path.
6893
6894 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6895
6896 * gdb.arch/s390-stackless.S: New.
6897 * gdb.arch/s390-stackless.exp: New.
6898
6899 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
6900
6901 * gdb.dlang/circular.c: New file.
6902 * gdb.dlang/circular.exp: New file.
6903
6904 2016-02-26 Yao Qi <yao.qi@linaro.org>
6905
6906 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
6907 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
6908 (testcases): Update.
6909
6910 2016-02-26 Yao Qi <yao.qi@linaro.org>
6911
6912 * gdb.reverse/aarch64.c: Rename to ...
6913 * gdb.reverse/insn-reverse.c: ... it.
6914 * gdb.reverse/aarch64.exp: Rename to ...
6915 * gdb.reverse/insn-reverse.exp: ... it.
6916
6917 2016-02-26 Yao Qi <yao.qi@linaro.org>
6918
6919 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
6920 (testcase_ftype): New.
6921 (testcases): New array.
6922 (n_testcases): New.
6923 (main): Call each element in testcases.
6924 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
6925 (read_testcase): New.
6926 Do the tests in a loop.
6927
6928 2016-02-25 Yao Qi <yao.qi@linaro.org>
6929
6930 * gdb.base/branches.c: Remove.
6931
6932 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6933
6934 PR gdb/13808
6935 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
6936
6937 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6938
6939 * gdb.trace/ftrace.exp: Remove unnecessary target check.
6940
6941 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6942
6943 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
6944 change x86_64 call_insn to 'callq'.
6945
6946 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6947
6948 * gdb.trace/tfile-avx.c: Move to...
6949 * gdb.trace/tracefile-pseudo-reg.c: Here.
6950 * gdb.trace/tfile-avx.exp: Move to...
6951 * gdb.trace/tracefile-pseudo-reg.exp: Here.
6952
6953 2016-02-24 Gary Benson <gbenson@redhat.com>
6954
6955 * gdb.base/attach-pie-noexec.exp: Do not expect an error
6956 message on attach.
6957
6958 2016-02-23 Doug Evans <dje@google.com>
6959
6960 * gdb.base/skip.c (test_skip): New function.
6961 (end_test_skip_file_and_function): New function.
6962 (test_skip_file_and_function): New function.
6963 * gdb.base/skip1.c (test_skip): New function.
6964 (skip1_test_skip_file_and_function): New function.
6965 * gdb.base/skip.exp: Add tests for new skip options.
6966 * gdb.base/skip-solib.exp: Update expected output.
6967 * gdb.perf/skip-command.cc: New file.
6968 * gdb.perf/skip-command.exp: New file.
6969 * gdb.perf/skip-command.py: New file.
6970
6971 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
6972
6973 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
6974 info registers pattern.
6975
6976 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
6977
6978 * lib/future.exp: Add D support.
6979 (gdb_find_gdc): New proc.
6980 (gdb_default_target_compile): Add D support.
6981
6982 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
6983
6984 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
6985 user+system time.
6986 (trace_speed_test): Determine the iteration count for a time
6987 between 15..30 seconds.
6988
6989 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
6990
6991 * gdb.arch/i386-mpx-sigsegv.c: New file.
6992 * gdb.arch/i386-mpx-sigsegv.exp: New file.
6993 * gdb.arch/i386-mpx-simple_segv.c: New file.
6994 * gdb.arch/i386-mpx-simple_segv.exp: New file.
6995
6996 2016-02-18 Yao Qi <yao.qi@linaro.org>
6997
6998 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6999 Don't call setup_kfail.
7000
7001 2016-02-18 Yao Qi <yao.qi@linaro.org>
7002
7003 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7004 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7005
7006 2016-02-16 Doug Evans <dje@google.com>
7007
7008 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7009 * gdb.base/skip1.c: Ditto.
7010 * gdb.base/skip.exp: Whitespace cleanup.
7011
7012 2016-02-16 Don Breazeal <donb@codesourcery.com>
7013
7014 PR remote/19496
7015 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7016 Remove kfail for PR remote/19496.
7017
7018 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7019
7020 * lib/gdb.exp (standard_temp_file): Return a path specific to
7021 the runtest invocation.
7022
7023 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7024
7025 * gdb.trace/save-trace.exp: Change relative path to be in the
7026 standard output directory.
7027
7028 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7029
7030 * gdb.arch/i386-prologue.c: Add missing prototypes.
7031
7032 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7033
7034 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7035 * gdb.arch/i386-prologue.exp: Likewise.
7036 * gdb.arch/i386-size.exp: Likewise.
7037
7038 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7039
7040 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7041 define object file path.
7042 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7043 file path.
7044 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7045 standard_output_file to define binfile.
7046
7047 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7048
7049 Fix compatibility with recent gfortran-5.3.1.
7050 * gdb.fortran/vla-history.exp (print vla1 allocated)
7051 (print vla2 allocated, print $2, print $3): Remove
7052 (print $4): Rename to ...
7053 (print $2): ... here.
7054 (print $9): Rename to ...
7055 (print $5): ... here.
7056 (print $10): Rename to ...
7057 (print $6): ... here.
7058 * gdb.fortran/vla.f90: Add pvla initialization.
7059
7060 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7061
7062 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7063 New test.
7064 * gdb.fortran/vla-value-sub.exp: Likewise.
7065
7066 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7067
7068 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7069
7070 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7071
7072 * i386-biarch-core.exp: Define corefile using
7073 standard_output_file.
7074
7075 2016-02-12 Yao Qi <yao.qi@linaro.org>
7076
7077 * gdb.arch/arm-single-step-kernel-helper.c: New.
7078 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7079
7080 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7081
7082 * gdb.btrace/tailcall-only.exp: New.
7083 * gdb.btrace/tailcall-only.c: New.
7084 * gdb.btrace/x86_64-tailcall-only.S: New.
7085 * gdb.btrace/i686-tailcall-only.S: New.
7086
7087 2016-02-11 Pedro Alves <palves@redhat.com>
7088
7089 * README (Parallel testing): Add missing double quotes.
7090
7091 2016-02-11 Pedro Alves <palves@redhat.com>
7092
7093 * README (Parallel testing): New section.
7094 (GDB_PARALLEL): Rewrite.
7095 (FORCE_PARALLEL): Document.
7096
7097 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7098
7099 * gdb.trace/tfile-avx.c: New test.
7100 * gdb.trace/tfile-avx.exp: New test.
7101
7102 2016-02-09 Keith Seitz <keiths@redhat.com>
7103
7104 PR breakpoints/19546
7105 * gdb.base/infcall-exec.c: New file.
7106 * gdb.base/infcall-exec2.c: New file.
7107 * gdb.base/infcall-exec.exp: New file.
7108
7109 2016-02-09 Keith Seitz <keiths@redhat.com>
7110
7111 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7112 (toplevel): Call test_bkpt_address.
7113
7114 2016-02-09 Keith Seitz <keiths@redhat.com>
7115
7116 PR python/19506
7117 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7118 (toplevel): Call test_bkpt_address.
7119
7120 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7121
7122 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7123 to AC_OUTPUT.
7124 * configure: Regenerate.
7125
7126 2016-02-09 Pedro Alves <palves@redhat.com>
7127
7128 PR breakpoints/19548
7129 * gdb.base/execl-update-breakpoints.c (some_function): New
7130 function.
7131 (main): Call it.
7132 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7133 Tighten expected GDB output.
7134
7135 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7136
7137 * Makefile.in (ALL_SUBDIRS): Remove.
7138 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7139 (distclean maintainer-clean realclean): Likewise.
7140 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7141 * configure: Regenerate.
7142 * gdb.ada/Makefile.in: Delete.
7143 * gdb.arch/Makefile.in: Likewise.
7144 * gdb.asm/Makefile.in: Likewise.
7145 * gdb.base/Makefile.in: Likewise.
7146 * gdb.btrace/Makefile.in: Likewise.
7147 * gdb.cell/Makefile.in: Likewise.
7148 * gdb.compile/Makefile.in: Likewise.
7149 * gdb.cp/Makefile.in: Likewise.
7150 * gdb.disasm/Makefile.in: Likewise.
7151 * gdb.dlang/Makefile.in: Likewise.
7152 * gdb.dwarf2/Makefile.in: Likewise.
7153 * gdb.fortran/Makefile.in: Likewise.
7154 * gdb.gdb/Makefile.in: Likewise.
7155 * gdb.go/Makefile.in: Likewise.
7156 * gdb.guile/Makefile.in: Likewise.
7157 * gdb.java/Makefile.in: Likewise.
7158 * gdb.linespec/Makefile.in: Likewise.
7159 * gdb.mi/Makefile.in: Likewise.
7160 * gdb.modula2/Makefile.in: Likewise.
7161 * gdb.multi/Makefile.in: Likewise.
7162 * gdb.objc/Makefile.in: Likewise.
7163 * gdb.opencl/Makefile.in: Likewise.
7164 * gdb.opt/Makefile.in: Likewise.
7165 * gdb.pascal/Makefile.in: Likewise.
7166 * gdb.perf/Makefile.in: Likewise.
7167 * gdb.python/Makefile.in: Likewise.
7168 * gdb.reverse/Makefile.in: Likewise.
7169 * gdb.server/Makefile.in: Likewise.
7170 * gdb.stabs/Makefile.in: Likewise.
7171 * gdb.threads/Makefile.in: Likewise.
7172 * gdb.trace/Makefile.in: Likewise.
7173 * gdb.xml/Makefile.in: Likewise.
7174 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7175 GDB_PARALLEL.
7176 (standard_output_file): Remove check for GDB_PARALLEL, always
7177 return path in outputs/$subdir/$testname.
7178
7179 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7180
7181 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7182 (site.exp): Assign abs_srcdir to tcl's srcdir.
7183
7184 2016-02-04 Yao Qi <yao.qi@linaro.org>
7185
7186 * gdb.base/foll-exec-mode.c: Include limits.h.
7187 (main): Add parameters argc and argv. Get directory from
7188 argv[0].
7189 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7190 compilation.
7191 * gdb.base/foll-exec.c: Include limits.h.
7192 (main): Add parameters argc and argv.
7193 Get directory from argv[0].
7194 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7195 Adjust tests on the number of lines as source code changed.
7196 * gdb.base/foll-vfork-exit.c: Include limits.h.
7197 (main): Add one line of statement before vfork.
7198 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7199 (main): Add parameters argc and argv. Get directory from
7200 argv[0].
7201 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7202 (setup_gdb): Set tbreak to skip some source lines.
7203 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7204 (main): Add parameters argc and argv. Get directory from
7205 argv[0].
7206 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7207 compilation.
7208 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7209 (main): Add parameters argc and argv. Get directory from
7210 argv[0].
7211 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7212 compilation.
7213
7214 2016-02-01 Doug Evans <dje@google.com>
7215
7216 * gdb.base/skip.exp: Clean up multiple references to same test name.
7217
7218 2016-02-01 Pedro Alves <palves@redhat.com>
7219
7220 PR remote/19496
7221 * gdb.threads/forking-threads-plus-breakpoint.exp
7222 (displaced_stepping_supported): New global.
7223 (probe_displaced_stepping_support): New procedure.
7224 (do_test): Add 'displaced' parameter, and use it.
7225 (top level): Check for displaced stepping support. Add displaced
7226 stepping on/off testing axis.
7227
7228 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7229
7230 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7231 pointer. Don't perform further tests on the unassociated pointer
7232 if the first test fails.
7233
7234 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7235
7236 * gdb.base/max-value-size.c: New file.
7237 * gdb.base/max-value-size.exp: New file.
7238 * gdb.base/huge.exp: Disable max-value-size for this test.
7239
7240 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7241
7242 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7243
7244 2016-01-28 Yao Qi <yao.qi@linaro.org>
7245
7246 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7247
7248 2016-01-25 Pedro Alves <palves@redhat.com>
7249
7250 PR threads/19461
7251 * gdb.base/fork-running-state.c: New file.
7252 * gdb.base/fork-running-state.exp: New file.
7253
7254 2016-01-25 Pedro Alves <palves@redhat.com>
7255
7256 PR gdb/19494
7257 * gdb.base/catch-fork-kill.c: New file.
7258 * gdb.base/catch-fork-kill.exp: New file.
7259
7260 2016-01-25 Pedro Alves <palves@redhat.com>
7261
7262 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7263 Delete, moved to lib/gdb.exp.
7264 * gdb.threads/forking-threads-plus-breakpoint.exp
7265 (foreach_with_prefix): Likewise.
7266 * gdb.threads/process-dies-while-handling-bp.exp
7267 (foreach_with_prefix): Likewise.
7268 * lib/gdb.exp (foreach_with_prefix): New procedure.
7269
7270 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7271
7272 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7273 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7274
7275 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7276
7277 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7278 endian targets.
7279
7280 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7281 Pedro Alves <palves@redhat.com>
7282
7283 Fix testsuite compatibility with Guile.
7284 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7285 number.
7286
7287 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7288
7289 Fix testsuite compatibility with Guile.
7290 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7291 (thread 1): New test for backtrace through signal handler.
7292
7293 2016-01-22 Yao Qi <yao.qi@linaro.org>
7294
7295 PR testsuite/19491
7296 * gdb.base/multi-forks.c: Include
7297 ../lib/unbuffer_output.c
7298 (main): Call gdb_unbuffer_output.
7299
7300 2016-01-21 Doug Evans <dje@google.com>
7301
7302 * lib/ada.exp (gdb_compile_ada): Fix typo.
7303
7304 2016-01-21 Joel Brobecker <brobecker@adacore.com>
7305
7306 * gdb.base/break-fun-addr.exp: New file.
7307 * gdb.base/break-fun-addr1.c: New file.
7308 * gdb.base/break-fun-addr2.c: New file.
7309
7310 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7311
7312 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7313 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7314 enum flag values.
7315
7316 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7317
7318 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7319 when GDB can not set the vector return value. Add more comments
7320 for clarification.
7321
7322 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7323
7324 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7325 command.
7326
7327 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7328
7329 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7330
7331 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7332
7333 * Makefile.in (check-single): Pass --status to runtest.
7334 (check/%.exp): Likewise.
7335
7336 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7337
7338 * Makefile.in (check-parallel): Propagate return code from make
7339 do-check-parallel.
7340
7341 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7342
7343 * gdb.trace/ftrace.exp: Fix expected message on continue.
7344 * gdb.trace/pending.exp: Fix expected message on continue.
7345 * gdb.trace/trace-break.exp: Fix expected message on continue.
7346
7347 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7348
7349 * lib/gdb.exp (gdb_test): Remove unused global references.
7350
7351 2016-01-18 Pedro Alves <palves@redhat.com>
7352
7353 * gdb.base/async-shell.exp: Adjust expected output.
7354 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7355 * gdb.base/siginfo-thread.exp: Adjust expected output.
7356 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7357 * gdb.java/jnpe.exp: Adjust expected output.
7358 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7359 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7360 * gdb.threads/leader-exit.exp: Adjust expected output.
7361 * gdb.threads/manythreads.exp: Adjust expected output.
7362 * gdb.threads/pthreads.exp: Adjust expected output.
7363 * gdb.threads/schedlock.exp: Adjust expected output.
7364 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7365 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7366 expected output.
7367 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7368 output.
7369 * gdb.threads/sigthread.exp: Adjust expected output.
7370 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7371
7372 2016-01-18 Yao Qi <yao.qi@linaro.org>
7373
7374 * gdb.guile/scm-section-script.c: Replace @progbits with
7375 %progbits.
7376 * gdb.python/py-section-script.c: Likewise.
7377
7378 2016-01-15 Pedro Alves <palves@redhat.com>
7379
7380 * gdb.multi/tids.exp: Test star wildcard ranges.
7381
7382 2016-01-15 Pedro Alves <palves@redhat.com>
7383
7384 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7385 command from "thread apply" invocation.
7386 (thr_apply_info_thr_invalid): Default the expected output to the
7387 input tid list.
7388 (top level): Add tests that use convenience variables. Add tests
7389 for "thread apply" with a valid TID list, but missing the command.
7390
7391 2016-01-13 Pedro Alves <palves@redhat.com>
7392
7393 * gdb.base/default.exp: Expect $_gthread as well.
7394 * gdb.multi/tids.exp: Test $_gthread.
7395 * gdb.threads/thread-specific.exp: Test $_gthread.
7396
7397 2016-01-13 Pedro Alves <palves@redhat.com>
7398
7399 * gdb.multi/tids.exp: Test "info threads -gid".
7400
7401 2016-01-13 Pedro Alves <palves@redhat.com>
7402
7403 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7404 Breakpoint.thread.
7405 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7406
7407 2016-01-07 Pedro Alves <palves@redhat.com>
7408
7409 * gdb.base/break.exp: Adjust to output changes.
7410 * gdb.base/hbreak2.exp: Likewise.
7411 * gdb.base/sepdebug.exp: Likewise.
7412 * gdb.base/watch_thread_num.exp: Likewise.
7413 * gdb.linespec/keywords.exp: Likewise.
7414 * gdb.multi/info-threads.exp: Likewise.
7415 * gdb.threads/thread-find.exp: Likewise.
7416 * gdb.multi/tids.c: New file.
7417 * gdb.multi/tids.exp: New file.
7418
7419 2016-01-13 Pedro Alves <palves@redhat.com>
7420
7421 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7422
7423 2016-01-13 Pedro Alves <palves@redhat.com>
7424
7425 * gdb.base/default.exp: Expect $_inferior as well.
7426 * gdb.multi/base.exp: Test $_inferior.
7427
7428 2016-01-13 Pedro Alves <palves@redhat.com>
7429
7430 PR breakpoints/19388
7431 * gdb.base/catch-signal-siginfo-cond.c: New file.
7432 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7433
7434 2016-01-12 Josh Stone <jistone@redhat.com>
7435 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7436
7437 * gdb.base/catch-syscall.c (do_execve): New variable.
7438 (main): Conditionally trigger an execve.
7439 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7440 (test_catch_syscall_execve): New, check entry/return across execve.
7441 (do_syscall_tests): Call test_catch_syscall_execve.
7442
7443 2016-01-12 Pedro Alves <palves@redhat.com>
7444
7445 * gdb.base/random-signal.exp (do_test): New procedure, with body
7446 of testcase moved in.
7447
7448 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7449 Pedro Alves <palves@redhat.com>
7450
7451 * gdb.base/funcargs.exp (finish from indirectly called function):
7452 Reintroduce the case for 'First'.
7453
7454 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7455 Pedro Alves <palves@redhat.com>
7456
7457 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7458 (tcatch_vfork_then_child_follow_exec)
7459 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7460 identification.
7461
7462 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7463
7464 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7465 and repeats to unlimited.
7466 * gdb.python/py-value.exp: Likewise.
7467 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7468 and repeats to unlimited.
7469
7470 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7471
7472 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7473 and reordering the functions.
7474 * gdb.multi/hangout.c: Likewise.
7475 * gdb.multi/hello.c: Likewise.
7476
7477 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7478
7479 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7480 absolute.
7481 (SingleStatisticTestResult.report): Use dict.keys instead of
7482 dict.iterkeys.
7483
7484 2016-01-06 Pedro Alves <palves@redhat.com>
7485
7486 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7487
7488 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7489
7490 * gdb.btrace/dlopen.exp: New.
7491 * gdb.btrace/dlopen.c: New.
7492 * gdb.btrace/dlopen-dso.c: New.
7493
7494 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
7495
7496 * lib/gdb.exp (gdb_test): Update comments to clarify that the
7497 PATTERN argument is optional.
7498
7499 2015-12-24 Joel Brobecker <brobecker@adacore.com>
7500
7501 * lib/ada.exp (target_compile_ada_from_dir): New function.
7502 (gdb_compile_ada): Reimplement avoiding the use of project files.
7503 * gdb.ada/gnat_ada.gpr: Delete.
7504 * gdb.ada/cond_lang.exp: Adjust test to make path before
7505 filename optional.
7506 * gdb.ada/small_reg_param.exp: Likewise.
7507
7508 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
7509
7510 * gdb.base/foll-vork.exp: Remove HP-UX special case.
7511
7512 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
7513
7514 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7515 case.
7516
7517 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
7518
7519 * gdb.base/break.exp: Remove dead code.
7520 * gdb.base/sepdebug.exp: Likewise.
7521
7522 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7523
7524 * gdb.asm/asm-source.exp: Remove HP-UX references.
7525 * gdb.base/annota1.exp: Likewise.
7526 * gdb.base/annota3.exp: Likewise.
7527 * gdb.base/attach.exp: Likewise.
7528 * gdb.base/bigcore.exp: Likewise.
7529 * gdb.base/break.exp: Likewise.
7530 * gdb.base/call-ar-st.exp: Likewise.
7531 * gdb.base/callfuncs.exp: Likewise.
7532 * gdb.base/catch-fork-static.exp: Likewise.
7533 * gdb.base/display.exp: Likewise.
7534 * gdb.base/foll-exec-mode.exp: Likewise.
7535 * gdb.base/foll-exec.exp: Likewise.
7536 * gdb.base/foll-fork.exp: Likewise.
7537 * gdb.base/foll-vfork.exp: Likewise.
7538 * gdb.base/funcargs.exp: Likewise.
7539 * gdb.base/hbreak2.exp: Likewise.
7540 * gdb.base/inferior-died.exp: Likewise.
7541 * gdb.base/interrupt.exp: Likewise.
7542 * gdb.base/multi-forks.exp: Likewise.
7543 * gdb.base/nodebug.exp: Likewise.
7544 * gdb.base/sepdebug.exp: Likewise.
7545 * gdb.base/solib1.c: Likewise.
7546 * gdb.base/step-test.exp: Likewise.
7547 * gdb.mi/non-stop.c: Likewise.
7548 * gdb.mi/pthreads.c: Likewise.
7549 * gdb.multi/bkpt-multi-exec.ex: Likewise.
7550 * gdb.threads/pthreads.c: Likewise.
7551 * gdb.threads/staticthreads.exp: Likewise.
7552 * lib/future.exp: Likewise.
7553 * lib/gdb.exp: Likewise.
7554 * gdb.base/so-indr-cl.c: Remove.
7555 * gdb.base/so-indr-cl.exp: Likewise.
7556 * gdb.base/solib.c: Likewise.
7557 * gdb.base/solib.exp: Likewise.
7558 * gdb.base/solib2.c: Likewise.
7559
7560 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7561
7562 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7563 * gdb.base/call-ar-st.exp: Likewise.
7564 * gdb.base/callfuncs.exp: Likewise.
7565 * gdb.base/condbreak.exp: Likewise.
7566 * gdb.base/constvars.exp: Likewise.
7567 * gdb.base/hbreak2.exp: Likewise.
7568 * gdb.base/langs.exp: Likewise.
7569 * gdb.base/list.exp: Likewise.
7570 * gdb.base/long_long.exp: Likewise.
7571 * gdb.base/ptype.exp: Likewise.
7572 * gdb.base/scope.exp: Likewise.
7573 * gdb.base/signals.exp: Likewise.
7574 * gdb.base/so-impl-ld.exp: Likewise.
7575 * gdb.base/varargs.exp: Likewise.
7576 * gdb.base/volatile.exp: Likewise.
7577 * gdb.base/whatis.exp: Likewise.
7578 * gdb.cp/cplusfuncs.exp: Likewise.
7579 * gdb.cp/inherit.exp: Likewise.
7580 * gdb.cp/local.exp: Likewise.
7581 * gdb.cp/member-ptr.exp: Likewise.
7582 * gdb.cp/method.exp: Likewise.
7583 * gdb.cp/overload.exp: Likewise.
7584 * gdb.cp/templates.exp: Likewise.
7585 * gdb.stabs/weird.exp: Likewise.
7586 * lib/compiler.c: Likewise.
7587 * lib/compiler.cc: Likewise.
7588 * lib/cp-support.exp: Likewise.
7589 * lib/gdb.exp: Likewise.
7590
7591 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7592
7593 * configure.ac: Remove HP-UX case.
7594 * configure: Regenerate.
7595
7596 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7597
7598 * lib/gdb.exp (gdb_compile): Add function doc.
7599
7600 2015-12-17 Pedro Alves <palves@redhat.com>
7601
7602 PR threads/19354
7603 * gdb.multi/info-threads.exp: New file.
7604
7605 2015-12-15 Yao Qi <yao.qi@linaro.org>
7606
7607 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7608 is aarch64*-*-*.
7609
7610 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7611
7612 * gdb.base/history-duplicates.exp: Skip if no readline support.
7613
7614 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7615
7616 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7617
7618 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7619
7620 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7621
7622 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7623
7624 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7625 ctrl-C if nointerrupts target property is set.
7626 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7627 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7628 * gdb.base/paginate-bg-execution.exp: Likewise.
7629 * gdb.base/paginate-execution-startup.exp: Likewise.
7630 * gdb.base/random-signal.exp: Likewise.
7631 * gdb.base/range-stepping.exp: Likewise.
7632 * gdb.cp/annota2.exp: Likewise.
7633 * gdb.cp/annota3.exp: Likewise.
7634 * gdb.gdb/selftest.exp: Likewise.
7635 * gdb.threads/continue-pending-status.exp: Likewise.
7636 * gdb.threads/leader-exit.exp: Likewise.
7637 * gdb.threads/manythreads.exp: Likewise.
7638 * gdb.threads/pthreads.exp: Likewise.
7639 * gdb.threads/schedlock.exp: Likewise.
7640 * gdb.threads/sigthread.exp: Likewise.
7641
7642 2015-12-11 Don Breazeal <donb@codesourcery.com>
7643
7644 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7645 remote.
7646 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7647 * gdb.base/foll-exec.exp (main): Enable for target remote.
7648 * gdb.base/foll-fork.exp (main): Likewise.
7649 * gdb.base/foll-vfork.exp (main): Likewise.
7650 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7651 (proc continue_to_exit_bp_loc): Use clean_restart.
7652 * gdb.base/pie-execl.exp (main): Disable for target remote.
7653 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7654 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7655 * gdb.threads/execl.exp (main): Likewise.
7656 * gdb.threads/fork-child-threads.exp (main): Likewise.
7657 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7658 remote.
7659 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7660 remote.
7661 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7662 pid.tid style ptids, instead of just tid.
7663 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7664 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7665 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7666 ptids, instead of just tid.
7667
7668 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7669
7670 * gdb.base/list.exp (test_list_forward): Add end of file error
7671 test.
7672 (test_repeat_list_command): Add end of file error test.
7673 (test_list_backwards): Add beginning of file error test.
7674
7675 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7676
7677 * gdb.base/list.exp (test_list_invalid_args): New function,
7678 defined, and called.
7679
7680 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7681
7682 * gdb.base/list.exp (test_list): Make test names unique.
7683
7684 2015-12-11 Yao Qi <yao.qi@linaro.org>
7685
7686 * gdb.base/coremaker2.c: Remove.
7687
7688 2015-12-10 Pedro Alves <palves@redhat.com>
7689
7690 * gdb.multi/base.exp: Remove stale "spaces" references.
7691
7692 2015-12-10 Pedro Alves <palves@redhat.com>
7693
7694 * gdb.multi/base.exp: Don't use nowarnings.
7695 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7696 * gdb.multi/hangout.c: Include stdio.h.
7697 * gdb.multi/hello.c: Include stdlib.h.
7698 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7699 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7700 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7701
7702 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7703
7704 * gdb.dwarf2/dw2-ranges-base.c: New file.
7705 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7706 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7707 support additional line table, and debug ranges generation.
7708 (Dwarf::ranges): New function, generate .debug_ranges.
7709 (Dwarf::lines): Support generating simple line table programs.
7710 (Dwarf::assemble): Initialise new namespace variables.
7711
7712 2015-12-09 Kevin Buettner <kevinb@redhat.com>
7713
7714 * gdb.base/async.exp (proc test_background): Add case for
7715 asynchronous execution not supported.
7716
7717 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
7718
7719 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7720 format and change test names to make them unique.
7721
7722 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7723 Pedro Alves <pedro@redhat.com>
7724
7725 PR gdb/18702
7726 Add checking of floatformats setup on x86_64 hosts.
7727 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7728 (smallval, bigval): New labels/constants.
7729 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7730 float" after loading bigval and smallval.
7731
7732 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7733
7734 * gdb.ada/fun_overload_menu.exp: New testcase.
7735 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7736
7737 2015-12-04 Josh Stone <jistone@redhat.com>
7738
7739 * gdb.base/catch-fork-static.exp: New.
7740
7741 2015-12-03 Yao Qi <yao.qi@linaro.org>
7742
7743 * gdb.base/sizeof.c: Don't include stdio.h and
7744 ../lib/unbuffer_output.c.
7745 (main): New variable 'size' and 'value'. Remove printf and
7746 gdb_unbuffer_output. Assign return value to size and value.
7747 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7748 at the beginning.
7749 (check_sizeof): Check the result by printing variable 'size'.
7750 (check_valueof): Check the result by printing variable 'value'.
7751
7752 2015-12-01 Yao Qi <yao.qi@linaro.org>
7753
7754 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7755 for aarch64*-*-linux* target.
7756
7757 2015-11-30 Pedro Alves <palves@redhat.com>
7758
7759 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7760
7761 2015-11-30 Pedro Alves <palves@redhat.com>
7762
7763 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7764 Handle non-stop mode vCont replies.
7765
7766 2015-11-30 Pedro Alves <palves@redhat.com>
7767
7768 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7769 prepare_for_testing. Start gdb with "set non-stop on" appended to
7770 GDBFLAGS. Lax expected stop output.
7771
7772 2015-11-27 Yao Qi <yao.qi@linaro.org>
7773
7774 * gdb.arch/arm-neon.exp: New.
7775 * gdb.arch/arm-neon.c: New.
7776
7777 2015-11-27 Yao Qi <yao.qi@linaro.org>
7778
7779 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7780
7781 2015-11-27 Yao Qi <yao.qi@linaro.org>
7782
7783 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7784 frames-invalid annotation.
7785
7786 2015-11-27 Yao Qi <yao.qi@linaro.org>
7787
7788 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7789
7790 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7791
7792 * gdb.threads/names.exp: New file.
7793 * gdb.threads/names.c: New file.
7794 * README: Mention gdb,no_thread_names.
7795
7796 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7797
7798 PR 19297
7799 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7800 support" error.
7801
7802 2015-11-24 Pedro Alves <palves@redhat.com>
7803
7804 PR 17539
7805 * gdb.base/display.exp: Expect displays to be sorted in ascending
7806 order. Use multi_line.
7807 * gdb.base/solib-display.exp: Likewise.
7808
7809 2015-11-24 Pedro Alves <palves@redhat.com>
7810
7811 PR 17539
7812 * gdb.base/display.exp: Expect displays to be sorted in ascending
7813 order. Use multi_line.
7814 * gdb.base/solib-display.exp: Likewise.
7815
7816 2015-11-24 Pedro Alves <palves@redhat.com>
7817
7818 PR 17539
7819 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7820 threads in ascending order.
7821 * gdb.base/foll-fork.exp: Likewise.
7822 * gdb.base/foll-vfork.exp: Likewise.
7823 * gdb.base/multi-forks.exp: Likewise.
7824 * gdb.mi/mi-nonstop.exp: Likewise.
7825 * gdb.mi/mi-nsintrall.exp: Likewise.
7826 * gdb.multi/base.exp: Likewise.
7827 * gdb.multi/multi-arch.exp: Likewise.
7828 * gdb.python/py-inferior.exp: Likewise.
7829 * gdb.threads/break-while-running.exp: Likewise.
7830 * gdb.threads/execl.exp: Likewise.
7831 * gdb.threads/gcore-thread.exp: Likewise.
7832 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7833 * gdb.threads/kill.exp: Likewise.
7834 * gdb.threads/linux-dp.exp: Likewise.
7835 * gdb.threads/multiple-step-overs.exp: Likewise.
7836 * gdb.threads/next-bp-other-thread.exp: Likewise.
7837 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7838 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7839 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7840 * gdb.threads/thread-find.exp: Likewise.
7841 * gdb.threads/tls.exp: Likewise.
7842 * lib/mi-support.exp (mi_reverse_list): Delete.
7843 (mi_check_thread_states): No longer reverse list.
7844
7845 2015-11-24 Pedro Alves <palves@redhat.com>
7846
7847 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
7848 use lowercase.
7849
7850 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7851
7852 * gdb.trace/actions.c: Include trace-common.h.
7853 (main): Add a location for a fast tracepoint.
7854 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
7855 the normal tracepoints.
7856 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
7857
7858 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7859
7860 * save-trace.exp: Factor out code to these...
7861 (gdb_save_tracepoints): New.
7862 (gdb_load_tracepoints): New.
7863 (do_save_load_test): New.
7864
7865 2015-11-23 Kevin Buettner <kevinb@redhat.com>
7866
7867 * gdb.base/asmlabel.exp: New test.
7868 * gdb.base/asmlabel.c: New test case.
7869
7870 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7871
7872 * gdb.base/wrong_frame_bt_full-main.c: New file.
7873 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
7874 * gdb.base/wrong_frame_bt_full.exp: New file.
7875
7876 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7877
7878 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
7879
7880 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7881
7882 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
7883 pstate register when comparing registers values in
7884 sparc64-*-linux-gnu targets to avoid spurious differences.
7885
7886 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7887
7888 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
7889
7890 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
7891
7892 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
7893 as type argument to gdb_compile.
7894 * gdb.base/nested-subp2.exp: Likewise.
7895 * gdb.base/nested-subp3.exp: Likewise.
7896
7897 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
7898
7899 * lib/dwarf.exp (_note): Fix left shift of negative value.
7900 * gdb.trace/trace-condition.exp: Likewise.
7901
7902 2015-11-13 Yao Qi <yao.qi@linaro.org>
7903
7904 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
7905 comments about d10v.
7906 (test_scalar_returns): Likewise.
7907 * gdb.base/d10v.ld: Remove.
7908 * gdb.base/overlays.exp: Remove the target triplet checking for
7909 d10v-*-*.
7910 * gdb.base/structs.exp (test_struct_returns): Remove the
7911 comments about d10v.
7912 (test_struct_calls): Likewise.
7913
7914 2015-11-13 Yao Qi <yao.qi@linaro.org>
7915
7916 * gdb.base/gnu_vector.exp: Check the return value by "p res".
7917 * gdb.base/gnu_vector.c: Don't include stdio.h.
7918 (main): Don't print res and call add_some_intvecs.
7919
7920 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
7921
7922 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
7923 macro.
7924 (func5): Removed.
7925 (func4): Use FAST_TRACEPOINT_LABEL.
7926 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
7927 macro.
7928 (func): Removed.
7929 (thread_function): Use FAST_TRACEPOINT_LABEL.
7930 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
7931 (func): Remove.
7932 (marker): Use FAST_TRACEPOINT_LABEL.
7933 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
7934 (pendfunc1): Remove.
7935 (pendfunc): Use FAST_TRACEPOINT_LABEL.
7936 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
7937 (foo): Remove.
7938 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
7939 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
7940 macro.
7941 (func): Remove.
7942 (marker): Use FAST_TRACEPOINT_LABEL.
7943 * gdb.trace/trace-common.h: New header.
7944 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
7945 macro.
7946 (func): Remove.
7947 (marker): Use FAST_TRACEPOINT_LABEL.
7948 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
7949 (func): Remove.
7950 (thread_function): Use FAST_TRACEPOINT_LABEL.
7951
7952 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
7953
7954 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
7955 in front.
7956 * gdb.trace/change-loc.exp: Use global pcreg definition.
7957 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
7958 * gdb.trace/entry-values.exp: Use global spreg definition, add $
7959 in front.
7960 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
7961 * gdb.trace/pending.exp: Likewise.
7962 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
7963 * gdb.trace/trace-break.exp: Likewise.
7964 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
7965 in front.
7966 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
7967 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
7968 in front.
7969 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
7970
7971 2015-11-09 Joel Brobecker <brobecker@adacore.com>
7972
7973 * gdb.ada/fin_fun_out: New testcase.
7974
7975 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7976
7977 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
7978 value associated with DW_AT_byte_size.
7979 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
7980 constants for DW_AT_byte_size, DW_AT_lower_bound, and
7981 DW_AT_upper_bound.
7982
7983 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7984
7985 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
7986 (gdb_target_symbol_prefix_flags): Define in terms of _asm
7987 version.
7988 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
7989 gdb.dwarf2/dw2-canonicalize-type.exp,
7990 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
7991 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
7992 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
7993 provided by gdb_target_symbol_prefix_flags_asm.
7994 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
7995 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
7996 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
7997 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
7998 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
7999 macros where needed). Use this macro for symbols which require
8000 the prefix provided by SYMBOL_PREFIX.
8001
8002 2015-11-05 Kevin Buettner <kevinb@redhat.com>
8003
8004 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8005 New procs.
8006 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8007 representing expressions, of more than one list element.
8008 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8009 to prepend linker symbol prefix to f.
8010 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8011 table_1 and table_2.
8012 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8013 Likewise, for f and g.
8014 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8015 for ptr.
8016 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8017 for main.
8018 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8019 table_1_ptr and table_2_ptr.
8020
8021 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8022 Joel Brobecker <brobecker@adacore.com>
8023
8024 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8025
8026 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8027
8028 * gdb.reverse/s390-mvcle.c: New test.
8029 * gdb.reverse/s390-mvcle.exp: New file.
8030 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8031
8032 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8033
8034 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8035
8036 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8037
8038 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8039 reaching marker2.
8040 * gdb.reverse/getresuid-reverse.exp: Likewise.
8041 * gdb.reverse/pipe-reverse.exp: Likewise.
8042 * gdb.reverse/readv-reverse.exp: Likewise.
8043 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8044 * gdb.reverse/time-reverse.exp: Likewise.
8045 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8046
8047 2015-10-30 Yao Qi <yao.qi@linaro.org>
8048
8049 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8050 (empty_cycle): Remove.
8051 (main): Don't call empty_cycle. Don't use watch_count_done.
8052 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8053 empty_cycle. Rewrite the code counting HW watchpoints.
8054
8055 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8056
8057 * gdb.reverse/fstatat-reverse.c: New test.
8058 * gdb.reverse/fstatat-reverse.exp: New file.
8059 * gdb.reverse/getresuid-reverse.c: New test.
8060 * gdb.reverse/getresuid-reverse.exp: New file.
8061 * gdb.reverse/pipe-reverse.c: New test.
8062 * gdb.reverse/pipe-reverse.exp: New file.
8063 * gdb.reverse/readv-reverse.c: New test.
8064 * gdb.reverse/readv-reverse.exp: New file.
8065 * gdb.reverse/recvmsg-reverse.c: New test.
8066 * gdb.reverse/recvmsg-reverse.exp: New file.
8067 * gdb.reverse/time-reverse.c: New test.
8068 * gdb.reverse/time-reverse.exp: New file.
8069 * gdb.reverse/waitpid-reverse.c: New test.
8070 * gdb.reverse/waitpid-reverse.exp: New file.
8071
8072 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8073
8074 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8075
8076 2015-10-26 Doug Evans <dje@google.com>
8077
8078 PR symtab/17391
8079 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8080 * gdb.dwarf2/bad-regnum.c: New file.
8081 * gdb.dwarf2/bad-regnum.exp: New file.
8082
8083 2015-10-26 Doug Evans <dje@google.com>
8084
8085 PR python/18938
8086 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8087 file.
8088
8089 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8090
8091 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8092 for a change by "Mention language in compile error message".
8093
8094 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8095
8096 PR python/18073
8097 * gdb.python/py-type.c (C::a_method): New.
8098 (C::a_const_method): New.
8099 (C::a_static_method): New.
8100 (a_function): New.
8101 * gdb.python/py-type.exp (test_fields): Test getting fields
8102 from function and method.
8103
8104 2015-10-21 Keven Boell <keven.boell@intel.com>
8105
8106 * gdb.fortran/vla-alloc-assoc.exp: New file.
8107 * gdb.fortran/vla-datatypes.exp: New file.
8108 * gdb.fortran/vla-datatypes.f90: New file.
8109 * gdb.fortran/vla-history.exp: New file.
8110 * gdb.fortran/vla-ptype-sub.exp: New file.
8111 * gdb.fortran/vla-ptype.exp: New file.
8112 * gdb.fortran/vla-sizeof.exp: New file.
8113 * gdb.fortran/vla-sub.f90: New file.
8114 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8115 * gdb.fortran/vla-value-sub-finish.exp: New file.
8116 * gdb.fortran/vla-value-sub.exp: New file.
8117 * gdb.fortran/vla-value.exp: New file.
8118 * gdb.fortran/vla-ptr-info.exp: New file.
8119 * gdb.mi/mi-vla-fortran.exp: New file.
8120 * gdb.mi/vla.f90: New file.
8121
8122 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8123
8124 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8125 of hardwired timeout value.
8126
8127 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8128 Pedro Alves <palves@redhat.com>
8129
8130 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8131 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8132
8133 2015-10-19 Josh Stone <jistone@redhat.com>
8134
8135 * gdb.base/catch-syscall.c: Include <sched.h>.
8136 (unknown_syscall): New variable.
8137 (main): Trigger a vfork and an unknown syscall.
8138 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8139 (unknown_syscall_number): Likewise.
8140 (check_call_to_syscall): Accept an optional syscall pattern.
8141 (check_return_from_syscall): Likewise.
8142 (check_continue): Likewise.
8143 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8144 (test_catch_syscall_skipping_return): New test toggling off 'catch
8145 syscall' to step over the syscall return, then toggling back on.
8146 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8147 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8148 (do_syscall_tests): Call test_catch_syscall_without_args and
8149 test_catch_syscall_mid_vfork.
8150 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8151 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8152
8153 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
8154
8155 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8156 print g_vE): Add new pass patterns.
8157 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8158 print various symbol names for vptr fields.
8159
8160 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8161
8162 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8163 results.
8164
8165 2015-10-12 Yao Qi <yao.qi@linaro.org>
8166
8167 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8168
8169 2015-10-12 Yao Qi <yao.qi@linaro.org>
8170
8171 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8172 is aarch64*-*-linux*.
8173
8174 2015-10-12 Yao Qi <yao.qi@linaro.org>
8175
8176 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8177 (can_relocate_bcond_true): ... it.
8178 (can_relocate_bcond_false): New function.
8179 (foo): Likewise.
8180 (can_relocate_bl): Likewise.
8181 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8182 can_relocate_bl.
8183
8184 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8185
8186 * gdb.base/nested-addr.c: New file.
8187 * gdb.base/nested-addr.exp: New testcase.
8188
8189 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8190
8191 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8192 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8193 its output. Ignore the output of "record goto begin" and instead
8194 check that GDB is replaying.
8195
8196 2015-10-09 Pedro Alves <palves@redhat.com>
8197
8198 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8199 (top level): Use it in the run with no args test.
8200
8201 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8202
8203 * gdb.dlang/properties.exp: New file.
8204
8205 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8206
8207 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8208 whether or not address 0x1000 is mapped on the target.
8209
8210 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8211
8212 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8213 build.
8214
8215 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8216
8217 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8218 instruction-history test.
8219
8220 2015-09-28 Doug Evans <dje@google.com>
8221
8222 * gdb.base/gcore.c (array_func): Add reference to static_array.
8223
8224 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8225
8226 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8227 source line.
8228
8229 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8230
8231 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8232 short or char as base type.
8233
8234 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8235
8236 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8237 to allow any size enum.
8238
8239 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8240
8241 * gdb.ada/array_ptr_renaming.exp: New testcase.
8242 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8243 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8244
8245 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8246
8247 * gdb.trace/ftrace-lock.c: New file.
8248 * gdb.trace/ftrace-lock.exp: New file.
8249
8250 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8251
8252 * gdb.arch/insn-reloc.c: New file.
8253 * gdb.arch/ftrace-insn-reloc.exp: New file.
8254
8255 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8256
8257 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8258 instruction.
8259 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8260 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8261 * gdb.trace/range-stepping.c: Likewise.
8262 * gdb.trace/trace-break.c: Likewise.
8263 * gdb.trace/trace-mt.c (thread_function): Likewise.
8264 * gdb.trace/ftrace.c (marker): Likewise.
8265 * gdb.trace/trace-condition.c (marker): Likewise.
8266 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8267 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8268 is_aarch64_target.
8269
8270 2015-09-18 Doug Evans <xdje42@gmail.com>
8271
8272 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8273 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8274
8275 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8276
8277 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8278 the breakpoint.
8279
8280 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8281
8282 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8283 the pending breakpoint. Remove timeout override for "Run till
8284 MI pending breakpoint on pendfunc3 on thread 2" test.
8285
8286 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8287
8288 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8289 filename pattern.
8290
8291 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8292
8293 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8294 in breakpoint filename pattern.
8295
8296 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8297
8298 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8299
8300 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8301
8302 * gdb.linespec/explicit.exp: Check for readline support for
8303 tab-completion tests. Fix obvious typo.
8304
8305 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8306
8307 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8308 and replay.
8309
8310 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8311
8312 * gdb.btrace/non-stop.c: New.
8313 * gdb.btrace/non-stop.exp: New.
8314
8315 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8316 Yao Qi <yao.qi@linaro.org>
8317
8318 * gdb.trace/trace-condition.c: New file.
8319 * gdb.trace/trace-condition.exp: New file.
8320
8321 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
8322
8323 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8324 for testing bytecode compilation.
8325
8326 2015-09-16 Pedro Alves <palves@redhat.com>
8327 Sandra Loosemore <sandra@codesourcery.com>
8328
8329 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8330 (SECONDS): Redefine.
8331 (main): Call pthread_kill and alarm early.
8332 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8333 support.
8334 (test): If the target can't hardware step and doesn't support
8335 displaced stepping, increase the timeout.
8336
8337 2015-09-16 Pedro Alves <palves@redhat.com>
8338
8339 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8340 (enable_debug): New procedures.
8341 (test): Use them. Bail out if waiting for threads fails.
8342 (top level): Bail out if a test fails.
8343
8344 2015-09-16 Yao Qi <yao.qi@linaro.org>
8345
8346 * gdb.asm/asm-source.exp: Set asm-arch for
8347 aarch64*-*-* target.
8348 * gdb.asm/aarch64.inc: New file.
8349
8350 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8351
8352 * gdb.ada/array_of_variable_length.exp: New testcase.
8353 * gdb.ada/array_of_variable_length/foo.adb: New file.
8354 * gdb.ada/array_of_variable_length/pck.adb: New file.
8355 * gdb.ada/array_of_variable_length/pck.ads: New file.
8356
8357 2015-09-15 Doug Evans <dje@google.com>
8358
8359 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8360 of function static local variable.
8361
8362 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8363
8364 * gdb.threads/tls-so_extern.exp: New test file.
8365 * gdb.threads/tls-so_extern.c: New test file.
8366 * gdb.threads/tls-so_extern_main.c: New test file.
8367
8368 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8369
8370 * gdb.opt/solib-intra-step-lib.c: New file.
8371 * gdb.opt/solib-intra-step-main.c: New file.
8372 * gdb.opt/solib-intra-step.exp: New file.
8373
8374 2015-09-15 Pedro Alves <palves@redhat.com>
8375
8376 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8377 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8378
8379 2015-09-14 Pedro Alves <palves@redhat.com>
8380
8381 * gdb.base/hook-stop-continue.c: Delete.
8382 * gdb.base/hook-stop-continue.exp: Delete.
8383 * gdb.base/hook-stop-frame.c: Delete.
8384 * gdb.base/hook-stop-frame.exp: Delete.
8385 * gdb.base/hook-stop.c: New file.
8386 * gdb.base/hook-stop.exp: New file.
8387
8388 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8389
8390 * gdb.ada/access_to_packed_array.exp: New testcase.
8391 * gdb.ada/access_to_packed_array/foo.adb: New file.
8392 * gdb.ada/access_to_packed_array/pack.adb: New file.
8393 * gdb.ada/access_to_packed_array/pack.ads: New file.
8394
8395 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8396
8397 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8398 buffer size test.
8399
8400 2015-09-11 Don Breazeal <donb@codesourcery.com>
8401
8402 * gdb.base/foll-exec.c: Add copyright header. Fix
8403 formatting issues.
8404 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8405 (do_exec_tests): Use clean_restart in place of zap_session,
8406 and for test initialization. Fix formatting issues. Use
8407 fail in place of perror.
8408 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8409 an expect statement to match an expression with output from
8410 the program under debug.
8411 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8412 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8413 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8414 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8415 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8416
8417 2015-09-09 Doug Evans <dje@google.com>
8418
8419 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8420
8421 2015-09-09 Doug Evans <dje@google.com>
8422
8423 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8424
8425 2015-09-09 Doug Evans <dje@google.com>
8426
8427 * gdb.base/savedregs.exp: Fix typo.
8428
8429 2015-09-09 Pedro Alves <palves@redhat.com>
8430
8431 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8432
8433 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8434
8435 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8436 command actually switches threads. Give up on remaining
8437 tests if target fails to stop at breakpoint.
8438
8439 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8440
8441 * gdb.ada/funcall_char.exp: New testcase.
8442 * gdb.ada/funcall_char/foo.adb: New file.
8443
8444 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8445
8446 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8447 expected outputs. Add two testcases for completing ambiguous
8448 functions.
8449 * gdb.ada/complete/aux_pck.adb: New file.
8450 * gdb.ada/complete/aux_pck.ads: New file.
8451 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8452 Ambiguous_Func functions.
8453 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8454 * gdb.ada/complete/pck.adb: Likewise.
8455
8456 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8457
8458 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8459 failures to run the test program under GDB.
8460
8461 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
8462
8463 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8464 to C.
8465
8466 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8467
8468 * gdb.base/run-after-attach.exp: New test file.
8469 * gdb.base/run-after-attach.c: New test file.
8470
8471 2015-08-26 Don Breazeal <donb@codesourcery.com>
8472
8473 * gdb.base/foll-exec-2.c: New test program.
8474 * gdb.base/foll-exec-2.exp: New test.
8475
8476 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8477
8478 * gdb.base/nested-subp1.exp: New file.
8479 * gdb.base/nested-subp1.c: New file.
8480 * gdb.base/nested-subp2.exp: New file.
8481 * gdb.base/nested-subp2.c: New file.
8482 * gdb.base/nested-subp3.exp: New file.
8483 * gdb.base/nested-subp3.c: New file.
8484
8485 2015-08-24 Pedro Alves <palves@redhat.com>
8486
8487 * gdb.server/connect-without-multi-process.c: New file.
8488 * gdb.server/connect-without-multi-process.exp: New file.
8489
8490 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8491
8492 * gdb.opt/inline-markers.c: Make z int.
8493
8494 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8495
8496 * gdb.opt/inline-markers.c: Make z volatile.
8497
8498 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8499
8500 * gdb.opt/inline-bt.c: New volatile global z.
8501 * gdb.opt/inline-cmds.c: Likewise.
8502 * gdb.opt/inline-locals.c: Likewise.
8503 * gdb.opt/inline-markers.c: New extern global z.
8504 (marker): Use z.
8505 (inline_fn): Likewise.
8506
8507 2015-08-24 Pedro Alves <palves@redhat.com>
8508
8509 * config/m32r-stub.exp: Remove file.
8510 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8511 * gdb.base/call-rt-st.exp: Likewise.
8512 * gdb.base/call-strs.exp: Likewise.
8513 * gdb.base/default.exp: Remove references to h8300-*-hms and
8514 *-*-udi*.
8515 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8516
8517 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8518
8519 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8520 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
8521 and "return" use KFAIL when GDB can not read/write the vector
8522 return value.
8523
8524 2015-08-21 Gary Benson <gbenson@redhat.com>
8525
8526 * gdb.trace/pending.exp: Cope with remote transfer warnings.
8527
8528 2015-08-20 Pedro Alves <palves@redhat.com>
8529
8530 * gdb.server/solib-list.exp: No longer expect an interior stop in
8531 non-stop mode.
8532
8533 2015-08-20 Pedro Alves <palves@redhat.com>
8534
8535 * gdb.server/connect-stopped-target.c: New file.
8536 * gdb.server/connect-stopped-target.exp: New file.
8537
8538 2015-08-20 Pedro Alves <palves@redhat.com>
8539
8540 * gdb.dwarf2/comp-unit-lang.exp: New file.
8541 * gdb.dwarf2/comp-unit-lang.c: New file.
8542
8543 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
8544
8545 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8546 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8547
8548 2015-08-19 Kevin Buettner <kevinb@redhat.com>
8549
8550 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8551 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8552
8553 2015-08-18 Doug Evans <dje@google.com>
8554 Adrian Sendroiu <adrian.sendroiu@freescale.com>
8555
8556 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8557 skip_python_tests. New arg prompt_regexp.
8558 (skip_python_tests): New function.
8559 * lib/mi-support.exp (mi_skip_python_tests): New function.
8560 * gdb.python/py-mi-objfile-gdb.py: New file.
8561 * gdb.python/py-mi-objfile.c: New file.
8562 * gdb.python/py-mi-objfile.exp: New file.
8563
8564 2015-08-17 Keith Seitz <keiths@redhat.com>
8565
8566 * gdb.linespec/explicit.exp: Move strace test from here ...
8567 * gdb.trace/strace.exp: ... to here.
8568
8569 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8570
8571 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8572 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8573
8574 2015-08-14 Doug Evans <xdje42@gmail.com>
8575
8576 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8577 inferior before selecting a new file.
8578
8579 2015-08-14 Doug Evans <xdje42@gmail.com>
8580
8581 * gdb.mi/mi-disassemble.exp: Update.
8582 * gdb.base/disasm-optim.S: New file.
8583 * gdb.base/disasm-optim.c: New file.
8584 * gdb.base/disasm-optim.h: New file.
8585 * gdb.base/disasm-optim.exp: New file.
8586
8587 2015-08-14 Keith Seitz <keiths@redhat.com>
8588
8589 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8590 "evaluated-by".
8591
8592 2015-08-13 Joel Brobecker <brobecker@adacore.com>
8593
8594 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8595
8596 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8597
8598 * gdb.ada/fun_renaming.exp: New testcase.
8599 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8600 * gdb.ada/fun_renaming/pack.adb: New file.
8601 * gdb.ada/fun_renaming/pack.ads: New file.
8602
8603 2015-08-12 Keith Seitz <keiths@redhat.com>
8604
8605 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8606 gdb_get_line_number.
8607
8608 2015-08-12 Joel Brobecker <brobecker@adacore.com>
8609
8610 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8611 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8612 gdb.base/dso2dso.exp: New files.
8613
8614 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8615 Pedro Alves <palves@redhat.com>
8616 Keith Seitz <keiths@redhat.com>
8617
8618 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8619 GDBFLAGS.
8620
8621 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8622
8623 * gdb.base/gdbhistsize-history.exp
8624 (test_histsize_history_setting): Use save_vars.
8625 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8626 Use save_vars.
8627 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8628 * gdb.base/readline.exp: Use save_vars.
8629
8630 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8631
8632 * lib/gdb.exp (save_vars): New proc.
8633
8634 2015-08-11 Keith Seitz <keiths@redhat.com>
8635
8636 * gdb.base/help.exp: Update help_breakpoint_text.
8637
8638 2015-08-11 Keith Seitz <keiths@redhat.com>
8639
8640 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8641 (at toplevel): Call test_explicit_breakpoints.
8642 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8643 breakpoints.
8644 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8645 breakpoint conditions, "-cond".
8646
8647 2015-08-11 Keith Seitz <keiths@redhat.com>
8648
8649 * gdb.linespec/3explicit.c: New file.
8650 * gdb.linespec/cpexplicit.cc: New file.
8651 * gdb.linespec/cpexplicit.exp: New file.
8652 * gdb.linespec/explicit.c: New file.
8653 * gdb.linespec/explicit.exp: New file.
8654 * gdb.linespec/explicit2.c: New file.
8655 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8656 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8657 before using in the matching pattern.
8658 Clarify that `prefix' is a regular expression.
8659
8660 2015-08-11 Keith Seitz <keiths@redhat.com>
8661
8662 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8663 test.
8664 Add tests for missing ",FMT" and ",".
8665
8666 2015-08-10 Doug Evans <dje@google.com>
8667 Keith Seitz <keiths@redhat.com>
8668
8669 PR gdb/17960
8670 * gdb.base/completion.exp: Add location completer tests.
8671
8672 2015-08-07 Pedro Alves <palves@redhat.com>
8673
8674 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8675 tests here.
8676 (top level): Run do_test with and without displaced stepping.
8677
8678 2015-08-07 Pedro Alves <palves@redhat.com>
8679
8680 * gdb.base/valgrind-disp-step.c: New file.
8681 * gdb.base/valgrind-disp-step.exp: New file.
8682
8683 2015-08-07 Pedro Alves <palves@redhat.com>
8684
8685 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8686 Delete function.
8687 (main): Add alarm. Run an infinite loop instead of calling
8688 wait_threads.
8689 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8690 comment.
8691 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8692 Delete function.
8693 (main): Add alarm. Run an infinite loop instead of calling
8694 wait_threads.
8695 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8696 comment.
8697
8698 2015-08-07 Pedro Alves <palves@redhat.com>
8699
8700 * gdb.base/checkpoint-ns.exp: New file.
8701 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8702 standard_testfile.
8703
8704 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8705
8706 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8707 * gdb.btrace/instruction_history.exp: Update.
8708 * gdb.btrace/tsx.exp: New.
8709 * gdb.btrace/tsx.c: New.
8710
8711 2015-08-06 Pedro Alves <palves@redhat.com>
8712
8713 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8714 increase timeout.
8715 * gdb.reverse/until-precsave.exp: Bump timeouts.
8716
8717 2015-08-06 Pedro Alves <palves@redhat.com>
8718
8719 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8720
8721 2015-08-06 Pedro Alves <palves@redhat.com>
8722
8723 PR gdb/18749
8724 * gdb.threads/process-dies-while-handling-bp.c: New file.
8725 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8726
8727 2015-08-06 Pedro Alves <palves@redhat.com>
8728
8729 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8730 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8731
8732 2015-08-05 Pedro Alves <palves@redhat.com>
8733
8734 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8735 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8736
8737 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8738
8739 * gdb.base/bp-permanent.exp: Report test as unsupported if
8740 the target cannot stop at the permanent breakpoint.
8741
8742 2015-08-03 Doug Evans <dje@google.com>
8743
8744 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8745 10000.
8746
8747 2015-08-03 Doug Evans <dje@google.com>
8748
8749 * Makefile.in (workers/%.worker, build-perf): New rule.
8750 (GDB_PERFTEST_MODE): New variable.
8751 (check-perf): Use it.
8752 (clean): Clean up gdb.perf parallel build subdirs.
8753 * lib/build-piece.exp: New file.
8754 * lib/gdb.exp (make_gdb_parallel_path): New function
8755 (standard_output_file, standard_temp_file): Call it.
8756 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8757 of $GDB_PARALLEL.
8758 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8759
8760 2015-08-03 Doug Evans <dje@google.com>
8761
8762 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8763 (LOG_FILE_NAME): New global.
8764 (TextReporter.__init__): Initialize self.txt_sum.
8765 (TextReporter.report): Add support for multiple data-points.
8766 Move report to perftest.sum, put raw data in perftest.log.
8767 (TextReporter.start): Open sum and log files.
8768 (TextReporter.end): Close sum and log files.
8769 * gdb.perf/lib/perftest/testresult.py
8770 (SingleStatisticTestResult.record): Handle multiple data-points.
8771
8772 2015-07-31 Pedro Alves <palves@redhat.com>
8773
8774 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8775 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8776 kill_wait_spawned_process instead of explicit "kill -9".
8777 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8778 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8779 kill_wait_spawned_process.
8780 * gdb.base/attach-twice.exp: Likewise.
8781 * gdb.base/attach.exp: Likewise.
8782 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8783 gdb_test_multiple.
8784 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8785 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8786 kill_wait_spawned_process.
8787 * gdb.base/valgrind-infcall.exp: Likewise.
8788 * gdb.multi/multi-attach.exp: Likewise.
8789 * gdb.python/py-prompt.exp: Likewise.
8790 * gdb.python/py-sync-interp.exp: Likewise.
8791 * gdb.server/ext-attach.exp: Likewise.
8792 * gdb.threads/attach-into-signal.exp (corefunc): Use
8793 spawn_wait_for_attach, spawn_id_get_pid and
8794 kill_wait_spawned_process.
8795 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8796 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8797 spawn_id_get_pid and kill_wait_spawned_process.
8798 * gdb.threads/attach-stopped.exp (corefunc): Use
8799 spawn_wait_for_attach, spawn_id_get_pid and
8800 kill_wait_spawned_process.
8801 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8802 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8803 kill_wait_spawned_process instead of explicit "kill -9".
8804 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8805 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8806 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8807 processes. Don't map cygwin/windows pids here. Now returns a
8808 spawn id list.
8809
8810 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8811
8812 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8813 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8814 correct patch.
8815
8816 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8817
8818 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8819
8820 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8821
8822 Reapply:
8823 2014-05-21 Mark Wielaard <mjw@redhat.com>
8824
8825 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8826
8827 2015-07-30 Pedro Alves <palves@redhat.com>
8828
8829 * linux-low.c (handle_extended_wait): Set the child's last
8830 reported status to TARGET_WAITKIND_STOPPED.
8831
8832 2015-07-30 Pedro Alves <palves@redhat.com>
8833
8834 PR threads/18600
8835 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8836 only shows inferior 1.
8837
8838 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8839 Pedro Alves <palves@redhat.com>
8840
8841 PR threads/18600
8842 * gdb.threads/fork-plus-threads.c: New file.
8843 * gdb.threads/fork-plus-threads.exp: New file.
8844
8845 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8846
8847 * gdb.base/batch-preserve-term-settings.exp
8848 (test_terminal_settings_preserved_after_cli_exit): Use
8849 send_quit_command.
8850
8851 2015-07-29 Pedro Alves <palves@redhat.com>
8852 Don Breazeal <donb@codesourcery.com>
8853
8854 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
8855 output from both inferior_spawn_id and gdb_spawn_id.
8856
8857 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8858
8859 * gdb.threads/attach-into-signal.exp (corefunc): Use
8860 with_test_prefix on nested loops, uniquefying the test messages.
8861
8862 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8863
8864 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
8865 commit.
8866
8867 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8868
8869 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
8870 New proc.
8871 (test_terminal_settings_preserved_after_sigterm): New test.
8872
8873 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8874
8875 * gdb.base/batch-preserve-term-settings.exp
8876 (test_terminal_settings_preserved_after_cli_exit): New test.
8877
8878 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8879
8880 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
8881 manipulation of saved_gdbflags.
8882 (test_terminal_settings_preserved): Remove global declaration of
8883 the unused variable pagination_prompt. Remove manipulation of
8884 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
8885 GDBFLAGS.
8886
8887 2015-07-29 Pedro Alves <palves@redhat.com>
8888
8889 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
8890
8891 2015-07-29 Pedro Alves <palves@redhat.com>
8892
8893 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
8894 at the top.
8895
8896 2015-07-29 Pedro Alves <palves@redhat.com>
8897
8898 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
8899 (main): Call gdb_unbuffer_output.
8900 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
8901 (main): Call gdb_unbuffer_output.
8902 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
8903 (main): Call gdb_unbuffer_output.
8904 * gdb.base/call-strs.exp: Adjust to step over the
8905 gdb_unbuffer_output call.
8906 * gdb.base/catch-gdb-caused-signals.c: Include
8907 "../lib/unbuffer_output.c".
8908 (main): Call gdb_unbuffer_output.
8909 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
8910 (main): Call gdb_unbuffer_output.
8911 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
8912 (main): Call gdb_unbuffer_output.
8913 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
8914 (main): Call gdb_unbuffer_output.
8915 * gdb.base/shlib-call.exp: Adjust to step over the
8916 gdb_unbuffer_output call.
8917 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
8918 (main): Call gdb_unbuffer_output.
8919 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
8920 (main): Call gdb_unbuffer_output.
8921 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
8922 (main): Rename to ...
8923 (test): ... this.
8924 (main): Reimplement.
8925 * gdb.base/varargs.exp: Run to test instead of to main.
8926 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8927 (main): Call gdb_unbuffer_output.
8928
8929 2015-07-29 Pedro Alves <palves@redhat.com>
8930
8931 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
8932 factore out from mi_continue_dprintf. For call-style dprintfs,
8933 expect dprintf output out of $inferior_spawn_id.
8934 (mi_continue_dprintf): Use mi_expect_dprintf.
8935 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8936 (main): Call gdb_unbuffer_output.
8937
8938 2015-07-29 Pedro Alves <palves@redhat.com>
8939
8940 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
8941 (default_mi_gdb_start): Set inferior_spawn_id instead of
8942 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
8943 gdb_spawn_id.
8944 (mi_gdb_test): Always expect inferior output from both
8945 $inferior_spawn_id and $gdb_spawn_id.
8946
8947 2015-07-29 Pedro Alves <palves@redhat.com>
8948
8949 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
8950 send_inferior and $inferior_spawn_id.
8951
8952 2015-07-29 Pedro Alves <palves@redhat.com>
8953
8954 * gdb.gdb/complaints.exp (test_initial_complaints)
8955 (test_serial_complaints, test_short_complaints): Use
8956 gdb_test_stdio.
8957 (test_empty_complaint): Handle $inferior_spawn_id !=
8958 $gdb_spawn_id.
8959
8960 2015-07-29 Pedro Alves <palves@redhat.com>
8961
8962 * gdb.base/varargs.exp: Use gdb_test_stdio.
8963
8964 2015-07-29 Pedro Alves <palves@redhat.com>
8965
8966 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
8967
8968 2015-07-29 Pedro Alves <palves@redhat.com>
8969
8970 * gdb.base/ending-run.exp: Use gdb_test_stdio.
8971
8972 2015-07-29 Pedro Alves <palves@redhat.com>
8973
8974 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
8975 parameter into two new parameters, "inf_result" and "gdb_result".
8976 Expect inferior output and gdb output from $inferior_spawn_id and
8977 $gdb_spawn_id, respectively. Adjust all callers.
8978
8979 2015-07-29 Pedro Alves <palves@redhat.com>
8980
8981 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
8982 of gdb_test_sequence.
8983
8984 2015-07-29 Pedro Alves <palves@redhat.com>
8985
8986 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
8987 (saw_spurious_output): Expect inferior output from
8988 $inferior_spawn_id. Use gdb_test_stdio.
8989
8990 2015-07-29 Pedro Alves <palves@redhat.com>
8991
8992 * gdb.base/dprintf.exp: Use standard_testfile. Change
8993 prepare_for_testing call.
8994 (srcfile): Don't set.
8995 (restart): New procedure.
8996 (test_dprintf): New procecure, use to continue over dprintfs.
8997 (test_call, test_agent): New procedures, tests moved here.
8998 Restart gdb and recreate dprintfs. Adjust expected output.
8999
9000 2015-07-29 Pedro Alves <palves@redhat.com>
9001
9002 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9003
9004 2015-07-29 Pedro Alves <palves@redhat.com>
9005
9006 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9007
9008 2015-07-29 Pedro Alves <palves@redhat.com>
9009
9010 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9011 gdb_test_stdio.
9012
9013 2015-07-29 Pedro Alves <palves@redhat.com>
9014
9015 * lib/gdb.exp (gdb_test_stdio): New procedure.
9016
9017 2015-07-29 Pedro Alves <palves@redhat.com>
9018
9019 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9020
9021 2015-07-29 Pedro Alves <palves@redhat.com>
9022
9023 * gdb.base/call-signal-resume.exp: Remove check for
9024 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9025 * gdb.base/unwindonsignal.exp: Likewise.
9026 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9027 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9028
9029 2015-07-29 Pedro Alves <palves@redhat.com>
9030
9031 * gdb.base/siginfo-addr.c (pass): New function.
9032 (handler): Call it iff si_addr is correct.
9033 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9034 Set a breakpoint at "pass" and continue to it.
9035
9036 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9037
9038 * gdb.python/py-objfile.exp: Make some tests have unique names.
9039 * gdb.python/py-pp-registration.exp: Likewise.
9040
9041 2015-07-28 Pedro Alves <palves@redhat.com>
9042
9043 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9044
9045 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9046
9047 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9048
9049 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9050
9051 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9052
9053 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9054
9055 * gdb.base/gdb-sigterm-2.exp: New test.
9056
9057 2015-07-25 Doug Evans <xdje42@gmail.com>
9058
9059 Revert:
9060 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9061 (workers/%.worker, build-perf): New rule.
9062 (GDB_PERFTEST_MODE): New variable.
9063 (check-perf): Use it.
9064 (clean): Clean up gdb.perf parallel build subdirs.
9065 * lib/build-piece.exp: New file.
9066 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9067 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9068 name.
9069 (standard_temp_file): Ditto.
9070 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9071 of $GDB_PARALLEL.
9072
9073 2015-07-24 Doug Evans <dje@google.com>
9074
9075 * gdb.perf/lib/perftest/utils.py: New file.
9076 * gdb.perf/gm-hello.cc: New file.
9077 * gdb.perf/gm-pervasive-typedef.cc: New file.
9078 * gdb.perf/gm-pervasive-typedef.h: New file.
9079 * gdb.perf/gm-std.cc: New file.
9080 * gdb.perf/gm-std.h: New file.
9081 * gdb.perf/gm-use-cerr.cc: New file.
9082 * gdb.perf/gm-utils.h: New file.
9083 * gdb.perf/gmonster-null-lookup.py: New file.
9084 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9085 * gdb.perf/gmonster-print-cerr.py: New file.
9086 * gdb.perf/gmonster-ptype-string.py: New file.
9087 * gdb.perf/gmonster-runto-main.py: New file.
9088 * gdb.perf/gmonster-select-file.py: New file.
9089 * gdb.perf/gmonster1-null-lookup.exp: New file.
9090 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9091 * gdb.perf/gmonster1-print-cerr.exp: New file.
9092 * gdb.perf/gmonster1-ptype-string.exp: New file.
9093 * gdb.perf/gmonster1-runto-main.exp: New file.
9094 * gdb.perf/gmonster1-select-file.exp: New file.
9095 * gdb.perf/gmonster1.cc: New file.
9096 * gdb.perf/gmonster1.exp: New file.
9097 * gdb.perf/gmonster2-null-lookup.exp: New file.
9098 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9099 * gdb.perf/gmonster2-print-cerr.exp: New file.
9100 * gdb.perf/gmonster2-ptype-string.exp: New file.
9101 * gdb.perf/gmonster2-runto-main.exp: New file.
9102 * gdb.perf/gmonster2-select-file.exp: New file.
9103 * gdb.perf/gmonster2.cc: New file.
9104 * gdb.perf/gmonster2.exp: New file.
9105
9106 2015-07-24 Doug Evans <dje@google.com>
9107
9108 * gdb.perf/README: New file.
9109 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9110 * lib/gen-perf-test.exp: New file.
9111
9112 2015-07-24 Doug Evans <dje@google.com>
9113
9114 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9115 (PerfTest::startup): New function.
9116 (PerfTest::run): Return result of calling body.
9117 (PerfTest::assemble): Rewrite.
9118 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9119 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9120 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9121 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9122 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9123
9124 2015-07-24 Doug Evans <dje@google.com>
9125
9126 * lib/gdb.exp (clean_restart): Make executable optional.
9127
9128 2015-07-24 Doug Evans <dje@google.com>
9129
9130 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9131 compiler_info references.
9132 * gdb.cp/temargs.exp: Ditto.
9133 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9134 (get_compiler_info): Early exit if already computed. Set compiler_info
9135 to "unknown" if there was a problem.
9136 (test_compiler_info): Add function comment. Call get_compiler_info.
9137
9138 2015-07-24 Doug Evans <dje@google.com>
9139
9140 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9141 (workers/%.worker, build-perf): New rule.
9142 (GDB_PERFTEST_MODE): New variable.
9143 (check-perf): Use it.
9144 (clean): Clean up gdb.perf parallel build subdirs.
9145 * lib/build-piece.exp: New file.
9146 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9147 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9148 name.
9149 (standard_temp_file): Ditto.
9150 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9151 of $GDB_PARALLEL.
9152
9153 2015-07-24 Doug Evans <dje@google.com>
9154
9155 * lib/future.exp (gdb_default_target_compile): New option
9156 "early_flags".
9157 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9158 --as-needed.
9159
9160 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9161
9162 * gdb.base/catch-syscall.exp: Call gdb_exit before
9163 gdb_skip_xml_test.
9164
9165 2015-07-24 Pedro Alves <palves@redhat.com>
9166
9167 * gdb.python/py-events.exp: Accept output between the stop event
9168 and the prompt.
9169 * gdb.python/py-evsignal.exp: Likewise.
9170 * gdb.python/py-evthreads.exp: Likewise.
9171
9172 2015-07-24 Pedro Alves <palves@redhat.com>
9173
9174 PR gdb/18717
9175 * gdb.threads/non-ldr-exit.c: New file.
9176 * gdb.threads/non-ldr-exit.exp: New file.
9177
9178 2015-07-24 Yao Qi <yao.qi@linaro.org>
9179
9180 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9181 restarting process.
9182
9183 2015-07-24 Yao Qi <yao.qi@linaro.org>
9184
9185 * gdb.server/ext-restart.exp: New file.
9186
9187 2015-07-24 Yao Qi <yao.qi@linaro.org>
9188
9189 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9190 argument options.
9191 * gdb.server/ext-wrapper.exp: New file.
9192
9193 2015-07-23 Doug Evans <dje@google.com>
9194
9195 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9196 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9197
9198 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9199
9200 * gdb.ada/var_arr_typedef.exp: New testcase.
9201 * gdb.ada/var_arr_typedef/pack.adb: New file.
9202 * gdb.ada/var_arr_typedef/pack.ads: New file.
9203 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9204
9205 2015-07-20 Joel Brobecker <brobecker@adacore.com>
9206
9207 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9208
9209 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9210
9211 * gdb.arch/i386-biarch-core.exp: Replace istarget
9212 by "complete set gnutarget". Remove expectation for the "core-file"
9213 command.
9214
9215 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9216
9217 Revert the previous commit:
9218 Tests for validate symbol file using build-id.
9219
9220 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9221
9222 Tests for validate symbol file using build-id.
9223 * gdb.base/solib-mismatch-lib.c: New file.
9224 * gdb.base/solib-mismatch-libmod.c: New file.
9225 * gdb.base/solib-mismatch.c: New file.
9226 * gdb.base/solib-mismatch.exp: New file.
9227
9228 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9229
9230 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9231 nios2-*-linux*.
9232 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9233 * gdb.base/siginfo.exp: Likewise.
9234 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9235
9236 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9237
9238 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9239 Move it to ...
9240 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9241 ... here.
9242 * gdb.trace/range-stepping.exp: Check that the target supports
9243 range stepping.
9244
9245 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9246
9247 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9248
9249 2015-07-14 Pedro Alves <palves@redhat.com>
9250
9251 * gdb.base/killed-outside.exp: New file.
9252 * gdb.base/killed-outside.c: New file.
9253
9254 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9255
9256 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9257 (n at main): New.
9258 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9259
9260 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9261
9262 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9263 infcall tests instead of setting up for KFAIL.
9264
9265 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9266
9267 * gdb.btrace/record_goto-step.exp: New.
9268
9269 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9270
9271 PR compile/18484
9272 * gdb.compile/compile.c (struct struct_type): Add volatile to
9273 selffield's type.
9274 * gdb.compile/compile.exp
9275 (compile code struct_object.selffield = &struct_object): Skip further
9276 struct_object tests if this one xfails.
9277
9278 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
9279
9280 PR exp/18617
9281 * gdb.trace/ax.exp: Add test.
9282
9283 2015-07-07 Yao Qi <yao.qi@linaro.org>
9284
9285 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9286 instead of istarget "aarch64*-*-*".
9287 * gdb.arch/aarch64-fp.exp: Likewise.
9288 * gdb.base/float.exp: Likewise.
9289 * gdb.reverse/aarch64.exp: Likewise.
9290 * lib/gdb.exp (is_aarch64_target): New proc.
9291
9292 2015-07-07 Yao Qi <yao.qi@linaro.org>
9293
9294 * lib/gdb.exp (is_aarch32_target): New proc.
9295 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9296 instead of "istarget "arm*-*-*"".
9297 * gdb.arch/arm-disp-step.exp: Likewise.
9298 * gdb.arch/thumb-bx-pc.exp: Likewise.
9299 * gdb.arch/thumb-prologue.exp: Likewise.
9300 * gdb.arch/thumb-singlestep.exp: Likewise.
9301 * gdb.base/disp-step-syscall.exp: Likewise.
9302 * gdb.base/float.exp: Likewise.
9303
9304 2015-07-07 Yao Qi <yao.qi@linaro.org>
9305
9306 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9307 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9308
9309 2015-07-07 Yao Qi <yao.qi@linaro.org>
9310
9311 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9312 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9313 if it exists.
9314 * gdb.multi/multi-arch.exp: Likewise.
9315
9316 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9317
9318 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9319 print.
9320
9321 2015-07-07 Yao Qi <yao.qi@linaro.org>
9322
9323 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9324
9325 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9326
9327 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9328 '[' and ']' characters.
9329
9330 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9331
9332 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9333
9334 2015-06-29 Pedro Alves <palves@redhat.com>
9335
9336 PR threads/18127
9337 * gdb.threads/hand-call-new-thread.c: New file.
9338 * gdb.threads/hand-call-new-thread.c: New file.
9339
9340 2015-06-26 Keith Seitz <keiths@redhat.com>
9341 Doug Evans <dje@google.com>
9342
9343 PR 16253
9344 * gdb.cp/var-tag-2.cc: New file.
9345 * gdb.cp/var-tag-3.cc: New file.
9346 * gdb.cp/var-tag-4.cc: New file.
9347 * gdb.cp/var-tag.cc: New file.
9348 * gdb.cp/var-tag.exp: New file.
9349
9350 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9351
9352 * gdb.base/history-duplicates.exp: New test.
9353
9354 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9355
9356 * gdb.base/completion.exp: Test the completion of the "focus"
9357 command.
9358
9359 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9360
9361 * gdb.arch/amd64-prologue-skip.S: New file.
9362 * gdb.arch/amd64-prologue-skip.exp: New file.
9363
9364 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9365
9366 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9367 is_address_zero_readable check.
9368
9369 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9370
9371 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9372 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9373
9374 2015-06-24 Yao Qi <yao.qi@linaro.org>
9375
9376 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9377 linux targets.
9378
9379 2015-06-24 Yao Qi <yao.qi@linaro.org>
9380
9381 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9382 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9383 * gdb.base/siginfo-thread.exp: Likewise.
9384
9385 2015-06-22 Yao Qi <yao.qi@linaro.org>
9386
9387 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9388
9389 2015-06-22 Yao Qi <yao.qi@linaro.org>
9390
9391 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9392 aarch64*-*-*.
9393 (skip_hw_watchpoint_tests): Likewise.
9394
9395 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9396
9397 * gdb.base/gdbinit-history.exp: Test the interaction between
9398 setting GDBHISTSIZE and setting the history size via .gdbinit.
9399
9400 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9401
9402 PR gdb/16999
9403 * gdb.base/gdbhistsize-history.exp: New test.
9404
9405 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9406
9407 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9408 with GDBHISTSIZE.
9409 * gdb.base/readline.exp: Likewise.
9410
9411 2015-06-17 Yao Qi <yao.qi@linaro.org>
9412
9413 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9414 line.
9415
9416 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9417
9418 * gdb.base/gdbinit-history.exp: Add test case to check that
9419 an unlimited history file does not get truncated on exit.
9420
9421 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9422
9423 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9424 (VECTOR): New macro. Use it...
9425 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9426 ...for these typedefs.
9427 (int8, char1, int1, double1): New typedefs.
9428 (struct just_int2, struct two_int2): New structures.
9429 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9430 (add_structvecs, add_singlevecs): New functions.
9431 (main): Call add_some_intvecs twice.
9432 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9433 the compile and exit upon failure. Try compiling for the "native"
9434 architecture. Test inferior function calls with vector arguments
9435 and vector return value handling with "finish" and "return".
9436
9437 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9438
9439 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9440 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9441 PE file.
9442 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9443
9444 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9445
9446 PR breakpoints/16465
9447 * gdb.mi/mi-dprintf-pending.c: New file.
9448 * gdb.mi/mi-dprintf-pending.exp: New test.
9449 * gdb.mi/mi-dprintf-pendshr.c: New file.
9450
9451 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9452 Mircea Gherzan <mircea.gherzan@intel.com>
9453
9454 * gdb.arch/i386-mpx-map.c: New file.
9455 * gdb.arch/i386-mpx-map.exp: New File.
9456
9457 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9458
9459 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9460 * gdb.arch/i386-mpx.exp: Indentation fixed.
9461
9462 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9463
9464 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9465 function and improved indentation.
9466 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9467 gdb_test_multiple. Added additional tests to skip the test.
9468
9469 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9470
9471 * gdb.arch/i386-avx512.c: Change path in include file.
9472 * gdb.arch/i386-avx512.exp: Change include dir path
9473 compilation flag.
9474 * gdb.arch/i386-mpx.c: Change path in include file.
9475 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9476 flag.
9477
9478 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9479
9480 * gdb.compile/compile-print.exp (compile print *vararray@3)
9481 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9482
9483 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9484
9485 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9486 (do not keep jit in memory): ... this.
9487 (expect 5): Change it to ...
9488 (expect no 5): ... this.
9489
9490 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9491
9492 PR gdb/15564
9493 * gdb.mi/mi-detach.exp: New file.
9494
9495 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9496
9497 PR symtab/18392
9498 * gdb.arch/amd64-tailcall-self.S: New file.
9499 * gdb.arch/amd64-tailcall-self.c: New file.
9500 * gdb.arch/amd64-tailcall-self.exp: New file.
9501
9502 2015-05-28 Don Breazeal <donb@codesourcery.com>
9503
9504 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9505 tests for remote targets by checking is_target_gdbserver.
9506
9507 2015-05-27 Doug Evans <dje@google.com>
9508
9509 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9510 * gdb.dwarf2/opaque-type-lookup.c: New file.
9511 * gdb.dwarf2/opaque-type-lookup.exp: New file.
9512
9513 2015-05-26 Doug Evans <dje@google.com>
9514
9515 * gdb.cp/iostream.cc: New file.
9516 * gdb.cp/iostream.exp: New file.
9517
9518 2015-05-26 Doug Evans <dje@google.com>
9519
9520 * gdb.dwarf2/dw2-op-call.exp: Update.
9521 * gdb.dwarf2/dw4-sig-types.exp: Update.
9522 * gdb.dwarf2/implptr.exp: Update.
9523 * gdb.mi/mi-cmd-param-changed.exp: Update.
9524
9525 2015-05-26 Doug Evans <dje@google.com>
9526
9527 * gdb.python/py-lazy-string.c: New file.
9528 * gdb.python/py-lazy-string.exp: New file.
9529 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9530 (main): Update. Add estring3.
9531 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9532 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9533
9534 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9535 Yao Qi <yao.qi@linaro.org>
9536
9537 * gdb.reverse/aarch64.c: New.
9538 * gdb.reverse/aarch64.exp: New.
9539
9540 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9541
9542 * lib/gdb.exp (supports_process_record): Return true for
9543 aarch64*-linux*.
9544 (supports_reverse): Likewise.
9545
9546 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
9547
9548 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9549 Use with_test_prefix.
9550
9551 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
9552
9553 * gdb.base/completion.exp: Add test for completion of layout
9554 names.
9555
9556 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
9557
9558 * lib/gdb.exp (skip_tui_tests): New proc.
9559 * gdb.base/tui-layout.exp: Check skip_tui_tests.
9560
9561 2015-05-19 Pedro Alves <palves@redhat.com>
9562
9563 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9564 Save the whole env array instead of just HOME. Unset HISTSIZE in
9565 the environment while testing. Restore whole environment
9566 afterwards.
9567
9568 2015-05-16 Doug Evans <xdje42@gmail.com>
9569
9570 * gdb.guile/scm-ports.c: New file.
9571 * gdb.guile/scm-ports.exp: Add memory port tests.
9572
9573 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9574
9575 * gdb.compile/compile-print.c: New file.
9576 * gdb.compile/compile-print.exp: New file.
9577
9578 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9579
9580 * gdb.compile/compile-ops.exp: Cast param to void.
9581 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9582 (compile code struct_object.selffield = &struct_object): Add xfail.
9583
9584 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9585
9586 * gdb.ada/arr_enum_with_gap: New testcase.
9587
9588 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9589
9590 * gdb.ada/byte_packed_arr: New testcase.
9591
9592 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9593
9594 * gdb.ada/pckd_neg: New testcase.
9595
9596 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9597
9598 PR gdb/17820
9599 * gdb.base/gdbinit-history.exp: New test.
9600 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9601 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9602
9603 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9604
9605 * gdb.python/py-xmethods.cc: Enhance test case.
9606 * gdb.python/py-xmethods.exp: New tests.
9607 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9608 function.
9609 (B_indexoper): Likewise.
9610 (global_dm_list) : Add new xmethod worker functions.
9611
9612 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9613
9614 * gdb.base/coredump-filter.exp: Correctly unset
9615 "coredump_var_addr" array.
9616
9617 2015-05-08 Pedro Alves <palves@redhat.com>
9618
9619 * gdb.server/non-existing-program.exp: Unset spawn_id.
9620
9621 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9622
9623 PR python/18291
9624 * gdb.python/py-xmethods.exp: Add tests.
9625
9626 2015-05-08 Yao Qi <yao.qi@linaro.org>
9627
9628 PR gdb/18208
9629 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9630 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9631 function set_coredump_filter, and remove remote_exec call.
9632 Remove argument ipid. Callers update.
9633 (top level): Don't get inferior's PID.
9634
9635 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9636
9637 * gdb.base/watch_thread_num.exp: Skip test on targets without
9638 access watchpoints.
9639
9640 2015-05-06 Pedro Alves <palves@redhat.com>
9641
9642 PR server/18081
9643 * gdb.server/non-existing-program.exp: New file.
9644
9645 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9646
9647 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9648
9649 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9650
9651 * gdb.ada/out_of_line_in_inlined: New testcase.
9652
9653 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9654
9655 * gdb.ada/var_rec_arr: New testcase.
9656
9657 2015-04-30 Yao Qi <yao.qi@linaro.org>
9658
9659 * gdb.base/break-idempotent.exp: If
9660 skip_hw_watchpoint_multi_tests returns true, skip the tests
9661 on "rwatch" and "awatch".
9662
9663 2015-04-30 Yao Qi <yao.qi@linaro.org>
9664
9665 * gdb.base/relativedebug.exp: Invoke gdb command
9666 "info sharedlibrary", and if libc.so doesn't have debug info,
9667 skip the test.
9668
9669 2015-04-29 Doug Evans <dje@google.com>
9670
9671 * gdb.python/py-xmethods.exp: Add ptype tests.
9672 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9673 get_result_type method.
9674
9675 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9676
9677 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9678 the target does not support hardware watchpoints.
9679
9680 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9681
9682 * gdb.base/break-always.exp: Abort testing if writing to memory
9683 causes an error.
9684
9685 2015-04-28 Doug Evans <dje@google.com>
9686
9687 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9688 * gdb.python/py-pp-registration.exp: ... here. New file.
9689 * gdb.python/py-pp-registration.c: New file.
9690 * gdb.python/py-pp-registration.py: New file.
9691
9692 2015-04-28 Doug Evans <dje@google.com>
9693
9694 * gdb.python/py-bad-printers.c: New file.
9695 * gdb.python/py-bad-printers.py: New file.
9696 * gdb.python/py-bad-printers.exp: New file.
9697
9698 2015-04-28 Sasha Smundak <asmundak@google.com>
9699
9700 * gdb.python/py-type.exp: New test.
9701
9702 2015-04-28 Andy Wingo <wingo@igalia.com>
9703
9704 * gdb.python/py-parameter.exp:
9705 * gdb.guile/scm-parameter.exp: Escape the path that we are
9706 matching against, as it might contain characters that are special
9707 to regular expressions.
9708
9709 2015-04-27 Joel Brobecker <brobecker@adacore.com>
9710
9711 * gdb.ada/rec_comp: New testcase.
9712
9713 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9714
9715 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9716 before using it.
9717
9718 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9719
9720 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9721 new tests for verilog output.
9722
9723 2015-04-24 Yao Qi <yao.qi@linaro.org>
9724
9725 * boards/remote-gdbserver-on-localhost.exp: New file.
9726
9727 2015-04-23 Pedro Alves <palves@redhat.com>
9728
9729 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9730 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9731 "end of file", remove $inferior_spawn_id from the indirect list.
9732
9733 2015-04-23 Pedro Alves <palves@redhat.com>
9734
9735 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9736
9737 2015-04-23 Pedro Alves <palves@redhat.com>
9738
9739 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9740 on $any_spawn_id instead of only on $gdb_spawn_id.
9741
9742 2015-04-21 Pierre Muller <muller@sourceware.org>
9743
9744 PR pascal/17815
9745 * lib/pascal.exp (gpc_compile): Add new option "class".
9746 (fpc_compile): Likewise.
9747 * gdb.pascal/case-insensitive-symbols.pas: New file.
9748 * gdb.pascal/case-insensitive-symbols.exp: New file.
9749
9750 2015-04-20 Gary Benson <gbenson@redhat.com>
9751
9752 * gdb.base/attach.exp: Fix three extended remote failures.
9753
9754 2015-04-17 Gary Benson <gbenson@redhat.com>
9755
9756 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9757 the main executable over the remote protocol.
9758
9759 2015-04-16 Pedro Alves <palves@redhat.com>
9760
9761 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9762 a new gdbserver if gdbserver_reconnect_p is set.
9763
9764 2015-04-16 Pedro Alves <palves@redhat.com>
9765
9766 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9767 is set, don't exit gdbserver.
9768
9769 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9770
9771 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9772 appropriate .insn, such that an older assembler can be used.
9773 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9774 the z/Architecture instruction set on 31-bit targets as well.
9775
9776 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9777
9778 * gdb.go/handcall.exp: Remove all logic related to the first
9779 breakpoint and rely on go_runto_main instead.
9780 * gdb.go/strings.exp: Likewise.
9781 * gdb.go/unsafe.exp: Likewise.
9782 * gdb.go/hello.exp: Likewise. Also rename the remaining
9783 breakpoint marker to "breakpoint 1".
9784 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9785 * gdb.go/strings.go: Likewise.
9786 * gdb.go/unsafe.go: Likewise.
9787 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9788 "set breakpoint 2 here" and rename the remaining breakpoint marker
9789 to "breakpoint 1".
9790
9791 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9792
9793 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9794 if itertools.imap is not present.
9795 * gdb.python/py-objfile.exp: Add parentheses.
9796 * gdb.python/py-type.exp: Same.
9797 * gdb.python/py-unwind-maint.py: Same.
9798
9799 2015-04-15 Yao Qi <yao.qi@linaro.org>
9800
9801 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9802 of ":$ptr_size" and set its form explicitly.
9803
9804 2015-04-15 Pedro Alves <palves@redhat.com>
9805 Yao Qi <yao.qi@linaro.org>
9806
9807 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9808 timeout by factor of 4.
9809 (test_regular_watch): Likewise.
9810 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9811 * gdb.reverse/sigall-reverse.exp: Likewise.
9812 * gdb.reverse/until-precsave.exp: Likewise.
9813 * lib/gdb.exp (with_timeout_factor): New proc.
9814 (gdb_expect): Move some code to ...
9815 (get_largest_timeout): ... here. New procedure.
9816
9817 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
9818
9819 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9820
9821 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9822
9823 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9824 to write to the .text section.
9825
9826 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9827
9828 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9829 Handle the case of targets that do not provide PID information.
9830
9831 2015-04-13 Yao Qi <yao.qi@linaro.org>
9832
9833 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9834 and use expect instead of gdb_expect.
9835
9836 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9837
9838 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9839 "coredump_var_addr" to avoid naming conflict with other testcases.
9840
9841 2015-04-10 Pedro Alves <palves@redhat.com>
9842
9843 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
9844 gdb_test_sequence and gdb_assert.
9845
9846 2015-04-10 Pedro Alves <palves@redhat.com>
9847
9848 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
9849 test messages that don't include the breakpoint address.
9850
9851 2015-04-10 Yao Qi <yao.qi@linaro.org>
9852
9853 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
9854 false for some offset and width combinations which aren't
9855 supported by linux kernel.
9856
9857 2015-04-10 Pedro Alves <palves@redhat.com>
9858
9859 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
9860 procedure, factored out from ...
9861 (top level): ... here. Add "set displaced-stepping" testing axis.
9862 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
9863 parameter "displaced". Use it.
9864 (top level): Use foreach and add "set displaced-stepping" testing
9865 axis.
9866
9867 2015-04-10 Pedro Alves <palves@redhat.com>
9868
9869 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
9870 Remove comment.
9871 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
9872 both the address of the instruction that triggers the watchpoint
9873 and the address of the instruction immediately after, and use
9874 those addresses for the test. Fix comment.
9875
9876 2015-04-10 Pedro Alves <palves@redhat.com>
9877
9878 * gdb.base/sigstep.exp (breakpoint_to_handler)
9879 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
9880 Test "backtrace" in handler.
9881 (breakpoint_over_handler): New parameter 'displaced'. Use it.
9882 (top level): Add new "displaced" test axis to
9883 breakpoint_to_handler, breakpoint_to_handler_entry and
9884 breakpoint_over_handler.
9885
9886 2015-04-10 Pedro Alves <palves@redhat.com>
9887
9888 PR gdb/18216
9889 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
9890
9891 2015-04-10 Yao Qi <yao.qi@linaro.org>
9892
9893 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
9894 (test_add_rn_pc): New function.
9895 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
9896 (top level): Invoke test_add_rn_pc.
9897
9898 2015-04-10 Pedro Alves <palves@redhat.com>
9899
9900 PR gdb/13858
9901 * gdb.base/step-over-no-symbols.exp: New file.
9902
9903 2015-04-09 Andy Wingo <wingo@igalia.com>
9904
9905 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
9906 after the Python tests.
9907
9908 2015-04-08 Keith Seitz <keiths@redhat.com>
9909
9910 PR python/16699
9911 * gdb.python/py-completion.exp: New tests for completion.
9912 * gdb.python/py-completion.py (CompleteLimit1): New class.
9913 (CompleteLimit2): Likewise.
9914 (CompleteLimit3): Likewise.
9915 (CompleteLimit4): Likewise.
9916 (CompleteLimit5): Likewise.
9917 (CompleteLimit6): Likewise.
9918 (CompleteLimit7): Likewise.
9919
9920 2015-04-08 Pedro Alves <palves@redhat.com>
9921
9922 PR gdb/18214
9923 PR gdb/18216
9924 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
9925 function.
9926 (main): Install it as SIGUSR1 handler.
9927 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
9928 parameter. Always use "setup" as prefix. Toggle "set
9929 displaced-stepping" off/on depending on global. Don't switch to
9930 thread 1 here.
9931 (top level): Add displaced stepping "off/on" test axis. Update
9932 "setup" calls. Wrap each subtest with with_test_prefix. Test
9933 continuing with a queued signal in each thread.
9934
9935 2015-04-08 Pedro Alves <palves@redhat.com>
9936
9937 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
9938 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
9939 gdb_breakpoint instead of gdb_test that doesn't expect anything.
9940 Return early if running to main fails.
9941 * gdb.trace/while-stepping.exp: Likewise.
9942
9943 2015-04-07 Pedro Alves <palves@redhat.com>
9944
9945 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
9946 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
9947 interact with inferior program.
9948
9949 2015-04-07 Pedro Alves <palves@redhat.com>
9950
9951 * lib/gdb.exp (inferior_spawn_id): New global.
9952 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
9953 spawn id after processing the user code.
9954 (default_gdb_start): Set inferior_spawn_id.
9955 (send_inferior): New procedure.
9956 * lib/gdbserver-support.exp (gdbserver_start): Set
9957 inferior_spawn_id.
9958 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
9959
9960 2015-04-07 Pedro Alves <palves@redhat.com>
9961
9962 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
9963 * lib/gdbserver-support.exp (gdbserver_start): Make
9964 $server_spawn_id global.
9965 (gdbserver_start): Don't wait for gdbserver's spawn id with
9966 expect_background.
9967 (close_gdbserver): New procedure.
9968 (gdb_exit): Rename the default version and reimplement.
9969
9970 2015-04-07 Pedro Alves <palves@redhat.com>
9971
9972 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
9973 append the substituted item, not the original item.
9974
9975 2015-04-07 Pedro Alves <palves@redhat.com>
9976
9977 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
9978 gdb_expect.
9979
9980 2015-04-07 Pedro Alves <palves@redhat.com>
9981
9982 * gdb.base/interrupt.exp: Don't handle the case of the inferior
9983 output appearing once only.
9984
9985 2015-04-07 Pedro Alves <palves@redhat.com>
9986
9987 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
9988 that doesn't expect anything. Return early if running to main
9989 fails.
9990
9991 2015-04-07 Yao Qi <yao.qi@linaro.org>
9992
9993 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
9994 (child_function): Call alarm.
9995 (main): Move call to alarm into the loop.
9996 * gdb.threads/non-stop-fair-events.exp: Build program with
9997 -DTIMEOUT=$timeout.
9998
9999 2015-04-06 Doug Evans <xdje42@gmail.com>
10000
10001 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10002 Fix dest parameter to board_info.
10003 (fpc_compile): Ditto.
10004 (gdb_compile_pascal): Rename dest arg to destfile.
10005
10006 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10007
10008 * gdb.ada/funcall_ref.exp: New file.
10009 * gdb.ada/funcall_ref/foo.adb: New file.
10010
10011 2015-04-02 Yao Qi <yao.qi@linaro.org>
10012
10013 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10014 is remote.
10015
10016 2015-04-02 Gary Benson <gbenson@redhat.com>
10017
10018 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10019
10020 2015-04-01 Sasha Smundak <asmundak@google.com>
10021
10022 * gdb.python/py-unwind-maint.c: New file.
10023 * gdb.python/py-unwind-maint.exp: New test.
10024 * gdb.python/py-unwind-maint.py: New file.
10025 * gdb.python/py-unwind.c: New file.
10026 * gdb.python/py-unwind.exp: New test.
10027 * gdb.python/py-unwind.py: New test.
10028
10029 2015-04-01 Pedro Alves <palves@redhat.com>
10030
10031 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10032 to fail instead of non-existent $test.
10033
10034 2015-04-01 Pedro Alves <palves@redhat.com>
10035
10036 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10037 GDBFLAGS if not empty.
10038
10039 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10040
10041 * gdb.ada/complete.exp: Remove "multi_line".
10042 * gdb.ada/info_exc.exp: Remove "multi_line".
10043 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10044 * gdb.ada/ptype_field.exp: Remove "multi_line".
10045 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10046 * gdb.ada/tagged.exp: Remove "multi_line".
10047 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10048 [multi_line ...]
10049 * gdb.btrace/delta.exp: Likewise.
10050 * gdb.btrace/exception.exp: Likewise.
10051 * gdb.btrace/function_call_history.exp: Likewise.
10052 * gdb.btrace/instruction_history.exp: Likewise.
10053 * gdb.btrace/nohist.exp: Likewise.
10054 * gdb.btrace/record_goto.exp: Likewise.
10055 * gdb.btrace/segv.exp: Likewise.
10056 * gdb.btrace/stepi.exp: Likewise.
10057 * gdb.btrace/tailcall.exp: Likewise.
10058 * gdb.btrace/unknown_functions.exp: Likewise.
10059 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10060 * lib/gdb.exp: Add the "multi_line" helper.
10061
10062 2015-04-01 Pedro Alves <palves@redhat.com>
10063
10064 * gdb.threads/tid-reuse.c: New file.
10065 * gdb.threads/tid-reuse.exp: New file.
10066
10067 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10068
10069 PR corefiles/16092
10070 * gdb.base/coredump-filter.c: New file.
10071 * gdb.base/coredump-filter.exp: Likewise.
10072
10073 2015-03-27 Petr Machata <pmachata@redhat.com>
10074
10075 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10076 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10077 (Dwarf::assemble): Initialize them.
10078 (Dwarf::lines): New function.
10079
10080 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10081
10082 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10083 SYMBOL_PREFIX for x86_64-*-cygwin.
10084
10085 2015-03-26 Andy Wingo <wingo@igalia.com>
10086
10087 PR symtab/18148
10088 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10089 const_value but not a location.
10090 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10091 location defined in non-main CUs are visible.
10092
10093 2015-03-26 Yao Qi <yao.qi@linaro.org>
10094
10095 PR testsuite/18139
10096 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10097 Add a line number entry for the same line.
10098 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10099 Add a line number entry for the same line.
10100
10101 2015-03-26 Yao Qi <yao.qi@linaro.org>
10102
10103 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10104 .int 0.
10105 (func): Likewise. Add .Lfunc_1 label.
10106 Use .Lfunc_1 label.
10107 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10108 .int 0.
10109 (func): Likewise.
10110 Use .Lfunc_1 label.
10111
10112 2015-03-26 Yao Qi <yao.qi@linaro.org>
10113
10114 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10115 Call gdb_compile instead to compile each .s files without debug
10116 information.
10117
10118 2015-03-26 Yao Qi <yao.qi@linaro.org>
10119
10120 * gdb.base/savedregs.exp (process_saved_regs): Make
10121 "Saved registers:" optional in the pattern.
10122
10123 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10124
10125 * gdb.btrace/next.exp: Merged into step.exp.
10126 * gdb.btrace/finish.exp: Merged into step.exp.
10127 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10128 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10129 "record goto" and checking the exact replay position.
10130 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10131 check for "Recording format" in "info record" output.
10132 * gdb.btrace/record_goto.exp: Choose test file based on target.
10133 * gdb.btrace/x86-record_goto.S: Renamed into ...
10134 * gdb.btrace/x86_64-record_goto.S: ... this.
10135 * gdb.btrace/i686-record_goto.S: New.
10136 * gdb.btrace/x86-tailcall.S: Renamed into ...
10137 * gdb.btrace/x86_64-tailcall.S: ... this.
10138 * gdb.btrace/i686-tailcall.S: New.
10139 * gdb.btrace/x86-tailcall.c: Renamed into ...
10140 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10141 separate statements. Update test.
10142 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10143 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10144 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10145 * gdb.btrace/tailcall.exp: Choose test file based on target.
10146 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10147
10148 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10149
10150 * gdb.btrace/exception.exp: Increase BTS buffer size.
10151
10152 2015-03-24 Pedro Alves <palves@redhat.com>
10153
10154 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10155
10156 2015-03-24 Pedro Alves <palves@redhat.com>
10157
10158 * gdb.threads/schedlock.exp (test_step): No longer expect that
10159 "set scheduler-locking step" with "next" over a function call runs
10160 threads unlocked.
10161
10162 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10163
10164 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10165
10166 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10167
10168 PR breakpoints/16466
10169 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10170 * gdb.mi/mi-pending.c (thread_func): New function.
10171 (int main): Add threading support required.
10172 * gdb.mi/mi-pending.exp: Add tests for this issue.
10173 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10174 (pendfunc2): Remove stdio dependency.
10175 * gdb.mi/mi-pendshr2.c: New file.
10176
10177 2015-03-23 Keith Seitz <keiths@redhat.com>
10178
10179 * gdb.linespec/keywords.c: New file.
10180 * gdb.linespec/keywords.exp: New file.
10181
10182 2015-03-23 Keith Seitz <keiths@redhat.com>
10183
10184 PR gdb/18021
10185 * gdb.dwarf2/staticvirtual.exp: New test.
10186
10187 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10188
10189 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10190 * README: Remove HP-UX and gdb.hp.
10191 (configuration):
10192 * configure: Regenerate.
10193 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10194 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10195 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10196 gdb.hp/gdb.defects/Makefile.
10197 * gdb.hp/Makefile.in: File deleted.
10198 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10199 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10200 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10201 * gdb.hp/gdb.aCC/run.c: File deleted.
10202 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10203 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10204 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10205 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10206 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10207 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10208 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10209 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10210 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10211 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10212 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10213 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10214 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10215 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10216 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10217 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10218 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10219 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10220 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10221 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10222 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10223 * gdb.hp/gdb.compat/average.c: File deleted.
10224 * gdb.hp/gdb.compat/sum.c: File deleted.
10225 * gdb.hp/gdb.compat/xdb.c: File deleted.
10226 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10227 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10228 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10229 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10230 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10231 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10232 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10233 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10234 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10235 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10236 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10237 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10238 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10239 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10240 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10241 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10242 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10243 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10244 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10245 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10246 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10247 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10248 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10249 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10250 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10251 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10252 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10253 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10254 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10255 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10256 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10257 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10258 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10259 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10260 * gdb.hp/tools/odump: File deleted.
10261
10262 2015-03-19 Pedro Alves <palves@redhat.com>
10263
10264 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10265 (saw_thread_3): New globals.
10266 (top level): Increment them when an event for the corresponding
10267 thread is seen.
10268 (no thread starvation): New test.
10269
10270 2015-03-19 Pedro Alves <palves@redhat.com>
10271
10272 * gdb.threads/continue-pending-status.c: New file.
10273 * gdb.threads/continue-pending-status.exp: New file.
10274
10275 2015-03-18 Pedro Alves <palves@redhat.com>
10276
10277 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10278 Use gdb_is_target_remote instead of is_remote. Use
10279 gdb_test_multiple instead of gdb_expect. Exit early if
10280 gdb_test_multiple hits its internal matches. Tighten stepi tests
10281 expected output. Fail on exit with any signal, instead of just
10282 SIGILL.
10283
10284 2015-03-18 Yao Qi <yao.qi@linaro.org>
10285
10286 PR tdep/18107
10287 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10288 variable.
10289 * gdb.base/catch-syscall.exp: Don't skip it on
10290 aarch64*-*-linux* target. Remove elements in all_syscalls.
10291 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10292 target.
10293 (setup_all_syscalls): New proc.
10294
10295 2015-03-16 Yao Qi <yao.qi@linaro.org>
10296
10297 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10298 (top level): Skip tests if valid_addr_p returns false for
10299 $cmd1 or $cmd2.
10300
10301 2015-03-11 Andy Wingo <wingo@igalia.com>
10302
10303 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10304
10305 2015-03-11 Yao Qi <yao.qi@linaro.org>
10306
10307 * gdb.base/catch-syscall.exp: Fix typo in comments.
10308
10309 2015-03-11 Yao Qi <yao.qi@linaro.org>
10310
10311 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10312
10313 2015-03-09 Pedro Alves <palves@redhat.com>
10314
10315 * dg-extract-results.py: Delete.
10316
10317 2015-03-09 Pedro Alves <palves@redhat.com>
10318
10319 Merge dg-extract-results.sh from GCC upstream (r218843).
10320
10321 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10322 * dg-extract-results.sh: Use --text with grep to avoid issues with
10323 binary files. Fall back to cat -v, if that doesn't work.
10324
10325 2015-03-05 Pedro Alves <palves@redhat.com>
10326
10327 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10328
10329 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10330
10331 * lib/mi-support.exp (mi_expect_interrupt): Accept
10332 alternative event for when in all-stop mode.
10333
10334 2015-03-04 Pedro Alves <palves@redhat.com>
10335
10336 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10337
10338 2015-03-04 Mark Kettenis <kettenis@gnu.org>
10339
10340 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10341
10342 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10343
10344 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10345 regexps for GDB's current line display, accept a hex address
10346 preceding the line number.
10347
10348 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10349
10350 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10351 the 'arch1' variable for "s390*-linux*" targets.
10352
10353 2015-03-04 Pedro Alves <palves@redhat.com>
10354
10355 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10356 (main): Pass missing retval argument to pthread_join call.
10357
10358 2015-03-02 Pedro Alves <palves@redhat.com>
10359
10360 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10361 (top level): Call do_test with non-stop as well.
10362
10363 2015-03-02 Pedro Alves <palves@redhat.com>
10364
10365 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10366 -1.
10367
10368 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10369
10370 * gdb.arch/s390-vregs.exp: New test.
10371 * gdb.arch/s390-vregs.S: New file.
10372
10373 2015-02-27 Pedro Alves <palves@redhat.com>
10374
10375 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10376 call to catch_command_errors.
10377 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10378 catch_command_errors.
10379
10380 2015-02-27 Pedro Alves <palves@redhat.com>
10381
10382 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10383 "true" for boolean result.
10384 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10385 prototype of main.
10386
10387 2015-02-27 Pedro Alves <palves@redhat.com>
10388
10389 * lib/unbuffer_output.c: New file.
10390 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10391 (main): Call gdb_unbuffer_output.
10392
10393 2015-02-27 Yao Qi <yao.qi@linaro.org>
10394
10395 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10396 target.
10397
10398 2015-02-26 Doug Evans <dje@google.com>
10399
10400 * gdb.cp/class2.cc (Dbase, D): New classes.
10401 (main): New local delta.
10402 * gdb.cp/class2.exp: Test printing delta.
10403 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10404 (dynbar): New global.
10405 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10406
10407 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10408
10409 * gdb.compile/compile-ifunc.c: New file.
10410 * gdb.compile/compile-ifunc.exp: New file.
10411
10412 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10413
10414 * gdb.base/structs.exp: Check for correct struct on finish.
10415
10416 2015-02-26 Yao Qi <yao.qi@linaro.org>
10417
10418 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10419 is zero.
10420
10421 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10422
10423 * gdb.arch/cordic.ko.bz2: New file.
10424 * gdb.arch/cordic.ko.debug.bz2: New file.
10425 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10426
10427 2015-02-25 Yao Qi <yao.qi@linaro.org>
10428
10429 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10430 aarch64*-*-* target.
10431
10432 2015-02-23 Pedro Alves <palves@redhat.com>
10433
10434 * lib/gdb.exp (delete_breakpoints): Rewrite using
10435 gdb_test_multiple.
10436
10437 2015-02-23 Pedro Alves <palves@redhat.com>
10438
10439 * gdb.base/info-os.c: Include stdlib.h.
10440
10441 2015-02-22 Doug Evans <xdje42@gmail.com>
10442
10443 PR symtab/17855
10444 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10445 is read after symbols have been re-read.
10446 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10447 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10448
10449 2015-02-21 Doug Evans <dje@google.com>
10450
10451 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10452
10453 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10454
10455 PR corefiles/17808
10456 * gdb.arch/i386-biarch-core.core.bz2: New file.
10457 * gdb.arch/i386-biarch-core.exp: New file.
10458
10459 2015-02-21 Pedro Alves <palves@redhat.com>
10460
10461 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10462 runto_main fails.
10463
10464 2015-02-20 Pedro Alves <palves@redhat.com>
10465
10466 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10467 info probes.
10468
10469 2015-02-20 Pedro Alves <palves@redhat.com>
10470
10471 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10472
10473 2015-02-20 Pedro Alves <palves@redhat.com>
10474
10475 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10476 clean_restart before gdb_target_supports_trace.
10477
10478 2015-02-20 Pedro Alves <palves@redhat.com>
10479
10480 PR threads/18006
10481 * gdb.threads/clone-thread_db.c: New file.
10482 * gdb.threads/clone-thread_db.exp: New file.
10483
10484 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10485
10486 PR breakpoints/16812
10487 * gdb.base/catch-gdb-caused-signals.c: New file.
10488 * gdb.base/catch-gdb-caused-signals.exp: New file.
10489
10490 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10491
10492 * configure: Regenerated.
10493 * configure.ac: Use GDB_AC_TRANSFORM.
10494 * aclocal.m4: sinclude ../transform.m4.
10495
10496 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10497
10498 * lib/dtrace.exp: New file.
10499 * gdb.base/dtrace-probe.exp: Likewise.
10500 * gdb.base/dtrace-probe.d: Likewise.
10501 * gdb.base/dtrace-probe.c: Likewise.
10502 * lib/pdtrace.in: Likewise.
10503 * configure.ac: Output variables with the transformed names of
10504 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
10505 * configure: Regenerated.
10506
10507 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10508
10509 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10510 expected message when trying to access $_probe_* convenience
10511 variables while not on a probe.
10512
10513 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10514
10515 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10516
10517 2015-02-11 Pedro Alves <pedro@codesourcery.com>
10518
10519 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10520 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10521
10522 2015-02-10 Doug Evans <xdje42@gmail.com>
10523
10524 * lib/gdb.exp (gdb_load): Always return a result.
10525
10526 2015-02-10 Pedro Alves <palves@redhat.com>
10527
10528 * gdb.threads/signal-sigtrap.c: New file.
10529 * gdb.threads/signal-sigtrap.exp: New file.
10530
10531 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
10532
10533 * gdb.trace/no-attach-trace.c: New file.
10534 * gdb.trace/no-attach-trace.exp: New file.
10535
10536 2015-02-09 Mark Wielaard <mjw@redhat.com>
10537
10538 * gdb.dwarf2/atomic.c: New file.
10539 * gdb.dwarf2/atomic-type.exp: Likewise.
10540
10541 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10542
10543 * gdb.btrace/buffer-size.exp: Update "info record" output.
10544 * gdb.btrace/delta.exp: Update "info record" output.
10545 * gdb.btrace/enable.exp: Update "info record" output.
10546 * gdb.btrace/finish.exp: Update "info record" output.
10547 * gdb.btrace/instruction_history.exp: Update "info record" output.
10548 * gdb.btrace/next.exp: Update "info record" output.
10549 * gdb.btrace/nexti.exp: Update "info record" output.
10550 * gdb.btrace/step.exp: Update "info record" output.
10551 * gdb.btrace/stepi.exp: Update "info record" output.
10552 * gdb.btrace/nohist.exp: Update "info record" output.
10553
10554 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10555
10556 * gdb.btrace/buffer-size: New.
10557
10558 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10559
10560 * gdb.btrace/delta.exp: Update "info record" output.
10561 * gdb.btrace/enable.exp: Update "info record" output.
10562 * gdb.btrace/finish.exp: Update "info record" output.
10563 * gdb.btrace/instruction_history.exp: Update "info record" output.
10564 * gdb.btrace/next.exp: Update "info record" output.
10565 * gdb.btrace/nexti.exp: Update "info record" output.
10566 * gdb.btrace/step.exp: Update "info record" output.
10567 * gdb.btrace/stepi.exp: Update "info record" output.
10568 * gdb.btrace/nohist.exp: Update "info record" output.
10569
10570 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10571
10572 PR gdb/15678
10573 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10574
10575 2015-02-06 Pedro Alves <palves@redhat.com>
10576
10577 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10578 macro.
10579 (seconds_left, again): New globals.
10580 (main): Wait seconds_left in a 1-second sleep loop instead of
10581 sleeping 180 seconds. If 'again' is set, reset the seconds
10582 counter.
10583 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10584 'again' in the inferior before detaching. Print the seconds left.
10585 (options): New global.
10586 (top level): Build program with -DTIMEOUT=$timeout.
10587
10588 2015-02-06 Pedro Alves <palves@redhat.com>
10589
10590 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10591 determine how many seconds to pass to 'alarm'.
10592 * gdb.base/gdb-sigterm.exp (top level): Build program with
10593 -DTIMEOUT=$timeout.
10594 (do_test): Return success/failure indication. Add more verbose
10595 logging. Don't fail if 200 single steps are seen. Instead, fail
10596 when the test times out.
10597 (passes): New global.
10598 (top level): Break the testing loop if testing fails on any
10599 iteration. Use gdb_assert.
10600
10601 2015-02-04 Don Breazeal <donb@codesourcery.com>
10602
10603 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10604 and initialize them.
10605 (ipc_cleanup): New function.
10606 (main): Don't declare shmid, semid, and msqid. Add a call to
10607 atexit so that we call ipc_cleanup on exit.
10608
10609 2015-02-04 Pedro Alves <palves@redhat.com>
10610
10611 * boards/native-extended-gdbserver.exp: Remove any target variant
10612 specifications from the board name before clearing the isremote
10613 flag from board_info.
10614
10615 2015-01-31 Doug Evans <xdje42@gmail.com>
10616
10617 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10618
10619 2015-01-31 Gary Benson <gbenson@redhat.com>
10620
10621 * gdb.base/completion.exp: Disable completion limiting for
10622 existing tests. Add new tests to check completion limiting.
10623 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10624
10625 2015-01-31 Doug Evans <xdje42@gmail.com>
10626
10627 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10628
10629 2015-01-31 Doug Evans <xdje42@gmail.com>
10630
10631 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10632 entries. Duplicate file section script entries.
10633 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10634 inlined entries. Add test for safe-path rejection.
10635 * gdb.python/py-section-script.c: Add duplicate inlined section script
10636 entries. Duplicate file section script entries.
10637 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10638 inlined entries. Add test for safe-path rejection.
10639
10640 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10641
10642 * gdb.ada/disc_arr_bound: New testcase.
10643
10644 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10645
10646 * gdb.ada/mi_var_array: New testcase.
10647
10648 2015-01-27 Doug Evans <dje@google.com>
10649
10650 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10651 Add test for objfile.filename, objfile.username after objfile
10652 has been unloaded.
10653
10654 2015-01-26 Joel Brobecker <brobecker@adacore.com>
10655
10656 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10657 the second test to print the name attribute of value
10658 returned by the call to gdb.lookup_type, and adjust
10659 the expected output accordingly.
10660
10661 2015-01-25 Mark Wielaard <mjw@redhat.com>
10662
10663 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10664 * gdb.base/disp-step-fork.c: Include unistd.h.
10665 * gdb.base/siginfo-obj.c: Include stdio.h.
10666 * gdb.base/siginfo-thread.c: Likewise.
10667 * gdb.mi/non-stop.c: Include unistd.h.
10668 * gdb.mi/nsthrexec.c: Include stdio.h.
10669 * gdb.mi/pthreads.c: Include unistd.h.
10670 * gdb.modula2/unbounded1.c (main): Declare returns int.
10671 * gdb.reverse/consecutive-reverse.c: Likewise.
10672 * gdb.threads/create-fail.c: Include unistd.h.
10673 * gdb.threads/killed.c: Likewise.
10674 * gdb.threads/linux-dp.c: Likewise.
10675 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10676 * gdb.threads/non-ldr-exc-2.c: Likewise.
10677 * gdb.threads/non-ldr-exc-3.c: Likewise.
10678 * gdb.threads/non-ldr-exc-4.c: Likewise.
10679 * gdb.threads/pthreads.c: Include unistd.h.
10680 (main): Declare returns int.
10681 * gdb.threads/tls-main.c (foo): New declaration.
10682 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10683
10684 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10685
10686 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10687 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10688
10689 2015-01-15 Mark Wielaard <mjw@redhat.com>
10690
10691 * gdb.base/noreturn-return.c: New file.
10692 * gdb.base/noreturn-return.exp: New file.
10693 * gdb.base/noreturn-finish.c: New file.
10694 * gdb.base/noreturn-finish.exp: New file.
10695
10696 2015-01-23 Pedro Alves <palves@redhat.com>
10697
10698 * gdb.threads/continue-pending-after-query.c: New file.
10699 * gdb.threads/continue-pending-after-query.exp: New file.
10700
10701 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10702 Simon Marchi <simon.marchi@ericsson.com>
10703
10704 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10705 * gdb.base/valgrind-db-attach.exp: Same.
10706 * gdb.base/valgrind-infcall.exp: Same.
10707 * lib/mi-support.exp (default_mi_gdb_start): Same.
10708 * lib/prompt.exp (default_prompt_gdb_start): Same.
10709 * lib/gdb.exp (default_gdb_spawn): Same.
10710 (gdb_interact): New.
10711
10712
10713 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10714
10715 * gdb.compile/compile.exp (pointer to jit function): New test.
10716
10717 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
10718
10719 * lib/gdb.exp (supports_process_record): Return true for
10720 powerpc*-*-linux*.
10721 (supports_reverse): Likewise.
10722
10723 2015-01-15 Don Breazeal <donb@codesourcery.com>
10724
10725 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10726 instead of checking whether the target board is remote and
10727 use spawn_wait_for_attach instead of exec/sleep.
10728 * gdb.base/attach-twice.exp: Likewise.
10729
10730 2015-01-15 Joel Brobecker <brobecker@adacore.com>
10731
10732 * gdb.ada/var_arr_attrs: New testcase.
10733
10734 2015-01-14 Pedro Alves <palves@redhat.com>
10735 Joel Brobecker <brobecker@adacore.com>
10736
10737 PR gdb/17525
10738 * gdb.base/bp-cmds-execution-x-script.c: New file.
10739 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10740 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10741
10742 2015-01-14 Pedro Alves <palves@redhat.com>
10743
10744 PR cli/17828
10745 * gdb.base/batch-preserve-term-settings.c: New file.
10746 * gdb.base/batch-preserve-term-settings.exp: New file.
10747
10748 2015-01-13 Doug Evans <dje@google.com>
10749
10750 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10751 binary.
10752
10753 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10754
10755 * Makefile.in (clean mostlyclean): Do not delete *.py.
10756
10757 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10758
10759 * gdb.python/py-lookup-type.exp: New file.
10760
10761 2015-01-12 Pedro Alves <palves@redhat.com>
10762
10763 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10764 restore GDBFLAGS before returning.
10765
10766 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10767
10768 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10769 is_amd64_regs_target and is_x86_like_target.
10770
10771 2015-01-11 Doug Evans <xdje42@gmail.com>
10772
10773 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10774 is given without an explicit form.
10775 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10776 attributes.
10777 * gdb.dwarf/corrupt.exp: Ditto.
10778 * gdb.dwarf2/enum-type.exp: Ditto.
10779 * gdb.trace/entry-values.exp: Ditto.
10780 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10781
10782 2015-01-11 Doug Evans <xdje42@gmail.com>
10783
10784 PR gdb/15830
10785 * gdb.base/maint.exp: Remove references to "maint demangle".
10786 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10787 Add tests for explicitly specifying language to demangle.
10788 * gdb.dlang/demangle.exp: Ditto.
10789
10790 2015-01-09 Pedro Alves <palves@redhat.com>
10791
10792 * gdb.threads/non-stop-fair-events.c: New file.
10793 * gdb.threads/non-stop-fair-events.exp: New file.
10794
10795 2015-01-09 Pedro Alves <palves@redhat.com>
10796
10797 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10798 the global scope. Set a breakpoint after all threads are started
10799 rather than stepping over two source lines. Expect the prompt.
10800 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10801 global.
10802 (NUM): Now 15.
10803 (main): Use threads_started_barrier to wait for all threads to
10804 start. Main thread no longer calls thread_function. Exit after
10805 180 seconds.
10806 (loop): New function.
10807 (thread_function): Wait on threads_started_barrier barrier. Call
10808 'loop' at each iteration.
10809 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10810 threads have started, instead of hardcoding number of "next"
10811 steps. Use an access watchpoint instead of a write watchpoint.
10812
10813 2015-01-09 Pedro Alves <palves@redhat.com>
10814
10815 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10816 (thread_func): Wait on barrier.
10817 (main): Wait for all threads to start before stopping GDB.
10818 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10819 global.
10820 (thread1_func, thread2_func): Wait on barrier.
10821 (main): Wait for all threads to start before stopping GDB.
10822 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10823 New global.
10824 (thread1_func, thread2_func): Wait on barrier.
10825 (main): Wait for all threads to start before stopping GDB.
10826
10827 2015-01-09 Pedro Alves <palves@redhat.com>
10828
10829 * gdb.threads/attach-many-short-lived-threads.c: New file.
10830 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10831
10832 2014-01-09 Pedro Alves <palves@redhat.com>
10833
10834 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10835 instead of to thread 2.
10836 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10837 Add barrier around each pthread_create call instead of around all
10838 calls.
10839 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10840 Set a break on thread_function and have the child threads hit it
10841 one at at a time.
10842
10843 2015-01-09 Pedro Alves <palves@redhat.com>
10844
10845 * lib/gdb.exp (can_spawn_for_attach): New procedure.
10846 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
10847 false.
10848 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
10849 checking whether the target board is remote.
10850 * gdb.multi/multi-attach.exp: Likewise.
10851 * gdb.python/py-sync-interp.exp: Likewise.
10852 * gdb.server/ext-attach.exp: Likewise.
10853 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
10854 tests that need to attach, instead of checking whether the target
10855 board is remote at the top of the file.
10856
10857 2015-01-08 Yao Qi <yao@codesourcery.com>
10858
10859 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
10860
10861 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10862
10863 Fix testcase compilation.
10864 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
10865
10866 2015-01-06 Joel Brobecker <brobecker@adacore.com>
10867
10868 * gdb.python/py-type.exp: Add a couple test about empty
10869 array creation, and negative-length array creation.
10870
10871 2015-01-02 Doug Evans <xdje42@gmail.com>
10872
10873 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
10874
10875 2015-01-02 Doug Evans <dje@google.com>
10876
10877 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
10878
10879 2014-12-29 Yao Qi <yao@codesourcery.com>
10880
10881 * gdb.trace/entry-values.exp: Update comments. Rename variable
10882 bar_call_foo to returned_from_foo.
10883
10884 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
10885
10886 PR gdb/17394
10887 * gdb.linespec/break-asm-file.c: New file.
10888 * gdb.linespec/break-asm-file.exp: New file.
10889 * gdb.linespec/break-asm-file0.s: New file.
10890 * gdb.linespec/break-asm-file1.s: New file.
10891
10892 2014-12-18 Nigel Stephens <nigel@mips.com>
10893 Maciej W. Rozycki <macro@codesourcery.com>
10894
10895 * gdb.base/float.exp: Handle the new output from "info float" on
10896 MIPS targets.
10897
10898 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10899
10900 Fix MinGW compilation.
10901 * gdb.compile/compile-ops.exp: Update untested message if
10902 !skip_compile_feature_tests.
10903 * gdb.compile/compile-setjmp.exp: Likewise.
10904 * gdb.compile/compile-tls.exp: Likewise.
10905 * gdb.compile/compile.exp: Likewise.
10906 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
10907 supported on this host".
10908
10909 2014-12-16 Doug Evans <xdje42@gmail.com>
10910
10911 * boards/stabs.exp: New file.
10912
10913 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
10914
10915 * gdb.base/completion.exp: Adjust to format changes of "maint
10916 print user-registers".
10917
10918 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
10919
10920 PR server/17457
10921 * gdb.arch/aarch64-fp.c: New file.
10922 * gdb.arch/aarch64-fp.exp: New file.
10923
10924 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10925
10926 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
10927 r210637, r210913, r211666, r215400, r215817).
10928
10929 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
10930 * dg-extract-results.py: New file.
10931 * dg-extract-results.sh: Use it if the environment seems
10932 suitable.
10933
10934 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
10935
10936 * dg-extract-results.py (parse_run): Handle warnings that
10937 are printed before a test harness is run.
10938
10939 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
10940
10941 * dg-extract-results.py (Named): Remove __cmp__ method.
10942 (output_variation): Use a key to sort variation.harnesses.
10943
10944 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
10945
10946 * dg-extract-results.py: For Python 3, force sys.stdout to
10947 handle surrogate escape sequences.
10948 (safe_open): New function.
10949 (output_segment, main): Use it.
10950
10951 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
10952
10953 * dg-extract-results.py (Prog.result_re): Include options
10954 in test name.
10955
10956 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
10957
10958 * dg-extract-results.py (output_variation): Always sort if
10959 do_sum.
10960
10961 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
10962
10963 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
10964 as long as we get pagination notifications.
10965
10966 2014-12-15 Jason Merrill <jason@redhat.com>
10967
10968 * Makefile.in (check-gdb.%): Restore.
10969 * README: Mention it.
10970
10971 2014-12-13 Joel Brobecker <brobecker@adacore.com>
10972
10973 * gdb.ada/str_uninit: New testcase.
10974
10975 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10976
10977 PR symtab/17642
10978 * gdb.base/vla-stub-define.c: New file.
10979 * gdb.base/vla-stub.c: New file.
10980 * gdb.base/vla-stub.exp: New file.
10981
10982 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
10983 Jan Kratochvil <jan.kratochvil@redhat.com>
10984 Tom Tromey <tromey@redhat.com>
10985
10986 * configure.ac: Add gdb.compile/.
10987 * configure: Regenerate.
10988 * gdb.compile/Makefile.in: New file.
10989 * gdb.compile/compile-ops.exp: New file.
10990 * gdb.compile/compile-ops.c: New file.
10991 * gdb.compile/compile-tls.c: New file.
10992 * gdb.compile/compile-tls.exp: New file.
10993 * gdb.compile/compile-constvar.S: New file.
10994 * gdb.compile/compile-constvar.c: New file.
10995 * gdb.compile/compile-mod.c: New file.
10996 * gdb.compile/compile-nodebug.c: New file.
10997 * gdb.compile/compile-setjmp-mod.c: New file.
10998 * gdb.compile/compile-setjmp.c: New file.
10999 * gdb.compile/compile-setjmp.exp: New file.
11000 * gdb.compile/compile-shlib.c: New file.
11001 * gdb.compile/compile.c: New file.
11002 * gdb.compile/compile.exp: New file.
11003 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11004
11005 2014-12-12 Tom Tromey <tromey@redhat.com>
11006
11007 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11008 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11009
11010 2014-12-12 Doug Evans <dje@google.com>
11011
11012 * lib/gdb-python.exp (get_python_valueof): New function.
11013 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11014
11015 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11016
11017 * gdb.base/completion.exp: Add test for completion of "info
11018 registers ".
11019
11020 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11021
11022 * gdb.base/func-ptrs.c: New file.
11023 * gdb.base/func-ptrs.exp: New file.
11024
11025 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11026
11027 PR breakpoints/17012
11028 * gdb.base/dprintf-detach.c: New file.
11029 * gdb.base/dprintf-detach.exp: New file.
11030
11031 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11032
11033 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11034 * lib/gdb.exp (target_is_gdbserver): New procedure.
11035
11036 2014-12-08 Doug Evans <dje@google.com>
11037
11038 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11039
11040 2014-12-05 Yao Qi <yao@codesourcery.com>
11041
11042 * gdb.guile/scm-error.exp: Remove the third argument to
11043 gdb_remote_download.
11044 * gdb.guile/scm-frame-args.exp: Likewise.
11045 * gdb.guile/scm-section-script.exp: Likewise.
11046
11047 2014-12-05 Yao Qi <yao@codesourcery.com>
11048
11049 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11050
11051 2014-12-04 Doug Evans <dje@google.com>
11052
11053 * gdb.python/py-objfile.exp: Add tests for
11054 objfile.add_separate_debug_file.
11055
11056 2014-12-04 Doug Evans <dje@google.com>
11057
11058 * lib/gdb.exp (get_build_id): New function.
11059 (build_id_debug_filename_get): Rewrite to use it.
11060 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11061
11062 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11063
11064 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11065 `method(long)', not just 0x0.
11066 * gdb.cp/nsalias.exp: Align code labels to 4.
11067 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11068 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11069 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11070 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11071 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11072 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11073
11074 2014-12-02 Doug Evans <dje@google.com>
11075
11076 PR symtab/17602
11077 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11078 * gdb.cp/anon-ns2.cc: ... here. New file.
11079 * gdb.cp/anon-ns.exp: Update.
11080
11081 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
11082
11083 * gdb.python/py-events.py (inferior_call_handler): New.
11084 (register_changed_handler, memory_changed_handler): New.
11085 (test_events.invoke): Register new handlers.
11086 * gdb.python/py-events.exp: Add tests for inferior call,
11087 memory_changed and register_changed events.
11088
11089 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11090
11091 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11092 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11093 if the linker doesn't understand this.
11094
11095 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11096
11097 * gdb.python/python.exp: Change expected reply to help().
11098
11099 2014-12-01 Yao Qi <yao@codesourcery.com>
11100
11101 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11102 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11103 * configure: Re-generated.
11104
11105 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11106
11107 * gdb.cp/chained-calls.cc: New file.
11108 * gdb.cp/chained-calls.exp: New file.
11109 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11110
11111 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11112
11113 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11114 * gdb.dwarf2/symtab-producer.exp: Same.
11115 * gdb.gdb/python-interrupts.exp: Same.
11116 * gdb.gdb/python-selftest.exp: Same.
11117 * gdb.python/py-linetable.exp: Same.
11118 * gdb.python/py-type.exp: Same.
11119 * gdb.python/py-value-cc.exp: Same.
11120 * gdb.python/py-value.exp: Same.
11121
11122 2014-11-28 Yao Qi <yao@codesourcery.com>
11123
11124 * gdb.base/break-probes.exp: Match library name prefixed with
11125 sysroot.
11126
11127 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11128
11129 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11130 test expected output. Add parentheses for the call to print.
11131 Remove L suffix from integers.
11132
11133 2014-11-26 Doug Evans <dje@google.com>
11134
11135 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11136
11137 2014-11-22 Yao Qi <yao@codesourcery.com>
11138
11139 * gdb.trace/entry-values.c: Remove asms.
11140 (foo): Add foo_label.
11141 (bar): Add bar_label.
11142 * gdb.trace/entry-values.exp: Remove code computing foo's
11143 length and bar's length.
11144 (Dwarf::assemble): Invoke function_range for bar and use
11145 MACRO_AT_func for foo.
11146
11147 2014-11-22 Yao Qi <yao@codesourcery.com>
11148
11149 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11150 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11151 Use .Lgcc43_procstart instead of gcc43.
11152
11153 2014-11-21 Joel Brobecker <brobecker@adacore.com>
11154
11155 * gdb.ada/n_arr_bound: New testcase.
11156
11157 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11158
11159 PR breakpoints/10737
11160 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11161 test_catch_syscall_multi_arch.
11162 (test_catch_syscall_multi_arch): New function.
11163
11164 2014-11-20 Doug Evans <xdje42@gmail.com>
11165
11166 * gdb.base/maint.exp: Update expected output.
11167
11168 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11169
11170 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11171 4-byte instruction on S390.
11172
11173 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11174
11175 * gdb.ada/arr_arr: New testcase.
11176
11177 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11178
11179 * gdb.ada/pkd_arr_elem: New Testcase.
11180
11181 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11182
11183 * gdb.reverse/break-precsave: Expect completion message for
11184 core file reads.
11185 * gdb.reverse/consecutive-precsave.exp: Likewise.
11186 * gdb.reverse/finish-precsave.exp: Likewise.
11187 * gdb.reverse/i386-precsave.exp: Likewise.
11188 * gdb.reverse/machinestate-precsave.exp: Likewise.
11189 * gdb.reverse/sigall-precsave.exp: Likewise.
11190 * gdb.reverse/solib-precsave.exp: Likewise.
11191 * gdb.reverse/step-precsave.exp: Likewise.
11192 * gdb.reverse/until-precsave.exp: Likewise.
11193 * gdb.reverse/watch-precsave.exp: Likewise.
11194
11195 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11196
11197 * gdb.base/bp-permanent.c: Include unistd.h.
11198 * gdb.python/py-framefilter-mi.c (main): Add return type.
11199 * gdb.python/py-framefilter.c (main): Likewise.
11200 * gdb.trace/actions-changed.c (main): Likewise.
11201
11202 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11203
11204 * gdb.mi/until.c: Add eye-catchers.
11205 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11206 line numbers.
11207
11208 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11209
11210 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11211 function header variants in break1.c.
11212 * gdb.base/ena-dis-br.exp: Likewise.
11213 * gdb.base/hbreak2.exp: Likewise.
11214 * gdb.reverse/until-precsave.exp: Drop references to removed
11215 non-prototype function header variants in ur1.c.
11216 * gdb.reverse/until-reverse.exp: Likewise.
11217
11218 2014-11-17 Petr Machata <pmachata@redhat.com>
11219
11220 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11221 ${_cu_offset_size} bytes abbrev offset.
11222
11223 2014-11-15 Doug Evans <xdje42@gmail.com>
11224
11225 PR symtab/17559
11226 * gdb.base/line-symtabs.exp: New file.
11227 * gdb.base/line-symtabs.c: New file.
11228 * gdb.base/line-symtabs.h: New file.
11229
11230 2014-11-14 Yao Qi <yao@codesourcery.com>
11231
11232 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11233 (func): Add label func_label.
11234 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11235 Replace low_pc and high_pc with MACRO_AT_range.
11236 Replace name, low_pc and high_pc with MACRO_AT_func.
11237
11238 2014-11-14 Yao Qi <yao@codesourcery.com>
11239
11240 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11241 Replace name, low_pc and high_pc with MACRO_AT_func.
11242
11243 2014-11-14 Yao Qi <yao@codesourcery.com>
11244
11245 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11246 produce debug information.
11247 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11248
11249 2014-11-14 Yao Qi <yao@codesourcery.com>
11250
11251 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11252 object and get function length.
11253 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11254 with MACRO_AT_func.
11255 (top-level): Replace gdb_compile and clean_restart with
11256 prepare_for_testing.
11257 * gdb.dwarf2/main.c (main): Add label main_label.
11258
11259 2014-11-14 Yao Qi <yao@codesourcery.com>
11260
11261 * lib/dwarf.exp (function_range): New procedure.
11262 (Dwarf::_handle_macro_at_func): New procedure.
11263 (Dwarf::_handle_macro_at_range): New procedure.
11264 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11265
11266 2014-11-14 Yao Qi <yao@codesourcery.com>
11267
11268 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11269 (_handle_attribute): New procedure.
11270
11271 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11272
11273 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11274 * gdb.base/call-sc.c (zed): Likewise.
11275 * gdb.base/checkpoint.c (main): Likewise.
11276 * gdb.base/dump.c (main): Likewise.
11277 * gdb.base/gcore.c (main): Likewise.
11278 * gdb.base/huge.c (main): Likewise.
11279 * gdb.base/multi-forks.c (main): Likewise.
11280 * gdb.base/pr10179-a.c (main): Likewise.
11281 * gdb.base/savedregs.c (main): Likewise.
11282 * gdb.base/sigaltstack.c (main): Likewise.
11283 * gdb.base/siginfo.c (main): Likewise.
11284 * gdb.base/structs.c (zed): Likewise.
11285 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11286 * gdb.mi/mi-syn-frame.c (main): Likewise.
11287 * gdb.mi/until.c (foo, main): Likewise.
11288 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11289 * gdb.base/solib-weak.c (foo): Declare.
11290 * gdb.base/attach-twice.c: Include stdio.h.
11291 * gdb.base/weaklib1.c: Likewise.
11292 * gdb.base/weaklib2.c: Likewise.
11293 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11294 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11295 unistd.h.
11296 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11297 * gdb.mi/mi-exit-code.c: Likewise.
11298 * gdb.base/break-interp-lib.c: Include string.h.
11299 * gdb.base/coremaker.c: Likewise.
11300 * gdb.base/testenv.c: Likewise.
11301 * gdb.python/py-finish-breakpoint.c: Likewise.
11302 * gdb.base/inferior-died.c: Include sys/wait.h.
11303 * gdb.base/fileio.c: Include time.h.
11304 * gdb.base/async-shell.c: Include unistd.h.
11305 * gdb.base/dprintf-non-stop.c: Likewise.
11306 * gdb.base/info-os.c: Likewise.
11307 * gdb.mi/mi-console.c: Likewise.
11308 * gdb.mi/watch-nonstop.c: Likewise.
11309 * gdb.python/py-events.c: Likewise.
11310 * gdb.base/async.c (baz): Move up before its invocation.
11311 * gdb.base/code_elim2.c (my_global_func): Likewise.
11312 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11313 * gdb.base/advance.c (func2): Likewise.
11314
11315 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11316
11317 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11318 variant.
11319 * gdb.base/annota3.c: Likewise.
11320 * gdb.base/async.c: Likewise.
11321 * gdb.base/average.c: Likewise.
11322 * gdb.base/call-ar-st.c: Likewise.
11323 * gdb.base/call-rt-st.c: Likewise.
11324 * gdb.base/call-sc.c: Likewise.
11325 * gdb.base/call-strs.c: Likewise.
11326 * gdb.base/ending-run.c: Likewise.
11327 * gdb.base/execd-prog.c: Likewise.
11328 * gdb.base/exprs.c: Likewise.
11329 * gdb.base/foll-exec.c: Likewise.
11330 * gdb.base/foll-fork.c: Likewise.
11331 * gdb.base/foll-vfork.c: Likewise.
11332 * gdb.base/funcargs.c: Likewise.
11333 * gdb.base/gcore.c: Likewise.
11334 * gdb.base/jump.c: Likewise.
11335 * gdb.base/langs0.c: Likewise.
11336 * gdb.base/langs1.c: Likewise.
11337 * gdb.base/langs2.c: Likewise.
11338 * gdb.base/mips_pro.c: Likewise.
11339 * gdb.base/nodebug.c: Likewise.
11340 * gdb.base/opaque0.c: Likewise.
11341 * gdb.base/opaque1.c: Likewise.
11342 * gdb.base/recurse.c: Likewise.
11343 * gdb.base/run.c: Likewise.
11344 * gdb.base/scope0.c: Likewise.
11345 * gdb.base/scope1.c: Likewise.
11346 * gdb.base/setshow.c: Likewise.
11347 * gdb.base/setvar.c: Likewise.
11348 * gdb.base/shmain.c: Likewise.
11349 * gdb.base/shr1.c: Likewise.
11350 * gdb.base/shr2.c: Likewise.
11351 * gdb.base/sigall.c: Likewise.
11352 * gdb.base/signals.c: Likewise.
11353 * gdb.base/so-indr-cl.c: Likewise.
11354 * gdb.base/solib2.c: Likewise.
11355 * gdb.base/structs.c: Likewise.
11356 * gdb.base/sum.c: Likewise.
11357 * gdb.base/vforked-prog.c: Likewise.
11358 * gdb.base/watchpoint.c: Likewise.
11359 * gdb.reverse/shr2.c: Likewise.
11360 * gdb.reverse/until-reverse.c: Likewise.
11361 * gdb.reverse/ur1.c: Likewise.
11362 * gdb.reverse/watch-reverse.c: Likewise.
11363
11364 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11365
11366 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11367 variant.
11368 * gdb.base/sepdebug.exp: Drop references to removed code.
11369
11370 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11371
11372 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11373 variant. Preserve original line numbering.
11374 * gdb.base/list1.c: Likewise.
11375
11376 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11377
11378 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11379 variant.
11380 * gdb.base/break1.c: Likewise.
11381 * gdb.base/break.exp: Drop references to removed code.
11382
11383 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11384
11385 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11386 variant.
11387
11388 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11389
11390 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11391
11392 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11393
11394 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11395 logic into perform_all_tests() and invoke it with and without
11396 function header prototypes.
11397 (do_function_calls): Remove conditional XFAIL for PR 5318.
11398 (rerun_and_prepare): Remove duplicate code.
11399 (perform_all_tests): New. Main logic moved here.
11400
11401 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11402
11403 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11404 code guarded by #ifdef NO_PROTOTYPES.
11405 (t_double_many_args): Likewise.
11406 (DEF_FUNC_MANY_ARGS_1): Likewise.
11407 (DEF_FUNC_VALUES_1): Likewise.
11408 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11409 guarded by #ifdef PROTOTYPES.
11410
11411 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11412
11413 * gdb.mi/mi-console.c: Add eye-catcher.
11414 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11415 instead of literal line number.
11416
11417 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11418
11419 * gdb.base/shr2.c: Add eye-catcher.
11420 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11421 line number.
11422
11423 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11424
11425 * gdb.base/jump.c: Add eye-catchers.
11426 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11427 numbers.
11428
11429 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11430
11431 * gdb.base/execd-prog.c: Add eye-catchers.
11432 * gdb.base/foll-exec.c: Likewise.
11433 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11434 line numbers.
11435
11436 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11437
11438 * gdb.base/ending-run.c: Add eye-catchers.
11439 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11440 literal line numbers.
11441
11442 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11443
11444 * gdb.base/call-rt-st.c: Add eye-catchers.
11445 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11446 literal line numbers.
11447
11448 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11449
11450 * gdb.base/call-ar-st.c: Add eye-catchers.
11451 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11452 literal line numbers.
11453
11454 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11455
11456 * gdb.base/average.c: Add eye-catchers.
11457 * gdb.base/sum.c: Likewise.
11458 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11459 regexps dynamically.
11460
11461 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11462
11463 * gdb.base/solib1.c: Add eye-catchers.
11464 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11465 literal line numbers.
11466
11467 2014-11-12 Pedro Alves <palves@redhat.com>
11468
11469 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11470 leader has exited.
11471
11472 2014-11-12 Pedro Alves <palves@redhat.com>
11473
11474 * gdb.arch/i386-bp_permanent.c: New file.
11475 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11476 (srcfile): Set to i386-bp_permanent.c.
11477 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11478 that stepi does not execute the 'leave' instruction, instead of
11479 testing it does execute.
11480 * gdb.base/bp-permanent.c: New file.
11481 * gdb.base/bp-permanent.exp: New file.
11482
11483 2014-11-10 Doug Evans <xdje42@gmail.com>
11484
11485 PR symtab/17564
11486 * gdb.base/symtab-search-order.exp: New file.
11487 * gdb.base/symtab-search-order.c: New file.
11488 * gdb.base/symtab-search-order-1.c: New file.
11489 * gdb.base/symtab-search-order-shlib-1.c: New file.
11490
11491 2014-11-07 Pedro Alves <palves@redhat.com>
11492
11493 PR gdb/17511
11494 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11495 i?86-*-linux*.
11496
11497 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
11498
11499 PR c++/17494
11500 * gdb.cp/pr17494.cc: New file.
11501 * gdb.cp/pr17494.exp: New file.
11502
11503 2014-11-02 Yao Qi <yao@codesourcery.com>
11504
11505 * gdb.python/python.exp: Get working directory and match the
11506 output of "set extended-prompt \\w " with it.
11507
11508 2014-10-30 Doug Evans <dje@google.com>
11509
11510 * gdb.python/py-objfile.exp: Add tests for setting random attributes
11511 in objfiles.
11512 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11513 in progspaces.
11514
11515 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
11516
11517 * gdb.base/fullpath-expand.exp: Skip for a remote host.
11518 * gdb.base/realname-expand.exp: Likewise.
11519 * gdb.linespec/macro-relative.exp: Likewise.
11520
11521 2014-10-29 Pedro Alves <palves@redhat.com>
11522
11523 PR gdb/17408
11524 * gdb.threads/schedlock.c (some_function): New function.
11525 (call_function): New global.
11526 (MAYBE_CALL_SOME_FUNCTION): New macro.
11527 (thread_function): Call it.
11528 * gdb.threads/schedlock.exp (get_args): Add description parameter,
11529 and use it instead of a global counter. Adjust all callers.
11530 (get_current_thread): Use "find current thread" for test message
11531 here rather than having all callers pass down the same string.
11532 (goto_loop): New procedure, factored out from ...
11533 (my_continue): ... this.
11534 (step_ten_loops): Change parameter from test message to command to
11535 use. Adjust.
11536 (list_count): Delete global.
11537 (check_result): New procedure, factored out from duplicate top
11538 level code.
11539 (continue tests): Wrap in with_test_prefix.
11540 (test_step): New procedure, factored out from duplicate top level
11541 code.
11542 (top level): Test "step" in combination with all scheduler-locking
11543 modes. Test "next" in combination with all scheduler-locking
11544 modes, and in combination with stepping over a function call or
11545 not.
11546 * gdb.threads/next-bp-other-thread.c: New file.
11547 * gdb.threads/next-bp-other-thread.exp: New file.
11548
11549 2014-10-29 Pedro Alves <palves@redhat.com>
11550
11551 PR python/17372
11552 * gdb.python/python.exp: Test a multi-line command that spawns
11553 interactive Python.
11554 * gdb.base/multi-line-starts-subshell.exp: New file.
11555
11556 2014-10-29 Yao Qi <yao@codesourcery.com>
11557
11558 * gdb.base/fileio.exp: Make directories on host.
11559
11560 2014-10-29 Yao Qi <yao@codesourcery.com>
11561
11562 * gdb.base/fileio.c (test_write): Close the file.
11563
11564 2014-10-28 Pedro Alves <palves@redhat.com>
11565
11566 PR gdb/12623
11567 * gdb.base/sigstep.c (no_handler): New global.
11568 (main): If 'no_handler is true, set the signal handlers to
11569 SIG_IGN.
11570 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11571 with_sw_watch and no_handler parameters. Handle them.
11572 (top level) <stepping over handler when stopped at a breakpoint
11573 test>: Add a test axis for testing with a software watchpoint, and
11574 another for testing with the signal handler set to SIG_IGN.
11575 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11576 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11577
11578 2014-10-28 Pedro Alves <palves@redhat.com>
11579
11580 PR gdb/17511
11581 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11582 * gdb.base/sigstep.exp (other_handler_location): New global.
11583 (advance): Support stepping into the signal handler, and running
11584 commands while in the handler.
11585 (in_handler_map): New global.
11586 (top level): In the advance test, add combinations for getting
11587 into the handler with stepping commands, and for running commands
11588 in the handler. Add comment descripting the advancei tests.
11589
11590 2014-10-28 Pedro Alves <palves@redhat.com>
11591
11592 * gdb.base/sigstep.exp: Use build_executable instead of
11593 prepare_for_testing.
11594 (top level): Move code that starts GDB, runs to main and creates a
11595 display to ...
11596 (restart): ... this new procedure.
11597 (top level): Move backtrace from signal handler test to ...
11598 (validate_backtrace): ... this new procedure.
11599 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11600 with_test_prefix. Always restart GDB.
11601 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11602 with_test_prefix. Always restart GDB. No need to delete
11603 breakpoints after the test.
11604 (test_skip_handler): Remove prefix parameter.
11605 (skip_over_handler, breakpoint_to_handler)
11606 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11607 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11608 restart GDB. No need to delete breakpoints after the test.
11609 (top level): Use foreach to call the test procedures with
11610 different commands.
11611
11612 2014-10-28 Pedro Alves <palves@redhat.com>
11613
11614 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11615 instead of GNATS numbers.
11616 * gdb.base/sigbpt.exp: Likewise.
11617 * gdb.base/siginfo.exp: Likewise.
11618 * gdb.base/sigstep.exp: Likewise.
11619
11620 2014-10-27 Pedro Alves <palves@redhat.com>
11621
11622 * gdb.base/sigstep.c (dummy): New global.
11623 (main): Issue a couple writes to the new global.
11624 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11625 procedures.
11626 (skip_over_handler): Use test_skip_handler.
11627 (top level): Call skip_over_handler for stepi and nexti too.
11628 (breakpoint_over_handler): Use test_skip_handler.
11629 (top level): Call breakpoint_over_handler for stepi and nexti too.
11630
11631 2014-10-27 Yao Qi <yao@codesourcery.com>
11632
11633 * gdb.trace/tfile.c (adjust_function_address)
11634 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11635 function descriptor.
11636
11637 2014-10-24 Don Breazeal <donb@codesourcery.com>
11638
11639 * gdb.base/foll-fork.exp (test_follow_fork,
11640 catch_fork_child_follow): Check for updated fork messages emitted
11641 from infrun.c.
11642 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11643 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11644 vfork_and_exec_child_follow_through_step): Check for updated vfork
11645 messages emitted from infrun.c.
11646
11647 2014-10-24 Pedro Alves <palves@redhat.com>
11648
11649 * gdb.base/corefile.exp: Remove references to ultrix.
11650 * gdb.base/interrupt.exp: Likewise.
11651 * gdb.base/whatis.exp: Likewise.
11652 * gdb.gdb/selftest.exp: Likewise.
11653 * gdb.threads/manythreads.exp: Likewise.
11654 * gdb.threads/print-threads.exp: Likewise.
11655 * gdb.threads/pthreads.exp:: Likewise.
11656 * gdb.threads/schedlock.exp: Likewise.
11657
11658 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11659
11660 * gdb.cp/non-trivial-retval.cc: Add a test case.
11661 * gdb.cp/non-trivial-retval.exp: Add a test.
11662
11663 2014-10-20 Yao Qi <yao@codesourcery.com>
11664
11665 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11666 * gdb.python/py-objfile-script-gdb.py: New file.
11667 * gdb.python/py-objfile-script.exp: Update reference to
11668 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11669 of remote_download. Remove the dest file.
11670
11671 2014-10-20 Yao Qi <yao@codesourcery.com>
11672
11673 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11674 * gdb.base/step-line.exp: Likewise.
11675 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11676 * gdb.dwarf2/dw2-basic.exp: Likewise.
11677 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11678 * gdb.dwarf2/dw2-filename.exp: Likewise.
11679 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11680 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11681 * gdb.dwarf2/dw2-producer.exp: Likewise.
11682 * gdb.dwarf2/mac-fileno.exp: Likewise.
11683 * gdb.python/py-frame-args.exp: Likewise.
11684 * gdb.python/py-framefilter.exp: Likewise.
11685 * gdb.python/py-mi.exp: Likewise.
11686 * gdb.python/py-objfile-script.exp: Likewise
11687 * gdb.python/py-pp-integral.exp: Likewise.
11688 * gdb.python/py-pp-re-notag.exp: Likewise.
11689 * gdb.python/py-prettyprint.exp: Likewise.
11690 * gdb.python/py-section-script.exp: Likewise.
11691 * gdb.python/py-typeprint.exp: Likewise.
11692 * gdb.python/py-xmethods.exp: Likewise.
11693 * gdb.stabs/weird.exp: Likewise.
11694 * gdb.xml/tdesc-regs.exp: Likewise.
11695
11696 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11697
11698 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11699 (out_cu): Use addr_len for the size of addresses.
11700 (out_line): Likewise. Size DW_LNE_set_address instruction
11701 according to addr_len.
11702 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11703 (FUNC): Add START_INSNS to definition.
11704
11705 2014-10-18 Yao Qi <yao@codesourcery.com>
11706
11707 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11708 gdb_has_argv0 return true.
11709 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11710 check [target_info exists noargs], check [gdb_has_argv0]
11711 instead.
11712 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11713 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11714 procedures.
11715
11716 2014-10-17 Doug Evans <dje@google.com>
11717
11718 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11719 event.
11720 * gdb.python/py-events.py: Add clear_objfiles event.
11721
11722 2014-10-17 Doug Evans <dje@google.com>
11723
11724 * gdb.python/py-objfile.exp: Test progspace attribute.
11725
11726 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
11727
11728 * gdb.guile/scm-breakpoint.exp: Do not assume any
11729 directory separators when matching source file paths.
11730 * gdb.python/py-breakpoint.exp: Likewise.
11731 * gdb.reverse/break-precsave.exp: Likewise.
11732 * gdb.reverse/break-reverse.exp: Likewise.
11733 * gdb.reverse/consecutive-precsave.exp: Likewise.
11734 * gdb.reverse/finish-precsave.exp: Likewise.
11735 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11736 * gdb.reverse/finish-reverse.exp: Likewise.
11737 * gdb.reverse/i386-precsave.exp: Likewise.
11738 * gdb.reverse/i387-env-reverse.exp: Likewise.
11739 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11740 * gdb.reverse/machinestate-precsave.exp: Likewise.
11741 * gdb.reverse/machinestate.exp: Likewise.
11742 * gdb.reverse/sigall-precsave.exp: Likewise.
11743 * gdb.reverse/solib-precsave.exp: Likewise.
11744 * gdb.reverse/step-precsave.exp: Likewise.
11745 * gdb.reverse/until-precsave.exp: Likewise.
11746 * gdb.reverse/watch-precsave.exp: Likewise.
11747 * gdb.reverse/watch-reverse.exp: Likewise.
11748
11749 2014-10-17 Yao Qi <yao@codesourcery.com>
11750
11751 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11752 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11753
11754 2014-10-17 Pedro Alves <palves@redhat.com>
11755
11756 PR gdb/17471
11757 * gdb.base/bg-execution-repeat.c: New file.
11758 * gdb.base/bg-execution-repeat.exp: New file.
11759
11760 2014-10-17 Pedro Alves <palves@redhat.com>
11761
11762 PR gdb/17300
11763 * gdb.base/continue-all-already-running.c: New file.
11764 * gdb.base/continue-all-already-running.exp: New file.
11765
11766 2014-10-17 Pedro Alves <palves@redhat.com>
11767
11768 PR gdb/17472
11769 * gdb.base/annota-input-while-running.c: New file.
11770 * gdb.base/annota-input-while-running.exp: New file.
11771
11772 2014-10-17 Pedro Alves <palves@redhat.com>
11773
11774 * gdb.base/callfuncs.exp: emove references to osf.
11775 * gdb.base/sigall.exp: Likewise.
11776 * gdb.gdb/selftest.exp: Likewise.
11777 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11778 * gdb.mi/non-stop.c: Likewise.
11779 * gdb.mi/pthreads.c: Likewise.
11780 * gdb.reverse/sigall-precsave.exp: Likewise.
11781 * gdb.reverse/sigall-reverse.exp: Likewise.
11782 * gdb.threads/pthreads.c: Likewise.
11783 * gdb.threads/pthreads.exp: Likewise.
11784
11785 2014-10-17 Yao Qi <yao@codesourcery.com>
11786
11787 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11788 check 'target_info exists noargs'.
11789 (test_command_prompt_position): Likewise.
11790 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11791 Remove "set args".
11792 (progvar_simple_while_test): Likewise.
11793 (progvar_complex_if_while_test): Likewise.
11794 (if_while_breakpoint_command_test): Likewise.
11795 (infrun_breakpoint_command_test): Likewise.
11796 (breakpoint_command_test): Likewise.
11797 (watchpoint_command_test): Likewise.
11798 (bp_deleted_in_command_test): Likewise.
11799 (temporary_breakpoint_commands): Likewise.
11800
11801 2014-10-16 Yao Qi <yao@codesourcery.com>
11802
11803 * gdb.base/remotetimeout.exp: Remove noargs checking.
11804
11805 2014-10-15 Pedro Alves <palves@redhat.com>
11806
11807 PR breakpoints/9649
11808 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11809 * gdb.base/breakpoint-in-ro-region.exp
11810 (probe_target_hardware_step): New procedure.
11811 (top level): Probe hardware stepping and hardware breakpoint
11812 support. Test stepping through a read-only region, with both
11813 "breakpoint auto-hw" on and off and both "always-inserted" on and
11814 off.
11815
11816 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11817
11818 * gdb.dlang/demangle.exp: Update for demangling changes.
11819
11820 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11821
11822 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11823 * gdb.cp/non-trivial-retval.exp: Add new tests.
11824
11825 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11826
11827 PR c++/13403
11828 PR c++/15154
11829 * gdb.cp/non-trivial-retval.cc: New file.
11830 * gdb.cp/non-trivial-retval.exp: New file.
11831
11832 2014-10-15 Yao Qi <yao@codesourcery.com>
11833
11834 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11835 remote host.
11836
11837 2014-10-15 Yao Qi <yao@codesourcery.com>
11838
11839 * gdb.python/py-symbol.exp: Match file base name if host is
11840 remote, otherwise match file name with dir name.
11841 * gdb.python/py-symtab.exp: Likewise.
11842 * gdb.python/python.exp: Likewise.
11843
11844 2014-10-15 Yao Qi <yao@codesourcery.com>
11845
11846 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
11847 pattern.
11848 * gdb.python/py-symtab.exp: Likewise.
11849 * gdb.python/python.exp: Remove trailing ".*". Fix typo
11850 locationn.
11851
11852 2014-10-14 Joel Brobecker <brobecker@adacore.com>
11853
11854 * gdb.ada/addr_arith: New testcase.
11855
11856 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
11857
11858 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
11859 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
11860 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
11861 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
11862
11863 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
11864
11865 * gdb.arch/stap-eval-lang-ada.S: Likewise.
11866 * gdb.arch/stap-eval-lang-ada.c: Likewise.
11867 * gdb.arch/stap-eval-lang-ada.exp: New file.
11868
11869 2014-10-14 Yao Qi <yao@codesourcery.com>
11870
11871 * gdb.mi/mi-var-child.c (nothing1): New function.
11872 (nothing2): New function.
11873 (do_children_tests): Set function pointers by nothing1 and
11874 nothing2.
11875 * gdb.mi/mi-var-child.exp: Step over new added statements.
11876 Update test to match the new output.
11877 * gdb.mi/var-cmd.c (nothing1): New function.
11878 (nothing2): New function.
11879 (do_children_tests): Set function pointers by nothing1 and
11880 nothing2.
11881 * gdb.mi/mi-var-display.exp: Update test to match output.
11882 Step to the line specified by $line_dct_nothing.
11883 Increase the number of lines to step.
11884
11885 2014-10-14 Yao Qi <yao@codesourcery.com>
11886
11887 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
11888 tests.
11889 * gdb.mi/mi2-var-child.exp: Likewise.
11890
11891 2014-10-13 Doug Evans <dje@google.com>
11892
11893 * gdb.python/py-objfile.exp: Change name of file name test.
11894
11895 2014-10-13 Doug Evans <dje@google.com>
11896
11897 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
11898 from the start of the CU.
11899
11900 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11901 Yao Qi <yao@codesourcery.com>
11902
11903 Fix "save breakpoints" for "catch" command.
11904 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11905 Remove -nonewline. Match also the added "main" line.
11906
11907 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11908
11909 Fix "save breakpoints" for "disable $bpnum" command.
11910 * gdb.base/save-bp.c (main): Add label.
11911 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
11912
11913 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11914
11915 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
11916
11917 2014-10-11 Yao Qi <yao@codesourcery.com>
11918
11919 * gdb.server/server-kill.exp: Execute command
11920 "set remote trace-status-packet on" before "tstatus".
11921
11922 2014-10-11 Yao Qi <yao@codesourcery.com>
11923
11924 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
11925 (main): Call getppid.
11926 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
11927 and continue to it. Read variable "server_pid".
11928
11929 2014-10-11 Yao Qi <yao@codesourcery.com>
11930
11931 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
11932
11933 2014-10-11 Yao Qi <yao@codesourcery.com>
11934
11935 * gdb.threads/thread-find.exp: Don't execute command
11936 "info threads".
11937 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
11938 * gdb.threads/linux-dp.exp: Don't check the condition
11939 $threads_created equals to zero.
11940
11941 2014-10-10 Pedro Alves <palves@redhat.com>
11942
11943 * gdb.base/bigcore.exp: Remove references to IRIX.
11944 * gdb.base/funcargs.exp: Likewise.
11945 * gdb.base/interrupt.exp: Likewise.
11946 * gdb.base/mips_pro.exp: Likewise.
11947 * gdb.base/nodebug.exp: Likewise.
11948 * gdb.base/setvar.exp: Likewise.
11949 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
11950
11951 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11952 Pedro Alves <palves@redhat.com>
11953
11954 PR symtab/14466
11955 * gdb.base/vdso-warning.c: New file.
11956 * gdb.base/vdso-warning.exp: New file.
11957
11958 2014-10-02 Doug Evans <dje@google.com>
11959
11960 * gdb.base/structs.c (main): Don't run forever.
11961
11962 2014-10-02 Pedro Alves <palves@redhat.com>
11963
11964 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
11965 (top level) <stop threads 1, stop threads 2>: Use it.
11966
11967 2014-10-02 Pedro Alves <palves@redhat.com>
11968
11969 * gdb.threads/break-while-running.exp (test): Add new
11970 'update_thread_list' argument. Skip "info threads" if false.
11971 (top level): Add new 'update_thread_list' axis.
11972
11973 2014-10-02 Pedro Alves <palves@redhat.com>
11974
11975 PR breakpoints/17431
11976 * gdb.base/execl-update-breakpoints.c: New file.
11977 * gdb.base/execl-update-breakpoints.exp: New file.
11978
11979 2014-10-01 Pedro Alves <palves@redhat.com>
11980
11981 * gdb.base/breakpoint-in-ro-region.c: New file.
11982 * gdb.base/breakpoint-in-ro-region.exp: New file.
11983
11984 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
11985
11986 * gdb.mi/mi-exit-code.exp: New file.
11987 * gdb.mi/mi-exit-code.c: New file.
11988
11989 2014-09-30 Yao Qi <yao@codesourcery.com>
11990
11991 * lib/prelink-support.exp (build_executable_own_libs): Error if
11992 the target isn't native.
11993
11994 2014-09-30 Yao Qi <yao@codesourcery.com>
11995
11996 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
11997 false.
11998
11999 2014-09-22 Pedro Alves <palves@redhat.com>
12000
12001 * gdb.threads/break-while-running.exp: New file.
12002 * gdb.threads/break-while-running.c: New file.
12003
12004 2014-09-19 Yao Qi <yao@codesourcery.com>
12005
12006 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12007 Invoke test. Restart GDB with --readnow and invoke test again.
12008
12009 2014-09-19 Yao Qi <yao@codesourcery.com>
12010
12011 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12012 proc set_breakpoint_on_gcd_function. Invoke
12013 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12014 invoke set_breakpoint_on_gcd_function again.
12015
12016 2014-09-18 Doug Evans <dje@google.com>
12017
12018 * gdb.dwarf2/symtab-producer.exp: New file.
12019
12020 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12021
12022 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12023 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12024 * gdb.base/global-var-nested-by-dso.c: Likewise.
12025 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12026
12027 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12028 Pedro Alves <palves@redhat.com>
12029
12030 * gdb.base/watch-bitfields.exp: Pass string other than test file
12031 name to prepare_for_testing.
12032 (watch): New procedure.
12033 (expect_watchpoint): Use with_test_prefix.
12034 (top level): Factor out tests to ...
12035 (test_watch_location, test_regular_watch): ... these new
12036 procedures, and use with_test_prefix and gdb_continue_to_end.
12037
12038 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12039
12040 PR breakpoints/12526
12041 * gdb.base/watch-bitfields.exp: New file.
12042 * gdb.base/watch-bitfields.c: New file.
12043
12044 2014-09-16 Pedro Alves <palves@redhat.com>
12045
12046 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12047 software and hardware addresses, not software address against
12048 itself.
12049
12050 2014-09-16 Pedro Alves <palves@redhat.com>
12051
12052 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12053 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12054
12055 2014-09-16 Pedro Alves <palves@redhat.com>
12056
12057 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12058 files.
12059 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12060 "*-*-vxworks*" throughout.
12061 * gdb.base/break.exp: Likewise.
12062 * gdb.base/default.exp: Likewise.
12063 * gdb.base/scope.exp: Likewise.
12064 * gdb.base/sepdebug.exp: Likewise.
12065 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12066 throughout.
12067 * gdb.base/run.c: Likewise.
12068 * gdb.base/sepdebug.c: Likewise.
12069 * gdb.hp/gdb.aCC/run.c: Likewise.
12070 * gdb.reverse/until-reverse.c: Likewise.
12071 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12072
12073 2014-09-16 Yao Qi <yao@codesourcery.com>
12074
12075 * boards/local-remote-host-native.exp: New file.
12076
12077 2014-09-14 Doug Evans <xdje42@gmail.com>
12078
12079 * gdb.threads/queue-signal.c (thread_count): New variable.
12080 (thread_count_mutex, thread_count_condvar): New variables.
12081 (incr_thread_count, wait_all_threads_running): New functions.
12082 (main): Wait for all threads to be in their thread functions.
12083
12084 2014-09-13 Doug Evans <xdje42@gmail.com>
12085
12086 * gdb.threads/queue-signal.c: New file.
12087 * gdb.threads/queue-signal.exp: New file.
12088
12089 2014-09-13 Doug Evans <xdje42@gmail.com>
12090
12091 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12092 be consistent with what default_gdb_init uses.
12093 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12094 the plain text of the prompt. Add some logging printfs.
12095 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12096
12097 2014-09-12 Pedro Alves <palves@redhat.com>
12098
12099 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12100 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12101 * gdb.arch/i386-size-overlap.exp: Likewise.
12102 * gdb.arch/i386-size.exp: Likewise.
12103 * gdb.arch/i386-unwind.exp: Likewise.
12104 * gdb.base/a2-run.exp: Likewise.
12105 * gdb.base/break.exp: Likewise.
12106 * gdb.base/charset.exp: Likewise.
12107 * gdb.base/chng-syms.exp: Likewise.
12108 * gdb.base/commands.exp: Likewise.
12109 * gdb.base/dbx.exp: Likewise.
12110 * gdb.base/find.exp: Likewise.
12111 * gdb.base/funcargs.exp: Likewise.
12112 * gdb.base/jit-simple.exp: Likewise.
12113 * gdb.base/reread.exp: Likewise.
12114 * gdb.base/sepdebug.exp: Likewise.
12115 * gdb.base/step-bt.exp: Likewise.
12116 * gdb.cp/mb-inline.exp: Likewise.
12117 * gdb.cp/mb-templates.exp: Likewise.
12118 * gdb.objc/basicclass.exp: Likewise.
12119 * gdb.threads/killed.exp: Likewise.
12120
12121 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12122
12123 PR tdep/17379
12124 * gdb.arch/powerpc-stackless.S: New file.
12125 * gdb.arch/powerpc-stackless.exp: New file.
12126
12127 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12128
12129 * gdb.base/attach.c: Include unistd.h.
12130 (main): Call alarm. Add label postloop.
12131 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12132 gdb_breakpoint, gdb_continue_to_breakpoint.
12133 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12134
12135 2014-09-11 Pedro Alves <palves@redhat.com>
12136
12137 PR gdb/17347
12138 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12139 * gdb.base/attach.exp (test_command_line_attach_run): New
12140 procedure.
12141 (top level): Call it.
12142
12143 2014-09-11 Pedro Alves <palves@redhat.com>
12144
12145 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12146 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12147 (do_command_attach_tests): Use spawn_wait_for_attach.
12148 * gdb.base/solib-overlap.exp: Likewise.
12149 * gdb.multi/multi-attach.exp: Likewise.
12150 * gdb.python/py-prompt.exp: Likewise.
12151 * gdb.python/py-sync-interp.exp: Likewise.
12152 * gdb.server/ext-attach.exp: Likewise.
12153
12154 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12155
12156 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12157 command in testcase. Simplify testcase.
12158
12159 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12160
12161 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12162
12163 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12164
12165 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12166
12167 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12168
12169 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12170
12171 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12172
12173 * gdb.dwarf2/dynarr-ptr.c: New file.
12174 * gdb.dwarf2/dynarr-ptr.exp: New file.
12175
12176 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12177
12178 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12179 of 30 rather than hardcoding 120 for a slow test case. Take the
12180 `gdb,timeout' target setting into account for this calculation.
12181 Don't extend the timeout for the test cases that don't need it.
12182
12183 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12184
12185 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12186 a factor of 2 for a slow test case. Take the `gdb,timeout'
12187 target setting into account for this calculation.
12188 * gdb.reverse/until-precsave.exp: Increase the timeout by
12189 a factor of 15 and 3 respectively rather than adding 120
12190 for a pair of slow test cases. Take the `gdb,timeout'
12191 target setting into account for this calculation.
12192
12193 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12194
12195 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12196 timeout, don't pass one down to gdb_expect.
12197 (gdb_expect): Rework timeout selection.
12198
12199 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12200
12201 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12202 exception on timeout.
12203 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12204 (gdbserver_start_extended): Catch any `gdbserver_start' error
12205 exceptions.
12206 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12207 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12208 `gdbserver_gdb_load' error exceptions.
12209
12210 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12211
12212 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12213 120 on waiting for the TCP socket to open.
12214
12215 2014-09-09 Doug Evans <xdje42@gmail.com>
12216
12217 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12218 _caller_matches, _any_caller_is, _any_caller_matches.
12219
12220 2014-09-09 Doug Evans <xdje42@gmail.com>
12221
12222 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12223
12224 2014-09-09 Yao Qi <yao@codesourcery.com>
12225
12226 * gdb.mi/mi-var-display.exp: Set print symbol off.
12227
12228 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12229
12230 PR gdb/17035
12231 * gdb.base/commands.exp: Add tests to verify user-defined
12232 commands with empty bodies.
12233 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12234 python commands in `show user command`.
12235 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12236 scheme commands in `show user command`.
12237
12238 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12239
12240 PR python/17355
12241 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12242 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12243 * gdb.python/py-framefilter-invalidarg.exp: New file.
12244 * gdb.python/py-framefilter-invalidarg.py: New file.
12245
12246 2014-09-06 Doug Evans <xdje42@gmail.com>
12247
12248 PR 15276
12249 * gdb.python/py-caller-is.c: New file.
12250 * gdb.python/py-caller-is.exp: New file.
12251
12252 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12253
12254 PR gdb/17235
12255 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12256 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12257
12258 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12259
12260 PR fortran/17237
12261 * gdb.fortran/print-formatted.exp: New file.
12262 * gdb.fortran/print-formatted.f90: Likewise.
12263
12264 2014-09-03 Sasha Smundak <asmundak@google.com>
12265
12266 * gdb.python/py-frame.exp: Test Frame.read_register.
12267
12268 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12269
12270 PR python/16699
12271 * gdb.python/py-completion.exp: New file.
12272 * gdb.python/py-completion.py: Likewise.
12273
12274 2014-08-28 Doug Evans <dje@google.com>
12275
12276 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12277 eax,etc. are live with values set by gdb and thus the compiler can't
12278 use them.
12279 * gdb.arch/i386-pseudo.c (main): Ditto.
12280
12281 2014-08-27 Doug Evans <dje@google.com>
12282
12283 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12284
12285 2014-08-25 Doug Evans <dje@google.com>
12286
12287 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12288 (main): Ditto.
12289
12290 2014-08-25 Doug Evans <dje@google.com>
12291
12292 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12293
12294 2014-08-24 Yao Qi <yao@codesourcery.com>
12295
12296 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12297 symbol off.
12298 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12299
12300 2014-08-22 Doug Evans <dje@google.com>
12301
12302 PR 17276
12303 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12304 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12305 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12306
12307 2014-08-22 Yao Qi <yao@codesourcery.com>
12308
12309 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12310 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12311 * gdb.python/python.exp: Likewise. Use .py file on the host
12312 instead of the build.
12313
12314 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12315
12316 * gdb.threads/gcore-stale-thread.c: New file.
12317 * gdb.threads/gcore-stale-thread.exp: New file.
12318
12319 2014-08-21 Pedro Alves <palves@redhat.com>
12320
12321 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12322 * gdb.base/gcore-relro-pie.exp: Likewise.
12323 * gdb.base/gcore-relro.exp: Likewise.
12324 * gdb.base/gcore.exp: Likewise.
12325 * gdb.base/print-symbol-loading.exp: Likewise.
12326 * gdb.threads/gcore-thread.exp: Likewise.
12327 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12328
12329 2014-08-20 Pedro Alves <palves@redhat.com>
12330 Jan Kratochvil <jan.kratochvil@redhat.com>
12331
12332 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12333 configure.
12334 (EXPECT): Handle READ1 being set.
12335 (all): Depend on EXTRA_RULES.
12336 (check-read1, expect-read1, read1.so, read1): New rules.
12337 * README (Testsuite Parameters): Document the READ1 make variable.
12338 (Race detection): New section.
12339 * configure: Regenerate.
12340 * configure.ac: If build==host==target, and running under a
12341 GNU/glibc system, add read1 to the extra Makefile rules.
12342 (EXTRA_RULES): AC_SUBST it.
12343 * lib/read1.c: New file.
12344
12345 2014-08-20 Joel Brobecker <brobecker@adacore.com>
12346
12347 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12348 the handling of variables declared as a typedef to an array
12349 which a DW_AT_data_location attribute.
12350
12351 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
12352 Pedro Alves <palves@redhat.com>
12353
12354 PR symtab/14604
12355 PR symtab/14605
12356 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12357 gdb_test.
12358
12359 2014-08-19 Pedro Alves <palves@redhat.com>
12360
12361 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12362
12363 2014-08-19 Yao Qi <yao@codesourcery.com>
12364
12365 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12366 right line.
12367
12368 2014-08-18 David Blaikie <dblaikie@gmail.com>
12369
12370 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12371
12372 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12373
12374 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12375 attribute in array range.
12376
12377 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12378
12379 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12380
12381 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12382
12383 PR c++/17132
12384 * gdb.cp/pr17132.cc: New file.
12385 * gdb.cp/pr17132.exp: New file.
12386
12387 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12388
12389 * gdb.python/py-xmethods.py (A_getarrayind)
12390 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12391 Use 'print' with function call syntax.
12392 (E_method_matcher.match): Fix tab vs space indentation mixup.
12393
12394 2014-08-15 Yao Qi <yao@codesourcery.com>
12395
12396 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12397 false.
12398
12399 2014-08-15 Yao Qi <yao@codesourcery.com>
12400
12401 * gdb.cp/casts.exp: Set print symbol off.
12402 * gdb.cp/class2.exp: Likewise.
12403 * gdb.cp/overload.exp: Likewise.
12404 * gdb.cp/templates.exp: Likewise.
12405
12406 2014-08-11 Doug Evans <dje@google.com>
12407
12408 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12409 (test_load_shlib): Update.
12410
12411 2014-08-09 Yao Qi <yao@codesourcery.com>
12412
12413 * gdb.base/display.exp: Invoke is_address_zero_readable.
12414 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12415 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12416 * gdb.base/hbreak-unmapped.exp: Return if
12417 is_address_zero_readable returns true.
12418 * gdb.base/signest.exp: Likewise.
12419 * gdb.base/signull.exp: Likewise.
12420 * gdb.base/sigbpt.exp: Likewise.
12421 * gdb.guile/scm-disasm.exp: Do the test if
12422 is_address_zero_readable returns false.
12423 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12424 * gdb.python/py-arch.exp: Likewise.
12425 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12426 * lib/gdb.exp (is_address_zero_readable): New proc.
12427
12428 2014-08-09 Yao Qi <yao@codesourcery.com>
12429
12430 PR testsuite/13443
12431 * gdb.mi/mi-var-display.exp: Make test messages unique.
12432
12433 2014-08-04 Tom Tromey <tromey@redhat.com>
12434
12435 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12436 target 0".
12437
12438 2014-08-04 Tom Tromey <tromey@redhat.com>
12439
12440 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12441 "target_resume".
12442
12443 2014-08-01 Joel Brobecker <brobecker@adacore.com>
12444
12445 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12446 inner_vla_struct_object_size.
12447 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12448 as xfail.
12449
12450 2014-07-30 Pedro Alves <palves@redhat.com>
12451
12452 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12453 comment.
12454
12455 2014-07-29 Yao Qi <yao@codesourcery.com>
12456
12457 PR gdb/17206
12458 * gdb.base/until-nodebug.exp: New.
12459
12460 2014-07-28 Doug Evans <xdje42@gmail.com>
12461
12462 PR guile/17203
12463 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12464 previously existing parameter, and previously ambiguously spelled
12465 parameter.
12466
12467 2014-07-28 Will Newton <will.newton@linaro.org>
12468
12469 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12470
12471 2014-07-26 Ludovic Courtès <ludo@gnu.org>
12472 Doug Evans <xdje42@gmail.com>
12473
12474 PR guile/17146
12475 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12476
12477 2014-07-25 Pedro Alves <palves@redhat.com>
12478
12479 * gdb.threads/signal-command-handle-nopass.c: New file.
12480 * gdb.threads/signal-command-handle-nopass.exp: New file.
12481 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12482 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12483 * gdb.threads/signal-delivered-right-thread.c: New file.
12484 * gdb.threads/signal-delivered-right-thread.exp: New file.
12485
12486 2014-07-25 Pedro Alves <palves@redhat.com>
12487
12488 * gdb.base/double-prompt-target-event-error.exp
12489 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12490 match.
12491 (cancel_pagination_in_target_event): Rework double prompt
12492 detection.
12493 * gdb.base/paginate-after-ctrl-c-running.exp
12494 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12495 <return>' match.
12496 * gdb.base/paginate-bg-execution.exp
12497 (test_bg_execution_pagination_return)
12498 (test_bg_execution_pagination_cancel): Remove '-notransfer
12499 <return>' matches.
12500 * gdb.base/paginate-execution-startup.exp
12501 (test_fg_execution_pagination_return)
12502 (test_fg_execution_pagination_cancel): Remove '-notransfer
12503 <return>' matches.
12504 * gdb.base/paginate-inferior-exit.exp
12505 (test_paginate_inferior_exited): Remove '-notransfer <return>'
12506 match.
12507 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12508 * lib/gdb.exp (pagination_prompt): Run text through
12509 string_to_regexp.
12510 (gdb_test_multiple): Match $pagination_prompt instead of
12511 "<return>".
12512 (string_to_regexp): Move to lib/gdb-utils.exp.
12513
12514 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12515
12516 * gdb.arch/amd64-entry-value-paramref.S: New file.
12517 * gdb.arch/amd64-entry-value-paramref.cc: New file.
12518 * gdb.arch/amd64-entry-value-paramref.exp: New file.
12519 * gdb.arch/amd64-optimout-repeat.S: New file.
12520 * gdb.arch/amd64-optimout-repeat.c: New file.
12521 * gdb.arch/amd64-optimout-repeat.exp: New file.
12522
12523 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12524
12525 PR gdb/17170
12526 * gdb.base/statistics.exp: New file.
12527
12528 2014-07-17 Doug Evans <dje@google.com>
12529
12530 PR gdb/17170
12531 * gdb.base/maint.exp: Update testing of per-command stats.
12532
12533 2014-07-16 Pedro Alves <palves@redhat.com>
12534
12535 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12536 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12537 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12538 (tfile_write_buf): New functions.
12539 (add_memory_block): Rewrite using the above.
12540 (adjust_function_address): New function.
12541 (FUNCTION_ADDRESS): New macro.
12542 (write_basic_trace_file): Remove short_x local, and use
12543 tfile_write_16. Change type of func_addr local to unsigned long
12544 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
12545 here. Cast argument of add_memory_block to char pointer.
12546 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
12547 (main): Remove parameters.
12548 * gdb.trace/tfile.exp: Remove nowarnings.
12549
12550 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
12551
12552 * gdb.base/debug-expr.exp: Test string evaluation with
12553 "debug expression" on.
12554
12555 2014-07-15 Pedro Alves <palves@redhat.com>
12556
12557 * gdb.base/reread.exp: Use clean_restart.
12558
12559 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
12560
12561 * gdb.arch/avr-flash-qualifer.c: New.
12562 * gdb.arch/avr-flash-qualifer.exp: New.
12563
12564 2014-07-14 Pedro Alves <palves@redhat.com>
12565
12566 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12567 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12568
12569 2014-07-14 Pedro Alves <palves@redhat.com>
12570
12571 * gdb.base/double-prompt-target-event-error.c: New file.
12572 * gdb.base/double-prompt-target-event-error.exp: New file.
12573
12574 2014-07-14 Pedro Alves <palves@redhat.com>
12575
12576 PR gdb/17072
12577 * gdb.base/paginate-inferior-exit.c: New file.
12578 * gdb.base/paginate-inferior-exit.exp: New file.
12579
12580 2014-07-14 Pedro Alves <palves@redhat.com>
12581
12582 PR gdb/17072
12583 * gdb.base/paginate-bg-execution.c: New file.
12584 * gdb.base/paginate-bg-execution.exp: New file.
12585
12586 2014-07-14 Pedro Alves <palves@redhat.com>
12587
12588 PR gdb/17072
12589 * gdb.base/paginate-execution-startup.c: New file.
12590 * gdb.base/paginate-execution-startup.exp: New file.
12591 * lib/gdb.exp (pagination_prompt): New global.
12592 (default_gdb_spawn): New procedure, factored out from
12593 default_gdb_spawn.
12594 (default_gdb_start): Adjust to call default_gdb_spawn.
12595 (gdb_spawn): New procedure.
12596
12597 2014-07-14 Pedro Alves <palves@redhat.com>
12598
12599 * lib/gdb.exp (gdb_assert): New procedure.
12600 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12601
12602 2014-07-14 Pedro Alves <palves@redhat.com>
12603
12604 * gdb.base/execution-termios.c: New file.
12605 * gdb.base/execution-termios.exp: New file.
12606
12607 2014-07-14 Tom Tromey <tromey@redhat.com>
12608
12609 * gdb.cp/vla-cxx.cc: New file.
12610 * gdb.cp/vla-cxx.exp: New file.
12611
12612 2014-07-14 Tom Tromey <tromey@redhat.com>
12613
12614 * gdb.reverse/rerun-prec.c: New file.
12615 * gdb.reverse/rerun-prec.exp: New file.
12616
12617 2014-07-12 Maciej W. Rozycki <macro@mips.com>
12618 Maciej W. Rozycki <macro@codesourcery.com>
12619
12620 * lib/gdb-utils.exp: New file.
12621 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12622 inline `gdb_init_command' processing.
12623 (gdb_start_cmd): Likewise.
12624 * lib/mi-support.exp (mi_run_cmd): Likewise.
12625 * README: Document `gdb_init_command' and `gdb_init_commands'.
12626
12627 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12628
12629 Fix false FAIL running under a very long directory name.
12630 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12631 and "set print elements 10000". Twice.
12632
12633 2014-07-11 Yao Qi <yao@codesourcery.com>
12634
12635 * gdb.base/exprs.exp: "set print symbol off".
12636
12637 2014-07-11 Pedro Alves <palves@redhat.com>
12638
12639 * gdb.threads/kill.c: New file.
12640 * gdb.threads/kill.exp: New file.
12641
12642 2014-07-10 Yao Qi <yao@codesourcery.com>
12643
12644 * gdb.trace/tfile.c (write_basic_trace_file)
12645 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12646 address written to trace file.
12647
12648 2014-07-09 Pedro Alves <palves@redhat.com>
12649
12650 * gdb.base/attach-wait-input.exp: New file.
12651 * gdb.base/attach-wait-input.c: New file.
12652
12653 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12654
12655 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12656 setting up test structures.
12657 (main): Call new test function.
12658 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12659 test function, continue into test function and walk test
12660 structures.
12661
12662 2014-07-02 Yao Qi <yao@codesourcery.com>
12663
12664 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12665 'bar_start' at the beginning of functions 'foo' and 'bar'
12666 respectively.
12667 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12668 instead of 'foo' and 'bar'.
12669
12670 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12671
12672 * gdb.btrace/segv.exp: New.
12673 * gdb.btrace/segv.c: New.
12674
12675 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
12676
12677 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12678 instruction.
12679
12680 2014-06-30 Mark Wielaard <mjw@redhat.com>
12681
12682 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12683 vulture, vilify, villar): New volatile array constants.
12684 (vindictive, vegetation): New const volatile array constants.
12685 * gdb.base/volatile.exp: Test volatile and const volatile array
12686 types.
12687
12688 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12689
12690 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12691 target lacks support for awatch, rwatch, or hbreak.
12692
12693 2014-06-27 Yao Qi <yao@codesourcery.com>
12694
12695 * gdb.multi/dummy-frame-restore.exp: New.
12696 * gdb.multi/dummy-frame-restore.c: New.
12697
12698 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12699
12700 * gdb.btrace/gcore.exp: New.
12701
12702 2014-06-23 Pedro Alves <palves@redhat.com>
12703
12704 * gdb.base/watchpoint-reuse-slot.c: New file.
12705 * gdb.base/watchpoint-reuse-slot.exp: New file.
12706
12707 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12708
12709 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12710 progspace's filename in 'info', 'enable' and 'disable' command
12711 tests.
12712
12713 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12714
12715 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12716 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12717 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12718
12719 2014-06-20 Gary Benson <gbenson@redhat.com>
12720
12721 * gdb.arch/i386-avx.exp: Fix include file location.
12722 * gdb.arch/i386-sse.exp: Likewise.
12723
12724 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12725
12726 * gdb.dlang/expression.exp: New file.
12727
12728 2014-06-19 Pedro Alves <palves@redhat.com>
12729
12730 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12731 out from ...
12732 (top level): ... here. Iterate running tests under different
12733 scheduler-locking settings.
12734
12735 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
12736
12737 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12738 to DW_FORM_addr and use non-zero addresses.
12739
12740 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12741
12742 PR gdb/17017
12743 * gdb.python/py-xmethods.cc: Add global function call counters and
12744 increment them in their respective functions. Remove "cout"
12745 statements.
12746 * gdb.python/py-xmethods.exp: Make tests check the global function
12747 call counters instead of depending on inferior IO.
12748
12749 2014-06-18 Don Breazeal <donb@codesourcery.com>
12750
12751 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12752 Deleted procedure.
12753 (explicit_fork_parent_follow): Deleted procedure.
12754 (explicit_fork_child_follow): Deleted procedure.
12755 (test_follow_fork): New procedure.
12756 (do_fork_tests): Replace calls to deleted procedures with
12757 calls to test_follow_fork and reset GDB for subsequent
12758 procedure calls.
12759
12760 2014-06-17 Yao Qi <yao@codesourcery.com>
12761
12762 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12763 CP1252.
12764
12765 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
12766
12767 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12768 Initialize ptr and S explicitly.
12769 (skip_type_update_when_not_use_rtti_test): Likewise.
12770
12771 2014-06-16 Keith Seitz <keiths@redhat.com>
12772
12773 PR mi/15863
12774 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12775 the inferior is started.
12776
12777 2014-06-16 Pedro Alves <palves@redhat.com>
12778
12779 * gdb.base/break-main-file-remove-fail.c: New file.
12780 * gdb.base/break-main-file-remove-fail.exp: New file.
12781 * gdb.base/break-unload-file.exp: Use build_executable instead of
12782 prepare_for_testing.
12783 (test_break): New parameter "initial_load". Handle it.
12784 (top level): Add initial_load cmdline/file axis.
12785
12786 2014-06-12 Tom Tromey <tromey@redhat.com>
12787
12788 * gdb.base/completion.exp: Don't use directory name in test.
12789
12790 2014-06-09 Gary Benson <gbenson@redhat.com>
12791
12792 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12793 separate the always-available ANSI-standard signals from the
12794 signals that require checking.
12795 (main): Likewise.
12796 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12797 Likewise.
12798 (main): Likewise.
12799
12800 2014-06-07 Keith Seitz <keiths@redhat.com>
12801
12802 Revert:
12803 PR c++/16253
12804 * gdb.cp/var-tag.cc: New file.
12805 * gdb.cp/var-tag.exp: New file.
12806 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12807 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12808 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12809 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12810
12811 2014-06-06 Doug Evans <xdje42@gmail.com>
12812
12813 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12814
12815 2014-06-06 Pedro Alves <palves@redhat.com>
12816
12817 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12818 in target debug output instead of looking at RSP packets,
12819 disabling the test on any target that uses hardware stepping.
12820 Update comments.
12821
12822 2014-06-06 Pedro Alves <palves@redhat.com>
12823
12824 * gdb.base/break-unload-file.exp: Fix typo.
12825
12826 2014-06-06 Yao Qi <yao@codesourcery.com>
12827
12828 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12829 from "jit_function" to "^jit_function".
12830
12831 2014-06-06 Yao Qi <yao@codesourcery.com>
12832
12833 * gdb.base/async.c (foo): Add one statement.
12834 * gdb.base/async.exp: Get the next instruction address and
12835 match the output of "nexti" by instruction address. Match
12836 the hex address in the output of "finish".
12837
12838 2014-06-06 Gary Benson <gbenson@redhat.com>
12839
12840 * gdb.base/call-signals.c: Remove preprocessor conditionals
12841 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
12842 SIGSEGV and SIGTERM.
12843 * gdb.base/sigall.c: Likewise.
12844 * gdb.base/unwindonsignal.c: Likewise.
12845 * gdb.reverse/sigall-reverse.c: Likewise.
12846
12847 2014-06-06 Yao Qi <yao@codesourcery.com>
12848
12849 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
12850 readable, skip the test.
12851
12852 2014-06-06 Yao Qi <yao@codesourcery.com>
12853
12854 * gdb.threads/staticthreads.c (thread_function): Move the line
12855 setting breakpoint on forward.
12856 * gdb.threads/staticthreads.exp: Update comments.
12857
12858 2014-06-05 Ludovic Courtès <ludo@gnu.org>
12859
12860 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
12861 "history-append! type error".
12862
12863 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
12864
12865 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
12866 erroneous dprintf expected input.
12867
12868 2014-06-04 Doug Evans <xdje42@gmail.com>
12869
12870 * gdb.guile/scm-generics.exp: Delete.
12871
12872 2014-06-04 Doug Evans <xdje42@gmail.com>
12873
12874 * gdb.guile/scm-breakpoint.exp: Update.
12875 Add tests for breakpoint registration.
12876
12877 2014-06-04 Tom Tromey <tromey@redhat.com>
12878
12879 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
12880 VLA-in-union.
12881 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
12882 inner_vla_struct, vla_union types. Initialize objects of those
12883 types and compute their sizes.
12884
12885 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
12886 Hui Zhu <hui@codesourcery.com>
12887
12888 * gdb.base/fileio.exp: Add test for shell not available as well as
12889 available.
12890 * gdb.base/fileio.c (test_system): Check for shell twice.
12891
12892 2014-06-04 Yao Qi <yao@codesourcery.com>
12893
12894 * gdb.base/auto-connect-native-target.exp: Remove redundant
12895 space from the regexp pattern.
12896
12897 2014-06-04 Yao Qi <yao@codesourcery.com>
12898
12899 * gdb.base/default.exp: Replace "child" with "native" in
12900 regexp pattern.
12901
12902 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
12903
12904 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
12905 * gdb.python/py-xmethods.exp: New tests to test xmethods.
12906 * gdb.python/py-xmethods.py: Python script supporting the
12907 new testcase and tests.
12908
12909 2014-06-03 Joel Brobecker <brobecker@adacore.com>
12910 Pedro Alves <palves@redhat.com>
12911
12912 PR breakpoints/17000
12913 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
12914 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
12915
12916 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
12917
12918 * gdb.base/subst.exp: Add tests to verify partial path matching
12919 output.
12920
12921 2014-06-03 Pedro Alves <palves@redhat.com>
12922
12923 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
12924 target that doesn't use software single-stepping.
12925
12926 2014-06-03 Pedro Alves <palves@redhat.com>
12927
12928 PR breakpoints/17000
12929 * gdb.base/sss-bp-on-user-bp-2.c: New file.
12930 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
12931
12932 2014-06-02 Doug Evans <xdje42@gmail.com>
12933
12934 * gdb.guile/scm-parameter.exp: New file.
12935
12936 2014-06-02 Doug Evans <xdje42@gmail.com>
12937
12938 * gdb.guile/scm-cmd.c: New file.
12939 * gdb.guile/scm-cmd.exp: New file.
12940
12941 2014-06-02 Doug Evans <xdje42@gmail.com>
12942
12943 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
12944 pretty-printer lookup.
12945 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
12946 (make-pp_s-printer): Call it.
12947 (make-pretty-printer-from-dict): New function.
12948 (lookup-pretty-printer-maker-from-dict): New function.
12949 (*pretty-printer*): Simplify.
12950 (make-objfile-pp_s-printer): New function.
12951 (install-objfile-pretty-printers!): New function.
12952 (make-progspace-pp_s-printer): New function.
12953 (install-progspace-pretty-printers!): New function.
12954 * gdb.guile/scm-progspace.c: New file.
12955 * gdb.guile/scm-progspace.exp: New file.
12956
12957 2014-06-02 Pedro Alves <palves@redhat.com>
12958
12959 * gdb.base/dprintf-bp-same-addr.c: New file.
12960 * gdb.base/dprintf-bp-same-addr.exp: New file.
12961
12962 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12963
12964 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
12965 * gdb.arch/powerpc-power.s: Likewise.
12966
12967 2014-06-02 Joel Brobecker <brobecker@adacore.com>
12968
12969 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
12970
12971 2014-06-01 Yao Qi <yao@codesourcery.com>
12972
12973 * gdb.base/watchpoint.exp (test_watch_location): Check null
12974 pointer can be dereferenced. If not, do the test, otherwise
12975 skip it.
12976
12977 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12978
12979 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
12980 results.
12981 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
12982
12983 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12984
12985 * gdb.arch/amd64-invalid-stack-middle.S: New file.
12986 * gdb.arch/amd64-invalid-stack-middle.c: New file.
12987 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
12988 * gdb.arch/amd64-invalid-stack-top.c: New file.
12989 * gdb.arch/amd64-invalid-stack-top.exp: New file.
12990
12991 2014-05-30 Pedro Alves <palves@redhat.com>
12992
12993 PR breakpoints/17000
12994 * gdb.base/sss-bp-on-user-bp.c: New file.
12995 * gdb.base/sss-bp-on-user-bp.exp: New file.
12996
12997 2014-05-30 David Blaikie <dblaikie@gmail.com>
12998
12999 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13000 gnu_inline semantics via attribute.
13001 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13002 source explicitly specifies the required semantics.
13003
13004 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13005
13006 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13007
13008 2014-05-29 Pedro Alves <palves@redhat.com>
13009 Tom Tromey <tromey@redhat.com>
13010
13011 * gdb.base/async-shell.exp: Don't enable target-async.
13012 * gdb.base/async.exp
13013 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13014 parameter. Adjust.
13015 (top level): Don't test with "target-async".
13016 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13017 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13018 * gdb.base/inferior-died.exp: Don't enable target-async.
13019 * gdb.base/interrupt-noterm.exp: Likewise.
13020 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13021 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13022 * gdb.mi/mi-nonstop.exp: Likewise.
13023 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13024 * gdb.mi/mi-nsintrall.exp: Likewise.
13025 * gdb.mi/mi-nsmoribund.exp: Likewise.
13026 * gdb.mi/mi-nsthrexec.exp: Likewise.
13027 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13028 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13029 * gdb.python/py-evsignal.exp: Don't enable target-async.
13030 * gdb.python/py-evthreads.exp: Likewise.
13031 * gdb.python/py-prompt.exp: Likewise.
13032 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13033 * gdb.server/solib-list.exp: Don't enable target-async.
13034 * gdb.threads/thread-specific-bp.exp: Likewise.
13035 * lib/mi-support.exp: Adjust to use mi-async.
13036
13037 2014-05-29 Pedro Alves <palves@redhat.com>
13038
13039 PR gdb/13860
13040 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13041 reason, even in sync mode.
13042
13043 2014-05-29 Pedro Alves <palves@redhat.com>
13044 Hui Zhu <hui@codesourcery.com>
13045
13046 PR PR15693
13047 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13048 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13049 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13050 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13051
13052 2014-05-28 Joel Brobecker <brobecker@adacore.com>
13053
13054 * config/monitor.exp (gdb_target_monitor): Replace use of
13055 "set remotebaud" by "set serial baud".
13056
13057 2014-05-26 Andy Wingo <wingo@igalia.com>
13058
13059 * gdb.guile/scm-breakpoint.exp:
13060 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13061 properties instead of gdb-object-properties.
13062
13063 2014-05-26 Yao Qi <yao@codesourcery.com>
13064
13065 * gdb.server/no-thread-db.exp: Specify source file name
13066 explicitly when setting a breakpoint.
13067
13068 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13069
13070 * gdb.btrace/vdso.c: New.
13071 * gdb.btrace/vdso.exp: New.
13072
13073 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13074
13075 * gdb.base/gcore.exp (capture_command_output): Move ...
13076 * lib/gdb.exp (capture_command_output): ... here.
13077
13078 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13079
13080 * gdb.btrace/data.exp: Test memory access during btrace replay.
13081
13082 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13083
13084 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13085
13086 2014-05-21 Pedro Alves <palves@redhat.com>
13087
13088 PR gdb/13860
13089 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13090 (top level): Test that output related to execution commands is
13091 sent to the console with CLI commands, but not with MI commands.
13092 Test that breakpoint events are always mirrored to the console.
13093 Also expect the new source line to be output after a "next" in
13094 async mode too. Make it a pass/fail test.
13095 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13096 output.
13097 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13098
13099 2014-05-21 Pedro Alves <palves@redhat.com>
13100
13101 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13102 Use them to test variations of "list" after reaching a breakpoint.
13103 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13104 Test "list" with listsize 10 after reaching a breakpoint.
13105 * gdb.python/python.exp (decode_line current location line
13106 number): Adjust expected line number.
13107
13108 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13109
13110 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13111 behavior for $args, pass it directly to "run".
13112
13113 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13114
13115 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13116 30000 to 65536.
13117
13118 2014-05-21 Pedro Alves <palves@redhat.com>
13119
13120 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13121 auto-connect-native-target off".
13122 * gdb.base/auto-connect-native-target.c: New file.
13123 * gdb.base/auto-connect-native-target.exp: New file.
13124
13125 2014-05-21 Pedro Alves <palves@redhat.com>
13126
13127 * gdb.base/default.exp: Test "target native" instead of "target
13128 child".
13129
13130 2014-05-21 Mark Wielaard <mjw@redhat.com>
13131
13132 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13133
13134 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13135
13136 Fix TLS access for -static -pthread.
13137 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13138 <HAVE_TLS> (thread_function, main): Initialize it.
13139 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13140 Add clean_restart.
13141 <$have_tls != "">: Check TLSVAR.
13142
13143 2014-05-21 Pedro Alves <palves@redhat.com>
13144
13145 * gdb.base/dcache-line-read-error.c: New.
13146 * gdb.base/dcache-line-read-error.exp: New.
13147
13148 2014-05-20 Pedro Alves <palves@redhat.com>
13149
13150 * gdb.base/compare-sections.c: New file.
13151 * gdb.base/compare-sections.exp: New file.
13152
13153 2014-05-20 Pedro Alves <palves@redhat.com>
13154
13155 * gdb.base/break-idempotent.c: New file.
13156 * gdb.base/break-idempotent.exp: New file.
13157
13158 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13159
13160 * gdb.btrace/nohist.exp: New.
13161
13162 2014-05-20 Yao Qi <yao@codesourcery.com>
13163
13164 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13165 gdb.reverse directory and gdb_reverse_timeout exists in board
13166 setting.
13167 * README: Document gdb_reverse_timeout.
13168
13169 2014-05-20 Yao Qi <yao@codesourcery.com>
13170
13171 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13172 'test_file_name'. Treat args as a string instead of a list.
13173 (gdb_init): Rename argument 'args' by 'test_file_name'.
13174
13175 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13176
13177 * gdb.arch/powerpc-power.exp: New file.
13178 * gdb.arch/powerpc-power.s: New file.
13179
13180 2014-05-16 Doug Evans <dje@google.com>
13181
13182 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13183 * gdb.base/completion.exp: Check that all expected files exist
13184 before doing file completion.
13185
13186 2014-05-16 Doug Evans <dje@google.com>
13187
13188 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13189 Update.
13190 (do_syscall_tests_without_xml): Update.
13191
13192 2014-05-16 Pedro Alves <palves@redhat.com>
13193
13194 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13195 instead of "unknown output after running".
13196
13197 2014-05-16 Yao Qi <yao@codesourcery.com>
13198
13199 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13200 file1.txt from host at the end.
13201 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13202
13203 2014-05-15 Doug Evans <dje@google.com>
13204
13205 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13206 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13207 loading file. Add test for TU lookup.
13208
13209 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13210
13211 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13212 calling "-exec-arguments" or "set args" before running the
13213 inferior.
13214
13215 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13216
13217 * lib/mi-support.exp (mi_expect_stop): Expect message for
13218 inferiors that exit with non-zero exit code.
13219
13220 2014-05-14 Yao Qi <yao@codesourcery.com>
13221
13222 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13223 match absolute path on remote host.
13224 (test_file_list_exec_source_files): Remove "/" from the
13225 pattern.
13226
13227 2014-05-14 Yao Qi <yao@codesourcery.com>
13228
13229 * boards/local-remote-host-notty.exp (${board}_file): New
13230 proc.
13231
13232 2014-05-07 Kyle McMartin <kyle@redhat.com>
13233
13234 Pushed by Joel Brobecker <brobecker@adacore.com>.
13235 * gdb.arch/aarch64-atomic-inst.c: New file.
13236 * gdb.arch/aarch64-atomic-inst.exp: New file.
13237
13238 2014-05-07 Yao Qi <yao@codesourcery.com>
13239
13240 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13241 in current context" too.
13242
13243 2014-05-05 Keith Seitz <keiths@redhat.com>
13244
13245 * gdb.linespec/ls-dollar.exp: Add test for linespec
13246 file:convenience_variable.
13247
13248 2014-05-05 Yao Qi <yao@codesourcery.com>
13249
13250 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13251 traceframes into tfile and ctf trace files. Read data from
13252 trace file and test collected data.
13253 (gdb_collect_locals_test): Likewise.
13254 (gdb_unavailable_registers_test): Likewise.
13255 (gdb_unavailable_floats): Likewise.
13256 (gdb_collect_globals_test): Likewise.
13257 (top-level): Append "ctf" to trace_file_targets if GDB
13258 supports.
13259
13260 2014-05-05 Yao Qi <yao@codesourcery.com>
13261
13262 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13263 code to ...
13264 (gdb_collect_args_test_1): ... it. New proc.
13265 (gdb_collect_locals_test): Move some code to ...
13266 (gdb_collect_locals_test_1): ... it. New proc.
13267 (gdb_unavailable_registers_test): Move some code to ...
13268 (gdb_unavailable_registers_test_1): ... it. New proc.
13269 (gdb_unavailable_floats): Move some code to ...
13270 (gdb_unavailable_floats_1): ... it. New proc.
13271
13272 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13273
13274 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13275 probes to test for bitness recognition.
13276 * gdb.arch/amd64-stap-optional-prefix.exp
13277 (test_probe_value_without_reg): New procedure.
13278 Add code to test for different kinds of bitness.
13279
13280 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13281
13282 PR breakpoints/16889
13283 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13284 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13285
13286 2014-05-01 Pedro Alves <palves@redhat.com>
13287
13288 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13289 gdb_file_cmd if no file is specified.
13290 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13291 last_loaded_file to set the remote exec-file.
13292
13293 2014-05-01 Pedro Alves <palves@redhat.com>
13294
13295 * boards/local-remote-host.exp: New file.
13296
13297 2014-05-01 Pedro Alves <palves@redhat.com>
13298
13299 * boards/local-remote-host.exp: Rename to ...
13300 * boards/local-remote-host-notty.exp: ... this.
13301
13302 2014-04-28 Joel Brobecker <brobecker@adacore.com>
13303
13304 * gdb.ada/dyn_arrayidx: New testcase.
13305
13306 2014-04-26 Yao Qi <yao@codesourcery.com>
13307
13308 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13309 and compute the length of function main. Save it in
13310 $main_length.
13311 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13312 (top-level): Use gdb_compile to compile objects into
13313 executable and restart GDB. Remove invocation to
13314 prepare_for_testing.
13315
13316 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13317 Pedro Alves <palves@redhat.com>
13318
13319 PR server/16255
13320 * gdb.multi/multi-attach.c: New file.
13321 * gdb.multi/multi-attach.exp: New file.
13322
13323 2014-04-25 Pedro Alves <palves@redhat.com>
13324
13325 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13326 user.
13327 (top level): Test that "set remote conditional-breakpoints-packet
13328 off" works as intended.
13329 * gdb.base/dprintf.exp: Test that "set remote
13330 breakpoint-commands-packet off" works as intended.
13331 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13332 New function.
13333 (top level): Call it.
13334 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13335 remote fast-tracepoints-packet off" works as intended.
13336 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13337 * lib/gdb.exp (gdb_is_target_remote): ... here.
13338
13339 2014-04-24 David Blaikie <dblaikie@gmail.com>
13340
13341 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13342 ensure clang would not discard them.
13343 * gdb.base/gdbvars.c: Ditto.
13344 * gdb.base/memattr.c: Ditto.
13345 * gdb.base/whatis.c: Ditto.
13346 * gdb.python/py-prettyprint.c: Ditto.
13347 * gdb.trace/actions.c: Ditto.
13348 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13349 ensure clang would not discard it.
13350
13351 2014-04-24 David Blaikie <dblaikie@gmail.com>
13352
13353 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13354 clang to emit the full definition of type required by the test
13355 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13356
13357 2014-04-24 David Blaikie <dblaikie@gmail.com>
13358
13359 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13360 coax Clang into emitting the definition of the type.
13361 * gdb.cp/pr10728-x.h (y): Ditto.
13362 * gdb.cp/pr10728-y.cc (y): Ditto.
13363
13364 2014-04-24 David Blaikie <dblaikie@gmail.com>
13365
13366 * gdb.base/label.exp: XFAIL label related tests under Clang.
13367 * gdb.cp/cplabel.exp: Ditto.
13368 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13369 under Clang those using labels.
13370
13371 2014-04-25 Yao Qi <yao@codesourcery.com>
13372
13373 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13374 double_label.
13375 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13376 partial_label and double_label.
13377
13378 2014-04-24 David Blaikie <dblaikie@gmail.com>
13379
13380 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13381
13382 2014-04-24 David Blaikie <dblaikie@gmail.com>
13383
13384 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13385 of the function to work across GCC and Clang.
13386 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13387 pointer types (const void ** const V void **).
13388
13389 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
13390 Walfred Tedeschi <walfred.tedeschi@intel.com>
13391
13392 * Makefile.in (EXECUTABLES): Added i386-avx512.
13393 * gdb.arch/i386-avx512.c: New file.
13394 * gdb.arch/i386-avx512.exp: Likewise.
13395
13396 2014-04-23 Keith Seitz <keiths@redhat.com>
13397
13398 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13399 (mi_make_breakpoint_table): New procedure.
13400 (mi_create_breakpoint): Use mi_make_breakpoint
13401 and return the result.
13402 (mi_make_breakpoint): New procedure.
13403 (mi_build_kv_pairs): New procedure.
13404
13405 * gdb.mi/mi-break.exp: Remove unused globals,
13406 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13407 All callers updated.
13408 * gdb.mi/mi-dprintf.exp: Use variable to track command
13409 number.
13410 Update all callers of mi_create_breakpoint and use
13411 mi_make_breakpoint_table.
13412 Remove any unused global variables.
13413 * gdb.mi/mi-nonstop.exp: Likewise.
13414 * gdb.mi/mi-nsintrall.exp: Likewise.
13415 * gdb.mi/mi-nsmoribund.exp: Likewise.
13416 * gdb.mi/mi-nsthrexec.exp: Likewise.
13417 * gdb.mi/mi-reverse.exp: Likewise.
13418 * gdb.mi/mi-simplerun.exp: Likewise.
13419 * gdb.mi/mi-stepn.exp: Likewise.
13420 * gdb.mi/mi-syn-frame.exp: Likewise.
13421 * gdb.mi/mi-until.exp: Likewise.
13422 * gdb.mi/mi-var-cp.exp: Likewise.
13423 * gdb.mi/mi-var-display.exp: Likewise.
13424 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13425 * gdb.mi/mi2-var-child.exp: Likewise.
13426 * gdb.mi/mi-vla-c99.exp: Likewise.
13427 * lib/mi-support.exp: Likewise.
13428
13429 From Ian Lance Taylor <iant@cygnus.com>:
13430 * lib/gdb.exp (parse_args): New procedure.
13431
13432 2014-04-23 Pedro Alves <palves@redhat.com>
13433
13434 * gdb.base/break-unload-file.c: New file.
13435 * gdb.base/break-unload-file.exp: New file.
13436 * gdb.base/sym-file-lib.c (baz): New function.
13437 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13438 field.
13439 (load): Store the segment's mapped size.
13440 (unload): New function.
13441 (unload_shlib): New function.
13442 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13443 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13444 set a breakpoint at baz, and call it.
13445 * gdb.base/sym-file.exp: New tests for stale breakpoint
13446 instructions.
13447
13448 2014-04-23 Pedro Alves <palves@redhat.com>
13449
13450 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13451 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13452 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13453 * gdb.base/hbreak-unmapped.c: New file.
13454 * gdb.base/hbreak-unmapped.exp: New file.
13455 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13456 * lib/gdb.exp (gdb_is_target_remote): ... here.
13457
13458 2014-04-22 Pedro Alves <palves@redhat.com>
13459
13460 * gdb.base/consecutive-step-over.c: New file.
13461 * gdb.base/consecutive-step-over.exp: New file.
13462
13463 2014-04-22 Pedro Alves <palves@redhat.com>
13464
13465 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13466 instead of send_gdb/gdb_expect.
13467
13468 2014-04-22 Yao Qi <yao@codesourcery.com>
13469
13470 * lib/trace-support.exp (generate_tracefile): New procedure.
13471 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13472 return 0.
13473 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13474 if generate_tracefile returns 1.
13475
13476 2014-04-18 Tom Tromey <palves@redhat.com>
13477 Pedro alves <tromey@redhat.com>
13478
13479 PR backtrace/15558
13480 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13481 with a backtrace limit.
13482 * gdb.python/py-frame-inline.exp: Test running to an inline
13483 function with a backtrace limit, and printing the newest frame.
13484 * gdb.python/py-frame-inline.c (main): Call f.
13485
13486 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13487
13488 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13489
13490 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13491
13492 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13493 Drop prefix from unsupported source file path.
13494
13495 2014-04-17 Yao Qi <yao@codesourcery.com>
13496
13497 * lib/gdb.exp (with_target_charset): New proc.
13498 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13499 with_target_charset.
13500 (test_print_strings): Likewise.
13501 (test_repeat_bytes): Likewise.
13502 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13503 for some tests.
13504
13505 2014-04-16 Keith Seitz <keiths@redhat.com>
13506
13507 PR gdb/15827
13508 * gdb.dwarf2/corrupt.c: New file.
13509 * gdb.dwarf2/corrupt.exp: New file.
13510
13511 2014-04-16 Keith Seitz <keiths@redhat.com>
13512
13513 PR c++/16597
13514 * gdb.cp/namelessclass.cc: New file.
13515 * gdb.cp/namelessclass.exp: New file.
13516 * gdb.cp/namelessclass.S: New file.
13517
13518 2014-04-16 Doug Evans <dje@google.com>
13519
13520 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13521 Add comment.
13522 (gdbserver_default_get_comm_port): New function.
13523 (gdbserver_start): Check if board file provided
13524 "gdbserver,get_comm_port" and use it if so.
13525 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13526 (gdb,socketport): Set to "stdio".
13527 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13528 (stdio_gdbserver_template): Delete.
13529 (${board}_get_remote_address): Update.
13530 (${board}_build_remote_cmd): Delete.
13531 (${board}_get_comm_port): New function.
13532 (${board}_spawn): Update.
13533 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13534 Delete.
13535 (${board}_get_remote_address): Update.
13536 (${board}_get_comm_port): New function.
13537
13538 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
13539
13540 * gdb.base/memattr.exp: Improve regexps to handle memory regions
13541 appearing in any order.
13542
13543 2014-04-15 Doug Evans <dje@google.com>
13544
13545 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13546 uninitialized value of "description".
13547
13548 2014-04-15 Keith Seitz <keiths@redhat.com>
13549
13550 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13551 Remove unused globals.
13552 (test_running_the_program): Likewise.
13553 (test_controlled_execution): Likewise.
13554 (test_controlling_breakpoints): Likewise.
13555 (test_program_termination): Likewise.
13556
13557 2014-04-15 Keith Seitz <keiths@redhat.com>
13558
13559 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13560 unused globals.
13561 (test_rbreak_creation_and_listing): Likewise.
13562 (test_ignore_count): Likewise.
13563 (test_error): Likewise.
13564
13565 2014-04-15 Pedro Alves <palves@redhat.com>
13566
13567 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13568 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13569 sym-file-loader.c.
13570 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13571 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13572 to sym-file-loader.c.
13573 (struct library): Forward declare.
13574 (load_shlib, lookup_function): Change prototypes.
13575 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13576 (translate_offset): Remove declarations.
13577 (get_text_addr): New declaration.
13578 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13579 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13580 sym-file-loader.h.
13581 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13582 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13583 here from sym-file-loader.h.
13584 (struct library): New structure.
13585 (load_shlib, lookup_function): Change prototypes and adjust to
13586 work with a struct library.
13587 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13588 (translate_offset): Make static.
13589 (get_text_addr): New function.
13590 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13591
13592 2014-04-15 Pedro Alves <palves@redhat.com>
13593
13594 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13595
13596 2014-04-15 Pedro Alves <palves@redhat.com>
13597
13598 * gdb.base/sym-file-loader.c: Include <limits.h>.
13599 (SELF_LINK): New define.
13600 (get_origin): New function.
13601 (load_shlib): Use it.
13602 * gdb.base/sym-file.exp: Don't early return if the target is
13603 remote. Use runto_main, and issue fail is that fails. Use
13604 gdb_load_shlibs.
13605 (shlib_name): Delete.
13606 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13607
13608 2014-04-15 Pedro Alves <palves@redhat.com>
13609
13610 * gdb.base/sym-file.exp: Remove regex characters from test
13611 message. Don't refer to breakpoint numbers in test messages.
13612
13613 2014-04-14 Keith Seitz <keiths@redhat.com>
13614
13615 PR c++/16253
13616 * gdb.cp/var-tag.cc: New file.
13617 * gdb.cp/var-tag.exp: New file.
13618 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13619 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13620 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13621 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13622
13623 2014-04-14 Tom Tromey <tromey@redhat.com>
13624
13625 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13626 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13627 type.
13628 * gdb.cp/enum-class.exp: New file.
13629 * gdb.cp/enum-class.cc: New file.
13630
13631 2014-04-14 Tom Tromey <tromey@redhat.com>
13632
13633 * gdb.dwarf2/enum-type.exp: New file.
13634
13635 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13636
13637 * gdb.mi/mi-vla-c99.exp: New file.
13638 * gdb.mi/vla.c: New file.
13639
13640 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13641
13642 * gdb.base/vla-datatypes.c: New file.
13643 * gdb.base/vla-datatypes.exp: New file.
13644
13645 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13646
13647 * gdb.base/vla-ptr.c: New file.
13648 * gdb.base/vla-ptr.exp: New file.
13649
13650 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13651
13652 * gdb.dwarf2/count.exp: New file.
13653
13654 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13655
13656 * gdb.base/vla-sideeffect.c: New file.
13657 * gdb.base/vla-sideeffect.exp: New file.
13658
13659 2014-04-14 David Blaikie <dblaikie@gmail.com>
13660
13661 * gdb.mi/non-stop.c: Add return value for non-void function return
13662 statement.
13663 * gdb.threads/staticthreads.c: Ditto.
13664
13665 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13666 Doug Evans <xdje42@gmail.com>
13667
13668 * gdb.guile/scm-value.c: Improve test case.
13669 * gdb.guile/scm-value.exp: Add new test.
13670
13671 2014-04-11 David Blaikie <dblaikie@gmail.com>
13672
13673 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13674 override Clang's default.
13675
13676 2014-04-11 Joel Brobecker <brobecker@adacore.com>
13677
13678 Revert the following changes (regressions):
13679
13680 * gdb.base/vla-sideeffect.c: New file.
13681 * gdb.base/vla-sideeffect.exp: New file.
13682
13683 * gdb.dwarf2/count.exp: New file.
13684
13685 * gdb.base/vla-multi.c: New file.
13686 * gdb.base/vla-multi.exp: New file.
13687
13688 * gdb.base/vla-ptr.c: New file.
13689 * gdb.base/vla-ptr.exp: New file.
13690
13691 * gdb.base/vla-datatypes.c: New file.
13692 * gdb.base/vla-datatypes.exp: New file.
13693
13694 * gdb.mi/mi-vla-c99.exp: New file.
13695 * gdb.mi/vla.c: New file.
13696
13697 2014-04-11 Keith Seitz <keiths@redhat.com>
13698
13699 PR c++/16675
13700 * gdb.cp/cpsizeof.exp: New file.
13701 * gdb.cp/cpsizeof.cc: New file.
13702
13703 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13704
13705 * gdb.mi/mi-vla-c99.exp: New file.
13706 * gdb.mi/vla.c: New file.
13707
13708 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13709
13710 * gdb.base/vla-datatypes.c: New file.
13711 * gdb.base/vla-datatypes.exp: New file.
13712
13713 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13714
13715 * gdb.base/vla-ptr.c: New file.
13716 * gdb.base/vla-ptr.exp: New file.
13717
13718 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13719
13720 * gdb.base/vla-multi.c: New file.
13721 * gdb.base/vla-multi.exp: New file.
13722
13723 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13724
13725 * gdb.dwarf2/count.exp: New file.
13726
13727 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13728
13729 * gdb.base/vla-sideeffect.c: New file.
13730 * gdb.base/vla-sideeffect.exp: New file.
13731
13732 2014-04-11 Yao Qi <yao@codesourcery.com>
13733
13734 * gdb.base/completion.exp: Check file exists before running tests
13735 on file completion.
13736
13737 2014-04-10 Pedro Alves <palves@redhat.com>
13738
13739 * gdb.base/cond-eval-mode.c: New file.
13740 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13741 prepare_for_testing to build the new file. Check result of
13742 runto_main.
13743 (test_break, test_watch): New procedures.
13744 (top level): Use them.
13745
13746 2014-04-08 Pierre Muller <muller@sourceware.org>
13747
13748 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13749 Ctrl-V use for mingw hosts.
13750
13751 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13752
13753 * gdb.python/py-value.c: Improve test case.
13754 * gdb.python/py-value.exp: Add new test.
13755
13756 2014-04-07 David Blaikie <dblaikie@gmail.com>
13757
13758 * lib/compiler.c: Identify the clang compiler.
13759 * lib/compiler.cc: Ditto.
13760
13761 2014-04-03 Yao Qi <yao@codesourcery.com>
13762
13763 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13764
13765 2014-04-01 Anton Blanchard <anton@samba.org>
13766
13767 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13768 messages unique.
13769
13770 2014-04-01 Anton Blanchard <anton@samba.org>
13771
13772 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13773 prepare_for_testing.
13774
13775 2014-04-01 Anton Blanchard <anton@samba.org>
13776
13777 * gdb.arch/ppc64-atomic-inst.c: Remove.
13778 * gdb.arch/ppc64-atomic-inst.S: New file.
13779 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13780
13781 2014-03-31 Doug Evans <dje@google.com>
13782
13783 * gdb.base/print-symbol-loading-lib.c: New file.
13784 * gdb.base/print-symbol-loading-main.c: New file.
13785 * gdb.base/print-symbol-loading.exp: New file.
13786
13787 2014-03-31 Yao Qi <yao@codesourcery.com>
13788
13789 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13790
13791 2014-03-28 Joel Brobecker <brobecker@adacore.com>
13792
13793 * gdb.ada/mi_dyn_arr: New testcase.
13794
13795 2014-03-27 Doug Evans <dje@google.com>
13796
13797 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13798
13799 2014-03-27 Yao Qi <yao@codesourcery.com>
13800
13801 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13802 if target is nios2-*-*.
13803
13804 2014-03-26 Yao Qi <yao@codesourcery.com>
13805
13806 * lib/gdb.exp (readline_is_used): New proc.
13807 * gdb.base/completion.exp: Move tests on command complete up.
13808 Skip the rest of tests if readline is not used.
13809 * gdb.ada/complete.exp: Skp the test if readline is not
13810 used.
13811 * gdb.base/filesym.exp: Likewise.
13812 * gdb.base/macscp.exp: Likewise.
13813 * gdb.base/readline-ask.exp: Likewise.
13814 * gdb.base/readline.exp: Likewise.
13815 * gdb.python/py-cmd.exp: Likewise.
13816 * gdb.trace/tfile.exp: Likewise.
13817
13818 2014-03-26 Yao Qi <yao@codesourcery.com>
13819
13820 * gdb.base/macscp.exp: Fix code format issues.
13821
13822 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13823
13824 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13825 * gdb.asm/powerpc64le.inc: New file.
13826
13827 2014-03-25 Pedro Alves <palves@redhat.com>
13828 Doug Evans <dje@google.com>
13829
13830 * gdb.base/source-execution.c: New file.
13831 * gdb.base/source-execution.exp: New file.
13832 * gdb.base/source-execution.gdb: New file.
13833
13834 2014-03-24 Doug Evans <dje@google.com>
13835
13836 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13837 using fission.
13838
13839 2014-03-24 Hui Zhu <hui@codesourcery.com>
13840 Pedro Alves <palves@redhat.com>
13841
13842 PR breakpoints/16101
13843 * gdb.base/dprintf.exp: Use unsupported rather than changing the
13844 test pass/fail messages. Detect missing support for dprintf when
13845 breakpoints are actually inserted.
13846 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
13847 breakpoints are actually inserted.
13848 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
13849 fails.
13850
13851 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13852
13853 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
13854
13855 2014-03-22 Doug Evans <xdje42@gmail.com>
13856
13857 * gdb.python/python.exp (python not supported): Verify multi-line
13858 python command issues an error.
13859 * gdb.guile/guile.exp (guile not supported): Verify multi-line
13860 guile command issues an error.
13861
13862 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
13863
13864 * gdb.threads/thread-specific.exp: Handle the lack of usable
13865 $this_breakpoint and $this_thread.
13866
13867 2014-03-21 Hui Zhu <hui@codesourcery.com>
13868
13869 * gdb.base/attach.exp (do_command_attach_tests): New.
13870
13871 2014-03-20 Tom Tromey <tromey@redhat.com>
13872 Pedro Alves <palves@redhat.com>
13873
13874 PR cli/15718
13875 * gdb.base/condbreak-call-false.c: New file.
13876 * gdb.base/condbreak-call-false.exp: New file.
13877
13878 2014-03-20 Pedro Alves <palves@redhat.com>
13879
13880 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
13881 Delete.
13882 (block_signals, unblock_signals): Delete.
13883 (child_function_2, main): Remove references to deleted variable
13884 and functions.
13885
13886 2014-03-20 Pedro Alves <palves@redhat.com>
13887
13888 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
13889 Use pthread_kill to signal thread 2.
13890 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13891 Adjust to make the test send itself a signal rather than using the
13892 host's "kill" command.
13893
13894 2014-03-20 Pedro Alves <palves@redhat.com>
13895
13896 * gdb.threads/multiple-step-overs.c: New file.
13897 * gdb.threads/multiple-step-overs.exp: New file.
13898 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13899 Adjust expected infrun debug output.
13900
13901 2014-03-20 Pedro Alves <palves@redhat.com>
13902
13903 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
13904 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
13905
13906 2014-03-20 Pedro Alves <palves@redhat.com>
13907
13908 PR breakpoints/7143
13909 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
13910 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
13911 of gdb_test_multiple.
13912 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
13913 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
13914
13915 2014-03-20 Pedro Alves <palves@redhat.com>
13916
13917 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
13918 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
13919
13920 2014-03-19 Pedro Alves <palves@redhat.com>
13921
13922 * gdb.base/async.exp: Remove early return.
13923
13924 2014-03-19 Pedro Alves <palves@redhat.com>
13925
13926 * gdb.base/async.exp (step& tests): Pass explicit test messages.
13927
13928 2014-03-19 Pedro Alves <palves@redhat.com>
13929
13930 * gdb.base/async.exp (test_background): Expect \r\n after
13931 "completed." in the fail pattern.
13932
13933 2014-03-19 Pedro Alves <palves@redhat.com>
13934
13935 * gdb.base/async.exp (test_background): New procedure.
13936 Use it for all background execution command tests.
13937
13938 2014-03-19 Pedro Alves <palves@redhat.com>
13939
13940 * gdb.base/async.exp: Use prepare_for_testing.
13941
13942 2014-03-19 Pedro Alves <palves@redhat.com>
13943
13944 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
13945 the same line.
13946
13947 2014-03-19 Pedro Alves <palves@redhat.com>
13948
13949 * gdb.base/async.c (main): Add "jump here" and "until here" line
13950 marker comments.
13951 * gdb.base/async.exp (jump_here): New global.
13952 (jump& test): Use it.
13953 (until_here): New global.
13954 (until& test): Use it.
13955
13956 2014-03-19 Pedro Alves <palves@redhat.com>
13957
13958 * gdb.base/async.exp: Don't frob gdb_protocol.
13959
13960 2014-03-18 Doug Evans <xdje42@gmail.com>
13961
13962 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
13963 Fix spelling of exec-done-display.
13964
13965 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13966
13967 PR gdb/15358
13968 * gdb.base/gdb-sigterm.c: New file.
13969 * gdb.base/gdb-sigterm.exp: New file.
13970
13971 2014-03-18 Pedro Alves <palves@redhat.com>
13972
13973 PR gdb/13860
13974 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
13975 * lib/mi-support.exp (mi_expect_stop): Add special handling for
13976 solib-event.
13977
13978 2014-03-17 Joel Brobecker <brobecker@adacore.com>
13979
13980 * gdb.ada/pckd_arr_ren: New testcase.
13981
13982 2014-03-13 Doug Evans <xdje42@gmail.com>
13983
13984 PR guile/16612
13985 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
13986 collect after discarding symbols.
13987
13988 2014-03-13 Ludovic Courtès <ludo@gnu.org>
13989 Doug Evans <xdje42@gmail.com>
13990
13991 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
13992 to history survives a gc.
13993
13994 2014-03-13 Pedro Alves <palves@redhat.com>
13995
13996 * gdb.base/default.exp: Don't test "target procfs".
13997
13998 2014-03-13 Pedro Alves <palves@redhat.com>
13999
14000 * gdb.base/default.exp: Update "target child" and "target procfs"
14001 tests to not expect "Unix".
14002
14003 2014-03-12 Tom Tromey <tromey@redhat.com>
14004
14005 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14006 New procs. Add target-async tests.
14007 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14008 Add target-async tests.
14009
14010 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14011
14012 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14013 'func_start' and 'func_end' for the beginning and end of the
14014 function code, respectively.
14015 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14016 'func_end' instead of 'func' and 'main'.
14017
14018 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14019
14020 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14021 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14022 generate the debug info assembler source.
14023
14024 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14025
14026 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14027 * gdb.dwarf2/arr-subrange.exp: Likewise.
14028 * gdb.dwarf2/dwz.exp: Likewise.
14029 * gdb.dwarf2/method-ptr.exp: Likewise.
14030 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14031 * gdb.dwarf2/subrange.exp: Likewise.
14032 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14033 * gdb.dwarf2/implptrpiece.exp: Likewise.
14034 * gdb.dwarf2/nostaticblock.exp: Likewise.
14035
14036 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14037
14038 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14039 directory to absolute path name arguments.
14040
14041 2014-03-10 Joel Brobecker <brobecker@adacore.com>
14042
14043 * gdb.ada/tagged_access: New testcase.
14044
14045 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14046
14047 * gdb.btrace/data.exp: Update expected output.
14048
14049 2014-03-06 Yao Qi <yao@codesourcery.com>
14050
14051 * gdb.trace/pr16508.exp: New file.
14052
14053 2014-03-05 Pedro Alves <palves@redhat.com>
14054
14055 PR gdb/16575
14056 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14057 procedure.
14058 (top level): Adjust to use it. Add tests that exercise breakpoint
14059 interaction with the code-cache.
14060
14061 2014-02-26 Ludovic Courtès <ludo@gnu.org>
14062
14063 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14064 test for 'history-append!'.
14065
14066 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14067
14068 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14069 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14070 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14071 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14072 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14073 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14074
14075 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14076
14077 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14078 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14079 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14080
14081 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14082
14083 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14084
14085 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14086
14087 * gdb.dwarf2/arr-stride.c: New file.
14088 * gdb.dwarf2/arr-stride.exp: New file.
14089
14090 2014-02-26 Pedro Alves <palves@redhat.com>
14091
14092 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14093 that won't ever trigger. Make sure that GDB reports the correct
14094 breakpoint that caused the stop.
14095
14096 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14097
14098 PR gdb/16626
14099 * gdb.base/auto-load-script: New file.
14100 * gdb.base/auto-load.c: New file.
14101 * gdb.base/auto-load.exp: New file.
14102
14103 PR gdb/16626
14104 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14105
14106 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14107
14108 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14109 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14110
14111 2014-02-24 Doug Evans <dje@google.com>
14112
14113 * lib/gdb.exp (run_on_host): Log error output if program fails.
14114
14115 2014-02-21 Pedro Alves <palves@redhat.com>
14116
14117 * gdb.threads/step-after-sr-lock.c: Rename to ...
14118 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14119 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14120 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14121 ... this.
14122
14123 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14124
14125 PR tdep/16397
14126 * gdb.arch/amd64-stap-special-operands.exp: New file.
14127 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14128 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14129 * gdb.arch/amd64-stap-triplet.S: Likewise.
14130 * gdb.arch/amd64-stap-triplet.c: Likewise.
14131
14132 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14133
14134 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14135 in .section pseudo-op.
14136
14137 2014-02-20 lin zuojian <manjian2006@gmail.com>
14138 Joel Brobecker <brobecker@adacore.com>
14139 Doug Evans <xdje42@gmail.com>
14140
14141 PR symtab/16581
14142 * gdb.dwarf2/dw2-icycle.S: New file.
14143 * gdb.dwarf2/dw2-icycle.c: New file.
14144 * gdb.dwarf2/dw2-icycle.exp: New file.
14145
14146 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14147
14148 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14149 operations on gdb.Value objects.
14150 * gdb.python/py-value-cc.exp: Add new test to test operations on
14151 gdb.Value objects.
14152
14153 2014-02-18 Doug Evans <dje@google.com>
14154
14155 * Makefile.in (TESTS): New variable.
14156 (expanded_tests, expanded_tests_or_none): New variables
14157 (check-single): Pass $(expanded_tests_or_none) to runtest.
14158 (check-parallel): Only run tests in $(TESTS) if non-empty.
14159 (check/no-matching-tests-found): New rule.
14160 * README: Document TESTS makefile variable.
14161
14162 2014-02-18 Doug Evans <dje@google.com>
14163
14164 * Makefile.in (check-parallel): rm -rf outputs temp.
14165
14166 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14167
14168 Fix "ERROR: no fileid for" in the testsuite.
14169 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14170
14171 2014-02-12 Doug Evans <dje@google.com>
14172
14173 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14174 (MISCELLANEOUS): New variable.
14175 (clean): rm -rf $(MISCELLANEOUS).
14176 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14177 dwp live in the same directory as symlinks, with each symlink pointed
14178 to a differently named file in a different directory.
14179
14180 2014-02-11 Doug Evans <dje@google.com>
14181
14182 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14183 of Tcl file commands.
14184
14185 2014-02-10 Mark Kettenis <kettenis@gnu.org>
14186
14187 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14188 "kill -SIGUSR1 -1".
14189
14190 2014-02-10 Joel Brobecker <brobecker@adacore.com>
14191
14192 * gdb.ada/tick_length_array_enum_idx: New testcase.
14193
14194 2014-02-10 Doug Evans <xdje42@gmail.com>
14195
14196 * configure.ac (AC_OUTPUT): Add gdb.guile.
14197 * configure: Regenerate.
14198 * lib/gdb-guile.exp: New file.
14199 * lib/gdb.exp (get_target_charset): New function.
14200 * gdb.base/help.exp: Update expected output from "apropos apropos".
14201 * gdb.guile/Makefile.in: New file.
14202 * gdb.guile/guile.exp: New file.
14203 * gdb.guile/scm-arch.c: New file.
14204 * gdb.guile/scm-arch.exp: New file.
14205 * gdb.guile/scm-block.c: New file.
14206 * gdb.guile/scm-block.exp: New file.
14207 * gdb.guile/scm-breakpoint.c: New file.
14208 * gdb.guile/scm-breakpoint.exp: New file.
14209 * gdb.guile/scm-disasm.c: New file.
14210 * gdb.guile/scm-disasm.exp: New file.
14211 * gdb.guile/scm-equal.c: New file.
14212 * gdb.guile/scm-equal.exp: New file.
14213 * gdb.guile/scm-error.exp: New file.
14214 * gdb.guile/scm-error.scm: New file.
14215 * gdb.guile/scm-frame-args.c: New file.
14216 * gdb.guile/scm-frame-args.exp: New file.
14217 * gdb.guile/scm-frame-args.scm: New file.
14218 * gdb.guile/scm-frame-inline.c: New file.
14219 * gdb.guile/scm-frame-inline.exp: New file.
14220 * gdb.guile/scm-frame.c: New file.
14221 * gdb.guile/scm-frame.exp: New file.
14222 * gdb.guile/scm-generics.exp: New file.
14223 * gdb.guile/scm-gsmob.exp: New file.
14224 * gdb.guile/scm-iterator.c: New file.
14225 * gdb.guile/scm-iterator.exp: New file.
14226 * gdb.guile/scm-math.c: New file.
14227 * gdb.guile/scm-math.exp: New file.
14228 * gdb.guile/scm-objfile-script-gdb.in: New file.
14229 * gdb.guile/scm-objfile-script.c: New file.
14230 * gdb.guile/scm-objfile-script.exp: New file.
14231 * gdb.guile/scm-objfile.c: New file.
14232 * gdb.guile/scm-objfile.exp: New file.
14233 * gdb.guile/scm-ports.exp: New file.
14234 * gdb.guile/scm-pretty-print.c: New file.
14235 * gdb.guile/scm-pretty-print.exp: New file.
14236 * gdb.guile/scm-pretty-print.scm: New file.
14237 * gdb.guile/scm-section-script.c: New file.
14238 * gdb.guile/scm-section-script.exp: New file.
14239 * gdb.guile/scm-section-script.scm: New file.
14240 * gdb.guile/scm-symbol.c: New file.
14241 * gdb.guile/scm-symbol.exp: New file.
14242 * gdb.guile/scm-symtab-2.c: New file.
14243 * gdb.guile/scm-symtab.c: New file.
14244 * gdb.guile/scm-symtab.exp: New file.
14245 * gdb.guile/scm-type.c: New file.
14246 * gdb.guile/scm-type.exp: New file.
14247 * gdb.guile/scm-value-cc.cc: New file.
14248 * gdb.guile/scm-value-cc.exp: New file.
14249 * gdb.guile/scm-value.c: New file.
14250 * gdb.guile/scm-value.exp: New file.
14251 * gdb.guile/source2.scm: New file.
14252 * gdb.guile/types-module.cc: New file.
14253 * gdb.guile/types-module.exp: New file.
14254
14255 2014-02-10 Yao Qi <yao@codesourcery.com>
14256
14257 PR testsuite/16543
14258 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14259 * configure: Regenerated.
14260 * Makefile.in: New file.
14261
14262 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14263
14264 * gdb.python/py-framefilter.exp: Fix typo.
14265
14266 2014-02-08 Yao Qi <yao@codesourcery.com>
14267
14268 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14269 that no =breakpoint-modified is emitted when breakpoints are
14270 modified through MI commands.
14271
14272 2014-02-07 Pedro Alves <pedro@codesourcery.com>
14273 Pedro Alves <palves@redhat.com>
14274
14275 * gdb.threads/step-after-sr-lock.c: New file.
14276 * gdb.threads/step-after-sr-lock.exp: New file.
14277
14278 2014-02-07 Pedro Alves <palves@redhat.com>
14279
14280 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14281
14282 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14283
14284 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14285 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14286
14287 2014-02-06 Doug Evans <xdje42@gmail.com>
14288
14289 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14290 output.
14291
14292 * gdb.gdb/python-interrupts.exp: New file.
14293
14294 2014-02-05 Yao Qi <yao@codesourcery.com>
14295
14296 * gdb.trace/report.exp (use_collected_data): Test the output
14297 of "info threads" and "info inferiors".
14298
14299 2014-02-05 Yao Qi <yao@codesourcery.com>
14300
14301 Revert this patch:
14302
14303 2013-05-24 Yao Qi <yao@codesourcery.com>
14304
14305 * gdb.trace/tfile.exp: Test inferior and thread.
14306
14307 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14308
14309 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14310 on a function.
14311 * gdb.base/step-bt.c: Call hello via function pointer to make
14312 sure its first instruction is executed on powerpc64le-linux.
14313
14314 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14315
14316 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14317
14318 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14319
14320 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14321 of the test patterns for use on little-endian systems.
14322
14323 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14324
14325 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14326 (decimal_vector): Fix for little-endian.
14327
14328 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14329
14330 * gdb.arch/sparc-sysstep.exp: New file.
14331 * gdb.arch/sparc-sysstep.c: Likewise.
14332
14333 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14334
14335 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14336
14337 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14338
14339 2014-01-23 Tom Tromey <tromey@redhat.com>
14340
14341 * gdb.ada/array_char_idx: New testcase.
14342
14343 2014-01-23 Tom Tromey <tromey@redhat.com>
14344
14345 PR python/16487:
14346 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14347 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14348 classes.
14349
14350 2014-01-23 Tom Tromey <tromey@redhat.com>
14351
14352 PR python/16491:
14353 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14354 string from an inferior frame.
14355 * gdb.python/py-framefilter-mi.exp: Update.
14356
14357 2014-01-22 Doug Evans <dje@google.com>
14358
14359 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14360
14361 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14362
14363 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14364
14365 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14366
14367 * gdb.trace/entry-values.exp: Remove excess space character from
14368 regex patterns. Handle s390 call instruction.
14369
14370 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14371
14372 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14373 define "*_start" label. Make "name" static.
14374 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14375 ${name} by references to ${name}_start.
14376
14377 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14378
14379 * gdb.base/info-macros.exp: Remove "debug" from the compile
14380 options.
14381
14382 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14383
14384 * gdb.dlang/demangle.exp: New file.
14385
14386 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14387
14388 * gdb.dlang/primitive-types.exp: New file.
14389
14390 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14391
14392 * configure.ac: Create gdb.dlang/Makefile.
14393 * configure: Regenerate.
14394 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14395 * gdb.dlang/Makefile.in: New file.
14396 * lib/d-support.exp: New file.
14397 * lib/gdb.exp (skip_d_tests): New proc.
14398
14399 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14400
14401 * gdb.btrace/delta.exp: Check reverse stepi.
14402 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14403 * gdb.btrace/finish.exp: New.
14404 * gdb.btrace/next.exp: New.
14405 * gdb.btrace/nexti.exp: New.
14406 * gdb.btrace/record_goto.c: Add comments.
14407 * gdb.btrace/step.exp: New.
14408 * gdb.btrace/stepi.exp: New.
14409 * gdb.btrace/multi-thread-step.c: New.
14410 * gdb.btrace/multi-thread-step.exp: New.
14411 * gdb.btrace/rn-dl-bind.c: New.
14412 * gdb.btrace/rn-dl-bind.exp: New.
14413 * gdb.btrace/data.c: New.
14414 * gdb.btrace/data.exp: New.
14415 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14416
14417 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14418
14419 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14420 * gdb.btrace/exception.exp: Update.
14421 * gdb.btrace/instruction_history.exp: Update.
14422 * gdb.btrace/record_goto.exp: Update.
14423 * gdb.btrace/tailcall.exp: Update.
14424 * gdb.btrace/unknown_functions.exp: Update.
14425 * gdb.btrace/delta.exp: New.
14426
14427 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14428
14429 * gdb.btrace/record_goto.exp: Add backtrace test.
14430 * gdb.btrace/tailcall.exp: Add backtrace test.
14431
14432 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14433
14434 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14435 * gdb.btrace/record_goto.c: New.
14436 * gdb.btrace/record_goto.exp: New.
14437 * gdb.btrace/x86-record_goto.S: New.
14438
14439 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14440
14441 * gdb.btrace/function_call_history.exp: Update tests.
14442 * gdb.btrace/instruction_history.exp: Update tests.
14443
14444 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14445
14446 * gdb.btrace/function_call_history.exp: Fix expected field
14447 order for "record function-call-history".
14448 Add new tests for "record function-call-history /c".
14449 * gdb.btrace/exception.cc: New.
14450 * gdb.btrace/exception.exp: New.
14451 * gdb.btrace/tailcall.exp: New.
14452 * gdb.btrace/x86-tailcall.S: New.
14453 * gdb.btrace/x86-tailcall.c: New.
14454 * gdb.btrace/unknown_functions.c: New.
14455 * gdb.btrace/unknown_functions.exp: New.
14456 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14457
14458 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14459
14460 * gdb.btrace/instruction_history.exp: Update.
14461 * gdb.btrace/function_call_history.exp: Update.
14462
14463 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14464
14465 * gdb.btrace/function_call_history.exp: Fix expected function
14466 trace.
14467 * gdb.btrace/instruction_history.exp: Initialize traced.
14468 Remove traced_functions.
14469
14470 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14471
14472 * gdb.btrace/function_call_history.exp: Update
14473 * gdb.btrace/instruction_history.exp: Update.
14474
14475 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14476
14477 * gdb.btrace/enable.exp: Update expected text.
14478
14479 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14480
14481 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14482 bytes.
14483
14484 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14485
14486 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14487
14488 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14489
14490 * lib/gdb.exp (supports_process_record): Return true for
14491 arm*-linux*. (supports_reverse): Likewise.
14492
14493 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14494
14495 PR python/15464
14496 PR python/16113
14497 * gdb.python/py-type.c: Enhance test case.
14498 * gdb.python/py-value-cc.cc: Likewise
14499 * gdb.python/py-type.exp: Add new tests.
14500 * gdb.python/py-value-cc.exp: Likewise
14501
14502 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14503 Pedro Alves <palves@redhat.com>
14504
14505 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14506 Make "name" extern.
14507 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14508 references to ${name}_start by references to ${name}.
14509
14510 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14511
14512 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14513
14514 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14515
14516 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14517
14518 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
14519 Pedro Alves <palves@redhat.com>
14520
14521 * gdb.mi/mi-info-os.exp: Connect to the target with
14522 mi_gdb_target_load.
14523
14524 2014-01-08 Pedro Alves <palves@redhat.com>
14525
14526 * gdb.threads/reconnect-signal.c: New file.
14527 * gdb.threads/reconnect-signal.exp: New file.
14528
14529 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14530
14531 * gdb.base/source-dir.exp: New file.
14532
14533 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14534
14535 * gdb.ada/mi_interface: New testcase.
14536
14537 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14538
14539 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14540 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14541 gdb.ada/pp-rec-component/pck.ads: New files.
14542
14543 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14544
14545 * gdb.python/py-pp-integral.c: New file.
14546 * gdb.python/py-pp-integral.py: New file.
14547 * gdb.python/py-pp-integral.exp: New file.
14548
14549 For older changes see ChangeLog-1993-2013.
14550 \f
14551 ;; Local Variables:
14552 ;; mode: change-log
14553 ;; left-margin: 8
14554 ;; fill-column: 74
14555 ;; version-control: never
14556 ;; End:
14557
14558 Copyright 2014-2018 Free Software Foundation, Inc.
14559 Copying and distribution of this file, with or without modification,
14560 are permitted provided the copyright notice and this notice are preserved.
This page took 0.929131 seconds and 5 git commands to generate.