1 2019-02-27 Pedro Alves <palves@redhat.com>
3 * gdb.base/page.exp: Add tests for "set/show width/height" with
6 2019-02-27 Tom Tromey <tromey@adacore.com>
8 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
10 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
13 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
15 * gdb.base/align.exp: Extend to compile in both C and C++, and add
16 tests for structs with static members.
18 2019-02-26 Tom Tromey <tromey@adacore.com>
20 * gdb.python/py-value.exp (test_value_from_buffer): Check for
21 ValueError, not TypeError.
23 2019-02-26 Kevin Buettner <kevinb@redhat.com>
25 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
26 call from main program.
28 2019-02-23 Joel Brobecker <brobecker@adacore.com>
30 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
31 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
32 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
33 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
34 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
36 2019-02-22 Keith Seitz <keiths@redhat.com>
39 * gdb.base/symlink-sourcefile.c: New file.
40 * gdb.base/symlink-sourcefile.exp: New file.
42 2019-02-20 Tom Tromey <tom@tromey.com>
44 * gdb.base/info_qt.exp: Update.
46 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
48 * gdb.base/source.exp: Move "error in sourced script" code to
50 * gdb.base/source-error.gdb: Move contents to
51 source-error-1.gdb. Add new code to source source-error-1.gdb.
52 * gdb.base/source-error-1.gdb: New file, from previous
55 2019-02-17 Tom Tromey <tom@tromey.com>
57 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
59 * gdb.base/style.c (SOME_MACRO): New macro.
61 2019-02-17 Tom Tromey <tom@tromey.com>
63 * gdb.base/style.exp: Add line-wrapping tests.
64 * gdb.base/page.exp: Add test for quitting during pagination.
66 2019-02-17 Joel Brobecker <brobecker@adacore.com>
68 * gdb.ada/big_packed_array: New testcase.
69 * gdb.ada/homonym.exp: Fix incorrect expected output for
70 "break <homonym__get_value>" test.
72 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
75 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
76 and prepare_for_testing. Add comment.
77 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
78 redundant cleanup call. Clean up comment.
80 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
83 * gdb.arch/aarch64-dbreg-contents.exp: New file.
84 * gdb.arch/aarch64-dbreg-contents.c: New file.
86 2019-02-10 Joel Brobecker <brobecker@adacore.com>
88 * gdb.ada/mi_ref_changeable: New testcase.
90 2019-02-07 Alan Hayward <alan.hayward@arm.com>
92 * gdb.base/attach.exp: Add double attach test.
94 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
96 * lib/gdb.exp (default_gdb_start): Don't match pagination
98 (gdb_init): Set stty_init.
100 2019-01-27 Tom Tromey <tom@tromey.com>
102 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
105 2019-01-24 Alan Hayward <alan.hayward@arm.com>
107 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
109 (struct struct_static_02_02): Likewise.
110 (struct struct_static_02_03): Likewise.
111 (struct struct_static_02_04): Likewise.
112 (struct struct_static_04_01): Likewise.
113 (struct struct_static_04_02): Likewise.
114 (struct struct_static_04_03): Likewise.
115 (struct struct_static_04_04): Likewise.
116 (struct struct_static_06_01): Likewise.
117 (struct struct_static_06_02): Likewise.
118 (struct struct_static_06_03): Likewise.
119 (struct struct_static_06_04): Likewise.
120 (cmp_struct_static_02_01): Likewise.
121 (cmp_struct_static_02_02): Likewise.
122 (cmp_struct_static_02_03): Likewise.
123 (cmp_struct_static_02_04): Likewise.
124 (cmp_struct_static_04_01): Likewise.
125 (cmp_struct_static_04_02): Likewise.
126 (cmp_struct_static_04_03): Likewise.
127 (cmp_struct_static_04_04): Likewise.
128 (cmp_struct_static_06_01): Likewise.
129 (cmp_struct_static_06_02): Likewise.
130 (cmp_struct_static_06_03): Likewise.
131 (cmp_struct_static_06_04): Likewise.
132 (call_all): Test new structs.
133 * gdb.base/infcall-nested-structs.exp: Likewise.
135 2019-01-21 Alan Hayward <alan.hayward@arm.com>
136 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
138 2019-01-21 Alan Hayward <alan.hayward@arm.com>
139 * gdb.base/stack-protector.c: New test.
140 * gdb.base/stack-protector.exp: New file.
141 * gdb.cp/ovldbreak.exp: Only allow a single break line.
142 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
144 (gdb_compile): Remove stack protector for GCC and prevent
147 2019-01-16 Keith Seitz <keiths@redhat.com>
150 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
152 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
154 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
156 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
158 * gdb.arch/powerpc-vector-regs.c: New file.
159 * gdb.arch/powerpc-vector-regs.exp: New file.
161 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
163 * gdb.arch/altivec-regs.exp: Fix the list passed to
164 gdb_expect_list when testing "info vector".
166 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
168 * gdb.base/style.exp: Don't include path in testname.
170 2019-01-10 Keith Seitz <keiths@redhat.com>
174 * gdb.dwarf2/multidictionary.exp: New file.
176 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
178 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
179 (test_gnuv3_style_demangling): ... this.
180 (test_lucid_style_demangling): Remove.
181 (test_arm_style_demangling): Remove.
182 (test_hp_style_demangling): Remove.
183 (do_tests): Remove calls to the above.
185 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
187 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
190 2019-01-06 Tom Tromey <tom@tromey.com>
193 * gdb.dwarf2/typedef-void-finish.exp: New file.
195 2018-12-28 Tom Tromey <tom@tromey.com>
196 Simon Marchi <simark@simark.ca>
198 * gdb.base/jit-exec.exp: New file.
199 * gdb.base/jit-exec.c: New file.
200 * gdb.base/jit-execd.c: New file.
202 2018-12-28 Tom Tromey <tom@tromey.com>
204 * gdb.base/style.exp: Update test to check for address styling.
206 2018-12-28 Tom Tromey <tom@tromey.com>
208 * gdb.base/style.exp: Add test for styling of "Reading symbols"
211 2018-12-28 Tom Tromey <tom@tromey.com>
213 * gdb.base/style.exp: Add test for version number styling.
215 2018-12-28 Tom Tromey <tom@tromey.com>
217 * gdb.base/style.exp: Add test for print_address_symbolic.
219 2018-12-28 Tom Tromey <tom@tromey.com>
221 * gdb.base/style.exp: Add test for breakpoint setting.
223 2018-12-28 Tom Tromey <tom@tromey.com>
225 * gdb.base/style.exp: Add test for variable names.
227 2018-12-28 Tom Tromey <tom@tromey.com>
229 * gdb.base/style.exp: New file.
230 * gdb.base/style.c: New file.
232 2018-12-28 Tom Tromey <tom@tromey.com>
234 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
236 * gdb.base/readline.exp (operate_and_get_next): Save and restore
237 the TERM environment variable.
239 2018-12-27 Tom Tromey <tom@tromey.com>
241 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
244 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
246 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
247 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
249 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
251 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
252 Filename a.adb changed to bp_fun_addr.adb.
253 gdb.ada/bp_fun_addr.exp: Update test accordingly.
255 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
257 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
259 * README: Mention the gdb,nopie_flag board setting.
260 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
262 * gdb.arch/amd64-entry-value.exp: Likewise.
263 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
264 * gdb.arch/i386-float.exp: Likewise.
265 * gdb.arch/i386-signal.exp: Likewise.
266 * gdb.mi/mi-reg-undefined.exp: Likewise.
268 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
271 * gdb.base/info-os.exp: Check return for unknown "info os" type.
273 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
275 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
276 Update order of results accordingly.
278 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
280 * gdb.base/annota1.exp: Update a test regexp.
282 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
284 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
286 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
288 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
289 (reuse_time): Initialize to REUSE_TIME_CAP.
290 (check_rc): New function.
291 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
292 Check pthread_create rc.
293 (spawner_thread_func): Check pthread_create and pthread_join rc.
295 2018-12-08 Pedro Alves <palves@redhat.com>
297 * gdb.base/list.exp (test_forward_search): Rename to ...
298 (test_forward_reverse_search): ... this. Also test reverse-search
299 and the forward-search alias.
301 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
303 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
304 local timeout variable before return, and remove all local timeout
306 (gdb_load): Likewise.
308 2018-12-01 Tom de Vries <tdevries@suse.de>
310 * gdb.base/gdb-caching-proc.exp: New file.
312 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
314 * Makefile.in (TIMESTAMP): New variable.
315 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
317 (check-single-racy): Likewise.
318 (check/%.exp): Likewise.
319 (check-racy/%.exp): Likewise.
320 (workers/%.worker): Likewise.
321 (build-perf): Likewise.
322 (check-perf): Likewise.
323 * README: Describe new "TS" and "TS_FORMAT" variables.
324 * print-ts.py: New file.
326 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
329 * gdb.python/python.exp: Test command repetition after
332 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
334 * gdb.opt/inline-break.exp: Add test that info breakpoint output
335 is correctly aligned.
337 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
339 * gdb.ada/info_auto_lang.exp: New testcase.
340 * gdb.ada/info_auto_lang/global_pack.ads: New file.
341 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
342 * gdb.ada/info_auto_lang/some_c.c: New file.
344 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
346 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
347 FUNC_lang language syntax.
349 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
351 * gdb.base/info_minsym.c: New file.
352 * gdb.base/info_minsym.exp: New file.
354 2018-11-19 Tom Tromey <tom@tromey.com>
357 * gdb.rust/simple.exp: Add ptype test. Update expected output.
358 * gdb.rust/expr.exp: Update expected output. Change one test.
360 2018-11-19 Tom Tromey <tom@tromey.com>
362 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
364 2018-11-19 Pedro Alves <palves@redhat.com>
366 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
367 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
368 see the expected warning.
370 2018-11-16 Alan Hayward <alan.hayward@arm.com>
373 * gdb.cp/infcall-nodebug-lib.c: New test.
374 * gdb.cp/infcall-nodebug-main.c: New test.
375 * gdb.cp/infcall-nodebug.exp: New file.
377 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
379 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
382 2018-11-09 Tom de Vries <tdevries@suse.de>
384 * gdb.base/msym-lang.c: New test.
385 * gdb.base/msym-lang.exp: New file.
386 * gdb.base/msym-lang-main.c: New test.
388 2018-11-08 Tom Tromey <tom@tromey.com>
392 * gdb.base/warning.exp: New file.
394 2018-11-08 Jan Beulich <jbeulich@suse.com>
396 * testsuite/gdb.arch/i386-avx512.c,
397 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
399 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
401 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
404 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
406 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
407 * gdb.dwarf2/missing-type-name.exp: New file.
409 2018-11-06 Tom de Vries <tdevries@suse.de>
411 * gdb.base/many-headers.c: New test.
412 * gdb.base/many-headers.exp: New file.
414 2018-11-06 Jim Wilson <jimw@sifive.com>
416 * gdb.base/code_elim.exp: For riscv, set additional_flags
417 to include -msmall-data-limit=0.
419 2018-11-01 Joel Brobecker <brobecker@adacore.com>
421 * gdb.ada/watch_minus_l: New testcase.
423 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
425 * gdb.arch/aix-sighandle.c: New file.
426 * gdb.arch/aix-sighandle.exp: New file.
428 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
430 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
431 registers being unions.
433 2018-10-31 Tom de Vries <tdevries@suse.de>
435 * lib/valgrind.exp: New file.
436 (vgdb_start, vgdb_stop): New procs, factored out of ...
437 * gdb.base/valgrind-bt.exp: ... here, ...
438 * gdb.base/valgrind-disp-step.exp: ... here and ...
439 * gdb.base/valgrind-infcall.exp: ... here.
441 2018-10-31 Tom de Vries <tdevries@suse.de>
443 * lib/gdb.exp (get_valueof): Don't output read value in test name.
445 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
447 * gdb.dwarf2/void-type.c: New file.
448 * gdb.dwarf2/void-type.exp: New file.
450 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
452 * gdb.base/info_qt.c: New file.
453 * gdb.base/info_qt.exp: New file.
455 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
457 * gdb.arch/powerpc-htm-regs.c: New file.
458 * gdb.arch/powerpc-htm-regs.exp: New file.
460 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
462 * gdb.arch/powerpc-tar.c: New file.
463 * gdb.arch/powerpc-tar.exp: New file.
465 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
467 * gdb.arch/powerpc-ppr-dscr.c: New file.
468 * gdb.arch/powerpc-ppr-dscr.exp: New file.
470 2018-10-25 Tom de Vries <tdevries@suse.de>
472 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
474 2018-10-24 Tom de Vries <tdevries@suse.de>
476 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
479 2018-10-24 Tom de Vries <tdevries@suse.de>
481 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
483 2018-10-24 Tom de Vries <tdevries@suse.de>
485 * gdb.base/valgrind-db-attach.exp: Handle removed support for
486 --db-attach in valgrind.
488 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
490 * gdb.arch/riscv-reg-aliases.c: New file.
491 * gdb.arch/riscv-reg-aliases.exp: New file.
493 2018-10-19 Alan Hayward <alan.hayward@arm.com>
495 * gdb.python/py-cmd.exp: Check for gdb_prompt.
497 2018-10-19 Alan Hayward <alan.hayward@arm.com>
499 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
501 2018-10-19 Alan Hayward <alan.hayward@arm.com>
503 * gdb.cp/ovldbreak.exp: Fix regexps.
505 2018-10-19 Alan Hayward <alan.hayward@arm.com>
507 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
509 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
512 * gdb.base/restore.exp: New test to check if "restore" with an
513 invalid file doesn't segfault.
515 2018-10-18 Tom de Vries <tdevries@suse.de>
517 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
518 * gdb.ada/excep_handle.exp: Same.
519 * gdb.ada/mi_string_access.exp: Same.
520 * gdb.ada/mi_var_union.exp: Same.
521 * gdb.arch/arc-analyze-prologue.exp: Same.
522 * gdb.arch/arc-decode-insn.exp: Same.
523 * gdb.base/readnever.exp: Same.
524 * gdb.fortran/printing-types.exp: Same.
525 * gdb.guile/scm-lazy-string.exp: Same.
527 2018-10-16 Tom de Vries <tdevries@suse.de>
530 * gdb.base/catch-follow-exec.c: Add copyright notice.
531 * gdb.base/catch-follow-exec.exp: Rewrite to use
532 gdb_spawn_with_cmdline_opts. Require gdb-native.
534 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
536 * gdb.trace/actions-changed.exp: Check for arch support.
537 * gdb.trace/actions.exp: Likewise.
538 * gdb.trace/ax.exp: Likewise.
539 * gdb.trace/backtrace.exp: Likewise.
540 * gdb.trace/change-loc.exp: Likewise.
541 * gdb.trace/deltrace.exp: Likewise.
542 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
543 * gdb.trace/ftrace.exp: Likewise.
544 * gdb.trace/infotrace.exp: Check for arch support.
545 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
546 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
547 * gdb.trace/mi-tsv-changed.exp: Likewise.
548 * gdb.trace/packetlen.exp: Likewise.
549 * gdb.trace/passc-dyn.exp: Likewise.
550 * gdb.trace/passcount.exp: Likewise.
551 * gdb.trace/pending.exp: Likewise.
552 * gdb.trace/range-stepping.exp: Check for shlib support.
553 * gdb.trace/report.exp: Check for arch support.
554 * gdb.trace/save-trace.exp: Likewise.
555 * gdb.trace/signal.exp: Check for signal support.
556 * gdb.trace/tfind.exp: Check for arch support.
557 * gdb.trace/trace-break.exp: Check for arch and shlib support.
558 * gdb.trace/trace-common.h: Add comment.
559 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
560 * gdb.trace/trace-enable-disable.exp: Likewise.
561 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
562 * gdb.trace/tracecmd.exp: Check for arch support.
563 * gdb.trace/tspeed.exp: Check for shlib and target support.
564 * gdb.trace/tstatus.exp: Check for arch support.
565 * gdb.trace/tsv.exp: Likewise.
566 * gdb.trace/while-dyn.exp: Likewise.
567 * gdb.trace/while-stepping.exp: Likewise.
568 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
570 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
572 * gdb.trace/tspeed.exp: Remove nowarnings.
573 (prepare_for_trace_test): Declare "global ipalib".
574 * gdb.trace/tspeed.c: Include unistd.h.
575 (main): Remove superfluous printf argument.
577 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
579 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
580 directory prefix on the filename.
582 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
584 * gdb.gdb/unittest.exp: Update expected message informing that
585 selftests have been disabled.
586 * gdb.server/unittest.exp: Likewise.
588 2018-10-09 Tom de Vries <tdevries@suse.de>
590 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
593 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
596 * gdb.cp/virtbase2.cc: New file.
597 * gdb.cp/virtbase2.exp: New file.
599 2018-10-06 Tom Tromey <tom@tromey.com>
602 * gdb.python/py-inferior.exp: Add architecture test.
604 2018-10-06 Tom Tromey <tom@tromey.com>
606 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
607 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
609 2018-10-06 Tom Tromey <tom@tromey.com>
611 * gdb.python/py-breakpoint.exp (check_last_event): Check location
612 of a "throw" catchpoint.
614 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
616 * gdb.base/info-proc.exp: Update string expected from "help info
619 2018-10-04 Tom Tromey <tom@tromey.com>
621 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
622 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
623 (test_initial_complaints, test_empty_complaints): Update.
624 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
626 2018-10-04 Tom Tromey <tom@tromey.com>
629 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
630 * lib/gdb.exp (gdb_file_cmd): Update.
631 * gdb.stabs/weird.exp (print_weird_var): Update.
632 * gdb.server/solib-list.exp: Update.
633 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
634 * gdb.mi/mi-cli.exp: Update.
635 * gdb.linespec/linespec.exp: Update.
636 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
637 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
638 * gdb.cp/cp-relocate.exp: Update.
639 * gdb.base/sym-file.exp: Update.
640 * gdb.base/relocate.exp: Update.
641 * gdb.base/readnever.exp: Update.
642 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
643 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
644 * gdb.base/dbx.exp (gdb_file_cmd): Update.
645 * gdb.base/code_elim.exp: Update.
646 * gdb.base/break-unload-file.exp (test_break): Update.
647 * gdb.base/break-interp.exp (test_attach_gdb): Update.
648 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
650 * gdb.base/attach.exp (do_attach_tests): Update.
651 * gdb.base/sepdebug.exp: Update.
652 * gdb.python/py-section-script.exp: Update.
654 2018-10-04 Tom Tromey <tom@tromey.com>
657 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
658 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
661 2018-10-04 Tom Tromey <tom@tromey.com>
663 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
664 set width and height to 0.
665 (test_command_line_attach_run): Use -quiet.
667 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
669 * lib/gdb.exp (skip_ifunc_tests): New.
670 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
671 other compile failures.
672 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
674 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
676 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
677 is_amd64_regs_target.
679 2018-10-01 Alan Hayward <alan.hayward@arm.com>
681 * gdb.arch/aarch64-sighandler-regs.c: New test.
682 * gdb.arch/aarch64-sighandler-regs.exp: New file.
683 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
685 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
687 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
690 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
692 * gdb.base/frame-selection.exp: New file.
693 * gdb.base/frame-selection.c: New file.
695 2018-09-27 Alan Hayward <alan.hayward@arm.com>
697 * gdb.threads/check-libthread-db.c (thread_routine): Use a
701 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
703 * gdb.base/large-frame-1.c: New file.
704 * gdb.base/large-frame-2.c: New file.
705 * gdb.base/large-frame.exp: New file.
706 * gdb.base/large-frame.h: New file.
708 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
711 * gdb.base/write_mem.exp: New test.
712 * gdb.base/write_mem.c: Likewise.
714 2018-09-23 Tom Tromey <tom@tromey.com>
717 * gdb.python/py-parameter.exp: Add test for parameter that throws
720 2018-09-23 Tom Tromey <tom@tromey.com>
723 * gdb.python/py-template.exp (test_template_arg): Add test for
724 negative template argument number.
726 2018-09-23 Tom Tromey <tom@tromey.com>
729 * gdb.python/python.exp: Add test for post_event error.
731 2018-09-23 Tom Tromey <tom@tromey.com>
734 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
735 convert pointers to int and long.
737 2018-09-23 Tom Tromey <tom@tromey.com>
740 * gdb.python/py-value.exp (test_value_numeric_ops): Add
741 signed-ness conversion tests.
743 2018-09-23 Tom Tromey <tom@tromey.com>
746 * gdb.python/py-value.exp (test_float_conversion): New proc.
749 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
751 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
753 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
755 * gdb.base/complete-empty.exp: Skip tab-completion tests if
757 * gdb.base/utf8-identifiers.exp: Likewise.
758 * gdb.cp/cpcompletion.exp: Likewise.
759 * gdb.linespec/cpcompletion.exp: Likewise.
760 * gdb.linespec/cpls-abi-tag.exp: Likewise.
761 * gdb.linespec/cpls-ops.exp: Likewise.
763 2018-09-19 Richard Bunt <richard.bunt@arm.com>
764 Chris January <chris.january@arm.com>
766 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
767 * gdb.fortran/short-circuit-argument-list.exp: New file.
768 * gdb.fortran/short-circuit-argument-list.f90: New test.
770 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
772 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
773 "arch=" keyword when executing "-stack-list-frames".
775 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
777 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
778 "arch=" keyword when executing "-stack-list-frames".
780 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
782 * gdb.ada/complete.exp: Expect for "@" when doing "complete
785 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
788 * gdb.python/python.exp: Test gdb.execute("show commands").
790 2018-09-16 Tom Tromey <tom@tromey.com>
792 * gdb.base/new-ui.exp (do_execution_tests): Update.
793 * gdb.base/dbx.exp (test_breakpoints): Update.
795 2018-09-14 Alan Hayward <alan.hayward@arm.com>
797 * lib/gdb.exp (gdb_simple_compile): Add proc.
798 (is_elf_target): Use gdb_simple_compile.
799 (skip_altivec_tests): Likewise.
800 (skip_vsx_tests): Likewise.
801 (skip_tsx_tests): Likewise.
802 (skip_btrace_tests): Likewise.
803 (skip_btrace_pt_tests): Likewise.
804 (gdb_can_simple_compile): Likewise.
805 (gdb_has_argv0): Likewise.
806 (gdb_target_symbol_prefix): Likewise.
807 (target_supports_scheduler_locking): Likewise.
809 2018-09-13 Tom Tromey <tom@tromey.com>
811 * Makefile.in (TAGS): Recognize proc_with_prefix and
814 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
816 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
819 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
821 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
822 and a few other Inferior properties when the Inferior is no
825 2018-09-13 Tom Tromey <tom@tromey.com>
828 * gdb.rust/simple.exp: Add test for enum field access error.
830 2018-09-13 Tom Tromey <tom@tromey.com>
833 * gdb.rust/simple.rs (EmptyEnum): New type.
835 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
837 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
839 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
840 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
841 * gdb.python/py-symtab.exp: Update test printing an objfile.
843 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
845 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
848 2018-09-12 Alan Hayward <alan.hayward@arm.com>
850 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
851 (support_complex_tests): Use gdb_can_simple_compile.
852 (is_ilp32_target): Likewise.
853 (is_lp64_target): Likewise.
854 (is_64_target): Likewise.
855 (is_amd64_regs_target): Likewise.
856 (is_aarch32_target): Likewise.
857 (gdb_int128_helper): Likewise.
859 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
861 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
863 2018-09-10 Jerome Guitton <guitton@adacore.com>
865 * gdb.ada/same_component_name: Add test for case of tagged record
866 with variable-length fields.
868 2018-09-10 Xavier Roirand <roirand@adacore.com>
870 * gdb.ada/access_to_unbounded_array.exp: New testcase.
871 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
872 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
873 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
875 2018-09-10 Xavier Roirand <roirand@adacore.com>
877 * gdb.ada/mi_string_access.exp: New testcase.
878 * gdb.ada/mi_string_access/bar.adb: New file.
879 * gdb.ada/mi_string_access/pck.adb: New file.
880 * gdb.ada/mi_string_access/pck.asd: New file.
882 2018-09-10 Xavier Roirand <roirand@adacore.com>
884 * gdb.ada/mi_var_union.exp: New testcase.
885 * gdb.ada/mi_var_union/bar.adb: New file.
886 * gdb.ada/mi_var_union/pck.adb: New file.
887 * gdb.ada/mi_var_union/pck.asd: New file.
889 2018-09-08 Tom Tromey <tom@tromey.com>
891 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
893 2018-09-08 Tom Tromey <tom@tromey.com>
896 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
897 (register_pretty_printers): Register new printer.
898 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
900 * gdb.python/py-prettyprint.c (int_type3): New typedef.
901 (an_int_type3): New global.
903 2018-09-08 Joel Brobecker <brobecker@adacore.com>
905 * gdb.ada/expr_with_funcall: New testcase.
907 2018-09-08 Joel Brobecker <brobecker@adacore.com>
909 * gdb.ada/packed_array_assign: New testcase.
911 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
913 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
914 names, and add test prefixes to make test names unique.
916 2018-09-05 Tom de Vries <tdevries@suse.de>
918 * gdb.dwarf2/varval.exp: Add test.
920 2018-09-04 Gary Benson <gbenson@redhat.com>
922 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
923 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
925 2018-08-31 Tom Tromey <tom@tromey.com>
927 * gdb.rust/simple.rs: Rename second variable "v".
929 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
931 * gdb.base/funcargs.c (use_a): New function.
932 (recurse): Call use_a.
934 2018-08-29 Keith Seitz <keiths@redhat.com>
936 * gdb.compile/compile-cplus-anonymous.cc: New file.
937 * gdb.compile/compile-cplus-anonymous.exp: New file.
938 * gdb.compile/compile-cplus-array-decay.cc: New file.
939 * gdb.compile/compile-cplus-array-decay.exp: New file.
940 * gdb.compile/compile-cplus-inherit.cc: New file.
941 * gdb.compile/compile-cplus-inherit.exp: New file.
942 * gdb.compile/compile-cplus-member.cc: New file.
943 * gdb.compile/compile-cplus-member.exp: New file.
944 * gdb.compile/compile-cplus-method.cc: New file.
945 * gdb.compile/compile-cplus-method.exp: New file.
946 * gdb.compile/compile-cplus-mod.c: "New" file.
947 * gdb.compile/compile-cplus-namespace.cc: New file.
948 * gdb.compile/compile-cplus-namespace.exp: New file.
949 * gdb.compile/compile-cplus-nested.cc: New file.
950 * gdb.compile/compile-cplus-nested.exp: New file.
951 * gdb.compile/compile-cplus-print.c: "New" file.
952 * gdb.compile/compile-cplus-print.exp: "New" file.
953 * gdb.compile/compile-cplus-virtual.cc: New file.
954 * gdb.compile/compile-cplus-virtual.exp: New file.
955 * gdb.compile/compile-cplus.c: "New" file.
956 * gdb.compile/compile-cplus.exp: "New" file.
957 * lib/compile-support.exp: New file.
959 2018-08-16 Gary Benson <gbenson@redhat.com>
962 * gdb.base/batch-exit-status.exp: New file.
963 * gdb.base/batch-exit-status.good-commands: Likewise.
964 * gdb.base/batch-exit-status.bad-commands: Likewise.
966 2018-08-29 Alan Hayward <alan.hayward@arm.com>
968 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
969 (struct struct02): Likewise.
970 (struct struct03): Likewise.
971 (struct struct04): Likewise.
972 (struct struct_01_01): New struct.
973 (struct struct_01_02): Likewise.
974 (struct struct_01_03): Likewise.
975 (struct struct_01_04): Likewise.
976 (struct struct_02_01): Likewise.
977 (struct struct_02_02): Likewise.
978 (struct struct_02_03): Likewise.
979 (struct struct_02_04): Likewise.
980 (struct struct_04_01): Likewise.
981 (struct struct_04_02): Likewise.
982 (struct struct_04_03): Likewise.
983 (struct struct_04_04): Likewise.
984 (struct struct_05_01): Likewise.
985 (struct struct_05_02): Likewise.
986 (struct struct_05_03): Likewise.
987 (struct struct_05_04): Likewise.
988 (cmp_struct01): Remove function.
989 (cmp_struct02): Likewise.
990 (cmp_struct03): Likewise.
991 (cmp_struct04): Likewise.
992 (cmp_struct_01_01): Add Function.
993 (cmp_struct_01_02): Likewise.
994 (cmp_struct_01_03): Likewise.
995 (cmp_struct_01_04): Likewise.
996 (cmp_struct_02_01): Likewise.
997 (cmp_struct_02_02): Likewise.
998 (cmp_struct_02_03): Likewise.
999 (cmp_struct_02_04): Likewise.
1000 (cmp_struct_04_01): Likewise.
1001 (cmp_struct_04_02): Likewise.
1002 (cmp_struct_04_03): Likewise.
1003 (cmp_struct_04_04): Likewise.
1004 (cmp_struct_05_01): Likewise.
1005 (cmp_struct_05_02): Likewise.
1006 (cmp_struct_05_03): Likewise.
1007 (cmp_struct_05_04): Likewise.
1008 (call_all): Add new structs.
1009 * gdb.base/infcall-nested-structs.exp: Likewise.
1011 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
1013 * gdb.python/py-framefilter-mi.exp: Update regexp to
1014 check for "arch" field in frame output.
1016 2018-08-23 Kevin Buettner <kevinb@redhat.com>
1018 * gdb.dwarf2/dw2-ranges-func.c: New file.
1019 * gdb.dwarf2/dw2-ranges-func.exp: New file.
1021 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
1023 * gdb.base/term.exp: Compare terminal settings with values from
1025 * gdb.base/term.c: Get and set terminal settings.
1027 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
1029 * lib/mi-support.exp (mi_expect_stop): Update regexp to
1030 accommodate new "arch" field in frame output.
1031 * gdb.mi/mi-return.exp: Likewise.
1032 * gdb.mi/mi-stack.exp: Likewise.
1033 * gdb.mi/mi-syn-frame.exp: Likewise.
1034 * gdb.mi/user-selected-context-sync.exp: Likewise.
1036 2018-08-19 Michael Spang <spang@google.com>
1039 * gdb.base/gcore-tls-pie.c: New file.
1040 * gdb.base/gcore-tls-pie.exp: New file.
1042 2018-08-18 Kevin Buettner <kevinb@redhat.com>
1044 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1045 * gdb.dwarf2/varval.c: New file.
1046 * gdb.dwarf2/varval.exp: New file.
1048 2018-08-17 Alan Hayward <alan.hayward@arm.com>
1051 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1053 2018-08-16 Keith Seitz <keiths@redhat.com>
1055 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1056 tests expected to pass.
1058 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
1060 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1061 -data-disassemble -a.
1062 (test_disassembly_bogus_args): Likewise.
1064 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
1066 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1068 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1070 * gdb.base/vla-optimized-out.exp: Add new test.
1072 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1074 * gdb.base/vla-optimized-out-o3.exp: Delete.
1075 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1076 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1079 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
1082 * gdb.server/extended-remote-restart.c: New file.
1083 * gdb.server/extended-remote-restart.exp: New file.
1085 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
1087 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1088 "set variable index = 42".
1090 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
1092 * boards/index-cache-gdb.exp: New file.
1093 * gdb.dwarf2/index-cache.exp: New file.
1094 * gdb.dwarf2/index-cache.c: New file.
1095 * gdb.base/maint.exp: Check if we are using the index cache.
1097 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1099 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1102 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1104 * dg-extract-results.sh: Move to toplevel contrib.
1105 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1106 * Makefile.in (check-parallel-racy): Likewise.
1108 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
1110 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1111 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1112 tests if the target supports scheduler locking.
1114 2018-08-04 Tom de Vries <tdevries@suse.de>
1116 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1118 2018-08-02 Tom Tromey <tom@tromey.com>
1121 * gdb.cp/temargs.exp: Test "info address" of a template
1124 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
1126 * gdb.python/py-mi-var-info-path-expression.c: New file.
1127 * gdb.python/py-mi-var-info-path-expression.py: New file.
1128 * gdb.python/py-mi-var-info-path-expression.exp: New file.
1130 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
1132 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1133 error after "cannot resolve name" string.
1135 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1137 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1139 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1141 2018-07-28 Tom de Vries <tdevries@suse.de>
1143 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1145 2018-07-26 Tom de Vries <tdevries@suse.de>
1147 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1149 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
1151 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1154 2018-07-26 Tom de Vries <tdevries@suse.de>
1156 PR breakpoints/23366
1157 * gdb.base/catch-follow-exec.c: New test.
1158 * gdb.base/catch-follow-exec.exp: New file.
1160 2018-07-25 Tom de Vries <tdevries@suse.de>
1162 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
1163 vla-optimized-out.c.
1165 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
1167 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1168 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1170 2018-07-20 Tom de Vries <tdevries@suse.de>
1172 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1174 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1176 2018-07-19 Tom de Vries <tdevries@suse.de>
1178 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1181 2018-07-18 Tom de Vries <tdevries@suse.de>
1183 * gdb.base/vla-optimized-out.c: New test.
1184 * gdb.base/vla-optimized-out.exp: New file.
1186 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
1188 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1189 message "No address associated with hostname" when gdbserver
1190 cannot resolve the hostname.
1192 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1194 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1195 Add some test prefixes to make tests unique.
1197 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1199 * gdb.base/frameapply.c: New file.
1200 * gdb.base/frameapply.exp: New file.
1202 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1204 * gdb.base/skip.exp: Update expected error message.
1206 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1207 Jan Kratochvil <jan.kratochvil@redhat.com>
1208 Paul Fertser <fercerpav@gmail.com>
1209 Tsutomu Seki <sekiriki@gmail.com>
1211 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1213 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1215 * boards/native-gdbserver.exp: Likewise.
1216 * gdb.server/run-without-local-binary.exp: Improve regexp used
1217 for detecting when a remote debugging connection succeeds.
1218 * gdb.server/server-connect.exp: New file.
1219 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1220 Do not prefix the port number with ":".
1221 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
1222 support for detecting and using it. Add '$debughost_gdbserver'
1223 to the list of arguments used to start gdbserver. Handle case
1224 when gdbserver cannot resolve a network name.
1226 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1229 * gdb.base/ptype-offsets.cc (struct static_member): New
1231 (main) <stmember>: New variable.
1232 * gdb.base/ptype-offsets.exp: Add test for printing a struct
1233 with a static member in it.
1235 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
1237 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1238 watchpoints enabled and disabled.
1240 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1242 * gdb.base/examine-backward.exp: Still run tests around address
1243 0x0, even if address 0x0 is not readable. Update the pattern for
1244 matching address 0x0 in expected output.
1246 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1248 * gdb.base/share-env-with-gdbserver.c (main): Add call to
1251 2018-07-04 Tom de Vries <tdevries@suse.de>
1253 * gdb.dwarf2/dw2-error.exp: Update expected error message.
1255 2018-07-02 Maciej W. Rozycki <macro@mips.com>
1258 * gdb.arch/mips-disassembler-options.exp: New test.
1259 * gdb.arch/mips-disassembler-options.s: New test source.
1261 2018-06-29 Pedro Alves <palves@redhat.com>
1263 * gdb.threads/names.exp: Adjust expected "info threads" output.
1265 2018-06-29 Pedro Alves <palves@redhat.com>
1267 * gdb.opt/inline-break.exp (line number, address): Add "info
1270 2018-06-29 Pedro Alves <palves@redhat.com>
1272 * gdb.opt/inline-break.c (func1): Add "break here" marker.
1273 * gdb.opt/inline-break.exp: Test setting breakpoints by line
1274 number and address and running to them.
1276 2018-06-29 Richard Bunt <richard.bunt@arm.com>
1278 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1280 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1282 * lib/compiler.c: Remove executable permission flag.
1284 2018-06-28 Richard Bunt <richard.bunt@arm.com>
1286 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1288 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1290 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1292 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1294 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1296 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1297 address argument is omitted.
1299 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1301 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1303 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
1306 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1307 * gdb.base/infoline-reloc-main-from-zero.c: New file.
1309 2018-06-26 Tom Tromey <tom@tromey.com>
1312 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1313 * gdb.rust/simple.rs (struct SimpleLayout): New.
1315 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
1317 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1318 "info registers" output.
1320 2018-06-21 Richard Bunt <richard.bunt@arm.com>
1322 * gdb.base/watchpoint-hw-attach.c: New test.
1323 * gdb.base/watchpoint-hw-attach.exp: New file.
1325 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
1327 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1329 * boards/dwarf4-gdb-index.exp: Likewise.
1330 * boards/fission-dwp.exp: Likewise.
1332 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
1334 * gdb.base/float128.exp: Add comment and improved fail message
1335 to the failure case of "print large128" test.
1337 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
1339 * configure.ac: Remove AC_PREREQ.
1340 * configure: Re-generate.
1342 2018-06-19 Pedro Alves <palves@redhat.com>
1344 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1345 (func_extern_caller): New.
1346 (main): Call func_extern_caller.
1347 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1350 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
1353 * gdb.cp/typedef-base.cc: New file.
1354 * gdb.cp/typedef-base.exp: New file.
1356 2018-06-18 Tom de Vries <tdevries@suse.de>
1358 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1360 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1361 Richard Bunt <Richard.Bunt@arm.com>
1363 * gdb.threads/attach-slow-waitpid.c: New file.
1364 * gdb.threads/attach-slow-waitpid.exp: New file.
1365 * gdb.threads/slow-waitpid.c: New file.
1367 2018-06-14 Pedro Alves <palves@redhat.com>
1369 * gdb.base/fork-running-state.c: Include <errno.h>.
1370 (exit_if_relative_exits): New.
1371 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1373 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1376 2018-06-14 Tom de Vries <tdevries@suse.de>
1379 * gdb.base/finish-pretty.c: New test.
1380 * gdb.base/finish-pretty.exp: New file.
1382 2018-06-14 Pedro Alves <palves@redhat.com>
1384 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1385 gdb's expected startup output.
1387 2018-06-14 Pedro Alves <palves@redhat.com>
1389 * lib/selftest-support.exp (selftest_setup): Remove inlined
1392 2018-06-14 Tom de Vries <tdevries@suse.de>
1394 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1395 matching of breakpoint printing.
1397 2018-06-13 Tom de Vries <tdevries@suse.de>
1400 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1401 (fork_child): ... here, and ...
1402 (fork_parent): ... here.
1404 2018-06-12 Tom de Vries <tdevries@suse.de>
1406 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1408 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1409 Stephen Roberts <stephen.roberts@arm.com>
1411 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1412 rewrite test to describe action performed, rather than possible
1415 2018-06-08 Gary Benson <gbenson@redhat.com>
1417 * gdb.threads/check-libthread-db.exp: New file.
1418 * gdb.threads/check-libthread-db.c: Likewise.
1420 2018-06-05 Tom Tromey <tom@tromey.com>
1422 * gdb.base/default.exp: Update expected "show version" output.
1424 2018-06-05 Tom Tromey <tom@tromey.com>
1427 * gdb.cp/static-print-quit.exp: Update.
1428 * lib/gdb.exp (pagination_prompt): Update.
1429 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
1430 * gdb.python/python.exp: Update.
1432 2018-06-04 Joel Brobecker <brobecker@adacore.com>
1434 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1436 2018-06-01 Joel Brobecker <brobecker@adacore.com>
1438 * gdb.ada/bp_fun_addr: New testcase.
1440 2018-06-01 Tom Tromey <tom@tromey.com>
1442 * gdb.xml/tdesc-regs.exp (load_description): Update expected
1444 * gdb.dwarf2/method-ptr.exp: Set language to C++.
1445 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1446 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1447 * gdb.base/maint.exp (maint_pass_if): Update.
1449 2018-05-31 Maciej W. Rozycki <macro@mips.com>
1451 * gdb.base/endian.exp: New test.
1452 * gdb.base/endian.c: New test source.
1454 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
1457 * gdb.base/bt-selected-frame.c: New file.
1458 * gdb.base/bt-selected-frame.exp: New file.
1459 * lib/gdb.exp (get_current_frame_number): New function.
1461 2018-05-24 Maciej W. Rozycki <macro@mips.com>
1462 Pedro Alves <palves@redhat.com>
1464 * gdb.threads/tls-core.c: Include <stdlib.h>
1465 (thread_proc): Call `abort'.
1466 * gdb.threads/tls-core.exp: Generate a core with core_find too.
1467 (tls_core_test): New procedure, bits factored out from ...
1468 (top level): ... here. Test both native cores and gcore cores.
1470 2018-05-23 Tom Tromey <tom@tromey.com>
1472 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1474 2018-05-23 Tom Tromey <tom@tromey.com>
1476 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1478 (test_short_complaints): Likewise.
1479 (test_empty_complaints): Likewise.
1480 (test_initial_complaints): Update.
1482 2018-05-23 Tom Tromey <tom@tromey.com>
1484 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1486 2018-05-23 Tom Tromey <tom@tromey.com>
1488 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1489 (test_short_complaints): Update.
1491 2018-05-22 Pedro Alves <palves@redhat.com>
1493 * gdb.base/remote.exp: Only gdb_start after compiling the
1494 testcase. Issue "disconnect" before testing "set remote" command
1495 defaults. Issue clean_restart before running to main.
1497 2018-05-22 Pedro Alves <palves@redhat.com>
1499 * gdb.base/remote.exp: Adjust expected output of "show remote
1500 memory-write-packet-size". Add tests for "set remote
1501 memory-write-packet-size 0" and "set remote
1502 memory-write-packet-size fixed/limit".
1504 2018-05-22 Pedro Alves <palves@redhat.com>
1507 * gdb.base/utf8-identifiers.c: New file.
1508 * gdb.base/utf8-identifiers.exp: New file.
1510 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1512 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1514 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1516 * gdb.arch/powerpc-vsx-gcore.exp: New file.
1518 2018-05-18 Tom Tromey <tom@tromey.com>
1520 * gdb.base/ptype-offsets.exp: Update.
1522 2018-05-17 Keith Seitz <keiths@redhat.com>
1524 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1525 in expected breakpoint stop locations.
1526 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1527 move to proper scope to test variable values.
1528 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1529 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1531 (main): Call not_inline_func3.
1532 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1533 inline_func1, inline_func2, and inline_func3. Test that when each
1534 breakpoint is hit, GDB properly reports both the stop location
1535 and the backtrace. Repeat tests for temporary breakpoints.
1537 2018-05-15 Maciej W. Rozycki <macro@mips.com>
1539 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1540 rather then trying to access it in determining whether the PID
1541 of `gdbserver' could have been retrieved.
1543 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
1545 * gdb.arch/amd64-init-x87-values.S: New file.
1546 * gdb.arch/amd64-init-x87-values.exp: New file.
1548 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1550 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1552 2018-05-04 Tom Tromey <tom@tromey.com>
1555 * gdb.python/python.exp: Test multi-line execute.
1557 2018-05-04 Tom Tromey <tom@tromey.com>
1560 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1562 2018-05-04 Tom Tromey <tom@tromey.com>
1565 * gdb.base/define.exp: Test defining a user command inside a user
1567 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1569 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1570 Pedro Alves <palves@redhat.com>
1572 PR breakpoints/19806 and support for PR external/20207.
1573 * gdb.base/watchpoint-unaligned.c: New file.
1574 * gdb.base/watchpoint-unaligned.exp: New file.
1576 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1578 * gdb.base/maint.exp: Make test names unique, use
1579 test_prefix_command_help to test 'help maint info', and remove
1580 repeated test of 'help maint'.
1582 2018-05-04 Tom Tromey <tom@tromey.com>
1585 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1588 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1590 * gdb.base/maint.exp: Process output from 'maint print registers'
1593 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1595 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1598 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
1600 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1603 2018-05-02 Pedro Alves <palves@redhat.com>
1605 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1606 to_log_command renames.
1607 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1609 2018-05-02 Tom Tromey <tom@tromey.com>
1611 * gdb.python/py-parameter.exp: Set test message.
1613 2018-05-02 Tom Tromey <tom@tromey.com>
1616 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1617 PARAM_ZUINTEGER_UNLIMITED tests.
1619 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
1622 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1625 2018-04-30 Tom Tromey <tom@tromey.com>
1627 * gdb.python/py-type.exp: Check align attribute.
1628 * gdb.python/py-type.c: New "aligncheck" global.
1630 2018-04-30 Tom Tromey <tom@tromey.com>
1633 * gdb.dwarf2/dw2-align.exp: New file.
1634 * gdb.cp/align.exp: New file.
1635 * gdb.base/align.exp: New file.
1636 * lib/gdb.exp (gdb_int128_helper): New proc.
1637 (has_int128_c, has_int128_cxx): New caching procs.
1639 2018-04-27 Tom Tromey <tom@tromey.com>
1642 * gdb.rust/simple.exp: Add inclusive range tests.
1644 2018-04-26 Pedro Alves <palves@redhat.com>
1646 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1647 ifunc breakpoint locations correctly of ifunc breakpoints set
1648 while the program resolves the ifunc.
1650 2018-04-26 Pedro Alves <palves@redhat.com>
1652 * gdb.base/gnu-ifunc-final.c: New file.
1653 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1654 * gdb.base/gnu-ifunc.exp (executable): Delete.
1655 (staticexecutable): Adjust.
1656 (lib_opts, exec_opts): Delete.
1657 (make_binsuffix, build, set-break): New procedures.
1658 (misc_tests): New, with tests factored out from the top level.
1659 (top level): Test different combinations of ifunc resolver name,
1660 resolver with and with debug info, and ifunc target with and
1661 without debug info. Wrap static tests with with_target_prefix.
1663 2018-04-26 Pedro Alves <palves@redhat.com>
1665 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1666 return type" warnings.
1668 2018-04-25 Pedro Alves <palves@redhat.com>
1670 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1672 * gdb.base/kill-after-signal.exp: Likewise.
1673 * gdb.threads/kill.exp: Likewise.
1675 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1676 Sergio Durigan Junior <sergiodj@redhat.com>
1677 Pedro Alves <palves@redhat.com>
1679 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1680 regexps to expect for '[Inferior ... detached]' as well.
1681 * gdb.base/attach.exp: Likewise.
1682 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1683 "gdb_continue_to_end".
1684 (test_catch_syscall_with_wrong_args): Likewise.
1685 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1686 ']'. Don't set 'verbose' on.
1687 * gdb.base/foll-vfork.exp: Likewise.
1688 * gdb.base/fork-print-inferior-events.c: New file.
1689 * gdb.base/fork-print-inferior-events.exp: New file.
1690 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1691 '[Inferior ... has been killed]' message.
1692 * gdb.base/kill-after-signal.exp: Likewise.
1693 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1695 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1697 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1698 regexps to expect for '[Inferior ... detached]' as well.
1699 * gdb.threads/process-dies-while-detaching.exp: Likewise.
1701 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
1704 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1706 2018-04-19 Richard Bunt <richard.bunt@arm.com>
1708 * gdb.threads/multiple-successive-infcall.c: New test.
1709 * gdb.threads/multiple-successive-infcall.exp: New file.
1711 2018-04-17 Tom Tromey <tom@tromey.com>
1713 * gdb.rust/simple.rs (Union): New type.
1714 (main): New local "u".
1715 * gdb.rust/simple.exp (test_one_slice): Add new test case.
1717 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1719 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1720 number information in output of "whereis" command.
1721 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1723 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1725 * gdb.ada/info_types.exp: Adjust expected output to the line
1726 numbers now printed by "info var/func/type".
1727 * gdb.base/completion.exp: Likewise.
1728 * gdb.base/included.exp: Likewise.
1729 * gdb.cp/cp-relocate.exp: Likewise.
1730 * gdb.cp/cplusfuncs.exp: Likewise.
1731 * gdb.cp/namespace.exp: Likewise.
1732 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1734 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1736 * gdb.btrace/cpu.exp: New.
1738 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1740 * gdb.base/step-indirect-call-thunk.exp: New.
1741 * gdb.base/step-indirect-call-thunk.c: New.
1742 * gdb.reverse/step-indirect-call-thunk.exp: New.
1743 * gdb.reverse/step-indirect-call-thunk.c: New.
1745 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
1747 * gdb.base/pie-fork.c: New file.
1748 * gdb.base/pie-fork.exp: New file.
1750 2018-04-11 Tom Tromey <tom@tromey.com>
1752 * gdb.rust/simple.exp: Add test for ".." struct initializer.
1754 2018-04-10 Pedro Alves <palves@redhat.com>
1756 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1757 exits. Instead loop running forever.
1758 (fork_parent): Run forever too.
1760 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1762 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1763 mi_continue_to_line.
1764 * gdb.mi/mi-stack.c (callee4): Add comment.
1766 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1768 * gdb.mi/mi-stack.exp: Fix indentation.
1770 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1773 * gdb.arch/amd64-osabi.exp: New file.
1775 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1778 * gdb.base/osabi.exp: New file.
1780 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
1782 * gdb.cp/static-typedef-print.exp: New file.
1783 * gdb.cp/static-typedef-print.cc: New file.
1785 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1787 * gdb.ada/varsize_limit: New testcase.
1789 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1791 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1793 * gdb.ada/notcplusplus: New testcase.
1795 * gdb.base/c-linkage-name.c: New file.
1796 * gdb.base/c-linkage-name.exp: New testcase.
1798 2018-03-26 Tom Tromey <tom@tromey.com>
1800 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1801 * gdb.python/py-framefilter.py (name_error): New global.
1802 (ErrorInName.function): Use name_error.
1804 2018-03-26 Tom Tromey <tom@tromey.com>
1807 * gdb.python/py-framefilter.exp: Add "bt hide" test.
1809 2018-03-23 Keith Seitz <keiths@redhat.com>
1812 * gdb.cp/subtypes.exp: New file.
1813 * gdb.cp/subtypes.h: New file.
1814 * gdb.cp/subtypes.cc: New file.
1815 * gdb.cp/subtypes-2.cc: New file.
1817 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1819 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1820 (done): Call '_exit' not 'exit' to avoid atexit handlers.
1821 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1822 -nostartfiles when compiling the test. Confirm that all registers
1823 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1825 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1827 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1828 option, syntax was wrong anyway.
1829 * gdb.arch/arm-disp-step.exp: Likewise.
1830 * gdb.arch/sparc64-regs.exp: Likewise.
1831 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1832 option, syntax was wrong anyway, switch to use
1833 prepare_for_testing.
1834 * gdb.arch/i386-disp-step.exp: Likewise.
1836 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
1838 * gdb.ada/exec_changed.exp: Replace "target_info exists
1839 use_gdb_stub" by "use_gdb_stub".
1840 * gdb.ada/start.exp: Likewise.
1841 * gdb.base/async-shell.exp: Likewise.
1842 * gdb.base/attach-pie-misread.exp: Likewise.
1843 * gdb.base/attach-wait-input.exp: Likewise.
1844 * gdb.base/break-entry.exp: Likewise.
1845 * gdb.base/break-interp.exp: Likewise.
1846 * gdb.base/dprintf-detach.exp: Likewise.
1847 * gdb.base/nostdlib.exp: Likewise.
1848 * gdb.base/solib-nodir.exp: Likewise.
1849 * gdb.base/statistics.exp: Likewise.
1850 * gdb.base/testenv.exp: Likewise.
1851 * gdb.mi/mi-exec-run.exp: Likewise.
1852 * gdb.mi/mi-start.exp: Likewise.
1853 * gdb.multi/dummy-frame-restore.exp: Likewise.
1854 * gdb.multi/multi-arch-exec.exp: Likewise.
1855 * gdb.multi/multi-arch.exp: Likewise.
1856 * gdb.multi/tids.exp: Likewise.
1857 * gdb.multi/watchpoint-multi.exp: Likewise.
1858 * gdb.python/py-events.exp: Likewise.
1859 * gdb.threads/attach-into-signal.exp: Likewise.
1860 * gdb.threads/attach-stopped.exp: Likewise.
1861 * gdb.threads/threadapply.exp: Likewise.
1862 * lib/selftest-support.exp: Likewise.
1864 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1866 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1868 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1870 * gdb.perf/template-breakpoints.cc: New file.
1871 * gdb.perf/template-breakpoints.exp: New file.
1872 * gdb.perf/template-breakpoints.py: New file.
1874 2018-03-19 Tom Tromey <tom@tromey.com>
1876 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1878 * gdb.rust/simple.exp: Test bare identifier form of struct
1881 2018-03-19 Tom Tromey <tom@tromey.com>
1883 * gdb.gdb/observer.exp: Remove.
1885 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1887 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1888 "qualified" option when setting breakpoints.
1889 * gdb.trace/backtrace.exp: Likewise.
1890 * gdb.trace/circ.exp: Likewise.
1891 * gdb.trace/collection.exp: Likewise.
1892 * gdb.trace/disconnected-tracing.exp: Likewise.
1893 * gdb.trace/ftrace-lock.exp: Likewise.
1894 * gdb.trace/ftrace.exp: Likewise.
1895 * gdb.trace/infotrace.exp: Likewise.
1896 * gdb.trace/packetlen.exp: Likewise.
1897 * gdb.trace/passc-dyn.exp: Likewise.
1898 * gdb.trace/qtro.exp: Likewise.
1899 * gdb.trace/read-memory.exp: Likewise.
1900 * gdb.trace/report.exp: Likewise.
1901 * gdb.trace/signal.exp: Likewise.
1902 * gdb.trace/status-stop.exp: Likewise.
1903 * gdb.trace/strace.exp: Likewise.
1904 * gdb.trace/tfind.exp: Likewise.
1905 * gdb.trace/trace-break.exp: Likewise.
1906 * gdb.trace/trace-condition.exp: Likewise.
1907 * gdb.trace/trace-mt.exp: Likewise.
1908 * gdb.trace/tstatus.exp: Likewise.
1909 * gdb.trace/tsv.exp: Likewise.
1910 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1911 * gdb.trace/unavailable.exp: Likewise.
1912 * gdb.trace/while-dyn.exp: Likewise.
1914 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1916 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1917 that libinproctrace is copied to the target.
1919 2018-03-14 Tom Tromey <tom@tromey.com>
1922 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1924 * gdb.base/wchar.exp: Likewise.
1926 2018-03-14 Tom Tromey <tom@tromey.com>
1929 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1932 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1935 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1936 "target" to remote_exec.
1938 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1941 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1942 ${board}_upload): Remove.
1944 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1946 * gdb.cp/watch-cp.cc: New test.
1947 * gdb.cp/watch-cp.exp: New file.
1949 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1951 * gdb.base/infcall-nested-structs.exp: New file.
1952 * gdb.base/infcall-nested-structs.c: New file.
1953 * gdb.base/float.exp: Add riscv support.
1955 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1957 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1958 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1960 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1962 * gdb.server/abspath.exp: New file.
1963 * lib/gdb.exp (with_cwd): New procedure.
1965 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1967 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1969 (gdb_is_target_remote_prompt): New proc.
1970 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1971 (gdb_is_target_native): Pass prompt parameter to
1974 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1976 * gdb.base/load-command.c: New file.
1977 * gdb.base/load-command.exp: New file.
1978 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1979 (gdb_is_target_1): ...this, and generalize for other targets
1981 (gdb_is_target_remote): Use gdb_is_target_1.
1982 (gdb_is_target_native): use gdb_is_target_1.
1984 2018-02-26 Tom Tromey <tom@tromey.com>
1987 * gdb.python/py-framefilter.exp: Update test.
1989 2018-02-26 Tom Tromey <tom@tromey.com>
1991 * gdb.dwarf2/variant.c: New file.
1992 * gdb.dwarf2/variant.exp: New file.
1994 2018-02-26 Tom Tromey <tom@tromey.com>
1996 * gdb.rust/simple.exp: Accept more possible results in enum test.
1998 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
2000 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2003 2018-02-23 Maciej W. Rozycki <macro@mips.com>
2005 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2006 name of a variable: $actual_linejj -> $actual_line.
2008 2018-02-21 John Baldwin <jhb@FreeBSD.org>
2010 * gdb.arch/amd64-i386-address.exp: Fix a typo.
2012 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
2014 * gdb.btrace/buffer-size.exp: Do not force BTS.
2016 2018-02-14 Pedro Alves <palves@redhat.com>
2018 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2021 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
2023 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2026 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
2028 * gdb.cp/m-static.exp: Check type of optimized out static
2031 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
2033 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2034 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2036 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
2037 Leszek Swirski <leszeks@google.com>
2039 * gdb.python/py-prettyprint.c
2040 (struct to_string_returns_value_inner,
2041 struct to_string_returns_value_wrapper): New.
2042 (main): Add tsrvw variable.
2043 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2044 ToStringReturnsValueWrapper): New classes.
2045 (register_pretty_printers): Register new pretty-printers.
2046 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2047 recursive pretty printer.
2048 * gdb.python/py-mi.exp: Likewise.
2050 2018-02-01 Leszek Swirski <leszeks@google.com>
2052 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2053 functions with the same name as an include file are parsed
2056 2018-02-01 Yao Qi <yao.qi@linaro.org>
2058 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2061 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
2063 * gdb.arch/powerpc-prologue-frame.s: New file.
2064 * gdb.arch/powerpc-prologue-frame.c: Likewise.
2065 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2067 2018-01-31 Joel Brobecker <brobecker@adacore.com>
2069 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2071 2018-01-30 Pedro Alves <palves@redhat.com>
2074 * gdb.base/interrupt-daemon.c: New.
2075 * gdb.base/interrupt-daemon.exp: New.
2076 * gdb.multi/multi-term-settings.c: New.
2077 * gdb.multi/multi-term-settings.exp: New.
2079 2018-01-30 Joel Brobecker <brobecker@adacore.com>
2081 * gdb.base/break.exp: Save the location where the breakpoint
2082 on break.c:47 was actually inserted when debugging the version
2083 compiled at -O2 and use it in the expected output of the "info
2084 break" test performed soon after.
2086 2018-01-22 Pedro Alves <palves@redhat.com>
2087 Sergio Durigan Junior <sergiodj@redhat.com>
2089 * gdb.base/whatis.exp: Add tests for 'set print object on' +
2090 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2092 2018-01-22 Joel Brobecker <brobecker@adacore.com>
2094 * gdb.base/break-include.c, gdb.base/break-include.inc,
2095 gdb.base/break-include.exp: New files.
2096 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2097 line number now being the actual line number where the breakpoint
2099 * gdb.mi/mi-break.exp: Likewise.
2100 * gdb.mi/mi-reverse.exp: Likewise.
2101 * gdb.mi/mi-simplerun.exp: Ditto.
2103 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2105 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2107 * gdb.mi/mi-var-create-rtti.exp: Likewise.
2109 2018-01-21 Don Breazeal <donb@codesourcery.com>
2110 Andrew Burgess <andrew.burgess@embecosm.com>
2112 * gdb.mi/basics.c: Add new global.
2113 * gdb.mi/mi-frame-regs.exp: New file.
2114 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2117 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2119 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2120 non-parameter, and on an unknown symbol.
2122 2018-01-19 Tom Tromey <tom@tromey.com>
2124 * gdb.rust/modules.rs (TWENTY_THREE): New global.
2125 * gdb.rust/modules.exp: Add ::-qualified lookup test.
2127 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2129 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2130 setrlimit and chdir to int.
2132 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2134 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2136 (my_tend): Likewise.
2137 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2138 rationale of avoiding FP- and vector instructions.
2140 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
2142 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2143 "info reg" with "\[ \t\]*".
2144 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2146 * gdb.arch/s390-multiarch.exp: Ditto.
2147 * gdb.base/pc-fp.exp: Ditto.
2148 * gdb.reverse/i386-precsave.exp: Ditto.
2149 * gdb.reverse/i386-reverse.exp: Ditto.
2150 * gdb.reverse/i387-env-reverse.exp: Ditto.
2151 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2153 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2155 * lib/gdb.exp (gdb_compile): Re-enable use of
2156 universal_compile_options for languages other than Rust.
2158 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2160 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2162 2018-01-17 Mike Gulick <mgulick@mathworks.com>
2165 * gdb.base/solib-vanish.exp: New.
2166 * gdb.base/solib-vanish-main.c: New.
2167 * gdb.base/solib-vanish-lib1.c: New.
2168 * gdb.base/solib-vanish-lib2.c: New.
2170 2018-01-17 Yao Qi <yao.qi@linaro.org>
2172 * gdb.compile/compile.exp: Match the address printed for
2173 frame in the output of command "bt".
2175 2018-01-15 Tom Tromey <tom@tromey.com>
2177 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2180 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2182 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2184 (prepare): Return 0 on error, 1 on success.
2186 2018-01-12 Pedro Alves <palves@redhat.com>
2188 * gdb.base/continue-after-aborted-step-over.c: New.
2189 * gdb.base/continue-after-aborted-step-over.exp: New.
2191 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
2193 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2194 options when not creating an executable.
2196 2018-01-11 Pedro Alves <palves@redhat.com>
2199 * gdb.server/stop-reply-no-thread.c: New file.
2200 * gdb.server/stop-reply-no-thread.exp: New file.
2202 2018-01-10 Pedro Alves <palves@redhat.com>
2205 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
2206 functions too. Test setting breakpoints and printing C functions
2207 with no debug info too.
2208 * gdb.ada/bp_c_mixed_case/qux.c: New file.
2210 2018-01-10 Pedro Alves <palves@redhat.com>
2213 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2216 2018-01-10 Pedro Alves <palves@redhat.com>
2219 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2221 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2223 * gdb.server/unittest.exp: Match the output in non-development
2226 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2228 * gdb.gdb/unittest.exp: Match output in non-development mode.
2230 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2232 * gdb.ada/access_tagged_param.exp: Relax expected output
2233 for value of "ObjL" in "continue" to pck.inspect breakpoint
2236 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2238 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2239 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2241 2018-01-05 Pedro Alves <palves@redhat.com>
2244 * gdb.base/libsegfault.exp: New.
2246 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2249 * gdb.ada/access_tagged_param.exp: New file.
2250 * gdb.ada/access_tagged_param/foo.adb: New file.
2252 2018-01-05 Pedro Alves <palves@redhat.com>
2255 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
2256 exercise lower case too, and to exercise both full matching and
2259 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2261 * gdb.ada/rename_subscript_param: New testcase.
2263 2018-01-05 Jerome Guitton <guitton@adacore.com>
2265 * gdb.ada/arr_acc_idx_w_gap: New testcase.
2267 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2269 * gdb.ada/convvar_comp: New testcase.
2271 2018-01-05 Xavier Roirand <roirand@adacore.com>
2273 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2274 (My_Table): New global variable.
2275 * testsuite/gdb.ada/array_char_idx.exp: Add test.
2277 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2280 * gdb.ada/maint_with_ada: New testcase.
2282 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2285 * gdb.ada/bp_c_mixed_case: New testcase.
2287 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2290 * gdb.ada/complete.exp: Add "complete break ada" test.
2292 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2295 * gdb.ada/info_addr_mixed_case: New testcase.
2297 2018-01-03 Xavier Roirand <roirand@adacore.com>
2299 * gdb.ada/excep_handle.exp: New testcase.
2300 * gdb.ada/excep_handle/foo.adb: New file.
2301 * gdb.ada/excep_handle/pck.ads: New file.
2303 2018-01-03 Joel Brobecker <brobecker@adacore.com>
2305 * gdb.base/step-line.c: Add extra empty line in copyright header.
2306 * gdb.base/step-line.inp: Likewise.
2308 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2310 * gdb.ada/dyn_stride.exp: Add slice test.
2312 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2314 * gdb.ada/dyn_stride: New testcase.
2316 2017-12-27 Stafford Horne <shorne@gmail.com>
2318 * gdb.xml/extra-regs.xml: Add example foo reggroup.
2319 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2321 2017-12-27 Stafford Horne <shorne@gmail.com>
2323 * gdb.base/reggroups.c: New file.
2324 * gdb.base/reggroups.exp: New file.
2326 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2328 * gdb.dwarf2/ada-valprint-error.c: New file.
2329 * gdb.dwarf2/ada-valprint-error.exp: New file.
2331 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2333 * gdb.ada/assign_arr: New testcase.
2335 2017-12-18 Xavier Roirand <roirand@adacore.com>
2337 * gdb.ada/funcall_ptr: New testcase.
2339 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2342 * gdb.base/ptype-offsets.cc: New file.
2343 * gdb.base/ptype-offsets.exp: New file.
2345 2017-12-15 Yao Qi <yao.qi@linaro.org>
2347 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2350 2017-12-15 Xavier Roirand <roirand@adacore.com>
2352 * gdb.ada/same_component_name: New testcase.
2354 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2356 * gdb.ada/str_binop_equal: New testcase.
2358 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2360 * gdb.ada/task_switch_in_core: New testcase.
2362 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
2364 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2365 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2366 call test_bkpt_qualified.
2367 (test_bkpt_qualified): New proc.
2369 2017-12-13 Pedro Alves <palves@redhat.com>
2371 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2372 Tighten regexp by matching with an anchor.
2374 2017-12-13 Pedro Alves <palves@redhat.com>
2376 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2377 ("expression with namespace"): New set of tests.
2378 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2379 (Nested::Test_NS::qux): New.
2380 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2381 defaults to 'start_quote_char' and 'end_quote_char' parameters.
2383 2017-12-13 Joel Brobecker <brobecker@adacore.com>
2385 * gdb.base/server-del-break.c: New file.
2386 * gdb.base/server-del-break.exp: New file.
2388 2017-12-12 Stafford Horne <shorne@gmail.com>
2390 * gdb.xml/tdesc-regs.exp: Add or1k support.
2392 2017-12-12 Stafford Horne <shorne@gmail.com>
2394 * gdb.base/bp-permanent.c: Define nop of or1k.
2396 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2398 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2399 output with components being reordered.
2401 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2403 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2404 output with components being reordered.
2406 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2407 Pedro Alves <palves@redhat.com>
2409 * gdb.base/maint.exp (check for .gdb_index): Check also for
2411 * gdb.dlang/watch-loc.c (.debug_aranges): New.
2412 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2413 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2414 (.gdb_index used after symbol reloading): Support also .debug_names.
2415 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2417 2017-12-08 Yao Qi <yao.qi@linaro.org>
2419 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2420 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2422 2017-12-08 Yao Qi <yao.qi@linaro.org>
2424 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2425 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2427 2017-12-08 Yao Qi <yao.qi@linaro.org>
2429 * gdb.arch/aarch64-tagged-pointer.c: New file.
2430 * gdb.arch/aarch64-tagged-pointer.exp: New file.
2432 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
2434 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2437 2017-12-07 Keith Seitz <keiths@redhat.com>
2439 PR breakpoints/22569
2440 * gdb.linespec/ls-errs.exp: Change expected result of "break
2441 -source this file has spaces.c -line 3".
2442 Check that an explicit source file followed by whitespace is
2443 identified as an invalid explicit location.
2445 2017-12-07 Keith Seitz <keiths@redhat.com>
2447 * gdb.cp/nested-types.cc: New file.
2448 * gdb.cp/nested-types.exp: New file.
2449 * lib/cp-support.exp: Load data-structures.exp library.
2450 (debug_cp_test_ptype_class): New global.
2451 (cp_ptype_class_verbose, next_line): New procedures.
2452 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2453 Add and document new return value.
2454 Switch the list of lines to a queue.
2455 Add support for new `type' key for nested type definitions.
2456 Add debugging/troubleshooting messages.
2457 * lib/data-structures.exp: New file.
2459 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
2461 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2462 with proc_with_prefix, don't use with_test_prefix.
2464 2017-12-07 Tom Tromey <tom@tromey.com>
2466 * gdb.base/break.exp: Add test for empty "commands".
2468 2017-12-07 Yao Qi <yao.qi@linaro.org>
2470 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2471 malloc and catch syscall.
2473 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
2475 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2476 tests for explicit locations.
2478 2017-12-06 Pedro Alves <palves@redhat.com>
2480 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2481 force-disabling XML descriptions.
2483 2017-12-04 Pedro Alves <palves@redhat.com>
2486 * gdb.arch/amd64-disp-step-avx.S: New file.
2487 * gdb.arch/amd64-disp-step-avx.exp: New file.
2489 2017-12-03 Pedro Alves <palves@redhat.com>
2491 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2493 (parent_function): Print distinct messages when waitpid fails, or
2494 the child exits with a signal, or the child exits for an unhandled
2496 * gdb.threads/process-dies-while-detaching.exp
2497 (detach_and_expect_exit): New 'inf_output_re' parameter and use
2498 it. Wait for both inferior output and GDB's prompt. Use an
2499 indirect spawn id list.
2500 (do_detach): New parameter 'child_exit'. Use it to compute
2501 expected inferior output.
2502 (test_detach, test_detach_watch, test_detach_killed_outside):
2503 Adjust to pass down the expected child exit kind.
2505 2017-12-01 Joel Brobecker <brobecker@adacore.com>
2506 Sergio Durigan Junior <sergiodj@redhat.com>
2507 Pedro Alves <palves@redhat.com>
2509 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2511 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
2513 * gdb.base/relocate.exp: Add tests to guarantee that arguments
2514 to 'symbol-file' and 'add-symbol-file' can be
2515 position-independent.
2517 2017-12-01 Yao Qi <yao.qi@linaro.org>
2519 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2520 the URL in copyright header.
2521 * gdb.arch/aarch64-fp.exp: Likewise.
2522 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2523 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2524 * gdb.base/expand-psymtabs.exp: Likewise.
2525 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2526 * gdb.fortran/common-block.exp: Likewise.
2527 * gdb.fortran/common-block.f90: Likewise.
2528 * gdb.fortran/logical.exp: Likewise.
2529 * gdb.fortran/vla-datatypes.f90: Likewise.
2530 * gdb.fortran/vla-sub.f90: Likewise.
2532 2017-11-30 Joel Brobecker <brobecker@adacore.com>
2534 * gdb.ada/repeat_dyn: New testcase.
2536 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
2538 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2539 Update for changed thread numbering.
2540 * gdb.cell/bt.exp: Update for changed GDB output.
2542 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
2544 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2545 setting isremote by hand.
2546 * boards/dwarf4-gdb-index.exp: Likewise.
2547 * boards/fission.exp: Likewise.
2548 * boards/stabs.exp: Likewise.
2550 2017-11-30 Pedro Alves <palves@redhat.com>
2552 * gdb.linespec/cpls-ops.exp
2553 (check_explicit_skips_function_argument): Extract the underlying
2554 type of size_t instead of hardcoding it.
2556 2017-11-29 Pedro Alves <palves@redhat.com>
2559 * gdb.linespec/cpls-abi-tag.cc: New file.
2560 * gdb.linespec/cpls-abi-tag.exp: New file.
2562 2017-11-29 Pedro Alves <palves@redhat.com>
2564 * gdb.base/langs.exp: Use -qualified.
2565 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2567 * gdb.cp/namespace.exp: Use -qualified.
2568 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2569 (overload-3, template-overload, template-ret-type, const-overload)
2570 (const-overload-quoted, anon-ns, ambiguous-prefix): New
2572 (test_driver): Call them.
2573 * gdb.cp/save-bp-qualified.cc: New.
2574 * gdb.cp/save-bp-qualified.exp: New.
2575 * gdb.linespec/explicit.exp: Test -qualified.
2576 * lib/completion-support.exp (completion::explicit_opts_list): Add
2578 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2580 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
2582 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2584 2017-11-29 Tom Tromey <tom@tromey.com>
2586 * gdb.base/relocate.exp: Update invalid argument test.
2587 Add new tests for invalid arguments.
2589 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2591 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2593 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2595 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2597 * gdb.cp/breakpoint.cc (bar): Set return type to void.
2598 * gdb.cp/psymtab-parameter.cc (func): Likewise.
2599 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2601 * gdb.cp/shadow.cc (B.func): Return 0.
2603 2017-11-27 Joel Brobecker <brobecker@adacore.com>
2605 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2606 expected output in gdb_expect call to allow the exception
2607 message to be present as well. Fix syntax confusion to avoid
2608 TCL thinking that exception_name is an array.
2610 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
2612 * gdb.arch/spu-info.c: Include <unistd.h>.
2613 (do_signal_test): Fix broken calls to write.
2614 * gdb.arch/spu-info.exp: Use prepare_for_testing.
2615 Fix checks for empty mailboxes. Update signal tests for corrected
2616 do_signal_test routine. Allow nonzero event status.
2617 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2618 * gdb.cell/arch.exp: Use standard_output_file.
2619 * gdb.cell/break.exp: Likewise.
2620 * gdb.cell/bt.exp: Likewise.
2621 * gdb.cell/core.exp: Likewise.
2622 * gdb.cell/dwarfaddr.exp: Likewise.
2623 * gdb.cell/ea-cache.exp: Likewise.
2624 * gdb.cell/ea-standalone.exp: Likewise.
2625 * gdb.cell/f-regs.exp: Likewise.
2626 * gdb.cell/fork.exp: Likewise.
2627 * gdb.cell/gcore.exp: Likewise.
2628 * gdb.cell/mem-access.exp: Likewise.
2629 * gdb.cell/ptype.exp: Likewise.
2630 * gdb.cell/registers.exp: Likewise.
2631 * gdb.cell/sizeof.exp: Likewise.
2632 * gdb.cell/solib-symbol.exp: Likewise.
2633 * gdb.cell/solib.exp: Likewise.
2635 2017-11-25 Pedro Alves <palves@redhat.com>
2637 * gdb.base/complete-empty.exp: New file.
2638 * gdb.base/completion.exp: Adjust.
2640 2017-11-25 Pedro Alves <palves@redhat.com>
2642 * gdb.linespec/cpls-ops.cc: New file.
2643 * gdb.linespec/cpls-ops.exp: New file.
2644 * lib/completion-support.exp (test_complete_prefix_range_re): New,
2645 factored out from ...
2646 (test_complete_prefix_range): ... this.
2648 2017-11-24 Pedro Alves <palves@redhat.com>
2650 * gdb.linespec/cpcompletion.exp: New file.
2651 * gdb.linespec/cpls-hyphen.cc: New file.
2652 * gdb.linespec/cpls.cc: New file.
2653 * gdb.linespec/cpls2.cc: New file.
2654 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
2655 test to use test_gdb_complete_unique. Add label completion,
2656 keyword completion and explicit location completion tests.
2657 * lib/completion-support.exp: New file.
2659 2017-11-24 Joel Brobecker <brobecker@adacore.com>
2661 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2662 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2663 when hitting an exception catchpoint.
2665 2017-11-22 Yao Qi <yao.qi@linaro.org>
2667 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2669 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
2671 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2672 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2673 * gdb.dwarf2/info-locals-optimized-out.c: New file.
2675 2017-11-22 Yao Qi <yao.qi@linaro.org>
2677 * gdb.base/info-os.exp: Pass pthreads.
2678 * gdb.multi/multi-attach.exp: Likewise.
2680 2017-11-22 Yao Qi <yao.qi@linaro.org>
2682 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2685 2017-11-22 Yao Qi <yao.qi@linaro.org>
2687 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2688 * gdb.base/break-interp.exp: Likewise.
2689 * gdb.base/jit-attach-pie.exp: Likewise.
2691 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2693 * gdb.base/float128.c (large128): New variable.
2694 * gdb.base/float128.exp: Add test to print largest __float128 value.
2696 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2698 * gdb.arch/vsx-regs.exp: Update register content checks.
2700 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
2702 * gdb.arch/ppc-longdouble.exp: New file.
2703 * gdb.arch/ppc-longdouble.c: Likewise.
2705 2017-11-21 Pedro Alves <palves@redhat.com>
2707 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2709 2017-11-20 Pedro Alves <palves@redhat.com>
2711 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2712 (long_double_typedef): New typedefs.
2713 Use DEF on double and long double.
2714 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2716 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2717 and 'long_double_ptr_same_size' locals. Use them to decide
2718 whether cast from array/function to float is valid/invalid.
2720 2017-11-17 Tom Tromey <tom@tromey.com>
2722 * gdb.rust/traits.rs: New file.
2723 * gdb.rust/traits.exp: New file.
2725 2017-11-17 Joel Brobecker <brobecker@adacore.com>
2727 * gdb.ada/minsyms: New testcase.
2729 2017-11-16 Pedro Alves <palves@redhat.com>
2731 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2732 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2734 2017-11-16 Pedro Alves <palves@redhat.com>
2736 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2737 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2739 2017-11-16 Pedro Alves <palves@redhat.com>
2741 * gdb.server/reconnect-ctrl-c.c: New file.
2742 * gdb.server/reconnect-ctrl-c.exp: New file.
2744 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
2746 * gdb.python/py-rbreak.exp: New file.
2747 * gdb.python/py-rbreak.c: New file.
2748 * gdb.python/py-rbreak-func2.c: New file.
2750 2017-11-16 Pedro Alves <palves@redhat.com>
2752 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2754 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2757 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
2759 * gdb.tui/completionn.exp (test_tab_completion): Add space in
2762 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
2764 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2767 2017-11-09 Pedro Alves <palves@redhat.com>
2769 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2770 factored out from ...
2771 (top level): ... here, and adjusted to avoid expecting beyond the
2772 prompt in a single gdb_test_multiple.
2774 2017-11-09 Pedro Alves <palves@redhat.com>
2776 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2778 * gdb.server/ext-attach.exp ("kill" test): Likewise.
2779 * gdb.server/ext-restart.exp ("kill" test): Likewise.
2780 * gdb.server/ext-run.exp ("kill" test): Likewise.
2781 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2783 2017-11-09 Pedro Alves <palves@redhat.com>
2785 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2786 match till end of line.
2788 2017-11-09 Pedro Alves <palves@redhat.com>
2790 * gdb.base/memattr.exp: Tighten regexes to match the end line.
2792 2017-11-09 Pedro Alves <palves@redhat.com>
2794 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2795 New procedures, factored out from ...
2796 (top level): ... here, and adjusted to avoid expecting beyond the
2799 2017-11-09 Pedro Alves <palves@redhat.com>
2801 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2802 output. Fix '?' match.
2804 2017-11-08 Joel Brobecker <brobecker@adacore.com>
2806 * gdb.ada/scoped_watch: New testcase.
2807 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2808 which is actually correct.
2809 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2810 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2812 2017-11-08 Pedro Alves <palves@redhat.com>
2814 * gdb.gdb/complaints.exp (test_initial_complaints)
2815 (test_serial_complaints, test_short_complaints): Call
2816 complaint_internal instead of complaint.
2818 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
2820 * gdb.threads/tls-core.c: New file.
2821 * gdb.threads/tls-core.exp: Likewise.
2823 2017-11-08 Pedro Alves <palves@redhat.com>
2825 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2826 (p Exported_Capitalized): New test.
2827 (p exported_capitalized): New test.
2829 2017-11-07 Pedro Alves <palves@redhat.com>
2831 * gdb.cp/ena-dis-br-range.exp: Add more tests.
2833 2017-11-07 Pedro Alves <palves@redhat.com>
2835 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2836 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2837 (disable_invalid, disable_inverted, disable_negative): New
2839 ("bad numbers"): New set of tests.
2841 2017-11-07 Pedro Alves <palves@redhat.com>
2843 * gdb.cp/ena-dis-br-range.exp: Add tests.
2845 2017-11-07 Pedro Alves <palves@redhat.com>
2847 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2849 2017-11-07 Xavier Roirand <roirand@adacore.com>
2850 Pedro Alves <palves@redhat.com>
2852 * gdb.base/ena-dis-br.exp: Add reference to
2853 gdb.cp/ena-dis-br-range.exp.
2854 * gdb.cp/ena-dis-br-range.exp: New file.
2855 * gdb.cp/ena-dis-br-range.cc: New file.
2857 2017-11-06 Pedro Alves <palves@redhat.com>
2859 * gdb.base/attach-non-pgrp-leader.c: New.
2860 * gdb.base/attach-non-pgrp-leader.exp: New.
2862 2017-11-06 Pedro Alves <palves@redhat.com>
2864 * configure.ac: No longer check for termio.h and sgtty.h.
2865 * configure: Regenerate.
2866 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2867 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2868 Remove termio and sgtty code.
2870 2017-11-03 Yao Qi <yao.qi@linaro.org>
2872 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2875 2017-11-03 Yao Qi <yao.qi@linaro.org>
2877 * gdb.python/py-thrhandle.exp: Skip it if python is not
2880 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2882 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2883 as a breakpoint command.
2885 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2888 * gdb.python/py-infthread.exp: Test calling
2889 InferiorThread.inferior () multiple times in a row.
2891 2017-10-27 Keith Seitz <keiths@redhat.com>
2893 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2894 Test "info break" for every inlined function breakpoint.
2896 2017-10-27 Yao Qi <yao.qi@linaro.org>
2898 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2900 2017-10-26 Patrick Frants <osscontribute@gmail.com>
2902 * gdb.cp/classes.exp (test_static_members): Test printing
2904 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2905 (Inner::instance, Outer::instance): New.
2907 2017-10-24 Pedro Alves <palves@redhat.com>
2909 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2910 extra console" test in two stages.
2912 2017-10-24 Pedro Alves <palves@redhat.com>
2914 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2916 2017-10-24 Pedro Alves <palves@redhat.com>
2918 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2921 2017-10-24 Pedro Alves <palves@redhat.com>
2923 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2924 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2926 2017-10-24 Pedro Alves <palves@redhat.com>
2928 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2929 parameter and handle it. Don't output read value in test name.
2931 2017-10-24 Pedro Alves <palves@redhat.com>
2933 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2936 2017-10-24 Pedro Alves <palves@redhat.com>
2938 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2939 include the unstable output directory name in the test's name.
2940 (initial_setup_simple) <'set args'>: Use custom test name.
2942 2017-10-24 Pedro Alves <palves@redhat.com>
2944 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2945 with explicit test name.
2947 2017-10-20 Pedro Alves <palves@redhat.com>
2949 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2950 'wait -i'. Use gdb_assert and remote_close.
2952 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2954 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2955 number from variable rather than hard-coded.
2957 2017-10-19 Pedro Alves <palves@redhat.com>
2959 * gdb.base/long-inferior-output.c: New file.
2960 * gdb.base/long-inferior-output.exp: New file.
2962 2017-11-18 Keith Seitz <keiths@redhat.com>
2964 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2967 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2968 Add additional user-defined conversion operator tests.
2970 2017-10-17 Pedro Alves <palves@redhat.com>
2972 * boards/native-stdio-gdbserver.exp: Load "local-board".
2974 2017-10-17 Pedro Alves <palves@redhat.com>
2976 * gdb.base/quit-live.c: New file.
2977 * gdb.base/quit-live.exp: New file.
2979 2017-10-16 Keith Seitz <keiths@redhat.com>
2981 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2982 (class_with_protected_typedef, class_with_private_typedef)
2983 (struct_with_public_typedef, struct_with_protected_typedef)
2984 (struct_with_private_typedef): New classes/structs.
2985 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2986 typedefs and access specifiers.
2988 2017-10-16 Pedro Alves <palves@redhat.com>
2989 Simon Marchi <simon.marchi@polymtl.ca>
2991 * README (Local vs Remote vs Native): New section.
2992 * boards/local-board.exp: New file, with bits factored out from
2994 * boards/native-extended-gdbserver.exp: ... here. Load
2996 * boards/native-gdbserver.exp: Load "local-board".
2997 (${board}_spawn, ${board}_exec): Delete.
2998 * boards/native-stdio-gdbserver.exp: Most contents factored out to
3000 * boards/stdio-gdbserver-base.exp: ... this new file.
3001 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3002 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3004 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3005 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
3006 stdio_gdbserver_command.
3007 (${board}_get_remote_address, ${board}_get_comm_port)
3008 (${board}_download, ${board}_upload): Delete.
3009 (get_target_remote_pipe_cmd): New.
3011 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
3013 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3014 test_bkpt_deletion, test_bkpt_cond_and_cmds,
3015 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3016 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3017 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3018 remove with_test_prefix.
3020 2017-10-13 Pedro Alves <palves@redhat.com>
3022 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3023 * gdb.base/annota1.exp: Use it instead of is_remote.
3024 * gdb.base/annota3.exp: Use it instead of is_remote.
3025 * gdb.cp/annota2.exp: Use it instead of is_remote.
3026 * gdb.cp/annota3.exp: Use it instead of is_remote.
3027 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3029 2017-10-13 Pedro Alves <palves@redhat.com>
3031 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3032 (test_num_test_vars, run_and_count_vars, find_env)
3033 (test_set_unset_env, test_inherit_env_var): New procedures.
3034 (top level): Use them.
3036 2017-10-13 Pedro Alves <palves@redhat.com>
3038 * lib/selftest-support.exp (selftest_setup): Extend comments, and
3039 also skip on stub-like targets.
3041 2017-10-13 Pedro Alves <palves@redhat.com>
3044 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3045 (top level): Move some tests to ...
3046 (test_not_found): ... this new procedure.
3047 (top level): Call it.
3049 2017-10-13 Pedro Alves <palves@redhat.com>
3051 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
3052 expect different "info terminal" output if testing with a
3055 2017-10-13 Pedro Alves <palves@redhat.com>
3056 Simon Marchi <simon.marchi@polymtl.ca>
3059 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3061 2017-10-13 Pedro Alves <palves@redhat.com>
3063 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3066 2017-10-13 Pedro Alves <palves@redhat.com>
3068 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3071 2017-10-13 Pedro Alves <palves@redhat.com>
3073 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3076 2017-10-13 Pedro Alves <palves@redhat.com>
3078 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3080 (corefile_test_attach): Likewise. Check can_spawn_for_attach
3081 instead of is_remote.
3083 2017-10-13 Pedro Alves <palves@redhat.com>
3085 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3086 (top level): Add comment.
3088 2017-10-13 Pedro Alves <palves@redhat.com>
3090 * gdb.base/remote.exp (top level): Fix comment typo and add
3093 2017-10-13 Pedro Alves <palves@redhat.com>
3094 Simon Marchi <simon.marchi@polymtl.ca>
3096 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3097 calls and add comments. Skip test if use_gdb_stub is set.
3098 (top level): Use "set cwd" command instead of "cd" command.
3100 2017-10-13 Pedro Alves <palves@redhat.com>
3102 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3103 is_remote target check.
3105 2017-10-13 Pedro Alves <palves@redhat.com>
3107 * gdb.base/scope.exp: Use build_executable + clean_restart +
3108 gdb_file_cmd instead of prepare_for_testing and no longer skip
3109 "before run" tests on is_remote target boards. Update comments.
3110 * boards/native-extended-gdbserver.exp
3111 (extended_gdbserver_load_last_file): New, factored out from ...
3112 (gdb_load): ... this. Move further below and add comment.
3113 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3115 2017-10-12 Pedro Alves <palves@redhat.com>
3117 * gdb.base/attach.exp: Remove references to gdb64.
3118 * gdb.base/dbx.exp: Remove references to gdb64.
3120 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3121 Pedro Alves <palves@redhat.com>
3123 * gdb.base/label.exp: Remove is_remote target check.
3125 2017-10-12 Pedro Alves <palves@redhat.com>
3127 * gdb.base/auvx.exp (coredir): Update comment.
3128 (top level) <core_works>: Use "set cwd" command instead of "cd"
3131 2017-10-12 Pedro Alves <palves@redhat.com>
3132 Simon Marchi <simon.marchi@polymtl.ca>
3134 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3137 2017-10-12 Pedro Alves <palves@redhat.com>
3138 Simon Marchi <simon.marchi@polymtl.ca>
3140 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3141 Instead skip if there's any gdb_protocol set.
3143 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3144 Pedro Alves <palves@redhat.com>
3146 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3148 2017-10-12 Pedro Alves <palves@redhat.com>
3149 Simon Marchi <simon.marchi@polymtl.ca>
3151 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3152 instead of on dejagnu remote boards.
3154 2017-10-12 Pedro Alves <palves@redhat.com>
3155 Simon Marchi <simon.marchi@polymtl.ca>
3157 * gdb.base/inferior-died.exp: Remove is_remote and isnative
3158 checks. Use build_executable + clean_restart instead of
3159 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
3160 of enabling non-stop after starting gdb.
3162 2017-10-12 Pedro Alves <palves@redhat.com>
3164 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3165 * gdb.threads/non-ldr-exc-2.exp: Ditto.
3166 * gdb.threads/non-ldr-exc-3.exp: Ditto.
3167 * gdb.threads/non-ldr-exc-4.exp: Ditto.
3169 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
3171 * gdb.arch/arc-tdesc-cpu.exp: New file.
3172 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3174 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
3176 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3178 2017-10-10 Pedro Alves <palves@redhat.com>
3180 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3183 2017-10-10 Pedro Alves <palves@redhat.com>
3185 * lib/selftest-support.exp (selftest_setup): Update for
3186 captured_command_loop's prototype change.
3188 2017-10-09 Pedro Alves <palves@redhat.com>
3190 Test both arch1=>arch2 and arch2=>arch1.
3192 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3193 (srcfile2, binfile2, march1, march2): Remove globals. Largely
3195 (append_arch1_options, append_arch2_options, append_arch_options)
3196 (build_executables): New procedures.
3197 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
3199 (top level): Add new 'first_arch' testing axis.
3201 2017-10-09 Pedro Alves <palves@redhat.com>
3203 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3205 (thread_start, all_started): New functions.
3206 (main): Spawn new thread and wait until it is scheduled.
3207 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3209 (do_test): Add 'selected_thread' parameter. Run to all_started
3210 instead of main. Explicitly set the breakpoint at main. Switch
3211 to the SELECTED_THREAD thread.
3212 (top level): Test handling the exec event with either the main
3213 thread or the second thread selected.
3215 2017-10-09 Pedro Alves <palves@redhat.com>
3217 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3218 logic. Move STOP marker after the value checks.
3219 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3222 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
3224 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3226 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
3228 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3229 integer-to-dfp conversion.
3230 * gdb.base/dfp-test.exp: Likewise.
3232 2017-10-04 Pedro Alves <palves@redhat.com>
3234 * gdb.multi/hangout.c: Include <unistd.h>.
3235 (hangout_loop): New function.
3236 (main): Call alarm. Call hangout_loop in a loop.
3237 * gdb.multi/hello.c: Include <unistd.h>.
3238 (hello_loop): New function.
3239 (main): Call alarm. Call hangout_loop in a loop.
3240 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3241 inferior with the other selected.
3243 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
3245 * gdb.mi/list-thread-groups-available.exp: New file.
3246 * gdb.mi/list-thread-groups-available.c: New file.
3248 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3250 * gdb.base/set-cwd.exp: Make it available on
3251 native-extended-gdbserver.
3253 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3255 * gdb.base/set-cwd.c: New file.
3256 * gdb.base/set-cwd.exp: Likewise.
3258 2017-10-02 Tom Tromey <tom@tromey.com>
3261 * gdb.rust/simple.rs (main): New variable "fslice".
3262 * gdb.rust/simple.exp: Add slice tests. Update string tests.
3264 2017-10-02 Tom Tromey <tom@tromey.com>
3266 * gdb.rust/simple.exp: Test ptype of a slice.
3268 2017-10-02 Tom Tromey <tom@tromey.com>
3270 * gdb.rust/simple.exp: Test index of slice.
3272 2017-09-27 Tom Tromey <tom@tromey.com>
3274 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3276 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
3277 Pedro Alves <palves@redhat.com>
3279 * gdb.base/compare-sections.exp (get value of read-only section): Read
3281 (corrupt read-only section): Likewise and don't set written if patching
3284 2017-09-21 Kevin Buettner <kevinb@redhat.com>
3286 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3289 2017-09-20 Pedro Alves <palves@redhat.com>
3291 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3292 symbol names in gdb's output.
3293 * gdb.cp/overload.exp ("list all overloads"): Likewise.
3295 2017-09-20 Pedro Alves <palves@redhat.com>
3297 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3299 (test_list_ambiguous_symbol): ... this and add a symbol name
3301 (test_list_ambiguous_function): Reimplement on top of
3302 test_list_ambiguous_symbol and also test listing ambiguous
3304 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3305 (ambiguous_fun): ... this.
3306 (ambiguous_var): New.
3307 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3308 (ambiguous_fun): ... this.
3309 (ambiguous_var): New.
3311 2017-09-19 John Baldwin <jhb@FreeBSD.org>
3313 * gdb.base/starti.c: New file.
3314 * gdb.base/starti.exp: New file.
3315 * lib/gdb.exp (gdb_starti_cmd): New procedure.
3317 2017-09-14 Pedro Alves <palves@redhat.com>
3319 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3320 (top level): Use it instead of runto.
3322 2017-09-11 Tom Tromey <tom@tromey.com>
3324 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3326 2017-09-11 Tom Tromey <tom@tromey.com>
3328 * gdb.python/py-infthread.exp: Add tests for new_thread event.
3329 * gdb.python/py-inferior.exp: Add tests for new inferior events.
3331 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
3333 * gdb.fortran/printing-types.exp: New file.
3334 * gdb.fortran/printing-types.exp: New file.
3336 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3338 * gdb.fortran/vla-ptype.exp: Fix typos.
3339 * gdb.fortran/vla-value.exp: Same.
3341 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3343 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3344 * gdb.mi/mi-var-child-f.exp: Likewise.
3345 * gdb.mi/mi-vla-fortran.exp: Likewise.
3347 2017-09-08 Frank Penczek <frank.penczek@intel.com>
3348 Christoph Weinmann <christoph.t.weinmann@intel.com>
3349 Bernhard Heckel <bernhard.heckel@intel.com>
3351 * gdb.fortran/ptr-indentation.f90: New file.
3352 * gdb.fortran/ptr-indentation.exp: New file.
3354 2017-09-05 Tom Tromey <tom@tromey.com>
3357 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3359 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3361 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3363 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3365 * gdb.threads/tls-nodebug-pie.c: New file.
3366 * gdb.threads/tls-nodebug-pie.exp: New file.
3368 2017-09-05 Tom Tromey <tom@tromey.com>
3370 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3373 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
3375 * gdb.multi/multi-arch-exec.exp: Test with different
3376 "follow-exec-mode" settings.
3377 (do_test): New procedure.
3379 2017-09-04 Pedro Alves <palves@redhat.com>
3381 * gdb.base/func-static.c (S::method const, S::method volatile)
3382 (S::method volatile const): New methods.
3383 (c_s, v_s, cv_s): New instances.
3384 (main): Call method() on them.
3385 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3386 (cannot_resolve): New procedure.
3387 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
3388 print-quote-unquoted columns.
3389 (do_test): Test printing each scope too.
3391 2017-09-04 Pedro Alves <palves@redhat.com>
3393 * gdb.base/local-static.exp: Also test with
3394 class::method::variable wholly quoted.
3395 * gdb.cp/m-static.exp (class::method::variable): Remove test.
3397 2017-09-04 Pedro Alves <palves@redhat.com>
3399 * gdb.base/local-static.c: New.
3400 * gdb.base/local-static.cc: New.
3401 * gdb.base/local-static.exp: New.
3403 2017-09-04 Pedro Alves <palves@redhat.com>
3405 * gdb.asm/asm-source.exp: Add casts to int.
3406 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3407 (dataglobal64_1, dataglobal64_2): New globals.
3408 * gdb.base/nodebug.exp: Test different expressions involving the
3409 new globals, with print, whatis and ptype. Add casts to int.
3410 * gdb.base/solib-display.exp: Add casts to int.
3411 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
3412 * gdb.cp/m-static.exp: Add cast to int.
3413 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3414 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3415 tls variable with no debug info without a cast. Test with a cast
3417 * gdb.trace/entry-values.exp: Add casts.
3419 2017-09-04 Pedro Alves <palves@redhat.com>
3421 * gdb.base/nodebug.exp: Test that ptype's error about functions
3422 with unknown return type includes the function name too.
3424 2017-09-04 Pedro Alves <palves@redhat.com>
3426 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3427 return type of munmap in infcall.
3428 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3429 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
3430 type of ftell in infcall.
3431 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3432 type of getpid in infcall.
3433 * gdb.base/infcall-exec.exp: Cast return type of execlp in
3435 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3436 Bail on failure to extract the pid.
3437 * gdb.base/nodebug.c: #include <stdint.h>.
3438 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3440 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3441 Change expected output of print/whatis/ptype with functions with
3442 no debug info. Test all supported languages. Call
3443 test_call_promotion.
3444 * gdb.compile/compile.exp: Adjust expected output to expect
3446 * gdb.threads/siginfo-threads.exp: Likewise.
3448 2017-09-04 Pedro Alves <palves@redhat.com>
3450 * gdb.base/callfuncs.exp (do_function_calls): New parameter
3451 "prototypes". Test calling float functions via prototyped and
3452 unprototyped function pointers.
3453 (perform_all_tests): New parameter "prototypes". Pass it down.
3454 (top level): Pass down "prototypes" parameter to
3457 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3459 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3460 Test with nested loops.
3462 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3464 * gdb.base/commands.exp: Call the new procedures.
3465 (loop_break_test, loop_continue_test): New procedures.
3467 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3469 * gdb.base/commands.exp: Call new procedure.
3470 (define_if_without_arg_test): New procedure.
3472 2017-09-04 Pedro Alves <palves@redhat.com>
3474 * gdb.base/list-ambiguous.exp: New file.
3475 * gdb.base/list-ambiguous0.c: New file.
3476 * gdb.base/list-ambiguous1.c: New file.
3477 * gdb.base/list.exp (test_list_range): Adjust expected output.
3479 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
3481 * gdb.base/share-env-with-gdbserver.c: New file.
3482 * gdb.base/share-env-with-gdbserver.exp: Likewise.
3484 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3486 * gdb.base/commands.exp (gdbvar_simple_if_test,
3487 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3488 progvar_simple_if_test, progvar_simple_while_test,
3489 progvar_complex_if_while_test, user_defined_command_test,
3490 user_defined_command_args_eval,
3491 user_defined_command_args_stack_test,
3492 user_defined_command_manyargs_test, bp_deleted_in_command_test,
3493 temporary_breakpoint_commands,
3494 gdb_test_no_prompt, redefine_hook_test,
3495 redefine_backtrace_test): Remove "global gdb_prompt".
3497 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3499 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3500 New proc, call it from toplevel.
3502 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
3505 * gdb.server/normal.c: New file, copied from gdb.base.
3506 * gdb.server/run-without-local-binary.exp: New file.
3508 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
3510 * gdb.arch/sparc64-adi.exp: New file.
3511 * gdb.arch/sparc64-adi.c: New file.
3513 2017-08-22 Pedro Alves <palves@redhat.com>
3515 * gdb.cp/overload.exp (line_range_pattern): New procedure.
3516 (top level): Add "list all overloads" tests.
3518 2017-08-22 Tom Tromey <tom@tromey.com>
3520 * gdb.gdb/xfullpath.exp: Remove.
3522 2017-08-21 Pedro Alves <palves@redhat.com>
3525 * gdb.base/symbol-alias.c: New.
3526 * gdb.base/symbol-alias2.c: New.
3527 * gdb.base/symbol-alias.exp: New.
3529 2017-08-21 Pedro Alves <palves@redhat.com>
3531 * gdb.base/dfp-test.c
3532 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3533 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3534 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3535 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3536 * gdb.base/whatis-ptype-typedefs.c: New.
3537 * gdb.base/whatis-ptype-typedefs.exp: New.
3538 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3539 (an_int, an_int_type, an_int_type2): New globals.
3540 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3541 involving typedefs and cast expressions.
3542 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3543 (lookup_typedefs_function): New.
3544 (typedefs_pretty_printers_dict): New.
3545 (top level): Register lookup_typedefs_function in
3546 gdb.pretty_printers.
3548 2017-08-18 Yao Qi <yao.qi@linaro.org>
3550 * gdb.server/unittest.exp: New.
3552 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
3555 * gdb.base/environ.exp: Add test to check if 'unset environment'
3558 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3560 * lib/gdb.exp (universal_compile_options): New caching proc.
3561 (gdb_compile): Suppress GCC's coloring of messages.
3563 2017-08-14 Tom Tromey <tom@tromey.com>
3566 * gdb.base/printcmds.exp (test_radices): New function.
3567 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3568 * gdb.base/sizeof.exp (check_valueof): Use p/d.
3569 * lib/gdb.exp (get_integer_valueof): Use p/d.
3571 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
3573 * lib/gdb.exp (get_valueof): Don't capture end-of-line
3576 2017-08-05 Tom Tromey <tom@tromey.com>
3578 * gdb.rust/simple.exp: Allow String to appear in a different
3581 2017-07-26 Yao Qi <yao.qi@linaro.org>
3583 * gdb.gdb/unittest.exp: Invoke command
3584 "maintenance check xml-descriptions".
3586 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3588 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3590 (hex128): Drop erroneous calculation of parameters.
3592 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
3594 * gdb.python/py-unwind.exp: Disable stack protection when
3597 2017-07-20 Pedro Alves <palves@redhat.com>
3599 * gdb.base/default.exp (set language): Adjust expected output.
3601 2017-07-20 Pedro Alves <palves@redhat.com>
3603 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3604 (test_minsym): ... this, and make static.
3605 (get_pck__foo__bar__minsym): Rename to ...
3606 (get_test_minsym): ... this.
3607 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
3608 symbol names and comments.
3609 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3610 (get_test_minsym): ... this.
3611 (pck__foo__bar__minsym__2): Rename to ...
3612 (test_minsym): ... this.
3615 2017-07-17 Pedro Alves <palves@redhat.com>
3617 * gdb.base/completion.exp: Adjust expected output.
3618 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3619 the completer works.
3621 2017-07-17 Pedro Alves <palves@redhat.com>
3623 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3625 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3627 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3629 2017-07-14 Tom Tromey <tom@tromey.com>
3632 * gdb.rust/simple.exp: Add tests.
3634 2017-07-14 Tom Tromey <tom@tromey.com>
3636 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3638 2017-07-14 Pedro Alves <palves@redhat.com>
3640 * gdb.linespec/base/one/thefile.cc (z1): New function.
3641 * gdb.linespec/base/two/thefile.cc (z2): New function.
3642 * gdb.linespec/linespec.exp: Add tests.
3644 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3646 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3647 to mi_create_breakpoint.
3649 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3651 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3652 mi_create_breakpoint.
3654 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
3656 * gdb.dlang/demangle.exp: Update for demangling changes.
3658 2017-07-09 Tom Tromey <tom@tromey.com>
3660 * gdb.dwarf2/shortpiece.exp: New file.
3662 2017-07-06 David Blaikie <dblaikie@gmail.com>
3664 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3665 built from fissiont-multi-cu{1,2}.c.
3666 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3667 except putting 'main' and 'func' in separate CUs in the same DWO file.
3668 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3670 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3673 2017-07-06 Pedro Alves <palves@redhat.com>
3675 * gdb.python/py-unwind.exp: Test flushregs.
3677 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3680 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3681 tests for alias commands and trailing whitespace.
3683 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3686 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3689 2017-06-29 Pedro Alves <palves@redhat.com>
3691 * gdb.base/printcmds.exp: Add tests.
3693 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
3696 * gdb.base/reread-readsym.exp: New file.
3697 * gdb.base/reread-readsym.c: New file.
3699 2017-06-21 Kevin Buettner <kevinb@redhat.com>
3701 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3704 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
3706 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3708 * gdb.arch/powerpc-power9.s: Likewise.
3710 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3712 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3713 on 32-bit x86 targets. Exploit is_*_target macros where
3716 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3718 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3721 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3723 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3724 located in one or more DWARF pieces.
3726 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3728 * lib/gdb.exp (get_endianness): New proc.
3729 * gdb.arch/aarch64-fp.exp: Use it.
3730 * gdb.arch/altivec-regs.exp: Likewise.
3731 * gdb.arch/e500-regs.exp: Likewise.
3732 * gdb.arch/vsx-regs.exp: Likewise.
3733 * gdb.base/dump.exp: Likewise.
3734 * gdb.base/funcargs.exp: Likewise.
3735 * gdb.base/gnu_vector.exp: Likewise.
3736 * gdb.dwarf2/formdata16.exp: Likewise.
3737 * gdb.dwarf2/implptrpiece.exp: Likewise.
3738 * gdb.dwarf2/nonvar-access.exp: Likewise.
3739 * gdb.python/py-inferior.exp: Likewise.
3740 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3742 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3745 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3746 stack value pieces are taken from the LSB end.
3748 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3750 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3751 variable at nonzero offset.
3753 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3755 * gdb.dwarf2/var-access.c: New file.
3756 * gdb.dwarf2/var-access.exp: New test.
3757 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3759 2017-06-12 Tom Tromey <tom@tromey.com>
3761 * gdb.dwarf2/formdata16.exp: Add tests.
3763 2017-06-12 Tom Tromey <tom@tromey.com>
3765 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3767 2017-06-12 Tom Tromey <tom@tromey.com>
3770 * gdb.reverse/i386-sse-reverse.exp: Update tests.
3771 * gdb.arch/vsx-regs.exp: Update tests.
3772 * gdb.arch/s390-vregs.exp (hex128): New proc.
3774 * gdb.arch/altivec-regs.exp: Update tests.
3776 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3778 * gdb.base/startup-with-shell.c: New file.
3779 * gdb.base/startup-with-shell.exp: Likewise.
3781 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3783 * gdb.server/non-existing-program.exp: Update regex in order to
3784 reflect the fact that gdbserver is now using fork_inferior (with a
3785 shell) to startup the inferior.
3787 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
3789 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3790 support function calls from GDB.
3792 2017-05-21 Tom Tromey <tom@tromey.com>
3795 * gdb.rust/unsized.exp: New file.
3796 * gdb.rust/unsized.rs: New file.
3798 2017-05-19 Tom Tromey <tom@tromey.com>
3801 * gdb.rust/watch.exp: New file.
3802 * gdb.rust/watch.rs: New file.
3804 2017-05-18 Tom Tromey <tom@tromey.com>
3806 * gdb.rust/simple.exp: Allow Box to be qualified.
3808 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3810 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3812 2017-05-18 Pedro Alves <palves@redhat.com>
3814 * gdb.base/fileio.c (test_write, test_read, test_close)
3815 (test_fstat): Don't print 'ret' in the fail path.
3817 2017-05-18 Pedro Alves <palves@redhat.com>
3819 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3820 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3821 (test_system, test_rename, test_unlink, test_time): Change
3823 * gdb.base/fileio.exp (stop_msg): Adjust.
3825 2017-05-18 Pedro Alves <palves@redhat.com>
3827 * gdb.base/fileio.c (null_str): New global.
3828 (test_stat): Use it.
3829 * gdb.base/fileio.exp: Remove nowarnings.
3831 2017-05-17 Yao Qi <yao.qi@linaro.org>
3833 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3835 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
3837 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3839 (top-level): Invoke test_set_inferior_tty.
3841 2017-05-04 Pedro Alves <palves@redhat.com>
3843 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3844 Add parens to print call for Python 3.
3846 2017-05-03 Keith Seitz <keiths@redhat.com>
3848 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3851 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3853 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3856 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3858 * gdb.python/py-record-btrace.exp: Remove test for
3859 gdb.BtraceInstruction.error.
3861 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3863 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3865 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3867 * gdb.python/py-record-btrace-threads.c: New file.
3868 * gdb.python/py-record-btrace-threads.exp: New file.
3870 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3873 * gdb.base/environ.exp: Make test available in all architectures.
3874 Move bits related to "info program" testing to
3875 gdb.base/info-program.exp. Rewrite tests to use the two new
3876 procedures mentione below.
3877 (test_set_show_env_var) New procedure.
3878 (test_set_show_env_var_equal): Likewise.
3879 * gdb.base/info-program.exp: New file.
3881 2017-04-27 Keith Seitz <keiths@redhat.com>
3883 * gdb.cp/oranking.cc (test15): New function.
3884 (main): Call test15 and declare additional variables for testing.
3885 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3886 "p foo101('abc')" tests.
3887 Add tests for cv qualifier overloads.
3888 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3889 "lvalue reference overload" test.
3890 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3891 "print value of f1 on Child&& in f2" test.
3893 2017-04-19 Pedro Alves <palves@redhat.com>
3895 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3897 (top level): Call it.
3898 * lib/gdb.exp (gdb_define_cmd): New procedure.
3900 2017-04-12 Pedro Alves <palves@redhat.com>
3903 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3904 (wchar): New global.
3905 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3906 (do_test_wide_char, wide_char_types_no_program, top level): Add
3909 2017-04-12 Pedro Alves <palves@redhat.com>
3912 * gdb.cp/wide_char_types.c: New file.
3913 * gdb.cp/wide_char_types.exp: New file.
3915 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3918 * gdb.trace/tsv.exp: Add test for "tsave -r".
3920 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3922 * gdb.dlang/watch-loc.c: New file.
3923 * gdb.dlang/watch-loc.exp: New file.
3925 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3927 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3929 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3931 * gdb.arch/arc-analyze-prologue.S: New file.
3932 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3934 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3936 * gdb.arch/arc-decode-insn.S: New file.
3937 * gdb.arch/arc-decode-insn.exp: Likewise.
3939 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3942 * gdb.arch/sparc64-regs.exp: New file.
3943 * gdb.arch/sparc64-regs.S: Likewise.
3945 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3947 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3948 and memory view on Python 3.
3950 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
3951 Keith Seitz <keiths@redhat.com>
3954 * gdb.cp/demangle.exp: Add rvalue reference tests.
3955 * gdb.cp/rvalue-ref-casts.cc: New file.
3956 * gdb.cp/rvalue-ref-casts.exp: New file.
3957 * gdb.cp/rvalue-ref-overload.cc: New file.
3958 * gdb.cp/rvalue-ref-overload.exp: New file.
3959 * gdb.cp/rvalue-ref-params.cc: New file.
3960 * gdb.cp/rvalue-ref-params.exp: New file.
3961 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3962 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3963 * gdb.cp/rvalue-ref-types.cc: New file.
3964 * gdb.cp/rvalue-ref-types.exp: New file.
3965 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3966 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3968 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3970 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3973 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3975 * lib/mi-support.exp (mi_gdb_test): Add additional message
3976 for unexpected output.
3978 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3980 * gdb.base/examine-backward.c (Barrier): New character array
3981 constant, to ensure that TestStrings is preceded by a string
3984 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3986 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3987 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3988 and implicit pointer into such a location.
3990 2017-03-16 Doug Evans <dje@google.com>
3992 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3994 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3996 * gdb.cp/m-static.exp: Fix expectation for prototype of
3997 test5.single_constructor and single_constructor::single_constructor.
3999 2017-03-16 Doug Evans <dje@google.com>
4001 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4002 * gdb.guile/scm-lazy-string.c: New file.
4003 * gdb.guile/scm-value.exp: Move lazy string tests to ...
4004 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
4005 for pointer, array, typedef lazy strings.
4007 2017-03-16 Doug Evans <dje@google.com>
4009 PR python/17728, python/18439, python/18779
4010 * gdb.python/py-value.c (main) Delete locals sptr, sn.
4011 * gdb.python/py-lazy-string.c (pointer): New typedef.
4012 (main): New locals ptr, array, typedef_ptr.
4013 * gdb.python/py-value.exp: Move lazy string tests to ...
4014 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
4015 array, typedef lazy strings.
4017 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
4019 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4020 Add optional 'test' parameter.
4022 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4024 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4025 Skip for versions of DejaGnu < 1.5.
4027 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4029 * lib/gdb.exp (dejagnu_version): New proc.
4030 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4031 Use dejagnu_version.
4033 2017-03-10 Keith Seitz <keiths@redhat.com>
4036 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4037 type from destructor regexps.
4038 Add a branch which actually passes the test.
4039 Adjust "ptype t5i" test names.
4041 2017-03-08 Pedro Alves <palves@redhat.com>
4043 * gdb.base/step-over-exit.exp: Add explicit test message.
4045 2017-03-08 Pedro Alves <palves@redhat.com>
4048 * gdb.threads/interrupt-while-step-over.c: New file.
4049 * gdb.threads/interrupt-while-step-over.exp: New file.
4051 2017-03-08 Pedro Alves <palves@redhat.com>
4053 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4054 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4056 2017-03-08 Pedro Alves <palves@redhat.com>
4058 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4059 PKRU as not supported as a PASS.
4061 2017-03-08 Pedro Alves <palves@redhat.com>
4063 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4064 prefix instead of $binfile1/$binfile2.
4065 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4067 * gdb.python/py-completion.exp: Use "load python file" as test
4068 messages instead of unstable path names.
4070 2017-03-08 Pedro Alves <palves@redhat.com>
4071 Jan Kratochvil <jan.kratochvil@redhat.com>
4074 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4076 (top level): Call it.
4078 2017-03-08 Pedro Alves <palves@redhat.com>
4081 * gdb.tui/tui-nl-filtered-output.exp: New file.
4083 2017-03-08 Pedro Alves <palves@redhat.com>
4085 * gdb.base/completion.exp: Move TUI completion tests to ...
4086 * gdb.tui/completion.exp: ... this new file.
4088 2017-03-08 Pedro Alves <palves@redhat.com>
4090 * gdb.base/tui-disasm-long-lines.c,
4091 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4092 gdb.base/tui-layout.exp: Move to ...
4093 * gdb.tui/: ... this new directory.
4095 2017-03-07 Pedro Alves <palves@redhat.com>
4097 * gdb.base/tui-layout.c: New file.
4098 * gdb.base/tui-layout.exp: New file.
4100 2017-03-07 Pedro Alves <palves@redhat.com>
4102 * gdb.base/tui-layout.c: Rename to ...
4103 * gdb.base/tui-disasm-long-lines.c: ... this.
4104 * gdb.base/tui-layout.exp: Rename to ...
4105 * gdb.base/tui-disasm-long-lines.exp: ... this.
4107 2017-03-07 Pedro Alves <palves@redhat.com>
4109 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4111 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4113 * i386-mpx-call.c: New file.
4114 * i386-mpx-call.exp: New file.
4116 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
4118 * gdb.arch/powerpc-power.exp: Delete test.
4119 * gdb.arch/powerpc-power.s: Likewise.
4120 * gdb.disasm/disassembler-options.exp: New test.
4121 * gdb.arch/powerpc-altivec.exp: Likewise.
4122 * gdb.arch/powerpc-altivec.s: Likewise.
4123 * gdb.arch/powerpc-altivec2.exp: Likewise.
4124 * gdb.arch/powerpc-altivec2.s: Likewise.
4125 * gdb.arch/powerpc-altivec3.exp: Likewise.
4126 * gdb.arch/powerpc-altivec3.s: Likewise.
4127 * gdb.arch/powerpc-power7.exp: Likewise.
4128 * gdb.arch/powerpc-power7.s: Likewise.
4129 * gdb.arch/powerpc-power8.exp: Likewise.
4130 * gdb.arch/powerpc-power8.s: Likewise.
4131 * gdb.arch/powerpc-power9.exp: Likewise.
4132 * gdb.arch/powerpc-power9.s: Likewise.
4133 * gdb.arch/powerpc-vsx.exp: Likewise.
4134 * gdb.arch/powerpc-vsx.s: Likewise.
4135 * gdb.arch/powerpc-vsx2.exp: Likewise.
4136 * gdb.arch/powerpc-vsx2.s: Likewise.
4137 * gdb.arch/powerpc-vsx3.exp: Likewise.
4138 * gdb.arch/powerpc-vsx3.s: Likewise.
4139 * gdb.arch/arm-disassembler-options.exp: Likewise.
4140 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4141 * gdb.arch/s390-disassembler-options.exp: Likewise.
4143 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
4145 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4146 (check_supported_features): ... this. Changed return type to void.
4147 (supports_rdseed): New static global.
4148 (rdseed): Check supports_rdseed.
4149 (initialize): Call check_supported_features.
4151 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4153 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4154 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
4156 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4157 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4159 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4161 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4164 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4166 * gdb.dwarf2/formdata16.c: New file.
4167 * gdb.dwarf2/formdata16.exp: New file.
4168 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4170 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4172 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4173 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4174 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4175 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4178 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4180 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4182 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
4185 * gdb.base/maint.exp: Add testcases for when the commands do
4188 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
4190 * gdb.cp/chained-calls.exp: Use p instead of P.
4192 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
4194 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4195 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4197 2017-02-14 Tom Tromey <tom@tromey.com>
4200 * gdb.python/py-events.exp: Add before_prompt event tests.
4202 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4204 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4206 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4208 * gdb.linespec/explicit.c (my_unique_function_name): New function.
4209 (main): Call my_unique_function_name.
4210 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4211 completion of patterns with a single match.
4212 Add missing -re switches to gdb_test_multiple calls.
4214 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4216 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4217 return if core file is not recognized.
4219 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4221 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4224 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4226 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4229 2017-02-10 Tom Tromey <tom@tromey.com>
4231 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4233 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
4236 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4238 2017-02-08 Jerome Guitton <guitton@adacore.com>
4240 * gdb.base/define.exp: Add test for command abbreviations
4243 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
4245 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4246 * gdb.reverse/insn-reverse-x86.c: New file.
4248 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
4251 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4253 2017-02-03 Tom Tromey <tom@tromey.com>
4256 * gdb.rust/simple.exp: Add new tests.
4258 2017-02-02 Pedro Alves <palves@redhat.com>
4260 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4263 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4265 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4266 taking a 2-byte value out of a 4-byte DWARF implicit value on
4268 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4269 logic. Add test cases for DW_OP_implicit.
4271 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4273 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4275 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4277 * gdb.btrace/enable.exp: Call gdb_exit before
4278 skip_gdbserver_tests.
4280 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4282 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4285 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4287 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4288 the test is skipped.
4289 * gdb.btrace/data.exp: Likewise.
4290 * gdb.btrace/delta.exp: Likewise.
4291 * gdb.btrace/dlopen.exp: Likewise.
4292 * gdb.btrace/enable-running.exp: Likewise.
4293 * gdb.btrace/enable.exp: Likewise.
4294 * gdb.btrace/exception.exp: Likewise.
4295 * gdb.btrace/function_call_history.exp: Likewise.
4296 * gdb.btrace/gcore.exp: Likewise.
4297 * gdb.btrace/instruction_history.exp: Likewise.
4298 * gdb.btrace/multi-thread-step.exp: Likewise.
4299 * gdb.btrace/nohist.exp: Likewise.
4300 * gdb.btrace/non-stop.exp: Likewise.
4301 * gdb.btrace/reconnect.exp: Likewise.
4302 * gdb.btrace/record_goto-step.exp: Likewise.
4303 * gdb.btrace/record_goto.exp: Likewise.
4304 * gdb.btrace/rn-dl-bind.exp: Likewise.
4305 * gdb.btrace/segv.exp: Likewise.
4306 * gdb.btrace/step.exp: Likewise.
4307 * gdb.btrace/stepi.exp: Likewise.
4308 * gdb.btrace/tailcall-only.exp: Likewise.
4309 * gdb.btrace/tailcall.exp: Likewise.
4310 * gdb.btrace/tsx.exp: Likewise.
4311 * gdb.btrace/unknown_functions.exp: Likewise.
4312 * gdb.btrace/vdso.exp: Likewise.
4314 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4316 * gdb.btrace/enable-running.c: New.
4317 * gdb.btrace/enable-running.exp: New.
4319 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
4321 * gdb.arch/amd64-gs_base.c: New file.
4322 * gdb.arch/amd64-gs_base.exp: New file.
4324 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4326 * lib/memory.exp: Remove spurious empty newlines.
4328 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
4330 * gdb.python/py-bad-printers.exp: Load python file using "source".
4331 * gdb.python/py-events.exp: Likewise.
4332 * gdb.python/py-evsignal.exp: Likewise.
4333 * gdb.python/py-evthreads.exp: Likewise.
4334 * gdb.python/py-frame-args.exp: Likewise.
4335 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4336 * gdb.python/py-framefilter-mi.exp: Likewise.
4337 * gdb.python/py-framefilter.exp: Likewise.
4338 * gdb.python/py-mi.exp: Likewise.
4339 * gdb.python/py-pp-maint.exp: Likewise.
4340 * gdb.python/py-pp-registration.exp: Likewise.
4341 * gdb.python/py-prettyprint.exp: Likewise.
4342 (run_lang_tests): Likewise.
4343 * gdb.python/py-typeprint.exp: Likewise.
4345 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4347 * lib/memory.exp: New file.
4348 * lib/gdb.exp: Load memory.exp.
4349 * gdb.base/memattr.exp (delete_memory): Move proc to
4350 lib/memory.exp and rename to delete_memory_regions.
4351 Replace delete_memory with delete_memory_regions.
4352 Cleanup memory regions before tests.
4353 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4356 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4358 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4360 (initialize): New function conditionally defined.
4361 (testcases): Move within conditional block.
4362 (main): Call initialize.
4363 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4364 of gdb.reverse/insn-reverse.c.
4365 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4366 gdb.reverse/insn-reverse.c.
4368 2017-01-26 Yao Qi <yao.qi@linaro.org>
4370 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4371 disassemble on address 0.
4373 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
4374 Yao Qi <yao.qi@linaro.org>
4376 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4377 * gdb.dwarf2/implptr-64bit.S: Remove.
4378 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
4379 variables in caller's context. Add DW_OP_implicit_value.
4381 2017-01-25 Yao Qi <yao.qi@linaro.org>
4383 * lib/dwarf.exp (Dwarf::_location): Handle
4384 DW_OP_GNU_implicit_pointer with proper size.
4386 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4388 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4389 and add untested calls.
4391 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4393 * gdb.python/python.exp: Check line number against what GDB thinks
4394 the line number is for func1.
4396 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
4398 * gdb.dlang/debug-expr.exp: New file.
4400 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
4402 Fix test names for the following files:
4404 * gdb.ada/exec_changed.exp
4405 * gdb.ada/info_types.exp
4406 * gdb.arch/aarch64-atomic-inst.exp
4407 * gdb.arch/aarch64-fp.exp
4408 * gdb.arch/altivec-abi.exp
4409 * gdb.arch/altivec-regs.exp
4410 * gdb.arch/amd64-byte.exp
4411 * gdb.arch/amd64-disp-step.exp
4412 * gdb.arch/amd64-dword.exp
4413 * gdb.arch/amd64-entry-value-inline.exp
4414 * gdb.arch/amd64-entry-value-param.exp
4415 * gdb.arch/amd64-entry-value-paramref.exp
4416 * gdb.arch/amd64-entry-value.exp
4417 * gdb.arch/amd64-i386-address.exp
4418 * gdb.arch/amd64-invalid-stack-middle.exp
4419 * gdb.arch/amd64-invalid-stack-top.exp
4420 * gdb.arch/amd64-optimout-repeat.exp
4421 * gdb.arch/amd64-prologue-skip.exp
4422 * gdb.arch/amd64-prologue-xmm.exp
4423 * gdb.arch/amd64-stap-special-operands.exp
4424 * gdb.arch/amd64-stap-wrong-subexp.exp
4425 * gdb.arch/amd64-tailcall-cxx.exp
4426 * gdb.arch/amd64-tailcall-noret.exp
4427 * gdb.arch/amd64-tailcall-ret.exp
4428 * gdb.arch/amd64-tailcall-self.exp
4429 * gdb.arch/amd64-word.exp
4430 * gdb.arch/arm-bl-branch-dest.exp
4431 * gdb.arch/arm-disp-step.exp
4432 * gdb.arch/arm-neon.exp
4433 * gdb.arch/arm-single-step-kernel-helper.exp
4434 * gdb.arch/avr-flash-qualifier.exp
4435 * gdb.arch/disp-step-insn-reloc.exp
4436 * gdb.arch/e500-abi.exp
4437 * gdb.arch/e500-regs.exp
4438 * gdb.arch/ftrace-insn-reloc.exp
4439 * gdb.arch/i386-avx512.exp
4440 * gdb.arch/i386-bp_permanent.exp
4441 * gdb.arch/i386-byte.exp
4442 * gdb.arch/i386-cfi-notcurrent.exp
4443 * gdb.arch/i386-disp-step.exp
4444 * gdb.arch/i386-dr3-watch.exp
4445 * gdb.arch/i386-float.exp
4446 * gdb.arch/i386-gnu-cfi.exp
4447 * gdb.arch/i386-mpx-map.exp
4448 * gdb.arch/i386-mpx-sigsegv.exp
4449 * gdb.arch/i386-mpx-simple_segv.exp
4450 * gdb.arch/i386-mpx.exp
4451 * gdb.arch/i386-permbkpt.exp
4452 * gdb.arch/i386-prologue.exp
4453 * gdb.arch/i386-signal.exp
4454 * gdb.arch/i386-size-overlap.exp
4455 * gdb.arch/i386-unwind.exp
4456 * gdb.arch/i386-word.exp
4457 * gdb.arch/mips-fcr.exp
4458 * gdb.arch/powerpc-d128-regs.exp
4459 * gdb.arch/powerpc-stackless.exp
4460 * gdb.arch/ppc64-atomic-inst.exp
4461 * gdb.arch/s390-stackless.exp
4462 * gdb.arch/s390-tdbregs.exp
4463 * gdb.arch/s390-vregs.exp
4464 * gdb.arch/sparc-sysstep.exp
4465 * gdb.arch/thumb-bx-pc.exp
4466 * gdb.arch/thumb-singlestep.exp
4467 * gdb.arch/thumb2-it.exp
4468 * gdb.arch/vsx-regs.exp
4469 * gdb.asm/asm-source.exp
4470 * gdb.base/a2-run.exp
4471 * gdb.base/advance.exp
4472 * gdb.base/all-bin.exp
4475 * gdb.base/arithmet.exp
4476 * gdb.base/async-shell.exp
4477 * gdb.base/async.exp
4478 * gdb.base/attach-pie-noexec.exp
4479 * gdb.base/attach-twice.exp
4480 * gdb.base/auto-load.exp
4482 * gdb.base/bitfields.exp
4483 * gdb.base/break-always.exp
4484 * gdb.base/break-caller-line.exp
4485 * gdb.base/break-entry.exp
4486 * gdb.base/break-inline.exp
4487 * gdb.base/break-on-linker-gcd-function.exp
4488 * gdb.base/break-probes.exp
4489 * gdb.base/break.exp
4490 * gdb.base/breakpoint-shadow.exp
4491 * gdb.base/call-ar-st.exp
4492 * gdb.base/call-sc.exp
4493 * gdb.base/call-signal-resume.exp
4494 * gdb.base/call-strs.exp
4495 * gdb.base/callfuncs.exp
4496 * gdb.base/catch-fork-static.exp
4497 * gdb.base/catch-gdb-caused-signals.exp
4498 * gdb.base/catch-load.exp
4499 * gdb.base/catch-signal-fork.exp
4500 * gdb.base/catch-signal.exp
4501 * gdb.base/catch-syscall.exp
4502 * gdb.base/charset.exp
4503 * gdb.base/checkpoint.exp
4504 * gdb.base/chng-syms.exp
4505 * gdb.base/code-expr.exp
4506 * gdb.base/code_elim.exp
4507 * gdb.base/commands.exp
4508 * gdb.base/completion.exp
4509 * gdb.base/complex.exp
4510 * gdb.base/cond-expr.exp
4511 * gdb.base/condbreak.exp
4512 * gdb.base/consecutive.exp
4513 * gdb.base/continue-all-already-running.exp
4514 * gdb.base/coredump-filter.exp
4515 * gdb.base/corefile.exp
4517 * gdb.base/debug-expr.exp
4518 * gdb.base/define.exp
4520 * gdb.base/disabled-location.exp
4521 * gdb.base/disasm-end-cu.exp
4522 * gdb.base/disasm-optim.exp
4523 * gdb.base/display.exp
4524 * gdb.base/duplicate-bp.exp
4525 * gdb.base/ena-dis-br.exp
4526 * gdb.base/ending-run.exp
4527 * gdb.base/enumval.exp
4528 * gdb.base/environ.exp
4529 * gdb.base/eu-strip-infcall.exp
4530 * gdb.base/eval-avoid-side-effects.exp
4531 * gdb.base/eval-skip.exp
4532 * gdb.base/exitsignal.exp
4533 * gdb.base/expand-psymtabs.exp
4534 * gdb.base/filesym.exp
4535 * gdb.base/find-unmapped.exp
4536 * gdb.base/finish.exp
4537 * gdb.base/float.exp
4538 * gdb.base/foll-exec-mode.exp
4539 * gdb.base/foll-exec.exp
4540 * gdb.base/foll-fork.exp
4541 * gdb.base/fortran-sym-case.exp
4542 * gdb.base/freebpcmd.exp
4543 * gdb.base/func-ptr.exp
4544 * gdb.base/func-ptrs.exp
4545 * gdb.base/funcargs.exp
4546 * gdb.base/gcore-buffer-overflow.exp
4547 * gdb.base/gcore-relro-pie.exp
4548 * gdb.base/gcore-relro.exp
4549 * gdb.base/gcore.exp
4550 * gdb.base/gdb1090.exp
4551 * gdb.base/gdb11530.exp
4552 * gdb.base/gdb11531.exp
4553 * gdb.base/gdb1821.exp
4554 * gdb.base/gdbindex-stabs.exp
4555 * gdb.base/gdbvars.exp
4556 * gdb.base/hbreak.exp
4557 * gdb.base/hbreak2.exp
4558 * gdb.base/included.exp
4559 * gdb.base/infcall-input.exp
4560 * gdb.base/inferior-died.exp
4561 * gdb.base/infnan.exp
4562 * gdb.base/info-macros.exp
4563 * gdb.base/info-os.exp
4564 * gdb.base/info-proc.exp
4565 * gdb.base/info-shared.exp
4566 * gdb.base/info-target.exp
4567 * gdb.base/infoline.exp
4568 * gdb.base/interp.exp
4569 * gdb.base/interrupt.exp
4570 * gdb.base/jit-reader.exp
4571 * gdb.base/jit-simple.exp
4572 * gdb.base/kill-after-signal.exp
4573 * gdb.base/kill-detach-inferiors-cmd.exp
4574 * gdb.base/label.exp
4575 * gdb.base/langs.exp
4576 * gdb.base/ldbl_e308.exp
4577 * gdb.base/line-symtabs.exp
4578 * gdb.base/linespecs.exp
4580 * gdb.base/long_long.exp
4581 * gdb.base/longest-types.exp
4582 * gdb.base/maint.exp
4583 * gdb.base/max-value-size.exp
4584 * gdb.base/memattr.exp
4585 * gdb.base/mips_pro.exp
4586 * gdb.base/morestack.exp
4587 * gdb.base/moribund-step.exp
4588 * gdb.base/multi-forks.exp
4589 * gdb.base/nested-addr.exp
4590 * gdb.base/nextoverexit.exp
4591 * gdb.base/noreturn-finish.exp
4592 * gdb.base/noreturn-return.exp
4593 * gdb.base/nostdlib.exp
4594 * gdb.base/offsets.exp
4595 * gdb.base/opaque.exp
4596 * gdb.base/pc-fp.exp
4597 * gdb.base/permissions.exp
4598 * gdb.base/print-symbol-loading.exp
4599 * gdb.base/prologue-include.exp
4600 * gdb.base/psymtab.exp
4601 * gdb.base/ptype.exp
4602 * gdb.base/random-signal.exp
4603 * gdb.base/randomize.exp
4604 * gdb.base/range-stepping.exp
4605 * gdb.base/readline-ask.exp
4606 * gdb.base/recpar.exp
4607 * gdb.base/recurse.exp
4608 * gdb.base/relational.exp
4609 * gdb.base/restore.exp
4610 * gdb.base/return-nodebug.exp
4611 * gdb.base/return.exp
4612 * gdb.base/run-after-attach.exp
4613 * gdb.base/save-bp.exp
4614 * gdb.base/scope.exp
4615 * gdb.base/sect-cmd.exp
4616 * gdb.base/set-lang-auto.exp
4617 * gdb.base/set-noassign.exp
4618 * gdb.base/setvar.exp
4619 * gdb.base/sigall.exp
4620 * gdb.base/sigbpt.exp
4621 * gdb.base/siginfo-addr.exp
4622 * gdb.base/siginfo-infcall.exp
4623 * gdb.base/siginfo-obj.exp
4624 * gdb.base/siginfo.exp
4625 * gdb.base/signals-state-child.exp
4626 * gdb.base/signest.exp
4627 * gdb.base/sigstep.exp
4628 * gdb.base/sizeof.exp
4630 * gdb.base/solib-corrupted.exp
4631 * gdb.base/solib-nodir.exp
4632 * gdb.base/solib-search.exp
4633 * gdb.base/stack-checking.exp
4634 * gdb.base/stale-infcall.exp
4635 * gdb.base/stap-probe.exp
4636 * gdb.base/start.exp
4637 * gdb.base/step-break.exp
4638 * gdb.base/step-bt.exp
4639 * gdb.base/step-line.exp
4640 * gdb.base/step-over-exit.exp
4641 * gdb.base/step-over-syscall.exp
4642 * gdb.base/step-resume-infcall.exp
4643 * gdb.base/step-test.exp
4644 * gdb.base/store.exp
4645 * gdb.base/structs3.exp
4646 * gdb.base/sym-file.exp
4647 * gdb.base/symbol-without-target_section.exp
4649 * gdb.base/testenv.exp
4650 * gdb.base/ui-redirect.exp
4651 * gdb.base/until.exp
4652 * gdb.base/unwindonsignal.exp
4653 * gdb.base/value-double-free.exp
4654 * gdb.base/vla-datatypes.exp
4655 * gdb.base/vla-ptr.exp
4656 * gdb.base/vla-sideeffect.exp
4657 * gdb.base/volatile.exp
4658 * gdb.base/watch-cond-infcall.exp
4659 * gdb.base/watch-cond.exp
4660 * gdb.base/watch-non-mem.exp
4661 * gdb.base/watch-read.exp
4662 * gdb.base/watch-vfork.exp
4663 * gdb.base/watchpoint-cond-gone.exp
4664 * gdb.base/watchpoint-delete.exp
4665 * gdb.base/watchpoint-hw-hit-once.exp
4666 * gdb.base/watchpoint-hw.exp
4667 * gdb.base/watchpoint-stops-at-right-insn.exp
4668 * gdb.base/watchpoints.exp
4669 * gdb.base/wchar.exp
4670 * gdb.base/whatis-exp.exp
4671 * gdb.btrace/buffer-size.exp
4672 * gdb.btrace/data.exp
4673 * gdb.btrace/delta.exp
4674 * gdb.btrace/dlopen.exp
4675 * gdb.btrace/enable.exp
4676 * gdb.btrace/exception.exp
4677 * gdb.btrace/function_call_history.exp
4678 * gdb.btrace/gcore.exp
4679 * gdb.btrace/instruction_history.exp
4680 * gdb.btrace/nohist.exp
4681 * gdb.btrace/reconnect.exp
4682 * gdb.btrace/record_goto-step.exp
4683 * gdb.btrace/record_goto.exp
4684 * gdb.btrace/rn-dl-bind.exp
4685 * gdb.btrace/segv.exp
4686 * gdb.btrace/step.exp
4687 * gdb.btrace/stepi.exp
4688 * gdb.btrace/tailcall-only.exp
4689 * gdb.btrace/tailcall.exp
4690 * gdb.btrace/tsx.exp
4691 * gdb.btrace/unknown_functions.exp
4692 * gdb.btrace/vdso.exp
4693 * gdb.compile/compile-ifunc.exp
4694 * gdb.compile/compile-ops.exp
4695 * gdb.compile/compile-print.exp
4696 * gdb.compile/compile-setjmp.exp
4697 * gdb.cp/abstract-origin.exp
4698 * gdb.cp/ambiguous.exp
4699 * gdb.cp/annota2.exp
4700 * gdb.cp/annota3.exp
4701 * gdb.cp/anon-ns.exp
4702 * gdb.cp/anon-struct.exp
4703 * gdb.cp/anon-union.exp
4704 * gdb.cp/arg-reference.exp
4705 * gdb.cp/baseenum.exp
4707 * gdb.cp/breakpoint.exp
4708 * gdb.cp/bs15503.exp
4711 * gdb.cp/chained-calls.exp
4713 * gdb.cp/classes.exp
4714 * gdb.cp/cmpd-minsyms.exp
4715 * gdb.cp/converts.exp
4716 * gdb.cp/cp-relocate.exp
4717 * gdb.cp/cpcompletion.exp
4718 * gdb.cp/cpexprs.exp
4719 * gdb.cp/cplabel.exp
4720 * gdb.cp/cplusfuncs.exp
4721 * gdb.cp/cpsizeof.exp
4723 * gdb.cp/derivation.exp
4724 * gdb.cp/destrprint.exp
4725 * gdb.cp/dispcxx.exp
4726 * gdb.cp/enum-class.exp
4727 * gdb.cp/exception.exp
4728 * gdb.cp/exceptprint.exp
4729 * gdb.cp/expand-psymtabs-cxx.exp
4730 * gdb.cp/expand-sals.exp
4731 * gdb.cp/extern-c.exp
4732 * gdb.cp/filename.exp
4733 * gdb.cp/formatted-ref.exp
4734 * gdb.cp/fpointer.exp
4735 * gdb.cp/gdb1355.exp
4736 * gdb.cp/gdb2495.exp
4738 * gdb.cp/impl-this.exp
4739 * gdb.cp/infcall-dlopen.exp
4740 * gdb.cp/inherit.exp
4741 * gdb.cp/iostream.exp
4745 * gdb.cp/m-static.exp
4746 * gdb.cp/mb-ctor.exp
4747 * gdb.cp/mb-inline.exp
4748 * gdb.cp/mb-templates.exp
4749 * gdb.cp/member-name.exp
4750 * gdb.cp/member-ptr.exp
4751 * gdb.cp/meth-typedefs.exp
4753 * gdb.cp/method2.exp
4754 * gdb.cp/minsym-fallback.exp
4756 * gdb.cp/namelessclass.exp
4757 * gdb.cp/namespace-enum.exp
4758 * gdb.cp/namespace-nested-import.exp
4759 * gdb.cp/namespace.exp
4760 * gdb.cp/nextoverthrow.exp
4761 * gdb.cp/no-dmgl-verbose.exp
4762 * gdb.cp/non-trivial-retval.exp
4763 * gdb.cp/noparam.exp
4765 * gdb.cp/nsimport.exp
4766 * gdb.cp/nsnested.exp
4767 * gdb.cp/nsnoimports.exp
4768 * gdb.cp/nsrecurs.exp
4769 * gdb.cp/nsstress.exp
4770 * gdb.cp/nsusing.exp
4771 * gdb.cp/operator.exp
4772 * gdb.cp/oranking.exp
4773 * gdb.cp/overload-const.exp
4774 * gdb.cp/overload.exp
4775 * gdb.cp/ovldbreak.exp
4777 * gdb.cp/paren-type.exp
4778 * gdb.cp/parse-lang.exp
4779 * gdb.cp/pass-by-ref.exp
4780 * gdb.cp/pr-1023.exp
4781 * gdb.cp/pr-1210.exp
4783 * gdb.cp/pr10687.exp
4784 * gdb.cp/pr12028.exp
4785 * gdb.cp/pr17132.exp
4786 * gdb.cp/pr17494.exp
4790 * gdb.cp/printmethod.exp
4792 * gdb.cp/psymtab-parameter.exp
4793 * gdb.cp/ptype-cv-cp.exp
4794 * gdb.cp/ptype-flags.exp
4795 * gdb.cp/re-set-overloaded.exp
4796 * gdb.cp/ref-types.exp
4798 * gdb.cp/scope-err.exp
4801 * gdb.cp/static-method.exp
4802 * gdb.cp/static-print-quit.exp
4803 * gdb.cp/temargs.exp
4804 * gdb.cp/templates.exp
4805 * gdb.cp/try_catch.exp
4806 * gdb.cp/typedef-operator.exp
4808 * gdb.cp/userdef.exp
4809 * gdb.cp/using-crash.exp
4810 * gdb.cp/var-tag.exp
4811 * gdb.cp/virtbase.exp
4812 * gdb.cp/virtfunc.exp
4813 * gdb.cp/virtfunc2.exp
4814 * gdb.cp/vla-cxx.exp
4815 * gdb.disasm/t01_mov.exp
4816 * gdb.disasm/t02_mova.exp
4817 * gdb.disasm/t03_add.exp
4818 * gdb.disasm/t04_sub.exp
4819 * gdb.disasm/t05_cmp.exp
4820 * gdb.disasm/t06_ari2.exp
4821 * gdb.disasm/t07_ari3.exp
4822 * gdb.disasm/t08_or.exp
4823 * gdb.disasm/t09_xor.exp
4824 * gdb.disasm/t10_and.exp
4825 * gdb.disasm/t11_logs.exp
4826 * gdb.disasm/t12_bit.exp
4827 * gdb.disasm/t13_otr.exp
4828 * gdb.dlang/circular.exp
4829 * gdb.dwarf2/arr-stride.exp
4830 * gdb.dwarf2/arr-subrange.exp
4831 * gdb.dwarf2/atomic-type.exp
4832 * gdb.dwarf2/bad-regnum.exp
4833 * gdb.dwarf2/bitfield-parent-optimized-out.exp
4834 * gdb.dwarf2/callframecfa.exp
4835 * gdb.dwarf2/clztest.exp
4836 * gdb.dwarf2/corrupt.exp
4837 * gdb.dwarf2/data-loc.exp
4838 * gdb.dwarf2/dup-psym.exp
4839 * gdb.dwarf2/dw2-anon-mptr.exp
4840 * gdb.dwarf2/dw2-anonymous-func.exp
4841 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4842 * gdb.dwarf2/dw2-bad-unresolved.exp
4843 * gdb.dwarf2/dw2-basic.exp
4844 * gdb.dwarf2/dw2-canonicalize-type.exp
4845 * gdb.dwarf2/dw2-case-insensitive.exp
4846 * gdb.dwarf2/dw2-common-block.exp
4847 * gdb.dwarf2/dw2-compdir-oldgcc.exp
4848 * gdb.dwarf2/dw2-compressed.exp
4849 * gdb.dwarf2/dw2-const.exp
4850 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4851 * gdb.dwarf2/dw2-cu-size.exp
4852 * gdb.dwarf2/dw2-dup-frame.exp
4853 * gdb.dwarf2/dw2-entry-value.exp
4854 * gdb.dwarf2/dw2-icycle.exp
4855 * gdb.dwarf2/dw2-ifort-parameter.exp
4856 * gdb.dwarf2/dw2-inline-break.exp
4857 * gdb.dwarf2/dw2-inline-param.exp
4858 * gdb.dwarf2/dw2-intercu.exp
4859 * gdb.dwarf2/dw2-intermix.exp
4860 * gdb.dwarf2/dw2-lexical-block-bare.exp
4861 * gdb.dwarf2/dw2-linkage-name-trust.exp
4862 * gdb.dwarf2/dw2-minsym-in-cu.exp
4863 * gdb.dwarf2/dw2-noloc.exp
4864 * gdb.dwarf2/dw2-op-call.exp
4865 * gdb.dwarf2/dw2-op-out-param.exp
4866 * gdb.dwarf2/dw2-opt-structptr.exp
4867 * gdb.dwarf2/dw2-param-error.exp
4868 * gdb.dwarf2/dw2-producer.exp
4869 * gdb.dwarf2/dw2-ranges-base.exp
4870 * gdb.dwarf2/dw2-ref-missing-frame.exp
4871 * gdb.dwarf2/dw2-reg-undefined.exp
4872 * gdb.dwarf2/dw2-regno-invalid.exp
4873 * gdb.dwarf2/dw2-restore.exp
4874 * gdb.dwarf2/dw2-restrict.exp
4875 * gdb.dwarf2/dw2-single-line-discriminators.exp
4876 * gdb.dwarf2/dw2-strp.exp
4877 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4878 * gdb.dwarf2/dw2-unresolved.exp
4879 * gdb.dwarf2/dw2-var-zero-addr.exp
4880 * gdb.dwarf2/dw4-sig-types.exp
4881 * gdb.dwarf2/dwz.exp
4882 * gdb.dwarf2/dynarr-ptr.exp
4883 * gdb.dwarf2/enum-type.exp
4884 * gdb.dwarf2/gdb-index.exp
4885 * gdb.dwarf2/implptr-64bit.exp
4886 * gdb.dwarf2/implptr-optimized-out.exp
4887 * gdb.dwarf2/implptr.exp
4888 * gdb.dwarf2/implref-array.exp
4889 * gdb.dwarf2/implref-const.exp
4890 * gdb.dwarf2/implref-global.exp
4891 * gdb.dwarf2/implref-struct.exp
4892 * gdb.dwarf2/mac-fileno.exp
4893 * gdb.dwarf2/main-subprogram.exp
4894 * gdb.dwarf2/member-ptr-forwardref.exp
4895 * gdb.dwarf2/method-ptr.exp
4896 * gdb.dwarf2/missing-sig-type.exp
4897 * gdb.dwarf2/nonvar-access.exp
4898 * gdb.dwarf2/opaque-type-lookup.exp
4899 * gdb.dwarf2/pieces-optimized-out.exp
4900 * gdb.dwarf2/pieces.exp
4901 * gdb.dwarf2/pr10770.exp
4902 * gdb.dwarf2/pr13961.exp
4903 * gdb.dwarf2/staticvirtual.exp
4904 * gdb.dwarf2/subrange.exp
4905 * gdb.dwarf2/symtab-producer.exp
4906 * gdb.dwarf2/trace-crash.exp
4907 * gdb.dwarf2/typeddwarf.exp
4908 * gdb.dwarf2/valop.exp
4909 * gdb.dwarf2/watch-notconst.exp
4910 * gdb.fortran/array-element.exp
4911 * gdb.fortran/charset.exp
4912 * gdb.fortran/common-block.exp
4913 * gdb.fortran/complex.exp
4914 * gdb.fortran/derived-type-function.exp
4915 * gdb.fortran/derived-type.exp
4916 * gdb.fortran/logical.exp
4917 * gdb.fortran/module.exp
4918 * gdb.fortran/multi-dim.exp
4919 * gdb.fortran/nested-funcs.exp
4920 * gdb.fortran/print-formatted.exp
4921 * gdb.fortran/subarray.exp
4922 * gdb.fortran/vla-alloc-assoc.exp
4923 * gdb.fortran/vla-datatypes.exp
4924 * gdb.fortran/vla-history.exp
4925 * gdb.fortran/vla-ptr-info.exp
4926 * gdb.fortran/vla-ptype-sub.exp
4927 * gdb.fortran/vla-ptype.exp
4928 * gdb.fortran/vla-sizeof.exp
4929 * gdb.fortran/vla-type.exp
4930 * gdb.fortran/vla-value-sub-arbitrary.exp
4931 * gdb.fortran/vla-value-sub-finish.exp
4932 * gdb.fortran/vla-value-sub.exp
4933 * gdb.fortran/vla-value.exp
4934 * gdb.fortran/whatis_type.exp
4936 * gdb.go/handcall.exp
4938 * gdb.go/integers.exp
4939 * gdb.go/methods.exp
4940 * gdb.go/package.exp
4941 * gdb.go/strings.exp
4944 * gdb.guile/scm-arch.exp
4945 * gdb.guile/scm-block.exp
4946 * gdb.guile/scm-breakpoint.exp
4947 * gdb.guile/scm-cmd.exp
4948 * gdb.guile/scm-disasm.exp
4949 * gdb.guile/scm-equal.exp
4950 * gdb.guile/scm-frame-args.exp
4951 * gdb.guile/scm-frame-inline.exp
4952 * gdb.guile/scm-frame.exp
4953 * gdb.guile/scm-iterator.exp
4954 * gdb.guile/scm-math.exp
4955 * gdb.guile/scm-objfile.exp
4956 * gdb.guile/scm-ports.exp
4957 * gdb.guile/scm-symbol.exp
4958 * gdb.guile/scm-symtab.exp
4959 * gdb.guile/scm-value-cc.exp
4960 * gdb.guile/types-module.exp
4961 * gdb.linespec/break-ask.exp
4962 * gdb.linespec/cpexplicit.exp
4963 * gdb.linespec/explicit.exp
4964 * gdb.linespec/keywords.exp
4965 * gdb.linespec/linespec.exp
4966 * gdb.linespec/ls-dollar.exp
4967 * gdb.linespec/ls-errs.exp
4968 * gdb.linespec/skip-two.exp
4969 * gdb.linespec/thread.exp
4970 * gdb.mi/mi-async.exp
4971 * gdb.mi/mi-basics.exp
4972 * gdb.mi/mi-break.exp
4973 * gdb.mi/mi-catch-load.exp
4975 * gdb.mi/mi-cmd-param-changed.exp
4976 * gdb.mi/mi-console.exp
4977 * gdb.mi/mi-detach.exp
4978 * gdb.mi/mi-disassemble.exp
4979 * gdb.mi/mi-eval.exp
4980 * gdb.mi/mi-file-transfer.exp
4981 * gdb.mi/mi-file.exp
4982 * gdb.mi/mi-fill-memory.exp
4983 * gdb.mi/mi-inheritance-syntax-error.exp
4984 * gdb.mi/mi-linespec-err-cp.exp
4985 * gdb.mi/mi-logging.exp
4986 * gdb.mi/mi-memory-changed.exp
4987 * gdb.mi/mi-read-memory.exp
4988 * gdb.mi/mi-record-changed.exp
4989 * gdb.mi/mi-reg-undefined.exp
4990 * gdb.mi/mi-regs.exp
4991 * gdb.mi/mi-return.exp
4992 * gdb.mi/mi-reverse.exp
4993 * gdb.mi/mi-simplerun.exp
4994 * gdb.mi/mi-solib.exp
4995 * gdb.mi/mi-stack.exp
4996 * gdb.mi/mi-stepi.exp
4997 * gdb.mi/mi-syn-frame.exp
4998 * gdb.mi/mi-until.exp
4999 * gdb.mi/mi-var-block.exp
5000 * gdb.mi/mi-var-child.exp
5001 * gdb.mi/mi-var-cmd.exp
5002 * gdb.mi/mi-var-cp.exp
5003 * gdb.mi/mi-var-display.exp
5004 * gdb.mi/mi-var-invalidate.exp
5005 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5006 * gdb.mi/mi-vla-fortran.exp
5007 * gdb.mi/mi-watch.exp
5008 * gdb.mi/mi2-var-child.exp
5009 * gdb.mi/user-selected-context-sync.exp
5010 * gdb.modula2/unbounded-array.exp
5011 * gdb.multi/dummy-frame-restore.exp
5012 * gdb.multi/multi-arch-exec.exp
5013 * gdb.multi/multi-arch.exp
5014 * gdb.multi/tids.exp
5015 * gdb.multi/watchpoint-multi.exp
5016 * gdb.opencl/callfuncs.exp
5017 * gdb.opencl/convs_casts.exp
5018 * gdb.opencl/datatypes.exp
5019 * gdb.opencl/operators.exp
5020 * gdb.opencl/vec_comps.exp
5021 * gdb.opt/clobbered-registers-O2.exp
5022 * gdb.opt/inline-break.exp
5023 * gdb.opt/inline-bt.exp
5024 * gdb.opt/inline-cmds.exp
5025 * gdb.opt/inline-locals.exp
5026 * gdb.pascal/case-insensitive-symbols.exp
5027 * gdb.pascal/floats.exp
5028 * gdb.pascal/gdb11492.exp
5029 * gdb.python/lib-types.exp
5030 * gdb.python/py-arch.exp
5031 * gdb.python/py-as-string.exp
5032 * gdb.python/py-bad-printers.exp
5033 * gdb.python/py-block.exp
5034 * gdb.python/py-breakpoint-create-fail.exp
5035 * gdb.python/py-breakpoint.exp
5036 * gdb.python/py-caller-is.exp
5037 * gdb.python/py-cmd.exp
5038 * gdb.python/py-explore-cc.exp
5039 * gdb.python/py-explore.exp
5040 * gdb.python/py-finish-breakpoint.exp
5041 * gdb.python/py-finish-breakpoint2.exp
5042 * gdb.python/py-frame-args.exp
5043 * gdb.python/py-frame-inline.exp
5044 * gdb.python/py-frame.exp
5045 * gdb.python/py-framefilter-mi.exp
5046 * gdb.python/py-infthread.exp
5047 * gdb.python/py-lazy-string.exp
5048 * gdb.python/py-linetable.exp
5049 * gdb.python/py-mi-events.exp
5050 * gdb.python/py-mi-objfile.exp
5051 * gdb.python/py-mi.exp
5052 * gdb.python/py-objfile.exp
5053 * gdb.python/py-pp-integral.exp
5054 * gdb.python/py-pp-maint.exp
5055 * gdb.python/py-pp-re-notag.exp
5056 * gdb.python/py-pp-registration.exp
5057 * gdb.python/py-recurse-unwind.exp
5058 * gdb.python/py-strfns.exp
5059 * gdb.python/py-symbol.exp
5060 * gdb.python/py-symtab.exp
5061 * gdb.python/py-sync-interp.exp
5062 * gdb.python/py-typeprint.exp
5063 * gdb.python/py-unwind-maint.exp
5064 * gdb.python/py-unwind.exp
5065 * gdb.python/py-value-cc.exp
5066 * gdb.python/py-xmethods.exp
5067 * gdb.reverse/amd64-tailcall-reverse.exp
5068 * gdb.reverse/break-precsave.exp
5069 * gdb.reverse/break-reverse.exp
5070 * gdb.reverse/consecutive-precsave.exp
5071 * gdb.reverse/consecutive-reverse.exp
5072 * gdb.reverse/finish-precsave.exp
5073 * gdb.reverse/finish-reverse-bkpt.exp
5074 * gdb.reverse/finish-reverse.exp
5075 * gdb.reverse/fstatat-reverse.exp
5076 * gdb.reverse/getresuid-reverse.exp
5077 * gdb.reverse/i386-precsave.exp
5078 * gdb.reverse/i386-reverse.exp
5079 * gdb.reverse/i386-sse-reverse.exp
5080 * gdb.reverse/i387-env-reverse.exp
5081 * gdb.reverse/i387-stack-reverse.exp
5082 * gdb.reverse/insn-reverse.exp
5083 * gdb.reverse/machinestate-precsave.exp
5084 * gdb.reverse/machinestate.exp
5085 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5086 * gdb.reverse/pipe-reverse.exp
5087 * gdb.reverse/readv-reverse.exp
5088 * gdb.reverse/recvmsg-reverse.exp
5089 * gdb.reverse/rerun-prec.exp
5090 * gdb.reverse/s390-mvcle.exp
5091 * gdb.reverse/step-precsave.exp
5092 * gdb.reverse/step-reverse.exp
5093 * gdb.reverse/time-reverse.exp
5094 * gdb.reverse/until-precsave.exp
5095 * gdb.reverse/until-reverse.exp
5096 * gdb.reverse/waitpid-reverse.exp
5097 * gdb.reverse/watch-precsave.exp
5098 * gdb.reverse/watch-reverse.exp
5099 * gdb.rust/generics.exp
5100 * gdb.rust/methods.exp
5101 * gdb.rust/modules.exp
5102 * gdb.rust/simple.exp
5103 * gdb.server/connect-with-no-symbol-file.exp
5104 * gdb.server/ext-attach.exp
5105 * gdb.server/ext-restart.exp
5106 * gdb.server/ext-wrapper.exp
5107 * gdb.server/file-transfer.exp
5108 * gdb.server/server-exec-info.exp
5109 * gdb.server/server-kill.exp
5110 * gdb.server/server-mon.exp
5111 * gdb.server/wrapper.exp
5112 * gdb.stabs/exclfwd.exp
5113 * gdb.stabs/gdb11479.exp
5114 * gdb.threads/clone-new-thread-event.exp
5115 * gdb.threads/corethreads.exp
5116 * gdb.threads/current-lwp-dead.exp
5117 * gdb.threads/dlopen-libpthread.exp
5118 * gdb.threads/gcore-thread.exp
5119 * gdb.threads/sigstep-threads.exp
5120 * gdb.threads/watchpoint-fork.exp
5121 * gdb.trace/actions-changed.exp
5122 * gdb.trace/backtrace.exp
5123 * gdb.trace/change-loc.exp
5124 * gdb.trace/circ.exp
5125 * gdb.trace/collection.exp
5126 * gdb.trace/disconnected-tracing.exp
5127 * gdb.trace/ftrace.exp
5128 * gdb.trace/mi-trace-frame-collected.exp
5129 * gdb.trace/mi-trace-unavailable.exp
5130 * gdb.trace/mi-traceframe-changed.exp
5131 * gdb.trace/mi-tsv-changed.exp
5132 * gdb.trace/no-attach-trace.exp
5133 * gdb.trace/passc-dyn.exp
5134 * gdb.trace/qtro.exp
5135 * gdb.trace/range-stepping.exp
5136 * gdb.trace/read-memory.exp
5137 * gdb.trace/save-trace.exp
5138 * gdb.trace/signal.exp
5139 * gdb.trace/status-stop.exp
5140 * gdb.trace/tfile.exp
5141 * gdb.trace/trace-break.exp
5142 * gdb.trace/trace-buffer-size.exp
5143 * gdb.trace/trace-condition.exp
5144 * gdb.trace/tracefile-pseudo-reg.exp
5145 * gdb.trace/tstatus.exp
5146 * gdb.trace/unavailable.exp
5147 * gdb.trace/while-dyn.exp
5148 * gdb.trace/while-stepping.exp
5150 2016-12-22 Doug Evans <xdje42@gmail.com>
5152 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5155 2016-12-19 Yao Qi <yao.qi@linaro.org>
5157 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5158 (test_with_self): Don't call do_steps_and_nexts, and remove
5159 code about stepping into xmalloc.
5161 2016-12-09 Yao Qi <yao.qi@linaro.org>
5163 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5165 2016-12-09 Yao Qi <yao.qi@linaro.org>
5167 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5169 2016-12-09 Pedro Alves <palves@redhat.com>
5171 * gdb.base/all-architectures-0.exp: New file.
5172 * gdb.base/all-architectures-1.exp: New file.
5173 * gdb.base/all-architectures-2.exp: New file.
5174 * gdb.base/all-architectures-3.exp: New file.
5175 * gdb.base/all-architectures-4.exp: New file.
5176 * gdb.base/all-architectures-5.exp: New file.
5177 * gdb.base/all-architectures-6.exp: New file.
5178 * gdb.base/all-architectures-7.exp: New file.
5179 * gdb.base/all-architectures.exp.in: New file.
5181 2016-12-09 Yao Qi <yao.qi@linaro.org>
5183 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5185 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5187 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5189 Remove useless pattern-matching code.
5191 2016-12-02 Pedro Alves <palves@redhat.com>
5193 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5195 (top level): Call it.
5197 2016-12-02 Pedro Alves <palves@redhat.com>
5199 * gdb.base/commands.exp (user_defined_command_args_stack_test):
5201 (top level): Call it.
5203 2016-12-02 Pedro Alves <palves@redhat.com>
5206 * gdb.base/commands.exp (user_defined_command_args_eval): New
5208 (top level): Call it.
5210 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5212 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5215 2016-12-02 Tom Tromey <tom@tromey.com>
5217 * gdb.dwarf2/main-subprogram.c: New file.
5218 * gdb.dwarf2/main-subprogram.exp: New file.
5220 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5222 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5223 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5224 gdb_test_no_output for a couple of cases.
5225 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5227 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5229 Fix test names and standardize compilation error messages throughout
5230 the following files:
5233 * gdb.arch/alpha-step.exp
5234 * gdb.arch/e500-prologue.exp
5235 * gdb.arch/ftrace-insn-reloc.exp
5236 * gdb.arch/gdb1291.exp
5237 * gdb.arch/gdb1431.exp
5238 * gdb.arch/gdb1558.exp
5239 * gdb.arch/i386-dr3-watch.exp
5240 * gdb.arch/i386-sse-stack-align.exp
5241 * gdb.arch/ia64-breakpoint-shadow.exp
5242 * gdb.arch/pa-nullify.exp
5243 * gdb.arch/powerpc-aix-prologue.exp
5244 * gdb.arch/thumb-bx-pc.exp
5245 * gdb.base/annota1.exp
5246 * gdb.base/annota3.exp
5247 * gdb.base/arrayidx.exp
5248 * gdb.base/assign.exp
5249 * gdb.base/attach.exp
5252 * gdb.base/bfp-test.exp
5253 * gdb.base/bigcore.exp
5254 * gdb.base/bitfields2.exp
5255 * gdb.base/break-fun-addr.exp
5256 * gdb.base/break-probes.exp
5257 * gdb.base/call-rt-st.exp
5258 * gdb.base/callexit.exp
5259 * gdb.base/catch-fork-kill.exp
5260 * gdb.base/charset.exp
5261 * gdb.base/checkpoint.exp
5262 * gdb.base/comprdebug.exp
5263 * gdb.base/constvars.exp
5264 * gdb.base/coredump-filter.exp
5265 * gdb.base/cursal.exp
5266 * gdb.base/cvexpr.exp
5267 * gdb.base/detach.exp
5268 * gdb.base/display.exp
5269 * gdb.base/dmsym.exp
5270 * gdb.base/dprintf-pending.exp
5271 * gdb.base/dso2dso.exp
5272 * gdb.base/dtrace-probe.exp
5274 * gdb.base/enum_cond.exp
5275 * gdb.base/exe-lock.exp
5276 * gdb.base/exec-invalid-sysroot.exp
5277 * gdb.base/execl-update-breakpoints.exp
5278 * gdb.base/exprs.exp
5279 * gdb.base/fileio.exp
5281 * gdb.base/finish.exp
5282 * gdb.base/fixsection.exp
5283 * gdb.base/foll-vfork.exp
5284 * gdb.base/frame-args.exp
5285 * gdb.base/gcore.exp
5286 * gdb.base/gdb1250.exp
5287 * gdb.base/global-var-nested-by-dso.exp
5288 * gdb.base/gnu-ifunc.exp
5289 * gdb.base/hashline1.exp
5290 * gdb.base/hashline2.exp
5291 * gdb.base/hashline3.exp
5292 * gdb.base/hbreak-in-shr-unsupported.exp
5294 * gdb.base/infcall-input.exp
5295 * gdb.base/info-fun.exp
5296 * gdb.base/info-shared.exp
5297 * gdb.base/jit-simple.exp
5298 * gdb.base/jit-so.exp
5301 * gdb.base/label.exp
5302 * gdb.base/lineinc.exp
5303 * gdb.base/logical.exp
5304 * gdb.base/longjmp.exp
5305 * gdb.base/macscp.exp
5306 * gdb.base/miscexprs.exp
5307 * gdb.base/new-ui-echo.exp
5308 * gdb.base/new-ui-pending-input.exp
5309 * gdb.base/new-ui.exp
5310 * gdb.base/nodebug.exp
5311 * gdb.base/nofield.exp
5312 * gdb.base/offsets.exp
5313 * gdb.base/overlays.exp
5314 * gdb.base/pending.exp
5315 * gdb.base/pointers.exp
5316 * gdb.base/pr11022.exp
5317 * gdb.base/printcmds.exp
5318 * gdb.base/prologue.exp
5319 * gdb.base/ptr-typedef.exp
5320 * gdb.base/realname-expand.exp
5321 * gdb.base/relativedebug.exp
5322 * gdb.base/relocate.exp
5323 * gdb.base/remote.exp
5324 * gdb.base/reread.exp
5325 * gdb.base/return2.exp
5326 * gdb.base/savedregs.exp
5328 * gdb.base/sepdebug.exp
5329 * gdb.base/sepsymtab.exp
5330 * gdb.base/set-inferior-tty.exp
5331 * gdb.base/setshow.exp
5332 * gdb.base/shlib-call.exp
5333 * gdb.base/sigaltstack.exp
5334 * gdb.base/siginfo-addr.exp
5335 * gdb.base/signals.exp
5336 * gdb.base/signull.exp
5337 * gdb.base/sigrepeat.exp
5338 * gdb.base/so-impl-ld.exp
5339 * gdb.base/solib-display.exp
5340 * gdb.base/solib-overlap.exp
5341 * gdb.base/solib-search.exp
5342 * gdb.base/solib-symbol.exp
5343 * gdb.base/structs.exp
5344 * gdb.base/structs2.exp
5345 * gdb.base/symtab-search-order.exp
5346 * gdb.base/twice.exp
5347 * gdb.base/unload.exp
5348 * gdb.base/varargs.exp
5349 * gdb.base/watchpoint-solib.exp
5350 * gdb.base/watchpoint.exp
5351 * gdb.base/whatis.exp
5352 * gdb.base/wrong_frame_bt_full.exp
5353 * gdb.btrace/dlopen.exp
5354 * gdb.cell/ea-standalone.exp
5355 * gdb.cell/ea-test.exp
5356 * gdb.cp/dispcxx.exp
5357 * gdb.cp/gdb2384.exp
5358 * gdb.cp/method2.exp
5359 * gdb.cp/nextoverthrow.exp
5360 * gdb.cp/pr10728.exp
5361 * gdb.disasm/am33.exp
5362 * gdb.disasm/h8300s.exp
5363 * gdb.disasm/mn10300.exp
5364 * gdb.disasm/sh3.exp
5365 * gdb.dwarf2/dw2-dir-file-name.exp
5366 * gdb.fortran/complex.exp
5367 * gdb.fortran/library-module.exp
5368 * gdb.guile/scm-pretty-print.exp
5369 * gdb.guile/scm-symbol.exp
5370 * gdb.guile/scm-type.exp
5371 * gdb.guile/scm-value.exp
5372 * gdb.linespec/linespec.exp
5375 * gdb.mi/mi-breakpoint-changed.exp
5376 * gdb.mi/mi-dprintf-pending.exp
5377 * gdb.mi/mi-dprintf.exp
5378 * gdb.mi/mi-exit-code.exp
5379 * gdb.mi/mi-pending.exp
5380 * gdb.mi/mi-solib.exp
5381 * gdb.mi/new-ui-mi-sync.exp
5382 * gdb.mi/pr11022.exp
5383 * gdb.mi/user-selected-context-sync.exp
5384 * gdb.opt/solib-intra-step.exp
5385 * gdb.python/py-events.exp
5386 * gdb.python/py-finish-breakpoint.exp
5387 * gdb.python/py-mi.exp
5388 * gdb.python/py-prettyprint.exp
5389 * gdb.python/py-shared.exp
5390 * gdb.python/py-symbol.exp
5391 * gdb.python/py-template.exp
5392 * gdb.python/py-type.exp
5393 * gdb.python/py-value.exp
5394 * gdb.reverse/solib-precsave.exp
5395 * gdb.reverse/solib-reverse.exp
5396 * gdb.server/solib-list.exp
5397 * gdb.stabs/weird.exp
5398 * gdb.threads/reconnect-signal.exp
5399 * gdb.threads/stepi-random-signal.exp
5400 * gdb.trace/actions.exp
5402 * gdb.trace/backtrace.exp
5403 * gdb.trace/change-loc.exp
5404 * gdb.trace/deltrace.exp
5405 * gdb.trace/ftrace-lock.exp
5406 * gdb.trace/ftrace.exp
5407 * gdb.trace/infotrace.exp
5408 * gdb.trace/mi-tracepoint-changed.exp
5409 * gdb.trace/packetlen.exp
5410 * gdb.trace/passcount.exp
5411 * gdb.trace/pending.exp
5412 * gdb.trace/range-stepping.exp
5413 * gdb.trace/report.exp
5414 * gdb.trace/stap-trace.exp
5415 * gdb.trace/tfind.exp
5416 * gdb.trace/trace-break.exp
5417 * gdb.trace/trace-condition.exp
5418 * gdb.trace/trace-enable-disable.exp
5419 * gdb.trace/trace-mt.exp
5420 * gdb.trace/tracecmd.exp
5421 * gdb.trace/tspeed.exp
5425 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5427 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5428 with gdb_test_no_output.
5429 Use command as test name.
5431 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5433 Fix test names starting with uppercase throughout the files.
5435 * gdb.ada/assign_1.exp
5436 * gdb.ada/boolean_expr.exp
5437 * gdb.base/arrayidx.exp
5439 * gdb.base/gcore-buffer-overflow.exp
5440 * gdb.base/testenv.exp
5441 * gdb.compile/compile.exp
5442 * gdb.python/py-framefilter-invalidarg.exp
5443 * gdb.python/py-framefilter.exp
5445 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5447 Fix test names starting with uppercase throughout the files.
5449 * gdb.ada/array_return.exp
5450 * gdb.ada/expr_delims.exp
5451 * gdb.ada/mi_dyn_arr.exp
5452 * gdb.ada/mi_interface.exp
5453 * gdb.ada/mi_var_array.exp
5454 * gdb.ada/watch_arg.exp
5455 * gdb.arch/alpha-step.exp
5456 * gdb.arch/altivec-regs.exp
5457 * gdb.arch/e500-regs.exp
5458 * gdb.arch/powerpc-d128-regs.exp
5459 * gdb.base/arrayidx.exp
5460 * gdb.base/break.exp
5461 * gdb.base/checkpoint.exp
5462 * gdb.base/debug-expr.exp
5463 * gdb.base/dmsym.exp
5464 * gdb.base/radix.exp
5465 * gdb.base/sepdebug.exp
5466 * gdb.base/testenv.exp
5467 * gdb.base/watch_thread_num.exp
5468 * gdb.base/watchpoint-cond-gone.exp
5469 * gdb.cell/break.exp
5470 * gdb.cell/ea-cache.exp
5471 * gdb.compile/compile.exp
5472 * gdb.cp/gdb2495.exp
5473 * gdb.gdb/selftest.exp
5474 * gdb.gdb/xfullpath.exp
5476 * gdb.go/integers.exp
5477 * gdb.objc/basicclass.exp
5478 * gdb.pascal/hello.exp
5479 * gdb.pascal/integers.exp
5480 * gdb.python/py-breakpoint.exp
5481 * gdb.python/py-cmd.exp
5482 * gdb.python/py-linetable.exp
5483 * gdb.python/py-xmethods.exp
5484 * gdb.python/python.exp
5485 * gdb.reverse/consecutive-precsave.exp
5486 * gdb.reverse/finish-precsave.exp
5487 * gdb.reverse/i386-precsave.exp
5488 * gdb.reverse/machinestate-precsave.exp
5489 * gdb.reverse/sigall-precsave.exp
5490 * gdb.reverse/solib-precsave.exp
5491 * gdb.reverse/step-precsave.exp
5492 * gdb.reverse/until-precsave.exp
5493 * gdb.reverse/watch-precsave.exp
5494 * gdb.threads/leader-exit.exp
5495 * gdb.threads/pthreads.exp
5496 * gdb.threads/wp-replication.exp
5497 * gdb.trace/actions.exp
5498 * gdb.trace/mi-tsv-changed.exp
5501 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5503 Fix test names starting with uppercase throughout the files.
5505 * gdb.arch/i386-bp_permanent.exp
5506 * gdb.arch/i386-gnu-cfi.exp
5507 * gdb.base/disasm-end-cu.exp
5508 * gdb.base/macscp.exp
5509 * gdb.base/pending.exp
5510 * gdb.base/watch_thread_num.exp
5511 * gdb.cp/exception.exp
5512 * gdb.cp/gdb2495.exp
5514 * gdb.python/py-evsignal.exp
5515 * gdb.python/python.exp
5516 * gdb.trace/tracecmd.exp
5518 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5520 Fix test names starting with uppercase throughout the files.
5522 * gdb.base/charset.exp
5524 * gdb.base/multi-forks.exp
5525 * gdb.guile/scm-progspace.exp
5526 * gdb.opencl/datatypes.exp
5527 * gdb.python/py-block.exp
5528 * gdb.python/py-function.exp
5529 * gdb.python/py-symbol.exp
5530 * gdb.python/py-symtab.exp
5531 * gdb.python/py-xmethods.exp
5532 * gdb.reverse/break-precsave.exp
5533 * gdb.reverse/break-reverse.exp
5534 * gdb.reverse/consecutive-precsave.exp
5535 * gdb.reverse/consecutive-reverse.exp
5536 * gdb.reverse/finish-precsave.exp
5537 * gdb.reverse/finish-reverse-bkpt.exp
5538 * gdb.reverse/finish-reverse.exp
5539 * gdb.reverse/fstatat-reverse.exp
5540 * gdb.reverse/getresuid-reverse.exp
5541 * gdb.reverse/i386-precsave.exp
5542 * gdb.reverse/i386-reverse.exp
5543 * gdb.reverse/i386-sse-reverse.exp
5544 * gdb.reverse/i387-stack-reverse.exp
5545 * gdb.reverse/insn-reverse.exp
5546 * gdb.reverse/machinestate-precsave.exp
5547 * gdb.reverse/machinestate.exp
5548 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5549 * gdb.reverse/pipe-reverse.exp
5550 * gdb.reverse/readv-reverse.exp
5551 * gdb.reverse/recvmsg-reverse.exp
5552 * gdb.reverse/rerun-prec.exp
5553 * gdb.reverse/s390-mvcle.exp
5554 * gdb.reverse/sigall-precsave.exp
5555 * gdb.reverse/sigall-reverse.exp
5556 * gdb.reverse/solib-precsave.exp
5557 * gdb.reverse/solib-reverse.exp
5558 * gdb.reverse/step-precsave.exp
5559 * gdb.reverse/step-reverse.exp
5560 * gdb.reverse/time-reverse.exp
5561 * gdb.reverse/until-precsave.exp
5562 * gdb.reverse/until-reverse.exp
5563 * gdb.reverse/waitpid-reverse.exp
5564 * gdb.reverse/watch-precsave.exp
5565 * gdb.reverse/watch-reverse.exp
5567 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5569 Fix test names starting with uppercase throughout the files.
5571 * gdb.arch/i386-mpx-simple_segv.exp
5572 * gdb.arch/i386-mpx.exp
5573 * gdb.arch/i386-permbkpt.exp
5574 * gdb.arch/pa-nullify.exp
5575 * gdb.arch/powerpc-d128-regs.exp
5576 * gdb.arch/vsx-regs.exp
5577 * gdb.base/bfp-test.exp
5578 * gdb.base/break.exp
5579 * gdb.base/breakpoint-shadow.exp
5580 * gdb.base/callfuncs.exp
5581 * gdb.base/charset.exp
5582 * gdb.base/commands.exp
5583 * gdb.base/completion.exp
5584 * gdb.base/dfp-test.exp
5586 * gdb.base/ending-run.exp
5588 * gdb.base/expand-psymtabs.exp
5589 * gdb.base/float128.exp
5590 * gdb.base/floatn.exp
5591 * gdb.base/foll-exec-mode.exp
5592 * gdb.base/gdb1056.exp
5593 * gdb.base/gdb11531.exp
5594 * gdb.base/kill-after-signal.exp
5595 * gdb.base/multi-forks.exp
5596 * gdb.base/overlays.exp
5597 * gdb.base/pending.exp
5598 * gdb.base/sepdebug.exp
5599 * gdb.base/testenv.exp
5600 * gdb.base/valgrind-db-attach.exp
5601 * gdb.base/watch_thread_num.exp
5602 * gdb.base/watchpoint-cond-gone.exp
5603 * gdb.base/watchpoint.exp
5604 * gdb.base/watchpoints.exp
5605 * gdb.cp/arg-reference.exp
5606 * gdb.cp/baseenum.exp
5607 * gdb.cp/operator.exp
5609 * gdb.dwarf2/dw2-op-out-param.exp
5610 * gdb.dwarf2/dw2-reg-undefined.exp
5613 * gdb.go/integers.exp
5614 * gdb.go/methods.exp
5615 * gdb.go/package.exp
5616 * gdb.guile/scm-parameter.exp
5617 * gdb.guile/scm-progspace.exp
5618 * gdb.guile/scm-value.exp
5619 * gdb.mi/mi-pending.exp
5620 * gdb.mi/user-selected-context-sync.exp
5621 * gdb.multi/multi-attach.exp
5622 * gdb.multi/tids.exp
5623 * gdb.opt/clobbered-registers-O2.exp
5624 * gdb.pascal/floats.exp
5625 * gdb.pascal/integers.exp
5626 * gdb.python/py-block.exp
5627 * gdb.python/py-events.exp
5628 * gdb.python/py-parameter.exp
5629 * gdb.python/py-symbol.exp
5630 * gdb.python/py-symtab.exp
5631 * gdb.python/py-type.exp
5632 * gdb.python/py-value.exp
5633 * gdb.python/py-xmethods.exp
5634 * gdb.python/python.exp
5635 * gdb.reverse/break-precsave.exp
5636 * gdb.reverse/consecutive-precsave.exp
5637 * gdb.reverse/finish-precsave.exp
5638 * gdb.reverse/i386-precsave.exp
5639 * gdb.reverse/machinestate-precsave.exp
5640 * gdb.reverse/sigall-precsave.exp
5641 * gdb.reverse/solib-precsave.exp
5642 * gdb.reverse/step-precsave.exp
5643 * gdb.reverse/until-precsave.exp
5644 * gdb.reverse/watch-precsave.exp
5645 * gdb.server/ext-attach.exp
5646 * gdb.server/ext-restart.exp
5647 * gdb.server/ext-run.exp
5648 * gdb.server/ext-wrapper.exp
5649 * gdb.stabs/gdb11479.exp
5650 * gdb.stabs/weird.exp
5651 * gdb.threads/attach-many-short-lived-threads.exp
5652 * gdb.threads/kill.exp
5653 * gdb.threads/watchpoint-fork.exp
5655 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5657 Fix test names starting with uppercase throughout all the files below.
5659 * gdb.ada/array_return.exp
5660 * gdb.ada/catch_ex.exp
5661 * gdb.ada/info_exc.exp
5662 * gdb.ada/mi_catch_ex.exp
5663 * gdb.ada/mi_dyn_arr.exp
5664 * gdb.ada/mi_ex_cond.exp
5665 * gdb.ada/mi_exc_info.exp
5666 * gdb.ada/mi_interface.exp
5667 * gdb.ada/mi_task_arg.exp
5668 * gdb.ada/mi_task_info.exp
5669 * gdb.ada/mi_var_array.exp
5670 * gdb.arch/alpha-step.exp
5671 * gdb.arch/amd64-disp-step.exp
5672 * gdb.arch/arm-disp-step.exp
5673 * gdb.arch/disp-step-insn-reloc.exp
5674 * gdb.arch/e500-prologue.exp
5675 * gdb.arch/ftrace-insn-reloc.exp
5676 * gdb.arch/gdb1558.exp
5677 * gdb.arch/i386-bp_permanent.exp
5678 * gdb.arch/i386-disp-step.exp
5679 * gdb.arch/i386-float.exp
5680 * gdb.arch/i386-gnu-cfi.exp
5681 * gdb.arch/ia64-breakpoint-shadow.exp
5682 * gdb.arch/mips16-thunks.exp
5683 * gdb.arch/pa-nullify.exp
5684 * gdb.arch/powerpc-aix-prologue.exp
5685 * gdb.arch/powerpc-power.exp
5686 * gdb.arch/ppc-dfp.exp
5687 * gdb.arch/s390-tdbregs.exp
5688 * gdb.arch/spu-info.exp
5689 * gdb.arch/spu-ls.exp
5690 * gdb.arch/thumb-bx-pc.exp
5691 * gdb.base/advance.exp
5692 * gdb.base/annota-input-while-running.exp
5693 * gdb.base/arrayidx.exp
5694 * gdb.base/asmlabel.exp
5695 * gdb.base/async.exp
5696 * gdb.base/attach-wait-input.exp
5697 * gdb.base/auto-connect-native-target.exp
5698 * gdb.base/batch-preserve-term-settings.exp
5699 * gdb.base/bfp-test.exp
5700 * gdb.base/bigcore.exp
5701 * gdb.base/bp-permanent.exp
5702 * gdb.base/break-always.exp
5703 * gdb.base/break-fun-addr.exp
5704 * gdb.base/break-idempotent.exp
5705 * gdb.base/break-main-file-remove-fail.exp
5706 * gdb.base/break-probes.exp
5707 * gdb.base/break-unload-file.exp
5708 * gdb.base/break.exp
5709 * gdb.base/call-ar-st.exp
5710 * gdb.base/call-rt-st.exp
5711 * gdb.base/call-sc.exp
5712 * gdb.base/call-signal-resume.exp
5713 * gdb.base/call-strs.exp
5714 * gdb.base/callexit.exp
5715 * gdb.base/callfuncs.exp
5716 * gdb.base/catch-gdb-caused-signals.exp
5717 * gdb.base/catch-signal-siginfo-cond.exp
5718 * gdb.base/catch-syscall.exp
5719 * gdb.base/compare-sections.exp
5720 * gdb.base/cond-eval-mode.exp
5721 * gdb.base/condbreak-call-false.exp
5722 * gdb.base/consecutive-step-over.exp
5723 * gdb.base/cursal.exp
5724 * gdb.base/disabled-location.exp
5725 * gdb.base/disasm-end-cu.exp
5726 * gdb.base/display.exp
5727 * gdb.base/double-prompt-target-event-error.exp
5728 * gdb.base/dprintf-bp-same-addr.exp
5729 * gdb.base/dprintf-detach.exp
5730 * gdb.base/dprintf-next.exp
5731 * gdb.base/dprintf-non-stop.exp
5732 * gdb.base/dprintf-pending.exp
5733 * gdb.base/dso2dso.exp
5734 * gdb.base/ending-run.exp
5735 * gdb.base/enum_cond.exp
5736 * gdb.base/examine-backward.exp
5737 * gdb.base/exe-lock.exp
5738 * gdb.base/exec-invalid-sysroot.exp
5739 * gdb.base/execl-update-breakpoints.exp
5740 * gdb.base/execution-termios.exp
5741 * gdb.base/fileio.exp
5742 * gdb.base/fixsection.exp
5743 * gdb.base/foll-exec-mode.exp
5744 * gdb.base/foll-exec.exp
5745 * gdb.base/fork-running-state.exp
5746 * gdb.base/frame-args.exp
5747 * gdb.base/fullpath-expand.exp
5748 * gdb.base/func-ptr.exp
5749 * gdb.base/gcore-relro-pie.exp
5750 * gdb.base/gdb1090.exp
5751 * gdb.base/gdb1555.exp
5752 * gdb.base/global-var-nested-by-dso.exp
5753 * gdb.base/gnu-ifunc.exp
5754 * gdb.base/hbreak-in-shr-unsupported.exp
5755 * gdb.base/hbreak-unmapped.exp
5756 * gdb.base/hook-stop.exp
5757 * gdb.base/infcall-input.exp
5758 * gdb.base/info-fun.exp
5759 * gdb.base/info-shared.exp
5760 * gdb.base/interrupt-noterm.exp
5761 * gdb.base/jit-so.exp
5763 * gdb.base/line-symtabs.exp
5765 * gdb.base/longjmp.exp
5766 * gdb.base/macscp.exp
5767 * gdb.base/max-value-size.exp
5768 * gdb.base/nodebug.exp
5769 * gdb.base/nofield.exp
5770 * gdb.base/overlays.exp
5771 * gdb.base/paginate-after-ctrl-c-running.exp
5772 * gdb.base/paginate-bg-execution.exp
5773 * gdb.base/paginate-inferior-exit.exp
5774 * gdb.base/pending.exp
5775 * gdb.base/pr11022.exp
5776 * gdb.base/printcmds.exp
5777 * gdb.base/ptr-typedef.exp
5778 * gdb.base/ptype.exp
5779 * gdb.base/randomize.exp
5780 * gdb.base/range-stepping.exp
5781 * gdb.base/realname-expand.exp
5782 * gdb.base/relativedebug.exp
5783 * gdb.base/remote.exp
5784 * gdb.base/savedregs.exp
5785 * gdb.base/sepdebug.exp
5786 * gdb.base/set-noassign.exp
5787 * gdb.base/shlib-call.exp
5788 * gdb.base/shreloc.exp
5789 * gdb.base/sigaltstack.exp
5790 * gdb.base/sigbpt.exp
5791 * gdb.base/siginfo-addr.exp
5792 * gdb.base/siginfo-obj.exp
5793 * gdb.base/siginfo-thread.exp
5794 * gdb.base/signest.exp
5795 * gdb.base/signull.exp
5796 * gdb.base/sigrepeat.exp
5798 * gdb.base/so-impl-ld.exp
5799 * gdb.base/solib-corrupted.exp
5800 * gdb.base/solib-disc.exp
5801 * gdb.base/solib-display.exp
5802 * gdb.base/solib-overlap.exp
5803 * gdb.base/solib-search.exp
5804 * gdb.base/solib-symbol.exp
5805 * gdb.base/source-execution.exp
5806 * gdb.base/sss-bp-on-user-bp-2.exp
5807 * gdb.base/sss-bp-on-user-bp.exp
5808 * gdb.base/stack-checking.exp
5809 * gdb.base/stale-infcall.exp
5810 * gdb.base/step-break.exp
5811 * gdb.base/step-line.exp
5812 * gdb.base/step-over-exit.exp
5813 * gdb.base/step-test.exp
5814 * gdb.base/structs.exp
5815 * gdb.base/sym-file.exp
5816 * gdb.base/symtab-search-order.exp
5818 * gdb.base/type-opaque.exp
5819 * gdb.base/unload.exp
5820 * gdb.base/until-nodebug.exp
5821 * gdb.base/until.exp
5822 * gdb.base/unwindonsignal.exp
5823 * gdb.base/watch-cond.exp
5824 * gdb.base/watch-non-mem.exp
5825 * gdb.base/watch_thread_num.exp
5826 * gdb.base/watchpoint-reuse-slot.exp
5827 * gdb.base/watchpoint-solib.exp
5828 * gdb.base/watchpoint.exp
5829 * gdb.btrace/dlopen.exp
5831 * gdb.cell/break.exp
5835 * gdb.cell/dwarfaddr.exp
5836 * gdb.cell/ea-cache.exp
5837 * gdb.cell/ea-standalone.exp
5838 * gdb.cell/ea-test.exp
5839 * gdb.cell/f-regs.exp
5841 * gdb.cell/gcore.exp
5842 * gdb.cell/mem-access.exp
5843 * gdb.cell/ptype.exp
5844 * gdb.cell/registers.exp
5845 * gdb.cell/sizeof.exp
5846 * gdb.cell/solib-symbol.exp
5847 * gdb.cell/solib.exp
5848 * gdb.compile/compile-tls.exp
5849 * gdb.cp/exception.exp
5850 * gdb.cp/gdb2495.exp
5852 * gdb.cp/mb-inline.exp
5853 * gdb.cp/mb-templates.exp
5854 * gdb.cp/pr10687.exp
5856 * gdb.cp/scope-err.exp
5857 * gdb.cp/templates.exp
5858 * gdb.cp/virtfunc.exp
5859 * gdb.dwarf2/dw2-dir-file-name.exp
5860 * gdb.dwarf2/dw2-single-line-discriminators.exp
5861 * gdb.fortran/complex.exp
5862 * gdb.fortran/library-module.exp
5863 * gdb.guile/guile.exp
5864 * gdb.guile/scm-cmd.exp
5865 * gdb.guile/scm-frame-inline.exp
5866 * gdb.guile/scm-objfile.exp
5867 * gdb.guile/scm-pretty-print.exp
5868 * gdb.guile/scm-symbol.exp
5869 * gdb.guile/scm-type.exp
5870 * gdb.guile/scm-value.exp
5871 * gdb.linespec/keywords.exp
5872 * gdb.linespec/ls-errs.exp
5873 * gdb.linespec/macro-relative.exp
5874 * gdb.linespec/thread.exp
5875 * gdb.mi/mi-breakpoint-changed.exp
5876 * gdb.mi/mi-dprintf-pending.exp
5877 * gdb.mi/mi-fullname-deleted.exp
5878 * gdb.mi/mi-logging.exp
5879 * gdb.mi/mi-pending.exp
5880 * gdb.mi/mi-solib.exp
5881 * gdb.mi/new-ui-mi-sync.exp
5882 * gdb.mi/user-selected-context-sync.exp
5883 * gdb.multi/dummy-frame-restore.exp
5884 * gdb.multi/multi-arch-exec.exp
5885 * gdb.multi/remove-inferiors.exp
5886 * gdb.multi/watchpoint-multi-exit.exp
5887 * gdb.opt/solib-intra-step.exp
5888 * gdb.perf/backtrace.exp
5889 * gdb.perf/single-step.exp
5890 * gdb.perf/skip-command.exp
5891 * gdb.perf/skip-prologue.exp
5892 * gdb.perf/solib.exp
5893 * gdb.python/lib-types.exp
5894 * gdb.python/py-as-string.exp
5895 * gdb.python/py-bad-printers.exp
5896 * gdb.python/py-block.exp
5897 * gdb.python/py-breakpoint.exp
5898 * gdb.python/py-cmd.exp
5899 * gdb.python/py-events.exp
5900 * gdb.python/py-evthreads.exp
5901 * gdb.python/py-finish-breakpoint.exp
5902 * gdb.python/py-finish-breakpoint2.exp
5903 * gdb.python/py-frame-inline.exp
5904 * gdb.python/py-frame.exp
5905 * gdb.python/py-inferior.exp
5906 * gdb.python/py-infthread.exp
5907 * gdb.python/py-mi.exp
5908 * gdb.python/py-objfile.exp
5909 * gdb.python/py-pp-maint.exp
5910 * gdb.python/py-pp-registration.exp
5911 * gdb.python/py-prettyprint.exp
5912 * gdb.python/py-recurse-unwind.exp
5913 * gdb.python/py-shared.exp
5914 * gdb.python/py-symbol.exp
5915 * gdb.python/py-symtab.exp
5916 * gdb.python/py-template.exp
5917 * gdb.python/py-type.exp
5918 * gdb.python/py-unwind-maint.exp
5919 * gdb.python/py-unwind.exp
5920 * gdb.python/py-value.exp
5921 * gdb.python/python.exp
5922 * gdb.reverse/finish-reverse-bkpt.exp
5923 * gdb.reverse/insn-reverse.exp
5924 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5925 * gdb.reverse/solib-precsave.exp
5926 * gdb.reverse/solib-reverse.exp
5927 * gdb.stabs/gdb11479.exp
5928 * gdb.stabs/weird.exp
5929 * gdb.threads/fork-child-threads.exp
5930 * gdb.threads/fork-plus-threads.exp
5931 * gdb.threads/fork-thread-pending.exp
5932 * gdb.threads/forking-threads-plus-breakpoint.exp
5933 * gdb.threads/hand-call-in-threads.exp
5934 * gdb.threads/interrupted-hand-call.exp
5935 * gdb.threads/linux-dp.exp
5936 * gdb.threads/local-watch-wrong-thread.exp
5937 * gdb.threads/next-while-other-thread-longjmps.exp
5938 * gdb.threads/non-ldr-exit.exp
5939 * gdb.threads/pending-step.exp
5940 * gdb.threads/print-threads.exp
5941 * gdb.threads/process-dies-while-detaching.exp
5942 * gdb.threads/process-dies-while-handling-bp.exp
5943 * gdb.threads/pthreads.exp
5944 * gdb.threads/queue-signal.exp
5945 * gdb.threads/reconnect-signal.exp
5946 * gdb.threads/signal-command-handle-nopass.exp
5947 * gdb.threads/signal-command-multiple-signals-pending.exp
5948 * gdb.threads/signal-delivered-right-thread.exp
5949 * gdb.threads/signal-sigtrap.exp
5950 * gdb.threads/sigthread.exp
5951 * gdb.threads/staticthreads.exp
5952 * gdb.threads/stepi-random-signal.exp
5953 * gdb.threads/thread-unwindonsignal.exp
5954 * gdb.threads/thread_check.exp
5955 * gdb.threads/thread_events.exp
5956 * gdb.threads/tid-reuse.exp
5957 * gdb.threads/tls-nodebug.exp
5958 * gdb.threads/tls-shared.exp
5959 * gdb.threads/tls-so_extern.exp
5960 * gdb.threads/tls.exp
5961 * gdb.threads/wp-replication.exp
5962 * gdb.trace/actions-changed.exp
5963 * gdb.trace/actions.exp
5964 * gdb.trace/backtrace.exp
5965 * gdb.trace/change-loc.exp
5966 * gdb.trace/collection.exp
5967 * gdb.trace/deltrace.exp
5968 * gdb.trace/disconnected-tracing.exp
5969 * gdb.trace/entry-values.exp
5970 * gdb.trace/ftrace-lock.exp
5971 * gdb.trace/ftrace.exp
5972 * gdb.trace/infotrace.exp
5973 * gdb.trace/mi-trace-frame-collected.exp
5974 * gdb.trace/mi-trace-unavailable.exp
5975 * gdb.trace/mi-traceframe-changed.exp
5976 * gdb.trace/mi-tracepoint-changed.exp
5977 * gdb.trace/mi-tsv-changed.exp
5978 * gdb.trace/no-attach-trace.exp
5979 * gdb.trace/packetlen.exp
5980 * gdb.trace/passc-dyn.exp
5981 * gdb.trace/passcount.exp
5982 * gdb.trace/pending.exp
5983 * gdb.trace/pr16508.exp
5984 * gdb.trace/qtro.exp
5985 * gdb.trace/range-stepping.exp
5986 * gdb.trace/read-memory.exp
5987 * gdb.trace/report.exp
5988 * gdb.trace/save-trace.exp
5989 * gdb.trace/signal.exp
5990 * gdb.trace/stap-trace.exp
5991 * gdb.trace/status-stop.exp
5992 * gdb.trace/strace.exp
5993 * gdb.trace/tfile.exp
5994 * gdb.trace/tfind.exp
5995 * gdb.trace/trace-break.exp
5996 * gdb.trace/trace-condition.exp
5997 * gdb.trace/trace-enable-disable.exp
5998 * gdb.trace/trace-mt.exp
5999 * gdb.trace/tracecmd.exp
6000 * gdb.trace/tracefile-pseudo-reg.exp
6001 * gdb.trace/tspeed.exp
6002 * gdb.trace/tstatus.exp
6004 * gdb.trace/unavailable.exp
6005 * gdb.trace/while-dyn.exp
6006 * gdb.trace/while-stepping.exp
6009 * lib/mi-support.exp
6012 * lib/prelink-support.exp
6013 * lib/selftest-support.exp
6015 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
6017 * Makefile.in: Include disable-implicit-rules.mk.
6019 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6021 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6022 non-byte-aligned bit fields.
6024 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6027 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
6028 respects the DW_AT_data_bit_offset attribute.
6030 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
6032 * gdb.base/default.exp: Fix output of "set language".
6034 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
6036 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6037 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
6039 * configure.ac: Remove checks for the make program.
6040 * configure: Re-generate.
6042 2016-11-16 Kevin Buettner <kevinb@redhat.com>
6044 * gdb.python/py-recurse-unwind.c (main): Add loop.
6045 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6046 to read_register() and gdb.parse_and_eval(). Make each code
6047 call a separate case that can be individually tested.
6048 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6049 proc. Call cont_and_backtrace for each of the code paths that
6050 we want to test in the unwinder.
6052 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
6054 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6055 the definition of struct S.
6057 2016-11-11 Catherine Moore <clm@codesourcery.com>
6059 * gdb.base/dump.exp: Identify verilog format dump tests as such.
6061 2016-11-09 Pedro Alves <palves@redhat.com>
6063 * gdb.base/commands.exp (runto_or_return): New procedure.
6064 (gdbvar_simple_if_test, gdbvar_simple_while_test)
6065 (gdbvar_complex_if_while_test, progvar_simple_if_test)
6066 (progvar_simple_while_test, progvar_complex_if_while_test)
6067 (if_while_breakpoint_command_test)
6068 (infrun_breakpoint_command_test, breakpoint_command_test)
6069 (user_defined_command_test, watchpoint_command_test)
6070 (test_command_prompt_position, redefine_hook_test)
6071 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6072 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6073 multi_line_input and multi_line. Remove gdb_expect and
6074 gdb_stop_suppressing_tests uses.
6075 * lib/gdb.exp (valnum_re): New global.
6076 (multi_line_input): New procedure.
6078 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
6080 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6082 (test_setup): Define with proc_with_prefix.
6083 (test_cli_inferior): Likewise.
6084 (test_cli_thread): Likewise.
6085 (test_cli_frame): Likewise.
6086 (test_cli_select_frame): Likewise.
6087 (test_cli_up_down): Likewise.
6088 (test_mi_thread_select): Likewise.
6089 (test_mi_stack_select_frame): Likewise.
6090 (test_cli_in_mi_inferior): Likewise.
6091 (test_cli_in_mi_thread): Likewise.
6092 (test_cli_in_mi_frame): Likewise.
6093 (top level): Do not use with_test_prefix_procname.
6095 2016-11-09 Pedro Alves <palves@redhat.com>
6097 * gdb.base/commands.exp (gdbvar_simple_if_test)
6098 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6099 (progvar_simple_if_test, progvar_simple_while_test)
6100 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6101 (infrun_breakpoint_command_test, breakpoint_command_test)
6102 (user_defined_command_test, watchpoint_command_test)
6103 (test_command_prompt_position, deprecated_command_test)
6104 (bp_deleted_in_command, temporary_breakpoint_commands)
6105 (stray_arg0_test, source_file_with_indented_comment)
6106 (recursive_source_test, if_commands_test)
6107 (error_clears_commands_left, redefine_hook_test)
6108 (redefine_backtrace_test): Use proc_with_prefix.
6109 * lib/gdb.exp (proc_with_prefix): New proc.
6111 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6113 * gdb.base/tui-layout.c: New file.
6114 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6115 disassembly window contains very long lines.
6117 2016-11-08 Tom Tromey <tom@tromey.com>
6119 * gdb.python/py-value.exp (test_value_creation): Make "long" test
6122 2016-11-08 Tom Tromey <tom@tromey.com>
6124 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6127 2016-10-29 Manish Goregaokar <manish@mozilla.com>
6129 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6131 2016-10-27 Manish Goregaokar <manish@mozilla.com>
6133 * gdb.rust/simple.rs: Add test for univariant enums without
6134 discriminants and for encoded struct-like enums.
6136 2016-10-28 Pedro Alves <palves@redhat.com>
6138 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6139 gdb_test_multiple, tighten regexps and match symtabs and line
6140 tables incrementally.
6142 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
6144 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6147 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
6149 * gdb.base/exec-invalid-sysroot.exp: New file.
6151 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6153 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6155 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6157 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6159 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
6161 * gdb.base/killed-outside.exp: Remove $options from a call to
6162 `prepare_for_testing'.
6164 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6166 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6167 Change test message.
6169 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6171 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6174 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6176 * gdb.trace/mi-trace-save.exp: New file.
6178 2016-10-13 Yao Qi <yao.qi@linaro.org>
6180 * gdb.base/code_elim.exp (get_var_address): Remove.
6181 * gdb.base/relocate.exp: Likewise.
6182 * gdb.base/shreloc.exp: Likewise.
6183 * lib/gdb.exp (get_var_address): New.
6185 2016-10-13 Yao Qi <yao.qi@linaro.org>
6187 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6188 floating point tests if $skip_float_test is false.
6190 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
6192 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6193 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6195 Add 1 to argc so we guarantee distinct initial/modified argc values.
6197 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6199 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6201 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6203 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6204 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6205 * gdb.arch/vsx-regs.exp: Likewise.
6207 2016-10-07 Yao Qi <yao.qi@linaro.org>
6209 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6211 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
6213 * gdb.python/python.exp: Test decode_line("*0").
6215 2016-10-06 Doug Evans <dje@google.com>
6217 * gdb.python/py-value.exp (test_value_creation): Add test for large
6218 unsigned 64-bit value.
6220 2016-10-06 Tom Tromey <tom@tromey.com>
6222 * gdb.compile/compile.exp: Change java tests to rust.
6223 * gdb.base/setshow.exp: Change java tests to rust.
6224 * gdb.base/default.exp: Remove java from language list.
6225 * README (Examples): Update language example.
6226 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6228 * lib/gdb.exp (skip_java_tests): Remove.
6229 * lib/java.exp: Remove.
6232 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6234 * gdb.arch/mips-fcr.exp: New test.
6235 * gdb.arch/mips-fcr.c: Source for the new test.
6237 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6239 * gdb.base/solib-disc.exp: Use `standard_output_file'
6242 2016-10-06 Pedro Alves <palves@redhat.com>
6244 * gdb.base/jit-simple-dl.c: New file.
6245 * gdb.base/jit-simple-jit.c: New file, factored out from ...
6246 * gdb.base/jit-simple.c: ... this.
6247 * gdb.base/jit-simple.exp (jit_run): Delete.
6248 (build_jit): New proc.
6249 (jit_test_reread): Recompile either the main program or the shared
6250 library, depending on what is being tested. Skip changing address
6251 if caller wants to. Compare before/after addresses. If testing
6252 standalone, explicitly load the binary. Test "maint info
6254 (top level): Add "standalone vs shared lib" and "change address"
6255 vs "same address" axes.
6257 2016-10-06 Pedro Alves <palves@redhat.com>
6259 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6262 (jit_test_reread): Use with_test_prefix. Reload the main binary
6263 explicitly. Compare the before/after addresses of the JIT
6266 2016-08-15 Doug Evans <dje@google.com>
6268 * gdb.xml/extra-regs.xml: Update, end field now required, default type
6269 for single bitfields is bool.
6270 * gdb.xml/tdesc-regs.exp: Ditto.
6272 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6274 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6276 2016-10-05 Yao Qi <yao.qi@linaro.org>
6278 * lib/gdb.exp (support_complex_tests): Return zero if
6279 gdb_skip_float_test return true.
6281 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6282 Simon Marchi <simon.marchi@ericsson.com>
6285 * gdb.mi/user-selected-context-sync.exp: New file.
6286 * gdb.mi/user-selected-context-sync.c: New file.
6288 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6289 Simon Marchi <simon.marchi@ericsson.com>
6292 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6293 =thread-select-event check.
6295 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
6297 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6298 the compulsory L operand changes.
6299 * gdb.arch/powerpc-power.s: Likewise.
6301 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6303 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6304 * gdb.base/jit-attach-pie.c: New file.
6305 * gdb.base/jit-attach-pie.exp: New file.
6307 2016-09-28 Pedro Alves <palves@redhat.com>
6309 * gdb.base/infcall-input.c: New file.
6310 * gdb.base/infcall-input.exp: New file.
6312 2016-09-22 Yao Qi <yao.qi@linaro.org>
6314 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6315 (gdb_exit): Rename it to ...
6316 (gdbserver_gdb_exit): ... Close GDBserver.
6317 (gdb_exit): New proc, call gdbserver_gdb_exit.
6318 (mi_gdb_exit): Likewise.
6320 2016-09-22 Yao Qi <yao.qi@linaro.org>
6322 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6324 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6327 2016-09-22 Yao Qi <yao.qi@linaro.org>
6329 * lib/gdbserver-support.exp: Check the existence of
6330 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6332 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
6334 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6336 2016-09-21 Tom Tromey <tom@tromey.com>
6339 * gdb.base/quit.exp: New file.
6341 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
6343 * .gitignore: New file.
6345 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
6347 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6350 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6352 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6354 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6356 * gdb.cp/casts.cc (decltype): Move it ...
6357 (main): ... with its call to ...
6358 * gdb.cp/casts03.cc: ... a new file.
6359 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6361 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6363 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6365 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
6367 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6368 and sync up the test with tests in gas/testsuite/gas/ppc.
6369 * gdb.arch/powerpc-power.exp: Likewise.
6371 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6373 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6375 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
6376 Jan Kratochvil <jan.kratochvil@redhat.com>
6378 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6379 make m1's definition to be different from m2's. Use 'dummy' as an
6380 argument for probe 'two'.
6382 2016-09-10 Jon Beniston <jon@beniston.com>
6384 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6387 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6389 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6390 variable declaration.
6391 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
6392 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6393 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6394 received HWCAP as its argument.
6396 2016-09-06 Pedro Alves <palves@redhat.com>
6398 * gdb.base/new-ui-pending-input.c: New file.
6399 * gdb.base/new-ui-pending-input.exp: New file.
6400 * gdb.exp (clear_gdb_spawn_id): New procedure.
6401 (with_spawn_id): Check whether gdb_spawn_id exists before
6402 referencing it. If gdb_spawn_id didn't exist on entry, clear it
6405 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6407 * gdb.base/float128.c: New file.
6408 * gdb.base/float128.exp: Likewise.
6409 * gdb.base/floatn.c: Likewise.
6410 * gdb.base/floatn.exp: Likewise.
6412 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6414 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6416 2016-09-05 Pedro Alves <palves@redhat.com>
6419 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6420 unwinders are immediately called as side effect of "source" or
6421 "disable unwinder" commands.
6422 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6424 2016-09-02 Yao Qi <yao.qi@linaro.org>
6426 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6427 is true and $type is "float" or "double".
6429 2016-09-02 Yao Qi <yao.qi@linaro.org>
6431 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6433 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6434 * gdb.base/call-rt-st.exp: Likewise.
6435 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6436 return value instead of gdb,skip_float_test.
6437 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6438 (do_function_calls): Use its return value instead of
6439 gdb,skip_float_test.
6440 * gdb.base/finish.exp: Likewise.
6441 * gdb.base/funcargs.exp: Likewise.
6442 * gdb.base/return.exp: Likewise.
6443 * gdb.base/return2.exp: Likewise.
6444 * gdb.base/varargs.exp: Likewise.
6445 * lib/gdb.exp (gdb_skip_float_test): Change it to
6446 gdb_caching_proc. Detect the broken ptrace on arm-linux.
6448 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6450 * gdb.multi/tids.exp: Test "thread apply all".
6452 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6454 * gdb.base/default.exp (tty): Remove.
6456 2016-08-24 Kevin Buettner <kevinb@redhat.com>
6458 * gdb.python/py-recurse-unwind.c: New file.
6459 * gdb.python/py-recurse-unwind.py: New file.
6460 * gdb.python/py-recurse-unwind.exp: New file.
6462 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
6464 * gdb.base/set-inferior-tty.exp: New file.
6465 * gdb.base/set-inferior-tty.c: New file.
6467 2016-08-23 Pedro Alves <palves@redhat.com>
6470 * gdb.base/new-ui-echo.c: New file.
6471 * gdb.base/new-ui-echo.exp: New file.
6473 2016-08-23 Yao Qi <yao.qi@linaro.org>
6475 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6477 * gdb.server/connect-without-multi-process.exp (do_test):
6480 2016-08-23 Yao Qi <yao.qi@linaro.org>
6482 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6483 standalone_txt. Delete gdb_txt and standalone_txt on host
6484 and target. Spawn the binary on target. Copy files from
6487 2016-08-22 Pedro Alves <palves@redhat.com>
6490 * gdb.base/vdso-warning.exp: Test core dumps too. Use
6491 with_test_prefix. Factor out bits to ...
6492 (test_no_vdso): ... this new procedure.
6494 2016-08-19 Carl Love <cel@us.ibm.com>
6496 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6497 maintaining separate logic for constructing the output path.
6498 * gdb.arch/powerpc-d128-regs.exp: Likewise.
6499 * gdb.arch/ppc-dfp.exp: Likewise.
6500 * gdb.arch/ppc-fp.exp: Likewise.
6501 * gdb.arch/vsx-regs.exp: Likewise.
6502 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6503 binprefix for generating the additional binary files.
6505 2016-08-19 Pedro Alves <palves@redhat.com>
6507 * gdb.trace/mi-trace-frame-collected.exp
6508 (test_trace_frame_collected): On x32, expect two registers.
6510 2016-08-18 Carl Love <cel@us.ibm.com>
6512 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6513 and sync up the test with tests in gas/testsuite/gas/ppc.
6514 * gdb.arch/powerpc-power.exp: Likewise.
6516 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6518 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6519 expected error message.
6521 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6523 * gdb.multi/remove-inferiors.exp: New file.
6524 * gdb.multi/remove-inferiors.c: New file.
6526 2016-08-12 Yao Qi <yao.qi@linaro.org>
6528 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6531 2016-08-10 Pedro Alves <palves@redhat.com>
6534 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6537 2016-08-09 Pedro Alves <palves@redhat.com>
6538 Simon Marchi <simon.marchi@ericsson.com>
6541 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6542 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6544 2016-08-09 Pedro Alves <palves@redhat.com>
6547 * gdb.mi/mi-cmd-error.exp: New file.
6549 2016-08-09 Pedro Alves <palves@redhat.com>
6552 * gdb.base/signals-state-child.c: New file.
6553 * gdb.base/signals-state-child.exp: New file.
6554 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6556 2016-08-09 Pedro Alves <palves@redhat.com>
6558 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6560 2016-08-03 Tom Tromey <tom@tromey.com>
6563 * gdb.python/py-frame-inline.exp: Add Frame.function test.
6565 2016-08-01 Yao Qi <yao.qi@linaro.org>
6567 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6568 variable mode to "multi-process" if $multi_process is 1, otherwise
6569 set it to "single-process".
6571 2016-08-01 Yao Qi <yao.qi@linaro.org>
6573 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6574 * gdb.cp/cpexprs.exp: Likewise.
6575 * gdb.cp/m-static.exp: Likewise.
6577 2016-07-26 Tom Tromey <tom@tromey.com>
6580 * gdb.threads/tls.exp (check_thread_local): Add python symbol
6583 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
6585 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6586 selecting assembly source files.
6587 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6588 assembly source files.
6589 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6590 assembly source files.
6591 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6592 selecting assembly source files.
6594 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
6596 * gdb.base/new-ui.exp (do_test_invalid_args): New
6599 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
6601 * gdb.btrace/reconnect.c: New file.
6602 * gdb.btrace/reconnect.exp: New file.
6604 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
6606 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6607 to test_catch_syscall_group.
6608 (test_catch_syscall_group): New.
6610 2016-07-21 Tom Tromey <tom@tromey.com>
6612 * gdb.rust/simple.rs (main): Use empty struct expression.
6613 * gdb.rust/simple.exp: Add tests for empty struct expression.
6615 2016-07-21 Yao Qi <yao.qi@linaro.org>
6617 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6618 if gdb_skip_xml_test is true on some targets.
6620 2016-07-21 Yao Qi <yao.qi@linaro.org>
6622 * gdb.server/solib-list.exp: Unset last_loaded_file.
6624 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6626 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6627 "step into captured_main (args)".
6629 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6631 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6633 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6635 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6637 2016-07-19 Pedro Alves <palves@redhat.com>
6639 * gdb.opt/inline-break.exp: Remove optimize=-O2.
6640 * gdb.opt/inline-bt.exp: Likewise.
6641 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6642 additional_flags=-Winline.
6643 * gdb.opt/inline-locals.exp: Likewise.
6644 * gdb.opt/inline-markers.c (ATTR): Define.
6645 (inlined_fn): Use it.
6647 2016-07-19 Yao Qi <yao.qi@linaro.org>
6649 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6650 (test_with_self): Remove some code. Remove argument executable.
6651 (top-level): Use do_self_tests.
6653 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
6654 Don Breazeal <donb@codesourcery.com>
6656 * gdb.base/maint.exp: Escape paths used in regular expressions.
6657 * gdb.stabs/weird.exp: Likewise.
6659 2016-07-13 Tom Tromey <tom@tromey.com>
6661 PR python/15620, PR python/18620:
6662 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6663 (test_bkpt_events): New procs.
6665 2016-07-13 Tom Tromey <tom@tromey.com>
6668 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6670 (test_watchpoints): Likewise.
6671 (test_bkpt_pending): New proc.
6673 2016-07-13 Tom Tromey <tom@tromey.com>
6676 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6679 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6681 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6682 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6683 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6685 (g): Rename g_end_lbl to g_label.
6686 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6688 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6690 2016-07-12 Tom Tromey <tom@tromey.com>
6693 * gdb.python/py-unwind-maint.exp: Update tests.
6695 2016-07-12 Yao Qi <yao.qi@linaro.org>
6697 * lib/selftest-support.exp (selftest_setup): Match the output
6698 when captured_main is inlined.
6700 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6702 * gdb.fortran/derived-types.exp (result_line, result_line_2):
6704 (print this%a, print this%b, print this): New tests.
6705 * gdb.fortran/derived-types.f90 (this): New object and
6708 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6710 * gdb.ada/arraydim.exp: Remove extra directory level in build
6713 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6715 * lib/ada.exp: Remove extra directory level in build directory.
6716 * gdb.ada/cond_lang.exp: Likewise.
6717 * gdb.ada/exec_changed.exp: Likewise.
6718 * gdb.ada/lang_switch.exp: Likewise.
6720 2016-07-06 Manish Goregaokar <manish@mozilla.com>
6722 * simple.rs: Add test for raw pointer subscripting.
6723 * simple.exp: Add test expectations.
6725 2016-07-05 Yao Qi <yao.qi@linaro.org>
6727 * gdb.mi/mi-reverse.exp: Match =record-started output.
6729 2016-07-01 Pedro Alves <palves@redhat.com>
6731 * gdb.base/jit-reader.exp (info_registers_current_frame): New
6733 (jit_reader_test): Test the jit reader's unwinder.
6734 * gdb.base/jithost.c (jit_function_00_code): New global.
6735 (main): Use memcpy to fill in the mmapped code, instead of poking
6736 bytes manually here.
6737 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6739 (read_debug_info): Save the function's range.
6740 (read_sp): New function.
6741 (unwind_frame): Use it. Also unwind RBP.
6742 (get_frame_id): Use read_sp.
6743 (gdb_init_reader): Use calloc instead of malloc.
6744 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6745 parameter. Use gdb_test_multiple.
6747 2016-07-01 Pedro Alves <palves@redhat.com>
6748 Antoine Tremblay <antoine.tremblay@ericsson.com>
6750 * gdb.threads/process-dies-while-detaching.c: New file.
6751 * gdb.threads/process-dies-while-detaching.exp: New file.
6753 2016-07-01 Pedro Alves <palves@redhat.com>
6755 * gdb.multi/watchpoint-multi-exit.c: New file.
6756 * gdb.multi/watchpoint-multi-exit.exp: New file.
6758 2016-06-30 Pedro Alves <palves@redhat.com>
6760 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6761 unset inferior_spawn_id.
6763 2016-06-30 Pedro Alves <palves@redhat.com>
6765 * lib/mi-support.exp (default_mi_gdb_start): Declare global
6766 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6768 2016-06-29 Yao Qi <yao.qi@linaro.org>
6770 * gdb.base/return.c: Add copyright header.
6772 2016-06-29 Tom Tromey <tom@tromey.com>
6775 * gdb.python/py-framefilter.exp: Add tests for setting priority
6776 and disabling of non-existent frame filter.
6778 2016-06-29 Yao Qi <yao.qi@linaro.org>
6780 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6783 2016-06-28 Yao Qi <yao.qi@linaro.org>
6785 * gdb.base/catch-syscall.exp: Remove check on isnative and target
6786 triplets. Start gdb, execute catch syscall, and continue. Check
6787 gdb's output to determine catch syscall is supported.
6789 2016-06-27 Manish Goregaokar <manish@mozilla.com>
6791 * gdb.rust/simple.rs: Add test for returning unit in a function.
6792 * gdb.rust/simple.exp: Add expectation for functions returning
6795 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
6797 * gdb.python/py-breakpoint-create-fail.c,
6798 gdb.python/py-breakpoint-create-fail.exp,
6799 gdb.python/py-breakpoint-create-fail.py: New testcase.
6801 2016-06-25 Manish Goregaokar <manish@mozilla.com>
6804 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6805 * gdb.rust/simple.exp: Add test expectations for new NonZero
6808 2016-06-24 David Taylor <dtaylor@emc.com>
6810 * gdb.base/offsets.exp: New file.
6811 * gdb.base/offsets.c: New file.
6813 2016-06-23 Tom Tromey <tom@tromey.com>
6816 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6817 before any filters are loaded.
6819 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
6821 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6822 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6824 * gdb.fortran/derived-type-function.exp: New file.
6825 * gdb.fortran/derived-type-function.f90: New file.
6828 2016-06-21 Pedro Alves <palves@redhat.com>
6830 * gdb.base/new-ui.exp: New file.
6831 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6832 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6833 (with_spawn_id): New procedure.
6835 2016-06-21 Pedro Alves <palves@redhat.com>
6837 * gdb.mi/mi-exec-run.exp: New file.
6839 2016-06-21 Pedro Alves <palves@redhat.com>
6841 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6842 breakpoint command's output on the main UI.
6843 (test_break): New procedure, factored out from calls in the top
6845 (top level): Use foreach_with_prefix to test MI as main UI and as
6848 2016-06-21 Pedro Alves <palves@redhat.com>
6850 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6851 (test_awatch_creation_and_listing)
6852 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6853 Remove 'type' parameter.
6854 (test_watchpoint_all): New parameter mi_mode. Remove
6856 (top level): Use foreach_with_prefix, and add main/separate UI MI
6859 2016-06-21 Pedro Alves <palves@redhat.com>
6861 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6862 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6863 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6864 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6865 (gdb_main_spawn_id, mi_spawn_id): Declare and
6867 (mi_create_inferior_pty): New procedure,
6868 factored out from default_mi_gdb_start.
6869 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6871 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6872 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6873 Use mi_create_inferior_pty.
6874 (mi_gdb_start): Use eval to pass down args list.
6876 2016-06-21 Pedro Alves <palves@redhat.com>
6878 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6879 * gdb.opt/inline-cmds.exp: Add MI tests.
6881 2016-06-21 Pedro Alves <palves@redhat.com>
6883 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6885 2016-06-21 Pedro Alves <palves@redhat.com>
6887 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6888 (top level): Use it instead of mi_execute_to.
6890 2016-06-21 Pedro Alves <palves@redhat.com>
6892 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6893 (cont_handler_str): New.
6894 (signal_stop_handler): Set stop_handler_str instead of printing to
6896 (continue_handler): Set cont_handler_str instead of printing to
6898 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6899 mi_send_resuming_command. Print stop_handler_str and
6900 cont_handler_str instead of expecting the python events print
6903 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6905 * gdb.base/jit-reader.exp: New file.
6906 * gdb.base/jithost.c: New file.
6907 * gdb.base/jithost.h: New file.
6908 * gdb.base/jitreader.c : New file.
6909 * gdb.base/jit-protocol.h: New file.
6911 2016-06-17 Yao Qi <yao.qi@linaro.org>
6913 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6914 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6915 and detach-on-fork. Adjust tests.
6916 (top level): Invoke break_cond_on_syscall with combinations of
6917 syscall, follow-fork-mode and detach-on-fork.
6919 2016-06-17 Yao Qi <yao.qi@linaro.org>
6921 * gdb.base/step-over-exit.c: New.
6922 * gdb.base/step-over-exit.exp: New.
6924 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6926 * gdb.base/float.exp: Add target check for nds32*-*-*.
6927 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6929 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6931 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6932 for unsupported target features.
6933 * gdb.base/call-rt-st.exp: Likewise.
6934 * gdb.base/call-sc.exp: Likewise.
6935 * gdb.base/call-signal-resume.exp: Likewise.
6936 * gdb.base/call-strs.exp: Likewise.
6937 * gdb.base/callexit.exp: Likewise.
6938 * gdb.base/callfuncs.exp: Likewise.
6939 * gdb.base/nodebug.exp: Likewise.
6940 * gdb.base/printcmds.exp: Likewise.
6941 * gdb.base/ptype.exp: Likewise.
6942 * gdb.base/structs.exp: Likewise.
6943 * gdb.base/unwindonsignal.exp: Likewise.
6944 * gdb.cp/gdb2495.exp: Likewise.
6945 * gdb.cp/templates.exp: Likewise.
6946 * gdb.cp/virtfunc.exp: Likewise.
6947 * gdb.threads/hand-call-in-threads.exp: Likewise.
6948 * gdb.threads/interrupted-hand-call.exp: Likewise.
6949 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6951 2016-06-10 Tom Tromey <tom@tromey.com>
6954 * gdb.rust/expr.exp: Add test for integer constant larger than
6957 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6959 * gdb.fortran/nested-funcs.exp: New.
6960 * gdb.fortran/nested-funcs.f90: New.
6962 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6964 * gdb.base/examine-backward.c: New file.
6965 * gdb.base/examine-backward.exp: New file.
6967 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6969 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6972 2016-06-02 Tom Tromey <tom@tromey.com>
6975 * gdb.python/py-shared.exp: Add solib_name test.
6977 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6979 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6981 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6984 * gdb.dwarf2/implref.exp: Rename to...
6985 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6986 * gdb.dwarf2/implref-array.c: New file.
6987 * gdb.dwarf2/implref-array.exp: Likewise.
6988 * gdb.dwarf2/implref-global.c: Likewise.
6989 * gdb.dwarf2/implref-global.exp: Likewise.
6990 * gdb.dwarf2/implref-struct.c: Likewise.
6991 * gdb.dwarf2/implref-struct.exp: Likewise.
6993 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6995 * gdb.trace/trace-condition.exp: Add 64bit tests.
6997 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6999 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7001 (main): Adapt to 8 to 64 bits types.
7002 * gdb.trace/trace-condition.exp: Add new tests.
7004 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7006 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7008 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7010 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7011 Move condition tests...
7012 * gdb.trace/trace-condition.exp: Here.
7014 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7016 * gdb.trace/trace-condition.exp: Add counter-case tests.
7018 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7021 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7022 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7024 2016-05-27 Pedro Alves <palves@redhat.com>
7026 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7028 (top level): Call it, and bail out of DejaGnu is known to be bad.
7030 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
7032 * gdb.base/whatis.c: Extend the test case.
7033 * gdb.base/whatis.exp: Add additional tests.
7035 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7037 * gdb.fortran/type.f90: Add pointer variable.
7038 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7040 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7042 * gdb.fortran/vla-type.exp: Fix testcase name.
7044 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7046 * gdb.fortran/vla-type.exp: Access elements in nested structs.
7048 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7050 * gdb.fortran/type.f90: Add nested structures.
7051 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7052 * gdb.fortran/derived-type.exp: Adapt expected output.
7053 * gdb.fortran/vla-type.exp: Adapt expected output.
7055 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7057 * gdb.fortran/whatis_type.exp: Adapt expected output.
7059 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7061 * gdb.fortran/print_type.exp: Fix expected output.
7062 * gdb.fortran/whatis_type.exp: Fix expected output.
7064 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7066 * gdb.fortran/whatis_type.exp: Use multi_line.
7068 2016-05-24 Tom Tromey <tom@tromey.com>
7071 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7072 use value as an index.
7074 2016-05-23 Tom Tromey <tom@tromey.com>
7077 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7080 2016-05-24 Pedro Alves <palves@redhat.com>
7083 * gdb.threads/clone-attach-detach.c: New file.
7084 * gdb.threads/clone-attach-detach.exp: New file.
7086 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
7088 * gdb.base/annota-input-while-running.exp: Fix syntax error.
7090 2016-05-23 Tom Tromey <tom@tromey.com>
7092 PR python/19438, PR python/18393:
7093 * gdb.python/py-progspace.exp: Add "dir" test.
7094 * gdb.python/py-objfile.exp: Add "dir" test.
7096 2016-05-23 Yao Qi <yao.qi@linaro.org>
7098 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7099 * gdb.arch/thumb2-it.exp: Likewise.
7101 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
7103 * gdb.mi/mi-threads-interrupt.c: New file.
7104 * gdb.mi/mi-threads-interrupt.exp: New file.
7106 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
7109 * gdb.mi/mi-async-run.exp: New file.
7110 * gdb.mi/mi-async-run.c: New file.
7112 2016-05-17 Tom Tromey <tom@tromey.com>
7113 Manish Goregaokar <manishsmail@gmail.com>
7115 * lib/rust-support.exp: New file.
7116 * lib/gdb.exp (skip_rust_tests): New proc.
7117 (build_executable_from_specs): Handle rust.
7118 * lib/future.exp (gdb_find_rustc): New proc.
7119 (gdb_default_target_compile): Handle rust.
7120 * gdb.rust/expr.exp: New file.
7121 * gdb.rust/generics.exp: New file.
7122 * gdb.rust/generics.rs: New file.
7123 * gdb.rust/methods.exp: New file.
7124 * gdb.rust/methods.rs: New file.
7125 * gdb.rust/modules.exp: New file.
7126 * gdb.rust/modules.rs: New file.
7127 * gdb.rust/simple.exp: New file.
7128 * gdb.rust/simple.rs: New file.
7130 2016-05-17 Tom Tromey <tom@tromey.com>
7132 * gdb.base/default.exp (set language): Add rust.
7134 2016-05-17 Tom Tromey <tom@tromey.com>
7136 * gdb.gdb/unittest.exp: New file.
7138 2016-05-16 Yao Qi <yao.qi@linaro.org>
7140 * gdb.base/batch-preserve-term-settings.exp: Remove variable
7141 shell_prompt. Update shell_prompt_re.
7143 2016-05-12 Doug Evans <dje@google.com>
7146 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7147 $options when building executable.
7148 * gdb.dwarf2/fission-loclists-pie.S: New file.
7149 * gdb.dwarf2/fission-loclists-pie.exp: New file.
7151 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7153 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
7154 of [is_remote target],
7156 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7158 * lib/gdb.exp (use_gdb_stub): New procedure.
7160 2016-05-03 Yunlian Jiang <yunlian@google.com>
7161 Doug Evans <dje@google.com>
7164 * gdb.dwarf2/dwp-sepdebug.c: New file.
7165 * gdb.dwarf2/dwp-sepdebug.exp: New file.
7167 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7169 * gdb.base/detach.exp: Remove is_remote check.
7171 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7173 * gdb.base/annota-input-while-running.exp: Don't check for
7174 [is_remote target]. Enable annotations after running to main.
7175 Remove unused "set test..." line.
7177 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7179 * gdb.trace/trace-enable-disable.exp: New file.
7180 * gdb.trace/trace-enable-disable.c: New file.
7182 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7184 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7185 use it in info sharedlibrary test.
7186 * gdb.trace/ftrace-lock.exp: Likewise.
7187 * gdb.trace/ftrace.exp: Likewise.
7188 * gdb.trace/range-stepping.exp: Likewise.
7189 * gdb.trace/trace-break.exp: Likewise.
7190 * gdb.trace/trace-condition.exp: Likewise.
7191 * gdb.trace/trace-mt.exp: Likewise.
7193 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7195 * lib/gdb.exp (gdb_load_shlibs): Rename to...
7196 (gdb_load_shlib): ... this.
7197 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7199 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7200 * gdb.base/ctxobj.exp: Likewise.
7201 * gdb.base/dprintf-pending.exp: Likewise.
7202 * gdb.base/dso2dso.exp: Likewise.
7203 * gdb.base/fixsection.exp: Likewise.
7204 * gdb.base/gcore-relro.exp: Likewise.
7205 * gdb.base/gdb1555.exp: Likewise.
7206 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7207 * gdb.base/gnu-ifunc.exp: Likewise.
7208 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7209 * gdb.base/jit-so.exp (one_jit_test): Likewise.
7210 * gdb.base/pending.exp: Likewise.
7211 * gdb.base/print-file-var.exp: Likewise.
7212 * gdb.base/print-symbol-loading.exp: Likewise.
7213 * gdb.base/shlib-call.exp: Likewise.
7214 * gdb.base/shreloc.exp: Likewise.
7215 * gdb.base/so-impl-ld.exp: Likewise.
7216 * gdb.base/solib-disc.exp: Likewise.
7217 * gdb.base/solib-nodir.exp: Likewise.
7218 * gdb.base/solib-overlap.exp: Likewise.
7219 * gdb.base/solib-symbol.exp: Likewise.
7220 * gdb.base/solib-weak.exp (do_test): Likewise.
7221 * gdb.base/sym-file.exp: Likewise.
7222 * gdb.base/symtab-search-order.exp: Likewise.
7223 * gdb.base/type-opaque.exp: Likewise.
7224 * gdb.base/unload.exp: Likewise.
7225 * gdb.base/watchpoint-solib.exp: Likewise.
7226 * gdb.compile/compile.exp: Likewise.
7227 * gdb.cp/gdb2384.exp: Likewise.
7228 * gdb.cp/infcall-dlopen.exp: Likewise.
7229 * gdb.cp/re-set-overloaded.exp: Likewise.
7230 * gdb.fortran/library-module.exp: Likewise.
7231 * gdb.opt/solib-intra-step.exp: Likewise.
7232 * gdb.python/py-finish-breakpoint.exp: Likewise.
7233 * gdb.python/py-shared.exp: Likewise.
7234 * gdb.reverse/solib-precsave.exp: Likewise.
7235 * gdb.reverse/solib-reverse.exp: Likewise.
7236 * gdb.server/solib-list.exp: Likewise.
7237 * gdb.threads/dlopen-libpthread.exp: Likewise.
7238 * gdb.threads/tls-shared.exp: Likewise.
7239 * gdb.threads/tls-so_extern.exp: Likewise.
7240 * gdb.trace/change-loc.exp: Likewise.
7241 * gdb.trace/ftrace-lock.exp: Likewise.
7242 * gdb.trace/ftrace.exp: Likewise.
7243 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7244 * gdb.trace/pending.exp: Likewise.
7245 * gdb.trace/range-stepping.exp: Likewise.
7246 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7247 (strace_info_marker): Likewise.
7248 (strace_probe_marker): Likewise.
7249 (strace_trace_on_same_addr): Likewise.
7250 (strace_trace_on_diff_addr): Likewise.
7251 * gdb.trace/trace-break.exp: Likewise.
7252 * gdb.trace/trace-condition.exp: Likewise.
7253 * gdb.trace/trace-mt.exp: Likewise.
7255 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7257 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
7258 result of gdb_remote_download.
7259 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7260 * gdb.base/dso2dso.exp: Likewise.
7261 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7262 * gdb.base/print-file-var.exp: Likewise.
7263 * gdb.base/shlib-call.exp: Likewise.
7264 * gdb.base/shreloc.exp: Likewise.
7265 * gdb.base/solib-overlap.exp: Likewise.
7266 * gdb.base/solib-weak.exp (do_test): Likewise.
7267 * gdb.base/unload.exp: Likewise.
7269 2016-04-27 Yao Qi <yao.qi@linaro.org>
7271 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7274 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7276 * vla-type.exp: Print structure from toplevel.
7278 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7280 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7282 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7285 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7287 * gdb.fortran/vla-type.f90: New file.
7288 * gdb.fortran/vla-type.exp: New file.
7290 2016-04-25 Yao Qi <yao.qi@linaro.org>
7292 * gdb.base/branch-to-self.c: New file.
7293 * gdb.base/branch-to-self.exp: New file.
7295 2016-04-22 Yao Qi <yao.qi@linaro.org>
7297 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7300 2016-04-22 Yao Qi <yao.qi@linaro.org>
7302 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7303 * gdb.base/annota3.exp: Likewise.
7305 2016-04-22 Yao Qi <yao.qi@linaro.org>
7307 * gdb.reverse/step-precsave.exp: Do one step and test program
7308 stops in "callee" and do multiple steps until program goes out
7310 * gdb.reverse/step-reverse.exp: Likewise.
7312 2016-04-22 Yao Qi <yao.qi@linaro.org>
7314 * gdb.trace/signal.exp: Also pass if
7315 $tracepoint_hits($i) > $iterations.
7317 2016-04-22 Yao Qi <yao.qi@linaro.org>
7319 * gdb.trace/signal.c: New file.
7320 * gdb.trace/signal.exp: New file.
7322 2016-04-19 Doug Evans <xdje42@gmail.com>
7324 * gdb.base/bad-file.exp: New file.
7326 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
7328 * gdb.dwarf2/implref.exp: New file.
7330 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7332 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7333 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7334 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7335 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7336 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7337 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7338 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7339 * lib/fortran.exp (fortran_int4): New procedure.
7340 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7341 (fortran_logical4): Likewise.
7343 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
7345 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7347 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7349 * lib/compiler.c: Add Intel specific preprocessor macros.
7350 * lib/compiler.cc: Likewise.
7352 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
7354 * gdb.server/connect-with-no-symbol-file.c: New file.
7355 * gdb.server/connect-with-no-symbol-file.exp: New file.
7357 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7359 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7361 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7363 * boards/gdbserver-base.exp (${board}_download): Copy source file to
7364 standard output directory.
7366 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
7368 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7370 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
7372 * gdb.btrace/instruction_history.c (loop): Add declaration.
7374 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7376 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7378 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
7380 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7381 parentheses to print.
7382 (continue_handler): Likewise.
7384 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
7386 * gdb.server/solib-list.exp: Remove is_remote check.
7387 Pass shlib= to gdb_compile. Don't link shared library with
7388 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
7389 Run binary filename through "readlink -f" on the target.
7391 2016-04-08 Pedro Alves <palves@redhat.com>
7393 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
7394 interpreter filename as argument to gdbserver_spawn.
7395 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7396 Return empty if $last_loaded_file does not exist.
7398 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7400 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7401 * gdb.base/jit-main.c: Use exit after usage.
7403 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7405 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7406 GDBHISTSIZE prior to the tests.
7407 * gdb.base/gdbinit-history.exp: Likewise.
7409 2016-04-07 Pedro Alves <palves@redhat.com>
7411 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7412 instead of build_executable. Use gdb_load_shlibs.
7414 2016-04-07 Yao Qi <yao.qi@linaro.org>
7416 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7417 Execute "si" command.
7419 2016-04-07 Yao Qi <yao.qi@linaro.org>
7421 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7422 number instead of the comments on some line.
7424 2016-04-06 Don Breazeal <donb@codesourcery.com>
7426 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7427 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7429 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
7431 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7432 standard_output_file. Remove unused binfile variable.
7434 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
7436 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7437 * gdb.python/py-mi-objfile.exp: Match "list main" output
7440 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
7442 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7445 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7447 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7449 * gdb.trace/ftrace.exp: Likewise.
7450 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7452 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7453 (gdb_load_shlibs): Copy libraries to test directory when testing
7454 natively. Only set solib-search-path if testing remotely.
7455 * lib/mi-support.exp (mi_load_shlibs): Likewise.
7457 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7459 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7460 gdb_download. Use it even if the target is not remote.
7461 * gdb.base/jit.exp (compile_jit_test): Likewise.
7462 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7463 output directory if the destination board is local, otherwise use
7464 the standard remote_download from DejaGnu.
7465 (gdb_download): Remove.
7466 (gdb_load_shlibs): Use gdb_remote_download instead of
7468 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7469 Use gdb_remote_download instead of gdb_download. Use it even if
7470 the target is not remote.
7471 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7472 instead of gdb_download.
7474 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
7476 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7477 (test_insert_delete_modify): Call mi_load_shlibs before trying to
7480 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
7483 * gdb.base/printcmds.exp: Add artificial arrays tests.
7485 2016-03-31 Pedro Alves <palves@redhat.com>
7488 * gdb.base/jit-main.c: Include unistd.h.
7489 (ATTACH): Define to 0 if not already defined.
7490 (wait_for_gdb, mypid): New globals.
7491 (WAIT_FOR_GDB): New macro.
7492 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
7493 some breakpoint locations.
7494 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7496 (one_jit_test): Add REATTACH parameter, and handle it. Use
7497 continue_to_test_location.
7498 (top level): Test attach, and adjusts calls to one_jit_test.
7500 2016-03-31 Pedro Alves <palves@redhat.com>
7503 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
7504 BINSUFFIX parameter, and handle it.
7505 (top level): Adjust calls compile_jit_test.
7507 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
7510 * gdb.python/py-mi-events-gdb.py: New file.
7511 * gdb.python/py-mi-events.c: New file.
7512 * gdb.python/py-mi-events.exp: New file.
7514 2016-03-30 Yao Qi <yao.qi@linaro.org>
7516 * gdb.reverse/until-precsave.exp: Match function name only.
7517 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7518 Move malloc to a condition block.
7519 * gdb.reverse/until-reverse.exp: Match function name only.
7521 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
7523 * gdb.trace/ftrace.exp: Set arg0exp for s390.
7524 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7525 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7526 variable for GPR 0 instead of assuming it is register 0.
7527 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7528 * lib/trace-support.exp: Add s390 registers.
7530 2016-03-29 Yao Qi <yao.qi@linaro.org>
7532 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7534 2016-03-24 Yao Qi <yao.qi@linaro.org>
7536 * gdb.reverse/break-reverse.exp: Add quotation mark in the
7539 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7541 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7542 maintaining separate logic for constructing the output path.
7544 2016-03-16 Don Breazeal <donb@codesourcery.com>
7546 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7547 Retry fork and waitpid on interrupted system call errors.
7548 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7549 Use with_timeout_factor to increase timeout by factor of 10.
7551 2016-03-15 Don Breazeal <donb@codesourcery.com>
7553 * gdb.cp/scope-err.cc: New test program.
7554 * gdb.cp/scope-err.exp: New test script.
7555 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7556 lines and "set breakpoint here" comment.
7557 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7558 Fixed some whitespace and format issues.
7559 * gdb.mi/mi-linespec-err-cp.cc: New test program.
7560 * gdb.mi/mi-linespec-err-cp.exp: New test script.
7562 2016-03-15 Doug Evans <dje@google.com>
7564 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7565 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7566 All callers updated. Add tests for enums, mixed flags register.
7568 2016-03-15 Doug Evans <dje@google.com>
7570 * gdb.base/skip.c (main): Call test_skip_file_and_function.
7571 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7573 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
7575 * gdb.base/default.exp: Add $_as_string to the list of expected
7576 convenience functions.
7578 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
7580 * gdb.base/maint.exp: New tests for 'maint info line-table'.
7582 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
7584 * gdb.python/py-as-string.exp: New file.
7585 * gdb.python/py-as-string.c: New file.
7587 2016-03-09 Pedro Alves <palves@redhat.com>
7589 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7590 signal" -> "Thread NN received signal" output change.
7591 * gdb.threads/ia64-sigill.exp: Likewise.
7592 * gdb.threads/linux-dp.exp: Likewise.
7593 * gdb.threads/manythreads.exp: Likewise.
7594 * gdb.threads/pending-step.exp: Likewise.
7595 * gdb.threads/print-threads.exp: Likewise.
7596 * gdb.threads/sigstep-threads.exp: Likewise.
7597 * gdb.threads/staticthreads.exp: Likewise.
7598 * gdb.threads/tls.exp: Likewise.
7600 2016-03-09 Pedro Alves <palves@redhat.com>
7602 * gdb.base/command-line-input.exp: New file.
7604 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7606 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7607 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7608 * gdb.trace/pending.exp: Accept leading dot before function name.
7609 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7610 * lib/trace-support.exp: Set registers for ppc.
7612 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7614 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7615 use it for disassembly; accept .main in addition to main in backtrace.
7617 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
7618 Marcin Kościelnicki <koriakin@0x04.net>
7620 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7621 (gdb_recursion_test_ptr): New global variable.
7622 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7624 (gdb_c_test): Ditto.
7626 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7628 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7631 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7633 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7634 (bar): Add bar_start_lbl label.
7635 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7636 of foo/bar for emitting DWARF and tracing.
7638 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
7640 * analyze-racy-logs.py: Set executable bit.
7642 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
7644 * Makefile.in (DEFAULT_RACY_ITER): New variable.
7645 (CHECK_TARGET_TMP): Likewise.
7646 (check-single-racy): New rule.
7647 (check-parallel-racy): Likewise.
7648 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7649 (do-check-parallel-racy): New rule.
7650 (check-racy/%.exp): Likewise.
7651 * README (Racy testcases): New section.
7652 * analyze-racy-logs.py: New file.
7654 2016-03-03 Doug Evans <dje@google.com>
7656 * gdb.base/skip.exp: Use with_test_prefix.
7658 2016-03-03 Yao Qi <yao.qi@linaro.org>
7660 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7661 Invoke step_over_syscall "clone" and break_cond_on_syscall
7663 * gdb.base/step-over-clone.c: New file.
7665 2016-03-03 Yao Qi <yao.qi@linaro.org>
7667 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7670 2016-03-03 Yao Qi <yao.qi@linaro.org>
7672 * gdb.base/disp-step-fork.c: Rename to ...
7673 * gdb.base/step-over-fork.c: ... it. New file.
7674 * gdb.base/disp-step-vfork.c: Rename to ...
7675 * gdb.base/step-over-vfork.c: ... it. New file.
7676 * gdb.base/disp-step-syscall.exp: Rename to ...
7677 * gdb.base/step-over-syscall.exp: ... it. New file.
7678 (disp_step_cross_syscall): Rename to ...
7679 (step_over_syscall): ... it.
7681 2016-03-03 Yao Qi <yao.qi@linaro.org>
7683 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7684 If target supports condition evaluation on target, invoke
7685 break_cond_on_syscall for fork and vfork.
7687 2016-03-03 Yao Qi <yao.qi@linaro.org>
7689 * gdb.base/disp-step-syscall.exp: Don't invoke
7690 support_displaced_stepping.
7691 (disp_step_cross_syscall): Test with displaced stepping off and
7694 2016-03-03 Yao Qi <yao.qi@linaro.org>
7696 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7699 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7702 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7704 * gdb.fortran/vla-history.exp: Remove breakpoint.
7706 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7708 * gdb.fortran/vla-history.exp: Lookup array elements and printing
7711 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7713 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7716 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7718 * gdb.mi/vla.f90: Nullify pointer after declaration.
7720 2016-03-01 Pedro Alves <palves@redhat.com>
7722 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7724 2016-03-01 Pedro Alves <palves@redhat.com>
7726 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7727 before anything else.
7728 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
7730 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7731 before anything else.
7732 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7734 2016-03-01 Pedro Alves <palves@redhat.com>
7736 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7738 2016-03-01 Yao Qi <yao.qi@linaro.org>
7740 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7741 prepare_for_testing.
7743 2016-03-01 Yao Qi <yao.qi@linaro.org>
7745 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7747 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7749 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7750 manually constructing the output path.
7752 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7754 * gdb.arch/s390-stackless.S: New.
7755 * gdb.arch/s390-stackless.exp: New.
7757 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
7759 * gdb.dlang/circular.c: New file.
7760 * gdb.dlang/circular.exp: New file.
7762 2016-02-26 Yao Qi <yao.qi@linaro.org>
7764 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7765 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7766 (testcases): Update.
7768 2016-02-26 Yao Qi <yao.qi@linaro.org>
7770 * gdb.reverse/aarch64.c: Rename to ...
7771 * gdb.reverse/insn-reverse.c: ... it.
7772 * gdb.reverse/aarch64.exp: Rename to ...
7773 * gdb.reverse/insn-reverse.exp: ... it.
7775 2016-02-26 Yao Qi <yao.qi@linaro.org>
7777 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7778 (testcase_ftype): New.
7779 (testcases): New array.
7781 (main): Call each element in testcases.
7782 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7783 (read_testcase): New.
7784 Do the tests in a loop.
7786 2016-02-25 Yao Qi <yao.qi@linaro.org>
7788 * gdb.base/branches.c: Remove.
7790 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7793 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7795 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7797 * gdb.trace/ftrace.exp: Remove unnecessary target check.
7799 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7801 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7802 change x86_64 call_insn to 'callq'.
7804 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7806 * gdb.trace/tfile-avx.c: Move to...
7807 * gdb.trace/tracefile-pseudo-reg.c: Here.
7808 * gdb.trace/tfile-avx.exp: Move to...
7809 * gdb.trace/tracefile-pseudo-reg.exp: Here.
7811 2016-02-24 Gary Benson <gbenson@redhat.com>
7813 * gdb.base/attach-pie-noexec.exp: Do not expect an error
7816 2016-02-23 Doug Evans <dje@google.com>
7818 * gdb.base/skip.c (test_skip): New function.
7819 (end_test_skip_file_and_function): New function.
7820 (test_skip_file_and_function): New function.
7821 * gdb.base/skip1.c (test_skip): New function.
7822 (skip1_test_skip_file_and_function): New function.
7823 * gdb.base/skip.exp: Add tests for new skip options.
7824 * gdb.base/skip-solib.exp: Update expected output.
7825 * gdb.perf/skip-command.cc: New file.
7826 * gdb.perf/skip-command.exp: New file.
7827 * gdb.perf/skip-command.py: New file.
7829 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
7831 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7832 info registers pattern.
7834 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
7836 * lib/future.exp: Add D support.
7837 (gdb_find_gdc): New proc.
7838 (gdb_default_target_compile): Add D support.
7840 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
7842 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7844 (trace_speed_test): Determine the iteration count for a time
7845 between 15..30 seconds.
7847 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
7849 * gdb.arch/i386-mpx-sigsegv.c: New file.
7850 * gdb.arch/i386-mpx-sigsegv.exp: New file.
7851 * gdb.arch/i386-mpx-simple_segv.c: New file.
7852 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7854 2016-02-18 Yao Qi <yao.qi@linaro.org>
7856 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7857 Don't call setup_kfail.
7859 2016-02-18 Yao Qi <yao.qi@linaro.org>
7861 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7862 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7864 2016-02-16 Doug Evans <dje@google.com>
7866 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7867 * gdb.base/skip1.c: Ditto.
7868 * gdb.base/skip.exp: Whitespace cleanup.
7870 2016-02-16 Don Breazeal <donb@codesourcery.com>
7873 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7874 Remove kfail for PR remote/19496.
7876 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7878 * lib/gdb.exp (standard_temp_file): Return a path specific to
7879 the runtest invocation.
7881 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7883 * gdb.trace/save-trace.exp: Change relative path to be in the
7884 standard output directory.
7886 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7888 * gdb.arch/i386-prologue.c: Add missing prototypes.
7890 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7892 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7893 * gdb.arch/i386-prologue.exp: Likewise.
7894 * gdb.arch/i386-size.exp: Likewise.
7896 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7898 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7899 define object file path.
7900 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7902 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7903 standard_output_file to define binfile.
7905 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7907 Fix compatibility with recent gfortran-5.3.1.
7908 * gdb.fortran/vla-history.exp (print vla1 allocated)
7909 (print vla2 allocated, print $2, print $3): Remove
7910 (print $4): Rename to ...
7911 (print $2): ... here.
7912 (print $9): Rename to ...
7913 (print $5): ... here.
7914 (print $10): Rename to ...
7915 (print $6): ... here.
7916 * gdb.fortran/vla.f90: Add pvla initialization.
7918 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7920 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7922 * gdb.fortran/vla-value-sub.exp: Likewise.
7924 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7926 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7928 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7930 * i386-biarch-core.exp: Define corefile using
7931 standard_output_file.
7933 2016-02-12 Yao Qi <yao.qi@linaro.org>
7935 * gdb.arch/arm-single-step-kernel-helper.c: New.
7936 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7938 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7940 * gdb.btrace/tailcall-only.exp: New.
7941 * gdb.btrace/tailcall-only.c: New.
7942 * gdb.btrace/x86_64-tailcall-only.S: New.
7943 * gdb.btrace/i686-tailcall-only.S: New.
7945 2016-02-11 Pedro Alves <palves@redhat.com>
7947 * README (Parallel testing): Add missing double quotes.
7949 2016-02-11 Pedro Alves <palves@redhat.com>
7951 * README (Parallel testing): New section.
7952 (GDB_PARALLEL): Rewrite.
7953 (FORCE_PARALLEL): Document.
7955 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7957 * gdb.trace/tfile-avx.c: New test.
7958 * gdb.trace/tfile-avx.exp: New test.
7960 2016-02-09 Keith Seitz <keiths@redhat.com>
7962 PR breakpoints/19546
7963 * gdb.base/infcall-exec.c: New file.
7964 * gdb.base/infcall-exec2.c: New file.
7965 * gdb.base/infcall-exec.exp: New file.
7967 2016-02-09 Keith Seitz <keiths@redhat.com>
7969 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7970 (toplevel): Call test_bkpt_address.
7972 2016-02-09 Keith Seitz <keiths@redhat.com>
7975 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7976 (toplevel): Call test_bkpt_address.
7978 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7980 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7982 * configure: Regenerate.
7984 2016-02-09 Pedro Alves <palves@redhat.com>
7986 PR breakpoints/19548
7987 * gdb.base/execl-update-breakpoints.c (some_function): New
7990 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7991 Tighten expected GDB output.
7993 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7995 * Makefile.in (ALL_SUBDIRS): Remove.
7996 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7997 (distclean maintainer-clean realclean): Likewise.
7998 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7999 * configure: Regenerate.
8000 * gdb.ada/Makefile.in: Delete.
8001 * gdb.arch/Makefile.in: Likewise.
8002 * gdb.asm/Makefile.in: Likewise.
8003 * gdb.base/Makefile.in: Likewise.
8004 * gdb.btrace/Makefile.in: Likewise.
8005 * gdb.cell/Makefile.in: Likewise.
8006 * gdb.compile/Makefile.in: Likewise.
8007 * gdb.cp/Makefile.in: Likewise.
8008 * gdb.disasm/Makefile.in: Likewise.
8009 * gdb.dlang/Makefile.in: Likewise.
8010 * gdb.dwarf2/Makefile.in: Likewise.
8011 * gdb.fortran/Makefile.in: Likewise.
8012 * gdb.gdb/Makefile.in: Likewise.
8013 * gdb.go/Makefile.in: Likewise.
8014 * gdb.guile/Makefile.in: Likewise.
8015 * gdb.java/Makefile.in: Likewise.
8016 * gdb.linespec/Makefile.in: Likewise.
8017 * gdb.mi/Makefile.in: Likewise.
8018 * gdb.modula2/Makefile.in: Likewise.
8019 * gdb.multi/Makefile.in: Likewise.
8020 * gdb.objc/Makefile.in: Likewise.
8021 * gdb.opencl/Makefile.in: Likewise.
8022 * gdb.opt/Makefile.in: Likewise.
8023 * gdb.pascal/Makefile.in: Likewise.
8024 * gdb.perf/Makefile.in: Likewise.
8025 * gdb.python/Makefile.in: Likewise.
8026 * gdb.reverse/Makefile.in: Likewise.
8027 * gdb.server/Makefile.in: Likewise.
8028 * gdb.stabs/Makefile.in: Likewise.
8029 * gdb.threads/Makefile.in: Likewise.
8030 * gdb.trace/Makefile.in: Likewise.
8031 * gdb.xml/Makefile.in: Likewise.
8032 * lib/gdb.exp (make_gdb_parallel_path): Add check for
8034 (standard_output_file): Remove check for GDB_PARALLEL, always
8035 return path in outputs/$subdir/$testname.
8037 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8039 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8040 (site.exp): Assign abs_srcdir to tcl's srcdir.
8042 2016-02-04 Yao Qi <yao.qi@linaro.org>
8044 * gdb.base/foll-exec-mode.c: Include limits.h.
8045 (main): Add parameters argc and argv. Get directory from
8047 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8049 * gdb.base/foll-exec.c: Include limits.h.
8050 (main): Add parameters argc and argv.
8051 Get directory from argv[0].
8052 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8053 Adjust tests on the number of lines as source code changed.
8054 * gdb.base/foll-vfork-exit.c: Include limits.h.
8055 (main): Add one line of statement before vfork.
8056 * gdb.base/foll-vfork.c: Include limits.h and string.h.
8057 (main): Add parameters argc and argv. Get directory from
8059 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8060 (setup_gdb): Set tbreak to skip some source lines.
8061 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8062 (main): Add parameters argc and argv. Get directory from
8064 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8066 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8067 (main): Add parameters argc and argv. Get directory from
8069 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8072 2016-02-01 Doug Evans <dje@google.com>
8074 * gdb.base/skip.exp: Clean up multiple references to same test name.
8076 2016-02-01 Pedro Alves <palves@redhat.com>
8079 * gdb.threads/forking-threads-plus-breakpoint.exp
8080 (displaced_stepping_supported): New global.
8081 (probe_displaced_stepping_support): New procedure.
8082 (do_test): Add 'displaced' parameter, and use it.
8083 (top level): Check for displaced stepping support. Add displaced
8084 stepping on/off testing axis.
8086 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8088 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8089 pointer. Don't perform further tests on the unassociated pointer
8090 if the first test fails.
8092 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8094 * gdb.base/max-value-size.c: New file.
8095 * gdb.base/max-value-size.exp: New file.
8096 * gdb.base/huge.exp: Disable max-value-size for this test.
8098 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
8100 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8102 2016-01-28 Yao Qi <yao.qi@linaro.org>
8104 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8106 2016-01-25 Pedro Alves <palves@redhat.com>
8109 * gdb.base/fork-running-state.c: New file.
8110 * gdb.base/fork-running-state.exp: New file.
8112 2016-01-25 Pedro Alves <palves@redhat.com>
8115 * gdb.base/catch-fork-kill.c: New file.
8116 * gdb.base/catch-fork-kill.exp: New file.
8118 2016-01-25 Pedro Alves <palves@redhat.com>
8120 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8121 Delete, moved to lib/gdb.exp.
8122 * gdb.threads/forking-threads-plus-breakpoint.exp
8123 (foreach_with_prefix): Likewise.
8124 * gdb.threads/process-dies-while-handling-bp.exp
8125 (foreach_with_prefix): Likewise.
8126 * lib/gdb.exp (foreach_with_prefix): New procedure.
8128 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
8130 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8131 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8133 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
8135 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8138 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8139 Pedro Alves <palves@redhat.com>
8141 Fix testsuite compatibility with Guile.
8142 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8145 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8147 Fix testsuite compatibility with Guile.
8148 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8149 (thread 1): New test for backtrace through signal handler.
8151 2016-01-22 Yao Qi <yao.qi@linaro.org>
8154 * gdb.base/multi-forks.c: Include
8155 ../lib/unbuffer_output.c
8156 (main): Call gdb_unbuffer_output.
8158 2016-01-21 Doug Evans <dje@google.com>
8160 * lib/ada.exp (gdb_compile_ada): Fix typo.
8162 2016-01-21 Joel Brobecker <brobecker@adacore.com>
8164 * gdb.base/break-fun-addr.exp: New file.
8165 * gdb.base/break-fun-addr1.c: New file.
8166 * gdb.base/break-fun-addr2.c: New file.
8168 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
8170 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8171 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8174 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8176 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8177 when GDB can not set the vector return value. Add more comments
8180 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
8182 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
8185 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8187 * Makefile.in (DO_RUNTEST): Add --status and update usages.
8189 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8191 * Makefile.in (check-single): Pass --status to runtest.
8192 (check/%.exp): Likewise.
8194 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8196 * Makefile.in (check-parallel): Propagate return code from make
8199 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
8201 * gdb.trace/ftrace.exp: Fix expected message on continue.
8202 * gdb.trace/pending.exp: Fix expected message on continue.
8203 * gdb.trace/trace-break.exp: Fix expected message on continue.
8205 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
8207 * lib/gdb.exp (gdb_test): Remove unused global references.
8209 2016-01-18 Pedro Alves <palves@redhat.com>
8211 * gdb.base/async-shell.exp: Adjust expected output.
8212 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8213 * gdb.base/siginfo-thread.exp: Adjust expected output.
8214 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8215 * gdb.java/jnpe.exp: Adjust expected output.
8216 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8217 * gdb.threads/continue-pending-status.exp: Adjust expected output.
8218 * gdb.threads/leader-exit.exp: Adjust expected output.
8219 * gdb.threads/manythreads.exp: Adjust expected output.
8220 * gdb.threads/pthreads.exp: Adjust expected output.
8221 * gdb.threads/schedlock.exp: Adjust expected output.
8222 * gdb.threads/siginfo-threads.exp: Adjust expected output.
8223 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8225 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8227 * gdb.threads/sigthread.exp: Adjust expected output.
8228 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8230 2016-01-18 Yao Qi <yao.qi@linaro.org>
8232 * gdb.guile/scm-section-script.c: Replace @progbits with
8234 * gdb.python/py-section-script.c: Likewise.
8236 2016-01-15 Pedro Alves <palves@redhat.com>
8238 * gdb.multi/tids.exp: Test star wildcard ranges.
8240 2016-01-15 Pedro Alves <palves@redhat.com>
8242 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8243 command from "thread apply" invocation.
8244 (thr_apply_info_thr_invalid): Default the expected output to the
8246 (top level): Add tests that use convenience variables. Add tests
8247 for "thread apply" with a valid TID list, but missing the command.
8249 2016-01-13 Pedro Alves <palves@redhat.com>
8251 * gdb.base/default.exp: Expect $_gthread as well.
8252 * gdb.multi/tids.exp: Test $_gthread.
8253 * gdb.threads/thread-specific.exp: Test $_gthread.
8255 2016-01-13 Pedro Alves <palves@redhat.com>
8257 * gdb.multi/tids.exp: Test "info threads -gid".
8259 2016-01-13 Pedro Alves <palves@redhat.com>
8261 * gdb.multi/tids.exp: Test InferiorThread.global_num and
8263 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8265 2016-01-07 Pedro Alves <palves@redhat.com>
8267 * gdb.base/break.exp: Adjust to output changes.
8268 * gdb.base/hbreak2.exp: Likewise.
8269 * gdb.base/sepdebug.exp: Likewise.
8270 * gdb.base/watch_thread_num.exp: Likewise.
8271 * gdb.linespec/keywords.exp: Likewise.
8272 * gdb.multi/info-threads.exp: Likewise.
8273 * gdb.threads/thread-find.exp: Likewise.
8274 * gdb.multi/tids.c: New file.
8275 * gdb.multi/tids.exp: New file.
8277 2016-01-13 Pedro Alves <palves@redhat.com>
8279 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8281 2016-01-13 Pedro Alves <palves@redhat.com>
8283 * gdb.base/default.exp: Expect $_inferior as well.
8284 * gdb.multi/base.exp: Test $_inferior.
8286 2016-01-13 Pedro Alves <palves@redhat.com>
8288 PR breakpoints/19388
8289 * gdb.base/catch-signal-siginfo-cond.c: New file.
8290 * gdb.base/catch-signal-siginfo-cond.exp: New file.
8292 2016-01-12 Josh Stone <jistone@redhat.com>
8293 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8295 * gdb.base/catch-syscall.c (do_execve): New variable.
8296 (main): Conditionally trigger an execve.
8297 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8298 (test_catch_syscall_execve): New, check entry/return across execve.
8299 (do_syscall_tests): Call test_catch_syscall_execve.
8301 2016-01-12 Pedro Alves <palves@redhat.com>
8303 * gdb.base/random-signal.exp (do_test): New procedure, with body
8304 of testcase moved in.
8306 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8307 Pedro Alves <palves@redhat.com>
8309 * gdb.base/funcargs.exp (finish from indirectly called function):
8310 Reintroduce the case for 'First'.
8312 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8313 Pedro Alves <palves@redhat.com>
8315 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8316 (tcatch_vfork_then_child_follow_exec)
8317 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8320 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8322 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8323 and repeats to unlimited.
8324 * gdb.python/py-value.exp: Likewise.
8325 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8326 and repeats to unlimited.
8328 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8330 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8331 and reordering the functions.
8332 * gdb.multi/hangout.c: Likewise.
8333 * gdb.multi/hello.c: Likewise.
8335 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
8337 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8339 (SingleStatisticTestResult.report): Use dict.keys instead of
8342 2016-01-06 Pedro Alves <palves@redhat.com>
8344 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
8346 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
8348 * gdb.btrace/dlopen.exp: New.
8349 * gdb.btrace/dlopen.c: New.
8350 * gdb.btrace/dlopen-dso.c: New.
8352 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
8354 * lib/gdb.exp (gdb_test): Update comments to clarify that the
8355 PATTERN argument is optional.
8357 2015-12-24 Joel Brobecker <brobecker@adacore.com>
8359 * lib/ada.exp (target_compile_ada_from_dir): New function.
8360 (gdb_compile_ada): Reimplement avoiding the use of project files.
8361 * gdb.ada/gnat_ada.gpr: Delete.
8362 * gdb.ada/cond_lang.exp: Adjust test to make path before
8364 * gdb.ada/small_reg_param.exp: Likewise.
8366 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
8368 * gdb.base/foll-vork.exp: Remove HP-UX special case.
8370 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
8372 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8375 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
8377 * gdb.base/break.exp: Remove dead code.
8378 * gdb.base/sepdebug.exp: Likewise.
8380 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8382 * gdb.asm/asm-source.exp: Remove HP-UX references.
8383 * gdb.base/annota1.exp: Likewise.
8384 * gdb.base/annota3.exp: Likewise.
8385 * gdb.base/attach.exp: Likewise.
8386 * gdb.base/bigcore.exp: Likewise.
8387 * gdb.base/break.exp: Likewise.
8388 * gdb.base/call-ar-st.exp: Likewise.
8389 * gdb.base/callfuncs.exp: Likewise.
8390 * gdb.base/catch-fork-static.exp: Likewise.
8391 * gdb.base/display.exp: Likewise.
8392 * gdb.base/foll-exec-mode.exp: Likewise.
8393 * gdb.base/foll-exec.exp: Likewise.
8394 * gdb.base/foll-fork.exp: Likewise.
8395 * gdb.base/foll-vfork.exp: Likewise.
8396 * gdb.base/funcargs.exp: Likewise.
8397 * gdb.base/hbreak2.exp: Likewise.
8398 * gdb.base/inferior-died.exp: Likewise.
8399 * gdb.base/interrupt.exp: Likewise.
8400 * gdb.base/multi-forks.exp: Likewise.
8401 * gdb.base/nodebug.exp: Likewise.
8402 * gdb.base/sepdebug.exp: Likewise.
8403 * gdb.base/solib1.c: Likewise.
8404 * gdb.base/step-test.exp: Likewise.
8405 * gdb.mi/non-stop.c: Likewise.
8406 * gdb.mi/pthreads.c: Likewise.
8407 * gdb.multi/bkpt-multi-exec.ex: Likewise.
8408 * gdb.threads/pthreads.c: Likewise.
8409 * gdb.threads/staticthreads.exp: Likewise.
8410 * lib/future.exp: Likewise.
8411 * lib/gdb.exp: Likewise.
8412 * gdb.base/so-indr-cl.c: Remove.
8413 * gdb.base/so-indr-cl.exp: Likewise.
8414 * gdb.base/solib.c: Likewise.
8415 * gdb.base/solib.exp: Likewise.
8416 * gdb.base/solib2.c: Likewise.
8418 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8420 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8421 * gdb.base/call-ar-st.exp: Likewise.
8422 * gdb.base/callfuncs.exp: Likewise.
8423 * gdb.base/condbreak.exp: Likewise.
8424 * gdb.base/constvars.exp: Likewise.
8425 * gdb.base/hbreak2.exp: Likewise.
8426 * gdb.base/langs.exp: Likewise.
8427 * gdb.base/list.exp: Likewise.
8428 * gdb.base/long_long.exp: Likewise.
8429 * gdb.base/ptype.exp: Likewise.
8430 * gdb.base/scope.exp: Likewise.
8431 * gdb.base/signals.exp: Likewise.
8432 * gdb.base/so-impl-ld.exp: Likewise.
8433 * gdb.base/varargs.exp: Likewise.
8434 * gdb.base/volatile.exp: Likewise.
8435 * gdb.base/whatis.exp: Likewise.
8436 * gdb.cp/cplusfuncs.exp: Likewise.
8437 * gdb.cp/inherit.exp: Likewise.
8438 * gdb.cp/local.exp: Likewise.
8439 * gdb.cp/member-ptr.exp: Likewise.
8440 * gdb.cp/method.exp: Likewise.
8441 * gdb.cp/overload.exp: Likewise.
8442 * gdb.cp/templates.exp: Likewise.
8443 * gdb.stabs/weird.exp: Likewise.
8444 * lib/compiler.c: Likewise.
8445 * lib/compiler.cc: Likewise.
8446 * lib/cp-support.exp: Likewise.
8447 * lib/gdb.exp: Likewise.
8449 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
8451 * configure.ac: Remove HP-UX case.
8452 * configure: Regenerate.
8454 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
8456 * lib/gdb.exp (gdb_compile): Add function doc.
8458 2015-12-17 Pedro Alves <palves@redhat.com>
8461 * gdb.multi/info-threads.exp: New file.
8463 2015-12-15 Yao Qi <yao.qi@linaro.org>
8465 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8468 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8470 * gdb.base/history-duplicates.exp: Skip if no readline support.
8472 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8474 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8476 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8478 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8480 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8482 * gdb.base/completion.exp: Skip tests that interrupt GDB with
8483 ctrl-C if nointerrupts target property is set.
8484 * gdb.base/double-prompt-target-event-error.exp: Likewise.
8485 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8486 * gdb.base/paginate-bg-execution.exp: Likewise.
8487 * gdb.base/paginate-execution-startup.exp: Likewise.
8488 * gdb.base/random-signal.exp: Likewise.
8489 * gdb.base/range-stepping.exp: Likewise.
8490 * gdb.cp/annota2.exp: Likewise.
8491 * gdb.cp/annota3.exp: Likewise.
8492 * gdb.gdb/selftest.exp: Likewise.
8493 * gdb.threads/continue-pending-status.exp: Likewise.
8494 * gdb.threads/leader-exit.exp: Likewise.
8495 * gdb.threads/manythreads.exp: Likewise.
8496 * gdb.threads/pthreads.exp: Likewise.
8497 * gdb.threads/schedlock.exp: Likewise.
8498 * gdb.threads/sigthread.exp: Likewise.
8500 2015-12-11 Don Breazeal <donb@codesourcery.com>
8502 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8504 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8505 * gdb.base/foll-exec.exp (main): Enable for target remote.
8506 * gdb.base/foll-fork.exp (main): Likewise.
8507 * gdb.base/foll-vfork.exp (main): Likewise.
8508 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8509 (proc continue_to_exit_bp_loc): Use clean_restart.
8510 * gdb.base/pie-execl.exp (main): Disable for target remote.
8511 * gdb.base/watch-vfork.exp (main): Enable for target remote.
8512 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8513 * gdb.threads/execl.exp (main): Likewise.
8514 * gdb.threads/fork-child-threads.exp (main): Likewise.
8515 * gdb.threads/fork-plus-threads.exp (main): Disable for target
8517 * gdb.threads/fork-thread-pending.exp (main): Enable for target
8519 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8520 pid.tid style ptids, instead of just tid.
8521 * gdb.threads/thread-execl.exp (main): Enable for target remote.
8522 * gdb.threads/watchpoint-fork.exp (main): Likewise.
8523 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8524 ptids, instead of just tid.
8526 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8528 * gdb.base/list.exp (test_list_forward): Add end of file error
8530 (test_repeat_list_command): Add end of file error test.
8531 (test_list_backwards): Add beginning of file error test.
8533 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8535 * gdb.base/list.exp (test_list_invalid_args): New function,
8536 defined, and called.
8538 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8540 * gdb.base/list.exp (test_list): Make test names unique.
8542 2015-12-11 Yao Qi <yao.qi@linaro.org>
8544 * gdb.base/coremaker2.c: Remove.
8546 2015-12-10 Pedro Alves <palves@redhat.com>
8548 * gdb.multi/base.exp: Remove stale "spaces" references.
8550 2015-12-10 Pedro Alves <palves@redhat.com>
8552 * gdb.multi/base.exp: Don't use nowarnings.
8553 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8554 * gdb.multi/hangout.c: Include stdio.h.
8555 * gdb.multi/hello.c: Include stdlib.h.
8556 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8557 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8558 * gdb.multi/multi-arch.exp: Don't use nowarnings.
8560 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
8562 * gdb.dwarf2/dw2-ranges-base.c: New file.
8563 * gdb.dwarf2/dw2-ranges-base.exp: New file.
8564 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8565 support additional line table, and debug ranges generation.
8566 (Dwarf::ranges): New function, generate .debug_ranges.
8567 (Dwarf::lines): Support generating simple line table programs.
8568 (Dwarf::assemble): Initialise new namespace variables.
8570 2015-12-09 Kevin Buettner <kevinb@redhat.com>
8572 * gdb.base/async.exp (proc test_background): Add case for
8573 asynchronous execution not supported.
8575 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
8577 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8578 format and change test names to make them unique.
8580 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
8581 Pedro Alves <pedro@redhat.com>
8584 Add checking of floatformats setup on x86_64 hosts.
8585 * gdb.arch/i386-float.S (main): Load bigval and smallval.
8586 (smallval, bigval): New labels/constants.
8587 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8588 float" after loading bigval and smallval.
8590 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
8592 * gdb.ada/fun_overload_menu.exp: New testcase.
8593 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8595 2015-12-04 Josh Stone <jistone@redhat.com>
8597 * gdb.base/catch-fork-static.exp: New.
8599 2015-12-03 Yao Qi <yao.qi@linaro.org>
8601 * gdb.base/sizeof.c: Don't include stdio.h and
8602 ../lib/unbuffer_output.c.
8603 (main): New variable 'size' and 'value'. Remove printf and
8604 gdb_unbuffer_output. Assign return value to size and value.
8605 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8607 (check_sizeof): Check the result by printing variable 'size'.
8608 (check_valueof): Check the result by printing variable 'value'.
8610 2015-12-01 Yao Qi <yao.qi@linaro.org>
8612 * gdb.base/disp-step-syscall.exp: Define syscall instruction
8613 for aarch64*-*-linux* target.
8615 2015-11-30 Pedro Alves <palves@redhat.com>
8617 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8619 2015-11-30 Pedro Alves <palves@redhat.com>
8621 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8622 Handle non-stop mode vCont replies.
8624 2015-11-30 Pedro Alves <palves@redhat.com>
8626 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8627 prepare_for_testing. Start gdb with "set non-stop on" appended to
8628 GDBFLAGS. Lax expected stop output.
8630 2015-11-27 Yao Qi <yao.qi@linaro.org>
8632 * gdb.arch/arm-neon.exp: New.
8633 * gdb.arch/arm-neon.c: New.
8635 2015-11-27 Yao Qi <yao.qi@linaro.org>
8637 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8639 2015-11-27 Yao Qi <yao.qi@linaro.org>
8641 * gdb.cp/annota2.exp: Allow multiple occurrences of the
8642 frames-invalid annotation.
8644 2015-11-27 Yao Qi <yao.qi@linaro.org>
8646 * gdb.cp/annota2.exp: Use ${frames_invalid}.
8648 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
8650 * gdb.threads/names.exp: New file.
8651 * gdb.threads/names.c: New file.
8652 * README: Mention gdb,no_thread_names.
8654 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
8657 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8660 2015-11-24 Pedro Alves <palves@redhat.com>
8663 * gdb.base/display.exp: Expect displays to be sorted in ascending
8664 order. Use multi_line.
8665 * gdb.base/solib-display.exp: Likewise.
8667 2015-11-24 Pedro Alves <palves@redhat.com>
8670 * gdb.base/display.exp: Expect displays to be sorted in ascending
8671 order. Use multi_line.
8672 * gdb.base/solib-display.exp: Likewise.
8674 2015-11-24 Pedro Alves <palves@redhat.com>
8677 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8678 threads in ascending order.
8679 * gdb.base/foll-fork.exp: Likewise.
8680 * gdb.base/foll-vfork.exp: Likewise.
8681 * gdb.base/multi-forks.exp: Likewise.
8682 * gdb.mi/mi-nonstop.exp: Likewise.
8683 * gdb.mi/mi-nsintrall.exp: Likewise.
8684 * gdb.multi/base.exp: Likewise.
8685 * gdb.multi/multi-arch.exp: Likewise.
8686 * gdb.python/py-inferior.exp: Likewise.
8687 * gdb.threads/break-while-running.exp: Likewise.
8688 * gdb.threads/execl.exp: Likewise.
8689 * gdb.threads/gcore-thread.exp: Likewise.
8690 * gdb.threads/info-threads-cur-sal.exp: Likewise.
8691 * gdb.threads/kill.exp: Likewise.
8692 * gdb.threads/linux-dp.exp: Likewise.
8693 * gdb.threads/multiple-step-overs.exp: Likewise.
8694 * gdb.threads/next-bp-other-thread.exp: Likewise.
8695 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8696 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8697 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8698 * gdb.threads/thread-find.exp: Likewise.
8699 * gdb.threads/tls.exp: Likewise.
8700 * lib/mi-support.exp (mi_reverse_list): Delete.
8701 (mi_check_thread_states): No longer reverse list.
8703 2015-11-24 Pedro Alves <palves@redhat.com>
8705 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
8708 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8710 * gdb.trace/actions.c: Include trace-common.h.
8711 (main): Add a location for a fast tracepoint.
8712 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8713 the normal tracepoints.
8714 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8716 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8718 * save-trace.exp: Factor out code to these...
8719 (gdb_save_tracepoints): New.
8720 (gdb_load_tracepoints): New.
8721 (do_save_load_test): New.
8723 2015-11-23 Kevin Buettner <kevinb@redhat.com>
8725 * gdb.base/asmlabel.exp: New test.
8726 * gdb.base/asmlabel.c: New test case.
8728 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8730 * gdb.base/wrong_frame_bt_full-main.c: New file.
8731 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8732 * gdb.base/wrong_frame_bt_full.exp: New file.
8734 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8736 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8738 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8740 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8741 pstate register when comparing registers values in
8742 sparc64-*-linux-gnu targets to avoid spurious differences.
8744 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8746 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8748 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
8750 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8751 as type argument to gdb_compile.
8752 * gdb.base/nested-subp2.exp: Likewise.
8753 * gdb.base/nested-subp3.exp: Likewise.
8755 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
8757 * lib/dwarf.exp (_note): Fix left shift of negative value.
8758 * gdb.trace/trace-condition.exp: Likewise.
8760 2015-11-13 Yao Qi <yao.qi@linaro.org>
8762 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8763 comments about d10v.
8764 (test_scalar_returns): Likewise.
8765 * gdb.base/d10v.ld: Remove.
8766 * gdb.base/overlays.exp: Remove the target triplet checking for
8768 * gdb.base/structs.exp (test_struct_returns): Remove the
8769 comments about d10v.
8770 (test_struct_calls): Likewise.
8772 2015-11-13 Yao Qi <yao.qi@linaro.org>
8774 * gdb.base/gnu_vector.exp: Check the return value by "p res".
8775 * gdb.base/gnu_vector.c: Don't include stdio.h.
8776 (main): Don't print res and call add_some_intvecs.
8778 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
8780 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8783 (func4): Use FAST_TRACEPOINT_LABEL.
8784 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8787 (thread_function): Use FAST_TRACEPOINT_LABEL.
8788 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8790 (marker): Use FAST_TRACEPOINT_LABEL.
8791 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8792 (pendfunc1): Remove.
8793 (pendfunc): Use FAST_TRACEPOINT_LABEL.
8794 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8796 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8797 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8800 (marker): Use FAST_TRACEPOINT_LABEL.
8801 * gdb.trace/trace-common.h: New header.
8802 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8805 (marker): Use FAST_TRACEPOINT_LABEL.
8806 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8808 (thread_function): Use FAST_TRACEPOINT_LABEL.
8810 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
8812 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8814 * gdb.trace/change-loc.exp: Use global pcreg definition.
8815 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8816 * gdb.trace/entry-values.exp: Use global spreg definition, add $
8818 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8819 * gdb.trace/pending.exp: Likewise.
8820 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8821 * gdb.trace/trace-break.exp: Likewise.
8822 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8824 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8825 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8827 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8829 2015-11-09 Joel Brobecker <brobecker@adacore.com>
8831 * gdb.ada/fin_fun_out: New testcase.
8833 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8835 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8836 value associated with DW_AT_byte_size.
8837 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8838 constants for DW_AT_byte_size, DW_AT_lower_bound, and
8841 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8843 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8844 (gdb_target_symbol_prefix_flags): Define in terms of _asm
8846 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8847 gdb.dwarf2/dw2-canonicalize-type.exp,
8848 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8849 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8850 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8851 provided by gdb_target_symbol_prefix_flags_asm.
8852 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8853 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8854 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8855 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8856 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8857 macros where needed). Use this macro for symbols which require
8858 the prefix provided by SYMBOL_PREFIX.
8860 2015-11-05 Kevin Buettner <kevinb@redhat.com>
8862 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8864 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8865 representing expressions, of more than one list element.
8866 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8867 to prepend linker symbol prefix to f.
8868 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8869 table_1 and table_2.
8870 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8871 Likewise, for f and g.
8872 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8874 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8876 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8877 table_1_ptr and table_2_ptr.
8879 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8880 Joel Brobecker <brobecker@adacore.com>
8882 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8884 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8886 * gdb.reverse/s390-mvcle.c: New test.
8887 * gdb.reverse/s390-mvcle.exp: New file.
8888 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8890 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8892 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8894 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8896 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8898 * gdb.reverse/getresuid-reverse.exp: Likewise.
8899 * gdb.reverse/pipe-reverse.exp: Likewise.
8900 * gdb.reverse/readv-reverse.exp: Likewise.
8901 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8902 * gdb.reverse/time-reverse.exp: Likewise.
8903 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8905 2015-10-30 Yao Qi <yao.qi@linaro.org>
8907 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8908 (empty_cycle): Remove.
8909 (main): Don't call empty_cycle. Don't use watch_count_done.
8910 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8911 empty_cycle. Rewrite the code counting HW watchpoints.
8913 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8915 * gdb.reverse/fstatat-reverse.c: New test.
8916 * gdb.reverse/fstatat-reverse.exp: New file.
8917 * gdb.reverse/getresuid-reverse.c: New test.
8918 * gdb.reverse/getresuid-reverse.exp: New file.
8919 * gdb.reverse/pipe-reverse.c: New test.
8920 * gdb.reverse/pipe-reverse.exp: New file.
8921 * gdb.reverse/readv-reverse.c: New test.
8922 * gdb.reverse/readv-reverse.exp: New file.
8923 * gdb.reverse/recvmsg-reverse.c: New test.
8924 * gdb.reverse/recvmsg-reverse.exp: New file.
8925 * gdb.reverse/time-reverse.c: New test.
8926 * gdb.reverse/time-reverse.exp: New file.
8927 * gdb.reverse/waitpid-reverse.c: New test.
8928 * gdb.reverse/waitpid-reverse.exp: New file.
8930 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8932 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8934 2015-10-26 Doug Evans <dje@google.com>
8937 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8938 * gdb.dwarf2/bad-regnum.c: New file.
8939 * gdb.dwarf2/bad-regnum.exp: New file.
8941 2015-10-26 Doug Evans <dje@google.com>
8944 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8947 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8949 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8950 for a change by "Mention language in compile error message".
8952 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8955 * gdb.python/py-type.c (C::a_method): New.
8956 (C::a_const_method): New.
8957 (C::a_static_method): New.
8959 * gdb.python/py-type.exp (test_fields): Test getting fields
8960 from function and method.
8962 2015-10-21 Keven Boell <keven.boell@intel.com>
8964 * gdb.fortran/vla-alloc-assoc.exp: New file.
8965 * gdb.fortran/vla-datatypes.exp: New file.
8966 * gdb.fortran/vla-datatypes.f90: New file.
8967 * gdb.fortran/vla-history.exp: New file.
8968 * gdb.fortran/vla-ptype-sub.exp: New file.
8969 * gdb.fortran/vla-ptype.exp: New file.
8970 * gdb.fortran/vla-sizeof.exp: New file.
8971 * gdb.fortran/vla-sub.f90: New file.
8972 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8973 * gdb.fortran/vla-value-sub-finish.exp: New file.
8974 * gdb.fortran/vla-value-sub.exp: New file.
8975 * gdb.fortran/vla-value.exp: New file.
8976 * gdb.fortran/vla-ptr-info.exp: New file.
8977 * gdb.mi/mi-vla-fortran.exp: New file.
8978 * gdb.mi/vla.f90: New file.
8980 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8982 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8983 of hardwired timeout value.
8985 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8986 Pedro Alves <palves@redhat.com>
8988 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8989 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8991 2015-10-19 Josh Stone <jistone@redhat.com>
8993 * gdb.base/catch-syscall.c: Include <sched.h>.
8994 (unknown_syscall): New variable.
8995 (main): Trigger a vfork and an unknown syscall.
8996 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8997 (unknown_syscall_number): Likewise.
8998 (check_call_to_syscall): Accept an optional syscall pattern.
8999 (check_return_from_syscall): Likewise.
9000 (check_continue): Likewise.
9001 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9002 (test_catch_syscall_skipping_return): New test toggling off 'catch
9003 syscall' to step over the syscall return, then toggling back on.
9004 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9005 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9006 (do_syscall_tests): Call test_catch_syscall_without_args and
9007 test_catch_syscall_mid_vfork.
9008 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9009 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9011 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
9013 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9014 print g_vE): Add new pass patterns.
9015 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9016 print various symbol names for vptr fields.
9018 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
9020 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9023 2015-10-12 Yao Qi <yao.qi@linaro.org>
9025 * gdb.arch/disp-step-insn-reloc.exp: New test case.
9027 2015-10-12 Yao Qi <yao.qi@linaro.org>
9029 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9030 is aarch64*-*-linux*.
9032 2015-10-12 Yao Qi <yao.qi@linaro.org>
9034 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9035 (can_relocate_bcond_true): ... it.
9036 (can_relocate_bcond_false): New function.
9038 (can_relocate_bl): Likewise.
9039 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9042 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
9044 * gdb.base/nested-addr.c: New file.
9045 * gdb.base/nested-addr.exp: New testcase.
9047 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
9049 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9050 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9051 its output. Ignore the output of "record goto begin" and instead
9052 check that GDB is replaying.
9054 2015-10-09 Pedro Alves <palves@redhat.com>
9056 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9057 (top level): Use it in the run with no args test.
9059 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
9061 * gdb.dlang/properties.exp: New file.
9063 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
9065 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9066 whether or not address 0x1000 is mapped on the target.
9068 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
9070 * gdb.python/py-type.exp: Do not run tests if binaries fail to
9073 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
9075 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9076 instruction-history test.
9078 2015-09-28 Doug Evans <dje@google.com>
9080 * gdb.base/gcore.c (array_func): Add reference to static_array.
9082 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
9084 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9087 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9089 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9090 short or char as base type.
9092 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9094 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9095 to allow any size enum.
9097 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
9099 * gdb.ada/array_ptr_renaming.exp: New testcase.
9100 * gdb.ada/array_ptr_renaming/foo.adb: New file.
9101 * gdb.ada/array_ptr_renaming/pack.ads: New file.
9103 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9105 * gdb.trace/ftrace-lock.c: New file.
9106 * gdb.trace/ftrace-lock.exp: New file.
9108 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9110 * gdb.arch/insn-reloc.c: New file.
9111 * gdb.arch/ftrace-insn-reloc.exp: New file.
9113 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9115 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9117 * gdb.trace/pendshr1.c (pendfunc): Likewise.
9118 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9119 * gdb.trace/range-stepping.c: Likewise.
9120 * gdb.trace/trace-break.c: Likewise.
9121 * gdb.trace/trace-mt.c (thread_function): Likewise.
9122 * gdb.trace/ftrace.c (marker): Likewise.
9123 * gdb.trace/trace-condition.c (marker): Likewise.
9124 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9125 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9128 2015-09-18 Doug Evans <xdje42@gmail.com>
9130 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9131 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9133 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9135 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9138 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9140 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9141 the pending breakpoint. Remove timeout override for "Run till
9142 MI pending breakpoint on pendfunc3 on thread 2" test.
9144 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9146 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9149 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9151 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9152 in breakpoint filename pattern.
9154 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9156 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9158 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9160 * gdb.linespec/explicit.exp: Check for readline support for
9161 tab-completion tests. Fix obvious typo.
9163 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9165 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9168 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9170 * gdb.btrace/non-stop.c: New.
9171 * gdb.btrace/non-stop.exp: New.
9173 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
9174 Yao Qi <yao.qi@linaro.org>
9176 * gdb.trace/trace-condition.c: New file.
9177 * gdb.trace/trace-condition.exp: New file.
9179 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
9181 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9182 for testing bytecode compilation.
9184 2015-09-16 Pedro Alves <palves@redhat.com>
9185 Sandra Loosemore <sandra@codesourcery.com>
9187 * gdb.threads/non-stop-fair-events.c (timeout): New global.
9188 (SECONDS): Redefine.
9189 (main): Call pthread_kill and alarm early.
9190 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9192 (test): If the target can't hardware step and doesn't support
9193 displaced stepping, increase the timeout.
9195 2015-09-16 Pedro Alves <palves@redhat.com>
9197 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9198 (enable_debug): New procedures.
9199 (test): Use them. Bail out if waiting for threads fails.
9200 (top level): Bail out if a test fails.
9202 2015-09-16 Yao Qi <yao.qi@linaro.org>
9204 * gdb.asm/asm-source.exp: Set asm-arch for
9205 aarch64*-*-* target.
9206 * gdb.asm/aarch64.inc: New file.
9208 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
9210 * gdb.ada/array_of_variable_length.exp: New testcase.
9211 * gdb.ada/array_of_variable_length/foo.adb: New file.
9212 * gdb.ada/array_of_variable_length/pck.adb: New file.
9213 * gdb.ada/array_of_variable_length/pck.ads: New file.
9215 2015-09-15 Doug Evans <dje@google.com>
9217 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9218 of function static local variable.
9220 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9222 * gdb.threads/tls-so_extern.exp: New test file.
9223 * gdb.threads/tls-so_extern.c: New test file.
9224 * gdb.threads/tls-so_extern_main.c: New test file.
9226 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9228 * gdb.opt/solib-intra-step-lib.c: New file.
9229 * gdb.opt/solib-intra-step-main.c: New file.
9230 * gdb.opt/solib-intra-step.exp: New file.
9232 2015-09-15 Pedro Alves <palves@redhat.com>
9234 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9235 gdb_continue_to_breakpoint instead of gdb_test_multiple.
9237 2015-09-14 Pedro Alves <palves@redhat.com>
9239 * gdb.base/hook-stop-continue.c: Delete.
9240 * gdb.base/hook-stop-continue.exp: Delete.
9241 * gdb.base/hook-stop-frame.c: Delete.
9242 * gdb.base/hook-stop-frame.exp: Delete.
9243 * gdb.base/hook-stop.c: New file.
9244 * gdb.base/hook-stop.exp: New file.
9246 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
9248 * gdb.ada/access_to_packed_array.exp: New testcase.
9249 * gdb.ada/access_to_packed_array/foo.adb: New file.
9250 * gdb.ada/access_to_packed_array/pack.adb: New file.
9251 * gdb.ada/access_to_packed_array/pack.ads: New file.
9253 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
9255 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9258 2015-09-11 Don Breazeal <donb@codesourcery.com>
9260 * gdb.base/foll-exec.c: Add copyright header. Fix
9262 * gdb.base/foll-exec.exp (zap_session): Delete proc.
9263 (do_exec_tests): Use clean_restart in place of zap_session,
9264 and for test initialization. Fix formatting issues. Use
9265 fail in place of perror.
9266 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9267 an expect statement to match an expression with output from
9268 the program under debug.
9269 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9270 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9271 * gdb.threads/non-ldr-exc-2.exp: Likewise.
9272 * gdb.threads/non-ldr-exc-3.exp: Likewise.
9273 * gdb.threads/non-ldr-exc-4.exp: Likewise.
9275 2015-09-09 Doug Evans <dje@google.com>
9277 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9279 2015-09-09 Doug Evans <dje@google.com>
9281 * gdb.base/pie-execl.exp: Fix result test of build_executable.
9283 2015-09-09 Doug Evans <dje@google.com>
9285 * gdb.base/savedregs.exp: Fix typo.
9287 2015-09-09 Pedro Alves <palves@redhat.com>
9289 * gdb.mi/mi-cli.exp: Add CLI finish tests.
9291 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
9293 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9294 command actually switches threads. Give up on remaining
9295 tests if target fails to stop at breakpoint.
9297 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
9299 * gdb.ada/funcall_char.exp: New testcase.
9300 * gdb.ada/funcall_char/foo.adb: New file.
9302 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
9304 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9305 expected outputs. Add two testcases for completing ambiguous
9307 * gdb.ada/complete/aux_pck.adb: New file.
9308 * gdb.ada/complete/aux_pck.ads: New file.
9309 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9310 Ambiguous_Func functions.
9311 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9312 * gdb.ada/complete/pck.adb: Likewise.
9314 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
9316 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9317 failures to run the test program under GDB.
9319 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
9321 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9324 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
9326 * gdb.base/run-after-attach.exp: New test file.
9327 * gdb.base/run-after-attach.c: New test file.
9329 2015-08-26 Don Breazeal <donb@codesourcery.com>
9331 * gdb.base/foll-exec-2.c: New test program.
9332 * gdb.base/foll-exec-2.exp: New test.
9334 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
9336 * gdb.base/nested-subp1.exp: New file.
9337 * gdb.base/nested-subp1.c: New file.
9338 * gdb.base/nested-subp2.exp: New file.
9339 * gdb.base/nested-subp2.c: New file.
9340 * gdb.base/nested-subp3.exp: New file.
9341 * gdb.base/nested-subp3.c: New file.
9343 2015-08-24 Pedro Alves <palves@redhat.com>
9345 * gdb.server/connect-without-multi-process.c: New file.
9346 * gdb.server/connect-without-multi-process.exp: New file.
9348 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9350 * gdb.opt/inline-markers.c: Make z int.
9352 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9354 * gdb.opt/inline-markers.c: Make z volatile.
9356 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9358 * gdb.opt/inline-bt.c: New volatile global z.
9359 * gdb.opt/inline-cmds.c: Likewise.
9360 * gdb.opt/inline-locals.c: Likewise.
9361 * gdb.opt/inline-markers.c: New extern global z.
9363 (inline_fn): Likewise.
9365 2015-08-24 Pedro Alves <palves@redhat.com>
9367 * config/m32r-stub.exp: Remove file.
9368 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9369 * gdb.base/call-rt-st.exp: Likewise.
9370 * gdb.base/call-strs.exp: Likewise.
9371 * gdb.base/default.exp: Remove references to h8300-*-hms and
9373 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9375 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9377 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9378 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
9379 and "return" use KFAIL when GDB can not read/write the vector
9382 2015-08-21 Gary Benson <gbenson@redhat.com>
9384 * gdb.trace/pending.exp: Cope with remote transfer warnings.
9386 2015-08-20 Pedro Alves <palves@redhat.com>
9388 * gdb.server/solib-list.exp: No longer expect an interior stop in
9391 2015-08-20 Pedro Alves <palves@redhat.com>
9393 * gdb.server/connect-stopped-target.c: New file.
9394 * gdb.server/connect-stopped-target.exp: New file.
9396 2015-08-20 Pedro Alves <palves@redhat.com>
9398 * gdb.dwarf2/comp-unit-lang.exp: New file.
9399 * gdb.dwarf2/comp-unit-lang.c: New file.
9401 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
9403 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9404 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9406 2015-08-19 Kevin Buettner <kevinb@redhat.com>
9408 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9409 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9411 2015-08-18 Doug Evans <dje@google.com>
9412 Adrian Sendroiu <adrian.sendroiu@freescale.com>
9414 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9415 skip_python_tests. New arg prompt_regexp.
9416 (skip_python_tests): New function.
9417 * lib/mi-support.exp (mi_skip_python_tests): New function.
9418 * gdb.python/py-mi-objfile-gdb.py: New file.
9419 * gdb.python/py-mi-objfile.c: New file.
9420 * gdb.python/py-mi-objfile.exp: New file.
9422 2015-08-17 Keith Seitz <keiths@redhat.com>
9424 * gdb.linespec/explicit.exp: Move strace test from here ...
9425 * gdb.trace/strace.exp: ... to here.
9427 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
9429 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9430 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9432 2015-08-14 Doug Evans <xdje42@gmail.com>
9434 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9435 inferior before selecting a new file.
9437 2015-08-14 Doug Evans <xdje42@gmail.com>
9439 * gdb.mi/mi-disassemble.exp: Update.
9440 * gdb.base/disasm-optim.S: New file.
9441 * gdb.base/disasm-optim.c: New file.
9442 * gdb.base/disasm-optim.h: New file.
9443 * gdb.base/disasm-optim.exp: New file.
9445 2015-08-14 Keith Seitz <keiths@redhat.com>
9447 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9450 2015-08-13 Joel Brobecker <brobecker@adacore.com>
9452 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9454 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
9456 * gdb.ada/fun_renaming.exp: New testcase.
9457 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9458 * gdb.ada/fun_renaming/pack.adb: New file.
9459 * gdb.ada/fun_renaming/pack.ads: New file.
9461 2015-08-12 Keith Seitz <keiths@redhat.com>
9463 * gdb.base/dso2dso.exp: Pass basename of source file in call to
9464 gdb_get_line_number.
9466 2015-08-12 Joel Brobecker <brobecker@adacore.com>
9468 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9469 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9470 gdb.base/dso2dso.exp: New files.
9472 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
9473 Pedro Alves <palves@redhat.com>
9474 Keith Seitz <keiths@redhat.com>
9476 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9479 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9481 * gdb.base/gdbhistsize-history.exp
9482 (test_histsize_history_setting): Use save_vars.
9483 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9485 (test_no_truncation_of_unlimited_history_file): Use save_vars.
9486 * gdb.base/readline.exp: Use save_vars.
9488 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9490 * lib/gdb.exp (save_vars): New proc.
9492 2015-08-11 Keith Seitz <keiths@redhat.com>
9494 * gdb.base/help.exp: Update help_breakpoint_text.
9496 2015-08-11 Keith Seitz <keiths@redhat.com>
9498 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9499 (at toplevel): Call test_explicit_breakpoints.
9500 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9502 * lib/mi-support.exp (mi_make_breakpoint): Add support for
9503 breakpoint conditions, "-cond".
9505 2015-08-11 Keith Seitz <keiths@redhat.com>
9507 * gdb.linespec/3explicit.c: New file.
9508 * gdb.linespec/cpexplicit.cc: New file.
9509 * gdb.linespec/cpexplicit.exp: New file.
9510 * gdb.linespec/explicit.c: New file.
9511 * gdb.linespec/explicit.exp: New file.
9512 * gdb.linespec/explicit2.c: New file.
9513 * gdb.linespec/ls-errs.exp: Add explicit location tests.
9514 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9515 before using in the matching pattern.
9516 Clarify that `prefix' is a regular expression.
9518 2015-08-11 Keith Seitz <keiths@redhat.com>
9520 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9522 Add tests for missing ",FMT" and ",".
9524 2015-08-10 Doug Evans <dje@google.com>
9525 Keith Seitz <keiths@redhat.com>
9528 * gdb.base/completion.exp: Add location completer tests.
9530 2015-08-07 Pedro Alves <palves@redhat.com>
9532 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9534 (top level): Run do_test with and without displaced stepping.
9536 2015-08-07 Pedro Alves <palves@redhat.com>
9538 * gdb.base/valgrind-disp-step.c: New file.
9539 * gdb.base/valgrind-disp-step.exp: New file.
9541 2015-08-07 Pedro Alves <palves@redhat.com>
9543 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9545 (main): Add alarm. Run an infinite loop instead of calling
9547 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9549 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9551 (main): Add alarm. Run an infinite loop instead of calling
9553 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9556 2015-08-07 Pedro Alves <palves@redhat.com>
9558 * gdb.base/checkpoint-ns.exp: New file.
9559 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9562 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
9564 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9565 * gdb.btrace/instruction_history.exp: Update.
9566 * gdb.btrace/tsx.exp: New.
9567 * gdb.btrace/tsx.c: New.
9569 2015-08-06 Pedro Alves <palves@redhat.com>
9571 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9573 * gdb.reverse/until-precsave.exp: Bump timeouts.
9575 2015-08-06 Pedro Alves <palves@redhat.com>
9577 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9579 2015-08-06 Pedro Alves <palves@redhat.com>
9582 * gdb.threads/process-dies-while-handling-bp.c: New file.
9583 * gdb.threads/process-dies-while-handling-bp.exp: New file.
9585 2015-08-06 Pedro Alves <palves@redhat.com>
9587 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9588 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9590 2015-08-05 Pedro Alves <palves@redhat.com>
9592 * gdb.threads/next-while-other-thread-longjmps.c: New file.
9593 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9595 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
9597 * gdb.base/bp-permanent.exp: Report test as unsupported if
9598 the target cannot stop at the permanent breakpoint.
9600 2015-08-03 Doug Evans <dje@google.com>
9602 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9605 2015-08-03 Doug Evans <dje@google.com>
9607 * Makefile.in (workers/%.worker, build-perf): New rule.
9608 (GDB_PERFTEST_MODE): New variable.
9609 (check-perf): Use it.
9610 (clean): Clean up gdb.perf parallel build subdirs.
9611 * lib/build-piece.exp: New file.
9612 * lib/gdb.exp (make_gdb_parallel_path): New function
9613 (standard_output_file, standard_temp_file): Call it.
9614 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9616 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9618 2015-08-03 Doug Evans <dje@google.com>
9620 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9621 (LOG_FILE_NAME): New global.
9622 (TextReporter.__init__): Initialize self.txt_sum.
9623 (TextReporter.report): Add support for multiple data-points.
9624 Move report to perftest.sum, put raw data in perftest.log.
9625 (TextReporter.start): Open sum and log files.
9626 (TextReporter.end): Close sum and log files.
9627 * gdb.perf/lib/perftest/testresult.py
9628 (SingleStatisticTestResult.record): Handle multiple data-points.
9630 2015-07-31 Pedro Alves <palves@redhat.com>
9632 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9633 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9634 kill_wait_spawned_process instead of explicit "kill -9".
9635 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9636 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9637 kill_wait_spawned_process.
9638 * gdb.base/attach-twice.exp: Likewise.
9639 * gdb.base/attach.exp: Likewise.
9640 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9642 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9643 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9644 kill_wait_spawned_process.
9645 * gdb.base/valgrind-infcall.exp: Likewise.
9646 * gdb.multi/multi-attach.exp: Likewise.
9647 * gdb.python/py-prompt.exp: Likewise.
9648 * gdb.python/py-sync-interp.exp: Likewise.
9649 * gdb.server/ext-attach.exp: Likewise.
9650 * gdb.threads/attach-into-signal.exp (corefunc): Use
9651 spawn_wait_for_attach, spawn_id_get_pid and
9652 kill_wait_spawned_process.
9653 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9654 spawn_wait_for_attach returning a spawn id instead of a pid. Use
9655 spawn_id_get_pid and kill_wait_spawned_process.
9656 * gdb.threads/attach-stopped.exp (corefunc): Use
9657 spawn_wait_for_attach, spawn_id_get_pid and
9658 kill_wait_spawned_process.
9659 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9660 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9661 kill_wait_spawned_process instead of explicit "kill -9".
9662 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9663 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9664 (spawn_wait_for_attach): Use spawn instead of exec to spawn
9665 processes. Don't map cygwin/windows pids here. Now returns a
9668 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9670 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9671 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9674 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9676 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9678 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9681 2014-05-21 Mark Wielaard <mjw@redhat.com>
9683 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9685 2015-07-30 Pedro Alves <palves@redhat.com>
9687 * linux-low.c (handle_extended_wait): Set the child's last
9688 reported status to TARGET_WAITKIND_STOPPED.
9690 2015-07-30 Pedro Alves <palves@redhat.com>
9693 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9694 only shows inferior 1.
9696 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
9697 Pedro Alves <palves@redhat.com>
9700 * gdb.threads/fork-plus-threads.c: New file.
9701 * gdb.threads/fork-plus-threads.exp: New file.
9703 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9705 * gdb.base/batch-preserve-term-settings.exp
9706 (test_terminal_settings_preserved_after_cli_exit): Use
9709 2015-07-29 Pedro Alves <palves@redhat.com>
9710 Don Breazeal <donb@codesourcery.com>
9712 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9713 output from both inferior_spawn_id and gdb_spawn_id.
9715 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9717 * gdb.threads/attach-into-signal.exp (corefunc): Use
9718 with_test_prefix on nested loops, uniquefying the test messages.
9720 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9722 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9725 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9727 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9729 (test_terminal_settings_preserved_after_sigterm): New test.
9731 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9733 * gdb.base/batch-preserve-term-settings.exp
9734 (test_terminal_settings_preserved_after_cli_exit): New test.
9736 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9738 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9739 manipulation of saved_gdbflags.
9740 (test_terminal_settings_preserved): Remove global declaration of
9741 the unused variable pagination_prompt. Remove manipulation of
9742 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
9745 2015-07-29 Pedro Alves <palves@redhat.com>
9747 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9749 2015-07-29 Pedro Alves <palves@redhat.com>
9751 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9754 2015-07-29 Pedro Alves <palves@redhat.com>
9756 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9757 (main): Call gdb_unbuffer_output.
9758 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9759 (main): Call gdb_unbuffer_output.
9760 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9761 (main): Call gdb_unbuffer_output.
9762 * gdb.base/call-strs.exp: Adjust to step over the
9763 gdb_unbuffer_output call.
9764 * gdb.base/catch-gdb-caused-signals.c: Include
9765 "../lib/unbuffer_output.c".
9766 (main): Call gdb_unbuffer_output.
9767 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9768 (main): Call gdb_unbuffer_output.
9769 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9770 (main): Call gdb_unbuffer_output.
9771 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9772 (main): Call gdb_unbuffer_output.
9773 * gdb.base/shlib-call.exp: Adjust to step over the
9774 gdb_unbuffer_output call.
9775 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9776 (main): Call gdb_unbuffer_output.
9777 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9778 (main): Call gdb_unbuffer_output.
9779 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9780 (main): Rename to ...
9782 (main): Reimplement.
9783 * gdb.base/varargs.exp: Run to test instead of to main.
9784 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9785 (main): Call gdb_unbuffer_output.
9787 2015-07-29 Pedro Alves <palves@redhat.com>
9789 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9790 factore out from mi_continue_dprintf. For call-style dprintfs,
9791 expect dprintf output out of $inferior_spawn_id.
9792 (mi_continue_dprintf): Use mi_expect_dprintf.
9793 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9794 (main): Call gdb_unbuffer_output.
9796 2015-07-29 Pedro Alves <palves@redhat.com>
9798 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9799 (default_mi_gdb_start): Set inferior_spawn_id instead of
9800 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
9802 (mi_gdb_test): Always expect inferior output from both
9803 $inferior_spawn_id and $gdb_spawn_id.
9805 2015-07-29 Pedro Alves <palves@redhat.com>
9807 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
9808 send_inferior and $inferior_spawn_id.
9810 2015-07-29 Pedro Alves <palves@redhat.com>
9812 * gdb.gdb/complaints.exp (test_initial_complaints)
9813 (test_serial_complaints, test_short_complaints): Use
9815 (test_empty_complaint): Handle $inferior_spawn_id !=
9818 2015-07-29 Pedro Alves <palves@redhat.com>
9820 * gdb.base/varargs.exp: Use gdb_test_stdio.
9822 2015-07-29 Pedro Alves <palves@redhat.com>
9824 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9826 2015-07-29 Pedro Alves <palves@redhat.com>
9828 * gdb.base/ending-run.exp: Use gdb_test_stdio.
9830 2015-07-29 Pedro Alves <palves@redhat.com>
9832 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9833 parameter into two new parameters, "inf_result" and "gdb_result".
9834 Expect inferior output and gdb output from $inferior_spawn_id and
9835 $gdb_spawn_id, respectively. Adjust all callers.
9837 2015-07-29 Pedro Alves <palves@redhat.com>
9839 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9840 of gdb_test_sequence.
9842 2015-07-29 Pedro Alves <palves@redhat.com>
9844 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9845 (saw_spurious_output): Expect inferior output from
9846 $inferior_spawn_id. Use gdb_test_stdio.
9848 2015-07-29 Pedro Alves <palves@redhat.com>
9850 * gdb.base/dprintf.exp: Use standard_testfile. Change
9851 prepare_for_testing call.
9852 (srcfile): Don't set.
9853 (restart): New procedure.
9854 (test_dprintf): New procecure, use to continue over dprintfs.
9855 (test_call, test_agent): New procedures, tests moved here.
9856 Restart gdb and recreate dprintfs. Adjust expected output.
9858 2015-07-29 Pedro Alves <palves@redhat.com>
9860 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9862 2015-07-29 Pedro Alves <palves@redhat.com>
9864 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9866 2015-07-29 Pedro Alves <palves@redhat.com>
9868 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9871 2015-07-29 Pedro Alves <palves@redhat.com>
9873 * lib/gdb.exp (gdb_test_stdio): New procedure.
9875 2015-07-29 Pedro Alves <palves@redhat.com>
9877 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9879 2015-07-29 Pedro Alves <palves@redhat.com>
9881 * gdb.base/call-signal-resume.exp: Remove check for
9882 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9883 * gdb.base/unwindonsignal.exp: Likewise.
9884 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9885 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9887 2015-07-29 Pedro Alves <palves@redhat.com>
9889 * gdb.base/siginfo-addr.c (pass): New function.
9890 (handler): Call it iff si_addr is correct.
9891 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9892 Set a breakpoint at "pass" and continue to it.
9894 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9896 * gdb.python/py-objfile.exp: Make some tests have unique names.
9897 * gdb.python/py-pp-registration.exp: Likewise.
9899 2015-07-28 Pedro Alves <palves@redhat.com>
9901 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9903 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9905 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9907 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9909 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9911 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9913 * gdb.base/gdb-sigterm-2.exp: New test.
9915 2015-07-25 Doug Evans <xdje42@gmail.com>
9918 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9919 (workers/%.worker, build-perf): New rule.
9920 (GDB_PERFTEST_MODE): New variable.
9921 (check-perf): Use it.
9922 (clean): Clean up gdb.perf parallel build subdirs.
9923 * lib/build-piece.exp: New file.
9924 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9925 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9927 (standard_temp_file): Ditto.
9928 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9931 2015-07-24 Doug Evans <dje@google.com>
9933 * gdb.perf/lib/perftest/utils.py: New file.
9934 * gdb.perf/gm-hello.cc: New file.
9935 * gdb.perf/gm-pervasive-typedef.cc: New file.
9936 * gdb.perf/gm-pervasive-typedef.h: New file.
9937 * gdb.perf/gm-std.cc: New file.
9938 * gdb.perf/gm-std.h: New file.
9939 * gdb.perf/gm-use-cerr.cc: New file.
9940 * gdb.perf/gm-utils.h: New file.
9941 * gdb.perf/gmonster-null-lookup.py: New file.
9942 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9943 * gdb.perf/gmonster-print-cerr.py: New file.
9944 * gdb.perf/gmonster-ptype-string.py: New file.
9945 * gdb.perf/gmonster-runto-main.py: New file.
9946 * gdb.perf/gmonster-select-file.py: New file.
9947 * gdb.perf/gmonster1-null-lookup.exp: New file.
9948 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9949 * gdb.perf/gmonster1-print-cerr.exp: New file.
9950 * gdb.perf/gmonster1-ptype-string.exp: New file.
9951 * gdb.perf/gmonster1-runto-main.exp: New file.
9952 * gdb.perf/gmonster1-select-file.exp: New file.
9953 * gdb.perf/gmonster1.cc: New file.
9954 * gdb.perf/gmonster1.exp: New file.
9955 * gdb.perf/gmonster2-null-lookup.exp: New file.
9956 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9957 * gdb.perf/gmonster2-print-cerr.exp: New file.
9958 * gdb.perf/gmonster2-ptype-string.exp: New file.
9959 * gdb.perf/gmonster2-runto-main.exp: New file.
9960 * gdb.perf/gmonster2-select-file.exp: New file.
9961 * gdb.perf/gmonster2.cc: New file.
9962 * gdb.perf/gmonster2.exp: New file.
9964 2015-07-24 Doug Evans <dje@google.com>
9966 * gdb.perf/README: New file.
9967 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9968 * lib/gen-perf-test.exp: New file.
9970 2015-07-24 Doug Evans <dje@google.com>
9972 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9973 (PerfTest::startup): New function.
9974 (PerfTest::run): Return result of calling body.
9975 (PerfTest::assemble): Rewrite.
9976 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9977 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9978 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9979 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9980 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9982 2015-07-24 Doug Evans <dje@google.com>
9984 * lib/gdb.exp (clean_restart): Make executable optional.
9986 2015-07-24 Doug Evans <dje@google.com>
9988 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9989 compiler_info references.
9990 * gdb.cp/temargs.exp: Ditto.
9991 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9992 (get_compiler_info): Early exit if already computed. Set compiler_info
9993 to "unknown" if there was a problem.
9994 (test_compiler_info): Add function comment. Call get_compiler_info.
9996 2015-07-24 Doug Evans <dje@google.com>
9998 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9999 (workers/%.worker, build-perf): New rule.
10000 (GDB_PERFTEST_MODE): New variable.
10001 (check-perf): Use it.
10002 (clean): Clean up gdb.perf parallel build subdirs.
10003 * lib/build-piece.exp: New file.
10004 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10005 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10007 (standard_temp_file): Ditto.
10008 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10011 2015-07-24 Doug Evans <dje@google.com>
10013 * lib/future.exp (gdb_default_target_compile): New option
10015 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10018 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
10020 * gdb.base/catch-syscall.exp: Call gdb_exit before
10023 2015-07-24 Pedro Alves <palves@redhat.com>
10025 * gdb.python/py-events.exp: Accept output between the stop event
10027 * gdb.python/py-evsignal.exp: Likewise.
10028 * gdb.python/py-evthreads.exp: Likewise.
10030 2015-07-24 Pedro Alves <palves@redhat.com>
10033 * gdb.threads/non-ldr-exit.c: New file.
10034 * gdb.threads/non-ldr-exit.exp: New file.
10036 2015-07-24 Yao Qi <yao.qi@linaro.org>
10038 * gdb.server/ext-wrapper.exp: Test --wrapper option when
10039 restarting process.
10041 2015-07-24 Yao Qi <yao.qi@linaro.org>
10043 * gdb.server/ext-restart.exp: New file.
10045 2015-07-24 Yao Qi <yao.qi@linaro.org>
10047 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10049 * gdb.server/ext-wrapper.exp: New file.
10051 2015-07-23 Doug Evans <dje@google.com>
10053 * gdb.dwarf2/dw2-dummy-cu.S: New file.
10054 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10056 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
10058 * gdb.ada/var_arr_typedef.exp: New testcase.
10059 * gdb.ada/var_arr_typedef/pack.adb: New file.
10060 * gdb.ada/var_arr_typedef/pack.ads: New file.
10061 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10063 2015-07-20 Joel Brobecker <brobecker@adacore.com>
10065 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10067 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10069 * gdb.arch/i386-biarch-core.exp: Replace istarget
10070 by "complete set gnutarget". Remove expectation for the "core-file"
10073 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10075 Revert the previous commit:
10076 Tests for validate symbol file using build-id.
10078 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
10080 Tests for validate symbol file using build-id.
10081 * gdb.base/solib-mismatch-lib.c: New file.
10082 * gdb.base/solib-mismatch-libmod.c: New file.
10083 * gdb.base/solib-mismatch.c: New file.
10084 * gdb.base/solib-mismatch.exp: New file.
10086 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
10088 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10090 * gdb.base/sigbpt.exp (stepi_out): Likewise.
10091 * gdb.base/siginfo.exp: Likewise.
10092 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10094 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
10096 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10098 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10100 * gdb.trace/range-stepping.exp: Check that the target supports
10103 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10105 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10107 2015-07-14 Pedro Alves <palves@redhat.com>
10109 * gdb.base/killed-outside.exp: New file.
10110 * gdb.base/killed-outside.c: New file.
10112 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10114 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10116 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10118 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10120 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10121 infcall tests instead of setting up for KFAIL.
10123 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
10125 * gdb.btrace/record_goto-step.exp: New.
10127 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10130 * gdb.compile/compile.c (struct struct_type): Add volatile to
10132 * gdb.compile/compile.exp
10133 (compile code struct_object.selffield = &struct_object): Skip further
10134 struct_object tests if this one xfails.
10136 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
10139 * gdb.trace/ax.exp: Add test.
10141 2015-07-07 Yao Qi <yao.qi@linaro.org>
10143 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10144 instead of istarget "aarch64*-*-*".
10145 * gdb.arch/aarch64-fp.exp: Likewise.
10146 * gdb.base/float.exp: Likewise.
10147 * gdb.reverse/aarch64.exp: Likewise.
10148 * lib/gdb.exp (is_aarch64_target): New proc.
10150 2015-07-07 Yao Qi <yao.qi@linaro.org>
10152 * lib/gdb.exp (is_aarch32_target): New proc.
10153 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10154 instead of "istarget "arm*-*-*"".
10155 * gdb.arch/arm-disp-step.exp: Likewise.
10156 * gdb.arch/thumb-bx-pc.exp: Likewise.
10157 * gdb.arch/thumb-prologue.exp: Likewise.
10158 * gdb.arch/thumb-singlestep.exp: Likewise.
10159 * gdb.base/disp-step-syscall.exp: Likewise.
10160 * gdb.base/float.exp: Likewise.
10162 2015-07-07 Yao Qi <yao.qi@linaro.org>
10164 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10165 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10167 2015-07-07 Yao Qi <yao.qi@linaro.org>
10169 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10170 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10172 * gdb.multi/multi-arch.exp: Likewise.
10174 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
10176 * gdb.python/py-lazy-string.exp: Add missing parentheses to
10179 2015-07-07 Yao Qi <yao.qi@linaro.org>
10181 * gdb.arch/thumb-singlestep.exp: Do one more single step.
10183 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
10185 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10186 '[' and ']' characters.
10188 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
10190 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10192 2015-06-29 Pedro Alves <palves@redhat.com>
10195 * gdb.threads/hand-call-new-thread.c: New file.
10196 * gdb.threads/hand-call-new-thread.c: New file.
10198 2015-06-26 Keith Seitz <keiths@redhat.com>
10199 Doug Evans <dje@google.com>
10202 * gdb.cp/var-tag-2.cc: New file.
10203 * gdb.cp/var-tag-3.cc: New file.
10204 * gdb.cp/var-tag-4.cc: New file.
10205 * gdb.cp/var-tag.cc: New file.
10206 * gdb.cp/var-tag.exp: New file.
10208 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10210 * gdb.base/history-duplicates.exp: New test.
10212 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10214 * gdb.base/completion.exp: Test the completion of the "focus"
10217 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10219 * gdb.arch/amd64-prologue-skip.S: New file.
10220 * gdb.arch/amd64-prologue-skip.exp: New file.
10222 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
10224 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10225 is_address_zero_readable check.
10227 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
10229 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10230 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10232 2015-06-24 Yao Qi <yao.qi@linaro.org>
10234 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10237 2015-06-24 Yao Qi <yao.qi@linaro.org>
10239 * lib/gdb.exp (supports_get_siginfo_type): New proc.
10240 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10241 * gdb.base/siginfo-thread.exp: Likewise.
10243 2015-06-22 Yao Qi <yao.qi@linaro.org>
10245 * boards/remote-gdbserver-on-localhost.exp: Add comments.
10247 2015-06-22 Yao Qi <yao.qi@linaro.org>
10249 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10251 (skip_hw_watchpoint_tests): Likewise.
10253 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
10255 * gdb.base/gdbinit-history.exp: Test the interaction between
10256 setting GDBHISTSIZE and setting the history size via .gdbinit.
10258 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10261 * gdb.base/gdbhistsize-history.exp: New test.
10263 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10265 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10267 * gdb.base/readline.exp: Likewise.
10269 2015-06-17 Yao Qi <yao.qi@linaro.org>
10271 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10274 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10276 * gdb.base/gdbinit-history.exp: Add test case to check that
10277 an unlimited history file does not get truncated on exit.
10279 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10281 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10282 (VECTOR): New macro. Use it...
10283 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10284 ...for these typedefs.
10285 (int8, char1, int1, double1): New typedefs.
10286 (struct just_int2, struct two_int2): New structures.
10287 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10288 (add_structvecs, add_singlevecs): New functions.
10289 (main): Call add_some_intvecs twice.
10290 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10291 the compile and exit upon failure. Try compiling for the "native"
10292 architecture. Test inferior function calls with vector arguments
10293 and vector return value handling with "finish" and "return".
10295 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
10297 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10298 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10300 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10302 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10304 PR breakpoints/16465
10305 * gdb.mi/mi-dprintf-pending.c: New file.
10306 * gdb.mi/mi-dprintf-pending.exp: New test.
10307 * gdb.mi/mi-dprintf-pendshr.c: New file.
10309 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10310 Mircea Gherzan <mircea.gherzan@intel.com>
10312 * gdb.arch/i386-mpx-map.c: New file.
10313 * gdb.arch/i386-mpx-map.exp: New File.
10315 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10317 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10318 * gdb.arch/i386-mpx.exp: Indentation fixed.
10320 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10322 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10323 function and improved indentation.
10324 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10325 gdb_test_multiple. Added additional tests to skip the test.
10327 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10329 * gdb.arch/i386-avx512.c: Change path in include file.
10330 * gdb.arch/i386-avx512.exp: Change include dir path
10332 * gdb.arch/i386-mpx.c: Change path in include file.
10333 * gdb.arch/i386-mpx.exp: Change include dir path compilation
10336 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10338 * gdb.compile/compile-print.exp (compile print *vararray@3)
10339 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10341 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10343 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10344 (do not keep jit in memory): ... this.
10345 (expect 5): Change it to ...
10346 (expect no 5): ... this.
10348 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
10351 * gdb.mi/mi-detach.exp: New file.
10353 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10356 * gdb.arch/amd64-tailcall-self.S: New file.
10357 * gdb.arch/amd64-tailcall-self.c: New file.
10358 * gdb.arch/amd64-tailcall-self.exp: New file.
10360 2015-05-28 Don Breazeal <donb@codesourcery.com>
10362 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10363 tests for remote targets by checking is_target_gdbserver.
10365 2015-05-27 Doug Evans <dje@google.com>
10367 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10368 * gdb.dwarf2/opaque-type-lookup.c: New file.
10369 * gdb.dwarf2/opaque-type-lookup.exp: New file.
10371 2015-05-26 Doug Evans <dje@google.com>
10373 * gdb.cp/iostream.cc: New file.
10374 * gdb.cp/iostream.exp: New file.
10376 2015-05-26 Doug Evans <dje@google.com>
10378 * gdb.dwarf2/dw2-op-call.exp: Update.
10379 * gdb.dwarf2/dw4-sig-types.exp: Update.
10380 * gdb.dwarf2/implptr.exp: Update.
10381 * gdb.mi/mi-cmd-param-changed.exp: Update.
10383 2015-05-26 Doug Evans <dje@google.com>
10385 * gdb.python/py-lazy-string.c: New file.
10386 * gdb.python/py-lazy-string.exp: New file.
10387 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10388 (main): Update. Add estring3.
10389 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10390 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10392 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10393 Yao Qi <yao.qi@linaro.org>
10395 * gdb.reverse/aarch64.c: New.
10396 * gdb.reverse/aarch64.exp: New.
10398 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10400 * lib/gdb.exp (supports_process_record): Return true for
10402 (supports_reverse): Likewise.
10404 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
10406 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10407 Use with_test_prefix.
10409 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
10411 * gdb.base/completion.exp: Add test for completion of layout
10414 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
10416 * lib/gdb.exp (skip_tui_tests): New proc.
10417 * gdb.base/tui-layout.exp: Check skip_tui_tests.
10419 2015-05-19 Pedro Alves <palves@redhat.com>
10421 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10422 Save the whole env array instead of just HOME. Unset HISTSIZE in
10423 the environment while testing. Restore whole environment
10426 2015-05-16 Doug Evans <xdje42@gmail.com>
10428 * gdb.guile/scm-ports.c: New file.
10429 * gdb.guile/scm-ports.exp: Add memory port tests.
10431 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10433 * gdb.compile/compile-print.c: New file.
10434 * gdb.compile/compile-print.exp: New file.
10436 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10438 * gdb.compile/compile-ops.exp: Cast param to void.
10439 * gdb.compile/compile.exp: Complete type for _gdb_expr.
10440 (compile code struct_object.selffield = &struct_object): Add xfail.
10442 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10444 * gdb.ada/arr_enum_with_gap: New testcase.
10446 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10448 * gdb.ada/byte_packed_arr: New testcase.
10450 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10452 * gdb.ada/pckd_neg: New testcase.
10454 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
10457 * gdb.base/gdbinit-history.exp: New test.
10458 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10459 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10461 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
10463 * gdb.python/py-xmethods.cc: Enhance test case.
10464 * gdb.python/py-xmethods.exp: New tests.
10465 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10467 (B_indexoper): Likewise.
10468 (global_dm_list) : Add new xmethod worker functions.
10470 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
10472 * gdb.base/coredump-filter.exp: Correctly unset
10473 "coredump_var_addr" array.
10475 2015-05-08 Pedro Alves <palves@redhat.com>
10477 * gdb.server/non-existing-program.exp: Unset spawn_id.
10479 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
10482 * gdb.python/py-xmethods.exp: Add tests.
10484 2015-05-08 Yao Qi <yao.qi@linaro.org>
10487 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10488 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10489 function set_coredump_filter, and remove remote_exec call.
10490 Remove argument ipid. Callers update.
10491 (top level): Don't get inferior's PID.
10493 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
10495 * gdb.base/watch_thread_num.exp: Skip test on targets without
10496 access watchpoints.
10498 2015-05-06 Pedro Alves <palves@redhat.com>
10501 * gdb.server/non-existing-program.exp: New file.
10503 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10505 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10507 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10509 * gdb.ada/out_of_line_in_inlined: New testcase.
10511 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10513 * gdb.ada/var_rec_arr: New testcase.
10515 2015-04-30 Yao Qi <yao.qi@linaro.org>
10517 * gdb.base/break-idempotent.exp: If
10518 skip_hw_watchpoint_multi_tests returns true, skip the tests
10519 on "rwatch" and "awatch".
10521 2015-04-30 Yao Qi <yao.qi@linaro.org>
10523 * gdb.base/relativedebug.exp: Invoke gdb command
10524 "info sharedlibrary", and if libc.so doesn't have debug info,
10527 2015-04-29 Doug Evans <dje@google.com>
10529 * gdb.python/py-xmethods.exp: Add ptype tests.
10530 * gdb.python/py-xmethods.py (E_method_char_worker): Add
10531 get_result_type method.
10533 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10535 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10536 the target does not support hardware watchpoints.
10538 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10540 * gdb.base/break-always.exp: Abort testing if writing to memory
10543 2015-04-28 Doug Evans <dje@google.com>
10545 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10546 * gdb.python/py-pp-registration.exp: ... here. New file.
10547 * gdb.python/py-pp-registration.c: New file.
10548 * gdb.python/py-pp-registration.py: New file.
10550 2015-04-28 Doug Evans <dje@google.com>
10552 * gdb.python/py-bad-printers.c: New file.
10553 * gdb.python/py-bad-printers.py: New file.
10554 * gdb.python/py-bad-printers.exp: New file.
10556 2015-04-28 Sasha Smundak <asmundak@google.com>
10558 * gdb.python/py-type.exp: New test.
10560 2015-04-28 Andy Wingo <wingo@igalia.com>
10562 * gdb.python/py-parameter.exp:
10563 * gdb.guile/scm-parameter.exp: Escape the path that we are
10564 matching against, as it might contain characters that are special
10565 to regular expressions.
10567 2015-04-27 Joel Brobecker <brobecker@adacore.com>
10569 * gdb.ada/rec_comp: New testcase.
10571 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
10573 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10576 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
10578 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
10579 new tests for verilog output.
10581 2015-04-24 Yao Qi <yao.qi@linaro.org>
10583 * boards/remote-gdbserver-on-localhost.exp: New file.
10585 2015-04-23 Pedro Alves <palves@redhat.com>
10587 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10588 $inferior_spawn_id instead of $inferior_spawn_id directly. On
10589 "end of file", remove $inferior_spawn_id from the indirect list.
10591 2015-04-23 Pedro Alves <palves@redhat.com>
10593 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10595 2015-04-23 Pedro Alves <palves@redhat.com>
10597 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10598 on $any_spawn_id instead of only on $gdb_spawn_id.
10600 2015-04-21 Pierre Muller <muller@sourceware.org>
10603 * lib/pascal.exp (gpc_compile): Add new option "class".
10604 (fpc_compile): Likewise.
10605 * gdb.pascal/case-insensitive-symbols.pas: New file.
10606 * gdb.pascal/case-insensitive-symbols.exp: New file.
10608 2015-04-20 Gary Benson <gbenson@redhat.com>
10610 * gdb.base/attach.exp: Fix three extended remote failures.
10612 2015-04-17 Gary Benson <gbenson@redhat.com>
10614 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10615 the main executable over the remote protocol.
10617 2015-04-16 Pedro Alves <palves@redhat.com>
10619 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10620 a new gdbserver if gdbserver_reconnect_p is set.
10622 2015-04-16 Pedro Alves <palves@redhat.com>
10624 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10625 is set, don't exit gdbserver.
10627 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10629 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10630 appropriate .insn, such that an older assembler can be used.
10631 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10632 the z/Architecture instruction set on 31-bit targets as well.
10634 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10636 * gdb.go/handcall.exp: Remove all logic related to the first
10637 breakpoint and rely on go_runto_main instead.
10638 * gdb.go/strings.exp: Likewise.
10639 * gdb.go/unsafe.exp: Likewise.
10640 * gdb.go/hello.exp: Likewise. Also rename the remaining
10641 breakpoint marker to "breakpoint 1".
10642 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10643 * gdb.go/strings.go: Likewise.
10644 * gdb.go/unsafe.go: Likewise.
10645 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
10646 "set breakpoint 2 here" and rename the remaining breakpoint marker
10649 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
10651 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10652 if itertools.imap is not present.
10653 * gdb.python/py-objfile.exp: Add parentheses.
10654 * gdb.python/py-type.exp: Same.
10655 * gdb.python/py-unwind-maint.py: Same.
10657 2015-04-15 Yao Qi <yao.qi@linaro.org>
10659 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10660 of ":$ptr_size" and set its form explicitly.
10662 2015-04-15 Pedro Alves <palves@redhat.com>
10663 Yao Qi <yao.qi@linaro.org>
10665 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10666 timeout by factor of 4.
10667 (test_regular_watch): Likewise.
10668 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10669 * gdb.reverse/sigall-reverse.exp: Likewise.
10670 * gdb.reverse/until-precsave.exp: Likewise.
10671 * lib/gdb.exp (with_timeout_factor): New proc.
10672 (gdb_expect): Move some code to ...
10673 (get_largest_timeout): ... here. New procedure.
10675 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
10677 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10679 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10681 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10682 to write to the .text section.
10684 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10686 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10687 Handle the case of targets that do not provide PID information.
10689 2015-04-13 Yao Qi <yao.qi@linaro.org>
10691 * lib/gdbserver-support.exp (gdb_exit): Catch exception
10692 and use expect instead of gdb_expect.
10694 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
10696 * gdb.base/coredump-filter.exp: Rename variable "addr" to
10697 "coredump_var_addr" to avoid naming conflict with other testcases.
10699 2015-04-10 Pedro Alves <palves@redhat.com>
10701 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10702 gdb_test_sequence and gdb_assert.
10704 2015-04-10 Pedro Alves <palves@redhat.com>
10706 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10707 test messages that don't include the breakpoint address.
10709 2015-04-10 Yao Qi <yao.qi@linaro.org>
10711 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10712 false for some offset and width combinations which aren't
10713 supported by linux kernel.
10715 2015-04-10 Pedro Alves <palves@redhat.com>
10717 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10718 procedure, factored out from ...
10719 (top level): ... here. Add "set displaced-stepping" testing axis.
10720 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10721 parameter "displaced". Use it.
10722 (top level): Use foreach and add "set displaced-stepping" testing
10725 2015-04-10 Pedro Alves <palves@redhat.com>
10727 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10729 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10730 both the address of the instruction that triggers the watchpoint
10731 and the address of the instruction immediately after, and use
10732 those addresses for the test. Fix comment.
10734 2015-04-10 Pedro Alves <palves@redhat.com>
10736 * gdb.base/sigstep.exp (breakpoint_to_handler)
10737 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
10738 Test "backtrace" in handler.
10739 (breakpoint_over_handler): New parameter 'displaced'. Use it.
10740 (top level): Add new "displaced" test axis to
10741 breakpoint_to_handler, breakpoint_to_handler_entry and
10742 breakpoint_over_handler.
10744 2015-04-10 Pedro Alves <palves@redhat.com>
10747 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10749 2015-04-10 Yao Qi <yao.qi@linaro.org>
10751 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10752 (test_add_rn_pc): New function.
10753 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10754 (top level): Invoke test_add_rn_pc.
10756 2015-04-10 Pedro Alves <palves@redhat.com>
10759 * gdb.base/step-over-no-symbols.exp: New file.
10761 2015-04-09 Andy Wingo <wingo@igalia.com>
10763 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10764 after the Python tests.
10766 2015-04-08 Keith Seitz <keiths@redhat.com>
10769 * gdb.python/py-completion.exp: New tests for completion.
10770 * gdb.python/py-completion.py (CompleteLimit1): New class.
10771 (CompleteLimit2): Likewise.
10772 (CompleteLimit3): Likewise.
10773 (CompleteLimit4): Likewise.
10774 (CompleteLimit5): Likewise.
10775 (CompleteLimit6): Likewise.
10776 (CompleteLimit7): Likewise.
10778 2015-04-08 Pedro Alves <palves@redhat.com>
10782 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10784 (main): Install it as SIGUSR1 handler.
10785 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10786 parameter. Always use "setup" as prefix. Toggle "set
10787 displaced-stepping" off/on depending on global. Don't switch to
10789 (top level): Add displaced stepping "off/on" test axis. Update
10790 "setup" calls. Wrap each subtest with with_test_prefix. Test
10791 continuing with a queued signal in each thread.
10793 2015-04-08 Pedro Alves <palves@redhat.com>
10795 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10796 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
10797 gdb_breakpoint instead of gdb_test that doesn't expect anything.
10798 Return early if running to main fails.
10799 * gdb.trace/while-stepping.exp: Likewise.
10801 2015-04-07 Pedro Alves <palves@redhat.com>
10803 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10804 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
10805 interact with inferior program.
10807 2015-04-07 Pedro Alves <palves@redhat.com>
10809 * lib/gdb.exp (inferior_spawn_id): New global.
10810 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
10811 spawn id after processing the user code.
10812 (default_gdb_start): Set inferior_spawn_id.
10813 (send_inferior): New procedure.
10814 * lib/gdbserver-support.exp (gdbserver_start): Set
10816 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10818 2015-04-07 Pedro Alves <palves@redhat.com>
10820 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10821 * lib/gdbserver-support.exp (gdbserver_start): Make
10822 $server_spawn_id global.
10823 (gdbserver_start): Don't wait for gdbserver's spawn id with
10825 (close_gdbserver): New procedure.
10826 (gdb_exit): Rename the default version and reimplement.
10828 2015-04-07 Pedro Alves <palves@redhat.com>
10830 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10831 append the substituted item, not the original item.
10833 2015-04-07 Pedro Alves <palves@redhat.com>
10835 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10838 2015-04-07 Pedro Alves <palves@redhat.com>
10840 * gdb.base/interrupt.exp: Don't handle the case of the inferior
10841 output appearing once only.
10843 2015-04-07 Pedro Alves <palves@redhat.com>
10845 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10846 that doesn't expect anything. Return early if running to main
10849 2015-04-07 Yao Qi <yao.qi@linaro.org>
10851 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10852 (child_function): Call alarm.
10853 (main): Move call to alarm into the loop.
10854 * gdb.threads/non-stop-fair-events.exp: Build program with
10855 -DTIMEOUT=$timeout.
10857 2015-04-06 Doug Evans <xdje42@gmail.com>
10859 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10860 Fix dest parameter to board_info.
10861 (fpc_compile): Ditto.
10862 (gdb_compile_pascal): Rename dest arg to destfile.
10864 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10866 * gdb.ada/funcall_ref.exp: New file.
10867 * gdb.ada/funcall_ref/foo.adb: New file.
10869 2015-04-02 Yao Qi <yao.qi@linaro.org>
10871 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10874 2015-04-02 Gary Benson <gbenson@redhat.com>
10876 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10878 2015-04-01 Sasha Smundak <asmundak@google.com>
10880 * gdb.python/py-unwind-maint.c: New file.
10881 * gdb.python/py-unwind-maint.exp: New test.
10882 * gdb.python/py-unwind-maint.py: New file.
10883 * gdb.python/py-unwind.c: New file.
10884 * gdb.python/py-unwind.exp: New test.
10885 * gdb.python/py-unwind.py: New test.
10887 2015-04-01 Pedro Alves <palves@redhat.com>
10889 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10890 to fail instead of non-existent $test.
10892 2015-04-01 Pedro Alves <palves@redhat.com>
10894 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10895 GDBFLAGS if not empty.
10897 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10899 * gdb.ada/complete.exp: Remove "multi_line".
10900 * gdb.ada/info_exc.exp: Remove "multi_line".
10901 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10902 * gdb.ada/ptype_field.exp: Remove "multi_line".
10903 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10904 * gdb.ada/tagged.exp: Remove "multi_line".
10905 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10907 * gdb.btrace/delta.exp: Likewise.
10908 * gdb.btrace/exception.exp: Likewise.
10909 * gdb.btrace/function_call_history.exp: Likewise.
10910 * gdb.btrace/instruction_history.exp: Likewise.
10911 * gdb.btrace/nohist.exp: Likewise.
10912 * gdb.btrace/record_goto.exp: Likewise.
10913 * gdb.btrace/segv.exp: Likewise.
10914 * gdb.btrace/stepi.exp: Likewise.
10915 * gdb.btrace/tailcall.exp: Likewise.
10916 * gdb.btrace/unknown_functions.exp: Likewise.
10917 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10918 * lib/gdb.exp: Add the "multi_line" helper.
10920 2015-04-01 Pedro Alves <palves@redhat.com>
10922 * gdb.threads/tid-reuse.c: New file.
10923 * gdb.threads/tid-reuse.exp: New file.
10925 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10928 * gdb.base/coredump-filter.c: New file.
10929 * gdb.base/coredump-filter.exp: Likewise.
10931 2015-03-27 Petr Machata <pmachata@redhat.com>
10933 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10934 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10935 (Dwarf::assemble): Initialize them.
10936 (Dwarf::lines): New function.
10938 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10940 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10941 SYMBOL_PREFIX for x86_64-*-cygwin.
10943 2015-03-26 Andy Wingo <wingo@igalia.com>
10946 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10947 const_value but not a location.
10948 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10949 location defined in non-main CUs are visible.
10951 2015-03-26 Yao Qi <yao.qi@linaro.org>
10954 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10955 Add a line number entry for the same line.
10956 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10957 Add a line number entry for the same line.
10959 2015-03-26 Yao Qi <yao.qi@linaro.org>
10961 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10963 (func): Likewise. Add .Lfunc_1 label.
10964 Use .Lfunc_1 label.
10965 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10968 Use .Lfunc_1 label.
10970 2015-03-26 Yao Qi <yao.qi@linaro.org>
10972 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10973 Call gdb_compile instead to compile each .s files without debug
10976 2015-03-26 Yao Qi <yao.qi@linaro.org>
10978 * gdb.base/savedregs.exp (process_saved_regs): Make
10979 "Saved registers:" optional in the pattern.
10981 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10983 * gdb.btrace/next.exp: Merged into step.exp.
10984 * gdb.btrace/finish.exp: Merged into step.exp.
10985 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10986 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10987 "record goto" and checking the exact replay position.
10988 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10989 check for "Recording format" in "info record" output.
10990 * gdb.btrace/record_goto.exp: Choose test file based on target.
10991 * gdb.btrace/x86-record_goto.S: Renamed into ...
10992 * gdb.btrace/x86_64-record_goto.S: ... this.
10993 * gdb.btrace/i686-record_goto.S: New.
10994 * gdb.btrace/x86-tailcall.S: Renamed into ...
10995 * gdb.btrace/x86_64-tailcall.S: ... this.
10996 * gdb.btrace/i686-tailcall.S: New.
10997 * gdb.btrace/x86-tailcall.c: Renamed into ...
10998 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10999 separate statements. Update test.
11000 * gdb.btrace/delta.exp: Use record_goto.c as test file.
11001 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11002 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11003 * gdb.btrace/tailcall.exp: Choose test file based on target.
11004 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11006 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11008 * gdb.btrace/exception.exp: Increase BTS buffer size.
11010 2015-03-24 Pedro Alves <palves@redhat.com>
11012 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11014 2015-03-24 Pedro Alves <palves@redhat.com>
11016 * gdb.threads/schedlock.exp (test_step): No longer expect that
11017 "set scheduler-locking step" with "next" over a function call runs
11020 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11022 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11024 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11026 PR breakpoints/16466
11027 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11028 * gdb.mi/mi-pending.c (thread_func): New function.
11029 (int main): Add threading support required.
11030 * gdb.mi/mi-pending.exp: Add tests for this issue.
11031 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11032 (pendfunc2): Remove stdio dependency.
11033 * gdb.mi/mi-pendshr2.c: New file.
11035 2015-03-23 Keith Seitz <keiths@redhat.com>
11037 * gdb.linespec/keywords.c: New file.
11038 * gdb.linespec/keywords.exp: New file.
11040 2015-03-23 Keith Seitz <keiths@redhat.com>
11043 * gdb.dwarf2/staticvirtual.exp: New test.
11045 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11047 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11048 * README: Remove HP-UX and gdb.hp.
11050 * configure: Regenerate.
11051 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11052 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11053 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11054 gdb.hp/gdb.defects/Makefile.
11055 * gdb.hp/Makefile.in: File deleted.
11056 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11057 * gdb.hp/gdb.aCC/optimize.c: File deleted.
11058 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11059 * gdb.hp/gdb.aCC/run.c: File deleted.
11060 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11061 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11062 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11063 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11064 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11065 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11066 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11067 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11068 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11069 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11070 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11071 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11072 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11073 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11074 * gdb.hp/gdb.base-hp/reg.s: File deleted.
11075 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11076 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11077 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11078 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11079 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11080 * gdb.hp/gdb.compat/Makefile.in: File deleted.
11081 * gdb.hp/gdb.compat/average.c: File deleted.
11082 * gdb.hp/gdb.compat/sum.c: File deleted.
11083 * gdb.hp/gdb.compat/xdb.c: File deleted.
11084 * gdb.hp/gdb.compat/xdb0.c: File deleted.
11085 * gdb.hp/gdb.compat/xdb0.h: File deleted.
11086 * gdb.hp/gdb.compat/xdb1.c: File deleted.
11087 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11088 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11089 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11090 * gdb.hp/gdb.defects/Makefile.in: File deleted.
11091 * gdb.hp/gdb.defects/bs14602.c: File deleted.
11092 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11093 * gdb.hp/gdb.defects/solib-d.c: File deleted.
11094 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11095 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11096 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11097 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11098 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11099 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11100 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11101 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11102 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11103 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11104 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11105 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11106 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11107 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11108 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11109 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11110 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11111 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11112 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11113 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11114 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11115 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11116 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11117 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11118 * gdb.hp/tools/odump: File deleted.
11120 2015-03-19 Pedro Alves <palves@redhat.com>
11122 * gdb.threads/continue-pending-status.exp (saw_thread_2)
11123 (saw_thread_3): New globals.
11124 (top level): Increment them when an event for the corresponding
11126 (no thread starvation): New test.
11128 2015-03-19 Pedro Alves <palves@redhat.com>
11130 * gdb.threads/continue-pending-status.c: New file.
11131 * gdb.threads/continue-pending-status.exp: New file.
11133 2015-03-18 Pedro Alves <palves@redhat.com>
11135 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11136 Use gdb_is_target_remote instead of is_remote. Use
11137 gdb_test_multiple instead of gdb_expect. Exit early if
11138 gdb_test_multiple hits its internal matches. Tighten stepi tests
11139 expected output. Fail on exit with any signal, instead of just
11142 2015-03-18 Yao Qi <yao.qi@linaro.org>
11145 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11147 * gdb.base/catch-syscall.exp: Don't skip it on
11148 aarch64*-*-linux* target. Remove elements in all_syscalls.
11149 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11151 (setup_all_syscalls): New proc.
11153 2015-03-16 Yao Qi <yao.qi@linaro.org>
11155 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11156 (top level): Skip tests if valid_addr_p returns false for
11159 2015-03-11 Andy Wingo <wingo@igalia.com>
11161 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11163 2015-03-11 Yao Qi <yao.qi@linaro.org>
11165 * gdb.base/catch-syscall.exp: Fix typo in comments.
11167 2015-03-11 Yao Qi <yao.qi@linaro.org>
11169 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11171 2015-03-09 Pedro Alves <palves@redhat.com>
11173 * dg-extract-results.py: Delete.
11175 2015-03-09 Pedro Alves <palves@redhat.com>
11177 Merge dg-extract-results.sh from GCC upstream (r218843).
11179 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
11180 * dg-extract-results.sh: Use --text with grep to avoid issues with
11181 binary files. Fall back to cat -v, if that doesn't work.
11183 2015-03-05 Pedro Alves <palves@redhat.com>
11185 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11187 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
11189 * lib/mi-support.exp (mi_expect_interrupt): Accept
11190 alternative event for when in all-stop mode.
11192 2015-03-04 Pedro Alves <palves@redhat.com>
11194 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11196 2015-03-04 Mark Kettenis <kettenis@gnu.org>
11198 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11200 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11202 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11203 regexps for GDB's current line display, accept a hex address
11204 preceding the line number.
11206 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11208 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11209 the 'arch1' variable for "s390*-linux*" targets.
11211 2015-03-04 Pedro Alves <palves@redhat.com>
11213 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11214 (main): Pass missing retval argument to pthread_join call.
11216 2015-03-02 Pedro Alves <palves@redhat.com>
11218 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11219 (top level): Call do_test with non-stop as well.
11221 2015-03-02 Pedro Alves <palves@redhat.com>
11223 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11226 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11228 * gdb.arch/s390-vregs.exp: New test.
11229 * gdb.arch/s390-vregs.S: New file.
11231 2015-02-27 Pedro Alves <palves@redhat.com>
11233 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11234 call to catch_command_errors.
11235 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11236 catch_command_errors.
11238 2015-02-27 Pedro Alves <palves@redhat.com>
11240 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11241 "true" for boolean result.
11242 * gdb.gdb/selftest.exp (test_with_self): Also accept full
11245 2015-02-27 Pedro Alves <palves@redhat.com>
11247 * lib/unbuffer_output.c: New file.
11248 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11249 (main): Call gdb_unbuffer_output.
11251 2015-02-27 Yao Qi <yao.qi@linaro.org>
11253 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11256 2015-02-26 Doug Evans <dje@google.com>
11258 * gdb.cp/class2.cc (Dbase, D): New classes.
11259 (main): New local delta.
11260 * gdb.cp/class2.exp: Test printing delta.
11261 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11262 (dynbar): New global.
11263 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11265 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11267 * gdb.compile/compile-ifunc.c: New file.
11268 * gdb.compile/compile-ifunc.exp: New file.
11270 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
11272 * gdb.base/structs.exp: Check for correct struct on finish.
11274 2015-02-26 Yao Qi <yao.qi@linaro.org>
11276 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11279 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11281 * gdb.arch/cordic.ko.bz2: New file.
11282 * gdb.arch/cordic.ko.debug.bz2: New file.
11283 * gdb.arch/ppc64-symtab-cordic.exp: New file.
11285 2015-02-25 Yao Qi <yao.qi@linaro.org>
11287 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11288 aarch64*-*-* target.
11290 2015-02-23 Pedro Alves <palves@redhat.com>
11292 * lib/gdb.exp (delete_breakpoints): Rewrite using
11295 2015-02-23 Pedro Alves <palves@redhat.com>
11297 * gdb.base/info-os.c: Include stdlib.h.
11299 2015-02-22 Doug Evans <xdje42@gmail.com>
11302 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11303 is read after symbols have been re-read.
11304 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11305 * gdb.ada/exec_changed/second.adb (Second): Ditto.
11307 2015-02-21 Doug Evans <dje@google.com>
11309 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11311 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11314 * gdb.arch/i386-biarch-core.core.bz2: New file.
11315 * gdb.arch/i386-biarch-core.exp: New file.
11317 2015-02-21 Pedro Alves <palves@redhat.com>
11319 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11322 2015-02-20 Pedro Alves <palves@redhat.com>
11324 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11327 2015-02-20 Pedro Alves <palves@redhat.com>
11329 * gdb.threads/multi-create-ns-info-thr.exp: New file.
11331 2015-02-20 Pedro Alves <palves@redhat.com>
11333 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
11334 clean_restart before gdb_target_supports_trace.
11336 2015-02-20 Pedro Alves <palves@redhat.com>
11339 * gdb.threads/clone-thread_db.c: New file.
11340 * gdb.threads/clone-thread_db.exp: New file.
11342 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
11344 PR breakpoints/16812
11345 * gdb.base/catch-gdb-caused-signals.c: New file.
11346 * gdb.base/catch-gdb-caused-signals.exp: New file.
11348 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
11350 * configure: Regenerated.
11351 * configure.ac: Use GDB_AC_TRANSFORM.
11352 * aclocal.m4: sinclude ../transform.m4.
11354 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11356 * lib/dtrace.exp: New file.
11357 * gdb.base/dtrace-probe.exp: Likewise.
11358 * gdb.base/dtrace-probe.d: Likewise.
11359 * gdb.base/dtrace-probe.c: Likewise.
11360 * lib/pdtrace.in: Likewise.
11361 * configure.ac: Output variables with the transformed names of
11362 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
11363 * configure: Regenerated.
11365 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11367 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11368 expected message when trying to access $_probe_* convenience
11369 variables while not on a probe.
11371 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11373 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11375 2015-02-11 Pedro Alves <pedro@codesourcery.com>
11377 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11378 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11380 2015-02-10 Doug Evans <xdje42@gmail.com>
11382 * lib/gdb.exp (gdb_load): Always return a result.
11384 2015-02-10 Pedro Alves <palves@redhat.com>
11386 * gdb.threads/signal-sigtrap.c: New file.
11387 * gdb.threads/signal-sigtrap.exp: New file.
11389 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
11391 * gdb.trace/no-attach-trace.c: New file.
11392 * gdb.trace/no-attach-trace.exp: New file.
11394 2015-02-09 Mark Wielaard <mjw@redhat.com>
11396 * gdb.dwarf2/atomic.c: New file.
11397 * gdb.dwarf2/atomic-type.exp: Likewise.
11399 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11401 * gdb.btrace/buffer-size.exp: Update "info record" output.
11402 * gdb.btrace/delta.exp: Update "info record" output.
11403 * gdb.btrace/enable.exp: Update "info record" output.
11404 * gdb.btrace/finish.exp: Update "info record" output.
11405 * gdb.btrace/instruction_history.exp: Update "info record" output.
11406 * gdb.btrace/next.exp: Update "info record" output.
11407 * gdb.btrace/nexti.exp: Update "info record" output.
11408 * gdb.btrace/step.exp: Update "info record" output.
11409 * gdb.btrace/stepi.exp: Update "info record" output.
11410 * gdb.btrace/nohist.exp: Update "info record" output.
11412 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11414 * gdb.btrace/buffer-size: New.
11416 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11418 * gdb.btrace/delta.exp: Update "info record" output.
11419 * gdb.btrace/enable.exp: Update "info record" output.
11420 * gdb.btrace/finish.exp: Update "info record" output.
11421 * gdb.btrace/instruction_history.exp: Update "info record" output.
11422 * gdb.btrace/next.exp: Update "info record" output.
11423 * gdb.btrace/nexti.exp: Update "info record" output.
11424 * gdb.btrace/step.exp: Update "info record" output.
11425 * gdb.btrace/stepi.exp: Update "info record" output.
11426 * gdb.btrace/nohist.exp: Update "info record" output.
11428 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
11431 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11433 2015-02-06 Pedro Alves <palves@redhat.com>
11435 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11437 (seconds_left, again): New globals.
11438 (main): Wait seconds_left in a 1-second sleep loop instead of
11439 sleeping 180 seconds. If 'again' is set, reset the seconds
11441 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11442 'again' in the inferior before detaching. Print the seconds left.
11443 (options): New global.
11444 (top level): Build program with -DTIMEOUT=$timeout.
11446 2015-02-06 Pedro Alves <palves@redhat.com>
11448 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11449 determine how many seconds to pass to 'alarm'.
11450 * gdb.base/gdb-sigterm.exp (top level): Build program with
11451 -DTIMEOUT=$timeout.
11452 (do_test): Return success/failure indication. Add more verbose
11453 logging. Don't fail if 200 single steps are seen. Instead, fail
11454 when the test times out.
11455 (passes): New global.
11456 (top level): Break the testing loop if testing fails on any
11457 iteration. Use gdb_assert.
11459 2015-02-04 Don Breazeal <donb@codesourcery.com>
11461 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11462 and initialize them.
11463 (ipc_cleanup): New function.
11464 (main): Don't declare shmid, semid, and msqid. Add a call to
11465 atexit so that we call ipc_cleanup on exit.
11467 2015-02-04 Pedro Alves <palves@redhat.com>
11469 * boards/native-extended-gdbserver.exp: Remove any target variant
11470 specifications from the board name before clearing the isremote
11471 flag from board_info.
11473 2015-01-31 Doug Evans <xdje42@gmail.com>
11475 * gdb.base/maint.exp <maint print type argc>: Update expected output.
11477 2015-01-31 Gary Benson <gbenson@redhat.com>
11479 * gdb.base/completion.exp: Disable completion limiting for
11480 existing tests. Add new tests to check completion limiting.
11481 * gdb.linespec/ls-errs.exp: Disable completion limiting.
11483 2015-01-31 Doug Evans <xdje42@gmail.com>
11485 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11487 2015-01-31 Doug Evans <xdje42@gmail.com>
11489 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11490 entries. Duplicate file section script entries.
11491 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11492 inlined entries. Add test for safe-path rejection.
11493 * gdb.python/py-section-script.c: Add duplicate inlined section script
11494 entries. Duplicate file section script entries.
11495 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11496 inlined entries. Add test for safe-path rejection.
11498 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11500 * gdb.ada/disc_arr_bound: New testcase.
11502 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11504 * gdb.ada/mi_var_array: New testcase.
11506 2015-01-27 Doug Evans <dje@google.com>
11508 * gdb.python/py-objfile.exp: Add tests for objfile.username.
11509 Add test for objfile.filename, objfile.username after objfile
11512 2015-01-26 Joel Brobecker <brobecker@adacore.com>
11514 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11515 the second test to print the name attribute of value
11516 returned by the call to gdb.lookup_type, and adjust
11517 the expected output accordingly.
11519 2015-01-25 Mark Wielaard <mjw@redhat.com>
11521 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11522 * gdb.base/disp-step-fork.c: Include unistd.h.
11523 * gdb.base/siginfo-obj.c: Include stdio.h.
11524 * gdb.base/siginfo-thread.c: Likewise.
11525 * gdb.mi/non-stop.c: Include unistd.h.
11526 * gdb.mi/nsthrexec.c: Include stdio.h.
11527 * gdb.mi/pthreads.c: Include unistd.h.
11528 * gdb.modula2/unbounded1.c (main): Declare returns int.
11529 * gdb.reverse/consecutive-reverse.c: Likewise.
11530 * gdb.threads/create-fail.c: Include unistd.h.
11531 * gdb.threads/killed.c: Likewise.
11532 * gdb.threads/linux-dp.c: Likewise.
11533 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11534 * gdb.threads/non-ldr-exc-2.c: Likewise.
11535 * gdb.threads/non-ldr-exc-3.c: Likewise.
11536 * gdb.threads/non-ldr-exc-4.c: Likewise.
11537 * gdb.threads/pthreads.c: Include unistd.h.
11538 (main): Declare returns int.
11539 * gdb.threads/tls-main.c (foo): New declaration.
11540 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11542 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
11544 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11545 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11547 2015-01-15 Mark Wielaard <mjw@redhat.com>
11549 * gdb.base/noreturn-return.c: New file.
11550 * gdb.base/noreturn-return.exp: New file.
11551 * gdb.base/noreturn-finish.c: New file.
11552 * gdb.base/noreturn-finish.exp: New file.
11554 2015-01-23 Pedro Alves <palves@redhat.com>
11556 * gdb.threads/continue-pending-after-query.c: New file.
11557 * gdb.threads/continue-pending-after-query.exp: New file.
11559 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
11560 Simon Marchi <simon.marchi@ericsson.com>
11562 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11563 * gdb.base/valgrind-db-attach.exp: Same.
11564 * gdb.base/valgrind-infcall.exp: Same.
11565 * lib/mi-support.exp (default_mi_gdb_start): Same.
11566 * lib/prompt.exp (default_prompt_gdb_start): Same.
11567 * lib/gdb.exp (default_gdb_spawn): Same.
11568 (gdb_interact): New.
11571 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11573 * gdb.compile/compile.exp (pointer to jit function): New test.
11575 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
11577 * lib/gdb.exp (supports_process_record): Return true for
11579 (supports_reverse): Likewise.
11581 2015-01-15 Don Breazeal <donb@codesourcery.com>
11583 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11584 instead of checking whether the target board is remote and
11585 use spawn_wait_for_attach instead of exec/sleep.
11586 * gdb.base/attach-twice.exp: Likewise.
11588 2015-01-15 Joel Brobecker <brobecker@adacore.com>
11590 * gdb.ada/var_arr_attrs: New testcase.
11592 2015-01-14 Pedro Alves <palves@redhat.com>
11593 Joel Brobecker <brobecker@adacore.com>
11596 * gdb.base/bp-cmds-execution-x-script.c: New file.
11597 * gdb.base/bp-cmds-execution-x-script.exp: New file.
11598 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11600 2015-01-14 Pedro Alves <palves@redhat.com>
11603 * gdb.base/batch-preserve-term-settings.c: New file.
11604 * gdb.base/batch-preserve-term-settings.exp: New file.
11606 2015-01-13 Doug Evans <dje@google.com>
11608 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11611 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11613 * Makefile.in (clean mostlyclean): Do not delete *.py.
11615 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11617 * gdb.python/py-lookup-type.exp: New file.
11619 2015-01-12 Pedro Alves <palves@redhat.com>
11621 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11622 restore GDBFLAGS before returning.
11624 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11626 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11627 is_amd64_regs_target and is_x86_like_target.
11629 2015-01-11 Doug Evans <xdje42@gmail.com>
11631 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11632 is given without an explicit form.
11633 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11635 * gdb.dwarf/corrupt.exp: Ditto.
11636 * gdb.dwarf2/enum-type.exp: Ditto.
11637 * gdb.trace/entry-values.exp: Ditto.
11638 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11640 2015-01-11 Doug Evans <xdje42@gmail.com>
11643 * gdb.base/maint.exp: Remove references to "maint demangle".
11644 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
11645 Add tests for explicitly specifying language to demangle.
11646 * gdb.dlang/demangle.exp: Ditto.
11648 2015-01-09 Pedro Alves <palves@redhat.com>
11650 * gdb.threads/non-stop-fair-events.c: New file.
11651 * gdb.threads/non-stop-fair-events.exp: New file.
11653 2015-01-09 Pedro Alves <palves@redhat.com>
11655 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11656 the global scope. Set a breakpoint after all threads are started
11657 rather than stepping over two source lines. Expect the prompt.
11658 * gdb.base/watch_thread_num.c (threads_started_barrier): New
11661 (main): Use threads_started_barrier to wait for all threads to
11662 start. Main thread no longer calls thread_function. Exit after
11664 (loop): New function.
11665 (thread_function): Wait on threads_started_barrier barrier. Call
11666 'loop' at each iteration.
11667 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11668 threads have started, instead of hardcoding number of "next"
11669 steps. Use an access watchpoint instead of a write watchpoint.
11671 2015-01-09 Pedro Alves <palves@redhat.com>
11673 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11674 (thread_func): Wait on barrier.
11675 (main): Wait for all threads to start before stopping GDB.
11676 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11678 (thread1_func, thread2_func): Wait on barrier.
11679 (main): Wait for all threads to start before stopping GDB.
11680 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11682 (thread1_func, thread2_func): Wait on barrier.
11683 (main): Wait for all threads to start before stopping GDB.
11685 2015-01-09 Pedro Alves <palves@redhat.com>
11687 * gdb.threads/attach-many-short-lived-threads.c: New file.
11688 * gdb.threads/attach-many-short-lived-threads.exp: New file.
11690 2014-01-09 Pedro Alves <palves@redhat.com>
11692 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11693 instead of to thread 2.
11694 * gdb.threads/signal-command-multiple-signals-pending.c (main):
11695 Add barrier around each pthread_create call instead of around all
11697 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11698 Set a break on thread_function and have the child threads hit it
11701 2015-01-09 Pedro Alves <palves@redhat.com>
11703 * lib/gdb.exp (can_spawn_for_attach): New procedure.
11704 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11706 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11707 checking whether the target board is remote.
11708 * gdb.multi/multi-attach.exp: Likewise.
11709 * gdb.python/py-sync-interp.exp: Likewise.
11710 * gdb.server/ext-attach.exp: Likewise.
11711 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11712 tests that need to attach, instead of checking whether the target
11713 board is remote at the top of the file.
11715 2015-01-08 Yao Qi <yao@codesourcery.com>
11717 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11719 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11721 Fix testcase compilation.
11722 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11724 2015-01-06 Joel Brobecker <brobecker@adacore.com>
11726 * gdb.python/py-type.exp: Add a couple test about empty
11727 array creation, and negative-length array creation.
11729 2015-01-02 Doug Evans <xdje42@gmail.com>
11731 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11733 2015-01-02 Doug Evans <dje@google.com>
11735 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11737 2014-12-29 Yao Qi <yao@codesourcery.com>
11739 * gdb.trace/entry-values.exp: Update comments. Rename variable
11740 bar_call_foo to returned_from_foo.
11742 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
11745 * gdb.linespec/break-asm-file.c: New file.
11746 * gdb.linespec/break-asm-file.exp: New file.
11747 * gdb.linespec/break-asm-file0.s: New file.
11748 * gdb.linespec/break-asm-file1.s: New file.
11750 2014-12-18 Nigel Stephens <nigel@mips.com>
11751 Maciej W. Rozycki <macro@codesourcery.com>
11753 * gdb.base/float.exp: Handle the new output from "info float" on
11756 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11758 Fix MinGW compilation.
11759 * gdb.compile/compile-ops.exp: Update untested message if
11760 !skip_compile_feature_tests.
11761 * gdb.compile/compile-setjmp.exp: Likewise.
11762 * gdb.compile/compile-tls.exp: Likewise.
11763 * gdb.compile/compile.exp: Likewise.
11764 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11765 supported on this host".
11767 2014-12-16 Doug Evans <xdje42@gmail.com>
11769 * boards/stabs.exp: New file.
11771 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
11773 * gdb.base/completion.exp: Adjust to format changes of "maint
11774 print user-registers".
11776 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
11779 * gdb.arch/aarch64-fp.c: New file.
11780 * gdb.arch/aarch64-fp.exp: New file.
11782 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11784 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11785 r210637, r210913, r211666, r215400, r215817).
11787 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
11788 * dg-extract-results.py: New file.
11789 * dg-extract-results.sh: Use it if the environment seems
11792 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
11794 * dg-extract-results.py (parse_run): Handle warnings that
11795 are printed before a test harness is run.
11797 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
11799 * dg-extract-results.py (Named): Remove __cmp__ method.
11800 (output_variation): Use a key to sort variation.harnesses.
11802 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
11804 * dg-extract-results.py: For Python 3, force sys.stdout to
11805 handle surrogate escape sequences.
11806 (safe_open): New function.
11807 (output_segment, main): Use it.
11809 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
11811 * dg-extract-results.py (Prog.result_re): Include options
11814 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
11816 * dg-extract-results.py (output_variation): Always sort if
11819 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
11821 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11822 as long as we get pagination notifications.
11824 2014-12-15 Jason Merrill <jason@redhat.com>
11826 * Makefile.in (check-gdb.%): Restore.
11827 * README: Mention it.
11829 2014-12-13 Joel Brobecker <brobecker@adacore.com>
11831 * gdb.ada/str_uninit: New testcase.
11833 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11836 * gdb.base/vla-stub-define.c: New file.
11837 * gdb.base/vla-stub.c: New file.
11838 * gdb.base/vla-stub.exp: New file.
11840 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
11841 Jan Kratochvil <jan.kratochvil@redhat.com>
11842 Tom Tromey <tromey@redhat.com>
11844 * configure.ac: Add gdb.compile/.
11845 * configure: Regenerate.
11846 * gdb.compile/Makefile.in: New file.
11847 * gdb.compile/compile-ops.exp: New file.
11848 * gdb.compile/compile-ops.c: New file.
11849 * gdb.compile/compile-tls.c: New file.
11850 * gdb.compile/compile-tls.exp: New file.
11851 * gdb.compile/compile-constvar.S: New file.
11852 * gdb.compile/compile-constvar.c: New file.
11853 * gdb.compile/compile-mod.c: New file.
11854 * gdb.compile/compile-nodebug.c: New file.
11855 * gdb.compile/compile-setjmp-mod.c: New file.
11856 * gdb.compile/compile-setjmp.c: New file.
11857 * gdb.compile/compile-setjmp.exp: New file.
11858 * gdb.compile/compile-shlib.c: New file.
11859 * gdb.compile/compile.c: New file.
11860 * gdb.compile/compile.exp: New file.
11861 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11863 2014-12-12 Tom Tromey <tromey@redhat.com>
11865 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11866 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11868 2014-12-12 Doug Evans <dje@google.com>
11870 * lib/gdb-python.exp (get_python_valueof): New function.
11871 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11873 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11875 * gdb.base/completion.exp: Add test for completion of "info
11878 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11880 * gdb.base/func-ptrs.c: New file.
11881 * gdb.base/func-ptrs.exp: New file.
11883 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11885 PR breakpoints/17012
11886 * gdb.base/dprintf-detach.c: New file.
11887 * gdb.base/dprintf-detach.exp: New file.
11889 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11891 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11892 * lib/gdb.exp (target_is_gdbserver): New procedure.
11894 2014-12-08 Doug Evans <dje@google.com>
11896 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11898 2014-12-05 Yao Qi <yao@codesourcery.com>
11900 * gdb.guile/scm-error.exp: Remove the third argument to
11901 gdb_remote_download.
11902 * gdb.guile/scm-frame-args.exp: Likewise.
11903 * gdb.guile/scm-section-script.exp: Likewise.
11905 2014-12-05 Yao Qi <yao@codesourcery.com>
11907 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11909 2014-12-04 Doug Evans <dje@google.com>
11911 * gdb.python/py-objfile.exp: Add tests for
11912 objfile.add_separate_debug_file.
11914 2014-12-04 Doug Evans <dje@google.com>
11916 * lib/gdb.exp (get_build_id): New function.
11917 (build_id_debug_filename_get): Rewrite to use it.
11918 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11920 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11922 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11923 `method(long)', not just 0x0.
11924 * gdb.cp/nsalias.exp: Align code labels to 4.
11925 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11926 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11927 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11928 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11929 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11930 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11932 2014-12-02 Doug Evans <dje@google.com>
11935 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11936 * gdb.cp/anon-ns2.cc: ... here. New file.
11937 * gdb.cp/anon-ns.exp: Update.
11939 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
11941 * gdb.python/py-events.py (inferior_call_handler): New.
11942 (register_changed_handler, memory_changed_handler): New.
11943 (test_events.invoke): Register new handlers.
11944 * gdb.python/py-events.exp: Add tests for inferior call,
11945 memory_changed and register_changed events.
11947 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11949 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11950 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11951 if the linker doesn't understand this.
11953 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11955 * gdb.python/python.exp: Change expected reply to help().
11957 2014-12-01 Yao Qi <yao@codesourcery.com>
11959 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11960 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11961 * configure: Re-generated.
11963 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11965 * gdb.cp/chained-calls.cc: New file.
11966 * gdb.cp/chained-calls.exp: New file.
11967 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11969 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11971 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11972 * gdb.dwarf2/symtab-producer.exp: Same.
11973 * gdb.gdb/python-interrupts.exp: Same.
11974 * gdb.gdb/python-selftest.exp: Same.
11975 * gdb.python/py-linetable.exp: Same.
11976 * gdb.python/py-type.exp: Same.
11977 * gdb.python/py-value-cc.exp: Same.
11978 * gdb.python/py-value.exp: Same.
11980 2014-11-28 Yao Qi <yao@codesourcery.com>
11982 * gdb.base/break-probes.exp: Match library name prefixed with
11985 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11987 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11988 test expected output. Add parentheses for the call to print.
11989 Remove L suffix from integers.
11991 2014-11-26 Doug Evans <dje@google.com>
11993 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11995 2014-11-22 Yao Qi <yao@codesourcery.com>
11997 * gdb.trace/entry-values.c: Remove asms.
11998 (foo): Add foo_label.
11999 (bar): Add bar_label.
12000 * gdb.trace/entry-values.exp: Remove code computing foo's
12001 length and bar's length.
12002 (Dwarf::assemble): Invoke function_range for bar and use
12003 MACRO_AT_func for foo.
12005 2014-11-22 Yao Qi <yao@codesourcery.com>
12007 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12008 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
12009 Use .Lgcc43_procstart instead of gcc43.
12011 2014-11-21 Joel Brobecker <brobecker@adacore.com>
12013 * gdb.ada/n_arr_bound: New testcase.
12015 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
12017 PR breakpoints/10737
12018 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12019 test_catch_syscall_multi_arch.
12020 (test_catch_syscall_multi_arch): New function.
12022 2014-11-20 Doug Evans <xdje42@gmail.com>
12024 * gdb.base/maint.exp: Update expected output.
12026 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
12028 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12029 4-byte instruction on S390.
12031 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12033 * gdb.ada/arr_arr: New testcase.
12035 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12037 * gdb.ada/pkd_arr_elem: New Testcase.
12039 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
12041 * gdb.reverse/break-precsave: Expect completion message for
12043 * gdb.reverse/consecutive-precsave.exp: Likewise.
12044 * gdb.reverse/finish-precsave.exp: Likewise.
12045 * gdb.reverse/i386-precsave.exp: Likewise.
12046 * gdb.reverse/machinestate-precsave.exp: Likewise.
12047 * gdb.reverse/sigall-precsave.exp: Likewise.
12048 * gdb.reverse/solib-precsave.exp: Likewise.
12049 * gdb.reverse/step-precsave.exp: Likewise.
12050 * gdb.reverse/until-precsave.exp: Likewise.
12051 * gdb.reverse/watch-precsave.exp: Likewise.
12053 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12055 * gdb.base/bp-permanent.c: Include unistd.h.
12056 * gdb.python/py-framefilter-mi.c (main): Add return type.
12057 * gdb.python/py-framefilter.c (main): Likewise.
12058 * gdb.trace/actions-changed.c (main): Likewise.
12060 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12062 * gdb.mi/until.c: Add eye-catchers.
12063 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12066 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12068 * gdb.base/condbreak.exp: Drop references to removed non-prototype
12069 function header variants in break1.c.
12070 * gdb.base/ena-dis-br.exp: Likewise.
12071 * gdb.base/hbreak2.exp: Likewise.
12072 * gdb.reverse/until-precsave.exp: Drop references to removed
12073 non-prototype function header variants in ur1.c.
12074 * gdb.reverse/until-reverse.exp: Likewise.
12076 2014-11-17 Petr Machata <pmachata@redhat.com>
12078 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
12079 ${_cu_offset_size} bytes abbrev offset.
12081 2014-11-15 Doug Evans <xdje42@gmail.com>
12084 * gdb.base/line-symtabs.exp: New file.
12085 * gdb.base/line-symtabs.c: New file.
12086 * gdb.base/line-symtabs.h: New file.
12088 2014-11-14 Yao Qi <yao@codesourcery.com>
12090 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12091 (func): Add label func_label.
12092 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12093 Replace low_pc and high_pc with MACRO_AT_range.
12094 Replace name, low_pc and high_pc with MACRO_AT_func.
12096 2014-11-14 Yao Qi <yao@codesourcery.com>
12098 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12099 Replace name, low_pc and high_pc with MACRO_AT_func.
12101 2014-11-14 Yao Qi <yao@codesourcery.com>
12103 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12104 produce debug information.
12105 * gdb.dwarf2/implptr-optimized-out.S: Removed.
12107 2014-11-14 Yao Qi <yao@codesourcery.com>
12109 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12110 object and get function length.
12111 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12112 with MACRO_AT_func.
12113 (top-level): Replace gdb_compile and clean_restart with
12114 prepare_for_testing.
12115 * gdb.dwarf2/main.c (main): Add label main_label.
12117 2014-11-14 Yao Qi <yao@codesourcery.com>
12119 * lib/dwarf.exp (function_range): New procedure.
12120 (Dwarf::_handle_macro_at_func): New procedure.
12121 (Dwarf::_handle_macro_at_range): New procedure.
12122 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12124 2014-11-14 Yao Qi <yao@codesourcery.com>
12126 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12127 (_handle_attribute): New procedure.
12129 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12131 * gdb.ada/cond_lang/foo.c (callme): Add return type.
12132 * gdb.base/call-sc.c (zed): Likewise.
12133 * gdb.base/checkpoint.c (main): Likewise.
12134 * gdb.base/dump.c (main): Likewise.
12135 * gdb.base/gcore.c (main): Likewise.
12136 * gdb.base/huge.c (main): Likewise.
12137 * gdb.base/multi-forks.c (main): Likewise.
12138 * gdb.base/pr10179-a.c (main): Likewise.
12139 * gdb.base/savedregs.c (main): Likewise.
12140 * gdb.base/sigaltstack.c (main): Likewise.
12141 * gdb.base/siginfo.c (main): Likewise.
12142 * gdb.base/structs.c (zed): Likewise.
12143 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12144 * gdb.mi/mi-syn-frame.c (main): Likewise.
12145 * gdb.mi/until.c (foo, main): Likewise.
12146 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12147 * gdb.base/solib-weak.c (foo): Declare.
12148 * gdb.base/attach-twice.c: Include stdio.h.
12149 * gdb.base/weaklib1.c: Likewise.
12150 * gdb.base/weaklib2.c: Likewise.
12151 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12152 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12154 * gdb.base/attach-pie-misread.c: Include stdlib.h.
12155 * gdb.mi/mi-exit-code.c: Likewise.
12156 * gdb.base/break-interp-lib.c: Include string.h.
12157 * gdb.base/coremaker.c: Likewise.
12158 * gdb.base/testenv.c: Likewise.
12159 * gdb.python/py-finish-breakpoint.c: Likewise.
12160 * gdb.base/inferior-died.c: Include sys/wait.h.
12161 * gdb.base/fileio.c: Include time.h.
12162 * gdb.base/async-shell.c: Include unistd.h.
12163 * gdb.base/dprintf-non-stop.c: Likewise.
12164 * gdb.base/info-os.c: Likewise.
12165 * gdb.mi/mi-console.c: Likewise.
12166 * gdb.mi/watch-nonstop.c: Likewise.
12167 * gdb.python/py-events.c: Likewise.
12168 * gdb.base/async.c (baz): Move up before its invocation.
12169 * gdb.base/code_elim2.c (my_global_func): Likewise.
12170 * gdb.base/skip-solib-lib.c (multiply): Likewise.
12171 * gdb.base/advance.c (func2): Likewise.
12173 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12175 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12177 * gdb.base/annota3.c: Likewise.
12178 * gdb.base/async.c: Likewise.
12179 * gdb.base/average.c: Likewise.
12180 * gdb.base/call-ar-st.c: Likewise.
12181 * gdb.base/call-rt-st.c: Likewise.
12182 * gdb.base/call-sc.c: Likewise.
12183 * gdb.base/call-strs.c: Likewise.
12184 * gdb.base/ending-run.c: Likewise.
12185 * gdb.base/execd-prog.c: Likewise.
12186 * gdb.base/exprs.c: Likewise.
12187 * gdb.base/foll-exec.c: Likewise.
12188 * gdb.base/foll-fork.c: Likewise.
12189 * gdb.base/foll-vfork.c: Likewise.
12190 * gdb.base/funcargs.c: Likewise.
12191 * gdb.base/gcore.c: Likewise.
12192 * gdb.base/jump.c: Likewise.
12193 * gdb.base/langs0.c: Likewise.
12194 * gdb.base/langs1.c: Likewise.
12195 * gdb.base/langs2.c: Likewise.
12196 * gdb.base/mips_pro.c: Likewise.
12197 * gdb.base/nodebug.c: Likewise.
12198 * gdb.base/opaque0.c: Likewise.
12199 * gdb.base/opaque1.c: Likewise.
12200 * gdb.base/recurse.c: Likewise.
12201 * gdb.base/run.c: Likewise.
12202 * gdb.base/scope0.c: Likewise.
12203 * gdb.base/scope1.c: Likewise.
12204 * gdb.base/setshow.c: Likewise.
12205 * gdb.base/setvar.c: Likewise.
12206 * gdb.base/shmain.c: Likewise.
12207 * gdb.base/shr1.c: Likewise.
12208 * gdb.base/shr2.c: Likewise.
12209 * gdb.base/sigall.c: Likewise.
12210 * gdb.base/signals.c: Likewise.
12211 * gdb.base/so-indr-cl.c: Likewise.
12212 * gdb.base/solib2.c: Likewise.
12213 * gdb.base/structs.c: Likewise.
12214 * gdb.base/sum.c: Likewise.
12215 * gdb.base/vforked-prog.c: Likewise.
12216 * gdb.base/watchpoint.c: Likewise.
12217 * gdb.reverse/shr2.c: Likewise.
12218 * gdb.reverse/until-reverse.c: Likewise.
12219 * gdb.reverse/ur1.c: Likewise.
12220 * gdb.reverse/watch-reverse.c: Likewise.
12222 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12224 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12226 * gdb.base/sepdebug.exp: Drop references to removed code.
12228 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12230 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12231 variant. Preserve original line numbering.
12232 * gdb.base/list1.c: Likewise.
12234 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12236 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12238 * gdb.base/break1.c: Likewise.
12239 * gdb.base/break.exp: Drop references to removed code.
12241 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12243 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12246 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12248 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12250 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12252 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
12253 logic into perform_all_tests() and invoke it with and without
12254 function header prototypes.
12255 (do_function_calls): Remove conditional XFAIL for PR 5318.
12256 (rerun_and_prepare): Remove duplicate code.
12257 (perform_all_tests): New. Main logic moved here.
12259 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12261 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12262 code guarded by #ifdef NO_PROTOTYPES.
12263 (t_double_many_args): Likewise.
12264 (DEF_FUNC_MANY_ARGS_1): Likewise.
12265 (DEF_FUNC_VALUES_1): Likewise.
12266 (t_structs_ldc): Renamed from t_structs_fc in conditional code
12267 guarded by #ifdef PROTOTYPES.
12269 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12271 * gdb.mi/mi-console.c: Add eye-catcher.
12272 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12273 instead of literal line number.
12275 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12277 * gdb.base/shr2.c: Add eye-catcher.
12278 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12281 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12283 * gdb.base/jump.c: Add eye-catchers.
12284 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12287 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12289 * gdb.base/execd-prog.c: Add eye-catchers.
12290 * gdb.base/foll-exec.c: Likewise.
12291 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12294 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12296 * gdb.base/ending-run.c: Add eye-catchers.
12297 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12298 literal line numbers.
12300 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12302 * gdb.base/call-rt-st.c: Add eye-catchers.
12303 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12304 literal line numbers.
12306 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12308 * gdb.base/call-ar-st.c: Add eye-catchers.
12309 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12310 literal line numbers.
12312 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12314 * gdb.base/average.c: Add eye-catchers.
12315 * gdb.base/sum.c: Likewise.
12316 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12317 regexps dynamically.
12319 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12321 * gdb.base/solib1.c: Add eye-catchers.
12322 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12323 literal line numbers.
12325 2014-11-12 Pedro Alves <palves@redhat.com>
12327 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12330 2014-11-12 Pedro Alves <palves@redhat.com>
12332 * gdb.arch/i386-bp_permanent.c: New file.
12333 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12334 (srcfile): Set to i386-bp_permanent.c.
12335 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
12336 that stepi does not execute the 'leave' instruction, instead of
12337 testing it does execute.
12338 * gdb.base/bp-permanent.c: New file.
12339 * gdb.base/bp-permanent.exp: New file.
12341 2014-11-10 Doug Evans <xdje42@gmail.com>
12344 * gdb.base/symtab-search-order.exp: New file.
12345 * gdb.base/symtab-search-order.c: New file.
12346 * gdb.base/symtab-search-order-1.c: New file.
12347 * gdb.base/symtab-search-order-shlib-1.c: New file.
12349 2014-11-07 Pedro Alves <palves@redhat.com>
12352 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12355 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
12358 * gdb.cp/pr17494.cc: New file.
12359 * gdb.cp/pr17494.exp: New file.
12361 2014-11-02 Yao Qi <yao@codesourcery.com>
12363 * gdb.python/python.exp: Get working directory and match the
12364 output of "set extended-prompt \\w " with it.
12366 2014-10-30 Doug Evans <dje@google.com>
12368 * gdb.python/py-objfile.exp: Add tests for setting random attributes
12370 * gdb.python/py-progspace.exp: Add tests for setting random attributes
12373 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
12375 * gdb.base/fullpath-expand.exp: Skip for a remote host.
12376 * gdb.base/realname-expand.exp: Likewise.
12377 * gdb.linespec/macro-relative.exp: Likewise.
12379 2014-10-29 Pedro Alves <palves@redhat.com>
12382 * gdb.threads/schedlock.c (some_function): New function.
12383 (call_function): New global.
12384 (MAYBE_CALL_SOME_FUNCTION): New macro.
12385 (thread_function): Call it.
12386 * gdb.threads/schedlock.exp (get_args): Add description parameter,
12387 and use it instead of a global counter. Adjust all callers.
12388 (get_current_thread): Use "find current thread" for test message
12389 here rather than having all callers pass down the same string.
12390 (goto_loop): New procedure, factored out from ...
12391 (my_continue): ... this.
12392 (step_ten_loops): Change parameter from test message to command to
12394 (list_count): Delete global.
12395 (check_result): New procedure, factored out from duplicate top
12397 (continue tests): Wrap in with_test_prefix.
12398 (test_step): New procedure, factored out from duplicate top level
12400 (top level): Test "step" in combination with all scheduler-locking
12401 modes. Test "next" in combination with all scheduler-locking
12402 modes, and in combination with stepping over a function call or
12404 * gdb.threads/next-bp-other-thread.c: New file.
12405 * gdb.threads/next-bp-other-thread.exp: New file.
12407 2014-10-29 Pedro Alves <palves@redhat.com>
12410 * gdb.python/python.exp: Test a multi-line command that spawns
12411 interactive Python.
12412 * gdb.base/multi-line-starts-subshell.exp: New file.
12414 2014-10-29 Yao Qi <yao@codesourcery.com>
12416 * gdb.base/fileio.exp: Make directories on host.
12418 2014-10-29 Yao Qi <yao@codesourcery.com>
12420 * gdb.base/fileio.c (test_write): Close the file.
12422 2014-10-28 Pedro Alves <palves@redhat.com>
12425 * gdb.base/sigstep.c (no_handler): New global.
12426 (main): If 'no_handler is true, set the signal handlers to
12428 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12429 with_sw_watch and no_handler parameters. Handle them.
12430 (top level) <stepping over handler when stopped at a breakpoint
12431 test>: Add a test axis for testing with a software watchpoint, and
12432 another for testing with the signal handler set to SIG_IGN.
12433 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12434 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12436 2014-10-28 Pedro Alves <palves@redhat.com>
12439 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12440 * gdb.base/sigstep.exp (other_handler_location): New global.
12441 (advance): Support stepping into the signal handler, and running
12442 commands while in the handler.
12443 (in_handler_map): New global.
12444 (top level): In the advance test, add combinations for getting
12445 into the handler with stepping commands, and for running commands
12446 in the handler. Add comment descripting the advancei tests.
12448 2014-10-28 Pedro Alves <palves@redhat.com>
12450 * gdb.base/sigstep.exp: Use build_executable instead of
12451 prepare_for_testing.
12452 (top level): Move code that starts GDB, runs to main and creates a
12454 (restart): ... this new procedure.
12455 (top level): Move backtrace from signal handler test to ...
12456 (validate_backtrace): ... this new procedure.
12457 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
12458 with_test_prefix. Always restart GDB.
12459 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
12460 with_test_prefix. Always restart GDB. No need to delete
12461 breakpoints after the test.
12462 (test_skip_handler): Remove prefix parameter.
12463 (skip_over_handler, breakpoint_to_handler)
12464 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12465 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
12466 restart GDB. No need to delete breakpoints after the test.
12467 (top level): Use foreach to call the test procedures with
12468 different commands.
12470 2014-10-28 Pedro Alves <palves@redhat.com>
12472 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12473 instead of GNATS numbers.
12474 * gdb.base/sigbpt.exp: Likewise.
12475 * gdb.base/siginfo.exp: Likewise.
12476 * gdb.base/sigstep.exp: Likewise.
12478 2014-10-27 Pedro Alves <palves@redhat.com>
12480 * gdb.base/sigstep.c (dummy): New global.
12481 (main): Issue a couple writes to the new global.
12482 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12484 (skip_over_handler): Use test_skip_handler.
12485 (top level): Call skip_over_handler for stepi and nexti too.
12486 (breakpoint_over_handler): Use test_skip_handler.
12487 (top level): Call breakpoint_over_handler for stepi and nexti too.
12489 2014-10-27 Yao Qi <yao@codesourcery.com>
12491 * gdb.trace/tfile.c (adjust_function_address)
12492 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12493 function descriptor.
12495 2014-10-24 Don Breazeal <donb@codesourcery.com>
12497 * gdb.base/foll-fork.exp (test_follow_fork,
12498 catch_fork_child_follow): Check for updated fork messages emitted
12500 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12501 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12502 vfork_and_exec_child_follow_through_step): Check for updated vfork
12503 messages emitted from infrun.c.
12505 2014-10-24 Pedro Alves <palves@redhat.com>
12507 * gdb.base/corefile.exp: Remove references to ultrix.
12508 * gdb.base/interrupt.exp: Likewise.
12509 * gdb.base/whatis.exp: Likewise.
12510 * gdb.gdb/selftest.exp: Likewise.
12511 * gdb.threads/manythreads.exp: Likewise.
12512 * gdb.threads/print-threads.exp: Likewise.
12513 * gdb.threads/pthreads.exp:: Likewise.
12514 * gdb.threads/schedlock.exp: Likewise.
12516 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
12518 * gdb.cp/non-trivial-retval.cc: Add a test case.
12519 * gdb.cp/non-trivial-retval.exp: Add a test.
12521 2014-10-20 Yao Qi <yao@codesourcery.com>
12523 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12524 * gdb.python/py-objfile-script-gdb.py: New file.
12525 * gdb.python/py-objfile-script.exp: Update reference to
12526 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
12527 of remote_download. Remove the dest file.
12529 2014-10-20 Yao Qi <yao@codesourcery.com>
12531 * gdb.base/checkpoint.exp: Don't remove file copied on host.
12532 * gdb.base/step-line.exp: Likewise.
12533 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12534 * gdb.dwarf2/dw2-basic.exp: Likewise.
12535 * gdb.dwarf2/dw2-compressed.exp: Likewise.
12536 * gdb.dwarf2/dw2-filename.exp: Likewise.
12537 * gdb.dwarf2/dw2-intercu.exp: Likewise.
12538 * gdb.dwarf2/dw2-intermix.exp: Likewise.
12539 * gdb.dwarf2/dw2-producer.exp: Likewise.
12540 * gdb.dwarf2/mac-fileno.exp: Likewise.
12541 * gdb.python/py-frame-args.exp: Likewise.
12542 * gdb.python/py-framefilter.exp: Likewise.
12543 * gdb.python/py-mi.exp: Likewise.
12544 * gdb.python/py-objfile-script.exp: Likewise
12545 * gdb.python/py-pp-integral.exp: Likewise.
12546 * gdb.python/py-pp-re-notag.exp: Likewise.
12547 * gdb.python/py-prettyprint.exp: Likewise.
12548 * gdb.python/py-section-script.exp: Likewise.
12549 * gdb.python/py-typeprint.exp: Likewise.
12550 * gdb.python/py-xmethods.exp: Likewise.
12551 * gdb.stabs/weird.exp: Likewise.
12552 * gdb.xml/tdesc-regs.exp: Likewise.
12554 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
12556 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12557 (out_cu): Use addr_len for the size of addresses.
12558 (out_line): Likewise. Size DW_LNE_set_address instruction
12559 according to addr_len.
12560 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12561 (FUNC): Add START_INSNS to definition.
12563 2014-10-18 Yao Qi <yao@codesourcery.com>
12565 * gdb.base/argv0-symlink.exp: Check argv[0] value if
12566 gdb_has_argv0 return true.
12567 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12568 check [target_info exists noargs], check [gdb_has_argv0]
12570 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12571 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12574 2014-10-17 Doug Evans <dje@google.com>
12576 * gdb.python/py-events.exp: Update expected output for clear_objfiles
12578 * gdb.python/py-events.py: Add clear_objfiles event.
12580 2014-10-17 Doug Evans <dje@google.com>
12582 * gdb.python/py-objfile.exp: Test progspace attribute.
12584 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
12586 * gdb.guile/scm-breakpoint.exp: Do not assume any
12587 directory separators when matching source file paths.
12588 * gdb.python/py-breakpoint.exp: Likewise.
12589 * gdb.reverse/break-precsave.exp: Likewise.
12590 * gdb.reverse/break-reverse.exp: Likewise.
12591 * gdb.reverse/consecutive-precsave.exp: Likewise.
12592 * gdb.reverse/finish-precsave.exp: Likewise.
12593 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12594 * gdb.reverse/finish-reverse.exp: Likewise.
12595 * gdb.reverse/i386-precsave.exp: Likewise.
12596 * gdb.reverse/i387-env-reverse.exp: Likewise.
12597 * gdb.reverse/i387-stack-reverse.exp: Likewise.
12598 * gdb.reverse/machinestate-precsave.exp: Likewise.
12599 * gdb.reverse/machinestate.exp: Likewise.
12600 * gdb.reverse/sigall-precsave.exp: Likewise.
12601 * gdb.reverse/solib-precsave.exp: Likewise.
12602 * gdb.reverse/step-precsave.exp: Likewise.
12603 * gdb.reverse/until-precsave.exp: Likewise.
12604 * gdb.reverse/watch-precsave.exp: Likewise.
12605 * gdb.reverse/watch-reverse.exp: Likewise.
12607 2014-10-17 Yao Qi <yao@codesourcery.com>
12609 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12610 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12612 2014-10-17 Pedro Alves <palves@redhat.com>
12615 * gdb.base/bg-execution-repeat.c: New file.
12616 * gdb.base/bg-execution-repeat.exp: New file.
12618 2014-10-17 Pedro Alves <palves@redhat.com>
12621 * gdb.base/continue-all-already-running.c: New file.
12622 * gdb.base/continue-all-already-running.exp: New file.
12624 2014-10-17 Pedro Alves <palves@redhat.com>
12627 * gdb.base/annota-input-while-running.c: New file.
12628 * gdb.base/annota-input-while-running.exp: New file.
12630 2014-10-17 Pedro Alves <palves@redhat.com>
12632 * gdb.base/callfuncs.exp: emove references to osf.
12633 * gdb.base/sigall.exp: Likewise.
12634 * gdb.gdb/selftest.exp: Likewise.
12635 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12636 * gdb.mi/non-stop.c: Likewise.
12637 * gdb.mi/pthreads.c: Likewise.
12638 * gdb.reverse/sigall-precsave.exp: Likewise.
12639 * gdb.reverse/sigall-reverse.exp: Likewise.
12640 * gdb.threads/pthreads.c: Likewise.
12641 * gdb.threads/pthreads.exp: Likewise.
12643 2014-10-17 Yao Qi <yao@codesourcery.com>
12645 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12646 check 'target_info exists noargs'.
12647 (test_command_prompt_position): Likewise.
12648 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12650 (progvar_simple_while_test): Likewise.
12651 (progvar_complex_if_while_test): Likewise.
12652 (if_while_breakpoint_command_test): Likewise.
12653 (infrun_breakpoint_command_test): Likewise.
12654 (breakpoint_command_test): Likewise.
12655 (watchpoint_command_test): Likewise.
12656 (bp_deleted_in_command_test): Likewise.
12657 (temporary_breakpoint_commands): Likewise.
12659 2014-10-16 Yao Qi <yao@codesourcery.com>
12661 * gdb.base/remotetimeout.exp: Remove noargs checking.
12663 2014-10-15 Pedro Alves <palves@redhat.com>
12665 PR breakpoints/9649
12666 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12667 * gdb.base/breakpoint-in-ro-region.exp
12668 (probe_target_hardware_step): New procedure.
12669 (top level): Probe hardware stepping and hardware breakpoint
12670 support. Test stepping through a read-only region, with both
12671 "breakpoint auto-hw" on and off and both "always-inserted" on and
12674 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
12676 * gdb.dlang/demangle.exp: Update for demangling changes.
12678 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12680 * gdb.cp/non-trivial-retval.cc: Add new test cases.
12681 * gdb.cp/non-trivial-retval.exp: Add new tests.
12683 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12687 * gdb.cp/non-trivial-retval.cc: New file.
12688 * gdb.cp/non-trivial-retval.exp: New file.
12690 2014-10-15 Yao Qi <yao@codesourcery.com>
12692 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12695 2014-10-15 Yao Qi <yao@codesourcery.com>
12697 * gdb.python/py-symbol.exp: Match file base name if host is
12698 remote, otherwise match file name with dir name.
12699 * gdb.python/py-symtab.exp: Likewise.
12700 * gdb.python/python.exp: Likewise.
12702 2014-10-15 Yao Qi <yao@codesourcery.com>
12704 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12706 * gdb.python/py-symtab.exp: Likewise.
12707 * gdb.python/python.exp: Remove trailing ".*". Fix typo
12710 2014-10-14 Joel Brobecker <brobecker@adacore.com>
12712 * gdb.ada/addr_arith: New testcase.
12714 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
12716 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12717 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12718 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12719 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12721 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
12723 * gdb.arch/stap-eval-lang-ada.S: Likewise.
12724 * gdb.arch/stap-eval-lang-ada.c: Likewise.
12725 * gdb.arch/stap-eval-lang-ada.exp: New file.
12727 2014-10-14 Yao Qi <yao@codesourcery.com>
12729 * gdb.mi/mi-var-child.c (nothing1): New function.
12730 (nothing2): New function.
12731 (do_children_tests): Set function pointers by nothing1 and
12733 * gdb.mi/mi-var-child.exp: Step over new added statements.
12734 Update test to match the new output.
12735 * gdb.mi/var-cmd.c (nothing1): New function.
12736 (nothing2): New function.
12737 (do_children_tests): Set function pointers by nothing1 and
12739 * gdb.mi/mi-var-display.exp: Update test to match output.
12740 Step to the line specified by $line_dct_nothing.
12741 Increase the number of lines to step.
12743 2014-10-14 Yao Qi <yao@codesourcery.com>
12745 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12747 * gdb.mi/mi2-var-child.exp: Likewise.
12749 2014-10-13 Doug Evans <dje@google.com>
12751 * gdb.python/py-objfile.exp: Change name of file name test.
12753 2014-10-13 Doug Evans <dje@google.com>
12755 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12756 from the start of the CU.
12758 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12759 Yao Qi <yao@codesourcery.com>
12761 Fix "save breakpoints" for "catch" command.
12762 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12763 Remove -nonewline. Match also the added "main" line.
12765 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12767 Fix "save breakpoints" for "disable $bpnum" command.
12768 * gdb.base/save-bp.c (main): Add label.
12769 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
12771 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12773 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12775 2014-10-11 Yao Qi <yao@codesourcery.com>
12777 * gdb.server/server-kill.exp: Execute command
12778 "set remote trace-status-packet on" before "tstatus".
12780 2014-10-11 Yao Qi <yao@codesourcery.com>
12782 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12783 (main): Call getppid.
12784 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12785 and continue to it. Read variable "server_pid".
12787 2014-10-11 Yao Qi <yao@codesourcery.com>
12789 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12791 2014-10-11 Yao Qi <yao@codesourcery.com>
12793 * gdb.threads/thread-find.exp: Don't execute command
12795 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12796 * gdb.threads/linux-dp.exp: Don't check the condition
12797 $threads_created equals to zero.
12799 2014-10-10 Pedro Alves <palves@redhat.com>
12801 * gdb.base/bigcore.exp: Remove references to IRIX.
12802 * gdb.base/funcargs.exp: Likewise.
12803 * gdb.base/interrupt.exp: Likewise.
12804 * gdb.base/mips_pro.exp: Likewise.
12805 * gdb.base/nodebug.exp: Likewise.
12806 * gdb.base/setvar.exp: Likewise.
12807 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12809 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12810 Pedro Alves <palves@redhat.com>
12813 * gdb.base/vdso-warning.c: New file.
12814 * gdb.base/vdso-warning.exp: New file.
12816 2014-10-02 Doug Evans <dje@google.com>
12818 * gdb.base/structs.c (main): Don't run forever.
12820 2014-10-02 Pedro Alves <palves@redhat.com>
12822 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12823 (top level) <stop threads 1, stop threads 2>: Use it.
12825 2014-10-02 Pedro Alves <palves@redhat.com>
12827 * gdb.threads/break-while-running.exp (test): Add new
12828 'update_thread_list' argument. Skip "info threads" if false.
12829 (top level): Add new 'update_thread_list' axis.
12831 2014-10-02 Pedro Alves <palves@redhat.com>
12833 PR breakpoints/17431
12834 * gdb.base/execl-update-breakpoints.c: New file.
12835 * gdb.base/execl-update-breakpoints.exp: New file.
12837 2014-10-01 Pedro Alves <palves@redhat.com>
12839 * gdb.base/breakpoint-in-ro-region.c: New file.
12840 * gdb.base/breakpoint-in-ro-region.exp: New file.
12842 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
12844 * gdb.mi/mi-exit-code.exp: New file.
12845 * gdb.mi/mi-exit-code.c: New file.
12847 2014-09-30 Yao Qi <yao@codesourcery.com>
12849 * lib/prelink-support.exp (build_executable_own_libs): Error if
12850 the target isn't native.
12852 2014-09-30 Yao Qi <yao@codesourcery.com>
12854 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12857 2014-09-22 Pedro Alves <palves@redhat.com>
12859 * gdb.threads/break-while-running.exp: New file.
12860 * gdb.threads/break-while-running.c: New file.
12862 2014-09-19 Yao Qi <yao@codesourcery.com>
12864 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12865 Invoke test. Restart GDB with --readnow and invoke test again.
12867 2014-09-19 Yao Qi <yao@codesourcery.com>
12869 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12870 proc set_breakpoint_on_gcd_function. Invoke
12871 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12872 invoke set_breakpoint_on_gcd_function again.
12874 2014-09-18 Doug Evans <dje@google.com>
12876 * gdb.dwarf2/symtab-producer.exp: New file.
12878 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12880 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12881 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12882 * gdb.base/global-var-nested-by-dso.c: Likewise.
12883 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12885 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12886 Pedro Alves <palves@redhat.com>
12888 * gdb.base/watch-bitfields.exp: Pass string other than test file
12889 name to prepare_for_testing.
12890 (watch): New procedure.
12891 (expect_watchpoint): Use with_test_prefix.
12892 (top level): Factor out tests to ...
12893 (test_watch_location, test_regular_watch): ... these new
12894 procedures, and use with_test_prefix and gdb_continue_to_end.
12896 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12898 PR breakpoints/12526
12899 * gdb.base/watch-bitfields.exp: New file.
12900 * gdb.base/watch-bitfields.c: New file.
12902 2014-09-16 Pedro Alves <palves@redhat.com>
12904 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12905 software and hardware addresses, not software address against
12908 2014-09-16 Pedro Alves <palves@redhat.com>
12910 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12911 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12913 2014-09-16 Pedro Alves <palves@redhat.com>
12915 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12917 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12918 "*-*-vxworks*" throughout.
12919 * gdb.base/break.exp: Likewise.
12920 * gdb.base/default.exp: Likewise.
12921 * gdb.base/scope.exp: Likewise.
12922 * gdb.base/sepdebug.exp: Likewise.
12923 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12925 * gdb.base/run.c: Likewise.
12926 * gdb.base/sepdebug.c: Likewise.
12927 * gdb.hp/gdb.aCC/run.c: Likewise.
12928 * gdb.reverse/until-reverse.c: Likewise.
12929 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12931 2014-09-16 Yao Qi <yao@codesourcery.com>
12933 * boards/local-remote-host-native.exp: New file.
12935 2014-09-14 Doug Evans <xdje42@gmail.com>
12937 * gdb.threads/queue-signal.c (thread_count): New variable.
12938 (thread_count_mutex, thread_count_condvar): New variables.
12939 (incr_thread_count, wait_all_threads_running): New functions.
12940 (main): Wait for all threads to be in their thread functions.
12942 2014-09-13 Doug Evans <xdje42@gmail.com>
12944 * gdb.threads/queue-signal.c: New file.
12945 * gdb.threads/queue-signal.exp: New file.
12947 2014-09-13 Doug Evans <xdje42@gmail.com>
12949 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12950 be consistent with what default_gdb_init uses.
12951 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12952 the plain text of the prompt. Add some logging printfs.
12953 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12955 2014-09-12 Pedro Alves <palves@redhat.com>
12957 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12958 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12959 * gdb.arch/i386-size-overlap.exp: Likewise.
12960 * gdb.arch/i386-size.exp: Likewise.
12961 * gdb.arch/i386-unwind.exp: Likewise.
12962 * gdb.base/a2-run.exp: Likewise.
12963 * gdb.base/break.exp: Likewise.
12964 * gdb.base/charset.exp: Likewise.
12965 * gdb.base/chng-syms.exp: Likewise.
12966 * gdb.base/commands.exp: Likewise.
12967 * gdb.base/dbx.exp: Likewise.
12968 * gdb.base/find.exp: Likewise.
12969 * gdb.base/funcargs.exp: Likewise.
12970 * gdb.base/jit-simple.exp: Likewise.
12971 * gdb.base/reread.exp: Likewise.
12972 * gdb.base/sepdebug.exp: Likewise.
12973 * gdb.base/step-bt.exp: Likewise.
12974 * gdb.cp/mb-inline.exp: Likewise.
12975 * gdb.cp/mb-templates.exp: Likewise.
12976 * gdb.objc/basicclass.exp: Likewise.
12977 * gdb.threads/killed.exp: Likewise.
12979 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12982 * gdb.arch/powerpc-stackless.S: New file.
12983 * gdb.arch/powerpc-stackless.exp: New file.
12985 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12987 * gdb.base/attach.c: Include unistd.h.
12988 (main): Call alarm. Add label postloop.
12989 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12990 gdb_breakpoint, gdb_continue_to_breakpoint.
12991 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12993 2014-09-11 Pedro Alves <palves@redhat.com>
12996 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12997 * gdb.base/attach.exp (test_command_line_attach_run): New
12999 (top level): Call it.
13001 2014-09-11 Pedro Alves <palves@redhat.com>
13003 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13004 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13005 (do_command_attach_tests): Use spawn_wait_for_attach.
13006 * gdb.base/solib-overlap.exp: Likewise.
13007 * gdb.multi/multi-attach.exp: Likewise.
13008 * gdb.python/py-prompt.exp: Likewise.
13009 * gdb.python/py-sync-interp.exp: Likewise.
13010 * gdb.server/ext-attach.exp: Likewise.
13012 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
13014 * gdb.fortran/array-element.exp: Remove unexpected "continue"
13015 command in testcase. Simplify testcase.
13017 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13019 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13021 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13023 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13025 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13027 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13029 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13031 * gdb.dwarf2/dynarr-ptr.c: New file.
13032 * gdb.dwarf2/dynarr-ptr.exp: New file.
13034 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13036 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13037 of 30 rather than hardcoding 120 for a slow test case. Take the
13038 `gdb,timeout' target setting into account for this calculation.
13039 Don't extend the timeout for the test cases that don't need it.
13041 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13043 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13044 a factor of 2 for a slow test case. Take the `gdb,timeout'
13045 target setting into account for this calculation.
13046 * gdb.reverse/until-precsave.exp: Increase the timeout by
13047 a factor of 15 and 3 respectively rather than adding 120
13048 for a pair of slow test cases. Take the `gdb,timeout'
13049 target setting into account for this calculation.
13051 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13053 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13054 timeout, don't pass one down to gdb_expect.
13055 (gdb_expect): Rework timeout selection.
13057 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13059 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13060 exception on timeout.
13061 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13062 (gdbserver_start_extended): Catch any `gdbserver_start' error
13064 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13065 * lib/mi-support.exp (mi_gdb_target_load): Catch any
13066 `gdbserver_gdb_load' error exceptions.
13068 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13070 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13071 120 on waiting for the TCP socket to open.
13073 2014-09-09 Doug Evans <xdje42@gmail.com>
13075 * gdb.base/default.exp (show_conv_list): Add _caller_is,
13076 _caller_matches, _any_caller_is, _any_caller_matches.
13078 2014-09-09 Doug Evans <xdje42@gmail.com>
13080 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13082 2014-09-09 Yao Qi <yao@codesourcery.com>
13084 * gdb.mi/mi-var-display.exp: Set print symbol off.
13086 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
13089 * gdb.base/commands.exp: Add tests to verify user-defined
13090 commands with empty bodies.
13091 * gdb.python/py-cmd.exp: Test that we don't show user-defined
13092 python commands in `show user command`.
13093 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13094 scheme commands in `show user command`.
13096 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13099 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13100 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13101 * gdb.python/py-framefilter-invalidarg.exp: New file.
13102 * gdb.python/py-framefilter-invalidarg.py: New file.
13104 2014-09-06 Doug Evans <xdje42@gmail.com>
13107 * gdb.python/py-caller-is.c: New file.
13108 * gdb.python/py-caller-is.exp: New file.
13110 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
13113 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13114 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13116 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
13119 * gdb.fortran/print-formatted.exp: New file.
13120 * gdb.fortran/print-formatted.f90: Likewise.
13122 2014-09-03 Sasha Smundak <asmundak@google.com>
13124 * gdb.python/py-frame.exp: Test Frame.read_register.
13126 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
13129 * gdb.python/py-completion.exp: New file.
13130 * gdb.python/py-completion.py: Likewise.
13132 2014-08-28 Doug Evans <dje@google.com>
13134 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13135 eax,etc. are live with values set by gdb and thus the compiler can't
13137 * gdb.arch/i386-pseudo.c (main): Ditto.
13139 2014-08-27 Doug Evans <dje@google.com>
13141 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13143 2014-08-25 Doug Evans <dje@google.com>
13145 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13148 2014-08-25 Doug Evans <dje@google.com>
13150 * gdb.threads/thread-execl.exp: #include <stdio.h>.
13152 2014-08-24 Yao Qi <yao@codesourcery.com>
13154 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13156 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13158 2014-08-22 Doug Evans <dje@google.com>
13161 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13162 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13163 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13165 2014-08-22 Yao Qi <yao@codesourcery.com>
13167 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13168 * gdb.python/py-finish-breakpoint2.exp: Likewise.
13169 * gdb.python/python.exp: Likewise. Use .py file on the host
13170 instead of the build.
13172 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13174 * gdb.threads/gcore-stale-thread.c: New file.
13175 * gdb.threads/gcore-stale-thread.exp: New file.
13177 2014-08-21 Pedro Alves <palves@redhat.com>
13179 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13180 * gdb.base/gcore-relro-pie.exp: Likewise.
13181 * gdb.base/gcore-relro.exp: Likewise.
13182 * gdb.base/gcore.exp: Likewise.
13183 * gdb.base/print-symbol-loading.exp: Likewise.
13184 * gdb.threads/gcore-thread.exp: Likewise.
13185 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13187 2014-08-20 Pedro Alves <palves@redhat.com>
13188 Jan Kratochvil <jan.kratochvil@redhat.com>
13190 * Makefile.in (EXTRA_RULES, CC): New variables, get from
13192 (EXPECT): Handle READ1 being set.
13193 (all): Depend on EXTRA_RULES.
13194 (check-read1, expect-read1, read1.so, read1): New rules.
13195 * README (Testsuite Parameters): Document the READ1 make variable.
13196 (Race detection): New section.
13197 * configure: Regenerate.
13198 * configure.ac: If build==host==target, and running under a
13199 GNU/glibc system, add read1 to the extra Makefile rules.
13200 (EXTRA_RULES): AC_SUBST it.
13201 * lib/read1.c: New file.
13203 2014-08-20 Joel Brobecker <brobecker@adacore.com>
13205 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13206 the handling of variables declared as a typedef to an array
13207 which a DW_AT_data_location attribute.
13209 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
13210 Pedro Alves <palves@redhat.com>
13214 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13217 2014-08-19 Pedro Alves <palves@redhat.com>
13219 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13221 2014-08-19 Yao Qi <yao@codesourcery.com>
13223 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13226 2014-08-18 David Blaikie <dblaikie@gmail.com>
13228 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13230 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13232 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13233 attribute in array range.
13235 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13237 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13239 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13242 * gdb.cp/pr17132.cc: New file.
13243 * gdb.cp/pr17132.exp: New file.
13245 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13247 * gdb.python/py-xmethods.py (A_getarrayind)
13248 (E_method_char_worker.__call__, E_method_int_worker.__call__):
13249 Use 'print' with function call syntax.
13250 (E_method_matcher.match): Fix tab vs space indentation mixup.
13252 2014-08-15 Yao Qi <yao@codesourcery.com>
13254 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13257 2014-08-15 Yao Qi <yao@codesourcery.com>
13259 * gdb.cp/casts.exp: Set print symbol off.
13260 * gdb.cp/class2.exp: Likewise.
13261 * gdb.cp/overload.exp: Likewise.
13262 * gdb.cp/templates.exp: Likewise.
13264 2014-08-11 Doug Evans <dje@google.com>
13266 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13267 (test_load_shlib): Update.
13269 2014-08-09 Yao Qi <yao@codesourcery.com>
13271 * gdb.base/display.exp: Invoke is_address_zero_readable.
13272 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13273 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13274 * gdb.base/hbreak-unmapped.exp: Return if
13275 is_address_zero_readable returns true.
13276 * gdb.base/signest.exp: Likewise.
13277 * gdb.base/signull.exp: Likewise.
13278 * gdb.base/sigbpt.exp: Likewise.
13279 * gdb.guile/scm-disasm.exp: Do the test if
13280 is_address_zero_readable returns false.
13281 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13282 * gdb.python/py-arch.exp: Likewise.
13283 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13284 * lib/gdb.exp (is_address_zero_readable): New proc.
13286 2014-08-09 Yao Qi <yao@codesourcery.com>
13289 * gdb.mi/mi-var-display.exp: Make test messages unique.
13291 2014-08-04 Tom Tromey <tromey@redhat.com>
13293 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13296 2014-08-04 Tom Tromey <tromey@redhat.com>
13298 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13301 2014-08-01 Joel Brobecker <brobecker@adacore.com>
13303 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13304 inner_vla_struct_object_size.
13305 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13308 2014-07-30 Pedro Alves <palves@redhat.com>
13310 * gdb.threads/signal-command-handle-nopass.exp (test): Add
13313 2014-07-29 Yao Qi <yao@codesourcery.com>
13316 * gdb.base/until-nodebug.exp: New.
13318 2014-07-28 Doug Evans <xdje42@gmail.com>
13321 * gdb.guile/scm-parameter.exp: Add tests for trying to create
13322 previously existing parameter, and previously ambiguously spelled
13325 2014-07-28 Will Newton <will.newton@linaro.org>
13327 * gdb.base/varargs.exp: Remove KFAILs for ARM.
13329 2014-07-26 Ludovic Courtès <ludo@gnu.org>
13330 Doug Evans <xdje42@gmail.com>
13333 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13335 2014-07-25 Pedro Alves <palves@redhat.com>
13337 * gdb.threads/signal-command-handle-nopass.c: New file.
13338 * gdb.threads/signal-command-handle-nopass.exp: New file.
13339 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13340 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13341 * gdb.threads/signal-delivered-right-thread.c: New file.
13342 * gdb.threads/signal-delivered-right-thread.exp: New file.
13344 2014-07-25 Pedro Alves <palves@redhat.com>
13346 * gdb.base/double-prompt-target-event-error.exp
13347 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13349 (cancel_pagination_in_target_event): Rework double prompt
13351 * gdb.base/paginate-after-ctrl-c-running.exp
13352 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13354 * gdb.base/paginate-bg-execution.exp
13355 (test_bg_execution_pagination_return)
13356 (test_bg_execution_pagination_cancel): Remove '-notransfer
13358 * gdb.base/paginate-execution-startup.exp
13359 (test_fg_execution_pagination_return)
13360 (test_fg_execution_pagination_cancel): Remove '-notransfer
13362 * gdb.base/paginate-inferior-exit.exp
13363 (test_paginate_inferior_exited): Remove '-notransfer <return>'
13365 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13366 * lib/gdb.exp (pagination_prompt): Run text through
13368 (gdb_test_multiple): Match $pagination_prompt instead of
13370 (string_to_regexp): Move to lib/gdb-utils.exp.
13372 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13374 * gdb.arch/amd64-entry-value-paramref.S: New file.
13375 * gdb.arch/amd64-entry-value-paramref.cc: New file.
13376 * gdb.arch/amd64-entry-value-paramref.exp: New file.
13377 * gdb.arch/amd64-optimout-repeat.S: New file.
13378 * gdb.arch/amd64-optimout-repeat.c: New file.
13379 * gdb.arch/amd64-optimout-repeat.exp: New file.
13381 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13384 * gdb.base/statistics.exp: New file.
13386 2014-07-17 Doug Evans <dje@google.com>
13389 * gdb.base/maint.exp: Update testing of per-command stats.
13391 2014-07-16 Pedro Alves <palves@redhat.com>
13393 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13394 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13395 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13396 (tfile_write_buf): New functions.
13397 (add_memory_block): Rewrite using the above.
13398 (adjust_function_address): New function.
13399 (FUNCTION_ADDRESS): New macro.
13400 (write_basic_trace_file): Remove short_x local, and use
13401 tfile_write_16. Change type of func_addr local to unsigned long
13402 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
13403 here. Cast argument of add_memory_block to char pointer.
13404 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
13405 (main): Remove parameters.
13406 * gdb.trace/tfile.exp: Remove nowarnings.
13408 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
13410 * gdb.base/debug-expr.exp: Test string evaluation with
13411 "debug expression" on.
13413 2014-07-15 Pedro Alves <palves@redhat.com>
13415 * gdb.base/reread.exp: Use clean_restart.
13417 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
13419 * gdb.arch/avr-flash-qualifer.c: New.
13420 * gdb.arch/avr-flash-qualifer.exp: New.
13422 2014-07-14 Pedro Alves <palves@redhat.com>
13424 * gdb.base/paginate-after-ctrl-c-running.c: New file.
13425 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13427 2014-07-14 Pedro Alves <palves@redhat.com>
13429 * gdb.base/double-prompt-target-event-error.c: New file.
13430 * gdb.base/double-prompt-target-event-error.exp: New file.
13432 2014-07-14 Pedro Alves <palves@redhat.com>
13435 * gdb.base/paginate-inferior-exit.c: New file.
13436 * gdb.base/paginate-inferior-exit.exp: New file.
13438 2014-07-14 Pedro Alves <palves@redhat.com>
13441 * gdb.base/paginate-bg-execution.c: New file.
13442 * gdb.base/paginate-bg-execution.exp: New file.
13444 2014-07-14 Pedro Alves <palves@redhat.com>
13447 * gdb.base/paginate-execution-startup.c: New file.
13448 * gdb.base/paginate-execution-startup.exp: New file.
13449 * lib/gdb.exp (pagination_prompt): New global.
13450 (default_gdb_spawn): New procedure, factored out from
13452 (default_gdb_start): Adjust to call default_gdb_spawn.
13453 (gdb_spawn): New procedure.
13455 2014-07-14 Pedro Alves <palves@redhat.com>
13457 * lib/gdb.exp (gdb_assert): New procedure.
13458 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13460 2014-07-14 Pedro Alves <palves@redhat.com>
13462 * gdb.base/execution-termios.c: New file.
13463 * gdb.base/execution-termios.exp: New file.
13465 2014-07-14 Tom Tromey <tromey@redhat.com>
13467 * gdb.cp/vla-cxx.cc: New file.
13468 * gdb.cp/vla-cxx.exp: New file.
13470 2014-07-14 Tom Tromey <tromey@redhat.com>
13472 * gdb.reverse/rerun-prec.c: New file.
13473 * gdb.reverse/rerun-prec.exp: New file.
13475 2014-07-12 Maciej W. Rozycki <macro@mips.com>
13476 Maciej W. Rozycki <macro@codesourcery.com>
13478 * lib/gdb-utils.exp: New file.
13479 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13480 inline `gdb_init_command' processing.
13481 (gdb_start_cmd): Likewise.
13482 * lib/mi-support.exp (mi_run_cmd): Likewise.
13483 * README: Document `gdb_init_command' and `gdb_init_commands'.
13485 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13487 Fix false FAIL running under a very long directory name.
13488 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13489 and "set print elements 10000". Twice.
13491 2014-07-11 Yao Qi <yao@codesourcery.com>
13493 * gdb.base/exprs.exp: "set print symbol off".
13495 2014-07-11 Pedro Alves <palves@redhat.com>
13497 * gdb.threads/kill.c: New file.
13498 * gdb.threads/kill.exp: New file.
13500 2014-07-10 Yao Qi <yao@codesourcery.com>
13502 * gdb.trace/tfile.c (write_basic_trace_file)
13503 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13504 address written to trace file.
13506 2014-07-09 Pedro Alves <palves@redhat.com>
13508 * gdb.base/attach-wait-input.exp: New file.
13509 * gdb.base/attach-wait-input.c: New file.
13511 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
13513 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13514 setting up test structures.
13515 (main): Call new test function.
13516 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13517 test function, continue into test function and walk test
13520 2014-07-02 Yao Qi <yao@codesourcery.com>
13522 * gdb.trace/entry-values.c: Define labels 'foo_start' and
13523 'bar_start' at the beginning of functions 'foo' and 'bar'
13525 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13526 instead of 'foo' and 'bar'.
13528 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
13530 * gdb.btrace/segv.exp: New.
13531 * gdb.btrace/segv.c: New.
13533 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
13535 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13538 2014-06-30 Mark Wielaard <mjw@redhat.com>
13540 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13541 vulture, vilify, villar): New volatile array constants.
13542 (vindictive, vegetation): New const volatile array constants.
13543 * gdb.base/volatile.exp: Test volatile and const volatile array
13546 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13548 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13549 target lacks support for awatch, rwatch, or hbreak.
13551 2014-06-27 Yao Qi <yao@codesourcery.com>
13553 * gdb.multi/dummy-frame-restore.exp: New.
13554 * gdb.multi/dummy-frame-restore.c: New.
13556 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
13558 * gdb.btrace/gcore.exp: New.
13560 2014-06-23 Pedro Alves <palves@redhat.com>
13562 * gdb.base/watchpoint-reuse-slot.c: New file.
13563 * gdb.base/watchpoint-reuse-slot.exp: New file.
13565 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
13567 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13568 progspace's filename in 'info', 'enable' and 'disable' command
13571 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13573 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13574 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13575 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13577 2014-06-20 Gary Benson <gbenson@redhat.com>
13579 * gdb.arch/i386-avx.exp: Fix include file location.
13580 * gdb.arch/i386-sse.exp: Likewise.
13582 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
13584 * gdb.dlang/expression.exp: New file.
13586 2014-06-19 Pedro Alves <palves@redhat.com>
13588 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13590 (top level): ... here. Iterate running tests under different
13591 scheduler-locking settings.
13593 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
13595 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13596 to DW_FORM_addr and use non-zero addresses.
13598 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
13601 * gdb.python/py-xmethods.cc: Add global function call counters and
13602 increment them in their respective functions. Remove "cout"
13604 * gdb.python/py-xmethods.exp: Make tests check the global function
13605 call counters instead of depending on inferior IO.
13607 2014-06-18 Don Breazeal <donb@codesourcery.com>
13609 * gdb.base/foll-fork.exp (default_fork_parent_follow):
13611 (explicit_fork_parent_follow): Deleted procedure.
13612 (explicit_fork_child_follow): Deleted procedure.
13613 (test_follow_fork): New procedure.
13614 (do_fork_tests): Replace calls to deleted procedures with
13615 calls to test_follow_fork and reset GDB for subsequent
13618 2014-06-17 Yao Qi <yao@codesourcery.com>
13620 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13623 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
13625 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13626 Initialize ptr and S explicitly.
13627 (skip_type_update_when_not_use_rtti_test): Likewise.
13629 2014-06-16 Keith Seitz <keiths@redhat.com>
13632 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13633 the inferior is started.
13635 2014-06-16 Pedro Alves <palves@redhat.com>
13637 * gdb.base/break-main-file-remove-fail.c: New file.
13638 * gdb.base/break-main-file-remove-fail.exp: New file.
13639 * gdb.base/break-unload-file.exp: Use build_executable instead of
13640 prepare_for_testing.
13641 (test_break): New parameter "initial_load". Handle it.
13642 (top level): Add initial_load cmdline/file axis.
13644 2014-06-12 Tom Tromey <tromey@redhat.com>
13646 * gdb.base/completion.exp: Don't use directory name in test.
13648 2014-06-09 Gary Benson <gbenson@redhat.com>
13650 * gdb.base/sigall.c [Functions to send signals]: Reorder to
13651 separate the always-available ANSI-standard signals from the
13652 signals that require checking.
13654 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13658 2014-06-07 Keith Seitz <keiths@redhat.com>
13662 * gdb.cp/var-tag.cc: New file.
13663 * gdb.cp/var-tag.exp: New file.
13664 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13665 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13666 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13667 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13669 2014-06-06 Doug Evans <xdje42@gmail.com>
13671 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13673 2014-06-06 Pedro Alves <palves@redhat.com>
13675 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13676 in target debug output instead of looking at RSP packets,
13677 disabling the test on any target that uses hardware stepping.
13680 2014-06-06 Pedro Alves <palves@redhat.com>
13682 * gdb.base/break-unload-file.exp: Fix typo.
13684 2014-06-06 Yao Qi <yao@codesourcery.com>
13686 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13687 from "jit_function" to "^jit_function".
13689 2014-06-06 Yao Qi <yao@codesourcery.com>
13691 * gdb.base/async.c (foo): Add one statement.
13692 * gdb.base/async.exp: Get the next instruction address and
13693 match the output of "nexti" by instruction address. Match
13694 the hex address in the output of "finish".
13696 2014-06-06 Gary Benson <gbenson@redhat.com>
13698 * gdb.base/call-signals.c: Remove preprocessor conditionals
13699 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13700 SIGSEGV and SIGTERM.
13701 * gdb.base/sigall.c: Likewise.
13702 * gdb.base/unwindonsignal.c: Likewise.
13703 * gdb.reverse/sigall-reverse.c: Likewise.
13705 2014-06-06 Yao Qi <yao@codesourcery.com>
13707 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
13708 readable, skip the test.
13710 2014-06-06 Yao Qi <yao@codesourcery.com>
13712 * gdb.threads/staticthreads.c (thread_function): Move the line
13713 setting breakpoint on forward.
13714 * gdb.threads/staticthreads.exp: Update comments.
13716 2014-06-05 Ludovic Courtès <ludo@gnu.org>
13718 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13719 "history-append! type error".
13721 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
13723 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13724 erroneous dprintf expected input.
13726 2014-06-04 Doug Evans <xdje42@gmail.com>
13728 * gdb.guile/scm-generics.exp: Delete.
13730 2014-06-04 Doug Evans <xdje42@gmail.com>
13732 * gdb.guile/scm-breakpoint.exp: Update.
13733 Add tests for breakpoint registration.
13735 2014-06-04 Tom Tromey <tromey@redhat.com>
13737 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13739 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13740 inner_vla_struct, vla_union types. Initialize objects of those
13741 types and compute their sizes.
13743 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
13744 Hui Zhu <hui@codesourcery.com>
13746 * gdb.base/fileio.exp: Add test for shell not available as well as
13748 * gdb.base/fileio.c (test_system): Check for shell twice.
13750 2014-06-04 Yao Qi <yao@codesourcery.com>
13752 * gdb.base/auto-connect-native-target.exp: Remove redundant
13753 space from the regexp pattern.
13755 2014-06-04 Yao Qi <yao@codesourcery.com>
13757 * gdb.base/default.exp: Replace "child" with "native" in
13760 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
13762 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13763 * gdb.python/py-xmethods.exp: New tests to test xmethods.
13764 * gdb.python/py-xmethods.py: Python script supporting the
13765 new testcase and tests.
13767 2014-06-03 Joel Brobecker <brobecker@adacore.com>
13768 Pedro Alves <palves@redhat.com>
13770 PR breakpoints/17000
13771 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13772 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13774 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
13776 * gdb.base/subst.exp: Add tests to verify partial path matching
13779 2014-06-03 Pedro Alves <palves@redhat.com>
13781 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13782 target that doesn't use software single-stepping.
13784 2014-06-03 Pedro Alves <palves@redhat.com>
13786 PR breakpoints/17000
13787 * gdb.base/sss-bp-on-user-bp-2.c: New file.
13788 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13790 2014-06-02 Doug Evans <xdje42@gmail.com>
13792 * gdb.guile/scm-parameter.exp: New file.
13794 2014-06-02 Doug Evans <xdje42@gmail.com>
13796 * gdb.guile/scm-cmd.c: New file.
13797 * gdb.guile/scm-cmd.exp: New file.
13799 2014-06-02 Doug Evans <xdje42@gmail.com>
13801 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13802 pretty-printer lookup.
13803 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13804 (make-pp_s-printer): Call it.
13805 (make-pretty-printer-from-dict): New function.
13806 (lookup-pretty-printer-maker-from-dict): New function.
13807 (*pretty-printer*): Simplify.
13808 (make-objfile-pp_s-printer): New function.
13809 (install-objfile-pretty-printers!): New function.
13810 (make-progspace-pp_s-printer): New function.
13811 (install-progspace-pretty-printers!): New function.
13812 * gdb.guile/scm-progspace.c: New file.
13813 * gdb.guile/scm-progspace.exp: New file.
13815 2014-06-02 Pedro Alves <palves@redhat.com>
13817 * gdb.base/dprintf-bp-same-addr.c: New file.
13818 * gdb.base/dprintf-bp-same-addr.exp: New file.
13820 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13822 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13823 * gdb.arch/powerpc-power.s: Likewise.
13825 2014-06-02 Joel Brobecker <brobecker@adacore.com>
13827 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13829 2014-06-01 Yao Qi <yao@codesourcery.com>
13831 * gdb.base/watchpoint.exp (test_watch_location): Check null
13832 pointer can be dereferenced. If not, do the test, otherwise
13835 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13837 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13839 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13841 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13843 * gdb.arch/amd64-invalid-stack-middle.S: New file.
13844 * gdb.arch/amd64-invalid-stack-middle.c: New file.
13845 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13846 * gdb.arch/amd64-invalid-stack-top.c: New file.
13847 * gdb.arch/amd64-invalid-stack-top.exp: New file.
13849 2014-05-30 Pedro Alves <palves@redhat.com>
13851 PR breakpoints/17000
13852 * gdb.base/sss-bp-on-user-bp.c: New file.
13853 * gdb.base/sss-bp-on-user-bp.exp: New file.
13855 2014-05-30 David Blaikie <dblaikie@gmail.com>
13857 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13858 gnu_inline semantics via attribute.
13859 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13860 source explicitly specifies the required semantics.
13862 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13864 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13866 2014-05-29 Pedro Alves <palves@redhat.com>
13867 Tom Tromey <tromey@redhat.com>
13869 * gdb.base/async-shell.exp: Don't enable target-async.
13870 * gdb.base/async.exp
13871 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13873 (top level): Don't test with "target-async".
13874 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13875 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13876 * gdb.base/inferior-died.exp: Don't enable target-async.
13877 * gdb.base/interrupt-noterm.exp: Likewise.
13878 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13879 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13880 * gdb.mi/mi-nonstop.exp: Likewise.
13881 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13882 * gdb.mi/mi-nsintrall.exp: Likewise.
13883 * gdb.mi/mi-nsmoribund.exp: Likewise.
13884 * gdb.mi/mi-nsthrexec.exp: Likewise.
13885 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13886 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13887 * gdb.python/py-evsignal.exp: Don't enable target-async.
13888 * gdb.python/py-evthreads.exp: Likewise.
13889 * gdb.python/py-prompt.exp: Likewise.
13890 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13891 * gdb.server/solib-list.exp: Don't enable target-async.
13892 * gdb.threads/thread-specific-bp.exp: Likewise.
13893 * lib/mi-support.exp: Adjust to use mi-async.
13895 2014-05-29 Pedro Alves <palves@redhat.com>
13898 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13899 reason, even in sync mode.
13901 2014-05-29 Pedro Alves <palves@redhat.com>
13902 Hui Zhu <hui@codesourcery.com>
13905 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13906 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13907 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13908 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13910 2014-05-28 Joel Brobecker <brobecker@adacore.com>
13912 * config/monitor.exp (gdb_target_monitor): Replace use of
13913 "set remotebaud" by "set serial baud".
13915 2014-05-26 Andy Wingo <wingo@igalia.com>
13917 * gdb.guile/scm-breakpoint.exp:
13918 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13919 properties instead of gdb-object-properties.
13921 2014-05-26 Yao Qi <yao@codesourcery.com>
13923 * gdb.server/no-thread-db.exp: Specify source file name
13924 explicitly when setting a breakpoint.
13926 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13928 * gdb.btrace/vdso.c: New.
13929 * gdb.btrace/vdso.exp: New.
13931 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13933 * gdb.base/gcore.exp (capture_command_output): Move ...
13934 * lib/gdb.exp (capture_command_output): ... here.
13936 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13938 * gdb.btrace/data.exp: Test memory access during btrace replay.
13940 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13942 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13944 2014-05-21 Pedro Alves <palves@redhat.com>
13947 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13948 (top level): Test that output related to execution commands is
13949 sent to the console with CLI commands, but not with MI commands.
13950 Test that breakpoint events are always mirrored to the console.
13951 Also expect the new source line to be output after a "next" in
13952 async mode too. Make it a pass/fail test.
13953 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13955 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13957 2014-05-21 Pedro Alves <palves@redhat.com>
13959 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13960 Use them to test variations of "list" after reaching a breakpoint.
13961 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13962 Test "list" with listsize 10 after reaching a breakpoint.
13963 * gdb.python/python.exp (decode_line current location line
13964 number): Adjust expected line number.
13966 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13968 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13969 behavior for $args, pass it directly to "run".
13971 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13973 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13976 2014-05-21 Pedro Alves <palves@redhat.com>
13978 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13979 auto-connect-native-target off".
13980 * gdb.base/auto-connect-native-target.c: New file.
13981 * gdb.base/auto-connect-native-target.exp: New file.
13983 2014-05-21 Pedro Alves <palves@redhat.com>
13985 * gdb.base/default.exp: Test "target native" instead of "target
13988 2014-05-21 Mark Wielaard <mjw@redhat.com>
13990 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13992 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13994 Fix TLS access for -static -pthread.
13995 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13996 <HAVE_TLS> (thread_function, main): Initialize it.
13997 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13999 <$have_tls != "">: Check TLSVAR.
14001 2014-05-21 Pedro Alves <palves@redhat.com>
14003 * gdb.base/dcache-line-read-error.c: New.
14004 * gdb.base/dcache-line-read-error.exp: New.
14006 2014-05-20 Pedro Alves <palves@redhat.com>
14008 * gdb.base/compare-sections.c: New file.
14009 * gdb.base/compare-sections.exp: New file.
14011 2014-05-20 Pedro Alves <palves@redhat.com>
14013 * gdb.base/break-idempotent.c: New file.
14014 * gdb.base/break-idempotent.exp: New file.
14016 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
14018 * gdb.btrace/nohist.exp: New.
14020 2014-05-20 Yao Qi <yao@codesourcery.com>
14022 * lib/gdb.exp (gdb_init): Set timeout if test file is under
14023 gdb.reverse directory and gdb_reverse_timeout exists in board
14025 * README: Document gdb_reverse_timeout.
14027 2014-05-20 Yao Qi <yao@codesourcery.com>
14029 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14030 'test_file_name'. Treat args as a string instead of a list.
14031 (gdb_init): Rename argument 'args' by 'test_file_name'.
14033 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14035 * gdb.arch/powerpc-power.exp: New file.
14036 * gdb.arch/powerpc-power.s: New file.
14038 2014-05-16 Doug Evans <dje@google.com>
14040 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14041 * gdb.base/completion.exp: Check that all expected files exist
14042 before doing file completion.
14044 2014-05-16 Doug Evans <dje@google.com>
14046 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14048 (do_syscall_tests_without_xml): Update.
14050 2014-05-16 Pedro Alves <palves@redhat.com>
14052 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14053 instead of "unknown output after running".
14055 2014-05-16 Yao Qi <yao@codesourcery.com>
14057 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
14058 file1.txt from host at the end.
14059 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14061 2014-05-15 Doug Evans <dje@google.com>
14063 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14064 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14065 loading file. Add test for TU lookup.
14067 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14069 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14070 calling "-exec-arguments" or "set args" before running the
14073 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14075 * lib/mi-support.exp (mi_expect_stop): Expect message for
14076 inferiors that exit with non-zero exit code.
14078 2014-05-14 Yao Qi <yao@codesourcery.com>
14080 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14081 match absolute path on remote host.
14082 (test_file_list_exec_source_files): Remove "/" from the
14085 2014-05-14 Yao Qi <yao@codesourcery.com>
14087 * boards/local-remote-host-notty.exp (${board}_file): New
14090 2014-05-07 Kyle McMartin <kyle@redhat.com>
14092 Pushed by Joel Brobecker <brobecker@adacore.com>.
14093 * gdb.arch/aarch64-atomic-inst.c: New file.
14094 * gdb.arch/aarch64-atomic-inst.exp: New file.
14096 2014-05-07 Yao Qi <yao@codesourcery.com>
14098 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14099 in current context" too.
14101 2014-05-05 Keith Seitz <keiths@redhat.com>
14103 * gdb.linespec/ls-dollar.exp: Add test for linespec
14104 file:convenience_variable.
14106 2014-05-05 Yao Qi <yao@codesourcery.com>
14108 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14109 traceframes into tfile and ctf trace files. Read data from
14110 trace file and test collected data.
14111 (gdb_collect_locals_test): Likewise.
14112 (gdb_unavailable_registers_test): Likewise.
14113 (gdb_unavailable_floats): Likewise.
14114 (gdb_collect_globals_test): Likewise.
14115 (top-level): Append "ctf" to trace_file_targets if GDB
14118 2014-05-05 Yao Qi <yao@codesourcery.com>
14120 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14122 (gdb_collect_args_test_1): ... it. New proc.
14123 (gdb_collect_locals_test): Move some code to ...
14124 (gdb_collect_locals_test_1): ... it. New proc.
14125 (gdb_unavailable_registers_test): Move some code to ...
14126 (gdb_unavailable_registers_test_1): ... it. New proc.
14127 (gdb_unavailable_floats): Move some code to ...
14128 (gdb_unavailable_floats_1): ... it. New proc.
14130 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14132 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14133 probes to test for bitness recognition.
14134 * gdb.arch/amd64-stap-optional-prefix.exp
14135 (test_probe_value_without_reg): New procedure.
14136 Add code to test for different kinds of bitness.
14138 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14140 PR breakpoints/16889
14141 * gdb.arch/amd64-stap-optional-prefix.S: New file.
14142 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14144 2014-05-01 Pedro Alves <palves@redhat.com>
14146 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
14147 gdb_file_cmd if no file is specified.
14148 * boards/native-extended-gdbserver.exp (gdb_load): Use the
14149 last_loaded_file to set the remote exec-file.
14151 2014-05-01 Pedro Alves <palves@redhat.com>
14153 * boards/local-remote-host.exp: New file.
14155 2014-05-01 Pedro Alves <palves@redhat.com>
14157 * boards/local-remote-host.exp: Rename to ...
14158 * boards/local-remote-host-notty.exp: ... this.
14160 2014-04-28 Joel Brobecker <brobecker@adacore.com>
14162 * gdb.ada/dyn_arrayidx: New testcase.
14164 2014-04-26 Yao Qi <yao@codesourcery.com>
14166 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
14167 and compute the length of function main. Save it in
14169 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14170 (top-level): Use gdb_compile to compile objects into
14171 executable and restart GDB. Remove invocation to
14172 prepare_for_testing.
14174 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
14175 Pedro Alves <palves@redhat.com>
14178 * gdb.multi/multi-attach.c: New file.
14179 * gdb.multi/multi-attach.exp: New file.
14181 2014-04-25 Pedro Alves <palves@redhat.com>
14183 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14185 (top level): Test that "set remote conditional-breakpoints-packet
14186 off" works as intended.
14187 * gdb.base/dprintf.exp: Test that "set remote
14188 breakpoint-commands-packet off" works as intended.
14189 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14191 (top level): Call it.
14192 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14193 remote fast-tracepoints-packet off" works as intended.
14194 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14195 * lib/gdb.exp (gdb_is_target_remote): ... here.
14197 2014-04-24 David Blaikie <dblaikie@gmail.com>
14199 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14200 ensure clang would not discard them.
14201 * gdb.base/gdbvars.c: Ditto.
14202 * gdb.base/memattr.c: Ditto.
14203 * gdb.base/whatis.c: Ditto.
14204 * gdb.python/py-prettyprint.c: Ditto.
14205 * gdb.trace/actions.c: Ditto.
14206 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14207 ensure clang would not discard it.
14209 2014-04-24 David Blaikie <dblaikie@gmail.com>
14211 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14212 clang to emit the full definition of type required by the test
14213 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14215 2014-04-24 David Blaikie <dblaikie@gmail.com>
14217 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14218 coax Clang into emitting the definition of the type.
14219 * gdb.cp/pr10728-x.h (y): Ditto.
14220 * gdb.cp/pr10728-y.cc (y): Ditto.
14222 2014-04-24 David Blaikie <dblaikie@gmail.com>
14224 * gdb.base/label.exp: XFAIL label related tests under Clang.
14225 * gdb.cp/cplabel.exp: Ditto.
14226 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14227 under Clang those using labels.
14229 2014-04-25 Yao Qi <yao@codesourcery.com>
14231 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14233 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14234 partial_label and double_label.
14236 2014-04-24 David Blaikie <dblaikie@gmail.com>
14238 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14240 2014-04-24 David Blaikie <dblaikie@gmail.com>
14242 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14243 of the function to work across GCC and Clang.
14244 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14245 pointer types (const void ** const V void **).
14247 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
14248 Walfred Tedeschi <walfred.tedeschi@intel.com>
14250 * Makefile.in (EXECUTABLES): Added i386-avx512.
14251 * gdb.arch/i386-avx512.c: New file.
14252 * gdb.arch/i386-avx512.exp: Likewise.
14254 2014-04-23 Keith Seitz <keiths@redhat.com>
14256 * lib/mi-support.exp (mi_list_breakpoints): Delete.
14257 (mi_make_breakpoint_table): New procedure.
14258 (mi_create_breakpoint): Use mi_make_breakpoint
14259 and return the result.
14260 (mi_make_breakpoint): New procedure.
14261 (mi_build_kv_pairs): New procedure.
14263 * gdb.mi/mi-break.exp: Remove unused globals,
14264 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14265 All callers updated.
14266 * gdb.mi/mi-dprintf.exp: Use variable to track command
14268 Update all callers of mi_create_breakpoint and use
14269 mi_make_breakpoint_table.
14270 Remove any unused global variables.
14271 * gdb.mi/mi-nonstop.exp: Likewise.
14272 * gdb.mi/mi-nsintrall.exp: Likewise.
14273 * gdb.mi/mi-nsmoribund.exp: Likewise.
14274 * gdb.mi/mi-nsthrexec.exp: Likewise.
14275 * gdb.mi/mi-reverse.exp: Likewise.
14276 * gdb.mi/mi-simplerun.exp: Likewise.
14277 * gdb.mi/mi-stepn.exp: Likewise.
14278 * gdb.mi/mi-syn-frame.exp: Likewise.
14279 * gdb.mi/mi-until.exp: Likewise.
14280 * gdb.mi/mi-var-cp.exp: Likewise.
14281 * gdb.mi/mi-var-display.exp: Likewise.
14282 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14283 * gdb.mi/mi2-var-child.exp: Likewise.
14284 * gdb.mi/mi-vla-c99.exp: Likewise.
14285 * lib/mi-support.exp: Likewise.
14287 From Ian Lance Taylor <iant@cygnus.com>:
14288 * lib/gdb.exp (parse_args): New procedure.
14290 2014-04-23 Pedro Alves <palves@redhat.com>
14292 * gdb.base/break-unload-file.c: New file.
14293 * gdb.base/break-unload-file.exp: New file.
14294 * gdb.base/sym-file-lib.c (baz): New function.
14295 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14297 (load): Store the segment's mapped size.
14298 (unload): New function.
14299 (unload_shlib): New function.
14300 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14301 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14302 set a breakpoint at baz, and call it.
14303 * gdb.base/sym-file.exp: New tests for stale breakpoint
14306 2014-04-23 Pedro Alves <palves@redhat.com>
14308 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14309 * gdb.base/hbreak-in-shr-unsupported.c: New file.
14310 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14311 * gdb.base/hbreak-unmapped.c: New file.
14312 * gdb.base/hbreak-unmapped.exp: New file.
14313 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14314 * lib/gdb.exp (gdb_is_target_remote): ... here.
14316 2014-04-22 Pedro Alves <palves@redhat.com>
14318 * gdb.base/consecutive-step-over.c: New file.
14319 * gdb.base/consecutive-step-over.exp: New file.
14321 2014-04-22 Pedro Alves <palves@redhat.com>
14323 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14324 instead of send_gdb/gdb_expect.
14326 2014-04-22 Yao Qi <yao@codesourcery.com>
14328 * lib/trace-support.exp (generate_tracefile): New procedure.
14329 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14331 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14332 if generate_tracefile returns 1.
14334 2014-04-18 Tom Tromey <palves@redhat.com>
14335 Pedro alves <tromey@redhat.com>
14338 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14339 with a backtrace limit.
14340 * gdb.python/py-frame-inline.exp: Test running to an inline
14341 function with a backtrace limit, and printing the newest frame.
14342 * gdb.python/py-frame-inline.c (main): Call f.
14344 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14346 * gdb.java/jnpe.exp: Drop srcdir from untested path.
14348 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14350 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14351 Drop prefix from unsupported source file path.
14353 2014-04-17 Yao Qi <yao@codesourcery.com>
14355 * lib/gdb.exp (with_target_charset): New proc.
14356 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14357 with_target_charset.
14358 (test_print_strings): Likewise.
14359 (test_repeat_bytes): Likewise.
14360 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14363 2014-04-16 Keith Seitz <keiths@redhat.com>
14366 * gdb.dwarf2/corrupt.c: New file.
14367 * gdb.dwarf2/corrupt.exp: New file.
14369 2014-04-16 Keith Seitz <keiths@redhat.com>
14372 * gdb.cp/namelessclass.cc: New file.
14373 * gdb.cp/namelessclass.exp: New file.
14374 * gdb.cp/namelessclass.S: New file.
14376 2014-04-16 Doug Evans <dje@google.com>
14378 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14380 (gdbserver_default_get_comm_port): New function.
14381 (gdbserver_start): Check if board file provided
14382 "gdbserver,get_comm_port" and use it if so.
14383 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14384 (gdb,socketport): Set to "stdio".
14385 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14386 (stdio_gdbserver_template): Delete.
14387 (${board}_get_remote_address): Update.
14388 (${board}_build_remote_cmd): Delete.
14389 (${board}_get_comm_port): New function.
14390 (${board}_spawn): Update.
14391 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14393 (${board}_get_remote_address): Update.
14394 (${board}_get_comm_port): New function.
14396 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
14398 * gdb.base/memattr.exp: Improve regexps to handle memory regions
14399 appearing in any order.
14401 2014-04-15 Doug Evans <dje@google.com>
14403 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14404 uninitialized value of "description".
14406 2014-04-15 Keith Seitz <keiths@redhat.com>
14408 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14409 Remove unused globals.
14410 (test_running_the_program): Likewise.
14411 (test_controlled_execution): Likewise.
14412 (test_controlling_breakpoints): Likewise.
14413 (test_program_termination): Likewise.
14415 2014-04-15 Keith Seitz <keiths@redhat.com>
14417 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14419 (test_rbreak_creation_and_listing): Likewise.
14420 (test_ignore_count): Likewise.
14421 (test_error): Likewise.
14423 2014-04-15 Pedro Alves <palves@redhat.com>
14425 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14426 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14428 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14429 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14430 to sym-file-loader.c.
14431 (struct library): Forward declare.
14432 (load_shlib, lookup_function): Change prototypes.
14433 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14434 (translate_offset): Remove declarations.
14435 (get_text_addr): New declaration.
14436 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14437 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14439 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14440 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14441 here from sym-file-loader.h.
14442 (struct library): New structure.
14443 (load_shlib, lookup_function): Change prototypes and adjust to
14444 work with a struct library.
14445 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14446 (translate_offset): Make static.
14447 (get_text_addr): New function.
14448 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14450 2014-04-15 Pedro Alves <palves@redhat.com>
14452 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
14454 2014-04-15 Pedro Alves <palves@redhat.com>
14456 * gdb.base/sym-file-loader.c: Include <limits.h>.
14457 (SELF_LINK): New define.
14458 (get_origin): New function.
14459 (load_shlib): Use it.
14460 * gdb.base/sym-file.exp: Don't early return if the target is
14461 remote. Use runto_main, and issue fail is that fails. Use
14463 (shlib_name): Delete.
14464 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
14466 2014-04-15 Pedro Alves <palves@redhat.com>
14468 * gdb.base/sym-file.exp: Remove regex characters from test
14469 message. Don't refer to breakpoint numbers in test messages.
14471 2014-04-14 Keith Seitz <keiths@redhat.com>
14474 * gdb.cp/var-tag.cc: New file.
14475 * gdb.cp/var-tag.exp: New file.
14476 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14477 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14478 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14479 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14481 2014-04-14 Tom Tromey <tromey@redhat.com>
14483 * gdb.cp/classes.exp (test_enums): Handle underlying type.
14484 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14486 * gdb.cp/enum-class.exp: New file.
14487 * gdb.cp/enum-class.cc: New file.
14489 2014-04-14 Tom Tromey <tromey@redhat.com>
14491 * gdb.dwarf2/enum-type.exp: New file.
14493 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14495 * gdb.mi/mi-vla-c99.exp: New file.
14496 * gdb.mi/vla.c: New file.
14498 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14500 * gdb.base/vla-datatypes.c: New file.
14501 * gdb.base/vla-datatypes.exp: New file.
14503 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14505 * gdb.base/vla-ptr.c: New file.
14506 * gdb.base/vla-ptr.exp: New file.
14508 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14510 * gdb.dwarf2/count.exp: New file.
14512 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14514 * gdb.base/vla-sideeffect.c: New file.
14515 * gdb.base/vla-sideeffect.exp: New file.
14517 2014-04-14 David Blaikie <dblaikie@gmail.com>
14519 * gdb.mi/non-stop.c: Add return value for non-void function return
14521 * gdb.threads/staticthreads.c: Ditto.
14523 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
14524 Doug Evans <xdje42@gmail.com>
14526 * gdb.guile/scm-value.c: Improve test case.
14527 * gdb.guile/scm-value.exp: Add new test.
14529 2014-04-11 David Blaikie <dblaikie@gmail.com>
14531 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14532 override Clang's default.
14534 2014-04-11 Joel Brobecker <brobecker@adacore.com>
14536 Revert the following changes (regressions):
14538 * gdb.base/vla-sideeffect.c: New file.
14539 * gdb.base/vla-sideeffect.exp: New file.
14541 * gdb.dwarf2/count.exp: New file.
14543 * gdb.base/vla-multi.c: New file.
14544 * gdb.base/vla-multi.exp: New file.
14546 * gdb.base/vla-ptr.c: New file.
14547 * gdb.base/vla-ptr.exp: New file.
14549 * gdb.base/vla-datatypes.c: New file.
14550 * gdb.base/vla-datatypes.exp: New file.
14552 * gdb.mi/mi-vla-c99.exp: New file.
14553 * gdb.mi/vla.c: New file.
14555 2014-04-11 Keith Seitz <keiths@redhat.com>
14558 * gdb.cp/cpsizeof.exp: New file.
14559 * gdb.cp/cpsizeof.cc: New file.
14561 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14563 * gdb.mi/mi-vla-c99.exp: New file.
14564 * gdb.mi/vla.c: New file.
14566 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14568 * gdb.base/vla-datatypes.c: New file.
14569 * gdb.base/vla-datatypes.exp: New file.
14571 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14573 * gdb.base/vla-ptr.c: New file.
14574 * gdb.base/vla-ptr.exp: New file.
14576 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14578 * gdb.base/vla-multi.c: New file.
14579 * gdb.base/vla-multi.exp: New file.
14581 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14583 * gdb.dwarf2/count.exp: New file.
14585 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14587 * gdb.base/vla-sideeffect.c: New file.
14588 * gdb.base/vla-sideeffect.exp: New file.
14590 2014-04-11 Yao Qi <yao@codesourcery.com>
14592 * gdb.base/completion.exp: Check file exists before running tests
14593 on file completion.
14595 2014-04-10 Pedro Alves <palves@redhat.com>
14597 * gdb.base/cond-eval-mode.c: New file.
14598 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
14599 prepare_for_testing to build the new file. Check result of
14601 (test_break, test_watch): New procedures.
14602 (top level): Use them.
14604 2014-04-08 Pierre Muller <muller@sourceware.org>
14606 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14607 Ctrl-V use for mingw hosts.
14609 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
14611 * gdb.python/py-value.c: Improve test case.
14612 * gdb.python/py-value.exp: Add new test.
14614 2014-04-07 David Blaikie <dblaikie@gmail.com>
14616 * lib/compiler.c: Identify the clang compiler.
14617 * lib/compiler.cc: Ditto.
14619 2014-04-03 Yao Qi <yao@codesourcery.com>
14621 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14623 2014-04-01 Anton Blanchard <anton@samba.org>
14625 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
14628 2014-04-01 Anton Blanchard <anton@samba.org>
14630 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14631 prepare_for_testing.
14633 2014-04-01 Anton Blanchard <anton@samba.org>
14635 * gdb.arch/ppc64-atomic-inst.c: Remove.
14636 * gdb.arch/ppc64-atomic-inst.S: New file.
14637 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14639 2014-03-31 Doug Evans <dje@google.com>
14641 * gdb.base/print-symbol-loading-lib.c: New file.
14642 * gdb.base/print-symbol-loading-main.c: New file.
14643 * gdb.base/print-symbol-loading.exp: New file.
14645 2014-03-31 Yao Qi <yao@codesourcery.com>
14647 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14649 2014-03-28 Joel Brobecker <brobecker@adacore.com>
14651 * gdb.ada/mi_dyn_arr: New testcase.
14653 2014-03-27 Doug Evans <dje@google.com>
14655 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14657 2014-03-27 Yao Qi <yao@codesourcery.com>
14659 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14660 if target is nios2-*-*.
14662 2014-03-26 Yao Qi <yao@codesourcery.com>
14664 * lib/gdb.exp (readline_is_used): New proc.
14665 * gdb.base/completion.exp: Move tests on command complete up.
14666 Skip the rest of tests if readline is not used.
14667 * gdb.ada/complete.exp: Skp the test if readline is not
14669 * gdb.base/filesym.exp: Likewise.
14670 * gdb.base/macscp.exp: Likewise.
14671 * gdb.base/readline-ask.exp: Likewise.
14672 * gdb.base/readline.exp: Likewise.
14673 * gdb.python/py-cmd.exp: Likewise.
14674 * gdb.trace/tfile.exp: Likewise.
14676 2014-03-26 Yao Qi <yao@codesourcery.com>
14678 * gdb.base/macscp.exp: Fix code format issues.
14680 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
14682 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14683 * gdb.asm/powerpc64le.inc: New file.
14685 2014-03-25 Pedro Alves <palves@redhat.com>
14686 Doug Evans <dje@google.com>
14688 * gdb.base/source-execution.c: New file.
14689 * gdb.base/source-execution.exp: New file.
14690 * gdb.base/source-execution.gdb: New file.
14692 2014-03-24 Doug Evans <dje@google.com>
14694 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14697 2014-03-24 Hui Zhu <hui@codesourcery.com>
14698 Pedro Alves <palves@redhat.com>
14700 PR breakpoints/16101
14701 * gdb.base/dprintf.exp: Use unsupported rather than changing the
14702 test pass/fail messages. Detect missing support for dprintf when
14703 breakpoints are actually inserted.
14704 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14705 breakpoints are actually inserted.
14706 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14709 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14711 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14713 2014-03-22 Doug Evans <xdje42@gmail.com>
14715 * gdb.python/python.exp (python not supported): Verify multi-line
14716 python command issues an error.
14717 * gdb.guile/guile.exp (guile not supported): Verify multi-line
14718 guile command issues an error.
14720 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
14722 * gdb.threads/thread-specific.exp: Handle the lack of usable
14723 $this_breakpoint and $this_thread.
14725 2014-03-21 Hui Zhu <hui@codesourcery.com>
14727 * gdb.base/attach.exp (do_command_attach_tests): New.
14729 2014-03-20 Tom Tromey <tromey@redhat.com>
14730 Pedro Alves <palves@redhat.com>
14733 * gdb.base/condbreak-call-false.c: New file.
14734 * gdb.base/condbreak-call-false.exp: New file.
14736 2014-03-20 Pedro Alves <palves@redhat.com>
14738 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14740 (block_signals, unblock_signals): Delete.
14741 (child_function_2, main): Remove references to deleted variable
14744 2014-03-20 Pedro Alves <palves@redhat.com>
14746 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14747 Use pthread_kill to signal thread 2.
14748 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14749 Adjust to make the test send itself a signal rather than using the
14750 host's "kill" command.
14752 2014-03-20 Pedro Alves <palves@redhat.com>
14754 * gdb.threads/multiple-step-overs.c: New file.
14755 * gdb.threads/multiple-step-overs.exp: New file.
14756 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14757 Adjust expected infrun debug output.
14759 2014-03-20 Pedro Alves <palves@redhat.com>
14761 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14762 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14764 2014-03-20 Pedro Alves <palves@redhat.com>
14766 PR breakpoints/7143
14767 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14768 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
14769 of gdb_test_multiple.
14770 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14771 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14773 2014-03-20 Pedro Alves <palves@redhat.com>
14775 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14776 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14778 2014-03-19 Pedro Alves <palves@redhat.com>
14780 * gdb.base/async.exp: Remove early return.
14782 2014-03-19 Pedro Alves <palves@redhat.com>
14784 * gdb.base/async.exp (step& tests): Pass explicit test messages.
14786 2014-03-19 Pedro Alves <palves@redhat.com>
14788 * gdb.base/async.exp (test_background): Expect \r\n after
14789 "completed." in the fail pattern.
14791 2014-03-19 Pedro Alves <palves@redhat.com>
14793 * gdb.base/async.exp (test_background): New procedure.
14794 Use it for all background execution command tests.
14796 2014-03-19 Pedro Alves <palves@redhat.com>
14798 * gdb.base/async.exp: Use prepare_for_testing.
14800 2014-03-19 Pedro Alves <palves@redhat.com>
14802 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
14805 2014-03-19 Pedro Alves <palves@redhat.com>
14807 * gdb.base/async.c (main): Add "jump here" and "until here" line
14809 * gdb.base/async.exp (jump_here): New global.
14810 (jump& test): Use it.
14811 (until_here): New global.
14812 (until& test): Use it.
14814 2014-03-19 Pedro Alves <palves@redhat.com>
14816 * gdb.base/async.exp: Don't frob gdb_protocol.
14818 2014-03-18 Doug Evans <xdje42@gmail.com>
14820 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
14821 Fix spelling of exec-done-display.
14823 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14826 * gdb.base/gdb-sigterm.c: New file.
14827 * gdb.base/gdb-sigterm.exp: New file.
14829 2014-03-18 Pedro Alves <palves@redhat.com>
14832 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14833 * lib/mi-support.exp (mi_expect_stop): Add special handling for
14836 2014-03-17 Joel Brobecker <brobecker@adacore.com>
14838 * gdb.ada/pckd_arr_ren: New testcase.
14840 2014-03-13 Doug Evans <xdje42@gmail.com>
14843 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14844 collect after discarding symbols.
14846 2014-03-13 Ludovic Courtès <ludo@gnu.org>
14847 Doug Evans <xdje42@gmail.com>
14849 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14850 to history survives a gc.
14852 2014-03-13 Pedro Alves <palves@redhat.com>
14854 * gdb.base/default.exp: Don't test "target procfs".
14856 2014-03-13 Pedro Alves <palves@redhat.com>
14858 * gdb.base/default.exp: Update "target child" and "target procfs"
14859 tests to not expect "Unix".
14861 2014-03-12 Tom Tromey <tromey@redhat.com>
14863 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14864 New procs. Add target-async tests.
14865 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14866 Add target-async tests.
14868 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14870 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14871 'func_start' and 'func_end' for the beginning and end of the
14872 function code, respectively.
14873 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14874 'func_end' instead of 'func' and 'main'.
14876 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14878 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14879 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14880 generate the debug info assembler source.
14882 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14884 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14885 * gdb.dwarf2/arr-subrange.exp: Likewise.
14886 * gdb.dwarf2/dwz.exp: Likewise.
14887 * gdb.dwarf2/method-ptr.exp: Likewise.
14888 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14889 * gdb.dwarf2/subrange.exp: Likewise.
14890 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14891 * gdb.dwarf2/implptrpiece.exp: Likewise.
14892 * gdb.dwarf2/nostaticblock.exp: Likewise.
14894 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14896 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14897 directory to absolute path name arguments.
14899 2014-03-10 Joel Brobecker <brobecker@adacore.com>
14901 * gdb.ada/tagged_access: New testcase.
14903 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14905 * gdb.btrace/data.exp: Update expected output.
14907 2014-03-06 Yao Qi <yao@codesourcery.com>
14909 * gdb.trace/pr16508.exp: New file.
14911 2014-03-05 Pedro Alves <palves@redhat.com>
14914 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14916 (top level): Adjust to use it. Add tests that exercise breakpoint
14917 interaction with the code-cache.
14919 2014-02-26 Ludovic Courtès <ludo@gnu.org>
14921 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14922 test for 'history-append!'.
14924 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14926 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14927 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14928 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14929 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14930 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14931 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14933 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14935 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14936 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14937 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14939 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14941 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14943 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14945 * gdb.dwarf2/arr-stride.c: New file.
14946 * gdb.dwarf2/arr-stride.exp: New file.
14948 2014-02-26 Pedro Alves <palves@redhat.com>
14950 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14951 that won't ever trigger. Make sure that GDB reports the correct
14952 breakpoint that caused the stop.
14954 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14957 * gdb.base/auto-load-script: New file.
14958 * gdb.base/auto-load.c: New file.
14959 * gdb.base/auto-load.exp: New file.
14962 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14964 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14966 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14967 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14969 2014-02-24 Doug Evans <dje@google.com>
14971 * lib/gdb.exp (run_on_host): Log error output if program fails.
14973 2014-02-21 Pedro Alves <palves@redhat.com>
14975 * gdb.threads/step-after-sr-lock.c: Rename to ...
14976 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14977 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14978 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14981 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14984 * gdb.arch/amd64-stap-special-operands.exp: New file.
14985 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14986 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14987 * gdb.arch/amd64-stap-triplet.S: Likewise.
14988 * gdb.arch/amd64-stap-triplet.c: Likewise.
14990 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14992 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14993 in .section pseudo-op.
14995 2014-02-20 lin zuojian <manjian2006@gmail.com>
14996 Joel Brobecker <brobecker@adacore.com>
14997 Doug Evans <xdje42@gmail.com>
15000 * gdb.dwarf2/dw2-icycle.S: New file.
15001 * gdb.dwarf2/dw2-icycle.c: New file.
15002 * gdb.dwarf2/dw2-icycle.exp: New file.
15004 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
15006 * gdb.python/py-value-cc.cc: Improve test case to enable testing
15007 operations on gdb.Value objects.
15008 * gdb.python/py-value-cc.exp: Add new test to test operations on
15011 2014-02-18 Doug Evans <dje@google.com>
15013 * Makefile.in (TESTS): New variable.
15014 (expanded_tests, expanded_tests_or_none): New variables
15015 (check-single): Pass $(expanded_tests_or_none) to runtest.
15016 (check-parallel): Only run tests in $(TESTS) if non-empty.
15017 (check/no-matching-tests-found): New rule.
15018 * README: Document TESTS makefile variable.
15020 2014-02-18 Doug Evans <dje@google.com>
15022 * Makefile.in (check-parallel): rm -rf outputs temp.
15024 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15026 Fix "ERROR: no fileid for" in the testsuite.
15027 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15029 2014-02-12 Doug Evans <dje@google.com>
15031 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15032 (MISCELLANEOUS): New variable.
15033 (clean): rm -rf $(MISCELLANEOUS).
15034 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15035 dwp live in the same directory as symlinks, with each symlink pointed
15036 to a differently named file in a different directory.
15038 2014-02-11 Doug Evans <dje@google.com>
15040 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15041 of Tcl file commands.
15043 2014-02-10 Mark Kettenis <kettenis@gnu.org>
15045 * gdb.threads/step-after-sr-lock.exp: Avoid executing
15046 "kill -SIGUSR1 -1".
15048 2014-02-10 Joel Brobecker <brobecker@adacore.com>
15050 * gdb.ada/tick_length_array_enum_idx: New testcase.
15052 2014-02-10 Doug Evans <xdje42@gmail.com>
15054 * configure.ac (AC_OUTPUT): Add gdb.guile.
15055 * configure: Regenerate.
15056 * lib/gdb-guile.exp: New file.
15057 * lib/gdb.exp (get_target_charset): New function.
15058 * gdb.base/help.exp: Update expected output from "apropos apropos".
15059 * gdb.guile/Makefile.in: New file.
15060 * gdb.guile/guile.exp: New file.
15061 * gdb.guile/scm-arch.c: New file.
15062 * gdb.guile/scm-arch.exp: New file.
15063 * gdb.guile/scm-block.c: New file.
15064 * gdb.guile/scm-block.exp: New file.
15065 * gdb.guile/scm-breakpoint.c: New file.
15066 * gdb.guile/scm-breakpoint.exp: New file.
15067 * gdb.guile/scm-disasm.c: New file.
15068 * gdb.guile/scm-disasm.exp: New file.
15069 * gdb.guile/scm-equal.c: New file.
15070 * gdb.guile/scm-equal.exp: New file.
15071 * gdb.guile/scm-error.exp: New file.
15072 * gdb.guile/scm-error.scm: New file.
15073 * gdb.guile/scm-frame-args.c: New file.
15074 * gdb.guile/scm-frame-args.exp: New file.
15075 * gdb.guile/scm-frame-args.scm: New file.
15076 * gdb.guile/scm-frame-inline.c: New file.
15077 * gdb.guile/scm-frame-inline.exp: New file.
15078 * gdb.guile/scm-frame.c: New file.
15079 * gdb.guile/scm-frame.exp: New file.
15080 * gdb.guile/scm-generics.exp: New file.
15081 * gdb.guile/scm-gsmob.exp: New file.
15082 * gdb.guile/scm-iterator.c: New file.
15083 * gdb.guile/scm-iterator.exp: New file.
15084 * gdb.guile/scm-math.c: New file.
15085 * gdb.guile/scm-math.exp: New file.
15086 * gdb.guile/scm-objfile-script-gdb.in: New file.
15087 * gdb.guile/scm-objfile-script.c: New file.
15088 * gdb.guile/scm-objfile-script.exp: New file.
15089 * gdb.guile/scm-objfile.c: New file.
15090 * gdb.guile/scm-objfile.exp: New file.
15091 * gdb.guile/scm-ports.exp: New file.
15092 * gdb.guile/scm-pretty-print.c: New file.
15093 * gdb.guile/scm-pretty-print.exp: New file.
15094 * gdb.guile/scm-pretty-print.scm: New file.
15095 * gdb.guile/scm-section-script.c: New file.
15096 * gdb.guile/scm-section-script.exp: New file.
15097 * gdb.guile/scm-section-script.scm: New file.
15098 * gdb.guile/scm-symbol.c: New file.
15099 * gdb.guile/scm-symbol.exp: New file.
15100 * gdb.guile/scm-symtab-2.c: New file.
15101 * gdb.guile/scm-symtab.c: New file.
15102 * gdb.guile/scm-symtab.exp: New file.
15103 * gdb.guile/scm-type.c: New file.
15104 * gdb.guile/scm-type.exp: New file.
15105 * gdb.guile/scm-value-cc.cc: New file.
15106 * gdb.guile/scm-value-cc.exp: New file.
15107 * gdb.guile/scm-value.c: New file.
15108 * gdb.guile/scm-value.exp: New file.
15109 * gdb.guile/source2.scm: New file.
15110 * gdb.guile/types-module.cc: New file.
15111 * gdb.guile/types-module.exp: New file.
15113 2014-02-10 Yao Qi <yao@codesourcery.com>
15116 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15117 * configure: Regenerated.
15118 * Makefile.in: New file.
15120 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
15122 * gdb.python/py-framefilter.exp: Fix typo.
15124 2014-02-08 Yao Qi <yao@codesourcery.com>
15126 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15127 that no =breakpoint-modified is emitted when breakpoints are
15128 modified through MI commands.
15130 2014-02-07 Pedro Alves <pedro@codesourcery.com>
15131 Pedro Alves <palves@redhat.com>
15133 * gdb.threads/step-after-sr-lock.c: New file.
15134 * gdb.threads/step-after-sr-lock.exp: New file.
15136 2014-02-07 Pedro Alves <palves@redhat.com>
15138 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15140 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15142 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15143 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15145 2014-02-06 Doug Evans <xdje42@gmail.com>
15147 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15150 * gdb.gdb/python-interrupts.exp: New file.
15152 2014-02-05 Yao Qi <yao@codesourcery.com>
15154 * gdb.trace/report.exp (use_collected_data): Test the output
15155 of "info threads" and "info inferiors".
15157 2014-02-05 Yao Qi <yao@codesourcery.com>
15161 2013-05-24 Yao Qi <yao@codesourcery.com>
15163 * gdb.trace/tfile.exp: Test inferior and thread.
15165 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15167 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15169 * gdb.base/step-bt.c: Call hello via function pointer to make
15170 sure its first instruction is executed on powerpc64le-linux.
15172 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15174 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15176 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15178 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
15179 of the test patterns for use on little-endian systems.
15181 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15183 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15184 (decimal_vector): Fix for little-endian.
15186 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
15188 * gdb.arch/sparc-sysstep.exp: New file.
15189 * gdb.arch/sparc-sysstep.c: Likewise.
15191 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15193 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15195 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15197 2014-01-23 Tom Tromey <tromey@redhat.com>
15199 * gdb.ada/array_char_idx: New testcase.
15201 2014-01-23 Tom Tromey <tromey@redhat.com>
15204 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15205 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15208 2014-01-23 Tom Tromey <tromey@redhat.com>
15211 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15212 string from an inferior frame.
15213 * gdb.python/py-framefilter-mi.exp: Update.
15215 2014-01-22 Doug Evans <dje@google.com>
15217 * gdb.server/server-mon.exp: Add tests for "set debug-format".
15219 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15221 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15223 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15225 * gdb.trace/entry-values.exp: Remove excess space character from
15226 regex patterns. Handle s390 call instruction.
15228 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15230 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15231 define "*_start" label. Make "name" static.
15232 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15233 ${name} by references to ${name}_start.
15235 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15237 * gdb.base/info-macros.exp: Remove "debug" from the compile
15240 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15242 * gdb.dlang/demangle.exp: New file.
15244 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15246 * gdb.dlang/primitive-types.exp: New file.
15248 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15250 * configure.ac: Create gdb.dlang/Makefile.
15251 * configure: Regenerate.
15252 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15253 * gdb.dlang/Makefile.in: New file.
15254 * lib/d-support.exp: New file.
15255 * lib/gdb.exp (skip_d_tests): New proc.
15257 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15259 * gdb.btrace/delta.exp: Check reverse stepi.
15260 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
15261 * gdb.btrace/finish.exp: New.
15262 * gdb.btrace/next.exp: New.
15263 * gdb.btrace/nexti.exp: New.
15264 * gdb.btrace/record_goto.c: Add comments.
15265 * gdb.btrace/step.exp: New.
15266 * gdb.btrace/stepi.exp: New.
15267 * gdb.btrace/multi-thread-step.c: New.
15268 * gdb.btrace/multi-thread-step.exp: New.
15269 * gdb.btrace/rn-dl-bind.c: New.
15270 * gdb.btrace/rn-dl-bind.exp: New.
15271 * gdb.btrace/data.c: New.
15272 * gdb.btrace/data.exp: New.
15273 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15275 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15277 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15278 * gdb.btrace/exception.exp: Update.
15279 * gdb.btrace/instruction_history.exp: Update.
15280 * gdb.btrace/record_goto.exp: Update.
15281 * gdb.btrace/tailcall.exp: Update.
15282 * gdb.btrace/unknown_functions.exp: Update.
15283 * gdb.btrace/delta.exp: New.
15285 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15287 * gdb.btrace/record_goto.exp: Add backtrace test.
15288 * gdb.btrace/tailcall.exp: Add backtrace test.
15290 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15292 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15293 * gdb.btrace/record_goto.c: New.
15294 * gdb.btrace/record_goto.exp: New.
15295 * gdb.btrace/x86-record_goto.S: New.
15297 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15299 * gdb.btrace/function_call_history.exp: Update tests.
15300 * gdb.btrace/instruction_history.exp: Update tests.
15302 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15304 * gdb.btrace/function_call_history.exp: Fix expected field
15305 order for "record function-call-history".
15306 Add new tests for "record function-call-history /c".
15307 * gdb.btrace/exception.cc: New.
15308 * gdb.btrace/exception.exp: New.
15309 * gdb.btrace/tailcall.exp: New.
15310 * gdb.btrace/x86-tailcall.S: New.
15311 * gdb.btrace/x86-tailcall.c: New.
15312 * gdb.btrace/unknown_functions.c: New.
15313 * gdb.btrace/unknown_functions.exp: New.
15314 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15316 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15318 * gdb.btrace/instruction_history.exp: Update.
15319 * gdb.btrace/function_call_history.exp: Update.
15321 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15323 * gdb.btrace/function_call_history.exp: Fix expected function
15325 * gdb.btrace/instruction_history.exp: Initialize traced.
15326 Remove traced_functions.
15328 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15330 * gdb.btrace/function_call_history.exp: Update
15331 * gdb.btrace/instruction_history.exp: Update.
15333 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15335 * gdb.btrace/enable.exp: Update expected text.
15337 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
15339 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15342 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
15344 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15346 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
15348 * lib/gdb.exp (supports_process_record): Return true for
15349 arm*-linux*. (supports_reverse): Likewise.
15351 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
15355 * gdb.python/py-type.c: Enhance test case.
15356 * gdb.python/py-value-cc.cc: Likewise
15357 * gdb.python/py-type.exp: Add new tests.
15358 * gdb.python/py-value-cc.exp: Likewise
15360 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15361 Pedro Alves <palves@redhat.com>
15363 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15364 Make "name" extern.
15365 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15366 references to ${name}_start by references to ${name}.
15368 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15370 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15372 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15374 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15376 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
15377 Pedro Alves <palves@redhat.com>
15379 * gdb.mi/mi-info-os.exp: Connect to the target with
15380 mi_gdb_target_load.
15382 2014-01-08 Pedro Alves <palves@redhat.com>
15384 * gdb.threads/reconnect-signal.c: New file.
15385 * gdb.threads/reconnect-signal.exp: New file.
15387 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15389 * gdb.base/source-dir.exp: New file.
15391 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15393 * gdb.ada/mi_interface: New testcase.
15395 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15397 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15398 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15399 gdb.ada/pp-rec-component/pck.ads: New files.
15401 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15403 * gdb.python/py-pp-integral.c: New file.
15404 * gdb.python/py-pp-integral.py: New file.
15405 * gdb.python/py-pp-integral.exp: New file.
15407 For older changes see ChangeLog-1993-2013.
15409 ;; Local Variables:
15410 ;; mode: change-log
15413 ;; version-control: never
15416 Copyright 2014-2019 Free Software Foundation, Inc.
15417 Copying and distribution of this file, with or without modification,
15418 are permitted provided the copyright notice and this notice are preserved.