Skip gdb ifunc tests on targets that don't support this feature.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2
3 * lib/gdb.exp (skip_ifunc_tests): New.
4 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5 other compile failures.
6 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
7
8 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9
10 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
11 is_amd64_regs_target.
12
13 2018-10-01 Alan Hayward <alan.hayward@arm.com>
14
15 * gdb.arch/aarch64-sighandler-regs.c: New test.
16 * gdb.arch/aarch64-sighandler-regs.exp: New file.
17 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
18
19 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
20
21 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
22 assembly.
23
24 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
25
26 * gdb.base/frame-selection.exp: New file.
27 * gdb.base/frame-selection.c: New file.
28
29 2018-09-27 Alan Hayward <alan.hayward@arm.com>
30
31 * gdb.threads/check-libthread-db.c (thread_routine): Use a
32 pthread barrier.
33 (main): Likewise.
34
35 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
36
37 * gdb.base/large-frame-1.c: New file.
38 * gdb.base/large-frame-2.c: New file.
39 * gdb.base/large-frame.exp: New file.
40 * gdb.base/large-frame.h: New file.
41
42 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
43
44 PR gdb/20948
45 * gdb.base/write_mem.exp: New test.
46 * gdb.base/write_mem.c: Likewise.
47
48 2018-09-23 Tom Tromey <tom@tromey.com>
49
50 PR python/18852:
51 * gdb.python/py-parameter.exp: Add test for parameter that throws
52 on "set".
53
54 2018-09-23 Tom Tromey <tom@tromey.com>
55
56 PR python/17284:
57 * gdb.python/py-template.exp (test_template_arg): Add test for
58 negative template argument number.
59
60 2018-09-23 Tom Tromey <tom@tromey.com>
61
62 PR python/14062:
63 * gdb.python/python.exp: Add test for post_event error.
64
65 2018-09-23 Tom Tromey <tom@tromey.com>
66
67 PR python/18170:
68 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
69 convert pointers to int and long.
70
71 2018-09-23 Tom Tromey <tom@tromey.com>
72
73 PR python/20126:
74 * gdb.python/py-value.exp (test_value_numeric_ops): Add
75 signed-ness conversion tests.
76
77 2018-09-23 Tom Tromey <tom@tromey.com>
78
79 PR python/18352;
80 * gdb.python/py-value.exp (test_float_conversion): New proc.
81 Use it.
82
83 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
84
85 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
86
87 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
88
89 * gdb.base/complete-empty.exp: Skip tab-completion tests if
90 no readline.
91 * gdb.base/utf8-identifiers.exp: Likewise.
92 * gdb.cp/cpcompletion.exp: Likewise.
93 * gdb.linespec/cpcompletion.exp: Likewise.
94 * gdb.linespec/cpls-abi-tag.exp: Likewise.
95 * gdb.linespec/cpls-ops.exp: Likewise.
96
97 2018-09-19 Richard Bunt <richard.bunt@arm.com>
98 Chris January <chris.january@arm.com>
99
100 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
101 * gdb.fortran/short-circuit-argument-list.exp: New file.
102 * gdb.fortran/short-circuit-argument-list.f90: New test.
103
104 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
105
106 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
107 "arch=" keyword when executing "-stack-list-frames".
108
109 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
110
111 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
112 "arch=" keyword when executing "-stack-list-frames".
113
114 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
115
116 * gdb.ada/complete.exp: Expect for "@" when doing "complete
117 break ada".
118
119 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
120
121 PR python/23669
122 * gdb.python/python.exp: Test gdb.execute("show commands").
123
124 2018-09-16 Tom Tromey <tom@tromey.com>
125
126 * gdb.base/new-ui.exp (do_execution_tests): Update.
127 * gdb.base/dbx.exp (test_breakpoints): Update.
128
129 2018-09-14 Alan Hayward <alan.hayward@arm.com>
130
131 * lib/gdb.exp (gdb_simple_compile): Add proc.
132 (is_elf_target): Use gdb_simple_compile.
133 (skip_altivec_tests): Likewise.
134 (skip_vsx_tests): Likewise.
135 (skip_tsx_tests): Likewise.
136 (skip_btrace_tests): Likewise.
137 (skip_btrace_pt_tests): Likewise.
138 (gdb_can_simple_compile): Likewise.
139 (gdb_has_argv0): Likewise.
140 (gdb_target_symbol_prefix): Likewise.
141 (target_supports_scheduler_locking): Likewise.
142
143 2018-09-13 Tom Tromey <tom@tromey.com>
144
145 * Makefile.in (TAGS): Recognize proc_with_prefix and
146 gdb_caching_proc.
147
148 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
149
150 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
151 method.
152
153 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
154
155 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
156 and a few other Inferior properties when the Inferior is no
157 longer valid.
158
159 2018-09-13 Tom Tromey <tom@tromey.com>
160
161 PR rust/23650:
162 * gdb.rust/simple.exp: Add test for enum field access error.
163
164 2018-09-13 Tom Tromey <tom@tromey.com>
165
166 PR rust/23626:
167 * gdb.rust/simple.rs (EmptyEnum): New type.
168 (main): Use it.
169 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
170
171 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
172
173 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
174 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
175 * gdb.python/py-symtab.exp: Update test printing an objfile.
176
177 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
178
179 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
180 object.
181
182 2018-09-12 Alan Hayward <alan.hayward@arm.com>
183
184 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
185 (support_complex_tests): Use gdb_can_simple_compile.
186 (is_ilp32_target): Likewise.
187 (is_lp64_target): Likewise.
188 (is_64_target): Likewise.
189 (is_amd64_regs_target): Likewise.
190 (is_aarch32_target): Likewise.
191 (gdb_int128_helper): Likewise.
192
193 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
194
195 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
196
197 2018-09-10 Jerome Guitton <guitton@adacore.com>
198
199 * gdb.ada/same_component_name: Add test for case of tagged record
200 with variable-length fields.
201
202 2018-09-10 Xavier Roirand <roirand@adacore.com>
203
204 * gdb.ada/access_to_unbounded_array.exp: New testcase.
205 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
206 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
207 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
208
209 2018-09-10 Xavier Roirand <roirand@adacore.com>
210
211 * gdb.ada/mi_string_access.exp: New testcase.
212 * gdb.ada/mi_string_access/bar.adb: New file.
213 * gdb.ada/mi_string_access/pck.adb: New file.
214 * gdb.ada/mi_string_access/pck.asd: New file.
215
216 2018-09-10 Xavier Roirand <roirand@adacore.com>
217
218 * gdb.ada/mi_var_union.exp: New testcase.
219 * gdb.ada/mi_var_union/bar.adb: New file.
220 * gdb.ada/mi_var_union/pck.adb: New file.
221 * gdb.ada/mi_var_union/pck.asd: New file.
222
223 2018-09-08 Tom Tromey <tom@tromey.com>
224
225 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
226
227 2018-09-08 Tom Tromey <tom@tromey.com>
228
229 PR python/16047:
230 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
231 (register_pretty_printers): Register new printer.
232 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
233 test.
234 * gdb.python/py-prettyprint.c (int_type3): New typedef.
235 (an_int_type3): New global.
236
237 2018-09-08 Joel Brobecker <brobecker@adacore.com>
238
239 * gdb.ada/expr_with_funcall: New testcase.
240
241 2018-09-08 Joel Brobecker <brobecker@adacore.com>
242
243 * gdb.ada/packed_array_assign: New testcase.
244
245 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
246
247 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
248 names, and add test prefixes to make test names unique.
249
250 2018-09-05 Tom de Vries <tdevries@suse.de>
251
252 * gdb.dwarf2/varval.exp: Add test.
253
254 2018-09-04 Gary Benson <gbenson@redhat.com>
255
256 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
257 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
258
259 2018-08-31 Tom Tromey <tom@tromey.com>
260
261 * gdb.rust/simple.rs: Rename second variable "v".
262
263 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
264
265 * gdb.base/funcargs.c (use_a): New function.
266 (recurse): Call use_a.
267
268 2018-08-29 Keith Seitz <keiths@redhat.com>
269
270 * gdb.compile/compile-cplus-anonymous.cc: New file.
271 * gdb.compile/compile-cplus-anonymous.exp: New file.
272 * gdb.compile/compile-cplus-array-decay.cc: New file.
273 * gdb.compile/compile-cplus-array-decay.exp: New file.
274 * gdb.compile/compile-cplus-inherit.cc: New file.
275 * gdb.compile/compile-cplus-inherit.exp: New file.
276 * gdb.compile/compile-cplus-member.cc: New file.
277 * gdb.compile/compile-cplus-member.exp: New file.
278 * gdb.compile/compile-cplus-method.cc: New file.
279 * gdb.compile/compile-cplus-method.exp: New file.
280 * gdb.compile/compile-cplus-mod.c: "New" file.
281 * gdb.compile/compile-cplus-namespace.cc: New file.
282 * gdb.compile/compile-cplus-namespace.exp: New file.
283 * gdb.compile/compile-cplus-nested.cc: New file.
284 * gdb.compile/compile-cplus-nested.exp: New file.
285 * gdb.compile/compile-cplus-print.c: "New" file.
286 * gdb.compile/compile-cplus-print.exp: "New" file.
287 * gdb.compile/compile-cplus-virtual.cc: New file.
288 * gdb.compile/compile-cplus-virtual.exp: New file.
289 * gdb.compile/compile-cplus.c: "New" file.
290 * gdb.compile/compile-cplus.exp: "New" file.
291 * lib/compile-support.exp: New file.
292
293 2018-08-16 Gary Benson <gbenson@redhat.com>
294
295 PR gdb/13000:
296 * gdb.base/batch-exit-status.exp: New file.
297 * gdb.base/batch-exit-status.good-commands: Likewise.
298 * gdb.base/batch-exit-status.bad-commands: Likewise.
299
300 2018-08-29 Alan Hayward <alan.hayward@arm.com>
301
302 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
303 (struct struct02): Likewise.
304 (struct struct03): Likewise.
305 (struct struct04): Likewise.
306 (struct struct_01_01): New struct.
307 (struct struct_01_02): Likewise.
308 (struct struct_01_03): Likewise.
309 (struct struct_01_04): Likewise.
310 (struct struct_02_01): Likewise.
311 (struct struct_02_02): Likewise.
312 (struct struct_02_03): Likewise.
313 (struct struct_02_04): Likewise.
314 (struct struct_04_01): Likewise.
315 (struct struct_04_02): Likewise.
316 (struct struct_04_03): Likewise.
317 (struct struct_04_04): Likewise.
318 (struct struct_05_01): Likewise.
319 (struct struct_05_02): Likewise.
320 (struct struct_05_03): Likewise.
321 (struct struct_05_04): Likewise.
322 (cmp_struct01): Remove function.
323 (cmp_struct02): Likewise.
324 (cmp_struct03): Likewise.
325 (cmp_struct04): Likewise.
326 (cmp_struct_01_01): Add Function.
327 (cmp_struct_01_02): Likewise.
328 (cmp_struct_01_03): Likewise.
329 (cmp_struct_01_04): Likewise.
330 (cmp_struct_02_01): Likewise.
331 (cmp_struct_02_02): Likewise.
332 (cmp_struct_02_03): Likewise.
333 (cmp_struct_02_04): Likewise.
334 (cmp_struct_04_01): Likewise.
335 (cmp_struct_04_02): Likewise.
336 (cmp_struct_04_03): Likewise.
337 (cmp_struct_04_04): Likewise.
338 (cmp_struct_05_01): Likewise.
339 (cmp_struct_05_02): Likewise.
340 (cmp_struct_05_03): Likewise.
341 (cmp_struct_05_04): Likewise.
342 (call_all): Add new structs.
343 * gdb.base/infcall-nested-structs.exp: Likewise.
344
345 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
346
347 * gdb.python/py-framefilter-mi.exp: Update regexp to
348 check for "arch" field in frame output.
349
350 2018-08-23 Kevin Buettner <kevinb@redhat.com>
351
352 * gdb.dwarf2/dw2-ranges-func.c: New file.
353 * gdb.dwarf2/dw2-ranges-func.exp: New file.
354
355 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
356
357 * gdb.base/term.exp: Compare terminal settings with values from
358 the inferior.
359 * gdb.base/term.c: Get and set terminal settings.
360
361 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
362
363 * lib/mi-support.exp (mi_expect_stop): Update regexp to
364 accommodate new "arch" field in frame output.
365 * gdb.mi/mi-return.exp: Likewise.
366 * gdb.mi/mi-stack.exp: Likewise.
367 * gdb.mi/mi-syn-frame.exp: Likewise.
368 * gdb.mi/user-selected-context-sync.exp: Likewise.
369
370 2018-08-19 Michael Spang <spang@google.com>
371
372 PR gdb/11786
373 * gdb.base/gcore-tls-pie.c: New file.
374 * gdb.base/gcore-tls-pie.exp: New file.
375
376 2018-08-18 Kevin Buettner <kevinb@redhat.com>
377
378 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
379 * gdb.dwarf2/varval.c: New file.
380 * gdb.dwarf2/varval.exp: New file.
381
382 2018-08-17 Alan Hayward <alan.hayward@arm.com>
383
384 PR gdb/18931
385 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
386
387 2018-08-16 Keith Seitz <keiths@redhat.com>
388
389 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
390 tests expected to pass.
391
392 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
393
394 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
395 -data-disassemble -a.
396 (test_disassembly_bogus_args): Likewise.
397
398 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
399
400 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
401
402 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
403
404 * gdb.base/vla-optimized-out.exp: Add new test.
405
406 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
407
408 * gdb.base/vla-optimized-out-o3.exp: Delete.
409 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
410 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
411 deleted tests.
412
413 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
414
415 PR gdb/18050:
416 * gdb.server/extended-remote-restart.c: New file.
417 * gdb.server/extended-remote-restart.exp: New file.
418
419 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
420
421 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
422 "set variable index = 42".
423
424 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
425
426 * boards/index-cache-gdb.exp: New file.
427 * gdb.dwarf2/index-cache.exp: New file.
428 * gdb.dwarf2/index-cache.c: New file.
429 * gdb.base/maint.exp: Check if we are using the index cache.
430
431 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
432
433 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
434 MAKEFLAGS.
435
436 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
437
438 * dg-extract-results.sh: Move to toplevel contrib.
439 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
440 * Makefile.in (check-parallel-racy): Likewise.
441
442 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
443
444 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
445 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
446 tests if the target supports scheduler locking.
447
448 2018-08-04 Tom de Vries <tdevries@suse.de>
449
450 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
451
452 2018-08-02 Tom Tromey <tom@tromey.com>
453
454 PR symtab/16842.
455 * gdb.cp/temargs.exp: Test "info address" of a template
456 parameter.
457
458 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
459
460 * gdb.python/py-mi-var-info-path-expression.c: New file.
461 * gdb.python/py-mi-var-info-path-expression.py: New file.
462 * gdb.python/py-mi-var-info-path-expression.exp: New file.
463
464 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
465
466 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
467 error after "cannot resolve name" string.
468
469 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
470
471 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
472 started.
473 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
474
475 2018-07-28 Tom de Vries <tdevries@suse.de>
476
477 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
478
479 2018-07-26 Tom de Vries <tdevries@suse.de>
480
481 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
482
483 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
484
485 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
486 is visible.
487
488 2018-07-26 Tom de Vries <tdevries@suse.de>
489
490 PR breakpoints/23366
491 * gdb.base/catch-follow-exec.c: New test.
492 * gdb.base/catch-follow-exec.exp: New file.
493
494 2018-07-25 Tom de Vries <tdevries@suse.de>
495
496 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
497 vla-optimized-out.c.
498
499 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
500
501 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
502 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
503
504 2018-07-20 Tom de Vries <tdevries@suse.de>
505
506 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
507 NOCLONE macro.
508 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
509
510 2018-07-19 Tom de Vries <tdevries@suse.de>
511
512 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
513 regular expression.
514
515 2018-07-18 Tom de Vries <tdevries@suse.de>
516
517 * gdb.base/vla-optimized-out.c: New test.
518 * gdb.base/vla-optimized-out.exp: New file.
519
520 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
521
522 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
523 message "No address associated with hostname" when gdbserver
524 cannot resolve the hostname.
525
526 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
527
528 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
529 Add some test prefixes to make tests unique.
530
531 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
532
533 * gdb.base/frameapply.c: New file.
534 * gdb.base/frameapply.exp: New file.
535
536 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
537
538 * gdb.base/skip.exp: Update expected error message.
539
540 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
541 Jan Kratochvil <jan.kratochvil@redhat.com>
542 Paul Fertser <fercerpav@gmail.com>
543 Tsutomu Seki <sekiriki@gmail.com>
544
545 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
546 parameter.
547 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
548 by default.
549 * boards/native-gdbserver.exp: Likewise.
550 * gdb.server/run-without-local-binary.exp: Improve regexp used
551 for detecting when a remote debugging connection succeeds.
552 * gdb.server/server-connect.exp: New file.
553 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
554 Do not prefix the port number with ":".
555 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
556 support for detecting and using it. Add '$debughost_gdbserver'
557 to the list of arguments used to start gdbserver. Handle case
558 when gdbserver cannot resolve a network name.
559
560 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
561
562 PR c++/23373
563 * gdb.base/ptype-offsets.cc (struct static_member): New
564 struct.
565 (main) <stmember>: New variable.
566 * gdb.base/ptype-offsets.exp: Add test for printing a struct
567 with a static member in it.
568
569 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
570
571 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
572 watchpoints enabled and disabled.
573
574 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
575
576 * gdb.base/examine-backward.exp: Still run tests around address
577 0x0, even if address 0x0 is not readable. Update the pattern for
578 matching address 0x0 in expected output.
579
580 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
581
582 * gdb.base/share-env-with-gdbserver.c (main): Add call to
583 malloc/free.
584
585 2018-07-04 Tom de Vries <tdevries@suse.de>
586
587 * gdb.dwarf2/dw2-error.exp: Update expected error message.
588
589 2018-07-02 Maciej W. Rozycki <macro@mips.com>
590
591 PR tdep/8282
592 * gdb.arch/mips-disassembler-options.exp: New test.
593 * gdb.arch/mips-disassembler-options.s: New test source.
594
595 2018-06-29 Pedro Alves <palves@redhat.com>
596
597 * gdb.threads/names.exp: Adjust expected "info threads" output.
598
599 2018-06-29 Pedro Alves <palves@redhat.com>
600
601 * gdb.opt/inline-break.exp (line number, address): Add "info
602 break" tests.
603
604 2018-06-29 Pedro Alves <palves@redhat.com>
605
606 * gdb.opt/inline-break.c (func1): Add "break here" marker.
607 * gdb.opt/inline-break.exp: Test setting breakpoints by line
608 number and address and running to them.
609
610 2018-06-29 Richard Bunt <richard.bunt@arm.com>
611
612 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
613
614 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
615
616 * lib/compiler.c: Remove executable permission flag.
617
618 2018-06-28 Richard Bunt <richard.bunt@arm.com>
619
620 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
621 code.
622 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
623
624 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
625
626 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
627
628 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
629
630 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
631 address argument is omitted.
632
633 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
634
635 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
636
637 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
638
639 PR gdb/21695
640 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
641 * gdb.base/infoline-reloc-main-from-zero.c: New file.
642
643 2018-06-26 Tom Tromey <tom@tromey.com>
644
645 PR rust/22574:
646 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
647 * gdb.rust/simple.rs (struct SimpleLayout): New.
648
649 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
650
651 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
652 "info registers" output.
653
654 2018-06-21 Richard Bunt <richard.bunt@arm.com>
655
656 * gdb.base/watchpoint-hw-attach.c: New test.
657 * gdb.base/watchpoint-hw-attach.exp: New file.
658
659 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
660
661 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
662 through /bin/sh.
663 * boards/dwarf4-gdb-index.exp: Likewise.
664 * boards/fission-dwp.exp: Likewise.
665
666 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
667
668 * gdb.base/float128.exp: Add comment and improved fail message
669 to the failure case of "print large128" test.
670
671 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
672
673 * configure.ac: Remove AC_PREREQ.
674 * configure: Re-generate.
675
676 2018-06-19 Pedro Alves <palves@redhat.com>
677
678 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
679 (func_extern_caller): New.
680 (main): Call func_extern_caller.
681 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
682 logic change.
683
684 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
685
686 PR gdb/16841
687 * gdb.cp/typedef-base.cc: New file.
688 * gdb.cp/typedef-base.exp: New file.
689
690 2018-06-18 Tom de Vries <tdevries@suse.de>
691
692 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
693
694 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
695 Richard Bunt <Richard.Bunt@arm.com>
696
697 * gdb.threads/attach-slow-waitpid.c: New file.
698 * gdb.threads/attach-slow-waitpid.exp: New file.
699 * gdb.threads/slow-waitpid.c: New file.
700
701 2018-06-14 Pedro Alves <palves@redhat.com>
702
703 * gdb.base/fork-running-state.c: Include <errno.h>.
704 (exit_if_relative_exits): New.
705 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
706 exits.
707 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
708 child exits.
709
710 2018-06-14 Tom de Vries <tdevries@suse.de>
711
712 PR cli/22573
713 * gdb.base/finish-pretty.c: New test.
714 * gdb.base/finish-pretty.exp: New file.
715
716 2018-06-14 Pedro Alves <palves@redhat.com>
717
718 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
719 gdb's expected startup output.
720
721 2018-06-14 Pedro Alves <palves@redhat.com>
722
723 * lib/selftest-support.exp (selftest_setup): Remove inlined
724 function handling.
725
726 2018-06-14 Tom de Vries <tdevries@suse.de>
727
728 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
729 matching of breakpoint printing.
730
731 2018-06-13 Tom de Vries <tdevries@suse.de>
732
733 PR testsuite/23269
734 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
735 (fork_child): ... here, and ...
736 (fork_parent): ... here.
737
738 2018-06-12 Tom de Vries <tdevries@suse.de>
739
740 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
741
742 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
743 Stephen Roberts <stephen.roberts@arm.com>
744
745 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
746 rewrite test to describe action performed, rather than possible
747 failure.
748
749 2018-06-08 Gary Benson <gbenson@redhat.com>
750
751 * gdb.threads/check-libthread-db.exp: New file.
752 * gdb.threads/check-libthread-db.c: Likewise.
753
754 2018-06-05 Tom Tromey <tom@tromey.com>
755
756 * gdb.base/default.exp: Update expected "show version" output.
757
758 2018-06-05 Tom Tromey <tom@tromey.com>
759
760 PR cli/12326:
761 * gdb.cp/static-print-quit.exp: Update.
762 * lib/gdb.exp (pagination_prompt): Update.
763 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
764 * gdb.python/python.exp: Update.
765
766 2018-06-04 Joel Brobecker <brobecker@adacore.com>
767
768 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
769
770 2018-06-01 Joel Brobecker <brobecker@adacore.com>
771
772 * gdb.ada/bp_fun_addr: New testcase.
773
774 2018-06-01 Tom Tromey <tom@tromey.com>
775
776 * gdb.xml/tdesc-regs.exp (load_description): Update expected
777 results.
778 * gdb.dwarf2/method-ptr.exp: Set language to C++.
779 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
780 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
781 * gdb.base/maint.exp (maint_pass_if): Update.
782
783 2018-05-31 Maciej W. Rozycki <macro@mips.com>
784
785 * gdb.base/endian.exp: New test.
786 * gdb.base/endian.c: New test source.
787
788 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
789
790 PR gdb/23203
791 * gdb.base/bt-selected-frame.c: New file.
792 * gdb.base/bt-selected-frame.exp: New file.
793 * lib/gdb.exp (get_current_frame_number): New function.
794
795 2018-05-24 Maciej W. Rozycki <macro@mips.com>
796 Pedro Alves <palves@redhat.com>
797
798 * gdb.threads/tls-core.c: Include <stdlib.h>
799 (thread_proc): Call `abort'.
800 * gdb.threads/tls-core.exp: Generate a core with core_find too.
801 (tls_core_test): New procedure, bits factored out from ...
802 (top level): ... here. Test both native cores and gcore cores.
803
804 2018-05-23 Tom Tromey <tom@tromey.com>
805
806 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
807
808 2018-05-23 Tom Tromey <tom@tromey.com>
809
810 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
811 symfile_complaints.
812 (test_short_complaints): Likewise.
813 (test_empty_complaints): Likewise.
814 (test_initial_complaints): Update.
815
816 2018-05-23 Tom Tromey <tom@tromey.com>
817
818 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
819
820 2018-05-23 Tom Tromey <tom@tromey.com>
821
822 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
823 (test_short_complaints): Update.
824
825 2018-05-22 Pedro Alves <palves@redhat.com>
826
827 * gdb.base/remote.exp: Only gdb_start after compiling the
828 testcase. Issue "disconnect" before testing "set remote" command
829 defaults. Issue clean_restart before running to main.
830
831 2018-05-22 Pedro Alves <palves@redhat.com>
832
833 * gdb.base/remote.exp: Adjust expected output of "show remote
834 memory-write-packet-size". Add tests for "set remote
835 memory-write-packet-size 0" and "set remote
836 memory-write-packet-size fixed/limit".
837
838 2018-05-22 Pedro Alves <palves@redhat.com>
839
840 PR gdb/22973
841 * gdb.base/utf8-identifiers.c: New file.
842 * gdb.base/utf8-identifiers.exp: New file.
843
844 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
845
846 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
847
848 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
849
850 * gdb.arch/powerpc-vsx-gcore.exp: New file.
851
852 2018-05-18 Tom Tromey <tom@tromey.com>
853
854 * gdb.base/ptype-offsets.exp: Update.
855
856 2018-05-17 Keith Seitz <keiths@redhat.com>
857
858 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
859 in expected breakpoint stop locations.
860 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
861 move to proper scope to test variable values.
862 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
863 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
864 New functions.
865 (main): Call not_inline_func3.
866 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
867 inline_func1, inline_func2, and inline_func3. Test that when each
868 breakpoint is hit, GDB properly reports both the stop location
869 and the backtrace. Repeat tests for temporary breakpoints.
870
871 2018-05-15 Maciej W. Rozycki <macro@mips.com>
872
873 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
874 rather then trying to access it in determining whether the PID
875 of `gdbserver' could have been retrieved.
876
877 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
878
879 * gdb.arch/amd64-init-x87-values.S: New file.
880 * gdb.arch/amd64-init-x87-values.exp: New file.
881
882 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
883
884 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
885
886 2018-05-04 Tom Tromey <tom@tromey.com>
887
888 PR python/22730:
889 * gdb.python/python.exp: Test multi-line execute.
890
891 2018-05-04 Tom Tromey <tom@tromey.com>
892
893 PR python/22731:
894 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
895
896 2018-05-04 Tom Tromey <tom@tromey.com>
897
898 PR gdb/11750:
899 * gdb.base/define.exp: Test defining a user command inside a user
900 command.
901 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
902
903 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
904 Pedro Alves <palves@redhat.com>
905
906 PR breakpoints/19806 and support for PR external/20207.
907 * gdb.base/watchpoint-unaligned.c: New file.
908 * gdb.base/watchpoint-unaligned.exp: New file.
909
910 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
911
912 * gdb.base/maint.exp: Make test names unique, use
913 test_prefix_command_help to test 'help maint info', and remove
914 repeated test of 'help maint'.
915
916 2018-05-04 Tom Tromey <tom@tromey.com>
917
918 PR gdb/22619:
919 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
920 behavior.
921
922 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
923
924 * gdb.base/maint.exp: Process output from 'maint print registers'
925 line at a time.
926
927 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
928
929 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
930 timeout.
931
932 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
933
934 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
935 filter pattern.
936
937 2018-05-02 Pedro Alves <palves@redhat.com>
938
939 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
940 to_log_command renames.
941 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
942
943 2018-05-02 Tom Tromey <tom@tromey.com>
944
945 * gdb.python/py-parameter.exp: Set test message.
946
947 2018-05-02 Tom Tromey <tom@tromey.com>
948
949 PR python/20084:
950 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
951 PARAM_ZUINTEGER_UNLIMITED tests.
952
953 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
954
955 PR rust/23124
956 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
957 when casting.
958
959 2018-04-30 Tom Tromey <tom@tromey.com>
960
961 * gdb.python/py-type.exp: Check align attribute.
962 * gdb.python/py-type.c: New "aligncheck" global.
963
964 2018-04-30 Tom Tromey <tom@tromey.com>
965
966 PR exp/17095:
967 * gdb.dwarf2/dw2-align.exp: New file.
968 * gdb.cp/align.exp: New file.
969 * gdb.base/align.exp: New file.
970 * lib/gdb.exp (gdb_int128_helper): New proc.
971 (has_int128_c, has_int128_cxx): New caching procs.
972
973 2018-04-27 Tom Tromey <tom@tromey.com>
974
975 PR rust/22545:
976 * gdb.rust/simple.exp: Add inclusive range tests.
977
978 2018-04-26 Pedro Alves <palves@redhat.com>
979
980 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
981 ifunc breakpoint locations correctly of ifunc breakpoints set
982 while the program resolves the ifunc.
983
984 2018-04-26 Pedro Alves <palves@redhat.com>
985
986 * gdb.base/gnu-ifunc-final.c: New file.
987 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
988 * gdb.base/gnu-ifunc.exp (executable): Delete.
989 (staticexecutable): Adjust.
990 (lib_opts, exec_opts): Delete.
991 (make_binsuffix, build, set-break): New procedures.
992 (misc_tests): New, with tests factored out from the top level.
993 (top level): Test different combinations of ifunc resolver name,
994 resolver with and with debug info, and ifunc target with and
995 without debug info. Wrap static tests with with_target_prefix.
996
997 2018-04-26 Pedro Alves <palves@redhat.com>
998
999 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1000 return type" warnings.
1001
1002 2018-04-25 Pedro Alves <palves@redhat.com>
1003
1004 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1005 killed".
1006 * gdb.base/kill-after-signal.exp: Likewise.
1007 * gdb.threads/kill.exp: Likewise.
1008
1009 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1010 Sergio Durigan Junior <sergiodj@redhat.com>
1011 Pedro Alves <palves@redhat.com>
1012
1013 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1014 regexps to expect for '[Inferior ... detached]' as well.
1015 * gdb.base/attach.exp: Likewise.
1016 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1017 "gdb_continue_to_end".
1018 (test_catch_syscall_with_wrong_args): Likewise.
1019 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1020 ']'. Don't set 'verbose' on.
1021 * gdb.base/foll-vfork.exp: Likewise.
1022 * gdb.base/fork-print-inferior-events.c: New file.
1023 * gdb.base/fork-print-inferior-events.exp: New file.
1024 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1025 '[Inferior ... has been killed]' message.
1026 * gdb.base/kill-after-signal.exp: Likewise.
1027 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1028 detach message.
1029 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1030 message.
1031 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1032 regexps to expect for '[Inferior ... detached]' as well.
1033 * gdb.threads/process-dies-while-detaching.exp: Likewise.
1034
1035 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
1036
1037 PR gdb/23104
1038 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1039
1040 2018-04-19 Richard Bunt <richard.bunt@arm.com>
1041
1042 * gdb.threads/multiple-successive-infcall.c: New test.
1043 * gdb.threads/multiple-successive-infcall.exp: New file.
1044
1045 2018-04-17 Tom Tromey <tom@tromey.com>
1046
1047 * gdb.rust/simple.rs (Union): New type.
1048 (main): New local "u".
1049 * gdb.rust/simple.exp (test_one_slice): Add new test case.
1050
1051 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1052
1053 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1054 number information in output of "whereis" command.
1055 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1056
1057 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1058
1059 * gdb.ada/info_types.exp: Adjust expected output to the line
1060 numbers now printed by "info var/func/type".
1061 * gdb.base/completion.exp: Likewise.
1062 * gdb.base/included.exp: Likewise.
1063 * gdb.cp/cp-relocate.exp: Likewise.
1064 * gdb.cp/cplusfuncs.exp: Likewise.
1065 * gdb.cp/namespace.exp: Likewise.
1066 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1067
1068 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1069
1070 * gdb.btrace/cpu.exp: New.
1071
1072 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1073
1074 * gdb.base/step-indirect-call-thunk.exp: New.
1075 * gdb.base/step-indirect-call-thunk.c: New.
1076 * gdb.reverse/step-indirect-call-thunk.exp: New.
1077 * gdb.reverse/step-indirect-call-thunk.c: New.
1078
1079 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
1080
1081 * gdb.base/pie-fork.c: New file.
1082 * gdb.base/pie-fork.exp: New file.
1083
1084 2018-04-11 Tom Tromey <tom@tromey.com>
1085
1086 * gdb.rust/simple.exp: Add test for ".." struct initializer.
1087
1088 2018-04-10 Pedro Alves <palves@redhat.com>
1089
1090 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1091 exits. Instead loop running forever.
1092 (fork_parent): Run forever too.
1093
1094 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1095
1096 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1097 mi_continue_to_line.
1098 * gdb.mi/mi-stack.c (callee4): Add comment.
1099
1100 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1101
1102 * gdb.mi/mi-stack.exp: Fix indentation.
1103
1104 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1105
1106 PR gdb/22979
1107 * gdb.arch/amd64-osabi.exp: New file.
1108
1109 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1110
1111 PR gdb/22980
1112 * gdb.base/osabi.exp: New file.
1113
1114 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
1115
1116 * gdb.cp/static-typedef-print.exp: New file.
1117 * gdb.cp/static-typedef-print.cc: New file.
1118
1119 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1120
1121 * gdb.ada/varsize_limit: New testcase.
1122
1123 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1124
1125 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1126
1127 * gdb.ada/notcplusplus: New testcase.
1128
1129 * gdb.base/c-linkage-name.c: New file.
1130 * gdb.base/c-linkage-name.exp: New testcase.
1131
1132 2018-03-26 Tom Tromey <tom@tromey.com>
1133
1134 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1135 * gdb.python/py-framefilter.py (name_error): New global.
1136 (ErrorInName.function): Use name_error.
1137
1138 2018-03-26 Tom Tromey <tom@tromey.com>
1139
1140 PR backtrace/15582:
1141 * gdb.python/py-framefilter.exp: Add "bt hide" test.
1142
1143 2018-03-23 Keith Seitz <keiths@redhat.com>
1144
1145 PR c++/22968
1146 * gdb.cp/subtypes.exp: New file.
1147 * gdb.cp/subtypes.h: New file.
1148 * gdb.cp/subtypes.cc: New file.
1149 * gdb.cp/subtypes-2.cc: New file.
1150
1151 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1152
1153 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1154 (done): Call '_exit' not 'exit' to avoid atexit handlers.
1155 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1156 -nostartfiles when compiling the test. Confirm that all registers
1157 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1158
1159 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1160
1161 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1162 option, syntax was wrong anyway.
1163 * gdb.arch/arm-disp-step.exp: Likewise.
1164 * gdb.arch/sparc64-regs.exp: Likewise.
1165 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1166 option, syntax was wrong anyway, switch to use
1167 prepare_for_testing.
1168 * gdb.arch/i386-disp-step.exp: Likewise.
1169
1170 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
1171
1172 * gdb.ada/exec_changed.exp: Replace "target_info exists
1173 use_gdb_stub" by "use_gdb_stub".
1174 * gdb.ada/start.exp: Likewise.
1175 * gdb.base/async-shell.exp: Likewise.
1176 * gdb.base/attach-pie-misread.exp: Likewise.
1177 * gdb.base/attach-wait-input.exp: Likewise.
1178 * gdb.base/break-entry.exp: Likewise.
1179 * gdb.base/break-interp.exp: Likewise.
1180 * gdb.base/dprintf-detach.exp: Likewise.
1181 * gdb.base/nostdlib.exp: Likewise.
1182 * gdb.base/solib-nodir.exp: Likewise.
1183 * gdb.base/statistics.exp: Likewise.
1184 * gdb.base/testenv.exp: Likewise.
1185 * gdb.mi/mi-exec-run.exp: Likewise.
1186 * gdb.mi/mi-start.exp: Likewise.
1187 * gdb.multi/dummy-frame-restore.exp: Likewise.
1188 * gdb.multi/multi-arch-exec.exp: Likewise.
1189 * gdb.multi/multi-arch.exp: Likewise.
1190 * gdb.multi/tids.exp: Likewise.
1191 * gdb.multi/watchpoint-multi.exp: Likewise.
1192 * gdb.python/py-events.exp: Likewise.
1193 * gdb.threads/attach-into-signal.exp: Likewise.
1194 * gdb.threads/attach-stopped.exp: Likewise.
1195 * gdb.threads/threadapply.exp: Likewise.
1196 * lib/selftest-support.exp: Likewise.
1197
1198 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1199
1200 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1201
1202 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1203
1204 * gdb.perf/template-breakpoints.cc: New file.
1205 * gdb.perf/template-breakpoints.exp: New file.
1206 * gdb.perf/template-breakpoints.py: New file.
1207
1208 2018-03-19 Tom Tromey <tom@tromey.com>
1209
1210 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1211 y0.
1212 * gdb.rust/simple.exp: Test bare identifier form of struct
1213 initializer.
1214
1215 2018-03-19 Tom Tromey <tom@tromey.com>
1216
1217 * gdb.gdb/observer.exp: Remove.
1218
1219 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1220
1221 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1222 "qualified" option when setting breakpoints.
1223 * gdb.trace/backtrace.exp: Likewise.
1224 * gdb.trace/circ.exp: Likewise.
1225 * gdb.trace/collection.exp: Likewise.
1226 * gdb.trace/disconnected-tracing.exp: Likewise.
1227 * gdb.trace/ftrace-lock.exp: Likewise.
1228 * gdb.trace/ftrace.exp: Likewise.
1229 * gdb.trace/infotrace.exp: Likewise.
1230 * gdb.trace/packetlen.exp: Likewise.
1231 * gdb.trace/passc-dyn.exp: Likewise.
1232 * gdb.trace/qtro.exp: Likewise.
1233 * gdb.trace/read-memory.exp: Likewise.
1234 * gdb.trace/report.exp: Likewise.
1235 * gdb.trace/signal.exp: Likewise.
1236 * gdb.trace/status-stop.exp: Likewise.
1237 * gdb.trace/strace.exp: Likewise.
1238 * gdb.trace/tfind.exp: Likewise.
1239 * gdb.trace/trace-break.exp: Likewise.
1240 * gdb.trace/trace-condition.exp: Likewise.
1241 * gdb.trace/trace-mt.exp: Likewise.
1242 * gdb.trace/tstatus.exp: Likewise.
1243 * gdb.trace/tsv.exp: Likewise.
1244 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1245 * gdb.trace/unavailable.exp: Likewise.
1246 * gdb.trace/while-dyn.exp: Likewise.
1247
1248 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1249
1250 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1251 that libinproctrace is copied to the target.
1252
1253 2018-03-14 Tom Tromey <tom@tromey.com>
1254
1255 PR cli/14977:
1256 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1257 a null pointer.
1258 * gdb.base/wchar.exp: Likewise.
1259
1260 2018-03-14 Tom Tromey <tom@tromey.com>
1261
1262 PR cli/19918:
1263 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1264 flag.
1265
1266 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1267
1268 PR gdb/22841
1269 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1270 "target" to remote_exec.
1271
1272 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1273
1274 PR gdb/22841
1275 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1276 ${board}_upload): Remove.
1277
1278 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1279
1280 * gdb.cp/watch-cp.cc: New test.
1281 * gdb.cp/watch-cp.exp: New file.
1282
1283 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1284
1285 * gdb.base/infcall-nested-structs.exp: New file.
1286 * gdb.base/infcall-nested-structs.c: New file.
1287 * gdb.base/float.exp: Add riscv support.
1288
1289 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1290
1291 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1292 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1293
1294 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1295
1296 * gdb.server/abspath.exp: New file.
1297 * lib/gdb.exp (with_cwd): New procedure.
1298
1299 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1300
1301 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1302 use it.
1303 (gdb_is_target_remote_prompt): New proc.
1304 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1305 (gdb_is_target_native): Pass prompt parameter to
1306 gdb_is_target_1.
1307
1308 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1309
1310 * gdb.base/load-command.c: New file.
1311 * gdb.base/load-command.exp: New file.
1312 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1313 (gdb_is_target_1): ...this, and generalize for other targets
1314 than just remote.
1315 (gdb_is_target_remote): Use gdb_is_target_1.
1316 (gdb_is_target_native): use gdb_is_target_1.
1317
1318 2018-02-26 Tom Tromey <tom@tromey.com>
1319
1320 PR python/16497:
1321 * gdb.python/py-framefilter.exp: Update test.
1322
1323 2018-02-26 Tom Tromey <tom@tromey.com>
1324
1325 * gdb.dwarf2/variant.c: New file.
1326 * gdb.dwarf2/variant.exp: New file.
1327
1328 2018-02-26 Tom Tromey <tom@tromey.com>
1329
1330 * gdb.rust/simple.exp: Accept more possible results in enum test.
1331
1332 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1333
1334 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1335 parentheses.
1336
1337 2018-02-23 Maciej W. Rozycki <macro@mips.com>
1338
1339 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1340 name of a variable: $actual_linejj -> $actual_line.
1341
1342 2018-02-21 John Baldwin <jhb@FreeBSD.org>
1343
1344 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1345
1346 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1347
1348 * gdb.btrace/buffer-size.exp: Do not force BTS.
1349
1350 2018-02-14 Pedro Alves <palves@redhat.com>
1351
1352 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1353 getting a "Quit".
1354
1355 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1356
1357 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1358 Fix test name.
1359
1360 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1361
1362 * gdb.cp/m-static.exp: Check type of optimized out static
1363 member.
1364
1365 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1366
1367 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1368 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1369
1370 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1371 Leszek Swirski <leszeks@google.com>
1372
1373 * gdb.python/py-prettyprint.c
1374 (struct to_string_returns_value_inner,
1375 struct to_string_returns_value_wrapper): New.
1376 (main): Add tsrvw variable.
1377 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1378 ToStringReturnsValueWrapper): New classes.
1379 (register_pretty_printers): Register new pretty-printers.
1380 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1381 recursive pretty printer.
1382 * gdb.python/py-mi.exp: Likewise.
1383
1384 2018-02-01 Leszek Swirski <leszeks@google.com>
1385
1386 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1387 functions with the same name as an include file are parsed
1388 correctly.
1389
1390 2018-02-01 Yao Qi <yao.qi@linaro.org>
1391
1392 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1393 "\[^\r\n\]*".
1394
1395 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1396
1397 * gdb.arch/powerpc-prologue-frame.s: New file.
1398 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1399 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1400
1401 2018-01-31 Joel Brobecker <brobecker@adacore.com>
1402
1403 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1404
1405 2018-01-30 Pedro Alves <palves@redhat.com>
1406
1407 PR gdb/13211
1408 * gdb.base/interrupt-daemon.c: New.
1409 * gdb.base/interrupt-daemon.exp: New.
1410 * gdb.multi/multi-term-settings.c: New.
1411 * gdb.multi/multi-term-settings.exp: New.
1412
1413 2018-01-30 Joel Brobecker <brobecker@adacore.com>
1414
1415 * gdb.base/break.exp: Save the location where the breakpoint
1416 on break.c:47 was actually inserted when debugging the version
1417 compiled at -O2 and use it in the expected output of the "info
1418 break" test performed soon after.
1419
1420 2018-01-22 Pedro Alves <palves@redhat.com>
1421 Sergio Durigan Junior <sergiodj@redhat.com>
1422
1423 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1424 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1425
1426 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1427
1428 * gdb.base/break-include.c, gdb.base/break-include.inc,
1429 gdb.base/break-include.exp: New files.
1430 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1431 line number now being the actual line number where the breakpoint
1432 was inserted.
1433 * gdb.mi/mi-break.exp: Likewise.
1434 * gdb.mi/mi-reverse.exp: Likewise.
1435 * gdb.mi/mi-simplerun.exp: Ditto.
1436
1437 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1438
1439 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1440 varobj.
1441 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1442
1443 2018-01-21 Don Breazeal <donb@codesourcery.com>
1444 Andrew Burgess <andrew.burgess@embecosm.com>
1445
1446 * gdb.mi/basics.c: Add new global.
1447 * gdb.mi/mi-frame-regs.exp: New file.
1448 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1449 case.
1450
1451 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1452
1453 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1454 non-parameter, and on an unknown symbol.
1455
1456 2018-01-19 Tom Tromey <tom@tromey.com>
1457
1458 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1459 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1460
1461 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1462
1463 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1464 setrlimit and chdir to int.
1465
1466 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1467
1468 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1469 function.
1470 (my_tend): Likewise.
1471 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1472 rationale of avoiding FP- and vector instructions.
1473
1474 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1475
1476 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1477 "info reg" with "\[ \t\]*".
1478 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1479 "\[ \t\]+".
1480 * gdb.arch/s390-multiarch.exp: Ditto.
1481 * gdb.base/pc-fp.exp: Ditto.
1482 * gdb.reverse/i386-precsave.exp: Ditto.
1483 * gdb.reverse/i386-reverse.exp: Ditto.
1484 * gdb.reverse/i387-env-reverse.exp: Ditto.
1485 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1486
1487 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1488
1489 * lib/gdb.exp (gdb_compile): Re-enable use of
1490 universal_compile_options for languages other than Rust.
1491
1492 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1493
1494 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1495
1496 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1497
1498 PR gdb/16577
1499 * gdb.base/solib-vanish.exp: New.
1500 * gdb.base/solib-vanish-main.c: New.
1501 * gdb.base/solib-vanish-lib1.c: New.
1502 * gdb.base/solib-vanish-lib2.c: New.
1503
1504 2018-01-17 Yao Qi <yao.qi@linaro.org>
1505
1506 * gdb.compile/compile.exp: Match the address printed for
1507 frame in the output of command "bt".
1508
1509 2018-01-15 Tom Tromey <tom@tromey.com>
1510
1511 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1512 compute sp_reg.
1513
1514 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1515
1516 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1517 to prepare.
1518 (prepare): Return 0 on error, 1 on success.
1519
1520 2018-01-12 Pedro Alves <palves@redhat.com>
1521
1522 * gdb.base/continue-after-aborted-step-over.c: New.
1523 * gdb.base/continue-after-aborted-step-over.exp: New.
1524
1525 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1526
1527 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1528 options when not creating an executable.
1529
1530 2018-01-11 Pedro Alves <palves@redhat.com>
1531
1532 PR remote/22597
1533 * gdb.server/stop-reply-no-thread.c: New file.
1534 * gdb.server/stop-reply-no-thread.exp: New file.
1535
1536 2018-01-10 Pedro Alves <palves@redhat.com>
1537
1538 PR gdb/22670
1539 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1540 functions too. Test setting breakpoints and printing C functions
1541 with no debug info too.
1542 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1543
1544 2018-01-10 Pedro Alves <palves@redhat.com>
1545
1546 PR gdb/22670
1547 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1548 a fail.
1549
1550 2018-01-10 Pedro Alves <palves@redhat.com>
1551
1552 PR gdb/22670
1553 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1554
1555 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1556
1557 * gdb.server/unittest.exp: Match the output in non-development
1558 mode.
1559
1560 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1561
1562 * gdb.gdb/unittest.exp: Match output in non-development mode.
1563
1564 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1565
1566 * gdb.ada/access_tagged_param.exp: Relax expected output
1567 for value of "ObjL" in "continue" to pck.inspect breakpoint
1568 test.
1569
1570 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1571
1572 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1573 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1574
1575 2018-01-05 Pedro Alves <palves@redhat.com>
1576
1577 PR gdb/18653
1578 * gdb.base/libsegfault.exp: New.
1579
1580 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1581
1582 PR gdb/22670
1583 * gdb.ada/access_tagged_param.exp: New file.
1584 * gdb.ada/access_tagged_param/foo.adb: New file.
1585
1586 2018-01-05 Pedro Alves <palves@redhat.com>
1587
1588 PR gdb/22670
1589 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1590 exercise lower case too, and to exercise both full matching and
1591 wild matching.
1592
1593 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1594
1595 * gdb.ada/rename_subscript_param: New testcase.
1596
1597 2018-01-05 Jerome Guitton <guitton@adacore.com>
1598
1599 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1600
1601 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1602
1603 * gdb.ada/convvar_comp: New testcase.
1604
1605 2018-01-05 Xavier Roirand <roirand@adacore.com>
1606
1607 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1608 (My_Table): New global variable.
1609 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1610
1611 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1612
1613 PR gdb/22670
1614 * gdb.ada/maint_with_ada: New testcase.
1615
1616 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1617
1618 PR gdb/22670
1619 * gdb.ada/bp_c_mixed_case: New testcase.
1620
1621 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1622
1623 PR gdb/22670
1624 * gdb.ada/complete.exp: Add "complete break ada" test.
1625
1626 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1627
1628 PR gdb/22670
1629 * gdb.ada/info_addr_mixed_case: New testcase.
1630
1631 2018-01-03 Xavier Roirand <roirand@adacore.com>
1632
1633 * gdb.ada/excep_handle.exp: New testcase.
1634 * gdb.ada/excep_handle/foo.adb: New file.
1635 * gdb.ada/excep_handle/pck.ads: New file.
1636
1637 2018-01-03 Joel Brobecker <brobecker@adacore.com>
1638
1639 * gdb.base/step-line.c: Add extra empty line in copyright header.
1640 * gdb.base/step-line.inp: Likewise.
1641
1642 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1643
1644 * gdb.ada/dyn_stride.exp: Add slice test.
1645
1646 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1647
1648 * gdb.ada/dyn_stride: New testcase.
1649
1650 2017-12-27 Stafford Horne <shorne@gmail.com>
1651
1652 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1653 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1654
1655 2017-12-27 Stafford Horne <shorne@gmail.com>
1656
1657 * gdb.base/reggroups.c: New file.
1658 * gdb.base/reggroups.exp: New file.
1659
1660 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1661
1662 * gdb.dwarf2/ada-valprint-error.c: New file.
1663 * gdb.dwarf2/ada-valprint-error.exp: New file.
1664
1665 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1666
1667 * gdb.ada/assign_arr: New testcase.
1668
1669 2017-12-18 Xavier Roirand <roirand@adacore.com>
1670
1671 * gdb.ada/funcall_ptr: New testcase.
1672
1673 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1674
1675 PR cli/16224
1676 * gdb.base/ptype-offsets.cc: New file.
1677 * gdb.base/ptype-offsets.exp: New file.
1678
1679 2017-12-15 Yao Qi <yao.qi@linaro.org>
1680
1681 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1682 if XML is disabled.
1683
1684 2017-12-15 Xavier Roirand <roirand@adacore.com>
1685
1686 * gdb.ada/same_component_name: New testcase.
1687
1688 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1689
1690 * gdb.ada/str_binop_equal: New testcase.
1691
1692 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1693
1694 * gdb.ada/task_switch_in_core: New testcase.
1695
1696 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
1697
1698 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1699 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1700 call test_bkpt_qualified.
1701 (test_bkpt_qualified): New proc.
1702
1703 2017-12-13 Pedro Alves <palves@redhat.com>
1704
1705 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1706 Tighten regexp by matching with an anchor.
1707
1708 2017-12-13 Pedro Alves <palves@redhat.com>
1709
1710 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1711 ("expression with namespace"): New set of tests.
1712 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1713 (Nested::Test_NS::qux): New.
1714 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1715 defaults to 'start_quote_char' and 'end_quote_char' parameters.
1716
1717 2017-12-13 Joel Brobecker <brobecker@adacore.com>
1718
1719 * gdb.base/server-del-break.c: New file.
1720 * gdb.base/server-del-break.exp: New file.
1721
1722 2017-12-12 Stafford Horne <shorne@gmail.com>
1723
1724 * gdb.xml/tdesc-regs.exp: Add or1k support.
1725
1726 2017-12-12 Stafford Horne <shorne@gmail.com>
1727
1728 * gdb.base/bp-permanent.c: Define nop of or1k.
1729
1730 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1731
1732 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1733 output with components being reordered.
1734
1735 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1736
1737 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1738 output with components being reordered.
1739
1740 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1741 Pedro Alves <palves@redhat.com>
1742
1743 * gdb.base/maint.exp (check for .gdb_index): Check also for
1744 .debug_names.
1745 * gdb.dlang/watch-loc.c (.debug_aranges): New.
1746 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1747 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1748 (.gdb_index used after symbol reloading): Support also .debug_names.
1749 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
1750
1751 2017-12-08 Yao Qi <yao.qi@linaro.org>
1752
1753 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1754 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
1755
1756 2017-12-08 Yao Qi <yao.qi@linaro.org>
1757
1758 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1759 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1760
1761 2017-12-08 Yao Qi <yao.qi@linaro.org>
1762
1763 * gdb.arch/aarch64-tagged-pointer.c: New file.
1764 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1765
1766 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1767
1768 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1769 "int".
1770
1771 2017-12-07 Keith Seitz <keiths@redhat.com>
1772
1773 PR breakpoints/22569
1774 * gdb.linespec/ls-errs.exp: Change expected result of "break
1775 -source this file has spaces.c -line 3".
1776 Check that an explicit source file followed by whitespace is
1777 identified as an invalid explicit location.
1778
1779 2017-12-07 Keith Seitz <keiths@redhat.com>
1780
1781 * gdb.cp/nested-types.cc: New file.
1782 * gdb.cp/nested-types.exp: New file.
1783 * lib/cp-support.exp: Load data-structures.exp library.
1784 (debug_cp_test_ptype_class): New global.
1785 (cp_ptype_class_verbose, next_line): New procedures.
1786 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1787 Add and document new return value.
1788 Switch the list of lines to a queue.
1789 Add support for new `type' key for nested type definitions.
1790 Add debugging/troubleshooting messages.
1791 * lib/data-structures.exp: New file.
1792
1793 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1794
1795 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1796 with proc_with_prefix, don't use with_test_prefix.
1797
1798 2017-12-07 Tom Tromey <tom@tromey.com>
1799
1800 * gdb.base/break.exp: Add test for empty "commands".
1801
1802 2017-12-07 Yao Qi <yao.qi@linaro.org>
1803
1804 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1805 malloc and catch syscall.
1806
1807 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1808
1809 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1810 tests for explicit locations.
1811
1812 2017-12-06 Pedro Alves <palves@redhat.com>
1813
1814 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1815 force-disabling XML descriptions.
1816
1817 2017-12-04 Pedro Alves <palves@redhat.com>
1818
1819 PR gdb/22499
1820 * gdb.arch/amd64-disp-step-avx.S: New file.
1821 * gdb.arch/amd64-disp-step-avx.exp: New file.
1822
1823 2017-12-03 Pedro Alves <palves@redhat.com>
1824
1825 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1826 and <string.h>.
1827 (parent_function): Print distinct messages when waitpid fails, or
1828 the child exits with a signal, or the child exits for an unhandled
1829 reason.
1830 * gdb.threads/process-dies-while-detaching.exp
1831 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1832 it. Wait for both inferior output and GDB's prompt. Use an
1833 indirect spawn id list.
1834 (do_detach): New parameter 'child_exit'. Use it to compute
1835 expected inferior output.
1836 (test_detach, test_detach_watch, test_detach_killed_outside):
1837 Adjust to pass down the expected child exit kind.
1838
1839 2017-12-01 Joel Brobecker <brobecker@adacore.com>
1840 Sergio Durigan Junior <sergiodj@redhat.com>
1841 Pedro Alves <palves@redhat.com>
1842
1843 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1844
1845 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1846
1847 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1848 to 'symbol-file' and 'add-symbol-file' can be
1849 position-independent.
1850
1851 2017-12-01 Yao Qi <yao.qi@linaro.org>
1852
1853 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1854 the URL in copyright header.
1855 * gdb.arch/aarch64-fp.exp: Likewise.
1856 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1857 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1858 * gdb.base/expand-psymtabs.exp: Likewise.
1859 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1860 * gdb.fortran/common-block.exp: Likewise.
1861 * gdb.fortran/common-block.f90: Likewise.
1862 * gdb.fortran/logical.exp: Likewise.
1863 * gdb.fortran/vla-datatypes.f90: Likewise.
1864 * gdb.fortran/vla-sub.f90: Likewise.
1865
1866 2017-11-30 Joel Brobecker <brobecker@adacore.com>
1867
1868 * gdb.ada/repeat_dyn: New testcase.
1869
1870 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1871
1872 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1873 Update for changed thread numbering.
1874 * gdb.cell/bt.exp: Update for changed GDB output.
1875
1876 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1877
1878 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1879 setting isremote by hand.
1880 * boards/dwarf4-gdb-index.exp: Likewise.
1881 * boards/fission.exp: Likewise.
1882 * boards/stabs.exp: Likewise.
1883
1884 2017-11-30 Pedro Alves <palves@redhat.com>
1885
1886 * gdb.linespec/cpls-ops.exp
1887 (check_explicit_skips_function_argument): Extract the underlying
1888 type of size_t instead of hardcoding it.
1889
1890 2017-11-29 Pedro Alves <palves@redhat.com>
1891
1892 PR c++/19436
1893 * gdb.linespec/cpls-abi-tag.cc: New file.
1894 * gdb.linespec/cpls-abi-tag.exp: New file.
1895
1896 2017-11-29 Pedro Alves <palves@redhat.com>
1897
1898 * gdb.base/langs.exp: Use -qualified.
1899 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1900 it.
1901 * gdb.cp/namespace.exp: Use -qualified.
1902 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1903 (overload-3, template-overload, template-ret-type, const-overload)
1904 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1905 procedures.
1906 (test_driver): Call them.
1907 * gdb.cp/save-bp-qualified.cc: New.
1908 * gdb.cp/save-bp-qualified.exp: New.
1909 * gdb.linespec/explicit.exp: Test -qualified.
1910 * lib/completion-support.exp (completion::explicit_opts_list): Add
1911 "-qualified".
1912 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1913
1914 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1915
1916 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1917
1918 2017-11-29 Tom Tromey <tom@tromey.com>
1919
1920 * gdb.base/relocate.exp: Update invalid argument test.
1921 Add new tests for invalid arguments.
1922
1923 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1924
1925 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1926 Return 0 as a long.
1927 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1928
1929 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1930
1931 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1932 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1933 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1934 func ().
1935 * gdb.cp/shadow.cc (B.func): Return 0.
1936
1937 2017-11-27 Joel Brobecker <brobecker@adacore.com>
1938
1939 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1940 expected output in gdb_expect call to allow the exception
1941 message to be present as well. Fix syntax confusion to avoid
1942 TCL thinking that exception_name is an array.
1943
1944 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1945
1946 * gdb.arch/spu-info.c: Include <unistd.h>.
1947 (do_signal_test): Fix broken calls to write.
1948 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1949 Fix checks for empty mailboxes. Update signal tests for corrected
1950 do_signal_test routine. Allow nonzero event status.
1951 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1952 * gdb.cell/arch.exp: Use standard_output_file.
1953 * gdb.cell/break.exp: Likewise.
1954 * gdb.cell/bt.exp: Likewise.
1955 * gdb.cell/core.exp: Likewise.
1956 * gdb.cell/dwarfaddr.exp: Likewise.
1957 * gdb.cell/ea-cache.exp: Likewise.
1958 * gdb.cell/ea-standalone.exp: Likewise.
1959 * gdb.cell/f-regs.exp: Likewise.
1960 * gdb.cell/fork.exp: Likewise.
1961 * gdb.cell/gcore.exp: Likewise.
1962 * gdb.cell/mem-access.exp: Likewise.
1963 * gdb.cell/ptype.exp: Likewise.
1964 * gdb.cell/registers.exp: Likewise.
1965 * gdb.cell/sizeof.exp: Likewise.
1966 * gdb.cell/solib-symbol.exp: Likewise.
1967 * gdb.cell/solib.exp: Likewise.
1968
1969 2017-11-25 Pedro Alves <palves@redhat.com>
1970
1971 * gdb.base/complete-empty.exp: New file.
1972 * gdb.base/completion.exp: Adjust.
1973
1974 2017-11-25 Pedro Alves <palves@redhat.com>
1975
1976 * gdb.linespec/cpls-ops.cc: New file.
1977 * gdb.linespec/cpls-ops.exp: New file.
1978 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1979 factored out from ...
1980 (test_complete_prefix_range): ... this.
1981
1982 2017-11-24 Pedro Alves <palves@redhat.com>
1983
1984 * gdb.linespec/cpcompletion.exp: New file.
1985 * gdb.linespec/cpls-hyphen.cc: New file.
1986 * gdb.linespec/cpls.cc: New file.
1987 * gdb.linespec/cpls2.cc: New file.
1988 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1989 test to use test_gdb_complete_unique. Add label completion,
1990 keyword completion and explicit location completion tests.
1991 * lib/completion-support.exp: New file.
1992
1993 2017-11-24 Joel Brobecker <brobecker@adacore.com>
1994
1995 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1996 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1997 when hitting an exception catchpoint.
1998
1999 2017-11-22 Yao Qi <yao.qi@linaro.org>
2000
2001 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2002
2003 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
2004
2005 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2006 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2007 * gdb.dwarf2/info-locals-optimized-out.c: New file.
2008
2009 2017-11-22 Yao Qi <yao.qi@linaro.org>
2010
2011 * gdb.base/info-os.exp: Pass pthreads.
2012 * gdb.multi/multi-attach.exp: Likewise.
2013
2014 2017-11-22 Yao Qi <yao.qi@linaro.org>
2015
2016 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2017 compiler.
2018
2019 2017-11-22 Yao Qi <yao.qi@linaro.org>
2020
2021 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2022 * gdb.base/break-interp.exp: Likewise.
2023 * gdb.base/jit-attach-pie.exp: Likewise.
2024
2025 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2026
2027 * gdb.base/float128.c (large128): New variable.
2028 * gdb.base/float128.exp: Add test to print largest __float128 value.
2029
2030 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2031
2032 * gdb.arch/vsx-regs.exp: Update register content checks.
2033
2034 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
2035
2036 * gdb.arch/ppc-longdouble.exp: New file.
2037 * gdb.arch/ppc-longdouble.c: Likewise.
2038
2039 2017-11-21 Pedro Alves <palves@redhat.com>
2040
2041 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2042
2043 2017-11-20 Pedro Alves <palves@redhat.com>
2044
2045 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2046 (long_double_typedef): New typedefs.
2047 Use DEF on double and long double.
2048 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2049 cases.
2050 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2051 and 'long_double_ptr_same_size' locals. Use them to decide
2052 whether cast from array/function to float is valid/invalid.
2053
2054 2017-11-17 Tom Tromey <tom@tromey.com>
2055
2056 * gdb.rust/traits.rs: New file.
2057 * gdb.rust/traits.exp: New file.
2058
2059 2017-11-17 Joel Brobecker <brobecker@adacore.com>
2060
2061 * gdb.ada/minsyms: New testcase.
2062
2063 2017-11-16 Pedro Alves <palves@redhat.com>
2064
2065 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2066 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2067
2068 2017-11-16 Pedro Alves <palves@redhat.com>
2069
2070 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2071 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2072
2073 2017-11-16 Pedro Alves <palves@redhat.com>
2074
2075 * gdb.server/reconnect-ctrl-c.c: New file.
2076 * gdb.server/reconnect-ctrl-c.exp: New file.
2077
2078 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
2079
2080 * gdb.python/py-rbreak.exp: New file.
2081 * gdb.python/py-rbreak.c: New file.
2082 * gdb.python/py-rbreak-func2.c: New file.
2083
2084 2017-11-16 Pedro Alves <palves@redhat.com>
2085
2086 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2087 pattern.
2088 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2089 GDB.
2090
2091 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
2092
2093 * gdb.tui/completionn.exp (test_tab_completion): Add space in
2094 regex.
2095
2096 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
2097
2098 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2099 test names.
2100
2101 2017-11-09 Pedro Alves <palves@redhat.com>
2102
2103 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2104 factored out from ...
2105 (top level): ... here, and adjusted to avoid expecting beyond the
2106 prompt in a single gdb_test_multiple.
2107
2108 2017-11-09 Pedro Alves <palves@redhat.com>
2109
2110 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2111 output.
2112 * gdb.server/ext-attach.exp ("kill" test): Likewise.
2113 * gdb.server/ext-restart.exp ("kill" test): Likewise.
2114 * gdb.server/ext-run.exp ("kill" test): Likewise.
2115 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2116
2117 2017-11-09 Pedro Alves <palves@redhat.com>
2118
2119 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2120 match till end of line.
2121
2122 2017-11-09 Pedro Alves <palves@redhat.com>
2123
2124 * gdb.base/memattr.exp: Tighten regexes to match the end line.
2125
2126 2017-11-09 Pedro Alves <palves@redhat.com>
2127
2128 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2129 New procedures, factored out from ...
2130 (top level): ... here, and adjusted to avoid expecting beyond the
2131 prompt in one go.
2132
2133 2017-11-09 Pedro Alves <palves@redhat.com>
2134
2135 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2136 output. Fix '?' match.
2137
2138 2017-11-08 Joel Brobecker <brobecker@adacore.com>
2139
2140 * gdb.ada/scoped_watch: New testcase.
2141 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2142 which is actually correct.
2143 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2144 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2145
2146 2017-11-08 Pedro Alves <palves@redhat.com>
2147
2148 * gdb.gdb/complaints.exp (test_initial_complaints)
2149 (test_serial_complaints, test_short_complaints): Call
2150 complaint_internal instead of complaint.
2151
2152 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
2153
2154 * gdb.threads/tls-core.c: New file.
2155 * gdb.threads/tls-core.exp: Likewise.
2156
2157 2017-11-08 Pedro Alves <palves@redhat.com>
2158
2159 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2160 (p Exported_Capitalized): New test.
2161 (p exported_capitalized): New test.
2162
2163 2017-11-07 Pedro Alves <palves@redhat.com>
2164
2165 * gdb.cp/ena-dis-br-range.exp: Add more tests.
2166
2167 2017-11-07 Pedro Alves <palves@redhat.com>
2168
2169 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2170 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2171 (disable_invalid, disable_inverted, disable_negative): New
2172 procedures.
2173 ("bad numbers"): New set of tests.
2174
2175 2017-11-07 Pedro Alves <palves@redhat.com>
2176
2177 * gdb.cp/ena-dis-br-range.exp: Add tests.
2178
2179 2017-11-07 Pedro Alves <palves@redhat.com>
2180
2181 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2182
2183 2017-11-07 Xavier Roirand <roirand@adacore.com>
2184 Pedro Alves <palves@redhat.com>
2185
2186 * gdb.base/ena-dis-br.exp: Add reference to
2187 gdb.cp/ena-dis-br-range.exp.
2188 * gdb.cp/ena-dis-br-range.exp: New file.
2189 * gdb.cp/ena-dis-br-range.cc: New file.
2190
2191 2017-11-06 Pedro Alves <palves@redhat.com>
2192
2193 * gdb.base/attach-non-pgrp-leader.c: New.
2194 * gdb.base/attach-non-pgrp-leader.exp: New.
2195
2196 2017-11-06 Pedro Alves <palves@redhat.com>
2197
2198 * configure.ac: No longer check for termio.h and sgtty.h.
2199 * configure: Regenerate.
2200 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2201 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2202 Remove termio and sgtty code.
2203
2204 2017-11-03 Yao Qi <yao.qi@linaro.org>
2205
2206 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2207 in GDB is disabled.
2208
2209 2017-11-03 Yao Qi <yao.qi@linaro.org>
2210
2211 * gdb.python/py-thrhandle.exp: Skip it if python is not
2212 enabled.
2213
2214 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2215
2216 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2217 as a breakpoint command.
2218
2219 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2220
2221 PR python/21213
2222 * gdb.python/py-infthread.exp: Test calling
2223 InferiorThread.inferior () multiple times in a row.
2224
2225 2017-10-27 Keith Seitz <keiths@redhat.com>
2226
2227 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2228 Test "info break" for every inlined function breakpoint.
2229
2230 2017-10-27 Yao Qi <yao.qi@linaro.org>
2231
2232 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2233
2234 2017-10-26 Patrick Frants <osscontribute@gmail.com>
2235
2236 * gdb.cp/classes.exp (test_static_members): Test printing
2237 Outer::instance.
2238 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2239 (Inner::instance, Outer::instance): New.
2240
2241 2017-10-24 Pedro Alves <palves@redhat.com>
2242
2243 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2244 extra console" test in two stages.
2245
2246 2017-10-24 Pedro Alves <palves@redhat.com>
2247
2248 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2249
2250 2017-10-24 Pedro Alves <palves@redhat.com>
2251
2252 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2253 loop.
2254
2255 2017-10-24 Pedro Alves <palves@redhat.com>
2256
2257 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2258 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2259
2260 2017-10-24 Pedro Alves <palves@redhat.com>
2261
2262 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2263 parameter and handle it. Don't output read value in test name.
2264
2265 2017-10-24 Pedro Alves <palves@redhat.com>
2266
2267 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2268 custom test name.
2269
2270 2017-10-24 Pedro Alves <palves@redhat.com>
2271
2272 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2273 include the unstable output directory name in the test's name.
2274 (initial_setup_simple) <'set args'>: Use custom test name.
2275
2276 2017-10-24 Pedro Alves <palves@redhat.com>
2277
2278 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2279 with explicit test name.
2280
2281 2017-10-20 Pedro Alves <palves@redhat.com>
2282
2283 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2284 'wait -i'. Use gdb_assert and remote_close.
2285
2286 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2287
2288 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2289 number from variable rather than hard-coded.
2290
2291 2017-10-19 Pedro Alves <palves@redhat.com>
2292
2293 * gdb.base/long-inferior-output.c: New file.
2294 * gdb.base/long-inferior-output.exp: New file.
2295
2296 2017-11-18 Keith Seitz <keiths@redhat.com>
2297
2298 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2299 method.
2300 (main): Call it.
2301 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2302 Add additional user-defined conversion operator tests.
2303
2304 2017-10-17 Pedro Alves <palves@redhat.com>
2305
2306 * boards/native-stdio-gdbserver.exp: Load "local-board".
2307
2308 2017-10-17 Pedro Alves <palves@redhat.com>
2309
2310 * gdb.base/quit-live.c: New file.
2311 * gdb.base/quit-live.exp: New file.
2312
2313 2017-10-16 Keith Seitz <keiths@redhat.com>
2314
2315 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2316 (class_with_protected_typedef, class_with_private_typedef)
2317 (struct_with_public_typedef, struct_with_protected_typedef)
2318 (struct_with_private_typedef): New classes/structs.
2319 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2320 typedefs and access specifiers.
2321
2322 2017-10-16 Pedro Alves <palves@redhat.com>
2323 Simon Marchi <simon.marchi@polymtl.ca>
2324
2325 * README (Local vs Remote vs Native): New section.
2326 * boards/local-board.exp: New file, with bits factored out from
2327 ...
2328 * boards/native-extended-gdbserver.exp: ... here. Load
2329 "local-board".
2330 * boards/native-gdbserver.exp: Load "local-board".
2331 (${board}_spawn, ${board}_exec): Delete.
2332 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2333 ...
2334 * boards/stdio-gdbserver-base.exp: ... this new file.
2335 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2336 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2337 procedure.
2338 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2339 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2340 stdio_gdbserver_command.
2341 (${board}_get_remote_address, ${board}_get_comm_port)
2342 (${board}_download, ${board}_upload): Delete.
2343 (get_target_remote_pipe_cmd): New.
2344
2345 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2346
2347 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2348 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2349 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2350 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2351 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2352 remove with_test_prefix.
2353
2354 2017-10-13 Pedro Alves <palves@redhat.com>
2355
2356 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2357 * gdb.base/annota1.exp: Use it instead of is_remote.
2358 * gdb.base/annota3.exp: Use it instead of is_remote.
2359 * gdb.cp/annota2.exp: Use it instead of is_remote.
2360 * gdb.cp/annota3.exp: Use it instead of is_remote.
2361 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2362
2363 2017-10-13 Pedro Alves <palves@redhat.com>
2364
2365 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2366 (test_num_test_vars, run_and_count_vars, find_env)
2367 (test_set_unset_env, test_inherit_env_var): New procedures.
2368 (top level): Use them.
2369
2370 2017-10-13 Pedro Alves <palves@redhat.com>
2371
2372 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2373 also skip on stub-like targets.
2374
2375 2017-10-13 Pedro Alves <palves@redhat.com>
2376
2377 PR gdb/22293
2378 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2379 (top level): Move some tests to ...
2380 (test_not_found): ... this new procedure.
2381 (top level): Call it.
2382
2383 2017-10-13 Pedro Alves <palves@redhat.com>
2384
2385 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2386 expect different "info terminal" output if testing with a
2387 non-native target.
2388
2389 2017-10-13 Pedro Alves <palves@redhat.com>
2390 Simon Marchi <simon.marchi@polymtl.ca>
2391
2392 PR python/12966
2393 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2394
2395 2017-10-13 Pedro Alves <palves@redhat.com>
2396
2397 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2398 already.
2399
2400 2017-10-13 Pedro Alves <palves@redhat.com>
2401
2402 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2403 is_remote.
2404
2405 2017-10-13 Pedro Alves <palves@redhat.com>
2406
2407 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2408 is_remote.
2409
2410 2017-10-13 Pedro Alves <palves@redhat.com>
2411
2412 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2413 is set.
2414 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2415 instead of is_remote.
2416
2417 2017-10-13 Pedro Alves <palves@redhat.com>
2418
2419 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2420 (top level): Add comment.
2421
2422 2017-10-13 Pedro Alves <palves@redhat.com>
2423
2424 * gdb.base/remote.exp (top level): Fix comment typo and add
2425 missing return.
2426
2427 2017-10-13 Pedro Alves <palves@redhat.com>
2428 Simon Marchi <simon.marchi@polymtl.ca>
2429
2430 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2431 calls and add comments. Skip test if use_gdb_stub is set.
2432 (top level): Use "set cwd" command instead of "cd" command.
2433
2434 2017-10-13 Pedro Alves <palves@redhat.com>
2435
2436 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2437 is_remote target check.
2438
2439 2017-10-13 Pedro Alves <palves@redhat.com>
2440
2441 * gdb.base/scope.exp: Use build_executable + clean_restart +
2442 gdb_file_cmd instead of prepare_for_testing and no longer skip
2443 "before run" tests on is_remote target boards. Update comments.
2444 * boards/native-extended-gdbserver.exp
2445 (extended_gdbserver_load_last_file): New, factored out from ...
2446 (gdb_load): ... this. Move further below and add comment.
2447 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2448
2449 2017-10-12 Pedro Alves <palves@redhat.com>
2450
2451 * gdb.base/attach.exp: Remove references to gdb64.
2452 * gdb.base/dbx.exp: Remove references to gdb64.
2453
2454 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2455 Pedro Alves <palves@redhat.com>
2456
2457 * gdb.base/label.exp: Remove is_remote target check.
2458
2459 2017-10-12 Pedro Alves <palves@redhat.com>
2460
2461 * gdb.base/auvx.exp (coredir): Update comment.
2462 (top level) <core_works>: Use "set cwd" command instead of "cd"
2463 command.
2464
2465 2017-10-12 Pedro Alves <palves@redhat.com>
2466 Simon Marchi <simon.marchi@polymtl.ca>
2467
2468 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2469 target boards.
2470
2471 2017-10-12 Pedro Alves <palves@redhat.com>
2472 Simon Marchi <simon.marchi@polymtl.ca>
2473
2474 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2475 Instead skip if there's any gdb_protocol set.
2476
2477 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2478 Pedro Alves <palves@redhat.com>
2479
2480 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2481
2482 2017-10-12 Pedro Alves <palves@redhat.com>
2483 Simon Marchi <simon.marchi@polymtl.ca>
2484
2485 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2486 instead of on dejagnu remote boards.
2487
2488 2017-10-12 Pedro Alves <palves@redhat.com>
2489 Simon Marchi <simon.marchi@polymtl.ca>
2490
2491 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2492 checks. Use build_executable + clean_restart instead of
2493 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2494 of enabling non-stop after starting gdb.
2495
2496 2017-10-12 Pedro Alves <palves@redhat.com>
2497
2498 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2499 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2500 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2501 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2502
2503 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2504
2505 * gdb.arch/arc-tdesc-cpu.exp: New file.
2506 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2507
2508 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2509
2510 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2511
2512 2017-10-10 Pedro Alves <palves@redhat.com>
2513
2514 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2515 expect CLI output.
2516
2517 2017-10-10 Pedro Alves <palves@redhat.com>
2518
2519 * lib/selftest-support.exp (selftest_setup): Update for
2520 captured_command_loop's prototype change.
2521
2522 2017-10-09 Pedro Alves <palves@redhat.com>
2523
2524 Test both arch1=>arch2 and arch2=>arch1.
2525
2526 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2527 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2528 factored out to...
2529 (append_arch1_options, append_arch2_options, append_arch_options)
2530 (build_executables): New procedures.
2531 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2532 local.
2533 (top level): Add new 'first_arch' testing axis.
2534
2535 2017-10-09 Pedro Alves <palves@redhat.com>
2536
2537 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2538 (barrier): New.
2539 (thread_start, all_started): New functions.
2540 (main): Spawn new thread and wait until it is scheduled.
2541 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2542 option.
2543 (do_test): Add 'selected_thread' parameter. Run to all_started
2544 instead of main. Explicitly set the breakpoint at main. Switch
2545 to the SELECTED_THREAD thread.
2546 (top level): Test handling the exec event with either the main
2547 thread or the second thread selected.
2548
2549 2017-10-09 Pedro Alves <palves@redhat.com>
2550
2551 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2552 logic. Move STOP marker after the value checks.
2553 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2554 regexp.
2555
2556 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2557
2558 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2559
2560 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2561
2562 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2563 integer-to-dfp conversion.
2564 * gdb.base/dfp-test.exp: Likewise.
2565
2566 2017-10-04 Pedro Alves <palves@redhat.com>
2567
2568 * gdb.multi/hangout.c: Include <unistd.h>.
2569 (hangout_loop): New function.
2570 (main): Call alarm. Call hangout_loop in a loop.
2571 * gdb.multi/hello.c: Include <unistd.h>.
2572 (hello_loop): New function.
2573 (main): Call alarm. Call hangout_loop in a loop.
2574 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2575 inferior with the other selected.
2576
2577 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2578
2579 * gdb.mi/list-thread-groups-available.exp: New file.
2580 * gdb.mi/list-thread-groups-available.c: New file.
2581
2582 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2583
2584 * gdb.base/set-cwd.exp: Make it available on
2585 native-extended-gdbserver.
2586
2587 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2588
2589 * gdb.base/set-cwd.c: New file.
2590 * gdb.base/set-cwd.exp: Likewise.
2591
2592 2017-10-02 Tom Tromey <tom@tromey.com>
2593
2594 PR rust/22236:
2595 * gdb.rust/simple.rs (main): New variable "fslice".
2596 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2597
2598 2017-10-02 Tom Tromey <tom@tromey.com>
2599
2600 * gdb.rust/simple.exp: Test ptype of a slice.
2601
2602 2017-10-02 Tom Tromey <tom@tromey.com>
2603
2604 * gdb.rust/simple.exp: Test index of slice.
2605
2606 2017-09-27 Tom Tromey <tom@tromey.com>
2607
2608 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2609
2610 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2611 Pedro Alves <palves@redhat.com>
2612
2613 * gdb.base/compare-sections.exp (get value of read-only section): Read
2614 as unsigned value.
2615 (corrupt read-only section): Likewise and don't set written if patching
2616 failed.
2617
2618 2017-09-21 Kevin Buettner <kevinb@redhat.com>
2619
2620 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2621 files.
2622
2623 2017-09-20 Pedro Alves <palves@redhat.com>
2624
2625 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2626 symbol names in gdb's output.
2627 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2628
2629 2017-09-20 Pedro Alves <palves@redhat.com>
2630
2631 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2632 Rename to ...
2633 (test_list_ambiguous_symbol): ... this and add a symbol name
2634 parameter. Adjust.
2635 (test_list_ambiguous_function): Reimplement on top of
2636 test_list_ambiguous_symbol and also test listing ambiguous
2637 variables.
2638 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2639 (ambiguous_fun): ... this.
2640 (ambiguous_var): New.
2641 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2642 (ambiguous_fun): ... this.
2643 (ambiguous_var): New.
2644
2645 2017-09-19 John Baldwin <jhb@FreeBSD.org>
2646
2647 * gdb.base/starti.c: New file.
2648 * gdb.base/starti.exp: New file.
2649 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2650
2651 2017-09-14 Pedro Alves <palves@redhat.com>
2652
2653 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2654 (top level): Use it instead of runto.
2655
2656 2017-09-11 Tom Tromey <tom@tromey.com>
2657
2658 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2659
2660 2017-09-11 Tom Tromey <tom@tromey.com>
2661
2662 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2663 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2664
2665 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2666
2667 * gdb.fortran/printing-types.exp: New file.
2668 * gdb.fortran/printing-types.exp: New file.
2669
2670 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2671
2672 * gdb.fortran/vla-ptype.exp: Fix typos.
2673 * gdb.fortran/vla-value.exp: Same.
2674
2675 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2676
2677 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2678 * gdb.mi/mi-var-child-f.exp: Likewise.
2679 * gdb.mi/mi-vla-fortran.exp: Likewise.
2680
2681 2017-09-08 Frank Penczek <frank.penczek@intel.com>
2682 Christoph Weinmann <christoph.t.weinmann@intel.com>
2683 Bernhard Heckel <bernhard.heckel@intel.com>
2684
2685 * gdb.fortran/ptr-indentation.f90: New file.
2686 * gdb.fortran/ptr-indentation.exp: New file.
2687
2688 2017-09-05 Tom Tromey <tom@tromey.com>
2689
2690 PR gdb/22010:
2691 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2692
2693 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2694
2695 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2696
2697 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2698
2699 * gdb.threads/tls-nodebug-pie.c: New file.
2700 * gdb.threads/tls-nodebug-pie.exp: New file.
2701
2702 2017-09-05 Tom Tromey <tom@tromey.com>
2703
2704 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2705 for rust.
2706
2707 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
2708
2709 * gdb.multi/multi-arch-exec.exp: Test with different
2710 "follow-exec-mode" settings.
2711 (do_test): New procedure.
2712
2713 2017-09-04 Pedro Alves <palves@redhat.com>
2714
2715 * gdb.base/func-static.c (S::method const, S::method volatile)
2716 (S::method volatile const): New methods.
2717 (c_s, v_s, cv_s): New instances.
2718 (main): Call method() on them.
2719 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2720 (cannot_resolve): New procedure.
2721 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
2722 print-quote-unquoted columns.
2723 (do_test): Test printing each scope too.
2724
2725 2017-09-04 Pedro Alves <palves@redhat.com>
2726
2727 * gdb.base/local-static.exp: Also test with
2728 class::method::variable wholly quoted.
2729 * gdb.cp/m-static.exp (class::method::variable): Remove test.
2730
2731 2017-09-04 Pedro Alves <palves@redhat.com>
2732
2733 * gdb.base/local-static.c: New.
2734 * gdb.base/local-static.cc: New.
2735 * gdb.base/local-static.exp: New.
2736
2737 2017-09-04 Pedro Alves <palves@redhat.com>
2738
2739 * gdb.asm/asm-source.exp: Add casts to int.
2740 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2741 (dataglobal64_1, dataglobal64_2): New globals.
2742 * gdb.base/nodebug.exp: Test different expressions involving the
2743 new globals, with print, whatis and ptype. Add casts to int.
2744 * gdb.base/solib-display.exp: Add casts to int.
2745 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
2746 * gdb.cp/m-static.exp: Add cast to int.
2747 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2748 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2749 tls variable with no debug info without a cast. Test with a cast
2750 to int too.
2751 * gdb.trace/entry-values.exp: Add casts.
2752
2753 2017-09-04 Pedro Alves <palves@redhat.com>
2754
2755 * gdb.base/nodebug.exp: Test that ptype's error about functions
2756 with unknown return type includes the function name too.
2757
2758 2017-09-04 Pedro Alves <palves@redhat.com>
2759
2760 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2761 return type of munmap in infcall.
2762 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2763 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2764 type of ftell in infcall.
2765 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2766 type of getpid in infcall.
2767 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2768 infcall.
2769 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2770 Bail on failure to extract the pid.
2771 * gdb.base/nodebug.c: #include <stdint.h>.
2772 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2773 New functions.
2774 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2775 Change expected output of print/whatis/ptype with functions with
2776 no debug info. Test all supported languages. Call
2777 test_call_promotion.
2778 * gdb.compile/compile.exp: Adjust expected output to expect
2779 warning.
2780 * gdb.threads/siginfo-threads.exp: Likewise.
2781
2782 2017-09-04 Pedro Alves <palves@redhat.com>
2783
2784 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2785 "prototypes". Test calling float functions via prototyped and
2786 unprototyped function pointers.
2787 (perform_all_tests): New parameter "prototypes". Pass it down.
2788 (top level): Pass down "prototypes" parameter to
2789 perform_all_tests.
2790
2791 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2792
2793 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2794 Test with nested loops.
2795
2796 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2797
2798 * gdb.base/commands.exp: Call the new procedures.
2799 (loop_break_test, loop_continue_test): New procedures.
2800
2801 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2802
2803 * gdb.base/commands.exp: Call new procedure.
2804 (define_if_without_arg_test): New procedure.
2805
2806 2017-09-04 Pedro Alves <palves@redhat.com>
2807
2808 * gdb.base/list-ambiguous.exp: New file.
2809 * gdb.base/list-ambiguous0.c: New file.
2810 * gdb.base/list-ambiguous1.c: New file.
2811 * gdb.base/list.exp (test_list_range): Adjust expected output.
2812
2813 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2814
2815 * gdb.base/share-env-with-gdbserver.c: New file.
2816 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2817
2818 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2819
2820 * gdb.base/commands.exp (gdbvar_simple_if_test,
2821 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2822 progvar_simple_if_test, progvar_simple_while_test,
2823 progvar_complex_if_while_test, user_defined_command_test,
2824 user_defined_command_args_eval,
2825 user_defined_command_args_stack_test,
2826 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2827 temporary_breakpoint_commands,
2828 gdb_test_no_prompt, redefine_hook_test,
2829 redefine_backtrace_test): Remove "global gdb_prompt".
2830
2831 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2832
2833 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2834 New proc, call it from toplevel.
2835
2836 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2837
2838 PR remote/21852
2839 * gdb.server/normal.c: New file, copied from gdb.base.
2840 * gdb.server/run-without-local-binary.exp: New file.
2841
2842 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
2843
2844 * gdb.arch/sparc64-adi.exp: New file.
2845 * gdb.arch/sparc64-adi.c: New file.
2846
2847 2017-08-22 Pedro Alves <palves@redhat.com>
2848
2849 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2850 (top level): Add "list all overloads" tests.
2851
2852 2017-08-22 Tom Tromey <tom@tromey.com>
2853
2854 * gdb.gdb/xfullpath.exp: Remove.
2855
2856 2017-08-21 Pedro Alves <palves@redhat.com>
2857
2858 PR gdb/19487
2859 * gdb.base/symbol-alias.c: New.
2860 * gdb.base/symbol-alias2.c: New.
2861 * gdb.base/symbol-alias.exp: New.
2862
2863 2017-08-21 Pedro Alves <palves@redhat.com>
2864
2865 * gdb.base/dfp-test.c
2866 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2867 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2868 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2869 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2870 * gdb.base/whatis-ptype-typedefs.c: New.
2871 * gdb.base/whatis-ptype-typedefs.exp: New.
2872 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2873 (an_int, an_int_type, an_int_type2): New globals.
2874 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2875 involving typedefs and cast expressions.
2876 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2877 (lookup_typedefs_function): New.
2878 (typedefs_pretty_printers_dict): New.
2879 (top level): Register lookup_typedefs_function in
2880 gdb.pretty_printers.
2881
2882 2017-08-18 Yao Qi <yao.qi@linaro.org>
2883
2884 * gdb.server/unittest.exp: New.
2885
2886 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2887
2888 PR gdb/21954
2889 * gdb.base/environ.exp: Add test to check if 'unset environment'
2890 works.
2891
2892 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2893
2894 * lib/gdb.exp (universal_compile_options): New caching proc.
2895 (gdb_compile): Suppress GCC's coloring of messages.
2896
2897 2017-08-14 Tom Tromey <tom@tromey.com>
2898
2899 PR gdb/21675:
2900 * gdb.base/printcmds.exp (test_radices): New function.
2901 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2902 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2903 * lib/gdb.exp (get_integer_valueof): Use p/d.
2904
2905 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2906
2907 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2908 characters.
2909
2910 2017-08-05 Tom Tromey <tom@tromey.com>
2911
2912 * gdb.rust/simple.exp: Allow String to appear in a different
2913 namespace.
2914
2915 2017-07-26 Yao Qi <yao.qi@linaro.org>
2916
2917 * gdb.gdb/unittest.exp: Invoke command
2918 "maintenance check xml-descriptions".
2919
2920 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2921
2922 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2923 calling context.
2924 (hex128): Drop erroneous calculation of parameters.
2925
2926 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2927
2928 * gdb.python/py-unwind.exp: Disable stack protection when
2929 building test file.
2930
2931 2017-07-20 Pedro Alves <palves@redhat.com>
2932
2933 * gdb.base/default.exp (set language): Adjust expected output.
2934
2935 2017-07-20 Pedro Alves <palves@redhat.com>
2936
2937 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2938 (test_minsym): ... this, and make static.
2939 (get_pck__foo__bar__minsym): Rename to ...
2940 (get_test_minsym): ... this.
2941 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2942 symbol names and comments.
2943 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2944 (get_test_minsym): ... this.
2945 (pck__foo__bar__minsym__2): Rename to ...
2946 (test_minsym): ... this.
2947 (main): Adjust.
2948
2949 2017-07-17 Pedro Alves <palves@redhat.com>
2950
2951 * gdb.base/completion.exp: Adjust expected output.
2952 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2953 the completer works.
2954
2955 2017-07-17 Pedro Alves <palves@redhat.com>
2956
2957 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2958
2959 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2960
2961 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2962
2963 2017-07-14 Tom Tromey <tom@tromey.com>
2964
2965 PR rust/21764:
2966 * gdb.rust/simple.exp: Add tests.
2967
2968 2017-07-14 Tom Tromey <tom@tromey.com>
2969
2970 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2971
2972 2017-07-14 Pedro Alves <palves@redhat.com>
2973
2974 * gdb.linespec/base/one/thefile.cc (z1): New function.
2975 * gdb.linespec/base/two/thefile.cc (z2): New function.
2976 * gdb.linespec/linespec.exp: Add tests.
2977
2978 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2979
2980 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2981 to mi_create_breakpoint.
2982
2983 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2984
2985 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2986 mi_create_breakpoint.
2987
2988 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2989
2990 * gdb.dlang/demangle.exp: Update for demangling changes.
2991
2992 2017-07-09 Tom Tromey <tom@tromey.com>
2993
2994 * gdb.dwarf2/shortpiece.exp: New file.
2995
2996 2017-07-06 David Blaikie <dblaikie@gmail.com>
2997
2998 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2999 built from fissiont-multi-cu{1,2}.c.
3000 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3001 except putting 'main' and 'func' in separate CUs in the same DWO file.
3002 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3003 test.
3004 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3005 test.
3006
3007 2017-07-06 Pedro Alves <palves@redhat.com>
3008
3009 * gdb.python/py-unwind.exp: Test flushregs.
3010
3011 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3012
3013 PR cli/21688
3014 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3015 tests for alias commands and trailing whitespace.
3016
3017 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3018
3019 PR cli/21688
3020 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3021 procedure. Call it.
3022
3023 2017-06-29 Pedro Alves <palves@redhat.com>
3024
3025 * gdb.base/printcmds.exp: Add tests.
3026
3027 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
3028
3029 PR gdb/21337
3030 * gdb.base/reread-readsym.exp: New file.
3031 * gdb.base/reread-readsym.c: New file.
3032
3033 2017-06-21 Kevin Buettner <kevinb@redhat.com>
3034
3035 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3036 subpattern.
3037
3038 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
3039
3040 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3041 extended mnemonic.
3042 * gdb.arch/powerpc-power9.s: Likewise.
3043
3044 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3045
3046 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3047 on 32-bit x86 targets. Exploit is_*_target macros where
3048 appropriate.
3049
3050 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3051
3052 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3053 register pieces.
3054
3055 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3056
3057 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3058 located in one or more DWARF pieces.
3059
3060 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3061
3062 * lib/gdb.exp (get_endianness): New proc.
3063 * gdb.arch/aarch64-fp.exp: Use it.
3064 * gdb.arch/altivec-regs.exp: Likewise.
3065 * gdb.arch/e500-regs.exp: Likewise.
3066 * gdb.arch/vsx-regs.exp: Likewise.
3067 * gdb.base/dump.exp: Likewise.
3068 * gdb.base/funcargs.exp: Likewise.
3069 * gdb.base/gnu_vector.exp: Likewise.
3070 * gdb.dwarf2/formdata16.exp: Likewise.
3071 * gdb.dwarf2/implptrpiece.exp: Likewise.
3072 * gdb.dwarf2/nonvar-access.exp: Likewise.
3073 * gdb.python/py-inferior.exp: Likewise.
3074 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3075
3076 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3077
3078 PR gdb/21226
3079 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3080 stack value pieces are taken from the LSB end.
3081
3082 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3083
3084 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3085 variable at nonzero offset.
3086
3087 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3088
3089 * gdb.dwarf2/var-access.c: New file.
3090 * gdb.dwarf2/var-access.exp: New test.
3091 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3092
3093 2017-06-12 Tom Tromey <tom@tromey.com>
3094
3095 * gdb.dwarf2/formdata16.exp: Add tests.
3096
3097 2017-06-12 Tom Tromey <tom@tromey.com>
3098
3099 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3100
3101 2017-06-12 Tom Tromey <tom@tromey.com>
3102
3103 PR exp/16225:
3104 * gdb.reverse/i386-sse-reverse.exp: Update tests.
3105 * gdb.arch/vsx-regs.exp: Update tests.
3106 * gdb.arch/s390-vregs.exp (hex128): New proc.
3107 Update test.
3108 * gdb.arch/altivec-regs.exp: Update tests.
3109
3110 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3111
3112 * gdb.base/startup-with-shell.c: New file.
3113 * gdb.base/startup-with-shell.exp: Likewise.
3114
3115 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3116
3117 * gdb.server/non-existing-program.exp: Update regex in order to
3118 reflect the fact that gdbserver is now using fork_inferior (with a
3119 shell) to startup the inferior.
3120
3121 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
3122
3123 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3124 support function calls from GDB.
3125
3126 2017-05-21 Tom Tromey <tom@tromey.com>
3127
3128 PR rust/21466:
3129 * gdb.rust/unsized.exp: New file.
3130 * gdb.rust/unsized.rs: New file.
3131
3132 2017-05-19 Tom Tromey <tom@tromey.com>
3133
3134 PR rust/21484:
3135 * gdb.rust/watch.exp: New file.
3136 * gdb.rust/watch.rs: New file.
3137
3138 2017-05-18 Tom Tromey <tom@tromey.com>
3139
3140 * gdb.rust/simple.exp: Allow Box to be qualified.
3141
3142 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3143
3144 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3145
3146 2017-05-18 Pedro Alves <palves@redhat.com>
3147
3148 * gdb.base/fileio.c (test_write, test_read, test_close)
3149 (test_fstat): Don't print 'ret' in the fail path.
3150
3151 2017-05-18 Pedro Alves <palves@redhat.com>
3152
3153 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3154 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3155 (test_system, test_rename, test_unlink, test_time): Change
3156 prototypes.
3157 * gdb.base/fileio.exp (stop_msg): Adjust.
3158
3159 2017-05-18 Pedro Alves <palves@redhat.com>
3160
3161 * gdb.base/fileio.c (null_str): New global.
3162 (test_stat): Use it.
3163 * gdb.base/fileio.exp: Remove nowarnings.
3164
3165 2017-05-17 Yao Qi <yao.qi@linaro.org>
3166
3167 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3168
3169 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
3170
3171 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3172 argument command.
3173 (top-level): Invoke test_set_inferior_tty.
3174
3175 2017-05-04 Pedro Alves <palves@redhat.com>
3176
3177 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3178 Add parens to print call for Python 3.
3179
3180 2017-05-03 Keith Seitz <keiths@redhat.com>
3181
3182 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3183 (main): Call it.
3184
3185 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3186
3187 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3188 to prev and next.
3189
3190 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3191
3192 * gdb.python/py-record-btrace.exp: Remove test for
3193 gdb.BtraceInstruction.error.
3194
3195 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3196
3197 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3198
3199 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3200
3201 * gdb.python/py-record-btrace-threads.c: New file.
3202 * gdb.python/py-record-btrace-threads.exp: New file.
3203
3204 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3205
3206 PR testsuite/8595
3207 * gdb.base/environ.exp: Make test available in all architectures.
3208 Move bits related to "info program" testing to
3209 gdb.base/info-program.exp. Rewrite tests to use the two new
3210 procedures mentione below.
3211 (test_set_show_env_var) New procedure.
3212 (test_set_show_env_var_equal): Likewise.
3213 * gdb.base/info-program.exp: New file.
3214
3215 2017-04-27 Keith Seitz <keiths@redhat.com>
3216
3217 * gdb.cp/oranking.cc (test15): New function.
3218 (main): Call test15 and declare additional variables for testing.
3219 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3220 "p foo101('abc')" tests.
3221 Add tests for cv qualifier overloads.
3222 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3223 "lvalue reference overload" test.
3224 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3225 "print value of f1 on Child&& in f2" test.
3226
3227 2017-04-19 Pedro Alves <palves@redhat.com>
3228
3229 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3230 procedure.
3231 (top level): Call it.
3232 * lib/gdb.exp (gdb_define_cmd): New procedure.
3233
3234 2017-04-12 Pedro Alves <palves@redhat.com>
3235
3236 PR gdb/21323
3237 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3238 (wchar): New global.
3239 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3240 (do_test_wide_char, wide_char_types_no_program, top level): Add
3241 wchar_t testing.
3242
3243 2017-04-12 Pedro Alves <palves@redhat.com>
3244
3245 PR c++/21323
3246 * gdb.cp/wide_char_types.c: New file.
3247 * gdb.cp/wide_char_types.exp: New file.
3248
3249 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3250
3251 PR gdb/21352
3252 * gdb.trace/tsv.exp: Add test for "tsave -r".
3253
3254 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3255
3256 * gdb.dlang/watch-loc.c: New file.
3257 * gdb.dlang/watch-loc.exp: New file.
3258
3259 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3260
3261 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3262
3263 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3264
3265 * gdb.arch/arc-analyze-prologue.S: New file.
3266 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3267
3268 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3269
3270 * gdb.arch/arc-decode-insn.S: New file.
3271 * gdb.arch/arc-decode-insn.exp: Likewise.
3272
3273 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3274
3275 PR tdep/20928
3276 * gdb.arch/sparc64-regs.exp: New file.
3277 * gdb.arch/sparc64-regs.S: Likewise.
3278
3279 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3280
3281 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3282 and memory view on Python 3.
3283
3284 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
3285 Keith Seitz <keiths@redhat.com>
3286
3287 PR gdb/14441
3288 * gdb.cp/demangle.exp: Add rvalue reference tests.
3289 * gdb.cp/rvalue-ref-casts.cc: New file.
3290 * gdb.cp/rvalue-ref-casts.exp: New file.
3291 * gdb.cp/rvalue-ref-overload.cc: New file.
3292 * gdb.cp/rvalue-ref-overload.exp: New file.
3293 * gdb.cp/rvalue-ref-params.cc: New file.
3294 * gdb.cp/rvalue-ref-params.exp: New file.
3295 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3296 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3297 * gdb.cp/rvalue-ref-types.cc: New file.
3298 * gdb.cp/rvalue-ref-types.exp: New file.
3299 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3300 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3301
3302 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3303
3304 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3305 New procedure.
3306
3307 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3308
3309 * lib/mi-support.exp (mi_gdb_test): Add additional message
3310 for unexpected output.
3311
3312 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3313
3314 * gdb.base/examine-backward.c (Barrier): New character array
3315 constant, to ensure that TestStrings is preceded by a string
3316 terminator.
3317
3318 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3319
3320 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3321 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3322 and implicit pointer into such a location.
3323
3324 2017-03-16 Doug Evans <dje@google.com>
3325
3326 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3327
3328 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3329
3330 * gdb.cp/m-static.exp: Fix expectation for prototype of
3331 test5.single_constructor and single_constructor::single_constructor.
3332
3333 2017-03-16 Doug Evans <dje@google.com>
3334
3335 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3336 * gdb.guile/scm-lazy-string.c: New file.
3337 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3338 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3339 for pointer, array, typedef lazy strings.
3340
3341 2017-03-16 Doug Evans <dje@google.com>
3342
3343 PR python/17728, python/18439, python/18779
3344 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3345 * gdb.python/py-lazy-string.c (pointer): New typedef.
3346 (main): New locals ptr, array, typedef_ptr.
3347 * gdb.python/py-value.exp: Move lazy string tests to ...
3348 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3349 array, typedef lazy strings.
3350
3351 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3352
3353 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3354 Add optional 'test' parameter.
3355
3356 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3357
3358 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3359 Skip for versions of DejaGnu < 1.5.
3360
3361 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3362
3363 * lib/gdb.exp (dejagnu_version): New proc.
3364 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3365 Use dejagnu_version.
3366
3367 2017-03-10 Keith Seitz <keiths@redhat.com>
3368
3369 PR c++/8128
3370 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3371 type from destructor regexps.
3372 Add a branch which actually passes the test.
3373 Adjust "ptype t5i" test names.
3374
3375 2017-03-08 Pedro Alves <palves@redhat.com>
3376
3377 * gdb.base/step-over-exit.exp: Add explicit test message.
3378
3379 2017-03-08 Pedro Alves <palves@redhat.com>
3380
3381 PR gdb/18360
3382 * gdb.threads/interrupt-while-step-over.c: New file.
3383 * gdb.threads/interrupt-while-step-over.exp: New file.
3384
3385 2017-03-08 Pedro Alves <palves@redhat.com>
3386
3387 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3388 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3389
3390 2017-03-08 Pedro Alves <palves@redhat.com>
3391
3392 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3393 PKRU as not supported as a PASS.
3394
3395 2017-03-08 Pedro Alves <palves@redhat.com>
3396
3397 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3398 prefix instead of $binfile1/$binfile2.
3399 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3400 in test message.
3401 * gdb.python/py-completion.exp: Use "load python file" as test
3402 messages instead of unstable path names.
3403
3404 2017-03-08 Pedro Alves <palves@redhat.com>
3405 Jan Kratochvil <jan.kratochvil@redhat.com>
3406
3407 PR cli/21218
3408 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3409 New proc.
3410 (top level): Call it.
3411
3412 2017-03-08 Pedro Alves <palves@redhat.com>
3413
3414 PR tui/21216
3415 * gdb.tui/tui-nl-filtered-output.exp: New file.
3416
3417 2017-03-08 Pedro Alves <palves@redhat.com>
3418
3419 * gdb.base/completion.exp: Move TUI completion tests to ...
3420 * gdb.tui/completion.exp: ... this new file.
3421
3422 2017-03-08 Pedro Alves <palves@redhat.com>
3423
3424 * gdb.base/tui-disasm-long-lines.c,
3425 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3426 gdb.base/tui-layout.exp: Move to ...
3427 * gdb.tui/: ... this new directory.
3428
3429 2017-03-07 Pedro Alves <palves@redhat.com>
3430
3431 * gdb.base/tui-layout.c: New file.
3432 * gdb.base/tui-layout.exp: New file.
3433
3434 2017-03-07 Pedro Alves <palves@redhat.com>
3435
3436 * gdb.base/tui-layout.c: Rename to ...
3437 * gdb.base/tui-disasm-long-lines.c: ... this.
3438 * gdb.base/tui-layout.exp: Rename to ...
3439 * gdb.base/tui-disasm-long-lines.exp: ... this.
3440
3441 2017-03-07 Pedro Alves <palves@redhat.com>
3442
3443 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3444
3445 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3446
3447 * i386-mpx-call.c: New file.
3448 * i386-mpx-call.exp: New file.
3449
3450 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3451
3452 * gdb.arch/powerpc-power.exp: Delete test.
3453 * gdb.arch/powerpc-power.s: Likewise.
3454 * gdb.disasm/disassembler-options.exp: New test.
3455 * gdb.arch/powerpc-altivec.exp: Likewise.
3456 * gdb.arch/powerpc-altivec.s: Likewise.
3457 * gdb.arch/powerpc-altivec2.exp: Likewise.
3458 * gdb.arch/powerpc-altivec2.s: Likewise.
3459 * gdb.arch/powerpc-altivec3.exp: Likewise.
3460 * gdb.arch/powerpc-altivec3.s: Likewise.
3461 * gdb.arch/powerpc-power7.exp: Likewise.
3462 * gdb.arch/powerpc-power7.s: Likewise.
3463 * gdb.arch/powerpc-power8.exp: Likewise.
3464 * gdb.arch/powerpc-power8.s: Likewise.
3465 * gdb.arch/powerpc-power9.exp: Likewise.
3466 * gdb.arch/powerpc-power9.s: Likewise.
3467 * gdb.arch/powerpc-vsx.exp: Likewise.
3468 * gdb.arch/powerpc-vsx.s: Likewise.
3469 * gdb.arch/powerpc-vsx2.exp: Likewise.
3470 * gdb.arch/powerpc-vsx2.s: Likewise.
3471 * gdb.arch/powerpc-vsx3.exp: Likewise.
3472 * gdb.arch/powerpc-vsx3.s: Likewise.
3473 * gdb.arch/arm-disassembler-options.exp: Likewise.
3474 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3475 * gdb.arch/s390-disassembler-options.exp: Likewise.
3476
3477 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
3478
3479 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3480 (check_supported_features): ... this. Changed return type to void.
3481 (supports_rdseed): New static global.
3482 (rdseed): Check supports_rdseed.
3483 (initialize): Call check_supported_features.
3484
3485 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3486
3487 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3488 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3489 and lqarx/stqcx.
3490 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3491 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3492
3493 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3494
3495 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3496 uppercase.
3497
3498 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3499
3500 * gdb.dwarf2/formdata16.c: New file.
3501 * gdb.dwarf2/formdata16.exp: New file.
3502 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3503
3504 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3505
3506 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3507 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3508 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3509 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3510 DW_AT_GNU_*.
3511
3512 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3513
3514 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3515
3516 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3517
3518 PR gdb/21164
3519 * gdb.base/maint.exp: Add testcases for when the commands do
3520 not have arguments.
3521
3522 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3523
3524 * gdb.cp/chained-calls.exp: Use p instead of P.
3525
3526 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3527
3528 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3529 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3530
3531 2017-02-14 Tom Tromey <tom@tromey.com>
3532
3533 PR python/13598:
3534 * gdb.python/py-events.exp: Add before_prompt event tests.
3535
3536 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3537
3538 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3539
3540 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3541
3542 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3543 (main): Call my_unique_function_name.
3544 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3545 completion of patterns with a single match.
3546 Add missing -re switches to gdb_test_multiple calls.
3547
3548 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3549
3550 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3551 return if core file is not recognized.
3552
3553 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3554
3555 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3556 and extra UIs.
3557
3558 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3559
3560 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3561 proc_with_prefix.
3562
3563 2017-02-10 Tom Tromey <tom@tromey.com>
3564
3565 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3566
3567 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
3568
3569 PR gdb/21122
3570 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3571
3572 2017-02-08 Jerome Guitton <guitton@adacore.com>
3573
3574 * gdb.base/define.exp: Add test for command abbreviations
3575 in define.
3576
3577 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
3578
3579 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3580 * gdb.reverse/insn-reverse-x86.c: New file.
3581
3582 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3583
3584 PR tdep/20936
3585 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3586
3587 2017-02-03 Tom Tromey <tom@tromey.com>
3588
3589 PR rust/21097:
3590 * gdb.rust/simple.exp: Add new tests.
3591
3592 2017-02-02 Pedro Alves <palves@redhat.com>
3593
3594 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3595 tests.
3596
3597 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3598
3599 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3600 taking a 2-byte value out of a 4-byte DWARF implicit value on
3601 big-endian targets.
3602 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3603 logic. Add test cases for DW_OP_implicit.
3604
3605 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3606
3607 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3608
3609 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3610
3611 * gdb.btrace/enable.exp: Call gdb_exit before
3612 skip_gdbserver_tests.
3613
3614 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3615
3616 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3617 GDBFLAGS.
3618
3619 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3620
3621 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3622 the test is skipped.
3623 * gdb.btrace/data.exp: Likewise.
3624 * gdb.btrace/delta.exp: Likewise.
3625 * gdb.btrace/dlopen.exp: Likewise.
3626 * gdb.btrace/enable-running.exp: Likewise.
3627 * gdb.btrace/enable.exp: Likewise.
3628 * gdb.btrace/exception.exp: Likewise.
3629 * gdb.btrace/function_call_history.exp: Likewise.
3630 * gdb.btrace/gcore.exp: Likewise.
3631 * gdb.btrace/instruction_history.exp: Likewise.
3632 * gdb.btrace/multi-thread-step.exp: Likewise.
3633 * gdb.btrace/nohist.exp: Likewise.
3634 * gdb.btrace/non-stop.exp: Likewise.
3635 * gdb.btrace/reconnect.exp: Likewise.
3636 * gdb.btrace/record_goto-step.exp: Likewise.
3637 * gdb.btrace/record_goto.exp: Likewise.
3638 * gdb.btrace/rn-dl-bind.exp: Likewise.
3639 * gdb.btrace/segv.exp: Likewise.
3640 * gdb.btrace/step.exp: Likewise.
3641 * gdb.btrace/stepi.exp: Likewise.
3642 * gdb.btrace/tailcall-only.exp: Likewise.
3643 * gdb.btrace/tailcall.exp: Likewise.
3644 * gdb.btrace/tsx.exp: Likewise.
3645 * gdb.btrace/unknown_functions.exp: Likewise.
3646 * gdb.btrace/vdso.exp: Likewise.
3647
3648 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3649
3650 * gdb.btrace/enable-running.c: New.
3651 * gdb.btrace/enable-running.exp: New.
3652
3653 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3654
3655 * gdb.arch/amd64-gs_base.c: New file.
3656 * gdb.arch/amd64-gs_base.exp: New file.
3657
3658 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3659
3660 * lib/memory.exp: Remove spurious empty newlines.
3661
3662 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3663
3664 * gdb.python/py-bad-printers.exp: Load python file using "source".
3665 * gdb.python/py-events.exp: Likewise.
3666 * gdb.python/py-evsignal.exp: Likewise.
3667 * gdb.python/py-evthreads.exp: Likewise.
3668 * gdb.python/py-frame-args.exp: Likewise.
3669 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3670 * gdb.python/py-framefilter-mi.exp: Likewise.
3671 * gdb.python/py-framefilter.exp: Likewise.
3672 * gdb.python/py-mi.exp: Likewise.
3673 * gdb.python/py-pp-maint.exp: Likewise.
3674 * gdb.python/py-pp-registration.exp: Likewise.
3675 * gdb.python/py-prettyprint.exp: Likewise.
3676 (run_lang_tests): Likewise.
3677 * gdb.python/py-typeprint.exp: Likewise.
3678
3679 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3680
3681 * lib/memory.exp: New file.
3682 * lib/gdb.exp: Load memory.exp.
3683 * gdb.base/memattr.exp (delete_memory): Move proc to
3684 lib/memory.exp and rename to delete_memory_regions.
3685 Replace delete_memory with delete_memory_regions.
3686 Cleanup memory regions before tests.
3687 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3688 before tests.
3689
3690 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3691
3692 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3693 files.
3694 (initialize): New function conditionally defined.
3695 (testcases): Move within conditional block.
3696 (main): Call initialize.
3697 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3698 of gdb.reverse/insn-reverse.c.
3699 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3700 gdb.reverse/insn-reverse.c.
3701
3702 2017-01-26 Yao Qi <yao.qi@linaro.org>
3703
3704 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3705 disassemble on address 0.
3706
3707 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
3708 Yao Qi <yao.qi@linaro.org>
3709
3710 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3711 * gdb.dwarf2/implptr-64bit.S: Remove.
3712 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
3713 variables in caller's context. Add DW_OP_implicit_value.
3714
3715 2017-01-25 Yao Qi <yao.qi@linaro.org>
3716
3717 * lib/dwarf.exp (Dwarf::_location): Handle
3718 DW_OP_GNU_implicit_pointer with proper size.
3719
3720 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3721
3722 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3723 and add untested calls.
3724
3725 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3726
3727 * gdb.python/python.exp: Check line number against what GDB thinks
3728 the line number is for func1.
3729
3730 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
3731
3732 * gdb.dlang/debug-expr.exp: New file.
3733
3734 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
3735
3736 Fix test names for the following files:
3737
3738 * gdb.ada/exec_changed.exp
3739 * gdb.ada/info_types.exp
3740 * gdb.arch/aarch64-atomic-inst.exp
3741 * gdb.arch/aarch64-fp.exp
3742 * gdb.arch/altivec-abi.exp
3743 * gdb.arch/altivec-regs.exp
3744 * gdb.arch/amd64-byte.exp
3745 * gdb.arch/amd64-disp-step.exp
3746 * gdb.arch/amd64-dword.exp
3747 * gdb.arch/amd64-entry-value-inline.exp
3748 * gdb.arch/amd64-entry-value-param.exp
3749 * gdb.arch/amd64-entry-value-paramref.exp
3750 * gdb.arch/amd64-entry-value.exp
3751 * gdb.arch/amd64-i386-address.exp
3752 * gdb.arch/amd64-invalid-stack-middle.exp
3753 * gdb.arch/amd64-invalid-stack-top.exp
3754 * gdb.arch/amd64-optimout-repeat.exp
3755 * gdb.arch/amd64-prologue-skip.exp
3756 * gdb.arch/amd64-prologue-xmm.exp
3757 * gdb.arch/amd64-stap-special-operands.exp
3758 * gdb.arch/amd64-stap-wrong-subexp.exp
3759 * gdb.arch/amd64-tailcall-cxx.exp
3760 * gdb.arch/amd64-tailcall-noret.exp
3761 * gdb.arch/amd64-tailcall-ret.exp
3762 * gdb.arch/amd64-tailcall-self.exp
3763 * gdb.arch/amd64-word.exp
3764 * gdb.arch/arm-bl-branch-dest.exp
3765 * gdb.arch/arm-disp-step.exp
3766 * gdb.arch/arm-neon.exp
3767 * gdb.arch/arm-single-step-kernel-helper.exp
3768 * gdb.arch/avr-flash-qualifier.exp
3769 * gdb.arch/disp-step-insn-reloc.exp
3770 * gdb.arch/e500-abi.exp
3771 * gdb.arch/e500-regs.exp
3772 * gdb.arch/ftrace-insn-reloc.exp
3773 * gdb.arch/i386-avx512.exp
3774 * gdb.arch/i386-bp_permanent.exp
3775 * gdb.arch/i386-byte.exp
3776 * gdb.arch/i386-cfi-notcurrent.exp
3777 * gdb.arch/i386-disp-step.exp
3778 * gdb.arch/i386-dr3-watch.exp
3779 * gdb.arch/i386-float.exp
3780 * gdb.arch/i386-gnu-cfi.exp
3781 * gdb.arch/i386-mpx-map.exp
3782 * gdb.arch/i386-mpx-sigsegv.exp
3783 * gdb.arch/i386-mpx-simple_segv.exp
3784 * gdb.arch/i386-mpx.exp
3785 * gdb.arch/i386-permbkpt.exp
3786 * gdb.arch/i386-prologue.exp
3787 * gdb.arch/i386-signal.exp
3788 * gdb.arch/i386-size-overlap.exp
3789 * gdb.arch/i386-unwind.exp
3790 * gdb.arch/i386-word.exp
3791 * gdb.arch/mips-fcr.exp
3792 * gdb.arch/powerpc-d128-regs.exp
3793 * gdb.arch/powerpc-stackless.exp
3794 * gdb.arch/ppc64-atomic-inst.exp
3795 * gdb.arch/s390-stackless.exp
3796 * gdb.arch/s390-tdbregs.exp
3797 * gdb.arch/s390-vregs.exp
3798 * gdb.arch/sparc-sysstep.exp
3799 * gdb.arch/thumb-bx-pc.exp
3800 * gdb.arch/thumb-singlestep.exp
3801 * gdb.arch/thumb2-it.exp
3802 * gdb.arch/vsx-regs.exp
3803 * gdb.asm/asm-source.exp
3804 * gdb.base/a2-run.exp
3805 * gdb.base/advance.exp
3806 * gdb.base/all-bin.exp
3807 * gdb.base/anon.exp
3808 * gdb.base/args.exp
3809 * gdb.base/arithmet.exp
3810 * gdb.base/async-shell.exp
3811 * gdb.base/async.exp
3812 * gdb.base/attach-pie-noexec.exp
3813 * gdb.base/attach-twice.exp
3814 * gdb.base/auto-load.exp
3815 * gdb.base/bang.exp
3816 * gdb.base/bitfields.exp
3817 * gdb.base/break-always.exp
3818 * gdb.base/break-caller-line.exp
3819 * gdb.base/break-entry.exp
3820 * gdb.base/break-inline.exp
3821 * gdb.base/break-on-linker-gcd-function.exp
3822 * gdb.base/break-probes.exp
3823 * gdb.base/break.exp
3824 * gdb.base/breakpoint-shadow.exp
3825 * gdb.base/call-ar-st.exp
3826 * gdb.base/call-sc.exp
3827 * gdb.base/call-signal-resume.exp
3828 * gdb.base/call-strs.exp
3829 * gdb.base/callfuncs.exp
3830 * gdb.base/catch-fork-static.exp
3831 * gdb.base/catch-gdb-caused-signals.exp
3832 * gdb.base/catch-load.exp
3833 * gdb.base/catch-signal-fork.exp
3834 * gdb.base/catch-signal.exp
3835 * gdb.base/catch-syscall.exp
3836 * gdb.base/charset.exp
3837 * gdb.base/checkpoint.exp
3838 * gdb.base/chng-syms.exp
3839 * gdb.base/code-expr.exp
3840 * gdb.base/code_elim.exp
3841 * gdb.base/commands.exp
3842 * gdb.base/completion.exp
3843 * gdb.base/complex.exp
3844 * gdb.base/cond-expr.exp
3845 * gdb.base/condbreak.exp
3846 * gdb.base/consecutive.exp
3847 * gdb.base/continue-all-already-running.exp
3848 * gdb.base/coredump-filter.exp
3849 * gdb.base/corefile.exp
3850 * gdb.base/dbx.exp
3851 * gdb.base/debug-expr.exp
3852 * gdb.base/define.exp
3853 * gdb.base/del.exp
3854 * gdb.base/disabled-location.exp
3855 * gdb.base/disasm-end-cu.exp
3856 * gdb.base/disasm-optim.exp
3857 * gdb.base/display.exp
3858 * gdb.base/duplicate-bp.exp
3859 * gdb.base/ena-dis-br.exp
3860 * gdb.base/ending-run.exp
3861 * gdb.base/enumval.exp
3862 * gdb.base/environ.exp
3863 * gdb.base/eu-strip-infcall.exp
3864 * gdb.base/eval-avoid-side-effects.exp
3865 * gdb.base/eval-skip.exp
3866 * gdb.base/exitsignal.exp
3867 * gdb.base/expand-psymtabs.exp
3868 * gdb.base/filesym.exp
3869 * gdb.base/find-unmapped.exp
3870 * gdb.base/finish.exp
3871 * gdb.base/float.exp
3872 * gdb.base/foll-exec-mode.exp
3873 * gdb.base/foll-exec.exp
3874 * gdb.base/foll-fork.exp
3875 * gdb.base/fortran-sym-case.exp
3876 * gdb.base/freebpcmd.exp
3877 * gdb.base/func-ptr.exp
3878 * gdb.base/func-ptrs.exp
3879 * gdb.base/funcargs.exp
3880 * gdb.base/gcore-buffer-overflow.exp
3881 * gdb.base/gcore-relro-pie.exp
3882 * gdb.base/gcore-relro.exp
3883 * gdb.base/gcore.exp
3884 * gdb.base/gdb1090.exp
3885 * gdb.base/gdb11530.exp
3886 * gdb.base/gdb11531.exp
3887 * gdb.base/gdb1821.exp
3888 * gdb.base/gdbindex-stabs.exp
3889 * gdb.base/gdbvars.exp
3890 * gdb.base/hbreak.exp
3891 * gdb.base/hbreak2.exp
3892 * gdb.base/included.exp
3893 * gdb.base/infcall-input.exp
3894 * gdb.base/inferior-died.exp
3895 * gdb.base/infnan.exp
3896 * gdb.base/info-macros.exp
3897 * gdb.base/info-os.exp
3898 * gdb.base/info-proc.exp
3899 * gdb.base/info-shared.exp
3900 * gdb.base/info-target.exp
3901 * gdb.base/infoline.exp
3902 * gdb.base/interp.exp
3903 * gdb.base/interrupt.exp
3904 * gdb.base/jit-reader.exp
3905 * gdb.base/jit-simple.exp
3906 * gdb.base/kill-after-signal.exp
3907 * gdb.base/kill-detach-inferiors-cmd.exp
3908 * gdb.base/label.exp
3909 * gdb.base/langs.exp
3910 * gdb.base/ldbl_e308.exp
3911 * gdb.base/line-symtabs.exp
3912 * gdb.base/linespecs.exp
3913 * gdb.base/list.exp
3914 * gdb.base/long_long.exp
3915 * gdb.base/longest-types.exp
3916 * gdb.base/maint.exp
3917 * gdb.base/max-value-size.exp
3918 * gdb.base/memattr.exp
3919 * gdb.base/mips_pro.exp
3920 * gdb.base/morestack.exp
3921 * gdb.base/moribund-step.exp
3922 * gdb.base/multi-forks.exp
3923 * gdb.base/nested-addr.exp
3924 * gdb.base/nextoverexit.exp
3925 * gdb.base/noreturn-finish.exp
3926 * gdb.base/noreturn-return.exp
3927 * gdb.base/nostdlib.exp
3928 * gdb.base/offsets.exp
3929 * gdb.base/opaque.exp
3930 * gdb.base/pc-fp.exp
3931 * gdb.base/permissions.exp
3932 * gdb.base/print-symbol-loading.exp
3933 * gdb.base/prologue-include.exp
3934 * gdb.base/psymtab.exp
3935 * gdb.base/ptype.exp
3936 * gdb.base/random-signal.exp
3937 * gdb.base/randomize.exp
3938 * gdb.base/range-stepping.exp
3939 * gdb.base/readline-ask.exp
3940 * gdb.base/recpar.exp
3941 * gdb.base/recurse.exp
3942 * gdb.base/relational.exp
3943 * gdb.base/restore.exp
3944 * gdb.base/return-nodebug.exp
3945 * gdb.base/return.exp
3946 * gdb.base/run-after-attach.exp
3947 * gdb.base/save-bp.exp
3948 * gdb.base/scope.exp
3949 * gdb.base/sect-cmd.exp
3950 * gdb.base/set-lang-auto.exp
3951 * gdb.base/set-noassign.exp
3952 * gdb.base/setvar.exp
3953 * gdb.base/sigall.exp
3954 * gdb.base/sigbpt.exp
3955 * gdb.base/siginfo-addr.exp
3956 * gdb.base/siginfo-infcall.exp
3957 * gdb.base/siginfo-obj.exp
3958 * gdb.base/siginfo.exp
3959 * gdb.base/signals-state-child.exp
3960 * gdb.base/signest.exp
3961 * gdb.base/sigstep.exp
3962 * gdb.base/sizeof.exp
3963 * gdb.base/skip.exp
3964 * gdb.base/solib-corrupted.exp
3965 * gdb.base/solib-nodir.exp
3966 * gdb.base/solib-search.exp
3967 * gdb.base/stack-checking.exp
3968 * gdb.base/stale-infcall.exp
3969 * gdb.base/stap-probe.exp
3970 * gdb.base/start.exp
3971 * gdb.base/step-break.exp
3972 * gdb.base/step-bt.exp
3973 * gdb.base/step-line.exp
3974 * gdb.base/step-over-exit.exp
3975 * gdb.base/step-over-syscall.exp
3976 * gdb.base/step-resume-infcall.exp
3977 * gdb.base/step-test.exp
3978 * gdb.base/store.exp
3979 * gdb.base/structs3.exp
3980 * gdb.base/sym-file.exp
3981 * gdb.base/symbol-without-target_section.exp
3982 * gdb.base/term.exp
3983 * gdb.base/testenv.exp
3984 * gdb.base/ui-redirect.exp
3985 * gdb.base/until.exp
3986 * gdb.base/unwindonsignal.exp
3987 * gdb.base/value-double-free.exp
3988 * gdb.base/vla-datatypes.exp
3989 * gdb.base/vla-ptr.exp
3990 * gdb.base/vla-sideeffect.exp
3991 * gdb.base/volatile.exp
3992 * gdb.base/watch-cond-infcall.exp
3993 * gdb.base/watch-cond.exp
3994 * gdb.base/watch-non-mem.exp
3995 * gdb.base/watch-read.exp
3996 * gdb.base/watch-vfork.exp
3997 * gdb.base/watchpoint-cond-gone.exp
3998 * gdb.base/watchpoint-delete.exp
3999 * gdb.base/watchpoint-hw-hit-once.exp
4000 * gdb.base/watchpoint-hw.exp
4001 * gdb.base/watchpoint-stops-at-right-insn.exp
4002 * gdb.base/watchpoints.exp
4003 * gdb.base/wchar.exp
4004 * gdb.base/whatis-exp.exp
4005 * gdb.btrace/buffer-size.exp
4006 * gdb.btrace/data.exp
4007 * gdb.btrace/delta.exp
4008 * gdb.btrace/dlopen.exp
4009 * gdb.btrace/enable.exp
4010 * gdb.btrace/exception.exp
4011 * gdb.btrace/function_call_history.exp
4012 * gdb.btrace/gcore.exp
4013 * gdb.btrace/instruction_history.exp
4014 * gdb.btrace/nohist.exp
4015 * gdb.btrace/reconnect.exp
4016 * gdb.btrace/record_goto-step.exp
4017 * gdb.btrace/record_goto.exp
4018 * gdb.btrace/rn-dl-bind.exp
4019 * gdb.btrace/segv.exp
4020 * gdb.btrace/step.exp
4021 * gdb.btrace/stepi.exp
4022 * gdb.btrace/tailcall-only.exp
4023 * gdb.btrace/tailcall.exp
4024 * gdb.btrace/tsx.exp
4025 * gdb.btrace/unknown_functions.exp
4026 * gdb.btrace/vdso.exp
4027 * gdb.compile/compile-ifunc.exp
4028 * gdb.compile/compile-ops.exp
4029 * gdb.compile/compile-print.exp
4030 * gdb.compile/compile-setjmp.exp
4031 * gdb.cp/abstract-origin.exp
4032 * gdb.cp/ambiguous.exp
4033 * gdb.cp/annota2.exp
4034 * gdb.cp/annota3.exp
4035 * gdb.cp/anon-ns.exp
4036 * gdb.cp/anon-struct.exp
4037 * gdb.cp/anon-union.exp
4038 * gdb.cp/arg-reference.exp
4039 * gdb.cp/baseenum.exp
4040 * gdb.cp/bool.exp
4041 * gdb.cp/breakpoint.exp
4042 * gdb.cp/bs15503.exp
4043 * gdb.cp/call-c.exp
4044 * gdb.cp/casts.exp
4045 * gdb.cp/chained-calls.exp
4046 * gdb.cp/class2.exp
4047 * gdb.cp/classes.exp
4048 * gdb.cp/cmpd-minsyms.exp
4049 * gdb.cp/converts.exp
4050 * gdb.cp/cp-relocate.exp
4051 * gdb.cp/cpcompletion.exp
4052 * gdb.cp/cpexprs.exp
4053 * gdb.cp/cplabel.exp
4054 * gdb.cp/cplusfuncs.exp
4055 * gdb.cp/cpsizeof.exp
4056 * gdb.cp/ctti.exp
4057 * gdb.cp/derivation.exp
4058 * gdb.cp/destrprint.exp
4059 * gdb.cp/dispcxx.exp
4060 * gdb.cp/enum-class.exp
4061 * gdb.cp/exception.exp
4062 * gdb.cp/exceptprint.exp
4063 * gdb.cp/expand-psymtabs-cxx.exp
4064 * gdb.cp/expand-sals.exp
4065 * gdb.cp/extern-c.exp
4066 * gdb.cp/filename.exp
4067 * gdb.cp/formatted-ref.exp
4068 * gdb.cp/fpointer.exp
4069 * gdb.cp/gdb1355.exp
4070 * gdb.cp/gdb2495.exp
4071 * gdb.cp/hang.exp
4072 * gdb.cp/impl-this.exp
4073 * gdb.cp/infcall-dlopen.exp
4074 * gdb.cp/inherit.exp
4075 * gdb.cp/iostream.exp
4076 * gdb.cp/koenig.exp
4077 * gdb.cp/local.exp
4078 * gdb.cp/m-data.exp
4079 * gdb.cp/m-static.exp
4080 * gdb.cp/mb-ctor.exp
4081 * gdb.cp/mb-inline.exp
4082 * gdb.cp/mb-templates.exp
4083 * gdb.cp/member-name.exp
4084 * gdb.cp/member-ptr.exp
4085 * gdb.cp/meth-typedefs.exp
4086 * gdb.cp/method.exp
4087 * gdb.cp/method2.exp
4088 * gdb.cp/minsym-fallback.exp
4089 * gdb.cp/misc.exp
4090 * gdb.cp/namelessclass.exp
4091 * gdb.cp/namespace-enum.exp
4092 * gdb.cp/namespace-nested-import.exp
4093 * gdb.cp/namespace.exp
4094 * gdb.cp/nextoverthrow.exp
4095 * gdb.cp/no-dmgl-verbose.exp
4096 * gdb.cp/non-trivial-retval.exp
4097 * gdb.cp/noparam.exp
4098 * gdb.cp/nsdecl.exp
4099 * gdb.cp/nsimport.exp
4100 * gdb.cp/nsnested.exp
4101 * gdb.cp/nsnoimports.exp
4102 * gdb.cp/nsrecurs.exp
4103 * gdb.cp/nsstress.exp
4104 * gdb.cp/nsusing.exp
4105 * gdb.cp/operator.exp
4106 * gdb.cp/oranking.exp
4107 * gdb.cp/overload-const.exp
4108 * gdb.cp/overload.exp
4109 * gdb.cp/ovldbreak.exp
4110 * gdb.cp/ovsrch.exp
4111 * gdb.cp/paren-type.exp
4112 * gdb.cp/parse-lang.exp
4113 * gdb.cp/pass-by-ref.exp
4114 * gdb.cp/pr-1023.exp
4115 * gdb.cp/pr-1210.exp
4116 * gdb.cp/pr-574.exp
4117 * gdb.cp/pr10687.exp
4118 * gdb.cp/pr12028.exp
4119 * gdb.cp/pr17132.exp
4120 * gdb.cp/pr17494.exp
4121 * gdb.cp/pr9067.exp
4122 * gdb.cp/pr9167.exp
4123 * gdb.cp/pr9631.exp
4124 * gdb.cp/printmethod.exp
4125 * gdb.cp/psmang.exp
4126 * gdb.cp/psymtab-parameter.exp
4127 * gdb.cp/ptype-cv-cp.exp
4128 * gdb.cp/ptype-flags.exp
4129 * gdb.cp/re-set-overloaded.exp
4130 * gdb.cp/ref-types.exp
4131 * gdb.cp/rtti.exp
4132 * gdb.cp/scope-err.exp
4133 * gdb.cp/shadow.exp
4134 * gdb.cp/smartp.exp
4135 * gdb.cp/static-method.exp
4136 * gdb.cp/static-print-quit.exp
4137 * gdb.cp/temargs.exp
4138 * gdb.cp/templates.exp
4139 * gdb.cp/try_catch.exp
4140 * gdb.cp/typedef-operator.exp
4141 * gdb.cp/typeid.exp
4142 * gdb.cp/userdef.exp
4143 * gdb.cp/using-crash.exp
4144 * gdb.cp/var-tag.exp
4145 * gdb.cp/virtbase.exp
4146 * gdb.cp/virtfunc.exp
4147 * gdb.cp/virtfunc2.exp
4148 * gdb.cp/vla-cxx.exp
4149 * gdb.disasm/t01_mov.exp
4150 * gdb.disasm/t02_mova.exp
4151 * gdb.disasm/t03_add.exp
4152 * gdb.disasm/t04_sub.exp
4153 * gdb.disasm/t05_cmp.exp
4154 * gdb.disasm/t06_ari2.exp
4155 * gdb.disasm/t07_ari3.exp
4156 * gdb.disasm/t08_or.exp
4157 * gdb.disasm/t09_xor.exp
4158 * gdb.disasm/t10_and.exp
4159 * gdb.disasm/t11_logs.exp
4160 * gdb.disasm/t12_bit.exp
4161 * gdb.disasm/t13_otr.exp
4162 * gdb.dlang/circular.exp
4163 * gdb.dwarf2/arr-stride.exp
4164 * gdb.dwarf2/arr-subrange.exp
4165 * gdb.dwarf2/atomic-type.exp
4166 * gdb.dwarf2/bad-regnum.exp
4167 * gdb.dwarf2/bitfield-parent-optimized-out.exp
4168 * gdb.dwarf2/callframecfa.exp
4169 * gdb.dwarf2/clztest.exp
4170 * gdb.dwarf2/corrupt.exp
4171 * gdb.dwarf2/data-loc.exp
4172 * gdb.dwarf2/dup-psym.exp
4173 * gdb.dwarf2/dw2-anon-mptr.exp
4174 * gdb.dwarf2/dw2-anonymous-func.exp
4175 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4176 * gdb.dwarf2/dw2-bad-unresolved.exp
4177 * gdb.dwarf2/dw2-basic.exp
4178 * gdb.dwarf2/dw2-canonicalize-type.exp
4179 * gdb.dwarf2/dw2-case-insensitive.exp
4180 * gdb.dwarf2/dw2-common-block.exp
4181 * gdb.dwarf2/dw2-compdir-oldgcc.exp
4182 * gdb.dwarf2/dw2-compressed.exp
4183 * gdb.dwarf2/dw2-const.exp
4184 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4185 * gdb.dwarf2/dw2-cu-size.exp
4186 * gdb.dwarf2/dw2-dup-frame.exp
4187 * gdb.dwarf2/dw2-entry-value.exp
4188 * gdb.dwarf2/dw2-icycle.exp
4189 * gdb.dwarf2/dw2-ifort-parameter.exp
4190 * gdb.dwarf2/dw2-inline-break.exp
4191 * gdb.dwarf2/dw2-inline-param.exp
4192 * gdb.dwarf2/dw2-intercu.exp
4193 * gdb.dwarf2/dw2-intermix.exp
4194 * gdb.dwarf2/dw2-lexical-block-bare.exp
4195 * gdb.dwarf2/dw2-linkage-name-trust.exp
4196 * gdb.dwarf2/dw2-minsym-in-cu.exp
4197 * gdb.dwarf2/dw2-noloc.exp
4198 * gdb.dwarf2/dw2-op-call.exp
4199 * gdb.dwarf2/dw2-op-out-param.exp
4200 * gdb.dwarf2/dw2-opt-structptr.exp
4201 * gdb.dwarf2/dw2-param-error.exp
4202 * gdb.dwarf2/dw2-producer.exp
4203 * gdb.dwarf2/dw2-ranges-base.exp
4204 * gdb.dwarf2/dw2-ref-missing-frame.exp
4205 * gdb.dwarf2/dw2-reg-undefined.exp
4206 * gdb.dwarf2/dw2-regno-invalid.exp
4207 * gdb.dwarf2/dw2-restore.exp
4208 * gdb.dwarf2/dw2-restrict.exp
4209 * gdb.dwarf2/dw2-single-line-discriminators.exp
4210 * gdb.dwarf2/dw2-strp.exp
4211 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4212 * gdb.dwarf2/dw2-unresolved.exp
4213 * gdb.dwarf2/dw2-var-zero-addr.exp
4214 * gdb.dwarf2/dw4-sig-types.exp
4215 * gdb.dwarf2/dwz.exp
4216 * gdb.dwarf2/dynarr-ptr.exp
4217 * gdb.dwarf2/enum-type.exp
4218 * gdb.dwarf2/gdb-index.exp
4219 * gdb.dwarf2/implptr-64bit.exp
4220 * gdb.dwarf2/implptr-optimized-out.exp
4221 * gdb.dwarf2/implptr.exp
4222 * gdb.dwarf2/implref-array.exp
4223 * gdb.dwarf2/implref-const.exp
4224 * gdb.dwarf2/implref-global.exp
4225 * gdb.dwarf2/implref-struct.exp
4226 * gdb.dwarf2/mac-fileno.exp
4227 * gdb.dwarf2/main-subprogram.exp
4228 * gdb.dwarf2/member-ptr-forwardref.exp
4229 * gdb.dwarf2/method-ptr.exp
4230 * gdb.dwarf2/missing-sig-type.exp
4231 * gdb.dwarf2/nonvar-access.exp
4232 * gdb.dwarf2/opaque-type-lookup.exp
4233 * gdb.dwarf2/pieces-optimized-out.exp
4234 * gdb.dwarf2/pieces.exp
4235 * gdb.dwarf2/pr10770.exp
4236 * gdb.dwarf2/pr13961.exp
4237 * gdb.dwarf2/staticvirtual.exp
4238 * gdb.dwarf2/subrange.exp
4239 * gdb.dwarf2/symtab-producer.exp
4240 * gdb.dwarf2/trace-crash.exp
4241 * gdb.dwarf2/typeddwarf.exp
4242 * gdb.dwarf2/valop.exp
4243 * gdb.dwarf2/watch-notconst.exp
4244 * gdb.fortran/array-element.exp
4245 * gdb.fortran/charset.exp
4246 * gdb.fortran/common-block.exp
4247 * gdb.fortran/complex.exp
4248 * gdb.fortran/derived-type-function.exp
4249 * gdb.fortran/derived-type.exp
4250 * gdb.fortran/logical.exp
4251 * gdb.fortran/module.exp
4252 * gdb.fortran/multi-dim.exp
4253 * gdb.fortran/nested-funcs.exp
4254 * gdb.fortran/print-formatted.exp
4255 * gdb.fortran/subarray.exp
4256 * gdb.fortran/vla-alloc-assoc.exp
4257 * gdb.fortran/vla-datatypes.exp
4258 * gdb.fortran/vla-history.exp
4259 * gdb.fortran/vla-ptr-info.exp
4260 * gdb.fortran/vla-ptype-sub.exp
4261 * gdb.fortran/vla-ptype.exp
4262 * gdb.fortran/vla-sizeof.exp
4263 * gdb.fortran/vla-type.exp
4264 * gdb.fortran/vla-value-sub-arbitrary.exp
4265 * gdb.fortran/vla-value-sub-finish.exp
4266 * gdb.fortran/vla-value-sub.exp
4267 * gdb.fortran/vla-value.exp
4268 * gdb.fortran/whatis_type.exp
4269 * gdb.go/chan.exp
4270 * gdb.go/handcall.exp
4271 * gdb.go/hello.exp
4272 * gdb.go/integers.exp
4273 * gdb.go/methods.exp
4274 * gdb.go/package.exp
4275 * gdb.go/strings.exp
4276 * gdb.go/types.exp
4277 * gdb.go/unsafe.exp
4278 * gdb.guile/scm-arch.exp
4279 * gdb.guile/scm-block.exp
4280 * gdb.guile/scm-breakpoint.exp
4281 * gdb.guile/scm-cmd.exp
4282 * gdb.guile/scm-disasm.exp
4283 * gdb.guile/scm-equal.exp
4284 * gdb.guile/scm-frame-args.exp
4285 * gdb.guile/scm-frame-inline.exp
4286 * gdb.guile/scm-frame.exp
4287 * gdb.guile/scm-iterator.exp
4288 * gdb.guile/scm-math.exp
4289 * gdb.guile/scm-objfile.exp
4290 * gdb.guile/scm-ports.exp
4291 * gdb.guile/scm-symbol.exp
4292 * gdb.guile/scm-symtab.exp
4293 * gdb.guile/scm-value-cc.exp
4294 * gdb.guile/types-module.exp
4295 * gdb.linespec/break-ask.exp
4296 * gdb.linespec/cpexplicit.exp
4297 * gdb.linespec/explicit.exp
4298 * gdb.linespec/keywords.exp
4299 * gdb.linespec/linespec.exp
4300 * gdb.linespec/ls-dollar.exp
4301 * gdb.linespec/ls-errs.exp
4302 * gdb.linespec/skip-two.exp
4303 * gdb.linespec/thread.exp
4304 * gdb.mi/mi-async.exp
4305 * gdb.mi/mi-basics.exp
4306 * gdb.mi/mi-break.exp
4307 * gdb.mi/mi-catch-load.exp
4308 * gdb.mi/mi-cli.exp
4309 * gdb.mi/mi-cmd-param-changed.exp
4310 * gdb.mi/mi-console.exp
4311 * gdb.mi/mi-detach.exp
4312 * gdb.mi/mi-disassemble.exp
4313 * gdb.mi/mi-eval.exp
4314 * gdb.mi/mi-file-transfer.exp
4315 * gdb.mi/mi-file.exp
4316 * gdb.mi/mi-fill-memory.exp
4317 * gdb.mi/mi-inheritance-syntax-error.exp
4318 * gdb.mi/mi-linespec-err-cp.exp
4319 * gdb.mi/mi-logging.exp
4320 * gdb.mi/mi-memory-changed.exp
4321 * gdb.mi/mi-read-memory.exp
4322 * gdb.mi/mi-record-changed.exp
4323 * gdb.mi/mi-reg-undefined.exp
4324 * gdb.mi/mi-regs.exp
4325 * gdb.mi/mi-return.exp
4326 * gdb.mi/mi-reverse.exp
4327 * gdb.mi/mi-simplerun.exp
4328 * gdb.mi/mi-solib.exp
4329 * gdb.mi/mi-stack.exp
4330 * gdb.mi/mi-stepi.exp
4331 * gdb.mi/mi-syn-frame.exp
4332 * gdb.mi/mi-until.exp
4333 * gdb.mi/mi-var-block.exp
4334 * gdb.mi/mi-var-child.exp
4335 * gdb.mi/mi-var-cmd.exp
4336 * gdb.mi/mi-var-cp.exp
4337 * gdb.mi/mi-var-display.exp
4338 * gdb.mi/mi-var-invalidate.exp
4339 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4340 * gdb.mi/mi-vla-fortran.exp
4341 * gdb.mi/mi-watch.exp
4342 * gdb.mi/mi2-var-child.exp
4343 * gdb.mi/user-selected-context-sync.exp
4344 * gdb.modula2/unbounded-array.exp
4345 * gdb.multi/dummy-frame-restore.exp
4346 * gdb.multi/multi-arch-exec.exp
4347 * gdb.multi/multi-arch.exp
4348 * gdb.multi/tids.exp
4349 * gdb.multi/watchpoint-multi.exp
4350 * gdb.opencl/callfuncs.exp
4351 * gdb.opencl/convs_casts.exp
4352 * gdb.opencl/datatypes.exp
4353 * gdb.opencl/operators.exp
4354 * gdb.opencl/vec_comps.exp
4355 * gdb.opt/clobbered-registers-O2.exp
4356 * gdb.opt/inline-break.exp
4357 * gdb.opt/inline-bt.exp
4358 * gdb.opt/inline-cmds.exp
4359 * gdb.opt/inline-locals.exp
4360 * gdb.pascal/case-insensitive-symbols.exp
4361 * gdb.pascal/floats.exp
4362 * gdb.pascal/gdb11492.exp
4363 * gdb.python/lib-types.exp
4364 * gdb.python/py-arch.exp
4365 * gdb.python/py-as-string.exp
4366 * gdb.python/py-bad-printers.exp
4367 * gdb.python/py-block.exp
4368 * gdb.python/py-breakpoint-create-fail.exp
4369 * gdb.python/py-breakpoint.exp
4370 * gdb.python/py-caller-is.exp
4371 * gdb.python/py-cmd.exp
4372 * gdb.python/py-explore-cc.exp
4373 * gdb.python/py-explore.exp
4374 * gdb.python/py-finish-breakpoint.exp
4375 * gdb.python/py-finish-breakpoint2.exp
4376 * gdb.python/py-frame-args.exp
4377 * gdb.python/py-frame-inline.exp
4378 * gdb.python/py-frame.exp
4379 * gdb.python/py-framefilter-mi.exp
4380 * gdb.python/py-infthread.exp
4381 * gdb.python/py-lazy-string.exp
4382 * gdb.python/py-linetable.exp
4383 * gdb.python/py-mi-events.exp
4384 * gdb.python/py-mi-objfile.exp
4385 * gdb.python/py-mi.exp
4386 * gdb.python/py-objfile.exp
4387 * gdb.python/py-pp-integral.exp
4388 * gdb.python/py-pp-maint.exp
4389 * gdb.python/py-pp-re-notag.exp
4390 * gdb.python/py-pp-registration.exp
4391 * gdb.python/py-recurse-unwind.exp
4392 * gdb.python/py-strfns.exp
4393 * gdb.python/py-symbol.exp
4394 * gdb.python/py-symtab.exp
4395 * gdb.python/py-sync-interp.exp
4396 * gdb.python/py-typeprint.exp
4397 * gdb.python/py-unwind-maint.exp
4398 * gdb.python/py-unwind.exp
4399 * gdb.python/py-value-cc.exp
4400 * gdb.python/py-xmethods.exp
4401 * gdb.reverse/amd64-tailcall-reverse.exp
4402 * gdb.reverse/break-precsave.exp
4403 * gdb.reverse/break-reverse.exp
4404 * gdb.reverse/consecutive-precsave.exp
4405 * gdb.reverse/consecutive-reverse.exp
4406 * gdb.reverse/finish-precsave.exp
4407 * gdb.reverse/finish-reverse-bkpt.exp
4408 * gdb.reverse/finish-reverse.exp
4409 * gdb.reverse/fstatat-reverse.exp
4410 * gdb.reverse/getresuid-reverse.exp
4411 * gdb.reverse/i386-precsave.exp
4412 * gdb.reverse/i386-reverse.exp
4413 * gdb.reverse/i386-sse-reverse.exp
4414 * gdb.reverse/i387-env-reverse.exp
4415 * gdb.reverse/i387-stack-reverse.exp
4416 * gdb.reverse/insn-reverse.exp
4417 * gdb.reverse/machinestate-precsave.exp
4418 * gdb.reverse/machinestate.exp
4419 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4420 * gdb.reverse/pipe-reverse.exp
4421 * gdb.reverse/readv-reverse.exp
4422 * gdb.reverse/recvmsg-reverse.exp
4423 * gdb.reverse/rerun-prec.exp
4424 * gdb.reverse/s390-mvcle.exp
4425 * gdb.reverse/step-precsave.exp
4426 * gdb.reverse/step-reverse.exp
4427 * gdb.reverse/time-reverse.exp
4428 * gdb.reverse/until-precsave.exp
4429 * gdb.reverse/until-reverse.exp
4430 * gdb.reverse/waitpid-reverse.exp
4431 * gdb.reverse/watch-precsave.exp
4432 * gdb.reverse/watch-reverse.exp
4433 * gdb.rust/generics.exp
4434 * gdb.rust/methods.exp
4435 * gdb.rust/modules.exp
4436 * gdb.rust/simple.exp
4437 * gdb.server/connect-with-no-symbol-file.exp
4438 * gdb.server/ext-attach.exp
4439 * gdb.server/ext-restart.exp
4440 * gdb.server/ext-wrapper.exp
4441 * gdb.server/file-transfer.exp
4442 * gdb.server/server-exec-info.exp
4443 * gdb.server/server-kill.exp
4444 * gdb.server/server-mon.exp
4445 * gdb.server/wrapper.exp
4446 * gdb.stabs/exclfwd.exp
4447 * gdb.stabs/gdb11479.exp
4448 * gdb.threads/clone-new-thread-event.exp
4449 * gdb.threads/corethreads.exp
4450 * gdb.threads/current-lwp-dead.exp
4451 * gdb.threads/dlopen-libpthread.exp
4452 * gdb.threads/gcore-thread.exp
4453 * gdb.threads/sigstep-threads.exp
4454 * gdb.threads/watchpoint-fork.exp
4455 * gdb.trace/actions-changed.exp
4456 * gdb.trace/backtrace.exp
4457 * gdb.trace/change-loc.exp
4458 * gdb.trace/circ.exp
4459 * gdb.trace/collection.exp
4460 * gdb.trace/disconnected-tracing.exp
4461 * gdb.trace/ftrace.exp
4462 * gdb.trace/mi-trace-frame-collected.exp
4463 * gdb.trace/mi-trace-unavailable.exp
4464 * gdb.trace/mi-traceframe-changed.exp
4465 * gdb.trace/mi-tsv-changed.exp
4466 * gdb.trace/no-attach-trace.exp
4467 * gdb.trace/passc-dyn.exp
4468 * gdb.trace/qtro.exp
4469 * gdb.trace/range-stepping.exp
4470 * gdb.trace/read-memory.exp
4471 * gdb.trace/save-trace.exp
4472 * gdb.trace/signal.exp
4473 * gdb.trace/status-stop.exp
4474 * gdb.trace/tfile.exp
4475 * gdb.trace/trace-break.exp
4476 * gdb.trace/trace-buffer-size.exp
4477 * gdb.trace/trace-condition.exp
4478 * gdb.trace/tracefile-pseudo-reg.exp
4479 * gdb.trace/tstatus.exp
4480 * gdb.trace/unavailable.exp
4481 * gdb.trace/while-dyn.exp
4482 * gdb.trace/while-stepping.exp
4483
4484 2016-12-22 Doug Evans <xdje42@gmail.com>
4485
4486 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4487 and msymbols.
4488
4489 2016-12-19 Yao Qi <yao.qi@linaro.org>
4490
4491 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4492 (test_with_self): Don't call do_steps_and_nexts, and remove
4493 code about stepping into xmalloc.
4494
4495 2016-12-09 Yao Qi <yao.qi@linaro.org>
4496
4497 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4498
4499 2016-12-09 Yao Qi <yao.qi@linaro.org>
4500
4501 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4502
4503 2016-12-09 Pedro Alves <palves@redhat.com>
4504
4505 * gdb.base/all-architectures-0.exp: New file.
4506 * gdb.base/all-architectures-1.exp: New file.
4507 * gdb.base/all-architectures-2.exp: New file.
4508 * gdb.base/all-architectures-3.exp: New file.
4509 * gdb.base/all-architectures-4.exp: New file.
4510 * gdb.base/all-architectures-5.exp: New file.
4511 * gdb.base/all-architectures-6.exp: New file.
4512 * gdb.base/all-architectures-7.exp: New file.
4513 * gdb.base/all-architectures.exp.in: New file.
4514
4515 2016-12-09 Yao Qi <yao.qi@linaro.org>
4516
4517 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4518
4519 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4520
4521 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4522 possible.
4523 Remove useless pattern-matching code.
4524
4525 2016-12-02 Pedro Alves <palves@redhat.com>
4526
4527 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4528 procedure.
4529 (top level): Call it.
4530
4531 2016-12-02 Pedro Alves <palves@redhat.com>
4532
4533 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4534 New procedure.
4535 (top level): Call it.
4536
4537 2016-12-02 Pedro Alves <palves@redhat.com>
4538
4539 PR cli/20559
4540 * gdb.base/commands.exp (user_defined_command_args_eval): New
4541 procedure.
4542 (top level): Call it.
4543
4544 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4545
4546 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4547 timeout handling.
4548
4549 2016-12-02 Tom Tromey <tom@tromey.com>
4550
4551 * gdb.dwarf2/main-subprogram.c: New file.
4552 * gdb.dwarf2/main-subprogram.exp: New file.
4553
4554 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4555
4556 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4557 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4558 gdb_test_no_output for a couple of cases.
4559 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4560
4561 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4562
4563 Fix test names and standardize compilation error messages throughout
4564 the following files:
4565
4566 * gdb.ada/start.exp
4567 * gdb.arch/alpha-step.exp
4568 * gdb.arch/e500-prologue.exp
4569 * gdb.arch/ftrace-insn-reloc.exp
4570 * gdb.arch/gdb1291.exp
4571 * gdb.arch/gdb1431.exp
4572 * gdb.arch/gdb1558.exp
4573 * gdb.arch/i386-dr3-watch.exp
4574 * gdb.arch/i386-sse-stack-align.exp
4575 * gdb.arch/ia64-breakpoint-shadow.exp
4576 * gdb.arch/pa-nullify.exp
4577 * gdb.arch/powerpc-aix-prologue.exp
4578 * gdb.arch/thumb-bx-pc.exp
4579 * gdb.base/annota1.exp
4580 * gdb.base/annota3.exp
4581 * gdb.base/arrayidx.exp
4582 * gdb.base/assign.exp
4583 * gdb.base/attach.exp
4584 * gdb.base/auxv.exp
4585 * gdb.base/bang.exp
4586 * gdb.base/bfp-test.exp
4587 * gdb.base/bigcore.exp
4588 * gdb.base/bitfields2.exp
4589 * gdb.base/break-fun-addr.exp
4590 * gdb.base/break-probes.exp
4591 * gdb.base/call-rt-st.exp
4592 * gdb.base/callexit.exp
4593 * gdb.base/catch-fork-kill.exp
4594 * gdb.base/charset.exp
4595 * gdb.base/checkpoint.exp
4596 * gdb.base/comprdebug.exp
4597 * gdb.base/constvars.exp
4598 * gdb.base/coredump-filter.exp
4599 * gdb.base/cursal.exp
4600 * gdb.base/cvexpr.exp
4601 * gdb.base/detach.exp
4602 * gdb.base/display.exp
4603 * gdb.base/dmsym.exp
4604 * gdb.base/dprintf-pending.exp
4605 * gdb.base/dso2dso.exp
4606 * gdb.base/dtrace-probe.exp
4607 * gdb.base/dump.exp
4608 * gdb.base/enum_cond.exp
4609 * gdb.base/exe-lock.exp
4610 * gdb.base/exec-invalid-sysroot.exp
4611 * gdb.base/execl-update-breakpoints.exp
4612 * gdb.base/exprs.exp
4613 * gdb.base/fileio.exp
4614 * gdb.base/find.exp
4615 * gdb.base/finish.exp
4616 * gdb.base/fixsection.exp
4617 * gdb.base/foll-vfork.exp
4618 * gdb.base/frame-args.exp
4619 * gdb.base/gcore.exp
4620 * gdb.base/gdb1250.exp
4621 * gdb.base/global-var-nested-by-dso.exp
4622 * gdb.base/gnu-ifunc.exp
4623 * gdb.base/hashline1.exp
4624 * gdb.base/hashline2.exp
4625 * gdb.base/hashline3.exp
4626 * gdb.base/hbreak-in-shr-unsupported.exp
4627 * gdb.base/huge.exp
4628 * gdb.base/infcall-input.exp
4629 * gdb.base/info-fun.exp
4630 * gdb.base/info-shared.exp
4631 * gdb.base/jit-simple.exp
4632 * gdb.base/jit-so.exp
4633 * gdb.base/jit.exp
4634 * gdb.base/jump.exp
4635 * gdb.base/label.exp
4636 * gdb.base/lineinc.exp
4637 * gdb.base/logical.exp
4638 * gdb.base/longjmp.exp
4639 * gdb.base/macscp.exp
4640 * gdb.base/miscexprs.exp
4641 * gdb.base/new-ui-echo.exp
4642 * gdb.base/new-ui-pending-input.exp
4643 * gdb.base/new-ui.exp
4644 * gdb.base/nodebug.exp
4645 * gdb.base/nofield.exp
4646 * gdb.base/offsets.exp
4647 * gdb.base/overlays.exp
4648 * gdb.base/pending.exp
4649 * gdb.base/pointers.exp
4650 * gdb.base/pr11022.exp
4651 * gdb.base/printcmds.exp
4652 * gdb.base/prologue.exp
4653 * gdb.base/ptr-typedef.exp
4654 * gdb.base/realname-expand.exp
4655 * gdb.base/relativedebug.exp
4656 * gdb.base/relocate.exp
4657 * gdb.base/remote.exp
4658 * gdb.base/reread.exp
4659 * gdb.base/return2.exp
4660 * gdb.base/savedregs.exp
4661 * gdb.base/sep.exp
4662 * gdb.base/sepdebug.exp
4663 * gdb.base/sepsymtab.exp
4664 * gdb.base/set-inferior-tty.exp
4665 * gdb.base/setshow.exp
4666 * gdb.base/shlib-call.exp
4667 * gdb.base/sigaltstack.exp
4668 * gdb.base/siginfo-addr.exp
4669 * gdb.base/signals.exp
4670 * gdb.base/signull.exp
4671 * gdb.base/sigrepeat.exp
4672 * gdb.base/so-impl-ld.exp
4673 * gdb.base/solib-display.exp
4674 * gdb.base/solib-overlap.exp
4675 * gdb.base/solib-search.exp
4676 * gdb.base/solib-symbol.exp
4677 * gdb.base/structs.exp
4678 * gdb.base/structs2.exp
4679 * gdb.base/symtab-search-order.exp
4680 * gdb.base/twice.exp
4681 * gdb.base/unload.exp
4682 * gdb.base/varargs.exp
4683 * gdb.base/watchpoint-solib.exp
4684 * gdb.base/watchpoint.exp
4685 * gdb.base/whatis.exp
4686 * gdb.base/wrong_frame_bt_full.exp
4687 * gdb.btrace/dlopen.exp
4688 * gdb.cell/ea-standalone.exp
4689 * gdb.cell/ea-test.exp
4690 * gdb.cp/dispcxx.exp
4691 * gdb.cp/gdb2384.exp
4692 * gdb.cp/method2.exp
4693 * gdb.cp/nextoverthrow.exp
4694 * gdb.cp/pr10728.exp
4695 * gdb.disasm/am33.exp
4696 * gdb.disasm/h8300s.exp
4697 * gdb.disasm/mn10300.exp
4698 * gdb.disasm/sh3.exp
4699 * gdb.dwarf2/dw2-dir-file-name.exp
4700 * gdb.fortran/complex.exp
4701 * gdb.fortran/library-module.exp
4702 * gdb.guile/scm-pretty-print.exp
4703 * gdb.guile/scm-symbol.exp
4704 * gdb.guile/scm-type.exp
4705 * gdb.guile/scm-value.exp
4706 * gdb.linespec/linespec.exp
4707 * gdb.mi/gdb701.exp
4708 * gdb.mi/gdb792.exp
4709 * gdb.mi/mi-breakpoint-changed.exp
4710 * gdb.mi/mi-dprintf-pending.exp
4711 * gdb.mi/mi-dprintf.exp
4712 * gdb.mi/mi-exit-code.exp
4713 * gdb.mi/mi-pending.exp
4714 * gdb.mi/mi-solib.exp
4715 * gdb.mi/new-ui-mi-sync.exp
4716 * gdb.mi/pr11022.exp
4717 * gdb.mi/user-selected-context-sync.exp
4718 * gdb.opt/solib-intra-step.exp
4719 * gdb.python/py-events.exp
4720 * gdb.python/py-finish-breakpoint.exp
4721 * gdb.python/py-mi.exp
4722 * gdb.python/py-prettyprint.exp
4723 * gdb.python/py-shared.exp
4724 * gdb.python/py-symbol.exp
4725 * gdb.python/py-template.exp
4726 * gdb.python/py-type.exp
4727 * gdb.python/py-value.exp
4728 * gdb.reverse/solib-precsave.exp
4729 * gdb.reverse/solib-reverse.exp
4730 * gdb.server/solib-list.exp
4731 * gdb.stabs/weird.exp
4732 * gdb.threads/reconnect-signal.exp
4733 * gdb.threads/stepi-random-signal.exp
4734 * gdb.trace/actions.exp
4735 * gdb.trace/ax.exp
4736 * gdb.trace/backtrace.exp
4737 * gdb.trace/change-loc.exp
4738 * gdb.trace/deltrace.exp
4739 * gdb.trace/ftrace-lock.exp
4740 * gdb.trace/ftrace.exp
4741 * gdb.trace/infotrace.exp
4742 * gdb.trace/mi-tracepoint-changed.exp
4743 * gdb.trace/packetlen.exp
4744 * gdb.trace/passcount.exp
4745 * gdb.trace/pending.exp
4746 * gdb.trace/range-stepping.exp
4747 * gdb.trace/report.exp
4748 * gdb.trace/stap-trace.exp
4749 * gdb.trace/tfind.exp
4750 * gdb.trace/trace-break.exp
4751 * gdb.trace/trace-condition.exp
4752 * gdb.trace/trace-enable-disable.exp
4753 * gdb.trace/trace-mt.exp
4754 * gdb.trace/tracecmd.exp
4755 * gdb.trace/tspeed.exp
4756 * gdb.trace/tsv.exp
4757 * lib/perftest.exp
4758
4759 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4760
4761 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4762 with gdb_test_no_output.
4763 Use command as test name.
4764
4765 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4766
4767 Fix test names starting with uppercase throughout the files.
4768
4769 * gdb.ada/assign_1.exp
4770 * gdb.ada/boolean_expr.exp
4771 * gdb.base/arrayidx.exp
4772 * gdb.base/del.exp
4773 * gdb.base/gcore-buffer-overflow.exp
4774 * gdb.base/testenv.exp
4775 * gdb.compile/compile.exp
4776 * gdb.python/py-framefilter-invalidarg.exp
4777 * gdb.python/py-framefilter.exp
4778
4779 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4780
4781 Fix test names starting with uppercase throughout the files.
4782
4783 * gdb.ada/array_return.exp
4784 * gdb.ada/expr_delims.exp
4785 * gdb.ada/mi_dyn_arr.exp
4786 * gdb.ada/mi_interface.exp
4787 * gdb.ada/mi_var_array.exp
4788 * gdb.ada/watch_arg.exp
4789 * gdb.arch/alpha-step.exp
4790 * gdb.arch/altivec-regs.exp
4791 * gdb.arch/e500-regs.exp
4792 * gdb.arch/powerpc-d128-regs.exp
4793 * gdb.base/arrayidx.exp
4794 * gdb.base/break.exp
4795 * gdb.base/checkpoint.exp
4796 * gdb.base/debug-expr.exp
4797 * gdb.base/dmsym.exp
4798 * gdb.base/radix.exp
4799 * gdb.base/sepdebug.exp
4800 * gdb.base/testenv.exp
4801 * gdb.base/watch_thread_num.exp
4802 * gdb.base/watchpoint-cond-gone.exp
4803 * gdb.cell/break.exp
4804 * gdb.cell/ea-cache.exp
4805 * gdb.compile/compile.exp
4806 * gdb.cp/gdb2495.exp
4807 * gdb.gdb/selftest.exp
4808 * gdb.gdb/xfullpath.exp
4809 * gdb.go/hello.exp
4810 * gdb.go/integers.exp
4811 * gdb.objc/basicclass.exp
4812 * gdb.pascal/hello.exp
4813 * gdb.pascal/integers.exp
4814 * gdb.python/py-breakpoint.exp
4815 * gdb.python/py-cmd.exp
4816 * gdb.python/py-linetable.exp
4817 * gdb.python/py-xmethods.exp
4818 * gdb.python/python.exp
4819 * gdb.reverse/consecutive-precsave.exp
4820 * gdb.reverse/finish-precsave.exp
4821 * gdb.reverse/i386-precsave.exp
4822 * gdb.reverse/machinestate-precsave.exp
4823 * gdb.reverse/sigall-precsave.exp
4824 * gdb.reverse/solib-precsave.exp
4825 * gdb.reverse/step-precsave.exp
4826 * gdb.reverse/until-precsave.exp
4827 * gdb.reverse/watch-precsave.exp
4828 * gdb.threads/leader-exit.exp
4829 * gdb.threads/pthreads.exp
4830 * gdb.threads/wp-replication.exp
4831 * gdb.trace/actions.exp
4832 * gdb.trace/mi-tsv-changed.exp
4833 * gdb.trace/tsv.exp
4834
4835 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4836
4837 Fix test names starting with uppercase throughout the files.
4838
4839 * gdb.arch/i386-bp_permanent.exp
4840 * gdb.arch/i386-gnu-cfi.exp
4841 * gdb.base/disasm-end-cu.exp
4842 * gdb.base/macscp.exp
4843 * gdb.base/pending.exp
4844 * gdb.base/watch_thread_num.exp
4845 * gdb.cp/exception.exp
4846 * gdb.cp/gdb2495.exp
4847 * gdb.cp/local.exp
4848 * gdb.python/py-evsignal.exp
4849 * gdb.python/python.exp
4850 * gdb.trace/tracecmd.exp
4851
4852 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4853
4854 Fix test names starting with uppercase throughout the files.
4855
4856 * gdb.base/charset.exp
4857 * gdb.base/eval.exp
4858 * gdb.base/multi-forks.exp
4859 * gdb.guile/scm-progspace.exp
4860 * gdb.opencl/datatypes.exp
4861 * gdb.python/py-block.exp
4862 * gdb.python/py-function.exp
4863 * gdb.python/py-symbol.exp
4864 * gdb.python/py-symtab.exp
4865 * gdb.python/py-xmethods.exp
4866 * gdb.reverse/break-precsave.exp
4867 * gdb.reverse/break-reverse.exp
4868 * gdb.reverse/consecutive-precsave.exp
4869 * gdb.reverse/consecutive-reverse.exp
4870 * gdb.reverse/finish-precsave.exp
4871 * gdb.reverse/finish-reverse-bkpt.exp
4872 * gdb.reverse/finish-reverse.exp
4873 * gdb.reverse/fstatat-reverse.exp
4874 * gdb.reverse/getresuid-reverse.exp
4875 * gdb.reverse/i386-precsave.exp
4876 * gdb.reverse/i386-reverse.exp
4877 * gdb.reverse/i386-sse-reverse.exp
4878 * gdb.reverse/i387-stack-reverse.exp
4879 * gdb.reverse/insn-reverse.exp
4880 * gdb.reverse/machinestate-precsave.exp
4881 * gdb.reverse/machinestate.exp
4882 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4883 * gdb.reverse/pipe-reverse.exp
4884 * gdb.reverse/readv-reverse.exp
4885 * gdb.reverse/recvmsg-reverse.exp
4886 * gdb.reverse/rerun-prec.exp
4887 * gdb.reverse/s390-mvcle.exp
4888 * gdb.reverse/sigall-precsave.exp
4889 * gdb.reverse/sigall-reverse.exp
4890 * gdb.reverse/solib-precsave.exp
4891 * gdb.reverse/solib-reverse.exp
4892 * gdb.reverse/step-precsave.exp
4893 * gdb.reverse/step-reverse.exp
4894 * gdb.reverse/time-reverse.exp
4895 * gdb.reverse/until-precsave.exp
4896 * gdb.reverse/until-reverse.exp
4897 * gdb.reverse/waitpid-reverse.exp
4898 * gdb.reverse/watch-precsave.exp
4899 * gdb.reverse/watch-reverse.exp
4900
4901 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4902
4903 Fix test names starting with uppercase throughout the files.
4904
4905 * gdb.arch/i386-mpx-simple_segv.exp
4906 * gdb.arch/i386-mpx.exp
4907 * gdb.arch/i386-permbkpt.exp
4908 * gdb.arch/pa-nullify.exp
4909 * gdb.arch/powerpc-d128-regs.exp
4910 * gdb.arch/vsx-regs.exp
4911 * gdb.base/bfp-test.exp
4912 * gdb.base/break.exp
4913 * gdb.base/breakpoint-shadow.exp
4914 * gdb.base/callfuncs.exp
4915 * gdb.base/charset.exp
4916 * gdb.base/commands.exp
4917 * gdb.base/completion.exp
4918 * gdb.base/dfp-test.exp
4919 * gdb.base/echo.exp
4920 * gdb.base/ending-run.exp
4921 * gdb.base/eval.exp
4922 * gdb.base/expand-psymtabs.exp
4923 * gdb.base/float128.exp
4924 * gdb.base/floatn.exp
4925 * gdb.base/foll-exec-mode.exp
4926 * gdb.base/gdb1056.exp
4927 * gdb.base/gdb11531.exp
4928 * gdb.base/kill-after-signal.exp
4929 * gdb.base/multi-forks.exp
4930 * gdb.base/overlays.exp
4931 * gdb.base/pending.exp
4932 * gdb.base/sepdebug.exp
4933 * gdb.base/testenv.exp
4934 * gdb.base/valgrind-db-attach.exp
4935 * gdb.base/watch_thread_num.exp
4936 * gdb.base/watchpoint-cond-gone.exp
4937 * gdb.base/watchpoint.exp
4938 * gdb.base/watchpoints.exp
4939 * gdb.cp/arg-reference.exp
4940 * gdb.cp/baseenum.exp
4941 * gdb.cp/operator.exp
4942 * gdb.cp/shadow.exp
4943 * gdb.dwarf2/dw2-op-out-param.exp
4944 * gdb.dwarf2/dw2-reg-undefined.exp
4945 * gdb.go/chan.exp
4946 * gdb.go/hello.exp
4947 * gdb.go/integers.exp
4948 * gdb.go/methods.exp
4949 * gdb.go/package.exp
4950 * gdb.guile/scm-parameter.exp
4951 * gdb.guile/scm-progspace.exp
4952 * gdb.guile/scm-value.exp
4953 * gdb.mi/mi-pending.exp
4954 * gdb.mi/user-selected-context-sync.exp
4955 * gdb.multi/multi-attach.exp
4956 * gdb.multi/tids.exp
4957 * gdb.opt/clobbered-registers-O2.exp
4958 * gdb.pascal/floats.exp
4959 * gdb.pascal/integers.exp
4960 * gdb.python/py-block.exp
4961 * gdb.python/py-events.exp
4962 * gdb.python/py-parameter.exp
4963 * gdb.python/py-symbol.exp
4964 * gdb.python/py-symtab.exp
4965 * gdb.python/py-type.exp
4966 * gdb.python/py-value.exp
4967 * gdb.python/py-xmethods.exp
4968 * gdb.python/python.exp
4969 * gdb.reverse/break-precsave.exp
4970 * gdb.reverse/consecutive-precsave.exp
4971 * gdb.reverse/finish-precsave.exp
4972 * gdb.reverse/i386-precsave.exp
4973 * gdb.reverse/machinestate-precsave.exp
4974 * gdb.reverse/sigall-precsave.exp
4975 * gdb.reverse/solib-precsave.exp
4976 * gdb.reverse/step-precsave.exp
4977 * gdb.reverse/until-precsave.exp
4978 * gdb.reverse/watch-precsave.exp
4979 * gdb.server/ext-attach.exp
4980 * gdb.server/ext-restart.exp
4981 * gdb.server/ext-run.exp
4982 * gdb.server/ext-wrapper.exp
4983 * gdb.stabs/gdb11479.exp
4984 * gdb.stabs/weird.exp
4985 * gdb.threads/attach-many-short-lived-threads.exp
4986 * gdb.threads/kill.exp
4987 * gdb.threads/watchpoint-fork.exp
4988
4989 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4990
4991 Fix test names starting with uppercase throughout all the files below.
4992
4993 * gdb.ada/array_return.exp
4994 * gdb.ada/catch_ex.exp
4995 * gdb.ada/info_exc.exp
4996 * gdb.ada/mi_catch_ex.exp
4997 * gdb.ada/mi_dyn_arr.exp
4998 * gdb.ada/mi_ex_cond.exp
4999 * gdb.ada/mi_exc_info.exp
5000 * gdb.ada/mi_interface.exp
5001 * gdb.ada/mi_task_arg.exp
5002 * gdb.ada/mi_task_info.exp
5003 * gdb.ada/mi_var_array.exp
5004 * gdb.arch/alpha-step.exp
5005 * gdb.arch/amd64-disp-step.exp
5006 * gdb.arch/arm-disp-step.exp
5007 * gdb.arch/disp-step-insn-reloc.exp
5008 * gdb.arch/e500-prologue.exp
5009 * gdb.arch/ftrace-insn-reloc.exp
5010 * gdb.arch/gdb1558.exp
5011 * gdb.arch/i386-bp_permanent.exp
5012 * gdb.arch/i386-disp-step.exp
5013 * gdb.arch/i386-float.exp
5014 * gdb.arch/i386-gnu-cfi.exp
5015 * gdb.arch/ia64-breakpoint-shadow.exp
5016 * gdb.arch/mips16-thunks.exp
5017 * gdb.arch/pa-nullify.exp
5018 * gdb.arch/powerpc-aix-prologue.exp
5019 * gdb.arch/powerpc-power.exp
5020 * gdb.arch/ppc-dfp.exp
5021 * gdb.arch/s390-tdbregs.exp
5022 * gdb.arch/spu-info.exp
5023 * gdb.arch/spu-ls.exp
5024 * gdb.arch/thumb-bx-pc.exp
5025 * gdb.base/advance.exp
5026 * gdb.base/annota-input-while-running.exp
5027 * gdb.base/arrayidx.exp
5028 * gdb.base/asmlabel.exp
5029 * gdb.base/async.exp
5030 * gdb.base/attach-wait-input.exp
5031 * gdb.base/auto-connect-native-target.exp
5032 * gdb.base/batch-preserve-term-settings.exp
5033 * gdb.base/bfp-test.exp
5034 * gdb.base/bigcore.exp
5035 * gdb.base/bp-permanent.exp
5036 * gdb.base/break-always.exp
5037 * gdb.base/break-fun-addr.exp
5038 * gdb.base/break-idempotent.exp
5039 * gdb.base/break-main-file-remove-fail.exp
5040 * gdb.base/break-probes.exp
5041 * gdb.base/break-unload-file.exp
5042 * gdb.base/break.exp
5043 * gdb.base/call-ar-st.exp
5044 * gdb.base/call-rt-st.exp
5045 * gdb.base/call-sc.exp
5046 * gdb.base/call-signal-resume.exp
5047 * gdb.base/call-strs.exp
5048 * gdb.base/callexit.exp
5049 * gdb.base/callfuncs.exp
5050 * gdb.base/catch-gdb-caused-signals.exp
5051 * gdb.base/catch-signal-siginfo-cond.exp
5052 * gdb.base/catch-syscall.exp
5053 * gdb.base/compare-sections.exp
5054 * gdb.base/cond-eval-mode.exp
5055 * gdb.base/condbreak-call-false.exp
5056 * gdb.base/consecutive-step-over.exp
5057 * gdb.base/cursal.exp
5058 * gdb.base/disabled-location.exp
5059 * gdb.base/disasm-end-cu.exp
5060 * gdb.base/display.exp
5061 * gdb.base/double-prompt-target-event-error.exp
5062 * gdb.base/dprintf-bp-same-addr.exp
5063 * gdb.base/dprintf-detach.exp
5064 * gdb.base/dprintf-next.exp
5065 * gdb.base/dprintf-non-stop.exp
5066 * gdb.base/dprintf-pending.exp
5067 * gdb.base/dso2dso.exp
5068 * gdb.base/ending-run.exp
5069 * gdb.base/enum_cond.exp
5070 * gdb.base/examine-backward.exp
5071 * gdb.base/exe-lock.exp
5072 * gdb.base/exec-invalid-sysroot.exp
5073 * gdb.base/execl-update-breakpoints.exp
5074 * gdb.base/execution-termios.exp
5075 * gdb.base/fileio.exp
5076 * gdb.base/fixsection.exp
5077 * gdb.base/foll-exec-mode.exp
5078 * gdb.base/foll-exec.exp
5079 * gdb.base/fork-running-state.exp
5080 * gdb.base/frame-args.exp
5081 * gdb.base/fullpath-expand.exp
5082 * gdb.base/func-ptr.exp
5083 * gdb.base/gcore-relro-pie.exp
5084 * gdb.base/gdb1090.exp
5085 * gdb.base/gdb1555.exp
5086 * gdb.base/global-var-nested-by-dso.exp
5087 * gdb.base/gnu-ifunc.exp
5088 * gdb.base/hbreak-in-shr-unsupported.exp
5089 * gdb.base/hbreak-unmapped.exp
5090 * gdb.base/hook-stop.exp
5091 * gdb.base/infcall-input.exp
5092 * gdb.base/info-fun.exp
5093 * gdb.base/info-shared.exp
5094 * gdb.base/interrupt-noterm.exp
5095 * gdb.base/jit-so.exp
5096 * gdb.base/jit.exp
5097 * gdb.base/line-symtabs.exp
5098 * gdb.base/list.exp
5099 * gdb.base/longjmp.exp
5100 * gdb.base/macscp.exp
5101 * gdb.base/max-value-size.exp
5102 * gdb.base/nodebug.exp
5103 * gdb.base/nofield.exp
5104 * gdb.base/overlays.exp
5105 * gdb.base/paginate-after-ctrl-c-running.exp
5106 * gdb.base/paginate-bg-execution.exp
5107 * gdb.base/paginate-inferior-exit.exp
5108 * gdb.base/pending.exp
5109 * gdb.base/pr11022.exp
5110 * gdb.base/printcmds.exp
5111 * gdb.base/ptr-typedef.exp
5112 * gdb.base/ptype.exp
5113 * gdb.base/randomize.exp
5114 * gdb.base/range-stepping.exp
5115 * gdb.base/realname-expand.exp
5116 * gdb.base/relativedebug.exp
5117 * gdb.base/remote.exp
5118 * gdb.base/savedregs.exp
5119 * gdb.base/sepdebug.exp
5120 * gdb.base/set-noassign.exp
5121 * gdb.base/shlib-call.exp
5122 * gdb.base/shreloc.exp
5123 * gdb.base/sigaltstack.exp
5124 * gdb.base/sigbpt.exp
5125 * gdb.base/siginfo-addr.exp
5126 * gdb.base/siginfo-obj.exp
5127 * gdb.base/siginfo-thread.exp
5128 * gdb.base/signest.exp
5129 * gdb.base/signull.exp
5130 * gdb.base/sigrepeat.exp
5131 * gdb.base/skip.exp
5132 * gdb.base/so-impl-ld.exp
5133 * gdb.base/solib-corrupted.exp
5134 * gdb.base/solib-disc.exp
5135 * gdb.base/solib-display.exp
5136 * gdb.base/solib-overlap.exp
5137 * gdb.base/solib-search.exp
5138 * gdb.base/solib-symbol.exp
5139 * gdb.base/source-execution.exp
5140 * gdb.base/sss-bp-on-user-bp-2.exp
5141 * gdb.base/sss-bp-on-user-bp.exp
5142 * gdb.base/stack-checking.exp
5143 * gdb.base/stale-infcall.exp
5144 * gdb.base/step-break.exp
5145 * gdb.base/step-line.exp
5146 * gdb.base/step-over-exit.exp
5147 * gdb.base/step-test.exp
5148 * gdb.base/structs.exp
5149 * gdb.base/sym-file.exp
5150 * gdb.base/symtab-search-order.exp
5151 * gdb.base/term.exp
5152 * gdb.base/type-opaque.exp
5153 * gdb.base/unload.exp
5154 * gdb.base/until-nodebug.exp
5155 * gdb.base/until.exp
5156 * gdb.base/unwindonsignal.exp
5157 * gdb.base/watch-cond.exp
5158 * gdb.base/watch-non-mem.exp
5159 * gdb.base/watch_thread_num.exp
5160 * gdb.base/watchpoint-reuse-slot.exp
5161 * gdb.base/watchpoint-solib.exp
5162 * gdb.base/watchpoint.exp
5163 * gdb.btrace/dlopen.exp
5164 * gdb.cell/arch.exp
5165 * gdb.cell/break.exp
5166 * gdb.cell/bt.exp
5167 * gdb.cell/core.exp
5168 * gdb.cell/data.exp
5169 * gdb.cell/dwarfaddr.exp
5170 * gdb.cell/ea-cache.exp
5171 * gdb.cell/ea-standalone.exp
5172 * gdb.cell/ea-test.exp
5173 * gdb.cell/f-regs.exp
5174 * gdb.cell/fork.exp
5175 * gdb.cell/gcore.exp
5176 * gdb.cell/mem-access.exp
5177 * gdb.cell/ptype.exp
5178 * gdb.cell/registers.exp
5179 * gdb.cell/sizeof.exp
5180 * gdb.cell/solib-symbol.exp
5181 * gdb.cell/solib.exp
5182 * gdb.compile/compile-tls.exp
5183 * gdb.cp/exception.exp
5184 * gdb.cp/gdb2495.exp
5185 * gdb.cp/local.exp
5186 * gdb.cp/mb-inline.exp
5187 * gdb.cp/mb-templates.exp
5188 * gdb.cp/pr10687.exp
5189 * gdb.cp/pr9167.exp
5190 * gdb.cp/scope-err.exp
5191 * gdb.cp/templates.exp
5192 * gdb.cp/virtfunc.exp
5193 * gdb.dwarf2/dw2-dir-file-name.exp
5194 * gdb.dwarf2/dw2-single-line-discriminators.exp
5195 * gdb.fortran/complex.exp
5196 * gdb.fortran/library-module.exp
5197 * gdb.guile/guile.exp
5198 * gdb.guile/scm-cmd.exp
5199 * gdb.guile/scm-frame-inline.exp
5200 * gdb.guile/scm-objfile.exp
5201 * gdb.guile/scm-pretty-print.exp
5202 * gdb.guile/scm-symbol.exp
5203 * gdb.guile/scm-type.exp
5204 * gdb.guile/scm-value.exp
5205 * gdb.linespec/keywords.exp
5206 * gdb.linespec/ls-errs.exp
5207 * gdb.linespec/macro-relative.exp
5208 * gdb.linespec/thread.exp
5209 * gdb.mi/mi-breakpoint-changed.exp
5210 * gdb.mi/mi-dprintf-pending.exp
5211 * gdb.mi/mi-fullname-deleted.exp
5212 * gdb.mi/mi-logging.exp
5213 * gdb.mi/mi-pending.exp
5214 * gdb.mi/mi-solib.exp
5215 * gdb.mi/new-ui-mi-sync.exp
5216 * gdb.mi/user-selected-context-sync.exp
5217 * gdb.multi/dummy-frame-restore.exp
5218 * gdb.multi/multi-arch-exec.exp
5219 * gdb.multi/remove-inferiors.exp
5220 * gdb.multi/watchpoint-multi-exit.exp
5221 * gdb.opt/solib-intra-step.exp
5222 * gdb.perf/backtrace.exp
5223 * gdb.perf/single-step.exp
5224 * gdb.perf/skip-command.exp
5225 * gdb.perf/skip-prologue.exp
5226 * gdb.perf/solib.exp
5227 * gdb.python/lib-types.exp
5228 * gdb.python/py-as-string.exp
5229 * gdb.python/py-bad-printers.exp
5230 * gdb.python/py-block.exp
5231 * gdb.python/py-breakpoint.exp
5232 * gdb.python/py-cmd.exp
5233 * gdb.python/py-events.exp
5234 * gdb.python/py-evthreads.exp
5235 * gdb.python/py-finish-breakpoint.exp
5236 * gdb.python/py-finish-breakpoint2.exp
5237 * gdb.python/py-frame-inline.exp
5238 * gdb.python/py-frame.exp
5239 * gdb.python/py-inferior.exp
5240 * gdb.python/py-infthread.exp
5241 * gdb.python/py-mi.exp
5242 * gdb.python/py-objfile.exp
5243 * gdb.python/py-pp-maint.exp
5244 * gdb.python/py-pp-registration.exp
5245 * gdb.python/py-prettyprint.exp
5246 * gdb.python/py-recurse-unwind.exp
5247 * gdb.python/py-shared.exp
5248 * gdb.python/py-symbol.exp
5249 * gdb.python/py-symtab.exp
5250 * gdb.python/py-template.exp
5251 * gdb.python/py-type.exp
5252 * gdb.python/py-unwind-maint.exp
5253 * gdb.python/py-unwind.exp
5254 * gdb.python/py-value.exp
5255 * gdb.python/python.exp
5256 * gdb.reverse/finish-reverse-bkpt.exp
5257 * gdb.reverse/insn-reverse.exp
5258 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5259 * gdb.reverse/solib-precsave.exp
5260 * gdb.reverse/solib-reverse.exp
5261 * gdb.stabs/gdb11479.exp
5262 * gdb.stabs/weird.exp
5263 * gdb.threads/fork-child-threads.exp
5264 * gdb.threads/fork-plus-threads.exp
5265 * gdb.threads/fork-thread-pending.exp
5266 * gdb.threads/forking-threads-plus-breakpoint.exp
5267 * gdb.threads/hand-call-in-threads.exp
5268 * gdb.threads/interrupted-hand-call.exp
5269 * gdb.threads/linux-dp.exp
5270 * gdb.threads/local-watch-wrong-thread.exp
5271 * gdb.threads/next-while-other-thread-longjmps.exp
5272 * gdb.threads/non-ldr-exit.exp
5273 * gdb.threads/pending-step.exp
5274 * gdb.threads/print-threads.exp
5275 * gdb.threads/process-dies-while-detaching.exp
5276 * gdb.threads/process-dies-while-handling-bp.exp
5277 * gdb.threads/pthreads.exp
5278 * gdb.threads/queue-signal.exp
5279 * gdb.threads/reconnect-signal.exp
5280 * gdb.threads/signal-command-handle-nopass.exp
5281 * gdb.threads/signal-command-multiple-signals-pending.exp
5282 * gdb.threads/signal-delivered-right-thread.exp
5283 * gdb.threads/signal-sigtrap.exp
5284 * gdb.threads/sigthread.exp
5285 * gdb.threads/staticthreads.exp
5286 * gdb.threads/stepi-random-signal.exp
5287 * gdb.threads/thread-unwindonsignal.exp
5288 * gdb.threads/thread_check.exp
5289 * gdb.threads/thread_events.exp
5290 * gdb.threads/tid-reuse.exp
5291 * gdb.threads/tls-nodebug.exp
5292 * gdb.threads/tls-shared.exp
5293 * gdb.threads/tls-so_extern.exp
5294 * gdb.threads/tls.exp
5295 * gdb.threads/wp-replication.exp
5296 * gdb.trace/actions-changed.exp
5297 * gdb.trace/actions.exp
5298 * gdb.trace/backtrace.exp
5299 * gdb.trace/change-loc.exp
5300 * gdb.trace/collection.exp
5301 * gdb.trace/deltrace.exp
5302 * gdb.trace/disconnected-tracing.exp
5303 * gdb.trace/entry-values.exp
5304 * gdb.trace/ftrace-lock.exp
5305 * gdb.trace/ftrace.exp
5306 * gdb.trace/infotrace.exp
5307 * gdb.trace/mi-trace-frame-collected.exp
5308 * gdb.trace/mi-trace-unavailable.exp
5309 * gdb.trace/mi-traceframe-changed.exp
5310 * gdb.trace/mi-tracepoint-changed.exp
5311 * gdb.trace/mi-tsv-changed.exp
5312 * gdb.trace/no-attach-trace.exp
5313 * gdb.trace/packetlen.exp
5314 * gdb.trace/passc-dyn.exp
5315 * gdb.trace/passcount.exp
5316 * gdb.trace/pending.exp
5317 * gdb.trace/pr16508.exp
5318 * gdb.trace/qtro.exp
5319 * gdb.trace/range-stepping.exp
5320 * gdb.trace/read-memory.exp
5321 * gdb.trace/report.exp
5322 * gdb.trace/save-trace.exp
5323 * gdb.trace/signal.exp
5324 * gdb.trace/stap-trace.exp
5325 * gdb.trace/status-stop.exp
5326 * gdb.trace/strace.exp
5327 * gdb.trace/tfile.exp
5328 * gdb.trace/tfind.exp
5329 * gdb.trace/trace-break.exp
5330 * gdb.trace/trace-condition.exp
5331 * gdb.trace/trace-enable-disable.exp
5332 * gdb.trace/trace-mt.exp
5333 * gdb.trace/tracecmd.exp
5334 * gdb.trace/tracefile-pseudo-reg.exp
5335 * gdb.trace/tspeed.exp
5336 * gdb.trace/tstatus.exp
5337 * gdb.trace/tsv.exp
5338 * gdb.trace/unavailable.exp
5339 * gdb.trace/while-dyn.exp
5340 * gdb.trace/while-stepping.exp
5341 * lib/gdb-guile.exp
5342 * lib/gdb.exp
5343 * lib/mi-support.exp
5344 * lib/pascal.exp
5345 * lib/perftest.exp
5346 * lib/prelink-support.exp
5347 * lib/selftest-support.exp
5348
5349 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5350
5351 * Makefile.in: Include disable-implicit-rules.mk.
5352
5353 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5354
5355 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5356 non-byte-aligned bit fields.
5357
5358 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5359
5360 PR gdb/12616
5361 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5362 respects the DW_AT_data_bit_offset attribute.
5363
5364 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5365
5366 * gdb.base/default.exp: Fix output of "set language".
5367
5368 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5369
5370 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5371 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5372 make.
5373 * configure.ac: Remove checks for the make program.
5374 * configure: Re-generate.
5375
5376 2016-11-16 Kevin Buettner <kevinb@redhat.com>
5377
5378 * gdb.python/py-recurse-unwind.c (main): Add loop.
5379 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5380 to read_register() and gdb.parse_and_eval(). Make each code
5381 call a separate case that can be individually tested.
5382 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5383 proc. Call cont_and_backtrace for each of the code paths that
5384 we want to test in the unwinder.
5385
5386 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5387
5388 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5389 the definition of struct S.
5390
5391 2016-11-11 Catherine Moore <clm@codesourcery.com>
5392
5393 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5394
5395 2016-11-09 Pedro Alves <palves@redhat.com>
5396
5397 * gdb.base/commands.exp (runto_or_return): New procedure.
5398 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5399 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5400 (progvar_simple_while_test, progvar_complex_if_while_test)
5401 (if_while_breakpoint_command_test)
5402 (infrun_breakpoint_command_test, breakpoint_command_test)
5403 (user_defined_command_test, watchpoint_command_test)
5404 (test_command_prompt_position, redefine_hook_test)
5405 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5406 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5407 multi_line_input and multi_line. Remove gdb_expect and
5408 gdb_stop_suppressing_tests uses.
5409 * lib/gdb.exp (valnum_re): New global.
5410 (multi_line_input): New procedure.
5411
5412 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5413
5414 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5415 Remove.
5416 (test_setup): Define with proc_with_prefix.
5417 (test_cli_inferior): Likewise.
5418 (test_cli_thread): Likewise.
5419 (test_cli_frame): Likewise.
5420 (test_cli_select_frame): Likewise.
5421 (test_cli_up_down): Likewise.
5422 (test_mi_thread_select): Likewise.
5423 (test_mi_stack_select_frame): Likewise.
5424 (test_cli_in_mi_inferior): Likewise.
5425 (test_cli_in_mi_thread): Likewise.
5426 (test_cli_in_mi_frame): Likewise.
5427 (top level): Do not use with_test_prefix_procname.
5428
5429 2016-11-09 Pedro Alves <palves@redhat.com>
5430
5431 * gdb.base/commands.exp (gdbvar_simple_if_test)
5432 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5433 (progvar_simple_if_test, progvar_simple_while_test)
5434 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5435 (infrun_breakpoint_command_test, breakpoint_command_test)
5436 (user_defined_command_test, watchpoint_command_test)
5437 (test_command_prompt_position, deprecated_command_test)
5438 (bp_deleted_in_command, temporary_breakpoint_commands)
5439 (stray_arg0_test, source_file_with_indented_comment)
5440 (recursive_source_test, if_commands_test)
5441 (error_clears_commands_left, redefine_hook_test)
5442 (redefine_backtrace_test): Use proc_with_prefix.
5443 * lib/gdb.exp (proc_with_prefix): New proc.
5444
5445 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5446
5447 * gdb.base/tui-layout.c: New file.
5448 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5449 disassembly window contains very long lines.
5450
5451 2016-11-08 Tom Tromey <tom@tromey.com>
5452
5453 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5454 depend on Python 2.
5455
5456 2016-11-08 Tom Tromey <tom@tromey.com>
5457
5458 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5459 New method.
5460
5461 2016-10-29 Manish Goregaokar <manish@mozilla.com>
5462
5463 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5464
5465 2016-10-27 Manish Goregaokar <manish@mozilla.com>
5466
5467 * gdb.rust/simple.rs: Add test for univariant enums without
5468 discriminants and for encoded struct-like enums.
5469
5470 2016-10-28 Pedro Alves <palves@redhat.com>
5471
5472 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5473 gdb_test_multiple, tighten regexps and match symtabs and line
5474 tables incrementally.
5475
5476 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
5477
5478 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5479 general.
5480
5481 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
5482
5483 * gdb.base/exec-invalid-sysroot.exp: New file.
5484
5485 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5486
5487 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5488
5489 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5490
5491 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5492
5493 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5494
5495 * gdb.base/killed-outside.exp: Remove $options from a call to
5496 `prepare_for_testing'.
5497
5498 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5499
5500 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5501 Change test message.
5502
5503 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5504
5505 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5506 Update comment.
5507
5508 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5509
5510 * gdb.trace/mi-trace-save.exp: New file.
5511
5512 2016-10-13 Yao Qi <yao.qi@linaro.org>
5513
5514 * gdb.base/code_elim.exp (get_var_address): Remove.
5515 * gdb.base/relocate.exp: Likewise.
5516 * gdb.base/shreloc.exp: Likewise.
5517 * lib/gdb.exp (get_var_address): New.
5518
5519 2016-10-13 Yao Qi <yao.qi@linaro.org>
5520
5521 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5522 floating point tests if $skip_float_test is false.
5523
5524 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
5525
5526 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5527 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5528 argc values.
5529 Add 1 to argc so we guarantee distinct initial/modified argc values.
5530
5531 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5532
5533 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5534
5535 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5536
5537 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5538 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5539 * gdb.arch/vsx-regs.exp: Likewise.
5540
5541 2016-10-07 Yao Qi <yao.qi@linaro.org>
5542
5543 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5544
5545 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5546
5547 * gdb.python/python.exp: Test decode_line("*0").
5548
5549 2016-10-06 Doug Evans <dje@google.com>
5550
5551 * gdb.python/py-value.exp (test_value_creation): Add test for large
5552 unsigned 64-bit value.
5553
5554 2016-10-06 Tom Tromey <tom@tromey.com>
5555
5556 * gdb.compile/compile.exp: Change java tests to rust.
5557 * gdb.base/setshow.exp: Change java tests to rust.
5558 * gdb.base/default.exp: Remove java from language list.
5559 * README (Examples): Update language example.
5560 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5561 test.
5562 * lib/gdb.exp (skip_java_tests): Remove.
5563 * lib/java.exp: Remove.
5564 * gdb.java: Remove.
5565
5566 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5567
5568 * gdb.arch/mips-fcr.exp: New test.
5569 * gdb.arch/mips-fcr.c: Source for the new test.
5570
5571 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5572
5573 * gdb.base/solib-disc.exp: Use `standard_output_file'
5574 throughout.
5575
5576 2016-10-06 Pedro Alves <palves@redhat.com>
5577
5578 * gdb.base/jit-simple-dl.c: New file.
5579 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5580 * gdb.base/jit-simple.c: ... this.
5581 * gdb.base/jit-simple.exp (jit_run): Delete.
5582 (build_jit): New proc.
5583 (jit_test_reread): Recompile either the main program or the shared
5584 library, depending on what is being tested. Skip changing address
5585 if caller wants to. Compare before/after addresses. If testing
5586 standalone, explicitly load the binary. Test "maint info
5587 breakpoints".
5588 (top level): Add "standalone vs shared lib" and "change address"
5589 vs "same address" axes.
5590
5591 2016-10-06 Pedro Alves <palves@redhat.com>
5592
5593 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5594 call.
5595 (jit_run): Delete.
5596 (jit_test_reread): Use with_test_prefix. Reload the main binary
5597 explicitly. Compare the before/after addresses of the JIT
5598 descriptor.
5599
5600 2016-08-15 Doug Evans <dje@google.com>
5601
5602 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5603 for single bitfields is bool.
5604 * gdb.xml/tdesc-regs.exp: Ditto.
5605
5606 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5607
5608 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5609
5610 2016-10-05 Yao Qi <yao.qi@linaro.org>
5611
5612 * lib/gdb.exp (support_complex_tests): Return zero if
5613 gdb_skip_float_test return true.
5614
5615 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5616 Simon Marchi <simon.marchi@ericsson.com>
5617
5618 PR gdb/20487
5619 * gdb.mi/user-selected-context-sync.exp: New file.
5620 * gdb.mi/user-selected-context-sync.c: New file.
5621
5622 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5623 Simon Marchi <simon.marchi@ericsson.com>
5624
5625 PR gdb/20487
5626 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5627 =thread-select-event check.
5628
5629 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5630
5631 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5632 the compulsory L operand changes.
5633 * gdb.arch/powerpc-power.s: Likewise.
5634
5635 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5636
5637 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5638 * gdb.base/jit-attach-pie.c: New file.
5639 * gdb.base/jit-attach-pie.exp: New file.
5640
5641 2016-09-28 Pedro Alves <palves@redhat.com>
5642
5643 * gdb.base/infcall-input.c: New file.
5644 * gdb.base/infcall-input.exp: New file.
5645
5646 2016-09-22 Yao Qi <yao.qi@linaro.org>
5647
5648 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5649 (gdb_exit): Rename it to ...
5650 (gdbserver_gdb_exit): ... Close GDBserver.
5651 (gdb_exit): New proc, call gdbserver_gdb_exit.
5652 (mi_gdb_exit): Likewise.
5653
5654 2016-09-22 Yao Qi <yao.qi@linaro.org>
5655
5656 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5657 path.
5658 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5659 Remove duplication.
5660
5661 2016-09-22 Yao Qi <yao.qi@linaro.org>
5662
5663 * lib/gdbserver-support.exp: Check the existence of
5664 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5665
5666 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5667
5668 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5669
5670 2016-09-21 Tom Tromey <tom@tromey.com>
5671
5672 PR gdb/20604:
5673 * gdb.base/quit.exp: New file.
5674
5675 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5676
5677 * .gitignore: New file.
5678
5679 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5680
5681 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5682 throughout.
5683
5684 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5685
5686 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5687
5688 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5689
5690 * gdb.cp/casts.cc (decltype): Move it ...
5691 (main): ... with its call to ...
5692 * gdb.cp/casts03.cc: ... a new file.
5693 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5694
5695 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5696
5697 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5698
5699 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
5700
5701 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5702 and sync up the test with tests in gas/testsuite/gas/ppc.
5703 * gdb.arch/powerpc-power.exp: Likewise.
5704
5705 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5706
5707 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5708
5709 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
5710 Jan Kratochvil <jan.kratochvil@redhat.com>
5711
5712 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5713 make m1's definition to be different from m2's. Use 'dummy' as an
5714 argument for probe 'two'.
5715
5716 2016-09-10 Jon Beniston <jon@beniston.com>
5717
5718 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5719 for sim target.
5720
5721 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5722
5723 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5724 variable declaration.
5725 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
5726 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5727 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5728 received HWCAP as its argument.
5729
5730 2016-09-06 Pedro Alves <palves@redhat.com>
5731
5732 * gdb.base/new-ui-pending-input.c: New file.
5733 * gdb.base/new-ui-pending-input.exp: New file.
5734 * gdb.exp (clear_gdb_spawn_id): New procedure.
5735 (with_spawn_id): Check whether gdb_spawn_id exists before
5736 referencing it. If gdb_spawn_id didn't exist on entry, clear it
5737 on exit.
5738
5739 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5740
5741 * gdb.base/float128.c: New file.
5742 * gdb.base/float128.exp: Likewise.
5743 * gdb.base/floatn.c: Likewise.
5744 * gdb.base/floatn.exp: Likewise.
5745
5746 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5747
5748 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5749
5750 2016-09-05 Pedro Alves <palves@redhat.com>
5751
5752 PR backtrace/19927
5753 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5754 unwinders are immediately called as side effect of "source" or
5755 "disable unwinder" commands.
5756 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5757
5758 2016-09-02 Yao Qi <yao.qi@linaro.org>
5759
5760 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5761 is true and $type is "float" or "double".
5762
5763 2016-09-02 Yao Qi <yao.qi@linaro.org>
5764
5765 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5766 true.
5767 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5768 * gdb.base/call-rt-st.exp: Likewise.
5769 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5770 return value instead of gdb,skip_float_test.
5771 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5772 (do_function_calls): Use its return value instead of
5773 gdb,skip_float_test.
5774 * gdb.base/finish.exp: Likewise.
5775 * gdb.base/funcargs.exp: Likewise.
5776 * gdb.base/return.exp: Likewise.
5777 * gdb.base/return2.exp: Likewise.
5778 * gdb.base/varargs.exp: Likewise.
5779 * lib/gdb.exp (gdb_skip_float_test): Change it to
5780 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5781
5782 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5783
5784 * gdb.multi/tids.exp: Test "thread apply all".
5785
5786 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5787
5788 * gdb.base/default.exp (tty): Remove.
5789
5790 2016-08-24 Kevin Buettner <kevinb@redhat.com>
5791
5792 * gdb.python/py-recurse-unwind.c: New file.
5793 * gdb.python/py-recurse-unwind.py: New file.
5794 * gdb.python/py-recurse-unwind.exp: New file.
5795
5796 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5797
5798 * gdb.base/set-inferior-tty.exp: New file.
5799 * gdb.base/set-inferior-tty.c: New file.
5800
5801 2016-08-23 Pedro Alves <palves@redhat.com>
5802
5803 PR gdb/20494
5804 * gdb.base/new-ui-echo.c: New file.
5805 * gdb.base/new-ui-echo.exp: New file.
5806
5807 2016-08-23 Yao Qi <yao.qi@linaro.org>
5808
5809 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5810 gdbserver_spawn.
5811 * gdb.server/connect-without-multi-process.exp (do_test):
5812 Likewise.
5813
5814 2016-08-23 Yao Qi <yao.qi@linaro.org>
5815
5816 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5817 standalone_txt. Delete gdb_txt and standalone_txt on host
5818 and target. Spawn the binary on target. Copy files from
5819 target to host.
5820
5821 2016-08-22 Pedro Alves <palves@redhat.com>
5822
5823 PR gdb/20505
5824 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5825 with_test_prefix. Factor out bits to ...
5826 (test_no_vdso): ... this new procedure.
5827
5828 2016-08-19 Carl Love <cel@us.ibm.com>
5829
5830 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5831 maintaining separate logic for constructing the output path.
5832 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5833 * gdb.arch/ppc-dfp.exp: Likewise.
5834 * gdb.arch/ppc-fp.exp: Likewise.
5835 * gdb.arch/vsx-regs.exp: Likewise.
5836 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5837 binprefix for generating the additional binary files.
5838
5839 2016-08-19 Pedro Alves <palves@redhat.com>
5840
5841 * gdb.trace/mi-trace-frame-collected.exp
5842 (test_trace_frame_collected): On x32, expect two registers.
5843
5844 2016-08-18 Carl Love <cel@us.ibm.com>
5845
5846 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5847 and sync up the test with tests in gas/testsuite/gas/ppc.
5848 * gdb.arch/powerpc-power.exp: Likewise.
5849
5850 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5851
5852 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5853 expected error message.
5854
5855 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5856
5857 * gdb.multi/remove-inferiors.exp: New file.
5858 * gdb.multi/remove-inferiors.c: New file.
5859
5860 2016-08-12 Yao Qi <yao.qi@linaro.org>
5861
5862 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5863 argument list.
5864
5865 2016-08-10 Pedro Alves <palves@redhat.com>
5866
5867 PR gdb/19187
5868 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5869 setup_kfails.
5870
5871 2016-08-09 Pedro Alves <palves@redhat.com>
5872 Simon Marchi <simon.marchi@ericsson.com>
5873
5874 PR gdb/20418
5875 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5876 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5877
5878 2016-08-09 Pedro Alves <palves@redhat.com>
5879
5880 PR mi/20431
5881 * gdb.mi/mi-cmd-error.exp: New file.
5882
5883 2016-08-09 Pedro Alves <palves@redhat.com>
5884
5885 PR gdb/18653
5886 * gdb.base/signals-state-child.c: New file.
5887 * gdb.base/signals-state-child.exp: New file.
5888 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5889
5890 2016-08-09 Pedro Alves <palves@redhat.com>
5891
5892 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5893
5894 2016-08-03 Tom Tromey <tom@tromey.com>
5895
5896 PR python/18565:
5897 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5898
5899 2016-08-01 Yao Qi <yao.qi@linaro.org>
5900
5901 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5902 variable mode to "multi-process" if $multi_process is 1, otherwise
5903 set it to "single-process".
5904
5905 2016-08-01 Yao Qi <yao.qi@linaro.org>
5906
5907 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5908 * gdb.cp/cpexprs.exp: Likewise.
5909 * gdb.cp/m-static.exp: Likewise.
5910
5911 2016-07-26 Tom Tromey <tom@tromey.com>
5912
5913 PR python/20190:
5914 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5915 test.
5916
5917 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5918
5919 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5920 selecting assembly source files.
5921 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5922 assembly source files.
5923 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5924 assembly source files.
5925 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5926 selecting assembly source files.
5927
5928 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5929
5930 * gdb.base/new-ui.exp (do_test_invalid_args): New
5931 procedure.
5932
5933 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5934
5935 * gdb.btrace/reconnect.c: New file.
5936 * gdb.btrace/reconnect.exp: New file.
5937
5938 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5939
5940 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5941 to test_catch_syscall_group.
5942 (test_catch_syscall_group): New.
5943
5944 2016-07-21 Tom Tromey <tom@tromey.com>
5945
5946 * gdb.rust/simple.rs (main): Use empty struct expression.
5947 * gdb.rust/simple.exp: Add tests for empty struct expression.
5948
5949 2016-07-21 Yao Qi <yao.qi@linaro.org>
5950
5951 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5952 if gdb_skip_xml_test is true on some targets.
5953
5954 2016-07-21 Yao Qi <yao.qi@linaro.org>
5955
5956 * gdb.server/solib-list.exp: Unset last_loaded_file.
5957
5958 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5959
5960 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5961 "step into captured_main (args)".
5962
5963 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5964
5965 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5966
5967 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5968
5969 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5970
5971 2016-07-19 Pedro Alves <palves@redhat.com>
5972
5973 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5974 * gdb.opt/inline-bt.exp: Likewise.
5975 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5976 additional_flags=-Winline.
5977 * gdb.opt/inline-locals.exp: Likewise.
5978 * gdb.opt/inline-markers.c (ATTR): Define.
5979 (inlined_fn): Use it.
5980
5981 2016-07-19 Yao Qi <yao.qi@linaro.org>
5982
5983 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5984 (test_with_self): Remove some code. Remove argument executable.
5985 (top-level): Use do_self_tests.
5986
5987 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
5988 Don Breazeal <donb@codesourcery.com>
5989
5990 * gdb.base/maint.exp: Escape paths used in regular expressions.
5991 * gdb.stabs/weird.exp: Likewise.
5992
5993 2016-07-13 Tom Tromey <tom@tromey.com>
5994
5995 PR python/15620, PR python/18620:
5996 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5997 (test_bkpt_events): New procs.
5998
5999 2016-07-13 Tom Tromey <tom@tromey.com>
6000
6001 PR python/17698:
6002 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6003 test.
6004 (test_watchpoints): Likewise.
6005 (test_bkpt_pending): New proc.
6006
6007 2016-07-13 Tom Tromey <tom@tromey.com>
6008
6009 PR cli/18053:
6010 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6011 completion test.
6012
6013 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6014
6015 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6016 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6017 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6018 f_label.
6019 (g): Rename g_end_lbl to g_label.
6020 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6021 low_pc and high_pc.
6022 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6023
6024 2016-07-12 Tom Tromey <tom@tromey.com>
6025
6026 PR python/19293:
6027 * gdb.python/py-unwind-maint.exp: Update tests.
6028
6029 2016-07-12 Yao Qi <yao.qi@linaro.org>
6030
6031 * lib/selftest-support.exp (selftest_setup): Match the output
6032 when captured_main is inlined.
6033
6034 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6035
6036 * gdb.fortran/derived-types.exp (result_line, result_line_2):
6037 New variables.
6038 (print this%a, print this%b, print this): New tests.
6039 * gdb.fortran/derived-types.f90 (this): New object and
6040 initialization.
6041
6042 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6043
6044 * gdb.ada/arraydim.exp: Remove extra directory level in build
6045 directory.
6046
6047 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6048
6049 * lib/ada.exp: Remove extra directory level in build directory.
6050 * gdb.ada/cond_lang.exp: Likewise.
6051 * gdb.ada/exec_changed.exp: Likewise.
6052 * gdb.ada/lang_switch.exp: Likewise.
6053
6054 2016-07-06 Manish Goregaokar <manish@mozilla.com>
6055
6056 * simple.rs: Add test for raw pointer subscripting.
6057 * simple.exp: Add test expectations.
6058
6059 2016-07-05 Yao Qi <yao.qi@linaro.org>
6060
6061 * gdb.mi/mi-reverse.exp: Match =record-started output.
6062
6063 2016-07-01 Pedro Alves <palves@redhat.com>
6064
6065 * gdb.base/jit-reader.exp (info_registers_current_frame): New
6066 procedure.
6067 (jit_reader_test): Test the jit reader's unwinder.
6068 * gdb.base/jithost.c (jit_function_00_code): New global.
6069 (main): Use memcpy to fill in the mmapped code, instead of poking
6070 bytes manually here.
6071 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6072 value.
6073 (read_debug_info): Save the function's range.
6074 (read_sp): New function.
6075 (unwind_frame): Use it. Also unwind RBP.
6076 (get_frame_id): Use read_sp.
6077 (gdb_init_reader): Use calloc instead of malloc.
6078 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6079 parameter. Use gdb_test_multiple.
6080
6081 2016-07-01 Pedro Alves <palves@redhat.com>
6082 Antoine Tremblay <antoine.tremblay@ericsson.com>
6083
6084 * gdb.threads/process-dies-while-detaching.c: New file.
6085 * gdb.threads/process-dies-while-detaching.exp: New file.
6086
6087 2016-07-01 Pedro Alves <palves@redhat.com>
6088
6089 * gdb.multi/watchpoint-multi-exit.c: New file.
6090 * gdb.multi/watchpoint-multi-exit.exp: New file.
6091
6092 2016-06-30 Pedro Alves <palves@redhat.com>
6093
6094 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6095 unset inferior_spawn_id.
6096
6097 2016-06-30 Pedro Alves <palves@redhat.com>
6098
6099 * lib/mi-support.exp (default_mi_gdb_start): Declare global
6100 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6101
6102 2016-06-29 Yao Qi <yao.qi@linaro.org>
6103
6104 * gdb.base/return.c: Add copyright header.
6105
6106 2016-06-29 Tom Tromey <tom@tromey.com>
6107
6108 PR python/20129:
6109 * gdb.python/py-framefilter.exp: Add tests for setting priority
6110 and disabling of non-existent frame filter.
6111
6112 2016-06-29 Yao Qi <yao.qi@linaro.org>
6113
6114 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6115 0x0f07ff.
6116
6117 2016-06-28 Yao Qi <yao.qi@linaro.org>
6118
6119 * gdb.base/catch-syscall.exp: Remove check on isnative and target
6120 triplets. Start gdb, execute catch syscall, and continue. Check
6121 gdb's output to determine catch syscall is supported.
6122
6123 2016-06-27 Manish Goregaokar <manish@mozilla.com>
6124
6125 * gdb.rust/simple.rs: Add test for returning unit in a function.
6126 * gdb.rust/simple.exp: Add expectation for functions returning
6127 unit.
6128
6129 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
6130
6131 * gdb.python/py-breakpoint-create-fail.c,
6132 gdb.python/py-breakpoint-create-fail.exp,
6133 gdb.python/py-breakpoint-create-fail.py: New testcase.
6134
6135 2016-06-25 Manish Goregaokar <manish@mozilla.com>
6136
6137 PR gdb/20239
6138 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6139 * gdb.rust/simple.exp: Add test expectations for new NonZero
6140 tests.
6141
6142 2016-06-24 David Taylor <dtaylor@emc.com>
6143
6144 * gdb.base/offsets.exp: New file.
6145 * gdb.base/offsets.c: New file.
6146
6147 2016-06-23 Tom Tromey <tom@tromey.com>
6148
6149 PR gdb/16483:
6150 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6151 before any filters are loaded.
6152
6153 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
6154
6155 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6156 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6157 structs.
6158 * gdb.fortran/derived-type-function.exp: New file.
6159 * gdb.fortran/derived-type-function.f90: New file.
6160
6161
6162 2016-06-21 Pedro Alves <palves@redhat.com>
6163
6164 * gdb.base/new-ui.exp: New file.
6165 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6166 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6167 (with_spawn_id): New procedure.
6168
6169 2016-06-21 Pedro Alves <palves@redhat.com>
6170
6171 * gdb.mi/mi-exec-run.exp: New file.
6172
6173 2016-06-21 Pedro Alves <palves@redhat.com>
6174
6175 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6176 breakpoint command's output on the main UI.
6177 (test_break): New procedure, factored out from calls in the top
6178 level.
6179 (top level): Use foreach_with_prefix to test MI as main UI and as
6180 separate UI.
6181
6182 2016-06-21 Pedro Alves <palves@redhat.com>
6183
6184 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6185 (test_awatch_creation_and_listing)
6186 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6187 Remove 'type' parameter.
6188 (test_watchpoint_all): New parameter mi_mode. Remove
6189 with_test_prefix.
6190 (top level): Use foreach_with_prefix, and add main/separate UI MI
6191 testing axis.
6192
6193 2016-06-21 Pedro Alves <palves@redhat.com>
6194
6195 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6196 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6197 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6198 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6199 (gdb_main_spawn_id, mi_spawn_id): Declare and
6200 comment.
6201 (mi_create_inferior_pty): New procedure,
6202 factored out from default_mi_gdb_start.
6203 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6204 procedures.
6205 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6206 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6207 Use mi_create_inferior_pty.
6208 (mi_gdb_start): Use eval to pass down args list.
6209
6210 2016-06-21 Pedro Alves <palves@redhat.com>
6211
6212 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6213 * gdb.opt/inline-cmds.exp: Add MI tests.
6214
6215 2016-06-21 Pedro Alves <palves@redhat.com>
6216
6217 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6218
6219 2016-06-21 Pedro Alves <palves@redhat.com>
6220
6221 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6222 (top level): Use it instead of mi_execute_to.
6223
6224 2016-06-21 Pedro Alves <palves@redhat.com>
6225
6226 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6227 (cont_handler_str): New.
6228 (signal_stop_handler): Set stop_handler_str instead of printing to
6229 stdout.
6230 (continue_handler): Set cont_handler_str instead of printing to
6231 stdout.
6232 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6233 mi_send_resuming_command. Print stop_handler_str and
6234 cont_handler_str instead of expecting the python events print
6235 directly.
6236
6237 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6238
6239 * gdb.base/jit-reader.exp: New file.
6240 * gdb.base/jithost.c: New file.
6241 * gdb.base/jithost.h: New file.
6242 * gdb.base/jitreader.c : New file.
6243 * gdb.base/jit-protocol.h: New file.
6244
6245 2016-06-17 Yao Qi <yao.qi@linaro.org>
6246
6247 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6248 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6249 and detach-on-fork. Adjust tests.
6250 (top level): Invoke break_cond_on_syscall with combinations of
6251 syscall, follow-fork-mode and detach-on-fork.
6252
6253 2016-06-17 Yao Qi <yao.qi@linaro.org>
6254
6255 * gdb.base/step-over-exit.c: New.
6256 * gdb.base/step-over-exit.exp: New.
6257
6258 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6259
6260 * gdb.base/float.exp: Add target check for nds32*-*-*.
6261 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6262
6263 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6264
6265 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6266 for unsupported target features.
6267 * gdb.base/call-rt-st.exp: Likewise.
6268 * gdb.base/call-sc.exp: Likewise.
6269 * gdb.base/call-signal-resume.exp: Likewise.
6270 * gdb.base/call-strs.exp: Likewise.
6271 * gdb.base/callexit.exp: Likewise.
6272 * gdb.base/callfuncs.exp: Likewise.
6273 * gdb.base/nodebug.exp: Likewise.
6274 * gdb.base/printcmds.exp: Likewise.
6275 * gdb.base/ptype.exp: Likewise.
6276 * gdb.base/structs.exp: Likewise.
6277 * gdb.base/unwindonsignal.exp: Likewise.
6278 * gdb.cp/gdb2495.exp: Likewise.
6279 * gdb.cp/templates.exp: Likewise.
6280 * gdb.cp/virtfunc.exp: Likewise.
6281 * gdb.threads/hand-call-in-threads.exp: Likewise.
6282 * gdb.threads/interrupted-hand-call.exp: Likewise.
6283 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6284
6285 2016-06-10 Tom Tromey <tom@tromey.com>
6286
6287 PR rust/20110:
6288 * gdb.rust/expr.exp: Add test for integer constant larger than
6289 i32.
6290
6291 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6292
6293 * gdb.fortran/nested-funcs.exp: New.
6294 * gdb.fortran/nested-funcs.f90: New.
6295
6296 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6297
6298 * gdb.base/examine-backward.c: New file.
6299 * gdb.base/examine-backward.exp: New file.
6300
6301 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6302
6303 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6304 matching.
6305
6306 2016-06-02 Tom Tromey <tom@tromey.com>
6307
6308 PR python/18984:
6309 * gdb.python/py-shared.exp: Add solib_name test.
6310
6311 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6312
6313 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6314
6315 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6316
6317 PR c++/19893
6318 * gdb.dwarf2/implref.exp: Rename to...
6319 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6320 * gdb.dwarf2/implref-array.c: New file.
6321 * gdb.dwarf2/implref-array.exp: Likewise.
6322 * gdb.dwarf2/implref-global.c: Likewise.
6323 * gdb.dwarf2/implref-global.exp: Likewise.
6324 * gdb.dwarf2/implref-struct.c: Likewise.
6325 * gdb.dwarf2/implref-struct.exp: Likewise.
6326
6327 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6328
6329 * gdb.trace/trace-condition.exp: Add 64bit tests.
6330
6331 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6332
6333 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6334 bits types.
6335 (main): Adapt to 8 to 64 bits types.
6336 * gdb.trace/trace-condition.exp: Add new tests.
6337
6338 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6339
6340 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6341
6342 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6343
6344 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6345 Move condition tests...
6346 * gdb.trace/trace-condition.exp: Here.
6347
6348 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6349
6350 * gdb.trace/trace-condition.exp: Add counter-case tests.
6351
6352 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6353
6354 PR c++/15231
6355 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6356 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6357
6358 2016-05-27 Pedro Alves <palves@redhat.com>
6359
6360 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6361 New procedure.
6362 (top level): Call it, and bail out of DejaGnu is known to be bad.
6363
6364 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6365
6366 * gdb.base/whatis.c: Extend the test case.
6367 * gdb.base/whatis.exp: Add additional tests.
6368
6369 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6370
6371 * gdb.fortran/type.f90: Add pointer variable.
6372 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6373
6374 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6375
6376 * gdb.fortran/vla-type.exp: Fix testcase name.
6377
6378 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6379
6380 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6381
6382 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6383
6384 * gdb.fortran/type.f90: Add nested structures.
6385 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6386 * gdb.fortran/derived-type.exp: Adapt expected output.
6387 * gdb.fortran/vla-type.exp: Adapt expected output.
6388
6389 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6390
6391 * gdb.fortran/whatis_type.exp: Adapt expected output.
6392
6393 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6394
6395 * gdb.fortran/print_type.exp: Fix expected output.
6396 * gdb.fortran/whatis_type.exp: Fix expected output.
6397
6398 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6399
6400 * gdb.fortran/whatis_type.exp: Use multi_line.
6401
6402 2016-05-24 Tom Tromey <tom@tromey.com>
6403
6404 PR python/17386:
6405 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6406 use value as an index.
6407
6408 2016-05-23 Tom Tromey <tom@tromey.com>
6409
6410 PR python/17981:
6411 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6412 no-breakpoint case.
6413
6414 2016-05-24 Pedro Alves <palves@redhat.com>
6415
6416 PR gdb/19828
6417 * gdb.threads/clone-attach-detach.c: New file.
6418 * gdb.threads/clone-attach-detach.exp: New file.
6419
6420 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6421
6422 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6423
6424 2016-05-23 Tom Tromey <tom@tromey.com>
6425
6426 PR python/19438, PR python/18393:
6427 * gdb.python/py-progspace.exp: Add "dir" test.
6428 * gdb.python/py-objfile.exp: Add "dir" test.
6429
6430 2016-05-23 Yao Qi <yao.qi@linaro.org>
6431
6432 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6433 * gdb.arch/thumb2-it.exp: Likewise.
6434
6435 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6436
6437 * gdb.mi/mi-threads-interrupt.c: New file.
6438 * gdb.mi/mi-threads-interrupt.exp: New file.
6439
6440 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6441
6442 PR gdb/18077
6443 * gdb.mi/mi-async-run.exp: New file.
6444 * gdb.mi/mi-async-run.c: New file.
6445
6446 2016-05-17 Tom Tromey <tom@tromey.com>
6447 Manish Goregaokar <manishsmail@gmail.com>
6448
6449 * lib/rust-support.exp: New file.
6450 * lib/gdb.exp (skip_rust_tests): New proc.
6451 (build_executable_from_specs): Handle rust.
6452 * lib/future.exp (gdb_find_rustc): New proc.
6453 (gdb_default_target_compile): Handle rust.
6454 * gdb.rust/expr.exp: New file.
6455 * gdb.rust/generics.exp: New file.
6456 * gdb.rust/generics.rs: New file.
6457 * gdb.rust/methods.exp: New file.
6458 * gdb.rust/methods.rs: New file.
6459 * gdb.rust/modules.exp: New file.
6460 * gdb.rust/modules.rs: New file.
6461 * gdb.rust/simple.exp: New file.
6462 * gdb.rust/simple.rs: New file.
6463
6464 2016-05-17 Tom Tromey <tom@tromey.com>
6465
6466 * gdb.base/default.exp (set language): Add rust.
6467
6468 2016-05-17 Tom Tromey <tom@tromey.com>
6469
6470 * gdb.gdb/unittest.exp: New file.
6471
6472 2016-05-16 Yao Qi <yao.qi@linaro.org>
6473
6474 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6475 shell_prompt. Update shell_prompt_re.
6476
6477 2016-05-12 Doug Evans <dje@google.com>
6478
6479 PR symtab/19999
6480 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6481 $options when building executable.
6482 * gdb.dwarf2/fission-loclists-pie.S: New file.
6483 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6484
6485 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6486
6487 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6488 of [is_remote target],
6489
6490 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6491
6492 * lib/gdb.exp (use_gdb_stub): New procedure.
6493
6494 2016-05-03 Yunlian Jiang <yunlian@google.com>
6495 Doug Evans <dje@google.com>
6496
6497 PR symtab/19914
6498 * gdb.dwarf2/dwp-sepdebug.c: New file.
6499 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6500
6501 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6502
6503 * gdb.base/detach.exp: Remove is_remote check.
6504
6505 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6506
6507 * gdb.base/annota-input-while-running.exp: Don't check for
6508 [is_remote target]. Enable annotations after running to main.
6509 Remove unused "set test..." line.
6510
6511 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6512
6513 * gdb.trace/trace-enable-disable.exp: New file.
6514 * gdb.trace/trace-enable-disable.c: New file.
6515
6516 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6517
6518 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6519 use it in info sharedlibrary test.
6520 * gdb.trace/ftrace-lock.exp: Likewise.
6521 * gdb.trace/ftrace.exp: Likewise.
6522 * gdb.trace/range-stepping.exp: Likewise.
6523 * gdb.trace/trace-break.exp: Likewise.
6524 * gdb.trace/trace-condition.exp: Likewise.
6525 * gdb.trace/trace-mt.exp: Likewise.
6526
6527 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6528
6529 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6530 (gdb_load_shlib): ... this.
6531 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6532 gdb_load_shlib.
6533 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6534 * gdb.base/ctxobj.exp: Likewise.
6535 * gdb.base/dprintf-pending.exp: Likewise.
6536 * gdb.base/dso2dso.exp: Likewise.
6537 * gdb.base/fixsection.exp: Likewise.
6538 * gdb.base/gcore-relro.exp: Likewise.
6539 * gdb.base/gdb1555.exp: Likewise.
6540 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6541 * gdb.base/gnu-ifunc.exp: Likewise.
6542 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6543 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6544 * gdb.base/pending.exp: Likewise.
6545 * gdb.base/print-file-var.exp: Likewise.
6546 * gdb.base/print-symbol-loading.exp: Likewise.
6547 * gdb.base/shlib-call.exp: Likewise.
6548 * gdb.base/shreloc.exp: Likewise.
6549 * gdb.base/so-impl-ld.exp: Likewise.
6550 * gdb.base/solib-disc.exp: Likewise.
6551 * gdb.base/solib-nodir.exp: Likewise.
6552 * gdb.base/solib-overlap.exp: Likewise.
6553 * gdb.base/solib-symbol.exp: Likewise.
6554 * gdb.base/solib-weak.exp (do_test): Likewise.
6555 * gdb.base/sym-file.exp: Likewise.
6556 * gdb.base/symtab-search-order.exp: Likewise.
6557 * gdb.base/type-opaque.exp: Likewise.
6558 * gdb.base/unload.exp: Likewise.
6559 * gdb.base/watchpoint-solib.exp: Likewise.
6560 * gdb.compile/compile.exp: Likewise.
6561 * gdb.cp/gdb2384.exp: Likewise.
6562 * gdb.cp/infcall-dlopen.exp: Likewise.
6563 * gdb.cp/re-set-overloaded.exp: Likewise.
6564 * gdb.fortran/library-module.exp: Likewise.
6565 * gdb.opt/solib-intra-step.exp: Likewise.
6566 * gdb.python/py-finish-breakpoint.exp: Likewise.
6567 * gdb.python/py-shared.exp: Likewise.
6568 * gdb.reverse/solib-precsave.exp: Likewise.
6569 * gdb.reverse/solib-reverse.exp: Likewise.
6570 * gdb.server/solib-list.exp: Likewise.
6571 * gdb.threads/dlopen-libpthread.exp: Likewise.
6572 * gdb.threads/tls-shared.exp: Likewise.
6573 * gdb.threads/tls-so_extern.exp: Likewise.
6574 * gdb.trace/change-loc.exp: Likewise.
6575 * gdb.trace/ftrace-lock.exp: Likewise.
6576 * gdb.trace/ftrace.exp: Likewise.
6577 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6578 * gdb.trace/pending.exp: Likewise.
6579 * gdb.trace/range-stepping.exp: Likewise.
6580 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6581 (strace_info_marker): Likewise.
6582 (strace_probe_marker): Likewise.
6583 (strace_trace_on_same_addr): Likewise.
6584 (strace_trace_on_diff_addr): Likewise.
6585 * gdb.trace/trace-break.exp: Likewise.
6586 * gdb.trace/trace-condition.exp: Likewise.
6587 * gdb.trace/trace-mt.exp: Likewise.
6588
6589 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6590
6591 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6592 result of gdb_remote_download.
6593 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6594 * gdb.base/dso2dso.exp: Likewise.
6595 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6596 * gdb.base/print-file-var.exp: Likewise.
6597 * gdb.base/shlib-call.exp: Likewise.
6598 * gdb.base/shreloc.exp: Likewise.
6599 * gdb.base/solib-overlap.exp: Likewise.
6600 * gdb.base/solib-weak.exp (do_test): Likewise.
6601 * gdb.base/unload.exp: Likewise.
6602
6603 2016-04-27 Yao Qi <yao.qi@linaro.org>
6604
6605 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6606 exists.
6607
6608 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6609
6610 * vla-type.exp: Print structure from toplevel.
6611
6612 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6613
6614 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6615 of dynamic types.
6616 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6617 of dynamic types.
6618
6619 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6620
6621 * gdb.fortran/vla-type.f90: New file.
6622 * gdb.fortran/vla-type.exp: New file.
6623
6624 2016-04-25 Yao Qi <yao.qi@linaro.org>
6625
6626 * gdb.base/branch-to-self.c: New file.
6627 * gdb.base/branch-to-self.exp: New file.
6628
6629 2016-04-22 Yao Qi <yao.qi@linaro.org>
6630
6631 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6632 more after $hex.
6633
6634 2016-04-22 Yao Qi <yao.qi@linaro.org>
6635
6636 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6637 * gdb.base/annota3.exp: Likewise.
6638
6639 2016-04-22 Yao Qi <yao.qi@linaro.org>
6640
6641 * gdb.reverse/step-precsave.exp: Do one step and test program
6642 stops in "callee" and do multiple steps until program goes out
6643 of "callee".
6644 * gdb.reverse/step-reverse.exp: Likewise.
6645
6646 2016-04-22 Yao Qi <yao.qi@linaro.org>
6647
6648 * gdb.trace/signal.exp: Also pass if
6649 $tracepoint_hits($i) > $iterations.
6650
6651 2016-04-22 Yao Qi <yao.qi@linaro.org>
6652
6653 * gdb.trace/signal.c: New file.
6654 * gdb.trace/signal.exp: New file.
6655
6656 2016-04-19 Doug Evans <xdje42@gmail.com>
6657
6658 * gdb.base/bad-file.exp: New file.
6659
6660 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6661
6662 * gdb.dwarf2/implref.exp: New file.
6663
6664 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6665
6666 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6667 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6668 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6669 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6670 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6671 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6672 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6673 * lib/fortran.exp (fortran_int4): New procedure.
6674 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6675 (fortran_logical4): Likewise.
6676
6677 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6678
6679 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6680
6681 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6682
6683 * lib/compiler.c: Add Intel specific preprocessor macros.
6684 * lib/compiler.cc: Likewise.
6685
6686 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
6687
6688 * gdb.server/connect-with-no-symbol-file.c: New file.
6689 * gdb.server/connect-with-no-symbol-file.exp: New file.
6690
6691 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6692
6693 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6694
6695 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6696
6697 * boards/gdbserver-base.exp (${board}_download): Copy source file to
6698 standard output directory.
6699
6700 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
6701
6702 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6703
6704 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
6705
6706 * gdb.btrace/instruction_history.c (loop): Add declaration.
6707
6708 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6709
6710 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6711
6712 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
6713
6714 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6715 parentheses to print.
6716 (continue_handler): Likewise.
6717
6718 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
6719
6720 * gdb.server/solib-list.exp: Remove is_remote check.
6721 Pass shlib= to gdb_compile. Don't link shared library with
6722 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
6723 Run binary filename through "readlink -f" on the target.
6724
6725 2016-04-08 Pedro Alves <palves@redhat.com>
6726
6727 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
6728 interpreter filename as argument to gdbserver_spawn.
6729 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6730 Return empty if $last_loaded_file does not exist.
6731
6732 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6733
6734 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6735 * gdb.base/jit-main.c: Use exit after usage.
6736
6737 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6738
6739 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6740 GDBHISTSIZE prior to the tests.
6741 * gdb.base/gdbinit-history.exp: Likewise.
6742
6743 2016-04-07 Pedro Alves <palves@redhat.com>
6744
6745 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6746 instead of build_executable. Use gdb_load_shlibs.
6747
6748 2016-04-07 Yao Qi <yao.qi@linaro.org>
6749
6750 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6751 Execute "si" command.
6752
6753 2016-04-07 Yao Qi <yao.qi@linaro.org>
6754
6755 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
6756 number instead of the comments on some line.
6757
6758 2016-04-06 Don Breazeal <donb@codesourcery.com>
6759
6760 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6761 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6762
6763 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6764
6765 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6766 standard_output_file. Remove unused binfile variable.
6767
6768 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
6769
6770 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6771 * gdb.python/py-mi-objfile.exp: Match "list main" output
6772 in console format.
6773
6774 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6775
6776 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6777 absolute.
6778
6779 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6780
6781 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6782 absolute.
6783 * gdb.trace/ftrace.exp: Likewise.
6784 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6785 targets as well.
6786 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6787 (gdb_load_shlibs): Copy libraries to test directory when testing
6788 natively. Only set solib-search-path if testing remotely.
6789 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6790
6791 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6792
6793 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6794 gdb_download. Use it even if the target is not remote.
6795 * gdb.base/jit.exp (compile_jit_test): Likewise.
6796 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6797 output directory if the destination board is local, otherwise use
6798 the standard remote_download from DejaGnu.
6799 (gdb_download): Remove.
6800 (gdb_load_shlibs): Use gdb_remote_download instead of
6801 gdb_download.
6802 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6803 Use gdb_remote_download instead of gdb_download. Use it even if
6804 the target is not remote.
6805 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6806 instead of gdb_download.
6807
6808 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6809
6810 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6811 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6812 run.
6813
6814 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
6815
6816 PR gdb/19820
6817 * gdb.base/printcmds.exp: Add artificial arrays tests.
6818
6819 2016-03-31 Pedro Alves <palves@redhat.com>
6820
6821 PR gdb/19858
6822 * gdb.base/jit-main.c: Include unistd.h.
6823 (ATTACH): Define to 0 if not already defined.
6824 (wait_for_gdb, mypid): New globals.
6825 (WAIT_FOR_GDB): New macro.
6826 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6827 some breakpoint locations.
6828 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6829 New procedures.
6830 (one_jit_test): Add REATTACH parameter, and handle it. Use
6831 continue_to_test_location.
6832 (top level): Test attach, and adjusts calls to one_jit_test.
6833
6834 2016-03-31 Pedro Alves <palves@redhat.com>
6835
6836 PR gdb/19858
6837 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6838 BINSUFFIX parameter, and handle it.
6839 (top level): Adjust calls compile_jit_test.
6840
6841 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
6842
6843 PR python/19743
6844 * gdb.python/py-mi-events-gdb.py: New file.
6845 * gdb.python/py-mi-events.c: New file.
6846 * gdb.python/py-mi-events.exp: New file.
6847
6848 2016-03-30 Yao Qi <yao.qi@linaro.org>
6849
6850 * gdb.reverse/until-precsave.exp: Match function name only.
6851 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6852 Move malloc to a condition block.
6853 * gdb.reverse/until-reverse.exp: Match function name only.
6854
6855 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6856
6857 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6858 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6859 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6860 variable for GPR 0 instead of assuming it is register 0.
6861 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6862 * lib/trace-support.exp: Add s390 registers.
6863
6864 2016-03-29 Yao Qi <yao.qi@linaro.org>
6865
6866 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6867
6868 2016-03-24 Yao Qi <yao.qi@linaro.org>
6869
6870 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6871 test message.
6872
6873 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6874
6875 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6876 maintaining separate logic for constructing the output path.
6877
6878 2016-03-16 Don Breazeal <donb@codesourcery.com>
6879
6880 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6881 Retry fork and waitpid on interrupted system call errors.
6882 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6883 Use with_timeout_factor to increase timeout by factor of 10.
6884
6885 2016-03-15 Don Breazeal <donb@codesourcery.com>
6886
6887 * gdb.cp/scope-err.cc: New test program.
6888 * gdb.cp/scope-err.exp: New test script.
6889 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6890 lines and "set breakpoint here" comment.
6891 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6892 Fixed some whitespace and format issues.
6893 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6894 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6895
6896 2016-03-15 Doug Evans <dje@google.com>
6897
6898 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6899 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6900 All callers updated. Add tests for enums, mixed flags register.
6901
6902 2016-03-15 Doug Evans <dje@google.com>
6903
6904 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6905 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6906
6907 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6908
6909 * gdb.base/default.exp: Add $_as_string to the list of expected
6910 convenience functions.
6911
6912 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6913
6914 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6915
6916 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6917
6918 * gdb.python/py-as-string.exp: New file.
6919 * gdb.python/py-as-string.c: New file.
6920
6921 2016-03-09 Pedro Alves <palves@redhat.com>
6922
6923 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6924 signal" -> "Thread NN received signal" output change.
6925 * gdb.threads/ia64-sigill.exp: Likewise.
6926 * gdb.threads/linux-dp.exp: Likewise.
6927 * gdb.threads/manythreads.exp: Likewise.
6928 * gdb.threads/pending-step.exp: Likewise.
6929 * gdb.threads/print-threads.exp: Likewise.
6930 * gdb.threads/sigstep-threads.exp: Likewise.
6931 * gdb.threads/staticthreads.exp: Likewise.
6932 * gdb.threads/tls.exp: Likewise.
6933
6934 2016-03-09 Pedro Alves <palves@redhat.com>
6935
6936 * gdb.base/command-line-input.exp: New file.
6937
6938 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6939
6940 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6941 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6942 * gdb.trace/pending.exp: Accept leading dot before function name.
6943 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6944 * lib/trace-support.exp: Set registers for ppc.
6945
6946 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6947
6948 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6949 use it for disassembly; accept .main in addition to main in backtrace.
6950
6951 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
6952 Marcin Kościelnicki <koriakin@0x04.net>
6953
6954 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6955 (gdb_recursion_test_ptr): New global variable.
6956 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6957 gdb_recursion_test.
6958 (gdb_c_test): Ditto.
6959
6960 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6961
6962 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6963 ordering.
6964
6965 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6966
6967 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6968 (bar): Add bar_start_lbl label.
6969 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6970 of foo/bar for emitting DWARF and tracing.
6971
6972 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6973
6974 * analyze-racy-logs.py: Set executable bit.
6975
6976 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6977
6978 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6979 (CHECK_TARGET_TMP): Likewise.
6980 (check-single-racy): New rule.
6981 (check-parallel-racy): Likewise.
6982 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6983 (do-check-parallel-racy): New rule.
6984 (check-racy/%.exp): Likewise.
6985 * README (Racy testcases): New section.
6986 * analyze-racy-logs.py: New file.
6987
6988 2016-03-03 Doug Evans <dje@google.com>
6989
6990 * gdb.base/skip.exp: Use with_test_prefix.
6991
6992 2016-03-03 Yao Qi <yao.qi@linaro.org>
6993
6994 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6995 Invoke step_over_syscall "clone" and break_cond_on_syscall
6996 "clone".
6997 * gdb.base/step-over-clone.c: New file.
6998
6999 2016-03-03 Yao Qi <yao.qi@linaro.org>
7000
7001 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7002 code format.
7003
7004 2016-03-03 Yao Qi <yao.qi@linaro.org>
7005
7006 * gdb.base/disp-step-fork.c: Rename to ...
7007 * gdb.base/step-over-fork.c: ... it. New file.
7008 * gdb.base/disp-step-vfork.c: Rename to ...
7009 * gdb.base/step-over-vfork.c: ... it. New file.
7010 * gdb.base/disp-step-syscall.exp: Rename to ...
7011 * gdb.base/step-over-syscall.exp: ... it. New file.
7012 (disp_step_cross_syscall): Rename to ...
7013 (step_over_syscall): ... it.
7014
7015 2016-03-03 Yao Qi <yao.qi@linaro.org>
7016
7017 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7018 If target supports condition evaluation on target, invoke
7019 break_cond_on_syscall for fork and vfork.
7020
7021 2016-03-03 Yao Qi <yao.qi@linaro.org>
7022
7023 * gdb.base/disp-step-syscall.exp: Don't invoke
7024 support_displaced_stepping.
7025 (disp_step_cross_syscall): Test with displaced stepping off and
7026 on if supported.
7027
7028 2016-03-03 Yao Qi <yao.qi@linaro.org>
7029
7030 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7031 proc.
7032 (setup): New proc.
7033 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7034 and setup.
7035
7036 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7037
7038 * gdb.fortran/vla-history.exp: Remove breakpoint.
7039
7040 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7041
7042 * gdb.fortran/vla-history.exp: Lookup array elements and printing
7043 exceeds timeout.
7044
7045 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7046
7047 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7048 breakpoint.
7049
7050 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7051
7052 * gdb.mi/vla.f90: Nullify pointer after declaration.
7053
7054 2016-03-01 Pedro Alves <palves@redhat.com>
7055
7056 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7057
7058 2016-03-01 Pedro Alves <palves@redhat.com>
7059
7060 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7061 before anything else.
7062 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
7063 _GNU_SOURCE here.
7064 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7065 before anything else.
7066 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7067
7068 2016-03-01 Pedro Alves <palves@redhat.com>
7069
7070 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7071
7072 2016-03-01 Yao Qi <yao.qi@linaro.org>
7073
7074 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7075 prepare_for_testing.
7076
7077 2016-03-01 Yao Qi <yao.qi@linaro.org>
7078
7079 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7080
7081 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7082
7083 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7084 manually constructing the output path.
7085
7086 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7087
7088 * gdb.arch/s390-stackless.S: New.
7089 * gdb.arch/s390-stackless.exp: New.
7090
7091 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
7092
7093 * gdb.dlang/circular.c: New file.
7094 * gdb.dlang/circular.exp: New file.
7095
7096 2016-02-26 Yao Qi <yao.qi@linaro.org>
7097
7098 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7099 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7100 (testcases): Update.
7101
7102 2016-02-26 Yao Qi <yao.qi@linaro.org>
7103
7104 * gdb.reverse/aarch64.c: Rename to ...
7105 * gdb.reverse/insn-reverse.c: ... it.
7106 * gdb.reverse/aarch64.exp: Rename to ...
7107 * gdb.reverse/insn-reverse.exp: ... it.
7108
7109 2016-02-26 Yao Qi <yao.qi@linaro.org>
7110
7111 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7112 (testcase_ftype): New.
7113 (testcases): New array.
7114 (n_testcases): New.
7115 (main): Call each element in testcases.
7116 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7117 (read_testcase): New.
7118 Do the tests in a loop.
7119
7120 2016-02-25 Yao Qi <yao.qi@linaro.org>
7121
7122 * gdb.base/branches.c: Remove.
7123
7124 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7125
7126 PR gdb/13808
7127 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7128
7129 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7130
7131 * gdb.trace/ftrace.exp: Remove unnecessary target check.
7132
7133 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7134
7135 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7136 change x86_64 call_insn to 'callq'.
7137
7138 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7139
7140 * gdb.trace/tfile-avx.c: Move to...
7141 * gdb.trace/tracefile-pseudo-reg.c: Here.
7142 * gdb.trace/tfile-avx.exp: Move to...
7143 * gdb.trace/tracefile-pseudo-reg.exp: Here.
7144
7145 2016-02-24 Gary Benson <gbenson@redhat.com>
7146
7147 * gdb.base/attach-pie-noexec.exp: Do not expect an error
7148 message on attach.
7149
7150 2016-02-23 Doug Evans <dje@google.com>
7151
7152 * gdb.base/skip.c (test_skip): New function.
7153 (end_test_skip_file_and_function): New function.
7154 (test_skip_file_and_function): New function.
7155 * gdb.base/skip1.c (test_skip): New function.
7156 (skip1_test_skip_file_and_function): New function.
7157 * gdb.base/skip.exp: Add tests for new skip options.
7158 * gdb.base/skip-solib.exp: Update expected output.
7159 * gdb.perf/skip-command.cc: New file.
7160 * gdb.perf/skip-command.exp: New file.
7161 * gdb.perf/skip-command.py: New file.
7162
7163 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
7164
7165 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7166 info registers pattern.
7167
7168 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
7169
7170 * lib/future.exp: Add D support.
7171 (gdb_find_gdc): New proc.
7172 (gdb_default_target_compile): Add D support.
7173
7174 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
7175
7176 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7177 user+system time.
7178 (trace_speed_test): Determine the iteration count for a time
7179 between 15..30 seconds.
7180
7181 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
7182
7183 * gdb.arch/i386-mpx-sigsegv.c: New file.
7184 * gdb.arch/i386-mpx-sigsegv.exp: New file.
7185 * gdb.arch/i386-mpx-simple_segv.c: New file.
7186 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7187
7188 2016-02-18 Yao Qi <yao.qi@linaro.org>
7189
7190 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7191 Don't call setup_kfail.
7192
7193 2016-02-18 Yao Qi <yao.qi@linaro.org>
7194
7195 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7196 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7197
7198 2016-02-16 Doug Evans <dje@google.com>
7199
7200 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7201 * gdb.base/skip1.c: Ditto.
7202 * gdb.base/skip.exp: Whitespace cleanup.
7203
7204 2016-02-16 Don Breazeal <donb@codesourcery.com>
7205
7206 PR remote/19496
7207 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7208 Remove kfail for PR remote/19496.
7209
7210 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7211
7212 * lib/gdb.exp (standard_temp_file): Return a path specific to
7213 the runtest invocation.
7214
7215 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7216
7217 * gdb.trace/save-trace.exp: Change relative path to be in the
7218 standard output directory.
7219
7220 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7221
7222 * gdb.arch/i386-prologue.c: Add missing prototypes.
7223
7224 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7225
7226 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7227 * gdb.arch/i386-prologue.exp: Likewise.
7228 * gdb.arch/i386-size.exp: Likewise.
7229
7230 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7231
7232 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7233 define object file path.
7234 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7235 file path.
7236 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7237 standard_output_file to define binfile.
7238
7239 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7240
7241 Fix compatibility with recent gfortran-5.3.1.
7242 * gdb.fortran/vla-history.exp (print vla1 allocated)
7243 (print vla2 allocated, print $2, print $3): Remove
7244 (print $4): Rename to ...
7245 (print $2): ... here.
7246 (print $9): Rename to ...
7247 (print $5): ... here.
7248 (print $10): Rename to ...
7249 (print $6): ... here.
7250 * gdb.fortran/vla.f90: Add pvla initialization.
7251
7252 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7253
7254 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7255 New test.
7256 * gdb.fortran/vla-value-sub.exp: Likewise.
7257
7258 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7259
7260 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7261
7262 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7263
7264 * i386-biarch-core.exp: Define corefile using
7265 standard_output_file.
7266
7267 2016-02-12 Yao Qi <yao.qi@linaro.org>
7268
7269 * gdb.arch/arm-single-step-kernel-helper.c: New.
7270 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7271
7272 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7273
7274 * gdb.btrace/tailcall-only.exp: New.
7275 * gdb.btrace/tailcall-only.c: New.
7276 * gdb.btrace/x86_64-tailcall-only.S: New.
7277 * gdb.btrace/i686-tailcall-only.S: New.
7278
7279 2016-02-11 Pedro Alves <palves@redhat.com>
7280
7281 * README (Parallel testing): Add missing double quotes.
7282
7283 2016-02-11 Pedro Alves <palves@redhat.com>
7284
7285 * README (Parallel testing): New section.
7286 (GDB_PARALLEL): Rewrite.
7287 (FORCE_PARALLEL): Document.
7288
7289 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7290
7291 * gdb.trace/tfile-avx.c: New test.
7292 * gdb.trace/tfile-avx.exp: New test.
7293
7294 2016-02-09 Keith Seitz <keiths@redhat.com>
7295
7296 PR breakpoints/19546
7297 * gdb.base/infcall-exec.c: New file.
7298 * gdb.base/infcall-exec2.c: New file.
7299 * gdb.base/infcall-exec.exp: New file.
7300
7301 2016-02-09 Keith Seitz <keiths@redhat.com>
7302
7303 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7304 (toplevel): Call test_bkpt_address.
7305
7306 2016-02-09 Keith Seitz <keiths@redhat.com>
7307
7308 PR python/19506
7309 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7310 (toplevel): Call test_bkpt_address.
7311
7312 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7313
7314 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7315 to AC_OUTPUT.
7316 * configure: Regenerate.
7317
7318 2016-02-09 Pedro Alves <palves@redhat.com>
7319
7320 PR breakpoints/19548
7321 * gdb.base/execl-update-breakpoints.c (some_function): New
7322 function.
7323 (main): Call it.
7324 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7325 Tighten expected GDB output.
7326
7327 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7328
7329 * Makefile.in (ALL_SUBDIRS): Remove.
7330 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7331 (distclean maintainer-clean realclean): Likewise.
7332 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7333 * configure: Regenerate.
7334 * gdb.ada/Makefile.in: Delete.
7335 * gdb.arch/Makefile.in: Likewise.
7336 * gdb.asm/Makefile.in: Likewise.
7337 * gdb.base/Makefile.in: Likewise.
7338 * gdb.btrace/Makefile.in: Likewise.
7339 * gdb.cell/Makefile.in: Likewise.
7340 * gdb.compile/Makefile.in: Likewise.
7341 * gdb.cp/Makefile.in: Likewise.
7342 * gdb.disasm/Makefile.in: Likewise.
7343 * gdb.dlang/Makefile.in: Likewise.
7344 * gdb.dwarf2/Makefile.in: Likewise.
7345 * gdb.fortran/Makefile.in: Likewise.
7346 * gdb.gdb/Makefile.in: Likewise.
7347 * gdb.go/Makefile.in: Likewise.
7348 * gdb.guile/Makefile.in: Likewise.
7349 * gdb.java/Makefile.in: Likewise.
7350 * gdb.linespec/Makefile.in: Likewise.
7351 * gdb.mi/Makefile.in: Likewise.
7352 * gdb.modula2/Makefile.in: Likewise.
7353 * gdb.multi/Makefile.in: Likewise.
7354 * gdb.objc/Makefile.in: Likewise.
7355 * gdb.opencl/Makefile.in: Likewise.
7356 * gdb.opt/Makefile.in: Likewise.
7357 * gdb.pascal/Makefile.in: Likewise.
7358 * gdb.perf/Makefile.in: Likewise.
7359 * gdb.python/Makefile.in: Likewise.
7360 * gdb.reverse/Makefile.in: Likewise.
7361 * gdb.server/Makefile.in: Likewise.
7362 * gdb.stabs/Makefile.in: Likewise.
7363 * gdb.threads/Makefile.in: Likewise.
7364 * gdb.trace/Makefile.in: Likewise.
7365 * gdb.xml/Makefile.in: Likewise.
7366 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7367 GDB_PARALLEL.
7368 (standard_output_file): Remove check for GDB_PARALLEL, always
7369 return path in outputs/$subdir/$testname.
7370
7371 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7372
7373 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7374 (site.exp): Assign abs_srcdir to tcl's srcdir.
7375
7376 2016-02-04 Yao Qi <yao.qi@linaro.org>
7377
7378 * gdb.base/foll-exec-mode.c: Include limits.h.
7379 (main): Add parameters argc and argv. Get directory from
7380 argv[0].
7381 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7382 compilation.
7383 * gdb.base/foll-exec.c: Include limits.h.
7384 (main): Add parameters argc and argv.
7385 Get directory from argv[0].
7386 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7387 Adjust tests on the number of lines as source code changed.
7388 * gdb.base/foll-vfork-exit.c: Include limits.h.
7389 (main): Add one line of statement before vfork.
7390 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7391 (main): Add parameters argc and argv. Get directory from
7392 argv[0].
7393 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7394 (setup_gdb): Set tbreak to skip some source lines.
7395 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7396 (main): Add parameters argc and argv. Get directory from
7397 argv[0].
7398 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7399 compilation.
7400 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7401 (main): Add parameters argc and argv. Get directory from
7402 argv[0].
7403 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7404 compilation.
7405
7406 2016-02-01 Doug Evans <dje@google.com>
7407
7408 * gdb.base/skip.exp: Clean up multiple references to same test name.
7409
7410 2016-02-01 Pedro Alves <palves@redhat.com>
7411
7412 PR remote/19496
7413 * gdb.threads/forking-threads-plus-breakpoint.exp
7414 (displaced_stepping_supported): New global.
7415 (probe_displaced_stepping_support): New procedure.
7416 (do_test): Add 'displaced' parameter, and use it.
7417 (top level): Check for displaced stepping support. Add displaced
7418 stepping on/off testing axis.
7419
7420 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7421
7422 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7423 pointer. Don't perform further tests on the unassociated pointer
7424 if the first test fails.
7425
7426 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7427
7428 * gdb.base/max-value-size.c: New file.
7429 * gdb.base/max-value-size.exp: New file.
7430 * gdb.base/huge.exp: Disable max-value-size for this test.
7431
7432 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7433
7434 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7435
7436 2016-01-28 Yao Qi <yao.qi@linaro.org>
7437
7438 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7439
7440 2016-01-25 Pedro Alves <palves@redhat.com>
7441
7442 PR threads/19461
7443 * gdb.base/fork-running-state.c: New file.
7444 * gdb.base/fork-running-state.exp: New file.
7445
7446 2016-01-25 Pedro Alves <palves@redhat.com>
7447
7448 PR gdb/19494
7449 * gdb.base/catch-fork-kill.c: New file.
7450 * gdb.base/catch-fork-kill.exp: New file.
7451
7452 2016-01-25 Pedro Alves <palves@redhat.com>
7453
7454 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7455 Delete, moved to lib/gdb.exp.
7456 * gdb.threads/forking-threads-plus-breakpoint.exp
7457 (foreach_with_prefix): Likewise.
7458 * gdb.threads/process-dies-while-handling-bp.exp
7459 (foreach_with_prefix): Likewise.
7460 * lib/gdb.exp (foreach_with_prefix): New procedure.
7461
7462 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7463
7464 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7465 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7466
7467 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7468
7469 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7470 endian targets.
7471
7472 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7473 Pedro Alves <palves@redhat.com>
7474
7475 Fix testsuite compatibility with Guile.
7476 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7477 number.
7478
7479 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7480
7481 Fix testsuite compatibility with Guile.
7482 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7483 (thread 1): New test for backtrace through signal handler.
7484
7485 2016-01-22 Yao Qi <yao.qi@linaro.org>
7486
7487 PR testsuite/19491
7488 * gdb.base/multi-forks.c: Include
7489 ../lib/unbuffer_output.c
7490 (main): Call gdb_unbuffer_output.
7491
7492 2016-01-21 Doug Evans <dje@google.com>
7493
7494 * lib/ada.exp (gdb_compile_ada): Fix typo.
7495
7496 2016-01-21 Joel Brobecker <brobecker@adacore.com>
7497
7498 * gdb.base/break-fun-addr.exp: New file.
7499 * gdb.base/break-fun-addr1.c: New file.
7500 * gdb.base/break-fun-addr2.c: New file.
7501
7502 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7503
7504 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7505 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7506 enum flag values.
7507
7508 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7509
7510 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7511 when GDB can not set the vector return value. Add more comments
7512 for clarification.
7513
7514 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7515
7516 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7517 command.
7518
7519 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7520
7521 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7522
7523 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7524
7525 * Makefile.in (check-single): Pass --status to runtest.
7526 (check/%.exp): Likewise.
7527
7528 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7529
7530 * Makefile.in (check-parallel): Propagate return code from make
7531 do-check-parallel.
7532
7533 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7534
7535 * gdb.trace/ftrace.exp: Fix expected message on continue.
7536 * gdb.trace/pending.exp: Fix expected message on continue.
7537 * gdb.trace/trace-break.exp: Fix expected message on continue.
7538
7539 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7540
7541 * lib/gdb.exp (gdb_test): Remove unused global references.
7542
7543 2016-01-18 Pedro Alves <palves@redhat.com>
7544
7545 * gdb.base/async-shell.exp: Adjust expected output.
7546 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7547 * gdb.base/siginfo-thread.exp: Adjust expected output.
7548 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7549 * gdb.java/jnpe.exp: Adjust expected output.
7550 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7551 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7552 * gdb.threads/leader-exit.exp: Adjust expected output.
7553 * gdb.threads/manythreads.exp: Adjust expected output.
7554 * gdb.threads/pthreads.exp: Adjust expected output.
7555 * gdb.threads/schedlock.exp: Adjust expected output.
7556 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7557 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7558 expected output.
7559 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7560 output.
7561 * gdb.threads/sigthread.exp: Adjust expected output.
7562 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7563
7564 2016-01-18 Yao Qi <yao.qi@linaro.org>
7565
7566 * gdb.guile/scm-section-script.c: Replace @progbits with
7567 %progbits.
7568 * gdb.python/py-section-script.c: Likewise.
7569
7570 2016-01-15 Pedro Alves <palves@redhat.com>
7571
7572 * gdb.multi/tids.exp: Test star wildcard ranges.
7573
7574 2016-01-15 Pedro Alves <palves@redhat.com>
7575
7576 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7577 command from "thread apply" invocation.
7578 (thr_apply_info_thr_invalid): Default the expected output to the
7579 input tid list.
7580 (top level): Add tests that use convenience variables. Add tests
7581 for "thread apply" with a valid TID list, but missing the command.
7582
7583 2016-01-13 Pedro Alves <palves@redhat.com>
7584
7585 * gdb.base/default.exp: Expect $_gthread as well.
7586 * gdb.multi/tids.exp: Test $_gthread.
7587 * gdb.threads/thread-specific.exp: Test $_gthread.
7588
7589 2016-01-13 Pedro Alves <palves@redhat.com>
7590
7591 * gdb.multi/tids.exp: Test "info threads -gid".
7592
7593 2016-01-13 Pedro Alves <palves@redhat.com>
7594
7595 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7596 Breakpoint.thread.
7597 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7598
7599 2016-01-07 Pedro Alves <palves@redhat.com>
7600
7601 * gdb.base/break.exp: Adjust to output changes.
7602 * gdb.base/hbreak2.exp: Likewise.
7603 * gdb.base/sepdebug.exp: Likewise.
7604 * gdb.base/watch_thread_num.exp: Likewise.
7605 * gdb.linespec/keywords.exp: Likewise.
7606 * gdb.multi/info-threads.exp: Likewise.
7607 * gdb.threads/thread-find.exp: Likewise.
7608 * gdb.multi/tids.c: New file.
7609 * gdb.multi/tids.exp: New file.
7610
7611 2016-01-13 Pedro Alves <palves@redhat.com>
7612
7613 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7614
7615 2016-01-13 Pedro Alves <palves@redhat.com>
7616
7617 * gdb.base/default.exp: Expect $_inferior as well.
7618 * gdb.multi/base.exp: Test $_inferior.
7619
7620 2016-01-13 Pedro Alves <palves@redhat.com>
7621
7622 PR breakpoints/19388
7623 * gdb.base/catch-signal-siginfo-cond.c: New file.
7624 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7625
7626 2016-01-12 Josh Stone <jistone@redhat.com>
7627 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7628
7629 * gdb.base/catch-syscall.c (do_execve): New variable.
7630 (main): Conditionally trigger an execve.
7631 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7632 (test_catch_syscall_execve): New, check entry/return across execve.
7633 (do_syscall_tests): Call test_catch_syscall_execve.
7634
7635 2016-01-12 Pedro Alves <palves@redhat.com>
7636
7637 * gdb.base/random-signal.exp (do_test): New procedure, with body
7638 of testcase moved in.
7639
7640 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7641 Pedro Alves <palves@redhat.com>
7642
7643 * gdb.base/funcargs.exp (finish from indirectly called function):
7644 Reintroduce the case for 'First'.
7645
7646 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7647 Pedro Alves <palves@redhat.com>
7648
7649 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7650 (tcatch_vfork_then_child_follow_exec)
7651 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7652 identification.
7653
7654 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7655
7656 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7657 and repeats to unlimited.
7658 * gdb.python/py-value.exp: Likewise.
7659 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7660 and repeats to unlimited.
7661
7662 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7663
7664 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7665 and reordering the functions.
7666 * gdb.multi/hangout.c: Likewise.
7667 * gdb.multi/hello.c: Likewise.
7668
7669 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7670
7671 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7672 absolute.
7673 (SingleStatisticTestResult.report): Use dict.keys instead of
7674 dict.iterkeys.
7675
7676 2016-01-06 Pedro Alves <palves@redhat.com>
7677
7678 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7679
7680 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7681
7682 * gdb.btrace/dlopen.exp: New.
7683 * gdb.btrace/dlopen.c: New.
7684 * gdb.btrace/dlopen-dso.c: New.
7685
7686 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
7687
7688 * lib/gdb.exp (gdb_test): Update comments to clarify that the
7689 PATTERN argument is optional.
7690
7691 2015-12-24 Joel Brobecker <brobecker@adacore.com>
7692
7693 * lib/ada.exp (target_compile_ada_from_dir): New function.
7694 (gdb_compile_ada): Reimplement avoiding the use of project files.
7695 * gdb.ada/gnat_ada.gpr: Delete.
7696 * gdb.ada/cond_lang.exp: Adjust test to make path before
7697 filename optional.
7698 * gdb.ada/small_reg_param.exp: Likewise.
7699
7700 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
7701
7702 * gdb.base/foll-vork.exp: Remove HP-UX special case.
7703
7704 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
7705
7706 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7707 case.
7708
7709 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
7710
7711 * gdb.base/break.exp: Remove dead code.
7712 * gdb.base/sepdebug.exp: Likewise.
7713
7714 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7715
7716 * gdb.asm/asm-source.exp: Remove HP-UX references.
7717 * gdb.base/annota1.exp: Likewise.
7718 * gdb.base/annota3.exp: Likewise.
7719 * gdb.base/attach.exp: Likewise.
7720 * gdb.base/bigcore.exp: Likewise.
7721 * gdb.base/break.exp: Likewise.
7722 * gdb.base/call-ar-st.exp: Likewise.
7723 * gdb.base/callfuncs.exp: Likewise.
7724 * gdb.base/catch-fork-static.exp: Likewise.
7725 * gdb.base/display.exp: Likewise.
7726 * gdb.base/foll-exec-mode.exp: Likewise.
7727 * gdb.base/foll-exec.exp: Likewise.
7728 * gdb.base/foll-fork.exp: Likewise.
7729 * gdb.base/foll-vfork.exp: Likewise.
7730 * gdb.base/funcargs.exp: Likewise.
7731 * gdb.base/hbreak2.exp: Likewise.
7732 * gdb.base/inferior-died.exp: Likewise.
7733 * gdb.base/interrupt.exp: Likewise.
7734 * gdb.base/multi-forks.exp: Likewise.
7735 * gdb.base/nodebug.exp: Likewise.
7736 * gdb.base/sepdebug.exp: Likewise.
7737 * gdb.base/solib1.c: Likewise.
7738 * gdb.base/step-test.exp: Likewise.
7739 * gdb.mi/non-stop.c: Likewise.
7740 * gdb.mi/pthreads.c: Likewise.
7741 * gdb.multi/bkpt-multi-exec.ex: Likewise.
7742 * gdb.threads/pthreads.c: Likewise.
7743 * gdb.threads/staticthreads.exp: Likewise.
7744 * lib/future.exp: Likewise.
7745 * lib/gdb.exp: Likewise.
7746 * gdb.base/so-indr-cl.c: Remove.
7747 * gdb.base/so-indr-cl.exp: Likewise.
7748 * gdb.base/solib.c: Likewise.
7749 * gdb.base/solib.exp: Likewise.
7750 * gdb.base/solib2.c: Likewise.
7751
7752 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7753
7754 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7755 * gdb.base/call-ar-st.exp: Likewise.
7756 * gdb.base/callfuncs.exp: Likewise.
7757 * gdb.base/condbreak.exp: Likewise.
7758 * gdb.base/constvars.exp: Likewise.
7759 * gdb.base/hbreak2.exp: Likewise.
7760 * gdb.base/langs.exp: Likewise.
7761 * gdb.base/list.exp: Likewise.
7762 * gdb.base/long_long.exp: Likewise.
7763 * gdb.base/ptype.exp: Likewise.
7764 * gdb.base/scope.exp: Likewise.
7765 * gdb.base/signals.exp: Likewise.
7766 * gdb.base/so-impl-ld.exp: Likewise.
7767 * gdb.base/varargs.exp: Likewise.
7768 * gdb.base/volatile.exp: Likewise.
7769 * gdb.base/whatis.exp: Likewise.
7770 * gdb.cp/cplusfuncs.exp: Likewise.
7771 * gdb.cp/inherit.exp: Likewise.
7772 * gdb.cp/local.exp: Likewise.
7773 * gdb.cp/member-ptr.exp: Likewise.
7774 * gdb.cp/method.exp: Likewise.
7775 * gdb.cp/overload.exp: Likewise.
7776 * gdb.cp/templates.exp: Likewise.
7777 * gdb.stabs/weird.exp: Likewise.
7778 * lib/compiler.c: Likewise.
7779 * lib/compiler.cc: Likewise.
7780 * lib/cp-support.exp: Likewise.
7781 * lib/gdb.exp: Likewise.
7782
7783 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7784
7785 * configure.ac: Remove HP-UX case.
7786 * configure: Regenerate.
7787
7788 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7789
7790 * lib/gdb.exp (gdb_compile): Add function doc.
7791
7792 2015-12-17 Pedro Alves <palves@redhat.com>
7793
7794 PR threads/19354
7795 * gdb.multi/info-threads.exp: New file.
7796
7797 2015-12-15 Yao Qi <yao.qi@linaro.org>
7798
7799 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7800 is aarch64*-*-*.
7801
7802 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7803
7804 * gdb.base/history-duplicates.exp: Skip if no readline support.
7805
7806 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7807
7808 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7809
7810 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7811
7812 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7813
7814 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7815
7816 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7817 ctrl-C if nointerrupts target property is set.
7818 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7819 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7820 * gdb.base/paginate-bg-execution.exp: Likewise.
7821 * gdb.base/paginate-execution-startup.exp: Likewise.
7822 * gdb.base/random-signal.exp: Likewise.
7823 * gdb.base/range-stepping.exp: Likewise.
7824 * gdb.cp/annota2.exp: Likewise.
7825 * gdb.cp/annota3.exp: Likewise.
7826 * gdb.gdb/selftest.exp: Likewise.
7827 * gdb.threads/continue-pending-status.exp: Likewise.
7828 * gdb.threads/leader-exit.exp: Likewise.
7829 * gdb.threads/manythreads.exp: Likewise.
7830 * gdb.threads/pthreads.exp: Likewise.
7831 * gdb.threads/schedlock.exp: Likewise.
7832 * gdb.threads/sigthread.exp: Likewise.
7833
7834 2015-12-11 Don Breazeal <donb@codesourcery.com>
7835
7836 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7837 remote.
7838 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7839 * gdb.base/foll-exec.exp (main): Enable for target remote.
7840 * gdb.base/foll-fork.exp (main): Likewise.
7841 * gdb.base/foll-vfork.exp (main): Likewise.
7842 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7843 (proc continue_to_exit_bp_loc): Use clean_restart.
7844 * gdb.base/pie-execl.exp (main): Disable for target remote.
7845 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7846 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7847 * gdb.threads/execl.exp (main): Likewise.
7848 * gdb.threads/fork-child-threads.exp (main): Likewise.
7849 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7850 remote.
7851 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7852 remote.
7853 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7854 pid.tid style ptids, instead of just tid.
7855 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7856 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7857 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7858 ptids, instead of just tid.
7859
7860 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7861
7862 * gdb.base/list.exp (test_list_forward): Add end of file error
7863 test.
7864 (test_repeat_list_command): Add end of file error test.
7865 (test_list_backwards): Add beginning of file error test.
7866
7867 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7868
7869 * gdb.base/list.exp (test_list_invalid_args): New function,
7870 defined, and called.
7871
7872 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7873
7874 * gdb.base/list.exp (test_list): Make test names unique.
7875
7876 2015-12-11 Yao Qi <yao.qi@linaro.org>
7877
7878 * gdb.base/coremaker2.c: Remove.
7879
7880 2015-12-10 Pedro Alves <palves@redhat.com>
7881
7882 * gdb.multi/base.exp: Remove stale "spaces" references.
7883
7884 2015-12-10 Pedro Alves <palves@redhat.com>
7885
7886 * gdb.multi/base.exp: Don't use nowarnings.
7887 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7888 * gdb.multi/hangout.c: Include stdio.h.
7889 * gdb.multi/hello.c: Include stdlib.h.
7890 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7891 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7892 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7893
7894 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7895
7896 * gdb.dwarf2/dw2-ranges-base.c: New file.
7897 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7898 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7899 support additional line table, and debug ranges generation.
7900 (Dwarf::ranges): New function, generate .debug_ranges.
7901 (Dwarf::lines): Support generating simple line table programs.
7902 (Dwarf::assemble): Initialise new namespace variables.
7903
7904 2015-12-09 Kevin Buettner <kevinb@redhat.com>
7905
7906 * gdb.base/async.exp (proc test_background): Add case for
7907 asynchronous execution not supported.
7908
7909 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
7910
7911 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7912 format and change test names to make them unique.
7913
7914 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7915 Pedro Alves <pedro@redhat.com>
7916
7917 PR gdb/18702
7918 Add checking of floatformats setup on x86_64 hosts.
7919 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7920 (smallval, bigval): New labels/constants.
7921 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7922 float" after loading bigval and smallval.
7923
7924 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7925
7926 * gdb.ada/fun_overload_menu.exp: New testcase.
7927 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7928
7929 2015-12-04 Josh Stone <jistone@redhat.com>
7930
7931 * gdb.base/catch-fork-static.exp: New.
7932
7933 2015-12-03 Yao Qi <yao.qi@linaro.org>
7934
7935 * gdb.base/sizeof.c: Don't include stdio.h and
7936 ../lib/unbuffer_output.c.
7937 (main): New variable 'size' and 'value'. Remove printf and
7938 gdb_unbuffer_output. Assign return value to size and value.
7939 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7940 at the beginning.
7941 (check_sizeof): Check the result by printing variable 'size'.
7942 (check_valueof): Check the result by printing variable 'value'.
7943
7944 2015-12-01 Yao Qi <yao.qi@linaro.org>
7945
7946 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7947 for aarch64*-*-linux* target.
7948
7949 2015-11-30 Pedro Alves <palves@redhat.com>
7950
7951 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7952
7953 2015-11-30 Pedro Alves <palves@redhat.com>
7954
7955 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7956 Handle non-stop mode vCont replies.
7957
7958 2015-11-30 Pedro Alves <palves@redhat.com>
7959
7960 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7961 prepare_for_testing. Start gdb with "set non-stop on" appended to
7962 GDBFLAGS. Lax expected stop output.
7963
7964 2015-11-27 Yao Qi <yao.qi@linaro.org>
7965
7966 * gdb.arch/arm-neon.exp: New.
7967 * gdb.arch/arm-neon.c: New.
7968
7969 2015-11-27 Yao Qi <yao.qi@linaro.org>
7970
7971 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7972
7973 2015-11-27 Yao Qi <yao.qi@linaro.org>
7974
7975 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7976 frames-invalid annotation.
7977
7978 2015-11-27 Yao Qi <yao.qi@linaro.org>
7979
7980 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7981
7982 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7983
7984 * gdb.threads/names.exp: New file.
7985 * gdb.threads/names.c: New file.
7986 * README: Mention gdb,no_thread_names.
7987
7988 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7989
7990 PR 19297
7991 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7992 support" error.
7993
7994 2015-11-24 Pedro Alves <palves@redhat.com>
7995
7996 PR 17539
7997 * gdb.base/display.exp: Expect displays to be sorted in ascending
7998 order. Use multi_line.
7999 * gdb.base/solib-display.exp: Likewise.
8000
8001 2015-11-24 Pedro Alves <palves@redhat.com>
8002
8003 PR 17539
8004 * gdb.base/display.exp: Expect displays to be sorted in ascending
8005 order. Use multi_line.
8006 * gdb.base/solib-display.exp: Likewise.
8007
8008 2015-11-24 Pedro Alves <palves@redhat.com>
8009
8010 PR 17539
8011 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8012 threads in ascending order.
8013 * gdb.base/foll-fork.exp: Likewise.
8014 * gdb.base/foll-vfork.exp: Likewise.
8015 * gdb.base/multi-forks.exp: Likewise.
8016 * gdb.mi/mi-nonstop.exp: Likewise.
8017 * gdb.mi/mi-nsintrall.exp: Likewise.
8018 * gdb.multi/base.exp: Likewise.
8019 * gdb.multi/multi-arch.exp: Likewise.
8020 * gdb.python/py-inferior.exp: Likewise.
8021 * gdb.threads/break-while-running.exp: Likewise.
8022 * gdb.threads/execl.exp: Likewise.
8023 * gdb.threads/gcore-thread.exp: Likewise.
8024 * gdb.threads/info-threads-cur-sal.exp: Likewise.
8025 * gdb.threads/kill.exp: Likewise.
8026 * gdb.threads/linux-dp.exp: Likewise.
8027 * gdb.threads/multiple-step-overs.exp: Likewise.
8028 * gdb.threads/next-bp-other-thread.exp: Likewise.
8029 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8030 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8031 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8032 * gdb.threads/thread-find.exp: Likewise.
8033 * gdb.threads/tls.exp: Likewise.
8034 * lib/mi-support.exp (mi_reverse_list): Delete.
8035 (mi_check_thread_states): No longer reverse list.
8036
8037 2015-11-24 Pedro Alves <palves@redhat.com>
8038
8039 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
8040 use lowercase.
8041
8042 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8043
8044 * gdb.trace/actions.c: Include trace-common.h.
8045 (main): Add a location for a fast tracepoint.
8046 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8047 the normal tracepoints.
8048 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8049
8050 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8051
8052 * save-trace.exp: Factor out code to these...
8053 (gdb_save_tracepoints): New.
8054 (gdb_load_tracepoints): New.
8055 (do_save_load_test): New.
8056
8057 2015-11-23 Kevin Buettner <kevinb@redhat.com>
8058
8059 * gdb.base/asmlabel.exp: New test.
8060 * gdb.base/asmlabel.c: New test case.
8061
8062 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8063
8064 * gdb.base/wrong_frame_bt_full-main.c: New file.
8065 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8066 * gdb.base/wrong_frame_bt_full.exp: New file.
8067
8068 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8069
8070 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8071
8072 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8073
8074 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8075 pstate register when comparing registers values in
8076 sparc64-*-linux-gnu targets to avoid spurious differences.
8077
8078 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8079
8080 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8081
8082 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
8083
8084 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8085 as type argument to gdb_compile.
8086 * gdb.base/nested-subp2.exp: Likewise.
8087 * gdb.base/nested-subp3.exp: Likewise.
8088
8089 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
8090
8091 * lib/dwarf.exp (_note): Fix left shift of negative value.
8092 * gdb.trace/trace-condition.exp: Likewise.
8093
8094 2015-11-13 Yao Qi <yao.qi@linaro.org>
8095
8096 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8097 comments about d10v.
8098 (test_scalar_returns): Likewise.
8099 * gdb.base/d10v.ld: Remove.
8100 * gdb.base/overlays.exp: Remove the target triplet checking for
8101 d10v-*-*.
8102 * gdb.base/structs.exp (test_struct_returns): Remove the
8103 comments about d10v.
8104 (test_struct_calls): Likewise.
8105
8106 2015-11-13 Yao Qi <yao.qi@linaro.org>
8107
8108 * gdb.base/gnu_vector.exp: Check the return value by "p res".
8109 * gdb.base/gnu_vector.c: Don't include stdio.h.
8110 (main): Don't print res and call add_some_intvecs.
8111
8112 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
8113
8114 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8115 macro.
8116 (func5): Removed.
8117 (func4): Use FAST_TRACEPOINT_LABEL.
8118 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8119 macro.
8120 (func): Removed.
8121 (thread_function): Use FAST_TRACEPOINT_LABEL.
8122 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8123 (func): Remove.
8124 (marker): Use FAST_TRACEPOINT_LABEL.
8125 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8126 (pendfunc1): Remove.
8127 (pendfunc): Use FAST_TRACEPOINT_LABEL.
8128 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8129 (foo): Remove.
8130 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8131 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8132 macro.
8133 (func): Remove.
8134 (marker): Use FAST_TRACEPOINT_LABEL.
8135 * gdb.trace/trace-common.h: New header.
8136 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8137 macro.
8138 (func): Remove.
8139 (marker): Use FAST_TRACEPOINT_LABEL.
8140 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8141 (func): Remove.
8142 (thread_function): Use FAST_TRACEPOINT_LABEL.
8143
8144 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
8145
8146 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8147 in front.
8148 * gdb.trace/change-loc.exp: Use global pcreg definition.
8149 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8150 * gdb.trace/entry-values.exp: Use global spreg definition, add $
8151 in front.
8152 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8153 * gdb.trace/pending.exp: Likewise.
8154 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8155 * gdb.trace/trace-break.exp: Likewise.
8156 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8157 in front.
8158 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8159 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8160 in front.
8161 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8162
8163 2015-11-09 Joel Brobecker <brobecker@adacore.com>
8164
8165 * gdb.ada/fin_fun_out: New testcase.
8166
8167 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8168
8169 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8170 value associated with DW_AT_byte_size.
8171 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8172 constants for DW_AT_byte_size, DW_AT_lower_bound, and
8173 DW_AT_upper_bound.
8174
8175 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8176
8177 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8178 (gdb_target_symbol_prefix_flags): Define in terms of _asm
8179 version.
8180 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8181 gdb.dwarf2/dw2-canonicalize-type.exp,
8182 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8183 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8184 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8185 provided by gdb_target_symbol_prefix_flags_asm.
8186 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8187 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8188 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8189 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8190 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8191 macros where needed). Use this macro for symbols which require
8192 the prefix provided by SYMBOL_PREFIX.
8193
8194 2015-11-05 Kevin Buettner <kevinb@redhat.com>
8195
8196 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8197 New procs.
8198 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8199 representing expressions, of more than one list element.
8200 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8201 to prepend linker symbol prefix to f.
8202 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8203 table_1 and table_2.
8204 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8205 Likewise, for f and g.
8206 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8207 for ptr.
8208 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8209 for main.
8210 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8211 table_1_ptr and table_2_ptr.
8212
8213 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8214 Joel Brobecker <brobecker@adacore.com>
8215
8216 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8217
8218 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8219
8220 * gdb.reverse/s390-mvcle.c: New test.
8221 * gdb.reverse/s390-mvcle.exp: New file.
8222 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8223
8224 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8225
8226 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8227
8228 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8229
8230 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8231 reaching marker2.
8232 * gdb.reverse/getresuid-reverse.exp: Likewise.
8233 * gdb.reverse/pipe-reverse.exp: Likewise.
8234 * gdb.reverse/readv-reverse.exp: Likewise.
8235 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8236 * gdb.reverse/time-reverse.exp: Likewise.
8237 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8238
8239 2015-10-30 Yao Qi <yao.qi@linaro.org>
8240
8241 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8242 (empty_cycle): Remove.
8243 (main): Don't call empty_cycle. Don't use watch_count_done.
8244 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8245 empty_cycle. Rewrite the code counting HW watchpoints.
8246
8247 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8248
8249 * gdb.reverse/fstatat-reverse.c: New test.
8250 * gdb.reverse/fstatat-reverse.exp: New file.
8251 * gdb.reverse/getresuid-reverse.c: New test.
8252 * gdb.reverse/getresuid-reverse.exp: New file.
8253 * gdb.reverse/pipe-reverse.c: New test.
8254 * gdb.reverse/pipe-reverse.exp: New file.
8255 * gdb.reverse/readv-reverse.c: New test.
8256 * gdb.reverse/readv-reverse.exp: New file.
8257 * gdb.reverse/recvmsg-reverse.c: New test.
8258 * gdb.reverse/recvmsg-reverse.exp: New file.
8259 * gdb.reverse/time-reverse.c: New test.
8260 * gdb.reverse/time-reverse.exp: New file.
8261 * gdb.reverse/waitpid-reverse.c: New test.
8262 * gdb.reverse/waitpid-reverse.exp: New file.
8263
8264 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8265
8266 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8267
8268 2015-10-26 Doug Evans <dje@google.com>
8269
8270 PR symtab/17391
8271 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8272 * gdb.dwarf2/bad-regnum.c: New file.
8273 * gdb.dwarf2/bad-regnum.exp: New file.
8274
8275 2015-10-26 Doug Evans <dje@google.com>
8276
8277 PR python/18938
8278 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8279 file.
8280
8281 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8282
8283 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8284 for a change by "Mention language in compile error message".
8285
8286 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8287
8288 PR python/18073
8289 * gdb.python/py-type.c (C::a_method): New.
8290 (C::a_const_method): New.
8291 (C::a_static_method): New.
8292 (a_function): New.
8293 * gdb.python/py-type.exp (test_fields): Test getting fields
8294 from function and method.
8295
8296 2015-10-21 Keven Boell <keven.boell@intel.com>
8297
8298 * gdb.fortran/vla-alloc-assoc.exp: New file.
8299 * gdb.fortran/vla-datatypes.exp: New file.
8300 * gdb.fortran/vla-datatypes.f90: New file.
8301 * gdb.fortran/vla-history.exp: New file.
8302 * gdb.fortran/vla-ptype-sub.exp: New file.
8303 * gdb.fortran/vla-ptype.exp: New file.
8304 * gdb.fortran/vla-sizeof.exp: New file.
8305 * gdb.fortran/vla-sub.f90: New file.
8306 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8307 * gdb.fortran/vla-value-sub-finish.exp: New file.
8308 * gdb.fortran/vla-value-sub.exp: New file.
8309 * gdb.fortran/vla-value.exp: New file.
8310 * gdb.fortran/vla-ptr-info.exp: New file.
8311 * gdb.mi/mi-vla-fortran.exp: New file.
8312 * gdb.mi/vla.f90: New file.
8313
8314 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8315
8316 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8317 of hardwired timeout value.
8318
8319 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8320 Pedro Alves <palves@redhat.com>
8321
8322 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8323 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8324
8325 2015-10-19 Josh Stone <jistone@redhat.com>
8326
8327 * gdb.base/catch-syscall.c: Include <sched.h>.
8328 (unknown_syscall): New variable.
8329 (main): Trigger a vfork and an unknown syscall.
8330 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8331 (unknown_syscall_number): Likewise.
8332 (check_call_to_syscall): Accept an optional syscall pattern.
8333 (check_return_from_syscall): Likewise.
8334 (check_continue): Likewise.
8335 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8336 (test_catch_syscall_skipping_return): New test toggling off 'catch
8337 syscall' to step over the syscall return, then toggling back on.
8338 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8339 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8340 (do_syscall_tests): Call test_catch_syscall_without_args and
8341 test_catch_syscall_mid_vfork.
8342 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8343 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8344
8345 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
8346
8347 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8348 print g_vE): Add new pass patterns.
8349 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8350 print various symbol names for vptr fields.
8351
8352 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8353
8354 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8355 results.
8356
8357 2015-10-12 Yao Qi <yao.qi@linaro.org>
8358
8359 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8360
8361 2015-10-12 Yao Qi <yao.qi@linaro.org>
8362
8363 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8364 is aarch64*-*-linux*.
8365
8366 2015-10-12 Yao Qi <yao.qi@linaro.org>
8367
8368 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8369 (can_relocate_bcond_true): ... it.
8370 (can_relocate_bcond_false): New function.
8371 (foo): Likewise.
8372 (can_relocate_bl): Likewise.
8373 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8374 can_relocate_bl.
8375
8376 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8377
8378 * gdb.base/nested-addr.c: New file.
8379 * gdb.base/nested-addr.exp: New testcase.
8380
8381 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8382
8383 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8384 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8385 its output. Ignore the output of "record goto begin" and instead
8386 check that GDB is replaying.
8387
8388 2015-10-09 Pedro Alves <palves@redhat.com>
8389
8390 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8391 (top level): Use it in the run with no args test.
8392
8393 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8394
8395 * gdb.dlang/properties.exp: New file.
8396
8397 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8398
8399 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8400 whether or not address 0x1000 is mapped on the target.
8401
8402 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8403
8404 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8405 build.
8406
8407 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8408
8409 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8410 instruction-history test.
8411
8412 2015-09-28 Doug Evans <dje@google.com>
8413
8414 * gdb.base/gcore.c (array_func): Add reference to static_array.
8415
8416 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8417
8418 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8419 source line.
8420
8421 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8422
8423 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8424 short or char as base type.
8425
8426 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8427
8428 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8429 to allow any size enum.
8430
8431 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8432
8433 * gdb.ada/array_ptr_renaming.exp: New testcase.
8434 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8435 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8436
8437 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8438
8439 * gdb.trace/ftrace-lock.c: New file.
8440 * gdb.trace/ftrace-lock.exp: New file.
8441
8442 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8443
8444 * gdb.arch/insn-reloc.c: New file.
8445 * gdb.arch/ftrace-insn-reloc.exp: New file.
8446
8447 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8448
8449 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8450 instruction.
8451 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8452 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8453 * gdb.trace/range-stepping.c: Likewise.
8454 * gdb.trace/trace-break.c: Likewise.
8455 * gdb.trace/trace-mt.c (thread_function): Likewise.
8456 * gdb.trace/ftrace.c (marker): Likewise.
8457 * gdb.trace/trace-condition.c (marker): Likewise.
8458 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8459 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8460 is_aarch64_target.
8461
8462 2015-09-18 Doug Evans <xdje42@gmail.com>
8463
8464 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8465 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8466
8467 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8468
8469 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8470 the breakpoint.
8471
8472 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8473
8474 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8475 the pending breakpoint. Remove timeout override for "Run till
8476 MI pending breakpoint on pendfunc3 on thread 2" test.
8477
8478 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8479
8480 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8481 filename pattern.
8482
8483 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8484
8485 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8486 in breakpoint filename pattern.
8487
8488 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8489
8490 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8491
8492 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8493
8494 * gdb.linespec/explicit.exp: Check for readline support for
8495 tab-completion tests. Fix obvious typo.
8496
8497 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8498
8499 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8500 and replay.
8501
8502 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8503
8504 * gdb.btrace/non-stop.c: New.
8505 * gdb.btrace/non-stop.exp: New.
8506
8507 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8508 Yao Qi <yao.qi@linaro.org>
8509
8510 * gdb.trace/trace-condition.c: New file.
8511 * gdb.trace/trace-condition.exp: New file.
8512
8513 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
8514
8515 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8516 for testing bytecode compilation.
8517
8518 2015-09-16 Pedro Alves <palves@redhat.com>
8519 Sandra Loosemore <sandra@codesourcery.com>
8520
8521 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8522 (SECONDS): Redefine.
8523 (main): Call pthread_kill and alarm early.
8524 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8525 support.
8526 (test): If the target can't hardware step and doesn't support
8527 displaced stepping, increase the timeout.
8528
8529 2015-09-16 Pedro Alves <palves@redhat.com>
8530
8531 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8532 (enable_debug): New procedures.
8533 (test): Use them. Bail out if waiting for threads fails.
8534 (top level): Bail out if a test fails.
8535
8536 2015-09-16 Yao Qi <yao.qi@linaro.org>
8537
8538 * gdb.asm/asm-source.exp: Set asm-arch for
8539 aarch64*-*-* target.
8540 * gdb.asm/aarch64.inc: New file.
8541
8542 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8543
8544 * gdb.ada/array_of_variable_length.exp: New testcase.
8545 * gdb.ada/array_of_variable_length/foo.adb: New file.
8546 * gdb.ada/array_of_variable_length/pck.adb: New file.
8547 * gdb.ada/array_of_variable_length/pck.ads: New file.
8548
8549 2015-09-15 Doug Evans <dje@google.com>
8550
8551 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8552 of function static local variable.
8553
8554 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8555
8556 * gdb.threads/tls-so_extern.exp: New test file.
8557 * gdb.threads/tls-so_extern.c: New test file.
8558 * gdb.threads/tls-so_extern_main.c: New test file.
8559
8560 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8561
8562 * gdb.opt/solib-intra-step-lib.c: New file.
8563 * gdb.opt/solib-intra-step-main.c: New file.
8564 * gdb.opt/solib-intra-step.exp: New file.
8565
8566 2015-09-15 Pedro Alves <palves@redhat.com>
8567
8568 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8569 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8570
8571 2015-09-14 Pedro Alves <palves@redhat.com>
8572
8573 * gdb.base/hook-stop-continue.c: Delete.
8574 * gdb.base/hook-stop-continue.exp: Delete.
8575 * gdb.base/hook-stop-frame.c: Delete.
8576 * gdb.base/hook-stop-frame.exp: Delete.
8577 * gdb.base/hook-stop.c: New file.
8578 * gdb.base/hook-stop.exp: New file.
8579
8580 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8581
8582 * gdb.ada/access_to_packed_array.exp: New testcase.
8583 * gdb.ada/access_to_packed_array/foo.adb: New file.
8584 * gdb.ada/access_to_packed_array/pack.adb: New file.
8585 * gdb.ada/access_to_packed_array/pack.ads: New file.
8586
8587 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8588
8589 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8590 buffer size test.
8591
8592 2015-09-11 Don Breazeal <donb@codesourcery.com>
8593
8594 * gdb.base/foll-exec.c: Add copyright header. Fix
8595 formatting issues.
8596 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8597 (do_exec_tests): Use clean_restart in place of zap_session,
8598 and for test initialization. Fix formatting issues. Use
8599 fail in place of perror.
8600 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8601 an expect statement to match an expression with output from
8602 the program under debug.
8603 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8604 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8605 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8606 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8607 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8608
8609 2015-09-09 Doug Evans <dje@google.com>
8610
8611 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8612
8613 2015-09-09 Doug Evans <dje@google.com>
8614
8615 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8616
8617 2015-09-09 Doug Evans <dje@google.com>
8618
8619 * gdb.base/savedregs.exp: Fix typo.
8620
8621 2015-09-09 Pedro Alves <palves@redhat.com>
8622
8623 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8624
8625 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8626
8627 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8628 command actually switches threads. Give up on remaining
8629 tests if target fails to stop at breakpoint.
8630
8631 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8632
8633 * gdb.ada/funcall_char.exp: New testcase.
8634 * gdb.ada/funcall_char/foo.adb: New file.
8635
8636 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8637
8638 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8639 expected outputs. Add two testcases for completing ambiguous
8640 functions.
8641 * gdb.ada/complete/aux_pck.adb: New file.
8642 * gdb.ada/complete/aux_pck.ads: New file.
8643 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8644 Ambiguous_Func functions.
8645 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8646 * gdb.ada/complete/pck.adb: Likewise.
8647
8648 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8649
8650 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8651 failures to run the test program under GDB.
8652
8653 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
8654
8655 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8656 to C.
8657
8658 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8659
8660 * gdb.base/run-after-attach.exp: New test file.
8661 * gdb.base/run-after-attach.c: New test file.
8662
8663 2015-08-26 Don Breazeal <donb@codesourcery.com>
8664
8665 * gdb.base/foll-exec-2.c: New test program.
8666 * gdb.base/foll-exec-2.exp: New test.
8667
8668 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8669
8670 * gdb.base/nested-subp1.exp: New file.
8671 * gdb.base/nested-subp1.c: New file.
8672 * gdb.base/nested-subp2.exp: New file.
8673 * gdb.base/nested-subp2.c: New file.
8674 * gdb.base/nested-subp3.exp: New file.
8675 * gdb.base/nested-subp3.c: New file.
8676
8677 2015-08-24 Pedro Alves <palves@redhat.com>
8678
8679 * gdb.server/connect-without-multi-process.c: New file.
8680 * gdb.server/connect-without-multi-process.exp: New file.
8681
8682 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8683
8684 * gdb.opt/inline-markers.c: Make z int.
8685
8686 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8687
8688 * gdb.opt/inline-markers.c: Make z volatile.
8689
8690 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8691
8692 * gdb.opt/inline-bt.c: New volatile global z.
8693 * gdb.opt/inline-cmds.c: Likewise.
8694 * gdb.opt/inline-locals.c: Likewise.
8695 * gdb.opt/inline-markers.c: New extern global z.
8696 (marker): Use z.
8697 (inline_fn): Likewise.
8698
8699 2015-08-24 Pedro Alves <palves@redhat.com>
8700
8701 * config/m32r-stub.exp: Remove file.
8702 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8703 * gdb.base/call-rt-st.exp: Likewise.
8704 * gdb.base/call-strs.exp: Likewise.
8705 * gdb.base/default.exp: Remove references to h8300-*-hms and
8706 *-*-udi*.
8707 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8708
8709 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8710
8711 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8712 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
8713 and "return" use KFAIL when GDB can not read/write the vector
8714 return value.
8715
8716 2015-08-21 Gary Benson <gbenson@redhat.com>
8717
8718 * gdb.trace/pending.exp: Cope with remote transfer warnings.
8719
8720 2015-08-20 Pedro Alves <palves@redhat.com>
8721
8722 * gdb.server/solib-list.exp: No longer expect an interior stop in
8723 non-stop mode.
8724
8725 2015-08-20 Pedro Alves <palves@redhat.com>
8726
8727 * gdb.server/connect-stopped-target.c: New file.
8728 * gdb.server/connect-stopped-target.exp: New file.
8729
8730 2015-08-20 Pedro Alves <palves@redhat.com>
8731
8732 * gdb.dwarf2/comp-unit-lang.exp: New file.
8733 * gdb.dwarf2/comp-unit-lang.c: New file.
8734
8735 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
8736
8737 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8738 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8739
8740 2015-08-19 Kevin Buettner <kevinb@redhat.com>
8741
8742 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8743 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8744
8745 2015-08-18 Doug Evans <dje@google.com>
8746 Adrian Sendroiu <adrian.sendroiu@freescale.com>
8747
8748 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8749 skip_python_tests. New arg prompt_regexp.
8750 (skip_python_tests): New function.
8751 * lib/mi-support.exp (mi_skip_python_tests): New function.
8752 * gdb.python/py-mi-objfile-gdb.py: New file.
8753 * gdb.python/py-mi-objfile.c: New file.
8754 * gdb.python/py-mi-objfile.exp: New file.
8755
8756 2015-08-17 Keith Seitz <keiths@redhat.com>
8757
8758 * gdb.linespec/explicit.exp: Move strace test from here ...
8759 * gdb.trace/strace.exp: ... to here.
8760
8761 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8762
8763 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8764 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8765
8766 2015-08-14 Doug Evans <xdje42@gmail.com>
8767
8768 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8769 inferior before selecting a new file.
8770
8771 2015-08-14 Doug Evans <xdje42@gmail.com>
8772
8773 * gdb.mi/mi-disassemble.exp: Update.
8774 * gdb.base/disasm-optim.S: New file.
8775 * gdb.base/disasm-optim.c: New file.
8776 * gdb.base/disasm-optim.h: New file.
8777 * gdb.base/disasm-optim.exp: New file.
8778
8779 2015-08-14 Keith Seitz <keiths@redhat.com>
8780
8781 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8782 "evaluated-by".
8783
8784 2015-08-13 Joel Brobecker <brobecker@adacore.com>
8785
8786 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8787
8788 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8789
8790 * gdb.ada/fun_renaming.exp: New testcase.
8791 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8792 * gdb.ada/fun_renaming/pack.adb: New file.
8793 * gdb.ada/fun_renaming/pack.ads: New file.
8794
8795 2015-08-12 Keith Seitz <keiths@redhat.com>
8796
8797 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8798 gdb_get_line_number.
8799
8800 2015-08-12 Joel Brobecker <brobecker@adacore.com>
8801
8802 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8803 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8804 gdb.base/dso2dso.exp: New files.
8805
8806 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8807 Pedro Alves <palves@redhat.com>
8808 Keith Seitz <keiths@redhat.com>
8809
8810 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8811 GDBFLAGS.
8812
8813 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8814
8815 * gdb.base/gdbhistsize-history.exp
8816 (test_histsize_history_setting): Use save_vars.
8817 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8818 Use save_vars.
8819 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8820 * gdb.base/readline.exp: Use save_vars.
8821
8822 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8823
8824 * lib/gdb.exp (save_vars): New proc.
8825
8826 2015-08-11 Keith Seitz <keiths@redhat.com>
8827
8828 * gdb.base/help.exp: Update help_breakpoint_text.
8829
8830 2015-08-11 Keith Seitz <keiths@redhat.com>
8831
8832 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8833 (at toplevel): Call test_explicit_breakpoints.
8834 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8835 breakpoints.
8836 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8837 breakpoint conditions, "-cond".
8838
8839 2015-08-11 Keith Seitz <keiths@redhat.com>
8840
8841 * gdb.linespec/3explicit.c: New file.
8842 * gdb.linespec/cpexplicit.cc: New file.
8843 * gdb.linespec/cpexplicit.exp: New file.
8844 * gdb.linespec/explicit.c: New file.
8845 * gdb.linespec/explicit.exp: New file.
8846 * gdb.linespec/explicit2.c: New file.
8847 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8848 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8849 before using in the matching pattern.
8850 Clarify that `prefix' is a regular expression.
8851
8852 2015-08-11 Keith Seitz <keiths@redhat.com>
8853
8854 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8855 test.
8856 Add tests for missing ",FMT" and ",".
8857
8858 2015-08-10 Doug Evans <dje@google.com>
8859 Keith Seitz <keiths@redhat.com>
8860
8861 PR gdb/17960
8862 * gdb.base/completion.exp: Add location completer tests.
8863
8864 2015-08-07 Pedro Alves <palves@redhat.com>
8865
8866 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8867 tests here.
8868 (top level): Run do_test with and without displaced stepping.
8869
8870 2015-08-07 Pedro Alves <palves@redhat.com>
8871
8872 * gdb.base/valgrind-disp-step.c: New file.
8873 * gdb.base/valgrind-disp-step.exp: New file.
8874
8875 2015-08-07 Pedro Alves <palves@redhat.com>
8876
8877 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8878 Delete function.
8879 (main): Add alarm. Run an infinite loop instead of calling
8880 wait_threads.
8881 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8882 comment.
8883 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8884 Delete function.
8885 (main): Add alarm. Run an infinite loop instead of calling
8886 wait_threads.
8887 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8888 comment.
8889
8890 2015-08-07 Pedro Alves <palves@redhat.com>
8891
8892 * gdb.base/checkpoint-ns.exp: New file.
8893 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8894 standard_testfile.
8895
8896 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8897
8898 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8899 * gdb.btrace/instruction_history.exp: Update.
8900 * gdb.btrace/tsx.exp: New.
8901 * gdb.btrace/tsx.c: New.
8902
8903 2015-08-06 Pedro Alves <palves@redhat.com>
8904
8905 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8906 increase timeout.
8907 * gdb.reverse/until-precsave.exp: Bump timeouts.
8908
8909 2015-08-06 Pedro Alves <palves@redhat.com>
8910
8911 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8912
8913 2015-08-06 Pedro Alves <palves@redhat.com>
8914
8915 PR gdb/18749
8916 * gdb.threads/process-dies-while-handling-bp.c: New file.
8917 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8918
8919 2015-08-06 Pedro Alves <palves@redhat.com>
8920
8921 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8922 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8923
8924 2015-08-05 Pedro Alves <palves@redhat.com>
8925
8926 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8927 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8928
8929 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8930
8931 * gdb.base/bp-permanent.exp: Report test as unsupported if
8932 the target cannot stop at the permanent breakpoint.
8933
8934 2015-08-03 Doug Evans <dje@google.com>
8935
8936 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8937 10000.
8938
8939 2015-08-03 Doug Evans <dje@google.com>
8940
8941 * Makefile.in (workers/%.worker, build-perf): New rule.
8942 (GDB_PERFTEST_MODE): New variable.
8943 (check-perf): Use it.
8944 (clean): Clean up gdb.perf parallel build subdirs.
8945 * lib/build-piece.exp: New file.
8946 * lib/gdb.exp (make_gdb_parallel_path): New function
8947 (standard_output_file, standard_temp_file): Call it.
8948 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8949 of $GDB_PARALLEL.
8950 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8951
8952 2015-08-03 Doug Evans <dje@google.com>
8953
8954 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8955 (LOG_FILE_NAME): New global.
8956 (TextReporter.__init__): Initialize self.txt_sum.
8957 (TextReporter.report): Add support for multiple data-points.
8958 Move report to perftest.sum, put raw data in perftest.log.
8959 (TextReporter.start): Open sum and log files.
8960 (TextReporter.end): Close sum and log files.
8961 * gdb.perf/lib/perftest/testresult.py
8962 (SingleStatisticTestResult.record): Handle multiple data-points.
8963
8964 2015-07-31 Pedro Alves <palves@redhat.com>
8965
8966 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8967 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8968 kill_wait_spawned_process instead of explicit "kill -9".
8969 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8970 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8971 kill_wait_spawned_process.
8972 * gdb.base/attach-twice.exp: Likewise.
8973 * gdb.base/attach.exp: Likewise.
8974 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8975 gdb_test_multiple.
8976 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8977 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8978 kill_wait_spawned_process.
8979 * gdb.base/valgrind-infcall.exp: Likewise.
8980 * gdb.multi/multi-attach.exp: Likewise.
8981 * gdb.python/py-prompt.exp: Likewise.
8982 * gdb.python/py-sync-interp.exp: Likewise.
8983 * gdb.server/ext-attach.exp: Likewise.
8984 * gdb.threads/attach-into-signal.exp (corefunc): Use
8985 spawn_wait_for_attach, spawn_id_get_pid and
8986 kill_wait_spawned_process.
8987 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8988 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8989 spawn_id_get_pid and kill_wait_spawned_process.
8990 * gdb.threads/attach-stopped.exp (corefunc): Use
8991 spawn_wait_for_attach, spawn_id_get_pid and
8992 kill_wait_spawned_process.
8993 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8994 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8995 kill_wait_spawned_process instead of explicit "kill -9".
8996 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8997 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8998 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8999 processes. Don't map cygwin/windows pids here. Now returns a
9000 spawn id list.
9001
9002 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9003
9004 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9005 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9006 correct patch.
9007
9008 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9009
9010 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9011
9012 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9013
9014 Reapply:
9015 2014-05-21 Mark Wielaard <mjw@redhat.com>
9016
9017 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9018
9019 2015-07-30 Pedro Alves <palves@redhat.com>
9020
9021 * linux-low.c (handle_extended_wait): Set the child's last
9022 reported status to TARGET_WAITKIND_STOPPED.
9023
9024 2015-07-30 Pedro Alves <palves@redhat.com>
9025
9026 PR threads/18600
9027 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9028 only shows inferior 1.
9029
9030 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
9031 Pedro Alves <palves@redhat.com>
9032
9033 PR threads/18600
9034 * gdb.threads/fork-plus-threads.c: New file.
9035 * gdb.threads/fork-plus-threads.exp: New file.
9036
9037 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9038
9039 * gdb.base/batch-preserve-term-settings.exp
9040 (test_terminal_settings_preserved_after_cli_exit): Use
9041 send_quit_command.
9042
9043 2015-07-29 Pedro Alves <palves@redhat.com>
9044 Don Breazeal <donb@codesourcery.com>
9045
9046 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9047 output from both inferior_spawn_id and gdb_spawn_id.
9048
9049 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9050
9051 * gdb.threads/attach-into-signal.exp (corefunc): Use
9052 with_test_prefix on nested loops, uniquefying the test messages.
9053
9054 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9055
9056 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9057 commit.
9058
9059 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9060
9061 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9062 New proc.
9063 (test_terminal_settings_preserved_after_sigterm): New test.
9064
9065 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9066
9067 * gdb.base/batch-preserve-term-settings.exp
9068 (test_terminal_settings_preserved_after_cli_exit): New test.
9069
9070 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9071
9072 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9073 manipulation of saved_gdbflags.
9074 (test_terminal_settings_preserved): Remove global declaration of
9075 the unused variable pagination_prompt. Remove manipulation of
9076 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
9077 GDBFLAGS.
9078
9079 2015-07-29 Pedro Alves <palves@redhat.com>
9080
9081 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9082
9083 2015-07-29 Pedro Alves <palves@redhat.com>
9084
9085 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9086 at the top.
9087
9088 2015-07-29 Pedro Alves <palves@redhat.com>
9089
9090 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9091 (main): Call gdb_unbuffer_output.
9092 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9093 (main): Call gdb_unbuffer_output.
9094 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9095 (main): Call gdb_unbuffer_output.
9096 * gdb.base/call-strs.exp: Adjust to step over the
9097 gdb_unbuffer_output call.
9098 * gdb.base/catch-gdb-caused-signals.c: Include
9099 "../lib/unbuffer_output.c".
9100 (main): Call gdb_unbuffer_output.
9101 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9102 (main): Call gdb_unbuffer_output.
9103 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9104 (main): Call gdb_unbuffer_output.
9105 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9106 (main): Call gdb_unbuffer_output.
9107 * gdb.base/shlib-call.exp: Adjust to step over the
9108 gdb_unbuffer_output call.
9109 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9110 (main): Call gdb_unbuffer_output.
9111 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9112 (main): Call gdb_unbuffer_output.
9113 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9114 (main): Rename to ...
9115 (test): ... this.
9116 (main): Reimplement.
9117 * gdb.base/varargs.exp: Run to test instead of to main.
9118 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9119 (main): Call gdb_unbuffer_output.
9120
9121 2015-07-29 Pedro Alves <palves@redhat.com>
9122
9123 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9124 factore out from mi_continue_dprintf. For call-style dprintfs,
9125 expect dprintf output out of $inferior_spawn_id.
9126 (mi_continue_dprintf): Use mi_expect_dprintf.
9127 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9128 (main): Call gdb_unbuffer_output.
9129
9130 2015-07-29 Pedro Alves <palves@redhat.com>
9131
9132 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9133 (default_mi_gdb_start): Set inferior_spawn_id instead of
9134 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
9135 gdb_spawn_id.
9136 (mi_gdb_test): Always expect inferior output from both
9137 $inferior_spawn_id and $gdb_spawn_id.
9138
9139 2015-07-29 Pedro Alves <palves@redhat.com>
9140
9141 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
9142 send_inferior and $inferior_spawn_id.
9143
9144 2015-07-29 Pedro Alves <palves@redhat.com>
9145
9146 * gdb.gdb/complaints.exp (test_initial_complaints)
9147 (test_serial_complaints, test_short_complaints): Use
9148 gdb_test_stdio.
9149 (test_empty_complaint): Handle $inferior_spawn_id !=
9150 $gdb_spawn_id.
9151
9152 2015-07-29 Pedro Alves <palves@redhat.com>
9153
9154 * gdb.base/varargs.exp: Use gdb_test_stdio.
9155
9156 2015-07-29 Pedro Alves <palves@redhat.com>
9157
9158 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9159
9160 2015-07-29 Pedro Alves <palves@redhat.com>
9161
9162 * gdb.base/ending-run.exp: Use gdb_test_stdio.
9163
9164 2015-07-29 Pedro Alves <palves@redhat.com>
9165
9166 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9167 parameter into two new parameters, "inf_result" and "gdb_result".
9168 Expect inferior output and gdb output from $inferior_spawn_id and
9169 $gdb_spawn_id, respectively. Adjust all callers.
9170
9171 2015-07-29 Pedro Alves <palves@redhat.com>
9172
9173 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9174 of gdb_test_sequence.
9175
9176 2015-07-29 Pedro Alves <palves@redhat.com>
9177
9178 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9179 (saw_spurious_output): Expect inferior output from
9180 $inferior_spawn_id. Use gdb_test_stdio.
9181
9182 2015-07-29 Pedro Alves <palves@redhat.com>
9183
9184 * gdb.base/dprintf.exp: Use standard_testfile. Change
9185 prepare_for_testing call.
9186 (srcfile): Don't set.
9187 (restart): New procedure.
9188 (test_dprintf): New procecure, use to continue over dprintfs.
9189 (test_call, test_agent): New procedures, tests moved here.
9190 Restart gdb and recreate dprintfs. Adjust expected output.
9191
9192 2015-07-29 Pedro Alves <palves@redhat.com>
9193
9194 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9195
9196 2015-07-29 Pedro Alves <palves@redhat.com>
9197
9198 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9199
9200 2015-07-29 Pedro Alves <palves@redhat.com>
9201
9202 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9203 gdb_test_stdio.
9204
9205 2015-07-29 Pedro Alves <palves@redhat.com>
9206
9207 * lib/gdb.exp (gdb_test_stdio): New procedure.
9208
9209 2015-07-29 Pedro Alves <palves@redhat.com>
9210
9211 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9212
9213 2015-07-29 Pedro Alves <palves@redhat.com>
9214
9215 * gdb.base/call-signal-resume.exp: Remove check for
9216 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9217 * gdb.base/unwindonsignal.exp: Likewise.
9218 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9219 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9220
9221 2015-07-29 Pedro Alves <palves@redhat.com>
9222
9223 * gdb.base/siginfo-addr.c (pass): New function.
9224 (handler): Call it iff si_addr is correct.
9225 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9226 Set a breakpoint at "pass" and continue to it.
9227
9228 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9229
9230 * gdb.python/py-objfile.exp: Make some tests have unique names.
9231 * gdb.python/py-pp-registration.exp: Likewise.
9232
9233 2015-07-28 Pedro Alves <palves@redhat.com>
9234
9235 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9236
9237 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9238
9239 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9240
9241 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9242
9243 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9244
9245 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9246
9247 * gdb.base/gdb-sigterm-2.exp: New test.
9248
9249 2015-07-25 Doug Evans <xdje42@gmail.com>
9250
9251 Revert:
9252 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9253 (workers/%.worker, build-perf): New rule.
9254 (GDB_PERFTEST_MODE): New variable.
9255 (check-perf): Use it.
9256 (clean): Clean up gdb.perf parallel build subdirs.
9257 * lib/build-piece.exp: New file.
9258 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9259 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9260 name.
9261 (standard_temp_file): Ditto.
9262 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9263 of $GDB_PARALLEL.
9264
9265 2015-07-24 Doug Evans <dje@google.com>
9266
9267 * gdb.perf/lib/perftest/utils.py: New file.
9268 * gdb.perf/gm-hello.cc: New file.
9269 * gdb.perf/gm-pervasive-typedef.cc: New file.
9270 * gdb.perf/gm-pervasive-typedef.h: New file.
9271 * gdb.perf/gm-std.cc: New file.
9272 * gdb.perf/gm-std.h: New file.
9273 * gdb.perf/gm-use-cerr.cc: New file.
9274 * gdb.perf/gm-utils.h: New file.
9275 * gdb.perf/gmonster-null-lookup.py: New file.
9276 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9277 * gdb.perf/gmonster-print-cerr.py: New file.
9278 * gdb.perf/gmonster-ptype-string.py: New file.
9279 * gdb.perf/gmonster-runto-main.py: New file.
9280 * gdb.perf/gmonster-select-file.py: New file.
9281 * gdb.perf/gmonster1-null-lookup.exp: New file.
9282 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9283 * gdb.perf/gmonster1-print-cerr.exp: New file.
9284 * gdb.perf/gmonster1-ptype-string.exp: New file.
9285 * gdb.perf/gmonster1-runto-main.exp: New file.
9286 * gdb.perf/gmonster1-select-file.exp: New file.
9287 * gdb.perf/gmonster1.cc: New file.
9288 * gdb.perf/gmonster1.exp: New file.
9289 * gdb.perf/gmonster2-null-lookup.exp: New file.
9290 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9291 * gdb.perf/gmonster2-print-cerr.exp: New file.
9292 * gdb.perf/gmonster2-ptype-string.exp: New file.
9293 * gdb.perf/gmonster2-runto-main.exp: New file.
9294 * gdb.perf/gmonster2-select-file.exp: New file.
9295 * gdb.perf/gmonster2.cc: New file.
9296 * gdb.perf/gmonster2.exp: New file.
9297
9298 2015-07-24 Doug Evans <dje@google.com>
9299
9300 * gdb.perf/README: New file.
9301 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9302 * lib/gen-perf-test.exp: New file.
9303
9304 2015-07-24 Doug Evans <dje@google.com>
9305
9306 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9307 (PerfTest::startup): New function.
9308 (PerfTest::run): Return result of calling body.
9309 (PerfTest::assemble): Rewrite.
9310 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9311 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9312 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9313 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9314 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9315
9316 2015-07-24 Doug Evans <dje@google.com>
9317
9318 * lib/gdb.exp (clean_restart): Make executable optional.
9319
9320 2015-07-24 Doug Evans <dje@google.com>
9321
9322 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9323 compiler_info references.
9324 * gdb.cp/temargs.exp: Ditto.
9325 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9326 (get_compiler_info): Early exit if already computed. Set compiler_info
9327 to "unknown" if there was a problem.
9328 (test_compiler_info): Add function comment. Call get_compiler_info.
9329
9330 2015-07-24 Doug Evans <dje@google.com>
9331
9332 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9333 (workers/%.worker, build-perf): New rule.
9334 (GDB_PERFTEST_MODE): New variable.
9335 (check-perf): Use it.
9336 (clean): Clean up gdb.perf parallel build subdirs.
9337 * lib/build-piece.exp: New file.
9338 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9339 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9340 name.
9341 (standard_temp_file): Ditto.
9342 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9343 of $GDB_PARALLEL.
9344
9345 2015-07-24 Doug Evans <dje@google.com>
9346
9347 * lib/future.exp (gdb_default_target_compile): New option
9348 "early_flags".
9349 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9350 --as-needed.
9351
9352 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9353
9354 * gdb.base/catch-syscall.exp: Call gdb_exit before
9355 gdb_skip_xml_test.
9356
9357 2015-07-24 Pedro Alves <palves@redhat.com>
9358
9359 * gdb.python/py-events.exp: Accept output between the stop event
9360 and the prompt.
9361 * gdb.python/py-evsignal.exp: Likewise.
9362 * gdb.python/py-evthreads.exp: Likewise.
9363
9364 2015-07-24 Pedro Alves <palves@redhat.com>
9365
9366 PR gdb/18717
9367 * gdb.threads/non-ldr-exit.c: New file.
9368 * gdb.threads/non-ldr-exit.exp: New file.
9369
9370 2015-07-24 Yao Qi <yao.qi@linaro.org>
9371
9372 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9373 restarting process.
9374
9375 2015-07-24 Yao Qi <yao.qi@linaro.org>
9376
9377 * gdb.server/ext-restart.exp: New file.
9378
9379 2015-07-24 Yao Qi <yao.qi@linaro.org>
9380
9381 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9382 argument options.
9383 * gdb.server/ext-wrapper.exp: New file.
9384
9385 2015-07-23 Doug Evans <dje@google.com>
9386
9387 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9388 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9389
9390 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9391
9392 * gdb.ada/var_arr_typedef.exp: New testcase.
9393 * gdb.ada/var_arr_typedef/pack.adb: New file.
9394 * gdb.ada/var_arr_typedef/pack.ads: New file.
9395 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9396
9397 2015-07-20 Joel Brobecker <brobecker@adacore.com>
9398
9399 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9400
9401 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9402
9403 * gdb.arch/i386-biarch-core.exp: Replace istarget
9404 by "complete set gnutarget". Remove expectation for the "core-file"
9405 command.
9406
9407 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9408
9409 Revert the previous commit:
9410 Tests for validate symbol file using build-id.
9411
9412 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9413
9414 Tests for validate symbol file using build-id.
9415 * gdb.base/solib-mismatch-lib.c: New file.
9416 * gdb.base/solib-mismatch-libmod.c: New file.
9417 * gdb.base/solib-mismatch.c: New file.
9418 * gdb.base/solib-mismatch.exp: New file.
9419
9420 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9421
9422 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9423 nios2-*-linux*.
9424 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9425 * gdb.base/siginfo.exp: Likewise.
9426 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9427
9428 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9429
9430 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9431 Move it to ...
9432 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9433 ... here.
9434 * gdb.trace/range-stepping.exp: Check that the target supports
9435 range stepping.
9436
9437 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9438
9439 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9440
9441 2015-07-14 Pedro Alves <palves@redhat.com>
9442
9443 * gdb.base/killed-outside.exp: New file.
9444 * gdb.base/killed-outside.c: New file.
9445
9446 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9447
9448 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9449 (n at main): New.
9450 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9451
9452 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9453
9454 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9455 infcall tests instead of setting up for KFAIL.
9456
9457 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9458
9459 * gdb.btrace/record_goto-step.exp: New.
9460
9461 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9462
9463 PR compile/18484
9464 * gdb.compile/compile.c (struct struct_type): Add volatile to
9465 selffield's type.
9466 * gdb.compile/compile.exp
9467 (compile code struct_object.selffield = &struct_object): Skip further
9468 struct_object tests if this one xfails.
9469
9470 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
9471
9472 PR exp/18617
9473 * gdb.trace/ax.exp: Add test.
9474
9475 2015-07-07 Yao Qi <yao.qi@linaro.org>
9476
9477 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9478 instead of istarget "aarch64*-*-*".
9479 * gdb.arch/aarch64-fp.exp: Likewise.
9480 * gdb.base/float.exp: Likewise.
9481 * gdb.reverse/aarch64.exp: Likewise.
9482 * lib/gdb.exp (is_aarch64_target): New proc.
9483
9484 2015-07-07 Yao Qi <yao.qi@linaro.org>
9485
9486 * lib/gdb.exp (is_aarch32_target): New proc.
9487 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9488 instead of "istarget "arm*-*-*"".
9489 * gdb.arch/arm-disp-step.exp: Likewise.
9490 * gdb.arch/thumb-bx-pc.exp: Likewise.
9491 * gdb.arch/thumb-prologue.exp: Likewise.
9492 * gdb.arch/thumb-singlestep.exp: Likewise.
9493 * gdb.base/disp-step-syscall.exp: Likewise.
9494 * gdb.base/float.exp: Likewise.
9495
9496 2015-07-07 Yao Qi <yao.qi@linaro.org>
9497
9498 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9499 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9500
9501 2015-07-07 Yao Qi <yao.qi@linaro.org>
9502
9503 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9504 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9505 if it exists.
9506 * gdb.multi/multi-arch.exp: Likewise.
9507
9508 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9509
9510 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9511 print.
9512
9513 2015-07-07 Yao Qi <yao.qi@linaro.org>
9514
9515 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9516
9517 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9518
9519 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9520 '[' and ']' characters.
9521
9522 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9523
9524 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9525
9526 2015-06-29 Pedro Alves <palves@redhat.com>
9527
9528 PR threads/18127
9529 * gdb.threads/hand-call-new-thread.c: New file.
9530 * gdb.threads/hand-call-new-thread.c: New file.
9531
9532 2015-06-26 Keith Seitz <keiths@redhat.com>
9533 Doug Evans <dje@google.com>
9534
9535 PR 16253
9536 * gdb.cp/var-tag-2.cc: New file.
9537 * gdb.cp/var-tag-3.cc: New file.
9538 * gdb.cp/var-tag-4.cc: New file.
9539 * gdb.cp/var-tag.cc: New file.
9540 * gdb.cp/var-tag.exp: New file.
9541
9542 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9543
9544 * gdb.base/history-duplicates.exp: New test.
9545
9546 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9547
9548 * gdb.base/completion.exp: Test the completion of the "focus"
9549 command.
9550
9551 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9552
9553 * gdb.arch/amd64-prologue-skip.S: New file.
9554 * gdb.arch/amd64-prologue-skip.exp: New file.
9555
9556 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9557
9558 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9559 is_address_zero_readable check.
9560
9561 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9562
9563 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9564 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9565
9566 2015-06-24 Yao Qi <yao.qi@linaro.org>
9567
9568 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9569 linux targets.
9570
9571 2015-06-24 Yao Qi <yao.qi@linaro.org>
9572
9573 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9574 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9575 * gdb.base/siginfo-thread.exp: Likewise.
9576
9577 2015-06-22 Yao Qi <yao.qi@linaro.org>
9578
9579 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9580
9581 2015-06-22 Yao Qi <yao.qi@linaro.org>
9582
9583 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9584 aarch64*-*-*.
9585 (skip_hw_watchpoint_tests): Likewise.
9586
9587 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9588
9589 * gdb.base/gdbinit-history.exp: Test the interaction between
9590 setting GDBHISTSIZE and setting the history size via .gdbinit.
9591
9592 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9593
9594 PR gdb/16999
9595 * gdb.base/gdbhistsize-history.exp: New test.
9596
9597 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9598
9599 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9600 with GDBHISTSIZE.
9601 * gdb.base/readline.exp: Likewise.
9602
9603 2015-06-17 Yao Qi <yao.qi@linaro.org>
9604
9605 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9606 line.
9607
9608 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9609
9610 * gdb.base/gdbinit-history.exp: Add test case to check that
9611 an unlimited history file does not get truncated on exit.
9612
9613 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9614
9615 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9616 (VECTOR): New macro. Use it...
9617 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9618 ...for these typedefs.
9619 (int8, char1, int1, double1): New typedefs.
9620 (struct just_int2, struct two_int2): New structures.
9621 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9622 (add_structvecs, add_singlevecs): New functions.
9623 (main): Call add_some_intvecs twice.
9624 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9625 the compile and exit upon failure. Try compiling for the "native"
9626 architecture. Test inferior function calls with vector arguments
9627 and vector return value handling with "finish" and "return".
9628
9629 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9630
9631 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9632 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9633 PE file.
9634 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9635
9636 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9637
9638 PR breakpoints/16465
9639 * gdb.mi/mi-dprintf-pending.c: New file.
9640 * gdb.mi/mi-dprintf-pending.exp: New test.
9641 * gdb.mi/mi-dprintf-pendshr.c: New file.
9642
9643 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9644 Mircea Gherzan <mircea.gherzan@intel.com>
9645
9646 * gdb.arch/i386-mpx-map.c: New file.
9647 * gdb.arch/i386-mpx-map.exp: New File.
9648
9649 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9650
9651 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9652 * gdb.arch/i386-mpx.exp: Indentation fixed.
9653
9654 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9655
9656 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9657 function and improved indentation.
9658 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9659 gdb_test_multiple. Added additional tests to skip the test.
9660
9661 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9662
9663 * gdb.arch/i386-avx512.c: Change path in include file.
9664 * gdb.arch/i386-avx512.exp: Change include dir path
9665 compilation flag.
9666 * gdb.arch/i386-mpx.c: Change path in include file.
9667 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9668 flag.
9669
9670 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9671
9672 * gdb.compile/compile-print.exp (compile print *vararray@3)
9673 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9674
9675 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9676
9677 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9678 (do not keep jit in memory): ... this.
9679 (expect 5): Change it to ...
9680 (expect no 5): ... this.
9681
9682 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9683
9684 PR gdb/15564
9685 * gdb.mi/mi-detach.exp: New file.
9686
9687 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9688
9689 PR symtab/18392
9690 * gdb.arch/amd64-tailcall-self.S: New file.
9691 * gdb.arch/amd64-tailcall-self.c: New file.
9692 * gdb.arch/amd64-tailcall-self.exp: New file.
9693
9694 2015-05-28 Don Breazeal <donb@codesourcery.com>
9695
9696 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9697 tests for remote targets by checking is_target_gdbserver.
9698
9699 2015-05-27 Doug Evans <dje@google.com>
9700
9701 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9702 * gdb.dwarf2/opaque-type-lookup.c: New file.
9703 * gdb.dwarf2/opaque-type-lookup.exp: New file.
9704
9705 2015-05-26 Doug Evans <dje@google.com>
9706
9707 * gdb.cp/iostream.cc: New file.
9708 * gdb.cp/iostream.exp: New file.
9709
9710 2015-05-26 Doug Evans <dje@google.com>
9711
9712 * gdb.dwarf2/dw2-op-call.exp: Update.
9713 * gdb.dwarf2/dw4-sig-types.exp: Update.
9714 * gdb.dwarf2/implptr.exp: Update.
9715 * gdb.mi/mi-cmd-param-changed.exp: Update.
9716
9717 2015-05-26 Doug Evans <dje@google.com>
9718
9719 * gdb.python/py-lazy-string.c: New file.
9720 * gdb.python/py-lazy-string.exp: New file.
9721 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9722 (main): Update. Add estring3.
9723 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9724 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9725
9726 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9727 Yao Qi <yao.qi@linaro.org>
9728
9729 * gdb.reverse/aarch64.c: New.
9730 * gdb.reverse/aarch64.exp: New.
9731
9732 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9733
9734 * lib/gdb.exp (supports_process_record): Return true for
9735 aarch64*-linux*.
9736 (supports_reverse): Likewise.
9737
9738 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
9739
9740 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9741 Use with_test_prefix.
9742
9743 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
9744
9745 * gdb.base/completion.exp: Add test for completion of layout
9746 names.
9747
9748 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
9749
9750 * lib/gdb.exp (skip_tui_tests): New proc.
9751 * gdb.base/tui-layout.exp: Check skip_tui_tests.
9752
9753 2015-05-19 Pedro Alves <palves@redhat.com>
9754
9755 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9756 Save the whole env array instead of just HOME. Unset HISTSIZE in
9757 the environment while testing. Restore whole environment
9758 afterwards.
9759
9760 2015-05-16 Doug Evans <xdje42@gmail.com>
9761
9762 * gdb.guile/scm-ports.c: New file.
9763 * gdb.guile/scm-ports.exp: Add memory port tests.
9764
9765 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9766
9767 * gdb.compile/compile-print.c: New file.
9768 * gdb.compile/compile-print.exp: New file.
9769
9770 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9771
9772 * gdb.compile/compile-ops.exp: Cast param to void.
9773 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9774 (compile code struct_object.selffield = &struct_object): Add xfail.
9775
9776 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9777
9778 * gdb.ada/arr_enum_with_gap: New testcase.
9779
9780 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9781
9782 * gdb.ada/byte_packed_arr: New testcase.
9783
9784 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9785
9786 * gdb.ada/pckd_neg: New testcase.
9787
9788 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9789
9790 PR gdb/17820
9791 * gdb.base/gdbinit-history.exp: New test.
9792 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9793 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9794
9795 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9796
9797 * gdb.python/py-xmethods.cc: Enhance test case.
9798 * gdb.python/py-xmethods.exp: New tests.
9799 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9800 function.
9801 (B_indexoper): Likewise.
9802 (global_dm_list) : Add new xmethod worker functions.
9803
9804 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9805
9806 * gdb.base/coredump-filter.exp: Correctly unset
9807 "coredump_var_addr" array.
9808
9809 2015-05-08 Pedro Alves <palves@redhat.com>
9810
9811 * gdb.server/non-existing-program.exp: Unset spawn_id.
9812
9813 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9814
9815 PR python/18291
9816 * gdb.python/py-xmethods.exp: Add tests.
9817
9818 2015-05-08 Yao Qi <yao.qi@linaro.org>
9819
9820 PR gdb/18208
9821 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9822 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9823 function set_coredump_filter, and remove remote_exec call.
9824 Remove argument ipid. Callers update.
9825 (top level): Don't get inferior's PID.
9826
9827 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9828
9829 * gdb.base/watch_thread_num.exp: Skip test on targets without
9830 access watchpoints.
9831
9832 2015-05-06 Pedro Alves <palves@redhat.com>
9833
9834 PR server/18081
9835 * gdb.server/non-existing-program.exp: New file.
9836
9837 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9838
9839 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9840
9841 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9842
9843 * gdb.ada/out_of_line_in_inlined: New testcase.
9844
9845 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9846
9847 * gdb.ada/var_rec_arr: New testcase.
9848
9849 2015-04-30 Yao Qi <yao.qi@linaro.org>
9850
9851 * gdb.base/break-idempotent.exp: If
9852 skip_hw_watchpoint_multi_tests returns true, skip the tests
9853 on "rwatch" and "awatch".
9854
9855 2015-04-30 Yao Qi <yao.qi@linaro.org>
9856
9857 * gdb.base/relativedebug.exp: Invoke gdb command
9858 "info sharedlibrary", and if libc.so doesn't have debug info,
9859 skip the test.
9860
9861 2015-04-29 Doug Evans <dje@google.com>
9862
9863 * gdb.python/py-xmethods.exp: Add ptype tests.
9864 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9865 get_result_type method.
9866
9867 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9868
9869 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9870 the target does not support hardware watchpoints.
9871
9872 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9873
9874 * gdb.base/break-always.exp: Abort testing if writing to memory
9875 causes an error.
9876
9877 2015-04-28 Doug Evans <dje@google.com>
9878
9879 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9880 * gdb.python/py-pp-registration.exp: ... here. New file.
9881 * gdb.python/py-pp-registration.c: New file.
9882 * gdb.python/py-pp-registration.py: New file.
9883
9884 2015-04-28 Doug Evans <dje@google.com>
9885
9886 * gdb.python/py-bad-printers.c: New file.
9887 * gdb.python/py-bad-printers.py: New file.
9888 * gdb.python/py-bad-printers.exp: New file.
9889
9890 2015-04-28 Sasha Smundak <asmundak@google.com>
9891
9892 * gdb.python/py-type.exp: New test.
9893
9894 2015-04-28 Andy Wingo <wingo@igalia.com>
9895
9896 * gdb.python/py-parameter.exp:
9897 * gdb.guile/scm-parameter.exp: Escape the path that we are
9898 matching against, as it might contain characters that are special
9899 to regular expressions.
9900
9901 2015-04-27 Joel Brobecker <brobecker@adacore.com>
9902
9903 * gdb.ada/rec_comp: New testcase.
9904
9905 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9906
9907 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9908 before using it.
9909
9910 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9911
9912 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9913 new tests for verilog output.
9914
9915 2015-04-24 Yao Qi <yao.qi@linaro.org>
9916
9917 * boards/remote-gdbserver-on-localhost.exp: New file.
9918
9919 2015-04-23 Pedro Alves <palves@redhat.com>
9920
9921 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9922 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9923 "end of file", remove $inferior_spawn_id from the indirect list.
9924
9925 2015-04-23 Pedro Alves <palves@redhat.com>
9926
9927 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9928
9929 2015-04-23 Pedro Alves <palves@redhat.com>
9930
9931 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9932 on $any_spawn_id instead of only on $gdb_spawn_id.
9933
9934 2015-04-21 Pierre Muller <muller@sourceware.org>
9935
9936 PR pascal/17815
9937 * lib/pascal.exp (gpc_compile): Add new option "class".
9938 (fpc_compile): Likewise.
9939 * gdb.pascal/case-insensitive-symbols.pas: New file.
9940 * gdb.pascal/case-insensitive-symbols.exp: New file.
9941
9942 2015-04-20 Gary Benson <gbenson@redhat.com>
9943
9944 * gdb.base/attach.exp: Fix three extended remote failures.
9945
9946 2015-04-17 Gary Benson <gbenson@redhat.com>
9947
9948 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9949 the main executable over the remote protocol.
9950
9951 2015-04-16 Pedro Alves <palves@redhat.com>
9952
9953 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9954 a new gdbserver if gdbserver_reconnect_p is set.
9955
9956 2015-04-16 Pedro Alves <palves@redhat.com>
9957
9958 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9959 is set, don't exit gdbserver.
9960
9961 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9962
9963 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9964 appropriate .insn, such that an older assembler can be used.
9965 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9966 the z/Architecture instruction set on 31-bit targets as well.
9967
9968 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9969
9970 * gdb.go/handcall.exp: Remove all logic related to the first
9971 breakpoint and rely on go_runto_main instead.
9972 * gdb.go/strings.exp: Likewise.
9973 * gdb.go/unsafe.exp: Likewise.
9974 * gdb.go/hello.exp: Likewise. Also rename the remaining
9975 breakpoint marker to "breakpoint 1".
9976 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9977 * gdb.go/strings.go: Likewise.
9978 * gdb.go/unsafe.go: Likewise.
9979 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9980 "set breakpoint 2 here" and rename the remaining breakpoint marker
9981 to "breakpoint 1".
9982
9983 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9984
9985 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9986 if itertools.imap is not present.
9987 * gdb.python/py-objfile.exp: Add parentheses.
9988 * gdb.python/py-type.exp: Same.
9989 * gdb.python/py-unwind-maint.py: Same.
9990
9991 2015-04-15 Yao Qi <yao.qi@linaro.org>
9992
9993 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9994 of ":$ptr_size" and set its form explicitly.
9995
9996 2015-04-15 Pedro Alves <palves@redhat.com>
9997 Yao Qi <yao.qi@linaro.org>
9998
9999 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10000 timeout by factor of 4.
10001 (test_regular_watch): Likewise.
10002 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10003 * gdb.reverse/sigall-reverse.exp: Likewise.
10004 * gdb.reverse/until-precsave.exp: Likewise.
10005 * lib/gdb.exp (with_timeout_factor): New proc.
10006 (gdb_expect): Move some code to ...
10007 (get_largest_timeout): ... here. New procedure.
10008
10009 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
10010
10011 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10012
10013 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10014
10015 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10016 to write to the .text section.
10017
10018 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10019
10020 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10021 Handle the case of targets that do not provide PID information.
10022
10023 2015-04-13 Yao Qi <yao.qi@linaro.org>
10024
10025 * lib/gdbserver-support.exp (gdb_exit): Catch exception
10026 and use expect instead of gdb_expect.
10027
10028 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
10029
10030 * gdb.base/coredump-filter.exp: Rename variable "addr" to
10031 "coredump_var_addr" to avoid naming conflict with other testcases.
10032
10033 2015-04-10 Pedro Alves <palves@redhat.com>
10034
10035 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10036 gdb_test_sequence and gdb_assert.
10037
10038 2015-04-10 Pedro Alves <palves@redhat.com>
10039
10040 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10041 test messages that don't include the breakpoint address.
10042
10043 2015-04-10 Yao Qi <yao.qi@linaro.org>
10044
10045 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10046 false for some offset and width combinations which aren't
10047 supported by linux kernel.
10048
10049 2015-04-10 Pedro Alves <palves@redhat.com>
10050
10051 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10052 procedure, factored out from ...
10053 (top level): ... here. Add "set displaced-stepping" testing axis.
10054 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10055 parameter "displaced". Use it.
10056 (top level): Use foreach and add "set displaced-stepping" testing
10057 axis.
10058
10059 2015-04-10 Pedro Alves <palves@redhat.com>
10060
10061 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10062 Remove comment.
10063 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10064 both the address of the instruction that triggers the watchpoint
10065 and the address of the instruction immediately after, and use
10066 those addresses for the test. Fix comment.
10067
10068 2015-04-10 Pedro Alves <palves@redhat.com>
10069
10070 * gdb.base/sigstep.exp (breakpoint_to_handler)
10071 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
10072 Test "backtrace" in handler.
10073 (breakpoint_over_handler): New parameter 'displaced'. Use it.
10074 (top level): Add new "displaced" test axis to
10075 breakpoint_to_handler, breakpoint_to_handler_entry and
10076 breakpoint_over_handler.
10077
10078 2015-04-10 Pedro Alves <palves@redhat.com>
10079
10080 PR gdb/18216
10081 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10082
10083 2015-04-10 Yao Qi <yao.qi@linaro.org>
10084
10085 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10086 (test_add_rn_pc): New function.
10087 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10088 (top level): Invoke test_add_rn_pc.
10089
10090 2015-04-10 Pedro Alves <palves@redhat.com>
10091
10092 PR gdb/13858
10093 * gdb.base/step-over-no-symbols.exp: New file.
10094
10095 2015-04-09 Andy Wingo <wingo@igalia.com>
10096
10097 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10098 after the Python tests.
10099
10100 2015-04-08 Keith Seitz <keiths@redhat.com>
10101
10102 PR python/16699
10103 * gdb.python/py-completion.exp: New tests for completion.
10104 * gdb.python/py-completion.py (CompleteLimit1): New class.
10105 (CompleteLimit2): Likewise.
10106 (CompleteLimit3): Likewise.
10107 (CompleteLimit4): Likewise.
10108 (CompleteLimit5): Likewise.
10109 (CompleteLimit6): Likewise.
10110 (CompleteLimit7): Likewise.
10111
10112 2015-04-08 Pedro Alves <palves@redhat.com>
10113
10114 PR gdb/18214
10115 PR gdb/18216
10116 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10117 function.
10118 (main): Install it as SIGUSR1 handler.
10119 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10120 parameter. Always use "setup" as prefix. Toggle "set
10121 displaced-stepping" off/on depending on global. Don't switch to
10122 thread 1 here.
10123 (top level): Add displaced stepping "off/on" test axis. Update
10124 "setup" calls. Wrap each subtest with with_test_prefix. Test
10125 continuing with a queued signal in each thread.
10126
10127 2015-04-08 Pedro Alves <palves@redhat.com>
10128
10129 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10130 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
10131 gdb_breakpoint instead of gdb_test that doesn't expect anything.
10132 Return early if running to main fails.
10133 * gdb.trace/while-stepping.exp: Likewise.
10134
10135 2015-04-07 Pedro Alves <palves@redhat.com>
10136
10137 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10138 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
10139 interact with inferior program.
10140
10141 2015-04-07 Pedro Alves <palves@redhat.com>
10142
10143 * lib/gdb.exp (inferior_spawn_id): New global.
10144 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
10145 spawn id after processing the user code.
10146 (default_gdb_start): Set inferior_spawn_id.
10147 (send_inferior): New procedure.
10148 * lib/gdbserver-support.exp (gdbserver_start): Set
10149 inferior_spawn_id.
10150 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10151
10152 2015-04-07 Pedro Alves <palves@redhat.com>
10153
10154 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10155 * lib/gdbserver-support.exp (gdbserver_start): Make
10156 $server_spawn_id global.
10157 (gdbserver_start): Don't wait for gdbserver's spawn id with
10158 expect_background.
10159 (close_gdbserver): New procedure.
10160 (gdb_exit): Rename the default version and reimplement.
10161
10162 2015-04-07 Pedro Alves <palves@redhat.com>
10163
10164 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10165 append the substituted item, not the original item.
10166
10167 2015-04-07 Pedro Alves <palves@redhat.com>
10168
10169 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10170 gdb_expect.
10171
10172 2015-04-07 Pedro Alves <palves@redhat.com>
10173
10174 * gdb.base/interrupt.exp: Don't handle the case of the inferior
10175 output appearing once only.
10176
10177 2015-04-07 Pedro Alves <palves@redhat.com>
10178
10179 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10180 that doesn't expect anything. Return early if running to main
10181 fails.
10182
10183 2015-04-07 Yao Qi <yao.qi@linaro.org>
10184
10185 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10186 (child_function): Call alarm.
10187 (main): Move call to alarm into the loop.
10188 * gdb.threads/non-stop-fair-events.exp: Build program with
10189 -DTIMEOUT=$timeout.
10190
10191 2015-04-06 Doug Evans <xdje42@gmail.com>
10192
10193 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10194 Fix dest parameter to board_info.
10195 (fpc_compile): Ditto.
10196 (gdb_compile_pascal): Rename dest arg to destfile.
10197
10198 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10199
10200 * gdb.ada/funcall_ref.exp: New file.
10201 * gdb.ada/funcall_ref/foo.adb: New file.
10202
10203 2015-04-02 Yao Qi <yao.qi@linaro.org>
10204
10205 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10206 is remote.
10207
10208 2015-04-02 Gary Benson <gbenson@redhat.com>
10209
10210 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10211
10212 2015-04-01 Sasha Smundak <asmundak@google.com>
10213
10214 * gdb.python/py-unwind-maint.c: New file.
10215 * gdb.python/py-unwind-maint.exp: New test.
10216 * gdb.python/py-unwind-maint.py: New file.
10217 * gdb.python/py-unwind.c: New file.
10218 * gdb.python/py-unwind.exp: New test.
10219 * gdb.python/py-unwind.py: New test.
10220
10221 2015-04-01 Pedro Alves <palves@redhat.com>
10222
10223 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10224 to fail instead of non-existent $test.
10225
10226 2015-04-01 Pedro Alves <palves@redhat.com>
10227
10228 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10229 GDBFLAGS if not empty.
10230
10231 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10232
10233 * gdb.ada/complete.exp: Remove "multi_line".
10234 * gdb.ada/info_exc.exp: Remove "multi_line".
10235 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10236 * gdb.ada/ptype_field.exp: Remove "multi_line".
10237 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10238 * gdb.ada/tagged.exp: Remove "multi_line".
10239 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10240 [multi_line ...]
10241 * gdb.btrace/delta.exp: Likewise.
10242 * gdb.btrace/exception.exp: Likewise.
10243 * gdb.btrace/function_call_history.exp: Likewise.
10244 * gdb.btrace/instruction_history.exp: Likewise.
10245 * gdb.btrace/nohist.exp: Likewise.
10246 * gdb.btrace/record_goto.exp: Likewise.
10247 * gdb.btrace/segv.exp: Likewise.
10248 * gdb.btrace/stepi.exp: Likewise.
10249 * gdb.btrace/tailcall.exp: Likewise.
10250 * gdb.btrace/unknown_functions.exp: Likewise.
10251 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10252 * lib/gdb.exp: Add the "multi_line" helper.
10253
10254 2015-04-01 Pedro Alves <palves@redhat.com>
10255
10256 * gdb.threads/tid-reuse.c: New file.
10257 * gdb.threads/tid-reuse.exp: New file.
10258
10259 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10260
10261 PR corefiles/16092
10262 * gdb.base/coredump-filter.c: New file.
10263 * gdb.base/coredump-filter.exp: Likewise.
10264
10265 2015-03-27 Petr Machata <pmachata@redhat.com>
10266
10267 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10268 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10269 (Dwarf::assemble): Initialize them.
10270 (Dwarf::lines): New function.
10271
10272 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10273
10274 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10275 SYMBOL_PREFIX for x86_64-*-cygwin.
10276
10277 2015-03-26 Andy Wingo <wingo@igalia.com>
10278
10279 PR symtab/18148
10280 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10281 const_value but not a location.
10282 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10283 location defined in non-main CUs are visible.
10284
10285 2015-03-26 Yao Qi <yao.qi@linaro.org>
10286
10287 PR testsuite/18139
10288 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10289 Add a line number entry for the same line.
10290 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10291 Add a line number entry for the same line.
10292
10293 2015-03-26 Yao Qi <yao.qi@linaro.org>
10294
10295 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10296 .int 0.
10297 (func): Likewise. Add .Lfunc_1 label.
10298 Use .Lfunc_1 label.
10299 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10300 .int 0.
10301 (func): Likewise.
10302 Use .Lfunc_1 label.
10303
10304 2015-03-26 Yao Qi <yao.qi@linaro.org>
10305
10306 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10307 Call gdb_compile instead to compile each .s files without debug
10308 information.
10309
10310 2015-03-26 Yao Qi <yao.qi@linaro.org>
10311
10312 * gdb.base/savedregs.exp (process_saved_regs): Make
10313 "Saved registers:" optional in the pattern.
10314
10315 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10316
10317 * gdb.btrace/next.exp: Merged into step.exp.
10318 * gdb.btrace/finish.exp: Merged into step.exp.
10319 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10320 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10321 "record goto" and checking the exact replay position.
10322 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10323 check for "Recording format" in "info record" output.
10324 * gdb.btrace/record_goto.exp: Choose test file based on target.
10325 * gdb.btrace/x86-record_goto.S: Renamed into ...
10326 * gdb.btrace/x86_64-record_goto.S: ... this.
10327 * gdb.btrace/i686-record_goto.S: New.
10328 * gdb.btrace/x86-tailcall.S: Renamed into ...
10329 * gdb.btrace/x86_64-tailcall.S: ... this.
10330 * gdb.btrace/i686-tailcall.S: New.
10331 * gdb.btrace/x86-tailcall.c: Renamed into ...
10332 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10333 separate statements. Update test.
10334 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10335 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10336 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10337 * gdb.btrace/tailcall.exp: Choose test file based on target.
10338 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10339
10340 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10341
10342 * gdb.btrace/exception.exp: Increase BTS buffer size.
10343
10344 2015-03-24 Pedro Alves <palves@redhat.com>
10345
10346 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10347
10348 2015-03-24 Pedro Alves <palves@redhat.com>
10349
10350 * gdb.threads/schedlock.exp (test_step): No longer expect that
10351 "set scheduler-locking step" with "next" over a function call runs
10352 threads unlocked.
10353
10354 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10355
10356 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10357
10358 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10359
10360 PR breakpoints/16466
10361 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10362 * gdb.mi/mi-pending.c (thread_func): New function.
10363 (int main): Add threading support required.
10364 * gdb.mi/mi-pending.exp: Add tests for this issue.
10365 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10366 (pendfunc2): Remove stdio dependency.
10367 * gdb.mi/mi-pendshr2.c: New file.
10368
10369 2015-03-23 Keith Seitz <keiths@redhat.com>
10370
10371 * gdb.linespec/keywords.c: New file.
10372 * gdb.linespec/keywords.exp: New file.
10373
10374 2015-03-23 Keith Seitz <keiths@redhat.com>
10375
10376 PR gdb/18021
10377 * gdb.dwarf2/staticvirtual.exp: New test.
10378
10379 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10380
10381 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10382 * README: Remove HP-UX and gdb.hp.
10383 (configuration):
10384 * configure: Regenerate.
10385 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10386 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10387 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10388 gdb.hp/gdb.defects/Makefile.
10389 * gdb.hp/Makefile.in: File deleted.
10390 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10391 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10392 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10393 * gdb.hp/gdb.aCC/run.c: File deleted.
10394 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10395 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10396 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10397 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10398 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10399 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10400 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10401 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10402 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10403 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10404 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10405 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10406 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10407 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10408 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10409 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10410 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10411 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10412 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10413 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10414 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10415 * gdb.hp/gdb.compat/average.c: File deleted.
10416 * gdb.hp/gdb.compat/sum.c: File deleted.
10417 * gdb.hp/gdb.compat/xdb.c: File deleted.
10418 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10419 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10420 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10421 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10422 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10423 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10424 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10425 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10426 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10427 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10428 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10429 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10430 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10431 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10432 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10433 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10434 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10435 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10436 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10437 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10438 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10439 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10440 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10441 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10442 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10443 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10444 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10445 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10446 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10447 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10448 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10449 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10450 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10451 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10452 * gdb.hp/tools/odump: File deleted.
10453
10454 2015-03-19 Pedro Alves <palves@redhat.com>
10455
10456 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10457 (saw_thread_3): New globals.
10458 (top level): Increment them when an event for the corresponding
10459 thread is seen.
10460 (no thread starvation): New test.
10461
10462 2015-03-19 Pedro Alves <palves@redhat.com>
10463
10464 * gdb.threads/continue-pending-status.c: New file.
10465 * gdb.threads/continue-pending-status.exp: New file.
10466
10467 2015-03-18 Pedro Alves <palves@redhat.com>
10468
10469 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10470 Use gdb_is_target_remote instead of is_remote. Use
10471 gdb_test_multiple instead of gdb_expect. Exit early if
10472 gdb_test_multiple hits its internal matches. Tighten stepi tests
10473 expected output. Fail on exit with any signal, instead of just
10474 SIGILL.
10475
10476 2015-03-18 Yao Qi <yao.qi@linaro.org>
10477
10478 PR tdep/18107
10479 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10480 variable.
10481 * gdb.base/catch-syscall.exp: Don't skip it on
10482 aarch64*-*-linux* target. Remove elements in all_syscalls.
10483 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10484 target.
10485 (setup_all_syscalls): New proc.
10486
10487 2015-03-16 Yao Qi <yao.qi@linaro.org>
10488
10489 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10490 (top level): Skip tests if valid_addr_p returns false for
10491 $cmd1 or $cmd2.
10492
10493 2015-03-11 Andy Wingo <wingo@igalia.com>
10494
10495 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10496
10497 2015-03-11 Yao Qi <yao.qi@linaro.org>
10498
10499 * gdb.base/catch-syscall.exp: Fix typo in comments.
10500
10501 2015-03-11 Yao Qi <yao.qi@linaro.org>
10502
10503 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10504
10505 2015-03-09 Pedro Alves <palves@redhat.com>
10506
10507 * dg-extract-results.py: Delete.
10508
10509 2015-03-09 Pedro Alves <palves@redhat.com>
10510
10511 Merge dg-extract-results.sh from GCC upstream (r218843).
10512
10513 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10514 * dg-extract-results.sh: Use --text with grep to avoid issues with
10515 binary files. Fall back to cat -v, if that doesn't work.
10516
10517 2015-03-05 Pedro Alves <palves@redhat.com>
10518
10519 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10520
10521 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10522
10523 * lib/mi-support.exp (mi_expect_interrupt): Accept
10524 alternative event for when in all-stop mode.
10525
10526 2015-03-04 Pedro Alves <palves@redhat.com>
10527
10528 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10529
10530 2015-03-04 Mark Kettenis <kettenis@gnu.org>
10531
10532 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10533
10534 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10535
10536 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10537 regexps for GDB's current line display, accept a hex address
10538 preceding the line number.
10539
10540 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10541
10542 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10543 the 'arch1' variable for "s390*-linux*" targets.
10544
10545 2015-03-04 Pedro Alves <palves@redhat.com>
10546
10547 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10548 (main): Pass missing retval argument to pthread_join call.
10549
10550 2015-03-02 Pedro Alves <palves@redhat.com>
10551
10552 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10553 (top level): Call do_test with non-stop as well.
10554
10555 2015-03-02 Pedro Alves <palves@redhat.com>
10556
10557 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10558 -1.
10559
10560 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10561
10562 * gdb.arch/s390-vregs.exp: New test.
10563 * gdb.arch/s390-vregs.S: New file.
10564
10565 2015-02-27 Pedro Alves <palves@redhat.com>
10566
10567 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10568 call to catch_command_errors.
10569 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10570 catch_command_errors.
10571
10572 2015-02-27 Pedro Alves <palves@redhat.com>
10573
10574 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10575 "true" for boolean result.
10576 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10577 prototype of main.
10578
10579 2015-02-27 Pedro Alves <palves@redhat.com>
10580
10581 * lib/unbuffer_output.c: New file.
10582 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10583 (main): Call gdb_unbuffer_output.
10584
10585 2015-02-27 Yao Qi <yao.qi@linaro.org>
10586
10587 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10588 target.
10589
10590 2015-02-26 Doug Evans <dje@google.com>
10591
10592 * gdb.cp/class2.cc (Dbase, D): New classes.
10593 (main): New local delta.
10594 * gdb.cp/class2.exp: Test printing delta.
10595 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10596 (dynbar): New global.
10597 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10598
10599 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10600
10601 * gdb.compile/compile-ifunc.c: New file.
10602 * gdb.compile/compile-ifunc.exp: New file.
10603
10604 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10605
10606 * gdb.base/structs.exp: Check for correct struct on finish.
10607
10608 2015-02-26 Yao Qi <yao.qi@linaro.org>
10609
10610 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10611 is zero.
10612
10613 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10614
10615 * gdb.arch/cordic.ko.bz2: New file.
10616 * gdb.arch/cordic.ko.debug.bz2: New file.
10617 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10618
10619 2015-02-25 Yao Qi <yao.qi@linaro.org>
10620
10621 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10622 aarch64*-*-* target.
10623
10624 2015-02-23 Pedro Alves <palves@redhat.com>
10625
10626 * lib/gdb.exp (delete_breakpoints): Rewrite using
10627 gdb_test_multiple.
10628
10629 2015-02-23 Pedro Alves <palves@redhat.com>
10630
10631 * gdb.base/info-os.c: Include stdlib.h.
10632
10633 2015-02-22 Doug Evans <xdje42@gmail.com>
10634
10635 PR symtab/17855
10636 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10637 is read after symbols have been re-read.
10638 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10639 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10640
10641 2015-02-21 Doug Evans <dje@google.com>
10642
10643 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10644
10645 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10646
10647 PR corefiles/17808
10648 * gdb.arch/i386-biarch-core.core.bz2: New file.
10649 * gdb.arch/i386-biarch-core.exp: New file.
10650
10651 2015-02-21 Pedro Alves <palves@redhat.com>
10652
10653 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10654 runto_main fails.
10655
10656 2015-02-20 Pedro Alves <palves@redhat.com>
10657
10658 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10659 info probes.
10660
10661 2015-02-20 Pedro Alves <palves@redhat.com>
10662
10663 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10664
10665 2015-02-20 Pedro Alves <palves@redhat.com>
10666
10667 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10668 clean_restart before gdb_target_supports_trace.
10669
10670 2015-02-20 Pedro Alves <palves@redhat.com>
10671
10672 PR threads/18006
10673 * gdb.threads/clone-thread_db.c: New file.
10674 * gdb.threads/clone-thread_db.exp: New file.
10675
10676 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10677
10678 PR breakpoints/16812
10679 * gdb.base/catch-gdb-caused-signals.c: New file.
10680 * gdb.base/catch-gdb-caused-signals.exp: New file.
10681
10682 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10683
10684 * configure: Regenerated.
10685 * configure.ac: Use GDB_AC_TRANSFORM.
10686 * aclocal.m4: sinclude ../transform.m4.
10687
10688 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10689
10690 * lib/dtrace.exp: New file.
10691 * gdb.base/dtrace-probe.exp: Likewise.
10692 * gdb.base/dtrace-probe.d: Likewise.
10693 * gdb.base/dtrace-probe.c: Likewise.
10694 * lib/pdtrace.in: Likewise.
10695 * configure.ac: Output variables with the transformed names of
10696 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
10697 * configure: Regenerated.
10698
10699 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10700
10701 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10702 expected message when trying to access $_probe_* convenience
10703 variables while not on a probe.
10704
10705 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10706
10707 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10708
10709 2015-02-11 Pedro Alves <pedro@codesourcery.com>
10710
10711 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10712 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10713
10714 2015-02-10 Doug Evans <xdje42@gmail.com>
10715
10716 * lib/gdb.exp (gdb_load): Always return a result.
10717
10718 2015-02-10 Pedro Alves <palves@redhat.com>
10719
10720 * gdb.threads/signal-sigtrap.c: New file.
10721 * gdb.threads/signal-sigtrap.exp: New file.
10722
10723 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
10724
10725 * gdb.trace/no-attach-trace.c: New file.
10726 * gdb.trace/no-attach-trace.exp: New file.
10727
10728 2015-02-09 Mark Wielaard <mjw@redhat.com>
10729
10730 * gdb.dwarf2/atomic.c: New file.
10731 * gdb.dwarf2/atomic-type.exp: Likewise.
10732
10733 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10734
10735 * gdb.btrace/buffer-size.exp: Update "info record" output.
10736 * gdb.btrace/delta.exp: Update "info record" output.
10737 * gdb.btrace/enable.exp: Update "info record" output.
10738 * gdb.btrace/finish.exp: Update "info record" output.
10739 * gdb.btrace/instruction_history.exp: Update "info record" output.
10740 * gdb.btrace/next.exp: Update "info record" output.
10741 * gdb.btrace/nexti.exp: Update "info record" output.
10742 * gdb.btrace/step.exp: Update "info record" output.
10743 * gdb.btrace/stepi.exp: Update "info record" output.
10744 * gdb.btrace/nohist.exp: Update "info record" output.
10745
10746 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10747
10748 * gdb.btrace/buffer-size: New.
10749
10750 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10751
10752 * gdb.btrace/delta.exp: Update "info record" output.
10753 * gdb.btrace/enable.exp: Update "info record" output.
10754 * gdb.btrace/finish.exp: Update "info record" output.
10755 * gdb.btrace/instruction_history.exp: Update "info record" output.
10756 * gdb.btrace/next.exp: Update "info record" output.
10757 * gdb.btrace/nexti.exp: Update "info record" output.
10758 * gdb.btrace/step.exp: Update "info record" output.
10759 * gdb.btrace/stepi.exp: Update "info record" output.
10760 * gdb.btrace/nohist.exp: Update "info record" output.
10761
10762 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10763
10764 PR gdb/15678
10765 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10766
10767 2015-02-06 Pedro Alves <palves@redhat.com>
10768
10769 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10770 macro.
10771 (seconds_left, again): New globals.
10772 (main): Wait seconds_left in a 1-second sleep loop instead of
10773 sleeping 180 seconds. If 'again' is set, reset the seconds
10774 counter.
10775 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10776 'again' in the inferior before detaching. Print the seconds left.
10777 (options): New global.
10778 (top level): Build program with -DTIMEOUT=$timeout.
10779
10780 2015-02-06 Pedro Alves <palves@redhat.com>
10781
10782 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10783 determine how many seconds to pass to 'alarm'.
10784 * gdb.base/gdb-sigterm.exp (top level): Build program with
10785 -DTIMEOUT=$timeout.
10786 (do_test): Return success/failure indication. Add more verbose
10787 logging. Don't fail if 200 single steps are seen. Instead, fail
10788 when the test times out.
10789 (passes): New global.
10790 (top level): Break the testing loop if testing fails on any
10791 iteration. Use gdb_assert.
10792
10793 2015-02-04 Don Breazeal <donb@codesourcery.com>
10794
10795 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10796 and initialize them.
10797 (ipc_cleanup): New function.
10798 (main): Don't declare shmid, semid, and msqid. Add a call to
10799 atexit so that we call ipc_cleanup on exit.
10800
10801 2015-02-04 Pedro Alves <palves@redhat.com>
10802
10803 * boards/native-extended-gdbserver.exp: Remove any target variant
10804 specifications from the board name before clearing the isremote
10805 flag from board_info.
10806
10807 2015-01-31 Doug Evans <xdje42@gmail.com>
10808
10809 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10810
10811 2015-01-31 Gary Benson <gbenson@redhat.com>
10812
10813 * gdb.base/completion.exp: Disable completion limiting for
10814 existing tests. Add new tests to check completion limiting.
10815 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10816
10817 2015-01-31 Doug Evans <xdje42@gmail.com>
10818
10819 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10820
10821 2015-01-31 Doug Evans <xdje42@gmail.com>
10822
10823 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10824 entries. Duplicate file section script entries.
10825 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10826 inlined entries. Add test for safe-path rejection.
10827 * gdb.python/py-section-script.c: Add duplicate inlined section script
10828 entries. Duplicate file section script entries.
10829 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10830 inlined entries. Add test for safe-path rejection.
10831
10832 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10833
10834 * gdb.ada/disc_arr_bound: New testcase.
10835
10836 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10837
10838 * gdb.ada/mi_var_array: New testcase.
10839
10840 2015-01-27 Doug Evans <dje@google.com>
10841
10842 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10843 Add test for objfile.filename, objfile.username after objfile
10844 has been unloaded.
10845
10846 2015-01-26 Joel Brobecker <brobecker@adacore.com>
10847
10848 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10849 the second test to print the name attribute of value
10850 returned by the call to gdb.lookup_type, and adjust
10851 the expected output accordingly.
10852
10853 2015-01-25 Mark Wielaard <mjw@redhat.com>
10854
10855 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10856 * gdb.base/disp-step-fork.c: Include unistd.h.
10857 * gdb.base/siginfo-obj.c: Include stdio.h.
10858 * gdb.base/siginfo-thread.c: Likewise.
10859 * gdb.mi/non-stop.c: Include unistd.h.
10860 * gdb.mi/nsthrexec.c: Include stdio.h.
10861 * gdb.mi/pthreads.c: Include unistd.h.
10862 * gdb.modula2/unbounded1.c (main): Declare returns int.
10863 * gdb.reverse/consecutive-reverse.c: Likewise.
10864 * gdb.threads/create-fail.c: Include unistd.h.
10865 * gdb.threads/killed.c: Likewise.
10866 * gdb.threads/linux-dp.c: Likewise.
10867 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10868 * gdb.threads/non-ldr-exc-2.c: Likewise.
10869 * gdb.threads/non-ldr-exc-3.c: Likewise.
10870 * gdb.threads/non-ldr-exc-4.c: Likewise.
10871 * gdb.threads/pthreads.c: Include unistd.h.
10872 (main): Declare returns int.
10873 * gdb.threads/tls-main.c (foo): New declaration.
10874 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10875
10876 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10877
10878 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10879 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10880
10881 2015-01-15 Mark Wielaard <mjw@redhat.com>
10882
10883 * gdb.base/noreturn-return.c: New file.
10884 * gdb.base/noreturn-return.exp: New file.
10885 * gdb.base/noreturn-finish.c: New file.
10886 * gdb.base/noreturn-finish.exp: New file.
10887
10888 2015-01-23 Pedro Alves <palves@redhat.com>
10889
10890 * gdb.threads/continue-pending-after-query.c: New file.
10891 * gdb.threads/continue-pending-after-query.exp: New file.
10892
10893 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10894 Simon Marchi <simon.marchi@ericsson.com>
10895
10896 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10897 * gdb.base/valgrind-db-attach.exp: Same.
10898 * gdb.base/valgrind-infcall.exp: Same.
10899 * lib/mi-support.exp (default_mi_gdb_start): Same.
10900 * lib/prompt.exp (default_prompt_gdb_start): Same.
10901 * lib/gdb.exp (default_gdb_spawn): Same.
10902 (gdb_interact): New.
10903
10904
10905 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10906
10907 * gdb.compile/compile.exp (pointer to jit function): New test.
10908
10909 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
10910
10911 * lib/gdb.exp (supports_process_record): Return true for
10912 powerpc*-*-linux*.
10913 (supports_reverse): Likewise.
10914
10915 2015-01-15 Don Breazeal <donb@codesourcery.com>
10916
10917 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10918 instead of checking whether the target board is remote and
10919 use spawn_wait_for_attach instead of exec/sleep.
10920 * gdb.base/attach-twice.exp: Likewise.
10921
10922 2015-01-15 Joel Brobecker <brobecker@adacore.com>
10923
10924 * gdb.ada/var_arr_attrs: New testcase.
10925
10926 2015-01-14 Pedro Alves <palves@redhat.com>
10927 Joel Brobecker <brobecker@adacore.com>
10928
10929 PR gdb/17525
10930 * gdb.base/bp-cmds-execution-x-script.c: New file.
10931 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10932 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10933
10934 2015-01-14 Pedro Alves <palves@redhat.com>
10935
10936 PR cli/17828
10937 * gdb.base/batch-preserve-term-settings.c: New file.
10938 * gdb.base/batch-preserve-term-settings.exp: New file.
10939
10940 2015-01-13 Doug Evans <dje@google.com>
10941
10942 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10943 binary.
10944
10945 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10946
10947 * Makefile.in (clean mostlyclean): Do not delete *.py.
10948
10949 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10950
10951 * gdb.python/py-lookup-type.exp: New file.
10952
10953 2015-01-12 Pedro Alves <palves@redhat.com>
10954
10955 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10956 restore GDBFLAGS before returning.
10957
10958 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10959
10960 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10961 is_amd64_regs_target and is_x86_like_target.
10962
10963 2015-01-11 Doug Evans <xdje42@gmail.com>
10964
10965 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10966 is given without an explicit form.
10967 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10968 attributes.
10969 * gdb.dwarf/corrupt.exp: Ditto.
10970 * gdb.dwarf2/enum-type.exp: Ditto.
10971 * gdb.trace/entry-values.exp: Ditto.
10972 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10973
10974 2015-01-11 Doug Evans <xdje42@gmail.com>
10975
10976 PR gdb/15830
10977 * gdb.base/maint.exp: Remove references to "maint demangle".
10978 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10979 Add tests for explicitly specifying language to demangle.
10980 * gdb.dlang/demangle.exp: Ditto.
10981
10982 2015-01-09 Pedro Alves <palves@redhat.com>
10983
10984 * gdb.threads/non-stop-fair-events.c: New file.
10985 * gdb.threads/non-stop-fair-events.exp: New file.
10986
10987 2015-01-09 Pedro Alves <palves@redhat.com>
10988
10989 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10990 the global scope. Set a breakpoint after all threads are started
10991 rather than stepping over two source lines. Expect the prompt.
10992 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10993 global.
10994 (NUM): Now 15.
10995 (main): Use threads_started_barrier to wait for all threads to
10996 start. Main thread no longer calls thread_function. Exit after
10997 180 seconds.
10998 (loop): New function.
10999 (thread_function): Wait on threads_started_barrier barrier. Call
11000 'loop' at each iteration.
11001 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11002 threads have started, instead of hardcoding number of "next"
11003 steps. Use an access watchpoint instead of a write watchpoint.
11004
11005 2015-01-09 Pedro Alves <palves@redhat.com>
11006
11007 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11008 (thread_func): Wait on barrier.
11009 (main): Wait for all threads to start before stopping GDB.
11010 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11011 global.
11012 (thread1_func, thread2_func): Wait on barrier.
11013 (main): Wait for all threads to start before stopping GDB.
11014 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11015 New global.
11016 (thread1_func, thread2_func): Wait on barrier.
11017 (main): Wait for all threads to start before stopping GDB.
11018
11019 2015-01-09 Pedro Alves <palves@redhat.com>
11020
11021 * gdb.threads/attach-many-short-lived-threads.c: New file.
11022 * gdb.threads/attach-many-short-lived-threads.exp: New file.
11023
11024 2014-01-09 Pedro Alves <palves@redhat.com>
11025
11026 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11027 instead of to thread 2.
11028 * gdb.threads/signal-command-multiple-signals-pending.c (main):
11029 Add barrier around each pthread_create call instead of around all
11030 calls.
11031 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11032 Set a break on thread_function and have the child threads hit it
11033 one at at a time.
11034
11035 2015-01-09 Pedro Alves <palves@redhat.com>
11036
11037 * lib/gdb.exp (can_spawn_for_attach): New procedure.
11038 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11039 false.
11040 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11041 checking whether the target board is remote.
11042 * gdb.multi/multi-attach.exp: Likewise.
11043 * gdb.python/py-sync-interp.exp: Likewise.
11044 * gdb.server/ext-attach.exp: Likewise.
11045 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11046 tests that need to attach, instead of checking whether the target
11047 board is remote at the top of the file.
11048
11049 2015-01-08 Yao Qi <yao@codesourcery.com>
11050
11051 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11052
11053 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11054
11055 Fix testcase compilation.
11056 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11057
11058 2015-01-06 Joel Brobecker <brobecker@adacore.com>
11059
11060 * gdb.python/py-type.exp: Add a couple test about empty
11061 array creation, and negative-length array creation.
11062
11063 2015-01-02 Doug Evans <xdje42@gmail.com>
11064
11065 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11066
11067 2015-01-02 Doug Evans <dje@google.com>
11068
11069 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11070
11071 2014-12-29 Yao Qi <yao@codesourcery.com>
11072
11073 * gdb.trace/entry-values.exp: Update comments. Rename variable
11074 bar_call_foo to returned_from_foo.
11075
11076 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
11077
11078 PR gdb/17394
11079 * gdb.linespec/break-asm-file.c: New file.
11080 * gdb.linespec/break-asm-file.exp: New file.
11081 * gdb.linespec/break-asm-file0.s: New file.
11082 * gdb.linespec/break-asm-file1.s: New file.
11083
11084 2014-12-18 Nigel Stephens <nigel@mips.com>
11085 Maciej W. Rozycki <macro@codesourcery.com>
11086
11087 * gdb.base/float.exp: Handle the new output from "info float" on
11088 MIPS targets.
11089
11090 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11091
11092 Fix MinGW compilation.
11093 * gdb.compile/compile-ops.exp: Update untested message if
11094 !skip_compile_feature_tests.
11095 * gdb.compile/compile-setjmp.exp: Likewise.
11096 * gdb.compile/compile-tls.exp: Likewise.
11097 * gdb.compile/compile.exp: Likewise.
11098 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11099 supported on this host".
11100
11101 2014-12-16 Doug Evans <xdje42@gmail.com>
11102
11103 * boards/stabs.exp: New file.
11104
11105 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
11106
11107 * gdb.base/completion.exp: Adjust to format changes of "maint
11108 print user-registers".
11109
11110 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
11111
11112 PR server/17457
11113 * gdb.arch/aarch64-fp.c: New file.
11114 * gdb.arch/aarch64-fp.exp: New file.
11115
11116 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11117
11118 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11119 r210637, r210913, r211666, r215400, r215817).
11120
11121 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
11122 * dg-extract-results.py: New file.
11123 * dg-extract-results.sh: Use it if the environment seems
11124 suitable.
11125
11126 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
11127
11128 * dg-extract-results.py (parse_run): Handle warnings that
11129 are printed before a test harness is run.
11130
11131 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
11132
11133 * dg-extract-results.py (Named): Remove __cmp__ method.
11134 (output_variation): Use a key to sort variation.harnesses.
11135
11136 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
11137
11138 * dg-extract-results.py: For Python 3, force sys.stdout to
11139 handle surrogate escape sequences.
11140 (safe_open): New function.
11141 (output_segment, main): Use it.
11142
11143 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
11144
11145 * dg-extract-results.py (Prog.result_re): Include options
11146 in test name.
11147
11148 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
11149
11150 * dg-extract-results.py (output_variation): Always sort if
11151 do_sum.
11152
11153 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
11154
11155 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11156 as long as we get pagination notifications.
11157
11158 2014-12-15 Jason Merrill <jason@redhat.com>
11159
11160 * Makefile.in (check-gdb.%): Restore.
11161 * README: Mention it.
11162
11163 2014-12-13 Joel Brobecker <brobecker@adacore.com>
11164
11165 * gdb.ada/str_uninit: New testcase.
11166
11167 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11168
11169 PR symtab/17642
11170 * gdb.base/vla-stub-define.c: New file.
11171 * gdb.base/vla-stub.c: New file.
11172 * gdb.base/vla-stub.exp: New file.
11173
11174 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
11175 Jan Kratochvil <jan.kratochvil@redhat.com>
11176 Tom Tromey <tromey@redhat.com>
11177
11178 * configure.ac: Add gdb.compile/.
11179 * configure: Regenerate.
11180 * gdb.compile/Makefile.in: New file.
11181 * gdb.compile/compile-ops.exp: New file.
11182 * gdb.compile/compile-ops.c: New file.
11183 * gdb.compile/compile-tls.c: New file.
11184 * gdb.compile/compile-tls.exp: New file.
11185 * gdb.compile/compile-constvar.S: New file.
11186 * gdb.compile/compile-constvar.c: New file.
11187 * gdb.compile/compile-mod.c: New file.
11188 * gdb.compile/compile-nodebug.c: New file.
11189 * gdb.compile/compile-setjmp-mod.c: New file.
11190 * gdb.compile/compile-setjmp.c: New file.
11191 * gdb.compile/compile-setjmp.exp: New file.
11192 * gdb.compile/compile-shlib.c: New file.
11193 * gdb.compile/compile.c: New file.
11194 * gdb.compile/compile.exp: New file.
11195 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11196
11197 2014-12-12 Tom Tromey <tromey@redhat.com>
11198
11199 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11200 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11201
11202 2014-12-12 Doug Evans <dje@google.com>
11203
11204 * lib/gdb-python.exp (get_python_valueof): New function.
11205 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11206
11207 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11208
11209 * gdb.base/completion.exp: Add test for completion of "info
11210 registers ".
11211
11212 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11213
11214 * gdb.base/func-ptrs.c: New file.
11215 * gdb.base/func-ptrs.exp: New file.
11216
11217 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11218
11219 PR breakpoints/17012
11220 * gdb.base/dprintf-detach.c: New file.
11221 * gdb.base/dprintf-detach.exp: New file.
11222
11223 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11224
11225 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11226 * lib/gdb.exp (target_is_gdbserver): New procedure.
11227
11228 2014-12-08 Doug Evans <dje@google.com>
11229
11230 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11231
11232 2014-12-05 Yao Qi <yao@codesourcery.com>
11233
11234 * gdb.guile/scm-error.exp: Remove the third argument to
11235 gdb_remote_download.
11236 * gdb.guile/scm-frame-args.exp: Likewise.
11237 * gdb.guile/scm-section-script.exp: Likewise.
11238
11239 2014-12-05 Yao Qi <yao@codesourcery.com>
11240
11241 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11242
11243 2014-12-04 Doug Evans <dje@google.com>
11244
11245 * gdb.python/py-objfile.exp: Add tests for
11246 objfile.add_separate_debug_file.
11247
11248 2014-12-04 Doug Evans <dje@google.com>
11249
11250 * lib/gdb.exp (get_build_id): New function.
11251 (build_id_debug_filename_get): Rewrite to use it.
11252 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11253
11254 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11255
11256 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11257 `method(long)', not just 0x0.
11258 * gdb.cp/nsalias.exp: Align code labels to 4.
11259 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11260 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11261 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11262 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11263 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11264 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11265
11266 2014-12-02 Doug Evans <dje@google.com>
11267
11268 PR symtab/17602
11269 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11270 * gdb.cp/anon-ns2.cc: ... here. New file.
11271 * gdb.cp/anon-ns.exp: Update.
11272
11273 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
11274
11275 * gdb.python/py-events.py (inferior_call_handler): New.
11276 (register_changed_handler, memory_changed_handler): New.
11277 (test_events.invoke): Register new handlers.
11278 * gdb.python/py-events.exp: Add tests for inferior call,
11279 memory_changed and register_changed events.
11280
11281 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11282
11283 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11284 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11285 if the linker doesn't understand this.
11286
11287 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11288
11289 * gdb.python/python.exp: Change expected reply to help().
11290
11291 2014-12-01 Yao Qi <yao@codesourcery.com>
11292
11293 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11294 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11295 * configure: Re-generated.
11296
11297 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11298
11299 * gdb.cp/chained-calls.cc: New file.
11300 * gdb.cp/chained-calls.exp: New file.
11301 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11302
11303 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11304
11305 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11306 * gdb.dwarf2/symtab-producer.exp: Same.
11307 * gdb.gdb/python-interrupts.exp: Same.
11308 * gdb.gdb/python-selftest.exp: Same.
11309 * gdb.python/py-linetable.exp: Same.
11310 * gdb.python/py-type.exp: Same.
11311 * gdb.python/py-value-cc.exp: Same.
11312 * gdb.python/py-value.exp: Same.
11313
11314 2014-11-28 Yao Qi <yao@codesourcery.com>
11315
11316 * gdb.base/break-probes.exp: Match library name prefixed with
11317 sysroot.
11318
11319 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11320
11321 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11322 test expected output. Add parentheses for the call to print.
11323 Remove L suffix from integers.
11324
11325 2014-11-26 Doug Evans <dje@google.com>
11326
11327 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11328
11329 2014-11-22 Yao Qi <yao@codesourcery.com>
11330
11331 * gdb.trace/entry-values.c: Remove asms.
11332 (foo): Add foo_label.
11333 (bar): Add bar_label.
11334 * gdb.trace/entry-values.exp: Remove code computing foo's
11335 length and bar's length.
11336 (Dwarf::assemble): Invoke function_range for bar and use
11337 MACRO_AT_func for foo.
11338
11339 2014-11-22 Yao Qi <yao@codesourcery.com>
11340
11341 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11342 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11343 Use .Lgcc43_procstart instead of gcc43.
11344
11345 2014-11-21 Joel Brobecker <brobecker@adacore.com>
11346
11347 * gdb.ada/n_arr_bound: New testcase.
11348
11349 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11350
11351 PR breakpoints/10737
11352 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11353 test_catch_syscall_multi_arch.
11354 (test_catch_syscall_multi_arch): New function.
11355
11356 2014-11-20 Doug Evans <xdje42@gmail.com>
11357
11358 * gdb.base/maint.exp: Update expected output.
11359
11360 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11361
11362 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11363 4-byte instruction on S390.
11364
11365 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11366
11367 * gdb.ada/arr_arr: New testcase.
11368
11369 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11370
11371 * gdb.ada/pkd_arr_elem: New Testcase.
11372
11373 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11374
11375 * gdb.reverse/break-precsave: Expect completion message for
11376 core file reads.
11377 * gdb.reverse/consecutive-precsave.exp: Likewise.
11378 * gdb.reverse/finish-precsave.exp: Likewise.
11379 * gdb.reverse/i386-precsave.exp: Likewise.
11380 * gdb.reverse/machinestate-precsave.exp: Likewise.
11381 * gdb.reverse/sigall-precsave.exp: Likewise.
11382 * gdb.reverse/solib-precsave.exp: Likewise.
11383 * gdb.reverse/step-precsave.exp: Likewise.
11384 * gdb.reverse/until-precsave.exp: Likewise.
11385 * gdb.reverse/watch-precsave.exp: Likewise.
11386
11387 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11388
11389 * gdb.base/bp-permanent.c: Include unistd.h.
11390 * gdb.python/py-framefilter-mi.c (main): Add return type.
11391 * gdb.python/py-framefilter.c (main): Likewise.
11392 * gdb.trace/actions-changed.c (main): Likewise.
11393
11394 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11395
11396 * gdb.mi/until.c: Add eye-catchers.
11397 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11398 line numbers.
11399
11400 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11401
11402 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11403 function header variants in break1.c.
11404 * gdb.base/ena-dis-br.exp: Likewise.
11405 * gdb.base/hbreak2.exp: Likewise.
11406 * gdb.reverse/until-precsave.exp: Drop references to removed
11407 non-prototype function header variants in ur1.c.
11408 * gdb.reverse/until-reverse.exp: Likewise.
11409
11410 2014-11-17 Petr Machata <pmachata@redhat.com>
11411
11412 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11413 ${_cu_offset_size} bytes abbrev offset.
11414
11415 2014-11-15 Doug Evans <xdje42@gmail.com>
11416
11417 PR symtab/17559
11418 * gdb.base/line-symtabs.exp: New file.
11419 * gdb.base/line-symtabs.c: New file.
11420 * gdb.base/line-symtabs.h: New file.
11421
11422 2014-11-14 Yao Qi <yao@codesourcery.com>
11423
11424 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11425 (func): Add label func_label.
11426 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11427 Replace low_pc and high_pc with MACRO_AT_range.
11428 Replace name, low_pc and high_pc with MACRO_AT_func.
11429
11430 2014-11-14 Yao Qi <yao@codesourcery.com>
11431
11432 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11433 Replace name, low_pc and high_pc with MACRO_AT_func.
11434
11435 2014-11-14 Yao Qi <yao@codesourcery.com>
11436
11437 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11438 produce debug information.
11439 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11440
11441 2014-11-14 Yao Qi <yao@codesourcery.com>
11442
11443 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11444 object and get function length.
11445 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11446 with MACRO_AT_func.
11447 (top-level): Replace gdb_compile and clean_restart with
11448 prepare_for_testing.
11449 * gdb.dwarf2/main.c (main): Add label main_label.
11450
11451 2014-11-14 Yao Qi <yao@codesourcery.com>
11452
11453 * lib/dwarf.exp (function_range): New procedure.
11454 (Dwarf::_handle_macro_at_func): New procedure.
11455 (Dwarf::_handle_macro_at_range): New procedure.
11456 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11457
11458 2014-11-14 Yao Qi <yao@codesourcery.com>
11459
11460 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11461 (_handle_attribute): New procedure.
11462
11463 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11464
11465 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11466 * gdb.base/call-sc.c (zed): Likewise.
11467 * gdb.base/checkpoint.c (main): Likewise.
11468 * gdb.base/dump.c (main): Likewise.
11469 * gdb.base/gcore.c (main): Likewise.
11470 * gdb.base/huge.c (main): Likewise.
11471 * gdb.base/multi-forks.c (main): Likewise.
11472 * gdb.base/pr10179-a.c (main): Likewise.
11473 * gdb.base/savedregs.c (main): Likewise.
11474 * gdb.base/sigaltstack.c (main): Likewise.
11475 * gdb.base/siginfo.c (main): Likewise.
11476 * gdb.base/structs.c (zed): Likewise.
11477 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11478 * gdb.mi/mi-syn-frame.c (main): Likewise.
11479 * gdb.mi/until.c (foo, main): Likewise.
11480 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11481 * gdb.base/solib-weak.c (foo): Declare.
11482 * gdb.base/attach-twice.c: Include stdio.h.
11483 * gdb.base/weaklib1.c: Likewise.
11484 * gdb.base/weaklib2.c: Likewise.
11485 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11486 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11487 unistd.h.
11488 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11489 * gdb.mi/mi-exit-code.c: Likewise.
11490 * gdb.base/break-interp-lib.c: Include string.h.
11491 * gdb.base/coremaker.c: Likewise.
11492 * gdb.base/testenv.c: Likewise.
11493 * gdb.python/py-finish-breakpoint.c: Likewise.
11494 * gdb.base/inferior-died.c: Include sys/wait.h.
11495 * gdb.base/fileio.c: Include time.h.
11496 * gdb.base/async-shell.c: Include unistd.h.
11497 * gdb.base/dprintf-non-stop.c: Likewise.
11498 * gdb.base/info-os.c: Likewise.
11499 * gdb.mi/mi-console.c: Likewise.
11500 * gdb.mi/watch-nonstop.c: Likewise.
11501 * gdb.python/py-events.c: Likewise.
11502 * gdb.base/async.c (baz): Move up before its invocation.
11503 * gdb.base/code_elim2.c (my_global_func): Likewise.
11504 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11505 * gdb.base/advance.c (func2): Likewise.
11506
11507 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11508
11509 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11510 variant.
11511 * gdb.base/annota3.c: Likewise.
11512 * gdb.base/async.c: Likewise.
11513 * gdb.base/average.c: Likewise.
11514 * gdb.base/call-ar-st.c: Likewise.
11515 * gdb.base/call-rt-st.c: Likewise.
11516 * gdb.base/call-sc.c: Likewise.
11517 * gdb.base/call-strs.c: Likewise.
11518 * gdb.base/ending-run.c: Likewise.
11519 * gdb.base/execd-prog.c: Likewise.
11520 * gdb.base/exprs.c: Likewise.
11521 * gdb.base/foll-exec.c: Likewise.
11522 * gdb.base/foll-fork.c: Likewise.
11523 * gdb.base/foll-vfork.c: Likewise.
11524 * gdb.base/funcargs.c: Likewise.
11525 * gdb.base/gcore.c: Likewise.
11526 * gdb.base/jump.c: Likewise.
11527 * gdb.base/langs0.c: Likewise.
11528 * gdb.base/langs1.c: Likewise.
11529 * gdb.base/langs2.c: Likewise.
11530 * gdb.base/mips_pro.c: Likewise.
11531 * gdb.base/nodebug.c: Likewise.
11532 * gdb.base/opaque0.c: Likewise.
11533 * gdb.base/opaque1.c: Likewise.
11534 * gdb.base/recurse.c: Likewise.
11535 * gdb.base/run.c: Likewise.
11536 * gdb.base/scope0.c: Likewise.
11537 * gdb.base/scope1.c: Likewise.
11538 * gdb.base/setshow.c: Likewise.
11539 * gdb.base/setvar.c: Likewise.
11540 * gdb.base/shmain.c: Likewise.
11541 * gdb.base/shr1.c: Likewise.
11542 * gdb.base/shr2.c: Likewise.
11543 * gdb.base/sigall.c: Likewise.
11544 * gdb.base/signals.c: Likewise.
11545 * gdb.base/so-indr-cl.c: Likewise.
11546 * gdb.base/solib2.c: Likewise.
11547 * gdb.base/structs.c: Likewise.
11548 * gdb.base/sum.c: Likewise.
11549 * gdb.base/vforked-prog.c: Likewise.
11550 * gdb.base/watchpoint.c: Likewise.
11551 * gdb.reverse/shr2.c: Likewise.
11552 * gdb.reverse/until-reverse.c: Likewise.
11553 * gdb.reverse/ur1.c: Likewise.
11554 * gdb.reverse/watch-reverse.c: Likewise.
11555
11556 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11557
11558 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11559 variant.
11560 * gdb.base/sepdebug.exp: Drop references to removed code.
11561
11562 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11563
11564 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11565 variant. Preserve original line numbering.
11566 * gdb.base/list1.c: Likewise.
11567
11568 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11569
11570 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11571 variant.
11572 * gdb.base/break1.c: Likewise.
11573 * gdb.base/break.exp: Drop references to removed code.
11574
11575 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11576
11577 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11578 variant.
11579
11580 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11581
11582 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11583
11584 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11585
11586 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11587 logic into perform_all_tests() and invoke it with and without
11588 function header prototypes.
11589 (do_function_calls): Remove conditional XFAIL for PR 5318.
11590 (rerun_and_prepare): Remove duplicate code.
11591 (perform_all_tests): New. Main logic moved here.
11592
11593 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11594
11595 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11596 code guarded by #ifdef NO_PROTOTYPES.
11597 (t_double_many_args): Likewise.
11598 (DEF_FUNC_MANY_ARGS_1): Likewise.
11599 (DEF_FUNC_VALUES_1): Likewise.
11600 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11601 guarded by #ifdef PROTOTYPES.
11602
11603 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11604
11605 * gdb.mi/mi-console.c: Add eye-catcher.
11606 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11607 instead of literal line number.
11608
11609 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11610
11611 * gdb.base/shr2.c: Add eye-catcher.
11612 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11613 line number.
11614
11615 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11616
11617 * gdb.base/jump.c: Add eye-catchers.
11618 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11619 numbers.
11620
11621 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11622
11623 * gdb.base/execd-prog.c: Add eye-catchers.
11624 * gdb.base/foll-exec.c: Likewise.
11625 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11626 line numbers.
11627
11628 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11629
11630 * gdb.base/ending-run.c: Add eye-catchers.
11631 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11632 literal line numbers.
11633
11634 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11635
11636 * gdb.base/call-rt-st.c: Add eye-catchers.
11637 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11638 literal line numbers.
11639
11640 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11641
11642 * gdb.base/call-ar-st.c: Add eye-catchers.
11643 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11644 literal line numbers.
11645
11646 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11647
11648 * gdb.base/average.c: Add eye-catchers.
11649 * gdb.base/sum.c: Likewise.
11650 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11651 regexps dynamically.
11652
11653 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11654
11655 * gdb.base/solib1.c: Add eye-catchers.
11656 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11657 literal line numbers.
11658
11659 2014-11-12 Pedro Alves <palves@redhat.com>
11660
11661 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11662 leader has exited.
11663
11664 2014-11-12 Pedro Alves <palves@redhat.com>
11665
11666 * gdb.arch/i386-bp_permanent.c: New file.
11667 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11668 (srcfile): Set to i386-bp_permanent.c.
11669 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11670 that stepi does not execute the 'leave' instruction, instead of
11671 testing it does execute.
11672 * gdb.base/bp-permanent.c: New file.
11673 * gdb.base/bp-permanent.exp: New file.
11674
11675 2014-11-10 Doug Evans <xdje42@gmail.com>
11676
11677 PR symtab/17564
11678 * gdb.base/symtab-search-order.exp: New file.
11679 * gdb.base/symtab-search-order.c: New file.
11680 * gdb.base/symtab-search-order-1.c: New file.
11681 * gdb.base/symtab-search-order-shlib-1.c: New file.
11682
11683 2014-11-07 Pedro Alves <palves@redhat.com>
11684
11685 PR gdb/17511
11686 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11687 i?86-*-linux*.
11688
11689 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
11690
11691 PR c++/17494
11692 * gdb.cp/pr17494.cc: New file.
11693 * gdb.cp/pr17494.exp: New file.
11694
11695 2014-11-02 Yao Qi <yao@codesourcery.com>
11696
11697 * gdb.python/python.exp: Get working directory and match the
11698 output of "set extended-prompt \\w " with it.
11699
11700 2014-10-30 Doug Evans <dje@google.com>
11701
11702 * gdb.python/py-objfile.exp: Add tests for setting random attributes
11703 in objfiles.
11704 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11705 in progspaces.
11706
11707 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
11708
11709 * gdb.base/fullpath-expand.exp: Skip for a remote host.
11710 * gdb.base/realname-expand.exp: Likewise.
11711 * gdb.linespec/macro-relative.exp: Likewise.
11712
11713 2014-10-29 Pedro Alves <palves@redhat.com>
11714
11715 PR gdb/17408
11716 * gdb.threads/schedlock.c (some_function): New function.
11717 (call_function): New global.
11718 (MAYBE_CALL_SOME_FUNCTION): New macro.
11719 (thread_function): Call it.
11720 * gdb.threads/schedlock.exp (get_args): Add description parameter,
11721 and use it instead of a global counter. Adjust all callers.
11722 (get_current_thread): Use "find current thread" for test message
11723 here rather than having all callers pass down the same string.
11724 (goto_loop): New procedure, factored out from ...
11725 (my_continue): ... this.
11726 (step_ten_loops): Change parameter from test message to command to
11727 use. Adjust.
11728 (list_count): Delete global.
11729 (check_result): New procedure, factored out from duplicate top
11730 level code.
11731 (continue tests): Wrap in with_test_prefix.
11732 (test_step): New procedure, factored out from duplicate top level
11733 code.
11734 (top level): Test "step" in combination with all scheduler-locking
11735 modes. Test "next" in combination with all scheduler-locking
11736 modes, and in combination with stepping over a function call or
11737 not.
11738 * gdb.threads/next-bp-other-thread.c: New file.
11739 * gdb.threads/next-bp-other-thread.exp: New file.
11740
11741 2014-10-29 Pedro Alves <palves@redhat.com>
11742
11743 PR python/17372
11744 * gdb.python/python.exp: Test a multi-line command that spawns
11745 interactive Python.
11746 * gdb.base/multi-line-starts-subshell.exp: New file.
11747
11748 2014-10-29 Yao Qi <yao@codesourcery.com>
11749
11750 * gdb.base/fileio.exp: Make directories on host.
11751
11752 2014-10-29 Yao Qi <yao@codesourcery.com>
11753
11754 * gdb.base/fileio.c (test_write): Close the file.
11755
11756 2014-10-28 Pedro Alves <palves@redhat.com>
11757
11758 PR gdb/12623
11759 * gdb.base/sigstep.c (no_handler): New global.
11760 (main): If 'no_handler is true, set the signal handlers to
11761 SIG_IGN.
11762 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11763 with_sw_watch and no_handler parameters. Handle them.
11764 (top level) <stepping over handler when stopped at a breakpoint
11765 test>: Add a test axis for testing with a software watchpoint, and
11766 another for testing with the signal handler set to SIG_IGN.
11767 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11768 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11769
11770 2014-10-28 Pedro Alves <palves@redhat.com>
11771
11772 PR gdb/17511
11773 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11774 * gdb.base/sigstep.exp (other_handler_location): New global.
11775 (advance): Support stepping into the signal handler, and running
11776 commands while in the handler.
11777 (in_handler_map): New global.
11778 (top level): In the advance test, add combinations for getting
11779 into the handler with stepping commands, and for running commands
11780 in the handler. Add comment descripting the advancei tests.
11781
11782 2014-10-28 Pedro Alves <palves@redhat.com>
11783
11784 * gdb.base/sigstep.exp: Use build_executable instead of
11785 prepare_for_testing.
11786 (top level): Move code that starts GDB, runs to main and creates a
11787 display to ...
11788 (restart): ... this new procedure.
11789 (top level): Move backtrace from signal handler test to ...
11790 (validate_backtrace): ... this new procedure.
11791 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11792 with_test_prefix. Always restart GDB.
11793 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11794 with_test_prefix. Always restart GDB. No need to delete
11795 breakpoints after the test.
11796 (test_skip_handler): Remove prefix parameter.
11797 (skip_over_handler, breakpoint_to_handler)
11798 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11799 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11800 restart GDB. No need to delete breakpoints after the test.
11801 (top level): Use foreach to call the test procedures with
11802 different commands.
11803
11804 2014-10-28 Pedro Alves <palves@redhat.com>
11805
11806 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11807 instead of GNATS numbers.
11808 * gdb.base/sigbpt.exp: Likewise.
11809 * gdb.base/siginfo.exp: Likewise.
11810 * gdb.base/sigstep.exp: Likewise.
11811
11812 2014-10-27 Pedro Alves <palves@redhat.com>
11813
11814 * gdb.base/sigstep.c (dummy): New global.
11815 (main): Issue a couple writes to the new global.
11816 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11817 procedures.
11818 (skip_over_handler): Use test_skip_handler.
11819 (top level): Call skip_over_handler for stepi and nexti too.
11820 (breakpoint_over_handler): Use test_skip_handler.
11821 (top level): Call breakpoint_over_handler for stepi and nexti too.
11822
11823 2014-10-27 Yao Qi <yao@codesourcery.com>
11824
11825 * gdb.trace/tfile.c (adjust_function_address)
11826 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11827 function descriptor.
11828
11829 2014-10-24 Don Breazeal <donb@codesourcery.com>
11830
11831 * gdb.base/foll-fork.exp (test_follow_fork,
11832 catch_fork_child_follow): Check for updated fork messages emitted
11833 from infrun.c.
11834 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11835 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11836 vfork_and_exec_child_follow_through_step): Check for updated vfork
11837 messages emitted from infrun.c.
11838
11839 2014-10-24 Pedro Alves <palves@redhat.com>
11840
11841 * gdb.base/corefile.exp: Remove references to ultrix.
11842 * gdb.base/interrupt.exp: Likewise.
11843 * gdb.base/whatis.exp: Likewise.
11844 * gdb.gdb/selftest.exp: Likewise.
11845 * gdb.threads/manythreads.exp: Likewise.
11846 * gdb.threads/print-threads.exp: Likewise.
11847 * gdb.threads/pthreads.exp:: Likewise.
11848 * gdb.threads/schedlock.exp: Likewise.
11849
11850 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11851
11852 * gdb.cp/non-trivial-retval.cc: Add a test case.
11853 * gdb.cp/non-trivial-retval.exp: Add a test.
11854
11855 2014-10-20 Yao Qi <yao@codesourcery.com>
11856
11857 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11858 * gdb.python/py-objfile-script-gdb.py: New file.
11859 * gdb.python/py-objfile-script.exp: Update reference to
11860 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11861 of remote_download. Remove the dest file.
11862
11863 2014-10-20 Yao Qi <yao@codesourcery.com>
11864
11865 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11866 * gdb.base/step-line.exp: Likewise.
11867 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11868 * gdb.dwarf2/dw2-basic.exp: Likewise.
11869 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11870 * gdb.dwarf2/dw2-filename.exp: Likewise.
11871 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11872 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11873 * gdb.dwarf2/dw2-producer.exp: Likewise.
11874 * gdb.dwarf2/mac-fileno.exp: Likewise.
11875 * gdb.python/py-frame-args.exp: Likewise.
11876 * gdb.python/py-framefilter.exp: Likewise.
11877 * gdb.python/py-mi.exp: Likewise.
11878 * gdb.python/py-objfile-script.exp: Likewise
11879 * gdb.python/py-pp-integral.exp: Likewise.
11880 * gdb.python/py-pp-re-notag.exp: Likewise.
11881 * gdb.python/py-prettyprint.exp: Likewise.
11882 * gdb.python/py-section-script.exp: Likewise.
11883 * gdb.python/py-typeprint.exp: Likewise.
11884 * gdb.python/py-xmethods.exp: Likewise.
11885 * gdb.stabs/weird.exp: Likewise.
11886 * gdb.xml/tdesc-regs.exp: Likewise.
11887
11888 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11889
11890 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11891 (out_cu): Use addr_len for the size of addresses.
11892 (out_line): Likewise. Size DW_LNE_set_address instruction
11893 according to addr_len.
11894 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11895 (FUNC): Add START_INSNS to definition.
11896
11897 2014-10-18 Yao Qi <yao@codesourcery.com>
11898
11899 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11900 gdb_has_argv0 return true.
11901 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11902 check [target_info exists noargs], check [gdb_has_argv0]
11903 instead.
11904 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11905 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11906 procedures.
11907
11908 2014-10-17 Doug Evans <dje@google.com>
11909
11910 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11911 event.
11912 * gdb.python/py-events.py: Add clear_objfiles event.
11913
11914 2014-10-17 Doug Evans <dje@google.com>
11915
11916 * gdb.python/py-objfile.exp: Test progspace attribute.
11917
11918 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
11919
11920 * gdb.guile/scm-breakpoint.exp: Do not assume any
11921 directory separators when matching source file paths.
11922 * gdb.python/py-breakpoint.exp: Likewise.
11923 * gdb.reverse/break-precsave.exp: Likewise.
11924 * gdb.reverse/break-reverse.exp: Likewise.
11925 * gdb.reverse/consecutive-precsave.exp: Likewise.
11926 * gdb.reverse/finish-precsave.exp: Likewise.
11927 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11928 * gdb.reverse/finish-reverse.exp: Likewise.
11929 * gdb.reverse/i386-precsave.exp: Likewise.
11930 * gdb.reverse/i387-env-reverse.exp: Likewise.
11931 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11932 * gdb.reverse/machinestate-precsave.exp: Likewise.
11933 * gdb.reverse/machinestate.exp: Likewise.
11934 * gdb.reverse/sigall-precsave.exp: Likewise.
11935 * gdb.reverse/solib-precsave.exp: Likewise.
11936 * gdb.reverse/step-precsave.exp: Likewise.
11937 * gdb.reverse/until-precsave.exp: Likewise.
11938 * gdb.reverse/watch-precsave.exp: Likewise.
11939 * gdb.reverse/watch-reverse.exp: Likewise.
11940
11941 2014-10-17 Yao Qi <yao@codesourcery.com>
11942
11943 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11944 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11945
11946 2014-10-17 Pedro Alves <palves@redhat.com>
11947
11948 PR gdb/17471
11949 * gdb.base/bg-execution-repeat.c: New file.
11950 * gdb.base/bg-execution-repeat.exp: New file.
11951
11952 2014-10-17 Pedro Alves <palves@redhat.com>
11953
11954 PR gdb/17300
11955 * gdb.base/continue-all-already-running.c: New file.
11956 * gdb.base/continue-all-already-running.exp: New file.
11957
11958 2014-10-17 Pedro Alves <palves@redhat.com>
11959
11960 PR gdb/17472
11961 * gdb.base/annota-input-while-running.c: New file.
11962 * gdb.base/annota-input-while-running.exp: New file.
11963
11964 2014-10-17 Pedro Alves <palves@redhat.com>
11965
11966 * gdb.base/callfuncs.exp: emove references to osf.
11967 * gdb.base/sigall.exp: Likewise.
11968 * gdb.gdb/selftest.exp: Likewise.
11969 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11970 * gdb.mi/non-stop.c: Likewise.
11971 * gdb.mi/pthreads.c: Likewise.
11972 * gdb.reverse/sigall-precsave.exp: Likewise.
11973 * gdb.reverse/sigall-reverse.exp: Likewise.
11974 * gdb.threads/pthreads.c: Likewise.
11975 * gdb.threads/pthreads.exp: Likewise.
11976
11977 2014-10-17 Yao Qi <yao@codesourcery.com>
11978
11979 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11980 check 'target_info exists noargs'.
11981 (test_command_prompt_position): Likewise.
11982 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11983 Remove "set args".
11984 (progvar_simple_while_test): Likewise.
11985 (progvar_complex_if_while_test): Likewise.
11986 (if_while_breakpoint_command_test): Likewise.
11987 (infrun_breakpoint_command_test): Likewise.
11988 (breakpoint_command_test): Likewise.
11989 (watchpoint_command_test): Likewise.
11990 (bp_deleted_in_command_test): Likewise.
11991 (temporary_breakpoint_commands): Likewise.
11992
11993 2014-10-16 Yao Qi <yao@codesourcery.com>
11994
11995 * gdb.base/remotetimeout.exp: Remove noargs checking.
11996
11997 2014-10-15 Pedro Alves <palves@redhat.com>
11998
11999 PR breakpoints/9649
12000 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12001 * gdb.base/breakpoint-in-ro-region.exp
12002 (probe_target_hardware_step): New procedure.
12003 (top level): Probe hardware stepping and hardware breakpoint
12004 support. Test stepping through a read-only region, with both
12005 "breakpoint auto-hw" on and off and both "always-inserted" on and
12006 off.
12007
12008 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
12009
12010 * gdb.dlang/demangle.exp: Update for demangling changes.
12011
12012 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12013
12014 * gdb.cp/non-trivial-retval.cc: Add new test cases.
12015 * gdb.cp/non-trivial-retval.exp: Add new tests.
12016
12017 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12018
12019 PR c++/13403
12020 PR c++/15154
12021 * gdb.cp/non-trivial-retval.cc: New file.
12022 * gdb.cp/non-trivial-retval.exp: New file.
12023
12024 2014-10-15 Yao Qi <yao@codesourcery.com>
12025
12026 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12027 remote host.
12028
12029 2014-10-15 Yao Qi <yao@codesourcery.com>
12030
12031 * gdb.python/py-symbol.exp: Match file base name if host is
12032 remote, otherwise match file name with dir name.
12033 * gdb.python/py-symtab.exp: Likewise.
12034 * gdb.python/python.exp: Likewise.
12035
12036 2014-10-15 Yao Qi <yao@codesourcery.com>
12037
12038 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12039 pattern.
12040 * gdb.python/py-symtab.exp: Likewise.
12041 * gdb.python/python.exp: Remove trailing ".*". Fix typo
12042 locationn.
12043
12044 2014-10-14 Joel Brobecker <brobecker@adacore.com>
12045
12046 * gdb.ada/addr_arith: New testcase.
12047
12048 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
12049
12050 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12051 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12052 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12053 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12054
12055 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
12056
12057 * gdb.arch/stap-eval-lang-ada.S: Likewise.
12058 * gdb.arch/stap-eval-lang-ada.c: Likewise.
12059 * gdb.arch/stap-eval-lang-ada.exp: New file.
12060
12061 2014-10-14 Yao Qi <yao@codesourcery.com>
12062
12063 * gdb.mi/mi-var-child.c (nothing1): New function.
12064 (nothing2): New function.
12065 (do_children_tests): Set function pointers by nothing1 and
12066 nothing2.
12067 * gdb.mi/mi-var-child.exp: Step over new added statements.
12068 Update test to match the new output.
12069 * gdb.mi/var-cmd.c (nothing1): New function.
12070 (nothing2): New function.
12071 (do_children_tests): Set function pointers by nothing1 and
12072 nothing2.
12073 * gdb.mi/mi-var-display.exp: Update test to match output.
12074 Step to the line specified by $line_dct_nothing.
12075 Increase the number of lines to step.
12076
12077 2014-10-14 Yao Qi <yao@codesourcery.com>
12078
12079 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12080 tests.
12081 * gdb.mi/mi2-var-child.exp: Likewise.
12082
12083 2014-10-13 Doug Evans <dje@google.com>
12084
12085 * gdb.python/py-objfile.exp: Change name of file name test.
12086
12087 2014-10-13 Doug Evans <dje@google.com>
12088
12089 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12090 from the start of the CU.
12091
12092 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12093 Yao Qi <yao@codesourcery.com>
12094
12095 Fix "save breakpoints" for "catch" command.
12096 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12097 Remove -nonewline. Match also the added "main" line.
12098
12099 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12100
12101 Fix "save breakpoints" for "disable $bpnum" command.
12102 * gdb.base/save-bp.c (main): Add label.
12103 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
12104
12105 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12106
12107 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12108
12109 2014-10-11 Yao Qi <yao@codesourcery.com>
12110
12111 * gdb.server/server-kill.exp: Execute command
12112 "set remote trace-status-packet on" before "tstatus".
12113
12114 2014-10-11 Yao Qi <yao@codesourcery.com>
12115
12116 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12117 (main): Call getppid.
12118 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12119 and continue to it. Read variable "server_pid".
12120
12121 2014-10-11 Yao Qi <yao@codesourcery.com>
12122
12123 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12124
12125 2014-10-11 Yao Qi <yao@codesourcery.com>
12126
12127 * gdb.threads/thread-find.exp: Don't execute command
12128 "info threads".
12129 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12130 * gdb.threads/linux-dp.exp: Don't check the condition
12131 $threads_created equals to zero.
12132
12133 2014-10-10 Pedro Alves <palves@redhat.com>
12134
12135 * gdb.base/bigcore.exp: Remove references to IRIX.
12136 * gdb.base/funcargs.exp: Likewise.
12137 * gdb.base/interrupt.exp: Likewise.
12138 * gdb.base/mips_pro.exp: Likewise.
12139 * gdb.base/nodebug.exp: Likewise.
12140 * gdb.base/setvar.exp: Likewise.
12141 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12142
12143 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12144 Pedro Alves <palves@redhat.com>
12145
12146 PR symtab/14466
12147 * gdb.base/vdso-warning.c: New file.
12148 * gdb.base/vdso-warning.exp: New file.
12149
12150 2014-10-02 Doug Evans <dje@google.com>
12151
12152 * gdb.base/structs.c (main): Don't run forever.
12153
12154 2014-10-02 Pedro Alves <palves@redhat.com>
12155
12156 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12157 (top level) <stop threads 1, stop threads 2>: Use it.
12158
12159 2014-10-02 Pedro Alves <palves@redhat.com>
12160
12161 * gdb.threads/break-while-running.exp (test): Add new
12162 'update_thread_list' argument. Skip "info threads" if false.
12163 (top level): Add new 'update_thread_list' axis.
12164
12165 2014-10-02 Pedro Alves <palves@redhat.com>
12166
12167 PR breakpoints/17431
12168 * gdb.base/execl-update-breakpoints.c: New file.
12169 * gdb.base/execl-update-breakpoints.exp: New file.
12170
12171 2014-10-01 Pedro Alves <palves@redhat.com>
12172
12173 * gdb.base/breakpoint-in-ro-region.c: New file.
12174 * gdb.base/breakpoint-in-ro-region.exp: New file.
12175
12176 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
12177
12178 * gdb.mi/mi-exit-code.exp: New file.
12179 * gdb.mi/mi-exit-code.c: New file.
12180
12181 2014-09-30 Yao Qi <yao@codesourcery.com>
12182
12183 * lib/prelink-support.exp (build_executable_own_libs): Error if
12184 the target isn't native.
12185
12186 2014-09-30 Yao Qi <yao@codesourcery.com>
12187
12188 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12189 false.
12190
12191 2014-09-22 Pedro Alves <palves@redhat.com>
12192
12193 * gdb.threads/break-while-running.exp: New file.
12194 * gdb.threads/break-while-running.c: New file.
12195
12196 2014-09-19 Yao Qi <yao@codesourcery.com>
12197
12198 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12199 Invoke test. Restart GDB with --readnow and invoke test again.
12200
12201 2014-09-19 Yao Qi <yao@codesourcery.com>
12202
12203 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12204 proc set_breakpoint_on_gcd_function. Invoke
12205 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12206 invoke set_breakpoint_on_gcd_function again.
12207
12208 2014-09-18 Doug Evans <dje@google.com>
12209
12210 * gdb.dwarf2/symtab-producer.exp: New file.
12211
12212 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12213
12214 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12215 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12216 * gdb.base/global-var-nested-by-dso.c: Likewise.
12217 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12218
12219 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12220 Pedro Alves <palves@redhat.com>
12221
12222 * gdb.base/watch-bitfields.exp: Pass string other than test file
12223 name to prepare_for_testing.
12224 (watch): New procedure.
12225 (expect_watchpoint): Use with_test_prefix.
12226 (top level): Factor out tests to ...
12227 (test_watch_location, test_regular_watch): ... these new
12228 procedures, and use with_test_prefix and gdb_continue_to_end.
12229
12230 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12231
12232 PR breakpoints/12526
12233 * gdb.base/watch-bitfields.exp: New file.
12234 * gdb.base/watch-bitfields.c: New file.
12235
12236 2014-09-16 Pedro Alves <palves@redhat.com>
12237
12238 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12239 software and hardware addresses, not software address against
12240 itself.
12241
12242 2014-09-16 Pedro Alves <palves@redhat.com>
12243
12244 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12245 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12246
12247 2014-09-16 Pedro Alves <palves@redhat.com>
12248
12249 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12250 files.
12251 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12252 "*-*-vxworks*" throughout.
12253 * gdb.base/break.exp: Likewise.
12254 * gdb.base/default.exp: Likewise.
12255 * gdb.base/scope.exp: Likewise.
12256 * gdb.base/sepdebug.exp: Likewise.
12257 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12258 throughout.
12259 * gdb.base/run.c: Likewise.
12260 * gdb.base/sepdebug.c: Likewise.
12261 * gdb.hp/gdb.aCC/run.c: Likewise.
12262 * gdb.reverse/until-reverse.c: Likewise.
12263 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12264
12265 2014-09-16 Yao Qi <yao@codesourcery.com>
12266
12267 * boards/local-remote-host-native.exp: New file.
12268
12269 2014-09-14 Doug Evans <xdje42@gmail.com>
12270
12271 * gdb.threads/queue-signal.c (thread_count): New variable.
12272 (thread_count_mutex, thread_count_condvar): New variables.
12273 (incr_thread_count, wait_all_threads_running): New functions.
12274 (main): Wait for all threads to be in their thread functions.
12275
12276 2014-09-13 Doug Evans <xdje42@gmail.com>
12277
12278 * gdb.threads/queue-signal.c: New file.
12279 * gdb.threads/queue-signal.exp: New file.
12280
12281 2014-09-13 Doug Evans <xdje42@gmail.com>
12282
12283 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12284 be consistent with what default_gdb_init uses.
12285 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12286 the plain text of the prompt. Add some logging printfs.
12287 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12288
12289 2014-09-12 Pedro Alves <palves@redhat.com>
12290
12291 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12292 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12293 * gdb.arch/i386-size-overlap.exp: Likewise.
12294 * gdb.arch/i386-size.exp: Likewise.
12295 * gdb.arch/i386-unwind.exp: Likewise.
12296 * gdb.base/a2-run.exp: Likewise.
12297 * gdb.base/break.exp: Likewise.
12298 * gdb.base/charset.exp: Likewise.
12299 * gdb.base/chng-syms.exp: Likewise.
12300 * gdb.base/commands.exp: Likewise.
12301 * gdb.base/dbx.exp: Likewise.
12302 * gdb.base/find.exp: Likewise.
12303 * gdb.base/funcargs.exp: Likewise.
12304 * gdb.base/jit-simple.exp: Likewise.
12305 * gdb.base/reread.exp: Likewise.
12306 * gdb.base/sepdebug.exp: Likewise.
12307 * gdb.base/step-bt.exp: Likewise.
12308 * gdb.cp/mb-inline.exp: Likewise.
12309 * gdb.cp/mb-templates.exp: Likewise.
12310 * gdb.objc/basicclass.exp: Likewise.
12311 * gdb.threads/killed.exp: Likewise.
12312
12313 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12314
12315 PR tdep/17379
12316 * gdb.arch/powerpc-stackless.S: New file.
12317 * gdb.arch/powerpc-stackless.exp: New file.
12318
12319 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12320
12321 * gdb.base/attach.c: Include unistd.h.
12322 (main): Call alarm. Add label postloop.
12323 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12324 gdb_breakpoint, gdb_continue_to_breakpoint.
12325 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12326
12327 2014-09-11 Pedro Alves <palves@redhat.com>
12328
12329 PR gdb/17347
12330 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12331 * gdb.base/attach.exp (test_command_line_attach_run): New
12332 procedure.
12333 (top level): Call it.
12334
12335 2014-09-11 Pedro Alves <palves@redhat.com>
12336
12337 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12338 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12339 (do_command_attach_tests): Use spawn_wait_for_attach.
12340 * gdb.base/solib-overlap.exp: Likewise.
12341 * gdb.multi/multi-attach.exp: Likewise.
12342 * gdb.python/py-prompt.exp: Likewise.
12343 * gdb.python/py-sync-interp.exp: Likewise.
12344 * gdb.server/ext-attach.exp: Likewise.
12345
12346 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12347
12348 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12349 command in testcase. Simplify testcase.
12350
12351 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12352
12353 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12354
12355 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12356
12357 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12358
12359 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12360
12361 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12362
12363 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12364
12365 * gdb.dwarf2/dynarr-ptr.c: New file.
12366 * gdb.dwarf2/dynarr-ptr.exp: New file.
12367
12368 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12369
12370 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12371 of 30 rather than hardcoding 120 for a slow test case. Take the
12372 `gdb,timeout' target setting into account for this calculation.
12373 Don't extend the timeout for the test cases that don't need it.
12374
12375 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12376
12377 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12378 a factor of 2 for a slow test case. Take the `gdb,timeout'
12379 target setting into account for this calculation.
12380 * gdb.reverse/until-precsave.exp: Increase the timeout by
12381 a factor of 15 and 3 respectively rather than adding 120
12382 for a pair of slow test cases. Take the `gdb,timeout'
12383 target setting into account for this calculation.
12384
12385 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12386
12387 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12388 timeout, don't pass one down to gdb_expect.
12389 (gdb_expect): Rework timeout selection.
12390
12391 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12392
12393 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12394 exception on timeout.
12395 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12396 (gdbserver_start_extended): Catch any `gdbserver_start' error
12397 exceptions.
12398 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12399 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12400 `gdbserver_gdb_load' error exceptions.
12401
12402 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12403
12404 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12405 120 on waiting for the TCP socket to open.
12406
12407 2014-09-09 Doug Evans <xdje42@gmail.com>
12408
12409 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12410 _caller_matches, _any_caller_is, _any_caller_matches.
12411
12412 2014-09-09 Doug Evans <xdje42@gmail.com>
12413
12414 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12415
12416 2014-09-09 Yao Qi <yao@codesourcery.com>
12417
12418 * gdb.mi/mi-var-display.exp: Set print symbol off.
12419
12420 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12421
12422 PR gdb/17035
12423 * gdb.base/commands.exp: Add tests to verify user-defined
12424 commands with empty bodies.
12425 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12426 python commands in `show user command`.
12427 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12428 scheme commands in `show user command`.
12429
12430 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12431
12432 PR python/17355
12433 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12434 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12435 * gdb.python/py-framefilter-invalidarg.exp: New file.
12436 * gdb.python/py-framefilter-invalidarg.py: New file.
12437
12438 2014-09-06 Doug Evans <xdje42@gmail.com>
12439
12440 PR 15276
12441 * gdb.python/py-caller-is.c: New file.
12442 * gdb.python/py-caller-is.exp: New file.
12443
12444 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12445
12446 PR gdb/17235
12447 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12448 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12449
12450 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12451
12452 PR fortran/17237
12453 * gdb.fortran/print-formatted.exp: New file.
12454 * gdb.fortran/print-formatted.f90: Likewise.
12455
12456 2014-09-03 Sasha Smundak <asmundak@google.com>
12457
12458 * gdb.python/py-frame.exp: Test Frame.read_register.
12459
12460 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12461
12462 PR python/16699
12463 * gdb.python/py-completion.exp: New file.
12464 * gdb.python/py-completion.py: Likewise.
12465
12466 2014-08-28 Doug Evans <dje@google.com>
12467
12468 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12469 eax,etc. are live with values set by gdb and thus the compiler can't
12470 use them.
12471 * gdb.arch/i386-pseudo.c (main): Ditto.
12472
12473 2014-08-27 Doug Evans <dje@google.com>
12474
12475 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12476
12477 2014-08-25 Doug Evans <dje@google.com>
12478
12479 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12480 (main): Ditto.
12481
12482 2014-08-25 Doug Evans <dje@google.com>
12483
12484 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12485
12486 2014-08-24 Yao Qi <yao@codesourcery.com>
12487
12488 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12489 symbol off.
12490 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12491
12492 2014-08-22 Doug Evans <dje@google.com>
12493
12494 PR 17276
12495 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12496 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12497 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12498
12499 2014-08-22 Yao Qi <yao@codesourcery.com>
12500
12501 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12502 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12503 * gdb.python/python.exp: Likewise. Use .py file on the host
12504 instead of the build.
12505
12506 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12507
12508 * gdb.threads/gcore-stale-thread.c: New file.
12509 * gdb.threads/gcore-stale-thread.exp: New file.
12510
12511 2014-08-21 Pedro Alves <palves@redhat.com>
12512
12513 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12514 * gdb.base/gcore-relro-pie.exp: Likewise.
12515 * gdb.base/gcore-relro.exp: Likewise.
12516 * gdb.base/gcore.exp: Likewise.
12517 * gdb.base/print-symbol-loading.exp: Likewise.
12518 * gdb.threads/gcore-thread.exp: Likewise.
12519 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12520
12521 2014-08-20 Pedro Alves <palves@redhat.com>
12522 Jan Kratochvil <jan.kratochvil@redhat.com>
12523
12524 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12525 configure.
12526 (EXPECT): Handle READ1 being set.
12527 (all): Depend on EXTRA_RULES.
12528 (check-read1, expect-read1, read1.so, read1): New rules.
12529 * README (Testsuite Parameters): Document the READ1 make variable.
12530 (Race detection): New section.
12531 * configure: Regenerate.
12532 * configure.ac: If build==host==target, and running under a
12533 GNU/glibc system, add read1 to the extra Makefile rules.
12534 (EXTRA_RULES): AC_SUBST it.
12535 * lib/read1.c: New file.
12536
12537 2014-08-20 Joel Brobecker <brobecker@adacore.com>
12538
12539 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12540 the handling of variables declared as a typedef to an array
12541 which a DW_AT_data_location attribute.
12542
12543 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
12544 Pedro Alves <palves@redhat.com>
12545
12546 PR symtab/14604
12547 PR symtab/14605
12548 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12549 gdb_test.
12550
12551 2014-08-19 Pedro Alves <palves@redhat.com>
12552
12553 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12554
12555 2014-08-19 Yao Qi <yao@codesourcery.com>
12556
12557 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12558 right line.
12559
12560 2014-08-18 David Blaikie <dblaikie@gmail.com>
12561
12562 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12563
12564 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12565
12566 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12567 attribute in array range.
12568
12569 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12570
12571 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12572
12573 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12574
12575 PR c++/17132
12576 * gdb.cp/pr17132.cc: New file.
12577 * gdb.cp/pr17132.exp: New file.
12578
12579 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12580
12581 * gdb.python/py-xmethods.py (A_getarrayind)
12582 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12583 Use 'print' with function call syntax.
12584 (E_method_matcher.match): Fix tab vs space indentation mixup.
12585
12586 2014-08-15 Yao Qi <yao@codesourcery.com>
12587
12588 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12589 false.
12590
12591 2014-08-15 Yao Qi <yao@codesourcery.com>
12592
12593 * gdb.cp/casts.exp: Set print symbol off.
12594 * gdb.cp/class2.exp: Likewise.
12595 * gdb.cp/overload.exp: Likewise.
12596 * gdb.cp/templates.exp: Likewise.
12597
12598 2014-08-11 Doug Evans <dje@google.com>
12599
12600 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12601 (test_load_shlib): Update.
12602
12603 2014-08-09 Yao Qi <yao@codesourcery.com>
12604
12605 * gdb.base/display.exp: Invoke is_address_zero_readable.
12606 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12607 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12608 * gdb.base/hbreak-unmapped.exp: Return if
12609 is_address_zero_readable returns true.
12610 * gdb.base/signest.exp: Likewise.
12611 * gdb.base/signull.exp: Likewise.
12612 * gdb.base/sigbpt.exp: Likewise.
12613 * gdb.guile/scm-disasm.exp: Do the test if
12614 is_address_zero_readable returns false.
12615 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12616 * gdb.python/py-arch.exp: Likewise.
12617 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12618 * lib/gdb.exp (is_address_zero_readable): New proc.
12619
12620 2014-08-09 Yao Qi <yao@codesourcery.com>
12621
12622 PR testsuite/13443
12623 * gdb.mi/mi-var-display.exp: Make test messages unique.
12624
12625 2014-08-04 Tom Tromey <tromey@redhat.com>
12626
12627 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12628 target 0".
12629
12630 2014-08-04 Tom Tromey <tromey@redhat.com>
12631
12632 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12633 "target_resume".
12634
12635 2014-08-01 Joel Brobecker <brobecker@adacore.com>
12636
12637 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12638 inner_vla_struct_object_size.
12639 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12640 as xfail.
12641
12642 2014-07-30 Pedro Alves <palves@redhat.com>
12643
12644 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12645 comment.
12646
12647 2014-07-29 Yao Qi <yao@codesourcery.com>
12648
12649 PR gdb/17206
12650 * gdb.base/until-nodebug.exp: New.
12651
12652 2014-07-28 Doug Evans <xdje42@gmail.com>
12653
12654 PR guile/17203
12655 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12656 previously existing parameter, and previously ambiguously spelled
12657 parameter.
12658
12659 2014-07-28 Will Newton <will.newton@linaro.org>
12660
12661 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12662
12663 2014-07-26 Ludovic Courtès <ludo@gnu.org>
12664 Doug Evans <xdje42@gmail.com>
12665
12666 PR guile/17146
12667 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12668
12669 2014-07-25 Pedro Alves <palves@redhat.com>
12670
12671 * gdb.threads/signal-command-handle-nopass.c: New file.
12672 * gdb.threads/signal-command-handle-nopass.exp: New file.
12673 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12674 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12675 * gdb.threads/signal-delivered-right-thread.c: New file.
12676 * gdb.threads/signal-delivered-right-thread.exp: New file.
12677
12678 2014-07-25 Pedro Alves <palves@redhat.com>
12679
12680 * gdb.base/double-prompt-target-event-error.exp
12681 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12682 match.
12683 (cancel_pagination_in_target_event): Rework double prompt
12684 detection.
12685 * gdb.base/paginate-after-ctrl-c-running.exp
12686 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12687 <return>' match.
12688 * gdb.base/paginate-bg-execution.exp
12689 (test_bg_execution_pagination_return)
12690 (test_bg_execution_pagination_cancel): Remove '-notransfer
12691 <return>' matches.
12692 * gdb.base/paginate-execution-startup.exp
12693 (test_fg_execution_pagination_return)
12694 (test_fg_execution_pagination_cancel): Remove '-notransfer
12695 <return>' matches.
12696 * gdb.base/paginate-inferior-exit.exp
12697 (test_paginate_inferior_exited): Remove '-notransfer <return>'
12698 match.
12699 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12700 * lib/gdb.exp (pagination_prompt): Run text through
12701 string_to_regexp.
12702 (gdb_test_multiple): Match $pagination_prompt instead of
12703 "<return>".
12704 (string_to_regexp): Move to lib/gdb-utils.exp.
12705
12706 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12707
12708 * gdb.arch/amd64-entry-value-paramref.S: New file.
12709 * gdb.arch/amd64-entry-value-paramref.cc: New file.
12710 * gdb.arch/amd64-entry-value-paramref.exp: New file.
12711 * gdb.arch/amd64-optimout-repeat.S: New file.
12712 * gdb.arch/amd64-optimout-repeat.c: New file.
12713 * gdb.arch/amd64-optimout-repeat.exp: New file.
12714
12715 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12716
12717 PR gdb/17170
12718 * gdb.base/statistics.exp: New file.
12719
12720 2014-07-17 Doug Evans <dje@google.com>
12721
12722 PR gdb/17170
12723 * gdb.base/maint.exp: Update testing of per-command stats.
12724
12725 2014-07-16 Pedro Alves <palves@redhat.com>
12726
12727 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12728 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12729 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12730 (tfile_write_buf): New functions.
12731 (add_memory_block): Rewrite using the above.
12732 (adjust_function_address): New function.
12733 (FUNCTION_ADDRESS): New macro.
12734 (write_basic_trace_file): Remove short_x local, and use
12735 tfile_write_16. Change type of func_addr local to unsigned long
12736 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
12737 here. Cast argument of add_memory_block to char pointer.
12738 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
12739 (main): Remove parameters.
12740 * gdb.trace/tfile.exp: Remove nowarnings.
12741
12742 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
12743
12744 * gdb.base/debug-expr.exp: Test string evaluation with
12745 "debug expression" on.
12746
12747 2014-07-15 Pedro Alves <palves@redhat.com>
12748
12749 * gdb.base/reread.exp: Use clean_restart.
12750
12751 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
12752
12753 * gdb.arch/avr-flash-qualifer.c: New.
12754 * gdb.arch/avr-flash-qualifer.exp: New.
12755
12756 2014-07-14 Pedro Alves <palves@redhat.com>
12757
12758 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12759 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12760
12761 2014-07-14 Pedro Alves <palves@redhat.com>
12762
12763 * gdb.base/double-prompt-target-event-error.c: New file.
12764 * gdb.base/double-prompt-target-event-error.exp: New file.
12765
12766 2014-07-14 Pedro Alves <palves@redhat.com>
12767
12768 PR gdb/17072
12769 * gdb.base/paginate-inferior-exit.c: New file.
12770 * gdb.base/paginate-inferior-exit.exp: New file.
12771
12772 2014-07-14 Pedro Alves <palves@redhat.com>
12773
12774 PR gdb/17072
12775 * gdb.base/paginate-bg-execution.c: New file.
12776 * gdb.base/paginate-bg-execution.exp: New file.
12777
12778 2014-07-14 Pedro Alves <palves@redhat.com>
12779
12780 PR gdb/17072
12781 * gdb.base/paginate-execution-startup.c: New file.
12782 * gdb.base/paginate-execution-startup.exp: New file.
12783 * lib/gdb.exp (pagination_prompt): New global.
12784 (default_gdb_spawn): New procedure, factored out from
12785 default_gdb_spawn.
12786 (default_gdb_start): Adjust to call default_gdb_spawn.
12787 (gdb_spawn): New procedure.
12788
12789 2014-07-14 Pedro Alves <palves@redhat.com>
12790
12791 * lib/gdb.exp (gdb_assert): New procedure.
12792 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12793
12794 2014-07-14 Pedro Alves <palves@redhat.com>
12795
12796 * gdb.base/execution-termios.c: New file.
12797 * gdb.base/execution-termios.exp: New file.
12798
12799 2014-07-14 Tom Tromey <tromey@redhat.com>
12800
12801 * gdb.cp/vla-cxx.cc: New file.
12802 * gdb.cp/vla-cxx.exp: New file.
12803
12804 2014-07-14 Tom Tromey <tromey@redhat.com>
12805
12806 * gdb.reverse/rerun-prec.c: New file.
12807 * gdb.reverse/rerun-prec.exp: New file.
12808
12809 2014-07-12 Maciej W. Rozycki <macro@mips.com>
12810 Maciej W. Rozycki <macro@codesourcery.com>
12811
12812 * lib/gdb-utils.exp: New file.
12813 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12814 inline `gdb_init_command' processing.
12815 (gdb_start_cmd): Likewise.
12816 * lib/mi-support.exp (mi_run_cmd): Likewise.
12817 * README: Document `gdb_init_command' and `gdb_init_commands'.
12818
12819 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12820
12821 Fix false FAIL running under a very long directory name.
12822 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12823 and "set print elements 10000". Twice.
12824
12825 2014-07-11 Yao Qi <yao@codesourcery.com>
12826
12827 * gdb.base/exprs.exp: "set print symbol off".
12828
12829 2014-07-11 Pedro Alves <palves@redhat.com>
12830
12831 * gdb.threads/kill.c: New file.
12832 * gdb.threads/kill.exp: New file.
12833
12834 2014-07-10 Yao Qi <yao@codesourcery.com>
12835
12836 * gdb.trace/tfile.c (write_basic_trace_file)
12837 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12838 address written to trace file.
12839
12840 2014-07-09 Pedro Alves <palves@redhat.com>
12841
12842 * gdb.base/attach-wait-input.exp: New file.
12843 * gdb.base/attach-wait-input.c: New file.
12844
12845 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12846
12847 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12848 setting up test structures.
12849 (main): Call new test function.
12850 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12851 test function, continue into test function and walk test
12852 structures.
12853
12854 2014-07-02 Yao Qi <yao@codesourcery.com>
12855
12856 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12857 'bar_start' at the beginning of functions 'foo' and 'bar'
12858 respectively.
12859 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12860 instead of 'foo' and 'bar'.
12861
12862 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12863
12864 * gdb.btrace/segv.exp: New.
12865 * gdb.btrace/segv.c: New.
12866
12867 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
12868
12869 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12870 instruction.
12871
12872 2014-06-30 Mark Wielaard <mjw@redhat.com>
12873
12874 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12875 vulture, vilify, villar): New volatile array constants.
12876 (vindictive, vegetation): New const volatile array constants.
12877 * gdb.base/volatile.exp: Test volatile and const volatile array
12878 types.
12879
12880 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12881
12882 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12883 target lacks support for awatch, rwatch, or hbreak.
12884
12885 2014-06-27 Yao Qi <yao@codesourcery.com>
12886
12887 * gdb.multi/dummy-frame-restore.exp: New.
12888 * gdb.multi/dummy-frame-restore.c: New.
12889
12890 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12891
12892 * gdb.btrace/gcore.exp: New.
12893
12894 2014-06-23 Pedro Alves <palves@redhat.com>
12895
12896 * gdb.base/watchpoint-reuse-slot.c: New file.
12897 * gdb.base/watchpoint-reuse-slot.exp: New file.
12898
12899 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12900
12901 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12902 progspace's filename in 'info', 'enable' and 'disable' command
12903 tests.
12904
12905 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12906
12907 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12908 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12909 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12910
12911 2014-06-20 Gary Benson <gbenson@redhat.com>
12912
12913 * gdb.arch/i386-avx.exp: Fix include file location.
12914 * gdb.arch/i386-sse.exp: Likewise.
12915
12916 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12917
12918 * gdb.dlang/expression.exp: New file.
12919
12920 2014-06-19 Pedro Alves <palves@redhat.com>
12921
12922 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12923 out from ...
12924 (top level): ... here. Iterate running tests under different
12925 scheduler-locking settings.
12926
12927 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
12928
12929 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12930 to DW_FORM_addr and use non-zero addresses.
12931
12932 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12933
12934 PR gdb/17017
12935 * gdb.python/py-xmethods.cc: Add global function call counters and
12936 increment them in their respective functions. Remove "cout"
12937 statements.
12938 * gdb.python/py-xmethods.exp: Make tests check the global function
12939 call counters instead of depending on inferior IO.
12940
12941 2014-06-18 Don Breazeal <donb@codesourcery.com>
12942
12943 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12944 Deleted procedure.
12945 (explicit_fork_parent_follow): Deleted procedure.
12946 (explicit_fork_child_follow): Deleted procedure.
12947 (test_follow_fork): New procedure.
12948 (do_fork_tests): Replace calls to deleted procedures with
12949 calls to test_follow_fork and reset GDB for subsequent
12950 procedure calls.
12951
12952 2014-06-17 Yao Qi <yao@codesourcery.com>
12953
12954 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12955 CP1252.
12956
12957 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
12958
12959 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12960 Initialize ptr and S explicitly.
12961 (skip_type_update_when_not_use_rtti_test): Likewise.
12962
12963 2014-06-16 Keith Seitz <keiths@redhat.com>
12964
12965 PR mi/15863
12966 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12967 the inferior is started.
12968
12969 2014-06-16 Pedro Alves <palves@redhat.com>
12970
12971 * gdb.base/break-main-file-remove-fail.c: New file.
12972 * gdb.base/break-main-file-remove-fail.exp: New file.
12973 * gdb.base/break-unload-file.exp: Use build_executable instead of
12974 prepare_for_testing.
12975 (test_break): New parameter "initial_load". Handle it.
12976 (top level): Add initial_load cmdline/file axis.
12977
12978 2014-06-12 Tom Tromey <tromey@redhat.com>
12979
12980 * gdb.base/completion.exp: Don't use directory name in test.
12981
12982 2014-06-09 Gary Benson <gbenson@redhat.com>
12983
12984 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12985 separate the always-available ANSI-standard signals from the
12986 signals that require checking.
12987 (main): Likewise.
12988 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12989 Likewise.
12990 (main): Likewise.
12991
12992 2014-06-07 Keith Seitz <keiths@redhat.com>
12993
12994 Revert:
12995 PR c++/16253
12996 * gdb.cp/var-tag.cc: New file.
12997 * gdb.cp/var-tag.exp: New file.
12998 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12999 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13000 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13001 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13002
13003 2014-06-06 Doug Evans <xdje42@gmail.com>
13004
13005 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13006
13007 2014-06-06 Pedro Alves <palves@redhat.com>
13008
13009 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13010 in target debug output instead of looking at RSP packets,
13011 disabling the test on any target that uses hardware stepping.
13012 Update comments.
13013
13014 2014-06-06 Pedro Alves <palves@redhat.com>
13015
13016 * gdb.base/break-unload-file.exp: Fix typo.
13017
13018 2014-06-06 Yao Qi <yao@codesourcery.com>
13019
13020 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13021 from "jit_function" to "^jit_function".
13022
13023 2014-06-06 Yao Qi <yao@codesourcery.com>
13024
13025 * gdb.base/async.c (foo): Add one statement.
13026 * gdb.base/async.exp: Get the next instruction address and
13027 match the output of "nexti" by instruction address. Match
13028 the hex address in the output of "finish".
13029
13030 2014-06-06 Gary Benson <gbenson@redhat.com>
13031
13032 * gdb.base/call-signals.c: Remove preprocessor conditionals
13033 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13034 SIGSEGV and SIGTERM.
13035 * gdb.base/sigall.c: Likewise.
13036 * gdb.base/unwindonsignal.c: Likewise.
13037 * gdb.reverse/sigall-reverse.c: Likewise.
13038
13039 2014-06-06 Yao Qi <yao@codesourcery.com>
13040
13041 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
13042 readable, skip the test.
13043
13044 2014-06-06 Yao Qi <yao@codesourcery.com>
13045
13046 * gdb.threads/staticthreads.c (thread_function): Move the line
13047 setting breakpoint on forward.
13048 * gdb.threads/staticthreads.exp: Update comments.
13049
13050 2014-06-05 Ludovic Courtès <ludo@gnu.org>
13051
13052 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13053 "history-append! type error".
13054
13055 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
13056
13057 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13058 erroneous dprintf expected input.
13059
13060 2014-06-04 Doug Evans <xdje42@gmail.com>
13061
13062 * gdb.guile/scm-generics.exp: Delete.
13063
13064 2014-06-04 Doug Evans <xdje42@gmail.com>
13065
13066 * gdb.guile/scm-breakpoint.exp: Update.
13067 Add tests for breakpoint registration.
13068
13069 2014-06-04 Tom Tromey <tromey@redhat.com>
13070
13071 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13072 VLA-in-union.
13073 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13074 inner_vla_struct, vla_union types. Initialize objects of those
13075 types and compute their sizes.
13076
13077 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
13078 Hui Zhu <hui@codesourcery.com>
13079
13080 * gdb.base/fileio.exp: Add test for shell not available as well as
13081 available.
13082 * gdb.base/fileio.c (test_system): Check for shell twice.
13083
13084 2014-06-04 Yao Qi <yao@codesourcery.com>
13085
13086 * gdb.base/auto-connect-native-target.exp: Remove redundant
13087 space from the regexp pattern.
13088
13089 2014-06-04 Yao Qi <yao@codesourcery.com>
13090
13091 * gdb.base/default.exp: Replace "child" with "native" in
13092 regexp pattern.
13093
13094 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
13095
13096 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13097 * gdb.python/py-xmethods.exp: New tests to test xmethods.
13098 * gdb.python/py-xmethods.py: Python script supporting the
13099 new testcase and tests.
13100
13101 2014-06-03 Joel Brobecker <brobecker@adacore.com>
13102 Pedro Alves <palves@redhat.com>
13103
13104 PR breakpoints/17000
13105 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13106 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13107
13108 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
13109
13110 * gdb.base/subst.exp: Add tests to verify partial path matching
13111 output.
13112
13113 2014-06-03 Pedro Alves <palves@redhat.com>
13114
13115 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13116 target that doesn't use software single-stepping.
13117
13118 2014-06-03 Pedro Alves <palves@redhat.com>
13119
13120 PR breakpoints/17000
13121 * gdb.base/sss-bp-on-user-bp-2.c: New file.
13122 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13123
13124 2014-06-02 Doug Evans <xdje42@gmail.com>
13125
13126 * gdb.guile/scm-parameter.exp: New file.
13127
13128 2014-06-02 Doug Evans <xdje42@gmail.com>
13129
13130 * gdb.guile/scm-cmd.c: New file.
13131 * gdb.guile/scm-cmd.exp: New file.
13132
13133 2014-06-02 Doug Evans <xdje42@gmail.com>
13134
13135 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13136 pretty-printer lookup.
13137 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13138 (make-pp_s-printer): Call it.
13139 (make-pretty-printer-from-dict): New function.
13140 (lookup-pretty-printer-maker-from-dict): New function.
13141 (*pretty-printer*): Simplify.
13142 (make-objfile-pp_s-printer): New function.
13143 (install-objfile-pretty-printers!): New function.
13144 (make-progspace-pp_s-printer): New function.
13145 (install-progspace-pretty-printers!): New function.
13146 * gdb.guile/scm-progspace.c: New file.
13147 * gdb.guile/scm-progspace.exp: New file.
13148
13149 2014-06-02 Pedro Alves <palves@redhat.com>
13150
13151 * gdb.base/dprintf-bp-same-addr.c: New file.
13152 * gdb.base/dprintf-bp-same-addr.exp: New file.
13153
13154 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13155
13156 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13157 * gdb.arch/powerpc-power.s: Likewise.
13158
13159 2014-06-02 Joel Brobecker <brobecker@adacore.com>
13160
13161 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13162
13163 2014-06-01 Yao Qi <yao@codesourcery.com>
13164
13165 * gdb.base/watchpoint.exp (test_watch_location): Check null
13166 pointer can be dereferenced. If not, do the test, otherwise
13167 skip it.
13168
13169 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13170
13171 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13172 results.
13173 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13174
13175 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13176
13177 * gdb.arch/amd64-invalid-stack-middle.S: New file.
13178 * gdb.arch/amd64-invalid-stack-middle.c: New file.
13179 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13180 * gdb.arch/amd64-invalid-stack-top.c: New file.
13181 * gdb.arch/amd64-invalid-stack-top.exp: New file.
13182
13183 2014-05-30 Pedro Alves <palves@redhat.com>
13184
13185 PR breakpoints/17000
13186 * gdb.base/sss-bp-on-user-bp.c: New file.
13187 * gdb.base/sss-bp-on-user-bp.exp: New file.
13188
13189 2014-05-30 David Blaikie <dblaikie@gmail.com>
13190
13191 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13192 gnu_inline semantics via attribute.
13193 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13194 source explicitly specifies the required semantics.
13195
13196 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13197
13198 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13199
13200 2014-05-29 Pedro Alves <palves@redhat.com>
13201 Tom Tromey <tromey@redhat.com>
13202
13203 * gdb.base/async-shell.exp: Don't enable target-async.
13204 * gdb.base/async.exp
13205 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13206 parameter. Adjust.
13207 (top level): Don't test with "target-async".
13208 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13209 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13210 * gdb.base/inferior-died.exp: Don't enable target-async.
13211 * gdb.base/interrupt-noterm.exp: Likewise.
13212 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13213 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13214 * gdb.mi/mi-nonstop.exp: Likewise.
13215 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13216 * gdb.mi/mi-nsintrall.exp: Likewise.
13217 * gdb.mi/mi-nsmoribund.exp: Likewise.
13218 * gdb.mi/mi-nsthrexec.exp: Likewise.
13219 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13220 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13221 * gdb.python/py-evsignal.exp: Don't enable target-async.
13222 * gdb.python/py-evthreads.exp: Likewise.
13223 * gdb.python/py-prompt.exp: Likewise.
13224 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13225 * gdb.server/solib-list.exp: Don't enable target-async.
13226 * gdb.threads/thread-specific-bp.exp: Likewise.
13227 * lib/mi-support.exp: Adjust to use mi-async.
13228
13229 2014-05-29 Pedro Alves <palves@redhat.com>
13230
13231 PR gdb/13860
13232 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13233 reason, even in sync mode.
13234
13235 2014-05-29 Pedro Alves <palves@redhat.com>
13236 Hui Zhu <hui@codesourcery.com>
13237
13238 PR PR15693
13239 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13240 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13241 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13242 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13243
13244 2014-05-28 Joel Brobecker <brobecker@adacore.com>
13245
13246 * config/monitor.exp (gdb_target_monitor): Replace use of
13247 "set remotebaud" by "set serial baud".
13248
13249 2014-05-26 Andy Wingo <wingo@igalia.com>
13250
13251 * gdb.guile/scm-breakpoint.exp:
13252 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13253 properties instead of gdb-object-properties.
13254
13255 2014-05-26 Yao Qi <yao@codesourcery.com>
13256
13257 * gdb.server/no-thread-db.exp: Specify source file name
13258 explicitly when setting a breakpoint.
13259
13260 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13261
13262 * gdb.btrace/vdso.c: New.
13263 * gdb.btrace/vdso.exp: New.
13264
13265 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13266
13267 * gdb.base/gcore.exp (capture_command_output): Move ...
13268 * lib/gdb.exp (capture_command_output): ... here.
13269
13270 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13271
13272 * gdb.btrace/data.exp: Test memory access during btrace replay.
13273
13274 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13275
13276 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13277
13278 2014-05-21 Pedro Alves <palves@redhat.com>
13279
13280 PR gdb/13860
13281 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13282 (top level): Test that output related to execution commands is
13283 sent to the console with CLI commands, but not with MI commands.
13284 Test that breakpoint events are always mirrored to the console.
13285 Also expect the new source line to be output after a "next" in
13286 async mode too. Make it a pass/fail test.
13287 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13288 output.
13289 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13290
13291 2014-05-21 Pedro Alves <palves@redhat.com>
13292
13293 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13294 Use them to test variations of "list" after reaching a breakpoint.
13295 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13296 Test "list" with listsize 10 after reaching a breakpoint.
13297 * gdb.python/python.exp (decode_line current location line
13298 number): Adjust expected line number.
13299
13300 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13301
13302 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13303 behavior for $args, pass it directly to "run".
13304
13305 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13306
13307 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13308 30000 to 65536.
13309
13310 2014-05-21 Pedro Alves <palves@redhat.com>
13311
13312 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13313 auto-connect-native-target off".
13314 * gdb.base/auto-connect-native-target.c: New file.
13315 * gdb.base/auto-connect-native-target.exp: New file.
13316
13317 2014-05-21 Pedro Alves <palves@redhat.com>
13318
13319 * gdb.base/default.exp: Test "target native" instead of "target
13320 child".
13321
13322 2014-05-21 Mark Wielaard <mjw@redhat.com>
13323
13324 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13325
13326 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13327
13328 Fix TLS access for -static -pthread.
13329 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13330 <HAVE_TLS> (thread_function, main): Initialize it.
13331 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13332 Add clean_restart.
13333 <$have_tls != "">: Check TLSVAR.
13334
13335 2014-05-21 Pedro Alves <palves@redhat.com>
13336
13337 * gdb.base/dcache-line-read-error.c: New.
13338 * gdb.base/dcache-line-read-error.exp: New.
13339
13340 2014-05-20 Pedro Alves <palves@redhat.com>
13341
13342 * gdb.base/compare-sections.c: New file.
13343 * gdb.base/compare-sections.exp: New file.
13344
13345 2014-05-20 Pedro Alves <palves@redhat.com>
13346
13347 * gdb.base/break-idempotent.c: New file.
13348 * gdb.base/break-idempotent.exp: New file.
13349
13350 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13351
13352 * gdb.btrace/nohist.exp: New.
13353
13354 2014-05-20 Yao Qi <yao@codesourcery.com>
13355
13356 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13357 gdb.reverse directory and gdb_reverse_timeout exists in board
13358 setting.
13359 * README: Document gdb_reverse_timeout.
13360
13361 2014-05-20 Yao Qi <yao@codesourcery.com>
13362
13363 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13364 'test_file_name'. Treat args as a string instead of a list.
13365 (gdb_init): Rename argument 'args' by 'test_file_name'.
13366
13367 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13368
13369 * gdb.arch/powerpc-power.exp: New file.
13370 * gdb.arch/powerpc-power.s: New file.
13371
13372 2014-05-16 Doug Evans <dje@google.com>
13373
13374 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13375 * gdb.base/completion.exp: Check that all expected files exist
13376 before doing file completion.
13377
13378 2014-05-16 Doug Evans <dje@google.com>
13379
13380 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13381 Update.
13382 (do_syscall_tests_without_xml): Update.
13383
13384 2014-05-16 Pedro Alves <palves@redhat.com>
13385
13386 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13387 instead of "unknown output after running".
13388
13389 2014-05-16 Yao Qi <yao@codesourcery.com>
13390
13391 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13392 file1.txt from host at the end.
13393 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13394
13395 2014-05-15 Doug Evans <dje@google.com>
13396
13397 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13398 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13399 loading file. Add test for TU lookup.
13400
13401 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13402
13403 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13404 calling "-exec-arguments" or "set args" before running the
13405 inferior.
13406
13407 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13408
13409 * lib/mi-support.exp (mi_expect_stop): Expect message for
13410 inferiors that exit with non-zero exit code.
13411
13412 2014-05-14 Yao Qi <yao@codesourcery.com>
13413
13414 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13415 match absolute path on remote host.
13416 (test_file_list_exec_source_files): Remove "/" from the
13417 pattern.
13418
13419 2014-05-14 Yao Qi <yao@codesourcery.com>
13420
13421 * boards/local-remote-host-notty.exp (${board}_file): New
13422 proc.
13423
13424 2014-05-07 Kyle McMartin <kyle@redhat.com>
13425
13426 Pushed by Joel Brobecker <brobecker@adacore.com>.
13427 * gdb.arch/aarch64-atomic-inst.c: New file.
13428 * gdb.arch/aarch64-atomic-inst.exp: New file.
13429
13430 2014-05-07 Yao Qi <yao@codesourcery.com>
13431
13432 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13433 in current context" too.
13434
13435 2014-05-05 Keith Seitz <keiths@redhat.com>
13436
13437 * gdb.linespec/ls-dollar.exp: Add test for linespec
13438 file:convenience_variable.
13439
13440 2014-05-05 Yao Qi <yao@codesourcery.com>
13441
13442 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13443 traceframes into tfile and ctf trace files. Read data from
13444 trace file and test collected data.
13445 (gdb_collect_locals_test): Likewise.
13446 (gdb_unavailable_registers_test): Likewise.
13447 (gdb_unavailable_floats): Likewise.
13448 (gdb_collect_globals_test): Likewise.
13449 (top-level): Append "ctf" to trace_file_targets if GDB
13450 supports.
13451
13452 2014-05-05 Yao Qi <yao@codesourcery.com>
13453
13454 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13455 code to ...
13456 (gdb_collect_args_test_1): ... it. New proc.
13457 (gdb_collect_locals_test): Move some code to ...
13458 (gdb_collect_locals_test_1): ... it. New proc.
13459 (gdb_unavailable_registers_test): Move some code to ...
13460 (gdb_unavailable_registers_test_1): ... it. New proc.
13461 (gdb_unavailable_floats): Move some code to ...
13462 (gdb_unavailable_floats_1): ... it. New proc.
13463
13464 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13465
13466 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13467 probes to test for bitness recognition.
13468 * gdb.arch/amd64-stap-optional-prefix.exp
13469 (test_probe_value_without_reg): New procedure.
13470 Add code to test for different kinds of bitness.
13471
13472 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13473
13474 PR breakpoints/16889
13475 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13476 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13477
13478 2014-05-01 Pedro Alves <palves@redhat.com>
13479
13480 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13481 gdb_file_cmd if no file is specified.
13482 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13483 last_loaded_file to set the remote exec-file.
13484
13485 2014-05-01 Pedro Alves <palves@redhat.com>
13486
13487 * boards/local-remote-host.exp: New file.
13488
13489 2014-05-01 Pedro Alves <palves@redhat.com>
13490
13491 * boards/local-remote-host.exp: Rename to ...
13492 * boards/local-remote-host-notty.exp: ... this.
13493
13494 2014-04-28 Joel Brobecker <brobecker@adacore.com>
13495
13496 * gdb.ada/dyn_arrayidx: New testcase.
13497
13498 2014-04-26 Yao Qi <yao@codesourcery.com>
13499
13500 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13501 and compute the length of function main. Save it in
13502 $main_length.
13503 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13504 (top-level): Use gdb_compile to compile objects into
13505 executable and restart GDB. Remove invocation to
13506 prepare_for_testing.
13507
13508 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13509 Pedro Alves <palves@redhat.com>
13510
13511 PR server/16255
13512 * gdb.multi/multi-attach.c: New file.
13513 * gdb.multi/multi-attach.exp: New file.
13514
13515 2014-04-25 Pedro Alves <palves@redhat.com>
13516
13517 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13518 user.
13519 (top level): Test that "set remote conditional-breakpoints-packet
13520 off" works as intended.
13521 * gdb.base/dprintf.exp: Test that "set remote
13522 breakpoint-commands-packet off" works as intended.
13523 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13524 New function.
13525 (top level): Call it.
13526 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13527 remote fast-tracepoints-packet off" works as intended.
13528 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13529 * lib/gdb.exp (gdb_is_target_remote): ... here.
13530
13531 2014-04-24 David Blaikie <dblaikie@gmail.com>
13532
13533 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13534 ensure clang would not discard them.
13535 * gdb.base/gdbvars.c: Ditto.
13536 * gdb.base/memattr.c: Ditto.
13537 * gdb.base/whatis.c: Ditto.
13538 * gdb.python/py-prettyprint.c: Ditto.
13539 * gdb.trace/actions.c: Ditto.
13540 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13541 ensure clang would not discard it.
13542
13543 2014-04-24 David Blaikie <dblaikie@gmail.com>
13544
13545 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13546 clang to emit the full definition of type required by the test
13547 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13548
13549 2014-04-24 David Blaikie <dblaikie@gmail.com>
13550
13551 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13552 coax Clang into emitting the definition of the type.
13553 * gdb.cp/pr10728-x.h (y): Ditto.
13554 * gdb.cp/pr10728-y.cc (y): Ditto.
13555
13556 2014-04-24 David Blaikie <dblaikie@gmail.com>
13557
13558 * gdb.base/label.exp: XFAIL label related tests under Clang.
13559 * gdb.cp/cplabel.exp: Ditto.
13560 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13561 under Clang those using labels.
13562
13563 2014-04-25 Yao Qi <yao@codesourcery.com>
13564
13565 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13566 double_label.
13567 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13568 partial_label and double_label.
13569
13570 2014-04-24 David Blaikie <dblaikie@gmail.com>
13571
13572 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13573
13574 2014-04-24 David Blaikie <dblaikie@gmail.com>
13575
13576 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13577 of the function to work across GCC and Clang.
13578 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13579 pointer types (const void ** const V void **).
13580
13581 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
13582 Walfred Tedeschi <walfred.tedeschi@intel.com>
13583
13584 * Makefile.in (EXECUTABLES): Added i386-avx512.
13585 * gdb.arch/i386-avx512.c: New file.
13586 * gdb.arch/i386-avx512.exp: Likewise.
13587
13588 2014-04-23 Keith Seitz <keiths@redhat.com>
13589
13590 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13591 (mi_make_breakpoint_table): New procedure.
13592 (mi_create_breakpoint): Use mi_make_breakpoint
13593 and return the result.
13594 (mi_make_breakpoint): New procedure.
13595 (mi_build_kv_pairs): New procedure.
13596
13597 * gdb.mi/mi-break.exp: Remove unused globals,
13598 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13599 All callers updated.
13600 * gdb.mi/mi-dprintf.exp: Use variable to track command
13601 number.
13602 Update all callers of mi_create_breakpoint and use
13603 mi_make_breakpoint_table.
13604 Remove any unused global variables.
13605 * gdb.mi/mi-nonstop.exp: Likewise.
13606 * gdb.mi/mi-nsintrall.exp: Likewise.
13607 * gdb.mi/mi-nsmoribund.exp: Likewise.
13608 * gdb.mi/mi-nsthrexec.exp: Likewise.
13609 * gdb.mi/mi-reverse.exp: Likewise.
13610 * gdb.mi/mi-simplerun.exp: Likewise.
13611 * gdb.mi/mi-stepn.exp: Likewise.
13612 * gdb.mi/mi-syn-frame.exp: Likewise.
13613 * gdb.mi/mi-until.exp: Likewise.
13614 * gdb.mi/mi-var-cp.exp: Likewise.
13615 * gdb.mi/mi-var-display.exp: Likewise.
13616 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13617 * gdb.mi/mi2-var-child.exp: Likewise.
13618 * gdb.mi/mi-vla-c99.exp: Likewise.
13619 * lib/mi-support.exp: Likewise.
13620
13621 From Ian Lance Taylor <iant@cygnus.com>:
13622 * lib/gdb.exp (parse_args): New procedure.
13623
13624 2014-04-23 Pedro Alves <palves@redhat.com>
13625
13626 * gdb.base/break-unload-file.c: New file.
13627 * gdb.base/break-unload-file.exp: New file.
13628 * gdb.base/sym-file-lib.c (baz): New function.
13629 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13630 field.
13631 (load): Store the segment's mapped size.
13632 (unload): New function.
13633 (unload_shlib): New function.
13634 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13635 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13636 set a breakpoint at baz, and call it.
13637 * gdb.base/sym-file.exp: New tests for stale breakpoint
13638 instructions.
13639
13640 2014-04-23 Pedro Alves <palves@redhat.com>
13641
13642 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13643 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13644 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13645 * gdb.base/hbreak-unmapped.c: New file.
13646 * gdb.base/hbreak-unmapped.exp: New file.
13647 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13648 * lib/gdb.exp (gdb_is_target_remote): ... here.
13649
13650 2014-04-22 Pedro Alves <palves@redhat.com>
13651
13652 * gdb.base/consecutive-step-over.c: New file.
13653 * gdb.base/consecutive-step-over.exp: New file.
13654
13655 2014-04-22 Pedro Alves <palves@redhat.com>
13656
13657 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13658 instead of send_gdb/gdb_expect.
13659
13660 2014-04-22 Yao Qi <yao@codesourcery.com>
13661
13662 * lib/trace-support.exp (generate_tracefile): New procedure.
13663 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13664 return 0.
13665 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13666 if generate_tracefile returns 1.
13667
13668 2014-04-18 Tom Tromey <palves@redhat.com>
13669 Pedro alves <tromey@redhat.com>
13670
13671 PR backtrace/15558
13672 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13673 with a backtrace limit.
13674 * gdb.python/py-frame-inline.exp: Test running to an inline
13675 function with a backtrace limit, and printing the newest frame.
13676 * gdb.python/py-frame-inline.c (main): Call f.
13677
13678 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13679
13680 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13681
13682 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13683
13684 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13685 Drop prefix from unsupported source file path.
13686
13687 2014-04-17 Yao Qi <yao@codesourcery.com>
13688
13689 * lib/gdb.exp (with_target_charset): New proc.
13690 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13691 with_target_charset.
13692 (test_print_strings): Likewise.
13693 (test_repeat_bytes): Likewise.
13694 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13695 for some tests.
13696
13697 2014-04-16 Keith Seitz <keiths@redhat.com>
13698
13699 PR gdb/15827
13700 * gdb.dwarf2/corrupt.c: New file.
13701 * gdb.dwarf2/corrupt.exp: New file.
13702
13703 2014-04-16 Keith Seitz <keiths@redhat.com>
13704
13705 PR c++/16597
13706 * gdb.cp/namelessclass.cc: New file.
13707 * gdb.cp/namelessclass.exp: New file.
13708 * gdb.cp/namelessclass.S: New file.
13709
13710 2014-04-16 Doug Evans <dje@google.com>
13711
13712 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13713 Add comment.
13714 (gdbserver_default_get_comm_port): New function.
13715 (gdbserver_start): Check if board file provided
13716 "gdbserver,get_comm_port" and use it if so.
13717 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13718 (gdb,socketport): Set to "stdio".
13719 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13720 (stdio_gdbserver_template): Delete.
13721 (${board}_get_remote_address): Update.
13722 (${board}_build_remote_cmd): Delete.
13723 (${board}_get_comm_port): New function.
13724 (${board}_spawn): Update.
13725 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13726 Delete.
13727 (${board}_get_remote_address): Update.
13728 (${board}_get_comm_port): New function.
13729
13730 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
13731
13732 * gdb.base/memattr.exp: Improve regexps to handle memory regions
13733 appearing in any order.
13734
13735 2014-04-15 Doug Evans <dje@google.com>
13736
13737 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13738 uninitialized value of "description".
13739
13740 2014-04-15 Keith Seitz <keiths@redhat.com>
13741
13742 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13743 Remove unused globals.
13744 (test_running_the_program): Likewise.
13745 (test_controlled_execution): Likewise.
13746 (test_controlling_breakpoints): Likewise.
13747 (test_program_termination): Likewise.
13748
13749 2014-04-15 Keith Seitz <keiths@redhat.com>
13750
13751 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13752 unused globals.
13753 (test_rbreak_creation_and_listing): Likewise.
13754 (test_ignore_count): Likewise.
13755 (test_error): Likewise.
13756
13757 2014-04-15 Pedro Alves <palves@redhat.com>
13758
13759 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13760 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13761 sym-file-loader.c.
13762 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13763 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13764 to sym-file-loader.c.
13765 (struct library): Forward declare.
13766 (load_shlib, lookup_function): Change prototypes.
13767 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13768 (translate_offset): Remove declarations.
13769 (get_text_addr): New declaration.
13770 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13771 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13772 sym-file-loader.h.
13773 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13774 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13775 here from sym-file-loader.h.
13776 (struct library): New structure.
13777 (load_shlib, lookup_function): Change prototypes and adjust to
13778 work with a struct library.
13779 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13780 (translate_offset): Make static.
13781 (get_text_addr): New function.
13782 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13783
13784 2014-04-15 Pedro Alves <palves@redhat.com>
13785
13786 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13787
13788 2014-04-15 Pedro Alves <palves@redhat.com>
13789
13790 * gdb.base/sym-file-loader.c: Include <limits.h>.
13791 (SELF_LINK): New define.
13792 (get_origin): New function.
13793 (load_shlib): Use it.
13794 * gdb.base/sym-file.exp: Don't early return if the target is
13795 remote. Use runto_main, and issue fail is that fails. Use
13796 gdb_load_shlibs.
13797 (shlib_name): Delete.
13798 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13799
13800 2014-04-15 Pedro Alves <palves@redhat.com>
13801
13802 * gdb.base/sym-file.exp: Remove regex characters from test
13803 message. Don't refer to breakpoint numbers in test messages.
13804
13805 2014-04-14 Keith Seitz <keiths@redhat.com>
13806
13807 PR c++/16253
13808 * gdb.cp/var-tag.cc: New file.
13809 * gdb.cp/var-tag.exp: New file.
13810 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13811 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13812 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13813 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13814
13815 2014-04-14 Tom Tromey <tromey@redhat.com>
13816
13817 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13818 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13819 type.
13820 * gdb.cp/enum-class.exp: New file.
13821 * gdb.cp/enum-class.cc: New file.
13822
13823 2014-04-14 Tom Tromey <tromey@redhat.com>
13824
13825 * gdb.dwarf2/enum-type.exp: New file.
13826
13827 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13828
13829 * gdb.mi/mi-vla-c99.exp: New file.
13830 * gdb.mi/vla.c: New file.
13831
13832 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13833
13834 * gdb.base/vla-datatypes.c: New file.
13835 * gdb.base/vla-datatypes.exp: New file.
13836
13837 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13838
13839 * gdb.base/vla-ptr.c: New file.
13840 * gdb.base/vla-ptr.exp: New file.
13841
13842 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13843
13844 * gdb.dwarf2/count.exp: New file.
13845
13846 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13847
13848 * gdb.base/vla-sideeffect.c: New file.
13849 * gdb.base/vla-sideeffect.exp: New file.
13850
13851 2014-04-14 David Blaikie <dblaikie@gmail.com>
13852
13853 * gdb.mi/non-stop.c: Add return value for non-void function return
13854 statement.
13855 * gdb.threads/staticthreads.c: Ditto.
13856
13857 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13858 Doug Evans <xdje42@gmail.com>
13859
13860 * gdb.guile/scm-value.c: Improve test case.
13861 * gdb.guile/scm-value.exp: Add new test.
13862
13863 2014-04-11 David Blaikie <dblaikie@gmail.com>
13864
13865 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13866 override Clang's default.
13867
13868 2014-04-11 Joel Brobecker <brobecker@adacore.com>
13869
13870 Revert the following changes (regressions):
13871
13872 * gdb.base/vla-sideeffect.c: New file.
13873 * gdb.base/vla-sideeffect.exp: New file.
13874
13875 * gdb.dwarf2/count.exp: New file.
13876
13877 * gdb.base/vla-multi.c: New file.
13878 * gdb.base/vla-multi.exp: New file.
13879
13880 * gdb.base/vla-ptr.c: New file.
13881 * gdb.base/vla-ptr.exp: New file.
13882
13883 * gdb.base/vla-datatypes.c: New file.
13884 * gdb.base/vla-datatypes.exp: New file.
13885
13886 * gdb.mi/mi-vla-c99.exp: New file.
13887 * gdb.mi/vla.c: New file.
13888
13889 2014-04-11 Keith Seitz <keiths@redhat.com>
13890
13891 PR c++/16675
13892 * gdb.cp/cpsizeof.exp: New file.
13893 * gdb.cp/cpsizeof.cc: New file.
13894
13895 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13896
13897 * gdb.mi/mi-vla-c99.exp: New file.
13898 * gdb.mi/vla.c: New file.
13899
13900 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13901
13902 * gdb.base/vla-datatypes.c: New file.
13903 * gdb.base/vla-datatypes.exp: New file.
13904
13905 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13906
13907 * gdb.base/vla-ptr.c: New file.
13908 * gdb.base/vla-ptr.exp: New file.
13909
13910 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13911
13912 * gdb.base/vla-multi.c: New file.
13913 * gdb.base/vla-multi.exp: New file.
13914
13915 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13916
13917 * gdb.dwarf2/count.exp: New file.
13918
13919 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13920
13921 * gdb.base/vla-sideeffect.c: New file.
13922 * gdb.base/vla-sideeffect.exp: New file.
13923
13924 2014-04-11 Yao Qi <yao@codesourcery.com>
13925
13926 * gdb.base/completion.exp: Check file exists before running tests
13927 on file completion.
13928
13929 2014-04-10 Pedro Alves <palves@redhat.com>
13930
13931 * gdb.base/cond-eval-mode.c: New file.
13932 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13933 prepare_for_testing to build the new file. Check result of
13934 runto_main.
13935 (test_break, test_watch): New procedures.
13936 (top level): Use them.
13937
13938 2014-04-08 Pierre Muller <muller@sourceware.org>
13939
13940 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13941 Ctrl-V use for mingw hosts.
13942
13943 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13944
13945 * gdb.python/py-value.c: Improve test case.
13946 * gdb.python/py-value.exp: Add new test.
13947
13948 2014-04-07 David Blaikie <dblaikie@gmail.com>
13949
13950 * lib/compiler.c: Identify the clang compiler.
13951 * lib/compiler.cc: Ditto.
13952
13953 2014-04-03 Yao Qi <yao@codesourcery.com>
13954
13955 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13956
13957 2014-04-01 Anton Blanchard <anton@samba.org>
13958
13959 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13960 messages unique.
13961
13962 2014-04-01 Anton Blanchard <anton@samba.org>
13963
13964 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13965 prepare_for_testing.
13966
13967 2014-04-01 Anton Blanchard <anton@samba.org>
13968
13969 * gdb.arch/ppc64-atomic-inst.c: Remove.
13970 * gdb.arch/ppc64-atomic-inst.S: New file.
13971 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13972
13973 2014-03-31 Doug Evans <dje@google.com>
13974
13975 * gdb.base/print-symbol-loading-lib.c: New file.
13976 * gdb.base/print-symbol-loading-main.c: New file.
13977 * gdb.base/print-symbol-loading.exp: New file.
13978
13979 2014-03-31 Yao Qi <yao@codesourcery.com>
13980
13981 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13982
13983 2014-03-28 Joel Brobecker <brobecker@adacore.com>
13984
13985 * gdb.ada/mi_dyn_arr: New testcase.
13986
13987 2014-03-27 Doug Evans <dje@google.com>
13988
13989 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13990
13991 2014-03-27 Yao Qi <yao@codesourcery.com>
13992
13993 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13994 if target is nios2-*-*.
13995
13996 2014-03-26 Yao Qi <yao@codesourcery.com>
13997
13998 * lib/gdb.exp (readline_is_used): New proc.
13999 * gdb.base/completion.exp: Move tests on command complete up.
14000 Skip the rest of tests if readline is not used.
14001 * gdb.ada/complete.exp: Skp the test if readline is not
14002 used.
14003 * gdb.base/filesym.exp: Likewise.
14004 * gdb.base/macscp.exp: Likewise.
14005 * gdb.base/readline-ask.exp: Likewise.
14006 * gdb.base/readline.exp: Likewise.
14007 * gdb.python/py-cmd.exp: Likewise.
14008 * gdb.trace/tfile.exp: Likewise.
14009
14010 2014-03-26 Yao Qi <yao@codesourcery.com>
14011
14012 * gdb.base/macscp.exp: Fix code format issues.
14013
14014 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
14015
14016 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14017 * gdb.asm/powerpc64le.inc: New file.
14018
14019 2014-03-25 Pedro Alves <palves@redhat.com>
14020 Doug Evans <dje@google.com>
14021
14022 * gdb.base/source-execution.c: New file.
14023 * gdb.base/source-execution.exp: New file.
14024 * gdb.base/source-execution.gdb: New file.
14025
14026 2014-03-24 Doug Evans <dje@google.com>
14027
14028 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14029 using fission.
14030
14031 2014-03-24 Hui Zhu <hui@codesourcery.com>
14032 Pedro Alves <palves@redhat.com>
14033
14034 PR breakpoints/16101
14035 * gdb.base/dprintf.exp: Use unsupported rather than changing the
14036 test pass/fail messages. Detect missing support for dprintf when
14037 breakpoints are actually inserted.
14038 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14039 breakpoints are actually inserted.
14040 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14041 fails.
14042
14043 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14044
14045 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14046
14047 2014-03-22 Doug Evans <xdje42@gmail.com>
14048
14049 * gdb.python/python.exp (python not supported): Verify multi-line
14050 python command issues an error.
14051 * gdb.guile/guile.exp (guile not supported): Verify multi-line
14052 guile command issues an error.
14053
14054 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
14055
14056 * gdb.threads/thread-specific.exp: Handle the lack of usable
14057 $this_breakpoint and $this_thread.
14058
14059 2014-03-21 Hui Zhu <hui@codesourcery.com>
14060
14061 * gdb.base/attach.exp (do_command_attach_tests): New.
14062
14063 2014-03-20 Tom Tromey <tromey@redhat.com>
14064 Pedro Alves <palves@redhat.com>
14065
14066 PR cli/15718
14067 * gdb.base/condbreak-call-false.c: New file.
14068 * gdb.base/condbreak-call-false.exp: New file.
14069
14070 2014-03-20 Pedro Alves <palves@redhat.com>
14071
14072 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14073 Delete.
14074 (block_signals, unblock_signals): Delete.
14075 (child_function_2, main): Remove references to deleted variable
14076 and functions.
14077
14078 2014-03-20 Pedro Alves <palves@redhat.com>
14079
14080 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14081 Use pthread_kill to signal thread 2.
14082 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14083 Adjust to make the test send itself a signal rather than using the
14084 host's "kill" command.
14085
14086 2014-03-20 Pedro Alves <palves@redhat.com>
14087
14088 * gdb.threads/multiple-step-overs.c: New file.
14089 * gdb.threads/multiple-step-overs.exp: New file.
14090 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14091 Adjust expected infrun debug output.
14092
14093 2014-03-20 Pedro Alves <palves@redhat.com>
14094
14095 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14096 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14097
14098 2014-03-20 Pedro Alves <palves@redhat.com>
14099
14100 PR breakpoints/7143
14101 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14102 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
14103 of gdb_test_multiple.
14104 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14105 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14106
14107 2014-03-20 Pedro Alves <palves@redhat.com>
14108
14109 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14110 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14111
14112 2014-03-19 Pedro Alves <palves@redhat.com>
14113
14114 * gdb.base/async.exp: Remove early return.
14115
14116 2014-03-19 Pedro Alves <palves@redhat.com>
14117
14118 * gdb.base/async.exp (step& tests): Pass explicit test messages.
14119
14120 2014-03-19 Pedro Alves <palves@redhat.com>
14121
14122 * gdb.base/async.exp (test_background): Expect \r\n after
14123 "completed." in the fail pattern.
14124
14125 2014-03-19 Pedro Alves <palves@redhat.com>
14126
14127 * gdb.base/async.exp (test_background): New procedure.
14128 Use it for all background execution command tests.
14129
14130 2014-03-19 Pedro Alves <palves@redhat.com>
14131
14132 * gdb.base/async.exp: Use prepare_for_testing.
14133
14134 2014-03-19 Pedro Alves <palves@redhat.com>
14135
14136 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
14137 the same line.
14138
14139 2014-03-19 Pedro Alves <palves@redhat.com>
14140
14141 * gdb.base/async.c (main): Add "jump here" and "until here" line
14142 marker comments.
14143 * gdb.base/async.exp (jump_here): New global.
14144 (jump& test): Use it.
14145 (until_here): New global.
14146 (until& test): Use it.
14147
14148 2014-03-19 Pedro Alves <palves@redhat.com>
14149
14150 * gdb.base/async.exp: Don't frob gdb_protocol.
14151
14152 2014-03-18 Doug Evans <xdje42@gmail.com>
14153
14154 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
14155 Fix spelling of exec-done-display.
14156
14157 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14158
14159 PR gdb/15358
14160 * gdb.base/gdb-sigterm.c: New file.
14161 * gdb.base/gdb-sigterm.exp: New file.
14162
14163 2014-03-18 Pedro Alves <palves@redhat.com>
14164
14165 PR gdb/13860
14166 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14167 * lib/mi-support.exp (mi_expect_stop): Add special handling for
14168 solib-event.
14169
14170 2014-03-17 Joel Brobecker <brobecker@adacore.com>
14171
14172 * gdb.ada/pckd_arr_ren: New testcase.
14173
14174 2014-03-13 Doug Evans <xdje42@gmail.com>
14175
14176 PR guile/16612
14177 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14178 collect after discarding symbols.
14179
14180 2014-03-13 Ludovic Courtès <ludo@gnu.org>
14181 Doug Evans <xdje42@gmail.com>
14182
14183 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14184 to history survives a gc.
14185
14186 2014-03-13 Pedro Alves <palves@redhat.com>
14187
14188 * gdb.base/default.exp: Don't test "target procfs".
14189
14190 2014-03-13 Pedro Alves <palves@redhat.com>
14191
14192 * gdb.base/default.exp: Update "target child" and "target procfs"
14193 tests to not expect "Unix".
14194
14195 2014-03-12 Tom Tromey <tromey@redhat.com>
14196
14197 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14198 New procs. Add target-async tests.
14199 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14200 Add target-async tests.
14201
14202 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14203
14204 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14205 'func_start' and 'func_end' for the beginning and end of the
14206 function code, respectively.
14207 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14208 'func_end' instead of 'func' and 'main'.
14209
14210 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14211
14212 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14213 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14214 generate the debug info assembler source.
14215
14216 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14217
14218 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14219 * gdb.dwarf2/arr-subrange.exp: Likewise.
14220 * gdb.dwarf2/dwz.exp: Likewise.
14221 * gdb.dwarf2/method-ptr.exp: Likewise.
14222 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14223 * gdb.dwarf2/subrange.exp: Likewise.
14224 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14225 * gdb.dwarf2/implptrpiece.exp: Likewise.
14226 * gdb.dwarf2/nostaticblock.exp: Likewise.
14227
14228 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14229
14230 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14231 directory to absolute path name arguments.
14232
14233 2014-03-10 Joel Brobecker <brobecker@adacore.com>
14234
14235 * gdb.ada/tagged_access: New testcase.
14236
14237 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14238
14239 * gdb.btrace/data.exp: Update expected output.
14240
14241 2014-03-06 Yao Qi <yao@codesourcery.com>
14242
14243 * gdb.trace/pr16508.exp: New file.
14244
14245 2014-03-05 Pedro Alves <palves@redhat.com>
14246
14247 PR gdb/16575
14248 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14249 procedure.
14250 (top level): Adjust to use it. Add tests that exercise breakpoint
14251 interaction with the code-cache.
14252
14253 2014-02-26 Ludovic Courtès <ludo@gnu.org>
14254
14255 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14256 test for 'history-append!'.
14257
14258 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14259
14260 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14261 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14262 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14263 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14264 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14265 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14266
14267 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14268
14269 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14270 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14271 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14272
14273 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14274
14275 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14276
14277 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14278
14279 * gdb.dwarf2/arr-stride.c: New file.
14280 * gdb.dwarf2/arr-stride.exp: New file.
14281
14282 2014-02-26 Pedro Alves <palves@redhat.com>
14283
14284 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14285 that won't ever trigger. Make sure that GDB reports the correct
14286 breakpoint that caused the stop.
14287
14288 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14289
14290 PR gdb/16626
14291 * gdb.base/auto-load-script: New file.
14292 * gdb.base/auto-load.c: New file.
14293 * gdb.base/auto-load.exp: New file.
14294
14295 PR gdb/16626
14296 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14297
14298 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14299
14300 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14301 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14302
14303 2014-02-24 Doug Evans <dje@google.com>
14304
14305 * lib/gdb.exp (run_on_host): Log error output if program fails.
14306
14307 2014-02-21 Pedro Alves <palves@redhat.com>
14308
14309 * gdb.threads/step-after-sr-lock.c: Rename to ...
14310 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14311 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14312 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14313 ... this.
14314
14315 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14316
14317 PR tdep/16397
14318 * gdb.arch/amd64-stap-special-operands.exp: New file.
14319 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14320 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14321 * gdb.arch/amd64-stap-triplet.S: Likewise.
14322 * gdb.arch/amd64-stap-triplet.c: Likewise.
14323
14324 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14325
14326 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14327 in .section pseudo-op.
14328
14329 2014-02-20 lin zuojian <manjian2006@gmail.com>
14330 Joel Brobecker <brobecker@adacore.com>
14331 Doug Evans <xdje42@gmail.com>
14332
14333 PR symtab/16581
14334 * gdb.dwarf2/dw2-icycle.S: New file.
14335 * gdb.dwarf2/dw2-icycle.c: New file.
14336 * gdb.dwarf2/dw2-icycle.exp: New file.
14337
14338 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14339
14340 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14341 operations on gdb.Value objects.
14342 * gdb.python/py-value-cc.exp: Add new test to test operations on
14343 gdb.Value objects.
14344
14345 2014-02-18 Doug Evans <dje@google.com>
14346
14347 * Makefile.in (TESTS): New variable.
14348 (expanded_tests, expanded_tests_or_none): New variables
14349 (check-single): Pass $(expanded_tests_or_none) to runtest.
14350 (check-parallel): Only run tests in $(TESTS) if non-empty.
14351 (check/no-matching-tests-found): New rule.
14352 * README: Document TESTS makefile variable.
14353
14354 2014-02-18 Doug Evans <dje@google.com>
14355
14356 * Makefile.in (check-parallel): rm -rf outputs temp.
14357
14358 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14359
14360 Fix "ERROR: no fileid for" in the testsuite.
14361 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14362
14363 2014-02-12 Doug Evans <dje@google.com>
14364
14365 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14366 (MISCELLANEOUS): New variable.
14367 (clean): rm -rf $(MISCELLANEOUS).
14368 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14369 dwp live in the same directory as symlinks, with each symlink pointed
14370 to a differently named file in a different directory.
14371
14372 2014-02-11 Doug Evans <dje@google.com>
14373
14374 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14375 of Tcl file commands.
14376
14377 2014-02-10 Mark Kettenis <kettenis@gnu.org>
14378
14379 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14380 "kill -SIGUSR1 -1".
14381
14382 2014-02-10 Joel Brobecker <brobecker@adacore.com>
14383
14384 * gdb.ada/tick_length_array_enum_idx: New testcase.
14385
14386 2014-02-10 Doug Evans <xdje42@gmail.com>
14387
14388 * configure.ac (AC_OUTPUT): Add gdb.guile.
14389 * configure: Regenerate.
14390 * lib/gdb-guile.exp: New file.
14391 * lib/gdb.exp (get_target_charset): New function.
14392 * gdb.base/help.exp: Update expected output from "apropos apropos".
14393 * gdb.guile/Makefile.in: New file.
14394 * gdb.guile/guile.exp: New file.
14395 * gdb.guile/scm-arch.c: New file.
14396 * gdb.guile/scm-arch.exp: New file.
14397 * gdb.guile/scm-block.c: New file.
14398 * gdb.guile/scm-block.exp: New file.
14399 * gdb.guile/scm-breakpoint.c: New file.
14400 * gdb.guile/scm-breakpoint.exp: New file.
14401 * gdb.guile/scm-disasm.c: New file.
14402 * gdb.guile/scm-disasm.exp: New file.
14403 * gdb.guile/scm-equal.c: New file.
14404 * gdb.guile/scm-equal.exp: New file.
14405 * gdb.guile/scm-error.exp: New file.
14406 * gdb.guile/scm-error.scm: New file.
14407 * gdb.guile/scm-frame-args.c: New file.
14408 * gdb.guile/scm-frame-args.exp: New file.
14409 * gdb.guile/scm-frame-args.scm: New file.
14410 * gdb.guile/scm-frame-inline.c: New file.
14411 * gdb.guile/scm-frame-inline.exp: New file.
14412 * gdb.guile/scm-frame.c: New file.
14413 * gdb.guile/scm-frame.exp: New file.
14414 * gdb.guile/scm-generics.exp: New file.
14415 * gdb.guile/scm-gsmob.exp: New file.
14416 * gdb.guile/scm-iterator.c: New file.
14417 * gdb.guile/scm-iterator.exp: New file.
14418 * gdb.guile/scm-math.c: New file.
14419 * gdb.guile/scm-math.exp: New file.
14420 * gdb.guile/scm-objfile-script-gdb.in: New file.
14421 * gdb.guile/scm-objfile-script.c: New file.
14422 * gdb.guile/scm-objfile-script.exp: New file.
14423 * gdb.guile/scm-objfile.c: New file.
14424 * gdb.guile/scm-objfile.exp: New file.
14425 * gdb.guile/scm-ports.exp: New file.
14426 * gdb.guile/scm-pretty-print.c: New file.
14427 * gdb.guile/scm-pretty-print.exp: New file.
14428 * gdb.guile/scm-pretty-print.scm: New file.
14429 * gdb.guile/scm-section-script.c: New file.
14430 * gdb.guile/scm-section-script.exp: New file.
14431 * gdb.guile/scm-section-script.scm: New file.
14432 * gdb.guile/scm-symbol.c: New file.
14433 * gdb.guile/scm-symbol.exp: New file.
14434 * gdb.guile/scm-symtab-2.c: New file.
14435 * gdb.guile/scm-symtab.c: New file.
14436 * gdb.guile/scm-symtab.exp: New file.
14437 * gdb.guile/scm-type.c: New file.
14438 * gdb.guile/scm-type.exp: New file.
14439 * gdb.guile/scm-value-cc.cc: New file.
14440 * gdb.guile/scm-value-cc.exp: New file.
14441 * gdb.guile/scm-value.c: New file.
14442 * gdb.guile/scm-value.exp: New file.
14443 * gdb.guile/source2.scm: New file.
14444 * gdb.guile/types-module.cc: New file.
14445 * gdb.guile/types-module.exp: New file.
14446
14447 2014-02-10 Yao Qi <yao@codesourcery.com>
14448
14449 PR testsuite/16543
14450 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14451 * configure: Regenerated.
14452 * Makefile.in: New file.
14453
14454 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14455
14456 * gdb.python/py-framefilter.exp: Fix typo.
14457
14458 2014-02-08 Yao Qi <yao@codesourcery.com>
14459
14460 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14461 that no =breakpoint-modified is emitted when breakpoints are
14462 modified through MI commands.
14463
14464 2014-02-07 Pedro Alves <pedro@codesourcery.com>
14465 Pedro Alves <palves@redhat.com>
14466
14467 * gdb.threads/step-after-sr-lock.c: New file.
14468 * gdb.threads/step-after-sr-lock.exp: New file.
14469
14470 2014-02-07 Pedro Alves <palves@redhat.com>
14471
14472 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14473
14474 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14475
14476 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14477 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14478
14479 2014-02-06 Doug Evans <xdje42@gmail.com>
14480
14481 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14482 output.
14483
14484 * gdb.gdb/python-interrupts.exp: New file.
14485
14486 2014-02-05 Yao Qi <yao@codesourcery.com>
14487
14488 * gdb.trace/report.exp (use_collected_data): Test the output
14489 of "info threads" and "info inferiors".
14490
14491 2014-02-05 Yao Qi <yao@codesourcery.com>
14492
14493 Revert this patch:
14494
14495 2013-05-24 Yao Qi <yao@codesourcery.com>
14496
14497 * gdb.trace/tfile.exp: Test inferior and thread.
14498
14499 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14500
14501 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14502 on a function.
14503 * gdb.base/step-bt.c: Call hello via function pointer to make
14504 sure its first instruction is executed on powerpc64le-linux.
14505
14506 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14507
14508 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14509
14510 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14511
14512 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14513 of the test patterns for use on little-endian systems.
14514
14515 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14516
14517 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14518 (decimal_vector): Fix for little-endian.
14519
14520 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14521
14522 * gdb.arch/sparc-sysstep.exp: New file.
14523 * gdb.arch/sparc-sysstep.c: Likewise.
14524
14525 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14526
14527 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14528
14529 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14530
14531 2014-01-23 Tom Tromey <tromey@redhat.com>
14532
14533 * gdb.ada/array_char_idx: New testcase.
14534
14535 2014-01-23 Tom Tromey <tromey@redhat.com>
14536
14537 PR python/16487:
14538 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14539 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14540 classes.
14541
14542 2014-01-23 Tom Tromey <tromey@redhat.com>
14543
14544 PR python/16491:
14545 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14546 string from an inferior frame.
14547 * gdb.python/py-framefilter-mi.exp: Update.
14548
14549 2014-01-22 Doug Evans <dje@google.com>
14550
14551 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14552
14553 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14554
14555 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14556
14557 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14558
14559 * gdb.trace/entry-values.exp: Remove excess space character from
14560 regex patterns. Handle s390 call instruction.
14561
14562 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14563
14564 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14565 define "*_start" label. Make "name" static.
14566 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14567 ${name} by references to ${name}_start.
14568
14569 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14570
14571 * gdb.base/info-macros.exp: Remove "debug" from the compile
14572 options.
14573
14574 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14575
14576 * gdb.dlang/demangle.exp: New file.
14577
14578 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14579
14580 * gdb.dlang/primitive-types.exp: New file.
14581
14582 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14583
14584 * configure.ac: Create gdb.dlang/Makefile.
14585 * configure: Regenerate.
14586 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14587 * gdb.dlang/Makefile.in: New file.
14588 * lib/d-support.exp: New file.
14589 * lib/gdb.exp (skip_d_tests): New proc.
14590
14591 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14592
14593 * gdb.btrace/delta.exp: Check reverse stepi.
14594 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14595 * gdb.btrace/finish.exp: New.
14596 * gdb.btrace/next.exp: New.
14597 * gdb.btrace/nexti.exp: New.
14598 * gdb.btrace/record_goto.c: Add comments.
14599 * gdb.btrace/step.exp: New.
14600 * gdb.btrace/stepi.exp: New.
14601 * gdb.btrace/multi-thread-step.c: New.
14602 * gdb.btrace/multi-thread-step.exp: New.
14603 * gdb.btrace/rn-dl-bind.c: New.
14604 * gdb.btrace/rn-dl-bind.exp: New.
14605 * gdb.btrace/data.c: New.
14606 * gdb.btrace/data.exp: New.
14607 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14608
14609 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14610
14611 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14612 * gdb.btrace/exception.exp: Update.
14613 * gdb.btrace/instruction_history.exp: Update.
14614 * gdb.btrace/record_goto.exp: Update.
14615 * gdb.btrace/tailcall.exp: Update.
14616 * gdb.btrace/unknown_functions.exp: Update.
14617 * gdb.btrace/delta.exp: New.
14618
14619 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14620
14621 * gdb.btrace/record_goto.exp: Add backtrace test.
14622 * gdb.btrace/tailcall.exp: Add backtrace test.
14623
14624 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14625
14626 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14627 * gdb.btrace/record_goto.c: New.
14628 * gdb.btrace/record_goto.exp: New.
14629 * gdb.btrace/x86-record_goto.S: New.
14630
14631 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14632
14633 * gdb.btrace/function_call_history.exp: Update tests.
14634 * gdb.btrace/instruction_history.exp: Update tests.
14635
14636 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14637
14638 * gdb.btrace/function_call_history.exp: Fix expected field
14639 order for "record function-call-history".
14640 Add new tests for "record function-call-history /c".
14641 * gdb.btrace/exception.cc: New.
14642 * gdb.btrace/exception.exp: New.
14643 * gdb.btrace/tailcall.exp: New.
14644 * gdb.btrace/x86-tailcall.S: New.
14645 * gdb.btrace/x86-tailcall.c: New.
14646 * gdb.btrace/unknown_functions.c: New.
14647 * gdb.btrace/unknown_functions.exp: New.
14648 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14649
14650 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14651
14652 * gdb.btrace/instruction_history.exp: Update.
14653 * gdb.btrace/function_call_history.exp: Update.
14654
14655 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14656
14657 * gdb.btrace/function_call_history.exp: Fix expected function
14658 trace.
14659 * gdb.btrace/instruction_history.exp: Initialize traced.
14660 Remove traced_functions.
14661
14662 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14663
14664 * gdb.btrace/function_call_history.exp: Update
14665 * gdb.btrace/instruction_history.exp: Update.
14666
14667 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14668
14669 * gdb.btrace/enable.exp: Update expected text.
14670
14671 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14672
14673 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14674 bytes.
14675
14676 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14677
14678 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14679
14680 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14681
14682 * lib/gdb.exp (supports_process_record): Return true for
14683 arm*-linux*. (supports_reverse): Likewise.
14684
14685 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14686
14687 PR python/15464
14688 PR python/16113
14689 * gdb.python/py-type.c: Enhance test case.
14690 * gdb.python/py-value-cc.cc: Likewise
14691 * gdb.python/py-type.exp: Add new tests.
14692 * gdb.python/py-value-cc.exp: Likewise
14693
14694 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14695 Pedro Alves <palves@redhat.com>
14696
14697 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14698 Make "name" extern.
14699 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14700 references to ${name}_start by references to ${name}.
14701
14702 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14703
14704 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14705
14706 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14707
14708 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14709
14710 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
14711 Pedro Alves <palves@redhat.com>
14712
14713 * gdb.mi/mi-info-os.exp: Connect to the target with
14714 mi_gdb_target_load.
14715
14716 2014-01-08 Pedro Alves <palves@redhat.com>
14717
14718 * gdb.threads/reconnect-signal.c: New file.
14719 * gdb.threads/reconnect-signal.exp: New file.
14720
14721 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14722
14723 * gdb.base/source-dir.exp: New file.
14724
14725 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14726
14727 * gdb.ada/mi_interface: New testcase.
14728
14729 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14730
14731 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14732 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14733 gdb.ada/pp-rec-component/pck.ads: New files.
14734
14735 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14736
14737 * gdb.python/py-pp-integral.c: New file.
14738 * gdb.python/py-pp-integral.py: New file.
14739 * gdb.python/py-pp-integral.exp: New file.
14740
14741 For older changes see ChangeLog-1993-2013.
14742 \f
14743 ;; Local Variables:
14744 ;; mode: change-log
14745 ;; left-margin: 8
14746 ;; fill-column: 74
14747 ;; version-control: never
14748 ;; End:
14749
14750 Copyright 2014-2018 Free Software Foundation, Inc.
14751 Copying and distribution of this file, with or without modification,
14752 are permitted provided the copyright notice and this notice are preserved.
This page took 0.319035 seconds and 5 git commands to generate.