daa283994c27b900264e0b131b3c347a68e360a5
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2018-11-19 Tom Tromey <tom@tromey.com>
2
3 PR rust/23625:
4 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5 * gdb.rust/expr.exp: Update expected output. Change one test.
6
7 2018-11-19 Tom Tromey <tom@tromey.com>
8
9 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
10
11 2018-11-19 Pedro Alves <palves@redhat.com>
12
13 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
14 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
15 see the expected warning.
16
17 2018-11-16 Alan Hayward <alan.hayward@arm.com>
18
19 PR gdb/22736:
20 * gdb.cp/infcall-nodebug-lib.c: New test.
21 * gdb.cp/infcall-nodebug-main.c: New test.
22 * gdb.cp/infcall-nodebug.exp: New file.
23
24 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
25
26 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
27 completer tests.
28
29 2018-11-09 Tom de Vries <tdevries@suse.de>
30
31 * gdb.base/msym-lang.c: New test.
32 * gdb.base/msym-lang.exp: New file.
33 * gdb.base/msym-lang-main.c: New test.
34
35 2018-11-08 Tom Tromey <tom@tromey.com>
36
37 PR gdb/23555:
38 PR gdb/23838:
39 * gdb.base/warning.exp: New file.
40
41 2018-11-08 Jan Beulich <jbeulich@suse.com>
42
43 * testsuite/gdb.arch/i386-avx512.c,
44 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
45
46 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
47
48 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
49 point hardware.
50
51 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
52
53 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
54 * gdb.dwarf2/missing-type-name.exp: New file.
55
56 2018-11-06 Tom de Vries <tdevries@suse.de>
57
58 * gdb.base/many-headers.c: New test.
59 * gdb.base/many-headers.exp: New file.
60
61 2018-11-06 Jim Wilson <jimw@sifive.com>
62
63 * gdb.base/code_elim.exp: For riscv, set additional_flags
64 to include -msmall-data-limit=0.
65
66 2018-11-01 Joel Brobecker <brobecker@adacore.com>
67
68 * gdb.ada/watch_minus_l: New testcase.
69
70 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
71
72 * gdb.arch/aix-sighandle.c: New file.
73 * gdb.arch/aix-sighandle.exp: New file.
74
75 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
76
77 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
78 registers being unions.
79
80 2018-10-31 Tom de Vries <tdevries@suse.de>
81
82 * lib/valgrind.exp: New file.
83 (vgdb_start, vgdb_stop): New procs, factored out of ...
84 * gdb.base/valgrind-bt.exp: ... here, ...
85 * gdb.base/valgrind-disp-step.exp: ... here and ...
86 * gdb.base/valgrind-infcall.exp: ... here.
87
88 2018-10-31 Tom de Vries <tdevries@suse.de>
89
90 * lib/gdb.exp (get_valueof): Don't output read value in test name.
91
92 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
93
94 * gdb.dwarf2/void-type.c: New file.
95 * gdb.dwarf2/void-type.exp: New file.
96
97 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
98
99 * gdb.base/info_qt.c: New file.
100 * gdb.base/info_qt.exp: New file.
101
102 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
103
104 * gdb.arch/powerpc-htm-regs.c: New file.
105 * gdb.arch/powerpc-htm-regs.exp: New file.
106
107 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
108
109 * gdb.arch/powerpc-tar.c: New file.
110 * gdb.arch/powerpc-tar.exp: New file.
111
112 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
113
114 * gdb.arch/powerpc-ppr-dscr.c: New file.
115 * gdb.arch/powerpc-ppr-dscr.exp: New file.
116
117 2018-10-25 Tom de Vries <tdevries@suse.de>
118
119 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
120
121 2018-10-24 Tom de Vries <tdevries@suse.de>
122
123 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
124 longer exists error.
125
126 2018-10-24 Tom de Vries <tdevries@suse.de>
127
128 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
129
130 2018-10-24 Tom de Vries <tdevries@suse.de>
131
132 * gdb.base/valgrind-db-attach.exp: Handle removed support for
133 --db-attach in valgrind.
134
135 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
136
137 * gdb.arch/riscv-reg-aliases.c: New file.
138 * gdb.arch/riscv-reg-aliases.exp: New file.
139
140 2018-10-19 Alan Hayward <alan.hayward@arm.com>
141
142 * gdb.python/py-cmd.exp: Check for gdb_prompt.
143
144 2018-10-19 Alan Hayward <alan.hayward@arm.com>
145
146 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
147
148 2018-10-19 Alan Hayward <alan.hayward@arm.com>
149
150 * gdb.cp/ovldbreak.exp: Fix regexps.
151
152 2018-10-19 Alan Hayward <alan.hayward@arm.com>
153
154 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
155
156 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
157
158 PR cli/23785
159 * gdb.base/restore.exp: New test to check if "restore" with an
160 invalid file doesn't segfault.
161
162 2018-10-18 Tom de Vries <tdevries@suse.de>
163
164 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
165 * gdb.ada/excep_handle.exp: Same.
166 * gdb.ada/mi_string_access.exp: Same.
167 * gdb.ada/mi_var_union.exp: Same.
168 * gdb.arch/arc-analyze-prologue.exp: Same.
169 * gdb.arch/arc-decode-insn.exp: Same.
170 * gdb.base/readnever.exp: Same.
171 * gdb.fortran/printing-types.exp: Same.
172 * gdb.guile/scm-lazy-string.exp: Same.
173
174 2018-10-16 Tom de Vries <tdevries@suse.de>
175
176 PR gdb/23730
177 * gdb.base/catch-follow-exec.c: Add copyright notice.
178 * gdb.base/catch-follow-exec.exp: Rewrite to use
179 gdb_spawn_with_cmdline_opts. Require gdb-native.
180
181 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
182
183 * gdb.trace/actions-changed.exp: Check for arch support.
184 * gdb.trace/actions.exp: Likewise.
185 * gdb.trace/ax.exp: Likewise.
186 * gdb.trace/backtrace.exp: Likewise.
187 * gdb.trace/change-loc.exp: Likewise.
188 * gdb.trace/deltrace.exp: Likewise.
189 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
190 * gdb.trace/ftrace.exp: Likewise.
191 * gdb.trace/infotrace.exp: Check for arch support.
192 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
193 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
194 * gdb.trace/mi-tsv-changed.exp: Likewise.
195 * gdb.trace/packetlen.exp: Likewise.
196 * gdb.trace/passc-dyn.exp: Likewise.
197 * gdb.trace/passcount.exp: Likewise.
198 * gdb.trace/pending.exp: Likewise.
199 * gdb.trace/range-stepping.exp: Check for shlib support.
200 * gdb.trace/report.exp: Check for arch support.
201 * gdb.trace/save-trace.exp: Likewise.
202 * gdb.trace/signal.exp: Check for signal support.
203 * gdb.trace/tfind.exp: Check for arch support.
204 * gdb.trace/trace-break.exp: Check for arch and shlib support.
205 * gdb.trace/trace-common.h: Add comment.
206 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
207 * gdb.trace/trace-enable-disable.exp: Likewise.
208 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
209 * gdb.trace/tracecmd.exp: Check for arch support.
210 * gdb.trace/tspeed.exp: Check for shlib and target support.
211 * gdb.trace/tstatus.exp: Check for arch support.
212 * gdb.trace/tsv.exp: Likewise.
213 * gdb.trace/while-dyn.exp: Likewise.
214 * gdb.trace/while-stepping.exp: Likewise.
215 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
216
217 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
218
219 * gdb.trace/tspeed.exp: Remove nowarnings.
220 (prepare_for_trace_test): Declare "global ipalib".
221 * gdb.trace/tspeed.c: Include unistd.h.
222 (main): Remove superfluous printf argument.
223
224 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
225
226 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
227 directory prefix on the filename.
228
229 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
230
231 * gdb.gdb/unittest.exp: Update expected message informing that
232 selftests have been disabled.
233 * gdb.server/unittest.exp: Likewise.
234
235 2018-10-09 Tom de Vries <tdevries@suse.de>
236
237 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
238 with runto_main.
239
240 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
241
242 PR c++/16841
243 * gdb.cp/virtbase2.cc: New file.
244 * gdb.cp/virtbase2.exp: New file.
245
246 2018-10-06 Tom Tromey <tom@tromey.com>
247
248 PR python/19399:
249 * gdb.python/py-inferior.exp: Add architecture test.
250
251 2018-10-06 Tom Tromey <tom@tromey.com>
252
253 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
254 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
255
256 2018-10-06 Tom Tromey <tom@tromey.com>
257
258 * gdb.python/py-breakpoint.exp (check_last_event): Check location
259 of a "throw" catchpoint.
260
261 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
262
263 * gdb.base/info-proc.exp: Update string expected from "help info
264 proc".
265
266 2018-10-04 Tom Tromey <tom@tromey.com>
267
268 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
269 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
270 (test_initial_complaints, test_empty_complaints): Update.
271 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
272
273 2018-10-04 Tom Tromey <tom@tromey.com>
274
275 PR cli/19551:
276 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
277 * lib/gdb.exp (gdb_file_cmd): Update.
278 * gdb.stabs/weird.exp (print_weird_var): Update.
279 * gdb.server/solib-list.exp: Update.
280 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
281 * gdb.mi/mi-cli.exp: Update.
282 * gdb.linespec/linespec.exp: Update.
283 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
284 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
285 * gdb.cp/cp-relocate.exp: Update.
286 * gdb.base/sym-file.exp: Update.
287 * gdb.base/relocate.exp: Update.
288 * gdb.base/readnever.exp: Update.
289 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
290 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
291 * gdb.base/dbx.exp (gdb_file_cmd): Update.
292 * gdb.base/code_elim.exp: Update.
293 * gdb.base/break-unload-file.exp (test_break): Update.
294 * gdb.base/break-interp.exp (test_attach_gdb): Update.
295 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
296 Update.
297 * gdb.base/attach.exp (do_attach_tests): Update.
298 * gdb.base/sepdebug.exp: Update.
299 * gdb.python/py-section-script.exp: Update.
300
301 2018-10-04 Tom Tromey <tom@tromey.com>
302
303 PR cli/22234:
304 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
305 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
306 output.
307
308 2018-10-04 Tom Tromey <tom@tromey.com>
309
310 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
311 set width and height to 0.
312 (test_command_line_attach_run): Use -quiet.
313
314 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
315
316 * lib/gdb.exp (skip_ifunc_tests): New.
317 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
318 other compile failures.
319 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
320
321 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
322
323 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
324 is_amd64_regs_target.
325
326 2018-10-01 Alan Hayward <alan.hayward@arm.com>
327
328 * gdb.arch/aarch64-sighandler-regs.c: New test.
329 * gdb.arch/aarch64-sighandler-regs.exp: New file.
330 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
331
332 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
333
334 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
335 assembly.
336
337 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
338
339 * gdb.base/frame-selection.exp: New file.
340 * gdb.base/frame-selection.c: New file.
341
342 2018-09-27 Alan Hayward <alan.hayward@arm.com>
343
344 * gdb.threads/check-libthread-db.c (thread_routine): Use a
345 pthread barrier.
346 (main): Likewise.
347
348 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
349
350 * gdb.base/large-frame-1.c: New file.
351 * gdb.base/large-frame-2.c: New file.
352 * gdb.base/large-frame.exp: New file.
353 * gdb.base/large-frame.h: New file.
354
355 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
356
357 PR gdb/20948
358 * gdb.base/write_mem.exp: New test.
359 * gdb.base/write_mem.c: Likewise.
360
361 2018-09-23 Tom Tromey <tom@tromey.com>
362
363 PR python/18852:
364 * gdb.python/py-parameter.exp: Add test for parameter that throws
365 on "set".
366
367 2018-09-23 Tom Tromey <tom@tromey.com>
368
369 PR python/17284:
370 * gdb.python/py-template.exp (test_template_arg): Add test for
371 negative template argument number.
372
373 2018-09-23 Tom Tromey <tom@tromey.com>
374
375 PR python/14062:
376 * gdb.python/python.exp: Add test for post_event error.
377
378 2018-09-23 Tom Tromey <tom@tromey.com>
379
380 PR python/18170:
381 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
382 convert pointers to int and long.
383
384 2018-09-23 Tom Tromey <tom@tromey.com>
385
386 PR python/20126:
387 * gdb.python/py-value.exp (test_value_numeric_ops): Add
388 signed-ness conversion tests.
389
390 2018-09-23 Tom Tromey <tom@tromey.com>
391
392 PR python/18352;
393 * gdb.python/py-value.exp (test_float_conversion): New proc.
394 Use it.
395
396 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
397
398 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
399
400 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
401
402 * gdb.base/complete-empty.exp: Skip tab-completion tests if
403 no readline.
404 * gdb.base/utf8-identifiers.exp: Likewise.
405 * gdb.cp/cpcompletion.exp: Likewise.
406 * gdb.linespec/cpcompletion.exp: Likewise.
407 * gdb.linespec/cpls-abi-tag.exp: Likewise.
408 * gdb.linespec/cpls-ops.exp: Likewise.
409
410 2018-09-19 Richard Bunt <richard.bunt@arm.com>
411 Chris January <chris.january@arm.com>
412
413 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
414 * gdb.fortran/short-circuit-argument-list.exp: New file.
415 * gdb.fortran/short-circuit-argument-list.f90: New test.
416
417 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
418
419 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
420 "arch=" keyword when executing "-stack-list-frames".
421
422 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
423
424 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
425 "arch=" keyword when executing "-stack-list-frames".
426
427 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
428
429 * gdb.ada/complete.exp: Expect for "@" when doing "complete
430 break ada".
431
432 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
433
434 PR python/23669
435 * gdb.python/python.exp: Test gdb.execute("show commands").
436
437 2018-09-16 Tom Tromey <tom@tromey.com>
438
439 * gdb.base/new-ui.exp (do_execution_tests): Update.
440 * gdb.base/dbx.exp (test_breakpoints): Update.
441
442 2018-09-14 Alan Hayward <alan.hayward@arm.com>
443
444 * lib/gdb.exp (gdb_simple_compile): Add proc.
445 (is_elf_target): Use gdb_simple_compile.
446 (skip_altivec_tests): Likewise.
447 (skip_vsx_tests): Likewise.
448 (skip_tsx_tests): Likewise.
449 (skip_btrace_tests): Likewise.
450 (skip_btrace_pt_tests): Likewise.
451 (gdb_can_simple_compile): Likewise.
452 (gdb_has_argv0): Likewise.
453 (gdb_target_symbol_prefix): Likewise.
454 (target_supports_scheduler_locking): Likewise.
455
456 2018-09-13 Tom Tromey <tom@tromey.com>
457
458 * Makefile.in (TAGS): Recognize proc_with_prefix and
459 gdb_caching_proc.
460
461 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
462
463 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
464 method.
465
466 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
467
468 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
469 and a few other Inferior properties when the Inferior is no
470 longer valid.
471
472 2018-09-13 Tom Tromey <tom@tromey.com>
473
474 PR rust/23650:
475 * gdb.rust/simple.exp: Add test for enum field access error.
476
477 2018-09-13 Tom Tromey <tom@tromey.com>
478
479 PR rust/23626:
480 * gdb.rust/simple.rs (EmptyEnum): New type.
481 (main): Use it.
482 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
483
484 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
485
486 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
487 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
488 * gdb.python/py-symtab.exp: Update test printing an objfile.
489
490 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
491
492 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
493 object.
494
495 2018-09-12 Alan Hayward <alan.hayward@arm.com>
496
497 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
498 (support_complex_tests): Use gdb_can_simple_compile.
499 (is_ilp32_target): Likewise.
500 (is_lp64_target): Likewise.
501 (is_64_target): Likewise.
502 (is_amd64_regs_target): Likewise.
503 (is_aarch32_target): Likewise.
504 (gdb_int128_helper): Likewise.
505
506 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
507
508 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
509
510 2018-09-10 Jerome Guitton <guitton@adacore.com>
511
512 * gdb.ada/same_component_name: Add test for case of tagged record
513 with variable-length fields.
514
515 2018-09-10 Xavier Roirand <roirand@adacore.com>
516
517 * gdb.ada/access_to_unbounded_array.exp: New testcase.
518 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
519 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
520 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
521
522 2018-09-10 Xavier Roirand <roirand@adacore.com>
523
524 * gdb.ada/mi_string_access.exp: New testcase.
525 * gdb.ada/mi_string_access/bar.adb: New file.
526 * gdb.ada/mi_string_access/pck.adb: New file.
527 * gdb.ada/mi_string_access/pck.asd: New file.
528
529 2018-09-10 Xavier Roirand <roirand@adacore.com>
530
531 * gdb.ada/mi_var_union.exp: New testcase.
532 * gdb.ada/mi_var_union/bar.adb: New file.
533 * gdb.ada/mi_var_union/pck.adb: New file.
534 * gdb.ada/mi_var_union/pck.asd: New file.
535
536 2018-09-08 Tom Tromey <tom@tromey.com>
537
538 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
539
540 2018-09-08 Tom Tromey <tom@tromey.com>
541
542 PR python/16047:
543 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
544 (register_pretty_printers): Register new printer.
545 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
546 test.
547 * gdb.python/py-prettyprint.c (int_type3): New typedef.
548 (an_int_type3): New global.
549
550 2018-09-08 Joel Brobecker <brobecker@adacore.com>
551
552 * gdb.ada/expr_with_funcall: New testcase.
553
554 2018-09-08 Joel Brobecker <brobecker@adacore.com>
555
556 * gdb.ada/packed_array_assign: New testcase.
557
558 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
559
560 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
561 names, and add test prefixes to make test names unique.
562
563 2018-09-05 Tom de Vries <tdevries@suse.de>
564
565 * gdb.dwarf2/varval.exp: Add test.
566
567 2018-09-04 Gary Benson <gbenson@redhat.com>
568
569 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
570 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
571
572 2018-08-31 Tom Tromey <tom@tromey.com>
573
574 * gdb.rust/simple.rs: Rename second variable "v".
575
576 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
577
578 * gdb.base/funcargs.c (use_a): New function.
579 (recurse): Call use_a.
580
581 2018-08-29 Keith Seitz <keiths@redhat.com>
582
583 * gdb.compile/compile-cplus-anonymous.cc: New file.
584 * gdb.compile/compile-cplus-anonymous.exp: New file.
585 * gdb.compile/compile-cplus-array-decay.cc: New file.
586 * gdb.compile/compile-cplus-array-decay.exp: New file.
587 * gdb.compile/compile-cplus-inherit.cc: New file.
588 * gdb.compile/compile-cplus-inherit.exp: New file.
589 * gdb.compile/compile-cplus-member.cc: New file.
590 * gdb.compile/compile-cplus-member.exp: New file.
591 * gdb.compile/compile-cplus-method.cc: New file.
592 * gdb.compile/compile-cplus-method.exp: New file.
593 * gdb.compile/compile-cplus-mod.c: "New" file.
594 * gdb.compile/compile-cplus-namespace.cc: New file.
595 * gdb.compile/compile-cplus-namespace.exp: New file.
596 * gdb.compile/compile-cplus-nested.cc: New file.
597 * gdb.compile/compile-cplus-nested.exp: New file.
598 * gdb.compile/compile-cplus-print.c: "New" file.
599 * gdb.compile/compile-cplus-print.exp: "New" file.
600 * gdb.compile/compile-cplus-virtual.cc: New file.
601 * gdb.compile/compile-cplus-virtual.exp: New file.
602 * gdb.compile/compile-cplus.c: "New" file.
603 * gdb.compile/compile-cplus.exp: "New" file.
604 * lib/compile-support.exp: New file.
605
606 2018-08-16 Gary Benson <gbenson@redhat.com>
607
608 PR gdb/13000:
609 * gdb.base/batch-exit-status.exp: New file.
610 * gdb.base/batch-exit-status.good-commands: Likewise.
611 * gdb.base/batch-exit-status.bad-commands: Likewise.
612
613 2018-08-29 Alan Hayward <alan.hayward@arm.com>
614
615 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
616 (struct struct02): Likewise.
617 (struct struct03): Likewise.
618 (struct struct04): Likewise.
619 (struct struct_01_01): New struct.
620 (struct struct_01_02): Likewise.
621 (struct struct_01_03): Likewise.
622 (struct struct_01_04): Likewise.
623 (struct struct_02_01): Likewise.
624 (struct struct_02_02): Likewise.
625 (struct struct_02_03): Likewise.
626 (struct struct_02_04): Likewise.
627 (struct struct_04_01): Likewise.
628 (struct struct_04_02): Likewise.
629 (struct struct_04_03): Likewise.
630 (struct struct_04_04): Likewise.
631 (struct struct_05_01): Likewise.
632 (struct struct_05_02): Likewise.
633 (struct struct_05_03): Likewise.
634 (struct struct_05_04): Likewise.
635 (cmp_struct01): Remove function.
636 (cmp_struct02): Likewise.
637 (cmp_struct03): Likewise.
638 (cmp_struct04): Likewise.
639 (cmp_struct_01_01): Add Function.
640 (cmp_struct_01_02): Likewise.
641 (cmp_struct_01_03): Likewise.
642 (cmp_struct_01_04): Likewise.
643 (cmp_struct_02_01): Likewise.
644 (cmp_struct_02_02): Likewise.
645 (cmp_struct_02_03): Likewise.
646 (cmp_struct_02_04): Likewise.
647 (cmp_struct_04_01): Likewise.
648 (cmp_struct_04_02): Likewise.
649 (cmp_struct_04_03): Likewise.
650 (cmp_struct_04_04): Likewise.
651 (cmp_struct_05_01): Likewise.
652 (cmp_struct_05_02): Likewise.
653 (cmp_struct_05_03): Likewise.
654 (cmp_struct_05_04): Likewise.
655 (call_all): Add new structs.
656 * gdb.base/infcall-nested-structs.exp: Likewise.
657
658 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
659
660 * gdb.python/py-framefilter-mi.exp: Update regexp to
661 check for "arch" field in frame output.
662
663 2018-08-23 Kevin Buettner <kevinb@redhat.com>
664
665 * gdb.dwarf2/dw2-ranges-func.c: New file.
666 * gdb.dwarf2/dw2-ranges-func.exp: New file.
667
668 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
669
670 * gdb.base/term.exp: Compare terminal settings with values from
671 the inferior.
672 * gdb.base/term.c: Get and set terminal settings.
673
674 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
675
676 * lib/mi-support.exp (mi_expect_stop): Update regexp to
677 accommodate new "arch" field in frame output.
678 * gdb.mi/mi-return.exp: Likewise.
679 * gdb.mi/mi-stack.exp: Likewise.
680 * gdb.mi/mi-syn-frame.exp: Likewise.
681 * gdb.mi/user-selected-context-sync.exp: Likewise.
682
683 2018-08-19 Michael Spang <spang@google.com>
684
685 PR gdb/11786
686 * gdb.base/gcore-tls-pie.c: New file.
687 * gdb.base/gcore-tls-pie.exp: New file.
688
689 2018-08-18 Kevin Buettner <kevinb@redhat.com>
690
691 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
692 * gdb.dwarf2/varval.c: New file.
693 * gdb.dwarf2/varval.exp: New file.
694
695 2018-08-17 Alan Hayward <alan.hayward@arm.com>
696
697 PR gdb/18931
698 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
699
700 2018-08-16 Keith Seitz <keiths@redhat.com>
701
702 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
703 tests expected to pass.
704
705 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
706
707 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
708 -data-disassemble -a.
709 (test_disassembly_bogus_args): Likewise.
710
711 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
712
713 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
714
715 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
716
717 * gdb.base/vla-optimized-out.exp: Add new test.
718
719 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
720
721 * gdb.base/vla-optimized-out-o3.exp: Delete.
722 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
723 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
724 deleted tests.
725
726 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
727
728 PR gdb/18050:
729 * gdb.server/extended-remote-restart.c: New file.
730 * gdb.server/extended-remote-restart.exp: New file.
731
732 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
733
734 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
735 "set variable index = 42".
736
737 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
738
739 * boards/index-cache-gdb.exp: New file.
740 * gdb.dwarf2/index-cache.exp: New file.
741 * gdb.dwarf2/index-cache.c: New file.
742 * gdb.base/maint.exp: Check if we are using the index cache.
743
744 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
745
746 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
747 MAKEFLAGS.
748
749 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
750
751 * dg-extract-results.sh: Move to toplevel contrib.
752 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
753 * Makefile.in (check-parallel-racy): Likewise.
754
755 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
756
757 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
758 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
759 tests if the target supports scheduler locking.
760
761 2018-08-04 Tom de Vries <tdevries@suse.de>
762
763 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
764
765 2018-08-02 Tom Tromey <tom@tromey.com>
766
767 PR symtab/16842.
768 * gdb.cp/temargs.exp: Test "info address" of a template
769 parameter.
770
771 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
772
773 * gdb.python/py-mi-var-info-path-expression.c: New file.
774 * gdb.python/py-mi-var-info-path-expression.py: New file.
775 * gdb.python/py-mi-var-info-path-expression.exp: New file.
776
777 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
778
779 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
780 error after "cannot resolve name" string.
781
782 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
783
784 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
785 started.
786 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
787
788 2018-07-28 Tom de Vries <tdevries@suse.de>
789
790 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
791
792 2018-07-26 Tom de Vries <tdevries@suse.de>
793
794 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
795
796 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
797
798 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
799 is visible.
800
801 2018-07-26 Tom de Vries <tdevries@suse.de>
802
803 PR breakpoints/23366
804 * gdb.base/catch-follow-exec.c: New test.
805 * gdb.base/catch-follow-exec.exp: New file.
806
807 2018-07-25 Tom de Vries <tdevries@suse.de>
808
809 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
810 vla-optimized-out.c.
811
812 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
813
814 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
815 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
816
817 2018-07-20 Tom de Vries <tdevries@suse.de>
818
819 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
820 NOCLONE macro.
821 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
822
823 2018-07-19 Tom de Vries <tdevries@suse.de>
824
825 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
826 regular expression.
827
828 2018-07-18 Tom de Vries <tdevries@suse.de>
829
830 * gdb.base/vla-optimized-out.c: New test.
831 * gdb.base/vla-optimized-out.exp: New file.
832
833 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
834
835 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
836 message "No address associated with hostname" when gdbserver
837 cannot resolve the hostname.
838
839 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
840
841 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
842 Add some test prefixes to make tests unique.
843
844 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
845
846 * gdb.base/frameapply.c: New file.
847 * gdb.base/frameapply.exp: New file.
848
849 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
850
851 * gdb.base/skip.exp: Update expected error message.
852
853 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
854 Jan Kratochvil <jan.kratochvil@redhat.com>
855 Paul Fertser <fercerpav@gmail.com>
856 Tsutomu Seki <sekiriki@gmail.com>
857
858 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
859 parameter.
860 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
861 by default.
862 * boards/native-gdbserver.exp: Likewise.
863 * gdb.server/run-without-local-binary.exp: Improve regexp used
864 for detecting when a remote debugging connection succeeds.
865 * gdb.server/server-connect.exp: New file.
866 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
867 Do not prefix the port number with ":".
868 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
869 support for detecting and using it. Add '$debughost_gdbserver'
870 to the list of arguments used to start gdbserver. Handle case
871 when gdbserver cannot resolve a network name.
872
873 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
874
875 PR c++/23373
876 * gdb.base/ptype-offsets.cc (struct static_member): New
877 struct.
878 (main) <stmember>: New variable.
879 * gdb.base/ptype-offsets.exp: Add test for printing a struct
880 with a static member in it.
881
882 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
883
884 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
885 watchpoints enabled and disabled.
886
887 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
888
889 * gdb.base/examine-backward.exp: Still run tests around address
890 0x0, even if address 0x0 is not readable. Update the pattern for
891 matching address 0x0 in expected output.
892
893 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
894
895 * gdb.base/share-env-with-gdbserver.c (main): Add call to
896 malloc/free.
897
898 2018-07-04 Tom de Vries <tdevries@suse.de>
899
900 * gdb.dwarf2/dw2-error.exp: Update expected error message.
901
902 2018-07-02 Maciej W. Rozycki <macro@mips.com>
903
904 PR tdep/8282
905 * gdb.arch/mips-disassembler-options.exp: New test.
906 * gdb.arch/mips-disassembler-options.s: New test source.
907
908 2018-06-29 Pedro Alves <palves@redhat.com>
909
910 * gdb.threads/names.exp: Adjust expected "info threads" output.
911
912 2018-06-29 Pedro Alves <palves@redhat.com>
913
914 * gdb.opt/inline-break.exp (line number, address): Add "info
915 break" tests.
916
917 2018-06-29 Pedro Alves <palves@redhat.com>
918
919 * gdb.opt/inline-break.c (func1): Add "break here" marker.
920 * gdb.opt/inline-break.exp: Test setting breakpoints by line
921 number and address and running to them.
922
923 2018-06-29 Richard Bunt <richard.bunt@arm.com>
924
925 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
926
927 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
928
929 * lib/compiler.c: Remove executable permission flag.
930
931 2018-06-28 Richard Bunt <richard.bunt@arm.com>
932
933 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
934 code.
935 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
936
937 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
938
939 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
940
941 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
942
943 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
944 address argument is omitted.
945
946 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
947
948 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
949
950 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
951
952 PR gdb/21695
953 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
954 * gdb.base/infoline-reloc-main-from-zero.c: New file.
955
956 2018-06-26 Tom Tromey <tom@tromey.com>
957
958 PR rust/22574:
959 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
960 * gdb.rust/simple.rs (struct SimpleLayout): New.
961
962 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
963
964 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
965 "info registers" output.
966
967 2018-06-21 Richard Bunt <richard.bunt@arm.com>
968
969 * gdb.base/watchpoint-hw-attach.c: New test.
970 * gdb.base/watchpoint-hw-attach.exp: New file.
971
972 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
973
974 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
975 through /bin/sh.
976 * boards/dwarf4-gdb-index.exp: Likewise.
977 * boards/fission-dwp.exp: Likewise.
978
979 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
980
981 * gdb.base/float128.exp: Add comment and improved fail message
982 to the failure case of "print large128" test.
983
984 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
985
986 * configure.ac: Remove AC_PREREQ.
987 * configure: Re-generate.
988
989 2018-06-19 Pedro Alves <palves@redhat.com>
990
991 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
992 (func_extern_caller): New.
993 (main): Call func_extern_caller.
994 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
995 logic change.
996
997 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
998
999 PR gdb/16841
1000 * gdb.cp/typedef-base.cc: New file.
1001 * gdb.cp/typedef-base.exp: New file.
1002
1003 2018-06-18 Tom de Vries <tdevries@suse.de>
1004
1005 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1006
1007 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1008 Richard Bunt <Richard.Bunt@arm.com>
1009
1010 * gdb.threads/attach-slow-waitpid.c: New file.
1011 * gdb.threads/attach-slow-waitpid.exp: New file.
1012 * gdb.threads/slow-waitpid.c: New file.
1013
1014 2018-06-14 Pedro Alves <palves@redhat.com>
1015
1016 * gdb.base/fork-running-state.c: Include <errno.h>.
1017 (exit_if_relative_exits): New.
1018 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1019 exits.
1020 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1021 child exits.
1022
1023 2018-06-14 Tom de Vries <tdevries@suse.de>
1024
1025 PR cli/22573
1026 * gdb.base/finish-pretty.c: New test.
1027 * gdb.base/finish-pretty.exp: New file.
1028
1029 2018-06-14 Pedro Alves <palves@redhat.com>
1030
1031 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1032 gdb's expected startup output.
1033
1034 2018-06-14 Pedro Alves <palves@redhat.com>
1035
1036 * lib/selftest-support.exp (selftest_setup): Remove inlined
1037 function handling.
1038
1039 2018-06-14 Tom de Vries <tdevries@suse.de>
1040
1041 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1042 matching of breakpoint printing.
1043
1044 2018-06-13 Tom de Vries <tdevries@suse.de>
1045
1046 PR testsuite/23269
1047 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1048 (fork_child): ... here, and ...
1049 (fork_parent): ... here.
1050
1051 2018-06-12 Tom de Vries <tdevries@suse.de>
1052
1053 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1054
1055 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1056 Stephen Roberts <stephen.roberts@arm.com>
1057
1058 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1059 rewrite test to describe action performed, rather than possible
1060 failure.
1061
1062 2018-06-08 Gary Benson <gbenson@redhat.com>
1063
1064 * gdb.threads/check-libthread-db.exp: New file.
1065 * gdb.threads/check-libthread-db.c: Likewise.
1066
1067 2018-06-05 Tom Tromey <tom@tromey.com>
1068
1069 * gdb.base/default.exp: Update expected "show version" output.
1070
1071 2018-06-05 Tom Tromey <tom@tromey.com>
1072
1073 PR cli/12326:
1074 * gdb.cp/static-print-quit.exp: Update.
1075 * lib/gdb.exp (pagination_prompt): Update.
1076 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
1077 * gdb.python/python.exp: Update.
1078
1079 2018-06-04 Joel Brobecker <brobecker@adacore.com>
1080
1081 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1082
1083 2018-06-01 Joel Brobecker <brobecker@adacore.com>
1084
1085 * gdb.ada/bp_fun_addr: New testcase.
1086
1087 2018-06-01 Tom Tromey <tom@tromey.com>
1088
1089 * gdb.xml/tdesc-regs.exp (load_description): Update expected
1090 results.
1091 * gdb.dwarf2/method-ptr.exp: Set language to C++.
1092 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1093 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1094 * gdb.base/maint.exp (maint_pass_if): Update.
1095
1096 2018-05-31 Maciej W. Rozycki <macro@mips.com>
1097
1098 * gdb.base/endian.exp: New test.
1099 * gdb.base/endian.c: New test source.
1100
1101 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
1102
1103 PR gdb/23203
1104 * gdb.base/bt-selected-frame.c: New file.
1105 * gdb.base/bt-selected-frame.exp: New file.
1106 * lib/gdb.exp (get_current_frame_number): New function.
1107
1108 2018-05-24 Maciej W. Rozycki <macro@mips.com>
1109 Pedro Alves <palves@redhat.com>
1110
1111 * gdb.threads/tls-core.c: Include <stdlib.h>
1112 (thread_proc): Call `abort'.
1113 * gdb.threads/tls-core.exp: Generate a core with core_find too.
1114 (tls_core_test): New procedure, bits factored out from ...
1115 (top level): ... here. Test both native cores and gcore cores.
1116
1117 2018-05-23 Tom Tromey <tom@tromey.com>
1118
1119 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1120
1121 2018-05-23 Tom Tromey <tom@tromey.com>
1122
1123 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1124 symfile_complaints.
1125 (test_short_complaints): Likewise.
1126 (test_empty_complaints): Likewise.
1127 (test_initial_complaints): Update.
1128
1129 2018-05-23 Tom Tromey <tom@tromey.com>
1130
1131 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1132
1133 2018-05-23 Tom Tromey <tom@tromey.com>
1134
1135 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1136 (test_short_complaints): Update.
1137
1138 2018-05-22 Pedro Alves <palves@redhat.com>
1139
1140 * gdb.base/remote.exp: Only gdb_start after compiling the
1141 testcase. Issue "disconnect" before testing "set remote" command
1142 defaults. Issue clean_restart before running to main.
1143
1144 2018-05-22 Pedro Alves <palves@redhat.com>
1145
1146 * gdb.base/remote.exp: Adjust expected output of "show remote
1147 memory-write-packet-size". Add tests for "set remote
1148 memory-write-packet-size 0" and "set remote
1149 memory-write-packet-size fixed/limit".
1150
1151 2018-05-22 Pedro Alves <palves@redhat.com>
1152
1153 PR gdb/22973
1154 * gdb.base/utf8-identifiers.c: New file.
1155 * gdb.base/utf8-identifiers.exp: New file.
1156
1157 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1158
1159 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1160
1161 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1162
1163 * gdb.arch/powerpc-vsx-gcore.exp: New file.
1164
1165 2018-05-18 Tom Tromey <tom@tromey.com>
1166
1167 * gdb.base/ptype-offsets.exp: Update.
1168
1169 2018-05-17 Keith Seitz <keiths@redhat.com>
1170
1171 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1172 in expected breakpoint stop locations.
1173 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1174 move to proper scope to test variable values.
1175 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1176 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1177 New functions.
1178 (main): Call not_inline_func3.
1179 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1180 inline_func1, inline_func2, and inline_func3. Test that when each
1181 breakpoint is hit, GDB properly reports both the stop location
1182 and the backtrace. Repeat tests for temporary breakpoints.
1183
1184 2018-05-15 Maciej W. Rozycki <macro@mips.com>
1185
1186 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1187 rather then trying to access it in determining whether the PID
1188 of `gdbserver' could have been retrieved.
1189
1190 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
1191
1192 * gdb.arch/amd64-init-x87-values.S: New file.
1193 * gdb.arch/amd64-init-x87-values.exp: New file.
1194
1195 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1196
1197 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1198
1199 2018-05-04 Tom Tromey <tom@tromey.com>
1200
1201 PR python/22730:
1202 * gdb.python/python.exp: Test multi-line execute.
1203
1204 2018-05-04 Tom Tromey <tom@tromey.com>
1205
1206 PR python/22731:
1207 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1208
1209 2018-05-04 Tom Tromey <tom@tromey.com>
1210
1211 PR gdb/11750:
1212 * gdb.base/define.exp: Test defining a user command inside a user
1213 command.
1214 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1215
1216 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1217 Pedro Alves <palves@redhat.com>
1218
1219 PR breakpoints/19806 and support for PR external/20207.
1220 * gdb.base/watchpoint-unaligned.c: New file.
1221 * gdb.base/watchpoint-unaligned.exp: New file.
1222
1223 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1224
1225 * gdb.base/maint.exp: Make test names unique, use
1226 test_prefix_command_help to test 'help maint info', and remove
1227 repeated test of 'help maint'.
1228
1229 2018-05-04 Tom Tromey <tom@tromey.com>
1230
1231 PR gdb/22619:
1232 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1233 behavior.
1234
1235 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1236
1237 * gdb.base/maint.exp: Process output from 'maint print registers'
1238 line at a time.
1239
1240 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1241
1242 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1243 timeout.
1244
1245 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
1246
1247 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1248 filter pattern.
1249
1250 2018-05-02 Pedro Alves <palves@redhat.com>
1251
1252 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1253 to_log_command renames.
1254 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1255
1256 2018-05-02 Tom Tromey <tom@tromey.com>
1257
1258 * gdb.python/py-parameter.exp: Set test message.
1259
1260 2018-05-02 Tom Tromey <tom@tromey.com>
1261
1262 PR python/20084:
1263 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1264 PARAM_ZUINTEGER_UNLIMITED tests.
1265
1266 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
1267
1268 PR rust/23124
1269 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1270 when casting.
1271
1272 2018-04-30 Tom Tromey <tom@tromey.com>
1273
1274 * gdb.python/py-type.exp: Check align attribute.
1275 * gdb.python/py-type.c: New "aligncheck" global.
1276
1277 2018-04-30 Tom Tromey <tom@tromey.com>
1278
1279 PR exp/17095:
1280 * gdb.dwarf2/dw2-align.exp: New file.
1281 * gdb.cp/align.exp: New file.
1282 * gdb.base/align.exp: New file.
1283 * lib/gdb.exp (gdb_int128_helper): New proc.
1284 (has_int128_c, has_int128_cxx): New caching procs.
1285
1286 2018-04-27 Tom Tromey <tom@tromey.com>
1287
1288 PR rust/22545:
1289 * gdb.rust/simple.exp: Add inclusive range tests.
1290
1291 2018-04-26 Pedro Alves <palves@redhat.com>
1292
1293 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1294 ifunc breakpoint locations correctly of ifunc breakpoints set
1295 while the program resolves the ifunc.
1296
1297 2018-04-26 Pedro Alves <palves@redhat.com>
1298
1299 * gdb.base/gnu-ifunc-final.c: New file.
1300 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1301 * gdb.base/gnu-ifunc.exp (executable): Delete.
1302 (staticexecutable): Adjust.
1303 (lib_opts, exec_opts): Delete.
1304 (make_binsuffix, build, set-break): New procedures.
1305 (misc_tests): New, with tests factored out from the top level.
1306 (top level): Test different combinations of ifunc resolver name,
1307 resolver with and with debug info, and ifunc target with and
1308 without debug info. Wrap static tests with with_target_prefix.
1309
1310 2018-04-26 Pedro Alves <palves@redhat.com>
1311
1312 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1313 return type" warnings.
1314
1315 2018-04-25 Pedro Alves <palves@redhat.com>
1316
1317 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1318 killed".
1319 * gdb.base/kill-after-signal.exp: Likewise.
1320 * gdb.threads/kill.exp: Likewise.
1321
1322 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1323 Sergio Durigan Junior <sergiodj@redhat.com>
1324 Pedro Alves <palves@redhat.com>
1325
1326 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1327 regexps to expect for '[Inferior ... detached]' as well.
1328 * gdb.base/attach.exp: Likewise.
1329 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1330 "gdb_continue_to_end".
1331 (test_catch_syscall_with_wrong_args): Likewise.
1332 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1333 ']'. Don't set 'verbose' on.
1334 * gdb.base/foll-vfork.exp: Likewise.
1335 * gdb.base/fork-print-inferior-events.c: New file.
1336 * gdb.base/fork-print-inferior-events.exp: New file.
1337 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1338 '[Inferior ... has been killed]' message.
1339 * gdb.base/kill-after-signal.exp: Likewise.
1340 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1341 detach message.
1342 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1343 message.
1344 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1345 regexps to expect for '[Inferior ... detached]' as well.
1346 * gdb.threads/process-dies-while-detaching.exp: Likewise.
1347
1348 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
1349
1350 PR gdb/23104
1351 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1352
1353 2018-04-19 Richard Bunt <richard.bunt@arm.com>
1354
1355 * gdb.threads/multiple-successive-infcall.c: New test.
1356 * gdb.threads/multiple-successive-infcall.exp: New file.
1357
1358 2018-04-17 Tom Tromey <tom@tromey.com>
1359
1360 * gdb.rust/simple.rs (Union): New type.
1361 (main): New local "u".
1362 * gdb.rust/simple.exp (test_one_slice): Add new test case.
1363
1364 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1365
1366 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1367 number information in output of "whereis" command.
1368 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1369
1370 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1371
1372 * gdb.ada/info_types.exp: Adjust expected output to the line
1373 numbers now printed by "info var/func/type".
1374 * gdb.base/completion.exp: Likewise.
1375 * gdb.base/included.exp: Likewise.
1376 * gdb.cp/cp-relocate.exp: Likewise.
1377 * gdb.cp/cplusfuncs.exp: Likewise.
1378 * gdb.cp/namespace.exp: Likewise.
1379 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1380
1381 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1382
1383 * gdb.btrace/cpu.exp: New.
1384
1385 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1386
1387 * gdb.base/step-indirect-call-thunk.exp: New.
1388 * gdb.base/step-indirect-call-thunk.c: New.
1389 * gdb.reverse/step-indirect-call-thunk.exp: New.
1390 * gdb.reverse/step-indirect-call-thunk.c: New.
1391
1392 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
1393
1394 * gdb.base/pie-fork.c: New file.
1395 * gdb.base/pie-fork.exp: New file.
1396
1397 2018-04-11 Tom Tromey <tom@tromey.com>
1398
1399 * gdb.rust/simple.exp: Add test for ".." struct initializer.
1400
1401 2018-04-10 Pedro Alves <palves@redhat.com>
1402
1403 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1404 exits. Instead loop running forever.
1405 (fork_parent): Run forever too.
1406
1407 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1408
1409 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1410 mi_continue_to_line.
1411 * gdb.mi/mi-stack.c (callee4): Add comment.
1412
1413 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1414
1415 * gdb.mi/mi-stack.exp: Fix indentation.
1416
1417 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1418
1419 PR gdb/22979
1420 * gdb.arch/amd64-osabi.exp: New file.
1421
1422 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1423
1424 PR gdb/22980
1425 * gdb.base/osabi.exp: New file.
1426
1427 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
1428
1429 * gdb.cp/static-typedef-print.exp: New file.
1430 * gdb.cp/static-typedef-print.cc: New file.
1431
1432 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1433
1434 * gdb.ada/varsize_limit: New testcase.
1435
1436 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1437
1438 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1439
1440 * gdb.ada/notcplusplus: New testcase.
1441
1442 * gdb.base/c-linkage-name.c: New file.
1443 * gdb.base/c-linkage-name.exp: New testcase.
1444
1445 2018-03-26 Tom Tromey <tom@tromey.com>
1446
1447 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1448 * gdb.python/py-framefilter.py (name_error): New global.
1449 (ErrorInName.function): Use name_error.
1450
1451 2018-03-26 Tom Tromey <tom@tromey.com>
1452
1453 PR backtrace/15582:
1454 * gdb.python/py-framefilter.exp: Add "bt hide" test.
1455
1456 2018-03-23 Keith Seitz <keiths@redhat.com>
1457
1458 PR c++/22968
1459 * gdb.cp/subtypes.exp: New file.
1460 * gdb.cp/subtypes.h: New file.
1461 * gdb.cp/subtypes.cc: New file.
1462 * gdb.cp/subtypes-2.cc: New file.
1463
1464 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1465
1466 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1467 (done): Call '_exit' not 'exit' to avoid atexit handlers.
1468 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1469 -nostartfiles when compiling the test. Confirm that all registers
1470 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1471
1472 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1473
1474 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1475 option, syntax was wrong anyway.
1476 * gdb.arch/arm-disp-step.exp: Likewise.
1477 * gdb.arch/sparc64-regs.exp: Likewise.
1478 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1479 option, syntax was wrong anyway, switch to use
1480 prepare_for_testing.
1481 * gdb.arch/i386-disp-step.exp: Likewise.
1482
1483 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
1484
1485 * gdb.ada/exec_changed.exp: Replace "target_info exists
1486 use_gdb_stub" by "use_gdb_stub".
1487 * gdb.ada/start.exp: Likewise.
1488 * gdb.base/async-shell.exp: Likewise.
1489 * gdb.base/attach-pie-misread.exp: Likewise.
1490 * gdb.base/attach-wait-input.exp: Likewise.
1491 * gdb.base/break-entry.exp: Likewise.
1492 * gdb.base/break-interp.exp: Likewise.
1493 * gdb.base/dprintf-detach.exp: Likewise.
1494 * gdb.base/nostdlib.exp: Likewise.
1495 * gdb.base/solib-nodir.exp: Likewise.
1496 * gdb.base/statistics.exp: Likewise.
1497 * gdb.base/testenv.exp: Likewise.
1498 * gdb.mi/mi-exec-run.exp: Likewise.
1499 * gdb.mi/mi-start.exp: Likewise.
1500 * gdb.multi/dummy-frame-restore.exp: Likewise.
1501 * gdb.multi/multi-arch-exec.exp: Likewise.
1502 * gdb.multi/multi-arch.exp: Likewise.
1503 * gdb.multi/tids.exp: Likewise.
1504 * gdb.multi/watchpoint-multi.exp: Likewise.
1505 * gdb.python/py-events.exp: Likewise.
1506 * gdb.threads/attach-into-signal.exp: Likewise.
1507 * gdb.threads/attach-stopped.exp: Likewise.
1508 * gdb.threads/threadapply.exp: Likewise.
1509 * lib/selftest-support.exp: Likewise.
1510
1511 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1512
1513 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1514
1515 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1516
1517 * gdb.perf/template-breakpoints.cc: New file.
1518 * gdb.perf/template-breakpoints.exp: New file.
1519 * gdb.perf/template-breakpoints.py: New file.
1520
1521 2018-03-19 Tom Tromey <tom@tromey.com>
1522
1523 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1524 y0.
1525 * gdb.rust/simple.exp: Test bare identifier form of struct
1526 initializer.
1527
1528 2018-03-19 Tom Tromey <tom@tromey.com>
1529
1530 * gdb.gdb/observer.exp: Remove.
1531
1532 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1533
1534 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1535 "qualified" option when setting breakpoints.
1536 * gdb.trace/backtrace.exp: Likewise.
1537 * gdb.trace/circ.exp: Likewise.
1538 * gdb.trace/collection.exp: Likewise.
1539 * gdb.trace/disconnected-tracing.exp: Likewise.
1540 * gdb.trace/ftrace-lock.exp: Likewise.
1541 * gdb.trace/ftrace.exp: Likewise.
1542 * gdb.trace/infotrace.exp: Likewise.
1543 * gdb.trace/packetlen.exp: Likewise.
1544 * gdb.trace/passc-dyn.exp: Likewise.
1545 * gdb.trace/qtro.exp: Likewise.
1546 * gdb.trace/read-memory.exp: Likewise.
1547 * gdb.trace/report.exp: Likewise.
1548 * gdb.trace/signal.exp: Likewise.
1549 * gdb.trace/status-stop.exp: Likewise.
1550 * gdb.trace/strace.exp: Likewise.
1551 * gdb.trace/tfind.exp: Likewise.
1552 * gdb.trace/trace-break.exp: Likewise.
1553 * gdb.trace/trace-condition.exp: Likewise.
1554 * gdb.trace/trace-mt.exp: Likewise.
1555 * gdb.trace/tstatus.exp: Likewise.
1556 * gdb.trace/tsv.exp: Likewise.
1557 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1558 * gdb.trace/unavailable.exp: Likewise.
1559 * gdb.trace/while-dyn.exp: Likewise.
1560
1561 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1562
1563 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1564 that libinproctrace is copied to the target.
1565
1566 2018-03-14 Tom Tromey <tom@tromey.com>
1567
1568 PR cli/14977:
1569 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1570 a null pointer.
1571 * gdb.base/wchar.exp: Likewise.
1572
1573 2018-03-14 Tom Tromey <tom@tromey.com>
1574
1575 PR cli/19918:
1576 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1577 flag.
1578
1579 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1580
1581 PR gdb/22841
1582 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1583 "target" to remote_exec.
1584
1585 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1586
1587 PR gdb/22841
1588 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1589 ${board}_upload): Remove.
1590
1591 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1592
1593 * gdb.cp/watch-cp.cc: New test.
1594 * gdb.cp/watch-cp.exp: New file.
1595
1596 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1597
1598 * gdb.base/infcall-nested-structs.exp: New file.
1599 * gdb.base/infcall-nested-structs.c: New file.
1600 * gdb.base/float.exp: Add riscv support.
1601
1602 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1603
1604 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1605 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1606
1607 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1608
1609 * gdb.server/abspath.exp: New file.
1610 * lib/gdb.exp (with_cwd): New procedure.
1611
1612 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1613
1614 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1615 use it.
1616 (gdb_is_target_remote_prompt): New proc.
1617 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1618 (gdb_is_target_native): Pass prompt parameter to
1619 gdb_is_target_1.
1620
1621 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1622
1623 * gdb.base/load-command.c: New file.
1624 * gdb.base/load-command.exp: New file.
1625 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1626 (gdb_is_target_1): ...this, and generalize for other targets
1627 than just remote.
1628 (gdb_is_target_remote): Use gdb_is_target_1.
1629 (gdb_is_target_native): use gdb_is_target_1.
1630
1631 2018-02-26 Tom Tromey <tom@tromey.com>
1632
1633 PR python/16497:
1634 * gdb.python/py-framefilter.exp: Update test.
1635
1636 2018-02-26 Tom Tromey <tom@tromey.com>
1637
1638 * gdb.dwarf2/variant.c: New file.
1639 * gdb.dwarf2/variant.exp: New file.
1640
1641 2018-02-26 Tom Tromey <tom@tromey.com>
1642
1643 * gdb.rust/simple.exp: Accept more possible results in enum test.
1644
1645 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1646
1647 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1648 parentheses.
1649
1650 2018-02-23 Maciej W. Rozycki <macro@mips.com>
1651
1652 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1653 name of a variable: $actual_linejj -> $actual_line.
1654
1655 2018-02-21 John Baldwin <jhb@FreeBSD.org>
1656
1657 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1658
1659 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1660
1661 * gdb.btrace/buffer-size.exp: Do not force BTS.
1662
1663 2018-02-14 Pedro Alves <palves@redhat.com>
1664
1665 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1666 getting a "Quit".
1667
1668 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1669
1670 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1671 Fix test name.
1672
1673 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1674
1675 * gdb.cp/m-static.exp: Check type of optimized out static
1676 member.
1677
1678 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1679
1680 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1681 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1682
1683 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1684 Leszek Swirski <leszeks@google.com>
1685
1686 * gdb.python/py-prettyprint.c
1687 (struct to_string_returns_value_inner,
1688 struct to_string_returns_value_wrapper): New.
1689 (main): Add tsrvw variable.
1690 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1691 ToStringReturnsValueWrapper): New classes.
1692 (register_pretty_printers): Register new pretty-printers.
1693 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1694 recursive pretty printer.
1695 * gdb.python/py-mi.exp: Likewise.
1696
1697 2018-02-01 Leszek Swirski <leszeks@google.com>
1698
1699 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1700 functions with the same name as an include file are parsed
1701 correctly.
1702
1703 2018-02-01 Yao Qi <yao.qi@linaro.org>
1704
1705 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1706 "\[^\r\n\]*".
1707
1708 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1709
1710 * gdb.arch/powerpc-prologue-frame.s: New file.
1711 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1712 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1713
1714 2018-01-31 Joel Brobecker <brobecker@adacore.com>
1715
1716 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1717
1718 2018-01-30 Pedro Alves <palves@redhat.com>
1719
1720 PR gdb/13211
1721 * gdb.base/interrupt-daemon.c: New.
1722 * gdb.base/interrupt-daemon.exp: New.
1723 * gdb.multi/multi-term-settings.c: New.
1724 * gdb.multi/multi-term-settings.exp: New.
1725
1726 2018-01-30 Joel Brobecker <brobecker@adacore.com>
1727
1728 * gdb.base/break.exp: Save the location where the breakpoint
1729 on break.c:47 was actually inserted when debugging the version
1730 compiled at -O2 and use it in the expected output of the "info
1731 break" test performed soon after.
1732
1733 2018-01-22 Pedro Alves <palves@redhat.com>
1734 Sergio Durigan Junior <sergiodj@redhat.com>
1735
1736 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1737 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1738
1739 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1740
1741 * gdb.base/break-include.c, gdb.base/break-include.inc,
1742 gdb.base/break-include.exp: New files.
1743 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1744 line number now being the actual line number where the breakpoint
1745 was inserted.
1746 * gdb.mi/mi-break.exp: Likewise.
1747 * gdb.mi/mi-reverse.exp: Likewise.
1748 * gdb.mi/mi-simplerun.exp: Ditto.
1749
1750 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1751
1752 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1753 varobj.
1754 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1755
1756 2018-01-21 Don Breazeal <donb@codesourcery.com>
1757 Andrew Burgess <andrew.burgess@embecosm.com>
1758
1759 * gdb.mi/basics.c: Add new global.
1760 * gdb.mi/mi-frame-regs.exp: New file.
1761 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1762 case.
1763
1764 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1765
1766 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1767 non-parameter, and on an unknown symbol.
1768
1769 2018-01-19 Tom Tromey <tom@tromey.com>
1770
1771 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1772 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1773
1774 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1775
1776 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1777 setrlimit and chdir to int.
1778
1779 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1780
1781 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1782 function.
1783 (my_tend): Likewise.
1784 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1785 rationale of avoiding FP- and vector instructions.
1786
1787 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1788
1789 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1790 "info reg" with "\[ \t\]*".
1791 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1792 "\[ \t\]+".
1793 * gdb.arch/s390-multiarch.exp: Ditto.
1794 * gdb.base/pc-fp.exp: Ditto.
1795 * gdb.reverse/i386-precsave.exp: Ditto.
1796 * gdb.reverse/i386-reverse.exp: Ditto.
1797 * gdb.reverse/i387-env-reverse.exp: Ditto.
1798 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1799
1800 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1801
1802 * lib/gdb.exp (gdb_compile): Re-enable use of
1803 universal_compile_options for languages other than Rust.
1804
1805 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1806
1807 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1808
1809 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1810
1811 PR gdb/16577
1812 * gdb.base/solib-vanish.exp: New.
1813 * gdb.base/solib-vanish-main.c: New.
1814 * gdb.base/solib-vanish-lib1.c: New.
1815 * gdb.base/solib-vanish-lib2.c: New.
1816
1817 2018-01-17 Yao Qi <yao.qi@linaro.org>
1818
1819 * gdb.compile/compile.exp: Match the address printed for
1820 frame in the output of command "bt".
1821
1822 2018-01-15 Tom Tromey <tom@tromey.com>
1823
1824 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1825 compute sp_reg.
1826
1827 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1828
1829 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1830 to prepare.
1831 (prepare): Return 0 on error, 1 on success.
1832
1833 2018-01-12 Pedro Alves <palves@redhat.com>
1834
1835 * gdb.base/continue-after-aborted-step-over.c: New.
1836 * gdb.base/continue-after-aborted-step-over.exp: New.
1837
1838 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1839
1840 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1841 options when not creating an executable.
1842
1843 2018-01-11 Pedro Alves <palves@redhat.com>
1844
1845 PR remote/22597
1846 * gdb.server/stop-reply-no-thread.c: New file.
1847 * gdb.server/stop-reply-no-thread.exp: New file.
1848
1849 2018-01-10 Pedro Alves <palves@redhat.com>
1850
1851 PR gdb/22670
1852 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1853 functions too. Test setting breakpoints and printing C functions
1854 with no debug info too.
1855 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1856
1857 2018-01-10 Pedro Alves <palves@redhat.com>
1858
1859 PR gdb/22670
1860 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1861 a fail.
1862
1863 2018-01-10 Pedro Alves <palves@redhat.com>
1864
1865 PR gdb/22670
1866 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1867
1868 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1869
1870 * gdb.server/unittest.exp: Match the output in non-development
1871 mode.
1872
1873 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1874
1875 * gdb.gdb/unittest.exp: Match output in non-development mode.
1876
1877 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1878
1879 * gdb.ada/access_tagged_param.exp: Relax expected output
1880 for value of "ObjL" in "continue" to pck.inspect breakpoint
1881 test.
1882
1883 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1884
1885 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1886 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1887
1888 2018-01-05 Pedro Alves <palves@redhat.com>
1889
1890 PR gdb/18653
1891 * gdb.base/libsegfault.exp: New.
1892
1893 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1894
1895 PR gdb/22670
1896 * gdb.ada/access_tagged_param.exp: New file.
1897 * gdb.ada/access_tagged_param/foo.adb: New file.
1898
1899 2018-01-05 Pedro Alves <palves@redhat.com>
1900
1901 PR gdb/22670
1902 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1903 exercise lower case too, and to exercise both full matching and
1904 wild matching.
1905
1906 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1907
1908 * gdb.ada/rename_subscript_param: New testcase.
1909
1910 2018-01-05 Jerome Guitton <guitton@adacore.com>
1911
1912 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1913
1914 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1915
1916 * gdb.ada/convvar_comp: New testcase.
1917
1918 2018-01-05 Xavier Roirand <roirand@adacore.com>
1919
1920 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1921 (My_Table): New global variable.
1922 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1923
1924 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1925
1926 PR gdb/22670
1927 * gdb.ada/maint_with_ada: New testcase.
1928
1929 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1930
1931 PR gdb/22670
1932 * gdb.ada/bp_c_mixed_case: New testcase.
1933
1934 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1935
1936 PR gdb/22670
1937 * gdb.ada/complete.exp: Add "complete break ada" test.
1938
1939 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1940
1941 PR gdb/22670
1942 * gdb.ada/info_addr_mixed_case: New testcase.
1943
1944 2018-01-03 Xavier Roirand <roirand@adacore.com>
1945
1946 * gdb.ada/excep_handle.exp: New testcase.
1947 * gdb.ada/excep_handle/foo.adb: New file.
1948 * gdb.ada/excep_handle/pck.ads: New file.
1949
1950 2018-01-03 Joel Brobecker <brobecker@adacore.com>
1951
1952 * gdb.base/step-line.c: Add extra empty line in copyright header.
1953 * gdb.base/step-line.inp: Likewise.
1954
1955 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1956
1957 * gdb.ada/dyn_stride.exp: Add slice test.
1958
1959 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1960
1961 * gdb.ada/dyn_stride: New testcase.
1962
1963 2017-12-27 Stafford Horne <shorne@gmail.com>
1964
1965 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1966 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1967
1968 2017-12-27 Stafford Horne <shorne@gmail.com>
1969
1970 * gdb.base/reggroups.c: New file.
1971 * gdb.base/reggroups.exp: New file.
1972
1973 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1974
1975 * gdb.dwarf2/ada-valprint-error.c: New file.
1976 * gdb.dwarf2/ada-valprint-error.exp: New file.
1977
1978 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1979
1980 * gdb.ada/assign_arr: New testcase.
1981
1982 2017-12-18 Xavier Roirand <roirand@adacore.com>
1983
1984 * gdb.ada/funcall_ptr: New testcase.
1985
1986 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1987
1988 PR cli/16224
1989 * gdb.base/ptype-offsets.cc: New file.
1990 * gdb.base/ptype-offsets.exp: New file.
1991
1992 2017-12-15 Yao Qi <yao.qi@linaro.org>
1993
1994 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1995 if XML is disabled.
1996
1997 2017-12-15 Xavier Roirand <roirand@adacore.com>
1998
1999 * gdb.ada/same_component_name: New testcase.
2000
2001 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2002
2003 * gdb.ada/str_binop_equal: New testcase.
2004
2005 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2006
2007 * gdb.ada/task_switch_in_core: New testcase.
2008
2009 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
2010
2011 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2012 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2013 call test_bkpt_qualified.
2014 (test_bkpt_qualified): New proc.
2015
2016 2017-12-13 Pedro Alves <palves@redhat.com>
2017
2018 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2019 Tighten regexp by matching with an anchor.
2020
2021 2017-12-13 Pedro Alves <palves@redhat.com>
2022
2023 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2024 ("expression with namespace"): New set of tests.
2025 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2026 (Nested::Test_NS::qux): New.
2027 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2028 defaults to 'start_quote_char' and 'end_quote_char' parameters.
2029
2030 2017-12-13 Joel Brobecker <brobecker@adacore.com>
2031
2032 * gdb.base/server-del-break.c: New file.
2033 * gdb.base/server-del-break.exp: New file.
2034
2035 2017-12-12 Stafford Horne <shorne@gmail.com>
2036
2037 * gdb.xml/tdesc-regs.exp: Add or1k support.
2038
2039 2017-12-12 Stafford Horne <shorne@gmail.com>
2040
2041 * gdb.base/bp-permanent.c: Define nop of or1k.
2042
2043 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2044
2045 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2046 output with components being reordered.
2047
2048 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2049
2050 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2051 output with components being reordered.
2052
2053 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2054 Pedro Alves <palves@redhat.com>
2055
2056 * gdb.base/maint.exp (check for .gdb_index): Check also for
2057 .debug_names.
2058 * gdb.dlang/watch-loc.c (.debug_aranges): New.
2059 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2060 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2061 (.gdb_index used after symbol reloading): Support also .debug_names.
2062 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2063
2064 2017-12-08 Yao Qi <yao.qi@linaro.org>
2065
2066 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2067 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2068
2069 2017-12-08 Yao Qi <yao.qi@linaro.org>
2070
2071 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2072 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2073
2074 2017-12-08 Yao Qi <yao.qi@linaro.org>
2075
2076 * gdb.arch/aarch64-tagged-pointer.c: New file.
2077 * gdb.arch/aarch64-tagged-pointer.exp: New file.
2078
2079 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
2080
2081 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2082 "int".
2083
2084 2017-12-07 Keith Seitz <keiths@redhat.com>
2085
2086 PR breakpoints/22569
2087 * gdb.linespec/ls-errs.exp: Change expected result of "break
2088 -source this file has spaces.c -line 3".
2089 Check that an explicit source file followed by whitespace is
2090 identified as an invalid explicit location.
2091
2092 2017-12-07 Keith Seitz <keiths@redhat.com>
2093
2094 * gdb.cp/nested-types.cc: New file.
2095 * gdb.cp/nested-types.exp: New file.
2096 * lib/cp-support.exp: Load data-structures.exp library.
2097 (debug_cp_test_ptype_class): New global.
2098 (cp_ptype_class_verbose, next_line): New procedures.
2099 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2100 Add and document new return value.
2101 Switch the list of lines to a queue.
2102 Add support for new `type' key for nested type definitions.
2103 Add debugging/troubleshooting messages.
2104 * lib/data-structures.exp: New file.
2105
2106 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
2107
2108 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2109 with proc_with_prefix, don't use with_test_prefix.
2110
2111 2017-12-07 Tom Tromey <tom@tromey.com>
2112
2113 * gdb.base/break.exp: Add test for empty "commands".
2114
2115 2017-12-07 Yao Qi <yao.qi@linaro.org>
2116
2117 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2118 malloc and catch syscall.
2119
2120 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
2121
2122 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2123 tests for explicit locations.
2124
2125 2017-12-06 Pedro Alves <palves@redhat.com>
2126
2127 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2128 force-disabling XML descriptions.
2129
2130 2017-12-04 Pedro Alves <palves@redhat.com>
2131
2132 PR gdb/22499
2133 * gdb.arch/amd64-disp-step-avx.S: New file.
2134 * gdb.arch/amd64-disp-step-avx.exp: New file.
2135
2136 2017-12-03 Pedro Alves <palves@redhat.com>
2137
2138 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2139 and <string.h>.
2140 (parent_function): Print distinct messages when waitpid fails, or
2141 the child exits with a signal, or the child exits for an unhandled
2142 reason.
2143 * gdb.threads/process-dies-while-detaching.exp
2144 (detach_and_expect_exit): New 'inf_output_re' parameter and use
2145 it. Wait for both inferior output and GDB's prompt. Use an
2146 indirect spawn id list.
2147 (do_detach): New parameter 'child_exit'. Use it to compute
2148 expected inferior output.
2149 (test_detach, test_detach_watch, test_detach_killed_outside):
2150 Adjust to pass down the expected child exit kind.
2151
2152 2017-12-01 Joel Brobecker <brobecker@adacore.com>
2153 Sergio Durigan Junior <sergiodj@redhat.com>
2154 Pedro Alves <palves@redhat.com>
2155
2156 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2157
2158 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
2159
2160 * gdb.base/relocate.exp: Add tests to guarantee that arguments
2161 to 'symbol-file' and 'add-symbol-file' can be
2162 position-independent.
2163
2164 2017-12-01 Yao Qi <yao.qi@linaro.org>
2165
2166 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2167 the URL in copyright header.
2168 * gdb.arch/aarch64-fp.exp: Likewise.
2169 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2170 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2171 * gdb.base/expand-psymtabs.exp: Likewise.
2172 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2173 * gdb.fortran/common-block.exp: Likewise.
2174 * gdb.fortran/common-block.f90: Likewise.
2175 * gdb.fortran/logical.exp: Likewise.
2176 * gdb.fortran/vla-datatypes.f90: Likewise.
2177 * gdb.fortran/vla-sub.f90: Likewise.
2178
2179 2017-11-30 Joel Brobecker <brobecker@adacore.com>
2180
2181 * gdb.ada/repeat_dyn: New testcase.
2182
2183 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
2184
2185 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2186 Update for changed thread numbering.
2187 * gdb.cell/bt.exp: Update for changed GDB output.
2188
2189 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
2190
2191 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2192 setting isremote by hand.
2193 * boards/dwarf4-gdb-index.exp: Likewise.
2194 * boards/fission.exp: Likewise.
2195 * boards/stabs.exp: Likewise.
2196
2197 2017-11-30 Pedro Alves <palves@redhat.com>
2198
2199 * gdb.linespec/cpls-ops.exp
2200 (check_explicit_skips_function_argument): Extract the underlying
2201 type of size_t instead of hardcoding it.
2202
2203 2017-11-29 Pedro Alves <palves@redhat.com>
2204
2205 PR c++/19436
2206 * gdb.linespec/cpls-abi-tag.cc: New file.
2207 * gdb.linespec/cpls-abi-tag.exp: New file.
2208
2209 2017-11-29 Pedro Alves <palves@redhat.com>
2210
2211 * gdb.base/langs.exp: Use -qualified.
2212 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2213 it.
2214 * gdb.cp/namespace.exp: Use -qualified.
2215 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2216 (overload-3, template-overload, template-ret-type, const-overload)
2217 (const-overload-quoted, anon-ns, ambiguous-prefix): New
2218 procedures.
2219 (test_driver): Call them.
2220 * gdb.cp/save-bp-qualified.cc: New.
2221 * gdb.cp/save-bp-qualified.exp: New.
2222 * gdb.linespec/explicit.exp: Test -qualified.
2223 * lib/completion-support.exp (completion::explicit_opts_list): Add
2224 "-qualified".
2225 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2226
2227 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
2228
2229 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2230
2231 2017-11-29 Tom Tromey <tom@tromey.com>
2232
2233 * gdb.base/relocate.exp: Update invalid argument test.
2234 Add new tests for invalid arguments.
2235
2236 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2237
2238 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2239 Return 0 as a long.
2240 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2241
2242 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2243
2244 * gdb.cp/breakpoint.cc (bar): Set return type to void.
2245 * gdb.cp/psymtab-parameter.cc (func): Likewise.
2246 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2247 func ().
2248 * gdb.cp/shadow.cc (B.func): Return 0.
2249
2250 2017-11-27 Joel Brobecker <brobecker@adacore.com>
2251
2252 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2253 expected output in gdb_expect call to allow the exception
2254 message to be present as well. Fix syntax confusion to avoid
2255 TCL thinking that exception_name is an array.
2256
2257 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
2258
2259 * gdb.arch/spu-info.c: Include <unistd.h>.
2260 (do_signal_test): Fix broken calls to write.
2261 * gdb.arch/spu-info.exp: Use prepare_for_testing.
2262 Fix checks for empty mailboxes. Update signal tests for corrected
2263 do_signal_test routine. Allow nonzero event status.
2264 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2265 * gdb.cell/arch.exp: Use standard_output_file.
2266 * gdb.cell/break.exp: Likewise.
2267 * gdb.cell/bt.exp: Likewise.
2268 * gdb.cell/core.exp: Likewise.
2269 * gdb.cell/dwarfaddr.exp: Likewise.
2270 * gdb.cell/ea-cache.exp: Likewise.
2271 * gdb.cell/ea-standalone.exp: Likewise.
2272 * gdb.cell/f-regs.exp: Likewise.
2273 * gdb.cell/fork.exp: Likewise.
2274 * gdb.cell/gcore.exp: Likewise.
2275 * gdb.cell/mem-access.exp: Likewise.
2276 * gdb.cell/ptype.exp: Likewise.
2277 * gdb.cell/registers.exp: Likewise.
2278 * gdb.cell/sizeof.exp: Likewise.
2279 * gdb.cell/solib-symbol.exp: Likewise.
2280 * gdb.cell/solib.exp: Likewise.
2281
2282 2017-11-25 Pedro Alves <palves@redhat.com>
2283
2284 * gdb.base/complete-empty.exp: New file.
2285 * gdb.base/completion.exp: Adjust.
2286
2287 2017-11-25 Pedro Alves <palves@redhat.com>
2288
2289 * gdb.linespec/cpls-ops.cc: New file.
2290 * gdb.linespec/cpls-ops.exp: New file.
2291 * lib/completion-support.exp (test_complete_prefix_range_re): New,
2292 factored out from ...
2293 (test_complete_prefix_range): ... this.
2294
2295 2017-11-24 Pedro Alves <palves@redhat.com>
2296
2297 * gdb.linespec/cpcompletion.exp: New file.
2298 * gdb.linespec/cpls-hyphen.cc: New file.
2299 * gdb.linespec/cpls.cc: New file.
2300 * gdb.linespec/cpls2.cc: New file.
2301 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
2302 test to use test_gdb_complete_unique. Add label completion,
2303 keyword completion and explicit location completion tests.
2304 * lib/completion-support.exp: New file.
2305
2306 2017-11-24 Joel Brobecker <brobecker@adacore.com>
2307
2308 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2309 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2310 when hitting an exception catchpoint.
2311
2312 2017-11-22 Yao Qi <yao.qi@linaro.org>
2313
2314 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2315
2316 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
2317
2318 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2319 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2320 * gdb.dwarf2/info-locals-optimized-out.c: New file.
2321
2322 2017-11-22 Yao Qi <yao.qi@linaro.org>
2323
2324 * gdb.base/info-os.exp: Pass pthreads.
2325 * gdb.multi/multi-attach.exp: Likewise.
2326
2327 2017-11-22 Yao Qi <yao.qi@linaro.org>
2328
2329 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2330 compiler.
2331
2332 2017-11-22 Yao Qi <yao.qi@linaro.org>
2333
2334 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2335 * gdb.base/break-interp.exp: Likewise.
2336 * gdb.base/jit-attach-pie.exp: Likewise.
2337
2338 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2339
2340 * gdb.base/float128.c (large128): New variable.
2341 * gdb.base/float128.exp: Add test to print largest __float128 value.
2342
2343 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2344
2345 * gdb.arch/vsx-regs.exp: Update register content checks.
2346
2347 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
2348
2349 * gdb.arch/ppc-longdouble.exp: New file.
2350 * gdb.arch/ppc-longdouble.c: Likewise.
2351
2352 2017-11-21 Pedro Alves <palves@redhat.com>
2353
2354 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2355
2356 2017-11-20 Pedro Alves <palves@redhat.com>
2357
2358 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2359 (long_double_typedef): New typedefs.
2360 Use DEF on double and long double.
2361 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2362 cases.
2363 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2364 and 'long_double_ptr_same_size' locals. Use them to decide
2365 whether cast from array/function to float is valid/invalid.
2366
2367 2017-11-17 Tom Tromey <tom@tromey.com>
2368
2369 * gdb.rust/traits.rs: New file.
2370 * gdb.rust/traits.exp: New file.
2371
2372 2017-11-17 Joel Brobecker <brobecker@adacore.com>
2373
2374 * gdb.ada/minsyms: New testcase.
2375
2376 2017-11-16 Pedro Alves <palves@redhat.com>
2377
2378 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2379 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2380
2381 2017-11-16 Pedro Alves <palves@redhat.com>
2382
2383 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2384 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2385
2386 2017-11-16 Pedro Alves <palves@redhat.com>
2387
2388 * gdb.server/reconnect-ctrl-c.c: New file.
2389 * gdb.server/reconnect-ctrl-c.exp: New file.
2390
2391 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
2392
2393 * gdb.python/py-rbreak.exp: New file.
2394 * gdb.python/py-rbreak.c: New file.
2395 * gdb.python/py-rbreak-func2.c: New file.
2396
2397 2017-11-16 Pedro Alves <palves@redhat.com>
2398
2399 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2400 pattern.
2401 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2402 GDB.
2403
2404 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
2405
2406 * gdb.tui/completionn.exp (test_tab_completion): Add space in
2407 regex.
2408
2409 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
2410
2411 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2412 test names.
2413
2414 2017-11-09 Pedro Alves <palves@redhat.com>
2415
2416 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2417 factored out from ...
2418 (top level): ... here, and adjusted to avoid expecting beyond the
2419 prompt in a single gdb_test_multiple.
2420
2421 2017-11-09 Pedro Alves <palves@redhat.com>
2422
2423 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2424 output.
2425 * gdb.server/ext-attach.exp ("kill" test): Likewise.
2426 * gdb.server/ext-restart.exp ("kill" test): Likewise.
2427 * gdb.server/ext-run.exp ("kill" test): Likewise.
2428 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2429
2430 2017-11-09 Pedro Alves <palves@redhat.com>
2431
2432 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2433 match till end of line.
2434
2435 2017-11-09 Pedro Alves <palves@redhat.com>
2436
2437 * gdb.base/memattr.exp: Tighten regexes to match the end line.
2438
2439 2017-11-09 Pedro Alves <palves@redhat.com>
2440
2441 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2442 New procedures, factored out from ...
2443 (top level): ... here, and adjusted to avoid expecting beyond the
2444 prompt in one go.
2445
2446 2017-11-09 Pedro Alves <palves@redhat.com>
2447
2448 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2449 output. Fix '?' match.
2450
2451 2017-11-08 Joel Brobecker <brobecker@adacore.com>
2452
2453 * gdb.ada/scoped_watch: New testcase.
2454 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2455 which is actually correct.
2456 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2457 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2458
2459 2017-11-08 Pedro Alves <palves@redhat.com>
2460
2461 * gdb.gdb/complaints.exp (test_initial_complaints)
2462 (test_serial_complaints, test_short_complaints): Call
2463 complaint_internal instead of complaint.
2464
2465 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
2466
2467 * gdb.threads/tls-core.c: New file.
2468 * gdb.threads/tls-core.exp: Likewise.
2469
2470 2017-11-08 Pedro Alves <palves@redhat.com>
2471
2472 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2473 (p Exported_Capitalized): New test.
2474 (p exported_capitalized): New test.
2475
2476 2017-11-07 Pedro Alves <palves@redhat.com>
2477
2478 * gdb.cp/ena-dis-br-range.exp: Add more tests.
2479
2480 2017-11-07 Pedro Alves <palves@redhat.com>
2481
2482 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2483 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2484 (disable_invalid, disable_inverted, disable_negative): New
2485 procedures.
2486 ("bad numbers"): New set of tests.
2487
2488 2017-11-07 Pedro Alves <palves@redhat.com>
2489
2490 * gdb.cp/ena-dis-br-range.exp: Add tests.
2491
2492 2017-11-07 Pedro Alves <palves@redhat.com>
2493
2494 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2495
2496 2017-11-07 Xavier Roirand <roirand@adacore.com>
2497 Pedro Alves <palves@redhat.com>
2498
2499 * gdb.base/ena-dis-br.exp: Add reference to
2500 gdb.cp/ena-dis-br-range.exp.
2501 * gdb.cp/ena-dis-br-range.exp: New file.
2502 * gdb.cp/ena-dis-br-range.cc: New file.
2503
2504 2017-11-06 Pedro Alves <palves@redhat.com>
2505
2506 * gdb.base/attach-non-pgrp-leader.c: New.
2507 * gdb.base/attach-non-pgrp-leader.exp: New.
2508
2509 2017-11-06 Pedro Alves <palves@redhat.com>
2510
2511 * configure.ac: No longer check for termio.h and sgtty.h.
2512 * configure: Regenerate.
2513 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2514 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2515 Remove termio and sgtty code.
2516
2517 2017-11-03 Yao Qi <yao.qi@linaro.org>
2518
2519 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2520 in GDB is disabled.
2521
2522 2017-11-03 Yao Qi <yao.qi@linaro.org>
2523
2524 * gdb.python/py-thrhandle.exp: Skip it if python is not
2525 enabled.
2526
2527 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2528
2529 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2530 as a breakpoint command.
2531
2532 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2533
2534 PR python/21213
2535 * gdb.python/py-infthread.exp: Test calling
2536 InferiorThread.inferior () multiple times in a row.
2537
2538 2017-10-27 Keith Seitz <keiths@redhat.com>
2539
2540 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2541 Test "info break" for every inlined function breakpoint.
2542
2543 2017-10-27 Yao Qi <yao.qi@linaro.org>
2544
2545 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2546
2547 2017-10-26 Patrick Frants <osscontribute@gmail.com>
2548
2549 * gdb.cp/classes.exp (test_static_members): Test printing
2550 Outer::instance.
2551 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2552 (Inner::instance, Outer::instance): New.
2553
2554 2017-10-24 Pedro Alves <palves@redhat.com>
2555
2556 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2557 extra console" test in two stages.
2558
2559 2017-10-24 Pedro Alves <palves@redhat.com>
2560
2561 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2562
2563 2017-10-24 Pedro Alves <palves@redhat.com>
2564
2565 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2566 loop.
2567
2568 2017-10-24 Pedro Alves <palves@redhat.com>
2569
2570 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2571 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2572
2573 2017-10-24 Pedro Alves <palves@redhat.com>
2574
2575 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2576 parameter and handle it. Don't output read value in test name.
2577
2578 2017-10-24 Pedro Alves <palves@redhat.com>
2579
2580 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2581 custom test name.
2582
2583 2017-10-24 Pedro Alves <palves@redhat.com>
2584
2585 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2586 include the unstable output directory name in the test's name.
2587 (initial_setup_simple) <'set args'>: Use custom test name.
2588
2589 2017-10-24 Pedro Alves <palves@redhat.com>
2590
2591 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2592 with explicit test name.
2593
2594 2017-10-20 Pedro Alves <palves@redhat.com>
2595
2596 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2597 'wait -i'. Use gdb_assert and remote_close.
2598
2599 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2600
2601 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2602 number from variable rather than hard-coded.
2603
2604 2017-10-19 Pedro Alves <palves@redhat.com>
2605
2606 * gdb.base/long-inferior-output.c: New file.
2607 * gdb.base/long-inferior-output.exp: New file.
2608
2609 2017-11-18 Keith Seitz <keiths@redhat.com>
2610
2611 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2612 method.
2613 (main): Call it.
2614 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2615 Add additional user-defined conversion operator tests.
2616
2617 2017-10-17 Pedro Alves <palves@redhat.com>
2618
2619 * boards/native-stdio-gdbserver.exp: Load "local-board".
2620
2621 2017-10-17 Pedro Alves <palves@redhat.com>
2622
2623 * gdb.base/quit-live.c: New file.
2624 * gdb.base/quit-live.exp: New file.
2625
2626 2017-10-16 Keith Seitz <keiths@redhat.com>
2627
2628 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2629 (class_with_protected_typedef, class_with_private_typedef)
2630 (struct_with_public_typedef, struct_with_protected_typedef)
2631 (struct_with_private_typedef): New classes/structs.
2632 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2633 typedefs and access specifiers.
2634
2635 2017-10-16 Pedro Alves <palves@redhat.com>
2636 Simon Marchi <simon.marchi@polymtl.ca>
2637
2638 * README (Local vs Remote vs Native): New section.
2639 * boards/local-board.exp: New file, with bits factored out from
2640 ...
2641 * boards/native-extended-gdbserver.exp: ... here. Load
2642 "local-board".
2643 * boards/native-gdbserver.exp: Load "local-board".
2644 (${board}_spawn, ${board}_exec): Delete.
2645 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2646 ...
2647 * boards/stdio-gdbserver-base.exp: ... this new file.
2648 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2649 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2650 procedure.
2651 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2652 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2653 stdio_gdbserver_command.
2654 (${board}_get_remote_address, ${board}_get_comm_port)
2655 (${board}_download, ${board}_upload): Delete.
2656 (get_target_remote_pipe_cmd): New.
2657
2658 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2659
2660 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2661 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2662 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2663 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2664 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2665 remove with_test_prefix.
2666
2667 2017-10-13 Pedro Alves <palves@redhat.com>
2668
2669 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2670 * gdb.base/annota1.exp: Use it instead of is_remote.
2671 * gdb.base/annota3.exp: Use it instead of is_remote.
2672 * gdb.cp/annota2.exp: Use it instead of is_remote.
2673 * gdb.cp/annota3.exp: Use it instead of is_remote.
2674 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2675
2676 2017-10-13 Pedro Alves <palves@redhat.com>
2677
2678 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2679 (test_num_test_vars, run_and_count_vars, find_env)
2680 (test_set_unset_env, test_inherit_env_var): New procedures.
2681 (top level): Use them.
2682
2683 2017-10-13 Pedro Alves <palves@redhat.com>
2684
2685 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2686 also skip on stub-like targets.
2687
2688 2017-10-13 Pedro Alves <palves@redhat.com>
2689
2690 PR gdb/22293
2691 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2692 (top level): Move some tests to ...
2693 (test_not_found): ... this new procedure.
2694 (top level): Call it.
2695
2696 2017-10-13 Pedro Alves <palves@redhat.com>
2697
2698 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2699 expect different "info terminal" output if testing with a
2700 non-native target.
2701
2702 2017-10-13 Pedro Alves <palves@redhat.com>
2703 Simon Marchi <simon.marchi@polymtl.ca>
2704
2705 PR python/12966
2706 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2707
2708 2017-10-13 Pedro Alves <palves@redhat.com>
2709
2710 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2711 already.
2712
2713 2017-10-13 Pedro Alves <palves@redhat.com>
2714
2715 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2716 is_remote.
2717
2718 2017-10-13 Pedro Alves <palves@redhat.com>
2719
2720 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2721 is_remote.
2722
2723 2017-10-13 Pedro Alves <palves@redhat.com>
2724
2725 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2726 is set.
2727 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2728 instead of is_remote.
2729
2730 2017-10-13 Pedro Alves <palves@redhat.com>
2731
2732 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2733 (top level): Add comment.
2734
2735 2017-10-13 Pedro Alves <palves@redhat.com>
2736
2737 * gdb.base/remote.exp (top level): Fix comment typo and add
2738 missing return.
2739
2740 2017-10-13 Pedro Alves <palves@redhat.com>
2741 Simon Marchi <simon.marchi@polymtl.ca>
2742
2743 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2744 calls and add comments. Skip test if use_gdb_stub is set.
2745 (top level): Use "set cwd" command instead of "cd" command.
2746
2747 2017-10-13 Pedro Alves <palves@redhat.com>
2748
2749 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2750 is_remote target check.
2751
2752 2017-10-13 Pedro Alves <palves@redhat.com>
2753
2754 * gdb.base/scope.exp: Use build_executable + clean_restart +
2755 gdb_file_cmd instead of prepare_for_testing and no longer skip
2756 "before run" tests on is_remote target boards. Update comments.
2757 * boards/native-extended-gdbserver.exp
2758 (extended_gdbserver_load_last_file): New, factored out from ...
2759 (gdb_load): ... this. Move further below and add comment.
2760 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2761
2762 2017-10-12 Pedro Alves <palves@redhat.com>
2763
2764 * gdb.base/attach.exp: Remove references to gdb64.
2765 * gdb.base/dbx.exp: Remove references to gdb64.
2766
2767 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2768 Pedro Alves <palves@redhat.com>
2769
2770 * gdb.base/label.exp: Remove is_remote target check.
2771
2772 2017-10-12 Pedro Alves <palves@redhat.com>
2773
2774 * gdb.base/auvx.exp (coredir): Update comment.
2775 (top level) <core_works>: Use "set cwd" command instead of "cd"
2776 command.
2777
2778 2017-10-12 Pedro Alves <palves@redhat.com>
2779 Simon Marchi <simon.marchi@polymtl.ca>
2780
2781 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2782 target boards.
2783
2784 2017-10-12 Pedro Alves <palves@redhat.com>
2785 Simon Marchi <simon.marchi@polymtl.ca>
2786
2787 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2788 Instead skip if there's any gdb_protocol set.
2789
2790 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2791 Pedro Alves <palves@redhat.com>
2792
2793 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2794
2795 2017-10-12 Pedro Alves <palves@redhat.com>
2796 Simon Marchi <simon.marchi@polymtl.ca>
2797
2798 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2799 instead of on dejagnu remote boards.
2800
2801 2017-10-12 Pedro Alves <palves@redhat.com>
2802 Simon Marchi <simon.marchi@polymtl.ca>
2803
2804 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2805 checks. Use build_executable + clean_restart instead of
2806 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2807 of enabling non-stop after starting gdb.
2808
2809 2017-10-12 Pedro Alves <palves@redhat.com>
2810
2811 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2812 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2813 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2814 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2815
2816 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2817
2818 * gdb.arch/arc-tdesc-cpu.exp: New file.
2819 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2820
2821 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2822
2823 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2824
2825 2017-10-10 Pedro Alves <palves@redhat.com>
2826
2827 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2828 expect CLI output.
2829
2830 2017-10-10 Pedro Alves <palves@redhat.com>
2831
2832 * lib/selftest-support.exp (selftest_setup): Update for
2833 captured_command_loop's prototype change.
2834
2835 2017-10-09 Pedro Alves <palves@redhat.com>
2836
2837 Test both arch1=>arch2 and arch2=>arch1.
2838
2839 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2840 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2841 factored out to...
2842 (append_arch1_options, append_arch2_options, append_arch_options)
2843 (build_executables): New procedures.
2844 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2845 local.
2846 (top level): Add new 'first_arch' testing axis.
2847
2848 2017-10-09 Pedro Alves <palves@redhat.com>
2849
2850 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2851 (barrier): New.
2852 (thread_start, all_started): New functions.
2853 (main): Spawn new thread and wait until it is scheduled.
2854 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2855 option.
2856 (do_test): Add 'selected_thread' parameter. Run to all_started
2857 instead of main. Explicitly set the breakpoint at main. Switch
2858 to the SELECTED_THREAD thread.
2859 (top level): Test handling the exec event with either the main
2860 thread or the second thread selected.
2861
2862 2017-10-09 Pedro Alves <palves@redhat.com>
2863
2864 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2865 logic. Move STOP marker after the value checks.
2866 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2867 regexp.
2868
2869 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2870
2871 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2872
2873 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2874
2875 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2876 integer-to-dfp conversion.
2877 * gdb.base/dfp-test.exp: Likewise.
2878
2879 2017-10-04 Pedro Alves <palves@redhat.com>
2880
2881 * gdb.multi/hangout.c: Include <unistd.h>.
2882 (hangout_loop): New function.
2883 (main): Call alarm. Call hangout_loop in a loop.
2884 * gdb.multi/hello.c: Include <unistd.h>.
2885 (hello_loop): New function.
2886 (main): Call alarm. Call hangout_loop in a loop.
2887 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2888 inferior with the other selected.
2889
2890 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2891
2892 * gdb.mi/list-thread-groups-available.exp: New file.
2893 * gdb.mi/list-thread-groups-available.c: New file.
2894
2895 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2896
2897 * gdb.base/set-cwd.exp: Make it available on
2898 native-extended-gdbserver.
2899
2900 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2901
2902 * gdb.base/set-cwd.c: New file.
2903 * gdb.base/set-cwd.exp: Likewise.
2904
2905 2017-10-02 Tom Tromey <tom@tromey.com>
2906
2907 PR rust/22236:
2908 * gdb.rust/simple.rs (main): New variable "fslice".
2909 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2910
2911 2017-10-02 Tom Tromey <tom@tromey.com>
2912
2913 * gdb.rust/simple.exp: Test ptype of a slice.
2914
2915 2017-10-02 Tom Tromey <tom@tromey.com>
2916
2917 * gdb.rust/simple.exp: Test index of slice.
2918
2919 2017-09-27 Tom Tromey <tom@tromey.com>
2920
2921 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2922
2923 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2924 Pedro Alves <palves@redhat.com>
2925
2926 * gdb.base/compare-sections.exp (get value of read-only section): Read
2927 as unsigned value.
2928 (corrupt read-only section): Likewise and don't set written if patching
2929 failed.
2930
2931 2017-09-21 Kevin Buettner <kevinb@redhat.com>
2932
2933 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2934 files.
2935
2936 2017-09-20 Pedro Alves <palves@redhat.com>
2937
2938 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2939 symbol names in gdb's output.
2940 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2941
2942 2017-09-20 Pedro Alves <palves@redhat.com>
2943
2944 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2945 Rename to ...
2946 (test_list_ambiguous_symbol): ... this and add a symbol name
2947 parameter. Adjust.
2948 (test_list_ambiguous_function): Reimplement on top of
2949 test_list_ambiguous_symbol and also test listing ambiguous
2950 variables.
2951 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2952 (ambiguous_fun): ... this.
2953 (ambiguous_var): New.
2954 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2955 (ambiguous_fun): ... this.
2956 (ambiguous_var): New.
2957
2958 2017-09-19 John Baldwin <jhb@FreeBSD.org>
2959
2960 * gdb.base/starti.c: New file.
2961 * gdb.base/starti.exp: New file.
2962 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2963
2964 2017-09-14 Pedro Alves <palves@redhat.com>
2965
2966 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2967 (top level): Use it instead of runto.
2968
2969 2017-09-11 Tom Tromey <tom@tromey.com>
2970
2971 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2972
2973 2017-09-11 Tom Tromey <tom@tromey.com>
2974
2975 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2976 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2977
2978 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2979
2980 * gdb.fortran/printing-types.exp: New file.
2981 * gdb.fortran/printing-types.exp: New file.
2982
2983 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2984
2985 * gdb.fortran/vla-ptype.exp: Fix typos.
2986 * gdb.fortran/vla-value.exp: Same.
2987
2988 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2989
2990 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2991 * gdb.mi/mi-var-child-f.exp: Likewise.
2992 * gdb.mi/mi-vla-fortran.exp: Likewise.
2993
2994 2017-09-08 Frank Penczek <frank.penczek@intel.com>
2995 Christoph Weinmann <christoph.t.weinmann@intel.com>
2996 Bernhard Heckel <bernhard.heckel@intel.com>
2997
2998 * gdb.fortran/ptr-indentation.f90: New file.
2999 * gdb.fortran/ptr-indentation.exp: New file.
3000
3001 2017-09-05 Tom Tromey <tom@tromey.com>
3002
3003 PR gdb/22010:
3004 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3005
3006 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3007
3008 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3009
3010 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3011
3012 * gdb.threads/tls-nodebug-pie.c: New file.
3013 * gdb.threads/tls-nodebug-pie.exp: New file.
3014
3015 2017-09-05 Tom Tromey <tom@tromey.com>
3016
3017 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3018 for rust.
3019
3020 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
3021
3022 * gdb.multi/multi-arch-exec.exp: Test with different
3023 "follow-exec-mode" settings.
3024 (do_test): New procedure.
3025
3026 2017-09-04 Pedro Alves <palves@redhat.com>
3027
3028 * gdb.base/func-static.c (S::method const, S::method volatile)
3029 (S::method volatile const): New methods.
3030 (c_s, v_s, cv_s): New instances.
3031 (main): Call method() on them.
3032 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3033 (cannot_resolve): New procedure.
3034 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
3035 print-quote-unquoted columns.
3036 (do_test): Test printing each scope too.
3037
3038 2017-09-04 Pedro Alves <palves@redhat.com>
3039
3040 * gdb.base/local-static.exp: Also test with
3041 class::method::variable wholly quoted.
3042 * gdb.cp/m-static.exp (class::method::variable): Remove test.
3043
3044 2017-09-04 Pedro Alves <palves@redhat.com>
3045
3046 * gdb.base/local-static.c: New.
3047 * gdb.base/local-static.cc: New.
3048 * gdb.base/local-static.exp: New.
3049
3050 2017-09-04 Pedro Alves <palves@redhat.com>
3051
3052 * gdb.asm/asm-source.exp: Add casts to int.
3053 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3054 (dataglobal64_1, dataglobal64_2): New globals.
3055 * gdb.base/nodebug.exp: Test different expressions involving the
3056 new globals, with print, whatis and ptype. Add casts to int.
3057 * gdb.base/solib-display.exp: Add casts to int.
3058 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
3059 * gdb.cp/m-static.exp: Add cast to int.
3060 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3061 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3062 tls variable with no debug info without a cast. Test with a cast
3063 to int too.
3064 * gdb.trace/entry-values.exp: Add casts.
3065
3066 2017-09-04 Pedro Alves <palves@redhat.com>
3067
3068 * gdb.base/nodebug.exp: Test that ptype's error about functions
3069 with unknown return type includes the function name too.
3070
3071 2017-09-04 Pedro Alves <palves@redhat.com>
3072
3073 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3074 return type of munmap in infcall.
3075 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3076 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
3077 type of ftell in infcall.
3078 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3079 type of getpid in infcall.
3080 * gdb.base/infcall-exec.exp: Cast return type of execlp in
3081 infcall.
3082 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3083 Bail on failure to extract the pid.
3084 * gdb.base/nodebug.c: #include <stdint.h>.
3085 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3086 New functions.
3087 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3088 Change expected output of print/whatis/ptype with functions with
3089 no debug info. Test all supported languages. Call
3090 test_call_promotion.
3091 * gdb.compile/compile.exp: Adjust expected output to expect
3092 warning.
3093 * gdb.threads/siginfo-threads.exp: Likewise.
3094
3095 2017-09-04 Pedro Alves <palves@redhat.com>
3096
3097 * gdb.base/callfuncs.exp (do_function_calls): New parameter
3098 "prototypes". Test calling float functions via prototyped and
3099 unprototyped function pointers.
3100 (perform_all_tests): New parameter "prototypes". Pass it down.
3101 (top level): Pass down "prototypes" parameter to
3102 perform_all_tests.
3103
3104 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3105
3106 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3107 Test with nested loops.
3108
3109 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3110
3111 * gdb.base/commands.exp: Call the new procedures.
3112 (loop_break_test, loop_continue_test): New procedures.
3113
3114 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3115
3116 * gdb.base/commands.exp: Call new procedure.
3117 (define_if_without_arg_test): New procedure.
3118
3119 2017-09-04 Pedro Alves <palves@redhat.com>
3120
3121 * gdb.base/list-ambiguous.exp: New file.
3122 * gdb.base/list-ambiguous0.c: New file.
3123 * gdb.base/list-ambiguous1.c: New file.
3124 * gdb.base/list.exp (test_list_range): Adjust expected output.
3125
3126 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
3127
3128 * gdb.base/share-env-with-gdbserver.c: New file.
3129 * gdb.base/share-env-with-gdbserver.exp: Likewise.
3130
3131 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3132
3133 * gdb.base/commands.exp (gdbvar_simple_if_test,
3134 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3135 progvar_simple_if_test, progvar_simple_while_test,
3136 progvar_complex_if_while_test, user_defined_command_test,
3137 user_defined_command_args_eval,
3138 user_defined_command_args_stack_test,
3139 user_defined_command_manyargs_test, bp_deleted_in_command_test,
3140 temporary_breakpoint_commands,
3141 gdb_test_no_prompt, redefine_hook_test,
3142 redefine_backtrace_test): Remove "global gdb_prompt".
3143
3144 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3145
3146 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3147 New proc, call it from toplevel.
3148
3149 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
3150
3151 PR remote/21852
3152 * gdb.server/normal.c: New file, copied from gdb.base.
3153 * gdb.server/run-without-local-binary.exp: New file.
3154
3155 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
3156
3157 * gdb.arch/sparc64-adi.exp: New file.
3158 * gdb.arch/sparc64-adi.c: New file.
3159
3160 2017-08-22 Pedro Alves <palves@redhat.com>
3161
3162 * gdb.cp/overload.exp (line_range_pattern): New procedure.
3163 (top level): Add "list all overloads" tests.
3164
3165 2017-08-22 Tom Tromey <tom@tromey.com>
3166
3167 * gdb.gdb/xfullpath.exp: Remove.
3168
3169 2017-08-21 Pedro Alves <palves@redhat.com>
3170
3171 PR gdb/19487
3172 * gdb.base/symbol-alias.c: New.
3173 * gdb.base/symbol-alias2.c: New.
3174 * gdb.base/symbol-alias.exp: New.
3175
3176 2017-08-21 Pedro Alves <palves@redhat.com>
3177
3178 * gdb.base/dfp-test.c
3179 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3180 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3181 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3182 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3183 * gdb.base/whatis-ptype-typedefs.c: New.
3184 * gdb.base/whatis-ptype-typedefs.exp: New.
3185 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3186 (an_int, an_int_type, an_int_type2): New globals.
3187 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3188 involving typedefs and cast expressions.
3189 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3190 (lookup_typedefs_function): New.
3191 (typedefs_pretty_printers_dict): New.
3192 (top level): Register lookup_typedefs_function in
3193 gdb.pretty_printers.
3194
3195 2017-08-18 Yao Qi <yao.qi@linaro.org>
3196
3197 * gdb.server/unittest.exp: New.
3198
3199 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
3200
3201 PR gdb/21954
3202 * gdb.base/environ.exp: Add test to check if 'unset environment'
3203 works.
3204
3205 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3206
3207 * lib/gdb.exp (universal_compile_options): New caching proc.
3208 (gdb_compile): Suppress GCC's coloring of messages.
3209
3210 2017-08-14 Tom Tromey <tom@tromey.com>
3211
3212 PR gdb/21675:
3213 * gdb.base/printcmds.exp (test_radices): New function.
3214 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3215 * gdb.base/sizeof.exp (check_valueof): Use p/d.
3216 * lib/gdb.exp (get_integer_valueof): Use p/d.
3217
3218 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
3219
3220 * lib/gdb.exp (get_valueof): Don't capture end-of-line
3221 characters.
3222
3223 2017-08-05 Tom Tromey <tom@tromey.com>
3224
3225 * gdb.rust/simple.exp: Allow String to appear in a different
3226 namespace.
3227
3228 2017-07-26 Yao Qi <yao.qi@linaro.org>
3229
3230 * gdb.gdb/unittest.exp: Invoke command
3231 "maintenance check xml-descriptions".
3232
3233 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3234
3235 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3236 calling context.
3237 (hex128): Drop erroneous calculation of parameters.
3238
3239 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
3240
3241 * gdb.python/py-unwind.exp: Disable stack protection when
3242 building test file.
3243
3244 2017-07-20 Pedro Alves <palves@redhat.com>
3245
3246 * gdb.base/default.exp (set language): Adjust expected output.
3247
3248 2017-07-20 Pedro Alves <palves@redhat.com>
3249
3250 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3251 (test_minsym): ... this, and make static.
3252 (get_pck__foo__bar__minsym): Rename to ...
3253 (get_test_minsym): ... this.
3254 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
3255 symbol names and comments.
3256 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3257 (get_test_minsym): ... this.
3258 (pck__foo__bar__minsym__2): Rename to ...
3259 (test_minsym): ... this.
3260 (main): Adjust.
3261
3262 2017-07-17 Pedro Alves <palves@redhat.com>
3263
3264 * gdb.base/completion.exp: Adjust expected output.
3265 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3266 the completer works.
3267
3268 2017-07-17 Pedro Alves <palves@redhat.com>
3269
3270 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3271
3272 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3273
3274 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3275
3276 2017-07-14 Tom Tromey <tom@tromey.com>
3277
3278 PR rust/21764:
3279 * gdb.rust/simple.exp: Add tests.
3280
3281 2017-07-14 Tom Tromey <tom@tromey.com>
3282
3283 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3284
3285 2017-07-14 Pedro Alves <palves@redhat.com>
3286
3287 * gdb.linespec/base/one/thefile.cc (z1): New function.
3288 * gdb.linespec/base/two/thefile.cc (z2): New function.
3289 * gdb.linespec/linespec.exp: Add tests.
3290
3291 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3292
3293 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3294 to mi_create_breakpoint.
3295
3296 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3297
3298 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3299 mi_create_breakpoint.
3300
3301 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
3302
3303 * gdb.dlang/demangle.exp: Update for demangling changes.
3304
3305 2017-07-09 Tom Tromey <tom@tromey.com>
3306
3307 * gdb.dwarf2/shortpiece.exp: New file.
3308
3309 2017-07-06 David Blaikie <dblaikie@gmail.com>
3310
3311 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3312 built from fissiont-multi-cu{1,2}.c.
3313 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3314 except putting 'main' and 'func' in separate CUs in the same DWO file.
3315 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3316 test.
3317 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3318 test.
3319
3320 2017-07-06 Pedro Alves <palves@redhat.com>
3321
3322 * gdb.python/py-unwind.exp: Test flushregs.
3323
3324 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3325
3326 PR cli/21688
3327 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3328 tests for alias commands and trailing whitespace.
3329
3330 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3331
3332 PR cli/21688
3333 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3334 procedure. Call it.
3335
3336 2017-06-29 Pedro Alves <palves@redhat.com>
3337
3338 * gdb.base/printcmds.exp: Add tests.
3339
3340 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
3341
3342 PR gdb/21337
3343 * gdb.base/reread-readsym.exp: New file.
3344 * gdb.base/reread-readsym.c: New file.
3345
3346 2017-06-21 Kevin Buettner <kevinb@redhat.com>
3347
3348 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3349 subpattern.
3350
3351 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
3352
3353 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3354 extended mnemonic.
3355 * gdb.arch/powerpc-power9.s: Likewise.
3356
3357 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3358
3359 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3360 on 32-bit x86 targets. Exploit is_*_target macros where
3361 appropriate.
3362
3363 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3364
3365 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3366 register pieces.
3367
3368 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3369
3370 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3371 located in one or more DWARF pieces.
3372
3373 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3374
3375 * lib/gdb.exp (get_endianness): New proc.
3376 * gdb.arch/aarch64-fp.exp: Use it.
3377 * gdb.arch/altivec-regs.exp: Likewise.
3378 * gdb.arch/e500-regs.exp: Likewise.
3379 * gdb.arch/vsx-regs.exp: Likewise.
3380 * gdb.base/dump.exp: Likewise.
3381 * gdb.base/funcargs.exp: Likewise.
3382 * gdb.base/gnu_vector.exp: Likewise.
3383 * gdb.dwarf2/formdata16.exp: Likewise.
3384 * gdb.dwarf2/implptrpiece.exp: Likewise.
3385 * gdb.dwarf2/nonvar-access.exp: Likewise.
3386 * gdb.python/py-inferior.exp: Likewise.
3387 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3388
3389 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3390
3391 PR gdb/21226
3392 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3393 stack value pieces are taken from the LSB end.
3394
3395 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3396
3397 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3398 variable at nonzero offset.
3399
3400 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3401
3402 * gdb.dwarf2/var-access.c: New file.
3403 * gdb.dwarf2/var-access.exp: New test.
3404 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3405
3406 2017-06-12 Tom Tromey <tom@tromey.com>
3407
3408 * gdb.dwarf2/formdata16.exp: Add tests.
3409
3410 2017-06-12 Tom Tromey <tom@tromey.com>
3411
3412 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3413
3414 2017-06-12 Tom Tromey <tom@tromey.com>
3415
3416 PR exp/16225:
3417 * gdb.reverse/i386-sse-reverse.exp: Update tests.
3418 * gdb.arch/vsx-regs.exp: Update tests.
3419 * gdb.arch/s390-vregs.exp (hex128): New proc.
3420 Update test.
3421 * gdb.arch/altivec-regs.exp: Update tests.
3422
3423 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3424
3425 * gdb.base/startup-with-shell.c: New file.
3426 * gdb.base/startup-with-shell.exp: Likewise.
3427
3428 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3429
3430 * gdb.server/non-existing-program.exp: Update regex in order to
3431 reflect the fact that gdbserver is now using fork_inferior (with a
3432 shell) to startup the inferior.
3433
3434 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
3435
3436 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3437 support function calls from GDB.
3438
3439 2017-05-21 Tom Tromey <tom@tromey.com>
3440
3441 PR rust/21466:
3442 * gdb.rust/unsized.exp: New file.
3443 * gdb.rust/unsized.rs: New file.
3444
3445 2017-05-19 Tom Tromey <tom@tromey.com>
3446
3447 PR rust/21484:
3448 * gdb.rust/watch.exp: New file.
3449 * gdb.rust/watch.rs: New file.
3450
3451 2017-05-18 Tom Tromey <tom@tromey.com>
3452
3453 * gdb.rust/simple.exp: Allow Box to be qualified.
3454
3455 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3456
3457 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3458
3459 2017-05-18 Pedro Alves <palves@redhat.com>
3460
3461 * gdb.base/fileio.c (test_write, test_read, test_close)
3462 (test_fstat): Don't print 'ret' in the fail path.
3463
3464 2017-05-18 Pedro Alves <palves@redhat.com>
3465
3466 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3467 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3468 (test_system, test_rename, test_unlink, test_time): Change
3469 prototypes.
3470 * gdb.base/fileio.exp (stop_msg): Adjust.
3471
3472 2017-05-18 Pedro Alves <palves@redhat.com>
3473
3474 * gdb.base/fileio.c (null_str): New global.
3475 (test_stat): Use it.
3476 * gdb.base/fileio.exp: Remove nowarnings.
3477
3478 2017-05-17 Yao Qi <yao.qi@linaro.org>
3479
3480 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3481
3482 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
3483
3484 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3485 argument command.
3486 (top-level): Invoke test_set_inferior_tty.
3487
3488 2017-05-04 Pedro Alves <palves@redhat.com>
3489
3490 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3491 Add parens to print call for Python 3.
3492
3493 2017-05-03 Keith Seitz <keiths@redhat.com>
3494
3495 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3496 (main): Call it.
3497
3498 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3499
3500 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3501 to prev and next.
3502
3503 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3504
3505 * gdb.python/py-record-btrace.exp: Remove test for
3506 gdb.BtraceInstruction.error.
3507
3508 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3509
3510 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3511
3512 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3513
3514 * gdb.python/py-record-btrace-threads.c: New file.
3515 * gdb.python/py-record-btrace-threads.exp: New file.
3516
3517 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3518
3519 PR testsuite/8595
3520 * gdb.base/environ.exp: Make test available in all architectures.
3521 Move bits related to "info program" testing to
3522 gdb.base/info-program.exp. Rewrite tests to use the two new
3523 procedures mentione below.
3524 (test_set_show_env_var) New procedure.
3525 (test_set_show_env_var_equal): Likewise.
3526 * gdb.base/info-program.exp: New file.
3527
3528 2017-04-27 Keith Seitz <keiths@redhat.com>
3529
3530 * gdb.cp/oranking.cc (test15): New function.
3531 (main): Call test15 and declare additional variables for testing.
3532 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3533 "p foo101('abc')" tests.
3534 Add tests for cv qualifier overloads.
3535 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3536 "lvalue reference overload" test.
3537 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3538 "print value of f1 on Child&& in f2" test.
3539
3540 2017-04-19 Pedro Alves <palves@redhat.com>
3541
3542 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3543 procedure.
3544 (top level): Call it.
3545 * lib/gdb.exp (gdb_define_cmd): New procedure.
3546
3547 2017-04-12 Pedro Alves <palves@redhat.com>
3548
3549 PR gdb/21323
3550 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3551 (wchar): New global.
3552 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3553 (do_test_wide_char, wide_char_types_no_program, top level): Add
3554 wchar_t testing.
3555
3556 2017-04-12 Pedro Alves <palves@redhat.com>
3557
3558 PR c++/21323
3559 * gdb.cp/wide_char_types.c: New file.
3560 * gdb.cp/wide_char_types.exp: New file.
3561
3562 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3563
3564 PR gdb/21352
3565 * gdb.trace/tsv.exp: Add test for "tsave -r".
3566
3567 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3568
3569 * gdb.dlang/watch-loc.c: New file.
3570 * gdb.dlang/watch-loc.exp: New file.
3571
3572 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3573
3574 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3575
3576 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3577
3578 * gdb.arch/arc-analyze-prologue.S: New file.
3579 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3580
3581 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3582
3583 * gdb.arch/arc-decode-insn.S: New file.
3584 * gdb.arch/arc-decode-insn.exp: Likewise.
3585
3586 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3587
3588 PR tdep/20928
3589 * gdb.arch/sparc64-regs.exp: New file.
3590 * gdb.arch/sparc64-regs.S: Likewise.
3591
3592 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3593
3594 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3595 and memory view on Python 3.
3596
3597 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
3598 Keith Seitz <keiths@redhat.com>
3599
3600 PR gdb/14441
3601 * gdb.cp/demangle.exp: Add rvalue reference tests.
3602 * gdb.cp/rvalue-ref-casts.cc: New file.
3603 * gdb.cp/rvalue-ref-casts.exp: New file.
3604 * gdb.cp/rvalue-ref-overload.cc: New file.
3605 * gdb.cp/rvalue-ref-overload.exp: New file.
3606 * gdb.cp/rvalue-ref-params.cc: New file.
3607 * gdb.cp/rvalue-ref-params.exp: New file.
3608 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3609 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3610 * gdb.cp/rvalue-ref-types.cc: New file.
3611 * gdb.cp/rvalue-ref-types.exp: New file.
3612 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3613 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3614
3615 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3616
3617 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3618 New procedure.
3619
3620 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3621
3622 * lib/mi-support.exp (mi_gdb_test): Add additional message
3623 for unexpected output.
3624
3625 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3626
3627 * gdb.base/examine-backward.c (Barrier): New character array
3628 constant, to ensure that TestStrings is preceded by a string
3629 terminator.
3630
3631 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3632
3633 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3634 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3635 and implicit pointer into such a location.
3636
3637 2017-03-16 Doug Evans <dje@google.com>
3638
3639 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3640
3641 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3642
3643 * gdb.cp/m-static.exp: Fix expectation for prototype of
3644 test5.single_constructor and single_constructor::single_constructor.
3645
3646 2017-03-16 Doug Evans <dje@google.com>
3647
3648 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3649 * gdb.guile/scm-lazy-string.c: New file.
3650 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3651 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3652 for pointer, array, typedef lazy strings.
3653
3654 2017-03-16 Doug Evans <dje@google.com>
3655
3656 PR python/17728, python/18439, python/18779
3657 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3658 * gdb.python/py-lazy-string.c (pointer): New typedef.
3659 (main): New locals ptr, array, typedef_ptr.
3660 * gdb.python/py-value.exp: Move lazy string tests to ...
3661 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3662 array, typedef lazy strings.
3663
3664 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3665
3666 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3667 Add optional 'test' parameter.
3668
3669 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3670
3671 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3672 Skip for versions of DejaGnu < 1.5.
3673
3674 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3675
3676 * lib/gdb.exp (dejagnu_version): New proc.
3677 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3678 Use dejagnu_version.
3679
3680 2017-03-10 Keith Seitz <keiths@redhat.com>
3681
3682 PR c++/8128
3683 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3684 type from destructor regexps.
3685 Add a branch which actually passes the test.
3686 Adjust "ptype t5i" test names.
3687
3688 2017-03-08 Pedro Alves <palves@redhat.com>
3689
3690 * gdb.base/step-over-exit.exp: Add explicit test message.
3691
3692 2017-03-08 Pedro Alves <palves@redhat.com>
3693
3694 PR gdb/18360
3695 * gdb.threads/interrupt-while-step-over.c: New file.
3696 * gdb.threads/interrupt-while-step-over.exp: New file.
3697
3698 2017-03-08 Pedro Alves <palves@redhat.com>
3699
3700 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3701 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3702
3703 2017-03-08 Pedro Alves <palves@redhat.com>
3704
3705 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3706 PKRU as not supported as a PASS.
3707
3708 2017-03-08 Pedro Alves <palves@redhat.com>
3709
3710 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3711 prefix instead of $binfile1/$binfile2.
3712 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3713 in test message.
3714 * gdb.python/py-completion.exp: Use "load python file" as test
3715 messages instead of unstable path names.
3716
3717 2017-03-08 Pedro Alves <palves@redhat.com>
3718 Jan Kratochvil <jan.kratochvil@redhat.com>
3719
3720 PR cli/21218
3721 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3722 New proc.
3723 (top level): Call it.
3724
3725 2017-03-08 Pedro Alves <palves@redhat.com>
3726
3727 PR tui/21216
3728 * gdb.tui/tui-nl-filtered-output.exp: New file.
3729
3730 2017-03-08 Pedro Alves <palves@redhat.com>
3731
3732 * gdb.base/completion.exp: Move TUI completion tests to ...
3733 * gdb.tui/completion.exp: ... this new file.
3734
3735 2017-03-08 Pedro Alves <palves@redhat.com>
3736
3737 * gdb.base/tui-disasm-long-lines.c,
3738 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3739 gdb.base/tui-layout.exp: Move to ...
3740 * gdb.tui/: ... this new directory.
3741
3742 2017-03-07 Pedro Alves <palves@redhat.com>
3743
3744 * gdb.base/tui-layout.c: New file.
3745 * gdb.base/tui-layout.exp: New file.
3746
3747 2017-03-07 Pedro Alves <palves@redhat.com>
3748
3749 * gdb.base/tui-layout.c: Rename to ...
3750 * gdb.base/tui-disasm-long-lines.c: ... this.
3751 * gdb.base/tui-layout.exp: Rename to ...
3752 * gdb.base/tui-disasm-long-lines.exp: ... this.
3753
3754 2017-03-07 Pedro Alves <palves@redhat.com>
3755
3756 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3757
3758 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3759
3760 * i386-mpx-call.c: New file.
3761 * i386-mpx-call.exp: New file.
3762
3763 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3764
3765 * gdb.arch/powerpc-power.exp: Delete test.
3766 * gdb.arch/powerpc-power.s: Likewise.
3767 * gdb.disasm/disassembler-options.exp: New test.
3768 * gdb.arch/powerpc-altivec.exp: Likewise.
3769 * gdb.arch/powerpc-altivec.s: Likewise.
3770 * gdb.arch/powerpc-altivec2.exp: Likewise.
3771 * gdb.arch/powerpc-altivec2.s: Likewise.
3772 * gdb.arch/powerpc-altivec3.exp: Likewise.
3773 * gdb.arch/powerpc-altivec3.s: Likewise.
3774 * gdb.arch/powerpc-power7.exp: Likewise.
3775 * gdb.arch/powerpc-power7.s: Likewise.
3776 * gdb.arch/powerpc-power8.exp: Likewise.
3777 * gdb.arch/powerpc-power8.s: Likewise.
3778 * gdb.arch/powerpc-power9.exp: Likewise.
3779 * gdb.arch/powerpc-power9.s: Likewise.
3780 * gdb.arch/powerpc-vsx.exp: Likewise.
3781 * gdb.arch/powerpc-vsx.s: Likewise.
3782 * gdb.arch/powerpc-vsx2.exp: Likewise.
3783 * gdb.arch/powerpc-vsx2.s: Likewise.
3784 * gdb.arch/powerpc-vsx3.exp: Likewise.
3785 * gdb.arch/powerpc-vsx3.s: Likewise.
3786 * gdb.arch/arm-disassembler-options.exp: Likewise.
3787 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3788 * gdb.arch/s390-disassembler-options.exp: Likewise.
3789
3790 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
3791
3792 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3793 (check_supported_features): ... this. Changed return type to void.
3794 (supports_rdseed): New static global.
3795 (rdseed): Check supports_rdseed.
3796 (initialize): Call check_supported_features.
3797
3798 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3799
3800 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3801 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3802 and lqarx/stqcx.
3803 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3804 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3805
3806 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3807
3808 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3809 uppercase.
3810
3811 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3812
3813 * gdb.dwarf2/formdata16.c: New file.
3814 * gdb.dwarf2/formdata16.exp: New file.
3815 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3816
3817 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3818
3819 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3820 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3821 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3822 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3823 DW_AT_GNU_*.
3824
3825 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3826
3827 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3828
3829 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3830
3831 PR gdb/21164
3832 * gdb.base/maint.exp: Add testcases for when the commands do
3833 not have arguments.
3834
3835 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3836
3837 * gdb.cp/chained-calls.exp: Use p instead of P.
3838
3839 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3840
3841 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3842 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3843
3844 2017-02-14 Tom Tromey <tom@tromey.com>
3845
3846 PR python/13598:
3847 * gdb.python/py-events.exp: Add before_prompt event tests.
3848
3849 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3850
3851 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3852
3853 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3854
3855 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3856 (main): Call my_unique_function_name.
3857 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3858 completion of patterns with a single match.
3859 Add missing -re switches to gdb_test_multiple calls.
3860
3861 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3862
3863 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3864 return if core file is not recognized.
3865
3866 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3867
3868 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3869 and extra UIs.
3870
3871 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3872
3873 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3874 proc_with_prefix.
3875
3876 2017-02-10 Tom Tromey <tom@tromey.com>
3877
3878 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3879
3880 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
3881
3882 PR gdb/21122
3883 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3884
3885 2017-02-08 Jerome Guitton <guitton@adacore.com>
3886
3887 * gdb.base/define.exp: Add test for command abbreviations
3888 in define.
3889
3890 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
3891
3892 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3893 * gdb.reverse/insn-reverse-x86.c: New file.
3894
3895 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3896
3897 PR tdep/20936
3898 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3899
3900 2017-02-03 Tom Tromey <tom@tromey.com>
3901
3902 PR rust/21097:
3903 * gdb.rust/simple.exp: Add new tests.
3904
3905 2017-02-02 Pedro Alves <palves@redhat.com>
3906
3907 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3908 tests.
3909
3910 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3911
3912 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3913 taking a 2-byte value out of a 4-byte DWARF implicit value on
3914 big-endian targets.
3915 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3916 logic. Add test cases for DW_OP_implicit.
3917
3918 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3919
3920 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3921
3922 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3923
3924 * gdb.btrace/enable.exp: Call gdb_exit before
3925 skip_gdbserver_tests.
3926
3927 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3928
3929 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3930 GDBFLAGS.
3931
3932 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3933
3934 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3935 the test is skipped.
3936 * gdb.btrace/data.exp: Likewise.
3937 * gdb.btrace/delta.exp: Likewise.
3938 * gdb.btrace/dlopen.exp: Likewise.
3939 * gdb.btrace/enable-running.exp: Likewise.
3940 * gdb.btrace/enable.exp: Likewise.
3941 * gdb.btrace/exception.exp: Likewise.
3942 * gdb.btrace/function_call_history.exp: Likewise.
3943 * gdb.btrace/gcore.exp: Likewise.
3944 * gdb.btrace/instruction_history.exp: Likewise.
3945 * gdb.btrace/multi-thread-step.exp: Likewise.
3946 * gdb.btrace/nohist.exp: Likewise.
3947 * gdb.btrace/non-stop.exp: Likewise.
3948 * gdb.btrace/reconnect.exp: Likewise.
3949 * gdb.btrace/record_goto-step.exp: Likewise.
3950 * gdb.btrace/record_goto.exp: Likewise.
3951 * gdb.btrace/rn-dl-bind.exp: Likewise.
3952 * gdb.btrace/segv.exp: Likewise.
3953 * gdb.btrace/step.exp: Likewise.
3954 * gdb.btrace/stepi.exp: Likewise.
3955 * gdb.btrace/tailcall-only.exp: Likewise.
3956 * gdb.btrace/tailcall.exp: Likewise.
3957 * gdb.btrace/tsx.exp: Likewise.
3958 * gdb.btrace/unknown_functions.exp: Likewise.
3959 * gdb.btrace/vdso.exp: Likewise.
3960
3961 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3962
3963 * gdb.btrace/enable-running.c: New.
3964 * gdb.btrace/enable-running.exp: New.
3965
3966 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3967
3968 * gdb.arch/amd64-gs_base.c: New file.
3969 * gdb.arch/amd64-gs_base.exp: New file.
3970
3971 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3972
3973 * lib/memory.exp: Remove spurious empty newlines.
3974
3975 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3976
3977 * gdb.python/py-bad-printers.exp: Load python file using "source".
3978 * gdb.python/py-events.exp: Likewise.
3979 * gdb.python/py-evsignal.exp: Likewise.
3980 * gdb.python/py-evthreads.exp: Likewise.
3981 * gdb.python/py-frame-args.exp: Likewise.
3982 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3983 * gdb.python/py-framefilter-mi.exp: Likewise.
3984 * gdb.python/py-framefilter.exp: Likewise.
3985 * gdb.python/py-mi.exp: Likewise.
3986 * gdb.python/py-pp-maint.exp: Likewise.
3987 * gdb.python/py-pp-registration.exp: Likewise.
3988 * gdb.python/py-prettyprint.exp: Likewise.
3989 (run_lang_tests): Likewise.
3990 * gdb.python/py-typeprint.exp: Likewise.
3991
3992 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3993
3994 * lib/memory.exp: New file.
3995 * lib/gdb.exp: Load memory.exp.
3996 * gdb.base/memattr.exp (delete_memory): Move proc to
3997 lib/memory.exp and rename to delete_memory_regions.
3998 Replace delete_memory with delete_memory_regions.
3999 Cleanup memory regions before tests.
4000 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4001 before tests.
4002
4003 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4004
4005 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4006 files.
4007 (initialize): New function conditionally defined.
4008 (testcases): Move within conditional block.
4009 (main): Call initialize.
4010 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4011 of gdb.reverse/insn-reverse.c.
4012 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4013 gdb.reverse/insn-reverse.c.
4014
4015 2017-01-26 Yao Qi <yao.qi@linaro.org>
4016
4017 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4018 disassemble on address 0.
4019
4020 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
4021 Yao Qi <yao.qi@linaro.org>
4022
4023 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4024 * gdb.dwarf2/implptr-64bit.S: Remove.
4025 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
4026 variables in caller's context. Add DW_OP_implicit_value.
4027
4028 2017-01-25 Yao Qi <yao.qi@linaro.org>
4029
4030 * lib/dwarf.exp (Dwarf::_location): Handle
4031 DW_OP_GNU_implicit_pointer with proper size.
4032
4033 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4034
4035 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4036 and add untested calls.
4037
4038 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4039
4040 * gdb.python/python.exp: Check line number against what GDB thinks
4041 the line number is for func1.
4042
4043 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
4044
4045 * gdb.dlang/debug-expr.exp: New file.
4046
4047 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
4048
4049 Fix test names for the following files:
4050
4051 * gdb.ada/exec_changed.exp
4052 * gdb.ada/info_types.exp
4053 * gdb.arch/aarch64-atomic-inst.exp
4054 * gdb.arch/aarch64-fp.exp
4055 * gdb.arch/altivec-abi.exp
4056 * gdb.arch/altivec-regs.exp
4057 * gdb.arch/amd64-byte.exp
4058 * gdb.arch/amd64-disp-step.exp
4059 * gdb.arch/amd64-dword.exp
4060 * gdb.arch/amd64-entry-value-inline.exp
4061 * gdb.arch/amd64-entry-value-param.exp
4062 * gdb.arch/amd64-entry-value-paramref.exp
4063 * gdb.arch/amd64-entry-value.exp
4064 * gdb.arch/amd64-i386-address.exp
4065 * gdb.arch/amd64-invalid-stack-middle.exp
4066 * gdb.arch/amd64-invalid-stack-top.exp
4067 * gdb.arch/amd64-optimout-repeat.exp
4068 * gdb.arch/amd64-prologue-skip.exp
4069 * gdb.arch/amd64-prologue-xmm.exp
4070 * gdb.arch/amd64-stap-special-operands.exp
4071 * gdb.arch/amd64-stap-wrong-subexp.exp
4072 * gdb.arch/amd64-tailcall-cxx.exp
4073 * gdb.arch/amd64-tailcall-noret.exp
4074 * gdb.arch/amd64-tailcall-ret.exp
4075 * gdb.arch/amd64-tailcall-self.exp
4076 * gdb.arch/amd64-word.exp
4077 * gdb.arch/arm-bl-branch-dest.exp
4078 * gdb.arch/arm-disp-step.exp
4079 * gdb.arch/arm-neon.exp
4080 * gdb.arch/arm-single-step-kernel-helper.exp
4081 * gdb.arch/avr-flash-qualifier.exp
4082 * gdb.arch/disp-step-insn-reloc.exp
4083 * gdb.arch/e500-abi.exp
4084 * gdb.arch/e500-regs.exp
4085 * gdb.arch/ftrace-insn-reloc.exp
4086 * gdb.arch/i386-avx512.exp
4087 * gdb.arch/i386-bp_permanent.exp
4088 * gdb.arch/i386-byte.exp
4089 * gdb.arch/i386-cfi-notcurrent.exp
4090 * gdb.arch/i386-disp-step.exp
4091 * gdb.arch/i386-dr3-watch.exp
4092 * gdb.arch/i386-float.exp
4093 * gdb.arch/i386-gnu-cfi.exp
4094 * gdb.arch/i386-mpx-map.exp
4095 * gdb.arch/i386-mpx-sigsegv.exp
4096 * gdb.arch/i386-mpx-simple_segv.exp
4097 * gdb.arch/i386-mpx.exp
4098 * gdb.arch/i386-permbkpt.exp
4099 * gdb.arch/i386-prologue.exp
4100 * gdb.arch/i386-signal.exp
4101 * gdb.arch/i386-size-overlap.exp
4102 * gdb.arch/i386-unwind.exp
4103 * gdb.arch/i386-word.exp
4104 * gdb.arch/mips-fcr.exp
4105 * gdb.arch/powerpc-d128-regs.exp
4106 * gdb.arch/powerpc-stackless.exp
4107 * gdb.arch/ppc64-atomic-inst.exp
4108 * gdb.arch/s390-stackless.exp
4109 * gdb.arch/s390-tdbregs.exp
4110 * gdb.arch/s390-vregs.exp
4111 * gdb.arch/sparc-sysstep.exp
4112 * gdb.arch/thumb-bx-pc.exp
4113 * gdb.arch/thumb-singlestep.exp
4114 * gdb.arch/thumb2-it.exp
4115 * gdb.arch/vsx-regs.exp
4116 * gdb.asm/asm-source.exp
4117 * gdb.base/a2-run.exp
4118 * gdb.base/advance.exp
4119 * gdb.base/all-bin.exp
4120 * gdb.base/anon.exp
4121 * gdb.base/args.exp
4122 * gdb.base/arithmet.exp
4123 * gdb.base/async-shell.exp
4124 * gdb.base/async.exp
4125 * gdb.base/attach-pie-noexec.exp
4126 * gdb.base/attach-twice.exp
4127 * gdb.base/auto-load.exp
4128 * gdb.base/bang.exp
4129 * gdb.base/bitfields.exp
4130 * gdb.base/break-always.exp
4131 * gdb.base/break-caller-line.exp
4132 * gdb.base/break-entry.exp
4133 * gdb.base/break-inline.exp
4134 * gdb.base/break-on-linker-gcd-function.exp
4135 * gdb.base/break-probes.exp
4136 * gdb.base/break.exp
4137 * gdb.base/breakpoint-shadow.exp
4138 * gdb.base/call-ar-st.exp
4139 * gdb.base/call-sc.exp
4140 * gdb.base/call-signal-resume.exp
4141 * gdb.base/call-strs.exp
4142 * gdb.base/callfuncs.exp
4143 * gdb.base/catch-fork-static.exp
4144 * gdb.base/catch-gdb-caused-signals.exp
4145 * gdb.base/catch-load.exp
4146 * gdb.base/catch-signal-fork.exp
4147 * gdb.base/catch-signal.exp
4148 * gdb.base/catch-syscall.exp
4149 * gdb.base/charset.exp
4150 * gdb.base/checkpoint.exp
4151 * gdb.base/chng-syms.exp
4152 * gdb.base/code-expr.exp
4153 * gdb.base/code_elim.exp
4154 * gdb.base/commands.exp
4155 * gdb.base/completion.exp
4156 * gdb.base/complex.exp
4157 * gdb.base/cond-expr.exp
4158 * gdb.base/condbreak.exp
4159 * gdb.base/consecutive.exp
4160 * gdb.base/continue-all-already-running.exp
4161 * gdb.base/coredump-filter.exp
4162 * gdb.base/corefile.exp
4163 * gdb.base/dbx.exp
4164 * gdb.base/debug-expr.exp
4165 * gdb.base/define.exp
4166 * gdb.base/del.exp
4167 * gdb.base/disabled-location.exp
4168 * gdb.base/disasm-end-cu.exp
4169 * gdb.base/disasm-optim.exp
4170 * gdb.base/display.exp
4171 * gdb.base/duplicate-bp.exp
4172 * gdb.base/ena-dis-br.exp
4173 * gdb.base/ending-run.exp
4174 * gdb.base/enumval.exp
4175 * gdb.base/environ.exp
4176 * gdb.base/eu-strip-infcall.exp
4177 * gdb.base/eval-avoid-side-effects.exp
4178 * gdb.base/eval-skip.exp
4179 * gdb.base/exitsignal.exp
4180 * gdb.base/expand-psymtabs.exp
4181 * gdb.base/filesym.exp
4182 * gdb.base/find-unmapped.exp
4183 * gdb.base/finish.exp
4184 * gdb.base/float.exp
4185 * gdb.base/foll-exec-mode.exp
4186 * gdb.base/foll-exec.exp
4187 * gdb.base/foll-fork.exp
4188 * gdb.base/fortran-sym-case.exp
4189 * gdb.base/freebpcmd.exp
4190 * gdb.base/func-ptr.exp
4191 * gdb.base/func-ptrs.exp
4192 * gdb.base/funcargs.exp
4193 * gdb.base/gcore-buffer-overflow.exp
4194 * gdb.base/gcore-relro-pie.exp
4195 * gdb.base/gcore-relro.exp
4196 * gdb.base/gcore.exp
4197 * gdb.base/gdb1090.exp
4198 * gdb.base/gdb11530.exp
4199 * gdb.base/gdb11531.exp
4200 * gdb.base/gdb1821.exp
4201 * gdb.base/gdbindex-stabs.exp
4202 * gdb.base/gdbvars.exp
4203 * gdb.base/hbreak.exp
4204 * gdb.base/hbreak2.exp
4205 * gdb.base/included.exp
4206 * gdb.base/infcall-input.exp
4207 * gdb.base/inferior-died.exp
4208 * gdb.base/infnan.exp
4209 * gdb.base/info-macros.exp
4210 * gdb.base/info-os.exp
4211 * gdb.base/info-proc.exp
4212 * gdb.base/info-shared.exp
4213 * gdb.base/info-target.exp
4214 * gdb.base/infoline.exp
4215 * gdb.base/interp.exp
4216 * gdb.base/interrupt.exp
4217 * gdb.base/jit-reader.exp
4218 * gdb.base/jit-simple.exp
4219 * gdb.base/kill-after-signal.exp
4220 * gdb.base/kill-detach-inferiors-cmd.exp
4221 * gdb.base/label.exp
4222 * gdb.base/langs.exp
4223 * gdb.base/ldbl_e308.exp
4224 * gdb.base/line-symtabs.exp
4225 * gdb.base/linespecs.exp
4226 * gdb.base/list.exp
4227 * gdb.base/long_long.exp
4228 * gdb.base/longest-types.exp
4229 * gdb.base/maint.exp
4230 * gdb.base/max-value-size.exp
4231 * gdb.base/memattr.exp
4232 * gdb.base/mips_pro.exp
4233 * gdb.base/morestack.exp
4234 * gdb.base/moribund-step.exp
4235 * gdb.base/multi-forks.exp
4236 * gdb.base/nested-addr.exp
4237 * gdb.base/nextoverexit.exp
4238 * gdb.base/noreturn-finish.exp
4239 * gdb.base/noreturn-return.exp
4240 * gdb.base/nostdlib.exp
4241 * gdb.base/offsets.exp
4242 * gdb.base/opaque.exp
4243 * gdb.base/pc-fp.exp
4244 * gdb.base/permissions.exp
4245 * gdb.base/print-symbol-loading.exp
4246 * gdb.base/prologue-include.exp
4247 * gdb.base/psymtab.exp
4248 * gdb.base/ptype.exp
4249 * gdb.base/random-signal.exp
4250 * gdb.base/randomize.exp
4251 * gdb.base/range-stepping.exp
4252 * gdb.base/readline-ask.exp
4253 * gdb.base/recpar.exp
4254 * gdb.base/recurse.exp
4255 * gdb.base/relational.exp
4256 * gdb.base/restore.exp
4257 * gdb.base/return-nodebug.exp
4258 * gdb.base/return.exp
4259 * gdb.base/run-after-attach.exp
4260 * gdb.base/save-bp.exp
4261 * gdb.base/scope.exp
4262 * gdb.base/sect-cmd.exp
4263 * gdb.base/set-lang-auto.exp
4264 * gdb.base/set-noassign.exp
4265 * gdb.base/setvar.exp
4266 * gdb.base/sigall.exp
4267 * gdb.base/sigbpt.exp
4268 * gdb.base/siginfo-addr.exp
4269 * gdb.base/siginfo-infcall.exp
4270 * gdb.base/siginfo-obj.exp
4271 * gdb.base/siginfo.exp
4272 * gdb.base/signals-state-child.exp
4273 * gdb.base/signest.exp
4274 * gdb.base/sigstep.exp
4275 * gdb.base/sizeof.exp
4276 * gdb.base/skip.exp
4277 * gdb.base/solib-corrupted.exp
4278 * gdb.base/solib-nodir.exp
4279 * gdb.base/solib-search.exp
4280 * gdb.base/stack-checking.exp
4281 * gdb.base/stale-infcall.exp
4282 * gdb.base/stap-probe.exp
4283 * gdb.base/start.exp
4284 * gdb.base/step-break.exp
4285 * gdb.base/step-bt.exp
4286 * gdb.base/step-line.exp
4287 * gdb.base/step-over-exit.exp
4288 * gdb.base/step-over-syscall.exp
4289 * gdb.base/step-resume-infcall.exp
4290 * gdb.base/step-test.exp
4291 * gdb.base/store.exp
4292 * gdb.base/structs3.exp
4293 * gdb.base/sym-file.exp
4294 * gdb.base/symbol-without-target_section.exp
4295 * gdb.base/term.exp
4296 * gdb.base/testenv.exp
4297 * gdb.base/ui-redirect.exp
4298 * gdb.base/until.exp
4299 * gdb.base/unwindonsignal.exp
4300 * gdb.base/value-double-free.exp
4301 * gdb.base/vla-datatypes.exp
4302 * gdb.base/vla-ptr.exp
4303 * gdb.base/vla-sideeffect.exp
4304 * gdb.base/volatile.exp
4305 * gdb.base/watch-cond-infcall.exp
4306 * gdb.base/watch-cond.exp
4307 * gdb.base/watch-non-mem.exp
4308 * gdb.base/watch-read.exp
4309 * gdb.base/watch-vfork.exp
4310 * gdb.base/watchpoint-cond-gone.exp
4311 * gdb.base/watchpoint-delete.exp
4312 * gdb.base/watchpoint-hw-hit-once.exp
4313 * gdb.base/watchpoint-hw.exp
4314 * gdb.base/watchpoint-stops-at-right-insn.exp
4315 * gdb.base/watchpoints.exp
4316 * gdb.base/wchar.exp
4317 * gdb.base/whatis-exp.exp
4318 * gdb.btrace/buffer-size.exp
4319 * gdb.btrace/data.exp
4320 * gdb.btrace/delta.exp
4321 * gdb.btrace/dlopen.exp
4322 * gdb.btrace/enable.exp
4323 * gdb.btrace/exception.exp
4324 * gdb.btrace/function_call_history.exp
4325 * gdb.btrace/gcore.exp
4326 * gdb.btrace/instruction_history.exp
4327 * gdb.btrace/nohist.exp
4328 * gdb.btrace/reconnect.exp
4329 * gdb.btrace/record_goto-step.exp
4330 * gdb.btrace/record_goto.exp
4331 * gdb.btrace/rn-dl-bind.exp
4332 * gdb.btrace/segv.exp
4333 * gdb.btrace/step.exp
4334 * gdb.btrace/stepi.exp
4335 * gdb.btrace/tailcall-only.exp
4336 * gdb.btrace/tailcall.exp
4337 * gdb.btrace/tsx.exp
4338 * gdb.btrace/unknown_functions.exp
4339 * gdb.btrace/vdso.exp
4340 * gdb.compile/compile-ifunc.exp
4341 * gdb.compile/compile-ops.exp
4342 * gdb.compile/compile-print.exp
4343 * gdb.compile/compile-setjmp.exp
4344 * gdb.cp/abstract-origin.exp
4345 * gdb.cp/ambiguous.exp
4346 * gdb.cp/annota2.exp
4347 * gdb.cp/annota3.exp
4348 * gdb.cp/anon-ns.exp
4349 * gdb.cp/anon-struct.exp
4350 * gdb.cp/anon-union.exp
4351 * gdb.cp/arg-reference.exp
4352 * gdb.cp/baseenum.exp
4353 * gdb.cp/bool.exp
4354 * gdb.cp/breakpoint.exp
4355 * gdb.cp/bs15503.exp
4356 * gdb.cp/call-c.exp
4357 * gdb.cp/casts.exp
4358 * gdb.cp/chained-calls.exp
4359 * gdb.cp/class2.exp
4360 * gdb.cp/classes.exp
4361 * gdb.cp/cmpd-minsyms.exp
4362 * gdb.cp/converts.exp
4363 * gdb.cp/cp-relocate.exp
4364 * gdb.cp/cpcompletion.exp
4365 * gdb.cp/cpexprs.exp
4366 * gdb.cp/cplabel.exp
4367 * gdb.cp/cplusfuncs.exp
4368 * gdb.cp/cpsizeof.exp
4369 * gdb.cp/ctti.exp
4370 * gdb.cp/derivation.exp
4371 * gdb.cp/destrprint.exp
4372 * gdb.cp/dispcxx.exp
4373 * gdb.cp/enum-class.exp
4374 * gdb.cp/exception.exp
4375 * gdb.cp/exceptprint.exp
4376 * gdb.cp/expand-psymtabs-cxx.exp
4377 * gdb.cp/expand-sals.exp
4378 * gdb.cp/extern-c.exp
4379 * gdb.cp/filename.exp
4380 * gdb.cp/formatted-ref.exp
4381 * gdb.cp/fpointer.exp
4382 * gdb.cp/gdb1355.exp
4383 * gdb.cp/gdb2495.exp
4384 * gdb.cp/hang.exp
4385 * gdb.cp/impl-this.exp
4386 * gdb.cp/infcall-dlopen.exp
4387 * gdb.cp/inherit.exp
4388 * gdb.cp/iostream.exp
4389 * gdb.cp/koenig.exp
4390 * gdb.cp/local.exp
4391 * gdb.cp/m-data.exp
4392 * gdb.cp/m-static.exp
4393 * gdb.cp/mb-ctor.exp
4394 * gdb.cp/mb-inline.exp
4395 * gdb.cp/mb-templates.exp
4396 * gdb.cp/member-name.exp
4397 * gdb.cp/member-ptr.exp
4398 * gdb.cp/meth-typedefs.exp
4399 * gdb.cp/method.exp
4400 * gdb.cp/method2.exp
4401 * gdb.cp/minsym-fallback.exp
4402 * gdb.cp/misc.exp
4403 * gdb.cp/namelessclass.exp
4404 * gdb.cp/namespace-enum.exp
4405 * gdb.cp/namespace-nested-import.exp
4406 * gdb.cp/namespace.exp
4407 * gdb.cp/nextoverthrow.exp
4408 * gdb.cp/no-dmgl-verbose.exp
4409 * gdb.cp/non-trivial-retval.exp
4410 * gdb.cp/noparam.exp
4411 * gdb.cp/nsdecl.exp
4412 * gdb.cp/nsimport.exp
4413 * gdb.cp/nsnested.exp
4414 * gdb.cp/nsnoimports.exp
4415 * gdb.cp/nsrecurs.exp
4416 * gdb.cp/nsstress.exp
4417 * gdb.cp/nsusing.exp
4418 * gdb.cp/operator.exp
4419 * gdb.cp/oranking.exp
4420 * gdb.cp/overload-const.exp
4421 * gdb.cp/overload.exp
4422 * gdb.cp/ovldbreak.exp
4423 * gdb.cp/ovsrch.exp
4424 * gdb.cp/paren-type.exp
4425 * gdb.cp/parse-lang.exp
4426 * gdb.cp/pass-by-ref.exp
4427 * gdb.cp/pr-1023.exp
4428 * gdb.cp/pr-1210.exp
4429 * gdb.cp/pr-574.exp
4430 * gdb.cp/pr10687.exp
4431 * gdb.cp/pr12028.exp
4432 * gdb.cp/pr17132.exp
4433 * gdb.cp/pr17494.exp
4434 * gdb.cp/pr9067.exp
4435 * gdb.cp/pr9167.exp
4436 * gdb.cp/pr9631.exp
4437 * gdb.cp/printmethod.exp
4438 * gdb.cp/psmang.exp
4439 * gdb.cp/psymtab-parameter.exp
4440 * gdb.cp/ptype-cv-cp.exp
4441 * gdb.cp/ptype-flags.exp
4442 * gdb.cp/re-set-overloaded.exp
4443 * gdb.cp/ref-types.exp
4444 * gdb.cp/rtti.exp
4445 * gdb.cp/scope-err.exp
4446 * gdb.cp/shadow.exp
4447 * gdb.cp/smartp.exp
4448 * gdb.cp/static-method.exp
4449 * gdb.cp/static-print-quit.exp
4450 * gdb.cp/temargs.exp
4451 * gdb.cp/templates.exp
4452 * gdb.cp/try_catch.exp
4453 * gdb.cp/typedef-operator.exp
4454 * gdb.cp/typeid.exp
4455 * gdb.cp/userdef.exp
4456 * gdb.cp/using-crash.exp
4457 * gdb.cp/var-tag.exp
4458 * gdb.cp/virtbase.exp
4459 * gdb.cp/virtfunc.exp
4460 * gdb.cp/virtfunc2.exp
4461 * gdb.cp/vla-cxx.exp
4462 * gdb.disasm/t01_mov.exp
4463 * gdb.disasm/t02_mova.exp
4464 * gdb.disasm/t03_add.exp
4465 * gdb.disasm/t04_sub.exp
4466 * gdb.disasm/t05_cmp.exp
4467 * gdb.disasm/t06_ari2.exp
4468 * gdb.disasm/t07_ari3.exp
4469 * gdb.disasm/t08_or.exp
4470 * gdb.disasm/t09_xor.exp
4471 * gdb.disasm/t10_and.exp
4472 * gdb.disasm/t11_logs.exp
4473 * gdb.disasm/t12_bit.exp
4474 * gdb.disasm/t13_otr.exp
4475 * gdb.dlang/circular.exp
4476 * gdb.dwarf2/arr-stride.exp
4477 * gdb.dwarf2/arr-subrange.exp
4478 * gdb.dwarf2/atomic-type.exp
4479 * gdb.dwarf2/bad-regnum.exp
4480 * gdb.dwarf2/bitfield-parent-optimized-out.exp
4481 * gdb.dwarf2/callframecfa.exp
4482 * gdb.dwarf2/clztest.exp
4483 * gdb.dwarf2/corrupt.exp
4484 * gdb.dwarf2/data-loc.exp
4485 * gdb.dwarf2/dup-psym.exp
4486 * gdb.dwarf2/dw2-anon-mptr.exp
4487 * gdb.dwarf2/dw2-anonymous-func.exp
4488 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4489 * gdb.dwarf2/dw2-bad-unresolved.exp
4490 * gdb.dwarf2/dw2-basic.exp
4491 * gdb.dwarf2/dw2-canonicalize-type.exp
4492 * gdb.dwarf2/dw2-case-insensitive.exp
4493 * gdb.dwarf2/dw2-common-block.exp
4494 * gdb.dwarf2/dw2-compdir-oldgcc.exp
4495 * gdb.dwarf2/dw2-compressed.exp
4496 * gdb.dwarf2/dw2-const.exp
4497 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4498 * gdb.dwarf2/dw2-cu-size.exp
4499 * gdb.dwarf2/dw2-dup-frame.exp
4500 * gdb.dwarf2/dw2-entry-value.exp
4501 * gdb.dwarf2/dw2-icycle.exp
4502 * gdb.dwarf2/dw2-ifort-parameter.exp
4503 * gdb.dwarf2/dw2-inline-break.exp
4504 * gdb.dwarf2/dw2-inline-param.exp
4505 * gdb.dwarf2/dw2-intercu.exp
4506 * gdb.dwarf2/dw2-intermix.exp
4507 * gdb.dwarf2/dw2-lexical-block-bare.exp
4508 * gdb.dwarf2/dw2-linkage-name-trust.exp
4509 * gdb.dwarf2/dw2-minsym-in-cu.exp
4510 * gdb.dwarf2/dw2-noloc.exp
4511 * gdb.dwarf2/dw2-op-call.exp
4512 * gdb.dwarf2/dw2-op-out-param.exp
4513 * gdb.dwarf2/dw2-opt-structptr.exp
4514 * gdb.dwarf2/dw2-param-error.exp
4515 * gdb.dwarf2/dw2-producer.exp
4516 * gdb.dwarf2/dw2-ranges-base.exp
4517 * gdb.dwarf2/dw2-ref-missing-frame.exp
4518 * gdb.dwarf2/dw2-reg-undefined.exp
4519 * gdb.dwarf2/dw2-regno-invalid.exp
4520 * gdb.dwarf2/dw2-restore.exp
4521 * gdb.dwarf2/dw2-restrict.exp
4522 * gdb.dwarf2/dw2-single-line-discriminators.exp
4523 * gdb.dwarf2/dw2-strp.exp
4524 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4525 * gdb.dwarf2/dw2-unresolved.exp
4526 * gdb.dwarf2/dw2-var-zero-addr.exp
4527 * gdb.dwarf2/dw4-sig-types.exp
4528 * gdb.dwarf2/dwz.exp
4529 * gdb.dwarf2/dynarr-ptr.exp
4530 * gdb.dwarf2/enum-type.exp
4531 * gdb.dwarf2/gdb-index.exp
4532 * gdb.dwarf2/implptr-64bit.exp
4533 * gdb.dwarf2/implptr-optimized-out.exp
4534 * gdb.dwarf2/implptr.exp
4535 * gdb.dwarf2/implref-array.exp
4536 * gdb.dwarf2/implref-const.exp
4537 * gdb.dwarf2/implref-global.exp
4538 * gdb.dwarf2/implref-struct.exp
4539 * gdb.dwarf2/mac-fileno.exp
4540 * gdb.dwarf2/main-subprogram.exp
4541 * gdb.dwarf2/member-ptr-forwardref.exp
4542 * gdb.dwarf2/method-ptr.exp
4543 * gdb.dwarf2/missing-sig-type.exp
4544 * gdb.dwarf2/nonvar-access.exp
4545 * gdb.dwarf2/opaque-type-lookup.exp
4546 * gdb.dwarf2/pieces-optimized-out.exp
4547 * gdb.dwarf2/pieces.exp
4548 * gdb.dwarf2/pr10770.exp
4549 * gdb.dwarf2/pr13961.exp
4550 * gdb.dwarf2/staticvirtual.exp
4551 * gdb.dwarf2/subrange.exp
4552 * gdb.dwarf2/symtab-producer.exp
4553 * gdb.dwarf2/trace-crash.exp
4554 * gdb.dwarf2/typeddwarf.exp
4555 * gdb.dwarf2/valop.exp
4556 * gdb.dwarf2/watch-notconst.exp
4557 * gdb.fortran/array-element.exp
4558 * gdb.fortran/charset.exp
4559 * gdb.fortran/common-block.exp
4560 * gdb.fortran/complex.exp
4561 * gdb.fortran/derived-type-function.exp
4562 * gdb.fortran/derived-type.exp
4563 * gdb.fortran/logical.exp
4564 * gdb.fortran/module.exp
4565 * gdb.fortran/multi-dim.exp
4566 * gdb.fortran/nested-funcs.exp
4567 * gdb.fortran/print-formatted.exp
4568 * gdb.fortran/subarray.exp
4569 * gdb.fortran/vla-alloc-assoc.exp
4570 * gdb.fortran/vla-datatypes.exp
4571 * gdb.fortran/vla-history.exp
4572 * gdb.fortran/vla-ptr-info.exp
4573 * gdb.fortran/vla-ptype-sub.exp
4574 * gdb.fortran/vla-ptype.exp
4575 * gdb.fortran/vla-sizeof.exp
4576 * gdb.fortran/vla-type.exp
4577 * gdb.fortran/vla-value-sub-arbitrary.exp
4578 * gdb.fortran/vla-value-sub-finish.exp
4579 * gdb.fortran/vla-value-sub.exp
4580 * gdb.fortran/vla-value.exp
4581 * gdb.fortran/whatis_type.exp
4582 * gdb.go/chan.exp
4583 * gdb.go/handcall.exp
4584 * gdb.go/hello.exp
4585 * gdb.go/integers.exp
4586 * gdb.go/methods.exp
4587 * gdb.go/package.exp
4588 * gdb.go/strings.exp
4589 * gdb.go/types.exp
4590 * gdb.go/unsafe.exp
4591 * gdb.guile/scm-arch.exp
4592 * gdb.guile/scm-block.exp
4593 * gdb.guile/scm-breakpoint.exp
4594 * gdb.guile/scm-cmd.exp
4595 * gdb.guile/scm-disasm.exp
4596 * gdb.guile/scm-equal.exp
4597 * gdb.guile/scm-frame-args.exp
4598 * gdb.guile/scm-frame-inline.exp
4599 * gdb.guile/scm-frame.exp
4600 * gdb.guile/scm-iterator.exp
4601 * gdb.guile/scm-math.exp
4602 * gdb.guile/scm-objfile.exp
4603 * gdb.guile/scm-ports.exp
4604 * gdb.guile/scm-symbol.exp
4605 * gdb.guile/scm-symtab.exp
4606 * gdb.guile/scm-value-cc.exp
4607 * gdb.guile/types-module.exp
4608 * gdb.linespec/break-ask.exp
4609 * gdb.linespec/cpexplicit.exp
4610 * gdb.linespec/explicit.exp
4611 * gdb.linespec/keywords.exp
4612 * gdb.linespec/linespec.exp
4613 * gdb.linespec/ls-dollar.exp
4614 * gdb.linespec/ls-errs.exp
4615 * gdb.linespec/skip-two.exp
4616 * gdb.linespec/thread.exp
4617 * gdb.mi/mi-async.exp
4618 * gdb.mi/mi-basics.exp
4619 * gdb.mi/mi-break.exp
4620 * gdb.mi/mi-catch-load.exp
4621 * gdb.mi/mi-cli.exp
4622 * gdb.mi/mi-cmd-param-changed.exp
4623 * gdb.mi/mi-console.exp
4624 * gdb.mi/mi-detach.exp
4625 * gdb.mi/mi-disassemble.exp
4626 * gdb.mi/mi-eval.exp
4627 * gdb.mi/mi-file-transfer.exp
4628 * gdb.mi/mi-file.exp
4629 * gdb.mi/mi-fill-memory.exp
4630 * gdb.mi/mi-inheritance-syntax-error.exp
4631 * gdb.mi/mi-linespec-err-cp.exp
4632 * gdb.mi/mi-logging.exp
4633 * gdb.mi/mi-memory-changed.exp
4634 * gdb.mi/mi-read-memory.exp
4635 * gdb.mi/mi-record-changed.exp
4636 * gdb.mi/mi-reg-undefined.exp
4637 * gdb.mi/mi-regs.exp
4638 * gdb.mi/mi-return.exp
4639 * gdb.mi/mi-reverse.exp
4640 * gdb.mi/mi-simplerun.exp
4641 * gdb.mi/mi-solib.exp
4642 * gdb.mi/mi-stack.exp
4643 * gdb.mi/mi-stepi.exp
4644 * gdb.mi/mi-syn-frame.exp
4645 * gdb.mi/mi-until.exp
4646 * gdb.mi/mi-var-block.exp
4647 * gdb.mi/mi-var-child.exp
4648 * gdb.mi/mi-var-cmd.exp
4649 * gdb.mi/mi-var-cp.exp
4650 * gdb.mi/mi-var-display.exp
4651 * gdb.mi/mi-var-invalidate.exp
4652 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4653 * gdb.mi/mi-vla-fortran.exp
4654 * gdb.mi/mi-watch.exp
4655 * gdb.mi/mi2-var-child.exp
4656 * gdb.mi/user-selected-context-sync.exp
4657 * gdb.modula2/unbounded-array.exp
4658 * gdb.multi/dummy-frame-restore.exp
4659 * gdb.multi/multi-arch-exec.exp
4660 * gdb.multi/multi-arch.exp
4661 * gdb.multi/tids.exp
4662 * gdb.multi/watchpoint-multi.exp
4663 * gdb.opencl/callfuncs.exp
4664 * gdb.opencl/convs_casts.exp
4665 * gdb.opencl/datatypes.exp
4666 * gdb.opencl/operators.exp
4667 * gdb.opencl/vec_comps.exp
4668 * gdb.opt/clobbered-registers-O2.exp
4669 * gdb.opt/inline-break.exp
4670 * gdb.opt/inline-bt.exp
4671 * gdb.opt/inline-cmds.exp
4672 * gdb.opt/inline-locals.exp
4673 * gdb.pascal/case-insensitive-symbols.exp
4674 * gdb.pascal/floats.exp
4675 * gdb.pascal/gdb11492.exp
4676 * gdb.python/lib-types.exp
4677 * gdb.python/py-arch.exp
4678 * gdb.python/py-as-string.exp
4679 * gdb.python/py-bad-printers.exp
4680 * gdb.python/py-block.exp
4681 * gdb.python/py-breakpoint-create-fail.exp
4682 * gdb.python/py-breakpoint.exp
4683 * gdb.python/py-caller-is.exp
4684 * gdb.python/py-cmd.exp
4685 * gdb.python/py-explore-cc.exp
4686 * gdb.python/py-explore.exp
4687 * gdb.python/py-finish-breakpoint.exp
4688 * gdb.python/py-finish-breakpoint2.exp
4689 * gdb.python/py-frame-args.exp
4690 * gdb.python/py-frame-inline.exp
4691 * gdb.python/py-frame.exp
4692 * gdb.python/py-framefilter-mi.exp
4693 * gdb.python/py-infthread.exp
4694 * gdb.python/py-lazy-string.exp
4695 * gdb.python/py-linetable.exp
4696 * gdb.python/py-mi-events.exp
4697 * gdb.python/py-mi-objfile.exp
4698 * gdb.python/py-mi.exp
4699 * gdb.python/py-objfile.exp
4700 * gdb.python/py-pp-integral.exp
4701 * gdb.python/py-pp-maint.exp
4702 * gdb.python/py-pp-re-notag.exp
4703 * gdb.python/py-pp-registration.exp
4704 * gdb.python/py-recurse-unwind.exp
4705 * gdb.python/py-strfns.exp
4706 * gdb.python/py-symbol.exp
4707 * gdb.python/py-symtab.exp
4708 * gdb.python/py-sync-interp.exp
4709 * gdb.python/py-typeprint.exp
4710 * gdb.python/py-unwind-maint.exp
4711 * gdb.python/py-unwind.exp
4712 * gdb.python/py-value-cc.exp
4713 * gdb.python/py-xmethods.exp
4714 * gdb.reverse/amd64-tailcall-reverse.exp
4715 * gdb.reverse/break-precsave.exp
4716 * gdb.reverse/break-reverse.exp
4717 * gdb.reverse/consecutive-precsave.exp
4718 * gdb.reverse/consecutive-reverse.exp
4719 * gdb.reverse/finish-precsave.exp
4720 * gdb.reverse/finish-reverse-bkpt.exp
4721 * gdb.reverse/finish-reverse.exp
4722 * gdb.reverse/fstatat-reverse.exp
4723 * gdb.reverse/getresuid-reverse.exp
4724 * gdb.reverse/i386-precsave.exp
4725 * gdb.reverse/i386-reverse.exp
4726 * gdb.reverse/i386-sse-reverse.exp
4727 * gdb.reverse/i387-env-reverse.exp
4728 * gdb.reverse/i387-stack-reverse.exp
4729 * gdb.reverse/insn-reverse.exp
4730 * gdb.reverse/machinestate-precsave.exp
4731 * gdb.reverse/machinestate.exp
4732 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4733 * gdb.reverse/pipe-reverse.exp
4734 * gdb.reverse/readv-reverse.exp
4735 * gdb.reverse/recvmsg-reverse.exp
4736 * gdb.reverse/rerun-prec.exp
4737 * gdb.reverse/s390-mvcle.exp
4738 * gdb.reverse/step-precsave.exp
4739 * gdb.reverse/step-reverse.exp
4740 * gdb.reverse/time-reverse.exp
4741 * gdb.reverse/until-precsave.exp
4742 * gdb.reverse/until-reverse.exp
4743 * gdb.reverse/waitpid-reverse.exp
4744 * gdb.reverse/watch-precsave.exp
4745 * gdb.reverse/watch-reverse.exp
4746 * gdb.rust/generics.exp
4747 * gdb.rust/methods.exp
4748 * gdb.rust/modules.exp
4749 * gdb.rust/simple.exp
4750 * gdb.server/connect-with-no-symbol-file.exp
4751 * gdb.server/ext-attach.exp
4752 * gdb.server/ext-restart.exp
4753 * gdb.server/ext-wrapper.exp
4754 * gdb.server/file-transfer.exp
4755 * gdb.server/server-exec-info.exp
4756 * gdb.server/server-kill.exp
4757 * gdb.server/server-mon.exp
4758 * gdb.server/wrapper.exp
4759 * gdb.stabs/exclfwd.exp
4760 * gdb.stabs/gdb11479.exp
4761 * gdb.threads/clone-new-thread-event.exp
4762 * gdb.threads/corethreads.exp
4763 * gdb.threads/current-lwp-dead.exp
4764 * gdb.threads/dlopen-libpthread.exp
4765 * gdb.threads/gcore-thread.exp
4766 * gdb.threads/sigstep-threads.exp
4767 * gdb.threads/watchpoint-fork.exp
4768 * gdb.trace/actions-changed.exp
4769 * gdb.trace/backtrace.exp
4770 * gdb.trace/change-loc.exp
4771 * gdb.trace/circ.exp
4772 * gdb.trace/collection.exp
4773 * gdb.trace/disconnected-tracing.exp
4774 * gdb.trace/ftrace.exp
4775 * gdb.trace/mi-trace-frame-collected.exp
4776 * gdb.trace/mi-trace-unavailable.exp
4777 * gdb.trace/mi-traceframe-changed.exp
4778 * gdb.trace/mi-tsv-changed.exp
4779 * gdb.trace/no-attach-trace.exp
4780 * gdb.trace/passc-dyn.exp
4781 * gdb.trace/qtro.exp
4782 * gdb.trace/range-stepping.exp
4783 * gdb.trace/read-memory.exp
4784 * gdb.trace/save-trace.exp
4785 * gdb.trace/signal.exp
4786 * gdb.trace/status-stop.exp
4787 * gdb.trace/tfile.exp
4788 * gdb.trace/trace-break.exp
4789 * gdb.trace/trace-buffer-size.exp
4790 * gdb.trace/trace-condition.exp
4791 * gdb.trace/tracefile-pseudo-reg.exp
4792 * gdb.trace/tstatus.exp
4793 * gdb.trace/unavailable.exp
4794 * gdb.trace/while-dyn.exp
4795 * gdb.trace/while-stepping.exp
4796
4797 2016-12-22 Doug Evans <xdje42@gmail.com>
4798
4799 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4800 and msymbols.
4801
4802 2016-12-19 Yao Qi <yao.qi@linaro.org>
4803
4804 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4805 (test_with_self): Don't call do_steps_and_nexts, and remove
4806 code about stepping into xmalloc.
4807
4808 2016-12-09 Yao Qi <yao.qi@linaro.org>
4809
4810 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4811
4812 2016-12-09 Yao Qi <yao.qi@linaro.org>
4813
4814 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4815
4816 2016-12-09 Pedro Alves <palves@redhat.com>
4817
4818 * gdb.base/all-architectures-0.exp: New file.
4819 * gdb.base/all-architectures-1.exp: New file.
4820 * gdb.base/all-architectures-2.exp: New file.
4821 * gdb.base/all-architectures-3.exp: New file.
4822 * gdb.base/all-architectures-4.exp: New file.
4823 * gdb.base/all-architectures-5.exp: New file.
4824 * gdb.base/all-architectures-6.exp: New file.
4825 * gdb.base/all-architectures-7.exp: New file.
4826 * gdb.base/all-architectures.exp.in: New file.
4827
4828 2016-12-09 Yao Qi <yao.qi@linaro.org>
4829
4830 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4831
4832 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4833
4834 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4835 possible.
4836 Remove useless pattern-matching code.
4837
4838 2016-12-02 Pedro Alves <palves@redhat.com>
4839
4840 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4841 procedure.
4842 (top level): Call it.
4843
4844 2016-12-02 Pedro Alves <palves@redhat.com>
4845
4846 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4847 New procedure.
4848 (top level): Call it.
4849
4850 2016-12-02 Pedro Alves <palves@redhat.com>
4851
4852 PR cli/20559
4853 * gdb.base/commands.exp (user_defined_command_args_eval): New
4854 procedure.
4855 (top level): Call it.
4856
4857 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4858
4859 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4860 timeout handling.
4861
4862 2016-12-02 Tom Tromey <tom@tromey.com>
4863
4864 * gdb.dwarf2/main-subprogram.c: New file.
4865 * gdb.dwarf2/main-subprogram.exp: New file.
4866
4867 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4868
4869 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4870 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4871 gdb_test_no_output for a couple of cases.
4872 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4873
4874 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4875
4876 Fix test names and standardize compilation error messages throughout
4877 the following files:
4878
4879 * gdb.ada/start.exp
4880 * gdb.arch/alpha-step.exp
4881 * gdb.arch/e500-prologue.exp
4882 * gdb.arch/ftrace-insn-reloc.exp
4883 * gdb.arch/gdb1291.exp
4884 * gdb.arch/gdb1431.exp
4885 * gdb.arch/gdb1558.exp
4886 * gdb.arch/i386-dr3-watch.exp
4887 * gdb.arch/i386-sse-stack-align.exp
4888 * gdb.arch/ia64-breakpoint-shadow.exp
4889 * gdb.arch/pa-nullify.exp
4890 * gdb.arch/powerpc-aix-prologue.exp
4891 * gdb.arch/thumb-bx-pc.exp
4892 * gdb.base/annota1.exp
4893 * gdb.base/annota3.exp
4894 * gdb.base/arrayidx.exp
4895 * gdb.base/assign.exp
4896 * gdb.base/attach.exp
4897 * gdb.base/auxv.exp
4898 * gdb.base/bang.exp
4899 * gdb.base/bfp-test.exp
4900 * gdb.base/bigcore.exp
4901 * gdb.base/bitfields2.exp
4902 * gdb.base/break-fun-addr.exp
4903 * gdb.base/break-probes.exp
4904 * gdb.base/call-rt-st.exp
4905 * gdb.base/callexit.exp
4906 * gdb.base/catch-fork-kill.exp
4907 * gdb.base/charset.exp
4908 * gdb.base/checkpoint.exp
4909 * gdb.base/comprdebug.exp
4910 * gdb.base/constvars.exp
4911 * gdb.base/coredump-filter.exp
4912 * gdb.base/cursal.exp
4913 * gdb.base/cvexpr.exp
4914 * gdb.base/detach.exp
4915 * gdb.base/display.exp
4916 * gdb.base/dmsym.exp
4917 * gdb.base/dprintf-pending.exp
4918 * gdb.base/dso2dso.exp
4919 * gdb.base/dtrace-probe.exp
4920 * gdb.base/dump.exp
4921 * gdb.base/enum_cond.exp
4922 * gdb.base/exe-lock.exp
4923 * gdb.base/exec-invalid-sysroot.exp
4924 * gdb.base/execl-update-breakpoints.exp
4925 * gdb.base/exprs.exp
4926 * gdb.base/fileio.exp
4927 * gdb.base/find.exp
4928 * gdb.base/finish.exp
4929 * gdb.base/fixsection.exp
4930 * gdb.base/foll-vfork.exp
4931 * gdb.base/frame-args.exp
4932 * gdb.base/gcore.exp
4933 * gdb.base/gdb1250.exp
4934 * gdb.base/global-var-nested-by-dso.exp
4935 * gdb.base/gnu-ifunc.exp
4936 * gdb.base/hashline1.exp
4937 * gdb.base/hashline2.exp
4938 * gdb.base/hashline3.exp
4939 * gdb.base/hbreak-in-shr-unsupported.exp
4940 * gdb.base/huge.exp
4941 * gdb.base/infcall-input.exp
4942 * gdb.base/info-fun.exp
4943 * gdb.base/info-shared.exp
4944 * gdb.base/jit-simple.exp
4945 * gdb.base/jit-so.exp
4946 * gdb.base/jit.exp
4947 * gdb.base/jump.exp
4948 * gdb.base/label.exp
4949 * gdb.base/lineinc.exp
4950 * gdb.base/logical.exp
4951 * gdb.base/longjmp.exp
4952 * gdb.base/macscp.exp
4953 * gdb.base/miscexprs.exp
4954 * gdb.base/new-ui-echo.exp
4955 * gdb.base/new-ui-pending-input.exp
4956 * gdb.base/new-ui.exp
4957 * gdb.base/nodebug.exp
4958 * gdb.base/nofield.exp
4959 * gdb.base/offsets.exp
4960 * gdb.base/overlays.exp
4961 * gdb.base/pending.exp
4962 * gdb.base/pointers.exp
4963 * gdb.base/pr11022.exp
4964 * gdb.base/printcmds.exp
4965 * gdb.base/prologue.exp
4966 * gdb.base/ptr-typedef.exp
4967 * gdb.base/realname-expand.exp
4968 * gdb.base/relativedebug.exp
4969 * gdb.base/relocate.exp
4970 * gdb.base/remote.exp
4971 * gdb.base/reread.exp
4972 * gdb.base/return2.exp
4973 * gdb.base/savedregs.exp
4974 * gdb.base/sep.exp
4975 * gdb.base/sepdebug.exp
4976 * gdb.base/sepsymtab.exp
4977 * gdb.base/set-inferior-tty.exp
4978 * gdb.base/setshow.exp
4979 * gdb.base/shlib-call.exp
4980 * gdb.base/sigaltstack.exp
4981 * gdb.base/siginfo-addr.exp
4982 * gdb.base/signals.exp
4983 * gdb.base/signull.exp
4984 * gdb.base/sigrepeat.exp
4985 * gdb.base/so-impl-ld.exp
4986 * gdb.base/solib-display.exp
4987 * gdb.base/solib-overlap.exp
4988 * gdb.base/solib-search.exp
4989 * gdb.base/solib-symbol.exp
4990 * gdb.base/structs.exp
4991 * gdb.base/structs2.exp
4992 * gdb.base/symtab-search-order.exp
4993 * gdb.base/twice.exp
4994 * gdb.base/unload.exp
4995 * gdb.base/varargs.exp
4996 * gdb.base/watchpoint-solib.exp
4997 * gdb.base/watchpoint.exp
4998 * gdb.base/whatis.exp
4999 * gdb.base/wrong_frame_bt_full.exp
5000 * gdb.btrace/dlopen.exp
5001 * gdb.cell/ea-standalone.exp
5002 * gdb.cell/ea-test.exp
5003 * gdb.cp/dispcxx.exp
5004 * gdb.cp/gdb2384.exp
5005 * gdb.cp/method2.exp
5006 * gdb.cp/nextoverthrow.exp
5007 * gdb.cp/pr10728.exp
5008 * gdb.disasm/am33.exp
5009 * gdb.disasm/h8300s.exp
5010 * gdb.disasm/mn10300.exp
5011 * gdb.disasm/sh3.exp
5012 * gdb.dwarf2/dw2-dir-file-name.exp
5013 * gdb.fortran/complex.exp
5014 * gdb.fortran/library-module.exp
5015 * gdb.guile/scm-pretty-print.exp
5016 * gdb.guile/scm-symbol.exp
5017 * gdb.guile/scm-type.exp
5018 * gdb.guile/scm-value.exp
5019 * gdb.linespec/linespec.exp
5020 * gdb.mi/gdb701.exp
5021 * gdb.mi/gdb792.exp
5022 * gdb.mi/mi-breakpoint-changed.exp
5023 * gdb.mi/mi-dprintf-pending.exp
5024 * gdb.mi/mi-dprintf.exp
5025 * gdb.mi/mi-exit-code.exp
5026 * gdb.mi/mi-pending.exp
5027 * gdb.mi/mi-solib.exp
5028 * gdb.mi/new-ui-mi-sync.exp
5029 * gdb.mi/pr11022.exp
5030 * gdb.mi/user-selected-context-sync.exp
5031 * gdb.opt/solib-intra-step.exp
5032 * gdb.python/py-events.exp
5033 * gdb.python/py-finish-breakpoint.exp
5034 * gdb.python/py-mi.exp
5035 * gdb.python/py-prettyprint.exp
5036 * gdb.python/py-shared.exp
5037 * gdb.python/py-symbol.exp
5038 * gdb.python/py-template.exp
5039 * gdb.python/py-type.exp
5040 * gdb.python/py-value.exp
5041 * gdb.reverse/solib-precsave.exp
5042 * gdb.reverse/solib-reverse.exp
5043 * gdb.server/solib-list.exp
5044 * gdb.stabs/weird.exp
5045 * gdb.threads/reconnect-signal.exp
5046 * gdb.threads/stepi-random-signal.exp
5047 * gdb.trace/actions.exp
5048 * gdb.trace/ax.exp
5049 * gdb.trace/backtrace.exp
5050 * gdb.trace/change-loc.exp
5051 * gdb.trace/deltrace.exp
5052 * gdb.trace/ftrace-lock.exp
5053 * gdb.trace/ftrace.exp
5054 * gdb.trace/infotrace.exp
5055 * gdb.trace/mi-tracepoint-changed.exp
5056 * gdb.trace/packetlen.exp
5057 * gdb.trace/passcount.exp
5058 * gdb.trace/pending.exp
5059 * gdb.trace/range-stepping.exp
5060 * gdb.trace/report.exp
5061 * gdb.trace/stap-trace.exp
5062 * gdb.trace/tfind.exp
5063 * gdb.trace/trace-break.exp
5064 * gdb.trace/trace-condition.exp
5065 * gdb.trace/trace-enable-disable.exp
5066 * gdb.trace/trace-mt.exp
5067 * gdb.trace/tracecmd.exp
5068 * gdb.trace/tspeed.exp
5069 * gdb.trace/tsv.exp
5070 * lib/perftest.exp
5071
5072 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5073
5074 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5075 with gdb_test_no_output.
5076 Use command as test name.
5077
5078 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5079
5080 Fix test names starting with uppercase throughout the files.
5081
5082 * gdb.ada/assign_1.exp
5083 * gdb.ada/boolean_expr.exp
5084 * gdb.base/arrayidx.exp
5085 * gdb.base/del.exp
5086 * gdb.base/gcore-buffer-overflow.exp
5087 * gdb.base/testenv.exp
5088 * gdb.compile/compile.exp
5089 * gdb.python/py-framefilter-invalidarg.exp
5090 * gdb.python/py-framefilter.exp
5091
5092 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5093
5094 Fix test names starting with uppercase throughout the files.
5095
5096 * gdb.ada/array_return.exp
5097 * gdb.ada/expr_delims.exp
5098 * gdb.ada/mi_dyn_arr.exp
5099 * gdb.ada/mi_interface.exp
5100 * gdb.ada/mi_var_array.exp
5101 * gdb.ada/watch_arg.exp
5102 * gdb.arch/alpha-step.exp
5103 * gdb.arch/altivec-regs.exp
5104 * gdb.arch/e500-regs.exp
5105 * gdb.arch/powerpc-d128-regs.exp
5106 * gdb.base/arrayidx.exp
5107 * gdb.base/break.exp
5108 * gdb.base/checkpoint.exp
5109 * gdb.base/debug-expr.exp
5110 * gdb.base/dmsym.exp
5111 * gdb.base/radix.exp
5112 * gdb.base/sepdebug.exp
5113 * gdb.base/testenv.exp
5114 * gdb.base/watch_thread_num.exp
5115 * gdb.base/watchpoint-cond-gone.exp
5116 * gdb.cell/break.exp
5117 * gdb.cell/ea-cache.exp
5118 * gdb.compile/compile.exp
5119 * gdb.cp/gdb2495.exp
5120 * gdb.gdb/selftest.exp
5121 * gdb.gdb/xfullpath.exp
5122 * gdb.go/hello.exp
5123 * gdb.go/integers.exp
5124 * gdb.objc/basicclass.exp
5125 * gdb.pascal/hello.exp
5126 * gdb.pascal/integers.exp
5127 * gdb.python/py-breakpoint.exp
5128 * gdb.python/py-cmd.exp
5129 * gdb.python/py-linetable.exp
5130 * gdb.python/py-xmethods.exp
5131 * gdb.python/python.exp
5132 * gdb.reverse/consecutive-precsave.exp
5133 * gdb.reverse/finish-precsave.exp
5134 * gdb.reverse/i386-precsave.exp
5135 * gdb.reverse/machinestate-precsave.exp
5136 * gdb.reverse/sigall-precsave.exp
5137 * gdb.reverse/solib-precsave.exp
5138 * gdb.reverse/step-precsave.exp
5139 * gdb.reverse/until-precsave.exp
5140 * gdb.reverse/watch-precsave.exp
5141 * gdb.threads/leader-exit.exp
5142 * gdb.threads/pthreads.exp
5143 * gdb.threads/wp-replication.exp
5144 * gdb.trace/actions.exp
5145 * gdb.trace/mi-tsv-changed.exp
5146 * gdb.trace/tsv.exp
5147
5148 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5149
5150 Fix test names starting with uppercase throughout the files.
5151
5152 * gdb.arch/i386-bp_permanent.exp
5153 * gdb.arch/i386-gnu-cfi.exp
5154 * gdb.base/disasm-end-cu.exp
5155 * gdb.base/macscp.exp
5156 * gdb.base/pending.exp
5157 * gdb.base/watch_thread_num.exp
5158 * gdb.cp/exception.exp
5159 * gdb.cp/gdb2495.exp
5160 * gdb.cp/local.exp
5161 * gdb.python/py-evsignal.exp
5162 * gdb.python/python.exp
5163 * gdb.trace/tracecmd.exp
5164
5165 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5166
5167 Fix test names starting with uppercase throughout the files.
5168
5169 * gdb.base/charset.exp
5170 * gdb.base/eval.exp
5171 * gdb.base/multi-forks.exp
5172 * gdb.guile/scm-progspace.exp
5173 * gdb.opencl/datatypes.exp
5174 * gdb.python/py-block.exp
5175 * gdb.python/py-function.exp
5176 * gdb.python/py-symbol.exp
5177 * gdb.python/py-symtab.exp
5178 * gdb.python/py-xmethods.exp
5179 * gdb.reverse/break-precsave.exp
5180 * gdb.reverse/break-reverse.exp
5181 * gdb.reverse/consecutive-precsave.exp
5182 * gdb.reverse/consecutive-reverse.exp
5183 * gdb.reverse/finish-precsave.exp
5184 * gdb.reverse/finish-reverse-bkpt.exp
5185 * gdb.reverse/finish-reverse.exp
5186 * gdb.reverse/fstatat-reverse.exp
5187 * gdb.reverse/getresuid-reverse.exp
5188 * gdb.reverse/i386-precsave.exp
5189 * gdb.reverse/i386-reverse.exp
5190 * gdb.reverse/i386-sse-reverse.exp
5191 * gdb.reverse/i387-stack-reverse.exp
5192 * gdb.reverse/insn-reverse.exp
5193 * gdb.reverse/machinestate-precsave.exp
5194 * gdb.reverse/machinestate.exp
5195 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5196 * gdb.reverse/pipe-reverse.exp
5197 * gdb.reverse/readv-reverse.exp
5198 * gdb.reverse/recvmsg-reverse.exp
5199 * gdb.reverse/rerun-prec.exp
5200 * gdb.reverse/s390-mvcle.exp
5201 * gdb.reverse/sigall-precsave.exp
5202 * gdb.reverse/sigall-reverse.exp
5203 * gdb.reverse/solib-precsave.exp
5204 * gdb.reverse/solib-reverse.exp
5205 * gdb.reverse/step-precsave.exp
5206 * gdb.reverse/step-reverse.exp
5207 * gdb.reverse/time-reverse.exp
5208 * gdb.reverse/until-precsave.exp
5209 * gdb.reverse/until-reverse.exp
5210 * gdb.reverse/waitpid-reverse.exp
5211 * gdb.reverse/watch-precsave.exp
5212 * gdb.reverse/watch-reverse.exp
5213
5214 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5215
5216 Fix test names starting with uppercase throughout the files.
5217
5218 * gdb.arch/i386-mpx-simple_segv.exp
5219 * gdb.arch/i386-mpx.exp
5220 * gdb.arch/i386-permbkpt.exp
5221 * gdb.arch/pa-nullify.exp
5222 * gdb.arch/powerpc-d128-regs.exp
5223 * gdb.arch/vsx-regs.exp
5224 * gdb.base/bfp-test.exp
5225 * gdb.base/break.exp
5226 * gdb.base/breakpoint-shadow.exp
5227 * gdb.base/callfuncs.exp
5228 * gdb.base/charset.exp
5229 * gdb.base/commands.exp
5230 * gdb.base/completion.exp
5231 * gdb.base/dfp-test.exp
5232 * gdb.base/echo.exp
5233 * gdb.base/ending-run.exp
5234 * gdb.base/eval.exp
5235 * gdb.base/expand-psymtabs.exp
5236 * gdb.base/float128.exp
5237 * gdb.base/floatn.exp
5238 * gdb.base/foll-exec-mode.exp
5239 * gdb.base/gdb1056.exp
5240 * gdb.base/gdb11531.exp
5241 * gdb.base/kill-after-signal.exp
5242 * gdb.base/multi-forks.exp
5243 * gdb.base/overlays.exp
5244 * gdb.base/pending.exp
5245 * gdb.base/sepdebug.exp
5246 * gdb.base/testenv.exp
5247 * gdb.base/valgrind-db-attach.exp
5248 * gdb.base/watch_thread_num.exp
5249 * gdb.base/watchpoint-cond-gone.exp
5250 * gdb.base/watchpoint.exp
5251 * gdb.base/watchpoints.exp
5252 * gdb.cp/arg-reference.exp
5253 * gdb.cp/baseenum.exp
5254 * gdb.cp/operator.exp
5255 * gdb.cp/shadow.exp
5256 * gdb.dwarf2/dw2-op-out-param.exp
5257 * gdb.dwarf2/dw2-reg-undefined.exp
5258 * gdb.go/chan.exp
5259 * gdb.go/hello.exp
5260 * gdb.go/integers.exp
5261 * gdb.go/methods.exp
5262 * gdb.go/package.exp
5263 * gdb.guile/scm-parameter.exp
5264 * gdb.guile/scm-progspace.exp
5265 * gdb.guile/scm-value.exp
5266 * gdb.mi/mi-pending.exp
5267 * gdb.mi/user-selected-context-sync.exp
5268 * gdb.multi/multi-attach.exp
5269 * gdb.multi/tids.exp
5270 * gdb.opt/clobbered-registers-O2.exp
5271 * gdb.pascal/floats.exp
5272 * gdb.pascal/integers.exp
5273 * gdb.python/py-block.exp
5274 * gdb.python/py-events.exp
5275 * gdb.python/py-parameter.exp
5276 * gdb.python/py-symbol.exp
5277 * gdb.python/py-symtab.exp
5278 * gdb.python/py-type.exp
5279 * gdb.python/py-value.exp
5280 * gdb.python/py-xmethods.exp
5281 * gdb.python/python.exp
5282 * gdb.reverse/break-precsave.exp
5283 * gdb.reverse/consecutive-precsave.exp
5284 * gdb.reverse/finish-precsave.exp
5285 * gdb.reverse/i386-precsave.exp
5286 * gdb.reverse/machinestate-precsave.exp
5287 * gdb.reverse/sigall-precsave.exp
5288 * gdb.reverse/solib-precsave.exp
5289 * gdb.reverse/step-precsave.exp
5290 * gdb.reverse/until-precsave.exp
5291 * gdb.reverse/watch-precsave.exp
5292 * gdb.server/ext-attach.exp
5293 * gdb.server/ext-restart.exp
5294 * gdb.server/ext-run.exp
5295 * gdb.server/ext-wrapper.exp
5296 * gdb.stabs/gdb11479.exp
5297 * gdb.stabs/weird.exp
5298 * gdb.threads/attach-many-short-lived-threads.exp
5299 * gdb.threads/kill.exp
5300 * gdb.threads/watchpoint-fork.exp
5301
5302 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5303
5304 Fix test names starting with uppercase throughout all the files below.
5305
5306 * gdb.ada/array_return.exp
5307 * gdb.ada/catch_ex.exp
5308 * gdb.ada/info_exc.exp
5309 * gdb.ada/mi_catch_ex.exp
5310 * gdb.ada/mi_dyn_arr.exp
5311 * gdb.ada/mi_ex_cond.exp
5312 * gdb.ada/mi_exc_info.exp
5313 * gdb.ada/mi_interface.exp
5314 * gdb.ada/mi_task_arg.exp
5315 * gdb.ada/mi_task_info.exp
5316 * gdb.ada/mi_var_array.exp
5317 * gdb.arch/alpha-step.exp
5318 * gdb.arch/amd64-disp-step.exp
5319 * gdb.arch/arm-disp-step.exp
5320 * gdb.arch/disp-step-insn-reloc.exp
5321 * gdb.arch/e500-prologue.exp
5322 * gdb.arch/ftrace-insn-reloc.exp
5323 * gdb.arch/gdb1558.exp
5324 * gdb.arch/i386-bp_permanent.exp
5325 * gdb.arch/i386-disp-step.exp
5326 * gdb.arch/i386-float.exp
5327 * gdb.arch/i386-gnu-cfi.exp
5328 * gdb.arch/ia64-breakpoint-shadow.exp
5329 * gdb.arch/mips16-thunks.exp
5330 * gdb.arch/pa-nullify.exp
5331 * gdb.arch/powerpc-aix-prologue.exp
5332 * gdb.arch/powerpc-power.exp
5333 * gdb.arch/ppc-dfp.exp
5334 * gdb.arch/s390-tdbregs.exp
5335 * gdb.arch/spu-info.exp
5336 * gdb.arch/spu-ls.exp
5337 * gdb.arch/thumb-bx-pc.exp
5338 * gdb.base/advance.exp
5339 * gdb.base/annota-input-while-running.exp
5340 * gdb.base/arrayidx.exp
5341 * gdb.base/asmlabel.exp
5342 * gdb.base/async.exp
5343 * gdb.base/attach-wait-input.exp
5344 * gdb.base/auto-connect-native-target.exp
5345 * gdb.base/batch-preserve-term-settings.exp
5346 * gdb.base/bfp-test.exp
5347 * gdb.base/bigcore.exp
5348 * gdb.base/bp-permanent.exp
5349 * gdb.base/break-always.exp
5350 * gdb.base/break-fun-addr.exp
5351 * gdb.base/break-idempotent.exp
5352 * gdb.base/break-main-file-remove-fail.exp
5353 * gdb.base/break-probes.exp
5354 * gdb.base/break-unload-file.exp
5355 * gdb.base/break.exp
5356 * gdb.base/call-ar-st.exp
5357 * gdb.base/call-rt-st.exp
5358 * gdb.base/call-sc.exp
5359 * gdb.base/call-signal-resume.exp
5360 * gdb.base/call-strs.exp
5361 * gdb.base/callexit.exp
5362 * gdb.base/callfuncs.exp
5363 * gdb.base/catch-gdb-caused-signals.exp
5364 * gdb.base/catch-signal-siginfo-cond.exp
5365 * gdb.base/catch-syscall.exp
5366 * gdb.base/compare-sections.exp
5367 * gdb.base/cond-eval-mode.exp
5368 * gdb.base/condbreak-call-false.exp
5369 * gdb.base/consecutive-step-over.exp
5370 * gdb.base/cursal.exp
5371 * gdb.base/disabled-location.exp
5372 * gdb.base/disasm-end-cu.exp
5373 * gdb.base/display.exp
5374 * gdb.base/double-prompt-target-event-error.exp
5375 * gdb.base/dprintf-bp-same-addr.exp
5376 * gdb.base/dprintf-detach.exp
5377 * gdb.base/dprintf-next.exp
5378 * gdb.base/dprintf-non-stop.exp
5379 * gdb.base/dprintf-pending.exp
5380 * gdb.base/dso2dso.exp
5381 * gdb.base/ending-run.exp
5382 * gdb.base/enum_cond.exp
5383 * gdb.base/examine-backward.exp
5384 * gdb.base/exe-lock.exp
5385 * gdb.base/exec-invalid-sysroot.exp
5386 * gdb.base/execl-update-breakpoints.exp
5387 * gdb.base/execution-termios.exp
5388 * gdb.base/fileio.exp
5389 * gdb.base/fixsection.exp
5390 * gdb.base/foll-exec-mode.exp
5391 * gdb.base/foll-exec.exp
5392 * gdb.base/fork-running-state.exp
5393 * gdb.base/frame-args.exp
5394 * gdb.base/fullpath-expand.exp
5395 * gdb.base/func-ptr.exp
5396 * gdb.base/gcore-relro-pie.exp
5397 * gdb.base/gdb1090.exp
5398 * gdb.base/gdb1555.exp
5399 * gdb.base/global-var-nested-by-dso.exp
5400 * gdb.base/gnu-ifunc.exp
5401 * gdb.base/hbreak-in-shr-unsupported.exp
5402 * gdb.base/hbreak-unmapped.exp
5403 * gdb.base/hook-stop.exp
5404 * gdb.base/infcall-input.exp
5405 * gdb.base/info-fun.exp
5406 * gdb.base/info-shared.exp
5407 * gdb.base/interrupt-noterm.exp
5408 * gdb.base/jit-so.exp
5409 * gdb.base/jit.exp
5410 * gdb.base/line-symtabs.exp
5411 * gdb.base/list.exp
5412 * gdb.base/longjmp.exp
5413 * gdb.base/macscp.exp
5414 * gdb.base/max-value-size.exp
5415 * gdb.base/nodebug.exp
5416 * gdb.base/nofield.exp
5417 * gdb.base/overlays.exp
5418 * gdb.base/paginate-after-ctrl-c-running.exp
5419 * gdb.base/paginate-bg-execution.exp
5420 * gdb.base/paginate-inferior-exit.exp
5421 * gdb.base/pending.exp
5422 * gdb.base/pr11022.exp
5423 * gdb.base/printcmds.exp
5424 * gdb.base/ptr-typedef.exp
5425 * gdb.base/ptype.exp
5426 * gdb.base/randomize.exp
5427 * gdb.base/range-stepping.exp
5428 * gdb.base/realname-expand.exp
5429 * gdb.base/relativedebug.exp
5430 * gdb.base/remote.exp
5431 * gdb.base/savedregs.exp
5432 * gdb.base/sepdebug.exp
5433 * gdb.base/set-noassign.exp
5434 * gdb.base/shlib-call.exp
5435 * gdb.base/shreloc.exp
5436 * gdb.base/sigaltstack.exp
5437 * gdb.base/sigbpt.exp
5438 * gdb.base/siginfo-addr.exp
5439 * gdb.base/siginfo-obj.exp
5440 * gdb.base/siginfo-thread.exp
5441 * gdb.base/signest.exp
5442 * gdb.base/signull.exp
5443 * gdb.base/sigrepeat.exp
5444 * gdb.base/skip.exp
5445 * gdb.base/so-impl-ld.exp
5446 * gdb.base/solib-corrupted.exp
5447 * gdb.base/solib-disc.exp
5448 * gdb.base/solib-display.exp
5449 * gdb.base/solib-overlap.exp
5450 * gdb.base/solib-search.exp
5451 * gdb.base/solib-symbol.exp
5452 * gdb.base/source-execution.exp
5453 * gdb.base/sss-bp-on-user-bp-2.exp
5454 * gdb.base/sss-bp-on-user-bp.exp
5455 * gdb.base/stack-checking.exp
5456 * gdb.base/stale-infcall.exp
5457 * gdb.base/step-break.exp
5458 * gdb.base/step-line.exp
5459 * gdb.base/step-over-exit.exp
5460 * gdb.base/step-test.exp
5461 * gdb.base/structs.exp
5462 * gdb.base/sym-file.exp
5463 * gdb.base/symtab-search-order.exp
5464 * gdb.base/term.exp
5465 * gdb.base/type-opaque.exp
5466 * gdb.base/unload.exp
5467 * gdb.base/until-nodebug.exp
5468 * gdb.base/until.exp
5469 * gdb.base/unwindonsignal.exp
5470 * gdb.base/watch-cond.exp
5471 * gdb.base/watch-non-mem.exp
5472 * gdb.base/watch_thread_num.exp
5473 * gdb.base/watchpoint-reuse-slot.exp
5474 * gdb.base/watchpoint-solib.exp
5475 * gdb.base/watchpoint.exp
5476 * gdb.btrace/dlopen.exp
5477 * gdb.cell/arch.exp
5478 * gdb.cell/break.exp
5479 * gdb.cell/bt.exp
5480 * gdb.cell/core.exp
5481 * gdb.cell/data.exp
5482 * gdb.cell/dwarfaddr.exp
5483 * gdb.cell/ea-cache.exp
5484 * gdb.cell/ea-standalone.exp
5485 * gdb.cell/ea-test.exp
5486 * gdb.cell/f-regs.exp
5487 * gdb.cell/fork.exp
5488 * gdb.cell/gcore.exp
5489 * gdb.cell/mem-access.exp
5490 * gdb.cell/ptype.exp
5491 * gdb.cell/registers.exp
5492 * gdb.cell/sizeof.exp
5493 * gdb.cell/solib-symbol.exp
5494 * gdb.cell/solib.exp
5495 * gdb.compile/compile-tls.exp
5496 * gdb.cp/exception.exp
5497 * gdb.cp/gdb2495.exp
5498 * gdb.cp/local.exp
5499 * gdb.cp/mb-inline.exp
5500 * gdb.cp/mb-templates.exp
5501 * gdb.cp/pr10687.exp
5502 * gdb.cp/pr9167.exp
5503 * gdb.cp/scope-err.exp
5504 * gdb.cp/templates.exp
5505 * gdb.cp/virtfunc.exp
5506 * gdb.dwarf2/dw2-dir-file-name.exp
5507 * gdb.dwarf2/dw2-single-line-discriminators.exp
5508 * gdb.fortran/complex.exp
5509 * gdb.fortran/library-module.exp
5510 * gdb.guile/guile.exp
5511 * gdb.guile/scm-cmd.exp
5512 * gdb.guile/scm-frame-inline.exp
5513 * gdb.guile/scm-objfile.exp
5514 * gdb.guile/scm-pretty-print.exp
5515 * gdb.guile/scm-symbol.exp
5516 * gdb.guile/scm-type.exp
5517 * gdb.guile/scm-value.exp
5518 * gdb.linespec/keywords.exp
5519 * gdb.linespec/ls-errs.exp
5520 * gdb.linespec/macro-relative.exp
5521 * gdb.linespec/thread.exp
5522 * gdb.mi/mi-breakpoint-changed.exp
5523 * gdb.mi/mi-dprintf-pending.exp
5524 * gdb.mi/mi-fullname-deleted.exp
5525 * gdb.mi/mi-logging.exp
5526 * gdb.mi/mi-pending.exp
5527 * gdb.mi/mi-solib.exp
5528 * gdb.mi/new-ui-mi-sync.exp
5529 * gdb.mi/user-selected-context-sync.exp
5530 * gdb.multi/dummy-frame-restore.exp
5531 * gdb.multi/multi-arch-exec.exp
5532 * gdb.multi/remove-inferiors.exp
5533 * gdb.multi/watchpoint-multi-exit.exp
5534 * gdb.opt/solib-intra-step.exp
5535 * gdb.perf/backtrace.exp
5536 * gdb.perf/single-step.exp
5537 * gdb.perf/skip-command.exp
5538 * gdb.perf/skip-prologue.exp
5539 * gdb.perf/solib.exp
5540 * gdb.python/lib-types.exp
5541 * gdb.python/py-as-string.exp
5542 * gdb.python/py-bad-printers.exp
5543 * gdb.python/py-block.exp
5544 * gdb.python/py-breakpoint.exp
5545 * gdb.python/py-cmd.exp
5546 * gdb.python/py-events.exp
5547 * gdb.python/py-evthreads.exp
5548 * gdb.python/py-finish-breakpoint.exp
5549 * gdb.python/py-finish-breakpoint2.exp
5550 * gdb.python/py-frame-inline.exp
5551 * gdb.python/py-frame.exp
5552 * gdb.python/py-inferior.exp
5553 * gdb.python/py-infthread.exp
5554 * gdb.python/py-mi.exp
5555 * gdb.python/py-objfile.exp
5556 * gdb.python/py-pp-maint.exp
5557 * gdb.python/py-pp-registration.exp
5558 * gdb.python/py-prettyprint.exp
5559 * gdb.python/py-recurse-unwind.exp
5560 * gdb.python/py-shared.exp
5561 * gdb.python/py-symbol.exp
5562 * gdb.python/py-symtab.exp
5563 * gdb.python/py-template.exp
5564 * gdb.python/py-type.exp
5565 * gdb.python/py-unwind-maint.exp
5566 * gdb.python/py-unwind.exp
5567 * gdb.python/py-value.exp
5568 * gdb.python/python.exp
5569 * gdb.reverse/finish-reverse-bkpt.exp
5570 * gdb.reverse/insn-reverse.exp
5571 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5572 * gdb.reverse/solib-precsave.exp
5573 * gdb.reverse/solib-reverse.exp
5574 * gdb.stabs/gdb11479.exp
5575 * gdb.stabs/weird.exp
5576 * gdb.threads/fork-child-threads.exp
5577 * gdb.threads/fork-plus-threads.exp
5578 * gdb.threads/fork-thread-pending.exp
5579 * gdb.threads/forking-threads-plus-breakpoint.exp
5580 * gdb.threads/hand-call-in-threads.exp
5581 * gdb.threads/interrupted-hand-call.exp
5582 * gdb.threads/linux-dp.exp
5583 * gdb.threads/local-watch-wrong-thread.exp
5584 * gdb.threads/next-while-other-thread-longjmps.exp
5585 * gdb.threads/non-ldr-exit.exp
5586 * gdb.threads/pending-step.exp
5587 * gdb.threads/print-threads.exp
5588 * gdb.threads/process-dies-while-detaching.exp
5589 * gdb.threads/process-dies-while-handling-bp.exp
5590 * gdb.threads/pthreads.exp
5591 * gdb.threads/queue-signal.exp
5592 * gdb.threads/reconnect-signal.exp
5593 * gdb.threads/signal-command-handle-nopass.exp
5594 * gdb.threads/signal-command-multiple-signals-pending.exp
5595 * gdb.threads/signal-delivered-right-thread.exp
5596 * gdb.threads/signal-sigtrap.exp
5597 * gdb.threads/sigthread.exp
5598 * gdb.threads/staticthreads.exp
5599 * gdb.threads/stepi-random-signal.exp
5600 * gdb.threads/thread-unwindonsignal.exp
5601 * gdb.threads/thread_check.exp
5602 * gdb.threads/thread_events.exp
5603 * gdb.threads/tid-reuse.exp
5604 * gdb.threads/tls-nodebug.exp
5605 * gdb.threads/tls-shared.exp
5606 * gdb.threads/tls-so_extern.exp
5607 * gdb.threads/tls.exp
5608 * gdb.threads/wp-replication.exp
5609 * gdb.trace/actions-changed.exp
5610 * gdb.trace/actions.exp
5611 * gdb.trace/backtrace.exp
5612 * gdb.trace/change-loc.exp
5613 * gdb.trace/collection.exp
5614 * gdb.trace/deltrace.exp
5615 * gdb.trace/disconnected-tracing.exp
5616 * gdb.trace/entry-values.exp
5617 * gdb.trace/ftrace-lock.exp
5618 * gdb.trace/ftrace.exp
5619 * gdb.trace/infotrace.exp
5620 * gdb.trace/mi-trace-frame-collected.exp
5621 * gdb.trace/mi-trace-unavailable.exp
5622 * gdb.trace/mi-traceframe-changed.exp
5623 * gdb.trace/mi-tracepoint-changed.exp
5624 * gdb.trace/mi-tsv-changed.exp
5625 * gdb.trace/no-attach-trace.exp
5626 * gdb.trace/packetlen.exp
5627 * gdb.trace/passc-dyn.exp
5628 * gdb.trace/passcount.exp
5629 * gdb.trace/pending.exp
5630 * gdb.trace/pr16508.exp
5631 * gdb.trace/qtro.exp
5632 * gdb.trace/range-stepping.exp
5633 * gdb.trace/read-memory.exp
5634 * gdb.trace/report.exp
5635 * gdb.trace/save-trace.exp
5636 * gdb.trace/signal.exp
5637 * gdb.trace/stap-trace.exp
5638 * gdb.trace/status-stop.exp
5639 * gdb.trace/strace.exp
5640 * gdb.trace/tfile.exp
5641 * gdb.trace/tfind.exp
5642 * gdb.trace/trace-break.exp
5643 * gdb.trace/trace-condition.exp
5644 * gdb.trace/trace-enable-disable.exp
5645 * gdb.trace/trace-mt.exp
5646 * gdb.trace/tracecmd.exp
5647 * gdb.trace/tracefile-pseudo-reg.exp
5648 * gdb.trace/tspeed.exp
5649 * gdb.trace/tstatus.exp
5650 * gdb.trace/tsv.exp
5651 * gdb.trace/unavailable.exp
5652 * gdb.trace/while-dyn.exp
5653 * gdb.trace/while-stepping.exp
5654 * lib/gdb-guile.exp
5655 * lib/gdb.exp
5656 * lib/mi-support.exp
5657 * lib/pascal.exp
5658 * lib/perftest.exp
5659 * lib/prelink-support.exp
5660 * lib/selftest-support.exp
5661
5662 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5663
5664 * Makefile.in: Include disable-implicit-rules.mk.
5665
5666 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5667
5668 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5669 non-byte-aligned bit fields.
5670
5671 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5672
5673 PR gdb/12616
5674 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5675 respects the DW_AT_data_bit_offset attribute.
5676
5677 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5678
5679 * gdb.base/default.exp: Fix output of "set language".
5680
5681 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5682
5683 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5684 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5685 make.
5686 * configure.ac: Remove checks for the make program.
5687 * configure: Re-generate.
5688
5689 2016-11-16 Kevin Buettner <kevinb@redhat.com>
5690
5691 * gdb.python/py-recurse-unwind.c (main): Add loop.
5692 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5693 to read_register() and gdb.parse_and_eval(). Make each code
5694 call a separate case that can be individually tested.
5695 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5696 proc. Call cont_and_backtrace for each of the code paths that
5697 we want to test in the unwinder.
5698
5699 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5700
5701 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5702 the definition of struct S.
5703
5704 2016-11-11 Catherine Moore <clm@codesourcery.com>
5705
5706 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5707
5708 2016-11-09 Pedro Alves <palves@redhat.com>
5709
5710 * gdb.base/commands.exp (runto_or_return): New procedure.
5711 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5712 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5713 (progvar_simple_while_test, progvar_complex_if_while_test)
5714 (if_while_breakpoint_command_test)
5715 (infrun_breakpoint_command_test, breakpoint_command_test)
5716 (user_defined_command_test, watchpoint_command_test)
5717 (test_command_prompt_position, redefine_hook_test)
5718 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5719 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5720 multi_line_input and multi_line. Remove gdb_expect and
5721 gdb_stop_suppressing_tests uses.
5722 * lib/gdb.exp (valnum_re): New global.
5723 (multi_line_input): New procedure.
5724
5725 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5726
5727 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5728 Remove.
5729 (test_setup): Define with proc_with_prefix.
5730 (test_cli_inferior): Likewise.
5731 (test_cli_thread): Likewise.
5732 (test_cli_frame): Likewise.
5733 (test_cli_select_frame): Likewise.
5734 (test_cli_up_down): Likewise.
5735 (test_mi_thread_select): Likewise.
5736 (test_mi_stack_select_frame): Likewise.
5737 (test_cli_in_mi_inferior): Likewise.
5738 (test_cli_in_mi_thread): Likewise.
5739 (test_cli_in_mi_frame): Likewise.
5740 (top level): Do not use with_test_prefix_procname.
5741
5742 2016-11-09 Pedro Alves <palves@redhat.com>
5743
5744 * gdb.base/commands.exp (gdbvar_simple_if_test)
5745 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5746 (progvar_simple_if_test, progvar_simple_while_test)
5747 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5748 (infrun_breakpoint_command_test, breakpoint_command_test)
5749 (user_defined_command_test, watchpoint_command_test)
5750 (test_command_prompt_position, deprecated_command_test)
5751 (bp_deleted_in_command, temporary_breakpoint_commands)
5752 (stray_arg0_test, source_file_with_indented_comment)
5753 (recursive_source_test, if_commands_test)
5754 (error_clears_commands_left, redefine_hook_test)
5755 (redefine_backtrace_test): Use proc_with_prefix.
5756 * lib/gdb.exp (proc_with_prefix): New proc.
5757
5758 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5759
5760 * gdb.base/tui-layout.c: New file.
5761 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5762 disassembly window contains very long lines.
5763
5764 2016-11-08 Tom Tromey <tom@tromey.com>
5765
5766 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5767 depend on Python 2.
5768
5769 2016-11-08 Tom Tromey <tom@tromey.com>
5770
5771 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5772 New method.
5773
5774 2016-10-29 Manish Goregaokar <manish@mozilla.com>
5775
5776 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5777
5778 2016-10-27 Manish Goregaokar <manish@mozilla.com>
5779
5780 * gdb.rust/simple.rs: Add test for univariant enums without
5781 discriminants and for encoded struct-like enums.
5782
5783 2016-10-28 Pedro Alves <palves@redhat.com>
5784
5785 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5786 gdb_test_multiple, tighten regexps and match symtabs and line
5787 tables incrementally.
5788
5789 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
5790
5791 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5792 general.
5793
5794 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
5795
5796 * gdb.base/exec-invalid-sysroot.exp: New file.
5797
5798 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5799
5800 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5801
5802 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5803
5804 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5805
5806 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5807
5808 * gdb.base/killed-outside.exp: Remove $options from a call to
5809 `prepare_for_testing'.
5810
5811 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5812
5813 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5814 Change test message.
5815
5816 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5817
5818 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5819 Update comment.
5820
5821 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5822
5823 * gdb.trace/mi-trace-save.exp: New file.
5824
5825 2016-10-13 Yao Qi <yao.qi@linaro.org>
5826
5827 * gdb.base/code_elim.exp (get_var_address): Remove.
5828 * gdb.base/relocate.exp: Likewise.
5829 * gdb.base/shreloc.exp: Likewise.
5830 * lib/gdb.exp (get_var_address): New.
5831
5832 2016-10-13 Yao Qi <yao.qi@linaro.org>
5833
5834 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5835 floating point tests if $skip_float_test is false.
5836
5837 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
5838
5839 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5840 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5841 argc values.
5842 Add 1 to argc so we guarantee distinct initial/modified argc values.
5843
5844 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5845
5846 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5847
5848 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5849
5850 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5851 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5852 * gdb.arch/vsx-regs.exp: Likewise.
5853
5854 2016-10-07 Yao Qi <yao.qi@linaro.org>
5855
5856 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5857
5858 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5859
5860 * gdb.python/python.exp: Test decode_line("*0").
5861
5862 2016-10-06 Doug Evans <dje@google.com>
5863
5864 * gdb.python/py-value.exp (test_value_creation): Add test for large
5865 unsigned 64-bit value.
5866
5867 2016-10-06 Tom Tromey <tom@tromey.com>
5868
5869 * gdb.compile/compile.exp: Change java tests to rust.
5870 * gdb.base/setshow.exp: Change java tests to rust.
5871 * gdb.base/default.exp: Remove java from language list.
5872 * README (Examples): Update language example.
5873 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5874 test.
5875 * lib/gdb.exp (skip_java_tests): Remove.
5876 * lib/java.exp: Remove.
5877 * gdb.java: Remove.
5878
5879 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5880
5881 * gdb.arch/mips-fcr.exp: New test.
5882 * gdb.arch/mips-fcr.c: Source for the new test.
5883
5884 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5885
5886 * gdb.base/solib-disc.exp: Use `standard_output_file'
5887 throughout.
5888
5889 2016-10-06 Pedro Alves <palves@redhat.com>
5890
5891 * gdb.base/jit-simple-dl.c: New file.
5892 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5893 * gdb.base/jit-simple.c: ... this.
5894 * gdb.base/jit-simple.exp (jit_run): Delete.
5895 (build_jit): New proc.
5896 (jit_test_reread): Recompile either the main program or the shared
5897 library, depending on what is being tested. Skip changing address
5898 if caller wants to. Compare before/after addresses. If testing
5899 standalone, explicitly load the binary. Test "maint info
5900 breakpoints".
5901 (top level): Add "standalone vs shared lib" and "change address"
5902 vs "same address" axes.
5903
5904 2016-10-06 Pedro Alves <palves@redhat.com>
5905
5906 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5907 call.
5908 (jit_run): Delete.
5909 (jit_test_reread): Use with_test_prefix. Reload the main binary
5910 explicitly. Compare the before/after addresses of the JIT
5911 descriptor.
5912
5913 2016-08-15 Doug Evans <dje@google.com>
5914
5915 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5916 for single bitfields is bool.
5917 * gdb.xml/tdesc-regs.exp: Ditto.
5918
5919 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5920
5921 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5922
5923 2016-10-05 Yao Qi <yao.qi@linaro.org>
5924
5925 * lib/gdb.exp (support_complex_tests): Return zero if
5926 gdb_skip_float_test return true.
5927
5928 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5929 Simon Marchi <simon.marchi@ericsson.com>
5930
5931 PR gdb/20487
5932 * gdb.mi/user-selected-context-sync.exp: New file.
5933 * gdb.mi/user-selected-context-sync.c: New file.
5934
5935 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5936 Simon Marchi <simon.marchi@ericsson.com>
5937
5938 PR gdb/20487
5939 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5940 =thread-select-event check.
5941
5942 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5943
5944 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5945 the compulsory L operand changes.
5946 * gdb.arch/powerpc-power.s: Likewise.
5947
5948 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5949
5950 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5951 * gdb.base/jit-attach-pie.c: New file.
5952 * gdb.base/jit-attach-pie.exp: New file.
5953
5954 2016-09-28 Pedro Alves <palves@redhat.com>
5955
5956 * gdb.base/infcall-input.c: New file.
5957 * gdb.base/infcall-input.exp: New file.
5958
5959 2016-09-22 Yao Qi <yao.qi@linaro.org>
5960
5961 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5962 (gdb_exit): Rename it to ...
5963 (gdbserver_gdb_exit): ... Close GDBserver.
5964 (gdb_exit): New proc, call gdbserver_gdb_exit.
5965 (mi_gdb_exit): Likewise.
5966
5967 2016-09-22 Yao Qi <yao.qi@linaro.org>
5968
5969 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5970 path.
5971 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5972 Remove duplication.
5973
5974 2016-09-22 Yao Qi <yao.qi@linaro.org>
5975
5976 * lib/gdbserver-support.exp: Check the existence of
5977 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5978
5979 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5980
5981 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5982
5983 2016-09-21 Tom Tromey <tom@tromey.com>
5984
5985 PR gdb/20604:
5986 * gdb.base/quit.exp: New file.
5987
5988 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5989
5990 * .gitignore: New file.
5991
5992 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5993
5994 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5995 throughout.
5996
5997 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5998
5999 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6000
6001 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6002
6003 * gdb.cp/casts.cc (decltype): Move it ...
6004 (main): ... with its call to ...
6005 * gdb.cp/casts03.cc: ... a new file.
6006 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6007
6008 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6009
6010 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6011
6012 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
6013
6014 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6015 and sync up the test with tests in gas/testsuite/gas/ppc.
6016 * gdb.arch/powerpc-power.exp: Likewise.
6017
6018 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6019
6020 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6021
6022 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
6023 Jan Kratochvil <jan.kratochvil@redhat.com>
6024
6025 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6026 make m1's definition to be different from m2's. Use 'dummy' as an
6027 argument for probe 'two'.
6028
6029 2016-09-10 Jon Beniston <jon@beniston.com>
6030
6031 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6032 for sim target.
6033
6034 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6035
6036 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6037 variable declaration.
6038 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
6039 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6040 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6041 received HWCAP as its argument.
6042
6043 2016-09-06 Pedro Alves <palves@redhat.com>
6044
6045 * gdb.base/new-ui-pending-input.c: New file.
6046 * gdb.base/new-ui-pending-input.exp: New file.
6047 * gdb.exp (clear_gdb_spawn_id): New procedure.
6048 (with_spawn_id): Check whether gdb_spawn_id exists before
6049 referencing it. If gdb_spawn_id didn't exist on entry, clear it
6050 on exit.
6051
6052 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6053
6054 * gdb.base/float128.c: New file.
6055 * gdb.base/float128.exp: Likewise.
6056 * gdb.base/floatn.c: Likewise.
6057 * gdb.base/floatn.exp: Likewise.
6058
6059 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6060
6061 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6062
6063 2016-09-05 Pedro Alves <palves@redhat.com>
6064
6065 PR backtrace/19927
6066 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6067 unwinders are immediately called as side effect of "source" or
6068 "disable unwinder" commands.
6069 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6070
6071 2016-09-02 Yao Qi <yao.qi@linaro.org>
6072
6073 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6074 is true and $type is "float" or "double".
6075
6076 2016-09-02 Yao Qi <yao.qi@linaro.org>
6077
6078 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6079 true.
6080 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6081 * gdb.base/call-rt-st.exp: Likewise.
6082 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6083 return value instead of gdb,skip_float_test.
6084 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6085 (do_function_calls): Use its return value instead of
6086 gdb,skip_float_test.
6087 * gdb.base/finish.exp: Likewise.
6088 * gdb.base/funcargs.exp: Likewise.
6089 * gdb.base/return.exp: Likewise.
6090 * gdb.base/return2.exp: Likewise.
6091 * gdb.base/varargs.exp: Likewise.
6092 * lib/gdb.exp (gdb_skip_float_test): Change it to
6093 gdb_caching_proc. Detect the broken ptrace on arm-linux.
6094
6095 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6096
6097 * gdb.multi/tids.exp: Test "thread apply all".
6098
6099 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6100
6101 * gdb.base/default.exp (tty): Remove.
6102
6103 2016-08-24 Kevin Buettner <kevinb@redhat.com>
6104
6105 * gdb.python/py-recurse-unwind.c: New file.
6106 * gdb.python/py-recurse-unwind.py: New file.
6107 * gdb.python/py-recurse-unwind.exp: New file.
6108
6109 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
6110
6111 * gdb.base/set-inferior-tty.exp: New file.
6112 * gdb.base/set-inferior-tty.c: New file.
6113
6114 2016-08-23 Pedro Alves <palves@redhat.com>
6115
6116 PR gdb/20494
6117 * gdb.base/new-ui-echo.c: New file.
6118 * gdb.base/new-ui-echo.exp: New file.
6119
6120 2016-08-23 Yao Qi <yao.qi@linaro.org>
6121
6122 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6123 gdbserver_spawn.
6124 * gdb.server/connect-without-multi-process.exp (do_test):
6125 Likewise.
6126
6127 2016-08-23 Yao Qi <yao.qi@linaro.org>
6128
6129 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6130 standalone_txt. Delete gdb_txt and standalone_txt on host
6131 and target. Spawn the binary on target. Copy files from
6132 target to host.
6133
6134 2016-08-22 Pedro Alves <palves@redhat.com>
6135
6136 PR gdb/20505
6137 * gdb.base/vdso-warning.exp: Test core dumps too. Use
6138 with_test_prefix. Factor out bits to ...
6139 (test_no_vdso): ... this new procedure.
6140
6141 2016-08-19 Carl Love <cel@us.ibm.com>
6142
6143 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6144 maintaining separate logic for constructing the output path.
6145 * gdb.arch/powerpc-d128-regs.exp: Likewise.
6146 * gdb.arch/ppc-dfp.exp: Likewise.
6147 * gdb.arch/ppc-fp.exp: Likewise.
6148 * gdb.arch/vsx-regs.exp: Likewise.
6149 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6150 binprefix for generating the additional binary files.
6151
6152 2016-08-19 Pedro Alves <palves@redhat.com>
6153
6154 * gdb.trace/mi-trace-frame-collected.exp
6155 (test_trace_frame_collected): On x32, expect two registers.
6156
6157 2016-08-18 Carl Love <cel@us.ibm.com>
6158
6159 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6160 and sync up the test with tests in gas/testsuite/gas/ppc.
6161 * gdb.arch/powerpc-power.exp: Likewise.
6162
6163 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6164
6165 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6166 expected error message.
6167
6168 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6169
6170 * gdb.multi/remove-inferiors.exp: New file.
6171 * gdb.multi/remove-inferiors.c: New file.
6172
6173 2016-08-12 Yao Qi <yao.qi@linaro.org>
6174
6175 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6176 argument list.
6177
6178 2016-08-10 Pedro Alves <palves@redhat.com>
6179
6180 PR gdb/19187
6181 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6182 setup_kfails.
6183
6184 2016-08-09 Pedro Alves <palves@redhat.com>
6185 Simon Marchi <simon.marchi@ericsson.com>
6186
6187 PR gdb/20418
6188 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6189 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6190
6191 2016-08-09 Pedro Alves <palves@redhat.com>
6192
6193 PR mi/20431
6194 * gdb.mi/mi-cmd-error.exp: New file.
6195
6196 2016-08-09 Pedro Alves <palves@redhat.com>
6197
6198 PR gdb/18653
6199 * gdb.base/signals-state-child.c: New file.
6200 * gdb.base/signals-state-child.exp: New file.
6201 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6202
6203 2016-08-09 Pedro Alves <palves@redhat.com>
6204
6205 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6206
6207 2016-08-03 Tom Tromey <tom@tromey.com>
6208
6209 PR python/18565:
6210 * gdb.python/py-frame-inline.exp: Add Frame.function test.
6211
6212 2016-08-01 Yao Qi <yao.qi@linaro.org>
6213
6214 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6215 variable mode to "multi-process" if $multi_process is 1, otherwise
6216 set it to "single-process".
6217
6218 2016-08-01 Yao Qi <yao.qi@linaro.org>
6219
6220 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6221 * gdb.cp/cpexprs.exp: Likewise.
6222 * gdb.cp/m-static.exp: Likewise.
6223
6224 2016-07-26 Tom Tromey <tom@tromey.com>
6225
6226 PR python/20190:
6227 * gdb.threads/tls.exp (check_thread_local): Add python symbol
6228 test.
6229
6230 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
6231
6232 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6233 selecting assembly source files.
6234 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6235 assembly source files.
6236 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6237 assembly source files.
6238 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6239 selecting assembly source files.
6240
6241 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
6242
6243 * gdb.base/new-ui.exp (do_test_invalid_args): New
6244 procedure.
6245
6246 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
6247
6248 * gdb.btrace/reconnect.c: New file.
6249 * gdb.btrace/reconnect.exp: New file.
6250
6251 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
6252
6253 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6254 to test_catch_syscall_group.
6255 (test_catch_syscall_group): New.
6256
6257 2016-07-21 Tom Tromey <tom@tromey.com>
6258
6259 * gdb.rust/simple.rs (main): Use empty struct expression.
6260 * gdb.rust/simple.exp: Add tests for empty struct expression.
6261
6262 2016-07-21 Yao Qi <yao.qi@linaro.org>
6263
6264 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6265 if gdb_skip_xml_test is true on some targets.
6266
6267 2016-07-21 Yao Qi <yao.qi@linaro.org>
6268
6269 * gdb.server/solib-list.exp: Unset last_loaded_file.
6270
6271 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6272
6273 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6274 "step into captured_main (args)".
6275
6276 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6277
6278 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6279
6280 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6281
6282 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6283
6284 2016-07-19 Pedro Alves <palves@redhat.com>
6285
6286 * gdb.opt/inline-break.exp: Remove optimize=-O2.
6287 * gdb.opt/inline-bt.exp: Likewise.
6288 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6289 additional_flags=-Winline.
6290 * gdb.opt/inline-locals.exp: Likewise.
6291 * gdb.opt/inline-markers.c (ATTR): Define.
6292 (inlined_fn): Use it.
6293
6294 2016-07-19 Yao Qi <yao.qi@linaro.org>
6295
6296 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6297 (test_with_self): Remove some code. Remove argument executable.
6298 (top-level): Use do_self_tests.
6299
6300 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
6301 Don Breazeal <donb@codesourcery.com>
6302
6303 * gdb.base/maint.exp: Escape paths used in regular expressions.
6304 * gdb.stabs/weird.exp: Likewise.
6305
6306 2016-07-13 Tom Tromey <tom@tromey.com>
6307
6308 PR python/15620, PR python/18620:
6309 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6310 (test_bkpt_events): New procs.
6311
6312 2016-07-13 Tom Tromey <tom@tromey.com>
6313
6314 PR python/17698:
6315 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6316 test.
6317 (test_watchpoints): Likewise.
6318 (test_bkpt_pending): New proc.
6319
6320 2016-07-13 Tom Tromey <tom@tromey.com>
6321
6322 PR cli/18053:
6323 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6324 completion test.
6325
6326 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6327
6328 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6329 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6330 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6331 f_label.
6332 (g): Rename g_end_lbl to g_label.
6333 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6334 low_pc and high_pc.
6335 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6336
6337 2016-07-12 Tom Tromey <tom@tromey.com>
6338
6339 PR python/19293:
6340 * gdb.python/py-unwind-maint.exp: Update tests.
6341
6342 2016-07-12 Yao Qi <yao.qi@linaro.org>
6343
6344 * lib/selftest-support.exp (selftest_setup): Match the output
6345 when captured_main is inlined.
6346
6347 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6348
6349 * gdb.fortran/derived-types.exp (result_line, result_line_2):
6350 New variables.
6351 (print this%a, print this%b, print this): New tests.
6352 * gdb.fortran/derived-types.f90 (this): New object and
6353 initialization.
6354
6355 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6356
6357 * gdb.ada/arraydim.exp: Remove extra directory level in build
6358 directory.
6359
6360 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6361
6362 * lib/ada.exp: Remove extra directory level in build directory.
6363 * gdb.ada/cond_lang.exp: Likewise.
6364 * gdb.ada/exec_changed.exp: Likewise.
6365 * gdb.ada/lang_switch.exp: Likewise.
6366
6367 2016-07-06 Manish Goregaokar <manish@mozilla.com>
6368
6369 * simple.rs: Add test for raw pointer subscripting.
6370 * simple.exp: Add test expectations.
6371
6372 2016-07-05 Yao Qi <yao.qi@linaro.org>
6373
6374 * gdb.mi/mi-reverse.exp: Match =record-started output.
6375
6376 2016-07-01 Pedro Alves <palves@redhat.com>
6377
6378 * gdb.base/jit-reader.exp (info_registers_current_frame): New
6379 procedure.
6380 (jit_reader_test): Test the jit reader's unwinder.
6381 * gdb.base/jithost.c (jit_function_00_code): New global.
6382 (main): Use memcpy to fill in the mmapped code, instead of poking
6383 bytes manually here.
6384 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6385 value.
6386 (read_debug_info): Save the function's range.
6387 (read_sp): New function.
6388 (unwind_frame): Use it. Also unwind RBP.
6389 (get_frame_id): Use read_sp.
6390 (gdb_init_reader): Use calloc instead of malloc.
6391 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6392 parameter. Use gdb_test_multiple.
6393
6394 2016-07-01 Pedro Alves <palves@redhat.com>
6395 Antoine Tremblay <antoine.tremblay@ericsson.com>
6396
6397 * gdb.threads/process-dies-while-detaching.c: New file.
6398 * gdb.threads/process-dies-while-detaching.exp: New file.
6399
6400 2016-07-01 Pedro Alves <palves@redhat.com>
6401
6402 * gdb.multi/watchpoint-multi-exit.c: New file.
6403 * gdb.multi/watchpoint-multi-exit.exp: New file.
6404
6405 2016-06-30 Pedro Alves <palves@redhat.com>
6406
6407 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6408 unset inferior_spawn_id.
6409
6410 2016-06-30 Pedro Alves <palves@redhat.com>
6411
6412 * lib/mi-support.exp (default_mi_gdb_start): Declare global
6413 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6414
6415 2016-06-29 Yao Qi <yao.qi@linaro.org>
6416
6417 * gdb.base/return.c: Add copyright header.
6418
6419 2016-06-29 Tom Tromey <tom@tromey.com>
6420
6421 PR python/20129:
6422 * gdb.python/py-framefilter.exp: Add tests for setting priority
6423 and disabling of non-existent frame filter.
6424
6425 2016-06-29 Yao Qi <yao.qi@linaro.org>
6426
6427 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6428 0x0f07ff.
6429
6430 2016-06-28 Yao Qi <yao.qi@linaro.org>
6431
6432 * gdb.base/catch-syscall.exp: Remove check on isnative and target
6433 triplets. Start gdb, execute catch syscall, and continue. Check
6434 gdb's output to determine catch syscall is supported.
6435
6436 2016-06-27 Manish Goregaokar <manish@mozilla.com>
6437
6438 * gdb.rust/simple.rs: Add test for returning unit in a function.
6439 * gdb.rust/simple.exp: Add expectation for functions returning
6440 unit.
6441
6442 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
6443
6444 * gdb.python/py-breakpoint-create-fail.c,
6445 gdb.python/py-breakpoint-create-fail.exp,
6446 gdb.python/py-breakpoint-create-fail.py: New testcase.
6447
6448 2016-06-25 Manish Goregaokar <manish@mozilla.com>
6449
6450 PR gdb/20239
6451 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6452 * gdb.rust/simple.exp: Add test expectations for new NonZero
6453 tests.
6454
6455 2016-06-24 David Taylor <dtaylor@emc.com>
6456
6457 * gdb.base/offsets.exp: New file.
6458 * gdb.base/offsets.c: New file.
6459
6460 2016-06-23 Tom Tromey <tom@tromey.com>
6461
6462 PR gdb/16483:
6463 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6464 before any filters are loaded.
6465
6466 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
6467
6468 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6469 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6470 structs.
6471 * gdb.fortran/derived-type-function.exp: New file.
6472 * gdb.fortran/derived-type-function.f90: New file.
6473
6474
6475 2016-06-21 Pedro Alves <palves@redhat.com>
6476
6477 * gdb.base/new-ui.exp: New file.
6478 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6479 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6480 (with_spawn_id): New procedure.
6481
6482 2016-06-21 Pedro Alves <palves@redhat.com>
6483
6484 * gdb.mi/mi-exec-run.exp: New file.
6485
6486 2016-06-21 Pedro Alves <palves@redhat.com>
6487
6488 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6489 breakpoint command's output on the main UI.
6490 (test_break): New procedure, factored out from calls in the top
6491 level.
6492 (top level): Use foreach_with_prefix to test MI as main UI and as
6493 separate UI.
6494
6495 2016-06-21 Pedro Alves <palves@redhat.com>
6496
6497 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6498 (test_awatch_creation_and_listing)
6499 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6500 Remove 'type' parameter.
6501 (test_watchpoint_all): New parameter mi_mode. Remove
6502 with_test_prefix.
6503 (top level): Use foreach_with_prefix, and add main/separate UI MI
6504 testing axis.
6505
6506 2016-06-21 Pedro Alves <palves@redhat.com>
6507
6508 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6509 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6510 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6511 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6512 (gdb_main_spawn_id, mi_spawn_id): Declare and
6513 comment.
6514 (mi_create_inferior_pty): New procedure,
6515 factored out from default_mi_gdb_start.
6516 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6517 procedures.
6518 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6519 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6520 Use mi_create_inferior_pty.
6521 (mi_gdb_start): Use eval to pass down args list.
6522
6523 2016-06-21 Pedro Alves <palves@redhat.com>
6524
6525 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6526 * gdb.opt/inline-cmds.exp: Add MI tests.
6527
6528 2016-06-21 Pedro Alves <palves@redhat.com>
6529
6530 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6531
6532 2016-06-21 Pedro Alves <palves@redhat.com>
6533
6534 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6535 (top level): Use it instead of mi_execute_to.
6536
6537 2016-06-21 Pedro Alves <palves@redhat.com>
6538
6539 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6540 (cont_handler_str): New.
6541 (signal_stop_handler): Set stop_handler_str instead of printing to
6542 stdout.
6543 (continue_handler): Set cont_handler_str instead of printing to
6544 stdout.
6545 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6546 mi_send_resuming_command. Print stop_handler_str and
6547 cont_handler_str instead of expecting the python events print
6548 directly.
6549
6550 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6551
6552 * gdb.base/jit-reader.exp: New file.
6553 * gdb.base/jithost.c: New file.
6554 * gdb.base/jithost.h: New file.
6555 * gdb.base/jitreader.c : New file.
6556 * gdb.base/jit-protocol.h: New file.
6557
6558 2016-06-17 Yao Qi <yao.qi@linaro.org>
6559
6560 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6561 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6562 and detach-on-fork. Adjust tests.
6563 (top level): Invoke break_cond_on_syscall with combinations of
6564 syscall, follow-fork-mode and detach-on-fork.
6565
6566 2016-06-17 Yao Qi <yao.qi@linaro.org>
6567
6568 * gdb.base/step-over-exit.c: New.
6569 * gdb.base/step-over-exit.exp: New.
6570
6571 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6572
6573 * gdb.base/float.exp: Add target check for nds32*-*-*.
6574 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6575
6576 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6577
6578 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6579 for unsupported target features.
6580 * gdb.base/call-rt-st.exp: Likewise.
6581 * gdb.base/call-sc.exp: Likewise.
6582 * gdb.base/call-signal-resume.exp: Likewise.
6583 * gdb.base/call-strs.exp: Likewise.
6584 * gdb.base/callexit.exp: Likewise.
6585 * gdb.base/callfuncs.exp: Likewise.
6586 * gdb.base/nodebug.exp: Likewise.
6587 * gdb.base/printcmds.exp: Likewise.
6588 * gdb.base/ptype.exp: Likewise.
6589 * gdb.base/structs.exp: Likewise.
6590 * gdb.base/unwindonsignal.exp: Likewise.
6591 * gdb.cp/gdb2495.exp: Likewise.
6592 * gdb.cp/templates.exp: Likewise.
6593 * gdb.cp/virtfunc.exp: Likewise.
6594 * gdb.threads/hand-call-in-threads.exp: Likewise.
6595 * gdb.threads/interrupted-hand-call.exp: Likewise.
6596 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6597
6598 2016-06-10 Tom Tromey <tom@tromey.com>
6599
6600 PR rust/20110:
6601 * gdb.rust/expr.exp: Add test for integer constant larger than
6602 i32.
6603
6604 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6605
6606 * gdb.fortran/nested-funcs.exp: New.
6607 * gdb.fortran/nested-funcs.f90: New.
6608
6609 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6610
6611 * gdb.base/examine-backward.c: New file.
6612 * gdb.base/examine-backward.exp: New file.
6613
6614 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6615
6616 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6617 matching.
6618
6619 2016-06-02 Tom Tromey <tom@tromey.com>
6620
6621 PR python/18984:
6622 * gdb.python/py-shared.exp: Add solib_name test.
6623
6624 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6625
6626 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6627
6628 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6629
6630 PR c++/19893
6631 * gdb.dwarf2/implref.exp: Rename to...
6632 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6633 * gdb.dwarf2/implref-array.c: New file.
6634 * gdb.dwarf2/implref-array.exp: Likewise.
6635 * gdb.dwarf2/implref-global.c: Likewise.
6636 * gdb.dwarf2/implref-global.exp: Likewise.
6637 * gdb.dwarf2/implref-struct.c: Likewise.
6638 * gdb.dwarf2/implref-struct.exp: Likewise.
6639
6640 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6641
6642 * gdb.trace/trace-condition.exp: Add 64bit tests.
6643
6644 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6645
6646 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6647 bits types.
6648 (main): Adapt to 8 to 64 bits types.
6649 * gdb.trace/trace-condition.exp: Add new tests.
6650
6651 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6652
6653 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6654
6655 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6656
6657 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6658 Move condition tests...
6659 * gdb.trace/trace-condition.exp: Here.
6660
6661 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6662
6663 * gdb.trace/trace-condition.exp: Add counter-case tests.
6664
6665 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6666
6667 PR c++/15231
6668 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6669 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6670
6671 2016-05-27 Pedro Alves <palves@redhat.com>
6672
6673 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6674 New procedure.
6675 (top level): Call it, and bail out of DejaGnu is known to be bad.
6676
6677 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6678
6679 * gdb.base/whatis.c: Extend the test case.
6680 * gdb.base/whatis.exp: Add additional tests.
6681
6682 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6683
6684 * gdb.fortran/type.f90: Add pointer variable.
6685 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6686
6687 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6688
6689 * gdb.fortran/vla-type.exp: Fix testcase name.
6690
6691 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6692
6693 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6694
6695 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6696
6697 * gdb.fortran/type.f90: Add nested structures.
6698 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6699 * gdb.fortran/derived-type.exp: Adapt expected output.
6700 * gdb.fortran/vla-type.exp: Adapt expected output.
6701
6702 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6703
6704 * gdb.fortran/whatis_type.exp: Adapt expected output.
6705
6706 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6707
6708 * gdb.fortran/print_type.exp: Fix expected output.
6709 * gdb.fortran/whatis_type.exp: Fix expected output.
6710
6711 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6712
6713 * gdb.fortran/whatis_type.exp: Use multi_line.
6714
6715 2016-05-24 Tom Tromey <tom@tromey.com>
6716
6717 PR python/17386:
6718 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6719 use value as an index.
6720
6721 2016-05-23 Tom Tromey <tom@tromey.com>
6722
6723 PR python/17981:
6724 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6725 no-breakpoint case.
6726
6727 2016-05-24 Pedro Alves <palves@redhat.com>
6728
6729 PR gdb/19828
6730 * gdb.threads/clone-attach-detach.c: New file.
6731 * gdb.threads/clone-attach-detach.exp: New file.
6732
6733 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6734
6735 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6736
6737 2016-05-23 Tom Tromey <tom@tromey.com>
6738
6739 PR python/19438, PR python/18393:
6740 * gdb.python/py-progspace.exp: Add "dir" test.
6741 * gdb.python/py-objfile.exp: Add "dir" test.
6742
6743 2016-05-23 Yao Qi <yao.qi@linaro.org>
6744
6745 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6746 * gdb.arch/thumb2-it.exp: Likewise.
6747
6748 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6749
6750 * gdb.mi/mi-threads-interrupt.c: New file.
6751 * gdb.mi/mi-threads-interrupt.exp: New file.
6752
6753 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6754
6755 PR gdb/18077
6756 * gdb.mi/mi-async-run.exp: New file.
6757 * gdb.mi/mi-async-run.c: New file.
6758
6759 2016-05-17 Tom Tromey <tom@tromey.com>
6760 Manish Goregaokar <manishsmail@gmail.com>
6761
6762 * lib/rust-support.exp: New file.
6763 * lib/gdb.exp (skip_rust_tests): New proc.
6764 (build_executable_from_specs): Handle rust.
6765 * lib/future.exp (gdb_find_rustc): New proc.
6766 (gdb_default_target_compile): Handle rust.
6767 * gdb.rust/expr.exp: New file.
6768 * gdb.rust/generics.exp: New file.
6769 * gdb.rust/generics.rs: New file.
6770 * gdb.rust/methods.exp: New file.
6771 * gdb.rust/methods.rs: New file.
6772 * gdb.rust/modules.exp: New file.
6773 * gdb.rust/modules.rs: New file.
6774 * gdb.rust/simple.exp: New file.
6775 * gdb.rust/simple.rs: New file.
6776
6777 2016-05-17 Tom Tromey <tom@tromey.com>
6778
6779 * gdb.base/default.exp (set language): Add rust.
6780
6781 2016-05-17 Tom Tromey <tom@tromey.com>
6782
6783 * gdb.gdb/unittest.exp: New file.
6784
6785 2016-05-16 Yao Qi <yao.qi@linaro.org>
6786
6787 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6788 shell_prompt. Update shell_prompt_re.
6789
6790 2016-05-12 Doug Evans <dje@google.com>
6791
6792 PR symtab/19999
6793 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6794 $options when building executable.
6795 * gdb.dwarf2/fission-loclists-pie.S: New file.
6796 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6797
6798 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6799
6800 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6801 of [is_remote target],
6802
6803 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6804
6805 * lib/gdb.exp (use_gdb_stub): New procedure.
6806
6807 2016-05-03 Yunlian Jiang <yunlian@google.com>
6808 Doug Evans <dje@google.com>
6809
6810 PR symtab/19914
6811 * gdb.dwarf2/dwp-sepdebug.c: New file.
6812 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6813
6814 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6815
6816 * gdb.base/detach.exp: Remove is_remote check.
6817
6818 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6819
6820 * gdb.base/annota-input-while-running.exp: Don't check for
6821 [is_remote target]. Enable annotations after running to main.
6822 Remove unused "set test..." line.
6823
6824 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6825
6826 * gdb.trace/trace-enable-disable.exp: New file.
6827 * gdb.trace/trace-enable-disable.c: New file.
6828
6829 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6830
6831 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6832 use it in info sharedlibrary test.
6833 * gdb.trace/ftrace-lock.exp: Likewise.
6834 * gdb.trace/ftrace.exp: Likewise.
6835 * gdb.trace/range-stepping.exp: Likewise.
6836 * gdb.trace/trace-break.exp: Likewise.
6837 * gdb.trace/trace-condition.exp: Likewise.
6838 * gdb.trace/trace-mt.exp: Likewise.
6839
6840 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6841
6842 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6843 (gdb_load_shlib): ... this.
6844 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6845 gdb_load_shlib.
6846 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6847 * gdb.base/ctxobj.exp: Likewise.
6848 * gdb.base/dprintf-pending.exp: Likewise.
6849 * gdb.base/dso2dso.exp: Likewise.
6850 * gdb.base/fixsection.exp: Likewise.
6851 * gdb.base/gcore-relro.exp: Likewise.
6852 * gdb.base/gdb1555.exp: Likewise.
6853 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6854 * gdb.base/gnu-ifunc.exp: Likewise.
6855 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6856 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6857 * gdb.base/pending.exp: Likewise.
6858 * gdb.base/print-file-var.exp: Likewise.
6859 * gdb.base/print-symbol-loading.exp: Likewise.
6860 * gdb.base/shlib-call.exp: Likewise.
6861 * gdb.base/shreloc.exp: Likewise.
6862 * gdb.base/so-impl-ld.exp: Likewise.
6863 * gdb.base/solib-disc.exp: Likewise.
6864 * gdb.base/solib-nodir.exp: Likewise.
6865 * gdb.base/solib-overlap.exp: Likewise.
6866 * gdb.base/solib-symbol.exp: Likewise.
6867 * gdb.base/solib-weak.exp (do_test): Likewise.
6868 * gdb.base/sym-file.exp: Likewise.
6869 * gdb.base/symtab-search-order.exp: Likewise.
6870 * gdb.base/type-opaque.exp: Likewise.
6871 * gdb.base/unload.exp: Likewise.
6872 * gdb.base/watchpoint-solib.exp: Likewise.
6873 * gdb.compile/compile.exp: Likewise.
6874 * gdb.cp/gdb2384.exp: Likewise.
6875 * gdb.cp/infcall-dlopen.exp: Likewise.
6876 * gdb.cp/re-set-overloaded.exp: Likewise.
6877 * gdb.fortran/library-module.exp: Likewise.
6878 * gdb.opt/solib-intra-step.exp: Likewise.
6879 * gdb.python/py-finish-breakpoint.exp: Likewise.
6880 * gdb.python/py-shared.exp: Likewise.
6881 * gdb.reverse/solib-precsave.exp: Likewise.
6882 * gdb.reverse/solib-reverse.exp: Likewise.
6883 * gdb.server/solib-list.exp: Likewise.
6884 * gdb.threads/dlopen-libpthread.exp: Likewise.
6885 * gdb.threads/tls-shared.exp: Likewise.
6886 * gdb.threads/tls-so_extern.exp: Likewise.
6887 * gdb.trace/change-loc.exp: Likewise.
6888 * gdb.trace/ftrace-lock.exp: Likewise.
6889 * gdb.trace/ftrace.exp: Likewise.
6890 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6891 * gdb.trace/pending.exp: Likewise.
6892 * gdb.trace/range-stepping.exp: Likewise.
6893 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6894 (strace_info_marker): Likewise.
6895 (strace_probe_marker): Likewise.
6896 (strace_trace_on_same_addr): Likewise.
6897 (strace_trace_on_diff_addr): Likewise.
6898 * gdb.trace/trace-break.exp: Likewise.
6899 * gdb.trace/trace-condition.exp: Likewise.
6900 * gdb.trace/trace-mt.exp: Likewise.
6901
6902 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6903
6904 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6905 result of gdb_remote_download.
6906 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6907 * gdb.base/dso2dso.exp: Likewise.
6908 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6909 * gdb.base/print-file-var.exp: Likewise.
6910 * gdb.base/shlib-call.exp: Likewise.
6911 * gdb.base/shreloc.exp: Likewise.
6912 * gdb.base/solib-overlap.exp: Likewise.
6913 * gdb.base/solib-weak.exp (do_test): Likewise.
6914 * gdb.base/unload.exp: Likewise.
6915
6916 2016-04-27 Yao Qi <yao.qi@linaro.org>
6917
6918 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6919 exists.
6920
6921 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6922
6923 * vla-type.exp: Print structure from toplevel.
6924
6925 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6926
6927 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6928 of dynamic types.
6929 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6930 of dynamic types.
6931
6932 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6933
6934 * gdb.fortran/vla-type.f90: New file.
6935 * gdb.fortran/vla-type.exp: New file.
6936
6937 2016-04-25 Yao Qi <yao.qi@linaro.org>
6938
6939 * gdb.base/branch-to-self.c: New file.
6940 * gdb.base/branch-to-self.exp: New file.
6941
6942 2016-04-22 Yao Qi <yao.qi@linaro.org>
6943
6944 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6945 more after $hex.
6946
6947 2016-04-22 Yao Qi <yao.qi@linaro.org>
6948
6949 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6950 * gdb.base/annota3.exp: Likewise.
6951
6952 2016-04-22 Yao Qi <yao.qi@linaro.org>
6953
6954 * gdb.reverse/step-precsave.exp: Do one step and test program
6955 stops in "callee" and do multiple steps until program goes out
6956 of "callee".
6957 * gdb.reverse/step-reverse.exp: Likewise.
6958
6959 2016-04-22 Yao Qi <yao.qi@linaro.org>
6960
6961 * gdb.trace/signal.exp: Also pass if
6962 $tracepoint_hits($i) > $iterations.
6963
6964 2016-04-22 Yao Qi <yao.qi@linaro.org>
6965
6966 * gdb.trace/signal.c: New file.
6967 * gdb.trace/signal.exp: New file.
6968
6969 2016-04-19 Doug Evans <xdje42@gmail.com>
6970
6971 * gdb.base/bad-file.exp: New file.
6972
6973 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6974
6975 * gdb.dwarf2/implref.exp: New file.
6976
6977 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6978
6979 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6980 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6981 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6982 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6983 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6984 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6985 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6986 * lib/fortran.exp (fortran_int4): New procedure.
6987 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6988 (fortran_logical4): Likewise.
6989
6990 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6991
6992 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6993
6994 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6995
6996 * lib/compiler.c: Add Intel specific preprocessor macros.
6997 * lib/compiler.cc: Likewise.
6998
6999 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
7000
7001 * gdb.server/connect-with-no-symbol-file.c: New file.
7002 * gdb.server/connect-with-no-symbol-file.exp: New file.
7003
7004 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7005
7006 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7007
7008 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7009
7010 * boards/gdbserver-base.exp (${board}_download): Copy source file to
7011 standard output directory.
7012
7013 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
7014
7015 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7016
7017 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
7018
7019 * gdb.btrace/instruction_history.c (loop): Add declaration.
7020
7021 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7022
7023 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7024
7025 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
7026
7027 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7028 parentheses to print.
7029 (continue_handler): Likewise.
7030
7031 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
7032
7033 * gdb.server/solib-list.exp: Remove is_remote check.
7034 Pass shlib= to gdb_compile. Don't link shared library with
7035 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
7036 Run binary filename through "readlink -f" on the target.
7037
7038 2016-04-08 Pedro Alves <palves@redhat.com>
7039
7040 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
7041 interpreter filename as argument to gdbserver_spawn.
7042 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7043 Return empty if $last_loaded_file does not exist.
7044
7045 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7046
7047 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7048 * gdb.base/jit-main.c: Use exit after usage.
7049
7050 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7051
7052 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7053 GDBHISTSIZE prior to the tests.
7054 * gdb.base/gdbinit-history.exp: Likewise.
7055
7056 2016-04-07 Pedro Alves <palves@redhat.com>
7057
7058 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7059 instead of build_executable. Use gdb_load_shlibs.
7060
7061 2016-04-07 Yao Qi <yao.qi@linaro.org>
7062
7063 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7064 Execute "si" command.
7065
7066 2016-04-07 Yao Qi <yao.qi@linaro.org>
7067
7068 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7069 number instead of the comments on some line.
7070
7071 2016-04-06 Don Breazeal <donb@codesourcery.com>
7072
7073 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7074 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7075
7076 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
7077
7078 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7079 standard_output_file. Remove unused binfile variable.
7080
7081 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
7082
7083 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7084 * gdb.python/py-mi-objfile.exp: Match "list main" output
7085 in console format.
7086
7087 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
7088
7089 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7090 absolute.
7091
7092 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7093
7094 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7095 absolute.
7096 * gdb.trace/ftrace.exp: Likewise.
7097 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7098 targets as well.
7099 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7100 (gdb_load_shlibs): Copy libraries to test directory when testing
7101 natively. Only set solib-search-path if testing remotely.
7102 * lib/mi-support.exp (mi_load_shlibs): Likewise.
7103
7104 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7105
7106 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7107 gdb_download. Use it even if the target is not remote.
7108 * gdb.base/jit.exp (compile_jit_test): Likewise.
7109 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7110 output directory if the destination board is local, otherwise use
7111 the standard remote_download from DejaGnu.
7112 (gdb_download): Remove.
7113 (gdb_load_shlibs): Use gdb_remote_download instead of
7114 gdb_download.
7115 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7116 Use gdb_remote_download instead of gdb_download. Use it even if
7117 the target is not remote.
7118 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7119 instead of gdb_download.
7120
7121 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
7122
7123 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7124 (test_insert_delete_modify): Call mi_load_shlibs before trying to
7125 run.
7126
7127 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
7128
7129 PR gdb/19820
7130 * gdb.base/printcmds.exp: Add artificial arrays tests.
7131
7132 2016-03-31 Pedro Alves <palves@redhat.com>
7133
7134 PR gdb/19858
7135 * gdb.base/jit-main.c: Include unistd.h.
7136 (ATTACH): Define to 0 if not already defined.
7137 (wait_for_gdb, mypid): New globals.
7138 (WAIT_FOR_GDB): New macro.
7139 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
7140 some breakpoint locations.
7141 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7142 New procedures.
7143 (one_jit_test): Add REATTACH parameter, and handle it. Use
7144 continue_to_test_location.
7145 (top level): Test attach, and adjusts calls to one_jit_test.
7146
7147 2016-03-31 Pedro Alves <palves@redhat.com>
7148
7149 PR gdb/19858
7150 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
7151 BINSUFFIX parameter, and handle it.
7152 (top level): Adjust calls compile_jit_test.
7153
7154 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
7155
7156 PR python/19743
7157 * gdb.python/py-mi-events-gdb.py: New file.
7158 * gdb.python/py-mi-events.c: New file.
7159 * gdb.python/py-mi-events.exp: New file.
7160
7161 2016-03-30 Yao Qi <yao.qi@linaro.org>
7162
7163 * gdb.reverse/until-precsave.exp: Match function name only.
7164 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7165 Move malloc to a condition block.
7166 * gdb.reverse/until-reverse.exp: Match function name only.
7167
7168 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
7169
7170 * gdb.trace/ftrace.exp: Set arg0exp for s390.
7171 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7172 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7173 variable for GPR 0 instead of assuming it is register 0.
7174 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7175 * lib/trace-support.exp: Add s390 registers.
7176
7177 2016-03-29 Yao Qi <yao.qi@linaro.org>
7178
7179 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7180
7181 2016-03-24 Yao Qi <yao.qi@linaro.org>
7182
7183 * gdb.reverse/break-reverse.exp: Add quotation mark in the
7184 test message.
7185
7186 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7187
7188 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7189 maintaining separate logic for constructing the output path.
7190
7191 2016-03-16 Don Breazeal <donb@codesourcery.com>
7192
7193 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7194 Retry fork and waitpid on interrupted system call errors.
7195 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7196 Use with_timeout_factor to increase timeout by factor of 10.
7197
7198 2016-03-15 Don Breazeal <donb@codesourcery.com>
7199
7200 * gdb.cp/scope-err.cc: New test program.
7201 * gdb.cp/scope-err.exp: New test script.
7202 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7203 lines and "set breakpoint here" comment.
7204 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7205 Fixed some whitespace and format issues.
7206 * gdb.mi/mi-linespec-err-cp.cc: New test program.
7207 * gdb.mi/mi-linespec-err-cp.exp: New test script.
7208
7209 2016-03-15 Doug Evans <dje@google.com>
7210
7211 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7212 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7213 All callers updated. Add tests for enums, mixed flags register.
7214
7215 2016-03-15 Doug Evans <dje@google.com>
7216
7217 * gdb.base/skip.c (main): Call test_skip_file_and_function.
7218 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7219
7220 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
7221
7222 * gdb.base/default.exp: Add $_as_string to the list of expected
7223 convenience functions.
7224
7225 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
7226
7227 * gdb.base/maint.exp: New tests for 'maint info line-table'.
7228
7229 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
7230
7231 * gdb.python/py-as-string.exp: New file.
7232 * gdb.python/py-as-string.c: New file.
7233
7234 2016-03-09 Pedro Alves <palves@redhat.com>
7235
7236 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7237 signal" -> "Thread NN received signal" output change.
7238 * gdb.threads/ia64-sigill.exp: Likewise.
7239 * gdb.threads/linux-dp.exp: Likewise.
7240 * gdb.threads/manythreads.exp: Likewise.
7241 * gdb.threads/pending-step.exp: Likewise.
7242 * gdb.threads/print-threads.exp: Likewise.
7243 * gdb.threads/sigstep-threads.exp: Likewise.
7244 * gdb.threads/staticthreads.exp: Likewise.
7245 * gdb.threads/tls.exp: Likewise.
7246
7247 2016-03-09 Pedro Alves <palves@redhat.com>
7248
7249 * gdb.base/command-line-input.exp: New file.
7250
7251 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7252
7253 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7254 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7255 * gdb.trace/pending.exp: Accept leading dot before function name.
7256 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7257 * lib/trace-support.exp: Set registers for ppc.
7258
7259 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7260
7261 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7262 use it for disassembly; accept .main in addition to main in backtrace.
7263
7264 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
7265 Marcin Kościelnicki <koriakin@0x04.net>
7266
7267 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7268 (gdb_recursion_test_ptr): New global variable.
7269 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7270 gdb_recursion_test.
7271 (gdb_c_test): Ditto.
7272
7273 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7274
7275 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7276 ordering.
7277
7278 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7279
7280 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7281 (bar): Add bar_start_lbl label.
7282 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7283 of foo/bar for emitting DWARF and tracing.
7284
7285 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
7286
7287 * analyze-racy-logs.py: Set executable bit.
7288
7289 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
7290
7291 * Makefile.in (DEFAULT_RACY_ITER): New variable.
7292 (CHECK_TARGET_TMP): Likewise.
7293 (check-single-racy): New rule.
7294 (check-parallel-racy): Likewise.
7295 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7296 (do-check-parallel-racy): New rule.
7297 (check-racy/%.exp): Likewise.
7298 * README (Racy testcases): New section.
7299 * analyze-racy-logs.py: New file.
7300
7301 2016-03-03 Doug Evans <dje@google.com>
7302
7303 * gdb.base/skip.exp: Use with_test_prefix.
7304
7305 2016-03-03 Yao Qi <yao.qi@linaro.org>
7306
7307 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7308 Invoke step_over_syscall "clone" and break_cond_on_syscall
7309 "clone".
7310 * gdb.base/step-over-clone.c: New file.
7311
7312 2016-03-03 Yao Qi <yao.qi@linaro.org>
7313
7314 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7315 code format.
7316
7317 2016-03-03 Yao Qi <yao.qi@linaro.org>
7318
7319 * gdb.base/disp-step-fork.c: Rename to ...
7320 * gdb.base/step-over-fork.c: ... it. New file.
7321 * gdb.base/disp-step-vfork.c: Rename to ...
7322 * gdb.base/step-over-vfork.c: ... it. New file.
7323 * gdb.base/disp-step-syscall.exp: Rename to ...
7324 * gdb.base/step-over-syscall.exp: ... it. New file.
7325 (disp_step_cross_syscall): Rename to ...
7326 (step_over_syscall): ... it.
7327
7328 2016-03-03 Yao Qi <yao.qi@linaro.org>
7329
7330 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7331 If target supports condition evaluation on target, invoke
7332 break_cond_on_syscall for fork and vfork.
7333
7334 2016-03-03 Yao Qi <yao.qi@linaro.org>
7335
7336 * gdb.base/disp-step-syscall.exp: Don't invoke
7337 support_displaced_stepping.
7338 (disp_step_cross_syscall): Test with displaced stepping off and
7339 on if supported.
7340
7341 2016-03-03 Yao Qi <yao.qi@linaro.org>
7342
7343 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7344 proc.
7345 (setup): New proc.
7346 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7347 and setup.
7348
7349 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7350
7351 * gdb.fortran/vla-history.exp: Remove breakpoint.
7352
7353 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7354
7355 * gdb.fortran/vla-history.exp: Lookup array elements and printing
7356 exceeds timeout.
7357
7358 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7359
7360 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7361 breakpoint.
7362
7363 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7364
7365 * gdb.mi/vla.f90: Nullify pointer after declaration.
7366
7367 2016-03-01 Pedro Alves <palves@redhat.com>
7368
7369 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7370
7371 2016-03-01 Pedro Alves <palves@redhat.com>
7372
7373 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7374 before anything else.
7375 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
7376 _GNU_SOURCE here.
7377 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7378 before anything else.
7379 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7380
7381 2016-03-01 Pedro Alves <palves@redhat.com>
7382
7383 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7384
7385 2016-03-01 Yao Qi <yao.qi@linaro.org>
7386
7387 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7388 prepare_for_testing.
7389
7390 2016-03-01 Yao Qi <yao.qi@linaro.org>
7391
7392 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7393
7394 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7395
7396 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7397 manually constructing the output path.
7398
7399 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7400
7401 * gdb.arch/s390-stackless.S: New.
7402 * gdb.arch/s390-stackless.exp: New.
7403
7404 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
7405
7406 * gdb.dlang/circular.c: New file.
7407 * gdb.dlang/circular.exp: New file.
7408
7409 2016-02-26 Yao Qi <yao.qi@linaro.org>
7410
7411 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7412 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7413 (testcases): Update.
7414
7415 2016-02-26 Yao Qi <yao.qi@linaro.org>
7416
7417 * gdb.reverse/aarch64.c: Rename to ...
7418 * gdb.reverse/insn-reverse.c: ... it.
7419 * gdb.reverse/aarch64.exp: Rename to ...
7420 * gdb.reverse/insn-reverse.exp: ... it.
7421
7422 2016-02-26 Yao Qi <yao.qi@linaro.org>
7423
7424 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7425 (testcase_ftype): New.
7426 (testcases): New array.
7427 (n_testcases): New.
7428 (main): Call each element in testcases.
7429 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7430 (read_testcase): New.
7431 Do the tests in a loop.
7432
7433 2016-02-25 Yao Qi <yao.qi@linaro.org>
7434
7435 * gdb.base/branches.c: Remove.
7436
7437 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7438
7439 PR gdb/13808
7440 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7441
7442 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7443
7444 * gdb.trace/ftrace.exp: Remove unnecessary target check.
7445
7446 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7447
7448 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7449 change x86_64 call_insn to 'callq'.
7450
7451 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7452
7453 * gdb.trace/tfile-avx.c: Move to...
7454 * gdb.trace/tracefile-pseudo-reg.c: Here.
7455 * gdb.trace/tfile-avx.exp: Move to...
7456 * gdb.trace/tracefile-pseudo-reg.exp: Here.
7457
7458 2016-02-24 Gary Benson <gbenson@redhat.com>
7459
7460 * gdb.base/attach-pie-noexec.exp: Do not expect an error
7461 message on attach.
7462
7463 2016-02-23 Doug Evans <dje@google.com>
7464
7465 * gdb.base/skip.c (test_skip): New function.
7466 (end_test_skip_file_and_function): New function.
7467 (test_skip_file_and_function): New function.
7468 * gdb.base/skip1.c (test_skip): New function.
7469 (skip1_test_skip_file_and_function): New function.
7470 * gdb.base/skip.exp: Add tests for new skip options.
7471 * gdb.base/skip-solib.exp: Update expected output.
7472 * gdb.perf/skip-command.cc: New file.
7473 * gdb.perf/skip-command.exp: New file.
7474 * gdb.perf/skip-command.py: New file.
7475
7476 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
7477
7478 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7479 info registers pattern.
7480
7481 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
7482
7483 * lib/future.exp: Add D support.
7484 (gdb_find_gdc): New proc.
7485 (gdb_default_target_compile): Add D support.
7486
7487 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
7488
7489 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7490 user+system time.
7491 (trace_speed_test): Determine the iteration count for a time
7492 between 15..30 seconds.
7493
7494 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
7495
7496 * gdb.arch/i386-mpx-sigsegv.c: New file.
7497 * gdb.arch/i386-mpx-sigsegv.exp: New file.
7498 * gdb.arch/i386-mpx-simple_segv.c: New file.
7499 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7500
7501 2016-02-18 Yao Qi <yao.qi@linaro.org>
7502
7503 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7504 Don't call setup_kfail.
7505
7506 2016-02-18 Yao Qi <yao.qi@linaro.org>
7507
7508 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7509 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7510
7511 2016-02-16 Doug Evans <dje@google.com>
7512
7513 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7514 * gdb.base/skip1.c: Ditto.
7515 * gdb.base/skip.exp: Whitespace cleanup.
7516
7517 2016-02-16 Don Breazeal <donb@codesourcery.com>
7518
7519 PR remote/19496
7520 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7521 Remove kfail for PR remote/19496.
7522
7523 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7524
7525 * lib/gdb.exp (standard_temp_file): Return a path specific to
7526 the runtest invocation.
7527
7528 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7529
7530 * gdb.trace/save-trace.exp: Change relative path to be in the
7531 standard output directory.
7532
7533 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7534
7535 * gdb.arch/i386-prologue.c: Add missing prototypes.
7536
7537 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7538
7539 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7540 * gdb.arch/i386-prologue.exp: Likewise.
7541 * gdb.arch/i386-size.exp: Likewise.
7542
7543 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7544
7545 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7546 define object file path.
7547 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7548 file path.
7549 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7550 standard_output_file to define binfile.
7551
7552 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7553
7554 Fix compatibility with recent gfortran-5.3.1.
7555 * gdb.fortran/vla-history.exp (print vla1 allocated)
7556 (print vla2 allocated, print $2, print $3): Remove
7557 (print $4): Rename to ...
7558 (print $2): ... here.
7559 (print $9): Rename to ...
7560 (print $5): ... here.
7561 (print $10): Rename to ...
7562 (print $6): ... here.
7563 * gdb.fortran/vla.f90: Add pvla initialization.
7564
7565 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7566
7567 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7568 New test.
7569 * gdb.fortran/vla-value-sub.exp: Likewise.
7570
7571 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7572
7573 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7574
7575 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7576
7577 * i386-biarch-core.exp: Define corefile using
7578 standard_output_file.
7579
7580 2016-02-12 Yao Qi <yao.qi@linaro.org>
7581
7582 * gdb.arch/arm-single-step-kernel-helper.c: New.
7583 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7584
7585 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7586
7587 * gdb.btrace/tailcall-only.exp: New.
7588 * gdb.btrace/tailcall-only.c: New.
7589 * gdb.btrace/x86_64-tailcall-only.S: New.
7590 * gdb.btrace/i686-tailcall-only.S: New.
7591
7592 2016-02-11 Pedro Alves <palves@redhat.com>
7593
7594 * README (Parallel testing): Add missing double quotes.
7595
7596 2016-02-11 Pedro Alves <palves@redhat.com>
7597
7598 * README (Parallel testing): New section.
7599 (GDB_PARALLEL): Rewrite.
7600 (FORCE_PARALLEL): Document.
7601
7602 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7603
7604 * gdb.trace/tfile-avx.c: New test.
7605 * gdb.trace/tfile-avx.exp: New test.
7606
7607 2016-02-09 Keith Seitz <keiths@redhat.com>
7608
7609 PR breakpoints/19546
7610 * gdb.base/infcall-exec.c: New file.
7611 * gdb.base/infcall-exec2.c: New file.
7612 * gdb.base/infcall-exec.exp: New file.
7613
7614 2016-02-09 Keith Seitz <keiths@redhat.com>
7615
7616 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7617 (toplevel): Call test_bkpt_address.
7618
7619 2016-02-09 Keith Seitz <keiths@redhat.com>
7620
7621 PR python/19506
7622 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7623 (toplevel): Call test_bkpt_address.
7624
7625 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7626
7627 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7628 to AC_OUTPUT.
7629 * configure: Regenerate.
7630
7631 2016-02-09 Pedro Alves <palves@redhat.com>
7632
7633 PR breakpoints/19548
7634 * gdb.base/execl-update-breakpoints.c (some_function): New
7635 function.
7636 (main): Call it.
7637 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7638 Tighten expected GDB output.
7639
7640 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7641
7642 * Makefile.in (ALL_SUBDIRS): Remove.
7643 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7644 (distclean maintainer-clean realclean): Likewise.
7645 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7646 * configure: Regenerate.
7647 * gdb.ada/Makefile.in: Delete.
7648 * gdb.arch/Makefile.in: Likewise.
7649 * gdb.asm/Makefile.in: Likewise.
7650 * gdb.base/Makefile.in: Likewise.
7651 * gdb.btrace/Makefile.in: Likewise.
7652 * gdb.cell/Makefile.in: Likewise.
7653 * gdb.compile/Makefile.in: Likewise.
7654 * gdb.cp/Makefile.in: Likewise.
7655 * gdb.disasm/Makefile.in: Likewise.
7656 * gdb.dlang/Makefile.in: Likewise.
7657 * gdb.dwarf2/Makefile.in: Likewise.
7658 * gdb.fortran/Makefile.in: Likewise.
7659 * gdb.gdb/Makefile.in: Likewise.
7660 * gdb.go/Makefile.in: Likewise.
7661 * gdb.guile/Makefile.in: Likewise.
7662 * gdb.java/Makefile.in: Likewise.
7663 * gdb.linespec/Makefile.in: Likewise.
7664 * gdb.mi/Makefile.in: Likewise.
7665 * gdb.modula2/Makefile.in: Likewise.
7666 * gdb.multi/Makefile.in: Likewise.
7667 * gdb.objc/Makefile.in: Likewise.
7668 * gdb.opencl/Makefile.in: Likewise.
7669 * gdb.opt/Makefile.in: Likewise.
7670 * gdb.pascal/Makefile.in: Likewise.
7671 * gdb.perf/Makefile.in: Likewise.
7672 * gdb.python/Makefile.in: Likewise.
7673 * gdb.reverse/Makefile.in: Likewise.
7674 * gdb.server/Makefile.in: Likewise.
7675 * gdb.stabs/Makefile.in: Likewise.
7676 * gdb.threads/Makefile.in: Likewise.
7677 * gdb.trace/Makefile.in: Likewise.
7678 * gdb.xml/Makefile.in: Likewise.
7679 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7680 GDB_PARALLEL.
7681 (standard_output_file): Remove check for GDB_PARALLEL, always
7682 return path in outputs/$subdir/$testname.
7683
7684 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7685
7686 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7687 (site.exp): Assign abs_srcdir to tcl's srcdir.
7688
7689 2016-02-04 Yao Qi <yao.qi@linaro.org>
7690
7691 * gdb.base/foll-exec-mode.c: Include limits.h.
7692 (main): Add parameters argc and argv. Get directory from
7693 argv[0].
7694 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7695 compilation.
7696 * gdb.base/foll-exec.c: Include limits.h.
7697 (main): Add parameters argc and argv.
7698 Get directory from argv[0].
7699 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7700 Adjust tests on the number of lines as source code changed.
7701 * gdb.base/foll-vfork-exit.c: Include limits.h.
7702 (main): Add one line of statement before vfork.
7703 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7704 (main): Add parameters argc and argv. Get directory from
7705 argv[0].
7706 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7707 (setup_gdb): Set tbreak to skip some source lines.
7708 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7709 (main): Add parameters argc and argv. Get directory from
7710 argv[0].
7711 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7712 compilation.
7713 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7714 (main): Add parameters argc and argv. Get directory from
7715 argv[0].
7716 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7717 compilation.
7718
7719 2016-02-01 Doug Evans <dje@google.com>
7720
7721 * gdb.base/skip.exp: Clean up multiple references to same test name.
7722
7723 2016-02-01 Pedro Alves <palves@redhat.com>
7724
7725 PR remote/19496
7726 * gdb.threads/forking-threads-plus-breakpoint.exp
7727 (displaced_stepping_supported): New global.
7728 (probe_displaced_stepping_support): New procedure.
7729 (do_test): Add 'displaced' parameter, and use it.
7730 (top level): Check for displaced stepping support. Add displaced
7731 stepping on/off testing axis.
7732
7733 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7734
7735 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7736 pointer. Don't perform further tests on the unassociated pointer
7737 if the first test fails.
7738
7739 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7740
7741 * gdb.base/max-value-size.c: New file.
7742 * gdb.base/max-value-size.exp: New file.
7743 * gdb.base/huge.exp: Disable max-value-size for this test.
7744
7745 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7746
7747 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7748
7749 2016-01-28 Yao Qi <yao.qi@linaro.org>
7750
7751 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7752
7753 2016-01-25 Pedro Alves <palves@redhat.com>
7754
7755 PR threads/19461
7756 * gdb.base/fork-running-state.c: New file.
7757 * gdb.base/fork-running-state.exp: New file.
7758
7759 2016-01-25 Pedro Alves <palves@redhat.com>
7760
7761 PR gdb/19494
7762 * gdb.base/catch-fork-kill.c: New file.
7763 * gdb.base/catch-fork-kill.exp: New file.
7764
7765 2016-01-25 Pedro Alves <palves@redhat.com>
7766
7767 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7768 Delete, moved to lib/gdb.exp.
7769 * gdb.threads/forking-threads-plus-breakpoint.exp
7770 (foreach_with_prefix): Likewise.
7771 * gdb.threads/process-dies-while-handling-bp.exp
7772 (foreach_with_prefix): Likewise.
7773 * lib/gdb.exp (foreach_with_prefix): New procedure.
7774
7775 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7776
7777 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7778 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7779
7780 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7781
7782 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7783 endian targets.
7784
7785 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7786 Pedro Alves <palves@redhat.com>
7787
7788 Fix testsuite compatibility with Guile.
7789 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7790 number.
7791
7792 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7793
7794 Fix testsuite compatibility with Guile.
7795 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7796 (thread 1): New test for backtrace through signal handler.
7797
7798 2016-01-22 Yao Qi <yao.qi@linaro.org>
7799
7800 PR testsuite/19491
7801 * gdb.base/multi-forks.c: Include
7802 ../lib/unbuffer_output.c
7803 (main): Call gdb_unbuffer_output.
7804
7805 2016-01-21 Doug Evans <dje@google.com>
7806
7807 * lib/ada.exp (gdb_compile_ada): Fix typo.
7808
7809 2016-01-21 Joel Brobecker <brobecker@adacore.com>
7810
7811 * gdb.base/break-fun-addr.exp: New file.
7812 * gdb.base/break-fun-addr1.c: New file.
7813 * gdb.base/break-fun-addr2.c: New file.
7814
7815 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7816
7817 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7818 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7819 enum flag values.
7820
7821 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7822
7823 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7824 when GDB can not set the vector return value. Add more comments
7825 for clarification.
7826
7827 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7828
7829 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7830 command.
7831
7832 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7833
7834 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7835
7836 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7837
7838 * Makefile.in (check-single): Pass --status to runtest.
7839 (check/%.exp): Likewise.
7840
7841 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7842
7843 * Makefile.in (check-parallel): Propagate return code from make
7844 do-check-parallel.
7845
7846 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7847
7848 * gdb.trace/ftrace.exp: Fix expected message on continue.
7849 * gdb.trace/pending.exp: Fix expected message on continue.
7850 * gdb.trace/trace-break.exp: Fix expected message on continue.
7851
7852 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7853
7854 * lib/gdb.exp (gdb_test): Remove unused global references.
7855
7856 2016-01-18 Pedro Alves <palves@redhat.com>
7857
7858 * gdb.base/async-shell.exp: Adjust expected output.
7859 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7860 * gdb.base/siginfo-thread.exp: Adjust expected output.
7861 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7862 * gdb.java/jnpe.exp: Adjust expected output.
7863 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7864 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7865 * gdb.threads/leader-exit.exp: Adjust expected output.
7866 * gdb.threads/manythreads.exp: Adjust expected output.
7867 * gdb.threads/pthreads.exp: Adjust expected output.
7868 * gdb.threads/schedlock.exp: Adjust expected output.
7869 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7870 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7871 expected output.
7872 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7873 output.
7874 * gdb.threads/sigthread.exp: Adjust expected output.
7875 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7876
7877 2016-01-18 Yao Qi <yao.qi@linaro.org>
7878
7879 * gdb.guile/scm-section-script.c: Replace @progbits with
7880 %progbits.
7881 * gdb.python/py-section-script.c: Likewise.
7882
7883 2016-01-15 Pedro Alves <palves@redhat.com>
7884
7885 * gdb.multi/tids.exp: Test star wildcard ranges.
7886
7887 2016-01-15 Pedro Alves <palves@redhat.com>
7888
7889 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7890 command from "thread apply" invocation.
7891 (thr_apply_info_thr_invalid): Default the expected output to the
7892 input tid list.
7893 (top level): Add tests that use convenience variables. Add tests
7894 for "thread apply" with a valid TID list, but missing the command.
7895
7896 2016-01-13 Pedro Alves <palves@redhat.com>
7897
7898 * gdb.base/default.exp: Expect $_gthread as well.
7899 * gdb.multi/tids.exp: Test $_gthread.
7900 * gdb.threads/thread-specific.exp: Test $_gthread.
7901
7902 2016-01-13 Pedro Alves <palves@redhat.com>
7903
7904 * gdb.multi/tids.exp: Test "info threads -gid".
7905
7906 2016-01-13 Pedro Alves <palves@redhat.com>
7907
7908 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7909 Breakpoint.thread.
7910 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7911
7912 2016-01-07 Pedro Alves <palves@redhat.com>
7913
7914 * gdb.base/break.exp: Adjust to output changes.
7915 * gdb.base/hbreak2.exp: Likewise.
7916 * gdb.base/sepdebug.exp: Likewise.
7917 * gdb.base/watch_thread_num.exp: Likewise.
7918 * gdb.linespec/keywords.exp: Likewise.
7919 * gdb.multi/info-threads.exp: Likewise.
7920 * gdb.threads/thread-find.exp: Likewise.
7921 * gdb.multi/tids.c: New file.
7922 * gdb.multi/tids.exp: New file.
7923
7924 2016-01-13 Pedro Alves <palves@redhat.com>
7925
7926 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7927
7928 2016-01-13 Pedro Alves <palves@redhat.com>
7929
7930 * gdb.base/default.exp: Expect $_inferior as well.
7931 * gdb.multi/base.exp: Test $_inferior.
7932
7933 2016-01-13 Pedro Alves <palves@redhat.com>
7934
7935 PR breakpoints/19388
7936 * gdb.base/catch-signal-siginfo-cond.c: New file.
7937 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7938
7939 2016-01-12 Josh Stone <jistone@redhat.com>
7940 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7941
7942 * gdb.base/catch-syscall.c (do_execve): New variable.
7943 (main): Conditionally trigger an execve.
7944 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7945 (test_catch_syscall_execve): New, check entry/return across execve.
7946 (do_syscall_tests): Call test_catch_syscall_execve.
7947
7948 2016-01-12 Pedro Alves <palves@redhat.com>
7949
7950 * gdb.base/random-signal.exp (do_test): New procedure, with body
7951 of testcase moved in.
7952
7953 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7954 Pedro Alves <palves@redhat.com>
7955
7956 * gdb.base/funcargs.exp (finish from indirectly called function):
7957 Reintroduce the case for 'First'.
7958
7959 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7960 Pedro Alves <palves@redhat.com>
7961
7962 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7963 (tcatch_vfork_then_child_follow_exec)
7964 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7965 identification.
7966
7967 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7968
7969 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7970 and repeats to unlimited.
7971 * gdb.python/py-value.exp: Likewise.
7972 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7973 and repeats to unlimited.
7974
7975 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7976
7977 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7978 and reordering the functions.
7979 * gdb.multi/hangout.c: Likewise.
7980 * gdb.multi/hello.c: Likewise.
7981
7982 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7983
7984 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7985 absolute.
7986 (SingleStatisticTestResult.report): Use dict.keys instead of
7987 dict.iterkeys.
7988
7989 2016-01-06 Pedro Alves <palves@redhat.com>
7990
7991 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7992
7993 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7994
7995 * gdb.btrace/dlopen.exp: New.
7996 * gdb.btrace/dlopen.c: New.
7997 * gdb.btrace/dlopen-dso.c: New.
7998
7999 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
8000
8001 * lib/gdb.exp (gdb_test): Update comments to clarify that the
8002 PATTERN argument is optional.
8003
8004 2015-12-24 Joel Brobecker <brobecker@adacore.com>
8005
8006 * lib/ada.exp (target_compile_ada_from_dir): New function.
8007 (gdb_compile_ada): Reimplement avoiding the use of project files.
8008 * gdb.ada/gnat_ada.gpr: Delete.
8009 * gdb.ada/cond_lang.exp: Adjust test to make path before
8010 filename optional.
8011 * gdb.ada/small_reg_param.exp: Likewise.
8012
8013 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
8014
8015 * gdb.base/foll-vork.exp: Remove HP-UX special case.
8016
8017 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
8018
8019 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8020 case.
8021
8022 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
8023
8024 * gdb.base/break.exp: Remove dead code.
8025 * gdb.base/sepdebug.exp: Likewise.
8026
8027 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8028
8029 * gdb.asm/asm-source.exp: Remove HP-UX references.
8030 * gdb.base/annota1.exp: Likewise.
8031 * gdb.base/annota3.exp: Likewise.
8032 * gdb.base/attach.exp: Likewise.
8033 * gdb.base/bigcore.exp: Likewise.
8034 * gdb.base/break.exp: Likewise.
8035 * gdb.base/call-ar-st.exp: Likewise.
8036 * gdb.base/callfuncs.exp: Likewise.
8037 * gdb.base/catch-fork-static.exp: Likewise.
8038 * gdb.base/display.exp: Likewise.
8039 * gdb.base/foll-exec-mode.exp: Likewise.
8040 * gdb.base/foll-exec.exp: Likewise.
8041 * gdb.base/foll-fork.exp: Likewise.
8042 * gdb.base/foll-vfork.exp: Likewise.
8043 * gdb.base/funcargs.exp: Likewise.
8044 * gdb.base/hbreak2.exp: Likewise.
8045 * gdb.base/inferior-died.exp: Likewise.
8046 * gdb.base/interrupt.exp: Likewise.
8047 * gdb.base/multi-forks.exp: Likewise.
8048 * gdb.base/nodebug.exp: Likewise.
8049 * gdb.base/sepdebug.exp: Likewise.
8050 * gdb.base/solib1.c: Likewise.
8051 * gdb.base/step-test.exp: Likewise.
8052 * gdb.mi/non-stop.c: Likewise.
8053 * gdb.mi/pthreads.c: Likewise.
8054 * gdb.multi/bkpt-multi-exec.ex: Likewise.
8055 * gdb.threads/pthreads.c: Likewise.
8056 * gdb.threads/staticthreads.exp: Likewise.
8057 * lib/future.exp: Likewise.
8058 * lib/gdb.exp: Likewise.
8059 * gdb.base/so-indr-cl.c: Remove.
8060 * gdb.base/so-indr-cl.exp: Likewise.
8061 * gdb.base/solib.c: Likewise.
8062 * gdb.base/solib.exp: Likewise.
8063 * gdb.base/solib2.c: Likewise.
8064
8065 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8066
8067 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8068 * gdb.base/call-ar-st.exp: Likewise.
8069 * gdb.base/callfuncs.exp: Likewise.
8070 * gdb.base/condbreak.exp: Likewise.
8071 * gdb.base/constvars.exp: Likewise.
8072 * gdb.base/hbreak2.exp: Likewise.
8073 * gdb.base/langs.exp: Likewise.
8074 * gdb.base/list.exp: Likewise.
8075 * gdb.base/long_long.exp: Likewise.
8076 * gdb.base/ptype.exp: Likewise.
8077 * gdb.base/scope.exp: Likewise.
8078 * gdb.base/signals.exp: Likewise.
8079 * gdb.base/so-impl-ld.exp: Likewise.
8080 * gdb.base/varargs.exp: Likewise.
8081 * gdb.base/volatile.exp: Likewise.
8082 * gdb.base/whatis.exp: Likewise.
8083 * gdb.cp/cplusfuncs.exp: Likewise.
8084 * gdb.cp/inherit.exp: Likewise.
8085 * gdb.cp/local.exp: Likewise.
8086 * gdb.cp/member-ptr.exp: Likewise.
8087 * gdb.cp/method.exp: Likewise.
8088 * gdb.cp/overload.exp: Likewise.
8089 * gdb.cp/templates.exp: Likewise.
8090 * gdb.stabs/weird.exp: Likewise.
8091 * lib/compiler.c: Likewise.
8092 * lib/compiler.cc: Likewise.
8093 * lib/cp-support.exp: Likewise.
8094 * lib/gdb.exp: Likewise.
8095
8096 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
8097
8098 * configure.ac: Remove HP-UX case.
8099 * configure: Regenerate.
8100
8101 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
8102
8103 * lib/gdb.exp (gdb_compile): Add function doc.
8104
8105 2015-12-17 Pedro Alves <palves@redhat.com>
8106
8107 PR threads/19354
8108 * gdb.multi/info-threads.exp: New file.
8109
8110 2015-12-15 Yao Qi <yao.qi@linaro.org>
8111
8112 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8113 is aarch64*-*-*.
8114
8115 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8116
8117 * gdb.base/history-duplicates.exp: Skip if no readline support.
8118
8119 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8120
8121 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8122
8123 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8124
8125 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8126
8127 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8128
8129 * gdb.base/completion.exp: Skip tests that interrupt GDB with
8130 ctrl-C if nointerrupts target property is set.
8131 * gdb.base/double-prompt-target-event-error.exp: Likewise.
8132 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8133 * gdb.base/paginate-bg-execution.exp: Likewise.
8134 * gdb.base/paginate-execution-startup.exp: Likewise.
8135 * gdb.base/random-signal.exp: Likewise.
8136 * gdb.base/range-stepping.exp: Likewise.
8137 * gdb.cp/annota2.exp: Likewise.
8138 * gdb.cp/annota3.exp: Likewise.
8139 * gdb.gdb/selftest.exp: Likewise.
8140 * gdb.threads/continue-pending-status.exp: Likewise.
8141 * gdb.threads/leader-exit.exp: Likewise.
8142 * gdb.threads/manythreads.exp: Likewise.
8143 * gdb.threads/pthreads.exp: Likewise.
8144 * gdb.threads/schedlock.exp: Likewise.
8145 * gdb.threads/sigthread.exp: Likewise.
8146
8147 2015-12-11 Don Breazeal <donb@codesourcery.com>
8148
8149 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8150 remote.
8151 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8152 * gdb.base/foll-exec.exp (main): Enable for target remote.
8153 * gdb.base/foll-fork.exp (main): Likewise.
8154 * gdb.base/foll-vfork.exp (main): Likewise.
8155 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8156 (proc continue_to_exit_bp_loc): Use clean_restart.
8157 * gdb.base/pie-execl.exp (main): Disable for target remote.
8158 * gdb.base/watch-vfork.exp (main): Enable for target remote.
8159 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8160 * gdb.threads/execl.exp (main): Likewise.
8161 * gdb.threads/fork-child-threads.exp (main): Likewise.
8162 * gdb.threads/fork-plus-threads.exp (main): Disable for target
8163 remote.
8164 * gdb.threads/fork-thread-pending.exp (main): Enable for target
8165 remote.
8166 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8167 pid.tid style ptids, instead of just tid.
8168 * gdb.threads/thread-execl.exp (main): Enable for target remote.
8169 * gdb.threads/watchpoint-fork.exp (main): Likewise.
8170 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8171 ptids, instead of just tid.
8172
8173 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8174
8175 * gdb.base/list.exp (test_list_forward): Add end of file error
8176 test.
8177 (test_repeat_list_command): Add end of file error test.
8178 (test_list_backwards): Add beginning of file error test.
8179
8180 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8181
8182 * gdb.base/list.exp (test_list_invalid_args): New function,
8183 defined, and called.
8184
8185 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8186
8187 * gdb.base/list.exp (test_list): Make test names unique.
8188
8189 2015-12-11 Yao Qi <yao.qi@linaro.org>
8190
8191 * gdb.base/coremaker2.c: Remove.
8192
8193 2015-12-10 Pedro Alves <palves@redhat.com>
8194
8195 * gdb.multi/base.exp: Remove stale "spaces" references.
8196
8197 2015-12-10 Pedro Alves <palves@redhat.com>
8198
8199 * gdb.multi/base.exp: Don't use nowarnings.
8200 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8201 * gdb.multi/hangout.c: Include stdio.h.
8202 * gdb.multi/hello.c: Include stdlib.h.
8203 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8204 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8205 * gdb.multi/multi-arch.exp: Don't use nowarnings.
8206
8207 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
8208
8209 * gdb.dwarf2/dw2-ranges-base.c: New file.
8210 * gdb.dwarf2/dw2-ranges-base.exp: New file.
8211 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8212 support additional line table, and debug ranges generation.
8213 (Dwarf::ranges): New function, generate .debug_ranges.
8214 (Dwarf::lines): Support generating simple line table programs.
8215 (Dwarf::assemble): Initialise new namespace variables.
8216
8217 2015-12-09 Kevin Buettner <kevinb@redhat.com>
8218
8219 * gdb.base/async.exp (proc test_background): Add case for
8220 asynchronous execution not supported.
8221
8222 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
8223
8224 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8225 format and change test names to make them unique.
8226
8227 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
8228 Pedro Alves <pedro@redhat.com>
8229
8230 PR gdb/18702
8231 Add checking of floatformats setup on x86_64 hosts.
8232 * gdb.arch/i386-float.S (main): Load bigval and smallval.
8233 (smallval, bigval): New labels/constants.
8234 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8235 float" after loading bigval and smallval.
8236
8237 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
8238
8239 * gdb.ada/fun_overload_menu.exp: New testcase.
8240 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8241
8242 2015-12-04 Josh Stone <jistone@redhat.com>
8243
8244 * gdb.base/catch-fork-static.exp: New.
8245
8246 2015-12-03 Yao Qi <yao.qi@linaro.org>
8247
8248 * gdb.base/sizeof.c: Don't include stdio.h and
8249 ../lib/unbuffer_output.c.
8250 (main): New variable 'size' and 'value'. Remove printf and
8251 gdb_unbuffer_output. Assign return value to size and value.
8252 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8253 at the beginning.
8254 (check_sizeof): Check the result by printing variable 'size'.
8255 (check_valueof): Check the result by printing variable 'value'.
8256
8257 2015-12-01 Yao Qi <yao.qi@linaro.org>
8258
8259 * gdb.base/disp-step-syscall.exp: Define syscall instruction
8260 for aarch64*-*-linux* target.
8261
8262 2015-11-30 Pedro Alves <palves@redhat.com>
8263
8264 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8265
8266 2015-11-30 Pedro Alves <palves@redhat.com>
8267
8268 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8269 Handle non-stop mode vCont replies.
8270
8271 2015-11-30 Pedro Alves <palves@redhat.com>
8272
8273 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8274 prepare_for_testing. Start gdb with "set non-stop on" appended to
8275 GDBFLAGS. Lax expected stop output.
8276
8277 2015-11-27 Yao Qi <yao.qi@linaro.org>
8278
8279 * gdb.arch/arm-neon.exp: New.
8280 * gdb.arch/arm-neon.c: New.
8281
8282 2015-11-27 Yao Qi <yao.qi@linaro.org>
8283
8284 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8285
8286 2015-11-27 Yao Qi <yao.qi@linaro.org>
8287
8288 * gdb.cp/annota2.exp: Allow multiple occurrences of the
8289 frames-invalid annotation.
8290
8291 2015-11-27 Yao Qi <yao.qi@linaro.org>
8292
8293 * gdb.cp/annota2.exp: Use ${frames_invalid}.
8294
8295 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
8296
8297 * gdb.threads/names.exp: New file.
8298 * gdb.threads/names.c: New file.
8299 * README: Mention gdb,no_thread_names.
8300
8301 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
8302
8303 PR 19297
8304 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8305 support" error.
8306
8307 2015-11-24 Pedro Alves <palves@redhat.com>
8308
8309 PR 17539
8310 * gdb.base/display.exp: Expect displays to be sorted in ascending
8311 order. Use multi_line.
8312 * gdb.base/solib-display.exp: Likewise.
8313
8314 2015-11-24 Pedro Alves <palves@redhat.com>
8315
8316 PR 17539
8317 * gdb.base/display.exp: Expect displays to be sorted in ascending
8318 order. Use multi_line.
8319 * gdb.base/solib-display.exp: Likewise.
8320
8321 2015-11-24 Pedro Alves <palves@redhat.com>
8322
8323 PR 17539
8324 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8325 threads in ascending order.
8326 * gdb.base/foll-fork.exp: Likewise.
8327 * gdb.base/foll-vfork.exp: Likewise.
8328 * gdb.base/multi-forks.exp: Likewise.
8329 * gdb.mi/mi-nonstop.exp: Likewise.
8330 * gdb.mi/mi-nsintrall.exp: Likewise.
8331 * gdb.multi/base.exp: Likewise.
8332 * gdb.multi/multi-arch.exp: Likewise.
8333 * gdb.python/py-inferior.exp: Likewise.
8334 * gdb.threads/break-while-running.exp: Likewise.
8335 * gdb.threads/execl.exp: Likewise.
8336 * gdb.threads/gcore-thread.exp: Likewise.
8337 * gdb.threads/info-threads-cur-sal.exp: Likewise.
8338 * gdb.threads/kill.exp: Likewise.
8339 * gdb.threads/linux-dp.exp: Likewise.
8340 * gdb.threads/multiple-step-overs.exp: Likewise.
8341 * gdb.threads/next-bp-other-thread.exp: Likewise.
8342 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8343 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8344 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8345 * gdb.threads/thread-find.exp: Likewise.
8346 * gdb.threads/tls.exp: Likewise.
8347 * lib/mi-support.exp (mi_reverse_list): Delete.
8348 (mi_check_thread_states): No longer reverse list.
8349
8350 2015-11-24 Pedro Alves <palves@redhat.com>
8351
8352 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
8353 use lowercase.
8354
8355 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8356
8357 * gdb.trace/actions.c: Include trace-common.h.
8358 (main): Add a location for a fast tracepoint.
8359 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8360 the normal tracepoints.
8361 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8362
8363 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8364
8365 * save-trace.exp: Factor out code to these...
8366 (gdb_save_tracepoints): New.
8367 (gdb_load_tracepoints): New.
8368 (do_save_load_test): New.
8369
8370 2015-11-23 Kevin Buettner <kevinb@redhat.com>
8371
8372 * gdb.base/asmlabel.exp: New test.
8373 * gdb.base/asmlabel.c: New test case.
8374
8375 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8376
8377 * gdb.base/wrong_frame_bt_full-main.c: New file.
8378 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8379 * gdb.base/wrong_frame_bt_full.exp: New file.
8380
8381 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8382
8383 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8384
8385 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8386
8387 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8388 pstate register when comparing registers values in
8389 sparc64-*-linux-gnu targets to avoid spurious differences.
8390
8391 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8392
8393 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8394
8395 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
8396
8397 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8398 as type argument to gdb_compile.
8399 * gdb.base/nested-subp2.exp: Likewise.
8400 * gdb.base/nested-subp3.exp: Likewise.
8401
8402 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
8403
8404 * lib/dwarf.exp (_note): Fix left shift of negative value.
8405 * gdb.trace/trace-condition.exp: Likewise.
8406
8407 2015-11-13 Yao Qi <yao.qi@linaro.org>
8408
8409 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8410 comments about d10v.
8411 (test_scalar_returns): Likewise.
8412 * gdb.base/d10v.ld: Remove.
8413 * gdb.base/overlays.exp: Remove the target triplet checking for
8414 d10v-*-*.
8415 * gdb.base/structs.exp (test_struct_returns): Remove the
8416 comments about d10v.
8417 (test_struct_calls): Likewise.
8418
8419 2015-11-13 Yao Qi <yao.qi@linaro.org>
8420
8421 * gdb.base/gnu_vector.exp: Check the return value by "p res".
8422 * gdb.base/gnu_vector.c: Don't include stdio.h.
8423 (main): Don't print res and call add_some_intvecs.
8424
8425 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
8426
8427 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8428 macro.
8429 (func5): Removed.
8430 (func4): Use FAST_TRACEPOINT_LABEL.
8431 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8432 macro.
8433 (func): Removed.
8434 (thread_function): Use FAST_TRACEPOINT_LABEL.
8435 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8436 (func): Remove.
8437 (marker): Use FAST_TRACEPOINT_LABEL.
8438 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8439 (pendfunc1): Remove.
8440 (pendfunc): Use FAST_TRACEPOINT_LABEL.
8441 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8442 (foo): Remove.
8443 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8444 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8445 macro.
8446 (func): Remove.
8447 (marker): Use FAST_TRACEPOINT_LABEL.
8448 * gdb.trace/trace-common.h: New header.
8449 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8450 macro.
8451 (func): Remove.
8452 (marker): Use FAST_TRACEPOINT_LABEL.
8453 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8454 (func): Remove.
8455 (thread_function): Use FAST_TRACEPOINT_LABEL.
8456
8457 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
8458
8459 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8460 in front.
8461 * gdb.trace/change-loc.exp: Use global pcreg definition.
8462 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8463 * gdb.trace/entry-values.exp: Use global spreg definition, add $
8464 in front.
8465 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8466 * gdb.trace/pending.exp: Likewise.
8467 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8468 * gdb.trace/trace-break.exp: Likewise.
8469 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8470 in front.
8471 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8472 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8473 in front.
8474 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8475
8476 2015-11-09 Joel Brobecker <brobecker@adacore.com>
8477
8478 * gdb.ada/fin_fun_out: New testcase.
8479
8480 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8481
8482 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8483 value associated with DW_AT_byte_size.
8484 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8485 constants for DW_AT_byte_size, DW_AT_lower_bound, and
8486 DW_AT_upper_bound.
8487
8488 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8489
8490 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8491 (gdb_target_symbol_prefix_flags): Define in terms of _asm
8492 version.
8493 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8494 gdb.dwarf2/dw2-canonicalize-type.exp,
8495 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8496 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8497 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8498 provided by gdb_target_symbol_prefix_flags_asm.
8499 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8500 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8501 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8502 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8503 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8504 macros where needed). Use this macro for symbols which require
8505 the prefix provided by SYMBOL_PREFIX.
8506
8507 2015-11-05 Kevin Buettner <kevinb@redhat.com>
8508
8509 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8510 New procs.
8511 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8512 representing expressions, of more than one list element.
8513 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8514 to prepend linker symbol prefix to f.
8515 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8516 table_1 and table_2.
8517 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8518 Likewise, for f and g.
8519 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8520 for ptr.
8521 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8522 for main.
8523 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8524 table_1_ptr and table_2_ptr.
8525
8526 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8527 Joel Brobecker <brobecker@adacore.com>
8528
8529 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8530
8531 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8532
8533 * gdb.reverse/s390-mvcle.c: New test.
8534 * gdb.reverse/s390-mvcle.exp: New file.
8535 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8536
8537 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8538
8539 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8540
8541 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8542
8543 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8544 reaching marker2.
8545 * gdb.reverse/getresuid-reverse.exp: Likewise.
8546 * gdb.reverse/pipe-reverse.exp: Likewise.
8547 * gdb.reverse/readv-reverse.exp: Likewise.
8548 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8549 * gdb.reverse/time-reverse.exp: Likewise.
8550 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8551
8552 2015-10-30 Yao Qi <yao.qi@linaro.org>
8553
8554 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8555 (empty_cycle): Remove.
8556 (main): Don't call empty_cycle. Don't use watch_count_done.
8557 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8558 empty_cycle. Rewrite the code counting HW watchpoints.
8559
8560 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8561
8562 * gdb.reverse/fstatat-reverse.c: New test.
8563 * gdb.reverse/fstatat-reverse.exp: New file.
8564 * gdb.reverse/getresuid-reverse.c: New test.
8565 * gdb.reverse/getresuid-reverse.exp: New file.
8566 * gdb.reverse/pipe-reverse.c: New test.
8567 * gdb.reverse/pipe-reverse.exp: New file.
8568 * gdb.reverse/readv-reverse.c: New test.
8569 * gdb.reverse/readv-reverse.exp: New file.
8570 * gdb.reverse/recvmsg-reverse.c: New test.
8571 * gdb.reverse/recvmsg-reverse.exp: New file.
8572 * gdb.reverse/time-reverse.c: New test.
8573 * gdb.reverse/time-reverse.exp: New file.
8574 * gdb.reverse/waitpid-reverse.c: New test.
8575 * gdb.reverse/waitpid-reverse.exp: New file.
8576
8577 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8578
8579 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8580
8581 2015-10-26 Doug Evans <dje@google.com>
8582
8583 PR symtab/17391
8584 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8585 * gdb.dwarf2/bad-regnum.c: New file.
8586 * gdb.dwarf2/bad-regnum.exp: New file.
8587
8588 2015-10-26 Doug Evans <dje@google.com>
8589
8590 PR python/18938
8591 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8592 file.
8593
8594 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8595
8596 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8597 for a change by "Mention language in compile error message".
8598
8599 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8600
8601 PR python/18073
8602 * gdb.python/py-type.c (C::a_method): New.
8603 (C::a_const_method): New.
8604 (C::a_static_method): New.
8605 (a_function): New.
8606 * gdb.python/py-type.exp (test_fields): Test getting fields
8607 from function and method.
8608
8609 2015-10-21 Keven Boell <keven.boell@intel.com>
8610
8611 * gdb.fortran/vla-alloc-assoc.exp: New file.
8612 * gdb.fortran/vla-datatypes.exp: New file.
8613 * gdb.fortran/vla-datatypes.f90: New file.
8614 * gdb.fortran/vla-history.exp: New file.
8615 * gdb.fortran/vla-ptype-sub.exp: New file.
8616 * gdb.fortran/vla-ptype.exp: New file.
8617 * gdb.fortran/vla-sizeof.exp: New file.
8618 * gdb.fortran/vla-sub.f90: New file.
8619 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8620 * gdb.fortran/vla-value-sub-finish.exp: New file.
8621 * gdb.fortran/vla-value-sub.exp: New file.
8622 * gdb.fortran/vla-value.exp: New file.
8623 * gdb.fortran/vla-ptr-info.exp: New file.
8624 * gdb.mi/mi-vla-fortran.exp: New file.
8625 * gdb.mi/vla.f90: New file.
8626
8627 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8628
8629 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8630 of hardwired timeout value.
8631
8632 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8633 Pedro Alves <palves@redhat.com>
8634
8635 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8636 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8637
8638 2015-10-19 Josh Stone <jistone@redhat.com>
8639
8640 * gdb.base/catch-syscall.c: Include <sched.h>.
8641 (unknown_syscall): New variable.
8642 (main): Trigger a vfork and an unknown syscall.
8643 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8644 (unknown_syscall_number): Likewise.
8645 (check_call_to_syscall): Accept an optional syscall pattern.
8646 (check_return_from_syscall): Likewise.
8647 (check_continue): Likewise.
8648 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8649 (test_catch_syscall_skipping_return): New test toggling off 'catch
8650 syscall' to step over the syscall return, then toggling back on.
8651 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8652 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8653 (do_syscall_tests): Call test_catch_syscall_without_args and
8654 test_catch_syscall_mid_vfork.
8655 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8656 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8657
8658 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
8659
8660 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8661 print g_vE): Add new pass patterns.
8662 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8663 print various symbol names for vptr fields.
8664
8665 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8666
8667 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8668 results.
8669
8670 2015-10-12 Yao Qi <yao.qi@linaro.org>
8671
8672 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8673
8674 2015-10-12 Yao Qi <yao.qi@linaro.org>
8675
8676 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8677 is aarch64*-*-linux*.
8678
8679 2015-10-12 Yao Qi <yao.qi@linaro.org>
8680
8681 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8682 (can_relocate_bcond_true): ... it.
8683 (can_relocate_bcond_false): New function.
8684 (foo): Likewise.
8685 (can_relocate_bl): Likewise.
8686 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8687 can_relocate_bl.
8688
8689 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8690
8691 * gdb.base/nested-addr.c: New file.
8692 * gdb.base/nested-addr.exp: New testcase.
8693
8694 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8695
8696 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8697 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8698 its output. Ignore the output of "record goto begin" and instead
8699 check that GDB is replaying.
8700
8701 2015-10-09 Pedro Alves <palves@redhat.com>
8702
8703 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8704 (top level): Use it in the run with no args test.
8705
8706 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8707
8708 * gdb.dlang/properties.exp: New file.
8709
8710 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8711
8712 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8713 whether or not address 0x1000 is mapped on the target.
8714
8715 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8716
8717 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8718 build.
8719
8720 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8721
8722 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8723 instruction-history test.
8724
8725 2015-09-28 Doug Evans <dje@google.com>
8726
8727 * gdb.base/gcore.c (array_func): Add reference to static_array.
8728
8729 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8730
8731 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8732 source line.
8733
8734 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8735
8736 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8737 short or char as base type.
8738
8739 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8740
8741 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8742 to allow any size enum.
8743
8744 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8745
8746 * gdb.ada/array_ptr_renaming.exp: New testcase.
8747 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8748 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8749
8750 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8751
8752 * gdb.trace/ftrace-lock.c: New file.
8753 * gdb.trace/ftrace-lock.exp: New file.
8754
8755 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8756
8757 * gdb.arch/insn-reloc.c: New file.
8758 * gdb.arch/ftrace-insn-reloc.exp: New file.
8759
8760 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8761
8762 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8763 instruction.
8764 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8765 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8766 * gdb.trace/range-stepping.c: Likewise.
8767 * gdb.trace/trace-break.c: Likewise.
8768 * gdb.trace/trace-mt.c (thread_function): Likewise.
8769 * gdb.trace/ftrace.c (marker): Likewise.
8770 * gdb.trace/trace-condition.c (marker): Likewise.
8771 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8772 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8773 is_aarch64_target.
8774
8775 2015-09-18 Doug Evans <xdje42@gmail.com>
8776
8777 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8778 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8779
8780 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8781
8782 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8783 the breakpoint.
8784
8785 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8786
8787 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8788 the pending breakpoint. Remove timeout override for "Run till
8789 MI pending breakpoint on pendfunc3 on thread 2" test.
8790
8791 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8792
8793 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8794 filename pattern.
8795
8796 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8797
8798 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8799 in breakpoint filename pattern.
8800
8801 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8802
8803 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8804
8805 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8806
8807 * gdb.linespec/explicit.exp: Check for readline support for
8808 tab-completion tests. Fix obvious typo.
8809
8810 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8811
8812 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8813 and replay.
8814
8815 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8816
8817 * gdb.btrace/non-stop.c: New.
8818 * gdb.btrace/non-stop.exp: New.
8819
8820 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8821 Yao Qi <yao.qi@linaro.org>
8822
8823 * gdb.trace/trace-condition.c: New file.
8824 * gdb.trace/trace-condition.exp: New file.
8825
8826 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
8827
8828 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8829 for testing bytecode compilation.
8830
8831 2015-09-16 Pedro Alves <palves@redhat.com>
8832 Sandra Loosemore <sandra@codesourcery.com>
8833
8834 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8835 (SECONDS): Redefine.
8836 (main): Call pthread_kill and alarm early.
8837 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8838 support.
8839 (test): If the target can't hardware step and doesn't support
8840 displaced stepping, increase the timeout.
8841
8842 2015-09-16 Pedro Alves <palves@redhat.com>
8843
8844 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8845 (enable_debug): New procedures.
8846 (test): Use them. Bail out if waiting for threads fails.
8847 (top level): Bail out if a test fails.
8848
8849 2015-09-16 Yao Qi <yao.qi@linaro.org>
8850
8851 * gdb.asm/asm-source.exp: Set asm-arch for
8852 aarch64*-*-* target.
8853 * gdb.asm/aarch64.inc: New file.
8854
8855 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8856
8857 * gdb.ada/array_of_variable_length.exp: New testcase.
8858 * gdb.ada/array_of_variable_length/foo.adb: New file.
8859 * gdb.ada/array_of_variable_length/pck.adb: New file.
8860 * gdb.ada/array_of_variable_length/pck.ads: New file.
8861
8862 2015-09-15 Doug Evans <dje@google.com>
8863
8864 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8865 of function static local variable.
8866
8867 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8868
8869 * gdb.threads/tls-so_extern.exp: New test file.
8870 * gdb.threads/tls-so_extern.c: New test file.
8871 * gdb.threads/tls-so_extern_main.c: New test file.
8872
8873 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8874
8875 * gdb.opt/solib-intra-step-lib.c: New file.
8876 * gdb.opt/solib-intra-step-main.c: New file.
8877 * gdb.opt/solib-intra-step.exp: New file.
8878
8879 2015-09-15 Pedro Alves <palves@redhat.com>
8880
8881 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8882 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8883
8884 2015-09-14 Pedro Alves <palves@redhat.com>
8885
8886 * gdb.base/hook-stop-continue.c: Delete.
8887 * gdb.base/hook-stop-continue.exp: Delete.
8888 * gdb.base/hook-stop-frame.c: Delete.
8889 * gdb.base/hook-stop-frame.exp: Delete.
8890 * gdb.base/hook-stop.c: New file.
8891 * gdb.base/hook-stop.exp: New file.
8892
8893 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8894
8895 * gdb.ada/access_to_packed_array.exp: New testcase.
8896 * gdb.ada/access_to_packed_array/foo.adb: New file.
8897 * gdb.ada/access_to_packed_array/pack.adb: New file.
8898 * gdb.ada/access_to_packed_array/pack.ads: New file.
8899
8900 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8901
8902 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8903 buffer size test.
8904
8905 2015-09-11 Don Breazeal <donb@codesourcery.com>
8906
8907 * gdb.base/foll-exec.c: Add copyright header. Fix
8908 formatting issues.
8909 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8910 (do_exec_tests): Use clean_restart in place of zap_session,
8911 and for test initialization. Fix formatting issues. Use
8912 fail in place of perror.
8913 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8914 an expect statement to match an expression with output from
8915 the program under debug.
8916 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8917 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8918 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8919 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8920 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8921
8922 2015-09-09 Doug Evans <dje@google.com>
8923
8924 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8925
8926 2015-09-09 Doug Evans <dje@google.com>
8927
8928 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8929
8930 2015-09-09 Doug Evans <dje@google.com>
8931
8932 * gdb.base/savedregs.exp: Fix typo.
8933
8934 2015-09-09 Pedro Alves <palves@redhat.com>
8935
8936 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8937
8938 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8939
8940 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8941 command actually switches threads. Give up on remaining
8942 tests if target fails to stop at breakpoint.
8943
8944 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8945
8946 * gdb.ada/funcall_char.exp: New testcase.
8947 * gdb.ada/funcall_char/foo.adb: New file.
8948
8949 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8950
8951 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8952 expected outputs. Add two testcases for completing ambiguous
8953 functions.
8954 * gdb.ada/complete/aux_pck.adb: New file.
8955 * gdb.ada/complete/aux_pck.ads: New file.
8956 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8957 Ambiguous_Func functions.
8958 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8959 * gdb.ada/complete/pck.adb: Likewise.
8960
8961 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8962
8963 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8964 failures to run the test program under GDB.
8965
8966 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
8967
8968 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8969 to C.
8970
8971 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8972
8973 * gdb.base/run-after-attach.exp: New test file.
8974 * gdb.base/run-after-attach.c: New test file.
8975
8976 2015-08-26 Don Breazeal <donb@codesourcery.com>
8977
8978 * gdb.base/foll-exec-2.c: New test program.
8979 * gdb.base/foll-exec-2.exp: New test.
8980
8981 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8982
8983 * gdb.base/nested-subp1.exp: New file.
8984 * gdb.base/nested-subp1.c: New file.
8985 * gdb.base/nested-subp2.exp: New file.
8986 * gdb.base/nested-subp2.c: New file.
8987 * gdb.base/nested-subp3.exp: New file.
8988 * gdb.base/nested-subp3.c: New file.
8989
8990 2015-08-24 Pedro Alves <palves@redhat.com>
8991
8992 * gdb.server/connect-without-multi-process.c: New file.
8993 * gdb.server/connect-without-multi-process.exp: New file.
8994
8995 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8996
8997 * gdb.opt/inline-markers.c: Make z int.
8998
8999 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9000
9001 * gdb.opt/inline-markers.c: Make z volatile.
9002
9003 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9004
9005 * gdb.opt/inline-bt.c: New volatile global z.
9006 * gdb.opt/inline-cmds.c: Likewise.
9007 * gdb.opt/inline-locals.c: Likewise.
9008 * gdb.opt/inline-markers.c: New extern global z.
9009 (marker): Use z.
9010 (inline_fn): Likewise.
9011
9012 2015-08-24 Pedro Alves <palves@redhat.com>
9013
9014 * config/m32r-stub.exp: Remove file.
9015 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9016 * gdb.base/call-rt-st.exp: Likewise.
9017 * gdb.base/call-strs.exp: Likewise.
9018 * gdb.base/default.exp: Remove references to h8300-*-hms and
9019 *-*-udi*.
9020 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9021
9022 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9023
9024 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9025 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
9026 and "return" use KFAIL when GDB can not read/write the vector
9027 return value.
9028
9029 2015-08-21 Gary Benson <gbenson@redhat.com>
9030
9031 * gdb.trace/pending.exp: Cope with remote transfer warnings.
9032
9033 2015-08-20 Pedro Alves <palves@redhat.com>
9034
9035 * gdb.server/solib-list.exp: No longer expect an interior stop in
9036 non-stop mode.
9037
9038 2015-08-20 Pedro Alves <palves@redhat.com>
9039
9040 * gdb.server/connect-stopped-target.c: New file.
9041 * gdb.server/connect-stopped-target.exp: New file.
9042
9043 2015-08-20 Pedro Alves <palves@redhat.com>
9044
9045 * gdb.dwarf2/comp-unit-lang.exp: New file.
9046 * gdb.dwarf2/comp-unit-lang.c: New file.
9047
9048 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
9049
9050 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9051 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9052
9053 2015-08-19 Kevin Buettner <kevinb@redhat.com>
9054
9055 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9056 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9057
9058 2015-08-18 Doug Evans <dje@google.com>
9059 Adrian Sendroiu <adrian.sendroiu@freescale.com>
9060
9061 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9062 skip_python_tests. New arg prompt_regexp.
9063 (skip_python_tests): New function.
9064 * lib/mi-support.exp (mi_skip_python_tests): New function.
9065 * gdb.python/py-mi-objfile-gdb.py: New file.
9066 * gdb.python/py-mi-objfile.c: New file.
9067 * gdb.python/py-mi-objfile.exp: New file.
9068
9069 2015-08-17 Keith Seitz <keiths@redhat.com>
9070
9071 * gdb.linespec/explicit.exp: Move strace test from here ...
9072 * gdb.trace/strace.exp: ... to here.
9073
9074 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
9075
9076 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9077 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9078
9079 2015-08-14 Doug Evans <xdje42@gmail.com>
9080
9081 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9082 inferior before selecting a new file.
9083
9084 2015-08-14 Doug Evans <xdje42@gmail.com>
9085
9086 * gdb.mi/mi-disassemble.exp: Update.
9087 * gdb.base/disasm-optim.S: New file.
9088 * gdb.base/disasm-optim.c: New file.
9089 * gdb.base/disasm-optim.h: New file.
9090 * gdb.base/disasm-optim.exp: New file.
9091
9092 2015-08-14 Keith Seitz <keiths@redhat.com>
9093
9094 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9095 "evaluated-by".
9096
9097 2015-08-13 Joel Brobecker <brobecker@adacore.com>
9098
9099 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9100
9101 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
9102
9103 * gdb.ada/fun_renaming.exp: New testcase.
9104 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9105 * gdb.ada/fun_renaming/pack.adb: New file.
9106 * gdb.ada/fun_renaming/pack.ads: New file.
9107
9108 2015-08-12 Keith Seitz <keiths@redhat.com>
9109
9110 * gdb.base/dso2dso.exp: Pass basename of source file in call to
9111 gdb_get_line_number.
9112
9113 2015-08-12 Joel Brobecker <brobecker@adacore.com>
9114
9115 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9116 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9117 gdb.base/dso2dso.exp: New files.
9118
9119 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
9120 Pedro Alves <palves@redhat.com>
9121 Keith Seitz <keiths@redhat.com>
9122
9123 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9124 GDBFLAGS.
9125
9126 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9127
9128 * gdb.base/gdbhistsize-history.exp
9129 (test_histsize_history_setting): Use save_vars.
9130 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9131 Use save_vars.
9132 (test_no_truncation_of_unlimited_history_file): Use save_vars.
9133 * gdb.base/readline.exp: Use save_vars.
9134
9135 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9136
9137 * lib/gdb.exp (save_vars): New proc.
9138
9139 2015-08-11 Keith Seitz <keiths@redhat.com>
9140
9141 * gdb.base/help.exp: Update help_breakpoint_text.
9142
9143 2015-08-11 Keith Seitz <keiths@redhat.com>
9144
9145 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9146 (at toplevel): Call test_explicit_breakpoints.
9147 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9148 breakpoints.
9149 * lib/mi-support.exp (mi_make_breakpoint): Add support for
9150 breakpoint conditions, "-cond".
9151
9152 2015-08-11 Keith Seitz <keiths@redhat.com>
9153
9154 * gdb.linespec/3explicit.c: New file.
9155 * gdb.linespec/cpexplicit.cc: New file.
9156 * gdb.linespec/cpexplicit.exp: New file.
9157 * gdb.linespec/explicit.c: New file.
9158 * gdb.linespec/explicit.exp: New file.
9159 * gdb.linespec/explicit2.c: New file.
9160 * gdb.linespec/ls-errs.exp: Add explicit location tests.
9161 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9162 before using in the matching pattern.
9163 Clarify that `prefix' is a regular expression.
9164
9165 2015-08-11 Keith Seitz <keiths@redhat.com>
9166
9167 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9168 test.
9169 Add tests for missing ",FMT" and ",".
9170
9171 2015-08-10 Doug Evans <dje@google.com>
9172 Keith Seitz <keiths@redhat.com>
9173
9174 PR gdb/17960
9175 * gdb.base/completion.exp: Add location completer tests.
9176
9177 2015-08-07 Pedro Alves <palves@redhat.com>
9178
9179 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9180 tests here.
9181 (top level): Run do_test with and without displaced stepping.
9182
9183 2015-08-07 Pedro Alves <palves@redhat.com>
9184
9185 * gdb.base/valgrind-disp-step.c: New file.
9186 * gdb.base/valgrind-disp-step.exp: New file.
9187
9188 2015-08-07 Pedro Alves <palves@redhat.com>
9189
9190 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9191 Delete function.
9192 (main): Add alarm. Run an infinite loop instead of calling
9193 wait_threads.
9194 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9195 comment.
9196 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9197 Delete function.
9198 (main): Add alarm. Run an infinite loop instead of calling
9199 wait_threads.
9200 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9201 comment.
9202
9203 2015-08-07 Pedro Alves <palves@redhat.com>
9204
9205 * gdb.base/checkpoint-ns.exp: New file.
9206 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9207 standard_testfile.
9208
9209 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
9210
9211 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9212 * gdb.btrace/instruction_history.exp: Update.
9213 * gdb.btrace/tsx.exp: New.
9214 * gdb.btrace/tsx.c: New.
9215
9216 2015-08-06 Pedro Alves <palves@redhat.com>
9217
9218 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9219 increase timeout.
9220 * gdb.reverse/until-precsave.exp: Bump timeouts.
9221
9222 2015-08-06 Pedro Alves <palves@redhat.com>
9223
9224 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9225
9226 2015-08-06 Pedro Alves <palves@redhat.com>
9227
9228 PR gdb/18749
9229 * gdb.threads/process-dies-while-handling-bp.c: New file.
9230 * gdb.threads/process-dies-while-handling-bp.exp: New file.
9231
9232 2015-08-06 Pedro Alves <palves@redhat.com>
9233
9234 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9235 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9236
9237 2015-08-05 Pedro Alves <palves@redhat.com>
9238
9239 * gdb.threads/next-while-other-thread-longjmps.c: New file.
9240 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9241
9242 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
9243
9244 * gdb.base/bp-permanent.exp: Report test as unsupported if
9245 the target cannot stop at the permanent breakpoint.
9246
9247 2015-08-03 Doug Evans <dje@google.com>
9248
9249 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9250 10000.
9251
9252 2015-08-03 Doug Evans <dje@google.com>
9253
9254 * Makefile.in (workers/%.worker, build-perf): New rule.
9255 (GDB_PERFTEST_MODE): New variable.
9256 (check-perf): Use it.
9257 (clean): Clean up gdb.perf parallel build subdirs.
9258 * lib/build-piece.exp: New file.
9259 * lib/gdb.exp (make_gdb_parallel_path): New function
9260 (standard_output_file, standard_temp_file): Call it.
9261 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9262 of $GDB_PARALLEL.
9263 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9264
9265 2015-08-03 Doug Evans <dje@google.com>
9266
9267 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9268 (LOG_FILE_NAME): New global.
9269 (TextReporter.__init__): Initialize self.txt_sum.
9270 (TextReporter.report): Add support for multiple data-points.
9271 Move report to perftest.sum, put raw data in perftest.log.
9272 (TextReporter.start): Open sum and log files.
9273 (TextReporter.end): Close sum and log files.
9274 * gdb.perf/lib/perftest/testresult.py
9275 (SingleStatisticTestResult.record): Handle multiple data-points.
9276
9277 2015-07-31 Pedro Alves <palves@redhat.com>
9278
9279 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9280 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9281 kill_wait_spawned_process instead of explicit "kill -9".
9282 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9283 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9284 kill_wait_spawned_process.
9285 * gdb.base/attach-twice.exp: Likewise.
9286 * gdb.base/attach.exp: Likewise.
9287 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9288 gdb_test_multiple.
9289 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9290 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9291 kill_wait_spawned_process.
9292 * gdb.base/valgrind-infcall.exp: Likewise.
9293 * gdb.multi/multi-attach.exp: Likewise.
9294 * gdb.python/py-prompt.exp: Likewise.
9295 * gdb.python/py-sync-interp.exp: Likewise.
9296 * gdb.server/ext-attach.exp: Likewise.
9297 * gdb.threads/attach-into-signal.exp (corefunc): Use
9298 spawn_wait_for_attach, spawn_id_get_pid and
9299 kill_wait_spawned_process.
9300 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9301 spawn_wait_for_attach returning a spawn id instead of a pid. Use
9302 spawn_id_get_pid and kill_wait_spawned_process.
9303 * gdb.threads/attach-stopped.exp (corefunc): Use
9304 spawn_wait_for_attach, spawn_id_get_pid and
9305 kill_wait_spawned_process.
9306 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9307 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9308 kill_wait_spawned_process instead of explicit "kill -9".
9309 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9310 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9311 (spawn_wait_for_attach): Use spawn instead of exec to spawn
9312 processes. Don't map cygwin/windows pids here. Now returns a
9313 spawn id list.
9314
9315 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9316
9317 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9318 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9319 correct patch.
9320
9321 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9322
9323 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9324
9325 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9326
9327 Reapply:
9328 2014-05-21 Mark Wielaard <mjw@redhat.com>
9329
9330 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9331
9332 2015-07-30 Pedro Alves <palves@redhat.com>
9333
9334 * linux-low.c (handle_extended_wait): Set the child's last
9335 reported status to TARGET_WAITKIND_STOPPED.
9336
9337 2015-07-30 Pedro Alves <palves@redhat.com>
9338
9339 PR threads/18600
9340 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9341 only shows inferior 1.
9342
9343 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
9344 Pedro Alves <palves@redhat.com>
9345
9346 PR threads/18600
9347 * gdb.threads/fork-plus-threads.c: New file.
9348 * gdb.threads/fork-plus-threads.exp: New file.
9349
9350 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9351
9352 * gdb.base/batch-preserve-term-settings.exp
9353 (test_terminal_settings_preserved_after_cli_exit): Use
9354 send_quit_command.
9355
9356 2015-07-29 Pedro Alves <palves@redhat.com>
9357 Don Breazeal <donb@codesourcery.com>
9358
9359 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9360 output from both inferior_spawn_id and gdb_spawn_id.
9361
9362 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9363
9364 * gdb.threads/attach-into-signal.exp (corefunc): Use
9365 with_test_prefix on nested loops, uniquefying the test messages.
9366
9367 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9368
9369 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9370 commit.
9371
9372 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9373
9374 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9375 New proc.
9376 (test_terminal_settings_preserved_after_sigterm): New test.
9377
9378 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9379
9380 * gdb.base/batch-preserve-term-settings.exp
9381 (test_terminal_settings_preserved_after_cli_exit): New test.
9382
9383 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9384
9385 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9386 manipulation of saved_gdbflags.
9387 (test_terminal_settings_preserved): Remove global declaration of
9388 the unused variable pagination_prompt. Remove manipulation of
9389 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
9390 GDBFLAGS.
9391
9392 2015-07-29 Pedro Alves <palves@redhat.com>
9393
9394 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9395
9396 2015-07-29 Pedro Alves <palves@redhat.com>
9397
9398 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9399 at the top.
9400
9401 2015-07-29 Pedro Alves <palves@redhat.com>
9402
9403 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9404 (main): Call gdb_unbuffer_output.
9405 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9406 (main): Call gdb_unbuffer_output.
9407 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9408 (main): Call gdb_unbuffer_output.
9409 * gdb.base/call-strs.exp: Adjust to step over the
9410 gdb_unbuffer_output call.
9411 * gdb.base/catch-gdb-caused-signals.c: Include
9412 "../lib/unbuffer_output.c".
9413 (main): Call gdb_unbuffer_output.
9414 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9415 (main): Call gdb_unbuffer_output.
9416 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9417 (main): Call gdb_unbuffer_output.
9418 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9419 (main): Call gdb_unbuffer_output.
9420 * gdb.base/shlib-call.exp: Adjust to step over the
9421 gdb_unbuffer_output call.
9422 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9423 (main): Call gdb_unbuffer_output.
9424 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9425 (main): Call gdb_unbuffer_output.
9426 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9427 (main): Rename to ...
9428 (test): ... this.
9429 (main): Reimplement.
9430 * gdb.base/varargs.exp: Run to test instead of to main.
9431 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9432 (main): Call gdb_unbuffer_output.
9433
9434 2015-07-29 Pedro Alves <palves@redhat.com>
9435
9436 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9437 factore out from mi_continue_dprintf. For call-style dprintfs,
9438 expect dprintf output out of $inferior_spawn_id.
9439 (mi_continue_dprintf): Use mi_expect_dprintf.
9440 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9441 (main): Call gdb_unbuffer_output.
9442
9443 2015-07-29 Pedro Alves <palves@redhat.com>
9444
9445 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9446 (default_mi_gdb_start): Set inferior_spawn_id instead of
9447 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
9448 gdb_spawn_id.
9449 (mi_gdb_test): Always expect inferior output from both
9450 $inferior_spawn_id and $gdb_spawn_id.
9451
9452 2015-07-29 Pedro Alves <palves@redhat.com>
9453
9454 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
9455 send_inferior and $inferior_spawn_id.
9456
9457 2015-07-29 Pedro Alves <palves@redhat.com>
9458
9459 * gdb.gdb/complaints.exp (test_initial_complaints)
9460 (test_serial_complaints, test_short_complaints): Use
9461 gdb_test_stdio.
9462 (test_empty_complaint): Handle $inferior_spawn_id !=
9463 $gdb_spawn_id.
9464
9465 2015-07-29 Pedro Alves <palves@redhat.com>
9466
9467 * gdb.base/varargs.exp: Use gdb_test_stdio.
9468
9469 2015-07-29 Pedro Alves <palves@redhat.com>
9470
9471 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9472
9473 2015-07-29 Pedro Alves <palves@redhat.com>
9474
9475 * gdb.base/ending-run.exp: Use gdb_test_stdio.
9476
9477 2015-07-29 Pedro Alves <palves@redhat.com>
9478
9479 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9480 parameter into two new parameters, "inf_result" and "gdb_result".
9481 Expect inferior output and gdb output from $inferior_spawn_id and
9482 $gdb_spawn_id, respectively. Adjust all callers.
9483
9484 2015-07-29 Pedro Alves <palves@redhat.com>
9485
9486 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9487 of gdb_test_sequence.
9488
9489 2015-07-29 Pedro Alves <palves@redhat.com>
9490
9491 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9492 (saw_spurious_output): Expect inferior output from
9493 $inferior_spawn_id. Use gdb_test_stdio.
9494
9495 2015-07-29 Pedro Alves <palves@redhat.com>
9496
9497 * gdb.base/dprintf.exp: Use standard_testfile. Change
9498 prepare_for_testing call.
9499 (srcfile): Don't set.
9500 (restart): New procedure.
9501 (test_dprintf): New procecure, use to continue over dprintfs.
9502 (test_call, test_agent): New procedures, tests moved here.
9503 Restart gdb and recreate dprintfs. Adjust expected output.
9504
9505 2015-07-29 Pedro Alves <palves@redhat.com>
9506
9507 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9508
9509 2015-07-29 Pedro Alves <palves@redhat.com>
9510
9511 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9512
9513 2015-07-29 Pedro Alves <palves@redhat.com>
9514
9515 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9516 gdb_test_stdio.
9517
9518 2015-07-29 Pedro Alves <palves@redhat.com>
9519
9520 * lib/gdb.exp (gdb_test_stdio): New procedure.
9521
9522 2015-07-29 Pedro Alves <palves@redhat.com>
9523
9524 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9525
9526 2015-07-29 Pedro Alves <palves@redhat.com>
9527
9528 * gdb.base/call-signal-resume.exp: Remove check for
9529 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9530 * gdb.base/unwindonsignal.exp: Likewise.
9531 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9532 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9533
9534 2015-07-29 Pedro Alves <palves@redhat.com>
9535
9536 * gdb.base/siginfo-addr.c (pass): New function.
9537 (handler): Call it iff si_addr is correct.
9538 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9539 Set a breakpoint at "pass" and continue to it.
9540
9541 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9542
9543 * gdb.python/py-objfile.exp: Make some tests have unique names.
9544 * gdb.python/py-pp-registration.exp: Likewise.
9545
9546 2015-07-28 Pedro Alves <palves@redhat.com>
9547
9548 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9549
9550 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9551
9552 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9553
9554 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9555
9556 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9557
9558 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9559
9560 * gdb.base/gdb-sigterm-2.exp: New test.
9561
9562 2015-07-25 Doug Evans <xdje42@gmail.com>
9563
9564 Revert:
9565 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9566 (workers/%.worker, build-perf): New rule.
9567 (GDB_PERFTEST_MODE): New variable.
9568 (check-perf): Use it.
9569 (clean): Clean up gdb.perf parallel build subdirs.
9570 * lib/build-piece.exp: New file.
9571 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9572 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9573 name.
9574 (standard_temp_file): Ditto.
9575 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9576 of $GDB_PARALLEL.
9577
9578 2015-07-24 Doug Evans <dje@google.com>
9579
9580 * gdb.perf/lib/perftest/utils.py: New file.
9581 * gdb.perf/gm-hello.cc: New file.
9582 * gdb.perf/gm-pervasive-typedef.cc: New file.
9583 * gdb.perf/gm-pervasive-typedef.h: New file.
9584 * gdb.perf/gm-std.cc: New file.
9585 * gdb.perf/gm-std.h: New file.
9586 * gdb.perf/gm-use-cerr.cc: New file.
9587 * gdb.perf/gm-utils.h: New file.
9588 * gdb.perf/gmonster-null-lookup.py: New file.
9589 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9590 * gdb.perf/gmonster-print-cerr.py: New file.
9591 * gdb.perf/gmonster-ptype-string.py: New file.
9592 * gdb.perf/gmonster-runto-main.py: New file.
9593 * gdb.perf/gmonster-select-file.py: New file.
9594 * gdb.perf/gmonster1-null-lookup.exp: New file.
9595 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9596 * gdb.perf/gmonster1-print-cerr.exp: New file.
9597 * gdb.perf/gmonster1-ptype-string.exp: New file.
9598 * gdb.perf/gmonster1-runto-main.exp: New file.
9599 * gdb.perf/gmonster1-select-file.exp: New file.
9600 * gdb.perf/gmonster1.cc: New file.
9601 * gdb.perf/gmonster1.exp: New file.
9602 * gdb.perf/gmonster2-null-lookup.exp: New file.
9603 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9604 * gdb.perf/gmonster2-print-cerr.exp: New file.
9605 * gdb.perf/gmonster2-ptype-string.exp: New file.
9606 * gdb.perf/gmonster2-runto-main.exp: New file.
9607 * gdb.perf/gmonster2-select-file.exp: New file.
9608 * gdb.perf/gmonster2.cc: New file.
9609 * gdb.perf/gmonster2.exp: New file.
9610
9611 2015-07-24 Doug Evans <dje@google.com>
9612
9613 * gdb.perf/README: New file.
9614 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9615 * lib/gen-perf-test.exp: New file.
9616
9617 2015-07-24 Doug Evans <dje@google.com>
9618
9619 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9620 (PerfTest::startup): New function.
9621 (PerfTest::run): Return result of calling body.
9622 (PerfTest::assemble): Rewrite.
9623 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9624 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9625 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9626 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9627 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9628
9629 2015-07-24 Doug Evans <dje@google.com>
9630
9631 * lib/gdb.exp (clean_restart): Make executable optional.
9632
9633 2015-07-24 Doug Evans <dje@google.com>
9634
9635 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9636 compiler_info references.
9637 * gdb.cp/temargs.exp: Ditto.
9638 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9639 (get_compiler_info): Early exit if already computed. Set compiler_info
9640 to "unknown" if there was a problem.
9641 (test_compiler_info): Add function comment. Call get_compiler_info.
9642
9643 2015-07-24 Doug Evans <dje@google.com>
9644
9645 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9646 (workers/%.worker, build-perf): New rule.
9647 (GDB_PERFTEST_MODE): New variable.
9648 (check-perf): Use it.
9649 (clean): Clean up gdb.perf parallel build subdirs.
9650 * lib/build-piece.exp: New file.
9651 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9652 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9653 name.
9654 (standard_temp_file): Ditto.
9655 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9656 of $GDB_PARALLEL.
9657
9658 2015-07-24 Doug Evans <dje@google.com>
9659
9660 * lib/future.exp (gdb_default_target_compile): New option
9661 "early_flags".
9662 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9663 --as-needed.
9664
9665 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9666
9667 * gdb.base/catch-syscall.exp: Call gdb_exit before
9668 gdb_skip_xml_test.
9669
9670 2015-07-24 Pedro Alves <palves@redhat.com>
9671
9672 * gdb.python/py-events.exp: Accept output between the stop event
9673 and the prompt.
9674 * gdb.python/py-evsignal.exp: Likewise.
9675 * gdb.python/py-evthreads.exp: Likewise.
9676
9677 2015-07-24 Pedro Alves <palves@redhat.com>
9678
9679 PR gdb/18717
9680 * gdb.threads/non-ldr-exit.c: New file.
9681 * gdb.threads/non-ldr-exit.exp: New file.
9682
9683 2015-07-24 Yao Qi <yao.qi@linaro.org>
9684
9685 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9686 restarting process.
9687
9688 2015-07-24 Yao Qi <yao.qi@linaro.org>
9689
9690 * gdb.server/ext-restart.exp: New file.
9691
9692 2015-07-24 Yao Qi <yao.qi@linaro.org>
9693
9694 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9695 argument options.
9696 * gdb.server/ext-wrapper.exp: New file.
9697
9698 2015-07-23 Doug Evans <dje@google.com>
9699
9700 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9701 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9702
9703 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9704
9705 * gdb.ada/var_arr_typedef.exp: New testcase.
9706 * gdb.ada/var_arr_typedef/pack.adb: New file.
9707 * gdb.ada/var_arr_typedef/pack.ads: New file.
9708 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9709
9710 2015-07-20 Joel Brobecker <brobecker@adacore.com>
9711
9712 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9713
9714 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9715
9716 * gdb.arch/i386-biarch-core.exp: Replace istarget
9717 by "complete set gnutarget". Remove expectation for the "core-file"
9718 command.
9719
9720 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9721
9722 Revert the previous commit:
9723 Tests for validate symbol file using build-id.
9724
9725 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9726
9727 Tests for validate symbol file using build-id.
9728 * gdb.base/solib-mismatch-lib.c: New file.
9729 * gdb.base/solib-mismatch-libmod.c: New file.
9730 * gdb.base/solib-mismatch.c: New file.
9731 * gdb.base/solib-mismatch.exp: New file.
9732
9733 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9734
9735 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9736 nios2-*-linux*.
9737 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9738 * gdb.base/siginfo.exp: Likewise.
9739 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9740
9741 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9742
9743 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9744 Move it to ...
9745 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9746 ... here.
9747 * gdb.trace/range-stepping.exp: Check that the target supports
9748 range stepping.
9749
9750 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9751
9752 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9753
9754 2015-07-14 Pedro Alves <palves@redhat.com>
9755
9756 * gdb.base/killed-outside.exp: New file.
9757 * gdb.base/killed-outside.c: New file.
9758
9759 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9760
9761 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9762 (n at main): New.
9763 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9764
9765 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9766
9767 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9768 infcall tests instead of setting up for KFAIL.
9769
9770 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9771
9772 * gdb.btrace/record_goto-step.exp: New.
9773
9774 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9775
9776 PR compile/18484
9777 * gdb.compile/compile.c (struct struct_type): Add volatile to
9778 selffield's type.
9779 * gdb.compile/compile.exp
9780 (compile code struct_object.selffield = &struct_object): Skip further
9781 struct_object tests if this one xfails.
9782
9783 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
9784
9785 PR exp/18617
9786 * gdb.trace/ax.exp: Add test.
9787
9788 2015-07-07 Yao Qi <yao.qi@linaro.org>
9789
9790 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9791 instead of istarget "aarch64*-*-*".
9792 * gdb.arch/aarch64-fp.exp: Likewise.
9793 * gdb.base/float.exp: Likewise.
9794 * gdb.reverse/aarch64.exp: Likewise.
9795 * lib/gdb.exp (is_aarch64_target): New proc.
9796
9797 2015-07-07 Yao Qi <yao.qi@linaro.org>
9798
9799 * lib/gdb.exp (is_aarch32_target): New proc.
9800 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9801 instead of "istarget "arm*-*-*"".
9802 * gdb.arch/arm-disp-step.exp: Likewise.
9803 * gdb.arch/thumb-bx-pc.exp: Likewise.
9804 * gdb.arch/thumb-prologue.exp: Likewise.
9805 * gdb.arch/thumb-singlestep.exp: Likewise.
9806 * gdb.base/disp-step-syscall.exp: Likewise.
9807 * gdb.base/float.exp: Likewise.
9808
9809 2015-07-07 Yao Qi <yao.qi@linaro.org>
9810
9811 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9812 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9813
9814 2015-07-07 Yao Qi <yao.qi@linaro.org>
9815
9816 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9817 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9818 if it exists.
9819 * gdb.multi/multi-arch.exp: Likewise.
9820
9821 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9822
9823 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9824 print.
9825
9826 2015-07-07 Yao Qi <yao.qi@linaro.org>
9827
9828 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9829
9830 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9831
9832 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9833 '[' and ']' characters.
9834
9835 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9836
9837 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9838
9839 2015-06-29 Pedro Alves <palves@redhat.com>
9840
9841 PR threads/18127
9842 * gdb.threads/hand-call-new-thread.c: New file.
9843 * gdb.threads/hand-call-new-thread.c: New file.
9844
9845 2015-06-26 Keith Seitz <keiths@redhat.com>
9846 Doug Evans <dje@google.com>
9847
9848 PR 16253
9849 * gdb.cp/var-tag-2.cc: New file.
9850 * gdb.cp/var-tag-3.cc: New file.
9851 * gdb.cp/var-tag-4.cc: New file.
9852 * gdb.cp/var-tag.cc: New file.
9853 * gdb.cp/var-tag.exp: New file.
9854
9855 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9856
9857 * gdb.base/history-duplicates.exp: New test.
9858
9859 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9860
9861 * gdb.base/completion.exp: Test the completion of the "focus"
9862 command.
9863
9864 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9865
9866 * gdb.arch/amd64-prologue-skip.S: New file.
9867 * gdb.arch/amd64-prologue-skip.exp: New file.
9868
9869 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9870
9871 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9872 is_address_zero_readable check.
9873
9874 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9875
9876 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9877 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9878
9879 2015-06-24 Yao Qi <yao.qi@linaro.org>
9880
9881 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9882 linux targets.
9883
9884 2015-06-24 Yao Qi <yao.qi@linaro.org>
9885
9886 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9887 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9888 * gdb.base/siginfo-thread.exp: Likewise.
9889
9890 2015-06-22 Yao Qi <yao.qi@linaro.org>
9891
9892 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9893
9894 2015-06-22 Yao Qi <yao.qi@linaro.org>
9895
9896 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9897 aarch64*-*-*.
9898 (skip_hw_watchpoint_tests): Likewise.
9899
9900 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9901
9902 * gdb.base/gdbinit-history.exp: Test the interaction between
9903 setting GDBHISTSIZE and setting the history size via .gdbinit.
9904
9905 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9906
9907 PR gdb/16999
9908 * gdb.base/gdbhistsize-history.exp: New test.
9909
9910 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9911
9912 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9913 with GDBHISTSIZE.
9914 * gdb.base/readline.exp: Likewise.
9915
9916 2015-06-17 Yao Qi <yao.qi@linaro.org>
9917
9918 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9919 line.
9920
9921 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9922
9923 * gdb.base/gdbinit-history.exp: Add test case to check that
9924 an unlimited history file does not get truncated on exit.
9925
9926 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9927
9928 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9929 (VECTOR): New macro. Use it...
9930 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9931 ...for these typedefs.
9932 (int8, char1, int1, double1): New typedefs.
9933 (struct just_int2, struct two_int2): New structures.
9934 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9935 (add_structvecs, add_singlevecs): New functions.
9936 (main): Call add_some_intvecs twice.
9937 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9938 the compile and exit upon failure. Try compiling for the "native"
9939 architecture. Test inferior function calls with vector arguments
9940 and vector return value handling with "finish" and "return".
9941
9942 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9943
9944 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9945 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9946 PE file.
9947 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9948
9949 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9950
9951 PR breakpoints/16465
9952 * gdb.mi/mi-dprintf-pending.c: New file.
9953 * gdb.mi/mi-dprintf-pending.exp: New test.
9954 * gdb.mi/mi-dprintf-pendshr.c: New file.
9955
9956 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9957 Mircea Gherzan <mircea.gherzan@intel.com>
9958
9959 * gdb.arch/i386-mpx-map.c: New file.
9960 * gdb.arch/i386-mpx-map.exp: New File.
9961
9962 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9963
9964 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9965 * gdb.arch/i386-mpx.exp: Indentation fixed.
9966
9967 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9968
9969 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9970 function and improved indentation.
9971 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9972 gdb_test_multiple. Added additional tests to skip the test.
9973
9974 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9975
9976 * gdb.arch/i386-avx512.c: Change path in include file.
9977 * gdb.arch/i386-avx512.exp: Change include dir path
9978 compilation flag.
9979 * gdb.arch/i386-mpx.c: Change path in include file.
9980 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9981 flag.
9982
9983 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9984
9985 * gdb.compile/compile-print.exp (compile print *vararray@3)
9986 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9987
9988 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9989
9990 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9991 (do not keep jit in memory): ... this.
9992 (expect 5): Change it to ...
9993 (expect no 5): ... this.
9994
9995 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9996
9997 PR gdb/15564
9998 * gdb.mi/mi-detach.exp: New file.
9999
10000 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10001
10002 PR symtab/18392
10003 * gdb.arch/amd64-tailcall-self.S: New file.
10004 * gdb.arch/amd64-tailcall-self.c: New file.
10005 * gdb.arch/amd64-tailcall-self.exp: New file.
10006
10007 2015-05-28 Don Breazeal <donb@codesourcery.com>
10008
10009 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10010 tests for remote targets by checking is_target_gdbserver.
10011
10012 2015-05-27 Doug Evans <dje@google.com>
10013
10014 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10015 * gdb.dwarf2/opaque-type-lookup.c: New file.
10016 * gdb.dwarf2/opaque-type-lookup.exp: New file.
10017
10018 2015-05-26 Doug Evans <dje@google.com>
10019
10020 * gdb.cp/iostream.cc: New file.
10021 * gdb.cp/iostream.exp: New file.
10022
10023 2015-05-26 Doug Evans <dje@google.com>
10024
10025 * gdb.dwarf2/dw2-op-call.exp: Update.
10026 * gdb.dwarf2/dw4-sig-types.exp: Update.
10027 * gdb.dwarf2/implptr.exp: Update.
10028 * gdb.mi/mi-cmd-param-changed.exp: Update.
10029
10030 2015-05-26 Doug Evans <dje@google.com>
10031
10032 * gdb.python/py-lazy-string.c: New file.
10033 * gdb.python/py-lazy-string.exp: New file.
10034 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10035 (main): Update. Add estring3.
10036 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10037 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10038
10039 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10040 Yao Qi <yao.qi@linaro.org>
10041
10042 * gdb.reverse/aarch64.c: New.
10043 * gdb.reverse/aarch64.exp: New.
10044
10045 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10046
10047 * lib/gdb.exp (supports_process_record): Return true for
10048 aarch64*-linux*.
10049 (supports_reverse): Likewise.
10050
10051 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
10052
10053 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10054 Use with_test_prefix.
10055
10056 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
10057
10058 * gdb.base/completion.exp: Add test for completion of layout
10059 names.
10060
10061 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
10062
10063 * lib/gdb.exp (skip_tui_tests): New proc.
10064 * gdb.base/tui-layout.exp: Check skip_tui_tests.
10065
10066 2015-05-19 Pedro Alves <palves@redhat.com>
10067
10068 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10069 Save the whole env array instead of just HOME. Unset HISTSIZE in
10070 the environment while testing. Restore whole environment
10071 afterwards.
10072
10073 2015-05-16 Doug Evans <xdje42@gmail.com>
10074
10075 * gdb.guile/scm-ports.c: New file.
10076 * gdb.guile/scm-ports.exp: Add memory port tests.
10077
10078 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10079
10080 * gdb.compile/compile-print.c: New file.
10081 * gdb.compile/compile-print.exp: New file.
10082
10083 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10084
10085 * gdb.compile/compile-ops.exp: Cast param to void.
10086 * gdb.compile/compile.exp: Complete type for _gdb_expr.
10087 (compile code struct_object.selffield = &struct_object): Add xfail.
10088
10089 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10090
10091 * gdb.ada/arr_enum_with_gap: New testcase.
10092
10093 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10094
10095 * gdb.ada/byte_packed_arr: New testcase.
10096
10097 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10098
10099 * gdb.ada/pckd_neg: New testcase.
10100
10101 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
10102
10103 PR gdb/17820
10104 * gdb.base/gdbinit-history.exp: New test.
10105 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10106 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10107
10108 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
10109
10110 * gdb.python/py-xmethods.cc: Enhance test case.
10111 * gdb.python/py-xmethods.exp: New tests.
10112 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10113 function.
10114 (B_indexoper): Likewise.
10115 (global_dm_list) : Add new xmethod worker functions.
10116
10117 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
10118
10119 * gdb.base/coredump-filter.exp: Correctly unset
10120 "coredump_var_addr" array.
10121
10122 2015-05-08 Pedro Alves <palves@redhat.com>
10123
10124 * gdb.server/non-existing-program.exp: Unset spawn_id.
10125
10126 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
10127
10128 PR python/18291
10129 * gdb.python/py-xmethods.exp: Add tests.
10130
10131 2015-05-08 Yao Qi <yao.qi@linaro.org>
10132
10133 PR gdb/18208
10134 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10135 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10136 function set_coredump_filter, and remove remote_exec call.
10137 Remove argument ipid. Callers update.
10138 (top level): Don't get inferior's PID.
10139
10140 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
10141
10142 * gdb.base/watch_thread_num.exp: Skip test on targets without
10143 access watchpoints.
10144
10145 2015-05-06 Pedro Alves <palves@redhat.com>
10146
10147 PR server/18081
10148 * gdb.server/non-existing-program.exp: New file.
10149
10150 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10151
10152 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10153
10154 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10155
10156 * gdb.ada/out_of_line_in_inlined: New testcase.
10157
10158 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10159
10160 * gdb.ada/var_rec_arr: New testcase.
10161
10162 2015-04-30 Yao Qi <yao.qi@linaro.org>
10163
10164 * gdb.base/break-idempotent.exp: If
10165 skip_hw_watchpoint_multi_tests returns true, skip the tests
10166 on "rwatch" and "awatch".
10167
10168 2015-04-30 Yao Qi <yao.qi@linaro.org>
10169
10170 * gdb.base/relativedebug.exp: Invoke gdb command
10171 "info sharedlibrary", and if libc.so doesn't have debug info,
10172 skip the test.
10173
10174 2015-04-29 Doug Evans <dje@google.com>
10175
10176 * gdb.python/py-xmethods.exp: Add ptype tests.
10177 * gdb.python/py-xmethods.py (E_method_char_worker): Add
10178 get_result_type method.
10179
10180 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10181
10182 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10183 the target does not support hardware watchpoints.
10184
10185 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10186
10187 * gdb.base/break-always.exp: Abort testing if writing to memory
10188 causes an error.
10189
10190 2015-04-28 Doug Evans <dje@google.com>
10191
10192 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10193 * gdb.python/py-pp-registration.exp: ... here. New file.
10194 * gdb.python/py-pp-registration.c: New file.
10195 * gdb.python/py-pp-registration.py: New file.
10196
10197 2015-04-28 Doug Evans <dje@google.com>
10198
10199 * gdb.python/py-bad-printers.c: New file.
10200 * gdb.python/py-bad-printers.py: New file.
10201 * gdb.python/py-bad-printers.exp: New file.
10202
10203 2015-04-28 Sasha Smundak <asmundak@google.com>
10204
10205 * gdb.python/py-type.exp: New test.
10206
10207 2015-04-28 Andy Wingo <wingo@igalia.com>
10208
10209 * gdb.python/py-parameter.exp:
10210 * gdb.guile/scm-parameter.exp: Escape the path that we are
10211 matching against, as it might contain characters that are special
10212 to regular expressions.
10213
10214 2015-04-27 Joel Brobecker <brobecker@adacore.com>
10215
10216 * gdb.ada/rec_comp: New testcase.
10217
10218 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
10219
10220 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10221 before using it.
10222
10223 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
10224
10225 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
10226 new tests for verilog output.
10227
10228 2015-04-24 Yao Qi <yao.qi@linaro.org>
10229
10230 * boards/remote-gdbserver-on-localhost.exp: New file.
10231
10232 2015-04-23 Pedro Alves <palves@redhat.com>
10233
10234 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10235 $inferior_spawn_id instead of $inferior_spawn_id directly. On
10236 "end of file", remove $inferior_spawn_id from the indirect list.
10237
10238 2015-04-23 Pedro Alves <palves@redhat.com>
10239
10240 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10241
10242 2015-04-23 Pedro Alves <palves@redhat.com>
10243
10244 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10245 on $any_spawn_id instead of only on $gdb_spawn_id.
10246
10247 2015-04-21 Pierre Muller <muller@sourceware.org>
10248
10249 PR pascal/17815
10250 * lib/pascal.exp (gpc_compile): Add new option "class".
10251 (fpc_compile): Likewise.
10252 * gdb.pascal/case-insensitive-symbols.pas: New file.
10253 * gdb.pascal/case-insensitive-symbols.exp: New file.
10254
10255 2015-04-20 Gary Benson <gbenson@redhat.com>
10256
10257 * gdb.base/attach.exp: Fix three extended remote failures.
10258
10259 2015-04-17 Gary Benson <gbenson@redhat.com>
10260
10261 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10262 the main executable over the remote protocol.
10263
10264 2015-04-16 Pedro Alves <palves@redhat.com>
10265
10266 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10267 a new gdbserver if gdbserver_reconnect_p is set.
10268
10269 2015-04-16 Pedro Alves <palves@redhat.com>
10270
10271 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10272 is set, don't exit gdbserver.
10273
10274 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10275
10276 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10277 appropriate .insn, such that an older assembler can be used.
10278 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10279 the z/Architecture instruction set on 31-bit targets as well.
10280
10281 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10282
10283 * gdb.go/handcall.exp: Remove all logic related to the first
10284 breakpoint and rely on go_runto_main instead.
10285 * gdb.go/strings.exp: Likewise.
10286 * gdb.go/unsafe.exp: Likewise.
10287 * gdb.go/hello.exp: Likewise. Also rename the remaining
10288 breakpoint marker to "breakpoint 1".
10289 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10290 * gdb.go/strings.go: Likewise.
10291 * gdb.go/unsafe.go: Likewise.
10292 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
10293 "set breakpoint 2 here" and rename the remaining breakpoint marker
10294 to "breakpoint 1".
10295
10296 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
10297
10298 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10299 if itertools.imap is not present.
10300 * gdb.python/py-objfile.exp: Add parentheses.
10301 * gdb.python/py-type.exp: Same.
10302 * gdb.python/py-unwind-maint.py: Same.
10303
10304 2015-04-15 Yao Qi <yao.qi@linaro.org>
10305
10306 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10307 of ":$ptr_size" and set its form explicitly.
10308
10309 2015-04-15 Pedro Alves <palves@redhat.com>
10310 Yao Qi <yao.qi@linaro.org>
10311
10312 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10313 timeout by factor of 4.
10314 (test_regular_watch): Likewise.
10315 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10316 * gdb.reverse/sigall-reverse.exp: Likewise.
10317 * gdb.reverse/until-precsave.exp: Likewise.
10318 * lib/gdb.exp (with_timeout_factor): New proc.
10319 (gdb_expect): Move some code to ...
10320 (get_largest_timeout): ... here. New procedure.
10321
10322 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
10323
10324 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10325
10326 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10327
10328 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10329 to write to the .text section.
10330
10331 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10332
10333 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10334 Handle the case of targets that do not provide PID information.
10335
10336 2015-04-13 Yao Qi <yao.qi@linaro.org>
10337
10338 * lib/gdbserver-support.exp (gdb_exit): Catch exception
10339 and use expect instead of gdb_expect.
10340
10341 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
10342
10343 * gdb.base/coredump-filter.exp: Rename variable "addr" to
10344 "coredump_var_addr" to avoid naming conflict with other testcases.
10345
10346 2015-04-10 Pedro Alves <palves@redhat.com>
10347
10348 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10349 gdb_test_sequence and gdb_assert.
10350
10351 2015-04-10 Pedro Alves <palves@redhat.com>
10352
10353 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10354 test messages that don't include the breakpoint address.
10355
10356 2015-04-10 Yao Qi <yao.qi@linaro.org>
10357
10358 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10359 false for some offset and width combinations which aren't
10360 supported by linux kernel.
10361
10362 2015-04-10 Pedro Alves <palves@redhat.com>
10363
10364 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10365 procedure, factored out from ...
10366 (top level): ... here. Add "set displaced-stepping" testing axis.
10367 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10368 parameter "displaced". Use it.
10369 (top level): Use foreach and add "set displaced-stepping" testing
10370 axis.
10371
10372 2015-04-10 Pedro Alves <palves@redhat.com>
10373
10374 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10375 Remove comment.
10376 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10377 both the address of the instruction that triggers the watchpoint
10378 and the address of the instruction immediately after, and use
10379 those addresses for the test. Fix comment.
10380
10381 2015-04-10 Pedro Alves <palves@redhat.com>
10382
10383 * gdb.base/sigstep.exp (breakpoint_to_handler)
10384 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
10385 Test "backtrace" in handler.
10386 (breakpoint_over_handler): New parameter 'displaced'. Use it.
10387 (top level): Add new "displaced" test axis to
10388 breakpoint_to_handler, breakpoint_to_handler_entry and
10389 breakpoint_over_handler.
10390
10391 2015-04-10 Pedro Alves <palves@redhat.com>
10392
10393 PR gdb/18216
10394 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10395
10396 2015-04-10 Yao Qi <yao.qi@linaro.org>
10397
10398 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10399 (test_add_rn_pc): New function.
10400 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10401 (top level): Invoke test_add_rn_pc.
10402
10403 2015-04-10 Pedro Alves <palves@redhat.com>
10404
10405 PR gdb/13858
10406 * gdb.base/step-over-no-symbols.exp: New file.
10407
10408 2015-04-09 Andy Wingo <wingo@igalia.com>
10409
10410 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10411 after the Python tests.
10412
10413 2015-04-08 Keith Seitz <keiths@redhat.com>
10414
10415 PR python/16699
10416 * gdb.python/py-completion.exp: New tests for completion.
10417 * gdb.python/py-completion.py (CompleteLimit1): New class.
10418 (CompleteLimit2): Likewise.
10419 (CompleteLimit3): Likewise.
10420 (CompleteLimit4): Likewise.
10421 (CompleteLimit5): Likewise.
10422 (CompleteLimit6): Likewise.
10423 (CompleteLimit7): Likewise.
10424
10425 2015-04-08 Pedro Alves <palves@redhat.com>
10426
10427 PR gdb/18214
10428 PR gdb/18216
10429 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10430 function.
10431 (main): Install it as SIGUSR1 handler.
10432 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10433 parameter. Always use "setup" as prefix. Toggle "set
10434 displaced-stepping" off/on depending on global. Don't switch to
10435 thread 1 here.
10436 (top level): Add displaced stepping "off/on" test axis. Update
10437 "setup" calls. Wrap each subtest with with_test_prefix. Test
10438 continuing with a queued signal in each thread.
10439
10440 2015-04-08 Pedro Alves <palves@redhat.com>
10441
10442 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10443 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
10444 gdb_breakpoint instead of gdb_test that doesn't expect anything.
10445 Return early if running to main fails.
10446 * gdb.trace/while-stepping.exp: Likewise.
10447
10448 2015-04-07 Pedro Alves <palves@redhat.com>
10449
10450 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10451 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
10452 interact with inferior program.
10453
10454 2015-04-07 Pedro Alves <palves@redhat.com>
10455
10456 * lib/gdb.exp (inferior_spawn_id): New global.
10457 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
10458 spawn id after processing the user code.
10459 (default_gdb_start): Set inferior_spawn_id.
10460 (send_inferior): New procedure.
10461 * lib/gdbserver-support.exp (gdbserver_start): Set
10462 inferior_spawn_id.
10463 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10464
10465 2015-04-07 Pedro Alves <palves@redhat.com>
10466
10467 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10468 * lib/gdbserver-support.exp (gdbserver_start): Make
10469 $server_spawn_id global.
10470 (gdbserver_start): Don't wait for gdbserver's spawn id with
10471 expect_background.
10472 (close_gdbserver): New procedure.
10473 (gdb_exit): Rename the default version and reimplement.
10474
10475 2015-04-07 Pedro Alves <palves@redhat.com>
10476
10477 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10478 append the substituted item, not the original item.
10479
10480 2015-04-07 Pedro Alves <palves@redhat.com>
10481
10482 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10483 gdb_expect.
10484
10485 2015-04-07 Pedro Alves <palves@redhat.com>
10486
10487 * gdb.base/interrupt.exp: Don't handle the case of the inferior
10488 output appearing once only.
10489
10490 2015-04-07 Pedro Alves <palves@redhat.com>
10491
10492 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10493 that doesn't expect anything. Return early if running to main
10494 fails.
10495
10496 2015-04-07 Yao Qi <yao.qi@linaro.org>
10497
10498 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10499 (child_function): Call alarm.
10500 (main): Move call to alarm into the loop.
10501 * gdb.threads/non-stop-fair-events.exp: Build program with
10502 -DTIMEOUT=$timeout.
10503
10504 2015-04-06 Doug Evans <xdje42@gmail.com>
10505
10506 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10507 Fix dest parameter to board_info.
10508 (fpc_compile): Ditto.
10509 (gdb_compile_pascal): Rename dest arg to destfile.
10510
10511 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10512
10513 * gdb.ada/funcall_ref.exp: New file.
10514 * gdb.ada/funcall_ref/foo.adb: New file.
10515
10516 2015-04-02 Yao Qi <yao.qi@linaro.org>
10517
10518 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10519 is remote.
10520
10521 2015-04-02 Gary Benson <gbenson@redhat.com>
10522
10523 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10524
10525 2015-04-01 Sasha Smundak <asmundak@google.com>
10526
10527 * gdb.python/py-unwind-maint.c: New file.
10528 * gdb.python/py-unwind-maint.exp: New test.
10529 * gdb.python/py-unwind-maint.py: New file.
10530 * gdb.python/py-unwind.c: New file.
10531 * gdb.python/py-unwind.exp: New test.
10532 * gdb.python/py-unwind.py: New test.
10533
10534 2015-04-01 Pedro Alves <palves@redhat.com>
10535
10536 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10537 to fail instead of non-existent $test.
10538
10539 2015-04-01 Pedro Alves <palves@redhat.com>
10540
10541 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10542 GDBFLAGS if not empty.
10543
10544 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10545
10546 * gdb.ada/complete.exp: Remove "multi_line".
10547 * gdb.ada/info_exc.exp: Remove "multi_line".
10548 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10549 * gdb.ada/ptype_field.exp: Remove "multi_line".
10550 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10551 * gdb.ada/tagged.exp: Remove "multi_line".
10552 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10553 [multi_line ...]
10554 * gdb.btrace/delta.exp: Likewise.
10555 * gdb.btrace/exception.exp: Likewise.
10556 * gdb.btrace/function_call_history.exp: Likewise.
10557 * gdb.btrace/instruction_history.exp: Likewise.
10558 * gdb.btrace/nohist.exp: Likewise.
10559 * gdb.btrace/record_goto.exp: Likewise.
10560 * gdb.btrace/segv.exp: Likewise.
10561 * gdb.btrace/stepi.exp: Likewise.
10562 * gdb.btrace/tailcall.exp: Likewise.
10563 * gdb.btrace/unknown_functions.exp: Likewise.
10564 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10565 * lib/gdb.exp: Add the "multi_line" helper.
10566
10567 2015-04-01 Pedro Alves <palves@redhat.com>
10568
10569 * gdb.threads/tid-reuse.c: New file.
10570 * gdb.threads/tid-reuse.exp: New file.
10571
10572 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10573
10574 PR corefiles/16092
10575 * gdb.base/coredump-filter.c: New file.
10576 * gdb.base/coredump-filter.exp: Likewise.
10577
10578 2015-03-27 Petr Machata <pmachata@redhat.com>
10579
10580 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10581 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10582 (Dwarf::assemble): Initialize them.
10583 (Dwarf::lines): New function.
10584
10585 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10586
10587 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10588 SYMBOL_PREFIX for x86_64-*-cygwin.
10589
10590 2015-03-26 Andy Wingo <wingo@igalia.com>
10591
10592 PR symtab/18148
10593 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10594 const_value but not a location.
10595 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10596 location defined in non-main CUs are visible.
10597
10598 2015-03-26 Yao Qi <yao.qi@linaro.org>
10599
10600 PR testsuite/18139
10601 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10602 Add a line number entry for the same line.
10603 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10604 Add a line number entry for the same line.
10605
10606 2015-03-26 Yao Qi <yao.qi@linaro.org>
10607
10608 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10609 .int 0.
10610 (func): Likewise. Add .Lfunc_1 label.
10611 Use .Lfunc_1 label.
10612 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10613 .int 0.
10614 (func): Likewise.
10615 Use .Lfunc_1 label.
10616
10617 2015-03-26 Yao Qi <yao.qi@linaro.org>
10618
10619 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10620 Call gdb_compile instead to compile each .s files without debug
10621 information.
10622
10623 2015-03-26 Yao Qi <yao.qi@linaro.org>
10624
10625 * gdb.base/savedregs.exp (process_saved_regs): Make
10626 "Saved registers:" optional in the pattern.
10627
10628 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10629
10630 * gdb.btrace/next.exp: Merged into step.exp.
10631 * gdb.btrace/finish.exp: Merged into step.exp.
10632 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10633 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10634 "record goto" and checking the exact replay position.
10635 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10636 check for "Recording format" in "info record" output.
10637 * gdb.btrace/record_goto.exp: Choose test file based on target.
10638 * gdb.btrace/x86-record_goto.S: Renamed into ...
10639 * gdb.btrace/x86_64-record_goto.S: ... this.
10640 * gdb.btrace/i686-record_goto.S: New.
10641 * gdb.btrace/x86-tailcall.S: Renamed into ...
10642 * gdb.btrace/x86_64-tailcall.S: ... this.
10643 * gdb.btrace/i686-tailcall.S: New.
10644 * gdb.btrace/x86-tailcall.c: Renamed into ...
10645 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10646 separate statements. Update test.
10647 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10648 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10649 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10650 * gdb.btrace/tailcall.exp: Choose test file based on target.
10651 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10652
10653 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10654
10655 * gdb.btrace/exception.exp: Increase BTS buffer size.
10656
10657 2015-03-24 Pedro Alves <palves@redhat.com>
10658
10659 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10660
10661 2015-03-24 Pedro Alves <palves@redhat.com>
10662
10663 * gdb.threads/schedlock.exp (test_step): No longer expect that
10664 "set scheduler-locking step" with "next" over a function call runs
10665 threads unlocked.
10666
10667 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10668
10669 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10670
10671 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10672
10673 PR breakpoints/16466
10674 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10675 * gdb.mi/mi-pending.c (thread_func): New function.
10676 (int main): Add threading support required.
10677 * gdb.mi/mi-pending.exp: Add tests for this issue.
10678 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10679 (pendfunc2): Remove stdio dependency.
10680 * gdb.mi/mi-pendshr2.c: New file.
10681
10682 2015-03-23 Keith Seitz <keiths@redhat.com>
10683
10684 * gdb.linespec/keywords.c: New file.
10685 * gdb.linespec/keywords.exp: New file.
10686
10687 2015-03-23 Keith Seitz <keiths@redhat.com>
10688
10689 PR gdb/18021
10690 * gdb.dwarf2/staticvirtual.exp: New test.
10691
10692 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10693
10694 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10695 * README: Remove HP-UX and gdb.hp.
10696 (configuration):
10697 * configure: Regenerate.
10698 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10699 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10700 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10701 gdb.hp/gdb.defects/Makefile.
10702 * gdb.hp/Makefile.in: File deleted.
10703 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10704 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10705 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10706 * gdb.hp/gdb.aCC/run.c: File deleted.
10707 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10708 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10709 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10710 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10711 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10712 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10713 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10714 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10715 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10716 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10717 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10718 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10719 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10720 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10721 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10722 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10723 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10724 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10725 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10726 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10727 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10728 * gdb.hp/gdb.compat/average.c: File deleted.
10729 * gdb.hp/gdb.compat/sum.c: File deleted.
10730 * gdb.hp/gdb.compat/xdb.c: File deleted.
10731 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10732 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10733 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10734 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10735 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10736 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10737 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10738 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10739 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10740 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10741 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10742 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10743 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10744 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10745 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10746 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10747 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10748 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10749 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10750 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10751 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10752 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10753 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10754 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10755 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10756 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10757 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10758 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10759 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10760 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10761 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10762 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10763 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10764 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10765 * gdb.hp/tools/odump: File deleted.
10766
10767 2015-03-19 Pedro Alves <palves@redhat.com>
10768
10769 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10770 (saw_thread_3): New globals.
10771 (top level): Increment them when an event for the corresponding
10772 thread is seen.
10773 (no thread starvation): New test.
10774
10775 2015-03-19 Pedro Alves <palves@redhat.com>
10776
10777 * gdb.threads/continue-pending-status.c: New file.
10778 * gdb.threads/continue-pending-status.exp: New file.
10779
10780 2015-03-18 Pedro Alves <palves@redhat.com>
10781
10782 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10783 Use gdb_is_target_remote instead of is_remote. Use
10784 gdb_test_multiple instead of gdb_expect. Exit early if
10785 gdb_test_multiple hits its internal matches. Tighten stepi tests
10786 expected output. Fail on exit with any signal, instead of just
10787 SIGILL.
10788
10789 2015-03-18 Yao Qi <yao.qi@linaro.org>
10790
10791 PR tdep/18107
10792 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10793 variable.
10794 * gdb.base/catch-syscall.exp: Don't skip it on
10795 aarch64*-*-linux* target. Remove elements in all_syscalls.
10796 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10797 target.
10798 (setup_all_syscalls): New proc.
10799
10800 2015-03-16 Yao Qi <yao.qi@linaro.org>
10801
10802 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10803 (top level): Skip tests if valid_addr_p returns false for
10804 $cmd1 or $cmd2.
10805
10806 2015-03-11 Andy Wingo <wingo@igalia.com>
10807
10808 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10809
10810 2015-03-11 Yao Qi <yao.qi@linaro.org>
10811
10812 * gdb.base/catch-syscall.exp: Fix typo in comments.
10813
10814 2015-03-11 Yao Qi <yao.qi@linaro.org>
10815
10816 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10817
10818 2015-03-09 Pedro Alves <palves@redhat.com>
10819
10820 * dg-extract-results.py: Delete.
10821
10822 2015-03-09 Pedro Alves <palves@redhat.com>
10823
10824 Merge dg-extract-results.sh from GCC upstream (r218843).
10825
10826 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10827 * dg-extract-results.sh: Use --text with grep to avoid issues with
10828 binary files. Fall back to cat -v, if that doesn't work.
10829
10830 2015-03-05 Pedro Alves <palves@redhat.com>
10831
10832 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10833
10834 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10835
10836 * lib/mi-support.exp (mi_expect_interrupt): Accept
10837 alternative event for when in all-stop mode.
10838
10839 2015-03-04 Pedro Alves <palves@redhat.com>
10840
10841 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10842
10843 2015-03-04 Mark Kettenis <kettenis@gnu.org>
10844
10845 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10846
10847 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10848
10849 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10850 regexps for GDB's current line display, accept a hex address
10851 preceding the line number.
10852
10853 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10854
10855 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10856 the 'arch1' variable for "s390*-linux*" targets.
10857
10858 2015-03-04 Pedro Alves <palves@redhat.com>
10859
10860 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10861 (main): Pass missing retval argument to pthread_join call.
10862
10863 2015-03-02 Pedro Alves <palves@redhat.com>
10864
10865 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10866 (top level): Call do_test with non-stop as well.
10867
10868 2015-03-02 Pedro Alves <palves@redhat.com>
10869
10870 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10871 -1.
10872
10873 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10874
10875 * gdb.arch/s390-vregs.exp: New test.
10876 * gdb.arch/s390-vregs.S: New file.
10877
10878 2015-02-27 Pedro Alves <palves@redhat.com>
10879
10880 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10881 call to catch_command_errors.
10882 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10883 catch_command_errors.
10884
10885 2015-02-27 Pedro Alves <palves@redhat.com>
10886
10887 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10888 "true" for boolean result.
10889 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10890 prototype of main.
10891
10892 2015-02-27 Pedro Alves <palves@redhat.com>
10893
10894 * lib/unbuffer_output.c: New file.
10895 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10896 (main): Call gdb_unbuffer_output.
10897
10898 2015-02-27 Yao Qi <yao.qi@linaro.org>
10899
10900 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10901 target.
10902
10903 2015-02-26 Doug Evans <dje@google.com>
10904
10905 * gdb.cp/class2.cc (Dbase, D): New classes.
10906 (main): New local delta.
10907 * gdb.cp/class2.exp: Test printing delta.
10908 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10909 (dynbar): New global.
10910 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10911
10912 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10913
10914 * gdb.compile/compile-ifunc.c: New file.
10915 * gdb.compile/compile-ifunc.exp: New file.
10916
10917 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10918
10919 * gdb.base/structs.exp: Check for correct struct on finish.
10920
10921 2015-02-26 Yao Qi <yao.qi@linaro.org>
10922
10923 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10924 is zero.
10925
10926 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10927
10928 * gdb.arch/cordic.ko.bz2: New file.
10929 * gdb.arch/cordic.ko.debug.bz2: New file.
10930 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10931
10932 2015-02-25 Yao Qi <yao.qi@linaro.org>
10933
10934 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10935 aarch64*-*-* target.
10936
10937 2015-02-23 Pedro Alves <palves@redhat.com>
10938
10939 * lib/gdb.exp (delete_breakpoints): Rewrite using
10940 gdb_test_multiple.
10941
10942 2015-02-23 Pedro Alves <palves@redhat.com>
10943
10944 * gdb.base/info-os.c: Include stdlib.h.
10945
10946 2015-02-22 Doug Evans <xdje42@gmail.com>
10947
10948 PR symtab/17855
10949 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10950 is read after symbols have been re-read.
10951 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10952 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10953
10954 2015-02-21 Doug Evans <dje@google.com>
10955
10956 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10957
10958 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10959
10960 PR corefiles/17808
10961 * gdb.arch/i386-biarch-core.core.bz2: New file.
10962 * gdb.arch/i386-biarch-core.exp: New file.
10963
10964 2015-02-21 Pedro Alves <palves@redhat.com>
10965
10966 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10967 runto_main fails.
10968
10969 2015-02-20 Pedro Alves <palves@redhat.com>
10970
10971 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10972 info probes.
10973
10974 2015-02-20 Pedro Alves <palves@redhat.com>
10975
10976 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10977
10978 2015-02-20 Pedro Alves <palves@redhat.com>
10979
10980 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10981 clean_restart before gdb_target_supports_trace.
10982
10983 2015-02-20 Pedro Alves <palves@redhat.com>
10984
10985 PR threads/18006
10986 * gdb.threads/clone-thread_db.c: New file.
10987 * gdb.threads/clone-thread_db.exp: New file.
10988
10989 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10990
10991 PR breakpoints/16812
10992 * gdb.base/catch-gdb-caused-signals.c: New file.
10993 * gdb.base/catch-gdb-caused-signals.exp: New file.
10994
10995 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10996
10997 * configure: Regenerated.
10998 * configure.ac: Use GDB_AC_TRANSFORM.
10999 * aclocal.m4: sinclude ../transform.m4.
11000
11001 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11002
11003 * lib/dtrace.exp: New file.
11004 * gdb.base/dtrace-probe.exp: Likewise.
11005 * gdb.base/dtrace-probe.d: Likewise.
11006 * gdb.base/dtrace-probe.c: Likewise.
11007 * lib/pdtrace.in: Likewise.
11008 * configure.ac: Output variables with the transformed names of
11009 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
11010 * configure: Regenerated.
11011
11012 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11013
11014 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11015 expected message when trying to access $_probe_* convenience
11016 variables while not on a probe.
11017
11018 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11019
11020 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11021
11022 2015-02-11 Pedro Alves <pedro@codesourcery.com>
11023
11024 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11025 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11026
11027 2015-02-10 Doug Evans <xdje42@gmail.com>
11028
11029 * lib/gdb.exp (gdb_load): Always return a result.
11030
11031 2015-02-10 Pedro Alves <palves@redhat.com>
11032
11033 * gdb.threads/signal-sigtrap.c: New file.
11034 * gdb.threads/signal-sigtrap.exp: New file.
11035
11036 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
11037
11038 * gdb.trace/no-attach-trace.c: New file.
11039 * gdb.trace/no-attach-trace.exp: New file.
11040
11041 2015-02-09 Mark Wielaard <mjw@redhat.com>
11042
11043 * gdb.dwarf2/atomic.c: New file.
11044 * gdb.dwarf2/atomic-type.exp: Likewise.
11045
11046 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11047
11048 * gdb.btrace/buffer-size.exp: Update "info record" output.
11049 * gdb.btrace/delta.exp: Update "info record" output.
11050 * gdb.btrace/enable.exp: Update "info record" output.
11051 * gdb.btrace/finish.exp: Update "info record" output.
11052 * gdb.btrace/instruction_history.exp: Update "info record" output.
11053 * gdb.btrace/next.exp: Update "info record" output.
11054 * gdb.btrace/nexti.exp: Update "info record" output.
11055 * gdb.btrace/step.exp: Update "info record" output.
11056 * gdb.btrace/stepi.exp: Update "info record" output.
11057 * gdb.btrace/nohist.exp: Update "info record" output.
11058
11059 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11060
11061 * gdb.btrace/buffer-size: New.
11062
11063 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11064
11065 * gdb.btrace/delta.exp: Update "info record" output.
11066 * gdb.btrace/enable.exp: Update "info record" output.
11067 * gdb.btrace/finish.exp: Update "info record" output.
11068 * gdb.btrace/instruction_history.exp: Update "info record" output.
11069 * gdb.btrace/next.exp: Update "info record" output.
11070 * gdb.btrace/nexti.exp: Update "info record" output.
11071 * gdb.btrace/step.exp: Update "info record" output.
11072 * gdb.btrace/stepi.exp: Update "info record" output.
11073 * gdb.btrace/nohist.exp: Update "info record" output.
11074
11075 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
11076
11077 PR gdb/15678
11078 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11079
11080 2015-02-06 Pedro Alves <palves@redhat.com>
11081
11082 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11083 macro.
11084 (seconds_left, again): New globals.
11085 (main): Wait seconds_left in a 1-second sleep loop instead of
11086 sleeping 180 seconds. If 'again' is set, reset the seconds
11087 counter.
11088 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11089 'again' in the inferior before detaching. Print the seconds left.
11090 (options): New global.
11091 (top level): Build program with -DTIMEOUT=$timeout.
11092
11093 2015-02-06 Pedro Alves <palves@redhat.com>
11094
11095 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11096 determine how many seconds to pass to 'alarm'.
11097 * gdb.base/gdb-sigterm.exp (top level): Build program with
11098 -DTIMEOUT=$timeout.
11099 (do_test): Return success/failure indication. Add more verbose
11100 logging. Don't fail if 200 single steps are seen. Instead, fail
11101 when the test times out.
11102 (passes): New global.
11103 (top level): Break the testing loop if testing fails on any
11104 iteration. Use gdb_assert.
11105
11106 2015-02-04 Don Breazeal <donb@codesourcery.com>
11107
11108 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11109 and initialize them.
11110 (ipc_cleanup): New function.
11111 (main): Don't declare shmid, semid, and msqid. Add a call to
11112 atexit so that we call ipc_cleanup on exit.
11113
11114 2015-02-04 Pedro Alves <palves@redhat.com>
11115
11116 * boards/native-extended-gdbserver.exp: Remove any target variant
11117 specifications from the board name before clearing the isremote
11118 flag from board_info.
11119
11120 2015-01-31 Doug Evans <xdje42@gmail.com>
11121
11122 * gdb.base/maint.exp <maint print type argc>: Update expected output.
11123
11124 2015-01-31 Gary Benson <gbenson@redhat.com>
11125
11126 * gdb.base/completion.exp: Disable completion limiting for
11127 existing tests. Add new tests to check completion limiting.
11128 * gdb.linespec/ls-errs.exp: Disable completion limiting.
11129
11130 2015-01-31 Doug Evans <xdje42@gmail.com>
11131
11132 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11133
11134 2015-01-31 Doug Evans <xdje42@gmail.com>
11135
11136 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11137 entries. Duplicate file section script entries.
11138 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11139 inlined entries. Add test for safe-path rejection.
11140 * gdb.python/py-section-script.c: Add duplicate inlined section script
11141 entries. Duplicate file section script entries.
11142 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11143 inlined entries. Add test for safe-path rejection.
11144
11145 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11146
11147 * gdb.ada/disc_arr_bound: New testcase.
11148
11149 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11150
11151 * gdb.ada/mi_var_array: New testcase.
11152
11153 2015-01-27 Doug Evans <dje@google.com>
11154
11155 * gdb.python/py-objfile.exp: Add tests for objfile.username.
11156 Add test for objfile.filename, objfile.username after objfile
11157 has been unloaded.
11158
11159 2015-01-26 Joel Brobecker <brobecker@adacore.com>
11160
11161 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11162 the second test to print the name attribute of value
11163 returned by the call to gdb.lookup_type, and adjust
11164 the expected output accordingly.
11165
11166 2015-01-25 Mark Wielaard <mjw@redhat.com>
11167
11168 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11169 * gdb.base/disp-step-fork.c: Include unistd.h.
11170 * gdb.base/siginfo-obj.c: Include stdio.h.
11171 * gdb.base/siginfo-thread.c: Likewise.
11172 * gdb.mi/non-stop.c: Include unistd.h.
11173 * gdb.mi/nsthrexec.c: Include stdio.h.
11174 * gdb.mi/pthreads.c: Include unistd.h.
11175 * gdb.modula2/unbounded1.c (main): Declare returns int.
11176 * gdb.reverse/consecutive-reverse.c: Likewise.
11177 * gdb.threads/create-fail.c: Include unistd.h.
11178 * gdb.threads/killed.c: Likewise.
11179 * gdb.threads/linux-dp.c: Likewise.
11180 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11181 * gdb.threads/non-ldr-exc-2.c: Likewise.
11182 * gdb.threads/non-ldr-exc-3.c: Likewise.
11183 * gdb.threads/non-ldr-exc-4.c: Likewise.
11184 * gdb.threads/pthreads.c: Include unistd.h.
11185 (main): Declare returns int.
11186 * gdb.threads/tls-main.c (foo): New declaration.
11187 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11188
11189 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
11190
11191 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11192 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11193
11194 2015-01-15 Mark Wielaard <mjw@redhat.com>
11195
11196 * gdb.base/noreturn-return.c: New file.
11197 * gdb.base/noreturn-return.exp: New file.
11198 * gdb.base/noreturn-finish.c: New file.
11199 * gdb.base/noreturn-finish.exp: New file.
11200
11201 2015-01-23 Pedro Alves <palves@redhat.com>
11202
11203 * gdb.threads/continue-pending-after-query.c: New file.
11204 * gdb.threads/continue-pending-after-query.exp: New file.
11205
11206 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
11207 Simon Marchi <simon.marchi@ericsson.com>
11208
11209 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11210 * gdb.base/valgrind-db-attach.exp: Same.
11211 * gdb.base/valgrind-infcall.exp: Same.
11212 * lib/mi-support.exp (default_mi_gdb_start): Same.
11213 * lib/prompt.exp (default_prompt_gdb_start): Same.
11214 * lib/gdb.exp (default_gdb_spawn): Same.
11215 (gdb_interact): New.
11216
11217
11218 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11219
11220 * gdb.compile/compile.exp (pointer to jit function): New test.
11221
11222 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
11223
11224 * lib/gdb.exp (supports_process_record): Return true for
11225 powerpc*-*-linux*.
11226 (supports_reverse): Likewise.
11227
11228 2015-01-15 Don Breazeal <donb@codesourcery.com>
11229
11230 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11231 instead of checking whether the target board is remote and
11232 use spawn_wait_for_attach instead of exec/sleep.
11233 * gdb.base/attach-twice.exp: Likewise.
11234
11235 2015-01-15 Joel Brobecker <brobecker@adacore.com>
11236
11237 * gdb.ada/var_arr_attrs: New testcase.
11238
11239 2015-01-14 Pedro Alves <palves@redhat.com>
11240 Joel Brobecker <brobecker@adacore.com>
11241
11242 PR gdb/17525
11243 * gdb.base/bp-cmds-execution-x-script.c: New file.
11244 * gdb.base/bp-cmds-execution-x-script.exp: New file.
11245 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11246
11247 2015-01-14 Pedro Alves <palves@redhat.com>
11248
11249 PR cli/17828
11250 * gdb.base/batch-preserve-term-settings.c: New file.
11251 * gdb.base/batch-preserve-term-settings.exp: New file.
11252
11253 2015-01-13 Doug Evans <dje@google.com>
11254
11255 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11256 binary.
11257
11258 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11259
11260 * Makefile.in (clean mostlyclean): Do not delete *.py.
11261
11262 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11263
11264 * gdb.python/py-lookup-type.exp: New file.
11265
11266 2015-01-12 Pedro Alves <palves@redhat.com>
11267
11268 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11269 restore GDBFLAGS before returning.
11270
11271 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11272
11273 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11274 is_amd64_regs_target and is_x86_like_target.
11275
11276 2015-01-11 Doug Evans <xdje42@gmail.com>
11277
11278 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11279 is given without an explicit form.
11280 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11281 attributes.
11282 * gdb.dwarf/corrupt.exp: Ditto.
11283 * gdb.dwarf2/enum-type.exp: Ditto.
11284 * gdb.trace/entry-values.exp: Ditto.
11285 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11286
11287 2015-01-11 Doug Evans <xdje42@gmail.com>
11288
11289 PR gdb/15830
11290 * gdb.base/maint.exp: Remove references to "maint demangle".
11291 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
11292 Add tests for explicitly specifying language to demangle.
11293 * gdb.dlang/demangle.exp: Ditto.
11294
11295 2015-01-09 Pedro Alves <palves@redhat.com>
11296
11297 * gdb.threads/non-stop-fair-events.c: New file.
11298 * gdb.threads/non-stop-fair-events.exp: New file.
11299
11300 2015-01-09 Pedro Alves <palves@redhat.com>
11301
11302 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11303 the global scope. Set a breakpoint after all threads are started
11304 rather than stepping over two source lines. Expect the prompt.
11305 * gdb.base/watch_thread_num.c (threads_started_barrier): New
11306 global.
11307 (NUM): Now 15.
11308 (main): Use threads_started_barrier to wait for all threads to
11309 start. Main thread no longer calls thread_function. Exit after
11310 180 seconds.
11311 (loop): New function.
11312 (thread_function): Wait on threads_started_barrier barrier. Call
11313 'loop' at each iteration.
11314 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11315 threads have started, instead of hardcoding number of "next"
11316 steps. Use an access watchpoint instead of a write watchpoint.
11317
11318 2015-01-09 Pedro Alves <palves@redhat.com>
11319
11320 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11321 (thread_func): Wait on barrier.
11322 (main): Wait for all threads to start before stopping GDB.
11323 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11324 global.
11325 (thread1_func, thread2_func): Wait on barrier.
11326 (main): Wait for all threads to start before stopping GDB.
11327 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11328 New global.
11329 (thread1_func, thread2_func): Wait on barrier.
11330 (main): Wait for all threads to start before stopping GDB.
11331
11332 2015-01-09 Pedro Alves <palves@redhat.com>
11333
11334 * gdb.threads/attach-many-short-lived-threads.c: New file.
11335 * gdb.threads/attach-many-short-lived-threads.exp: New file.
11336
11337 2014-01-09 Pedro Alves <palves@redhat.com>
11338
11339 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11340 instead of to thread 2.
11341 * gdb.threads/signal-command-multiple-signals-pending.c (main):
11342 Add barrier around each pthread_create call instead of around all
11343 calls.
11344 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11345 Set a break on thread_function and have the child threads hit it
11346 one at at a time.
11347
11348 2015-01-09 Pedro Alves <palves@redhat.com>
11349
11350 * lib/gdb.exp (can_spawn_for_attach): New procedure.
11351 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11352 false.
11353 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11354 checking whether the target board is remote.
11355 * gdb.multi/multi-attach.exp: Likewise.
11356 * gdb.python/py-sync-interp.exp: Likewise.
11357 * gdb.server/ext-attach.exp: Likewise.
11358 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11359 tests that need to attach, instead of checking whether the target
11360 board is remote at the top of the file.
11361
11362 2015-01-08 Yao Qi <yao@codesourcery.com>
11363
11364 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11365
11366 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11367
11368 Fix testcase compilation.
11369 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11370
11371 2015-01-06 Joel Brobecker <brobecker@adacore.com>
11372
11373 * gdb.python/py-type.exp: Add a couple test about empty
11374 array creation, and negative-length array creation.
11375
11376 2015-01-02 Doug Evans <xdje42@gmail.com>
11377
11378 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11379
11380 2015-01-02 Doug Evans <dje@google.com>
11381
11382 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11383
11384 2014-12-29 Yao Qi <yao@codesourcery.com>
11385
11386 * gdb.trace/entry-values.exp: Update comments. Rename variable
11387 bar_call_foo to returned_from_foo.
11388
11389 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
11390
11391 PR gdb/17394
11392 * gdb.linespec/break-asm-file.c: New file.
11393 * gdb.linespec/break-asm-file.exp: New file.
11394 * gdb.linespec/break-asm-file0.s: New file.
11395 * gdb.linespec/break-asm-file1.s: New file.
11396
11397 2014-12-18 Nigel Stephens <nigel@mips.com>
11398 Maciej W. Rozycki <macro@codesourcery.com>
11399
11400 * gdb.base/float.exp: Handle the new output from "info float" on
11401 MIPS targets.
11402
11403 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11404
11405 Fix MinGW compilation.
11406 * gdb.compile/compile-ops.exp: Update untested message if
11407 !skip_compile_feature_tests.
11408 * gdb.compile/compile-setjmp.exp: Likewise.
11409 * gdb.compile/compile-tls.exp: Likewise.
11410 * gdb.compile/compile.exp: Likewise.
11411 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11412 supported on this host".
11413
11414 2014-12-16 Doug Evans <xdje42@gmail.com>
11415
11416 * boards/stabs.exp: New file.
11417
11418 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
11419
11420 * gdb.base/completion.exp: Adjust to format changes of "maint
11421 print user-registers".
11422
11423 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
11424
11425 PR server/17457
11426 * gdb.arch/aarch64-fp.c: New file.
11427 * gdb.arch/aarch64-fp.exp: New file.
11428
11429 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11430
11431 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11432 r210637, r210913, r211666, r215400, r215817).
11433
11434 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
11435 * dg-extract-results.py: New file.
11436 * dg-extract-results.sh: Use it if the environment seems
11437 suitable.
11438
11439 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
11440
11441 * dg-extract-results.py (parse_run): Handle warnings that
11442 are printed before a test harness is run.
11443
11444 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
11445
11446 * dg-extract-results.py (Named): Remove __cmp__ method.
11447 (output_variation): Use a key to sort variation.harnesses.
11448
11449 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
11450
11451 * dg-extract-results.py: For Python 3, force sys.stdout to
11452 handle surrogate escape sequences.
11453 (safe_open): New function.
11454 (output_segment, main): Use it.
11455
11456 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
11457
11458 * dg-extract-results.py (Prog.result_re): Include options
11459 in test name.
11460
11461 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
11462
11463 * dg-extract-results.py (output_variation): Always sort if
11464 do_sum.
11465
11466 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
11467
11468 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11469 as long as we get pagination notifications.
11470
11471 2014-12-15 Jason Merrill <jason@redhat.com>
11472
11473 * Makefile.in (check-gdb.%): Restore.
11474 * README: Mention it.
11475
11476 2014-12-13 Joel Brobecker <brobecker@adacore.com>
11477
11478 * gdb.ada/str_uninit: New testcase.
11479
11480 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11481
11482 PR symtab/17642
11483 * gdb.base/vla-stub-define.c: New file.
11484 * gdb.base/vla-stub.c: New file.
11485 * gdb.base/vla-stub.exp: New file.
11486
11487 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
11488 Jan Kratochvil <jan.kratochvil@redhat.com>
11489 Tom Tromey <tromey@redhat.com>
11490
11491 * configure.ac: Add gdb.compile/.
11492 * configure: Regenerate.
11493 * gdb.compile/Makefile.in: New file.
11494 * gdb.compile/compile-ops.exp: New file.
11495 * gdb.compile/compile-ops.c: New file.
11496 * gdb.compile/compile-tls.c: New file.
11497 * gdb.compile/compile-tls.exp: New file.
11498 * gdb.compile/compile-constvar.S: New file.
11499 * gdb.compile/compile-constvar.c: New file.
11500 * gdb.compile/compile-mod.c: New file.
11501 * gdb.compile/compile-nodebug.c: New file.
11502 * gdb.compile/compile-setjmp-mod.c: New file.
11503 * gdb.compile/compile-setjmp.c: New file.
11504 * gdb.compile/compile-setjmp.exp: New file.
11505 * gdb.compile/compile-shlib.c: New file.
11506 * gdb.compile/compile.c: New file.
11507 * gdb.compile/compile.exp: New file.
11508 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11509
11510 2014-12-12 Tom Tromey <tromey@redhat.com>
11511
11512 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11513 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11514
11515 2014-12-12 Doug Evans <dje@google.com>
11516
11517 * lib/gdb-python.exp (get_python_valueof): New function.
11518 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11519
11520 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11521
11522 * gdb.base/completion.exp: Add test for completion of "info
11523 registers ".
11524
11525 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11526
11527 * gdb.base/func-ptrs.c: New file.
11528 * gdb.base/func-ptrs.exp: New file.
11529
11530 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11531
11532 PR breakpoints/17012
11533 * gdb.base/dprintf-detach.c: New file.
11534 * gdb.base/dprintf-detach.exp: New file.
11535
11536 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11537
11538 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11539 * lib/gdb.exp (target_is_gdbserver): New procedure.
11540
11541 2014-12-08 Doug Evans <dje@google.com>
11542
11543 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11544
11545 2014-12-05 Yao Qi <yao@codesourcery.com>
11546
11547 * gdb.guile/scm-error.exp: Remove the third argument to
11548 gdb_remote_download.
11549 * gdb.guile/scm-frame-args.exp: Likewise.
11550 * gdb.guile/scm-section-script.exp: Likewise.
11551
11552 2014-12-05 Yao Qi <yao@codesourcery.com>
11553
11554 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11555
11556 2014-12-04 Doug Evans <dje@google.com>
11557
11558 * gdb.python/py-objfile.exp: Add tests for
11559 objfile.add_separate_debug_file.
11560
11561 2014-12-04 Doug Evans <dje@google.com>
11562
11563 * lib/gdb.exp (get_build_id): New function.
11564 (build_id_debug_filename_get): Rewrite to use it.
11565 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11566
11567 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11568
11569 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11570 `method(long)', not just 0x0.
11571 * gdb.cp/nsalias.exp: Align code labels to 4.
11572 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11573 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11574 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11575 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11576 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11577 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11578
11579 2014-12-02 Doug Evans <dje@google.com>
11580
11581 PR symtab/17602
11582 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11583 * gdb.cp/anon-ns2.cc: ... here. New file.
11584 * gdb.cp/anon-ns.exp: Update.
11585
11586 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
11587
11588 * gdb.python/py-events.py (inferior_call_handler): New.
11589 (register_changed_handler, memory_changed_handler): New.
11590 (test_events.invoke): Register new handlers.
11591 * gdb.python/py-events.exp: Add tests for inferior call,
11592 memory_changed and register_changed events.
11593
11594 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11595
11596 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11597 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11598 if the linker doesn't understand this.
11599
11600 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11601
11602 * gdb.python/python.exp: Change expected reply to help().
11603
11604 2014-12-01 Yao Qi <yao@codesourcery.com>
11605
11606 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11607 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11608 * configure: Re-generated.
11609
11610 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11611
11612 * gdb.cp/chained-calls.cc: New file.
11613 * gdb.cp/chained-calls.exp: New file.
11614 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11615
11616 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11617
11618 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11619 * gdb.dwarf2/symtab-producer.exp: Same.
11620 * gdb.gdb/python-interrupts.exp: Same.
11621 * gdb.gdb/python-selftest.exp: Same.
11622 * gdb.python/py-linetable.exp: Same.
11623 * gdb.python/py-type.exp: Same.
11624 * gdb.python/py-value-cc.exp: Same.
11625 * gdb.python/py-value.exp: Same.
11626
11627 2014-11-28 Yao Qi <yao@codesourcery.com>
11628
11629 * gdb.base/break-probes.exp: Match library name prefixed with
11630 sysroot.
11631
11632 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11633
11634 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11635 test expected output. Add parentheses for the call to print.
11636 Remove L suffix from integers.
11637
11638 2014-11-26 Doug Evans <dje@google.com>
11639
11640 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11641
11642 2014-11-22 Yao Qi <yao@codesourcery.com>
11643
11644 * gdb.trace/entry-values.c: Remove asms.
11645 (foo): Add foo_label.
11646 (bar): Add bar_label.
11647 * gdb.trace/entry-values.exp: Remove code computing foo's
11648 length and bar's length.
11649 (Dwarf::assemble): Invoke function_range for bar and use
11650 MACRO_AT_func for foo.
11651
11652 2014-11-22 Yao Qi <yao@codesourcery.com>
11653
11654 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11655 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11656 Use .Lgcc43_procstart instead of gcc43.
11657
11658 2014-11-21 Joel Brobecker <brobecker@adacore.com>
11659
11660 * gdb.ada/n_arr_bound: New testcase.
11661
11662 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11663
11664 PR breakpoints/10737
11665 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11666 test_catch_syscall_multi_arch.
11667 (test_catch_syscall_multi_arch): New function.
11668
11669 2014-11-20 Doug Evans <xdje42@gmail.com>
11670
11671 * gdb.base/maint.exp: Update expected output.
11672
11673 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11674
11675 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11676 4-byte instruction on S390.
11677
11678 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11679
11680 * gdb.ada/arr_arr: New testcase.
11681
11682 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11683
11684 * gdb.ada/pkd_arr_elem: New Testcase.
11685
11686 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11687
11688 * gdb.reverse/break-precsave: Expect completion message for
11689 core file reads.
11690 * gdb.reverse/consecutive-precsave.exp: Likewise.
11691 * gdb.reverse/finish-precsave.exp: Likewise.
11692 * gdb.reverse/i386-precsave.exp: Likewise.
11693 * gdb.reverse/machinestate-precsave.exp: Likewise.
11694 * gdb.reverse/sigall-precsave.exp: Likewise.
11695 * gdb.reverse/solib-precsave.exp: Likewise.
11696 * gdb.reverse/step-precsave.exp: Likewise.
11697 * gdb.reverse/until-precsave.exp: Likewise.
11698 * gdb.reverse/watch-precsave.exp: Likewise.
11699
11700 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11701
11702 * gdb.base/bp-permanent.c: Include unistd.h.
11703 * gdb.python/py-framefilter-mi.c (main): Add return type.
11704 * gdb.python/py-framefilter.c (main): Likewise.
11705 * gdb.trace/actions-changed.c (main): Likewise.
11706
11707 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11708
11709 * gdb.mi/until.c: Add eye-catchers.
11710 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11711 line numbers.
11712
11713 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11714
11715 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11716 function header variants in break1.c.
11717 * gdb.base/ena-dis-br.exp: Likewise.
11718 * gdb.base/hbreak2.exp: Likewise.
11719 * gdb.reverse/until-precsave.exp: Drop references to removed
11720 non-prototype function header variants in ur1.c.
11721 * gdb.reverse/until-reverse.exp: Likewise.
11722
11723 2014-11-17 Petr Machata <pmachata@redhat.com>
11724
11725 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11726 ${_cu_offset_size} bytes abbrev offset.
11727
11728 2014-11-15 Doug Evans <xdje42@gmail.com>
11729
11730 PR symtab/17559
11731 * gdb.base/line-symtabs.exp: New file.
11732 * gdb.base/line-symtabs.c: New file.
11733 * gdb.base/line-symtabs.h: New file.
11734
11735 2014-11-14 Yao Qi <yao@codesourcery.com>
11736
11737 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11738 (func): Add label func_label.
11739 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11740 Replace low_pc and high_pc with MACRO_AT_range.
11741 Replace name, low_pc and high_pc with MACRO_AT_func.
11742
11743 2014-11-14 Yao Qi <yao@codesourcery.com>
11744
11745 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11746 Replace name, low_pc and high_pc with MACRO_AT_func.
11747
11748 2014-11-14 Yao Qi <yao@codesourcery.com>
11749
11750 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11751 produce debug information.
11752 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11753
11754 2014-11-14 Yao Qi <yao@codesourcery.com>
11755
11756 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11757 object and get function length.
11758 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11759 with MACRO_AT_func.
11760 (top-level): Replace gdb_compile and clean_restart with
11761 prepare_for_testing.
11762 * gdb.dwarf2/main.c (main): Add label main_label.
11763
11764 2014-11-14 Yao Qi <yao@codesourcery.com>
11765
11766 * lib/dwarf.exp (function_range): New procedure.
11767 (Dwarf::_handle_macro_at_func): New procedure.
11768 (Dwarf::_handle_macro_at_range): New procedure.
11769 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11770
11771 2014-11-14 Yao Qi <yao@codesourcery.com>
11772
11773 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11774 (_handle_attribute): New procedure.
11775
11776 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11777
11778 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11779 * gdb.base/call-sc.c (zed): Likewise.
11780 * gdb.base/checkpoint.c (main): Likewise.
11781 * gdb.base/dump.c (main): Likewise.
11782 * gdb.base/gcore.c (main): Likewise.
11783 * gdb.base/huge.c (main): Likewise.
11784 * gdb.base/multi-forks.c (main): Likewise.
11785 * gdb.base/pr10179-a.c (main): Likewise.
11786 * gdb.base/savedregs.c (main): Likewise.
11787 * gdb.base/sigaltstack.c (main): Likewise.
11788 * gdb.base/siginfo.c (main): Likewise.
11789 * gdb.base/structs.c (zed): Likewise.
11790 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11791 * gdb.mi/mi-syn-frame.c (main): Likewise.
11792 * gdb.mi/until.c (foo, main): Likewise.
11793 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11794 * gdb.base/solib-weak.c (foo): Declare.
11795 * gdb.base/attach-twice.c: Include stdio.h.
11796 * gdb.base/weaklib1.c: Likewise.
11797 * gdb.base/weaklib2.c: Likewise.
11798 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11799 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11800 unistd.h.
11801 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11802 * gdb.mi/mi-exit-code.c: Likewise.
11803 * gdb.base/break-interp-lib.c: Include string.h.
11804 * gdb.base/coremaker.c: Likewise.
11805 * gdb.base/testenv.c: Likewise.
11806 * gdb.python/py-finish-breakpoint.c: Likewise.
11807 * gdb.base/inferior-died.c: Include sys/wait.h.
11808 * gdb.base/fileio.c: Include time.h.
11809 * gdb.base/async-shell.c: Include unistd.h.
11810 * gdb.base/dprintf-non-stop.c: Likewise.
11811 * gdb.base/info-os.c: Likewise.
11812 * gdb.mi/mi-console.c: Likewise.
11813 * gdb.mi/watch-nonstop.c: Likewise.
11814 * gdb.python/py-events.c: Likewise.
11815 * gdb.base/async.c (baz): Move up before its invocation.
11816 * gdb.base/code_elim2.c (my_global_func): Likewise.
11817 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11818 * gdb.base/advance.c (func2): Likewise.
11819
11820 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11821
11822 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11823 variant.
11824 * gdb.base/annota3.c: Likewise.
11825 * gdb.base/async.c: Likewise.
11826 * gdb.base/average.c: Likewise.
11827 * gdb.base/call-ar-st.c: Likewise.
11828 * gdb.base/call-rt-st.c: Likewise.
11829 * gdb.base/call-sc.c: Likewise.
11830 * gdb.base/call-strs.c: Likewise.
11831 * gdb.base/ending-run.c: Likewise.
11832 * gdb.base/execd-prog.c: Likewise.
11833 * gdb.base/exprs.c: Likewise.
11834 * gdb.base/foll-exec.c: Likewise.
11835 * gdb.base/foll-fork.c: Likewise.
11836 * gdb.base/foll-vfork.c: Likewise.
11837 * gdb.base/funcargs.c: Likewise.
11838 * gdb.base/gcore.c: Likewise.
11839 * gdb.base/jump.c: Likewise.
11840 * gdb.base/langs0.c: Likewise.
11841 * gdb.base/langs1.c: Likewise.
11842 * gdb.base/langs2.c: Likewise.
11843 * gdb.base/mips_pro.c: Likewise.
11844 * gdb.base/nodebug.c: Likewise.
11845 * gdb.base/opaque0.c: Likewise.
11846 * gdb.base/opaque1.c: Likewise.
11847 * gdb.base/recurse.c: Likewise.
11848 * gdb.base/run.c: Likewise.
11849 * gdb.base/scope0.c: Likewise.
11850 * gdb.base/scope1.c: Likewise.
11851 * gdb.base/setshow.c: Likewise.
11852 * gdb.base/setvar.c: Likewise.
11853 * gdb.base/shmain.c: Likewise.
11854 * gdb.base/shr1.c: Likewise.
11855 * gdb.base/shr2.c: Likewise.
11856 * gdb.base/sigall.c: Likewise.
11857 * gdb.base/signals.c: Likewise.
11858 * gdb.base/so-indr-cl.c: Likewise.
11859 * gdb.base/solib2.c: Likewise.
11860 * gdb.base/structs.c: Likewise.
11861 * gdb.base/sum.c: Likewise.
11862 * gdb.base/vforked-prog.c: Likewise.
11863 * gdb.base/watchpoint.c: Likewise.
11864 * gdb.reverse/shr2.c: Likewise.
11865 * gdb.reverse/until-reverse.c: Likewise.
11866 * gdb.reverse/ur1.c: Likewise.
11867 * gdb.reverse/watch-reverse.c: Likewise.
11868
11869 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11870
11871 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11872 variant.
11873 * gdb.base/sepdebug.exp: Drop references to removed code.
11874
11875 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11876
11877 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11878 variant. Preserve original line numbering.
11879 * gdb.base/list1.c: Likewise.
11880
11881 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11882
11883 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11884 variant.
11885 * gdb.base/break1.c: Likewise.
11886 * gdb.base/break.exp: Drop references to removed code.
11887
11888 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11889
11890 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11891 variant.
11892
11893 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11894
11895 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11896
11897 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11898
11899 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11900 logic into perform_all_tests() and invoke it with and without
11901 function header prototypes.
11902 (do_function_calls): Remove conditional XFAIL for PR 5318.
11903 (rerun_and_prepare): Remove duplicate code.
11904 (perform_all_tests): New. Main logic moved here.
11905
11906 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11907
11908 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11909 code guarded by #ifdef NO_PROTOTYPES.
11910 (t_double_many_args): Likewise.
11911 (DEF_FUNC_MANY_ARGS_1): Likewise.
11912 (DEF_FUNC_VALUES_1): Likewise.
11913 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11914 guarded by #ifdef PROTOTYPES.
11915
11916 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11917
11918 * gdb.mi/mi-console.c: Add eye-catcher.
11919 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11920 instead of literal line number.
11921
11922 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11923
11924 * gdb.base/shr2.c: Add eye-catcher.
11925 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11926 line number.
11927
11928 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11929
11930 * gdb.base/jump.c: Add eye-catchers.
11931 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11932 numbers.
11933
11934 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11935
11936 * gdb.base/execd-prog.c: Add eye-catchers.
11937 * gdb.base/foll-exec.c: Likewise.
11938 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11939 line numbers.
11940
11941 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11942
11943 * gdb.base/ending-run.c: Add eye-catchers.
11944 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11945 literal line numbers.
11946
11947 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11948
11949 * gdb.base/call-rt-st.c: Add eye-catchers.
11950 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11951 literal line numbers.
11952
11953 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11954
11955 * gdb.base/call-ar-st.c: Add eye-catchers.
11956 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11957 literal line numbers.
11958
11959 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11960
11961 * gdb.base/average.c: Add eye-catchers.
11962 * gdb.base/sum.c: Likewise.
11963 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11964 regexps dynamically.
11965
11966 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11967
11968 * gdb.base/solib1.c: Add eye-catchers.
11969 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11970 literal line numbers.
11971
11972 2014-11-12 Pedro Alves <palves@redhat.com>
11973
11974 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11975 leader has exited.
11976
11977 2014-11-12 Pedro Alves <palves@redhat.com>
11978
11979 * gdb.arch/i386-bp_permanent.c: New file.
11980 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11981 (srcfile): Set to i386-bp_permanent.c.
11982 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11983 that stepi does not execute the 'leave' instruction, instead of
11984 testing it does execute.
11985 * gdb.base/bp-permanent.c: New file.
11986 * gdb.base/bp-permanent.exp: New file.
11987
11988 2014-11-10 Doug Evans <xdje42@gmail.com>
11989
11990 PR symtab/17564
11991 * gdb.base/symtab-search-order.exp: New file.
11992 * gdb.base/symtab-search-order.c: New file.
11993 * gdb.base/symtab-search-order-1.c: New file.
11994 * gdb.base/symtab-search-order-shlib-1.c: New file.
11995
11996 2014-11-07 Pedro Alves <palves@redhat.com>
11997
11998 PR gdb/17511
11999 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12000 i?86-*-linux*.
12001
12002 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
12003
12004 PR c++/17494
12005 * gdb.cp/pr17494.cc: New file.
12006 * gdb.cp/pr17494.exp: New file.
12007
12008 2014-11-02 Yao Qi <yao@codesourcery.com>
12009
12010 * gdb.python/python.exp: Get working directory and match the
12011 output of "set extended-prompt \\w " with it.
12012
12013 2014-10-30 Doug Evans <dje@google.com>
12014
12015 * gdb.python/py-objfile.exp: Add tests for setting random attributes
12016 in objfiles.
12017 * gdb.python/py-progspace.exp: Add tests for setting random attributes
12018 in progspaces.
12019
12020 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
12021
12022 * gdb.base/fullpath-expand.exp: Skip for a remote host.
12023 * gdb.base/realname-expand.exp: Likewise.
12024 * gdb.linespec/macro-relative.exp: Likewise.
12025
12026 2014-10-29 Pedro Alves <palves@redhat.com>
12027
12028 PR gdb/17408
12029 * gdb.threads/schedlock.c (some_function): New function.
12030 (call_function): New global.
12031 (MAYBE_CALL_SOME_FUNCTION): New macro.
12032 (thread_function): Call it.
12033 * gdb.threads/schedlock.exp (get_args): Add description parameter,
12034 and use it instead of a global counter. Adjust all callers.
12035 (get_current_thread): Use "find current thread" for test message
12036 here rather than having all callers pass down the same string.
12037 (goto_loop): New procedure, factored out from ...
12038 (my_continue): ... this.
12039 (step_ten_loops): Change parameter from test message to command to
12040 use. Adjust.
12041 (list_count): Delete global.
12042 (check_result): New procedure, factored out from duplicate top
12043 level code.
12044 (continue tests): Wrap in with_test_prefix.
12045 (test_step): New procedure, factored out from duplicate top level
12046 code.
12047 (top level): Test "step" in combination with all scheduler-locking
12048 modes. Test "next" in combination with all scheduler-locking
12049 modes, and in combination with stepping over a function call or
12050 not.
12051 * gdb.threads/next-bp-other-thread.c: New file.
12052 * gdb.threads/next-bp-other-thread.exp: New file.
12053
12054 2014-10-29 Pedro Alves <palves@redhat.com>
12055
12056 PR python/17372
12057 * gdb.python/python.exp: Test a multi-line command that spawns
12058 interactive Python.
12059 * gdb.base/multi-line-starts-subshell.exp: New file.
12060
12061 2014-10-29 Yao Qi <yao@codesourcery.com>
12062
12063 * gdb.base/fileio.exp: Make directories on host.
12064
12065 2014-10-29 Yao Qi <yao@codesourcery.com>
12066
12067 * gdb.base/fileio.c (test_write): Close the file.
12068
12069 2014-10-28 Pedro Alves <palves@redhat.com>
12070
12071 PR gdb/12623
12072 * gdb.base/sigstep.c (no_handler): New global.
12073 (main): If 'no_handler is true, set the signal handlers to
12074 SIG_IGN.
12075 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12076 with_sw_watch and no_handler parameters. Handle them.
12077 (top level) <stepping over handler when stopped at a breakpoint
12078 test>: Add a test axis for testing with a software watchpoint, and
12079 another for testing with the signal handler set to SIG_IGN.
12080 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12081 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12082
12083 2014-10-28 Pedro Alves <palves@redhat.com>
12084
12085 PR gdb/17511
12086 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12087 * gdb.base/sigstep.exp (other_handler_location): New global.
12088 (advance): Support stepping into the signal handler, and running
12089 commands while in the handler.
12090 (in_handler_map): New global.
12091 (top level): In the advance test, add combinations for getting
12092 into the handler with stepping commands, and for running commands
12093 in the handler. Add comment descripting the advancei tests.
12094
12095 2014-10-28 Pedro Alves <palves@redhat.com>
12096
12097 * gdb.base/sigstep.exp: Use build_executable instead of
12098 prepare_for_testing.
12099 (top level): Move code that starts GDB, runs to main and creates a
12100 display to ...
12101 (restart): ... this new procedure.
12102 (top level): Move backtrace from signal handler test to ...
12103 (validate_backtrace): ... this new procedure.
12104 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
12105 with_test_prefix. Always restart GDB.
12106 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
12107 with_test_prefix. Always restart GDB. No need to delete
12108 breakpoints after the test.
12109 (test_skip_handler): Remove prefix parameter.
12110 (skip_over_handler, breakpoint_to_handler)
12111 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12112 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
12113 restart GDB. No need to delete breakpoints after the test.
12114 (top level): Use foreach to call the test procedures with
12115 different commands.
12116
12117 2014-10-28 Pedro Alves <palves@redhat.com>
12118
12119 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12120 instead of GNATS numbers.
12121 * gdb.base/sigbpt.exp: Likewise.
12122 * gdb.base/siginfo.exp: Likewise.
12123 * gdb.base/sigstep.exp: Likewise.
12124
12125 2014-10-27 Pedro Alves <palves@redhat.com>
12126
12127 * gdb.base/sigstep.c (dummy): New global.
12128 (main): Issue a couple writes to the new global.
12129 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12130 procedures.
12131 (skip_over_handler): Use test_skip_handler.
12132 (top level): Call skip_over_handler for stepi and nexti too.
12133 (breakpoint_over_handler): Use test_skip_handler.
12134 (top level): Call breakpoint_over_handler for stepi and nexti too.
12135
12136 2014-10-27 Yao Qi <yao@codesourcery.com>
12137
12138 * gdb.trace/tfile.c (adjust_function_address)
12139 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12140 function descriptor.
12141
12142 2014-10-24 Don Breazeal <donb@codesourcery.com>
12143
12144 * gdb.base/foll-fork.exp (test_follow_fork,
12145 catch_fork_child_follow): Check for updated fork messages emitted
12146 from infrun.c.
12147 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12148 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12149 vfork_and_exec_child_follow_through_step): Check for updated vfork
12150 messages emitted from infrun.c.
12151
12152 2014-10-24 Pedro Alves <palves@redhat.com>
12153
12154 * gdb.base/corefile.exp: Remove references to ultrix.
12155 * gdb.base/interrupt.exp: Likewise.
12156 * gdb.base/whatis.exp: Likewise.
12157 * gdb.gdb/selftest.exp: Likewise.
12158 * gdb.threads/manythreads.exp: Likewise.
12159 * gdb.threads/print-threads.exp: Likewise.
12160 * gdb.threads/pthreads.exp:: Likewise.
12161 * gdb.threads/schedlock.exp: Likewise.
12162
12163 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
12164
12165 * gdb.cp/non-trivial-retval.cc: Add a test case.
12166 * gdb.cp/non-trivial-retval.exp: Add a test.
12167
12168 2014-10-20 Yao Qi <yao@codesourcery.com>
12169
12170 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12171 * gdb.python/py-objfile-script-gdb.py: New file.
12172 * gdb.python/py-objfile-script.exp: Update reference to
12173 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
12174 of remote_download. Remove the dest file.
12175
12176 2014-10-20 Yao Qi <yao@codesourcery.com>
12177
12178 * gdb.base/checkpoint.exp: Don't remove file copied on host.
12179 * gdb.base/step-line.exp: Likewise.
12180 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12181 * gdb.dwarf2/dw2-basic.exp: Likewise.
12182 * gdb.dwarf2/dw2-compressed.exp: Likewise.
12183 * gdb.dwarf2/dw2-filename.exp: Likewise.
12184 * gdb.dwarf2/dw2-intercu.exp: Likewise.
12185 * gdb.dwarf2/dw2-intermix.exp: Likewise.
12186 * gdb.dwarf2/dw2-producer.exp: Likewise.
12187 * gdb.dwarf2/mac-fileno.exp: Likewise.
12188 * gdb.python/py-frame-args.exp: Likewise.
12189 * gdb.python/py-framefilter.exp: Likewise.
12190 * gdb.python/py-mi.exp: Likewise.
12191 * gdb.python/py-objfile-script.exp: Likewise
12192 * gdb.python/py-pp-integral.exp: Likewise.
12193 * gdb.python/py-pp-re-notag.exp: Likewise.
12194 * gdb.python/py-prettyprint.exp: Likewise.
12195 * gdb.python/py-section-script.exp: Likewise.
12196 * gdb.python/py-typeprint.exp: Likewise.
12197 * gdb.python/py-xmethods.exp: Likewise.
12198 * gdb.stabs/weird.exp: Likewise.
12199 * gdb.xml/tdesc-regs.exp: Likewise.
12200
12201 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
12202
12203 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12204 (out_cu): Use addr_len for the size of addresses.
12205 (out_line): Likewise. Size DW_LNE_set_address instruction
12206 according to addr_len.
12207 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12208 (FUNC): Add START_INSNS to definition.
12209
12210 2014-10-18 Yao Qi <yao@codesourcery.com>
12211
12212 * gdb.base/argv0-symlink.exp: Check argv[0] value if
12213 gdb_has_argv0 return true.
12214 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12215 check [target_info exists noargs], check [gdb_has_argv0]
12216 instead.
12217 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12218 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12219 procedures.
12220
12221 2014-10-17 Doug Evans <dje@google.com>
12222
12223 * gdb.python/py-events.exp: Update expected output for clear_objfiles
12224 event.
12225 * gdb.python/py-events.py: Add clear_objfiles event.
12226
12227 2014-10-17 Doug Evans <dje@google.com>
12228
12229 * gdb.python/py-objfile.exp: Test progspace attribute.
12230
12231 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
12232
12233 * gdb.guile/scm-breakpoint.exp: Do not assume any
12234 directory separators when matching source file paths.
12235 * gdb.python/py-breakpoint.exp: Likewise.
12236 * gdb.reverse/break-precsave.exp: Likewise.
12237 * gdb.reverse/break-reverse.exp: Likewise.
12238 * gdb.reverse/consecutive-precsave.exp: Likewise.
12239 * gdb.reverse/finish-precsave.exp: Likewise.
12240 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12241 * gdb.reverse/finish-reverse.exp: Likewise.
12242 * gdb.reverse/i386-precsave.exp: Likewise.
12243 * gdb.reverse/i387-env-reverse.exp: Likewise.
12244 * gdb.reverse/i387-stack-reverse.exp: Likewise.
12245 * gdb.reverse/machinestate-precsave.exp: Likewise.
12246 * gdb.reverse/machinestate.exp: Likewise.
12247 * gdb.reverse/sigall-precsave.exp: Likewise.
12248 * gdb.reverse/solib-precsave.exp: Likewise.
12249 * gdb.reverse/step-precsave.exp: Likewise.
12250 * gdb.reverse/until-precsave.exp: Likewise.
12251 * gdb.reverse/watch-precsave.exp: Likewise.
12252 * gdb.reverse/watch-reverse.exp: Likewise.
12253
12254 2014-10-17 Yao Qi <yao@codesourcery.com>
12255
12256 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12257 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12258
12259 2014-10-17 Pedro Alves <palves@redhat.com>
12260
12261 PR gdb/17471
12262 * gdb.base/bg-execution-repeat.c: New file.
12263 * gdb.base/bg-execution-repeat.exp: New file.
12264
12265 2014-10-17 Pedro Alves <palves@redhat.com>
12266
12267 PR gdb/17300
12268 * gdb.base/continue-all-already-running.c: New file.
12269 * gdb.base/continue-all-already-running.exp: New file.
12270
12271 2014-10-17 Pedro Alves <palves@redhat.com>
12272
12273 PR gdb/17472
12274 * gdb.base/annota-input-while-running.c: New file.
12275 * gdb.base/annota-input-while-running.exp: New file.
12276
12277 2014-10-17 Pedro Alves <palves@redhat.com>
12278
12279 * gdb.base/callfuncs.exp: emove references to osf.
12280 * gdb.base/sigall.exp: Likewise.
12281 * gdb.gdb/selftest.exp: Likewise.
12282 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12283 * gdb.mi/non-stop.c: Likewise.
12284 * gdb.mi/pthreads.c: Likewise.
12285 * gdb.reverse/sigall-precsave.exp: Likewise.
12286 * gdb.reverse/sigall-reverse.exp: Likewise.
12287 * gdb.threads/pthreads.c: Likewise.
12288 * gdb.threads/pthreads.exp: Likewise.
12289
12290 2014-10-17 Yao Qi <yao@codesourcery.com>
12291
12292 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12293 check 'target_info exists noargs'.
12294 (test_command_prompt_position): Likewise.
12295 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12296 Remove "set args".
12297 (progvar_simple_while_test): Likewise.
12298 (progvar_complex_if_while_test): Likewise.
12299 (if_while_breakpoint_command_test): Likewise.
12300 (infrun_breakpoint_command_test): Likewise.
12301 (breakpoint_command_test): Likewise.
12302 (watchpoint_command_test): Likewise.
12303 (bp_deleted_in_command_test): Likewise.
12304 (temporary_breakpoint_commands): Likewise.
12305
12306 2014-10-16 Yao Qi <yao@codesourcery.com>
12307
12308 * gdb.base/remotetimeout.exp: Remove noargs checking.
12309
12310 2014-10-15 Pedro Alves <palves@redhat.com>
12311
12312 PR breakpoints/9649
12313 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12314 * gdb.base/breakpoint-in-ro-region.exp
12315 (probe_target_hardware_step): New procedure.
12316 (top level): Probe hardware stepping and hardware breakpoint
12317 support. Test stepping through a read-only region, with both
12318 "breakpoint auto-hw" on and off and both "always-inserted" on and
12319 off.
12320
12321 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
12322
12323 * gdb.dlang/demangle.exp: Update for demangling changes.
12324
12325 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12326
12327 * gdb.cp/non-trivial-retval.cc: Add new test cases.
12328 * gdb.cp/non-trivial-retval.exp: Add new tests.
12329
12330 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12331
12332 PR c++/13403
12333 PR c++/15154
12334 * gdb.cp/non-trivial-retval.cc: New file.
12335 * gdb.cp/non-trivial-retval.exp: New file.
12336
12337 2014-10-15 Yao Qi <yao@codesourcery.com>
12338
12339 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12340 remote host.
12341
12342 2014-10-15 Yao Qi <yao@codesourcery.com>
12343
12344 * gdb.python/py-symbol.exp: Match file base name if host is
12345 remote, otherwise match file name with dir name.
12346 * gdb.python/py-symtab.exp: Likewise.
12347 * gdb.python/python.exp: Likewise.
12348
12349 2014-10-15 Yao Qi <yao@codesourcery.com>
12350
12351 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12352 pattern.
12353 * gdb.python/py-symtab.exp: Likewise.
12354 * gdb.python/python.exp: Remove trailing ".*". Fix typo
12355 locationn.
12356
12357 2014-10-14 Joel Brobecker <brobecker@adacore.com>
12358
12359 * gdb.ada/addr_arith: New testcase.
12360
12361 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
12362
12363 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12364 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12365 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12366 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12367
12368 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
12369
12370 * gdb.arch/stap-eval-lang-ada.S: Likewise.
12371 * gdb.arch/stap-eval-lang-ada.c: Likewise.
12372 * gdb.arch/stap-eval-lang-ada.exp: New file.
12373
12374 2014-10-14 Yao Qi <yao@codesourcery.com>
12375
12376 * gdb.mi/mi-var-child.c (nothing1): New function.
12377 (nothing2): New function.
12378 (do_children_tests): Set function pointers by nothing1 and
12379 nothing2.
12380 * gdb.mi/mi-var-child.exp: Step over new added statements.
12381 Update test to match the new output.
12382 * gdb.mi/var-cmd.c (nothing1): New function.
12383 (nothing2): New function.
12384 (do_children_tests): Set function pointers by nothing1 and
12385 nothing2.
12386 * gdb.mi/mi-var-display.exp: Update test to match output.
12387 Step to the line specified by $line_dct_nothing.
12388 Increase the number of lines to step.
12389
12390 2014-10-14 Yao Qi <yao@codesourcery.com>
12391
12392 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12393 tests.
12394 * gdb.mi/mi2-var-child.exp: Likewise.
12395
12396 2014-10-13 Doug Evans <dje@google.com>
12397
12398 * gdb.python/py-objfile.exp: Change name of file name test.
12399
12400 2014-10-13 Doug Evans <dje@google.com>
12401
12402 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12403 from the start of the CU.
12404
12405 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12406 Yao Qi <yao@codesourcery.com>
12407
12408 Fix "save breakpoints" for "catch" command.
12409 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12410 Remove -nonewline. Match also the added "main" line.
12411
12412 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12413
12414 Fix "save breakpoints" for "disable $bpnum" command.
12415 * gdb.base/save-bp.c (main): Add label.
12416 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
12417
12418 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12419
12420 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12421
12422 2014-10-11 Yao Qi <yao@codesourcery.com>
12423
12424 * gdb.server/server-kill.exp: Execute command
12425 "set remote trace-status-packet on" before "tstatus".
12426
12427 2014-10-11 Yao Qi <yao@codesourcery.com>
12428
12429 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12430 (main): Call getppid.
12431 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12432 and continue to it. Read variable "server_pid".
12433
12434 2014-10-11 Yao Qi <yao@codesourcery.com>
12435
12436 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12437
12438 2014-10-11 Yao Qi <yao@codesourcery.com>
12439
12440 * gdb.threads/thread-find.exp: Don't execute command
12441 "info threads".
12442 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12443 * gdb.threads/linux-dp.exp: Don't check the condition
12444 $threads_created equals to zero.
12445
12446 2014-10-10 Pedro Alves <palves@redhat.com>
12447
12448 * gdb.base/bigcore.exp: Remove references to IRIX.
12449 * gdb.base/funcargs.exp: Likewise.
12450 * gdb.base/interrupt.exp: Likewise.
12451 * gdb.base/mips_pro.exp: Likewise.
12452 * gdb.base/nodebug.exp: Likewise.
12453 * gdb.base/setvar.exp: Likewise.
12454 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12455
12456 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12457 Pedro Alves <palves@redhat.com>
12458
12459 PR symtab/14466
12460 * gdb.base/vdso-warning.c: New file.
12461 * gdb.base/vdso-warning.exp: New file.
12462
12463 2014-10-02 Doug Evans <dje@google.com>
12464
12465 * gdb.base/structs.c (main): Don't run forever.
12466
12467 2014-10-02 Pedro Alves <palves@redhat.com>
12468
12469 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12470 (top level) <stop threads 1, stop threads 2>: Use it.
12471
12472 2014-10-02 Pedro Alves <palves@redhat.com>
12473
12474 * gdb.threads/break-while-running.exp (test): Add new
12475 'update_thread_list' argument. Skip "info threads" if false.
12476 (top level): Add new 'update_thread_list' axis.
12477
12478 2014-10-02 Pedro Alves <palves@redhat.com>
12479
12480 PR breakpoints/17431
12481 * gdb.base/execl-update-breakpoints.c: New file.
12482 * gdb.base/execl-update-breakpoints.exp: New file.
12483
12484 2014-10-01 Pedro Alves <palves@redhat.com>
12485
12486 * gdb.base/breakpoint-in-ro-region.c: New file.
12487 * gdb.base/breakpoint-in-ro-region.exp: New file.
12488
12489 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
12490
12491 * gdb.mi/mi-exit-code.exp: New file.
12492 * gdb.mi/mi-exit-code.c: New file.
12493
12494 2014-09-30 Yao Qi <yao@codesourcery.com>
12495
12496 * lib/prelink-support.exp (build_executable_own_libs): Error if
12497 the target isn't native.
12498
12499 2014-09-30 Yao Qi <yao@codesourcery.com>
12500
12501 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12502 false.
12503
12504 2014-09-22 Pedro Alves <palves@redhat.com>
12505
12506 * gdb.threads/break-while-running.exp: New file.
12507 * gdb.threads/break-while-running.c: New file.
12508
12509 2014-09-19 Yao Qi <yao@codesourcery.com>
12510
12511 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12512 Invoke test. Restart GDB with --readnow and invoke test again.
12513
12514 2014-09-19 Yao Qi <yao@codesourcery.com>
12515
12516 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12517 proc set_breakpoint_on_gcd_function. Invoke
12518 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12519 invoke set_breakpoint_on_gcd_function again.
12520
12521 2014-09-18 Doug Evans <dje@google.com>
12522
12523 * gdb.dwarf2/symtab-producer.exp: New file.
12524
12525 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12526
12527 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12528 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12529 * gdb.base/global-var-nested-by-dso.c: Likewise.
12530 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12531
12532 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12533 Pedro Alves <palves@redhat.com>
12534
12535 * gdb.base/watch-bitfields.exp: Pass string other than test file
12536 name to prepare_for_testing.
12537 (watch): New procedure.
12538 (expect_watchpoint): Use with_test_prefix.
12539 (top level): Factor out tests to ...
12540 (test_watch_location, test_regular_watch): ... these new
12541 procedures, and use with_test_prefix and gdb_continue_to_end.
12542
12543 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12544
12545 PR breakpoints/12526
12546 * gdb.base/watch-bitfields.exp: New file.
12547 * gdb.base/watch-bitfields.c: New file.
12548
12549 2014-09-16 Pedro Alves <palves@redhat.com>
12550
12551 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12552 software and hardware addresses, not software address against
12553 itself.
12554
12555 2014-09-16 Pedro Alves <palves@redhat.com>
12556
12557 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12558 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12559
12560 2014-09-16 Pedro Alves <palves@redhat.com>
12561
12562 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12563 files.
12564 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12565 "*-*-vxworks*" throughout.
12566 * gdb.base/break.exp: Likewise.
12567 * gdb.base/default.exp: Likewise.
12568 * gdb.base/scope.exp: Likewise.
12569 * gdb.base/sepdebug.exp: Likewise.
12570 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12571 throughout.
12572 * gdb.base/run.c: Likewise.
12573 * gdb.base/sepdebug.c: Likewise.
12574 * gdb.hp/gdb.aCC/run.c: Likewise.
12575 * gdb.reverse/until-reverse.c: Likewise.
12576 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12577
12578 2014-09-16 Yao Qi <yao@codesourcery.com>
12579
12580 * boards/local-remote-host-native.exp: New file.
12581
12582 2014-09-14 Doug Evans <xdje42@gmail.com>
12583
12584 * gdb.threads/queue-signal.c (thread_count): New variable.
12585 (thread_count_mutex, thread_count_condvar): New variables.
12586 (incr_thread_count, wait_all_threads_running): New functions.
12587 (main): Wait for all threads to be in their thread functions.
12588
12589 2014-09-13 Doug Evans <xdje42@gmail.com>
12590
12591 * gdb.threads/queue-signal.c: New file.
12592 * gdb.threads/queue-signal.exp: New file.
12593
12594 2014-09-13 Doug Evans <xdje42@gmail.com>
12595
12596 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12597 be consistent with what default_gdb_init uses.
12598 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12599 the plain text of the prompt. Add some logging printfs.
12600 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12601
12602 2014-09-12 Pedro Alves <palves@redhat.com>
12603
12604 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12605 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12606 * gdb.arch/i386-size-overlap.exp: Likewise.
12607 * gdb.arch/i386-size.exp: Likewise.
12608 * gdb.arch/i386-unwind.exp: Likewise.
12609 * gdb.base/a2-run.exp: Likewise.
12610 * gdb.base/break.exp: Likewise.
12611 * gdb.base/charset.exp: Likewise.
12612 * gdb.base/chng-syms.exp: Likewise.
12613 * gdb.base/commands.exp: Likewise.
12614 * gdb.base/dbx.exp: Likewise.
12615 * gdb.base/find.exp: Likewise.
12616 * gdb.base/funcargs.exp: Likewise.
12617 * gdb.base/jit-simple.exp: Likewise.
12618 * gdb.base/reread.exp: Likewise.
12619 * gdb.base/sepdebug.exp: Likewise.
12620 * gdb.base/step-bt.exp: Likewise.
12621 * gdb.cp/mb-inline.exp: Likewise.
12622 * gdb.cp/mb-templates.exp: Likewise.
12623 * gdb.objc/basicclass.exp: Likewise.
12624 * gdb.threads/killed.exp: Likewise.
12625
12626 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12627
12628 PR tdep/17379
12629 * gdb.arch/powerpc-stackless.S: New file.
12630 * gdb.arch/powerpc-stackless.exp: New file.
12631
12632 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12633
12634 * gdb.base/attach.c: Include unistd.h.
12635 (main): Call alarm. Add label postloop.
12636 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12637 gdb_breakpoint, gdb_continue_to_breakpoint.
12638 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12639
12640 2014-09-11 Pedro Alves <palves@redhat.com>
12641
12642 PR gdb/17347
12643 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12644 * gdb.base/attach.exp (test_command_line_attach_run): New
12645 procedure.
12646 (top level): Call it.
12647
12648 2014-09-11 Pedro Alves <palves@redhat.com>
12649
12650 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12651 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12652 (do_command_attach_tests): Use spawn_wait_for_attach.
12653 * gdb.base/solib-overlap.exp: Likewise.
12654 * gdb.multi/multi-attach.exp: Likewise.
12655 * gdb.python/py-prompt.exp: Likewise.
12656 * gdb.python/py-sync-interp.exp: Likewise.
12657 * gdb.server/ext-attach.exp: Likewise.
12658
12659 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12660
12661 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12662 command in testcase. Simplify testcase.
12663
12664 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12665
12666 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12667
12668 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12669
12670 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12671
12672 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12673
12674 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12675
12676 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12677
12678 * gdb.dwarf2/dynarr-ptr.c: New file.
12679 * gdb.dwarf2/dynarr-ptr.exp: New file.
12680
12681 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12682
12683 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12684 of 30 rather than hardcoding 120 for a slow test case. Take the
12685 `gdb,timeout' target setting into account for this calculation.
12686 Don't extend the timeout for the test cases that don't need it.
12687
12688 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12689
12690 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12691 a factor of 2 for a slow test case. Take the `gdb,timeout'
12692 target setting into account for this calculation.
12693 * gdb.reverse/until-precsave.exp: Increase the timeout by
12694 a factor of 15 and 3 respectively rather than adding 120
12695 for a pair of slow test cases. Take the `gdb,timeout'
12696 target setting into account for this calculation.
12697
12698 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12699
12700 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12701 timeout, don't pass one down to gdb_expect.
12702 (gdb_expect): Rework timeout selection.
12703
12704 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12705
12706 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12707 exception on timeout.
12708 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12709 (gdbserver_start_extended): Catch any `gdbserver_start' error
12710 exceptions.
12711 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12712 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12713 `gdbserver_gdb_load' error exceptions.
12714
12715 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12716
12717 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12718 120 on waiting for the TCP socket to open.
12719
12720 2014-09-09 Doug Evans <xdje42@gmail.com>
12721
12722 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12723 _caller_matches, _any_caller_is, _any_caller_matches.
12724
12725 2014-09-09 Doug Evans <xdje42@gmail.com>
12726
12727 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12728
12729 2014-09-09 Yao Qi <yao@codesourcery.com>
12730
12731 * gdb.mi/mi-var-display.exp: Set print symbol off.
12732
12733 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12734
12735 PR gdb/17035
12736 * gdb.base/commands.exp: Add tests to verify user-defined
12737 commands with empty bodies.
12738 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12739 python commands in `show user command`.
12740 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12741 scheme commands in `show user command`.
12742
12743 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12744
12745 PR python/17355
12746 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12747 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12748 * gdb.python/py-framefilter-invalidarg.exp: New file.
12749 * gdb.python/py-framefilter-invalidarg.py: New file.
12750
12751 2014-09-06 Doug Evans <xdje42@gmail.com>
12752
12753 PR 15276
12754 * gdb.python/py-caller-is.c: New file.
12755 * gdb.python/py-caller-is.exp: New file.
12756
12757 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12758
12759 PR gdb/17235
12760 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12761 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12762
12763 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12764
12765 PR fortran/17237
12766 * gdb.fortran/print-formatted.exp: New file.
12767 * gdb.fortran/print-formatted.f90: Likewise.
12768
12769 2014-09-03 Sasha Smundak <asmundak@google.com>
12770
12771 * gdb.python/py-frame.exp: Test Frame.read_register.
12772
12773 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12774
12775 PR python/16699
12776 * gdb.python/py-completion.exp: New file.
12777 * gdb.python/py-completion.py: Likewise.
12778
12779 2014-08-28 Doug Evans <dje@google.com>
12780
12781 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12782 eax,etc. are live with values set by gdb and thus the compiler can't
12783 use them.
12784 * gdb.arch/i386-pseudo.c (main): Ditto.
12785
12786 2014-08-27 Doug Evans <dje@google.com>
12787
12788 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12789
12790 2014-08-25 Doug Evans <dje@google.com>
12791
12792 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12793 (main): Ditto.
12794
12795 2014-08-25 Doug Evans <dje@google.com>
12796
12797 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12798
12799 2014-08-24 Yao Qi <yao@codesourcery.com>
12800
12801 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12802 symbol off.
12803 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12804
12805 2014-08-22 Doug Evans <dje@google.com>
12806
12807 PR 17276
12808 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12809 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12810 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12811
12812 2014-08-22 Yao Qi <yao@codesourcery.com>
12813
12814 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12815 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12816 * gdb.python/python.exp: Likewise. Use .py file on the host
12817 instead of the build.
12818
12819 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12820
12821 * gdb.threads/gcore-stale-thread.c: New file.
12822 * gdb.threads/gcore-stale-thread.exp: New file.
12823
12824 2014-08-21 Pedro Alves <palves@redhat.com>
12825
12826 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12827 * gdb.base/gcore-relro-pie.exp: Likewise.
12828 * gdb.base/gcore-relro.exp: Likewise.
12829 * gdb.base/gcore.exp: Likewise.
12830 * gdb.base/print-symbol-loading.exp: Likewise.
12831 * gdb.threads/gcore-thread.exp: Likewise.
12832 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12833
12834 2014-08-20 Pedro Alves <palves@redhat.com>
12835 Jan Kratochvil <jan.kratochvil@redhat.com>
12836
12837 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12838 configure.
12839 (EXPECT): Handle READ1 being set.
12840 (all): Depend on EXTRA_RULES.
12841 (check-read1, expect-read1, read1.so, read1): New rules.
12842 * README (Testsuite Parameters): Document the READ1 make variable.
12843 (Race detection): New section.
12844 * configure: Regenerate.
12845 * configure.ac: If build==host==target, and running under a
12846 GNU/glibc system, add read1 to the extra Makefile rules.
12847 (EXTRA_RULES): AC_SUBST it.
12848 * lib/read1.c: New file.
12849
12850 2014-08-20 Joel Brobecker <brobecker@adacore.com>
12851
12852 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12853 the handling of variables declared as a typedef to an array
12854 which a DW_AT_data_location attribute.
12855
12856 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
12857 Pedro Alves <palves@redhat.com>
12858
12859 PR symtab/14604
12860 PR symtab/14605
12861 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12862 gdb_test.
12863
12864 2014-08-19 Pedro Alves <palves@redhat.com>
12865
12866 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12867
12868 2014-08-19 Yao Qi <yao@codesourcery.com>
12869
12870 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12871 right line.
12872
12873 2014-08-18 David Blaikie <dblaikie@gmail.com>
12874
12875 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12876
12877 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12878
12879 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12880 attribute in array range.
12881
12882 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12883
12884 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12885
12886 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12887
12888 PR c++/17132
12889 * gdb.cp/pr17132.cc: New file.
12890 * gdb.cp/pr17132.exp: New file.
12891
12892 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12893
12894 * gdb.python/py-xmethods.py (A_getarrayind)
12895 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12896 Use 'print' with function call syntax.
12897 (E_method_matcher.match): Fix tab vs space indentation mixup.
12898
12899 2014-08-15 Yao Qi <yao@codesourcery.com>
12900
12901 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12902 false.
12903
12904 2014-08-15 Yao Qi <yao@codesourcery.com>
12905
12906 * gdb.cp/casts.exp: Set print symbol off.
12907 * gdb.cp/class2.exp: Likewise.
12908 * gdb.cp/overload.exp: Likewise.
12909 * gdb.cp/templates.exp: Likewise.
12910
12911 2014-08-11 Doug Evans <dje@google.com>
12912
12913 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12914 (test_load_shlib): Update.
12915
12916 2014-08-09 Yao Qi <yao@codesourcery.com>
12917
12918 * gdb.base/display.exp: Invoke is_address_zero_readable.
12919 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12920 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12921 * gdb.base/hbreak-unmapped.exp: Return if
12922 is_address_zero_readable returns true.
12923 * gdb.base/signest.exp: Likewise.
12924 * gdb.base/signull.exp: Likewise.
12925 * gdb.base/sigbpt.exp: Likewise.
12926 * gdb.guile/scm-disasm.exp: Do the test if
12927 is_address_zero_readable returns false.
12928 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12929 * gdb.python/py-arch.exp: Likewise.
12930 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12931 * lib/gdb.exp (is_address_zero_readable): New proc.
12932
12933 2014-08-09 Yao Qi <yao@codesourcery.com>
12934
12935 PR testsuite/13443
12936 * gdb.mi/mi-var-display.exp: Make test messages unique.
12937
12938 2014-08-04 Tom Tromey <tromey@redhat.com>
12939
12940 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12941 target 0".
12942
12943 2014-08-04 Tom Tromey <tromey@redhat.com>
12944
12945 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12946 "target_resume".
12947
12948 2014-08-01 Joel Brobecker <brobecker@adacore.com>
12949
12950 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12951 inner_vla_struct_object_size.
12952 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12953 as xfail.
12954
12955 2014-07-30 Pedro Alves <palves@redhat.com>
12956
12957 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12958 comment.
12959
12960 2014-07-29 Yao Qi <yao@codesourcery.com>
12961
12962 PR gdb/17206
12963 * gdb.base/until-nodebug.exp: New.
12964
12965 2014-07-28 Doug Evans <xdje42@gmail.com>
12966
12967 PR guile/17203
12968 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12969 previously existing parameter, and previously ambiguously spelled
12970 parameter.
12971
12972 2014-07-28 Will Newton <will.newton@linaro.org>
12973
12974 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12975
12976 2014-07-26 Ludovic Courtès <ludo@gnu.org>
12977 Doug Evans <xdje42@gmail.com>
12978
12979 PR guile/17146
12980 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12981
12982 2014-07-25 Pedro Alves <palves@redhat.com>
12983
12984 * gdb.threads/signal-command-handle-nopass.c: New file.
12985 * gdb.threads/signal-command-handle-nopass.exp: New file.
12986 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12987 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12988 * gdb.threads/signal-delivered-right-thread.c: New file.
12989 * gdb.threads/signal-delivered-right-thread.exp: New file.
12990
12991 2014-07-25 Pedro Alves <palves@redhat.com>
12992
12993 * gdb.base/double-prompt-target-event-error.exp
12994 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12995 match.
12996 (cancel_pagination_in_target_event): Rework double prompt
12997 detection.
12998 * gdb.base/paginate-after-ctrl-c-running.exp
12999 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13000 <return>' match.
13001 * gdb.base/paginate-bg-execution.exp
13002 (test_bg_execution_pagination_return)
13003 (test_bg_execution_pagination_cancel): Remove '-notransfer
13004 <return>' matches.
13005 * gdb.base/paginate-execution-startup.exp
13006 (test_fg_execution_pagination_return)
13007 (test_fg_execution_pagination_cancel): Remove '-notransfer
13008 <return>' matches.
13009 * gdb.base/paginate-inferior-exit.exp
13010 (test_paginate_inferior_exited): Remove '-notransfer <return>'
13011 match.
13012 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13013 * lib/gdb.exp (pagination_prompt): Run text through
13014 string_to_regexp.
13015 (gdb_test_multiple): Match $pagination_prompt instead of
13016 "<return>".
13017 (string_to_regexp): Move to lib/gdb-utils.exp.
13018
13019 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13020
13021 * gdb.arch/amd64-entry-value-paramref.S: New file.
13022 * gdb.arch/amd64-entry-value-paramref.cc: New file.
13023 * gdb.arch/amd64-entry-value-paramref.exp: New file.
13024 * gdb.arch/amd64-optimout-repeat.S: New file.
13025 * gdb.arch/amd64-optimout-repeat.c: New file.
13026 * gdb.arch/amd64-optimout-repeat.exp: New file.
13027
13028 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13029
13030 PR gdb/17170
13031 * gdb.base/statistics.exp: New file.
13032
13033 2014-07-17 Doug Evans <dje@google.com>
13034
13035 PR gdb/17170
13036 * gdb.base/maint.exp: Update testing of per-command stats.
13037
13038 2014-07-16 Pedro Alves <palves@redhat.com>
13039
13040 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13041 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13042 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13043 (tfile_write_buf): New functions.
13044 (add_memory_block): Rewrite using the above.
13045 (adjust_function_address): New function.
13046 (FUNCTION_ADDRESS): New macro.
13047 (write_basic_trace_file): Remove short_x local, and use
13048 tfile_write_16. Change type of func_addr local to unsigned long
13049 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
13050 here. Cast argument of add_memory_block to char pointer.
13051 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
13052 (main): Remove parameters.
13053 * gdb.trace/tfile.exp: Remove nowarnings.
13054
13055 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
13056
13057 * gdb.base/debug-expr.exp: Test string evaluation with
13058 "debug expression" on.
13059
13060 2014-07-15 Pedro Alves <palves@redhat.com>
13061
13062 * gdb.base/reread.exp: Use clean_restart.
13063
13064 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
13065
13066 * gdb.arch/avr-flash-qualifer.c: New.
13067 * gdb.arch/avr-flash-qualifer.exp: New.
13068
13069 2014-07-14 Pedro Alves <palves@redhat.com>
13070
13071 * gdb.base/paginate-after-ctrl-c-running.c: New file.
13072 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13073
13074 2014-07-14 Pedro Alves <palves@redhat.com>
13075
13076 * gdb.base/double-prompt-target-event-error.c: New file.
13077 * gdb.base/double-prompt-target-event-error.exp: New file.
13078
13079 2014-07-14 Pedro Alves <palves@redhat.com>
13080
13081 PR gdb/17072
13082 * gdb.base/paginate-inferior-exit.c: New file.
13083 * gdb.base/paginate-inferior-exit.exp: New file.
13084
13085 2014-07-14 Pedro Alves <palves@redhat.com>
13086
13087 PR gdb/17072
13088 * gdb.base/paginate-bg-execution.c: New file.
13089 * gdb.base/paginate-bg-execution.exp: New file.
13090
13091 2014-07-14 Pedro Alves <palves@redhat.com>
13092
13093 PR gdb/17072
13094 * gdb.base/paginate-execution-startup.c: New file.
13095 * gdb.base/paginate-execution-startup.exp: New file.
13096 * lib/gdb.exp (pagination_prompt): New global.
13097 (default_gdb_spawn): New procedure, factored out from
13098 default_gdb_spawn.
13099 (default_gdb_start): Adjust to call default_gdb_spawn.
13100 (gdb_spawn): New procedure.
13101
13102 2014-07-14 Pedro Alves <palves@redhat.com>
13103
13104 * lib/gdb.exp (gdb_assert): New procedure.
13105 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13106
13107 2014-07-14 Pedro Alves <palves@redhat.com>
13108
13109 * gdb.base/execution-termios.c: New file.
13110 * gdb.base/execution-termios.exp: New file.
13111
13112 2014-07-14 Tom Tromey <tromey@redhat.com>
13113
13114 * gdb.cp/vla-cxx.cc: New file.
13115 * gdb.cp/vla-cxx.exp: New file.
13116
13117 2014-07-14 Tom Tromey <tromey@redhat.com>
13118
13119 * gdb.reverse/rerun-prec.c: New file.
13120 * gdb.reverse/rerun-prec.exp: New file.
13121
13122 2014-07-12 Maciej W. Rozycki <macro@mips.com>
13123 Maciej W. Rozycki <macro@codesourcery.com>
13124
13125 * lib/gdb-utils.exp: New file.
13126 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13127 inline `gdb_init_command' processing.
13128 (gdb_start_cmd): Likewise.
13129 * lib/mi-support.exp (mi_run_cmd): Likewise.
13130 * README: Document `gdb_init_command' and `gdb_init_commands'.
13131
13132 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13133
13134 Fix false FAIL running under a very long directory name.
13135 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13136 and "set print elements 10000". Twice.
13137
13138 2014-07-11 Yao Qi <yao@codesourcery.com>
13139
13140 * gdb.base/exprs.exp: "set print symbol off".
13141
13142 2014-07-11 Pedro Alves <palves@redhat.com>
13143
13144 * gdb.threads/kill.c: New file.
13145 * gdb.threads/kill.exp: New file.
13146
13147 2014-07-10 Yao Qi <yao@codesourcery.com>
13148
13149 * gdb.trace/tfile.c (write_basic_trace_file)
13150 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13151 address written to trace file.
13152
13153 2014-07-09 Pedro Alves <palves@redhat.com>
13154
13155 * gdb.base/attach-wait-input.exp: New file.
13156 * gdb.base/attach-wait-input.c: New file.
13157
13158 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
13159
13160 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13161 setting up test structures.
13162 (main): Call new test function.
13163 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13164 test function, continue into test function and walk test
13165 structures.
13166
13167 2014-07-02 Yao Qi <yao@codesourcery.com>
13168
13169 * gdb.trace/entry-values.c: Define labels 'foo_start' and
13170 'bar_start' at the beginning of functions 'foo' and 'bar'
13171 respectively.
13172 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13173 instead of 'foo' and 'bar'.
13174
13175 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
13176
13177 * gdb.btrace/segv.exp: New.
13178 * gdb.btrace/segv.c: New.
13179
13180 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
13181
13182 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13183 instruction.
13184
13185 2014-06-30 Mark Wielaard <mjw@redhat.com>
13186
13187 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13188 vulture, vilify, villar): New volatile array constants.
13189 (vindictive, vegetation): New const volatile array constants.
13190 * gdb.base/volatile.exp: Test volatile and const volatile array
13191 types.
13192
13193 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13194
13195 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13196 target lacks support for awatch, rwatch, or hbreak.
13197
13198 2014-06-27 Yao Qi <yao@codesourcery.com>
13199
13200 * gdb.multi/dummy-frame-restore.exp: New.
13201 * gdb.multi/dummy-frame-restore.c: New.
13202
13203 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
13204
13205 * gdb.btrace/gcore.exp: New.
13206
13207 2014-06-23 Pedro Alves <palves@redhat.com>
13208
13209 * gdb.base/watchpoint-reuse-slot.c: New file.
13210 * gdb.base/watchpoint-reuse-slot.exp: New file.
13211
13212 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
13213
13214 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13215 progspace's filename in 'info', 'enable' and 'disable' command
13216 tests.
13217
13218 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13219
13220 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13221 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13222 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13223
13224 2014-06-20 Gary Benson <gbenson@redhat.com>
13225
13226 * gdb.arch/i386-avx.exp: Fix include file location.
13227 * gdb.arch/i386-sse.exp: Likewise.
13228
13229 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
13230
13231 * gdb.dlang/expression.exp: New file.
13232
13233 2014-06-19 Pedro Alves <palves@redhat.com>
13234
13235 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13236 out from ...
13237 (top level): ... here. Iterate running tests under different
13238 scheduler-locking settings.
13239
13240 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
13241
13242 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13243 to DW_FORM_addr and use non-zero addresses.
13244
13245 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
13246
13247 PR gdb/17017
13248 * gdb.python/py-xmethods.cc: Add global function call counters and
13249 increment them in their respective functions. Remove "cout"
13250 statements.
13251 * gdb.python/py-xmethods.exp: Make tests check the global function
13252 call counters instead of depending on inferior IO.
13253
13254 2014-06-18 Don Breazeal <donb@codesourcery.com>
13255
13256 * gdb.base/foll-fork.exp (default_fork_parent_follow):
13257 Deleted procedure.
13258 (explicit_fork_parent_follow): Deleted procedure.
13259 (explicit_fork_child_follow): Deleted procedure.
13260 (test_follow_fork): New procedure.
13261 (do_fork_tests): Replace calls to deleted procedures with
13262 calls to test_follow_fork and reset GDB for subsequent
13263 procedure calls.
13264
13265 2014-06-17 Yao Qi <yao@codesourcery.com>
13266
13267 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13268 CP1252.
13269
13270 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
13271
13272 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13273 Initialize ptr and S explicitly.
13274 (skip_type_update_when_not_use_rtti_test): Likewise.
13275
13276 2014-06-16 Keith Seitz <keiths@redhat.com>
13277
13278 PR mi/15863
13279 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13280 the inferior is started.
13281
13282 2014-06-16 Pedro Alves <palves@redhat.com>
13283
13284 * gdb.base/break-main-file-remove-fail.c: New file.
13285 * gdb.base/break-main-file-remove-fail.exp: New file.
13286 * gdb.base/break-unload-file.exp: Use build_executable instead of
13287 prepare_for_testing.
13288 (test_break): New parameter "initial_load". Handle it.
13289 (top level): Add initial_load cmdline/file axis.
13290
13291 2014-06-12 Tom Tromey <tromey@redhat.com>
13292
13293 * gdb.base/completion.exp: Don't use directory name in test.
13294
13295 2014-06-09 Gary Benson <gbenson@redhat.com>
13296
13297 * gdb.base/sigall.c [Functions to send signals]: Reorder to
13298 separate the always-available ANSI-standard signals from the
13299 signals that require checking.
13300 (main): Likewise.
13301 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13302 Likewise.
13303 (main): Likewise.
13304
13305 2014-06-07 Keith Seitz <keiths@redhat.com>
13306
13307 Revert:
13308 PR c++/16253
13309 * gdb.cp/var-tag.cc: New file.
13310 * gdb.cp/var-tag.exp: New file.
13311 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13312 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13313 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13314 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13315
13316 2014-06-06 Doug Evans <xdje42@gmail.com>
13317
13318 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13319
13320 2014-06-06 Pedro Alves <palves@redhat.com>
13321
13322 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13323 in target debug output instead of looking at RSP packets,
13324 disabling the test on any target that uses hardware stepping.
13325 Update comments.
13326
13327 2014-06-06 Pedro Alves <palves@redhat.com>
13328
13329 * gdb.base/break-unload-file.exp: Fix typo.
13330
13331 2014-06-06 Yao Qi <yao@codesourcery.com>
13332
13333 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13334 from "jit_function" to "^jit_function".
13335
13336 2014-06-06 Yao Qi <yao@codesourcery.com>
13337
13338 * gdb.base/async.c (foo): Add one statement.
13339 * gdb.base/async.exp: Get the next instruction address and
13340 match the output of "nexti" by instruction address. Match
13341 the hex address in the output of "finish".
13342
13343 2014-06-06 Gary Benson <gbenson@redhat.com>
13344
13345 * gdb.base/call-signals.c: Remove preprocessor conditionals
13346 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13347 SIGSEGV and SIGTERM.
13348 * gdb.base/sigall.c: Likewise.
13349 * gdb.base/unwindonsignal.c: Likewise.
13350 * gdb.reverse/sigall-reverse.c: Likewise.
13351
13352 2014-06-06 Yao Qi <yao@codesourcery.com>
13353
13354 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
13355 readable, skip the test.
13356
13357 2014-06-06 Yao Qi <yao@codesourcery.com>
13358
13359 * gdb.threads/staticthreads.c (thread_function): Move the line
13360 setting breakpoint on forward.
13361 * gdb.threads/staticthreads.exp: Update comments.
13362
13363 2014-06-05 Ludovic Courtès <ludo@gnu.org>
13364
13365 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13366 "history-append! type error".
13367
13368 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
13369
13370 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13371 erroneous dprintf expected input.
13372
13373 2014-06-04 Doug Evans <xdje42@gmail.com>
13374
13375 * gdb.guile/scm-generics.exp: Delete.
13376
13377 2014-06-04 Doug Evans <xdje42@gmail.com>
13378
13379 * gdb.guile/scm-breakpoint.exp: Update.
13380 Add tests for breakpoint registration.
13381
13382 2014-06-04 Tom Tromey <tromey@redhat.com>
13383
13384 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13385 VLA-in-union.
13386 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13387 inner_vla_struct, vla_union types. Initialize objects of those
13388 types and compute their sizes.
13389
13390 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
13391 Hui Zhu <hui@codesourcery.com>
13392
13393 * gdb.base/fileio.exp: Add test for shell not available as well as
13394 available.
13395 * gdb.base/fileio.c (test_system): Check for shell twice.
13396
13397 2014-06-04 Yao Qi <yao@codesourcery.com>
13398
13399 * gdb.base/auto-connect-native-target.exp: Remove redundant
13400 space from the regexp pattern.
13401
13402 2014-06-04 Yao Qi <yao@codesourcery.com>
13403
13404 * gdb.base/default.exp: Replace "child" with "native" in
13405 regexp pattern.
13406
13407 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
13408
13409 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13410 * gdb.python/py-xmethods.exp: New tests to test xmethods.
13411 * gdb.python/py-xmethods.py: Python script supporting the
13412 new testcase and tests.
13413
13414 2014-06-03 Joel Brobecker <brobecker@adacore.com>
13415 Pedro Alves <palves@redhat.com>
13416
13417 PR breakpoints/17000
13418 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13419 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13420
13421 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
13422
13423 * gdb.base/subst.exp: Add tests to verify partial path matching
13424 output.
13425
13426 2014-06-03 Pedro Alves <palves@redhat.com>
13427
13428 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13429 target that doesn't use software single-stepping.
13430
13431 2014-06-03 Pedro Alves <palves@redhat.com>
13432
13433 PR breakpoints/17000
13434 * gdb.base/sss-bp-on-user-bp-2.c: New file.
13435 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13436
13437 2014-06-02 Doug Evans <xdje42@gmail.com>
13438
13439 * gdb.guile/scm-parameter.exp: New file.
13440
13441 2014-06-02 Doug Evans <xdje42@gmail.com>
13442
13443 * gdb.guile/scm-cmd.c: New file.
13444 * gdb.guile/scm-cmd.exp: New file.
13445
13446 2014-06-02 Doug Evans <xdje42@gmail.com>
13447
13448 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13449 pretty-printer lookup.
13450 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13451 (make-pp_s-printer): Call it.
13452 (make-pretty-printer-from-dict): New function.
13453 (lookup-pretty-printer-maker-from-dict): New function.
13454 (*pretty-printer*): Simplify.
13455 (make-objfile-pp_s-printer): New function.
13456 (install-objfile-pretty-printers!): New function.
13457 (make-progspace-pp_s-printer): New function.
13458 (install-progspace-pretty-printers!): New function.
13459 * gdb.guile/scm-progspace.c: New file.
13460 * gdb.guile/scm-progspace.exp: New file.
13461
13462 2014-06-02 Pedro Alves <palves@redhat.com>
13463
13464 * gdb.base/dprintf-bp-same-addr.c: New file.
13465 * gdb.base/dprintf-bp-same-addr.exp: New file.
13466
13467 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13468
13469 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13470 * gdb.arch/powerpc-power.s: Likewise.
13471
13472 2014-06-02 Joel Brobecker <brobecker@adacore.com>
13473
13474 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13475
13476 2014-06-01 Yao Qi <yao@codesourcery.com>
13477
13478 * gdb.base/watchpoint.exp (test_watch_location): Check null
13479 pointer can be dereferenced. If not, do the test, otherwise
13480 skip it.
13481
13482 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13483
13484 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13485 results.
13486 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13487
13488 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13489
13490 * gdb.arch/amd64-invalid-stack-middle.S: New file.
13491 * gdb.arch/amd64-invalid-stack-middle.c: New file.
13492 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13493 * gdb.arch/amd64-invalid-stack-top.c: New file.
13494 * gdb.arch/amd64-invalid-stack-top.exp: New file.
13495
13496 2014-05-30 Pedro Alves <palves@redhat.com>
13497
13498 PR breakpoints/17000
13499 * gdb.base/sss-bp-on-user-bp.c: New file.
13500 * gdb.base/sss-bp-on-user-bp.exp: New file.
13501
13502 2014-05-30 David Blaikie <dblaikie@gmail.com>
13503
13504 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13505 gnu_inline semantics via attribute.
13506 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13507 source explicitly specifies the required semantics.
13508
13509 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13510
13511 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13512
13513 2014-05-29 Pedro Alves <palves@redhat.com>
13514 Tom Tromey <tromey@redhat.com>
13515
13516 * gdb.base/async-shell.exp: Don't enable target-async.
13517 * gdb.base/async.exp
13518 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13519 parameter. Adjust.
13520 (top level): Don't test with "target-async".
13521 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13522 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13523 * gdb.base/inferior-died.exp: Don't enable target-async.
13524 * gdb.base/interrupt-noterm.exp: Likewise.
13525 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13526 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13527 * gdb.mi/mi-nonstop.exp: Likewise.
13528 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13529 * gdb.mi/mi-nsintrall.exp: Likewise.
13530 * gdb.mi/mi-nsmoribund.exp: Likewise.
13531 * gdb.mi/mi-nsthrexec.exp: Likewise.
13532 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13533 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13534 * gdb.python/py-evsignal.exp: Don't enable target-async.
13535 * gdb.python/py-evthreads.exp: Likewise.
13536 * gdb.python/py-prompt.exp: Likewise.
13537 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13538 * gdb.server/solib-list.exp: Don't enable target-async.
13539 * gdb.threads/thread-specific-bp.exp: Likewise.
13540 * lib/mi-support.exp: Adjust to use mi-async.
13541
13542 2014-05-29 Pedro Alves <palves@redhat.com>
13543
13544 PR gdb/13860
13545 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13546 reason, even in sync mode.
13547
13548 2014-05-29 Pedro Alves <palves@redhat.com>
13549 Hui Zhu <hui@codesourcery.com>
13550
13551 PR PR15693
13552 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13553 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13554 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13555 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13556
13557 2014-05-28 Joel Brobecker <brobecker@adacore.com>
13558
13559 * config/monitor.exp (gdb_target_monitor): Replace use of
13560 "set remotebaud" by "set serial baud".
13561
13562 2014-05-26 Andy Wingo <wingo@igalia.com>
13563
13564 * gdb.guile/scm-breakpoint.exp:
13565 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13566 properties instead of gdb-object-properties.
13567
13568 2014-05-26 Yao Qi <yao@codesourcery.com>
13569
13570 * gdb.server/no-thread-db.exp: Specify source file name
13571 explicitly when setting a breakpoint.
13572
13573 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13574
13575 * gdb.btrace/vdso.c: New.
13576 * gdb.btrace/vdso.exp: New.
13577
13578 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13579
13580 * gdb.base/gcore.exp (capture_command_output): Move ...
13581 * lib/gdb.exp (capture_command_output): ... here.
13582
13583 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13584
13585 * gdb.btrace/data.exp: Test memory access during btrace replay.
13586
13587 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13588
13589 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13590
13591 2014-05-21 Pedro Alves <palves@redhat.com>
13592
13593 PR gdb/13860
13594 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13595 (top level): Test that output related to execution commands is
13596 sent to the console with CLI commands, but not with MI commands.
13597 Test that breakpoint events are always mirrored to the console.
13598 Also expect the new source line to be output after a "next" in
13599 async mode too. Make it a pass/fail test.
13600 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13601 output.
13602 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13603
13604 2014-05-21 Pedro Alves <palves@redhat.com>
13605
13606 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13607 Use them to test variations of "list" after reaching a breakpoint.
13608 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13609 Test "list" with listsize 10 after reaching a breakpoint.
13610 * gdb.python/python.exp (decode_line current location line
13611 number): Adjust expected line number.
13612
13613 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13614
13615 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13616 behavior for $args, pass it directly to "run".
13617
13618 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13619
13620 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13621 30000 to 65536.
13622
13623 2014-05-21 Pedro Alves <palves@redhat.com>
13624
13625 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13626 auto-connect-native-target off".
13627 * gdb.base/auto-connect-native-target.c: New file.
13628 * gdb.base/auto-connect-native-target.exp: New file.
13629
13630 2014-05-21 Pedro Alves <palves@redhat.com>
13631
13632 * gdb.base/default.exp: Test "target native" instead of "target
13633 child".
13634
13635 2014-05-21 Mark Wielaard <mjw@redhat.com>
13636
13637 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13638
13639 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13640
13641 Fix TLS access for -static -pthread.
13642 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13643 <HAVE_TLS> (thread_function, main): Initialize it.
13644 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13645 Add clean_restart.
13646 <$have_tls != "">: Check TLSVAR.
13647
13648 2014-05-21 Pedro Alves <palves@redhat.com>
13649
13650 * gdb.base/dcache-line-read-error.c: New.
13651 * gdb.base/dcache-line-read-error.exp: New.
13652
13653 2014-05-20 Pedro Alves <palves@redhat.com>
13654
13655 * gdb.base/compare-sections.c: New file.
13656 * gdb.base/compare-sections.exp: New file.
13657
13658 2014-05-20 Pedro Alves <palves@redhat.com>
13659
13660 * gdb.base/break-idempotent.c: New file.
13661 * gdb.base/break-idempotent.exp: New file.
13662
13663 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13664
13665 * gdb.btrace/nohist.exp: New.
13666
13667 2014-05-20 Yao Qi <yao@codesourcery.com>
13668
13669 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13670 gdb.reverse directory and gdb_reverse_timeout exists in board
13671 setting.
13672 * README: Document gdb_reverse_timeout.
13673
13674 2014-05-20 Yao Qi <yao@codesourcery.com>
13675
13676 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13677 'test_file_name'. Treat args as a string instead of a list.
13678 (gdb_init): Rename argument 'args' by 'test_file_name'.
13679
13680 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13681
13682 * gdb.arch/powerpc-power.exp: New file.
13683 * gdb.arch/powerpc-power.s: New file.
13684
13685 2014-05-16 Doug Evans <dje@google.com>
13686
13687 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13688 * gdb.base/completion.exp: Check that all expected files exist
13689 before doing file completion.
13690
13691 2014-05-16 Doug Evans <dje@google.com>
13692
13693 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13694 Update.
13695 (do_syscall_tests_without_xml): Update.
13696
13697 2014-05-16 Pedro Alves <palves@redhat.com>
13698
13699 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13700 instead of "unknown output after running".
13701
13702 2014-05-16 Yao Qi <yao@codesourcery.com>
13703
13704 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13705 file1.txt from host at the end.
13706 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13707
13708 2014-05-15 Doug Evans <dje@google.com>
13709
13710 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13711 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13712 loading file. Add test for TU lookup.
13713
13714 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13715
13716 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13717 calling "-exec-arguments" or "set args" before running the
13718 inferior.
13719
13720 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13721
13722 * lib/mi-support.exp (mi_expect_stop): Expect message for
13723 inferiors that exit with non-zero exit code.
13724
13725 2014-05-14 Yao Qi <yao@codesourcery.com>
13726
13727 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13728 match absolute path on remote host.
13729 (test_file_list_exec_source_files): Remove "/" from the
13730 pattern.
13731
13732 2014-05-14 Yao Qi <yao@codesourcery.com>
13733
13734 * boards/local-remote-host-notty.exp (${board}_file): New
13735 proc.
13736
13737 2014-05-07 Kyle McMartin <kyle@redhat.com>
13738
13739 Pushed by Joel Brobecker <brobecker@adacore.com>.
13740 * gdb.arch/aarch64-atomic-inst.c: New file.
13741 * gdb.arch/aarch64-atomic-inst.exp: New file.
13742
13743 2014-05-07 Yao Qi <yao@codesourcery.com>
13744
13745 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13746 in current context" too.
13747
13748 2014-05-05 Keith Seitz <keiths@redhat.com>
13749
13750 * gdb.linespec/ls-dollar.exp: Add test for linespec
13751 file:convenience_variable.
13752
13753 2014-05-05 Yao Qi <yao@codesourcery.com>
13754
13755 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13756 traceframes into tfile and ctf trace files. Read data from
13757 trace file and test collected data.
13758 (gdb_collect_locals_test): Likewise.
13759 (gdb_unavailable_registers_test): Likewise.
13760 (gdb_unavailable_floats): Likewise.
13761 (gdb_collect_globals_test): Likewise.
13762 (top-level): Append "ctf" to trace_file_targets if GDB
13763 supports.
13764
13765 2014-05-05 Yao Qi <yao@codesourcery.com>
13766
13767 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13768 code to ...
13769 (gdb_collect_args_test_1): ... it. New proc.
13770 (gdb_collect_locals_test): Move some code to ...
13771 (gdb_collect_locals_test_1): ... it. New proc.
13772 (gdb_unavailable_registers_test): Move some code to ...
13773 (gdb_unavailable_registers_test_1): ... it. New proc.
13774 (gdb_unavailable_floats): Move some code to ...
13775 (gdb_unavailable_floats_1): ... it. New proc.
13776
13777 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13778
13779 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13780 probes to test for bitness recognition.
13781 * gdb.arch/amd64-stap-optional-prefix.exp
13782 (test_probe_value_without_reg): New procedure.
13783 Add code to test for different kinds of bitness.
13784
13785 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13786
13787 PR breakpoints/16889
13788 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13789 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13790
13791 2014-05-01 Pedro Alves <palves@redhat.com>
13792
13793 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13794 gdb_file_cmd if no file is specified.
13795 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13796 last_loaded_file to set the remote exec-file.
13797
13798 2014-05-01 Pedro Alves <palves@redhat.com>
13799
13800 * boards/local-remote-host.exp: New file.
13801
13802 2014-05-01 Pedro Alves <palves@redhat.com>
13803
13804 * boards/local-remote-host.exp: Rename to ...
13805 * boards/local-remote-host-notty.exp: ... this.
13806
13807 2014-04-28 Joel Brobecker <brobecker@adacore.com>
13808
13809 * gdb.ada/dyn_arrayidx: New testcase.
13810
13811 2014-04-26 Yao Qi <yao@codesourcery.com>
13812
13813 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13814 and compute the length of function main. Save it in
13815 $main_length.
13816 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13817 (top-level): Use gdb_compile to compile objects into
13818 executable and restart GDB. Remove invocation to
13819 prepare_for_testing.
13820
13821 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13822 Pedro Alves <palves@redhat.com>
13823
13824 PR server/16255
13825 * gdb.multi/multi-attach.c: New file.
13826 * gdb.multi/multi-attach.exp: New file.
13827
13828 2014-04-25 Pedro Alves <palves@redhat.com>
13829
13830 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13831 user.
13832 (top level): Test that "set remote conditional-breakpoints-packet
13833 off" works as intended.
13834 * gdb.base/dprintf.exp: Test that "set remote
13835 breakpoint-commands-packet off" works as intended.
13836 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13837 New function.
13838 (top level): Call it.
13839 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13840 remote fast-tracepoints-packet off" works as intended.
13841 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13842 * lib/gdb.exp (gdb_is_target_remote): ... here.
13843
13844 2014-04-24 David Blaikie <dblaikie@gmail.com>
13845
13846 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13847 ensure clang would not discard them.
13848 * gdb.base/gdbvars.c: Ditto.
13849 * gdb.base/memattr.c: Ditto.
13850 * gdb.base/whatis.c: Ditto.
13851 * gdb.python/py-prettyprint.c: Ditto.
13852 * gdb.trace/actions.c: Ditto.
13853 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13854 ensure clang would not discard it.
13855
13856 2014-04-24 David Blaikie <dblaikie@gmail.com>
13857
13858 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13859 clang to emit the full definition of type required by the test
13860 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13861
13862 2014-04-24 David Blaikie <dblaikie@gmail.com>
13863
13864 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13865 coax Clang into emitting the definition of the type.
13866 * gdb.cp/pr10728-x.h (y): Ditto.
13867 * gdb.cp/pr10728-y.cc (y): Ditto.
13868
13869 2014-04-24 David Blaikie <dblaikie@gmail.com>
13870
13871 * gdb.base/label.exp: XFAIL label related tests under Clang.
13872 * gdb.cp/cplabel.exp: Ditto.
13873 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13874 under Clang those using labels.
13875
13876 2014-04-25 Yao Qi <yao@codesourcery.com>
13877
13878 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13879 double_label.
13880 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13881 partial_label and double_label.
13882
13883 2014-04-24 David Blaikie <dblaikie@gmail.com>
13884
13885 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13886
13887 2014-04-24 David Blaikie <dblaikie@gmail.com>
13888
13889 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13890 of the function to work across GCC and Clang.
13891 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13892 pointer types (const void ** const V void **).
13893
13894 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
13895 Walfred Tedeschi <walfred.tedeschi@intel.com>
13896
13897 * Makefile.in (EXECUTABLES): Added i386-avx512.
13898 * gdb.arch/i386-avx512.c: New file.
13899 * gdb.arch/i386-avx512.exp: Likewise.
13900
13901 2014-04-23 Keith Seitz <keiths@redhat.com>
13902
13903 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13904 (mi_make_breakpoint_table): New procedure.
13905 (mi_create_breakpoint): Use mi_make_breakpoint
13906 and return the result.
13907 (mi_make_breakpoint): New procedure.
13908 (mi_build_kv_pairs): New procedure.
13909
13910 * gdb.mi/mi-break.exp: Remove unused globals,
13911 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13912 All callers updated.
13913 * gdb.mi/mi-dprintf.exp: Use variable to track command
13914 number.
13915 Update all callers of mi_create_breakpoint and use
13916 mi_make_breakpoint_table.
13917 Remove any unused global variables.
13918 * gdb.mi/mi-nonstop.exp: Likewise.
13919 * gdb.mi/mi-nsintrall.exp: Likewise.
13920 * gdb.mi/mi-nsmoribund.exp: Likewise.
13921 * gdb.mi/mi-nsthrexec.exp: Likewise.
13922 * gdb.mi/mi-reverse.exp: Likewise.
13923 * gdb.mi/mi-simplerun.exp: Likewise.
13924 * gdb.mi/mi-stepn.exp: Likewise.
13925 * gdb.mi/mi-syn-frame.exp: Likewise.
13926 * gdb.mi/mi-until.exp: Likewise.
13927 * gdb.mi/mi-var-cp.exp: Likewise.
13928 * gdb.mi/mi-var-display.exp: Likewise.
13929 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13930 * gdb.mi/mi2-var-child.exp: Likewise.
13931 * gdb.mi/mi-vla-c99.exp: Likewise.
13932 * lib/mi-support.exp: Likewise.
13933
13934 From Ian Lance Taylor <iant@cygnus.com>:
13935 * lib/gdb.exp (parse_args): New procedure.
13936
13937 2014-04-23 Pedro Alves <palves@redhat.com>
13938
13939 * gdb.base/break-unload-file.c: New file.
13940 * gdb.base/break-unload-file.exp: New file.
13941 * gdb.base/sym-file-lib.c (baz): New function.
13942 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13943 field.
13944 (load): Store the segment's mapped size.
13945 (unload): New function.
13946 (unload_shlib): New function.
13947 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13948 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13949 set a breakpoint at baz, and call it.
13950 * gdb.base/sym-file.exp: New tests for stale breakpoint
13951 instructions.
13952
13953 2014-04-23 Pedro Alves <palves@redhat.com>
13954
13955 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13956 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13957 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13958 * gdb.base/hbreak-unmapped.c: New file.
13959 * gdb.base/hbreak-unmapped.exp: New file.
13960 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13961 * lib/gdb.exp (gdb_is_target_remote): ... here.
13962
13963 2014-04-22 Pedro Alves <palves@redhat.com>
13964
13965 * gdb.base/consecutive-step-over.c: New file.
13966 * gdb.base/consecutive-step-over.exp: New file.
13967
13968 2014-04-22 Pedro Alves <palves@redhat.com>
13969
13970 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13971 instead of send_gdb/gdb_expect.
13972
13973 2014-04-22 Yao Qi <yao@codesourcery.com>
13974
13975 * lib/trace-support.exp (generate_tracefile): New procedure.
13976 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13977 return 0.
13978 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13979 if generate_tracefile returns 1.
13980
13981 2014-04-18 Tom Tromey <palves@redhat.com>
13982 Pedro alves <tromey@redhat.com>
13983
13984 PR backtrace/15558
13985 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13986 with a backtrace limit.
13987 * gdb.python/py-frame-inline.exp: Test running to an inline
13988 function with a backtrace limit, and printing the newest frame.
13989 * gdb.python/py-frame-inline.c (main): Call f.
13990
13991 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13992
13993 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13994
13995 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13996
13997 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13998 Drop prefix from unsupported source file path.
13999
14000 2014-04-17 Yao Qi <yao@codesourcery.com>
14001
14002 * lib/gdb.exp (with_target_charset): New proc.
14003 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14004 with_target_charset.
14005 (test_print_strings): Likewise.
14006 (test_repeat_bytes): Likewise.
14007 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14008 for some tests.
14009
14010 2014-04-16 Keith Seitz <keiths@redhat.com>
14011
14012 PR gdb/15827
14013 * gdb.dwarf2/corrupt.c: New file.
14014 * gdb.dwarf2/corrupt.exp: New file.
14015
14016 2014-04-16 Keith Seitz <keiths@redhat.com>
14017
14018 PR c++/16597
14019 * gdb.cp/namelessclass.cc: New file.
14020 * gdb.cp/namelessclass.exp: New file.
14021 * gdb.cp/namelessclass.S: New file.
14022
14023 2014-04-16 Doug Evans <dje@google.com>
14024
14025 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14026 Add comment.
14027 (gdbserver_default_get_comm_port): New function.
14028 (gdbserver_start): Check if board file provided
14029 "gdbserver,get_comm_port" and use it if so.
14030 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14031 (gdb,socketport): Set to "stdio".
14032 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14033 (stdio_gdbserver_template): Delete.
14034 (${board}_get_remote_address): Update.
14035 (${board}_build_remote_cmd): Delete.
14036 (${board}_get_comm_port): New function.
14037 (${board}_spawn): Update.
14038 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14039 Delete.
14040 (${board}_get_remote_address): Update.
14041 (${board}_get_comm_port): New function.
14042
14043 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
14044
14045 * gdb.base/memattr.exp: Improve regexps to handle memory regions
14046 appearing in any order.
14047
14048 2014-04-15 Doug Evans <dje@google.com>
14049
14050 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14051 uninitialized value of "description".
14052
14053 2014-04-15 Keith Seitz <keiths@redhat.com>
14054
14055 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14056 Remove unused globals.
14057 (test_running_the_program): Likewise.
14058 (test_controlled_execution): Likewise.
14059 (test_controlling_breakpoints): Likewise.
14060 (test_program_termination): Likewise.
14061
14062 2014-04-15 Keith Seitz <keiths@redhat.com>
14063
14064 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14065 unused globals.
14066 (test_rbreak_creation_and_listing): Likewise.
14067 (test_ignore_count): Likewise.
14068 (test_error): Likewise.
14069
14070 2014-04-15 Pedro Alves <palves@redhat.com>
14071
14072 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14073 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14074 sym-file-loader.c.
14075 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14076 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14077 to sym-file-loader.c.
14078 (struct library): Forward declare.
14079 (load_shlib, lookup_function): Change prototypes.
14080 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14081 (translate_offset): Remove declarations.
14082 (get_text_addr): New declaration.
14083 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14084 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14085 sym-file-loader.h.
14086 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14087 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14088 here from sym-file-loader.h.
14089 (struct library): New structure.
14090 (load_shlib, lookup_function): Change prototypes and adjust to
14091 work with a struct library.
14092 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14093 (translate_offset): Make static.
14094 (get_text_addr): New function.
14095 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14096
14097 2014-04-15 Pedro Alves <palves@redhat.com>
14098
14099 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
14100
14101 2014-04-15 Pedro Alves <palves@redhat.com>
14102
14103 * gdb.base/sym-file-loader.c: Include <limits.h>.
14104 (SELF_LINK): New define.
14105 (get_origin): New function.
14106 (load_shlib): Use it.
14107 * gdb.base/sym-file.exp: Don't early return if the target is
14108 remote. Use runto_main, and issue fail is that fails. Use
14109 gdb_load_shlibs.
14110 (shlib_name): Delete.
14111 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
14112
14113 2014-04-15 Pedro Alves <palves@redhat.com>
14114
14115 * gdb.base/sym-file.exp: Remove regex characters from test
14116 message. Don't refer to breakpoint numbers in test messages.
14117
14118 2014-04-14 Keith Seitz <keiths@redhat.com>
14119
14120 PR c++/16253
14121 * gdb.cp/var-tag.cc: New file.
14122 * gdb.cp/var-tag.exp: New file.
14123 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14124 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14125 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14126 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14127
14128 2014-04-14 Tom Tromey <tromey@redhat.com>
14129
14130 * gdb.cp/classes.exp (test_enums): Handle underlying type.
14131 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14132 type.
14133 * gdb.cp/enum-class.exp: New file.
14134 * gdb.cp/enum-class.cc: New file.
14135
14136 2014-04-14 Tom Tromey <tromey@redhat.com>
14137
14138 * gdb.dwarf2/enum-type.exp: New file.
14139
14140 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14141
14142 * gdb.mi/mi-vla-c99.exp: New file.
14143 * gdb.mi/vla.c: New file.
14144
14145 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14146
14147 * gdb.base/vla-datatypes.c: New file.
14148 * gdb.base/vla-datatypes.exp: New file.
14149
14150 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14151
14152 * gdb.base/vla-ptr.c: New file.
14153 * gdb.base/vla-ptr.exp: New file.
14154
14155 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14156
14157 * gdb.dwarf2/count.exp: New file.
14158
14159 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14160
14161 * gdb.base/vla-sideeffect.c: New file.
14162 * gdb.base/vla-sideeffect.exp: New file.
14163
14164 2014-04-14 David Blaikie <dblaikie@gmail.com>
14165
14166 * gdb.mi/non-stop.c: Add return value for non-void function return
14167 statement.
14168 * gdb.threads/staticthreads.c: Ditto.
14169
14170 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
14171 Doug Evans <xdje42@gmail.com>
14172
14173 * gdb.guile/scm-value.c: Improve test case.
14174 * gdb.guile/scm-value.exp: Add new test.
14175
14176 2014-04-11 David Blaikie <dblaikie@gmail.com>
14177
14178 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14179 override Clang's default.
14180
14181 2014-04-11 Joel Brobecker <brobecker@adacore.com>
14182
14183 Revert the following changes (regressions):
14184
14185 * gdb.base/vla-sideeffect.c: New file.
14186 * gdb.base/vla-sideeffect.exp: New file.
14187
14188 * gdb.dwarf2/count.exp: New file.
14189
14190 * gdb.base/vla-multi.c: New file.
14191 * gdb.base/vla-multi.exp: New file.
14192
14193 * gdb.base/vla-ptr.c: New file.
14194 * gdb.base/vla-ptr.exp: New file.
14195
14196 * gdb.base/vla-datatypes.c: New file.
14197 * gdb.base/vla-datatypes.exp: New file.
14198
14199 * gdb.mi/mi-vla-c99.exp: New file.
14200 * gdb.mi/vla.c: New file.
14201
14202 2014-04-11 Keith Seitz <keiths@redhat.com>
14203
14204 PR c++/16675
14205 * gdb.cp/cpsizeof.exp: New file.
14206 * gdb.cp/cpsizeof.cc: New file.
14207
14208 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14209
14210 * gdb.mi/mi-vla-c99.exp: New file.
14211 * gdb.mi/vla.c: New file.
14212
14213 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14214
14215 * gdb.base/vla-datatypes.c: New file.
14216 * gdb.base/vla-datatypes.exp: New file.
14217
14218 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14219
14220 * gdb.base/vla-ptr.c: New file.
14221 * gdb.base/vla-ptr.exp: New file.
14222
14223 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14224
14225 * gdb.base/vla-multi.c: New file.
14226 * gdb.base/vla-multi.exp: New file.
14227
14228 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14229
14230 * gdb.dwarf2/count.exp: New file.
14231
14232 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14233
14234 * gdb.base/vla-sideeffect.c: New file.
14235 * gdb.base/vla-sideeffect.exp: New file.
14236
14237 2014-04-11 Yao Qi <yao@codesourcery.com>
14238
14239 * gdb.base/completion.exp: Check file exists before running tests
14240 on file completion.
14241
14242 2014-04-10 Pedro Alves <palves@redhat.com>
14243
14244 * gdb.base/cond-eval-mode.c: New file.
14245 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
14246 prepare_for_testing to build the new file. Check result of
14247 runto_main.
14248 (test_break, test_watch): New procedures.
14249 (top level): Use them.
14250
14251 2014-04-08 Pierre Muller <muller@sourceware.org>
14252
14253 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14254 Ctrl-V use for mingw hosts.
14255
14256 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
14257
14258 * gdb.python/py-value.c: Improve test case.
14259 * gdb.python/py-value.exp: Add new test.
14260
14261 2014-04-07 David Blaikie <dblaikie@gmail.com>
14262
14263 * lib/compiler.c: Identify the clang compiler.
14264 * lib/compiler.cc: Ditto.
14265
14266 2014-04-03 Yao Qi <yao@codesourcery.com>
14267
14268 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14269
14270 2014-04-01 Anton Blanchard <anton@samba.org>
14271
14272 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
14273 messages unique.
14274
14275 2014-04-01 Anton Blanchard <anton@samba.org>
14276
14277 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14278 prepare_for_testing.
14279
14280 2014-04-01 Anton Blanchard <anton@samba.org>
14281
14282 * gdb.arch/ppc64-atomic-inst.c: Remove.
14283 * gdb.arch/ppc64-atomic-inst.S: New file.
14284 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14285
14286 2014-03-31 Doug Evans <dje@google.com>
14287
14288 * gdb.base/print-symbol-loading-lib.c: New file.
14289 * gdb.base/print-symbol-loading-main.c: New file.
14290 * gdb.base/print-symbol-loading.exp: New file.
14291
14292 2014-03-31 Yao Qi <yao@codesourcery.com>
14293
14294 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14295
14296 2014-03-28 Joel Brobecker <brobecker@adacore.com>
14297
14298 * gdb.ada/mi_dyn_arr: New testcase.
14299
14300 2014-03-27 Doug Evans <dje@google.com>
14301
14302 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14303
14304 2014-03-27 Yao Qi <yao@codesourcery.com>
14305
14306 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14307 if target is nios2-*-*.
14308
14309 2014-03-26 Yao Qi <yao@codesourcery.com>
14310
14311 * lib/gdb.exp (readline_is_used): New proc.
14312 * gdb.base/completion.exp: Move tests on command complete up.
14313 Skip the rest of tests if readline is not used.
14314 * gdb.ada/complete.exp: Skp the test if readline is not
14315 used.
14316 * gdb.base/filesym.exp: Likewise.
14317 * gdb.base/macscp.exp: Likewise.
14318 * gdb.base/readline-ask.exp: Likewise.
14319 * gdb.base/readline.exp: Likewise.
14320 * gdb.python/py-cmd.exp: Likewise.
14321 * gdb.trace/tfile.exp: Likewise.
14322
14323 2014-03-26 Yao Qi <yao@codesourcery.com>
14324
14325 * gdb.base/macscp.exp: Fix code format issues.
14326
14327 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
14328
14329 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14330 * gdb.asm/powerpc64le.inc: New file.
14331
14332 2014-03-25 Pedro Alves <palves@redhat.com>
14333 Doug Evans <dje@google.com>
14334
14335 * gdb.base/source-execution.c: New file.
14336 * gdb.base/source-execution.exp: New file.
14337 * gdb.base/source-execution.gdb: New file.
14338
14339 2014-03-24 Doug Evans <dje@google.com>
14340
14341 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14342 using fission.
14343
14344 2014-03-24 Hui Zhu <hui@codesourcery.com>
14345 Pedro Alves <palves@redhat.com>
14346
14347 PR breakpoints/16101
14348 * gdb.base/dprintf.exp: Use unsupported rather than changing the
14349 test pass/fail messages. Detect missing support for dprintf when
14350 breakpoints are actually inserted.
14351 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14352 breakpoints are actually inserted.
14353 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14354 fails.
14355
14356 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14357
14358 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14359
14360 2014-03-22 Doug Evans <xdje42@gmail.com>
14361
14362 * gdb.python/python.exp (python not supported): Verify multi-line
14363 python command issues an error.
14364 * gdb.guile/guile.exp (guile not supported): Verify multi-line
14365 guile command issues an error.
14366
14367 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
14368
14369 * gdb.threads/thread-specific.exp: Handle the lack of usable
14370 $this_breakpoint and $this_thread.
14371
14372 2014-03-21 Hui Zhu <hui@codesourcery.com>
14373
14374 * gdb.base/attach.exp (do_command_attach_tests): New.
14375
14376 2014-03-20 Tom Tromey <tromey@redhat.com>
14377 Pedro Alves <palves@redhat.com>
14378
14379 PR cli/15718
14380 * gdb.base/condbreak-call-false.c: New file.
14381 * gdb.base/condbreak-call-false.exp: New file.
14382
14383 2014-03-20 Pedro Alves <palves@redhat.com>
14384
14385 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14386 Delete.
14387 (block_signals, unblock_signals): Delete.
14388 (child_function_2, main): Remove references to deleted variable
14389 and functions.
14390
14391 2014-03-20 Pedro Alves <palves@redhat.com>
14392
14393 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14394 Use pthread_kill to signal thread 2.
14395 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14396 Adjust to make the test send itself a signal rather than using the
14397 host's "kill" command.
14398
14399 2014-03-20 Pedro Alves <palves@redhat.com>
14400
14401 * gdb.threads/multiple-step-overs.c: New file.
14402 * gdb.threads/multiple-step-overs.exp: New file.
14403 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14404 Adjust expected infrun debug output.
14405
14406 2014-03-20 Pedro Alves <palves@redhat.com>
14407
14408 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14409 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14410
14411 2014-03-20 Pedro Alves <palves@redhat.com>
14412
14413 PR breakpoints/7143
14414 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14415 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
14416 of gdb_test_multiple.
14417 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14418 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14419
14420 2014-03-20 Pedro Alves <palves@redhat.com>
14421
14422 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14423 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14424
14425 2014-03-19 Pedro Alves <palves@redhat.com>
14426
14427 * gdb.base/async.exp: Remove early return.
14428
14429 2014-03-19 Pedro Alves <palves@redhat.com>
14430
14431 * gdb.base/async.exp (step& tests): Pass explicit test messages.
14432
14433 2014-03-19 Pedro Alves <palves@redhat.com>
14434
14435 * gdb.base/async.exp (test_background): Expect \r\n after
14436 "completed." in the fail pattern.
14437
14438 2014-03-19 Pedro Alves <palves@redhat.com>
14439
14440 * gdb.base/async.exp (test_background): New procedure.
14441 Use it for all background execution command tests.
14442
14443 2014-03-19 Pedro Alves <palves@redhat.com>
14444
14445 * gdb.base/async.exp: Use prepare_for_testing.
14446
14447 2014-03-19 Pedro Alves <palves@redhat.com>
14448
14449 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
14450 the same line.
14451
14452 2014-03-19 Pedro Alves <palves@redhat.com>
14453
14454 * gdb.base/async.c (main): Add "jump here" and "until here" line
14455 marker comments.
14456 * gdb.base/async.exp (jump_here): New global.
14457 (jump& test): Use it.
14458 (until_here): New global.
14459 (until& test): Use it.
14460
14461 2014-03-19 Pedro Alves <palves@redhat.com>
14462
14463 * gdb.base/async.exp: Don't frob gdb_protocol.
14464
14465 2014-03-18 Doug Evans <xdje42@gmail.com>
14466
14467 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
14468 Fix spelling of exec-done-display.
14469
14470 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14471
14472 PR gdb/15358
14473 * gdb.base/gdb-sigterm.c: New file.
14474 * gdb.base/gdb-sigterm.exp: New file.
14475
14476 2014-03-18 Pedro Alves <palves@redhat.com>
14477
14478 PR gdb/13860
14479 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14480 * lib/mi-support.exp (mi_expect_stop): Add special handling for
14481 solib-event.
14482
14483 2014-03-17 Joel Brobecker <brobecker@adacore.com>
14484
14485 * gdb.ada/pckd_arr_ren: New testcase.
14486
14487 2014-03-13 Doug Evans <xdje42@gmail.com>
14488
14489 PR guile/16612
14490 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14491 collect after discarding symbols.
14492
14493 2014-03-13 Ludovic Courtès <ludo@gnu.org>
14494 Doug Evans <xdje42@gmail.com>
14495
14496 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14497 to history survives a gc.
14498
14499 2014-03-13 Pedro Alves <palves@redhat.com>
14500
14501 * gdb.base/default.exp: Don't test "target procfs".
14502
14503 2014-03-13 Pedro Alves <palves@redhat.com>
14504
14505 * gdb.base/default.exp: Update "target child" and "target procfs"
14506 tests to not expect "Unix".
14507
14508 2014-03-12 Tom Tromey <tromey@redhat.com>
14509
14510 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14511 New procs. Add target-async tests.
14512 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14513 Add target-async tests.
14514
14515 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14516
14517 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14518 'func_start' and 'func_end' for the beginning and end of the
14519 function code, respectively.
14520 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14521 'func_end' instead of 'func' and 'main'.
14522
14523 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14524
14525 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14526 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14527 generate the debug info assembler source.
14528
14529 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14530
14531 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14532 * gdb.dwarf2/arr-subrange.exp: Likewise.
14533 * gdb.dwarf2/dwz.exp: Likewise.
14534 * gdb.dwarf2/method-ptr.exp: Likewise.
14535 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14536 * gdb.dwarf2/subrange.exp: Likewise.
14537 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14538 * gdb.dwarf2/implptrpiece.exp: Likewise.
14539 * gdb.dwarf2/nostaticblock.exp: Likewise.
14540
14541 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14542
14543 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14544 directory to absolute path name arguments.
14545
14546 2014-03-10 Joel Brobecker <brobecker@adacore.com>
14547
14548 * gdb.ada/tagged_access: New testcase.
14549
14550 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14551
14552 * gdb.btrace/data.exp: Update expected output.
14553
14554 2014-03-06 Yao Qi <yao@codesourcery.com>
14555
14556 * gdb.trace/pr16508.exp: New file.
14557
14558 2014-03-05 Pedro Alves <palves@redhat.com>
14559
14560 PR gdb/16575
14561 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14562 procedure.
14563 (top level): Adjust to use it. Add tests that exercise breakpoint
14564 interaction with the code-cache.
14565
14566 2014-02-26 Ludovic Courtès <ludo@gnu.org>
14567
14568 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14569 test for 'history-append!'.
14570
14571 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14572
14573 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14574 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14575 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14576 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14577 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14578 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14579
14580 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14581
14582 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14583 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14584 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14585
14586 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14587
14588 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14589
14590 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14591
14592 * gdb.dwarf2/arr-stride.c: New file.
14593 * gdb.dwarf2/arr-stride.exp: New file.
14594
14595 2014-02-26 Pedro Alves <palves@redhat.com>
14596
14597 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14598 that won't ever trigger. Make sure that GDB reports the correct
14599 breakpoint that caused the stop.
14600
14601 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14602
14603 PR gdb/16626
14604 * gdb.base/auto-load-script: New file.
14605 * gdb.base/auto-load.c: New file.
14606 * gdb.base/auto-load.exp: New file.
14607
14608 PR gdb/16626
14609 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14610
14611 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14612
14613 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14614 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14615
14616 2014-02-24 Doug Evans <dje@google.com>
14617
14618 * lib/gdb.exp (run_on_host): Log error output if program fails.
14619
14620 2014-02-21 Pedro Alves <palves@redhat.com>
14621
14622 * gdb.threads/step-after-sr-lock.c: Rename to ...
14623 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14624 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14625 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14626 ... this.
14627
14628 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14629
14630 PR tdep/16397
14631 * gdb.arch/amd64-stap-special-operands.exp: New file.
14632 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14633 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14634 * gdb.arch/amd64-stap-triplet.S: Likewise.
14635 * gdb.arch/amd64-stap-triplet.c: Likewise.
14636
14637 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14638
14639 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14640 in .section pseudo-op.
14641
14642 2014-02-20 lin zuojian <manjian2006@gmail.com>
14643 Joel Brobecker <brobecker@adacore.com>
14644 Doug Evans <xdje42@gmail.com>
14645
14646 PR symtab/16581
14647 * gdb.dwarf2/dw2-icycle.S: New file.
14648 * gdb.dwarf2/dw2-icycle.c: New file.
14649 * gdb.dwarf2/dw2-icycle.exp: New file.
14650
14651 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14652
14653 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14654 operations on gdb.Value objects.
14655 * gdb.python/py-value-cc.exp: Add new test to test operations on
14656 gdb.Value objects.
14657
14658 2014-02-18 Doug Evans <dje@google.com>
14659
14660 * Makefile.in (TESTS): New variable.
14661 (expanded_tests, expanded_tests_or_none): New variables
14662 (check-single): Pass $(expanded_tests_or_none) to runtest.
14663 (check-parallel): Only run tests in $(TESTS) if non-empty.
14664 (check/no-matching-tests-found): New rule.
14665 * README: Document TESTS makefile variable.
14666
14667 2014-02-18 Doug Evans <dje@google.com>
14668
14669 * Makefile.in (check-parallel): rm -rf outputs temp.
14670
14671 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14672
14673 Fix "ERROR: no fileid for" in the testsuite.
14674 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14675
14676 2014-02-12 Doug Evans <dje@google.com>
14677
14678 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14679 (MISCELLANEOUS): New variable.
14680 (clean): rm -rf $(MISCELLANEOUS).
14681 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14682 dwp live in the same directory as symlinks, with each symlink pointed
14683 to a differently named file in a different directory.
14684
14685 2014-02-11 Doug Evans <dje@google.com>
14686
14687 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14688 of Tcl file commands.
14689
14690 2014-02-10 Mark Kettenis <kettenis@gnu.org>
14691
14692 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14693 "kill -SIGUSR1 -1".
14694
14695 2014-02-10 Joel Brobecker <brobecker@adacore.com>
14696
14697 * gdb.ada/tick_length_array_enum_idx: New testcase.
14698
14699 2014-02-10 Doug Evans <xdje42@gmail.com>
14700
14701 * configure.ac (AC_OUTPUT): Add gdb.guile.
14702 * configure: Regenerate.
14703 * lib/gdb-guile.exp: New file.
14704 * lib/gdb.exp (get_target_charset): New function.
14705 * gdb.base/help.exp: Update expected output from "apropos apropos".
14706 * gdb.guile/Makefile.in: New file.
14707 * gdb.guile/guile.exp: New file.
14708 * gdb.guile/scm-arch.c: New file.
14709 * gdb.guile/scm-arch.exp: New file.
14710 * gdb.guile/scm-block.c: New file.
14711 * gdb.guile/scm-block.exp: New file.
14712 * gdb.guile/scm-breakpoint.c: New file.
14713 * gdb.guile/scm-breakpoint.exp: New file.
14714 * gdb.guile/scm-disasm.c: New file.
14715 * gdb.guile/scm-disasm.exp: New file.
14716 * gdb.guile/scm-equal.c: New file.
14717 * gdb.guile/scm-equal.exp: New file.
14718 * gdb.guile/scm-error.exp: New file.
14719 * gdb.guile/scm-error.scm: New file.
14720 * gdb.guile/scm-frame-args.c: New file.
14721 * gdb.guile/scm-frame-args.exp: New file.
14722 * gdb.guile/scm-frame-args.scm: New file.
14723 * gdb.guile/scm-frame-inline.c: New file.
14724 * gdb.guile/scm-frame-inline.exp: New file.
14725 * gdb.guile/scm-frame.c: New file.
14726 * gdb.guile/scm-frame.exp: New file.
14727 * gdb.guile/scm-generics.exp: New file.
14728 * gdb.guile/scm-gsmob.exp: New file.
14729 * gdb.guile/scm-iterator.c: New file.
14730 * gdb.guile/scm-iterator.exp: New file.
14731 * gdb.guile/scm-math.c: New file.
14732 * gdb.guile/scm-math.exp: New file.
14733 * gdb.guile/scm-objfile-script-gdb.in: New file.
14734 * gdb.guile/scm-objfile-script.c: New file.
14735 * gdb.guile/scm-objfile-script.exp: New file.
14736 * gdb.guile/scm-objfile.c: New file.
14737 * gdb.guile/scm-objfile.exp: New file.
14738 * gdb.guile/scm-ports.exp: New file.
14739 * gdb.guile/scm-pretty-print.c: New file.
14740 * gdb.guile/scm-pretty-print.exp: New file.
14741 * gdb.guile/scm-pretty-print.scm: New file.
14742 * gdb.guile/scm-section-script.c: New file.
14743 * gdb.guile/scm-section-script.exp: New file.
14744 * gdb.guile/scm-section-script.scm: New file.
14745 * gdb.guile/scm-symbol.c: New file.
14746 * gdb.guile/scm-symbol.exp: New file.
14747 * gdb.guile/scm-symtab-2.c: New file.
14748 * gdb.guile/scm-symtab.c: New file.
14749 * gdb.guile/scm-symtab.exp: New file.
14750 * gdb.guile/scm-type.c: New file.
14751 * gdb.guile/scm-type.exp: New file.
14752 * gdb.guile/scm-value-cc.cc: New file.
14753 * gdb.guile/scm-value-cc.exp: New file.
14754 * gdb.guile/scm-value.c: New file.
14755 * gdb.guile/scm-value.exp: New file.
14756 * gdb.guile/source2.scm: New file.
14757 * gdb.guile/types-module.cc: New file.
14758 * gdb.guile/types-module.exp: New file.
14759
14760 2014-02-10 Yao Qi <yao@codesourcery.com>
14761
14762 PR testsuite/16543
14763 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14764 * configure: Regenerated.
14765 * Makefile.in: New file.
14766
14767 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14768
14769 * gdb.python/py-framefilter.exp: Fix typo.
14770
14771 2014-02-08 Yao Qi <yao@codesourcery.com>
14772
14773 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14774 that no =breakpoint-modified is emitted when breakpoints are
14775 modified through MI commands.
14776
14777 2014-02-07 Pedro Alves <pedro@codesourcery.com>
14778 Pedro Alves <palves@redhat.com>
14779
14780 * gdb.threads/step-after-sr-lock.c: New file.
14781 * gdb.threads/step-after-sr-lock.exp: New file.
14782
14783 2014-02-07 Pedro Alves <palves@redhat.com>
14784
14785 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14786
14787 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14788
14789 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14790 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14791
14792 2014-02-06 Doug Evans <xdje42@gmail.com>
14793
14794 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14795 output.
14796
14797 * gdb.gdb/python-interrupts.exp: New file.
14798
14799 2014-02-05 Yao Qi <yao@codesourcery.com>
14800
14801 * gdb.trace/report.exp (use_collected_data): Test the output
14802 of "info threads" and "info inferiors".
14803
14804 2014-02-05 Yao Qi <yao@codesourcery.com>
14805
14806 Revert this patch:
14807
14808 2013-05-24 Yao Qi <yao@codesourcery.com>
14809
14810 * gdb.trace/tfile.exp: Test inferior and thread.
14811
14812 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14813
14814 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14815 on a function.
14816 * gdb.base/step-bt.c: Call hello via function pointer to make
14817 sure its first instruction is executed on powerpc64le-linux.
14818
14819 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14820
14821 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14822
14823 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14824
14825 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14826 of the test patterns for use on little-endian systems.
14827
14828 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14829
14830 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14831 (decimal_vector): Fix for little-endian.
14832
14833 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14834
14835 * gdb.arch/sparc-sysstep.exp: New file.
14836 * gdb.arch/sparc-sysstep.c: Likewise.
14837
14838 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14839
14840 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14841
14842 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14843
14844 2014-01-23 Tom Tromey <tromey@redhat.com>
14845
14846 * gdb.ada/array_char_idx: New testcase.
14847
14848 2014-01-23 Tom Tromey <tromey@redhat.com>
14849
14850 PR python/16487:
14851 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14852 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14853 classes.
14854
14855 2014-01-23 Tom Tromey <tromey@redhat.com>
14856
14857 PR python/16491:
14858 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14859 string from an inferior frame.
14860 * gdb.python/py-framefilter-mi.exp: Update.
14861
14862 2014-01-22 Doug Evans <dje@google.com>
14863
14864 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14865
14866 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14867
14868 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14869
14870 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14871
14872 * gdb.trace/entry-values.exp: Remove excess space character from
14873 regex patterns. Handle s390 call instruction.
14874
14875 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14876
14877 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14878 define "*_start" label. Make "name" static.
14879 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14880 ${name} by references to ${name}_start.
14881
14882 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14883
14884 * gdb.base/info-macros.exp: Remove "debug" from the compile
14885 options.
14886
14887 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14888
14889 * gdb.dlang/demangle.exp: New file.
14890
14891 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14892
14893 * gdb.dlang/primitive-types.exp: New file.
14894
14895 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14896
14897 * configure.ac: Create gdb.dlang/Makefile.
14898 * configure: Regenerate.
14899 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14900 * gdb.dlang/Makefile.in: New file.
14901 * lib/d-support.exp: New file.
14902 * lib/gdb.exp (skip_d_tests): New proc.
14903
14904 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14905
14906 * gdb.btrace/delta.exp: Check reverse stepi.
14907 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14908 * gdb.btrace/finish.exp: New.
14909 * gdb.btrace/next.exp: New.
14910 * gdb.btrace/nexti.exp: New.
14911 * gdb.btrace/record_goto.c: Add comments.
14912 * gdb.btrace/step.exp: New.
14913 * gdb.btrace/stepi.exp: New.
14914 * gdb.btrace/multi-thread-step.c: New.
14915 * gdb.btrace/multi-thread-step.exp: New.
14916 * gdb.btrace/rn-dl-bind.c: New.
14917 * gdb.btrace/rn-dl-bind.exp: New.
14918 * gdb.btrace/data.c: New.
14919 * gdb.btrace/data.exp: New.
14920 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14921
14922 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14923
14924 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14925 * gdb.btrace/exception.exp: Update.
14926 * gdb.btrace/instruction_history.exp: Update.
14927 * gdb.btrace/record_goto.exp: Update.
14928 * gdb.btrace/tailcall.exp: Update.
14929 * gdb.btrace/unknown_functions.exp: Update.
14930 * gdb.btrace/delta.exp: New.
14931
14932 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14933
14934 * gdb.btrace/record_goto.exp: Add backtrace test.
14935 * gdb.btrace/tailcall.exp: Add backtrace test.
14936
14937 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14938
14939 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14940 * gdb.btrace/record_goto.c: New.
14941 * gdb.btrace/record_goto.exp: New.
14942 * gdb.btrace/x86-record_goto.S: New.
14943
14944 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14945
14946 * gdb.btrace/function_call_history.exp: Update tests.
14947 * gdb.btrace/instruction_history.exp: Update tests.
14948
14949 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14950
14951 * gdb.btrace/function_call_history.exp: Fix expected field
14952 order for "record function-call-history".
14953 Add new tests for "record function-call-history /c".
14954 * gdb.btrace/exception.cc: New.
14955 * gdb.btrace/exception.exp: New.
14956 * gdb.btrace/tailcall.exp: New.
14957 * gdb.btrace/x86-tailcall.S: New.
14958 * gdb.btrace/x86-tailcall.c: New.
14959 * gdb.btrace/unknown_functions.c: New.
14960 * gdb.btrace/unknown_functions.exp: New.
14961 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14962
14963 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14964
14965 * gdb.btrace/instruction_history.exp: Update.
14966 * gdb.btrace/function_call_history.exp: Update.
14967
14968 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14969
14970 * gdb.btrace/function_call_history.exp: Fix expected function
14971 trace.
14972 * gdb.btrace/instruction_history.exp: Initialize traced.
14973 Remove traced_functions.
14974
14975 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14976
14977 * gdb.btrace/function_call_history.exp: Update
14978 * gdb.btrace/instruction_history.exp: Update.
14979
14980 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14981
14982 * gdb.btrace/enable.exp: Update expected text.
14983
14984 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14985
14986 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14987 bytes.
14988
14989 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14990
14991 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14992
14993 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14994
14995 * lib/gdb.exp (supports_process_record): Return true for
14996 arm*-linux*. (supports_reverse): Likewise.
14997
14998 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14999
15000 PR python/15464
15001 PR python/16113
15002 * gdb.python/py-type.c: Enhance test case.
15003 * gdb.python/py-value-cc.cc: Likewise
15004 * gdb.python/py-type.exp: Add new tests.
15005 * gdb.python/py-value-cc.exp: Likewise
15006
15007 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15008 Pedro Alves <palves@redhat.com>
15009
15010 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15011 Make "name" extern.
15012 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15013 references to ${name}_start by references to ${name}.
15014
15015 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15016
15017 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15018
15019 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15020
15021 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15022
15023 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
15024 Pedro Alves <palves@redhat.com>
15025
15026 * gdb.mi/mi-info-os.exp: Connect to the target with
15027 mi_gdb_target_load.
15028
15029 2014-01-08 Pedro Alves <palves@redhat.com>
15030
15031 * gdb.threads/reconnect-signal.c: New file.
15032 * gdb.threads/reconnect-signal.exp: New file.
15033
15034 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15035
15036 * gdb.base/source-dir.exp: New file.
15037
15038 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15039
15040 * gdb.ada/mi_interface: New testcase.
15041
15042 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15043
15044 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15045 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15046 gdb.ada/pp-rec-component/pck.ads: New files.
15047
15048 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15049
15050 * gdb.python/py-pp-integral.c: New file.
15051 * gdb.python/py-pp-integral.py: New file.
15052 * gdb.python/py-pp-integral.exp: New file.
15053
15054 For older changes see ChangeLog-1993-2013.
15055 \f
15056 ;; Local Variables:
15057 ;; mode: change-log
15058 ;; left-margin: 8
15059 ;; fill-column: 74
15060 ;; version-control: never
15061 ;; End:
15062
15063 Copyright 2014-2018 Free Software Foundation, Inc.
15064 Copying and distribution of this file, with or without modification,
15065 are permitted provided the copyright notice and this notice are preserved.
This page took 0.325421 seconds and 3 git commands to generate.