Expect for "@" when doing "complete break ada" on gdb.ada/complete.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2
3 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4 break ada".
5
6 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7
8 PR python/23669
9 * gdb.python/python.exp: Test gdb.execute("show commands").
10
11 2018-09-16 Tom Tromey <tom@tromey.com>
12
13 * gdb.base/new-ui.exp (do_execution_tests): Update.
14 * gdb.base/dbx.exp (test_breakpoints): Update.
15
16 2018-09-14 Alan Hayward <alan.hayward@arm.com>
17
18 * lib/gdb.exp (gdb_simple_compile): Add proc.
19 (is_elf_target): Use gdb_simple_compile.
20 (skip_altivec_tests): Likewise.
21 (skip_vsx_tests): Likewise.
22 (skip_tsx_tests): Likewise.
23 (skip_btrace_tests): Likewise.
24 (skip_btrace_pt_tests): Likewise.
25 (gdb_can_simple_compile): Likewise.
26 (gdb_has_argv0): Likewise.
27 (gdb_target_symbol_prefix): Likewise.
28 (target_supports_scheduler_locking): Likewise.
29
30 2018-09-13 Tom Tromey <tom@tromey.com>
31
32 * Makefile.in (TAGS): Recognize proc_with_prefix and
33 gdb_caching_proc.
34
35 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
36
37 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
38 method.
39
40 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
41
42 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
43 and a few other Inferior properties when the Inferior is no
44 longer valid.
45
46 2018-09-13 Tom Tromey <tom@tromey.com>
47
48 PR rust/23650:
49 * gdb.rust/simple.exp: Add test for enum field access error.
50
51 2018-09-13 Tom Tromey <tom@tromey.com>
52
53 PR rust/23626:
54 * gdb.rust/simple.rs (EmptyEnum): New type.
55 (main): Use it.
56 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
57
58 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
59
60 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
61 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
62 * gdb.python/py-symtab.exp: Update test printing an objfile.
63
64 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
65
66 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
67 object.
68
69 2018-09-12 Alan Hayward <alan.hayward@arm.com>
70
71 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
72 (support_complex_tests): Use gdb_can_simple_compile.
73 (is_ilp32_target): Likewise.
74 (is_lp64_target): Likewise.
75 (is_64_target): Likewise.
76 (is_amd64_regs_target): Likewise.
77 (is_aarch32_target): Likewise.
78 (gdb_int128_helper): Likewise.
79
80 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
81
82 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
83
84 2018-09-10 Jerome Guitton <guitton@adacore.com>
85
86 * gdb.ada/same_component_name: Add test for case of tagged record
87 with variable-length fields.
88
89 2018-09-10 Xavier Roirand <roirand@adacore.com>
90
91 * gdb.ada/access_to_unbounded_array.exp: New testcase.
92 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
93 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
94 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
95
96 2018-09-10 Xavier Roirand <roirand@adacore.com>
97
98 * gdb.ada/mi_string_access.exp: New testcase.
99 * gdb.ada/mi_string_access/bar.adb: New file.
100 * gdb.ada/mi_string_access/pck.adb: New file.
101 * gdb.ada/mi_string_access/pck.asd: New file.
102
103 2018-09-10 Xavier Roirand <roirand@adacore.com>
104
105 * gdb.ada/mi_var_union.exp: New testcase.
106 * gdb.ada/mi_var_union/bar.adb: New file.
107 * gdb.ada/mi_var_union/pck.adb: New file.
108 * gdb.ada/mi_var_union/pck.asd: New file.
109
110 2018-09-08 Tom Tromey <tom@tromey.com>
111
112 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
113
114 2018-09-08 Tom Tromey <tom@tromey.com>
115
116 PR python/16047:
117 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
118 (register_pretty_printers): Register new printer.
119 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
120 test.
121 * gdb.python/py-prettyprint.c (int_type3): New typedef.
122 (an_int_type3): New global.
123
124 2018-09-08 Joel Brobecker <brobecker@adacore.com>
125
126 * gdb.ada/expr_with_funcall: New testcase.
127
128 2018-09-08 Joel Brobecker <brobecker@adacore.com>
129
130 * gdb.ada/packed_array_assign: New testcase.
131
132 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
133
134 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
135 names, and add test prefixes to make test names unique.
136
137 2018-09-05 Tom de Vries <tdevries@suse.de>
138
139 * gdb.dwarf2/varval.exp: Add test.
140
141 2018-09-04 Gary Benson <gbenson@redhat.com>
142
143 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
144 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
145
146 2018-08-31 Tom Tromey <tom@tromey.com>
147
148 * gdb.rust/simple.rs: Rename second variable "v".
149
150 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
151
152 * gdb.base/funcargs.c (use_a): New function.
153 (recurse): Call use_a.
154
155 2018-08-29 Keith Seitz <keiths@redhat.com>
156
157 * gdb.compile/compile-cplus-anonymous.cc: New file.
158 * gdb.compile/compile-cplus-anonymous.exp: New file.
159 * gdb.compile/compile-cplus-array-decay.cc: New file.
160 * gdb.compile/compile-cplus-array-decay.exp: New file.
161 * gdb.compile/compile-cplus-inherit.cc: New file.
162 * gdb.compile/compile-cplus-inherit.exp: New file.
163 * gdb.compile/compile-cplus-member.cc: New file.
164 * gdb.compile/compile-cplus-member.exp: New file.
165 * gdb.compile/compile-cplus-method.cc: New file.
166 * gdb.compile/compile-cplus-method.exp: New file.
167 * gdb.compile/compile-cplus-mod.c: "New" file.
168 * gdb.compile/compile-cplus-namespace.cc: New file.
169 * gdb.compile/compile-cplus-namespace.exp: New file.
170 * gdb.compile/compile-cplus-nested.cc: New file.
171 * gdb.compile/compile-cplus-nested.exp: New file.
172 * gdb.compile/compile-cplus-print.c: "New" file.
173 * gdb.compile/compile-cplus-print.exp: "New" file.
174 * gdb.compile/compile-cplus-virtual.cc: New file.
175 * gdb.compile/compile-cplus-virtual.exp: New file.
176 * gdb.compile/compile-cplus.c: "New" file.
177 * gdb.compile/compile-cplus.exp: "New" file.
178 * lib/compile-support.exp: New file.
179
180 2018-08-16 Gary Benson <gbenson@redhat.com>
181
182 PR gdb/13000:
183 * gdb.base/batch-exit-status.exp: New file.
184 * gdb.base/batch-exit-status.good-commands: Likewise.
185 * gdb.base/batch-exit-status.bad-commands: Likewise.
186
187 2018-08-29 Alan Hayward <alan.hayward@arm.com>
188
189 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
190 (struct struct02): Likewise.
191 (struct struct03): Likewise.
192 (struct struct04): Likewise.
193 (struct struct_01_01): New struct.
194 (struct struct_01_02): Likewise.
195 (struct struct_01_03): Likewise.
196 (struct struct_01_04): Likewise.
197 (struct struct_02_01): Likewise.
198 (struct struct_02_02): Likewise.
199 (struct struct_02_03): Likewise.
200 (struct struct_02_04): Likewise.
201 (struct struct_04_01): Likewise.
202 (struct struct_04_02): Likewise.
203 (struct struct_04_03): Likewise.
204 (struct struct_04_04): Likewise.
205 (struct struct_05_01): Likewise.
206 (struct struct_05_02): Likewise.
207 (struct struct_05_03): Likewise.
208 (struct struct_05_04): Likewise.
209 (cmp_struct01): Remove function.
210 (cmp_struct02): Likewise.
211 (cmp_struct03): Likewise.
212 (cmp_struct04): Likewise.
213 (cmp_struct_01_01): Add Function.
214 (cmp_struct_01_02): Likewise.
215 (cmp_struct_01_03): Likewise.
216 (cmp_struct_01_04): Likewise.
217 (cmp_struct_02_01): Likewise.
218 (cmp_struct_02_02): Likewise.
219 (cmp_struct_02_03): Likewise.
220 (cmp_struct_02_04): Likewise.
221 (cmp_struct_04_01): Likewise.
222 (cmp_struct_04_02): Likewise.
223 (cmp_struct_04_03): Likewise.
224 (cmp_struct_04_04): Likewise.
225 (cmp_struct_05_01): Likewise.
226 (cmp_struct_05_02): Likewise.
227 (cmp_struct_05_03): Likewise.
228 (cmp_struct_05_04): Likewise.
229 (call_all): Add new structs.
230 * gdb.base/infcall-nested-structs.exp: Likewise.
231
232 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
233
234 * gdb.python/py-framefilter-mi.exp: Update regexp to
235 check for "arch" field in frame output.
236
237 2018-08-23 Kevin Buettner <kevinb@redhat.com>
238
239 * gdb.dwarf2/dw2-ranges-func.c: New file.
240 * gdb.dwarf2/dw2-ranges-func.exp: New file.
241
242 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
243
244 * gdb.base/term.exp: Compare terminal settings with values from
245 the inferior.
246 * gdb.base/term.c: Get and set terminal settings.
247
248 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
249
250 * lib/mi-support.exp (mi_expect_stop): Update regexp to
251 accommodate new "arch" field in frame output.
252 * gdb.mi/mi-return.exp: Likewise.
253 * gdb.mi/mi-stack.exp: Likewise.
254 * gdb.mi/mi-syn-frame.exp: Likewise.
255 * gdb.mi/user-selected-context-sync.exp: Likewise.
256
257 2018-08-19 Michael Spang <spang@google.com>
258
259 PR gdb/11786
260 * gdb.base/gcore-tls-pie.c: New file.
261 * gdb.base/gcore-tls-pie.exp: New file.
262
263 2018-08-18 Kevin Buettner <kevinb@redhat.com>
264
265 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
266 * gdb.dwarf2/varval.c: New file.
267 * gdb.dwarf2/varval.exp: New file.
268
269 2018-08-17 Alan Hayward <alan.hayward@arm.com>
270
271 PR gdb/18931
272 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
273
274 2018-08-16 Keith Seitz <keiths@redhat.com>
275
276 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
277 tests expected to pass.
278
279 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
280
281 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
282 -data-disassemble -a.
283 (test_disassembly_bogus_args): Likewise.
284
285 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
286
287 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
288
289 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
290
291 * gdb.base/vla-optimized-out.exp: Add new test.
292
293 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
294
295 * gdb.base/vla-optimized-out-o3.exp: Delete.
296 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
297 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
298 deleted tests.
299
300 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
301
302 PR gdb/18050:
303 * gdb.server/extended-remote-restart.c: New file.
304 * gdb.server/extended-remote-restart.exp: New file.
305
306 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
307
308 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
309 "set variable index = 42".
310
311 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
312
313 * boards/index-cache-gdb.exp: New file.
314 * gdb.dwarf2/index-cache.exp: New file.
315 * gdb.dwarf2/index-cache.c: New file.
316 * gdb.base/maint.exp: Check if we are using the index cache.
317
318 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
319
320 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
321 MAKEFLAGS.
322
323 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
324
325 * dg-extract-results.sh: Move to toplevel contrib.
326 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
327 * Makefile.in (check-parallel-racy): Likewise.
328
329 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
330
331 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
332 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
333 tests if the target supports scheduler locking.
334
335 2018-08-04 Tom de Vries <tdevries@suse.de>
336
337 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
338
339 2018-08-02 Tom Tromey <tom@tromey.com>
340
341 PR symtab/16842.
342 * gdb.cp/temargs.exp: Test "info address" of a template
343 parameter.
344
345 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
346
347 * gdb.python/py-mi-var-info-path-expression.c: New file.
348 * gdb.python/py-mi-var-info-path-expression.py: New file.
349 * gdb.python/py-mi-var-info-path-expression.exp: New file.
350
351 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
352
353 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
354 error after "cannot resolve name" string.
355
356 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
357
358 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
359 started.
360 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
361
362 2018-07-28 Tom de Vries <tdevries@suse.de>
363
364 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
365
366 2018-07-26 Tom de Vries <tdevries@suse.de>
367
368 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
369
370 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
371
372 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
373 is visible.
374
375 2018-07-26 Tom de Vries <tdevries@suse.de>
376
377 PR breakpoints/23366
378 * gdb.base/catch-follow-exec.c: New test.
379 * gdb.base/catch-follow-exec.exp: New file.
380
381 2018-07-25 Tom de Vries <tdevries@suse.de>
382
383 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
384 vla-optimized-out.c.
385
386 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
387
388 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
389 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
390
391 2018-07-20 Tom de Vries <tdevries@suse.de>
392
393 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
394 NOCLONE macro.
395 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
396
397 2018-07-19 Tom de Vries <tdevries@suse.de>
398
399 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
400 regular expression.
401
402 2018-07-18 Tom de Vries <tdevries@suse.de>
403
404 * gdb.base/vla-optimized-out.c: New test.
405 * gdb.base/vla-optimized-out.exp: New file.
406
407 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
408
409 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
410 message "No address associated with hostname" when gdbserver
411 cannot resolve the hostname.
412
413 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
414
415 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
416 Add some test prefixes to make tests unique.
417
418 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
419
420 * gdb.base/frameapply.c: New file.
421 * gdb.base/frameapply.exp: New file.
422
423 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
424
425 * gdb.base/skip.exp: Update expected error message.
426
427 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
428 Jan Kratochvil <jan.kratochvil@redhat.com>
429 Paul Fertser <fercerpav@gmail.com>
430 Tsutomu Seki <sekiriki@gmail.com>
431
432 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
433 parameter.
434 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
435 by default.
436 * boards/native-gdbserver.exp: Likewise.
437 * gdb.server/run-without-local-binary.exp: Improve regexp used
438 for detecting when a remote debugging connection succeeds.
439 * gdb.server/server-connect.exp: New file.
440 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
441 Do not prefix the port number with ":".
442 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
443 support for detecting and using it. Add '$debughost_gdbserver'
444 to the list of arguments used to start gdbserver. Handle case
445 when gdbserver cannot resolve a network name.
446
447 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
448
449 PR c++/23373
450 * gdb.base/ptype-offsets.cc (struct static_member): New
451 struct.
452 (main) <stmember>: New variable.
453 * gdb.base/ptype-offsets.exp: Add test for printing a struct
454 with a static member in it.
455
456 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
457
458 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
459 watchpoints enabled and disabled.
460
461 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
462
463 * gdb.base/examine-backward.exp: Still run tests around address
464 0x0, even if address 0x0 is not readable. Update the pattern for
465 matching address 0x0 in expected output.
466
467 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
468
469 * gdb.base/share-env-with-gdbserver.c (main): Add call to
470 malloc/free.
471
472 2018-07-04 Tom de Vries <tdevries@suse.de>
473
474 * gdb.dwarf2/dw2-error.exp: Update expected error message.
475
476 2018-07-02 Maciej W. Rozycki <macro@mips.com>
477
478 PR tdep/8282
479 * gdb.arch/mips-disassembler-options.exp: New test.
480 * gdb.arch/mips-disassembler-options.s: New test source.
481
482 2018-06-29 Pedro Alves <palves@redhat.com>
483
484 * gdb.threads/names.exp: Adjust expected "info threads" output.
485
486 2018-06-29 Pedro Alves <palves@redhat.com>
487
488 * gdb.opt/inline-break.exp (line number, address): Add "info
489 break" tests.
490
491 2018-06-29 Pedro Alves <palves@redhat.com>
492
493 * gdb.opt/inline-break.c (func1): Add "break here" marker.
494 * gdb.opt/inline-break.exp: Test setting breakpoints by line
495 number and address and running to them.
496
497 2018-06-29 Richard Bunt <richard.bunt@arm.com>
498
499 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
500
501 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
502
503 * lib/compiler.c: Remove executable permission flag.
504
505 2018-06-28 Richard Bunt <richard.bunt@arm.com>
506
507 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
508 code.
509 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
510
511 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
512
513 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
514
515 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
516
517 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
518 address argument is omitted.
519
520 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
521
522 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
523
524 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
525
526 PR gdb/21695
527 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
528 * gdb.base/infoline-reloc-main-from-zero.c: New file.
529
530 2018-06-26 Tom Tromey <tom@tromey.com>
531
532 PR rust/22574:
533 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
534 * gdb.rust/simple.rs (struct SimpleLayout): New.
535
536 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
537
538 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
539 "info registers" output.
540
541 2018-06-21 Richard Bunt <richard.bunt@arm.com>
542
543 * gdb.base/watchpoint-hw-attach.c: New test.
544 * gdb.base/watchpoint-hw-attach.exp: New file.
545
546 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
547
548 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
549 through /bin/sh.
550 * boards/dwarf4-gdb-index.exp: Likewise.
551 * boards/fission-dwp.exp: Likewise.
552
553 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
554
555 * gdb.base/float128.exp: Add comment and improved fail message
556 to the failure case of "print large128" test.
557
558 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
559
560 * configure.ac: Remove AC_PREREQ.
561 * configure: Re-generate.
562
563 2018-06-19 Pedro Alves <palves@redhat.com>
564
565 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
566 (func_extern_caller): New.
567 (main): Call func_extern_caller.
568 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
569 logic change.
570
571 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
572
573 PR gdb/16841
574 * gdb.cp/typedef-base.cc: New file.
575 * gdb.cp/typedef-base.exp: New file.
576
577 2018-06-18 Tom de Vries <tdevries@suse.de>
578
579 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
580
581 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
582 Richard Bunt <Richard.Bunt@arm.com>
583
584 * gdb.threads/attach-slow-waitpid.c: New file.
585 * gdb.threads/attach-slow-waitpid.exp: New file.
586 * gdb.threads/slow-waitpid.c: New file.
587
588 2018-06-14 Pedro Alves <palves@redhat.com>
589
590 * gdb.base/fork-running-state.c: Include <errno.h>.
591 (exit_if_relative_exits): New.
592 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
593 exits.
594 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
595 child exits.
596
597 2018-06-14 Tom de Vries <tdevries@suse.de>
598
599 PR cli/22573
600 * gdb.base/finish-pretty.c: New test.
601 * gdb.base/finish-pretty.exp: New file.
602
603 2018-06-14 Pedro Alves <palves@redhat.com>
604
605 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
606 gdb's expected startup output.
607
608 2018-06-14 Pedro Alves <palves@redhat.com>
609
610 * lib/selftest-support.exp (selftest_setup): Remove inlined
611 function handling.
612
613 2018-06-14 Tom de Vries <tdevries@suse.de>
614
615 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
616 matching of breakpoint printing.
617
618 2018-06-13 Tom de Vries <tdevries@suse.de>
619
620 PR testsuite/23269
621 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
622 (fork_child): ... here, and ...
623 (fork_parent): ... here.
624
625 2018-06-12 Tom de Vries <tdevries@suse.de>
626
627 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
628
629 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
630 Stephen Roberts <stephen.roberts@arm.com>
631
632 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
633 rewrite test to describe action performed, rather than possible
634 failure.
635
636 2018-06-08 Gary Benson <gbenson@redhat.com>
637
638 * gdb.threads/check-libthread-db.exp: New file.
639 * gdb.threads/check-libthread-db.c: Likewise.
640
641 2018-06-05 Tom Tromey <tom@tromey.com>
642
643 * gdb.base/default.exp: Update expected "show version" output.
644
645 2018-06-05 Tom Tromey <tom@tromey.com>
646
647 PR cli/12326:
648 * gdb.cp/static-print-quit.exp: Update.
649 * lib/gdb.exp (pagination_prompt): Update.
650 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
651 * gdb.python/python.exp: Update.
652
653 2018-06-04 Joel Brobecker <brobecker@adacore.com>
654
655 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
656
657 2018-06-01 Joel Brobecker <brobecker@adacore.com>
658
659 * gdb.ada/bp_fun_addr: New testcase.
660
661 2018-06-01 Tom Tromey <tom@tromey.com>
662
663 * gdb.xml/tdesc-regs.exp (load_description): Update expected
664 results.
665 * gdb.dwarf2/method-ptr.exp: Set language to C++.
666 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
667 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
668 * gdb.base/maint.exp (maint_pass_if): Update.
669
670 2018-05-31 Maciej W. Rozycki <macro@mips.com>
671
672 * gdb.base/endian.exp: New test.
673 * gdb.base/endian.c: New test source.
674
675 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
676
677 PR gdb/23203
678 * gdb.base/bt-selected-frame.c: New file.
679 * gdb.base/bt-selected-frame.exp: New file.
680 * lib/gdb.exp (get_current_frame_number): New function.
681
682 2018-05-24 Maciej W. Rozycki <macro@mips.com>
683 Pedro Alves <palves@redhat.com>
684
685 * gdb.threads/tls-core.c: Include <stdlib.h>
686 (thread_proc): Call `abort'.
687 * gdb.threads/tls-core.exp: Generate a core with core_find too.
688 (tls_core_test): New procedure, bits factored out from ...
689 (top level): ... here. Test both native cores and gcore cores.
690
691 2018-05-23 Tom Tromey <tom@tromey.com>
692
693 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
694
695 2018-05-23 Tom Tromey <tom@tromey.com>
696
697 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
698 symfile_complaints.
699 (test_short_complaints): Likewise.
700 (test_empty_complaints): Likewise.
701 (test_initial_complaints): Update.
702
703 2018-05-23 Tom Tromey <tom@tromey.com>
704
705 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
706
707 2018-05-23 Tom Tromey <tom@tromey.com>
708
709 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
710 (test_short_complaints): Update.
711
712 2018-05-22 Pedro Alves <palves@redhat.com>
713
714 * gdb.base/remote.exp: Only gdb_start after compiling the
715 testcase. Issue "disconnect" before testing "set remote" command
716 defaults. Issue clean_restart before running to main.
717
718 2018-05-22 Pedro Alves <palves@redhat.com>
719
720 * gdb.base/remote.exp: Adjust expected output of "show remote
721 memory-write-packet-size". Add tests for "set remote
722 memory-write-packet-size 0" and "set remote
723 memory-write-packet-size fixed/limit".
724
725 2018-05-22 Pedro Alves <palves@redhat.com>
726
727 PR gdb/22973
728 * gdb.base/utf8-identifiers.c: New file.
729 * gdb.base/utf8-identifiers.exp: New file.
730
731 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
732
733 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
734
735 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
736
737 * gdb.arch/powerpc-vsx-gcore.exp: New file.
738
739 2018-05-18 Tom Tromey <tom@tromey.com>
740
741 * gdb.base/ptype-offsets.exp: Update.
742
743 2018-05-17 Keith Seitz <keiths@redhat.com>
744
745 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
746 in expected breakpoint stop locations.
747 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
748 move to proper scope to test variable values.
749 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
750 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
751 New functions.
752 (main): Call not_inline_func3.
753 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
754 inline_func1, inline_func2, and inline_func3. Test that when each
755 breakpoint is hit, GDB properly reports both the stop location
756 and the backtrace. Repeat tests for temporary breakpoints.
757
758 2018-05-15 Maciej W. Rozycki <macro@mips.com>
759
760 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
761 rather then trying to access it in determining whether the PID
762 of `gdbserver' could have been retrieved.
763
764 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
765
766 * gdb.arch/amd64-init-x87-values.S: New file.
767 * gdb.arch/amd64-init-x87-values.exp: New file.
768
769 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
770
771 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
772
773 2018-05-04 Tom Tromey <tom@tromey.com>
774
775 PR python/22730:
776 * gdb.python/python.exp: Test multi-line execute.
777
778 2018-05-04 Tom Tromey <tom@tromey.com>
779
780 PR python/22731:
781 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
782
783 2018-05-04 Tom Tromey <tom@tromey.com>
784
785 PR gdb/11750:
786 * gdb.base/define.exp: Test defining a user command inside a user
787 command.
788 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
789
790 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
791 Pedro Alves <palves@redhat.com>
792
793 PR breakpoints/19806 and support for PR external/20207.
794 * gdb.base/watchpoint-unaligned.c: New file.
795 * gdb.base/watchpoint-unaligned.exp: New file.
796
797 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
798
799 * gdb.base/maint.exp: Make test names unique, use
800 test_prefix_command_help to test 'help maint info', and remove
801 repeated test of 'help maint'.
802
803 2018-05-04 Tom Tromey <tom@tromey.com>
804
805 PR gdb/22619:
806 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
807 behavior.
808
809 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
810
811 * gdb.base/maint.exp: Process output from 'maint print registers'
812 line at a time.
813
814 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
815
816 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
817 timeout.
818
819 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
820
821 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
822 filter pattern.
823
824 2018-05-02 Pedro Alves <palves@redhat.com>
825
826 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
827 to_log_command renames.
828 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
829
830 2018-05-02 Tom Tromey <tom@tromey.com>
831
832 * gdb.python/py-parameter.exp: Set test message.
833
834 2018-05-02 Tom Tromey <tom@tromey.com>
835
836 PR python/20084:
837 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
838 PARAM_ZUINTEGER_UNLIMITED tests.
839
840 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
841
842 PR rust/23124
843 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
844 when casting.
845
846 2018-04-30 Tom Tromey <tom@tromey.com>
847
848 * gdb.python/py-type.exp: Check align attribute.
849 * gdb.python/py-type.c: New "aligncheck" global.
850
851 2018-04-30 Tom Tromey <tom@tromey.com>
852
853 PR exp/17095:
854 * gdb.dwarf2/dw2-align.exp: New file.
855 * gdb.cp/align.exp: New file.
856 * gdb.base/align.exp: New file.
857 * lib/gdb.exp (gdb_int128_helper): New proc.
858 (has_int128_c, has_int128_cxx): New caching procs.
859
860 2018-04-27 Tom Tromey <tom@tromey.com>
861
862 PR rust/22545:
863 * gdb.rust/simple.exp: Add inclusive range tests.
864
865 2018-04-26 Pedro Alves <palves@redhat.com>
866
867 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
868 ifunc breakpoint locations correctly of ifunc breakpoints set
869 while the program resolves the ifunc.
870
871 2018-04-26 Pedro Alves <palves@redhat.com>
872
873 * gdb.base/gnu-ifunc-final.c: New file.
874 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
875 * gdb.base/gnu-ifunc.exp (executable): Delete.
876 (staticexecutable): Adjust.
877 (lib_opts, exec_opts): Delete.
878 (make_binsuffix, build, set-break): New procedures.
879 (misc_tests): New, with tests factored out from the top level.
880 (top level): Test different combinations of ifunc resolver name,
881 resolver with and with debug info, and ifunc target with and
882 without debug info. Wrap static tests with with_target_prefix.
883
884 2018-04-26 Pedro Alves <palves@redhat.com>
885
886 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
887 return type" warnings.
888
889 2018-04-25 Pedro Alves <palves@redhat.com>
890
891 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
892 killed".
893 * gdb.base/kill-after-signal.exp: Likewise.
894 * gdb.threads/kill.exp: Likewise.
895
896 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
897 Sergio Durigan Junior <sergiodj@redhat.com>
898 Pedro Alves <palves@redhat.com>
899
900 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
901 regexps to expect for '[Inferior ... detached]' as well.
902 * gdb.base/attach.exp: Likewise.
903 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
904 "gdb_continue_to_end".
905 (test_catch_syscall_with_wrong_args): Likewise.
906 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
907 ']'. Don't set 'verbose' on.
908 * gdb.base/foll-vfork.exp: Likewise.
909 * gdb.base/fork-print-inferior-events.c: New file.
910 * gdb.base/fork-print-inferior-events.exp: New file.
911 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
912 '[Inferior ... has been killed]' message.
913 * gdb.base/kill-after-signal.exp: Likewise.
914 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
915 detach message.
916 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
917 message.
918 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
919 regexps to expect for '[Inferior ... detached]' as well.
920 * gdb.threads/process-dies-while-detaching.exp: Likewise.
921
922 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
923
924 PR gdb/23104
925 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
926
927 2018-04-19 Richard Bunt <richard.bunt@arm.com>
928
929 * gdb.threads/multiple-successive-infcall.c: New test.
930 * gdb.threads/multiple-successive-infcall.exp: New file.
931
932 2018-04-17 Tom Tromey <tom@tromey.com>
933
934 * gdb.rust/simple.rs (Union): New type.
935 (main): New local "u".
936 * gdb.rust/simple.exp (test_one_slice): Add new test case.
937
938 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
939
940 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
941 number information in output of "whereis" command.
942 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
943
944 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
945
946 * gdb.ada/info_types.exp: Adjust expected output to the line
947 numbers now printed by "info var/func/type".
948 * gdb.base/completion.exp: Likewise.
949 * gdb.base/included.exp: Likewise.
950 * gdb.cp/cp-relocate.exp: Likewise.
951 * gdb.cp/cplusfuncs.exp: Likewise.
952 * gdb.cp/namespace.exp: Likewise.
953 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
954
955 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
956
957 * gdb.btrace/cpu.exp: New.
958
959 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
960
961 * gdb.base/step-indirect-call-thunk.exp: New.
962 * gdb.base/step-indirect-call-thunk.c: New.
963 * gdb.reverse/step-indirect-call-thunk.exp: New.
964 * gdb.reverse/step-indirect-call-thunk.c: New.
965
966 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
967
968 * gdb.base/pie-fork.c: New file.
969 * gdb.base/pie-fork.exp: New file.
970
971 2018-04-11 Tom Tromey <tom@tromey.com>
972
973 * gdb.rust/simple.exp: Add test for ".." struct initializer.
974
975 2018-04-10 Pedro Alves <palves@redhat.com>
976
977 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
978 exits. Instead loop running forever.
979 (fork_parent): Run forever too.
980
981 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
982
983 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
984 mi_continue_to_line.
985 * gdb.mi/mi-stack.c (callee4): Add comment.
986
987 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
988
989 * gdb.mi/mi-stack.exp: Fix indentation.
990
991 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
992
993 PR gdb/22979
994 * gdb.arch/amd64-osabi.exp: New file.
995
996 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
997
998 PR gdb/22980
999 * gdb.base/osabi.exp: New file.
1000
1001 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
1002
1003 * gdb.cp/static-typedef-print.exp: New file.
1004 * gdb.cp/static-typedef-print.cc: New file.
1005
1006 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1007
1008 * gdb.ada/varsize_limit: New testcase.
1009
1010 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1011
1012 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1013
1014 * gdb.ada/notcplusplus: New testcase.
1015
1016 * gdb.base/c-linkage-name.c: New file.
1017 * gdb.base/c-linkage-name.exp: New testcase.
1018
1019 2018-03-26 Tom Tromey <tom@tromey.com>
1020
1021 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1022 * gdb.python/py-framefilter.py (name_error): New global.
1023 (ErrorInName.function): Use name_error.
1024
1025 2018-03-26 Tom Tromey <tom@tromey.com>
1026
1027 PR backtrace/15582:
1028 * gdb.python/py-framefilter.exp: Add "bt hide" test.
1029
1030 2018-03-23 Keith Seitz <keiths@redhat.com>
1031
1032 PR c++/22968
1033 * gdb.cp/subtypes.exp: New file.
1034 * gdb.cp/subtypes.h: New file.
1035 * gdb.cp/subtypes.cc: New file.
1036 * gdb.cp/subtypes-2.cc: New file.
1037
1038 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1039
1040 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1041 (done): Call '_exit' not 'exit' to avoid atexit handlers.
1042 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1043 -nostartfiles when compiling the test. Confirm that all registers
1044 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1045
1046 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1047
1048 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1049 option, syntax was wrong anyway.
1050 * gdb.arch/arm-disp-step.exp: Likewise.
1051 * gdb.arch/sparc64-regs.exp: Likewise.
1052 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1053 option, syntax was wrong anyway, switch to use
1054 prepare_for_testing.
1055 * gdb.arch/i386-disp-step.exp: Likewise.
1056
1057 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
1058
1059 * gdb.ada/exec_changed.exp: Replace "target_info exists
1060 use_gdb_stub" by "use_gdb_stub".
1061 * gdb.ada/start.exp: Likewise.
1062 * gdb.base/async-shell.exp: Likewise.
1063 * gdb.base/attach-pie-misread.exp: Likewise.
1064 * gdb.base/attach-wait-input.exp: Likewise.
1065 * gdb.base/break-entry.exp: Likewise.
1066 * gdb.base/break-interp.exp: Likewise.
1067 * gdb.base/dprintf-detach.exp: Likewise.
1068 * gdb.base/nostdlib.exp: Likewise.
1069 * gdb.base/solib-nodir.exp: Likewise.
1070 * gdb.base/statistics.exp: Likewise.
1071 * gdb.base/testenv.exp: Likewise.
1072 * gdb.mi/mi-exec-run.exp: Likewise.
1073 * gdb.mi/mi-start.exp: Likewise.
1074 * gdb.multi/dummy-frame-restore.exp: Likewise.
1075 * gdb.multi/multi-arch-exec.exp: Likewise.
1076 * gdb.multi/multi-arch.exp: Likewise.
1077 * gdb.multi/tids.exp: Likewise.
1078 * gdb.multi/watchpoint-multi.exp: Likewise.
1079 * gdb.python/py-events.exp: Likewise.
1080 * gdb.threads/attach-into-signal.exp: Likewise.
1081 * gdb.threads/attach-stopped.exp: Likewise.
1082 * gdb.threads/threadapply.exp: Likewise.
1083 * lib/selftest-support.exp: Likewise.
1084
1085 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1086
1087 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1088
1089 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1090
1091 * gdb.perf/template-breakpoints.cc: New file.
1092 * gdb.perf/template-breakpoints.exp: New file.
1093 * gdb.perf/template-breakpoints.py: New file.
1094
1095 2018-03-19 Tom Tromey <tom@tromey.com>
1096
1097 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1098 y0.
1099 * gdb.rust/simple.exp: Test bare identifier form of struct
1100 initializer.
1101
1102 2018-03-19 Tom Tromey <tom@tromey.com>
1103
1104 * gdb.gdb/observer.exp: Remove.
1105
1106 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1107
1108 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1109 "qualified" option when setting breakpoints.
1110 * gdb.trace/backtrace.exp: Likewise.
1111 * gdb.trace/circ.exp: Likewise.
1112 * gdb.trace/collection.exp: Likewise.
1113 * gdb.trace/disconnected-tracing.exp: Likewise.
1114 * gdb.trace/ftrace-lock.exp: Likewise.
1115 * gdb.trace/ftrace.exp: Likewise.
1116 * gdb.trace/infotrace.exp: Likewise.
1117 * gdb.trace/packetlen.exp: Likewise.
1118 * gdb.trace/passc-dyn.exp: Likewise.
1119 * gdb.trace/qtro.exp: Likewise.
1120 * gdb.trace/read-memory.exp: Likewise.
1121 * gdb.trace/report.exp: Likewise.
1122 * gdb.trace/signal.exp: Likewise.
1123 * gdb.trace/status-stop.exp: Likewise.
1124 * gdb.trace/strace.exp: Likewise.
1125 * gdb.trace/tfind.exp: Likewise.
1126 * gdb.trace/trace-break.exp: Likewise.
1127 * gdb.trace/trace-condition.exp: Likewise.
1128 * gdb.trace/trace-mt.exp: Likewise.
1129 * gdb.trace/tstatus.exp: Likewise.
1130 * gdb.trace/tsv.exp: Likewise.
1131 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1132 * gdb.trace/unavailable.exp: Likewise.
1133 * gdb.trace/while-dyn.exp: Likewise.
1134
1135 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1136
1137 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1138 that libinproctrace is copied to the target.
1139
1140 2018-03-14 Tom Tromey <tom@tromey.com>
1141
1142 PR cli/14977:
1143 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1144 a null pointer.
1145 * gdb.base/wchar.exp: Likewise.
1146
1147 2018-03-14 Tom Tromey <tom@tromey.com>
1148
1149 PR cli/19918:
1150 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1151 flag.
1152
1153 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1154
1155 PR gdb/22841
1156 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1157 "target" to remote_exec.
1158
1159 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1160
1161 PR gdb/22841
1162 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1163 ${board}_upload): Remove.
1164
1165 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1166
1167 * gdb.cp/watch-cp.cc: New test.
1168 * gdb.cp/watch-cp.exp: New file.
1169
1170 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1171
1172 * gdb.base/infcall-nested-structs.exp: New file.
1173 * gdb.base/infcall-nested-structs.c: New file.
1174 * gdb.base/float.exp: Add riscv support.
1175
1176 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1177
1178 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1179 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1180
1181 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1182
1183 * gdb.server/abspath.exp: New file.
1184 * lib/gdb.exp (with_cwd): New procedure.
1185
1186 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1187
1188 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1189 use it.
1190 (gdb_is_target_remote_prompt): New proc.
1191 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1192 (gdb_is_target_native): Pass prompt parameter to
1193 gdb_is_target_1.
1194
1195 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1196
1197 * gdb.base/load-command.c: New file.
1198 * gdb.base/load-command.exp: New file.
1199 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1200 (gdb_is_target_1): ...this, and generalize for other targets
1201 than just remote.
1202 (gdb_is_target_remote): Use gdb_is_target_1.
1203 (gdb_is_target_native): use gdb_is_target_1.
1204
1205 2018-02-26 Tom Tromey <tom@tromey.com>
1206
1207 PR python/16497:
1208 * gdb.python/py-framefilter.exp: Update test.
1209
1210 2018-02-26 Tom Tromey <tom@tromey.com>
1211
1212 * gdb.dwarf2/variant.c: New file.
1213 * gdb.dwarf2/variant.exp: New file.
1214
1215 2018-02-26 Tom Tromey <tom@tromey.com>
1216
1217 * gdb.rust/simple.exp: Accept more possible results in enum test.
1218
1219 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1220
1221 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1222 parentheses.
1223
1224 2018-02-23 Maciej W. Rozycki <macro@mips.com>
1225
1226 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1227 name of a variable: $actual_linejj -> $actual_line.
1228
1229 2018-02-21 John Baldwin <jhb@FreeBSD.org>
1230
1231 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1232
1233 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1234
1235 * gdb.btrace/buffer-size.exp: Do not force BTS.
1236
1237 2018-02-14 Pedro Alves <palves@redhat.com>
1238
1239 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1240 getting a "Quit".
1241
1242 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1243
1244 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1245 Fix test name.
1246
1247 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1248
1249 * gdb.cp/m-static.exp: Check type of optimized out static
1250 member.
1251
1252 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1253
1254 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1255 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1256
1257 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1258 Leszek Swirski <leszeks@google.com>
1259
1260 * gdb.python/py-prettyprint.c
1261 (struct to_string_returns_value_inner,
1262 struct to_string_returns_value_wrapper): New.
1263 (main): Add tsrvw variable.
1264 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1265 ToStringReturnsValueWrapper): New classes.
1266 (register_pretty_printers): Register new pretty-printers.
1267 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1268 recursive pretty printer.
1269 * gdb.python/py-mi.exp: Likewise.
1270
1271 2018-02-01 Leszek Swirski <leszeks@google.com>
1272
1273 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1274 functions with the same name as an include file are parsed
1275 correctly.
1276
1277 2018-02-01 Yao Qi <yao.qi@linaro.org>
1278
1279 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1280 "\[^\r\n\]*".
1281
1282 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1283
1284 * gdb.arch/powerpc-prologue-frame.s: New file.
1285 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1286 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1287
1288 2018-01-31 Joel Brobecker <brobecker@adacore.com>
1289
1290 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1291
1292 2018-01-30 Pedro Alves <palves@redhat.com>
1293
1294 PR gdb/13211
1295 * gdb.base/interrupt-daemon.c: New.
1296 * gdb.base/interrupt-daemon.exp: New.
1297 * gdb.multi/multi-term-settings.c: New.
1298 * gdb.multi/multi-term-settings.exp: New.
1299
1300 2018-01-30 Joel Brobecker <brobecker@adacore.com>
1301
1302 * gdb.base/break.exp: Save the location where the breakpoint
1303 on break.c:47 was actually inserted when debugging the version
1304 compiled at -O2 and use it in the expected output of the "info
1305 break" test performed soon after.
1306
1307 2018-01-22 Pedro Alves <palves@redhat.com>
1308 Sergio Durigan Junior <sergiodj@redhat.com>
1309
1310 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1311 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1312
1313 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1314
1315 * gdb.base/break-include.c, gdb.base/break-include.inc,
1316 gdb.base/break-include.exp: New files.
1317 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1318 line number now being the actual line number where the breakpoint
1319 was inserted.
1320 * gdb.mi/mi-break.exp: Likewise.
1321 * gdb.mi/mi-reverse.exp: Likewise.
1322 * gdb.mi/mi-simplerun.exp: Ditto.
1323
1324 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1325
1326 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1327 varobj.
1328 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1329
1330 2018-01-21 Don Breazeal <donb@codesourcery.com>
1331 Andrew Burgess <andrew.burgess@embecosm.com>
1332
1333 * gdb.mi/basics.c: Add new global.
1334 * gdb.mi/mi-frame-regs.exp: New file.
1335 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1336 case.
1337
1338 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1339
1340 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1341 non-parameter, and on an unknown symbol.
1342
1343 2018-01-19 Tom Tromey <tom@tromey.com>
1344
1345 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1346 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1347
1348 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1349
1350 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1351 setrlimit and chdir to int.
1352
1353 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1354
1355 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1356 function.
1357 (my_tend): Likewise.
1358 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1359 rationale of avoiding FP- and vector instructions.
1360
1361 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1362
1363 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1364 "info reg" with "\[ \t\]*".
1365 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1366 "\[ \t\]+".
1367 * gdb.arch/s390-multiarch.exp: Ditto.
1368 * gdb.base/pc-fp.exp: Ditto.
1369 * gdb.reverse/i386-precsave.exp: Ditto.
1370 * gdb.reverse/i386-reverse.exp: Ditto.
1371 * gdb.reverse/i387-env-reverse.exp: Ditto.
1372 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1373
1374 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1375
1376 * lib/gdb.exp (gdb_compile): Re-enable use of
1377 universal_compile_options for languages other than Rust.
1378
1379 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1380
1381 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1382
1383 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1384
1385 PR gdb/16577
1386 * gdb.base/solib-vanish.exp: New.
1387 * gdb.base/solib-vanish-main.c: New.
1388 * gdb.base/solib-vanish-lib1.c: New.
1389 * gdb.base/solib-vanish-lib2.c: New.
1390
1391 2018-01-17 Yao Qi <yao.qi@linaro.org>
1392
1393 * gdb.compile/compile.exp: Match the address printed for
1394 frame in the output of command "bt".
1395
1396 2018-01-15 Tom Tromey <tom@tromey.com>
1397
1398 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1399 compute sp_reg.
1400
1401 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1402
1403 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1404 to prepare.
1405 (prepare): Return 0 on error, 1 on success.
1406
1407 2018-01-12 Pedro Alves <palves@redhat.com>
1408
1409 * gdb.base/continue-after-aborted-step-over.c: New.
1410 * gdb.base/continue-after-aborted-step-over.exp: New.
1411
1412 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1413
1414 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1415 options when not creating an executable.
1416
1417 2018-01-11 Pedro Alves <palves@redhat.com>
1418
1419 PR remote/22597
1420 * gdb.server/stop-reply-no-thread.c: New file.
1421 * gdb.server/stop-reply-no-thread.exp: New file.
1422
1423 2018-01-10 Pedro Alves <palves@redhat.com>
1424
1425 PR gdb/22670
1426 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1427 functions too. Test setting breakpoints and printing C functions
1428 with no debug info too.
1429 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1430
1431 2018-01-10 Pedro Alves <palves@redhat.com>
1432
1433 PR gdb/22670
1434 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1435 a fail.
1436
1437 2018-01-10 Pedro Alves <palves@redhat.com>
1438
1439 PR gdb/22670
1440 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1441
1442 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1443
1444 * gdb.server/unittest.exp: Match the output in non-development
1445 mode.
1446
1447 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1448
1449 * gdb.gdb/unittest.exp: Match output in non-development mode.
1450
1451 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1452
1453 * gdb.ada/access_tagged_param.exp: Relax expected output
1454 for value of "ObjL" in "continue" to pck.inspect breakpoint
1455 test.
1456
1457 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1458
1459 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1460 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1461
1462 2018-01-05 Pedro Alves <palves@redhat.com>
1463
1464 PR gdb/18653
1465 * gdb.base/libsegfault.exp: New.
1466
1467 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1468
1469 PR gdb/22670
1470 * gdb.ada/access_tagged_param.exp: New file.
1471 * gdb.ada/access_tagged_param/foo.adb: New file.
1472
1473 2018-01-05 Pedro Alves <palves@redhat.com>
1474
1475 PR gdb/22670
1476 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1477 exercise lower case too, and to exercise both full matching and
1478 wild matching.
1479
1480 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1481
1482 * gdb.ada/rename_subscript_param: New testcase.
1483
1484 2018-01-05 Jerome Guitton <guitton@adacore.com>
1485
1486 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1487
1488 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1489
1490 * gdb.ada/convvar_comp: New testcase.
1491
1492 2018-01-05 Xavier Roirand <roirand@adacore.com>
1493
1494 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1495 (My_Table): New global variable.
1496 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1497
1498 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1499
1500 PR gdb/22670
1501 * gdb.ada/maint_with_ada: New testcase.
1502
1503 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1504
1505 PR gdb/22670
1506 * gdb.ada/bp_c_mixed_case: New testcase.
1507
1508 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1509
1510 PR gdb/22670
1511 * gdb.ada/complete.exp: Add "complete break ada" test.
1512
1513 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1514
1515 PR gdb/22670
1516 * gdb.ada/info_addr_mixed_case: New testcase.
1517
1518 2018-01-03 Xavier Roirand <roirand@adacore.com>
1519
1520 * gdb.ada/excep_handle.exp: New testcase.
1521 * gdb.ada/excep_handle/foo.adb: New file.
1522 * gdb.ada/excep_handle/pck.ads: New file.
1523
1524 2018-01-03 Joel Brobecker <brobecker@adacore.com>
1525
1526 * gdb.base/step-line.c: Add extra empty line in copyright header.
1527 * gdb.base/step-line.inp: Likewise.
1528
1529 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1530
1531 * gdb.ada/dyn_stride.exp: Add slice test.
1532
1533 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1534
1535 * gdb.ada/dyn_stride: New testcase.
1536
1537 2017-12-27 Stafford Horne <shorne@gmail.com>
1538
1539 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1540 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1541
1542 2017-12-27 Stafford Horne <shorne@gmail.com>
1543
1544 * gdb.base/reggroups.c: New file.
1545 * gdb.base/reggroups.exp: New file.
1546
1547 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1548
1549 * gdb.dwarf2/ada-valprint-error.c: New file.
1550 * gdb.dwarf2/ada-valprint-error.exp: New file.
1551
1552 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1553
1554 * gdb.ada/assign_arr: New testcase.
1555
1556 2017-12-18 Xavier Roirand <roirand@adacore.com>
1557
1558 * gdb.ada/funcall_ptr: New testcase.
1559
1560 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1561
1562 PR cli/16224
1563 * gdb.base/ptype-offsets.cc: New file.
1564 * gdb.base/ptype-offsets.exp: New file.
1565
1566 2017-12-15 Yao Qi <yao.qi@linaro.org>
1567
1568 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1569 if XML is disabled.
1570
1571 2017-12-15 Xavier Roirand <roirand@adacore.com>
1572
1573 * gdb.ada/same_component_name: New testcase.
1574
1575 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1576
1577 * gdb.ada/str_binop_equal: New testcase.
1578
1579 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1580
1581 * gdb.ada/task_switch_in_core: New testcase.
1582
1583 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
1584
1585 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1586 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1587 call test_bkpt_qualified.
1588 (test_bkpt_qualified): New proc.
1589
1590 2017-12-13 Pedro Alves <palves@redhat.com>
1591
1592 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1593 Tighten regexp by matching with an anchor.
1594
1595 2017-12-13 Pedro Alves <palves@redhat.com>
1596
1597 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1598 ("expression with namespace"): New set of tests.
1599 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1600 (Nested::Test_NS::qux): New.
1601 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1602 defaults to 'start_quote_char' and 'end_quote_char' parameters.
1603
1604 2017-12-13 Joel Brobecker <brobecker@adacore.com>
1605
1606 * gdb.base/server-del-break.c: New file.
1607 * gdb.base/server-del-break.exp: New file.
1608
1609 2017-12-12 Stafford Horne <shorne@gmail.com>
1610
1611 * gdb.xml/tdesc-regs.exp: Add or1k support.
1612
1613 2017-12-12 Stafford Horne <shorne@gmail.com>
1614
1615 * gdb.base/bp-permanent.c: Define nop of or1k.
1616
1617 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1618
1619 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1620 output with components being reordered.
1621
1622 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1623
1624 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1625 output with components being reordered.
1626
1627 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1628 Pedro Alves <palves@redhat.com>
1629
1630 * gdb.base/maint.exp (check for .gdb_index): Check also for
1631 .debug_names.
1632 * gdb.dlang/watch-loc.c (.debug_aranges): New.
1633 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1634 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1635 (.gdb_index used after symbol reloading): Support also .debug_names.
1636 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
1637
1638 2017-12-08 Yao Qi <yao.qi@linaro.org>
1639
1640 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1641 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
1642
1643 2017-12-08 Yao Qi <yao.qi@linaro.org>
1644
1645 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1646 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1647
1648 2017-12-08 Yao Qi <yao.qi@linaro.org>
1649
1650 * gdb.arch/aarch64-tagged-pointer.c: New file.
1651 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1652
1653 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1654
1655 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1656 "int".
1657
1658 2017-12-07 Keith Seitz <keiths@redhat.com>
1659
1660 PR breakpoints/22569
1661 * gdb.linespec/ls-errs.exp: Change expected result of "break
1662 -source this file has spaces.c -line 3".
1663 Check that an explicit source file followed by whitespace is
1664 identified as an invalid explicit location.
1665
1666 2017-12-07 Keith Seitz <keiths@redhat.com>
1667
1668 * gdb.cp/nested-types.cc: New file.
1669 * gdb.cp/nested-types.exp: New file.
1670 * lib/cp-support.exp: Load data-structures.exp library.
1671 (debug_cp_test_ptype_class): New global.
1672 (cp_ptype_class_verbose, next_line): New procedures.
1673 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1674 Add and document new return value.
1675 Switch the list of lines to a queue.
1676 Add support for new `type' key for nested type definitions.
1677 Add debugging/troubleshooting messages.
1678 * lib/data-structures.exp: New file.
1679
1680 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1681
1682 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1683 with proc_with_prefix, don't use with_test_prefix.
1684
1685 2017-12-07 Tom Tromey <tom@tromey.com>
1686
1687 * gdb.base/break.exp: Add test for empty "commands".
1688
1689 2017-12-07 Yao Qi <yao.qi@linaro.org>
1690
1691 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1692 malloc and catch syscall.
1693
1694 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1695
1696 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1697 tests for explicit locations.
1698
1699 2017-12-06 Pedro Alves <palves@redhat.com>
1700
1701 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1702 force-disabling XML descriptions.
1703
1704 2017-12-04 Pedro Alves <palves@redhat.com>
1705
1706 PR gdb/22499
1707 * gdb.arch/amd64-disp-step-avx.S: New file.
1708 * gdb.arch/amd64-disp-step-avx.exp: New file.
1709
1710 2017-12-03 Pedro Alves <palves@redhat.com>
1711
1712 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1713 and <string.h>.
1714 (parent_function): Print distinct messages when waitpid fails, or
1715 the child exits with a signal, or the child exits for an unhandled
1716 reason.
1717 * gdb.threads/process-dies-while-detaching.exp
1718 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1719 it. Wait for both inferior output and GDB's prompt. Use an
1720 indirect spawn id list.
1721 (do_detach): New parameter 'child_exit'. Use it to compute
1722 expected inferior output.
1723 (test_detach, test_detach_watch, test_detach_killed_outside):
1724 Adjust to pass down the expected child exit kind.
1725
1726 2017-12-01 Joel Brobecker <brobecker@adacore.com>
1727 Sergio Durigan Junior <sergiodj@redhat.com>
1728 Pedro Alves <palves@redhat.com>
1729
1730 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1731
1732 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1733
1734 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1735 to 'symbol-file' and 'add-symbol-file' can be
1736 position-independent.
1737
1738 2017-12-01 Yao Qi <yao.qi@linaro.org>
1739
1740 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1741 the URL in copyright header.
1742 * gdb.arch/aarch64-fp.exp: Likewise.
1743 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1744 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1745 * gdb.base/expand-psymtabs.exp: Likewise.
1746 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1747 * gdb.fortran/common-block.exp: Likewise.
1748 * gdb.fortran/common-block.f90: Likewise.
1749 * gdb.fortran/logical.exp: Likewise.
1750 * gdb.fortran/vla-datatypes.f90: Likewise.
1751 * gdb.fortran/vla-sub.f90: Likewise.
1752
1753 2017-11-30 Joel Brobecker <brobecker@adacore.com>
1754
1755 * gdb.ada/repeat_dyn: New testcase.
1756
1757 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1758
1759 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1760 Update for changed thread numbering.
1761 * gdb.cell/bt.exp: Update for changed GDB output.
1762
1763 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1764
1765 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1766 setting isremote by hand.
1767 * boards/dwarf4-gdb-index.exp: Likewise.
1768 * boards/fission.exp: Likewise.
1769 * boards/stabs.exp: Likewise.
1770
1771 2017-11-30 Pedro Alves <palves@redhat.com>
1772
1773 * gdb.linespec/cpls-ops.exp
1774 (check_explicit_skips_function_argument): Extract the underlying
1775 type of size_t instead of hardcoding it.
1776
1777 2017-11-29 Pedro Alves <palves@redhat.com>
1778
1779 PR c++/19436
1780 * gdb.linespec/cpls-abi-tag.cc: New file.
1781 * gdb.linespec/cpls-abi-tag.exp: New file.
1782
1783 2017-11-29 Pedro Alves <palves@redhat.com>
1784
1785 * gdb.base/langs.exp: Use -qualified.
1786 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1787 it.
1788 * gdb.cp/namespace.exp: Use -qualified.
1789 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1790 (overload-3, template-overload, template-ret-type, const-overload)
1791 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1792 procedures.
1793 (test_driver): Call them.
1794 * gdb.cp/save-bp-qualified.cc: New.
1795 * gdb.cp/save-bp-qualified.exp: New.
1796 * gdb.linespec/explicit.exp: Test -qualified.
1797 * lib/completion-support.exp (completion::explicit_opts_list): Add
1798 "-qualified".
1799 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1800
1801 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1802
1803 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1804
1805 2017-11-29 Tom Tromey <tom@tromey.com>
1806
1807 * gdb.base/relocate.exp: Update invalid argument test.
1808 Add new tests for invalid arguments.
1809
1810 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1811
1812 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1813 Return 0 as a long.
1814 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1815
1816 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1817
1818 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1819 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1820 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1821 func ().
1822 * gdb.cp/shadow.cc (B.func): Return 0.
1823
1824 2017-11-27 Joel Brobecker <brobecker@adacore.com>
1825
1826 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1827 expected output in gdb_expect call to allow the exception
1828 message to be present as well. Fix syntax confusion to avoid
1829 TCL thinking that exception_name is an array.
1830
1831 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1832
1833 * gdb.arch/spu-info.c: Include <unistd.h>.
1834 (do_signal_test): Fix broken calls to write.
1835 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1836 Fix checks for empty mailboxes. Update signal tests for corrected
1837 do_signal_test routine. Allow nonzero event status.
1838 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1839 * gdb.cell/arch.exp: Use standard_output_file.
1840 * gdb.cell/break.exp: Likewise.
1841 * gdb.cell/bt.exp: Likewise.
1842 * gdb.cell/core.exp: Likewise.
1843 * gdb.cell/dwarfaddr.exp: Likewise.
1844 * gdb.cell/ea-cache.exp: Likewise.
1845 * gdb.cell/ea-standalone.exp: Likewise.
1846 * gdb.cell/f-regs.exp: Likewise.
1847 * gdb.cell/fork.exp: Likewise.
1848 * gdb.cell/gcore.exp: Likewise.
1849 * gdb.cell/mem-access.exp: Likewise.
1850 * gdb.cell/ptype.exp: Likewise.
1851 * gdb.cell/registers.exp: Likewise.
1852 * gdb.cell/sizeof.exp: Likewise.
1853 * gdb.cell/solib-symbol.exp: Likewise.
1854 * gdb.cell/solib.exp: Likewise.
1855
1856 2017-11-25 Pedro Alves <palves@redhat.com>
1857
1858 * gdb.base/complete-empty.exp: New file.
1859 * gdb.base/completion.exp: Adjust.
1860
1861 2017-11-25 Pedro Alves <palves@redhat.com>
1862
1863 * gdb.linespec/cpls-ops.cc: New file.
1864 * gdb.linespec/cpls-ops.exp: New file.
1865 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1866 factored out from ...
1867 (test_complete_prefix_range): ... this.
1868
1869 2017-11-24 Pedro Alves <palves@redhat.com>
1870
1871 * gdb.linespec/cpcompletion.exp: New file.
1872 * gdb.linespec/cpls-hyphen.cc: New file.
1873 * gdb.linespec/cpls.cc: New file.
1874 * gdb.linespec/cpls2.cc: New file.
1875 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1876 test to use test_gdb_complete_unique. Add label completion,
1877 keyword completion and explicit location completion tests.
1878 * lib/completion-support.exp: New file.
1879
1880 2017-11-24 Joel Brobecker <brobecker@adacore.com>
1881
1882 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1883 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1884 when hitting an exception catchpoint.
1885
1886 2017-11-22 Yao Qi <yao.qi@linaro.org>
1887
1888 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1889
1890 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1891
1892 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1893 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1894 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1895
1896 2017-11-22 Yao Qi <yao.qi@linaro.org>
1897
1898 * gdb.base/info-os.exp: Pass pthreads.
1899 * gdb.multi/multi-attach.exp: Likewise.
1900
1901 2017-11-22 Yao Qi <yao.qi@linaro.org>
1902
1903 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1904 compiler.
1905
1906 2017-11-22 Yao Qi <yao.qi@linaro.org>
1907
1908 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1909 * gdb.base/break-interp.exp: Likewise.
1910 * gdb.base/jit-attach-pie.exp: Likewise.
1911
1912 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1913
1914 * gdb.base/float128.c (large128): New variable.
1915 * gdb.base/float128.exp: Add test to print largest __float128 value.
1916
1917 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1918
1919 * gdb.arch/vsx-regs.exp: Update register content checks.
1920
1921 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1922
1923 * gdb.arch/ppc-longdouble.exp: New file.
1924 * gdb.arch/ppc-longdouble.c: Likewise.
1925
1926 2017-11-21 Pedro Alves <palves@redhat.com>
1927
1928 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
1929
1930 2017-11-20 Pedro Alves <palves@redhat.com>
1931
1932 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
1933 (long_double_typedef): New typedefs.
1934 Use DEF on double and long double.
1935 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
1936 cases.
1937 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
1938 and 'long_double_ptr_same_size' locals. Use them to decide
1939 whether cast from array/function to float is valid/invalid.
1940
1941 2017-11-17 Tom Tromey <tom@tromey.com>
1942
1943 * gdb.rust/traits.rs: New file.
1944 * gdb.rust/traits.exp: New file.
1945
1946 2017-11-17 Joel Brobecker <brobecker@adacore.com>
1947
1948 * gdb.ada/minsyms: New testcase.
1949
1950 2017-11-16 Pedro Alves <palves@redhat.com>
1951
1952 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
1953 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
1954
1955 2017-11-16 Pedro Alves <palves@redhat.com>
1956
1957 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
1958 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
1959
1960 2017-11-16 Pedro Alves <palves@redhat.com>
1961
1962 * gdb.server/reconnect-ctrl-c.c: New file.
1963 * gdb.server/reconnect-ctrl-c.exp: New file.
1964
1965 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
1966
1967 * gdb.python/py-rbreak.exp: New file.
1968 * gdb.python/py-rbreak.c: New file.
1969 * gdb.python/py-rbreak-func2.c: New file.
1970
1971 2017-11-16 Pedro Alves <palves@redhat.com>
1972
1973 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
1974 pattern.
1975 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
1976 GDB.
1977
1978 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
1979
1980 * gdb.tui/completionn.exp (test_tab_completion): Add space in
1981 regex.
1982
1983 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
1984
1985 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
1986 test names.
1987
1988 2017-11-09 Pedro Alves <palves@redhat.com>
1989
1990 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
1991 factored out from ...
1992 (top level): ... here, and adjusted to avoid expecting beyond the
1993 prompt in a single gdb_test_multiple.
1994
1995 2017-11-09 Pedro Alves <palves@redhat.com>
1996
1997 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
1998 output.
1999 * gdb.server/ext-attach.exp ("kill" test): Likewise.
2000 * gdb.server/ext-restart.exp ("kill" test): Likewise.
2001 * gdb.server/ext-run.exp ("kill" test): Likewise.
2002 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2003
2004 2017-11-09 Pedro Alves <palves@redhat.com>
2005
2006 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2007 match till end of line.
2008
2009 2017-11-09 Pedro Alves <palves@redhat.com>
2010
2011 * gdb.base/memattr.exp: Tighten regexes to match the end line.
2012
2013 2017-11-09 Pedro Alves <palves@redhat.com>
2014
2015 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2016 New procedures, factored out from ...
2017 (top level): ... here, and adjusted to avoid expecting beyond the
2018 prompt in one go.
2019
2020 2017-11-09 Pedro Alves <palves@redhat.com>
2021
2022 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2023 output. Fix '?' match.
2024
2025 2017-11-08 Joel Brobecker <brobecker@adacore.com>
2026
2027 * gdb.ada/scoped_watch: New testcase.
2028 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2029 which is actually correct.
2030 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2031 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2032
2033 2017-11-08 Pedro Alves <palves@redhat.com>
2034
2035 * gdb.gdb/complaints.exp (test_initial_complaints)
2036 (test_serial_complaints, test_short_complaints): Call
2037 complaint_internal instead of complaint.
2038
2039 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
2040
2041 * gdb.threads/tls-core.c: New file.
2042 * gdb.threads/tls-core.exp: Likewise.
2043
2044 2017-11-08 Pedro Alves <palves@redhat.com>
2045
2046 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2047 (p Exported_Capitalized): New test.
2048 (p exported_capitalized): New test.
2049
2050 2017-11-07 Pedro Alves <palves@redhat.com>
2051
2052 * gdb.cp/ena-dis-br-range.exp: Add more tests.
2053
2054 2017-11-07 Pedro Alves <palves@redhat.com>
2055
2056 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2057 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2058 (disable_invalid, disable_inverted, disable_negative): New
2059 procedures.
2060 ("bad numbers"): New set of tests.
2061
2062 2017-11-07 Pedro Alves <palves@redhat.com>
2063
2064 * gdb.cp/ena-dis-br-range.exp: Add tests.
2065
2066 2017-11-07 Pedro Alves <palves@redhat.com>
2067
2068 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2069
2070 2017-11-07 Xavier Roirand <roirand@adacore.com>
2071 Pedro Alves <palves@redhat.com>
2072
2073 * gdb.base/ena-dis-br.exp: Add reference to
2074 gdb.cp/ena-dis-br-range.exp.
2075 * gdb.cp/ena-dis-br-range.exp: New file.
2076 * gdb.cp/ena-dis-br-range.cc: New file.
2077
2078 2017-11-06 Pedro Alves <palves@redhat.com>
2079
2080 * gdb.base/attach-non-pgrp-leader.c: New.
2081 * gdb.base/attach-non-pgrp-leader.exp: New.
2082
2083 2017-11-06 Pedro Alves <palves@redhat.com>
2084
2085 * configure.ac: No longer check for termio.h and sgtty.h.
2086 * configure: Regenerate.
2087 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2088 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2089 Remove termio and sgtty code.
2090
2091 2017-11-03 Yao Qi <yao.qi@linaro.org>
2092
2093 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2094 in GDB is disabled.
2095
2096 2017-11-03 Yao Qi <yao.qi@linaro.org>
2097
2098 * gdb.python/py-thrhandle.exp: Skip it if python is not
2099 enabled.
2100
2101 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2102
2103 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2104 as a breakpoint command.
2105
2106 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2107
2108 PR python/21213
2109 * gdb.python/py-infthread.exp: Test calling
2110 InferiorThread.inferior () multiple times in a row.
2111
2112 2017-10-27 Keith Seitz <keiths@redhat.com>
2113
2114 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2115 Test "info break" for every inlined function breakpoint.
2116
2117 2017-10-27 Yao Qi <yao.qi@linaro.org>
2118
2119 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2120
2121 2017-10-26 Patrick Frants <osscontribute@gmail.com>
2122
2123 * gdb.cp/classes.exp (test_static_members): Test printing
2124 Outer::instance.
2125 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2126 (Inner::instance, Outer::instance): New.
2127
2128 2017-10-24 Pedro Alves <palves@redhat.com>
2129
2130 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2131 extra console" test in two stages.
2132
2133 2017-10-24 Pedro Alves <palves@redhat.com>
2134
2135 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2136
2137 2017-10-24 Pedro Alves <palves@redhat.com>
2138
2139 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2140 loop.
2141
2142 2017-10-24 Pedro Alves <palves@redhat.com>
2143
2144 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2145 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2146
2147 2017-10-24 Pedro Alves <palves@redhat.com>
2148
2149 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2150 parameter and handle it. Don't output read value in test name.
2151
2152 2017-10-24 Pedro Alves <palves@redhat.com>
2153
2154 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2155 custom test name.
2156
2157 2017-10-24 Pedro Alves <palves@redhat.com>
2158
2159 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2160 include the unstable output directory name in the test's name.
2161 (initial_setup_simple) <'set args'>: Use custom test name.
2162
2163 2017-10-24 Pedro Alves <palves@redhat.com>
2164
2165 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2166 with explicit test name.
2167
2168 2017-10-20 Pedro Alves <palves@redhat.com>
2169
2170 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2171 'wait -i'. Use gdb_assert and remote_close.
2172
2173 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2174
2175 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2176 number from variable rather than hard-coded.
2177
2178 2017-10-19 Pedro Alves <palves@redhat.com>
2179
2180 * gdb.base/long-inferior-output.c: New file.
2181 * gdb.base/long-inferior-output.exp: New file.
2182
2183 2017-11-18 Keith Seitz <keiths@redhat.com>
2184
2185 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2186 method.
2187 (main): Call it.
2188 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2189 Add additional user-defined conversion operator tests.
2190
2191 2017-10-17 Pedro Alves <palves@redhat.com>
2192
2193 * boards/native-stdio-gdbserver.exp: Load "local-board".
2194
2195 2017-10-17 Pedro Alves <palves@redhat.com>
2196
2197 * gdb.base/quit-live.c: New file.
2198 * gdb.base/quit-live.exp: New file.
2199
2200 2017-10-16 Keith Seitz <keiths@redhat.com>
2201
2202 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2203 (class_with_protected_typedef, class_with_private_typedef)
2204 (struct_with_public_typedef, struct_with_protected_typedef)
2205 (struct_with_private_typedef): New classes/structs.
2206 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2207 typedefs and access specifiers.
2208
2209 2017-10-16 Pedro Alves <palves@redhat.com>
2210 Simon Marchi <simon.marchi@polymtl.ca>
2211
2212 * README (Local vs Remote vs Native): New section.
2213 * boards/local-board.exp: New file, with bits factored out from
2214 ...
2215 * boards/native-extended-gdbserver.exp: ... here. Load
2216 "local-board".
2217 * boards/native-gdbserver.exp: Load "local-board".
2218 (${board}_spawn, ${board}_exec): Delete.
2219 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2220 ...
2221 * boards/stdio-gdbserver-base.exp: ... this new file.
2222 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2223 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2224 procedure.
2225 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2226 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2227 stdio_gdbserver_command.
2228 (${board}_get_remote_address, ${board}_get_comm_port)
2229 (${board}_download, ${board}_upload): Delete.
2230 (get_target_remote_pipe_cmd): New.
2231
2232 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2233
2234 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2235 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2236 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2237 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2238 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2239 remove with_test_prefix.
2240
2241 2017-10-13 Pedro Alves <palves@redhat.com>
2242
2243 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2244 * gdb.base/annota1.exp: Use it instead of is_remote.
2245 * gdb.base/annota3.exp: Use it instead of is_remote.
2246 * gdb.cp/annota2.exp: Use it instead of is_remote.
2247 * gdb.cp/annota3.exp: Use it instead of is_remote.
2248 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2249
2250 2017-10-13 Pedro Alves <palves@redhat.com>
2251
2252 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2253 (test_num_test_vars, run_and_count_vars, find_env)
2254 (test_set_unset_env, test_inherit_env_var): New procedures.
2255 (top level): Use them.
2256
2257 2017-10-13 Pedro Alves <palves@redhat.com>
2258
2259 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2260 also skip on stub-like targets.
2261
2262 2017-10-13 Pedro Alves <palves@redhat.com>
2263
2264 PR gdb/22293
2265 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2266 (top level): Move some tests to ...
2267 (test_not_found): ... this new procedure.
2268 (top level): Call it.
2269
2270 2017-10-13 Pedro Alves <palves@redhat.com>
2271
2272 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2273 expect different "info terminal" output if testing with a
2274 non-native target.
2275
2276 2017-10-13 Pedro Alves <palves@redhat.com>
2277 Simon Marchi <simon.marchi@polymtl.ca>
2278
2279 PR python/12966
2280 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2281
2282 2017-10-13 Pedro Alves <palves@redhat.com>
2283
2284 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2285 already.
2286
2287 2017-10-13 Pedro Alves <palves@redhat.com>
2288
2289 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2290 is_remote.
2291
2292 2017-10-13 Pedro Alves <palves@redhat.com>
2293
2294 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2295 is_remote.
2296
2297 2017-10-13 Pedro Alves <palves@redhat.com>
2298
2299 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2300 is set.
2301 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2302 instead of is_remote.
2303
2304 2017-10-13 Pedro Alves <palves@redhat.com>
2305
2306 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2307 (top level): Add comment.
2308
2309 2017-10-13 Pedro Alves <palves@redhat.com>
2310
2311 * gdb.base/remote.exp (top level): Fix comment typo and add
2312 missing return.
2313
2314 2017-10-13 Pedro Alves <palves@redhat.com>
2315 Simon Marchi <simon.marchi@polymtl.ca>
2316
2317 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2318 calls and add comments. Skip test if use_gdb_stub is set.
2319 (top level): Use "set cwd" command instead of "cd" command.
2320
2321 2017-10-13 Pedro Alves <palves@redhat.com>
2322
2323 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2324 is_remote target check.
2325
2326 2017-10-13 Pedro Alves <palves@redhat.com>
2327
2328 * gdb.base/scope.exp: Use build_executable + clean_restart +
2329 gdb_file_cmd instead of prepare_for_testing and no longer skip
2330 "before run" tests on is_remote target boards. Update comments.
2331 * boards/native-extended-gdbserver.exp
2332 (extended_gdbserver_load_last_file): New, factored out from ...
2333 (gdb_load): ... this. Move further below and add comment.
2334 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2335
2336 2017-10-12 Pedro Alves <palves@redhat.com>
2337
2338 * gdb.base/attach.exp: Remove references to gdb64.
2339 * gdb.base/dbx.exp: Remove references to gdb64.
2340
2341 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2342 Pedro Alves <palves@redhat.com>
2343
2344 * gdb.base/label.exp: Remove is_remote target check.
2345
2346 2017-10-12 Pedro Alves <palves@redhat.com>
2347
2348 * gdb.base/auvx.exp (coredir): Update comment.
2349 (top level) <core_works>: Use "set cwd" command instead of "cd"
2350 command.
2351
2352 2017-10-12 Pedro Alves <palves@redhat.com>
2353 Simon Marchi <simon.marchi@polymtl.ca>
2354
2355 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2356 target boards.
2357
2358 2017-10-12 Pedro Alves <palves@redhat.com>
2359 Simon Marchi <simon.marchi@polymtl.ca>
2360
2361 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2362 Instead skip if there's any gdb_protocol set.
2363
2364 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2365 Pedro Alves <palves@redhat.com>
2366
2367 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2368
2369 2017-10-12 Pedro Alves <palves@redhat.com>
2370 Simon Marchi <simon.marchi@polymtl.ca>
2371
2372 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2373 instead of on dejagnu remote boards.
2374
2375 2017-10-12 Pedro Alves <palves@redhat.com>
2376 Simon Marchi <simon.marchi@polymtl.ca>
2377
2378 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2379 checks. Use build_executable + clean_restart instead of
2380 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2381 of enabling non-stop after starting gdb.
2382
2383 2017-10-12 Pedro Alves <palves@redhat.com>
2384
2385 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2386 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2387 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2388 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2389
2390 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2391
2392 * gdb.arch/arc-tdesc-cpu.exp: New file.
2393 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2394
2395 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2396
2397 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2398
2399 2017-10-10 Pedro Alves <palves@redhat.com>
2400
2401 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2402 expect CLI output.
2403
2404 2017-10-10 Pedro Alves <palves@redhat.com>
2405
2406 * lib/selftest-support.exp (selftest_setup): Update for
2407 captured_command_loop's prototype change.
2408
2409 2017-10-09 Pedro Alves <palves@redhat.com>
2410
2411 Test both arch1=>arch2 and arch2=>arch1.
2412
2413 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2414 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2415 factored out to...
2416 (append_arch1_options, append_arch2_options, append_arch_options)
2417 (build_executables): New procedures.
2418 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2419 local.
2420 (top level): Add new 'first_arch' testing axis.
2421
2422 2017-10-09 Pedro Alves <palves@redhat.com>
2423
2424 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2425 (barrier): New.
2426 (thread_start, all_started): New functions.
2427 (main): Spawn new thread and wait until it is scheduled.
2428 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2429 option.
2430 (do_test): Add 'selected_thread' parameter. Run to all_started
2431 instead of main. Explicitly set the breakpoint at main. Switch
2432 to the SELECTED_THREAD thread.
2433 (top level): Test handling the exec event with either the main
2434 thread or the second thread selected.
2435
2436 2017-10-09 Pedro Alves <palves@redhat.com>
2437
2438 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2439 logic. Move STOP marker after the value checks.
2440 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2441 regexp.
2442
2443 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2444
2445 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2446
2447 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2448
2449 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2450 integer-to-dfp conversion.
2451 * gdb.base/dfp-test.exp: Likewise.
2452
2453 2017-10-04 Pedro Alves <palves@redhat.com>
2454
2455 * gdb.multi/hangout.c: Include <unistd.h>.
2456 (hangout_loop): New function.
2457 (main): Call alarm. Call hangout_loop in a loop.
2458 * gdb.multi/hello.c: Include <unistd.h>.
2459 (hello_loop): New function.
2460 (main): Call alarm. Call hangout_loop in a loop.
2461 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2462 inferior with the other selected.
2463
2464 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2465
2466 * gdb.mi/list-thread-groups-available.exp: New file.
2467 * gdb.mi/list-thread-groups-available.c: New file.
2468
2469 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2470
2471 * gdb.base/set-cwd.exp: Make it available on
2472 native-extended-gdbserver.
2473
2474 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2475
2476 * gdb.base/set-cwd.c: New file.
2477 * gdb.base/set-cwd.exp: Likewise.
2478
2479 2017-10-02 Tom Tromey <tom@tromey.com>
2480
2481 PR rust/22236:
2482 * gdb.rust/simple.rs (main): New variable "fslice".
2483 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2484
2485 2017-10-02 Tom Tromey <tom@tromey.com>
2486
2487 * gdb.rust/simple.exp: Test ptype of a slice.
2488
2489 2017-10-02 Tom Tromey <tom@tromey.com>
2490
2491 * gdb.rust/simple.exp: Test index of slice.
2492
2493 2017-09-27 Tom Tromey <tom@tromey.com>
2494
2495 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2496
2497 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2498 Pedro Alves <palves@redhat.com>
2499
2500 * gdb.base/compare-sections.exp (get value of read-only section): Read
2501 as unsigned value.
2502 (corrupt read-only section): Likewise and don't set written if patching
2503 failed.
2504
2505 2017-09-21 Kevin Buettner <kevinb@redhat.com>
2506
2507 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2508 files.
2509
2510 2017-09-20 Pedro Alves <palves@redhat.com>
2511
2512 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2513 symbol names in gdb's output.
2514 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2515
2516 2017-09-20 Pedro Alves <palves@redhat.com>
2517
2518 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2519 Rename to ...
2520 (test_list_ambiguous_symbol): ... this and add a symbol name
2521 parameter. Adjust.
2522 (test_list_ambiguous_function): Reimplement on top of
2523 test_list_ambiguous_symbol and also test listing ambiguous
2524 variables.
2525 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2526 (ambiguous_fun): ... this.
2527 (ambiguous_var): New.
2528 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2529 (ambiguous_fun): ... this.
2530 (ambiguous_var): New.
2531
2532 2017-09-19 John Baldwin <jhb@FreeBSD.org>
2533
2534 * gdb.base/starti.c: New file.
2535 * gdb.base/starti.exp: New file.
2536 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2537
2538 2017-09-14 Pedro Alves <palves@redhat.com>
2539
2540 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2541 (top level): Use it instead of runto.
2542
2543 2017-09-11 Tom Tromey <tom@tromey.com>
2544
2545 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2546
2547 2017-09-11 Tom Tromey <tom@tromey.com>
2548
2549 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2550 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2551
2552 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2553
2554 * gdb.fortran/printing-types.exp: New file.
2555 * gdb.fortran/printing-types.exp: New file.
2556
2557 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2558
2559 * gdb.fortran/vla-ptype.exp: Fix typos.
2560 * gdb.fortran/vla-value.exp: Same.
2561
2562 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2563
2564 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2565 * gdb.mi/mi-var-child-f.exp: Likewise.
2566 * gdb.mi/mi-vla-fortran.exp: Likewise.
2567
2568 2017-09-08 Frank Penczek <frank.penczek@intel.com>
2569 Christoph Weinmann <christoph.t.weinmann@intel.com>
2570 Bernhard Heckel <bernhard.heckel@intel.com>
2571
2572 * gdb.fortran/ptr-indentation.f90: New file.
2573 * gdb.fortran/ptr-indentation.exp: New file.
2574
2575 2017-09-05 Tom Tromey <tom@tromey.com>
2576
2577 PR gdb/22010:
2578 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2579
2580 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2581
2582 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2583
2584 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2585
2586 * gdb.threads/tls-nodebug-pie.c: New file.
2587 * gdb.threads/tls-nodebug-pie.exp: New file.
2588
2589 2017-09-05 Tom Tromey <tom@tromey.com>
2590
2591 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2592 for rust.
2593
2594 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
2595
2596 * gdb.multi/multi-arch-exec.exp: Test with different
2597 "follow-exec-mode" settings.
2598 (do_test): New procedure.
2599
2600 2017-09-04 Pedro Alves <palves@redhat.com>
2601
2602 * gdb.base/func-static.c (S::method const, S::method volatile)
2603 (S::method volatile const): New methods.
2604 (c_s, v_s, cv_s): New instances.
2605 (main): Call method() on them.
2606 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2607 (cannot_resolve): New procedure.
2608 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
2609 print-quote-unquoted columns.
2610 (do_test): Test printing each scope too.
2611
2612 2017-09-04 Pedro Alves <palves@redhat.com>
2613
2614 * gdb.base/local-static.exp: Also test with
2615 class::method::variable wholly quoted.
2616 * gdb.cp/m-static.exp (class::method::variable): Remove test.
2617
2618 2017-09-04 Pedro Alves <palves@redhat.com>
2619
2620 * gdb.base/local-static.c: New.
2621 * gdb.base/local-static.cc: New.
2622 * gdb.base/local-static.exp: New.
2623
2624 2017-09-04 Pedro Alves <palves@redhat.com>
2625
2626 * gdb.asm/asm-source.exp: Add casts to int.
2627 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2628 (dataglobal64_1, dataglobal64_2): New globals.
2629 * gdb.base/nodebug.exp: Test different expressions involving the
2630 new globals, with print, whatis and ptype. Add casts to int.
2631 * gdb.base/solib-display.exp: Add casts to int.
2632 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
2633 * gdb.cp/m-static.exp: Add cast to int.
2634 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2635 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2636 tls variable with no debug info without a cast. Test with a cast
2637 to int too.
2638 * gdb.trace/entry-values.exp: Add casts.
2639
2640 2017-09-04 Pedro Alves <palves@redhat.com>
2641
2642 * gdb.base/nodebug.exp: Test that ptype's error about functions
2643 with unknown return type includes the function name too.
2644
2645 2017-09-04 Pedro Alves <palves@redhat.com>
2646
2647 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2648 return type of munmap in infcall.
2649 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2650 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2651 type of ftell in infcall.
2652 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2653 type of getpid in infcall.
2654 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2655 infcall.
2656 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2657 Bail on failure to extract the pid.
2658 * gdb.base/nodebug.c: #include <stdint.h>.
2659 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2660 New functions.
2661 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2662 Change expected output of print/whatis/ptype with functions with
2663 no debug info. Test all supported languages. Call
2664 test_call_promotion.
2665 * gdb.compile/compile.exp: Adjust expected output to expect
2666 warning.
2667 * gdb.threads/siginfo-threads.exp: Likewise.
2668
2669 2017-09-04 Pedro Alves <palves@redhat.com>
2670
2671 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2672 "prototypes". Test calling float functions via prototyped and
2673 unprototyped function pointers.
2674 (perform_all_tests): New parameter "prototypes". Pass it down.
2675 (top level): Pass down "prototypes" parameter to
2676 perform_all_tests.
2677
2678 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2679
2680 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2681 Test with nested loops.
2682
2683 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2684
2685 * gdb.base/commands.exp: Call the new procedures.
2686 (loop_break_test, loop_continue_test): New procedures.
2687
2688 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2689
2690 * gdb.base/commands.exp: Call new procedure.
2691 (define_if_without_arg_test): New procedure.
2692
2693 2017-09-04 Pedro Alves <palves@redhat.com>
2694
2695 * gdb.base/list-ambiguous.exp: New file.
2696 * gdb.base/list-ambiguous0.c: New file.
2697 * gdb.base/list-ambiguous1.c: New file.
2698 * gdb.base/list.exp (test_list_range): Adjust expected output.
2699
2700 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2701
2702 * gdb.base/share-env-with-gdbserver.c: New file.
2703 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2704
2705 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2706
2707 * gdb.base/commands.exp (gdbvar_simple_if_test,
2708 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2709 progvar_simple_if_test, progvar_simple_while_test,
2710 progvar_complex_if_while_test, user_defined_command_test,
2711 user_defined_command_args_eval,
2712 user_defined_command_args_stack_test,
2713 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2714 temporary_breakpoint_commands,
2715 gdb_test_no_prompt, redefine_hook_test,
2716 redefine_backtrace_test): Remove "global gdb_prompt".
2717
2718 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2719
2720 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2721 New proc, call it from toplevel.
2722
2723 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2724
2725 PR remote/21852
2726 * gdb.server/normal.c: New file, copied from gdb.base.
2727 * gdb.server/run-without-local-binary.exp: New file.
2728
2729 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
2730
2731 * gdb.arch/sparc64-adi.exp: New file.
2732 * gdb.arch/sparc64-adi.c: New file.
2733
2734 2017-08-22 Pedro Alves <palves@redhat.com>
2735
2736 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2737 (top level): Add "list all overloads" tests.
2738
2739 2017-08-22 Tom Tromey <tom@tromey.com>
2740
2741 * gdb.gdb/xfullpath.exp: Remove.
2742
2743 2017-08-21 Pedro Alves <palves@redhat.com>
2744
2745 PR gdb/19487
2746 * gdb.base/symbol-alias.c: New.
2747 * gdb.base/symbol-alias2.c: New.
2748 * gdb.base/symbol-alias.exp: New.
2749
2750 2017-08-21 Pedro Alves <palves@redhat.com>
2751
2752 * gdb.base/dfp-test.c
2753 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2754 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2755 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2756 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2757 * gdb.base/whatis-ptype-typedefs.c: New.
2758 * gdb.base/whatis-ptype-typedefs.exp: New.
2759 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2760 (an_int, an_int_type, an_int_type2): New globals.
2761 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2762 involving typedefs and cast expressions.
2763 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2764 (lookup_typedefs_function): New.
2765 (typedefs_pretty_printers_dict): New.
2766 (top level): Register lookup_typedefs_function in
2767 gdb.pretty_printers.
2768
2769 2017-08-18 Yao Qi <yao.qi@linaro.org>
2770
2771 * gdb.server/unittest.exp: New.
2772
2773 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2774
2775 PR gdb/21954
2776 * gdb.base/environ.exp: Add test to check if 'unset environment'
2777 works.
2778
2779 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2780
2781 * lib/gdb.exp (universal_compile_options): New caching proc.
2782 (gdb_compile): Suppress GCC's coloring of messages.
2783
2784 2017-08-14 Tom Tromey <tom@tromey.com>
2785
2786 PR gdb/21675:
2787 * gdb.base/printcmds.exp (test_radices): New function.
2788 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2789 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2790 * lib/gdb.exp (get_integer_valueof): Use p/d.
2791
2792 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2793
2794 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2795 characters.
2796
2797 2017-08-05 Tom Tromey <tom@tromey.com>
2798
2799 * gdb.rust/simple.exp: Allow String to appear in a different
2800 namespace.
2801
2802 2017-07-26 Yao Qi <yao.qi@linaro.org>
2803
2804 * gdb.gdb/unittest.exp: Invoke command
2805 "maintenance check xml-descriptions".
2806
2807 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2808
2809 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2810 calling context.
2811 (hex128): Drop erroneous calculation of parameters.
2812
2813 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2814
2815 * gdb.python/py-unwind.exp: Disable stack protection when
2816 building test file.
2817
2818 2017-07-20 Pedro Alves <palves@redhat.com>
2819
2820 * gdb.base/default.exp (set language): Adjust expected output.
2821
2822 2017-07-20 Pedro Alves <palves@redhat.com>
2823
2824 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2825 (test_minsym): ... this, and make static.
2826 (get_pck__foo__bar__minsym): Rename to ...
2827 (get_test_minsym): ... this.
2828 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2829 symbol names and comments.
2830 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2831 (get_test_minsym): ... this.
2832 (pck__foo__bar__minsym__2): Rename to ...
2833 (test_minsym): ... this.
2834 (main): Adjust.
2835
2836 2017-07-17 Pedro Alves <palves@redhat.com>
2837
2838 * gdb.base/completion.exp: Adjust expected output.
2839 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2840 the completer works.
2841
2842 2017-07-17 Pedro Alves <palves@redhat.com>
2843
2844 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2845
2846 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2847
2848 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2849
2850 2017-07-14 Tom Tromey <tom@tromey.com>
2851
2852 PR rust/21764:
2853 * gdb.rust/simple.exp: Add tests.
2854
2855 2017-07-14 Tom Tromey <tom@tromey.com>
2856
2857 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2858
2859 2017-07-14 Pedro Alves <palves@redhat.com>
2860
2861 * gdb.linespec/base/one/thefile.cc (z1): New function.
2862 * gdb.linespec/base/two/thefile.cc (z2): New function.
2863 * gdb.linespec/linespec.exp: Add tests.
2864
2865 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2866
2867 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2868 to mi_create_breakpoint.
2869
2870 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2871
2872 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2873 mi_create_breakpoint.
2874
2875 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2876
2877 * gdb.dlang/demangle.exp: Update for demangling changes.
2878
2879 2017-07-09 Tom Tromey <tom@tromey.com>
2880
2881 * gdb.dwarf2/shortpiece.exp: New file.
2882
2883 2017-07-06 David Blaikie <dblaikie@gmail.com>
2884
2885 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2886 built from fissiont-multi-cu{1,2}.c.
2887 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2888 except putting 'main' and 'func' in separate CUs in the same DWO file.
2889 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2890 test.
2891 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2892 test.
2893
2894 2017-07-06 Pedro Alves <palves@redhat.com>
2895
2896 * gdb.python/py-unwind.exp: Test flushregs.
2897
2898 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2899
2900 PR cli/21688
2901 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2902 tests for alias commands and trailing whitespace.
2903
2904 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2905
2906 PR cli/21688
2907 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2908 procedure. Call it.
2909
2910 2017-06-29 Pedro Alves <palves@redhat.com>
2911
2912 * gdb.base/printcmds.exp: Add tests.
2913
2914 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2915
2916 PR gdb/21337
2917 * gdb.base/reread-readsym.exp: New file.
2918 * gdb.base/reread-readsym.c: New file.
2919
2920 2017-06-21 Kevin Buettner <kevinb@redhat.com>
2921
2922 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
2923 subpattern.
2924
2925 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
2926
2927 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
2928 extended mnemonic.
2929 * gdb.arch/powerpc-power9.s: Likewise.
2930
2931 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2932
2933 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
2934 on 32-bit x86 targets. Exploit is_*_target macros where
2935 appropriate.
2936
2937 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2938
2939 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
2940 register pieces.
2941
2942 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2943
2944 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
2945 located in one or more DWARF pieces.
2946
2947 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2948
2949 * lib/gdb.exp (get_endianness): New proc.
2950 * gdb.arch/aarch64-fp.exp: Use it.
2951 * gdb.arch/altivec-regs.exp: Likewise.
2952 * gdb.arch/e500-regs.exp: Likewise.
2953 * gdb.arch/vsx-regs.exp: Likewise.
2954 * gdb.base/dump.exp: Likewise.
2955 * gdb.base/funcargs.exp: Likewise.
2956 * gdb.base/gnu_vector.exp: Likewise.
2957 * gdb.dwarf2/formdata16.exp: Likewise.
2958 * gdb.dwarf2/implptrpiece.exp: Likewise.
2959 * gdb.dwarf2/nonvar-access.exp: Likewise.
2960 * gdb.python/py-inferior.exp: Likewise.
2961 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2962
2963 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2964
2965 PR gdb/21226
2966 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
2967 stack value pieces are taken from the LSB end.
2968
2969 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2970
2971 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
2972 variable at nonzero offset.
2973
2974 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2975
2976 * gdb.dwarf2/var-access.c: New file.
2977 * gdb.dwarf2/var-access.exp: New test.
2978 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
2979
2980 2017-06-12 Tom Tromey <tom@tromey.com>
2981
2982 * gdb.dwarf2/formdata16.exp: Add tests.
2983
2984 2017-06-12 Tom Tromey <tom@tromey.com>
2985
2986 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
2987
2988 2017-06-12 Tom Tromey <tom@tromey.com>
2989
2990 PR exp/16225:
2991 * gdb.reverse/i386-sse-reverse.exp: Update tests.
2992 * gdb.arch/vsx-regs.exp: Update tests.
2993 * gdb.arch/s390-vregs.exp (hex128): New proc.
2994 Update test.
2995 * gdb.arch/altivec-regs.exp: Update tests.
2996
2997 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2998
2999 * gdb.base/startup-with-shell.c: New file.
3000 * gdb.base/startup-with-shell.exp: Likewise.
3001
3002 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3003
3004 * gdb.server/non-existing-program.exp: Update regex in order to
3005 reflect the fact that gdbserver is now using fork_inferior (with a
3006 shell) to startup the inferior.
3007
3008 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
3009
3010 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3011 support function calls from GDB.
3012
3013 2017-05-21 Tom Tromey <tom@tromey.com>
3014
3015 PR rust/21466:
3016 * gdb.rust/unsized.exp: New file.
3017 * gdb.rust/unsized.rs: New file.
3018
3019 2017-05-19 Tom Tromey <tom@tromey.com>
3020
3021 PR rust/21484:
3022 * gdb.rust/watch.exp: New file.
3023 * gdb.rust/watch.rs: New file.
3024
3025 2017-05-18 Tom Tromey <tom@tromey.com>
3026
3027 * gdb.rust/simple.exp: Allow Box to be qualified.
3028
3029 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3030
3031 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3032
3033 2017-05-18 Pedro Alves <palves@redhat.com>
3034
3035 * gdb.base/fileio.c (test_write, test_read, test_close)
3036 (test_fstat): Don't print 'ret' in the fail path.
3037
3038 2017-05-18 Pedro Alves <palves@redhat.com>
3039
3040 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3041 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3042 (test_system, test_rename, test_unlink, test_time): Change
3043 prototypes.
3044 * gdb.base/fileio.exp (stop_msg): Adjust.
3045
3046 2017-05-18 Pedro Alves <palves@redhat.com>
3047
3048 * gdb.base/fileio.c (null_str): New global.
3049 (test_stat): Use it.
3050 * gdb.base/fileio.exp: Remove nowarnings.
3051
3052 2017-05-17 Yao Qi <yao.qi@linaro.org>
3053
3054 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3055
3056 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
3057
3058 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3059 argument command.
3060 (top-level): Invoke test_set_inferior_tty.
3061
3062 2017-05-04 Pedro Alves <palves@redhat.com>
3063
3064 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3065 Add parens to print call for Python 3.
3066
3067 2017-05-03 Keith Seitz <keiths@redhat.com>
3068
3069 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3070 (main): Call it.
3071
3072 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3073
3074 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3075 to prev and next.
3076
3077 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3078
3079 * gdb.python/py-record-btrace.exp: Remove test for
3080 gdb.BtraceInstruction.error.
3081
3082 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3083
3084 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3085
3086 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3087
3088 * gdb.python/py-record-btrace-threads.c: New file.
3089 * gdb.python/py-record-btrace-threads.exp: New file.
3090
3091 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3092
3093 PR testsuite/8595
3094 * gdb.base/environ.exp: Make test available in all architectures.
3095 Move bits related to "info program" testing to
3096 gdb.base/info-program.exp. Rewrite tests to use the two new
3097 procedures mentione below.
3098 (test_set_show_env_var) New procedure.
3099 (test_set_show_env_var_equal): Likewise.
3100 * gdb.base/info-program.exp: New file.
3101
3102 2017-04-27 Keith Seitz <keiths@redhat.com>
3103
3104 * gdb.cp/oranking.cc (test15): New function.
3105 (main): Call test15 and declare additional variables for testing.
3106 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3107 "p foo101('abc')" tests.
3108 Add tests for cv qualifier overloads.
3109 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3110 "lvalue reference overload" test.
3111 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3112 "print value of f1 on Child&& in f2" test.
3113
3114 2017-04-19 Pedro Alves <palves@redhat.com>
3115
3116 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3117 procedure.
3118 (top level): Call it.
3119 * lib/gdb.exp (gdb_define_cmd): New procedure.
3120
3121 2017-04-12 Pedro Alves <palves@redhat.com>
3122
3123 PR gdb/21323
3124 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3125 (wchar): New global.
3126 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3127 (do_test_wide_char, wide_char_types_no_program, top level): Add
3128 wchar_t testing.
3129
3130 2017-04-12 Pedro Alves <palves@redhat.com>
3131
3132 PR c++/21323
3133 * gdb.cp/wide_char_types.c: New file.
3134 * gdb.cp/wide_char_types.exp: New file.
3135
3136 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3137
3138 PR gdb/21352
3139 * gdb.trace/tsv.exp: Add test for "tsave -r".
3140
3141 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3142
3143 * gdb.dlang/watch-loc.c: New file.
3144 * gdb.dlang/watch-loc.exp: New file.
3145
3146 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3147
3148 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3149
3150 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3151
3152 * gdb.arch/arc-analyze-prologue.S: New file.
3153 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3154
3155 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3156
3157 * gdb.arch/arc-decode-insn.S: New file.
3158 * gdb.arch/arc-decode-insn.exp: Likewise.
3159
3160 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3161
3162 PR tdep/20928
3163 * gdb.arch/sparc64-regs.exp: New file.
3164 * gdb.arch/sparc64-regs.S: Likewise.
3165
3166 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3167
3168 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3169 and memory view on Python 3.
3170
3171 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
3172 Keith Seitz <keiths@redhat.com>
3173
3174 PR gdb/14441
3175 * gdb.cp/demangle.exp: Add rvalue reference tests.
3176 * gdb.cp/rvalue-ref-casts.cc: New file.
3177 * gdb.cp/rvalue-ref-casts.exp: New file.
3178 * gdb.cp/rvalue-ref-overload.cc: New file.
3179 * gdb.cp/rvalue-ref-overload.exp: New file.
3180 * gdb.cp/rvalue-ref-params.cc: New file.
3181 * gdb.cp/rvalue-ref-params.exp: New file.
3182 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3183 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3184 * gdb.cp/rvalue-ref-types.cc: New file.
3185 * gdb.cp/rvalue-ref-types.exp: New file.
3186 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3187 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3188
3189 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3190
3191 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3192 New procedure.
3193
3194 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3195
3196 * lib/mi-support.exp (mi_gdb_test): Add additional message
3197 for unexpected output.
3198
3199 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3200
3201 * gdb.base/examine-backward.c (Barrier): New character array
3202 constant, to ensure that TestStrings is preceded by a string
3203 terminator.
3204
3205 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3206
3207 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3208 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3209 and implicit pointer into such a location.
3210
3211 2017-03-16 Doug Evans <dje@google.com>
3212
3213 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3214
3215 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3216
3217 * gdb.cp/m-static.exp: Fix expectation for prototype of
3218 test5.single_constructor and single_constructor::single_constructor.
3219
3220 2017-03-16 Doug Evans <dje@google.com>
3221
3222 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3223 * gdb.guile/scm-lazy-string.c: New file.
3224 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3225 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3226 for pointer, array, typedef lazy strings.
3227
3228 2017-03-16 Doug Evans <dje@google.com>
3229
3230 PR python/17728, python/18439, python/18779
3231 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3232 * gdb.python/py-lazy-string.c (pointer): New typedef.
3233 (main): New locals ptr, array, typedef_ptr.
3234 * gdb.python/py-value.exp: Move lazy string tests to ...
3235 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3236 array, typedef lazy strings.
3237
3238 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3239
3240 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3241 Add optional 'test' parameter.
3242
3243 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3244
3245 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3246 Skip for versions of DejaGnu < 1.5.
3247
3248 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3249
3250 * lib/gdb.exp (dejagnu_version): New proc.
3251 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3252 Use dejagnu_version.
3253
3254 2017-03-10 Keith Seitz <keiths@redhat.com>
3255
3256 PR c++/8128
3257 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3258 type from destructor regexps.
3259 Add a branch which actually passes the test.
3260 Adjust "ptype t5i" test names.
3261
3262 2017-03-08 Pedro Alves <palves@redhat.com>
3263
3264 * gdb.base/step-over-exit.exp: Add explicit test message.
3265
3266 2017-03-08 Pedro Alves <palves@redhat.com>
3267
3268 PR gdb/18360
3269 * gdb.threads/interrupt-while-step-over.c: New file.
3270 * gdb.threads/interrupt-while-step-over.exp: New file.
3271
3272 2017-03-08 Pedro Alves <palves@redhat.com>
3273
3274 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3275 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3276
3277 2017-03-08 Pedro Alves <palves@redhat.com>
3278
3279 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3280 PKRU as not supported as a PASS.
3281
3282 2017-03-08 Pedro Alves <palves@redhat.com>
3283
3284 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3285 prefix instead of $binfile1/$binfile2.
3286 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3287 in test message.
3288 * gdb.python/py-completion.exp: Use "load python file" as test
3289 messages instead of unstable path names.
3290
3291 2017-03-08 Pedro Alves <palves@redhat.com>
3292 Jan Kratochvil <jan.kratochvil@redhat.com>
3293
3294 PR cli/21218
3295 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3296 New proc.
3297 (top level): Call it.
3298
3299 2017-03-08 Pedro Alves <palves@redhat.com>
3300
3301 PR tui/21216
3302 * gdb.tui/tui-nl-filtered-output.exp: New file.
3303
3304 2017-03-08 Pedro Alves <palves@redhat.com>
3305
3306 * gdb.base/completion.exp: Move TUI completion tests to ...
3307 * gdb.tui/completion.exp: ... this new file.
3308
3309 2017-03-08 Pedro Alves <palves@redhat.com>
3310
3311 * gdb.base/tui-disasm-long-lines.c,
3312 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3313 gdb.base/tui-layout.exp: Move to ...
3314 * gdb.tui/: ... this new directory.
3315
3316 2017-03-07 Pedro Alves <palves@redhat.com>
3317
3318 * gdb.base/tui-layout.c: New file.
3319 * gdb.base/tui-layout.exp: New file.
3320
3321 2017-03-07 Pedro Alves <palves@redhat.com>
3322
3323 * gdb.base/tui-layout.c: Rename to ...
3324 * gdb.base/tui-disasm-long-lines.c: ... this.
3325 * gdb.base/tui-layout.exp: Rename to ...
3326 * gdb.base/tui-disasm-long-lines.exp: ... this.
3327
3328 2017-03-07 Pedro Alves <palves@redhat.com>
3329
3330 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3331
3332 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3333
3334 * i386-mpx-call.c: New file.
3335 * i386-mpx-call.exp: New file.
3336
3337 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3338
3339 * gdb.arch/powerpc-power.exp: Delete test.
3340 * gdb.arch/powerpc-power.s: Likewise.
3341 * gdb.disasm/disassembler-options.exp: New test.
3342 * gdb.arch/powerpc-altivec.exp: Likewise.
3343 * gdb.arch/powerpc-altivec.s: Likewise.
3344 * gdb.arch/powerpc-altivec2.exp: Likewise.
3345 * gdb.arch/powerpc-altivec2.s: Likewise.
3346 * gdb.arch/powerpc-altivec3.exp: Likewise.
3347 * gdb.arch/powerpc-altivec3.s: Likewise.
3348 * gdb.arch/powerpc-power7.exp: Likewise.
3349 * gdb.arch/powerpc-power7.s: Likewise.
3350 * gdb.arch/powerpc-power8.exp: Likewise.
3351 * gdb.arch/powerpc-power8.s: Likewise.
3352 * gdb.arch/powerpc-power9.exp: Likewise.
3353 * gdb.arch/powerpc-power9.s: Likewise.
3354 * gdb.arch/powerpc-vsx.exp: Likewise.
3355 * gdb.arch/powerpc-vsx.s: Likewise.
3356 * gdb.arch/powerpc-vsx2.exp: Likewise.
3357 * gdb.arch/powerpc-vsx2.s: Likewise.
3358 * gdb.arch/powerpc-vsx3.exp: Likewise.
3359 * gdb.arch/powerpc-vsx3.s: Likewise.
3360 * gdb.arch/arm-disassembler-options.exp: Likewise.
3361 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3362 * gdb.arch/s390-disassembler-options.exp: Likewise.
3363
3364 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
3365
3366 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3367 (check_supported_features): ... this. Changed return type to void.
3368 (supports_rdseed): New static global.
3369 (rdseed): Check supports_rdseed.
3370 (initialize): Call check_supported_features.
3371
3372 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3373
3374 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3375 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3376 and lqarx/stqcx.
3377 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3378 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3379
3380 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3381
3382 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3383 uppercase.
3384
3385 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3386
3387 * gdb.dwarf2/formdata16.c: New file.
3388 * gdb.dwarf2/formdata16.exp: New file.
3389 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3390
3391 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3392
3393 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3394 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3395 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3396 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3397 DW_AT_GNU_*.
3398
3399 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3400
3401 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3402
3403 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3404
3405 PR gdb/21164
3406 * gdb.base/maint.exp: Add testcases for when the commands do
3407 not have arguments.
3408
3409 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3410
3411 * gdb.cp/chained-calls.exp: Use p instead of P.
3412
3413 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3414
3415 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3416 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3417
3418 2017-02-14 Tom Tromey <tom@tromey.com>
3419
3420 PR python/13598:
3421 * gdb.python/py-events.exp: Add before_prompt event tests.
3422
3423 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3424
3425 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3426
3427 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3428
3429 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3430 (main): Call my_unique_function_name.
3431 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3432 completion of patterns with a single match.
3433 Add missing -re switches to gdb_test_multiple calls.
3434
3435 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3436
3437 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3438 return if core file is not recognized.
3439
3440 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3441
3442 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3443 and extra UIs.
3444
3445 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3446
3447 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3448 proc_with_prefix.
3449
3450 2017-02-10 Tom Tromey <tom@tromey.com>
3451
3452 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3453
3454 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
3455
3456 PR gdb/21122
3457 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3458
3459 2017-02-08 Jerome Guitton <guitton@adacore.com>
3460
3461 * gdb.base/define.exp: Add test for command abbreviations
3462 in define.
3463
3464 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
3465
3466 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3467 * gdb.reverse/insn-reverse-x86.c: New file.
3468
3469 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3470
3471 PR tdep/20936
3472 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3473
3474 2017-02-03 Tom Tromey <tom@tromey.com>
3475
3476 PR rust/21097:
3477 * gdb.rust/simple.exp: Add new tests.
3478
3479 2017-02-02 Pedro Alves <palves@redhat.com>
3480
3481 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3482 tests.
3483
3484 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3485
3486 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3487 taking a 2-byte value out of a 4-byte DWARF implicit value on
3488 big-endian targets.
3489 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3490 logic. Add test cases for DW_OP_implicit.
3491
3492 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3493
3494 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3495
3496 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3497
3498 * gdb.btrace/enable.exp: Call gdb_exit before
3499 skip_gdbserver_tests.
3500
3501 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3502
3503 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3504 GDBFLAGS.
3505
3506 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3507
3508 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3509 the test is skipped.
3510 * gdb.btrace/data.exp: Likewise.
3511 * gdb.btrace/delta.exp: Likewise.
3512 * gdb.btrace/dlopen.exp: Likewise.
3513 * gdb.btrace/enable-running.exp: Likewise.
3514 * gdb.btrace/enable.exp: Likewise.
3515 * gdb.btrace/exception.exp: Likewise.
3516 * gdb.btrace/function_call_history.exp: Likewise.
3517 * gdb.btrace/gcore.exp: Likewise.
3518 * gdb.btrace/instruction_history.exp: Likewise.
3519 * gdb.btrace/multi-thread-step.exp: Likewise.
3520 * gdb.btrace/nohist.exp: Likewise.
3521 * gdb.btrace/non-stop.exp: Likewise.
3522 * gdb.btrace/reconnect.exp: Likewise.
3523 * gdb.btrace/record_goto-step.exp: Likewise.
3524 * gdb.btrace/record_goto.exp: Likewise.
3525 * gdb.btrace/rn-dl-bind.exp: Likewise.
3526 * gdb.btrace/segv.exp: Likewise.
3527 * gdb.btrace/step.exp: Likewise.
3528 * gdb.btrace/stepi.exp: Likewise.
3529 * gdb.btrace/tailcall-only.exp: Likewise.
3530 * gdb.btrace/tailcall.exp: Likewise.
3531 * gdb.btrace/tsx.exp: Likewise.
3532 * gdb.btrace/unknown_functions.exp: Likewise.
3533 * gdb.btrace/vdso.exp: Likewise.
3534
3535 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3536
3537 * gdb.btrace/enable-running.c: New.
3538 * gdb.btrace/enable-running.exp: New.
3539
3540 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3541
3542 * gdb.arch/amd64-gs_base.c: New file.
3543 * gdb.arch/amd64-gs_base.exp: New file.
3544
3545 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3546
3547 * lib/memory.exp: Remove spurious empty newlines.
3548
3549 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3550
3551 * gdb.python/py-bad-printers.exp: Load python file using "source".
3552 * gdb.python/py-events.exp: Likewise.
3553 * gdb.python/py-evsignal.exp: Likewise.
3554 * gdb.python/py-evthreads.exp: Likewise.
3555 * gdb.python/py-frame-args.exp: Likewise.
3556 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3557 * gdb.python/py-framefilter-mi.exp: Likewise.
3558 * gdb.python/py-framefilter.exp: Likewise.
3559 * gdb.python/py-mi.exp: Likewise.
3560 * gdb.python/py-pp-maint.exp: Likewise.
3561 * gdb.python/py-pp-registration.exp: Likewise.
3562 * gdb.python/py-prettyprint.exp: Likewise.
3563 (run_lang_tests): Likewise.
3564 * gdb.python/py-typeprint.exp: Likewise.
3565
3566 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3567
3568 * lib/memory.exp: New file.
3569 * lib/gdb.exp: Load memory.exp.
3570 * gdb.base/memattr.exp (delete_memory): Move proc to
3571 lib/memory.exp and rename to delete_memory_regions.
3572 Replace delete_memory with delete_memory_regions.
3573 Cleanup memory regions before tests.
3574 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3575 before tests.
3576
3577 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3578
3579 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3580 files.
3581 (initialize): New function conditionally defined.
3582 (testcases): Move within conditional block.
3583 (main): Call initialize.
3584 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3585 of gdb.reverse/insn-reverse.c.
3586 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3587 gdb.reverse/insn-reverse.c.
3588
3589 2017-01-26 Yao Qi <yao.qi@linaro.org>
3590
3591 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3592 disassemble on address 0.
3593
3594 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
3595 Yao Qi <yao.qi@linaro.org>
3596
3597 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3598 * gdb.dwarf2/implptr-64bit.S: Remove.
3599 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
3600 variables in caller's context. Add DW_OP_implicit_value.
3601
3602 2017-01-25 Yao Qi <yao.qi@linaro.org>
3603
3604 * lib/dwarf.exp (Dwarf::_location): Handle
3605 DW_OP_GNU_implicit_pointer with proper size.
3606
3607 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3608
3609 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3610 and add untested calls.
3611
3612 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3613
3614 * gdb.python/python.exp: Check line number against what GDB thinks
3615 the line number is for func1.
3616
3617 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
3618
3619 * gdb.dlang/debug-expr.exp: New file.
3620
3621 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
3622
3623 Fix test names for the following files:
3624
3625 * gdb.ada/exec_changed.exp
3626 * gdb.ada/info_types.exp
3627 * gdb.arch/aarch64-atomic-inst.exp
3628 * gdb.arch/aarch64-fp.exp
3629 * gdb.arch/altivec-abi.exp
3630 * gdb.arch/altivec-regs.exp
3631 * gdb.arch/amd64-byte.exp
3632 * gdb.arch/amd64-disp-step.exp
3633 * gdb.arch/amd64-dword.exp
3634 * gdb.arch/amd64-entry-value-inline.exp
3635 * gdb.arch/amd64-entry-value-param.exp
3636 * gdb.arch/amd64-entry-value-paramref.exp
3637 * gdb.arch/amd64-entry-value.exp
3638 * gdb.arch/amd64-i386-address.exp
3639 * gdb.arch/amd64-invalid-stack-middle.exp
3640 * gdb.arch/amd64-invalid-stack-top.exp
3641 * gdb.arch/amd64-optimout-repeat.exp
3642 * gdb.arch/amd64-prologue-skip.exp
3643 * gdb.arch/amd64-prologue-xmm.exp
3644 * gdb.arch/amd64-stap-special-operands.exp
3645 * gdb.arch/amd64-stap-wrong-subexp.exp
3646 * gdb.arch/amd64-tailcall-cxx.exp
3647 * gdb.arch/amd64-tailcall-noret.exp
3648 * gdb.arch/amd64-tailcall-ret.exp
3649 * gdb.arch/amd64-tailcall-self.exp
3650 * gdb.arch/amd64-word.exp
3651 * gdb.arch/arm-bl-branch-dest.exp
3652 * gdb.arch/arm-disp-step.exp
3653 * gdb.arch/arm-neon.exp
3654 * gdb.arch/arm-single-step-kernel-helper.exp
3655 * gdb.arch/avr-flash-qualifier.exp
3656 * gdb.arch/disp-step-insn-reloc.exp
3657 * gdb.arch/e500-abi.exp
3658 * gdb.arch/e500-regs.exp
3659 * gdb.arch/ftrace-insn-reloc.exp
3660 * gdb.arch/i386-avx512.exp
3661 * gdb.arch/i386-bp_permanent.exp
3662 * gdb.arch/i386-byte.exp
3663 * gdb.arch/i386-cfi-notcurrent.exp
3664 * gdb.arch/i386-disp-step.exp
3665 * gdb.arch/i386-dr3-watch.exp
3666 * gdb.arch/i386-float.exp
3667 * gdb.arch/i386-gnu-cfi.exp
3668 * gdb.arch/i386-mpx-map.exp
3669 * gdb.arch/i386-mpx-sigsegv.exp
3670 * gdb.arch/i386-mpx-simple_segv.exp
3671 * gdb.arch/i386-mpx.exp
3672 * gdb.arch/i386-permbkpt.exp
3673 * gdb.arch/i386-prologue.exp
3674 * gdb.arch/i386-signal.exp
3675 * gdb.arch/i386-size-overlap.exp
3676 * gdb.arch/i386-unwind.exp
3677 * gdb.arch/i386-word.exp
3678 * gdb.arch/mips-fcr.exp
3679 * gdb.arch/powerpc-d128-regs.exp
3680 * gdb.arch/powerpc-stackless.exp
3681 * gdb.arch/ppc64-atomic-inst.exp
3682 * gdb.arch/s390-stackless.exp
3683 * gdb.arch/s390-tdbregs.exp
3684 * gdb.arch/s390-vregs.exp
3685 * gdb.arch/sparc-sysstep.exp
3686 * gdb.arch/thumb-bx-pc.exp
3687 * gdb.arch/thumb-singlestep.exp
3688 * gdb.arch/thumb2-it.exp
3689 * gdb.arch/vsx-regs.exp
3690 * gdb.asm/asm-source.exp
3691 * gdb.base/a2-run.exp
3692 * gdb.base/advance.exp
3693 * gdb.base/all-bin.exp
3694 * gdb.base/anon.exp
3695 * gdb.base/args.exp
3696 * gdb.base/arithmet.exp
3697 * gdb.base/async-shell.exp
3698 * gdb.base/async.exp
3699 * gdb.base/attach-pie-noexec.exp
3700 * gdb.base/attach-twice.exp
3701 * gdb.base/auto-load.exp
3702 * gdb.base/bang.exp
3703 * gdb.base/bitfields.exp
3704 * gdb.base/break-always.exp
3705 * gdb.base/break-caller-line.exp
3706 * gdb.base/break-entry.exp
3707 * gdb.base/break-inline.exp
3708 * gdb.base/break-on-linker-gcd-function.exp
3709 * gdb.base/break-probes.exp
3710 * gdb.base/break.exp
3711 * gdb.base/breakpoint-shadow.exp
3712 * gdb.base/call-ar-st.exp
3713 * gdb.base/call-sc.exp
3714 * gdb.base/call-signal-resume.exp
3715 * gdb.base/call-strs.exp
3716 * gdb.base/callfuncs.exp
3717 * gdb.base/catch-fork-static.exp
3718 * gdb.base/catch-gdb-caused-signals.exp
3719 * gdb.base/catch-load.exp
3720 * gdb.base/catch-signal-fork.exp
3721 * gdb.base/catch-signal.exp
3722 * gdb.base/catch-syscall.exp
3723 * gdb.base/charset.exp
3724 * gdb.base/checkpoint.exp
3725 * gdb.base/chng-syms.exp
3726 * gdb.base/code-expr.exp
3727 * gdb.base/code_elim.exp
3728 * gdb.base/commands.exp
3729 * gdb.base/completion.exp
3730 * gdb.base/complex.exp
3731 * gdb.base/cond-expr.exp
3732 * gdb.base/condbreak.exp
3733 * gdb.base/consecutive.exp
3734 * gdb.base/continue-all-already-running.exp
3735 * gdb.base/coredump-filter.exp
3736 * gdb.base/corefile.exp
3737 * gdb.base/dbx.exp
3738 * gdb.base/debug-expr.exp
3739 * gdb.base/define.exp
3740 * gdb.base/del.exp
3741 * gdb.base/disabled-location.exp
3742 * gdb.base/disasm-end-cu.exp
3743 * gdb.base/disasm-optim.exp
3744 * gdb.base/display.exp
3745 * gdb.base/duplicate-bp.exp
3746 * gdb.base/ena-dis-br.exp
3747 * gdb.base/ending-run.exp
3748 * gdb.base/enumval.exp
3749 * gdb.base/environ.exp
3750 * gdb.base/eu-strip-infcall.exp
3751 * gdb.base/eval-avoid-side-effects.exp
3752 * gdb.base/eval-skip.exp
3753 * gdb.base/exitsignal.exp
3754 * gdb.base/expand-psymtabs.exp
3755 * gdb.base/filesym.exp
3756 * gdb.base/find-unmapped.exp
3757 * gdb.base/finish.exp
3758 * gdb.base/float.exp
3759 * gdb.base/foll-exec-mode.exp
3760 * gdb.base/foll-exec.exp
3761 * gdb.base/foll-fork.exp
3762 * gdb.base/fortran-sym-case.exp
3763 * gdb.base/freebpcmd.exp
3764 * gdb.base/func-ptr.exp
3765 * gdb.base/func-ptrs.exp
3766 * gdb.base/funcargs.exp
3767 * gdb.base/gcore-buffer-overflow.exp
3768 * gdb.base/gcore-relro-pie.exp
3769 * gdb.base/gcore-relro.exp
3770 * gdb.base/gcore.exp
3771 * gdb.base/gdb1090.exp
3772 * gdb.base/gdb11530.exp
3773 * gdb.base/gdb11531.exp
3774 * gdb.base/gdb1821.exp
3775 * gdb.base/gdbindex-stabs.exp
3776 * gdb.base/gdbvars.exp
3777 * gdb.base/hbreak.exp
3778 * gdb.base/hbreak2.exp
3779 * gdb.base/included.exp
3780 * gdb.base/infcall-input.exp
3781 * gdb.base/inferior-died.exp
3782 * gdb.base/infnan.exp
3783 * gdb.base/info-macros.exp
3784 * gdb.base/info-os.exp
3785 * gdb.base/info-proc.exp
3786 * gdb.base/info-shared.exp
3787 * gdb.base/info-target.exp
3788 * gdb.base/infoline.exp
3789 * gdb.base/interp.exp
3790 * gdb.base/interrupt.exp
3791 * gdb.base/jit-reader.exp
3792 * gdb.base/jit-simple.exp
3793 * gdb.base/kill-after-signal.exp
3794 * gdb.base/kill-detach-inferiors-cmd.exp
3795 * gdb.base/label.exp
3796 * gdb.base/langs.exp
3797 * gdb.base/ldbl_e308.exp
3798 * gdb.base/line-symtabs.exp
3799 * gdb.base/linespecs.exp
3800 * gdb.base/list.exp
3801 * gdb.base/long_long.exp
3802 * gdb.base/longest-types.exp
3803 * gdb.base/maint.exp
3804 * gdb.base/max-value-size.exp
3805 * gdb.base/memattr.exp
3806 * gdb.base/mips_pro.exp
3807 * gdb.base/morestack.exp
3808 * gdb.base/moribund-step.exp
3809 * gdb.base/multi-forks.exp
3810 * gdb.base/nested-addr.exp
3811 * gdb.base/nextoverexit.exp
3812 * gdb.base/noreturn-finish.exp
3813 * gdb.base/noreturn-return.exp
3814 * gdb.base/nostdlib.exp
3815 * gdb.base/offsets.exp
3816 * gdb.base/opaque.exp
3817 * gdb.base/pc-fp.exp
3818 * gdb.base/permissions.exp
3819 * gdb.base/print-symbol-loading.exp
3820 * gdb.base/prologue-include.exp
3821 * gdb.base/psymtab.exp
3822 * gdb.base/ptype.exp
3823 * gdb.base/random-signal.exp
3824 * gdb.base/randomize.exp
3825 * gdb.base/range-stepping.exp
3826 * gdb.base/readline-ask.exp
3827 * gdb.base/recpar.exp
3828 * gdb.base/recurse.exp
3829 * gdb.base/relational.exp
3830 * gdb.base/restore.exp
3831 * gdb.base/return-nodebug.exp
3832 * gdb.base/return.exp
3833 * gdb.base/run-after-attach.exp
3834 * gdb.base/save-bp.exp
3835 * gdb.base/scope.exp
3836 * gdb.base/sect-cmd.exp
3837 * gdb.base/set-lang-auto.exp
3838 * gdb.base/set-noassign.exp
3839 * gdb.base/setvar.exp
3840 * gdb.base/sigall.exp
3841 * gdb.base/sigbpt.exp
3842 * gdb.base/siginfo-addr.exp
3843 * gdb.base/siginfo-infcall.exp
3844 * gdb.base/siginfo-obj.exp
3845 * gdb.base/siginfo.exp
3846 * gdb.base/signals-state-child.exp
3847 * gdb.base/signest.exp
3848 * gdb.base/sigstep.exp
3849 * gdb.base/sizeof.exp
3850 * gdb.base/skip.exp
3851 * gdb.base/solib-corrupted.exp
3852 * gdb.base/solib-nodir.exp
3853 * gdb.base/solib-search.exp
3854 * gdb.base/stack-checking.exp
3855 * gdb.base/stale-infcall.exp
3856 * gdb.base/stap-probe.exp
3857 * gdb.base/start.exp
3858 * gdb.base/step-break.exp
3859 * gdb.base/step-bt.exp
3860 * gdb.base/step-line.exp
3861 * gdb.base/step-over-exit.exp
3862 * gdb.base/step-over-syscall.exp
3863 * gdb.base/step-resume-infcall.exp
3864 * gdb.base/step-test.exp
3865 * gdb.base/store.exp
3866 * gdb.base/structs3.exp
3867 * gdb.base/sym-file.exp
3868 * gdb.base/symbol-without-target_section.exp
3869 * gdb.base/term.exp
3870 * gdb.base/testenv.exp
3871 * gdb.base/ui-redirect.exp
3872 * gdb.base/until.exp
3873 * gdb.base/unwindonsignal.exp
3874 * gdb.base/value-double-free.exp
3875 * gdb.base/vla-datatypes.exp
3876 * gdb.base/vla-ptr.exp
3877 * gdb.base/vla-sideeffect.exp
3878 * gdb.base/volatile.exp
3879 * gdb.base/watch-cond-infcall.exp
3880 * gdb.base/watch-cond.exp
3881 * gdb.base/watch-non-mem.exp
3882 * gdb.base/watch-read.exp
3883 * gdb.base/watch-vfork.exp
3884 * gdb.base/watchpoint-cond-gone.exp
3885 * gdb.base/watchpoint-delete.exp
3886 * gdb.base/watchpoint-hw-hit-once.exp
3887 * gdb.base/watchpoint-hw.exp
3888 * gdb.base/watchpoint-stops-at-right-insn.exp
3889 * gdb.base/watchpoints.exp
3890 * gdb.base/wchar.exp
3891 * gdb.base/whatis-exp.exp
3892 * gdb.btrace/buffer-size.exp
3893 * gdb.btrace/data.exp
3894 * gdb.btrace/delta.exp
3895 * gdb.btrace/dlopen.exp
3896 * gdb.btrace/enable.exp
3897 * gdb.btrace/exception.exp
3898 * gdb.btrace/function_call_history.exp
3899 * gdb.btrace/gcore.exp
3900 * gdb.btrace/instruction_history.exp
3901 * gdb.btrace/nohist.exp
3902 * gdb.btrace/reconnect.exp
3903 * gdb.btrace/record_goto-step.exp
3904 * gdb.btrace/record_goto.exp
3905 * gdb.btrace/rn-dl-bind.exp
3906 * gdb.btrace/segv.exp
3907 * gdb.btrace/step.exp
3908 * gdb.btrace/stepi.exp
3909 * gdb.btrace/tailcall-only.exp
3910 * gdb.btrace/tailcall.exp
3911 * gdb.btrace/tsx.exp
3912 * gdb.btrace/unknown_functions.exp
3913 * gdb.btrace/vdso.exp
3914 * gdb.compile/compile-ifunc.exp
3915 * gdb.compile/compile-ops.exp
3916 * gdb.compile/compile-print.exp
3917 * gdb.compile/compile-setjmp.exp
3918 * gdb.cp/abstract-origin.exp
3919 * gdb.cp/ambiguous.exp
3920 * gdb.cp/annota2.exp
3921 * gdb.cp/annota3.exp
3922 * gdb.cp/anon-ns.exp
3923 * gdb.cp/anon-struct.exp
3924 * gdb.cp/anon-union.exp
3925 * gdb.cp/arg-reference.exp
3926 * gdb.cp/baseenum.exp
3927 * gdb.cp/bool.exp
3928 * gdb.cp/breakpoint.exp
3929 * gdb.cp/bs15503.exp
3930 * gdb.cp/call-c.exp
3931 * gdb.cp/casts.exp
3932 * gdb.cp/chained-calls.exp
3933 * gdb.cp/class2.exp
3934 * gdb.cp/classes.exp
3935 * gdb.cp/cmpd-minsyms.exp
3936 * gdb.cp/converts.exp
3937 * gdb.cp/cp-relocate.exp
3938 * gdb.cp/cpcompletion.exp
3939 * gdb.cp/cpexprs.exp
3940 * gdb.cp/cplabel.exp
3941 * gdb.cp/cplusfuncs.exp
3942 * gdb.cp/cpsizeof.exp
3943 * gdb.cp/ctti.exp
3944 * gdb.cp/derivation.exp
3945 * gdb.cp/destrprint.exp
3946 * gdb.cp/dispcxx.exp
3947 * gdb.cp/enum-class.exp
3948 * gdb.cp/exception.exp
3949 * gdb.cp/exceptprint.exp
3950 * gdb.cp/expand-psymtabs-cxx.exp
3951 * gdb.cp/expand-sals.exp
3952 * gdb.cp/extern-c.exp
3953 * gdb.cp/filename.exp
3954 * gdb.cp/formatted-ref.exp
3955 * gdb.cp/fpointer.exp
3956 * gdb.cp/gdb1355.exp
3957 * gdb.cp/gdb2495.exp
3958 * gdb.cp/hang.exp
3959 * gdb.cp/impl-this.exp
3960 * gdb.cp/infcall-dlopen.exp
3961 * gdb.cp/inherit.exp
3962 * gdb.cp/iostream.exp
3963 * gdb.cp/koenig.exp
3964 * gdb.cp/local.exp
3965 * gdb.cp/m-data.exp
3966 * gdb.cp/m-static.exp
3967 * gdb.cp/mb-ctor.exp
3968 * gdb.cp/mb-inline.exp
3969 * gdb.cp/mb-templates.exp
3970 * gdb.cp/member-name.exp
3971 * gdb.cp/member-ptr.exp
3972 * gdb.cp/meth-typedefs.exp
3973 * gdb.cp/method.exp
3974 * gdb.cp/method2.exp
3975 * gdb.cp/minsym-fallback.exp
3976 * gdb.cp/misc.exp
3977 * gdb.cp/namelessclass.exp
3978 * gdb.cp/namespace-enum.exp
3979 * gdb.cp/namespace-nested-import.exp
3980 * gdb.cp/namespace.exp
3981 * gdb.cp/nextoverthrow.exp
3982 * gdb.cp/no-dmgl-verbose.exp
3983 * gdb.cp/non-trivial-retval.exp
3984 * gdb.cp/noparam.exp
3985 * gdb.cp/nsdecl.exp
3986 * gdb.cp/nsimport.exp
3987 * gdb.cp/nsnested.exp
3988 * gdb.cp/nsnoimports.exp
3989 * gdb.cp/nsrecurs.exp
3990 * gdb.cp/nsstress.exp
3991 * gdb.cp/nsusing.exp
3992 * gdb.cp/operator.exp
3993 * gdb.cp/oranking.exp
3994 * gdb.cp/overload-const.exp
3995 * gdb.cp/overload.exp
3996 * gdb.cp/ovldbreak.exp
3997 * gdb.cp/ovsrch.exp
3998 * gdb.cp/paren-type.exp
3999 * gdb.cp/parse-lang.exp
4000 * gdb.cp/pass-by-ref.exp
4001 * gdb.cp/pr-1023.exp
4002 * gdb.cp/pr-1210.exp
4003 * gdb.cp/pr-574.exp
4004 * gdb.cp/pr10687.exp
4005 * gdb.cp/pr12028.exp
4006 * gdb.cp/pr17132.exp
4007 * gdb.cp/pr17494.exp
4008 * gdb.cp/pr9067.exp
4009 * gdb.cp/pr9167.exp
4010 * gdb.cp/pr9631.exp
4011 * gdb.cp/printmethod.exp
4012 * gdb.cp/psmang.exp
4013 * gdb.cp/psymtab-parameter.exp
4014 * gdb.cp/ptype-cv-cp.exp
4015 * gdb.cp/ptype-flags.exp
4016 * gdb.cp/re-set-overloaded.exp
4017 * gdb.cp/ref-types.exp
4018 * gdb.cp/rtti.exp
4019 * gdb.cp/scope-err.exp
4020 * gdb.cp/shadow.exp
4021 * gdb.cp/smartp.exp
4022 * gdb.cp/static-method.exp
4023 * gdb.cp/static-print-quit.exp
4024 * gdb.cp/temargs.exp
4025 * gdb.cp/templates.exp
4026 * gdb.cp/try_catch.exp
4027 * gdb.cp/typedef-operator.exp
4028 * gdb.cp/typeid.exp
4029 * gdb.cp/userdef.exp
4030 * gdb.cp/using-crash.exp
4031 * gdb.cp/var-tag.exp
4032 * gdb.cp/virtbase.exp
4033 * gdb.cp/virtfunc.exp
4034 * gdb.cp/virtfunc2.exp
4035 * gdb.cp/vla-cxx.exp
4036 * gdb.disasm/t01_mov.exp
4037 * gdb.disasm/t02_mova.exp
4038 * gdb.disasm/t03_add.exp
4039 * gdb.disasm/t04_sub.exp
4040 * gdb.disasm/t05_cmp.exp
4041 * gdb.disasm/t06_ari2.exp
4042 * gdb.disasm/t07_ari3.exp
4043 * gdb.disasm/t08_or.exp
4044 * gdb.disasm/t09_xor.exp
4045 * gdb.disasm/t10_and.exp
4046 * gdb.disasm/t11_logs.exp
4047 * gdb.disasm/t12_bit.exp
4048 * gdb.disasm/t13_otr.exp
4049 * gdb.dlang/circular.exp
4050 * gdb.dwarf2/arr-stride.exp
4051 * gdb.dwarf2/arr-subrange.exp
4052 * gdb.dwarf2/atomic-type.exp
4053 * gdb.dwarf2/bad-regnum.exp
4054 * gdb.dwarf2/bitfield-parent-optimized-out.exp
4055 * gdb.dwarf2/callframecfa.exp
4056 * gdb.dwarf2/clztest.exp
4057 * gdb.dwarf2/corrupt.exp
4058 * gdb.dwarf2/data-loc.exp
4059 * gdb.dwarf2/dup-psym.exp
4060 * gdb.dwarf2/dw2-anon-mptr.exp
4061 * gdb.dwarf2/dw2-anonymous-func.exp
4062 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4063 * gdb.dwarf2/dw2-bad-unresolved.exp
4064 * gdb.dwarf2/dw2-basic.exp
4065 * gdb.dwarf2/dw2-canonicalize-type.exp
4066 * gdb.dwarf2/dw2-case-insensitive.exp
4067 * gdb.dwarf2/dw2-common-block.exp
4068 * gdb.dwarf2/dw2-compdir-oldgcc.exp
4069 * gdb.dwarf2/dw2-compressed.exp
4070 * gdb.dwarf2/dw2-const.exp
4071 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4072 * gdb.dwarf2/dw2-cu-size.exp
4073 * gdb.dwarf2/dw2-dup-frame.exp
4074 * gdb.dwarf2/dw2-entry-value.exp
4075 * gdb.dwarf2/dw2-icycle.exp
4076 * gdb.dwarf2/dw2-ifort-parameter.exp
4077 * gdb.dwarf2/dw2-inline-break.exp
4078 * gdb.dwarf2/dw2-inline-param.exp
4079 * gdb.dwarf2/dw2-intercu.exp
4080 * gdb.dwarf2/dw2-intermix.exp
4081 * gdb.dwarf2/dw2-lexical-block-bare.exp
4082 * gdb.dwarf2/dw2-linkage-name-trust.exp
4083 * gdb.dwarf2/dw2-minsym-in-cu.exp
4084 * gdb.dwarf2/dw2-noloc.exp
4085 * gdb.dwarf2/dw2-op-call.exp
4086 * gdb.dwarf2/dw2-op-out-param.exp
4087 * gdb.dwarf2/dw2-opt-structptr.exp
4088 * gdb.dwarf2/dw2-param-error.exp
4089 * gdb.dwarf2/dw2-producer.exp
4090 * gdb.dwarf2/dw2-ranges-base.exp
4091 * gdb.dwarf2/dw2-ref-missing-frame.exp
4092 * gdb.dwarf2/dw2-reg-undefined.exp
4093 * gdb.dwarf2/dw2-regno-invalid.exp
4094 * gdb.dwarf2/dw2-restore.exp
4095 * gdb.dwarf2/dw2-restrict.exp
4096 * gdb.dwarf2/dw2-single-line-discriminators.exp
4097 * gdb.dwarf2/dw2-strp.exp
4098 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4099 * gdb.dwarf2/dw2-unresolved.exp
4100 * gdb.dwarf2/dw2-var-zero-addr.exp
4101 * gdb.dwarf2/dw4-sig-types.exp
4102 * gdb.dwarf2/dwz.exp
4103 * gdb.dwarf2/dynarr-ptr.exp
4104 * gdb.dwarf2/enum-type.exp
4105 * gdb.dwarf2/gdb-index.exp
4106 * gdb.dwarf2/implptr-64bit.exp
4107 * gdb.dwarf2/implptr-optimized-out.exp
4108 * gdb.dwarf2/implptr.exp
4109 * gdb.dwarf2/implref-array.exp
4110 * gdb.dwarf2/implref-const.exp
4111 * gdb.dwarf2/implref-global.exp
4112 * gdb.dwarf2/implref-struct.exp
4113 * gdb.dwarf2/mac-fileno.exp
4114 * gdb.dwarf2/main-subprogram.exp
4115 * gdb.dwarf2/member-ptr-forwardref.exp
4116 * gdb.dwarf2/method-ptr.exp
4117 * gdb.dwarf2/missing-sig-type.exp
4118 * gdb.dwarf2/nonvar-access.exp
4119 * gdb.dwarf2/opaque-type-lookup.exp
4120 * gdb.dwarf2/pieces-optimized-out.exp
4121 * gdb.dwarf2/pieces.exp
4122 * gdb.dwarf2/pr10770.exp
4123 * gdb.dwarf2/pr13961.exp
4124 * gdb.dwarf2/staticvirtual.exp
4125 * gdb.dwarf2/subrange.exp
4126 * gdb.dwarf2/symtab-producer.exp
4127 * gdb.dwarf2/trace-crash.exp
4128 * gdb.dwarf2/typeddwarf.exp
4129 * gdb.dwarf2/valop.exp
4130 * gdb.dwarf2/watch-notconst.exp
4131 * gdb.fortran/array-element.exp
4132 * gdb.fortran/charset.exp
4133 * gdb.fortran/common-block.exp
4134 * gdb.fortran/complex.exp
4135 * gdb.fortran/derived-type-function.exp
4136 * gdb.fortran/derived-type.exp
4137 * gdb.fortran/logical.exp
4138 * gdb.fortran/module.exp
4139 * gdb.fortran/multi-dim.exp
4140 * gdb.fortran/nested-funcs.exp
4141 * gdb.fortran/print-formatted.exp
4142 * gdb.fortran/subarray.exp
4143 * gdb.fortran/vla-alloc-assoc.exp
4144 * gdb.fortran/vla-datatypes.exp
4145 * gdb.fortran/vla-history.exp
4146 * gdb.fortran/vla-ptr-info.exp
4147 * gdb.fortran/vla-ptype-sub.exp
4148 * gdb.fortran/vla-ptype.exp
4149 * gdb.fortran/vla-sizeof.exp
4150 * gdb.fortran/vla-type.exp
4151 * gdb.fortran/vla-value-sub-arbitrary.exp
4152 * gdb.fortran/vla-value-sub-finish.exp
4153 * gdb.fortran/vla-value-sub.exp
4154 * gdb.fortran/vla-value.exp
4155 * gdb.fortran/whatis_type.exp
4156 * gdb.go/chan.exp
4157 * gdb.go/handcall.exp
4158 * gdb.go/hello.exp
4159 * gdb.go/integers.exp
4160 * gdb.go/methods.exp
4161 * gdb.go/package.exp
4162 * gdb.go/strings.exp
4163 * gdb.go/types.exp
4164 * gdb.go/unsafe.exp
4165 * gdb.guile/scm-arch.exp
4166 * gdb.guile/scm-block.exp
4167 * gdb.guile/scm-breakpoint.exp
4168 * gdb.guile/scm-cmd.exp
4169 * gdb.guile/scm-disasm.exp
4170 * gdb.guile/scm-equal.exp
4171 * gdb.guile/scm-frame-args.exp
4172 * gdb.guile/scm-frame-inline.exp
4173 * gdb.guile/scm-frame.exp
4174 * gdb.guile/scm-iterator.exp
4175 * gdb.guile/scm-math.exp
4176 * gdb.guile/scm-objfile.exp
4177 * gdb.guile/scm-ports.exp
4178 * gdb.guile/scm-symbol.exp
4179 * gdb.guile/scm-symtab.exp
4180 * gdb.guile/scm-value-cc.exp
4181 * gdb.guile/types-module.exp
4182 * gdb.linespec/break-ask.exp
4183 * gdb.linespec/cpexplicit.exp
4184 * gdb.linespec/explicit.exp
4185 * gdb.linespec/keywords.exp
4186 * gdb.linespec/linespec.exp
4187 * gdb.linespec/ls-dollar.exp
4188 * gdb.linespec/ls-errs.exp
4189 * gdb.linespec/skip-two.exp
4190 * gdb.linespec/thread.exp
4191 * gdb.mi/mi-async.exp
4192 * gdb.mi/mi-basics.exp
4193 * gdb.mi/mi-break.exp
4194 * gdb.mi/mi-catch-load.exp
4195 * gdb.mi/mi-cli.exp
4196 * gdb.mi/mi-cmd-param-changed.exp
4197 * gdb.mi/mi-console.exp
4198 * gdb.mi/mi-detach.exp
4199 * gdb.mi/mi-disassemble.exp
4200 * gdb.mi/mi-eval.exp
4201 * gdb.mi/mi-file-transfer.exp
4202 * gdb.mi/mi-file.exp
4203 * gdb.mi/mi-fill-memory.exp
4204 * gdb.mi/mi-inheritance-syntax-error.exp
4205 * gdb.mi/mi-linespec-err-cp.exp
4206 * gdb.mi/mi-logging.exp
4207 * gdb.mi/mi-memory-changed.exp
4208 * gdb.mi/mi-read-memory.exp
4209 * gdb.mi/mi-record-changed.exp
4210 * gdb.mi/mi-reg-undefined.exp
4211 * gdb.mi/mi-regs.exp
4212 * gdb.mi/mi-return.exp
4213 * gdb.mi/mi-reverse.exp
4214 * gdb.mi/mi-simplerun.exp
4215 * gdb.mi/mi-solib.exp
4216 * gdb.mi/mi-stack.exp
4217 * gdb.mi/mi-stepi.exp
4218 * gdb.mi/mi-syn-frame.exp
4219 * gdb.mi/mi-until.exp
4220 * gdb.mi/mi-var-block.exp
4221 * gdb.mi/mi-var-child.exp
4222 * gdb.mi/mi-var-cmd.exp
4223 * gdb.mi/mi-var-cp.exp
4224 * gdb.mi/mi-var-display.exp
4225 * gdb.mi/mi-var-invalidate.exp
4226 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4227 * gdb.mi/mi-vla-fortran.exp
4228 * gdb.mi/mi-watch.exp
4229 * gdb.mi/mi2-var-child.exp
4230 * gdb.mi/user-selected-context-sync.exp
4231 * gdb.modula2/unbounded-array.exp
4232 * gdb.multi/dummy-frame-restore.exp
4233 * gdb.multi/multi-arch-exec.exp
4234 * gdb.multi/multi-arch.exp
4235 * gdb.multi/tids.exp
4236 * gdb.multi/watchpoint-multi.exp
4237 * gdb.opencl/callfuncs.exp
4238 * gdb.opencl/convs_casts.exp
4239 * gdb.opencl/datatypes.exp
4240 * gdb.opencl/operators.exp
4241 * gdb.opencl/vec_comps.exp
4242 * gdb.opt/clobbered-registers-O2.exp
4243 * gdb.opt/inline-break.exp
4244 * gdb.opt/inline-bt.exp
4245 * gdb.opt/inline-cmds.exp
4246 * gdb.opt/inline-locals.exp
4247 * gdb.pascal/case-insensitive-symbols.exp
4248 * gdb.pascal/floats.exp
4249 * gdb.pascal/gdb11492.exp
4250 * gdb.python/lib-types.exp
4251 * gdb.python/py-arch.exp
4252 * gdb.python/py-as-string.exp
4253 * gdb.python/py-bad-printers.exp
4254 * gdb.python/py-block.exp
4255 * gdb.python/py-breakpoint-create-fail.exp
4256 * gdb.python/py-breakpoint.exp
4257 * gdb.python/py-caller-is.exp
4258 * gdb.python/py-cmd.exp
4259 * gdb.python/py-explore-cc.exp
4260 * gdb.python/py-explore.exp
4261 * gdb.python/py-finish-breakpoint.exp
4262 * gdb.python/py-finish-breakpoint2.exp
4263 * gdb.python/py-frame-args.exp
4264 * gdb.python/py-frame-inline.exp
4265 * gdb.python/py-frame.exp
4266 * gdb.python/py-framefilter-mi.exp
4267 * gdb.python/py-infthread.exp
4268 * gdb.python/py-lazy-string.exp
4269 * gdb.python/py-linetable.exp
4270 * gdb.python/py-mi-events.exp
4271 * gdb.python/py-mi-objfile.exp
4272 * gdb.python/py-mi.exp
4273 * gdb.python/py-objfile.exp
4274 * gdb.python/py-pp-integral.exp
4275 * gdb.python/py-pp-maint.exp
4276 * gdb.python/py-pp-re-notag.exp
4277 * gdb.python/py-pp-registration.exp
4278 * gdb.python/py-recurse-unwind.exp
4279 * gdb.python/py-strfns.exp
4280 * gdb.python/py-symbol.exp
4281 * gdb.python/py-symtab.exp
4282 * gdb.python/py-sync-interp.exp
4283 * gdb.python/py-typeprint.exp
4284 * gdb.python/py-unwind-maint.exp
4285 * gdb.python/py-unwind.exp
4286 * gdb.python/py-value-cc.exp
4287 * gdb.python/py-xmethods.exp
4288 * gdb.reverse/amd64-tailcall-reverse.exp
4289 * gdb.reverse/break-precsave.exp
4290 * gdb.reverse/break-reverse.exp
4291 * gdb.reverse/consecutive-precsave.exp
4292 * gdb.reverse/consecutive-reverse.exp
4293 * gdb.reverse/finish-precsave.exp
4294 * gdb.reverse/finish-reverse-bkpt.exp
4295 * gdb.reverse/finish-reverse.exp
4296 * gdb.reverse/fstatat-reverse.exp
4297 * gdb.reverse/getresuid-reverse.exp
4298 * gdb.reverse/i386-precsave.exp
4299 * gdb.reverse/i386-reverse.exp
4300 * gdb.reverse/i386-sse-reverse.exp
4301 * gdb.reverse/i387-env-reverse.exp
4302 * gdb.reverse/i387-stack-reverse.exp
4303 * gdb.reverse/insn-reverse.exp
4304 * gdb.reverse/machinestate-precsave.exp
4305 * gdb.reverse/machinestate.exp
4306 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4307 * gdb.reverse/pipe-reverse.exp
4308 * gdb.reverse/readv-reverse.exp
4309 * gdb.reverse/recvmsg-reverse.exp
4310 * gdb.reverse/rerun-prec.exp
4311 * gdb.reverse/s390-mvcle.exp
4312 * gdb.reverse/step-precsave.exp
4313 * gdb.reverse/step-reverse.exp
4314 * gdb.reverse/time-reverse.exp
4315 * gdb.reverse/until-precsave.exp
4316 * gdb.reverse/until-reverse.exp
4317 * gdb.reverse/waitpid-reverse.exp
4318 * gdb.reverse/watch-precsave.exp
4319 * gdb.reverse/watch-reverse.exp
4320 * gdb.rust/generics.exp
4321 * gdb.rust/methods.exp
4322 * gdb.rust/modules.exp
4323 * gdb.rust/simple.exp
4324 * gdb.server/connect-with-no-symbol-file.exp
4325 * gdb.server/ext-attach.exp
4326 * gdb.server/ext-restart.exp
4327 * gdb.server/ext-wrapper.exp
4328 * gdb.server/file-transfer.exp
4329 * gdb.server/server-exec-info.exp
4330 * gdb.server/server-kill.exp
4331 * gdb.server/server-mon.exp
4332 * gdb.server/wrapper.exp
4333 * gdb.stabs/exclfwd.exp
4334 * gdb.stabs/gdb11479.exp
4335 * gdb.threads/clone-new-thread-event.exp
4336 * gdb.threads/corethreads.exp
4337 * gdb.threads/current-lwp-dead.exp
4338 * gdb.threads/dlopen-libpthread.exp
4339 * gdb.threads/gcore-thread.exp
4340 * gdb.threads/sigstep-threads.exp
4341 * gdb.threads/watchpoint-fork.exp
4342 * gdb.trace/actions-changed.exp
4343 * gdb.trace/backtrace.exp
4344 * gdb.trace/change-loc.exp
4345 * gdb.trace/circ.exp
4346 * gdb.trace/collection.exp
4347 * gdb.trace/disconnected-tracing.exp
4348 * gdb.trace/ftrace.exp
4349 * gdb.trace/mi-trace-frame-collected.exp
4350 * gdb.trace/mi-trace-unavailable.exp
4351 * gdb.trace/mi-traceframe-changed.exp
4352 * gdb.trace/mi-tsv-changed.exp
4353 * gdb.trace/no-attach-trace.exp
4354 * gdb.trace/passc-dyn.exp
4355 * gdb.trace/qtro.exp
4356 * gdb.trace/range-stepping.exp
4357 * gdb.trace/read-memory.exp
4358 * gdb.trace/save-trace.exp
4359 * gdb.trace/signal.exp
4360 * gdb.trace/status-stop.exp
4361 * gdb.trace/tfile.exp
4362 * gdb.trace/trace-break.exp
4363 * gdb.trace/trace-buffer-size.exp
4364 * gdb.trace/trace-condition.exp
4365 * gdb.trace/tracefile-pseudo-reg.exp
4366 * gdb.trace/tstatus.exp
4367 * gdb.trace/unavailable.exp
4368 * gdb.trace/while-dyn.exp
4369 * gdb.trace/while-stepping.exp
4370
4371 2016-12-22 Doug Evans <xdje42@gmail.com>
4372
4373 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4374 and msymbols.
4375
4376 2016-12-19 Yao Qi <yao.qi@linaro.org>
4377
4378 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4379 (test_with_self): Don't call do_steps_and_nexts, and remove
4380 code about stepping into xmalloc.
4381
4382 2016-12-09 Yao Qi <yao.qi@linaro.org>
4383
4384 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4385
4386 2016-12-09 Yao Qi <yao.qi@linaro.org>
4387
4388 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4389
4390 2016-12-09 Pedro Alves <palves@redhat.com>
4391
4392 * gdb.base/all-architectures-0.exp: New file.
4393 * gdb.base/all-architectures-1.exp: New file.
4394 * gdb.base/all-architectures-2.exp: New file.
4395 * gdb.base/all-architectures-3.exp: New file.
4396 * gdb.base/all-architectures-4.exp: New file.
4397 * gdb.base/all-architectures-5.exp: New file.
4398 * gdb.base/all-architectures-6.exp: New file.
4399 * gdb.base/all-architectures-7.exp: New file.
4400 * gdb.base/all-architectures.exp.in: New file.
4401
4402 2016-12-09 Yao Qi <yao.qi@linaro.org>
4403
4404 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4405
4406 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4407
4408 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4409 possible.
4410 Remove useless pattern-matching code.
4411
4412 2016-12-02 Pedro Alves <palves@redhat.com>
4413
4414 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4415 procedure.
4416 (top level): Call it.
4417
4418 2016-12-02 Pedro Alves <palves@redhat.com>
4419
4420 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4421 New procedure.
4422 (top level): Call it.
4423
4424 2016-12-02 Pedro Alves <palves@redhat.com>
4425
4426 PR cli/20559
4427 * gdb.base/commands.exp (user_defined_command_args_eval): New
4428 procedure.
4429 (top level): Call it.
4430
4431 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4432
4433 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4434 timeout handling.
4435
4436 2016-12-02 Tom Tromey <tom@tromey.com>
4437
4438 * gdb.dwarf2/main-subprogram.c: New file.
4439 * gdb.dwarf2/main-subprogram.exp: New file.
4440
4441 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4442
4443 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4444 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4445 gdb_test_no_output for a couple of cases.
4446 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4447
4448 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4449
4450 Fix test names and standardize compilation error messages throughout
4451 the following files:
4452
4453 * gdb.ada/start.exp
4454 * gdb.arch/alpha-step.exp
4455 * gdb.arch/e500-prologue.exp
4456 * gdb.arch/ftrace-insn-reloc.exp
4457 * gdb.arch/gdb1291.exp
4458 * gdb.arch/gdb1431.exp
4459 * gdb.arch/gdb1558.exp
4460 * gdb.arch/i386-dr3-watch.exp
4461 * gdb.arch/i386-sse-stack-align.exp
4462 * gdb.arch/ia64-breakpoint-shadow.exp
4463 * gdb.arch/pa-nullify.exp
4464 * gdb.arch/powerpc-aix-prologue.exp
4465 * gdb.arch/thumb-bx-pc.exp
4466 * gdb.base/annota1.exp
4467 * gdb.base/annota3.exp
4468 * gdb.base/arrayidx.exp
4469 * gdb.base/assign.exp
4470 * gdb.base/attach.exp
4471 * gdb.base/auxv.exp
4472 * gdb.base/bang.exp
4473 * gdb.base/bfp-test.exp
4474 * gdb.base/bigcore.exp
4475 * gdb.base/bitfields2.exp
4476 * gdb.base/break-fun-addr.exp
4477 * gdb.base/break-probes.exp
4478 * gdb.base/call-rt-st.exp
4479 * gdb.base/callexit.exp
4480 * gdb.base/catch-fork-kill.exp
4481 * gdb.base/charset.exp
4482 * gdb.base/checkpoint.exp
4483 * gdb.base/comprdebug.exp
4484 * gdb.base/constvars.exp
4485 * gdb.base/coredump-filter.exp
4486 * gdb.base/cursal.exp
4487 * gdb.base/cvexpr.exp
4488 * gdb.base/detach.exp
4489 * gdb.base/display.exp
4490 * gdb.base/dmsym.exp
4491 * gdb.base/dprintf-pending.exp
4492 * gdb.base/dso2dso.exp
4493 * gdb.base/dtrace-probe.exp
4494 * gdb.base/dump.exp
4495 * gdb.base/enum_cond.exp
4496 * gdb.base/exe-lock.exp
4497 * gdb.base/exec-invalid-sysroot.exp
4498 * gdb.base/execl-update-breakpoints.exp
4499 * gdb.base/exprs.exp
4500 * gdb.base/fileio.exp
4501 * gdb.base/find.exp
4502 * gdb.base/finish.exp
4503 * gdb.base/fixsection.exp
4504 * gdb.base/foll-vfork.exp
4505 * gdb.base/frame-args.exp
4506 * gdb.base/gcore.exp
4507 * gdb.base/gdb1250.exp
4508 * gdb.base/global-var-nested-by-dso.exp
4509 * gdb.base/gnu-ifunc.exp
4510 * gdb.base/hashline1.exp
4511 * gdb.base/hashline2.exp
4512 * gdb.base/hashline3.exp
4513 * gdb.base/hbreak-in-shr-unsupported.exp
4514 * gdb.base/huge.exp
4515 * gdb.base/infcall-input.exp
4516 * gdb.base/info-fun.exp
4517 * gdb.base/info-shared.exp
4518 * gdb.base/jit-simple.exp
4519 * gdb.base/jit-so.exp
4520 * gdb.base/jit.exp
4521 * gdb.base/jump.exp
4522 * gdb.base/label.exp
4523 * gdb.base/lineinc.exp
4524 * gdb.base/logical.exp
4525 * gdb.base/longjmp.exp
4526 * gdb.base/macscp.exp
4527 * gdb.base/miscexprs.exp
4528 * gdb.base/new-ui-echo.exp
4529 * gdb.base/new-ui-pending-input.exp
4530 * gdb.base/new-ui.exp
4531 * gdb.base/nodebug.exp
4532 * gdb.base/nofield.exp
4533 * gdb.base/offsets.exp
4534 * gdb.base/overlays.exp
4535 * gdb.base/pending.exp
4536 * gdb.base/pointers.exp
4537 * gdb.base/pr11022.exp
4538 * gdb.base/printcmds.exp
4539 * gdb.base/prologue.exp
4540 * gdb.base/ptr-typedef.exp
4541 * gdb.base/realname-expand.exp
4542 * gdb.base/relativedebug.exp
4543 * gdb.base/relocate.exp
4544 * gdb.base/remote.exp
4545 * gdb.base/reread.exp
4546 * gdb.base/return2.exp
4547 * gdb.base/savedregs.exp
4548 * gdb.base/sep.exp
4549 * gdb.base/sepdebug.exp
4550 * gdb.base/sepsymtab.exp
4551 * gdb.base/set-inferior-tty.exp
4552 * gdb.base/setshow.exp
4553 * gdb.base/shlib-call.exp
4554 * gdb.base/sigaltstack.exp
4555 * gdb.base/siginfo-addr.exp
4556 * gdb.base/signals.exp
4557 * gdb.base/signull.exp
4558 * gdb.base/sigrepeat.exp
4559 * gdb.base/so-impl-ld.exp
4560 * gdb.base/solib-display.exp
4561 * gdb.base/solib-overlap.exp
4562 * gdb.base/solib-search.exp
4563 * gdb.base/solib-symbol.exp
4564 * gdb.base/structs.exp
4565 * gdb.base/structs2.exp
4566 * gdb.base/symtab-search-order.exp
4567 * gdb.base/twice.exp
4568 * gdb.base/unload.exp
4569 * gdb.base/varargs.exp
4570 * gdb.base/watchpoint-solib.exp
4571 * gdb.base/watchpoint.exp
4572 * gdb.base/whatis.exp
4573 * gdb.base/wrong_frame_bt_full.exp
4574 * gdb.btrace/dlopen.exp
4575 * gdb.cell/ea-standalone.exp
4576 * gdb.cell/ea-test.exp
4577 * gdb.cp/dispcxx.exp
4578 * gdb.cp/gdb2384.exp
4579 * gdb.cp/method2.exp
4580 * gdb.cp/nextoverthrow.exp
4581 * gdb.cp/pr10728.exp
4582 * gdb.disasm/am33.exp
4583 * gdb.disasm/h8300s.exp
4584 * gdb.disasm/mn10300.exp
4585 * gdb.disasm/sh3.exp
4586 * gdb.dwarf2/dw2-dir-file-name.exp
4587 * gdb.fortran/complex.exp
4588 * gdb.fortran/library-module.exp
4589 * gdb.guile/scm-pretty-print.exp
4590 * gdb.guile/scm-symbol.exp
4591 * gdb.guile/scm-type.exp
4592 * gdb.guile/scm-value.exp
4593 * gdb.linespec/linespec.exp
4594 * gdb.mi/gdb701.exp
4595 * gdb.mi/gdb792.exp
4596 * gdb.mi/mi-breakpoint-changed.exp
4597 * gdb.mi/mi-dprintf-pending.exp
4598 * gdb.mi/mi-dprintf.exp
4599 * gdb.mi/mi-exit-code.exp
4600 * gdb.mi/mi-pending.exp
4601 * gdb.mi/mi-solib.exp
4602 * gdb.mi/new-ui-mi-sync.exp
4603 * gdb.mi/pr11022.exp
4604 * gdb.mi/user-selected-context-sync.exp
4605 * gdb.opt/solib-intra-step.exp
4606 * gdb.python/py-events.exp
4607 * gdb.python/py-finish-breakpoint.exp
4608 * gdb.python/py-mi.exp
4609 * gdb.python/py-prettyprint.exp
4610 * gdb.python/py-shared.exp
4611 * gdb.python/py-symbol.exp
4612 * gdb.python/py-template.exp
4613 * gdb.python/py-type.exp
4614 * gdb.python/py-value.exp
4615 * gdb.reverse/solib-precsave.exp
4616 * gdb.reverse/solib-reverse.exp
4617 * gdb.server/solib-list.exp
4618 * gdb.stabs/weird.exp
4619 * gdb.threads/reconnect-signal.exp
4620 * gdb.threads/stepi-random-signal.exp
4621 * gdb.trace/actions.exp
4622 * gdb.trace/ax.exp
4623 * gdb.trace/backtrace.exp
4624 * gdb.trace/change-loc.exp
4625 * gdb.trace/deltrace.exp
4626 * gdb.trace/ftrace-lock.exp
4627 * gdb.trace/ftrace.exp
4628 * gdb.trace/infotrace.exp
4629 * gdb.trace/mi-tracepoint-changed.exp
4630 * gdb.trace/packetlen.exp
4631 * gdb.trace/passcount.exp
4632 * gdb.trace/pending.exp
4633 * gdb.trace/range-stepping.exp
4634 * gdb.trace/report.exp
4635 * gdb.trace/stap-trace.exp
4636 * gdb.trace/tfind.exp
4637 * gdb.trace/trace-break.exp
4638 * gdb.trace/trace-condition.exp
4639 * gdb.trace/trace-enable-disable.exp
4640 * gdb.trace/trace-mt.exp
4641 * gdb.trace/tracecmd.exp
4642 * gdb.trace/tspeed.exp
4643 * gdb.trace/tsv.exp
4644 * lib/perftest.exp
4645
4646 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4647
4648 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4649 with gdb_test_no_output.
4650 Use command as test name.
4651
4652 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4653
4654 Fix test names starting with uppercase throughout the files.
4655
4656 * gdb.ada/assign_1.exp
4657 * gdb.ada/boolean_expr.exp
4658 * gdb.base/arrayidx.exp
4659 * gdb.base/del.exp
4660 * gdb.base/gcore-buffer-overflow.exp
4661 * gdb.base/testenv.exp
4662 * gdb.compile/compile.exp
4663 * gdb.python/py-framefilter-invalidarg.exp
4664 * gdb.python/py-framefilter.exp
4665
4666 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4667
4668 Fix test names starting with uppercase throughout the files.
4669
4670 * gdb.ada/array_return.exp
4671 * gdb.ada/expr_delims.exp
4672 * gdb.ada/mi_dyn_arr.exp
4673 * gdb.ada/mi_interface.exp
4674 * gdb.ada/mi_var_array.exp
4675 * gdb.ada/watch_arg.exp
4676 * gdb.arch/alpha-step.exp
4677 * gdb.arch/altivec-regs.exp
4678 * gdb.arch/e500-regs.exp
4679 * gdb.arch/powerpc-d128-regs.exp
4680 * gdb.base/arrayidx.exp
4681 * gdb.base/break.exp
4682 * gdb.base/checkpoint.exp
4683 * gdb.base/debug-expr.exp
4684 * gdb.base/dmsym.exp
4685 * gdb.base/radix.exp
4686 * gdb.base/sepdebug.exp
4687 * gdb.base/testenv.exp
4688 * gdb.base/watch_thread_num.exp
4689 * gdb.base/watchpoint-cond-gone.exp
4690 * gdb.cell/break.exp
4691 * gdb.cell/ea-cache.exp
4692 * gdb.compile/compile.exp
4693 * gdb.cp/gdb2495.exp
4694 * gdb.gdb/selftest.exp
4695 * gdb.gdb/xfullpath.exp
4696 * gdb.go/hello.exp
4697 * gdb.go/integers.exp
4698 * gdb.objc/basicclass.exp
4699 * gdb.pascal/hello.exp
4700 * gdb.pascal/integers.exp
4701 * gdb.python/py-breakpoint.exp
4702 * gdb.python/py-cmd.exp
4703 * gdb.python/py-linetable.exp
4704 * gdb.python/py-xmethods.exp
4705 * gdb.python/python.exp
4706 * gdb.reverse/consecutive-precsave.exp
4707 * gdb.reverse/finish-precsave.exp
4708 * gdb.reverse/i386-precsave.exp
4709 * gdb.reverse/machinestate-precsave.exp
4710 * gdb.reverse/sigall-precsave.exp
4711 * gdb.reverse/solib-precsave.exp
4712 * gdb.reverse/step-precsave.exp
4713 * gdb.reverse/until-precsave.exp
4714 * gdb.reverse/watch-precsave.exp
4715 * gdb.threads/leader-exit.exp
4716 * gdb.threads/pthreads.exp
4717 * gdb.threads/wp-replication.exp
4718 * gdb.trace/actions.exp
4719 * gdb.trace/mi-tsv-changed.exp
4720 * gdb.trace/tsv.exp
4721
4722 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4723
4724 Fix test names starting with uppercase throughout the files.
4725
4726 * gdb.arch/i386-bp_permanent.exp
4727 * gdb.arch/i386-gnu-cfi.exp
4728 * gdb.base/disasm-end-cu.exp
4729 * gdb.base/macscp.exp
4730 * gdb.base/pending.exp
4731 * gdb.base/watch_thread_num.exp
4732 * gdb.cp/exception.exp
4733 * gdb.cp/gdb2495.exp
4734 * gdb.cp/local.exp
4735 * gdb.python/py-evsignal.exp
4736 * gdb.python/python.exp
4737 * gdb.trace/tracecmd.exp
4738
4739 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4740
4741 Fix test names starting with uppercase throughout the files.
4742
4743 * gdb.base/charset.exp
4744 * gdb.base/eval.exp
4745 * gdb.base/multi-forks.exp
4746 * gdb.guile/scm-progspace.exp
4747 * gdb.opencl/datatypes.exp
4748 * gdb.python/py-block.exp
4749 * gdb.python/py-function.exp
4750 * gdb.python/py-symbol.exp
4751 * gdb.python/py-symtab.exp
4752 * gdb.python/py-xmethods.exp
4753 * gdb.reverse/break-precsave.exp
4754 * gdb.reverse/break-reverse.exp
4755 * gdb.reverse/consecutive-precsave.exp
4756 * gdb.reverse/consecutive-reverse.exp
4757 * gdb.reverse/finish-precsave.exp
4758 * gdb.reverse/finish-reverse-bkpt.exp
4759 * gdb.reverse/finish-reverse.exp
4760 * gdb.reverse/fstatat-reverse.exp
4761 * gdb.reverse/getresuid-reverse.exp
4762 * gdb.reverse/i386-precsave.exp
4763 * gdb.reverse/i386-reverse.exp
4764 * gdb.reverse/i386-sse-reverse.exp
4765 * gdb.reverse/i387-stack-reverse.exp
4766 * gdb.reverse/insn-reverse.exp
4767 * gdb.reverse/machinestate-precsave.exp
4768 * gdb.reverse/machinestate.exp
4769 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4770 * gdb.reverse/pipe-reverse.exp
4771 * gdb.reverse/readv-reverse.exp
4772 * gdb.reverse/recvmsg-reverse.exp
4773 * gdb.reverse/rerun-prec.exp
4774 * gdb.reverse/s390-mvcle.exp
4775 * gdb.reverse/sigall-precsave.exp
4776 * gdb.reverse/sigall-reverse.exp
4777 * gdb.reverse/solib-precsave.exp
4778 * gdb.reverse/solib-reverse.exp
4779 * gdb.reverse/step-precsave.exp
4780 * gdb.reverse/step-reverse.exp
4781 * gdb.reverse/time-reverse.exp
4782 * gdb.reverse/until-precsave.exp
4783 * gdb.reverse/until-reverse.exp
4784 * gdb.reverse/waitpid-reverse.exp
4785 * gdb.reverse/watch-precsave.exp
4786 * gdb.reverse/watch-reverse.exp
4787
4788 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4789
4790 Fix test names starting with uppercase throughout the files.
4791
4792 * gdb.arch/i386-mpx-simple_segv.exp
4793 * gdb.arch/i386-mpx.exp
4794 * gdb.arch/i386-permbkpt.exp
4795 * gdb.arch/pa-nullify.exp
4796 * gdb.arch/powerpc-d128-regs.exp
4797 * gdb.arch/vsx-regs.exp
4798 * gdb.base/bfp-test.exp
4799 * gdb.base/break.exp
4800 * gdb.base/breakpoint-shadow.exp
4801 * gdb.base/callfuncs.exp
4802 * gdb.base/charset.exp
4803 * gdb.base/commands.exp
4804 * gdb.base/completion.exp
4805 * gdb.base/dfp-test.exp
4806 * gdb.base/echo.exp
4807 * gdb.base/ending-run.exp
4808 * gdb.base/eval.exp
4809 * gdb.base/expand-psymtabs.exp
4810 * gdb.base/float128.exp
4811 * gdb.base/floatn.exp
4812 * gdb.base/foll-exec-mode.exp
4813 * gdb.base/gdb1056.exp
4814 * gdb.base/gdb11531.exp
4815 * gdb.base/kill-after-signal.exp
4816 * gdb.base/multi-forks.exp
4817 * gdb.base/overlays.exp
4818 * gdb.base/pending.exp
4819 * gdb.base/sepdebug.exp
4820 * gdb.base/testenv.exp
4821 * gdb.base/valgrind-db-attach.exp
4822 * gdb.base/watch_thread_num.exp
4823 * gdb.base/watchpoint-cond-gone.exp
4824 * gdb.base/watchpoint.exp
4825 * gdb.base/watchpoints.exp
4826 * gdb.cp/arg-reference.exp
4827 * gdb.cp/baseenum.exp
4828 * gdb.cp/operator.exp
4829 * gdb.cp/shadow.exp
4830 * gdb.dwarf2/dw2-op-out-param.exp
4831 * gdb.dwarf2/dw2-reg-undefined.exp
4832 * gdb.go/chan.exp
4833 * gdb.go/hello.exp
4834 * gdb.go/integers.exp
4835 * gdb.go/methods.exp
4836 * gdb.go/package.exp
4837 * gdb.guile/scm-parameter.exp
4838 * gdb.guile/scm-progspace.exp
4839 * gdb.guile/scm-value.exp
4840 * gdb.mi/mi-pending.exp
4841 * gdb.mi/user-selected-context-sync.exp
4842 * gdb.multi/multi-attach.exp
4843 * gdb.multi/tids.exp
4844 * gdb.opt/clobbered-registers-O2.exp
4845 * gdb.pascal/floats.exp
4846 * gdb.pascal/integers.exp
4847 * gdb.python/py-block.exp
4848 * gdb.python/py-events.exp
4849 * gdb.python/py-parameter.exp
4850 * gdb.python/py-symbol.exp
4851 * gdb.python/py-symtab.exp
4852 * gdb.python/py-type.exp
4853 * gdb.python/py-value.exp
4854 * gdb.python/py-xmethods.exp
4855 * gdb.python/python.exp
4856 * gdb.reverse/break-precsave.exp
4857 * gdb.reverse/consecutive-precsave.exp
4858 * gdb.reverse/finish-precsave.exp
4859 * gdb.reverse/i386-precsave.exp
4860 * gdb.reverse/machinestate-precsave.exp
4861 * gdb.reverse/sigall-precsave.exp
4862 * gdb.reverse/solib-precsave.exp
4863 * gdb.reverse/step-precsave.exp
4864 * gdb.reverse/until-precsave.exp
4865 * gdb.reverse/watch-precsave.exp
4866 * gdb.server/ext-attach.exp
4867 * gdb.server/ext-restart.exp
4868 * gdb.server/ext-run.exp
4869 * gdb.server/ext-wrapper.exp
4870 * gdb.stabs/gdb11479.exp
4871 * gdb.stabs/weird.exp
4872 * gdb.threads/attach-many-short-lived-threads.exp
4873 * gdb.threads/kill.exp
4874 * gdb.threads/watchpoint-fork.exp
4875
4876 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4877
4878 Fix test names starting with uppercase throughout all the files below.
4879
4880 * gdb.ada/array_return.exp
4881 * gdb.ada/catch_ex.exp
4882 * gdb.ada/info_exc.exp
4883 * gdb.ada/mi_catch_ex.exp
4884 * gdb.ada/mi_dyn_arr.exp
4885 * gdb.ada/mi_ex_cond.exp
4886 * gdb.ada/mi_exc_info.exp
4887 * gdb.ada/mi_interface.exp
4888 * gdb.ada/mi_task_arg.exp
4889 * gdb.ada/mi_task_info.exp
4890 * gdb.ada/mi_var_array.exp
4891 * gdb.arch/alpha-step.exp
4892 * gdb.arch/amd64-disp-step.exp
4893 * gdb.arch/arm-disp-step.exp
4894 * gdb.arch/disp-step-insn-reloc.exp
4895 * gdb.arch/e500-prologue.exp
4896 * gdb.arch/ftrace-insn-reloc.exp
4897 * gdb.arch/gdb1558.exp
4898 * gdb.arch/i386-bp_permanent.exp
4899 * gdb.arch/i386-disp-step.exp
4900 * gdb.arch/i386-float.exp
4901 * gdb.arch/i386-gnu-cfi.exp
4902 * gdb.arch/ia64-breakpoint-shadow.exp
4903 * gdb.arch/mips16-thunks.exp
4904 * gdb.arch/pa-nullify.exp
4905 * gdb.arch/powerpc-aix-prologue.exp
4906 * gdb.arch/powerpc-power.exp
4907 * gdb.arch/ppc-dfp.exp
4908 * gdb.arch/s390-tdbregs.exp
4909 * gdb.arch/spu-info.exp
4910 * gdb.arch/spu-ls.exp
4911 * gdb.arch/thumb-bx-pc.exp
4912 * gdb.base/advance.exp
4913 * gdb.base/annota-input-while-running.exp
4914 * gdb.base/arrayidx.exp
4915 * gdb.base/asmlabel.exp
4916 * gdb.base/async.exp
4917 * gdb.base/attach-wait-input.exp
4918 * gdb.base/auto-connect-native-target.exp
4919 * gdb.base/batch-preserve-term-settings.exp
4920 * gdb.base/bfp-test.exp
4921 * gdb.base/bigcore.exp
4922 * gdb.base/bp-permanent.exp
4923 * gdb.base/break-always.exp
4924 * gdb.base/break-fun-addr.exp
4925 * gdb.base/break-idempotent.exp
4926 * gdb.base/break-main-file-remove-fail.exp
4927 * gdb.base/break-probes.exp
4928 * gdb.base/break-unload-file.exp
4929 * gdb.base/break.exp
4930 * gdb.base/call-ar-st.exp
4931 * gdb.base/call-rt-st.exp
4932 * gdb.base/call-sc.exp
4933 * gdb.base/call-signal-resume.exp
4934 * gdb.base/call-strs.exp
4935 * gdb.base/callexit.exp
4936 * gdb.base/callfuncs.exp
4937 * gdb.base/catch-gdb-caused-signals.exp
4938 * gdb.base/catch-signal-siginfo-cond.exp
4939 * gdb.base/catch-syscall.exp
4940 * gdb.base/compare-sections.exp
4941 * gdb.base/cond-eval-mode.exp
4942 * gdb.base/condbreak-call-false.exp
4943 * gdb.base/consecutive-step-over.exp
4944 * gdb.base/cursal.exp
4945 * gdb.base/disabled-location.exp
4946 * gdb.base/disasm-end-cu.exp
4947 * gdb.base/display.exp
4948 * gdb.base/double-prompt-target-event-error.exp
4949 * gdb.base/dprintf-bp-same-addr.exp
4950 * gdb.base/dprintf-detach.exp
4951 * gdb.base/dprintf-next.exp
4952 * gdb.base/dprintf-non-stop.exp
4953 * gdb.base/dprintf-pending.exp
4954 * gdb.base/dso2dso.exp
4955 * gdb.base/ending-run.exp
4956 * gdb.base/enum_cond.exp
4957 * gdb.base/examine-backward.exp
4958 * gdb.base/exe-lock.exp
4959 * gdb.base/exec-invalid-sysroot.exp
4960 * gdb.base/execl-update-breakpoints.exp
4961 * gdb.base/execution-termios.exp
4962 * gdb.base/fileio.exp
4963 * gdb.base/fixsection.exp
4964 * gdb.base/foll-exec-mode.exp
4965 * gdb.base/foll-exec.exp
4966 * gdb.base/fork-running-state.exp
4967 * gdb.base/frame-args.exp
4968 * gdb.base/fullpath-expand.exp
4969 * gdb.base/func-ptr.exp
4970 * gdb.base/gcore-relro-pie.exp
4971 * gdb.base/gdb1090.exp
4972 * gdb.base/gdb1555.exp
4973 * gdb.base/global-var-nested-by-dso.exp
4974 * gdb.base/gnu-ifunc.exp
4975 * gdb.base/hbreak-in-shr-unsupported.exp
4976 * gdb.base/hbreak-unmapped.exp
4977 * gdb.base/hook-stop.exp
4978 * gdb.base/infcall-input.exp
4979 * gdb.base/info-fun.exp
4980 * gdb.base/info-shared.exp
4981 * gdb.base/interrupt-noterm.exp
4982 * gdb.base/jit-so.exp
4983 * gdb.base/jit.exp
4984 * gdb.base/line-symtabs.exp
4985 * gdb.base/list.exp
4986 * gdb.base/longjmp.exp
4987 * gdb.base/macscp.exp
4988 * gdb.base/max-value-size.exp
4989 * gdb.base/nodebug.exp
4990 * gdb.base/nofield.exp
4991 * gdb.base/overlays.exp
4992 * gdb.base/paginate-after-ctrl-c-running.exp
4993 * gdb.base/paginate-bg-execution.exp
4994 * gdb.base/paginate-inferior-exit.exp
4995 * gdb.base/pending.exp
4996 * gdb.base/pr11022.exp
4997 * gdb.base/printcmds.exp
4998 * gdb.base/ptr-typedef.exp
4999 * gdb.base/ptype.exp
5000 * gdb.base/randomize.exp
5001 * gdb.base/range-stepping.exp
5002 * gdb.base/realname-expand.exp
5003 * gdb.base/relativedebug.exp
5004 * gdb.base/remote.exp
5005 * gdb.base/savedregs.exp
5006 * gdb.base/sepdebug.exp
5007 * gdb.base/set-noassign.exp
5008 * gdb.base/shlib-call.exp
5009 * gdb.base/shreloc.exp
5010 * gdb.base/sigaltstack.exp
5011 * gdb.base/sigbpt.exp
5012 * gdb.base/siginfo-addr.exp
5013 * gdb.base/siginfo-obj.exp
5014 * gdb.base/siginfo-thread.exp
5015 * gdb.base/signest.exp
5016 * gdb.base/signull.exp
5017 * gdb.base/sigrepeat.exp
5018 * gdb.base/skip.exp
5019 * gdb.base/so-impl-ld.exp
5020 * gdb.base/solib-corrupted.exp
5021 * gdb.base/solib-disc.exp
5022 * gdb.base/solib-display.exp
5023 * gdb.base/solib-overlap.exp
5024 * gdb.base/solib-search.exp
5025 * gdb.base/solib-symbol.exp
5026 * gdb.base/source-execution.exp
5027 * gdb.base/sss-bp-on-user-bp-2.exp
5028 * gdb.base/sss-bp-on-user-bp.exp
5029 * gdb.base/stack-checking.exp
5030 * gdb.base/stale-infcall.exp
5031 * gdb.base/step-break.exp
5032 * gdb.base/step-line.exp
5033 * gdb.base/step-over-exit.exp
5034 * gdb.base/step-test.exp
5035 * gdb.base/structs.exp
5036 * gdb.base/sym-file.exp
5037 * gdb.base/symtab-search-order.exp
5038 * gdb.base/term.exp
5039 * gdb.base/type-opaque.exp
5040 * gdb.base/unload.exp
5041 * gdb.base/until-nodebug.exp
5042 * gdb.base/until.exp
5043 * gdb.base/unwindonsignal.exp
5044 * gdb.base/watch-cond.exp
5045 * gdb.base/watch-non-mem.exp
5046 * gdb.base/watch_thread_num.exp
5047 * gdb.base/watchpoint-reuse-slot.exp
5048 * gdb.base/watchpoint-solib.exp
5049 * gdb.base/watchpoint.exp
5050 * gdb.btrace/dlopen.exp
5051 * gdb.cell/arch.exp
5052 * gdb.cell/break.exp
5053 * gdb.cell/bt.exp
5054 * gdb.cell/core.exp
5055 * gdb.cell/data.exp
5056 * gdb.cell/dwarfaddr.exp
5057 * gdb.cell/ea-cache.exp
5058 * gdb.cell/ea-standalone.exp
5059 * gdb.cell/ea-test.exp
5060 * gdb.cell/f-regs.exp
5061 * gdb.cell/fork.exp
5062 * gdb.cell/gcore.exp
5063 * gdb.cell/mem-access.exp
5064 * gdb.cell/ptype.exp
5065 * gdb.cell/registers.exp
5066 * gdb.cell/sizeof.exp
5067 * gdb.cell/solib-symbol.exp
5068 * gdb.cell/solib.exp
5069 * gdb.compile/compile-tls.exp
5070 * gdb.cp/exception.exp
5071 * gdb.cp/gdb2495.exp
5072 * gdb.cp/local.exp
5073 * gdb.cp/mb-inline.exp
5074 * gdb.cp/mb-templates.exp
5075 * gdb.cp/pr10687.exp
5076 * gdb.cp/pr9167.exp
5077 * gdb.cp/scope-err.exp
5078 * gdb.cp/templates.exp
5079 * gdb.cp/virtfunc.exp
5080 * gdb.dwarf2/dw2-dir-file-name.exp
5081 * gdb.dwarf2/dw2-single-line-discriminators.exp
5082 * gdb.fortran/complex.exp
5083 * gdb.fortran/library-module.exp
5084 * gdb.guile/guile.exp
5085 * gdb.guile/scm-cmd.exp
5086 * gdb.guile/scm-frame-inline.exp
5087 * gdb.guile/scm-objfile.exp
5088 * gdb.guile/scm-pretty-print.exp
5089 * gdb.guile/scm-symbol.exp
5090 * gdb.guile/scm-type.exp
5091 * gdb.guile/scm-value.exp
5092 * gdb.linespec/keywords.exp
5093 * gdb.linespec/ls-errs.exp
5094 * gdb.linespec/macro-relative.exp
5095 * gdb.linespec/thread.exp
5096 * gdb.mi/mi-breakpoint-changed.exp
5097 * gdb.mi/mi-dprintf-pending.exp
5098 * gdb.mi/mi-fullname-deleted.exp
5099 * gdb.mi/mi-logging.exp
5100 * gdb.mi/mi-pending.exp
5101 * gdb.mi/mi-solib.exp
5102 * gdb.mi/new-ui-mi-sync.exp
5103 * gdb.mi/user-selected-context-sync.exp
5104 * gdb.multi/dummy-frame-restore.exp
5105 * gdb.multi/multi-arch-exec.exp
5106 * gdb.multi/remove-inferiors.exp
5107 * gdb.multi/watchpoint-multi-exit.exp
5108 * gdb.opt/solib-intra-step.exp
5109 * gdb.perf/backtrace.exp
5110 * gdb.perf/single-step.exp
5111 * gdb.perf/skip-command.exp
5112 * gdb.perf/skip-prologue.exp
5113 * gdb.perf/solib.exp
5114 * gdb.python/lib-types.exp
5115 * gdb.python/py-as-string.exp
5116 * gdb.python/py-bad-printers.exp
5117 * gdb.python/py-block.exp
5118 * gdb.python/py-breakpoint.exp
5119 * gdb.python/py-cmd.exp
5120 * gdb.python/py-events.exp
5121 * gdb.python/py-evthreads.exp
5122 * gdb.python/py-finish-breakpoint.exp
5123 * gdb.python/py-finish-breakpoint2.exp
5124 * gdb.python/py-frame-inline.exp
5125 * gdb.python/py-frame.exp
5126 * gdb.python/py-inferior.exp
5127 * gdb.python/py-infthread.exp
5128 * gdb.python/py-mi.exp
5129 * gdb.python/py-objfile.exp
5130 * gdb.python/py-pp-maint.exp
5131 * gdb.python/py-pp-registration.exp
5132 * gdb.python/py-prettyprint.exp
5133 * gdb.python/py-recurse-unwind.exp
5134 * gdb.python/py-shared.exp
5135 * gdb.python/py-symbol.exp
5136 * gdb.python/py-symtab.exp
5137 * gdb.python/py-template.exp
5138 * gdb.python/py-type.exp
5139 * gdb.python/py-unwind-maint.exp
5140 * gdb.python/py-unwind.exp
5141 * gdb.python/py-value.exp
5142 * gdb.python/python.exp
5143 * gdb.reverse/finish-reverse-bkpt.exp
5144 * gdb.reverse/insn-reverse.exp
5145 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5146 * gdb.reverse/solib-precsave.exp
5147 * gdb.reverse/solib-reverse.exp
5148 * gdb.stabs/gdb11479.exp
5149 * gdb.stabs/weird.exp
5150 * gdb.threads/fork-child-threads.exp
5151 * gdb.threads/fork-plus-threads.exp
5152 * gdb.threads/fork-thread-pending.exp
5153 * gdb.threads/forking-threads-plus-breakpoint.exp
5154 * gdb.threads/hand-call-in-threads.exp
5155 * gdb.threads/interrupted-hand-call.exp
5156 * gdb.threads/linux-dp.exp
5157 * gdb.threads/local-watch-wrong-thread.exp
5158 * gdb.threads/next-while-other-thread-longjmps.exp
5159 * gdb.threads/non-ldr-exit.exp
5160 * gdb.threads/pending-step.exp
5161 * gdb.threads/print-threads.exp
5162 * gdb.threads/process-dies-while-detaching.exp
5163 * gdb.threads/process-dies-while-handling-bp.exp
5164 * gdb.threads/pthreads.exp
5165 * gdb.threads/queue-signal.exp
5166 * gdb.threads/reconnect-signal.exp
5167 * gdb.threads/signal-command-handle-nopass.exp
5168 * gdb.threads/signal-command-multiple-signals-pending.exp
5169 * gdb.threads/signal-delivered-right-thread.exp
5170 * gdb.threads/signal-sigtrap.exp
5171 * gdb.threads/sigthread.exp
5172 * gdb.threads/staticthreads.exp
5173 * gdb.threads/stepi-random-signal.exp
5174 * gdb.threads/thread-unwindonsignal.exp
5175 * gdb.threads/thread_check.exp
5176 * gdb.threads/thread_events.exp
5177 * gdb.threads/tid-reuse.exp
5178 * gdb.threads/tls-nodebug.exp
5179 * gdb.threads/tls-shared.exp
5180 * gdb.threads/tls-so_extern.exp
5181 * gdb.threads/tls.exp
5182 * gdb.threads/wp-replication.exp
5183 * gdb.trace/actions-changed.exp
5184 * gdb.trace/actions.exp
5185 * gdb.trace/backtrace.exp
5186 * gdb.trace/change-loc.exp
5187 * gdb.trace/collection.exp
5188 * gdb.trace/deltrace.exp
5189 * gdb.trace/disconnected-tracing.exp
5190 * gdb.trace/entry-values.exp
5191 * gdb.trace/ftrace-lock.exp
5192 * gdb.trace/ftrace.exp
5193 * gdb.trace/infotrace.exp
5194 * gdb.trace/mi-trace-frame-collected.exp
5195 * gdb.trace/mi-trace-unavailable.exp
5196 * gdb.trace/mi-traceframe-changed.exp
5197 * gdb.trace/mi-tracepoint-changed.exp
5198 * gdb.trace/mi-tsv-changed.exp
5199 * gdb.trace/no-attach-trace.exp
5200 * gdb.trace/packetlen.exp
5201 * gdb.trace/passc-dyn.exp
5202 * gdb.trace/passcount.exp
5203 * gdb.trace/pending.exp
5204 * gdb.trace/pr16508.exp
5205 * gdb.trace/qtro.exp
5206 * gdb.trace/range-stepping.exp
5207 * gdb.trace/read-memory.exp
5208 * gdb.trace/report.exp
5209 * gdb.trace/save-trace.exp
5210 * gdb.trace/signal.exp
5211 * gdb.trace/stap-trace.exp
5212 * gdb.trace/status-stop.exp
5213 * gdb.trace/strace.exp
5214 * gdb.trace/tfile.exp
5215 * gdb.trace/tfind.exp
5216 * gdb.trace/trace-break.exp
5217 * gdb.trace/trace-condition.exp
5218 * gdb.trace/trace-enable-disable.exp
5219 * gdb.trace/trace-mt.exp
5220 * gdb.trace/tracecmd.exp
5221 * gdb.trace/tracefile-pseudo-reg.exp
5222 * gdb.trace/tspeed.exp
5223 * gdb.trace/tstatus.exp
5224 * gdb.trace/tsv.exp
5225 * gdb.trace/unavailable.exp
5226 * gdb.trace/while-dyn.exp
5227 * gdb.trace/while-stepping.exp
5228 * lib/gdb-guile.exp
5229 * lib/gdb.exp
5230 * lib/mi-support.exp
5231 * lib/pascal.exp
5232 * lib/perftest.exp
5233 * lib/prelink-support.exp
5234 * lib/selftest-support.exp
5235
5236 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5237
5238 * Makefile.in: Include disable-implicit-rules.mk.
5239
5240 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5241
5242 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5243 non-byte-aligned bit fields.
5244
5245 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5246
5247 PR gdb/12616
5248 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5249 respects the DW_AT_data_bit_offset attribute.
5250
5251 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5252
5253 * gdb.base/default.exp: Fix output of "set language".
5254
5255 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5256
5257 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5258 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5259 make.
5260 * configure.ac: Remove checks for the make program.
5261 * configure: Re-generate.
5262
5263 2016-11-16 Kevin Buettner <kevinb@redhat.com>
5264
5265 * gdb.python/py-recurse-unwind.c (main): Add loop.
5266 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5267 to read_register() and gdb.parse_and_eval(). Make each code
5268 call a separate case that can be individually tested.
5269 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5270 proc. Call cont_and_backtrace for each of the code paths that
5271 we want to test in the unwinder.
5272
5273 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5274
5275 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5276 the definition of struct S.
5277
5278 2016-11-11 Catherine Moore <clm@codesourcery.com>
5279
5280 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5281
5282 2016-11-09 Pedro Alves <palves@redhat.com>
5283
5284 * gdb.base/commands.exp (runto_or_return): New procedure.
5285 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5286 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5287 (progvar_simple_while_test, progvar_complex_if_while_test)
5288 (if_while_breakpoint_command_test)
5289 (infrun_breakpoint_command_test, breakpoint_command_test)
5290 (user_defined_command_test, watchpoint_command_test)
5291 (test_command_prompt_position, redefine_hook_test)
5292 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5293 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5294 multi_line_input and multi_line. Remove gdb_expect and
5295 gdb_stop_suppressing_tests uses.
5296 * lib/gdb.exp (valnum_re): New global.
5297 (multi_line_input): New procedure.
5298
5299 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5300
5301 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5302 Remove.
5303 (test_setup): Define with proc_with_prefix.
5304 (test_cli_inferior): Likewise.
5305 (test_cli_thread): Likewise.
5306 (test_cli_frame): Likewise.
5307 (test_cli_select_frame): Likewise.
5308 (test_cli_up_down): Likewise.
5309 (test_mi_thread_select): Likewise.
5310 (test_mi_stack_select_frame): Likewise.
5311 (test_cli_in_mi_inferior): Likewise.
5312 (test_cli_in_mi_thread): Likewise.
5313 (test_cli_in_mi_frame): Likewise.
5314 (top level): Do not use with_test_prefix_procname.
5315
5316 2016-11-09 Pedro Alves <palves@redhat.com>
5317
5318 * gdb.base/commands.exp (gdbvar_simple_if_test)
5319 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5320 (progvar_simple_if_test, progvar_simple_while_test)
5321 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5322 (infrun_breakpoint_command_test, breakpoint_command_test)
5323 (user_defined_command_test, watchpoint_command_test)
5324 (test_command_prompt_position, deprecated_command_test)
5325 (bp_deleted_in_command, temporary_breakpoint_commands)
5326 (stray_arg0_test, source_file_with_indented_comment)
5327 (recursive_source_test, if_commands_test)
5328 (error_clears_commands_left, redefine_hook_test)
5329 (redefine_backtrace_test): Use proc_with_prefix.
5330 * lib/gdb.exp (proc_with_prefix): New proc.
5331
5332 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5333
5334 * gdb.base/tui-layout.c: New file.
5335 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5336 disassembly window contains very long lines.
5337
5338 2016-11-08 Tom Tromey <tom@tromey.com>
5339
5340 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5341 depend on Python 2.
5342
5343 2016-11-08 Tom Tromey <tom@tromey.com>
5344
5345 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5346 New method.
5347
5348 2016-10-29 Manish Goregaokar <manish@mozilla.com>
5349
5350 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5351
5352 2016-10-27 Manish Goregaokar <manish@mozilla.com>
5353
5354 * gdb.rust/simple.rs: Add test for univariant enums without
5355 discriminants and for encoded struct-like enums.
5356
5357 2016-10-28 Pedro Alves <palves@redhat.com>
5358
5359 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5360 gdb_test_multiple, tighten regexps and match symtabs and line
5361 tables incrementally.
5362
5363 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
5364
5365 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5366 general.
5367
5368 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
5369
5370 * gdb.base/exec-invalid-sysroot.exp: New file.
5371
5372 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5373
5374 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5375
5376 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5377
5378 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5379
5380 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5381
5382 * gdb.base/killed-outside.exp: Remove $options from a call to
5383 `prepare_for_testing'.
5384
5385 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5386
5387 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5388 Change test message.
5389
5390 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5391
5392 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5393 Update comment.
5394
5395 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5396
5397 * gdb.trace/mi-trace-save.exp: New file.
5398
5399 2016-10-13 Yao Qi <yao.qi@linaro.org>
5400
5401 * gdb.base/code_elim.exp (get_var_address): Remove.
5402 * gdb.base/relocate.exp: Likewise.
5403 * gdb.base/shreloc.exp: Likewise.
5404 * lib/gdb.exp (get_var_address): New.
5405
5406 2016-10-13 Yao Qi <yao.qi@linaro.org>
5407
5408 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5409 floating point tests if $skip_float_test is false.
5410
5411 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
5412
5413 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5414 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5415 argc values.
5416 Add 1 to argc so we guarantee distinct initial/modified argc values.
5417
5418 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5419
5420 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5421
5422 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5423
5424 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5425 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5426 * gdb.arch/vsx-regs.exp: Likewise.
5427
5428 2016-10-07 Yao Qi <yao.qi@linaro.org>
5429
5430 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5431
5432 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5433
5434 * gdb.python/python.exp: Test decode_line("*0").
5435
5436 2016-10-06 Doug Evans <dje@google.com>
5437
5438 * gdb.python/py-value.exp (test_value_creation): Add test for large
5439 unsigned 64-bit value.
5440
5441 2016-10-06 Tom Tromey <tom@tromey.com>
5442
5443 * gdb.compile/compile.exp: Change java tests to rust.
5444 * gdb.base/setshow.exp: Change java tests to rust.
5445 * gdb.base/default.exp: Remove java from language list.
5446 * README (Examples): Update language example.
5447 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5448 test.
5449 * lib/gdb.exp (skip_java_tests): Remove.
5450 * lib/java.exp: Remove.
5451 * gdb.java: Remove.
5452
5453 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5454
5455 * gdb.arch/mips-fcr.exp: New test.
5456 * gdb.arch/mips-fcr.c: Source for the new test.
5457
5458 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5459
5460 * gdb.base/solib-disc.exp: Use `standard_output_file'
5461 throughout.
5462
5463 2016-10-06 Pedro Alves <palves@redhat.com>
5464
5465 * gdb.base/jit-simple-dl.c: New file.
5466 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5467 * gdb.base/jit-simple.c: ... this.
5468 * gdb.base/jit-simple.exp (jit_run): Delete.
5469 (build_jit): New proc.
5470 (jit_test_reread): Recompile either the main program or the shared
5471 library, depending on what is being tested. Skip changing address
5472 if caller wants to. Compare before/after addresses. If testing
5473 standalone, explicitly load the binary. Test "maint info
5474 breakpoints".
5475 (top level): Add "standalone vs shared lib" and "change address"
5476 vs "same address" axes.
5477
5478 2016-10-06 Pedro Alves <palves@redhat.com>
5479
5480 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5481 call.
5482 (jit_run): Delete.
5483 (jit_test_reread): Use with_test_prefix. Reload the main binary
5484 explicitly. Compare the before/after addresses of the JIT
5485 descriptor.
5486
5487 2016-08-15 Doug Evans <dje@google.com>
5488
5489 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5490 for single bitfields is bool.
5491 * gdb.xml/tdesc-regs.exp: Ditto.
5492
5493 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5494
5495 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5496
5497 2016-10-05 Yao Qi <yao.qi@linaro.org>
5498
5499 * lib/gdb.exp (support_complex_tests): Return zero if
5500 gdb_skip_float_test return true.
5501
5502 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5503 Simon Marchi <simon.marchi@ericsson.com>
5504
5505 PR gdb/20487
5506 * gdb.mi/user-selected-context-sync.exp: New file.
5507 * gdb.mi/user-selected-context-sync.c: New file.
5508
5509 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5510 Simon Marchi <simon.marchi@ericsson.com>
5511
5512 PR gdb/20487
5513 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5514 =thread-select-event check.
5515
5516 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5517
5518 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5519 the compulsory L operand changes.
5520 * gdb.arch/powerpc-power.s: Likewise.
5521
5522 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5523
5524 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5525 * gdb.base/jit-attach-pie.c: New file.
5526 * gdb.base/jit-attach-pie.exp: New file.
5527
5528 2016-09-28 Pedro Alves <palves@redhat.com>
5529
5530 * gdb.base/infcall-input.c: New file.
5531 * gdb.base/infcall-input.exp: New file.
5532
5533 2016-09-22 Yao Qi <yao.qi@linaro.org>
5534
5535 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5536 (gdb_exit): Rename it to ...
5537 (gdbserver_gdb_exit): ... Close GDBserver.
5538 (gdb_exit): New proc, call gdbserver_gdb_exit.
5539 (mi_gdb_exit): Likewise.
5540
5541 2016-09-22 Yao Qi <yao.qi@linaro.org>
5542
5543 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5544 path.
5545 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5546 Remove duplication.
5547
5548 2016-09-22 Yao Qi <yao.qi@linaro.org>
5549
5550 * lib/gdbserver-support.exp: Check the existence of
5551 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5552
5553 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5554
5555 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5556
5557 2016-09-21 Tom Tromey <tom@tromey.com>
5558
5559 PR gdb/20604:
5560 * gdb.base/quit.exp: New file.
5561
5562 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5563
5564 * .gitignore: New file.
5565
5566 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5567
5568 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5569 throughout.
5570
5571 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5572
5573 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5574
5575 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5576
5577 * gdb.cp/casts.cc (decltype): Move it ...
5578 (main): ... with its call to ...
5579 * gdb.cp/casts03.cc: ... a new file.
5580 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5581
5582 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5583
5584 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5585
5586 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
5587
5588 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5589 and sync up the test with tests in gas/testsuite/gas/ppc.
5590 * gdb.arch/powerpc-power.exp: Likewise.
5591
5592 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5593
5594 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5595
5596 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
5597 Jan Kratochvil <jan.kratochvil@redhat.com>
5598
5599 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5600 make m1's definition to be different from m2's. Use 'dummy' as an
5601 argument for probe 'two'.
5602
5603 2016-09-10 Jon Beniston <jon@beniston.com>
5604
5605 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5606 for sim target.
5607
5608 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5609
5610 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5611 variable declaration.
5612 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
5613 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5614 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5615 received HWCAP as its argument.
5616
5617 2016-09-06 Pedro Alves <palves@redhat.com>
5618
5619 * gdb.base/new-ui-pending-input.c: New file.
5620 * gdb.base/new-ui-pending-input.exp: New file.
5621 * gdb.exp (clear_gdb_spawn_id): New procedure.
5622 (with_spawn_id): Check whether gdb_spawn_id exists before
5623 referencing it. If gdb_spawn_id didn't exist on entry, clear it
5624 on exit.
5625
5626 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5627
5628 * gdb.base/float128.c: New file.
5629 * gdb.base/float128.exp: Likewise.
5630 * gdb.base/floatn.c: Likewise.
5631 * gdb.base/floatn.exp: Likewise.
5632
5633 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5634
5635 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5636
5637 2016-09-05 Pedro Alves <palves@redhat.com>
5638
5639 PR backtrace/19927
5640 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5641 unwinders are immediately called as side effect of "source" or
5642 "disable unwinder" commands.
5643 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5644
5645 2016-09-02 Yao Qi <yao.qi@linaro.org>
5646
5647 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5648 is true and $type is "float" or "double".
5649
5650 2016-09-02 Yao Qi <yao.qi@linaro.org>
5651
5652 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5653 true.
5654 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5655 * gdb.base/call-rt-st.exp: Likewise.
5656 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5657 return value instead of gdb,skip_float_test.
5658 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5659 (do_function_calls): Use its return value instead of
5660 gdb,skip_float_test.
5661 * gdb.base/finish.exp: Likewise.
5662 * gdb.base/funcargs.exp: Likewise.
5663 * gdb.base/return.exp: Likewise.
5664 * gdb.base/return2.exp: Likewise.
5665 * gdb.base/varargs.exp: Likewise.
5666 * lib/gdb.exp (gdb_skip_float_test): Change it to
5667 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5668
5669 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5670
5671 * gdb.multi/tids.exp: Test "thread apply all".
5672
5673 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5674
5675 * gdb.base/default.exp (tty): Remove.
5676
5677 2016-08-24 Kevin Buettner <kevinb@redhat.com>
5678
5679 * gdb.python/py-recurse-unwind.c: New file.
5680 * gdb.python/py-recurse-unwind.py: New file.
5681 * gdb.python/py-recurse-unwind.exp: New file.
5682
5683 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5684
5685 * gdb.base/set-inferior-tty.exp: New file.
5686 * gdb.base/set-inferior-tty.c: New file.
5687
5688 2016-08-23 Pedro Alves <palves@redhat.com>
5689
5690 PR gdb/20494
5691 * gdb.base/new-ui-echo.c: New file.
5692 * gdb.base/new-ui-echo.exp: New file.
5693
5694 2016-08-23 Yao Qi <yao.qi@linaro.org>
5695
5696 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5697 gdbserver_spawn.
5698 * gdb.server/connect-without-multi-process.exp (do_test):
5699 Likewise.
5700
5701 2016-08-23 Yao Qi <yao.qi@linaro.org>
5702
5703 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5704 standalone_txt. Delete gdb_txt and standalone_txt on host
5705 and target. Spawn the binary on target. Copy files from
5706 target to host.
5707
5708 2016-08-22 Pedro Alves <palves@redhat.com>
5709
5710 PR gdb/20505
5711 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5712 with_test_prefix. Factor out bits to ...
5713 (test_no_vdso): ... this new procedure.
5714
5715 2016-08-19 Carl Love <cel@us.ibm.com>
5716
5717 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5718 maintaining separate logic for constructing the output path.
5719 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5720 * gdb.arch/ppc-dfp.exp: Likewise.
5721 * gdb.arch/ppc-fp.exp: Likewise.
5722 * gdb.arch/vsx-regs.exp: Likewise.
5723 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5724 binprefix for generating the additional binary files.
5725
5726 2016-08-19 Pedro Alves <palves@redhat.com>
5727
5728 * gdb.trace/mi-trace-frame-collected.exp
5729 (test_trace_frame_collected): On x32, expect two registers.
5730
5731 2016-08-18 Carl Love <cel@us.ibm.com>
5732
5733 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5734 and sync up the test with tests in gas/testsuite/gas/ppc.
5735 * gdb.arch/powerpc-power.exp: Likewise.
5736
5737 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5738
5739 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5740 expected error message.
5741
5742 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5743
5744 * gdb.multi/remove-inferiors.exp: New file.
5745 * gdb.multi/remove-inferiors.c: New file.
5746
5747 2016-08-12 Yao Qi <yao.qi@linaro.org>
5748
5749 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5750 argument list.
5751
5752 2016-08-10 Pedro Alves <palves@redhat.com>
5753
5754 PR gdb/19187
5755 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5756 setup_kfails.
5757
5758 2016-08-09 Pedro Alves <palves@redhat.com>
5759 Simon Marchi <simon.marchi@ericsson.com>
5760
5761 PR gdb/20418
5762 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5763 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5764
5765 2016-08-09 Pedro Alves <palves@redhat.com>
5766
5767 PR mi/20431
5768 * gdb.mi/mi-cmd-error.exp: New file.
5769
5770 2016-08-09 Pedro Alves <palves@redhat.com>
5771
5772 PR gdb/18653
5773 * gdb.base/signals-state-child.c: New file.
5774 * gdb.base/signals-state-child.exp: New file.
5775 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5776
5777 2016-08-09 Pedro Alves <palves@redhat.com>
5778
5779 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5780
5781 2016-08-03 Tom Tromey <tom@tromey.com>
5782
5783 PR python/18565:
5784 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5785
5786 2016-08-01 Yao Qi <yao.qi@linaro.org>
5787
5788 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5789 variable mode to "multi-process" if $multi_process is 1, otherwise
5790 set it to "single-process".
5791
5792 2016-08-01 Yao Qi <yao.qi@linaro.org>
5793
5794 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5795 * gdb.cp/cpexprs.exp: Likewise.
5796 * gdb.cp/m-static.exp: Likewise.
5797
5798 2016-07-26 Tom Tromey <tom@tromey.com>
5799
5800 PR python/20190:
5801 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5802 test.
5803
5804 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5805
5806 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5807 selecting assembly source files.
5808 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5809 assembly source files.
5810 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5811 assembly source files.
5812 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5813 selecting assembly source files.
5814
5815 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5816
5817 * gdb.base/new-ui.exp (do_test_invalid_args): New
5818 procedure.
5819
5820 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5821
5822 * gdb.btrace/reconnect.c: New file.
5823 * gdb.btrace/reconnect.exp: New file.
5824
5825 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5826
5827 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5828 to test_catch_syscall_group.
5829 (test_catch_syscall_group): New.
5830
5831 2016-07-21 Tom Tromey <tom@tromey.com>
5832
5833 * gdb.rust/simple.rs (main): Use empty struct expression.
5834 * gdb.rust/simple.exp: Add tests for empty struct expression.
5835
5836 2016-07-21 Yao Qi <yao.qi@linaro.org>
5837
5838 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5839 if gdb_skip_xml_test is true on some targets.
5840
5841 2016-07-21 Yao Qi <yao.qi@linaro.org>
5842
5843 * gdb.server/solib-list.exp: Unset last_loaded_file.
5844
5845 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5846
5847 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5848 "step into captured_main (args)".
5849
5850 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5851
5852 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5853
5854 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5855
5856 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5857
5858 2016-07-19 Pedro Alves <palves@redhat.com>
5859
5860 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5861 * gdb.opt/inline-bt.exp: Likewise.
5862 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5863 additional_flags=-Winline.
5864 * gdb.opt/inline-locals.exp: Likewise.
5865 * gdb.opt/inline-markers.c (ATTR): Define.
5866 (inlined_fn): Use it.
5867
5868 2016-07-19 Yao Qi <yao.qi@linaro.org>
5869
5870 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5871 (test_with_self): Remove some code. Remove argument executable.
5872 (top-level): Use do_self_tests.
5873
5874 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
5875 Don Breazeal <donb@codesourcery.com>
5876
5877 * gdb.base/maint.exp: Escape paths used in regular expressions.
5878 * gdb.stabs/weird.exp: Likewise.
5879
5880 2016-07-13 Tom Tromey <tom@tromey.com>
5881
5882 PR python/15620, PR python/18620:
5883 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5884 (test_bkpt_events): New procs.
5885
5886 2016-07-13 Tom Tromey <tom@tromey.com>
5887
5888 PR python/17698:
5889 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5890 test.
5891 (test_watchpoints): Likewise.
5892 (test_bkpt_pending): New proc.
5893
5894 2016-07-13 Tom Tromey <tom@tromey.com>
5895
5896 PR cli/18053:
5897 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5898 completion test.
5899
5900 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5901
5902 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5903 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5904 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5905 f_label.
5906 (g): Rename g_end_lbl to g_label.
5907 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5908 low_pc and high_pc.
5909 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5910
5911 2016-07-12 Tom Tromey <tom@tromey.com>
5912
5913 PR python/19293:
5914 * gdb.python/py-unwind-maint.exp: Update tests.
5915
5916 2016-07-12 Yao Qi <yao.qi@linaro.org>
5917
5918 * lib/selftest-support.exp (selftest_setup): Match the output
5919 when captured_main is inlined.
5920
5921 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5922
5923 * gdb.fortran/derived-types.exp (result_line, result_line_2):
5924 New variables.
5925 (print this%a, print this%b, print this): New tests.
5926 * gdb.fortran/derived-types.f90 (this): New object and
5927 initialization.
5928
5929 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5930
5931 * gdb.ada/arraydim.exp: Remove extra directory level in build
5932 directory.
5933
5934 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5935
5936 * lib/ada.exp: Remove extra directory level in build directory.
5937 * gdb.ada/cond_lang.exp: Likewise.
5938 * gdb.ada/exec_changed.exp: Likewise.
5939 * gdb.ada/lang_switch.exp: Likewise.
5940
5941 2016-07-06 Manish Goregaokar <manish@mozilla.com>
5942
5943 * simple.rs: Add test for raw pointer subscripting.
5944 * simple.exp: Add test expectations.
5945
5946 2016-07-05 Yao Qi <yao.qi@linaro.org>
5947
5948 * gdb.mi/mi-reverse.exp: Match =record-started output.
5949
5950 2016-07-01 Pedro Alves <palves@redhat.com>
5951
5952 * gdb.base/jit-reader.exp (info_registers_current_frame): New
5953 procedure.
5954 (jit_reader_test): Test the jit reader's unwinder.
5955 * gdb.base/jithost.c (jit_function_00_code): New global.
5956 (main): Use memcpy to fill in the mmapped code, instead of poking
5957 bytes manually here.
5958 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
5959 value.
5960 (read_debug_info): Save the function's range.
5961 (read_sp): New function.
5962 (unwind_frame): Use it. Also unwind RBP.
5963 (get_frame_id): Use read_sp.
5964 (gdb_init_reader): Use calloc instead of malloc.
5965 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
5966 parameter. Use gdb_test_multiple.
5967
5968 2016-07-01 Pedro Alves <palves@redhat.com>
5969 Antoine Tremblay <antoine.tremblay@ericsson.com>
5970
5971 * gdb.threads/process-dies-while-detaching.c: New file.
5972 * gdb.threads/process-dies-while-detaching.exp: New file.
5973
5974 2016-07-01 Pedro Alves <palves@redhat.com>
5975
5976 * gdb.multi/watchpoint-multi-exit.c: New file.
5977 * gdb.multi/watchpoint-multi-exit.exp: New file.
5978
5979 2016-06-30 Pedro Alves <palves@redhat.com>
5980
5981 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
5982 unset inferior_spawn_id.
5983
5984 2016-06-30 Pedro Alves <palves@redhat.com>
5985
5986 * lib/mi-support.exp (default_mi_gdb_start): Declare global
5987 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
5988
5989 2016-06-29 Yao Qi <yao.qi@linaro.org>
5990
5991 * gdb.base/return.c: Add copyright header.
5992
5993 2016-06-29 Tom Tromey <tom@tromey.com>
5994
5995 PR python/20129:
5996 * gdb.python/py-framefilter.exp: Add tests for setting priority
5997 and disabling of non-existent frame filter.
5998
5999 2016-06-29 Yao Qi <yao.qi@linaro.org>
6000
6001 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6002 0x0f07ff.
6003
6004 2016-06-28 Yao Qi <yao.qi@linaro.org>
6005
6006 * gdb.base/catch-syscall.exp: Remove check on isnative and target
6007 triplets. Start gdb, execute catch syscall, and continue. Check
6008 gdb's output to determine catch syscall is supported.
6009
6010 2016-06-27 Manish Goregaokar <manish@mozilla.com>
6011
6012 * gdb.rust/simple.rs: Add test for returning unit in a function.
6013 * gdb.rust/simple.exp: Add expectation for functions returning
6014 unit.
6015
6016 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
6017
6018 * gdb.python/py-breakpoint-create-fail.c,
6019 gdb.python/py-breakpoint-create-fail.exp,
6020 gdb.python/py-breakpoint-create-fail.py: New testcase.
6021
6022 2016-06-25 Manish Goregaokar <manish@mozilla.com>
6023
6024 PR gdb/20239
6025 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6026 * gdb.rust/simple.exp: Add test expectations for new NonZero
6027 tests.
6028
6029 2016-06-24 David Taylor <dtaylor@emc.com>
6030
6031 * gdb.base/offsets.exp: New file.
6032 * gdb.base/offsets.c: New file.
6033
6034 2016-06-23 Tom Tromey <tom@tromey.com>
6035
6036 PR gdb/16483:
6037 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6038 before any filters are loaded.
6039
6040 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
6041
6042 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6043 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6044 structs.
6045 * gdb.fortran/derived-type-function.exp: New file.
6046 * gdb.fortran/derived-type-function.f90: New file.
6047
6048
6049 2016-06-21 Pedro Alves <palves@redhat.com>
6050
6051 * gdb.base/new-ui.exp: New file.
6052 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6053 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6054 (with_spawn_id): New procedure.
6055
6056 2016-06-21 Pedro Alves <palves@redhat.com>
6057
6058 * gdb.mi/mi-exec-run.exp: New file.
6059
6060 2016-06-21 Pedro Alves <palves@redhat.com>
6061
6062 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6063 breakpoint command's output on the main UI.
6064 (test_break): New procedure, factored out from calls in the top
6065 level.
6066 (top level): Use foreach_with_prefix to test MI as main UI and as
6067 separate UI.
6068
6069 2016-06-21 Pedro Alves <palves@redhat.com>
6070
6071 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6072 (test_awatch_creation_and_listing)
6073 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6074 Remove 'type' parameter.
6075 (test_watchpoint_all): New parameter mi_mode. Remove
6076 with_test_prefix.
6077 (top level): Use foreach_with_prefix, and add main/separate UI MI
6078 testing axis.
6079
6080 2016-06-21 Pedro Alves <palves@redhat.com>
6081
6082 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6083 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6084 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6085 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6086 (gdb_main_spawn_id, mi_spawn_id): Declare and
6087 comment.
6088 (mi_create_inferior_pty): New procedure,
6089 factored out from default_mi_gdb_start.
6090 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6091 procedures.
6092 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6093 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6094 Use mi_create_inferior_pty.
6095 (mi_gdb_start): Use eval to pass down args list.
6096
6097 2016-06-21 Pedro Alves <palves@redhat.com>
6098
6099 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6100 * gdb.opt/inline-cmds.exp: Add MI tests.
6101
6102 2016-06-21 Pedro Alves <palves@redhat.com>
6103
6104 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6105
6106 2016-06-21 Pedro Alves <palves@redhat.com>
6107
6108 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6109 (top level): Use it instead of mi_execute_to.
6110
6111 2016-06-21 Pedro Alves <palves@redhat.com>
6112
6113 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6114 (cont_handler_str): New.
6115 (signal_stop_handler): Set stop_handler_str instead of printing to
6116 stdout.
6117 (continue_handler): Set cont_handler_str instead of printing to
6118 stdout.
6119 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6120 mi_send_resuming_command. Print stop_handler_str and
6121 cont_handler_str instead of expecting the python events print
6122 directly.
6123
6124 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6125
6126 * gdb.base/jit-reader.exp: New file.
6127 * gdb.base/jithost.c: New file.
6128 * gdb.base/jithost.h: New file.
6129 * gdb.base/jitreader.c : New file.
6130 * gdb.base/jit-protocol.h: New file.
6131
6132 2016-06-17 Yao Qi <yao.qi@linaro.org>
6133
6134 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6135 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6136 and detach-on-fork. Adjust tests.
6137 (top level): Invoke break_cond_on_syscall with combinations of
6138 syscall, follow-fork-mode and detach-on-fork.
6139
6140 2016-06-17 Yao Qi <yao.qi@linaro.org>
6141
6142 * gdb.base/step-over-exit.c: New.
6143 * gdb.base/step-over-exit.exp: New.
6144
6145 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6146
6147 * gdb.base/float.exp: Add target check for nds32*-*-*.
6148 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6149
6150 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6151
6152 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6153 for unsupported target features.
6154 * gdb.base/call-rt-st.exp: Likewise.
6155 * gdb.base/call-sc.exp: Likewise.
6156 * gdb.base/call-signal-resume.exp: Likewise.
6157 * gdb.base/call-strs.exp: Likewise.
6158 * gdb.base/callexit.exp: Likewise.
6159 * gdb.base/callfuncs.exp: Likewise.
6160 * gdb.base/nodebug.exp: Likewise.
6161 * gdb.base/printcmds.exp: Likewise.
6162 * gdb.base/ptype.exp: Likewise.
6163 * gdb.base/structs.exp: Likewise.
6164 * gdb.base/unwindonsignal.exp: Likewise.
6165 * gdb.cp/gdb2495.exp: Likewise.
6166 * gdb.cp/templates.exp: Likewise.
6167 * gdb.cp/virtfunc.exp: Likewise.
6168 * gdb.threads/hand-call-in-threads.exp: Likewise.
6169 * gdb.threads/interrupted-hand-call.exp: Likewise.
6170 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6171
6172 2016-06-10 Tom Tromey <tom@tromey.com>
6173
6174 PR rust/20110:
6175 * gdb.rust/expr.exp: Add test for integer constant larger than
6176 i32.
6177
6178 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6179
6180 * gdb.fortran/nested-funcs.exp: New.
6181 * gdb.fortran/nested-funcs.f90: New.
6182
6183 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6184
6185 * gdb.base/examine-backward.c: New file.
6186 * gdb.base/examine-backward.exp: New file.
6187
6188 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6189
6190 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6191 matching.
6192
6193 2016-06-02 Tom Tromey <tom@tromey.com>
6194
6195 PR python/18984:
6196 * gdb.python/py-shared.exp: Add solib_name test.
6197
6198 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6199
6200 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6201
6202 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6203
6204 PR c++/19893
6205 * gdb.dwarf2/implref.exp: Rename to...
6206 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6207 * gdb.dwarf2/implref-array.c: New file.
6208 * gdb.dwarf2/implref-array.exp: Likewise.
6209 * gdb.dwarf2/implref-global.c: Likewise.
6210 * gdb.dwarf2/implref-global.exp: Likewise.
6211 * gdb.dwarf2/implref-struct.c: Likewise.
6212 * gdb.dwarf2/implref-struct.exp: Likewise.
6213
6214 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6215
6216 * gdb.trace/trace-condition.exp: Add 64bit tests.
6217
6218 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6219
6220 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6221 bits types.
6222 (main): Adapt to 8 to 64 bits types.
6223 * gdb.trace/trace-condition.exp: Add new tests.
6224
6225 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6226
6227 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6228
6229 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6230
6231 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6232 Move condition tests...
6233 * gdb.trace/trace-condition.exp: Here.
6234
6235 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6236
6237 * gdb.trace/trace-condition.exp: Add counter-case tests.
6238
6239 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6240
6241 PR c++/15231
6242 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6243 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6244
6245 2016-05-27 Pedro Alves <palves@redhat.com>
6246
6247 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6248 New procedure.
6249 (top level): Call it, and bail out of DejaGnu is known to be bad.
6250
6251 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6252
6253 * gdb.base/whatis.c: Extend the test case.
6254 * gdb.base/whatis.exp: Add additional tests.
6255
6256 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6257
6258 * gdb.fortran/type.f90: Add pointer variable.
6259 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6260
6261 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6262
6263 * gdb.fortran/vla-type.exp: Fix testcase name.
6264
6265 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6266
6267 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6268
6269 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6270
6271 * gdb.fortran/type.f90: Add nested structures.
6272 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6273 * gdb.fortran/derived-type.exp: Adapt expected output.
6274 * gdb.fortran/vla-type.exp: Adapt expected output.
6275
6276 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6277
6278 * gdb.fortran/whatis_type.exp: Adapt expected output.
6279
6280 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6281
6282 * gdb.fortran/print_type.exp: Fix expected output.
6283 * gdb.fortran/whatis_type.exp: Fix expected output.
6284
6285 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6286
6287 * gdb.fortran/whatis_type.exp: Use multi_line.
6288
6289 2016-05-24 Tom Tromey <tom@tromey.com>
6290
6291 PR python/17386:
6292 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6293 use value as an index.
6294
6295 2016-05-23 Tom Tromey <tom@tromey.com>
6296
6297 PR python/17981:
6298 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6299 no-breakpoint case.
6300
6301 2016-05-24 Pedro Alves <palves@redhat.com>
6302
6303 PR gdb/19828
6304 * gdb.threads/clone-attach-detach.c: New file.
6305 * gdb.threads/clone-attach-detach.exp: New file.
6306
6307 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6308
6309 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6310
6311 2016-05-23 Tom Tromey <tom@tromey.com>
6312
6313 PR python/19438, PR python/18393:
6314 * gdb.python/py-progspace.exp: Add "dir" test.
6315 * gdb.python/py-objfile.exp: Add "dir" test.
6316
6317 2016-05-23 Yao Qi <yao.qi@linaro.org>
6318
6319 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6320 * gdb.arch/thumb2-it.exp: Likewise.
6321
6322 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6323
6324 * gdb.mi/mi-threads-interrupt.c: New file.
6325 * gdb.mi/mi-threads-interrupt.exp: New file.
6326
6327 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6328
6329 PR gdb/18077
6330 * gdb.mi/mi-async-run.exp: New file.
6331 * gdb.mi/mi-async-run.c: New file.
6332
6333 2016-05-17 Tom Tromey <tom@tromey.com>
6334 Manish Goregaokar <manishsmail@gmail.com>
6335
6336 * lib/rust-support.exp: New file.
6337 * lib/gdb.exp (skip_rust_tests): New proc.
6338 (build_executable_from_specs): Handle rust.
6339 * lib/future.exp (gdb_find_rustc): New proc.
6340 (gdb_default_target_compile): Handle rust.
6341 * gdb.rust/expr.exp: New file.
6342 * gdb.rust/generics.exp: New file.
6343 * gdb.rust/generics.rs: New file.
6344 * gdb.rust/methods.exp: New file.
6345 * gdb.rust/methods.rs: New file.
6346 * gdb.rust/modules.exp: New file.
6347 * gdb.rust/modules.rs: New file.
6348 * gdb.rust/simple.exp: New file.
6349 * gdb.rust/simple.rs: New file.
6350
6351 2016-05-17 Tom Tromey <tom@tromey.com>
6352
6353 * gdb.base/default.exp (set language): Add rust.
6354
6355 2016-05-17 Tom Tromey <tom@tromey.com>
6356
6357 * gdb.gdb/unittest.exp: New file.
6358
6359 2016-05-16 Yao Qi <yao.qi@linaro.org>
6360
6361 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6362 shell_prompt. Update shell_prompt_re.
6363
6364 2016-05-12 Doug Evans <dje@google.com>
6365
6366 PR symtab/19999
6367 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6368 $options when building executable.
6369 * gdb.dwarf2/fission-loclists-pie.S: New file.
6370 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6371
6372 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6373
6374 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6375 of [is_remote target],
6376
6377 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6378
6379 * lib/gdb.exp (use_gdb_stub): New procedure.
6380
6381 2016-05-03 Yunlian Jiang <yunlian@google.com>
6382 Doug Evans <dje@google.com>
6383
6384 PR symtab/19914
6385 * gdb.dwarf2/dwp-sepdebug.c: New file.
6386 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6387
6388 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6389
6390 * gdb.base/detach.exp: Remove is_remote check.
6391
6392 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6393
6394 * gdb.base/annota-input-while-running.exp: Don't check for
6395 [is_remote target]. Enable annotations after running to main.
6396 Remove unused "set test..." line.
6397
6398 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6399
6400 * gdb.trace/trace-enable-disable.exp: New file.
6401 * gdb.trace/trace-enable-disable.c: New file.
6402
6403 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6404
6405 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6406 use it in info sharedlibrary test.
6407 * gdb.trace/ftrace-lock.exp: Likewise.
6408 * gdb.trace/ftrace.exp: Likewise.
6409 * gdb.trace/range-stepping.exp: Likewise.
6410 * gdb.trace/trace-break.exp: Likewise.
6411 * gdb.trace/trace-condition.exp: Likewise.
6412 * gdb.trace/trace-mt.exp: Likewise.
6413
6414 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6415
6416 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6417 (gdb_load_shlib): ... this.
6418 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6419 gdb_load_shlib.
6420 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6421 * gdb.base/ctxobj.exp: Likewise.
6422 * gdb.base/dprintf-pending.exp: Likewise.
6423 * gdb.base/dso2dso.exp: Likewise.
6424 * gdb.base/fixsection.exp: Likewise.
6425 * gdb.base/gcore-relro.exp: Likewise.
6426 * gdb.base/gdb1555.exp: Likewise.
6427 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6428 * gdb.base/gnu-ifunc.exp: Likewise.
6429 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6430 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6431 * gdb.base/pending.exp: Likewise.
6432 * gdb.base/print-file-var.exp: Likewise.
6433 * gdb.base/print-symbol-loading.exp: Likewise.
6434 * gdb.base/shlib-call.exp: Likewise.
6435 * gdb.base/shreloc.exp: Likewise.
6436 * gdb.base/so-impl-ld.exp: Likewise.
6437 * gdb.base/solib-disc.exp: Likewise.
6438 * gdb.base/solib-nodir.exp: Likewise.
6439 * gdb.base/solib-overlap.exp: Likewise.
6440 * gdb.base/solib-symbol.exp: Likewise.
6441 * gdb.base/solib-weak.exp (do_test): Likewise.
6442 * gdb.base/sym-file.exp: Likewise.
6443 * gdb.base/symtab-search-order.exp: Likewise.
6444 * gdb.base/type-opaque.exp: Likewise.
6445 * gdb.base/unload.exp: Likewise.
6446 * gdb.base/watchpoint-solib.exp: Likewise.
6447 * gdb.compile/compile.exp: Likewise.
6448 * gdb.cp/gdb2384.exp: Likewise.
6449 * gdb.cp/infcall-dlopen.exp: Likewise.
6450 * gdb.cp/re-set-overloaded.exp: Likewise.
6451 * gdb.fortran/library-module.exp: Likewise.
6452 * gdb.opt/solib-intra-step.exp: Likewise.
6453 * gdb.python/py-finish-breakpoint.exp: Likewise.
6454 * gdb.python/py-shared.exp: Likewise.
6455 * gdb.reverse/solib-precsave.exp: Likewise.
6456 * gdb.reverse/solib-reverse.exp: Likewise.
6457 * gdb.server/solib-list.exp: Likewise.
6458 * gdb.threads/dlopen-libpthread.exp: Likewise.
6459 * gdb.threads/tls-shared.exp: Likewise.
6460 * gdb.threads/tls-so_extern.exp: Likewise.
6461 * gdb.trace/change-loc.exp: Likewise.
6462 * gdb.trace/ftrace-lock.exp: Likewise.
6463 * gdb.trace/ftrace.exp: Likewise.
6464 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6465 * gdb.trace/pending.exp: Likewise.
6466 * gdb.trace/range-stepping.exp: Likewise.
6467 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6468 (strace_info_marker): Likewise.
6469 (strace_probe_marker): Likewise.
6470 (strace_trace_on_same_addr): Likewise.
6471 (strace_trace_on_diff_addr): Likewise.
6472 * gdb.trace/trace-break.exp: Likewise.
6473 * gdb.trace/trace-condition.exp: Likewise.
6474 * gdb.trace/trace-mt.exp: Likewise.
6475
6476 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6477
6478 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6479 result of gdb_remote_download.
6480 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6481 * gdb.base/dso2dso.exp: Likewise.
6482 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6483 * gdb.base/print-file-var.exp: Likewise.
6484 * gdb.base/shlib-call.exp: Likewise.
6485 * gdb.base/shreloc.exp: Likewise.
6486 * gdb.base/solib-overlap.exp: Likewise.
6487 * gdb.base/solib-weak.exp (do_test): Likewise.
6488 * gdb.base/unload.exp: Likewise.
6489
6490 2016-04-27 Yao Qi <yao.qi@linaro.org>
6491
6492 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6493 exists.
6494
6495 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6496
6497 * vla-type.exp: Print structure from toplevel.
6498
6499 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6500
6501 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6502 of dynamic types.
6503 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6504 of dynamic types.
6505
6506 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6507
6508 * gdb.fortran/vla-type.f90: New file.
6509 * gdb.fortran/vla-type.exp: New file.
6510
6511 2016-04-25 Yao Qi <yao.qi@linaro.org>
6512
6513 * gdb.base/branch-to-self.c: New file.
6514 * gdb.base/branch-to-self.exp: New file.
6515
6516 2016-04-22 Yao Qi <yao.qi@linaro.org>
6517
6518 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6519 more after $hex.
6520
6521 2016-04-22 Yao Qi <yao.qi@linaro.org>
6522
6523 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6524 * gdb.base/annota3.exp: Likewise.
6525
6526 2016-04-22 Yao Qi <yao.qi@linaro.org>
6527
6528 * gdb.reverse/step-precsave.exp: Do one step and test program
6529 stops in "callee" and do multiple steps until program goes out
6530 of "callee".
6531 * gdb.reverse/step-reverse.exp: Likewise.
6532
6533 2016-04-22 Yao Qi <yao.qi@linaro.org>
6534
6535 * gdb.trace/signal.exp: Also pass if
6536 $tracepoint_hits($i) > $iterations.
6537
6538 2016-04-22 Yao Qi <yao.qi@linaro.org>
6539
6540 * gdb.trace/signal.c: New file.
6541 * gdb.trace/signal.exp: New file.
6542
6543 2016-04-19 Doug Evans <xdje42@gmail.com>
6544
6545 * gdb.base/bad-file.exp: New file.
6546
6547 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6548
6549 * gdb.dwarf2/implref.exp: New file.
6550
6551 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6552
6553 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6554 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6555 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6556 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6557 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6558 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6559 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6560 * lib/fortran.exp (fortran_int4): New procedure.
6561 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6562 (fortran_logical4): Likewise.
6563
6564 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6565
6566 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6567
6568 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6569
6570 * lib/compiler.c: Add Intel specific preprocessor macros.
6571 * lib/compiler.cc: Likewise.
6572
6573 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
6574
6575 * gdb.server/connect-with-no-symbol-file.c: New file.
6576 * gdb.server/connect-with-no-symbol-file.exp: New file.
6577
6578 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6579
6580 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6581
6582 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6583
6584 * boards/gdbserver-base.exp (${board}_download): Copy source file to
6585 standard output directory.
6586
6587 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
6588
6589 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6590
6591 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
6592
6593 * gdb.btrace/instruction_history.c (loop): Add declaration.
6594
6595 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6596
6597 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6598
6599 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
6600
6601 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6602 parentheses to print.
6603 (continue_handler): Likewise.
6604
6605 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
6606
6607 * gdb.server/solib-list.exp: Remove is_remote check.
6608 Pass shlib= to gdb_compile. Don't link shared library with
6609 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
6610 Run binary filename through "readlink -f" on the target.
6611
6612 2016-04-08 Pedro Alves <palves@redhat.com>
6613
6614 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
6615 interpreter filename as argument to gdbserver_spawn.
6616 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6617 Return empty if $last_loaded_file does not exist.
6618
6619 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6620
6621 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6622 * gdb.base/jit-main.c: Use exit after usage.
6623
6624 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6625
6626 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6627 GDBHISTSIZE prior to the tests.
6628 * gdb.base/gdbinit-history.exp: Likewise.
6629
6630 2016-04-07 Pedro Alves <palves@redhat.com>
6631
6632 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6633 instead of build_executable. Use gdb_load_shlibs.
6634
6635 2016-04-07 Yao Qi <yao.qi@linaro.org>
6636
6637 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6638 Execute "si" command.
6639
6640 2016-04-07 Yao Qi <yao.qi@linaro.org>
6641
6642 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
6643 number instead of the comments on some line.
6644
6645 2016-04-06 Don Breazeal <donb@codesourcery.com>
6646
6647 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6648 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6649
6650 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6651
6652 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6653 standard_output_file. Remove unused binfile variable.
6654
6655 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
6656
6657 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6658 * gdb.python/py-mi-objfile.exp: Match "list main" output
6659 in console format.
6660
6661 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6662
6663 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6664 absolute.
6665
6666 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6667
6668 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6669 absolute.
6670 * gdb.trace/ftrace.exp: Likewise.
6671 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6672 targets as well.
6673 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6674 (gdb_load_shlibs): Copy libraries to test directory when testing
6675 natively. Only set solib-search-path if testing remotely.
6676 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6677
6678 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6679
6680 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6681 gdb_download. Use it even if the target is not remote.
6682 * gdb.base/jit.exp (compile_jit_test): Likewise.
6683 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6684 output directory if the destination board is local, otherwise use
6685 the standard remote_download from DejaGnu.
6686 (gdb_download): Remove.
6687 (gdb_load_shlibs): Use gdb_remote_download instead of
6688 gdb_download.
6689 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6690 Use gdb_remote_download instead of gdb_download. Use it even if
6691 the target is not remote.
6692 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6693 instead of gdb_download.
6694
6695 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6696
6697 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6698 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6699 run.
6700
6701 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
6702
6703 PR gdb/19820
6704 * gdb.base/printcmds.exp: Add artificial arrays tests.
6705
6706 2016-03-31 Pedro Alves <palves@redhat.com>
6707
6708 PR gdb/19858
6709 * gdb.base/jit-main.c: Include unistd.h.
6710 (ATTACH): Define to 0 if not already defined.
6711 (wait_for_gdb, mypid): New globals.
6712 (WAIT_FOR_GDB): New macro.
6713 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6714 some breakpoint locations.
6715 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6716 New procedures.
6717 (one_jit_test): Add REATTACH parameter, and handle it. Use
6718 continue_to_test_location.
6719 (top level): Test attach, and adjusts calls to one_jit_test.
6720
6721 2016-03-31 Pedro Alves <palves@redhat.com>
6722
6723 PR gdb/19858
6724 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6725 BINSUFFIX parameter, and handle it.
6726 (top level): Adjust calls compile_jit_test.
6727
6728 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
6729
6730 PR python/19743
6731 * gdb.python/py-mi-events-gdb.py: New file.
6732 * gdb.python/py-mi-events.c: New file.
6733 * gdb.python/py-mi-events.exp: New file.
6734
6735 2016-03-30 Yao Qi <yao.qi@linaro.org>
6736
6737 * gdb.reverse/until-precsave.exp: Match function name only.
6738 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6739 Move malloc to a condition block.
6740 * gdb.reverse/until-reverse.exp: Match function name only.
6741
6742 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6743
6744 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6745 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6746 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6747 variable for GPR 0 instead of assuming it is register 0.
6748 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6749 * lib/trace-support.exp: Add s390 registers.
6750
6751 2016-03-29 Yao Qi <yao.qi@linaro.org>
6752
6753 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6754
6755 2016-03-24 Yao Qi <yao.qi@linaro.org>
6756
6757 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6758 test message.
6759
6760 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6761
6762 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6763 maintaining separate logic for constructing the output path.
6764
6765 2016-03-16 Don Breazeal <donb@codesourcery.com>
6766
6767 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6768 Retry fork and waitpid on interrupted system call errors.
6769 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6770 Use with_timeout_factor to increase timeout by factor of 10.
6771
6772 2016-03-15 Don Breazeal <donb@codesourcery.com>
6773
6774 * gdb.cp/scope-err.cc: New test program.
6775 * gdb.cp/scope-err.exp: New test script.
6776 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6777 lines and "set breakpoint here" comment.
6778 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6779 Fixed some whitespace and format issues.
6780 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6781 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6782
6783 2016-03-15 Doug Evans <dje@google.com>
6784
6785 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6786 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6787 All callers updated. Add tests for enums, mixed flags register.
6788
6789 2016-03-15 Doug Evans <dje@google.com>
6790
6791 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6792 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6793
6794 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6795
6796 * gdb.base/default.exp: Add $_as_string to the list of expected
6797 convenience functions.
6798
6799 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6800
6801 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6802
6803 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6804
6805 * gdb.python/py-as-string.exp: New file.
6806 * gdb.python/py-as-string.c: New file.
6807
6808 2016-03-09 Pedro Alves <palves@redhat.com>
6809
6810 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6811 signal" -> "Thread NN received signal" output change.
6812 * gdb.threads/ia64-sigill.exp: Likewise.
6813 * gdb.threads/linux-dp.exp: Likewise.
6814 * gdb.threads/manythreads.exp: Likewise.
6815 * gdb.threads/pending-step.exp: Likewise.
6816 * gdb.threads/print-threads.exp: Likewise.
6817 * gdb.threads/sigstep-threads.exp: Likewise.
6818 * gdb.threads/staticthreads.exp: Likewise.
6819 * gdb.threads/tls.exp: Likewise.
6820
6821 2016-03-09 Pedro Alves <palves@redhat.com>
6822
6823 * gdb.base/command-line-input.exp: New file.
6824
6825 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6826
6827 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6828 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6829 * gdb.trace/pending.exp: Accept leading dot before function name.
6830 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6831 * lib/trace-support.exp: Set registers for ppc.
6832
6833 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6834
6835 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6836 use it for disassembly; accept .main in addition to main in backtrace.
6837
6838 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
6839 Marcin Kościelnicki <koriakin@0x04.net>
6840
6841 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6842 (gdb_recursion_test_ptr): New global variable.
6843 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6844 gdb_recursion_test.
6845 (gdb_c_test): Ditto.
6846
6847 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6848
6849 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6850 ordering.
6851
6852 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6853
6854 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6855 (bar): Add bar_start_lbl label.
6856 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6857 of foo/bar for emitting DWARF and tracing.
6858
6859 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6860
6861 * analyze-racy-logs.py: Set executable bit.
6862
6863 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6864
6865 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6866 (CHECK_TARGET_TMP): Likewise.
6867 (check-single-racy): New rule.
6868 (check-parallel-racy): Likewise.
6869 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6870 (do-check-parallel-racy): New rule.
6871 (check-racy/%.exp): Likewise.
6872 * README (Racy testcases): New section.
6873 * analyze-racy-logs.py: New file.
6874
6875 2016-03-03 Doug Evans <dje@google.com>
6876
6877 * gdb.base/skip.exp: Use with_test_prefix.
6878
6879 2016-03-03 Yao Qi <yao.qi@linaro.org>
6880
6881 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6882 Invoke step_over_syscall "clone" and break_cond_on_syscall
6883 "clone".
6884 * gdb.base/step-over-clone.c: New file.
6885
6886 2016-03-03 Yao Qi <yao.qi@linaro.org>
6887
6888 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6889 code format.
6890
6891 2016-03-03 Yao Qi <yao.qi@linaro.org>
6892
6893 * gdb.base/disp-step-fork.c: Rename to ...
6894 * gdb.base/step-over-fork.c: ... it. New file.
6895 * gdb.base/disp-step-vfork.c: Rename to ...
6896 * gdb.base/step-over-vfork.c: ... it. New file.
6897 * gdb.base/disp-step-syscall.exp: Rename to ...
6898 * gdb.base/step-over-syscall.exp: ... it. New file.
6899 (disp_step_cross_syscall): Rename to ...
6900 (step_over_syscall): ... it.
6901
6902 2016-03-03 Yao Qi <yao.qi@linaro.org>
6903
6904 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6905 If target supports condition evaluation on target, invoke
6906 break_cond_on_syscall for fork and vfork.
6907
6908 2016-03-03 Yao Qi <yao.qi@linaro.org>
6909
6910 * gdb.base/disp-step-syscall.exp: Don't invoke
6911 support_displaced_stepping.
6912 (disp_step_cross_syscall): Test with displaced stepping off and
6913 on if supported.
6914
6915 2016-03-03 Yao Qi <yao.qi@linaro.org>
6916
6917 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6918 proc.
6919 (setup): New proc.
6920 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
6921 and setup.
6922
6923 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6924
6925 * gdb.fortran/vla-history.exp: Remove breakpoint.
6926
6927 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6928
6929 * gdb.fortran/vla-history.exp: Lookup array elements and printing
6930 exceeds timeout.
6931
6932 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6933
6934 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
6935 breakpoint.
6936
6937 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6938
6939 * gdb.mi/vla.f90: Nullify pointer after declaration.
6940
6941 2016-03-01 Pedro Alves <palves@redhat.com>
6942
6943 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
6944
6945 2016-03-01 Pedro Alves <palves@redhat.com>
6946
6947 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
6948 before anything else.
6949 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
6950 _GNU_SOURCE here.
6951 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
6952 before anything else.
6953 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
6954
6955 2016-03-01 Pedro Alves <palves@redhat.com>
6956
6957 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
6958
6959 2016-03-01 Yao Qi <yao.qi@linaro.org>
6960
6961 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
6962 prepare_for_testing.
6963
6964 2016-03-01 Yao Qi <yao.qi@linaro.org>
6965
6966 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
6967
6968 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6969
6970 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
6971 manually constructing the output path.
6972
6973 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6974
6975 * gdb.arch/s390-stackless.S: New.
6976 * gdb.arch/s390-stackless.exp: New.
6977
6978 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
6979
6980 * gdb.dlang/circular.c: New file.
6981 * gdb.dlang/circular.exp: New file.
6982
6983 2016-02-26 Yao Qi <yao.qi@linaro.org>
6984
6985 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
6986 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
6987 (testcases): Update.
6988
6989 2016-02-26 Yao Qi <yao.qi@linaro.org>
6990
6991 * gdb.reverse/aarch64.c: Rename to ...
6992 * gdb.reverse/insn-reverse.c: ... it.
6993 * gdb.reverse/aarch64.exp: Rename to ...
6994 * gdb.reverse/insn-reverse.exp: ... it.
6995
6996 2016-02-26 Yao Qi <yao.qi@linaro.org>
6997
6998 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
6999 (testcase_ftype): New.
7000 (testcases): New array.
7001 (n_testcases): New.
7002 (main): Call each element in testcases.
7003 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7004 (read_testcase): New.
7005 Do the tests in a loop.
7006
7007 2016-02-25 Yao Qi <yao.qi@linaro.org>
7008
7009 * gdb.base/branches.c: Remove.
7010
7011 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7012
7013 PR gdb/13808
7014 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7015
7016 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7017
7018 * gdb.trace/ftrace.exp: Remove unnecessary target check.
7019
7020 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7021
7022 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7023 change x86_64 call_insn to 'callq'.
7024
7025 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7026
7027 * gdb.trace/tfile-avx.c: Move to...
7028 * gdb.trace/tracefile-pseudo-reg.c: Here.
7029 * gdb.trace/tfile-avx.exp: Move to...
7030 * gdb.trace/tracefile-pseudo-reg.exp: Here.
7031
7032 2016-02-24 Gary Benson <gbenson@redhat.com>
7033
7034 * gdb.base/attach-pie-noexec.exp: Do not expect an error
7035 message on attach.
7036
7037 2016-02-23 Doug Evans <dje@google.com>
7038
7039 * gdb.base/skip.c (test_skip): New function.
7040 (end_test_skip_file_and_function): New function.
7041 (test_skip_file_and_function): New function.
7042 * gdb.base/skip1.c (test_skip): New function.
7043 (skip1_test_skip_file_and_function): New function.
7044 * gdb.base/skip.exp: Add tests for new skip options.
7045 * gdb.base/skip-solib.exp: Update expected output.
7046 * gdb.perf/skip-command.cc: New file.
7047 * gdb.perf/skip-command.exp: New file.
7048 * gdb.perf/skip-command.py: New file.
7049
7050 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
7051
7052 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7053 info registers pattern.
7054
7055 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
7056
7057 * lib/future.exp: Add D support.
7058 (gdb_find_gdc): New proc.
7059 (gdb_default_target_compile): Add D support.
7060
7061 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
7062
7063 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7064 user+system time.
7065 (trace_speed_test): Determine the iteration count for a time
7066 between 15..30 seconds.
7067
7068 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
7069
7070 * gdb.arch/i386-mpx-sigsegv.c: New file.
7071 * gdb.arch/i386-mpx-sigsegv.exp: New file.
7072 * gdb.arch/i386-mpx-simple_segv.c: New file.
7073 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7074
7075 2016-02-18 Yao Qi <yao.qi@linaro.org>
7076
7077 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7078 Don't call setup_kfail.
7079
7080 2016-02-18 Yao Qi <yao.qi@linaro.org>
7081
7082 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7083 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7084
7085 2016-02-16 Doug Evans <dje@google.com>
7086
7087 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7088 * gdb.base/skip1.c: Ditto.
7089 * gdb.base/skip.exp: Whitespace cleanup.
7090
7091 2016-02-16 Don Breazeal <donb@codesourcery.com>
7092
7093 PR remote/19496
7094 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7095 Remove kfail for PR remote/19496.
7096
7097 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7098
7099 * lib/gdb.exp (standard_temp_file): Return a path specific to
7100 the runtest invocation.
7101
7102 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7103
7104 * gdb.trace/save-trace.exp: Change relative path to be in the
7105 standard output directory.
7106
7107 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7108
7109 * gdb.arch/i386-prologue.c: Add missing prototypes.
7110
7111 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7112
7113 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7114 * gdb.arch/i386-prologue.exp: Likewise.
7115 * gdb.arch/i386-size.exp: Likewise.
7116
7117 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7118
7119 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7120 define object file path.
7121 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7122 file path.
7123 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7124 standard_output_file to define binfile.
7125
7126 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7127
7128 Fix compatibility with recent gfortran-5.3.1.
7129 * gdb.fortran/vla-history.exp (print vla1 allocated)
7130 (print vla2 allocated, print $2, print $3): Remove
7131 (print $4): Rename to ...
7132 (print $2): ... here.
7133 (print $9): Rename to ...
7134 (print $5): ... here.
7135 (print $10): Rename to ...
7136 (print $6): ... here.
7137 * gdb.fortran/vla.f90: Add pvla initialization.
7138
7139 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7140
7141 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7142 New test.
7143 * gdb.fortran/vla-value-sub.exp: Likewise.
7144
7145 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7146
7147 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7148
7149 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7150
7151 * i386-biarch-core.exp: Define corefile using
7152 standard_output_file.
7153
7154 2016-02-12 Yao Qi <yao.qi@linaro.org>
7155
7156 * gdb.arch/arm-single-step-kernel-helper.c: New.
7157 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7158
7159 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7160
7161 * gdb.btrace/tailcall-only.exp: New.
7162 * gdb.btrace/tailcall-only.c: New.
7163 * gdb.btrace/x86_64-tailcall-only.S: New.
7164 * gdb.btrace/i686-tailcall-only.S: New.
7165
7166 2016-02-11 Pedro Alves <palves@redhat.com>
7167
7168 * README (Parallel testing): Add missing double quotes.
7169
7170 2016-02-11 Pedro Alves <palves@redhat.com>
7171
7172 * README (Parallel testing): New section.
7173 (GDB_PARALLEL): Rewrite.
7174 (FORCE_PARALLEL): Document.
7175
7176 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7177
7178 * gdb.trace/tfile-avx.c: New test.
7179 * gdb.trace/tfile-avx.exp: New test.
7180
7181 2016-02-09 Keith Seitz <keiths@redhat.com>
7182
7183 PR breakpoints/19546
7184 * gdb.base/infcall-exec.c: New file.
7185 * gdb.base/infcall-exec2.c: New file.
7186 * gdb.base/infcall-exec.exp: New file.
7187
7188 2016-02-09 Keith Seitz <keiths@redhat.com>
7189
7190 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7191 (toplevel): Call test_bkpt_address.
7192
7193 2016-02-09 Keith Seitz <keiths@redhat.com>
7194
7195 PR python/19506
7196 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7197 (toplevel): Call test_bkpt_address.
7198
7199 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7200
7201 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7202 to AC_OUTPUT.
7203 * configure: Regenerate.
7204
7205 2016-02-09 Pedro Alves <palves@redhat.com>
7206
7207 PR breakpoints/19548
7208 * gdb.base/execl-update-breakpoints.c (some_function): New
7209 function.
7210 (main): Call it.
7211 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7212 Tighten expected GDB output.
7213
7214 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7215
7216 * Makefile.in (ALL_SUBDIRS): Remove.
7217 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7218 (distclean maintainer-clean realclean): Likewise.
7219 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7220 * configure: Regenerate.
7221 * gdb.ada/Makefile.in: Delete.
7222 * gdb.arch/Makefile.in: Likewise.
7223 * gdb.asm/Makefile.in: Likewise.
7224 * gdb.base/Makefile.in: Likewise.
7225 * gdb.btrace/Makefile.in: Likewise.
7226 * gdb.cell/Makefile.in: Likewise.
7227 * gdb.compile/Makefile.in: Likewise.
7228 * gdb.cp/Makefile.in: Likewise.
7229 * gdb.disasm/Makefile.in: Likewise.
7230 * gdb.dlang/Makefile.in: Likewise.
7231 * gdb.dwarf2/Makefile.in: Likewise.
7232 * gdb.fortran/Makefile.in: Likewise.
7233 * gdb.gdb/Makefile.in: Likewise.
7234 * gdb.go/Makefile.in: Likewise.
7235 * gdb.guile/Makefile.in: Likewise.
7236 * gdb.java/Makefile.in: Likewise.
7237 * gdb.linespec/Makefile.in: Likewise.
7238 * gdb.mi/Makefile.in: Likewise.
7239 * gdb.modula2/Makefile.in: Likewise.
7240 * gdb.multi/Makefile.in: Likewise.
7241 * gdb.objc/Makefile.in: Likewise.
7242 * gdb.opencl/Makefile.in: Likewise.
7243 * gdb.opt/Makefile.in: Likewise.
7244 * gdb.pascal/Makefile.in: Likewise.
7245 * gdb.perf/Makefile.in: Likewise.
7246 * gdb.python/Makefile.in: Likewise.
7247 * gdb.reverse/Makefile.in: Likewise.
7248 * gdb.server/Makefile.in: Likewise.
7249 * gdb.stabs/Makefile.in: Likewise.
7250 * gdb.threads/Makefile.in: Likewise.
7251 * gdb.trace/Makefile.in: Likewise.
7252 * gdb.xml/Makefile.in: Likewise.
7253 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7254 GDB_PARALLEL.
7255 (standard_output_file): Remove check for GDB_PARALLEL, always
7256 return path in outputs/$subdir/$testname.
7257
7258 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7259
7260 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7261 (site.exp): Assign abs_srcdir to tcl's srcdir.
7262
7263 2016-02-04 Yao Qi <yao.qi@linaro.org>
7264
7265 * gdb.base/foll-exec-mode.c: Include limits.h.
7266 (main): Add parameters argc and argv. Get directory from
7267 argv[0].
7268 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7269 compilation.
7270 * gdb.base/foll-exec.c: Include limits.h.
7271 (main): Add parameters argc and argv.
7272 Get directory from argv[0].
7273 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7274 Adjust tests on the number of lines as source code changed.
7275 * gdb.base/foll-vfork-exit.c: Include limits.h.
7276 (main): Add one line of statement before vfork.
7277 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7278 (main): Add parameters argc and argv. Get directory from
7279 argv[0].
7280 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7281 (setup_gdb): Set tbreak to skip some source lines.
7282 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7283 (main): Add parameters argc and argv. Get directory from
7284 argv[0].
7285 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7286 compilation.
7287 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7288 (main): Add parameters argc and argv. Get directory from
7289 argv[0].
7290 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7291 compilation.
7292
7293 2016-02-01 Doug Evans <dje@google.com>
7294
7295 * gdb.base/skip.exp: Clean up multiple references to same test name.
7296
7297 2016-02-01 Pedro Alves <palves@redhat.com>
7298
7299 PR remote/19496
7300 * gdb.threads/forking-threads-plus-breakpoint.exp
7301 (displaced_stepping_supported): New global.
7302 (probe_displaced_stepping_support): New procedure.
7303 (do_test): Add 'displaced' parameter, and use it.
7304 (top level): Check for displaced stepping support. Add displaced
7305 stepping on/off testing axis.
7306
7307 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7308
7309 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7310 pointer. Don't perform further tests on the unassociated pointer
7311 if the first test fails.
7312
7313 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7314
7315 * gdb.base/max-value-size.c: New file.
7316 * gdb.base/max-value-size.exp: New file.
7317 * gdb.base/huge.exp: Disable max-value-size for this test.
7318
7319 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7320
7321 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7322
7323 2016-01-28 Yao Qi <yao.qi@linaro.org>
7324
7325 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7326
7327 2016-01-25 Pedro Alves <palves@redhat.com>
7328
7329 PR threads/19461
7330 * gdb.base/fork-running-state.c: New file.
7331 * gdb.base/fork-running-state.exp: New file.
7332
7333 2016-01-25 Pedro Alves <palves@redhat.com>
7334
7335 PR gdb/19494
7336 * gdb.base/catch-fork-kill.c: New file.
7337 * gdb.base/catch-fork-kill.exp: New file.
7338
7339 2016-01-25 Pedro Alves <palves@redhat.com>
7340
7341 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7342 Delete, moved to lib/gdb.exp.
7343 * gdb.threads/forking-threads-plus-breakpoint.exp
7344 (foreach_with_prefix): Likewise.
7345 * gdb.threads/process-dies-while-handling-bp.exp
7346 (foreach_with_prefix): Likewise.
7347 * lib/gdb.exp (foreach_with_prefix): New procedure.
7348
7349 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7350
7351 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7352 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7353
7354 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7355
7356 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7357 endian targets.
7358
7359 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7360 Pedro Alves <palves@redhat.com>
7361
7362 Fix testsuite compatibility with Guile.
7363 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7364 number.
7365
7366 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7367
7368 Fix testsuite compatibility with Guile.
7369 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7370 (thread 1): New test for backtrace through signal handler.
7371
7372 2016-01-22 Yao Qi <yao.qi@linaro.org>
7373
7374 PR testsuite/19491
7375 * gdb.base/multi-forks.c: Include
7376 ../lib/unbuffer_output.c
7377 (main): Call gdb_unbuffer_output.
7378
7379 2016-01-21 Doug Evans <dje@google.com>
7380
7381 * lib/ada.exp (gdb_compile_ada): Fix typo.
7382
7383 2016-01-21 Joel Brobecker <brobecker@adacore.com>
7384
7385 * gdb.base/break-fun-addr.exp: New file.
7386 * gdb.base/break-fun-addr1.c: New file.
7387 * gdb.base/break-fun-addr2.c: New file.
7388
7389 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7390
7391 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7392 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7393 enum flag values.
7394
7395 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7396
7397 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7398 when GDB can not set the vector return value. Add more comments
7399 for clarification.
7400
7401 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7402
7403 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7404 command.
7405
7406 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7407
7408 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7409
7410 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7411
7412 * Makefile.in (check-single): Pass --status to runtest.
7413 (check/%.exp): Likewise.
7414
7415 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7416
7417 * Makefile.in (check-parallel): Propagate return code from make
7418 do-check-parallel.
7419
7420 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7421
7422 * gdb.trace/ftrace.exp: Fix expected message on continue.
7423 * gdb.trace/pending.exp: Fix expected message on continue.
7424 * gdb.trace/trace-break.exp: Fix expected message on continue.
7425
7426 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7427
7428 * lib/gdb.exp (gdb_test): Remove unused global references.
7429
7430 2016-01-18 Pedro Alves <palves@redhat.com>
7431
7432 * gdb.base/async-shell.exp: Adjust expected output.
7433 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7434 * gdb.base/siginfo-thread.exp: Adjust expected output.
7435 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7436 * gdb.java/jnpe.exp: Adjust expected output.
7437 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7438 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7439 * gdb.threads/leader-exit.exp: Adjust expected output.
7440 * gdb.threads/manythreads.exp: Adjust expected output.
7441 * gdb.threads/pthreads.exp: Adjust expected output.
7442 * gdb.threads/schedlock.exp: Adjust expected output.
7443 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7444 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7445 expected output.
7446 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7447 output.
7448 * gdb.threads/sigthread.exp: Adjust expected output.
7449 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7450
7451 2016-01-18 Yao Qi <yao.qi@linaro.org>
7452
7453 * gdb.guile/scm-section-script.c: Replace @progbits with
7454 %progbits.
7455 * gdb.python/py-section-script.c: Likewise.
7456
7457 2016-01-15 Pedro Alves <palves@redhat.com>
7458
7459 * gdb.multi/tids.exp: Test star wildcard ranges.
7460
7461 2016-01-15 Pedro Alves <palves@redhat.com>
7462
7463 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7464 command from "thread apply" invocation.
7465 (thr_apply_info_thr_invalid): Default the expected output to the
7466 input tid list.
7467 (top level): Add tests that use convenience variables. Add tests
7468 for "thread apply" with a valid TID list, but missing the command.
7469
7470 2016-01-13 Pedro Alves <palves@redhat.com>
7471
7472 * gdb.base/default.exp: Expect $_gthread as well.
7473 * gdb.multi/tids.exp: Test $_gthread.
7474 * gdb.threads/thread-specific.exp: Test $_gthread.
7475
7476 2016-01-13 Pedro Alves <palves@redhat.com>
7477
7478 * gdb.multi/tids.exp: Test "info threads -gid".
7479
7480 2016-01-13 Pedro Alves <palves@redhat.com>
7481
7482 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7483 Breakpoint.thread.
7484 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7485
7486 2016-01-07 Pedro Alves <palves@redhat.com>
7487
7488 * gdb.base/break.exp: Adjust to output changes.
7489 * gdb.base/hbreak2.exp: Likewise.
7490 * gdb.base/sepdebug.exp: Likewise.
7491 * gdb.base/watch_thread_num.exp: Likewise.
7492 * gdb.linespec/keywords.exp: Likewise.
7493 * gdb.multi/info-threads.exp: Likewise.
7494 * gdb.threads/thread-find.exp: Likewise.
7495 * gdb.multi/tids.c: New file.
7496 * gdb.multi/tids.exp: New file.
7497
7498 2016-01-13 Pedro Alves <palves@redhat.com>
7499
7500 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7501
7502 2016-01-13 Pedro Alves <palves@redhat.com>
7503
7504 * gdb.base/default.exp: Expect $_inferior as well.
7505 * gdb.multi/base.exp: Test $_inferior.
7506
7507 2016-01-13 Pedro Alves <palves@redhat.com>
7508
7509 PR breakpoints/19388
7510 * gdb.base/catch-signal-siginfo-cond.c: New file.
7511 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7512
7513 2016-01-12 Josh Stone <jistone@redhat.com>
7514 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7515
7516 * gdb.base/catch-syscall.c (do_execve): New variable.
7517 (main): Conditionally trigger an execve.
7518 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7519 (test_catch_syscall_execve): New, check entry/return across execve.
7520 (do_syscall_tests): Call test_catch_syscall_execve.
7521
7522 2016-01-12 Pedro Alves <palves@redhat.com>
7523
7524 * gdb.base/random-signal.exp (do_test): New procedure, with body
7525 of testcase moved in.
7526
7527 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7528 Pedro Alves <palves@redhat.com>
7529
7530 * gdb.base/funcargs.exp (finish from indirectly called function):
7531 Reintroduce the case for 'First'.
7532
7533 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7534 Pedro Alves <palves@redhat.com>
7535
7536 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7537 (tcatch_vfork_then_child_follow_exec)
7538 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7539 identification.
7540
7541 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7542
7543 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7544 and repeats to unlimited.
7545 * gdb.python/py-value.exp: Likewise.
7546 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7547 and repeats to unlimited.
7548
7549 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7550
7551 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7552 and reordering the functions.
7553 * gdb.multi/hangout.c: Likewise.
7554 * gdb.multi/hello.c: Likewise.
7555
7556 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7557
7558 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7559 absolute.
7560 (SingleStatisticTestResult.report): Use dict.keys instead of
7561 dict.iterkeys.
7562
7563 2016-01-06 Pedro Alves <palves@redhat.com>
7564
7565 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7566
7567 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7568
7569 * gdb.btrace/dlopen.exp: New.
7570 * gdb.btrace/dlopen.c: New.
7571 * gdb.btrace/dlopen-dso.c: New.
7572
7573 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
7574
7575 * lib/gdb.exp (gdb_test): Update comments to clarify that the
7576 PATTERN argument is optional.
7577
7578 2015-12-24 Joel Brobecker <brobecker@adacore.com>
7579
7580 * lib/ada.exp (target_compile_ada_from_dir): New function.
7581 (gdb_compile_ada): Reimplement avoiding the use of project files.
7582 * gdb.ada/gnat_ada.gpr: Delete.
7583 * gdb.ada/cond_lang.exp: Adjust test to make path before
7584 filename optional.
7585 * gdb.ada/small_reg_param.exp: Likewise.
7586
7587 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
7588
7589 * gdb.base/foll-vork.exp: Remove HP-UX special case.
7590
7591 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
7592
7593 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7594 case.
7595
7596 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
7597
7598 * gdb.base/break.exp: Remove dead code.
7599 * gdb.base/sepdebug.exp: Likewise.
7600
7601 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7602
7603 * gdb.asm/asm-source.exp: Remove HP-UX references.
7604 * gdb.base/annota1.exp: Likewise.
7605 * gdb.base/annota3.exp: Likewise.
7606 * gdb.base/attach.exp: Likewise.
7607 * gdb.base/bigcore.exp: Likewise.
7608 * gdb.base/break.exp: Likewise.
7609 * gdb.base/call-ar-st.exp: Likewise.
7610 * gdb.base/callfuncs.exp: Likewise.
7611 * gdb.base/catch-fork-static.exp: Likewise.
7612 * gdb.base/display.exp: Likewise.
7613 * gdb.base/foll-exec-mode.exp: Likewise.
7614 * gdb.base/foll-exec.exp: Likewise.
7615 * gdb.base/foll-fork.exp: Likewise.
7616 * gdb.base/foll-vfork.exp: Likewise.
7617 * gdb.base/funcargs.exp: Likewise.
7618 * gdb.base/hbreak2.exp: Likewise.
7619 * gdb.base/inferior-died.exp: Likewise.
7620 * gdb.base/interrupt.exp: Likewise.
7621 * gdb.base/multi-forks.exp: Likewise.
7622 * gdb.base/nodebug.exp: Likewise.
7623 * gdb.base/sepdebug.exp: Likewise.
7624 * gdb.base/solib1.c: Likewise.
7625 * gdb.base/step-test.exp: Likewise.
7626 * gdb.mi/non-stop.c: Likewise.
7627 * gdb.mi/pthreads.c: Likewise.
7628 * gdb.multi/bkpt-multi-exec.ex: Likewise.
7629 * gdb.threads/pthreads.c: Likewise.
7630 * gdb.threads/staticthreads.exp: Likewise.
7631 * lib/future.exp: Likewise.
7632 * lib/gdb.exp: Likewise.
7633 * gdb.base/so-indr-cl.c: Remove.
7634 * gdb.base/so-indr-cl.exp: Likewise.
7635 * gdb.base/solib.c: Likewise.
7636 * gdb.base/solib.exp: Likewise.
7637 * gdb.base/solib2.c: Likewise.
7638
7639 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7640
7641 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7642 * gdb.base/call-ar-st.exp: Likewise.
7643 * gdb.base/callfuncs.exp: Likewise.
7644 * gdb.base/condbreak.exp: Likewise.
7645 * gdb.base/constvars.exp: Likewise.
7646 * gdb.base/hbreak2.exp: Likewise.
7647 * gdb.base/langs.exp: Likewise.
7648 * gdb.base/list.exp: Likewise.
7649 * gdb.base/long_long.exp: Likewise.
7650 * gdb.base/ptype.exp: Likewise.
7651 * gdb.base/scope.exp: Likewise.
7652 * gdb.base/signals.exp: Likewise.
7653 * gdb.base/so-impl-ld.exp: Likewise.
7654 * gdb.base/varargs.exp: Likewise.
7655 * gdb.base/volatile.exp: Likewise.
7656 * gdb.base/whatis.exp: Likewise.
7657 * gdb.cp/cplusfuncs.exp: Likewise.
7658 * gdb.cp/inherit.exp: Likewise.
7659 * gdb.cp/local.exp: Likewise.
7660 * gdb.cp/member-ptr.exp: Likewise.
7661 * gdb.cp/method.exp: Likewise.
7662 * gdb.cp/overload.exp: Likewise.
7663 * gdb.cp/templates.exp: Likewise.
7664 * gdb.stabs/weird.exp: Likewise.
7665 * lib/compiler.c: Likewise.
7666 * lib/compiler.cc: Likewise.
7667 * lib/cp-support.exp: Likewise.
7668 * lib/gdb.exp: Likewise.
7669
7670 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7671
7672 * configure.ac: Remove HP-UX case.
7673 * configure: Regenerate.
7674
7675 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7676
7677 * lib/gdb.exp (gdb_compile): Add function doc.
7678
7679 2015-12-17 Pedro Alves <palves@redhat.com>
7680
7681 PR threads/19354
7682 * gdb.multi/info-threads.exp: New file.
7683
7684 2015-12-15 Yao Qi <yao.qi@linaro.org>
7685
7686 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7687 is aarch64*-*-*.
7688
7689 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7690
7691 * gdb.base/history-duplicates.exp: Skip if no readline support.
7692
7693 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7694
7695 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7696
7697 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7698
7699 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7700
7701 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7702
7703 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7704 ctrl-C if nointerrupts target property is set.
7705 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7706 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7707 * gdb.base/paginate-bg-execution.exp: Likewise.
7708 * gdb.base/paginate-execution-startup.exp: Likewise.
7709 * gdb.base/random-signal.exp: Likewise.
7710 * gdb.base/range-stepping.exp: Likewise.
7711 * gdb.cp/annota2.exp: Likewise.
7712 * gdb.cp/annota3.exp: Likewise.
7713 * gdb.gdb/selftest.exp: Likewise.
7714 * gdb.threads/continue-pending-status.exp: Likewise.
7715 * gdb.threads/leader-exit.exp: Likewise.
7716 * gdb.threads/manythreads.exp: Likewise.
7717 * gdb.threads/pthreads.exp: Likewise.
7718 * gdb.threads/schedlock.exp: Likewise.
7719 * gdb.threads/sigthread.exp: Likewise.
7720
7721 2015-12-11 Don Breazeal <donb@codesourcery.com>
7722
7723 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7724 remote.
7725 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7726 * gdb.base/foll-exec.exp (main): Enable for target remote.
7727 * gdb.base/foll-fork.exp (main): Likewise.
7728 * gdb.base/foll-vfork.exp (main): Likewise.
7729 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7730 (proc continue_to_exit_bp_loc): Use clean_restart.
7731 * gdb.base/pie-execl.exp (main): Disable for target remote.
7732 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7733 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7734 * gdb.threads/execl.exp (main): Likewise.
7735 * gdb.threads/fork-child-threads.exp (main): Likewise.
7736 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7737 remote.
7738 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7739 remote.
7740 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7741 pid.tid style ptids, instead of just tid.
7742 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7743 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7744 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7745 ptids, instead of just tid.
7746
7747 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7748
7749 * gdb.base/list.exp (test_list_forward): Add end of file error
7750 test.
7751 (test_repeat_list_command): Add end of file error test.
7752 (test_list_backwards): Add beginning of file error test.
7753
7754 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7755
7756 * gdb.base/list.exp (test_list_invalid_args): New function,
7757 defined, and called.
7758
7759 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7760
7761 * gdb.base/list.exp (test_list): Make test names unique.
7762
7763 2015-12-11 Yao Qi <yao.qi@linaro.org>
7764
7765 * gdb.base/coremaker2.c: Remove.
7766
7767 2015-12-10 Pedro Alves <palves@redhat.com>
7768
7769 * gdb.multi/base.exp: Remove stale "spaces" references.
7770
7771 2015-12-10 Pedro Alves <palves@redhat.com>
7772
7773 * gdb.multi/base.exp: Don't use nowarnings.
7774 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7775 * gdb.multi/hangout.c: Include stdio.h.
7776 * gdb.multi/hello.c: Include stdlib.h.
7777 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7778 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7779 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7780
7781 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7782
7783 * gdb.dwarf2/dw2-ranges-base.c: New file.
7784 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7785 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7786 support additional line table, and debug ranges generation.
7787 (Dwarf::ranges): New function, generate .debug_ranges.
7788 (Dwarf::lines): Support generating simple line table programs.
7789 (Dwarf::assemble): Initialise new namespace variables.
7790
7791 2015-12-09 Kevin Buettner <kevinb@redhat.com>
7792
7793 * gdb.base/async.exp (proc test_background): Add case for
7794 asynchronous execution not supported.
7795
7796 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
7797
7798 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7799 format and change test names to make them unique.
7800
7801 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7802 Pedro Alves <pedro@redhat.com>
7803
7804 PR gdb/18702
7805 Add checking of floatformats setup on x86_64 hosts.
7806 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7807 (smallval, bigval): New labels/constants.
7808 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7809 float" after loading bigval and smallval.
7810
7811 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7812
7813 * gdb.ada/fun_overload_menu.exp: New testcase.
7814 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7815
7816 2015-12-04 Josh Stone <jistone@redhat.com>
7817
7818 * gdb.base/catch-fork-static.exp: New.
7819
7820 2015-12-03 Yao Qi <yao.qi@linaro.org>
7821
7822 * gdb.base/sizeof.c: Don't include stdio.h and
7823 ../lib/unbuffer_output.c.
7824 (main): New variable 'size' and 'value'. Remove printf and
7825 gdb_unbuffer_output. Assign return value to size and value.
7826 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7827 at the beginning.
7828 (check_sizeof): Check the result by printing variable 'size'.
7829 (check_valueof): Check the result by printing variable 'value'.
7830
7831 2015-12-01 Yao Qi <yao.qi@linaro.org>
7832
7833 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7834 for aarch64*-*-linux* target.
7835
7836 2015-11-30 Pedro Alves <palves@redhat.com>
7837
7838 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7839
7840 2015-11-30 Pedro Alves <palves@redhat.com>
7841
7842 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7843 Handle non-stop mode vCont replies.
7844
7845 2015-11-30 Pedro Alves <palves@redhat.com>
7846
7847 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7848 prepare_for_testing. Start gdb with "set non-stop on" appended to
7849 GDBFLAGS. Lax expected stop output.
7850
7851 2015-11-27 Yao Qi <yao.qi@linaro.org>
7852
7853 * gdb.arch/arm-neon.exp: New.
7854 * gdb.arch/arm-neon.c: New.
7855
7856 2015-11-27 Yao Qi <yao.qi@linaro.org>
7857
7858 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7859
7860 2015-11-27 Yao Qi <yao.qi@linaro.org>
7861
7862 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7863 frames-invalid annotation.
7864
7865 2015-11-27 Yao Qi <yao.qi@linaro.org>
7866
7867 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7868
7869 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7870
7871 * gdb.threads/names.exp: New file.
7872 * gdb.threads/names.c: New file.
7873 * README: Mention gdb,no_thread_names.
7874
7875 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7876
7877 PR 19297
7878 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7879 support" error.
7880
7881 2015-11-24 Pedro Alves <palves@redhat.com>
7882
7883 PR 17539
7884 * gdb.base/display.exp: Expect displays to be sorted in ascending
7885 order. Use multi_line.
7886 * gdb.base/solib-display.exp: Likewise.
7887
7888 2015-11-24 Pedro Alves <palves@redhat.com>
7889
7890 PR 17539
7891 * gdb.base/display.exp: Expect displays to be sorted in ascending
7892 order. Use multi_line.
7893 * gdb.base/solib-display.exp: Likewise.
7894
7895 2015-11-24 Pedro Alves <palves@redhat.com>
7896
7897 PR 17539
7898 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7899 threads in ascending order.
7900 * gdb.base/foll-fork.exp: Likewise.
7901 * gdb.base/foll-vfork.exp: Likewise.
7902 * gdb.base/multi-forks.exp: Likewise.
7903 * gdb.mi/mi-nonstop.exp: Likewise.
7904 * gdb.mi/mi-nsintrall.exp: Likewise.
7905 * gdb.multi/base.exp: Likewise.
7906 * gdb.multi/multi-arch.exp: Likewise.
7907 * gdb.python/py-inferior.exp: Likewise.
7908 * gdb.threads/break-while-running.exp: Likewise.
7909 * gdb.threads/execl.exp: Likewise.
7910 * gdb.threads/gcore-thread.exp: Likewise.
7911 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7912 * gdb.threads/kill.exp: Likewise.
7913 * gdb.threads/linux-dp.exp: Likewise.
7914 * gdb.threads/multiple-step-overs.exp: Likewise.
7915 * gdb.threads/next-bp-other-thread.exp: Likewise.
7916 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7917 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7918 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7919 * gdb.threads/thread-find.exp: Likewise.
7920 * gdb.threads/tls.exp: Likewise.
7921 * lib/mi-support.exp (mi_reverse_list): Delete.
7922 (mi_check_thread_states): No longer reverse list.
7923
7924 2015-11-24 Pedro Alves <palves@redhat.com>
7925
7926 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
7927 use lowercase.
7928
7929 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7930
7931 * gdb.trace/actions.c: Include trace-common.h.
7932 (main): Add a location for a fast tracepoint.
7933 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
7934 the normal tracepoints.
7935 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
7936
7937 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7938
7939 * save-trace.exp: Factor out code to these...
7940 (gdb_save_tracepoints): New.
7941 (gdb_load_tracepoints): New.
7942 (do_save_load_test): New.
7943
7944 2015-11-23 Kevin Buettner <kevinb@redhat.com>
7945
7946 * gdb.base/asmlabel.exp: New test.
7947 * gdb.base/asmlabel.c: New test case.
7948
7949 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7950
7951 * gdb.base/wrong_frame_bt_full-main.c: New file.
7952 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
7953 * gdb.base/wrong_frame_bt_full.exp: New file.
7954
7955 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7956
7957 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
7958
7959 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7960
7961 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
7962 pstate register when comparing registers values in
7963 sparc64-*-linux-gnu targets to avoid spurious differences.
7964
7965 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7966
7967 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
7968
7969 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
7970
7971 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
7972 as type argument to gdb_compile.
7973 * gdb.base/nested-subp2.exp: Likewise.
7974 * gdb.base/nested-subp3.exp: Likewise.
7975
7976 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
7977
7978 * lib/dwarf.exp (_note): Fix left shift of negative value.
7979 * gdb.trace/trace-condition.exp: Likewise.
7980
7981 2015-11-13 Yao Qi <yao.qi@linaro.org>
7982
7983 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
7984 comments about d10v.
7985 (test_scalar_returns): Likewise.
7986 * gdb.base/d10v.ld: Remove.
7987 * gdb.base/overlays.exp: Remove the target triplet checking for
7988 d10v-*-*.
7989 * gdb.base/structs.exp (test_struct_returns): Remove the
7990 comments about d10v.
7991 (test_struct_calls): Likewise.
7992
7993 2015-11-13 Yao Qi <yao.qi@linaro.org>
7994
7995 * gdb.base/gnu_vector.exp: Check the return value by "p res".
7996 * gdb.base/gnu_vector.c: Don't include stdio.h.
7997 (main): Don't print res and call add_some_intvecs.
7998
7999 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
8000
8001 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8002 macro.
8003 (func5): Removed.
8004 (func4): Use FAST_TRACEPOINT_LABEL.
8005 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8006 macro.
8007 (func): Removed.
8008 (thread_function): Use FAST_TRACEPOINT_LABEL.
8009 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8010 (func): Remove.
8011 (marker): Use FAST_TRACEPOINT_LABEL.
8012 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8013 (pendfunc1): Remove.
8014 (pendfunc): Use FAST_TRACEPOINT_LABEL.
8015 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8016 (foo): Remove.
8017 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8018 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8019 macro.
8020 (func): Remove.
8021 (marker): Use FAST_TRACEPOINT_LABEL.
8022 * gdb.trace/trace-common.h: New header.
8023 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8024 macro.
8025 (func): Remove.
8026 (marker): Use FAST_TRACEPOINT_LABEL.
8027 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8028 (func): Remove.
8029 (thread_function): Use FAST_TRACEPOINT_LABEL.
8030
8031 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
8032
8033 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8034 in front.
8035 * gdb.trace/change-loc.exp: Use global pcreg definition.
8036 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8037 * gdb.trace/entry-values.exp: Use global spreg definition, add $
8038 in front.
8039 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8040 * gdb.trace/pending.exp: Likewise.
8041 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8042 * gdb.trace/trace-break.exp: Likewise.
8043 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8044 in front.
8045 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8046 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8047 in front.
8048 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8049
8050 2015-11-09 Joel Brobecker <brobecker@adacore.com>
8051
8052 * gdb.ada/fin_fun_out: New testcase.
8053
8054 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8055
8056 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8057 value associated with DW_AT_byte_size.
8058 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8059 constants for DW_AT_byte_size, DW_AT_lower_bound, and
8060 DW_AT_upper_bound.
8061
8062 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8063
8064 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8065 (gdb_target_symbol_prefix_flags): Define in terms of _asm
8066 version.
8067 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8068 gdb.dwarf2/dw2-canonicalize-type.exp,
8069 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8070 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8071 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8072 provided by gdb_target_symbol_prefix_flags_asm.
8073 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8074 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8075 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8076 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8077 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8078 macros where needed). Use this macro for symbols which require
8079 the prefix provided by SYMBOL_PREFIX.
8080
8081 2015-11-05 Kevin Buettner <kevinb@redhat.com>
8082
8083 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8084 New procs.
8085 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8086 representing expressions, of more than one list element.
8087 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8088 to prepend linker symbol prefix to f.
8089 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8090 table_1 and table_2.
8091 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8092 Likewise, for f and g.
8093 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8094 for ptr.
8095 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8096 for main.
8097 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8098 table_1_ptr and table_2_ptr.
8099
8100 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8101 Joel Brobecker <brobecker@adacore.com>
8102
8103 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8104
8105 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8106
8107 * gdb.reverse/s390-mvcle.c: New test.
8108 * gdb.reverse/s390-mvcle.exp: New file.
8109 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8110
8111 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8112
8113 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8114
8115 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8116
8117 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8118 reaching marker2.
8119 * gdb.reverse/getresuid-reverse.exp: Likewise.
8120 * gdb.reverse/pipe-reverse.exp: Likewise.
8121 * gdb.reverse/readv-reverse.exp: Likewise.
8122 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8123 * gdb.reverse/time-reverse.exp: Likewise.
8124 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8125
8126 2015-10-30 Yao Qi <yao.qi@linaro.org>
8127
8128 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8129 (empty_cycle): Remove.
8130 (main): Don't call empty_cycle. Don't use watch_count_done.
8131 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8132 empty_cycle. Rewrite the code counting HW watchpoints.
8133
8134 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8135
8136 * gdb.reverse/fstatat-reverse.c: New test.
8137 * gdb.reverse/fstatat-reverse.exp: New file.
8138 * gdb.reverse/getresuid-reverse.c: New test.
8139 * gdb.reverse/getresuid-reverse.exp: New file.
8140 * gdb.reverse/pipe-reverse.c: New test.
8141 * gdb.reverse/pipe-reverse.exp: New file.
8142 * gdb.reverse/readv-reverse.c: New test.
8143 * gdb.reverse/readv-reverse.exp: New file.
8144 * gdb.reverse/recvmsg-reverse.c: New test.
8145 * gdb.reverse/recvmsg-reverse.exp: New file.
8146 * gdb.reverse/time-reverse.c: New test.
8147 * gdb.reverse/time-reverse.exp: New file.
8148 * gdb.reverse/waitpid-reverse.c: New test.
8149 * gdb.reverse/waitpid-reverse.exp: New file.
8150
8151 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8152
8153 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8154
8155 2015-10-26 Doug Evans <dje@google.com>
8156
8157 PR symtab/17391
8158 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8159 * gdb.dwarf2/bad-regnum.c: New file.
8160 * gdb.dwarf2/bad-regnum.exp: New file.
8161
8162 2015-10-26 Doug Evans <dje@google.com>
8163
8164 PR python/18938
8165 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8166 file.
8167
8168 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8169
8170 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8171 for a change by "Mention language in compile error message".
8172
8173 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8174
8175 PR python/18073
8176 * gdb.python/py-type.c (C::a_method): New.
8177 (C::a_const_method): New.
8178 (C::a_static_method): New.
8179 (a_function): New.
8180 * gdb.python/py-type.exp (test_fields): Test getting fields
8181 from function and method.
8182
8183 2015-10-21 Keven Boell <keven.boell@intel.com>
8184
8185 * gdb.fortran/vla-alloc-assoc.exp: New file.
8186 * gdb.fortran/vla-datatypes.exp: New file.
8187 * gdb.fortran/vla-datatypes.f90: New file.
8188 * gdb.fortran/vla-history.exp: New file.
8189 * gdb.fortran/vla-ptype-sub.exp: New file.
8190 * gdb.fortran/vla-ptype.exp: New file.
8191 * gdb.fortran/vla-sizeof.exp: New file.
8192 * gdb.fortran/vla-sub.f90: New file.
8193 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8194 * gdb.fortran/vla-value-sub-finish.exp: New file.
8195 * gdb.fortran/vla-value-sub.exp: New file.
8196 * gdb.fortran/vla-value.exp: New file.
8197 * gdb.fortran/vla-ptr-info.exp: New file.
8198 * gdb.mi/mi-vla-fortran.exp: New file.
8199 * gdb.mi/vla.f90: New file.
8200
8201 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8202
8203 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8204 of hardwired timeout value.
8205
8206 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8207 Pedro Alves <palves@redhat.com>
8208
8209 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8210 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8211
8212 2015-10-19 Josh Stone <jistone@redhat.com>
8213
8214 * gdb.base/catch-syscall.c: Include <sched.h>.
8215 (unknown_syscall): New variable.
8216 (main): Trigger a vfork and an unknown syscall.
8217 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8218 (unknown_syscall_number): Likewise.
8219 (check_call_to_syscall): Accept an optional syscall pattern.
8220 (check_return_from_syscall): Likewise.
8221 (check_continue): Likewise.
8222 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8223 (test_catch_syscall_skipping_return): New test toggling off 'catch
8224 syscall' to step over the syscall return, then toggling back on.
8225 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8226 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8227 (do_syscall_tests): Call test_catch_syscall_without_args and
8228 test_catch_syscall_mid_vfork.
8229 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8230 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8231
8232 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
8233
8234 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8235 print g_vE): Add new pass patterns.
8236 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8237 print various symbol names for vptr fields.
8238
8239 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8240
8241 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8242 results.
8243
8244 2015-10-12 Yao Qi <yao.qi@linaro.org>
8245
8246 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8247
8248 2015-10-12 Yao Qi <yao.qi@linaro.org>
8249
8250 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8251 is aarch64*-*-linux*.
8252
8253 2015-10-12 Yao Qi <yao.qi@linaro.org>
8254
8255 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8256 (can_relocate_bcond_true): ... it.
8257 (can_relocate_bcond_false): New function.
8258 (foo): Likewise.
8259 (can_relocate_bl): Likewise.
8260 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8261 can_relocate_bl.
8262
8263 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8264
8265 * gdb.base/nested-addr.c: New file.
8266 * gdb.base/nested-addr.exp: New testcase.
8267
8268 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8269
8270 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8271 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8272 its output. Ignore the output of "record goto begin" and instead
8273 check that GDB is replaying.
8274
8275 2015-10-09 Pedro Alves <palves@redhat.com>
8276
8277 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8278 (top level): Use it in the run with no args test.
8279
8280 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8281
8282 * gdb.dlang/properties.exp: New file.
8283
8284 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8285
8286 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8287 whether or not address 0x1000 is mapped on the target.
8288
8289 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8290
8291 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8292 build.
8293
8294 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8295
8296 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8297 instruction-history test.
8298
8299 2015-09-28 Doug Evans <dje@google.com>
8300
8301 * gdb.base/gcore.c (array_func): Add reference to static_array.
8302
8303 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8304
8305 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8306 source line.
8307
8308 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8309
8310 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8311 short or char as base type.
8312
8313 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8314
8315 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8316 to allow any size enum.
8317
8318 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8319
8320 * gdb.ada/array_ptr_renaming.exp: New testcase.
8321 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8322 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8323
8324 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8325
8326 * gdb.trace/ftrace-lock.c: New file.
8327 * gdb.trace/ftrace-lock.exp: New file.
8328
8329 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8330
8331 * gdb.arch/insn-reloc.c: New file.
8332 * gdb.arch/ftrace-insn-reloc.exp: New file.
8333
8334 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8335
8336 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8337 instruction.
8338 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8339 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8340 * gdb.trace/range-stepping.c: Likewise.
8341 * gdb.trace/trace-break.c: Likewise.
8342 * gdb.trace/trace-mt.c (thread_function): Likewise.
8343 * gdb.trace/ftrace.c (marker): Likewise.
8344 * gdb.trace/trace-condition.c (marker): Likewise.
8345 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8346 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8347 is_aarch64_target.
8348
8349 2015-09-18 Doug Evans <xdje42@gmail.com>
8350
8351 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8352 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8353
8354 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8355
8356 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8357 the breakpoint.
8358
8359 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8360
8361 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8362 the pending breakpoint. Remove timeout override for "Run till
8363 MI pending breakpoint on pendfunc3 on thread 2" test.
8364
8365 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8366
8367 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8368 filename pattern.
8369
8370 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8371
8372 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8373 in breakpoint filename pattern.
8374
8375 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8376
8377 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8378
8379 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8380
8381 * gdb.linespec/explicit.exp: Check for readline support for
8382 tab-completion tests. Fix obvious typo.
8383
8384 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8385
8386 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8387 and replay.
8388
8389 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8390
8391 * gdb.btrace/non-stop.c: New.
8392 * gdb.btrace/non-stop.exp: New.
8393
8394 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8395 Yao Qi <yao.qi@linaro.org>
8396
8397 * gdb.trace/trace-condition.c: New file.
8398 * gdb.trace/trace-condition.exp: New file.
8399
8400 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
8401
8402 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8403 for testing bytecode compilation.
8404
8405 2015-09-16 Pedro Alves <palves@redhat.com>
8406 Sandra Loosemore <sandra@codesourcery.com>
8407
8408 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8409 (SECONDS): Redefine.
8410 (main): Call pthread_kill and alarm early.
8411 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8412 support.
8413 (test): If the target can't hardware step and doesn't support
8414 displaced stepping, increase the timeout.
8415
8416 2015-09-16 Pedro Alves <palves@redhat.com>
8417
8418 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8419 (enable_debug): New procedures.
8420 (test): Use them. Bail out if waiting for threads fails.
8421 (top level): Bail out if a test fails.
8422
8423 2015-09-16 Yao Qi <yao.qi@linaro.org>
8424
8425 * gdb.asm/asm-source.exp: Set asm-arch for
8426 aarch64*-*-* target.
8427 * gdb.asm/aarch64.inc: New file.
8428
8429 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8430
8431 * gdb.ada/array_of_variable_length.exp: New testcase.
8432 * gdb.ada/array_of_variable_length/foo.adb: New file.
8433 * gdb.ada/array_of_variable_length/pck.adb: New file.
8434 * gdb.ada/array_of_variable_length/pck.ads: New file.
8435
8436 2015-09-15 Doug Evans <dje@google.com>
8437
8438 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8439 of function static local variable.
8440
8441 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8442
8443 * gdb.threads/tls-so_extern.exp: New test file.
8444 * gdb.threads/tls-so_extern.c: New test file.
8445 * gdb.threads/tls-so_extern_main.c: New test file.
8446
8447 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8448
8449 * gdb.opt/solib-intra-step-lib.c: New file.
8450 * gdb.opt/solib-intra-step-main.c: New file.
8451 * gdb.opt/solib-intra-step.exp: New file.
8452
8453 2015-09-15 Pedro Alves <palves@redhat.com>
8454
8455 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8456 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8457
8458 2015-09-14 Pedro Alves <palves@redhat.com>
8459
8460 * gdb.base/hook-stop-continue.c: Delete.
8461 * gdb.base/hook-stop-continue.exp: Delete.
8462 * gdb.base/hook-stop-frame.c: Delete.
8463 * gdb.base/hook-stop-frame.exp: Delete.
8464 * gdb.base/hook-stop.c: New file.
8465 * gdb.base/hook-stop.exp: New file.
8466
8467 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8468
8469 * gdb.ada/access_to_packed_array.exp: New testcase.
8470 * gdb.ada/access_to_packed_array/foo.adb: New file.
8471 * gdb.ada/access_to_packed_array/pack.adb: New file.
8472 * gdb.ada/access_to_packed_array/pack.ads: New file.
8473
8474 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8475
8476 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8477 buffer size test.
8478
8479 2015-09-11 Don Breazeal <donb@codesourcery.com>
8480
8481 * gdb.base/foll-exec.c: Add copyright header. Fix
8482 formatting issues.
8483 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8484 (do_exec_tests): Use clean_restart in place of zap_session,
8485 and for test initialization. Fix formatting issues. Use
8486 fail in place of perror.
8487 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8488 an expect statement to match an expression with output from
8489 the program under debug.
8490 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8491 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8492 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8493 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8494 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8495
8496 2015-09-09 Doug Evans <dje@google.com>
8497
8498 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8499
8500 2015-09-09 Doug Evans <dje@google.com>
8501
8502 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8503
8504 2015-09-09 Doug Evans <dje@google.com>
8505
8506 * gdb.base/savedregs.exp: Fix typo.
8507
8508 2015-09-09 Pedro Alves <palves@redhat.com>
8509
8510 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8511
8512 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8513
8514 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8515 command actually switches threads. Give up on remaining
8516 tests if target fails to stop at breakpoint.
8517
8518 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8519
8520 * gdb.ada/funcall_char.exp: New testcase.
8521 * gdb.ada/funcall_char/foo.adb: New file.
8522
8523 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8524
8525 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8526 expected outputs. Add two testcases for completing ambiguous
8527 functions.
8528 * gdb.ada/complete/aux_pck.adb: New file.
8529 * gdb.ada/complete/aux_pck.ads: New file.
8530 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8531 Ambiguous_Func functions.
8532 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8533 * gdb.ada/complete/pck.adb: Likewise.
8534
8535 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8536
8537 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8538 failures to run the test program under GDB.
8539
8540 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
8541
8542 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8543 to C.
8544
8545 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8546
8547 * gdb.base/run-after-attach.exp: New test file.
8548 * gdb.base/run-after-attach.c: New test file.
8549
8550 2015-08-26 Don Breazeal <donb@codesourcery.com>
8551
8552 * gdb.base/foll-exec-2.c: New test program.
8553 * gdb.base/foll-exec-2.exp: New test.
8554
8555 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8556
8557 * gdb.base/nested-subp1.exp: New file.
8558 * gdb.base/nested-subp1.c: New file.
8559 * gdb.base/nested-subp2.exp: New file.
8560 * gdb.base/nested-subp2.c: New file.
8561 * gdb.base/nested-subp3.exp: New file.
8562 * gdb.base/nested-subp3.c: New file.
8563
8564 2015-08-24 Pedro Alves <palves@redhat.com>
8565
8566 * gdb.server/connect-without-multi-process.c: New file.
8567 * gdb.server/connect-without-multi-process.exp: New file.
8568
8569 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8570
8571 * gdb.opt/inline-markers.c: Make z int.
8572
8573 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8574
8575 * gdb.opt/inline-markers.c: Make z volatile.
8576
8577 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8578
8579 * gdb.opt/inline-bt.c: New volatile global z.
8580 * gdb.opt/inline-cmds.c: Likewise.
8581 * gdb.opt/inline-locals.c: Likewise.
8582 * gdb.opt/inline-markers.c: New extern global z.
8583 (marker): Use z.
8584 (inline_fn): Likewise.
8585
8586 2015-08-24 Pedro Alves <palves@redhat.com>
8587
8588 * config/m32r-stub.exp: Remove file.
8589 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8590 * gdb.base/call-rt-st.exp: Likewise.
8591 * gdb.base/call-strs.exp: Likewise.
8592 * gdb.base/default.exp: Remove references to h8300-*-hms and
8593 *-*-udi*.
8594 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8595
8596 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8597
8598 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8599 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
8600 and "return" use KFAIL when GDB can not read/write the vector
8601 return value.
8602
8603 2015-08-21 Gary Benson <gbenson@redhat.com>
8604
8605 * gdb.trace/pending.exp: Cope with remote transfer warnings.
8606
8607 2015-08-20 Pedro Alves <palves@redhat.com>
8608
8609 * gdb.server/solib-list.exp: No longer expect an interior stop in
8610 non-stop mode.
8611
8612 2015-08-20 Pedro Alves <palves@redhat.com>
8613
8614 * gdb.server/connect-stopped-target.c: New file.
8615 * gdb.server/connect-stopped-target.exp: New file.
8616
8617 2015-08-20 Pedro Alves <palves@redhat.com>
8618
8619 * gdb.dwarf2/comp-unit-lang.exp: New file.
8620 * gdb.dwarf2/comp-unit-lang.c: New file.
8621
8622 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
8623
8624 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8625 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8626
8627 2015-08-19 Kevin Buettner <kevinb@redhat.com>
8628
8629 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8630 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8631
8632 2015-08-18 Doug Evans <dje@google.com>
8633 Adrian Sendroiu <adrian.sendroiu@freescale.com>
8634
8635 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8636 skip_python_tests. New arg prompt_regexp.
8637 (skip_python_tests): New function.
8638 * lib/mi-support.exp (mi_skip_python_tests): New function.
8639 * gdb.python/py-mi-objfile-gdb.py: New file.
8640 * gdb.python/py-mi-objfile.c: New file.
8641 * gdb.python/py-mi-objfile.exp: New file.
8642
8643 2015-08-17 Keith Seitz <keiths@redhat.com>
8644
8645 * gdb.linespec/explicit.exp: Move strace test from here ...
8646 * gdb.trace/strace.exp: ... to here.
8647
8648 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8649
8650 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8651 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8652
8653 2015-08-14 Doug Evans <xdje42@gmail.com>
8654
8655 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8656 inferior before selecting a new file.
8657
8658 2015-08-14 Doug Evans <xdje42@gmail.com>
8659
8660 * gdb.mi/mi-disassemble.exp: Update.
8661 * gdb.base/disasm-optim.S: New file.
8662 * gdb.base/disasm-optim.c: New file.
8663 * gdb.base/disasm-optim.h: New file.
8664 * gdb.base/disasm-optim.exp: New file.
8665
8666 2015-08-14 Keith Seitz <keiths@redhat.com>
8667
8668 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8669 "evaluated-by".
8670
8671 2015-08-13 Joel Brobecker <brobecker@adacore.com>
8672
8673 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8674
8675 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8676
8677 * gdb.ada/fun_renaming.exp: New testcase.
8678 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8679 * gdb.ada/fun_renaming/pack.adb: New file.
8680 * gdb.ada/fun_renaming/pack.ads: New file.
8681
8682 2015-08-12 Keith Seitz <keiths@redhat.com>
8683
8684 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8685 gdb_get_line_number.
8686
8687 2015-08-12 Joel Brobecker <brobecker@adacore.com>
8688
8689 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8690 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8691 gdb.base/dso2dso.exp: New files.
8692
8693 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8694 Pedro Alves <palves@redhat.com>
8695 Keith Seitz <keiths@redhat.com>
8696
8697 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8698 GDBFLAGS.
8699
8700 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8701
8702 * gdb.base/gdbhistsize-history.exp
8703 (test_histsize_history_setting): Use save_vars.
8704 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8705 Use save_vars.
8706 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8707 * gdb.base/readline.exp: Use save_vars.
8708
8709 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8710
8711 * lib/gdb.exp (save_vars): New proc.
8712
8713 2015-08-11 Keith Seitz <keiths@redhat.com>
8714
8715 * gdb.base/help.exp: Update help_breakpoint_text.
8716
8717 2015-08-11 Keith Seitz <keiths@redhat.com>
8718
8719 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8720 (at toplevel): Call test_explicit_breakpoints.
8721 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8722 breakpoints.
8723 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8724 breakpoint conditions, "-cond".
8725
8726 2015-08-11 Keith Seitz <keiths@redhat.com>
8727
8728 * gdb.linespec/3explicit.c: New file.
8729 * gdb.linespec/cpexplicit.cc: New file.
8730 * gdb.linespec/cpexplicit.exp: New file.
8731 * gdb.linespec/explicit.c: New file.
8732 * gdb.linespec/explicit.exp: New file.
8733 * gdb.linespec/explicit2.c: New file.
8734 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8735 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8736 before using in the matching pattern.
8737 Clarify that `prefix' is a regular expression.
8738
8739 2015-08-11 Keith Seitz <keiths@redhat.com>
8740
8741 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8742 test.
8743 Add tests for missing ",FMT" and ",".
8744
8745 2015-08-10 Doug Evans <dje@google.com>
8746 Keith Seitz <keiths@redhat.com>
8747
8748 PR gdb/17960
8749 * gdb.base/completion.exp: Add location completer tests.
8750
8751 2015-08-07 Pedro Alves <palves@redhat.com>
8752
8753 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8754 tests here.
8755 (top level): Run do_test with and without displaced stepping.
8756
8757 2015-08-07 Pedro Alves <palves@redhat.com>
8758
8759 * gdb.base/valgrind-disp-step.c: New file.
8760 * gdb.base/valgrind-disp-step.exp: New file.
8761
8762 2015-08-07 Pedro Alves <palves@redhat.com>
8763
8764 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8765 Delete function.
8766 (main): Add alarm. Run an infinite loop instead of calling
8767 wait_threads.
8768 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8769 comment.
8770 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8771 Delete function.
8772 (main): Add alarm. Run an infinite loop instead of calling
8773 wait_threads.
8774 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8775 comment.
8776
8777 2015-08-07 Pedro Alves <palves@redhat.com>
8778
8779 * gdb.base/checkpoint-ns.exp: New file.
8780 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8781 standard_testfile.
8782
8783 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8784
8785 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8786 * gdb.btrace/instruction_history.exp: Update.
8787 * gdb.btrace/tsx.exp: New.
8788 * gdb.btrace/tsx.c: New.
8789
8790 2015-08-06 Pedro Alves <palves@redhat.com>
8791
8792 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8793 increase timeout.
8794 * gdb.reverse/until-precsave.exp: Bump timeouts.
8795
8796 2015-08-06 Pedro Alves <palves@redhat.com>
8797
8798 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8799
8800 2015-08-06 Pedro Alves <palves@redhat.com>
8801
8802 PR gdb/18749
8803 * gdb.threads/process-dies-while-handling-bp.c: New file.
8804 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8805
8806 2015-08-06 Pedro Alves <palves@redhat.com>
8807
8808 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8809 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8810
8811 2015-08-05 Pedro Alves <palves@redhat.com>
8812
8813 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8814 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8815
8816 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8817
8818 * gdb.base/bp-permanent.exp: Report test as unsupported if
8819 the target cannot stop at the permanent breakpoint.
8820
8821 2015-08-03 Doug Evans <dje@google.com>
8822
8823 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8824 10000.
8825
8826 2015-08-03 Doug Evans <dje@google.com>
8827
8828 * Makefile.in (workers/%.worker, build-perf): New rule.
8829 (GDB_PERFTEST_MODE): New variable.
8830 (check-perf): Use it.
8831 (clean): Clean up gdb.perf parallel build subdirs.
8832 * lib/build-piece.exp: New file.
8833 * lib/gdb.exp (make_gdb_parallel_path): New function
8834 (standard_output_file, standard_temp_file): Call it.
8835 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8836 of $GDB_PARALLEL.
8837 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8838
8839 2015-08-03 Doug Evans <dje@google.com>
8840
8841 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8842 (LOG_FILE_NAME): New global.
8843 (TextReporter.__init__): Initialize self.txt_sum.
8844 (TextReporter.report): Add support for multiple data-points.
8845 Move report to perftest.sum, put raw data in perftest.log.
8846 (TextReporter.start): Open sum and log files.
8847 (TextReporter.end): Close sum and log files.
8848 * gdb.perf/lib/perftest/testresult.py
8849 (SingleStatisticTestResult.record): Handle multiple data-points.
8850
8851 2015-07-31 Pedro Alves <palves@redhat.com>
8852
8853 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8854 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8855 kill_wait_spawned_process instead of explicit "kill -9".
8856 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8857 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8858 kill_wait_spawned_process.
8859 * gdb.base/attach-twice.exp: Likewise.
8860 * gdb.base/attach.exp: Likewise.
8861 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8862 gdb_test_multiple.
8863 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8864 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8865 kill_wait_spawned_process.
8866 * gdb.base/valgrind-infcall.exp: Likewise.
8867 * gdb.multi/multi-attach.exp: Likewise.
8868 * gdb.python/py-prompt.exp: Likewise.
8869 * gdb.python/py-sync-interp.exp: Likewise.
8870 * gdb.server/ext-attach.exp: Likewise.
8871 * gdb.threads/attach-into-signal.exp (corefunc): Use
8872 spawn_wait_for_attach, spawn_id_get_pid and
8873 kill_wait_spawned_process.
8874 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8875 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8876 spawn_id_get_pid and kill_wait_spawned_process.
8877 * gdb.threads/attach-stopped.exp (corefunc): Use
8878 spawn_wait_for_attach, spawn_id_get_pid and
8879 kill_wait_spawned_process.
8880 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8881 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8882 kill_wait_spawned_process instead of explicit "kill -9".
8883 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8884 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8885 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8886 processes. Don't map cygwin/windows pids here. Now returns a
8887 spawn id list.
8888
8889 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8890
8891 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8892 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8893 correct patch.
8894
8895 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8896
8897 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8898
8899 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8900
8901 Reapply:
8902 2014-05-21 Mark Wielaard <mjw@redhat.com>
8903
8904 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8905
8906 2015-07-30 Pedro Alves <palves@redhat.com>
8907
8908 * linux-low.c (handle_extended_wait): Set the child's last
8909 reported status to TARGET_WAITKIND_STOPPED.
8910
8911 2015-07-30 Pedro Alves <palves@redhat.com>
8912
8913 PR threads/18600
8914 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8915 only shows inferior 1.
8916
8917 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8918 Pedro Alves <palves@redhat.com>
8919
8920 PR threads/18600
8921 * gdb.threads/fork-plus-threads.c: New file.
8922 * gdb.threads/fork-plus-threads.exp: New file.
8923
8924 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8925
8926 * gdb.base/batch-preserve-term-settings.exp
8927 (test_terminal_settings_preserved_after_cli_exit): Use
8928 send_quit_command.
8929
8930 2015-07-29 Pedro Alves <palves@redhat.com>
8931 Don Breazeal <donb@codesourcery.com>
8932
8933 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
8934 output from both inferior_spawn_id and gdb_spawn_id.
8935
8936 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8937
8938 * gdb.threads/attach-into-signal.exp (corefunc): Use
8939 with_test_prefix on nested loops, uniquefying the test messages.
8940
8941 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8942
8943 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
8944 commit.
8945
8946 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8947
8948 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
8949 New proc.
8950 (test_terminal_settings_preserved_after_sigterm): New test.
8951
8952 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8953
8954 * gdb.base/batch-preserve-term-settings.exp
8955 (test_terminal_settings_preserved_after_cli_exit): New test.
8956
8957 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8958
8959 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
8960 manipulation of saved_gdbflags.
8961 (test_terminal_settings_preserved): Remove global declaration of
8962 the unused variable pagination_prompt. Remove manipulation of
8963 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
8964 GDBFLAGS.
8965
8966 2015-07-29 Pedro Alves <palves@redhat.com>
8967
8968 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
8969
8970 2015-07-29 Pedro Alves <palves@redhat.com>
8971
8972 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
8973 at the top.
8974
8975 2015-07-29 Pedro Alves <palves@redhat.com>
8976
8977 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
8978 (main): Call gdb_unbuffer_output.
8979 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
8980 (main): Call gdb_unbuffer_output.
8981 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
8982 (main): Call gdb_unbuffer_output.
8983 * gdb.base/call-strs.exp: Adjust to step over the
8984 gdb_unbuffer_output call.
8985 * gdb.base/catch-gdb-caused-signals.c: Include
8986 "../lib/unbuffer_output.c".
8987 (main): Call gdb_unbuffer_output.
8988 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
8989 (main): Call gdb_unbuffer_output.
8990 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
8991 (main): Call gdb_unbuffer_output.
8992 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
8993 (main): Call gdb_unbuffer_output.
8994 * gdb.base/shlib-call.exp: Adjust to step over the
8995 gdb_unbuffer_output call.
8996 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
8997 (main): Call gdb_unbuffer_output.
8998 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
8999 (main): Call gdb_unbuffer_output.
9000 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9001 (main): Rename to ...
9002 (test): ... this.
9003 (main): Reimplement.
9004 * gdb.base/varargs.exp: Run to test instead of to main.
9005 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9006 (main): Call gdb_unbuffer_output.
9007
9008 2015-07-29 Pedro Alves <palves@redhat.com>
9009
9010 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9011 factore out from mi_continue_dprintf. For call-style dprintfs,
9012 expect dprintf output out of $inferior_spawn_id.
9013 (mi_continue_dprintf): Use mi_expect_dprintf.
9014 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9015 (main): Call gdb_unbuffer_output.
9016
9017 2015-07-29 Pedro Alves <palves@redhat.com>
9018
9019 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9020 (default_mi_gdb_start): Set inferior_spawn_id instead of
9021 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
9022 gdb_spawn_id.
9023 (mi_gdb_test): Always expect inferior output from both
9024 $inferior_spawn_id and $gdb_spawn_id.
9025
9026 2015-07-29 Pedro Alves <palves@redhat.com>
9027
9028 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
9029 send_inferior and $inferior_spawn_id.
9030
9031 2015-07-29 Pedro Alves <palves@redhat.com>
9032
9033 * gdb.gdb/complaints.exp (test_initial_complaints)
9034 (test_serial_complaints, test_short_complaints): Use
9035 gdb_test_stdio.
9036 (test_empty_complaint): Handle $inferior_spawn_id !=
9037 $gdb_spawn_id.
9038
9039 2015-07-29 Pedro Alves <palves@redhat.com>
9040
9041 * gdb.base/varargs.exp: Use gdb_test_stdio.
9042
9043 2015-07-29 Pedro Alves <palves@redhat.com>
9044
9045 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9046
9047 2015-07-29 Pedro Alves <palves@redhat.com>
9048
9049 * gdb.base/ending-run.exp: Use gdb_test_stdio.
9050
9051 2015-07-29 Pedro Alves <palves@redhat.com>
9052
9053 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9054 parameter into two new parameters, "inf_result" and "gdb_result".
9055 Expect inferior output and gdb output from $inferior_spawn_id and
9056 $gdb_spawn_id, respectively. Adjust all callers.
9057
9058 2015-07-29 Pedro Alves <palves@redhat.com>
9059
9060 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9061 of gdb_test_sequence.
9062
9063 2015-07-29 Pedro Alves <palves@redhat.com>
9064
9065 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9066 (saw_spurious_output): Expect inferior output from
9067 $inferior_spawn_id. Use gdb_test_stdio.
9068
9069 2015-07-29 Pedro Alves <palves@redhat.com>
9070
9071 * gdb.base/dprintf.exp: Use standard_testfile. Change
9072 prepare_for_testing call.
9073 (srcfile): Don't set.
9074 (restart): New procedure.
9075 (test_dprintf): New procecure, use to continue over dprintfs.
9076 (test_call, test_agent): New procedures, tests moved here.
9077 Restart gdb and recreate dprintfs. Adjust expected output.
9078
9079 2015-07-29 Pedro Alves <palves@redhat.com>
9080
9081 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9082
9083 2015-07-29 Pedro Alves <palves@redhat.com>
9084
9085 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9086
9087 2015-07-29 Pedro Alves <palves@redhat.com>
9088
9089 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9090 gdb_test_stdio.
9091
9092 2015-07-29 Pedro Alves <palves@redhat.com>
9093
9094 * lib/gdb.exp (gdb_test_stdio): New procedure.
9095
9096 2015-07-29 Pedro Alves <palves@redhat.com>
9097
9098 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9099
9100 2015-07-29 Pedro Alves <palves@redhat.com>
9101
9102 * gdb.base/call-signal-resume.exp: Remove check for
9103 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9104 * gdb.base/unwindonsignal.exp: Likewise.
9105 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9106 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9107
9108 2015-07-29 Pedro Alves <palves@redhat.com>
9109
9110 * gdb.base/siginfo-addr.c (pass): New function.
9111 (handler): Call it iff si_addr is correct.
9112 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9113 Set a breakpoint at "pass" and continue to it.
9114
9115 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9116
9117 * gdb.python/py-objfile.exp: Make some tests have unique names.
9118 * gdb.python/py-pp-registration.exp: Likewise.
9119
9120 2015-07-28 Pedro Alves <palves@redhat.com>
9121
9122 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9123
9124 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9125
9126 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9127
9128 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9129
9130 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9131
9132 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9133
9134 * gdb.base/gdb-sigterm-2.exp: New test.
9135
9136 2015-07-25 Doug Evans <xdje42@gmail.com>
9137
9138 Revert:
9139 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9140 (workers/%.worker, build-perf): New rule.
9141 (GDB_PERFTEST_MODE): New variable.
9142 (check-perf): Use it.
9143 (clean): Clean up gdb.perf parallel build subdirs.
9144 * lib/build-piece.exp: New file.
9145 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9146 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9147 name.
9148 (standard_temp_file): Ditto.
9149 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9150 of $GDB_PARALLEL.
9151
9152 2015-07-24 Doug Evans <dje@google.com>
9153
9154 * gdb.perf/lib/perftest/utils.py: New file.
9155 * gdb.perf/gm-hello.cc: New file.
9156 * gdb.perf/gm-pervasive-typedef.cc: New file.
9157 * gdb.perf/gm-pervasive-typedef.h: New file.
9158 * gdb.perf/gm-std.cc: New file.
9159 * gdb.perf/gm-std.h: New file.
9160 * gdb.perf/gm-use-cerr.cc: New file.
9161 * gdb.perf/gm-utils.h: New file.
9162 * gdb.perf/gmonster-null-lookup.py: New file.
9163 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9164 * gdb.perf/gmonster-print-cerr.py: New file.
9165 * gdb.perf/gmonster-ptype-string.py: New file.
9166 * gdb.perf/gmonster-runto-main.py: New file.
9167 * gdb.perf/gmonster-select-file.py: New file.
9168 * gdb.perf/gmonster1-null-lookup.exp: New file.
9169 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9170 * gdb.perf/gmonster1-print-cerr.exp: New file.
9171 * gdb.perf/gmonster1-ptype-string.exp: New file.
9172 * gdb.perf/gmonster1-runto-main.exp: New file.
9173 * gdb.perf/gmonster1-select-file.exp: New file.
9174 * gdb.perf/gmonster1.cc: New file.
9175 * gdb.perf/gmonster1.exp: New file.
9176 * gdb.perf/gmonster2-null-lookup.exp: New file.
9177 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9178 * gdb.perf/gmonster2-print-cerr.exp: New file.
9179 * gdb.perf/gmonster2-ptype-string.exp: New file.
9180 * gdb.perf/gmonster2-runto-main.exp: New file.
9181 * gdb.perf/gmonster2-select-file.exp: New file.
9182 * gdb.perf/gmonster2.cc: New file.
9183 * gdb.perf/gmonster2.exp: New file.
9184
9185 2015-07-24 Doug Evans <dje@google.com>
9186
9187 * gdb.perf/README: New file.
9188 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9189 * lib/gen-perf-test.exp: New file.
9190
9191 2015-07-24 Doug Evans <dje@google.com>
9192
9193 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9194 (PerfTest::startup): New function.
9195 (PerfTest::run): Return result of calling body.
9196 (PerfTest::assemble): Rewrite.
9197 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9198 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9199 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9200 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9201 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9202
9203 2015-07-24 Doug Evans <dje@google.com>
9204
9205 * lib/gdb.exp (clean_restart): Make executable optional.
9206
9207 2015-07-24 Doug Evans <dje@google.com>
9208
9209 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9210 compiler_info references.
9211 * gdb.cp/temargs.exp: Ditto.
9212 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9213 (get_compiler_info): Early exit if already computed. Set compiler_info
9214 to "unknown" if there was a problem.
9215 (test_compiler_info): Add function comment. Call get_compiler_info.
9216
9217 2015-07-24 Doug Evans <dje@google.com>
9218
9219 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9220 (workers/%.worker, build-perf): New rule.
9221 (GDB_PERFTEST_MODE): New variable.
9222 (check-perf): Use it.
9223 (clean): Clean up gdb.perf parallel build subdirs.
9224 * lib/build-piece.exp: New file.
9225 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9226 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9227 name.
9228 (standard_temp_file): Ditto.
9229 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9230 of $GDB_PARALLEL.
9231
9232 2015-07-24 Doug Evans <dje@google.com>
9233
9234 * lib/future.exp (gdb_default_target_compile): New option
9235 "early_flags".
9236 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9237 --as-needed.
9238
9239 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9240
9241 * gdb.base/catch-syscall.exp: Call gdb_exit before
9242 gdb_skip_xml_test.
9243
9244 2015-07-24 Pedro Alves <palves@redhat.com>
9245
9246 * gdb.python/py-events.exp: Accept output between the stop event
9247 and the prompt.
9248 * gdb.python/py-evsignal.exp: Likewise.
9249 * gdb.python/py-evthreads.exp: Likewise.
9250
9251 2015-07-24 Pedro Alves <palves@redhat.com>
9252
9253 PR gdb/18717
9254 * gdb.threads/non-ldr-exit.c: New file.
9255 * gdb.threads/non-ldr-exit.exp: New file.
9256
9257 2015-07-24 Yao Qi <yao.qi@linaro.org>
9258
9259 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9260 restarting process.
9261
9262 2015-07-24 Yao Qi <yao.qi@linaro.org>
9263
9264 * gdb.server/ext-restart.exp: New file.
9265
9266 2015-07-24 Yao Qi <yao.qi@linaro.org>
9267
9268 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9269 argument options.
9270 * gdb.server/ext-wrapper.exp: New file.
9271
9272 2015-07-23 Doug Evans <dje@google.com>
9273
9274 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9275 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9276
9277 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9278
9279 * gdb.ada/var_arr_typedef.exp: New testcase.
9280 * gdb.ada/var_arr_typedef/pack.adb: New file.
9281 * gdb.ada/var_arr_typedef/pack.ads: New file.
9282 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9283
9284 2015-07-20 Joel Brobecker <brobecker@adacore.com>
9285
9286 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9287
9288 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9289
9290 * gdb.arch/i386-biarch-core.exp: Replace istarget
9291 by "complete set gnutarget". Remove expectation for the "core-file"
9292 command.
9293
9294 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9295
9296 Revert the previous commit:
9297 Tests for validate symbol file using build-id.
9298
9299 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9300
9301 Tests for validate symbol file using build-id.
9302 * gdb.base/solib-mismatch-lib.c: New file.
9303 * gdb.base/solib-mismatch-libmod.c: New file.
9304 * gdb.base/solib-mismatch.c: New file.
9305 * gdb.base/solib-mismatch.exp: New file.
9306
9307 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9308
9309 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9310 nios2-*-linux*.
9311 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9312 * gdb.base/siginfo.exp: Likewise.
9313 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9314
9315 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9316
9317 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9318 Move it to ...
9319 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9320 ... here.
9321 * gdb.trace/range-stepping.exp: Check that the target supports
9322 range stepping.
9323
9324 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9325
9326 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9327
9328 2015-07-14 Pedro Alves <palves@redhat.com>
9329
9330 * gdb.base/killed-outside.exp: New file.
9331 * gdb.base/killed-outside.c: New file.
9332
9333 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9334
9335 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9336 (n at main): New.
9337 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9338
9339 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9340
9341 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9342 infcall tests instead of setting up for KFAIL.
9343
9344 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9345
9346 * gdb.btrace/record_goto-step.exp: New.
9347
9348 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9349
9350 PR compile/18484
9351 * gdb.compile/compile.c (struct struct_type): Add volatile to
9352 selffield's type.
9353 * gdb.compile/compile.exp
9354 (compile code struct_object.selffield = &struct_object): Skip further
9355 struct_object tests if this one xfails.
9356
9357 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
9358
9359 PR exp/18617
9360 * gdb.trace/ax.exp: Add test.
9361
9362 2015-07-07 Yao Qi <yao.qi@linaro.org>
9363
9364 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9365 instead of istarget "aarch64*-*-*".
9366 * gdb.arch/aarch64-fp.exp: Likewise.
9367 * gdb.base/float.exp: Likewise.
9368 * gdb.reverse/aarch64.exp: Likewise.
9369 * lib/gdb.exp (is_aarch64_target): New proc.
9370
9371 2015-07-07 Yao Qi <yao.qi@linaro.org>
9372
9373 * lib/gdb.exp (is_aarch32_target): New proc.
9374 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9375 instead of "istarget "arm*-*-*"".
9376 * gdb.arch/arm-disp-step.exp: Likewise.
9377 * gdb.arch/thumb-bx-pc.exp: Likewise.
9378 * gdb.arch/thumb-prologue.exp: Likewise.
9379 * gdb.arch/thumb-singlestep.exp: Likewise.
9380 * gdb.base/disp-step-syscall.exp: Likewise.
9381 * gdb.base/float.exp: Likewise.
9382
9383 2015-07-07 Yao Qi <yao.qi@linaro.org>
9384
9385 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9386 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9387
9388 2015-07-07 Yao Qi <yao.qi@linaro.org>
9389
9390 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9391 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9392 if it exists.
9393 * gdb.multi/multi-arch.exp: Likewise.
9394
9395 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9396
9397 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9398 print.
9399
9400 2015-07-07 Yao Qi <yao.qi@linaro.org>
9401
9402 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9403
9404 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9405
9406 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9407 '[' and ']' characters.
9408
9409 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9410
9411 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9412
9413 2015-06-29 Pedro Alves <palves@redhat.com>
9414
9415 PR threads/18127
9416 * gdb.threads/hand-call-new-thread.c: New file.
9417 * gdb.threads/hand-call-new-thread.c: New file.
9418
9419 2015-06-26 Keith Seitz <keiths@redhat.com>
9420 Doug Evans <dje@google.com>
9421
9422 PR 16253
9423 * gdb.cp/var-tag-2.cc: New file.
9424 * gdb.cp/var-tag-3.cc: New file.
9425 * gdb.cp/var-tag-4.cc: New file.
9426 * gdb.cp/var-tag.cc: New file.
9427 * gdb.cp/var-tag.exp: New file.
9428
9429 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9430
9431 * gdb.base/history-duplicates.exp: New test.
9432
9433 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9434
9435 * gdb.base/completion.exp: Test the completion of the "focus"
9436 command.
9437
9438 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9439
9440 * gdb.arch/amd64-prologue-skip.S: New file.
9441 * gdb.arch/amd64-prologue-skip.exp: New file.
9442
9443 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9444
9445 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9446 is_address_zero_readable check.
9447
9448 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9449
9450 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9451 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9452
9453 2015-06-24 Yao Qi <yao.qi@linaro.org>
9454
9455 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9456 linux targets.
9457
9458 2015-06-24 Yao Qi <yao.qi@linaro.org>
9459
9460 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9461 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9462 * gdb.base/siginfo-thread.exp: Likewise.
9463
9464 2015-06-22 Yao Qi <yao.qi@linaro.org>
9465
9466 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9467
9468 2015-06-22 Yao Qi <yao.qi@linaro.org>
9469
9470 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9471 aarch64*-*-*.
9472 (skip_hw_watchpoint_tests): Likewise.
9473
9474 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9475
9476 * gdb.base/gdbinit-history.exp: Test the interaction between
9477 setting GDBHISTSIZE and setting the history size via .gdbinit.
9478
9479 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9480
9481 PR gdb/16999
9482 * gdb.base/gdbhistsize-history.exp: New test.
9483
9484 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9485
9486 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9487 with GDBHISTSIZE.
9488 * gdb.base/readline.exp: Likewise.
9489
9490 2015-06-17 Yao Qi <yao.qi@linaro.org>
9491
9492 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9493 line.
9494
9495 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9496
9497 * gdb.base/gdbinit-history.exp: Add test case to check that
9498 an unlimited history file does not get truncated on exit.
9499
9500 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9501
9502 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9503 (VECTOR): New macro. Use it...
9504 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9505 ...for these typedefs.
9506 (int8, char1, int1, double1): New typedefs.
9507 (struct just_int2, struct two_int2): New structures.
9508 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9509 (add_structvecs, add_singlevecs): New functions.
9510 (main): Call add_some_intvecs twice.
9511 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9512 the compile and exit upon failure. Try compiling for the "native"
9513 architecture. Test inferior function calls with vector arguments
9514 and vector return value handling with "finish" and "return".
9515
9516 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9517
9518 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9519 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9520 PE file.
9521 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9522
9523 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9524
9525 PR breakpoints/16465
9526 * gdb.mi/mi-dprintf-pending.c: New file.
9527 * gdb.mi/mi-dprintf-pending.exp: New test.
9528 * gdb.mi/mi-dprintf-pendshr.c: New file.
9529
9530 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9531 Mircea Gherzan <mircea.gherzan@intel.com>
9532
9533 * gdb.arch/i386-mpx-map.c: New file.
9534 * gdb.arch/i386-mpx-map.exp: New File.
9535
9536 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9537
9538 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9539 * gdb.arch/i386-mpx.exp: Indentation fixed.
9540
9541 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9542
9543 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9544 function and improved indentation.
9545 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9546 gdb_test_multiple. Added additional tests to skip the test.
9547
9548 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9549
9550 * gdb.arch/i386-avx512.c: Change path in include file.
9551 * gdb.arch/i386-avx512.exp: Change include dir path
9552 compilation flag.
9553 * gdb.arch/i386-mpx.c: Change path in include file.
9554 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9555 flag.
9556
9557 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9558
9559 * gdb.compile/compile-print.exp (compile print *vararray@3)
9560 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9561
9562 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9563
9564 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9565 (do not keep jit in memory): ... this.
9566 (expect 5): Change it to ...
9567 (expect no 5): ... this.
9568
9569 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9570
9571 PR gdb/15564
9572 * gdb.mi/mi-detach.exp: New file.
9573
9574 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9575
9576 PR symtab/18392
9577 * gdb.arch/amd64-tailcall-self.S: New file.
9578 * gdb.arch/amd64-tailcall-self.c: New file.
9579 * gdb.arch/amd64-tailcall-self.exp: New file.
9580
9581 2015-05-28 Don Breazeal <donb@codesourcery.com>
9582
9583 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9584 tests for remote targets by checking is_target_gdbserver.
9585
9586 2015-05-27 Doug Evans <dje@google.com>
9587
9588 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9589 * gdb.dwarf2/opaque-type-lookup.c: New file.
9590 * gdb.dwarf2/opaque-type-lookup.exp: New file.
9591
9592 2015-05-26 Doug Evans <dje@google.com>
9593
9594 * gdb.cp/iostream.cc: New file.
9595 * gdb.cp/iostream.exp: New file.
9596
9597 2015-05-26 Doug Evans <dje@google.com>
9598
9599 * gdb.dwarf2/dw2-op-call.exp: Update.
9600 * gdb.dwarf2/dw4-sig-types.exp: Update.
9601 * gdb.dwarf2/implptr.exp: Update.
9602 * gdb.mi/mi-cmd-param-changed.exp: Update.
9603
9604 2015-05-26 Doug Evans <dje@google.com>
9605
9606 * gdb.python/py-lazy-string.c: New file.
9607 * gdb.python/py-lazy-string.exp: New file.
9608 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9609 (main): Update. Add estring3.
9610 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9611 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9612
9613 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9614 Yao Qi <yao.qi@linaro.org>
9615
9616 * gdb.reverse/aarch64.c: New.
9617 * gdb.reverse/aarch64.exp: New.
9618
9619 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9620
9621 * lib/gdb.exp (supports_process_record): Return true for
9622 aarch64*-linux*.
9623 (supports_reverse): Likewise.
9624
9625 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
9626
9627 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9628 Use with_test_prefix.
9629
9630 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
9631
9632 * gdb.base/completion.exp: Add test for completion of layout
9633 names.
9634
9635 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
9636
9637 * lib/gdb.exp (skip_tui_tests): New proc.
9638 * gdb.base/tui-layout.exp: Check skip_tui_tests.
9639
9640 2015-05-19 Pedro Alves <palves@redhat.com>
9641
9642 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9643 Save the whole env array instead of just HOME. Unset HISTSIZE in
9644 the environment while testing. Restore whole environment
9645 afterwards.
9646
9647 2015-05-16 Doug Evans <xdje42@gmail.com>
9648
9649 * gdb.guile/scm-ports.c: New file.
9650 * gdb.guile/scm-ports.exp: Add memory port tests.
9651
9652 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9653
9654 * gdb.compile/compile-print.c: New file.
9655 * gdb.compile/compile-print.exp: New file.
9656
9657 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9658
9659 * gdb.compile/compile-ops.exp: Cast param to void.
9660 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9661 (compile code struct_object.selffield = &struct_object): Add xfail.
9662
9663 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9664
9665 * gdb.ada/arr_enum_with_gap: New testcase.
9666
9667 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9668
9669 * gdb.ada/byte_packed_arr: New testcase.
9670
9671 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9672
9673 * gdb.ada/pckd_neg: New testcase.
9674
9675 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9676
9677 PR gdb/17820
9678 * gdb.base/gdbinit-history.exp: New test.
9679 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9680 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9681
9682 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9683
9684 * gdb.python/py-xmethods.cc: Enhance test case.
9685 * gdb.python/py-xmethods.exp: New tests.
9686 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9687 function.
9688 (B_indexoper): Likewise.
9689 (global_dm_list) : Add new xmethod worker functions.
9690
9691 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9692
9693 * gdb.base/coredump-filter.exp: Correctly unset
9694 "coredump_var_addr" array.
9695
9696 2015-05-08 Pedro Alves <palves@redhat.com>
9697
9698 * gdb.server/non-existing-program.exp: Unset spawn_id.
9699
9700 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9701
9702 PR python/18291
9703 * gdb.python/py-xmethods.exp: Add tests.
9704
9705 2015-05-08 Yao Qi <yao.qi@linaro.org>
9706
9707 PR gdb/18208
9708 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9709 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9710 function set_coredump_filter, and remove remote_exec call.
9711 Remove argument ipid. Callers update.
9712 (top level): Don't get inferior's PID.
9713
9714 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9715
9716 * gdb.base/watch_thread_num.exp: Skip test on targets without
9717 access watchpoints.
9718
9719 2015-05-06 Pedro Alves <palves@redhat.com>
9720
9721 PR server/18081
9722 * gdb.server/non-existing-program.exp: New file.
9723
9724 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9725
9726 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9727
9728 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9729
9730 * gdb.ada/out_of_line_in_inlined: New testcase.
9731
9732 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9733
9734 * gdb.ada/var_rec_arr: New testcase.
9735
9736 2015-04-30 Yao Qi <yao.qi@linaro.org>
9737
9738 * gdb.base/break-idempotent.exp: If
9739 skip_hw_watchpoint_multi_tests returns true, skip the tests
9740 on "rwatch" and "awatch".
9741
9742 2015-04-30 Yao Qi <yao.qi@linaro.org>
9743
9744 * gdb.base/relativedebug.exp: Invoke gdb command
9745 "info sharedlibrary", and if libc.so doesn't have debug info,
9746 skip the test.
9747
9748 2015-04-29 Doug Evans <dje@google.com>
9749
9750 * gdb.python/py-xmethods.exp: Add ptype tests.
9751 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9752 get_result_type method.
9753
9754 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9755
9756 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9757 the target does not support hardware watchpoints.
9758
9759 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9760
9761 * gdb.base/break-always.exp: Abort testing if writing to memory
9762 causes an error.
9763
9764 2015-04-28 Doug Evans <dje@google.com>
9765
9766 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9767 * gdb.python/py-pp-registration.exp: ... here. New file.
9768 * gdb.python/py-pp-registration.c: New file.
9769 * gdb.python/py-pp-registration.py: New file.
9770
9771 2015-04-28 Doug Evans <dje@google.com>
9772
9773 * gdb.python/py-bad-printers.c: New file.
9774 * gdb.python/py-bad-printers.py: New file.
9775 * gdb.python/py-bad-printers.exp: New file.
9776
9777 2015-04-28 Sasha Smundak <asmundak@google.com>
9778
9779 * gdb.python/py-type.exp: New test.
9780
9781 2015-04-28 Andy Wingo <wingo@igalia.com>
9782
9783 * gdb.python/py-parameter.exp:
9784 * gdb.guile/scm-parameter.exp: Escape the path that we are
9785 matching against, as it might contain characters that are special
9786 to regular expressions.
9787
9788 2015-04-27 Joel Brobecker <brobecker@adacore.com>
9789
9790 * gdb.ada/rec_comp: New testcase.
9791
9792 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9793
9794 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9795 before using it.
9796
9797 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9798
9799 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9800 new tests for verilog output.
9801
9802 2015-04-24 Yao Qi <yao.qi@linaro.org>
9803
9804 * boards/remote-gdbserver-on-localhost.exp: New file.
9805
9806 2015-04-23 Pedro Alves <palves@redhat.com>
9807
9808 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9809 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9810 "end of file", remove $inferior_spawn_id from the indirect list.
9811
9812 2015-04-23 Pedro Alves <palves@redhat.com>
9813
9814 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9815
9816 2015-04-23 Pedro Alves <palves@redhat.com>
9817
9818 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9819 on $any_spawn_id instead of only on $gdb_spawn_id.
9820
9821 2015-04-21 Pierre Muller <muller@sourceware.org>
9822
9823 PR pascal/17815
9824 * lib/pascal.exp (gpc_compile): Add new option "class".
9825 (fpc_compile): Likewise.
9826 * gdb.pascal/case-insensitive-symbols.pas: New file.
9827 * gdb.pascal/case-insensitive-symbols.exp: New file.
9828
9829 2015-04-20 Gary Benson <gbenson@redhat.com>
9830
9831 * gdb.base/attach.exp: Fix three extended remote failures.
9832
9833 2015-04-17 Gary Benson <gbenson@redhat.com>
9834
9835 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9836 the main executable over the remote protocol.
9837
9838 2015-04-16 Pedro Alves <palves@redhat.com>
9839
9840 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9841 a new gdbserver if gdbserver_reconnect_p is set.
9842
9843 2015-04-16 Pedro Alves <palves@redhat.com>
9844
9845 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9846 is set, don't exit gdbserver.
9847
9848 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9849
9850 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9851 appropriate .insn, such that an older assembler can be used.
9852 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9853 the z/Architecture instruction set on 31-bit targets as well.
9854
9855 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9856
9857 * gdb.go/handcall.exp: Remove all logic related to the first
9858 breakpoint and rely on go_runto_main instead.
9859 * gdb.go/strings.exp: Likewise.
9860 * gdb.go/unsafe.exp: Likewise.
9861 * gdb.go/hello.exp: Likewise. Also rename the remaining
9862 breakpoint marker to "breakpoint 1".
9863 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9864 * gdb.go/strings.go: Likewise.
9865 * gdb.go/unsafe.go: Likewise.
9866 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9867 "set breakpoint 2 here" and rename the remaining breakpoint marker
9868 to "breakpoint 1".
9869
9870 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9871
9872 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9873 if itertools.imap is not present.
9874 * gdb.python/py-objfile.exp: Add parentheses.
9875 * gdb.python/py-type.exp: Same.
9876 * gdb.python/py-unwind-maint.py: Same.
9877
9878 2015-04-15 Yao Qi <yao.qi@linaro.org>
9879
9880 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9881 of ":$ptr_size" and set its form explicitly.
9882
9883 2015-04-15 Pedro Alves <palves@redhat.com>
9884 Yao Qi <yao.qi@linaro.org>
9885
9886 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9887 timeout by factor of 4.
9888 (test_regular_watch): Likewise.
9889 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9890 * gdb.reverse/sigall-reverse.exp: Likewise.
9891 * gdb.reverse/until-precsave.exp: Likewise.
9892 * lib/gdb.exp (with_timeout_factor): New proc.
9893 (gdb_expect): Move some code to ...
9894 (get_largest_timeout): ... here. New procedure.
9895
9896 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
9897
9898 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9899
9900 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9901
9902 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9903 to write to the .text section.
9904
9905 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9906
9907 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9908 Handle the case of targets that do not provide PID information.
9909
9910 2015-04-13 Yao Qi <yao.qi@linaro.org>
9911
9912 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9913 and use expect instead of gdb_expect.
9914
9915 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9916
9917 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9918 "coredump_var_addr" to avoid naming conflict with other testcases.
9919
9920 2015-04-10 Pedro Alves <palves@redhat.com>
9921
9922 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
9923 gdb_test_sequence and gdb_assert.
9924
9925 2015-04-10 Pedro Alves <palves@redhat.com>
9926
9927 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
9928 test messages that don't include the breakpoint address.
9929
9930 2015-04-10 Yao Qi <yao.qi@linaro.org>
9931
9932 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
9933 false for some offset and width combinations which aren't
9934 supported by linux kernel.
9935
9936 2015-04-10 Pedro Alves <palves@redhat.com>
9937
9938 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
9939 procedure, factored out from ...
9940 (top level): ... here. Add "set displaced-stepping" testing axis.
9941 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
9942 parameter "displaced". Use it.
9943 (top level): Use foreach and add "set displaced-stepping" testing
9944 axis.
9945
9946 2015-04-10 Pedro Alves <palves@redhat.com>
9947
9948 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
9949 Remove comment.
9950 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
9951 both the address of the instruction that triggers the watchpoint
9952 and the address of the instruction immediately after, and use
9953 those addresses for the test. Fix comment.
9954
9955 2015-04-10 Pedro Alves <palves@redhat.com>
9956
9957 * gdb.base/sigstep.exp (breakpoint_to_handler)
9958 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
9959 Test "backtrace" in handler.
9960 (breakpoint_over_handler): New parameter 'displaced'. Use it.
9961 (top level): Add new "displaced" test axis to
9962 breakpoint_to_handler, breakpoint_to_handler_entry and
9963 breakpoint_over_handler.
9964
9965 2015-04-10 Pedro Alves <palves@redhat.com>
9966
9967 PR gdb/18216
9968 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
9969
9970 2015-04-10 Yao Qi <yao.qi@linaro.org>
9971
9972 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
9973 (test_add_rn_pc): New function.
9974 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
9975 (top level): Invoke test_add_rn_pc.
9976
9977 2015-04-10 Pedro Alves <palves@redhat.com>
9978
9979 PR gdb/13858
9980 * gdb.base/step-over-no-symbols.exp: New file.
9981
9982 2015-04-09 Andy Wingo <wingo@igalia.com>
9983
9984 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
9985 after the Python tests.
9986
9987 2015-04-08 Keith Seitz <keiths@redhat.com>
9988
9989 PR python/16699
9990 * gdb.python/py-completion.exp: New tests for completion.
9991 * gdb.python/py-completion.py (CompleteLimit1): New class.
9992 (CompleteLimit2): Likewise.
9993 (CompleteLimit3): Likewise.
9994 (CompleteLimit4): Likewise.
9995 (CompleteLimit5): Likewise.
9996 (CompleteLimit6): Likewise.
9997 (CompleteLimit7): Likewise.
9998
9999 2015-04-08 Pedro Alves <palves@redhat.com>
10000
10001 PR gdb/18214
10002 PR gdb/18216
10003 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10004 function.
10005 (main): Install it as SIGUSR1 handler.
10006 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10007 parameter. Always use "setup" as prefix. Toggle "set
10008 displaced-stepping" off/on depending on global. Don't switch to
10009 thread 1 here.
10010 (top level): Add displaced stepping "off/on" test axis. Update
10011 "setup" calls. Wrap each subtest with with_test_prefix. Test
10012 continuing with a queued signal in each thread.
10013
10014 2015-04-08 Pedro Alves <palves@redhat.com>
10015
10016 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10017 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
10018 gdb_breakpoint instead of gdb_test that doesn't expect anything.
10019 Return early if running to main fails.
10020 * gdb.trace/while-stepping.exp: Likewise.
10021
10022 2015-04-07 Pedro Alves <palves@redhat.com>
10023
10024 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10025 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
10026 interact with inferior program.
10027
10028 2015-04-07 Pedro Alves <palves@redhat.com>
10029
10030 * lib/gdb.exp (inferior_spawn_id): New global.
10031 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
10032 spawn id after processing the user code.
10033 (default_gdb_start): Set inferior_spawn_id.
10034 (send_inferior): New procedure.
10035 * lib/gdbserver-support.exp (gdbserver_start): Set
10036 inferior_spawn_id.
10037 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10038
10039 2015-04-07 Pedro Alves <palves@redhat.com>
10040
10041 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10042 * lib/gdbserver-support.exp (gdbserver_start): Make
10043 $server_spawn_id global.
10044 (gdbserver_start): Don't wait for gdbserver's spawn id with
10045 expect_background.
10046 (close_gdbserver): New procedure.
10047 (gdb_exit): Rename the default version and reimplement.
10048
10049 2015-04-07 Pedro Alves <palves@redhat.com>
10050
10051 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10052 append the substituted item, not the original item.
10053
10054 2015-04-07 Pedro Alves <palves@redhat.com>
10055
10056 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10057 gdb_expect.
10058
10059 2015-04-07 Pedro Alves <palves@redhat.com>
10060
10061 * gdb.base/interrupt.exp: Don't handle the case of the inferior
10062 output appearing once only.
10063
10064 2015-04-07 Pedro Alves <palves@redhat.com>
10065
10066 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10067 that doesn't expect anything. Return early if running to main
10068 fails.
10069
10070 2015-04-07 Yao Qi <yao.qi@linaro.org>
10071
10072 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10073 (child_function): Call alarm.
10074 (main): Move call to alarm into the loop.
10075 * gdb.threads/non-stop-fair-events.exp: Build program with
10076 -DTIMEOUT=$timeout.
10077
10078 2015-04-06 Doug Evans <xdje42@gmail.com>
10079
10080 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10081 Fix dest parameter to board_info.
10082 (fpc_compile): Ditto.
10083 (gdb_compile_pascal): Rename dest arg to destfile.
10084
10085 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10086
10087 * gdb.ada/funcall_ref.exp: New file.
10088 * gdb.ada/funcall_ref/foo.adb: New file.
10089
10090 2015-04-02 Yao Qi <yao.qi@linaro.org>
10091
10092 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10093 is remote.
10094
10095 2015-04-02 Gary Benson <gbenson@redhat.com>
10096
10097 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10098
10099 2015-04-01 Sasha Smundak <asmundak@google.com>
10100
10101 * gdb.python/py-unwind-maint.c: New file.
10102 * gdb.python/py-unwind-maint.exp: New test.
10103 * gdb.python/py-unwind-maint.py: New file.
10104 * gdb.python/py-unwind.c: New file.
10105 * gdb.python/py-unwind.exp: New test.
10106 * gdb.python/py-unwind.py: New test.
10107
10108 2015-04-01 Pedro Alves <palves@redhat.com>
10109
10110 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10111 to fail instead of non-existent $test.
10112
10113 2015-04-01 Pedro Alves <palves@redhat.com>
10114
10115 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10116 GDBFLAGS if not empty.
10117
10118 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10119
10120 * gdb.ada/complete.exp: Remove "multi_line".
10121 * gdb.ada/info_exc.exp: Remove "multi_line".
10122 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10123 * gdb.ada/ptype_field.exp: Remove "multi_line".
10124 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10125 * gdb.ada/tagged.exp: Remove "multi_line".
10126 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10127 [multi_line ...]
10128 * gdb.btrace/delta.exp: Likewise.
10129 * gdb.btrace/exception.exp: Likewise.
10130 * gdb.btrace/function_call_history.exp: Likewise.
10131 * gdb.btrace/instruction_history.exp: Likewise.
10132 * gdb.btrace/nohist.exp: Likewise.
10133 * gdb.btrace/record_goto.exp: Likewise.
10134 * gdb.btrace/segv.exp: Likewise.
10135 * gdb.btrace/stepi.exp: Likewise.
10136 * gdb.btrace/tailcall.exp: Likewise.
10137 * gdb.btrace/unknown_functions.exp: Likewise.
10138 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10139 * lib/gdb.exp: Add the "multi_line" helper.
10140
10141 2015-04-01 Pedro Alves <palves@redhat.com>
10142
10143 * gdb.threads/tid-reuse.c: New file.
10144 * gdb.threads/tid-reuse.exp: New file.
10145
10146 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10147
10148 PR corefiles/16092
10149 * gdb.base/coredump-filter.c: New file.
10150 * gdb.base/coredump-filter.exp: Likewise.
10151
10152 2015-03-27 Petr Machata <pmachata@redhat.com>
10153
10154 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10155 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10156 (Dwarf::assemble): Initialize them.
10157 (Dwarf::lines): New function.
10158
10159 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10160
10161 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10162 SYMBOL_PREFIX for x86_64-*-cygwin.
10163
10164 2015-03-26 Andy Wingo <wingo@igalia.com>
10165
10166 PR symtab/18148
10167 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10168 const_value but not a location.
10169 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10170 location defined in non-main CUs are visible.
10171
10172 2015-03-26 Yao Qi <yao.qi@linaro.org>
10173
10174 PR testsuite/18139
10175 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10176 Add a line number entry for the same line.
10177 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10178 Add a line number entry for the same line.
10179
10180 2015-03-26 Yao Qi <yao.qi@linaro.org>
10181
10182 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10183 .int 0.
10184 (func): Likewise. Add .Lfunc_1 label.
10185 Use .Lfunc_1 label.
10186 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10187 .int 0.
10188 (func): Likewise.
10189 Use .Lfunc_1 label.
10190
10191 2015-03-26 Yao Qi <yao.qi@linaro.org>
10192
10193 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10194 Call gdb_compile instead to compile each .s files without debug
10195 information.
10196
10197 2015-03-26 Yao Qi <yao.qi@linaro.org>
10198
10199 * gdb.base/savedregs.exp (process_saved_regs): Make
10200 "Saved registers:" optional in the pattern.
10201
10202 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10203
10204 * gdb.btrace/next.exp: Merged into step.exp.
10205 * gdb.btrace/finish.exp: Merged into step.exp.
10206 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10207 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10208 "record goto" and checking the exact replay position.
10209 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10210 check for "Recording format" in "info record" output.
10211 * gdb.btrace/record_goto.exp: Choose test file based on target.
10212 * gdb.btrace/x86-record_goto.S: Renamed into ...
10213 * gdb.btrace/x86_64-record_goto.S: ... this.
10214 * gdb.btrace/i686-record_goto.S: New.
10215 * gdb.btrace/x86-tailcall.S: Renamed into ...
10216 * gdb.btrace/x86_64-tailcall.S: ... this.
10217 * gdb.btrace/i686-tailcall.S: New.
10218 * gdb.btrace/x86-tailcall.c: Renamed into ...
10219 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10220 separate statements. Update test.
10221 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10222 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10223 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10224 * gdb.btrace/tailcall.exp: Choose test file based on target.
10225 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10226
10227 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10228
10229 * gdb.btrace/exception.exp: Increase BTS buffer size.
10230
10231 2015-03-24 Pedro Alves <palves@redhat.com>
10232
10233 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10234
10235 2015-03-24 Pedro Alves <palves@redhat.com>
10236
10237 * gdb.threads/schedlock.exp (test_step): No longer expect that
10238 "set scheduler-locking step" with "next" over a function call runs
10239 threads unlocked.
10240
10241 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10242
10243 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10244
10245 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10246
10247 PR breakpoints/16466
10248 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10249 * gdb.mi/mi-pending.c (thread_func): New function.
10250 (int main): Add threading support required.
10251 * gdb.mi/mi-pending.exp: Add tests for this issue.
10252 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10253 (pendfunc2): Remove stdio dependency.
10254 * gdb.mi/mi-pendshr2.c: New file.
10255
10256 2015-03-23 Keith Seitz <keiths@redhat.com>
10257
10258 * gdb.linespec/keywords.c: New file.
10259 * gdb.linespec/keywords.exp: New file.
10260
10261 2015-03-23 Keith Seitz <keiths@redhat.com>
10262
10263 PR gdb/18021
10264 * gdb.dwarf2/staticvirtual.exp: New test.
10265
10266 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10267
10268 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10269 * README: Remove HP-UX and gdb.hp.
10270 (configuration):
10271 * configure: Regenerate.
10272 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10273 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10274 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10275 gdb.hp/gdb.defects/Makefile.
10276 * gdb.hp/Makefile.in: File deleted.
10277 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10278 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10279 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10280 * gdb.hp/gdb.aCC/run.c: File deleted.
10281 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10282 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10283 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10284 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10285 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10286 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10287 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10288 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10289 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10290 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10291 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10292 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10293 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10294 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10295 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10296 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10297 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10298 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10299 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10300 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10301 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10302 * gdb.hp/gdb.compat/average.c: File deleted.
10303 * gdb.hp/gdb.compat/sum.c: File deleted.
10304 * gdb.hp/gdb.compat/xdb.c: File deleted.
10305 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10306 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10307 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10308 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10309 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10310 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10311 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10312 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10313 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10314 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10315 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10316 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10317 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10318 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10319 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10320 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10321 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10322 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10323 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10324 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10325 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10326 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10327 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10328 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10329 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10330 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10331 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10332 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10333 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10334 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10335 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10336 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10337 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10338 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10339 * gdb.hp/tools/odump: File deleted.
10340
10341 2015-03-19 Pedro Alves <palves@redhat.com>
10342
10343 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10344 (saw_thread_3): New globals.
10345 (top level): Increment them when an event for the corresponding
10346 thread is seen.
10347 (no thread starvation): New test.
10348
10349 2015-03-19 Pedro Alves <palves@redhat.com>
10350
10351 * gdb.threads/continue-pending-status.c: New file.
10352 * gdb.threads/continue-pending-status.exp: New file.
10353
10354 2015-03-18 Pedro Alves <palves@redhat.com>
10355
10356 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10357 Use gdb_is_target_remote instead of is_remote. Use
10358 gdb_test_multiple instead of gdb_expect. Exit early if
10359 gdb_test_multiple hits its internal matches. Tighten stepi tests
10360 expected output. Fail on exit with any signal, instead of just
10361 SIGILL.
10362
10363 2015-03-18 Yao Qi <yao.qi@linaro.org>
10364
10365 PR tdep/18107
10366 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10367 variable.
10368 * gdb.base/catch-syscall.exp: Don't skip it on
10369 aarch64*-*-linux* target. Remove elements in all_syscalls.
10370 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10371 target.
10372 (setup_all_syscalls): New proc.
10373
10374 2015-03-16 Yao Qi <yao.qi@linaro.org>
10375
10376 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10377 (top level): Skip tests if valid_addr_p returns false for
10378 $cmd1 or $cmd2.
10379
10380 2015-03-11 Andy Wingo <wingo@igalia.com>
10381
10382 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10383
10384 2015-03-11 Yao Qi <yao.qi@linaro.org>
10385
10386 * gdb.base/catch-syscall.exp: Fix typo in comments.
10387
10388 2015-03-11 Yao Qi <yao.qi@linaro.org>
10389
10390 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10391
10392 2015-03-09 Pedro Alves <palves@redhat.com>
10393
10394 * dg-extract-results.py: Delete.
10395
10396 2015-03-09 Pedro Alves <palves@redhat.com>
10397
10398 Merge dg-extract-results.sh from GCC upstream (r218843).
10399
10400 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10401 * dg-extract-results.sh: Use --text with grep to avoid issues with
10402 binary files. Fall back to cat -v, if that doesn't work.
10403
10404 2015-03-05 Pedro Alves <palves@redhat.com>
10405
10406 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10407
10408 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10409
10410 * lib/mi-support.exp (mi_expect_interrupt): Accept
10411 alternative event for when in all-stop mode.
10412
10413 2015-03-04 Pedro Alves <palves@redhat.com>
10414
10415 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10416
10417 2015-03-04 Mark Kettenis <kettenis@gnu.org>
10418
10419 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10420
10421 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10422
10423 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10424 regexps for GDB's current line display, accept a hex address
10425 preceding the line number.
10426
10427 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10428
10429 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10430 the 'arch1' variable for "s390*-linux*" targets.
10431
10432 2015-03-04 Pedro Alves <palves@redhat.com>
10433
10434 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10435 (main): Pass missing retval argument to pthread_join call.
10436
10437 2015-03-02 Pedro Alves <palves@redhat.com>
10438
10439 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10440 (top level): Call do_test with non-stop as well.
10441
10442 2015-03-02 Pedro Alves <palves@redhat.com>
10443
10444 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10445 -1.
10446
10447 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10448
10449 * gdb.arch/s390-vregs.exp: New test.
10450 * gdb.arch/s390-vregs.S: New file.
10451
10452 2015-02-27 Pedro Alves <palves@redhat.com>
10453
10454 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10455 call to catch_command_errors.
10456 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10457 catch_command_errors.
10458
10459 2015-02-27 Pedro Alves <palves@redhat.com>
10460
10461 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10462 "true" for boolean result.
10463 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10464 prototype of main.
10465
10466 2015-02-27 Pedro Alves <palves@redhat.com>
10467
10468 * lib/unbuffer_output.c: New file.
10469 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10470 (main): Call gdb_unbuffer_output.
10471
10472 2015-02-27 Yao Qi <yao.qi@linaro.org>
10473
10474 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10475 target.
10476
10477 2015-02-26 Doug Evans <dje@google.com>
10478
10479 * gdb.cp/class2.cc (Dbase, D): New classes.
10480 (main): New local delta.
10481 * gdb.cp/class2.exp: Test printing delta.
10482 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10483 (dynbar): New global.
10484 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10485
10486 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10487
10488 * gdb.compile/compile-ifunc.c: New file.
10489 * gdb.compile/compile-ifunc.exp: New file.
10490
10491 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10492
10493 * gdb.base/structs.exp: Check for correct struct on finish.
10494
10495 2015-02-26 Yao Qi <yao.qi@linaro.org>
10496
10497 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10498 is zero.
10499
10500 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10501
10502 * gdb.arch/cordic.ko.bz2: New file.
10503 * gdb.arch/cordic.ko.debug.bz2: New file.
10504 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10505
10506 2015-02-25 Yao Qi <yao.qi@linaro.org>
10507
10508 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10509 aarch64*-*-* target.
10510
10511 2015-02-23 Pedro Alves <palves@redhat.com>
10512
10513 * lib/gdb.exp (delete_breakpoints): Rewrite using
10514 gdb_test_multiple.
10515
10516 2015-02-23 Pedro Alves <palves@redhat.com>
10517
10518 * gdb.base/info-os.c: Include stdlib.h.
10519
10520 2015-02-22 Doug Evans <xdje42@gmail.com>
10521
10522 PR symtab/17855
10523 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10524 is read after symbols have been re-read.
10525 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10526 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10527
10528 2015-02-21 Doug Evans <dje@google.com>
10529
10530 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10531
10532 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10533
10534 PR corefiles/17808
10535 * gdb.arch/i386-biarch-core.core.bz2: New file.
10536 * gdb.arch/i386-biarch-core.exp: New file.
10537
10538 2015-02-21 Pedro Alves <palves@redhat.com>
10539
10540 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10541 runto_main fails.
10542
10543 2015-02-20 Pedro Alves <palves@redhat.com>
10544
10545 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10546 info probes.
10547
10548 2015-02-20 Pedro Alves <palves@redhat.com>
10549
10550 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10551
10552 2015-02-20 Pedro Alves <palves@redhat.com>
10553
10554 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10555 clean_restart before gdb_target_supports_trace.
10556
10557 2015-02-20 Pedro Alves <palves@redhat.com>
10558
10559 PR threads/18006
10560 * gdb.threads/clone-thread_db.c: New file.
10561 * gdb.threads/clone-thread_db.exp: New file.
10562
10563 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10564
10565 PR breakpoints/16812
10566 * gdb.base/catch-gdb-caused-signals.c: New file.
10567 * gdb.base/catch-gdb-caused-signals.exp: New file.
10568
10569 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10570
10571 * configure: Regenerated.
10572 * configure.ac: Use GDB_AC_TRANSFORM.
10573 * aclocal.m4: sinclude ../transform.m4.
10574
10575 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10576
10577 * lib/dtrace.exp: New file.
10578 * gdb.base/dtrace-probe.exp: Likewise.
10579 * gdb.base/dtrace-probe.d: Likewise.
10580 * gdb.base/dtrace-probe.c: Likewise.
10581 * lib/pdtrace.in: Likewise.
10582 * configure.ac: Output variables with the transformed names of
10583 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
10584 * configure: Regenerated.
10585
10586 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10587
10588 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10589 expected message when trying to access $_probe_* convenience
10590 variables while not on a probe.
10591
10592 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10593
10594 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10595
10596 2015-02-11 Pedro Alves <pedro@codesourcery.com>
10597
10598 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10599 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10600
10601 2015-02-10 Doug Evans <xdje42@gmail.com>
10602
10603 * lib/gdb.exp (gdb_load): Always return a result.
10604
10605 2015-02-10 Pedro Alves <palves@redhat.com>
10606
10607 * gdb.threads/signal-sigtrap.c: New file.
10608 * gdb.threads/signal-sigtrap.exp: New file.
10609
10610 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
10611
10612 * gdb.trace/no-attach-trace.c: New file.
10613 * gdb.trace/no-attach-trace.exp: New file.
10614
10615 2015-02-09 Mark Wielaard <mjw@redhat.com>
10616
10617 * gdb.dwarf2/atomic.c: New file.
10618 * gdb.dwarf2/atomic-type.exp: Likewise.
10619
10620 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10621
10622 * gdb.btrace/buffer-size.exp: Update "info record" output.
10623 * gdb.btrace/delta.exp: Update "info record" output.
10624 * gdb.btrace/enable.exp: Update "info record" output.
10625 * gdb.btrace/finish.exp: Update "info record" output.
10626 * gdb.btrace/instruction_history.exp: Update "info record" output.
10627 * gdb.btrace/next.exp: Update "info record" output.
10628 * gdb.btrace/nexti.exp: Update "info record" output.
10629 * gdb.btrace/step.exp: Update "info record" output.
10630 * gdb.btrace/stepi.exp: Update "info record" output.
10631 * gdb.btrace/nohist.exp: Update "info record" output.
10632
10633 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10634
10635 * gdb.btrace/buffer-size: New.
10636
10637 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10638
10639 * gdb.btrace/delta.exp: Update "info record" output.
10640 * gdb.btrace/enable.exp: Update "info record" output.
10641 * gdb.btrace/finish.exp: Update "info record" output.
10642 * gdb.btrace/instruction_history.exp: Update "info record" output.
10643 * gdb.btrace/next.exp: Update "info record" output.
10644 * gdb.btrace/nexti.exp: Update "info record" output.
10645 * gdb.btrace/step.exp: Update "info record" output.
10646 * gdb.btrace/stepi.exp: Update "info record" output.
10647 * gdb.btrace/nohist.exp: Update "info record" output.
10648
10649 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10650
10651 PR gdb/15678
10652 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10653
10654 2015-02-06 Pedro Alves <palves@redhat.com>
10655
10656 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10657 macro.
10658 (seconds_left, again): New globals.
10659 (main): Wait seconds_left in a 1-second sleep loop instead of
10660 sleeping 180 seconds. If 'again' is set, reset the seconds
10661 counter.
10662 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10663 'again' in the inferior before detaching. Print the seconds left.
10664 (options): New global.
10665 (top level): Build program with -DTIMEOUT=$timeout.
10666
10667 2015-02-06 Pedro Alves <palves@redhat.com>
10668
10669 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10670 determine how many seconds to pass to 'alarm'.
10671 * gdb.base/gdb-sigterm.exp (top level): Build program with
10672 -DTIMEOUT=$timeout.
10673 (do_test): Return success/failure indication. Add more verbose
10674 logging. Don't fail if 200 single steps are seen. Instead, fail
10675 when the test times out.
10676 (passes): New global.
10677 (top level): Break the testing loop if testing fails on any
10678 iteration. Use gdb_assert.
10679
10680 2015-02-04 Don Breazeal <donb@codesourcery.com>
10681
10682 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10683 and initialize them.
10684 (ipc_cleanup): New function.
10685 (main): Don't declare shmid, semid, and msqid. Add a call to
10686 atexit so that we call ipc_cleanup on exit.
10687
10688 2015-02-04 Pedro Alves <palves@redhat.com>
10689
10690 * boards/native-extended-gdbserver.exp: Remove any target variant
10691 specifications from the board name before clearing the isremote
10692 flag from board_info.
10693
10694 2015-01-31 Doug Evans <xdje42@gmail.com>
10695
10696 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10697
10698 2015-01-31 Gary Benson <gbenson@redhat.com>
10699
10700 * gdb.base/completion.exp: Disable completion limiting for
10701 existing tests. Add new tests to check completion limiting.
10702 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10703
10704 2015-01-31 Doug Evans <xdje42@gmail.com>
10705
10706 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10707
10708 2015-01-31 Doug Evans <xdje42@gmail.com>
10709
10710 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10711 entries. Duplicate file section script entries.
10712 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10713 inlined entries. Add test for safe-path rejection.
10714 * gdb.python/py-section-script.c: Add duplicate inlined section script
10715 entries. Duplicate file section script entries.
10716 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10717 inlined entries. Add test for safe-path rejection.
10718
10719 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10720
10721 * gdb.ada/disc_arr_bound: New testcase.
10722
10723 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10724
10725 * gdb.ada/mi_var_array: New testcase.
10726
10727 2015-01-27 Doug Evans <dje@google.com>
10728
10729 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10730 Add test for objfile.filename, objfile.username after objfile
10731 has been unloaded.
10732
10733 2015-01-26 Joel Brobecker <brobecker@adacore.com>
10734
10735 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10736 the second test to print the name attribute of value
10737 returned by the call to gdb.lookup_type, and adjust
10738 the expected output accordingly.
10739
10740 2015-01-25 Mark Wielaard <mjw@redhat.com>
10741
10742 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10743 * gdb.base/disp-step-fork.c: Include unistd.h.
10744 * gdb.base/siginfo-obj.c: Include stdio.h.
10745 * gdb.base/siginfo-thread.c: Likewise.
10746 * gdb.mi/non-stop.c: Include unistd.h.
10747 * gdb.mi/nsthrexec.c: Include stdio.h.
10748 * gdb.mi/pthreads.c: Include unistd.h.
10749 * gdb.modula2/unbounded1.c (main): Declare returns int.
10750 * gdb.reverse/consecutive-reverse.c: Likewise.
10751 * gdb.threads/create-fail.c: Include unistd.h.
10752 * gdb.threads/killed.c: Likewise.
10753 * gdb.threads/linux-dp.c: Likewise.
10754 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10755 * gdb.threads/non-ldr-exc-2.c: Likewise.
10756 * gdb.threads/non-ldr-exc-3.c: Likewise.
10757 * gdb.threads/non-ldr-exc-4.c: Likewise.
10758 * gdb.threads/pthreads.c: Include unistd.h.
10759 (main): Declare returns int.
10760 * gdb.threads/tls-main.c (foo): New declaration.
10761 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10762
10763 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10764
10765 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10766 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10767
10768 2015-01-15 Mark Wielaard <mjw@redhat.com>
10769
10770 * gdb.base/noreturn-return.c: New file.
10771 * gdb.base/noreturn-return.exp: New file.
10772 * gdb.base/noreturn-finish.c: New file.
10773 * gdb.base/noreturn-finish.exp: New file.
10774
10775 2015-01-23 Pedro Alves <palves@redhat.com>
10776
10777 * gdb.threads/continue-pending-after-query.c: New file.
10778 * gdb.threads/continue-pending-after-query.exp: New file.
10779
10780 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10781 Simon Marchi <simon.marchi@ericsson.com>
10782
10783 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10784 * gdb.base/valgrind-db-attach.exp: Same.
10785 * gdb.base/valgrind-infcall.exp: Same.
10786 * lib/mi-support.exp (default_mi_gdb_start): Same.
10787 * lib/prompt.exp (default_prompt_gdb_start): Same.
10788 * lib/gdb.exp (default_gdb_spawn): Same.
10789 (gdb_interact): New.
10790
10791
10792 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10793
10794 * gdb.compile/compile.exp (pointer to jit function): New test.
10795
10796 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
10797
10798 * lib/gdb.exp (supports_process_record): Return true for
10799 powerpc*-*-linux*.
10800 (supports_reverse): Likewise.
10801
10802 2015-01-15 Don Breazeal <donb@codesourcery.com>
10803
10804 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10805 instead of checking whether the target board is remote and
10806 use spawn_wait_for_attach instead of exec/sleep.
10807 * gdb.base/attach-twice.exp: Likewise.
10808
10809 2015-01-15 Joel Brobecker <brobecker@adacore.com>
10810
10811 * gdb.ada/var_arr_attrs: New testcase.
10812
10813 2015-01-14 Pedro Alves <palves@redhat.com>
10814 Joel Brobecker <brobecker@adacore.com>
10815
10816 PR gdb/17525
10817 * gdb.base/bp-cmds-execution-x-script.c: New file.
10818 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10819 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10820
10821 2015-01-14 Pedro Alves <palves@redhat.com>
10822
10823 PR cli/17828
10824 * gdb.base/batch-preserve-term-settings.c: New file.
10825 * gdb.base/batch-preserve-term-settings.exp: New file.
10826
10827 2015-01-13 Doug Evans <dje@google.com>
10828
10829 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10830 binary.
10831
10832 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10833
10834 * Makefile.in (clean mostlyclean): Do not delete *.py.
10835
10836 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10837
10838 * gdb.python/py-lookup-type.exp: New file.
10839
10840 2015-01-12 Pedro Alves <palves@redhat.com>
10841
10842 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10843 restore GDBFLAGS before returning.
10844
10845 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10846
10847 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10848 is_amd64_regs_target and is_x86_like_target.
10849
10850 2015-01-11 Doug Evans <xdje42@gmail.com>
10851
10852 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10853 is given without an explicit form.
10854 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10855 attributes.
10856 * gdb.dwarf/corrupt.exp: Ditto.
10857 * gdb.dwarf2/enum-type.exp: Ditto.
10858 * gdb.trace/entry-values.exp: Ditto.
10859 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10860
10861 2015-01-11 Doug Evans <xdje42@gmail.com>
10862
10863 PR gdb/15830
10864 * gdb.base/maint.exp: Remove references to "maint demangle".
10865 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10866 Add tests for explicitly specifying language to demangle.
10867 * gdb.dlang/demangle.exp: Ditto.
10868
10869 2015-01-09 Pedro Alves <palves@redhat.com>
10870
10871 * gdb.threads/non-stop-fair-events.c: New file.
10872 * gdb.threads/non-stop-fair-events.exp: New file.
10873
10874 2015-01-09 Pedro Alves <palves@redhat.com>
10875
10876 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10877 the global scope. Set a breakpoint after all threads are started
10878 rather than stepping over two source lines. Expect the prompt.
10879 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10880 global.
10881 (NUM): Now 15.
10882 (main): Use threads_started_barrier to wait for all threads to
10883 start. Main thread no longer calls thread_function. Exit after
10884 180 seconds.
10885 (loop): New function.
10886 (thread_function): Wait on threads_started_barrier barrier. Call
10887 'loop' at each iteration.
10888 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10889 threads have started, instead of hardcoding number of "next"
10890 steps. Use an access watchpoint instead of a write watchpoint.
10891
10892 2015-01-09 Pedro Alves <palves@redhat.com>
10893
10894 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10895 (thread_func): Wait on barrier.
10896 (main): Wait for all threads to start before stopping GDB.
10897 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10898 global.
10899 (thread1_func, thread2_func): Wait on barrier.
10900 (main): Wait for all threads to start before stopping GDB.
10901 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10902 New global.
10903 (thread1_func, thread2_func): Wait on barrier.
10904 (main): Wait for all threads to start before stopping GDB.
10905
10906 2015-01-09 Pedro Alves <palves@redhat.com>
10907
10908 * gdb.threads/attach-many-short-lived-threads.c: New file.
10909 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10910
10911 2014-01-09 Pedro Alves <palves@redhat.com>
10912
10913 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10914 instead of to thread 2.
10915 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10916 Add barrier around each pthread_create call instead of around all
10917 calls.
10918 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10919 Set a break on thread_function and have the child threads hit it
10920 one at at a time.
10921
10922 2015-01-09 Pedro Alves <palves@redhat.com>
10923
10924 * lib/gdb.exp (can_spawn_for_attach): New procedure.
10925 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
10926 false.
10927 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
10928 checking whether the target board is remote.
10929 * gdb.multi/multi-attach.exp: Likewise.
10930 * gdb.python/py-sync-interp.exp: Likewise.
10931 * gdb.server/ext-attach.exp: Likewise.
10932 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
10933 tests that need to attach, instead of checking whether the target
10934 board is remote at the top of the file.
10935
10936 2015-01-08 Yao Qi <yao@codesourcery.com>
10937
10938 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
10939
10940 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10941
10942 Fix testcase compilation.
10943 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
10944
10945 2015-01-06 Joel Brobecker <brobecker@adacore.com>
10946
10947 * gdb.python/py-type.exp: Add a couple test about empty
10948 array creation, and negative-length array creation.
10949
10950 2015-01-02 Doug Evans <xdje42@gmail.com>
10951
10952 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
10953
10954 2015-01-02 Doug Evans <dje@google.com>
10955
10956 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
10957
10958 2014-12-29 Yao Qi <yao@codesourcery.com>
10959
10960 * gdb.trace/entry-values.exp: Update comments. Rename variable
10961 bar_call_foo to returned_from_foo.
10962
10963 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
10964
10965 PR gdb/17394
10966 * gdb.linespec/break-asm-file.c: New file.
10967 * gdb.linespec/break-asm-file.exp: New file.
10968 * gdb.linespec/break-asm-file0.s: New file.
10969 * gdb.linespec/break-asm-file1.s: New file.
10970
10971 2014-12-18 Nigel Stephens <nigel@mips.com>
10972 Maciej W. Rozycki <macro@codesourcery.com>
10973
10974 * gdb.base/float.exp: Handle the new output from "info float" on
10975 MIPS targets.
10976
10977 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10978
10979 Fix MinGW compilation.
10980 * gdb.compile/compile-ops.exp: Update untested message if
10981 !skip_compile_feature_tests.
10982 * gdb.compile/compile-setjmp.exp: Likewise.
10983 * gdb.compile/compile-tls.exp: Likewise.
10984 * gdb.compile/compile.exp: Likewise.
10985 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
10986 supported on this host".
10987
10988 2014-12-16 Doug Evans <xdje42@gmail.com>
10989
10990 * boards/stabs.exp: New file.
10991
10992 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
10993
10994 * gdb.base/completion.exp: Adjust to format changes of "maint
10995 print user-registers".
10996
10997 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
10998
10999 PR server/17457
11000 * gdb.arch/aarch64-fp.c: New file.
11001 * gdb.arch/aarch64-fp.exp: New file.
11002
11003 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11004
11005 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11006 r210637, r210913, r211666, r215400, r215817).
11007
11008 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
11009 * dg-extract-results.py: New file.
11010 * dg-extract-results.sh: Use it if the environment seems
11011 suitable.
11012
11013 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
11014
11015 * dg-extract-results.py (parse_run): Handle warnings that
11016 are printed before a test harness is run.
11017
11018 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
11019
11020 * dg-extract-results.py (Named): Remove __cmp__ method.
11021 (output_variation): Use a key to sort variation.harnesses.
11022
11023 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
11024
11025 * dg-extract-results.py: For Python 3, force sys.stdout to
11026 handle surrogate escape sequences.
11027 (safe_open): New function.
11028 (output_segment, main): Use it.
11029
11030 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
11031
11032 * dg-extract-results.py (Prog.result_re): Include options
11033 in test name.
11034
11035 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
11036
11037 * dg-extract-results.py (output_variation): Always sort if
11038 do_sum.
11039
11040 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
11041
11042 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11043 as long as we get pagination notifications.
11044
11045 2014-12-15 Jason Merrill <jason@redhat.com>
11046
11047 * Makefile.in (check-gdb.%): Restore.
11048 * README: Mention it.
11049
11050 2014-12-13 Joel Brobecker <brobecker@adacore.com>
11051
11052 * gdb.ada/str_uninit: New testcase.
11053
11054 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11055
11056 PR symtab/17642
11057 * gdb.base/vla-stub-define.c: New file.
11058 * gdb.base/vla-stub.c: New file.
11059 * gdb.base/vla-stub.exp: New file.
11060
11061 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
11062 Jan Kratochvil <jan.kratochvil@redhat.com>
11063 Tom Tromey <tromey@redhat.com>
11064
11065 * configure.ac: Add gdb.compile/.
11066 * configure: Regenerate.
11067 * gdb.compile/Makefile.in: New file.
11068 * gdb.compile/compile-ops.exp: New file.
11069 * gdb.compile/compile-ops.c: New file.
11070 * gdb.compile/compile-tls.c: New file.
11071 * gdb.compile/compile-tls.exp: New file.
11072 * gdb.compile/compile-constvar.S: New file.
11073 * gdb.compile/compile-constvar.c: New file.
11074 * gdb.compile/compile-mod.c: New file.
11075 * gdb.compile/compile-nodebug.c: New file.
11076 * gdb.compile/compile-setjmp-mod.c: New file.
11077 * gdb.compile/compile-setjmp.c: New file.
11078 * gdb.compile/compile-setjmp.exp: New file.
11079 * gdb.compile/compile-shlib.c: New file.
11080 * gdb.compile/compile.c: New file.
11081 * gdb.compile/compile.exp: New file.
11082 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11083
11084 2014-12-12 Tom Tromey <tromey@redhat.com>
11085
11086 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11087 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11088
11089 2014-12-12 Doug Evans <dje@google.com>
11090
11091 * lib/gdb-python.exp (get_python_valueof): New function.
11092 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11093
11094 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11095
11096 * gdb.base/completion.exp: Add test for completion of "info
11097 registers ".
11098
11099 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11100
11101 * gdb.base/func-ptrs.c: New file.
11102 * gdb.base/func-ptrs.exp: New file.
11103
11104 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11105
11106 PR breakpoints/17012
11107 * gdb.base/dprintf-detach.c: New file.
11108 * gdb.base/dprintf-detach.exp: New file.
11109
11110 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11111
11112 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11113 * lib/gdb.exp (target_is_gdbserver): New procedure.
11114
11115 2014-12-08 Doug Evans <dje@google.com>
11116
11117 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11118
11119 2014-12-05 Yao Qi <yao@codesourcery.com>
11120
11121 * gdb.guile/scm-error.exp: Remove the third argument to
11122 gdb_remote_download.
11123 * gdb.guile/scm-frame-args.exp: Likewise.
11124 * gdb.guile/scm-section-script.exp: Likewise.
11125
11126 2014-12-05 Yao Qi <yao@codesourcery.com>
11127
11128 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11129
11130 2014-12-04 Doug Evans <dje@google.com>
11131
11132 * gdb.python/py-objfile.exp: Add tests for
11133 objfile.add_separate_debug_file.
11134
11135 2014-12-04 Doug Evans <dje@google.com>
11136
11137 * lib/gdb.exp (get_build_id): New function.
11138 (build_id_debug_filename_get): Rewrite to use it.
11139 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11140
11141 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11142
11143 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11144 `method(long)', not just 0x0.
11145 * gdb.cp/nsalias.exp: Align code labels to 4.
11146 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11147 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11148 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11149 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11150 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11151 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11152
11153 2014-12-02 Doug Evans <dje@google.com>
11154
11155 PR symtab/17602
11156 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11157 * gdb.cp/anon-ns2.cc: ... here. New file.
11158 * gdb.cp/anon-ns.exp: Update.
11159
11160 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
11161
11162 * gdb.python/py-events.py (inferior_call_handler): New.
11163 (register_changed_handler, memory_changed_handler): New.
11164 (test_events.invoke): Register new handlers.
11165 * gdb.python/py-events.exp: Add tests for inferior call,
11166 memory_changed and register_changed events.
11167
11168 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11169
11170 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11171 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11172 if the linker doesn't understand this.
11173
11174 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11175
11176 * gdb.python/python.exp: Change expected reply to help().
11177
11178 2014-12-01 Yao Qi <yao@codesourcery.com>
11179
11180 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11181 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11182 * configure: Re-generated.
11183
11184 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11185
11186 * gdb.cp/chained-calls.cc: New file.
11187 * gdb.cp/chained-calls.exp: New file.
11188 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11189
11190 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11191
11192 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11193 * gdb.dwarf2/symtab-producer.exp: Same.
11194 * gdb.gdb/python-interrupts.exp: Same.
11195 * gdb.gdb/python-selftest.exp: Same.
11196 * gdb.python/py-linetable.exp: Same.
11197 * gdb.python/py-type.exp: Same.
11198 * gdb.python/py-value-cc.exp: Same.
11199 * gdb.python/py-value.exp: Same.
11200
11201 2014-11-28 Yao Qi <yao@codesourcery.com>
11202
11203 * gdb.base/break-probes.exp: Match library name prefixed with
11204 sysroot.
11205
11206 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11207
11208 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11209 test expected output. Add parentheses for the call to print.
11210 Remove L suffix from integers.
11211
11212 2014-11-26 Doug Evans <dje@google.com>
11213
11214 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11215
11216 2014-11-22 Yao Qi <yao@codesourcery.com>
11217
11218 * gdb.trace/entry-values.c: Remove asms.
11219 (foo): Add foo_label.
11220 (bar): Add bar_label.
11221 * gdb.trace/entry-values.exp: Remove code computing foo's
11222 length and bar's length.
11223 (Dwarf::assemble): Invoke function_range for bar and use
11224 MACRO_AT_func for foo.
11225
11226 2014-11-22 Yao Qi <yao@codesourcery.com>
11227
11228 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11229 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11230 Use .Lgcc43_procstart instead of gcc43.
11231
11232 2014-11-21 Joel Brobecker <brobecker@adacore.com>
11233
11234 * gdb.ada/n_arr_bound: New testcase.
11235
11236 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11237
11238 PR breakpoints/10737
11239 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11240 test_catch_syscall_multi_arch.
11241 (test_catch_syscall_multi_arch): New function.
11242
11243 2014-11-20 Doug Evans <xdje42@gmail.com>
11244
11245 * gdb.base/maint.exp: Update expected output.
11246
11247 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11248
11249 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11250 4-byte instruction on S390.
11251
11252 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11253
11254 * gdb.ada/arr_arr: New testcase.
11255
11256 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11257
11258 * gdb.ada/pkd_arr_elem: New Testcase.
11259
11260 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11261
11262 * gdb.reverse/break-precsave: Expect completion message for
11263 core file reads.
11264 * gdb.reverse/consecutive-precsave.exp: Likewise.
11265 * gdb.reverse/finish-precsave.exp: Likewise.
11266 * gdb.reverse/i386-precsave.exp: Likewise.
11267 * gdb.reverse/machinestate-precsave.exp: Likewise.
11268 * gdb.reverse/sigall-precsave.exp: Likewise.
11269 * gdb.reverse/solib-precsave.exp: Likewise.
11270 * gdb.reverse/step-precsave.exp: Likewise.
11271 * gdb.reverse/until-precsave.exp: Likewise.
11272 * gdb.reverse/watch-precsave.exp: Likewise.
11273
11274 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11275
11276 * gdb.base/bp-permanent.c: Include unistd.h.
11277 * gdb.python/py-framefilter-mi.c (main): Add return type.
11278 * gdb.python/py-framefilter.c (main): Likewise.
11279 * gdb.trace/actions-changed.c (main): Likewise.
11280
11281 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11282
11283 * gdb.mi/until.c: Add eye-catchers.
11284 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11285 line numbers.
11286
11287 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11288
11289 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11290 function header variants in break1.c.
11291 * gdb.base/ena-dis-br.exp: Likewise.
11292 * gdb.base/hbreak2.exp: Likewise.
11293 * gdb.reverse/until-precsave.exp: Drop references to removed
11294 non-prototype function header variants in ur1.c.
11295 * gdb.reverse/until-reverse.exp: Likewise.
11296
11297 2014-11-17 Petr Machata <pmachata@redhat.com>
11298
11299 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11300 ${_cu_offset_size} bytes abbrev offset.
11301
11302 2014-11-15 Doug Evans <xdje42@gmail.com>
11303
11304 PR symtab/17559
11305 * gdb.base/line-symtabs.exp: New file.
11306 * gdb.base/line-symtabs.c: New file.
11307 * gdb.base/line-symtabs.h: New file.
11308
11309 2014-11-14 Yao Qi <yao@codesourcery.com>
11310
11311 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11312 (func): Add label func_label.
11313 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11314 Replace low_pc and high_pc with MACRO_AT_range.
11315 Replace name, low_pc and high_pc with MACRO_AT_func.
11316
11317 2014-11-14 Yao Qi <yao@codesourcery.com>
11318
11319 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11320 Replace name, low_pc and high_pc with MACRO_AT_func.
11321
11322 2014-11-14 Yao Qi <yao@codesourcery.com>
11323
11324 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11325 produce debug information.
11326 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11327
11328 2014-11-14 Yao Qi <yao@codesourcery.com>
11329
11330 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11331 object and get function length.
11332 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11333 with MACRO_AT_func.
11334 (top-level): Replace gdb_compile and clean_restart with
11335 prepare_for_testing.
11336 * gdb.dwarf2/main.c (main): Add label main_label.
11337
11338 2014-11-14 Yao Qi <yao@codesourcery.com>
11339
11340 * lib/dwarf.exp (function_range): New procedure.
11341 (Dwarf::_handle_macro_at_func): New procedure.
11342 (Dwarf::_handle_macro_at_range): New procedure.
11343 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11344
11345 2014-11-14 Yao Qi <yao@codesourcery.com>
11346
11347 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11348 (_handle_attribute): New procedure.
11349
11350 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11351
11352 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11353 * gdb.base/call-sc.c (zed): Likewise.
11354 * gdb.base/checkpoint.c (main): Likewise.
11355 * gdb.base/dump.c (main): Likewise.
11356 * gdb.base/gcore.c (main): Likewise.
11357 * gdb.base/huge.c (main): Likewise.
11358 * gdb.base/multi-forks.c (main): Likewise.
11359 * gdb.base/pr10179-a.c (main): Likewise.
11360 * gdb.base/savedregs.c (main): Likewise.
11361 * gdb.base/sigaltstack.c (main): Likewise.
11362 * gdb.base/siginfo.c (main): Likewise.
11363 * gdb.base/structs.c (zed): Likewise.
11364 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11365 * gdb.mi/mi-syn-frame.c (main): Likewise.
11366 * gdb.mi/until.c (foo, main): Likewise.
11367 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11368 * gdb.base/solib-weak.c (foo): Declare.
11369 * gdb.base/attach-twice.c: Include stdio.h.
11370 * gdb.base/weaklib1.c: Likewise.
11371 * gdb.base/weaklib2.c: Likewise.
11372 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11373 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11374 unistd.h.
11375 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11376 * gdb.mi/mi-exit-code.c: Likewise.
11377 * gdb.base/break-interp-lib.c: Include string.h.
11378 * gdb.base/coremaker.c: Likewise.
11379 * gdb.base/testenv.c: Likewise.
11380 * gdb.python/py-finish-breakpoint.c: Likewise.
11381 * gdb.base/inferior-died.c: Include sys/wait.h.
11382 * gdb.base/fileio.c: Include time.h.
11383 * gdb.base/async-shell.c: Include unistd.h.
11384 * gdb.base/dprintf-non-stop.c: Likewise.
11385 * gdb.base/info-os.c: Likewise.
11386 * gdb.mi/mi-console.c: Likewise.
11387 * gdb.mi/watch-nonstop.c: Likewise.
11388 * gdb.python/py-events.c: Likewise.
11389 * gdb.base/async.c (baz): Move up before its invocation.
11390 * gdb.base/code_elim2.c (my_global_func): Likewise.
11391 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11392 * gdb.base/advance.c (func2): Likewise.
11393
11394 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11395
11396 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11397 variant.
11398 * gdb.base/annota3.c: Likewise.
11399 * gdb.base/async.c: Likewise.
11400 * gdb.base/average.c: Likewise.
11401 * gdb.base/call-ar-st.c: Likewise.
11402 * gdb.base/call-rt-st.c: Likewise.
11403 * gdb.base/call-sc.c: Likewise.
11404 * gdb.base/call-strs.c: Likewise.
11405 * gdb.base/ending-run.c: Likewise.
11406 * gdb.base/execd-prog.c: Likewise.
11407 * gdb.base/exprs.c: Likewise.
11408 * gdb.base/foll-exec.c: Likewise.
11409 * gdb.base/foll-fork.c: Likewise.
11410 * gdb.base/foll-vfork.c: Likewise.
11411 * gdb.base/funcargs.c: Likewise.
11412 * gdb.base/gcore.c: Likewise.
11413 * gdb.base/jump.c: Likewise.
11414 * gdb.base/langs0.c: Likewise.
11415 * gdb.base/langs1.c: Likewise.
11416 * gdb.base/langs2.c: Likewise.
11417 * gdb.base/mips_pro.c: Likewise.
11418 * gdb.base/nodebug.c: Likewise.
11419 * gdb.base/opaque0.c: Likewise.
11420 * gdb.base/opaque1.c: Likewise.
11421 * gdb.base/recurse.c: Likewise.
11422 * gdb.base/run.c: Likewise.
11423 * gdb.base/scope0.c: Likewise.
11424 * gdb.base/scope1.c: Likewise.
11425 * gdb.base/setshow.c: Likewise.
11426 * gdb.base/setvar.c: Likewise.
11427 * gdb.base/shmain.c: Likewise.
11428 * gdb.base/shr1.c: Likewise.
11429 * gdb.base/shr2.c: Likewise.
11430 * gdb.base/sigall.c: Likewise.
11431 * gdb.base/signals.c: Likewise.
11432 * gdb.base/so-indr-cl.c: Likewise.
11433 * gdb.base/solib2.c: Likewise.
11434 * gdb.base/structs.c: Likewise.
11435 * gdb.base/sum.c: Likewise.
11436 * gdb.base/vforked-prog.c: Likewise.
11437 * gdb.base/watchpoint.c: Likewise.
11438 * gdb.reverse/shr2.c: Likewise.
11439 * gdb.reverse/until-reverse.c: Likewise.
11440 * gdb.reverse/ur1.c: Likewise.
11441 * gdb.reverse/watch-reverse.c: Likewise.
11442
11443 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11444
11445 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11446 variant.
11447 * gdb.base/sepdebug.exp: Drop references to removed code.
11448
11449 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11450
11451 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11452 variant. Preserve original line numbering.
11453 * gdb.base/list1.c: Likewise.
11454
11455 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11456
11457 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11458 variant.
11459 * gdb.base/break1.c: Likewise.
11460 * gdb.base/break.exp: Drop references to removed code.
11461
11462 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11463
11464 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11465 variant.
11466
11467 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11468
11469 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11470
11471 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11472
11473 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11474 logic into perform_all_tests() and invoke it with and without
11475 function header prototypes.
11476 (do_function_calls): Remove conditional XFAIL for PR 5318.
11477 (rerun_and_prepare): Remove duplicate code.
11478 (perform_all_tests): New. Main logic moved here.
11479
11480 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11481
11482 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11483 code guarded by #ifdef NO_PROTOTYPES.
11484 (t_double_many_args): Likewise.
11485 (DEF_FUNC_MANY_ARGS_1): Likewise.
11486 (DEF_FUNC_VALUES_1): Likewise.
11487 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11488 guarded by #ifdef PROTOTYPES.
11489
11490 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11491
11492 * gdb.mi/mi-console.c: Add eye-catcher.
11493 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11494 instead of literal line number.
11495
11496 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11497
11498 * gdb.base/shr2.c: Add eye-catcher.
11499 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11500 line number.
11501
11502 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11503
11504 * gdb.base/jump.c: Add eye-catchers.
11505 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11506 numbers.
11507
11508 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11509
11510 * gdb.base/execd-prog.c: Add eye-catchers.
11511 * gdb.base/foll-exec.c: Likewise.
11512 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11513 line numbers.
11514
11515 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11516
11517 * gdb.base/ending-run.c: Add eye-catchers.
11518 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11519 literal line numbers.
11520
11521 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11522
11523 * gdb.base/call-rt-st.c: Add eye-catchers.
11524 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11525 literal line numbers.
11526
11527 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11528
11529 * gdb.base/call-ar-st.c: Add eye-catchers.
11530 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11531 literal line numbers.
11532
11533 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11534
11535 * gdb.base/average.c: Add eye-catchers.
11536 * gdb.base/sum.c: Likewise.
11537 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11538 regexps dynamically.
11539
11540 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11541
11542 * gdb.base/solib1.c: Add eye-catchers.
11543 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11544 literal line numbers.
11545
11546 2014-11-12 Pedro Alves <palves@redhat.com>
11547
11548 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11549 leader has exited.
11550
11551 2014-11-12 Pedro Alves <palves@redhat.com>
11552
11553 * gdb.arch/i386-bp_permanent.c: New file.
11554 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11555 (srcfile): Set to i386-bp_permanent.c.
11556 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11557 that stepi does not execute the 'leave' instruction, instead of
11558 testing it does execute.
11559 * gdb.base/bp-permanent.c: New file.
11560 * gdb.base/bp-permanent.exp: New file.
11561
11562 2014-11-10 Doug Evans <xdje42@gmail.com>
11563
11564 PR symtab/17564
11565 * gdb.base/symtab-search-order.exp: New file.
11566 * gdb.base/symtab-search-order.c: New file.
11567 * gdb.base/symtab-search-order-1.c: New file.
11568 * gdb.base/symtab-search-order-shlib-1.c: New file.
11569
11570 2014-11-07 Pedro Alves <palves@redhat.com>
11571
11572 PR gdb/17511
11573 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11574 i?86-*-linux*.
11575
11576 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
11577
11578 PR c++/17494
11579 * gdb.cp/pr17494.cc: New file.
11580 * gdb.cp/pr17494.exp: New file.
11581
11582 2014-11-02 Yao Qi <yao@codesourcery.com>
11583
11584 * gdb.python/python.exp: Get working directory and match the
11585 output of "set extended-prompt \\w " with it.
11586
11587 2014-10-30 Doug Evans <dje@google.com>
11588
11589 * gdb.python/py-objfile.exp: Add tests for setting random attributes
11590 in objfiles.
11591 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11592 in progspaces.
11593
11594 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
11595
11596 * gdb.base/fullpath-expand.exp: Skip for a remote host.
11597 * gdb.base/realname-expand.exp: Likewise.
11598 * gdb.linespec/macro-relative.exp: Likewise.
11599
11600 2014-10-29 Pedro Alves <palves@redhat.com>
11601
11602 PR gdb/17408
11603 * gdb.threads/schedlock.c (some_function): New function.
11604 (call_function): New global.
11605 (MAYBE_CALL_SOME_FUNCTION): New macro.
11606 (thread_function): Call it.
11607 * gdb.threads/schedlock.exp (get_args): Add description parameter,
11608 and use it instead of a global counter. Adjust all callers.
11609 (get_current_thread): Use "find current thread" for test message
11610 here rather than having all callers pass down the same string.
11611 (goto_loop): New procedure, factored out from ...
11612 (my_continue): ... this.
11613 (step_ten_loops): Change parameter from test message to command to
11614 use. Adjust.
11615 (list_count): Delete global.
11616 (check_result): New procedure, factored out from duplicate top
11617 level code.
11618 (continue tests): Wrap in with_test_prefix.
11619 (test_step): New procedure, factored out from duplicate top level
11620 code.
11621 (top level): Test "step" in combination with all scheduler-locking
11622 modes. Test "next" in combination with all scheduler-locking
11623 modes, and in combination with stepping over a function call or
11624 not.
11625 * gdb.threads/next-bp-other-thread.c: New file.
11626 * gdb.threads/next-bp-other-thread.exp: New file.
11627
11628 2014-10-29 Pedro Alves <palves@redhat.com>
11629
11630 PR python/17372
11631 * gdb.python/python.exp: Test a multi-line command that spawns
11632 interactive Python.
11633 * gdb.base/multi-line-starts-subshell.exp: New file.
11634
11635 2014-10-29 Yao Qi <yao@codesourcery.com>
11636
11637 * gdb.base/fileio.exp: Make directories on host.
11638
11639 2014-10-29 Yao Qi <yao@codesourcery.com>
11640
11641 * gdb.base/fileio.c (test_write): Close the file.
11642
11643 2014-10-28 Pedro Alves <palves@redhat.com>
11644
11645 PR gdb/12623
11646 * gdb.base/sigstep.c (no_handler): New global.
11647 (main): If 'no_handler is true, set the signal handlers to
11648 SIG_IGN.
11649 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11650 with_sw_watch and no_handler parameters. Handle them.
11651 (top level) <stepping over handler when stopped at a breakpoint
11652 test>: Add a test axis for testing with a software watchpoint, and
11653 another for testing with the signal handler set to SIG_IGN.
11654 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11655 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11656
11657 2014-10-28 Pedro Alves <palves@redhat.com>
11658
11659 PR gdb/17511
11660 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11661 * gdb.base/sigstep.exp (other_handler_location): New global.
11662 (advance): Support stepping into the signal handler, and running
11663 commands while in the handler.
11664 (in_handler_map): New global.
11665 (top level): In the advance test, add combinations for getting
11666 into the handler with stepping commands, and for running commands
11667 in the handler. Add comment descripting the advancei tests.
11668
11669 2014-10-28 Pedro Alves <palves@redhat.com>
11670
11671 * gdb.base/sigstep.exp: Use build_executable instead of
11672 prepare_for_testing.
11673 (top level): Move code that starts GDB, runs to main and creates a
11674 display to ...
11675 (restart): ... this new procedure.
11676 (top level): Move backtrace from signal handler test to ...
11677 (validate_backtrace): ... this new procedure.
11678 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11679 with_test_prefix. Always restart GDB.
11680 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11681 with_test_prefix. Always restart GDB. No need to delete
11682 breakpoints after the test.
11683 (test_skip_handler): Remove prefix parameter.
11684 (skip_over_handler, breakpoint_to_handler)
11685 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11686 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11687 restart GDB. No need to delete breakpoints after the test.
11688 (top level): Use foreach to call the test procedures with
11689 different commands.
11690
11691 2014-10-28 Pedro Alves <palves@redhat.com>
11692
11693 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11694 instead of GNATS numbers.
11695 * gdb.base/sigbpt.exp: Likewise.
11696 * gdb.base/siginfo.exp: Likewise.
11697 * gdb.base/sigstep.exp: Likewise.
11698
11699 2014-10-27 Pedro Alves <palves@redhat.com>
11700
11701 * gdb.base/sigstep.c (dummy): New global.
11702 (main): Issue a couple writes to the new global.
11703 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11704 procedures.
11705 (skip_over_handler): Use test_skip_handler.
11706 (top level): Call skip_over_handler for stepi and nexti too.
11707 (breakpoint_over_handler): Use test_skip_handler.
11708 (top level): Call breakpoint_over_handler for stepi and nexti too.
11709
11710 2014-10-27 Yao Qi <yao@codesourcery.com>
11711
11712 * gdb.trace/tfile.c (adjust_function_address)
11713 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11714 function descriptor.
11715
11716 2014-10-24 Don Breazeal <donb@codesourcery.com>
11717
11718 * gdb.base/foll-fork.exp (test_follow_fork,
11719 catch_fork_child_follow): Check for updated fork messages emitted
11720 from infrun.c.
11721 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11722 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11723 vfork_and_exec_child_follow_through_step): Check for updated vfork
11724 messages emitted from infrun.c.
11725
11726 2014-10-24 Pedro Alves <palves@redhat.com>
11727
11728 * gdb.base/corefile.exp: Remove references to ultrix.
11729 * gdb.base/interrupt.exp: Likewise.
11730 * gdb.base/whatis.exp: Likewise.
11731 * gdb.gdb/selftest.exp: Likewise.
11732 * gdb.threads/manythreads.exp: Likewise.
11733 * gdb.threads/print-threads.exp: Likewise.
11734 * gdb.threads/pthreads.exp:: Likewise.
11735 * gdb.threads/schedlock.exp: Likewise.
11736
11737 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11738
11739 * gdb.cp/non-trivial-retval.cc: Add a test case.
11740 * gdb.cp/non-trivial-retval.exp: Add a test.
11741
11742 2014-10-20 Yao Qi <yao@codesourcery.com>
11743
11744 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11745 * gdb.python/py-objfile-script-gdb.py: New file.
11746 * gdb.python/py-objfile-script.exp: Update reference to
11747 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11748 of remote_download. Remove the dest file.
11749
11750 2014-10-20 Yao Qi <yao@codesourcery.com>
11751
11752 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11753 * gdb.base/step-line.exp: Likewise.
11754 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11755 * gdb.dwarf2/dw2-basic.exp: Likewise.
11756 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11757 * gdb.dwarf2/dw2-filename.exp: Likewise.
11758 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11759 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11760 * gdb.dwarf2/dw2-producer.exp: Likewise.
11761 * gdb.dwarf2/mac-fileno.exp: Likewise.
11762 * gdb.python/py-frame-args.exp: Likewise.
11763 * gdb.python/py-framefilter.exp: Likewise.
11764 * gdb.python/py-mi.exp: Likewise.
11765 * gdb.python/py-objfile-script.exp: Likewise
11766 * gdb.python/py-pp-integral.exp: Likewise.
11767 * gdb.python/py-pp-re-notag.exp: Likewise.
11768 * gdb.python/py-prettyprint.exp: Likewise.
11769 * gdb.python/py-section-script.exp: Likewise.
11770 * gdb.python/py-typeprint.exp: Likewise.
11771 * gdb.python/py-xmethods.exp: Likewise.
11772 * gdb.stabs/weird.exp: Likewise.
11773 * gdb.xml/tdesc-regs.exp: Likewise.
11774
11775 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11776
11777 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11778 (out_cu): Use addr_len for the size of addresses.
11779 (out_line): Likewise. Size DW_LNE_set_address instruction
11780 according to addr_len.
11781 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11782 (FUNC): Add START_INSNS to definition.
11783
11784 2014-10-18 Yao Qi <yao@codesourcery.com>
11785
11786 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11787 gdb_has_argv0 return true.
11788 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11789 check [target_info exists noargs], check [gdb_has_argv0]
11790 instead.
11791 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11792 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11793 procedures.
11794
11795 2014-10-17 Doug Evans <dje@google.com>
11796
11797 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11798 event.
11799 * gdb.python/py-events.py: Add clear_objfiles event.
11800
11801 2014-10-17 Doug Evans <dje@google.com>
11802
11803 * gdb.python/py-objfile.exp: Test progspace attribute.
11804
11805 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
11806
11807 * gdb.guile/scm-breakpoint.exp: Do not assume any
11808 directory separators when matching source file paths.
11809 * gdb.python/py-breakpoint.exp: Likewise.
11810 * gdb.reverse/break-precsave.exp: Likewise.
11811 * gdb.reverse/break-reverse.exp: Likewise.
11812 * gdb.reverse/consecutive-precsave.exp: Likewise.
11813 * gdb.reverse/finish-precsave.exp: Likewise.
11814 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11815 * gdb.reverse/finish-reverse.exp: Likewise.
11816 * gdb.reverse/i386-precsave.exp: Likewise.
11817 * gdb.reverse/i387-env-reverse.exp: Likewise.
11818 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11819 * gdb.reverse/machinestate-precsave.exp: Likewise.
11820 * gdb.reverse/machinestate.exp: Likewise.
11821 * gdb.reverse/sigall-precsave.exp: Likewise.
11822 * gdb.reverse/solib-precsave.exp: Likewise.
11823 * gdb.reverse/step-precsave.exp: Likewise.
11824 * gdb.reverse/until-precsave.exp: Likewise.
11825 * gdb.reverse/watch-precsave.exp: Likewise.
11826 * gdb.reverse/watch-reverse.exp: Likewise.
11827
11828 2014-10-17 Yao Qi <yao@codesourcery.com>
11829
11830 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11831 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11832
11833 2014-10-17 Pedro Alves <palves@redhat.com>
11834
11835 PR gdb/17471
11836 * gdb.base/bg-execution-repeat.c: New file.
11837 * gdb.base/bg-execution-repeat.exp: New file.
11838
11839 2014-10-17 Pedro Alves <palves@redhat.com>
11840
11841 PR gdb/17300
11842 * gdb.base/continue-all-already-running.c: New file.
11843 * gdb.base/continue-all-already-running.exp: New file.
11844
11845 2014-10-17 Pedro Alves <palves@redhat.com>
11846
11847 PR gdb/17472
11848 * gdb.base/annota-input-while-running.c: New file.
11849 * gdb.base/annota-input-while-running.exp: New file.
11850
11851 2014-10-17 Pedro Alves <palves@redhat.com>
11852
11853 * gdb.base/callfuncs.exp: emove references to osf.
11854 * gdb.base/sigall.exp: Likewise.
11855 * gdb.gdb/selftest.exp: Likewise.
11856 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11857 * gdb.mi/non-stop.c: Likewise.
11858 * gdb.mi/pthreads.c: Likewise.
11859 * gdb.reverse/sigall-precsave.exp: Likewise.
11860 * gdb.reverse/sigall-reverse.exp: Likewise.
11861 * gdb.threads/pthreads.c: Likewise.
11862 * gdb.threads/pthreads.exp: Likewise.
11863
11864 2014-10-17 Yao Qi <yao@codesourcery.com>
11865
11866 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11867 check 'target_info exists noargs'.
11868 (test_command_prompt_position): Likewise.
11869 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11870 Remove "set args".
11871 (progvar_simple_while_test): Likewise.
11872 (progvar_complex_if_while_test): Likewise.
11873 (if_while_breakpoint_command_test): Likewise.
11874 (infrun_breakpoint_command_test): Likewise.
11875 (breakpoint_command_test): Likewise.
11876 (watchpoint_command_test): Likewise.
11877 (bp_deleted_in_command_test): Likewise.
11878 (temporary_breakpoint_commands): Likewise.
11879
11880 2014-10-16 Yao Qi <yao@codesourcery.com>
11881
11882 * gdb.base/remotetimeout.exp: Remove noargs checking.
11883
11884 2014-10-15 Pedro Alves <palves@redhat.com>
11885
11886 PR breakpoints/9649
11887 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11888 * gdb.base/breakpoint-in-ro-region.exp
11889 (probe_target_hardware_step): New procedure.
11890 (top level): Probe hardware stepping and hardware breakpoint
11891 support. Test stepping through a read-only region, with both
11892 "breakpoint auto-hw" on and off and both "always-inserted" on and
11893 off.
11894
11895 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11896
11897 * gdb.dlang/demangle.exp: Update for demangling changes.
11898
11899 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11900
11901 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11902 * gdb.cp/non-trivial-retval.exp: Add new tests.
11903
11904 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11905
11906 PR c++/13403
11907 PR c++/15154
11908 * gdb.cp/non-trivial-retval.cc: New file.
11909 * gdb.cp/non-trivial-retval.exp: New file.
11910
11911 2014-10-15 Yao Qi <yao@codesourcery.com>
11912
11913 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11914 remote host.
11915
11916 2014-10-15 Yao Qi <yao@codesourcery.com>
11917
11918 * gdb.python/py-symbol.exp: Match file base name if host is
11919 remote, otherwise match file name with dir name.
11920 * gdb.python/py-symtab.exp: Likewise.
11921 * gdb.python/python.exp: Likewise.
11922
11923 2014-10-15 Yao Qi <yao@codesourcery.com>
11924
11925 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
11926 pattern.
11927 * gdb.python/py-symtab.exp: Likewise.
11928 * gdb.python/python.exp: Remove trailing ".*". Fix typo
11929 locationn.
11930
11931 2014-10-14 Joel Brobecker <brobecker@adacore.com>
11932
11933 * gdb.ada/addr_arith: New testcase.
11934
11935 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
11936
11937 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
11938 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
11939 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
11940 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
11941
11942 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
11943
11944 * gdb.arch/stap-eval-lang-ada.S: Likewise.
11945 * gdb.arch/stap-eval-lang-ada.c: Likewise.
11946 * gdb.arch/stap-eval-lang-ada.exp: New file.
11947
11948 2014-10-14 Yao Qi <yao@codesourcery.com>
11949
11950 * gdb.mi/mi-var-child.c (nothing1): New function.
11951 (nothing2): New function.
11952 (do_children_tests): Set function pointers by nothing1 and
11953 nothing2.
11954 * gdb.mi/mi-var-child.exp: Step over new added statements.
11955 Update test to match the new output.
11956 * gdb.mi/var-cmd.c (nothing1): New function.
11957 (nothing2): New function.
11958 (do_children_tests): Set function pointers by nothing1 and
11959 nothing2.
11960 * gdb.mi/mi-var-display.exp: Update test to match output.
11961 Step to the line specified by $line_dct_nothing.
11962 Increase the number of lines to step.
11963
11964 2014-10-14 Yao Qi <yao@codesourcery.com>
11965
11966 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
11967 tests.
11968 * gdb.mi/mi2-var-child.exp: Likewise.
11969
11970 2014-10-13 Doug Evans <dje@google.com>
11971
11972 * gdb.python/py-objfile.exp: Change name of file name test.
11973
11974 2014-10-13 Doug Evans <dje@google.com>
11975
11976 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
11977 from the start of the CU.
11978
11979 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11980 Yao Qi <yao@codesourcery.com>
11981
11982 Fix "save breakpoints" for "catch" command.
11983 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11984 Remove -nonewline. Match also the added "main" line.
11985
11986 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11987
11988 Fix "save breakpoints" for "disable $bpnum" command.
11989 * gdb.base/save-bp.c (main): Add label.
11990 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
11991
11992 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11993
11994 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
11995
11996 2014-10-11 Yao Qi <yao@codesourcery.com>
11997
11998 * gdb.server/server-kill.exp: Execute command
11999 "set remote trace-status-packet on" before "tstatus".
12000
12001 2014-10-11 Yao Qi <yao@codesourcery.com>
12002
12003 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12004 (main): Call getppid.
12005 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12006 and continue to it. Read variable "server_pid".
12007
12008 2014-10-11 Yao Qi <yao@codesourcery.com>
12009
12010 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12011
12012 2014-10-11 Yao Qi <yao@codesourcery.com>
12013
12014 * gdb.threads/thread-find.exp: Don't execute command
12015 "info threads".
12016 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12017 * gdb.threads/linux-dp.exp: Don't check the condition
12018 $threads_created equals to zero.
12019
12020 2014-10-10 Pedro Alves <palves@redhat.com>
12021
12022 * gdb.base/bigcore.exp: Remove references to IRIX.
12023 * gdb.base/funcargs.exp: Likewise.
12024 * gdb.base/interrupt.exp: Likewise.
12025 * gdb.base/mips_pro.exp: Likewise.
12026 * gdb.base/nodebug.exp: Likewise.
12027 * gdb.base/setvar.exp: Likewise.
12028 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12029
12030 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12031 Pedro Alves <palves@redhat.com>
12032
12033 PR symtab/14466
12034 * gdb.base/vdso-warning.c: New file.
12035 * gdb.base/vdso-warning.exp: New file.
12036
12037 2014-10-02 Doug Evans <dje@google.com>
12038
12039 * gdb.base/structs.c (main): Don't run forever.
12040
12041 2014-10-02 Pedro Alves <palves@redhat.com>
12042
12043 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12044 (top level) <stop threads 1, stop threads 2>: Use it.
12045
12046 2014-10-02 Pedro Alves <palves@redhat.com>
12047
12048 * gdb.threads/break-while-running.exp (test): Add new
12049 'update_thread_list' argument. Skip "info threads" if false.
12050 (top level): Add new 'update_thread_list' axis.
12051
12052 2014-10-02 Pedro Alves <palves@redhat.com>
12053
12054 PR breakpoints/17431
12055 * gdb.base/execl-update-breakpoints.c: New file.
12056 * gdb.base/execl-update-breakpoints.exp: New file.
12057
12058 2014-10-01 Pedro Alves <palves@redhat.com>
12059
12060 * gdb.base/breakpoint-in-ro-region.c: New file.
12061 * gdb.base/breakpoint-in-ro-region.exp: New file.
12062
12063 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
12064
12065 * gdb.mi/mi-exit-code.exp: New file.
12066 * gdb.mi/mi-exit-code.c: New file.
12067
12068 2014-09-30 Yao Qi <yao@codesourcery.com>
12069
12070 * lib/prelink-support.exp (build_executable_own_libs): Error if
12071 the target isn't native.
12072
12073 2014-09-30 Yao Qi <yao@codesourcery.com>
12074
12075 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12076 false.
12077
12078 2014-09-22 Pedro Alves <palves@redhat.com>
12079
12080 * gdb.threads/break-while-running.exp: New file.
12081 * gdb.threads/break-while-running.c: New file.
12082
12083 2014-09-19 Yao Qi <yao@codesourcery.com>
12084
12085 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12086 Invoke test. Restart GDB with --readnow and invoke test again.
12087
12088 2014-09-19 Yao Qi <yao@codesourcery.com>
12089
12090 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12091 proc set_breakpoint_on_gcd_function. Invoke
12092 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12093 invoke set_breakpoint_on_gcd_function again.
12094
12095 2014-09-18 Doug Evans <dje@google.com>
12096
12097 * gdb.dwarf2/symtab-producer.exp: New file.
12098
12099 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12100
12101 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12102 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12103 * gdb.base/global-var-nested-by-dso.c: Likewise.
12104 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12105
12106 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12107 Pedro Alves <palves@redhat.com>
12108
12109 * gdb.base/watch-bitfields.exp: Pass string other than test file
12110 name to prepare_for_testing.
12111 (watch): New procedure.
12112 (expect_watchpoint): Use with_test_prefix.
12113 (top level): Factor out tests to ...
12114 (test_watch_location, test_regular_watch): ... these new
12115 procedures, and use with_test_prefix and gdb_continue_to_end.
12116
12117 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12118
12119 PR breakpoints/12526
12120 * gdb.base/watch-bitfields.exp: New file.
12121 * gdb.base/watch-bitfields.c: New file.
12122
12123 2014-09-16 Pedro Alves <palves@redhat.com>
12124
12125 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12126 software and hardware addresses, not software address against
12127 itself.
12128
12129 2014-09-16 Pedro Alves <palves@redhat.com>
12130
12131 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12132 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12133
12134 2014-09-16 Pedro Alves <palves@redhat.com>
12135
12136 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12137 files.
12138 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12139 "*-*-vxworks*" throughout.
12140 * gdb.base/break.exp: Likewise.
12141 * gdb.base/default.exp: Likewise.
12142 * gdb.base/scope.exp: Likewise.
12143 * gdb.base/sepdebug.exp: Likewise.
12144 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12145 throughout.
12146 * gdb.base/run.c: Likewise.
12147 * gdb.base/sepdebug.c: Likewise.
12148 * gdb.hp/gdb.aCC/run.c: Likewise.
12149 * gdb.reverse/until-reverse.c: Likewise.
12150 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12151
12152 2014-09-16 Yao Qi <yao@codesourcery.com>
12153
12154 * boards/local-remote-host-native.exp: New file.
12155
12156 2014-09-14 Doug Evans <xdje42@gmail.com>
12157
12158 * gdb.threads/queue-signal.c (thread_count): New variable.
12159 (thread_count_mutex, thread_count_condvar): New variables.
12160 (incr_thread_count, wait_all_threads_running): New functions.
12161 (main): Wait for all threads to be in their thread functions.
12162
12163 2014-09-13 Doug Evans <xdje42@gmail.com>
12164
12165 * gdb.threads/queue-signal.c: New file.
12166 * gdb.threads/queue-signal.exp: New file.
12167
12168 2014-09-13 Doug Evans <xdje42@gmail.com>
12169
12170 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12171 be consistent with what default_gdb_init uses.
12172 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12173 the plain text of the prompt. Add some logging printfs.
12174 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12175
12176 2014-09-12 Pedro Alves <palves@redhat.com>
12177
12178 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12179 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12180 * gdb.arch/i386-size-overlap.exp: Likewise.
12181 * gdb.arch/i386-size.exp: Likewise.
12182 * gdb.arch/i386-unwind.exp: Likewise.
12183 * gdb.base/a2-run.exp: Likewise.
12184 * gdb.base/break.exp: Likewise.
12185 * gdb.base/charset.exp: Likewise.
12186 * gdb.base/chng-syms.exp: Likewise.
12187 * gdb.base/commands.exp: Likewise.
12188 * gdb.base/dbx.exp: Likewise.
12189 * gdb.base/find.exp: Likewise.
12190 * gdb.base/funcargs.exp: Likewise.
12191 * gdb.base/jit-simple.exp: Likewise.
12192 * gdb.base/reread.exp: Likewise.
12193 * gdb.base/sepdebug.exp: Likewise.
12194 * gdb.base/step-bt.exp: Likewise.
12195 * gdb.cp/mb-inline.exp: Likewise.
12196 * gdb.cp/mb-templates.exp: Likewise.
12197 * gdb.objc/basicclass.exp: Likewise.
12198 * gdb.threads/killed.exp: Likewise.
12199
12200 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12201
12202 PR tdep/17379
12203 * gdb.arch/powerpc-stackless.S: New file.
12204 * gdb.arch/powerpc-stackless.exp: New file.
12205
12206 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12207
12208 * gdb.base/attach.c: Include unistd.h.
12209 (main): Call alarm. Add label postloop.
12210 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12211 gdb_breakpoint, gdb_continue_to_breakpoint.
12212 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12213
12214 2014-09-11 Pedro Alves <palves@redhat.com>
12215
12216 PR gdb/17347
12217 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12218 * gdb.base/attach.exp (test_command_line_attach_run): New
12219 procedure.
12220 (top level): Call it.
12221
12222 2014-09-11 Pedro Alves <palves@redhat.com>
12223
12224 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12225 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12226 (do_command_attach_tests): Use spawn_wait_for_attach.
12227 * gdb.base/solib-overlap.exp: Likewise.
12228 * gdb.multi/multi-attach.exp: Likewise.
12229 * gdb.python/py-prompt.exp: Likewise.
12230 * gdb.python/py-sync-interp.exp: Likewise.
12231 * gdb.server/ext-attach.exp: Likewise.
12232
12233 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12234
12235 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12236 command in testcase. Simplify testcase.
12237
12238 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12239
12240 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12241
12242 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12243
12244 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12245
12246 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12247
12248 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12249
12250 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12251
12252 * gdb.dwarf2/dynarr-ptr.c: New file.
12253 * gdb.dwarf2/dynarr-ptr.exp: New file.
12254
12255 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12256
12257 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12258 of 30 rather than hardcoding 120 for a slow test case. Take the
12259 `gdb,timeout' target setting into account for this calculation.
12260 Don't extend the timeout for the test cases that don't need it.
12261
12262 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12263
12264 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12265 a factor of 2 for a slow test case. Take the `gdb,timeout'
12266 target setting into account for this calculation.
12267 * gdb.reverse/until-precsave.exp: Increase the timeout by
12268 a factor of 15 and 3 respectively rather than adding 120
12269 for a pair of slow test cases. Take the `gdb,timeout'
12270 target setting into account for this calculation.
12271
12272 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12273
12274 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12275 timeout, don't pass one down to gdb_expect.
12276 (gdb_expect): Rework timeout selection.
12277
12278 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12279
12280 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12281 exception on timeout.
12282 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12283 (gdbserver_start_extended): Catch any `gdbserver_start' error
12284 exceptions.
12285 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12286 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12287 `gdbserver_gdb_load' error exceptions.
12288
12289 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12290
12291 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12292 120 on waiting for the TCP socket to open.
12293
12294 2014-09-09 Doug Evans <xdje42@gmail.com>
12295
12296 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12297 _caller_matches, _any_caller_is, _any_caller_matches.
12298
12299 2014-09-09 Doug Evans <xdje42@gmail.com>
12300
12301 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12302
12303 2014-09-09 Yao Qi <yao@codesourcery.com>
12304
12305 * gdb.mi/mi-var-display.exp: Set print symbol off.
12306
12307 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12308
12309 PR gdb/17035
12310 * gdb.base/commands.exp: Add tests to verify user-defined
12311 commands with empty bodies.
12312 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12313 python commands in `show user command`.
12314 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12315 scheme commands in `show user command`.
12316
12317 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12318
12319 PR python/17355
12320 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12321 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12322 * gdb.python/py-framefilter-invalidarg.exp: New file.
12323 * gdb.python/py-framefilter-invalidarg.py: New file.
12324
12325 2014-09-06 Doug Evans <xdje42@gmail.com>
12326
12327 PR 15276
12328 * gdb.python/py-caller-is.c: New file.
12329 * gdb.python/py-caller-is.exp: New file.
12330
12331 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12332
12333 PR gdb/17235
12334 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12335 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12336
12337 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12338
12339 PR fortran/17237
12340 * gdb.fortran/print-formatted.exp: New file.
12341 * gdb.fortran/print-formatted.f90: Likewise.
12342
12343 2014-09-03 Sasha Smundak <asmundak@google.com>
12344
12345 * gdb.python/py-frame.exp: Test Frame.read_register.
12346
12347 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12348
12349 PR python/16699
12350 * gdb.python/py-completion.exp: New file.
12351 * gdb.python/py-completion.py: Likewise.
12352
12353 2014-08-28 Doug Evans <dje@google.com>
12354
12355 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12356 eax,etc. are live with values set by gdb and thus the compiler can't
12357 use them.
12358 * gdb.arch/i386-pseudo.c (main): Ditto.
12359
12360 2014-08-27 Doug Evans <dje@google.com>
12361
12362 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12363
12364 2014-08-25 Doug Evans <dje@google.com>
12365
12366 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12367 (main): Ditto.
12368
12369 2014-08-25 Doug Evans <dje@google.com>
12370
12371 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12372
12373 2014-08-24 Yao Qi <yao@codesourcery.com>
12374
12375 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12376 symbol off.
12377 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12378
12379 2014-08-22 Doug Evans <dje@google.com>
12380
12381 PR 17276
12382 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12383 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12384 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12385
12386 2014-08-22 Yao Qi <yao@codesourcery.com>
12387
12388 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12389 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12390 * gdb.python/python.exp: Likewise. Use .py file on the host
12391 instead of the build.
12392
12393 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12394
12395 * gdb.threads/gcore-stale-thread.c: New file.
12396 * gdb.threads/gcore-stale-thread.exp: New file.
12397
12398 2014-08-21 Pedro Alves <palves@redhat.com>
12399
12400 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12401 * gdb.base/gcore-relro-pie.exp: Likewise.
12402 * gdb.base/gcore-relro.exp: Likewise.
12403 * gdb.base/gcore.exp: Likewise.
12404 * gdb.base/print-symbol-loading.exp: Likewise.
12405 * gdb.threads/gcore-thread.exp: Likewise.
12406 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12407
12408 2014-08-20 Pedro Alves <palves@redhat.com>
12409 Jan Kratochvil <jan.kratochvil@redhat.com>
12410
12411 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12412 configure.
12413 (EXPECT): Handle READ1 being set.
12414 (all): Depend on EXTRA_RULES.
12415 (check-read1, expect-read1, read1.so, read1): New rules.
12416 * README (Testsuite Parameters): Document the READ1 make variable.
12417 (Race detection): New section.
12418 * configure: Regenerate.
12419 * configure.ac: If build==host==target, and running under a
12420 GNU/glibc system, add read1 to the extra Makefile rules.
12421 (EXTRA_RULES): AC_SUBST it.
12422 * lib/read1.c: New file.
12423
12424 2014-08-20 Joel Brobecker <brobecker@adacore.com>
12425
12426 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12427 the handling of variables declared as a typedef to an array
12428 which a DW_AT_data_location attribute.
12429
12430 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
12431 Pedro Alves <palves@redhat.com>
12432
12433 PR symtab/14604
12434 PR symtab/14605
12435 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12436 gdb_test.
12437
12438 2014-08-19 Pedro Alves <palves@redhat.com>
12439
12440 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12441
12442 2014-08-19 Yao Qi <yao@codesourcery.com>
12443
12444 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12445 right line.
12446
12447 2014-08-18 David Blaikie <dblaikie@gmail.com>
12448
12449 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12450
12451 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12452
12453 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12454 attribute in array range.
12455
12456 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12457
12458 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12459
12460 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12461
12462 PR c++/17132
12463 * gdb.cp/pr17132.cc: New file.
12464 * gdb.cp/pr17132.exp: New file.
12465
12466 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12467
12468 * gdb.python/py-xmethods.py (A_getarrayind)
12469 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12470 Use 'print' with function call syntax.
12471 (E_method_matcher.match): Fix tab vs space indentation mixup.
12472
12473 2014-08-15 Yao Qi <yao@codesourcery.com>
12474
12475 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12476 false.
12477
12478 2014-08-15 Yao Qi <yao@codesourcery.com>
12479
12480 * gdb.cp/casts.exp: Set print symbol off.
12481 * gdb.cp/class2.exp: Likewise.
12482 * gdb.cp/overload.exp: Likewise.
12483 * gdb.cp/templates.exp: Likewise.
12484
12485 2014-08-11 Doug Evans <dje@google.com>
12486
12487 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12488 (test_load_shlib): Update.
12489
12490 2014-08-09 Yao Qi <yao@codesourcery.com>
12491
12492 * gdb.base/display.exp: Invoke is_address_zero_readable.
12493 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12494 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12495 * gdb.base/hbreak-unmapped.exp: Return if
12496 is_address_zero_readable returns true.
12497 * gdb.base/signest.exp: Likewise.
12498 * gdb.base/signull.exp: Likewise.
12499 * gdb.base/sigbpt.exp: Likewise.
12500 * gdb.guile/scm-disasm.exp: Do the test if
12501 is_address_zero_readable returns false.
12502 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12503 * gdb.python/py-arch.exp: Likewise.
12504 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12505 * lib/gdb.exp (is_address_zero_readable): New proc.
12506
12507 2014-08-09 Yao Qi <yao@codesourcery.com>
12508
12509 PR testsuite/13443
12510 * gdb.mi/mi-var-display.exp: Make test messages unique.
12511
12512 2014-08-04 Tom Tromey <tromey@redhat.com>
12513
12514 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12515 target 0".
12516
12517 2014-08-04 Tom Tromey <tromey@redhat.com>
12518
12519 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12520 "target_resume".
12521
12522 2014-08-01 Joel Brobecker <brobecker@adacore.com>
12523
12524 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12525 inner_vla_struct_object_size.
12526 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12527 as xfail.
12528
12529 2014-07-30 Pedro Alves <palves@redhat.com>
12530
12531 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12532 comment.
12533
12534 2014-07-29 Yao Qi <yao@codesourcery.com>
12535
12536 PR gdb/17206
12537 * gdb.base/until-nodebug.exp: New.
12538
12539 2014-07-28 Doug Evans <xdje42@gmail.com>
12540
12541 PR guile/17203
12542 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12543 previously existing parameter, and previously ambiguously spelled
12544 parameter.
12545
12546 2014-07-28 Will Newton <will.newton@linaro.org>
12547
12548 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12549
12550 2014-07-26 Ludovic Courtès <ludo@gnu.org>
12551 Doug Evans <xdje42@gmail.com>
12552
12553 PR guile/17146
12554 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12555
12556 2014-07-25 Pedro Alves <palves@redhat.com>
12557
12558 * gdb.threads/signal-command-handle-nopass.c: New file.
12559 * gdb.threads/signal-command-handle-nopass.exp: New file.
12560 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12561 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12562 * gdb.threads/signal-delivered-right-thread.c: New file.
12563 * gdb.threads/signal-delivered-right-thread.exp: New file.
12564
12565 2014-07-25 Pedro Alves <palves@redhat.com>
12566
12567 * gdb.base/double-prompt-target-event-error.exp
12568 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12569 match.
12570 (cancel_pagination_in_target_event): Rework double prompt
12571 detection.
12572 * gdb.base/paginate-after-ctrl-c-running.exp
12573 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12574 <return>' match.
12575 * gdb.base/paginate-bg-execution.exp
12576 (test_bg_execution_pagination_return)
12577 (test_bg_execution_pagination_cancel): Remove '-notransfer
12578 <return>' matches.
12579 * gdb.base/paginate-execution-startup.exp
12580 (test_fg_execution_pagination_return)
12581 (test_fg_execution_pagination_cancel): Remove '-notransfer
12582 <return>' matches.
12583 * gdb.base/paginate-inferior-exit.exp
12584 (test_paginate_inferior_exited): Remove '-notransfer <return>'
12585 match.
12586 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12587 * lib/gdb.exp (pagination_prompt): Run text through
12588 string_to_regexp.
12589 (gdb_test_multiple): Match $pagination_prompt instead of
12590 "<return>".
12591 (string_to_regexp): Move to lib/gdb-utils.exp.
12592
12593 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12594
12595 * gdb.arch/amd64-entry-value-paramref.S: New file.
12596 * gdb.arch/amd64-entry-value-paramref.cc: New file.
12597 * gdb.arch/amd64-entry-value-paramref.exp: New file.
12598 * gdb.arch/amd64-optimout-repeat.S: New file.
12599 * gdb.arch/amd64-optimout-repeat.c: New file.
12600 * gdb.arch/amd64-optimout-repeat.exp: New file.
12601
12602 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12603
12604 PR gdb/17170
12605 * gdb.base/statistics.exp: New file.
12606
12607 2014-07-17 Doug Evans <dje@google.com>
12608
12609 PR gdb/17170
12610 * gdb.base/maint.exp: Update testing of per-command stats.
12611
12612 2014-07-16 Pedro Alves <palves@redhat.com>
12613
12614 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12615 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12616 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12617 (tfile_write_buf): New functions.
12618 (add_memory_block): Rewrite using the above.
12619 (adjust_function_address): New function.
12620 (FUNCTION_ADDRESS): New macro.
12621 (write_basic_trace_file): Remove short_x local, and use
12622 tfile_write_16. Change type of func_addr local to unsigned long
12623 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
12624 here. Cast argument of add_memory_block to char pointer.
12625 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
12626 (main): Remove parameters.
12627 * gdb.trace/tfile.exp: Remove nowarnings.
12628
12629 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
12630
12631 * gdb.base/debug-expr.exp: Test string evaluation with
12632 "debug expression" on.
12633
12634 2014-07-15 Pedro Alves <palves@redhat.com>
12635
12636 * gdb.base/reread.exp: Use clean_restart.
12637
12638 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
12639
12640 * gdb.arch/avr-flash-qualifer.c: New.
12641 * gdb.arch/avr-flash-qualifer.exp: New.
12642
12643 2014-07-14 Pedro Alves <palves@redhat.com>
12644
12645 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12646 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12647
12648 2014-07-14 Pedro Alves <palves@redhat.com>
12649
12650 * gdb.base/double-prompt-target-event-error.c: New file.
12651 * gdb.base/double-prompt-target-event-error.exp: New file.
12652
12653 2014-07-14 Pedro Alves <palves@redhat.com>
12654
12655 PR gdb/17072
12656 * gdb.base/paginate-inferior-exit.c: New file.
12657 * gdb.base/paginate-inferior-exit.exp: New file.
12658
12659 2014-07-14 Pedro Alves <palves@redhat.com>
12660
12661 PR gdb/17072
12662 * gdb.base/paginate-bg-execution.c: New file.
12663 * gdb.base/paginate-bg-execution.exp: New file.
12664
12665 2014-07-14 Pedro Alves <palves@redhat.com>
12666
12667 PR gdb/17072
12668 * gdb.base/paginate-execution-startup.c: New file.
12669 * gdb.base/paginate-execution-startup.exp: New file.
12670 * lib/gdb.exp (pagination_prompt): New global.
12671 (default_gdb_spawn): New procedure, factored out from
12672 default_gdb_spawn.
12673 (default_gdb_start): Adjust to call default_gdb_spawn.
12674 (gdb_spawn): New procedure.
12675
12676 2014-07-14 Pedro Alves <palves@redhat.com>
12677
12678 * lib/gdb.exp (gdb_assert): New procedure.
12679 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12680
12681 2014-07-14 Pedro Alves <palves@redhat.com>
12682
12683 * gdb.base/execution-termios.c: New file.
12684 * gdb.base/execution-termios.exp: New file.
12685
12686 2014-07-14 Tom Tromey <tromey@redhat.com>
12687
12688 * gdb.cp/vla-cxx.cc: New file.
12689 * gdb.cp/vla-cxx.exp: New file.
12690
12691 2014-07-14 Tom Tromey <tromey@redhat.com>
12692
12693 * gdb.reverse/rerun-prec.c: New file.
12694 * gdb.reverse/rerun-prec.exp: New file.
12695
12696 2014-07-12 Maciej W. Rozycki <macro@mips.com>
12697 Maciej W. Rozycki <macro@codesourcery.com>
12698
12699 * lib/gdb-utils.exp: New file.
12700 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12701 inline `gdb_init_command' processing.
12702 (gdb_start_cmd): Likewise.
12703 * lib/mi-support.exp (mi_run_cmd): Likewise.
12704 * README: Document `gdb_init_command' and `gdb_init_commands'.
12705
12706 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12707
12708 Fix false FAIL running under a very long directory name.
12709 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12710 and "set print elements 10000". Twice.
12711
12712 2014-07-11 Yao Qi <yao@codesourcery.com>
12713
12714 * gdb.base/exprs.exp: "set print symbol off".
12715
12716 2014-07-11 Pedro Alves <palves@redhat.com>
12717
12718 * gdb.threads/kill.c: New file.
12719 * gdb.threads/kill.exp: New file.
12720
12721 2014-07-10 Yao Qi <yao@codesourcery.com>
12722
12723 * gdb.trace/tfile.c (write_basic_trace_file)
12724 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12725 address written to trace file.
12726
12727 2014-07-09 Pedro Alves <palves@redhat.com>
12728
12729 * gdb.base/attach-wait-input.exp: New file.
12730 * gdb.base/attach-wait-input.c: New file.
12731
12732 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12733
12734 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12735 setting up test structures.
12736 (main): Call new test function.
12737 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12738 test function, continue into test function and walk test
12739 structures.
12740
12741 2014-07-02 Yao Qi <yao@codesourcery.com>
12742
12743 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12744 'bar_start' at the beginning of functions 'foo' and 'bar'
12745 respectively.
12746 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12747 instead of 'foo' and 'bar'.
12748
12749 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12750
12751 * gdb.btrace/segv.exp: New.
12752 * gdb.btrace/segv.c: New.
12753
12754 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
12755
12756 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12757 instruction.
12758
12759 2014-06-30 Mark Wielaard <mjw@redhat.com>
12760
12761 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12762 vulture, vilify, villar): New volatile array constants.
12763 (vindictive, vegetation): New const volatile array constants.
12764 * gdb.base/volatile.exp: Test volatile and const volatile array
12765 types.
12766
12767 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12768
12769 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12770 target lacks support for awatch, rwatch, or hbreak.
12771
12772 2014-06-27 Yao Qi <yao@codesourcery.com>
12773
12774 * gdb.multi/dummy-frame-restore.exp: New.
12775 * gdb.multi/dummy-frame-restore.c: New.
12776
12777 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12778
12779 * gdb.btrace/gcore.exp: New.
12780
12781 2014-06-23 Pedro Alves <palves@redhat.com>
12782
12783 * gdb.base/watchpoint-reuse-slot.c: New file.
12784 * gdb.base/watchpoint-reuse-slot.exp: New file.
12785
12786 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12787
12788 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12789 progspace's filename in 'info', 'enable' and 'disable' command
12790 tests.
12791
12792 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12793
12794 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12795 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12796 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12797
12798 2014-06-20 Gary Benson <gbenson@redhat.com>
12799
12800 * gdb.arch/i386-avx.exp: Fix include file location.
12801 * gdb.arch/i386-sse.exp: Likewise.
12802
12803 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12804
12805 * gdb.dlang/expression.exp: New file.
12806
12807 2014-06-19 Pedro Alves <palves@redhat.com>
12808
12809 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12810 out from ...
12811 (top level): ... here. Iterate running tests under different
12812 scheduler-locking settings.
12813
12814 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
12815
12816 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12817 to DW_FORM_addr and use non-zero addresses.
12818
12819 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12820
12821 PR gdb/17017
12822 * gdb.python/py-xmethods.cc: Add global function call counters and
12823 increment them in their respective functions. Remove "cout"
12824 statements.
12825 * gdb.python/py-xmethods.exp: Make tests check the global function
12826 call counters instead of depending on inferior IO.
12827
12828 2014-06-18 Don Breazeal <donb@codesourcery.com>
12829
12830 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12831 Deleted procedure.
12832 (explicit_fork_parent_follow): Deleted procedure.
12833 (explicit_fork_child_follow): Deleted procedure.
12834 (test_follow_fork): New procedure.
12835 (do_fork_tests): Replace calls to deleted procedures with
12836 calls to test_follow_fork and reset GDB for subsequent
12837 procedure calls.
12838
12839 2014-06-17 Yao Qi <yao@codesourcery.com>
12840
12841 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12842 CP1252.
12843
12844 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
12845
12846 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12847 Initialize ptr and S explicitly.
12848 (skip_type_update_when_not_use_rtti_test): Likewise.
12849
12850 2014-06-16 Keith Seitz <keiths@redhat.com>
12851
12852 PR mi/15863
12853 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12854 the inferior is started.
12855
12856 2014-06-16 Pedro Alves <palves@redhat.com>
12857
12858 * gdb.base/break-main-file-remove-fail.c: New file.
12859 * gdb.base/break-main-file-remove-fail.exp: New file.
12860 * gdb.base/break-unload-file.exp: Use build_executable instead of
12861 prepare_for_testing.
12862 (test_break): New parameter "initial_load". Handle it.
12863 (top level): Add initial_load cmdline/file axis.
12864
12865 2014-06-12 Tom Tromey <tromey@redhat.com>
12866
12867 * gdb.base/completion.exp: Don't use directory name in test.
12868
12869 2014-06-09 Gary Benson <gbenson@redhat.com>
12870
12871 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12872 separate the always-available ANSI-standard signals from the
12873 signals that require checking.
12874 (main): Likewise.
12875 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12876 Likewise.
12877 (main): Likewise.
12878
12879 2014-06-07 Keith Seitz <keiths@redhat.com>
12880
12881 Revert:
12882 PR c++/16253
12883 * gdb.cp/var-tag.cc: New file.
12884 * gdb.cp/var-tag.exp: New file.
12885 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12886 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12887 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12888 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12889
12890 2014-06-06 Doug Evans <xdje42@gmail.com>
12891
12892 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12893
12894 2014-06-06 Pedro Alves <palves@redhat.com>
12895
12896 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12897 in target debug output instead of looking at RSP packets,
12898 disabling the test on any target that uses hardware stepping.
12899 Update comments.
12900
12901 2014-06-06 Pedro Alves <palves@redhat.com>
12902
12903 * gdb.base/break-unload-file.exp: Fix typo.
12904
12905 2014-06-06 Yao Qi <yao@codesourcery.com>
12906
12907 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12908 from "jit_function" to "^jit_function".
12909
12910 2014-06-06 Yao Qi <yao@codesourcery.com>
12911
12912 * gdb.base/async.c (foo): Add one statement.
12913 * gdb.base/async.exp: Get the next instruction address and
12914 match the output of "nexti" by instruction address. Match
12915 the hex address in the output of "finish".
12916
12917 2014-06-06 Gary Benson <gbenson@redhat.com>
12918
12919 * gdb.base/call-signals.c: Remove preprocessor conditionals
12920 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
12921 SIGSEGV and SIGTERM.
12922 * gdb.base/sigall.c: Likewise.
12923 * gdb.base/unwindonsignal.c: Likewise.
12924 * gdb.reverse/sigall-reverse.c: Likewise.
12925
12926 2014-06-06 Yao Qi <yao@codesourcery.com>
12927
12928 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
12929 readable, skip the test.
12930
12931 2014-06-06 Yao Qi <yao@codesourcery.com>
12932
12933 * gdb.threads/staticthreads.c (thread_function): Move the line
12934 setting breakpoint on forward.
12935 * gdb.threads/staticthreads.exp: Update comments.
12936
12937 2014-06-05 Ludovic Courtès <ludo@gnu.org>
12938
12939 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
12940 "history-append! type error".
12941
12942 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
12943
12944 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
12945 erroneous dprintf expected input.
12946
12947 2014-06-04 Doug Evans <xdje42@gmail.com>
12948
12949 * gdb.guile/scm-generics.exp: Delete.
12950
12951 2014-06-04 Doug Evans <xdje42@gmail.com>
12952
12953 * gdb.guile/scm-breakpoint.exp: Update.
12954 Add tests for breakpoint registration.
12955
12956 2014-06-04 Tom Tromey <tromey@redhat.com>
12957
12958 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
12959 VLA-in-union.
12960 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
12961 inner_vla_struct, vla_union types. Initialize objects of those
12962 types and compute their sizes.
12963
12964 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
12965 Hui Zhu <hui@codesourcery.com>
12966
12967 * gdb.base/fileio.exp: Add test for shell not available as well as
12968 available.
12969 * gdb.base/fileio.c (test_system): Check for shell twice.
12970
12971 2014-06-04 Yao Qi <yao@codesourcery.com>
12972
12973 * gdb.base/auto-connect-native-target.exp: Remove redundant
12974 space from the regexp pattern.
12975
12976 2014-06-04 Yao Qi <yao@codesourcery.com>
12977
12978 * gdb.base/default.exp: Replace "child" with "native" in
12979 regexp pattern.
12980
12981 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
12982
12983 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
12984 * gdb.python/py-xmethods.exp: New tests to test xmethods.
12985 * gdb.python/py-xmethods.py: Python script supporting the
12986 new testcase and tests.
12987
12988 2014-06-03 Joel Brobecker <brobecker@adacore.com>
12989 Pedro Alves <palves@redhat.com>
12990
12991 PR breakpoints/17000
12992 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
12993 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
12994
12995 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
12996
12997 * gdb.base/subst.exp: Add tests to verify partial path matching
12998 output.
12999
13000 2014-06-03 Pedro Alves <palves@redhat.com>
13001
13002 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13003 target that doesn't use software single-stepping.
13004
13005 2014-06-03 Pedro Alves <palves@redhat.com>
13006
13007 PR breakpoints/17000
13008 * gdb.base/sss-bp-on-user-bp-2.c: New file.
13009 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13010
13011 2014-06-02 Doug Evans <xdje42@gmail.com>
13012
13013 * gdb.guile/scm-parameter.exp: New file.
13014
13015 2014-06-02 Doug Evans <xdje42@gmail.com>
13016
13017 * gdb.guile/scm-cmd.c: New file.
13018 * gdb.guile/scm-cmd.exp: New file.
13019
13020 2014-06-02 Doug Evans <xdje42@gmail.com>
13021
13022 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13023 pretty-printer lookup.
13024 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13025 (make-pp_s-printer): Call it.
13026 (make-pretty-printer-from-dict): New function.
13027 (lookup-pretty-printer-maker-from-dict): New function.
13028 (*pretty-printer*): Simplify.
13029 (make-objfile-pp_s-printer): New function.
13030 (install-objfile-pretty-printers!): New function.
13031 (make-progspace-pp_s-printer): New function.
13032 (install-progspace-pretty-printers!): New function.
13033 * gdb.guile/scm-progspace.c: New file.
13034 * gdb.guile/scm-progspace.exp: New file.
13035
13036 2014-06-02 Pedro Alves <palves@redhat.com>
13037
13038 * gdb.base/dprintf-bp-same-addr.c: New file.
13039 * gdb.base/dprintf-bp-same-addr.exp: New file.
13040
13041 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13042
13043 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13044 * gdb.arch/powerpc-power.s: Likewise.
13045
13046 2014-06-02 Joel Brobecker <brobecker@adacore.com>
13047
13048 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13049
13050 2014-06-01 Yao Qi <yao@codesourcery.com>
13051
13052 * gdb.base/watchpoint.exp (test_watch_location): Check null
13053 pointer can be dereferenced. If not, do the test, otherwise
13054 skip it.
13055
13056 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13057
13058 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13059 results.
13060 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13061
13062 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13063
13064 * gdb.arch/amd64-invalid-stack-middle.S: New file.
13065 * gdb.arch/amd64-invalid-stack-middle.c: New file.
13066 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13067 * gdb.arch/amd64-invalid-stack-top.c: New file.
13068 * gdb.arch/amd64-invalid-stack-top.exp: New file.
13069
13070 2014-05-30 Pedro Alves <palves@redhat.com>
13071
13072 PR breakpoints/17000
13073 * gdb.base/sss-bp-on-user-bp.c: New file.
13074 * gdb.base/sss-bp-on-user-bp.exp: New file.
13075
13076 2014-05-30 David Blaikie <dblaikie@gmail.com>
13077
13078 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13079 gnu_inline semantics via attribute.
13080 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13081 source explicitly specifies the required semantics.
13082
13083 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13084
13085 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13086
13087 2014-05-29 Pedro Alves <palves@redhat.com>
13088 Tom Tromey <tromey@redhat.com>
13089
13090 * gdb.base/async-shell.exp: Don't enable target-async.
13091 * gdb.base/async.exp
13092 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13093 parameter. Adjust.
13094 (top level): Don't test with "target-async".
13095 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13096 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13097 * gdb.base/inferior-died.exp: Don't enable target-async.
13098 * gdb.base/interrupt-noterm.exp: Likewise.
13099 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13100 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13101 * gdb.mi/mi-nonstop.exp: Likewise.
13102 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13103 * gdb.mi/mi-nsintrall.exp: Likewise.
13104 * gdb.mi/mi-nsmoribund.exp: Likewise.
13105 * gdb.mi/mi-nsthrexec.exp: Likewise.
13106 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13107 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13108 * gdb.python/py-evsignal.exp: Don't enable target-async.
13109 * gdb.python/py-evthreads.exp: Likewise.
13110 * gdb.python/py-prompt.exp: Likewise.
13111 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13112 * gdb.server/solib-list.exp: Don't enable target-async.
13113 * gdb.threads/thread-specific-bp.exp: Likewise.
13114 * lib/mi-support.exp: Adjust to use mi-async.
13115
13116 2014-05-29 Pedro Alves <palves@redhat.com>
13117
13118 PR gdb/13860
13119 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13120 reason, even in sync mode.
13121
13122 2014-05-29 Pedro Alves <palves@redhat.com>
13123 Hui Zhu <hui@codesourcery.com>
13124
13125 PR PR15693
13126 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13127 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13128 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13129 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13130
13131 2014-05-28 Joel Brobecker <brobecker@adacore.com>
13132
13133 * config/monitor.exp (gdb_target_monitor): Replace use of
13134 "set remotebaud" by "set serial baud".
13135
13136 2014-05-26 Andy Wingo <wingo@igalia.com>
13137
13138 * gdb.guile/scm-breakpoint.exp:
13139 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13140 properties instead of gdb-object-properties.
13141
13142 2014-05-26 Yao Qi <yao@codesourcery.com>
13143
13144 * gdb.server/no-thread-db.exp: Specify source file name
13145 explicitly when setting a breakpoint.
13146
13147 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13148
13149 * gdb.btrace/vdso.c: New.
13150 * gdb.btrace/vdso.exp: New.
13151
13152 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13153
13154 * gdb.base/gcore.exp (capture_command_output): Move ...
13155 * lib/gdb.exp (capture_command_output): ... here.
13156
13157 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13158
13159 * gdb.btrace/data.exp: Test memory access during btrace replay.
13160
13161 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13162
13163 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13164
13165 2014-05-21 Pedro Alves <palves@redhat.com>
13166
13167 PR gdb/13860
13168 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13169 (top level): Test that output related to execution commands is
13170 sent to the console with CLI commands, but not with MI commands.
13171 Test that breakpoint events are always mirrored to the console.
13172 Also expect the new source line to be output after a "next" in
13173 async mode too. Make it a pass/fail test.
13174 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13175 output.
13176 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13177
13178 2014-05-21 Pedro Alves <palves@redhat.com>
13179
13180 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13181 Use them to test variations of "list" after reaching a breakpoint.
13182 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13183 Test "list" with listsize 10 after reaching a breakpoint.
13184 * gdb.python/python.exp (decode_line current location line
13185 number): Adjust expected line number.
13186
13187 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13188
13189 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13190 behavior for $args, pass it directly to "run".
13191
13192 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13193
13194 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13195 30000 to 65536.
13196
13197 2014-05-21 Pedro Alves <palves@redhat.com>
13198
13199 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13200 auto-connect-native-target off".
13201 * gdb.base/auto-connect-native-target.c: New file.
13202 * gdb.base/auto-connect-native-target.exp: New file.
13203
13204 2014-05-21 Pedro Alves <palves@redhat.com>
13205
13206 * gdb.base/default.exp: Test "target native" instead of "target
13207 child".
13208
13209 2014-05-21 Mark Wielaard <mjw@redhat.com>
13210
13211 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13212
13213 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13214
13215 Fix TLS access for -static -pthread.
13216 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13217 <HAVE_TLS> (thread_function, main): Initialize it.
13218 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13219 Add clean_restart.
13220 <$have_tls != "">: Check TLSVAR.
13221
13222 2014-05-21 Pedro Alves <palves@redhat.com>
13223
13224 * gdb.base/dcache-line-read-error.c: New.
13225 * gdb.base/dcache-line-read-error.exp: New.
13226
13227 2014-05-20 Pedro Alves <palves@redhat.com>
13228
13229 * gdb.base/compare-sections.c: New file.
13230 * gdb.base/compare-sections.exp: New file.
13231
13232 2014-05-20 Pedro Alves <palves@redhat.com>
13233
13234 * gdb.base/break-idempotent.c: New file.
13235 * gdb.base/break-idempotent.exp: New file.
13236
13237 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13238
13239 * gdb.btrace/nohist.exp: New.
13240
13241 2014-05-20 Yao Qi <yao@codesourcery.com>
13242
13243 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13244 gdb.reverse directory and gdb_reverse_timeout exists in board
13245 setting.
13246 * README: Document gdb_reverse_timeout.
13247
13248 2014-05-20 Yao Qi <yao@codesourcery.com>
13249
13250 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13251 'test_file_name'. Treat args as a string instead of a list.
13252 (gdb_init): Rename argument 'args' by 'test_file_name'.
13253
13254 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13255
13256 * gdb.arch/powerpc-power.exp: New file.
13257 * gdb.arch/powerpc-power.s: New file.
13258
13259 2014-05-16 Doug Evans <dje@google.com>
13260
13261 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13262 * gdb.base/completion.exp: Check that all expected files exist
13263 before doing file completion.
13264
13265 2014-05-16 Doug Evans <dje@google.com>
13266
13267 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13268 Update.
13269 (do_syscall_tests_without_xml): Update.
13270
13271 2014-05-16 Pedro Alves <palves@redhat.com>
13272
13273 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13274 instead of "unknown output after running".
13275
13276 2014-05-16 Yao Qi <yao@codesourcery.com>
13277
13278 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13279 file1.txt from host at the end.
13280 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13281
13282 2014-05-15 Doug Evans <dje@google.com>
13283
13284 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13285 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13286 loading file. Add test for TU lookup.
13287
13288 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13289
13290 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13291 calling "-exec-arguments" or "set args" before running the
13292 inferior.
13293
13294 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13295
13296 * lib/mi-support.exp (mi_expect_stop): Expect message for
13297 inferiors that exit with non-zero exit code.
13298
13299 2014-05-14 Yao Qi <yao@codesourcery.com>
13300
13301 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13302 match absolute path on remote host.
13303 (test_file_list_exec_source_files): Remove "/" from the
13304 pattern.
13305
13306 2014-05-14 Yao Qi <yao@codesourcery.com>
13307
13308 * boards/local-remote-host-notty.exp (${board}_file): New
13309 proc.
13310
13311 2014-05-07 Kyle McMartin <kyle@redhat.com>
13312
13313 Pushed by Joel Brobecker <brobecker@adacore.com>.
13314 * gdb.arch/aarch64-atomic-inst.c: New file.
13315 * gdb.arch/aarch64-atomic-inst.exp: New file.
13316
13317 2014-05-07 Yao Qi <yao@codesourcery.com>
13318
13319 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13320 in current context" too.
13321
13322 2014-05-05 Keith Seitz <keiths@redhat.com>
13323
13324 * gdb.linespec/ls-dollar.exp: Add test for linespec
13325 file:convenience_variable.
13326
13327 2014-05-05 Yao Qi <yao@codesourcery.com>
13328
13329 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13330 traceframes into tfile and ctf trace files. Read data from
13331 trace file and test collected data.
13332 (gdb_collect_locals_test): Likewise.
13333 (gdb_unavailable_registers_test): Likewise.
13334 (gdb_unavailable_floats): Likewise.
13335 (gdb_collect_globals_test): Likewise.
13336 (top-level): Append "ctf" to trace_file_targets if GDB
13337 supports.
13338
13339 2014-05-05 Yao Qi <yao@codesourcery.com>
13340
13341 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13342 code to ...
13343 (gdb_collect_args_test_1): ... it. New proc.
13344 (gdb_collect_locals_test): Move some code to ...
13345 (gdb_collect_locals_test_1): ... it. New proc.
13346 (gdb_unavailable_registers_test): Move some code to ...
13347 (gdb_unavailable_registers_test_1): ... it. New proc.
13348 (gdb_unavailable_floats): Move some code to ...
13349 (gdb_unavailable_floats_1): ... it. New proc.
13350
13351 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13352
13353 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13354 probes to test for bitness recognition.
13355 * gdb.arch/amd64-stap-optional-prefix.exp
13356 (test_probe_value_without_reg): New procedure.
13357 Add code to test for different kinds of bitness.
13358
13359 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13360
13361 PR breakpoints/16889
13362 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13363 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13364
13365 2014-05-01 Pedro Alves <palves@redhat.com>
13366
13367 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13368 gdb_file_cmd if no file is specified.
13369 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13370 last_loaded_file to set the remote exec-file.
13371
13372 2014-05-01 Pedro Alves <palves@redhat.com>
13373
13374 * boards/local-remote-host.exp: New file.
13375
13376 2014-05-01 Pedro Alves <palves@redhat.com>
13377
13378 * boards/local-remote-host.exp: Rename to ...
13379 * boards/local-remote-host-notty.exp: ... this.
13380
13381 2014-04-28 Joel Brobecker <brobecker@adacore.com>
13382
13383 * gdb.ada/dyn_arrayidx: New testcase.
13384
13385 2014-04-26 Yao Qi <yao@codesourcery.com>
13386
13387 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13388 and compute the length of function main. Save it in
13389 $main_length.
13390 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13391 (top-level): Use gdb_compile to compile objects into
13392 executable and restart GDB. Remove invocation to
13393 prepare_for_testing.
13394
13395 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13396 Pedro Alves <palves@redhat.com>
13397
13398 PR server/16255
13399 * gdb.multi/multi-attach.c: New file.
13400 * gdb.multi/multi-attach.exp: New file.
13401
13402 2014-04-25 Pedro Alves <palves@redhat.com>
13403
13404 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13405 user.
13406 (top level): Test that "set remote conditional-breakpoints-packet
13407 off" works as intended.
13408 * gdb.base/dprintf.exp: Test that "set remote
13409 breakpoint-commands-packet off" works as intended.
13410 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13411 New function.
13412 (top level): Call it.
13413 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13414 remote fast-tracepoints-packet off" works as intended.
13415 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13416 * lib/gdb.exp (gdb_is_target_remote): ... here.
13417
13418 2014-04-24 David Blaikie <dblaikie@gmail.com>
13419
13420 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13421 ensure clang would not discard them.
13422 * gdb.base/gdbvars.c: Ditto.
13423 * gdb.base/memattr.c: Ditto.
13424 * gdb.base/whatis.c: Ditto.
13425 * gdb.python/py-prettyprint.c: Ditto.
13426 * gdb.trace/actions.c: Ditto.
13427 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13428 ensure clang would not discard it.
13429
13430 2014-04-24 David Blaikie <dblaikie@gmail.com>
13431
13432 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13433 clang to emit the full definition of type required by the test
13434 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13435
13436 2014-04-24 David Blaikie <dblaikie@gmail.com>
13437
13438 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13439 coax Clang into emitting the definition of the type.
13440 * gdb.cp/pr10728-x.h (y): Ditto.
13441 * gdb.cp/pr10728-y.cc (y): Ditto.
13442
13443 2014-04-24 David Blaikie <dblaikie@gmail.com>
13444
13445 * gdb.base/label.exp: XFAIL label related tests under Clang.
13446 * gdb.cp/cplabel.exp: Ditto.
13447 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13448 under Clang those using labels.
13449
13450 2014-04-25 Yao Qi <yao@codesourcery.com>
13451
13452 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13453 double_label.
13454 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13455 partial_label and double_label.
13456
13457 2014-04-24 David Blaikie <dblaikie@gmail.com>
13458
13459 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13460
13461 2014-04-24 David Blaikie <dblaikie@gmail.com>
13462
13463 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13464 of the function to work across GCC and Clang.
13465 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13466 pointer types (const void ** const V void **).
13467
13468 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
13469 Walfred Tedeschi <walfred.tedeschi@intel.com>
13470
13471 * Makefile.in (EXECUTABLES): Added i386-avx512.
13472 * gdb.arch/i386-avx512.c: New file.
13473 * gdb.arch/i386-avx512.exp: Likewise.
13474
13475 2014-04-23 Keith Seitz <keiths@redhat.com>
13476
13477 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13478 (mi_make_breakpoint_table): New procedure.
13479 (mi_create_breakpoint): Use mi_make_breakpoint
13480 and return the result.
13481 (mi_make_breakpoint): New procedure.
13482 (mi_build_kv_pairs): New procedure.
13483
13484 * gdb.mi/mi-break.exp: Remove unused globals,
13485 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13486 All callers updated.
13487 * gdb.mi/mi-dprintf.exp: Use variable to track command
13488 number.
13489 Update all callers of mi_create_breakpoint and use
13490 mi_make_breakpoint_table.
13491 Remove any unused global variables.
13492 * gdb.mi/mi-nonstop.exp: Likewise.
13493 * gdb.mi/mi-nsintrall.exp: Likewise.
13494 * gdb.mi/mi-nsmoribund.exp: Likewise.
13495 * gdb.mi/mi-nsthrexec.exp: Likewise.
13496 * gdb.mi/mi-reverse.exp: Likewise.
13497 * gdb.mi/mi-simplerun.exp: Likewise.
13498 * gdb.mi/mi-stepn.exp: Likewise.
13499 * gdb.mi/mi-syn-frame.exp: Likewise.
13500 * gdb.mi/mi-until.exp: Likewise.
13501 * gdb.mi/mi-var-cp.exp: Likewise.
13502 * gdb.mi/mi-var-display.exp: Likewise.
13503 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13504 * gdb.mi/mi2-var-child.exp: Likewise.
13505 * gdb.mi/mi-vla-c99.exp: Likewise.
13506 * lib/mi-support.exp: Likewise.
13507
13508 From Ian Lance Taylor <iant@cygnus.com>:
13509 * lib/gdb.exp (parse_args): New procedure.
13510
13511 2014-04-23 Pedro Alves <palves@redhat.com>
13512
13513 * gdb.base/break-unload-file.c: New file.
13514 * gdb.base/break-unload-file.exp: New file.
13515 * gdb.base/sym-file-lib.c (baz): New function.
13516 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13517 field.
13518 (load): Store the segment's mapped size.
13519 (unload): New function.
13520 (unload_shlib): New function.
13521 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13522 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13523 set a breakpoint at baz, and call it.
13524 * gdb.base/sym-file.exp: New tests for stale breakpoint
13525 instructions.
13526
13527 2014-04-23 Pedro Alves <palves@redhat.com>
13528
13529 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13530 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13531 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13532 * gdb.base/hbreak-unmapped.c: New file.
13533 * gdb.base/hbreak-unmapped.exp: New file.
13534 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13535 * lib/gdb.exp (gdb_is_target_remote): ... here.
13536
13537 2014-04-22 Pedro Alves <palves@redhat.com>
13538
13539 * gdb.base/consecutive-step-over.c: New file.
13540 * gdb.base/consecutive-step-over.exp: New file.
13541
13542 2014-04-22 Pedro Alves <palves@redhat.com>
13543
13544 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13545 instead of send_gdb/gdb_expect.
13546
13547 2014-04-22 Yao Qi <yao@codesourcery.com>
13548
13549 * lib/trace-support.exp (generate_tracefile): New procedure.
13550 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13551 return 0.
13552 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13553 if generate_tracefile returns 1.
13554
13555 2014-04-18 Tom Tromey <palves@redhat.com>
13556 Pedro alves <tromey@redhat.com>
13557
13558 PR backtrace/15558
13559 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13560 with a backtrace limit.
13561 * gdb.python/py-frame-inline.exp: Test running to an inline
13562 function with a backtrace limit, and printing the newest frame.
13563 * gdb.python/py-frame-inline.c (main): Call f.
13564
13565 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13566
13567 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13568
13569 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13570
13571 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13572 Drop prefix from unsupported source file path.
13573
13574 2014-04-17 Yao Qi <yao@codesourcery.com>
13575
13576 * lib/gdb.exp (with_target_charset): New proc.
13577 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13578 with_target_charset.
13579 (test_print_strings): Likewise.
13580 (test_repeat_bytes): Likewise.
13581 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13582 for some tests.
13583
13584 2014-04-16 Keith Seitz <keiths@redhat.com>
13585
13586 PR gdb/15827
13587 * gdb.dwarf2/corrupt.c: New file.
13588 * gdb.dwarf2/corrupt.exp: New file.
13589
13590 2014-04-16 Keith Seitz <keiths@redhat.com>
13591
13592 PR c++/16597
13593 * gdb.cp/namelessclass.cc: New file.
13594 * gdb.cp/namelessclass.exp: New file.
13595 * gdb.cp/namelessclass.S: New file.
13596
13597 2014-04-16 Doug Evans <dje@google.com>
13598
13599 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13600 Add comment.
13601 (gdbserver_default_get_comm_port): New function.
13602 (gdbserver_start): Check if board file provided
13603 "gdbserver,get_comm_port" and use it if so.
13604 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13605 (gdb,socketport): Set to "stdio".
13606 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13607 (stdio_gdbserver_template): Delete.
13608 (${board}_get_remote_address): Update.
13609 (${board}_build_remote_cmd): Delete.
13610 (${board}_get_comm_port): New function.
13611 (${board}_spawn): Update.
13612 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13613 Delete.
13614 (${board}_get_remote_address): Update.
13615 (${board}_get_comm_port): New function.
13616
13617 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
13618
13619 * gdb.base/memattr.exp: Improve regexps to handle memory regions
13620 appearing in any order.
13621
13622 2014-04-15 Doug Evans <dje@google.com>
13623
13624 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13625 uninitialized value of "description".
13626
13627 2014-04-15 Keith Seitz <keiths@redhat.com>
13628
13629 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13630 Remove unused globals.
13631 (test_running_the_program): Likewise.
13632 (test_controlled_execution): Likewise.
13633 (test_controlling_breakpoints): Likewise.
13634 (test_program_termination): Likewise.
13635
13636 2014-04-15 Keith Seitz <keiths@redhat.com>
13637
13638 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13639 unused globals.
13640 (test_rbreak_creation_and_listing): Likewise.
13641 (test_ignore_count): Likewise.
13642 (test_error): Likewise.
13643
13644 2014-04-15 Pedro Alves <palves@redhat.com>
13645
13646 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13647 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13648 sym-file-loader.c.
13649 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13650 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13651 to sym-file-loader.c.
13652 (struct library): Forward declare.
13653 (load_shlib, lookup_function): Change prototypes.
13654 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13655 (translate_offset): Remove declarations.
13656 (get_text_addr): New declaration.
13657 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13658 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13659 sym-file-loader.h.
13660 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13661 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13662 here from sym-file-loader.h.
13663 (struct library): New structure.
13664 (load_shlib, lookup_function): Change prototypes and adjust to
13665 work with a struct library.
13666 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13667 (translate_offset): Make static.
13668 (get_text_addr): New function.
13669 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13670
13671 2014-04-15 Pedro Alves <palves@redhat.com>
13672
13673 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13674
13675 2014-04-15 Pedro Alves <palves@redhat.com>
13676
13677 * gdb.base/sym-file-loader.c: Include <limits.h>.
13678 (SELF_LINK): New define.
13679 (get_origin): New function.
13680 (load_shlib): Use it.
13681 * gdb.base/sym-file.exp: Don't early return if the target is
13682 remote. Use runto_main, and issue fail is that fails. Use
13683 gdb_load_shlibs.
13684 (shlib_name): Delete.
13685 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13686
13687 2014-04-15 Pedro Alves <palves@redhat.com>
13688
13689 * gdb.base/sym-file.exp: Remove regex characters from test
13690 message. Don't refer to breakpoint numbers in test messages.
13691
13692 2014-04-14 Keith Seitz <keiths@redhat.com>
13693
13694 PR c++/16253
13695 * gdb.cp/var-tag.cc: New file.
13696 * gdb.cp/var-tag.exp: New file.
13697 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13698 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13699 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13700 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13701
13702 2014-04-14 Tom Tromey <tromey@redhat.com>
13703
13704 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13705 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13706 type.
13707 * gdb.cp/enum-class.exp: New file.
13708 * gdb.cp/enum-class.cc: New file.
13709
13710 2014-04-14 Tom Tromey <tromey@redhat.com>
13711
13712 * gdb.dwarf2/enum-type.exp: New file.
13713
13714 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13715
13716 * gdb.mi/mi-vla-c99.exp: New file.
13717 * gdb.mi/vla.c: New file.
13718
13719 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13720
13721 * gdb.base/vla-datatypes.c: New file.
13722 * gdb.base/vla-datatypes.exp: New file.
13723
13724 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13725
13726 * gdb.base/vla-ptr.c: New file.
13727 * gdb.base/vla-ptr.exp: New file.
13728
13729 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13730
13731 * gdb.dwarf2/count.exp: New file.
13732
13733 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13734
13735 * gdb.base/vla-sideeffect.c: New file.
13736 * gdb.base/vla-sideeffect.exp: New file.
13737
13738 2014-04-14 David Blaikie <dblaikie@gmail.com>
13739
13740 * gdb.mi/non-stop.c: Add return value for non-void function return
13741 statement.
13742 * gdb.threads/staticthreads.c: Ditto.
13743
13744 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13745 Doug Evans <xdje42@gmail.com>
13746
13747 * gdb.guile/scm-value.c: Improve test case.
13748 * gdb.guile/scm-value.exp: Add new test.
13749
13750 2014-04-11 David Blaikie <dblaikie@gmail.com>
13751
13752 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13753 override Clang's default.
13754
13755 2014-04-11 Joel Brobecker <brobecker@adacore.com>
13756
13757 Revert the following changes (regressions):
13758
13759 * gdb.base/vla-sideeffect.c: New file.
13760 * gdb.base/vla-sideeffect.exp: New file.
13761
13762 * gdb.dwarf2/count.exp: New file.
13763
13764 * gdb.base/vla-multi.c: New file.
13765 * gdb.base/vla-multi.exp: New file.
13766
13767 * gdb.base/vla-ptr.c: New file.
13768 * gdb.base/vla-ptr.exp: New file.
13769
13770 * gdb.base/vla-datatypes.c: New file.
13771 * gdb.base/vla-datatypes.exp: New file.
13772
13773 * gdb.mi/mi-vla-c99.exp: New file.
13774 * gdb.mi/vla.c: New file.
13775
13776 2014-04-11 Keith Seitz <keiths@redhat.com>
13777
13778 PR c++/16675
13779 * gdb.cp/cpsizeof.exp: New file.
13780 * gdb.cp/cpsizeof.cc: New file.
13781
13782 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13783
13784 * gdb.mi/mi-vla-c99.exp: New file.
13785 * gdb.mi/vla.c: New file.
13786
13787 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13788
13789 * gdb.base/vla-datatypes.c: New file.
13790 * gdb.base/vla-datatypes.exp: New file.
13791
13792 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13793
13794 * gdb.base/vla-ptr.c: New file.
13795 * gdb.base/vla-ptr.exp: New file.
13796
13797 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13798
13799 * gdb.base/vla-multi.c: New file.
13800 * gdb.base/vla-multi.exp: New file.
13801
13802 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13803
13804 * gdb.dwarf2/count.exp: New file.
13805
13806 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13807
13808 * gdb.base/vla-sideeffect.c: New file.
13809 * gdb.base/vla-sideeffect.exp: New file.
13810
13811 2014-04-11 Yao Qi <yao@codesourcery.com>
13812
13813 * gdb.base/completion.exp: Check file exists before running tests
13814 on file completion.
13815
13816 2014-04-10 Pedro Alves <palves@redhat.com>
13817
13818 * gdb.base/cond-eval-mode.c: New file.
13819 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13820 prepare_for_testing to build the new file. Check result of
13821 runto_main.
13822 (test_break, test_watch): New procedures.
13823 (top level): Use them.
13824
13825 2014-04-08 Pierre Muller <muller@sourceware.org>
13826
13827 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13828 Ctrl-V use for mingw hosts.
13829
13830 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13831
13832 * gdb.python/py-value.c: Improve test case.
13833 * gdb.python/py-value.exp: Add new test.
13834
13835 2014-04-07 David Blaikie <dblaikie@gmail.com>
13836
13837 * lib/compiler.c: Identify the clang compiler.
13838 * lib/compiler.cc: Ditto.
13839
13840 2014-04-03 Yao Qi <yao@codesourcery.com>
13841
13842 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13843
13844 2014-04-01 Anton Blanchard <anton@samba.org>
13845
13846 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13847 messages unique.
13848
13849 2014-04-01 Anton Blanchard <anton@samba.org>
13850
13851 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13852 prepare_for_testing.
13853
13854 2014-04-01 Anton Blanchard <anton@samba.org>
13855
13856 * gdb.arch/ppc64-atomic-inst.c: Remove.
13857 * gdb.arch/ppc64-atomic-inst.S: New file.
13858 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13859
13860 2014-03-31 Doug Evans <dje@google.com>
13861
13862 * gdb.base/print-symbol-loading-lib.c: New file.
13863 * gdb.base/print-symbol-loading-main.c: New file.
13864 * gdb.base/print-symbol-loading.exp: New file.
13865
13866 2014-03-31 Yao Qi <yao@codesourcery.com>
13867
13868 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13869
13870 2014-03-28 Joel Brobecker <brobecker@adacore.com>
13871
13872 * gdb.ada/mi_dyn_arr: New testcase.
13873
13874 2014-03-27 Doug Evans <dje@google.com>
13875
13876 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13877
13878 2014-03-27 Yao Qi <yao@codesourcery.com>
13879
13880 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13881 if target is nios2-*-*.
13882
13883 2014-03-26 Yao Qi <yao@codesourcery.com>
13884
13885 * lib/gdb.exp (readline_is_used): New proc.
13886 * gdb.base/completion.exp: Move tests on command complete up.
13887 Skip the rest of tests if readline is not used.
13888 * gdb.ada/complete.exp: Skp the test if readline is not
13889 used.
13890 * gdb.base/filesym.exp: Likewise.
13891 * gdb.base/macscp.exp: Likewise.
13892 * gdb.base/readline-ask.exp: Likewise.
13893 * gdb.base/readline.exp: Likewise.
13894 * gdb.python/py-cmd.exp: Likewise.
13895 * gdb.trace/tfile.exp: Likewise.
13896
13897 2014-03-26 Yao Qi <yao@codesourcery.com>
13898
13899 * gdb.base/macscp.exp: Fix code format issues.
13900
13901 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13902
13903 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13904 * gdb.asm/powerpc64le.inc: New file.
13905
13906 2014-03-25 Pedro Alves <palves@redhat.com>
13907 Doug Evans <dje@google.com>
13908
13909 * gdb.base/source-execution.c: New file.
13910 * gdb.base/source-execution.exp: New file.
13911 * gdb.base/source-execution.gdb: New file.
13912
13913 2014-03-24 Doug Evans <dje@google.com>
13914
13915 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13916 using fission.
13917
13918 2014-03-24 Hui Zhu <hui@codesourcery.com>
13919 Pedro Alves <palves@redhat.com>
13920
13921 PR breakpoints/16101
13922 * gdb.base/dprintf.exp: Use unsupported rather than changing the
13923 test pass/fail messages. Detect missing support for dprintf when
13924 breakpoints are actually inserted.
13925 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
13926 breakpoints are actually inserted.
13927 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
13928 fails.
13929
13930 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13931
13932 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
13933
13934 2014-03-22 Doug Evans <xdje42@gmail.com>
13935
13936 * gdb.python/python.exp (python not supported): Verify multi-line
13937 python command issues an error.
13938 * gdb.guile/guile.exp (guile not supported): Verify multi-line
13939 guile command issues an error.
13940
13941 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
13942
13943 * gdb.threads/thread-specific.exp: Handle the lack of usable
13944 $this_breakpoint and $this_thread.
13945
13946 2014-03-21 Hui Zhu <hui@codesourcery.com>
13947
13948 * gdb.base/attach.exp (do_command_attach_tests): New.
13949
13950 2014-03-20 Tom Tromey <tromey@redhat.com>
13951 Pedro Alves <palves@redhat.com>
13952
13953 PR cli/15718
13954 * gdb.base/condbreak-call-false.c: New file.
13955 * gdb.base/condbreak-call-false.exp: New file.
13956
13957 2014-03-20 Pedro Alves <palves@redhat.com>
13958
13959 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
13960 Delete.
13961 (block_signals, unblock_signals): Delete.
13962 (child_function_2, main): Remove references to deleted variable
13963 and functions.
13964
13965 2014-03-20 Pedro Alves <palves@redhat.com>
13966
13967 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
13968 Use pthread_kill to signal thread 2.
13969 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13970 Adjust to make the test send itself a signal rather than using the
13971 host's "kill" command.
13972
13973 2014-03-20 Pedro Alves <palves@redhat.com>
13974
13975 * gdb.threads/multiple-step-overs.c: New file.
13976 * gdb.threads/multiple-step-overs.exp: New file.
13977 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13978 Adjust expected infrun debug output.
13979
13980 2014-03-20 Pedro Alves <palves@redhat.com>
13981
13982 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
13983 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
13984
13985 2014-03-20 Pedro Alves <palves@redhat.com>
13986
13987 PR breakpoints/7143
13988 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
13989 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
13990 of gdb_test_multiple.
13991 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
13992 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
13993
13994 2014-03-20 Pedro Alves <palves@redhat.com>
13995
13996 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
13997 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
13998
13999 2014-03-19 Pedro Alves <palves@redhat.com>
14000
14001 * gdb.base/async.exp: Remove early return.
14002
14003 2014-03-19 Pedro Alves <palves@redhat.com>
14004
14005 * gdb.base/async.exp (step& tests): Pass explicit test messages.
14006
14007 2014-03-19 Pedro Alves <palves@redhat.com>
14008
14009 * gdb.base/async.exp (test_background): Expect \r\n after
14010 "completed." in the fail pattern.
14011
14012 2014-03-19 Pedro Alves <palves@redhat.com>
14013
14014 * gdb.base/async.exp (test_background): New procedure.
14015 Use it for all background execution command tests.
14016
14017 2014-03-19 Pedro Alves <palves@redhat.com>
14018
14019 * gdb.base/async.exp: Use prepare_for_testing.
14020
14021 2014-03-19 Pedro Alves <palves@redhat.com>
14022
14023 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
14024 the same line.
14025
14026 2014-03-19 Pedro Alves <palves@redhat.com>
14027
14028 * gdb.base/async.c (main): Add "jump here" and "until here" line
14029 marker comments.
14030 * gdb.base/async.exp (jump_here): New global.
14031 (jump& test): Use it.
14032 (until_here): New global.
14033 (until& test): Use it.
14034
14035 2014-03-19 Pedro Alves <palves@redhat.com>
14036
14037 * gdb.base/async.exp: Don't frob gdb_protocol.
14038
14039 2014-03-18 Doug Evans <xdje42@gmail.com>
14040
14041 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
14042 Fix spelling of exec-done-display.
14043
14044 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14045
14046 PR gdb/15358
14047 * gdb.base/gdb-sigterm.c: New file.
14048 * gdb.base/gdb-sigterm.exp: New file.
14049
14050 2014-03-18 Pedro Alves <palves@redhat.com>
14051
14052 PR gdb/13860
14053 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14054 * lib/mi-support.exp (mi_expect_stop): Add special handling for
14055 solib-event.
14056
14057 2014-03-17 Joel Brobecker <brobecker@adacore.com>
14058
14059 * gdb.ada/pckd_arr_ren: New testcase.
14060
14061 2014-03-13 Doug Evans <xdje42@gmail.com>
14062
14063 PR guile/16612
14064 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14065 collect after discarding symbols.
14066
14067 2014-03-13 Ludovic Courtès <ludo@gnu.org>
14068 Doug Evans <xdje42@gmail.com>
14069
14070 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14071 to history survives a gc.
14072
14073 2014-03-13 Pedro Alves <palves@redhat.com>
14074
14075 * gdb.base/default.exp: Don't test "target procfs".
14076
14077 2014-03-13 Pedro Alves <palves@redhat.com>
14078
14079 * gdb.base/default.exp: Update "target child" and "target procfs"
14080 tests to not expect "Unix".
14081
14082 2014-03-12 Tom Tromey <tromey@redhat.com>
14083
14084 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14085 New procs. Add target-async tests.
14086 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14087 Add target-async tests.
14088
14089 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14090
14091 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14092 'func_start' and 'func_end' for the beginning and end of the
14093 function code, respectively.
14094 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14095 'func_end' instead of 'func' and 'main'.
14096
14097 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14098
14099 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14100 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14101 generate the debug info assembler source.
14102
14103 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14104
14105 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14106 * gdb.dwarf2/arr-subrange.exp: Likewise.
14107 * gdb.dwarf2/dwz.exp: Likewise.
14108 * gdb.dwarf2/method-ptr.exp: Likewise.
14109 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14110 * gdb.dwarf2/subrange.exp: Likewise.
14111 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14112 * gdb.dwarf2/implptrpiece.exp: Likewise.
14113 * gdb.dwarf2/nostaticblock.exp: Likewise.
14114
14115 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14116
14117 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14118 directory to absolute path name arguments.
14119
14120 2014-03-10 Joel Brobecker <brobecker@adacore.com>
14121
14122 * gdb.ada/tagged_access: New testcase.
14123
14124 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14125
14126 * gdb.btrace/data.exp: Update expected output.
14127
14128 2014-03-06 Yao Qi <yao@codesourcery.com>
14129
14130 * gdb.trace/pr16508.exp: New file.
14131
14132 2014-03-05 Pedro Alves <palves@redhat.com>
14133
14134 PR gdb/16575
14135 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14136 procedure.
14137 (top level): Adjust to use it. Add tests that exercise breakpoint
14138 interaction with the code-cache.
14139
14140 2014-02-26 Ludovic Courtès <ludo@gnu.org>
14141
14142 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14143 test for 'history-append!'.
14144
14145 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14146
14147 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14148 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14149 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14150 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14151 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14152 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14153
14154 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14155
14156 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14157 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14158 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14159
14160 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14161
14162 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14163
14164 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14165
14166 * gdb.dwarf2/arr-stride.c: New file.
14167 * gdb.dwarf2/arr-stride.exp: New file.
14168
14169 2014-02-26 Pedro Alves <palves@redhat.com>
14170
14171 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14172 that won't ever trigger. Make sure that GDB reports the correct
14173 breakpoint that caused the stop.
14174
14175 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14176
14177 PR gdb/16626
14178 * gdb.base/auto-load-script: New file.
14179 * gdb.base/auto-load.c: New file.
14180 * gdb.base/auto-load.exp: New file.
14181
14182 PR gdb/16626
14183 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14184
14185 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14186
14187 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14188 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14189
14190 2014-02-24 Doug Evans <dje@google.com>
14191
14192 * lib/gdb.exp (run_on_host): Log error output if program fails.
14193
14194 2014-02-21 Pedro Alves <palves@redhat.com>
14195
14196 * gdb.threads/step-after-sr-lock.c: Rename to ...
14197 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14198 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14199 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14200 ... this.
14201
14202 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14203
14204 PR tdep/16397
14205 * gdb.arch/amd64-stap-special-operands.exp: New file.
14206 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14207 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14208 * gdb.arch/amd64-stap-triplet.S: Likewise.
14209 * gdb.arch/amd64-stap-triplet.c: Likewise.
14210
14211 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14212
14213 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14214 in .section pseudo-op.
14215
14216 2014-02-20 lin zuojian <manjian2006@gmail.com>
14217 Joel Brobecker <brobecker@adacore.com>
14218 Doug Evans <xdje42@gmail.com>
14219
14220 PR symtab/16581
14221 * gdb.dwarf2/dw2-icycle.S: New file.
14222 * gdb.dwarf2/dw2-icycle.c: New file.
14223 * gdb.dwarf2/dw2-icycle.exp: New file.
14224
14225 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14226
14227 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14228 operations on gdb.Value objects.
14229 * gdb.python/py-value-cc.exp: Add new test to test operations on
14230 gdb.Value objects.
14231
14232 2014-02-18 Doug Evans <dje@google.com>
14233
14234 * Makefile.in (TESTS): New variable.
14235 (expanded_tests, expanded_tests_or_none): New variables
14236 (check-single): Pass $(expanded_tests_or_none) to runtest.
14237 (check-parallel): Only run tests in $(TESTS) if non-empty.
14238 (check/no-matching-tests-found): New rule.
14239 * README: Document TESTS makefile variable.
14240
14241 2014-02-18 Doug Evans <dje@google.com>
14242
14243 * Makefile.in (check-parallel): rm -rf outputs temp.
14244
14245 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14246
14247 Fix "ERROR: no fileid for" in the testsuite.
14248 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14249
14250 2014-02-12 Doug Evans <dje@google.com>
14251
14252 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14253 (MISCELLANEOUS): New variable.
14254 (clean): rm -rf $(MISCELLANEOUS).
14255 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14256 dwp live in the same directory as symlinks, with each symlink pointed
14257 to a differently named file in a different directory.
14258
14259 2014-02-11 Doug Evans <dje@google.com>
14260
14261 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14262 of Tcl file commands.
14263
14264 2014-02-10 Mark Kettenis <kettenis@gnu.org>
14265
14266 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14267 "kill -SIGUSR1 -1".
14268
14269 2014-02-10 Joel Brobecker <brobecker@adacore.com>
14270
14271 * gdb.ada/tick_length_array_enum_idx: New testcase.
14272
14273 2014-02-10 Doug Evans <xdje42@gmail.com>
14274
14275 * configure.ac (AC_OUTPUT): Add gdb.guile.
14276 * configure: Regenerate.
14277 * lib/gdb-guile.exp: New file.
14278 * lib/gdb.exp (get_target_charset): New function.
14279 * gdb.base/help.exp: Update expected output from "apropos apropos".
14280 * gdb.guile/Makefile.in: New file.
14281 * gdb.guile/guile.exp: New file.
14282 * gdb.guile/scm-arch.c: New file.
14283 * gdb.guile/scm-arch.exp: New file.
14284 * gdb.guile/scm-block.c: New file.
14285 * gdb.guile/scm-block.exp: New file.
14286 * gdb.guile/scm-breakpoint.c: New file.
14287 * gdb.guile/scm-breakpoint.exp: New file.
14288 * gdb.guile/scm-disasm.c: New file.
14289 * gdb.guile/scm-disasm.exp: New file.
14290 * gdb.guile/scm-equal.c: New file.
14291 * gdb.guile/scm-equal.exp: New file.
14292 * gdb.guile/scm-error.exp: New file.
14293 * gdb.guile/scm-error.scm: New file.
14294 * gdb.guile/scm-frame-args.c: New file.
14295 * gdb.guile/scm-frame-args.exp: New file.
14296 * gdb.guile/scm-frame-args.scm: New file.
14297 * gdb.guile/scm-frame-inline.c: New file.
14298 * gdb.guile/scm-frame-inline.exp: New file.
14299 * gdb.guile/scm-frame.c: New file.
14300 * gdb.guile/scm-frame.exp: New file.
14301 * gdb.guile/scm-generics.exp: New file.
14302 * gdb.guile/scm-gsmob.exp: New file.
14303 * gdb.guile/scm-iterator.c: New file.
14304 * gdb.guile/scm-iterator.exp: New file.
14305 * gdb.guile/scm-math.c: New file.
14306 * gdb.guile/scm-math.exp: New file.
14307 * gdb.guile/scm-objfile-script-gdb.in: New file.
14308 * gdb.guile/scm-objfile-script.c: New file.
14309 * gdb.guile/scm-objfile-script.exp: New file.
14310 * gdb.guile/scm-objfile.c: New file.
14311 * gdb.guile/scm-objfile.exp: New file.
14312 * gdb.guile/scm-ports.exp: New file.
14313 * gdb.guile/scm-pretty-print.c: New file.
14314 * gdb.guile/scm-pretty-print.exp: New file.
14315 * gdb.guile/scm-pretty-print.scm: New file.
14316 * gdb.guile/scm-section-script.c: New file.
14317 * gdb.guile/scm-section-script.exp: New file.
14318 * gdb.guile/scm-section-script.scm: New file.
14319 * gdb.guile/scm-symbol.c: New file.
14320 * gdb.guile/scm-symbol.exp: New file.
14321 * gdb.guile/scm-symtab-2.c: New file.
14322 * gdb.guile/scm-symtab.c: New file.
14323 * gdb.guile/scm-symtab.exp: New file.
14324 * gdb.guile/scm-type.c: New file.
14325 * gdb.guile/scm-type.exp: New file.
14326 * gdb.guile/scm-value-cc.cc: New file.
14327 * gdb.guile/scm-value-cc.exp: New file.
14328 * gdb.guile/scm-value.c: New file.
14329 * gdb.guile/scm-value.exp: New file.
14330 * gdb.guile/source2.scm: New file.
14331 * gdb.guile/types-module.cc: New file.
14332 * gdb.guile/types-module.exp: New file.
14333
14334 2014-02-10 Yao Qi <yao@codesourcery.com>
14335
14336 PR testsuite/16543
14337 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14338 * configure: Regenerated.
14339 * Makefile.in: New file.
14340
14341 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14342
14343 * gdb.python/py-framefilter.exp: Fix typo.
14344
14345 2014-02-08 Yao Qi <yao@codesourcery.com>
14346
14347 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14348 that no =breakpoint-modified is emitted when breakpoints are
14349 modified through MI commands.
14350
14351 2014-02-07 Pedro Alves <pedro@codesourcery.com>
14352 Pedro Alves <palves@redhat.com>
14353
14354 * gdb.threads/step-after-sr-lock.c: New file.
14355 * gdb.threads/step-after-sr-lock.exp: New file.
14356
14357 2014-02-07 Pedro Alves <palves@redhat.com>
14358
14359 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14360
14361 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14362
14363 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14364 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14365
14366 2014-02-06 Doug Evans <xdje42@gmail.com>
14367
14368 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14369 output.
14370
14371 * gdb.gdb/python-interrupts.exp: New file.
14372
14373 2014-02-05 Yao Qi <yao@codesourcery.com>
14374
14375 * gdb.trace/report.exp (use_collected_data): Test the output
14376 of "info threads" and "info inferiors".
14377
14378 2014-02-05 Yao Qi <yao@codesourcery.com>
14379
14380 Revert this patch:
14381
14382 2013-05-24 Yao Qi <yao@codesourcery.com>
14383
14384 * gdb.trace/tfile.exp: Test inferior and thread.
14385
14386 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14387
14388 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14389 on a function.
14390 * gdb.base/step-bt.c: Call hello via function pointer to make
14391 sure its first instruction is executed on powerpc64le-linux.
14392
14393 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14394
14395 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14396
14397 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14398
14399 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14400 of the test patterns for use on little-endian systems.
14401
14402 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14403
14404 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14405 (decimal_vector): Fix for little-endian.
14406
14407 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14408
14409 * gdb.arch/sparc-sysstep.exp: New file.
14410 * gdb.arch/sparc-sysstep.c: Likewise.
14411
14412 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14413
14414 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14415
14416 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14417
14418 2014-01-23 Tom Tromey <tromey@redhat.com>
14419
14420 * gdb.ada/array_char_idx: New testcase.
14421
14422 2014-01-23 Tom Tromey <tromey@redhat.com>
14423
14424 PR python/16487:
14425 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14426 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14427 classes.
14428
14429 2014-01-23 Tom Tromey <tromey@redhat.com>
14430
14431 PR python/16491:
14432 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14433 string from an inferior frame.
14434 * gdb.python/py-framefilter-mi.exp: Update.
14435
14436 2014-01-22 Doug Evans <dje@google.com>
14437
14438 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14439
14440 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14441
14442 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14443
14444 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14445
14446 * gdb.trace/entry-values.exp: Remove excess space character from
14447 regex patterns. Handle s390 call instruction.
14448
14449 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14450
14451 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14452 define "*_start" label. Make "name" static.
14453 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14454 ${name} by references to ${name}_start.
14455
14456 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14457
14458 * gdb.base/info-macros.exp: Remove "debug" from the compile
14459 options.
14460
14461 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14462
14463 * gdb.dlang/demangle.exp: New file.
14464
14465 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14466
14467 * gdb.dlang/primitive-types.exp: New file.
14468
14469 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14470
14471 * configure.ac: Create gdb.dlang/Makefile.
14472 * configure: Regenerate.
14473 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14474 * gdb.dlang/Makefile.in: New file.
14475 * lib/d-support.exp: New file.
14476 * lib/gdb.exp (skip_d_tests): New proc.
14477
14478 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14479
14480 * gdb.btrace/delta.exp: Check reverse stepi.
14481 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14482 * gdb.btrace/finish.exp: New.
14483 * gdb.btrace/next.exp: New.
14484 * gdb.btrace/nexti.exp: New.
14485 * gdb.btrace/record_goto.c: Add comments.
14486 * gdb.btrace/step.exp: New.
14487 * gdb.btrace/stepi.exp: New.
14488 * gdb.btrace/multi-thread-step.c: New.
14489 * gdb.btrace/multi-thread-step.exp: New.
14490 * gdb.btrace/rn-dl-bind.c: New.
14491 * gdb.btrace/rn-dl-bind.exp: New.
14492 * gdb.btrace/data.c: New.
14493 * gdb.btrace/data.exp: New.
14494 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14495
14496 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14497
14498 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14499 * gdb.btrace/exception.exp: Update.
14500 * gdb.btrace/instruction_history.exp: Update.
14501 * gdb.btrace/record_goto.exp: Update.
14502 * gdb.btrace/tailcall.exp: Update.
14503 * gdb.btrace/unknown_functions.exp: Update.
14504 * gdb.btrace/delta.exp: New.
14505
14506 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14507
14508 * gdb.btrace/record_goto.exp: Add backtrace test.
14509 * gdb.btrace/tailcall.exp: Add backtrace test.
14510
14511 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14512
14513 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14514 * gdb.btrace/record_goto.c: New.
14515 * gdb.btrace/record_goto.exp: New.
14516 * gdb.btrace/x86-record_goto.S: New.
14517
14518 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14519
14520 * gdb.btrace/function_call_history.exp: Update tests.
14521 * gdb.btrace/instruction_history.exp: Update tests.
14522
14523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14524
14525 * gdb.btrace/function_call_history.exp: Fix expected field
14526 order for "record function-call-history".
14527 Add new tests for "record function-call-history /c".
14528 * gdb.btrace/exception.cc: New.
14529 * gdb.btrace/exception.exp: New.
14530 * gdb.btrace/tailcall.exp: New.
14531 * gdb.btrace/x86-tailcall.S: New.
14532 * gdb.btrace/x86-tailcall.c: New.
14533 * gdb.btrace/unknown_functions.c: New.
14534 * gdb.btrace/unknown_functions.exp: New.
14535 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14536
14537 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14538
14539 * gdb.btrace/instruction_history.exp: Update.
14540 * gdb.btrace/function_call_history.exp: Update.
14541
14542 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14543
14544 * gdb.btrace/function_call_history.exp: Fix expected function
14545 trace.
14546 * gdb.btrace/instruction_history.exp: Initialize traced.
14547 Remove traced_functions.
14548
14549 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14550
14551 * gdb.btrace/function_call_history.exp: Update
14552 * gdb.btrace/instruction_history.exp: Update.
14553
14554 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14555
14556 * gdb.btrace/enable.exp: Update expected text.
14557
14558 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14559
14560 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14561 bytes.
14562
14563 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14564
14565 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14566
14567 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14568
14569 * lib/gdb.exp (supports_process_record): Return true for
14570 arm*-linux*. (supports_reverse): Likewise.
14571
14572 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14573
14574 PR python/15464
14575 PR python/16113
14576 * gdb.python/py-type.c: Enhance test case.
14577 * gdb.python/py-value-cc.cc: Likewise
14578 * gdb.python/py-type.exp: Add new tests.
14579 * gdb.python/py-value-cc.exp: Likewise
14580
14581 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14582 Pedro Alves <palves@redhat.com>
14583
14584 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14585 Make "name" extern.
14586 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14587 references to ${name}_start by references to ${name}.
14588
14589 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14590
14591 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14592
14593 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14594
14595 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14596
14597 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
14598 Pedro Alves <palves@redhat.com>
14599
14600 * gdb.mi/mi-info-os.exp: Connect to the target with
14601 mi_gdb_target_load.
14602
14603 2014-01-08 Pedro Alves <palves@redhat.com>
14604
14605 * gdb.threads/reconnect-signal.c: New file.
14606 * gdb.threads/reconnect-signal.exp: New file.
14607
14608 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14609
14610 * gdb.base/source-dir.exp: New file.
14611
14612 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14613
14614 * gdb.ada/mi_interface: New testcase.
14615
14616 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14617
14618 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14619 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14620 gdb.ada/pp-rec-component/pck.ads: New files.
14621
14622 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14623
14624 * gdb.python/py-pp-integral.c: New file.
14625 * gdb.python/py-pp-integral.py: New file.
14626 * gdb.python/py-pp-integral.exp: New file.
14627
14628 For older changes see ChangeLog-1993-2013.
14629 \f
14630 ;; Local Variables:
14631 ;; mode: change-log
14632 ;; left-margin: 8
14633 ;; fill-column: 74
14634 ;; version-control: never
14635 ;; End:
14636
14637 Copyright 2014-2018 Free Software Foundation, Inc.
14638 Copying and distribution of this file, with or without modification,
14639 are permitted provided the copyright notice and this notice are preserved.
This page took 0.431666 seconds and 5 git commands to generate.