Fix PR cli/23785: Check if file exists when invoking "restore FILE binary"
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2
3 PR cli/23785
4 * gdb.base/restore.exp: New test to check if "restore" with an
5 invalid file doesn't segfault.
6
7 2018-10-18 Tom de Vries <tdevries@suse.de>
8
9 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
10 * gdb.ada/excep_handle.exp: Same.
11 * gdb.ada/mi_string_access.exp: Same.
12 * gdb.ada/mi_var_union.exp: Same.
13 * gdb.arch/arc-analyze-prologue.exp: Same.
14 * gdb.arch/arc-decode-insn.exp: Same.
15 * gdb.base/readnever.exp: Same.
16 * gdb.fortran/printing-types.exp: Same.
17 * gdb.guile/scm-lazy-string.exp: Same.
18
19 2018-10-16 Tom de Vries <tdevries@suse.de>
20
21 PR gdb/23730
22 * gdb.base/catch-follow-exec.c: Add copyright notice.
23 * gdb.base/catch-follow-exec.exp: Rewrite to use
24 gdb_spawn_with_cmdline_opts. Require gdb-native.
25
26 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
27
28 * gdb.trace/actions-changed.exp: Check for arch support.
29 * gdb.trace/actions.exp: Likewise.
30 * gdb.trace/ax.exp: Likewise.
31 * gdb.trace/backtrace.exp: Likewise.
32 * gdb.trace/change-loc.exp: Likewise.
33 * gdb.trace/deltrace.exp: Likewise.
34 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
35 * gdb.trace/ftrace.exp: Likewise.
36 * gdb.trace/infotrace.exp: Check for arch support.
37 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
38 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
39 * gdb.trace/mi-tsv-changed.exp: Likewise.
40 * gdb.trace/packetlen.exp: Likewise.
41 * gdb.trace/passc-dyn.exp: Likewise.
42 * gdb.trace/passcount.exp: Likewise.
43 * gdb.trace/pending.exp: Likewise.
44 * gdb.trace/range-stepping.exp: Check for shlib support.
45 * gdb.trace/report.exp: Check for arch support.
46 * gdb.trace/save-trace.exp: Likewise.
47 * gdb.trace/signal.exp: Check for signal support.
48 * gdb.trace/tfind.exp: Check for arch support.
49 * gdb.trace/trace-break.exp: Check for arch and shlib support.
50 * gdb.trace/trace-common.h: Add comment.
51 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
52 * gdb.trace/trace-enable-disable.exp: Likewise.
53 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
54 * gdb.trace/tracecmd.exp: Check for arch support.
55 * gdb.trace/tspeed.exp: Check for shlib and target support.
56 * gdb.trace/tstatus.exp: Check for arch support.
57 * gdb.trace/tsv.exp: Likewise.
58 * gdb.trace/while-dyn.exp: Likewise.
59 * gdb.trace/while-stepping.exp: Likewise.
60 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
61
62 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
63
64 * gdb.trace/tspeed.exp: Remove nowarnings.
65 (prepare_for_trace_test): Declare "global ipalib".
66 * gdb.trace/tspeed.c: Include unistd.h.
67 (main): Remove superfluous printf argument.
68
69 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
70
71 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
72 directory prefix on the filename.
73
74 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
75
76 * gdb.gdb/unittest.exp: Update expected message informing that
77 selftests have been disabled.
78 * gdb.server/unittest.exp: Likewise.
79
80 2018-10-09 Tom de Vries <tdevries@suse.de>
81
82 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
83 with runto_main.
84
85 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
86
87 PR c++/16841
88 * gdb.cp/virtbase2.cc: New file.
89 * gdb.cp/virtbase2.exp: New file.
90
91 2018-10-06 Tom Tromey <tom@tromey.com>
92
93 PR python/19399:
94 * gdb.python/py-inferior.exp: Add architecture test.
95
96 2018-10-06 Tom Tromey <tom@tromey.com>
97
98 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
99 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
100
101 2018-10-06 Tom Tromey <tom@tromey.com>
102
103 * gdb.python/py-breakpoint.exp (check_last_event): Check location
104 of a "throw" catchpoint.
105
106 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
107
108 * gdb.base/info-proc.exp: Update string expected from "help info
109 proc".
110
111 2018-10-04 Tom Tromey <tom@tromey.com>
112
113 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
114 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
115 (test_initial_complaints, test_empty_complaints): Update.
116 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
117
118 2018-10-04 Tom Tromey <tom@tromey.com>
119
120 PR cli/19551:
121 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
122 * lib/gdb.exp (gdb_file_cmd): Update.
123 * gdb.stabs/weird.exp (print_weird_var): Update.
124 * gdb.server/solib-list.exp: Update.
125 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
126 * gdb.mi/mi-cli.exp: Update.
127 * gdb.linespec/linespec.exp: Update.
128 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
129 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
130 * gdb.cp/cp-relocate.exp: Update.
131 * gdb.base/sym-file.exp: Update.
132 * gdb.base/relocate.exp: Update.
133 * gdb.base/readnever.exp: Update.
134 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
135 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
136 * gdb.base/dbx.exp (gdb_file_cmd): Update.
137 * gdb.base/code_elim.exp: Update.
138 * gdb.base/break-unload-file.exp (test_break): Update.
139 * gdb.base/break-interp.exp (test_attach_gdb): Update.
140 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
141 Update.
142 * gdb.base/attach.exp (do_attach_tests): Update.
143 * gdb.base/sepdebug.exp: Update.
144 * gdb.python/py-section-script.exp: Update.
145
146 2018-10-04 Tom Tromey <tom@tromey.com>
147
148 PR cli/22234:
149 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
150 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
151 output.
152
153 2018-10-04 Tom Tromey <tom@tromey.com>
154
155 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
156 set width and height to 0.
157 (test_command_line_attach_run): Use -quiet.
158
159 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
160
161 * lib/gdb.exp (skip_ifunc_tests): New.
162 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
163 other compile failures.
164 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
165
166 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
167
168 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
169 is_amd64_regs_target.
170
171 2018-10-01 Alan Hayward <alan.hayward@arm.com>
172
173 * gdb.arch/aarch64-sighandler-regs.c: New test.
174 * gdb.arch/aarch64-sighandler-regs.exp: New file.
175 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
176
177 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
178
179 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
180 assembly.
181
182 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
183
184 * gdb.base/frame-selection.exp: New file.
185 * gdb.base/frame-selection.c: New file.
186
187 2018-09-27 Alan Hayward <alan.hayward@arm.com>
188
189 * gdb.threads/check-libthread-db.c (thread_routine): Use a
190 pthread barrier.
191 (main): Likewise.
192
193 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
194
195 * gdb.base/large-frame-1.c: New file.
196 * gdb.base/large-frame-2.c: New file.
197 * gdb.base/large-frame.exp: New file.
198 * gdb.base/large-frame.h: New file.
199
200 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
201
202 PR gdb/20948
203 * gdb.base/write_mem.exp: New test.
204 * gdb.base/write_mem.c: Likewise.
205
206 2018-09-23 Tom Tromey <tom@tromey.com>
207
208 PR python/18852:
209 * gdb.python/py-parameter.exp: Add test for parameter that throws
210 on "set".
211
212 2018-09-23 Tom Tromey <tom@tromey.com>
213
214 PR python/17284:
215 * gdb.python/py-template.exp (test_template_arg): Add test for
216 negative template argument number.
217
218 2018-09-23 Tom Tromey <tom@tromey.com>
219
220 PR python/14062:
221 * gdb.python/python.exp: Add test for post_event error.
222
223 2018-09-23 Tom Tromey <tom@tromey.com>
224
225 PR python/18170:
226 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
227 convert pointers to int and long.
228
229 2018-09-23 Tom Tromey <tom@tromey.com>
230
231 PR python/20126:
232 * gdb.python/py-value.exp (test_value_numeric_ops): Add
233 signed-ness conversion tests.
234
235 2018-09-23 Tom Tromey <tom@tromey.com>
236
237 PR python/18352;
238 * gdb.python/py-value.exp (test_float_conversion): New proc.
239 Use it.
240
241 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
242
243 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
244
245 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
246
247 * gdb.base/complete-empty.exp: Skip tab-completion tests if
248 no readline.
249 * gdb.base/utf8-identifiers.exp: Likewise.
250 * gdb.cp/cpcompletion.exp: Likewise.
251 * gdb.linespec/cpcompletion.exp: Likewise.
252 * gdb.linespec/cpls-abi-tag.exp: Likewise.
253 * gdb.linespec/cpls-ops.exp: Likewise.
254
255 2018-09-19 Richard Bunt <richard.bunt@arm.com>
256 Chris January <chris.january@arm.com>
257
258 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
259 * gdb.fortran/short-circuit-argument-list.exp: New file.
260 * gdb.fortran/short-circuit-argument-list.f90: New test.
261
262 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
263
264 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
265 "arch=" keyword when executing "-stack-list-frames".
266
267 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
268
269 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
270 "arch=" keyword when executing "-stack-list-frames".
271
272 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
273
274 * gdb.ada/complete.exp: Expect for "@" when doing "complete
275 break ada".
276
277 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
278
279 PR python/23669
280 * gdb.python/python.exp: Test gdb.execute("show commands").
281
282 2018-09-16 Tom Tromey <tom@tromey.com>
283
284 * gdb.base/new-ui.exp (do_execution_tests): Update.
285 * gdb.base/dbx.exp (test_breakpoints): Update.
286
287 2018-09-14 Alan Hayward <alan.hayward@arm.com>
288
289 * lib/gdb.exp (gdb_simple_compile): Add proc.
290 (is_elf_target): Use gdb_simple_compile.
291 (skip_altivec_tests): Likewise.
292 (skip_vsx_tests): Likewise.
293 (skip_tsx_tests): Likewise.
294 (skip_btrace_tests): Likewise.
295 (skip_btrace_pt_tests): Likewise.
296 (gdb_can_simple_compile): Likewise.
297 (gdb_has_argv0): Likewise.
298 (gdb_target_symbol_prefix): Likewise.
299 (target_supports_scheduler_locking): Likewise.
300
301 2018-09-13 Tom Tromey <tom@tromey.com>
302
303 * Makefile.in (TAGS): Recognize proc_with_prefix and
304 gdb_caching_proc.
305
306 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
307
308 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
309 method.
310
311 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
312
313 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
314 and a few other Inferior properties when the Inferior is no
315 longer valid.
316
317 2018-09-13 Tom Tromey <tom@tromey.com>
318
319 PR rust/23650:
320 * gdb.rust/simple.exp: Add test for enum field access error.
321
322 2018-09-13 Tom Tromey <tom@tromey.com>
323
324 PR rust/23626:
325 * gdb.rust/simple.rs (EmptyEnum): New type.
326 (main): Use it.
327 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
328
329 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
330
331 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
332 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
333 * gdb.python/py-symtab.exp: Update test printing an objfile.
334
335 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
336
337 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
338 object.
339
340 2018-09-12 Alan Hayward <alan.hayward@arm.com>
341
342 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
343 (support_complex_tests): Use gdb_can_simple_compile.
344 (is_ilp32_target): Likewise.
345 (is_lp64_target): Likewise.
346 (is_64_target): Likewise.
347 (is_amd64_regs_target): Likewise.
348 (is_aarch32_target): Likewise.
349 (gdb_int128_helper): Likewise.
350
351 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
352
353 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
354
355 2018-09-10 Jerome Guitton <guitton@adacore.com>
356
357 * gdb.ada/same_component_name: Add test for case of tagged record
358 with variable-length fields.
359
360 2018-09-10 Xavier Roirand <roirand@adacore.com>
361
362 * gdb.ada/access_to_unbounded_array.exp: New testcase.
363 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
364 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
365 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
366
367 2018-09-10 Xavier Roirand <roirand@adacore.com>
368
369 * gdb.ada/mi_string_access.exp: New testcase.
370 * gdb.ada/mi_string_access/bar.adb: New file.
371 * gdb.ada/mi_string_access/pck.adb: New file.
372 * gdb.ada/mi_string_access/pck.asd: New file.
373
374 2018-09-10 Xavier Roirand <roirand@adacore.com>
375
376 * gdb.ada/mi_var_union.exp: New testcase.
377 * gdb.ada/mi_var_union/bar.adb: New file.
378 * gdb.ada/mi_var_union/pck.adb: New file.
379 * gdb.ada/mi_var_union/pck.asd: New file.
380
381 2018-09-08 Tom Tromey <tom@tromey.com>
382
383 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
384
385 2018-09-08 Tom Tromey <tom@tromey.com>
386
387 PR python/16047:
388 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
389 (register_pretty_printers): Register new printer.
390 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
391 test.
392 * gdb.python/py-prettyprint.c (int_type3): New typedef.
393 (an_int_type3): New global.
394
395 2018-09-08 Joel Brobecker <brobecker@adacore.com>
396
397 * gdb.ada/expr_with_funcall: New testcase.
398
399 2018-09-08 Joel Brobecker <brobecker@adacore.com>
400
401 * gdb.ada/packed_array_assign: New testcase.
402
403 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
404
405 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
406 names, and add test prefixes to make test names unique.
407
408 2018-09-05 Tom de Vries <tdevries@suse.de>
409
410 * gdb.dwarf2/varval.exp: Add test.
411
412 2018-09-04 Gary Benson <gbenson@redhat.com>
413
414 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
415 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
416
417 2018-08-31 Tom Tromey <tom@tromey.com>
418
419 * gdb.rust/simple.rs: Rename second variable "v".
420
421 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
422
423 * gdb.base/funcargs.c (use_a): New function.
424 (recurse): Call use_a.
425
426 2018-08-29 Keith Seitz <keiths@redhat.com>
427
428 * gdb.compile/compile-cplus-anonymous.cc: New file.
429 * gdb.compile/compile-cplus-anonymous.exp: New file.
430 * gdb.compile/compile-cplus-array-decay.cc: New file.
431 * gdb.compile/compile-cplus-array-decay.exp: New file.
432 * gdb.compile/compile-cplus-inherit.cc: New file.
433 * gdb.compile/compile-cplus-inherit.exp: New file.
434 * gdb.compile/compile-cplus-member.cc: New file.
435 * gdb.compile/compile-cplus-member.exp: New file.
436 * gdb.compile/compile-cplus-method.cc: New file.
437 * gdb.compile/compile-cplus-method.exp: New file.
438 * gdb.compile/compile-cplus-mod.c: "New" file.
439 * gdb.compile/compile-cplus-namespace.cc: New file.
440 * gdb.compile/compile-cplus-namespace.exp: New file.
441 * gdb.compile/compile-cplus-nested.cc: New file.
442 * gdb.compile/compile-cplus-nested.exp: New file.
443 * gdb.compile/compile-cplus-print.c: "New" file.
444 * gdb.compile/compile-cplus-print.exp: "New" file.
445 * gdb.compile/compile-cplus-virtual.cc: New file.
446 * gdb.compile/compile-cplus-virtual.exp: New file.
447 * gdb.compile/compile-cplus.c: "New" file.
448 * gdb.compile/compile-cplus.exp: "New" file.
449 * lib/compile-support.exp: New file.
450
451 2018-08-16 Gary Benson <gbenson@redhat.com>
452
453 PR gdb/13000:
454 * gdb.base/batch-exit-status.exp: New file.
455 * gdb.base/batch-exit-status.good-commands: Likewise.
456 * gdb.base/batch-exit-status.bad-commands: Likewise.
457
458 2018-08-29 Alan Hayward <alan.hayward@arm.com>
459
460 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
461 (struct struct02): Likewise.
462 (struct struct03): Likewise.
463 (struct struct04): Likewise.
464 (struct struct_01_01): New struct.
465 (struct struct_01_02): Likewise.
466 (struct struct_01_03): Likewise.
467 (struct struct_01_04): Likewise.
468 (struct struct_02_01): Likewise.
469 (struct struct_02_02): Likewise.
470 (struct struct_02_03): Likewise.
471 (struct struct_02_04): Likewise.
472 (struct struct_04_01): Likewise.
473 (struct struct_04_02): Likewise.
474 (struct struct_04_03): Likewise.
475 (struct struct_04_04): Likewise.
476 (struct struct_05_01): Likewise.
477 (struct struct_05_02): Likewise.
478 (struct struct_05_03): Likewise.
479 (struct struct_05_04): Likewise.
480 (cmp_struct01): Remove function.
481 (cmp_struct02): Likewise.
482 (cmp_struct03): Likewise.
483 (cmp_struct04): Likewise.
484 (cmp_struct_01_01): Add Function.
485 (cmp_struct_01_02): Likewise.
486 (cmp_struct_01_03): Likewise.
487 (cmp_struct_01_04): Likewise.
488 (cmp_struct_02_01): Likewise.
489 (cmp_struct_02_02): Likewise.
490 (cmp_struct_02_03): Likewise.
491 (cmp_struct_02_04): Likewise.
492 (cmp_struct_04_01): Likewise.
493 (cmp_struct_04_02): Likewise.
494 (cmp_struct_04_03): Likewise.
495 (cmp_struct_04_04): Likewise.
496 (cmp_struct_05_01): Likewise.
497 (cmp_struct_05_02): Likewise.
498 (cmp_struct_05_03): Likewise.
499 (cmp_struct_05_04): Likewise.
500 (call_all): Add new structs.
501 * gdb.base/infcall-nested-structs.exp: Likewise.
502
503 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
504
505 * gdb.python/py-framefilter-mi.exp: Update regexp to
506 check for "arch" field in frame output.
507
508 2018-08-23 Kevin Buettner <kevinb@redhat.com>
509
510 * gdb.dwarf2/dw2-ranges-func.c: New file.
511 * gdb.dwarf2/dw2-ranges-func.exp: New file.
512
513 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
514
515 * gdb.base/term.exp: Compare terminal settings with values from
516 the inferior.
517 * gdb.base/term.c: Get and set terminal settings.
518
519 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
520
521 * lib/mi-support.exp (mi_expect_stop): Update regexp to
522 accommodate new "arch" field in frame output.
523 * gdb.mi/mi-return.exp: Likewise.
524 * gdb.mi/mi-stack.exp: Likewise.
525 * gdb.mi/mi-syn-frame.exp: Likewise.
526 * gdb.mi/user-selected-context-sync.exp: Likewise.
527
528 2018-08-19 Michael Spang <spang@google.com>
529
530 PR gdb/11786
531 * gdb.base/gcore-tls-pie.c: New file.
532 * gdb.base/gcore-tls-pie.exp: New file.
533
534 2018-08-18 Kevin Buettner <kevinb@redhat.com>
535
536 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
537 * gdb.dwarf2/varval.c: New file.
538 * gdb.dwarf2/varval.exp: New file.
539
540 2018-08-17 Alan Hayward <alan.hayward@arm.com>
541
542 PR gdb/18931
543 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
544
545 2018-08-16 Keith Seitz <keiths@redhat.com>
546
547 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
548 tests expected to pass.
549
550 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
551
552 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
553 -data-disassemble -a.
554 (test_disassembly_bogus_args): Likewise.
555
556 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
557
558 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
559
560 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
561
562 * gdb.base/vla-optimized-out.exp: Add new test.
563
564 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
565
566 * gdb.base/vla-optimized-out-o3.exp: Delete.
567 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
568 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
569 deleted tests.
570
571 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
572
573 PR gdb/18050:
574 * gdb.server/extended-remote-restart.c: New file.
575 * gdb.server/extended-remote-restart.exp: New file.
576
577 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
578
579 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
580 "set variable index = 42".
581
582 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
583
584 * boards/index-cache-gdb.exp: New file.
585 * gdb.dwarf2/index-cache.exp: New file.
586 * gdb.dwarf2/index-cache.c: New file.
587 * gdb.base/maint.exp: Check if we are using the index cache.
588
589 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
590
591 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
592 MAKEFLAGS.
593
594 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
595
596 * dg-extract-results.sh: Move to toplevel contrib.
597 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
598 * Makefile.in (check-parallel-racy): Likewise.
599
600 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
601
602 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
603 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
604 tests if the target supports scheduler locking.
605
606 2018-08-04 Tom de Vries <tdevries@suse.de>
607
608 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
609
610 2018-08-02 Tom Tromey <tom@tromey.com>
611
612 PR symtab/16842.
613 * gdb.cp/temargs.exp: Test "info address" of a template
614 parameter.
615
616 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
617
618 * gdb.python/py-mi-var-info-path-expression.c: New file.
619 * gdb.python/py-mi-var-info-path-expression.py: New file.
620 * gdb.python/py-mi-var-info-path-expression.exp: New file.
621
622 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
623
624 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
625 error after "cannot resolve name" string.
626
627 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
628
629 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
630 started.
631 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
632
633 2018-07-28 Tom de Vries <tdevries@suse.de>
634
635 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
636
637 2018-07-26 Tom de Vries <tdevries@suse.de>
638
639 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
640
641 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
642
643 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
644 is visible.
645
646 2018-07-26 Tom de Vries <tdevries@suse.de>
647
648 PR breakpoints/23366
649 * gdb.base/catch-follow-exec.c: New test.
650 * gdb.base/catch-follow-exec.exp: New file.
651
652 2018-07-25 Tom de Vries <tdevries@suse.de>
653
654 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
655 vla-optimized-out.c.
656
657 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
658
659 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
660 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
661
662 2018-07-20 Tom de Vries <tdevries@suse.de>
663
664 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
665 NOCLONE macro.
666 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
667
668 2018-07-19 Tom de Vries <tdevries@suse.de>
669
670 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
671 regular expression.
672
673 2018-07-18 Tom de Vries <tdevries@suse.de>
674
675 * gdb.base/vla-optimized-out.c: New test.
676 * gdb.base/vla-optimized-out.exp: New file.
677
678 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
679
680 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
681 message "No address associated with hostname" when gdbserver
682 cannot resolve the hostname.
683
684 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
685
686 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
687 Add some test prefixes to make tests unique.
688
689 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
690
691 * gdb.base/frameapply.c: New file.
692 * gdb.base/frameapply.exp: New file.
693
694 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
695
696 * gdb.base/skip.exp: Update expected error message.
697
698 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
699 Jan Kratochvil <jan.kratochvil@redhat.com>
700 Paul Fertser <fercerpav@gmail.com>
701 Tsutomu Seki <sekiriki@gmail.com>
702
703 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
704 parameter.
705 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
706 by default.
707 * boards/native-gdbserver.exp: Likewise.
708 * gdb.server/run-without-local-binary.exp: Improve regexp used
709 for detecting when a remote debugging connection succeeds.
710 * gdb.server/server-connect.exp: New file.
711 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
712 Do not prefix the port number with ":".
713 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
714 support for detecting and using it. Add '$debughost_gdbserver'
715 to the list of arguments used to start gdbserver. Handle case
716 when gdbserver cannot resolve a network name.
717
718 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
719
720 PR c++/23373
721 * gdb.base/ptype-offsets.cc (struct static_member): New
722 struct.
723 (main) <stmember>: New variable.
724 * gdb.base/ptype-offsets.exp: Add test for printing a struct
725 with a static member in it.
726
727 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
728
729 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
730 watchpoints enabled and disabled.
731
732 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
733
734 * gdb.base/examine-backward.exp: Still run tests around address
735 0x0, even if address 0x0 is not readable. Update the pattern for
736 matching address 0x0 in expected output.
737
738 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
739
740 * gdb.base/share-env-with-gdbserver.c (main): Add call to
741 malloc/free.
742
743 2018-07-04 Tom de Vries <tdevries@suse.de>
744
745 * gdb.dwarf2/dw2-error.exp: Update expected error message.
746
747 2018-07-02 Maciej W. Rozycki <macro@mips.com>
748
749 PR tdep/8282
750 * gdb.arch/mips-disassembler-options.exp: New test.
751 * gdb.arch/mips-disassembler-options.s: New test source.
752
753 2018-06-29 Pedro Alves <palves@redhat.com>
754
755 * gdb.threads/names.exp: Adjust expected "info threads" output.
756
757 2018-06-29 Pedro Alves <palves@redhat.com>
758
759 * gdb.opt/inline-break.exp (line number, address): Add "info
760 break" tests.
761
762 2018-06-29 Pedro Alves <palves@redhat.com>
763
764 * gdb.opt/inline-break.c (func1): Add "break here" marker.
765 * gdb.opt/inline-break.exp: Test setting breakpoints by line
766 number and address and running to them.
767
768 2018-06-29 Richard Bunt <richard.bunt@arm.com>
769
770 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
771
772 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
773
774 * lib/compiler.c: Remove executable permission flag.
775
776 2018-06-28 Richard Bunt <richard.bunt@arm.com>
777
778 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
779 code.
780 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
781
782 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
783
784 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
785
786 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
787
788 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
789 address argument is omitted.
790
791 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
792
793 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
794
795 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
796
797 PR gdb/21695
798 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
799 * gdb.base/infoline-reloc-main-from-zero.c: New file.
800
801 2018-06-26 Tom Tromey <tom@tromey.com>
802
803 PR rust/22574:
804 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
805 * gdb.rust/simple.rs (struct SimpleLayout): New.
806
807 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
808
809 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
810 "info registers" output.
811
812 2018-06-21 Richard Bunt <richard.bunt@arm.com>
813
814 * gdb.base/watchpoint-hw-attach.c: New test.
815 * gdb.base/watchpoint-hw-attach.exp: New file.
816
817 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
818
819 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
820 through /bin/sh.
821 * boards/dwarf4-gdb-index.exp: Likewise.
822 * boards/fission-dwp.exp: Likewise.
823
824 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
825
826 * gdb.base/float128.exp: Add comment and improved fail message
827 to the failure case of "print large128" test.
828
829 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
830
831 * configure.ac: Remove AC_PREREQ.
832 * configure: Re-generate.
833
834 2018-06-19 Pedro Alves <palves@redhat.com>
835
836 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
837 (func_extern_caller): New.
838 (main): Call func_extern_caller.
839 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
840 logic change.
841
842 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
843
844 PR gdb/16841
845 * gdb.cp/typedef-base.cc: New file.
846 * gdb.cp/typedef-base.exp: New file.
847
848 2018-06-18 Tom de Vries <tdevries@suse.de>
849
850 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
851
852 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
853 Richard Bunt <Richard.Bunt@arm.com>
854
855 * gdb.threads/attach-slow-waitpid.c: New file.
856 * gdb.threads/attach-slow-waitpid.exp: New file.
857 * gdb.threads/slow-waitpid.c: New file.
858
859 2018-06-14 Pedro Alves <palves@redhat.com>
860
861 * gdb.base/fork-running-state.c: Include <errno.h>.
862 (exit_if_relative_exits): New.
863 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
864 exits.
865 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
866 child exits.
867
868 2018-06-14 Tom de Vries <tdevries@suse.de>
869
870 PR cli/22573
871 * gdb.base/finish-pretty.c: New test.
872 * gdb.base/finish-pretty.exp: New file.
873
874 2018-06-14 Pedro Alves <palves@redhat.com>
875
876 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
877 gdb's expected startup output.
878
879 2018-06-14 Pedro Alves <palves@redhat.com>
880
881 * lib/selftest-support.exp (selftest_setup): Remove inlined
882 function handling.
883
884 2018-06-14 Tom de Vries <tdevries@suse.de>
885
886 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
887 matching of breakpoint printing.
888
889 2018-06-13 Tom de Vries <tdevries@suse.de>
890
891 PR testsuite/23269
892 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
893 (fork_child): ... here, and ...
894 (fork_parent): ... here.
895
896 2018-06-12 Tom de Vries <tdevries@suse.de>
897
898 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
899
900 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
901 Stephen Roberts <stephen.roberts@arm.com>
902
903 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
904 rewrite test to describe action performed, rather than possible
905 failure.
906
907 2018-06-08 Gary Benson <gbenson@redhat.com>
908
909 * gdb.threads/check-libthread-db.exp: New file.
910 * gdb.threads/check-libthread-db.c: Likewise.
911
912 2018-06-05 Tom Tromey <tom@tromey.com>
913
914 * gdb.base/default.exp: Update expected "show version" output.
915
916 2018-06-05 Tom Tromey <tom@tromey.com>
917
918 PR cli/12326:
919 * gdb.cp/static-print-quit.exp: Update.
920 * lib/gdb.exp (pagination_prompt): Update.
921 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
922 * gdb.python/python.exp: Update.
923
924 2018-06-04 Joel Brobecker <brobecker@adacore.com>
925
926 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
927
928 2018-06-01 Joel Brobecker <brobecker@adacore.com>
929
930 * gdb.ada/bp_fun_addr: New testcase.
931
932 2018-06-01 Tom Tromey <tom@tromey.com>
933
934 * gdb.xml/tdesc-regs.exp (load_description): Update expected
935 results.
936 * gdb.dwarf2/method-ptr.exp: Set language to C++.
937 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
938 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
939 * gdb.base/maint.exp (maint_pass_if): Update.
940
941 2018-05-31 Maciej W. Rozycki <macro@mips.com>
942
943 * gdb.base/endian.exp: New test.
944 * gdb.base/endian.c: New test source.
945
946 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
947
948 PR gdb/23203
949 * gdb.base/bt-selected-frame.c: New file.
950 * gdb.base/bt-selected-frame.exp: New file.
951 * lib/gdb.exp (get_current_frame_number): New function.
952
953 2018-05-24 Maciej W. Rozycki <macro@mips.com>
954 Pedro Alves <palves@redhat.com>
955
956 * gdb.threads/tls-core.c: Include <stdlib.h>
957 (thread_proc): Call `abort'.
958 * gdb.threads/tls-core.exp: Generate a core with core_find too.
959 (tls_core_test): New procedure, bits factored out from ...
960 (top level): ... here. Test both native cores and gcore cores.
961
962 2018-05-23 Tom Tromey <tom@tromey.com>
963
964 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
965
966 2018-05-23 Tom Tromey <tom@tromey.com>
967
968 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
969 symfile_complaints.
970 (test_short_complaints): Likewise.
971 (test_empty_complaints): Likewise.
972 (test_initial_complaints): Update.
973
974 2018-05-23 Tom Tromey <tom@tromey.com>
975
976 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
977
978 2018-05-23 Tom Tromey <tom@tromey.com>
979
980 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
981 (test_short_complaints): Update.
982
983 2018-05-22 Pedro Alves <palves@redhat.com>
984
985 * gdb.base/remote.exp: Only gdb_start after compiling the
986 testcase. Issue "disconnect" before testing "set remote" command
987 defaults. Issue clean_restart before running to main.
988
989 2018-05-22 Pedro Alves <palves@redhat.com>
990
991 * gdb.base/remote.exp: Adjust expected output of "show remote
992 memory-write-packet-size". Add tests for "set remote
993 memory-write-packet-size 0" and "set remote
994 memory-write-packet-size fixed/limit".
995
996 2018-05-22 Pedro Alves <palves@redhat.com>
997
998 PR gdb/22973
999 * gdb.base/utf8-identifiers.c: New file.
1000 * gdb.base/utf8-identifiers.exp: New file.
1001
1002 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1003
1004 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1005
1006 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1007
1008 * gdb.arch/powerpc-vsx-gcore.exp: New file.
1009
1010 2018-05-18 Tom Tromey <tom@tromey.com>
1011
1012 * gdb.base/ptype-offsets.exp: Update.
1013
1014 2018-05-17 Keith Seitz <keiths@redhat.com>
1015
1016 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1017 in expected breakpoint stop locations.
1018 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1019 move to proper scope to test variable values.
1020 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1021 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1022 New functions.
1023 (main): Call not_inline_func3.
1024 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1025 inline_func1, inline_func2, and inline_func3. Test that when each
1026 breakpoint is hit, GDB properly reports both the stop location
1027 and the backtrace. Repeat tests for temporary breakpoints.
1028
1029 2018-05-15 Maciej W. Rozycki <macro@mips.com>
1030
1031 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1032 rather then trying to access it in determining whether the PID
1033 of `gdbserver' could have been retrieved.
1034
1035 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
1036
1037 * gdb.arch/amd64-init-x87-values.S: New file.
1038 * gdb.arch/amd64-init-x87-values.exp: New file.
1039
1040 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1041
1042 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1043
1044 2018-05-04 Tom Tromey <tom@tromey.com>
1045
1046 PR python/22730:
1047 * gdb.python/python.exp: Test multi-line execute.
1048
1049 2018-05-04 Tom Tromey <tom@tromey.com>
1050
1051 PR python/22731:
1052 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1053
1054 2018-05-04 Tom Tromey <tom@tromey.com>
1055
1056 PR gdb/11750:
1057 * gdb.base/define.exp: Test defining a user command inside a user
1058 command.
1059 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1060
1061 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1062 Pedro Alves <palves@redhat.com>
1063
1064 PR breakpoints/19806 and support for PR external/20207.
1065 * gdb.base/watchpoint-unaligned.c: New file.
1066 * gdb.base/watchpoint-unaligned.exp: New file.
1067
1068 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1069
1070 * gdb.base/maint.exp: Make test names unique, use
1071 test_prefix_command_help to test 'help maint info', and remove
1072 repeated test of 'help maint'.
1073
1074 2018-05-04 Tom Tromey <tom@tromey.com>
1075
1076 PR gdb/22619:
1077 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1078 behavior.
1079
1080 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1081
1082 * gdb.base/maint.exp: Process output from 'maint print registers'
1083 line at a time.
1084
1085 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1086
1087 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1088 timeout.
1089
1090 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
1091
1092 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1093 filter pattern.
1094
1095 2018-05-02 Pedro Alves <palves@redhat.com>
1096
1097 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1098 to_log_command renames.
1099 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1100
1101 2018-05-02 Tom Tromey <tom@tromey.com>
1102
1103 * gdb.python/py-parameter.exp: Set test message.
1104
1105 2018-05-02 Tom Tromey <tom@tromey.com>
1106
1107 PR python/20084:
1108 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1109 PARAM_ZUINTEGER_UNLIMITED tests.
1110
1111 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
1112
1113 PR rust/23124
1114 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1115 when casting.
1116
1117 2018-04-30 Tom Tromey <tom@tromey.com>
1118
1119 * gdb.python/py-type.exp: Check align attribute.
1120 * gdb.python/py-type.c: New "aligncheck" global.
1121
1122 2018-04-30 Tom Tromey <tom@tromey.com>
1123
1124 PR exp/17095:
1125 * gdb.dwarf2/dw2-align.exp: New file.
1126 * gdb.cp/align.exp: New file.
1127 * gdb.base/align.exp: New file.
1128 * lib/gdb.exp (gdb_int128_helper): New proc.
1129 (has_int128_c, has_int128_cxx): New caching procs.
1130
1131 2018-04-27 Tom Tromey <tom@tromey.com>
1132
1133 PR rust/22545:
1134 * gdb.rust/simple.exp: Add inclusive range tests.
1135
1136 2018-04-26 Pedro Alves <palves@redhat.com>
1137
1138 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1139 ifunc breakpoint locations correctly of ifunc breakpoints set
1140 while the program resolves the ifunc.
1141
1142 2018-04-26 Pedro Alves <palves@redhat.com>
1143
1144 * gdb.base/gnu-ifunc-final.c: New file.
1145 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1146 * gdb.base/gnu-ifunc.exp (executable): Delete.
1147 (staticexecutable): Adjust.
1148 (lib_opts, exec_opts): Delete.
1149 (make_binsuffix, build, set-break): New procedures.
1150 (misc_tests): New, with tests factored out from the top level.
1151 (top level): Test different combinations of ifunc resolver name,
1152 resolver with and with debug info, and ifunc target with and
1153 without debug info. Wrap static tests with with_target_prefix.
1154
1155 2018-04-26 Pedro Alves <palves@redhat.com>
1156
1157 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1158 return type" warnings.
1159
1160 2018-04-25 Pedro Alves <palves@redhat.com>
1161
1162 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1163 killed".
1164 * gdb.base/kill-after-signal.exp: Likewise.
1165 * gdb.threads/kill.exp: Likewise.
1166
1167 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1168 Sergio Durigan Junior <sergiodj@redhat.com>
1169 Pedro Alves <palves@redhat.com>
1170
1171 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1172 regexps to expect for '[Inferior ... detached]' as well.
1173 * gdb.base/attach.exp: Likewise.
1174 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1175 "gdb_continue_to_end".
1176 (test_catch_syscall_with_wrong_args): Likewise.
1177 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1178 ']'. Don't set 'verbose' on.
1179 * gdb.base/foll-vfork.exp: Likewise.
1180 * gdb.base/fork-print-inferior-events.c: New file.
1181 * gdb.base/fork-print-inferior-events.exp: New file.
1182 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1183 '[Inferior ... has been killed]' message.
1184 * gdb.base/kill-after-signal.exp: Likewise.
1185 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1186 detach message.
1187 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1188 message.
1189 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1190 regexps to expect for '[Inferior ... detached]' as well.
1191 * gdb.threads/process-dies-while-detaching.exp: Likewise.
1192
1193 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
1194
1195 PR gdb/23104
1196 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1197
1198 2018-04-19 Richard Bunt <richard.bunt@arm.com>
1199
1200 * gdb.threads/multiple-successive-infcall.c: New test.
1201 * gdb.threads/multiple-successive-infcall.exp: New file.
1202
1203 2018-04-17 Tom Tromey <tom@tromey.com>
1204
1205 * gdb.rust/simple.rs (Union): New type.
1206 (main): New local "u".
1207 * gdb.rust/simple.exp (test_one_slice): Add new test case.
1208
1209 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1210
1211 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1212 number information in output of "whereis" command.
1213 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1214
1215 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1216
1217 * gdb.ada/info_types.exp: Adjust expected output to the line
1218 numbers now printed by "info var/func/type".
1219 * gdb.base/completion.exp: Likewise.
1220 * gdb.base/included.exp: Likewise.
1221 * gdb.cp/cp-relocate.exp: Likewise.
1222 * gdb.cp/cplusfuncs.exp: Likewise.
1223 * gdb.cp/namespace.exp: Likewise.
1224 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1225
1226 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1227
1228 * gdb.btrace/cpu.exp: New.
1229
1230 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1231
1232 * gdb.base/step-indirect-call-thunk.exp: New.
1233 * gdb.base/step-indirect-call-thunk.c: New.
1234 * gdb.reverse/step-indirect-call-thunk.exp: New.
1235 * gdb.reverse/step-indirect-call-thunk.c: New.
1236
1237 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
1238
1239 * gdb.base/pie-fork.c: New file.
1240 * gdb.base/pie-fork.exp: New file.
1241
1242 2018-04-11 Tom Tromey <tom@tromey.com>
1243
1244 * gdb.rust/simple.exp: Add test for ".." struct initializer.
1245
1246 2018-04-10 Pedro Alves <palves@redhat.com>
1247
1248 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1249 exits. Instead loop running forever.
1250 (fork_parent): Run forever too.
1251
1252 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1253
1254 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1255 mi_continue_to_line.
1256 * gdb.mi/mi-stack.c (callee4): Add comment.
1257
1258 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1259
1260 * gdb.mi/mi-stack.exp: Fix indentation.
1261
1262 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1263
1264 PR gdb/22979
1265 * gdb.arch/amd64-osabi.exp: New file.
1266
1267 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1268
1269 PR gdb/22980
1270 * gdb.base/osabi.exp: New file.
1271
1272 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
1273
1274 * gdb.cp/static-typedef-print.exp: New file.
1275 * gdb.cp/static-typedef-print.cc: New file.
1276
1277 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1278
1279 * gdb.ada/varsize_limit: New testcase.
1280
1281 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1282
1283 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1284
1285 * gdb.ada/notcplusplus: New testcase.
1286
1287 * gdb.base/c-linkage-name.c: New file.
1288 * gdb.base/c-linkage-name.exp: New testcase.
1289
1290 2018-03-26 Tom Tromey <tom@tromey.com>
1291
1292 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1293 * gdb.python/py-framefilter.py (name_error): New global.
1294 (ErrorInName.function): Use name_error.
1295
1296 2018-03-26 Tom Tromey <tom@tromey.com>
1297
1298 PR backtrace/15582:
1299 * gdb.python/py-framefilter.exp: Add "bt hide" test.
1300
1301 2018-03-23 Keith Seitz <keiths@redhat.com>
1302
1303 PR c++/22968
1304 * gdb.cp/subtypes.exp: New file.
1305 * gdb.cp/subtypes.h: New file.
1306 * gdb.cp/subtypes.cc: New file.
1307 * gdb.cp/subtypes-2.cc: New file.
1308
1309 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1310
1311 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1312 (done): Call '_exit' not 'exit' to avoid atexit handlers.
1313 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1314 -nostartfiles when compiling the test. Confirm that all registers
1315 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1316
1317 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1318
1319 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1320 option, syntax was wrong anyway.
1321 * gdb.arch/arm-disp-step.exp: Likewise.
1322 * gdb.arch/sparc64-regs.exp: Likewise.
1323 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1324 option, syntax was wrong anyway, switch to use
1325 prepare_for_testing.
1326 * gdb.arch/i386-disp-step.exp: Likewise.
1327
1328 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
1329
1330 * gdb.ada/exec_changed.exp: Replace "target_info exists
1331 use_gdb_stub" by "use_gdb_stub".
1332 * gdb.ada/start.exp: Likewise.
1333 * gdb.base/async-shell.exp: Likewise.
1334 * gdb.base/attach-pie-misread.exp: Likewise.
1335 * gdb.base/attach-wait-input.exp: Likewise.
1336 * gdb.base/break-entry.exp: Likewise.
1337 * gdb.base/break-interp.exp: Likewise.
1338 * gdb.base/dprintf-detach.exp: Likewise.
1339 * gdb.base/nostdlib.exp: Likewise.
1340 * gdb.base/solib-nodir.exp: Likewise.
1341 * gdb.base/statistics.exp: Likewise.
1342 * gdb.base/testenv.exp: Likewise.
1343 * gdb.mi/mi-exec-run.exp: Likewise.
1344 * gdb.mi/mi-start.exp: Likewise.
1345 * gdb.multi/dummy-frame-restore.exp: Likewise.
1346 * gdb.multi/multi-arch-exec.exp: Likewise.
1347 * gdb.multi/multi-arch.exp: Likewise.
1348 * gdb.multi/tids.exp: Likewise.
1349 * gdb.multi/watchpoint-multi.exp: Likewise.
1350 * gdb.python/py-events.exp: Likewise.
1351 * gdb.threads/attach-into-signal.exp: Likewise.
1352 * gdb.threads/attach-stopped.exp: Likewise.
1353 * gdb.threads/threadapply.exp: Likewise.
1354 * lib/selftest-support.exp: Likewise.
1355
1356 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1357
1358 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1359
1360 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1361
1362 * gdb.perf/template-breakpoints.cc: New file.
1363 * gdb.perf/template-breakpoints.exp: New file.
1364 * gdb.perf/template-breakpoints.py: New file.
1365
1366 2018-03-19 Tom Tromey <tom@tromey.com>
1367
1368 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1369 y0.
1370 * gdb.rust/simple.exp: Test bare identifier form of struct
1371 initializer.
1372
1373 2018-03-19 Tom Tromey <tom@tromey.com>
1374
1375 * gdb.gdb/observer.exp: Remove.
1376
1377 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1378
1379 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1380 "qualified" option when setting breakpoints.
1381 * gdb.trace/backtrace.exp: Likewise.
1382 * gdb.trace/circ.exp: Likewise.
1383 * gdb.trace/collection.exp: Likewise.
1384 * gdb.trace/disconnected-tracing.exp: Likewise.
1385 * gdb.trace/ftrace-lock.exp: Likewise.
1386 * gdb.trace/ftrace.exp: Likewise.
1387 * gdb.trace/infotrace.exp: Likewise.
1388 * gdb.trace/packetlen.exp: Likewise.
1389 * gdb.trace/passc-dyn.exp: Likewise.
1390 * gdb.trace/qtro.exp: Likewise.
1391 * gdb.trace/read-memory.exp: Likewise.
1392 * gdb.trace/report.exp: Likewise.
1393 * gdb.trace/signal.exp: Likewise.
1394 * gdb.trace/status-stop.exp: Likewise.
1395 * gdb.trace/strace.exp: Likewise.
1396 * gdb.trace/tfind.exp: Likewise.
1397 * gdb.trace/trace-break.exp: Likewise.
1398 * gdb.trace/trace-condition.exp: Likewise.
1399 * gdb.trace/trace-mt.exp: Likewise.
1400 * gdb.trace/tstatus.exp: Likewise.
1401 * gdb.trace/tsv.exp: Likewise.
1402 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1403 * gdb.trace/unavailable.exp: Likewise.
1404 * gdb.trace/while-dyn.exp: Likewise.
1405
1406 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1407
1408 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1409 that libinproctrace is copied to the target.
1410
1411 2018-03-14 Tom Tromey <tom@tromey.com>
1412
1413 PR cli/14977:
1414 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1415 a null pointer.
1416 * gdb.base/wchar.exp: Likewise.
1417
1418 2018-03-14 Tom Tromey <tom@tromey.com>
1419
1420 PR cli/19918:
1421 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1422 flag.
1423
1424 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1425
1426 PR gdb/22841
1427 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1428 "target" to remote_exec.
1429
1430 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1431
1432 PR gdb/22841
1433 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1434 ${board}_upload): Remove.
1435
1436 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1437
1438 * gdb.cp/watch-cp.cc: New test.
1439 * gdb.cp/watch-cp.exp: New file.
1440
1441 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1442
1443 * gdb.base/infcall-nested-structs.exp: New file.
1444 * gdb.base/infcall-nested-structs.c: New file.
1445 * gdb.base/float.exp: Add riscv support.
1446
1447 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1448
1449 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1450 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1451
1452 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1453
1454 * gdb.server/abspath.exp: New file.
1455 * lib/gdb.exp (with_cwd): New procedure.
1456
1457 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1458
1459 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1460 use it.
1461 (gdb_is_target_remote_prompt): New proc.
1462 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1463 (gdb_is_target_native): Pass prompt parameter to
1464 gdb_is_target_1.
1465
1466 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1467
1468 * gdb.base/load-command.c: New file.
1469 * gdb.base/load-command.exp: New file.
1470 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1471 (gdb_is_target_1): ...this, and generalize for other targets
1472 than just remote.
1473 (gdb_is_target_remote): Use gdb_is_target_1.
1474 (gdb_is_target_native): use gdb_is_target_1.
1475
1476 2018-02-26 Tom Tromey <tom@tromey.com>
1477
1478 PR python/16497:
1479 * gdb.python/py-framefilter.exp: Update test.
1480
1481 2018-02-26 Tom Tromey <tom@tromey.com>
1482
1483 * gdb.dwarf2/variant.c: New file.
1484 * gdb.dwarf2/variant.exp: New file.
1485
1486 2018-02-26 Tom Tromey <tom@tromey.com>
1487
1488 * gdb.rust/simple.exp: Accept more possible results in enum test.
1489
1490 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1491
1492 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1493 parentheses.
1494
1495 2018-02-23 Maciej W. Rozycki <macro@mips.com>
1496
1497 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1498 name of a variable: $actual_linejj -> $actual_line.
1499
1500 2018-02-21 John Baldwin <jhb@FreeBSD.org>
1501
1502 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1503
1504 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1505
1506 * gdb.btrace/buffer-size.exp: Do not force BTS.
1507
1508 2018-02-14 Pedro Alves <palves@redhat.com>
1509
1510 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1511 getting a "Quit".
1512
1513 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1514
1515 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1516 Fix test name.
1517
1518 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1519
1520 * gdb.cp/m-static.exp: Check type of optimized out static
1521 member.
1522
1523 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1524
1525 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1526 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1527
1528 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1529 Leszek Swirski <leszeks@google.com>
1530
1531 * gdb.python/py-prettyprint.c
1532 (struct to_string_returns_value_inner,
1533 struct to_string_returns_value_wrapper): New.
1534 (main): Add tsrvw variable.
1535 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1536 ToStringReturnsValueWrapper): New classes.
1537 (register_pretty_printers): Register new pretty-printers.
1538 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1539 recursive pretty printer.
1540 * gdb.python/py-mi.exp: Likewise.
1541
1542 2018-02-01 Leszek Swirski <leszeks@google.com>
1543
1544 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1545 functions with the same name as an include file are parsed
1546 correctly.
1547
1548 2018-02-01 Yao Qi <yao.qi@linaro.org>
1549
1550 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1551 "\[^\r\n\]*".
1552
1553 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1554
1555 * gdb.arch/powerpc-prologue-frame.s: New file.
1556 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1557 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1558
1559 2018-01-31 Joel Brobecker <brobecker@adacore.com>
1560
1561 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1562
1563 2018-01-30 Pedro Alves <palves@redhat.com>
1564
1565 PR gdb/13211
1566 * gdb.base/interrupt-daemon.c: New.
1567 * gdb.base/interrupt-daemon.exp: New.
1568 * gdb.multi/multi-term-settings.c: New.
1569 * gdb.multi/multi-term-settings.exp: New.
1570
1571 2018-01-30 Joel Brobecker <brobecker@adacore.com>
1572
1573 * gdb.base/break.exp: Save the location where the breakpoint
1574 on break.c:47 was actually inserted when debugging the version
1575 compiled at -O2 and use it in the expected output of the "info
1576 break" test performed soon after.
1577
1578 2018-01-22 Pedro Alves <palves@redhat.com>
1579 Sergio Durigan Junior <sergiodj@redhat.com>
1580
1581 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1582 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1583
1584 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1585
1586 * gdb.base/break-include.c, gdb.base/break-include.inc,
1587 gdb.base/break-include.exp: New files.
1588 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1589 line number now being the actual line number where the breakpoint
1590 was inserted.
1591 * gdb.mi/mi-break.exp: Likewise.
1592 * gdb.mi/mi-reverse.exp: Likewise.
1593 * gdb.mi/mi-simplerun.exp: Ditto.
1594
1595 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1596
1597 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1598 varobj.
1599 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1600
1601 2018-01-21 Don Breazeal <donb@codesourcery.com>
1602 Andrew Burgess <andrew.burgess@embecosm.com>
1603
1604 * gdb.mi/basics.c: Add new global.
1605 * gdb.mi/mi-frame-regs.exp: New file.
1606 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1607 case.
1608
1609 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1610
1611 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1612 non-parameter, and on an unknown symbol.
1613
1614 2018-01-19 Tom Tromey <tom@tromey.com>
1615
1616 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1617 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1618
1619 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1620
1621 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1622 setrlimit and chdir to int.
1623
1624 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1625
1626 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1627 function.
1628 (my_tend): Likewise.
1629 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1630 rationale of avoiding FP- and vector instructions.
1631
1632 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1633
1634 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1635 "info reg" with "\[ \t\]*".
1636 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1637 "\[ \t\]+".
1638 * gdb.arch/s390-multiarch.exp: Ditto.
1639 * gdb.base/pc-fp.exp: Ditto.
1640 * gdb.reverse/i386-precsave.exp: Ditto.
1641 * gdb.reverse/i386-reverse.exp: Ditto.
1642 * gdb.reverse/i387-env-reverse.exp: Ditto.
1643 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1644
1645 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1646
1647 * lib/gdb.exp (gdb_compile): Re-enable use of
1648 universal_compile_options for languages other than Rust.
1649
1650 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1651
1652 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1653
1654 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1655
1656 PR gdb/16577
1657 * gdb.base/solib-vanish.exp: New.
1658 * gdb.base/solib-vanish-main.c: New.
1659 * gdb.base/solib-vanish-lib1.c: New.
1660 * gdb.base/solib-vanish-lib2.c: New.
1661
1662 2018-01-17 Yao Qi <yao.qi@linaro.org>
1663
1664 * gdb.compile/compile.exp: Match the address printed for
1665 frame in the output of command "bt".
1666
1667 2018-01-15 Tom Tromey <tom@tromey.com>
1668
1669 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1670 compute sp_reg.
1671
1672 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1673
1674 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1675 to prepare.
1676 (prepare): Return 0 on error, 1 on success.
1677
1678 2018-01-12 Pedro Alves <palves@redhat.com>
1679
1680 * gdb.base/continue-after-aborted-step-over.c: New.
1681 * gdb.base/continue-after-aborted-step-over.exp: New.
1682
1683 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1684
1685 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1686 options when not creating an executable.
1687
1688 2018-01-11 Pedro Alves <palves@redhat.com>
1689
1690 PR remote/22597
1691 * gdb.server/stop-reply-no-thread.c: New file.
1692 * gdb.server/stop-reply-no-thread.exp: New file.
1693
1694 2018-01-10 Pedro Alves <palves@redhat.com>
1695
1696 PR gdb/22670
1697 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1698 functions too. Test setting breakpoints and printing C functions
1699 with no debug info too.
1700 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1701
1702 2018-01-10 Pedro Alves <palves@redhat.com>
1703
1704 PR gdb/22670
1705 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1706 a fail.
1707
1708 2018-01-10 Pedro Alves <palves@redhat.com>
1709
1710 PR gdb/22670
1711 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1712
1713 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1714
1715 * gdb.server/unittest.exp: Match the output in non-development
1716 mode.
1717
1718 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1719
1720 * gdb.gdb/unittest.exp: Match output in non-development mode.
1721
1722 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1723
1724 * gdb.ada/access_tagged_param.exp: Relax expected output
1725 for value of "ObjL" in "continue" to pck.inspect breakpoint
1726 test.
1727
1728 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1729
1730 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1731 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1732
1733 2018-01-05 Pedro Alves <palves@redhat.com>
1734
1735 PR gdb/18653
1736 * gdb.base/libsegfault.exp: New.
1737
1738 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1739
1740 PR gdb/22670
1741 * gdb.ada/access_tagged_param.exp: New file.
1742 * gdb.ada/access_tagged_param/foo.adb: New file.
1743
1744 2018-01-05 Pedro Alves <palves@redhat.com>
1745
1746 PR gdb/22670
1747 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1748 exercise lower case too, and to exercise both full matching and
1749 wild matching.
1750
1751 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1752
1753 * gdb.ada/rename_subscript_param: New testcase.
1754
1755 2018-01-05 Jerome Guitton <guitton@adacore.com>
1756
1757 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1758
1759 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1760
1761 * gdb.ada/convvar_comp: New testcase.
1762
1763 2018-01-05 Xavier Roirand <roirand@adacore.com>
1764
1765 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1766 (My_Table): New global variable.
1767 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1768
1769 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1770
1771 PR gdb/22670
1772 * gdb.ada/maint_with_ada: New testcase.
1773
1774 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1775
1776 PR gdb/22670
1777 * gdb.ada/bp_c_mixed_case: New testcase.
1778
1779 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1780
1781 PR gdb/22670
1782 * gdb.ada/complete.exp: Add "complete break ada" test.
1783
1784 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1785
1786 PR gdb/22670
1787 * gdb.ada/info_addr_mixed_case: New testcase.
1788
1789 2018-01-03 Xavier Roirand <roirand@adacore.com>
1790
1791 * gdb.ada/excep_handle.exp: New testcase.
1792 * gdb.ada/excep_handle/foo.adb: New file.
1793 * gdb.ada/excep_handle/pck.ads: New file.
1794
1795 2018-01-03 Joel Brobecker <brobecker@adacore.com>
1796
1797 * gdb.base/step-line.c: Add extra empty line in copyright header.
1798 * gdb.base/step-line.inp: Likewise.
1799
1800 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1801
1802 * gdb.ada/dyn_stride.exp: Add slice test.
1803
1804 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1805
1806 * gdb.ada/dyn_stride: New testcase.
1807
1808 2017-12-27 Stafford Horne <shorne@gmail.com>
1809
1810 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1811 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1812
1813 2017-12-27 Stafford Horne <shorne@gmail.com>
1814
1815 * gdb.base/reggroups.c: New file.
1816 * gdb.base/reggroups.exp: New file.
1817
1818 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1819
1820 * gdb.dwarf2/ada-valprint-error.c: New file.
1821 * gdb.dwarf2/ada-valprint-error.exp: New file.
1822
1823 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1824
1825 * gdb.ada/assign_arr: New testcase.
1826
1827 2017-12-18 Xavier Roirand <roirand@adacore.com>
1828
1829 * gdb.ada/funcall_ptr: New testcase.
1830
1831 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1832
1833 PR cli/16224
1834 * gdb.base/ptype-offsets.cc: New file.
1835 * gdb.base/ptype-offsets.exp: New file.
1836
1837 2017-12-15 Yao Qi <yao.qi@linaro.org>
1838
1839 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1840 if XML is disabled.
1841
1842 2017-12-15 Xavier Roirand <roirand@adacore.com>
1843
1844 * gdb.ada/same_component_name: New testcase.
1845
1846 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1847
1848 * gdb.ada/str_binop_equal: New testcase.
1849
1850 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1851
1852 * gdb.ada/task_switch_in_core: New testcase.
1853
1854 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
1855
1856 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1857 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1858 call test_bkpt_qualified.
1859 (test_bkpt_qualified): New proc.
1860
1861 2017-12-13 Pedro Alves <palves@redhat.com>
1862
1863 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1864 Tighten regexp by matching with an anchor.
1865
1866 2017-12-13 Pedro Alves <palves@redhat.com>
1867
1868 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1869 ("expression with namespace"): New set of tests.
1870 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1871 (Nested::Test_NS::qux): New.
1872 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1873 defaults to 'start_quote_char' and 'end_quote_char' parameters.
1874
1875 2017-12-13 Joel Brobecker <brobecker@adacore.com>
1876
1877 * gdb.base/server-del-break.c: New file.
1878 * gdb.base/server-del-break.exp: New file.
1879
1880 2017-12-12 Stafford Horne <shorne@gmail.com>
1881
1882 * gdb.xml/tdesc-regs.exp: Add or1k support.
1883
1884 2017-12-12 Stafford Horne <shorne@gmail.com>
1885
1886 * gdb.base/bp-permanent.c: Define nop of or1k.
1887
1888 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1889
1890 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1891 output with components being reordered.
1892
1893 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1894
1895 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1896 output with components being reordered.
1897
1898 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1899 Pedro Alves <palves@redhat.com>
1900
1901 * gdb.base/maint.exp (check for .gdb_index): Check also for
1902 .debug_names.
1903 * gdb.dlang/watch-loc.c (.debug_aranges): New.
1904 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1905 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1906 (.gdb_index used after symbol reloading): Support also .debug_names.
1907 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
1908
1909 2017-12-08 Yao Qi <yao.qi@linaro.org>
1910
1911 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1912 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
1913
1914 2017-12-08 Yao Qi <yao.qi@linaro.org>
1915
1916 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1917 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1918
1919 2017-12-08 Yao Qi <yao.qi@linaro.org>
1920
1921 * gdb.arch/aarch64-tagged-pointer.c: New file.
1922 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1923
1924 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1925
1926 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1927 "int".
1928
1929 2017-12-07 Keith Seitz <keiths@redhat.com>
1930
1931 PR breakpoints/22569
1932 * gdb.linespec/ls-errs.exp: Change expected result of "break
1933 -source this file has spaces.c -line 3".
1934 Check that an explicit source file followed by whitespace is
1935 identified as an invalid explicit location.
1936
1937 2017-12-07 Keith Seitz <keiths@redhat.com>
1938
1939 * gdb.cp/nested-types.cc: New file.
1940 * gdb.cp/nested-types.exp: New file.
1941 * lib/cp-support.exp: Load data-structures.exp library.
1942 (debug_cp_test_ptype_class): New global.
1943 (cp_ptype_class_verbose, next_line): New procedures.
1944 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1945 Add and document new return value.
1946 Switch the list of lines to a queue.
1947 Add support for new `type' key for nested type definitions.
1948 Add debugging/troubleshooting messages.
1949 * lib/data-structures.exp: New file.
1950
1951 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1952
1953 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1954 with proc_with_prefix, don't use with_test_prefix.
1955
1956 2017-12-07 Tom Tromey <tom@tromey.com>
1957
1958 * gdb.base/break.exp: Add test for empty "commands".
1959
1960 2017-12-07 Yao Qi <yao.qi@linaro.org>
1961
1962 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1963 malloc and catch syscall.
1964
1965 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1966
1967 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1968 tests for explicit locations.
1969
1970 2017-12-06 Pedro Alves <palves@redhat.com>
1971
1972 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1973 force-disabling XML descriptions.
1974
1975 2017-12-04 Pedro Alves <palves@redhat.com>
1976
1977 PR gdb/22499
1978 * gdb.arch/amd64-disp-step-avx.S: New file.
1979 * gdb.arch/amd64-disp-step-avx.exp: New file.
1980
1981 2017-12-03 Pedro Alves <palves@redhat.com>
1982
1983 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1984 and <string.h>.
1985 (parent_function): Print distinct messages when waitpid fails, or
1986 the child exits with a signal, or the child exits for an unhandled
1987 reason.
1988 * gdb.threads/process-dies-while-detaching.exp
1989 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1990 it. Wait for both inferior output and GDB's prompt. Use an
1991 indirect spawn id list.
1992 (do_detach): New parameter 'child_exit'. Use it to compute
1993 expected inferior output.
1994 (test_detach, test_detach_watch, test_detach_killed_outside):
1995 Adjust to pass down the expected child exit kind.
1996
1997 2017-12-01 Joel Brobecker <brobecker@adacore.com>
1998 Sergio Durigan Junior <sergiodj@redhat.com>
1999 Pedro Alves <palves@redhat.com>
2000
2001 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2002
2003 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
2004
2005 * gdb.base/relocate.exp: Add tests to guarantee that arguments
2006 to 'symbol-file' and 'add-symbol-file' can be
2007 position-independent.
2008
2009 2017-12-01 Yao Qi <yao.qi@linaro.org>
2010
2011 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2012 the URL in copyright header.
2013 * gdb.arch/aarch64-fp.exp: Likewise.
2014 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2015 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2016 * gdb.base/expand-psymtabs.exp: Likewise.
2017 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2018 * gdb.fortran/common-block.exp: Likewise.
2019 * gdb.fortran/common-block.f90: Likewise.
2020 * gdb.fortran/logical.exp: Likewise.
2021 * gdb.fortran/vla-datatypes.f90: Likewise.
2022 * gdb.fortran/vla-sub.f90: Likewise.
2023
2024 2017-11-30 Joel Brobecker <brobecker@adacore.com>
2025
2026 * gdb.ada/repeat_dyn: New testcase.
2027
2028 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
2029
2030 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2031 Update for changed thread numbering.
2032 * gdb.cell/bt.exp: Update for changed GDB output.
2033
2034 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
2035
2036 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2037 setting isremote by hand.
2038 * boards/dwarf4-gdb-index.exp: Likewise.
2039 * boards/fission.exp: Likewise.
2040 * boards/stabs.exp: Likewise.
2041
2042 2017-11-30 Pedro Alves <palves@redhat.com>
2043
2044 * gdb.linespec/cpls-ops.exp
2045 (check_explicit_skips_function_argument): Extract the underlying
2046 type of size_t instead of hardcoding it.
2047
2048 2017-11-29 Pedro Alves <palves@redhat.com>
2049
2050 PR c++/19436
2051 * gdb.linespec/cpls-abi-tag.cc: New file.
2052 * gdb.linespec/cpls-abi-tag.exp: New file.
2053
2054 2017-11-29 Pedro Alves <palves@redhat.com>
2055
2056 * gdb.base/langs.exp: Use -qualified.
2057 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2058 it.
2059 * gdb.cp/namespace.exp: Use -qualified.
2060 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2061 (overload-3, template-overload, template-ret-type, const-overload)
2062 (const-overload-quoted, anon-ns, ambiguous-prefix): New
2063 procedures.
2064 (test_driver): Call them.
2065 * gdb.cp/save-bp-qualified.cc: New.
2066 * gdb.cp/save-bp-qualified.exp: New.
2067 * gdb.linespec/explicit.exp: Test -qualified.
2068 * lib/completion-support.exp (completion::explicit_opts_list): Add
2069 "-qualified".
2070 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2071
2072 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
2073
2074 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2075
2076 2017-11-29 Tom Tromey <tom@tromey.com>
2077
2078 * gdb.base/relocate.exp: Update invalid argument test.
2079 Add new tests for invalid arguments.
2080
2081 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2082
2083 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2084 Return 0 as a long.
2085 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2086
2087 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2088
2089 * gdb.cp/breakpoint.cc (bar): Set return type to void.
2090 * gdb.cp/psymtab-parameter.cc (func): Likewise.
2091 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2092 func ().
2093 * gdb.cp/shadow.cc (B.func): Return 0.
2094
2095 2017-11-27 Joel Brobecker <brobecker@adacore.com>
2096
2097 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2098 expected output in gdb_expect call to allow the exception
2099 message to be present as well. Fix syntax confusion to avoid
2100 TCL thinking that exception_name is an array.
2101
2102 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
2103
2104 * gdb.arch/spu-info.c: Include <unistd.h>.
2105 (do_signal_test): Fix broken calls to write.
2106 * gdb.arch/spu-info.exp: Use prepare_for_testing.
2107 Fix checks for empty mailboxes. Update signal tests for corrected
2108 do_signal_test routine. Allow nonzero event status.
2109 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2110 * gdb.cell/arch.exp: Use standard_output_file.
2111 * gdb.cell/break.exp: Likewise.
2112 * gdb.cell/bt.exp: Likewise.
2113 * gdb.cell/core.exp: Likewise.
2114 * gdb.cell/dwarfaddr.exp: Likewise.
2115 * gdb.cell/ea-cache.exp: Likewise.
2116 * gdb.cell/ea-standalone.exp: Likewise.
2117 * gdb.cell/f-regs.exp: Likewise.
2118 * gdb.cell/fork.exp: Likewise.
2119 * gdb.cell/gcore.exp: Likewise.
2120 * gdb.cell/mem-access.exp: Likewise.
2121 * gdb.cell/ptype.exp: Likewise.
2122 * gdb.cell/registers.exp: Likewise.
2123 * gdb.cell/sizeof.exp: Likewise.
2124 * gdb.cell/solib-symbol.exp: Likewise.
2125 * gdb.cell/solib.exp: Likewise.
2126
2127 2017-11-25 Pedro Alves <palves@redhat.com>
2128
2129 * gdb.base/complete-empty.exp: New file.
2130 * gdb.base/completion.exp: Adjust.
2131
2132 2017-11-25 Pedro Alves <palves@redhat.com>
2133
2134 * gdb.linespec/cpls-ops.cc: New file.
2135 * gdb.linespec/cpls-ops.exp: New file.
2136 * lib/completion-support.exp (test_complete_prefix_range_re): New,
2137 factored out from ...
2138 (test_complete_prefix_range): ... this.
2139
2140 2017-11-24 Pedro Alves <palves@redhat.com>
2141
2142 * gdb.linespec/cpcompletion.exp: New file.
2143 * gdb.linespec/cpls-hyphen.cc: New file.
2144 * gdb.linespec/cpls.cc: New file.
2145 * gdb.linespec/cpls2.cc: New file.
2146 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
2147 test to use test_gdb_complete_unique. Add label completion,
2148 keyword completion and explicit location completion tests.
2149 * lib/completion-support.exp: New file.
2150
2151 2017-11-24 Joel Brobecker <brobecker@adacore.com>
2152
2153 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2154 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2155 when hitting an exception catchpoint.
2156
2157 2017-11-22 Yao Qi <yao.qi@linaro.org>
2158
2159 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2160
2161 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
2162
2163 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2164 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2165 * gdb.dwarf2/info-locals-optimized-out.c: New file.
2166
2167 2017-11-22 Yao Qi <yao.qi@linaro.org>
2168
2169 * gdb.base/info-os.exp: Pass pthreads.
2170 * gdb.multi/multi-attach.exp: Likewise.
2171
2172 2017-11-22 Yao Qi <yao.qi@linaro.org>
2173
2174 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2175 compiler.
2176
2177 2017-11-22 Yao Qi <yao.qi@linaro.org>
2178
2179 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2180 * gdb.base/break-interp.exp: Likewise.
2181 * gdb.base/jit-attach-pie.exp: Likewise.
2182
2183 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2184
2185 * gdb.base/float128.c (large128): New variable.
2186 * gdb.base/float128.exp: Add test to print largest __float128 value.
2187
2188 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2189
2190 * gdb.arch/vsx-regs.exp: Update register content checks.
2191
2192 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
2193
2194 * gdb.arch/ppc-longdouble.exp: New file.
2195 * gdb.arch/ppc-longdouble.c: Likewise.
2196
2197 2017-11-21 Pedro Alves <palves@redhat.com>
2198
2199 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2200
2201 2017-11-20 Pedro Alves <palves@redhat.com>
2202
2203 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2204 (long_double_typedef): New typedefs.
2205 Use DEF on double and long double.
2206 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2207 cases.
2208 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2209 and 'long_double_ptr_same_size' locals. Use them to decide
2210 whether cast from array/function to float is valid/invalid.
2211
2212 2017-11-17 Tom Tromey <tom@tromey.com>
2213
2214 * gdb.rust/traits.rs: New file.
2215 * gdb.rust/traits.exp: New file.
2216
2217 2017-11-17 Joel Brobecker <brobecker@adacore.com>
2218
2219 * gdb.ada/minsyms: New testcase.
2220
2221 2017-11-16 Pedro Alves <palves@redhat.com>
2222
2223 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2224 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2225
2226 2017-11-16 Pedro Alves <palves@redhat.com>
2227
2228 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2229 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2230
2231 2017-11-16 Pedro Alves <palves@redhat.com>
2232
2233 * gdb.server/reconnect-ctrl-c.c: New file.
2234 * gdb.server/reconnect-ctrl-c.exp: New file.
2235
2236 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
2237
2238 * gdb.python/py-rbreak.exp: New file.
2239 * gdb.python/py-rbreak.c: New file.
2240 * gdb.python/py-rbreak-func2.c: New file.
2241
2242 2017-11-16 Pedro Alves <palves@redhat.com>
2243
2244 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2245 pattern.
2246 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2247 GDB.
2248
2249 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
2250
2251 * gdb.tui/completionn.exp (test_tab_completion): Add space in
2252 regex.
2253
2254 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
2255
2256 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2257 test names.
2258
2259 2017-11-09 Pedro Alves <palves@redhat.com>
2260
2261 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2262 factored out from ...
2263 (top level): ... here, and adjusted to avoid expecting beyond the
2264 prompt in a single gdb_test_multiple.
2265
2266 2017-11-09 Pedro Alves <palves@redhat.com>
2267
2268 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2269 output.
2270 * gdb.server/ext-attach.exp ("kill" test): Likewise.
2271 * gdb.server/ext-restart.exp ("kill" test): Likewise.
2272 * gdb.server/ext-run.exp ("kill" test): Likewise.
2273 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2274
2275 2017-11-09 Pedro Alves <palves@redhat.com>
2276
2277 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2278 match till end of line.
2279
2280 2017-11-09 Pedro Alves <palves@redhat.com>
2281
2282 * gdb.base/memattr.exp: Tighten regexes to match the end line.
2283
2284 2017-11-09 Pedro Alves <palves@redhat.com>
2285
2286 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2287 New procedures, factored out from ...
2288 (top level): ... here, and adjusted to avoid expecting beyond the
2289 prompt in one go.
2290
2291 2017-11-09 Pedro Alves <palves@redhat.com>
2292
2293 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2294 output. Fix '?' match.
2295
2296 2017-11-08 Joel Brobecker <brobecker@adacore.com>
2297
2298 * gdb.ada/scoped_watch: New testcase.
2299 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2300 which is actually correct.
2301 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2302 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2303
2304 2017-11-08 Pedro Alves <palves@redhat.com>
2305
2306 * gdb.gdb/complaints.exp (test_initial_complaints)
2307 (test_serial_complaints, test_short_complaints): Call
2308 complaint_internal instead of complaint.
2309
2310 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
2311
2312 * gdb.threads/tls-core.c: New file.
2313 * gdb.threads/tls-core.exp: Likewise.
2314
2315 2017-11-08 Pedro Alves <palves@redhat.com>
2316
2317 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2318 (p Exported_Capitalized): New test.
2319 (p exported_capitalized): New test.
2320
2321 2017-11-07 Pedro Alves <palves@redhat.com>
2322
2323 * gdb.cp/ena-dis-br-range.exp: Add more tests.
2324
2325 2017-11-07 Pedro Alves <palves@redhat.com>
2326
2327 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2328 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2329 (disable_invalid, disable_inverted, disable_negative): New
2330 procedures.
2331 ("bad numbers"): New set of tests.
2332
2333 2017-11-07 Pedro Alves <palves@redhat.com>
2334
2335 * gdb.cp/ena-dis-br-range.exp: Add tests.
2336
2337 2017-11-07 Pedro Alves <palves@redhat.com>
2338
2339 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2340
2341 2017-11-07 Xavier Roirand <roirand@adacore.com>
2342 Pedro Alves <palves@redhat.com>
2343
2344 * gdb.base/ena-dis-br.exp: Add reference to
2345 gdb.cp/ena-dis-br-range.exp.
2346 * gdb.cp/ena-dis-br-range.exp: New file.
2347 * gdb.cp/ena-dis-br-range.cc: New file.
2348
2349 2017-11-06 Pedro Alves <palves@redhat.com>
2350
2351 * gdb.base/attach-non-pgrp-leader.c: New.
2352 * gdb.base/attach-non-pgrp-leader.exp: New.
2353
2354 2017-11-06 Pedro Alves <palves@redhat.com>
2355
2356 * configure.ac: No longer check for termio.h and sgtty.h.
2357 * configure: Regenerate.
2358 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2359 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2360 Remove termio and sgtty code.
2361
2362 2017-11-03 Yao Qi <yao.qi@linaro.org>
2363
2364 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2365 in GDB is disabled.
2366
2367 2017-11-03 Yao Qi <yao.qi@linaro.org>
2368
2369 * gdb.python/py-thrhandle.exp: Skip it if python is not
2370 enabled.
2371
2372 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2373
2374 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2375 as a breakpoint command.
2376
2377 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2378
2379 PR python/21213
2380 * gdb.python/py-infthread.exp: Test calling
2381 InferiorThread.inferior () multiple times in a row.
2382
2383 2017-10-27 Keith Seitz <keiths@redhat.com>
2384
2385 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2386 Test "info break" for every inlined function breakpoint.
2387
2388 2017-10-27 Yao Qi <yao.qi@linaro.org>
2389
2390 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2391
2392 2017-10-26 Patrick Frants <osscontribute@gmail.com>
2393
2394 * gdb.cp/classes.exp (test_static_members): Test printing
2395 Outer::instance.
2396 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2397 (Inner::instance, Outer::instance): New.
2398
2399 2017-10-24 Pedro Alves <palves@redhat.com>
2400
2401 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2402 extra console" test in two stages.
2403
2404 2017-10-24 Pedro Alves <palves@redhat.com>
2405
2406 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2407
2408 2017-10-24 Pedro Alves <palves@redhat.com>
2409
2410 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2411 loop.
2412
2413 2017-10-24 Pedro Alves <palves@redhat.com>
2414
2415 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2416 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2417
2418 2017-10-24 Pedro Alves <palves@redhat.com>
2419
2420 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2421 parameter and handle it. Don't output read value in test name.
2422
2423 2017-10-24 Pedro Alves <palves@redhat.com>
2424
2425 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2426 custom test name.
2427
2428 2017-10-24 Pedro Alves <palves@redhat.com>
2429
2430 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2431 include the unstable output directory name in the test's name.
2432 (initial_setup_simple) <'set args'>: Use custom test name.
2433
2434 2017-10-24 Pedro Alves <palves@redhat.com>
2435
2436 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2437 with explicit test name.
2438
2439 2017-10-20 Pedro Alves <palves@redhat.com>
2440
2441 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2442 'wait -i'. Use gdb_assert and remote_close.
2443
2444 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2445
2446 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2447 number from variable rather than hard-coded.
2448
2449 2017-10-19 Pedro Alves <palves@redhat.com>
2450
2451 * gdb.base/long-inferior-output.c: New file.
2452 * gdb.base/long-inferior-output.exp: New file.
2453
2454 2017-11-18 Keith Seitz <keiths@redhat.com>
2455
2456 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2457 method.
2458 (main): Call it.
2459 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2460 Add additional user-defined conversion operator tests.
2461
2462 2017-10-17 Pedro Alves <palves@redhat.com>
2463
2464 * boards/native-stdio-gdbserver.exp: Load "local-board".
2465
2466 2017-10-17 Pedro Alves <palves@redhat.com>
2467
2468 * gdb.base/quit-live.c: New file.
2469 * gdb.base/quit-live.exp: New file.
2470
2471 2017-10-16 Keith Seitz <keiths@redhat.com>
2472
2473 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2474 (class_with_protected_typedef, class_with_private_typedef)
2475 (struct_with_public_typedef, struct_with_protected_typedef)
2476 (struct_with_private_typedef): New classes/structs.
2477 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2478 typedefs and access specifiers.
2479
2480 2017-10-16 Pedro Alves <palves@redhat.com>
2481 Simon Marchi <simon.marchi@polymtl.ca>
2482
2483 * README (Local vs Remote vs Native): New section.
2484 * boards/local-board.exp: New file, with bits factored out from
2485 ...
2486 * boards/native-extended-gdbserver.exp: ... here. Load
2487 "local-board".
2488 * boards/native-gdbserver.exp: Load "local-board".
2489 (${board}_spawn, ${board}_exec): Delete.
2490 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2491 ...
2492 * boards/stdio-gdbserver-base.exp: ... this new file.
2493 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2494 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2495 procedure.
2496 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2497 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2498 stdio_gdbserver_command.
2499 (${board}_get_remote_address, ${board}_get_comm_port)
2500 (${board}_download, ${board}_upload): Delete.
2501 (get_target_remote_pipe_cmd): New.
2502
2503 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2504
2505 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2506 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2507 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2508 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2509 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2510 remove with_test_prefix.
2511
2512 2017-10-13 Pedro Alves <palves@redhat.com>
2513
2514 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2515 * gdb.base/annota1.exp: Use it instead of is_remote.
2516 * gdb.base/annota3.exp: Use it instead of is_remote.
2517 * gdb.cp/annota2.exp: Use it instead of is_remote.
2518 * gdb.cp/annota3.exp: Use it instead of is_remote.
2519 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2520
2521 2017-10-13 Pedro Alves <palves@redhat.com>
2522
2523 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2524 (test_num_test_vars, run_and_count_vars, find_env)
2525 (test_set_unset_env, test_inherit_env_var): New procedures.
2526 (top level): Use them.
2527
2528 2017-10-13 Pedro Alves <palves@redhat.com>
2529
2530 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2531 also skip on stub-like targets.
2532
2533 2017-10-13 Pedro Alves <palves@redhat.com>
2534
2535 PR gdb/22293
2536 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2537 (top level): Move some tests to ...
2538 (test_not_found): ... this new procedure.
2539 (top level): Call it.
2540
2541 2017-10-13 Pedro Alves <palves@redhat.com>
2542
2543 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2544 expect different "info terminal" output if testing with a
2545 non-native target.
2546
2547 2017-10-13 Pedro Alves <palves@redhat.com>
2548 Simon Marchi <simon.marchi@polymtl.ca>
2549
2550 PR python/12966
2551 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2552
2553 2017-10-13 Pedro Alves <palves@redhat.com>
2554
2555 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2556 already.
2557
2558 2017-10-13 Pedro Alves <palves@redhat.com>
2559
2560 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2561 is_remote.
2562
2563 2017-10-13 Pedro Alves <palves@redhat.com>
2564
2565 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2566 is_remote.
2567
2568 2017-10-13 Pedro Alves <palves@redhat.com>
2569
2570 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2571 is set.
2572 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2573 instead of is_remote.
2574
2575 2017-10-13 Pedro Alves <palves@redhat.com>
2576
2577 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2578 (top level): Add comment.
2579
2580 2017-10-13 Pedro Alves <palves@redhat.com>
2581
2582 * gdb.base/remote.exp (top level): Fix comment typo and add
2583 missing return.
2584
2585 2017-10-13 Pedro Alves <palves@redhat.com>
2586 Simon Marchi <simon.marchi@polymtl.ca>
2587
2588 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2589 calls and add comments. Skip test if use_gdb_stub is set.
2590 (top level): Use "set cwd" command instead of "cd" command.
2591
2592 2017-10-13 Pedro Alves <palves@redhat.com>
2593
2594 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2595 is_remote target check.
2596
2597 2017-10-13 Pedro Alves <palves@redhat.com>
2598
2599 * gdb.base/scope.exp: Use build_executable + clean_restart +
2600 gdb_file_cmd instead of prepare_for_testing and no longer skip
2601 "before run" tests on is_remote target boards. Update comments.
2602 * boards/native-extended-gdbserver.exp
2603 (extended_gdbserver_load_last_file): New, factored out from ...
2604 (gdb_load): ... this. Move further below and add comment.
2605 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2606
2607 2017-10-12 Pedro Alves <palves@redhat.com>
2608
2609 * gdb.base/attach.exp: Remove references to gdb64.
2610 * gdb.base/dbx.exp: Remove references to gdb64.
2611
2612 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2613 Pedro Alves <palves@redhat.com>
2614
2615 * gdb.base/label.exp: Remove is_remote target check.
2616
2617 2017-10-12 Pedro Alves <palves@redhat.com>
2618
2619 * gdb.base/auvx.exp (coredir): Update comment.
2620 (top level) <core_works>: Use "set cwd" command instead of "cd"
2621 command.
2622
2623 2017-10-12 Pedro Alves <palves@redhat.com>
2624 Simon Marchi <simon.marchi@polymtl.ca>
2625
2626 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2627 target boards.
2628
2629 2017-10-12 Pedro Alves <palves@redhat.com>
2630 Simon Marchi <simon.marchi@polymtl.ca>
2631
2632 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2633 Instead skip if there's any gdb_protocol set.
2634
2635 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2636 Pedro Alves <palves@redhat.com>
2637
2638 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2639
2640 2017-10-12 Pedro Alves <palves@redhat.com>
2641 Simon Marchi <simon.marchi@polymtl.ca>
2642
2643 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2644 instead of on dejagnu remote boards.
2645
2646 2017-10-12 Pedro Alves <palves@redhat.com>
2647 Simon Marchi <simon.marchi@polymtl.ca>
2648
2649 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2650 checks. Use build_executable + clean_restart instead of
2651 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2652 of enabling non-stop after starting gdb.
2653
2654 2017-10-12 Pedro Alves <palves@redhat.com>
2655
2656 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2657 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2658 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2659 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2660
2661 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2662
2663 * gdb.arch/arc-tdesc-cpu.exp: New file.
2664 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2665
2666 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2667
2668 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2669
2670 2017-10-10 Pedro Alves <palves@redhat.com>
2671
2672 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2673 expect CLI output.
2674
2675 2017-10-10 Pedro Alves <palves@redhat.com>
2676
2677 * lib/selftest-support.exp (selftest_setup): Update for
2678 captured_command_loop's prototype change.
2679
2680 2017-10-09 Pedro Alves <palves@redhat.com>
2681
2682 Test both arch1=>arch2 and arch2=>arch1.
2683
2684 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2685 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2686 factored out to...
2687 (append_arch1_options, append_arch2_options, append_arch_options)
2688 (build_executables): New procedures.
2689 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2690 local.
2691 (top level): Add new 'first_arch' testing axis.
2692
2693 2017-10-09 Pedro Alves <palves@redhat.com>
2694
2695 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2696 (barrier): New.
2697 (thread_start, all_started): New functions.
2698 (main): Spawn new thread and wait until it is scheduled.
2699 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2700 option.
2701 (do_test): Add 'selected_thread' parameter. Run to all_started
2702 instead of main. Explicitly set the breakpoint at main. Switch
2703 to the SELECTED_THREAD thread.
2704 (top level): Test handling the exec event with either the main
2705 thread or the second thread selected.
2706
2707 2017-10-09 Pedro Alves <palves@redhat.com>
2708
2709 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2710 logic. Move STOP marker after the value checks.
2711 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2712 regexp.
2713
2714 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2715
2716 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2717
2718 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2719
2720 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2721 integer-to-dfp conversion.
2722 * gdb.base/dfp-test.exp: Likewise.
2723
2724 2017-10-04 Pedro Alves <palves@redhat.com>
2725
2726 * gdb.multi/hangout.c: Include <unistd.h>.
2727 (hangout_loop): New function.
2728 (main): Call alarm. Call hangout_loop in a loop.
2729 * gdb.multi/hello.c: Include <unistd.h>.
2730 (hello_loop): New function.
2731 (main): Call alarm. Call hangout_loop in a loop.
2732 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2733 inferior with the other selected.
2734
2735 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2736
2737 * gdb.mi/list-thread-groups-available.exp: New file.
2738 * gdb.mi/list-thread-groups-available.c: New file.
2739
2740 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2741
2742 * gdb.base/set-cwd.exp: Make it available on
2743 native-extended-gdbserver.
2744
2745 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2746
2747 * gdb.base/set-cwd.c: New file.
2748 * gdb.base/set-cwd.exp: Likewise.
2749
2750 2017-10-02 Tom Tromey <tom@tromey.com>
2751
2752 PR rust/22236:
2753 * gdb.rust/simple.rs (main): New variable "fslice".
2754 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2755
2756 2017-10-02 Tom Tromey <tom@tromey.com>
2757
2758 * gdb.rust/simple.exp: Test ptype of a slice.
2759
2760 2017-10-02 Tom Tromey <tom@tromey.com>
2761
2762 * gdb.rust/simple.exp: Test index of slice.
2763
2764 2017-09-27 Tom Tromey <tom@tromey.com>
2765
2766 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2767
2768 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2769 Pedro Alves <palves@redhat.com>
2770
2771 * gdb.base/compare-sections.exp (get value of read-only section): Read
2772 as unsigned value.
2773 (corrupt read-only section): Likewise and don't set written if patching
2774 failed.
2775
2776 2017-09-21 Kevin Buettner <kevinb@redhat.com>
2777
2778 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2779 files.
2780
2781 2017-09-20 Pedro Alves <palves@redhat.com>
2782
2783 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2784 symbol names in gdb's output.
2785 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2786
2787 2017-09-20 Pedro Alves <palves@redhat.com>
2788
2789 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2790 Rename to ...
2791 (test_list_ambiguous_symbol): ... this and add a symbol name
2792 parameter. Adjust.
2793 (test_list_ambiguous_function): Reimplement on top of
2794 test_list_ambiguous_symbol and also test listing ambiguous
2795 variables.
2796 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2797 (ambiguous_fun): ... this.
2798 (ambiguous_var): New.
2799 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2800 (ambiguous_fun): ... this.
2801 (ambiguous_var): New.
2802
2803 2017-09-19 John Baldwin <jhb@FreeBSD.org>
2804
2805 * gdb.base/starti.c: New file.
2806 * gdb.base/starti.exp: New file.
2807 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2808
2809 2017-09-14 Pedro Alves <palves@redhat.com>
2810
2811 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2812 (top level): Use it instead of runto.
2813
2814 2017-09-11 Tom Tromey <tom@tromey.com>
2815
2816 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2817
2818 2017-09-11 Tom Tromey <tom@tromey.com>
2819
2820 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2821 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2822
2823 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2824
2825 * gdb.fortran/printing-types.exp: New file.
2826 * gdb.fortran/printing-types.exp: New file.
2827
2828 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2829
2830 * gdb.fortran/vla-ptype.exp: Fix typos.
2831 * gdb.fortran/vla-value.exp: Same.
2832
2833 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2834
2835 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2836 * gdb.mi/mi-var-child-f.exp: Likewise.
2837 * gdb.mi/mi-vla-fortran.exp: Likewise.
2838
2839 2017-09-08 Frank Penczek <frank.penczek@intel.com>
2840 Christoph Weinmann <christoph.t.weinmann@intel.com>
2841 Bernhard Heckel <bernhard.heckel@intel.com>
2842
2843 * gdb.fortran/ptr-indentation.f90: New file.
2844 * gdb.fortran/ptr-indentation.exp: New file.
2845
2846 2017-09-05 Tom Tromey <tom@tromey.com>
2847
2848 PR gdb/22010:
2849 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2850
2851 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2852
2853 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2854
2855 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2856
2857 * gdb.threads/tls-nodebug-pie.c: New file.
2858 * gdb.threads/tls-nodebug-pie.exp: New file.
2859
2860 2017-09-05 Tom Tromey <tom@tromey.com>
2861
2862 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2863 for rust.
2864
2865 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
2866
2867 * gdb.multi/multi-arch-exec.exp: Test with different
2868 "follow-exec-mode" settings.
2869 (do_test): New procedure.
2870
2871 2017-09-04 Pedro Alves <palves@redhat.com>
2872
2873 * gdb.base/func-static.c (S::method const, S::method volatile)
2874 (S::method volatile const): New methods.
2875 (c_s, v_s, cv_s): New instances.
2876 (main): Call method() on them.
2877 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2878 (cannot_resolve): New procedure.
2879 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
2880 print-quote-unquoted columns.
2881 (do_test): Test printing each scope too.
2882
2883 2017-09-04 Pedro Alves <palves@redhat.com>
2884
2885 * gdb.base/local-static.exp: Also test with
2886 class::method::variable wholly quoted.
2887 * gdb.cp/m-static.exp (class::method::variable): Remove test.
2888
2889 2017-09-04 Pedro Alves <palves@redhat.com>
2890
2891 * gdb.base/local-static.c: New.
2892 * gdb.base/local-static.cc: New.
2893 * gdb.base/local-static.exp: New.
2894
2895 2017-09-04 Pedro Alves <palves@redhat.com>
2896
2897 * gdb.asm/asm-source.exp: Add casts to int.
2898 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2899 (dataglobal64_1, dataglobal64_2): New globals.
2900 * gdb.base/nodebug.exp: Test different expressions involving the
2901 new globals, with print, whatis and ptype. Add casts to int.
2902 * gdb.base/solib-display.exp: Add casts to int.
2903 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
2904 * gdb.cp/m-static.exp: Add cast to int.
2905 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2906 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2907 tls variable with no debug info without a cast. Test with a cast
2908 to int too.
2909 * gdb.trace/entry-values.exp: Add casts.
2910
2911 2017-09-04 Pedro Alves <palves@redhat.com>
2912
2913 * gdb.base/nodebug.exp: Test that ptype's error about functions
2914 with unknown return type includes the function name too.
2915
2916 2017-09-04 Pedro Alves <palves@redhat.com>
2917
2918 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2919 return type of munmap in infcall.
2920 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2921 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2922 type of ftell in infcall.
2923 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2924 type of getpid in infcall.
2925 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2926 infcall.
2927 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2928 Bail on failure to extract the pid.
2929 * gdb.base/nodebug.c: #include <stdint.h>.
2930 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2931 New functions.
2932 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2933 Change expected output of print/whatis/ptype with functions with
2934 no debug info. Test all supported languages. Call
2935 test_call_promotion.
2936 * gdb.compile/compile.exp: Adjust expected output to expect
2937 warning.
2938 * gdb.threads/siginfo-threads.exp: Likewise.
2939
2940 2017-09-04 Pedro Alves <palves@redhat.com>
2941
2942 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2943 "prototypes". Test calling float functions via prototyped and
2944 unprototyped function pointers.
2945 (perform_all_tests): New parameter "prototypes". Pass it down.
2946 (top level): Pass down "prototypes" parameter to
2947 perform_all_tests.
2948
2949 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2950
2951 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2952 Test with nested loops.
2953
2954 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2955
2956 * gdb.base/commands.exp: Call the new procedures.
2957 (loop_break_test, loop_continue_test): New procedures.
2958
2959 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2960
2961 * gdb.base/commands.exp: Call new procedure.
2962 (define_if_without_arg_test): New procedure.
2963
2964 2017-09-04 Pedro Alves <palves@redhat.com>
2965
2966 * gdb.base/list-ambiguous.exp: New file.
2967 * gdb.base/list-ambiguous0.c: New file.
2968 * gdb.base/list-ambiguous1.c: New file.
2969 * gdb.base/list.exp (test_list_range): Adjust expected output.
2970
2971 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2972
2973 * gdb.base/share-env-with-gdbserver.c: New file.
2974 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2975
2976 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2977
2978 * gdb.base/commands.exp (gdbvar_simple_if_test,
2979 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2980 progvar_simple_if_test, progvar_simple_while_test,
2981 progvar_complex_if_while_test, user_defined_command_test,
2982 user_defined_command_args_eval,
2983 user_defined_command_args_stack_test,
2984 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2985 temporary_breakpoint_commands,
2986 gdb_test_no_prompt, redefine_hook_test,
2987 redefine_backtrace_test): Remove "global gdb_prompt".
2988
2989 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2990
2991 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2992 New proc, call it from toplevel.
2993
2994 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2995
2996 PR remote/21852
2997 * gdb.server/normal.c: New file, copied from gdb.base.
2998 * gdb.server/run-without-local-binary.exp: New file.
2999
3000 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
3001
3002 * gdb.arch/sparc64-adi.exp: New file.
3003 * gdb.arch/sparc64-adi.c: New file.
3004
3005 2017-08-22 Pedro Alves <palves@redhat.com>
3006
3007 * gdb.cp/overload.exp (line_range_pattern): New procedure.
3008 (top level): Add "list all overloads" tests.
3009
3010 2017-08-22 Tom Tromey <tom@tromey.com>
3011
3012 * gdb.gdb/xfullpath.exp: Remove.
3013
3014 2017-08-21 Pedro Alves <palves@redhat.com>
3015
3016 PR gdb/19487
3017 * gdb.base/symbol-alias.c: New.
3018 * gdb.base/symbol-alias2.c: New.
3019 * gdb.base/symbol-alias.exp: New.
3020
3021 2017-08-21 Pedro Alves <palves@redhat.com>
3022
3023 * gdb.base/dfp-test.c
3024 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3025 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3026 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3027 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3028 * gdb.base/whatis-ptype-typedefs.c: New.
3029 * gdb.base/whatis-ptype-typedefs.exp: New.
3030 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3031 (an_int, an_int_type, an_int_type2): New globals.
3032 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3033 involving typedefs and cast expressions.
3034 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3035 (lookup_typedefs_function): New.
3036 (typedefs_pretty_printers_dict): New.
3037 (top level): Register lookup_typedefs_function in
3038 gdb.pretty_printers.
3039
3040 2017-08-18 Yao Qi <yao.qi@linaro.org>
3041
3042 * gdb.server/unittest.exp: New.
3043
3044 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
3045
3046 PR gdb/21954
3047 * gdb.base/environ.exp: Add test to check if 'unset environment'
3048 works.
3049
3050 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3051
3052 * lib/gdb.exp (universal_compile_options): New caching proc.
3053 (gdb_compile): Suppress GCC's coloring of messages.
3054
3055 2017-08-14 Tom Tromey <tom@tromey.com>
3056
3057 PR gdb/21675:
3058 * gdb.base/printcmds.exp (test_radices): New function.
3059 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3060 * gdb.base/sizeof.exp (check_valueof): Use p/d.
3061 * lib/gdb.exp (get_integer_valueof): Use p/d.
3062
3063 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
3064
3065 * lib/gdb.exp (get_valueof): Don't capture end-of-line
3066 characters.
3067
3068 2017-08-05 Tom Tromey <tom@tromey.com>
3069
3070 * gdb.rust/simple.exp: Allow String to appear in a different
3071 namespace.
3072
3073 2017-07-26 Yao Qi <yao.qi@linaro.org>
3074
3075 * gdb.gdb/unittest.exp: Invoke command
3076 "maintenance check xml-descriptions".
3077
3078 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3079
3080 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3081 calling context.
3082 (hex128): Drop erroneous calculation of parameters.
3083
3084 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
3085
3086 * gdb.python/py-unwind.exp: Disable stack protection when
3087 building test file.
3088
3089 2017-07-20 Pedro Alves <palves@redhat.com>
3090
3091 * gdb.base/default.exp (set language): Adjust expected output.
3092
3093 2017-07-20 Pedro Alves <palves@redhat.com>
3094
3095 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3096 (test_minsym): ... this, and make static.
3097 (get_pck__foo__bar__minsym): Rename to ...
3098 (get_test_minsym): ... this.
3099 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
3100 symbol names and comments.
3101 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3102 (get_test_minsym): ... this.
3103 (pck__foo__bar__minsym__2): Rename to ...
3104 (test_minsym): ... this.
3105 (main): Adjust.
3106
3107 2017-07-17 Pedro Alves <palves@redhat.com>
3108
3109 * gdb.base/completion.exp: Adjust expected output.
3110 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3111 the completer works.
3112
3113 2017-07-17 Pedro Alves <palves@redhat.com>
3114
3115 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3116
3117 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3118
3119 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3120
3121 2017-07-14 Tom Tromey <tom@tromey.com>
3122
3123 PR rust/21764:
3124 * gdb.rust/simple.exp: Add tests.
3125
3126 2017-07-14 Tom Tromey <tom@tromey.com>
3127
3128 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3129
3130 2017-07-14 Pedro Alves <palves@redhat.com>
3131
3132 * gdb.linespec/base/one/thefile.cc (z1): New function.
3133 * gdb.linespec/base/two/thefile.cc (z2): New function.
3134 * gdb.linespec/linespec.exp: Add tests.
3135
3136 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3137
3138 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3139 to mi_create_breakpoint.
3140
3141 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3142
3143 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3144 mi_create_breakpoint.
3145
3146 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
3147
3148 * gdb.dlang/demangle.exp: Update for demangling changes.
3149
3150 2017-07-09 Tom Tromey <tom@tromey.com>
3151
3152 * gdb.dwarf2/shortpiece.exp: New file.
3153
3154 2017-07-06 David Blaikie <dblaikie@gmail.com>
3155
3156 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3157 built from fissiont-multi-cu{1,2}.c.
3158 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3159 except putting 'main' and 'func' in separate CUs in the same DWO file.
3160 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3161 test.
3162 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3163 test.
3164
3165 2017-07-06 Pedro Alves <palves@redhat.com>
3166
3167 * gdb.python/py-unwind.exp: Test flushregs.
3168
3169 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3170
3171 PR cli/21688
3172 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3173 tests for alias commands and trailing whitespace.
3174
3175 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3176
3177 PR cli/21688
3178 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3179 procedure. Call it.
3180
3181 2017-06-29 Pedro Alves <palves@redhat.com>
3182
3183 * gdb.base/printcmds.exp: Add tests.
3184
3185 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
3186
3187 PR gdb/21337
3188 * gdb.base/reread-readsym.exp: New file.
3189 * gdb.base/reread-readsym.c: New file.
3190
3191 2017-06-21 Kevin Buettner <kevinb@redhat.com>
3192
3193 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3194 subpattern.
3195
3196 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
3197
3198 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3199 extended mnemonic.
3200 * gdb.arch/powerpc-power9.s: Likewise.
3201
3202 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3203
3204 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3205 on 32-bit x86 targets. Exploit is_*_target macros where
3206 appropriate.
3207
3208 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3209
3210 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3211 register pieces.
3212
3213 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3214
3215 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3216 located in one or more DWARF pieces.
3217
3218 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3219
3220 * lib/gdb.exp (get_endianness): New proc.
3221 * gdb.arch/aarch64-fp.exp: Use it.
3222 * gdb.arch/altivec-regs.exp: Likewise.
3223 * gdb.arch/e500-regs.exp: Likewise.
3224 * gdb.arch/vsx-regs.exp: Likewise.
3225 * gdb.base/dump.exp: Likewise.
3226 * gdb.base/funcargs.exp: Likewise.
3227 * gdb.base/gnu_vector.exp: Likewise.
3228 * gdb.dwarf2/formdata16.exp: Likewise.
3229 * gdb.dwarf2/implptrpiece.exp: Likewise.
3230 * gdb.dwarf2/nonvar-access.exp: Likewise.
3231 * gdb.python/py-inferior.exp: Likewise.
3232 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3233
3234 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3235
3236 PR gdb/21226
3237 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3238 stack value pieces are taken from the LSB end.
3239
3240 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3241
3242 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3243 variable at nonzero offset.
3244
3245 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3246
3247 * gdb.dwarf2/var-access.c: New file.
3248 * gdb.dwarf2/var-access.exp: New test.
3249 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3250
3251 2017-06-12 Tom Tromey <tom@tromey.com>
3252
3253 * gdb.dwarf2/formdata16.exp: Add tests.
3254
3255 2017-06-12 Tom Tromey <tom@tromey.com>
3256
3257 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3258
3259 2017-06-12 Tom Tromey <tom@tromey.com>
3260
3261 PR exp/16225:
3262 * gdb.reverse/i386-sse-reverse.exp: Update tests.
3263 * gdb.arch/vsx-regs.exp: Update tests.
3264 * gdb.arch/s390-vregs.exp (hex128): New proc.
3265 Update test.
3266 * gdb.arch/altivec-regs.exp: Update tests.
3267
3268 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3269
3270 * gdb.base/startup-with-shell.c: New file.
3271 * gdb.base/startup-with-shell.exp: Likewise.
3272
3273 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3274
3275 * gdb.server/non-existing-program.exp: Update regex in order to
3276 reflect the fact that gdbserver is now using fork_inferior (with a
3277 shell) to startup the inferior.
3278
3279 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
3280
3281 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3282 support function calls from GDB.
3283
3284 2017-05-21 Tom Tromey <tom@tromey.com>
3285
3286 PR rust/21466:
3287 * gdb.rust/unsized.exp: New file.
3288 * gdb.rust/unsized.rs: New file.
3289
3290 2017-05-19 Tom Tromey <tom@tromey.com>
3291
3292 PR rust/21484:
3293 * gdb.rust/watch.exp: New file.
3294 * gdb.rust/watch.rs: New file.
3295
3296 2017-05-18 Tom Tromey <tom@tromey.com>
3297
3298 * gdb.rust/simple.exp: Allow Box to be qualified.
3299
3300 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3301
3302 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3303
3304 2017-05-18 Pedro Alves <palves@redhat.com>
3305
3306 * gdb.base/fileio.c (test_write, test_read, test_close)
3307 (test_fstat): Don't print 'ret' in the fail path.
3308
3309 2017-05-18 Pedro Alves <palves@redhat.com>
3310
3311 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3312 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3313 (test_system, test_rename, test_unlink, test_time): Change
3314 prototypes.
3315 * gdb.base/fileio.exp (stop_msg): Adjust.
3316
3317 2017-05-18 Pedro Alves <palves@redhat.com>
3318
3319 * gdb.base/fileio.c (null_str): New global.
3320 (test_stat): Use it.
3321 * gdb.base/fileio.exp: Remove nowarnings.
3322
3323 2017-05-17 Yao Qi <yao.qi@linaro.org>
3324
3325 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3326
3327 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
3328
3329 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3330 argument command.
3331 (top-level): Invoke test_set_inferior_tty.
3332
3333 2017-05-04 Pedro Alves <palves@redhat.com>
3334
3335 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3336 Add parens to print call for Python 3.
3337
3338 2017-05-03 Keith Seitz <keiths@redhat.com>
3339
3340 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3341 (main): Call it.
3342
3343 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3344
3345 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3346 to prev and next.
3347
3348 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3349
3350 * gdb.python/py-record-btrace.exp: Remove test for
3351 gdb.BtraceInstruction.error.
3352
3353 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3354
3355 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3356
3357 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3358
3359 * gdb.python/py-record-btrace-threads.c: New file.
3360 * gdb.python/py-record-btrace-threads.exp: New file.
3361
3362 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3363
3364 PR testsuite/8595
3365 * gdb.base/environ.exp: Make test available in all architectures.
3366 Move bits related to "info program" testing to
3367 gdb.base/info-program.exp. Rewrite tests to use the two new
3368 procedures mentione below.
3369 (test_set_show_env_var) New procedure.
3370 (test_set_show_env_var_equal): Likewise.
3371 * gdb.base/info-program.exp: New file.
3372
3373 2017-04-27 Keith Seitz <keiths@redhat.com>
3374
3375 * gdb.cp/oranking.cc (test15): New function.
3376 (main): Call test15 and declare additional variables for testing.
3377 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3378 "p foo101('abc')" tests.
3379 Add tests for cv qualifier overloads.
3380 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3381 "lvalue reference overload" test.
3382 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3383 "print value of f1 on Child&& in f2" test.
3384
3385 2017-04-19 Pedro Alves <palves@redhat.com>
3386
3387 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3388 procedure.
3389 (top level): Call it.
3390 * lib/gdb.exp (gdb_define_cmd): New procedure.
3391
3392 2017-04-12 Pedro Alves <palves@redhat.com>
3393
3394 PR gdb/21323
3395 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3396 (wchar): New global.
3397 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3398 (do_test_wide_char, wide_char_types_no_program, top level): Add
3399 wchar_t testing.
3400
3401 2017-04-12 Pedro Alves <palves@redhat.com>
3402
3403 PR c++/21323
3404 * gdb.cp/wide_char_types.c: New file.
3405 * gdb.cp/wide_char_types.exp: New file.
3406
3407 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3408
3409 PR gdb/21352
3410 * gdb.trace/tsv.exp: Add test for "tsave -r".
3411
3412 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3413
3414 * gdb.dlang/watch-loc.c: New file.
3415 * gdb.dlang/watch-loc.exp: New file.
3416
3417 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3418
3419 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3420
3421 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3422
3423 * gdb.arch/arc-analyze-prologue.S: New file.
3424 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3425
3426 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3427
3428 * gdb.arch/arc-decode-insn.S: New file.
3429 * gdb.arch/arc-decode-insn.exp: Likewise.
3430
3431 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3432
3433 PR tdep/20928
3434 * gdb.arch/sparc64-regs.exp: New file.
3435 * gdb.arch/sparc64-regs.S: Likewise.
3436
3437 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3438
3439 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3440 and memory view on Python 3.
3441
3442 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
3443 Keith Seitz <keiths@redhat.com>
3444
3445 PR gdb/14441
3446 * gdb.cp/demangle.exp: Add rvalue reference tests.
3447 * gdb.cp/rvalue-ref-casts.cc: New file.
3448 * gdb.cp/rvalue-ref-casts.exp: New file.
3449 * gdb.cp/rvalue-ref-overload.cc: New file.
3450 * gdb.cp/rvalue-ref-overload.exp: New file.
3451 * gdb.cp/rvalue-ref-params.cc: New file.
3452 * gdb.cp/rvalue-ref-params.exp: New file.
3453 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3454 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3455 * gdb.cp/rvalue-ref-types.cc: New file.
3456 * gdb.cp/rvalue-ref-types.exp: New file.
3457 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3458 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3459
3460 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3461
3462 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3463 New procedure.
3464
3465 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3466
3467 * lib/mi-support.exp (mi_gdb_test): Add additional message
3468 for unexpected output.
3469
3470 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3471
3472 * gdb.base/examine-backward.c (Barrier): New character array
3473 constant, to ensure that TestStrings is preceded by a string
3474 terminator.
3475
3476 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3477
3478 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3479 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3480 and implicit pointer into such a location.
3481
3482 2017-03-16 Doug Evans <dje@google.com>
3483
3484 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3485
3486 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3487
3488 * gdb.cp/m-static.exp: Fix expectation for prototype of
3489 test5.single_constructor and single_constructor::single_constructor.
3490
3491 2017-03-16 Doug Evans <dje@google.com>
3492
3493 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3494 * gdb.guile/scm-lazy-string.c: New file.
3495 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3496 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3497 for pointer, array, typedef lazy strings.
3498
3499 2017-03-16 Doug Evans <dje@google.com>
3500
3501 PR python/17728, python/18439, python/18779
3502 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3503 * gdb.python/py-lazy-string.c (pointer): New typedef.
3504 (main): New locals ptr, array, typedef_ptr.
3505 * gdb.python/py-value.exp: Move lazy string tests to ...
3506 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3507 array, typedef lazy strings.
3508
3509 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3510
3511 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3512 Add optional 'test' parameter.
3513
3514 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3515
3516 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3517 Skip for versions of DejaGnu < 1.5.
3518
3519 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3520
3521 * lib/gdb.exp (dejagnu_version): New proc.
3522 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3523 Use dejagnu_version.
3524
3525 2017-03-10 Keith Seitz <keiths@redhat.com>
3526
3527 PR c++/8128
3528 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3529 type from destructor regexps.
3530 Add a branch which actually passes the test.
3531 Adjust "ptype t5i" test names.
3532
3533 2017-03-08 Pedro Alves <palves@redhat.com>
3534
3535 * gdb.base/step-over-exit.exp: Add explicit test message.
3536
3537 2017-03-08 Pedro Alves <palves@redhat.com>
3538
3539 PR gdb/18360
3540 * gdb.threads/interrupt-while-step-over.c: New file.
3541 * gdb.threads/interrupt-while-step-over.exp: New file.
3542
3543 2017-03-08 Pedro Alves <palves@redhat.com>
3544
3545 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3546 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3547
3548 2017-03-08 Pedro Alves <palves@redhat.com>
3549
3550 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3551 PKRU as not supported as a PASS.
3552
3553 2017-03-08 Pedro Alves <palves@redhat.com>
3554
3555 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3556 prefix instead of $binfile1/$binfile2.
3557 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3558 in test message.
3559 * gdb.python/py-completion.exp: Use "load python file" as test
3560 messages instead of unstable path names.
3561
3562 2017-03-08 Pedro Alves <palves@redhat.com>
3563 Jan Kratochvil <jan.kratochvil@redhat.com>
3564
3565 PR cli/21218
3566 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3567 New proc.
3568 (top level): Call it.
3569
3570 2017-03-08 Pedro Alves <palves@redhat.com>
3571
3572 PR tui/21216
3573 * gdb.tui/tui-nl-filtered-output.exp: New file.
3574
3575 2017-03-08 Pedro Alves <palves@redhat.com>
3576
3577 * gdb.base/completion.exp: Move TUI completion tests to ...
3578 * gdb.tui/completion.exp: ... this new file.
3579
3580 2017-03-08 Pedro Alves <palves@redhat.com>
3581
3582 * gdb.base/tui-disasm-long-lines.c,
3583 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3584 gdb.base/tui-layout.exp: Move to ...
3585 * gdb.tui/: ... this new directory.
3586
3587 2017-03-07 Pedro Alves <palves@redhat.com>
3588
3589 * gdb.base/tui-layout.c: New file.
3590 * gdb.base/tui-layout.exp: New file.
3591
3592 2017-03-07 Pedro Alves <palves@redhat.com>
3593
3594 * gdb.base/tui-layout.c: Rename to ...
3595 * gdb.base/tui-disasm-long-lines.c: ... this.
3596 * gdb.base/tui-layout.exp: Rename to ...
3597 * gdb.base/tui-disasm-long-lines.exp: ... this.
3598
3599 2017-03-07 Pedro Alves <palves@redhat.com>
3600
3601 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3602
3603 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3604
3605 * i386-mpx-call.c: New file.
3606 * i386-mpx-call.exp: New file.
3607
3608 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3609
3610 * gdb.arch/powerpc-power.exp: Delete test.
3611 * gdb.arch/powerpc-power.s: Likewise.
3612 * gdb.disasm/disassembler-options.exp: New test.
3613 * gdb.arch/powerpc-altivec.exp: Likewise.
3614 * gdb.arch/powerpc-altivec.s: Likewise.
3615 * gdb.arch/powerpc-altivec2.exp: Likewise.
3616 * gdb.arch/powerpc-altivec2.s: Likewise.
3617 * gdb.arch/powerpc-altivec3.exp: Likewise.
3618 * gdb.arch/powerpc-altivec3.s: Likewise.
3619 * gdb.arch/powerpc-power7.exp: Likewise.
3620 * gdb.arch/powerpc-power7.s: Likewise.
3621 * gdb.arch/powerpc-power8.exp: Likewise.
3622 * gdb.arch/powerpc-power8.s: Likewise.
3623 * gdb.arch/powerpc-power9.exp: Likewise.
3624 * gdb.arch/powerpc-power9.s: Likewise.
3625 * gdb.arch/powerpc-vsx.exp: Likewise.
3626 * gdb.arch/powerpc-vsx.s: Likewise.
3627 * gdb.arch/powerpc-vsx2.exp: Likewise.
3628 * gdb.arch/powerpc-vsx2.s: Likewise.
3629 * gdb.arch/powerpc-vsx3.exp: Likewise.
3630 * gdb.arch/powerpc-vsx3.s: Likewise.
3631 * gdb.arch/arm-disassembler-options.exp: Likewise.
3632 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3633 * gdb.arch/s390-disassembler-options.exp: Likewise.
3634
3635 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
3636
3637 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3638 (check_supported_features): ... this. Changed return type to void.
3639 (supports_rdseed): New static global.
3640 (rdseed): Check supports_rdseed.
3641 (initialize): Call check_supported_features.
3642
3643 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3644
3645 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3646 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3647 and lqarx/stqcx.
3648 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3649 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3650
3651 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3652
3653 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3654 uppercase.
3655
3656 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3657
3658 * gdb.dwarf2/formdata16.c: New file.
3659 * gdb.dwarf2/formdata16.exp: New file.
3660 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3661
3662 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3663
3664 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3665 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3666 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3667 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3668 DW_AT_GNU_*.
3669
3670 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3671
3672 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3673
3674 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3675
3676 PR gdb/21164
3677 * gdb.base/maint.exp: Add testcases for when the commands do
3678 not have arguments.
3679
3680 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3681
3682 * gdb.cp/chained-calls.exp: Use p instead of P.
3683
3684 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3685
3686 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3687 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3688
3689 2017-02-14 Tom Tromey <tom@tromey.com>
3690
3691 PR python/13598:
3692 * gdb.python/py-events.exp: Add before_prompt event tests.
3693
3694 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3695
3696 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3697
3698 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3699
3700 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3701 (main): Call my_unique_function_name.
3702 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3703 completion of patterns with a single match.
3704 Add missing -re switches to gdb_test_multiple calls.
3705
3706 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3707
3708 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3709 return if core file is not recognized.
3710
3711 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3712
3713 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3714 and extra UIs.
3715
3716 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3717
3718 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3719 proc_with_prefix.
3720
3721 2017-02-10 Tom Tromey <tom@tromey.com>
3722
3723 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3724
3725 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
3726
3727 PR gdb/21122
3728 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3729
3730 2017-02-08 Jerome Guitton <guitton@adacore.com>
3731
3732 * gdb.base/define.exp: Add test for command abbreviations
3733 in define.
3734
3735 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
3736
3737 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3738 * gdb.reverse/insn-reverse-x86.c: New file.
3739
3740 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3741
3742 PR tdep/20936
3743 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3744
3745 2017-02-03 Tom Tromey <tom@tromey.com>
3746
3747 PR rust/21097:
3748 * gdb.rust/simple.exp: Add new tests.
3749
3750 2017-02-02 Pedro Alves <palves@redhat.com>
3751
3752 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3753 tests.
3754
3755 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3756
3757 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3758 taking a 2-byte value out of a 4-byte DWARF implicit value on
3759 big-endian targets.
3760 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3761 logic. Add test cases for DW_OP_implicit.
3762
3763 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3764
3765 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3766
3767 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3768
3769 * gdb.btrace/enable.exp: Call gdb_exit before
3770 skip_gdbserver_tests.
3771
3772 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3773
3774 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3775 GDBFLAGS.
3776
3777 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3778
3779 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3780 the test is skipped.
3781 * gdb.btrace/data.exp: Likewise.
3782 * gdb.btrace/delta.exp: Likewise.
3783 * gdb.btrace/dlopen.exp: Likewise.
3784 * gdb.btrace/enable-running.exp: Likewise.
3785 * gdb.btrace/enable.exp: Likewise.
3786 * gdb.btrace/exception.exp: Likewise.
3787 * gdb.btrace/function_call_history.exp: Likewise.
3788 * gdb.btrace/gcore.exp: Likewise.
3789 * gdb.btrace/instruction_history.exp: Likewise.
3790 * gdb.btrace/multi-thread-step.exp: Likewise.
3791 * gdb.btrace/nohist.exp: Likewise.
3792 * gdb.btrace/non-stop.exp: Likewise.
3793 * gdb.btrace/reconnect.exp: Likewise.
3794 * gdb.btrace/record_goto-step.exp: Likewise.
3795 * gdb.btrace/record_goto.exp: Likewise.
3796 * gdb.btrace/rn-dl-bind.exp: Likewise.
3797 * gdb.btrace/segv.exp: Likewise.
3798 * gdb.btrace/step.exp: Likewise.
3799 * gdb.btrace/stepi.exp: Likewise.
3800 * gdb.btrace/tailcall-only.exp: Likewise.
3801 * gdb.btrace/tailcall.exp: Likewise.
3802 * gdb.btrace/tsx.exp: Likewise.
3803 * gdb.btrace/unknown_functions.exp: Likewise.
3804 * gdb.btrace/vdso.exp: Likewise.
3805
3806 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3807
3808 * gdb.btrace/enable-running.c: New.
3809 * gdb.btrace/enable-running.exp: New.
3810
3811 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3812
3813 * gdb.arch/amd64-gs_base.c: New file.
3814 * gdb.arch/amd64-gs_base.exp: New file.
3815
3816 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3817
3818 * lib/memory.exp: Remove spurious empty newlines.
3819
3820 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3821
3822 * gdb.python/py-bad-printers.exp: Load python file using "source".
3823 * gdb.python/py-events.exp: Likewise.
3824 * gdb.python/py-evsignal.exp: Likewise.
3825 * gdb.python/py-evthreads.exp: Likewise.
3826 * gdb.python/py-frame-args.exp: Likewise.
3827 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3828 * gdb.python/py-framefilter-mi.exp: Likewise.
3829 * gdb.python/py-framefilter.exp: Likewise.
3830 * gdb.python/py-mi.exp: Likewise.
3831 * gdb.python/py-pp-maint.exp: Likewise.
3832 * gdb.python/py-pp-registration.exp: Likewise.
3833 * gdb.python/py-prettyprint.exp: Likewise.
3834 (run_lang_tests): Likewise.
3835 * gdb.python/py-typeprint.exp: Likewise.
3836
3837 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3838
3839 * lib/memory.exp: New file.
3840 * lib/gdb.exp: Load memory.exp.
3841 * gdb.base/memattr.exp (delete_memory): Move proc to
3842 lib/memory.exp and rename to delete_memory_regions.
3843 Replace delete_memory with delete_memory_regions.
3844 Cleanup memory regions before tests.
3845 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3846 before tests.
3847
3848 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3849
3850 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3851 files.
3852 (initialize): New function conditionally defined.
3853 (testcases): Move within conditional block.
3854 (main): Call initialize.
3855 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3856 of gdb.reverse/insn-reverse.c.
3857 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3858 gdb.reverse/insn-reverse.c.
3859
3860 2017-01-26 Yao Qi <yao.qi@linaro.org>
3861
3862 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3863 disassemble on address 0.
3864
3865 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
3866 Yao Qi <yao.qi@linaro.org>
3867
3868 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3869 * gdb.dwarf2/implptr-64bit.S: Remove.
3870 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
3871 variables in caller's context. Add DW_OP_implicit_value.
3872
3873 2017-01-25 Yao Qi <yao.qi@linaro.org>
3874
3875 * lib/dwarf.exp (Dwarf::_location): Handle
3876 DW_OP_GNU_implicit_pointer with proper size.
3877
3878 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3879
3880 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3881 and add untested calls.
3882
3883 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3884
3885 * gdb.python/python.exp: Check line number against what GDB thinks
3886 the line number is for func1.
3887
3888 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
3889
3890 * gdb.dlang/debug-expr.exp: New file.
3891
3892 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
3893
3894 Fix test names for the following files:
3895
3896 * gdb.ada/exec_changed.exp
3897 * gdb.ada/info_types.exp
3898 * gdb.arch/aarch64-atomic-inst.exp
3899 * gdb.arch/aarch64-fp.exp
3900 * gdb.arch/altivec-abi.exp
3901 * gdb.arch/altivec-regs.exp
3902 * gdb.arch/amd64-byte.exp
3903 * gdb.arch/amd64-disp-step.exp
3904 * gdb.arch/amd64-dword.exp
3905 * gdb.arch/amd64-entry-value-inline.exp
3906 * gdb.arch/amd64-entry-value-param.exp
3907 * gdb.arch/amd64-entry-value-paramref.exp
3908 * gdb.arch/amd64-entry-value.exp
3909 * gdb.arch/amd64-i386-address.exp
3910 * gdb.arch/amd64-invalid-stack-middle.exp
3911 * gdb.arch/amd64-invalid-stack-top.exp
3912 * gdb.arch/amd64-optimout-repeat.exp
3913 * gdb.arch/amd64-prologue-skip.exp
3914 * gdb.arch/amd64-prologue-xmm.exp
3915 * gdb.arch/amd64-stap-special-operands.exp
3916 * gdb.arch/amd64-stap-wrong-subexp.exp
3917 * gdb.arch/amd64-tailcall-cxx.exp
3918 * gdb.arch/amd64-tailcall-noret.exp
3919 * gdb.arch/amd64-tailcall-ret.exp
3920 * gdb.arch/amd64-tailcall-self.exp
3921 * gdb.arch/amd64-word.exp
3922 * gdb.arch/arm-bl-branch-dest.exp
3923 * gdb.arch/arm-disp-step.exp
3924 * gdb.arch/arm-neon.exp
3925 * gdb.arch/arm-single-step-kernel-helper.exp
3926 * gdb.arch/avr-flash-qualifier.exp
3927 * gdb.arch/disp-step-insn-reloc.exp
3928 * gdb.arch/e500-abi.exp
3929 * gdb.arch/e500-regs.exp
3930 * gdb.arch/ftrace-insn-reloc.exp
3931 * gdb.arch/i386-avx512.exp
3932 * gdb.arch/i386-bp_permanent.exp
3933 * gdb.arch/i386-byte.exp
3934 * gdb.arch/i386-cfi-notcurrent.exp
3935 * gdb.arch/i386-disp-step.exp
3936 * gdb.arch/i386-dr3-watch.exp
3937 * gdb.arch/i386-float.exp
3938 * gdb.arch/i386-gnu-cfi.exp
3939 * gdb.arch/i386-mpx-map.exp
3940 * gdb.arch/i386-mpx-sigsegv.exp
3941 * gdb.arch/i386-mpx-simple_segv.exp
3942 * gdb.arch/i386-mpx.exp
3943 * gdb.arch/i386-permbkpt.exp
3944 * gdb.arch/i386-prologue.exp
3945 * gdb.arch/i386-signal.exp
3946 * gdb.arch/i386-size-overlap.exp
3947 * gdb.arch/i386-unwind.exp
3948 * gdb.arch/i386-word.exp
3949 * gdb.arch/mips-fcr.exp
3950 * gdb.arch/powerpc-d128-regs.exp
3951 * gdb.arch/powerpc-stackless.exp
3952 * gdb.arch/ppc64-atomic-inst.exp
3953 * gdb.arch/s390-stackless.exp
3954 * gdb.arch/s390-tdbregs.exp
3955 * gdb.arch/s390-vregs.exp
3956 * gdb.arch/sparc-sysstep.exp
3957 * gdb.arch/thumb-bx-pc.exp
3958 * gdb.arch/thumb-singlestep.exp
3959 * gdb.arch/thumb2-it.exp
3960 * gdb.arch/vsx-regs.exp
3961 * gdb.asm/asm-source.exp
3962 * gdb.base/a2-run.exp
3963 * gdb.base/advance.exp
3964 * gdb.base/all-bin.exp
3965 * gdb.base/anon.exp
3966 * gdb.base/args.exp
3967 * gdb.base/arithmet.exp
3968 * gdb.base/async-shell.exp
3969 * gdb.base/async.exp
3970 * gdb.base/attach-pie-noexec.exp
3971 * gdb.base/attach-twice.exp
3972 * gdb.base/auto-load.exp
3973 * gdb.base/bang.exp
3974 * gdb.base/bitfields.exp
3975 * gdb.base/break-always.exp
3976 * gdb.base/break-caller-line.exp
3977 * gdb.base/break-entry.exp
3978 * gdb.base/break-inline.exp
3979 * gdb.base/break-on-linker-gcd-function.exp
3980 * gdb.base/break-probes.exp
3981 * gdb.base/break.exp
3982 * gdb.base/breakpoint-shadow.exp
3983 * gdb.base/call-ar-st.exp
3984 * gdb.base/call-sc.exp
3985 * gdb.base/call-signal-resume.exp
3986 * gdb.base/call-strs.exp
3987 * gdb.base/callfuncs.exp
3988 * gdb.base/catch-fork-static.exp
3989 * gdb.base/catch-gdb-caused-signals.exp
3990 * gdb.base/catch-load.exp
3991 * gdb.base/catch-signal-fork.exp
3992 * gdb.base/catch-signal.exp
3993 * gdb.base/catch-syscall.exp
3994 * gdb.base/charset.exp
3995 * gdb.base/checkpoint.exp
3996 * gdb.base/chng-syms.exp
3997 * gdb.base/code-expr.exp
3998 * gdb.base/code_elim.exp
3999 * gdb.base/commands.exp
4000 * gdb.base/completion.exp
4001 * gdb.base/complex.exp
4002 * gdb.base/cond-expr.exp
4003 * gdb.base/condbreak.exp
4004 * gdb.base/consecutive.exp
4005 * gdb.base/continue-all-already-running.exp
4006 * gdb.base/coredump-filter.exp
4007 * gdb.base/corefile.exp
4008 * gdb.base/dbx.exp
4009 * gdb.base/debug-expr.exp
4010 * gdb.base/define.exp
4011 * gdb.base/del.exp
4012 * gdb.base/disabled-location.exp
4013 * gdb.base/disasm-end-cu.exp
4014 * gdb.base/disasm-optim.exp
4015 * gdb.base/display.exp
4016 * gdb.base/duplicate-bp.exp
4017 * gdb.base/ena-dis-br.exp
4018 * gdb.base/ending-run.exp
4019 * gdb.base/enumval.exp
4020 * gdb.base/environ.exp
4021 * gdb.base/eu-strip-infcall.exp
4022 * gdb.base/eval-avoid-side-effects.exp
4023 * gdb.base/eval-skip.exp
4024 * gdb.base/exitsignal.exp
4025 * gdb.base/expand-psymtabs.exp
4026 * gdb.base/filesym.exp
4027 * gdb.base/find-unmapped.exp
4028 * gdb.base/finish.exp
4029 * gdb.base/float.exp
4030 * gdb.base/foll-exec-mode.exp
4031 * gdb.base/foll-exec.exp
4032 * gdb.base/foll-fork.exp
4033 * gdb.base/fortran-sym-case.exp
4034 * gdb.base/freebpcmd.exp
4035 * gdb.base/func-ptr.exp
4036 * gdb.base/func-ptrs.exp
4037 * gdb.base/funcargs.exp
4038 * gdb.base/gcore-buffer-overflow.exp
4039 * gdb.base/gcore-relro-pie.exp
4040 * gdb.base/gcore-relro.exp
4041 * gdb.base/gcore.exp
4042 * gdb.base/gdb1090.exp
4043 * gdb.base/gdb11530.exp
4044 * gdb.base/gdb11531.exp
4045 * gdb.base/gdb1821.exp
4046 * gdb.base/gdbindex-stabs.exp
4047 * gdb.base/gdbvars.exp
4048 * gdb.base/hbreak.exp
4049 * gdb.base/hbreak2.exp
4050 * gdb.base/included.exp
4051 * gdb.base/infcall-input.exp
4052 * gdb.base/inferior-died.exp
4053 * gdb.base/infnan.exp
4054 * gdb.base/info-macros.exp
4055 * gdb.base/info-os.exp
4056 * gdb.base/info-proc.exp
4057 * gdb.base/info-shared.exp
4058 * gdb.base/info-target.exp
4059 * gdb.base/infoline.exp
4060 * gdb.base/interp.exp
4061 * gdb.base/interrupt.exp
4062 * gdb.base/jit-reader.exp
4063 * gdb.base/jit-simple.exp
4064 * gdb.base/kill-after-signal.exp
4065 * gdb.base/kill-detach-inferiors-cmd.exp
4066 * gdb.base/label.exp
4067 * gdb.base/langs.exp
4068 * gdb.base/ldbl_e308.exp
4069 * gdb.base/line-symtabs.exp
4070 * gdb.base/linespecs.exp
4071 * gdb.base/list.exp
4072 * gdb.base/long_long.exp
4073 * gdb.base/longest-types.exp
4074 * gdb.base/maint.exp
4075 * gdb.base/max-value-size.exp
4076 * gdb.base/memattr.exp
4077 * gdb.base/mips_pro.exp
4078 * gdb.base/morestack.exp
4079 * gdb.base/moribund-step.exp
4080 * gdb.base/multi-forks.exp
4081 * gdb.base/nested-addr.exp
4082 * gdb.base/nextoverexit.exp
4083 * gdb.base/noreturn-finish.exp
4084 * gdb.base/noreturn-return.exp
4085 * gdb.base/nostdlib.exp
4086 * gdb.base/offsets.exp
4087 * gdb.base/opaque.exp
4088 * gdb.base/pc-fp.exp
4089 * gdb.base/permissions.exp
4090 * gdb.base/print-symbol-loading.exp
4091 * gdb.base/prologue-include.exp
4092 * gdb.base/psymtab.exp
4093 * gdb.base/ptype.exp
4094 * gdb.base/random-signal.exp
4095 * gdb.base/randomize.exp
4096 * gdb.base/range-stepping.exp
4097 * gdb.base/readline-ask.exp
4098 * gdb.base/recpar.exp
4099 * gdb.base/recurse.exp
4100 * gdb.base/relational.exp
4101 * gdb.base/restore.exp
4102 * gdb.base/return-nodebug.exp
4103 * gdb.base/return.exp
4104 * gdb.base/run-after-attach.exp
4105 * gdb.base/save-bp.exp
4106 * gdb.base/scope.exp
4107 * gdb.base/sect-cmd.exp
4108 * gdb.base/set-lang-auto.exp
4109 * gdb.base/set-noassign.exp
4110 * gdb.base/setvar.exp
4111 * gdb.base/sigall.exp
4112 * gdb.base/sigbpt.exp
4113 * gdb.base/siginfo-addr.exp
4114 * gdb.base/siginfo-infcall.exp
4115 * gdb.base/siginfo-obj.exp
4116 * gdb.base/siginfo.exp
4117 * gdb.base/signals-state-child.exp
4118 * gdb.base/signest.exp
4119 * gdb.base/sigstep.exp
4120 * gdb.base/sizeof.exp
4121 * gdb.base/skip.exp
4122 * gdb.base/solib-corrupted.exp
4123 * gdb.base/solib-nodir.exp
4124 * gdb.base/solib-search.exp
4125 * gdb.base/stack-checking.exp
4126 * gdb.base/stale-infcall.exp
4127 * gdb.base/stap-probe.exp
4128 * gdb.base/start.exp
4129 * gdb.base/step-break.exp
4130 * gdb.base/step-bt.exp
4131 * gdb.base/step-line.exp
4132 * gdb.base/step-over-exit.exp
4133 * gdb.base/step-over-syscall.exp
4134 * gdb.base/step-resume-infcall.exp
4135 * gdb.base/step-test.exp
4136 * gdb.base/store.exp
4137 * gdb.base/structs3.exp
4138 * gdb.base/sym-file.exp
4139 * gdb.base/symbol-without-target_section.exp
4140 * gdb.base/term.exp
4141 * gdb.base/testenv.exp
4142 * gdb.base/ui-redirect.exp
4143 * gdb.base/until.exp
4144 * gdb.base/unwindonsignal.exp
4145 * gdb.base/value-double-free.exp
4146 * gdb.base/vla-datatypes.exp
4147 * gdb.base/vla-ptr.exp
4148 * gdb.base/vla-sideeffect.exp
4149 * gdb.base/volatile.exp
4150 * gdb.base/watch-cond-infcall.exp
4151 * gdb.base/watch-cond.exp
4152 * gdb.base/watch-non-mem.exp
4153 * gdb.base/watch-read.exp
4154 * gdb.base/watch-vfork.exp
4155 * gdb.base/watchpoint-cond-gone.exp
4156 * gdb.base/watchpoint-delete.exp
4157 * gdb.base/watchpoint-hw-hit-once.exp
4158 * gdb.base/watchpoint-hw.exp
4159 * gdb.base/watchpoint-stops-at-right-insn.exp
4160 * gdb.base/watchpoints.exp
4161 * gdb.base/wchar.exp
4162 * gdb.base/whatis-exp.exp
4163 * gdb.btrace/buffer-size.exp
4164 * gdb.btrace/data.exp
4165 * gdb.btrace/delta.exp
4166 * gdb.btrace/dlopen.exp
4167 * gdb.btrace/enable.exp
4168 * gdb.btrace/exception.exp
4169 * gdb.btrace/function_call_history.exp
4170 * gdb.btrace/gcore.exp
4171 * gdb.btrace/instruction_history.exp
4172 * gdb.btrace/nohist.exp
4173 * gdb.btrace/reconnect.exp
4174 * gdb.btrace/record_goto-step.exp
4175 * gdb.btrace/record_goto.exp
4176 * gdb.btrace/rn-dl-bind.exp
4177 * gdb.btrace/segv.exp
4178 * gdb.btrace/step.exp
4179 * gdb.btrace/stepi.exp
4180 * gdb.btrace/tailcall-only.exp
4181 * gdb.btrace/tailcall.exp
4182 * gdb.btrace/tsx.exp
4183 * gdb.btrace/unknown_functions.exp
4184 * gdb.btrace/vdso.exp
4185 * gdb.compile/compile-ifunc.exp
4186 * gdb.compile/compile-ops.exp
4187 * gdb.compile/compile-print.exp
4188 * gdb.compile/compile-setjmp.exp
4189 * gdb.cp/abstract-origin.exp
4190 * gdb.cp/ambiguous.exp
4191 * gdb.cp/annota2.exp
4192 * gdb.cp/annota3.exp
4193 * gdb.cp/anon-ns.exp
4194 * gdb.cp/anon-struct.exp
4195 * gdb.cp/anon-union.exp
4196 * gdb.cp/arg-reference.exp
4197 * gdb.cp/baseenum.exp
4198 * gdb.cp/bool.exp
4199 * gdb.cp/breakpoint.exp
4200 * gdb.cp/bs15503.exp
4201 * gdb.cp/call-c.exp
4202 * gdb.cp/casts.exp
4203 * gdb.cp/chained-calls.exp
4204 * gdb.cp/class2.exp
4205 * gdb.cp/classes.exp
4206 * gdb.cp/cmpd-minsyms.exp
4207 * gdb.cp/converts.exp
4208 * gdb.cp/cp-relocate.exp
4209 * gdb.cp/cpcompletion.exp
4210 * gdb.cp/cpexprs.exp
4211 * gdb.cp/cplabel.exp
4212 * gdb.cp/cplusfuncs.exp
4213 * gdb.cp/cpsizeof.exp
4214 * gdb.cp/ctti.exp
4215 * gdb.cp/derivation.exp
4216 * gdb.cp/destrprint.exp
4217 * gdb.cp/dispcxx.exp
4218 * gdb.cp/enum-class.exp
4219 * gdb.cp/exception.exp
4220 * gdb.cp/exceptprint.exp
4221 * gdb.cp/expand-psymtabs-cxx.exp
4222 * gdb.cp/expand-sals.exp
4223 * gdb.cp/extern-c.exp
4224 * gdb.cp/filename.exp
4225 * gdb.cp/formatted-ref.exp
4226 * gdb.cp/fpointer.exp
4227 * gdb.cp/gdb1355.exp
4228 * gdb.cp/gdb2495.exp
4229 * gdb.cp/hang.exp
4230 * gdb.cp/impl-this.exp
4231 * gdb.cp/infcall-dlopen.exp
4232 * gdb.cp/inherit.exp
4233 * gdb.cp/iostream.exp
4234 * gdb.cp/koenig.exp
4235 * gdb.cp/local.exp
4236 * gdb.cp/m-data.exp
4237 * gdb.cp/m-static.exp
4238 * gdb.cp/mb-ctor.exp
4239 * gdb.cp/mb-inline.exp
4240 * gdb.cp/mb-templates.exp
4241 * gdb.cp/member-name.exp
4242 * gdb.cp/member-ptr.exp
4243 * gdb.cp/meth-typedefs.exp
4244 * gdb.cp/method.exp
4245 * gdb.cp/method2.exp
4246 * gdb.cp/minsym-fallback.exp
4247 * gdb.cp/misc.exp
4248 * gdb.cp/namelessclass.exp
4249 * gdb.cp/namespace-enum.exp
4250 * gdb.cp/namespace-nested-import.exp
4251 * gdb.cp/namespace.exp
4252 * gdb.cp/nextoverthrow.exp
4253 * gdb.cp/no-dmgl-verbose.exp
4254 * gdb.cp/non-trivial-retval.exp
4255 * gdb.cp/noparam.exp
4256 * gdb.cp/nsdecl.exp
4257 * gdb.cp/nsimport.exp
4258 * gdb.cp/nsnested.exp
4259 * gdb.cp/nsnoimports.exp
4260 * gdb.cp/nsrecurs.exp
4261 * gdb.cp/nsstress.exp
4262 * gdb.cp/nsusing.exp
4263 * gdb.cp/operator.exp
4264 * gdb.cp/oranking.exp
4265 * gdb.cp/overload-const.exp
4266 * gdb.cp/overload.exp
4267 * gdb.cp/ovldbreak.exp
4268 * gdb.cp/ovsrch.exp
4269 * gdb.cp/paren-type.exp
4270 * gdb.cp/parse-lang.exp
4271 * gdb.cp/pass-by-ref.exp
4272 * gdb.cp/pr-1023.exp
4273 * gdb.cp/pr-1210.exp
4274 * gdb.cp/pr-574.exp
4275 * gdb.cp/pr10687.exp
4276 * gdb.cp/pr12028.exp
4277 * gdb.cp/pr17132.exp
4278 * gdb.cp/pr17494.exp
4279 * gdb.cp/pr9067.exp
4280 * gdb.cp/pr9167.exp
4281 * gdb.cp/pr9631.exp
4282 * gdb.cp/printmethod.exp
4283 * gdb.cp/psmang.exp
4284 * gdb.cp/psymtab-parameter.exp
4285 * gdb.cp/ptype-cv-cp.exp
4286 * gdb.cp/ptype-flags.exp
4287 * gdb.cp/re-set-overloaded.exp
4288 * gdb.cp/ref-types.exp
4289 * gdb.cp/rtti.exp
4290 * gdb.cp/scope-err.exp
4291 * gdb.cp/shadow.exp
4292 * gdb.cp/smartp.exp
4293 * gdb.cp/static-method.exp
4294 * gdb.cp/static-print-quit.exp
4295 * gdb.cp/temargs.exp
4296 * gdb.cp/templates.exp
4297 * gdb.cp/try_catch.exp
4298 * gdb.cp/typedef-operator.exp
4299 * gdb.cp/typeid.exp
4300 * gdb.cp/userdef.exp
4301 * gdb.cp/using-crash.exp
4302 * gdb.cp/var-tag.exp
4303 * gdb.cp/virtbase.exp
4304 * gdb.cp/virtfunc.exp
4305 * gdb.cp/virtfunc2.exp
4306 * gdb.cp/vla-cxx.exp
4307 * gdb.disasm/t01_mov.exp
4308 * gdb.disasm/t02_mova.exp
4309 * gdb.disasm/t03_add.exp
4310 * gdb.disasm/t04_sub.exp
4311 * gdb.disasm/t05_cmp.exp
4312 * gdb.disasm/t06_ari2.exp
4313 * gdb.disasm/t07_ari3.exp
4314 * gdb.disasm/t08_or.exp
4315 * gdb.disasm/t09_xor.exp
4316 * gdb.disasm/t10_and.exp
4317 * gdb.disasm/t11_logs.exp
4318 * gdb.disasm/t12_bit.exp
4319 * gdb.disasm/t13_otr.exp
4320 * gdb.dlang/circular.exp
4321 * gdb.dwarf2/arr-stride.exp
4322 * gdb.dwarf2/arr-subrange.exp
4323 * gdb.dwarf2/atomic-type.exp
4324 * gdb.dwarf2/bad-regnum.exp
4325 * gdb.dwarf2/bitfield-parent-optimized-out.exp
4326 * gdb.dwarf2/callframecfa.exp
4327 * gdb.dwarf2/clztest.exp
4328 * gdb.dwarf2/corrupt.exp
4329 * gdb.dwarf2/data-loc.exp
4330 * gdb.dwarf2/dup-psym.exp
4331 * gdb.dwarf2/dw2-anon-mptr.exp
4332 * gdb.dwarf2/dw2-anonymous-func.exp
4333 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4334 * gdb.dwarf2/dw2-bad-unresolved.exp
4335 * gdb.dwarf2/dw2-basic.exp
4336 * gdb.dwarf2/dw2-canonicalize-type.exp
4337 * gdb.dwarf2/dw2-case-insensitive.exp
4338 * gdb.dwarf2/dw2-common-block.exp
4339 * gdb.dwarf2/dw2-compdir-oldgcc.exp
4340 * gdb.dwarf2/dw2-compressed.exp
4341 * gdb.dwarf2/dw2-const.exp
4342 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4343 * gdb.dwarf2/dw2-cu-size.exp
4344 * gdb.dwarf2/dw2-dup-frame.exp
4345 * gdb.dwarf2/dw2-entry-value.exp
4346 * gdb.dwarf2/dw2-icycle.exp
4347 * gdb.dwarf2/dw2-ifort-parameter.exp
4348 * gdb.dwarf2/dw2-inline-break.exp
4349 * gdb.dwarf2/dw2-inline-param.exp
4350 * gdb.dwarf2/dw2-intercu.exp
4351 * gdb.dwarf2/dw2-intermix.exp
4352 * gdb.dwarf2/dw2-lexical-block-bare.exp
4353 * gdb.dwarf2/dw2-linkage-name-trust.exp
4354 * gdb.dwarf2/dw2-minsym-in-cu.exp
4355 * gdb.dwarf2/dw2-noloc.exp
4356 * gdb.dwarf2/dw2-op-call.exp
4357 * gdb.dwarf2/dw2-op-out-param.exp
4358 * gdb.dwarf2/dw2-opt-structptr.exp
4359 * gdb.dwarf2/dw2-param-error.exp
4360 * gdb.dwarf2/dw2-producer.exp
4361 * gdb.dwarf2/dw2-ranges-base.exp
4362 * gdb.dwarf2/dw2-ref-missing-frame.exp
4363 * gdb.dwarf2/dw2-reg-undefined.exp
4364 * gdb.dwarf2/dw2-regno-invalid.exp
4365 * gdb.dwarf2/dw2-restore.exp
4366 * gdb.dwarf2/dw2-restrict.exp
4367 * gdb.dwarf2/dw2-single-line-discriminators.exp
4368 * gdb.dwarf2/dw2-strp.exp
4369 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4370 * gdb.dwarf2/dw2-unresolved.exp
4371 * gdb.dwarf2/dw2-var-zero-addr.exp
4372 * gdb.dwarf2/dw4-sig-types.exp
4373 * gdb.dwarf2/dwz.exp
4374 * gdb.dwarf2/dynarr-ptr.exp
4375 * gdb.dwarf2/enum-type.exp
4376 * gdb.dwarf2/gdb-index.exp
4377 * gdb.dwarf2/implptr-64bit.exp
4378 * gdb.dwarf2/implptr-optimized-out.exp
4379 * gdb.dwarf2/implptr.exp
4380 * gdb.dwarf2/implref-array.exp
4381 * gdb.dwarf2/implref-const.exp
4382 * gdb.dwarf2/implref-global.exp
4383 * gdb.dwarf2/implref-struct.exp
4384 * gdb.dwarf2/mac-fileno.exp
4385 * gdb.dwarf2/main-subprogram.exp
4386 * gdb.dwarf2/member-ptr-forwardref.exp
4387 * gdb.dwarf2/method-ptr.exp
4388 * gdb.dwarf2/missing-sig-type.exp
4389 * gdb.dwarf2/nonvar-access.exp
4390 * gdb.dwarf2/opaque-type-lookup.exp
4391 * gdb.dwarf2/pieces-optimized-out.exp
4392 * gdb.dwarf2/pieces.exp
4393 * gdb.dwarf2/pr10770.exp
4394 * gdb.dwarf2/pr13961.exp
4395 * gdb.dwarf2/staticvirtual.exp
4396 * gdb.dwarf2/subrange.exp
4397 * gdb.dwarf2/symtab-producer.exp
4398 * gdb.dwarf2/trace-crash.exp
4399 * gdb.dwarf2/typeddwarf.exp
4400 * gdb.dwarf2/valop.exp
4401 * gdb.dwarf2/watch-notconst.exp
4402 * gdb.fortran/array-element.exp
4403 * gdb.fortran/charset.exp
4404 * gdb.fortran/common-block.exp
4405 * gdb.fortran/complex.exp
4406 * gdb.fortran/derived-type-function.exp
4407 * gdb.fortran/derived-type.exp
4408 * gdb.fortran/logical.exp
4409 * gdb.fortran/module.exp
4410 * gdb.fortran/multi-dim.exp
4411 * gdb.fortran/nested-funcs.exp
4412 * gdb.fortran/print-formatted.exp
4413 * gdb.fortran/subarray.exp
4414 * gdb.fortran/vla-alloc-assoc.exp
4415 * gdb.fortran/vla-datatypes.exp
4416 * gdb.fortran/vla-history.exp
4417 * gdb.fortran/vla-ptr-info.exp
4418 * gdb.fortran/vla-ptype-sub.exp
4419 * gdb.fortran/vla-ptype.exp
4420 * gdb.fortran/vla-sizeof.exp
4421 * gdb.fortran/vla-type.exp
4422 * gdb.fortran/vla-value-sub-arbitrary.exp
4423 * gdb.fortran/vla-value-sub-finish.exp
4424 * gdb.fortran/vla-value-sub.exp
4425 * gdb.fortran/vla-value.exp
4426 * gdb.fortran/whatis_type.exp
4427 * gdb.go/chan.exp
4428 * gdb.go/handcall.exp
4429 * gdb.go/hello.exp
4430 * gdb.go/integers.exp
4431 * gdb.go/methods.exp
4432 * gdb.go/package.exp
4433 * gdb.go/strings.exp
4434 * gdb.go/types.exp
4435 * gdb.go/unsafe.exp
4436 * gdb.guile/scm-arch.exp
4437 * gdb.guile/scm-block.exp
4438 * gdb.guile/scm-breakpoint.exp
4439 * gdb.guile/scm-cmd.exp
4440 * gdb.guile/scm-disasm.exp
4441 * gdb.guile/scm-equal.exp
4442 * gdb.guile/scm-frame-args.exp
4443 * gdb.guile/scm-frame-inline.exp
4444 * gdb.guile/scm-frame.exp
4445 * gdb.guile/scm-iterator.exp
4446 * gdb.guile/scm-math.exp
4447 * gdb.guile/scm-objfile.exp
4448 * gdb.guile/scm-ports.exp
4449 * gdb.guile/scm-symbol.exp
4450 * gdb.guile/scm-symtab.exp
4451 * gdb.guile/scm-value-cc.exp
4452 * gdb.guile/types-module.exp
4453 * gdb.linespec/break-ask.exp
4454 * gdb.linespec/cpexplicit.exp
4455 * gdb.linespec/explicit.exp
4456 * gdb.linespec/keywords.exp
4457 * gdb.linespec/linespec.exp
4458 * gdb.linespec/ls-dollar.exp
4459 * gdb.linespec/ls-errs.exp
4460 * gdb.linespec/skip-two.exp
4461 * gdb.linespec/thread.exp
4462 * gdb.mi/mi-async.exp
4463 * gdb.mi/mi-basics.exp
4464 * gdb.mi/mi-break.exp
4465 * gdb.mi/mi-catch-load.exp
4466 * gdb.mi/mi-cli.exp
4467 * gdb.mi/mi-cmd-param-changed.exp
4468 * gdb.mi/mi-console.exp
4469 * gdb.mi/mi-detach.exp
4470 * gdb.mi/mi-disassemble.exp
4471 * gdb.mi/mi-eval.exp
4472 * gdb.mi/mi-file-transfer.exp
4473 * gdb.mi/mi-file.exp
4474 * gdb.mi/mi-fill-memory.exp
4475 * gdb.mi/mi-inheritance-syntax-error.exp
4476 * gdb.mi/mi-linespec-err-cp.exp
4477 * gdb.mi/mi-logging.exp
4478 * gdb.mi/mi-memory-changed.exp
4479 * gdb.mi/mi-read-memory.exp
4480 * gdb.mi/mi-record-changed.exp
4481 * gdb.mi/mi-reg-undefined.exp
4482 * gdb.mi/mi-regs.exp
4483 * gdb.mi/mi-return.exp
4484 * gdb.mi/mi-reverse.exp
4485 * gdb.mi/mi-simplerun.exp
4486 * gdb.mi/mi-solib.exp
4487 * gdb.mi/mi-stack.exp
4488 * gdb.mi/mi-stepi.exp
4489 * gdb.mi/mi-syn-frame.exp
4490 * gdb.mi/mi-until.exp
4491 * gdb.mi/mi-var-block.exp
4492 * gdb.mi/mi-var-child.exp
4493 * gdb.mi/mi-var-cmd.exp
4494 * gdb.mi/mi-var-cp.exp
4495 * gdb.mi/mi-var-display.exp
4496 * gdb.mi/mi-var-invalidate.exp
4497 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4498 * gdb.mi/mi-vla-fortran.exp
4499 * gdb.mi/mi-watch.exp
4500 * gdb.mi/mi2-var-child.exp
4501 * gdb.mi/user-selected-context-sync.exp
4502 * gdb.modula2/unbounded-array.exp
4503 * gdb.multi/dummy-frame-restore.exp
4504 * gdb.multi/multi-arch-exec.exp
4505 * gdb.multi/multi-arch.exp
4506 * gdb.multi/tids.exp
4507 * gdb.multi/watchpoint-multi.exp
4508 * gdb.opencl/callfuncs.exp
4509 * gdb.opencl/convs_casts.exp
4510 * gdb.opencl/datatypes.exp
4511 * gdb.opencl/operators.exp
4512 * gdb.opencl/vec_comps.exp
4513 * gdb.opt/clobbered-registers-O2.exp
4514 * gdb.opt/inline-break.exp
4515 * gdb.opt/inline-bt.exp
4516 * gdb.opt/inline-cmds.exp
4517 * gdb.opt/inline-locals.exp
4518 * gdb.pascal/case-insensitive-symbols.exp
4519 * gdb.pascal/floats.exp
4520 * gdb.pascal/gdb11492.exp
4521 * gdb.python/lib-types.exp
4522 * gdb.python/py-arch.exp
4523 * gdb.python/py-as-string.exp
4524 * gdb.python/py-bad-printers.exp
4525 * gdb.python/py-block.exp
4526 * gdb.python/py-breakpoint-create-fail.exp
4527 * gdb.python/py-breakpoint.exp
4528 * gdb.python/py-caller-is.exp
4529 * gdb.python/py-cmd.exp
4530 * gdb.python/py-explore-cc.exp
4531 * gdb.python/py-explore.exp
4532 * gdb.python/py-finish-breakpoint.exp
4533 * gdb.python/py-finish-breakpoint2.exp
4534 * gdb.python/py-frame-args.exp
4535 * gdb.python/py-frame-inline.exp
4536 * gdb.python/py-frame.exp
4537 * gdb.python/py-framefilter-mi.exp
4538 * gdb.python/py-infthread.exp
4539 * gdb.python/py-lazy-string.exp
4540 * gdb.python/py-linetable.exp
4541 * gdb.python/py-mi-events.exp
4542 * gdb.python/py-mi-objfile.exp
4543 * gdb.python/py-mi.exp
4544 * gdb.python/py-objfile.exp
4545 * gdb.python/py-pp-integral.exp
4546 * gdb.python/py-pp-maint.exp
4547 * gdb.python/py-pp-re-notag.exp
4548 * gdb.python/py-pp-registration.exp
4549 * gdb.python/py-recurse-unwind.exp
4550 * gdb.python/py-strfns.exp
4551 * gdb.python/py-symbol.exp
4552 * gdb.python/py-symtab.exp
4553 * gdb.python/py-sync-interp.exp
4554 * gdb.python/py-typeprint.exp
4555 * gdb.python/py-unwind-maint.exp
4556 * gdb.python/py-unwind.exp
4557 * gdb.python/py-value-cc.exp
4558 * gdb.python/py-xmethods.exp
4559 * gdb.reverse/amd64-tailcall-reverse.exp
4560 * gdb.reverse/break-precsave.exp
4561 * gdb.reverse/break-reverse.exp
4562 * gdb.reverse/consecutive-precsave.exp
4563 * gdb.reverse/consecutive-reverse.exp
4564 * gdb.reverse/finish-precsave.exp
4565 * gdb.reverse/finish-reverse-bkpt.exp
4566 * gdb.reverse/finish-reverse.exp
4567 * gdb.reverse/fstatat-reverse.exp
4568 * gdb.reverse/getresuid-reverse.exp
4569 * gdb.reverse/i386-precsave.exp
4570 * gdb.reverse/i386-reverse.exp
4571 * gdb.reverse/i386-sse-reverse.exp
4572 * gdb.reverse/i387-env-reverse.exp
4573 * gdb.reverse/i387-stack-reverse.exp
4574 * gdb.reverse/insn-reverse.exp
4575 * gdb.reverse/machinestate-precsave.exp
4576 * gdb.reverse/machinestate.exp
4577 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4578 * gdb.reverse/pipe-reverse.exp
4579 * gdb.reverse/readv-reverse.exp
4580 * gdb.reverse/recvmsg-reverse.exp
4581 * gdb.reverse/rerun-prec.exp
4582 * gdb.reverse/s390-mvcle.exp
4583 * gdb.reverse/step-precsave.exp
4584 * gdb.reverse/step-reverse.exp
4585 * gdb.reverse/time-reverse.exp
4586 * gdb.reverse/until-precsave.exp
4587 * gdb.reverse/until-reverse.exp
4588 * gdb.reverse/waitpid-reverse.exp
4589 * gdb.reverse/watch-precsave.exp
4590 * gdb.reverse/watch-reverse.exp
4591 * gdb.rust/generics.exp
4592 * gdb.rust/methods.exp
4593 * gdb.rust/modules.exp
4594 * gdb.rust/simple.exp
4595 * gdb.server/connect-with-no-symbol-file.exp
4596 * gdb.server/ext-attach.exp
4597 * gdb.server/ext-restart.exp
4598 * gdb.server/ext-wrapper.exp
4599 * gdb.server/file-transfer.exp
4600 * gdb.server/server-exec-info.exp
4601 * gdb.server/server-kill.exp
4602 * gdb.server/server-mon.exp
4603 * gdb.server/wrapper.exp
4604 * gdb.stabs/exclfwd.exp
4605 * gdb.stabs/gdb11479.exp
4606 * gdb.threads/clone-new-thread-event.exp
4607 * gdb.threads/corethreads.exp
4608 * gdb.threads/current-lwp-dead.exp
4609 * gdb.threads/dlopen-libpthread.exp
4610 * gdb.threads/gcore-thread.exp
4611 * gdb.threads/sigstep-threads.exp
4612 * gdb.threads/watchpoint-fork.exp
4613 * gdb.trace/actions-changed.exp
4614 * gdb.trace/backtrace.exp
4615 * gdb.trace/change-loc.exp
4616 * gdb.trace/circ.exp
4617 * gdb.trace/collection.exp
4618 * gdb.trace/disconnected-tracing.exp
4619 * gdb.trace/ftrace.exp
4620 * gdb.trace/mi-trace-frame-collected.exp
4621 * gdb.trace/mi-trace-unavailable.exp
4622 * gdb.trace/mi-traceframe-changed.exp
4623 * gdb.trace/mi-tsv-changed.exp
4624 * gdb.trace/no-attach-trace.exp
4625 * gdb.trace/passc-dyn.exp
4626 * gdb.trace/qtro.exp
4627 * gdb.trace/range-stepping.exp
4628 * gdb.trace/read-memory.exp
4629 * gdb.trace/save-trace.exp
4630 * gdb.trace/signal.exp
4631 * gdb.trace/status-stop.exp
4632 * gdb.trace/tfile.exp
4633 * gdb.trace/trace-break.exp
4634 * gdb.trace/trace-buffer-size.exp
4635 * gdb.trace/trace-condition.exp
4636 * gdb.trace/tracefile-pseudo-reg.exp
4637 * gdb.trace/tstatus.exp
4638 * gdb.trace/unavailable.exp
4639 * gdb.trace/while-dyn.exp
4640 * gdb.trace/while-stepping.exp
4641
4642 2016-12-22 Doug Evans <xdje42@gmail.com>
4643
4644 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4645 and msymbols.
4646
4647 2016-12-19 Yao Qi <yao.qi@linaro.org>
4648
4649 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4650 (test_with_self): Don't call do_steps_and_nexts, and remove
4651 code about stepping into xmalloc.
4652
4653 2016-12-09 Yao Qi <yao.qi@linaro.org>
4654
4655 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4656
4657 2016-12-09 Yao Qi <yao.qi@linaro.org>
4658
4659 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4660
4661 2016-12-09 Pedro Alves <palves@redhat.com>
4662
4663 * gdb.base/all-architectures-0.exp: New file.
4664 * gdb.base/all-architectures-1.exp: New file.
4665 * gdb.base/all-architectures-2.exp: New file.
4666 * gdb.base/all-architectures-3.exp: New file.
4667 * gdb.base/all-architectures-4.exp: New file.
4668 * gdb.base/all-architectures-5.exp: New file.
4669 * gdb.base/all-architectures-6.exp: New file.
4670 * gdb.base/all-architectures-7.exp: New file.
4671 * gdb.base/all-architectures.exp.in: New file.
4672
4673 2016-12-09 Yao Qi <yao.qi@linaro.org>
4674
4675 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4676
4677 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4678
4679 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4680 possible.
4681 Remove useless pattern-matching code.
4682
4683 2016-12-02 Pedro Alves <palves@redhat.com>
4684
4685 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4686 procedure.
4687 (top level): Call it.
4688
4689 2016-12-02 Pedro Alves <palves@redhat.com>
4690
4691 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4692 New procedure.
4693 (top level): Call it.
4694
4695 2016-12-02 Pedro Alves <palves@redhat.com>
4696
4697 PR cli/20559
4698 * gdb.base/commands.exp (user_defined_command_args_eval): New
4699 procedure.
4700 (top level): Call it.
4701
4702 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4703
4704 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4705 timeout handling.
4706
4707 2016-12-02 Tom Tromey <tom@tromey.com>
4708
4709 * gdb.dwarf2/main-subprogram.c: New file.
4710 * gdb.dwarf2/main-subprogram.exp: New file.
4711
4712 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4713
4714 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4715 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4716 gdb_test_no_output for a couple of cases.
4717 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4718
4719 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4720
4721 Fix test names and standardize compilation error messages throughout
4722 the following files:
4723
4724 * gdb.ada/start.exp
4725 * gdb.arch/alpha-step.exp
4726 * gdb.arch/e500-prologue.exp
4727 * gdb.arch/ftrace-insn-reloc.exp
4728 * gdb.arch/gdb1291.exp
4729 * gdb.arch/gdb1431.exp
4730 * gdb.arch/gdb1558.exp
4731 * gdb.arch/i386-dr3-watch.exp
4732 * gdb.arch/i386-sse-stack-align.exp
4733 * gdb.arch/ia64-breakpoint-shadow.exp
4734 * gdb.arch/pa-nullify.exp
4735 * gdb.arch/powerpc-aix-prologue.exp
4736 * gdb.arch/thumb-bx-pc.exp
4737 * gdb.base/annota1.exp
4738 * gdb.base/annota3.exp
4739 * gdb.base/arrayidx.exp
4740 * gdb.base/assign.exp
4741 * gdb.base/attach.exp
4742 * gdb.base/auxv.exp
4743 * gdb.base/bang.exp
4744 * gdb.base/bfp-test.exp
4745 * gdb.base/bigcore.exp
4746 * gdb.base/bitfields2.exp
4747 * gdb.base/break-fun-addr.exp
4748 * gdb.base/break-probes.exp
4749 * gdb.base/call-rt-st.exp
4750 * gdb.base/callexit.exp
4751 * gdb.base/catch-fork-kill.exp
4752 * gdb.base/charset.exp
4753 * gdb.base/checkpoint.exp
4754 * gdb.base/comprdebug.exp
4755 * gdb.base/constvars.exp
4756 * gdb.base/coredump-filter.exp
4757 * gdb.base/cursal.exp
4758 * gdb.base/cvexpr.exp
4759 * gdb.base/detach.exp
4760 * gdb.base/display.exp
4761 * gdb.base/dmsym.exp
4762 * gdb.base/dprintf-pending.exp
4763 * gdb.base/dso2dso.exp
4764 * gdb.base/dtrace-probe.exp
4765 * gdb.base/dump.exp
4766 * gdb.base/enum_cond.exp
4767 * gdb.base/exe-lock.exp
4768 * gdb.base/exec-invalid-sysroot.exp
4769 * gdb.base/execl-update-breakpoints.exp
4770 * gdb.base/exprs.exp
4771 * gdb.base/fileio.exp
4772 * gdb.base/find.exp
4773 * gdb.base/finish.exp
4774 * gdb.base/fixsection.exp
4775 * gdb.base/foll-vfork.exp
4776 * gdb.base/frame-args.exp
4777 * gdb.base/gcore.exp
4778 * gdb.base/gdb1250.exp
4779 * gdb.base/global-var-nested-by-dso.exp
4780 * gdb.base/gnu-ifunc.exp
4781 * gdb.base/hashline1.exp
4782 * gdb.base/hashline2.exp
4783 * gdb.base/hashline3.exp
4784 * gdb.base/hbreak-in-shr-unsupported.exp
4785 * gdb.base/huge.exp
4786 * gdb.base/infcall-input.exp
4787 * gdb.base/info-fun.exp
4788 * gdb.base/info-shared.exp
4789 * gdb.base/jit-simple.exp
4790 * gdb.base/jit-so.exp
4791 * gdb.base/jit.exp
4792 * gdb.base/jump.exp
4793 * gdb.base/label.exp
4794 * gdb.base/lineinc.exp
4795 * gdb.base/logical.exp
4796 * gdb.base/longjmp.exp
4797 * gdb.base/macscp.exp
4798 * gdb.base/miscexprs.exp
4799 * gdb.base/new-ui-echo.exp
4800 * gdb.base/new-ui-pending-input.exp
4801 * gdb.base/new-ui.exp
4802 * gdb.base/nodebug.exp
4803 * gdb.base/nofield.exp
4804 * gdb.base/offsets.exp
4805 * gdb.base/overlays.exp
4806 * gdb.base/pending.exp
4807 * gdb.base/pointers.exp
4808 * gdb.base/pr11022.exp
4809 * gdb.base/printcmds.exp
4810 * gdb.base/prologue.exp
4811 * gdb.base/ptr-typedef.exp
4812 * gdb.base/realname-expand.exp
4813 * gdb.base/relativedebug.exp
4814 * gdb.base/relocate.exp
4815 * gdb.base/remote.exp
4816 * gdb.base/reread.exp
4817 * gdb.base/return2.exp
4818 * gdb.base/savedregs.exp
4819 * gdb.base/sep.exp
4820 * gdb.base/sepdebug.exp
4821 * gdb.base/sepsymtab.exp
4822 * gdb.base/set-inferior-tty.exp
4823 * gdb.base/setshow.exp
4824 * gdb.base/shlib-call.exp
4825 * gdb.base/sigaltstack.exp
4826 * gdb.base/siginfo-addr.exp
4827 * gdb.base/signals.exp
4828 * gdb.base/signull.exp
4829 * gdb.base/sigrepeat.exp
4830 * gdb.base/so-impl-ld.exp
4831 * gdb.base/solib-display.exp
4832 * gdb.base/solib-overlap.exp
4833 * gdb.base/solib-search.exp
4834 * gdb.base/solib-symbol.exp
4835 * gdb.base/structs.exp
4836 * gdb.base/structs2.exp
4837 * gdb.base/symtab-search-order.exp
4838 * gdb.base/twice.exp
4839 * gdb.base/unload.exp
4840 * gdb.base/varargs.exp
4841 * gdb.base/watchpoint-solib.exp
4842 * gdb.base/watchpoint.exp
4843 * gdb.base/whatis.exp
4844 * gdb.base/wrong_frame_bt_full.exp
4845 * gdb.btrace/dlopen.exp
4846 * gdb.cell/ea-standalone.exp
4847 * gdb.cell/ea-test.exp
4848 * gdb.cp/dispcxx.exp
4849 * gdb.cp/gdb2384.exp
4850 * gdb.cp/method2.exp
4851 * gdb.cp/nextoverthrow.exp
4852 * gdb.cp/pr10728.exp
4853 * gdb.disasm/am33.exp
4854 * gdb.disasm/h8300s.exp
4855 * gdb.disasm/mn10300.exp
4856 * gdb.disasm/sh3.exp
4857 * gdb.dwarf2/dw2-dir-file-name.exp
4858 * gdb.fortran/complex.exp
4859 * gdb.fortran/library-module.exp
4860 * gdb.guile/scm-pretty-print.exp
4861 * gdb.guile/scm-symbol.exp
4862 * gdb.guile/scm-type.exp
4863 * gdb.guile/scm-value.exp
4864 * gdb.linespec/linespec.exp
4865 * gdb.mi/gdb701.exp
4866 * gdb.mi/gdb792.exp
4867 * gdb.mi/mi-breakpoint-changed.exp
4868 * gdb.mi/mi-dprintf-pending.exp
4869 * gdb.mi/mi-dprintf.exp
4870 * gdb.mi/mi-exit-code.exp
4871 * gdb.mi/mi-pending.exp
4872 * gdb.mi/mi-solib.exp
4873 * gdb.mi/new-ui-mi-sync.exp
4874 * gdb.mi/pr11022.exp
4875 * gdb.mi/user-selected-context-sync.exp
4876 * gdb.opt/solib-intra-step.exp
4877 * gdb.python/py-events.exp
4878 * gdb.python/py-finish-breakpoint.exp
4879 * gdb.python/py-mi.exp
4880 * gdb.python/py-prettyprint.exp
4881 * gdb.python/py-shared.exp
4882 * gdb.python/py-symbol.exp
4883 * gdb.python/py-template.exp
4884 * gdb.python/py-type.exp
4885 * gdb.python/py-value.exp
4886 * gdb.reverse/solib-precsave.exp
4887 * gdb.reverse/solib-reverse.exp
4888 * gdb.server/solib-list.exp
4889 * gdb.stabs/weird.exp
4890 * gdb.threads/reconnect-signal.exp
4891 * gdb.threads/stepi-random-signal.exp
4892 * gdb.trace/actions.exp
4893 * gdb.trace/ax.exp
4894 * gdb.trace/backtrace.exp
4895 * gdb.trace/change-loc.exp
4896 * gdb.trace/deltrace.exp
4897 * gdb.trace/ftrace-lock.exp
4898 * gdb.trace/ftrace.exp
4899 * gdb.trace/infotrace.exp
4900 * gdb.trace/mi-tracepoint-changed.exp
4901 * gdb.trace/packetlen.exp
4902 * gdb.trace/passcount.exp
4903 * gdb.trace/pending.exp
4904 * gdb.trace/range-stepping.exp
4905 * gdb.trace/report.exp
4906 * gdb.trace/stap-trace.exp
4907 * gdb.trace/tfind.exp
4908 * gdb.trace/trace-break.exp
4909 * gdb.trace/trace-condition.exp
4910 * gdb.trace/trace-enable-disable.exp
4911 * gdb.trace/trace-mt.exp
4912 * gdb.trace/tracecmd.exp
4913 * gdb.trace/tspeed.exp
4914 * gdb.trace/tsv.exp
4915 * lib/perftest.exp
4916
4917 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4918
4919 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4920 with gdb_test_no_output.
4921 Use command as test name.
4922
4923 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4924
4925 Fix test names starting with uppercase throughout the files.
4926
4927 * gdb.ada/assign_1.exp
4928 * gdb.ada/boolean_expr.exp
4929 * gdb.base/arrayidx.exp
4930 * gdb.base/del.exp
4931 * gdb.base/gcore-buffer-overflow.exp
4932 * gdb.base/testenv.exp
4933 * gdb.compile/compile.exp
4934 * gdb.python/py-framefilter-invalidarg.exp
4935 * gdb.python/py-framefilter.exp
4936
4937 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4938
4939 Fix test names starting with uppercase throughout the files.
4940
4941 * gdb.ada/array_return.exp
4942 * gdb.ada/expr_delims.exp
4943 * gdb.ada/mi_dyn_arr.exp
4944 * gdb.ada/mi_interface.exp
4945 * gdb.ada/mi_var_array.exp
4946 * gdb.ada/watch_arg.exp
4947 * gdb.arch/alpha-step.exp
4948 * gdb.arch/altivec-regs.exp
4949 * gdb.arch/e500-regs.exp
4950 * gdb.arch/powerpc-d128-regs.exp
4951 * gdb.base/arrayidx.exp
4952 * gdb.base/break.exp
4953 * gdb.base/checkpoint.exp
4954 * gdb.base/debug-expr.exp
4955 * gdb.base/dmsym.exp
4956 * gdb.base/radix.exp
4957 * gdb.base/sepdebug.exp
4958 * gdb.base/testenv.exp
4959 * gdb.base/watch_thread_num.exp
4960 * gdb.base/watchpoint-cond-gone.exp
4961 * gdb.cell/break.exp
4962 * gdb.cell/ea-cache.exp
4963 * gdb.compile/compile.exp
4964 * gdb.cp/gdb2495.exp
4965 * gdb.gdb/selftest.exp
4966 * gdb.gdb/xfullpath.exp
4967 * gdb.go/hello.exp
4968 * gdb.go/integers.exp
4969 * gdb.objc/basicclass.exp
4970 * gdb.pascal/hello.exp
4971 * gdb.pascal/integers.exp
4972 * gdb.python/py-breakpoint.exp
4973 * gdb.python/py-cmd.exp
4974 * gdb.python/py-linetable.exp
4975 * gdb.python/py-xmethods.exp
4976 * gdb.python/python.exp
4977 * gdb.reverse/consecutive-precsave.exp
4978 * gdb.reverse/finish-precsave.exp
4979 * gdb.reverse/i386-precsave.exp
4980 * gdb.reverse/machinestate-precsave.exp
4981 * gdb.reverse/sigall-precsave.exp
4982 * gdb.reverse/solib-precsave.exp
4983 * gdb.reverse/step-precsave.exp
4984 * gdb.reverse/until-precsave.exp
4985 * gdb.reverse/watch-precsave.exp
4986 * gdb.threads/leader-exit.exp
4987 * gdb.threads/pthreads.exp
4988 * gdb.threads/wp-replication.exp
4989 * gdb.trace/actions.exp
4990 * gdb.trace/mi-tsv-changed.exp
4991 * gdb.trace/tsv.exp
4992
4993 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4994
4995 Fix test names starting with uppercase throughout the files.
4996
4997 * gdb.arch/i386-bp_permanent.exp
4998 * gdb.arch/i386-gnu-cfi.exp
4999 * gdb.base/disasm-end-cu.exp
5000 * gdb.base/macscp.exp
5001 * gdb.base/pending.exp
5002 * gdb.base/watch_thread_num.exp
5003 * gdb.cp/exception.exp
5004 * gdb.cp/gdb2495.exp
5005 * gdb.cp/local.exp
5006 * gdb.python/py-evsignal.exp
5007 * gdb.python/python.exp
5008 * gdb.trace/tracecmd.exp
5009
5010 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5011
5012 Fix test names starting with uppercase throughout the files.
5013
5014 * gdb.base/charset.exp
5015 * gdb.base/eval.exp
5016 * gdb.base/multi-forks.exp
5017 * gdb.guile/scm-progspace.exp
5018 * gdb.opencl/datatypes.exp
5019 * gdb.python/py-block.exp
5020 * gdb.python/py-function.exp
5021 * gdb.python/py-symbol.exp
5022 * gdb.python/py-symtab.exp
5023 * gdb.python/py-xmethods.exp
5024 * gdb.reverse/break-precsave.exp
5025 * gdb.reverse/break-reverse.exp
5026 * gdb.reverse/consecutive-precsave.exp
5027 * gdb.reverse/consecutive-reverse.exp
5028 * gdb.reverse/finish-precsave.exp
5029 * gdb.reverse/finish-reverse-bkpt.exp
5030 * gdb.reverse/finish-reverse.exp
5031 * gdb.reverse/fstatat-reverse.exp
5032 * gdb.reverse/getresuid-reverse.exp
5033 * gdb.reverse/i386-precsave.exp
5034 * gdb.reverse/i386-reverse.exp
5035 * gdb.reverse/i386-sse-reverse.exp
5036 * gdb.reverse/i387-stack-reverse.exp
5037 * gdb.reverse/insn-reverse.exp
5038 * gdb.reverse/machinestate-precsave.exp
5039 * gdb.reverse/machinestate.exp
5040 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5041 * gdb.reverse/pipe-reverse.exp
5042 * gdb.reverse/readv-reverse.exp
5043 * gdb.reverse/recvmsg-reverse.exp
5044 * gdb.reverse/rerun-prec.exp
5045 * gdb.reverse/s390-mvcle.exp
5046 * gdb.reverse/sigall-precsave.exp
5047 * gdb.reverse/sigall-reverse.exp
5048 * gdb.reverse/solib-precsave.exp
5049 * gdb.reverse/solib-reverse.exp
5050 * gdb.reverse/step-precsave.exp
5051 * gdb.reverse/step-reverse.exp
5052 * gdb.reverse/time-reverse.exp
5053 * gdb.reverse/until-precsave.exp
5054 * gdb.reverse/until-reverse.exp
5055 * gdb.reverse/waitpid-reverse.exp
5056 * gdb.reverse/watch-precsave.exp
5057 * gdb.reverse/watch-reverse.exp
5058
5059 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5060
5061 Fix test names starting with uppercase throughout the files.
5062
5063 * gdb.arch/i386-mpx-simple_segv.exp
5064 * gdb.arch/i386-mpx.exp
5065 * gdb.arch/i386-permbkpt.exp
5066 * gdb.arch/pa-nullify.exp
5067 * gdb.arch/powerpc-d128-regs.exp
5068 * gdb.arch/vsx-regs.exp
5069 * gdb.base/bfp-test.exp
5070 * gdb.base/break.exp
5071 * gdb.base/breakpoint-shadow.exp
5072 * gdb.base/callfuncs.exp
5073 * gdb.base/charset.exp
5074 * gdb.base/commands.exp
5075 * gdb.base/completion.exp
5076 * gdb.base/dfp-test.exp
5077 * gdb.base/echo.exp
5078 * gdb.base/ending-run.exp
5079 * gdb.base/eval.exp
5080 * gdb.base/expand-psymtabs.exp
5081 * gdb.base/float128.exp
5082 * gdb.base/floatn.exp
5083 * gdb.base/foll-exec-mode.exp
5084 * gdb.base/gdb1056.exp
5085 * gdb.base/gdb11531.exp
5086 * gdb.base/kill-after-signal.exp
5087 * gdb.base/multi-forks.exp
5088 * gdb.base/overlays.exp
5089 * gdb.base/pending.exp
5090 * gdb.base/sepdebug.exp
5091 * gdb.base/testenv.exp
5092 * gdb.base/valgrind-db-attach.exp
5093 * gdb.base/watch_thread_num.exp
5094 * gdb.base/watchpoint-cond-gone.exp
5095 * gdb.base/watchpoint.exp
5096 * gdb.base/watchpoints.exp
5097 * gdb.cp/arg-reference.exp
5098 * gdb.cp/baseenum.exp
5099 * gdb.cp/operator.exp
5100 * gdb.cp/shadow.exp
5101 * gdb.dwarf2/dw2-op-out-param.exp
5102 * gdb.dwarf2/dw2-reg-undefined.exp
5103 * gdb.go/chan.exp
5104 * gdb.go/hello.exp
5105 * gdb.go/integers.exp
5106 * gdb.go/methods.exp
5107 * gdb.go/package.exp
5108 * gdb.guile/scm-parameter.exp
5109 * gdb.guile/scm-progspace.exp
5110 * gdb.guile/scm-value.exp
5111 * gdb.mi/mi-pending.exp
5112 * gdb.mi/user-selected-context-sync.exp
5113 * gdb.multi/multi-attach.exp
5114 * gdb.multi/tids.exp
5115 * gdb.opt/clobbered-registers-O2.exp
5116 * gdb.pascal/floats.exp
5117 * gdb.pascal/integers.exp
5118 * gdb.python/py-block.exp
5119 * gdb.python/py-events.exp
5120 * gdb.python/py-parameter.exp
5121 * gdb.python/py-symbol.exp
5122 * gdb.python/py-symtab.exp
5123 * gdb.python/py-type.exp
5124 * gdb.python/py-value.exp
5125 * gdb.python/py-xmethods.exp
5126 * gdb.python/python.exp
5127 * gdb.reverse/break-precsave.exp
5128 * gdb.reverse/consecutive-precsave.exp
5129 * gdb.reverse/finish-precsave.exp
5130 * gdb.reverse/i386-precsave.exp
5131 * gdb.reverse/machinestate-precsave.exp
5132 * gdb.reverse/sigall-precsave.exp
5133 * gdb.reverse/solib-precsave.exp
5134 * gdb.reverse/step-precsave.exp
5135 * gdb.reverse/until-precsave.exp
5136 * gdb.reverse/watch-precsave.exp
5137 * gdb.server/ext-attach.exp
5138 * gdb.server/ext-restart.exp
5139 * gdb.server/ext-run.exp
5140 * gdb.server/ext-wrapper.exp
5141 * gdb.stabs/gdb11479.exp
5142 * gdb.stabs/weird.exp
5143 * gdb.threads/attach-many-short-lived-threads.exp
5144 * gdb.threads/kill.exp
5145 * gdb.threads/watchpoint-fork.exp
5146
5147 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5148
5149 Fix test names starting with uppercase throughout all the files below.
5150
5151 * gdb.ada/array_return.exp
5152 * gdb.ada/catch_ex.exp
5153 * gdb.ada/info_exc.exp
5154 * gdb.ada/mi_catch_ex.exp
5155 * gdb.ada/mi_dyn_arr.exp
5156 * gdb.ada/mi_ex_cond.exp
5157 * gdb.ada/mi_exc_info.exp
5158 * gdb.ada/mi_interface.exp
5159 * gdb.ada/mi_task_arg.exp
5160 * gdb.ada/mi_task_info.exp
5161 * gdb.ada/mi_var_array.exp
5162 * gdb.arch/alpha-step.exp
5163 * gdb.arch/amd64-disp-step.exp
5164 * gdb.arch/arm-disp-step.exp
5165 * gdb.arch/disp-step-insn-reloc.exp
5166 * gdb.arch/e500-prologue.exp
5167 * gdb.arch/ftrace-insn-reloc.exp
5168 * gdb.arch/gdb1558.exp
5169 * gdb.arch/i386-bp_permanent.exp
5170 * gdb.arch/i386-disp-step.exp
5171 * gdb.arch/i386-float.exp
5172 * gdb.arch/i386-gnu-cfi.exp
5173 * gdb.arch/ia64-breakpoint-shadow.exp
5174 * gdb.arch/mips16-thunks.exp
5175 * gdb.arch/pa-nullify.exp
5176 * gdb.arch/powerpc-aix-prologue.exp
5177 * gdb.arch/powerpc-power.exp
5178 * gdb.arch/ppc-dfp.exp
5179 * gdb.arch/s390-tdbregs.exp
5180 * gdb.arch/spu-info.exp
5181 * gdb.arch/spu-ls.exp
5182 * gdb.arch/thumb-bx-pc.exp
5183 * gdb.base/advance.exp
5184 * gdb.base/annota-input-while-running.exp
5185 * gdb.base/arrayidx.exp
5186 * gdb.base/asmlabel.exp
5187 * gdb.base/async.exp
5188 * gdb.base/attach-wait-input.exp
5189 * gdb.base/auto-connect-native-target.exp
5190 * gdb.base/batch-preserve-term-settings.exp
5191 * gdb.base/bfp-test.exp
5192 * gdb.base/bigcore.exp
5193 * gdb.base/bp-permanent.exp
5194 * gdb.base/break-always.exp
5195 * gdb.base/break-fun-addr.exp
5196 * gdb.base/break-idempotent.exp
5197 * gdb.base/break-main-file-remove-fail.exp
5198 * gdb.base/break-probes.exp
5199 * gdb.base/break-unload-file.exp
5200 * gdb.base/break.exp
5201 * gdb.base/call-ar-st.exp
5202 * gdb.base/call-rt-st.exp
5203 * gdb.base/call-sc.exp
5204 * gdb.base/call-signal-resume.exp
5205 * gdb.base/call-strs.exp
5206 * gdb.base/callexit.exp
5207 * gdb.base/callfuncs.exp
5208 * gdb.base/catch-gdb-caused-signals.exp
5209 * gdb.base/catch-signal-siginfo-cond.exp
5210 * gdb.base/catch-syscall.exp
5211 * gdb.base/compare-sections.exp
5212 * gdb.base/cond-eval-mode.exp
5213 * gdb.base/condbreak-call-false.exp
5214 * gdb.base/consecutive-step-over.exp
5215 * gdb.base/cursal.exp
5216 * gdb.base/disabled-location.exp
5217 * gdb.base/disasm-end-cu.exp
5218 * gdb.base/display.exp
5219 * gdb.base/double-prompt-target-event-error.exp
5220 * gdb.base/dprintf-bp-same-addr.exp
5221 * gdb.base/dprintf-detach.exp
5222 * gdb.base/dprintf-next.exp
5223 * gdb.base/dprintf-non-stop.exp
5224 * gdb.base/dprintf-pending.exp
5225 * gdb.base/dso2dso.exp
5226 * gdb.base/ending-run.exp
5227 * gdb.base/enum_cond.exp
5228 * gdb.base/examine-backward.exp
5229 * gdb.base/exe-lock.exp
5230 * gdb.base/exec-invalid-sysroot.exp
5231 * gdb.base/execl-update-breakpoints.exp
5232 * gdb.base/execution-termios.exp
5233 * gdb.base/fileio.exp
5234 * gdb.base/fixsection.exp
5235 * gdb.base/foll-exec-mode.exp
5236 * gdb.base/foll-exec.exp
5237 * gdb.base/fork-running-state.exp
5238 * gdb.base/frame-args.exp
5239 * gdb.base/fullpath-expand.exp
5240 * gdb.base/func-ptr.exp
5241 * gdb.base/gcore-relro-pie.exp
5242 * gdb.base/gdb1090.exp
5243 * gdb.base/gdb1555.exp
5244 * gdb.base/global-var-nested-by-dso.exp
5245 * gdb.base/gnu-ifunc.exp
5246 * gdb.base/hbreak-in-shr-unsupported.exp
5247 * gdb.base/hbreak-unmapped.exp
5248 * gdb.base/hook-stop.exp
5249 * gdb.base/infcall-input.exp
5250 * gdb.base/info-fun.exp
5251 * gdb.base/info-shared.exp
5252 * gdb.base/interrupt-noterm.exp
5253 * gdb.base/jit-so.exp
5254 * gdb.base/jit.exp
5255 * gdb.base/line-symtabs.exp
5256 * gdb.base/list.exp
5257 * gdb.base/longjmp.exp
5258 * gdb.base/macscp.exp
5259 * gdb.base/max-value-size.exp
5260 * gdb.base/nodebug.exp
5261 * gdb.base/nofield.exp
5262 * gdb.base/overlays.exp
5263 * gdb.base/paginate-after-ctrl-c-running.exp
5264 * gdb.base/paginate-bg-execution.exp
5265 * gdb.base/paginate-inferior-exit.exp
5266 * gdb.base/pending.exp
5267 * gdb.base/pr11022.exp
5268 * gdb.base/printcmds.exp
5269 * gdb.base/ptr-typedef.exp
5270 * gdb.base/ptype.exp
5271 * gdb.base/randomize.exp
5272 * gdb.base/range-stepping.exp
5273 * gdb.base/realname-expand.exp
5274 * gdb.base/relativedebug.exp
5275 * gdb.base/remote.exp
5276 * gdb.base/savedregs.exp
5277 * gdb.base/sepdebug.exp
5278 * gdb.base/set-noassign.exp
5279 * gdb.base/shlib-call.exp
5280 * gdb.base/shreloc.exp
5281 * gdb.base/sigaltstack.exp
5282 * gdb.base/sigbpt.exp
5283 * gdb.base/siginfo-addr.exp
5284 * gdb.base/siginfo-obj.exp
5285 * gdb.base/siginfo-thread.exp
5286 * gdb.base/signest.exp
5287 * gdb.base/signull.exp
5288 * gdb.base/sigrepeat.exp
5289 * gdb.base/skip.exp
5290 * gdb.base/so-impl-ld.exp
5291 * gdb.base/solib-corrupted.exp
5292 * gdb.base/solib-disc.exp
5293 * gdb.base/solib-display.exp
5294 * gdb.base/solib-overlap.exp
5295 * gdb.base/solib-search.exp
5296 * gdb.base/solib-symbol.exp
5297 * gdb.base/source-execution.exp
5298 * gdb.base/sss-bp-on-user-bp-2.exp
5299 * gdb.base/sss-bp-on-user-bp.exp
5300 * gdb.base/stack-checking.exp
5301 * gdb.base/stale-infcall.exp
5302 * gdb.base/step-break.exp
5303 * gdb.base/step-line.exp
5304 * gdb.base/step-over-exit.exp
5305 * gdb.base/step-test.exp
5306 * gdb.base/structs.exp
5307 * gdb.base/sym-file.exp
5308 * gdb.base/symtab-search-order.exp
5309 * gdb.base/term.exp
5310 * gdb.base/type-opaque.exp
5311 * gdb.base/unload.exp
5312 * gdb.base/until-nodebug.exp
5313 * gdb.base/until.exp
5314 * gdb.base/unwindonsignal.exp
5315 * gdb.base/watch-cond.exp
5316 * gdb.base/watch-non-mem.exp
5317 * gdb.base/watch_thread_num.exp
5318 * gdb.base/watchpoint-reuse-slot.exp
5319 * gdb.base/watchpoint-solib.exp
5320 * gdb.base/watchpoint.exp
5321 * gdb.btrace/dlopen.exp
5322 * gdb.cell/arch.exp
5323 * gdb.cell/break.exp
5324 * gdb.cell/bt.exp
5325 * gdb.cell/core.exp
5326 * gdb.cell/data.exp
5327 * gdb.cell/dwarfaddr.exp
5328 * gdb.cell/ea-cache.exp
5329 * gdb.cell/ea-standalone.exp
5330 * gdb.cell/ea-test.exp
5331 * gdb.cell/f-regs.exp
5332 * gdb.cell/fork.exp
5333 * gdb.cell/gcore.exp
5334 * gdb.cell/mem-access.exp
5335 * gdb.cell/ptype.exp
5336 * gdb.cell/registers.exp
5337 * gdb.cell/sizeof.exp
5338 * gdb.cell/solib-symbol.exp
5339 * gdb.cell/solib.exp
5340 * gdb.compile/compile-tls.exp
5341 * gdb.cp/exception.exp
5342 * gdb.cp/gdb2495.exp
5343 * gdb.cp/local.exp
5344 * gdb.cp/mb-inline.exp
5345 * gdb.cp/mb-templates.exp
5346 * gdb.cp/pr10687.exp
5347 * gdb.cp/pr9167.exp
5348 * gdb.cp/scope-err.exp
5349 * gdb.cp/templates.exp
5350 * gdb.cp/virtfunc.exp
5351 * gdb.dwarf2/dw2-dir-file-name.exp
5352 * gdb.dwarf2/dw2-single-line-discriminators.exp
5353 * gdb.fortran/complex.exp
5354 * gdb.fortran/library-module.exp
5355 * gdb.guile/guile.exp
5356 * gdb.guile/scm-cmd.exp
5357 * gdb.guile/scm-frame-inline.exp
5358 * gdb.guile/scm-objfile.exp
5359 * gdb.guile/scm-pretty-print.exp
5360 * gdb.guile/scm-symbol.exp
5361 * gdb.guile/scm-type.exp
5362 * gdb.guile/scm-value.exp
5363 * gdb.linespec/keywords.exp
5364 * gdb.linespec/ls-errs.exp
5365 * gdb.linespec/macro-relative.exp
5366 * gdb.linespec/thread.exp
5367 * gdb.mi/mi-breakpoint-changed.exp
5368 * gdb.mi/mi-dprintf-pending.exp
5369 * gdb.mi/mi-fullname-deleted.exp
5370 * gdb.mi/mi-logging.exp
5371 * gdb.mi/mi-pending.exp
5372 * gdb.mi/mi-solib.exp
5373 * gdb.mi/new-ui-mi-sync.exp
5374 * gdb.mi/user-selected-context-sync.exp
5375 * gdb.multi/dummy-frame-restore.exp
5376 * gdb.multi/multi-arch-exec.exp
5377 * gdb.multi/remove-inferiors.exp
5378 * gdb.multi/watchpoint-multi-exit.exp
5379 * gdb.opt/solib-intra-step.exp
5380 * gdb.perf/backtrace.exp
5381 * gdb.perf/single-step.exp
5382 * gdb.perf/skip-command.exp
5383 * gdb.perf/skip-prologue.exp
5384 * gdb.perf/solib.exp
5385 * gdb.python/lib-types.exp
5386 * gdb.python/py-as-string.exp
5387 * gdb.python/py-bad-printers.exp
5388 * gdb.python/py-block.exp
5389 * gdb.python/py-breakpoint.exp
5390 * gdb.python/py-cmd.exp
5391 * gdb.python/py-events.exp
5392 * gdb.python/py-evthreads.exp
5393 * gdb.python/py-finish-breakpoint.exp
5394 * gdb.python/py-finish-breakpoint2.exp
5395 * gdb.python/py-frame-inline.exp
5396 * gdb.python/py-frame.exp
5397 * gdb.python/py-inferior.exp
5398 * gdb.python/py-infthread.exp
5399 * gdb.python/py-mi.exp
5400 * gdb.python/py-objfile.exp
5401 * gdb.python/py-pp-maint.exp
5402 * gdb.python/py-pp-registration.exp
5403 * gdb.python/py-prettyprint.exp
5404 * gdb.python/py-recurse-unwind.exp
5405 * gdb.python/py-shared.exp
5406 * gdb.python/py-symbol.exp
5407 * gdb.python/py-symtab.exp
5408 * gdb.python/py-template.exp
5409 * gdb.python/py-type.exp
5410 * gdb.python/py-unwind-maint.exp
5411 * gdb.python/py-unwind.exp
5412 * gdb.python/py-value.exp
5413 * gdb.python/python.exp
5414 * gdb.reverse/finish-reverse-bkpt.exp
5415 * gdb.reverse/insn-reverse.exp
5416 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5417 * gdb.reverse/solib-precsave.exp
5418 * gdb.reverse/solib-reverse.exp
5419 * gdb.stabs/gdb11479.exp
5420 * gdb.stabs/weird.exp
5421 * gdb.threads/fork-child-threads.exp
5422 * gdb.threads/fork-plus-threads.exp
5423 * gdb.threads/fork-thread-pending.exp
5424 * gdb.threads/forking-threads-plus-breakpoint.exp
5425 * gdb.threads/hand-call-in-threads.exp
5426 * gdb.threads/interrupted-hand-call.exp
5427 * gdb.threads/linux-dp.exp
5428 * gdb.threads/local-watch-wrong-thread.exp
5429 * gdb.threads/next-while-other-thread-longjmps.exp
5430 * gdb.threads/non-ldr-exit.exp
5431 * gdb.threads/pending-step.exp
5432 * gdb.threads/print-threads.exp
5433 * gdb.threads/process-dies-while-detaching.exp
5434 * gdb.threads/process-dies-while-handling-bp.exp
5435 * gdb.threads/pthreads.exp
5436 * gdb.threads/queue-signal.exp
5437 * gdb.threads/reconnect-signal.exp
5438 * gdb.threads/signal-command-handle-nopass.exp
5439 * gdb.threads/signal-command-multiple-signals-pending.exp
5440 * gdb.threads/signal-delivered-right-thread.exp
5441 * gdb.threads/signal-sigtrap.exp
5442 * gdb.threads/sigthread.exp
5443 * gdb.threads/staticthreads.exp
5444 * gdb.threads/stepi-random-signal.exp
5445 * gdb.threads/thread-unwindonsignal.exp
5446 * gdb.threads/thread_check.exp
5447 * gdb.threads/thread_events.exp
5448 * gdb.threads/tid-reuse.exp
5449 * gdb.threads/tls-nodebug.exp
5450 * gdb.threads/tls-shared.exp
5451 * gdb.threads/tls-so_extern.exp
5452 * gdb.threads/tls.exp
5453 * gdb.threads/wp-replication.exp
5454 * gdb.trace/actions-changed.exp
5455 * gdb.trace/actions.exp
5456 * gdb.trace/backtrace.exp
5457 * gdb.trace/change-loc.exp
5458 * gdb.trace/collection.exp
5459 * gdb.trace/deltrace.exp
5460 * gdb.trace/disconnected-tracing.exp
5461 * gdb.trace/entry-values.exp
5462 * gdb.trace/ftrace-lock.exp
5463 * gdb.trace/ftrace.exp
5464 * gdb.trace/infotrace.exp
5465 * gdb.trace/mi-trace-frame-collected.exp
5466 * gdb.trace/mi-trace-unavailable.exp
5467 * gdb.trace/mi-traceframe-changed.exp
5468 * gdb.trace/mi-tracepoint-changed.exp
5469 * gdb.trace/mi-tsv-changed.exp
5470 * gdb.trace/no-attach-trace.exp
5471 * gdb.trace/packetlen.exp
5472 * gdb.trace/passc-dyn.exp
5473 * gdb.trace/passcount.exp
5474 * gdb.trace/pending.exp
5475 * gdb.trace/pr16508.exp
5476 * gdb.trace/qtro.exp
5477 * gdb.trace/range-stepping.exp
5478 * gdb.trace/read-memory.exp
5479 * gdb.trace/report.exp
5480 * gdb.trace/save-trace.exp
5481 * gdb.trace/signal.exp
5482 * gdb.trace/stap-trace.exp
5483 * gdb.trace/status-stop.exp
5484 * gdb.trace/strace.exp
5485 * gdb.trace/tfile.exp
5486 * gdb.trace/tfind.exp
5487 * gdb.trace/trace-break.exp
5488 * gdb.trace/trace-condition.exp
5489 * gdb.trace/trace-enable-disable.exp
5490 * gdb.trace/trace-mt.exp
5491 * gdb.trace/tracecmd.exp
5492 * gdb.trace/tracefile-pseudo-reg.exp
5493 * gdb.trace/tspeed.exp
5494 * gdb.trace/tstatus.exp
5495 * gdb.trace/tsv.exp
5496 * gdb.trace/unavailable.exp
5497 * gdb.trace/while-dyn.exp
5498 * gdb.trace/while-stepping.exp
5499 * lib/gdb-guile.exp
5500 * lib/gdb.exp
5501 * lib/mi-support.exp
5502 * lib/pascal.exp
5503 * lib/perftest.exp
5504 * lib/prelink-support.exp
5505 * lib/selftest-support.exp
5506
5507 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5508
5509 * Makefile.in: Include disable-implicit-rules.mk.
5510
5511 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5512
5513 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5514 non-byte-aligned bit fields.
5515
5516 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5517
5518 PR gdb/12616
5519 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5520 respects the DW_AT_data_bit_offset attribute.
5521
5522 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5523
5524 * gdb.base/default.exp: Fix output of "set language".
5525
5526 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5527
5528 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5529 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5530 make.
5531 * configure.ac: Remove checks for the make program.
5532 * configure: Re-generate.
5533
5534 2016-11-16 Kevin Buettner <kevinb@redhat.com>
5535
5536 * gdb.python/py-recurse-unwind.c (main): Add loop.
5537 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5538 to read_register() and gdb.parse_and_eval(). Make each code
5539 call a separate case that can be individually tested.
5540 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5541 proc. Call cont_and_backtrace for each of the code paths that
5542 we want to test in the unwinder.
5543
5544 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5545
5546 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5547 the definition of struct S.
5548
5549 2016-11-11 Catherine Moore <clm@codesourcery.com>
5550
5551 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5552
5553 2016-11-09 Pedro Alves <palves@redhat.com>
5554
5555 * gdb.base/commands.exp (runto_or_return): New procedure.
5556 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5557 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5558 (progvar_simple_while_test, progvar_complex_if_while_test)
5559 (if_while_breakpoint_command_test)
5560 (infrun_breakpoint_command_test, breakpoint_command_test)
5561 (user_defined_command_test, watchpoint_command_test)
5562 (test_command_prompt_position, redefine_hook_test)
5563 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5564 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5565 multi_line_input and multi_line. Remove gdb_expect and
5566 gdb_stop_suppressing_tests uses.
5567 * lib/gdb.exp (valnum_re): New global.
5568 (multi_line_input): New procedure.
5569
5570 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5571
5572 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5573 Remove.
5574 (test_setup): Define with proc_with_prefix.
5575 (test_cli_inferior): Likewise.
5576 (test_cli_thread): Likewise.
5577 (test_cli_frame): Likewise.
5578 (test_cli_select_frame): Likewise.
5579 (test_cli_up_down): Likewise.
5580 (test_mi_thread_select): Likewise.
5581 (test_mi_stack_select_frame): Likewise.
5582 (test_cli_in_mi_inferior): Likewise.
5583 (test_cli_in_mi_thread): Likewise.
5584 (test_cli_in_mi_frame): Likewise.
5585 (top level): Do not use with_test_prefix_procname.
5586
5587 2016-11-09 Pedro Alves <palves@redhat.com>
5588
5589 * gdb.base/commands.exp (gdbvar_simple_if_test)
5590 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5591 (progvar_simple_if_test, progvar_simple_while_test)
5592 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5593 (infrun_breakpoint_command_test, breakpoint_command_test)
5594 (user_defined_command_test, watchpoint_command_test)
5595 (test_command_prompt_position, deprecated_command_test)
5596 (bp_deleted_in_command, temporary_breakpoint_commands)
5597 (stray_arg0_test, source_file_with_indented_comment)
5598 (recursive_source_test, if_commands_test)
5599 (error_clears_commands_left, redefine_hook_test)
5600 (redefine_backtrace_test): Use proc_with_prefix.
5601 * lib/gdb.exp (proc_with_prefix): New proc.
5602
5603 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5604
5605 * gdb.base/tui-layout.c: New file.
5606 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5607 disassembly window contains very long lines.
5608
5609 2016-11-08 Tom Tromey <tom@tromey.com>
5610
5611 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5612 depend on Python 2.
5613
5614 2016-11-08 Tom Tromey <tom@tromey.com>
5615
5616 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5617 New method.
5618
5619 2016-10-29 Manish Goregaokar <manish@mozilla.com>
5620
5621 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5622
5623 2016-10-27 Manish Goregaokar <manish@mozilla.com>
5624
5625 * gdb.rust/simple.rs: Add test for univariant enums without
5626 discriminants and for encoded struct-like enums.
5627
5628 2016-10-28 Pedro Alves <palves@redhat.com>
5629
5630 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5631 gdb_test_multiple, tighten regexps and match symtabs and line
5632 tables incrementally.
5633
5634 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
5635
5636 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5637 general.
5638
5639 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
5640
5641 * gdb.base/exec-invalid-sysroot.exp: New file.
5642
5643 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5644
5645 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5646
5647 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5648
5649 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5650
5651 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5652
5653 * gdb.base/killed-outside.exp: Remove $options from a call to
5654 `prepare_for_testing'.
5655
5656 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5657
5658 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5659 Change test message.
5660
5661 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5662
5663 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5664 Update comment.
5665
5666 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5667
5668 * gdb.trace/mi-trace-save.exp: New file.
5669
5670 2016-10-13 Yao Qi <yao.qi@linaro.org>
5671
5672 * gdb.base/code_elim.exp (get_var_address): Remove.
5673 * gdb.base/relocate.exp: Likewise.
5674 * gdb.base/shreloc.exp: Likewise.
5675 * lib/gdb.exp (get_var_address): New.
5676
5677 2016-10-13 Yao Qi <yao.qi@linaro.org>
5678
5679 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5680 floating point tests if $skip_float_test is false.
5681
5682 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
5683
5684 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5685 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5686 argc values.
5687 Add 1 to argc so we guarantee distinct initial/modified argc values.
5688
5689 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5690
5691 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5692
5693 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5694
5695 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5696 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5697 * gdb.arch/vsx-regs.exp: Likewise.
5698
5699 2016-10-07 Yao Qi <yao.qi@linaro.org>
5700
5701 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5702
5703 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5704
5705 * gdb.python/python.exp: Test decode_line("*0").
5706
5707 2016-10-06 Doug Evans <dje@google.com>
5708
5709 * gdb.python/py-value.exp (test_value_creation): Add test for large
5710 unsigned 64-bit value.
5711
5712 2016-10-06 Tom Tromey <tom@tromey.com>
5713
5714 * gdb.compile/compile.exp: Change java tests to rust.
5715 * gdb.base/setshow.exp: Change java tests to rust.
5716 * gdb.base/default.exp: Remove java from language list.
5717 * README (Examples): Update language example.
5718 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5719 test.
5720 * lib/gdb.exp (skip_java_tests): Remove.
5721 * lib/java.exp: Remove.
5722 * gdb.java: Remove.
5723
5724 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5725
5726 * gdb.arch/mips-fcr.exp: New test.
5727 * gdb.arch/mips-fcr.c: Source for the new test.
5728
5729 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5730
5731 * gdb.base/solib-disc.exp: Use `standard_output_file'
5732 throughout.
5733
5734 2016-10-06 Pedro Alves <palves@redhat.com>
5735
5736 * gdb.base/jit-simple-dl.c: New file.
5737 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5738 * gdb.base/jit-simple.c: ... this.
5739 * gdb.base/jit-simple.exp (jit_run): Delete.
5740 (build_jit): New proc.
5741 (jit_test_reread): Recompile either the main program or the shared
5742 library, depending on what is being tested. Skip changing address
5743 if caller wants to. Compare before/after addresses. If testing
5744 standalone, explicitly load the binary. Test "maint info
5745 breakpoints".
5746 (top level): Add "standalone vs shared lib" and "change address"
5747 vs "same address" axes.
5748
5749 2016-10-06 Pedro Alves <palves@redhat.com>
5750
5751 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5752 call.
5753 (jit_run): Delete.
5754 (jit_test_reread): Use with_test_prefix. Reload the main binary
5755 explicitly. Compare the before/after addresses of the JIT
5756 descriptor.
5757
5758 2016-08-15 Doug Evans <dje@google.com>
5759
5760 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5761 for single bitfields is bool.
5762 * gdb.xml/tdesc-regs.exp: Ditto.
5763
5764 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5765
5766 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5767
5768 2016-10-05 Yao Qi <yao.qi@linaro.org>
5769
5770 * lib/gdb.exp (support_complex_tests): Return zero if
5771 gdb_skip_float_test return true.
5772
5773 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5774 Simon Marchi <simon.marchi@ericsson.com>
5775
5776 PR gdb/20487
5777 * gdb.mi/user-selected-context-sync.exp: New file.
5778 * gdb.mi/user-selected-context-sync.c: New file.
5779
5780 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5781 Simon Marchi <simon.marchi@ericsson.com>
5782
5783 PR gdb/20487
5784 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5785 =thread-select-event check.
5786
5787 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5788
5789 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5790 the compulsory L operand changes.
5791 * gdb.arch/powerpc-power.s: Likewise.
5792
5793 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5794
5795 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5796 * gdb.base/jit-attach-pie.c: New file.
5797 * gdb.base/jit-attach-pie.exp: New file.
5798
5799 2016-09-28 Pedro Alves <palves@redhat.com>
5800
5801 * gdb.base/infcall-input.c: New file.
5802 * gdb.base/infcall-input.exp: New file.
5803
5804 2016-09-22 Yao Qi <yao.qi@linaro.org>
5805
5806 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5807 (gdb_exit): Rename it to ...
5808 (gdbserver_gdb_exit): ... Close GDBserver.
5809 (gdb_exit): New proc, call gdbserver_gdb_exit.
5810 (mi_gdb_exit): Likewise.
5811
5812 2016-09-22 Yao Qi <yao.qi@linaro.org>
5813
5814 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5815 path.
5816 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5817 Remove duplication.
5818
5819 2016-09-22 Yao Qi <yao.qi@linaro.org>
5820
5821 * lib/gdbserver-support.exp: Check the existence of
5822 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5823
5824 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5825
5826 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5827
5828 2016-09-21 Tom Tromey <tom@tromey.com>
5829
5830 PR gdb/20604:
5831 * gdb.base/quit.exp: New file.
5832
5833 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5834
5835 * .gitignore: New file.
5836
5837 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5838
5839 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5840 throughout.
5841
5842 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5843
5844 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5845
5846 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5847
5848 * gdb.cp/casts.cc (decltype): Move it ...
5849 (main): ... with its call to ...
5850 * gdb.cp/casts03.cc: ... a new file.
5851 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5852
5853 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5854
5855 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5856
5857 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
5858
5859 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5860 and sync up the test with tests in gas/testsuite/gas/ppc.
5861 * gdb.arch/powerpc-power.exp: Likewise.
5862
5863 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5864
5865 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5866
5867 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
5868 Jan Kratochvil <jan.kratochvil@redhat.com>
5869
5870 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5871 make m1's definition to be different from m2's. Use 'dummy' as an
5872 argument for probe 'two'.
5873
5874 2016-09-10 Jon Beniston <jon@beniston.com>
5875
5876 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5877 for sim target.
5878
5879 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5880
5881 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5882 variable declaration.
5883 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
5884 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5885 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5886 received HWCAP as its argument.
5887
5888 2016-09-06 Pedro Alves <palves@redhat.com>
5889
5890 * gdb.base/new-ui-pending-input.c: New file.
5891 * gdb.base/new-ui-pending-input.exp: New file.
5892 * gdb.exp (clear_gdb_spawn_id): New procedure.
5893 (with_spawn_id): Check whether gdb_spawn_id exists before
5894 referencing it. If gdb_spawn_id didn't exist on entry, clear it
5895 on exit.
5896
5897 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5898
5899 * gdb.base/float128.c: New file.
5900 * gdb.base/float128.exp: Likewise.
5901 * gdb.base/floatn.c: Likewise.
5902 * gdb.base/floatn.exp: Likewise.
5903
5904 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5905
5906 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5907
5908 2016-09-05 Pedro Alves <palves@redhat.com>
5909
5910 PR backtrace/19927
5911 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5912 unwinders are immediately called as side effect of "source" or
5913 "disable unwinder" commands.
5914 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5915
5916 2016-09-02 Yao Qi <yao.qi@linaro.org>
5917
5918 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5919 is true and $type is "float" or "double".
5920
5921 2016-09-02 Yao Qi <yao.qi@linaro.org>
5922
5923 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5924 true.
5925 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5926 * gdb.base/call-rt-st.exp: Likewise.
5927 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5928 return value instead of gdb,skip_float_test.
5929 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5930 (do_function_calls): Use its return value instead of
5931 gdb,skip_float_test.
5932 * gdb.base/finish.exp: Likewise.
5933 * gdb.base/funcargs.exp: Likewise.
5934 * gdb.base/return.exp: Likewise.
5935 * gdb.base/return2.exp: Likewise.
5936 * gdb.base/varargs.exp: Likewise.
5937 * lib/gdb.exp (gdb_skip_float_test): Change it to
5938 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5939
5940 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5941
5942 * gdb.multi/tids.exp: Test "thread apply all".
5943
5944 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5945
5946 * gdb.base/default.exp (tty): Remove.
5947
5948 2016-08-24 Kevin Buettner <kevinb@redhat.com>
5949
5950 * gdb.python/py-recurse-unwind.c: New file.
5951 * gdb.python/py-recurse-unwind.py: New file.
5952 * gdb.python/py-recurse-unwind.exp: New file.
5953
5954 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5955
5956 * gdb.base/set-inferior-tty.exp: New file.
5957 * gdb.base/set-inferior-tty.c: New file.
5958
5959 2016-08-23 Pedro Alves <palves@redhat.com>
5960
5961 PR gdb/20494
5962 * gdb.base/new-ui-echo.c: New file.
5963 * gdb.base/new-ui-echo.exp: New file.
5964
5965 2016-08-23 Yao Qi <yao.qi@linaro.org>
5966
5967 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5968 gdbserver_spawn.
5969 * gdb.server/connect-without-multi-process.exp (do_test):
5970 Likewise.
5971
5972 2016-08-23 Yao Qi <yao.qi@linaro.org>
5973
5974 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5975 standalone_txt. Delete gdb_txt and standalone_txt on host
5976 and target. Spawn the binary on target. Copy files from
5977 target to host.
5978
5979 2016-08-22 Pedro Alves <palves@redhat.com>
5980
5981 PR gdb/20505
5982 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5983 with_test_prefix. Factor out bits to ...
5984 (test_no_vdso): ... this new procedure.
5985
5986 2016-08-19 Carl Love <cel@us.ibm.com>
5987
5988 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5989 maintaining separate logic for constructing the output path.
5990 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5991 * gdb.arch/ppc-dfp.exp: Likewise.
5992 * gdb.arch/ppc-fp.exp: Likewise.
5993 * gdb.arch/vsx-regs.exp: Likewise.
5994 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5995 binprefix for generating the additional binary files.
5996
5997 2016-08-19 Pedro Alves <palves@redhat.com>
5998
5999 * gdb.trace/mi-trace-frame-collected.exp
6000 (test_trace_frame_collected): On x32, expect two registers.
6001
6002 2016-08-18 Carl Love <cel@us.ibm.com>
6003
6004 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6005 and sync up the test with tests in gas/testsuite/gas/ppc.
6006 * gdb.arch/powerpc-power.exp: Likewise.
6007
6008 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6009
6010 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6011 expected error message.
6012
6013 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6014
6015 * gdb.multi/remove-inferiors.exp: New file.
6016 * gdb.multi/remove-inferiors.c: New file.
6017
6018 2016-08-12 Yao Qi <yao.qi@linaro.org>
6019
6020 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6021 argument list.
6022
6023 2016-08-10 Pedro Alves <palves@redhat.com>
6024
6025 PR gdb/19187
6026 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6027 setup_kfails.
6028
6029 2016-08-09 Pedro Alves <palves@redhat.com>
6030 Simon Marchi <simon.marchi@ericsson.com>
6031
6032 PR gdb/20418
6033 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6034 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6035
6036 2016-08-09 Pedro Alves <palves@redhat.com>
6037
6038 PR mi/20431
6039 * gdb.mi/mi-cmd-error.exp: New file.
6040
6041 2016-08-09 Pedro Alves <palves@redhat.com>
6042
6043 PR gdb/18653
6044 * gdb.base/signals-state-child.c: New file.
6045 * gdb.base/signals-state-child.exp: New file.
6046 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6047
6048 2016-08-09 Pedro Alves <palves@redhat.com>
6049
6050 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6051
6052 2016-08-03 Tom Tromey <tom@tromey.com>
6053
6054 PR python/18565:
6055 * gdb.python/py-frame-inline.exp: Add Frame.function test.
6056
6057 2016-08-01 Yao Qi <yao.qi@linaro.org>
6058
6059 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6060 variable mode to "multi-process" if $multi_process is 1, otherwise
6061 set it to "single-process".
6062
6063 2016-08-01 Yao Qi <yao.qi@linaro.org>
6064
6065 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6066 * gdb.cp/cpexprs.exp: Likewise.
6067 * gdb.cp/m-static.exp: Likewise.
6068
6069 2016-07-26 Tom Tromey <tom@tromey.com>
6070
6071 PR python/20190:
6072 * gdb.threads/tls.exp (check_thread_local): Add python symbol
6073 test.
6074
6075 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
6076
6077 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6078 selecting assembly source files.
6079 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6080 assembly source files.
6081 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6082 assembly source files.
6083 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6084 selecting assembly source files.
6085
6086 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
6087
6088 * gdb.base/new-ui.exp (do_test_invalid_args): New
6089 procedure.
6090
6091 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
6092
6093 * gdb.btrace/reconnect.c: New file.
6094 * gdb.btrace/reconnect.exp: New file.
6095
6096 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
6097
6098 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6099 to test_catch_syscall_group.
6100 (test_catch_syscall_group): New.
6101
6102 2016-07-21 Tom Tromey <tom@tromey.com>
6103
6104 * gdb.rust/simple.rs (main): Use empty struct expression.
6105 * gdb.rust/simple.exp: Add tests for empty struct expression.
6106
6107 2016-07-21 Yao Qi <yao.qi@linaro.org>
6108
6109 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6110 if gdb_skip_xml_test is true on some targets.
6111
6112 2016-07-21 Yao Qi <yao.qi@linaro.org>
6113
6114 * gdb.server/solib-list.exp: Unset last_loaded_file.
6115
6116 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6117
6118 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6119 "step into captured_main (args)".
6120
6121 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6122
6123 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6124
6125 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6126
6127 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6128
6129 2016-07-19 Pedro Alves <palves@redhat.com>
6130
6131 * gdb.opt/inline-break.exp: Remove optimize=-O2.
6132 * gdb.opt/inline-bt.exp: Likewise.
6133 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6134 additional_flags=-Winline.
6135 * gdb.opt/inline-locals.exp: Likewise.
6136 * gdb.opt/inline-markers.c (ATTR): Define.
6137 (inlined_fn): Use it.
6138
6139 2016-07-19 Yao Qi <yao.qi@linaro.org>
6140
6141 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6142 (test_with_self): Remove some code. Remove argument executable.
6143 (top-level): Use do_self_tests.
6144
6145 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
6146 Don Breazeal <donb@codesourcery.com>
6147
6148 * gdb.base/maint.exp: Escape paths used in regular expressions.
6149 * gdb.stabs/weird.exp: Likewise.
6150
6151 2016-07-13 Tom Tromey <tom@tromey.com>
6152
6153 PR python/15620, PR python/18620:
6154 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6155 (test_bkpt_events): New procs.
6156
6157 2016-07-13 Tom Tromey <tom@tromey.com>
6158
6159 PR python/17698:
6160 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6161 test.
6162 (test_watchpoints): Likewise.
6163 (test_bkpt_pending): New proc.
6164
6165 2016-07-13 Tom Tromey <tom@tromey.com>
6166
6167 PR cli/18053:
6168 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6169 completion test.
6170
6171 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6172
6173 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6174 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6175 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6176 f_label.
6177 (g): Rename g_end_lbl to g_label.
6178 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6179 low_pc and high_pc.
6180 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6181
6182 2016-07-12 Tom Tromey <tom@tromey.com>
6183
6184 PR python/19293:
6185 * gdb.python/py-unwind-maint.exp: Update tests.
6186
6187 2016-07-12 Yao Qi <yao.qi@linaro.org>
6188
6189 * lib/selftest-support.exp (selftest_setup): Match the output
6190 when captured_main is inlined.
6191
6192 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6193
6194 * gdb.fortran/derived-types.exp (result_line, result_line_2):
6195 New variables.
6196 (print this%a, print this%b, print this): New tests.
6197 * gdb.fortran/derived-types.f90 (this): New object and
6198 initialization.
6199
6200 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6201
6202 * gdb.ada/arraydim.exp: Remove extra directory level in build
6203 directory.
6204
6205 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6206
6207 * lib/ada.exp: Remove extra directory level in build directory.
6208 * gdb.ada/cond_lang.exp: Likewise.
6209 * gdb.ada/exec_changed.exp: Likewise.
6210 * gdb.ada/lang_switch.exp: Likewise.
6211
6212 2016-07-06 Manish Goregaokar <manish@mozilla.com>
6213
6214 * simple.rs: Add test for raw pointer subscripting.
6215 * simple.exp: Add test expectations.
6216
6217 2016-07-05 Yao Qi <yao.qi@linaro.org>
6218
6219 * gdb.mi/mi-reverse.exp: Match =record-started output.
6220
6221 2016-07-01 Pedro Alves <palves@redhat.com>
6222
6223 * gdb.base/jit-reader.exp (info_registers_current_frame): New
6224 procedure.
6225 (jit_reader_test): Test the jit reader's unwinder.
6226 * gdb.base/jithost.c (jit_function_00_code): New global.
6227 (main): Use memcpy to fill in the mmapped code, instead of poking
6228 bytes manually here.
6229 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6230 value.
6231 (read_debug_info): Save the function's range.
6232 (read_sp): New function.
6233 (unwind_frame): Use it. Also unwind RBP.
6234 (get_frame_id): Use read_sp.
6235 (gdb_init_reader): Use calloc instead of malloc.
6236 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6237 parameter. Use gdb_test_multiple.
6238
6239 2016-07-01 Pedro Alves <palves@redhat.com>
6240 Antoine Tremblay <antoine.tremblay@ericsson.com>
6241
6242 * gdb.threads/process-dies-while-detaching.c: New file.
6243 * gdb.threads/process-dies-while-detaching.exp: New file.
6244
6245 2016-07-01 Pedro Alves <palves@redhat.com>
6246
6247 * gdb.multi/watchpoint-multi-exit.c: New file.
6248 * gdb.multi/watchpoint-multi-exit.exp: New file.
6249
6250 2016-06-30 Pedro Alves <palves@redhat.com>
6251
6252 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6253 unset inferior_spawn_id.
6254
6255 2016-06-30 Pedro Alves <palves@redhat.com>
6256
6257 * lib/mi-support.exp (default_mi_gdb_start): Declare global
6258 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6259
6260 2016-06-29 Yao Qi <yao.qi@linaro.org>
6261
6262 * gdb.base/return.c: Add copyright header.
6263
6264 2016-06-29 Tom Tromey <tom@tromey.com>
6265
6266 PR python/20129:
6267 * gdb.python/py-framefilter.exp: Add tests for setting priority
6268 and disabling of non-existent frame filter.
6269
6270 2016-06-29 Yao Qi <yao.qi@linaro.org>
6271
6272 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6273 0x0f07ff.
6274
6275 2016-06-28 Yao Qi <yao.qi@linaro.org>
6276
6277 * gdb.base/catch-syscall.exp: Remove check on isnative and target
6278 triplets. Start gdb, execute catch syscall, and continue. Check
6279 gdb's output to determine catch syscall is supported.
6280
6281 2016-06-27 Manish Goregaokar <manish@mozilla.com>
6282
6283 * gdb.rust/simple.rs: Add test for returning unit in a function.
6284 * gdb.rust/simple.exp: Add expectation for functions returning
6285 unit.
6286
6287 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
6288
6289 * gdb.python/py-breakpoint-create-fail.c,
6290 gdb.python/py-breakpoint-create-fail.exp,
6291 gdb.python/py-breakpoint-create-fail.py: New testcase.
6292
6293 2016-06-25 Manish Goregaokar <manish@mozilla.com>
6294
6295 PR gdb/20239
6296 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6297 * gdb.rust/simple.exp: Add test expectations for new NonZero
6298 tests.
6299
6300 2016-06-24 David Taylor <dtaylor@emc.com>
6301
6302 * gdb.base/offsets.exp: New file.
6303 * gdb.base/offsets.c: New file.
6304
6305 2016-06-23 Tom Tromey <tom@tromey.com>
6306
6307 PR gdb/16483:
6308 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6309 before any filters are loaded.
6310
6311 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
6312
6313 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6314 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6315 structs.
6316 * gdb.fortran/derived-type-function.exp: New file.
6317 * gdb.fortran/derived-type-function.f90: New file.
6318
6319
6320 2016-06-21 Pedro Alves <palves@redhat.com>
6321
6322 * gdb.base/new-ui.exp: New file.
6323 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6324 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6325 (with_spawn_id): New procedure.
6326
6327 2016-06-21 Pedro Alves <palves@redhat.com>
6328
6329 * gdb.mi/mi-exec-run.exp: New file.
6330
6331 2016-06-21 Pedro Alves <palves@redhat.com>
6332
6333 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6334 breakpoint command's output on the main UI.
6335 (test_break): New procedure, factored out from calls in the top
6336 level.
6337 (top level): Use foreach_with_prefix to test MI as main UI and as
6338 separate UI.
6339
6340 2016-06-21 Pedro Alves <palves@redhat.com>
6341
6342 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6343 (test_awatch_creation_and_listing)
6344 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6345 Remove 'type' parameter.
6346 (test_watchpoint_all): New parameter mi_mode. Remove
6347 with_test_prefix.
6348 (top level): Use foreach_with_prefix, and add main/separate UI MI
6349 testing axis.
6350
6351 2016-06-21 Pedro Alves <palves@redhat.com>
6352
6353 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6354 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6355 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6356 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6357 (gdb_main_spawn_id, mi_spawn_id): Declare and
6358 comment.
6359 (mi_create_inferior_pty): New procedure,
6360 factored out from default_mi_gdb_start.
6361 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6362 procedures.
6363 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6364 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6365 Use mi_create_inferior_pty.
6366 (mi_gdb_start): Use eval to pass down args list.
6367
6368 2016-06-21 Pedro Alves <palves@redhat.com>
6369
6370 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6371 * gdb.opt/inline-cmds.exp: Add MI tests.
6372
6373 2016-06-21 Pedro Alves <palves@redhat.com>
6374
6375 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6376
6377 2016-06-21 Pedro Alves <palves@redhat.com>
6378
6379 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6380 (top level): Use it instead of mi_execute_to.
6381
6382 2016-06-21 Pedro Alves <palves@redhat.com>
6383
6384 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6385 (cont_handler_str): New.
6386 (signal_stop_handler): Set stop_handler_str instead of printing to
6387 stdout.
6388 (continue_handler): Set cont_handler_str instead of printing to
6389 stdout.
6390 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6391 mi_send_resuming_command. Print stop_handler_str and
6392 cont_handler_str instead of expecting the python events print
6393 directly.
6394
6395 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6396
6397 * gdb.base/jit-reader.exp: New file.
6398 * gdb.base/jithost.c: New file.
6399 * gdb.base/jithost.h: New file.
6400 * gdb.base/jitreader.c : New file.
6401 * gdb.base/jit-protocol.h: New file.
6402
6403 2016-06-17 Yao Qi <yao.qi@linaro.org>
6404
6405 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6406 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6407 and detach-on-fork. Adjust tests.
6408 (top level): Invoke break_cond_on_syscall with combinations of
6409 syscall, follow-fork-mode and detach-on-fork.
6410
6411 2016-06-17 Yao Qi <yao.qi@linaro.org>
6412
6413 * gdb.base/step-over-exit.c: New.
6414 * gdb.base/step-over-exit.exp: New.
6415
6416 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6417
6418 * gdb.base/float.exp: Add target check for nds32*-*-*.
6419 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6420
6421 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6422
6423 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6424 for unsupported target features.
6425 * gdb.base/call-rt-st.exp: Likewise.
6426 * gdb.base/call-sc.exp: Likewise.
6427 * gdb.base/call-signal-resume.exp: Likewise.
6428 * gdb.base/call-strs.exp: Likewise.
6429 * gdb.base/callexit.exp: Likewise.
6430 * gdb.base/callfuncs.exp: Likewise.
6431 * gdb.base/nodebug.exp: Likewise.
6432 * gdb.base/printcmds.exp: Likewise.
6433 * gdb.base/ptype.exp: Likewise.
6434 * gdb.base/structs.exp: Likewise.
6435 * gdb.base/unwindonsignal.exp: Likewise.
6436 * gdb.cp/gdb2495.exp: Likewise.
6437 * gdb.cp/templates.exp: Likewise.
6438 * gdb.cp/virtfunc.exp: Likewise.
6439 * gdb.threads/hand-call-in-threads.exp: Likewise.
6440 * gdb.threads/interrupted-hand-call.exp: Likewise.
6441 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6442
6443 2016-06-10 Tom Tromey <tom@tromey.com>
6444
6445 PR rust/20110:
6446 * gdb.rust/expr.exp: Add test for integer constant larger than
6447 i32.
6448
6449 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6450
6451 * gdb.fortran/nested-funcs.exp: New.
6452 * gdb.fortran/nested-funcs.f90: New.
6453
6454 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6455
6456 * gdb.base/examine-backward.c: New file.
6457 * gdb.base/examine-backward.exp: New file.
6458
6459 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6460
6461 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6462 matching.
6463
6464 2016-06-02 Tom Tromey <tom@tromey.com>
6465
6466 PR python/18984:
6467 * gdb.python/py-shared.exp: Add solib_name test.
6468
6469 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6470
6471 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6472
6473 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6474
6475 PR c++/19893
6476 * gdb.dwarf2/implref.exp: Rename to...
6477 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6478 * gdb.dwarf2/implref-array.c: New file.
6479 * gdb.dwarf2/implref-array.exp: Likewise.
6480 * gdb.dwarf2/implref-global.c: Likewise.
6481 * gdb.dwarf2/implref-global.exp: Likewise.
6482 * gdb.dwarf2/implref-struct.c: Likewise.
6483 * gdb.dwarf2/implref-struct.exp: Likewise.
6484
6485 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6486
6487 * gdb.trace/trace-condition.exp: Add 64bit tests.
6488
6489 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6490
6491 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6492 bits types.
6493 (main): Adapt to 8 to 64 bits types.
6494 * gdb.trace/trace-condition.exp: Add new tests.
6495
6496 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6497
6498 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6499
6500 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6501
6502 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6503 Move condition tests...
6504 * gdb.trace/trace-condition.exp: Here.
6505
6506 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6507
6508 * gdb.trace/trace-condition.exp: Add counter-case tests.
6509
6510 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6511
6512 PR c++/15231
6513 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6514 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6515
6516 2016-05-27 Pedro Alves <palves@redhat.com>
6517
6518 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6519 New procedure.
6520 (top level): Call it, and bail out of DejaGnu is known to be bad.
6521
6522 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6523
6524 * gdb.base/whatis.c: Extend the test case.
6525 * gdb.base/whatis.exp: Add additional tests.
6526
6527 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6528
6529 * gdb.fortran/type.f90: Add pointer variable.
6530 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6531
6532 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6533
6534 * gdb.fortran/vla-type.exp: Fix testcase name.
6535
6536 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6537
6538 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6539
6540 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6541
6542 * gdb.fortran/type.f90: Add nested structures.
6543 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6544 * gdb.fortran/derived-type.exp: Adapt expected output.
6545 * gdb.fortran/vla-type.exp: Adapt expected output.
6546
6547 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6548
6549 * gdb.fortran/whatis_type.exp: Adapt expected output.
6550
6551 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6552
6553 * gdb.fortran/print_type.exp: Fix expected output.
6554 * gdb.fortran/whatis_type.exp: Fix expected output.
6555
6556 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6557
6558 * gdb.fortran/whatis_type.exp: Use multi_line.
6559
6560 2016-05-24 Tom Tromey <tom@tromey.com>
6561
6562 PR python/17386:
6563 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6564 use value as an index.
6565
6566 2016-05-23 Tom Tromey <tom@tromey.com>
6567
6568 PR python/17981:
6569 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6570 no-breakpoint case.
6571
6572 2016-05-24 Pedro Alves <palves@redhat.com>
6573
6574 PR gdb/19828
6575 * gdb.threads/clone-attach-detach.c: New file.
6576 * gdb.threads/clone-attach-detach.exp: New file.
6577
6578 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6579
6580 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6581
6582 2016-05-23 Tom Tromey <tom@tromey.com>
6583
6584 PR python/19438, PR python/18393:
6585 * gdb.python/py-progspace.exp: Add "dir" test.
6586 * gdb.python/py-objfile.exp: Add "dir" test.
6587
6588 2016-05-23 Yao Qi <yao.qi@linaro.org>
6589
6590 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6591 * gdb.arch/thumb2-it.exp: Likewise.
6592
6593 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6594
6595 * gdb.mi/mi-threads-interrupt.c: New file.
6596 * gdb.mi/mi-threads-interrupt.exp: New file.
6597
6598 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6599
6600 PR gdb/18077
6601 * gdb.mi/mi-async-run.exp: New file.
6602 * gdb.mi/mi-async-run.c: New file.
6603
6604 2016-05-17 Tom Tromey <tom@tromey.com>
6605 Manish Goregaokar <manishsmail@gmail.com>
6606
6607 * lib/rust-support.exp: New file.
6608 * lib/gdb.exp (skip_rust_tests): New proc.
6609 (build_executable_from_specs): Handle rust.
6610 * lib/future.exp (gdb_find_rustc): New proc.
6611 (gdb_default_target_compile): Handle rust.
6612 * gdb.rust/expr.exp: New file.
6613 * gdb.rust/generics.exp: New file.
6614 * gdb.rust/generics.rs: New file.
6615 * gdb.rust/methods.exp: New file.
6616 * gdb.rust/methods.rs: New file.
6617 * gdb.rust/modules.exp: New file.
6618 * gdb.rust/modules.rs: New file.
6619 * gdb.rust/simple.exp: New file.
6620 * gdb.rust/simple.rs: New file.
6621
6622 2016-05-17 Tom Tromey <tom@tromey.com>
6623
6624 * gdb.base/default.exp (set language): Add rust.
6625
6626 2016-05-17 Tom Tromey <tom@tromey.com>
6627
6628 * gdb.gdb/unittest.exp: New file.
6629
6630 2016-05-16 Yao Qi <yao.qi@linaro.org>
6631
6632 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6633 shell_prompt. Update shell_prompt_re.
6634
6635 2016-05-12 Doug Evans <dje@google.com>
6636
6637 PR symtab/19999
6638 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6639 $options when building executable.
6640 * gdb.dwarf2/fission-loclists-pie.S: New file.
6641 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6642
6643 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6644
6645 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6646 of [is_remote target],
6647
6648 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6649
6650 * lib/gdb.exp (use_gdb_stub): New procedure.
6651
6652 2016-05-03 Yunlian Jiang <yunlian@google.com>
6653 Doug Evans <dje@google.com>
6654
6655 PR symtab/19914
6656 * gdb.dwarf2/dwp-sepdebug.c: New file.
6657 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6658
6659 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6660
6661 * gdb.base/detach.exp: Remove is_remote check.
6662
6663 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6664
6665 * gdb.base/annota-input-while-running.exp: Don't check for
6666 [is_remote target]. Enable annotations after running to main.
6667 Remove unused "set test..." line.
6668
6669 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6670
6671 * gdb.trace/trace-enable-disable.exp: New file.
6672 * gdb.trace/trace-enable-disable.c: New file.
6673
6674 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6675
6676 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6677 use it in info sharedlibrary test.
6678 * gdb.trace/ftrace-lock.exp: Likewise.
6679 * gdb.trace/ftrace.exp: Likewise.
6680 * gdb.trace/range-stepping.exp: Likewise.
6681 * gdb.trace/trace-break.exp: Likewise.
6682 * gdb.trace/trace-condition.exp: Likewise.
6683 * gdb.trace/trace-mt.exp: Likewise.
6684
6685 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6686
6687 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6688 (gdb_load_shlib): ... this.
6689 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6690 gdb_load_shlib.
6691 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6692 * gdb.base/ctxobj.exp: Likewise.
6693 * gdb.base/dprintf-pending.exp: Likewise.
6694 * gdb.base/dso2dso.exp: Likewise.
6695 * gdb.base/fixsection.exp: Likewise.
6696 * gdb.base/gcore-relro.exp: Likewise.
6697 * gdb.base/gdb1555.exp: Likewise.
6698 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6699 * gdb.base/gnu-ifunc.exp: Likewise.
6700 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6701 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6702 * gdb.base/pending.exp: Likewise.
6703 * gdb.base/print-file-var.exp: Likewise.
6704 * gdb.base/print-symbol-loading.exp: Likewise.
6705 * gdb.base/shlib-call.exp: Likewise.
6706 * gdb.base/shreloc.exp: Likewise.
6707 * gdb.base/so-impl-ld.exp: Likewise.
6708 * gdb.base/solib-disc.exp: Likewise.
6709 * gdb.base/solib-nodir.exp: Likewise.
6710 * gdb.base/solib-overlap.exp: Likewise.
6711 * gdb.base/solib-symbol.exp: Likewise.
6712 * gdb.base/solib-weak.exp (do_test): Likewise.
6713 * gdb.base/sym-file.exp: Likewise.
6714 * gdb.base/symtab-search-order.exp: Likewise.
6715 * gdb.base/type-opaque.exp: Likewise.
6716 * gdb.base/unload.exp: Likewise.
6717 * gdb.base/watchpoint-solib.exp: Likewise.
6718 * gdb.compile/compile.exp: Likewise.
6719 * gdb.cp/gdb2384.exp: Likewise.
6720 * gdb.cp/infcall-dlopen.exp: Likewise.
6721 * gdb.cp/re-set-overloaded.exp: Likewise.
6722 * gdb.fortran/library-module.exp: Likewise.
6723 * gdb.opt/solib-intra-step.exp: Likewise.
6724 * gdb.python/py-finish-breakpoint.exp: Likewise.
6725 * gdb.python/py-shared.exp: Likewise.
6726 * gdb.reverse/solib-precsave.exp: Likewise.
6727 * gdb.reverse/solib-reverse.exp: Likewise.
6728 * gdb.server/solib-list.exp: Likewise.
6729 * gdb.threads/dlopen-libpthread.exp: Likewise.
6730 * gdb.threads/tls-shared.exp: Likewise.
6731 * gdb.threads/tls-so_extern.exp: Likewise.
6732 * gdb.trace/change-loc.exp: Likewise.
6733 * gdb.trace/ftrace-lock.exp: Likewise.
6734 * gdb.trace/ftrace.exp: Likewise.
6735 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6736 * gdb.trace/pending.exp: Likewise.
6737 * gdb.trace/range-stepping.exp: Likewise.
6738 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6739 (strace_info_marker): Likewise.
6740 (strace_probe_marker): Likewise.
6741 (strace_trace_on_same_addr): Likewise.
6742 (strace_trace_on_diff_addr): Likewise.
6743 * gdb.trace/trace-break.exp: Likewise.
6744 * gdb.trace/trace-condition.exp: Likewise.
6745 * gdb.trace/trace-mt.exp: Likewise.
6746
6747 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6748
6749 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6750 result of gdb_remote_download.
6751 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6752 * gdb.base/dso2dso.exp: Likewise.
6753 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6754 * gdb.base/print-file-var.exp: Likewise.
6755 * gdb.base/shlib-call.exp: Likewise.
6756 * gdb.base/shreloc.exp: Likewise.
6757 * gdb.base/solib-overlap.exp: Likewise.
6758 * gdb.base/solib-weak.exp (do_test): Likewise.
6759 * gdb.base/unload.exp: Likewise.
6760
6761 2016-04-27 Yao Qi <yao.qi@linaro.org>
6762
6763 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6764 exists.
6765
6766 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6767
6768 * vla-type.exp: Print structure from toplevel.
6769
6770 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6771
6772 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6773 of dynamic types.
6774 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6775 of dynamic types.
6776
6777 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6778
6779 * gdb.fortran/vla-type.f90: New file.
6780 * gdb.fortran/vla-type.exp: New file.
6781
6782 2016-04-25 Yao Qi <yao.qi@linaro.org>
6783
6784 * gdb.base/branch-to-self.c: New file.
6785 * gdb.base/branch-to-self.exp: New file.
6786
6787 2016-04-22 Yao Qi <yao.qi@linaro.org>
6788
6789 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6790 more after $hex.
6791
6792 2016-04-22 Yao Qi <yao.qi@linaro.org>
6793
6794 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6795 * gdb.base/annota3.exp: Likewise.
6796
6797 2016-04-22 Yao Qi <yao.qi@linaro.org>
6798
6799 * gdb.reverse/step-precsave.exp: Do one step and test program
6800 stops in "callee" and do multiple steps until program goes out
6801 of "callee".
6802 * gdb.reverse/step-reverse.exp: Likewise.
6803
6804 2016-04-22 Yao Qi <yao.qi@linaro.org>
6805
6806 * gdb.trace/signal.exp: Also pass if
6807 $tracepoint_hits($i) > $iterations.
6808
6809 2016-04-22 Yao Qi <yao.qi@linaro.org>
6810
6811 * gdb.trace/signal.c: New file.
6812 * gdb.trace/signal.exp: New file.
6813
6814 2016-04-19 Doug Evans <xdje42@gmail.com>
6815
6816 * gdb.base/bad-file.exp: New file.
6817
6818 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6819
6820 * gdb.dwarf2/implref.exp: New file.
6821
6822 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6823
6824 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6825 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6826 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6827 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6828 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6829 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6830 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6831 * lib/fortran.exp (fortran_int4): New procedure.
6832 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6833 (fortran_logical4): Likewise.
6834
6835 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6836
6837 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6838
6839 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6840
6841 * lib/compiler.c: Add Intel specific preprocessor macros.
6842 * lib/compiler.cc: Likewise.
6843
6844 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
6845
6846 * gdb.server/connect-with-no-symbol-file.c: New file.
6847 * gdb.server/connect-with-no-symbol-file.exp: New file.
6848
6849 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6850
6851 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6852
6853 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6854
6855 * boards/gdbserver-base.exp (${board}_download): Copy source file to
6856 standard output directory.
6857
6858 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
6859
6860 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6861
6862 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
6863
6864 * gdb.btrace/instruction_history.c (loop): Add declaration.
6865
6866 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6867
6868 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6869
6870 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
6871
6872 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6873 parentheses to print.
6874 (continue_handler): Likewise.
6875
6876 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
6877
6878 * gdb.server/solib-list.exp: Remove is_remote check.
6879 Pass shlib= to gdb_compile. Don't link shared library with
6880 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
6881 Run binary filename through "readlink -f" on the target.
6882
6883 2016-04-08 Pedro Alves <palves@redhat.com>
6884
6885 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
6886 interpreter filename as argument to gdbserver_spawn.
6887 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6888 Return empty if $last_loaded_file does not exist.
6889
6890 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6891
6892 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6893 * gdb.base/jit-main.c: Use exit after usage.
6894
6895 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6896
6897 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6898 GDBHISTSIZE prior to the tests.
6899 * gdb.base/gdbinit-history.exp: Likewise.
6900
6901 2016-04-07 Pedro Alves <palves@redhat.com>
6902
6903 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6904 instead of build_executable. Use gdb_load_shlibs.
6905
6906 2016-04-07 Yao Qi <yao.qi@linaro.org>
6907
6908 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6909 Execute "si" command.
6910
6911 2016-04-07 Yao Qi <yao.qi@linaro.org>
6912
6913 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
6914 number instead of the comments on some line.
6915
6916 2016-04-06 Don Breazeal <donb@codesourcery.com>
6917
6918 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6919 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6920
6921 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6922
6923 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6924 standard_output_file. Remove unused binfile variable.
6925
6926 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
6927
6928 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6929 * gdb.python/py-mi-objfile.exp: Match "list main" output
6930 in console format.
6931
6932 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6933
6934 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6935 absolute.
6936
6937 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6938
6939 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6940 absolute.
6941 * gdb.trace/ftrace.exp: Likewise.
6942 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6943 targets as well.
6944 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6945 (gdb_load_shlibs): Copy libraries to test directory when testing
6946 natively. Only set solib-search-path if testing remotely.
6947 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6948
6949 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6950
6951 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6952 gdb_download. Use it even if the target is not remote.
6953 * gdb.base/jit.exp (compile_jit_test): Likewise.
6954 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6955 output directory if the destination board is local, otherwise use
6956 the standard remote_download from DejaGnu.
6957 (gdb_download): Remove.
6958 (gdb_load_shlibs): Use gdb_remote_download instead of
6959 gdb_download.
6960 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6961 Use gdb_remote_download instead of gdb_download. Use it even if
6962 the target is not remote.
6963 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6964 instead of gdb_download.
6965
6966 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6967
6968 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6969 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6970 run.
6971
6972 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
6973
6974 PR gdb/19820
6975 * gdb.base/printcmds.exp: Add artificial arrays tests.
6976
6977 2016-03-31 Pedro Alves <palves@redhat.com>
6978
6979 PR gdb/19858
6980 * gdb.base/jit-main.c: Include unistd.h.
6981 (ATTACH): Define to 0 if not already defined.
6982 (wait_for_gdb, mypid): New globals.
6983 (WAIT_FOR_GDB): New macro.
6984 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6985 some breakpoint locations.
6986 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6987 New procedures.
6988 (one_jit_test): Add REATTACH parameter, and handle it. Use
6989 continue_to_test_location.
6990 (top level): Test attach, and adjusts calls to one_jit_test.
6991
6992 2016-03-31 Pedro Alves <palves@redhat.com>
6993
6994 PR gdb/19858
6995 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6996 BINSUFFIX parameter, and handle it.
6997 (top level): Adjust calls compile_jit_test.
6998
6999 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
7000
7001 PR python/19743
7002 * gdb.python/py-mi-events-gdb.py: New file.
7003 * gdb.python/py-mi-events.c: New file.
7004 * gdb.python/py-mi-events.exp: New file.
7005
7006 2016-03-30 Yao Qi <yao.qi@linaro.org>
7007
7008 * gdb.reverse/until-precsave.exp: Match function name only.
7009 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7010 Move malloc to a condition block.
7011 * gdb.reverse/until-reverse.exp: Match function name only.
7012
7013 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
7014
7015 * gdb.trace/ftrace.exp: Set arg0exp for s390.
7016 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7017 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7018 variable for GPR 0 instead of assuming it is register 0.
7019 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7020 * lib/trace-support.exp: Add s390 registers.
7021
7022 2016-03-29 Yao Qi <yao.qi@linaro.org>
7023
7024 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7025
7026 2016-03-24 Yao Qi <yao.qi@linaro.org>
7027
7028 * gdb.reverse/break-reverse.exp: Add quotation mark in the
7029 test message.
7030
7031 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7032
7033 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7034 maintaining separate logic for constructing the output path.
7035
7036 2016-03-16 Don Breazeal <donb@codesourcery.com>
7037
7038 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7039 Retry fork and waitpid on interrupted system call errors.
7040 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7041 Use with_timeout_factor to increase timeout by factor of 10.
7042
7043 2016-03-15 Don Breazeal <donb@codesourcery.com>
7044
7045 * gdb.cp/scope-err.cc: New test program.
7046 * gdb.cp/scope-err.exp: New test script.
7047 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7048 lines and "set breakpoint here" comment.
7049 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7050 Fixed some whitespace and format issues.
7051 * gdb.mi/mi-linespec-err-cp.cc: New test program.
7052 * gdb.mi/mi-linespec-err-cp.exp: New test script.
7053
7054 2016-03-15 Doug Evans <dje@google.com>
7055
7056 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7057 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7058 All callers updated. Add tests for enums, mixed flags register.
7059
7060 2016-03-15 Doug Evans <dje@google.com>
7061
7062 * gdb.base/skip.c (main): Call test_skip_file_and_function.
7063 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7064
7065 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
7066
7067 * gdb.base/default.exp: Add $_as_string to the list of expected
7068 convenience functions.
7069
7070 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
7071
7072 * gdb.base/maint.exp: New tests for 'maint info line-table'.
7073
7074 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
7075
7076 * gdb.python/py-as-string.exp: New file.
7077 * gdb.python/py-as-string.c: New file.
7078
7079 2016-03-09 Pedro Alves <palves@redhat.com>
7080
7081 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7082 signal" -> "Thread NN received signal" output change.
7083 * gdb.threads/ia64-sigill.exp: Likewise.
7084 * gdb.threads/linux-dp.exp: Likewise.
7085 * gdb.threads/manythreads.exp: Likewise.
7086 * gdb.threads/pending-step.exp: Likewise.
7087 * gdb.threads/print-threads.exp: Likewise.
7088 * gdb.threads/sigstep-threads.exp: Likewise.
7089 * gdb.threads/staticthreads.exp: Likewise.
7090 * gdb.threads/tls.exp: Likewise.
7091
7092 2016-03-09 Pedro Alves <palves@redhat.com>
7093
7094 * gdb.base/command-line-input.exp: New file.
7095
7096 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7097
7098 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7099 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7100 * gdb.trace/pending.exp: Accept leading dot before function name.
7101 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7102 * lib/trace-support.exp: Set registers for ppc.
7103
7104 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7105
7106 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7107 use it for disassembly; accept .main in addition to main in backtrace.
7108
7109 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
7110 Marcin Kościelnicki <koriakin@0x04.net>
7111
7112 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7113 (gdb_recursion_test_ptr): New global variable.
7114 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7115 gdb_recursion_test.
7116 (gdb_c_test): Ditto.
7117
7118 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7119
7120 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7121 ordering.
7122
7123 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7124
7125 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7126 (bar): Add bar_start_lbl label.
7127 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7128 of foo/bar for emitting DWARF and tracing.
7129
7130 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
7131
7132 * analyze-racy-logs.py: Set executable bit.
7133
7134 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
7135
7136 * Makefile.in (DEFAULT_RACY_ITER): New variable.
7137 (CHECK_TARGET_TMP): Likewise.
7138 (check-single-racy): New rule.
7139 (check-parallel-racy): Likewise.
7140 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7141 (do-check-parallel-racy): New rule.
7142 (check-racy/%.exp): Likewise.
7143 * README (Racy testcases): New section.
7144 * analyze-racy-logs.py: New file.
7145
7146 2016-03-03 Doug Evans <dje@google.com>
7147
7148 * gdb.base/skip.exp: Use with_test_prefix.
7149
7150 2016-03-03 Yao Qi <yao.qi@linaro.org>
7151
7152 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7153 Invoke step_over_syscall "clone" and break_cond_on_syscall
7154 "clone".
7155 * gdb.base/step-over-clone.c: New file.
7156
7157 2016-03-03 Yao Qi <yao.qi@linaro.org>
7158
7159 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7160 code format.
7161
7162 2016-03-03 Yao Qi <yao.qi@linaro.org>
7163
7164 * gdb.base/disp-step-fork.c: Rename to ...
7165 * gdb.base/step-over-fork.c: ... it. New file.
7166 * gdb.base/disp-step-vfork.c: Rename to ...
7167 * gdb.base/step-over-vfork.c: ... it. New file.
7168 * gdb.base/disp-step-syscall.exp: Rename to ...
7169 * gdb.base/step-over-syscall.exp: ... it. New file.
7170 (disp_step_cross_syscall): Rename to ...
7171 (step_over_syscall): ... it.
7172
7173 2016-03-03 Yao Qi <yao.qi@linaro.org>
7174
7175 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7176 If target supports condition evaluation on target, invoke
7177 break_cond_on_syscall for fork and vfork.
7178
7179 2016-03-03 Yao Qi <yao.qi@linaro.org>
7180
7181 * gdb.base/disp-step-syscall.exp: Don't invoke
7182 support_displaced_stepping.
7183 (disp_step_cross_syscall): Test with displaced stepping off and
7184 on if supported.
7185
7186 2016-03-03 Yao Qi <yao.qi@linaro.org>
7187
7188 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7189 proc.
7190 (setup): New proc.
7191 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7192 and setup.
7193
7194 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7195
7196 * gdb.fortran/vla-history.exp: Remove breakpoint.
7197
7198 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7199
7200 * gdb.fortran/vla-history.exp: Lookup array elements and printing
7201 exceeds timeout.
7202
7203 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7204
7205 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7206 breakpoint.
7207
7208 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7209
7210 * gdb.mi/vla.f90: Nullify pointer after declaration.
7211
7212 2016-03-01 Pedro Alves <palves@redhat.com>
7213
7214 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7215
7216 2016-03-01 Pedro Alves <palves@redhat.com>
7217
7218 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7219 before anything else.
7220 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
7221 _GNU_SOURCE here.
7222 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7223 before anything else.
7224 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7225
7226 2016-03-01 Pedro Alves <palves@redhat.com>
7227
7228 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7229
7230 2016-03-01 Yao Qi <yao.qi@linaro.org>
7231
7232 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7233 prepare_for_testing.
7234
7235 2016-03-01 Yao Qi <yao.qi@linaro.org>
7236
7237 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7238
7239 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7240
7241 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7242 manually constructing the output path.
7243
7244 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7245
7246 * gdb.arch/s390-stackless.S: New.
7247 * gdb.arch/s390-stackless.exp: New.
7248
7249 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
7250
7251 * gdb.dlang/circular.c: New file.
7252 * gdb.dlang/circular.exp: New file.
7253
7254 2016-02-26 Yao Qi <yao.qi@linaro.org>
7255
7256 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7257 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7258 (testcases): Update.
7259
7260 2016-02-26 Yao Qi <yao.qi@linaro.org>
7261
7262 * gdb.reverse/aarch64.c: Rename to ...
7263 * gdb.reverse/insn-reverse.c: ... it.
7264 * gdb.reverse/aarch64.exp: Rename to ...
7265 * gdb.reverse/insn-reverse.exp: ... it.
7266
7267 2016-02-26 Yao Qi <yao.qi@linaro.org>
7268
7269 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7270 (testcase_ftype): New.
7271 (testcases): New array.
7272 (n_testcases): New.
7273 (main): Call each element in testcases.
7274 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7275 (read_testcase): New.
7276 Do the tests in a loop.
7277
7278 2016-02-25 Yao Qi <yao.qi@linaro.org>
7279
7280 * gdb.base/branches.c: Remove.
7281
7282 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7283
7284 PR gdb/13808
7285 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7286
7287 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7288
7289 * gdb.trace/ftrace.exp: Remove unnecessary target check.
7290
7291 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7292
7293 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7294 change x86_64 call_insn to 'callq'.
7295
7296 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7297
7298 * gdb.trace/tfile-avx.c: Move to...
7299 * gdb.trace/tracefile-pseudo-reg.c: Here.
7300 * gdb.trace/tfile-avx.exp: Move to...
7301 * gdb.trace/tracefile-pseudo-reg.exp: Here.
7302
7303 2016-02-24 Gary Benson <gbenson@redhat.com>
7304
7305 * gdb.base/attach-pie-noexec.exp: Do not expect an error
7306 message on attach.
7307
7308 2016-02-23 Doug Evans <dje@google.com>
7309
7310 * gdb.base/skip.c (test_skip): New function.
7311 (end_test_skip_file_and_function): New function.
7312 (test_skip_file_and_function): New function.
7313 * gdb.base/skip1.c (test_skip): New function.
7314 (skip1_test_skip_file_and_function): New function.
7315 * gdb.base/skip.exp: Add tests for new skip options.
7316 * gdb.base/skip-solib.exp: Update expected output.
7317 * gdb.perf/skip-command.cc: New file.
7318 * gdb.perf/skip-command.exp: New file.
7319 * gdb.perf/skip-command.py: New file.
7320
7321 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
7322
7323 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7324 info registers pattern.
7325
7326 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
7327
7328 * lib/future.exp: Add D support.
7329 (gdb_find_gdc): New proc.
7330 (gdb_default_target_compile): Add D support.
7331
7332 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
7333
7334 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7335 user+system time.
7336 (trace_speed_test): Determine the iteration count for a time
7337 between 15..30 seconds.
7338
7339 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
7340
7341 * gdb.arch/i386-mpx-sigsegv.c: New file.
7342 * gdb.arch/i386-mpx-sigsegv.exp: New file.
7343 * gdb.arch/i386-mpx-simple_segv.c: New file.
7344 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7345
7346 2016-02-18 Yao Qi <yao.qi@linaro.org>
7347
7348 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7349 Don't call setup_kfail.
7350
7351 2016-02-18 Yao Qi <yao.qi@linaro.org>
7352
7353 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7354 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7355
7356 2016-02-16 Doug Evans <dje@google.com>
7357
7358 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7359 * gdb.base/skip1.c: Ditto.
7360 * gdb.base/skip.exp: Whitespace cleanup.
7361
7362 2016-02-16 Don Breazeal <donb@codesourcery.com>
7363
7364 PR remote/19496
7365 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7366 Remove kfail for PR remote/19496.
7367
7368 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7369
7370 * lib/gdb.exp (standard_temp_file): Return a path specific to
7371 the runtest invocation.
7372
7373 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7374
7375 * gdb.trace/save-trace.exp: Change relative path to be in the
7376 standard output directory.
7377
7378 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7379
7380 * gdb.arch/i386-prologue.c: Add missing prototypes.
7381
7382 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7383
7384 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7385 * gdb.arch/i386-prologue.exp: Likewise.
7386 * gdb.arch/i386-size.exp: Likewise.
7387
7388 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7389
7390 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7391 define object file path.
7392 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7393 file path.
7394 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7395 standard_output_file to define binfile.
7396
7397 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7398
7399 Fix compatibility with recent gfortran-5.3.1.
7400 * gdb.fortran/vla-history.exp (print vla1 allocated)
7401 (print vla2 allocated, print $2, print $3): Remove
7402 (print $4): Rename to ...
7403 (print $2): ... here.
7404 (print $9): Rename to ...
7405 (print $5): ... here.
7406 (print $10): Rename to ...
7407 (print $6): ... here.
7408 * gdb.fortran/vla.f90: Add pvla initialization.
7409
7410 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7411
7412 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7413 New test.
7414 * gdb.fortran/vla-value-sub.exp: Likewise.
7415
7416 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7417
7418 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7419
7420 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7421
7422 * i386-biarch-core.exp: Define corefile using
7423 standard_output_file.
7424
7425 2016-02-12 Yao Qi <yao.qi@linaro.org>
7426
7427 * gdb.arch/arm-single-step-kernel-helper.c: New.
7428 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7429
7430 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7431
7432 * gdb.btrace/tailcall-only.exp: New.
7433 * gdb.btrace/tailcall-only.c: New.
7434 * gdb.btrace/x86_64-tailcall-only.S: New.
7435 * gdb.btrace/i686-tailcall-only.S: New.
7436
7437 2016-02-11 Pedro Alves <palves@redhat.com>
7438
7439 * README (Parallel testing): Add missing double quotes.
7440
7441 2016-02-11 Pedro Alves <palves@redhat.com>
7442
7443 * README (Parallel testing): New section.
7444 (GDB_PARALLEL): Rewrite.
7445 (FORCE_PARALLEL): Document.
7446
7447 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7448
7449 * gdb.trace/tfile-avx.c: New test.
7450 * gdb.trace/tfile-avx.exp: New test.
7451
7452 2016-02-09 Keith Seitz <keiths@redhat.com>
7453
7454 PR breakpoints/19546
7455 * gdb.base/infcall-exec.c: New file.
7456 * gdb.base/infcall-exec2.c: New file.
7457 * gdb.base/infcall-exec.exp: New file.
7458
7459 2016-02-09 Keith Seitz <keiths@redhat.com>
7460
7461 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7462 (toplevel): Call test_bkpt_address.
7463
7464 2016-02-09 Keith Seitz <keiths@redhat.com>
7465
7466 PR python/19506
7467 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7468 (toplevel): Call test_bkpt_address.
7469
7470 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7471
7472 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7473 to AC_OUTPUT.
7474 * configure: Regenerate.
7475
7476 2016-02-09 Pedro Alves <palves@redhat.com>
7477
7478 PR breakpoints/19548
7479 * gdb.base/execl-update-breakpoints.c (some_function): New
7480 function.
7481 (main): Call it.
7482 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7483 Tighten expected GDB output.
7484
7485 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7486
7487 * Makefile.in (ALL_SUBDIRS): Remove.
7488 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7489 (distclean maintainer-clean realclean): Likewise.
7490 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7491 * configure: Regenerate.
7492 * gdb.ada/Makefile.in: Delete.
7493 * gdb.arch/Makefile.in: Likewise.
7494 * gdb.asm/Makefile.in: Likewise.
7495 * gdb.base/Makefile.in: Likewise.
7496 * gdb.btrace/Makefile.in: Likewise.
7497 * gdb.cell/Makefile.in: Likewise.
7498 * gdb.compile/Makefile.in: Likewise.
7499 * gdb.cp/Makefile.in: Likewise.
7500 * gdb.disasm/Makefile.in: Likewise.
7501 * gdb.dlang/Makefile.in: Likewise.
7502 * gdb.dwarf2/Makefile.in: Likewise.
7503 * gdb.fortran/Makefile.in: Likewise.
7504 * gdb.gdb/Makefile.in: Likewise.
7505 * gdb.go/Makefile.in: Likewise.
7506 * gdb.guile/Makefile.in: Likewise.
7507 * gdb.java/Makefile.in: Likewise.
7508 * gdb.linespec/Makefile.in: Likewise.
7509 * gdb.mi/Makefile.in: Likewise.
7510 * gdb.modula2/Makefile.in: Likewise.
7511 * gdb.multi/Makefile.in: Likewise.
7512 * gdb.objc/Makefile.in: Likewise.
7513 * gdb.opencl/Makefile.in: Likewise.
7514 * gdb.opt/Makefile.in: Likewise.
7515 * gdb.pascal/Makefile.in: Likewise.
7516 * gdb.perf/Makefile.in: Likewise.
7517 * gdb.python/Makefile.in: Likewise.
7518 * gdb.reverse/Makefile.in: Likewise.
7519 * gdb.server/Makefile.in: Likewise.
7520 * gdb.stabs/Makefile.in: Likewise.
7521 * gdb.threads/Makefile.in: Likewise.
7522 * gdb.trace/Makefile.in: Likewise.
7523 * gdb.xml/Makefile.in: Likewise.
7524 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7525 GDB_PARALLEL.
7526 (standard_output_file): Remove check for GDB_PARALLEL, always
7527 return path in outputs/$subdir/$testname.
7528
7529 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7530
7531 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7532 (site.exp): Assign abs_srcdir to tcl's srcdir.
7533
7534 2016-02-04 Yao Qi <yao.qi@linaro.org>
7535
7536 * gdb.base/foll-exec-mode.c: Include limits.h.
7537 (main): Add parameters argc and argv. Get directory from
7538 argv[0].
7539 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7540 compilation.
7541 * gdb.base/foll-exec.c: Include limits.h.
7542 (main): Add parameters argc and argv.
7543 Get directory from argv[0].
7544 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7545 Adjust tests on the number of lines as source code changed.
7546 * gdb.base/foll-vfork-exit.c: Include limits.h.
7547 (main): Add one line of statement before vfork.
7548 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7549 (main): Add parameters argc and argv. Get directory from
7550 argv[0].
7551 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7552 (setup_gdb): Set tbreak to skip some source lines.
7553 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7554 (main): Add parameters argc and argv. Get directory from
7555 argv[0].
7556 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7557 compilation.
7558 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7559 (main): Add parameters argc and argv. Get directory from
7560 argv[0].
7561 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7562 compilation.
7563
7564 2016-02-01 Doug Evans <dje@google.com>
7565
7566 * gdb.base/skip.exp: Clean up multiple references to same test name.
7567
7568 2016-02-01 Pedro Alves <palves@redhat.com>
7569
7570 PR remote/19496
7571 * gdb.threads/forking-threads-plus-breakpoint.exp
7572 (displaced_stepping_supported): New global.
7573 (probe_displaced_stepping_support): New procedure.
7574 (do_test): Add 'displaced' parameter, and use it.
7575 (top level): Check for displaced stepping support. Add displaced
7576 stepping on/off testing axis.
7577
7578 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7579
7580 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7581 pointer. Don't perform further tests on the unassociated pointer
7582 if the first test fails.
7583
7584 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7585
7586 * gdb.base/max-value-size.c: New file.
7587 * gdb.base/max-value-size.exp: New file.
7588 * gdb.base/huge.exp: Disable max-value-size for this test.
7589
7590 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7591
7592 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7593
7594 2016-01-28 Yao Qi <yao.qi@linaro.org>
7595
7596 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7597
7598 2016-01-25 Pedro Alves <palves@redhat.com>
7599
7600 PR threads/19461
7601 * gdb.base/fork-running-state.c: New file.
7602 * gdb.base/fork-running-state.exp: New file.
7603
7604 2016-01-25 Pedro Alves <palves@redhat.com>
7605
7606 PR gdb/19494
7607 * gdb.base/catch-fork-kill.c: New file.
7608 * gdb.base/catch-fork-kill.exp: New file.
7609
7610 2016-01-25 Pedro Alves <palves@redhat.com>
7611
7612 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7613 Delete, moved to lib/gdb.exp.
7614 * gdb.threads/forking-threads-plus-breakpoint.exp
7615 (foreach_with_prefix): Likewise.
7616 * gdb.threads/process-dies-while-handling-bp.exp
7617 (foreach_with_prefix): Likewise.
7618 * lib/gdb.exp (foreach_with_prefix): New procedure.
7619
7620 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7621
7622 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7623 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7624
7625 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7626
7627 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7628 endian targets.
7629
7630 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7631 Pedro Alves <palves@redhat.com>
7632
7633 Fix testsuite compatibility with Guile.
7634 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7635 number.
7636
7637 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7638
7639 Fix testsuite compatibility with Guile.
7640 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7641 (thread 1): New test for backtrace through signal handler.
7642
7643 2016-01-22 Yao Qi <yao.qi@linaro.org>
7644
7645 PR testsuite/19491
7646 * gdb.base/multi-forks.c: Include
7647 ../lib/unbuffer_output.c
7648 (main): Call gdb_unbuffer_output.
7649
7650 2016-01-21 Doug Evans <dje@google.com>
7651
7652 * lib/ada.exp (gdb_compile_ada): Fix typo.
7653
7654 2016-01-21 Joel Brobecker <brobecker@adacore.com>
7655
7656 * gdb.base/break-fun-addr.exp: New file.
7657 * gdb.base/break-fun-addr1.c: New file.
7658 * gdb.base/break-fun-addr2.c: New file.
7659
7660 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7661
7662 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7663 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7664 enum flag values.
7665
7666 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7667
7668 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7669 when GDB can not set the vector return value. Add more comments
7670 for clarification.
7671
7672 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7673
7674 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7675 command.
7676
7677 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7678
7679 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7680
7681 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7682
7683 * Makefile.in (check-single): Pass --status to runtest.
7684 (check/%.exp): Likewise.
7685
7686 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7687
7688 * Makefile.in (check-parallel): Propagate return code from make
7689 do-check-parallel.
7690
7691 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7692
7693 * gdb.trace/ftrace.exp: Fix expected message on continue.
7694 * gdb.trace/pending.exp: Fix expected message on continue.
7695 * gdb.trace/trace-break.exp: Fix expected message on continue.
7696
7697 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7698
7699 * lib/gdb.exp (gdb_test): Remove unused global references.
7700
7701 2016-01-18 Pedro Alves <palves@redhat.com>
7702
7703 * gdb.base/async-shell.exp: Adjust expected output.
7704 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7705 * gdb.base/siginfo-thread.exp: Adjust expected output.
7706 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7707 * gdb.java/jnpe.exp: Adjust expected output.
7708 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7709 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7710 * gdb.threads/leader-exit.exp: Adjust expected output.
7711 * gdb.threads/manythreads.exp: Adjust expected output.
7712 * gdb.threads/pthreads.exp: Adjust expected output.
7713 * gdb.threads/schedlock.exp: Adjust expected output.
7714 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7715 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7716 expected output.
7717 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7718 output.
7719 * gdb.threads/sigthread.exp: Adjust expected output.
7720 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7721
7722 2016-01-18 Yao Qi <yao.qi@linaro.org>
7723
7724 * gdb.guile/scm-section-script.c: Replace @progbits with
7725 %progbits.
7726 * gdb.python/py-section-script.c: Likewise.
7727
7728 2016-01-15 Pedro Alves <palves@redhat.com>
7729
7730 * gdb.multi/tids.exp: Test star wildcard ranges.
7731
7732 2016-01-15 Pedro Alves <palves@redhat.com>
7733
7734 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7735 command from "thread apply" invocation.
7736 (thr_apply_info_thr_invalid): Default the expected output to the
7737 input tid list.
7738 (top level): Add tests that use convenience variables. Add tests
7739 for "thread apply" with a valid TID list, but missing the command.
7740
7741 2016-01-13 Pedro Alves <palves@redhat.com>
7742
7743 * gdb.base/default.exp: Expect $_gthread as well.
7744 * gdb.multi/tids.exp: Test $_gthread.
7745 * gdb.threads/thread-specific.exp: Test $_gthread.
7746
7747 2016-01-13 Pedro Alves <palves@redhat.com>
7748
7749 * gdb.multi/tids.exp: Test "info threads -gid".
7750
7751 2016-01-13 Pedro Alves <palves@redhat.com>
7752
7753 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7754 Breakpoint.thread.
7755 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7756
7757 2016-01-07 Pedro Alves <palves@redhat.com>
7758
7759 * gdb.base/break.exp: Adjust to output changes.
7760 * gdb.base/hbreak2.exp: Likewise.
7761 * gdb.base/sepdebug.exp: Likewise.
7762 * gdb.base/watch_thread_num.exp: Likewise.
7763 * gdb.linespec/keywords.exp: Likewise.
7764 * gdb.multi/info-threads.exp: Likewise.
7765 * gdb.threads/thread-find.exp: Likewise.
7766 * gdb.multi/tids.c: New file.
7767 * gdb.multi/tids.exp: New file.
7768
7769 2016-01-13 Pedro Alves <palves@redhat.com>
7770
7771 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7772
7773 2016-01-13 Pedro Alves <palves@redhat.com>
7774
7775 * gdb.base/default.exp: Expect $_inferior as well.
7776 * gdb.multi/base.exp: Test $_inferior.
7777
7778 2016-01-13 Pedro Alves <palves@redhat.com>
7779
7780 PR breakpoints/19388
7781 * gdb.base/catch-signal-siginfo-cond.c: New file.
7782 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7783
7784 2016-01-12 Josh Stone <jistone@redhat.com>
7785 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7786
7787 * gdb.base/catch-syscall.c (do_execve): New variable.
7788 (main): Conditionally trigger an execve.
7789 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7790 (test_catch_syscall_execve): New, check entry/return across execve.
7791 (do_syscall_tests): Call test_catch_syscall_execve.
7792
7793 2016-01-12 Pedro Alves <palves@redhat.com>
7794
7795 * gdb.base/random-signal.exp (do_test): New procedure, with body
7796 of testcase moved in.
7797
7798 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7799 Pedro Alves <palves@redhat.com>
7800
7801 * gdb.base/funcargs.exp (finish from indirectly called function):
7802 Reintroduce the case for 'First'.
7803
7804 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7805 Pedro Alves <palves@redhat.com>
7806
7807 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7808 (tcatch_vfork_then_child_follow_exec)
7809 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7810 identification.
7811
7812 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7813
7814 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7815 and repeats to unlimited.
7816 * gdb.python/py-value.exp: Likewise.
7817 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7818 and repeats to unlimited.
7819
7820 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7821
7822 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7823 and reordering the functions.
7824 * gdb.multi/hangout.c: Likewise.
7825 * gdb.multi/hello.c: Likewise.
7826
7827 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7828
7829 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7830 absolute.
7831 (SingleStatisticTestResult.report): Use dict.keys instead of
7832 dict.iterkeys.
7833
7834 2016-01-06 Pedro Alves <palves@redhat.com>
7835
7836 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7837
7838 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7839
7840 * gdb.btrace/dlopen.exp: New.
7841 * gdb.btrace/dlopen.c: New.
7842 * gdb.btrace/dlopen-dso.c: New.
7843
7844 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
7845
7846 * lib/gdb.exp (gdb_test): Update comments to clarify that the
7847 PATTERN argument is optional.
7848
7849 2015-12-24 Joel Brobecker <brobecker@adacore.com>
7850
7851 * lib/ada.exp (target_compile_ada_from_dir): New function.
7852 (gdb_compile_ada): Reimplement avoiding the use of project files.
7853 * gdb.ada/gnat_ada.gpr: Delete.
7854 * gdb.ada/cond_lang.exp: Adjust test to make path before
7855 filename optional.
7856 * gdb.ada/small_reg_param.exp: Likewise.
7857
7858 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
7859
7860 * gdb.base/foll-vork.exp: Remove HP-UX special case.
7861
7862 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
7863
7864 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7865 case.
7866
7867 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
7868
7869 * gdb.base/break.exp: Remove dead code.
7870 * gdb.base/sepdebug.exp: Likewise.
7871
7872 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7873
7874 * gdb.asm/asm-source.exp: Remove HP-UX references.
7875 * gdb.base/annota1.exp: Likewise.
7876 * gdb.base/annota3.exp: Likewise.
7877 * gdb.base/attach.exp: Likewise.
7878 * gdb.base/bigcore.exp: Likewise.
7879 * gdb.base/break.exp: Likewise.
7880 * gdb.base/call-ar-st.exp: Likewise.
7881 * gdb.base/callfuncs.exp: Likewise.
7882 * gdb.base/catch-fork-static.exp: Likewise.
7883 * gdb.base/display.exp: Likewise.
7884 * gdb.base/foll-exec-mode.exp: Likewise.
7885 * gdb.base/foll-exec.exp: Likewise.
7886 * gdb.base/foll-fork.exp: Likewise.
7887 * gdb.base/foll-vfork.exp: Likewise.
7888 * gdb.base/funcargs.exp: Likewise.
7889 * gdb.base/hbreak2.exp: Likewise.
7890 * gdb.base/inferior-died.exp: Likewise.
7891 * gdb.base/interrupt.exp: Likewise.
7892 * gdb.base/multi-forks.exp: Likewise.
7893 * gdb.base/nodebug.exp: Likewise.
7894 * gdb.base/sepdebug.exp: Likewise.
7895 * gdb.base/solib1.c: Likewise.
7896 * gdb.base/step-test.exp: Likewise.
7897 * gdb.mi/non-stop.c: Likewise.
7898 * gdb.mi/pthreads.c: Likewise.
7899 * gdb.multi/bkpt-multi-exec.ex: Likewise.
7900 * gdb.threads/pthreads.c: Likewise.
7901 * gdb.threads/staticthreads.exp: Likewise.
7902 * lib/future.exp: Likewise.
7903 * lib/gdb.exp: Likewise.
7904 * gdb.base/so-indr-cl.c: Remove.
7905 * gdb.base/so-indr-cl.exp: Likewise.
7906 * gdb.base/solib.c: Likewise.
7907 * gdb.base/solib.exp: Likewise.
7908 * gdb.base/solib2.c: Likewise.
7909
7910 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7911
7912 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7913 * gdb.base/call-ar-st.exp: Likewise.
7914 * gdb.base/callfuncs.exp: Likewise.
7915 * gdb.base/condbreak.exp: Likewise.
7916 * gdb.base/constvars.exp: Likewise.
7917 * gdb.base/hbreak2.exp: Likewise.
7918 * gdb.base/langs.exp: Likewise.
7919 * gdb.base/list.exp: Likewise.
7920 * gdb.base/long_long.exp: Likewise.
7921 * gdb.base/ptype.exp: Likewise.
7922 * gdb.base/scope.exp: Likewise.
7923 * gdb.base/signals.exp: Likewise.
7924 * gdb.base/so-impl-ld.exp: Likewise.
7925 * gdb.base/varargs.exp: Likewise.
7926 * gdb.base/volatile.exp: Likewise.
7927 * gdb.base/whatis.exp: Likewise.
7928 * gdb.cp/cplusfuncs.exp: Likewise.
7929 * gdb.cp/inherit.exp: Likewise.
7930 * gdb.cp/local.exp: Likewise.
7931 * gdb.cp/member-ptr.exp: Likewise.
7932 * gdb.cp/method.exp: Likewise.
7933 * gdb.cp/overload.exp: Likewise.
7934 * gdb.cp/templates.exp: Likewise.
7935 * gdb.stabs/weird.exp: Likewise.
7936 * lib/compiler.c: Likewise.
7937 * lib/compiler.cc: Likewise.
7938 * lib/cp-support.exp: Likewise.
7939 * lib/gdb.exp: Likewise.
7940
7941 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7942
7943 * configure.ac: Remove HP-UX case.
7944 * configure: Regenerate.
7945
7946 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7947
7948 * lib/gdb.exp (gdb_compile): Add function doc.
7949
7950 2015-12-17 Pedro Alves <palves@redhat.com>
7951
7952 PR threads/19354
7953 * gdb.multi/info-threads.exp: New file.
7954
7955 2015-12-15 Yao Qi <yao.qi@linaro.org>
7956
7957 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7958 is aarch64*-*-*.
7959
7960 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7961
7962 * gdb.base/history-duplicates.exp: Skip if no readline support.
7963
7964 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7965
7966 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7967
7968 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7969
7970 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7971
7972 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7973
7974 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7975 ctrl-C if nointerrupts target property is set.
7976 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7977 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7978 * gdb.base/paginate-bg-execution.exp: Likewise.
7979 * gdb.base/paginate-execution-startup.exp: Likewise.
7980 * gdb.base/random-signal.exp: Likewise.
7981 * gdb.base/range-stepping.exp: Likewise.
7982 * gdb.cp/annota2.exp: Likewise.
7983 * gdb.cp/annota3.exp: Likewise.
7984 * gdb.gdb/selftest.exp: Likewise.
7985 * gdb.threads/continue-pending-status.exp: Likewise.
7986 * gdb.threads/leader-exit.exp: Likewise.
7987 * gdb.threads/manythreads.exp: Likewise.
7988 * gdb.threads/pthreads.exp: Likewise.
7989 * gdb.threads/schedlock.exp: Likewise.
7990 * gdb.threads/sigthread.exp: Likewise.
7991
7992 2015-12-11 Don Breazeal <donb@codesourcery.com>
7993
7994 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7995 remote.
7996 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7997 * gdb.base/foll-exec.exp (main): Enable for target remote.
7998 * gdb.base/foll-fork.exp (main): Likewise.
7999 * gdb.base/foll-vfork.exp (main): Likewise.
8000 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8001 (proc continue_to_exit_bp_loc): Use clean_restart.
8002 * gdb.base/pie-execl.exp (main): Disable for target remote.
8003 * gdb.base/watch-vfork.exp (main): Enable for target remote.
8004 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8005 * gdb.threads/execl.exp (main): Likewise.
8006 * gdb.threads/fork-child-threads.exp (main): Likewise.
8007 * gdb.threads/fork-plus-threads.exp (main): Disable for target
8008 remote.
8009 * gdb.threads/fork-thread-pending.exp (main): Enable for target
8010 remote.
8011 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8012 pid.tid style ptids, instead of just tid.
8013 * gdb.threads/thread-execl.exp (main): Enable for target remote.
8014 * gdb.threads/watchpoint-fork.exp (main): Likewise.
8015 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8016 ptids, instead of just tid.
8017
8018 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8019
8020 * gdb.base/list.exp (test_list_forward): Add end of file error
8021 test.
8022 (test_repeat_list_command): Add end of file error test.
8023 (test_list_backwards): Add beginning of file error test.
8024
8025 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8026
8027 * gdb.base/list.exp (test_list_invalid_args): New function,
8028 defined, and called.
8029
8030 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8031
8032 * gdb.base/list.exp (test_list): Make test names unique.
8033
8034 2015-12-11 Yao Qi <yao.qi@linaro.org>
8035
8036 * gdb.base/coremaker2.c: Remove.
8037
8038 2015-12-10 Pedro Alves <palves@redhat.com>
8039
8040 * gdb.multi/base.exp: Remove stale "spaces" references.
8041
8042 2015-12-10 Pedro Alves <palves@redhat.com>
8043
8044 * gdb.multi/base.exp: Don't use nowarnings.
8045 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8046 * gdb.multi/hangout.c: Include stdio.h.
8047 * gdb.multi/hello.c: Include stdlib.h.
8048 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8049 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8050 * gdb.multi/multi-arch.exp: Don't use nowarnings.
8051
8052 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
8053
8054 * gdb.dwarf2/dw2-ranges-base.c: New file.
8055 * gdb.dwarf2/dw2-ranges-base.exp: New file.
8056 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8057 support additional line table, and debug ranges generation.
8058 (Dwarf::ranges): New function, generate .debug_ranges.
8059 (Dwarf::lines): Support generating simple line table programs.
8060 (Dwarf::assemble): Initialise new namespace variables.
8061
8062 2015-12-09 Kevin Buettner <kevinb@redhat.com>
8063
8064 * gdb.base/async.exp (proc test_background): Add case for
8065 asynchronous execution not supported.
8066
8067 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
8068
8069 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8070 format and change test names to make them unique.
8071
8072 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
8073 Pedro Alves <pedro@redhat.com>
8074
8075 PR gdb/18702
8076 Add checking of floatformats setup on x86_64 hosts.
8077 * gdb.arch/i386-float.S (main): Load bigval and smallval.
8078 (smallval, bigval): New labels/constants.
8079 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8080 float" after loading bigval and smallval.
8081
8082 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
8083
8084 * gdb.ada/fun_overload_menu.exp: New testcase.
8085 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8086
8087 2015-12-04 Josh Stone <jistone@redhat.com>
8088
8089 * gdb.base/catch-fork-static.exp: New.
8090
8091 2015-12-03 Yao Qi <yao.qi@linaro.org>
8092
8093 * gdb.base/sizeof.c: Don't include stdio.h and
8094 ../lib/unbuffer_output.c.
8095 (main): New variable 'size' and 'value'. Remove printf and
8096 gdb_unbuffer_output. Assign return value to size and value.
8097 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8098 at the beginning.
8099 (check_sizeof): Check the result by printing variable 'size'.
8100 (check_valueof): Check the result by printing variable 'value'.
8101
8102 2015-12-01 Yao Qi <yao.qi@linaro.org>
8103
8104 * gdb.base/disp-step-syscall.exp: Define syscall instruction
8105 for aarch64*-*-linux* target.
8106
8107 2015-11-30 Pedro Alves <palves@redhat.com>
8108
8109 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8110
8111 2015-11-30 Pedro Alves <palves@redhat.com>
8112
8113 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8114 Handle non-stop mode vCont replies.
8115
8116 2015-11-30 Pedro Alves <palves@redhat.com>
8117
8118 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8119 prepare_for_testing. Start gdb with "set non-stop on" appended to
8120 GDBFLAGS. Lax expected stop output.
8121
8122 2015-11-27 Yao Qi <yao.qi@linaro.org>
8123
8124 * gdb.arch/arm-neon.exp: New.
8125 * gdb.arch/arm-neon.c: New.
8126
8127 2015-11-27 Yao Qi <yao.qi@linaro.org>
8128
8129 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8130
8131 2015-11-27 Yao Qi <yao.qi@linaro.org>
8132
8133 * gdb.cp/annota2.exp: Allow multiple occurrences of the
8134 frames-invalid annotation.
8135
8136 2015-11-27 Yao Qi <yao.qi@linaro.org>
8137
8138 * gdb.cp/annota2.exp: Use ${frames_invalid}.
8139
8140 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
8141
8142 * gdb.threads/names.exp: New file.
8143 * gdb.threads/names.c: New file.
8144 * README: Mention gdb,no_thread_names.
8145
8146 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
8147
8148 PR 19297
8149 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8150 support" error.
8151
8152 2015-11-24 Pedro Alves <palves@redhat.com>
8153
8154 PR 17539
8155 * gdb.base/display.exp: Expect displays to be sorted in ascending
8156 order. Use multi_line.
8157 * gdb.base/solib-display.exp: Likewise.
8158
8159 2015-11-24 Pedro Alves <palves@redhat.com>
8160
8161 PR 17539
8162 * gdb.base/display.exp: Expect displays to be sorted in ascending
8163 order. Use multi_line.
8164 * gdb.base/solib-display.exp: Likewise.
8165
8166 2015-11-24 Pedro Alves <palves@redhat.com>
8167
8168 PR 17539
8169 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8170 threads in ascending order.
8171 * gdb.base/foll-fork.exp: Likewise.
8172 * gdb.base/foll-vfork.exp: Likewise.
8173 * gdb.base/multi-forks.exp: Likewise.
8174 * gdb.mi/mi-nonstop.exp: Likewise.
8175 * gdb.mi/mi-nsintrall.exp: Likewise.
8176 * gdb.multi/base.exp: Likewise.
8177 * gdb.multi/multi-arch.exp: Likewise.
8178 * gdb.python/py-inferior.exp: Likewise.
8179 * gdb.threads/break-while-running.exp: Likewise.
8180 * gdb.threads/execl.exp: Likewise.
8181 * gdb.threads/gcore-thread.exp: Likewise.
8182 * gdb.threads/info-threads-cur-sal.exp: Likewise.
8183 * gdb.threads/kill.exp: Likewise.
8184 * gdb.threads/linux-dp.exp: Likewise.
8185 * gdb.threads/multiple-step-overs.exp: Likewise.
8186 * gdb.threads/next-bp-other-thread.exp: Likewise.
8187 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8188 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8189 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8190 * gdb.threads/thread-find.exp: Likewise.
8191 * gdb.threads/tls.exp: Likewise.
8192 * lib/mi-support.exp (mi_reverse_list): Delete.
8193 (mi_check_thread_states): No longer reverse list.
8194
8195 2015-11-24 Pedro Alves <palves@redhat.com>
8196
8197 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
8198 use lowercase.
8199
8200 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8201
8202 * gdb.trace/actions.c: Include trace-common.h.
8203 (main): Add a location for a fast tracepoint.
8204 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8205 the normal tracepoints.
8206 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8207
8208 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8209
8210 * save-trace.exp: Factor out code to these...
8211 (gdb_save_tracepoints): New.
8212 (gdb_load_tracepoints): New.
8213 (do_save_load_test): New.
8214
8215 2015-11-23 Kevin Buettner <kevinb@redhat.com>
8216
8217 * gdb.base/asmlabel.exp: New test.
8218 * gdb.base/asmlabel.c: New test case.
8219
8220 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8221
8222 * gdb.base/wrong_frame_bt_full-main.c: New file.
8223 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8224 * gdb.base/wrong_frame_bt_full.exp: New file.
8225
8226 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8227
8228 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8229
8230 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8231
8232 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8233 pstate register when comparing registers values in
8234 sparc64-*-linux-gnu targets to avoid spurious differences.
8235
8236 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8237
8238 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8239
8240 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
8241
8242 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8243 as type argument to gdb_compile.
8244 * gdb.base/nested-subp2.exp: Likewise.
8245 * gdb.base/nested-subp3.exp: Likewise.
8246
8247 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
8248
8249 * lib/dwarf.exp (_note): Fix left shift of negative value.
8250 * gdb.trace/trace-condition.exp: Likewise.
8251
8252 2015-11-13 Yao Qi <yao.qi@linaro.org>
8253
8254 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8255 comments about d10v.
8256 (test_scalar_returns): Likewise.
8257 * gdb.base/d10v.ld: Remove.
8258 * gdb.base/overlays.exp: Remove the target triplet checking for
8259 d10v-*-*.
8260 * gdb.base/structs.exp (test_struct_returns): Remove the
8261 comments about d10v.
8262 (test_struct_calls): Likewise.
8263
8264 2015-11-13 Yao Qi <yao.qi@linaro.org>
8265
8266 * gdb.base/gnu_vector.exp: Check the return value by "p res".
8267 * gdb.base/gnu_vector.c: Don't include stdio.h.
8268 (main): Don't print res and call add_some_intvecs.
8269
8270 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
8271
8272 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8273 macro.
8274 (func5): Removed.
8275 (func4): Use FAST_TRACEPOINT_LABEL.
8276 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8277 macro.
8278 (func): Removed.
8279 (thread_function): Use FAST_TRACEPOINT_LABEL.
8280 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8281 (func): Remove.
8282 (marker): Use FAST_TRACEPOINT_LABEL.
8283 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8284 (pendfunc1): Remove.
8285 (pendfunc): Use FAST_TRACEPOINT_LABEL.
8286 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8287 (foo): Remove.
8288 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8289 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8290 macro.
8291 (func): Remove.
8292 (marker): Use FAST_TRACEPOINT_LABEL.
8293 * gdb.trace/trace-common.h: New header.
8294 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8295 macro.
8296 (func): Remove.
8297 (marker): Use FAST_TRACEPOINT_LABEL.
8298 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8299 (func): Remove.
8300 (thread_function): Use FAST_TRACEPOINT_LABEL.
8301
8302 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
8303
8304 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8305 in front.
8306 * gdb.trace/change-loc.exp: Use global pcreg definition.
8307 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8308 * gdb.trace/entry-values.exp: Use global spreg definition, add $
8309 in front.
8310 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8311 * gdb.trace/pending.exp: Likewise.
8312 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8313 * gdb.trace/trace-break.exp: Likewise.
8314 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8315 in front.
8316 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8317 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8318 in front.
8319 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8320
8321 2015-11-09 Joel Brobecker <brobecker@adacore.com>
8322
8323 * gdb.ada/fin_fun_out: New testcase.
8324
8325 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8326
8327 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8328 value associated with DW_AT_byte_size.
8329 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8330 constants for DW_AT_byte_size, DW_AT_lower_bound, and
8331 DW_AT_upper_bound.
8332
8333 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8334
8335 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8336 (gdb_target_symbol_prefix_flags): Define in terms of _asm
8337 version.
8338 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8339 gdb.dwarf2/dw2-canonicalize-type.exp,
8340 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8341 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8342 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8343 provided by gdb_target_symbol_prefix_flags_asm.
8344 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8345 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8346 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8347 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8348 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8349 macros where needed). Use this macro for symbols which require
8350 the prefix provided by SYMBOL_PREFIX.
8351
8352 2015-11-05 Kevin Buettner <kevinb@redhat.com>
8353
8354 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8355 New procs.
8356 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8357 representing expressions, of more than one list element.
8358 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8359 to prepend linker symbol prefix to f.
8360 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8361 table_1 and table_2.
8362 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8363 Likewise, for f and g.
8364 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8365 for ptr.
8366 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8367 for main.
8368 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8369 table_1_ptr and table_2_ptr.
8370
8371 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8372 Joel Brobecker <brobecker@adacore.com>
8373
8374 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8375
8376 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8377
8378 * gdb.reverse/s390-mvcle.c: New test.
8379 * gdb.reverse/s390-mvcle.exp: New file.
8380 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8381
8382 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8383
8384 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8385
8386 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8387
8388 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8389 reaching marker2.
8390 * gdb.reverse/getresuid-reverse.exp: Likewise.
8391 * gdb.reverse/pipe-reverse.exp: Likewise.
8392 * gdb.reverse/readv-reverse.exp: Likewise.
8393 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8394 * gdb.reverse/time-reverse.exp: Likewise.
8395 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8396
8397 2015-10-30 Yao Qi <yao.qi@linaro.org>
8398
8399 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8400 (empty_cycle): Remove.
8401 (main): Don't call empty_cycle. Don't use watch_count_done.
8402 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8403 empty_cycle. Rewrite the code counting HW watchpoints.
8404
8405 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8406
8407 * gdb.reverse/fstatat-reverse.c: New test.
8408 * gdb.reverse/fstatat-reverse.exp: New file.
8409 * gdb.reverse/getresuid-reverse.c: New test.
8410 * gdb.reverse/getresuid-reverse.exp: New file.
8411 * gdb.reverse/pipe-reverse.c: New test.
8412 * gdb.reverse/pipe-reverse.exp: New file.
8413 * gdb.reverse/readv-reverse.c: New test.
8414 * gdb.reverse/readv-reverse.exp: New file.
8415 * gdb.reverse/recvmsg-reverse.c: New test.
8416 * gdb.reverse/recvmsg-reverse.exp: New file.
8417 * gdb.reverse/time-reverse.c: New test.
8418 * gdb.reverse/time-reverse.exp: New file.
8419 * gdb.reverse/waitpid-reverse.c: New test.
8420 * gdb.reverse/waitpid-reverse.exp: New file.
8421
8422 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8423
8424 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8425
8426 2015-10-26 Doug Evans <dje@google.com>
8427
8428 PR symtab/17391
8429 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8430 * gdb.dwarf2/bad-regnum.c: New file.
8431 * gdb.dwarf2/bad-regnum.exp: New file.
8432
8433 2015-10-26 Doug Evans <dje@google.com>
8434
8435 PR python/18938
8436 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8437 file.
8438
8439 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8440
8441 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8442 for a change by "Mention language in compile error message".
8443
8444 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8445
8446 PR python/18073
8447 * gdb.python/py-type.c (C::a_method): New.
8448 (C::a_const_method): New.
8449 (C::a_static_method): New.
8450 (a_function): New.
8451 * gdb.python/py-type.exp (test_fields): Test getting fields
8452 from function and method.
8453
8454 2015-10-21 Keven Boell <keven.boell@intel.com>
8455
8456 * gdb.fortran/vla-alloc-assoc.exp: New file.
8457 * gdb.fortran/vla-datatypes.exp: New file.
8458 * gdb.fortran/vla-datatypes.f90: New file.
8459 * gdb.fortran/vla-history.exp: New file.
8460 * gdb.fortran/vla-ptype-sub.exp: New file.
8461 * gdb.fortran/vla-ptype.exp: New file.
8462 * gdb.fortran/vla-sizeof.exp: New file.
8463 * gdb.fortran/vla-sub.f90: New file.
8464 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8465 * gdb.fortran/vla-value-sub-finish.exp: New file.
8466 * gdb.fortran/vla-value-sub.exp: New file.
8467 * gdb.fortran/vla-value.exp: New file.
8468 * gdb.fortran/vla-ptr-info.exp: New file.
8469 * gdb.mi/mi-vla-fortran.exp: New file.
8470 * gdb.mi/vla.f90: New file.
8471
8472 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8473
8474 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8475 of hardwired timeout value.
8476
8477 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8478 Pedro Alves <palves@redhat.com>
8479
8480 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8481 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8482
8483 2015-10-19 Josh Stone <jistone@redhat.com>
8484
8485 * gdb.base/catch-syscall.c: Include <sched.h>.
8486 (unknown_syscall): New variable.
8487 (main): Trigger a vfork and an unknown syscall.
8488 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8489 (unknown_syscall_number): Likewise.
8490 (check_call_to_syscall): Accept an optional syscall pattern.
8491 (check_return_from_syscall): Likewise.
8492 (check_continue): Likewise.
8493 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8494 (test_catch_syscall_skipping_return): New test toggling off 'catch
8495 syscall' to step over the syscall return, then toggling back on.
8496 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8497 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8498 (do_syscall_tests): Call test_catch_syscall_without_args and
8499 test_catch_syscall_mid_vfork.
8500 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8501 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8502
8503 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
8504
8505 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8506 print g_vE): Add new pass patterns.
8507 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8508 print various symbol names for vptr fields.
8509
8510 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8511
8512 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8513 results.
8514
8515 2015-10-12 Yao Qi <yao.qi@linaro.org>
8516
8517 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8518
8519 2015-10-12 Yao Qi <yao.qi@linaro.org>
8520
8521 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8522 is aarch64*-*-linux*.
8523
8524 2015-10-12 Yao Qi <yao.qi@linaro.org>
8525
8526 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8527 (can_relocate_bcond_true): ... it.
8528 (can_relocate_bcond_false): New function.
8529 (foo): Likewise.
8530 (can_relocate_bl): Likewise.
8531 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8532 can_relocate_bl.
8533
8534 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8535
8536 * gdb.base/nested-addr.c: New file.
8537 * gdb.base/nested-addr.exp: New testcase.
8538
8539 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8540
8541 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8542 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8543 its output. Ignore the output of "record goto begin" and instead
8544 check that GDB is replaying.
8545
8546 2015-10-09 Pedro Alves <palves@redhat.com>
8547
8548 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8549 (top level): Use it in the run with no args test.
8550
8551 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8552
8553 * gdb.dlang/properties.exp: New file.
8554
8555 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8556
8557 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8558 whether or not address 0x1000 is mapped on the target.
8559
8560 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8561
8562 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8563 build.
8564
8565 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8566
8567 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8568 instruction-history test.
8569
8570 2015-09-28 Doug Evans <dje@google.com>
8571
8572 * gdb.base/gcore.c (array_func): Add reference to static_array.
8573
8574 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8575
8576 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8577 source line.
8578
8579 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8580
8581 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8582 short or char as base type.
8583
8584 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8585
8586 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8587 to allow any size enum.
8588
8589 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8590
8591 * gdb.ada/array_ptr_renaming.exp: New testcase.
8592 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8593 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8594
8595 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8596
8597 * gdb.trace/ftrace-lock.c: New file.
8598 * gdb.trace/ftrace-lock.exp: New file.
8599
8600 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8601
8602 * gdb.arch/insn-reloc.c: New file.
8603 * gdb.arch/ftrace-insn-reloc.exp: New file.
8604
8605 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8606
8607 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8608 instruction.
8609 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8610 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8611 * gdb.trace/range-stepping.c: Likewise.
8612 * gdb.trace/trace-break.c: Likewise.
8613 * gdb.trace/trace-mt.c (thread_function): Likewise.
8614 * gdb.trace/ftrace.c (marker): Likewise.
8615 * gdb.trace/trace-condition.c (marker): Likewise.
8616 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8617 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8618 is_aarch64_target.
8619
8620 2015-09-18 Doug Evans <xdje42@gmail.com>
8621
8622 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8623 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8624
8625 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8626
8627 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8628 the breakpoint.
8629
8630 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8631
8632 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8633 the pending breakpoint. Remove timeout override for "Run till
8634 MI pending breakpoint on pendfunc3 on thread 2" test.
8635
8636 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8637
8638 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8639 filename pattern.
8640
8641 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8642
8643 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8644 in breakpoint filename pattern.
8645
8646 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8647
8648 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8649
8650 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8651
8652 * gdb.linespec/explicit.exp: Check for readline support for
8653 tab-completion tests. Fix obvious typo.
8654
8655 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8656
8657 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8658 and replay.
8659
8660 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8661
8662 * gdb.btrace/non-stop.c: New.
8663 * gdb.btrace/non-stop.exp: New.
8664
8665 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8666 Yao Qi <yao.qi@linaro.org>
8667
8668 * gdb.trace/trace-condition.c: New file.
8669 * gdb.trace/trace-condition.exp: New file.
8670
8671 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
8672
8673 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8674 for testing bytecode compilation.
8675
8676 2015-09-16 Pedro Alves <palves@redhat.com>
8677 Sandra Loosemore <sandra@codesourcery.com>
8678
8679 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8680 (SECONDS): Redefine.
8681 (main): Call pthread_kill and alarm early.
8682 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8683 support.
8684 (test): If the target can't hardware step and doesn't support
8685 displaced stepping, increase the timeout.
8686
8687 2015-09-16 Pedro Alves <palves@redhat.com>
8688
8689 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8690 (enable_debug): New procedures.
8691 (test): Use them. Bail out if waiting for threads fails.
8692 (top level): Bail out if a test fails.
8693
8694 2015-09-16 Yao Qi <yao.qi@linaro.org>
8695
8696 * gdb.asm/asm-source.exp: Set asm-arch for
8697 aarch64*-*-* target.
8698 * gdb.asm/aarch64.inc: New file.
8699
8700 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8701
8702 * gdb.ada/array_of_variable_length.exp: New testcase.
8703 * gdb.ada/array_of_variable_length/foo.adb: New file.
8704 * gdb.ada/array_of_variable_length/pck.adb: New file.
8705 * gdb.ada/array_of_variable_length/pck.ads: New file.
8706
8707 2015-09-15 Doug Evans <dje@google.com>
8708
8709 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8710 of function static local variable.
8711
8712 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8713
8714 * gdb.threads/tls-so_extern.exp: New test file.
8715 * gdb.threads/tls-so_extern.c: New test file.
8716 * gdb.threads/tls-so_extern_main.c: New test file.
8717
8718 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8719
8720 * gdb.opt/solib-intra-step-lib.c: New file.
8721 * gdb.opt/solib-intra-step-main.c: New file.
8722 * gdb.opt/solib-intra-step.exp: New file.
8723
8724 2015-09-15 Pedro Alves <palves@redhat.com>
8725
8726 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8727 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8728
8729 2015-09-14 Pedro Alves <palves@redhat.com>
8730
8731 * gdb.base/hook-stop-continue.c: Delete.
8732 * gdb.base/hook-stop-continue.exp: Delete.
8733 * gdb.base/hook-stop-frame.c: Delete.
8734 * gdb.base/hook-stop-frame.exp: Delete.
8735 * gdb.base/hook-stop.c: New file.
8736 * gdb.base/hook-stop.exp: New file.
8737
8738 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8739
8740 * gdb.ada/access_to_packed_array.exp: New testcase.
8741 * gdb.ada/access_to_packed_array/foo.adb: New file.
8742 * gdb.ada/access_to_packed_array/pack.adb: New file.
8743 * gdb.ada/access_to_packed_array/pack.ads: New file.
8744
8745 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8746
8747 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8748 buffer size test.
8749
8750 2015-09-11 Don Breazeal <donb@codesourcery.com>
8751
8752 * gdb.base/foll-exec.c: Add copyright header. Fix
8753 formatting issues.
8754 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8755 (do_exec_tests): Use clean_restart in place of zap_session,
8756 and for test initialization. Fix formatting issues. Use
8757 fail in place of perror.
8758 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8759 an expect statement to match an expression with output from
8760 the program under debug.
8761 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8762 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8763 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8764 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8765 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8766
8767 2015-09-09 Doug Evans <dje@google.com>
8768
8769 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8770
8771 2015-09-09 Doug Evans <dje@google.com>
8772
8773 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8774
8775 2015-09-09 Doug Evans <dje@google.com>
8776
8777 * gdb.base/savedregs.exp: Fix typo.
8778
8779 2015-09-09 Pedro Alves <palves@redhat.com>
8780
8781 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8782
8783 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8784
8785 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8786 command actually switches threads. Give up on remaining
8787 tests if target fails to stop at breakpoint.
8788
8789 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8790
8791 * gdb.ada/funcall_char.exp: New testcase.
8792 * gdb.ada/funcall_char/foo.adb: New file.
8793
8794 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8795
8796 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8797 expected outputs. Add two testcases for completing ambiguous
8798 functions.
8799 * gdb.ada/complete/aux_pck.adb: New file.
8800 * gdb.ada/complete/aux_pck.ads: New file.
8801 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8802 Ambiguous_Func functions.
8803 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8804 * gdb.ada/complete/pck.adb: Likewise.
8805
8806 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8807
8808 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8809 failures to run the test program under GDB.
8810
8811 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
8812
8813 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8814 to C.
8815
8816 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8817
8818 * gdb.base/run-after-attach.exp: New test file.
8819 * gdb.base/run-after-attach.c: New test file.
8820
8821 2015-08-26 Don Breazeal <donb@codesourcery.com>
8822
8823 * gdb.base/foll-exec-2.c: New test program.
8824 * gdb.base/foll-exec-2.exp: New test.
8825
8826 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8827
8828 * gdb.base/nested-subp1.exp: New file.
8829 * gdb.base/nested-subp1.c: New file.
8830 * gdb.base/nested-subp2.exp: New file.
8831 * gdb.base/nested-subp2.c: New file.
8832 * gdb.base/nested-subp3.exp: New file.
8833 * gdb.base/nested-subp3.c: New file.
8834
8835 2015-08-24 Pedro Alves <palves@redhat.com>
8836
8837 * gdb.server/connect-without-multi-process.c: New file.
8838 * gdb.server/connect-without-multi-process.exp: New file.
8839
8840 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8841
8842 * gdb.opt/inline-markers.c: Make z int.
8843
8844 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8845
8846 * gdb.opt/inline-markers.c: Make z volatile.
8847
8848 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8849
8850 * gdb.opt/inline-bt.c: New volatile global z.
8851 * gdb.opt/inline-cmds.c: Likewise.
8852 * gdb.opt/inline-locals.c: Likewise.
8853 * gdb.opt/inline-markers.c: New extern global z.
8854 (marker): Use z.
8855 (inline_fn): Likewise.
8856
8857 2015-08-24 Pedro Alves <palves@redhat.com>
8858
8859 * config/m32r-stub.exp: Remove file.
8860 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8861 * gdb.base/call-rt-st.exp: Likewise.
8862 * gdb.base/call-strs.exp: Likewise.
8863 * gdb.base/default.exp: Remove references to h8300-*-hms and
8864 *-*-udi*.
8865 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8866
8867 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8868
8869 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8870 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
8871 and "return" use KFAIL when GDB can not read/write the vector
8872 return value.
8873
8874 2015-08-21 Gary Benson <gbenson@redhat.com>
8875
8876 * gdb.trace/pending.exp: Cope with remote transfer warnings.
8877
8878 2015-08-20 Pedro Alves <palves@redhat.com>
8879
8880 * gdb.server/solib-list.exp: No longer expect an interior stop in
8881 non-stop mode.
8882
8883 2015-08-20 Pedro Alves <palves@redhat.com>
8884
8885 * gdb.server/connect-stopped-target.c: New file.
8886 * gdb.server/connect-stopped-target.exp: New file.
8887
8888 2015-08-20 Pedro Alves <palves@redhat.com>
8889
8890 * gdb.dwarf2/comp-unit-lang.exp: New file.
8891 * gdb.dwarf2/comp-unit-lang.c: New file.
8892
8893 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
8894
8895 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8896 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8897
8898 2015-08-19 Kevin Buettner <kevinb@redhat.com>
8899
8900 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8901 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8902
8903 2015-08-18 Doug Evans <dje@google.com>
8904 Adrian Sendroiu <adrian.sendroiu@freescale.com>
8905
8906 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8907 skip_python_tests. New arg prompt_regexp.
8908 (skip_python_tests): New function.
8909 * lib/mi-support.exp (mi_skip_python_tests): New function.
8910 * gdb.python/py-mi-objfile-gdb.py: New file.
8911 * gdb.python/py-mi-objfile.c: New file.
8912 * gdb.python/py-mi-objfile.exp: New file.
8913
8914 2015-08-17 Keith Seitz <keiths@redhat.com>
8915
8916 * gdb.linespec/explicit.exp: Move strace test from here ...
8917 * gdb.trace/strace.exp: ... to here.
8918
8919 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8920
8921 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8922 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8923
8924 2015-08-14 Doug Evans <xdje42@gmail.com>
8925
8926 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8927 inferior before selecting a new file.
8928
8929 2015-08-14 Doug Evans <xdje42@gmail.com>
8930
8931 * gdb.mi/mi-disassemble.exp: Update.
8932 * gdb.base/disasm-optim.S: New file.
8933 * gdb.base/disasm-optim.c: New file.
8934 * gdb.base/disasm-optim.h: New file.
8935 * gdb.base/disasm-optim.exp: New file.
8936
8937 2015-08-14 Keith Seitz <keiths@redhat.com>
8938
8939 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8940 "evaluated-by".
8941
8942 2015-08-13 Joel Brobecker <brobecker@adacore.com>
8943
8944 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8945
8946 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8947
8948 * gdb.ada/fun_renaming.exp: New testcase.
8949 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8950 * gdb.ada/fun_renaming/pack.adb: New file.
8951 * gdb.ada/fun_renaming/pack.ads: New file.
8952
8953 2015-08-12 Keith Seitz <keiths@redhat.com>
8954
8955 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8956 gdb_get_line_number.
8957
8958 2015-08-12 Joel Brobecker <brobecker@adacore.com>
8959
8960 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8961 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8962 gdb.base/dso2dso.exp: New files.
8963
8964 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8965 Pedro Alves <palves@redhat.com>
8966 Keith Seitz <keiths@redhat.com>
8967
8968 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8969 GDBFLAGS.
8970
8971 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8972
8973 * gdb.base/gdbhistsize-history.exp
8974 (test_histsize_history_setting): Use save_vars.
8975 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8976 Use save_vars.
8977 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8978 * gdb.base/readline.exp: Use save_vars.
8979
8980 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8981
8982 * lib/gdb.exp (save_vars): New proc.
8983
8984 2015-08-11 Keith Seitz <keiths@redhat.com>
8985
8986 * gdb.base/help.exp: Update help_breakpoint_text.
8987
8988 2015-08-11 Keith Seitz <keiths@redhat.com>
8989
8990 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8991 (at toplevel): Call test_explicit_breakpoints.
8992 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8993 breakpoints.
8994 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8995 breakpoint conditions, "-cond".
8996
8997 2015-08-11 Keith Seitz <keiths@redhat.com>
8998
8999 * gdb.linespec/3explicit.c: New file.
9000 * gdb.linespec/cpexplicit.cc: New file.
9001 * gdb.linespec/cpexplicit.exp: New file.
9002 * gdb.linespec/explicit.c: New file.
9003 * gdb.linespec/explicit.exp: New file.
9004 * gdb.linespec/explicit2.c: New file.
9005 * gdb.linespec/ls-errs.exp: Add explicit location tests.
9006 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9007 before using in the matching pattern.
9008 Clarify that `prefix' is a regular expression.
9009
9010 2015-08-11 Keith Seitz <keiths@redhat.com>
9011
9012 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9013 test.
9014 Add tests for missing ",FMT" and ",".
9015
9016 2015-08-10 Doug Evans <dje@google.com>
9017 Keith Seitz <keiths@redhat.com>
9018
9019 PR gdb/17960
9020 * gdb.base/completion.exp: Add location completer tests.
9021
9022 2015-08-07 Pedro Alves <palves@redhat.com>
9023
9024 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9025 tests here.
9026 (top level): Run do_test with and without displaced stepping.
9027
9028 2015-08-07 Pedro Alves <palves@redhat.com>
9029
9030 * gdb.base/valgrind-disp-step.c: New file.
9031 * gdb.base/valgrind-disp-step.exp: New file.
9032
9033 2015-08-07 Pedro Alves <palves@redhat.com>
9034
9035 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9036 Delete function.
9037 (main): Add alarm. Run an infinite loop instead of calling
9038 wait_threads.
9039 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9040 comment.
9041 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9042 Delete function.
9043 (main): Add alarm. Run an infinite loop instead of calling
9044 wait_threads.
9045 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9046 comment.
9047
9048 2015-08-07 Pedro Alves <palves@redhat.com>
9049
9050 * gdb.base/checkpoint-ns.exp: New file.
9051 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9052 standard_testfile.
9053
9054 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
9055
9056 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9057 * gdb.btrace/instruction_history.exp: Update.
9058 * gdb.btrace/tsx.exp: New.
9059 * gdb.btrace/tsx.c: New.
9060
9061 2015-08-06 Pedro Alves <palves@redhat.com>
9062
9063 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9064 increase timeout.
9065 * gdb.reverse/until-precsave.exp: Bump timeouts.
9066
9067 2015-08-06 Pedro Alves <palves@redhat.com>
9068
9069 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9070
9071 2015-08-06 Pedro Alves <palves@redhat.com>
9072
9073 PR gdb/18749
9074 * gdb.threads/process-dies-while-handling-bp.c: New file.
9075 * gdb.threads/process-dies-while-handling-bp.exp: New file.
9076
9077 2015-08-06 Pedro Alves <palves@redhat.com>
9078
9079 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9080 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9081
9082 2015-08-05 Pedro Alves <palves@redhat.com>
9083
9084 * gdb.threads/next-while-other-thread-longjmps.c: New file.
9085 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9086
9087 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
9088
9089 * gdb.base/bp-permanent.exp: Report test as unsupported if
9090 the target cannot stop at the permanent breakpoint.
9091
9092 2015-08-03 Doug Evans <dje@google.com>
9093
9094 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9095 10000.
9096
9097 2015-08-03 Doug Evans <dje@google.com>
9098
9099 * Makefile.in (workers/%.worker, build-perf): New rule.
9100 (GDB_PERFTEST_MODE): New variable.
9101 (check-perf): Use it.
9102 (clean): Clean up gdb.perf parallel build subdirs.
9103 * lib/build-piece.exp: New file.
9104 * lib/gdb.exp (make_gdb_parallel_path): New function
9105 (standard_output_file, standard_temp_file): Call it.
9106 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9107 of $GDB_PARALLEL.
9108 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9109
9110 2015-08-03 Doug Evans <dje@google.com>
9111
9112 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9113 (LOG_FILE_NAME): New global.
9114 (TextReporter.__init__): Initialize self.txt_sum.
9115 (TextReporter.report): Add support for multiple data-points.
9116 Move report to perftest.sum, put raw data in perftest.log.
9117 (TextReporter.start): Open sum and log files.
9118 (TextReporter.end): Close sum and log files.
9119 * gdb.perf/lib/perftest/testresult.py
9120 (SingleStatisticTestResult.record): Handle multiple data-points.
9121
9122 2015-07-31 Pedro Alves <palves@redhat.com>
9123
9124 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9125 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9126 kill_wait_spawned_process instead of explicit "kill -9".
9127 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9128 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9129 kill_wait_spawned_process.
9130 * gdb.base/attach-twice.exp: Likewise.
9131 * gdb.base/attach.exp: Likewise.
9132 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9133 gdb_test_multiple.
9134 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9135 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9136 kill_wait_spawned_process.
9137 * gdb.base/valgrind-infcall.exp: Likewise.
9138 * gdb.multi/multi-attach.exp: Likewise.
9139 * gdb.python/py-prompt.exp: Likewise.
9140 * gdb.python/py-sync-interp.exp: Likewise.
9141 * gdb.server/ext-attach.exp: Likewise.
9142 * gdb.threads/attach-into-signal.exp (corefunc): Use
9143 spawn_wait_for_attach, spawn_id_get_pid and
9144 kill_wait_spawned_process.
9145 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9146 spawn_wait_for_attach returning a spawn id instead of a pid. Use
9147 spawn_id_get_pid and kill_wait_spawned_process.
9148 * gdb.threads/attach-stopped.exp (corefunc): Use
9149 spawn_wait_for_attach, spawn_id_get_pid and
9150 kill_wait_spawned_process.
9151 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9152 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9153 kill_wait_spawned_process instead of explicit "kill -9".
9154 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9155 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9156 (spawn_wait_for_attach): Use spawn instead of exec to spawn
9157 processes. Don't map cygwin/windows pids here. Now returns a
9158 spawn id list.
9159
9160 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9161
9162 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9163 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9164 correct patch.
9165
9166 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9167
9168 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9169
9170 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9171
9172 Reapply:
9173 2014-05-21 Mark Wielaard <mjw@redhat.com>
9174
9175 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9176
9177 2015-07-30 Pedro Alves <palves@redhat.com>
9178
9179 * linux-low.c (handle_extended_wait): Set the child's last
9180 reported status to TARGET_WAITKIND_STOPPED.
9181
9182 2015-07-30 Pedro Alves <palves@redhat.com>
9183
9184 PR threads/18600
9185 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9186 only shows inferior 1.
9187
9188 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
9189 Pedro Alves <palves@redhat.com>
9190
9191 PR threads/18600
9192 * gdb.threads/fork-plus-threads.c: New file.
9193 * gdb.threads/fork-plus-threads.exp: New file.
9194
9195 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9196
9197 * gdb.base/batch-preserve-term-settings.exp
9198 (test_terminal_settings_preserved_after_cli_exit): Use
9199 send_quit_command.
9200
9201 2015-07-29 Pedro Alves <palves@redhat.com>
9202 Don Breazeal <donb@codesourcery.com>
9203
9204 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9205 output from both inferior_spawn_id and gdb_spawn_id.
9206
9207 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9208
9209 * gdb.threads/attach-into-signal.exp (corefunc): Use
9210 with_test_prefix on nested loops, uniquefying the test messages.
9211
9212 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9213
9214 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9215 commit.
9216
9217 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9218
9219 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9220 New proc.
9221 (test_terminal_settings_preserved_after_sigterm): New test.
9222
9223 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9224
9225 * gdb.base/batch-preserve-term-settings.exp
9226 (test_terminal_settings_preserved_after_cli_exit): New test.
9227
9228 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9229
9230 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9231 manipulation of saved_gdbflags.
9232 (test_terminal_settings_preserved): Remove global declaration of
9233 the unused variable pagination_prompt. Remove manipulation of
9234 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
9235 GDBFLAGS.
9236
9237 2015-07-29 Pedro Alves <palves@redhat.com>
9238
9239 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9240
9241 2015-07-29 Pedro Alves <palves@redhat.com>
9242
9243 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9244 at the top.
9245
9246 2015-07-29 Pedro Alves <palves@redhat.com>
9247
9248 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9249 (main): Call gdb_unbuffer_output.
9250 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9251 (main): Call gdb_unbuffer_output.
9252 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9253 (main): Call gdb_unbuffer_output.
9254 * gdb.base/call-strs.exp: Adjust to step over the
9255 gdb_unbuffer_output call.
9256 * gdb.base/catch-gdb-caused-signals.c: Include
9257 "../lib/unbuffer_output.c".
9258 (main): Call gdb_unbuffer_output.
9259 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9260 (main): Call gdb_unbuffer_output.
9261 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9262 (main): Call gdb_unbuffer_output.
9263 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9264 (main): Call gdb_unbuffer_output.
9265 * gdb.base/shlib-call.exp: Adjust to step over the
9266 gdb_unbuffer_output call.
9267 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9268 (main): Call gdb_unbuffer_output.
9269 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9270 (main): Call gdb_unbuffer_output.
9271 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9272 (main): Rename to ...
9273 (test): ... this.
9274 (main): Reimplement.
9275 * gdb.base/varargs.exp: Run to test instead of to main.
9276 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9277 (main): Call gdb_unbuffer_output.
9278
9279 2015-07-29 Pedro Alves <palves@redhat.com>
9280
9281 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9282 factore out from mi_continue_dprintf. For call-style dprintfs,
9283 expect dprintf output out of $inferior_spawn_id.
9284 (mi_continue_dprintf): Use mi_expect_dprintf.
9285 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9286 (main): Call gdb_unbuffer_output.
9287
9288 2015-07-29 Pedro Alves <palves@redhat.com>
9289
9290 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9291 (default_mi_gdb_start): Set inferior_spawn_id instead of
9292 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
9293 gdb_spawn_id.
9294 (mi_gdb_test): Always expect inferior output from both
9295 $inferior_spawn_id and $gdb_spawn_id.
9296
9297 2015-07-29 Pedro Alves <palves@redhat.com>
9298
9299 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
9300 send_inferior and $inferior_spawn_id.
9301
9302 2015-07-29 Pedro Alves <palves@redhat.com>
9303
9304 * gdb.gdb/complaints.exp (test_initial_complaints)
9305 (test_serial_complaints, test_short_complaints): Use
9306 gdb_test_stdio.
9307 (test_empty_complaint): Handle $inferior_spawn_id !=
9308 $gdb_spawn_id.
9309
9310 2015-07-29 Pedro Alves <palves@redhat.com>
9311
9312 * gdb.base/varargs.exp: Use gdb_test_stdio.
9313
9314 2015-07-29 Pedro Alves <palves@redhat.com>
9315
9316 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9317
9318 2015-07-29 Pedro Alves <palves@redhat.com>
9319
9320 * gdb.base/ending-run.exp: Use gdb_test_stdio.
9321
9322 2015-07-29 Pedro Alves <palves@redhat.com>
9323
9324 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9325 parameter into two new parameters, "inf_result" and "gdb_result".
9326 Expect inferior output and gdb output from $inferior_spawn_id and
9327 $gdb_spawn_id, respectively. Adjust all callers.
9328
9329 2015-07-29 Pedro Alves <palves@redhat.com>
9330
9331 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9332 of gdb_test_sequence.
9333
9334 2015-07-29 Pedro Alves <palves@redhat.com>
9335
9336 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9337 (saw_spurious_output): Expect inferior output from
9338 $inferior_spawn_id. Use gdb_test_stdio.
9339
9340 2015-07-29 Pedro Alves <palves@redhat.com>
9341
9342 * gdb.base/dprintf.exp: Use standard_testfile. Change
9343 prepare_for_testing call.
9344 (srcfile): Don't set.
9345 (restart): New procedure.
9346 (test_dprintf): New procecure, use to continue over dprintfs.
9347 (test_call, test_agent): New procedures, tests moved here.
9348 Restart gdb and recreate dprintfs. Adjust expected output.
9349
9350 2015-07-29 Pedro Alves <palves@redhat.com>
9351
9352 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9353
9354 2015-07-29 Pedro Alves <palves@redhat.com>
9355
9356 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9357
9358 2015-07-29 Pedro Alves <palves@redhat.com>
9359
9360 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9361 gdb_test_stdio.
9362
9363 2015-07-29 Pedro Alves <palves@redhat.com>
9364
9365 * lib/gdb.exp (gdb_test_stdio): New procedure.
9366
9367 2015-07-29 Pedro Alves <palves@redhat.com>
9368
9369 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9370
9371 2015-07-29 Pedro Alves <palves@redhat.com>
9372
9373 * gdb.base/call-signal-resume.exp: Remove check for
9374 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9375 * gdb.base/unwindonsignal.exp: Likewise.
9376 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9377 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9378
9379 2015-07-29 Pedro Alves <palves@redhat.com>
9380
9381 * gdb.base/siginfo-addr.c (pass): New function.
9382 (handler): Call it iff si_addr is correct.
9383 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9384 Set a breakpoint at "pass" and continue to it.
9385
9386 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9387
9388 * gdb.python/py-objfile.exp: Make some tests have unique names.
9389 * gdb.python/py-pp-registration.exp: Likewise.
9390
9391 2015-07-28 Pedro Alves <palves@redhat.com>
9392
9393 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9394
9395 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9396
9397 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9398
9399 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9400
9401 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9402
9403 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9404
9405 * gdb.base/gdb-sigterm-2.exp: New test.
9406
9407 2015-07-25 Doug Evans <xdje42@gmail.com>
9408
9409 Revert:
9410 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9411 (workers/%.worker, build-perf): New rule.
9412 (GDB_PERFTEST_MODE): New variable.
9413 (check-perf): Use it.
9414 (clean): Clean up gdb.perf parallel build subdirs.
9415 * lib/build-piece.exp: New file.
9416 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9417 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9418 name.
9419 (standard_temp_file): Ditto.
9420 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9421 of $GDB_PARALLEL.
9422
9423 2015-07-24 Doug Evans <dje@google.com>
9424
9425 * gdb.perf/lib/perftest/utils.py: New file.
9426 * gdb.perf/gm-hello.cc: New file.
9427 * gdb.perf/gm-pervasive-typedef.cc: New file.
9428 * gdb.perf/gm-pervasive-typedef.h: New file.
9429 * gdb.perf/gm-std.cc: New file.
9430 * gdb.perf/gm-std.h: New file.
9431 * gdb.perf/gm-use-cerr.cc: New file.
9432 * gdb.perf/gm-utils.h: New file.
9433 * gdb.perf/gmonster-null-lookup.py: New file.
9434 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9435 * gdb.perf/gmonster-print-cerr.py: New file.
9436 * gdb.perf/gmonster-ptype-string.py: New file.
9437 * gdb.perf/gmonster-runto-main.py: New file.
9438 * gdb.perf/gmonster-select-file.py: New file.
9439 * gdb.perf/gmonster1-null-lookup.exp: New file.
9440 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9441 * gdb.perf/gmonster1-print-cerr.exp: New file.
9442 * gdb.perf/gmonster1-ptype-string.exp: New file.
9443 * gdb.perf/gmonster1-runto-main.exp: New file.
9444 * gdb.perf/gmonster1-select-file.exp: New file.
9445 * gdb.perf/gmonster1.cc: New file.
9446 * gdb.perf/gmonster1.exp: New file.
9447 * gdb.perf/gmonster2-null-lookup.exp: New file.
9448 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9449 * gdb.perf/gmonster2-print-cerr.exp: New file.
9450 * gdb.perf/gmonster2-ptype-string.exp: New file.
9451 * gdb.perf/gmonster2-runto-main.exp: New file.
9452 * gdb.perf/gmonster2-select-file.exp: New file.
9453 * gdb.perf/gmonster2.cc: New file.
9454 * gdb.perf/gmonster2.exp: New file.
9455
9456 2015-07-24 Doug Evans <dje@google.com>
9457
9458 * gdb.perf/README: New file.
9459 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9460 * lib/gen-perf-test.exp: New file.
9461
9462 2015-07-24 Doug Evans <dje@google.com>
9463
9464 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9465 (PerfTest::startup): New function.
9466 (PerfTest::run): Return result of calling body.
9467 (PerfTest::assemble): Rewrite.
9468 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9469 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9470 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9471 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9472 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9473
9474 2015-07-24 Doug Evans <dje@google.com>
9475
9476 * lib/gdb.exp (clean_restart): Make executable optional.
9477
9478 2015-07-24 Doug Evans <dje@google.com>
9479
9480 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9481 compiler_info references.
9482 * gdb.cp/temargs.exp: Ditto.
9483 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9484 (get_compiler_info): Early exit if already computed. Set compiler_info
9485 to "unknown" if there was a problem.
9486 (test_compiler_info): Add function comment. Call get_compiler_info.
9487
9488 2015-07-24 Doug Evans <dje@google.com>
9489
9490 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9491 (workers/%.worker, build-perf): New rule.
9492 (GDB_PERFTEST_MODE): New variable.
9493 (check-perf): Use it.
9494 (clean): Clean up gdb.perf parallel build subdirs.
9495 * lib/build-piece.exp: New file.
9496 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9497 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9498 name.
9499 (standard_temp_file): Ditto.
9500 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9501 of $GDB_PARALLEL.
9502
9503 2015-07-24 Doug Evans <dje@google.com>
9504
9505 * lib/future.exp (gdb_default_target_compile): New option
9506 "early_flags".
9507 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9508 --as-needed.
9509
9510 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9511
9512 * gdb.base/catch-syscall.exp: Call gdb_exit before
9513 gdb_skip_xml_test.
9514
9515 2015-07-24 Pedro Alves <palves@redhat.com>
9516
9517 * gdb.python/py-events.exp: Accept output between the stop event
9518 and the prompt.
9519 * gdb.python/py-evsignal.exp: Likewise.
9520 * gdb.python/py-evthreads.exp: Likewise.
9521
9522 2015-07-24 Pedro Alves <palves@redhat.com>
9523
9524 PR gdb/18717
9525 * gdb.threads/non-ldr-exit.c: New file.
9526 * gdb.threads/non-ldr-exit.exp: New file.
9527
9528 2015-07-24 Yao Qi <yao.qi@linaro.org>
9529
9530 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9531 restarting process.
9532
9533 2015-07-24 Yao Qi <yao.qi@linaro.org>
9534
9535 * gdb.server/ext-restart.exp: New file.
9536
9537 2015-07-24 Yao Qi <yao.qi@linaro.org>
9538
9539 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9540 argument options.
9541 * gdb.server/ext-wrapper.exp: New file.
9542
9543 2015-07-23 Doug Evans <dje@google.com>
9544
9545 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9546 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9547
9548 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9549
9550 * gdb.ada/var_arr_typedef.exp: New testcase.
9551 * gdb.ada/var_arr_typedef/pack.adb: New file.
9552 * gdb.ada/var_arr_typedef/pack.ads: New file.
9553 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9554
9555 2015-07-20 Joel Brobecker <brobecker@adacore.com>
9556
9557 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9558
9559 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9560
9561 * gdb.arch/i386-biarch-core.exp: Replace istarget
9562 by "complete set gnutarget". Remove expectation for the "core-file"
9563 command.
9564
9565 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9566
9567 Revert the previous commit:
9568 Tests for validate symbol file using build-id.
9569
9570 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9571
9572 Tests for validate symbol file using build-id.
9573 * gdb.base/solib-mismatch-lib.c: New file.
9574 * gdb.base/solib-mismatch-libmod.c: New file.
9575 * gdb.base/solib-mismatch.c: New file.
9576 * gdb.base/solib-mismatch.exp: New file.
9577
9578 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9579
9580 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9581 nios2-*-linux*.
9582 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9583 * gdb.base/siginfo.exp: Likewise.
9584 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9585
9586 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9587
9588 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9589 Move it to ...
9590 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9591 ... here.
9592 * gdb.trace/range-stepping.exp: Check that the target supports
9593 range stepping.
9594
9595 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9596
9597 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9598
9599 2015-07-14 Pedro Alves <palves@redhat.com>
9600
9601 * gdb.base/killed-outside.exp: New file.
9602 * gdb.base/killed-outside.c: New file.
9603
9604 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9605
9606 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9607 (n at main): New.
9608 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9609
9610 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9611
9612 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9613 infcall tests instead of setting up for KFAIL.
9614
9615 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9616
9617 * gdb.btrace/record_goto-step.exp: New.
9618
9619 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9620
9621 PR compile/18484
9622 * gdb.compile/compile.c (struct struct_type): Add volatile to
9623 selffield's type.
9624 * gdb.compile/compile.exp
9625 (compile code struct_object.selffield = &struct_object): Skip further
9626 struct_object tests if this one xfails.
9627
9628 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
9629
9630 PR exp/18617
9631 * gdb.trace/ax.exp: Add test.
9632
9633 2015-07-07 Yao Qi <yao.qi@linaro.org>
9634
9635 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9636 instead of istarget "aarch64*-*-*".
9637 * gdb.arch/aarch64-fp.exp: Likewise.
9638 * gdb.base/float.exp: Likewise.
9639 * gdb.reverse/aarch64.exp: Likewise.
9640 * lib/gdb.exp (is_aarch64_target): New proc.
9641
9642 2015-07-07 Yao Qi <yao.qi@linaro.org>
9643
9644 * lib/gdb.exp (is_aarch32_target): New proc.
9645 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9646 instead of "istarget "arm*-*-*"".
9647 * gdb.arch/arm-disp-step.exp: Likewise.
9648 * gdb.arch/thumb-bx-pc.exp: Likewise.
9649 * gdb.arch/thumb-prologue.exp: Likewise.
9650 * gdb.arch/thumb-singlestep.exp: Likewise.
9651 * gdb.base/disp-step-syscall.exp: Likewise.
9652 * gdb.base/float.exp: Likewise.
9653
9654 2015-07-07 Yao Qi <yao.qi@linaro.org>
9655
9656 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9657 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9658
9659 2015-07-07 Yao Qi <yao.qi@linaro.org>
9660
9661 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9662 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9663 if it exists.
9664 * gdb.multi/multi-arch.exp: Likewise.
9665
9666 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9667
9668 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9669 print.
9670
9671 2015-07-07 Yao Qi <yao.qi@linaro.org>
9672
9673 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9674
9675 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9676
9677 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9678 '[' and ']' characters.
9679
9680 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9681
9682 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9683
9684 2015-06-29 Pedro Alves <palves@redhat.com>
9685
9686 PR threads/18127
9687 * gdb.threads/hand-call-new-thread.c: New file.
9688 * gdb.threads/hand-call-new-thread.c: New file.
9689
9690 2015-06-26 Keith Seitz <keiths@redhat.com>
9691 Doug Evans <dje@google.com>
9692
9693 PR 16253
9694 * gdb.cp/var-tag-2.cc: New file.
9695 * gdb.cp/var-tag-3.cc: New file.
9696 * gdb.cp/var-tag-4.cc: New file.
9697 * gdb.cp/var-tag.cc: New file.
9698 * gdb.cp/var-tag.exp: New file.
9699
9700 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9701
9702 * gdb.base/history-duplicates.exp: New test.
9703
9704 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9705
9706 * gdb.base/completion.exp: Test the completion of the "focus"
9707 command.
9708
9709 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9710
9711 * gdb.arch/amd64-prologue-skip.S: New file.
9712 * gdb.arch/amd64-prologue-skip.exp: New file.
9713
9714 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9715
9716 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9717 is_address_zero_readable check.
9718
9719 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9720
9721 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9722 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9723
9724 2015-06-24 Yao Qi <yao.qi@linaro.org>
9725
9726 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9727 linux targets.
9728
9729 2015-06-24 Yao Qi <yao.qi@linaro.org>
9730
9731 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9732 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9733 * gdb.base/siginfo-thread.exp: Likewise.
9734
9735 2015-06-22 Yao Qi <yao.qi@linaro.org>
9736
9737 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9738
9739 2015-06-22 Yao Qi <yao.qi@linaro.org>
9740
9741 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9742 aarch64*-*-*.
9743 (skip_hw_watchpoint_tests): Likewise.
9744
9745 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9746
9747 * gdb.base/gdbinit-history.exp: Test the interaction between
9748 setting GDBHISTSIZE and setting the history size via .gdbinit.
9749
9750 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9751
9752 PR gdb/16999
9753 * gdb.base/gdbhistsize-history.exp: New test.
9754
9755 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9756
9757 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9758 with GDBHISTSIZE.
9759 * gdb.base/readline.exp: Likewise.
9760
9761 2015-06-17 Yao Qi <yao.qi@linaro.org>
9762
9763 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9764 line.
9765
9766 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9767
9768 * gdb.base/gdbinit-history.exp: Add test case to check that
9769 an unlimited history file does not get truncated on exit.
9770
9771 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9772
9773 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9774 (VECTOR): New macro. Use it...
9775 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9776 ...for these typedefs.
9777 (int8, char1, int1, double1): New typedefs.
9778 (struct just_int2, struct two_int2): New structures.
9779 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9780 (add_structvecs, add_singlevecs): New functions.
9781 (main): Call add_some_intvecs twice.
9782 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9783 the compile and exit upon failure. Try compiling for the "native"
9784 architecture. Test inferior function calls with vector arguments
9785 and vector return value handling with "finish" and "return".
9786
9787 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9788
9789 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9790 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9791 PE file.
9792 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9793
9794 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9795
9796 PR breakpoints/16465
9797 * gdb.mi/mi-dprintf-pending.c: New file.
9798 * gdb.mi/mi-dprintf-pending.exp: New test.
9799 * gdb.mi/mi-dprintf-pendshr.c: New file.
9800
9801 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9802 Mircea Gherzan <mircea.gherzan@intel.com>
9803
9804 * gdb.arch/i386-mpx-map.c: New file.
9805 * gdb.arch/i386-mpx-map.exp: New File.
9806
9807 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9808
9809 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9810 * gdb.arch/i386-mpx.exp: Indentation fixed.
9811
9812 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9813
9814 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9815 function and improved indentation.
9816 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9817 gdb_test_multiple. Added additional tests to skip the test.
9818
9819 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9820
9821 * gdb.arch/i386-avx512.c: Change path in include file.
9822 * gdb.arch/i386-avx512.exp: Change include dir path
9823 compilation flag.
9824 * gdb.arch/i386-mpx.c: Change path in include file.
9825 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9826 flag.
9827
9828 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9829
9830 * gdb.compile/compile-print.exp (compile print *vararray@3)
9831 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9832
9833 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9834
9835 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9836 (do not keep jit in memory): ... this.
9837 (expect 5): Change it to ...
9838 (expect no 5): ... this.
9839
9840 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9841
9842 PR gdb/15564
9843 * gdb.mi/mi-detach.exp: New file.
9844
9845 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9846
9847 PR symtab/18392
9848 * gdb.arch/amd64-tailcall-self.S: New file.
9849 * gdb.arch/amd64-tailcall-self.c: New file.
9850 * gdb.arch/amd64-tailcall-self.exp: New file.
9851
9852 2015-05-28 Don Breazeal <donb@codesourcery.com>
9853
9854 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9855 tests for remote targets by checking is_target_gdbserver.
9856
9857 2015-05-27 Doug Evans <dje@google.com>
9858
9859 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9860 * gdb.dwarf2/opaque-type-lookup.c: New file.
9861 * gdb.dwarf2/opaque-type-lookup.exp: New file.
9862
9863 2015-05-26 Doug Evans <dje@google.com>
9864
9865 * gdb.cp/iostream.cc: New file.
9866 * gdb.cp/iostream.exp: New file.
9867
9868 2015-05-26 Doug Evans <dje@google.com>
9869
9870 * gdb.dwarf2/dw2-op-call.exp: Update.
9871 * gdb.dwarf2/dw4-sig-types.exp: Update.
9872 * gdb.dwarf2/implptr.exp: Update.
9873 * gdb.mi/mi-cmd-param-changed.exp: Update.
9874
9875 2015-05-26 Doug Evans <dje@google.com>
9876
9877 * gdb.python/py-lazy-string.c: New file.
9878 * gdb.python/py-lazy-string.exp: New file.
9879 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9880 (main): Update. Add estring3.
9881 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9882 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9883
9884 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9885 Yao Qi <yao.qi@linaro.org>
9886
9887 * gdb.reverse/aarch64.c: New.
9888 * gdb.reverse/aarch64.exp: New.
9889
9890 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9891
9892 * lib/gdb.exp (supports_process_record): Return true for
9893 aarch64*-linux*.
9894 (supports_reverse): Likewise.
9895
9896 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
9897
9898 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9899 Use with_test_prefix.
9900
9901 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
9902
9903 * gdb.base/completion.exp: Add test for completion of layout
9904 names.
9905
9906 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
9907
9908 * lib/gdb.exp (skip_tui_tests): New proc.
9909 * gdb.base/tui-layout.exp: Check skip_tui_tests.
9910
9911 2015-05-19 Pedro Alves <palves@redhat.com>
9912
9913 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9914 Save the whole env array instead of just HOME. Unset HISTSIZE in
9915 the environment while testing. Restore whole environment
9916 afterwards.
9917
9918 2015-05-16 Doug Evans <xdje42@gmail.com>
9919
9920 * gdb.guile/scm-ports.c: New file.
9921 * gdb.guile/scm-ports.exp: Add memory port tests.
9922
9923 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9924
9925 * gdb.compile/compile-print.c: New file.
9926 * gdb.compile/compile-print.exp: New file.
9927
9928 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9929
9930 * gdb.compile/compile-ops.exp: Cast param to void.
9931 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9932 (compile code struct_object.selffield = &struct_object): Add xfail.
9933
9934 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9935
9936 * gdb.ada/arr_enum_with_gap: New testcase.
9937
9938 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9939
9940 * gdb.ada/byte_packed_arr: New testcase.
9941
9942 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9943
9944 * gdb.ada/pckd_neg: New testcase.
9945
9946 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9947
9948 PR gdb/17820
9949 * gdb.base/gdbinit-history.exp: New test.
9950 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9951 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9952
9953 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9954
9955 * gdb.python/py-xmethods.cc: Enhance test case.
9956 * gdb.python/py-xmethods.exp: New tests.
9957 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9958 function.
9959 (B_indexoper): Likewise.
9960 (global_dm_list) : Add new xmethod worker functions.
9961
9962 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9963
9964 * gdb.base/coredump-filter.exp: Correctly unset
9965 "coredump_var_addr" array.
9966
9967 2015-05-08 Pedro Alves <palves@redhat.com>
9968
9969 * gdb.server/non-existing-program.exp: Unset spawn_id.
9970
9971 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9972
9973 PR python/18291
9974 * gdb.python/py-xmethods.exp: Add tests.
9975
9976 2015-05-08 Yao Qi <yao.qi@linaro.org>
9977
9978 PR gdb/18208
9979 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9980 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9981 function set_coredump_filter, and remove remote_exec call.
9982 Remove argument ipid. Callers update.
9983 (top level): Don't get inferior's PID.
9984
9985 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9986
9987 * gdb.base/watch_thread_num.exp: Skip test on targets without
9988 access watchpoints.
9989
9990 2015-05-06 Pedro Alves <palves@redhat.com>
9991
9992 PR server/18081
9993 * gdb.server/non-existing-program.exp: New file.
9994
9995 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9996
9997 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9998
9999 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10000
10001 * gdb.ada/out_of_line_in_inlined: New testcase.
10002
10003 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10004
10005 * gdb.ada/var_rec_arr: New testcase.
10006
10007 2015-04-30 Yao Qi <yao.qi@linaro.org>
10008
10009 * gdb.base/break-idempotent.exp: If
10010 skip_hw_watchpoint_multi_tests returns true, skip the tests
10011 on "rwatch" and "awatch".
10012
10013 2015-04-30 Yao Qi <yao.qi@linaro.org>
10014
10015 * gdb.base/relativedebug.exp: Invoke gdb command
10016 "info sharedlibrary", and if libc.so doesn't have debug info,
10017 skip the test.
10018
10019 2015-04-29 Doug Evans <dje@google.com>
10020
10021 * gdb.python/py-xmethods.exp: Add ptype tests.
10022 * gdb.python/py-xmethods.py (E_method_char_worker): Add
10023 get_result_type method.
10024
10025 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10026
10027 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10028 the target does not support hardware watchpoints.
10029
10030 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10031
10032 * gdb.base/break-always.exp: Abort testing if writing to memory
10033 causes an error.
10034
10035 2015-04-28 Doug Evans <dje@google.com>
10036
10037 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10038 * gdb.python/py-pp-registration.exp: ... here. New file.
10039 * gdb.python/py-pp-registration.c: New file.
10040 * gdb.python/py-pp-registration.py: New file.
10041
10042 2015-04-28 Doug Evans <dje@google.com>
10043
10044 * gdb.python/py-bad-printers.c: New file.
10045 * gdb.python/py-bad-printers.py: New file.
10046 * gdb.python/py-bad-printers.exp: New file.
10047
10048 2015-04-28 Sasha Smundak <asmundak@google.com>
10049
10050 * gdb.python/py-type.exp: New test.
10051
10052 2015-04-28 Andy Wingo <wingo@igalia.com>
10053
10054 * gdb.python/py-parameter.exp:
10055 * gdb.guile/scm-parameter.exp: Escape the path that we are
10056 matching against, as it might contain characters that are special
10057 to regular expressions.
10058
10059 2015-04-27 Joel Brobecker <brobecker@adacore.com>
10060
10061 * gdb.ada/rec_comp: New testcase.
10062
10063 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
10064
10065 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10066 before using it.
10067
10068 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
10069
10070 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
10071 new tests for verilog output.
10072
10073 2015-04-24 Yao Qi <yao.qi@linaro.org>
10074
10075 * boards/remote-gdbserver-on-localhost.exp: New file.
10076
10077 2015-04-23 Pedro Alves <palves@redhat.com>
10078
10079 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10080 $inferior_spawn_id instead of $inferior_spawn_id directly. On
10081 "end of file", remove $inferior_spawn_id from the indirect list.
10082
10083 2015-04-23 Pedro Alves <palves@redhat.com>
10084
10085 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10086
10087 2015-04-23 Pedro Alves <palves@redhat.com>
10088
10089 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10090 on $any_spawn_id instead of only on $gdb_spawn_id.
10091
10092 2015-04-21 Pierre Muller <muller@sourceware.org>
10093
10094 PR pascal/17815
10095 * lib/pascal.exp (gpc_compile): Add new option "class".
10096 (fpc_compile): Likewise.
10097 * gdb.pascal/case-insensitive-symbols.pas: New file.
10098 * gdb.pascal/case-insensitive-symbols.exp: New file.
10099
10100 2015-04-20 Gary Benson <gbenson@redhat.com>
10101
10102 * gdb.base/attach.exp: Fix three extended remote failures.
10103
10104 2015-04-17 Gary Benson <gbenson@redhat.com>
10105
10106 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10107 the main executable over the remote protocol.
10108
10109 2015-04-16 Pedro Alves <palves@redhat.com>
10110
10111 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10112 a new gdbserver if gdbserver_reconnect_p is set.
10113
10114 2015-04-16 Pedro Alves <palves@redhat.com>
10115
10116 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10117 is set, don't exit gdbserver.
10118
10119 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10120
10121 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10122 appropriate .insn, such that an older assembler can be used.
10123 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10124 the z/Architecture instruction set on 31-bit targets as well.
10125
10126 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10127
10128 * gdb.go/handcall.exp: Remove all logic related to the first
10129 breakpoint and rely on go_runto_main instead.
10130 * gdb.go/strings.exp: Likewise.
10131 * gdb.go/unsafe.exp: Likewise.
10132 * gdb.go/hello.exp: Likewise. Also rename the remaining
10133 breakpoint marker to "breakpoint 1".
10134 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10135 * gdb.go/strings.go: Likewise.
10136 * gdb.go/unsafe.go: Likewise.
10137 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
10138 "set breakpoint 2 here" and rename the remaining breakpoint marker
10139 to "breakpoint 1".
10140
10141 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
10142
10143 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10144 if itertools.imap is not present.
10145 * gdb.python/py-objfile.exp: Add parentheses.
10146 * gdb.python/py-type.exp: Same.
10147 * gdb.python/py-unwind-maint.py: Same.
10148
10149 2015-04-15 Yao Qi <yao.qi@linaro.org>
10150
10151 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10152 of ":$ptr_size" and set its form explicitly.
10153
10154 2015-04-15 Pedro Alves <palves@redhat.com>
10155 Yao Qi <yao.qi@linaro.org>
10156
10157 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10158 timeout by factor of 4.
10159 (test_regular_watch): Likewise.
10160 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10161 * gdb.reverse/sigall-reverse.exp: Likewise.
10162 * gdb.reverse/until-precsave.exp: Likewise.
10163 * lib/gdb.exp (with_timeout_factor): New proc.
10164 (gdb_expect): Move some code to ...
10165 (get_largest_timeout): ... here. New procedure.
10166
10167 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
10168
10169 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10170
10171 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10172
10173 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10174 to write to the .text section.
10175
10176 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10177
10178 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10179 Handle the case of targets that do not provide PID information.
10180
10181 2015-04-13 Yao Qi <yao.qi@linaro.org>
10182
10183 * lib/gdbserver-support.exp (gdb_exit): Catch exception
10184 and use expect instead of gdb_expect.
10185
10186 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
10187
10188 * gdb.base/coredump-filter.exp: Rename variable "addr" to
10189 "coredump_var_addr" to avoid naming conflict with other testcases.
10190
10191 2015-04-10 Pedro Alves <palves@redhat.com>
10192
10193 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10194 gdb_test_sequence and gdb_assert.
10195
10196 2015-04-10 Pedro Alves <palves@redhat.com>
10197
10198 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10199 test messages that don't include the breakpoint address.
10200
10201 2015-04-10 Yao Qi <yao.qi@linaro.org>
10202
10203 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10204 false for some offset and width combinations which aren't
10205 supported by linux kernel.
10206
10207 2015-04-10 Pedro Alves <palves@redhat.com>
10208
10209 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10210 procedure, factored out from ...
10211 (top level): ... here. Add "set displaced-stepping" testing axis.
10212 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10213 parameter "displaced". Use it.
10214 (top level): Use foreach and add "set displaced-stepping" testing
10215 axis.
10216
10217 2015-04-10 Pedro Alves <palves@redhat.com>
10218
10219 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10220 Remove comment.
10221 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10222 both the address of the instruction that triggers the watchpoint
10223 and the address of the instruction immediately after, and use
10224 those addresses for the test. Fix comment.
10225
10226 2015-04-10 Pedro Alves <palves@redhat.com>
10227
10228 * gdb.base/sigstep.exp (breakpoint_to_handler)
10229 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
10230 Test "backtrace" in handler.
10231 (breakpoint_over_handler): New parameter 'displaced'. Use it.
10232 (top level): Add new "displaced" test axis to
10233 breakpoint_to_handler, breakpoint_to_handler_entry and
10234 breakpoint_over_handler.
10235
10236 2015-04-10 Pedro Alves <palves@redhat.com>
10237
10238 PR gdb/18216
10239 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10240
10241 2015-04-10 Yao Qi <yao.qi@linaro.org>
10242
10243 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10244 (test_add_rn_pc): New function.
10245 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10246 (top level): Invoke test_add_rn_pc.
10247
10248 2015-04-10 Pedro Alves <palves@redhat.com>
10249
10250 PR gdb/13858
10251 * gdb.base/step-over-no-symbols.exp: New file.
10252
10253 2015-04-09 Andy Wingo <wingo@igalia.com>
10254
10255 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10256 after the Python tests.
10257
10258 2015-04-08 Keith Seitz <keiths@redhat.com>
10259
10260 PR python/16699
10261 * gdb.python/py-completion.exp: New tests for completion.
10262 * gdb.python/py-completion.py (CompleteLimit1): New class.
10263 (CompleteLimit2): Likewise.
10264 (CompleteLimit3): Likewise.
10265 (CompleteLimit4): Likewise.
10266 (CompleteLimit5): Likewise.
10267 (CompleteLimit6): Likewise.
10268 (CompleteLimit7): Likewise.
10269
10270 2015-04-08 Pedro Alves <palves@redhat.com>
10271
10272 PR gdb/18214
10273 PR gdb/18216
10274 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10275 function.
10276 (main): Install it as SIGUSR1 handler.
10277 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10278 parameter. Always use "setup" as prefix. Toggle "set
10279 displaced-stepping" off/on depending on global. Don't switch to
10280 thread 1 here.
10281 (top level): Add displaced stepping "off/on" test axis. Update
10282 "setup" calls. Wrap each subtest with with_test_prefix. Test
10283 continuing with a queued signal in each thread.
10284
10285 2015-04-08 Pedro Alves <palves@redhat.com>
10286
10287 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10288 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
10289 gdb_breakpoint instead of gdb_test that doesn't expect anything.
10290 Return early if running to main fails.
10291 * gdb.trace/while-stepping.exp: Likewise.
10292
10293 2015-04-07 Pedro Alves <palves@redhat.com>
10294
10295 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10296 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
10297 interact with inferior program.
10298
10299 2015-04-07 Pedro Alves <palves@redhat.com>
10300
10301 * lib/gdb.exp (inferior_spawn_id): New global.
10302 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
10303 spawn id after processing the user code.
10304 (default_gdb_start): Set inferior_spawn_id.
10305 (send_inferior): New procedure.
10306 * lib/gdbserver-support.exp (gdbserver_start): Set
10307 inferior_spawn_id.
10308 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10309
10310 2015-04-07 Pedro Alves <palves@redhat.com>
10311
10312 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10313 * lib/gdbserver-support.exp (gdbserver_start): Make
10314 $server_spawn_id global.
10315 (gdbserver_start): Don't wait for gdbserver's spawn id with
10316 expect_background.
10317 (close_gdbserver): New procedure.
10318 (gdb_exit): Rename the default version and reimplement.
10319
10320 2015-04-07 Pedro Alves <palves@redhat.com>
10321
10322 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10323 append the substituted item, not the original item.
10324
10325 2015-04-07 Pedro Alves <palves@redhat.com>
10326
10327 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10328 gdb_expect.
10329
10330 2015-04-07 Pedro Alves <palves@redhat.com>
10331
10332 * gdb.base/interrupt.exp: Don't handle the case of the inferior
10333 output appearing once only.
10334
10335 2015-04-07 Pedro Alves <palves@redhat.com>
10336
10337 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10338 that doesn't expect anything. Return early if running to main
10339 fails.
10340
10341 2015-04-07 Yao Qi <yao.qi@linaro.org>
10342
10343 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10344 (child_function): Call alarm.
10345 (main): Move call to alarm into the loop.
10346 * gdb.threads/non-stop-fair-events.exp: Build program with
10347 -DTIMEOUT=$timeout.
10348
10349 2015-04-06 Doug Evans <xdje42@gmail.com>
10350
10351 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10352 Fix dest parameter to board_info.
10353 (fpc_compile): Ditto.
10354 (gdb_compile_pascal): Rename dest arg to destfile.
10355
10356 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10357
10358 * gdb.ada/funcall_ref.exp: New file.
10359 * gdb.ada/funcall_ref/foo.adb: New file.
10360
10361 2015-04-02 Yao Qi <yao.qi@linaro.org>
10362
10363 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10364 is remote.
10365
10366 2015-04-02 Gary Benson <gbenson@redhat.com>
10367
10368 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10369
10370 2015-04-01 Sasha Smundak <asmundak@google.com>
10371
10372 * gdb.python/py-unwind-maint.c: New file.
10373 * gdb.python/py-unwind-maint.exp: New test.
10374 * gdb.python/py-unwind-maint.py: New file.
10375 * gdb.python/py-unwind.c: New file.
10376 * gdb.python/py-unwind.exp: New test.
10377 * gdb.python/py-unwind.py: New test.
10378
10379 2015-04-01 Pedro Alves <palves@redhat.com>
10380
10381 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10382 to fail instead of non-existent $test.
10383
10384 2015-04-01 Pedro Alves <palves@redhat.com>
10385
10386 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10387 GDBFLAGS if not empty.
10388
10389 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10390
10391 * gdb.ada/complete.exp: Remove "multi_line".
10392 * gdb.ada/info_exc.exp: Remove "multi_line".
10393 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10394 * gdb.ada/ptype_field.exp: Remove "multi_line".
10395 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10396 * gdb.ada/tagged.exp: Remove "multi_line".
10397 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10398 [multi_line ...]
10399 * gdb.btrace/delta.exp: Likewise.
10400 * gdb.btrace/exception.exp: Likewise.
10401 * gdb.btrace/function_call_history.exp: Likewise.
10402 * gdb.btrace/instruction_history.exp: Likewise.
10403 * gdb.btrace/nohist.exp: Likewise.
10404 * gdb.btrace/record_goto.exp: Likewise.
10405 * gdb.btrace/segv.exp: Likewise.
10406 * gdb.btrace/stepi.exp: Likewise.
10407 * gdb.btrace/tailcall.exp: Likewise.
10408 * gdb.btrace/unknown_functions.exp: Likewise.
10409 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10410 * lib/gdb.exp: Add the "multi_line" helper.
10411
10412 2015-04-01 Pedro Alves <palves@redhat.com>
10413
10414 * gdb.threads/tid-reuse.c: New file.
10415 * gdb.threads/tid-reuse.exp: New file.
10416
10417 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10418
10419 PR corefiles/16092
10420 * gdb.base/coredump-filter.c: New file.
10421 * gdb.base/coredump-filter.exp: Likewise.
10422
10423 2015-03-27 Petr Machata <pmachata@redhat.com>
10424
10425 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10426 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10427 (Dwarf::assemble): Initialize them.
10428 (Dwarf::lines): New function.
10429
10430 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10431
10432 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10433 SYMBOL_PREFIX for x86_64-*-cygwin.
10434
10435 2015-03-26 Andy Wingo <wingo@igalia.com>
10436
10437 PR symtab/18148
10438 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10439 const_value but not a location.
10440 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10441 location defined in non-main CUs are visible.
10442
10443 2015-03-26 Yao Qi <yao.qi@linaro.org>
10444
10445 PR testsuite/18139
10446 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10447 Add a line number entry for the same line.
10448 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10449 Add a line number entry for the same line.
10450
10451 2015-03-26 Yao Qi <yao.qi@linaro.org>
10452
10453 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10454 .int 0.
10455 (func): Likewise. Add .Lfunc_1 label.
10456 Use .Lfunc_1 label.
10457 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10458 .int 0.
10459 (func): Likewise.
10460 Use .Lfunc_1 label.
10461
10462 2015-03-26 Yao Qi <yao.qi@linaro.org>
10463
10464 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10465 Call gdb_compile instead to compile each .s files without debug
10466 information.
10467
10468 2015-03-26 Yao Qi <yao.qi@linaro.org>
10469
10470 * gdb.base/savedregs.exp (process_saved_regs): Make
10471 "Saved registers:" optional in the pattern.
10472
10473 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10474
10475 * gdb.btrace/next.exp: Merged into step.exp.
10476 * gdb.btrace/finish.exp: Merged into step.exp.
10477 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10478 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10479 "record goto" and checking the exact replay position.
10480 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10481 check for "Recording format" in "info record" output.
10482 * gdb.btrace/record_goto.exp: Choose test file based on target.
10483 * gdb.btrace/x86-record_goto.S: Renamed into ...
10484 * gdb.btrace/x86_64-record_goto.S: ... this.
10485 * gdb.btrace/i686-record_goto.S: New.
10486 * gdb.btrace/x86-tailcall.S: Renamed into ...
10487 * gdb.btrace/x86_64-tailcall.S: ... this.
10488 * gdb.btrace/i686-tailcall.S: New.
10489 * gdb.btrace/x86-tailcall.c: Renamed into ...
10490 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10491 separate statements. Update test.
10492 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10493 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10494 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10495 * gdb.btrace/tailcall.exp: Choose test file based on target.
10496 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10497
10498 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10499
10500 * gdb.btrace/exception.exp: Increase BTS buffer size.
10501
10502 2015-03-24 Pedro Alves <palves@redhat.com>
10503
10504 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10505
10506 2015-03-24 Pedro Alves <palves@redhat.com>
10507
10508 * gdb.threads/schedlock.exp (test_step): No longer expect that
10509 "set scheduler-locking step" with "next" over a function call runs
10510 threads unlocked.
10511
10512 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10513
10514 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10515
10516 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10517
10518 PR breakpoints/16466
10519 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10520 * gdb.mi/mi-pending.c (thread_func): New function.
10521 (int main): Add threading support required.
10522 * gdb.mi/mi-pending.exp: Add tests for this issue.
10523 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10524 (pendfunc2): Remove stdio dependency.
10525 * gdb.mi/mi-pendshr2.c: New file.
10526
10527 2015-03-23 Keith Seitz <keiths@redhat.com>
10528
10529 * gdb.linespec/keywords.c: New file.
10530 * gdb.linespec/keywords.exp: New file.
10531
10532 2015-03-23 Keith Seitz <keiths@redhat.com>
10533
10534 PR gdb/18021
10535 * gdb.dwarf2/staticvirtual.exp: New test.
10536
10537 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10538
10539 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10540 * README: Remove HP-UX and gdb.hp.
10541 (configuration):
10542 * configure: Regenerate.
10543 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10544 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10545 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10546 gdb.hp/gdb.defects/Makefile.
10547 * gdb.hp/Makefile.in: File deleted.
10548 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10549 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10550 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10551 * gdb.hp/gdb.aCC/run.c: File deleted.
10552 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10553 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10554 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10555 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10556 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10557 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10558 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10559 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10560 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10561 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10562 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10563 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10564 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10565 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10566 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10567 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10568 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10569 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10570 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10571 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10572 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10573 * gdb.hp/gdb.compat/average.c: File deleted.
10574 * gdb.hp/gdb.compat/sum.c: File deleted.
10575 * gdb.hp/gdb.compat/xdb.c: File deleted.
10576 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10577 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10578 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10579 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10580 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10581 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10582 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10583 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10584 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10585 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10586 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10587 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10588 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10589 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10590 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10591 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10592 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10593 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10594 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10595 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10596 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10597 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10598 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10599 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10600 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10601 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10602 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10603 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10604 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10605 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10606 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10607 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10608 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10609 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10610 * gdb.hp/tools/odump: File deleted.
10611
10612 2015-03-19 Pedro Alves <palves@redhat.com>
10613
10614 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10615 (saw_thread_3): New globals.
10616 (top level): Increment them when an event for the corresponding
10617 thread is seen.
10618 (no thread starvation): New test.
10619
10620 2015-03-19 Pedro Alves <palves@redhat.com>
10621
10622 * gdb.threads/continue-pending-status.c: New file.
10623 * gdb.threads/continue-pending-status.exp: New file.
10624
10625 2015-03-18 Pedro Alves <palves@redhat.com>
10626
10627 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10628 Use gdb_is_target_remote instead of is_remote. Use
10629 gdb_test_multiple instead of gdb_expect. Exit early if
10630 gdb_test_multiple hits its internal matches. Tighten stepi tests
10631 expected output. Fail on exit with any signal, instead of just
10632 SIGILL.
10633
10634 2015-03-18 Yao Qi <yao.qi@linaro.org>
10635
10636 PR tdep/18107
10637 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10638 variable.
10639 * gdb.base/catch-syscall.exp: Don't skip it on
10640 aarch64*-*-linux* target. Remove elements in all_syscalls.
10641 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10642 target.
10643 (setup_all_syscalls): New proc.
10644
10645 2015-03-16 Yao Qi <yao.qi@linaro.org>
10646
10647 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10648 (top level): Skip tests if valid_addr_p returns false for
10649 $cmd1 or $cmd2.
10650
10651 2015-03-11 Andy Wingo <wingo@igalia.com>
10652
10653 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10654
10655 2015-03-11 Yao Qi <yao.qi@linaro.org>
10656
10657 * gdb.base/catch-syscall.exp: Fix typo in comments.
10658
10659 2015-03-11 Yao Qi <yao.qi@linaro.org>
10660
10661 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10662
10663 2015-03-09 Pedro Alves <palves@redhat.com>
10664
10665 * dg-extract-results.py: Delete.
10666
10667 2015-03-09 Pedro Alves <palves@redhat.com>
10668
10669 Merge dg-extract-results.sh from GCC upstream (r218843).
10670
10671 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10672 * dg-extract-results.sh: Use --text with grep to avoid issues with
10673 binary files. Fall back to cat -v, if that doesn't work.
10674
10675 2015-03-05 Pedro Alves <palves@redhat.com>
10676
10677 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10678
10679 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10680
10681 * lib/mi-support.exp (mi_expect_interrupt): Accept
10682 alternative event for when in all-stop mode.
10683
10684 2015-03-04 Pedro Alves <palves@redhat.com>
10685
10686 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10687
10688 2015-03-04 Mark Kettenis <kettenis@gnu.org>
10689
10690 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10691
10692 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10693
10694 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10695 regexps for GDB's current line display, accept a hex address
10696 preceding the line number.
10697
10698 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10699
10700 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10701 the 'arch1' variable for "s390*-linux*" targets.
10702
10703 2015-03-04 Pedro Alves <palves@redhat.com>
10704
10705 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10706 (main): Pass missing retval argument to pthread_join call.
10707
10708 2015-03-02 Pedro Alves <palves@redhat.com>
10709
10710 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10711 (top level): Call do_test with non-stop as well.
10712
10713 2015-03-02 Pedro Alves <palves@redhat.com>
10714
10715 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10716 -1.
10717
10718 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10719
10720 * gdb.arch/s390-vregs.exp: New test.
10721 * gdb.arch/s390-vregs.S: New file.
10722
10723 2015-02-27 Pedro Alves <palves@redhat.com>
10724
10725 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10726 call to catch_command_errors.
10727 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10728 catch_command_errors.
10729
10730 2015-02-27 Pedro Alves <palves@redhat.com>
10731
10732 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10733 "true" for boolean result.
10734 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10735 prototype of main.
10736
10737 2015-02-27 Pedro Alves <palves@redhat.com>
10738
10739 * lib/unbuffer_output.c: New file.
10740 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10741 (main): Call gdb_unbuffer_output.
10742
10743 2015-02-27 Yao Qi <yao.qi@linaro.org>
10744
10745 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10746 target.
10747
10748 2015-02-26 Doug Evans <dje@google.com>
10749
10750 * gdb.cp/class2.cc (Dbase, D): New classes.
10751 (main): New local delta.
10752 * gdb.cp/class2.exp: Test printing delta.
10753 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10754 (dynbar): New global.
10755 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10756
10757 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10758
10759 * gdb.compile/compile-ifunc.c: New file.
10760 * gdb.compile/compile-ifunc.exp: New file.
10761
10762 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10763
10764 * gdb.base/structs.exp: Check for correct struct on finish.
10765
10766 2015-02-26 Yao Qi <yao.qi@linaro.org>
10767
10768 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10769 is zero.
10770
10771 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10772
10773 * gdb.arch/cordic.ko.bz2: New file.
10774 * gdb.arch/cordic.ko.debug.bz2: New file.
10775 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10776
10777 2015-02-25 Yao Qi <yao.qi@linaro.org>
10778
10779 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10780 aarch64*-*-* target.
10781
10782 2015-02-23 Pedro Alves <palves@redhat.com>
10783
10784 * lib/gdb.exp (delete_breakpoints): Rewrite using
10785 gdb_test_multiple.
10786
10787 2015-02-23 Pedro Alves <palves@redhat.com>
10788
10789 * gdb.base/info-os.c: Include stdlib.h.
10790
10791 2015-02-22 Doug Evans <xdje42@gmail.com>
10792
10793 PR symtab/17855
10794 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10795 is read after symbols have been re-read.
10796 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10797 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10798
10799 2015-02-21 Doug Evans <dje@google.com>
10800
10801 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10802
10803 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10804
10805 PR corefiles/17808
10806 * gdb.arch/i386-biarch-core.core.bz2: New file.
10807 * gdb.arch/i386-biarch-core.exp: New file.
10808
10809 2015-02-21 Pedro Alves <palves@redhat.com>
10810
10811 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10812 runto_main fails.
10813
10814 2015-02-20 Pedro Alves <palves@redhat.com>
10815
10816 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10817 info probes.
10818
10819 2015-02-20 Pedro Alves <palves@redhat.com>
10820
10821 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10822
10823 2015-02-20 Pedro Alves <palves@redhat.com>
10824
10825 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10826 clean_restart before gdb_target_supports_trace.
10827
10828 2015-02-20 Pedro Alves <palves@redhat.com>
10829
10830 PR threads/18006
10831 * gdb.threads/clone-thread_db.c: New file.
10832 * gdb.threads/clone-thread_db.exp: New file.
10833
10834 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10835
10836 PR breakpoints/16812
10837 * gdb.base/catch-gdb-caused-signals.c: New file.
10838 * gdb.base/catch-gdb-caused-signals.exp: New file.
10839
10840 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10841
10842 * configure: Regenerated.
10843 * configure.ac: Use GDB_AC_TRANSFORM.
10844 * aclocal.m4: sinclude ../transform.m4.
10845
10846 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10847
10848 * lib/dtrace.exp: New file.
10849 * gdb.base/dtrace-probe.exp: Likewise.
10850 * gdb.base/dtrace-probe.d: Likewise.
10851 * gdb.base/dtrace-probe.c: Likewise.
10852 * lib/pdtrace.in: Likewise.
10853 * configure.ac: Output variables with the transformed names of
10854 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
10855 * configure: Regenerated.
10856
10857 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10858
10859 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10860 expected message when trying to access $_probe_* convenience
10861 variables while not on a probe.
10862
10863 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10864
10865 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10866
10867 2015-02-11 Pedro Alves <pedro@codesourcery.com>
10868
10869 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10870 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10871
10872 2015-02-10 Doug Evans <xdje42@gmail.com>
10873
10874 * lib/gdb.exp (gdb_load): Always return a result.
10875
10876 2015-02-10 Pedro Alves <palves@redhat.com>
10877
10878 * gdb.threads/signal-sigtrap.c: New file.
10879 * gdb.threads/signal-sigtrap.exp: New file.
10880
10881 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
10882
10883 * gdb.trace/no-attach-trace.c: New file.
10884 * gdb.trace/no-attach-trace.exp: New file.
10885
10886 2015-02-09 Mark Wielaard <mjw@redhat.com>
10887
10888 * gdb.dwarf2/atomic.c: New file.
10889 * gdb.dwarf2/atomic-type.exp: Likewise.
10890
10891 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10892
10893 * gdb.btrace/buffer-size.exp: Update "info record" output.
10894 * gdb.btrace/delta.exp: Update "info record" output.
10895 * gdb.btrace/enable.exp: Update "info record" output.
10896 * gdb.btrace/finish.exp: Update "info record" output.
10897 * gdb.btrace/instruction_history.exp: Update "info record" output.
10898 * gdb.btrace/next.exp: Update "info record" output.
10899 * gdb.btrace/nexti.exp: Update "info record" output.
10900 * gdb.btrace/step.exp: Update "info record" output.
10901 * gdb.btrace/stepi.exp: Update "info record" output.
10902 * gdb.btrace/nohist.exp: Update "info record" output.
10903
10904 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10905
10906 * gdb.btrace/buffer-size: New.
10907
10908 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10909
10910 * gdb.btrace/delta.exp: Update "info record" output.
10911 * gdb.btrace/enable.exp: Update "info record" output.
10912 * gdb.btrace/finish.exp: Update "info record" output.
10913 * gdb.btrace/instruction_history.exp: Update "info record" output.
10914 * gdb.btrace/next.exp: Update "info record" output.
10915 * gdb.btrace/nexti.exp: Update "info record" output.
10916 * gdb.btrace/step.exp: Update "info record" output.
10917 * gdb.btrace/stepi.exp: Update "info record" output.
10918 * gdb.btrace/nohist.exp: Update "info record" output.
10919
10920 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10921
10922 PR gdb/15678
10923 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10924
10925 2015-02-06 Pedro Alves <palves@redhat.com>
10926
10927 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10928 macro.
10929 (seconds_left, again): New globals.
10930 (main): Wait seconds_left in a 1-second sleep loop instead of
10931 sleeping 180 seconds. If 'again' is set, reset the seconds
10932 counter.
10933 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10934 'again' in the inferior before detaching. Print the seconds left.
10935 (options): New global.
10936 (top level): Build program with -DTIMEOUT=$timeout.
10937
10938 2015-02-06 Pedro Alves <palves@redhat.com>
10939
10940 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10941 determine how many seconds to pass to 'alarm'.
10942 * gdb.base/gdb-sigterm.exp (top level): Build program with
10943 -DTIMEOUT=$timeout.
10944 (do_test): Return success/failure indication. Add more verbose
10945 logging. Don't fail if 200 single steps are seen. Instead, fail
10946 when the test times out.
10947 (passes): New global.
10948 (top level): Break the testing loop if testing fails on any
10949 iteration. Use gdb_assert.
10950
10951 2015-02-04 Don Breazeal <donb@codesourcery.com>
10952
10953 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10954 and initialize them.
10955 (ipc_cleanup): New function.
10956 (main): Don't declare shmid, semid, and msqid. Add a call to
10957 atexit so that we call ipc_cleanup on exit.
10958
10959 2015-02-04 Pedro Alves <palves@redhat.com>
10960
10961 * boards/native-extended-gdbserver.exp: Remove any target variant
10962 specifications from the board name before clearing the isremote
10963 flag from board_info.
10964
10965 2015-01-31 Doug Evans <xdje42@gmail.com>
10966
10967 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10968
10969 2015-01-31 Gary Benson <gbenson@redhat.com>
10970
10971 * gdb.base/completion.exp: Disable completion limiting for
10972 existing tests. Add new tests to check completion limiting.
10973 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10974
10975 2015-01-31 Doug Evans <xdje42@gmail.com>
10976
10977 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10978
10979 2015-01-31 Doug Evans <xdje42@gmail.com>
10980
10981 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10982 entries. Duplicate file section script entries.
10983 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10984 inlined entries. Add test for safe-path rejection.
10985 * gdb.python/py-section-script.c: Add duplicate inlined section script
10986 entries. Duplicate file section script entries.
10987 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10988 inlined entries. Add test for safe-path rejection.
10989
10990 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10991
10992 * gdb.ada/disc_arr_bound: New testcase.
10993
10994 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10995
10996 * gdb.ada/mi_var_array: New testcase.
10997
10998 2015-01-27 Doug Evans <dje@google.com>
10999
11000 * gdb.python/py-objfile.exp: Add tests for objfile.username.
11001 Add test for objfile.filename, objfile.username after objfile
11002 has been unloaded.
11003
11004 2015-01-26 Joel Brobecker <brobecker@adacore.com>
11005
11006 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11007 the second test to print the name attribute of value
11008 returned by the call to gdb.lookup_type, and adjust
11009 the expected output accordingly.
11010
11011 2015-01-25 Mark Wielaard <mjw@redhat.com>
11012
11013 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11014 * gdb.base/disp-step-fork.c: Include unistd.h.
11015 * gdb.base/siginfo-obj.c: Include stdio.h.
11016 * gdb.base/siginfo-thread.c: Likewise.
11017 * gdb.mi/non-stop.c: Include unistd.h.
11018 * gdb.mi/nsthrexec.c: Include stdio.h.
11019 * gdb.mi/pthreads.c: Include unistd.h.
11020 * gdb.modula2/unbounded1.c (main): Declare returns int.
11021 * gdb.reverse/consecutive-reverse.c: Likewise.
11022 * gdb.threads/create-fail.c: Include unistd.h.
11023 * gdb.threads/killed.c: Likewise.
11024 * gdb.threads/linux-dp.c: Likewise.
11025 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11026 * gdb.threads/non-ldr-exc-2.c: Likewise.
11027 * gdb.threads/non-ldr-exc-3.c: Likewise.
11028 * gdb.threads/non-ldr-exc-4.c: Likewise.
11029 * gdb.threads/pthreads.c: Include unistd.h.
11030 (main): Declare returns int.
11031 * gdb.threads/tls-main.c (foo): New declaration.
11032 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11033
11034 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
11035
11036 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11037 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11038
11039 2015-01-15 Mark Wielaard <mjw@redhat.com>
11040
11041 * gdb.base/noreturn-return.c: New file.
11042 * gdb.base/noreturn-return.exp: New file.
11043 * gdb.base/noreturn-finish.c: New file.
11044 * gdb.base/noreturn-finish.exp: New file.
11045
11046 2015-01-23 Pedro Alves <palves@redhat.com>
11047
11048 * gdb.threads/continue-pending-after-query.c: New file.
11049 * gdb.threads/continue-pending-after-query.exp: New file.
11050
11051 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
11052 Simon Marchi <simon.marchi@ericsson.com>
11053
11054 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11055 * gdb.base/valgrind-db-attach.exp: Same.
11056 * gdb.base/valgrind-infcall.exp: Same.
11057 * lib/mi-support.exp (default_mi_gdb_start): Same.
11058 * lib/prompt.exp (default_prompt_gdb_start): Same.
11059 * lib/gdb.exp (default_gdb_spawn): Same.
11060 (gdb_interact): New.
11061
11062
11063 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11064
11065 * gdb.compile/compile.exp (pointer to jit function): New test.
11066
11067 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
11068
11069 * lib/gdb.exp (supports_process_record): Return true for
11070 powerpc*-*-linux*.
11071 (supports_reverse): Likewise.
11072
11073 2015-01-15 Don Breazeal <donb@codesourcery.com>
11074
11075 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11076 instead of checking whether the target board is remote and
11077 use spawn_wait_for_attach instead of exec/sleep.
11078 * gdb.base/attach-twice.exp: Likewise.
11079
11080 2015-01-15 Joel Brobecker <brobecker@adacore.com>
11081
11082 * gdb.ada/var_arr_attrs: New testcase.
11083
11084 2015-01-14 Pedro Alves <palves@redhat.com>
11085 Joel Brobecker <brobecker@adacore.com>
11086
11087 PR gdb/17525
11088 * gdb.base/bp-cmds-execution-x-script.c: New file.
11089 * gdb.base/bp-cmds-execution-x-script.exp: New file.
11090 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11091
11092 2015-01-14 Pedro Alves <palves@redhat.com>
11093
11094 PR cli/17828
11095 * gdb.base/batch-preserve-term-settings.c: New file.
11096 * gdb.base/batch-preserve-term-settings.exp: New file.
11097
11098 2015-01-13 Doug Evans <dje@google.com>
11099
11100 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11101 binary.
11102
11103 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11104
11105 * Makefile.in (clean mostlyclean): Do not delete *.py.
11106
11107 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11108
11109 * gdb.python/py-lookup-type.exp: New file.
11110
11111 2015-01-12 Pedro Alves <palves@redhat.com>
11112
11113 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11114 restore GDBFLAGS before returning.
11115
11116 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11117
11118 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11119 is_amd64_regs_target and is_x86_like_target.
11120
11121 2015-01-11 Doug Evans <xdje42@gmail.com>
11122
11123 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11124 is given without an explicit form.
11125 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11126 attributes.
11127 * gdb.dwarf/corrupt.exp: Ditto.
11128 * gdb.dwarf2/enum-type.exp: Ditto.
11129 * gdb.trace/entry-values.exp: Ditto.
11130 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11131
11132 2015-01-11 Doug Evans <xdje42@gmail.com>
11133
11134 PR gdb/15830
11135 * gdb.base/maint.exp: Remove references to "maint demangle".
11136 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
11137 Add tests for explicitly specifying language to demangle.
11138 * gdb.dlang/demangle.exp: Ditto.
11139
11140 2015-01-09 Pedro Alves <palves@redhat.com>
11141
11142 * gdb.threads/non-stop-fair-events.c: New file.
11143 * gdb.threads/non-stop-fair-events.exp: New file.
11144
11145 2015-01-09 Pedro Alves <palves@redhat.com>
11146
11147 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11148 the global scope. Set a breakpoint after all threads are started
11149 rather than stepping over two source lines. Expect the prompt.
11150 * gdb.base/watch_thread_num.c (threads_started_barrier): New
11151 global.
11152 (NUM): Now 15.
11153 (main): Use threads_started_barrier to wait for all threads to
11154 start. Main thread no longer calls thread_function. Exit after
11155 180 seconds.
11156 (loop): New function.
11157 (thread_function): Wait on threads_started_barrier barrier. Call
11158 'loop' at each iteration.
11159 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11160 threads have started, instead of hardcoding number of "next"
11161 steps. Use an access watchpoint instead of a write watchpoint.
11162
11163 2015-01-09 Pedro Alves <palves@redhat.com>
11164
11165 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11166 (thread_func): Wait on barrier.
11167 (main): Wait for all threads to start before stopping GDB.
11168 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11169 global.
11170 (thread1_func, thread2_func): Wait on barrier.
11171 (main): Wait for all threads to start before stopping GDB.
11172 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11173 New global.
11174 (thread1_func, thread2_func): Wait on barrier.
11175 (main): Wait for all threads to start before stopping GDB.
11176
11177 2015-01-09 Pedro Alves <palves@redhat.com>
11178
11179 * gdb.threads/attach-many-short-lived-threads.c: New file.
11180 * gdb.threads/attach-many-short-lived-threads.exp: New file.
11181
11182 2014-01-09 Pedro Alves <palves@redhat.com>
11183
11184 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11185 instead of to thread 2.
11186 * gdb.threads/signal-command-multiple-signals-pending.c (main):
11187 Add barrier around each pthread_create call instead of around all
11188 calls.
11189 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11190 Set a break on thread_function and have the child threads hit it
11191 one at at a time.
11192
11193 2015-01-09 Pedro Alves <palves@redhat.com>
11194
11195 * lib/gdb.exp (can_spawn_for_attach): New procedure.
11196 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11197 false.
11198 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11199 checking whether the target board is remote.
11200 * gdb.multi/multi-attach.exp: Likewise.
11201 * gdb.python/py-sync-interp.exp: Likewise.
11202 * gdb.server/ext-attach.exp: Likewise.
11203 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11204 tests that need to attach, instead of checking whether the target
11205 board is remote at the top of the file.
11206
11207 2015-01-08 Yao Qi <yao@codesourcery.com>
11208
11209 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11210
11211 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11212
11213 Fix testcase compilation.
11214 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11215
11216 2015-01-06 Joel Brobecker <brobecker@adacore.com>
11217
11218 * gdb.python/py-type.exp: Add a couple test about empty
11219 array creation, and negative-length array creation.
11220
11221 2015-01-02 Doug Evans <xdje42@gmail.com>
11222
11223 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11224
11225 2015-01-02 Doug Evans <dje@google.com>
11226
11227 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11228
11229 2014-12-29 Yao Qi <yao@codesourcery.com>
11230
11231 * gdb.trace/entry-values.exp: Update comments. Rename variable
11232 bar_call_foo to returned_from_foo.
11233
11234 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
11235
11236 PR gdb/17394
11237 * gdb.linespec/break-asm-file.c: New file.
11238 * gdb.linespec/break-asm-file.exp: New file.
11239 * gdb.linespec/break-asm-file0.s: New file.
11240 * gdb.linespec/break-asm-file1.s: New file.
11241
11242 2014-12-18 Nigel Stephens <nigel@mips.com>
11243 Maciej W. Rozycki <macro@codesourcery.com>
11244
11245 * gdb.base/float.exp: Handle the new output from "info float" on
11246 MIPS targets.
11247
11248 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11249
11250 Fix MinGW compilation.
11251 * gdb.compile/compile-ops.exp: Update untested message if
11252 !skip_compile_feature_tests.
11253 * gdb.compile/compile-setjmp.exp: Likewise.
11254 * gdb.compile/compile-tls.exp: Likewise.
11255 * gdb.compile/compile.exp: Likewise.
11256 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11257 supported on this host".
11258
11259 2014-12-16 Doug Evans <xdje42@gmail.com>
11260
11261 * boards/stabs.exp: New file.
11262
11263 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
11264
11265 * gdb.base/completion.exp: Adjust to format changes of "maint
11266 print user-registers".
11267
11268 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
11269
11270 PR server/17457
11271 * gdb.arch/aarch64-fp.c: New file.
11272 * gdb.arch/aarch64-fp.exp: New file.
11273
11274 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11275
11276 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11277 r210637, r210913, r211666, r215400, r215817).
11278
11279 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
11280 * dg-extract-results.py: New file.
11281 * dg-extract-results.sh: Use it if the environment seems
11282 suitable.
11283
11284 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
11285
11286 * dg-extract-results.py (parse_run): Handle warnings that
11287 are printed before a test harness is run.
11288
11289 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
11290
11291 * dg-extract-results.py (Named): Remove __cmp__ method.
11292 (output_variation): Use a key to sort variation.harnesses.
11293
11294 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
11295
11296 * dg-extract-results.py: For Python 3, force sys.stdout to
11297 handle surrogate escape sequences.
11298 (safe_open): New function.
11299 (output_segment, main): Use it.
11300
11301 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
11302
11303 * dg-extract-results.py (Prog.result_re): Include options
11304 in test name.
11305
11306 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
11307
11308 * dg-extract-results.py (output_variation): Always sort if
11309 do_sum.
11310
11311 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
11312
11313 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11314 as long as we get pagination notifications.
11315
11316 2014-12-15 Jason Merrill <jason@redhat.com>
11317
11318 * Makefile.in (check-gdb.%): Restore.
11319 * README: Mention it.
11320
11321 2014-12-13 Joel Brobecker <brobecker@adacore.com>
11322
11323 * gdb.ada/str_uninit: New testcase.
11324
11325 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11326
11327 PR symtab/17642
11328 * gdb.base/vla-stub-define.c: New file.
11329 * gdb.base/vla-stub.c: New file.
11330 * gdb.base/vla-stub.exp: New file.
11331
11332 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
11333 Jan Kratochvil <jan.kratochvil@redhat.com>
11334 Tom Tromey <tromey@redhat.com>
11335
11336 * configure.ac: Add gdb.compile/.
11337 * configure: Regenerate.
11338 * gdb.compile/Makefile.in: New file.
11339 * gdb.compile/compile-ops.exp: New file.
11340 * gdb.compile/compile-ops.c: New file.
11341 * gdb.compile/compile-tls.c: New file.
11342 * gdb.compile/compile-tls.exp: New file.
11343 * gdb.compile/compile-constvar.S: New file.
11344 * gdb.compile/compile-constvar.c: New file.
11345 * gdb.compile/compile-mod.c: New file.
11346 * gdb.compile/compile-nodebug.c: New file.
11347 * gdb.compile/compile-setjmp-mod.c: New file.
11348 * gdb.compile/compile-setjmp.c: New file.
11349 * gdb.compile/compile-setjmp.exp: New file.
11350 * gdb.compile/compile-shlib.c: New file.
11351 * gdb.compile/compile.c: New file.
11352 * gdb.compile/compile.exp: New file.
11353 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11354
11355 2014-12-12 Tom Tromey <tromey@redhat.com>
11356
11357 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11358 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11359
11360 2014-12-12 Doug Evans <dje@google.com>
11361
11362 * lib/gdb-python.exp (get_python_valueof): New function.
11363 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11364
11365 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11366
11367 * gdb.base/completion.exp: Add test for completion of "info
11368 registers ".
11369
11370 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11371
11372 * gdb.base/func-ptrs.c: New file.
11373 * gdb.base/func-ptrs.exp: New file.
11374
11375 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11376
11377 PR breakpoints/17012
11378 * gdb.base/dprintf-detach.c: New file.
11379 * gdb.base/dprintf-detach.exp: New file.
11380
11381 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11382
11383 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11384 * lib/gdb.exp (target_is_gdbserver): New procedure.
11385
11386 2014-12-08 Doug Evans <dje@google.com>
11387
11388 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11389
11390 2014-12-05 Yao Qi <yao@codesourcery.com>
11391
11392 * gdb.guile/scm-error.exp: Remove the third argument to
11393 gdb_remote_download.
11394 * gdb.guile/scm-frame-args.exp: Likewise.
11395 * gdb.guile/scm-section-script.exp: Likewise.
11396
11397 2014-12-05 Yao Qi <yao@codesourcery.com>
11398
11399 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11400
11401 2014-12-04 Doug Evans <dje@google.com>
11402
11403 * gdb.python/py-objfile.exp: Add tests for
11404 objfile.add_separate_debug_file.
11405
11406 2014-12-04 Doug Evans <dje@google.com>
11407
11408 * lib/gdb.exp (get_build_id): New function.
11409 (build_id_debug_filename_get): Rewrite to use it.
11410 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11411
11412 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11413
11414 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11415 `method(long)', not just 0x0.
11416 * gdb.cp/nsalias.exp: Align code labels to 4.
11417 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11418 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11419 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11420 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11421 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11422 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11423
11424 2014-12-02 Doug Evans <dje@google.com>
11425
11426 PR symtab/17602
11427 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11428 * gdb.cp/anon-ns2.cc: ... here. New file.
11429 * gdb.cp/anon-ns.exp: Update.
11430
11431 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
11432
11433 * gdb.python/py-events.py (inferior_call_handler): New.
11434 (register_changed_handler, memory_changed_handler): New.
11435 (test_events.invoke): Register new handlers.
11436 * gdb.python/py-events.exp: Add tests for inferior call,
11437 memory_changed and register_changed events.
11438
11439 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11440
11441 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11442 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11443 if the linker doesn't understand this.
11444
11445 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11446
11447 * gdb.python/python.exp: Change expected reply to help().
11448
11449 2014-12-01 Yao Qi <yao@codesourcery.com>
11450
11451 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11452 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11453 * configure: Re-generated.
11454
11455 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11456
11457 * gdb.cp/chained-calls.cc: New file.
11458 * gdb.cp/chained-calls.exp: New file.
11459 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11460
11461 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11462
11463 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11464 * gdb.dwarf2/symtab-producer.exp: Same.
11465 * gdb.gdb/python-interrupts.exp: Same.
11466 * gdb.gdb/python-selftest.exp: Same.
11467 * gdb.python/py-linetable.exp: Same.
11468 * gdb.python/py-type.exp: Same.
11469 * gdb.python/py-value-cc.exp: Same.
11470 * gdb.python/py-value.exp: Same.
11471
11472 2014-11-28 Yao Qi <yao@codesourcery.com>
11473
11474 * gdb.base/break-probes.exp: Match library name prefixed with
11475 sysroot.
11476
11477 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11478
11479 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11480 test expected output. Add parentheses for the call to print.
11481 Remove L suffix from integers.
11482
11483 2014-11-26 Doug Evans <dje@google.com>
11484
11485 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11486
11487 2014-11-22 Yao Qi <yao@codesourcery.com>
11488
11489 * gdb.trace/entry-values.c: Remove asms.
11490 (foo): Add foo_label.
11491 (bar): Add bar_label.
11492 * gdb.trace/entry-values.exp: Remove code computing foo's
11493 length and bar's length.
11494 (Dwarf::assemble): Invoke function_range for bar and use
11495 MACRO_AT_func for foo.
11496
11497 2014-11-22 Yao Qi <yao@codesourcery.com>
11498
11499 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11500 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11501 Use .Lgcc43_procstart instead of gcc43.
11502
11503 2014-11-21 Joel Brobecker <brobecker@adacore.com>
11504
11505 * gdb.ada/n_arr_bound: New testcase.
11506
11507 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11508
11509 PR breakpoints/10737
11510 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11511 test_catch_syscall_multi_arch.
11512 (test_catch_syscall_multi_arch): New function.
11513
11514 2014-11-20 Doug Evans <xdje42@gmail.com>
11515
11516 * gdb.base/maint.exp: Update expected output.
11517
11518 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11519
11520 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11521 4-byte instruction on S390.
11522
11523 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11524
11525 * gdb.ada/arr_arr: New testcase.
11526
11527 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11528
11529 * gdb.ada/pkd_arr_elem: New Testcase.
11530
11531 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11532
11533 * gdb.reverse/break-precsave: Expect completion message for
11534 core file reads.
11535 * gdb.reverse/consecutive-precsave.exp: Likewise.
11536 * gdb.reverse/finish-precsave.exp: Likewise.
11537 * gdb.reverse/i386-precsave.exp: Likewise.
11538 * gdb.reverse/machinestate-precsave.exp: Likewise.
11539 * gdb.reverse/sigall-precsave.exp: Likewise.
11540 * gdb.reverse/solib-precsave.exp: Likewise.
11541 * gdb.reverse/step-precsave.exp: Likewise.
11542 * gdb.reverse/until-precsave.exp: Likewise.
11543 * gdb.reverse/watch-precsave.exp: Likewise.
11544
11545 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11546
11547 * gdb.base/bp-permanent.c: Include unistd.h.
11548 * gdb.python/py-framefilter-mi.c (main): Add return type.
11549 * gdb.python/py-framefilter.c (main): Likewise.
11550 * gdb.trace/actions-changed.c (main): Likewise.
11551
11552 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11553
11554 * gdb.mi/until.c: Add eye-catchers.
11555 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11556 line numbers.
11557
11558 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11559
11560 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11561 function header variants in break1.c.
11562 * gdb.base/ena-dis-br.exp: Likewise.
11563 * gdb.base/hbreak2.exp: Likewise.
11564 * gdb.reverse/until-precsave.exp: Drop references to removed
11565 non-prototype function header variants in ur1.c.
11566 * gdb.reverse/until-reverse.exp: Likewise.
11567
11568 2014-11-17 Petr Machata <pmachata@redhat.com>
11569
11570 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11571 ${_cu_offset_size} bytes abbrev offset.
11572
11573 2014-11-15 Doug Evans <xdje42@gmail.com>
11574
11575 PR symtab/17559
11576 * gdb.base/line-symtabs.exp: New file.
11577 * gdb.base/line-symtabs.c: New file.
11578 * gdb.base/line-symtabs.h: New file.
11579
11580 2014-11-14 Yao Qi <yao@codesourcery.com>
11581
11582 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11583 (func): Add label func_label.
11584 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11585 Replace low_pc and high_pc with MACRO_AT_range.
11586 Replace name, low_pc and high_pc with MACRO_AT_func.
11587
11588 2014-11-14 Yao Qi <yao@codesourcery.com>
11589
11590 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11591 Replace name, low_pc and high_pc with MACRO_AT_func.
11592
11593 2014-11-14 Yao Qi <yao@codesourcery.com>
11594
11595 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11596 produce debug information.
11597 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11598
11599 2014-11-14 Yao Qi <yao@codesourcery.com>
11600
11601 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11602 object and get function length.
11603 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11604 with MACRO_AT_func.
11605 (top-level): Replace gdb_compile and clean_restart with
11606 prepare_for_testing.
11607 * gdb.dwarf2/main.c (main): Add label main_label.
11608
11609 2014-11-14 Yao Qi <yao@codesourcery.com>
11610
11611 * lib/dwarf.exp (function_range): New procedure.
11612 (Dwarf::_handle_macro_at_func): New procedure.
11613 (Dwarf::_handle_macro_at_range): New procedure.
11614 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11615
11616 2014-11-14 Yao Qi <yao@codesourcery.com>
11617
11618 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11619 (_handle_attribute): New procedure.
11620
11621 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11622
11623 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11624 * gdb.base/call-sc.c (zed): Likewise.
11625 * gdb.base/checkpoint.c (main): Likewise.
11626 * gdb.base/dump.c (main): Likewise.
11627 * gdb.base/gcore.c (main): Likewise.
11628 * gdb.base/huge.c (main): Likewise.
11629 * gdb.base/multi-forks.c (main): Likewise.
11630 * gdb.base/pr10179-a.c (main): Likewise.
11631 * gdb.base/savedregs.c (main): Likewise.
11632 * gdb.base/sigaltstack.c (main): Likewise.
11633 * gdb.base/siginfo.c (main): Likewise.
11634 * gdb.base/structs.c (zed): Likewise.
11635 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11636 * gdb.mi/mi-syn-frame.c (main): Likewise.
11637 * gdb.mi/until.c (foo, main): Likewise.
11638 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11639 * gdb.base/solib-weak.c (foo): Declare.
11640 * gdb.base/attach-twice.c: Include stdio.h.
11641 * gdb.base/weaklib1.c: Likewise.
11642 * gdb.base/weaklib2.c: Likewise.
11643 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11644 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11645 unistd.h.
11646 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11647 * gdb.mi/mi-exit-code.c: Likewise.
11648 * gdb.base/break-interp-lib.c: Include string.h.
11649 * gdb.base/coremaker.c: Likewise.
11650 * gdb.base/testenv.c: Likewise.
11651 * gdb.python/py-finish-breakpoint.c: Likewise.
11652 * gdb.base/inferior-died.c: Include sys/wait.h.
11653 * gdb.base/fileio.c: Include time.h.
11654 * gdb.base/async-shell.c: Include unistd.h.
11655 * gdb.base/dprintf-non-stop.c: Likewise.
11656 * gdb.base/info-os.c: Likewise.
11657 * gdb.mi/mi-console.c: Likewise.
11658 * gdb.mi/watch-nonstop.c: Likewise.
11659 * gdb.python/py-events.c: Likewise.
11660 * gdb.base/async.c (baz): Move up before its invocation.
11661 * gdb.base/code_elim2.c (my_global_func): Likewise.
11662 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11663 * gdb.base/advance.c (func2): Likewise.
11664
11665 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11666
11667 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11668 variant.
11669 * gdb.base/annota3.c: Likewise.
11670 * gdb.base/async.c: Likewise.
11671 * gdb.base/average.c: Likewise.
11672 * gdb.base/call-ar-st.c: Likewise.
11673 * gdb.base/call-rt-st.c: Likewise.
11674 * gdb.base/call-sc.c: Likewise.
11675 * gdb.base/call-strs.c: Likewise.
11676 * gdb.base/ending-run.c: Likewise.
11677 * gdb.base/execd-prog.c: Likewise.
11678 * gdb.base/exprs.c: Likewise.
11679 * gdb.base/foll-exec.c: Likewise.
11680 * gdb.base/foll-fork.c: Likewise.
11681 * gdb.base/foll-vfork.c: Likewise.
11682 * gdb.base/funcargs.c: Likewise.
11683 * gdb.base/gcore.c: Likewise.
11684 * gdb.base/jump.c: Likewise.
11685 * gdb.base/langs0.c: Likewise.
11686 * gdb.base/langs1.c: Likewise.
11687 * gdb.base/langs2.c: Likewise.
11688 * gdb.base/mips_pro.c: Likewise.
11689 * gdb.base/nodebug.c: Likewise.
11690 * gdb.base/opaque0.c: Likewise.
11691 * gdb.base/opaque1.c: Likewise.
11692 * gdb.base/recurse.c: Likewise.
11693 * gdb.base/run.c: Likewise.
11694 * gdb.base/scope0.c: Likewise.
11695 * gdb.base/scope1.c: Likewise.
11696 * gdb.base/setshow.c: Likewise.
11697 * gdb.base/setvar.c: Likewise.
11698 * gdb.base/shmain.c: Likewise.
11699 * gdb.base/shr1.c: Likewise.
11700 * gdb.base/shr2.c: Likewise.
11701 * gdb.base/sigall.c: Likewise.
11702 * gdb.base/signals.c: Likewise.
11703 * gdb.base/so-indr-cl.c: Likewise.
11704 * gdb.base/solib2.c: Likewise.
11705 * gdb.base/structs.c: Likewise.
11706 * gdb.base/sum.c: Likewise.
11707 * gdb.base/vforked-prog.c: Likewise.
11708 * gdb.base/watchpoint.c: Likewise.
11709 * gdb.reverse/shr2.c: Likewise.
11710 * gdb.reverse/until-reverse.c: Likewise.
11711 * gdb.reverse/ur1.c: Likewise.
11712 * gdb.reverse/watch-reverse.c: Likewise.
11713
11714 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11715
11716 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11717 variant.
11718 * gdb.base/sepdebug.exp: Drop references to removed code.
11719
11720 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11721
11722 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11723 variant. Preserve original line numbering.
11724 * gdb.base/list1.c: Likewise.
11725
11726 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11727
11728 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11729 variant.
11730 * gdb.base/break1.c: Likewise.
11731 * gdb.base/break.exp: Drop references to removed code.
11732
11733 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11734
11735 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11736 variant.
11737
11738 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11739
11740 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11741
11742 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11743
11744 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11745 logic into perform_all_tests() and invoke it with and without
11746 function header prototypes.
11747 (do_function_calls): Remove conditional XFAIL for PR 5318.
11748 (rerun_and_prepare): Remove duplicate code.
11749 (perform_all_tests): New. Main logic moved here.
11750
11751 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11752
11753 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11754 code guarded by #ifdef NO_PROTOTYPES.
11755 (t_double_many_args): Likewise.
11756 (DEF_FUNC_MANY_ARGS_1): Likewise.
11757 (DEF_FUNC_VALUES_1): Likewise.
11758 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11759 guarded by #ifdef PROTOTYPES.
11760
11761 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11762
11763 * gdb.mi/mi-console.c: Add eye-catcher.
11764 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11765 instead of literal line number.
11766
11767 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11768
11769 * gdb.base/shr2.c: Add eye-catcher.
11770 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11771 line number.
11772
11773 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11774
11775 * gdb.base/jump.c: Add eye-catchers.
11776 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11777 numbers.
11778
11779 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11780
11781 * gdb.base/execd-prog.c: Add eye-catchers.
11782 * gdb.base/foll-exec.c: Likewise.
11783 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11784 line numbers.
11785
11786 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11787
11788 * gdb.base/ending-run.c: Add eye-catchers.
11789 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11790 literal line numbers.
11791
11792 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11793
11794 * gdb.base/call-rt-st.c: Add eye-catchers.
11795 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11796 literal line numbers.
11797
11798 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11799
11800 * gdb.base/call-ar-st.c: Add eye-catchers.
11801 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11802 literal line numbers.
11803
11804 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11805
11806 * gdb.base/average.c: Add eye-catchers.
11807 * gdb.base/sum.c: Likewise.
11808 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11809 regexps dynamically.
11810
11811 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11812
11813 * gdb.base/solib1.c: Add eye-catchers.
11814 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11815 literal line numbers.
11816
11817 2014-11-12 Pedro Alves <palves@redhat.com>
11818
11819 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11820 leader has exited.
11821
11822 2014-11-12 Pedro Alves <palves@redhat.com>
11823
11824 * gdb.arch/i386-bp_permanent.c: New file.
11825 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11826 (srcfile): Set to i386-bp_permanent.c.
11827 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11828 that stepi does not execute the 'leave' instruction, instead of
11829 testing it does execute.
11830 * gdb.base/bp-permanent.c: New file.
11831 * gdb.base/bp-permanent.exp: New file.
11832
11833 2014-11-10 Doug Evans <xdje42@gmail.com>
11834
11835 PR symtab/17564
11836 * gdb.base/symtab-search-order.exp: New file.
11837 * gdb.base/symtab-search-order.c: New file.
11838 * gdb.base/symtab-search-order-1.c: New file.
11839 * gdb.base/symtab-search-order-shlib-1.c: New file.
11840
11841 2014-11-07 Pedro Alves <palves@redhat.com>
11842
11843 PR gdb/17511
11844 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11845 i?86-*-linux*.
11846
11847 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
11848
11849 PR c++/17494
11850 * gdb.cp/pr17494.cc: New file.
11851 * gdb.cp/pr17494.exp: New file.
11852
11853 2014-11-02 Yao Qi <yao@codesourcery.com>
11854
11855 * gdb.python/python.exp: Get working directory and match the
11856 output of "set extended-prompt \\w " with it.
11857
11858 2014-10-30 Doug Evans <dje@google.com>
11859
11860 * gdb.python/py-objfile.exp: Add tests for setting random attributes
11861 in objfiles.
11862 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11863 in progspaces.
11864
11865 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
11866
11867 * gdb.base/fullpath-expand.exp: Skip for a remote host.
11868 * gdb.base/realname-expand.exp: Likewise.
11869 * gdb.linespec/macro-relative.exp: Likewise.
11870
11871 2014-10-29 Pedro Alves <palves@redhat.com>
11872
11873 PR gdb/17408
11874 * gdb.threads/schedlock.c (some_function): New function.
11875 (call_function): New global.
11876 (MAYBE_CALL_SOME_FUNCTION): New macro.
11877 (thread_function): Call it.
11878 * gdb.threads/schedlock.exp (get_args): Add description parameter,
11879 and use it instead of a global counter. Adjust all callers.
11880 (get_current_thread): Use "find current thread" for test message
11881 here rather than having all callers pass down the same string.
11882 (goto_loop): New procedure, factored out from ...
11883 (my_continue): ... this.
11884 (step_ten_loops): Change parameter from test message to command to
11885 use. Adjust.
11886 (list_count): Delete global.
11887 (check_result): New procedure, factored out from duplicate top
11888 level code.
11889 (continue tests): Wrap in with_test_prefix.
11890 (test_step): New procedure, factored out from duplicate top level
11891 code.
11892 (top level): Test "step" in combination with all scheduler-locking
11893 modes. Test "next" in combination with all scheduler-locking
11894 modes, and in combination with stepping over a function call or
11895 not.
11896 * gdb.threads/next-bp-other-thread.c: New file.
11897 * gdb.threads/next-bp-other-thread.exp: New file.
11898
11899 2014-10-29 Pedro Alves <palves@redhat.com>
11900
11901 PR python/17372
11902 * gdb.python/python.exp: Test a multi-line command that spawns
11903 interactive Python.
11904 * gdb.base/multi-line-starts-subshell.exp: New file.
11905
11906 2014-10-29 Yao Qi <yao@codesourcery.com>
11907
11908 * gdb.base/fileio.exp: Make directories on host.
11909
11910 2014-10-29 Yao Qi <yao@codesourcery.com>
11911
11912 * gdb.base/fileio.c (test_write): Close the file.
11913
11914 2014-10-28 Pedro Alves <palves@redhat.com>
11915
11916 PR gdb/12623
11917 * gdb.base/sigstep.c (no_handler): New global.
11918 (main): If 'no_handler is true, set the signal handlers to
11919 SIG_IGN.
11920 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11921 with_sw_watch and no_handler parameters. Handle them.
11922 (top level) <stepping over handler when stopped at a breakpoint
11923 test>: Add a test axis for testing with a software watchpoint, and
11924 another for testing with the signal handler set to SIG_IGN.
11925 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11926 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11927
11928 2014-10-28 Pedro Alves <palves@redhat.com>
11929
11930 PR gdb/17511
11931 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11932 * gdb.base/sigstep.exp (other_handler_location): New global.
11933 (advance): Support stepping into the signal handler, and running
11934 commands while in the handler.
11935 (in_handler_map): New global.
11936 (top level): In the advance test, add combinations for getting
11937 into the handler with stepping commands, and for running commands
11938 in the handler. Add comment descripting the advancei tests.
11939
11940 2014-10-28 Pedro Alves <palves@redhat.com>
11941
11942 * gdb.base/sigstep.exp: Use build_executable instead of
11943 prepare_for_testing.
11944 (top level): Move code that starts GDB, runs to main and creates a
11945 display to ...
11946 (restart): ... this new procedure.
11947 (top level): Move backtrace from signal handler test to ...
11948 (validate_backtrace): ... this new procedure.
11949 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11950 with_test_prefix. Always restart GDB.
11951 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11952 with_test_prefix. Always restart GDB. No need to delete
11953 breakpoints after the test.
11954 (test_skip_handler): Remove prefix parameter.
11955 (skip_over_handler, breakpoint_to_handler)
11956 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11957 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11958 restart GDB. No need to delete breakpoints after the test.
11959 (top level): Use foreach to call the test procedures with
11960 different commands.
11961
11962 2014-10-28 Pedro Alves <palves@redhat.com>
11963
11964 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11965 instead of GNATS numbers.
11966 * gdb.base/sigbpt.exp: Likewise.
11967 * gdb.base/siginfo.exp: Likewise.
11968 * gdb.base/sigstep.exp: Likewise.
11969
11970 2014-10-27 Pedro Alves <palves@redhat.com>
11971
11972 * gdb.base/sigstep.c (dummy): New global.
11973 (main): Issue a couple writes to the new global.
11974 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11975 procedures.
11976 (skip_over_handler): Use test_skip_handler.
11977 (top level): Call skip_over_handler for stepi and nexti too.
11978 (breakpoint_over_handler): Use test_skip_handler.
11979 (top level): Call breakpoint_over_handler for stepi and nexti too.
11980
11981 2014-10-27 Yao Qi <yao@codesourcery.com>
11982
11983 * gdb.trace/tfile.c (adjust_function_address)
11984 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11985 function descriptor.
11986
11987 2014-10-24 Don Breazeal <donb@codesourcery.com>
11988
11989 * gdb.base/foll-fork.exp (test_follow_fork,
11990 catch_fork_child_follow): Check for updated fork messages emitted
11991 from infrun.c.
11992 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11993 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11994 vfork_and_exec_child_follow_through_step): Check for updated vfork
11995 messages emitted from infrun.c.
11996
11997 2014-10-24 Pedro Alves <palves@redhat.com>
11998
11999 * gdb.base/corefile.exp: Remove references to ultrix.
12000 * gdb.base/interrupt.exp: Likewise.
12001 * gdb.base/whatis.exp: Likewise.
12002 * gdb.gdb/selftest.exp: Likewise.
12003 * gdb.threads/manythreads.exp: Likewise.
12004 * gdb.threads/print-threads.exp: Likewise.
12005 * gdb.threads/pthreads.exp:: Likewise.
12006 * gdb.threads/schedlock.exp: Likewise.
12007
12008 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
12009
12010 * gdb.cp/non-trivial-retval.cc: Add a test case.
12011 * gdb.cp/non-trivial-retval.exp: Add a test.
12012
12013 2014-10-20 Yao Qi <yao@codesourcery.com>
12014
12015 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12016 * gdb.python/py-objfile-script-gdb.py: New file.
12017 * gdb.python/py-objfile-script.exp: Update reference to
12018 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
12019 of remote_download. Remove the dest file.
12020
12021 2014-10-20 Yao Qi <yao@codesourcery.com>
12022
12023 * gdb.base/checkpoint.exp: Don't remove file copied on host.
12024 * gdb.base/step-line.exp: Likewise.
12025 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12026 * gdb.dwarf2/dw2-basic.exp: Likewise.
12027 * gdb.dwarf2/dw2-compressed.exp: Likewise.
12028 * gdb.dwarf2/dw2-filename.exp: Likewise.
12029 * gdb.dwarf2/dw2-intercu.exp: Likewise.
12030 * gdb.dwarf2/dw2-intermix.exp: Likewise.
12031 * gdb.dwarf2/dw2-producer.exp: Likewise.
12032 * gdb.dwarf2/mac-fileno.exp: Likewise.
12033 * gdb.python/py-frame-args.exp: Likewise.
12034 * gdb.python/py-framefilter.exp: Likewise.
12035 * gdb.python/py-mi.exp: Likewise.
12036 * gdb.python/py-objfile-script.exp: Likewise
12037 * gdb.python/py-pp-integral.exp: Likewise.
12038 * gdb.python/py-pp-re-notag.exp: Likewise.
12039 * gdb.python/py-prettyprint.exp: Likewise.
12040 * gdb.python/py-section-script.exp: Likewise.
12041 * gdb.python/py-typeprint.exp: Likewise.
12042 * gdb.python/py-xmethods.exp: Likewise.
12043 * gdb.stabs/weird.exp: Likewise.
12044 * gdb.xml/tdesc-regs.exp: Likewise.
12045
12046 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
12047
12048 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12049 (out_cu): Use addr_len for the size of addresses.
12050 (out_line): Likewise. Size DW_LNE_set_address instruction
12051 according to addr_len.
12052 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12053 (FUNC): Add START_INSNS to definition.
12054
12055 2014-10-18 Yao Qi <yao@codesourcery.com>
12056
12057 * gdb.base/argv0-symlink.exp: Check argv[0] value if
12058 gdb_has_argv0 return true.
12059 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12060 check [target_info exists noargs], check [gdb_has_argv0]
12061 instead.
12062 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12063 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12064 procedures.
12065
12066 2014-10-17 Doug Evans <dje@google.com>
12067
12068 * gdb.python/py-events.exp: Update expected output for clear_objfiles
12069 event.
12070 * gdb.python/py-events.py: Add clear_objfiles event.
12071
12072 2014-10-17 Doug Evans <dje@google.com>
12073
12074 * gdb.python/py-objfile.exp: Test progspace attribute.
12075
12076 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
12077
12078 * gdb.guile/scm-breakpoint.exp: Do not assume any
12079 directory separators when matching source file paths.
12080 * gdb.python/py-breakpoint.exp: Likewise.
12081 * gdb.reverse/break-precsave.exp: Likewise.
12082 * gdb.reverse/break-reverse.exp: Likewise.
12083 * gdb.reverse/consecutive-precsave.exp: Likewise.
12084 * gdb.reverse/finish-precsave.exp: Likewise.
12085 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12086 * gdb.reverse/finish-reverse.exp: Likewise.
12087 * gdb.reverse/i386-precsave.exp: Likewise.
12088 * gdb.reverse/i387-env-reverse.exp: Likewise.
12089 * gdb.reverse/i387-stack-reverse.exp: Likewise.
12090 * gdb.reverse/machinestate-precsave.exp: Likewise.
12091 * gdb.reverse/machinestate.exp: Likewise.
12092 * gdb.reverse/sigall-precsave.exp: Likewise.
12093 * gdb.reverse/solib-precsave.exp: Likewise.
12094 * gdb.reverse/step-precsave.exp: Likewise.
12095 * gdb.reverse/until-precsave.exp: Likewise.
12096 * gdb.reverse/watch-precsave.exp: Likewise.
12097 * gdb.reverse/watch-reverse.exp: Likewise.
12098
12099 2014-10-17 Yao Qi <yao@codesourcery.com>
12100
12101 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12102 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12103
12104 2014-10-17 Pedro Alves <palves@redhat.com>
12105
12106 PR gdb/17471
12107 * gdb.base/bg-execution-repeat.c: New file.
12108 * gdb.base/bg-execution-repeat.exp: New file.
12109
12110 2014-10-17 Pedro Alves <palves@redhat.com>
12111
12112 PR gdb/17300
12113 * gdb.base/continue-all-already-running.c: New file.
12114 * gdb.base/continue-all-already-running.exp: New file.
12115
12116 2014-10-17 Pedro Alves <palves@redhat.com>
12117
12118 PR gdb/17472
12119 * gdb.base/annota-input-while-running.c: New file.
12120 * gdb.base/annota-input-while-running.exp: New file.
12121
12122 2014-10-17 Pedro Alves <palves@redhat.com>
12123
12124 * gdb.base/callfuncs.exp: emove references to osf.
12125 * gdb.base/sigall.exp: Likewise.
12126 * gdb.gdb/selftest.exp: Likewise.
12127 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12128 * gdb.mi/non-stop.c: Likewise.
12129 * gdb.mi/pthreads.c: Likewise.
12130 * gdb.reverse/sigall-precsave.exp: Likewise.
12131 * gdb.reverse/sigall-reverse.exp: Likewise.
12132 * gdb.threads/pthreads.c: Likewise.
12133 * gdb.threads/pthreads.exp: Likewise.
12134
12135 2014-10-17 Yao Qi <yao@codesourcery.com>
12136
12137 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12138 check 'target_info exists noargs'.
12139 (test_command_prompt_position): Likewise.
12140 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12141 Remove "set args".
12142 (progvar_simple_while_test): Likewise.
12143 (progvar_complex_if_while_test): Likewise.
12144 (if_while_breakpoint_command_test): Likewise.
12145 (infrun_breakpoint_command_test): Likewise.
12146 (breakpoint_command_test): Likewise.
12147 (watchpoint_command_test): Likewise.
12148 (bp_deleted_in_command_test): Likewise.
12149 (temporary_breakpoint_commands): Likewise.
12150
12151 2014-10-16 Yao Qi <yao@codesourcery.com>
12152
12153 * gdb.base/remotetimeout.exp: Remove noargs checking.
12154
12155 2014-10-15 Pedro Alves <palves@redhat.com>
12156
12157 PR breakpoints/9649
12158 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12159 * gdb.base/breakpoint-in-ro-region.exp
12160 (probe_target_hardware_step): New procedure.
12161 (top level): Probe hardware stepping and hardware breakpoint
12162 support. Test stepping through a read-only region, with both
12163 "breakpoint auto-hw" on and off and both "always-inserted" on and
12164 off.
12165
12166 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
12167
12168 * gdb.dlang/demangle.exp: Update for demangling changes.
12169
12170 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12171
12172 * gdb.cp/non-trivial-retval.cc: Add new test cases.
12173 * gdb.cp/non-trivial-retval.exp: Add new tests.
12174
12175 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12176
12177 PR c++/13403
12178 PR c++/15154
12179 * gdb.cp/non-trivial-retval.cc: New file.
12180 * gdb.cp/non-trivial-retval.exp: New file.
12181
12182 2014-10-15 Yao Qi <yao@codesourcery.com>
12183
12184 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12185 remote host.
12186
12187 2014-10-15 Yao Qi <yao@codesourcery.com>
12188
12189 * gdb.python/py-symbol.exp: Match file base name if host is
12190 remote, otherwise match file name with dir name.
12191 * gdb.python/py-symtab.exp: Likewise.
12192 * gdb.python/python.exp: Likewise.
12193
12194 2014-10-15 Yao Qi <yao@codesourcery.com>
12195
12196 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12197 pattern.
12198 * gdb.python/py-symtab.exp: Likewise.
12199 * gdb.python/python.exp: Remove trailing ".*". Fix typo
12200 locationn.
12201
12202 2014-10-14 Joel Brobecker <brobecker@adacore.com>
12203
12204 * gdb.ada/addr_arith: New testcase.
12205
12206 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
12207
12208 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12209 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12210 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12211 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12212
12213 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
12214
12215 * gdb.arch/stap-eval-lang-ada.S: Likewise.
12216 * gdb.arch/stap-eval-lang-ada.c: Likewise.
12217 * gdb.arch/stap-eval-lang-ada.exp: New file.
12218
12219 2014-10-14 Yao Qi <yao@codesourcery.com>
12220
12221 * gdb.mi/mi-var-child.c (nothing1): New function.
12222 (nothing2): New function.
12223 (do_children_tests): Set function pointers by nothing1 and
12224 nothing2.
12225 * gdb.mi/mi-var-child.exp: Step over new added statements.
12226 Update test to match the new output.
12227 * gdb.mi/var-cmd.c (nothing1): New function.
12228 (nothing2): New function.
12229 (do_children_tests): Set function pointers by nothing1 and
12230 nothing2.
12231 * gdb.mi/mi-var-display.exp: Update test to match output.
12232 Step to the line specified by $line_dct_nothing.
12233 Increase the number of lines to step.
12234
12235 2014-10-14 Yao Qi <yao@codesourcery.com>
12236
12237 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12238 tests.
12239 * gdb.mi/mi2-var-child.exp: Likewise.
12240
12241 2014-10-13 Doug Evans <dje@google.com>
12242
12243 * gdb.python/py-objfile.exp: Change name of file name test.
12244
12245 2014-10-13 Doug Evans <dje@google.com>
12246
12247 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12248 from the start of the CU.
12249
12250 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12251 Yao Qi <yao@codesourcery.com>
12252
12253 Fix "save breakpoints" for "catch" command.
12254 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12255 Remove -nonewline. Match also the added "main" line.
12256
12257 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12258
12259 Fix "save breakpoints" for "disable $bpnum" command.
12260 * gdb.base/save-bp.c (main): Add label.
12261 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
12262
12263 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12264
12265 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12266
12267 2014-10-11 Yao Qi <yao@codesourcery.com>
12268
12269 * gdb.server/server-kill.exp: Execute command
12270 "set remote trace-status-packet on" before "tstatus".
12271
12272 2014-10-11 Yao Qi <yao@codesourcery.com>
12273
12274 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12275 (main): Call getppid.
12276 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12277 and continue to it. Read variable "server_pid".
12278
12279 2014-10-11 Yao Qi <yao@codesourcery.com>
12280
12281 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12282
12283 2014-10-11 Yao Qi <yao@codesourcery.com>
12284
12285 * gdb.threads/thread-find.exp: Don't execute command
12286 "info threads".
12287 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12288 * gdb.threads/linux-dp.exp: Don't check the condition
12289 $threads_created equals to zero.
12290
12291 2014-10-10 Pedro Alves <palves@redhat.com>
12292
12293 * gdb.base/bigcore.exp: Remove references to IRIX.
12294 * gdb.base/funcargs.exp: Likewise.
12295 * gdb.base/interrupt.exp: Likewise.
12296 * gdb.base/mips_pro.exp: Likewise.
12297 * gdb.base/nodebug.exp: Likewise.
12298 * gdb.base/setvar.exp: Likewise.
12299 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12300
12301 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12302 Pedro Alves <palves@redhat.com>
12303
12304 PR symtab/14466
12305 * gdb.base/vdso-warning.c: New file.
12306 * gdb.base/vdso-warning.exp: New file.
12307
12308 2014-10-02 Doug Evans <dje@google.com>
12309
12310 * gdb.base/structs.c (main): Don't run forever.
12311
12312 2014-10-02 Pedro Alves <palves@redhat.com>
12313
12314 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12315 (top level) <stop threads 1, stop threads 2>: Use it.
12316
12317 2014-10-02 Pedro Alves <palves@redhat.com>
12318
12319 * gdb.threads/break-while-running.exp (test): Add new
12320 'update_thread_list' argument. Skip "info threads" if false.
12321 (top level): Add new 'update_thread_list' axis.
12322
12323 2014-10-02 Pedro Alves <palves@redhat.com>
12324
12325 PR breakpoints/17431
12326 * gdb.base/execl-update-breakpoints.c: New file.
12327 * gdb.base/execl-update-breakpoints.exp: New file.
12328
12329 2014-10-01 Pedro Alves <palves@redhat.com>
12330
12331 * gdb.base/breakpoint-in-ro-region.c: New file.
12332 * gdb.base/breakpoint-in-ro-region.exp: New file.
12333
12334 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
12335
12336 * gdb.mi/mi-exit-code.exp: New file.
12337 * gdb.mi/mi-exit-code.c: New file.
12338
12339 2014-09-30 Yao Qi <yao@codesourcery.com>
12340
12341 * lib/prelink-support.exp (build_executable_own_libs): Error if
12342 the target isn't native.
12343
12344 2014-09-30 Yao Qi <yao@codesourcery.com>
12345
12346 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12347 false.
12348
12349 2014-09-22 Pedro Alves <palves@redhat.com>
12350
12351 * gdb.threads/break-while-running.exp: New file.
12352 * gdb.threads/break-while-running.c: New file.
12353
12354 2014-09-19 Yao Qi <yao@codesourcery.com>
12355
12356 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12357 Invoke test. Restart GDB with --readnow and invoke test again.
12358
12359 2014-09-19 Yao Qi <yao@codesourcery.com>
12360
12361 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12362 proc set_breakpoint_on_gcd_function. Invoke
12363 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12364 invoke set_breakpoint_on_gcd_function again.
12365
12366 2014-09-18 Doug Evans <dje@google.com>
12367
12368 * gdb.dwarf2/symtab-producer.exp: New file.
12369
12370 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12371
12372 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12373 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12374 * gdb.base/global-var-nested-by-dso.c: Likewise.
12375 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12376
12377 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12378 Pedro Alves <palves@redhat.com>
12379
12380 * gdb.base/watch-bitfields.exp: Pass string other than test file
12381 name to prepare_for_testing.
12382 (watch): New procedure.
12383 (expect_watchpoint): Use with_test_prefix.
12384 (top level): Factor out tests to ...
12385 (test_watch_location, test_regular_watch): ... these new
12386 procedures, and use with_test_prefix and gdb_continue_to_end.
12387
12388 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12389
12390 PR breakpoints/12526
12391 * gdb.base/watch-bitfields.exp: New file.
12392 * gdb.base/watch-bitfields.c: New file.
12393
12394 2014-09-16 Pedro Alves <palves@redhat.com>
12395
12396 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12397 software and hardware addresses, not software address against
12398 itself.
12399
12400 2014-09-16 Pedro Alves <palves@redhat.com>
12401
12402 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12403 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12404
12405 2014-09-16 Pedro Alves <palves@redhat.com>
12406
12407 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12408 files.
12409 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12410 "*-*-vxworks*" throughout.
12411 * gdb.base/break.exp: Likewise.
12412 * gdb.base/default.exp: Likewise.
12413 * gdb.base/scope.exp: Likewise.
12414 * gdb.base/sepdebug.exp: Likewise.
12415 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12416 throughout.
12417 * gdb.base/run.c: Likewise.
12418 * gdb.base/sepdebug.c: Likewise.
12419 * gdb.hp/gdb.aCC/run.c: Likewise.
12420 * gdb.reverse/until-reverse.c: Likewise.
12421 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12422
12423 2014-09-16 Yao Qi <yao@codesourcery.com>
12424
12425 * boards/local-remote-host-native.exp: New file.
12426
12427 2014-09-14 Doug Evans <xdje42@gmail.com>
12428
12429 * gdb.threads/queue-signal.c (thread_count): New variable.
12430 (thread_count_mutex, thread_count_condvar): New variables.
12431 (incr_thread_count, wait_all_threads_running): New functions.
12432 (main): Wait for all threads to be in their thread functions.
12433
12434 2014-09-13 Doug Evans <xdje42@gmail.com>
12435
12436 * gdb.threads/queue-signal.c: New file.
12437 * gdb.threads/queue-signal.exp: New file.
12438
12439 2014-09-13 Doug Evans <xdje42@gmail.com>
12440
12441 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12442 be consistent with what default_gdb_init uses.
12443 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12444 the plain text of the prompt. Add some logging printfs.
12445 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12446
12447 2014-09-12 Pedro Alves <palves@redhat.com>
12448
12449 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12450 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12451 * gdb.arch/i386-size-overlap.exp: Likewise.
12452 * gdb.arch/i386-size.exp: Likewise.
12453 * gdb.arch/i386-unwind.exp: Likewise.
12454 * gdb.base/a2-run.exp: Likewise.
12455 * gdb.base/break.exp: Likewise.
12456 * gdb.base/charset.exp: Likewise.
12457 * gdb.base/chng-syms.exp: Likewise.
12458 * gdb.base/commands.exp: Likewise.
12459 * gdb.base/dbx.exp: Likewise.
12460 * gdb.base/find.exp: Likewise.
12461 * gdb.base/funcargs.exp: Likewise.
12462 * gdb.base/jit-simple.exp: Likewise.
12463 * gdb.base/reread.exp: Likewise.
12464 * gdb.base/sepdebug.exp: Likewise.
12465 * gdb.base/step-bt.exp: Likewise.
12466 * gdb.cp/mb-inline.exp: Likewise.
12467 * gdb.cp/mb-templates.exp: Likewise.
12468 * gdb.objc/basicclass.exp: Likewise.
12469 * gdb.threads/killed.exp: Likewise.
12470
12471 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12472
12473 PR tdep/17379
12474 * gdb.arch/powerpc-stackless.S: New file.
12475 * gdb.arch/powerpc-stackless.exp: New file.
12476
12477 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12478
12479 * gdb.base/attach.c: Include unistd.h.
12480 (main): Call alarm. Add label postloop.
12481 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12482 gdb_breakpoint, gdb_continue_to_breakpoint.
12483 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12484
12485 2014-09-11 Pedro Alves <palves@redhat.com>
12486
12487 PR gdb/17347
12488 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12489 * gdb.base/attach.exp (test_command_line_attach_run): New
12490 procedure.
12491 (top level): Call it.
12492
12493 2014-09-11 Pedro Alves <palves@redhat.com>
12494
12495 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12496 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12497 (do_command_attach_tests): Use spawn_wait_for_attach.
12498 * gdb.base/solib-overlap.exp: Likewise.
12499 * gdb.multi/multi-attach.exp: Likewise.
12500 * gdb.python/py-prompt.exp: Likewise.
12501 * gdb.python/py-sync-interp.exp: Likewise.
12502 * gdb.server/ext-attach.exp: Likewise.
12503
12504 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12505
12506 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12507 command in testcase. Simplify testcase.
12508
12509 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12510
12511 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12512
12513 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12514
12515 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12516
12517 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12518
12519 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12520
12521 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12522
12523 * gdb.dwarf2/dynarr-ptr.c: New file.
12524 * gdb.dwarf2/dynarr-ptr.exp: New file.
12525
12526 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12527
12528 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12529 of 30 rather than hardcoding 120 for a slow test case. Take the
12530 `gdb,timeout' target setting into account for this calculation.
12531 Don't extend the timeout for the test cases that don't need it.
12532
12533 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12534
12535 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12536 a factor of 2 for a slow test case. Take the `gdb,timeout'
12537 target setting into account for this calculation.
12538 * gdb.reverse/until-precsave.exp: Increase the timeout by
12539 a factor of 15 and 3 respectively rather than adding 120
12540 for a pair of slow test cases. Take the `gdb,timeout'
12541 target setting into account for this calculation.
12542
12543 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12544
12545 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12546 timeout, don't pass one down to gdb_expect.
12547 (gdb_expect): Rework timeout selection.
12548
12549 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12550
12551 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12552 exception on timeout.
12553 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12554 (gdbserver_start_extended): Catch any `gdbserver_start' error
12555 exceptions.
12556 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12557 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12558 `gdbserver_gdb_load' error exceptions.
12559
12560 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12561
12562 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12563 120 on waiting for the TCP socket to open.
12564
12565 2014-09-09 Doug Evans <xdje42@gmail.com>
12566
12567 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12568 _caller_matches, _any_caller_is, _any_caller_matches.
12569
12570 2014-09-09 Doug Evans <xdje42@gmail.com>
12571
12572 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12573
12574 2014-09-09 Yao Qi <yao@codesourcery.com>
12575
12576 * gdb.mi/mi-var-display.exp: Set print symbol off.
12577
12578 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12579
12580 PR gdb/17035
12581 * gdb.base/commands.exp: Add tests to verify user-defined
12582 commands with empty bodies.
12583 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12584 python commands in `show user command`.
12585 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12586 scheme commands in `show user command`.
12587
12588 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12589
12590 PR python/17355
12591 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12592 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12593 * gdb.python/py-framefilter-invalidarg.exp: New file.
12594 * gdb.python/py-framefilter-invalidarg.py: New file.
12595
12596 2014-09-06 Doug Evans <xdje42@gmail.com>
12597
12598 PR 15276
12599 * gdb.python/py-caller-is.c: New file.
12600 * gdb.python/py-caller-is.exp: New file.
12601
12602 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12603
12604 PR gdb/17235
12605 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12606 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12607
12608 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12609
12610 PR fortran/17237
12611 * gdb.fortran/print-formatted.exp: New file.
12612 * gdb.fortran/print-formatted.f90: Likewise.
12613
12614 2014-09-03 Sasha Smundak <asmundak@google.com>
12615
12616 * gdb.python/py-frame.exp: Test Frame.read_register.
12617
12618 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12619
12620 PR python/16699
12621 * gdb.python/py-completion.exp: New file.
12622 * gdb.python/py-completion.py: Likewise.
12623
12624 2014-08-28 Doug Evans <dje@google.com>
12625
12626 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12627 eax,etc. are live with values set by gdb and thus the compiler can't
12628 use them.
12629 * gdb.arch/i386-pseudo.c (main): Ditto.
12630
12631 2014-08-27 Doug Evans <dje@google.com>
12632
12633 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12634
12635 2014-08-25 Doug Evans <dje@google.com>
12636
12637 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12638 (main): Ditto.
12639
12640 2014-08-25 Doug Evans <dje@google.com>
12641
12642 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12643
12644 2014-08-24 Yao Qi <yao@codesourcery.com>
12645
12646 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12647 symbol off.
12648 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12649
12650 2014-08-22 Doug Evans <dje@google.com>
12651
12652 PR 17276
12653 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12654 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12655 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12656
12657 2014-08-22 Yao Qi <yao@codesourcery.com>
12658
12659 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12660 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12661 * gdb.python/python.exp: Likewise. Use .py file on the host
12662 instead of the build.
12663
12664 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12665
12666 * gdb.threads/gcore-stale-thread.c: New file.
12667 * gdb.threads/gcore-stale-thread.exp: New file.
12668
12669 2014-08-21 Pedro Alves <palves@redhat.com>
12670
12671 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12672 * gdb.base/gcore-relro-pie.exp: Likewise.
12673 * gdb.base/gcore-relro.exp: Likewise.
12674 * gdb.base/gcore.exp: Likewise.
12675 * gdb.base/print-symbol-loading.exp: Likewise.
12676 * gdb.threads/gcore-thread.exp: Likewise.
12677 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12678
12679 2014-08-20 Pedro Alves <palves@redhat.com>
12680 Jan Kratochvil <jan.kratochvil@redhat.com>
12681
12682 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12683 configure.
12684 (EXPECT): Handle READ1 being set.
12685 (all): Depend on EXTRA_RULES.
12686 (check-read1, expect-read1, read1.so, read1): New rules.
12687 * README (Testsuite Parameters): Document the READ1 make variable.
12688 (Race detection): New section.
12689 * configure: Regenerate.
12690 * configure.ac: If build==host==target, and running under a
12691 GNU/glibc system, add read1 to the extra Makefile rules.
12692 (EXTRA_RULES): AC_SUBST it.
12693 * lib/read1.c: New file.
12694
12695 2014-08-20 Joel Brobecker <brobecker@adacore.com>
12696
12697 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12698 the handling of variables declared as a typedef to an array
12699 which a DW_AT_data_location attribute.
12700
12701 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
12702 Pedro Alves <palves@redhat.com>
12703
12704 PR symtab/14604
12705 PR symtab/14605
12706 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12707 gdb_test.
12708
12709 2014-08-19 Pedro Alves <palves@redhat.com>
12710
12711 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12712
12713 2014-08-19 Yao Qi <yao@codesourcery.com>
12714
12715 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12716 right line.
12717
12718 2014-08-18 David Blaikie <dblaikie@gmail.com>
12719
12720 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12721
12722 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12723
12724 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12725 attribute in array range.
12726
12727 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12728
12729 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12730
12731 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12732
12733 PR c++/17132
12734 * gdb.cp/pr17132.cc: New file.
12735 * gdb.cp/pr17132.exp: New file.
12736
12737 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12738
12739 * gdb.python/py-xmethods.py (A_getarrayind)
12740 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12741 Use 'print' with function call syntax.
12742 (E_method_matcher.match): Fix tab vs space indentation mixup.
12743
12744 2014-08-15 Yao Qi <yao@codesourcery.com>
12745
12746 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12747 false.
12748
12749 2014-08-15 Yao Qi <yao@codesourcery.com>
12750
12751 * gdb.cp/casts.exp: Set print symbol off.
12752 * gdb.cp/class2.exp: Likewise.
12753 * gdb.cp/overload.exp: Likewise.
12754 * gdb.cp/templates.exp: Likewise.
12755
12756 2014-08-11 Doug Evans <dje@google.com>
12757
12758 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12759 (test_load_shlib): Update.
12760
12761 2014-08-09 Yao Qi <yao@codesourcery.com>
12762
12763 * gdb.base/display.exp: Invoke is_address_zero_readable.
12764 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12765 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12766 * gdb.base/hbreak-unmapped.exp: Return if
12767 is_address_zero_readable returns true.
12768 * gdb.base/signest.exp: Likewise.
12769 * gdb.base/signull.exp: Likewise.
12770 * gdb.base/sigbpt.exp: Likewise.
12771 * gdb.guile/scm-disasm.exp: Do the test if
12772 is_address_zero_readable returns false.
12773 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12774 * gdb.python/py-arch.exp: Likewise.
12775 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12776 * lib/gdb.exp (is_address_zero_readable): New proc.
12777
12778 2014-08-09 Yao Qi <yao@codesourcery.com>
12779
12780 PR testsuite/13443
12781 * gdb.mi/mi-var-display.exp: Make test messages unique.
12782
12783 2014-08-04 Tom Tromey <tromey@redhat.com>
12784
12785 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12786 target 0".
12787
12788 2014-08-04 Tom Tromey <tromey@redhat.com>
12789
12790 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12791 "target_resume".
12792
12793 2014-08-01 Joel Brobecker <brobecker@adacore.com>
12794
12795 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12796 inner_vla_struct_object_size.
12797 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12798 as xfail.
12799
12800 2014-07-30 Pedro Alves <palves@redhat.com>
12801
12802 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12803 comment.
12804
12805 2014-07-29 Yao Qi <yao@codesourcery.com>
12806
12807 PR gdb/17206
12808 * gdb.base/until-nodebug.exp: New.
12809
12810 2014-07-28 Doug Evans <xdje42@gmail.com>
12811
12812 PR guile/17203
12813 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12814 previously existing parameter, and previously ambiguously spelled
12815 parameter.
12816
12817 2014-07-28 Will Newton <will.newton@linaro.org>
12818
12819 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12820
12821 2014-07-26 Ludovic Courtès <ludo@gnu.org>
12822 Doug Evans <xdje42@gmail.com>
12823
12824 PR guile/17146
12825 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12826
12827 2014-07-25 Pedro Alves <palves@redhat.com>
12828
12829 * gdb.threads/signal-command-handle-nopass.c: New file.
12830 * gdb.threads/signal-command-handle-nopass.exp: New file.
12831 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12832 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12833 * gdb.threads/signal-delivered-right-thread.c: New file.
12834 * gdb.threads/signal-delivered-right-thread.exp: New file.
12835
12836 2014-07-25 Pedro Alves <palves@redhat.com>
12837
12838 * gdb.base/double-prompt-target-event-error.exp
12839 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12840 match.
12841 (cancel_pagination_in_target_event): Rework double prompt
12842 detection.
12843 * gdb.base/paginate-after-ctrl-c-running.exp
12844 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12845 <return>' match.
12846 * gdb.base/paginate-bg-execution.exp
12847 (test_bg_execution_pagination_return)
12848 (test_bg_execution_pagination_cancel): Remove '-notransfer
12849 <return>' matches.
12850 * gdb.base/paginate-execution-startup.exp
12851 (test_fg_execution_pagination_return)
12852 (test_fg_execution_pagination_cancel): Remove '-notransfer
12853 <return>' matches.
12854 * gdb.base/paginate-inferior-exit.exp
12855 (test_paginate_inferior_exited): Remove '-notransfer <return>'
12856 match.
12857 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12858 * lib/gdb.exp (pagination_prompt): Run text through
12859 string_to_regexp.
12860 (gdb_test_multiple): Match $pagination_prompt instead of
12861 "<return>".
12862 (string_to_regexp): Move to lib/gdb-utils.exp.
12863
12864 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12865
12866 * gdb.arch/amd64-entry-value-paramref.S: New file.
12867 * gdb.arch/amd64-entry-value-paramref.cc: New file.
12868 * gdb.arch/amd64-entry-value-paramref.exp: New file.
12869 * gdb.arch/amd64-optimout-repeat.S: New file.
12870 * gdb.arch/amd64-optimout-repeat.c: New file.
12871 * gdb.arch/amd64-optimout-repeat.exp: New file.
12872
12873 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12874
12875 PR gdb/17170
12876 * gdb.base/statistics.exp: New file.
12877
12878 2014-07-17 Doug Evans <dje@google.com>
12879
12880 PR gdb/17170
12881 * gdb.base/maint.exp: Update testing of per-command stats.
12882
12883 2014-07-16 Pedro Alves <palves@redhat.com>
12884
12885 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12886 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12887 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12888 (tfile_write_buf): New functions.
12889 (add_memory_block): Rewrite using the above.
12890 (adjust_function_address): New function.
12891 (FUNCTION_ADDRESS): New macro.
12892 (write_basic_trace_file): Remove short_x local, and use
12893 tfile_write_16. Change type of func_addr local to unsigned long
12894 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
12895 here. Cast argument of add_memory_block to char pointer.
12896 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
12897 (main): Remove parameters.
12898 * gdb.trace/tfile.exp: Remove nowarnings.
12899
12900 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
12901
12902 * gdb.base/debug-expr.exp: Test string evaluation with
12903 "debug expression" on.
12904
12905 2014-07-15 Pedro Alves <palves@redhat.com>
12906
12907 * gdb.base/reread.exp: Use clean_restart.
12908
12909 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
12910
12911 * gdb.arch/avr-flash-qualifer.c: New.
12912 * gdb.arch/avr-flash-qualifer.exp: New.
12913
12914 2014-07-14 Pedro Alves <palves@redhat.com>
12915
12916 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12917 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12918
12919 2014-07-14 Pedro Alves <palves@redhat.com>
12920
12921 * gdb.base/double-prompt-target-event-error.c: New file.
12922 * gdb.base/double-prompt-target-event-error.exp: New file.
12923
12924 2014-07-14 Pedro Alves <palves@redhat.com>
12925
12926 PR gdb/17072
12927 * gdb.base/paginate-inferior-exit.c: New file.
12928 * gdb.base/paginate-inferior-exit.exp: New file.
12929
12930 2014-07-14 Pedro Alves <palves@redhat.com>
12931
12932 PR gdb/17072
12933 * gdb.base/paginate-bg-execution.c: New file.
12934 * gdb.base/paginate-bg-execution.exp: New file.
12935
12936 2014-07-14 Pedro Alves <palves@redhat.com>
12937
12938 PR gdb/17072
12939 * gdb.base/paginate-execution-startup.c: New file.
12940 * gdb.base/paginate-execution-startup.exp: New file.
12941 * lib/gdb.exp (pagination_prompt): New global.
12942 (default_gdb_spawn): New procedure, factored out from
12943 default_gdb_spawn.
12944 (default_gdb_start): Adjust to call default_gdb_spawn.
12945 (gdb_spawn): New procedure.
12946
12947 2014-07-14 Pedro Alves <palves@redhat.com>
12948
12949 * lib/gdb.exp (gdb_assert): New procedure.
12950 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12951
12952 2014-07-14 Pedro Alves <palves@redhat.com>
12953
12954 * gdb.base/execution-termios.c: New file.
12955 * gdb.base/execution-termios.exp: New file.
12956
12957 2014-07-14 Tom Tromey <tromey@redhat.com>
12958
12959 * gdb.cp/vla-cxx.cc: New file.
12960 * gdb.cp/vla-cxx.exp: New file.
12961
12962 2014-07-14 Tom Tromey <tromey@redhat.com>
12963
12964 * gdb.reverse/rerun-prec.c: New file.
12965 * gdb.reverse/rerun-prec.exp: New file.
12966
12967 2014-07-12 Maciej W. Rozycki <macro@mips.com>
12968 Maciej W. Rozycki <macro@codesourcery.com>
12969
12970 * lib/gdb-utils.exp: New file.
12971 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12972 inline `gdb_init_command' processing.
12973 (gdb_start_cmd): Likewise.
12974 * lib/mi-support.exp (mi_run_cmd): Likewise.
12975 * README: Document `gdb_init_command' and `gdb_init_commands'.
12976
12977 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12978
12979 Fix false FAIL running under a very long directory name.
12980 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12981 and "set print elements 10000". Twice.
12982
12983 2014-07-11 Yao Qi <yao@codesourcery.com>
12984
12985 * gdb.base/exprs.exp: "set print symbol off".
12986
12987 2014-07-11 Pedro Alves <palves@redhat.com>
12988
12989 * gdb.threads/kill.c: New file.
12990 * gdb.threads/kill.exp: New file.
12991
12992 2014-07-10 Yao Qi <yao@codesourcery.com>
12993
12994 * gdb.trace/tfile.c (write_basic_trace_file)
12995 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12996 address written to trace file.
12997
12998 2014-07-09 Pedro Alves <palves@redhat.com>
12999
13000 * gdb.base/attach-wait-input.exp: New file.
13001 * gdb.base/attach-wait-input.c: New file.
13002
13003 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
13004
13005 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13006 setting up test structures.
13007 (main): Call new test function.
13008 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13009 test function, continue into test function and walk test
13010 structures.
13011
13012 2014-07-02 Yao Qi <yao@codesourcery.com>
13013
13014 * gdb.trace/entry-values.c: Define labels 'foo_start' and
13015 'bar_start' at the beginning of functions 'foo' and 'bar'
13016 respectively.
13017 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13018 instead of 'foo' and 'bar'.
13019
13020 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
13021
13022 * gdb.btrace/segv.exp: New.
13023 * gdb.btrace/segv.c: New.
13024
13025 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
13026
13027 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13028 instruction.
13029
13030 2014-06-30 Mark Wielaard <mjw@redhat.com>
13031
13032 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13033 vulture, vilify, villar): New volatile array constants.
13034 (vindictive, vegetation): New const volatile array constants.
13035 * gdb.base/volatile.exp: Test volatile and const volatile array
13036 types.
13037
13038 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13039
13040 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13041 target lacks support for awatch, rwatch, or hbreak.
13042
13043 2014-06-27 Yao Qi <yao@codesourcery.com>
13044
13045 * gdb.multi/dummy-frame-restore.exp: New.
13046 * gdb.multi/dummy-frame-restore.c: New.
13047
13048 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
13049
13050 * gdb.btrace/gcore.exp: New.
13051
13052 2014-06-23 Pedro Alves <palves@redhat.com>
13053
13054 * gdb.base/watchpoint-reuse-slot.c: New file.
13055 * gdb.base/watchpoint-reuse-slot.exp: New file.
13056
13057 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
13058
13059 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13060 progspace's filename in 'info', 'enable' and 'disable' command
13061 tests.
13062
13063 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13064
13065 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13066 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13067 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13068
13069 2014-06-20 Gary Benson <gbenson@redhat.com>
13070
13071 * gdb.arch/i386-avx.exp: Fix include file location.
13072 * gdb.arch/i386-sse.exp: Likewise.
13073
13074 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
13075
13076 * gdb.dlang/expression.exp: New file.
13077
13078 2014-06-19 Pedro Alves <palves@redhat.com>
13079
13080 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13081 out from ...
13082 (top level): ... here. Iterate running tests under different
13083 scheduler-locking settings.
13084
13085 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
13086
13087 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13088 to DW_FORM_addr and use non-zero addresses.
13089
13090 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
13091
13092 PR gdb/17017
13093 * gdb.python/py-xmethods.cc: Add global function call counters and
13094 increment them in their respective functions. Remove "cout"
13095 statements.
13096 * gdb.python/py-xmethods.exp: Make tests check the global function
13097 call counters instead of depending on inferior IO.
13098
13099 2014-06-18 Don Breazeal <donb@codesourcery.com>
13100
13101 * gdb.base/foll-fork.exp (default_fork_parent_follow):
13102 Deleted procedure.
13103 (explicit_fork_parent_follow): Deleted procedure.
13104 (explicit_fork_child_follow): Deleted procedure.
13105 (test_follow_fork): New procedure.
13106 (do_fork_tests): Replace calls to deleted procedures with
13107 calls to test_follow_fork and reset GDB for subsequent
13108 procedure calls.
13109
13110 2014-06-17 Yao Qi <yao@codesourcery.com>
13111
13112 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13113 CP1252.
13114
13115 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
13116
13117 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13118 Initialize ptr and S explicitly.
13119 (skip_type_update_when_not_use_rtti_test): Likewise.
13120
13121 2014-06-16 Keith Seitz <keiths@redhat.com>
13122
13123 PR mi/15863
13124 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13125 the inferior is started.
13126
13127 2014-06-16 Pedro Alves <palves@redhat.com>
13128
13129 * gdb.base/break-main-file-remove-fail.c: New file.
13130 * gdb.base/break-main-file-remove-fail.exp: New file.
13131 * gdb.base/break-unload-file.exp: Use build_executable instead of
13132 prepare_for_testing.
13133 (test_break): New parameter "initial_load". Handle it.
13134 (top level): Add initial_load cmdline/file axis.
13135
13136 2014-06-12 Tom Tromey <tromey@redhat.com>
13137
13138 * gdb.base/completion.exp: Don't use directory name in test.
13139
13140 2014-06-09 Gary Benson <gbenson@redhat.com>
13141
13142 * gdb.base/sigall.c [Functions to send signals]: Reorder to
13143 separate the always-available ANSI-standard signals from the
13144 signals that require checking.
13145 (main): Likewise.
13146 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13147 Likewise.
13148 (main): Likewise.
13149
13150 2014-06-07 Keith Seitz <keiths@redhat.com>
13151
13152 Revert:
13153 PR c++/16253
13154 * gdb.cp/var-tag.cc: New file.
13155 * gdb.cp/var-tag.exp: New file.
13156 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13157 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13158 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13159 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13160
13161 2014-06-06 Doug Evans <xdje42@gmail.com>
13162
13163 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13164
13165 2014-06-06 Pedro Alves <palves@redhat.com>
13166
13167 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13168 in target debug output instead of looking at RSP packets,
13169 disabling the test on any target that uses hardware stepping.
13170 Update comments.
13171
13172 2014-06-06 Pedro Alves <palves@redhat.com>
13173
13174 * gdb.base/break-unload-file.exp: Fix typo.
13175
13176 2014-06-06 Yao Qi <yao@codesourcery.com>
13177
13178 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13179 from "jit_function" to "^jit_function".
13180
13181 2014-06-06 Yao Qi <yao@codesourcery.com>
13182
13183 * gdb.base/async.c (foo): Add one statement.
13184 * gdb.base/async.exp: Get the next instruction address and
13185 match the output of "nexti" by instruction address. Match
13186 the hex address in the output of "finish".
13187
13188 2014-06-06 Gary Benson <gbenson@redhat.com>
13189
13190 * gdb.base/call-signals.c: Remove preprocessor conditionals
13191 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13192 SIGSEGV and SIGTERM.
13193 * gdb.base/sigall.c: Likewise.
13194 * gdb.base/unwindonsignal.c: Likewise.
13195 * gdb.reverse/sigall-reverse.c: Likewise.
13196
13197 2014-06-06 Yao Qi <yao@codesourcery.com>
13198
13199 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
13200 readable, skip the test.
13201
13202 2014-06-06 Yao Qi <yao@codesourcery.com>
13203
13204 * gdb.threads/staticthreads.c (thread_function): Move the line
13205 setting breakpoint on forward.
13206 * gdb.threads/staticthreads.exp: Update comments.
13207
13208 2014-06-05 Ludovic Courtès <ludo@gnu.org>
13209
13210 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13211 "history-append! type error".
13212
13213 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
13214
13215 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13216 erroneous dprintf expected input.
13217
13218 2014-06-04 Doug Evans <xdje42@gmail.com>
13219
13220 * gdb.guile/scm-generics.exp: Delete.
13221
13222 2014-06-04 Doug Evans <xdje42@gmail.com>
13223
13224 * gdb.guile/scm-breakpoint.exp: Update.
13225 Add tests for breakpoint registration.
13226
13227 2014-06-04 Tom Tromey <tromey@redhat.com>
13228
13229 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13230 VLA-in-union.
13231 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13232 inner_vla_struct, vla_union types. Initialize objects of those
13233 types and compute their sizes.
13234
13235 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
13236 Hui Zhu <hui@codesourcery.com>
13237
13238 * gdb.base/fileio.exp: Add test for shell not available as well as
13239 available.
13240 * gdb.base/fileio.c (test_system): Check for shell twice.
13241
13242 2014-06-04 Yao Qi <yao@codesourcery.com>
13243
13244 * gdb.base/auto-connect-native-target.exp: Remove redundant
13245 space from the regexp pattern.
13246
13247 2014-06-04 Yao Qi <yao@codesourcery.com>
13248
13249 * gdb.base/default.exp: Replace "child" with "native" in
13250 regexp pattern.
13251
13252 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
13253
13254 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13255 * gdb.python/py-xmethods.exp: New tests to test xmethods.
13256 * gdb.python/py-xmethods.py: Python script supporting the
13257 new testcase and tests.
13258
13259 2014-06-03 Joel Brobecker <brobecker@adacore.com>
13260 Pedro Alves <palves@redhat.com>
13261
13262 PR breakpoints/17000
13263 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13264 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13265
13266 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
13267
13268 * gdb.base/subst.exp: Add tests to verify partial path matching
13269 output.
13270
13271 2014-06-03 Pedro Alves <palves@redhat.com>
13272
13273 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13274 target that doesn't use software single-stepping.
13275
13276 2014-06-03 Pedro Alves <palves@redhat.com>
13277
13278 PR breakpoints/17000
13279 * gdb.base/sss-bp-on-user-bp-2.c: New file.
13280 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13281
13282 2014-06-02 Doug Evans <xdje42@gmail.com>
13283
13284 * gdb.guile/scm-parameter.exp: New file.
13285
13286 2014-06-02 Doug Evans <xdje42@gmail.com>
13287
13288 * gdb.guile/scm-cmd.c: New file.
13289 * gdb.guile/scm-cmd.exp: New file.
13290
13291 2014-06-02 Doug Evans <xdje42@gmail.com>
13292
13293 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13294 pretty-printer lookup.
13295 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13296 (make-pp_s-printer): Call it.
13297 (make-pretty-printer-from-dict): New function.
13298 (lookup-pretty-printer-maker-from-dict): New function.
13299 (*pretty-printer*): Simplify.
13300 (make-objfile-pp_s-printer): New function.
13301 (install-objfile-pretty-printers!): New function.
13302 (make-progspace-pp_s-printer): New function.
13303 (install-progspace-pretty-printers!): New function.
13304 * gdb.guile/scm-progspace.c: New file.
13305 * gdb.guile/scm-progspace.exp: New file.
13306
13307 2014-06-02 Pedro Alves <palves@redhat.com>
13308
13309 * gdb.base/dprintf-bp-same-addr.c: New file.
13310 * gdb.base/dprintf-bp-same-addr.exp: New file.
13311
13312 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13313
13314 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13315 * gdb.arch/powerpc-power.s: Likewise.
13316
13317 2014-06-02 Joel Brobecker <brobecker@adacore.com>
13318
13319 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13320
13321 2014-06-01 Yao Qi <yao@codesourcery.com>
13322
13323 * gdb.base/watchpoint.exp (test_watch_location): Check null
13324 pointer can be dereferenced. If not, do the test, otherwise
13325 skip it.
13326
13327 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13328
13329 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13330 results.
13331 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13332
13333 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13334
13335 * gdb.arch/amd64-invalid-stack-middle.S: New file.
13336 * gdb.arch/amd64-invalid-stack-middle.c: New file.
13337 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13338 * gdb.arch/amd64-invalid-stack-top.c: New file.
13339 * gdb.arch/amd64-invalid-stack-top.exp: New file.
13340
13341 2014-05-30 Pedro Alves <palves@redhat.com>
13342
13343 PR breakpoints/17000
13344 * gdb.base/sss-bp-on-user-bp.c: New file.
13345 * gdb.base/sss-bp-on-user-bp.exp: New file.
13346
13347 2014-05-30 David Blaikie <dblaikie@gmail.com>
13348
13349 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13350 gnu_inline semantics via attribute.
13351 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13352 source explicitly specifies the required semantics.
13353
13354 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13355
13356 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13357
13358 2014-05-29 Pedro Alves <palves@redhat.com>
13359 Tom Tromey <tromey@redhat.com>
13360
13361 * gdb.base/async-shell.exp: Don't enable target-async.
13362 * gdb.base/async.exp
13363 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13364 parameter. Adjust.
13365 (top level): Don't test with "target-async".
13366 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13367 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13368 * gdb.base/inferior-died.exp: Don't enable target-async.
13369 * gdb.base/interrupt-noterm.exp: Likewise.
13370 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13371 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13372 * gdb.mi/mi-nonstop.exp: Likewise.
13373 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13374 * gdb.mi/mi-nsintrall.exp: Likewise.
13375 * gdb.mi/mi-nsmoribund.exp: Likewise.
13376 * gdb.mi/mi-nsthrexec.exp: Likewise.
13377 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13378 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13379 * gdb.python/py-evsignal.exp: Don't enable target-async.
13380 * gdb.python/py-evthreads.exp: Likewise.
13381 * gdb.python/py-prompt.exp: Likewise.
13382 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13383 * gdb.server/solib-list.exp: Don't enable target-async.
13384 * gdb.threads/thread-specific-bp.exp: Likewise.
13385 * lib/mi-support.exp: Adjust to use mi-async.
13386
13387 2014-05-29 Pedro Alves <palves@redhat.com>
13388
13389 PR gdb/13860
13390 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13391 reason, even in sync mode.
13392
13393 2014-05-29 Pedro Alves <palves@redhat.com>
13394 Hui Zhu <hui@codesourcery.com>
13395
13396 PR PR15693
13397 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13398 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13399 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13400 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13401
13402 2014-05-28 Joel Brobecker <brobecker@adacore.com>
13403
13404 * config/monitor.exp (gdb_target_monitor): Replace use of
13405 "set remotebaud" by "set serial baud".
13406
13407 2014-05-26 Andy Wingo <wingo@igalia.com>
13408
13409 * gdb.guile/scm-breakpoint.exp:
13410 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13411 properties instead of gdb-object-properties.
13412
13413 2014-05-26 Yao Qi <yao@codesourcery.com>
13414
13415 * gdb.server/no-thread-db.exp: Specify source file name
13416 explicitly when setting a breakpoint.
13417
13418 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13419
13420 * gdb.btrace/vdso.c: New.
13421 * gdb.btrace/vdso.exp: New.
13422
13423 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13424
13425 * gdb.base/gcore.exp (capture_command_output): Move ...
13426 * lib/gdb.exp (capture_command_output): ... here.
13427
13428 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13429
13430 * gdb.btrace/data.exp: Test memory access during btrace replay.
13431
13432 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13433
13434 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13435
13436 2014-05-21 Pedro Alves <palves@redhat.com>
13437
13438 PR gdb/13860
13439 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13440 (top level): Test that output related to execution commands is
13441 sent to the console with CLI commands, but not with MI commands.
13442 Test that breakpoint events are always mirrored to the console.
13443 Also expect the new source line to be output after a "next" in
13444 async mode too. Make it a pass/fail test.
13445 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13446 output.
13447 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13448
13449 2014-05-21 Pedro Alves <palves@redhat.com>
13450
13451 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13452 Use them to test variations of "list" after reaching a breakpoint.
13453 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13454 Test "list" with listsize 10 after reaching a breakpoint.
13455 * gdb.python/python.exp (decode_line current location line
13456 number): Adjust expected line number.
13457
13458 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13459
13460 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13461 behavior for $args, pass it directly to "run".
13462
13463 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13464
13465 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13466 30000 to 65536.
13467
13468 2014-05-21 Pedro Alves <palves@redhat.com>
13469
13470 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13471 auto-connect-native-target off".
13472 * gdb.base/auto-connect-native-target.c: New file.
13473 * gdb.base/auto-connect-native-target.exp: New file.
13474
13475 2014-05-21 Pedro Alves <palves@redhat.com>
13476
13477 * gdb.base/default.exp: Test "target native" instead of "target
13478 child".
13479
13480 2014-05-21 Mark Wielaard <mjw@redhat.com>
13481
13482 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13483
13484 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13485
13486 Fix TLS access for -static -pthread.
13487 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13488 <HAVE_TLS> (thread_function, main): Initialize it.
13489 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13490 Add clean_restart.
13491 <$have_tls != "">: Check TLSVAR.
13492
13493 2014-05-21 Pedro Alves <palves@redhat.com>
13494
13495 * gdb.base/dcache-line-read-error.c: New.
13496 * gdb.base/dcache-line-read-error.exp: New.
13497
13498 2014-05-20 Pedro Alves <palves@redhat.com>
13499
13500 * gdb.base/compare-sections.c: New file.
13501 * gdb.base/compare-sections.exp: New file.
13502
13503 2014-05-20 Pedro Alves <palves@redhat.com>
13504
13505 * gdb.base/break-idempotent.c: New file.
13506 * gdb.base/break-idempotent.exp: New file.
13507
13508 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13509
13510 * gdb.btrace/nohist.exp: New.
13511
13512 2014-05-20 Yao Qi <yao@codesourcery.com>
13513
13514 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13515 gdb.reverse directory and gdb_reverse_timeout exists in board
13516 setting.
13517 * README: Document gdb_reverse_timeout.
13518
13519 2014-05-20 Yao Qi <yao@codesourcery.com>
13520
13521 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13522 'test_file_name'. Treat args as a string instead of a list.
13523 (gdb_init): Rename argument 'args' by 'test_file_name'.
13524
13525 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13526
13527 * gdb.arch/powerpc-power.exp: New file.
13528 * gdb.arch/powerpc-power.s: New file.
13529
13530 2014-05-16 Doug Evans <dje@google.com>
13531
13532 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13533 * gdb.base/completion.exp: Check that all expected files exist
13534 before doing file completion.
13535
13536 2014-05-16 Doug Evans <dje@google.com>
13537
13538 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13539 Update.
13540 (do_syscall_tests_without_xml): Update.
13541
13542 2014-05-16 Pedro Alves <palves@redhat.com>
13543
13544 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13545 instead of "unknown output after running".
13546
13547 2014-05-16 Yao Qi <yao@codesourcery.com>
13548
13549 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13550 file1.txt from host at the end.
13551 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13552
13553 2014-05-15 Doug Evans <dje@google.com>
13554
13555 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13556 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13557 loading file. Add test for TU lookup.
13558
13559 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13560
13561 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13562 calling "-exec-arguments" or "set args" before running the
13563 inferior.
13564
13565 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13566
13567 * lib/mi-support.exp (mi_expect_stop): Expect message for
13568 inferiors that exit with non-zero exit code.
13569
13570 2014-05-14 Yao Qi <yao@codesourcery.com>
13571
13572 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13573 match absolute path on remote host.
13574 (test_file_list_exec_source_files): Remove "/" from the
13575 pattern.
13576
13577 2014-05-14 Yao Qi <yao@codesourcery.com>
13578
13579 * boards/local-remote-host-notty.exp (${board}_file): New
13580 proc.
13581
13582 2014-05-07 Kyle McMartin <kyle@redhat.com>
13583
13584 Pushed by Joel Brobecker <brobecker@adacore.com>.
13585 * gdb.arch/aarch64-atomic-inst.c: New file.
13586 * gdb.arch/aarch64-atomic-inst.exp: New file.
13587
13588 2014-05-07 Yao Qi <yao@codesourcery.com>
13589
13590 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13591 in current context" too.
13592
13593 2014-05-05 Keith Seitz <keiths@redhat.com>
13594
13595 * gdb.linespec/ls-dollar.exp: Add test for linespec
13596 file:convenience_variable.
13597
13598 2014-05-05 Yao Qi <yao@codesourcery.com>
13599
13600 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13601 traceframes into tfile and ctf trace files. Read data from
13602 trace file and test collected data.
13603 (gdb_collect_locals_test): Likewise.
13604 (gdb_unavailable_registers_test): Likewise.
13605 (gdb_unavailable_floats): Likewise.
13606 (gdb_collect_globals_test): Likewise.
13607 (top-level): Append "ctf" to trace_file_targets if GDB
13608 supports.
13609
13610 2014-05-05 Yao Qi <yao@codesourcery.com>
13611
13612 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13613 code to ...
13614 (gdb_collect_args_test_1): ... it. New proc.
13615 (gdb_collect_locals_test): Move some code to ...
13616 (gdb_collect_locals_test_1): ... it. New proc.
13617 (gdb_unavailable_registers_test): Move some code to ...
13618 (gdb_unavailable_registers_test_1): ... it. New proc.
13619 (gdb_unavailable_floats): Move some code to ...
13620 (gdb_unavailable_floats_1): ... it. New proc.
13621
13622 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13623
13624 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13625 probes to test for bitness recognition.
13626 * gdb.arch/amd64-stap-optional-prefix.exp
13627 (test_probe_value_without_reg): New procedure.
13628 Add code to test for different kinds of bitness.
13629
13630 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13631
13632 PR breakpoints/16889
13633 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13634 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13635
13636 2014-05-01 Pedro Alves <palves@redhat.com>
13637
13638 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13639 gdb_file_cmd if no file is specified.
13640 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13641 last_loaded_file to set the remote exec-file.
13642
13643 2014-05-01 Pedro Alves <palves@redhat.com>
13644
13645 * boards/local-remote-host.exp: New file.
13646
13647 2014-05-01 Pedro Alves <palves@redhat.com>
13648
13649 * boards/local-remote-host.exp: Rename to ...
13650 * boards/local-remote-host-notty.exp: ... this.
13651
13652 2014-04-28 Joel Brobecker <brobecker@adacore.com>
13653
13654 * gdb.ada/dyn_arrayidx: New testcase.
13655
13656 2014-04-26 Yao Qi <yao@codesourcery.com>
13657
13658 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13659 and compute the length of function main. Save it in
13660 $main_length.
13661 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13662 (top-level): Use gdb_compile to compile objects into
13663 executable and restart GDB. Remove invocation to
13664 prepare_for_testing.
13665
13666 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13667 Pedro Alves <palves@redhat.com>
13668
13669 PR server/16255
13670 * gdb.multi/multi-attach.c: New file.
13671 * gdb.multi/multi-attach.exp: New file.
13672
13673 2014-04-25 Pedro Alves <palves@redhat.com>
13674
13675 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13676 user.
13677 (top level): Test that "set remote conditional-breakpoints-packet
13678 off" works as intended.
13679 * gdb.base/dprintf.exp: Test that "set remote
13680 breakpoint-commands-packet off" works as intended.
13681 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13682 New function.
13683 (top level): Call it.
13684 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13685 remote fast-tracepoints-packet off" works as intended.
13686 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13687 * lib/gdb.exp (gdb_is_target_remote): ... here.
13688
13689 2014-04-24 David Blaikie <dblaikie@gmail.com>
13690
13691 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13692 ensure clang would not discard them.
13693 * gdb.base/gdbvars.c: Ditto.
13694 * gdb.base/memattr.c: Ditto.
13695 * gdb.base/whatis.c: Ditto.
13696 * gdb.python/py-prettyprint.c: Ditto.
13697 * gdb.trace/actions.c: Ditto.
13698 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13699 ensure clang would not discard it.
13700
13701 2014-04-24 David Blaikie <dblaikie@gmail.com>
13702
13703 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13704 clang to emit the full definition of type required by the test
13705 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13706
13707 2014-04-24 David Blaikie <dblaikie@gmail.com>
13708
13709 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13710 coax Clang into emitting the definition of the type.
13711 * gdb.cp/pr10728-x.h (y): Ditto.
13712 * gdb.cp/pr10728-y.cc (y): Ditto.
13713
13714 2014-04-24 David Blaikie <dblaikie@gmail.com>
13715
13716 * gdb.base/label.exp: XFAIL label related tests under Clang.
13717 * gdb.cp/cplabel.exp: Ditto.
13718 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13719 under Clang those using labels.
13720
13721 2014-04-25 Yao Qi <yao@codesourcery.com>
13722
13723 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13724 double_label.
13725 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13726 partial_label and double_label.
13727
13728 2014-04-24 David Blaikie <dblaikie@gmail.com>
13729
13730 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13731
13732 2014-04-24 David Blaikie <dblaikie@gmail.com>
13733
13734 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13735 of the function to work across GCC and Clang.
13736 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13737 pointer types (const void ** const V void **).
13738
13739 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
13740 Walfred Tedeschi <walfred.tedeschi@intel.com>
13741
13742 * Makefile.in (EXECUTABLES): Added i386-avx512.
13743 * gdb.arch/i386-avx512.c: New file.
13744 * gdb.arch/i386-avx512.exp: Likewise.
13745
13746 2014-04-23 Keith Seitz <keiths@redhat.com>
13747
13748 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13749 (mi_make_breakpoint_table): New procedure.
13750 (mi_create_breakpoint): Use mi_make_breakpoint
13751 and return the result.
13752 (mi_make_breakpoint): New procedure.
13753 (mi_build_kv_pairs): New procedure.
13754
13755 * gdb.mi/mi-break.exp: Remove unused globals,
13756 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13757 All callers updated.
13758 * gdb.mi/mi-dprintf.exp: Use variable to track command
13759 number.
13760 Update all callers of mi_create_breakpoint and use
13761 mi_make_breakpoint_table.
13762 Remove any unused global variables.
13763 * gdb.mi/mi-nonstop.exp: Likewise.
13764 * gdb.mi/mi-nsintrall.exp: Likewise.
13765 * gdb.mi/mi-nsmoribund.exp: Likewise.
13766 * gdb.mi/mi-nsthrexec.exp: Likewise.
13767 * gdb.mi/mi-reverse.exp: Likewise.
13768 * gdb.mi/mi-simplerun.exp: Likewise.
13769 * gdb.mi/mi-stepn.exp: Likewise.
13770 * gdb.mi/mi-syn-frame.exp: Likewise.
13771 * gdb.mi/mi-until.exp: Likewise.
13772 * gdb.mi/mi-var-cp.exp: Likewise.
13773 * gdb.mi/mi-var-display.exp: Likewise.
13774 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13775 * gdb.mi/mi2-var-child.exp: Likewise.
13776 * gdb.mi/mi-vla-c99.exp: Likewise.
13777 * lib/mi-support.exp: Likewise.
13778
13779 From Ian Lance Taylor <iant@cygnus.com>:
13780 * lib/gdb.exp (parse_args): New procedure.
13781
13782 2014-04-23 Pedro Alves <palves@redhat.com>
13783
13784 * gdb.base/break-unload-file.c: New file.
13785 * gdb.base/break-unload-file.exp: New file.
13786 * gdb.base/sym-file-lib.c (baz): New function.
13787 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13788 field.
13789 (load): Store the segment's mapped size.
13790 (unload): New function.
13791 (unload_shlib): New function.
13792 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13793 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13794 set a breakpoint at baz, and call it.
13795 * gdb.base/sym-file.exp: New tests for stale breakpoint
13796 instructions.
13797
13798 2014-04-23 Pedro Alves <palves@redhat.com>
13799
13800 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13801 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13802 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13803 * gdb.base/hbreak-unmapped.c: New file.
13804 * gdb.base/hbreak-unmapped.exp: New file.
13805 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13806 * lib/gdb.exp (gdb_is_target_remote): ... here.
13807
13808 2014-04-22 Pedro Alves <palves@redhat.com>
13809
13810 * gdb.base/consecutive-step-over.c: New file.
13811 * gdb.base/consecutive-step-over.exp: New file.
13812
13813 2014-04-22 Pedro Alves <palves@redhat.com>
13814
13815 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13816 instead of send_gdb/gdb_expect.
13817
13818 2014-04-22 Yao Qi <yao@codesourcery.com>
13819
13820 * lib/trace-support.exp (generate_tracefile): New procedure.
13821 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13822 return 0.
13823 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13824 if generate_tracefile returns 1.
13825
13826 2014-04-18 Tom Tromey <palves@redhat.com>
13827 Pedro alves <tromey@redhat.com>
13828
13829 PR backtrace/15558
13830 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13831 with a backtrace limit.
13832 * gdb.python/py-frame-inline.exp: Test running to an inline
13833 function with a backtrace limit, and printing the newest frame.
13834 * gdb.python/py-frame-inline.c (main): Call f.
13835
13836 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13837
13838 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13839
13840 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13841
13842 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13843 Drop prefix from unsupported source file path.
13844
13845 2014-04-17 Yao Qi <yao@codesourcery.com>
13846
13847 * lib/gdb.exp (with_target_charset): New proc.
13848 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13849 with_target_charset.
13850 (test_print_strings): Likewise.
13851 (test_repeat_bytes): Likewise.
13852 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13853 for some tests.
13854
13855 2014-04-16 Keith Seitz <keiths@redhat.com>
13856
13857 PR gdb/15827
13858 * gdb.dwarf2/corrupt.c: New file.
13859 * gdb.dwarf2/corrupt.exp: New file.
13860
13861 2014-04-16 Keith Seitz <keiths@redhat.com>
13862
13863 PR c++/16597
13864 * gdb.cp/namelessclass.cc: New file.
13865 * gdb.cp/namelessclass.exp: New file.
13866 * gdb.cp/namelessclass.S: New file.
13867
13868 2014-04-16 Doug Evans <dje@google.com>
13869
13870 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13871 Add comment.
13872 (gdbserver_default_get_comm_port): New function.
13873 (gdbserver_start): Check if board file provided
13874 "gdbserver,get_comm_port" and use it if so.
13875 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13876 (gdb,socketport): Set to "stdio".
13877 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13878 (stdio_gdbserver_template): Delete.
13879 (${board}_get_remote_address): Update.
13880 (${board}_build_remote_cmd): Delete.
13881 (${board}_get_comm_port): New function.
13882 (${board}_spawn): Update.
13883 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13884 Delete.
13885 (${board}_get_remote_address): Update.
13886 (${board}_get_comm_port): New function.
13887
13888 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
13889
13890 * gdb.base/memattr.exp: Improve regexps to handle memory regions
13891 appearing in any order.
13892
13893 2014-04-15 Doug Evans <dje@google.com>
13894
13895 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13896 uninitialized value of "description".
13897
13898 2014-04-15 Keith Seitz <keiths@redhat.com>
13899
13900 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13901 Remove unused globals.
13902 (test_running_the_program): Likewise.
13903 (test_controlled_execution): Likewise.
13904 (test_controlling_breakpoints): Likewise.
13905 (test_program_termination): Likewise.
13906
13907 2014-04-15 Keith Seitz <keiths@redhat.com>
13908
13909 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13910 unused globals.
13911 (test_rbreak_creation_and_listing): Likewise.
13912 (test_ignore_count): Likewise.
13913 (test_error): Likewise.
13914
13915 2014-04-15 Pedro Alves <palves@redhat.com>
13916
13917 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13918 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13919 sym-file-loader.c.
13920 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13921 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13922 to sym-file-loader.c.
13923 (struct library): Forward declare.
13924 (load_shlib, lookup_function): Change prototypes.
13925 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13926 (translate_offset): Remove declarations.
13927 (get_text_addr): New declaration.
13928 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13929 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13930 sym-file-loader.h.
13931 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13932 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13933 here from sym-file-loader.h.
13934 (struct library): New structure.
13935 (load_shlib, lookup_function): Change prototypes and adjust to
13936 work with a struct library.
13937 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13938 (translate_offset): Make static.
13939 (get_text_addr): New function.
13940 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13941
13942 2014-04-15 Pedro Alves <palves@redhat.com>
13943
13944 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13945
13946 2014-04-15 Pedro Alves <palves@redhat.com>
13947
13948 * gdb.base/sym-file-loader.c: Include <limits.h>.
13949 (SELF_LINK): New define.
13950 (get_origin): New function.
13951 (load_shlib): Use it.
13952 * gdb.base/sym-file.exp: Don't early return if the target is
13953 remote. Use runto_main, and issue fail is that fails. Use
13954 gdb_load_shlibs.
13955 (shlib_name): Delete.
13956 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13957
13958 2014-04-15 Pedro Alves <palves@redhat.com>
13959
13960 * gdb.base/sym-file.exp: Remove regex characters from test
13961 message. Don't refer to breakpoint numbers in test messages.
13962
13963 2014-04-14 Keith Seitz <keiths@redhat.com>
13964
13965 PR c++/16253
13966 * gdb.cp/var-tag.cc: New file.
13967 * gdb.cp/var-tag.exp: New file.
13968 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13969 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13970 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13971 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13972
13973 2014-04-14 Tom Tromey <tromey@redhat.com>
13974
13975 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13976 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13977 type.
13978 * gdb.cp/enum-class.exp: New file.
13979 * gdb.cp/enum-class.cc: New file.
13980
13981 2014-04-14 Tom Tromey <tromey@redhat.com>
13982
13983 * gdb.dwarf2/enum-type.exp: New file.
13984
13985 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13986
13987 * gdb.mi/mi-vla-c99.exp: New file.
13988 * gdb.mi/vla.c: New file.
13989
13990 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13991
13992 * gdb.base/vla-datatypes.c: New file.
13993 * gdb.base/vla-datatypes.exp: New file.
13994
13995 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13996
13997 * gdb.base/vla-ptr.c: New file.
13998 * gdb.base/vla-ptr.exp: New file.
13999
14000 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14001
14002 * gdb.dwarf2/count.exp: New file.
14003
14004 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14005
14006 * gdb.base/vla-sideeffect.c: New file.
14007 * gdb.base/vla-sideeffect.exp: New file.
14008
14009 2014-04-14 David Blaikie <dblaikie@gmail.com>
14010
14011 * gdb.mi/non-stop.c: Add return value for non-void function return
14012 statement.
14013 * gdb.threads/staticthreads.c: Ditto.
14014
14015 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
14016 Doug Evans <xdje42@gmail.com>
14017
14018 * gdb.guile/scm-value.c: Improve test case.
14019 * gdb.guile/scm-value.exp: Add new test.
14020
14021 2014-04-11 David Blaikie <dblaikie@gmail.com>
14022
14023 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14024 override Clang's default.
14025
14026 2014-04-11 Joel Brobecker <brobecker@adacore.com>
14027
14028 Revert the following changes (regressions):
14029
14030 * gdb.base/vla-sideeffect.c: New file.
14031 * gdb.base/vla-sideeffect.exp: New file.
14032
14033 * gdb.dwarf2/count.exp: New file.
14034
14035 * gdb.base/vla-multi.c: New file.
14036 * gdb.base/vla-multi.exp: New file.
14037
14038 * gdb.base/vla-ptr.c: New file.
14039 * gdb.base/vla-ptr.exp: New file.
14040
14041 * gdb.base/vla-datatypes.c: New file.
14042 * gdb.base/vla-datatypes.exp: New file.
14043
14044 * gdb.mi/mi-vla-c99.exp: New file.
14045 * gdb.mi/vla.c: New file.
14046
14047 2014-04-11 Keith Seitz <keiths@redhat.com>
14048
14049 PR c++/16675
14050 * gdb.cp/cpsizeof.exp: New file.
14051 * gdb.cp/cpsizeof.cc: New file.
14052
14053 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14054
14055 * gdb.mi/mi-vla-c99.exp: New file.
14056 * gdb.mi/vla.c: New file.
14057
14058 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14059
14060 * gdb.base/vla-datatypes.c: New file.
14061 * gdb.base/vla-datatypes.exp: New file.
14062
14063 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14064
14065 * gdb.base/vla-ptr.c: New file.
14066 * gdb.base/vla-ptr.exp: New file.
14067
14068 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14069
14070 * gdb.base/vla-multi.c: New file.
14071 * gdb.base/vla-multi.exp: New file.
14072
14073 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14074
14075 * gdb.dwarf2/count.exp: New file.
14076
14077 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14078
14079 * gdb.base/vla-sideeffect.c: New file.
14080 * gdb.base/vla-sideeffect.exp: New file.
14081
14082 2014-04-11 Yao Qi <yao@codesourcery.com>
14083
14084 * gdb.base/completion.exp: Check file exists before running tests
14085 on file completion.
14086
14087 2014-04-10 Pedro Alves <palves@redhat.com>
14088
14089 * gdb.base/cond-eval-mode.c: New file.
14090 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
14091 prepare_for_testing to build the new file. Check result of
14092 runto_main.
14093 (test_break, test_watch): New procedures.
14094 (top level): Use them.
14095
14096 2014-04-08 Pierre Muller <muller@sourceware.org>
14097
14098 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14099 Ctrl-V use for mingw hosts.
14100
14101 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
14102
14103 * gdb.python/py-value.c: Improve test case.
14104 * gdb.python/py-value.exp: Add new test.
14105
14106 2014-04-07 David Blaikie <dblaikie@gmail.com>
14107
14108 * lib/compiler.c: Identify the clang compiler.
14109 * lib/compiler.cc: Ditto.
14110
14111 2014-04-03 Yao Qi <yao@codesourcery.com>
14112
14113 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14114
14115 2014-04-01 Anton Blanchard <anton@samba.org>
14116
14117 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
14118 messages unique.
14119
14120 2014-04-01 Anton Blanchard <anton@samba.org>
14121
14122 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14123 prepare_for_testing.
14124
14125 2014-04-01 Anton Blanchard <anton@samba.org>
14126
14127 * gdb.arch/ppc64-atomic-inst.c: Remove.
14128 * gdb.arch/ppc64-atomic-inst.S: New file.
14129 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14130
14131 2014-03-31 Doug Evans <dje@google.com>
14132
14133 * gdb.base/print-symbol-loading-lib.c: New file.
14134 * gdb.base/print-symbol-loading-main.c: New file.
14135 * gdb.base/print-symbol-loading.exp: New file.
14136
14137 2014-03-31 Yao Qi <yao@codesourcery.com>
14138
14139 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14140
14141 2014-03-28 Joel Brobecker <brobecker@adacore.com>
14142
14143 * gdb.ada/mi_dyn_arr: New testcase.
14144
14145 2014-03-27 Doug Evans <dje@google.com>
14146
14147 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14148
14149 2014-03-27 Yao Qi <yao@codesourcery.com>
14150
14151 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14152 if target is nios2-*-*.
14153
14154 2014-03-26 Yao Qi <yao@codesourcery.com>
14155
14156 * lib/gdb.exp (readline_is_used): New proc.
14157 * gdb.base/completion.exp: Move tests on command complete up.
14158 Skip the rest of tests if readline is not used.
14159 * gdb.ada/complete.exp: Skp the test if readline is not
14160 used.
14161 * gdb.base/filesym.exp: Likewise.
14162 * gdb.base/macscp.exp: Likewise.
14163 * gdb.base/readline-ask.exp: Likewise.
14164 * gdb.base/readline.exp: Likewise.
14165 * gdb.python/py-cmd.exp: Likewise.
14166 * gdb.trace/tfile.exp: Likewise.
14167
14168 2014-03-26 Yao Qi <yao@codesourcery.com>
14169
14170 * gdb.base/macscp.exp: Fix code format issues.
14171
14172 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
14173
14174 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14175 * gdb.asm/powerpc64le.inc: New file.
14176
14177 2014-03-25 Pedro Alves <palves@redhat.com>
14178 Doug Evans <dje@google.com>
14179
14180 * gdb.base/source-execution.c: New file.
14181 * gdb.base/source-execution.exp: New file.
14182 * gdb.base/source-execution.gdb: New file.
14183
14184 2014-03-24 Doug Evans <dje@google.com>
14185
14186 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14187 using fission.
14188
14189 2014-03-24 Hui Zhu <hui@codesourcery.com>
14190 Pedro Alves <palves@redhat.com>
14191
14192 PR breakpoints/16101
14193 * gdb.base/dprintf.exp: Use unsupported rather than changing the
14194 test pass/fail messages. Detect missing support for dprintf when
14195 breakpoints are actually inserted.
14196 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14197 breakpoints are actually inserted.
14198 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14199 fails.
14200
14201 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14202
14203 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14204
14205 2014-03-22 Doug Evans <xdje42@gmail.com>
14206
14207 * gdb.python/python.exp (python not supported): Verify multi-line
14208 python command issues an error.
14209 * gdb.guile/guile.exp (guile not supported): Verify multi-line
14210 guile command issues an error.
14211
14212 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
14213
14214 * gdb.threads/thread-specific.exp: Handle the lack of usable
14215 $this_breakpoint and $this_thread.
14216
14217 2014-03-21 Hui Zhu <hui@codesourcery.com>
14218
14219 * gdb.base/attach.exp (do_command_attach_tests): New.
14220
14221 2014-03-20 Tom Tromey <tromey@redhat.com>
14222 Pedro Alves <palves@redhat.com>
14223
14224 PR cli/15718
14225 * gdb.base/condbreak-call-false.c: New file.
14226 * gdb.base/condbreak-call-false.exp: New file.
14227
14228 2014-03-20 Pedro Alves <palves@redhat.com>
14229
14230 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14231 Delete.
14232 (block_signals, unblock_signals): Delete.
14233 (child_function_2, main): Remove references to deleted variable
14234 and functions.
14235
14236 2014-03-20 Pedro Alves <palves@redhat.com>
14237
14238 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14239 Use pthread_kill to signal thread 2.
14240 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14241 Adjust to make the test send itself a signal rather than using the
14242 host's "kill" command.
14243
14244 2014-03-20 Pedro Alves <palves@redhat.com>
14245
14246 * gdb.threads/multiple-step-overs.c: New file.
14247 * gdb.threads/multiple-step-overs.exp: New file.
14248 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14249 Adjust expected infrun debug output.
14250
14251 2014-03-20 Pedro Alves <palves@redhat.com>
14252
14253 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14254 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14255
14256 2014-03-20 Pedro Alves <palves@redhat.com>
14257
14258 PR breakpoints/7143
14259 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14260 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
14261 of gdb_test_multiple.
14262 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14263 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14264
14265 2014-03-20 Pedro Alves <palves@redhat.com>
14266
14267 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14268 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14269
14270 2014-03-19 Pedro Alves <palves@redhat.com>
14271
14272 * gdb.base/async.exp: Remove early return.
14273
14274 2014-03-19 Pedro Alves <palves@redhat.com>
14275
14276 * gdb.base/async.exp (step& tests): Pass explicit test messages.
14277
14278 2014-03-19 Pedro Alves <palves@redhat.com>
14279
14280 * gdb.base/async.exp (test_background): Expect \r\n after
14281 "completed." in the fail pattern.
14282
14283 2014-03-19 Pedro Alves <palves@redhat.com>
14284
14285 * gdb.base/async.exp (test_background): New procedure.
14286 Use it for all background execution command tests.
14287
14288 2014-03-19 Pedro Alves <palves@redhat.com>
14289
14290 * gdb.base/async.exp: Use prepare_for_testing.
14291
14292 2014-03-19 Pedro Alves <palves@redhat.com>
14293
14294 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
14295 the same line.
14296
14297 2014-03-19 Pedro Alves <palves@redhat.com>
14298
14299 * gdb.base/async.c (main): Add "jump here" and "until here" line
14300 marker comments.
14301 * gdb.base/async.exp (jump_here): New global.
14302 (jump& test): Use it.
14303 (until_here): New global.
14304 (until& test): Use it.
14305
14306 2014-03-19 Pedro Alves <palves@redhat.com>
14307
14308 * gdb.base/async.exp: Don't frob gdb_protocol.
14309
14310 2014-03-18 Doug Evans <xdje42@gmail.com>
14311
14312 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
14313 Fix spelling of exec-done-display.
14314
14315 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14316
14317 PR gdb/15358
14318 * gdb.base/gdb-sigterm.c: New file.
14319 * gdb.base/gdb-sigterm.exp: New file.
14320
14321 2014-03-18 Pedro Alves <palves@redhat.com>
14322
14323 PR gdb/13860
14324 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14325 * lib/mi-support.exp (mi_expect_stop): Add special handling for
14326 solib-event.
14327
14328 2014-03-17 Joel Brobecker <brobecker@adacore.com>
14329
14330 * gdb.ada/pckd_arr_ren: New testcase.
14331
14332 2014-03-13 Doug Evans <xdje42@gmail.com>
14333
14334 PR guile/16612
14335 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14336 collect after discarding symbols.
14337
14338 2014-03-13 Ludovic Courtès <ludo@gnu.org>
14339 Doug Evans <xdje42@gmail.com>
14340
14341 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14342 to history survives a gc.
14343
14344 2014-03-13 Pedro Alves <palves@redhat.com>
14345
14346 * gdb.base/default.exp: Don't test "target procfs".
14347
14348 2014-03-13 Pedro Alves <palves@redhat.com>
14349
14350 * gdb.base/default.exp: Update "target child" and "target procfs"
14351 tests to not expect "Unix".
14352
14353 2014-03-12 Tom Tromey <tromey@redhat.com>
14354
14355 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14356 New procs. Add target-async tests.
14357 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14358 Add target-async tests.
14359
14360 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14361
14362 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14363 'func_start' and 'func_end' for the beginning and end of the
14364 function code, respectively.
14365 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14366 'func_end' instead of 'func' and 'main'.
14367
14368 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14369
14370 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14371 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14372 generate the debug info assembler source.
14373
14374 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14375
14376 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14377 * gdb.dwarf2/arr-subrange.exp: Likewise.
14378 * gdb.dwarf2/dwz.exp: Likewise.
14379 * gdb.dwarf2/method-ptr.exp: Likewise.
14380 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14381 * gdb.dwarf2/subrange.exp: Likewise.
14382 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14383 * gdb.dwarf2/implptrpiece.exp: Likewise.
14384 * gdb.dwarf2/nostaticblock.exp: Likewise.
14385
14386 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14387
14388 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14389 directory to absolute path name arguments.
14390
14391 2014-03-10 Joel Brobecker <brobecker@adacore.com>
14392
14393 * gdb.ada/tagged_access: New testcase.
14394
14395 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14396
14397 * gdb.btrace/data.exp: Update expected output.
14398
14399 2014-03-06 Yao Qi <yao@codesourcery.com>
14400
14401 * gdb.trace/pr16508.exp: New file.
14402
14403 2014-03-05 Pedro Alves <palves@redhat.com>
14404
14405 PR gdb/16575
14406 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14407 procedure.
14408 (top level): Adjust to use it. Add tests that exercise breakpoint
14409 interaction with the code-cache.
14410
14411 2014-02-26 Ludovic Courtès <ludo@gnu.org>
14412
14413 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14414 test for 'history-append!'.
14415
14416 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14417
14418 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14419 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14420 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14421 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14422 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14423 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14424
14425 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14426
14427 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14428 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14429 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14430
14431 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14432
14433 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14434
14435 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14436
14437 * gdb.dwarf2/arr-stride.c: New file.
14438 * gdb.dwarf2/arr-stride.exp: New file.
14439
14440 2014-02-26 Pedro Alves <palves@redhat.com>
14441
14442 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14443 that won't ever trigger. Make sure that GDB reports the correct
14444 breakpoint that caused the stop.
14445
14446 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14447
14448 PR gdb/16626
14449 * gdb.base/auto-load-script: New file.
14450 * gdb.base/auto-load.c: New file.
14451 * gdb.base/auto-load.exp: New file.
14452
14453 PR gdb/16626
14454 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14455
14456 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14457
14458 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14459 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14460
14461 2014-02-24 Doug Evans <dje@google.com>
14462
14463 * lib/gdb.exp (run_on_host): Log error output if program fails.
14464
14465 2014-02-21 Pedro Alves <palves@redhat.com>
14466
14467 * gdb.threads/step-after-sr-lock.c: Rename to ...
14468 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14469 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14470 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14471 ... this.
14472
14473 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14474
14475 PR tdep/16397
14476 * gdb.arch/amd64-stap-special-operands.exp: New file.
14477 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14478 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14479 * gdb.arch/amd64-stap-triplet.S: Likewise.
14480 * gdb.arch/amd64-stap-triplet.c: Likewise.
14481
14482 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14483
14484 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14485 in .section pseudo-op.
14486
14487 2014-02-20 lin zuojian <manjian2006@gmail.com>
14488 Joel Brobecker <brobecker@adacore.com>
14489 Doug Evans <xdje42@gmail.com>
14490
14491 PR symtab/16581
14492 * gdb.dwarf2/dw2-icycle.S: New file.
14493 * gdb.dwarf2/dw2-icycle.c: New file.
14494 * gdb.dwarf2/dw2-icycle.exp: New file.
14495
14496 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14497
14498 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14499 operations on gdb.Value objects.
14500 * gdb.python/py-value-cc.exp: Add new test to test operations on
14501 gdb.Value objects.
14502
14503 2014-02-18 Doug Evans <dje@google.com>
14504
14505 * Makefile.in (TESTS): New variable.
14506 (expanded_tests, expanded_tests_or_none): New variables
14507 (check-single): Pass $(expanded_tests_or_none) to runtest.
14508 (check-parallel): Only run tests in $(TESTS) if non-empty.
14509 (check/no-matching-tests-found): New rule.
14510 * README: Document TESTS makefile variable.
14511
14512 2014-02-18 Doug Evans <dje@google.com>
14513
14514 * Makefile.in (check-parallel): rm -rf outputs temp.
14515
14516 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14517
14518 Fix "ERROR: no fileid for" in the testsuite.
14519 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14520
14521 2014-02-12 Doug Evans <dje@google.com>
14522
14523 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14524 (MISCELLANEOUS): New variable.
14525 (clean): rm -rf $(MISCELLANEOUS).
14526 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14527 dwp live in the same directory as symlinks, with each symlink pointed
14528 to a differently named file in a different directory.
14529
14530 2014-02-11 Doug Evans <dje@google.com>
14531
14532 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14533 of Tcl file commands.
14534
14535 2014-02-10 Mark Kettenis <kettenis@gnu.org>
14536
14537 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14538 "kill -SIGUSR1 -1".
14539
14540 2014-02-10 Joel Brobecker <brobecker@adacore.com>
14541
14542 * gdb.ada/tick_length_array_enum_idx: New testcase.
14543
14544 2014-02-10 Doug Evans <xdje42@gmail.com>
14545
14546 * configure.ac (AC_OUTPUT): Add gdb.guile.
14547 * configure: Regenerate.
14548 * lib/gdb-guile.exp: New file.
14549 * lib/gdb.exp (get_target_charset): New function.
14550 * gdb.base/help.exp: Update expected output from "apropos apropos".
14551 * gdb.guile/Makefile.in: New file.
14552 * gdb.guile/guile.exp: New file.
14553 * gdb.guile/scm-arch.c: New file.
14554 * gdb.guile/scm-arch.exp: New file.
14555 * gdb.guile/scm-block.c: New file.
14556 * gdb.guile/scm-block.exp: New file.
14557 * gdb.guile/scm-breakpoint.c: New file.
14558 * gdb.guile/scm-breakpoint.exp: New file.
14559 * gdb.guile/scm-disasm.c: New file.
14560 * gdb.guile/scm-disasm.exp: New file.
14561 * gdb.guile/scm-equal.c: New file.
14562 * gdb.guile/scm-equal.exp: New file.
14563 * gdb.guile/scm-error.exp: New file.
14564 * gdb.guile/scm-error.scm: New file.
14565 * gdb.guile/scm-frame-args.c: New file.
14566 * gdb.guile/scm-frame-args.exp: New file.
14567 * gdb.guile/scm-frame-args.scm: New file.
14568 * gdb.guile/scm-frame-inline.c: New file.
14569 * gdb.guile/scm-frame-inline.exp: New file.
14570 * gdb.guile/scm-frame.c: New file.
14571 * gdb.guile/scm-frame.exp: New file.
14572 * gdb.guile/scm-generics.exp: New file.
14573 * gdb.guile/scm-gsmob.exp: New file.
14574 * gdb.guile/scm-iterator.c: New file.
14575 * gdb.guile/scm-iterator.exp: New file.
14576 * gdb.guile/scm-math.c: New file.
14577 * gdb.guile/scm-math.exp: New file.
14578 * gdb.guile/scm-objfile-script-gdb.in: New file.
14579 * gdb.guile/scm-objfile-script.c: New file.
14580 * gdb.guile/scm-objfile-script.exp: New file.
14581 * gdb.guile/scm-objfile.c: New file.
14582 * gdb.guile/scm-objfile.exp: New file.
14583 * gdb.guile/scm-ports.exp: New file.
14584 * gdb.guile/scm-pretty-print.c: New file.
14585 * gdb.guile/scm-pretty-print.exp: New file.
14586 * gdb.guile/scm-pretty-print.scm: New file.
14587 * gdb.guile/scm-section-script.c: New file.
14588 * gdb.guile/scm-section-script.exp: New file.
14589 * gdb.guile/scm-section-script.scm: New file.
14590 * gdb.guile/scm-symbol.c: New file.
14591 * gdb.guile/scm-symbol.exp: New file.
14592 * gdb.guile/scm-symtab-2.c: New file.
14593 * gdb.guile/scm-symtab.c: New file.
14594 * gdb.guile/scm-symtab.exp: New file.
14595 * gdb.guile/scm-type.c: New file.
14596 * gdb.guile/scm-type.exp: New file.
14597 * gdb.guile/scm-value-cc.cc: New file.
14598 * gdb.guile/scm-value-cc.exp: New file.
14599 * gdb.guile/scm-value.c: New file.
14600 * gdb.guile/scm-value.exp: New file.
14601 * gdb.guile/source2.scm: New file.
14602 * gdb.guile/types-module.cc: New file.
14603 * gdb.guile/types-module.exp: New file.
14604
14605 2014-02-10 Yao Qi <yao@codesourcery.com>
14606
14607 PR testsuite/16543
14608 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14609 * configure: Regenerated.
14610 * Makefile.in: New file.
14611
14612 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14613
14614 * gdb.python/py-framefilter.exp: Fix typo.
14615
14616 2014-02-08 Yao Qi <yao@codesourcery.com>
14617
14618 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14619 that no =breakpoint-modified is emitted when breakpoints are
14620 modified through MI commands.
14621
14622 2014-02-07 Pedro Alves <pedro@codesourcery.com>
14623 Pedro Alves <palves@redhat.com>
14624
14625 * gdb.threads/step-after-sr-lock.c: New file.
14626 * gdb.threads/step-after-sr-lock.exp: New file.
14627
14628 2014-02-07 Pedro Alves <palves@redhat.com>
14629
14630 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14631
14632 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14633
14634 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14635 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14636
14637 2014-02-06 Doug Evans <xdje42@gmail.com>
14638
14639 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14640 output.
14641
14642 * gdb.gdb/python-interrupts.exp: New file.
14643
14644 2014-02-05 Yao Qi <yao@codesourcery.com>
14645
14646 * gdb.trace/report.exp (use_collected_data): Test the output
14647 of "info threads" and "info inferiors".
14648
14649 2014-02-05 Yao Qi <yao@codesourcery.com>
14650
14651 Revert this patch:
14652
14653 2013-05-24 Yao Qi <yao@codesourcery.com>
14654
14655 * gdb.trace/tfile.exp: Test inferior and thread.
14656
14657 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14658
14659 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14660 on a function.
14661 * gdb.base/step-bt.c: Call hello via function pointer to make
14662 sure its first instruction is executed on powerpc64le-linux.
14663
14664 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14665
14666 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14667
14668 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14669
14670 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14671 of the test patterns for use on little-endian systems.
14672
14673 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14674
14675 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14676 (decimal_vector): Fix for little-endian.
14677
14678 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14679
14680 * gdb.arch/sparc-sysstep.exp: New file.
14681 * gdb.arch/sparc-sysstep.c: Likewise.
14682
14683 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14684
14685 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14686
14687 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14688
14689 2014-01-23 Tom Tromey <tromey@redhat.com>
14690
14691 * gdb.ada/array_char_idx: New testcase.
14692
14693 2014-01-23 Tom Tromey <tromey@redhat.com>
14694
14695 PR python/16487:
14696 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14697 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14698 classes.
14699
14700 2014-01-23 Tom Tromey <tromey@redhat.com>
14701
14702 PR python/16491:
14703 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14704 string from an inferior frame.
14705 * gdb.python/py-framefilter-mi.exp: Update.
14706
14707 2014-01-22 Doug Evans <dje@google.com>
14708
14709 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14710
14711 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14712
14713 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14714
14715 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14716
14717 * gdb.trace/entry-values.exp: Remove excess space character from
14718 regex patterns. Handle s390 call instruction.
14719
14720 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14721
14722 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14723 define "*_start" label. Make "name" static.
14724 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14725 ${name} by references to ${name}_start.
14726
14727 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14728
14729 * gdb.base/info-macros.exp: Remove "debug" from the compile
14730 options.
14731
14732 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14733
14734 * gdb.dlang/demangle.exp: New file.
14735
14736 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14737
14738 * gdb.dlang/primitive-types.exp: New file.
14739
14740 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14741
14742 * configure.ac: Create gdb.dlang/Makefile.
14743 * configure: Regenerate.
14744 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14745 * gdb.dlang/Makefile.in: New file.
14746 * lib/d-support.exp: New file.
14747 * lib/gdb.exp (skip_d_tests): New proc.
14748
14749 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14750
14751 * gdb.btrace/delta.exp: Check reverse stepi.
14752 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14753 * gdb.btrace/finish.exp: New.
14754 * gdb.btrace/next.exp: New.
14755 * gdb.btrace/nexti.exp: New.
14756 * gdb.btrace/record_goto.c: Add comments.
14757 * gdb.btrace/step.exp: New.
14758 * gdb.btrace/stepi.exp: New.
14759 * gdb.btrace/multi-thread-step.c: New.
14760 * gdb.btrace/multi-thread-step.exp: New.
14761 * gdb.btrace/rn-dl-bind.c: New.
14762 * gdb.btrace/rn-dl-bind.exp: New.
14763 * gdb.btrace/data.c: New.
14764 * gdb.btrace/data.exp: New.
14765 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14766
14767 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14768
14769 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14770 * gdb.btrace/exception.exp: Update.
14771 * gdb.btrace/instruction_history.exp: Update.
14772 * gdb.btrace/record_goto.exp: Update.
14773 * gdb.btrace/tailcall.exp: Update.
14774 * gdb.btrace/unknown_functions.exp: Update.
14775 * gdb.btrace/delta.exp: New.
14776
14777 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14778
14779 * gdb.btrace/record_goto.exp: Add backtrace test.
14780 * gdb.btrace/tailcall.exp: Add backtrace test.
14781
14782 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14783
14784 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14785 * gdb.btrace/record_goto.c: New.
14786 * gdb.btrace/record_goto.exp: New.
14787 * gdb.btrace/x86-record_goto.S: New.
14788
14789 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14790
14791 * gdb.btrace/function_call_history.exp: Update tests.
14792 * gdb.btrace/instruction_history.exp: Update tests.
14793
14794 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14795
14796 * gdb.btrace/function_call_history.exp: Fix expected field
14797 order for "record function-call-history".
14798 Add new tests for "record function-call-history /c".
14799 * gdb.btrace/exception.cc: New.
14800 * gdb.btrace/exception.exp: New.
14801 * gdb.btrace/tailcall.exp: New.
14802 * gdb.btrace/x86-tailcall.S: New.
14803 * gdb.btrace/x86-tailcall.c: New.
14804 * gdb.btrace/unknown_functions.c: New.
14805 * gdb.btrace/unknown_functions.exp: New.
14806 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14807
14808 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14809
14810 * gdb.btrace/instruction_history.exp: Update.
14811 * gdb.btrace/function_call_history.exp: Update.
14812
14813 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14814
14815 * gdb.btrace/function_call_history.exp: Fix expected function
14816 trace.
14817 * gdb.btrace/instruction_history.exp: Initialize traced.
14818 Remove traced_functions.
14819
14820 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14821
14822 * gdb.btrace/function_call_history.exp: Update
14823 * gdb.btrace/instruction_history.exp: Update.
14824
14825 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14826
14827 * gdb.btrace/enable.exp: Update expected text.
14828
14829 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14830
14831 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14832 bytes.
14833
14834 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14835
14836 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14837
14838 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14839
14840 * lib/gdb.exp (supports_process_record): Return true for
14841 arm*-linux*. (supports_reverse): Likewise.
14842
14843 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14844
14845 PR python/15464
14846 PR python/16113
14847 * gdb.python/py-type.c: Enhance test case.
14848 * gdb.python/py-value-cc.cc: Likewise
14849 * gdb.python/py-type.exp: Add new tests.
14850 * gdb.python/py-value-cc.exp: Likewise
14851
14852 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14853 Pedro Alves <palves@redhat.com>
14854
14855 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14856 Make "name" extern.
14857 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14858 references to ${name}_start by references to ${name}.
14859
14860 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14861
14862 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14863
14864 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14865
14866 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14867
14868 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
14869 Pedro Alves <palves@redhat.com>
14870
14871 * gdb.mi/mi-info-os.exp: Connect to the target with
14872 mi_gdb_target_load.
14873
14874 2014-01-08 Pedro Alves <palves@redhat.com>
14875
14876 * gdb.threads/reconnect-signal.c: New file.
14877 * gdb.threads/reconnect-signal.exp: New file.
14878
14879 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14880
14881 * gdb.base/source-dir.exp: New file.
14882
14883 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14884
14885 * gdb.ada/mi_interface: New testcase.
14886
14887 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14888
14889 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14890 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14891 gdb.ada/pp-rec-component/pck.ads: New files.
14892
14893 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14894
14895 * gdb.python/py-pp-integral.c: New file.
14896 * gdb.python/py-pp-integral.py: New file.
14897 * gdb.python/py-pp-integral.exp: New file.
14898
14899 For older changes see ChangeLog-1993-2013.
14900 \f
14901 ;; Local Variables:
14902 ;; mode: change-log
14903 ;; left-margin: 8
14904 ;; fill-column: 74
14905 ;; version-control: never
14906 ;; End:
14907
14908 Copyright 2014-2018 Free Software Foundation, Inc.
14909 Copying and distribution of this file, with or without modification,
14910 are permitted provided the copyright notice and this notice are preserved.
This page took 0.320894 seconds and 5 git commands to generate.