8c0438f355cc990df4cc463fb98045daa315390a
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2
3 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4 "arch=" keyword when executing "-stack-list-frames".
5
6 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7
8 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9 break ada".
10
11 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
12
13 PR python/23669
14 * gdb.python/python.exp: Test gdb.execute("show commands").
15
16 2018-09-16 Tom Tromey <tom@tromey.com>
17
18 * gdb.base/new-ui.exp (do_execution_tests): Update.
19 * gdb.base/dbx.exp (test_breakpoints): Update.
20
21 2018-09-14 Alan Hayward <alan.hayward@arm.com>
22
23 * lib/gdb.exp (gdb_simple_compile): Add proc.
24 (is_elf_target): Use gdb_simple_compile.
25 (skip_altivec_tests): Likewise.
26 (skip_vsx_tests): Likewise.
27 (skip_tsx_tests): Likewise.
28 (skip_btrace_tests): Likewise.
29 (skip_btrace_pt_tests): Likewise.
30 (gdb_can_simple_compile): Likewise.
31 (gdb_has_argv0): Likewise.
32 (gdb_target_symbol_prefix): Likewise.
33 (target_supports_scheduler_locking): Likewise.
34
35 2018-09-13 Tom Tromey <tom@tromey.com>
36
37 * Makefile.in (TAGS): Recognize proc_with_prefix and
38 gdb_caching_proc.
39
40 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
41
42 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
43 method.
44
45 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
46
47 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
48 and a few other Inferior properties when the Inferior is no
49 longer valid.
50
51 2018-09-13 Tom Tromey <tom@tromey.com>
52
53 PR rust/23650:
54 * gdb.rust/simple.exp: Add test for enum field access error.
55
56 2018-09-13 Tom Tromey <tom@tromey.com>
57
58 PR rust/23626:
59 * gdb.rust/simple.rs (EmptyEnum): New type.
60 (main): Use it.
61 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
62
63 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
64
65 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
66 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
67 * gdb.python/py-symtab.exp: Update test printing an objfile.
68
69 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
70
71 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
72 object.
73
74 2018-09-12 Alan Hayward <alan.hayward@arm.com>
75
76 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
77 (support_complex_tests): Use gdb_can_simple_compile.
78 (is_ilp32_target): Likewise.
79 (is_lp64_target): Likewise.
80 (is_64_target): Likewise.
81 (is_amd64_regs_target): Likewise.
82 (is_aarch32_target): Likewise.
83 (gdb_int128_helper): Likewise.
84
85 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
86
87 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
88
89 2018-09-10 Jerome Guitton <guitton@adacore.com>
90
91 * gdb.ada/same_component_name: Add test for case of tagged record
92 with variable-length fields.
93
94 2018-09-10 Xavier Roirand <roirand@adacore.com>
95
96 * gdb.ada/access_to_unbounded_array.exp: New testcase.
97 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
98 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
99 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
100
101 2018-09-10 Xavier Roirand <roirand@adacore.com>
102
103 * gdb.ada/mi_string_access.exp: New testcase.
104 * gdb.ada/mi_string_access/bar.adb: New file.
105 * gdb.ada/mi_string_access/pck.adb: New file.
106 * gdb.ada/mi_string_access/pck.asd: New file.
107
108 2018-09-10 Xavier Roirand <roirand@adacore.com>
109
110 * gdb.ada/mi_var_union.exp: New testcase.
111 * gdb.ada/mi_var_union/bar.adb: New file.
112 * gdb.ada/mi_var_union/pck.adb: New file.
113 * gdb.ada/mi_var_union/pck.asd: New file.
114
115 2018-09-08 Tom Tromey <tom@tromey.com>
116
117 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
118
119 2018-09-08 Tom Tromey <tom@tromey.com>
120
121 PR python/16047:
122 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
123 (register_pretty_printers): Register new printer.
124 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
125 test.
126 * gdb.python/py-prettyprint.c (int_type3): New typedef.
127 (an_int_type3): New global.
128
129 2018-09-08 Joel Brobecker <brobecker@adacore.com>
130
131 * gdb.ada/expr_with_funcall: New testcase.
132
133 2018-09-08 Joel Brobecker <brobecker@adacore.com>
134
135 * gdb.ada/packed_array_assign: New testcase.
136
137 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
138
139 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
140 names, and add test prefixes to make test names unique.
141
142 2018-09-05 Tom de Vries <tdevries@suse.de>
143
144 * gdb.dwarf2/varval.exp: Add test.
145
146 2018-09-04 Gary Benson <gbenson@redhat.com>
147
148 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
149 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
150
151 2018-08-31 Tom Tromey <tom@tromey.com>
152
153 * gdb.rust/simple.rs: Rename second variable "v".
154
155 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
156
157 * gdb.base/funcargs.c (use_a): New function.
158 (recurse): Call use_a.
159
160 2018-08-29 Keith Seitz <keiths@redhat.com>
161
162 * gdb.compile/compile-cplus-anonymous.cc: New file.
163 * gdb.compile/compile-cplus-anonymous.exp: New file.
164 * gdb.compile/compile-cplus-array-decay.cc: New file.
165 * gdb.compile/compile-cplus-array-decay.exp: New file.
166 * gdb.compile/compile-cplus-inherit.cc: New file.
167 * gdb.compile/compile-cplus-inherit.exp: New file.
168 * gdb.compile/compile-cplus-member.cc: New file.
169 * gdb.compile/compile-cplus-member.exp: New file.
170 * gdb.compile/compile-cplus-method.cc: New file.
171 * gdb.compile/compile-cplus-method.exp: New file.
172 * gdb.compile/compile-cplus-mod.c: "New" file.
173 * gdb.compile/compile-cplus-namespace.cc: New file.
174 * gdb.compile/compile-cplus-namespace.exp: New file.
175 * gdb.compile/compile-cplus-nested.cc: New file.
176 * gdb.compile/compile-cplus-nested.exp: New file.
177 * gdb.compile/compile-cplus-print.c: "New" file.
178 * gdb.compile/compile-cplus-print.exp: "New" file.
179 * gdb.compile/compile-cplus-virtual.cc: New file.
180 * gdb.compile/compile-cplus-virtual.exp: New file.
181 * gdb.compile/compile-cplus.c: "New" file.
182 * gdb.compile/compile-cplus.exp: "New" file.
183 * lib/compile-support.exp: New file.
184
185 2018-08-16 Gary Benson <gbenson@redhat.com>
186
187 PR gdb/13000:
188 * gdb.base/batch-exit-status.exp: New file.
189 * gdb.base/batch-exit-status.good-commands: Likewise.
190 * gdb.base/batch-exit-status.bad-commands: Likewise.
191
192 2018-08-29 Alan Hayward <alan.hayward@arm.com>
193
194 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
195 (struct struct02): Likewise.
196 (struct struct03): Likewise.
197 (struct struct04): Likewise.
198 (struct struct_01_01): New struct.
199 (struct struct_01_02): Likewise.
200 (struct struct_01_03): Likewise.
201 (struct struct_01_04): Likewise.
202 (struct struct_02_01): Likewise.
203 (struct struct_02_02): Likewise.
204 (struct struct_02_03): Likewise.
205 (struct struct_02_04): Likewise.
206 (struct struct_04_01): Likewise.
207 (struct struct_04_02): Likewise.
208 (struct struct_04_03): Likewise.
209 (struct struct_04_04): Likewise.
210 (struct struct_05_01): Likewise.
211 (struct struct_05_02): Likewise.
212 (struct struct_05_03): Likewise.
213 (struct struct_05_04): Likewise.
214 (cmp_struct01): Remove function.
215 (cmp_struct02): Likewise.
216 (cmp_struct03): Likewise.
217 (cmp_struct04): Likewise.
218 (cmp_struct_01_01): Add Function.
219 (cmp_struct_01_02): Likewise.
220 (cmp_struct_01_03): Likewise.
221 (cmp_struct_01_04): Likewise.
222 (cmp_struct_02_01): Likewise.
223 (cmp_struct_02_02): Likewise.
224 (cmp_struct_02_03): Likewise.
225 (cmp_struct_02_04): Likewise.
226 (cmp_struct_04_01): Likewise.
227 (cmp_struct_04_02): Likewise.
228 (cmp_struct_04_03): Likewise.
229 (cmp_struct_04_04): Likewise.
230 (cmp_struct_05_01): Likewise.
231 (cmp_struct_05_02): Likewise.
232 (cmp_struct_05_03): Likewise.
233 (cmp_struct_05_04): Likewise.
234 (call_all): Add new structs.
235 * gdb.base/infcall-nested-structs.exp: Likewise.
236
237 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
238
239 * gdb.python/py-framefilter-mi.exp: Update regexp to
240 check for "arch" field in frame output.
241
242 2018-08-23 Kevin Buettner <kevinb@redhat.com>
243
244 * gdb.dwarf2/dw2-ranges-func.c: New file.
245 * gdb.dwarf2/dw2-ranges-func.exp: New file.
246
247 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
248
249 * gdb.base/term.exp: Compare terminal settings with values from
250 the inferior.
251 * gdb.base/term.c: Get and set terminal settings.
252
253 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
254
255 * lib/mi-support.exp (mi_expect_stop): Update regexp to
256 accommodate new "arch" field in frame output.
257 * gdb.mi/mi-return.exp: Likewise.
258 * gdb.mi/mi-stack.exp: Likewise.
259 * gdb.mi/mi-syn-frame.exp: Likewise.
260 * gdb.mi/user-selected-context-sync.exp: Likewise.
261
262 2018-08-19 Michael Spang <spang@google.com>
263
264 PR gdb/11786
265 * gdb.base/gcore-tls-pie.c: New file.
266 * gdb.base/gcore-tls-pie.exp: New file.
267
268 2018-08-18 Kevin Buettner <kevinb@redhat.com>
269
270 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
271 * gdb.dwarf2/varval.c: New file.
272 * gdb.dwarf2/varval.exp: New file.
273
274 2018-08-17 Alan Hayward <alan.hayward@arm.com>
275
276 PR gdb/18931
277 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
278
279 2018-08-16 Keith Seitz <keiths@redhat.com>
280
281 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
282 tests expected to pass.
283
284 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
285
286 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
287 -data-disassemble -a.
288 (test_disassembly_bogus_args): Likewise.
289
290 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
291
292 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
293
294 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
295
296 * gdb.base/vla-optimized-out.exp: Add new test.
297
298 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
299
300 * gdb.base/vla-optimized-out-o3.exp: Delete.
301 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
302 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
303 deleted tests.
304
305 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
306
307 PR gdb/18050:
308 * gdb.server/extended-remote-restart.c: New file.
309 * gdb.server/extended-remote-restart.exp: New file.
310
311 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
312
313 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
314 "set variable index = 42".
315
316 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
317
318 * boards/index-cache-gdb.exp: New file.
319 * gdb.dwarf2/index-cache.exp: New file.
320 * gdb.dwarf2/index-cache.c: New file.
321 * gdb.base/maint.exp: Check if we are using the index cache.
322
323 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
324
325 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
326 MAKEFLAGS.
327
328 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
329
330 * dg-extract-results.sh: Move to toplevel contrib.
331 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
332 * Makefile.in (check-parallel-racy): Likewise.
333
334 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
335
336 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
337 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
338 tests if the target supports scheduler locking.
339
340 2018-08-04 Tom de Vries <tdevries@suse.de>
341
342 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
343
344 2018-08-02 Tom Tromey <tom@tromey.com>
345
346 PR symtab/16842.
347 * gdb.cp/temargs.exp: Test "info address" of a template
348 parameter.
349
350 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
351
352 * gdb.python/py-mi-var-info-path-expression.c: New file.
353 * gdb.python/py-mi-var-info-path-expression.py: New file.
354 * gdb.python/py-mi-var-info-path-expression.exp: New file.
355
356 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
357
358 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
359 error after "cannot resolve name" string.
360
361 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
362
363 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
364 started.
365 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
366
367 2018-07-28 Tom de Vries <tdevries@suse.de>
368
369 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
370
371 2018-07-26 Tom de Vries <tdevries@suse.de>
372
373 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
374
375 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
376
377 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
378 is visible.
379
380 2018-07-26 Tom de Vries <tdevries@suse.de>
381
382 PR breakpoints/23366
383 * gdb.base/catch-follow-exec.c: New test.
384 * gdb.base/catch-follow-exec.exp: New file.
385
386 2018-07-25 Tom de Vries <tdevries@suse.de>
387
388 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
389 vla-optimized-out.c.
390
391 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
392
393 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
394 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
395
396 2018-07-20 Tom de Vries <tdevries@suse.de>
397
398 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
399 NOCLONE macro.
400 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
401
402 2018-07-19 Tom de Vries <tdevries@suse.de>
403
404 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
405 regular expression.
406
407 2018-07-18 Tom de Vries <tdevries@suse.de>
408
409 * gdb.base/vla-optimized-out.c: New test.
410 * gdb.base/vla-optimized-out.exp: New file.
411
412 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
413
414 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
415 message "No address associated with hostname" when gdbserver
416 cannot resolve the hostname.
417
418 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
419
420 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
421 Add some test prefixes to make tests unique.
422
423 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
424
425 * gdb.base/frameapply.c: New file.
426 * gdb.base/frameapply.exp: New file.
427
428 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
429
430 * gdb.base/skip.exp: Update expected error message.
431
432 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
433 Jan Kratochvil <jan.kratochvil@redhat.com>
434 Paul Fertser <fercerpav@gmail.com>
435 Tsutomu Seki <sekiriki@gmail.com>
436
437 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
438 parameter.
439 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
440 by default.
441 * boards/native-gdbserver.exp: Likewise.
442 * gdb.server/run-without-local-binary.exp: Improve regexp used
443 for detecting when a remote debugging connection succeeds.
444 * gdb.server/server-connect.exp: New file.
445 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
446 Do not prefix the port number with ":".
447 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
448 support for detecting and using it. Add '$debughost_gdbserver'
449 to the list of arguments used to start gdbserver. Handle case
450 when gdbserver cannot resolve a network name.
451
452 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
453
454 PR c++/23373
455 * gdb.base/ptype-offsets.cc (struct static_member): New
456 struct.
457 (main) <stmember>: New variable.
458 * gdb.base/ptype-offsets.exp: Add test for printing a struct
459 with a static member in it.
460
461 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
462
463 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
464 watchpoints enabled and disabled.
465
466 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
467
468 * gdb.base/examine-backward.exp: Still run tests around address
469 0x0, even if address 0x0 is not readable. Update the pattern for
470 matching address 0x0 in expected output.
471
472 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
473
474 * gdb.base/share-env-with-gdbserver.c (main): Add call to
475 malloc/free.
476
477 2018-07-04 Tom de Vries <tdevries@suse.de>
478
479 * gdb.dwarf2/dw2-error.exp: Update expected error message.
480
481 2018-07-02 Maciej W. Rozycki <macro@mips.com>
482
483 PR tdep/8282
484 * gdb.arch/mips-disassembler-options.exp: New test.
485 * gdb.arch/mips-disassembler-options.s: New test source.
486
487 2018-06-29 Pedro Alves <palves@redhat.com>
488
489 * gdb.threads/names.exp: Adjust expected "info threads" output.
490
491 2018-06-29 Pedro Alves <palves@redhat.com>
492
493 * gdb.opt/inline-break.exp (line number, address): Add "info
494 break" tests.
495
496 2018-06-29 Pedro Alves <palves@redhat.com>
497
498 * gdb.opt/inline-break.c (func1): Add "break here" marker.
499 * gdb.opt/inline-break.exp: Test setting breakpoints by line
500 number and address and running to them.
501
502 2018-06-29 Richard Bunt <richard.bunt@arm.com>
503
504 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
505
506 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
507
508 * lib/compiler.c: Remove executable permission flag.
509
510 2018-06-28 Richard Bunt <richard.bunt@arm.com>
511
512 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
513 code.
514 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
515
516 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
517
518 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
519
520 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
521
522 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
523 address argument is omitted.
524
525 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
526
527 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
528
529 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
530
531 PR gdb/21695
532 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
533 * gdb.base/infoline-reloc-main-from-zero.c: New file.
534
535 2018-06-26 Tom Tromey <tom@tromey.com>
536
537 PR rust/22574:
538 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
539 * gdb.rust/simple.rs (struct SimpleLayout): New.
540
541 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
542
543 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
544 "info registers" output.
545
546 2018-06-21 Richard Bunt <richard.bunt@arm.com>
547
548 * gdb.base/watchpoint-hw-attach.c: New test.
549 * gdb.base/watchpoint-hw-attach.exp: New file.
550
551 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
552
553 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
554 through /bin/sh.
555 * boards/dwarf4-gdb-index.exp: Likewise.
556 * boards/fission-dwp.exp: Likewise.
557
558 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
559
560 * gdb.base/float128.exp: Add comment and improved fail message
561 to the failure case of "print large128" test.
562
563 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
564
565 * configure.ac: Remove AC_PREREQ.
566 * configure: Re-generate.
567
568 2018-06-19 Pedro Alves <palves@redhat.com>
569
570 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
571 (func_extern_caller): New.
572 (main): Call func_extern_caller.
573 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
574 logic change.
575
576 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
577
578 PR gdb/16841
579 * gdb.cp/typedef-base.cc: New file.
580 * gdb.cp/typedef-base.exp: New file.
581
582 2018-06-18 Tom de Vries <tdevries@suse.de>
583
584 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
585
586 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
587 Richard Bunt <Richard.Bunt@arm.com>
588
589 * gdb.threads/attach-slow-waitpid.c: New file.
590 * gdb.threads/attach-slow-waitpid.exp: New file.
591 * gdb.threads/slow-waitpid.c: New file.
592
593 2018-06-14 Pedro Alves <palves@redhat.com>
594
595 * gdb.base/fork-running-state.c: Include <errno.h>.
596 (exit_if_relative_exits): New.
597 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
598 exits.
599 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
600 child exits.
601
602 2018-06-14 Tom de Vries <tdevries@suse.de>
603
604 PR cli/22573
605 * gdb.base/finish-pretty.c: New test.
606 * gdb.base/finish-pretty.exp: New file.
607
608 2018-06-14 Pedro Alves <palves@redhat.com>
609
610 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
611 gdb's expected startup output.
612
613 2018-06-14 Pedro Alves <palves@redhat.com>
614
615 * lib/selftest-support.exp (selftest_setup): Remove inlined
616 function handling.
617
618 2018-06-14 Tom de Vries <tdevries@suse.de>
619
620 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
621 matching of breakpoint printing.
622
623 2018-06-13 Tom de Vries <tdevries@suse.de>
624
625 PR testsuite/23269
626 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
627 (fork_child): ... here, and ...
628 (fork_parent): ... here.
629
630 2018-06-12 Tom de Vries <tdevries@suse.de>
631
632 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
633
634 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
635 Stephen Roberts <stephen.roberts@arm.com>
636
637 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
638 rewrite test to describe action performed, rather than possible
639 failure.
640
641 2018-06-08 Gary Benson <gbenson@redhat.com>
642
643 * gdb.threads/check-libthread-db.exp: New file.
644 * gdb.threads/check-libthread-db.c: Likewise.
645
646 2018-06-05 Tom Tromey <tom@tromey.com>
647
648 * gdb.base/default.exp: Update expected "show version" output.
649
650 2018-06-05 Tom Tromey <tom@tromey.com>
651
652 PR cli/12326:
653 * gdb.cp/static-print-quit.exp: Update.
654 * lib/gdb.exp (pagination_prompt): Update.
655 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
656 * gdb.python/python.exp: Update.
657
658 2018-06-04 Joel Brobecker <brobecker@adacore.com>
659
660 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
661
662 2018-06-01 Joel Brobecker <brobecker@adacore.com>
663
664 * gdb.ada/bp_fun_addr: New testcase.
665
666 2018-06-01 Tom Tromey <tom@tromey.com>
667
668 * gdb.xml/tdesc-regs.exp (load_description): Update expected
669 results.
670 * gdb.dwarf2/method-ptr.exp: Set language to C++.
671 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
672 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
673 * gdb.base/maint.exp (maint_pass_if): Update.
674
675 2018-05-31 Maciej W. Rozycki <macro@mips.com>
676
677 * gdb.base/endian.exp: New test.
678 * gdb.base/endian.c: New test source.
679
680 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
681
682 PR gdb/23203
683 * gdb.base/bt-selected-frame.c: New file.
684 * gdb.base/bt-selected-frame.exp: New file.
685 * lib/gdb.exp (get_current_frame_number): New function.
686
687 2018-05-24 Maciej W. Rozycki <macro@mips.com>
688 Pedro Alves <palves@redhat.com>
689
690 * gdb.threads/tls-core.c: Include <stdlib.h>
691 (thread_proc): Call `abort'.
692 * gdb.threads/tls-core.exp: Generate a core with core_find too.
693 (tls_core_test): New procedure, bits factored out from ...
694 (top level): ... here. Test both native cores and gcore cores.
695
696 2018-05-23 Tom Tromey <tom@tromey.com>
697
698 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
699
700 2018-05-23 Tom Tromey <tom@tromey.com>
701
702 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
703 symfile_complaints.
704 (test_short_complaints): Likewise.
705 (test_empty_complaints): Likewise.
706 (test_initial_complaints): Update.
707
708 2018-05-23 Tom Tromey <tom@tromey.com>
709
710 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
711
712 2018-05-23 Tom Tromey <tom@tromey.com>
713
714 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
715 (test_short_complaints): Update.
716
717 2018-05-22 Pedro Alves <palves@redhat.com>
718
719 * gdb.base/remote.exp: Only gdb_start after compiling the
720 testcase. Issue "disconnect" before testing "set remote" command
721 defaults. Issue clean_restart before running to main.
722
723 2018-05-22 Pedro Alves <palves@redhat.com>
724
725 * gdb.base/remote.exp: Adjust expected output of "show remote
726 memory-write-packet-size". Add tests for "set remote
727 memory-write-packet-size 0" and "set remote
728 memory-write-packet-size fixed/limit".
729
730 2018-05-22 Pedro Alves <palves@redhat.com>
731
732 PR gdb/22973
733 * gdb.base/utf8-identifiers.c: New file.
734 * gdb.base/utf8-identifiers.exp: New file.
735
736 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
737
738 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
739
740 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
741
742 * gdb.arch/powerpc-vsx-gcore.exp: New file.
743
744 2018-05-18 Tom Tromey <tom@tromey.com>
745
746 * gdb.base/ptype-offsets.exp: Update.
747
748 2018-05-17 Keith Seitz <keiths@redhat.com>
749
750 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
751 in expected breakpoint stop locations.
752 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
753 move to proper scope to test variable values.
754 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
755 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
756 New functions.
757 (main): Call not_inline_func3.
758 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
759 inline_func1, inline_func2, and inline_func3. Test that when each
760 breakpoint is hit, GDB properly reports both the stop location
761 and the backtrace. Repeat tests for temporary breakpoints.
762
763 2018-05-15 Maciej W. Rozycki <macro@mips.com>
764
765 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
766 rather then trying to access it in determining whether the PID
767 of `gdbserver' could have been retrieved.
768
769 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
770
771 * gdb.arch/amd64-init-x87-values.S: New file.
772 * gdb.arch/amd64-init-x87-values.exp: New file.
773
774 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
775
776 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
777
778 2018-05-04 Tom Tromey <tom@tromey.com>
779
780 PR python/22730:
781 * gdb.python/python.exp: Test multi-line execute.
782
783 2018-05-04 Tom Tromey <tom@tromey.com>
784
785 PR python/22731:
786 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
787
788 2018-05-04 Tom Tromey <tom@tromey.com>
789
790 PR gdb/11750:
791 * gdb.base/define.exp: Test defining a user command inside a user
792 command.
793 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
794
795 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
796 Pedro Alves <palves@redhat.com>
797
798 PR breakpoints/19806 and support for PR external/20207.
799 * gdb.base/watchpoint-unaligned.c: New file.
800 * gdb.base/watchpoint-unaligned.exp: New file.
801
802 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
803
804 * gdb.base/maint.exp: Make test names unique, use
805 test_prefix_command_help to test 'help maint info', and remove
806 repeated test of 'help maint'.
807
808 2018-05-04 Tom Tromey <tom@tromey.com>
809
810 PR gdb/22619:
811 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
812 behavior.
813
814 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
815
816 * gdb.base/maint.exp: Process output from 'maint print registers'
817 line at a time.
818
819 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
820
821 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
822 timeout.
823
824 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
825
826 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
827 filter pattern.
828
829 2018-05-02 Pedro Alves <palves@redhat.com>
830
831 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
832 to_log_command renames.
833 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
834
835 2018-05-02 Tom Tromey <tom@tromey.com>
836
837 * gdb.python/py-parameter.exp: Set test message.
838
839 2018-05-02 Tom Tromey <tom@tromey.com>
840
841 PR python/20084:
842 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
843 PARAM_ZUINTEGER_UNLIMITED tests.
844
845 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
846
847 PR rust/23124
848 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
849 when casting.
850
851 2018-04-30 Tom Tromey <tom@tromey.com>
852
853 * gdb.python/py-type.exp: Check align attribute.
854 * gdb.python/py-type.c: New "aligncheck" global.
855
856 2018-04-30 Tom Tromey <tom@tromey.com>
857
858 PR exp/17095:
859 * gdb.dwarf2/dw2-align.exp: New file.
860 * gdb.cp/align.exp: New file.
861 * gdb.base/align.exp: New file.
862 * lib/gdb.exp (gdb_int128_helper): New proc.
863 (has_int128_c, has_int128_cxx): New caching procs.
864
865 2018-04-27 Tom Tromey <tom@tromey.com>
866
867 PR rust/22545:
868 * gdb.rust/simple.exp: Add inclusive range tests.
869
870 2018-04-26 Pedro Alves <palves@redhat.com>
871
872 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
873 ifunc breakpoint locations correctly of ifunc breakpoints set
874 while the program resolves the ifunc.
875
876 2018-04-26 Pedro Alves <palves@redhat.com>
877
878 * gdb.base/gnu-ifunc-final.c: New file.
879 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
880 * gdb.base/gnu-ifunc.exp (executable): Delete.
881 (staticexecutable): Adjust.
882 (lib_opts, exec_opts): Delete.
883 (make_binsuffix, build, set-break): New procedures.
884 (misc_tests): New, with tests factored out from the top level.
885 (top level): Test different combinations of ifunc resolver name,
886 resolver with and with debug info, and ifunc target with and
887 without debug info. Wrap static tests with with_target_prefix.
888
889 2018-04-26 Pedro Alves <palves@redhat.com>
890
891 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
892 return type" warnings.
893
894 2018-04-25 Pedro Alves <palves@redhat.com>
895
896 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
897 killed".
898 * gdb.base/kill-after-signal.exp: Likewise.
899 * gdb.threads/kill.exp: Likewise.
900
901 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
902 Sergio Durigan Junior <sergiodj@redhat.com>
903 Pedro Alves <palves@redhat.com>
904
905 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
906 regexps to expect for '[Inferior ... detached]' as well.
907 * gdb.base/attach.exp: Likewise.
908 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
909 "gdb_continue_to_end".
910 (test_catch_syscall_with_wrong_args): Likewise.
911 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
912 ']'. Don't set 'verbose' on.
913 * gdb.base/foll-vfork.exp: Likewise.
914 * gdb.base/fork-print-inferior-events.c: New file.
915 * gdb.base/fork-print-inferior-events.exp: New file.
916 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
917 '[Inferior ... has been killed]' message.
918 * gdb.base/kill-after-signal.exp: Likewise.
919 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
920 detach message.
921 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
922 message.
923 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
924 regexps to expect for '[Inferior ... detached]' as well.
925 * gdb.threads/process-dies-while-detaching.exp: Likewise.
926
927 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
928
929 PR gdb/23104
930 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
931
932 2018-04-19 Richard Bunt <richard.bunt@arm.com>
933
934 * gdb.threads/multiple-successive-infcall.c: New test.
935 * gdb.threads/multiple-successive-infcall.exp: New file.
936
937 2018-04-17 Tom Tromey <tom@tromey.com>
938
939 * gdb.rust/simple.rs (Union): New type.
940 (main): New local "u".
941 * gdb.rust/simple.exp (test_one_slice): Add new test case.
942
943 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
944
945 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
946 number information in output of "whereis" command.
947 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
948
949 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
950
951 * gdb.ada/info_types.exp: Adjust expected output to the line
952 numbers now printed by "info var/func/type".
953 * gdb.base/completion.exp: Likewise.
954 * gdb.base/included.exp: Likewise.
955 * gdb.cp/cp-relocate.exp: Likewise.
956 * gdb.cp/cplusfuncs.exp: Likewise.
957 * gdb.cp/namespace.exp: Likewise.
958 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
959
960 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
961
962 * gdb.btrace/cpu.exp: New.
963
964 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
965
966 * gdb.base/step-indirect-call-thunk.exp: New.
967 * gdb.base/step-indirect-call-thunk.c: New.
968 * gdb.reverse/step-indirect-call-thunk.exp: New.
969 * gdb.reverse/step-indirect-call-thunk.c: New.
970
971 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
972
973 * gdb.base/pie-fork.c: New file.
974 * gdb.base/pie-fork.exp: New file.
975
976 2018-04-11 Tom Tromey <tom@tromey.com>
977
978 * gdb.rust/simple.exp: Add test for ".." struct initializer.
979
980 2018-04-10 Pedro Alves <palves@redhat.com>
981
982 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
983 exits. Instead loop running forever.
984 (fork_parent): Run forever too.
985
986 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
987
988 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
989 mi_continue_to_line.
990 * gdb.mi/mi-stack.c (callee4): Add comment.
991
992 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
993
994 * gdb.mi/mi-stack.exp: Fix indentation.
995
996 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
997
998 PR gdb/22979
999 * gdb.arch/amd64-osabi.exp: New file.
1000
1001 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1002
1003 PR gdb/22980
1004 * gdb.base/osabi.exp: New file.
1005
1006 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
1007
1008 * gdb.cp/static-typedef-print.exp: New file.
1009 * gdb.cp/static-typedef-print.cc: New file.
1010
1011 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1012
1013 * gdb.ada/varsize_limit: New testcase.
1014
1015 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1016
1017 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1018
1019 * gdb.ada/notcplusplus: New testcase.
1020
1021 * gdb.base/c-linkage-name.c: New file.
1022 * gdb.base/c-linkage-name.exp: New testcase.
1023
1024 2018-03-26 Tom Tromey <tom@tromey.com>
1025
1026 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1027 * gdb.python/py-framefilter.py (name_error): New global.
1028 (ErrorInName.function): Use name_error.
1029
1030 2018-03-26 Tom Tromey <tom@tromey.com>
1031
1032 PR backtrace/15582:
1033 * gdb.python/py-framefilter.exp: Add "bt hide" test.
1034
1035 2018-03-23 Keith Seitz <keiths@redhat.com>
1036
1037 PR c++/22968
1038 * gdb.cp/subtypes.exp: New file.
1039 * gdb.cp/subtypes.h: New file.
1040 * gdb.cp/subtypes.cc: New file.
1041 * gdb.cp/subtypes-2.cc: New file.
1042
1043 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1044
1045 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1046 (done): Call '_exit' not 'exit' to avoid atexit handlers.
1047 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1048 -nostartfiles when compiling the test. Confirm that all registers
1049 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1050
1051 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1052
1053 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1054 option, syntax was wrong anyway.
1055 * gdb.arch/arm-disp-step.exp: Likewise.
1056 * gdb.arch/sparc64-regs.exp: Likewise.
1057 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1058 option, syntax was wrong anyway, switch to use
1059 prepare_for_testing.
1060 * gdb.arch/i386-disp-step.exp: Likewise.
1061
1062 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
1063
1064 * gdb.ada/exec_changed.exp: Replace "target_info exists
1065 use_gdb_stub" by "use_gdb_stub".
1066 * gdb.ada/start.exp: Likewise.
1067 * gdb.base/async-shell.exp: Likewise.
1068 * gdb.base/attach-pie-misread.exp: Likewise.
1069 * gdb.base/attach-wait-input.exp: Likewise.
1070 * gdb.base/break-entry.exp: Likewise.
1071 * gdb.base/break-interp.exp: Likewise.
1072 * gdb.base/dprintf-detach.exp: Likewise.
1073 * gdb.base/nostdlib.exp: Likewise.
1074 * gdb.base/solib-nodir.exp: Likewise.
1075 * gdb.base/statistics.exp: Likewise.
1076 * gdb.base/testenv.exp: Likewise.
1077 * gdb.mi/mi-exec-run.exp: Likewise.
1078 * gdb.mi/mi-start.exp: Likewise.
1079 * gdb.multi/dummy-frame-restore.exp: Likewise.
1080 * gdb.multi/multi-arch-exec.exp: Likewise.
1081 * gdb.multi/multi-arch.exp: Likewise.
1082 * gdb.multi/tids.exp: Likewise.
1083 * gdb.multi/watchpoint-multi.exp: Likewise.
1084 * gdb.python/py-events.exp: Likewise.
1085 * gdb.threads/attach-into-signal.exp: Likewise.
1086 * gdb.threads/attach-stopped.exp: Likewise.
1087 * gdb.threads/threadapply.exp: Likewise.
1088 * lib/selftest-support.exp: Likewise.
1089
1090 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1091
1092 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1093
1094 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1095
1096 * gdb.perf/template-breakpoints.cc: New file.
1097 * gdb.perf/template-breakpoints.exp: New file.
1098 * gdb.perf/template-breakpoints.py: New file.
1099
1100 2018-03-19 Tom Tromey <tom@tromey.com>
1101
1102 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1103 y0.
1104 * gdb.rust/simple.exp: Test bare identifier form of struct
1105 initializer.
1106
1107 2018-03-19 Tom Tromey <tom@tromey.com>
1108
1109 * gdb.gdb/observer.exp: Remove.
1110
1111 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1112
1113 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1114 "qualified" option when setting breakpoints.
1115 * gdb.trace/backtrace.exp: Likewise.
1116 * gdb.trace/circ.exp: Likewise.
1117 * gdb.trace/collection.exp: Likewise.
1118 * gdb.trace/disconnected-tracing.exp: Likewise.
1119 * gdb.trace/ftrace-lock.exp: Likewise.
1120 * gdb.trace/ftrace.exp: Likewise.
1121 * gdb.trace/infotrace.exp: Likewise.
1122 * gdb.trace/packetlen.exp: Likewise.
1123 * gdb.trace/passc-dyn.exp: Likewise.
1124 * gdb.trace/qtro.exp: Likewise.
1125 * gdb.trace/read-memory.exp: Likewise.
1126 * gdb.trace/report.exp: Likewise.
1127 * gdb.trace/signal.exp: Likewise.
1128 * gdb.trace/status-stop.exp: Likewise.
1129 * gdb.trace/strace.exp: Likewise.
1130 * gdb.trace/tfind.exp: Likewise.
1131 * gdb.trace/trace-break.exp: Likewise.
1132 * gdb.trace/trace-condition.exp: Likewise.
1133 * gdb.trace/trace-mt.exp: Likewise.
1134 * gdb.trace/tstatus.exp: Likewise.
1135 * gdb.trace/tsv.exp: Likewise.
1136 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1137 * gdb.trace/unavailable.exp: Likewise.
1138 * gdb.trace/while-dyn.exp: Likewise.
1139
1140 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1141
1142 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1143 that libinproctrace is copied to the target.
1144
1145 2018-03-14 Tom Tromey <tom@tromey.com>
1146
1147 PR cli/14977:
1148 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1149 a null pointer.
1150 * gdb.base/wchar.exp: Likewise.
1151
1152 2018-03-14 Tom Tromey <tom@tromey.com>
1153
1154 PR cli/19918:
1155 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1156 flag.
1157
1158 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1159
1160 PR gdb/22841
1161 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1162 "target" to remote_exec.
1163
1164 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1165
1166 PR gdb/22841
1167 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1168 ${board}_upload): Remove.
1169
1170 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1171
1172 * gdb.cp/watch-cp.cc: New test.
1173 * gdb.cp/watch-cp.exp: New file.
1174
1175 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1176
1177 * gdb.base/infcall-nested-structs.exp: New file.
1178 * gdb.base/infcall-nested-structs.c: New file.
1179 * gdb.base/float.exp: Add riscv support.
1180
1181 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1182
1183 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1184 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1185
1186 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1187
1188 * gdb.server/abspath.exp: New file.
1189 * lib/gdb.exp (with_cwd): New procedure.
1190
1191 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1192
1193 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1194 use it.
1195 (gdb_is_target_remote_prompt): New proc.
1196 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1197 (gdb_is_target_native): Pass prompt parameter to
1198 gdb_is_target_1.
1199
1200 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1201
1202 * gdb.base/load-command.c: New file.
1203 * gdb.base/load-command.exp: New file.
1204 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1205 (gdb_is_target_1): ...this, and generalize for other targets
1206 than just remote.
1207 (gdb_is_target_remote): Use gdb_is_target_1.
1208 (gdb_is_target_native): use gdb_is_target_1.
1209
1210 2018-02-26 Tom Tromey <tom@tromey.com>
1211
1212 PR python/16497:
1213 * gdb.python/py-framefilter.exp: Update test.
1214
1215 2018-02-26 Tom Tromey <tom@tromey.com>
1216
1217 * gdb.dwarf2/variant.c: New file.
1218 * gdb.dwarf2/variant.exp: New file.
1219
1220 2018-02-26 Tom Tromey <tom@tromey.com>
1221
1222 * gdb.rust/simple.exp: Accept more possible results in enum test.
1223
1224 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1225
1226 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1227 parentheses.
1228
1229 2018-02-23 Maciej W. Rozycki <macro@mips.com>
1230
1231 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1232 name of a variable: $actual_linejj -> $actual_line.
1233
1234 2018-02-21 John Baldwin <jhb@FreeBSD.org>
1235
1236 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1237
1238 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1239
1240 * gdb.btrace/buffer-size.exp: Do not force BTS.
1241
1242 2018-02-14 Pedro Alves <palves@redhat.com>
1243
1244 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1245 getting a "Quit".
1246
1247 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1248
1249 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1250 Fix test name.
1251
1252 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1253
1254 * gdb.cp/m-static.exp: Check type of optimized out static
1255 member.
1256
1257 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1258
1259 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1260 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1261
1262 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1263 Leszek Swirski <leszeks@google.com>
1264
1265 * gdb.python/py-prettyprint.c
1266 (struct to_string_returns_value_inner,
1267 struct to_string_returns_value_wrapper): New.
1268 (main): Add tsrvw variable.
1269 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1270 ToStringReturnsValueWrapper): New classes.
1271 (register_pretty_printers): Register new pretty-printers.
1272 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1273 recursive pretty printer.
1274 * gdb.python/py-mi.exp: Likewise.
1275
1276 2018-02-01 Leszek Swirski <leszeks@google.com>
1277
1278 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1279 functions with the same name as an include file are parsed
1280 correctly.
1281
1282 2018-02-01 Yao Qi <yao.qi@linaro.org>
1283
1284 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1285 "\[^\r\n\]*".
1286
1287 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1288
1289 * gdb.arch/powerpc-prologue-frame.s: New file.
1290 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1291 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1292
1293 2018-01-31 Joel Brobecker <brobecker@adacore.com>
1294
1295 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1296
1297 2018-01-30 Pedro Alves <palves@redhat.com>
1298
1299 PR gdb/13211
1300 * gdb.base/interrupt-daemon.c: New.
1301 * gdb.base/interrupt-daemon.exp: New.
1302 * gdb.multi/multi-term-settings.c: New.
1303 * gdb.multi/multi-term-settings.exp: New.
1304
1305 2018-01-30 Joel Brobecker <brobecker@adacore.com>
1306
1307 * gdb.base/break.exp: Save the location where the breakpoint
1308 on break.c:47 was actually inserted when debugging the version
1309 compiled at -O2 and use it in the expected output of the "info
1310 break" test performed soon after.
1311
1312 2018-01-22 Pedro Alves <palves@redhat.com>
1313 Sergio Durigan Junior <sergiodj@redhat.com>
1314
1315 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1316 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1317
1318 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1319
1320 * gdb.base/break-include.c, gdb.base/break-include.inc,
1321 gdb.base/break-include.exp: New files.
1322 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1323 line number now being the actual line number where the breakpoint
1324 was inserted.
1325 * gdb.mi/mi-break.exp: Likewise.
1326 * gdb.mi/mi-reverse.exp: Likewise.
1327 * gdb.mi/mi-simplerun.exp: Ditto.
1328
1329 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1330
1331 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1332 varobj.
1333 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1334
1335 2018-01-21 Don Breazeal <donb@codesourcery.com>
1336 Andrew Burgess <andrew.burgess@embecosm.com>
1337
1338 * gdb.mi/basics.c: Add new global.
1339 * gdb.mi/mi-frame-regs.exp: New file.
1340 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1341 case.
1342
1343 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1344
1345 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1346 non-parameter, and on an unknown symbol.
1347
1348 2018-01-19 Tom Tromey <tom@tromey.com>
1349
1350 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1351 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1352
1353 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1354
1355 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1356 setrlimit and chdir to int.
1357
1358 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1359
1360 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1361 function.
1362 (my_tend): Likewise.
1363 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1364 rationale of avoiding FP- and vector instructions.
1365
1366 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1367
1368 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1369 "info reg" with "\[ \t\]*".
1370 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1371 "\[ \t\]+".
1372 * gdb.arch/s390-multiarch.exp: Ditto.
1373 * gdb.base/pc-fp.exp: Ditto.
1374 * gdb.reverse/i386-precsave.exp: Ditto.
1375 * gdb.reverse/i386-reverse.exp: Ditto.
1376 * gdb.reverse/i387-env-reverse.exp: Ditto.
1377 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1378
1379 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1380
1381 * lib/gdb.exp (gdb_compile): Re-enable use of
1382 universal_compile_options for languages other than Rust.
1383
1384 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1385
1386 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1387
1388 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1389
1390 PR gdb/16577
1391 * gdb.base/solib-vanish.exp: New.
1392 * gdb.base/solib-vanish-main.c: New.
1393 * gdb.base/solib-vanish-lib1.c: New.
1394 * gdb.base/solib-vanish-lib2.c: New.
1395
1396 2018-01-17 Yao Qi <yao.qi@linaro.org>
1397
1398 * gdb.compile/compile.exp: Match the address printed for
1399 frame in the output of command "bt".
1400
1401 2018-01-15 Tom Tromey <tom@tromey.com>
1402
1403 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1404 compute sp_reg.
1405
1406 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1407
1408 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1409 to prepare.
1410 (prepare): Return 0 on error, 1 on success.
1411
1412 2018-01-12 Pedro Alves <palves@redhat.com>
1413
1414 * gdb.base/continue-after-aborted-step-over.c: New.
1415 * gdb.base/continue-after-aborted-step-over.exp: New.
1416
1417 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1418
1419 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1420 options when not creating an executable.
1421
1422 2018-01-11 Pedro Alves <palves@redhat.com>
1423
1424 PR remote/22597
1425 * gdb.server/stop-reply-no-thread.c: New file.
1426 * gdb.server/stop-reply-no-thread.exp: New file.
1427
1428 2018-01-10 Pedro Alves <palves@redhat.com>
1429
1430 PR gdb/22670
1431 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1432 functions too. Test setting breakpoints and printing C functions
1433 with no debug info too.
1434 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1435
1436 2018-01-10 Pedro Alves <palves@redhat.com>
1437
1438 PR gdb/22670
1439 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1440 a fail.
1441
1442 2018-01-10 Pedro Alves <palves@redhat.com>
1443
1444 PR gdb/22670
1445 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1446
1447 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1448
1449 * gdb.server/unittest.exp: Match the output in non-development
1450 mode.
1451
1452 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1453
1454 * gdb.gdb/unittest.exp: Match output in non-development mode.
1455
1456 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1457
1458 * gdb.ada/access_tagged_param.exp: Relax expected output
1459 for value of "ObjL" in "continue" to pck.inspect breakpoint
1460 test.
1461
1462 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1463
1464 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1465 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1466
1467 2018-01-05 Pedro Alves <palves@redhat.com>
1468
1469 PR gdb/18653
1470 * gdb.base/libsegfault.exp: New.
1471
1472 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1473
1474 PR gdb/22670
1475 * gdb.ada/access_tagged_param.exp: New file.
1476 * gdb.ada/access_tagged_param/foo.adb: New file.
1477
1478 2018-01-05 Pedro Alves <palves@redhat.com>
1479
1480 PR gdb/22670
1481 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1482 exercise lower case too, and to exercise both full matching and
1483 wild matching.
1484
1485 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1486
1487 * gdb.ada/rename_subscript_param: New testcase.
1488
1489 2018-01-05 Jerome Guitton <guitton@adacore.com>
1490
1491 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1492
1493 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1494
1495 * gdb.ada/convvar_comp: New testcase.
1496
1497 2018-01-05 Xavier Roirand <roirand@adacore.com>
1498
1499 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1500 (My_Table): New global variable.
1501 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1502
1503 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1504
1505 PR gdb/22670
1506 * gdb.ada/maint_with_ada: New testcase.
1507
1508 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1509
1510 PR gdb/22670
1511 * gdb.ada/bp_c_mixed_case: New testcase.
1512
1513 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1514
1515 PR gdb/22670
1516 * gdb.ada/complete.exp: Add "complete break ada" test.
1517
1518 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1519
1520 PR gdb/22670
1521 * gdb.ada/info_addr_mixed_case: New testcase.
1522
1523 2018-01-03 Xavier Roirand <roirand@adacore.com>
1524
1525 * gdb.ada/excep_handle.exp: New testcase.
1526 * gdb.ada/excep_handle/foo.adb: New file.
1527 * gdb.ada/excep_handle/pck.ads: New file.
1528
1529 2018-01-03 Joel Brobecker <brobecker@adacore.com>
1530
1531 * gdb.base/step-line.c: Add extra empty line in copyright header.
1532 * gdb.base/step-line.inp: Likewise.
1533
1534 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1535
1536 * gdb.ada/dyn_stride.exp: Add slice test.
1537
1538 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1539
1540 * gdb.ada/dyn_stride: New testcase.
1541
1542 2017-12-27 Stafford Horne <shorne@gmail.com>
1543
1544 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1545 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1546
1547 2017-12-27 Stafford Horne <shorne@gmail.com>
1548
1549 * gdb.base/reggroups.c: New file.
1550 * gdb.base/reggroups.exp: New file.
1551
1552 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1553
1554 * gdb.dwarf2/ada-valprint-error.c: New file.
1555 * gdb.dwarf2/ada-valprint-error.exp: New file.
1556
1557 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1558
1559 * gdb.ada/assign_arr: New testcase.
1560
1561 2017-12-18 Xavier Roirand <roirand@adacore.com>
1562
1563 * gdb.ada/funcall_ptr: New testcase.
1564
1565 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1566
1567 PR cli/16224
1568 * gdb.base/ptype-offsets.cc: New file.
1569 * gdb.base/ptype-offsets.exp: New file.
1570
1571 2017-12-15 Yao Qi <yao.qi@linaro.org>
1572
1573 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1574 if XML is disabled.
1575
1576 2017-12-15 Xavier Roirand <roirand@adacore.com>
1577
1578 * gdb.ada/same_component_name: New testcase.
1579
1580 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1581
1582 * gdb.ada/str_binop_equal: New testcase.
1583
1584 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1585
1586 * gdb.ada/task_switch_in_core: New testcase.
1587
1588 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
1589
1590 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1591 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1592 call test_bkpt_qualified.
1593 (test_bkpt_qualified): New proc.
1594
1595 2017-12-13 Pedro Alves <palves@redhat.com>
1596
1597 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1598 Tighten regexp by matching with an anchor.
1599
1600 2017-12-13 Pedro Alves <palves@redhat.com>
1601
1602 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1603 ("expression with namespace"): New set of tests.
1604 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1605 (Nested::Test_NS::qux): New.
1606 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1607 defaults to 'start_quote_char' and 'end_quote_char' parameters.
1608
1609 2017-12-13 Joel Brobecker <brobecker@adacore.com>
1610
1611 * gdb.base/server-del-break.c: New file.
1612 * gdb.base/server-del-break.exp: New file.
1613
1614 2017-12-12 Stafford Horne <shorne@gmail.com>
1615
1616 * gdb.xml/tdesc-regs.exp: Add or1k support.
1617
1618 2017-12-12 Stafford Horne <shorne@gmail.com>
1619
1620 * gdb.base/bp-permanent.c: Define nop of or1k.
1621
1622 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1623
1624 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1625 output with components being reordered.
1626
1627 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1628
1629 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1630 output with components being reordered.
1631
1632 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1633 Pedro Alves <palves@redhat.com>
1634
1635 * gdb.base/maint.exp (check for .gdb_index): Check also for
1636 .debug_names.
1637 * gdb.dlang/watch-loc.c (.debug_aranges): New.
1638 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1639 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1640 (.gdb_index used after symbol reloading): Support also .debug_names.
1641 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
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 tests for watchpoint.
1647
1648 2017-12-08 Yao Qi <yao.qi@linaro.org>
1649
1650 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1651 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1652
1653 2017-12-08 Yao Qi <yao.qi@linaro.org>
1654
1655 * gdb.arch/aarch64-tagged-pointer.c: New file.
1656 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1657
1658 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1659
1660 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1661 "int".
1662
1663 2017-12-07 Keith Seitz <keiths@redhat.com>
1664
1665 PR breakpoints/22569
1666 * gdb.linespec/ls-errs.exp: Change expected result of "break
1667 -source this file has spaces.c -line 3".
1668 Check that an explicit source file followed by whitespace is
1669 identified as an invalid explicit location.
1670
1671 2017-12-07 Keith Seitz <keiths@redhat.com>
1672
1673 * gdb.cp/nested-types.cc: New file.
1674 * gdb.cp/nested-types.exp: New file.
1675 * lib/cp-support.exp: Load data-structures.exp library.
1676 (debug_cp_test_ptype_class): New global.
1677 (cp_ptype_class_verbose, next_line): New procedures.
1678 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1679 Add and document new return value.
1680 Switch the list of lines to a queue.
1681 Add support for new `type' key for nested type definitions.
1682 Add debugging/troubleshooting messages.
1683 * lib/data-structures.exp: New file.
1684
1685 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1686
1687 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1688 with proc_with_prefix, don't use with_test_prefix.
1689
1690 2017-12-07 Tom Tromey <tom@tromey.com>
1691
1692 * gdb.base/break.exp: Add test for empty "commands".
1693
1694 2017-12-07 Yao Qi <yao.qi@linaro.org>
1695
1696 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1697 malloc and catch syscall.
1698
1699 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1700
1701 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1702 tests for explicit locations.
1703
1704 2017-12-06 Pedro Alves <palves@redhat.com>
1705
1706 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1707 force-disabling XML descriptions.
1708
1709 2017-12-04 Pedro Alves <palves@redhat.com>
1710
1711 PR gdb/22499
1712 * gdb.arch/amd64-disp-step-avx.S: New file.
1713 * gdb.arch/amd64-disp-step-avx.exp: New file.
1714
1715 2017-12-03 Pedro Alves <palves@redhat.com>
1716
1717 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1718 and <string.h>.
1719 (parent_function): Print distinct messages when waitpid fails, or
1720 the child exits with a signal, or the child exits for an unhandled
1721 reason.
1722 * gdb.threads/process-dies-while-detaching.exp
1723 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1724 it. Wait for both inferior output and GDB's prompt. Use an
1725 indirect spawn id list.
1726 (do_detach): New parameter 'child_exit'. Use it to compute
1727 expected inferior output.
1728 (test_detach, test_detach_watch, test_detach_killed_outside):
1729 Adjust to pass down the expected child exit kind.
1730
1731 2017-12-01 Joel Brobecker <brobecker@adacore.com>
1732 Sergio Durigan Junior <sergiodj@redhat.com>
1733 Pedro Alves <palves@redhat.com>
1734
1735 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1736
1737 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1738
1739 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1740 to 'symbol-file' and 'add-symbol-file' can be
1741 position-independent.
1742
1743 2017-12-01 Yao Qi <yao.qi@linaro.org>
1744
1745 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1746 the URL in copyright header.
1747 * gdb.arch/aarch64-fp.exp: Likewise.
1748 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1749 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1750 * gdb.base/expand-psymtabs.exp: Likewise.
1751 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1752 * gdb.fortran/common-block.exp: Likewise.
1753 * gdb.fortran/common-block.f90: Likewise.
1754 * gdb.fortran/logical.exp: Likewise.
1755 * gdb.fortran/vla-datatypes.f90: Likewise.
1756 * gdb.fortran/vla-sub.f90: Likewise.
1757
1758 2017-11-30 Joel Brobecker <brobecker@adacore.com>
1759
1760 * gdb.ada/repeat_dyn: New testcase.
1761
1762 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1763
1764 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1765 Update for changed thread numbering.
1766 * gdb.cell/bt.exp: Update for changed GDB output.
1767
1768 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1769
1770 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1771 setting isremote by hand.
1772 * boards/dwarf4-gdb-index.exp: Likewise.
1773 * boards/fission.exp: Likewise.
1774 * boards/stabs.exp: Likewise.
1775
1776 2017-11-30 Pedro Alves <palves@redhat.com>
1777
1778 * gdb.linespec/cpls-ops.exp
1779 (check_explicit_skips_function_argument): Extract the underlying
1780 type of size_t instead of hardcoding it.
1781
1782 2017-11-29 Pedro Alves <palves@redhat.com>
1783
1784 PR c++/19436
1785 * gdb.linespec/cpls-abi-tag.cc: New file.
1786 * gdb.linespec/cpls-abi-tag.exp: New file.
1787
1788 2017-11-29 Pedro Alves <palves@redhat.com>
1789
1790 * gdb.base/langs.exp: Use -qualified.
1791 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1792 it.
1793 * gdb.cp/namespace.exp: Use -qualified.
1794 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1795 (overload-3, template-overload, template-ret-type, const-overload)
1796 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1797 procedures.
1798 (test_driver): Call them.
1799 * gdb.cp/save-bp-qualified.cc: New.
1800 * gdb.cp/save-bp-qualified.exp: New.
1801 * gdb.linespec/explicit.exp: Test -qualified.
1802 * lib/completion-support.exp (completion::explicit_opts_list): Add
1803 "-qualified".
1804 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1805
1806 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1807
1808 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1809
1810 2017-11-29 Tom Tromey <tom@tromey.com>
1811
1812 * gdb.base/relocate.exp: Update invalid argument test.
1813 Add new tests for invalid arguments.
1814
1815 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1816
1817 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1818 Return 0 as a long.
1819 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1820
1821 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1822
1823 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1824 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1825 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1826 func ().
1827 * gdb.cp/shadow.cc (B.func): Return 0.
1828
1829 2017-11-27 Joel Brobecker <brobecker@adacore.com>
1830
1831 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1832 expected output in gdb_expect call to allow the exception
1833 message to be present as well. Fix syntax confusion to avoid
1834 TCL thinking that exception_name is an array.
1835
1836 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1837
1838 * gdb.arch/spu-info.c: Include <unistd.h>.
1839 (do_signal_test): Fix broken calls to write.
1840 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1841 Fix checks for empty mailboxes. Update signal tests for corrected
1842 do_signal_test routine. Allow nonzero event status.
1843 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1844 * gdb.cell/arch.exp: Use standard_output_file.
1845 * gdb.cell/break.exp: Likewise.
1846 * gdb.cell/bt.exp: Likewise.
1847 * gdb.cell/core.exp: Likewise.
1848 * gdb.cell/dwarfaddr.exp: Likewise.
1849 * gdb.cell/ea-cache.exp: Likewise.
1850 * gdb.cell/ea-standalone.exp: Likewise.
1851 * gdb.cell/f-regs.exp: Likewise.
1852 * gdb.cell/fork.exp: Likewise.
1853 * gdb.cell/gcore.exp: Likewise.
1854 * gdb.cell/mem-access.exp: Likewise.
1855 * gdb.cell/ptype.exp: Likewise.
1856 * gdb.cell/registers.exp: Likewise.
1857 * gdb.cell/sizeof.exp: Likewise.
1858 * gdb.cell/solib-symbol.exp: Likewise.
1859 * gdb.cell/solib.exp: Likewise.
1860
1861 2017-11-25 Pedro Alves <palves@redhat.com>
1862
1863 * gdb.base/complete-empty.exp: New file.
1864 * gdb.base/completion.exp: Adjust.
1865
1866 2017-11-25 Pedro Alves <palves@redhat.com>
1867
1868 * gdb.linespec/cpls-ops.cc: New file.
1869 * gdb.linespec/cpls-ops.exp: New file.
1870 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1871 factored out from ...
1872 (test_complete_prefix_range): ... this.
1873
1874 2017-11-24 Pedro Alves <palves@redhat.com>
1875
1876 * gdb.linespec/cpcompletion.exp: New file.
1877 * gdb.linespec/cpls-hyphen.cc: New file.
1878 * gdb.linespec/cpls.cc: New file.
1879 * gdb.linespec/cpls2.cc: New file.
1880 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1881 test to use test_gdb_complete_unique. Add label completion,
1882 keyword completion and explicit location completion tests.
1883 * lib/completion-support.exp: New file.
1884
1885 2017-11-24 Joel Brobecker <brobecker@adacore.com>
1886
1887 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1888 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1889 when hitting an exception catchpoint.
1890
1891 2017-11-22 Yao Qi <yao.qi@linaro.org>
1892
1893 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1894
1895 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1896
1897 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1898 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1899 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1900
1901 2017-11-22 Yao Qi <yao.qi@linaro.org>
1902
1903 * gdb.base/info-os.exp: Pass pthreads.
1904 * gdb.multi/multi-attach.exp: Likewise.
1905
1906 2017-11-22 Yao Qi <yao.qi@linaro.org>
1907
1908 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1909 compiler.
1910
1911 2017-11-22 Yao Qi <yao.qi@linaro.org>
1912
1913 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1914 * gdb.base/break-interp.exp: Likewise.
1915 * gdb.base/jit-attach-pie.exp: Likewise.
1916
1917 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1918
1919 * gdb.base/float128.c (large128): New variable.
1920 * gdb.base/float128.exp: Add test to print largest __float128 value.
1921
1922 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1923
1924 * gdb.arch/vsx-regs.exp: Update register content checks.
1925
1926 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1927
1928 * gdb.arch/ppc-longdouble.exp: New file.
1929 * gdb.arch/ppc-longdouble.c: Likewise.
1930
1931 2017-11-21 Pedro Alves <palves@redhat.com>
1932
1933 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
1934
1935 2017-11-20 Pedro Alves <palves@redhat.com>
1936
1937 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
1938 (long_double_typedef): New typedefs.
1939 Use DEF on double and long double.
1940 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
1941 cases.
1942 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
1943 and 'long_double_ptr_same_size' locals. Use them to decide
1944 whether cast from array/function to float is valid/invalid.
1945
1946 2017-11-17 Tom Tromey <tom@tromey.com>
1947
1948 * gdb.rust/traits.rs: New file.
1949 * gdb.rust/traits.exp: New file.
1950
1951 2017-11-17 Joel Brobecker <brobecker@adacore.com>
1952
1953 * gdb.ada/minsyms: New testcase.
1954
1955 2017-11-16 Pedro Alves <palves@redhat.com>
1956
1957 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
1958 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
1959
1960 2017-11-16 Pedro Alves <palves@redhat.com>
1961
1962 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
1963 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
1964
1965 2017-11-16 Pedro Alves <palves@redhat.com>
1966
1967 * gdb.server/reconnect-ctrl-c.c: New file.
1968 * gdb.server/reconnect-ctrl-c.exp: New file.
1969
1970 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
1971
1972 * gdb.python/py-rbreak.exp: New file.
1973 * gdb.python/py-rbreak.c: New file.
1974 * gdb.python/py-rbreak-func2.c: New file.
1975
1976 2017-11-16 Pedro Alves <palves@redhat.com>
1977
1978 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
1979 pattern.
1980 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
1981 GDB.
1982
1983 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
1984
1985 * gdb.tui/completionn.exp (test_tab_completion): Add space in
1986 regex.
1987
1988 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
1989
1990 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
1991 test names.
1992
1993 2017-11-09 Pedro Alves <palves@redhat.com>
1994
1995 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
1996 factored out from ...
1997 (top level): ... here, and adjusted to avoid expecting beyond the
1998 prompt in a single gdb_test_multiple.
1999
2000 2017-11-09 Pedro Alves <palves@redhat.com>
2001
2002 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2003 output.
2004 * gdb.server/ext-attach.exp ("kill" test): Likewise.
2005 * gdb.server/ext-restart.exp ("kill" test): Likewise.
2006 * gdb.server/ext-run.exp ("kill" test): Likewise.
2007 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2008
2009 2017-11-09 Pedro Alves <palves@redhat.com>
2010
2011 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2012 match till end of line.
2013
2014 2017-11-09 Pedro Alves <palves@redhat.com>
2015
2016 * gdb.base/memattr.exp: Tighten regexes to match the end line.
2017
2018 2017-11-09 Pedro Alves <palves@redhat.com>
2019
2020 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2021 New procedures, factored out from ...
2022 (top level): ... here, and adjusted to avoid expecting beyond the
2023 prompt in one go.
2024
2025 2017-11-09 Pedro Alves <palves@redhat.com>
2026
2027 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2028 output. Fix '?' match.
2029
2030 2017-11-08 Joel Brobecker <brobecker@adacore.com>
2031
2032 * gdb.ada/scoped_watch: New testcase.
2033 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2034 which is actually correct.
2035 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2036 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2037
2038 2017-11-08 Pedro Alves <palves@redhat.com>
2039
2040 * gdb.gdb/complaints.exp (test_initial_complaints)
2041 (test_serial_complaints, test_short_complaints): Call
2042 complaint_internal instead of complaint.
2043
2044 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
2045
2046 * gdb.threads/tls-core.c: New file.
2047 * gdb.threads/tls-core.exp: Likewise.
2048
2049 2017-11-08 Pedro Alves <palves@redhat.com>
2050
2051 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2052 (p Exported_Capitalized): New test.
2053 (p exported_capitalized): New test.
2054
2055 2017-11-07 Pedro Alves <palves@redhat.com>
2056
2057 * gdb.cp/ena-dis-br-range.exp: Add more tests.
2058
2059 2017-11-07 Pedro Alves <palves@redhat.com>
2060
2061 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2062 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2063 (disable_invalid, disable_inverted, disable_negative): New
2064 procedures.
2065 ("bad numbers"): New set of tests.
2066
2067 2017-11-07 Pedro Alves <palves@redhat.com>
2068
2069 * gdb.cp/ena-dis-br-range.exp: Add tests.
2070
2071 2017-11-07 Pedro Alves <palves@redhat.com>
2072
2073 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2074
2075 2017-11-07 Xavier Roirand <roirand@adacore.com>
2076 Pedro Alves <palves@redhat.com>
2077
2078 * gdb.base/ena-dis-br.exp: Add reference to
2079 gdb.cp/ena-dis-br-range.exp.
2080 * gdb.cp/ena-dis-br-range.exp: New file.
2081 * gdb.cp/ena-dis-br-range.cc: New file.
2082
2083 2017-11-06 Pedro Alves <palves@redhat.com>
2084
2085 * gdb.base/attach-non-pgrp-leader.c: New.
2086 * gdb.base/attach-non-pgrp-leader.exp: New.
2087
2088 2017-11-06 Pedro Alves <palves@redhat.com>
2089
2090 * configure.ac: No longer check for termio.h and sgtty.h.
2091 * configure: Regenerate.
2092 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2093 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2094 Remove termio and sgtty code.
2095
2096 2017-11-03 Yao Qi <yao.qi@linaro.org>
2097
2098 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2099 in GDB is disabled.
2100
2101 2017-11-03 Yao Qi <yao.qi@linaro.org>
2102
2103 * gdb.python/py-thrhandle.exp: Skip it if python is not
2104 enabled.
2105
2106 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2107
2108 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2109 as a breakpoint command.
2110
2111 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2112
2113 PR python/21213
2114 * gdb.python/py-infthread.exp: Test calling
2115 InferiorThread.inferior () multiple times in a row.
2116
2117 2017-10-27 Keith Seitz <keiths@redhat.com>
2118
2119 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2120 Test "info break" for every inlined function breakpoint.
2121
2122 2017-10-27 Yao Qi <yao.qi@linaro.org>
2123
2124 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2125
2126 2017-10-26 Patrick Frants <osscontribute@gmail.com>
2127
2128 * gdb.cp/classes.exp (test_static_members): Test printing
2129 Outer::instance.
2130 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2131 (Inner::instance, Outer::instance): New.
2132
2133 2017-10-24 Pedro Alves <palves@redhat.com>
2134
2135 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2136 extra console" test in two stages.
2137
2138 2017-10-24 Pedro Alves <palves@redhat.com>
2139
2140 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2141
2142 2017-10-24 Pedro Alves <palves@redhat.com>
2143
2144 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2145 loop.
2146
2147 2017-10-24 Pedro Alves <palves@redhat.com>
2148
2149 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2150 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2151
2152 2017-10-24 Pedro Alves <palves@redhat.com>
2153
2154 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2155 parameter and handle it. Don't output read value in test name.
2156
2157 2017-10-24 Pedro Alves <palves@redhat.com>
2158
2159 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2160 custom test name.
2161
2162 2017-10-24 Pedro Alves <palves@redhat.com>
2163
2164 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2165 include the unstable output directory name in the test's name.
2166 (initial_setup_simple) <'set args'>: Use custom test name.
2167
2168 2017-10-24 Pedro Alves <palves@redhat.com>
2169
2170 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2171 with explicit test name.
2172
2173 2017-10-20 Pedro Alves <palves@redhat.com>
2174
2175 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2176 'wait -i'. Use gdb_assert and remote_close.
2177
2178 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2179
2180 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2181 number from variable rather than hard-coded.
2182
2183 2017-10-19 Pedro Alves <palves@redhat.com>
2184
2185 * gdb.base/long-inferior-output.c: New file.
2186 * gdb.base/long-inferior-output.exp: New file.
2187
2188 2017-11-18 Keith Seitz <keiths@redhat.com>
2189
2190 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2191 method.
2192 (main): Call it.
2193 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2194 Add additional user-defined conversion operator tests.
2195
2196 2017-10-17 Pedro Alves <palves@redhat.com>
2197
2198 * boards/native-stdio-gdbserver.exp: Load "local-board".
2199
2200 2017-10-17 Pedro Alves <palves@redhat.com>
2201
2202 * gdb.base/quit-live.c: New file.
2203 * gdb.base/quit-live.exp: New file.
2204
2205 2017-10-16 Keith Seitz <keiths@redhat.com>
2206
2207 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2208 (class_with_protected_typedef, class_with_private_typedef)
2209 (struct_with_public_typedef, struct_with_protected_typedef)
2210 (struct_with_private_typedef): New classes/structs.
2211 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2212 typedefs and access specifiers.
2213
2214 2017-10-16 Pedro Alves <palves@redhat.com>
2215 Simon Marchi <simon.marchi@polymtl.ca>
2216
2217 * README (Local vs Remote vs Native): New section.
2218 * boards/local-board.exp: New file, with bits factored out from
2219 ...
2220 * boards/native-extended-gdbserver.exp: ... here. Load
2221 "local-board".
2222 * boards/native-gdbserver.exp: Load "local-board".
2223 (${board}_spawn, ${board}_exec): Delete.
2224 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2225 ...
2226 * boards/stdio-gdbserver-base.exp: ... this new file.
2227 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2228 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2229 procedure.
2230 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2231 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2232 stdio_gdbserver_command.
2233 (${board}_get_remote_address, ${board}_get_comm_port)
2234 (${board}_download, ${board}_upload): Delete.
2235 (get_target_remote_pipe_cmd): New.
2236
2237 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2238
2239 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2240 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2241 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2242 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2243 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2244 remove with_test_prefix.
2245
2246 2017-10-13 Pedro Alves <palves@redhat.com>
2247
2248 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2249 * gdb.base/annota1.exp: Use it instead of is_remote.
2250 * gdb.base/annota3.exp: Use it instead of is_remote.
2251 * gdb.cp/annota2.exp: Use it instead of is_remote.
2252 * gdb.cp/annota3.exp: Use it instead of is_remote.
2253 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2254
2255 2017-10-13 Pedro Alves <palves@redhat.com>
2256
2257 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2258 (test_num_test_vars, run_and_count_vars, find_env)
2259 (test_set_unset_env, test_inherit_env_var): New procedures.
2260 (top level): Use them.
2261
2262 2017-10-13 Pedro Alves <palves@redhat.com>
2263
2264 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2265 also skip on stub-like targets.
2266
2267 2017-10-13 Pedro Alves <palves@redhat.com>
2268
2269 PR gdb/22293
2270 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2271 (top level): Move some tests to ...
2272 (test_not_found): ... this new procedure.
2273 (top level): Call it.
2274
2275 2017-10-13 Pedro Alves <palves@redhat.com>
2276
2277 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2278 expect different "info terminal" output if testing with a
2279 non-native target.
2280
2281 2017-10-13 Pedro Alves <palves@redhat.com>
2282 Simon Marchi <simon.marchi@polymtl.ca>
2283
2284 PR python/12966
2285 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2286
2287 2017-10-13 Pedro Alves <palves@redhat.com>
2288
2289 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2290 already.
2291
2292 2017-10-13 Pedro Alves <palves@redhat.com>
2293
2294 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2295 is_remote.
2296
2297 2017-10-13 Pedro Alves <palves@redhat.com>
2298
2299 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2300 is_remote.
2301
2302 2017-10-13 Pedro Alves <palves@redhat.com>
2303
2304 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2305 is set.
2306 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2307 instead of is_remote.
2308
2309 2017-10-13 Pedro Alves <palves@redhat.com>
2310
2311 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2312 (top level): Add comment.
2313
2314 2017-10-13 Pedro Alves <palves@redhat.com>
2315
2316 * gdb.base/remote.exp (top level): Fix comment typo and add
2317 missing return.
2318
2319 2017-10-13 Pedro Alves <palves@redhat.com>
2320 Simon Marchi <simon.marchi@polymtl.ca>
2321
2322 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2323 calls and add comments. Skip test if use_gdb_stub is set.
2324 (top level): Use "set cwd" command instead of "cd" command.
2325
2326 2017-10-13 Pedro Alves <palves@redhat.com>
2327
2328 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2329 is_remote target check.
2330
2331 2017-10-13 Pedro Alves <palves@redhat.com>
2332
2333 * gdb.base/scope.exp: Use build_executable + clean_restart +
2334 gdb_file_cmd instead of prepare_for_testing and no longer skip
2335 "before run" tests on is_remote target boards. Update comments.
2336 * boards/native-extended-gdbserver.exp
2337 (extended_gdbserver_load_last_file): New, factored out from ...
2338 (gdb_load): ... this. Move further below and add comment.
2339 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2340
2341 2017-10-12 Pedro Alves <palves@redhat.com>
2342
2343 * gdb.base/attach.exp: Remove references to gdb64.
2344 * gdb.base/dbx.exp: Remove references to gdb64.
2345
2346 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2347 Pedro Alves <palves@redhat.com>
2348
2349 * gdb.base/label.exp: Remove is_remote target check.
2350
2351 2017-10-12 Pedro Alves <palves@redhat.com>
2352
2353 * gdb.base/auvx.exp (coredir): Update comment.
2354 (top level) <core_works>: Use "set cwd" command instead of "cd"
2355 command.
2356
2357 2017-10-12 Pedro Alves <palves@redhat.com>
2358 Simon Marchi <simon.marchi@polymtl.ca>
2359
2360 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2361 target boards.
2362
2363 2017-10-12 Pedro Alves <palves@redhat.com>
2364 Simon Marchi <simon.marchi@polymtl.ca>
2365
2366 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2367 Instead skip if there's any gdb_protocol set.
2368
2369 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2370 Pedro Alves <palves@redhat.com>
2371
2372 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2373
2374 2017-10-12 Pedro Alves <palves@redhat.com>
2375 Simon Marchi <simon.marchi@polymtl.ca>
2376
2377 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2378 instead of on dejagnu remote boards.
2379
2380 2017-10-12 Pedro Alves <palves@redhat.com>
2381 Simon Marchi <simon.marchi@polymtl.ca>
2382
2383 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2384 checks. Use build_executable + clean_restart instead of
2385 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2386 of enabling non-stop after starting gdb.
2387
2388 2017-10-12 Pedro Alves <palves@redhat.com>
2389
2390 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2391 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2392 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2393 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2394
2395 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2396
2397 * gdb.arch/arc-tdesc-cpu.exp: New file.
2398 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2399
2400 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2401
2402 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2403
2404 2017-10-10 Pedro Alves <palves@redhat.com>
2405
2406 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2407 expect CLI output.
2408
2409 2017-10-10 Pedro Alves <palves@redhat.com>
2410
2411 * lib/selftest-support.exp (selftest_setup): Update for
2412 captured_command_loop's prototype change.
2413
2414 2017-10-09 Pedro Alves <palves@redhat.com>
2415
2416 Test both arch1=>arch2 and arch2=>arch1.
2417
2418 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2419 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2420 factored out to...
2421 (append_arch1_options, append_arch2_options, append_arch_options)
2422 (build_executables): New procedures.
2423 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2424 local.
2425 (top level): Add new 'first_arch' testing axis.
2426
2427 2017-10-09 Pedro Alves <palves@redhat.com>
2428
2429 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2430 (barrier): New.
2431 (thread_start, all_started): New functions.
2432 (main): Spawn new thread and wait until it is scheduled.
2433 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2434 option.
2435 (do_test): Add 'selected_thread' parameter. Run to all_started
2436 instead of main. Explicitly set the breakpoint at main. Switch
2437 to the SELECTED_THREAD thread.
2438 (top level): Test handling the exec event with either the main
2439 thread or the second thread selected.
2440
2441 2017-10-09 Pedro Alves <palves@redhat.com>
2442
2443 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2444 logic. Move STOP marker after the value checks.
2445 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2446 regexp.
2447
2448 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2449
2450 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2451
2452 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2453
2454 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2455 integer-to-dfp conversion.
2456 * gdb.base/dfp-test.exp: Likewise.
2457
2458 2017-10-04 Pedro Alves <palves@redhat.com>
2459
2460 * gdb.multi/hangout.c: Include <unistd.h>.
2461 (hangout_loop): New function.
2462 (main): Call alarm. Call hangout_loop in a loop.
2463 * gdb.multi/hello.c: Include <unistd.h>.
2464 (hello_loop): New function.
2465 (main): Call alarm. Call hangout_loop in a loop.
2466 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2467 inferior with the other selected.
2468
2469 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2470
2471 * gdb.mi/list-thread-groups-available.exp: New file.
2472 * gdb.mi/list-thread-groups-available.c: New file.
2473
2474 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2475
2476 * gdb.base/set-cwd.exp: Make it available on
2477 native-extended-gdbserver.
2478
2479 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2480
2481 * gdb.base/set-cwd.c: New file.
2482 * gdb.base/set-cwd.exp: Likewise.
2483
2484 2017-10-02 Tom Tromey <tom@tromey.com>
2485
2486 PR rust/22236:
2487 * gdb.rust/simple.rs (main): New variable "fslice".
2488 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2489
2490 2017-10-02 Tom Tromey <tom@tromey.com>
2491
2492 * gdb.rust/simple.exp: Test ptype of a slice.
2493
2494 2017-10-02 Tom Tromey <tom@tromey.com>
2495
2496 * gdb.rust/simple.exp: Test index of slice.
2497
2498 2017-09-27 Tom Tromey <tom@tromey.com>
2499
2500 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2501
2502 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2503 Pedro Alves <palves@redhat.com>
2504
2505 * gdb.base/compare-sections.exp (get value of read-only section): Read
2506 as unsigned value.
2507 (corrupt read-only section): Likewise and don't set written if patching
2508 failed.
2509
2510 2017-09-21 Kevin Buettner <kevinb@redhat.com>
2511
2512 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2513 files.
2514
2515 2017-09-20 Pedro Alves <palves@redhat.com>
2516
2517 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2518 symbol names in gdb's output.
2519 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2520
2521 2017-09-20 Pedro Alves <palves@redhat.com>
2522
2523 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2524 Rename to ...
2525 (test_list_ambiguous_symbol): ... this and add a symbol name
2526 parameter. Adjust.
2527 (test_list_ambiguous_function): Reimplement on top of
2528 test_list_ambiguous_symbol and also test listing ambiguous
2529 variables.
2530 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2531 (ambiguous_fun): ... this.
2532 (ambiguous_var): New.
2533 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2534 (ambiguous_fun): ... this.
2535 (ambiguous_var): New.
2536
2537 2017-09-19 John Baldwin <jhb@FreeBSD.org>
2538
2539 * gdb.base/starti.c: New file.
2540 * gdb.base/starti.exp: New file.
2541 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2542
2543 2017-09-14 Pedro Alves <palves@redhat.com>
2544
2545 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2546 (top level): Use it instead of runto.
2547
2548 2017-09-11 Tom Tromey <tom@tromey.com>
2549
2550 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2551
2552 2017-09-11 Tom Tromey <tom@tromey.com>
2553
2554 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2555 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2556
2557 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2558
2559 * gdb.fortran/printing-types.exp: New file.
2560 * gdb.fortran/printing-types.exp: New file.
2561
2562 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2563
2564 * gdb.fortran/vla-ptype.exp: Fix typos.
2565 * gdb.fortran/vla-value.exp: Same.
2566
2567 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2568
2569 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2570 * gdb.mi/mi-var-child-f.exp: Likewise.
2571 * gdb.mi/mi-vla-fortran.exp: Likewise.
2572
2573 2017-09-08 Frank Penczek <frank.penczek@intel.com>
2574 Christoph Weinmann <christoph.t.weinmann@intel.com>
2575 Bernhard Heckel <bernhard.heckel@intel.com>
2576
2577 * gdb.fortran/ptr-indentation.f90: New file.
2578 * gdb.fortran/ptr-indentation.exp: New file.
2579
2580 2017-09-05 Tom Tromey <tom@tromey.com>
2581
2582 PR gdb/22010:
2583 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2584
2585 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2586
2587 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2588
2589 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2590
2591 * gdb.threads/tls-nodebug-pie.c: New file.
2592 * gdb.threads/tls-nodebug-pie.exp: New file.
2593
2594 2017-09-05 Tom Tromey <tom@tromey.com>
2595
2596 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2597 for rust.
2598
2599 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
2600
2601 * gdb.multi/multi-arch-exec.exp: Test with different
2602 "follow-exec-mode" settings.
2603 (do_test): New procedure.
2604
2605 2017-09-04 Pedro Alves <palves@redhat.com>
2606
2607 * gdb.base/func-static.c (S::method const, S::method volatile)
2608 (S::method volatile const): New methods.
2609 (c_s, v_s, cv_s): New instances.
2610 (main): Call method() on them.
2611 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2612 (cannot_resolve): New procedure.
2613 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
2614 print-quote-unquoted columns.
2615 (do_test): Test printing each scope too.
2616
2617 2017-09-04 Pedro Alves <palves@redhat.com>
2618
2619 * gdb.base/local-static.exp: Also test with
2620 class::method::variable wholly quoted.
2621 * gdb.cp/m-static.exp (class::method::variable): Remove test.
2622
2623 2017-09-04 Pedro Alves <palves@redhat.com>
2624
2625 * gdb.base/local-static.c: New.
2626 * gdb.base/local-static.cc: New.
2627 * gdb.base/local-static.exp: New.
2628
2629 2017-09-04 Pedro Alves <palves@redhat.com>
2630
2631 * gdb.asm/asm-source.exp: Add casts to int.
2632 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2633 (dataglobal64_1, dataglobal64_2): New globals.
2634 * gdb.base/nodebug.exp: Test different expressions involving the
2635 new globals, with print, whatis and ptype. Add casts to int.
2636 * gdb.base/solib-display.exp: Add casts to int.
2637 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
2638 * gdb.cp/m-static.exp: Add cast to int.
2639 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2640 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2641 tls variable with no debug info without a cast. Test with a cast
2642 to int too.
2643 * gdb.trace/entry-values.exp: Add casts.
2644
2645 2017-09-04 Pedro Alves <palves@redhat.com>
2646
2647 * gdb.base/nodebug.exp: Test that ptype's error about functions
2648 with unknown return type includes the function name too.
2649
2650 2017-09-04 Pedro Alves <palves@redhat.com>
2651
2652 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2653 return type of munmap in infcall.
2654 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2655 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2656 type of ftell in infcall.
2657 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2658 type of getpid in infcall.
2659 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2660 infcall.
2661 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2662 Bail on failure to extract the pid.
2663 * gdb.base/nodebug.c: #include <stdint.h>.
2664 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2665 New functions.
2666 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2667 Change expected output of print/whatis/ptype with functions with
2668 no debug info. Test all supported languages. Call
2669 test_call_promotion.
2670 * gdb.compile/compile.exp: Adjust expected output to expect
2671 warning.
2672 * gdb.threads/siginfo-threads.exp: Likewise.
2673
2674 2017-09-04 Pedro Alves <palves@redhat.com>
2675
2676 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2677 "prototypes". Test calling float functions via prototyped and
2678 unprototyped function pointers.
2679 (perform_all_tests): New parameter "prototypes". Pass it down.
2680 (top level): Pass down "prototypes" parameter to
2681 perform_all_tests.
2682
2683 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2684
2685 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2686 Test with nested loops.
2687
2688 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2689
2690 * gdb.base/commands.exp: Call the new procedures.
2691 (loop_break_test, loop_continue_test): New procedures.
2692
2693 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2694
2695 * gdb.base/commands.exp: Call new procedure.
2696 (define_if_without_arg_test): New procedure.
2697
2698 2017-09-04 Pedro Alves <palves@redhat.com>
2699
2700 * gdb.base/list-ambiguous.exp: New file.
2701 * gdb.base/list-ambiguous0.c: New file.
2702 * gdb.base/list-ambiguous1.c: New file.
2703 * gdb.base/list.exp (test_list_range): Adjust expected output.
2704
2705 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2706
2707 * gdb.base/share-env-with-gdbserver.c: New file.
2708 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2709
2710 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2711
2712 * gdb.base/commands.exp (gdbvar_simple_if_test,
2713 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2714 progvar_simple_if_test, progvar_simple_while_test,
2715 progvar_complex_if_while_test, user_defined_command_test,
2716 user_defined_command_args_eval,
2717 user_defined_command_args_stack_test,
2718 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2719 temporary_breakpoint_commands,
2720 gdb_test_no_prompt, redefine_hook_test,
2721 redefine_backtrace_test): Remove "global gdb_prompt".
2722
2723 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2724
2725 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2726 New proc, call it from toplevel.
2727
2728 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2729
2730 PR remote/21852
2731 * gdb.server/normal.c: New file, copied from gdb.base.
2732 * gdb.server/run-without-local-binary.exp: New file.
2733
2734 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
2735
2736 * gdb.arch/sparc64-adi.exp: New file.
2737 * gdb.arch/sparc64-adi.c: New file.
2738
2739 2017-08-22 Pedro Alves <palves@redhat.com>
2740
2741 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2742 (top level): Add "list all overloads" tests.
2743
2744 2017-08-22 Tom Tromey <tom@tromey.com>
2745
2746 * gdb.gdb/xfullpath.exp: Remove.
2747
2748 2017-08-21 Pedro Alves <palves@redhat.com>
2749
2750 PR gdb/19487
2751 * gdb.base/symbol-alias.c: New.
2752 * gdb.base/symbol-alias2.c: New.
2753 * gdb.base/symbol-alias.exp: New.
2754
2755 2017-08-21 Pedro Alves <palves@redhat.com>
2756
2757 * gdb.base/dfp-test.c
2758 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2759 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2760 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2761 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2762 * gdb.base/whatis-ptype-typedefs.c: New.
2763 * gdb.base/whatis-ptype-typedefs.exp: New.
2764 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2765 (an_int, an_int_type, an_int_type2): New globals.
2766 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2767 involving typedefs and cast expressions.
2768 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2769 (lookup_typedefs_function): New.
2770 (typedefs_pretty_printers_dict): New.
2771 (top level): Register lookup_typedefs_function in
2772 gdb.pretty_printers.
2773
2774 2017-08-18 Yao Qi <yao.qi@linaro.org>
2775
2776 * gdb.server/unittest.exp: New.
2777
2778 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2779
2780 PR gdb/21954
2781 * gdb.base/environ.exp: Add test to check if 'unset environment'
2782 works.
2783
2784 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2785
2786 * lib/gdb.exp (universal_compile_options): New caching proc.
2787 (gdb_compile): Suppress GCC's coloring of messages.
2788
2789 2017-08-14 Tom Tromey <tom@tromey.com>
2790
2791 PR gdb/21675:
2792 * gdb.base/printcmds.exp (test_radices): New function.
2793 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2794 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2795 * lib/gdb.exp (get_integer_valueof): Use p/d.
2796
2797 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2798
2799 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2800 characters.
2801
2802 2017-08-05 Tom Tromey <tom@tromey.com>
2803
2804 * gdb.rust/simple.exp: Allow String to appear in a different
2805 namespace.
2806
2807 2017-07-26 Yao Qi <yao.qi@linaro.org>
2808
2809 * gdb.gdb/unittest.exp: Invoke command
2810 "maintenance check xml-descriptions".
2811
2812 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2813
2814 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2815 calling context.
2816 (hex128): Drop erroneous calculation of parameters.
2817
2818 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2819
2820 * gdb.python/py-unwind.exp: Disable stack protection when
2821 building test file.
2822
2823 2017-07-20 Pedro Alves <palves@redhat.com>
2824
2825 * gdb.base/default.exp (set language): Adjust expected output.
2826
2827 2017-07-20 Pedro Alves <palves@redhat.com>
2828
2829 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2830 (test_minsym): ... this, and make static.
2831 (get_pck__foo__bar__minsym): Rename to ...
2832 (get_test_minsym): ... this.
2833 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2834 symbol names and comments.
2835 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2836 (get_test_minsym): ... this.
2837 (pck__foo__bar__minsym__2): Rename to ...
2838 (test_minsym): ... this.
2839 (main): Adjust.
2840
2841 2017-07-17 Pedro Alves <palves@redhat.com>
2842
2843 * gdb.base/completion.exp: Adjust expected output.
2844 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2845 the completer works.
2846
2847 2017-07-17 Pedro Alves <palves@redhat.com>
2848
2849 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2850
2851 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2852
2853 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2854
2855 2017-07-14 Tom Tromey <tom@tromey.com>
2856
2857 PR rust/21764:
2858 * gdb.rust/simple.exp: Add tests.
2859
2860 2017-07-14 Tom Tromey <tom@tromey.com>
2861
2862 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2863
2864 2017-07-14 Pedro Alves <palves@redhat.com>
2865
2866 * gdb.linespec/base/one/thefile.cc (z1): New function.
2867 * gdb.linespec/base/two/thefile.cc (z2): New function.
2868 * gdb.linespec/linespec.exp: Add tests.
2869
2870 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2871
2872 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2873 to mi_create_breakpoint.
2874
2875 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2876
2877 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2878 mi_create_breakpoint.
2879
2880 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2881
2882 * gdb.dlang/demangle.exp: Update for demangling changes.
2883
2884 2017-07-09 Tom Tromey <tom@tromey.com>
2885
2886 * gdb.dwarf2/shortpiece.exp: New file.
2887
2888 2017-07-06 David Blaikie <dblaikie@gmail.com>
2889
2890 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2891 built from fissiont-multi-cu{1,2}.c.
2892 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2893 except putting 'main' and 'func' in separate CUs in the same DWO file.
2894 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2895 test.
2896 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2897 test.
2898
2899 2017-07-06 Pedro Alves <palves@redhat.com>
2900
2901 * gdb.python/py-unwind.exp: Test flushregs.
2902
2903 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2904
2905 PR cli/21688
2906 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2907 tests for alias commands and trailing whitespace.
2908
2909 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2910
2911 PR cli/21688
2912 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2913 procedure. Call it.
2914
2915 2017-06-29 Pedro Alves <palves@redhat.com>
2916
2917 * gdb.base/printcmds.exp: Add tests.
2918
2919 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2920
2921 PR gdb/21337
2922 * gdb.base/reread-readsym.exp: New file.
2923 * gdb.base/reread-readsym.c: New file.
2924
2925 2017-06-21 Kevin Buettner <kevinb@redhat.com>
2926
2927 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
2928 subpattern.
2929
2930 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
2931
2932 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
2933 extended mnemonic.
2934 * gdb.arch/powerpc-power9.s: Likewise.
2935
2936 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2937
2938 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
2939 on 32-bit x86 targets. Exploit is_*_target macros where
2940 appropriate.
2941
2942 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2943
2944 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
2945 register pieces.
2946
2947 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2948
2949 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
2950 located in one or more DWARF pieces.
2951
2952 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2953
2954 * lib/gdb.exp (get_endianness): New proc.
2955 * gdb.arch/aarch64-fp.exp: Use it.
2956 * gdb.arch/altivec-regs.exp: Likewise.
2957 * gdb.arch/e500-regs.exp: Likewise.
2958 * gdb.arch/vsx-regs.exp: Likewise.
2959 * gdb.base/dump.exp: Likewise.
2960 * gdb.base/funcargs.exp: Likewise.
2961 * gdb.base/gnu_vector.exp: Likewise.
2962 * gdb.dwarf2/formdata16.exp: Likewise.
2963 * gdb.dwarf2/implptrpiece.exp: Likewise.
2964 * gdb.dwarf2/nonvar-access.exp: Likewise.
2965 * gdb.python/py-inferior.exp: Likewise.
2966 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2967
2968 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2969
2970 PR gdb/21226
2971 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
2972 stack value pieces are taken from the LSB end.
2973
2974 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2975
2976 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
2977 variable at nonzero offset.
2978
2979 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2980
2981 * gdb.dwarf2/var-access.c: New file.
2982 * gdb.dwarf2/var-access.exp: New test.
2983 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
2984
2985 2017-06-12 Tom Tromey <tom@tromey.com>
2986
2987 * gdb.dwarf2/formdata16.exp: Add tests.
2988
2989 2017-06-12 Tom Tromey <tom@tromey.com>
2990
2991 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
2992
2993 2017-06-12 Tom Tromey <tom@tromey.com>
2994
2995 PR exp/16225:
2996 * gdb.reverse/i386-sse-reverse.exp: Update tests.
2997 * gdb.arch/vsx-regs.exp: Update tests.
2998 * gdb.arch/s390-vregs.exp (hex128): New proc.
2999 Update test.
3000 * gdb.arch/altivec-regs.exp: Update tests.
3001
3002 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3003
3004 * gdb.base/startup-with-shell.c: New file.
3005 * gdb.base/startup-with-shell.exp: Likewise.
3006
3007 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3008
3009 * gdb.server/non-existing-program.exp: Update regex in order to
3010 reflect the fact that gdbserver is now using fork_inferior (with a
3011 shell) to startup the inferior.
3012
3013 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
3014
3015 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3016 support function calls from GDB.
3017
3018 2017-05-21 Tom Tromey <tom@tromey.com>
3019
3020 PR rust/21466:
3021 * gdb.rust/unsized.exp: New file.
3022 * gdb.rust/unsized.rs: New file.
3023
3024 2017-05-19 Tom Tromey <tom@tromey.com>
3025
3026 PR rust/21484:
3027 * gdb.rust/watch.exp: New file.
3028 * gdb.rust/watch.rs: New file.
3029
3030 2017-05-18 Tom Tromey <tom@tromey.com>
3031
3032 * gdb.rust/simple.exp: Allow Box to be qualified.
3033
3034 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3035
3036 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3037
3038 2017-05-18 Pedro Alves <palves@redhat.com>
3039
3040 * gdb.base/fileio.c (test_write, test_read, test_close)
3041 (test_fstat): Don't print 'ret' in the fail path.
3042
3043 2017-05-18 Pedro Alves <palves@redhat.com>
3044
3045 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3046 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3047 (test_system, test_rename, test_unlink, test_time): Change
3048 prototypes.
3049 * gdb.base/fileio.exp (stop_msg): Adjust.
3050
3051 2017-05-18 Pedro Alves <palves@redhat.com>
3052
3053 * gdb.base/fileio.c (null_str): New global.
3054 (test_stat): Use it.
3055 * gdb.base/fileio.exp: Remove nowarnings.
3056
3057 2017-05-17 Yao Qi <yao.qi@linaro.org>
3058
3059 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3060
3061 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
3062
3063 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3064 argument command.
3065 (top-level): Invoke test_set_inferior_tty.
3066
3067 2017-05-04 Pedro Alves <palves@redhat.com>
3068
3069 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3070 Add parens to print call for Python 3.
3071
3072 2017-05-03 Keith Seitz <keiths@redhat.com>
3073
3074 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3075 (main): Call it.
3076
3077 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3078
3079 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3080 to prev and next.
3081
3082 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3083
3084 * gdb.python/py-record-btrace.exp: Remove test for
3085 gdb.BtraceInstruction.error.
3086
3087 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3088
3089 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3090
3091 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3092
3093 * gdb.python/py-record-btrace-threads.c: New file.
3094 * gdb.python/py-record-btrace-threads.exp: New file.
3095
3096 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3097
3098 PR testsuite/8595
3099 * gdb.base/environ.exp: Make test available in all architectures.
3100 Move bits related to "info program" testing to
3101 gdb.base/info-program.exp. Rewrite tests to use the two new
3102 procedures mentione below.
3103 (test_set_show_env_var) New procedure.
3104 (test_set_show_env_var_equal): Likewise.
3105 * gdb.base/info-program.exp: New file.
3106
3107 2017-04-27 Keith Seitz <keiths@redhat.com>
3108
3109 * gdb.cp/oranking.cc (test15): New function.
3110 (main): Call test15 and declare additional variables for testing.
3111 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3112 "p foo101('abc')" tests.
3113 Add tests for cv qualifier overloads.
3114 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3115 "lvalue reference overload" test.
3116 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3117 "print value of f1 on Child&& in f2" test.
3118
3119 2017-04-19 Pedro Alves <palves@redhat.com>
3120
3121 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3122 procedure.
3123 (top level): Call it.
3124 * lib/gdb.exp (gdb_define_cmd): New procedure.
3125
3126 2017-04-12 Pedro Alves <palves@redhat.com>
3127
3128 PR gdb/21323
3129 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3130 (wchar): New global.
3131 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3132 (do_test_wide_char, wide_char_types_no_program, top level): Add
3133 wchar_t testing.
3134
3135 2017-04-12 Pedro Alves <palves@redhat.com>
3136
3137 PR c++/21323
3138 * gdb.cp/wide_char_types.c: New file.
3139 * gdb.cp/wide_char_types.exp: New file.
3140
3141 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3142
3143 PR gdb/21352
3144 * gdb.trace/tsv.exp: Add test for "tsave -r".
3145
3146 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3147
3148 * gdb.dlang/watch-loc.c: New file.
3149 * gdb.dlang/watch-loc.exp: New file.
3150
3151 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3152
3153 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3154
3155 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3156
3157 * gdb.arch/arc-analyze-prologue.S: New file.
3158 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3159
3160 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3161
3162 * gdb.arch/arc-decode-insn.S: New file.
3163 * gdb.arch/arc-decode-insn.exp: Likewise.
3164
3165 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3166
3167 PR tdep/20928
3168 * gdb.arch/sparc64-regs.exp: New file.
3169 * gdb.arch/sparc64-regs.S: Likewise.
3170
3171 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3172
3173 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3174 and memory view on Python 3.
3175
3176 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
3177 Keith Seitz <keiths@redhat.com>
3178
3179 PR gdb/14441
3180 * gdb.cp/demangle.exp: Add rvalue reference tests.
3181 * gdb.cp/rvalue-ref-casts.cc: New file.
3182 * gdb.cp/rvalue-ref-casts.exp: New file.
3183 * gdb.cp/rvalue-ref-overload.cc: New file.
3184 * gdb.cp/rvalue-ref-overload.exp: New file.
3185 * gdb.cp/rvalue-ref-params.cc: New file.
3186 * gdb.cp/rvalue-ref-params.exp: New file.
3187 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3188 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3189 * gdb.cp/rvalue-ref-types.cc: New file.
3190 * gdb.cp/rvalue-ref-types.exp: New file.
3191 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3192 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3193
3194 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3195
3196 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3197 New procedure.
3198
3199 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3200
3201 * lib/mi-support.exp (mi_gdb_test): Add additional message
3202 for unexpected output.
3203
3204 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3205
3206 * gdb.base/examine-backward.c (Barrier): New character array
3207 constant, to ensure that TestStrings is preceded by a string
3208 terminator.
3209
3210 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3211
3212 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3213 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3214 and implicit pointer into such a location.
3215
3216 2017-03-16 Doug Evans <dje@google.com>
3217
3218 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3219
3220 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3221
3222 * gdb.cp/m-static.exp: Fix expectation for prototype of
3223 test5.single_constructor and single_constructor::single_constructor.
3224
3225 2017-03-16 Doug Evans <dje@google.com>
3226
3227 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3228 * gdb.guile/scm-lazy-string.c: New file.
3229 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3230 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3231 for pointer, array, typedef lazy strings.
3232
3233 2017-03-16 Doug Evans <dje@google.com>
3234
3235 PR python/17728, python/18439, python/18779
3236 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3237 * gdb.python/py-lazy-string.c (pointer): New typedef.
3238 (main): New locals ptr, array, typedef_ptr.
3239 * gdb.python/py-value.exp: Move lazy string tests to ...
3240 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3241 array, typedef lazy strings.
3242
3243 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3244
3245 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3246 Add optional 'test' parameter.
3247
3248 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3249
3250 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3251 Skip for versions of DejaGnu < 1.5.
3252
3253 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3254
3255 * lib/gdb.exp (dejagnu_version): New proc.
3256 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3257 Use dejagnu_version.
3258
3259 2017-03-10 Keith Seitz <keiths@redhat.com>
3260
3261 PR c++/8128
3262 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3263 type from destructor regexps.
3264 Add a branch which actually passes the test.
3265 Adjust "ptype t5i" test names.
3266
3267 2017-03-08 Pedro Alves <palves@redhat.com>
3268
3269 * gdb.base/step-over-exit.exp: Add explicit test message.
3270
3271 2017-03-08 Pedro Alves <palves@redhat.com>
3272
3273 PR gdb/18360
3274 * gdb.threads/interrupt-while-step-over.c: New file.
3275 * gdb.threads/interrupt-while-step-over.exp: New file.
3276
3277 2017-03-08 Pedro Alves <palves@redhat.com>
3278
3279 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3280 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3281
3282 2017-03-08 Pedro Alves <palves@redhat.com>
3283
3284 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3285 PKRU as not supported as a PASS.
3286
3287 2017-03-08 Pedro Alves <palves@redhat.com>
3288
3289 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3290 prefix instead of $binfile1/$binfile2.
3291 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3292 in test message.
3293 * gdb.python/py-completion.exp: Use "load python file" as test
3294 messages instead of unstable path names.
3295
3296 2017-03-08 Pedro Alves <palves@redhat.com>
3297 Jan Kratochvil <jan.kratochvil@redhat.com>
3298
3299 PR cli/21218
3300 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3301 New proc.
3302 (top level): Call it.
3303
3304 2017-03-08 Pedro Alves <palves@redhat.com>
3305
3306 PR tui/21216
3307 * gdb.tui/tui-nl-filtered-output.exp: New file.
3308
3309 2017-03-08 Pedro Alves <palves@redhat.com>
3310
3311 * gdb.base/completion.exp: Move TUI completion tests to ...
3312 * gdb.tui/completion.exp: ... this new file.
3313
3314 2017-03-08 Pedro Alves <palves@redhat.com>
3315
3316 * gdb.base/tui-disasm-long-lines.c,
3317 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3318 gdb.base/tui-layout.exp: Move to ...
3319 * gdb.tui/: ... this new directory.
3320
3321 2017-03-07 Pedro Alves <palves@redhat.com>
3322
3323 * gdb.base/tui-layout.c: New file.
3324 * gdb.base/tui-layout.exp: New file.
3325
3326 2017-03-07 Pedro Alves <palves@redhat.com>
3327
3328 * gdb.base/tui-layout.c: Rename to ...
3329 * gdb.base/tui-disasm-long-lines.c: ... this.
3330 * gdb.base/tui-layout.exp: Rename to ...
3331 * gdb.base/tui-disasm-long-lines.exp: ... this.
3332
3333 2017-03-07 Pedro Alves <palves@redhat.com>
3334
3335 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3336
3337 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3338
3339 * i386-mpx-call.c: New file.
3340 * i386-mpx-call.exp: New file.
3341
3342 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3343
3344 * gdb.arch/powerpc-power.exp: Delete test.
3345 * gdb.arch/powerpc-power.s: Likewise.
3346 * gdb.disasm/disassembler-options.exp: New test.
3347 * gdb.arch/powerpc-altivec.exp: Likewise.
3348 * gdb.arch/powerpc-altivec.s: Likewise.
3349 * gdb.arch/powerpc-altivec2.exp: Likewise.
3350 * gdb.arch/powerpc-altivec2.s: Likewise.
3351 * gdb.arch/powerpc-altivec3.exp: Likewise.
3352 * gdb.arch/powerpc-altivec3.s: Likewise.
3353 * gdb.arch/powerpc-power7.exp: Likewise.
3354 * gdb.arch/powerpc-power7.s: Likewise.
3355 * gdb.arch/powerpc-power8.exp: Likewise.
3356 * gdb.arch/powerpc-power8.s: Likewise.
3357 * gdb.arch/powerpc-power9.exp: Likewise.
3358 * gdb.arch/powerpc-power9.s: Likewise.
3359 * gdb.arch/powerpc-vsx.exp: Likewise.
3360 * gdb.arch/powerpc-vsx.s: Likewise.
3361 * gdb.arch/powerpc-vsx2.exp: Likewise.
3362 * gdb.arch/powerpc-vsx2.s: Likewise.
3363 * gdb.arch/powerpc-vsx3.exp: Likewise.
3364 * gdb.arch/powerpc-vsx3.s: Likewise.
3365 * gdb.arch/arm-disassembler-options.exp: Likewise.
3366 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3367 * gdb.arch/s390-disassembler-options.exp: Likewise.
3368
3369 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
3370
3371 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3372 (check_supported_features): ... this. Changed return type to void.
3373 (supports_rdseed): New static global.
3374 (rdseed): Check supports_rdseed.
3375 (initialize): Call check_supported_features.
3376
3377 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3378
3379 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3380 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3381 and lqarx/stqcx.
3382 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3383 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3384
3385 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3386
3387 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3388 uppercase.
3389
3390 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3391
3392 * gdb.dwarf2/formdata16.c: New file.
3393 * gdb.dwarf2/formdata16.exp: New file.
3394 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3395
3396 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3397
3398 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3399 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3400 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3401 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3402 DW_AT_GNU_*.
3403
3404 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3405
3406 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3407
3408 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3409
3410 PR gdb/21164
3411 * gdb.base/maint.exp: Add testcases for when the commands do
3412 not have arguments.
3413
3414 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3415
3416 * gdb.cp/chained-calls.exp: Use p instead of P.
3417
3418 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3419
3420 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3421 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3422
3423 2017-02-14 Tom Tromey <tom@tromey.com>
3424
3425 PR python/13598:
3426 * gdb.python/py-events.exp: Add before_prompt event tests.
3427
3428 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3429
3430 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3431
3432 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3433
3434 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3435 (main): Call my_unique_function_name.
3436 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3437 completion of patterns with a single match.
3438 Add missing -re switches to gdb_test_multiple calls.
3439
3440 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3441
3442 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3443 return if core file is not recognized.
3444
3445 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3446
3447 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3448 and extra UIs.
3449
3450 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3451
3452 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3453 proc_with_prefix.
3454
3455 2017-02-10 Tom Tromey <tom@tromey.com>
3456
3457 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3458
3459 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
3460
3461 PR gdb/21122
3462 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3463
3464 2017-02-08 Jerome Guitton <guitton@adacore.com>
3465
3466 * gdb.base/define.exp: Add test for command abbreviations
3467 in define.
3468
3469 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
3470
3471 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3472 * gdb.reverse/insn-reverse-x86.c: New file.
3473
3474 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3475
3476 PR tdep/20936
3477 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3478
3479 2017-02-03 Tom Tromey <tom@tromey.com>
3480
3481 PR rust/21097:
3482 * gdb.rust/simple.exp: Add new tests.
3483
3484 2017-02-02 Pedro Alves <palves@redhat.com>
3485
3486 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3487 tests.
3488
3489 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3490
3491 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3492 taking a 2-byte value out of a 4-byte DWARF implicit value on
3493 big-endian targets.
3494 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3495 logic. Add test cases for DW_OP_implicit.
3496
3497 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3498
3499 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3500
3501 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3502
3503 * gdb.btrace/enable.exp: Call gdb_exit before
3504 skip_gdbserver_tests.
3505
3506 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3507
3508 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3509 GDBFLAGS.
3510
3511 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3512
3513 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3514 the test is skipped.
3515 * gdb.btrace/data.exp: Likewise.
3516 * gdb.btrace/delta.exp: Likewise.
3517 * gdb.btrace/dlopen.exp: Likewise.
3518 * gdb.btrace/enable-running.exp: Likewise.
3519 * gdb.btrace/enable.exp: Likewise.
3520 * gdb.btrace/exception.exp: Likewise.
3521 * gdb.btrace/function_call_history.exp: Likewise.
3522 * gdb.btrace/gcore.exp: Likewise.
3523 * gdb.btrace/instruction_history.exp: Likewise.
3524 * gdb.btrace/multi-thread-step.exp: Likewise.
3525 * gdb.btrace/nohist.exp: Likewise.
3526 * gdb.btrace/non-stop.exp: Likewise.
3527 * gdb.btrace/reconnect.exp: Likewise.
3528 * gdb.btrace/record_goto-step.exp: Likewise.
3529 * gdb.btrace/record_goto.exp: Likewise.
3530 * gdb.btrace/rn-dl-bind.exp: Likewise.
3531 * gdb.btrace/segv.exp: Likewise.
3532 * gdb.btrace/step.exp: Likewise.
3533 * gdb.btrace/stepi.exp: Likewise.
3534 * gdb.btrace/tailcall-only.exp: Likewise.
3535 * gdb.btrace/tailcall.exp: Likewise.
3536 * gdb.btrace/tsx.exp: Likewise.
3537 * gdb.btrace/unknown_functions.exp: Likewise.
3538 * gdb.btrace/vdso.exp: Likewise.
3539
3540 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3541
3542 * gdb.btrace/enable-running.c: New.
3543 * gdb.btrace/enable-running.exp: New.
3544
3545 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3546
3547 * gdb.arch/amd64-gs_base.c: New file.
3548 * gdb.arch/amd64-gs_base.exp: New file.
3549
3550 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3551
3552 * lib/memory.exp: Remove spurious empty newlines.
3553
3554 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3555
3556 * gdb.python/py-bad-printers.exp: Load python file using "source".
3557 * gdb.python/py-events.exp: Likewise.
3558 * gdb.python/py-evsignal.exp: Likewise.
3559 * gdb.python/py-evthreads.exp: Likewise.
3560 * gdb.python/py-frame-args.exp: Likewise.
3561 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3562 * gdb.python/py-framefilter-mi.exp: Likewise.
3563 * gdb.python/py-framefilter.exp: Likewise.
3564 * gdb.python/py-mi.exp: Likewise.
3565 * gdb.python/py-pp-maint.exp: Likewise.
3566 * gdb.python/py-pp-registration.exp: Likewise.
3567 * gdb.python/py-prettyprint.exp: Likewise.
3568 (run_lang_tests): Likewise.
3569 * gdb.python/py-typeprint.exp: Likewise.
3570
3571 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3572
3573 * lib/memory.exp: New file.
3574 * lib/gdb.exp: Load memory.exp.
3575 * gdb.base/memattr.exp (delete_memory): Move proc to
3576 lib/memory.exp and rename to delete_memory_regions.
3577 Replace delete_memory with delete_memory_regions.
3578 Cleanup memory regions before tests.
3579 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3580 before tests.
3581
3582 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3583
3584 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3585 files.
3586 (initialize): New function conditionally defined.
3587 (testcases): Move within conditional block.
3588 (main): Call initialize.
3589 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3590 of gdb.reverse/insn-reverse.c.
3591 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3592 gdb.reverse/insn-reverse.c.
3593
3594 2017-01-26 Yao Qi <yao.qi@linaro.org>
3595
3596 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3597 disassemble on address 0.
3598
3599 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
3600 Yao Qi <yao.qi@linaro.org>
3601
3602 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3603 * gdb.dwarf2/implptr-64bit.S: Remove.
3604 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
3605 variables in caller's context. Add DW_OP_implicit_value.
3606
3607 2017-01-25 Yao Qi <yao.qi@linaro.org>
3608
3609 * lib/dwarf.exp (Dwarf::_location): Handle
3610 DW_OP_GNU_implicit_pointer with proper size.
3611
3612 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3613
3614 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3615 and add untested calls.
3616
3617 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3618
3619 * gdb.python/python.exp: Check line number against what GDB thinks
3620 the line number is for func1.
3621
3622 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
3623
3624 * gdb.dlang/debug-expr.exp: New file.
3625
3626 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
3627
3628 Fix test names for the following files:
3629
3630 * gdb.ada/exec_changed.exp
3631 * gdb.ada/info_types.exp
3632 * gdb.arch/aarch64-atomic-inst.exp
3633 * gdb.arch/aarch64-fp.exp
3634 * gdb.arch/altivec-abi.exp
3635 * gdb.arch/altivec-regs.exp
3636 * gdb.arch/amd64-byte.exp
3637 * gdb.arch/amd64-disp-step.exp
3638 * gdb.arch/amd64-dword.exp
3639 * gdb.arch/amd64-entry-value-inline.exp
3640 * gdb.arch/amd64-entry-value-param.exp
3641 * gdb.arch/amd64-entry-value-paramref.exp
3642 * gdb.arch/amd64-entry-value.exp
3643 * gdb.arch/amd64-i386-address.exp
3644 * gdb.arch/amd64-invalid-stack-middle.exp
3645 * gdb.arch/amd64-invalid-stack-top.exp
3646 * gdb.arch/amd64-optimout-repeat.exp
3647 * gdb.arch/amd64-prologue-skip.exp
3648 * gdb.arch/amd64-prologue-xmm.exp
3649 * gdb.arch/amd64-stap-special-operands.exp
3650 * gdb.arch/amd64-stap-wrong-subexp.exp
3651 * gdb.arch/amd64-tailcall-cxx.exp
3652 * gdb.arch/amd64-tailcall-noret.exp
3653 * gdb.arch/amd64-tailcall-ret.exp
3654 * gdb.arch/amd64-tailcall-self.exp
3655 * gdb.arch/amd64-word.exp
3656 * gdb.arch/arm-bl-branch-dest.exp
3657 * gdb.arch/arm-disp-step.exp
3658 * gdb.arch/arm-neon.exp
3659 * gdb.arch/arm-single-step-kernel-helper.exp
3660 * gdb.arch/avr-flash-qualifier.exp
3661 * gdb.arch/disp-step-insn-reloc.exp
3662 * gdb.arch/e500-abi.exp
3663 * gdb.arch/e500-regs.exp
3664 * gdb.arch/ftrace-insn-reloc.exp
3665 * gdb.arch/i386-avx512.exp
3666 * gdb.arch/i386-bp_permanent.exp
3667 * gdb.arch/i386-byte.exp
3668 * gdb.arch/i386-cfi-notcurrent.exp
3669 * gdb.arch/i386-disp-step.exp
3670 * gdb.arch/i386-dr3-watch.exp
3671 * gdb.arch/i386-float.exp
3672 * gdb.arch/i386-gnu-cfi.exp
3673 * gdb.arch/i386-mpx-map.exp
3674 * gdb.arch/i386-mpx-sigsegv.exp
3675 * gdb.arch/i386-mpx-simple_segv.exp
3676 * gdb.arch/i386-mpx.exp
3677 * gdb.arch/i386-permbkpt.exp
3678 * gdb.arch/i386-prologue.exp
3679 * gdb.arch/i386-signal.exp
3680 * gdb.arch/i386-size-overlap.exp
3681 * gdb.arch/i386-unwind.exp
3682 * gdb.arch/i386-word.exp
3683 * gdb.arch/mips-fcr.exp
3684 * gdb.arch/powerpc-d128-regs.exp
3685 * gdb.arch/powerpc-stackless.exp
3686 * gdb.arch/ppc64-atomic-inst.exp
3687 * gdb.arch/s390-stackless.exp
3688 * gdb.arch/s390-tdbregs.exp
3689 * gdb.arch/s390-vregs.exp
3690 * gdb.arch/sparc-sysstep.exp
3691 * gdb.arch/thumb-bx-pc.exp
3692 * gdb.arch/thumb-singlestep.exp
3693 * gdb.arch/thumb2-it.exp
3694 * gdb.arch/vsx-regs.exp
3695 * gdb.asm/asm-source.exp
3696 * gdb.base/a2-run.exp
3697 * gdb.base/advance.exp
3698 * gdb.base/all-bin.exp
3699 * gdb.base/anon.exp
3700 * gdb.base/args.exp
3701 * gdb.base/arithmet.exp
3702 * gdb.base/async-shell.exp
3703 * gdb.base/async.exp
3704 * gdb.base/attach-pie-noexec.exp
3705 * gdb.base/attach-twice.exp
3706 * gdb.base/auto-load.exp
3707 * gdb.base/bang.exp
3708 * gdb.base/bitfields.exp
3709 * gdb.base/break-always.exp
3710 * gdb.base/break-caller-line.exp
3711 * gdb.base/break-entry.exp
3712 * gdb.base/break-inline.exp
3713 * gdb.base/break-on-linker-gcd-function.exp
3714 * gdb.base/break-probes.exp
3715 * gdb.base/break.exp
3716 * gdb.base/breakpoint-shadow.exp
3717 * gdb.base/call-ar-st.exp
3718 * gdb.base/call-sc.exp
3719 * gdb.base/call-signal-resume.exp
3720 * gdb.base/call-strs.exp
3721 * gdb.base/callfuncs.exp
3722 * gdb.base/catch-fork-static.exp
3723 * gdb.base/catch-gdb-caused-signals.exp
3724 * gdb.base/catch-load.exp
3725 * gdb.base/catch-signal-fork.exp
3726 * gdb.base/catch-signal.exp
3727 * gdb.base/catch-syscall.exp
3728 * gdb.base/charset.exp
3729 * gdb.base/checkpoint.exp
3730 * gdb.base/chng-syms.exp
3731 * gdb.base/code-expr.exp
3732 * gdb.base/code_elim.exp
3733 * gdb.base/commands.exp
3734 * gdb.base/completion.exp
3735 * gdb.base/complex.exp
3736 * gdb.base/cond-expr.exp
3737 * gdb.base/condbreak.exp
3738 * gdb.base/consecutive.exp
3739 * gdb.base/continue-all-already-running.exp
3740 * gdb.base/coredump-filter.exp
3741 * gdb.base/corefile.exp
3742 * gdb.base/dbx.exp
3743 * gdb.base/debug-expr.exp
3744 * gdb.base/define.exp
3745 * gdb.base/del.exp
3746 * gdb.base/disabled-location.exp
3747 * gdb.base/disasm-end-cu.exp
3748 * gdb.base/disasm-optim.exp
3749 * gdb.base/display.exp
3750 * gdb.base/duplicate-bp.exp
3751 * gdb.base/ena-dis-br.exp
3752 * gdb.base/ending-run.exp
3753 * gdb.base/enumval.exp
3754 * gdb.base/environ.exp
3755 * gdb.base/eu-strip-infcall.exp
3756 * gdb.base/eval-avoid-side-effects.exp
3757 * gdb.base/eval-skip.exp
3758 * gdb.base/exitsignal.exp
3759 * gdb.base/expand-psymtabs.exp
3760 * gdb.base/filesym.exp
3761 * gdb.base/find-unmapped.exp
3762 * gdb.base/finish.exp
3763 * gdb.base/float.exp
3764 * gdb.base/foll-exec-mode.exp
3765 * gdb.base/foll-exec.exp
3766 * gdb.base/foll-fork.exp
3767 * gdb.base/fortran-sym-case.exp
3768 * gdb.base/freebpcmd.exp
3769 * gdb.base/func-ptr.exp
3770 * gdb.base/func-ptrs.exp
3771 * gdb.base/funcargs.exp
3772 * gdb.base/gcore-buffer-overflow.exp
3773 * gdb.base/gcore-relro-pie.exp
3774 * gdb.base/gcore-relro.exp
3775 * gdb.base/gcore.exp
3776 * gdb.base/gdb1090.exp
3777 * gdb.base/gdb11530.exp
3778 * gdb.base/gdb11531.exp
3779 * gdb.base/gdb1821.exp
3780 * gdb.base/gdbindex-stabs.exp
3781 * gdb.base/gdbvars.exp
3782 * gdb.base/hbreak.exp
3783 * gdb.base/hbreak2.exp
3784 * gdb.base/included.exp
3785 * gdb.base/infcall-input.exp
3786 * gdb.base/inferior-died.exp
3787 * gdb.base/infnan.exp
3788 * gdb.base/info-macros.exp
3789 * gdb.base/info-os.exp
3790 * gdb.base/info-proc.exp
3791 * gdb.base/info-shared.exp
3792 * gdb.base/info-target.exp
3793 * gdb.base/infoline.exp
3794 * gdb.base/interp.exp
3795 * gdb.base/interrupt.exp
3796 * gdb.base/jit-reader.exp
3797 * gdb.base/jit-simple.exp
3798 * gdb.base/kill-after-signal.exp
3799 * gdb.base/kill-detach-inferiors-cmd.exp
3800 * gdb.base/label.exp
3801 * gdb.base/langs.exp
3802 * gdb.base/ldbl_e308.exp
3803 * gdb.base/line-symtabs.exp
3804 * gdb.base/linespecs.exp
3805 * gdb.base/list.exp
3806 * gdb.base/long_long.exp
3807 * gdb.base/longest-types.exp
3808 * gdb.base/maint.exp
3809 * gdb.base/max-value-size.exp
3810 * gdb.base/memattr.exp
3811 * gdb.base/mips_pro.exp
3812 * gdb.base/morestack.exp
3813 * gdb.base/moribund-step.exp
3814 * gdb.base/multi-forks.exp
3815 * gdb.base/nested-addr.exp
3816 * gdb.base/nextoverexit.exp
3817 * gdb.base/noreturn-finish.exp
3818 * gdb.base/noreturn-return.exp
3819 * gdb.base/nostdlib.exp
3820 * gdb.base/offsets.exp
3821 * gdb.base/opaque.exp
3822 * gdb.base/pc-fp.exp
3823 * gdb.base/permissions.exp
3824 * gdb.base/print-symbol-loading.exp
3825 * gdb.base/prologue-include.exp
3826 * gdb.base/psymtab.exp
3827 * gdb.base/ptype.exp
3828 * gdb.base/random-signal.exp
3829 * gdb.base/randomize.exp
3830 * gdb.base/range-stepping.exp
3831 * gdb.base/readline-ask.exp
3832 * gdb.base/recpar.exp
3833 * gdb.base/recurse.exp
3834 * gdb.base/relational.exp
3835 * gdb.base/restore.exp
3836 * gdb.base/return-nodebug.exp
3837 * gdb.base/return.exp
3838 * gdb.base/run-after-attach.exp
3839 * gdb.base/save-bp.exp
3840 * gdb.base/scope.exp
3841 * gdb.base/sect-cmd.exp
3842 * gdb.base/set-lang-auto.exp
3843 * gdb.base/set-noassign.exp
3844 * gdb.base/setvar.exp
3845 * gdb.base/sigall.exp
3846 * gdb.base/sigbpt.exp
3847 * gdb.base/siginfo-addr.exp
3848 * gdb.base/siginfo-infcall.exp
3849 * gdb.base/siginfo-obj.exp
3850 * gdb.base/siginfo.exp
3851 * gdb.base/signals-state-child.exp
3852 * gdb.base/signest.exp
3853 * gdb.base/sigstep.exp
3854 * gdb.base/sizeof.exp
3855 * gdb.base/skip.exp
3856 * gdb.base/solib-corrupted.exp
3857 * gdb.base/solib-nodir.exp
3858 * gdb.base/solib-search.exp
3859 * gdb.base/stack-checking.exp
3860 * gdb.base/stale-infcall.exp
3861 * gdb.base/stap-probe.exp
3862 * gdb.base/start.exp
3863 * gdb.base/step-break.exp
3864 * gdb.base/step-bt.exp
3865 * gdb.base/step-line.exp
3866 * gdb.base/step-over-exit.exp
3867 * gdb.base/step-over-syscall.exp
3868 * gdb.base/step-resume-infcall.exp
3869 * gdb.base/step-test.exp
3870 * gdb.base/store.exp
3871 * gdb.base/structs3.exp
3872 * gdb.base/sym-file.exp
3873 * gdb.base/symbol-without-target_section.exp
3874 * gdb.base/term.exp
3875 * gdb.base/testenv.exp
3876 * gdb.base/ui-redirect.exp
3877 * gdb.base/until.exp
3878 * gdb.base/unwindonsignal.exp
3879 * gdb.base/value-double-free.exp
3880 * gdb.base/vla-datatypes.exp
3881 * gdb.base/vla-ptr.exp
3882 * gdb.base/vla-sideeffect.exp
3883 * gdb.base/volatile.exp
3884 * gdb.base/watch-cond-infcall.exp
3885 * gdb.base/watch-cond.exp
3886 * gdb.base/watch-non-mem.exp
3887 * gdb.base/watch-read.exp
3888 * gdb.base/watch-vfork.exp
3889 * gdb.base/watchpoint-cond-gone.exp
3890 * gdb.base/watchpoint-delete.exp
3891 * gdb.base/watchpoint-hw-hit-once.exp
3892 * gdb.base/watchpoint-hw.exp
3893 * gdb.base/watchpoint-stops-at-right-insn.exp
3894 * gdb.base/watchpoints.exp
3895 * gdb.base/wchar.exp
3896 * gdb.base/whatis-exp.exp
3897 * gdb.btrace/buffer-size.exp
3898 * gdb.btrace/data.exp
3899 * gdb.btrace/delta.exp
3900 * gdb.btrace/dlopen.exp
3901 * gdb.btrace/enable.exp
3902 * gdb.btrace/exception.exp
3903 * gdb.btrace/function_call_history.exp
3904 * gdb.btrace/gcore.exp
3905 * gdb.btrace/instruction_history.exp
3906 * gdb.btrace/nohist.exp
3907 * gdb.btrace/reconnect.exp
3908 * gdb.btrace/record_goto-step.exp
3909 * gdb.btrace/record_goto.exp
3910 * gdb.btrace/rn-dl-bind.exp
3911 * gdb.btrace/segv.exp
3912 * gdb.btrace/step.exp
3913 * gdb.btrace/stepi.exp
3914 * gdb.btrace/tailcall-only.exp
3915 * gdb.btrace/tailcall.exp
3916 * gdb.btrace/tsx.exp
3917 * gdb.btrace/unknown_functions.exp
3918 * gdb.btrace/vdso.exp
3919 * gdb.compile/compile-ifunc.exp
3920 * gdb.compile/compile-ops.exp
3921 * gdb.compile/compile-print.exp
3922 * gdb.compile/compile-setjmp.exp
3923 * gdb.cp/abstract-origin.exp
3924 * gdb.cp/ambiguous.exp
3925 * gdb.cp/annota2.exp
3926 * gdb.cp/annota3.exp
3927 * gdb.cp/anon-ns.exp
3928 * gdb.cp/anon-struct.exp
3929 * gdb.cp/anon-union.exp
3930 * gdb.cp/arg-reference.exp
3931 * gdb.cp/baseenum.exp
3932 * gdb.cp/bool.exp
3933 * gdb.cp/breakpoint.exp
3934 * gdb.cp/bs15503.exp
3935 * gdb.cp/call-c.exp
3936 * gdb.cp/casts.exp
3937 * gdb.cp/chained-calls.exp
3938 * gdb.cp/class2.exp
3939 * gdb.cp/classes.exp
3940 * gdb.cp/cmpd-minsyms.exp
3941 * gdb.cp/converts.exp
3942 * gdb.cp/cp-relocate.exp
3943 * gdb.cp/cpcompletion.exp
3944 * gdb.cp/cpexprs.exp
3945 * gdb.cp/cplabel.exp
3946 * gdb.cp/cplusfuncs.exp
3947 * gdb.cp/cpsizeof.exp
3948 * gdb.cp/ctti.exp
3949 * gdb.cp/derivation.exp
3950 * gdb.cp/destrprint.exp
3951 * gdb.cp/dispcxx.exp
3952 * gdb.cp/enum-class.exp
3953 * gdb.cp/exception.exp
3954 * gdb.cp/exceptprint.exp
3955 * gdb.cp/expand-psymtabs-cxx.exp
3956 * gdb.cp/expand-sals.exp
3957 * gdb.cp/extern-c.exp
3958 * gdb.cp/filename.exp
3959 * gdb.cp/formatted-ref.exp
3960 * gdb.cp/fpointer.exp
3961 * gdb.cp/gdb1355.exp
3962 * gdb.cp/gdb2495.exp
3963 * gdb.cp/hang.exp
3964 * gdb.cp/impl-this.exp
3965 * gdb.cp/infcall-dlopen.exp
3966 * gdb.cp/inherit.exp
3967 * gdb.cp/iostream.exp
3968 * gdb.cp/koenig.exp
3969 * gdb.cp/local.exp
3970 * gdb.cp/m-data.exp
3971 * gdb.cp/m-static.exp
3972 * gdb.cp/mb-ctor.exp
3973 * gdb.cp/mb-inline.exp
3974 * gdb.cp/mb-templates.exp
3975 * gdb.cp/member-name.exp
3976 * gdb.cp/member-ptr.exp
3977 * gdb.cp/meth-typedefs.exp
3978 * gdb.cp/method.exp
3979 * gdb.cp/method2.exp
3980 * gdb.cp/minsym-fallback.exp
3981 * gdb.cp/misc.exp
3982 * gdb.cp/namelessclass.exp
3983 * gdb.cp/namespace-enum.exp
3984 * gdb.cp/namespace-nested-import.exp
3985 * gdb.cp/namespace.exp
3986 * gdb.cp/nextoverthrow.exp
3987 * gdb.cp/no-dmgl-verbose.exp
3988 * gdb.cp/non-trivial-retval.exp
3989 * gdb.cp/noparam.exp
3990 * gdb.cp/nsdecl.exp
3991 * gdb.cp/nsimport.exp
3992 * gdb.cp/nsnested.exp
3993 * gdb.cp/nsnoimports.exp
3994 * gdb.cp/nsrecurs.exp
3995 * gdb.cp/nsstress.exp
3996 * gdb.cp/nsusing.exp
3997 * gdb.cp/operator.exp
3998 * gdb.cp/oranking.exp
3999 * gdb.cp/overload-const.exp
4000 * gdb.cp/overload.exp
4001 * gdb.cp/ovldbreak.exp
4002 * gdb.cp/ovsrch.exp
4003 * gdb.cp/paren-type.exp
4004 * gdb.cp/parse-lang.exp
4005 * gdb.cp/pass-by-ref.exp
4006 * gdb.cp/pr-1023.exp
4007 * gdb.cp/pr-1210.exp
4008 * gdb.cp/pr-574.exp
4009 * gdb.cp/pr10687.exp
4010 * gdb.cp/pr12028.exp
4011 * gdb.cp/pr17132.exp
4012 * gdb.cp/pr17494.exp
4013 * gdb.cp/pr9067.exp
4014 * gdb.cp/pr9167.exp
4015 * gdb.cp/pr9631.exp
4016 * gdb.cp/printmethod.exp
4017 * gdb.cp/psmang.exp
4018 * gdb.cp/psymtab-parameter.exp
4019 * gdb.cp/ptype-cv-cp.exp
4020 * gdb.cp/ptype-flags.exp
4021 * gdb.cp/re-set-overloaded.exp
4022 * gdb.cp/ref-types.exp
4023 * gdb.cp/rtti.exp
4024 * gdb.cp/scope-err.exp
4025 * gdb.cp/shadow.exp
4026 * gdb.cp/smartp.exp
4027 * gdb.cp/static-method.exp
4028 * gdb.cp/static-print-quit.exp
4029 * gdb.cp/temargs.exp
4030 * gdb.cp/templates.exp
4031 * gdb.cp/try_catch.exp
4032 * gdb.cp/typedef-operator.exp
4033 * gdb.cp/typeid.exp
4034 * gdb.cp/userdef.exp
4035 * gdb.cp/using-crash.exp
4036 * gdb.cp/var-tag.exp
4037 * gdb.cp/virtbase.exp
4038 * gdb.cp/virtfunc.exp
4039 * gdb.cp/virtfunc2.exp
4040 * gdb.cp/vla-cxx.exp
4041 * gdb.disasm/t01_mov.exp
4042 * gdb.disasm/t02_mova.exp
4043 * gdb.disasm/t03_add.exp
4044 * gdb.disasm/t04_sub.exp
4045 * gdb.disasm/t05_cmp.exp
4046 * gdb.disasm/t06_ari2.exp
4047 * gdb.disasm/t07_ari3.exp
4048 * gdb.disasm/t08_or.exp
4049 * gdb.disasm/t09_xor.exp
4050 * gdb.disasm/t10_and.exp
4051 * gdb.disasm/t11_logs.exp
4052 * gdb.disasm/t12_bit.exp
4053 * gdb.disasm/t13_otr.exp
4054 * gdb.dlang/circular.exp
4055 * gdb.dwarf2/arr-stride.exp
4056 * gdb.dwarf2/arr-subrange.exp
4057 * gdb.dwarf2/atomic-type.exp
4058 * gdb.dwarf2/bad-regnum.exp
4059 * gdb.dwarf2/bitfield-parent-optimized-out.exp
4060 * gdb.dwarf2/callframecfa.exp
4061 * gdb.dwarf2/clztest.exp
4062 * gdb.dwarf2/corrupt.exp
4063 * gdb.dwarf2/data-loc.exp
4064 * gdb.dwarf2/dup-psym.exp
4065 * gdb.dwarf2/dw2-anon-mptr.exp
4066 * gdb.dwarf2/dw2-anonymous-func.exp
4067 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4068 * gdb.dwarf2/dw2-bad-unresolved.exp
4069 * gdb.dwarf2/dw2-basic.exp
4070 * gdb.dwarf2/dw2-canonicalize-type.exp
4071 * gdb.dwarf2/dw2-case-insensitive.exp
4072 * gdb.dwarf2/dw2-common-block.exp
4073 * gdb.dwarf2/dw2-compdir-oldgcc.exp
4074 * gdb.dwarf2/dw2-compressed.exp
4075 * gdb.dwarf2/dw2-const.exp
4076 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4077 * gdb.dwarf2/dw2-cu-size.exp
4078 * gdb.dwarf2/dw2-dup-frame.exp
4079 * gdb.dwarf2/dw2-entry-value.exp
4080 * gdb.dwarf2/dw2-icycle.exp
4081 * gdb.dwarf2/dw2-ifort-parameter.exp
4082 * gdb.dwarf2/dw2-inline-break.exp
4083 * gdb.dwarf2/dw2-inline-param.exp
4084 * gdb.dwarf2/dw2-intercu.exp
4085 * gdb.dwarf2/dw2-intermix.exp
4086 * gdb.dwarf2/dw2-lexical-block-bare.exp
4087 * gdb.dwarf2/dw2-linkage-name-trust.exp
4088 * gdb.dwarf2/dw2-minsym-in-cu.exp
4089 * gdb.dwarf2/dw2-noloc.exp
4090 * gdb.dwarf2/dw2-op-call.exp
4091 * gdb.dwarf2/dw2-op-out-param.exp
4092 * gdb.dwarf2/dw2-opt-structptr.exp
4093 * gdb.dwarf2/dw2-param-error.exp
4094 * gdb.dwarf2/dw2-producer.exp
4095 * gdb.dwarf2/dw2-ranges-base.exp
4096 * gdb.dwarf2/dw2-ref-missing-frame.exp
4097 * gdb.dwarf2/dw2-reg-undefined.exp
4098 * gdb.dwarf2/dw2-regno-invalid.exp
4099 * gdb.dwarf2/dw2-restore.exp
4100 * gdb.dwarf2/dw2-restrict.exp
4101 * gdb.dwarf2/dw2-single-line-discriminators.exp
4102 * gdb.dwarf2/dw2-strp.exp
4103 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4104 * gdb.dwarf2/dw2-unresolved.exp
4105 * gdb.dwarf2/dw2-var-zero-addr.exp
4106 * gdb.dwarf2/dw4-sig-types.exp
4107 * gdb.dwarf2/dwz.exp
4108 * gdb.dwarf2/dynarr-ptr.exp
4109 * gdb.dwarf2/enum-type.exp
4110 * gdb.dwarf2/gdb-index.exp
4111 * gdb.dwarf2/implptr-64bit.exp
4112 * gdb.dwarf2/implptr-optimized-out.exp
4113 * gdb.dwarf2/implptr.exp
4114 * gdb.dwarf2/implref-array.exp
4115 * gdb.dwarf2/implref-const.exp
4116 * gdb.dwarf2/implref-global.exp
4117 * gdb.dwarf2/implref-struct.exp
4118 * gdb.dwarf2/mac-fileno.exp
4119 * gdb.dwarf2/main-subprogram.exp
4120 * gdb.dwarf2/member-ptr-forwardref.exp
4121 * gdb.dwarf2/method-ptr.exp
4122 * gdb.dwarf2/missing-sig-type.exp
4123 * gdb.dwarf2/nonvar-access.exp
4124 * gdb.dwarf2/opaque-type-lookup.exp
4125 * gdb.dwarf2/pieces-optimized-out.exp
4126 * gdb.dwarf2/pieces.exp
4127 * gdb.dwarf2/pr10770.exp
4128 * gdb.dwarf2/pr13961.exp
4129 * gdb.dwarf2/staticvirtual.exp
4130 * gdb.dwarf2/subrange.exp
4131 * gdb.dwarf2/symtab-producer.exp
4132 * gdb.dwarf2/trace-crash.exp
4133 * gdb.dwarf2/typeddwarf.exp
4134 * gdb.dwarf2/valop.exp
4135 * gdb.dwarf2/watch-notconst.exp
4136 * gdb.fortran/array-element.exp
4137 * gdb.fortran/charset.exp
4138 * gdb.fortran/common-block.exp
4139 * gdb.fortran/complex.exp
4140 * gdb.fortran/derived-type-function.exp
4141 * gdb.fortran/derived-type.exp
4142 * gdb.fortran/logical.exp
4143 * gdb.fortran/module.exp
4144 * gdb.fortran/multi-dim.exp
4145 * gdb.fortran/nested-funcs.exp
4146 * gdb.fortran/print-formatted.exp
4147 * gdb.fortran/subarray.exp
4148 * gdb.fortran/vla-alloc-assoc.exp
4149 * gdb.fortran/vla-datatypes.exp
4150 * gdb.fortran/vla-history.exp
4151 * gdb.fortran/vla-ptr-info.exp
4152 * gdb.fortran/vla-ptype-sub.exp
4153 * gdb.fortran/vla-ptype.exp
4154 * gdb.fortran/vla-sizeof.exp
4155 * gdb.fortran/vla-type.exp
4156 * gdb.fortran/vla-value-sub-arbitrary.exp
4157 * gdb.fortran/vla-value-sub-finish.exp
4158 * gdb.fortran/vla-value-sub.exp
4159 * gdb.fortran/vla-value.exp
4160 * gdb.fortran/whatis_type.exp
4161 * gdb.go/chan.exp
4162 * gdb.go/handcall.exp
4163 * gdb.go/hello.exp
4164 * gdb.go/integers.exp
4165 * gdb.go/methods.exp
4166 * gdb.go/package.exp
4167 * gdb.go/strings.exp
4168 * gdb.go/types.exp
4169 * gdb.go/unsafe.exp
4170 * gdb.guile/scm-arch.exp
4171 * gdb.guile/scm-block.exp
4172 * gdb.guile/scm-breakpoint.exp
4173 * gdb.guile/scm-cmd.exp
4174 * gdb.guile/scm-disasm.exp
4175 * gdb.guile/scm-equal.exp
4176 * gdb.guile/scm-frame-args.exp
4177 * gdb.guile/scm-frame-inline.exp
4178 * gdb.guile/scm-frame.exp
4179 * gdb.guile/scm-iterator.exp
4180 * gdb.guile/scm-math.exp
4181 * gdb.guile/scm-objfile.exp
4182 * gdb.guile/scm-ports.exp
4183 * gdb.guile/scm-symbol.exp
4184 * gdb.guile/scm-symtab.exp
4185 * gdb.guile/scm-value-cc.exp
4186 * gdb.guile/types-module.exp
4187 * gdb.linespec/break-ask.exp
4188 * gdb.linespec/cpexplicit.exp
4189 * gdb.linespec/explicit.exp
4190 * gdb.linespec/keywords.exp
4191 * gdb.linespec/linespec.exp
4192 * gdb.linespec/ls-dollar.exp
4193 * gdb.linespec/ls-errs.exp
4194 * gdb.linespec/skip-two.exp
4195 * gdb.linespec/thread.exp
4196 * gdb.mi/mi-async.exp
4197 * gdb.mi/mi-basics.exp
4198 * gdb.mi/mi-break.exp
4199 * gdb.mi/mi-catch-load.exp
4200 * gdb.mi/mi-cli.exp
4201 * gdb.mi/mi-cmd-param-changed.exp
4202 * gdb.mi/mi-console.exp
4203 * gdb.mi/mi-detach.exp
4204 * gdb.mi/mi-disassemble.exp
4205 * gdb.mi/mi-eval.exp
4206 * gdb.mi/mi-file-transfer.exp
4207 * gdb.mi/mi-file.exp
4208 * gdb.mi/mi-fill-memory.exp
4209 * gdb.mi/mi-inheritance-syntax-error.exp
4210 * gdb.mi/mi-linespec-err-cp.exp
4211 * gdb.mi/mi-logging.exp
4212 * gdb.mi/mi-memory-changed.exp
4213 * gdb.mi/mi-read-memory.exp
4214 * gdb.mi/mi-record-changed.exp
4215 * gdb.mi/mi-reg-undefined.exp
4216 * gdb.mi/mi-regs.exp
4217 * gdb.mi/mi-return.exp
4218 * gdb.mi/mi-reverse.exp
4219 * gdb.mi/mi-simplerun.exp
4220 * gdb.mi/mi-solib.exp
4221 * gdb.mi/mi-stack.exp
4222 * gdb.mi/mi-stepi.exp
4223 * gdb.mi/mi-syn-frame.exp
4224 * gdb.mi/mi-until.exp
4225 * gdb.mi/mi-var-block.exp
4226 * gdb.mi/mi-var-child.exp
4227 * gdb.mi/mi-var-cmd.exp
4228 * gdb.mi/mi-var-cp.exp
4229 * gdb.mi/mi-var-display.exp
4230 * gdb.mi/mi-var-invalidate.exp
4231 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4232 * gdb.mi/mi-vla-fortran.exp
4233 * gdb.mi/mi-watch.exp
4234 * gdb.mi/mi2-var-child.exp
4235 * gdb.mi/user-selected-context-sync.exp
4236 * gdb.modula2/unbounded-array.exp
4237 * gdb.multi/dummy-frame-restore.exp
4238 * gdb.multi/multi-arch-exec.exp
4239 * gdb.multi/multi-arch.exp
4240 * gdb.multi/tids.exp
4241 * gdb.multi/watchpoint-multi.exp
4242 * gdb.opencl/callfuncs.exp
4243 * gdb.opencl/convs_casts.exp
4244 * gdb.opencl/datatypes.exp
4245 * gdb.opencl/operators.exp
4246 * gdb.opencl/vec_comps.exp
4247 * gdb.opt/clobbered-registers-O2.exp
4248 * gdb.opt/inline-break.exp
4249 * gdb.opt/inline-bt.exp
4250 * gdb.opt/inline-cmds.exp
4251 * gdb.opt/inline-locals.exp
4252 * gdb.pascal/case-insensitive-symbols.exp
4253 * gdb.pascal/floats.exp
4254 * gdb.pascal/gdb11492.exp
4255 * gdb.python/lib-types.exp
4256 * gdb.python/py-arch.exp
4257 * gdb.python/py-as-string.exp
4258 * gdb.python/py-bad-printers.exp
4259 * gdb.python/py-block.exp
4260 * gdb.python/py-breakpoint-create-fail.exp
4261 * gdb.python/py-breakpoint.exp
4262 * gdb.python/py-caller-is.exp
4263 * gdb.python/py-cmd.exp
4264 * gdb.python/py-explore-cc.exp
4265 * gdb.python/py-explore.exp
4266 * gdb.python/py-finish-breakpoint.exp
4267 * gdb.python/py-finish-breakpoint2.exp
4268 * gdb.python/py-frame-args.exp
4269 * gdb.python/py-frame-inline.exp
4270 * gdb.python/py-frame.exp
4271 * gdb.python/py-framefilter-mi.exp
4272 * gdb.python/py-infthread.exp
4273 * gdb.python/py-lazy-string.exp
4274 * gdb.python/py-linetable.exp
4275 * gdb.python/py-mi-events.exp
4276 * gdb.python/py-mi-objfile.exp
4277 * gdb.python/py-mi.exp
4278 * gdb.python/py-objfile.exp
4279 * gdb.python/py-pp-integral.exp
4280 * gdb.python/py-pp-maint.exp
4281 * gdb.python/py-pp-re-notag.exp
4282 * gdb.python/py-pp-registration.exp
4283 * gdb.python/py-recurse-unwind.exp
4284 * gdb.python/py-strfns.exp
4285 * gdb.python/py-symbol.exp
4286 * gdb.python/py-symtab.exp
4287 * gdb.python/py-sync-interp.exp
4288 * gdb.python/py-typeprint.exp
4289 * gdb.python/py-unwind-maint.exp
4290 * gdb.python/py-unwind.exp
4291 * gdb.python/py-value-cc.exp
4292 * gdb.python/py-xmethods.exp
4293 * gdb.reverse/amd64-tailcall-reverse.exp
4294 * gdb.reverse/break-precsave.exp
4295 * gdb.reverse/break-reverse.exp
4296 * gdb.reverse/consecutive-precsave.exp
4297 * gdb.reverse/consecutive-reverse.exp
4298 * gdb.reverse/finish-precsave.exp
4299 * gdb.reverse/finish-reverse-bkpt.exp
4300 * gdb.reverse/finish-reverse.exp
4301 * gdb.reverse/fstatat-reverse.exp
4302 * gdb.reverse/getresuid-reverse.exp
4303 * gdb.reverse/i386-precsave.exp
4304 * gdb.reverse/i386-reverse.exp
4305 * gdb.reverse/i386-sse-reverse.exp
4306 * gdb.reverse/i387-env-reverse.exp
4307 * gdb.reverse/i387-stack-reverse.exp
4308 * gdb.reverse/insn-reverse.exp
4309 * gdb.reverse/machinestate-precsave.exp
4310 * gdb.reverse/machinestate.exp
4311 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4312 * gdb.reverse/pipe-reverse.exp
4313 * gdb.reverse/readv-reverse.exp
4314 * gdb.reverse/recvmsg-reverse.exp
4315 * gdb.reverse/rerun-prec.exp
4316 * gdb.reverse/s390-mvcle.exp
4317 * gdb.reverse/step-precsave.exp
4318 * gdb.reverse/step-reverse.exp
4319 * gdb.reverse/time-reverse.exp
4320 * gdb.reverse/until-precsave.exp
4321 * gdb.reverse/until-reverse.exp
4322 * gdb.reverse/waitpid-reverse.exp
4323 * gdb.reverse/watch-precsave.exp
4324 * gdb.reverse/watch-reverse.exp
4325 * gdb.rust/generics.exp
4326 * gdb.rust/methods.exp
4327 * gdb.rust/modules.exp
4328 * gdb.rust/simple.exp
4329 * gdb.server/connect-with-no-symbol-file.exp
4330 * gdb.server/ext-attach.exp
4331 * gdb.server/ext-restart.exp
4332 * gdb.server/ext-wrapper.exp
4333 * gdb.server/file-transfer.exp
4334 * gdb.server/server-exec-info.exp
4335 * gdb.server/server-kill.exp
4336 * gdb.server/server-mon.exp
4337 * gdb.server/wrapper.exp
4338 * gdb.stabs/exclfwd.exp
4339 * gdb.stabs/gdb11479.exp
4340 * gdb.threads/clone-new-thread-event.exp
4341 * gdb.threads/corethreads.exp
4342 * gdb.threads/current-lwp-dead.exp
4343 * gdb.threads/dlopen-libpthread.exp
4344 * gdb.threads/gcore-thread.exp
4345 * gdb.threads/sigstep-threads.exp
4346 * gdb.threads/watchpoint-fork.exp
4347 * gdb.trace/actions-changed.exp
4348 * gdb.trace/backtrace.exp
4349 * gdb.trace/change-loc.exp
4350 * gdb.trace/circ.exp
4351 * gdb.trace/collection.exp
4352 * gdb.trace/disconnected-tracing.exp
4353 * gdb.trace/ftrace.exp
4354 * gdb.trace/mi-trace-frame-collected.exp
4355 * gdb.trace/mi-trace-unavailable.exp
4356 * gdb.trace/mi-traceframe-changed.exp
4357 * gdb.trace/mi-tsv-changed.exp
4358 * gdb.trace/no-attach-trace.exp
4359 * gdb.trace/passc-dyn.exp
4360 * gdb.trace/qtro.exp
4361 * gdb.trace/range-stepping.exp
4362 * gdb.trace/read-memory.exp
4363 * gdb.trace/save-trace.exp
4364 * gdb.trace/signal.exp
4365 * gdb.trace/status-stop.exp
4366 * gdb.trace/tfile.exp
4367 * gdb.trace/trace-break.exp
4368 * gdb.trace/trace-buffer-size.exp
4369 * gdb.trace/trace-condition.exp
4370 * gdb.trace/tracefile-pseudo-reg.exp
4371 * gdb.trace/tstatus.exp
4372 * gdb.trace/unavailable.exp
4373 * gdb.trace/while-dyn.exp
4374 * gdb.trace/while-stepping.exp
4375
4376 2016-12-22 Doug Evans <xdje42@gmail.com>
4377
4378 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4379 and msymbols.
4380
4381 2016-12-19 Yao Qi <yao.qi@linaro.org>
4382
4383 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4384 (test_with_self): Don't call do_steps_and_nexts, and remove
4385 code about stepping into xmalloc.
4386
4387 2016-12-09 Yao Qi <yao.qi@linaro.org>
4388
4389 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4390
4391 2016-12-09 Yao Qi <yao.qi@linaro.org>
4392
4393 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4394
4395 2016-12-09 Pedro Alves <palves@redhat.com>
4396
4397 * gdb.base/all-architectures-0.exp: New file.
4398 * gdb.base/all-architectures-1.exp: New file.
4399 * gdb.base/all-architectures-2.exp: New file.
4400 * gdb.base/all-architectures-3.exp: New file.
4401 * gdb.base/all-architectures-4.exp: New file.
4402 * gdb.base/all-architectures-5.exp: New file.
4403 * gdb.base/all-architectures-6.exp: New file.
4404 * gdb.base/all-architectures-7.exp: New file.
4405 * gdb.base/all-architectures.exp.in: New file.
4406
4407 2016-12-09 Yao Qi <yao.qi@linaro.org>
4408
4409 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4410
4411 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4412
4413 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4414 possible.
4415 Remove useless pattern-matching code.
4416
4417 2016-12-02 Pedro Alves <palves@redhat.com>
4418
4419 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4420 procedure.
4421 (top level): Call it.
4422
4423 2016-12-02 Pedro Alves <palves@redhat.com>
4424
4425 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4426 New procedure.
4427 (top level): Call it.
4428
4429 2016-12-02 Pedro Alves <palves@redhat.com>
4430
4431 PR cli/20559
4432 * gdb.base/commands.exp (user_defined_command_args_eval): New
4433 procedure.
4434 (top level): Call it.
4435
4436 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4437
4438 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4439 timeout handling.
4440
4441 2016-12-02 Tom Tromey <tom@tromey.com>
4442
4443 * gdb.dwarf2/main-subprogram.c: New file.
4444 * gdb.dwarf2/main-subprogram.exp: New file.
4445
4446 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4447
4448 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4449 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4450 gdb_test_no_output for a couple of cases.
4451 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4452
4453 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4454
4455 Fix test names and standardize compilation error messages throughout
4456 the following files:
4457
4458 * gdb.ada/start.exp
4459 * gdb.arch/alpha-step.exp
4460 * gdb.arch/e500-prologue.exp
4461 * gdb.arch/ftrace-insn-reloc.exp
4462 * gdb.arch/gdb1291.exp
4463 * gdb.arch/gdb1431.exp
4464 * gdb.arch/gdb1558.exp
4465 * gdb.arch/i386-dr3-watch.exp
4466 * gdb.arch/i386-sse-stack-align.exp
4467 * gdb.arch/ia64-breakpoint-shadow.exp
4468 * gdb.arch/pa-nullify.exp
4469 * gdb.arch/powerpc-aix-prologue.exp
4470 * gdb.arch/thumb-bx-pc.exp
4471 * gdb.base/annota1.exp
4472 * gdb.base/annota3.exp
4473 * gdb.base/arrayidx.exp
4474 * gdb.base/assign.exp
4475 * gdb.base/attach.exp
4476 * gdb.base/auxv.exp
4477 * gdb.base/bang.exp
4478 * gdb.base/bfp-test.exp
4479 * gdb.base/bigcore.exp
4480 * gdb.base/bitfields2.exp
4481 * gdb.base/break-fun-addr.exp
4482 * gdb.base/break-probes.exp
4483 * gdb.base/call-rt-st.exp
4484 * gdb.base/callexit.exp
4485 * gdb.base/catch-fork-kill.exp
4486 * gdb.base/charset.exp
4487 * gdb.base/checkpoint.exp
4488 * gdb.base/comprdebug.exp
4489 * gdb.base/constvars.exp
4490 * gdb.base/coredump-filter.exp
4491 * gdb.base/cursal.exp
4492 * gdb.base/cvexpr.exp
4493 * gdb.base/detach.exp
4494 * gdb.base/display.exp
4495 * gdb.base/dmsym.exp
4496 * gdb.base/dprintf-pending.exp
4497 * gdb.base/dso2dso.exp
4498 * gdb.base/dtrace-probe.exp
4499 * gdb.base/dump.exp
4500 * gdb.base/enum_cond.exp
4501 * gdb.base/exe-lock.exp
4502 * gdb.base/exec-invalid-sysroot.exp
4503 * gdb.base/execl-update-breakpoints.exp
4504 * gdb.base/exprs.exp
4505 * gdb.base/fileio.exp
4506 * gdb.base/find.exp
4507 * gdb.base/finish.exp
4508 * gdb.base/fixsection.exp
4509 * gdb.base/foll-vfork.exp
4510 * gdb.base/frame-args.exp
4511 * gdb.base/gcore.exp
4512 * gdb.base/gdb1250.exp
4513 * gdb.base/global-var-nested-by-dso.exp
4514 * gdb.base/gnu-ifunc.exp
4515 * gdb.base/hashline1.exp
4516 * gdb.base/hashline2.exp
4517 * gdb.base/hashline3.exp
4518 * gdb.base/hbreak-in-shr-unsupported.exp
4519 * gdb.base/huge.exp
4520 * gdb.base/infcall-input.exp
4521 * gdb.base/info-fun.exp
4522 * gdb.base/info-shared.exp
4523 * gdb.base/jit-simple.exp
4524 * gdb.base/jit-so.exp
4525 * gdb.base/jit.exp
4526 * gdb.base/jump.exp
4527 * gdb.base/label.exp
4528 * gdb.base/lineinc.exp
4529 * gdb.base/logical.exp
4530 * gdb.base/longjmp.exp
4531 * gdb.base/macscp.exp
4532 * gdb.base/miscexprs.exp
4533 * gdb.base/new-ui-echo.exp
4534 * gdb.base/new-ui-pending-input.exp
4535 * gdb.base/new-ui.exp
4536 * gdb.base/nodebug.exp
4537 * gdb.base/nofield.exp
4538 * gdb.base/offsets.exp
4539 * gdb.base/overlays.exp
4540 * gdb.base/pending.exp
4541 * gdb.base/pointers.exp
4542 * gdb.base/pr11022.exp
4543 * gdb.base/printcmds.exp
4544 * gdb.base/prologue.exp
4545 * gdb.base/ptr-typedef.exp
4546 * gdb.base/realname-expand.exp
4547 * gdb.base/relativedebug.exp
4548 * gdb.base/relocate.exp
4549 * gdb.base/remote.exp
4550 * gdb.base/reread.exp
4551 * gdb.base/return2.exp
4552 * gdb.base/savedregs.exp
4553 * gdb.base/sep.exp
4554 * gdb.base/sepdebug.exp
4555 * gdb.base/sepsymtab.exp
4556 * gdb.base/set-inferior-tty.exp
4557 * gdb.base/setshow.exp
4558 * gdb.base/shlib-call.exp
4559 * gdb.base/sigaltstack.exp
4560 * gdb.base/siginfo-addr.exp
4561 * gdb.base/signals.exp
4562 * gdb.base/signull.exp
4563 * gdb.base/sigrepeat.exp
4564 * gdb.base/so-impl-ld.exp
4565 * gdb.base/solib-display.exp
4566 * gdb.base/solib-overlap.exp
4567 * gdb.base/solib-search.exp
4568 * gdb.base/solib-symbol.exp
4569 * gdb.base/structs.exp
4570 * gdb.base/structs2.exp
4571 * gdb.base/symtab-search-order.exp
4572 * gdb.base/twice.exp
4573 * gdb.base/unload.exp
4574 * gdb.base/varargs.exp
4575 * gdb.base/watchpoint-solib.exp
4576 * gdb.base/watchpoint.exp
4577 * gdb.base/whatis.exp
4578 * gdb.base/wrong_frame_bt_full.exp
4579 * gdb.btrace/dlopen.exp
4580 * gdb.cell/ea-standalone.exp
4581 * gdb.cell/ea-test.exp
4582 * gdb.cp/dispcxx.exp
4583 * gdb.cp/gdb2384.exp
4584 * gdb.cp/method2.exp
4585 * gdb.cp/nextoverthrow.exp
4586 * gdb.cp/pr10728.exp
4587 * gdb.disasm/am33.exp
4588 * gdb.disasm/h8300s.exp
4589 * gdb.disasm/mn10300.exp
4590 * gdb.disasm/sh3.exp
4591 * gdb.dwarf2/dw2-dir-file-name.exp
4592 * gdb.fortran/complex.exp
4593 * gdb.fortran/library-module.exp
4594 * gdb.guile/scm-pretty-print.exp
4595 * gdb.guile/scm-symbol.exp
4596 * gdb.guile/scm-type.exp
4597 * gdb.guile/scm-value.exp
4598 * gdb.linespec/linespec.exp
4599 * gdb.mi/gdb701.exp
4600 * gdb.mi/gdb792.exp
4601 * gdb.mi/mi-breakpoint-changed.exp
4602 * gdb.mi/mi-dprintf-pending.exp
4603 * gdb.mi/mi-dprintf.exp
4604 * gdb.mi/mi-exit-code.exp
4605 * gdb.mi/mi-pending.exp
4606 * gdb.mi/mi-solib.exp
4607 * gdb.mi/new-ui-mi-sync.exp
4608 * gdb.mi/pr11022.exp
4609 * gdb.mi/user-selected-context-sync.exp
4610 * gdb.opt/solib-intra-step.exp
4611 * gdb.python/py-events.exp
4612 * gdb.python/py-finish-breakpoint.exp
4613 * gdb.python/py-mi.exp
4614 * gdb.python/py-prettyprint.exp
4615 * gdb.python/py-shared.exp
4616 * gdb.python/py-symbol.exp
4617 * gdb.python/py-template.exp
4618 * gdb.python/py-type.exp
4619 * gdb.python/py-value.exp
4620 * gdb.reverse/solib-precsave.exp
4621 * gdb.reverse/solib-reverse.exp
4622 * gdb.server/solib-list.exp
4623 * gdb.stabs/weird.exp
4624 * gdb.threads/reconnect-signal.exp
4625 * gdb.threads/stepi-random-signal.exp
4626 * gdb.trace/actions.exp
4627 * gdb.trace/ax.exp
4628 * gdb.trace/backtrace.exp
4629 * gdb.trace/change-loc.exp
4630 * gdb.trace/deltrace.exp
4631 * gdb.trace/ftrace-lock.exp
4632 * gdb.trace/ftrace.exp
4633 * gdb.trace/infotrace.exp
4634 * gdb.trace/mi-tracepoint-changed.exp
4635 * gdb.trace/packetlen.exp
4636 * gdb.trace/passcount.exp
4637 * gdb.trace/pending.exp
4638 * gdb.trace/range-stepping.exp
4639 * gdb.trace/report.exp
4640 * gdb.trace/stap-trace.exp
4641 * gdb.trace/tfind.exp
4642 * gdb.trace/trace-break.exp
4643 * gdb.trace/trace-condition.exp
4644 * gdb.trace/trace-enable-disable.exp
4645 * gdb.trace/trace-mt.exp
4646 * gdb.trace/tracecmd.exp
4647 * gdb.trace/tspeed.exp
4648 * gdb.trace/tsv.exp
4649 * lib/perftest.exp
4650
4651 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4652
4653 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4654 with gdb_test_no_output.
4655 Use command as test name.
4656
4657 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4658
4659 Fix test names starting with uppercase throughout the files.
4660
4661 * gdb.ada/assign_1.exp
4662 * gdb.ada/boolean_expr.exp
4663 * gdb.base/arrayidx.exp
4664 * gdb.base/del.exp
4665 * gdb.base/gcore-buffer-overflow.exp
4666 * gdb.base/testenv.exp
4667 * gdb.compile/compile.exp
4668 * gdb.python/py-framefilter-invalidarg.exp
4669 * gdb.python/py-framefilter.exp
4670
4671 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4672
4673 Fix test names starting with uppercase throughout the files.
4674
4675 * gdb.ada/array_return.exp
4676 * gdb.ada/expr_delims.exp
4677 * gdb.ada/mi_dyn_arr.exp
4678 * gdb.ada/mi_interface.exp
4679 * gdb.ada/mi_var_array.exp
4680 * gdb.ada/watch_arg.exp
4681 * gdb.arch/alpha-step.exp
4682 * gdb.arch/altivec-regs.exp
4683 * gdb.arch/e500-regs.exp
4684 * gdb.arch/powerpc-d128-regs.exp
4685 * gdb.base/arrayidx.exp
4686 * gdb.base/break.exp
4687 * gdb.base/checkpoint.exp
4688 * gdb.base/debug-expr.exp
4689 * gdb.base/dmsym.exp
4690 * gdb.base/radix.exp
4691 * gdb.base/sepdebug.exp
4692 * gdb.base/testenv.exp
4693 * gdb.base/watch_thread_num.exp
4694 * gdb.base/watchpoint-cond-gone.exp
4695 * gdb.cell/break.exp
4696 * gdb.cell/ea-cache.exp
4697 * gdb.compile/compile.exp
4698 * gdb.cp/gdb2495.exp
4699 * gdb.gdb/selftest.exp
4700 * gdb.gdb/xfullpath.exp
4701 * gdb.go/hello.exp
4702 * gdb.go/integers.exp
4703 * gdb.objc/basicclass.exp
4704 * gdb.pascal/hello.exp
4705 * gdb.pascal/integers.exp
4706 * gdb.python/py-breakpoint.exp
4707 * gdb.python/py-cmd.exp
4708 * gdb.python/py-linetable.exp
4709 * gdb.python/py-xmethods.exp
4710 * gdb.python/python.exp
4711 * gdb.reverse/consecutive-precsave.exp
4712 * gdb.reverse/finish-precsave.exp
4713 * gdb.reverse/i386-precsave.exp
4714 * gdb.reverse/machinestate-precsave.exp
4715 * gdb.reverse/sigall-precsave.exp
4716 * gdb.reverse/solib-precsave.exp
4717 * gdb.reverse/step-precsave.exp
4718 * gdb.reverse/until-precsave.exp
4719 * gdb.reverse/watch-precsave.exp
4720 * gdb.threads/leader-exit.exp
4721 * gdb.threads/pthreads.exp
4722 * gdb.threads/wp-replication.exp
4723 * gdb.trace/actions.exp
4724 * gdb.trace/mi-tsv-changed.exp
4725 * gdb.trace/tsv.exp
4726
4727 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4728
4729 Fix test names starting with uppercase throughout the files.
4730
4731 * gdb.arch/i386-bp_permanent.exp
4732 * gdb.arch/i386-gnu-cfi.exp
4733 * gdb.base/disasm-end-cu.exp
4734 * gdb.base/macscp.exp
4735 * gdb.base/pending.exp
4736 * gdb.base/watch_thread_num.exp
4737 * gdb.cp/exception.exp
4738 * gdb.cp/gdb2495.exp
4739 * gdb.cp/local.exp
4740 * gdb.python/py-evsignal.exp
4741 * gdb.python/python.exp
4742 * gdb.trace/tracecmd.exp
4743
4744 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4745
4746 Fix test names starting with uppercase throughout the files.
4747
4748 * gdb.base/charset.exp
4749 * gdb.base/eval.exp
4750 * gdb.base/multi-forks.exp
4751 * gdb.guile/scm-progspace.exp
4752 * gdb.opencl/datatypes.exp
4753 * gdb.python/py-block.exp
4754 * gdb.python/py-function.exp
4755 * gdb.python/py-symbol.exp
4756 * gdb.python/py-symtab.exp
4757 * gdb.python/py-xmethods.exp
4758 * gdb.reverse/break-precsave.exp
4759 * gdb.reverse/break-reverse.exp
4760 * gdb.reverse/consecutive-precsave.exp
4761 * gdb.reverse/consecutive-reverse.exp
4762 * gdb.reverse/finish-precsave.exp
4763 * gdb.reverse/finish-reverse-bkpt.exp
4764 * gdb.reverse/finish-reverse.exp
4765 * gdb.reverse/fstatat-reverse.exp
4766 * gdb.reverse/getresuid-reverse.exp
4767 * gdb.reverse/i386-precsave.exp
4768 * gdb.reverse/i386-reverse.exp
4769 * gdb.reverse/i386-sse-reverse.exp
4770 * gdb.reverse/i387-stack-reverse.exp
4771 * gdb.reverse/insn-reverse.exp
4772 * gdb.reverse/machinestate-precsave.exp
4773 * gdb.reverse/machinestate.exp
4774 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4775 * gdb.reverse/pipe-reverse.exp
4776 * gdb.reverse/readv-reverse.exp
4777 * gdb.reverse/recvmsg-reverse.exp
4778 * gdb.reverse/rerun-prec.exp
4779 * gdb.reverse/s390-mvcle.exp
4780 * gdb.reverse/sigall-precsave.exp
4781 * gdb.reverse/sigall-reverse.exp
4782 * gdb.reverse/solib-precsave.exp
4783 * gdb.reverse/solib-reverse.exp
4784 * gdb.reverse/step-precsave.exp
4785 * gdb.reverse/step-reverse.exp
4786 * gdb.reverse/time-reverse.exp
4787 * gdb.reverse/until-precsave.exp
4788 * gdb.reverse/until-reverse.exp
4789 * gdb.reverse/waitpid-reverse.exp
4790 * gdb.reverse/watch-precsave.exp
4791 * gdb.reverse/watch-reverse.exp
4792
4793 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4794
4795 Fix test names starting with uppercase throughout the files.
4796
4797 * gdb.arch/i386-mpx-simple_segv.exp
4798 * gdb.arch/i386-mpx.exp
4799 * gdb.arch/i386-permbkpt.exp
4800 * gdb.arch/pa-nullify.exp
4801 * gdb.arch/powerpc-d128-regs.exp
4802 * gdb.arch/vsx-regs.exp
4803 * gdb.base/bfp-test.exp
4804 * gdb.base/break.exp
4805 * gdb.base/breakpoint-shadow.exp
4806 * gdb.base/callfuncs.exp
4807 * gdb.base/charset.exp
4808 * gdb.base/commands.exp
4809 * gdb.base/completion.exp
4810 * gdb.base/dfp-test.exp
4811 * gdb.base/echo.exp
4812 * gdb.base/ending-run.exp
4813 * gdb.base/eval.exp
4814 * gdb.base/expand-psymtabs.exp
4815 * gdb.base/float128.exp
4816 * gdb.base/floatn.exp
4817 * gdb.base/foll-exec-mode.exp
4818 * gdb.base/gdb1056.exp
4819 * gdb.base/gdb11531.exp
4820 * gdb.base/kill-after-signal.exp
4821 * gdb.base/multi-forks.exp
4822 * gdb.base/overlays.exp
4823 * gdb.base/pending.exp
4824 * gdb.base/sepdebug.exp
4825 * gdb.base/testenv.exp
4826 * gdb.base/valgrind-db-attach.exp
4827 * gdb.base/watch_thread_num.exp
4828 * gdb.base/watchpoint-cond-gone.exp
4829 * gdb.base/watchpoint.exp
4830 * gdb.base/watchpoints.exp
4831 * gdb.cp/arg-reference.exp
4832 * gdb.cp/baseenum.exp
4833 * gdb.cp/operator.exp
4834 * gdb.cp/shadow.exp
4835 * gdb.dwarf2/dw2-op-out-param.exp
4836 * gdb.dwarf2/dw2-reg-undefined.exp
4837 * gdb.go/chan.exp
4838 * gdb.go/hello.exp
4839 * gdb.go/integers.exp
4840 * gdb.go/methods.exp
4841 * gdb.go/package.exp
4842 * gdb.guile/scm-parameter.exp
4843 * gdb.guile/scm-progspace.exp
4844 * gdb.guile/scm-value.exp
4845 * gdb.mi/mi-pending.exp
4846 * gdb.mi/user-selected-context-sync.exp
4847 * gdb.multi/multi-attach.exp
4848 * gdb.multi/tids.exp
4849 * gdb.opt/clobbered-registers-O2.exp
4850 * gdb.pascal/floats.exp
4851 * gdb.pascal/integers.exp
4852 * gdb.python/py-block.exp
4853 * gdb.python/py-events.exp
4854 * gdb.python/py-parameter.exp
4855 * gdb.python/py-symbol.exp
4856 * gdb.python/py-symtab.exp
4857 * gdb.python/py-type.exp
4858 * gdb.python/py-value.exp
4859 * gdb.python/py-xmethods.exp
4860 * gdb.python/python.exp
4861 * gdb.reverse/break-precsave.exp
4862 * gdb.reverse/consecutive-precsave.exp
4863 * gdb.reverse/finish-precsave.exp
4864 * gdb.reverse/i386-precsave.exp
4865 * gdb.reverse/machinestate-precsave.exp
4866 * gdb.reverse/sigall-precsave.exp
4867 * gdb.reverse/solib-precsave.exp
4868 * gdb.reverse/step-precsave.exp
4869 * gdb.reverse/until-precsave.exp
4870 * gdb.reverse/watch-precsave.exp
4871 * gdb.server/ext-attach.exp
4872 * gdb.server/ext-restart.exp
4873 * gdb.server/ext-run.exp
4874 * gdb.server/ext-wrapper.exp
4875 * gdb.stabs/gdb11479.exp
4876 * gdb.stabs/weird.exp
4877 * gdb.threads/attach-many-short-lived-threads.exp
4878 * gdb.threads/kill.exp
4879 * gdb.threads/watchpoint-fork.exp
4880
4881 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4882
4883 Fix test names starting with uppercase throughout all the files below.
4884
4885 * gdb.ada/array_return.exp
4886 * gdb.ada/catch_ex.exp
4887 * gdb.ada/info_exc.exp
4888 * gdb.ada/mi_catch_ex.exp
4889 * gdb.ada/mi_dyn_arr.exp
4890 * gdb.ada/mi_ex_cond.exp
4891 * gdb.ada/mi_exc_info.exp
4892 * gdb.ada/mi_interface.exp
4893 * gdb.ada/mi_task_arg.exp
4894 * gdb.ada/mi_task_info.exp
4895 * gdb.ada/mi_var_array.exp
4896 * gdb.arch/alpha-step.exp
4897 * gdb.arch/amd64-disp-step.exp
4898 * gdb.arch/arm-disp-step.exp
4899 * gdb.arch/disp-step-insn-reloc.exp
4900 * gdb.arch/e500-prologue.exp
4901 * gdb.arch/ftrace-insn-reloc.exp
4902 * gdb.arch/gdb1558.exp
4903 * gdb.arch/i386-bp_permanent.exp
4904 * gdb.arch/i386-disp-step.exp
4905 * gdb.arch/i386-float.exp
4906 * gdb.arch/i386-gnu-cfi.exp
4907 * gdb.arch/ia64-breakpoint-shadow.exp
4908 * gdb.arch/mips16-thunks.exp
4909 * gdb.arch/pa-nullify.exp
4910 * gdb.arch/powerpc-aix-prologue.exp
4911 * gdb.arch/powerpc-power.exp
4912 * gdb.arch/ppc-dfp.exp
4913 * gdb.arch/s390-tdbregs.exp
4914 * gdb.arch/spu-info.exp
4915 * gdb.arch/spu-ls.exp
4916 * gdb.arch/thumb-bx-pc.exp
4917 * gdb.base/advance.exp
4918 * gdb.base/annota-input-while-running.exp
4919 * gdb.base/arrayidx.exp
4920 * gdb.base/asmlabel.exp
4921 * gdb.base/async.exp
4922 * gdb.base/attach-wait-input.exp
4923 * gdb.base/auto-connect-native-target.exp
4924 * gdb.base/batch-preserve-term-settings.exp
4925 * gdb.base/bfp-test.exp
4926 * gdb.base/bigcore.exp
4927 * gdb.base/bp-permanent.exp
4928 * gdb.base/break-always.exp
4929 * gdb.base/break-fun-addr.exp
4930 * gdb.base/break-idempotent.exp
4931 * gdb.base/break-main-file-remove-fail.exp
4932 * gdb.base/break-probes.exp
4933 * gdb.base/break-unload-file.exp
4934 * gdb.base/break.exp
4935 * gdb.base/call-ar-st.exp
4936 * gdb.base/call-rt-st.exp
4937 * gdb.base/call-sc.exp
4938 * gdb.base/call-signal-resume.exp
4939 * gdb.base/call-strs.exp
4940 * gdb.base/callexit.exp
4941 * gdb.base/callfuncs.exp
4942 * gdb.base/catch-gdb-caused-signals.exp
4943 * gdb.base/catch-signal-siginfo-cond.exp
4944 * gdb.base/catch-syscall.exp
4945 * gdb.base/compare-sections.exp
4946 * gdb.base/cond-eval-mode.exp
4947 * gdb.base/condbreak-call-false.exp
4948 * gdb.base/consecutive-step-over.exp
4949 * gdb.base/cursal.exp
4950 * gdb.base/disabled-location.exp
4951 * gdb.base/disasm-end-cu.exp
4952 * gdb.base/display.exp
4953 * gdb.base/double-prompt-target-event-error.exp
4954 * gdb.base/dprintf-bp-same-addr.exp
4955 * gdb.base/dprintf-detach.exp
4956 * gdb.base/dprintf-next.exp
4957 * gdb.base/dprintf-non-stop.exp
4958 * gdb.base/dprintf-pending.exp
4959 * gdb.base/dso2dso.exp
4960 * gdb.base/ending-run.exp
4961 * gdb.base/enum_cond.exp
4962 * gdb.base/examine-backward.exp
4963 * gdb.base/exe-lock.exp
4964 * gdb.base/exec-invalid-sysroot.exp
4965 * gdb.base/execl-update-breakpoints.exp
4966 * gdb.base/execution-termios.exp
4967 * gdb.base/fileio.exp
4968 * gdb.base/fixsection.exp
4969 * gdb.base/foll-exec-mode.exp
4970 * gdb.base/foll-exec.exp
4971 * gdb.base/fork-running-state.exp
4972 * gdb.base/frame-args.exp
4973 * gdb.base/fullpath-expand.exp
4974 * gdb.base/func-ptr.exp
4975 * gdb.base/gcore-relro-pie.exp
4976 * gdb.base/gdb1090.exp
4977 * gdb.base/gdb1555.exp
4978 * gdb.base/global-var-nested-by-dso.exp
4979 * gdb.base/gnu-ifunc.exp
4980 * gdb.base/hbreak-in-shr-unsupported.exp
4981 * gdb.base/hbreak-unmapped.exp
4982 * gdb.base/hook-stop.exp
4983 * gdb.base/infcall-input.exp
4984 * gdb.base/info-fun.exp
4985 * gdb.base/info-shared.exp
4986 * gdb.base/interrupt-noterm.exp
4987 * gdb.base/jit-so.exp
4988 * gdb.base/jit.exp
4989 * gdb.base/line-symtabs.exp
4990 * gdb.base/list.exp
4991 * gdb.base/longjmp.exp
4992 * gdb.base/macscp.exp
4993 * gdb.base/max-value-size.exp
4994 * gdb.base/nodebug.exp
4995 * gdb.base/nofield.exp
4996 * gdb.base/overlays.exp
4997 * gdb.base/paginate-after-ctrl-c-running.exp
4998 * gdb.base/paginate-bg-execution.exp
4999 * gdb.base/paginate-inferior-exit.exp
5000 * gdb.base/pending.exp
5001 * gdb.base/pr11022.exp
5002 * gdb.base/printcmds.exp
5003 * gdb.base/ptr-typedef.exp
5004 * gdb.base/ptype.exp
5005 * gdb.base/randomize.exp
5006 * gdb.base/range-stepping.exp
5007 * gdb.base/realname-expand.exp
5008 * gdb.base/relativedebug.exp
5009 * gdb.base/remote.exp
5010 * gdb.base/savedregs.exp
5011 * gdb.base/sepdebug.exp
5012 * gdb.base/set-noassign.exp
5013 * gdb.base/shlib-call.exp
5014 * gdb.base/shreloc.exp
5015 * gdb.base/sigaltstack.exp
5016 * gdb.base/sigbpt.exp
5017 * gdb.base/siginfo-addr.exp
5018 * gdb.base/siginfo-obj.exp
5019 * gdb.base/siginfo-thread.exp
5020 * gdb.base/signest.exp
5021 * gdb.base/signull.exp
5022 * gdb.base/sigrepeat.exp
5023 * gdb.base/skip.exp
5024 * gdb.base/so-impl-ld.exp
5025 * gdb.base/solib-corrupted.exp
5026 * gdb.base/solib-disc.exp
5027 * gdb.base/solib-display.exp
5028 * gdb.base/solib-overlap.exp
5029 * gdb.base/solib-search.exp
5030 * gdb.base/solib-symbol.exp
5031 * gdb.base/source-execution.exp
5032 * gdb.base/sss-bp-on-user-bp-2.exp
5033 * gdb.base/sss-bp-on-user-bp.exp
5034 * gdb.base/stack-checking.exp
5035 * gdb.base/stale-infcall.exp
5036 * gdb.base/step-break.exp
5037 * gdb.base/step-line.exp
5038 * gdb.base/step-over-exit.exp
5039 * gdb.base/step-test.exp
5040 * gdb.base/structs.exp
5041 * gdb.base/sym-file.exp
5042 * gdb.base/symtab-search-order.exp
5043 * gdb.base/term.exp
5044 * gdb.base/type-opaque.exp
5045 * gdb.base/unload.exp
5046 * gdb.base/until-nodebug.exp
5047 * gdb.base/until.exp
5048 * gdb.base/unwindonsignal.exp
5049 * gdb.base/watch-cond.exp
5050 * gdb.base/watch-non-mem.exp
5051 * gdb.base/watch_thread_num.exp
5052 * gdb.base/watchpoint-reuse-slot.exp
5053 * gdb.base/watchpoint-solib.exp
5054 * gdb.base/watchpoint.exp
5055 * gdb.btrace/dlopen.exp
5056 * gdb.cell/arch.exp
5057 * gdb.cell/break.exp
5058 * gdb.cell/bt.exp
5059 * gdb.cell/core.exp
5060 * gdb.cell/data.exp
5061 * gdb.cell/dwarfaddr.exp
5062 * gdb.cell/ea-cache.exp
5063 * gdb.cell/ea-standalone.exp
5064 * gdb.cell/ea-test.exp
5065 * gdb.cell/f-regs.exp
5066 * gdb.cell/fork.exp
5067 * gdb.cell/gcore.exp
5068 * gdb.cell/mem-access.exp
5069 * gdb.cell/ptype.exp
5070 * gdb.cell/registers.exp
5071 * gdb.cell/sizeof.exp
5072 * gdb.cell/solib-symbol.exp
5073 * gdb.cell/solib.exp
5074 * gdb.compile/compile-tls.exp
5075 * gdb.cp/exception.exp
5076 * gdb.cp/gdb2495.exp
5077 * gdb.cp/local.exp
5078 * gdb.cp/mb-inline.exp
5079 * gdb.cp/mb-templates.exp
5080 * gdb.cp/pr10687.exp
5081 * gdb.cp/pr9167.exp
5082 * gdb.cp/scope-err.exp
5083 * gdb.cp/templates.exp
5084 * gdb.cp/virtfunc.exp
5085 * gdb.dwarf2/dw2-dir-file-name.exp
5086 * gdb.dwarf2/dw2-single-line-discriminators.exp
5087 * gdb.fortran/complex.exp
5088 * gdb.fortran/library-module.exp
5089 * gdb.guile/guile.exp
5090 * gdb.guile/scm-cmd.exp
5091 * gdb.guile/scm-frame-inline.exp
5092 * gdb.guile/scm-objfile.exp
5093 * gdb.guile/scm-pretty-print.exp
5094 * gdb.guile/scm-symbol.exp
5095 * gdb.guile/scm-type.exp
5096 * gdb.guile/scm-value.exp
5097 * gdb.linespec/keywords.exp
5098 * gdb.linespec/ls-errs.exp
5099 * gdb.linespec/macro-relative.exp
5100 * gdb.linespec/thread.exp
5101 * gdb.mi/mi-breakpoint-changed.exp
5102 * gdb.mi/mi-dprintf-pending.exp
5103 * gdb.mi/mi-fullname-deleted.exp
5104 * gdb.mi/mi-logging.exp
5105 * gdb.mi/mi-pending.exp
5106 * gdb.mi/mi-solib.exp
5107 * gdb.mi/new-ui-mi-sync.exp
5108 * gdb.mi/user-selected-context-sync.exp
5109 * gdb.multi/dummy-frame-restore.exp
5110 * gdb.multi/multi-arch-exec.exp
5111 * gdb.multi/remove-inferiors.exp
5112 * gdb.multi/watchpoint-multi-exit.exp
5113 * gdb.opt/solib-intra-step.exp
5114 * gdb.perf/backtrace.exp
5115 * gdb.perf/single-step.exp
5116 * gdb.perf/skip-command.exp
5117 * gdb.perf/skip-prologue.exp
5118 * gdb.perf/solib.exp
5119 * gdb.python/lib-types.exp
5120 * gdb.python/py-as-string.exp
5121 * gdb.python/py-bad-printers.exp
5122 * gdb.python/py-block.exp
5123 * gdb.python/py-breakpoint.exp
5124 * gdb.python/py-cmd.exp
5125 * gdb.python/py-events.exp
5126 * gdb.python/py-evthreads.exp
5127 * gdb.python/py-finish-breakpoint.exp
5128 * gdb.python/py-finish-breakpoint2.exp
5129 * gdb.python/py-frame-inline.exp
5130 * gdb.python/py-frame.exp
5131 * gdb.python/py-inferior.exp
5132 * gdb.python/py-infthread.exp
5133 * gdb.python/py-mi.exp
5134 * gdb.python/py-objfile.exp
5135 * gdb.python/py-pp-maint.exp
5136 * gdb.python/py-pp-registration.exp
5137 * gdb.python/py-prettyprint.exp
5138 * gdb.python/py-recurse-unwind.exp
5139 * gdb.python/py-shared.exp
5140 * gdb.python/py-symbol.exp
5141 * gdb.python/py-symtab.exp
5142 * gdb.python/py-template.exp
5143 * gdb.python/py-type.exp
5144 * gdb.python/py-unwind-maint.exp
5145 * gdb.python/py-unwind.exp
5146 * gdb.python/py-value.exp
5147 * gdb.python/python.exp
5148 * gdb.reverse/finish-reverse-bkpt.exp
5149 * gdb.reverse/insn-reverse.exp
5150 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5151 * gdb.reverse/solib-precsave.exp
5152 * gdb.reverse/solib-reverse.exp
5153 * gdb.stabs/gdb11479.exp
5154 * gdb.stabs/weird.exp
5155 * gdb.threads/fork-child-threads.exp
5156 * gdb.threads/fork-plus-threads.exp
5157 * gdb.threads/fork-thread-pending.exp
5158 * gdb.threads/forking-threads-plus-breakpoint.exp
5159 * gdb.threads/hand-call-in-threads.exp
5160 * gdb.threads/interrupted-hand-call.exp
5161 * gdb.threads/linux-dp.exp
5162 * gdb.threads/local-watch-wrong-thread.exp
5163 * gdb.threads/next-while-other-thread-longjmps.exp
5164 * gdb.threads/non-ldr-exit.exp
5165 * gdb.threads/pending-step.exp
5166 * gdb.threads/print-threads.exp
5167 * gdb.threads/process-dies-while-detaching.exp
5168 * gdb.threads/process-dies-while-handling-bp.exp
5169 * gdb.threads/pthreads.exp
5170 * gdb.threads/queue-signal.exp
5171 * gdb.threads/reconnect-signal.exp
5172 * gdb.threads/signal-command-handle-nopass.exp
5173 * gdb.threads/signal-command-multiple-signals-pending.exp
5174 * gdb.threads/signal-delivered-right-thread.exp
5175 * gdb.threads/signal-sigtrap.exp
5176 * gdb.threads/sigthread.exp
5177 * gdb.threads/staticthreads.exp
5178 * gdb.threads/stepi-random-signal.exp
5179 * gdb.threads/thread-unwindonsignal.exp
5180 * gdb.threads/thread_check.exp
5181 * gdb.threads/thread_events.exp
5182 * gdb.threads/tid-reuse.exp
5183 * gdb.threads/tls-nodebug.exp
5184 * gdb.threads/tls-shared.exp
5185 * gdb.threads/tls-so_extern.exp
5186 * gdb.threads/tls.exp
5187 * gdb.threads/wp-replication.exp
5188 * gdb.trace/actions-changed.exp
5189 * gdb.trace/actions.exp
5190 * gdb.trace/backtrace.exp
5191 * gdb.trace/change-loc.exp
5192 * gdb.trace/collection.exp
5193 * gdb.trace/deltrace.exp
5194 * gdb.trace/disconnected-tracing.exp
5195 * gdb.trace/entry-values.exp
5196 * gdb.trace/ftrace-lock.exp
5197 * gdb.trace/ftrace.exp
5198 * gdb.trace/infotrace.exp
5199 * gdb.trace/mi-trace-frame-collected.exp
5200 * gdb.trace/mi-trace-unavailable.exp
5201 * gdb.trace/mi-traceframe-changed.exp
5202 * gdb.trace/mi-tracepoint-changed.exp
5203 * gdb.trace/mi-tsv-changed.exp
5204 * gdb.trace/no-attach-trace.exp
5205 * gdb.trace/packetlen.exp
5206 * gdb.trace/passc-dyn.exp
5207 * gdb.trace/passcount.exp
5208 * gdb.trace/pending.exp
5209 * gdb.trace/pr16508.exp
5210 * gdb.trace/qtro.exp
5211 * gdb.trace/range-stepping.exp
5212 * gdb.trace/read-memory.exp
5213 * gdb.trace/report.exp
5214 * gdb.trace/save-trace.exp
5215 * gdb.trace/signal.exp
5216 * gdb.trace/stap-trace.exp
5217 * gdb.trace/status-stop.exp
5218 * gdb.trace/strace.exp
5219 * gdb.trace/tfile.exp
5220 * gdb.trace/tfind.exp
5221 * gdb.trace/trace-break.exp
5222 * gdb.trace/trace-condition.exp
5223 * gdb.trace/trace-enable-disable.exp
5224 * gdb.trace/trace-mt.exp
5225 * gdb.trace/tracecmd.exp
5226 * gdb.trace/tracefile-pseudo-reg.exp
5227 * gdb.trace/tspeed.exp
5228 * gdb.trace/tstatus.exp
5229 * gdb.trace/tsv.exp
5230 * gdb.trace/unavailable.exp
5231 * gdb.trace/while-dyn.exp
5232 * gdb.trace/while-stepping.exp
5233 * lib/gdb-guile.exp
5234 * lib/gdb.exp
5235 * lib/mi-support.exp
5236 * lib/pascal.exp
5237 * lib/perftest.exp
5238 * lib/prelink-support.exp
5239 * lib/selftest-support.exp
5240
5241 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5242
5243 * Makefile.in: Include disable-implicit-rules.mk.
5244
5245 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5246
5247 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5248 non-byte-aligned bit fields.
5249
5250 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5251
5252 PR gdb/12616
5253 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5254 respects the DW_AT_data_bit_offset attribute.
5255
5256 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5257
5258 * gdb.base/default.exp: Fix output of "set language".
5259
5260 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5261
5262 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5263 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5264 make.
5265 * configure.ac: Remove checks for the make program.
5266 * configure: Re-generate.
5267
5268 2016-11-16 Kevin Buettner <kevinb@redhat.com>
5269
5270 * gdb.python/py-recurse-unwind.c (main): Add loop.
5271 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5272 to read_register() and gdb.parse_and_eval(). Make each code
5273 call a separate case that can be individually tested.
5274 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5275 proc. Call cont_and_backtrace for each of the code paths that
5276 we want to test in the unwinder.
5277
5278 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5279
5280 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5281 the definition of struct S.
5282
5283 2016-11-11 Catherine Moore <clm@codesourcery.com>
5284
5285 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5286
5287 2016-11-09 Pedro Alves <palves@redhat.com>
5288
5289 * gdb.base/commands.exp (runto_or_return): New procedure.
5290 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5291 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5292 (progvar_simple_while_test, progvar_complex_if_while_test)
5293 (if_while_breakpoint_command_test)
5294 (infrun_breakpoint_command_test, breakpoint_command_test)
5295 (user_defined_command_test, watchpoint_command_test)
5296 (test_command_prompt_position, redefine_hook_test)
5297 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5298 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5299 multi_line_input and multi_line. Remove gdb_expect and
5300 gdb_stop_suppressing_tests uses.
5301 * lib/gdb.exp (valnum_re): New global.
5302 (multi_line_input): New procedure.
5303
5304 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5305
5306 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5307 Remove.
5308 (test_setup): Define with proc_with_prefix.
5309 (test_cli_inferior): Likewise.
5310 (test_cli_thread): Likewise.
5311 (test_cli_frame): Likewise.
5312 (test_cli_select_frame): Likewise.
5313 (test_cli_up_down): Likewise.
5314 (test_mi_thread_select): Likewise.
5315 (test_mi_stack_select_frame): Likewise.
5316 (test_cli_in_mi_inferior): Likewise.
5317 (test_cli_in_mi_thread): Likewise.
5318 (test_cli_in_mi_frame): Likewise.
5319 (top level): Do not use with_test_prefix_procname.
5320
5321 2016-11-09 Pedro Alves <palves@redhat.com>
5322
5323 * gdb.base/commands.exp (gdbvar_simple_if_test)
5324 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5325 (progvar_simple_if_test, progvar_simple_while_test)
5326 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5327 (infrun_breakpoint_command_test, breakpoint_command_test)
5328 (user_defined_command_test, watchpoint_command_test)
5329 (test_command_prompt_position, deprecated_command_test)
5330 (bp_deleted_in_command, temporary_breakpoint_commands)
5331 (stray_arg0_test, source_file_with_indented_comment)
5332 (recursive_source_test, if_commands_test)
5333 (error_clears_commands_left, redefine_hook_test)
5334 (redefine_backtrace_test): Use proc_with_prefix.
5335 * lib/gdb.exp (proc_with_prefix): New proc.
5336
5337 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5338
5339 * gdb.base/tui-layout.c: New file.
5340 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5341 disassembly window contains very long lines.
5342
5343 2016-11-08 Tom Tromey <tom@tromey.com>
5344
5345 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5346 depend on Python 2.
5347
5348 2016-11-08 Tom Tromey <tom@tromey.com>
5349
5350 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5351 New method.
5352
5353 2016-10-29 Manish Goregaokar <manish@mozilla.com>
5354
5355 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5356
5357 2016-10-27 Manish Goregaokar <manish@mozilla.com>
5358
5359 * gdb.rust/simple.rs: Add test for univariant enums without
5360 discriminants and for encoded struct-like enums.
5361
5362 2016-10-28 Pedro Alves <palves@redhat.com>
5363
5364 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5365 gdb_test_multiple, tighten regexps and match symtabs and line
5366 tables incrementally.
5367
5368 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
5369
5370 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5371 general.
5372
5373 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
5374
5375 * gdb.base/exec-invalid-sysroot.exp: New file.
5376
5377 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5378
5379 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5380
5381 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5382
5383 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5384
5385 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5386
5387 * gdb.base/killed-outside.exp: Remove $options from a call to
5388 `prepare_for_testing'.
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 Change test message.
5394
5395 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5396
5397 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5398 Update comment.
5399
5400 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5401
5402 * gdb.trace/mi-trace-save.exp: New file.
5403
5404 2016-10-13 Yao Qi <yao.qi@linaro.org>
5405
5406 * gdb.base/code_elim.exp (get_var_address): Remove.
5407 * gdb.base/relocate.exp: Likewise.
5408 * gdb.base/shreloc.exp: Likewise.
5409 * lib/gdb.exp (get_var_address): New.
5410
5411 2016-10-13 Yao Qi <yao.qi@linaro.org>
5412
5413 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5414 floating point tests if $skip_float_test is false.
5415
5416 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
5417
5418 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5419 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5420 argc values.
5421 Add 1 to argc so we guarantee distinct initial/modified argc values.
5422
5423 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5424
5425 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5426
5427 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5428
5429 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5430 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5431 * gdb.arch/vsx-regs.exp: Likewise.
5432
5433 2016-10-07 Yao Qi <yao.qi@linaro.org>
5434
5435 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5436
5437 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5438
5439 * gdb.python/python.exp: Test decode_line("*0").
5440
5441 2016-10-06 Doug Evans <dje@google.com>
5442
5443 * gdb.python/py-value.exp (test_value_creation): Add test for large
5444 unsigned 64-bit value.
5445
5446 2016-10-06 Tom Tromey <tom@tromey.com>
5447
5448 * gdb.compile/compile.exp: Change java tests to rust.
5449 * gdb.base/setshow.exp: Change java tests to rust.
5450 * gdb.base/default.exp: Remove java from language list.
5451 * README (Examples): Update language example.
5452 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5453 test.
5454 * lib/gdb.exp (skip_java_tests): Remove.
5455 * lib/java.exp: Remove.
5456 * gdb.java: Remove.
5457
5458 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5459
5460 * gdb.arch/mips-fcr.exp: New test.
5461 * gdb.arch/mips-fcr.c: Source for the new test.
5462
5463 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5464
5465 * gdb.base/solib-disc.exp: Use `standard_output_file'
5466 throughout.
5467
5468 2016-10-06 Pedro Alves <palves@redhat.com>
5469
5470 * gdb.base/jit-simple-dl.c: New file.
5471 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5472 * gdb.base/jit-simple.c: ... this.
5473 * gdb.base/jit-simple.exp (jit_run): Delete.
5474 (build_jit): New proc.
5475 (jit_test_reread): Recompile either the main program or the shared
5476 library, depending on what is being tested. Skip changing address
5477 if caller wants to. Compare before/after addresses. If testing
5478 standalone, explicitly load the binary. Test "maint info
5479 breakpoints".
5480 (top level): Add "standalone vs shared lib" and "change address"
5481 vs "same address" axes.
5482
5483 2016-10-06 Pedro Alves <palves@redhat.com>
5484
5485 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5486 call.
5487 (jit_run): Delete.
5488 (jit_test_reread): Use with_test_prefix. Reload the main binary
5489 explicitly. Compare the before/after addresses of the JIT
5490 descriptor.
5491
5492 2016-08-15 Doug Evans <dje@google.com>
5493
5494 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5495 for single bitfields is bool.
5496 * gdb.xml/tdesc-regs.exp: Ditto.
5497
5498 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5499
5500 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5501
5502 2016-10-05 Yao Qi <yao.qi@linaro.org>
5503
5504 * lib/gdb.exp (support_complex_tests): Return zero if
5505 gdb_skip_float_test return true.
5506
5507 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5508 Simon Marchi <simon.marchi@ericsson.com>
5509
5510 PR gdb/20487
5511 * gdb.mi/user-selected-context-sync.exp: New file.
5512 * gdb.mi/user-selected-context-sync.c: New file.
5513
5514 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5515 Simon Marchi <simon.marchi@ericsson.com>
5516
5517 PR gdb/20487
5518 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5519 =thread-select-event check.
5520
5521 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5522
5523 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5524 the compulsory L operand changes.
5525 * gdb.arch/powerpc-power.s: Likewise.
5526
5527 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5528
5529 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5530 * gdb.base/jit-attach-pie.c: New file.
5531 * gdb.base/jit-attach-pie.exp: New file.
5532
5533 2016-09-28 Pedro Alves <palves@redhat.com>
5534
5535 * gdb.base/infcall-input.c: New file.
5536 * gdb.base/infcall-input.exp: New file.
5537
5538 2016-09-22 Yao Qi <yao.qi@linaro.org>
5539
5540 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5541 (gdb_exit): Rename it to ...
5542 (gdbserver_gdb_exit): ... Close GDBserver.
5543 (gdb_exit): New proc, call gdbserver_gdb_exit.
5544 (mi_gdb_exit): Likewise.
5545
5546 2016-09-22 Yao Qi <yao.qi@linaro.org>
5547
5548 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5549 path.
5550 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5551 Remove duplication.
5552
5553 2016-09-22 Yao Qi <yao.qi@linaro.org>
5554
5555 * lib/gdbserver-support.exp: Check the existence of
5556 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5557
5558 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5559
5560 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5561
5562 2016-09-21 Tom Tromey <tom@tromey.com>
5563
5564 PR gdb/20604:
5565 * gdb.base/quit.exp: New file.
5566
5567 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5568
5569 * .gitignore: New file.
5570
5571 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5572
5573 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5574 throughout.
5575
5576 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5577
5578 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5579
5580 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5581
5582 * gdb.cp/casts.cc (decltype): Move it ...
5583 (main): ... with its call to ...
5584 * gdb.cp/casts03.cc: ... a new file.
5585 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5586
5587 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5588
5589 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5590
5591 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
5592
5593 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5594 and sync up the test with tests in gas/testsuite/gas/ppc.
5595 * gdb.arch/powerpc-power.exp: Likewise.
5596
5597 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5598
5599 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5600
5601 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
5602 Jan Kratochvil <jan.kratochvil@redhat.com>
5603
5604 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5605 make m1's definition to be different from m2's. Use 'dummy' as an
5606 argument for probe 'two'.
5607
5608 2016-09-10 Jon Beniston <jon@beniston.com>
5609
5610 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5611 for sim target.
5612
5613 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5614
5615 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5616 variable declaration.
5617 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
5618 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5619 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5620 received HWCAP as its argument.
5621
5622 2016-09-06 Pedro Alves <palves@redhat.com>
5623
5624 * gdb.base/new-ui-pending-input.c: New file.
5625 * gdb.base/new-ui-pending-input.exp: New file.
5626 * gdb.exp (clear_gdb_spawn_id): New procedure.
5627 (with_spawn_id): Check whether gdb_spawn_id exists before
5628 referencing it. If gdb_spawn_id didn't exist on entry, clear it
5629 on exit.
5630
5631 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5632
5633 * gdb.base/float128.c: New file.
5634 * gdb.base/float128.exp: Likewise.
5635 * gdb.base/floatn.c: Likewise.
5636 * gdb.base/floatn.exp: Likewise.
5637
5638 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5639
5640 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5641
5642 2016-09-05 Pedro Alves <palves@redhat.com>
5643
5644 PR backtrace/19927
5645 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5646 unwinders are immediately called as side effect of "source" or
5647 "disable unwinder" commands.
5648 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5649
5650 2016-09-02 Yao Qi <yao.qi@linaro.org>
5651
5652 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5653 is true and $type is "float" or "double".
5654
5655 2016-09-02 Yao Qi <yao.qi@linaro.org>
5656
5657 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5658 true.
5659 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5660 * gdb.base/call-rt-st.exp: Likewise.
5661 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5662 return value instead of gdb,skip_float_test.
5663 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5664 (do_function_calls): Use its return value instead of
5665 gdb,skip_float_test.
5666 * gdb.base/finish.exp: Likewise.
5667 * gdb.base/funcargs.exp: Likewise.
5668 * gdb.base/return.exp: Likewise.
5669 * gdb.base/return2.exp: Likewise.
5670 * gdb.base/varargs.exp: Likewise.
5671 * lib/gdb.exp (gdb_skip_float_test): Change it to
5672 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5673
5674 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5675
5676 * gdb.multi/tids.exp: Test "thread apply all".
5677
5678 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5679
5680 * gdb.base/default.exp (tty): Remove.
5681
5682 2016-08-24 Kevin Buettner <kevinb@redhat.com>
5683
5684 * gdb.python/py-recurse-unwind.c: New file.
5685 * gdb.python/py-recurse-unwind.py: New file.
5686 * gdb.python/py-recurse-unwind.exp: New file.
5687
5688 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5689
5690 * gdb.base/set-inferior-tty.exp: New file.
5691 * gdb.base/set-inferior-tty.c: New file.
5692
5693 2016-08-23 Pedro Alves <palves@redhat.com>
5694
5695 PR gdb/20494
5696 * gdb.base/new-ui-echo.c: New file.
5697 * gdb.base/new-ui-echo.exp: New file.
5698
5699 2016-08-23 Yao Qi <yao.qi@linaro.org>
5700
5701 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5702 gdbserver_spawn.
5703 * gdb.server/connect-without-multi-process.exp (do_test):
5704 Likewise.
5705
5706 2016-08-23 Yao Qi <yao.qi@linaro.org>
5707
5708 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5709 standalone_txt. Delete gdb_txt and standalone_txt on host
5710 and target. Spawn the binary on target. Copy files from
5711 target to host.
5712
5713 2016-08-22 Pedro Alves <palves@redhat.com>
5714
5715 PR gdb/20505
5716 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5717 with_test_prefix. Factor out bits to ...
5718 (test_no_vdso): ... this new procedure.
5719
5720 2016-08-19 Carl Love <cel@us.ibm.com>
5721
5722 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5723 maintaining separate logic for constructing the output path.
5724 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5725 * gdb.arch/ppc-dfp.exp: Likewise.
5726 * gdb.arch/ppc-fp.exp: Likewise.
5727 * gdb.arch/vsx-regs.exp: Likewise.
5728 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5729 binprefix for generating the additional binary files.
5730
5731 2016-08-19 Pedro Alves <palves@redhat.com>
5732
5733 * gdb.trace/mi-trace-frame-collected.exp
5734 (test_trace_frame_collected): On x32, expect two registers.
5735
5736 2016-08-18 Carl Love <cel@us.ibm.com>
5737
5738 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5739 and sync up the test with tests in gas/testsuite/gas/ppc.
5740 * gdb.arch/powerpc-power.exp: Likewise.
5741
5742 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5743
5744 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5745 expected error message.
5746
5747 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5748
5749 * gdb.multi/remove-inferiors.exp: New file.
5750 * gdb.multi/remove-inferiors.c: New file.
5751
5752 2016-08-12 Yao Qi <yao.qi@linaro.org>
5753
5754 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5755 argument list.
5756
5757 2016-08-10 Pedro Alves <palves@redhat.com>
5758
5759 PR gdb/19187
5760 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5761 setup_kfails.
5762
5763 2016-08-09 Pedro Alves <palves@redhat.com>
5764 Simon Marchi <simon.marchi@ericsson.com>
5765
5766 PR gdb/20418
5767 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5768 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5769
5770 2016-08-09 Pedro Alves <palves@redhat.com>
5771
5772 PR mi/20431
5773 * gdb.mi/mi-cmd-error.exp: New file.
5774
5775 2016-08-09 Pedro Alves <palves@redhat.com>
5776
5777 PR gdb/18653
5778 * gdb.base/signals-state-child.c: New file.
5779 * gdb.base/signals-state-child.exp: New file.
5780 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5781
5782 2016-08-09 Pedro Alves <palves@redhat.com>
5783
5784 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5785
5786 2016-08-03 Tom Tromey <tom@tromey.com>
5787
5788 PR python/18565:
5789 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5790
5791 2016-08-01 Yao Qi <yao.qi@linaro.org>
5792
5793 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5794 variable mode to "multi-process" if $multi_process is 1, otherwise
5795 set it to "single-process".
5796
5797 2016-08-01 Yao Qi <yao.qi@linaro.org>
5798
5799 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5800 * gdb.cp/cpexprs.exp: Likewise.
5801 * gdb.cp/m-static.exp: Likewise.
5802
5803 2016-07-26 Tom Tromey <tom@tromey.com>
5804
5805 PR python/20190:
5806 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5807 test.
5808
5809 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5810
5811 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5812 selecting assembly source files.
5813 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5814 assembly source files.
5815 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5816 assembly source files.
5817 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5818 selecting assembly source files.
5819
5820 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5821
5822 * gdb.base/new-ui.exp (do_test_invalid_args): New
5823 procedure.
5824
5825 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5826
5827 * gdb.btrace/reconnect.c: New file.
5828 * gdb.btrace/reconnect.exp: New file.
5829
5830 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5831
5832 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5833 to test_catch_syscall_group.
5834 (test_catch_syscall_group): New.
5835
5836 2016-07-21 Tom Tromey <tom@tromey.com>
5837
5838 * gdb.rust/simple.rs (main): Use empty struct expression.
5839 * gdb.rust/simple.exp: Add tests for empty struct expression.
5840
5841 2016-07-21 Yao Qi <yao.qi@linaro.org>
5842
5843 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5844 if gdb_skip_xml_test is true on some targets.
5845
5846 2016-07-21 Yao Qi <yao.qi@linaro.org>
5847
5848 * gdb.server/solib-list.exp: Unset last_loaded_file.
5849
5850 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5851
5852 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5853 "step into captured_main (args)".
5854
5855 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5856
5857 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5858
5859 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5860
5861 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5862
5863 2016-07-19 Pedro Alves <palves@redhat.com>
5864
5865 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5866 * gdb.opt/inline-bt.exp: Likewise.
5867 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5868 additional_flags=-Winline.
5869 * gdb.opt/inline-locals.exp: Likewise.
5870 * gdb.opt/inline-markers.c (ATTR): Define.
5871 (inlined_fn): Use it.
5872
5873 2016-07-19 Yao Qi <yao.qi@linaro.org>
5874
5875 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5876 (test_with_self): Remove some code. Remove argument executable.
5877 (top-level): Use do_self_tests.
5878
5879 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
5880 Don Breazeal <donb@codesourcery.com>
5881
5882 * gdb.base/maint.exp: Escape paths used in regular expressions.
5883 * gdb.stabs/weird.exp: Likewise.
5884
5885 2016-07-13 Tom Tromey <tom@tromey.com>
5886
5887 PR python/15620, PR python/18620:
5888 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5889 (test_bkpt_events): New procs.
5890
5891 2016-07-13 Tom Tromey <tom@tromey.com>
5892
5893 PR python/17698:
5894 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5895 test.
5896 (test_watchpoints): Likewise.
5897 (test_bkpt_pending): New proc.
5898
5899 2016-07-13 Tom Tromey <tom@tromey.com>
5900
5901 PR cli/18053:
5902 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5903 completion test.
5904
5905 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5906
5907 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5908 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5909 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5910 f_label.
5911 (g): Rename g_end_lbl to g_label.
5912 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5913 low_pc and high_pc.
5914 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5915
5916 2016-07-12 Tom Tromey <tom@tromey.com>
5917
5918 PR python/19293:
5919 * gdb.python/py-unwind-maint.exp: Update tests.
5920
5921 2016-07-12 Yao Qi <yao.qi@linaro.org>
5922
5923 * lib/selftest-support.exp (selftest_setup): Match the output
5924 when captured_main is inlined.
5925
5926 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5927
5928 * gdb.fortran/derived-types.exp (result_line, result_line_2):
5929 New variables.
5930 (print this%a, print this%b, print this): New tests.
5931 * gdb.fortran/derived-types.f90 (this): New object and
5932 initialization.
5933
5934 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5935
5936 * gdb.ada/arraydim.exp: Remove extra directory level in build
5937 directory.
5938
5939 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5940
5941 * lib/ada.exp: Remove extra directory level in build directory.
5942 * gdb.ada/cond_lang.exp: Likewise.
5943 * gdb.ada/exec_changed.exp: Likewise.
5944 * gdb.ada/lang_switch.exp: Likewise.
5945
5946 2016-07-06 Manish Goregaokar <manish@mozilla.com>
5947
5948 * simple.rs: Add test for raw pointer subscripting.
5949 * simple.exp: Add test expectations.
5950
5951 2016-07-05 Yao Qi <yao.qi@linaro.org>
5952
5953 * gdb.mi/mi-reverse.exp: Match =record-started output.
5954
5955 2016-07-01 Pedro Alves <palves@redhat.com>
5956
5957 * gdb.base/jit-reader.exp (info_registers_current_frame): New
5958 procedure.
5959 (jit_reader_test): Test the jit reader's unwinder.
5960 * gdb.base/jithost.c (jit_function_00_code): New global.
5961 (main): Use memcpy to fill in the mmapped code, instead of poking
5962 bytes manually here.
5963 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
5964 value.
5965 (read_debug_info): Save the function's range.
5966 (read_sp): New function.
5967 (unwind_frame): Use it. Also unwind RBP.
5968 (get_frame_id): Use read_sp.
5969 (gdb_init_reader): Use calloc instead of malloc.
5970 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
5971 parameter. Use gdb_test_multiple.
5972
5973 2016-07-01 Pedro Alves <palves@redhat.com>
5974 Antoine Tremblay <antoine.tremblay@ericsson.com>
5975
5976 * gdb.threads/process-dies-while-detaching.c: New file.
5977 * gdb.threads/process-dies-while-detaching.exp: New file.
5978
5979 2016-07-01 Pedro Alves <palves@redhat.com>
5980
5981 * gdb.multi/watchpoint-multi-exit.c: New file.
5982 * gdb.multi/watchpoint-multi-exit.exp: New file.
5983
5984 2016-06-30 Pedro Alves <palves@redhat.com>
5985
5986 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
5987 unset inferior_spawn_id.
5988
5989 2016-06-30 Pedro Alves <palves@redhat.com>
5990
5991 * lib/mi-support.exp (default_mi_gdb_start): Declare global
5992 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
5993
5994 2016-06-29 Yao Qi <yao.qi@linaro.org>
5995
5996 * gdb.base/return.c: Add copyright header.
5997
5998 2016-06-29 Tom Tromey <tom@tromey.com>
5999
6000 PR python/20129:
6001 * gdb.python/py-framefilter.exp: Add tests for setting priority
6002 and disabling of non-existent frame filter.
6003
6004 2016-06-29 Yao Qi <yao.qi@linaro.org>
6005
6006 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6007 0x0f07ff.
6008
6009 2016-06-28 Yao Qi <yao.qi@linaro.org>
6010
6011 * gdb.base/catch-syscall.exp: Remove check on isnative and target
6012 triplets. Start gdb, execute catch syscall, and continue. Check
6013 gdb's output to determine catch syscall is supported.
6014
6015 2016-06-27 Manish Goregaokar <manish@mozilla.com>
6016
6017 * gdb.rust/simple.rs: Add test for returning unit in a function.
6018 * gdb.rust/simple.exp: Add expectation for functions returning
6019 unit.
6020
6021 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
6022
6023 * gdb.python/py-breakpoint-create-fail.c,
6024 gdb.python/py-breakpoint-create-fail.exp,
6025 gdb.python/py-breakpoint-create-fail.py: New testcase.
6026
6027 2016-06-25 Manish Goregaokar <manish@mozilla.com>
6028
6029 PR gdb/20239
6030 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6031 * gdb.rust/simple.exp: Add test expectations for new NonZero
6032 tests.
6033
6034 2016-06-24 David Taylor <dtaylor@emc.com>
6035
6036 * gdb.base/offsets.exp: New file.
6037 * gdb.base/offsets.c: New file.
6038
6039 2016-06-23 Tom Tromey <tom@tromey.com>
6040
6041 PR gdb/16483:
6042 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6043 before any filters are loaded.
6044
6045 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
6046
6047 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6048 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6049 structs.
6050 * gdb.fortran/derived-type-function.exp: New file.
6051 * gdb.fortran/derived-type-function.f90: New file.
6052
6053
6054 2016-06-21 Pedro Alves <palves@redhat.com>
6055
6056 * gdb.base/new-ui.exp: New file.
6057 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6058 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6059 (with_spawn_id): New procedure.
6060
6061 2016-06-21 Pedro Alves <palves@redhat.com>
6062
6063 * gdb.mi/mi-exec-run.exp: New file.
6064
6065 2016-06-21 Pedro Alves <palves@redhat.com>
6066
6067 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6068 breakpoint command's output on the main UI.
6069 (test_break): New procedure, factored out from calls in the top
6070 level.
6071 (top level): Use foreach_with_prefix to test MI as main UI and as
6072 separate UI.
6073
6074 2016-06-21 Pedro Alves <palves@redhat.com>
6075
6076 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6077 (test_awatch_creation_and_listing)
6078 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6079 Remove 'type' parameter.
6080 (test_watchpoint_all): New parameter mi_mode. Remove
6081 with_test_prefix.
6082 (top level): Use foreach_with_prefix, and add main/separate UI MI
6083 testing axis.
6084
6085 2016-06-21 Pedro Alves <palves@redhat.com>
6086
6087 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6088 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6089 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6090 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6091 (gdb_main_spawn_id, mi_spawn_id): Declare and
6092 comment.
6093 (mi_create_inferior_pty): New procedure,
6094 factored out from default_mi_gdb_start.
6095 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6096 procedures.
6097 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6098 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6099 Use mi_create_inferior_pty.
6100 (mi_gdb_start): Use eval to pass down args list.
6101
6102 2016-06-21 Pedro Alves <palves@redhat.com>
6103
6104 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6105 * gdb.opt/inline-cmds.exp: Add MI tests.
6106
6107 2016-06-21 Pedro Alves <palves@redhat.com>
6108
6109 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6110
6111 2016-06-21 Pedro Alves <palves@redhat.com>
6112
6113 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6114 (top level): Use it instead of mi_execute_to.
6115
6116 2016-06-21 Pedro Alves <palves@redhat.com>
6117
6118 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6119 (cont_handler_str): New.
6120 (signal_stop_handler): Set stop_handler_str instead of printing to
6121 stdout.
6122 (continue_handler): Set cont_handler_str instead of printing to
6123 stdout.
6124 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6125 mi_send_resuming_command. Print stop_handler_str and
6126 cont_handler_str instead of expecting the python events print
6127 directly.
6128
6129 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6130
6131 * gdb.base/jit-reader.exp: New file.
6132 * gdb.base/jithost.c: New file.
6133 * gdb.base/jithost.h: New file.
6134 * gdb.base/jitreader.c : New file.
6135 * gdb.base/jit-protocol.h: New file.
6136
6137 2016-06-17 Yao Qi <yao.qi@linaro.org>
6138
6139 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6140 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6141 and detach-on-fork. Adjust tests.
6142 (top level): Invoke break_cond_on_syscall with combinations of
6143 syscall, follow-fork-mode and detach-on-fork.
6144
6145 2016-06-17 Yao Qi <yao.qi@linaro.org>
6146
6147 * gdb.base/step-over-exit.c: New.
6148 * gdb.base/step-over-exit.exp: New.
6149
6150 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6151
6152 * gdb.base/float.exp: Add target check for nds32*-*-*.
6153 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6154
6155 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6156
6157 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6158 for unsupported target features.
6159 * gdb.base/call-rt-st.exp: Likewise.
6160 * gdb.base/call-sc.exp: Likewise.
6161 * gdb.base/call-signal-resume.exp: Likewise.
6162 * gdb.base/call-strs.exp: Likewise.
6163 * gdb.base/callexit.exp: Likewise.
6164 * gdb.base/callfuncs.exp: Likewise.
6165 * gdb.base/nodebug.exp: Likewise.
6166 * gdb.base/printcmds.exp: Likewise.
6167 * gdb.base/ptype.exp: Likewise.
6168 * gdb.base/structs.exp: Likewise.
6169 * gdb.base/unwindonsignal.exp: Likewise.
6170 * gdb.cp/gdb2495.exp: Likewise.
6171 * gdb.cp/templates.exp: Likewise.
6172 * gdb.cp/virtfunc.exp: Likewise.
6173 * gdb.threads/hand-call-in-threads.exp: Likewise.
6174 * gdb.threads/interrupted-hand-call.exp: Likewise.
6175 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6176
6177 2016-06-10 Tom Tromey <tom@tromey.com>
6178
6179 PR rust/20110:
6180 * gdb.rust/expr.exp: Add test for integer constant larger than
6181 i32.
6182
6183 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6184
6185 * gdb.fortran/nested-funcs.exp: New.
6186 * gdb.fortran/nested-funcs.f90: New.
6187
6188 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6189
6190 * gdb.base/examine-backward.c: New file.
6191 * gdb.base/examine-backward.exp: New file.
6192
6193 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6194
6195 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6196 matching.
6197
6198 2016-06-02 Tom Tromey <tom@tromey.com>
6199
6200 PR python/18984:
6201 * gdb.python/py-shared.exp: Add solib_name test.
6202
6203 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6204
6205 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6206
6207 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6208
6209 PR c++/19893
6210 * gdb.dwarf2/implref.exp: Rename to...
6211 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6212 * gdb.dwarf2/implref-array.c: New file.
6213 * gdb.dwarf2/implref-array.exp: Likewise.
6214 * gdb.dwarf2/implref-global.c: Likewise.
6215 * gdb.dwarf2/implref-global.exp: Likewise.
6216 * gdb.dwarf2/implref-struct.c: Likewise.
6217 * gdb.dwarf2/implref-struct.exp: Likewise.
6218
6219 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6220
6221 * gdb.trace/trace-condition.exp: Add 64bit tests.
6222
6223 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6224
6225 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6226 bits types.
6227 (main): Adapt to 8 to 64 bits types.
6228 * gdb.trace/trace-condition.exp: Add new tests.
6229
6230 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6231
6232 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6233
6234 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6235
6236 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6237 Move condition tests...
6238 * gdb.trace/trace-condition.exp: Here.
6239
6240 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6241
6242 * gdb.trace/trace-condition.exp: Add counter-case tests.
6243
6244 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6245
6246 PR c++/15231
6247 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6248 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6249
6250 2016-05-27 Pedro Alves <palves@redhat.com>
6251
6252 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6253 New procedure.
6254 (top level): Call it, and bail out of DejaGnu is known to be bad.
6255
6256 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6257
6258 * gdb.base/whatis.c: Extend the test case.
6259 * gdb.base/whatis.exp: Add additional tests.
6260
6261 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6262
6263 * gdb.fortran/type.f90: Add pointer variable.
6264 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6265
6266 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6267
6268 * gdb.fortran/vla-type.exp: Fix testcase name.
6269
6270 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6271
6272 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6273
6274 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6275
6276 * gdb.fortran/type.f90: Add nested structures.
6277 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6278 * gdb.fortran/derived-type.exp: Adapt expected output.
6279 * gdb.fortran/vla-type.exp: Adapt expected output.
6280
6281 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6282
6283 * gdb.fortran/whatis_type.exp: Adapt expected output.
6284
6285 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6286
6287 * gdb.fortran/print_type.exp: Fix expected output.
6288 * gdb.fortran/whatis_type.exp: Fix expected output.
6289
6290 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6291
6292 * gdb.fortran/whatis_type.exp: Use multi_line.
6293
6294 2016-05-24 Tom Tromey <tom@tromey.com>
6295
6296 PR python/17386:
6297 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6298 use value as an index.
6299
6300 2016-05-23 Tom Tromey <tom@tromey.com>
6301
6302 PR python/17981:
6303 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6304 no-breakpoint case.
6305
6306 2016-05-24 Pedro Alves <palves@redhat.com>
6307
6308 PR gdb/19828
6309 * gdb.threads/clone-attach-detach.c: New file.
6310 * gdb.threads/clone-attach-detach.exp: New file.
6311
6312 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6313
6314 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6315
6316 2016-05-23 Tom Tromey <tom@tromey.com>
6317
6318 PR python/19438, PR python/18393:
6319 * gdb.python/py-progspace.exp: Add "dir" test.
6320 * gdb.python/py-objfile.exp: Add "dir" test.
6321
6322 2016-05-23 Yao Qi <yao.qi@linaro.org>
6323
6324 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6325 * gdb.arch/thumb2-it.exp: Likewise.
6326
6327 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6328
6329 * gdb.mi/mi-threads-interrupt.c: New file.
6330 * gdb.mi/mi-threads-interrupt.exp: New file.
6331
6332 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6333
6334 PR gdb/18077
6335 * gdb.mi/mi-async-run.exp: New file.
6336 * gdb.mi/mi-async-run.c: New file.
6337
6338 2016-05-17 Tom Tromey <tom@tromey.com>
6339 Manish Goregaokar <manishsmail@gmail.com>
6340
6341 * lib/rust-support.exp: New file.
6342 * lib/gdb.exp (skip_rust_tests): New proc.
6343 (build_executable_from_specs): Handle rust.
6344 * lib/future.exp (gdb_find_rustc): New proc.
6345 (gdb_default_target_compile): Handle rust.
6346 * gdb.rust/expr.exp: New file.
6347 * gdb.rust/generics.exp: New file.
6348 * gdb.rust/generics.rs: New file.
6349 * gdb.rust/methods.exp: New file.
6350 * gdb.rust/methods.rs: New file.
6351 * gdb.rust/modules.exp: New file.
6352 * gdb.rust/modules.rs: New file.
6353 * gdb.rust/simple.exp: New file.
6354 * gdb.rust/simple.rs: New file.
6355
6356 2016-05-17 Tom Tromey <tom@tromey.com>
6357
6358 * gdb.base/default.exp (set language): Add rust.
6359
6360 2016-05-17 Tom Tromey <tom@tromey.com>
6361
6362 * gdb.gdb/unittest.exp: New file.
6363
6364 2016-05-16 Yao Qi <yao.qi@linaro.org>
6365
6366 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6367 shell_prompt. Update shell_prompt_re.
6368
6369 2016-05-12 Doug Evans <dje@google.com>
6370
6371 PR symtab/19999
6372 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6373 $options when building executable.
6374 * gdb.dwarf2/fission-loclists-pie.S: New file.
6375 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6376
6377 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6378
6379 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6380 of [is_remote target],
6381
6382 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6383
6384 * lib/gdb.exp (use_gdb_stub): New procedure.
6385
6386 2016-05-03 Yunlian Jiang <yunlian@google.com>
6387 Doug Evans <dje@google.com>
6388
6389 PR symtab/19914
6390 * gdb.dwarf2/dwp-sepdebug.c: New file.
6391 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6392
6393 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6394
6395 * gdb.base/detach.exp: Remove is_remote check.
6396
6397 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6398
6399 * gdb.base/annota-input-while-running.exp: Don't check for
6400 [is_remote target]. Enable annotations after running to main.
6401 Remove unused "set test..." line.
6402
6403 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6404
6405 * gdb.trace/trace-enable-disable.exp: New file.
6406 * gdb.trace/trace-enable-disable.c: New file.
6407
6408 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6409
6410 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6411 use it in info sharedlibrary test.
6412 * gdb.trace/ftrace-lock.exp: Likewise.
6413 * gdb.trace/ftrace.exp: Likewise.
6414 * gdb.trace/range-stepping.exp: Likewise.
6415 * gdb.trace/trace-break.exp: Likewise.
6416 * gdb.trace/trace-condition.exp: Likewise.
6417 * gdb.trace/trace-mt.exp: Likewise.
6418
6419 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6420
6421 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6422 (gdb_load_shlib): ... this.
6423 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6424 gdb_load_shlib.
6425 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6426 * gdb.base/ctxobj.exp: Likewise.
6427 * gdb.base/dprintf-pending.exp: Likewise.
6428 * gdb.base/dso2dso.exp: Likewise.
6429 * gdb.base/fixsection.exp: Likewise.
6430 * gdb.base/gcore-relro.exp: Likewise.
6431 * gdb.base/gdb1555.exp: Likewise.
6432 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6433 * gdb.base/gnu-ifunc.exp: Likewise.
6434 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6435 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6436 * gdb.base/pending.exp: Likewise.
6437 * gdb.base/print-file-var.exp: Likewise.
6438 * gdb.base/print-symbol-loading.exp: Likewise.
6439 * gdb.base/shlib-call.exp: Likewise.
6440 * gdb.base/shreloc.exp: Likewise.
6441 * gdb.base/so-impl-ld.exp: Likewise.
6442 * gdb.base/solib-disc.exp: Likewise.
6443 * gdb.base/solib-nodir.exp: Likewise.
6444 * gdb.base/solib-overlap.exp: Likewise.
6445 * gdb.base/solib-symbol.exp: Likewise.
6446 * gdb.base/solib-weak.exp (do_test): Likewise.
6447 * gdb.base/sym-file.exp: Likewise.
6448 * gdb.base/symtab-search-order.exp: Likewise.
6449 * gdb.base/type-opaque.exp: Likewise.
6450 * gdb.base/unload.exp: Likewise.
6451 * gdb.base/watchpoint-solib.exp: Likewise.
6452 * gdb.compile/compile.exp: Likewise.
6453 * gdb.cp/gdb2384.exp: Likewise.
6454 * gdb.cp/infcall-dlopen.exp: Likewise.
6455 * gdb.cp/re-set-overloaded.exp: Likewise.
6456 * gdb.fortran/library-module.exp: Likewise.
6457 * gdb.opt/solib-intra-step.exp: Likewise.
6458 * gdb.python/py-finish-breakpoint.exp: Likewise.
6459 * gdb.python/py-shared.exp: Likewise.
6460 * gdb.reverse/solib-precsave.exp: Likewise.
6461 * gdb.reverse/solib-reverse.exp: Likewise.
6462 * gdb.server/solib-list.exp: Likewise.
6463 * gdb.threads/dlopen-libpthread.exp: Likewise.
6464 * gdb.threads/tls-shared.exp: Likewise.
6465 * gdb.threads/tls-so_extern.exp: Likewise.
6466 * gdb.trace/change-loc.exp: Likewise.
6467 * gdb.trace/ftrace-lock.exp: Likewise.
6468 * gdb.trace/ftrace.exp: Likewise.
6469 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6470 * gdb.trace/pending.exp: Likewise.
6471 * gdb.trace/range-stepping.exp: Likewise.
6472 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6473 (strace_info_marker): Likewise.
6474 (strace_probe_marker): Likewise.
6475 (strace_trace_on_same_addr): Likewise.
6476 (strace_trace_on_diff_addr): Likewise.
6477 * gdb.trace/trace-break.exp: Likewise.
6478 * gdb.trace/trace-condition.exp: Likewise.
6479 * gdb.trace/trace-mt.exp: Likewise.
6480
6481 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6482
6483 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6484 result of gdb_remote_download.
6485 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6486 * gdb.base/dso2dso.exp: Likewise.
6487 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6488 * gdb.base/print-file-var.exp: Likewise.
6489 * gdb.base/shlib-call.exp: Likewise.
6490 * gdb.base/shreloc.exp: Likewise.
6491 * gdb.base/solib-overlap.exp: Likewise.
6492 * gdb.base/solib-weak.exp (do_test): Likewise.
6493 * gdb.base/unload.exp: Likewise.
6494
6495 2016-04-27 Yao Qi <yao.qi@linaro.org>
6496
6497 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6498 exists.
6499
6500 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6501
6502 * vla-type.exp: Print structure from toplevel.
6503
6504 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6505
6506 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6507 of dynamic types.
6508 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6509 of dynamic types.
6510
6511 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6512
6513 * gdb.fortran/vla-type.f90: New file.
6514 * gdb.fortran/vla-type.exp: New file.
6515
6516 2016-04-25 Yao Qi <yao.qi@linaro.org>
6517
6518 * gdb.base/branch-to-self.c: New file.
6519 * gdb.base/branch-to-self.exp: New file.
6520
6521 2016-04-22 Yao Qi <yao.qi@linaro.org>
6522
6523 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6524 more after $hex.
6525
6526 2016-04-22 Yao Qi <yao.qi@linaro.org>
6527
6528 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6529 * gdb.base/annota3.exp: Likewise.
6530
6531 2016-04-22 Yao Qi <yao.qi@linaro.org>
6532
6533 * gdb.reverse/step-precsave.exp: Do one step and test program
6534 stops in "callee" and do multiple steps until program goes out
6535 of "callee".
6536 * gdb.reverse/step-reverse.exp: Likewise.
6537
6538 2016-04-22 Yao Qi <yao.qi@linaro.org>
6539
6540 * gdb.trace/signal.exp: Also pass if
6541 $tracepoint_hits($i) > $iterations.
6542
6543 2016-04-22 Yao Qi <yao.qi@linaro.org>
6544
6545 * gdb.trace/signal.c: New file.
6546 * gdb.trace/signal.exp: New file.
6547
6548 2016-04-19 Doug Evans <xdje42@gmail.com>
6549
6550 * gdb.base/bad-file.exp: New file.
6551
6552 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6553
6554 * gdb.dwarf2/implref.exp: New file.
6555
6556 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6557
6558 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6559 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6560 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6561 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6562 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6563 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6564 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6565 * lib/fortran.exp (fortran_int4): New procedure.
6566 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6567 (fortran_logical4): Likewise.
6568
6569 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6570
6571 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6572
6573 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6574
6575 * lib/compiler.c: Add Intel specific preprocessor macros.
6576 * lib/compiler.cc: Likewise.
6577
6578 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
6579
6580 * gdb.server/connect-with-no-symbol-file.c: New file.
6581 * gdb.server/connect-with-no-symbol-file.exp: New file.
6582
6583 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6584
6585 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6586
6587 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6588
6589 * boards/gdbserver-base.exp (${board}_download): Copy source file to
6590 standard output directory.
6591
6592 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
6593
6594 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6595
6596 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
6597
6598 * gdb.btrace/instruction_history.c (loop): Add declaration.
6599
6600 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6601
6602 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6603
6604 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
6605
6606 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6607 parentheses to print.
6608 (continue_handler): Likewise.
6609
6610 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
6611
6612 * gdb.server/solib-list.exp: Remove is_remote check.
6613 Pass shlib= to gdb_compile. Don't link shared library with
6614 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
6615 Run binary filename through "readlink -f" on the target.
6616
6617 2016-04-08 Pedro Alves <palves@redhat.com>
6618
6619 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
6620 interpreter filename as argument to gdbserver_spawn.
6621 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6622 Return empty if $last_loaded_file does not exist.
6623
6624 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6625
6626 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6627 * gdb.base/jit-main.c: Use exit after usage.
6628
6629 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6630
6631 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6632 GDBHISTSIZE prior to the tests.
6633 * gdb.base/gdbinit-history.exp: Likewise.
6634
6635 2016-04-07 Pedro Alves <palves@redhat.com>
6636
6637 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6638 instead of build_executable. Use gdb_load_shlibs.
6639
6640 2016-04-07 Yao Qi <yao.qi@linaro.org>
6641
6642 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6643 Execute "si" command.
6644
6645 2016-04-07 Yao Qi <yao.qi@linaro.org>
6646
6647 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
6648 number instead of the comments on some line.
6649
6650 2016-04-06 Don Breazeal <donb@codesourcery.com>
6651
6652 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6653 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6654
6655 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6656
6657 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6658 standard_output_file. Remove unused binfile variable.
6659
6660 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
6661
6662 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6663 * gdb.python/py-mi-objfile.exp: Match "list main" output
6664 in console format.
6665
6666 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6667
6668 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6669 absolute.
6670
6671 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6672
6673 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6674 absolute.
6675 * gdb.trace/ftrace.exp: Likewise.
6676 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6677 targets as well.
6678 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6679 (gdb_load_shlibs): Copy libraries to test directory when testing
6680 natively. Only set solib-search-path if testing remotely.
6681 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6682
6683 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6684
6685 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6686 gdb_download. Use it even if the target is not remote.
6687 * gdb.base/jit.exp (compile_jit_test): Likewise.
6688 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6689 output directory if the destination board is local, otherwise use
6690 the standard remote_download from DejaGnu.
6691 (gdb_download): Remove.
6692 (gdb_load_shlibs): Use gdb_remote_download instead of
6693 gdb_download.
6694 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6695 Use gdb_remote_download instead of gdb_download. Use it even if
6696 the target is not remote.
6697 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6698 instead of gdb_download.
6699
6700 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6701
6702 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6703 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6704 run.
6705
6706 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
6707
6708 PR gdb/19820
6709 * gdb.base/printcmds.exp: Add artificial arrays tests.
6710
6711 2016-03-31 Pedro Alves <palves@redhat.com>
6712
6713 PR gdb/19858
6714 * gdb.base/jit-main.c: Include unistd.h.
6715 (ATTACH): Define to 0 if not already defined.
6716 (wait_for_gdb, mypid): New globals.
6717 (WAIT_FOR_GDB): New macro.
6718 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6719 some breakpoint locations.
6720 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6721 New procedures.
6722 (one_jit_test): Add REATTACH parameter, and handle it. Use
6723 continue_to_test_location.
6724 (top level): Test attach, and adjusts calls to one_jit_test.
6725
6726 2016-03-31 Pedro Alves <palves@redhat.com>
6727
6728 PR gdb/19858
6729 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6730 BINSUFFIX parameter, and handle it.
6731 (top level): Adjust calls compile_jit_test.
6732
6733 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
6734
6735 PR python/19743
6736 * gdb.python/py-mi-events-gdb.py: New file.
6737 * gdb.python/py-mi-events.c: New file.
6738 * gdb.python/py-mi-events.exp: New file.
6739
6740 2016-03-30 Yao Qi <yao.qi@linaro.org>
6741
6742 * gdb.reverse/until-precsave.exp: Match function name only.
6743 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6744 Move malloc to a condition block.
6745 * gdb.reverse/until-reverse.exp: Match function name only.
6746
6747 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6748
6749 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6750 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6751 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6752 variable for GPR 0 instead of assuming it is register 0.
6753 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6754 * lib/trace-support.exp: Add s390 registers.
6755
6756 2016-03-29 Yao Qi <yao.qi@linaro.org>
6757
6758 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6759
6760 2016-03-24 Yao Qi <yao.qi@linaro.org>
6761
6762 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6763 test message.
6764
6765 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6766
6767 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6768 maintaining separate logic for constructing the output path.
6769
6770 2016-03-16 Don Breazeal <donb@codesourcery.com>
6771
6772 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6773 Retry fork and waitpid on interrupted system call errors.
6774 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6775 Use with_timeout_factor to increase timeout by factor of 10.
6776
6777 2016-03-15 Don Breazeal <donb@codesourcery.com>
6778
6779 * gdb.cp/scope-err.cc: New test program.
6780 * gdb.cp/scope-err.exp: New test script.
6781 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6782 lines and "set breakpoint here" comment.
6783 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6784 Fixed some whitespace and format issues.
6785 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6786 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6787
6788 2016-03-15 Doug Evans <dje@google.com>
6789
6790 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6791 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6792 All callers updated. Add tests for enums, mixed flags register.
6793
6794 2016-03-15 Doug Evans <dje@google.com>
6795
6796 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6797 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6798
6799 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6800
6801 * gdb.base/default.exp: Add $_as_string to the list of expected
6802 convenience functions.
6803
6804 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6805
6806 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6807
6808 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6809
6810 * gdb.python/py-as-string.exp: New file.
6811 * gdb.python/py-as-string.c: New file.
6812
6813 2016-03-09 Pedro Alves <palves@redhat.com>
6814
6815 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6816 signal" -> "Thread NN received signal" output change.
6817 * gdb.threads/ia64-sigill.exp: Likewise.
6818 * gdb.threads/linux-dp.exp: Likewise.
6819 * gdb.threads/manythreads.exp: Likewise.
6820 * gdb.threads/pending-step.exp: Likewise.
6821 * gdb.threads/print-threads.exp: Likewise.
6822 * gdb.threads/sigstep-threads.exp: Likewise.
6823 * gdb.threads/staticthreads.exp: Likewise.
6824 * gdb.threads/tls.exp: Likewise.
6825
6826 2016-03-09 Pedro Alves <palves@redhat.com>
6827
6828 * gdb.base/command-line-input.exp: New file.
6829
6830 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6831
6832 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6833 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6834 * gdb.trace/pending.exp: Accept leading dot before function name.
6835 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6836 * lib/trace-support.exp: Set registers for ppc.
6837
6838 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6839
6840 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6841 use it for disassembly; accept .main in addition to main in backtrace.
6842
6843 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
6844 Marcin Kościelnicki <koriakin@0x04.net>
6845
6846 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6847 (gdb_recursion_test_ptr): New global variable.
6848 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6849 gdb_recursion_test.
6850 (gdb_c_test): Ditto.
6851
6852 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6853
6854 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6855 ordering.
6856
6857 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6858
6859 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6860 (bar): Add bar_start_lbl label.
6861 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6862 of foo/bar for emitting DWARF and tracing.
6863
6864 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6865
6866 * analyze-racy-logs.py: Set executable bit.
6867
6868 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6869
6870 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6871 (CHECK_TARGET_TMP): Likewise.
6872 (check-single-racy): New rule.
6873 (check-parallel-racy): Likewise.
6874 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6875 (do-check-parallel-racy): New rule.
6876 (check-racy/%.exp): Likewise.
6877 * README (Racy testcases): New section.
6878 * analyze-racy-logs.py: New file.
6879
6880 2016-03-03 Doug Evans <dje@google.com>
6881
6882 * gdb.base/skip.exp: Use with_test_prefix.
6883
6884 2016-03-03 Yao Qi <yao.qi@linaro.org>
6885
6886 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6887 Invoke step_over_syscall "clone" and break_cond_on_syscall
6888 "clone".
6889 * gdb.base/step-over-clone.c: New file.
6890
6891 2016-03-03 Yao Qi <yao.qi@linaro.org>
6892
6893 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6894 code format.
6895
6896 2016-03-03 Yao Qi <yao.qi@linaro.org>
6897
6898 * gdb.base/disp-step-fork.c: Rename to ...
6899 * gdb.base/step-over-fork.c: ... it. New file.
6900 * gdb.base/disp-step-vfork.c: Rename to ...
6901 * gdb.base/step-over-vfork.c: ... it. New file.
6902 * gdb.base/disp-step-syscall.exp: Rename to ...
6903 * gdb.base/step-over-syscall.exp: ... it. New file.
6904 (disp_step_cross_syscall): Rename to ...
6905 (step_over_syscall): ... it.
6906
6907 2016-03-03 Yao Qi <yao.qi@linaro.org>
6908
6909 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6910 If target supports condition evaluation on target, invoke
6911 break_cond_on_syscall for fork and vfork.
6912
6913 2016-03-03 Yao Qi <yao.qi@linaro.org>
6914
6915 * gdb.base/disp-step-syscall.exp: Don't invoke
6916 support_displaced_stepping.
6917 (disp_step_cross_syscall): Test with displaced stepping off and
6918 on if supported.
6919
6920 2016-03-03 Yao Qi <yao.qi@linaro.org>
6921
6922 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6923 proc.
6924 (setup): New proc.
6925 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
6926 and setup.
6927
6928 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6929
6930 * gdb.fortran/vla-history.exp: Remove breakpoint.
6931
6932 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6933
6934 * gdb.fortran/vla-history.exp: Lookup array elements and printing
6935 exceeds timeout.
6936
6937 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6938
6939 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
6940 breakpoint.
6941
6942 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6943
6944 * gdb.mi/vla.f90: Nullify pointer after declaration.
6945
6946 2016-03-01 Pedro Alves <palves@redhat.com>
6947
6948 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
6949
6950 2016-03-01 Pedro Alves <palves@redhat.com>
6951
6952 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
6953 before anything else.
6954 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
6955 _GNU_SOURCE here.
6956 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
6957 before anything else.
6958 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
6959
6960 2016-03-01 Pedro Alves <palves@redhat.com>
6961
6962 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
6963
6964 2016-03-01 Yao Qi <yao.qi@linaro.org>
6965
6966 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
6967 prepare_for_testing.
6968
6969 2016-03-01 Yao Qi <yao.qi@linaro.org>
6970
6971 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
6972
6973 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6974
6975 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
6976 manually constructing the output path.
6977
6978 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6979
6980 * gdb.arch/s390-stackless.S: New.
6981 * gdb.arch/s390-stackless.exp: New.
6982
6983 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
6984
6985 * gdb.dlang/circular.c: New file.
6986 * gdb.dlang/circular.exp: New file.
6987
6988 2016-02-26 Yao Qi <yao.qi@linaro.org>
6989
6990 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
6991 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
6992 (testcases): Update.
6993
6994 2016-02-26 Yao Qi <yao.qi@linaro.org>
6995
6996 * gdb.reverse/aarch64.c: Rename to ...
6997 * gdb.reverse/insn-reverse.c: ... it.
6998 * gdb.reverse/aarch64.exp: Rename to ...
6999 * gdb.reverse/insn-reverse.exp: ... it.
7000
7001 2016-02-26 Yao Qi <yao.qi@linaro.org>
7002
7003 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7004 (testcase_ftype): New.
7005 (testcases): New array.
7006 (n_testcases): New.
7007 (main): Call each element in testcases.
7008 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7009 (read_testcase): New.
7010 Do the tests in a loop.
7011
7012 2016-02-25 Yao Qi <yao.qi@linaro.org>
7013
7014 * gdb.base/branches.c: Remove.
7015
7016 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7017
7018 PR gdb/13808
7019 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7020
7021 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7022
7023 * gdb.trace/ftrace.exp: Remove unnecessary target check.
7024
7025 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7026
7027 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7028 change x86_64 call_insn to 'callq'.
7029
7030 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7031
7032 * gdb.trace/tfile-avx.c: Move to...
7033 * gdb.trace/tracefile-pseudo-reg.c: Here.
7034 * gdb.trace/tfile-avx.exp: Move to...
7035 * gdb.trace/tracefile-pseudo-reg.exp: Here.
7036
7037 2016-02-24 Gary Benson <gbenson@redhat.com>
7038
7039 * gdb.base/attach-pie-noexec.exp: Do not expect an error
7040 message on attach.
7041
7042 2016-02-23 Doug Evans <dje@google.com>
7043
7044 * gdb.base/skip.c (test_skip): New function.
7045 (end_test_skip_file_and_function): New function.
7046 (test_skip_file_and_function): New function.
7047 * gdb.base/skip1.c (test_skip): New function.
7048 (skip1_test_skip_file_and_function): New function.
7049 * gdb.base/skip.exp: Add tests for new skip options.
7050 * gdb.base/skip-solib.exp: Update expected output.
7051 * gdb.perf/skip-command.cc: New file.
7052 * gdb.perf/skip-command.exp: New file.
7053 * gdb.perf/skip-command.py: New file.
7054
7055 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
7056
7057 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7058 info registers pattern.
7059
7060 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
7061
7062 * lib/future.exp: Add D support.
7063 (gdb_find_gdc): New proc.
7064 (gdb_default_target_compile): Add D support.
7065
7066 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
7067
7068 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7069 user+system time.
7070 (trace_speed_test): Determine the iteration count for a time
7071 between 15..30 seconds.
7072
7073 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
7074
7075 * gdb.arch/i386-mpx-sigsegv.c: New file.
7076 * gdb.arch/i386-mpx-sigsegv.exp: New file.
7077 * gdb.arch/i386-mpx-simple_segv.c: New file.
7078 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7079
7080 2016-02-18 Yao Qi <yao.qi@linaro.org>
7081
7082 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7083 Don't call setup_kfail.
7084
7085 2016-02-18 Yao Qi <yao.qi@linaro.org>
7086
7087 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7088 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7089
7090 2016-02-16 Doug Evans <dje@google.com>
7091
7092 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7093 * gdb.base/skip1.c: Ditto.
7094 * gdb.base/skip.exp: Whitespace cleanup.
7095
7096 2016-02-16 Don Breazeal <donb@codesourcery.com>
7097
7098 PR remote/19496
7099 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7100 Remove kfail for PR remote/19496.
7101
7102 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7103
7104 * lib/gdb.exp (standard_temp_file): Return a path specific to
7105 the runtest invocation.
7106
7107 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7108
7109 * gdb.trace/save-trace.exp: Change relative path to be in the
7110 standard output directory.
7111
7112 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7113
7114 * gdb.arch/i386-prologue.c: Add missing prototypes.
7115
7116 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7117
7118 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7119 * gdb.arch/i386-prologue.exp: Likewise.
7120 * gdb.arch/i386-size.exp: Likewise.
7121
7122 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7123
7124 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7125 define object file path.
7126 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7127 file path.
7128 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7129 standard_output_file to define binfile.
7130
7131 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7132
7133 Fix compatibility with recent gfortran-5.3.1.
7134 * gdb.fortran/vla-history.exp (print vla1 allocated)
7135 (print vla2 allocated, print $2, print $3): Remove
7136 (print $4): Rename to ...
7137 (print $2): ... here.
7138 (print $9): Rename to ...
7139 (print $5): ... here.
7140 (print $10): Rename to ...
7141 (print $6): ... here.
7142 * gdb.fortran/vla.f90: Add pvla initialization.
7143
7144 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7145
7146 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7147 New test.
7148 * gdb.fortran/vla-value-sub.exp: Likewise.
7149
7150 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7151
7152 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7153
7154 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7155
7156 * i386-biarch-core.exp: Define corefile using
7157 standard_output_file.
7158
7159 2016-02-12 Yao Qi <yao.qi@linaro.org>
7160
7161 * gdb.arch/arm-single-step-kernel-helper.c: New.
7162 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7163
7164 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7165
7166 * gdb.btrace/tailcall-only.exp: New.
7167 * gdb.btrace/tailcall-only.c: New.
7168 * gdb.btrace/x86_64-tailcall-only.S: New.
7169 * gdb.btrace/i686-tailcall-only.S: New.
7170
7171 2016-02-11 Pedro Alves <palves@redhat.com>
7172
7173 * README (Parallel testing): Add missing double quotes.
7174
7175 2016-02-11 Pedro Alves <palves@redhat.com>
7176
7177 * README (Parallel testing): New section.
7178 (GDB_PARALLEL): Rewrite.
7179 (FORCE_PARALLEL): Document.
7180
7181 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7182
7183 * gdb.trace/tfile-avx.c: New test.
7184 * gdb.trace/tfile-avx.exp: New test.
7185
7186 2016-02-09 Keith Seitz <keiths@redhat.com>
7187
7188 PR breakpoints/19546
7189 * gdb.base/infcall-exec.c: New file.
7190 * gdb.base/infcall-exec2.c: New file.
7191 * gdb.base/infcall-exec.exp: New file.
7192
7193 2016-02-09 Keith Seitz <keiths@redhat.com>
7194
7195 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7196 (toplevel): Call test_bkpt_address.
7197
7198 2016-02-09 Keith Seitz <keiths@redhat.com>
7199
7200 PR python/19506
7201 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7202 (toplevel): Call test_bkpt_address.
7203
7204 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7205
7206 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7207 to AC_OUTPUT.
7208 * configure: Regenerate.
7209
7210 2016-02-09 Pedro Alves <palves@redhat.com>
7211
7212 PR breakpoints/19548
7213 * gdb.base/execl-update-breakpoints.c (some_function): New
7214 function.
7215 (main): Call it.
7216 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7217 Tighten expected GDB output.
7218
7219 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7220
7221 * Makefile.in (ALL_SUBDIRS): Remove.
7222 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7223 (distclean maintainer-clean realclean): Likewise.
7224 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7225 * configure: Regenerate.
7226 * gdb.ada/Makefile.in: Delete.
7227 * gdb.arch/Makefile.in: Likewise.
7228 * gdb.asm/Makefile.in: Likewise.
7229 * gdb.base/Makefile.in: Likewise.
7230 * gdb.btrace/Makefile.in: Likewise.
7231 * gdb.cell/Makefile.in: Likewise.
7232 * gdb.compile/Makefile.in: Likewise.
7233 * gdb.cp/Makefile.in: Likewise.
7234 * gdb.disasm/Makefile.in: Likewise.
7235 * gdb.dlang/Makefile.in: Likewise.
7236 * gdb.dwarf2/Makefile.in: Likewise.
7237 * gdb.fortran/Makefile.in: Likewise.
7238 * gdb.gdb/Makefile.in: Likewise.
7239 * gdb.go/Makefile.in: Likewise.
7240 * gdb.guile/Makefile.in: Likewise.
7241 * gdb.java/Makefile.in: Likewise.
7242 * gdb.linespec/Makefile.in: Likewise.
7243 * gdb.mi/Makefile.in: Likewise.
7244 * gdb.modula2/Makefile.in: Likewise.
7245 * gdb.multi/Makefile.in: Likewise.
7246 * gdb.objc/Makefile.in: Likewise.
7247 * gdb.opencl/Makefile.in: Likewise.
7248 * gdb.opt/Makefile.in: Likewise.
7249 * gdb.pascal/Makefile.in: Likewise.
7250 * gdb.perf/Makefile.in: Likewise.
7251 * gdb.python/Makefile.in: Likewise.
7252 * gdb.reverse/Makefile.in: Likewise.
7253 * gdb.server/Makefile.in: Likewise.
7254 * gdb.stabs/Makefile.in: Likewise.
7255 * gdb.threads/Makefile.in: Likewise.
7256 * gdb.trace/Makefile.in: Likewise.
7257 * gdb.xml/Makefile.in: Likewise.
7258 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7259 GDB_PARALLEL.
7260 (standard_output_file): Remove check for GDB_PARALLEL, always
7261 return path in outputs/$subdir/$testname.
7262
7263 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7264
7265 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7266 (site.exp): Assign abs_srcdir to tcl's srcdir.
7267
7268 2016-02-04 Yao Qi <yao.qi@linaro.org>
7269
7270 * gdb.base/foll-exec-mode.c: Include limits.h.
7271 (main): Add parameters argc and argv. Get directory from
7272 argv[0].
7273 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7274 compilation.
7275 * gdb.base/foll-exec.c: Include limits.h.
7276 (main): Add parameters argc and argv.
7277 Get directory from argv[0].
7278 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7279 Adjust tests on the number of lines as source code changed.
7280 * gdb.base/foll-vfork-exit.c: Include limits.h.
7281 (main): Add one line of statement before vfork.
7282 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7283 (main): Add parameters argc and argv. Get directory from
7284 argv[0].
7285 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7286 (setup_gdb): Set tbreak to skip some source lines.
7287 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7288 (main): Add parameters argc and argv. Get directory from
7289 argv[0].
7290 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7291 compilation.
7292 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7293 (main): Add parameters argc and argv. Get directory from
7294 argv[0].
7295 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7296 compilation.
7297
7298 2016-02-01 Doug Evans <dje@google.com>
7299
7300 * gdb.base/skip.exp: Clean up multiple references to same test name.
7301
7302 2016-02-01 Pedro Alves <palves@redhat.com>
7303
7304 PR remote/19496
7305 * gdb.threads/forking-threads-plus-breakpoint.exp
7306 (displaced_stepping_supported): New global.
7307 (probe_displaced_stepping_support): New procedure.
7308 (do_test): Add 'displaced' parameter, and use it.
7309 (top level): Check for displaced stepping support. Add displaced
7310 stepping on/off testing axis.
7311
7312 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7313
7314 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7315 pointer. Don't perform further tests on the unassociated pointer
7316 if the first test fails.
7317
7318 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7319
7320 * gdb.base/max-value-size.c: New file.
7321 * gdb.base/max-value-size.exp: New file.
7322 * gdb.base/huge.exp: Disable max-value-size for this test.
7323
7324 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7325
7326 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7327
7328 2016-01-28 Yao Qi <yao.qi@linaro.org>
7329
7330 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7331
7332 2016-01-25 Pedro Alves <palves@redhat.com>
7333
7334 PR threads/19461
7335 * gdb.base/fork-running-state.c: New file.
7336 * gdb.base/fork-running-state.exp: New file.
7337
7338 2016-01-25 Pedro Alves <palves@redhat.com>
7339
7340 PR gdb/19494
7341 * gdb.base/catch-fork-kill.c: New file.
7342 * gdb.base/catch-fork-kill.exp: New file.
7343
7344 2016-01-25 Pedro Alves <palves@redhat.com>
7345
7346 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7347 Delete, moved to lib/gdb.exp.
7348 * gdb.threads/forking-threads-plus-breakpoint.exp
7349 (foreach_with_prefix): Likewise.
7350 * gdb.threads/process-dies-while-handling-bp.exp
7351 (foreach_with_prefix): Likewise.
7352 * lib/gdb.exp (foreach_with_prefix): New procedure.
7353
7354 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7355
7356 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7357 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7358
7359 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7360
7361 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7362 endian targets.
7363
7364 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7365 Pedro Alves <palves@redhat.com>
7366
7367 Fix testsuite compatibility with Guile.
7368 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7369 number.
7370
7371 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7372
7373 Fix testsuite compatibility with Guile.
7374 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7375 (thread 1): New test for backtrace through signal handler.
7376
7377 2016-01-22 Yao Qi <yao.qi@linaro.org>
7378
7379 PR testsuite/19491
7380 * gdb.base/multi-forks.c: Include
7381 ../lib/unbuffer_output.c
7382 (main): Call gdb_unbuffer_output.
7383
7384 2016-01-21 Doug Evans <dje@google.com>
7385
7386 * lib/ada.exp (gdb_compile_ada): Fix typo.
7387
7388 2016-01-21 Joel Brobecker <brobecker@adacore.com>
7389
7390 * gdb.base/break-fun-addr.exp: New file.
7391 * gdb.base/break-fun-addr1.c: New file.
7392 * gdb.base/break-fun-addr2.c: New file.
7393
7394 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7395
7396 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7397 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7398 enum flag values.
7399
7400 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7401
7402 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7403 when GDB can not set the vector return value. Add more comments
7404 for clarification.
7405
7406 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7407
7408 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7409 command.
7410
7411 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7412
7413 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7414
7415 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7416
7417 * Makefile.in (check-single): Pass --status to runtest.
7418 (check/%.exp): Likewise.
7419
7420 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7421
7422 * Makefile.in (check-parallel): Propagate return code from make
7423 do-check-parallel.
7424
7425 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7426
7427 * gdb.trace/ftrace.exp: Fix expected message on continue.
7428 * gdb.trace/pending.exp: Fix expected message on continue.
7429 * gdb.trace/trace-break.exp: Fix expected message on continue.
7430
7431 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7432
7433 * lib/gdb.exp (gdb_test): Remove unused global references.
7434
7435 2016-01-18 Pedro Alves <palves@redhat.com>
7436
7437 * gdb.base/async-shell.exp: Adjust expected output.
7438 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7439 * gdb.base/siginfo-thread.exp: Adjust expected output.
7440 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7441 * gdb.java/jnpe.exp: Adjust expected output.
7442 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7443 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7444 * gdb.threads/leader-exit.exp: Adjust expected output.
7445 * gdb.threads/manythreads.exp: Adjust expected output.
7446 * gdb.threads/pthreads.exp: Adjust expected output.
7447 * gdb.threads/schedlock.exp: Adjust expected output.
7448 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7449 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7450 expected output.
7451 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7452 output.
7453 * gdb.threads/sigthread.exp: Adjust expected output.
7454 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7455
7456 2016-01-18 Yao Qi <yao.qi@linaro.org>
7457
7458 * gdb.guile/scm-section-script.c: Replace @progbits with
7459 %progbits.
7460 * gdb.python/py-section-script.c: Likewise.
7461
7462 2016-01-15 Pedro Alves <palves@redhat.com>
7463
7464 * gdb.multi/tids.exp: Test star wildcard ranges.
7465
7466 2016-01-15 Pedro Alves <palves@redhat.com>
7467
7468 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7469 command from "thread apply" invocation.
7470 (thr_apply_info_thr_invalid): Default the expected output to the
7471 input tid list.
7472 (top level): Add tests that use convenience variables. Add tests
7473 for "thread apply" with a valid TID list, but missing the command.
7474
7475 2016-01-13 Pedro Alves <palves@redhat.com>
7476
7477 * gdb.base/default.exp: Expect $_gthread as well.
7478 * gdb.multi/tids.exp: Test $_gthread.
7479 * gdb.threads/thread-specific.exp: Test $_gthread.
7480
7481 2016-01-13 Pedro Alves <palves@redhat.com>
7482
7483 * gdb.multi/tids.exp: Test "info threads -gid".
7484
7485 2016-01-13 Pedro Alves <palves@redhat.com>
7486
7487 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7488 Breakpoint.thread.
7489 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7490
7491 2016-01-07 Pedro Alves <palves@redhat.com>
7492
7493 * gdb.base/break.exp: Adjust to output changes.
7494 * gdb.base/hbreak2.exp: Likewise.
7495 * gdb.base/sepdebug.exp: Likewise.
7496 * gdb.base/watch_thread_num.exp: Likewise.
7497 * gdb.linespec/keywords.exp: Likewise.
7498 * gdb.multi/info-threads.exp: Likewise.
7499 * gdb.threads/thread-find.exp: Likewise.
7500 * gdb.multi/tids.c: New file.
7501 * gdb.multi/tids.exp: New file.
7502
7503 2016-01-13 Pedro Alves <palves@redhat.com>
7504
7505 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7506
7507 2016-01-13 Pedro Alves <palves@redhat.com>
7508
7509 * gdb.base/default.exp: Expect $_inferior as well.
7510 * gdb.multi/base.exp: Test $_inferior.
7511
7512 2016-01-13 Pedro Alves <palves@redhat.com>
7513
7514 PR breakpoints/19388
7515 * gdb.base/catch-signal-siginfo-cond.c: New file.
7516 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7517
7518 2016-01-12 Josh Stone <jistone@redhat.com>
7519 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7520
7521 * gdb.base/catch-syscall.c (do_execve): New variable.
7522 (main): Conditionally trigger an execve.
7523 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7524 (test_catch_syscall_execve): New, check entry/return across execve.
7525 (do_syscall_tests): Call test_catch_syscall_execve.
7526
7527 2016-01-12 Pedro Alves <palves@redhat.com>
7528
7529 * gdb.base/random-signal.exp (do_test): New procedure, with body
7530 of testcase moved in.
7531
7532 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7533 Pedro Alves <palves@redhat.com>
7534
7535 * gdb.base/funcargs.exp (finish from indirectly called function):
7536 Reintroduce the case for 'First'.
7537
7538 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7539 Pedro Alves <palves@redhat.com>
7540
7541 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7542 (tcatch_vfork_then_child_follow_exec)
7543 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7544 identification.
7545
7546 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7547
7548 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7549 and repeats to unlimited.
7550 * gdb.python/py-value.exp: Likewise.
7551 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7552 and repeats to unlimited.
7553
7554 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7555
7556 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7557 and reordering the functions.
7558 * gdb.multi/hangout.c: Likewise.
7559 * gdb.multi/hello.c: Likewise.
7560
7561 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7562
7563 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7564 absolute.
7565 (SingleStatisticTestResult.report): Use dict.keys instead of
7566 dict.iterkeys.
7567
7568 2016-01-06 Pedro Alves <palves@redhat.com>
7569
7570 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7571
7572 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7573
7574 * gdb.btrace/dlopen.exp: New.
7575 * gdb.btrace/dlopen.c: New.
7576 * gdb.btrace/dlopen-dso.c: New.
7577
7578 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
7579
7580 * lib/gdb.exp (gdb_test): Update comments to clarify that the
7581 PATTERN argument is optional.
7582
7583 2015-12-24 Joel Brobecker <brobecker@adacore.com>
7584
7585 * lib/ada.exp (target_compile_ada_from_dir): New function.
7586 (gdb_compile_ada): Reimplement avoiding the use of project files.
7587 * gdb.ada/gnat_ada.gpr: Delete.
7588 * gdb.ada/cond_lang.exp: Adjust test to make path before
7589 filename optional.
7590 * gdb.ada/small_reg_param.exp: Likewise.
7591
7592 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
7593
7594 * gdb.base/foll-vork.exp: Remove HP-UX special case.
7595
7596 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
7597
7598 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7599 case.
7600
7601 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
7602
7603 * gdb.base/break.exp: Remove dead code.
7604 * gdb.base/sepdebug.exp: Likewise.
7605
7606 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7607
7608 * gdb.asm/asm-source.exp: Remove HP-UX references.
7609 * gdb.base/annota1.exp: Likewise.
7610 * gdb.base/annota3.exp: Likewise.
7611 * gdb.base/attach.exp: Likewise.
7612 * gdb.base/bigcore.exp: Likewise.
7613 * gdb.base/break.exp: Likewise.
7614 * gdb.base/call-ar-st.exp: Likewise.
7615 * gdb.base/callfuncs.exp: Likewise.
7616 * gdb.base/catch-fork-static.exp: Likewise.
7617 * gdb.base/display.exp: Likewise.
7618 * gdb.base/foll-exec-mode.exp: Likewise.
7619 * gdb.base/foll-exec.exp: Likewise.
7620 * gdb.base/foll-fork.exp: Likewise.
7621 * gdb.base/foll-vfork.exp: Likewise.
7622 * gdb.base/funcargs.exp: Likewise.
7623 * gdb.base/hbreak2.exp: Likewise.
7624 * gdb.base/inferior-died.exp: Likewise.
7625 * gdb.base/interrupt.exp: Likewise.
7626 * gdb.base/multi-forks.exp: Likewise.
7627 * gdb.base/nodebug.exp: Likewise.
7628 * gdb.base/sepdebug.exp: Likewise.
7629 * gdb.base/solib1.c: Likewise.
7630 * gdb.base/step-test.exp: Likewise.
7631 * gdb.mi/non-stop.c: Likewise.
7632 * gdb.mi/pthreads.c: Likewise.
7633 * gdb.multi/bkpt-multi-exec.ex: Likewise.
7634 * gdb.threads/pthreads.c: Likewise.
7635 * gdb.threads/staticthreads.exp: Likewise.
7636 * lib/future.exp: Likewise.
7637 * lib/gdb.exp: Likewise.
7638 * gdb.base/so-indr-cl.c: Remove.
7639 * gdb.base/so-indr-cl.exp: Likewise.
7640 * gdb.base/solib.c: Likewise.
7641 * gdb.base/solib.exp: Likewise.
7642 * gdb.base/solib2.c: Likewise.
7643
7644 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7645
7646 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7647 * gdb.base/call-ar-st.exp: Likewise.
7648 * gdb.base/callfuncs.exp: Likewise.
7649 * gdb.base/condbreak.exp: Likewise.
7650 * gdb.base/constvars.exp: Likewise.
7651 * gdb.base/hbreak2.exp: Likewise.
7652 * gdb.base/langs.exp: Likewise.
7653 * gdb.base/list.exp: Likewise.
7654 * gdb.base/long_long.exp: Likewise.
7655 * gdb.base/ptype.exp: Likewise.
7656 * gdb.base/scope.exp: Likewise.
7657 * gdb.base/signals.exp: Likewise.
7658 * gdb.base/so-impl-ld.exp: Likewise.
7659 * gdb.base/varargs.exp: Likewise.
7660 * gdb.base/volatile.exp: Likewise.
7661 * gdb.base/whatis.exp: Likewise.
7662 * gdb.cp/cplusfuncs.exp: Likewise.
7663 * gdb.cp/inherit.exp: Likewise.
7664 * gdb.cp/local.exp: Likewise.
7665 * gdb.cp/member-ptr.exp: Likewise.
7666 * gdb.cp/method.exp: Likewise.
7667 * gdb.cp/overload.exp: Likewise.
7668 * gdb.cp/templates.exp: Likewise.
7669 * gdb.stabs/weird.exp: Likewise.
7670 * lib/compiler.c: Likewise.
7671 * lib/compiler.cc: Likewise.
7672 * lib/cp-support.exp: Likewise.
7673 * lib/gdb.exp: Likewise.
7674
7675 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7676
7677 * configure.ac: Remove HP-UX case.
7678 * configure: Regenerate.
7679
7680 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7681
7682 * lib/gdb.exp (gdb_compile): Add function doc.
7683
7684 2015-12-17 Pedro Alves <palves@redhat.com>
7685
7686 PR threads/19354
7687 * gdb.multi/info-threads.exp: New file.
7688
7689 2015-12-15 Yao Qi <yao.qi@linaro.org>
7690
7691 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7692 is aarch64*-*-*.
7693
7694 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7695
7696 * gdb.base/history-duplicates.exp: Skip if no readline support.
7697
7698 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7699
7700 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7701
7702 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7703
7704 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7705
7706 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7707
7708 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7709 ctrl-C if nointerrupts target property is set.
7710 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7711 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7712 * gdb.base/paginate-bg-execution.exp: Likewise.
7713 * gdb.base/paginate-execution-startup.exp: Likewise.
7714 * gdb.base/random-signal.exp: Likewise.
7715 * gdb.base/range-stepping.exp: Likewise.
7716 * gdb.cp/annota2.exp: Likewise.
7717 * gdb.cp/annota3.exp: Likewise.
7718 * gdb.gdb/selftest.exp: Likewise.
7719 * gdb.threads/continue-pending-status.exp: Likewise.
7720 * gdb.threads/leader-exit.exp: Likewise.
7721 * gdb.threads/manythreads.exp: Likewise.
7722 * gdb.threads/pthreads.exp: Likewise.
7723 * gdb.threads/schedlock.exp: Likewise.
7724 * gdb.threads/sigthread.exp: Likewise.
7725
7726 2015-12-11 Don Breazeal <donb@codesourcery.com>
7727
7728 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7729 remote.
7730 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7731 * gdb.base/foll-exec.exp (main): Enable for target remote.
7732 * gdb.base/foll-fork.exp (main): Likewise.
7733 * gdb.base/foll-vfork.exp (main): Likewise.
7734 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7735 (proc continue_to_exit_bp_loc): Use clean_restart.
7736 * gdb.base/pie-execl.exp (main): Disable for target remote.
7737 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7738 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7739 * gdb.threads/execl.exp (main): Likewise.
7740 * gdb.threads/fork-child-threads.exp (main): Likewise.
7741 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7742 remote.
7743 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7744 remote.
7745 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7746 pid.tid style ptids, instead of just tid.
7747 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7748 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7749 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7750 ptids, instead of just tid.
7751
7752 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7753
7754 * gdb.base/list.exp (test_list_forward): Add end of file error
7755 test.
7756 (test_repeat_list_command): Add end of file error test.
7757 (test_list_backwards): Add beginning of file error test.
7758
7759 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7760
7761 * gdb.base/list.exp (test_list_invalid_args): New function,
7762 defined, and called.
7763
7764 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7765
7766 * gdb.base/list.exp (test_list): Make test names unique.
7767
7768 2015-12-11 Yao Qi <yao.qi@linaro.org>
7769
7770 * gdb.base/coremaker2.c: Remove.
7771
7772 2015-12-10 Pedro Alves <palves@redhat.com>
7773
7774 * gdb.multi/base.exp: Remove stale "spaces" references.
7775
7776 2015-12-10 Pedro Alves <palves@redhat.com>
7777
7778 * gdb.multi/base.exp: Don't use nowarnings.
7779 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7780 * gdb.multi/hangout.c: Include stdio.h.
7781 * gdb.multi/hello.c: Include stdlib.h.
7782 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7783 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7784 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7785
7786 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7787
7788 * gdb.dwarf2/dw2-ranges-base.c: New file.
7789 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7790 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7791 support additional line table, and debug ranges generation.
7792 (Dwarf::ranges): New function, generate .debug_ranges.
7793 (Dwarf::lines): Support generating simple line table programs.
7794 (Dwarf::assemble): Initialise new namespace variables.
7795
7796 2015-12-09 Kevin Buettner <kevinb@redhat.com>
7797
7798 * gdb.base/async.exp (proc test_background): Add case for
7799 asynchronous execution not supported.
7800
7801 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
7802
7803 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7804 format and change test names to make them unique.
7805
7806 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7807 Pedro Alves <pedro@redhat.com>
7808
7809 PR gdb/18702
7810 Add checking of floatformats setup on x86_64 hosts.
7811 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7812 (smallval, bigval): New labels/constants.
7813 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7814 float" after loading bigval and smallval.
7815
7816 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7817
7818 * gdb.ada/fun_overload_menu.exp: New testcase.
7819 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7820
7821 2015-12-04 Josh Stone <jistone@redhat.com>
7822
7823 * gdb.base/catch-fork-static.exp: New.
7824
7825 2015-12-03 Yao Qi <yao.qi@linaro.org>
7826
7827 * gdb.base/sizeof.c: Don't include stdio.h and
7828 ../lib/unbuffer_output.c.
7829 (main): New variable 'size' and 'value'. Remove printf and
7830 gdb_unbuffer_output. Assign return value to size and value.
7831 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7832 at the beginning.
7833 (check_sizeof): Check the result by printing variable 'size'.
7834 (check_valueof): Check the result by printing variable 'value'.
7835
7836 2015-12-01 Yao Qi <yao.qi@linaro.org>
7837
7838 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7839 for aarch64*-*-linux* target.
7840
7841 2015-11-30 Pedro Alves <palves@redhat.com>
7842
7843 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7844
7845 2015-11-30 Pedro Alves <palves@redhat.com>
7846
7847 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7848 Handle non-stop mode vCont replies.
7849
7850 2015-11-30 Pedro Alves <palves@redhat.com>
7851
7852 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7853 prepare_for_testing. Start gdb with "set non-stop on" appended to
7854 GDBFLAGS. Lax expected stop output.
7855
7856 2015-11-27 Yao Qi <yao.qi@linaro.org>
7857
7858 * gdb.arch/arm-neon.exp: New.
7859 * gdb.arch/arm-neon.c: New.
7860
7861 2015-11-27 Yao Qi <yao.qi@linaro.org>
7862
7863 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7864
7865 2015-11-27 Yao Qi <yao.qi@linaro.org>
7866
7867 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7868 frames-invalid annotation.
7869
7870 2015-11-27 Yao Qi <yao.qi@linaro.org>
7871
7872 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7873
7874 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7875
7876 * gdb.threads/names.exp: New file.
7877 * gdb.threads/names.c: New file.
7878 * README: Mention gdb,no_thread_names.
7879
7880 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7881
7882 PR 19297
7883 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7884 support" error.
7885
7886 2015-11-24 Pedro Alves <palves@redhat.com>
7887
7888 PR 17539
7889 * gdb.base/display.exp: Expect displays to be sorted in ascending
7890 order. Use multi_line.
7891 * gdb.base/solib-display.exp: Likewise.
7892
7893 2015-11-24 Pedro Alves <palves@redhat.com>
7894
7895 PR 17539
7896 * gdb.base/display.exp: Expect displays to be sorted in ascending
7897 order. Use multi_line.
7898 * gdb.base/solib-display.exp: Likewise.
7899
7900 2015-11-24 Pedro Alves <palves@redhat.com>
7901
7902 PR 17539
7903 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7904 threads in ascending order.
7905 * gdb.base/foll-fork.exp: Likewise.
7906 * gdb.base/foll-vfork.exp: Likewise.
7907 * gdb.base/multi-forks.exp: Likewise.
7908 * gdb.mi/mi-nonstop.exp: Likewise.
7909 * gdb.mi/mi-nsintrall.exp: Likewise.
7910 * gdb.multi/base.exp: Likewise.
7911 * gdb.multi/multi-arch.exp: Likewise.
7912 * gdb.python/py-inferior.exp: Likewise.
7913 * gdb.threads/break-while-running.exp: Likewise.
7914 * gdb.threads/execl.exp: Likewise.
7915 * gdb.threads/gcore-thread.exp: Likewise.
7916 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7917 * gdb.threads/kill.exp: Likewise.
7918 * gdb.threads/linux-dp.exp: Likewise.
7919 * gdb.threads/multiple-step-overs.exp: Likewise.
7920 * gdb.threads/next-bp-other-thread.exp: Likewise.
7921 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7922 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7923 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7924 * gdb.threads/thread-find.exp: Likewise.
7925 * gdb.threads/tls.exp: Likewise.
7926 * lib/mi-support.exp (mi_reverse_list): Delete.
7927 (mi_check_thread_states): No longer reverse list.
7928
7929 2015-11-24 Pedro Alves <palves@redhat.com>
7930
7931 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
7932 use lowercase.
7933
7934 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7935
7936 * gdb.trace/actions.c: Include trace-common.h.
7937 (main): Add a location for a fast tracepoint.
7938 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
7939 the normal tracepoints.
7940 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
7941
7942 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7943
7944 * save-trace.exp: Factor out code to these...
7945 (gdb_save_tracepoints): New.
7946 (gdb_load_tracepoints): New.
7947 (do_save_load_test): New.
7948
7949 2015-11-23 Kevin Buettner <kevinb@redhat.com>
7950
7951 * gdb.base/asmlabel.exp: New test.
7952 * gdb.base/asmlabel.c: New test case.
7953
7954 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7955
7956 * gdb.base/wrong_frame_bt_full-main.c: New file.
7957 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
7958 * gdb.base/wrong_frame_bt_full.exp: New file.
7959
7960 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7961
7962 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
7963
7964 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7965
7966 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
7967 pstate register when comparing registers values in
7968 sparc64-*-linux-gnu targets to avoid spurious differences.
7969
7970 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7971
7972 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
7973
7974 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
7975
7976 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
7977 as type argument to gdb_compile.
7978 * gdb.base/nested-subp2.exp: Likewise.
7979 * gdb.base/nested-subp3.exp: Likewise.
7980
7981 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
7982
7983 * lib/dwarf.exp (_note): Fix left shift of negative value.
7984 * gdb.trace/trace-condition.exp: Likewise.
7985
7986 2015-11-13 Yao Qi <yao.qi@linaro.org>
7987
7988 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
7989 comments about d10v.
7990 (test_scalar_returns): Likewise.
7991 * gdb.base/d10v.ld: Remove.
7992 * gdb.base/overlays.exp: Remove the target triplet checking for
7993 d10v-*-*.
7994 * gdb.base/structs.exp (test_struct_returns): Remove the
7995 comments about d10v.
7996 (test_struct_calls): Likewise.
7997
7998 2015-11-13 Yao Qi <yao.qi@linaro.org>
7999
8000 * gdb.base/gnu_vector.exp: Check the return value by "p res".
8001 * gdb.base/gnu_vector.c: Don't include stdio.h.
8002 (main): Don't print res and call add_some_intvecs.
8003
8004 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
8005
8006 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8007 macro.
8008 (func5): Removed.
8009 (func4): Use FAST_TRACEPOINT_LABEL.
8010 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8011 macro.
8012 (func): Removed.
8013 (thread_function): Use FAST_TRACEPOINT_LABEL.
8014 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8015 (func): Remove.
8016 (marker): Use FAST_TRACEPOINT_LABEL.
8017 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8018 (pendfunc1): Remove.
8019 (pendfunc): Use FAST_TRACEPOINT_LABEL.
8020 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8021 (foo): Remove.
8022 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8023 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8024 macro.
8025 (func): Remove.
8026 (marker): Use FAST_TRACEPOINT_LABEL.
8027 * gdb.trace/trace-common.h: New header.
8028 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8029 macro.
8030 (func): Remove.
8031 (marker): Use FAST_TRACEPOINT_LABEL.
8032 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8033 (func): Remove.
8034 (thread_function): Use FAST_TRACEPOINT_LABEL.
8035
8036 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
8037
8038 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8039 in front.
8040 * gdb.trace/change-loc.exp: Use global pcreg definition.
8041 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8042 * gdb.trace/entry-values.exp: Use global spreg definition, add $
8043 in front.
8044 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8045 * gdb.trace/pending.exp: Likewise.
8046 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8047 * gdb.trace/trace-break.exp: Likewise.
8048 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8049 in front.
8050 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8051 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8052 in front.
8053 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8054
8055 2015-11-09 Joel Brobecker <brobecker@adacore.com>
8056
8057 * gdb.ada/fin_fun_out: New testcase.
8058
8059 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8060
8061 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8062 value associated with DW_AT_byte_size.
8063 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8064 constants for DW_AT_byte_size, DW_AT_lower_bound, and
8065 DW_AT_upper_bound.
8066
8067 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8068
8069 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8070 (gdb_target_symbol_prefix_flags): Define in terms of _asm
8071 version.
8072 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8073 gdb.dwarf2/dw2-canonicalize-type.exp,
8074 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8075 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8076 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8077 provided by gdb_target_symbol_prefix_flags_asm.
8078 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8079 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8080 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8081 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8082 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8083 macros where needed). Use this macro for symbols which require
8084 the prefix provided by SYMBOL_PREFIX.
8085
8086 2015-11-05 Kevin Buettner <kevinb@redhat.com>
8087
8088 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8089 New procs.
8090 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8091 representing expressions, of more than one list element.
8092 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8093 to prepend linker symbol prefix to f.
8094 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8095 table_1 and table_2.
8096 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8097 Likewise, for f and g.
8098 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8099 for ptr.
8100 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8101 for main.
8102 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8103 table_1_ptr and table_2_ptr.
8104
8105 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8106 Joel Brobecker <brobecker@adacore.com>
8107
8108 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8109
8110 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8111
8112 * gdb.reverse/s390-mvcle.c: New test.
8113 * gdb.reverse/s390-mvcle.exp: New file.
8114 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8115
8116 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8117
8118 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8119
8120 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8121
8122 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8123 reaching marker2.
8124 * gdb.reverse/getresuid-reverse.exp: Likewise.
8125 * gdb.reverse/pipe-reverse.exp: Likewise.
8126 * gdb.reverse/readv-reverse.exp: Likewise.
8127 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8128 * gdb.reverse/time-reverse.exp: Likewise.
8129 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8130
8131 2015-10-30 Yao Qi <yao.qi@linaro.org>
8132
8133 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8134 (empty_cycle): Remove.
8135 (main): Don't call empty_cycle. Don't use watch_count_done.
8136 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8137 empty_cycle. Rewrite the code counting HW watchpoints.
8138
8139 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8140
8141 * gdb.reverse/fstatat-reverse.c: New test.
8142 * gdb.reverse/fstatat-reverse.exp: New file.
8143 * gdb.reverse/getresuid-reverse.c: New test.
8144 * gdb.reverse/getresuid-reverse.exp: New file.
8145 * gdb.reverse/pipe-reverse.c: New test.
8146 * gdb.reverse/pipe-reverse.exp: New file.
8147 * gdb.reverse/readv-reverse.c: New test.
8148 * gdb.reverse/readv-reverse.exp: New file.
8149 * gdb.reverse/recvmsg-reverse.c: New test.
8150 * gdb.reverse/recvmsg-reverse.exp: New file.
8151 * gdb.reverse/time-reverse.c: New test.
8152 * gdb.reverse/time-reverse.exp: New file.
8153 * gdb.reverse/waitpid-reverse.c: New test.
8154 * gdb.reverse/waitpid-reverse.exp: New file.
8155
8156 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8157
8158 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8159
8160 2015-10-26 Doug Evans <dje@google.com>
8161
8162 PR symtab/17391
8163 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8164 * gdb.dwarf2/bad-regnum.c: New file.
8165 * gdb.dwarf2/bad-regnum.exp: New file.
8166
8167 2015-10-26 Doug Evans <dje@google.com>
8168
8169 PR python/18938
8170 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8171 file.
8172
8173 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8174
8175 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8176 for a change by "Mention language in compile error message".
8177
8178 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8179
8180 PR python/18073
8181 * gdb.python/py-type.c (C::a_method): New.
8182 (C::a_const_method): New.
8183 (C::a_static_method): New.
8184 (a_function): New.
8185 * gdb.python/py-type.exp (test_fields): Test getting fields
8186 from function and method.
8187
8188 2015-10-21 Keven Boell <keven.boell@intel.com>
8189
8190 * gdb.fortran/vla-alloc-assoc.exp: New file.
8191 * gdb.fortran/vla-datatypes.exp: New file.
8192 * gdb.fortran/vla-datatypes.f90: New file.
8193 * gdb.fortran/vla-history.exp: New file.
8194 * gdb.fortran/vla-ptype-sub.exp: New file.
8195 * gdb.fortran/vla-ptype.exp: New file.
8196 * gdb.fortran/vla-sizeof.exp: New file.
8197 * gdb.fortran/vla-sub.f90: New file.
8198 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8199 * gdb.fortran/vla-value-sub-finish.exp: New file.
8200 * gdb.fortran/vla-value-sub.exp: New file.
8201 * gdb.fortran/vla-value.exp: New file.
8202 * gdb.fortran/vla-ptr-info.exp: New file.
8203 * gdb.mi/mi-vla-fortran.exp: New file.
8204 * gdb.mi/vla.f90: New file.
8205
8206 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8207
8208 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8209 of hardwired timeout value.
8210
8211 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8212 Pedro Alves <palves@redhat.com>
8213
8214 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8215 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8216
8217 2015-10-19 Josh Stone <jistone@redhat.com>
8218
8219 * gdb.base/catch-syscall.c: Include <sched.h>.
8220 (unknown_syscall): New variable.
8221 (main): Trigger a vfork and an unknown syscall.
8222 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8223 (unknown_syscall_number): Likewise.
8224 (check_call_to_syscall): Accept an optional syscall pattern.
8225 (check_return_from_syscall): Likewise.
8226 (check_continue): Likewise.
8227 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8228 (test_catch_syscall_skipping_return): New test toggling off 'catch
8229 syscall' to step over the syscall return, then toggling back on.
8230 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8231 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8232 (do_syscall_tests): Call test_catch_syscall_without_args and
8233 test_catch_syscall_mid_vfork.
8234 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8235 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8236
8237 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
8238
8239 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8240 print g_vE): Add new pass patterns.
8241 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8242 print various symbol names for vptr fields.
8243
8244 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8245
8246 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8247 results.
8248
8249 2015-10-12 Yao Qi <yao.qi@linaro.org>
8250
8251 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8252
8253 2015-10-12 Yao Qi <yao.qi@linaro.org>
8254
8255 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8256 is aarch64*-*-linux*.
8257
8258 2015-10-12 Yao Qi <yao.qi@linaro.org>
8259
8260 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8261 (can_relocate_bcond_true): ... it.
8262 (can_relocate_bcond_false): New function.
8263 (foo): Likewise.
8264 (can_relocate_bl): Likewise.
8265 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8266 can_relocate_bl.
8267
8268 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8269
8270 * gdb.base/nested-addr.c: New file.
8271 * gdb.base/nested-addr.exp: New testcase.
8272
8273 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8274
8275 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8276 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8277 its output. Ignore the output of "record goto begin" and instead
8278 check that GDB is replaying.
8279
8280 2015-10-09 Pedro Alves <palves@redhat.com>
8281
8282 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8283 (top level): Use it in the run with no args test.
8284
8285 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8286
8287 * gdb.dlang/properties.exp: New file.
8288
8289 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8290
8291 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8292 whether or not address 0x1000 is mapped on the target.
8293
8294 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8295
8296 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8297 build.
8298
8299 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8300
8301 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8302 instruction-history test.
8303
8304 2015-09-28 Doug Evans <dje@google.com>
8305
8306 * gdb.base/gcore.c (array_func): Add reference to static_array.
8307
8308 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8309
8310 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8311 source line.
8312
8313 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8314
8315 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8316 short or char as base type.
8317
8318 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8319
8320 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8321 to allow any size enum.
8322
8323 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8324
8325 * gdb.ada/array_ptr_renaming.exp: New testcase.
8326 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8327 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8328
8329 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8330
8331 * gdb.trace/ftrace-lock.c: New file.
8332 * gdb.trace/ftrace-lock.exp: New file.
8333
8334 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8335
8336 * gdb.arch/insn-reloc.c: New file.
8337 * gdb.arch/ftrace-insn-reloc.exp: New file.
8338
8339 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8340
8341 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8342 instruction.
8343 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8344 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8345 * gdb.trace/range-stepping.c: Likewise.
8346 * gdb.trace/trace-break.c: Likewise.
8347 * gdb.trace/trace-mt.c (thread_function): Likewise.
8348 * gdb.trace/ftrace.c (marker): Likewise.
8349 * gdb.trace/trace-condition.c (marker): Likewise.
8350 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8351 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8352 is_aarch64_target.
8353
8354 2015-09-18 Doug Evans <xdje42@gmail.com>
8355
8356 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8357 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8358
8359 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8360
8361 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8362 the breakpoint.
8363
8364 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8365
8366 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8367 the pending breakpoint. Remove timeout override for "Run till
8368 MI pending breakpoint on pendfunc3 on thread 2" test.
8369
8370 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8371
8372 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8373 filename pattern.
8374
8375 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8376
8377 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8378 in breakpoint filename pattern.
8379
8380 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8381
8382 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8383
8384 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8385
8386 * gdb.linespec/explicit.exp: Check for readline support for
8387 tab-completion tests. Fix obvious typo.
8388
8389 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8390
8391 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8392 and replay.
8393
8394 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8395
8396 * gdb.btrace/non-stop.c: New.
8397 * gdb.btrace/non-stop.exp: New.
8398
8399 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8400 Yao Qi <yao.qi@linaro.org>
8401
8402 * gdb.trace/trace-condition.c: New file.
8403 * gdb.trace/trace-condition.exp: New file.
8404
8405 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
8406
8407 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8408 for testing bytecode compilation.
8409
8410 2015-09-16 Pedro Alves <palves@redhat.com>
8411 Sandra Loosemore <sandra@codesourcery.com>
8412
8413 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8414 (SECONDS): Redefine.
8415 (main): Call pthread_kill and alarm early.
8416 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8417 support.
8418 (test): If the target can't hardware step and doesn't support
8419 displaced stepping, increase the timeout.
8420
8421 2015-09-16 Pedro Alves <palves@redhat.com>
8422
8423 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8424 (enable_debug): New procedures.
8425 (test): Use them. Bail out if waiting for threads fails.
8426 (top level): Bail out if a test fails.
8427
8428 2015-09-16 Yao Qi <yao.qi@linaro.org>
8429
8430 * gdb.asm/asm-source.exp: Set asm-arch for
8431 aarch64*-*-* target.
8432 * gdb.asm/aarch64.inc: New file.
8433
8434 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8435
8436 * gdb.ada/array_of_variable_length.exp: New testcase.
8437 * gdb.ada/array_of_variable_length/foo.adb: New file.
8438 * gdb.ada/array_of_variable_length/pck.adb: New file.
8439 * gdb.ada/array_of_variable_length/pck.ads: New file.
8440
8441 2015-09-15 Doug Evans <dje@google.com>
8442
8443 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8444 of function static local variable.
8445
8446 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8447
8448 * gdb.threads/tls-so_extern.exp: New test file.
8449 * gdb.threads/tls-so_extern.c: New test file.
8450 * gdb.threads/tls-so_extern_main.c: New test file.
8451
8452 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8453
8454 * gdb.opt/solib-intra-step-lib.c: New file.
8455 * gdb.opt/solib-intra-step-main.c: New file.
8456 * gdb.opt/solib-intra-step.exp: New file.
8457
8458 2015-09-15 Pedro Alves <palves@redhat.com>
8459
8460 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8461 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8462
8463 2015-09-14 Pedro Alves <palves@redhat.com>
8464
8465 * gdb.base/hook-stop-continue.c: Delete.
8466 * gdb.base/hook-stop-continue.exp: Delete.
8467 * gdb.base/hook-stop-frame.c: Delete.
8468 * gdb.base/hook-stop-frame.exp: Delete.
8469 * gdb.base/hook-stop.c: New file.
8470 * gdb.base/hook-stop.exp: New file.
8471
8472 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8473
8474 * gdb.ada/access_to_packed_array.exp: New testcase.
8475 * gdb.ada/access_to_packed_array/foo.adb: New file.
8476 * gdb.ada/access_to_packed_array/pack.adb: New file.
8477 * gdb.ada/access_to_packed_array/pack.ads: New file.
8478
8479 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8480
8481 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8482 buffer size test.
8483
8484 2015-09-11 Don Breazeal <donb@codesourcery.com>
8485
8486 * gdb.base/foll-exec.c: Add copyright header. Fix
8487 formatting issues.
8488 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8489 (do_exec_tests): Use clean_restart in place of zap_session,
8490 and for test initialization. Fix formatting issues. Use
8491 fail in place of perror.
8492 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8493 an expect statement to match an expression with output from
8494 the program under debug.
8495 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8496 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8497 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8498 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8499 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8500
8501 2015-09-09 Doug Evans <dje@google.com>
8502
8503 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8504
8505 2015-09-09 Doug Evans <dje@google.com>
8506
8507 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8508
8509 2015-09-09 Doug Evans <dje@google.com>
8510
8511 * gdb.base/savedregs.exp: Fix typo.
8512
8513 2015-09-09 Pedro Alves <palves@redhat.com>
8514
8515 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8516
8517 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8518
8519 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8520 command actually switches threads. Give up on remaining
8521 tests if target fails to stop at breakpoint.
8522
8523 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8524
8525 * gdb.ada/funcall_char.exp: New testcase.
8526 * gdb.ada/funcall_char/foo.adb: New file.
8527
8528 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8529
8530 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8531 expected outputs. Add two testcases for completing ambiguous
8532 functions.
8533 * gdb.ada/complete/aux_pck.adb: New file.
8534 * gdb.ada/complete/aux_pck.ads: New file.
8535 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8536 Ambiguous_Func functions.
8537 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8538 * gdb.ada/complete/pck.adb: Likewise.
8539
8540 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8541
8542 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8543 failures to run the test program under GDB.
8544
8545 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
8546
8547 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8548 to C.
8549
8550 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8551
8552 * gdb.base/run-after-attach.exp: New test file.
8553 * gdb.base/run-after-attach.c: New test file.
8554
8555 2015-08-26 Don Breazeal <donb@codesourcery.com>
8556
8557 * gdb.base/foll-exec-2.c: New test program.
8558 * gdb.base/foll-exec-2.exp: New test.
8559
8560 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8561
8562 * gdb.base/nested-subp1.exp: New file.
8563 * gdb.base/nested-subp1.c: New file.
8564 * gdb.base/nested-subp2.exp: New file.
8565 * gdb.base/nested-subp2.c: New file.
8566 * gdb.base/nested-subp3.exp: New file.
8567 * gdb.base/nested-subp3.c: New file.
8568
8569 2015-08-24 Pedro Alves <palves@redhat.com>
8570
8571 * gdb.server/connect-without-multi-process.c: New file.
8572 * gdb.server/connect-without-multi-process.exp: New file.
8573
8574 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8575
8576 * gdb.opt/inline-markers.c: Make z int.
8577
8578 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8579
8580 * gdb.opt/inline-markers.c: Make z volatile.
8581
8582 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8583
8584 * gdb.opt/inline-bt.c: New volatile global z.
8585 * gdb.opt/inline-cmds.c: Likewise.
8586 * gdb.opt/inline-locals.c: Likewise.
8587 * gdb.opt/inline-markers.c: New extern global z.
8588 (marker): Use z.
8589 (inline_fn): Likewise.
8590
8591 2015-08-24 Pedro Alves <palves@redhat.com>
8592
8593 * config/m32r-stub.exp: Remove file.
8594 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8595 * gdb.base/call-rt-st.exp: Likewise.
8596 * gdb.base/call-strs.exp: Likewise.
8597 * gdb.base/default.exp: Remove references to h8300-*-hms and
8598 *-*-udi*.
8599 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8600
8601 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8602
8603 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8604 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
8605 and "return" use KFAIL when GDB can not read/write the vector
8606 return value.
8607
8608 2015-08-21 Gary Benson <gbenson@redhat.com>
8609
8610 * gdb.trace/pending.exp: Cope with remote transfer warnings.
8611
8612 2015-08-20 Pedro Alves <palves@redhat.com>
8613
8614 * gdb.server/solib-list.exp: No longer expect an interior stop in
8615 non-stop mode.
8616
8617 2015-08-20 Pedro Alves <palves@redhat.com>
8618
8619 * gdb.server/connect-stopped-target.c: New file.
8620 * gdb.server/connect-stopped-target.exp: New file.
8621
8622 2015-08-20 Pedro Alves <palves@redhat.com>
8623
8624 * gdb.dwarf2/comp-unit-lang.exp: New file.
8625 * gdb.dwarf2/comp-unit-lang.c: New file.
8626
8627 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
8628
8629 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8630 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8631
8632 2015-08-19 Kevin Buettner <kevinb@redhat.com>
8633
8634 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8635 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8636
8637 2015-08-18 Doug Evans <dje@google.com>
8638 Adrian Sendroiu <adrian.sendroiu@freescale.com>
8639
8640 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8641 skip_python_tests. New arg prompt_regexp.
8642 (skip_python_tests): New function.
8643 * lib/mi-support.exp (mi_skip_python_tests): New function.
8644 * gdb.python/py-mi-objfile-gdb.py: New file.
8645 * gdb.python/py-mi-objfile.c: New file.
8646 * gdb.python/py-mi-objfile.exp: New file.
8647
8648 2015-08-17 Keith Seitz <keiths@redhat.com>
8649
8650 * gdb.linespec/explicit.exp: Move strace test from here ...
8651 * gdb.trace/strace.exp: ... to here.
8652
8653 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8654
8655 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8656 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8657
8658 2015-08-14 Doug Evans <xdje42@gmail.com>
8659
8660 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8661 inferior before selecting a new file.
8662
8663 2015-08-14 Doug Evans <xdje42@gmail.com>
8664
8665 * gdb.mi/mi-disassemble.exp: Update.
8666 * gdb.base/disasm-optim.S: New file.
8667 * gdb.base/disasm-optim.c: New file.
8668 * gdb.base/disasm-optim.h: New file.
8669 * gdb.base/disasm-optim.exp: New file.
8670
8671 2015-08-14 Keith Seitz <keiths@redhat.com>
8672
8673 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8674 "evaluated-by".
8675
8676 2015-08-13 Joel Brobecker <brobecker@adacore.com>
8677
8678 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8679
8680 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8681
8682 * gdb.ada/fun_renaming.exp: New testcase.
8683 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8684 * gdb.ada/fun_renaming/pack.adb: New file.
8685 * gdb.ada/fun_renaming/pack.ads: New file.
8686
8687 2015-08-12 Keith Seitz <keiths@redhat.com>
8688
8689 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8690 gdb_get_line_number.
8691
8692 2015-08-12 Joel Brobecker <brobecker@adacore.com>
8693
8694 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8695 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8696 gdb.base/dso2dso.exp: New files.
8697
8698 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8699 Pedro Alves <palves@redhat.com>
8700 Keith Seitz <keiths@redhat.com>
8701
8702 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8703 GDBFLAGS.
8704
8705 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8706
8707 * gdb.base/gdbhistsize-history.exp
8708 (test_histsize_history_setting): Use save_vars.
8709 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8710 Use save_vars.
8711 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8712 * gdb.base/readline.exp: Use save_vars.
8713
8714 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8715
8716 * lib/gdb.exp (save_vars): New proc.
8717
8718 2015-08-11 Keith Seitz <keiths@redhat.com>
8719
8720 * gdb.base/help.exp: Update help_breakpoint_text.
8721
8722 2015-08-11 Keith Seitz <keiths@redhat.com>
8723
8724 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8725 (at toplevel): Call test_explicit_breakpoints.
8726 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8727 breakpoints.
8728 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8729 breakpoint conditions, "-cond".
8730
8731 2015-08-11 Keith Seitz <keiths@redhat.com>
8732
8733 * gdb.linespec/3explicit.c: New file.
8734 * gdb.linespec/cpexplicit.cc: New file.
8735 * gdb.linespec/cpexplicit.exp: New file.
8736 * gdb.linespec/explicit.c: New file.
8737 * gdb.linespec/explicit.exp: New file.
8738 * gdb.linespec/explicit2.c: New file.
8739 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8740 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8741 before using in the matching pattern.
8742 Clarify that `prefix' is a regular expression.
8743
8744 2015-08-11 Keith Seitz <keiths@redhat.com>
8745
8746 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8747 test.
8748 Add tests for missing ",FMT" and ",".
8749
8750 2015-08-10 Doug Evans <dje@google.com>
8751 Keith Seitz <keiths@redhat.com>
8752
8753 PR gdb/17960
8754 * gdb.base/completion.exp: Add location completer tests.
8755
8756 2015-08-07 Pedro Alves <palves@redhat.com>
8757
8758 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8759 tests here.
8760 (top level): Run do_test with and without displaced stepping.
8761
8762 2015-08-07 Pedro Alves <palves@redhat.com>
8763
8764 * gdb.base/valgrind-disp-step.c: New file.
8765 * gdb.base/valgrind-disp-step.exp: New file.
8766
8767 2015-08-07 Pedro Alves <palves@redhat.com>
8768
8769 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8770 Delete function.
8771 (main): Add alarm. Run an infinite loop instead of calling
8772 wait_threads.
8773 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8774 comment.
8775 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8776 Delete function.
8777 (main): Add alarm. Run an infinite loop instead of calling
8778 wait_threads.
8779 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8780 comment.
8781
8782 2015-08-07 Pedro Alves <palves@redhat.com>
8783
8784 * gdb.base/checkpoint-ns.exp: New file.
8785 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8786 standard_testfile.
8787
8788 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8789
8790 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8791 * gdb.btrace/instruction_history.exp: Update.
8792 * gdb.btrace/tsx.exp: New.
8793 * gdb.btrace/tsx.c: New.
8794
8795 2015-08-06 Pedro Alves <palves@redhat.com>
8796
8797 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8798 increase timeout.
8799 * gdb.reverse/until-precsave.exp: Bump timeouts.
8800
8801 2015-08-06 Pedro Alves <palves@redhat.com>
8802
8803 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8804
8805 2015-08-06 Pedro Alves <palves@redhat.com>
8806
8807 PR gdb/18749
8808 * gdb.threads/process-dies-while-handling-bp.c: New file.
8809 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8810
8811 2015-08-06 Pedro Alves <palves@redhat.com>
8812
8813 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8814 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8815
8816 2015-08-05 Pedro Alves <palves@redhat.com>
8817
8818 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8819 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8820
8821 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8822
8823 * gdb.base/bp-permanent.exp: Report test as unsupported if
8824 the target cannot stop at the permanent breakpoint.
8825
8826 2015-08-03 Doug Evans <dje@google.com>
8827
8828 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8829 10000.
8830
8831 2015-08-03 Doug Evans <dje@google.com>
8832
8833 * Makefile.in (workers/%.worker, build-perf): New rule.
8834 (GDB_PERFTEST_MODE): New variable.
8835 (check-perf): Use it.
8836 (clean): Clean up gdb.perf parallel build subdirs.
8837 * lib/build-piece.exp: New file.
8838 * lib/gdb.exp (make_gdb_parallel_path): New function
8839 (standard_output_file, standard_temp_file): Call it.
8840 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8841 of $GDB_PARALLEL.
8842 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8843
8844 2015-08-03 Doug Evans <dje@google.com>
8845
8846 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8847 (LOG_FILE_NAME): New global.
8848 (TextReporter.__init__): Initialize self.txt_sum.
8849 (TextReporter.report): Add support for multiple data-points.
8850 Move report to perftest.sum, put raw data in perftest.log.
8851 (TextReporter.start): Open sum and log files.
8852 (TextReporter.end): Close sum and log files.
8853 * gdb.perf/lib/perftest/testresult.py
8854 (SingleStatisticTestResult.record): Handle multiple data-points.
8855
8856 2015-07-31 Pedro Alves <palves@redhat.com>
8857
8858 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8859 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8860 kill_wait_spawned_process instead of explicit "kill -9".
8861 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8862 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8863 kill_wait_spawned_process.
8864 * gdb.base/attach-twice.exp: Likewise.
8865 * gdb.base/attach.exp: Likewise.
8866 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8867 gdb_test_multiple.
8868 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8869 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8870 kill_wait_spawned_process.
8871 * gdb.base/valgrind-infcall.exp: Likewise.
8872 * gdb.multi/multi-attach.exp: Likewise.
8873 * gdb.python/py-prompt.exp: Likewise.
8874 * gdb.python/py-sync-interp.exp: Likewise.
8875 * gdb.server/ext-attach.exp: Likewise.
8876 * gdb.threads/attach-into-signal.exp (corefunc): Use
8877 spawn_wait_for_attach, spawn_id_get_pid and
8878 kill_wait_spawned_process.
8879 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8880 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8881 spawn_id_get_pid and kill_wait_spawned_process.
8882 * gdb.threads/attach-stopped.exp (corefunc): Use
8883 spawn_wait_for_attach, spawn_id_get_pid and
8884 kill_wait_spawned_process.
8885 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8886 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8887 kill_wait_spawned_process instead of explicit "kill -9".
8888 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8889 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8890 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8891 processes. Don't map cygwin/windows pids here. Now returns a
8892 spawn id list.
8893
8894 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8895
8896 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8897 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8898 correct patch.
8899
8900 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8901
8902 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8903
8904 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8905
8906 Reapply:
8907 2014-05-21 Mark Wielaard <mjw@redhat.com>
8908
8909 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8910
8911 2015-07-30 Pedro Alves <palves@redhat.com>
8912
8913 * linux-low.c (handle_extended_wait): Set the child's last
8914 reported status to TARGET_WAITKIND_STOPPED.
8915
8916 2015-07-30 Pedro Alves <palves@redhat.com>
8917
8918 PR threads/18600
8919 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8920 only shows inferior 1.
8921
8922 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8923 Pedro Alves <palves@redhat.com>
8924
8925 PR threads/18600
8926 * gdb.threads/fork-plus-threads.c: New file.
8927 * gdb.threads/fork-plus-threads.exp: New file.
8928
8929 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8930
8931 * gdb.base/batch-preserve-term-settings.exp
8932 (test_terminal_settings_preserved_after_cli_exit): Use
8933 send_quit_command.
8934
8935 2015-07-29 Pedro Alves <palves@redhat.com>
8936 Don Breazeal <donb@codesourcery.com>
8937
8938 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
8939 output from both inferior_spawn_id and gdb_spawn_id.
8940
8941 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8942
8943 * gdb.threads/attach-into-signal.exp (corefunc): Use
8944 with_test_prefix on nested loops, uniquefying the test messages.
8945
8946 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8947
8948 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
8949 commit.
8950
8951 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8952
8953 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
8954 New proc.
8955 (test_terminal_settings_preserved_after_sigterm): New test.
8956
8957 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8958
8959 * gdb.base/batch-preserve-term-settings.exp
8960 (test_terminal_settings_preserved_after_cli_exit): New test.
8961
8962 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8963
8964 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
8965 manipulation of saved_gdbflags.
8966 (test_terminal_settings_preserved): Remove global declaration of
8967 the unused variable pagination_prompt. Remove manipulation of
8968 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
8969 GDBFLAGS.
8970
8971 2015-07-29 Pedro Alves <palves@redhat.com>
8972
8973 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
8974
8975 2015-07-29 Pedro Alves <palves@redhat.com>
8976
8977 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
8978 at the top.
8979
8980 2015-07-29 Pedro Alves <palves@redhat.com>
8981
8982 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
8983 (main): Call gdb_unbuffer_output.
8984 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
8985 (main): Call gdb_unbuffer_output.
8986 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
8987 (main): Call gdb_unbuffer_output.
8988 * gdb.base/call-strs.exp: Adjust to step over the
8989 gdb_unbuffer_output call.
8990 * gdb.base/catch-gdb-caused-signals.c: Include
8991 "../lib/unbuffer_output.c".
8992 (main): Call gdb_unbuffer_output.
8993 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
8994 (main): Call gdb_unbuffer_output.
8995 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
8996 (main): Call gdb_unbuffer_output.
8997 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
8998 (main): Call gdb_unbuffer_output.
8999 * gdb.base/shlib-call.exp: Adjust to step over the
9000 gdb_unbuffer_output call.
9001 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9002 (main): Call gdb_unbuffer_output.
9003 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9004 (main): Call gdb_unbuffer_output.
9005 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9006 (main): Rename to ...
9007 (test): ... this.
9008 (main): Reimplement.
9009 * gdb.base/varargs.exp: Run to test instead of to main.
9010 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9011 (main): Call gdb_unbuffer_output.
9012
9013 2015-07-29 Pedro Alves <palves@redhat.com>
9014
9015 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9016 factore out from mi_continue_dprintf. For call-style dprintfs,
9017 expect dprintf output out of $inferior_spawn_id.
9018 (mi_continue_dprintf): Use mi_expect_dprintf.
9019 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9020 (main): Call gdb_unbuffer_output.
9021
9022 2015-07-29 Pedro Alves <palves@redhat.com>
9023
9024 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9025 (default_mi_gdb_start): Set inferior_spawn_id instead of
9026 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
9027 gdb_spawn_id.
9028 (mi_gdb_test): Always expect inferior output from both
9029 $inferior_spawn_id and $gdb_spawn_id.
9030
9031 2015-07-29 Pedro Alves <palves@redhat.com>
9032
9033 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
9034 send_inferior and $inferior_spawn_id.
9035
9036 2015-07-29 Pedro Alves <palves@redhat.com>
9037
9038 * gdb.gdb/complaints.exp (test_initial_complaints)
9039 (test_serial_complaints, test_short_complaints): Use
9040 gdb_test_stdio.
9041 (test_empty_complaint): Handle $inferior_spawn_id !=
9042 $gdb_spawn_id.
9043
9044 2015-07-29 Pedro Alves <palves@redhat.com>
9045
9046 * gdb.base/varargs.exp: Use gdb_test_stdio.
9047
9048 2015-07-29 Pedro Alves <palves@redhat.com>
9049
9050 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9051
9052 2015-07-29 Pedro Alves <palves@redhat.com>
9053
9054 * gdb.base/ending-run.exp: Use gdb_test_stdio.
9055
9056 2015-07-29 Pedro Alves <palves@redhat.com>
9057
9058 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9059 parameter into two new parameters, "inf_result" and "gdb_result".
9060 Expect inferior output and gdb output from $inferior_spawn_id and
9061 $gdb_spawn_id, respectively. Adjust all callers.
9062
9063 2015-07-29 Pedro Alves <palves@redhat.com>
9064
9065 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9066 of gdb_test_sequence.
9067
9068 2015-07-29 Pedro Alves <palves@redhat.com>
9069
9070 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9071 (saw_spurious_output): Expect inferior output from
9072 $inferior_spawn_id. Use gdb_test_stdio.
9073
9074 2015-07-29 Pedro Alves <palves@redhat.com>
9075
9076 * gdb.base/dprintf.exp: Use standard_testfile. Change
9077 prepare_for_testing call.
9078 (srcfile): Don't set.
9079 (restart): New procedure.
9080 (test_dprintf): New procecure, use to continue over dprintfs.
9081 (test_call, test_agent): New procedures, tests moved here.
9082 Restart gdb and recreate dprintfs. Adjust expected output.
9083
9084 2015-07-29 Pedro Alves <palves@redhat.com>
9085
9086 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9087
9088 2015-07-29 Pedro Alves <palves@redhat.com>
9089
9090 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9091
9092 2015-07-29 Pedro Alves <palves@redhat.com>
9093
9094 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9095 gdb_test_stdio.
9096
9097 2015-07-29 Pedro Alves <palves@redhat.com>
9098
9099 * lib/gdb.exp (gdb_test_stdio): New procedure.
9100
9101 2015-07-29 Pedro Alves <palves@redhat.com>
9102
9103 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9104
9105 2015-07-29 Pedro Alves <palves@redhat.com>
9106
9107 * gdb.base/call-signal-resume.exp: Remove check for
9108 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9109 * gdb.base/unwindonsignal.exp: Likewise.
9110 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9111 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9112
9113 2015-07-29 Pedro Alves <palves@redhat.com>
9114
9115 * gdb.base/siginfo-addr.c (pass): New function.
9116 (handler): Call it iff si_addr is correct.
9117 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9118 Set a breakpoint at "pass" and continue to it.
9119
9120 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9121
9122 * gdb.python/py-objfile.exp: Make some tests have unique names.
9123 * gdb.python/py-pp-registration.exp: Likewise.
9124
9125 2015-07-28 Pedro Alves <palves@redhat.com>
9126
9127 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9128
9129 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9130
9131 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9132
9133 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9134
9135 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9136
9137 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9138
9139 * gdb.base/gdb-sigterm-2.exp: New test.
9140
9141 2015-07-25 Doug Evans <xdje42@gmail.com>
9142
9143 Revert:
9144 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9145 (workers/%.worker, build-perf): New rule.
9146 (GDB_PERFTEST_MODE): New variable.
9147 (check-perf): Use it.
9148 (clean): Clean up gdb.perf parallel build subdirs.
9149 * lib/build-piece.exp: New file.
9150 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9151 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9152 name.
9153 (standard_temp_file): Ditto.
9154 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9155 of $GDB_PARALLEL.
9156
9157 2015-07-24 Doug Evans <dje@google.com>
9158
9159 * gdb.perf/lib/perftest/utils.py: New file.
9160 * gdb.perf/gm-hello.cc: New file.
9161 * gdb.perf/gm-pervasive-typedef.cc: New file.
9162 * gdb.perf/gm-pervasive-typedef.h: New file.
9163 * gdb.perf/gm-std.cc: New file.
9164 * gdb.perf/gm-std.h: New file.
9165 * gdb.perf/gm-use-cerr.cc: New file.
9166 * gdb.perf/gm-utils.h: New file.
9167 * gdb.perf/gmonster-null-lookup.py: New file.
9168 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9169 * gdb.perf/gmonster-print-cerr.py: New file.
9170 * gdb.perf/gmonster-ptype-string.py: New file.
9171 * gdb.perf/gmonster-runto-main.py: New file.
9172 * gdb.perf/gmonster-select-file.py: New file.
9173 * gdb.perf/gmonster1-null-lookup.exp: New file.
9174 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9175 * gdb.perf/gmonster1-print-cerr.exp: New file.
9176 * gdb.perf/gmonster1-ptype-string.exp: New file.
9177 * gdb.perf/gmonster1-runto-main.exp: New file.
9178 * gdb.perf/gmonster1-select-file.exp: New file.
9179 * gdb.perf/gmonster1.cc: New file.
9180 * gdb.perf/gmonster1.exp: New file.
9181 * gdb.perf/gmonster2-null-lookup.exp: New file.
9182 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9183 * gdb.perf/gmonster2-print-cerr.exp: New file.
9184 * gdb.perf/gmonster2-ptype-string.exp: New file.
9185 * gdb.perf/gmonster2-runto-main.exp: New file.
9186 * gdb.perf/gmonster2-select-file.exp: New file.
9187 * gdb.perf/gmonster2.cc: New file.
9188 * gdb.perf/gmonster2.exp: New file.
9189
9190 2015-07-24 Doug Evans <dje@google.com>
9191
9192 * gdb.perf/README: New file.
9193 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9194 * lib/gen-perf-test.exp: New file.
9195
9196 2015-07-24 Doug Evans <dje@google.com>
9197
9198 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9199 (PerfTest::startup): New function.
9200 (PerfTest::run): Return result of calling body.
9201 (PerfTest::assemble): Rewrite.
9202 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9203 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9204 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9205 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9206 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9207
9208 2015-07-24 Doug Evans <dje@google.com>
9209
9210 * lib/gdb.exp (clean_restart): Make executable optional.
9211
9212 2015-07-24 Doug Evans <dje@google.com>
9213
9214 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9215 compiler_info references.
9216 * gdb.cp/temargs.exp: Ditto.
9217 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9218 (get_compiler_info): Early exit if already computed. Set compiler_info
9219 to "unknown" if there was a problem.
9220 (test_compiler_info): Add function comment. Call get_compiler_info.
9221
9222 2015-07-24 Doug Evans <dje@google.com>
9223
9224 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9225 (workers/%.worker, build-perf): New rule.
9226 (GDB_PERFTEST_MODE): New variable.
9227 (check-perf): Use it.
9228 (clean): Clean up gdb.perf parallel build subdirs.
9229 * lib/build-piece.exp: New file.
9230 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9231 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9232 name.
9233 (standard_temp_file): Ditto.
9234 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9235 of $GDB_PARALLEL.
9236
9237 2015-07-24 Doug Evans <dje@google.com>
9238
9239 * lib/future.exp (gdb_default_target_compile): New option
9240 "early_flags".
9241 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9242 --as-needed.
9243
9244 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9245
9246 * gdb.base/catch-syscall.exp: Call gdb_exit before
9247 gdb_skip_xml_test.
9248
9249 2015-07-24 Pedro Alves <palves@redhat.com>
9250
9251 * gdb.python/py-events.exp: Accept output between the stop event
9252 and the prompt.
9253 * gdb.python/py-evsignal.exp: Likewise.
9254 * gdb.python/py-evthreads.exp: Likewise.
9255
9256 2015-07-24 Pedro Alves <palves@redhat.com>
9257
9258 PR gdb/18717
9259 * gdb.threads/non-ldr-exit.c: New file.
9260 * gdb.threads/non-ldr-exit.exp: New file.
9261
9262 2015-07-24 Yao Qi <yao.qi@linaro.org>
9263
9264 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9265 restarting process.
9266
9267 2015-07-24 Yao Qi <yao.qi@linaro.org>
9268
9269 * gdb.server/ext-restart.exp: New file.
9270
9271 2015-07-24 Yao Qi <yao.qi@linaro.org>
9272
9273 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9274 argument options.
9275 * gdb.server/ext-wrapper.exp: New file.
9276
9277 2015-07-23 Doug Evans <dje@google.com>
9278
9279 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9280 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9281
9282 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9283
9284 * gdb.ada/var_arr_typedef.exp: New testcase.
9285 * gdb.ada/var_arr_typedef/pack.adb: New file.
9286 * gdb.ada/var_arr_typedef/pack.ads: New file.
9287 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9288
9289 2015-07-20 Joel Brobecker <brobecker@adacore.com>
9290
9291 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9292
9293 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9294
9295 * gdb.arch/i386-biarch-core.exp: Replace istarget
9296 by "complete set gnutarget". Remove expectation for the "core-file"
9297 command.
9298
9299 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9300
9301 Revert the previous commit:
9302 Tests for validate symbol file using build-id.
9303
9304 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9305
9306 Tests for validate symbol file using build-id.
9307 * gdb.base/solib-mismatch-lib.c: New file.
9308 * gdb.base/solib-mismatch-libmod.c: New file.
9309 * gdb.base/solib-mismatch.c: New file.
9310 * gdb.base/solib-mismatch.exp: New file.
9311
9312 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9313
9314 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9315 nios2-*-linux*.
9316 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9317 * gdb.base/siginfo.exp: Likewise.
9318 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9319
9320 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9321
9322 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9323 Move it to ...
9324 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9325 ... here.
9326 * gdb.trace/range-stepping.exp: Check that the target supports
9327 range stepping.
9328
9329 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9330
9331 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9332
9333 2015-07-14 Pedro Alves <palves@redhat.com>
9334
9335 * gdb.base/killed-outside.exp: New file.
9336 * gdb.base/killed-outside.c: New file.
9337
9338 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9339
9340 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9341 (n at main): New.
9342 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9343
9344 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9345
9346 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9347 infcall tests instead of setting up for KFAIL.
9348
9349 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9350
9351 * gdb.btrace/record_goto-step.exp: New.
9352
9353 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9354
9355 PR compile/18484
9356 * gdb.compile/compile.c (struct struct_type): Add volatile to
9357 selffield's type.
9358 * gdb.compile/compile.exp
9359 (compile code struct_object.selffield = &struct_object): Skip further
9360 struct_object tests if this one xfails.
9361
9362 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
9363
9364 PR exp/18617
9365 * gdb.trace/ax.exp: Add test.
9366
9367 2015-07-07 Yao Qi <yao.qi@linaro.org>
9368
9369 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9370 instead of istarget "aarch64*-*-*".
9371 * gdb.arch/aarch64-fp.exp: Likewise.
9372 * gdb.base/float.exp: Likewise.
9373 * gdb.reverse/aarch64.exp: Likewise.
9374 * lib/gdb.exp (is_aarch64_target): New proc.
9375
9376 2015-07-07 Yao Qi <yao.qi@linaro.org>
9377
9378 * lib/gdb.exp (is_aarch32_target): New proc.
9379 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9380 instead of "istarget "arm*-*-*"".
9381 * gdb.arch/arm-disp-step.exp: Likewise.
9382 * gdb.arch/thumb-bx-pc.exp: Likewise.
9383 * gdb.arch/thumb-prologue.exp: Likewise.
9384 * gdb.arch/thumb-singlestep.exp: Likewise.
9385 * gdb.base/disp-step-syscall.exp: Likewise.
9386 * gdb.base/float.exp: Likewise.
9387
9388 2015-07-07 Yao Qi <yao.qi@linaro.org>
9389
9390 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9391 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9392
9393 2015-07-07 Yao Qi <yao.qi@linaro.org>
9394
9395 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9396 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9397 if it exists.
9398 * gdb.multi/multi-arch.exp: Likewise.
9399
9400 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9401
9402 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9403 print.
9404
9405 2015-07-07 Yao Qi <yao.qi@linaro.org>
9406
9407 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9408
9409 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9410
9411 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9412 '[' and ']' characters.
9413
9414 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9415
9416 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9417
9418 2015-06-29 Pedro Alves <palves@redhat.com>
9419
9420 PR threads/18127
9421 * gdb.threads/hand-call-new-thread.c: New file.
9422 * gdb.threads/hand-call-new-thread.c: New file.
9423
9424 2015-06-26 Keith Seitz <keiths@redhat.com>
9425 Doug Evans <dje@google.com>
9426
9427 PR 16253
9428 * gdb.cp/var-tag-2.cc: New file.
9429 * gdb.cp/var-tag-3.cc: New file.
9430 * gdb.cp/var-tag-4.cc: New file.
9431 * gdb.cp/var-tag.cc: New file.
9432 * gdb.cp/var-tag.exp: New file.
9433
9434 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9435
9436 * gdb.base/history-duplicates.exp: New test.
9437
9438 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9439
9440 * gdb.base/completion.exp: Test the completion of the "focus"
9441 command.
9442
9443 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9444
9445 * gdb.arch/amd64-prologue-skip.S: New file.
9446 * gdb.arch/amd64-prologue-skip.exp: New file.
9447
9448 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9449
9450 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9451 is_address_zero_readable check.
9452
9453 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9454
9455 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9456 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9457
9458 2015-06-24 Yao Qi <yao.qi@linaro.org>
9459
9460 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9461 linux targets.
9462
9463 2015-06-24 Yao Qi <yao.qi@linaro.org>
9464
9465 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9466 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9467 * gdb.base/siginfo-thread.exp: Likewise.
9468
9469 2015-06-22 Yao Qi <yao.qi@linaro.org>
9470
9471 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9472
9473 2015-06-22 Yao Qi <yao.qi@linaro.org>
9474
9475 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9476 aarch64*-*-*.
9477 (skip_hw_watchpoint_tests): Likewise.
9478
9479 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9480
9481 * gdb.base/gdbinit-history.exp: Test the interaction between
9482 setting GDBHISTSIZE and setting the history size via .gdbinit.
9483
9484 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9485
9486 PR gdb/16999
9487 * gdb.base/gdbhistsize-history.exp: New test.
9488
9489 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9490
9491 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9492 with GDBHISTSIZE.
9493 * gdb.base/readline.exp: Likewise.
9494
9495 2015-06-17 Yao Qi <yao.qi@linaro.org>
9496
9497 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9498 line.
9499
9500 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9501
9502 * gdb.base/gdbinit-history.exp: Add test case to check that
9503 an unlimited history file does not get truncated on exit.
9504
9505 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9506
9507 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9508 (VECTOR): New macro. Use it...
9509 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9510 ...for these typedefs.
9511 (int8, char1, int1, double1): New typedefs.
9512 (struct just_int2, struct two_int2): New structures.
9513 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9514 (add_structvecs, add_singlevecs): New functions.
9515 (main): Call add_some_intvecs twice.
9516 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9517 the compile and exit upon failure. Try compiling for the "native"
9518 architecture. Test inferior function calls with vector arguments
9519 and vector return value handling with "finish" and "return".
9520
9521 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9522
9523 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9524 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9525 PE file.
9526 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9527
9528 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9529
9530 PR breakpoints/16465
9531 * gdb.mi/mi-dprintf-pending.c: New file.
9532 * gdb.mi/mi-dprintf-pending.exp: New test.
9533 * gdb.mi/mi-dprintf-pendshr.c: New file.
9534
9535 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9536 Mircea Gherzan <mircea.gherzan@intel.com>
9537
9538 * gdb.arch/i386-mpx-map.c: New file.
9539 * gdb.arch/i386-mpx-map.exp: New File.
9540
9541 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9542
9543 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9544 * gdb.arch/i386-mpx.exp: Indentation fixed.
9545
9546 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9547
9548 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9549 function and improved indentation.
9550 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9551 gdb_test_multiple. Added additional tests to skip the test.
9552
9553 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9554
9555 * gdb.arch/i386-avx512.c: Change path in include file.
9556 * gdb.arch/i386-avx512.exp: Change include dir path
9557 compilation flag.
9558 * gdb.arch/i386-mpx.c: Change path in include file.
9559 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9560 flag.
9561
9562 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9563
9564 * gdb.compile/compile-print.exp (compile print *vararray@3)
9565 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9566
9567 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9568
9569 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9570 (do not keep jit in memory): ... this.
9571 (expect 5): Change it to ...
9572 (expect no 5): ... this.
9573
9574 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9575
9576 PR gdb/15564
9577 * gdb.mi/mi-detach.exp: New file.
9578
9579 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9580
9581 PR symtab/18392
9582 * gdb.arch/amd64-tailcall-self.S: New file.
9583 * gdb.arch/amd64-tailcall-self.c: New file.
9584 * gdb.arch/amd64-tailcall-self.exp: New file.
9585
9586 2015-05-28 Don Breazeal <donb@codesourcery.com>
9587
9588 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9589 tests for remote targets by checking is_target_gdbserver.
9590
9591 2015-05-27 Doug Evans <dje@google.com>
9592
9593 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9594 * gdb.dwarf2/opaque-type-lookup.c: New file.
9595 * gdb.dwarf2/opaque-type-lookup.exp: New file.
9596
9597 2015-05-26 Doug Evans <dje@google.com>
9598
9599 * gdb.cp/iostream.cc: New file.
9600 * gdb.cp/iostream.exp: New file.
9601
9602 2015-05-26 Doug Evans <dje@google.com>
9603
9604 * gdb.dwarf2/dw2-op-call.exp: Update.
9605 * gdb.dwarf2/dw4-sig-types.exp: Update.
9606 * gdb.dwarf2/implptr.exp: Update.
9607 * gdb.mi/mi-cmd-param-changed.exp: Update.
9608
9609 2015-05-26 Doug Evans <dje@google.com>
9610
9611 * gdb.python/py-lazy-string.c: New file.
9612 * gdb.python/py-lazy-string.exp: New file.
9613 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9614 (main): Update. Add estring3.
9615 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9616 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9617
9618 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9619 Yao Qi <yao.qi@linaro.org>
9620
9621 * gdb.reverse/aarch64.c: New.
9622 * gdb.reverse/aarch64.exp: New.
9623
9624 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9625
9626 * lib/gdb.exp (supports_process_record): Return true for
9627 aarch64*-linux*.
9628 (supports_reverse): Likewise.
9629
9630 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
9631
9632 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9633 Use with_test_prefix.
9634
9635 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
9636
9637 * gdb.base/completion.exp: Add test for completion of layout
9638 names.
9639
9640 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
9641
9642 * lib/gdb.exp (skip_tui_tests): New proc.
9643 * gdb.base/tui-layout.exp: Check skip_tui_tests.
9644
9645 2015-05-19 Pedro Alves <palves@redhat.com>
9646
9647 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9648 Save the whole env array instead of just HOME. Unset HISTSIZE in
9649 the environment while testing. Restore whole environment
9650 afterwards.
9651
9652 2015-05-16 Doug Evans <xdje42@gmail.com>
9653
9654 * gdb.guile/scm-ports.c: New file.
9655 * gdb.guile/scm-ports.exp: Add memory port tests.
9656
9657 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9658
9659 * gdb.compile/compile-print.c: New file.
9660 * gdb.compile/compile-print.exp: New file.
9661
9662 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9663
9664 * gdb.compile/compile-ops.exp: Cast param to void.
9665 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9666 (compile code struct_object.selffield = &struct_object): Add xfail.
9667
9668 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9669
9670 * gdb.ada/arr_enum_with_gap: New testcase.
9671
9672 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9673
9674 * gdb.ada/byte_packed_arr: New testcase.
9675
9676 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9677
9678 * gdb.ada/pckd_neg: New testcase.
9679
9680 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9681
9682 PR gdb/17820
9683 * gdb.base/gdbinit-history.exp: New test.
9684 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9685 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9686
9687 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9688
9689 * gdb.python/py-xmethods.cc: Enhance test case.
9690 * gdb.python/py-xmethods.exp: New tests.
9691 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9692 function.
9693 (B_indexoper): Likewise.
9694 (global_dm_list) : Add new xmethod worker functions.
9695
9696 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9697
9698 * gdb.base/coredump-filter.exp: Correctly unset
9699 "coredump_var_addr" array.
9700
9701 2015-05-08 Pedro Alves <palves@redhat.com>
9702
9703 * gdb.server/non-existing-program.exp: Unset spawn_id.
9704
9705 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9706
9707 PR python/18291
9708 * gdb.python/py-xmethods.exp: Add tests.
9709
9710 2015-05-08 Yao Qi <yao.qi@linaro.org>
9711
9712 PR gdb/18208
9713 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9714 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9715 function set_coredump_filter, and remove remote_exec call.
9716 Remove argument ipid. Callers update.
9717 (top level): Don't get inferior's PID.
9718
9719 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9720
9721 * gdb.base/watch_thread_num.exp: Skip test on targets without
9722 access watchpoints.
9723
9724 2015-05-06 Pedro Alves <palves@redhat.com>
9725
9726 PR server/18081
9727 * gdb.server/non-existing-program.exp: New file.
9728
9729 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9730
9731 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9732
9733 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9734
9735 * gdb.ada/out_of_line_in_inlined: New testcase.
9736
9737 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9738
9739 * gdb.ada/var_rec_arr: New testcase.
9740
9741 2015-04-30 Yao Qi <yao.qi@linaro.org>
9742
9743 * gdb.base/break-idempotent.exp: If
9744 skip_hw_watchpoint_multi_tests returns true, skip the tests
9745 on "rwatch" and "awatch".
9746
9747 2015-04-30 Yao Qi <yao.qi@linaro.org>
9748
9749 * gdb.base/relativedebug.exp: Invoke gdb command
9750 "info sharedlibrary", and if libc.so doesn't have debug info,
9751 skip the test.
9752
9753 2015-04-29 Doug Evans <dje@google.com>
9754
9755 * gdb.python/py-xmethods.exp: Add ptype tests.
9756 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9757 get_result_type method.
9758
9759 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9760
9761 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9762 the target does not support hardware watchpoints.
9763
9764 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9765
9766 * gdb.base/break-always.exp: Abort testing if writing to memory
9767 causes an error.
9768
9769 2015-04-28 Doug Evans <dje@google.com>
9770
9771 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9772 * gdb.python/py-pp-registration.exp: ... here. New file.
9773 * gdb.python/py-pp-registration.c: New file.
9774 * gdb.python/py-pp-registration.py: New file.
9775
9776 2015-04-28 Doug Evans <dje@google.com>
9777
9778 * gdb.python/py-bad-printers.c: New file.
9779 * gdb.python/py-bad-printers.py: New file.
9780 * gdb.python/py-bad-printers.exp: New file.
9781
9782 2015-04-28 Sasha Smundak <asmundak@google.com>
9783
9784 * gdb.python/py-type.exp: New test.
9785
9786 2015-04-28 Andy Wingo <wingo@igalia.com>
9787
9788 * gdb.python/py-parameter.exp:
9789 * gdb.guile/scm-parameter.exp: Escape the path that we are
9790 matching against, as it might contain characters that are special
9791 to regular expressions.
9792
9793 2015-04-27 Joel Brobecker <brobecker@adacore.com>
9794
9795 * gdb.ada/rec_comp: New testcase.
9796
9797 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9798
9799 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9800 before using it.
9801
9802 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9803
9804 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9805 new tests for verilog output.
9806
9807 2015-04-24 Yao Qi <yao.qi@linaro.org>
9808
9809 * boards/remote-gdbserver-on-localhost.exp: New file.
9810
9811 2015-04-23 Pedro Alves <palves@redhat.com>
9812
9813 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9814 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9815 "end of file", remove $inferior_spawn_id from the indirect list.
9816
9817 2015-04-23 Pedro Alves <palves@redhat.com>
9818
9819 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9820
9821 2015-04-23 Pedro Alves <palves@redhat.com>
9822
9823 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9824 on $any_spawn_id instead of only on $gdb_spawn_id.
9825
9826 2015-04-21 Pierre Muller <muller@sourceware.org>
9827
9828 PR pascal/17815
9829 * lib/pascal.exp (gpc_compile): Add new option "class".
9830 (fpc_compile): Likewise.
9831 * gdb.pascal/case-insensitive-symbols.pas: New file.
9832 * gdb.pascal/case-insensitive-symbols.exp: New file.
9833
9834 2015-04-20 Gary Benson <gbenson@redhat.com>
9835
9836 * gdb.base/attach.exp: Fix three extended remote failures.
9837
9838 2015-04-17 Gary Benson <gbenson@redhat.com>
9839
9840 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9841 the main executable over the remote protocol.
9842
9843 2015-04-16 Pedro Alves <palves@redhat.com>
9844
9845 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9846 a new gdbserver if gdbserver_reconnect_p is set.
9847
9848 2015-04-16 Pedro Alves <palves@redhat.com>
9849
9850 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9851 is set, don't exit gdbserver.
9852
9853 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9854
9855 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9856 appropriate .insn, such that an older assembler can be used.
9857 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9858 the z/Architecture instruction set on 31-bit targets as well.
9859
9860 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9861
9862 * gdb.go/handcall.exp: Remove all logic related to the first
9863 breakpoint and rely on go_runto_main instead.
9864 * gdb.go/strings.exp: Likewise.
9865 * gdb.go/unsafe.exp: Likewise.
9866 * gdb.go/hello.exp: Likewise. Also rename the remaining
9867 breakpoint marker to "breakpoint 1".
9868 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9869 * gdb.go/strings.go: Likewise.
9870 * gdb.go/unsafe.go: Likewise.
9871 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9872 "set breakpoint 2 here" and rename the remaining breakpoint marker
9873 to "breakpoint 1".
9874
9875 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9876
9877 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9878 if itertools.imap is not present.
9879 * gdb.python/py-objfile.exp: Add parentheses.
9880 * gdb.python/py-type.exp: Same.
9881 * gdb.python/py-unwind-maint.py: Same.
9882
9883 2015-04-15 Yao Qi <yao.qi@linaro.org>
9884
9885 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9886 of ":$ptr_size" and set its form explicitly.
9887
9888 2015-04-15 Pedro Alves <palves@redhat.com>
9889 Yao Qi <yao.qi@linaro.org>
9890
9891 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9892 timeout by factor of 4.
9893 (test_regular_watch): Likewise.
9894 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9895 * gdb.reverse/sigall-reverse.exp: Likewise.
9896 * gdb.reverse/until-precsave.exp: Likewise.
9897 * lib/gdb.exp (with_timeout_factor): New proc.
9898 (gdb_expect): Move some code to ...
9899 (get_largest_timeout): ... here. New procedure.
9900
9901 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
9902
9903 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9904
9905 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9906
9907 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9908 to write to the .text section.
9909
9910 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9911
9912 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9913 Handle the case of targets that do not provide PID information.
9914
9915 2015-04-13 Yao Qi <yao.qi@linaro.org>
9916
9917 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9918 and use expect instead of gdb_expect.
9919
9920 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9921
9922 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9923 "coredump_var_addr" to avoid naming conflict with other testcases.
9924
9925 2015-04-10 Pedro Alves <palves@redhat.com>
9926
9927 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
9928 gdb_test_sequence and gdb_assert.
9929
9930 2015-04-10 Pedro Alves <palves@redhat.com>
9931
9932 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
9933 test messages that don't include the breakpoint address.
9934
9935 2015-04-10 Yao Qi <yao.qi@linaro.org>
9936
9937 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
9938 false for some offset and width combinations which aren't
9939 supported by linux kernel.
9940
9941 2015-04-10 Pedro Alves <palves@redhat.com>
9942
9943 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
9944 procedure, factored out from ...
9945 (top level): ... here. Add "set displaced-stepping" testing axis.
9946 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
9947 parameter "displaced". Use it.
9948 (top level): Use foreach and add "set displaced-stepping" testing
9949 axis.
9950
9951 2015-04-10 Pedro Alves <palves@redhat.com>
9952
9953 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
9954 Remove comment.
9955 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
9956 both the address of the instruction that triggers the watchpoint
9957 and the address of the instruction immediately after, and use
9958 those addresses for the test. Fix comment.
9959
9960 2015-04-10 Pedro Alves <palves@redhat.com>
9961
9962 * gdb.base/sigstep.exp (breakpoint_to_handler)
9963 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
9964 Test "backtrace" in handler.
9965 (breakpoint_over_handler): New parameter 'displaced'. Use it.
9966 (top level): Add new "displaced" test axis to
9967 breakpoint_to_handler, breakpoint_to_handler_entry and
9968 breakpoint_over_handler.
9969
9970 2015-04-10 Pedro Alves <palves@redhat.com>
9971
9972 PR gdb/18216
9973 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
9974
9975 2015-04-10 Yao Qi <yao.qi@linaro.org>
9976
9977 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
9978 (test_add_rn_pc): New function.
9979 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
9980 (top level): Invoke test_add_rn_pc.
9981
9982 2015-04-10 Pedro Alves <palves@redhat.com>
9983
9984 PR gdb/13858
9985 * gdb.base/step-over-no-symbols.exp: New file.
9986
9987 2015-04-09 Andy Wingo <wingo@igalia.com>
9988
9989 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
9990 after the Python tests.
9991
9992 2015-04-08 Keith Seitz <keiths@redhat.com>
9993
9994 PR python/16699
9995 * gdb.python/py-completion.exp: New tests for completion.
9996 * gdb.python/py-completion.py (CompleteLimit1): New class.
9997 (CompleteLimit2): Likewise.
9998 (CompleteLimit3): Likewise.
9999 (CompleteLimit4): Likewise.
10000 (CompleteLimit5): Likewise.
10001 (CompleteLimit6): Likewise.
10002 (CompleteLimit7): Likewise.
10003
10004 2015-04-08 Pedro Alves <palves@redhat.com>
10005
10006 PR gdb/18214
10007 PR gdb/18216
10008 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10009 function.
10010 (main): Install it as SIGUSR1 handler.
10011 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10012 parameter. Always use "setup" as prefix. Toggle "set
10013 displaced-stepping" off/on depending on global. Don't switch to
10014 thread 1 here.
10015 (top level): Add displaced stepping "off/on" test axis. Update
10016 "setup" calls. Wrap each subtest with with_test_prefix. Test
10017 continuing with a queued signal in each thread.
10018
10019 2015-04-08 Pedro Alves <palves@redhat.com>
10020
10021 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10022 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
10023 gdb_breakpoint instead of gdb_test that doesn't expect anything.
10024 Return early if running to main fails.
10025 * gdb.trace/while-stepping.exp: Likewise.
10026
10027 2015-04-07 Pedro Alves <palves@redhat.com>
10028
10029 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10030 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
10031 interact with inferior program.
10032
10033 2015-04-07 Pedro Alves <palves@redhat.com>
10034
10035 * lib/gdb.exp (inferior_spawn_id): New global.
10036 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
10037 spawn id after processing the user code.
10038 (default_gdb_start): Set inferior_spawn_id.
10039 (send_inferior): New procedure.
10040 * lib/gdbserver-support.exp (gdbserver_start): Set
10041 inferior_spawn_id.
10042 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10043
10044 2015-04-07 Pedro Alves <palves@redhat.com>
10045
10046 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10047 * lib/gdbserver-support.exp (gdbserver_start): Make
10048 $server_spawn_id global.
10049 (gdbserver_start): Don't wait for gdbserver's spawn id with
10050 expect_background.
10051 (close_gdbserver): New procedure.
10052 (gdb_exit): Rename the default version and reimplement.
10053
10054 2015-04-07 Pedro Alves <palves@redhat.com>
10055
10056 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10057 append the substituted item, not the original item.
10058
10059 2015-04-07 Pedro Alves <palves@redhat.com>
10060
10061 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10062 gdb_expect.
10063
10064 2015-04-07 Pedro Alves <palves@redhat.com>
10065
10066 * gdb.base/interrupt.exp: Don't handle the case of the inferior
10067 output appearing once only.
10068
10069 2015-04-07 Pedro Alves <palves@redhat.com>
10070
10071 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10072 that doesn't expect anything. Return early if running to main
10073 fails.
10074
10075 2015-04-07 Yao Qi <yao.qi@linaro.org>
10076
10077 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10078 (child_function): Call alarm.
10079 (main): Move call to alarm into the loop.
10080 * gdb.threads/non-stop-fair-events.exp: Build program with
10081 -DTIMEOUT=$timeout.
10082
10083 2015-04-06 Doug Evans <xdje42@gmail.com>
10084
10085 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10086 Fix dest parameter to board_info.
10087 (fpc_compile): Ditto.
10088 (gdb_compile_pascal): Rename dest arg to destfile.
10089
10090 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10091
10092 * gdb.ada/funcall_ref.exp: New file.
10093 * gdb.ada/funcall_ref/foo.adb: New file.
10094
10095 2015-04-02 Yao Qi <yao.qi@linaro.org>
10096
10097 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10098 is remote.
10099
10100 2015-04-02 Gary Benson <gbenson@redhat.com>
10101
10102 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10103
10104 2015-04-01 Sasha Smundak <asmundak@google.com>
10105
10106 * gdb.python/py-unwind-maint.c: New file.
10107 * gdb.python/py-unwind-maint.exp: New test.
10108 * gdb.python/py-unwind-maint.py: New file.
10109 * gdb.python/py-unwind.c: New file.
10110 * gdb.python/py-unwind.exp: New test.
10111 * gdb.python/py-unwind.py: New test.
10112
10113 2015-04-01 Pedro Alves <palves@redhat.com>
10114
10115 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10116 to fail instead of non-existent $test.
10117
10118 2015-04-01 Pedro Alves <palves@redhat.com>
10119
10120 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10121 GDBFLAGS if not empty.
10122
10123 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10124
10125 * gdb.ada/complete.exp: Remove "multi_line".
10126 * gdb.ada/info_exc.exp: Remove "multi_line".
10127 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10128 * gdb.ada/ptype_field.exp: Remove "multi_line".
10129 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10130 * gdb.ada/tagged.exp: Remove "multi_line".
10131 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10132 [multi_line ...]
10133 * gdb.btrace/delta.exp: Likewise.
10134 * gdb.btrace/exception.exp: Likewise.
10135 * gdb.btrace/function_call_history.exp: Likewise.
10136 * gdb.btrace/instruction_history.exp: Likewise.
10137 * gdb.btrace/nohist.exp: Likewise.
10138 * gdb.btrace/record_goto.exp: Likewise.
10139 * gdb.btrace/segv.exp: Likewise.
10140 * gdb.btrace/stepi.exp: Likewise.
10141 * gdb.btrace/tailcall.exp: Likewise.
10142 * gdb.btrace/unknown_functions.exp: Likewise.
10143 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10144 * lib/gdb.exp: Add the "multi_line" helper.
10145
10146 2015-04-01 Pedro Alves <palves@redhat.com>
10147
10148 * gdb.threads/tid-reuse.c: New file.
10149 * gdb.threads/tid-reuse.exp: New file.
10150
10151 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10152
10153 PR corefiles/16092
10154 * gdb.base/coredump-filter.c: New file.
10155 * gdb.base/coredump-filter.exp: Likewise.
10156
10157 2015-03-27 Petr Machata <pmachata@redhat.com>
10158
10159 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10160 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10161 (Dwarf::assemble): Initialize them.
10162 (Dwarf::lines): New function.
10163
10164 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10165
10166 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10167 SYMBOL_PREFIX for x86_64-*-cygwin.
10168
10169 2015-03-26 Andy Wingo <wingo@igalia.com>
10170
10171 PR symtab/18148
10172 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10173 const_value but not a location.
10174 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10175 location defined in non-main CUs are visible.
10176
10177 2015-03-26 Yao Qi <yao.qi@linaro.org>
10178
10179 PR testsuite/18139
10180 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10181 Add a line number entry for the same line.
10182 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10183 Add a line number entry for the same line.
10184
10185 2015-03-26 Yao Qi <yao.qi@linaro.org>
10186
10187 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10188 .int 0.
10189 (func): Likewise. Add .Lfunc_1 label.
10190 Use .Lfunc_1 label.
10191 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10192 .int 0.
10193 (func): Likewise.
10194 Use .Lfunc_1 label.
10195
10196 2015-03-26 Yao Qi <yao.qi@linaro.org>
10197
10198 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10199 Call gdb_compile instead to compile each .s files without debug
10200 information.
10201
10202 2015-03-26 Yao Qi <yao.qi@linaro.org>
10203
10204 * gdb.base/savedregs.exp (process_saved_regs): Make
10205 "Saved registers:" optional in the pattern.
10206
10207 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10208
10209 * gdb.btrace/next.exp: Merged into step.exp.
10210 * gdb.btrace/finish.exp: Merged into step.exp.
10211 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10212 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10213 "record goto" and checking the exact replay position.
10214 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10215 check for "Recording format" in "info record" output.
10216 * gdb.btrace/record_goto.exp: Choose test file based on target.
10217 * gdb.btrace/x86-record_goto.S: Renamed into ...
10218 * gdb.btrace/x86_64-record_goto.S: ... this.
10219 * gdb.btrace/i686-record_goto.S: New.
10220 * gdb.btrace/x86-tailcall.S: Renamed into ...
10221 * gdb.btrace/x86_64-tailcall.S: ... this.
10222 * gdb.btrace/i686-tailcall.S: New.
10223 * gdb.btrace/x86-tailcall.c: Renamed into ...
10224 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10225 separate statements. Update test.
10226 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10227 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10228 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10229 * gdb.btrace/tailcall.exp: Choose test file based on target.
10230 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10231
10232 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10233
10234 * gdb.btrace/exception.exp: Increase BTS buffer size.
10235
10236 2015-03-24 Pedro Alves <palves@redhat.com>
10237
10238 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10239
10240 2015-03-24 Pedro Alves <palves@redhat.com>
10241
10242 * gdb.threads/schedlock.exp (test_step): No longer expect that
10243 "set scheduler-locking step" with "next" over a function call runs
10244 threads unlocked.
10245
10246 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10247
10248 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10249
10250 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10251
10252 PR breakpoints/16466
10253 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10254 * gdb.mi/mi-pending.c (thread_func): New function.
10255 (int main): Add threading support required.
10256 * gdb.mi/mi-pending.exp: Add tests for this issue.
10257 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10258 (pendfunc2): Remove stdio dependency.
10259 * gdb.mi/mi-pendshr2.c: New file.
10260
10261 2015-03-23 Keith Seitz <keiths@redhat.com>
10262
10263 * gdb.linespec/keywords.c: New file.
10264 * gdb.linespec/keywords.exp: New file.
10265
10266 2015-03-23 Keith Seitz <keiths@redhat.com>
10267
10268 PR gdb/18021
10269 * gdb.dwarf2/staticvirtual.exp: New test.
10270
10271 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10272
10273 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10274 * README: Remove HP-UX and gdb.hp.
10275 (configuration):
10276 * configure: Regenerate.
10277 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10278 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10279 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10280 gdb.hp/gdb.defects/Makefile.
10281 * gdb.hp/Makefile.in: File deleted.
10282 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10283 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10284 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10285 * gdb.hp/gdb.aCC/run.c: File deleted.
10286 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10287 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10288 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10289 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10290 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10291 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10292 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10293 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10294 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10295 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10296 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10297 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10298 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10299 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10300 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10301 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10302 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10303 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10304 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10305 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10306 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10307 * gdb.hp/gdb.compat/average.c: File deleted.
10308 * gdb.hp/gdb.compat/sum.c: File deleted.
10309 * gdb.hp/gdb.compat/xdb.c: File deleted.
10310 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10311 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10312 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10313 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10314 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10315 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10316 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10317 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10318 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10319 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10320 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10321 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10322 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10323 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10324 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10325 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10326 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10327 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10328 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10329 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10330 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10331 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10332 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10333 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10334 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10335 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10336 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10337 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10338 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10339 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10340 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10341 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10342 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10343 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10344 * gdb.hp/tools/odump: File deleted.
10345
10346 2015-03-19 Pedro Alves <palves@redhat.com>
10347
10348 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10349 (saw_thread_3): New globals.
10350 (top level): Increment them when an event for the corresponding
10351 thread is seen.
10352 (no thread starvation): New test.
10353
10354 2015-03-19 Pedro Alves <palves@redhat.com>
10355
10356 * gdb.threads/continue-pending-status.c: New file.
10357 * gdb.threads/continue-pending-status.exp: New file.
10358
10359 2015-03-18 Pedro Alves <palves@redhat.com>
10360
10361 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10362 Use gdb_is_target_remote instead of is_remote. Use
10363 gdb_test_multiple instead of gdb_expect. Exit early if
10364 gdb_test_multiple hits its internal matches. Tighten stepi tests
10365 expected output. Fail on exit with any signal, instead of just
10366 SIGILL.
10367
10368 2015-03-18 Yao Qi <yao.qi@linaro.org>
10369
10370 PR tdep/18107
10371 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10372 variable.
10373 * gdb.base/catch-syscall.exp: Don't skip it on
10374 aarch64*-*-linux* target. Remove elements in all_syscalls.
10375 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10376 target.
10377 (setup_all_syscalls): New proc.
10378
10379 2015-03-16 Yao Qi <yao.qi@linaro.org>
10380
10381 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10382 (top level): Skip tests if valid_addr_p returns false for
10383 $cmd1 or $cmd2.
10384
10385 2015-03-11 Andy Wingo <wingo@igalia.com>
10386
10387 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10388
10389 2015-03-11 Yao Qi <yao.qi@linaro.org>
10390
10391 * gdb.base/catch-syscall.exp: Fix typo in comments.
10392
10393 2015-03-11 Yao Qi <yao.qi@linaro.org>
10394
10395 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10396
10397 2015-03-09 Pedro Alves <palves@redhat.com>
10398
10399 * dg-extract-results.py: Delete.
10400
10401 2015-03-09 Pedro Alves <palves@redhat.com>
10402
10403 Merge dg-extract-results.sh from GCC upstream (r218843).
10404
10405 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10406 * dg-extract-results.sh: Use --text with grep to avoid issues with
10407 binary files. Fall back to cat -v, if that doesn't work.
10408
10409 2015-03-05 Pedro Alves <palves@redhat.com>
10410
10411 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10412
10413 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10414
10415 * lib/mi-support.exp (mi_expect_interrupt): Accept
10416 alternative event for when in all-stop mode.
10417
10418 2015-03-04 Pedro Alves <palves@redhat.com>
10419
10420 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10421
10422 2015-03-04 Mark Kettenis <kettenis@gnu.org>
10423
10424 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10425
10426 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10427
10428 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10429 regexps for GDB's current line display, accept a hex address
10430 preceding the line number.
10431
10432 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10433
10434 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10435 the 'arch1' variable for "s390*-linux*" targets.
10436
10437 2015-03-04 Pedro Alves <palves@redhat.com>
10438
10439 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10440 (main): Pass missing retval argument to pthread_join call.
10441
10442 2015-03-02 Pedro Alves <palves@redhat.com>
10443
10444 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10445 (top level): Call do_test with non-stop as well.
10446
10447 2015-03-02 Pedro Alves <palves@redhat.com>
10448
10449 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10450 -1.
10451
10452 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10453
10454 * gdb.arch/s390-vregs.exp: New test.
10455 * gdb.arch/s390-vregs.S: New file.
10456
10457 2015-02-27 Pedro Alves <palves@redhat.com>
10458
10459 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10460 call to catch_command_errors.
10461 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10462 catch_command_errors.
10463
10464 2015-02-27 Pedro Alves <palves@redhat.com>
10465
10466 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10467 "true" for boolean result.
10468 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10469 prototype of main.
10470
10471 2015-02-27 Pedro Alves <palves@redhat.com>
10472
10473 * lib/unbuffer_output.c: New file.
10474 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10475 (main): Call gdb_unbuffer_output.
10476
10477 2015-02-27 Yao Qi <yao.qi@linaro.org>
10478
10479 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10480 target.
10481
10482 2015-02-26 Doug Evans <dje@google.com>
10483
10484 * gdb.cp/class2.cc (Dbase, D): New classes.
10485 (main): New local delta.
10486 * gdb.cp/class2.exp: Test printing delta.
10487 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10488 (dynbar): New global.
10489 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10490
10491 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10492
10493 * gdb.compile/compile-ifunc.c: New file.
10494 * gdb.compile/compile-ifunc.exp: New file.
10495
10496 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10497
10498 * gdb.base/structs.exp: Check for correct struct on finish.
10499
10500 2015-02-26 Yao Qi <yao.qi@linaro.org>
10501
10502 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10503 is zero.
10504
10505 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10506
10507 * gdb.arch/cordic.ko.bz2: New file.
10508 * gdb.arch/cordic.ko.debug.bz2: New file.
10509 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10510
10511 2015-02-25 Yao Qi <yao.qi@linaro.org>
10512
10513 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10514 aarch64*-*-* target.
10515
10516 2015-02-23 Pedro Alves <palves@redhat.com>
10517
10518 * lib/gdb.exp (delete_breakpoints): Rewrite using
10519 gdb_test_multiple.
10520
10521 2015-02-23 Pedro Alves <palves@redhat.com>
10522
10523 * gdb.base/info-os.c: Include stdlib.h.
10524
10525 2015-02-22 Doug Evans <xdje42@gmail.com>
10526
10527 PR symtab/17855
10528 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10529 is read after symbols have been re-read.
10530 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10531 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10532
10533 2015-02-21 Doug Evans <dje@google.com>
10534
10535 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10536
10537 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10538
10539 PR corefiles/17808
10540 * gdb.arch/i386-biarch-core.core.bz2: New file.
10541 * gdb.arch/i386-biarch-core.exp: New file.
10542
10543 2015-02-21 Pedro Alves <palves@redhat.com>
10544
10545 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10546 runto_main fails.
10547
10548 2015-02-20 Pedro Alves <palves@redhat.com>
10549
10550 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10551 info probes.
10552
10553 2015-02-20 Pedro Alves <palves@redhat.com>
10554
10555 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10556
10557 2015-02-20 Pedro Alves <palves@redhat.com>
10558
10559 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10560 clean_restart before gdb_target_supports_trace.
10561
10562 2015-02-20 Pedro Alves <palves@redhat.com>
10563
10564 PR threads/18006
10565 * gdb.threads/clone-thread_db.c: New file.
10566 * gdb.threads/clone-thread_db.exp: New file.
10567
10568 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10569
10570 PR breakpoints/16812
10571 * gdb.base/catch-gdb-caused-signals.c: New file.
10572 * gdb.base/catch-gdb-caused-signals.exp: New file.
10573
10574 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10575
10576 * configure: Regenerated.
10577 * configure.ac: Use GDB_AC_TRANSFORM.
10578 * aclocal.m4: sinclude ../transform.m4.
10579
10580 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10581
10582 * lib/dtrace.exp: New file.
10583 * gdb.base/dtrace-probe.exp: Likewise.
10584 * gdb.base/dtrace-probe.d: Likewise.
10585 * gdb.base/dtrace-probe.c: Likewise.
10586 * lib/pdtrace.in: Likewise.
10587 * configure.ac: Output variables with the transformed names of
10588 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
10589 * configure: Regenerated.
10590
10591 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10592
10593 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10594 expected message when trying to access $_probe_* convenience
10595 variables while not on a probe.
10596
10597 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10598
10599 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10600
10601 2015-02-11 Pedro Alves <pedro@codesourcery.com>
10602
10603 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10604 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10605
10606 2015-02-10 Doug Evans <xdje42@gmail.com>
10607
10608 * lib/gdb.exp (gdb_load): Always return a result.
10609
10610 2015-02-10 Pedro Alves <palves@redhat.com>
10611
10612 * gdb.threads/signal-sigtrap.c: New file.
10613 * gdb.threads/signal-sigtrap.exp: New file.
10614
10615 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
10616
10617 * gdb.trace/no-attach-trace.c: New file.
10618 * gdb.trace/no-attach-trace.exp: New file.
10619
10620 2015-02-09 Mark Wielaard <mjw@redhat.com>
10621
10622 * gdb.dwarf2/atomic.c: New file.
10623 * gdb.dwarf2/atomic-type.exp: Likewise.
10624
10625 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10626
10627 * gdb.btrace/buffer-size.exp: Update "info record" output.
10628 * gdb.btrace/delta.exp: Update "info record" output.
10629 * gdb.btrace/enable.exp: Update "info record" output.
10630 * gdb.btrace/finish.exp: Update "info record" output.
10631 * gdb.btrace/instruction_history.exp: Update "info record" output.
10632 * gdb.btrace/next.exp: Update "info record" output.
10633 * gdb.btrace/nexti.exp: Update "info record" output.
10634 * gdb.btrace/step.exp: Update "info record" output.
10635 * gdb.btrace/stepi.exp: Update "info record" output.
10636 * gdb.btrace/nohist.exp: Update "info record" output.
10637
10638 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10639
10640 * gdb.btrace/buffer-size: New.
10641
10642 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10643
10644 * gdb.btrace/delta.exp: Update "info record" output.
10645 * gdb.btrace/enable.exp: Update "info record" output.
10646 * gdb.btrace/finish.exp: Update "info record" output.
10647 * gdb.btrace/instruction_history.exp: Update "info record" output.
10648 * gdb.btrace/next.exp: Update "info record" output.
10649 * gdb.btrace/nexti.exp: Update "info record" output.
10650 * gdb.btrace/step.exp: Update "info record" output.
10651 * gdb.btrace/stepi.exp: Update "info record" output.
10652 * gdb.btrace/nohist.exp: Update "info record" output.
10653
10654 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10655
10656 PR gdb/15678
10657 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10658
10659 2015-02-06 Pedro Alves <palves@redhat.com>
10660
10661 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10662 macro.
10663 (seconds_left, again): New globals.
10664 (main): Wait seconds_left in a 1-second sleep loop instead of
10665 sleeping 180 seconds. If 'again' is set, reset the seconds
10666 counter.
10667 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10668 'again' in the inferior before detaching. Print the seconds left.
10669 (options): New global.
10670 (top level): Build program with -DTIMEOUT=$timeout.
10671
10672 2015-02-06 Pedro Alves <palves@redhat.com>
10673
10674 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10675 determine how many seconds to pass to 'alarm'.
10676 * gdb.base/gdb-sigterm.exp (top level): Build program with
10677 -DTIMEOUT=$timeout.
10678 (do_test): Return success/failure indication. Add more verbose
10679 logging. Don't fail if 200 single steps are seen. Instead, fail
10680 when the test times out.
10681 (passes): New global.
10682 (top level): Break the testing loop if testing fails on any
10683 iteration. Use gdb_assert.
10684
10685 2015-02-04 Don Breazeal <donb@codesourcery.com>
10686
10687 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10688 and initialize them.
10689 (ipc_cleanup): New function.
10690 (main): Don't declare shmid, semid, and msqid. Add a call to
10691 atexit so that we call ipc_cleanup on exit.
10692
10693 2015-02-04 Pedro Alves <palves@redhat.com>
10694
10695 * boards/native-extended-gdbserver.exp: Remove any target variant
10696 specifications from the board name before clearing the isremote
10697 flag from board_info.
10698
10699 2015-01-31 Doug Evans <xdje42@gmail.com>
10700
10701 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10702
10703 2015-01-31 Gary Benson <gbenson@redhat.com>
10704
10705 * gdb.base/completion.exp: Disable completion limiting for
10706 existing tests. Add new tests to check completion limiting.
10707 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10708
10709 2015-01-31 Doug Evans <xdje42@gmail.com>
10710
10711 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10712
10713 2015-01-31 Doug Evans <xdje42@gmail.com>
10714
10715 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10716 entries. Duplicate file section script entries.
10717 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10718 inlined entries. Add test for safe-path rejection.
10719 * gdb.python/py-section-script.c: Add duplicate inlined section script
10720 entries. Duplicate file section script entries.
10721 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10722 inlined entries. Add test for safe-path rejection.
10723
10724 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10725
10726 * gdb.ada/disc_arr_bound: New testcase.
10727
10728 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10729
10730 * gdb.ada/mi_var_array: New testcase.
10731
10732 2015-01-27 Doug Evans <dje@google.com>
10733
10734 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10735 Add test for objfile.filename, objfile.username after objfile
10736 has been unloaded.
10737
10738 2015-01-26 Joel Brobecker <brobecker@adacore.com>
10739
10740 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10741 the second test to print the name attribute of value
10742 returned by the call to gdb.lookup_type, and adjust
10743 the expected output accordingly.
10744
10745 2015-01-25 Mark Wielaard <mjw@redhat.com>
10746
10747 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10748 * gdb.base/disp-step-fork.c: Include unistd.h.
10749 * gdb.base/siginfo-obj.c: Include stdio.h.
10750 * gdb.base/siginfo-thread.c: Likewise.
10751 * gdb.mi/non-stop.c: Include unistd.h.
10752 * gdb.mi/nsthrexec.c: Include stdio.h.
10753 * gdb.mi/pthreads.c: Include unistd.h.
10754 * gdb.modula2/unbounded1.c (main): Declare returns int.
10755 * gdb.reverse/consecutive-reverse.c: Likewise.
10756 * gdb.threads/create-fail.c: Include unistd.h.
10757 * gdb.threads/killed.c: Likewise.
10758 * gdb.threads/linux-dp.c: Likewise.
10759 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10760 * gdb.threads/non-ldr-exc-2.c: Likewise.
10761 * gdb.threads/non-ldr-exc-3.c: Likewise.
10762 * gdb.threads/non-ldr-exc-4.c: Likewise.
10763 * gdb.threads/pthreads.c: Include unistd.h.
10764 (main): Declare returns int.
10765 * gdb.threads/tls-main.c (foo): New declaration.
10766 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10767
10768 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10769
10770 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10771 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10772
10773 2015-01-15 Mark Wielaard <mjw@redhat.com>
10774
10775 * gdb.base/noreturn-return.c: New file.
10776 * gdb.base/noreturn-return.exp: New file.
10777 * gdb.base/noreturn-finish.c: New file.
10778 * gdb.base/noreturn-finish.exp: New file.
10779
10780 2015-01-23 Pedro Alves <palves@redhat.com>
10781
10782 * gdb.threads/continue-pending-after-query.c: New file.
10783 * gdb.threads/continue-pending-after-query.exp: New file.
10784
10785 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10786 Simon Marchi <simon.marchi@ericsson.com>
10787
10788 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10789 * gdb.base/valgrind-db-attach.exp: Same.
10790 * gdb.base/valgrind-infcall.exp: Same.
10791 * lib/mi-support.exp (default_mi_gdb_start): Same.
10792 * lib/prompt.exp (default_prompt_gdb_start): Same.
10793 * lib/gdb.exp (default_gdb_spawn): Same.
10794 (gdb_interact): New.
10795
10796
10797 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10798
10799 * gdb.compile/compile.exp (pointer to jit function): New test.
10800
10801 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
10802
10803 * lib/gdb.exp (supports_process_record): Return true for
10804 powerpc*-*-linux*.
10805 (supports_reverse): Likewise.
10806
10807 2015-01-15 Don Breazeal <donb@codesourcery.com>
10808
10809 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10810 instead of checking whether the target board is remote and
10811 use spawn_wait_for_attach instead of exec/sleep.
10812 * gdb.base/attach-twice.exp: Likewise.
10813
10814 2015-01-15 Joel Brobecker <brobecker@adacore.com>
10815
10816 * gdb.ada/var_arr_attrs: New testcase.
10817
10818 2015-01-14 Pedro Alves <palves@redhat.com>
10819 Joel Brobecker <brobecker@adacore.com>
10820
10821 PR gdb/17525
10822 * gdb.base/bp-cmds-execution-x-script.c: New file.
10823 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10824 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10825
10826 2015-01-14 Pedro Alves <palves@redhat.com>
10827
10828 PR cli/17828
10829 * gdb.base/batch-preserve-term-settings.c: New file.
10830 * gdb.base/batch-preserve-term-settings.exp: New file.
10831
10832 2015-01-13 Doug Evans <dje@google.com>
10833
10834 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10835 binary.
10836
10837 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10838
10839 * Makefile.in (clean mostlyclean): Do not delete *.py.
10840
10841 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10842
10843 * gdb.python/py-lookup-type.exp: New file.
10844
10845 2015-01-12 Pedro Alves <palves@redhat.com>
10846
10847 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10848 restore GDBFLAGS before returning.
10849
10850 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10851
10852 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10853 is_amd64_regs_target and is_x86_like_target.
10854
10855 2015-01-11 Doug Evans <xdje42@gmail.com>
10856
10857 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10858 is given without an explicit form.
10859 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10860 attributes.
10861 * gdb.dwarf/corrupt.exp: Ditto.
10862 * gdb.dwarf2/enum-type.exp: Ditto.
10863 * gdb.trace/entry-values.exp: Ditto.
10864 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10865
10866 2015-01-11 Doug Evans <xdje42@gmail.com>
10867
10868 PR gdb/15830
10869 * gdb.base/maint.exp: Remove references to "maint demangle".
10870 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10871 Add tests for explicitly specifying language to demangle.
10872 * gdb.dlang/demangle.exp: Ditto.
10873
10874 2015-01-09 Pedro Alves <palves@redhat.com>
10875
10876 * gdb.threads/non-stop-fair-events.c: New file.
10877 * gdb.threads/non-stop-fair-events.exp: New file.
10878
10879 2015-01-09 Pedro Alves <palves@redhat.com>
10880
10881 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10882 the global scope. Set a breakpoint after all threads are started
10883 rather than stepping over two source lines. Expect the prompt.
10884 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10885 global.
10886 (NUM): Now 15.
10887 (main): Use threads_started_barrier to wait for all threads to
10888 start. Main thread no longer calls thread_function. Exit after
10889 180 seconds.
10890 (loop): New function.
10891 (thread_function): Wait on threads_started_barrier barrier. Call
10892 'loop' at each iteration.
10893 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10894 threads have started, instead of hardcoding number of "next"
10895 steps. Use an access watchpoint instead of a write watchpoint.
10896
10897 2015-01-09 Pedro Alves <palves@redhat.com>
10898
10899 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10900 (thread_func): Wait on barrier.
10901 (main): Wait for all threads to start before stopping GDB.
10902 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10903 global.
10904 (thread1_func, thread2_func): Wait on barrier.
10905 (main): Wait for all threads to start before stopping GDB.
10906 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10907 New global.
10908 (thread1_func, thread2_func): Wait on barrier.
10909 (main): Wait for all threads to start before stopping GDB.
10910
10911 2015-01-09 Pedro Alves <palves@redhat.com>
10912
10913 * gdb.threads/attach-many-short-lived-threads.c: New file.
10914 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10915
10916 2014-01-09 Pedro Alves <palves@redhat.com>
10917
10918 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10919 instead of to thread 2.
10920 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10921 Add barrier around each pthread_create call instead of around all
10922 calls.
10923 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10924 Set a break on thread_function and have the child threads hit it
10925 one at at a time.
10926
10927 2015-01-09 Pedro Alves <palves@redhat.com>
10928
10929 * lib/gdb.exp (can_spawn_for_attach): New procedure.
10930 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
10931 false.
10932 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
10933 checking whether the target board is remote.
10934 * gdb.multi/multi-attach.exp: Likewise.
10935 * gdb.python/py-sync-interp.exp: Likewise.
10936 * gdb.server/ext-attach.exp: Likewise.
10937 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
10938 tests that need to attach, instead of checking whether the target
10939 board is remote at the top of the file.
10940
10941 2015-01-08 Yao Qi <yao@codesourcery.com>
10942
10943 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
10944
10945 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10946
10947 Fix testcase compilation.
10948 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
10949
10950 2015-01-06 Joel Brobecker <brobecker@adacore.com>
10951
10952 * gdb.python/py-type.exp: Add a couple test about empty
10953 array creation, and negative-length array creation.
10954
10955 2015-01-02 Doug Evans <xdje42@gmail.com>
10956
10957 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
10958
10959 2015-01-02 Doug Evans <dje@google.com>
10960
10961 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
10962
10963 2014-12-29 Yao Qi <yao@codesourcery.com>
10964
10965 * gdb.trace/entry-values.exp: Update comments. Rename variable
10966 bar_call_foo to returned_from_foo.
10967
10968 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
10969
10970 PR gdb/17394
10971 * gdb.linespec/break-asm-file.c: New file.
10972 * gdb.linespec/break-asm-file.exp: New file.
10973 * gdb.linespec/break-asm-file0.s: New file.
10974 * gdb.linespec/break-asm-file1.s: New file.
10975
10976 2014-12-18 Nigel Stephens <nigel@mips.com>
10977 Maciej W. Rozycki <macro@codesourcery.com>
10978
10979 * gdb.base/float.exp: Handle the new output from "info float" on
10980 MIPS targets.
10981
10982 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10983
10984 Fix MinGW compilation.
10985 * gdb.compile/compile-ops.exp: Update untested message if
10986 !skip_compile_feature_tests.
10987 * gdb.compile/compile-setjmp.exp: Likewise.
10988 * gdb.compile/compile-tls.exp: Likewise.
10989 * gdb.compile/compile.exp: Likewise.
10990 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
10991 supported on this host".
10992
10993 2014-12-16 Doug Evans <xdje42@gmail.com>
10994
10995 * boards/stabs.exp: New file.
10996
10997 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
10998
10999 * gdb.base/completion.exp: Adjust to format changes of "maint
11000 print user-registers".
11001
11002 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
11003
11004 PR server/17457
11005 * gdb.arch/aarch64-fp.c: New file.
11006 * gdb.arch/aarch64-fp.exp: New file.
11007
11008 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11009
11010 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11011 r210637, r210913, r211666, r215400, r215817).
11012
11013 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
11014 * dg-extract-results.py: New file.
11015 * dg-extract-results.sh: Use it if the environment seems
11016 suitable.
11017
11018 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
11019
11020 * dg-extract-results.py (parse_run): Handle warnings that
11021 are printed before a test harness is run.
11022
11023 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
11024
11025 * dg-extract-results.py (Named): Remove __cmp__ method.
11026 (output_variation): Use a key to sort variation.harnesses.
11027
11028 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
11029
11030 * dg-extract-results.py: For Python 3, force sys.stdout to
11031 handle surrogate escape sequences.
11032 (safe_open): New function.
11033 (output_segment, main): Use it.
11034
11035 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
11036
11037 * dg-extract-results.py (Prog.result_re): Include options
11038 in test name.
11039
11040 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
11041
11042 * dg-extract-results.py (output_variation): Always sort if
11043 do_sum.
11044
11045 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
11046
11047 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11048 as long as we get pagination notifications.
11049
11050 2014-12-15 Jason Merrill <jason@redhat.com>
11051
11052 * Makefile.in (check-gdb.%): Restore.
11053 * README: Mention it.
11054
11055 2014-12-13 Joel Brobecker <brobecker@adacore.com>
11056
11057 * gdb.ada/str_uninit: New testcase.
11058
11059 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11060
11061 PR symtab/17642
11062 * gdb.base/vla-stub-define.c: New file.
11063 * gdb.base/vla-stub.c: New file.
11064 * gdb.base/vla-stub.exp: New file.
11065
11066 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
11067 Jan Kratochvil <jan.kratochvil@redhat.com>
11068 Tom Tromey <tromey@redhat.com>
11069
11070 * configure.ac: Add gdb.compile/.
11071 * configure: Regenerate.
11072 * gdb.compile/Makefile.in: New file.
11073 * gdb.compile/compile-ops.exp: New file.
11074 * gdb.compile/compile-ops.c: New file.
11075 * gdb.compile/compile-tls.c: New file.
11076 * gdb.compile/compile-tls.exp: New file.
11077 * gdb.compile/compile-constvar.S: New file.
11078 * gdb.compile/compile-constvar.c: New file.
11079 * gdb.compile/compile-mod.c: New file.
11080 * gdb.compile/compile-nodebug.c: New file.
11081 * gdb.compile/compile-setjmp-mod.c: New file.
11082 * gdb.compile/compile-setjmp.c: New file.
11083 * gdb.compile/compile-setjmp.exp: New file.
11084 * gdb.compile/compile-shlib.c: New file.
11085 * gdb.compile/compile.c: New file.
11086 * gdb.compile/compile.exp: New file.
11087 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11088
11089 2014-12-12 Tom Tromey <tromey@redhat.com>
11090
11091 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11092 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11093
11094 2014-12-12 Doug Evans <dje@google.com>
11095
11096 * lib/gdb-python.exp (get_python_valueof): New function.
11097 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11098
11099 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11100
11101 * gdb.base/completion.exp: Add test for completion of "info
11102 registers ".
11103
11104 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11105
11106 * gdb.base/func-ptrs.c: New file.
11107 * gdb.base/func-ptrs.exp: New file.
11108
11109 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11110
11111 PR breakpoints/17012
11112 * gdb.base/dprintf-detach.c: New file.
11113 * gdb.base/dprintf-detach.exp: New file.
11114
11115 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11116
11117 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11118 * lib/gdb.exp (target_is_gdbserver): New procedure.
11119
11120 2014-12-08 Doug Evans <dje@google.com>
11121
11122 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11123
11124 2014-12-05 Yao Qi <yao@codesourcery.com>
11125
11126 * gdb.guile/scm-error.exp: Remove the third argument to
11127 gdb_remote_download.
11128 * gdb.guile/scm-frame-args.exp: Likewise.
11129 * gdb.guile/scm-section-script.exp: Likewise.
11130
11131 2014-12-05 Yao Qi <yao@codesourcery.com>
11132
11133 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11134
11135 2014-12-04 Doug Evans <dje@google.com>
11136
11137 * gdb.python/py-objfile.exp: Add tests for
11138 objfile.add_separate_debug_file.
11139
11140 2014-12-04 Doug Evans <dje@google.com>
11141
11142 * lib/gdb.exp (get_build_id): New function.
11143 (build_id_debug_filename_get): Rewrite to use it.
11144 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11145
11146 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11147
11148 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11149 `method(long)', not just 0x0.
11150 * gdb.cp/nsalias.exp: Align code labels to 4.
11151 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11152 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11153 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11154 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11155 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11156 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11157
11158 2014-12-02 Doug Evans <dje@google.com>
11159
11160 PR symtab/17602
11161 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11162 * gdb.cp/anon-ns2.cc: ... here. New file.
11163 * gdb.cp/anon-ns.exp: Update.
11164
11165 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
11166
11167 * gdb.python/py-events.py (inferior_call_handler): New.
11168 (register_changed_handler, memory_changed_handler): New.
11169 (test_events.invoke): Register new handlers.
11170 * gdb.python/py-events.exp: Add tests for inferior call,
11171 memory_changed and register_changed events.
11172
11173 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11174
11175 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11176 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11177 if the linker doesn't understand this.
11178
11179 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11180
11181 * gdb.python/python.exp: Change expected reply to help().
11182
11183 2014-12-01 Yao Qi <yao@codesourcery.com>
11184
11185 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11186 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11187 * configure: Re-generated.
11188
11189 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11190
11191 * gdb.cp/chained-calls.cc: New file.
11192 * gdb.cp/chained-calls.exp: New file.
11193 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11194
11195 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11196
11197 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11198 * gdb.dwarf2/symtab-producer.exp: Same.
11199 * gdb.gdb/python-interrupts.exp: Same.
11200 * gdb.gdb/python-selftest.exp: Same.
11201 * gdb.python/py-linetable.exp: Same.
11202 * gdb.python/py-type.exp: Same.
11203 * gdb.python/py-value-cc.exp: Same.
11204 * gdb.python/py-value.exp: Same.
11205
11206 2014-11-28 Yao Qi <yao@codesourcery.com>
11207
11208 * gdb.base/break-probes.exp: Match library name prefixed with
11209 sysroot.
11210
11211 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11212
11213 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11214 test expected output. Add parentheses for the call to print.
11215 Remove L suffix from integers.
11216
11217 2014-11-26 Doug Evans <dje@google.com>
11218
11219 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11220
11221 2014-11-22 Yao Qi <yao@codesourcery.com>
11222
11223 * gdb.trace/entry-values.c: Remove asms.
11224 (foo): Add foo_label.
11225 (bar): Add bar_label.
11226 * gdb.trace/entry-values.exp: Remove code computing foo's
11227 length and bar's length.
11228 (Dwarf::assemble): Invoke function_range for bar and use
11229 MACRO_AT_func for foo.
11230
11231 2014-11-22 Yao Qi <yao@codesourcery.com>
11232
11233 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11234 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11235 Use .Lgcc43_procstart instead of gcc43.
11236
11237 2014-11-21 Joel Brobecker <brobecker@adacore.com>
11238
11239 * gdb.ada/n_arr_bound: New testcase.
11240
11241 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11242
11243 PR breakpoints/10737
11244 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11245 test_catch_syscall_multi_arch.
11246 (test_catch_syscall_multi_arch): New function.
11247
11248 2014-11-20 Doug Evans <xdje42@gmail.com>
11249
11250 * gdb.base/maint.exp: Update expected output.
11251
11252 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11253
11254 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11255 4-byte instruction on S390.
11256
11257 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11258
11259 * gdb.ada/arr_arr: New testcase.
11260
11261 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11262
11263 * gdb.ada/pkd_arr_elem: New Testcase.
11264
11265 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11266
11267 * gdb.reverse/break-precsave: Expect completion message for
11268 core file reads.
11269 * gdb.reverse/consecutive-precsave.exp: Likewise.
11270 * gdb.reverse/finish-precsave.exp: Likewise.
11271 * gdb.reverse/i386-precsave.exp: Likewise.
11272 * gdb.reverse/machinestate-precsave.exp: Likewise.
11273 * gdb.reverse/sigall-precsave.exp: Likewise.
11274 * gdb.reverse/solib-precsave.exp: Likewise.
11275 * gdb.reverse/step-precsave.exp: Likewise.
11276 * gdb.reverse/until-precsave.exp: Likewise.
11277 * gdb.reverse/watch-precsave.exp: Likewise.
11278
11279 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11280
11281 * gdb.base/bp-permanent.c: Include unistd.h.
11282 * gdb.python/py-framefilter-mi.c (main): Add return type.
11283 * gdb.python/py-framefilter.c (main): Likewise.
11284 * gdb.trace/actions-changed.c (main): Likewise.
11285
11286 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11287
11288 * gdb.mi/until.c: Add eye-catchers.
11289 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11290 line numbers.
11291
11292 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11293
11294 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11295 function header variants in break1.c.
11296 * gdb.base/ena-dis-br.exp: Likewise.
11297 * gdb.base/hbreak2.exp: Likewise.
11298 * gdb.reverse/until-precsave.exp: Drop references to removed
11299 non-prototype function header variants in ur1.c.
11300 * gdb.reverse/until-reverse.exp: Likewise.
11301
11302 2014-11-17 Petr Machata <pmachata@redhat.com>
11303
11304 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11305 ${_cu_offset_size} bytes abbrev offset.
11306
11307 2014-11-15 Doug Evans <xdje42@gmail.com>
11308
11309 PR symtab/17559
11310 * gdb.base/line-symtabs.exp: New file.
11311 * gdb.base/line-symtabs.c: New file.
11312 * gdb.base/line-symtabs.h: New file.
11313
11314 2014-11-14 Yao Qi <yao@codesourcery.com>
11315
11316 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11317 (func): Add label func_label.
11318 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11319 Replace low_pc and high_pc with MACRO_AT_range.
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 (Dwarf::assemble):
11325 Replace name, low_pc and high_pc with MACRO_AT_func.
11326
11327 2014-11-14 Yao Qi <yao@codesourcery.com>
11328
11329 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11330 produce debug information.
11331 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11332
11333 2014-11-14 Yao Qi <yao@codesourcery.com>
11334
11335 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11336 object and get function length.
11337 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11338 with MACRO_AT_func.
11339 (top-level): Replace gdb_compile and clean_restart with
11340 prepare_for_testing.
11341 * gdb.dwarf2/main.c (main): Add label main_label.
11342
11343 2014-11-14 Yao Qi <yao@codesourcery.com>
11344
11345 * lib/dwarf.exp (function_range): New procedure.
11346 (Dwarf::_handle_macro_at_func): New procedure.
11347 (Dwarf::_handle_macro_at_range): New procedure.
11348 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11349
11350 2014-11-14 Yao Qi <yao@codesourcery.com>
11351
11352 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11353 (_handle_attribute): New procedure.
11354
11355 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11356
11357 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11358 * gdb.base/call-sc.c (zed): Likewise.
11359 * gdb.base/checkpoint.c (main): Likewise.
11360 * gdb.base/dump.c (main): Likewise.
11361 * gdb.base/gcore.c (main): Likewise.
11362 * gdb.base/huge.c (main): Likewise.
11363 * gdb.base/multi-forks.c (main): Likewise.
11364 * gdb.base/pr10179-a.c (main): Likewise.
11365 * gdb.base/savedregs.c (main): Likewise.
11366 * gdb.base/sigaltstack.c (main): Likewise.
11367 * gdb.base/siginfo.c (main): Likewise.
11368 * gdb.base/structs.c (zed): Likewise.
11369 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11370 * gdb.mi/mi-syn-frame.c (main): Likewise.
11371 * gdb.mi/until.c (foo, main): Likewise.
11372 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11373 * gdb.base/solib-weak.c (foo): Declare.
11374 * gdb.base/attach-twice.c: Include stdio.h.
11375 * gdb.base/weaklib1.c: Likewise.
11376 * gdb.base/weaklib2.c: Likewise.
11377 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11378 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11379 unistd.h.
11380 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11381 * gdb.mi/mi-exit-code.c: Likewise.
11382 * gdb.base/break-interp-lib.c: Include string.h.
11383 * gdb.base/coremaker.c: Likewise.
11384 * gdb.base/testenv.c: Likewise.
11385 * gdb.python/py-finish-breakpoint.c: Likewise.
11386 * gdb.base/inferior-died.c: Include sys/wait.h.
11387 * gdb.base/fileio.c: Include time.h.
11388 * gdb.base/async-shell.c: Include unistd.h.
11389 * gdb.base/dprintf-non-stop.c: Likewise.
11390 * gdb.base/info-os.c: Likewise.
11391 * gdb.mi/mi-console.c: Likewise.
11392 * gdb.mi/watch-nonstop.c: Likewise.
11393 * gdb.python/py-events.c: Likewise.
11394 * gdb.base/async.c (baz): Move up before its invocation.
11395 * gdb.base/code_elim2.c (my_global_func): Likewise.
11396 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11397 * gdb.base/advance.c (func2): Likewise.
11398
11399 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11400
11401 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11402 variant.
11403 * gdb.base/annota3.c: Likewise.
11404 * gdb.base/async.c: Likewise.
11405 * gdb.base/average.c: Likewise.
11406 * gdb.base/call-ar-st.c: Likewise.
11407 * gdb.base/call-rt-st.c: Likewise.
11408 * gdb.base/call-sc.c: Likewise.
11409 * gdb.base/call-strs.c: Likewise.
11410 * gdb.base/ending-run.c: Likewise.
11411 * gdb.base/execd-prog.c: Likewise.
11412 * gdb.base/exprs.c: Likewise.
11413 * gdb.base/foll-exec.c: Likewise.
11414 * gdb.base/foll-fork.c: Likewise.
11415 * gdb.base/foll-vfork.c: Likewise.
11416 * gdb.base/funcargs.c: Likewise.
11417 * gdb.base/gcore.c: Likewise.
11418 * gdb.base/jump.c: Likewise.
11419 * gdb.base/langs0.c: Likewise.
11420 * gdb.base/langs1.c: Likewise.
11421 * gdb.base/langs2.c: Likewise.
11422 * gdb.base/mips_pro.c: Likewise.
11423 * gdb.base/nodebug.c: Likewise.
11424 * gdb.base/opaque0.c: Likewise.
11425 * gdb.base/opaque1.c: Likewise.
11426 * gdb.base/recurse.c: Likewise.
11427 * gdb.base/run.c: Likewise.
11428 * gdb.base/scope0.c: Likewise.
11429 * gdb.base/scope1.c: Likewise.
11430 * gdb.base/setshow.c: Likewise.
11431 * gdb.base/setvar.c: Likewise.
11432 * gdb.base/shmain.c: Likewise.
11433 * gdb.base/shr1.c: Likewise.
11434 * gdb.base/shr2.c: Likewise.
11435 * gdb.base/sigall.c: Likewise.
11436 * gdb.base/signals.c: Likewise.
11437 * gdb.base/so-indr-cl.c: Likewise.
11438 * gdb.base/solib2.c: Likewise.
11439 * gdb.base/structs.c: Likewise.
11440 * gdb.base/sum.c: Likewise.
11441 * gdb.base/vforked-prog.c: Likewise.
11442 * gdb.base/watchpoint.c: Likewise.
11443 * gdb.reverse/shr2.c: Likewise.
11444 * gdb.reverse/until-reverse.c: Likewise.
11445 * gdb.reverse/ur1.c: Likewise.
11446 * gdb.reverse/watch-reverse.c: Likewise.
11447
11448 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11449
11450 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11451 variant.
11452 * gdb.base/sepdebug.exp: Drop references to removed code.
11453
11454 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11455
11456 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11457 variant. Preserve original line numbering.
11458 * gdb.base/list1.c: Likewise.
11459
11460 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11461
11462 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11463 variant.
11464 * gdb.base/break1.c: Likewise.
11465 * gdb.base/break.exp: Drop references to removed code.
11466
11467 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11468
11469 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11470 variant.
11471
11472 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11473
11474 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11475
11476 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11477
11478 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11479 logic into perform_all_tests() and invoke it with and without
11480 function header prototypes.
11481 (do_function_calls): Remove conditional XFAIL for PR 5318.
11482 (rerun_and_prepare): Remove duplicate code.
11483 (perform_all_tests): New. Main logic moved here.
11484
11485 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11486
11487 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11488 code guarded by #ifdef NO_PROTOTYPES.
11489 (t_double_many_args): Likewise.
11490 (DEF_FUNC_MANY_ARGS_1): Likewise.
11491 (DEF_FUNC_VALUES_1): Likewise.
11492 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11493 guarded by #ifdef PROTOTYPES.
11494
11495 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11496
11497 * gdb.mi/mi-console.c: Add eye-catcher.
11498 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11499 instead of literal line number.
11500
11501 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11502
11503 * gdb.base/shr2.c: Add eye-catcher.
11504 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11505 line number.
11506
11507 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11508
11509 * gdb.base/jump.c: Add eye-catchers.
11510 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11511 numbers.
11512
11513 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11514
11515 * gdb.base/execd-prog.c: Add eye-catchers.
11516 * gdb.base/foll-exec.c: Likewise.
11517 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11518 line numbers.
11519
11520 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11521
11522 * gdb.base/ending-run.c: Add eye-catchers.
11523 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11524 literal line numbers.
11525
11526 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11527
11528 * gdb.base/call-rt-st.c: Add eye-catchers.
11529 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11530 literal line numbers.
11531
11532 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11533
11534 * gdb.base/call-ar-st.c: Add eye-catchers.
11535 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11536 literal line numbers.
11537
11538 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11539
11540 * gdb.base/average.c: Add eye-catchers.
11541 * gdb.base/sum.c: Likewise.
11542 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11543 regexps dynamically.
11544
11545 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11546
11547 * gdb.base/solib1.c: Add eye-catchers.
11548 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11549 literal line numbers.
11550
11551 2014-11-12 Pedro Alves <palves@redhat.com>
11552
11553 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11554 leader has exited.
11555
11556 2014-11-12 Pedro Alves <palves@redhat.com>
11557
11558 * gdb.arch/i386-bp_permanent.c: New file.
11559 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11560 (srcfile): Set to i386-bp_permanent.c.
11561 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11562 that stepi does not execute the 'leave' instruction, instead of
11563 testing it does execute.
11564 * gdb.base/bp-permanent.c: New file.
11565 * gdb.base/bp-permanent.exp: New file.
11566
11567 2014-11-10 Doug Evans <xdje42@gmail.com>
11568
11569 PR symtab/17564
11570 * gdb.base/symtab-search-order.exp: New file.
11571 * gdb.base/symtab-search-order.c: New file.
11572 * gdb.base/symtab-search-order-1.c: New file.
11573 * gdb.base/symtab-search-order-shlib-1.c: New file.
11574
11575 2014-11-07 Pedro Alves <palves@redhat.com>
11576
11577 PR gdb/17511
11578 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11579 i?86-*-linux*.
11580
11581 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
11582
11583 PR c++/17494
11584 * gdb.cp/pr17494.cc: New file.
11585 * gdb.cp/pr17494.exp: New file.
11586
11587 2014-11-02 Yao Qi <yao@codesourcery.com>
11588
11589 * gdb.python/python.exp: Get working directory and match the
11590 output of "set extended-prompt \\w " with it.
11591
11592 2014-10-30 Doug Evans <dje@google.com>
11593
11594 * gdb.python/py-objfile.exp: Add tests for setting random attributes
11595 in objfiles.
11596 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11597 in progspaces.
11598
11599 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
11600
11601 * gdb.base/fullpath-expand.exp: Skip for a remote host.
11602 * gdb.base/realname-expand.exp: Likewise.
11603 * gdb.linespec/macro-relative.exp: Likewise.
11604
11605 2014-10-29 Pedro Alves <palves@redhat.com>
11606
11607 PR gdb/17408
11608 * gdb.threads/schedlock.c (some_function): New function.
11609 (call_function): New global.
11610 (MAYBE_CALL_SOME_FUNCTION): New macro.
11611 (thread_function): Call it.
11612 * gdb.threads/schedlock.exp (get_args): Add description parameter,
11613 and use it instead of a global counter. Adjust all callers.
11614 (get_current_thread): Use "find current thread" for test message
11615 here rather than having all callers pass down the same string.
11616 (goto_loop): New procedure, factored out from ...
11617 (my_continue): ... this.
11618 (step_ten_loops): Change parameter from test message to command to
11619 use. Adjust.
11620 (list_count): Delete global.
11621 (check_result): New procedure, factored out from duplicate top
11622 level code.
11623 (continue tests): Wrap in with_test_prefix.
11624 (test_step): New procedure, factored out from duplicate top level
11625 code.
11626 (top level): Test "step" in combination with all scheduler-locking
11627 modes. Test "next" in combination with all scheduler-locking
11628 modes, and in combination with stepping over a function call or
11629 not.
11630 * gdb.threads/next-bp-other-thread.c: New file.
11631 * gdb.threads/next-bp-other-thread.exp: New file.
11632
11633 2014-10-29 Pedro Alves <palves@redhat.com>
11634
11635 PR python/17372
11636 * gdb.python/python.exp: Test a multi-line command that spawns
11637 interactive Python.
11638 * gdb.base/multi-line-starts-subshell.exp: New file.
11639
11640 2014-10-29 Yao Qi <yao@codesourcery.com>
11641
11642 * gdb.base/fileio.exp: Make directories on host.
11643
11644 2014-10-29 Yao Qi <yao@codesourcery.com>
11645
11646 * gdb.base/fileio.c (test_write): Close the file.
11647
11648 2014-10-28 Pedro Alves <palves@redhat.com>
11649
11650 PR gdb/12623
11651 * gdb.base/sigstep.c (no_handler): New global.
11652 (main): If 'no_handler is true, set the signal handlers to
11653 SIG_IGN.
11654 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11655 with_sw_watch and no_handler parameters. Handle them.
11656 (top level) <stepping over handler when stopped at a breakpoint
11657 test>: Add a test axis for testing with a software watchpoint, and
11658 another for testing with the signal handler set to SIG_IGN.
11659 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11660 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11661
11662 2014-10-28 Pedro Alves <palves@redhat.com>
11663
11664 PR gdb/17511
11665 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11666 * gdb.base/sigstep.exp (other_handler_location): New global.
11667 (advance): Support stepping into the signal handler, and running
11668 commands while in the handler.
11669 (in_handler_map): New global.
11670 (top level): In the advance test, add combinations for getting
11671 into the handler with stepping commands, and for running commands
11672 in the handler. Add comment descripting the advancei tests.
11673
11674 2014-10-28 Pedro Alves <palves@redhat.com>
11675
11676 * gdb.base/sigstep.exp: Use build_executable instead of
11677 prepare_for_testing.
11678 (top level): Move code that starts GDB, runs to main and creates a
11679 display to ...
11680 (restart): ... this new procedure.
11681 (top level): Move backtrace from signal handler test to ...
11682 (validate_backtrace): ... this new procedure.
11683 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11684 with_test_prefix. Always restart GDB.
11685 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11686 with_test_prefix. Always restart GDB. No need to delete
11687 breakpoints after the test.
11688 (test_skip_handler): Remove prefix parameter.
11689 (skip_over_handler, breakpoint_to_handler)
11690 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11691 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11692 restart GDB. No need to delete breakpoints after the test.
11693 (top level): Use foreach to call the test procedures with
11694 different commands.
11695
11696 2014-10-28 Pedro Alves <palves@redhat.com>
11697
11698 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11699 instead of GNATS numbers.
11700 * gdb.base/sigbpt.exp: Likewise.
11701 * gdb.base/siginfo.exp: Likewise.
11702 * gdb.base/sigstep.exp: Likewise.
11703
11704 2014-10-27 Pedro Alves <palves@redhat.com>
11705
11706 * gdb.base/sigstep.c (dummy): New global.
11707 (main): Issue a couple writes to the new global.
11708 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11709 procedures.
11710 (skip_over_handler): Use test_skip_handler.
11711 (top level): Call skip_over_handler for stepi and nexti too.
11712 (breakpoint_over_handler): Use test_skip_handler.
11713 (top level): Call breakpoint_over_handler for stepi and nexti too.
11714
11715 2014-10-27 Yao Qi <yao@codesourcery.com>
11716
11717 * gdb.trace/tfile.c (adjust_function_address)
11718 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11719 function descriptor.
11720
11721 2014-10-24 Don Breazeal <donb@codesourcery.com>
11722
11723 * gdb.base/foll-fork.exp (test_follow_fork,
11724 catch_fork_child_follow): Check for updated fork messages emitted
11725 from infrun.c.
11726 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11727 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11728 vfork_and_exec_child_follow_through_step): Check for updated vfork
11729 messages emitted from infrun.c.
11730
11731 2014-10-24 Pedro Alves <palves@redhat.com>
11732
11733 * gdb.base/corefile.exp: Remove references to ultrix.
11734 * gdb.base/interrupt.exp: Likewise.
11735 * gdb.base/whatis.exp: Likewise.
11736 * gdb.gdb/selftest.exp: Likewise.
11737 * gdb.threads/manythreads.exp: Likewise.
11738 * gdb.threads/print-threads.exp: Likewise.
11739 * gdb.threads/pthreads.exp:: Likewise.
11740 * gdb.threads/schedlock.exp: Likewise.
11741
11742 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11743
11744 * gdb.cp/non-trivial-retval.cc: Add a test case.
11745 * gdb.cp/non-trivial-retval.exp: Add a test.
11746
11747 2014-10-20 Yao Qi <yao@codesourcery.com>
11748
11749 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11750 * gdb.python/py-objfile-script-gdb.py: New file.
11751 * gdb.python/py-objfile-script.exp: Update reference to
11752 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11753 of remote_download. Remove the dest file.
11754
11755 2014-10-20 Yao Qi <yao@codesourcery.com>
11756
11757 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11758 * gdb.base/step-line.exp: Likewise.
11759 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11760 * gdb.dwarf2/dw2-basic.exp: Likewise.
11761 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11762 * gdb.dwarf2/dw2-filename.exp: Likewise.
11763 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11764 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11765 * gdb.dwarf2/dw2-producer.exp: Likewise.
11766 * gdb.dwarf2/mac-fileno.exp: Likewise.
11767 * gdb.python/py-frame-args.exp: Likewise.
11768 * gdb.python/py-framefilter.exp: Likewise.
11769 * gdb.python/py-mi.exp: Likewise.
11770 * gdb.python/py-objfile-script.exp: Likewise
11771 * gdb.python/py-pp-integral.exp: Likewise.
11772 * gdb.python/py-pp-re-notag.exp: Likewise.
11773 * gdb.python/py-prettyprint.exp: Likewise.
11774 * gdb.python/py-section-script.exp: Likewise.
11775 * gdb.python/py-typeprint.exp: Likewise.
11776 * gdb.python/py-xmethods.exp: Likewise.
11777 * gdb.stabs/weird.exp: Likewise.
11778 * gdb.xml/tdesc-regs.exp: Likewise.
11779
11780 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11781
11782 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11783 (out_cu): Use addr_len for the size of addresses.
11784 (out_line): Likewise. Size DW_LNE_set_address instruction
11785 according to addr_len.
11786 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11787 (FUNC): Add START_INSNS to definition.
11788
11789 2014-10-18 Yao Qi <yao@codesourcery.com>
11790
11791 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11792 gdb_has_argv0 return true.
11793 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11794 check [target_info exists noargs], check [gdb_has_argv0]
11795 instead.
11796 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11797 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11798 procedures.
11799
11800 2014-10-17 Doug Evans <dje@google.com>
11801
11802 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11803 event.
11804 * gdb.python/py-events.py: Add clear_objfiles event.
11805
11806 2014-10-17 Doug Evans <dje@google.com>
11807
11808 * gdb.python/py-objfile.exp: Test progspace attribute.
11809
11810 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
11811
11812 * gdb.guile/scm-breakpoint.exp: Do not assume any
11813 directory separators when matching source file paths.
11814 * gdb.python/py-breakpoint.exp: Likewise.
11815 * gdb.reverse/break-precsave.exp: Likewise.
11816 * gdb.reverse/break-reverse.exp: Likewise.
11817 * gdb.reverse/consecutive-precsave.exp: Likewise.
11818 * gdb.reverse/finish-precsave.exp: Likewise.
11819 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11820 * gdb.reverse/finish-reverse.exp: Likewise.
11821 * gdb.reverse/i386-precsave.exp: Likewise.
11822 * gdb.reverse/i387-env-reverse.exp: Likewise.
11823 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11824 * gdb.reverse/machinestate-precsave.exp: Likewise.
11825 * gdb.reverse/machinestate.exp: Likewise.
11826 * gdb.reverse/sigall-precsave.exp: Likewise.
11827 * gdb.reverse/solib-precsave.exp: Likewise.
11828 * gdb.reverse/step-precsave.exp: Likewise.
11829 * gdb.reverse/until-precsave.exp: Likewise.
11830 * gdb.reverse/watch-precsave.exp: Likewise.
11831 * gdb.reverse/watch-reverse.exp: Likewise.
11832
11833 2014-10-17 Yao Qi <yao@codesourcery.com>
11834
11835 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11836 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11837
11838 2014-10-17 Pedro Alves <palves@redhat.com>
11839
11840 PR gdb/17471
11841 * gdb.base/bg-execution-repeat.c: New file.
11842 * gdb.base/bg-execution-repeat.exp: New file.
11843
11844 2014-10-17 Pedro Alves <palves@redhat.com>
11845
11846 PR gdb/17300
11847 * gdb.base/continue-all-already-running.c: New file.
11848 * gdb.base/continue-all-already-running.exp: New file.
11849
11850 2014-10-17 Pedro Alves <palves@redhat.com>
11851
11852 PR gdb/17472
11853 * gdb.base/annota-input-while-running.c: New file.
11854 * gdb.base/annota-input-while-running.exp: New file.
11855
11856 2014-10-17 Pedro Alves <palves@redhat.com>
11857
11858 * gdb.base/callfuncs.exp: emove references to osf.
11859 * gdb.base/sigall.exp: Likewise.
11860 * gdb.gdb/selftest.exp: Likewise.
11861 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11862 * gdb.mi/non-stop.c: Likewise.
11863 * gdb.mi/pthreads.c: Likewise.
11864 * gdb.reverse/sigall-precsave.exp: Likewise.
11865 * gdb.reverse/sigall-reverse.exp: Likewise.
11866 * gdb.threads/pthreads.c: Likewise.
11867 * gdb.threads/pthreads.exp: Likewise.
11868
11869 2014-10-17 Yao Qi <yao@codesourcery.com>
11870
11871 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11872 check 'target_info exists noargs'.
11873 (test_command_prompt_position): Likewise.
11874 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11875 Remove "set args".
11876 (progvar_simple_while_test): Likewise.
11877 (progvar_complex_if_while_test): Likewise.
11878 (if_while_breakpoint_command_test): Likewise.
11879 (infrun_breakpoint_command_test): Likewise.
11880 (breakpoint_command_test): Likewise.
11881 (watchpoint_command_test): Likewise.
11882 (bp_deleted_in_command_test): Likewise.
11883 (temporary_breakpoint_commands): Likewise.
11884
11885 2014-10-16 Yao Qi <yao@codesourcery.com>
11886
11887 * gdb.base/remotetimeout.exp: Remove noargs checking.
11888
11889 2014-10-15 Pedro Alves <palves@redhat.com>
11890
11891 PR breakpoints/9649
11892 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11893 * gdb.base/breakpoint-in-ro-region.exp
11894 (probe_target_hardware_step): New procedure.
11895 (top level): Probe hardware stepping and hardware breakpoint
11896 support. Test stepping through a read-only region, with both
11897 "breakpoint auto-hw" on and off and both "always-inserted" on and
11898 off.
11899
11900 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11901
11902 * gdb.dlang/demangle.exp: Update for demangling changes.
11903
11904 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11905
11906 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11907 * gdb.cp/non-trivial-retval.exp: Add new tests.
11908
11909 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11910
11911 PR c++/13403
11912 PR c++/15154
11913 * gdb.cp/non-trivial-retval.cc: New file.
11914 * gdb.cp/non-trivial-retval.exp: New file.
11915
11916 2014-10-15 Yao Qi <yao@codesourcery.com>
11917
11918 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11919 remote host.
11920
11921 2014-10-15 Yao Qi <yao@codesourcery.com>
11922
11923 * gdb.python/py-symbol.exp: Match file base name if host is
11924 remote, otherwise match file name with dir name.
11925 * gdb.python/py-symtab.exp: Likewise.
11926 * gdb.python/python.exp: Likewise.
11927
11928 2014-10-15 Yao Qi <yao@codesourcery.com>
11929
11930 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
11931 pattern.
11932 * gdb.python/py-symtab.exp: Likewise.
11933 * gdb.python/python.exp: Remove trailing ".*". Fix typo
11934 locationn.
11935
11936 2014-10-14 Joel Brobecker <brobecker@adacore.com>
11937
11938 * gdb.ada/addr_arith: New testcase.
11939
11940 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
11941
11942 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
11943 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
11944 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
11945 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
11946
11947 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
11948
11949 * gdb.arch/stap-eval-lang-ada.S: Likewise.
11950 * gdb.arch/stap-eval-lang-ada.c: Likewise.
11951 * gdb.arch/stap-eval-lang-ada.exp: New file.
11952
11953 2014-10-14 Yao Qi <yao@codesourcery.com>
11954
11955 * gdb.mi/mi-var-child.c (nothing1): New function.
11956 (nothing2): New function.
11957 (do_children_tests): Set function pointers by nothing1 and
11958 nothing2.
11959 * gdb.mi/mi-var-child.exp: Step over new added statements.
11960 Update test to match the new output.
11961 * gdb.mi/var-cmd.c (nothing1): New function.
11962 (nothing2): New function.
11963 (do_children_tests): Set function pointers by nothing1 and
11964 nothing2.
11965 * gdb.mi/mi-var-display.exp: Update test to match output.
11966 Step to the line specified by $line_dct_nothing.
11967 Increase the number of lines to step.
11968
11969 2014-10-14 Yao Qi <yao@codesourcery.com>
11970
11971 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
11972 tests.
11973 * gdb.mi/mi2-var-child.exp: Likewise.
11974
11975 2014-10-13 Doug Evans <dje@google.com>
11976
11977 * gdb.python/py-objfile.exp: Change name of file name test.
11978
11979 2014-10-13 Doug Evans <dje@google.com>
11980
11981 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
11982 from the start of the CU.
11983
11984 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11985 Yao Qi <yao@codesourcery.com>
11986
11987 Fix "save breakpoints" for "catch" command.
11988 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11989 Remove -nonewline. Match also the added "main" line.
11990
11991 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11992
11993 Fix "save breakpoints" for "disable $bpnum" command.
11994 * gdb.base/save-bp.c (main): Add label.
11995 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
11996
11997 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11998
11999 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12000
12001 2014-10-11 Yao Qi <yao@codesourcery.com>
12002
12003 * gdb.server/server-kill.exp: Execute command
12004 "set remote trace-status-packet on" before "tstatus".
12005
12006 2014-10-11 Yao Qi <yao@codesourcery.com>
12007
12008 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12009 (main): Call getppid.
12010 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12011 and continue to it. Read variable "server_pid".
12012
12013 2014-10-11 Yao Qi <yao@codesourcery.com>
12014
12015 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12016
12017 2014-10-11 Yao Qi <yao@codesourcery.com>
12018
12019 * gdb.threads/thread-find.exp: Don't execute command
12020 "info threads".
12021 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12022 * gdb.threads/linux-dp.exp: Don't check the condition
12023 $threads_created equals to zero.
12024
12025 2014-10-10 Pedro Alves <palves@redhat.com>
12026
12027 * gdb.base/bigcore.exp: Remove references to IRIX.
12028 * gdb.base/funcargs.exp: Likewise.
12029 * gdb.base/interrupt.exp: Likewise.
12030 * gdb.base/mips_pro.exp: Likewise.
12031 * gdb.base/nodebug.exp: Likewise.
12032 * gdb.base/setvar.exp: Likewise.
12033 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12034
12035 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12036 Pedro Alves <palves@redhat.com>
12037
12038 PR symtab/14466
12039 * gdb.base/vdso-warning.c: New file.
12040 * gdb.base/vdso-warning.exp: New file.
12041
12042 2014-10-02 Doug Evans <dje@google.com>
12043
12044 * gdb.base/structs.c (main): Don't run forever.
12045
12046 2014-10-02 Pedro Alves <palves@redhat.com>
12047
12048 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12049 (top level) <stop threads 1, stop threads 2>: Use it.
12050
12051 2014-10-02 Pedro Alves <palves@redhat.com>
12052
12053 * gdb.threads/break-while-running.exp (test): Add new
12054 'update_thread_list' argument. Skip "info threads" if false.
12055 (top level): Add new 'update_thread_list' axis.
12056
12057 2014-10-02 Pedro Alves <palves@redhat.com>
12058
12059 PR breakpoints/17431
12060 * gdb.base/execl-update-breakpoints.c: New file.
12061 * gdb.base/execl-update-breakpoints.exp: New file.
12062
12063 2014-10-01 Pedro Alves <palves@redhat.com>
12064
12065 * gdb.base/breakpoint-in-ro-region.c: New file.
12066 * gdb.base/breakpoint-in-ro-region.exp: New file.
12067
12068 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
12069
12070 * gdb.mi/mi-exit-code.exp: New file.
12071 * gdb.mi/mi-exit-code.c: New file.
12072
12073 2014-09-30 Yao Qi <yao@codesourcery.com>
12074
12075 * lib/prelink-support.exp (build_executable_own_libs): Error if
12076 the target isn't native.
12077
12078 2014-09-30 Yao Qi <yao@codesourcery.com>
12079
12080 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12081 false.
12082
12083 2014-09-22 Pedro Alves <palves@redhat.com>
12084
12085 * gdb.threads/break-while-running.exp: New file.
12086 * gdb.threads/break-while-running.c: New file.
12087
12088 2014-09-19 Yao Qi <yao@codesourcery.com>
12089
12090 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12091 Invoke test. Restart GDB with --readnow and invoke test again.
12092
12093 2014-09-19 Yao Qi <yao@codesourcery.com>
12094
12095 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12096 proc set_breakpoint_on_gcd_function. Invoke
12097 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12098 invoke set_breakpoint_on_gcd_function again.
12099
12100 2014-09-18 Doug Evans <dje@google.com>
12101
12102 * gdb.dwarf2/symtab-producer.exp: New file.
12103
12104 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12105
12106 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12107 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12108 * gdb.base/global-var-nested-by-dso.c: Likewise.
12109 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12110
12111 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12112 Pedro Alves <palves@redhat.com>
12113
12114 * gdb.base/watch-bitfields.exp: Pass string other than test file
12115 name to prepare_for_testing.
12116 (watch): New procedure.
12117 (expect_watchpoint): Use with_test_prefix.
12118 (top level): Factor out tests to ...
12119 (test_watch_location, test_regular_watch): ... these new
12120 procedures, and use with_test_prefix and gdb_continue_to_end.
12121
12122 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12123
12124 PR breakpoints/12526
12125 * gdb.base/watch-bitfields.exp: New file.
12126 * gdb.base/watch-bitfields.c: New file.
12127
12128 2014-09-16 Pedro Alves <palves@redhat.com>
12129
12130 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12131 software and hardware addresses, not software address against
12132 itself.
12133
12134 2014-09-16 Pedro Alves <palves@redhat.com>
12135
12136 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12137 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12138
12139 2014-09-16 Pedro Alves <palves@redhat.com>
12140
12141 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12142 files.
12143 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12144 "*-*-vxworks*" throughout.
12145 * gdb.base/break.exp: Likewise.
12146 * gdb.base/default.exp: Likewise.
12147 * gdb.base/scope.exp: Likewise.
12148 * gdb.base/sepdebug.exp: Likewise.
12149 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12150 throughout.
12151 * gdb.base/run.c: Likewise.
12152 * gdb.base/sepdebug.c: Likewise.
12153 * gdb.hp/gdb.aCC/run.c: Likewise.
12154 * gdb.reverse/until-reverse.c: Likewise.
12155 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12156
12157 2014-09-16 Yao Qi <yao@codesourcery.com>
12158
12159 * boards/local-remote-host-native.exp: New file.
12160
12161 2014-09-14 Doug Evans <xdje42@gmail.com>
12162
12163 * gdb.threads/queue-signal.c (thread_count): New variable.
12164 (thread_count_mutex, thread_count_condvar): New variables.
12165 (incr_thread_count, wait_all_threads_running): New functions.
12166 (main): Wait for all threads to be in their thread functions.
12167
12168 2014-09-13 Doug Evans <xdje42@gmail.com>
12169
12170 * gdb.threads/queue-signal.c: New file.
12171 * gdb.threads/queue-signal.exp: New file.
12172
12173 2014-09-13 Doug Evans <xdje42@gmail.com>
12174
12175 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12176 be consistent with what default_gdb_init uses.
12177 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12178 the plain text of the prompt. Add some logging printfs.
12179 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12180
12181 2014-09-12 Pedro Alves <palves@redhat.com>
12182
12183 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12184 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12185 * gdb.arch/i386-size-overlap.exp: Likewise.
12186 * gdb.arch/i386-size.exp: Likewise.
12187 * gdb.arch/i386-unwind.exp: Likewise.
12188 * gdb.base/a2-run.exp: Likewise.
12189 * gdb.base/break.exp: Likewise.
12190 * gdb.base/charset.exp: Likewise.
12191 * gdb.base/chng-syms.exp: Likewise.
12192 * gdb.base/commands.exp: Likewise.
12193 * gdb.base/dbx.exp: Likewise.
12194 * gdb.base/find.exp: Likewise.
12195 * gdb.base/funcargs.exp: Likewise.
12196 * gdb.base/jit-simple.exp: Likewise.
12197 * gdb.base/reread.exp: Likewise.
12198 * gdb.base/sepdebug.exp: Likewise.
12199 * gdb.base/step-bt.exp: Likewise.
12200 * gdb.cp/mb-inline.exp: Likewise.
12201 * gdb.cp/mb-templates.exp: Likewise.
12202 * gdb.objc/basicclass.exp: Likewise.
12203 * gdb.threads/killed.exp: Likewise.
12204
12205 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12206
12207 PR tdep/17379
12208 * gdb.arch/powerpc-stackless.S: New file.
12209 * gdb.arch/powerpc-stackless.exp: New file.
12210
12211 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12212
12213 * gdb.base/attach.c: Include unistd.h.
12214 (main): Call alarm. Add label postloop.
12215 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12216 gdb_breakpoint, gdb_continue_to_breakpoint.
12217 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12218
12219 2014-09-11 Pedro Alves <palves@redhat.com>
12220
12221 PR gdb/17347
12222 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12223 * gdb.base/attach.exp (test_command_line_attach_run): New
12224 procedure.
12225 (top level): Call it.
12226
12227 2014-09-11 Pedro Alves <palves@redhat.com>
12228
12229 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12230 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12231 (do_command_attach_tests): Use spawn_wait_for_attach.
12232 * gdb.base/solib-overlap.exp: Likewise.
12233 * gdb.multi/multi-attach.exp: Likewise.
12234 * gdb.python/py-prompt.exp: Likewise.
12235 * gdb.python/py-sync-interp.exp: Likewise.
12236 * gdb.server/ext-attach.exp: Likewise.
12237
12238 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12239
12240 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12241 command in testcase. Simplify testcase.
12242
12243 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12244
12245 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12246
12247 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12248
12249 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12250
12251 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12252
12253 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12254
12255 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12256
12257 * gdb.dwarf2/dynarr-ptr.c: New file.
12258 * gdb.dwarf2/dynarr-ptr.exp: New file.
12259
12260 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12261
12262 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12263 of 30 rather than hardcoding 120 for a slow test case. Take the
12264 `gdb,timeout' target setting into account for this calculation.
12265 Don't extend the timeout for the test cases that don't need it.
12266
12267 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12268
12269 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12270 a factor of 2 for a slow test case. Take the `gdb,timeout'
12271 target setting into account for this calculation.
12272 * gdb.reverse/until-precsave.exp: Increase the timeout by
12273 a factor of 15 and 3 respectively rather than adding 120
12274 for a pair of slow test cases. Take the `gdb,timeout'
12275 target setting into account for this calculation.
12276
12277 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12278
12279 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12280 timeout, don't pass one down to gdb_expect.
12281 (gdb_expect): Rework timeout selection.
12282
12283 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12284
12285 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12286 exception on timeout.
12287 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12288 (gdbserver_start_extended): Catch any `gdbserver_start' error
12289 exceptions.
12290 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12291 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12292 `gdbserver_gdb_load' error exceptions.
12293
12294 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12295
12296 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12297 120 on waiting for the TCP socket to open.
12298
12299 2014-09-09 Doug Evans <xdje42@gmail.com>
12300
12301 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12302 _caller_matches, _any_caller_is, _any_caller_matches.
12303
12304 2014-09-09 Doug Evans <xdje42@gmail.com>
12305
12306 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12307
12308 2014-09-09 Yao Qi <yao@codesourcery.com>
12309
12310 * gdb.mi/mi-var-display.exp: Set print symbol off.
12311
12312 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12313
12314 PR gdb/17035
12315 * gdb.base/commands.exp: Add tests to verify user-defined
12316 commands with empty bodies.
12317 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12318 python commands in `show user command`.
12319 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12320 scheme commands in `show user command`.
12321
12322 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12323
12324 PR python/17355
12325 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12326 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12327 * gdb.python/py-framefilter-invalidarg.exp: New file.
12328 * gdb.python/py-framefilter-invalidarg.py: New file.
12329
12330 2014-09-06 Doug Evans <xdje42@gmail.com>
12331
12332 PR 15276
12333 * gdb.python/py-caller-is.c: New file.
12334 * gdb.python/py-caller-is.exp: New file.
12335
12336 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12337
12338 PR gdb/17235
12339 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12340 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12341
12342 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12343
12344 PR fortran/17237
12345 * gdb.fortran/print-formatted.exp: New file.
12346 * gdb.fortran/print-formatted.f90: Likewise.
12347
12348 2014-09-03 Sasha Smundak <asmundak@google.com>
12349
12350 * gdb.python/py-frame.exp: Test Frame.read_register.
12351
12352 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12353
12354 PR python/16699
12355 * gdb.python/py-completion.exp: New file.
12356 * gdb.python/py-completion.py: Likewise.
12357
12358 2014-08-28 Doug Evans <dje@google.com>
12359
12360 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12361 eax,etc. are live with values set by gdb and thus the compiler can't
12362 use them.
12363 * gdb.arch/i386-pseudo.c (main): Ditto.
12364
12365 2014-08-27 Doug Evans <dje@google.com>
12366
12367 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12368
12369 2014-08-25 Doug Evans <dje@google.com>
12370
12371 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12372 (main): Ditto.
12373
12374 2014-08-25 Doug Evans <dje@google.com>
12375
12376 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12377
12378 2014-08-24 Yao Qi <yao@codesourcery.com>
12379
12380 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12381 symbol off.
12382 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12383
12384 2014-08-22 Doug Evans <dje@google.com>
12385
12386 PR 17276
12387 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12388 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12389 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12390
12391 2014-08-22 Yao Qi <yao@codesourcery.com>
12392
12393 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12394 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12395 * gdb.python/python.exp: Likewise. Use .py file on the host
12396 instead of the build.
12397
12398 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12399
12400 * gdb.threads/gcore-stale-thread.c: New file.
12401 * gdb.threads/gcore-stale-thread.exp: New file.
12402
12403 2014-08-21 Pedro Alves <palves@redhat.com>
12404
12405 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12406 * gdb.base/gcore-relro-pie.exp: Likewise.
12407 * gdb.base/gcore-relro.exp: Likewise.
12408 * gdb.base/gcore.exp: Likewise.
12409 * gdb.base/print-symbol-loading.exp: Likewise.
12410 * gdb.threads/gcore-thread.exp: Likewise.
12411 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12412
12413 2014-08-20 Pedro Alves <palves@redhat.com>
12414 Jan Kratochvil <jan.kratochvil@redhat.com>
12415
12416 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12417 configure.
12418 (EXPECT): Handle READ1 being set.
12419 (all): Depend on EXTRA_RULES.
12420 (check-read1, expect-read1, read1.so, read1): New rules.
12421 * README (Testsuite Parameters): Document the READ1 make variable.
12422 (Race detection): New section.
12423 * configure: Regenerate.
12424 * configure.ac: If build==host==target, and running under a
12425 GNU/glibc system, add read1 to the extra Makefile rules.
12426 (EXTRA_RULES): AC_SUBST it.
12427 * lib/read1.c: New file.
12428
12429 2014-08-20 Joel Brobecker <brobecker@adacore.com>
12430
12431 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12432 the handling of variables declared as a typedef to an array
12433 which a DW_AT_data_location attribute.
12434
12435 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
12436 Pedro Alves <palves@redhat.com>
12437
12438 PR symtab/14604
12439 PR symtab/14605
12440 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12441 gdb_test.
12442
12443 2014-08-19 Pedro Alves <palves@redhat.com>
12444
12445 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12446
12447 2014-08-19 Yao Qi <yao@codesourcery.com>
12448
12449 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12450 right line.
12451
12452 2014-08-18 David Blaikie <dblaikie@gmail.com>
12453
12454 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12455
12456 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12457
12458 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12459 attribute in array range.
12460
12461 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12462
12463 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12464
12465 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12466
12467 PR c++/17132
12468 * gdb.cp/pr17132.cc: New file.
12469 * gdb.cp/pr17132.exp: New file.
12470
12471 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12472
12473 * gdb.python/py-xmethods.py (A_getarrayind)
12474 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12475 Use 'print' with function call syntax.
12476 (E_method_matcher.match): Fix tab vs space indentation mixup.
12477
12478 2014-08-15 Yao Qi <yao@codesourcery.com>
12479
12480 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12481 false.
12482
12483 2014-08-15 Yao Qi <yao@codesourcery.com>
12484
12485 * gdb.cp/casts.exp: Set print symbol off.
12486 * gdb.cp/class2.exp: Likewise.
12487 * gdb.cp/overload.exp: Likewise.
12488 * gdb.cp/templates.exp: Likewise.
12489
12490 2014-08-11 Doug Evans <dje@google.com>
12491
12492 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12493 (test_load_shlib): Update.
12494
12495 2014-08-09 Yao Qi <yao@codesourcery.com>
12496
12497 * gdb.base/display.exp: Invoke is_address_zero_readable.
12498 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12499 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12500 * gdb.base/hbreak-unmapped.exp: Return if
12501 is_address_zero_readable returns true.
12502 * gdb.base/signest.exp: Likewise.
12503 * gdb.base/signull.exp: Likewise.
12504 * gdb.base/sigbpt.exp: Likewise.
12505 * gdb.guile/scm-disasm.exp: Do the test if
12506 is_address_zero_readable returns false.
12507 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12508 * gdb.python/py-arch.exp: Likewise.
12509 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12510 * lib/gdb.exp (is_address_zero_readable): New proc.
12511
12512 2014-08-09 Yao Qi <yao@codesourcery.com>
12513
12514 PR testsuite/13443
12515 * gdb.mi/mi-var-display.exp: Make test messages unique.
12516
12517 2014-08-04 Tom Tromey <tromey@redhat.com>
12518
12519 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12520 target 0".
12521
12522 2014-08-04 Tom Tromey <tromey@redhat.com>
12523
12524 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12525 "target_resume".
12526
12527 2014-08-01 Joel Brobecker <brobecker@adacore.com>
12528
12529 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12530 inner_vla_struct_object_size.
12531 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12532 as xfail.
12533
12534 2014-07-30 Pedro Alves <palves@redhat.com>
12535
12536 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12537 comment.
12538
12539 2014-07-29 Yao Qi <yao@codesourcery.com>
12540
12541 PR gdb/17206
12542 * gdb.base/until-nodebug.exp: New.
12543
12544 2014-07-28 Doug Evans <xdje42@gmail.com>
12545
12546 PR guile/17203
12547 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12548 previously existing parameter, and previously ambiguously spelled
12549 parameter.
12550
12551 2014-07-28 Will Newton <will.newton@linaro.org>
12552
12553 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12554
12555 2014-07-26 Ludovic Courtès <ludo@gnu.org>
12556 Doug Evans <xdje42@gmail.com>
12557
12558 PR guile/17146
12559 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12560
12561 2014-07-25 Pedro Alves <palves@redhat.com>
12562
12563 * gdb.threads/signal-command-handle-nopass.c: New file.
12564 * gdb.threads/signal-command-handle-nopass.exp: New file.
12565 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12566 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12567 * gdb.threads/signal-delivered-right-thread.c: New file.
12568 * gdb.threads/signal-delivered-right-thread.exp: New file.
12569
12570 2014-07-25 Pedro Alves <palves@redhat.com>
12571
12572 * gdb.base/double-prompt-target-event-error.exp
12573 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12574 match.
12575 (cancel_pagination_in_target_event): Rework double prompt
12576 detection.
12577 * gdb.base/paginate-after-ctrl-c-running.exp
12578 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12579 <return>' match.
12580 * gdb.base/paginate-bg-execution.exp
12581 (test_bg_execution_pagination_return)
12582 (test_bg_execution_pagination_cancel): Remove '-notransfer
12583 <return>' matches.
12584 * gdb.base/paginate-execution-startup.exp
12585 (test_fg_execution_pagination_return)
12586 (test_fg_execution_pagination_cancel): Remove '-notransfer
12587 <return>' matches.
12588 * gdb.base/paginate-inferior-exit.exp
12589 (test_paginate_inferior_exited): Remove '-notransfer <return>'
12590 match.
12591 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12592 * lib/gdb.exp (pagination_prompt): Run text through
12593 string_to_regexp.
12594 (gdb_test_multiple): Match $pagination_prompt instead of
12595 "<return>".
12596 (string_to_regexp): Move to lib/gdb-utils.exp.
12597
12598 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12599
12600 * gdb.arch/amd64-entry-value-paramref.S: New file.
12601 * gdb.arch/amd64-entry-value-paramref.cc: New file.
12602 * gdb.arch/amd64-entry-value-paramref.exp: New file.
12603 * gdb.arch/amd64-optimout-repeat.S: New file.
12604 * gdb.arch/amd64-optimout-repeat.c: New file.
12605 * gdb.arch/amd64-optimout-repeat.exp: New file.
12606
12607 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12608
12609 PR gdb/17170
12610 * gdb.base/statistics.exp: New file.
12611
12612 2014-07-17 Doug Evans <dje@google.com>
12613
12614 PR gdb/17170
12615 * gdb.base/maint.exp: Update testing of per-command stats.
12616
12617 2014-07-16 Pedro Alves <palves@redhat.com>
12618
12619 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12620 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12621 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12622 (tfile_write_buf): New functions.
12623 (add_memory_block): Rewrite using the above.
12624 (adjust_function_address): New function.
12625 (FUNCTION_ADDRESS): New macro.
12626 (write_basic_trace_file): Remove short_x local, and use
12627 tfile_write_16. Change type of func_addr local to unsigned long
12628 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
12629 here. Cast argument of add_memory_block to char pointer.
12630 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
12631 (main): Remove parameters.
12632 * gdb.trace/tfile.exp: Remove nowarnings.
12633
12634 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
12635
12636 * gdb.base/debug-expr.exp: Test string evaluation with
12637 "debug expression" on.
12638
12639 2014-07-15 Pedro Alves <palves@redhat.com>
12640
12641 * gdb.base/reread.exp: Use clean_restart.
12642
12643 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
12644
12645 * gdb.arch/avr-flash-qualifer.c: New.
12646 * gdb.arch/avr-flash-qualifer.exp: New.
12647
12648 2014-07-14 Pedro Alves <palves@redhat.com>
12649
12650 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12651 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12652
12653 2014-07-14 Pedro Alves <palves@redhat.com>
12654
12655 * gdb.base/double-prompt-target-event-error.c: New file.
12656 * gdb.base/double-prompt-target-event-error.exp: New file.
12657
12658 2014-07-14 Pedro Alves <palves@redhat.com>
12659
12660 PR gdb/17072
12661 * gdb.base/paginate-inferior-exit.c: New file.
12662 * gdb.base/paginate-inferior-exit.exp: New file.
12663
12664 2014-07-14 Pedro Alves <palves@redhat.com>
12665
12666 PR gdb/17072
12667 * gdb.base/paginate-bg-execution.c: New file.
12668 * gdb.base/paginate-bg-execution.exp: New file.
12669
12670 2014-07-14 Pedro Alves <palves@redhat.com>
12671
12672 PR gdb/17072
12673 * gdb.base/paginate-execution-startup.c: New file.
12674 * gdb.base/paginate-execution-startup.exp: New file.
12675 * lib/gdb.exp (pagination_prompt): New global.
12676 (default_gdb_spawn): New procedure, factored out from
12677 default_gdb_spawn.
12678 (default_gdb_start): Adjust to call default_gdb_spawn.
12679 (gdb_spawn): New procedure.
12680
12681 2014-07-14 Pedro Alves <palves@redhat.com>
12682
12683 * lib/gdb.exp (gdb_assert): New procedure.
12684 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12685
12686 2014-07-14 Pedro Alves <palves@redhat.com>
12687
12688 * gdb.base/execution-termios.c: New file.
12689 * gdb.base/execution-termios.exp: New file.
12690
12691 2014-07-14 Tom Tromey <tromey@redhat.com>
12692
12693 * gdb.cp/vla-cxx.cc: New file.
12694 * gdb.cp/vla-cxx.exp: New file.
12695
12696 2014-07-14 Tom Tromey <tromey@redhat.com>
12697
12698 * gdb.reverse/rerun-prec.c: New file.
12699 * gdb.reverse/rerun-prec.exp: New file.
12700
12701 2014-07-12 Maciej W. Rozycki <macro@mips.com>
12702 Maciej W. Rozycki <macro@codesourcery.com>
12703
12704 * lib/gdb-utils.exp: New file.
12705 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12706 inline `gdb_init_command' processing.
12707 (gdb_start_cmd): Likewise.
12708 * lib/mi-support.exp (mi_run_cmd): Likewise.
12709 * README: Document `gdb_init_command' and `gdb_init_commands'.
12710
12711 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12712
12713 Fix false FAIL running under a very long directory name.
12714 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12715 and "set print elements 10000". Twice.
12716
12717 2014-07-11 Yao Qi <yao@codesourcery.com>
12718
12719 * gdb.base/exprs.exp: "set print symbol off".
12720
12721 2014-07-11 Pedro Alves <palves@redhat.com>
12722
12723 * gdb.threads/kill.c: New file.
12724 * gdb.threads/kill.exp: New file.
12725
12726 2014-07-10 Yao Qi <yao@codesourcery.com>
12727
12728 * gdb.trace/tfile.c (write_basic_trace_file)
12729 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12730 address written to trace file.
12731
12732 2014-07-09 Pedro Alves <palves@redhat.com>
12733
12734 * gdb.base/attach-wait-input.exp: New file.
12735 * gdb.base/attach-wait-input.c: New file.
12736
12737 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12738
12739 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12740 setting up test structures.
12741 (main): Call new test function.
12742 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12743 test function, continue into test function and walk test
12744 structures.
12745
12746 2014-07-02 Yao Qi <yao@codesourcery.com>
12747
12748 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12749 'bar_start' at the beginning of functions 'foo' and 'bar'
12750 respectively.
12751 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12752 instead of 'foo' and 'bar'.
12753
12754 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12755
12756 * gdb.btrace/segv.exp: New.
12757 * gdb.btrace/segv.c: New.
12758
12759 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
12760
12761 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12762 instruction.
12763
12764 2014-06-30 Mark Wielaard <mjw@redhat.com>
12765
12766 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12767 vulture, vilify, villar): New volatile array constants.
12768 (vindictive, vegetation): New const volatile array constants.
12769 * gdb.base/volatile.exp: Test volatile and const volatile array
12770 types.
12771
12772 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12773
12774 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12775 target lacks support for awatch, rwatch, or hbreak.
12776
12777 2014-06-27 Yao Qi <yao@codesourcery.com>
12778
12779 * gdb.multi/dummy-frame-restore.exp: New.
12780 * gdb.multi/dummy-frame-restore.c: New.
12781
12782 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12783
12784 * gdb.btrace/gcore.exp: New.
12785
12786 2014-06-23 Pedro Alves <palves@redhat.com>
12787
12788 * gdb.base/watchpoint-reuse-slot.c: New file.
12789 * gdb.base/watchpoint-reuse-slot.exp: New file.
12790
12791 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12792
12793 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12794 progspace's filename in 'info', 'enable' and 'disable' command
12795 tests.
12796
12797 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12798
12799 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12800 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12801 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12802
12803 2014-06-20 Gary Benson <gbenson@redhat.com>
12804
12805 * gdb.arch/i386-avx.exp: Fix include file location.
12806 * gdb.arch/i386-sse.exp: Likewise.
12807
12808 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12809
12810 * gdb.dlang/expression.exp: New file.
12811
12812 2014-06-19 Pedro Alves <palves@redhat.com>
12813
12814 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12815 out from ...
12816 (top level): ... here. Iterate running tests under different
12817 scheduler-locking settings.
12818
12819 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
12820
12821 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12822 to DW_FORM_addr and use non-zero addresses.
12823
12824 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12825
12826 PR gdb/17017
12827 * gdb.python/py-xmethods.cc: Add global function call counters and
12828 increment them in their respective functions. Remove "cout"
12829 statements.
12830 * gdb.python/py-xmethods.exp: Make tests check the global function
12831 call counters instead of depending on inferior IO.
12832
12833 2014-06-18 Don Breazeal <donb@codesourcery.com>
12834
12835 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12836 Deleted procedure.
12837 (explicit_fork_parent_follow): Deleted procedure.
12838 (explicit_fork_child_follow): Deleted procedure.
12839 (test_follow_fork): New procedure.
12840 (do_fork_tests): Replace calls to deleted procedures with
12841 calls to test_follow_fork and reset GDB for subsequent
12842 procedure calls.
12843
12844 2014-06-17 Yao Qi <yao@codesourcery.com>
12845
12846 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12847 CP1252.
12848
12849 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
12850
12851 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12852 Initialize ptr and S explicitly.
12853 (skip_type_update_when_not_use_rtti_test): Likewise.
12854
12855 2014-06-16 Keith Seitz <keiths@redhat.com>
12856
12857 PR mi/15863
12858 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12859 the inferior is started.
12860
12861 2014-06-16 Pedro Alves <palves@redhat.com>
12862
12863 * gdb.base/break-main-file-remove-fail.c: New file.
12864 * gdb.base/break-main-file-remove-fail.exp: New file.
12865 * gdb.base/break-unload-file.exp: Use build_executable instead of
12866 prepare_for_testing.
12867 (test_break): New parameter "initial_load". Handle it.
12868 (top level): Add initial_load cmdline/file axis.
12869
12870 2014-06-12 Tom Tromey <tromey@redhat.com>
12871
12872 * gdb.base/completion.exp: Don't use directory name in test.
12873
12874 2014-06-09 Gary Benson <gbenson@redhat.com>
12875
12876 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12877 separate the always-available ANSI-standard signals from the
12878 signals that require checking.
12879 (main): Likewise.
12880 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12881 Likewise.
12882 (main): Likewise.
12883
12884 2014-06-07 Keith Seitz <keiths@redhat.com>
12885
12886 Revert:
12887 PR c++/16253
12888 * gdb.cp/var-tag.cc: New file.
12889 * gdb.cp/var-tag.exp: New file.
12890 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12891 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12892 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12893 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12894
12895 2014-06-06 Doug Evans <xdje42@gmail.com>
12896
12897 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12898
12899 2014-06-06 Pedro Alves <palves@redhat.com>
12900
12901 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12902 in target debug output instead of looking at RSP packets,
12903 disabling the test on any target that uses hardware stepping.
12904 Update comments.
12905
12906 2014-06-06 Pedro Alves <palves@redhat.com>
12907
12908 * gdb.base/break-unload-file.exp: Fix typo.
12909
12910 2014-06-06 Yao Qi <yao@codesourcery.com>
12911
12912 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12913 from "jit_function" to "^jit_function".
12914
12915 2014-06-06 Yao Qi <yao@codesourcery.com>
12916
12917 * gdb.base/async.c (foo): Add one statement.
12918 * gdb.base/async.exp: Get the next instruction address and
12919 match the output of "nexti" by instruction address. Match
12920 the hex address in the output of "finish".
12921
12922 2014-06-06 Gary Benson <gbenson@redhat.com>
12923
12924 * gdb.base/call-signals.c: Remove preprocessor conditionals
12925 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
12926 SIGSEGV and SIGTERM.
12927 * gdb.base/sigall.c: Likewise.
12928 * gdb.base/unwindonsignal.c: Likewise.
12929 * gdb.reverse/sigall-reverse.c: Likewise.
12930
12931 2014-06-06 Yao Qi <yao@codesourcery.com>
12932
12933 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
12934 readable, skip the test.
12935
12936 2014-06-06 Yao Qi <yao@codesourcery.com>
12937
12938 * gdb.threads/staticthreads.c (thread_function): Move the line
12939 setting breakpoint on forward.
12940 * gdb.threads/staticthreads.exp: Update comments.
12941
12942 2014-06-05 Ludovic Courtès <ludo@gnu.org>
12943
12944 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
12945 "history-append! type error".
12946
12947 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
12948
12949 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
12950 erroneous dprintf expected input.
12951
12952 2014-06-04 Doug Evans <xdje42@gmail.com>
12953
12954 * gdb.guile/scm-generics.exp: Delete.
12955
12956 2014-06-04 Doug Evans <xdje42@gmail.com>
12957
12958 * gdb.guile/scm-breakpoint.exp: Update.
12959 Add tests for breakpoint registration.
12960
12961 2014-06-04 Tom Tromey <tromey@redhat.com>
12962
12963 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
12964 VLA-in-union.
12965 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
12966 inner_vla_struct, vla_union types. Initialize objects of those
12967 types and compute their sizes.
12968
12969 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
12970 Hui Zhu <hui@codesourcery.com>
12971
12972 * gdb.base/fileio.exp: Add test for shell not available as well as
12973 available.
12974 * gdb.base/fileio.c (test_system): Check for shell twice.
12975
12976 2014-06-04 Yao Qi <yao@codesourcery.com>
12977
12978 * gdb.base/auto-connect-native-target.exp: Remove redundant
12979 space from the regexp pattern.
12980
12981 2014-06-04 Yao Qi <yao@codesourcery.com>
12982
12983 * gdb.base/default.exp: Replace "child" with "native" in
12984 regexp pattern.
12985
12986 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
12987
12988 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
12989 * gdb.python/py-xmethods.exp: New tests to test xmethods.
12990 * gdb.python/py-xmethods.py: Python script supporting the
12991 new testcase and tests.
12992
12993 2014-06-03 Joel Brobecker <brobecker@adacore.com>
12994 Pedro Alves <palves@redhat.com>
12995
12996 PR breakpoints/17000
12997 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
12998 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
12999
13000 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
13001
13002 * gdb.base/subst.exp: Add tests to verify partial path matching
13003 output.
13004
13005 2014-06-03 Pedro Alves <palves@redhat.com>
13006
13007 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13008 target that doesn't use software single-stepping.
13009
13010 2014-06-03 Pedro Alves <palves@redhat.com>
13011
13012 PR breakpoints/17000
13013 * gdb.base/sss-bp-on-user-bp-2.c: New file.
13014 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13015
13016 2014-06-02 Doug Evans <xdje42@gmail.com>
13017
13018 * gdb.guile/scm-parameter.exp: New file.
13019
13020 2014-06-02 Doug Evans <xdje42@gmail.com>
13021
13022 * gdb.guile/scm-cmd.c: New file.
13023 * gdb.guile/scm-cmd.exp: New file.
13024
13025 2014-06-02 Doug Evans <xdje42@gmail.com>
13026
13027 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13028 pretty-printer lookup.
13029 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13030 (make-pp_s-printer): Call it.
13031 (make-pretty-printer-from-dict): New function.
13032 (lookup-pretty-printer-maker-from-dict): New function.
13033 (*pretty-printer*): Simplify.
13034 (make-objfile-pp_s-printer): New function.
13035 (install-objfile-pretty-printers!): New function.
13036 (make-progspace-pp_s-printer): New function.
13037 (install-progspace-pretty-printers!): New function.
13038 * gdb.guile/scm-progspace.c: New file.
13039 * gdb.guile/scm-progspace.exp: New file.
13040
13041 2014-06-02 Pedro Alves <palves@redhat.com>
13042
13043 * gdb.base/dprintf-bp-same-addr.c: New file.
13044 * gdb.base/dprintf-bp-same-addr.exp: New file.
13045
13046 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13047
13048 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13049 * gdb.arch/powerpc-power.s: Likewise.
13050
13051 2014-06-02 Joel Brobecker <brobecker@adacore.com>
13052
13053 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13054
13055 2014-06-01 Yao Qi <yao@codesourcery.com>
13056
13057 * gdb.base/watchpoint.exp (test_watch_location): Check null
13058 pointer can be dereferenced. If not, do the test, otherwise
13059 skip it.
13060
13061 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13062
13063 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13064 results.
13065 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13066
13067 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13068
13069 * gdb.arch/amd64-invalid-stack-middle.S: New file.
13070 * gdb.arch/amd64-invalid-stack-middle.c: New file.
13071 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13072 * gdb.arch/amd64-invalid-stack-top.c: New file.
13073 * gdb.arch/amd64-invalid-stack-top.exp: New file.
13074
13075 2014-05-30 Pedro Alves <palves@redhat.com>
13076
13077 PR breakpoints/17000
13078 * gdb.base/sss-bp-on-user-bp.c: New file.
13079 * gdb.base/sss-bp-on-user-bp.exp: New file.
13080
13081 2014-05-30 David Blaikie <dblaikie@gmail.com>
13082
13083 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13084 gnu_inline semantics via attribute.
13085 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13086 source explicitly specifies the required semantics.
13087
13088 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13089
13090 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13091
13092 2014-05-29 Pedro Alves <palves@redhat.com>
13093 Tom Tromey <tromey@redhat.com>
13094
13095 * gdb.base/async-shell.exp: Don't enable target-async.
13096 * gdb.base/async.exp
13097 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13098 parameter. Adjust.
13099 (top level): Don't test with "target-async".
13100 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13101 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13102 * gdb.base/inferior-died.exp: Don't enable target-async.
13103 * gdb.base/interrupt-noterm.exp: Likewise.
13104 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13105 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13106 * gdb.mi/mi-nonstop.exp: Likewise.
13107 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13108 * gdb.mi/mi-nsintrall.exp: Likewise.
13109 * gdb.mi/mi-nsmoribund.exp: Likewise.
13110 * gdb.mi/mi-nsthrexec.exp: Likewise.
13111 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13112 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13113 * gdb.python/py-evsignal.exp: Don't enable target-async.
13114 * gdb.python/py-evthreads.exp: Likewise.
13115 * gdb.python/py-prompt.exp: Likewise.
13116 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13117 * gdb.server/solib-list.exp: Don't enable target-async.
13118 * gdb.threads/thread-specific-bp.exp: Likewise.
13119 * lib/mi-support.exp: Adjust to use mi-async.
13120
13121 2014-05-29 Pedro Alves <palves@redhat.com>
13122
13123 PR gdb/13860
13124 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13125 reason, even in sync mode.
13126
13127 2014-05-29 Pedro Alves <palves@redhat.com>
13128 Hui Zhu <hui@codesourcery.com>
13129
13130 PR PR15693
13131 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13132 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13133 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13134 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13135
13136 2014-05-28 Joel Brobecker <brobecker@adacore.com>
13137
13138 * config/monitor.exp (gdb_target_monitor): Replace use of
13139 "set remotebaud" by "set serial baud".
13140
13141 2014-05-26 Andy Wingo <wingo@igalia.com>
13142
13143 * gdb.guile/scm-breakpoint.exp:
13144 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13145 properties instead of gdb-object-properties.
13146
13147 2014-05-26 Yao Qi <yao@codesourcery.com>
13148
13149 * gdb.server/no-thread-db.exp: Specify source file name
13150 explicitly when setting a breakpoint.
13151
13152 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13153
13154 * gdb.btrace/vdso.c: New.
13155 * gdb.btrace/vdso.exp: New.
13156
13157 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13158
13159 * gdb.base/gcore.exp (capture_command_output): Move ...
13160 * lib/gdb.exp (capture_command_output): ... here.
13161
13162 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13163
13164 * gdb.btrace/data.exp: Test memory access during btrace replay.
13165
13166 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13167
13168 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13169
13170 2014-05-21 Pedro Alves <palves@redhat.com>
13171
13172 PR gdb/13860
13173 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13174 (top level): Test that output related to execution commands is
13175 sent to the console with CLI commands, but not with MI commands.
13176 Test that breakpoint events are always mirrored to the console.
13177 Also expect the new source line to be output after a "next" in
13178 async mode too. Make it a pass/fail test.
13179 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13180 output.
13181 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13182
13183 2014-05-21 Pedro Alves <palves@redhat.com>
13184
13185 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13186 Use them to test variations of "list" after reaching a breakpoint.
13187 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13188 Test "list" with listsize 10 after reaching a breakpoint.
13189 * gdb.python/python.exp (decode_line current location line
13190 number): Adjust expected line number.
13191
13192 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13193
13194 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13195 behavior for $args, pass it directly to "run".
13196
13197 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13198
13199 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13200 30000 to 65536.
13201
13202 2014-05-21 Pedro Alves <palves@redhat.com>
13203
13204 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13205 auto-connect-native-target off".
13206 * gdb.base/auto-connect-native-target.c: New file.
13207 * gdb.base/auto-connect-native-target.exp: New file.
13208
13209 2014-05-21 Pedro Alves <palves@redhat.com>
13210
13211 * gdb.base/default.exp: Test "target native" instead of "target
13212 child".
13213
13214 2014-05-21 Mark Wielaard <mjw@redhat.com>
13215
13216 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13217
13218 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13219
13220 Fix TLS access for -static -pthread.
13221 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13222 <HAVE_TLS> (thread_function, main): Initialize it.
13223 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13224 Add clean_restart.
13225 <$have_tls != "">: Check TLSVAR.
13226
13227 2014-05-21 Pedro Alves <palves@redhat.com>
13228
13229 * gdb.base/dcache-line-read-error.c: New.
13230 * gdb.base/dcache-line-read-error.exp: New.
13231
13232 2014-05-20 Pedro Alves <palves@redhat.com>
13233
13234 * gdb.base/compare-sections.c: New file.
13235 * gdb.base/compare-sections.exp: New file.
13236
13237 2014-05-20 Pedro Alves <palves@redhat.com>
13238
13239 * gdb.base/break-idempotent.c: New file.
13240 * gdb.base/break-idempotent.exp: New file.
13241
13242 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13243
13244 * gdb.btrace/nohist.exp: New.
13245
13246 2014-05-20 Yao Qi <yao@codesourcery.com>
13247
13248 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13249 gdb.reverse directory and gdb_reverse_timeout exists in board
13250 setting.
13251 * README: Document gdb_reverse_timeout.
13252
13253 2014-05-20 Yao Qi <yao@codesourcery.com>
13254
13255 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13256 'test_file_name'. Treat args as a string instead of a list.
13257 (gdb_init): Rename argument 'args' by 'test_file_name'.
13258
13259 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13260
13261 * gdb.arch/powerpc-power.exp: New file.
13262 * gdb.arch/powerpc-power.s: New file.
13263
13264 2014-05-16 Doug Evans <dje@google.com>
13265
13266 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13267 * gdb.base/completion.exp: Check that all expected files exist
13268 before doing file completion.
13269
13270 2014-05-16 Doug Evans <dje@google.com>
13271
13272 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13273 Update.
13274 (do_syscall_tests_without_xml): Update.
13275
13276 2014-05-16 Pedro Alves <palves@redhat.com>
13277
13278 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13279 instead of "unknown output after running".
13280
13281 2014-05-16 Yao Qi <yao@codesourcery.com>
13282
13283 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13284 file1.txt from host at the end.
13285 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13286
13287 2014-05-15 Doug Evans <dje@google.com>
13288
13289 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13290 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13291 loading file. Add test for TU lookup.
13292
13293 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13294
13295 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13296 calling "-exec-arguments" or "set args" before running the
13297 inferior.
13298
13299 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13300
13301 * lib/mi-support.exp (mi_expect_stop): Expect message for
13302 inferiors that exit with non-zero exit code.
13303
13304 2014-05-14 Yao Qi <yao@codesourcery.com>
13305
13306 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13307 match absolute path on remote host.
13308 (test_file_list_exec_source_files): Remove "/" from the
13309 pattern.
13310
13311 2014-05-14 Yao Qi <yao@codesourcery.com>
13312
13313 * boards/local-remote-host-notty.exp (${board}_file): New
13314 proc.
13315
13316 2014-05-07 Kyle McMartin <kyle@redhat.com>
13317
13318 Pushed by Joel Brobecker <brobecker@adacore.com>.
13319 * gdb.arch/aarch64-atomic-inst.c: New file.
13320 * gdb.arch/aarch64-atomic-inst.exp: New file.
13321
13322 2014-05-07 Yao Qi <yao@codesourcery.com>
13323
13324 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13325 in current context" too.
13326
13327 2014-05-05 Keith Seitz <keiths@redhat.com>
13328
13329 * gdb.linespec/ls-dollar.exp: Add test for linespec
13330 file:convenience_variable.
13331
13332 2014-05-05 Yao Qi <yao@codesourcery.com>
13333
13334 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13335 traceframes into tfile and ctf trace files. Read data from
13336 trace file and test collected data.
13337 (gdb_collect_locals_test): Likewise.
13338 (gdb_unavailable_registers_test): Likewise.
13339 (gdb_unavailable_floats): Likewise.
13340 (gdb_collect_globals_test): Likewise.
13341 (top-level): Append "ctf" to trace_file_targets if GDB
13342 supports.
13343
13344 2014-05-05 Yao Qi <yao@codesourcery.com>
13345
13346 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13347 code to ...
13348 (gdb_collect_args_test_1): ... it. New proc.
13349 (gdb_collect_locals_test): Move some code to ...
13350 (gdb_collect_locals_test_1): ... it. New proc.
13351 (gdb_unavailable_registers_test): Move some code to ...
13352 (gdb_unavailable_registers_test_1): ... it. New proc.
13353 (gdb_unavailable_floats): Move some code to ...
13354 (gdb_unavailable_floats_1): ... it. New proc.
13355
13356 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13357
13358 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13359 probes to test for bitness recognition.
13360 * gdb.arch/amd64-stap-optional-prefix.exp
13361 (test_probe_value_without_reg): New procedure.
13362 Add code to test for different kinds of bitness.
13363
13364 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13365
13366 PR breakpoints/16889
13367 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13368 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13369
13370 2014-05-01 Pedro Alves <palves@redhat.com>
13371
13372 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13373 gdb_file_cmd if no file is specified.
13374 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13375 last_loaded_file to set the remote exec-file.
13376
13377 2014-05-01 Pedro Alves <palves@redhat.com>
13378
13379 * boards/local-remote-host.exp: New file.
13380
13381 2014-05-01 Pedro Alves <palves@redhat.com>
13382
13383 * boards/local-remote-host.exp: Rename to ...
13384 * boards/local-remote-host-notty.exp: ... this.
13385
13386 2014-04-28 Joel Brobecker <brobecker@adacore.com>
13387
13388 * gdb.ada/dyn_arrayidx: New testcase.
13389
13390 2014-04-26 Yao Qi <yao@codesourcery.com>
13391
13392 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13393 and compute the length of function main. Save it in
13394 $main_length.
13395 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13396 (top-level): Use gdb_compile to compile objects into
13397 executable and restart GDB. Remove invocation to
13398 prepare_for_testing.
13399
13400 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13401 Pedro Alves <palves@redhat.com>
13402
13403 PR server/16255
13404 * gdb.multi/multi-attach.c: New file.
13405 * gdb.multi/multi-attach.exp: New file.
13406
13407 2014-04-25 Pedro Alves <palves@redhat.com>
13408
13409 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13410 user.
13411 (top level): Test that "set remote conditional-breakpoints-packet
13412 off" works as intended.
13413 * gdb.base/dprintf.exp: Test that "set remote
13414 breakpoint-commands-packet off" works as intended.
13415 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13416 New function.
13417 (top level): Call it.
13418 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13419 remote fast-tracepoints-packet off" works as intended.
13420 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13421 * lib/gdb.exp (gdb_is_target_remote): ... here.
13422
13423 2014-04-24 David Blaikie <dblaikie@gmail.com>
13424
13425 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13426 ensure clang would not discard them.
13427 * gdb.base/gdbvars.c: Ditto.
13428 * gdb.base/memattr.c: Ditto.
13429 * gdb.base/whatis.c: Ditto.
13430 * gdb.python/py-prettyprint.c: Ditto.
13431 * gdb.trace/actions.c: Ditto.
13432 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13433 ensure clang would not discard it.
13434
13435 2014-04-24 David Blaikie <dblaikie@gmail.com>
13436
13437 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13438 clang to emit the full definition of type required by the test
13439 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13440
13441 2014-04-24 David Blaikie <dblaikie@gmail.com>
13442
13443 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13444 coax Clang into emitting the definition of the type.
13445 * gdb.cp/pr10728-x.h (y): Ditto.
13446 * gdb.cp/pr10728-y.cc (y): Ditto.
13447
13448 2014-04-24 David Blaikie <dblaikie@gmail.com>
13449
13450 * gdb.base/label.exp: XFAIL label related tests under Clang.
13451 * gdb.cp/cplabel.exp: Ditto.
13452 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13453 under Clang those using labels.
13454
13455 2014-04-25 Yao Qi <yao@codesourcery.com>
13456
13457 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13458 double_label.
13459 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13460 partial_label and double_label.
13461
13462 2014-04-24 David Blaikie <dblaikie@gmail.com>
13463
13464 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13465
13466 2014-04-24 David Blaikie <dblaikie@gmail.com>
13467
13468 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13469 of the function to work across GCC and Clang.
13470 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13471 pointer types (const void ** const V void **).
13472
13473 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
13474 Walfred Tedeschi <walfred.tedeschi@intel.com>
13475
13476 * Makefile.in (EXECUTABLES): Added i386-avx512.
13477 * gdb.arch/i386-avx512.c: New file.
13478 * gdb.arch/i386-avx512.exp: Likewise.
13479
13480 2014-04-23 Keith Seitz <keiths@redhat.com>
13481
13482 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13483 (mi_make_breakpoint_table): New procedure.
13484 (mi_create_breakpoint): Use mi_make_breakpoint
13485 and return the result.
13486 (mi_make_breakpoint): New procedure.
13487 (mi_build_kv_pairs): New procedure.
13488
13489 * gdb.mi/mi-break.exp: Remove unused globals,
13490 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13491 All callers updated.
13492 * gdb.mi/mi-dprintf.exp: Use variable to track command
13493 number.
13494 Update all callers of mi_create_breakpoint and use
13495 mi_make_breakpoint_table.
13496 Remove any unused global variables.
13497 * gdb.mi/mi-nonstop.exp: Likewise.
13498 * gdb.mi/mi-nsintrall.exp: Likewise.
13499 * gdb.mi/mi-nsmoribund.exp: Likewise.
13500 * gdb.mi/mi-nsthrexec.exp: Likewise.
13501 * gdb.mi/mi-reverse.exp: Likewise.
13502 * gdb.mi/mi-simplerun.exp: Likewise.
13503 * gdb.mi/mi-stepn.exp: Likewise.
13504 * gdb.mi/mi-syn-frame.exp: Likewise.
13505 * gdb.mi/mi-until.exp: Likewise.
13506 * gdb.mi/mi-var-cp.exp: Likewise.
13507 * gdb.mi/mi-var-display.exp: Likewise.
13508 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13509 * gdb.mi/mi2-var-child.exp: Likewise.
13510 * gdb.mi/mi-vla-c99.exp: Likewise.
13511 * lib/mi-support.exp: Likewise.
13512
13513 From Ian Lance Taylor <iant@cygnus.com>:
13514 * lib/gdb.exp (parse_args): New procedure.
13515
13516 2014-04-23 Pedro Alves <palves@redhat.com>
13517
13518 * gdb.base/break-unload-file.c: New file.
13519 * gdb.base/break-unload-file.exp: New file.
13520 * gdb.base/sym-file-lib.c (baz): New function.
13521 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13522 field.
13523 (load): Store the segment's mapped size.
13524 (unload): New function.
13525 (unload_shlib): New function.
13526 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13527 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13528 set a breakpoint at baz, and call it.
13529 * gdb.base/sym-file.exp: New tests for stale breakpoint
13530 instructions.
13531
13532 2014-04-23 Pedro Alves <palves@redhat.com>
13533
13534 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13535 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13536 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13537 * gdb.base/hbreak-unmapped.c: New file.
13538 * gdb.base/hbreak-unmapped.exp: New file.
13539 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13540 * lib/gdb.exp (gdb_is_target_remote): ... here.
13541
13542 2014-04-22 Pedro Alves <palves@redhat.com>
13543
13544 * gdb.base/consecutive-step-over.c: New file.
13545 * gdb.base/consecutive-step-over.exp: New file.
13546
13547 2014-04-22 Pedro Alves <palves@redhat.com>
13548
13549 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13550 instead of send_gdb/gdb_expect.
13551
13552 2014-04-22 Yao Qi <yao@codesourcery.com>
13553
13554 * lib/trace-support.exp (generate_tracefile): New procedure.
13555 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13556 return 0.
13557 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13558 if generate_tracefile returns 1.
13559
13560 2014-04-18 Tom Tromey <palves@redhat.com>
13561 Pedro alves <tromey@redhat.com>
13562
13563 PR backtrace/15558
13564 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13565 with a backtrace limit.
13566 * gdb.python/py-frame-inline.exp: Test running to an inline
13567 function with a backtrace limit, and printing the newest frame.
13568 * gdb.python/py-frame-inline.c (main): Call f.
13569
13570 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13571
13572 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13573
13574 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13575
13576 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13577 Drop prefix from unsupported source file path.
13578
13579 2014-04-17 Yao Qi <yao@codesourcery.com>
13580
13581 * lib/gdb.exp (with_target_charset): New proc.
13582 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13583 with_target_charset.
13584 (test_print_strings): Likewise.
13585 (test_repeat_bytes): Likewise.
13586 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13587 for some tests.
13588
13589 2014-04-16 Keith Seitz <keiths@redhat.com>
13590
13591 PR gdb/15827
13592 * gdb.dwarf2/corrupt.c: New file.
13593 * gdb.dwarf2/corrupt.exp: New file.
13594
13595 2014-04-16 Keith Seitz <keiths@redhat.com>
13596
13597 PR c++/16597
13598 * gdb.cp/namelessclass.cc: New file.
13599 * gdb.cp/namelessclass.exp: New file.
13600 * gdb.cp/namelessclass.S: New file.
13601
13602 2014-04-16 Doug Evans <dje@google.com>
13603
13604 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13605 Add comment.
13606 (gdbserver_default_get_comm_port): New function.
13607 (gdbserver_start): Check if board file provided
13608 "gdbserver,get_comm_port" and use it if so.
13609 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13610 (gdb,socketport): Set to "stdio".
13611 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13612 (stdio_gdbserver_template): Delete.
13613 (${board}_get_remote_address): Update.
13614 (${board}_build_remote_cmd): Delete.
13615 (${board}_get_comm_port): New function.
13616 (${board}_spawn): Update.
13617 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13618 Delete.
13619 (${board}_get_remote_address): Update.
13620 (${board}_get_comm_port): New function.
13621
13622 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
13623
13624 * gdb.base/memattr.exp: Improve regexps to handle memory regions
13625 appearing in any order.
13626
13627 2014-04-15 Doug Evans <dje@google.com>
13628
13629 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13630 uninitialized value of "description".
13631
13632 2014-04-15 Keith Seitz <keiths@redhat.com>
13633
13634 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13635 Remove unused globals.
13636 (test_running_the_program): Likewise.
13637 (test_controlled_execution): Likewise.
13638 (test_controlling_breakpoints): Likewise.
13639 (test_program_termination): Likewise.
13640
13641 2014-04-15 Keith Seitz <keiths@redhat.com>
13642
13643 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13644 unused globals.
13645 (test_rbreak_creation_and_listing): Likewise.
13646 (test_ignore_count): Likewise.
13647 (test_error): Likewise.
13648
13649 2014-04-15 Pedro Alves <palves@redhat.com>
13650
13651 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13652 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13653 sym-file-loader.c.
13654 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13655 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13656 to sym-file-loader.c.
13657 (struct library): Forward declare.
13658 (load_shlib, lookup_function): Change prototypes.
13659 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13660 (translate_offset): Remove declarations.
13661 (get_text_addr): New declaration.
13662 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13663 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13664 sym-file-loader.h.
13665 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13666 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13667 here from sym-file-loader.h.
13668 (struct library): New structure.
13669 (load_shlib, lookup_function): Change prototypes and adjust to
13670 work with a struct library.
13671 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13672 (translate_offset): Make static.
13673 (get_text_addr): New function.
13674 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13675
13676 2014-04-15 Pedro Alves <palves@redhat.com>
13677
13678 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13679
13680 2014-04-15 Pedro Alves <palves@redhat.com>
13681
13682 * gdb.base/sym-file-loader.c: Include <limits.h>.
13683 (SELF_LINK): New define.
13684 (get_origin): New function.
13685 (load_shlib): Use it.
13686 * gdb.base/sym-file.exp: Don't early return if the target is
13687 remote. Use runto_main, and issue fail is that fails. Use
13688 gdb_load_shlibs.
13689 (shlib_name): Delete.
13690 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13691
13692 2014-04-15 Pedro Alves <palves@redhat.com>
13693
13694 * gdb.base/sym-file.exp: Remove regex characters from test
13695 message. Don't refer to breakpoint numbers in test messages.
13696
13697 2014-04-14 Keith Seitz <keiths@redhat.com>
13698
13699 PR c++/16253
13700 * gdb.cp/var-tag.cc: New file.
13701 * gdb.cp/var-tag.exp: New file.
13702 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13703 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13704 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13705 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13706
13707 2014-04-14 Tom Tromey <tromey@redhat.com>
13708
13709 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13710 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13711 type.
13712 * gdb.cp/enum-class.exp: New file.
13713 * gdb.cp/enum-class.cc: New file.
13714
13715 2014-04-14 Tom Tromey <tromey@redhat.com>
13716
13717 * gdb.dwarf2/enum-type.exp: New file.
13718
13719 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13720
13721 * gdb.mi/mi-vla-c99.exp: New file.
13722 * gdb.mi/vla.c: New file.
13723
13724 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13725
13726 * gdb.base/vla-datatypes.c: New file.
13727 * gdb.base/vla-datatypes.exp: New file.
13728
13729 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13730
13731 * gdb.base/vla-ptr.c: New file.
13732 * gdb.base/vla-ptr.exp: New file.
13733
13734 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13735
13736 * gdb.dwarf2/count.exp: New file.
13737
13738 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13739
13740 * gdb.base/vla-sideeffect.c: New file.
13741 * gdb.base/vla-sideeffect.exp: New file.
13742
13743 2014-04-14 David Blaikie <dblaikie@gmail.com>
13744
13745 * gdb.mi/non-stop.c: Add return value for non-void function return
13746 statement.
13747 * gdb.threads/staticthreads.c: Ditto.
13748
13749 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13750 Doug Evans <xdje42@gmail.com>
13751
13752 * gdb.guile/scm-value.c: Improve test case.
13753 * gdb.guile/scm-value.exp: Add new test.
13754
13755 2014-04-11 David Blaikie <dblaikie@gmail.com>
13756
13757 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13758 override Clang's default.
13759
13760 2014-04-11 Joel Brobecker <brobecker@adacore.com>
13761
13762 Revert the following changes (regressions):
13763
13764 * gdb.base/vla-sideeffect.c: New file.
13765 * gdb.base/vla-sideeffect.exp: New file.
13766
13767 * gdb.dwarf2/count.exp: New file.
13768
13769 * gdb.base/vla-multi.c: New file.
13770 * gdb.base/vla-multi.exp: New file.
13771
13772 * gdb.base/vla-ptr.c: New file.
13773 * gdb.base/vla-ptr.exp: New file.
13774
13775 * gdb.base/vla-datatypes.c: New file.
13776 * gdb.base/vla-datatypes.exp: New file.
13777
13778 * gdb.mi/mi-vla-c99.exp: New file.
13779 * gdb.mi/vla.c: New file.
13780
13781 2014-04-11 Keith Seitz <keiths@redhat.com>
13782
13783 PR c++/16675
13784 * gdb.cp/cpsizeof.exp: New file.
13785 * gdb.cp/cpsizeof.cc: New file.
13786
13787 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13788
13789 * gdb.mi/mi-vla-c99.exp: New file.
13790 * gdb.mi/vla.c: New file.
13791
13792 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13793
13794 * gdb.base/vla-datatypes.c: New file.
13795 * gdb.base/vla-datatypes.exp: New file.
13796
13797 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13798
13799 * gdb.base/vla-ptr.c: New file.
13800 * gdb.base/vla-ptr.exp: New file.
13801
13802 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13803
13804 * gdb.base/vla-multi.c: New file.
13805 * gdb.base/vla-multi.exp: New file.
13806
13807 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13808
13809 * gdb.dwarf2/count.exp: New file.
13810
13811 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13812
13813 * gdb.base/vla-sideeffect.c: New file.
13814 * gdb.base/vla-sideeffect.exp: New file.
13815
13816 2014-04-11 Yao Qi <yao@codesourcery.com>
13817
13818 * gdb.base/completion.exp: Check file exists before running tests
13819 on file completion.
13820
13821 2014-04-10 Pedro Alves <palves@redhat.com>
13822
13823 * gdb.base/cond-eval-mode.c: New file.
13824 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13825 prepare_for_testing to build the new file. Check result of
13826 runto_main.
13827 (test_break, test_watch): New procedures.
13828 (top level): Use them.
13829
13830 2014-04-08 Pierre Muller <muller@sourceware.org>
13831
13832 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13833 Ctrl-V use for mingw hosts.
13834
13835 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13836
13837 * gdb.python/py-value.c: Improve test case.
13838 * gdb.python/py-value.exp: Add new test.
13839
13840 2014-04-07 David Blaikie <dblaikie@gmail.com>
13841
13842 * lib/compiler.c: Identify the clang compiler.
13843 * lib/compiler.cc: Ditto.
13844
13845 2014-04-03 Yao Qi <yao@codesourcery.com>
13846
13847 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13848
13849 2014-04-01 Anton Blanchard <anton@samba.org>
13850
13851 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13852 messages unique.
13853
13854 2014-04-01 Anton Blanchard <anton@samba.org>
13855
13856 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13857 prepare_for_testing.
13858
13859 2014-04-01 Anton Blanchard <anton@samba.org>
13860
13861 * gdb.arch/ppc64-atomic-inst.c: Remove.
13862 * gdb.arch/ppc64-atomic-inst.S: New file.
13863 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13864
13865 2014-03-31 Doug Evans <dje@google.com>
13866
13867 * gdb.base/print-symbol-loading-lib.c: New file.
13868 * gdb.base/print-symbol-loading-main.c: New file.
13869 * gdb.base/print-symbol-loading.exp: New file.
13870
13871 2014-03-31 Yao Qi <yao@codesourcery.com>
13872
13873 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13874
13875 2014-03-28 Joel Brobecker <brobecker@adacore.com>
13876
13877 * gdb.ada/mi_dyn_arr: New testcase.
13878
13879 2014-03-27 Doug Evans <dje@google.com>
13880
13881 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13882
13883 2014-03-27 Yao Qi <yao@codesourcery.com>
13884
13885 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13886 if target is nios2-*-*.
13887
13888 2014-03-26 Yao Qi <yao@codesourcery.com>
13889
13890 * lib/gdb.exp (readline_is_used): New proc.
13891 * gdb.base/completion.exp: Move tests on command complete up.
13892 Skip the rest of tests if readline is not used.
13893 * gdb.ada/complete.exp: Skp the test if readline is not
13894 used.
13895 * gdb.base/filesym.exp: Likewise.
13896 * gdb.base/macscp.exp: Likewise.
13897 * gdb.base/readline-ask.exp: Likewise.
13898 * gdb.base/readline.exp: Likewise.
13899 * gdb.python/py-cmd.exp: Likewise.
13900 * gdb.trace/tfile.exp: Likewise.
13901
13902 2014-03-26 Yao Qi <yao@codesourcery.com>
13903
13904 * gdb.base/macscp.exp: Fix code format issues.
13905
13906 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13907
13908 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13909 * gdb.asm/powerpc64le.inc: New file.
13910
13911 2014-03-25 Pedro Alves <palves@redhat.com>
13912 Doug Evans <dje@google.com>
13913
13914 * gdb.base/source-execution.c: New file.
13915 * gdb.base/source-execution.exp: New file.
13916 * gdb.base/source-execution.gdb: New file.
13917
13918 2014-03-24 Doug Evans <dje@google.com>
13919
13920 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13921 using fission.
13922
13923 2014-03-24 Hui Zhu <hui@codesourcery.com>
13924 Pedro Alves <palves@redhat.com>
13925
13926 PR breakpoints/16101
13927 * gdb.base/dprintf.exp: Use unsupported rather than changing the
13928 test pass/fail messages. Detect missing support for dprintf when
13929 breakpoints are actually inserted.
13930 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
13931 breakpoints are actually inserted.
13932 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
13933 fails.
13934
13935 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13936
13937 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
13938
13939 2014-03-22 Doug Evans <xdje42@gmail.com>
13940
13941 * gdb.python/python.exp (python not supported): Verify multi-line
13942 python command issues an error.
13943 * gdb.guile/guile.exp (guile not supported): Verify multi-line
13944 guile command issues an error.
13945
13946 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
13947
13948 * gdb.threads/thread-specific.exp: Handle the lack of usable
13949 $this_breakpoint and $this_thread.
13950
13951 2014-03-21 Hui Zhu <hui@codesourcery.com>
13952
13953 * gdb.base/attach.exp (do_command_attach_tests): New.
13954
13955 2014-03-20 Tom Tromey <tromey@redhat.com>
13956 Pedro Alves <palves@redhat.com>
13957
13958 PR cli/15718
13959 * gdb.base/condbreak-call-false.c: New file.
13960 * gdb.base/condbreak-call-false.exp: New file.
13961
13962 2014-03-20 Pedro Alves <palves@redhat.com>
13963
13964 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
13965 Delete.
13966 (block_signals, unblock_signals): Delete.
13967 (child_function_2, main): Remove references to deleted variable
13968 and functions.
13969
13970 2014-03-20 Pedro Alves <palves@redhat.com>
13971
13972 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
13973 Use pthread_kill to signal thread 2.
13974 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13975 Adjust to make the test send itself a signal rather than using the
13976 host's "kill" command.
13977
13978 2014-03-20 Pedro Alves <palves@redhat.com>
13979
13980 * gdb.threads/multiple-step-overs.c: New file.
13981 * gdb.threads/multiple-step-overs.exp: New file.
13982 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13983 Adjust expected infrun debug output.
13984
13985 2014-03-20 Pedro Alves <palves@redhat.com>
13986
13987 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
13988 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
13989
13990 2014-03-20 Pedro Alves <palves@redhat.com>
13991
13992 PR breakpoints/7143
13993 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
13994 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
13995 of gdb_test_multiple.
13996 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
13997 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
13998
13999 2014-03-20 Pedro Alves <palves@redhat.com>
14000
14001 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14002 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14003
14004 2014-03-19 Pedro Alves <palves@redhat.com>
14005
14006 * gdb.base/async.exp: Remove early return.
14007
14008 2014-03-19 Pedro Alves <palves@redhat.com>
14009
14010 * gdb.base/async.exp (step& tests): Pass explicit test messages.
14011
14012 2014-03-19 Pedro Alves <palves@redhat.com>
14013
14014 * gdb.base/async.exp (test_background): Expect \r\n after
14015 "completed." in the fail pattern.
14016
14017 2014-03-19 Pedro Alves <palves@redhat.com>
14018
14019 * gdb.base/async.exp (test_background): New procedure.
14020 Use it for all background execution command tests.
14021
14022 2014-03-19 Pedro Alves <palves@redhat.com>
14023
14024 * gdb.base/async.exp: Use prepare_for_testing.
14025
14026 2014-03-19 Pedro Alves <palves@redhat.com>
14027
14028 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
14029 the same line.
14030
14031 2014-03-19 Pedro Alves <palves@redhat.com>
14032
14033 * gdb.base/async.c (main): Add "jump here" and "until here" line
14034 marker comments.
14035 * gdb.base/async.exp (jump_here): New global.
14036 (jump& test): Use it.
14037 (until_here): New global.
14038 (until& test): Use it.
14039
14040 2014-03-19 Pedro Alves <palves@redhat.com>
14041
14042 * gdb.base/async.exp: Don't frob gdb_protocol.
14043
14044 2014-03-18 Doug Evans <xdje42@gmail.com>
14045
14046 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
14047 Fix spelling of exec-done-display.
14048
14049 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14050
14051 PR gdb/15358
14052 * gdb.base/gdb-sigterm.c: New file.
14053 * gdb.base/gdb-sigterm.exp: New file.
14054
14055 2014-03-18 Pedro Alves <palves@redhat.com>
14056
14057 PR gdb/13860
14058 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14059 * lib/mi-support.exp (mi_expect_stop): Add special handling for
14060 solib-event.
14061
14062 2014-03-17 Joel Brobecker <brobecker@adacore.com>
14063
14064 * gdb.ada/pckd_arr_ren: New testcase.
14065
14066 2014-03-13 Doug Evans <xdje42@gmail.com>
14067
14068 PR guile/16612
14069 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14070 collect after discarding symbols.
14071
14072 2014-03-13 Ludovic Courtès <ludo@gnu.org>
14073 Doug Evans <xdje42@gmail.com>
14074
14075 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14076 to history survives a gc.
14077
14078 2014-03-13 Pedro Alves <palves@redhat.com>
14079
14080 * gdb.base/default.exp: Don't test "target procfs".
14081
14082 2014-03-13 Pedro Alves <palves@redhat.com>
14083
14084 * gdb.base/default.exp: Update "target child" and "target procfs"
14085 tests to not expect "Unix".
14086
14087 2014-03-12 Tom Tromey <tromey@redhat.com>
14088
14089 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14090 New procs. Add target-async tests.
14091 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14092 Add target-async tests.
14093
14094 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14095
14096 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14097 'func_start' and 'func_end' for the beginning and end of the
14098 function code, respectively.
14099 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14100 'func_end' instead of 'func' and 'main'.
14101
14102 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14103
14104 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14105 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14106 generate the debug info assembler source.
14107
14108 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14109
14110 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14111 * gdb.dwarf2/arr-subrange.exp: Likewise.
14112 * gdb.dwarf2/dwz.exp: Likewise.
14113 * gdb.dwarf2/method-ptr.exp: Likewise.
14114 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14115 * gdb.dwarf2/subrange.exp: Likewise.
14116 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14117 * gdb.dwarf2/implptrpiece.exp: Likewise.
14118 * gdb.dwarf2/nostaticblock.exp: Likewise.
14119
14120 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14121
14122 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14123 directory to absolute path name arguments.
14124
14125 2014-03-10 Joel Brobecker <brobecker@adacore.com>
14126
14127 * gdb.ada/tagged_access: New testcase.
14128
14129 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14130
14131 * gdb.btrace/data.exp: Update expected output.
14132
14133 2014-03-06 Yao Qi <yao@codesourcery.com>
14134
14135 * gdb.trace/pr16508.exp: New file.
14136
14137 2014-03-05 Pedro Alves <palves@redhat.com>
14138
14139 PR gdb/16575
14140 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14141 procedure.
14142 (top level): Adjust to use it. Add tests that exercise breakpoint
14143 interaction with the code-cache.
14144
14145 2014-02-26 Ludovic Courtès <ludo@gnu.org>
14146
14147 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14148 test for 'history-append!'.
14149
14150 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14151
14152 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14153 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14154 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14155 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14156 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14157 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14158
14159 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14160
14161 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14162 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14163 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14164
14165 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14166
14167 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14168
14169 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14170
14171 * gdb.dwarf2/arr-stride.c: New file.
14172 * gdb.dwarf2/arr-stride.exp: New file.
14173
14174 2014-02-26 Pedro Alves <palves@redhat.com>
14175
14176 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14177 that won't ever trigger. Make sure that GDB reports the correct
14178 breakpoint that caused the stop.
14179
14180 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14181
14182 PR gdb/16626
14183 * gdb.base/auto-load-script: New file.
14184 * gdb.base/auto-load.c: New file.
14185 * gdb.base/auto-load.exp: New file.
14186
14187 PR gdb/16626
14188 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14189
14190 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14191
14192 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14193 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14194
14195 2014-02-24 Doug Evans <dje@google.com>
14196
14197 * lib/gdb.exp (run_on_host): Log error output if program fails.
14198
14199 2014-02-21 Pedro Alves <palves@redhat.com>
14200
14201 * gdb.threads/step-after-sr-lock.c: Rename to ...
14202 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14203 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14204 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14205 ... this.
14206
14207 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14208
14209 PR tdep/16397
14210 * gdb.arch/amd64-stap-special-operands.exp: New file.
14211 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14212 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14213 * gdb.arch/amd64-stap-triplet.S: Likewise.
14214 * gdb.arch/amd64-stap-triplet.c: Likewise.
14215
14216 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14217
14218 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14219 in .section pseudo-op.
14220
14221 2014-02-20 lin zuojian <manjian2006@gmail.com>
14222 Joel Brobecker <brobecker@adacore.com>
14223 Doug Evans <xdje42@gmail.com>
14224
14225 PR symtab/16581
14226 * gdb.dwarf2/dw2-icycle.S: New file.
14227 * gdb.dwarf2/dw2-icycle.c: New file.
14228 * gdb.dwarf2/dw2-icycle.exp: New file.
14229
14230 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14231
14232 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14233 operations on gdb.Value objects.
14234 * gdb.python/py-value-cc.exp: Add new test to test operations on
14235 gdb.Value objects.
14236
14237 2014-02-18 Doug Evans <dje@google.com>
14238
14239 * Makefile.in (TESTS): New variable.
14240 (expanded_tests, expanded_tests_or_none): New variables
14241 (check-single): Pass $(expanded_tests_or_none) to runtest.
14242 (check-parallel): Only run tests in $(TESTS) if non-empty.
14243 (check/no-matching-tests-found): New rule.
14244 * README: Document TESTS makefile variable.
14245
14246 2014-02-18 Doug Evans <dje@google.com>
14247
14248 * Makefile.in (check-parallel): rm -rf outputs temp.
14249
14250 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14251
14252 Fix "ERROR: no fileid for" in the testsuite.
14253 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14254
14255 2014-02-12 Doug Evans <dje@google.com>
14256
14257 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14258 (MISCELLANEOUS): New variable.
14259 (clean): rm -rf $(MISCELLANEOUS).
14260 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14261 dwp live in the same directory as symlinks, with each symlink pointed
14262 to a differently named file in a different directory.
14263
14264 2014-02-11 Doug Evans <dje@google.com>
14265
14266 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14267 of Tcl file commands.
14268
14269 2014-02-10 Mark Kettenis <kettenis@gnu.org>
14270
14271 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14272 "kill -SIGUSR1 -1".
14273
14274 2014-02-10 Joel Brobecker <brobecker@adacore.com>
14275
14276 * gdb.ada/tick_length_array_enum_idx: New testcase.
14277
14278 2014-02-10 Doug Evans <xdje42@gmail.com>
14279
14280 * configure.ac (AC_OUTPUT): Add gdb.guile.
14281 * configure: Regenerate.
14282 * lib/gdb-guile.exp: New file.
14283 * lib/gdb.exp (get_target_charset): New function.
14284 * gdb.base/help.exp: Update expected output from "apropos apropos".
14285 * gdb.guile/Makefile.in: New file.
14286 * gdb.guile/guile.exp: New file.
14287 * gdb.guile/scm-arch.c: New file.
14288 * gdb.guile/scm-arch.exp: New file.
14289 * gdb.guile/scm-block.c: New file.
14290 * gdb.guile/scm-block.exp: New file.
14291 * gdb.guile/scm-breakpoint.c: New file.
14292 * gdb.guile/scm-breakpoint.exp: New file.
14293 * gdb.guile/scm-disasm.c: New file.
14294 * gdb.guile/scm-disasm.exp: New file.
14295 * gdb.guile/scm-equal.c: New file.
14296 * gdb.guile/scm-equal.exp: New file.
14297 * gdb.guile/scm-error.exp: New file.
14298 * gdb.guile/scm-error.scm: New file.
14299 * gdb.guile/scm-frame-args.c: New file.
14300 * gdb.guile/scm-frame-args.exp: New file.
14301 * gdb.guile/scm-frame-args.scm: New file.
14302 * gdb.guile/scm-frame-inline.c: New file.
14303 * gdb.guile/scm-frame-inline.exp: New file.
14304 * gdb.guile/scm-frame.c: New file.
14305 * gdb.guile/scm-frame.exp: New file.
14306 * gdb.guile/scm-generics.exp: New file.
14307 * gdb.guile/scm-gsmob.exp: New file.
14308 * gdb.guile/scm-iterator.c: New file.
14309 * gdb.guile/scm-iterator.exp: New file.
14310 * gdb.guile/scm-math.c: New file.
14311 * gdb.guile/scm-math.exp: New file.
14312 * gdb.guile/scm-objfile-script-gdb.in: New file.
14313 * gdb.guile/scm-objfile-script.c: New file.
14314 * gdb.guile/scm-objfile-script.exp: New file.
14315 * gdb.guile/scm-objfile.c: New file.
14316 * gdb.guile/scm-objfile.exp: New file.
14317 * gdb.guile/scm-ports.exp: New file.
14318 * gdb.guile/scm-pretty-print.c: New file.
14319 * gdb.guile/scm-pretty-print.exp: New file.
14320 * gdb.guile/scm-pretty-print.scm: New file.
14321 * gdb.guile/scm-section-script.c: New file.
14322 * gdb.guile/scm-section-script.exp: New file.
14323 * gdb.guile/scm-section-script.scm: New file.
14324 * gdb.guile/scm-symbol.c: New file.
14325 * gdb.guile/scm-symbol.exp: New file.
14326 * gdb.guile/scm-symtab-2.c: New file.
14327 * gdb.guile/scm-symtab.c: New file.
14328 * gdb.guile/scm-symtab.exp: New file.
14329 * gdb.guile/scm-type.c: New file.
14330 * gdb.guile/scm-type.exp: New file.
14331 * gdb.guile/scm-value-cc.cc: New file.
14332 * gdb.guile/scm-value-cc.exp: New file.
14333 * gdb.guile/scm-value.c: New file.
14334 * gdb.guile/scm-value.exp: New file.
14335 * gdb.guile/source2.scm: New file.
14336 * gdb.guile/types-module.cc: New file.
14337 * gdb.guile/types-module.exp: New file.
14338
14339 2014-02-10 Yao Qi <yao@codesourcery.com>
14340
14341 PR testsuite/16543
14342 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14343 * configure: Regenerated.
14344 * Makefile.in: New file.
14345
14346 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14347
14348 * gdb.python/py-framefilter.exp: Fix typo.
14349
14350 2014-02-08 Yao Qi <yao@codesourcery.com>
14351
14352 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14353 that no =breakpoint-modified is emitted when breakpoints are
14354 modified through MI commands.
14355
14356 2014-02-07 Pedro Alves <pedro@codesourcery.com>
14357 Pedro Alves <palves@redhat.com>
14358
14359 * gdb.threads/step-after-sr-lock.c: New file.
14360 * gdb.threads/step-after-sr-lock.exp: New file.
14361
14362 2014-02-07 Pedro Alves <palves@redhat.com>
14363
14364 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14365
14366 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14367
14368 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14369 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14370
14371 2014-02-06 Doug Evans <xdje42@gmail.com>
14372
14373 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14374 output.
14375
14376 * gdb.gdb/python-interrupts.exp: New file.
14377
14378 2014-02-05 Yao Qi <yao@codesourcery.com>
14379
14380 * gdb.trace/report.exp (use_collected_data): Test the output
14381 of "info threads" and "info inferiors".
14382
14383 2014-02-05 Yao Qi <yao@codesourcery.com>
14384
14385 Revert this patch:
14386
14387 2013-05-24 Yao Qi <yao@codesourcery.com>
14388
14389 * gdb.trace/tfile.exp: Test inferior and thread.
14390
14391 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14392
14393 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14394 on a function.
14395 * gdb.base/step-bt.c: Call hello via function pointer to make
14396 sure its first instruction is executed on powerpc64le-linux.
14397
14398 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14399
14400 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14401
14402 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14403
14404 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14405 of the test patterns for use on little-endian systems.
14406
14407 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14408
14409 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14410 (decimal_vector): Fix for little-endian.
14411
14412 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14413
14414 * gdb.arch/sparc-sysstep.exp: New file.
14415 * gdb.arch/sparc-sysstep.c: Likewise.
14416
14417 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14418
14419 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14420
14421 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14422
14423 2014-01-23 Tom Tromey <tromey@redhat.com>
14424
14425 * gdb.ada/array_char_idx: New testcase.
14426
14427 2014-01-23 Tom Tromey <tromey@redhat.com>
14428
14429 PR python/16487:
14430 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14431 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14432 classes.
14433
14434 2014-01-23 Tom Tromey <tromey@redhat.com>
14435
14436 PR python/16491:
14437 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14438 string from an inferior frame.
14439 * gdb.python/py-framefilter-mi.exp: Update.
14440
14441 2014-01-22 Doug Evans <dje@google.com>
14442
14443 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14444
14445 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14446
14447 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14448
14449 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14450
14451 * gdb.trace/entry-values.exp: Remove excess space character from
14452 regex patterns. Handle s390 call instruction.
14453
14454 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14455
14456 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14457 define "*_start" label. Make "name" static.
14458 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14459 ${name} by references to ${name}_start.
14460
14461 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14462
14463 * gdb.base/info-macros.exp: Remove "debug" from the compile
14464 options.
14465
14466 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14467
14468 * gdb.dlang/demangle.exp: New file.
14469
14470 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14471
14472 * gdb.dlang/primitive-types.exp: New file.
14473
14474 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14475
14476 * configure.ac: Create gdb.dlang/Makefile.
14477 * configure: Regenerate.
14478 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14479 * gdb.dlang/Makefile.in: New file.
14480 * lib/d-support.exp: New file.
14481 * lib/gdb.exp (skip_d_tests): New proc.
14482
14483 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14484
14485 * gdb.btrace/delta.exp: Check reverse stepi.
14486 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14487 * gdb.btrace/finish.exp: New.
14488 * gdb.btrace/next.exp: New.
14489 * gdb.btrace/nexti.exp: New.
14490 * gdb.btrace/record_goto.c: Add comments.
14491 * gdb.btrace/step.exp: New.
14492 * gdb.btrace/stepi.exp: New.
14493 * gdb.btrace/multi-thread-step.c: New.
14494 * gdb.btrace/multi-thread-step.exp: New.
14495 * gdb.btrace/rn-dl-bind.c: New.
14496 * gdb.btrace/rn-dl-bind.exp: New.
14497 * gdb.btrace/data.c: New.
14498 * gdb.btrace/data.exp: New.
14499 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14500
14501 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14502
14503 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14504 * gdb.btrace/exception.exp: Update.
14505 * gdb.btrace/instruction_history.exp: Update.
14506 * gdb.btrace/record_goto.exp: Update.
14507 * gdb.btrace/tailcall.exp: Update.
14508 * gdb.btrace/unknown_functions.exp: Update.
14509 * gdb.btrace/delta.exp: New.
14510
14511 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14512
14513 * gdb.btrace/record_goto.exp: Add backtrace test.
14514 * gdb.btrace/tailcall.exp: Add backtrace test.
14515
14516 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14517
14518 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14519 * gdb.btrace/record_goto.c: New.
14520 * gdb.btrace/record_goto.exp: New.
14521 * gdb.btrace/x86-record_goto.S: New.
14522
14523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14524
14525 * gdb.btrace/function_call_history.exp: Update tests.
14526 * gdb.btrace/instruction_history.exp: Update tests.
14527
14528 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14529
14530 * gdb.btrace/function_call_history.exp: Fix expected field
14531 order for "record function-call-history".
14532 Add new tests for "record function-call-history /c".
14533 * gdb.btrace/exception.cc: New.
14534 * gdb.btrace/exception.exp: New.
14535 * gdb.btrace/tailcall.exp: New.
14536 * gdb.btrace/x86-tailcall.S: New.
14537 * gdb.btrace/x86-tailcall.c: New.
14538 * gdb.btrace/unknown_functions.c: New.
14539 * gdb.btrace/unknown_functions.exp: New.
14540 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14541
14542 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14543
14544 * gdb.btrace/instruction_history.exp: Update.
14545 * gdb.btrace/function_call_history.exp: Update.
14546
14547 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14548
14549 * gdb.btrace/function_call_history.exp: Fix expected function
14550 trace.
14551 * gdb.btrace/instruction_history.exp: Initialize traced.
14552 Remove traced_functions.
14553
14554 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14555
14556 * gdb.btrace/function_call_history.exp: Update
14557 * gdb.btrace/instruction_history.exp: Update.
14558
14559 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14560
14561 * gdb.btrace/enable.exp: Update expected text.
14562
14563 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14564
14565 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14566 bytes.
14567
14568 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14569
14570 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14571
14572 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14573
14574 * lib/gdb.exp (supports_process_record): Return true for
14575 arm*-linux*. (supports_reverse): Likewise.
14576
14577 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14578
14579 PR python/15464
14580 PR python/16113
14581 * gdb.python/py-type.c: Enhance test case.
14582 * gdb.python/py-value-cc.cc: Likewise
14583 * gdb.python/py-type.exp: Add new tests.
14584 * gdb.python/py-value-cc.exp: Likewise
14585
14586 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14587 Pedro Alves <palves@redhat.com>
14588
14589 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14590 Make "name" extern.
14591 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14592 references to ${name}_start by references to ${name}.
14593
14594 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14595
14596 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14597
14598 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14599
14600 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14601
14602 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
14603 Pedro Alves <palves@redhat.com>
14604
14605 * gdb.mi/mi-info-os.exp: Connect to the target with
14606 mi_gdb_target_load.
14607
14608 2014-01-08 Pedro Alves <palves@redhat.com>
14609
14610 * gdb.threads/reconnect-signal.c: New file.
14611 * gdb.threads/reconnect-signal.exp: New file.
14612
14613 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14614
14615 * gdb.base/source-dir.exp: New file.
14616
14617 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14618
14619 * gdb.ada/mi_interface: New testcase.
14620
14621 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14622
14623 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14624 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14625 gdb.ada/pp-rec-component/pck.ads: New files.
14626
14627 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14628
14629 * gdb.python/py-pp-integral.c: New file.
14630 * gdb.python/py-pp-integral.py: New file.
14631 * gdb.python/py-pp-integral.exp: New file.
14632
14633 For older changes see ChangeLog-1993-2013.
14634 \f
14635 ;; Local Variables:
14636 ;; mode: change-log
14637 ;; left-margin: 8
14638 ;; fill-column: 74
14639 ;; version-control: never
14640 ;; End:
14641
14642 Copyright 2014-2018 Free Software Foundation, Inc.
14643 Copying and distribution of this file, with or without modification,
14644 are permitted provided the copyright notice and this notice are preserved.
This page took 0.310303 seconds and 3 git commands to generate.