1 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4 "qualified" option when setting breakpoints.
5 * gdb.trace/backtrace.exp: Likewise.
6 * gdb.trace/circ.exp: Likewise.
7 * gdb.trace/collection.exp: Likewise.
8 * gdb.trace/disconnected-tracing.exp: Likewise.
9 * gdb.trace/ftrace-lock.exp: Likewise.
10 * gdb.trace/ftrace.exp: Likewise.
11 * gdb.trace/infotrace.exp: Likewise.
12 * gdb.trace/packetlen.exp: Likewise.
13 * gdb.trace/passc-dyn.exp: Likewise.
14 * gdb.trace/qtro.exp: Likewise.
15 * gdb.trace/read-memory.exp: Likewise.
16 * gdb.trace/report.exp: Likewise.
17 * gdb.trace/signal.exp: Likewise.
18 * gdb.trace/status-stop.exp: Likewise.
19 * gdb.trace/strace.exp: Likewise.
20 * gdb.trace/tfind.exp: Likewise.
21 * gdb.trace/trace-break.exp: Likewise.
22 * gdb.trace/trace-condition.exp: Likewise.
23 * gdb.trace/trace-mt.exp: Likewise.
24 * gdb.trace/tstatus.exp: Likewise.
25 * gdb.trace/tsv.exp: Likewise.
26 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
27 * gdb.trace/unavailable.exp: Likewise.
28 * gdb.trace/while-dyn.exp: Likewise.
30 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
32 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
33 that libinproctrace is copied to the target.
35 2018-03-14 Tom Tromey <tom@tromey.com>
38 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
40 * gdb.base/wchar.exp: Likewise.
42 2018-03-14 Tom Tromey <tom@tromey.com>
45 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
48 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
51 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
52 "target" to remote_exec.
54 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
57 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
58 ${board}_upload): Remove.
60 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
62 * gdb.cp/watch-cp.cc: New test.
63 * gdb.cp/watch-cp.exp: New file.
65 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
67 * gdb.base/infcall-nested-structs.exp: New file.
68 * gdb.base/infcall-nested-structs.c: New file.
69 * gdb.base/float.exp: Add riscv support.
71 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
73 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
74 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
76 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
78 * gdb.server/abspath.exp: New file.
79 * lib/gdb.exp (with_cwd): New procedure.
81 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
83 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
85 (gdb_is_target_remote_prompt): New proc.
86 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
87 (gdb_is_target_native): Pass prompt parameter to
90 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
92 * gdb.base/load-command.c: New file.
93 * gdb.base/load-command.exp: New file.
94 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
95 (gdb_is_target_1): ...this, and generalize for other targets
97 (gdb_is_target_remote): Use gdb_is_target_1.
98 (gdb_is_target_native): use gdb_is_target_1.
100 2018-02-26 Tom Tromey <tom@tromey.com>
103 * gdb.python/py-framefilter.exp: Update test.
105 2018-02-26 Tom Tromey <tom@tromey.com>
107 * gdb.dwarf2/variant.c: New file.
108 * gdb.dwarf2/variant.exp: New file.
110 2018-02-26 Tom Tromey <tom@tromey.com>
112 * gdb.rust/simple.exp: Accept more possible results in enum test.
114 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
116 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
119 2018-02-23 Maciej W. Rozycki <macro@mips.com>
121 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
122 name of a variable: $actual_linejj -> $actual_line.
124 2018-02-21 John Baldwin <jhb@FreeBSD.org>
126 * gdb.arch/amd64-i386-address.exp: Fix a typo.
128 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
130 * gdb.btrace/buffer-size.exp: Do not force BTS.
132 2018-02-14 Pedro Alves <palves@redhat.com>
134 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
137 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
139 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
142 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
144 * gdb.cp/m-static.exp: Check type of optimized out static
147 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
149 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
150 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
152 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
153 Leszek Swirski <leszeks@google.com>
155 * gdb.python/py-prettyprint.c
156 (struct to_string_returns_value_inner,
157 struct to_string_returns_value_wrapper): New.
158 (main): Add tsrvw variable.
159 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
160 ToStringReturnsValueWrapper): New classes.
161 (register_pretty_printers): Register new pretty-printers.
162 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
163 recursive pretty printer.
164 * gdb.python/py-mi.exp: Likewise.
166 2018-02-01 Leszek Swirski <leszeks@google.com>
168 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
169 functions with the same name as an include file are parsed
172 2018-02-01 Yao Qi <yao.qi@linaro.org>
174 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
177 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
179 * gdb.arch/powerpc-prologue-frame.s: New file.
180 * gdb.arch/powerpc-prologue-frame.c: Likewise.
181 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
183 2018-01-31 Joel Brobecker <brobecker@adacore.com>
185 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
187 2018-01-30 Pedro Alves <palves@redhat.com>
190 * gdb.base/interrupt-daemon.c: New.
191 * gdb.base/interrupt-daemon.exp: New.
192 * gdb.multi/multi-term-settings.c: New.
193 * gdb.multi/multi-term-settings.exp: New.
195 2018-01-30 Joel Brobecker <brobecker@adacore.com>
197 * gdb.base/break.exp: Save the location where the breakpoint
198 on break.c:47 was actually inserted when debugging the version
199 compiled at -O2 and use it in the expected output of the "info
200 break" test performed soon after.
202 2018-01-22 Pedro Alves <palves@redhat.com>
203 Sergio Durigan Junior <sergiodj@redhat.com>
205 * gdb.base/whatis.exp: Add tests for 'set print object on' +
206 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
208 2018-01-22 Joel Brobecker <brobecker@adacore.com>
210 * gdb.base/break-include.c, gdb.base/break-include.inc,
211 gdb.base/break-include.exp: New files.
212 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
213 line number now being the actual line number where the breakpoint
215 * gdb.mi/mi-break.exp: Likewise.
216 * gdb.mi/mi-reverse.exp: Likewise.
217 * gdb.mi/mi-simplerun.exp: Ditto.
219 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
221 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
223 * gdb.mi/mi-var-create-rtti.exp: Likewise.
225 2018-01-21 Don Breazeal <donb@codesourcery.com>
226 Andrew Burgess <andrew.burgess@embecosm.com>
228 * gdb.mi/basics.c: Add new global.
229 * gdb.mi/mi-frame-regs.exp: New file.
230 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
233 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
235 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
236 non-parameter, and on an unknown symbol.
238 2018-01-19 Tom Tromey <tom@tromey.com>
240 * gdb.rust/modules.rs (TWENTY_THREE): New global.
241 * gdb.rust/modules.exp: Add ::-qualified lookup test.
243 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
245 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
246 setrlimit and chdir to int.
248 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
250 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
253 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
254 rationale of avoiding FP- and vector instructions.
256 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
258 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
259 "info reg" with "\[ \t\]*".
260 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
262 * gdb.arch/s390-multiarch.exp: Ditto.
263 * gdb.base/pc-fp.exp: Ditto.
264 * gdb.reverse/i386-precsave.exp: Ditto.
265 * gdb.reverse/i386-reverse.exp: Ditto.
266 * gdb.reverse/i387-env-reverse.exp: Ditto.
267 * gdb.reverse/i387-stack-reverse.exp: Ditto.
269 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
271 * lib/gdb.exp (gdb_compile): Re-enable use of
272 universal_compile_options for languages other than Rust.
274 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
276 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
278 2018-01-17 Mike Gulick <mgulick@mathworks.com>
281 * gdb.base/solib-vanish.exp: New.
282 * gdb.base/solib-vanish-main.c: New.
283 * gdb.base/solib-vanish-lib1.c: New.
284 * gdb.base/solib-vanish-lib2.c: New.
286 2018-01-17 Yao Qi <yao.qi@linaro.org>
288 * gdb.compile/compile.exp: Match the address printed for
289 frame in the output of command "bt".
291 2018-01-15 Tom Tromey <tom@tromey.com>
293 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
296 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
298 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
300 (prepare): Return 0 on error, 1 on success.
302 2018-01-12 Pedro Alves <palves@redhat.com>
304 * gdb.base/continue-after-aborted-step-over.c: New.
305 * gdb.base/continue-after-aborted-step-over.exp: New.
307 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
309 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
310 options when not creating an executable.
312 2018-01-11 Pedro Alves <palves@redhat.com>
315 * gdb.server/stop-reply-no-thread.c: New file.
316 * gdb.server/stop-reply-no-thread.exp: New file.
318 2018-01-10 Pedro Alves <palves@redhat.com>
321 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
322 functions too. Test setting breakpoints and printing C functions
323 with no debug info too.
324 * gdb.ada/bp_c_mixed_case/qux.c: New file.
326 2018-01-10 Pedro Alves <palves@redhat.com>
329 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
332 2018-01-10 Pedro Alves <palves@redhat.com>
335 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
337 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
339 * gdb.server/unittest.exp: Match the output in non-development
342 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
344 * gdb.gdb/unittest.exp: Match output in non-development mode.
346 2018-01-08 Joel Brobecker <brobecker@adacore.com>
348 * gdb.ada/access_tagged_param.exp: Relax expected output
349 for value of "ObjL" in "continue" to pck.inspect breakpoint
352 2018-01-08 Joel Brobecker <brobecker@adacore.com>
354 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
355 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
357 2018-01-05 Pedro Alves <palves@redhat.com>
360 * gdb.base/libsegfault.exp: New.
362 2018-01-05 Joel Brobecker <brobecker@adacore.com>
365 * gdb.ada/access_tagged_param.exp: New file.
366 * gdb.ada/access_tagged_param/foo.adb: New file.
368 2018-01-05 Pedro Alves <palves@redhat.com>
371 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
372 exercise lower case too, and to exercise both full matching and
375 2018-01-05 Joel Brobecker <brobecker@adacore.com>
377 * gdb.ada/rename_subscript_param: New testcase.
379 2018-01-05 Jerome Guitton <guitton@adacore.com>
381 * gdb.ada/arr_acc_idx_w_gap: New testcase.
383 2018-01-05 Joel Brobecker <brobecker@adacore.com>
385 * gdb.ada/convvar_comp: New testcase.
387 2018-01-05 Xavier Roirand <roirand@adacore.com>
389 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
390 (My_Table): New global variable.
391 * testsuite/gdb.ada/array_char_idx.exp: Add test.
393 2018-01-04 Joel Brobecker <brobecker@adacore.com>
396 * gdb.ada/maint_with_ada: New testcase.
398 2018-01-04 Joel Brobecker <brobecker@adacore.com>
401 * gdb.ada/bp_c_mixed_case: New testcase.
403 2018-01-04 Joel Brobecker <brobecker@adacore.com>
406 * gdb.ada/complete.exp: Add "complete break ada" test.
408 2018-01-04 Joel Brobecker <brobecker@adacore.com>
411 * gdb.ada/info_addr_mixed_case: New testcase.
413 2018-01-03 Xavier Roirand <roirand@adacore.com>
415 * gdb.ada/excep_handle.exp: New testcase.
416 * gdb.ada/excep_handle/foo.adb: New file.
417 * gdb.ada/excep_handle/pck.ads: New file.
419 2018-01-03 Joel Brobecker <brobecker@adacore.com>
421 * gdb.base/step-line.c: Add extra empty line in copyright header.
422 * gdb.base/step-line.inp: Likewise.
424 2018-01-02 Joel Brobecker <brobecker@adacore.com>
426 * gdb.ada/dyn_stride.exp: Add slice test.
428 2018-01-02 Joel Brobecker <brobecker@adacore.com>
430 * gdb.ada/dyn_stride: New testcase.
432 2017-12-27 Stafford Horne <shorne@gmail.com>
434 * gdb.xml/extra-regs.xml: Add example foo reggroup.
435 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
437 2017-12-27 Stafford Horne <shorne@gmail.com>
439 * gdb.base/reggroups.c: New file.
440 * gdb.base/reggroups.exp: New file.
442 2017-12-18 Joel Brobecker <brobecker@adacore.com>
444 * gdb.dwarf2/ada-valprint-error.c: New file.
445 * gdb.dwarf2/ada-valprint-error.exp: New file.
447 2017-12-18 Joel Brobecker <brobecker@adacore.com>
449 * gdb.ada/assign_arr: New testcase.
451 2017-12-18 Xavier Roirand <roirand@adacore.com>
453 * gdb.ada/funcall_ptr: New testcase.
455 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
458 * gdb.base/ptype-offsets.cc: New file.
459 * gdb.base/ptype-offsets.exp: New file.
461 2017-12-15 Yao Qi <yao.qi@linaro.org>
463 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
466 2017-12-15 Xavier Roirand <roirand@adacore.com>
468 * gdb.ada/same_component_name: New testcase.
470 2017-12-14 Joel Brobecker <brobecker@adacore.com>
472 * gdb.ada/str_binop_equal: New testcase.
474 2017-12-14 Joel Brobecker <brobecker@adacore.com>
476 * gdb.ada/task_switch_in_core: New testcase.
478 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
480 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
481 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
482 call test_bkpt_qualified.
483 (test_bkpt_qualified): New proc.
485 2017-12-13 Pedro Alves <palves@redhat.com>
487 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
488 Tighten regexp by matching with an anchor.
490 2017-12-13 Pedro Alves <palves@redhat.com>
492 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
493 ("expression with namespace"): New set of tests.
494 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
495 (Nested::Test_NS::qux): New.
496 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
497 defaults to 'start_quote_char' and 'end_quote_char' parameters.
499 2017-12-13 Joel Brobecker <brobecker@adacore.com>
501 * gdb.base/server-del-break.c: New file.
502 * gdb.base/server-del-break.exp: New file.
504 2017-12-12 Stafford Horne <shorne@gmail.com>
506 * gdb.xml/tdesc-regs.exp: Add or1k support.
508 2017-12-12 Stafford Horne <shorne@gmail.com>
510 * gdb.base/bp-permanent.c: Define nop of or1k.
512 2017-12-11 Joel Brobecker <brobecker@adacore.com>
514 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
515 output with components being reordered.
517 2017-12-11 Joel Brobecker <brobecker@adacore.com>
519 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
520 output with components being reordered.
522 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
523 Pedro Alves <palves@redhat.com>
525 * gdb.base/maint.exp (check for .gdb_index): Check also for
527 * gdb.dlang/watch-loc.c (.debug_aranges): New.
528 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
529 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
530 (.gdb_index used after symbol reloading): Support also .debug_names.
531 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
533 2017-12-08 Yao Qi <yao.qi@linaro.org>
535 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
536 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
538 2017-12-08 Yao Qi <yao.qi@linaro.org>
540 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
541 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
543 2017-12-08 Yao Qi <yao.qi@linaro.org>
545 * gdb.arch/aarch64-tagged-pointer.c: New file.
546 * gdb.arch/aarch64-tagged-pointer.exp: New file.
548 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
550 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
553 2017-12-07 Keith Seitz <keiths@redhat.com>
556 * gdb.linespec/ls-errs.exp: Change expected result of "break
557 -source this file has spaces.c -line 3".
558 Check that an explicit source file followed by whitespace is
559 identified as an invalid explicit location.
561 2017-12-07 Keith Seitz <keiths@redhat.com>
563 * gdb.cp/nested-types.cc: New file.
564 * gdb.cp/nested-types.exp: New file.
565 * lib/cp-support.exp: Load data-structures.exp library.
566 (debug_cp_test_ptype_class): New global.
567 (cp_ptype_class_verbose, next_line): New procedures.
568 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
569 Add and document new return value.
570 Switch the list of lines to a queue.
571 Add support for new `type' key for nested type definitions.
572 Add debugging/troubleshooting messages.
573 * lib/data-structures.exp: New file.
575 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
577 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
578 with proc_with_prefix, don't use with_test_prefix.
580 2017-12-07 Tom Tromey <tom@tromey.com>
582 * gdb.base/break.exp: Add test for empty "commands".
584 2017-12-07 Yao Qi <yao.qi@linaro.org>
586 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
587 malloc and catch syscall.
589 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
591 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
592 tests for explicit locations.
594 2017-12-06 Pedro Alves <palves@redhat.com>
596 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
597 force-disabling XML descriptions.
599 2017-12-04 Pedro Alves <palves@redhat.com>
602 * gdb.arch/amd64-disp-step-avx.S: New file.
603 * gdb.arch/amd64-disp-step-avx.exp: New file.
605 2017-12-03 Pedro Alves <palves@redhat.com>
607 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
609 (parent_function): Print distinct messages when waitpid fails, or
610 the child exits with a signal, or the child exits for an unhandled
612 * gdb.threads/process-dies-while-detaching.exp
613 (detach_and_expect_exit): New 'inf_output_re' parameter and use
614 it. Wait for both inferior output and GDB's prompt. Use an
615 indirect spawn id list.
616 (do_detach): New parameter 'child_exit'. Use it to compute
617 expected inferior output.
618 (test_detach, test_detach_watch, test_detach_killed_outside):
619 Adjust to pass down the expected child exit kind.
621 2017-12-01 Joel Brobecker <brobecker@adacore.com>
622 Sergio Durigan Junior <sergiodj@redhat.com>
623 Pedro Alves <palves@redhat.com>
625 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
627 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
629 * gdb.base/relocate.exp: Add tests to guarantee that arguments
630 to 'symbol-file' and 'add-symbol-file' can be
631 position-independent.
633 2017-12-01 Yao Qi <yao.qi@linaro.org>
635 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
636 the URL in copyright header.
637 * gdb.arch/aarch64-fp.exp: Likewise.
638 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
639 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
640 * gdb.base/expand-psymtabs.exp: Likewise.
641 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
642 * gdb.fortran/common-block.exp: Likewise.
643 * gdb.fortran/common-block.f90: Likewise.
644 * gdb.fortran/logical.exp: Likewise.
645 * gdb.fortran/vla-datatypes.f90: Likewise.
646 * gdb.fortran/vla-sub.f90: Likewise.
648 2017-11-30 Joel Brobecker <brobecker@adacore.com>
650 * gdb.ada/repeat_dyn: New testcase.
652 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
654 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
655 Update for changed thread numbering.
656 * gdb.cell/bt.exp: Update for changed GDB output.
658 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
660 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
661 setting isremote by hand.
662 * boards/dwarf4-gdb-index.exp: Likewise.
663 * boards/fission.exp: Likewise.
664 * boards/stabs.exp: Likewise.
666 2017-11-30 Pedro Alves <palves@redhat.com>
668 * gdb.linespec/cpls-ops.exp
669 (check_explicit_skips_function_argument): Extract the underlying
670 type of size_t instead of hardcoding it.
672 2017-11-29 Pedro Alves <palves@redhat.com>
675 * gdb.linespec/cpls-abi-tag.cc: New file.
676 * gdb.linespec/cpls-abi-tag.exp: New file.
678 2017-11-29 Pedro Alves <palves@redhat.com>
680 * gdb.base/langs.exp: Use -qualified.
681 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
683 * gdb.cp/namespace.exp: Use -qualified.
684 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
685 (overload-3, template-overload, template-ret-type, const-overload)
686 (const-overload-quoted, anon-ns, ambiguous-prefix): New
688 (test_driver): Call them.
689 * gdb.cp/save-bp-qualified.cc: New.
690 * gdb.cp/save-bp-qualified.exp: New.
691 * gdb.linespec/explicit.exp: Test -qualified.
692 * lib/completion-support.exp (completion::explicit_opts_list): Add
694 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
696 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
698 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
700 2017-11-29 Tom Tromey <tom@tromey.com>
702 * gdb.base/relocate.exp: Update invalid argument test.
703 Add new tests for invalid arguments.
705 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
707 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
709 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
711 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
713 * gdb.cp/breakpoint.cc (bar): Set return type to void.
714 * gdb.cp/psymtab-parameter.cc (func): Likewise.
715 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
717 * gdb.cp/shadow.cc (B.func): Return 0.
719 2017-11-27 Joel Brobecker <brobecker@adacore.com>
721 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
722 expected output in gdb_expect call to allow the exception
723 message to be present as well. Fix syntax confusion to avoid
724 TCL thinking that exception_name is an array.
726 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
728 * gdb.arch/spu-info.c: Include <unistd.h>.
729 (do_signal_test): Fix broken calls to write.
730 * gdb.arch/spu-info.exp: Use prepare_for_testing.
731 Fix checks for empty mailboxes. Update signal tests for corrected
732 do_signal_test routine. Allow nonzero event status.
733 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
734 * gdb.cell/arch.exp: Use standard_output_file.
735 * gdb.cell/break.exp: Likewise.
736 * gdb.cell/bt.exp: Likewise.
737 * gdb.cell/core.exp: Likewise.
738 * gdb.cell/dwarfaddr.exp: Likewise.
739 * gdb.cell/ea-cache.exp: Likewise.
740 * gdb.cell/ea-standalone.exp: Likewise.
741 * gdb.cell/f-regs.exp: Likewise.
742 * gdb.cell/fork.exp: Likewise.
743 * gdb.cell/gcore.exp: Likewise.
744 * gdb.cell/mem-access.exp: Likewise.
745 * gdb.cell/ptype.exp: Likewise.
746 * gdb.cell/registers.exp: Likewise.
747 * gdb.cell/sizeof.exp: Likewise.
748 * gdb.cell/solib-symbol.exp: Likewise.
749 * gdb.cell/solib.exp: Likewise.
751 2017-11-25 Pedro Alves <palves@redhat.com>
753 * gdb.base/complete-empty.exp: New file.
754 * gdb.base/completion.exp: Adjust.
756 2017-11-25 Pedro Alves <palves@redhat.com>
758 * gdb.linespec/cpls-ops.cc: New file.
759 * gdb.linespec/cpls-ops.exp: New file.
760 * lib/completion-support.exp (test_complete_prefix_range_re): New,
761 factored out from ...
762 (test_complete_prefix_range): ... this.
764 2017-11-24 Pedro Alves <palves@redhat.com>
766 * gdb.linespec/cpcompletion.exp: New file.
767 * gdb.linespec/cpls-hyphen.cc: New file.
768 * gdb.linespec/cpls.cc: New file.
769 * gdb.linespec/cpls2.cc: New file.
770 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
771 test to use test_gdb_complete_unique. Add label completion,
772 keyword completion and explicit location completion tests.
773 * lib/completion-support.exp: New file.
775 2017-11-24 Joel Brobecker <brobecker@adacore.com>
777 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
778 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
779 when hitting an exception catchpoint.
781 2017-11-22 Yao Qi <yao.qi@linaro.org>
783 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
785 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
787 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
788 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
789 * gdb.dwarf2/info-locals-optimized-out.c: New file.
791 2017-11-22 Yao Qi <yao.qi@linaro.org>
793 * gdb.base/info-os.exp: Pass pthreads.
794 * gdb.multi/multi-attach.exp: Likewise.
796 2017-11-22 Yao Qi <yao.qi@linaro.org>
798 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
801 2017-11-22 Yao Qi <yao.qi@linaro.org>
803 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
804 * gdb.base/break-interp.exp: Likewise.
805 * gdb.base/jit-attach-pie.exp: Likewise.
807 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
809 * gdb.base/float128.c (large128): New variable.
810 * gdb.base/float128.exp: Add test to print largest __float128 value.
812 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
814 * gdb.arch/vsx-regs.exp: Update register content checks.
816 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
818 * gdb.arch/ppc-longdouble.exp: New file.
819 * gdb.arch/ppc-longdouble.c: Likewise.
821 2017-11-21 Pedro Alves <palves@redhat.com>
823 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
825 2017-11-20 Pedro Alves <palves@redhat.com>
827 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
828 (long_double_typedef): New typedefs.
829 Use DEF on double and long double.
830 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
832 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
833 and 'long_double_ptr_same_size' locals. Use them to decide
834 whether cast from array/function to float is valid/invalid.
836 2017-11-17 Tom Tromey <tom@tromey.com>
838 * gdb.rust/traits.rs: New file.
839 * gdb.rust/traits.exp: New file.
841 2017-11-17 Joel Brobecker <brobecker@adacore.com>
843 * gdb.ada/minsyms: New testcase.
845 2017-11-16 Pedro Alves <palves@redhat.com>
847 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
848 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
850 2017-11-16 Pedro Alves <palves@redhat.com>
852 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
853 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
855 2017-11-16 Pedro Alves <palves@redhat.com>
857 * gdb.server/reconnect-ctrl-c.c: New file.
858 * gdb.server/reconnect-ctrl-c.exp: New file.
860 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
862 * gdb.python/py-rbreak.exp: New file.
863 * gdb.python/py-rbreak.c: New file.
864 * gdb.python/py-rbreak-func2.c: New file.
866 2017-11-16 Pedro Alves <palves@redhat.com>
868 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
870 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
873 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
875 * gdb.tui/completionn.exp (test_tab_completion): Add space in
878 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
880 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
883 2017-11-09 Pedro Alves <palves@redhat.com>
885 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
886 factored out from ...
887 (top level): ... here, and adjusted to avoid expecting beyond the
888 prompt in a single gdb_test_multiple.
890 2017-11-09 Pedro Alves <palves@redhat.com>
892 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
894 * gdb.server/ext-attach.exp ("kill" test): Likewise.
895 * gdb.server/ext-restart.exp ("kill" test): Likewise.
896 * gdb.server/ext-run.exp ("kill" test): Likewise.
897 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
899 2017-11-09 Pedro Alves <palves@redhat.com>
901 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
902 match till end of line.
904 2017-11-09 Pedro Alves <palves@redhat.com>
906 * gdb.base/memattr.exp: Tighten regexes to match the end line.
908 2017-11-09 Pedro Alves <palves@redhat.com>
910 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
911 New procedures, factored out from ...
912 (top level): ... here, and adjusted to avoid expecting beyond the
915 2017-11-09 Pedro Alves <palves@redhat.com>
917 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
918 output. Fix '?' match.
920 2017-11-08 Joel Brobecker <brobecker@adacore.com>
922 * gdb.ada/scoped_watch: New testcase.
923 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
924 which is actually correct.
925 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
926 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
928 2017-11-08 Pedro Alves <palves@redhat.com>
930 * gdb.gdb/complaints.exp (test_initial_complaints)
931 (test_serial_complaints, test_short_complaints): Call
932 complaint_internal instead of complaint.
934 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
936 * gdb.threads/tls-core.c: New file.
937 * gdb.threads/tls-core.exp: Likewise.
939 2017-11-08 Pedro Alves <palves@redhat.com>
941 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
942 (p Exported_Capitalized): New test.
943 (p exported_capitalized): New test.
945 2017-11-07 Pedro Alves <palves@redhat.com>
947 * gdb.cp/ena-dis-br-range.exp: Add more tests.
949 2017-11-07 Pedro Alves <palves@redhat.com>
951 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
952 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
953 (disable_invalid, disable_inverted, disable_negative): New
955 ("bad numbers"): New set of tests.
957 2017-11-07 Pedro Alves <palves@redhat.com>
959 * gdb.cp/ena-dis-br-range.exp: Add tests.
961 2017-11-07 Pedro Alves <palves@redhat.com>
963 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
965 2017-11-07 Xavier Roirand <roirand@adacore.com>
966 Pedro Alves <palves@redhat.com>
968 * gdb.base/ena-dis-br.exp: Add reference to
969 gdb.cp/ena-dis-br-range.exp.
970 * gdb.cp/ena-dis-br-range.exp: New file.
971 * gdb.cp/ena-dis-br-range.cc: New file.
973 2017-11-06 Pedro Alves <palves@redhat.com>
975 * gdb.base/attach-non-pgrp-leader.c: New.
976 * gdb.base/attach-non-pgrp-leader.exp: New.
978 2017-11-06 Pedro Alves <palves@redhat.com>
980 * configure.ac: No longer check for termio.h and sgtty.h.
981 * configure: Regenerate.
982 * remote-utils.c: Include termios.h instead of gdb_termios.h.
983 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
984 Remove termio and sgtty code.
986 2017-11-03 Yao Qi <yao.qi@linaro.org>
988 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
991 2017-11-03 Yao Qi <yao.qi@linaro.org>
993 * gdb.python/py-thrhandle.exp: Skip it if python is not
996 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
998 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
999 as a breakpoint command.
1001 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
1004 * gdb.python/py-infthread.exp: Test calling
1005 InferiorThread.inferior () multiple times in a row.
1007 2017-10-27 Keith Seitz <keiths@redhat.com>
1009 * gdb.opt/inline-break.exp (break_info_1): New procedure.
1010 Test "info break" for every inlined function breakpoint.
1012 2017-10-27 Yao Qi <yao.qi@linaro.org>
1014 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
1016 2017-10-26 Patrick Frants <osscontribute@gmail.com>
1018 * gdb.cp/classes.exp (test_static_members): Test printing
1020 * gdb.cp/classes.c (struct Inner, struct Outer): New.
1021 (Inner::instance, Outer::instance): New.
1023 2017-10-24 Pedro Alves <palves@redhat.com>
1025 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
1026 extra console" test in two stages.
1028 2017-10-24 Pedro Alves <palves@redhat.com>
1030 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
1032 2017-10-24 Pedro Alves <palves@redhat.com>
1034 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
1037 2017-10-24 Pedro Alves <palves@redhat.com>
1039 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
1040 $attempt" and "stoppedtry $stoppedtry" test prefixes.
1042 2017-10-24 Pedro Alves <palves@redhat.com>
1044 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
1045 parameter and handle it. Don't output read value in test name.
1047 2017-10-24 Pedro Alves <palves@redhat.com>
1049 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
1052 2017-10-24 Pedro Alves <palves@redhat.com>
1054 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
1055 include the unstable output directory name in the test's name.
1056 (initial_setup_simple) <'set args'>: Use custom test name.
1058 2017-10-24 Pedro Alves <palves@redhat.com>
1060 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
1061 with explicit test name.
1063 2017-10-20 Pedro Alves <palves@redhat.com>
1065 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
1066 'wait -i'. Use gdb_assert and remote_close.
1068 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
1070 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
1071 number from variable rather than hard-coded.
1073 2017-10-19 Pedro Alves <palves@redhat.com>
1075 * gdb.base/long-inferior-output.c: New file.
1076 * gdb.base/long-inferior-output.exp: New file.
1078 2017-11-18 Keith Seitz <keiths@redhat.com>
1080 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
1083 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
1084 Add additional user-defined conversion operator tests.
1086 2017-10-17 Pedro Alves <palves@redhat.com>
1088 * boards/native-stdio-gdbserver.exp: Load "local-board".
1090 2017-10-17 Pedro Alves <palves@redhat.com>
1092 * gdb.base/quit-live.c: New file.
1093 * gdb.base/quit-live.exp: New file.
1095 2017-10-16 Keith Seitz <keiths@redhat.com>
1097 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
1098 (class_with_protected_typedef, class_with_private_typedef)
1099 (struct_with_public_typedef, struct_with_protected_typedef)
1100 (struct_with_private_typedef): New classes/structs.
1101 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
1102 typedefs and access specifiers.
1104 2017-10-16 Pedro Alves <palves@redhat.com>
1105 Simon Marchi <simon.marchi@polymtl.ca>
1107 * README (Local vs Remote vs Native): New section.
1108 * boards/local-board.exp: New file, with bits factored out from
1110 * boards/native-extended-gdbserver.exp: ... here. Load
1112 * boards/native-gdbserver.exp: Load "local-board".
1113 (${board}_spawn, ${board}_exec): Delete.
1114 * boards/native-stdio-gdbserver.exp: Most contents factored out to
1116 * boards/stdio-gdbserver-base.exp: ... this new file.
1117 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
1118 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
1120 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
1121 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
1122 stdio_gdbserver_command.
1123 (${board}_get_remote_address, ${board}_get_comm_port)
1124 (${board}_download, ${board}_upload): Delete.
1125 (get_target_remote_pipe_cmd): New.
1127 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
1129 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
1130 test_bkpt_deletion, test_bkpt_cond_and_cmds,
1131 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
1132 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
1133 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
1134 remove with_test_prefix.
1136 2017-10-13 Pedro Alves <palves@redhat.com>
1138 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
1139 * gdb.base/annota1.exp: Use it instead of is_remote.
1140 * gdb.base/annota3.exp: Use it instead of is_remote.
1141 * gdb.cp/annota2.exp: Use it instead of is_remote.
1142 * gdb.cp/annota3.exp: Use it instead of is_remote.
1143 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
1145 2017-10-13 Pedro Alves <palves@redhat.com>
1147 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
1148 (test_num_test_vars, run_and_count_vars, find_env)
1149 (test_set_unset_env, test_inherit_env_var): New procedures.
1150 (top level): Use them.
1152 2017-10-13 Pedro Alves <palves@redhat.com>
1154 * lib/selftest-support.exp (selftest_setup): Extend comments, and
1155 also skip on stub-like targets.
1157 2017-10-13 Pedro Alves <palves@redhat.com>
1160 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
1161 (top level): Move some tests to ...
1162 (test_not_found): ... this new procedure.
1163 (top level): Call it.
1165 2017-10-13 Pedro Alves <palves@redhat.com>
1167 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
1168 expect different "info terminal" output if testing with a
1171 2017-10-13 Pedro Alves <palves@redhat.com>
1172 Simon Marchi <simon.marchi@polymtl.ca>
1175 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
1177 2017-10-13 Pedro Alves <palves@redhat.com>
1179 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
1182 2017-10-13 Pedro Alves <palves@redhat.com>
1184 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
1187 2017-10-13 Pedro Alves <palves@redhat.com>
1189 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
1192 2017-10-13 Pedro Alves <palves@redhat.com>
1194 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
1196 (corefile_test_attach): Likewise. Check can_spawn_for_attach
1197 instead of is_remote.
1199 2017-10-13 Pedro Alves <palves@redhat.com>
1201 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
1202 (top level): Add comment.
1204 2017-10-13 Pedro Alves <palves@redhat.com>
1206 * gdb.base/remote.exp (top level): Fix comment typo and add
1209 2017-10-13 Pedro Alves <palves@redhat.com>
1210 Simon Marchi <simon.marchi@polymtl.ca>
1212 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
1213 calls and add comments. Skip test if use_gdb_stub is set.
1214 (top level): Use "set cwd" command instead of "cd" command.
1216 2017-10-13 Pedro Alves <palves@redhat.com>
1218 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
1219 is_remote target check.
1221 2017-10-13 Pedro Alves <palves@redhat.com>
1223 * gdb.base/scope.exp: Use build_executable + clean_restart +
1224 gdb_file_cmd instead of prepare_for_testing and no longer skip
1225 "before run" tests on is_remote target boards. Update comments.
1226 * boards/native-extended-gdbserver.exp
1227 (extended_gdbserver_load_last_file): New, factored out from ...
1228 (gdb_load): ... this. Move further below and add comment.
1229 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
1231 2017-10-12 Pedro Alves <palves@redhat.com>
1233 * gdb.base/attach.exp: Remove references to gdb64.
1234 * gdb.base/dbx.exp: Remove references to gdb64.
1236 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1237 Pedro Alves <palves@redhat.com>
1239 * gdb.base/label.exp: Remove is_remote target check.
1241 2017-10-12 Pedro Alves <palves@redhat.com>
1243 * gdb.base/auvx.exp (coredir): Update comment.
1244 (top level) <core_works>: Use "set cwd" command instead of "cd"
1247 2017-10-12 Pedro Alves <palves@redhat.com>
1248 Simon Marchi <simon.marchi@polymtl.ca>
1250 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
1253 2017-10-12 Pedro Alves <palves@redhat.com>
1254 Simon Marchi <simon.marchi@polymtl.ca>
1256 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
1257 Instead skip if there's any gdb_protocol set.
1259 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1260 Pedro Alves <palves@redhat.com>
1262 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
1264 2017-10-12 Pedro Alves <palves@redhat.com>
1265 Simon Marchi <simon.marchi@polymtl.ca>
1267 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
1268 instead of on dejagnu remote boards.
1270 2017-10-12 Pedro Alves <palves@redhat.com>
1271 Simon Marchi <simon.marchi@polymtl.ca>
1273 * gdb.base/inferior-died.exp: Remove is_remote and isnative
1274 checks. Use build_executable + clean_restart instead of
1275 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
1276 of enabling non-stop after starting gdb.
1278 2017-10-12 Pedro Alves <palves@redhat.com>
1280 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
1281 * gdb.threads/non-ldr-exc-2.exp: Ditto.
1282 * gdb.threads/non-ldr-exc-3.exp: Ditto.
1283 * gdb.threads/non-ldr-exc-4.exp: Ditto.
1285 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
1287 * gdb.arch/arc-tdesc-cpu.exp: New file.
1288 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
1290 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
1292 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
1294 2017-10-10 Pedro Alves <palves@redhat.com>
1296 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
1299 2017-10-10 Pedro Alves <palves@redhat.com>
1301 * lib/selftest-support.exp (selftest_setup): Update for
1302 captured_command_loop's prototype change.
1304 2017-10-09 Pedro Alves <palves@redhat.com>
1306 Test both arch1=>arch2 and arch2=>arch1.
1308 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
1309 (srcfile2, binfile2, march1, march2): Remove globals. Largely
1311 (append_arch1_options, append_arch2_options, append_arch_options)
1312 (build_executables): New procedures.
1313 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
1315 (top level): Add new 'first_arch' testing axis.
1317 2017-10-09 Pedro Alves <palves@redhat.com>
1319 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
1321 (thread_start, all_started): New functions.
1322 (main): Spawn new thread and wait until it is scheduled.
1323 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
1325 (do_test): Add 'selected_thread' parameter. Run to all_started
1326 instead of main. Explicitly set the breakpoint at main. Switch
1327 to the SELECTED_THREAD thread.
1328 (top level): Test handling the exec event with either the main
1329 thread or the second thread selected.
1331 2017-10-09 Pedro Alves <palves@redhat.com>
1333 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
1334 logic. Move STOP marker after the value checks.
1335 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
1338 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
1340 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
1342 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1344 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
1345 integer-to-dfp conversion.
1346 * gdb.base/dfp-test.exp: Likewise.
1348 2017-10-04 Pedro Alves <palves@redhat.com>
1350 * gdb.multi/hangout.c: Include <unistd.h>.
1351 (hangout_loop): New function.
1352 (main): Call alarm. Call hangout_loop in a loop.
1353 * gdb.multi/hello.c: Include <unistd.h>.
1354 (hello_loop): New function.
1355 (main): Call alarm. Call hangout_loop in a loop.
1356 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
1357 inferior with the other selected.
1359 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
1361 * gdb.mi/list-thread-groups-available.exp: New file.
1362 * gdb.mi/list-thread-groups-available.c: New file.
1364 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1366 * gdb.base/set-cwd.exp: Make it available on
1367 native-extended-gdbserver.
1369 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1371 * gdb.base/set-cwd.c: New file.
1372 * gdb.base/set-cwd.exp: Likewise.
1374 2017-10-02 Tom Tromey <tom@tromey.com>
1377 * gdb.rust/simple.rs (main): New variable "fslice".
1378 * gdb.rust/simple.exp: Add slice tests. Update string tests.
1380 2017-10-02 Tom Tromey <tom@tromey.com>
1382 * gdb.rust/simple.exp: Test ptype of a slice.
1384 2017-10-02 Tom Tromey <tom@tromey.com>
1386 * gdb.rust/simple.exp: Test index of slice.
1388 2017-09-27 Tom Tromey <tom@tromey.com>
1390 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1392 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1393 Pedro Alves <palves@redhat.com>
1395 * gdb.base/compare-sections.exp (get value of read-only section): Read
1397 (corrupt read-only section): Likewise and don't set written if patching
1400 2017-09-21 Kevin Buettner <kevinb@redhat.com>
1402 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1405 2017-09-20 Pedro Alves <palves@redhat.com>
1407 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1408 symbol names in gdb's output.
1409 * gdb.cp/overload.exp ("list all overloads"): Likewise.
1411 2017-09-20 Pedro Alves <palves@redhat.com>
1413 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
1415 (test_list_ambiguous_symbol): ... this and add a symbol name
1417 (test_list_ambiguous_function): Reimplement on top of
1418 test_list_ambiguous_symbol and also test listing ambiguous
1420 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
1421 (ambiguous_fun): ... this.
1422 (ambiguous_var): New.
1423 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
1424 (ambiguous_fun): ... this.
1425 (ambiguous_var): New.
1427 2017-09-19 John Baldwin <jhb@FreeBSD.org>
1429 * gdb.base/starti.c: New file.
1430 * gdb.base/starti.exp: New file.
1431 * lib/gdb.exp (gdb_starti_cmd): New procedure.
1433 2017-09-14 Pedro Alves <palves@redhat.com>
1435 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1436 (top level): Use it instead of runto.
1438 2017-09-11 Tom Tromey <tom@tromey.com>
1440 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1442 2017-09-11 Tom Tromey <tom@tromey.com>
1444 * gdb.python/py-infthread.exp: Add tests for new_thread event.
1445 * gdb.python/py-inferior.exp: Add tests for new inferior events.
1447 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
1449 * gdb.fortran/printing-types.exp: New file.
1450 * gdb.fortran/printing-types.exp: New file.
1452 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1454 * gdb.fortran/vla-ptype.exp: Fix typos.
1455 * gdb.fortran/vla-value.exp: Same.
1457 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1459 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1460 * gdb.mi/mi-var-child-f.exp: Likewise.
1461 * gdb.mi/mi-vla-fortran.exp: Likewise.
1463 2017-09-08 Frank Penczek <frank.penczek@intel.com>
1464 Christoph Weinmann <christoph.t.weinmann@intel.com>
1465 Bernhard Heckel <bernhard.heckel@intel.com>
1467 * gdb.fortran/ptr-indentation.f90: New file.
1468 * gdb.fortran/ptr-indentation.exp: New file.
1470 2017-09-05 Tom Tromey <tom@tromey.com>
1473 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1475 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1477 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1479 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1481 * gdb.threads/tls-nodebug-pie.c: New file.
1482 * gdb.threads/tls-nodebug-pie.exp: New file.
1484 2017-09-05 Tom Tromey <tom@tromey.com>
1486 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1489 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
1491 * gdb.multi/multi-arch-exec.exp: Test with different
1492 "follow-exec-mode" settings.
1493 (do_test): New procedure.
1495 2017-09-04 Pedro Alves <palves@redhat.com>
1497 * gdb.base/func-static.c (S::method const, S::method volatile)
1498 (S::method volatile const): New methods.
1499 (c_s, v_s, cv_s): New instances.
1500 (main): Call method() on them.
1501 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1502 (cannot_resolve): New procedure.
1503 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
1504 print-quote-unquoted columns.
1505 (do_test): Test printing each scope too.
1507 2017-09-04 Pedro Alves <palves@redhat.com>
1509 * gdb.base/local-static.exp: Also test with
1510 class::method::variable wholly quoted.
1511 * gdb.cp/m-static.exp (class::method::variable): Remove test.
1513 2017-09-04 Pedro Alves <palves@redhat.com>
1515 * gdb.base/local-static.c: New.
1516 * gdb.base/local-static.cc: New.
1517 * gdb.base/local-static.exp: New.
1519 2017-09-04 Pedro Alves <palves@redhat.com>
1521 * gdb.asm/asm-source.exp: Add casts to int.
1522 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1523 (dataglobal64_1, dataglobal64_2): New globals.
1524 * gdb.base/nodebug.exp: Test different expressions involving the
1525 new globals, with print, whatis and ptype. Add casts to int.
1526 * gdb.base/solib-display.exp: Add casts to int.
1527 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
1528 * gdb.cp/m-static.exp: Add cast to int.
1529 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1530 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1531 tls variable with no debug info without a cast. Test with a cast
1533 * gdb.trace/entry-values.exp: Add casts.
1535 2017-09-04 Pedro Alves <palves@redhat.com>
1537 * gdb.base/nodebug.exp: Test that ptype's error about functions
1538 with unknown return type includes the function name too.
1540 2017-09-04 Pedro Alves <palves@redhat.com>
1542 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
1543 return type of munmap in infcall.
1544 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
1545 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
1546 type of ftell in infcall.
1547 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
1548 type of getpid in infcall.
1549 * gdb.base/infcall-exec.exp: Cast return type of execlp in
1551 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
1552 Bail on failure to extract the pid.
1553 * gdb.base/nodebug.c: #include <stdint.h>.
1554 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
1556 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
1557 Change expected output of print/whatis/ptype with functions with
1558 no debug info. Test all supported languages. Call
1559 test_call_promotion.
1560 * gdb.compile/compile.exp: Adjust expected output to expect
1562 * gdb.threads/siginfo-threads.exp: Likewise.
1564 2017-09-04 Pedro Alves <palves@redhat.com>
1566 * gdb.base/callfuncs.exp (do_function_calls): New parameter
1567 "prototypes". Test calling float functions via prototyped and
1568 unprototyped function pointers.
1569 (perform_all_tests): New parameter "prototypes". Pass it down.
1570 (top level): Pass down "prototypes" parameter to
1573 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1575 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
1576 Test with nested loops.
1578 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1580 * gdb.base/commands.exp: Call the new procedures.
1581 (loop_break_test, loop_continue_test): New procedures.
1583 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1585 * gdb.base/commands.exp: Call new procedure.
1586 (define_if_without_arg_test): New procedure.
1588 2017-09-04 Pedro Alves <palves@redhat.com>
1590 * gdb.base/list-ambiguous.exp: New file.
1591 * gdb.base/list-ambiguous0.c: New file.
1592 * gdb.base/list-ambiguous1.c: New file.
1593 * gdb.base/list.exp (test_list_range): Adjust expected output.
1595 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
1597 * gdb.base/share-env-with-gdbserver.c: New file.
1598 * gdb.base/share-env-with-gdbserver.exp: Likewise.
1600 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1602 * gdb.base/commands.exp (gdbvar_simple_if_test,
1603 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
1604 progvar_simple_if_test, progvar_simple_while_test,
1605 progvar_complex_if_while_test, user_defined_command_test,
1606 user_defined_command_args_eval,
1607 user_defined_command_args_stack_test,
1608 user_defined_command_manyargs_test, bp_deleted_in_command_test,
1609 temporary_breakpoint_commands,
1610 gdb_test_no_prompt, redefine_hook_test,
1611 redefine_backtrace_test): Remove "global gdb_prompt".
1613 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1615 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
1616 New proc, call it from toplevel.
1618 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
1621 * gdb.server/normal.c: New file, copied from gdb.base.
1622 * gdb.server/run-without-local-binary.exp: New file.
1624 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
1626 * gdb.arch/sparc64-adi.exp: New file.
1627 * gdb.arch/sparc64-adi.c: New file.
1629 2017-08-22 Pedro Alves <palves@redhat.com>
1631 * gdb.cp/overload.exp (line_range_pattern): New procedure.
1632 (top level): Add "list all overloads" tests.
1634 2017-08-22 Tom Tromey <tom@tromey.com>
1636 * gdb.gdb/xfullpath.exp: Remove.
1638 2017-08-21 Pedro Alves <palves@redhat.com>
1641 * gdb.base/symbol-alias.c: New.
1642 * gdb.base/symbol-alias2.c: New.
1643 * gdb.base/symbol-alias.exp: New.
1645 2017-08-21 Pedro Alves <palves@redhat.com>
1647 * gdb.base/dfp-test.c
1648 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
1649 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
1650 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
1651 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
1652 * gdb.base/whatis-ptype-typedefs.c: New.
1653 * gdb.base/whatis-ptype-typedefs.exp: New.
1654 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
1655 (an_int, an_int_type, an_int_type2): New globals.
1656 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
1657 involving typedefs and cast expressions.
1658 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
1659 (lookup_typedefs_function): New.
1660 (typedefs_pretty_printers_dict): New.
1661 (top level): Register lookup_typedefs_function in
1662 gdb.pretty_printers.
1664 2017-08-18 Yao Qi <yao.qi@linaro.org>
1666 * gdb.server/unittest.exp: New.
1668 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
1671 * gdb.base/environ.exp: Add test to check if 'unset environment'
1674 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1676 * lib/gdb.exp (universal_compile_options): New caching proc.
1677 (gdb_compile): Suppress GCC's coloring of messages.
1679 2017-08-14 Tom Tromey <tom@tromey.com>
1682 * gdb.base/printcmds.exp (test_radices): New function.
1683 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
1684 * gdb.base/sizeof.exp (check_valueof): Use p/d.
1685 * lib/gdb.exp (get_integer_valueof): Use p/d.
1687 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
1689 * lib/gdb.exp (get_valueof): Don't capture end-of-line
1692 2017-08-05 Tom Tromey <tom@tromey.com>
1694 * gdb.rust/simple.exp: Allow String to appear in a different
1697 2017-07-26 Yao Qi <yao.qi@linaro.org>
1699 * gdb.gdb/unittest.exp: Invoke command
1700 "maintenance check xml-descriptions".
1702 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1704 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
1706 (hex128): Drop erroneous calculation of parameters.
1708 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
1710 * gdb.python/py-unwind.exp: Disable stack protection when
1713 2017-07-20 Pedro Alves <palves@redhat.com>
1715 * gdb.base/default.exp (set language): Adjust expected output.
1717 2017-07-20 Pedro Alves <palves@redhat.com>
1719 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
1720 (test_minsym): ... this, and make static.
1721 (get_pck__foo__bar__minsym): Rename to ...
1722 (get_test_minsym): ... this.
1723 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
1724 symbol names and comments.
1725 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
1726 (get_test_minsym): ... this.
1727 (pck__foo__bar__minsym__2): Rename to ...
1728 (test_minsym): ... this.
1731 2017-07-17 Pedro Alves <palves@redhat.com>
1733 * gdb.base/completion.exp: Adjust expected output.
1734 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
1735 the completer works.
1737 2017-07-17 Pedro Alves <palves@redhat.com>
1739 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
1741 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1743 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
1745 2017-07-14 Tom Tromey <tom@tromey.com>
1748 * gdb.rust/simple.exp: Add tests.
1750 2017-07-14 Tom Tromey <tom@tromey.com>
1752 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
1754 2017-07-14 Pedro Alves <palves@redhat.com>
1756 * gdb.linespec/base/one/thefile.cc (z1): New function.
1757 * gdb.linespec/base/two/thefile.cc (z2): New function.
1758 * gdb.linespec/linespec.exp: Add tests.
1760 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1762 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
1763 to mi_create_breakpoint.
1765 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1767 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
1768 mi_create_breakpoint.
1770 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
1772 * gdb.dlang/demangle.exp: Update for demangling changes.
1774 2017-07-09 Tom Tromey <tom@tromey.com>
1776 * gdb.dwarf2/shortpiece.exp: New file.
1778 2017-07-06 David Blaikie <dblaikie@gmail.com>
1780 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
1781 built from fissiont-multi-cu{1,2}.c.
1782 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
1783 except putting 'main' and 'func' in separate CUs in the same DWO file.
1784 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
1786 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
1789 2017-07-06 Pedro Alves <palves@redhat.com>
1791 * gdb.python/py-unwind.exp: Test flushregs.
1793 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1796 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
1797 tests for alias commands and trailing whitespace.
1799 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1802 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
1805 2017-06-29 Pedro Alves <palves@redhat.com>
1807 * gdb.base/printcmds.exp: Add tests.
1809 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
1812 * gdb.base/reread-readsym.exp: New file.
1813 * gdb.base/reread-readsym.c: New file.
1815 2017-06-21 Kevin Buettner <kevinb@redhat.com>
1817 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
1820 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
1822 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
1824 * gdb.arch/powerpc-power9.s: Likewise.
1826 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1828 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
1829 on 32-bit x86 targets. Exploit is_*_target macros where
1832 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1834 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
1837 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1839 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
1840 located in one or more DWARF pieces.
1842 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1844 * lib/gdb.exp (get_endianness): New proc.
1845 * gdb.arch/aarch64-fp.exp: Use it.
1846 * gdb.arch/altivec-regs.exp: Likewise.
1847 * gdb.arch/e500-regs.exp: Likewise.
1848 * gdb.arch/vsx-regs.exp: Likewise.
1849 * gdb.base/dump.exp: Likewise.
1850 * gdb.base/funcargs.exp: Likewise.
1851 * gdb.base/gnu_vector.exp: Likewise.
1852 * gdb.dwarf2/formdata16.exp: Likewise.
1853 * gdb.dwarf2/implptrpiece.exp: Likewise.
1854 * gdb.dwarf2/nonvar-access.exp: Likewise.
1855 * gdb.python/py-inferior.exp: Likewise.
1856 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1858 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1861 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
1862 stack value pieces are taken from the LSB end.
1864 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1866 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
1867 variable at nonzero offset.
1869 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1871 * gdb.dwarf2/var-access.c: New file.
1872 * gdb.dwarf2/var-access.exp: New test.
1873 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
1875 2017-06-12 Tom Tromey <tom@tromey.com>
1877 * gdb.dwarf2/formdata16.exp: Add tests.
1879 2017-06-12 Tom Tromey <tom@tromey.com>
1881 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
1883 2017-06-12 Tom Tromey <tom@tromey.com>
1886 * gdb.reverse/i386-sse-reverse.exp: Update tests.
1887 * gdb.arch/vsx-regs.exp: Update tests.
1888 * gdb.arch/s390-vregs.exp (hex128): New proc.
1890 * gdb.arch/altivec-regs.exp: Update tests.
1892 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1894 * gdb.base/startup-with-shell.c: New file.
1895 * gdb.base/startup-with-shell.exp: Likewise.
1897 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1899 * gdb.server/non-existing-program.exp: Update regex in order to
1900 reflect the fact that gdbserver is now using fork_inferior (with a
1901 shell) to startup the inferior.
1903 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
1905 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
1906 support function calls from GDB.
1908 2017-05-21 Tom Tromey <tom@tromey.com>
1911 * gdb.rust/unsized.exp: New file.
1912 * gdb.rust/unsized.rs: New file.
1914 2017-05-19 Tom Tromey <tom@tromey.com>
1917 * gdb.rust/watch.exp: New file.
1918 * gdb.rust/watch.rs: New file.
1920 2017-05-18 Tom Tromey <tom@tromey.com>
1922 * gdb.rust/simple.exp: Allow Box to be qualified.
1924 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
1926 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
1928 2017-05-18 Pedro Alves <palves@redhat.com>
1930 * gdb.base/fileio.c (test_write, test_read, test_close)
1931 (test_fstat): Don't print 'ret' in the fail path.
1933 2017-05-18 Pedro Alves <palves@redhat.com>
1935 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
1936 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
1937 (test_system, test_rename, test_unlink, test_time): Change
1939 * gdb.base/fileio.exp (stop_msg): Adjust.
1941 2017-05-18 Pedro Alves <palves@redhat.com>
1943 * gdb.base/fileio.c (null_str): New global.
1944 (test_stat): Use it.
1945 * gdb.base/fileio.exp: Remove nowarnings.
1947 2017-05-17 Yao Qi <yao.qi@linaro.org>
1949 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
1951 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
1953 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
1955 (top-level): Invoke test_set_inferior_tty.
1957 2017-05-04 Pedro Alves <palves@redhat.com>
1959 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
1960 Add parens to print call for Python 3.
1962 2017-05-03 Keith Seitz <keiths@redhat.com>
1964 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
1967 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1969 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
1972 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1974 * gdb.python/py-record-btrace.exp: Remove test for
1975 gdb.BtraceInstruction.error.
1977 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1979 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
1981 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1983 * gdb.python/py-record-btrace-threads.c: New file.
1984 * gdb.python/py-record-btrace-threads.exp: New file.
1986 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
1989 * gdb.base/environ.exp: Make test available in all architectures.
1990 Move bits related to "info program" testing to
1991 gdb.base/info-program.exp. Rewrite tests to use the two new
1992 procedures mentione below.
1993 (test_set_show_env_var) New procedure.
1994 (test_set_show_env_var_equal): Likewise.
1995 * gdb.base/info-program.exp: New file.
1997 2017-04-27 Keith Seitz <keiths@redhat.com>
1999 * gdb.cp/oranking.cc (test15): New function.
2000 (main): Call test15 and declare additional variables for testing.
2001 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
2002 "p foo101('abc')" tests.
2003 Add tests for cv qualifier overloads.
2004 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
2005 "lvalue reference overload" test.
2006 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
2007 "print value of f1 on Child&& in f2" test.
2009 2017-04-19 Pedro Alves <palves@redhat.com>
2011 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
2013 (top level): Call it.
2014 * lib/gdb.exp (gdb_define_cmd): New procedure.
2016 2017-04-12 Pedro Alves <palves@redhat.com>
2019 * gdb.cp/wide_char_types.c: Include <wchar.h>.
2020 (wchar): New global.
2021 * gdb.cp/wide_char_types.exp (wide_char_types_program)
2022 (do_test_wide_char, wide_char_types_no_program, top level): Add
2025 2017-04-12 Pedro Alves <palves@redhat.com>
2028 * gdb.cp/wide_char_types.c: New file.
2029 * gdb.cp/wide_char_types.exp: New file.
2031 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
2034 * gdb.trace/tsv.exp: Add test for "tsave -r".
2036 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
2038 * gdb.dlang/watch-loc.c: New file.
2039 * gdb.dlang/watch-loc.exp: New file.
2041 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2043 * gdb.python/py-section-script.exp (sepdebug): New testcases.
2045 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2047 * gdb.arch/arc-analyze-prologue.S: New file.
2048 * gdb.arch/arc-analyze-prologue.exp: Likewise.
2050 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2052 * gdb.arch/arc-decode-insn.S: New file.
2053 * gdb.arch/arc-decode-insn.exp: Likewise.
2055 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
2058 * gdb.arch/sparc64-regs.exp: New file.
2059 * gdb.arch/sparc64-regs.S: Likewise.
2061 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
2063 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
2064 and memory view on Python 3.
2066 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
2067 Keith Seitz <keiths@redhat.com>
2070 * gdb.cp/demangle.exp: Add rvalue reference tests.
2071 * gdb.cp/rvalue-ref-casts.cc: New file.
2072 * gdb.cp/rvalue-ref-casts.exp: New file.
2073 * gdb.cp/rvalue-ref-overload.cc: New file.
2074 * gdb.cp/rvalue-ref-overload.exp: New file.
2075 * gdb.cp/rvalue-ref-params.cc: New file.
2076 * gdb.cp/rvalue-ref-params.exp: New file.
2077 * gdb.cp/rvalue-ref-sizeof.cc: New file.
2078 * gdb.cp/rvalue-ref-sizeof.exp: New file.
2079 * gdb.cp/rvalue-ref-types.cc: New file.
2080 * gdb.cp/rvalue-ref-types.exp: New file.
2081 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
2082 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
2084 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2086 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
2089 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2091 * lib/mi-support.exp (mi_gdb_test): Add additional message
2092 for unexpected output.
2094 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2096 * gdb.base/examine-backward.c (Barrier): New character array
2097 constant, to ensure that TestStrings is preceded by a string
2100 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2102 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
2103 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
2104 and implicit pointer into such a location.
2106 2017-03-16 Doug Evans <dje@google.com>
2108 * gdb.python/py-lazy-string (pointer): Really add new typedef.
2110 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
2112 * gdb.cp/m-static.exp: Fix expectation for prototype of
2113 test5.single_constructor and single_constructor::single_constructor.
2115 2017-03-16 Doug Evans <dje@google.com>
2117 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
2118 * gdb.guile/scm-lazy-string.c: New file.
2119 * gdb.guile/scm-value.exp: Move lazy string tests to ...
2120 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
2121 for pointer, array, typedef lazy strings.
2123 2017-03-16 Doug Evans <dje@google.com>
2125 PR python/17728, python/18439, python/18779
2126 * gdb.python/py-value.c (main) Delete locals sptr, sn.
2127 * gdb.python/py-lazy-string.c (pointer): New typedef.
2128 (main): New locals ptr, array, typedef_ptr.
2129 * gdb.python/py-value.exp: Move lazy string tests to ...
2130 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
2131 array, typedef lazy strings.
2133 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
2135 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
2136 Add optional 'test' parameter.
2138 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2140 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2141 Skip for versions of DejaGnu < 1.5.
2143 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2145 * lib/gdb.exp (dejagnu_version): New proc.
2146 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2147 Use dejagnu_version.
2149 2017-03-10 Keith Seitz <keiths@redhat.com>
2152 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
2153 type from destructor regexps.
2154 Add a branch which actually passes the test.
2155 Adjust "ptype t5i" test names.
2157 2017-03-08 Pedro Alves <palves@redhat.com>
2159 * gdb.base/step-over-exit.exp: Add explicit test message.
2161 2017-03-08 Pedro Alves <palves@redhat.com>
2164 * gdb.threads/interrupt-while-step-over.c: New file.
2165 * gdb.threads/interrupt-while-step-over.exp: New file.
2167 2017-03-08 Pedro Alves <palves@redhat.com>
2169 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
2170 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
2172 2017-03-08 Pedro Alves <palves@redhat.com>
2174 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
2175 PKRU as not supported as a PASS.
2177 2017-03-08 Pedro Alves <palves@redhat.com>
2179 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
2180 prefix instead of $binfile1/$binfile2.
2181 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
2183 * gdb.python/py-completion.exp: Use "load python file" as test
2184 messages instead of unstable path names.
2186 2017-03-08 Pedro Alves <palves@redhat.com>
2187 Jan Kratochvil <jan.kratochvil@redhat.com>
2190 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2192 (top level): Call it.
2194 2017-03-08 Pedro Alves <palves@redhat.com>
2197 * gdb.tui/tui-nl-filtered-output.exp: New file.
2199 2017-03-08 Pedro Alves <palves@redhat.com>
2201 * gdb.base/completion.exp: Move TUI completion tests to ...
2202 * gdb.tui/completion.exp: ... this new file.
2204 2017-03-08 Pedro Alves <palves@redhat.com>
2206 * gdb.base/tui-disasm-long-lines.c,
2207 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
2208 gdb.base/tui-layout.exp: Move to ...
2209 * gdb.tui/: ... this new directory.
2211 2017-03-07 Pedro Alves <palves@redhat.com>
2213 * gdb.base/tui-layout.c: New file.
2214 * gdb.base/tui-layout.exp: New file.
2216 2017-03-07 Pedro Alves <palves@redhat.com>
2218 * gdb.base/tui-layout.c: Rename to ...
2219 * gdb.base/tui-disasm-long-lines.c: ... this.
2220 * gdb.base/tui-layout.exp: Rename to ...
2221 * gdb.base/tui-disasm-long-lines.exp: ... this.
2223 2017-03-07 Pedro Alves <palves@redhat.com>
2225 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
2227 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2229 * i386-mpx-call.c: New file.
2230 * i386-mpx-call.exp: New file.
2232 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
2234 * gdb.arch/powerpc-power.exp: Delete test.
2235 * gdb.arch/powerpc-power.s: Likewise.
2236 * gdb.disasm/disassembler-options.exp: New test.
2237 * gdb.arch/powerpc-altivec.exp: Likewise.
2238 * gdb.arch/powerpc-altivec.s: Likewise.
2239 * gdb.arch/powerpc-altivec2.exp: Likewise.
2240 * gdb.arch/powerpc-altivec2.s: Likewise.
2241 * gdb.arch/powerpc-altivec3.exp: Likewise.
2242 * gdb.arch/powerpc-altivec3.s: Likewise.
2243 * gdb.arch/powerpc-power7.exp: Likewise.
2244 * gdb.arch/powerpc-power7.s: Likewise.
2245 * gdb.arch/powerpc-power8.exp: Likewise.
2246 * gdb.arch/powerpc-power8.s: Likewise.
2247 * gdb.arch/powerpc-power9.exp: Likewise.
2248 * gdb.arch/powerpc-power9.s: Likewise.
2249 * gdb.arch/powerpc-vsx.exp: Likewise.
2250 * gdb.arch/powerpc-vsx.s: Likewise.
2251 * gdb.arch/powerpc-vsx2.exp: Likewise.
2252 * gdb.arch/powerpc-vsx2.s: Likewise.
2253 * gdb.arch/powerpc-vsx3.exp: Likewise.
2254 * gdb.arch/powerpc-vsx3.s: Likewise.
2255 * gdb.arch/arm-disassembler-options.exp: Likewise.
2256 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2257 * gdb.arch/s390-disassembler-options.exp: Likewise.
2259 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
2261 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
2262 (check_supported_features): ... this. Changed return type to void.
2263 (supports_rdseed): New static global.
2264 (rdseed): Check supports_rdseed.
2265 (initialize): Call check_supported_features.
2267 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2269 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
2270 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
2272 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
2273 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
2275 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2277 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
2280 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2282 * gdb.dwarf2/formdata16.c: New file.
2283 * gdb.dwarf2/formdata16.exp: New file.
2284 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
2286 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2288 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
2289 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
2290 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
2291 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
2294 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2296 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
2298 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
2301 * gdb.base/maint.exp: Add testcases for when the commands do
2304 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2306 * gdb.cp/chained-calls.exp: Use p instead of P.
2308 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
2310 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
2311 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
2313 2017-02-14 Tom Tromey <tom@tromey.com>
2316 * gdb.python/py-events.exp: Add before_prompt event tests.
2318 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2320 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
2322 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2324 * gdb.linespec/explicit.c (my_unique_function_name): New function.
2325 (main): Call my_unique_function_name.
2326 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
2327 completion of patterns with a single match.
2328 Add missing -re switches to gdb_test_multiple calls.
2330 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2332 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
2333 return if core file is not recognized.
2335 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2337 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
2340 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2342 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
2345 2017-02-10 Tom Tromey <tom@tromey.com>
2347 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
2349 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
2352 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
2354 2017-02-08 Jerome Guitton <guitton@adacore.com>
2356 * gdb.base/define.exp: Add test for command abbreviations
2359 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
2361 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
2362 * gdb.reverse/insn-reverse-x86.c: New file.
2364 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
2367 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
2369 2017-02-03 Tom Tromey <tom@tromey.com>
2372 * gdb.rust/simple.exp: Add new tests.
2374 2017-02-02 Pedro Alves <palves@redhat.com>
2376 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
2379 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2381 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2382 taking a 2-byte value out of a 4-byte DWARF implicit value on
2384 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2385 logic. Add test cases for DW_OP_implicit.
2387 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2389 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2391 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2393 * gdb.btrace/enable.exp: Call gdb_exit before
2394 skip_gdbserver_tests.
2396 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2398 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2401 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2403 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2404 the test is skipped.
2405 * gdb.btrace/data.exp: Likewise.
2406 * gdb.btrace/delta.exp: Likewise.
2407 * gdb.btrace/dlopen.exp: Likewise.
2408 * gdb.btrace/enable-running.exp: Likewise.
2409 * gdb.btrace/enable.exp: Likewise.
2410 * gdb.btrace/exception.exp: Likewise.
2411 * gdb.btrace/function_call_history.exp: Likewise.
2412 * gdb.btrace/gcore.exp: Likewise.
2413 * gdb.btrace/instruction_history.exp: Likewise.
2414 * gdb.btrace/multi-thread-step.exp: Likewise.
2415 * gdb.btrace/nohist.exp: Likewise.
2416 * gdb.btrace/non-stop.exp: Likewise.
2417 * gdb.btrace/reconnect.exp: Likewise.
2418 * gdb.btrace/record_goto-step.exp: Likewise.
2419 * gdb.btrace/record_goto.exp: Likewise.
2420 * gdb.btrace/rn-dl-bind.exp: Likewise.
2421 * gdb.btrace/segv.exp: Likewise.
2422 * gdb.btrace/step.exp: Likewise.
2423 * gdb.btrace/stepi.exp: Likewise.
2424 * gdb.btrace/tailcall-only.exp: Likewise.
2425 * gdb.btrace/tailcall.exp: Likewise.
2426 * gdb.btrace/tsx.exp: Likewise.
2427 * gdb.btrace/unknown_functions.exp: Likewise.
2428 * gdb.btrace/vdso.exp: Likewise.
2430 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2432 * gdb.btrace/enable-running.c: New.
2433 * gdb.btrace/enable-running.exp: New.
2435 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2437 * gdb.arch/amd64-gs_base.c: New file.
2438 * gdb.arch/amd64-gs_base.exp: New file.
2440 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2442 * lib/memory.exp: Remove spurious empty newlines.
2444 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
2446 * gdb.python/py-bad-printers.exp: Load python file using "source".
2447 * gdb.python/py-events.exp: Likewise.
2448 * gdb.python/py-evsignal.exp: Likewise.
2449 * gdb.python/py-evthreads.exp: Likewise.
2450 * gdb.python/py-frame-args.exp: Likewise.
2451 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2452 * gdb.python/py-framefilter-mi.exp: Likewise.
2453 * gdb.python/py-framefilter.exp: Likewise.
2454 * gdb.python/py-mi.exp: Likewise.
2455 * gdb.python/py-pp-maint.exp: Likewise.
2456 * gdb.python/py-pp-registration.exp: Likewise.
2457 * gdb.python/py-prettyprint.exp: Likewise.
2458 (run_lang_tests): Likewise.
2459 * gdb.python/py-typeprint.exp: Likewise.
2461 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2463 * lib/memory.exp: New file.
2464 * lib/gdb.exp: Load memory.exp.
2465 * gdb.base/memattr.exp (delete_memory): Move proc to
2466 lib/memory.exp and rename to delete_memory_regions.
2467 Replace delete_memory with delete_memory_regions.
2468 Cleanup memory regions before tests.
2469 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2472 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2474 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2476 (initialize): New function conditionally defined.
2477 (testcases): Move within conditional block.
2478 (main): Call initialize.
2479 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2480 of gdb.reverse/insn-reverse.c.
2481 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2482 gdb.reverse/insn-reverse.c.
2484 2017-01-26 Yao Qi <yao.qi@linaro.org>
2486 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2487 disassemble on address 0.
2489 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
2490 Yao Qi <yao.qi@linaro.org>
2492 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2493 * gdb.dwarf2/implptr-64bit.S: Remove.
2494 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
2495 variables in caller's context. Add DW_OP_implicit_value.
2497 2017-01-25 Yao Qi <yao.qi@linaro.org>
2499 * lib/dwarf.exp (Dwarf::_location): Handle
2500 DW_OP_GNU_implicit_pointer with proper size.
2502 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2504 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2505 and add untested calls.
2507 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2509 * gdb.python/python.exp: Check line number against what GDB thinks
2510 the line number is for func1.
2512 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2514 * gdb.dlang/debug-expr.exp: New file.
2516 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
2518 Fix test names for the following files:
2520 * gdb.ada/exec_changed.exp
2521 * gdb.ada/info_types.exp
2522 * gdb.arch/aarch64-atomic-inst.exp
2523 * gdb.arch/aarch64-fp.exp
2524 * gdb.arch/altivec-abi.exp
2525 * gdb.arch/altivec-regs.exp
2526 * gdb.arch/amd64-byte.exp
2527 * gdb.arch/amd64-disp-step.exp
2528 * gdb.arch/amd64-dword.exp
2529 * gdb.arch/amd64-entry-value-inline.exp
2530 * gdb.arch/amd64-entry-value-param.exp
2531 * gdb.arch/amd64-entry-value-paramref.exp
2532 * gdb.arch/amd64-entry-value.exp
2533 * gdb.arch/amd64-i386-address.exp
2534 * gdb.arch/amd64-invalid-stack-middle.exp
2535 * gdb.arch/amd64-invalid-stack-top.exp
2536 * gdb.arch/amd64-optimout-repeat.exp
2537 * gdb.arch/amd64-prologue-skip.exp
2538 * gdb.arch/amd64-prologue-xmm.exp
2539 * gdb.arch/amd64-stap-special-operands.exp
2540 * gdb.arch/amd64-stap-wrong-subexp.exp
2541 * gdb.arch/amd64-tailcall-cxx.exp
2542 * gdb.arch/amd64-tailcall-noret.exp
2543 * gdb.arch/amd64-tailcall-ret.exp
2544 * gdb.arch/amd64-tailcall-self.exp
2545 * gdb.arch/amd64-word.exp
2546 * gdb.arch/arm-bl-branch-dest.exp
2547 * gdb.arch/arm-disp-step.exp
2548 * gdb.arch/arm-neon.exp
2549 * gdb.arch/arm-single-step-kernel-helper.exp
2550 * gdb.arch/avr-flash-qualifier.exp
2551 * gdb.arch/disp-step-insn-reloc.exp
2552 * gdb.arch/e500-abi.exp
2553 * gdb.arch/e500-regs.exp
2554 * gdb.arch/ftrace-insn-reloc.exp
2555 * gdb.arch/i386-avx512.exp
2556 * gdb.arch/i386-bp_permanent.exp
2557 * gdb.arch/i386-byte.exp
2558 * gdb.arch/i386-cfi-notcurrent.exp
2559 * gdb.arch/i386-disp-step.exp
2560 * gdb.arch/i386-dr3-watch.exp
2561 * gdb.arch/i386-float.exp
2562 * gdb.arch/i386-gnu-cfi.exp
2563 * gdb.arch/i386-mpx-map.exp
2564 * gdb.arch/i386-mpx-sigsegv.exp
2565 * gdb.arch/i386-mpx-simple_segv.exp
2566 * gdb.arch/i386-mpx.exp
2567 * gdb.arch/i386-permbkpt.exp
2568 * gdb.arch/i386-prologue.exp
2569 * gdb.arch/i386-signal.exp
2570 * gdb.arch/i386-size-overlap.exp
2571 * gdb.arch/i386-unwind.exp
2572 * gdb.arch/i386-word.exp
2573 * gdb.arch/mips-fcr.exp
2574 * gdb.arch/powerpc-d128-regs.exp
2575 * gdb.arch/powerpc-stackless.exp
2576 * gdb.arch/ppc64-atomic-inst.exp
2577 * gdb.arch/s390-stackless.exp
2578 * gdb.arch/s390-tdbregs.exp
2579 * gdb.arch/s390-vregs.exp
2580 * gdb.arch/sparc-sysstep.exp
2581 * gdb.arch/thumb-bx-pc.exp
2582 * gdb.arch/thumb-singlestep.exp
2583 * gdb.arch/thumb2-it.exp
2584 * gdb.arch/vsx-regs.exp
2585 * gdb.asm/asm-source.exp
2586 * gdb.base/a2-run.exp
2587 * gdb.base/advance.exp
2588 * gdb.base/all-bin.exp
2591 * gdb.base/arithmet.exp
2592 * gdb.base/async-shell.exp
2593 * gdb.base/async.exp
2594 * gdb.base/attach-pie-noexec.exp
2595 * gdb.base/attach-twice.exp
2596 * gdb.base/auto-load.exp
2598 * gdb.base/bitfields.exp
2599 * gdb.base/break-always.exp
2600 * gdb.base/break-caller-line.exp
2601 * gdb.base/break-entry.exp
2602 * gdb.base/break-inline.exp
2603 * gdb.base/break-on-linker-gcd-function.exp
2604 * gdb.base/break-probes.exp
2605 * gdb.base/break.exp
2606 * gdb.base/breakpoint-shadow.exp
2607 * gdb.base/call-ar-st.exp
2608 * gdb.base/call-sc.exp
2609 * gdb.base/call-signal-resume.exp
2610 * gdb.base/call-strs.exp
2611 * gdb.base/callfuncs.exp
2612 * gdb.base/catch-fork-static.exp
2613 * gdb.base/catch-gdb-caused-signals.exp
2614 * gdb.base/catch-load.exp
2615 * gdb.base/catch-signal-fork.exp
2616 * gdb.base/catch-signal.exp
2617 * gdb.base/catch-syscall.exp
2618 * gdb.base/charset.exp
2619 * gdb.base/checkpoint.exp
2620 * gdb.base/chng-syms.exp
2621 * gdb.base/code-expr.exp
2622 * gdb.base/code_elim.exp
2623 * gdb.base/commands.exp
2624 * gdb.base/completion.exp
2625 * gdb.base/complex.exp
2626 * gdb.base/cond-expr.exp
2627 * gdb.base/condbreak.exp
2628 * gdb.base/consecutive.exp
2629 * gdb.base/continue-all-already-running.exp
2630 * gdb.base/coredump-filter.exp
2631 * gdb.base/corefile.exp
2633 * gdb.base/debug-expr.exp
2634 * gdb.base/define.exp
2636 * gdb.base/disabled-location.exp
2637 * gdb.base/disasm-end-cu.exp
2638 * gdb.base/disasm-optim.exp
2639 * gdb.base/display.exp
2640 * gdb.base/duplicate-bp.exp
2641 * gdb.base/ena-dis-br.exp
2642 * gdb.base/ending-run.exp
2643 * gdb.base/enumval.exp
2644 * gdb.base/environ.exp
2645 * gdb.base/eu-strip-infcall.exp
2646 * gdb.base/eval-avoid-side-effects.exp
2647 * gdb.base/eval-skip.exp
2648 * gdb.base/exitsignal.exp
2649 * gdb.base/expand-psymtabs.exp
2650 * gdb.base/filesym.exp
2651 * gdb.base/find-unmapped.exp
2652 * gdb.base/finish.exp
2653 * gdb.base/float.exp
2654 * gdb.base/foll-exec-mode.exp
2655 * gdb.base/foll-exec.exp
2656 * gdb.base/foll-fork.exp
2657 * gdb.base/fortran-sym-case.exp
2658 * gdb.base/freebpcmd.exp
2659 * gdb.base/func-ptr.exp
2660 * gdb.base/func-ptrs.exp
2661 * gdb.base/funcargs.exp
2662 * gdb.base/gcore-buffer-overflow.exp
2663 * gdb.base/gcore-relro-pie.exp
2664 * gdb.base/gcore-relro.exp
2665 * gdb.base/gcore.exp
2666 * gdb.base/gdb1090.exp
2667 * gdb.base/gdb11530.exp
2668 * gdb.base/gdb11531.exp
2669 * gdb.base/gdb1821.exp
2670 * gdb.base/gdbindex-stabs.exp
2671 * gdb.base/gdbvars.exp
2672 * gdb.base/hbreak.exp
2673 * gdb.base/hbreak2.exp
2674 * gdb.base/included.exp
2675 * gdb.base/infcall-input.exp
2676 * gdb.base/inferior-died.exp
2677 * gdb.base/infnan.exp
2678 * gdb.base/info-macros.exp
2679 * gdb.base/info-os.exp
2680 * gdb.base/info-proc.exp
2681 * gdb.base/info-shared.exp
2682 * gdb.base/info-target.exp
2683 * gdb.base/infoline.exp
2684 * gdb.base/interp.exp
2685 * gdb.base/interrupt.exp
2686 * gdb.base/jit-reader.exp
2687 * gdb.base/jit-simple.exp
2688 * gdb.base/kill-after-signal.exp
2689 * gdb.base/kill-detach-inferiors-cmd.exp
2690 * gdb.base/label.exp
2691 * gdb.base/langs.exp
2692 * gdb.base/ldbl_e308.exp
2693 * gdb.base/line-symtabs.exp
2694 * gdb.base/linespecs.exp
2696 * gdb.base/long_long.exp
2697 * gdb.base/longest-types.exp
2698 * gdb.base/maint.exp
2699 * gdb.base/max-value-size.exp
2700 * gdb.base/memattr.exp
2701 * gdb.base/mips_pro.exp
2702 * gdb.base/morestack.exp
2703 * gdb.base/moribund-step.exp
2704 * gdb.base/multi-forks.exp
2705 * gdb.base/nested-addr.exp
2706 * gdb.base/nextoverexit.exp
2707 * gdb.base/noreturn-finish.exp
2708 * gdb.base/noreturn-return.exp
2709 * gdb.base/nostdlib.exp
2710 * gdb.base/offsets.exp
2711 * gdb.base/opaque.exp
2712 * gdb.base/pc-fp.exp
2713 * gdb.base/permissions.exp
2714 * gdb.base/print-symbol-loading.exp
2715 * gdb.base/prologue-include.exp
2716 * gdb.base/psymtab.exp
2717 * gdb.base/ptype.exp
2718 * gdb.base/random-signal.exp
2719 * gdb.base/randomize.exp
2720 * gdb.base/range-stepping.exp
2721 * gdb.base/readline-ask.exp
2722 * gdb.base/recpar.exp
2723 * gdb.base/recurse.exp
2724 * gdb.base/relational.exp
2725 * gdb.base/restore.exp
2726 * gdb.base/return-nodebug.exp
2727 * gdb.base/return.exp
2728 * gdb.base/run-after-attach.exp
2729 * gdb.base/save-bp.exp
2730 * gdb.base/scope.exp
2731 * gdb.base/sect-cmd.exp
2732 * gdb.base/set-lang-auto.exp
2733 * gdb.base/set-noassign.exp
2734 * gdb.base/setvar.exp
2735 * gdb.base/sigall.exp
2736 * gdb.base/sigbpt.exp
2737 * gdb.base/siginfo-addr.exp
2738 * gdb.base/siginfo-infcall.exp
2739 * gdb.base/siginfo-obj.exp
2740 * gdb.base/siginfo.exp
2741 * gdb.base/signals-state-child.exp
2742 * gdb.base/signest.exp
2743 * gdb.base/sigstep.exp
2744 * gdb.base/sizeof.exp
2746 * gdb.base/solib-corrupted.exp
2747 * gdb.base/solib-nodir.exp
2748 * gdb.base/solib-search.exp
2749 * gdb.base/stack-checking.exp
2750 * gdb.base/stale-infcall.exp
2751 * gdb.base/stap-probe.exp
2752 * gdb.base/start.exp
2753 * gdb.base/step-break.exp
2754 * gdb.base/step-bt.exp
2755 * gdb.base/step-line.exp
2756 * gdb.base/step-over-exit.exp
2757 * gdb.base/step-over-syscall.exp
2758 * gdb.base/step-resume-infcall.exp
2759 * gdb.base/step-test.exp
2760 * gdb.base/store.exp
2761 * gdb.base/structs3.exp
2762 * gdb.base/sym-file.exp
2763 * gdb.base/symbol-without-target_section.exp
2765 * gdb.base/testenv.exp
2766 * gdb.base/ui-redirect.exp
2767 * gdb.base/until.exp
2768 * gdb.base/unwindonsignal.exp
2769 * gdb.base/value-double-free.exp
2770 * gdb.base/vla-datatypes.exp
2771 * gdb.base/vla-ptr.exp
2772 * gdb.base/vla-sideeffect.exp
2773 * gdb.base/volatile.exp
2774 * gdb.base/watch-cond-infcall.exp
2775 * gdb.base/watch-cond.exp
2776 * gdb.base/watch-non-mem.exp
2777 * gdb.base/watch-read.exp
2778 * gdb.base/watch-vfork.exp
2779 * gdb.base/watchpoint-cond-gone.exp
2780 * gdb.base/watchpoint-delete.exp
2781 * gdb.base/watchpoint-hw-hit-once.exp
2782 * gdb.base/watchpoint-hw.exp
2783 * gdb.base/watchpoint-stops-at-right-insn.exp
2784 * gdb.base/watchpoints.exp
2785 * gdb.base/wchar.exp
2786 * gdb.base/whatis-exp.exp
2787 * gdb.btrace/buffer-size.exp
2788 * gdb.btrace/data.exp
2789 * gdb.btrace/delta.exp
2790 * gdb.btrace/dlopen.exp
2791 * gdb.btrace/enable.exp
2792 * gdb.btrace/exception.exp
2793 * gdb.btrace/function_call_history.exp
2794 * gdb.btrace/gcore.exp
2795 * gdb.btrace/instruction_history.exp
2796 * gdb.btrace/nohist.exp
2797 * gdb.btrace/reconnect.exp
2798 * gdb.btrace/record_goto-step.exp
2799 * gdb.btrace/record_goto.exp
2800 * gdb.btrace/rn-dl-bind.exp
2801 * gdb.btrace/segv.exp
2802 * gdb.btrace/step.exp
2803 * gdb.btrace/stepi.exp
2804 * gdb.btrace/tailcall-only.exp
2805 * gdb.btrace/tailcall.exp
2806 * gdb.btrace/tsx.exp
2807 * gdb.btrace/unknown_functions.exp
2808 * gdb.btrace/vdso.exp
2809 * gdb.compile/compile-ifunc.exp
2810 * gdb.compile/compile-ops.exp
2811 * gdb.compile/compile-print.exp
2812 * gdb.compile/compile-setjmp.exp
2813 * gdb.cp/abstract-origin.exp
2814 * gdb.cp/ambiguous.exp
2815 * gdb.cp/annota2.exp
2816 * gdb.cp/annota3.exp
2817 * gdb.cp/anon-ns.exp
2818 * gdb.cp/anon-struct.exp
2819 * gdb.cp/anon-union.exp
2820 * gdb.cp/arg-reference.exp
2821 * gdb.cp/baseenum.exp
2823 * gdb.cp/breakpoint.exp
2824 * gdb.cp/bs15503.exp
2827 * gdb.cp/chained-calls.exp
2829 * gdb.cp/classes.exp
2830 * gdb.cp/cmpd-minsyms.exp
2831 * gdb.cp/converts.exp
2832 * gdb.cp/cp-relocate.exp
2833 * gdb.cp/cpcompletion.exp
2834 * gdb.cp/cpexprs.exp
2835 * gdb.cp/cplabel.exp
2836 * gdb.cp/cplusfuncs.exp
2837 * gdb.cp/cpsizeof.exp
2839 * gdb.cp/derivation.exp
2840 * gdb.cp/destrprint.exp
2841 * gdb.cp/dispcxx.exp
2842 * gdb.cp/enum-class.exp
2843 * gdb.cp/exception.exp
2844 * gdb.cp/exceptprint.exp
2845 * gdb.cp/expand-psymtabs-cxx.exp
2846 * gdb.cp/expand-sals.exp
2847 * gdb.cp/extern-c.exp
2848 * gdb.cp/filename.exp
2849 * gdb.cp/formatted-ref.exp
2850 * gdb.cp/fpointer.exp
2851 * gdb.cp/gdb1355.exp
2852 * gdb.cp/gdb2495.exp
2854 * gdb.cp/impl-this.exp
2855 * gdb.cp/infcall-dlopen.exp
2856 * gdb.cp/inherit.exp
2857 * gdb.cp/iostream.exp
2861 * gdb.cp/m-static.exp
2862 * gdb.cp/mb-ctor.exp
2863 * gdb.cp/mb-inline.exp
2864 * gdb.cp/mb-templates.exp
2865 * gdb.cp/member-name.exp
2866 * gdb.cp/member-ptr.exp
2867 * gdb.cp/meth-typedefs.exp
2869 * gdb.cp/method2.exp
2870 * gdb.cp/minsym-fallback.exp
2872 * gdb.cp/namelessclass.exp
2873 * gdb.cp/namespace-enum.exp
2874 * gdb.cp/namespace-nested-import.exp
2875 * gdb.cp/namespace.exp
2876 * gdb.cp/nextoverthrow.exp
2877 * gdb.cp/no-dmgl-verbose.exp
2878 * gdb.cp/non-trivial-retval.exp
2879 * gdb.cp/noparam.exp
2881 * gdb.cp/nsimport.exp
2882 * gdb.cp/nsnested.exp
2883 * gdb.cp/nsnoimports.exp
2884 * gdb.cp/nsrecurs.exp
2885 * gdb.cp/nsstress.exp
2886 * gdb.cp/nsusing.exp
2887 * gdb.cp/operator.exp
2888 * gdb.cp/oranking.exp
2889 * gdb.cp/overload-const.exp
2890 * gdb.cp/overload.exp
2891 * gdb.cp/ovldbreak.exp
2893 * gdb.cp/paren-type.exp
2894 * gdb.cp/parse-lang.exp
2895 * gdb.cp/pass-by-ref.exp
2896 * gdb.cp/pr-1023.exp
2897 * gdb.cp/pr-1210.exp
2899 * gdb.cp/pr10687.exp
2900 * gdb.cp/pr12028.exp
2901 * gdb.cp/pr17132.exp
2902 * gdb.cp/pr17494.exp
2906 * gdb.cp/printmethod.exp
2908 * gdb.cp/psymtab-parameter.exp
2909 * gdb.cp/ptype-cv-cp.exp
2910 * gdb.cp/ptype-flags.exp
2911 * gdb.cp/re-set-overloaded.exp
2912 * gdb.cp/ref-types.exp
2914 * gdb.cp/scope-err.exp
2917 * gdb.cp/static-method.exp
2918 * gdb.cp/static-print-quit.exp
2919 * gdb.cp/temargs.exp
2920 * gdb.cp/templates.exp
2921 * gdb.cp/try_catch.exp
2922 * gdb.cp/typedef-operator.exp
2924 * gdb.cp/userdef.exp
2925 * gdb.cp/using-crash.exp
2926 * gdb.cp/var-tag.exp
2927 * gdb.cp/virtbase.exp
2928 * gdb.cp/virtfunc.exp
2929 * gdb.cp/virtfunc2.exp
2930 * gdb.cp/vla-cxx.exp
2931 * gdb.disasm/t01_mov.exp
2932 * gdb.disasm/t02_mova.exp
2933 * gdb.disasm/t03_add.exp
2934 * gdb.disasm/t04_sub.exp
2935 * gdb.disasm/t05_cmp.exp
2936 * gdb.disasm/t06_ari2.exp
2937 * gdb.disasm/t07_ari3.exp
2938 * gdb.disasm/t08_or.exp
2939 * gdb.disasm/t09_xor.exp
2940 * gdb.disasm/t10_and.exp
2941 * gdb.disasm/t11_logs.exp
2942 * gdb.disasm/t12_bit.exp
2943 * gdb.disasm/t13_otr.exp
2944 * gdb.dlang/circular.exp
2945 * gdb.dwarf2/arr-stride.exp
2946 * gdb.dwarf2/arr-subrange.exp
2947 * gdb.dwarf2/atomic-type.exp
2948 * gdb.dwarf2/bad-regnum.exp
2949 * gdb.dwarf2/bitfield-parent-optimized-out.exp
2950 * gdb.dwarf2/callframecfa.exp
2951 * gdb.dwarf2/clztest.exp
2952 * gdb.dwarf2/corrupt.exp
2953 * gdb.dwarf2/data-loc.exp
2954 * gdb.dwarf2/dup-psym.exp
2955 * gdb.dwarf2/dw2-anon-mptr.exp
2956 * gdb.dwarf2/dw2-anonymous-func.exp
2957 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
2958 * gdb.dwarf2/dw2-bad-unresolved.exp
2959 * gdb.dwarf2/dw2-basic.exp
2960 * gdb.dwarf2/dw2-canonicalize-type.exp
2961 * gdb.dwarf2/dw2-case-insensitive.exp
2962 * gdb.dwarf2/dw2-common-block.exp
2963 * gdb.dwarf2/dw2-compdir-oldgcc.exp
2964 * gdb.dwarf2/dw2-compressed.exp
2965 * gdb.dwarf2/dw2-const.exp
2966 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
2967 * gdb.dwarf2/dw2-cu-size.exp
2968 * gdb.dwarf2/dw2-dup-frame.exp
2969 * gdb.dwarf2/dw2-entry-value.exp
2970 * gdb.dwarf2/dw2-icycle.exp
2971 * gdb.dwarf2/dw2-ifort-parameter.exp
2972 * gdb.dwarf2/dw2-inline-break.exp
2973 * gdb.dwarf2/dw2-inline-param.exp
2974 * gdb.dwarf2/dw2-intercu.exp
2975 * gdb.dwarf2/dw2-intermix.exp
2976 * gdb.dwarf2/dw2-lexical-block-bare.exp
2977 * gdb.dwarf2/dw2-linkage-name-trust.exp
2978 * gdb.dwarf2/dw2-minsym-in-cu.exp
2979 * gdb.dwarf2/dw2-noloc.exp
2980 * gdb.dwarf2/dw2-op-call.exp
2981 * gdb.dwarf2/dw2-op-out-param.exp
2982 * gdb.dwarf2/dw2-opt-structptr.exp
2983 * gdb.dwarf2/dw2-param-error.exp
2984 * gdb.dwarf2/dw2-producer.exp
2985 * gdb.dwarf2/dw2-ranges-base.exp
2986 * gdb.dwarf2/dw2-ref-missing-frame.exp
2987 * gdb.dwarf2/dw2-reg-undefined.exp
2988 * gdb.dwarf2/dw2-regno-invalid.exp
2989 * gdb.dwarf2/dw2-restore.exp
2990 * gdb.dwarf2/dw2-restrict.exp
2991 * gdb.dwarf2/dw2-single-line-discriminators.exp
2992 * gdb.dwarf2/dw2-strp.exp
2993 * gdb.dwarf2/dw2-undefined-ret-addr.exp
2994 * gdb.dwarf2/dw2-unresolved.exp
2995 * gdb.dwarf2/dw2-var-zero-addr.exp
2996 * gdb.dwarf2/dw4-sig-types.exp
2997 * gdb.dwarf2/dwz.exp
2998 * gdb.dwarf2/dynarr-ptr.exp
2999 * gdb.dwarf2/enum-type.exp
3000 * gdb.dwarf2/gdb-index.exp
3001 * gdb.dwarf2/implptr-64bit.exp
3002 * gdb.dwarf2/implptr-optimized-out.exp
3003 * gdb.dwarf2/implptr.exp
3004 * gdb.dwarf2/implref-array.exp
3005 * gdb.dwarf2/implref-const.exp
3006 * gdb.dwarf2/implref-global.exp
3007 * gdb.dwarf2/implref-struct.exp
3008 * gdb.dwarf2/mac-fileno.exp
3009 * gdb.dwarf2/main-subprogram.exp
3010 * gdb.dwarf2/member-ptr-forwardref.exp
3011 * gdb.dwarf2/method-ptr.exp
3012 * gdb.dwarf2/missing-sig-type.exp
3013 * gdb.dwarf2/nonvar-access.exp
3014 * gdb.dwarf2/opaque-type-lookup.exp
3015 * gdb.dwarf2/pieces-optimized-out.exp
3016 * gdb.dwarf2/pieces.exp
3017 * gdb.dwarf2/pr10770.exp
3018 * gdb.dwarf2/pr13961.exp
3019 * gdb.dwarf2/staticvirtual.exp
3020 * gdb.dwarf2/subrange.exp
3021 * gdb.dwarf2/symtab-producer.exp
3022 * gdb.dwarf2/trace-crash.exp
3023 * gdb.dwarf2/typeddwarf.exp
3024 * gdb.dwarf2/valop.exp
3025 * gdb.dwarf2/watch-notconst.exp
3026 * gdb.fortran/array-element.exp
3027 * gdb.fortran/charset.exp
3028 * gdb.fortran/common-block.exp
3029 * gdb.fortran/complex.exp
3030 * gdb.fortran/derived-type-function.exp
3031 * gdb.fortran/derived-type.exp
3032 * gdb.fortran/logical.exp
3033 * gdb.fortran/module.exp
3034 * gdb.fortran/multi-dim.exp
3035 * gdb.fortran/nested-funcs.exp
3036 * gdb.fortran/print-formatted.exp
3037 * gdb.fortran/subarray.exp
3038 * gdb.fortran/vla-alloc-assoc.exp
3039 * gdb.fortran/vla-datatypes.exp
3040 * gdb.fortran/vla-history.exp
3041 * gdb.fortran/vla-ptr-info.exp
3042 * gdb.fortran/vla-ptype-sub.exp
3043 * gdb.fortran/vla-ptype.exp
3044 * gdb.fortran/vla-sizeof.exp
3045 * gdb.fortran/vla-type.exp
3046 * gdb.fortran/vla-value-sub-arbitrary.exp
3047 * gdb.fortran/vla-value-sub-finish.exp
3048 * gdb.fortran/vla-value-sub.exp
3049 * gdb.fortran/vla-value.exp
3050 * gdb.fortran/whatis_type.exp
3052 * gdb.go/handcall.exp
3054 * gdb.go/integers.exp
3055 * gdb.go/methods.exp
3056 * gdb.go/package.exp
3057 * gdb.go/strings.exp
3060 * gdb.guile/scm-arch.exp
3061 * gdb.guile/scm-block.exp
3062 * gdb.guile/scm-breakpoint.exp
3063 * gdb.guile/scm-cmd.exp
3064 * gdb.guile/scm-disasm.exp
3065 * gdb.guile/scm-equal.exp
3066 * gdb.guile/scm-frame-args.exp
3067 * gdb.guile/scm-frame-inline.exp
3068 * gdb.guile/scm-frame.exp
3069 * gdb.guile/scm-iterator.exp
3070 * gdb.guile/scm-math.exp
3071 * gdb.guile/scm-objfile.exp
3072 * gdb.guile/scm-ports.exp
3073 * gdb.guile/scm-symbol.exp
3074 * gdb.guile/scm-symtab.exp
3075 * gdb.guile/scm-value-cc.exp
3076 * gdb.guile/types-module.exp
3077 * gdb.linespec/break-ask.exp
3078 * gdb.linespec/cpexplicit.exp
3079 * gdb.linespec/explicit.exp
3080 * gdb.linespec/keywords.exp
3081 * gdb.linespec/linespec.exp
3082 * gdb.linespec/ls-dollar.exp
3083 * gdb.linespec/ls-errs.exp
3084 * gdb.linespec/skip-two.exp
3085 * gdb.linespec/thread.exp
3086 * gdb.mi/mi-async.exp
3087 * gdb.mi/mi-basics.exp
3088 * gdb.mi/mi-break.exp
3089 * gdb.mi/mi-catch-load.exp
3091 * gdb.mi/mi-cmd-param-changed.exp
3092 * gdb.mi/mi-console.exp
3093 * gdb.mi/mi-detach.exp
3094 * gdb.mi/mi-disassemble.exp
3095 * gdb.mi/mi-eval.exp
3096 * gdb.mi/mi-file-transfer.exp
3097 * gdb.mi/mi-file.exp
3098 * gdb.mi/mi-fill-memory.exp
3099 * gdb.mi/mi-inheritance-syntax-error.exp
3100 * gdb.mi/mi-linespec-err-cp.exp
3101 * gdb.mi/mi-logging.exp
3102 * gdb.mi/mi-memory-changed.exp
3103 * gdb.mi/mi-read-memory.exp
3104 * gdb.mi/mi-record-changed.exp
3105 * gdb.mi/mi-reg-undefined.exp
3106 * gdb.mi/mi-regs.exp
3107 * gdb.mi/mi-return.exp
3108 * gdb.mi/mi-reverse.exp
3109 * gdb.mi/mi-simplerun.exp
3110 * gdb.mi/mi-solib.exp
3111 * gdb.mi/mi-stack.exp
3112 * gdb.mi/mi-stepi.exp
3113 * gdb.mi/mi-syn-frame.exp
3114 * gdb.mi/mi-until.exp
3115 * gdb.mi/mi-var-block.exp
3116 * gdb.mi/mi-var-child.exp
3117 * gdb.mi/mi-var-cmd.exp
3118 * gdb.mi/mi-var-cp.exp
3119 * gdb.mi/mi-var-display.exp
3120 * gdb.mi/mi-var-invalidate.exp
3121 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
3122 * gdb.mi/mi-vla-fortran.exp
3123 * gdb.mi/mi-watch.exp
3124 * gdb.mi/mi2-var-child.exp
3125 * gdb.mi/user-selected-context-sync.exp
3126 * gdb.modula2/unbounded-array.exp
3127 * gdb.multi/dummy-frame-restore.exp
3128 * gdb.multi/multi-arch-exec.exp
3129 * gdb.multi/multi-arch.exp
3130 * gdb.multi/tids.exp
3131 * gdb.multi/watchpoint-multi.exp
3132 * gdb.opencl/callfuncs.exp
3133 * gdb.opencl/convs_casts.exp
3134 * gdb.opencl/datatypes.exp
3135 * gdb.opencl/operators.exp
3136 * gdb.opencl/vec_comps.exp
3137 * gdb.opt/clobbered-registers-O2.exp
3138 * gdb.opt/inline-break.exp
3139 * gdb.opt/inline-bt.exp
3140 * gdb.opt/inline-cmds.exp
3141 * gdb.opt/inline-locals.exp
3142 * gdb.pascal/case-insensitive-symbols.exp
3143 * gdb.pascal/floats.exp
3144 * gdb.pascal/gdb11492.exp
3145 * gdb.python/lib-types.exp
3146 * gdb.python/py-arch.exp
3147 * gdb.python/py-as-string.exp
3148 * gdb.python/py-bad-printers.exp
3149 * gdb.python/py-block.exp
3150 * gdb.python/py-breakpoint-create-fail.exp
3151 * gdb.python/py-breakpoint.exp
3152 * gdb.python/py-caller-is.exp
3153 * gdb.python/py-cmd.exp
3154 * gdb.python/py-explore-cc.exp
3155 * gdb.python/py-explore.exp
3156 * gdb.python/py-finish-breakpoint.exp
3157 * gdb.python/py-finish-breakpoint2.exp
3158 * gdb.python/py-frame-args.exp
3159 * gdb.python/py-frame-inline.exp
3160 * gdb.python/py-frame.exp
3161 * gdb.python/py-framefilter-mi.exp
3162 * gdb.python/py-infthread.exp
3163 * gdb.python/py-lazy-string.exp
3164 * gdb.python/py-linetable.exp
3165 * gdb.python/py-mi-events.exp
3166 * gdb.python/py-mi-objfile.exp
3167 * gdb.python/py-mi.exp
3168 * gdb.python/py-objfile.exp
3169 * gdb.python/py-pp-integral.exp
3170 * gdb.python/py-pp-maint.exp
3171 * gdb.python/py-pp-re-notag.exp
3172 * gdb.python/py-pp-registration.exp
3173 * gdb.python/py-recurse-unwind.exp
3174 * gdb.python/py-strfns.exp
3175 * gdb.python/py-symbol.exp
3176 * gdb.python/py-symtab.exp
3177 * gdb.python/py-sync-interp.exp
3178 * gdb.python/py-typeprint.exp
3179 * gdb.python/py-unwind-maint.exp
3180 * gdb.python/py-unwind.exp
3181 * gdb.python/py-value-cc.exp
3182 * gdb.python/py-xmethods.exp
3183 * gdb.reverse/amd64-tailcall-reverse.exp
3184 * gdb.reverse/break-precsave.exp
3185 * gdb.reverse/break-reverse.exp
3186 * gdb.reverse/consecutive-precsave.exp
3187 * gdb.reverse/consecutive-reverse.exp
3188 * gdb.reverse/finish-precsave.exp
3189 * gdb.reverse/finish-reverse-bkpt.exp
3190 * gdb.reverse/finish-reverse.exp
3191 * gdb.reverse/fstatat-reverse.exp
3192 * gdb.reverse/getresuid-reverse.exp
3193 * gdb.reverse/i386-precsave.exp
3194 * gdb.reverse/i386-reverse.exp
3195 * gdb.reverse/i386-sse-reverse.exp
3196 * gdb.reverse/i387-env-reverse.exp
3197 * gdb.reverse/i387-stack-reverse.exp
3198 * gdb.reverse/insn-reverse.exp
3199 * gdb.reverse/machinestate-precsave.exp
3200 * gdb.reverse/machinestate.exp
3201 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3202 * gdb.reverse/pipe-reverse.exp
3203 * gdb.reverse/readv-reverse.exp
3204 * gdb.reverse/recvmsg-reverse.exp
3205 * gdb.reverse/rerun-prec.exp
3206 * gdb.reverse/s390-mvcle.exp
3207 * gdb.reverse/step-precsave.exp
3208 * gdb.reverse/step-reverse.exp
3209 * gdb.reverse/time-reverse.exp
3210 * gdb.reverse/until-precsave.exp
3211 * gdb.reverse/until-reverse.exp
3212 * gdb.reverse/waitpid-reverse.exp
3213 * gdb.reverse/watch-precsave.exp
3214 * gdb.reverse/watch-reverse.exp
3215 * gdb.rust/generics.exp
3216 * gdb.rust/methods.exp
3217 * gdb.rust/modules.exp
3218 * gdb.rust/simple.exp
3219 * gdb.server/connect-with-no-symbol-file.exp
3220 * gdb.server/ext-attach.exp
3221 * gdb.server/ext-restart.exp
3222 * gdb.server/ext-wrapper.exp
3223 * gdb.server/file-transfer.exp
3224 * gdb.server/server-exec-info.exp
3225 * gdb.server/server-kill.exp
3226 * gdb.server/server-mon.exp
3227 * gdb.server/wrapper.exp
3228 * gdb.stabs/exclfwd.exp
3229 * gdb.stabs/gdb11479.exp
3230 * gdb.threads/clone-new-thread-event.exp
3231 * gdb.threads/corethreads.exp
3232 * gdb.threads/current-lwp-dead.exp
3233 * gdb.threads/dlopen-libpthread.exp
3234 * gdb.threads/gcore-thread.exp
3235 * gdb.threads/sigstep-threads.exp
3236 * gdb.threads/watchpoint-fork.exp
3237 * gdb.trace/actions-changed.exp
3238 * gdb.trace/backtrace.exp
3239 * gdb.trace/change-loc.exp
3240 * gdb.trace/circ.exp
3241 * gdb.trace/collection.exp
3242 * gdb.trace/disconnected-tracing.exp
3243 * gdb.trace/ftrace.exp
3244 * gdb.trace/mi-trace-frame-collected.exp
3245 * gdb.trace/mi-trace-unavailable.exp
3246 * gdb.trace/mi-traceframe-changed.exp
3247 * gdb.trace/mi-tsv-changed.exp
3248 * gdb.trace/no-attach-trace.exp
3249 * gdb.trace/passc-dyn.exp
3250 * gdb.trace/qtro.exp
3251 * gdb.trace/range-stepping.exp
3252 * gdb.trace/read-memory.exp
3253 * gdb.trace/save-trace.exp
3254 * gdb.trace/signal.exp
3255 * gdb.trace/status-stop.exp
3256 * gdb.trace/tfile.exp
3257 * gdb.trace/trace-break.exp
3258 * gdb.trace/trace-buffer-size.exp
3259 * gdb.trace/trace-condition.exp
3260 * gdb.trace/tracefile-pseudo-reg.exp
3261 * gdb.trace/tstatus.exp
3262 * gdb.trace/unavailable.exp
3263 * gdb.trace/while-dyn.exp
3264 * gdb.trace/while-stepping.exp
3266 2016-12-22 Doug Evans <xdje42@gmail.com>
3268 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
3271 2016-12-19 Yao Qi <yao.qi@linaro.org>
3273 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
3274 (test_with_self): Don't call do_steps_and_nexts, and remove
3275 code about stepping into xmalloc.
3277 2016-12-09 Yao Qi <yao.qi@linaro.org>
3279 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
3281 2016-12-09 Yao Qi <yao.qi@linaro.org>
3283 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
3285 2016-12-09 Pedro Alves <palves@redhat.com>
3287 * gdb.base/all-architectures-0.exp: New file.
3288 * gdb.base/all-architectures-1.exp: New file.
3289 * gdb.base/all-architectures-2.exp: New file.
3290 * gdb.base/all-architectures-3.exp: New file.
3291 * gdb.base/all-architectures-4.exp: New file.
3292 * gdb.base/all-architectures-5.exp: New file.
3293 * gdb.base/all-architectures-6.exp: New file.
3294 * gdb.base/all-architectures-7.exp: New file.
3295 * gdb.base/all-architectures.exp.in: New file.
3297 2016-12-09 Yao Qi <yao.qi@linaro.org>
3299 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
3301 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3303 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
3305 Remove useless pattern-matching code.
3307 2016-12-02 Pedro Alves <palves@redhat.com>
3309 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
3311 (top level): Call it.
3313 2016-12-02 Pedro Alves <palves@redhat.com>
3315 * gdb.base/commands.exp (user_defined_command_args_stack_test):
3317 (top level): Call it.
3319 2016-12-02 Pedro Alves <palves@redhat.com>
3322 * gdb.base/commands.exp (user_defined_command_args_eval): New
3324 (top level): Call it.
3326 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3328 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
3331 2016-12-02 Tom Tromey <tom@tromey.com>
3333 * gdb.dwarf2/main-subprogram.c: New file.
3334 * gdb.dwarf2/main-subprogram.exp: New file.
3336 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3338 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
3339 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
3340 gdb_test_no_output for a couple of cases.
3341 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
3343 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3345 Fix test names and standardize compilation error messages throughout
3346 the following files:
3349 * gdb.arch/alpha-step.exp
3350 * gdb.arch/e500-prologue.exp
3351 * gdb.arch/ftrace-insn-reloc.exp
3352 * gdb.arch/gdb1291.exp
3353 * gdb.arch/gdb1431.exp
3354 * gdb.arch/gdb1558.exp
3355 * gdb.arch/i386-dr3-watch.exp
3356 * gdb.arch/i386-sse-stack-align.exp
3357 * gdb.arch/ia64-breakpoint-shadow.exp
3358 * gdb.arch/pa-nullify.exp
3359 * gdb.arch/powerpc-aix-prologue.exp
3360 * gdb.arch/thumb-bx-pc.exp
3361 * gdb.base/annota1.exp
3362 * gdb.base/annota3.exp
3363 * gdb.base/arrayidx.exp
3364 * gdb.base/assign.exp
3365 * gdb.base/attach.exp
3368 * gdb.base/bfp-test.exp
3369 * gdb.base/bigcore.exp
3370 * gdb.base/bitfields2.exp
3371 * gdb.base/break-fun-addr.exp
3372 * gdb.base/break-probes.exp
3373 * gdb.base/call-rt-st.exp
3374 * gdb.base/callexit.exp
3375 * gdb.base/catch-fork-kill.exp
3376 * gdb.base/charset.exp
3377 * gdb.base/checkpoint.exp
3378 * gdb.base/comprdebug.exp
3379 * gdb.base/constvars.exp
3380 * gdb.base/coredump-filter.exp
3381 * gdb.base/cursal.exp
3382 * gdb.base/cvexpr.exp
3383 * gdb.base/detach.exp
3384 * gdb.base/display.exp
3385 * gdb.base/dmsym.exp
3386 * gdb.base/dprintf-pending.exp
3387 * gdb.base/dso2dso.exp
3388 * gdb.base/dtrace-probe.exp
3390 * gdb.base/enum_cond.exp
3391 * gdb.base/exe-lock.exp
3392 * gdb.base/exec-invalid-sysroot.exp
3393 * gdb.base/execl-update-breakpoints.exp
3394 * gdb.base/exprs.exp
3395 * gdb.base/fileio.exp
3397 * gdb.base/finish.exp
3398 * gdb.base/fixsection.exp
3399 * gdb.base/foll-vfork.exp
3400 * gdb.base/frame-args.exp
3401 * gdb.base/gcore.exp
3402 * gdb.base/gdb1250.exp
3403 * gdb.base/global-var-nested-by-dso.exp
3404 * gdb.base/gnu-ifunc.exp
3405 * gdb.base/hashline1.exp
3406 * gdb.base/hashline2.exp
3407 * gdb.base/hashline3.exp
3408 * gdb.base/hbreak-in-shr-unsupported.exp
3410 * gdb.base/infcall-input.exp
3411 * gdb.base/info-fun.exp
3412 * gdb.base/info-shared.exp
3413 * gdb.base/jit-simple.exp
3414 * gdb.base/jit-so.exp
3417 * gdb.base/label.exp
3418 * gdb.base/lineinc.exp
3419 * gdb.base/logical.exp
3420 * gdb.base/longjmp.exp
3421 * gdb.base/macscp.exp
3422 * gdb.base/miscexprs.exp
3423 * gdb.base/new-ui-echo.exp
3424 * gdb.base/new-ui-pending-input.exp
3425 * gdb.base/new-ui.exp
3426 * gdb.base/nodebug.exp
3427 * gdb.base/nofield.exp
3428 * gdb.base/offsets.exp
3429 * gdb.base/overlays.exp
3430 * gdb.base/pending.exp
3431 * gdb.base/pointers.exp
3432 * gdb.base/pr11022.exp
3433 * gdb.base/printcmds.exp
3434 * gdb.base/prologue.exp
3435 * gdb.base/ptr-typedef.exp
3436 * gdb.base/realname-expand.exp
3437 * gdb.base/relativedebug.exp
3438 * gdb.base/relocate.exp
3439 * gdb.base/remote.exp
3440 * gdb.base/reread.exp
3441 * gdb.base/return2.exp
3442 * gdb.base/savedregs.exp
3444 * gdb.base/sepdebug.exp
3445 * gdb.base/sepsymtab.exp
3446 * gdb.base/set-inferior-tty.exp
3447 * gdb.base/setshow.exp
3448 * gdb.base/shlib-call.exp
3449 * gdb.base/sigaltstack.exp
3450 * gdb.base/siginfo-addr.exp
3451 * gdb.base/signals.exp
3452 * gdb.base/signull.exp
3453 * gdb.base/sigrepeat.exp
3454 * gdb.base/so-impl-ld.exp
3455 * gdb.base/solib-display.exp
3456 * gdb.base/solib-overlap.exp
3457 * gdb.base/solib-search.exp
3458 * gdb.base/solib-symbol.exp
3459 * gdb.base/structs.exp
3460 * gdb.base/structs2.exp
3461 * gdb.base/symtab-search-order.exp
3462 * gdb.base/twice.exp
3463 * gdb.base/unload.exp
3464 * gdb.base/varargs.exp
3465 * gdb.base/watchpoint-solib.exp
3466 * gdb.base/watchpoint.exp
3467 * gdb.base/whatis.exp
3468 * gdb.base/wrong_frame_bt_full.exp
3469 * gdb.btrace/dlopen.exp
3470 * gdb.cell/ea-standalone.exp
3471 * gdb.cell/ea-test.exp
3472 * gdb.cp/dispcxx.exp
3473 * gdb.cp/gdb2384.exp
3474 * gdb.cp/method2.exp
3475 * gdb.cp/nextoverthrow.exp
3476 * gdb.cp/pr10728.exp
3477 * gdb.disasm/am33.exp
3478 * gdb.disasm/h8300s.exp
3479 * gdb.disasm/mn10300.exp
3480 * gdb.disasm/sh3.exp
3481 * gdb.dwarf2/dw2-dir-file-name.exp
3482 * gdb.fortran/complex.exp
3483 * gdb.fortran/library-module.exp
3484 * gdb.guile/scm-pretty-print.exp
3485 * gdb.guile/scm-symbol.exp
3486 * gdb.guile/scm-type.exp
3487 * gdb.guile/scm-value.exp
3488 * gdb.linespec/linespec.exp
3491 * gdb.mi/mi-breakpoint-changed.exp
3492 * gdb.mi/mi-dprintf-pending.exp
3493 * gdb.mi/mi-dprintf.exp
3494 * gdb.mi/mi-exit-code.exp
3495 * gdb.mi/mi-pending.exp
3496 * gdb.mi/mi-solib.exp
3497 * gdb.mi/new-ui-mi-sync.exp
3498 * gdb.mi/pr11022.exp
3499 * gdb.mi/user-selected-context-sync.exp
3500 * gdb.opt/solib-intra-step.exp
3501 * gdb.python/py-events.exp
3502 * gdb.python/py-finish-breakpoint.exp
3503 * gdb.python/py-mi.exp
3504 * gdb.python/py-prettyprint.exp
3505 * gdb.python/py-shared.exp
3506 * gdb.python/py-symbol.exp
3507 * gdb.python/py-template.exp
3508 * gdb.python/py-type.exp
3509 * gdb.python/py-value.exp
3510 * gdb.reverse/solib-precsave.exp
3511 * gdb.reverse/solib-reverse.exp
3512 * gdb.server/solib-list.exp
3513 * gdb.stabs/weird.exp
3514 * gdb.threads/reconnect-signal.exp
3515 * gdb.threads/stepi-random-signal.exp
3516 * gdb.trace/actions.exp
3518 * gdb.trace/backtrace.exp
3519 * gdb.trace/change-loc.exp
3520 * gdb.trace/deltrace.exp
3521 * gdb.trace/ftrace-lock.exp
3522 * gdb.trace/ftrace.exp
3523 * gdb.trace/infotrace.exp
3524 * gdb.trace/mi-tracepoint-changed.exp
3525 * gdb.trace/packetlen.exp
3526 * gdb.trace/passcount.exp
3527 * gdb.trace/pending.exp
3528 * gdb.trace/range-stepping.exp
3529 * gdb.trace/report.exp
3530 * gdb.trace/stap-trace.exp
3531 * gdb.trace/tfind.exp
3532 * gdb.trace/trace-break.exp
3533 * gdb.trace/trace-condition.exp
3534 * gdb.trace/trace-enable-disable.exp
3535 * gdb.trace/trace-mt.exp
3536 * gdb.trace/tracecmd.exp
3537 * gdb.trace/tspeed.exp
3541 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3543 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
3544 with gdb_test_no_output.
3545 Use command as test name.
3547 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3549 Fix test names starting with uppercase throughout the files.
3551 * gdb.ada/assign_1.exp
3552 * gdb.ada/boolean_expr.exp
3553 * gdb.base/arrayidx.exp
3555 * gdb.base/gcore-buffer-overflow.exp
3556 * gdb.base/testenv.exp
3557 * gdb.compile/compile.exp
3558 * gdb.python/py-framefilter-invalidarg.exp
3559 * gdb.python/py-framefilter.exp
3561 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3563 Fix test names starting with uppercase throughout the files.
3565 * gdb.ada/array_return.exp
3566 * gdb.ada/expr_delims.exp
3567 * gdb.ada/mi_dyn_arr.exp
3568 * gdb.ada/mi_interface.exp
3569 * gdb.ada/mi_var_array.exp
3570 * gdb.ada/watch_arg.exp
3571 * gdb.arch/alpha-step.exp
3572 * gdb.arch/altivec-regs.exp
3573 * gdb.arch/e500-regs.exp
3574 * gdb.arch/powerpc-d128-regs.exp
3575 * gdb.base/arrayidx.exp
3576 * gdb.base/break.exp
3577 * gdb.base/checkpoint.exp
3578 * gdb.base/debug-expr.exp
3579 * gdb.base/dmsym.exp
3580 * gdb.base/radix.exp
3581 * gdb.base/sepdebug.exp
3582 * gdb.base/testenv.exp
3583 * gdb.base/watch_thread_num.exp
3584 * gdb.base/watchpoint-cond-gone.exp
3585 * gdb.cell/break.exp
3586 * gdb.cell/ea-cache.exp
3587 * gdb.compile/compile.exp
3588 * gdb.cp/gdb2495.exp
3589 * gdb.gdb/selftest.exp
3590 * gdb.gdb/xfullpath.exp
3592 * gdb.go/integers.exp
3593 * gdb.objc/basicclass.exp
3594 * gdb.pascal/hello.exp
3595 * gdb.pascal/integers.exp
3596 * gdb.python/py-breakpoint.exp
3597 * gdb.python/py-cmd.exp
3598 * gdb.python/py-linetable.exp
3599 * gdb.python/py-xmethods.exp
3600 * gdb.python/python.exp
3601 * gdb.reverse/consecutive-precsave.exp
3602 * gdb.reverse/finish-precsave.exp
3603 * gdb.reverse/i386-precsave.exp
3604 * gdb.reverse/machinestate-precsave.exp
3605 * gdb.reverse/sigall-precsave.exp
3606 * gdb.reverse/solib-precsave.exp
3607 * gdb.reverse/step-precsave.exp
3608 * gdb.reverse/until-precsave.exp
3609 * gdb.reverse/watch-precsave.exp
3610 * gdb.threads/leader-exit.exp
3611 * gdb.threads/pthreads.exp
3612 * gdb.threads/wp-replication.exp
3613 * gdb.trace/actions.exp
3614 * gdb.trace/mi-tsv-changed.exp
3617 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3619 Fix test names starting with uppercase throughout the files.
3621 * gdb.arch/i386-bp_permanent.exp
3622 * gdb.arch/i386-gnu-cfi.exp
3623 * gdb.base/disasm-end-cu.exp
3624 * gdb.base/macscp.exp
3625 * gdb.base/pending.exp
3626 * gdb.base/watch_thread_num.exp
3627 * gdb.cp/exception.exp
3628 * gdb.cp/gdb2495.exp
3630 * gdb.python/py-evsignal.exp
3631 * gdb.python/python.exp
3632 * gdb.trace/tracecmd.exp
3634 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3636 Fix test names starting with uppercase throughout the files.
3638 * gdb.base/charset.exp
3640 * gdb.base/multi-forks.exp
3641 * gdb.guile/scm-progspace.exp
3642 * gdb.opencl/datatypes.exp
3643 * gdb.python/py-block.exp
3644 * gdb.python/py-function.exp
3645 * gdb.python/py-symbol.exp
3646 * gdb.python/py-symtab.exp
3647 * gdb.python/py-xmethods.exp
3648 * gdb.reverse/break-precsave.exp
3649 * gdb.reverse/break-reverse.exp
3650 * gdb.reverse/consecutive-precsave.exp
3651 * gdb.reverse/consecutive-reverse.exp
3652 * gdb.reverse/finish-precsave.exp
3653 * gdb.reverse/finish-reverse-bkpt.exp
3654 * gdb.reverse/finish-reverse.exp
3655 * gdb.reverse/fstatat-reverse.exp
3656 * gdb.reverse/getresuid-reverse.exp
3657 * gdb.reverse/i386-precsave.exp
3658 * gdb.reverse/i386-reverse.exp
3659 * gdb.reverse/i386-sse-reverse.exp
3660 * gdb.reverse/i387-stack-reverse.exp
3661 * gdb.reverse/insn-reverse.exp
3662 * gdb.reverse/machinestate-precsave.exp
3663 * gdb.reverse/machinestate.exp
3664 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3665 * gdb.reverse/pipe-reverse.exp
3666 * gdb.reverse/readv-reverse.exp
3667 * gdb.reverse/recvmsg-reverse.exp
3668 * gdb.reverse/rerun-prec.exp
3669 * gdb.reverse/s390-mvcle.exp
3670 * gdb.reverse/sigall-precsave.exp
3671 * gdb.reverse/sigall-reverse.exp
3672 * gdb.reverse/solib-precsave.exp
3673 * gdb.reverse/solib-reverse.exp
3674 * gdb.reverse/step-precsave.exp
3675 * gdb.reverse/step-reverse.exp
3676 * gdb.reverse/time-reverse.exp
3677 * gdb.reverse/until-precsave.exp
3678 * gdb.reverse/until-reverse.exp
3679 * gdb.reverse/waitpid-reverse.exp
3680 * gdb.reverse/watch-precsave.exp
3681 * gdb.reverse/watch-reverse.exp
3683 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3685 Fix test names starting with uppercase throughout the files.
3687 * gdb.arch/i386-mpx-simple_segv.exp
3688 * gdb.arch/i386-mpx.exp
3689 * gdb.arch/i386-permbkpt.exp
3690 * gdb.arch/pa-nullify.exp
3691 * gdb.arch/powerpc-d128-regs.exp
3692 * gdb.arch/vsx-regs.exp
3693 * gdb.base/bfp-test.exp
3694 * gdb.base/break.exp
3695 * gdb.base/breakpoint-shadow.exp
3696 * gdb.base/callfuncs.exp
3697 * gdb.base/charset.exp
3698 * gdb.base/commands.exp
3699 * gdb.base/completion.exp
3700 * gdb.base/dfp-test.exp
3702 * gdb.base/ending-run.exp
3704 * gdb.base/expand-psymtabs.exp
3705 * gdb.base/float128.exp
3706 * gdb.base/floatn.exp
3707 * gdb.base/foll-exec-mode.exp
3708 * gdb.base/gdb1056.exp
3709 * gdb.base/gdb11531.exp
3710 * gdb.base/kill-after-signal.exp
3711 * gdb.base/multi-forks.exp
3712 * gdb.base/overlays.exp
3713 * gdb.base/pending.exp
3714 * gdb.base/sepdebug.exp
3715 * gdb.base/testenv.exp
3716 * gdb.base/valgrind-db-attach.exp
3717 * gdb.base/watch_thread_num.exp
3718 * gdb.base/watchpoint-cond-gone.exp
3719 * gdb.base/watchpoint.exp
3720 * gdb.base/watchpoints.exp
3721 * gdb.cp/arg-reference.exp
3722 * gdb.cp/baseenum.exp
3723 * gdb.cp/operator.exp
3725 * gdb.dwarf2/dw2-op-out-param.exp
3726 * gdb.dwarf2/dw2-reg-undefined.exp
3729 * gdb.go/integers.exp
3730 * gdb.go/methods.exp
3731 * gdb.go/package.exp
3732 * gdb.guile/scm-parameter.exp
3733 * gdb.guile/scm-progspace.exp
3734 * gdb.guile/scm-value.exp
3735 * gdb.mi/mi-pending.exp
3736 * gdb.mi/user-selected-context-sync.exp
3737 * gdb.multi/multi-attach.exp
3738 * gdb.multi/tids.exp
3739 * gdb.opt/clobbered-registers-O2.exp
3740 * gdb.pascal/floats.exp
3741 * gdb.pascal/integers.exp
3742 * gdb.python/py-block.exp
3743 * gdb.python/py-events.exp
3744 * gdb.python/py-parameter.exp
3745 * gdb.python/py-symbol.exp
3746 * gdb.python/py-symtab.exp
3747 * gdb.python/py-type.exp
3748 * gdb.python/py-value.exp
3749 * gdb.python/py-xmethods.exp
3750 * gdb.python/python.exp
3751 * gdb.reverse/break-precsave.exp
3752 * gdb.reverse/consecutive-precsave.exp
3753 * gdb.reverse/finish-precsave.exp
3754 * gdb.reverse/i386-precsave.exp
3755 * gdb.reverse/machinestate-precsave.exp
3756 * gdb.reverse/sigall-precsave.exp
3757 * gdb.reverse/solib-precsave.exp
3758 * gdb.reverse/step-precsave.exp
3759 * gdb.reverse/until-precsave.exp
3760 * gdb.reverse/watch-precsave.exp
3761 * gdb.server/ext-attach.exp
3762 * gdb.server/ext-restart.exp
3763 * gdb.server/ext-run.exp
3764 * gdb.server/ext-wrapper.exp
3765 * gdb.stabs/gdb11479.exp
3766 * gdb.stabs/weird.exp
3767 * gdb.threads/attach-many-short-lived-threads.exp
3768 * gdb.threads/kill.exp
3769 * gdb.threads/watchpoint-fork.exp
3771 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3773 Fix test names starting with uppercase throughout all the files below.
3775 * gdb.ada/array_return.exp
3776 * gdb.ada/catch_ex.exp
3777 * gdb.ada/info_exc.exp
3778 * gdb.ada/mi_catch_ex.exp
3779 * gdb.ada/mi_dyn_arr.exp
3780 * gdb.ada/mi_ex_cond.exp
3781 * gdb.ada/mi_exc_info.exp
3782 * gdb.ada/mi_interface.exp
3783 * gdb.ada/mi_task_arg.exp
3784 * gdb.ada/mi_task_info.exp
3785 * gdb.ada/mi_var_array.exp
3786 * gdb.arch/alpha-step.exp
3787 * gdb.arch/amd64-disp-step.exp
3788 * gdb.arch/arm-disp-step.exp
3789 * gdb.arch/disp-step-insn-reloc.exp
3790 * gdb.arch/e500-prologue.exp
3791 * gdb.arch/ftrace-insn-reloc.exp
3792 * gdb.arch/gdb1558.exp
3793 * gdb.arch/i386-bp_permanent.exp
3794 * gdb.arch/i386-disp-step.exp
3795 * gdb.arch/i386-float.exp
3796 * gdb.arch/i386-gnu-cfi.exp
3797 * gdb.arch/ia64-breakpoint-shadow.exp
3798 * gdb.arch/mips16-thunks.exp
3799 * gdb.arch/pa-nullify.exp
3800 * gdb.arch/powerpc-aix-prologue.exp
3801 * gdb.arch/powerpc-power.exp
3802 * gdb.arch/ppc-dfp.exp
3803 * gdb.arch/s390-tdbregs.exp
3804 * gdb.arch/spu-info.exp
3805 * gdb.arch/spu-ls.exp
3806 * gdb.arch/thumb-bx-pc.exp
3807 * gdb.base/advance.exp
3808 * gdb.base/annota-input-while-running.exp
3809 * gdb.base/arrayidx.exp
3810 * gdb.base/asmlabel.exp
3811 * gdb.base/async.exp
3812 * gdb.base/attach-wait-input.exp
3813 * gdb.base/auto-connect-native-target.exp
3814 * gdb.base/batch-preserve-term-settings.exp
3815 * gdb.base/bfp-test.exp
3816 * gdb.base/bigcore.exp
3817 * gdb.base/bp-permanent.exp
3818 * gdb.base/break-always.exp
3819 * gdb.base/break-fun-addr.exp
3820 * gdb.base/break-idempotent.exp
3821 * gdb.base/break-main-file-remove-fail.exp
3822 * gdb.base/break-probes.exp
3823 * gdb.base/break-unload-file.exp
3824 * gdb.base/break.exp
3825 * gdb.base/call-ar-st.exp
3826 * gdb.base/call-rt-st.exp
3827 * gdb.base/call-sc.exp
3828 * gdb.base/call-signal-resume.exp
3829 * gdb.base/call-strs.exp
3830 * gdb.base/callexit.exp
3831 * gdb.base/callfuncs.exp
3832 * gdb.base/catch-gdb-caused-signals.exp
3833 * gdb.base/catch-signal-siginfo-cond.exp
3834 * gdb.base/catch-syscall.exp
3835 * gdb.base/compare-sections.exp
3836 * gdb.base/cond-eval-mode.exp
3837 * gdb.base/condbreak-call-false.exp
3838 * gdb.base/consecutive-step-over.exp
3839 * gdb.base/cursal.exp
3840 * gdb.base/disabled-location.exp
3841 * gdb.base/disasm-end-cu.exp
3842 * gdb.base/display.exp
3843 * gdb.base/double-prompt-target-event-error.exp
3844 * gdb.base/dprintf-bp-same-addr.exp
3845 * gdb.base/dprintf-detach.exp
3846 * gdb.base/dprintf-next.exp
3847 * gdb.base/dprintf-non-stop.exp
3848 * gdb.base/dprintf-pending.exp
3849 * gdb.base/dso2dso.exp
3850 * gdb.base/ending-run.exp
3851 * gdb.base/enum_cond.exp
3852 * gdb.base/examine-backward.exp
3853 * gdb.base/exe-lock.exp
3854 * gdb.base/exec-invalid-sysroot.exp
3855 * gdb.base/execl-update-breakpoints.exp
3856 * gdb.base/execution-termios.exp
3857 * gdb.base/fileio.exp
3858 * gdb.base/fixsection.exp
3859 * gdb.base/foll-exec-mode.exp
3860 * gdb.base/foll-exec.exp
3861 * gdb.base/fork-running-state.exp
3862 * gdb.base/frame-args.exp
3863 * gdb.base/fullpath-expand.exp
3864 * gdb.base/func-ptr.exp
3865 * gdb.base/gcore-relro-pie.exp
3866 * gdb.base/gdb1090.exp
3867 * gdb.base/gdb1555.exp
3868 * gdb.base/global-var-nested-by-dso.exp
3869 * gdb.base/gnu-ifunc.exp
3870 * gdb.base/hbreak-in-shr-unsupported.exp
3871 * gdb.base/hbreak-unmapped.exp
3872 * gdb.base/hook-stop.exp
3873 * gdb.base/infcall-input.exp
3874 * gdb.base/info-fun.exp
3875 * gdb.base/info-shared.exp
3876 * gdb.base/interrupt-noterm.exp
3877 * gdb.base/jit-so.exp
3879 * gdb.base/line-symtabs.exp
3881 * gdb.base/longjmp.exp
3882 * gdb.base/macscp.exp
3883 * gdb.base/max-value-size.exp
3884 * gdb.base/nodebug.exp
3885 * gdb.base/nofield.exp
3886 * gdb.base/overlays.exp
3887 * gdb.base/paginate-after-ctrl-c-running.exp
3888 * gdb.base/paginate-bg-execution.exp
3889 * gdb.base/paginate-inferior-exit.exp
3890 * gdb.base/pending.exp
3891 * gdb.base/pr11022.exp
3892 * gdb.base/printcmds.exp
3893 * gdb.base/ptr-typedef.exp
3894 * gdb.base/ptype.exp
3895 * gdb.base/randomize.exp
3896 * gdb.base/range-stepping.exp
3897 * gdb.base/realname-expand.exp
3898 * gdb.base/relativedebug.exp
3899 * gdb.base/remote.exp
3900 * gdb.base/savedregs.exp
3901 * gdb.base/sepdebug.exp
3902 * gdb.base/set-noassign.exp
3903 * gdb.base/shlib-call.exp
3904 * gdb.base/shreloc.exp
3905 * gdb.base/sigaltstack.exp
3906 * gdb.base/sigbpt.exp
3907 * gdb.base/siginfo-addr.exp
3908 * gdb.base/siginfo-obj.exp
3909 * gdb.base/siginfo-thread.exp
3910 * gdb.base/signest.exp
3911 * gdb.base/signull.exp
3912 * gdb.base/sigrepeat.exp
3914 * gdb.base/so-impl-ld.exp
3915 * gdb.base/solib-corrupted.exp
3916 * gdb.base/solib-disc.exp
3917 * gdb.base/solib-display.exp
3918 * gdb.base/solib-overlap.exp
3919 * gdb.base/solib-search.exp
3920 * gdb.base/solib-symbol.exp
3921 * gdb.base/source-execution.exp
3922 * gdb.base/sss-bp-on-user-bp-2.exp
3923 * gdb.base/sss-bp-on-user-bp.exp
3924 * gdb.base/stack-checking.exp
3925 * gdb.base/stale-infcall.exp
3926 * gdb.base/step-break.exp
3927 * gdb.base/step-line.exp
3928 * gdb.base/step-over-exit.exp
3929 * gdb.base/step-test.exp
3930 * gdb.base/structs.exp
3931 * gdb.base/sym-file.exp
3932 * gdb.base/symtab-search-order.exp
3934 * gdb.base/type-opaque.exp
3935 * gdb.base/unload.exp
3936 * gdb.base/until-nodebug.exp
3937 * gdb.base/until.exp
3938 * gdb.base/unwindonsignal.exp
3939 * gdb.base/watch-cond.exp
3940 * gdb.base/watch-non-mem.exp
3941 * gdb.base/watch_thread_num.exp
3942 * gdb.base/watchpoint-reuse-slot.exp
3943 * gdb.base/watchpoint-solib.exp
3944 * gdb.base/watchpoint.exp
3945 * gdb.btrace/dlopen.exp
3947 * gdb.cell/break.exp
3951 * gdb.cell/dwarfaddr.exp
3952 * gdb.cell/ea-cache.exp
3953 * gdb.cell/ea-standalone.exp
3954 * gdb.cell/ea-test.exp
3955 * gdb.cell/f-regs.exp
3957 * gdb.cell/gcore.exp
3958 * gdb.cell/mem-access.exp
3959 * gdb.cell/ptype.exp
3960 * gdb.cell/registers.exp
3961 * gdb.cell/sizeof.exp
3962 * gdb.cell/solib-symbol.exp
3963 * gdb.cell/solib.exp
3964 * gdb.compile/compile-tls.exp
3965 * gdb.cp/exception.exp
3966 * gdb.cp/gdb2495.exp
3968 * gdb.cp/mb-inline.exp
3969 * gdb.cp/mb-templates.exp
3970 * gdb.cp/pr10687.exp
3972 * gdb.cp/scope-err.exp
3973 * gdb.cp/templates.exp
3974 * gdb.cp/virtfunc.exp
3975 * gdb.dwarf2/dw2-dir-file-name.exp
3976 * gdb.dwarf2/dw2-single-line-discriminators.exp
3977 * gdb.fortran/complex.exp
3978 * gdb.fortran/library-module.exp
3979 * gdb.guile/guile.exp
3980 * gdb.guile/scm-cmd.exp
3981 * gdb.guile/scm-frame-inline.exp
3982 * gdb.guile/scm-objfile.exp
3983 * gdb.guile/scm-pretty-print.exp
3984 * gdb.guile/scm-symbol.exp
3985 * gdb.guile/scm-type.exp
3986 * gdb.guile/scm-value.exp
3987 * gdb.linespec/keywords.exp
3988 * gdb.linespec/ls-errs.exp
3989 * gdb.linespec/macro-relative.exp
3990 * gdb.linespec/thread.exp
3991 * gdb.mi/mi-breakpoint-changed.exp
3992 * gdb.mi/mi-dprintf-pending.exp
3993 * gdb.mi/mi-fullname-deleted.exp
3994 * gdb.mi/mi-logging.exp
3995 * gdb.mi/mi-pending.exp
3996 * gdb.mi/mi-solib.exp
3997 * gdb.mi/new-ui-mi-sync.exp
3998 * gdb.mi/user-selected-context-sync.exp
3999 * gdb.multi/dummy-frame-restore.exp
4000 * gdb.multi/multi-arch-exec.exp
4001 * gdb.multi/remove-inferiors.exp
4002 * gdb.multi/watchpoint-multi-exit.exp
4003 * gdb.opt/solib-intra-step.exp
4004 * gdb.perf/backtrace.exp
4005 * gdb.perf/single-step.exp
4006 * gdb.perf/skip-command.exp
4007 * gdb.perf/skip-prologue.exp
4008 * gdb.perf/solib.exp
4009 * gdb.python/lib-types.exp
4010 * gdb.python/py-as-string.exp
4011 * gdb.python/py-bad-printers.exp
4012 * gdb.python/py-block.exp
4013 * gdb.python/py-breakpoint.exp
4014 * gdb.python/py-cmd.exp
4015 * gdb.python/py-events.exp
4016 * gdb.python/py-evthreads.exp
4017 * gdb.python/py-finish-breakpoint.exp
4018 * gdb.python/py-finish-breakpoint2.exp
4019 * gdb.python/py-frame-inline.exp
4020 * gdb.python/py-frame.exp
4021 * gdb.python/py-inferior.exp
4022 * gdb.python/py-infthread.exp
4023 * gdb.python/py-mi.exp
4024 * gdb.python/py-objfile.exp
4025 * gdb.python/py-pp-maint.exp
4026 * gdb.python/py-pp-registration.exp
4027 * gdb.python/py-prettyprint.exp
4028 * gdb.python/py-recurse-unwind.exp
4029 * gdb.python/py-shared.exp
4030 * gdb.python/py-symbol.exp
4031 * gdb.python/py-symtab.exp
4032 * gdb.python/py-template.exp
4033 * gdb.python/py-type.exp
4034 * gdb.python/py-unwind-maint.exp
4035 * gdb.python/py-unwind.exp
4036 * gdb.python/py-value.exp
4037 * gdb.python/python.exp
4038 * gdb.reverse/finish-reverse-bkpt.exp
4039 * gdb.reverse/insn-reverse.exp
4040 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4041 * gdb.reverse/solib-precsave.exp
4042 * gdb.reverse/solib-reverse.exp
4043 * gdb.stabs/gdb11479.exp
4044 * gdb.stabs/weird.exp
4045 * gdb.threads/fork-child-threads.exp
4046 * gdb.threads/fork-plus-threads.exp
4047 * gdb.threads/fork-thread-pending.exp
4048 * gdb.threads/forking-threads-plus-breakpoint.exp
4049 * gdb.threads/hand-call-in-threads.exp
4050 * gdb.threads/interrupted-hand-call.exp
4051 * gdb.threads/linux-dp.exp
4052 * gdb.threads/local-watch-wrong-thread.exp
4053 * gdb.threads/next-while-other-thread-longjmps.exp
4054 * gdb.threads/non-ldr-exit.exp
4055 * gdb.threads/pending-step.exp
4056 * gdb.threads/print-threads.exp
4057 * gdb.threads/process-dies-while-detaching.exp
4058 * gdb.threads/process-dies-while-handling-bp.exp
4059 * gdb.threads/pthreads.exp
4060 * gdb.threads/queue-signal.exp
4061 * gdb.threads/reconnect-signal.exp
4062 * gdb.threads/signal-command-handle-nopass.exp
4063 * gdb.threads/signal-command-multiple-signals-pending.exp
4064 * gdb.threads/signal-delivered-right-thread.exp
4065 * gdb.threads/signal-sigtrap.exp
4066 * gdb.threads/sigthread.exp
4067 * gdb.threads/staticthreads.exp
4068 * gdb.threads/stepi-random-signal.exp
4069 * gdb.threads/thread-unwindonsignal.exp
4070 * gdb.threads/thread_check.exp
4071 * gdb.threads/thread_events.exp
4072 * gdb.threads/tid-reuse.exp
4073 * gdb.threads/tls-nodebug.exp
4074 * gdb.threads/tls-shared.exp
4075 * gdb.threads/tls-so_extern.exp
4076 * gdb.threads/tls.exp
4077 * gdb.threads/wp-replication.exp
4078 * gdb.trace/actions-changed.exp
4079 * gdb.trace/actions.exp
4080 * gdb.trace/backtrace.exp
4081 * gdb.trace/change-loc.exp
4082 * gdb.trace/collection.exp
4083 * gdb.trace/deltrace.exp
4084 * gdb.trace/disconnected-tracing.exp
4085 * gdb.trace/entry-values.exp
4086 * gdb.trace/ftrace-lock.exp
4087 * gdb.trace/ftrace.exp
4088 * gdb.trace/infotrace.exp
4089 * gdb.trace/mi-trace-frame-collected.exp
4090 * gdb.trace/mi-trace-unavailable.exp
4091 * gdb.trace/mi-traceframe-changed.exp
4092 * gdb.trace/mi-tracepoint-changed.exp
4093 * gdb.trace/mi-tsv-changed.exp
4094 * gdb.trace/no-attach-trace.exp
4095 * gdb.trace/packetlen.exp
4096 * gdb.trace/passc-dyn.exp
4097 * gdb.trace/passcount.exp
4098 * gdb.trace/pending.exp
4099 * gdb.trace/pr16508.exp
4100 * gdb.trace/qtro.exp
4101 * gdb.trace/range-stepping.exp
4102 * gdb.trace/read-memory.exp
4103 * gdb.trace/report.exp
4104 * gdb.trace/save-trace.exp
4105 * gdb.trace/signal.exp
4106 * gdb.trace/stap-trace.exp
4107 * gdb.trace/status-stop.exp
4108 * gdb.trace/strace.exp
4109 * gdb.trace/tfile.exp
4110 * gdb.trace/tfind.exp
4111 * gdb.trace/trace-break.exp
4112 * gdb.trace/trace-condition.exp
4113 * gdb.trace/trace-enable-disable.exp
4114 * gdb.trace/trace-mt.exp
4115 * gdb.trace/tracecmd.exp
4116 * gdb.trace/tracefile-pseudo-reg.exp
4117 * gdb.trace/tspeed.exp
4118 * gdb.trace/tstatus.exp
4120 * gdb.trace/unavailable.exp
4121 * gdb.trace/while-dyn.exp
4122 * gdb.trace/while-stepping.exp
4125 * lib/mi-support.exp
4128 * lib/prelink-support.exp
4129 * lib/selftest-support.exp
4131 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
4133 * Makefile.in: Include disable-implicit-rules.mk.
4135 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4137 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
4138 non-byte-aligned bit fields.
4140 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4143 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
4144 respects the DW_AT_data_bit_offset attribute.
4146 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
4148 * gdb.base/default.exp: Fix output of "set language".
4150 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
4152 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
4153 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
4155 * configure.ac: Remove checks for the make program.
4156 * configure: Re-generate.
4158 2016-11-16 Kevin Buettner <kevinb@redhat.com>
4160 * gdb.python/py-recurse-unwind.c (main): Add loop.
4161 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
4162 to read_register() and gdb.parse_and_eval(). Make each code
4163 call a separate case that can be individually tested.
4164 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
4165 proc. Call cont_and_backtrace for each of the code paths that
4166 we want to test in the unwinder.
4168 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
4170 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
4171 the definition of struct S.
4173 2016-11-11 Catherine Moore <clm@codesourcery.com>
4175 * gdb.base/dump.exp: Identify verilog format dump tests as such.
4177 2016-11-09 Pedro Alves <palves@redhat.com>
4179 * gdb.base/commands.exp (runto_or_return): New procedure.
4180 (gdbvar_simple_if_test, gdbvar_simple_while_test)
4181 (gdbvar_complex_if_while_test, progvar_simple_if_test)
4182 (progvar_simple_while_test, progvar_complex_if_while_test)
4183 (if_while_breakpoint_command_test)
4184 (infrun_breakpoint_command_test, breakpoint_command_test)
4185 (user_defined_command_test, watchpoint_command_test)
4186 (test_command_prompt_position, redefine_hook_test)
4187 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
4188 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
4189 multi_line_input and multi_line. Remove gdb_expect and
4190 gdb_stop_suppressing_tests uses.
4191 * lib/gdb.exp (valnum_re): New global.
4192 (multi_line_input): New procedure.
4194 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
4196 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
4198 (test_setup): Define with proc_with_prefix.
4199 (test_cli_inferior): Likewise.
4200 (test_cli_thread): Likewise.
4201 (test_cli_frame): Likewise.
4202 (test_cli_select_frame): Likewise.
4203 (test_cli_up_down): Likewise.
4204 (test_mi_thread_select): Likewise.
4205 (test_mi_stack_select_frame): Likewise.
4206 (test_cli_in_mi_inferior): Likewise.
4207 (test_cli_in_mi_thread): Likewise.
4208 (test_cli_in_mi_frame): Likewise.
4209 (top level): Do not use with_test_prefix_procname.
4211 2016-11-09 Pedro Alves <palves@redhat.com>
4213 * gdb.base/commands.exp (gdbvar_simple_if_test)
4214 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
4215 (progvar_simple_if_test, progvar_simple_while_test)
4216 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
4217 (infrun_breakpoint_command_test, breakpoint_command_test)
4218 (user_defined_command_test, watchpoint_command_test)
4219 (test_command_prompt_position, deprecated_command_test)
4220 (bp_deleted_in_command, temporary_breakpoint_commands)
4221 (stray_arg0_test, source_file_with_indented_comment)
4222 (recursive_source_test, if_commands_test)
4223 (error_clears_commands_left, redefine_hook_test)
4224 (redefine_backtrace_test): Use proc_with_prefix.
4225 * lib/gdb.exp (proc_with_prefix): New proc.
4227 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4229 * gdb.base/tui-layout.c: New file.
4230 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
4231 disassembly window contains very long lines.
4233 2016-11-08 Tom Tromey <tom@tromey.com>
4235 * gdb.python/py-value.exp (test_value_creation): Make "long" test
4238 2016-11-08 Tom Tromey <tom@tromey.com>
4240 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
4243 2016-10-29 Manish Goregaokar <manish@mozilla.com>
4245 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
4247 2016-10-27 Manish Goregaokar <manish@mozilla.com>
4249 * gdb.rust/simple.rs: Add test for univariant enums without
4250 discriminants and for encoded struct-like enums.
4252 2016-10-28 Pedro Alves <palves@redhat.com>
4254 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
4255 gdb_test_multiple, tighten regexps and match symtabs and line
4256 tables incrementally.
4258 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
4260 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
4263 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
4265 * gdb.base/exec-invalid-sysroot.exp: New file.
4267 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4269 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
4271 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4273 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
4275 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
4277 * gdb.base/killed-outside.exp: Remove $options from a call to
4278 `prepare_for_testing'.
4280 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4282 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4283 Change test message.
4285 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4287 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4290 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4292 * gdb.trace/mi-trace-save.exp: New file.
4294 2016-10-13 Yao Qi <yao.qi@linaro.org>
4296 * gdb.base/code_elim.exp (get_var_address): Remove.
4297 * gdb.base/relocate.exp: Likewise.
4298 * gdb.base/shreloc.exp: Likewise.
4299 * lib/gdb.exp (get_var_address): New.
4301 2016-10-13 Yao Qi <yao.qi@linaro.org>
4303 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
4304 floating point tests if $skip_float_test is false.
4306 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
4308 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
4309 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
4311 Add 1 to argc so we guarantee distinct initial/modified argc values.
4313 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4315 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
4317 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4319 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
4320 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
4321 * gdb.arch/vsx-regs.exp: Likewise.
4323 2016-10-07 Yao Qi <yao.qi@linaro.org>
4325 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
4327 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
4329 * gdb.python/python.exp: Test decode_line("*0").
4331 2016-10-06 Doug Evans <dje@google.com>
4333 * gdb.python/py-value.exp (test_value_creation): Add test for large
4334 unsigned 64-bit value.
4336 2016-10-06 Tom Tromey <tom@tromey.com>
4338 * gdb.compile/compile.exp: Change java tests to rust.
4339 * gdb.base/setshow.exp: Change java tests to rust.
4340 * gdb.base/default.exp: Remove java from language list.
4341 * README (Examples): Update language example.
4342 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
4344 * lib/gdb.exp (skip_java_tests): Remove.
4345 * lib/java.exp: Remove.
4348 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4350 * gdb.arch/mips-fcr.exp: New test.
4351 * gdb.arch/mips-fcr.c: Source for the new test.
4353 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4355 * gdb.base/solib-disc.exp: Use `standard_output_file'
4358 2016-10-06 Pedro Alves <palves@redhat.com>
4360 * gdb.base/jit-simple-dl.c: New file.
4361 * gdb.base/jit-simple-jit.c: New file, factored out from ...
4362 * gdb.base/jit-simple.c: ... this.
4363 * gdb.base/jit-simple.exp (jit_run): Delete.
4364 (build_jit): New proc.
4365 (jit_test_reread): Recompile either the main program or the shared
4366 library, depending on what is being tested. Skip changing address
4367 if caller wants to. Compare before/after addresses. If testing
4368 standalone, explicitly load the binary. Test "maint info
4370 (top level): Add "standalone vs shared lib" and "change address"
4371 vs "same address" axes.
4373 2016-10-06 Pedro Alves <palves@redhat.com>
4375 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
4378 (jit_test_reread): Use with_test_prefix. Reload the main binary
4379 explicitly. Compare the before/after addresses of the JIT
4382 2016-08-15 Doug Evans <dje@google.com>
4384 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4385 for single bitfields is bool.
4386 * gdb.xml/tdesc-regs.exp: Ditto.
4388 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4390 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4392 2016-10-05 Yao Qi <yao.qi@linaro.org>
4394 * lib/gdb.exp (support_complex_tests): Return zero if
4395 gdb_skip_float_test return true.
4397 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4398 Simon Marchi <simon.marchi@ericsson.com>
4401 * gdb.mi/user-selected-context-sync.exp: New file.
4402 * gdb.mi/user-selected-context-sync.c: New file.
4404 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4405 Simon Marchi <simon.marchi@ericsson.com>
4408 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
4409 =thread-select-event check.
4411 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
4413 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4414 the compulsory L operand changes.
4415 * gdb.arch/powerpc-power.s: Likewise.
4417 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4419 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
4420 * gdb.base/jit-attach-pie.c: New file.
4421 * gdb.base/jit-attach-pie.exp: New file.
4423 2016-09-28 Pedro Alves <palves@redhat.com>
4425 * gdb.base/infcall-input.c: New file.
4426 * gdb.base/infcall-input.exp: New file.
4428 2016-09-22 Yao Qi <yao.qi@linaro.org>
4430 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
4431 (gdb_exit): Rename it to ...
4432 (gdbserver_gdb_exit): ... Close GDBserver.
4433 (gdb_exit): New proc, call gdbserver_gdb_exit.
4434 (mi_gdb_exit): Likewise.
4436 2016-09-22 Yao Qi <yao.qi@linaro.org>
4438 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4440 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4443 2016-09-22 Yao Qi <yao.qi@linaro.org>
4445 * lib/gdbserver-support.exp: Check the existence of
4446 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4448 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
4450 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4452 2016-09-21 Tom Tromey <tom@tromey.com>
4455 * gdb.base/quit.exp: New file.
4457 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
4459 * .gitignore: New file.
4461 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
4463 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4466 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4468 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4470 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4472 * gdb.cp/casts.cc (decltype): Move it ...
4473 (main): ... with its call to ...
4474 * gdb.cp/casts03.cc: ... a new file.
4475 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4477 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4479 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4481 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
4483 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
4484 and sync up the test with tests in gas/testsuite/gas/ppc.
4485 * gdb.arch/powerpc-power.exp: Likewise.
4487 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4489 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4491 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
4492 Jan Kratochvil <jan.kratochvil@redhat.com>
4494 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4495 make m1's definition to be different from m2's. Use 'dummy' as an
4496 argument for probe 'two'.
4498 2016-09-10 Jon Beniston <jon@beniston.com>
4500 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4503 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4505 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4506 variable declaration.
4507 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
4508 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4509 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4510 received HWCAP as its argument.
4512 2016-09-06 Pedro Alves <palves@redhat.com>
4514 * gdb.base/new-ui-pending-input.c: New file.
4515 * gdb.base/new-ui-pending-input.exp: New file.
4516 * gdb.exp (clear_gdb_spawn_id): New procedure.
4517 (with_spawn_id): Check whether gdb_spawn_id exists before
4518 referencing it. If gdb_spawn_id didn't exist on entry, clear it
4521 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4523 * gdb.base/float128.c: New file.
4524 * gdb.base/float128.exp: Likewise.
4525 * gdb.base/floatn.c: Likewise.
4526 * gdb.base/floatn.exp: Likewise.
4528 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4530 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4532 2016-09-05 Pedro Alves <palves@redhat.com>
4535 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4536 unwinders are immediately called as side effect of "source" or
4537 "disable unwinder" commands.
4538 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
4540 2016-09-02 Yao Qi <yao.qi@linaro.org>
4542 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4543 is true and $type is "float" or "double".
4545 2016-09-02 Yao Qi <yao.qi@linaro.org>
4547 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
4549 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
4550 * gdb.base/call-rt-st.exp: Likewise.
4551 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
4552 return value instead of gdb,skip_float_test.
4553 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
4554 (do_function_calls): Use its return value instead of
4555 gdb,skip_float_test.
4556 * gdb.base/finish.exp: Likewise.
4557 * gdb.base/funcargs.exp: Likewise.
4558 * gdb.base/return.exp: Likewise.
4559 * gdb.base/return2.exp: Likewise.
4560 * gdb.base/varargs.exp: Likewise.
4561 * lib/gdb.exp (gdb_skip_float_test): Change it to
4562 gdb_caching_proc. Detect the broken ptrace on arm-linux.
4564 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4566 * gdb.multi/tids.exp: Test "thread apply all".
4568 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4570 * gdb.base/default.exp (tty): Remove.
4572 2016-08-24 Kevin Buettner <kevinb@redhat.com>
4574 * gdb.python/py-recurse-unwind.c: New file.
4575 * gdb.python/py-recurse-unwind.py: New file.
4576 * gdb.python/py-recurse-unwind.exp: New file.
4578 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
4580 * gdb.base/set-inferior-tty.exp: New file.
4581 * gdb.base/set-inferior-tty.c: New file.
4583 2016-08-23 Pedro Alves <palves@redhat.com>
4586 * gdb.base/new-ui-echo.c: New file.
4587 * gdb.base/new-ui-echo.exp: New file.
4589 2016-08-23 Yao Qi <yao.qi@linaro.org>
4591 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
4593 * gdb.server/connect-without-multi-process.exp (do_test):
4596 2016-08-23 Yao Qi <yao.qi@linaro.org>
4598 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4599 standalone_txt. Delete gdb_txt and standalone_txt on host
4600 and target. Spawn the binary on target. Copy files from
4603 2016-08-22 Pedro Alves <palves@redhat.com>
4606 * gdb.base/vdso-warning.exp: Test core dumps too. Use
4607 with_test_prefix. Factor out bits to ...
4608 (test_no_vdso): ... this new procedure.
4610 2016-08-19 Carl Love <cel@us.ibm.com>
4612 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4613 maintaining separate logic for constructing the output path.
4614 * gdb.arch/powerpc-d128-regs.exp: Likewise.
4615 * gdb.arch/ppc-dfp.exp: Likewise.
4616 * gdb.arch/ppc-fp.exp: Likewise.
4617 * gdb.arch/vsx-regs.exp: Likewise.
4618 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
4619 binprefix for generating the additional binary files.
4621 2016-08-19 Pedro Alves <palves@redhat.com>
4623 * gdb.trace/mi-trace-frame-collected.exp
4624 (test_trace_frame_collected): On x32, expect two registers.
4626 2016-08-18 Carl Love <cel@us.ibm.com>
4628 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
4629 and sync up the test with tests in gas/testsuite/gas/ppc.
4630 * gdb.arch/powerpc-power.exp: Likewise.
4632 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4634 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
4635 expected error message.
4637 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4639 * gdb.multi/remove-inferiors.exp: New file.
4640 * gdb.multi/remove-inferiors.c: New file.
4642 2016-08-12 Yao Qi <yao.qi@linaro.org>
4644 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
4647 2016-08-10 Pedro Alves <palves@redhat.com>
4650 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
4653 2016-08-09 Pedro Alves <palves@redhat.com>
4654 Simon Marchi <simon.marchi@ericsson.com>
4657 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
4658 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
4660 2016-08-09 Pedro Alves <palves@redhat.com>
4663 * gdb.mi/mi-cmd-error.exp: New file.
4665 2016-08-09 Pedro Alves <palves@redhat.com>
4668 * gdb.base/signals-state-child.c: New file.
4669 * gdb.base/signals-state-child.exp: New file.
4670 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
4672 2016-08-09 Pedro Alves <palves@redhat.com>
4674 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4676 2016-08-03 Tom Tromey <tom@tromey.com>
4679 * gdb.python/py-frame-inline.exp: Add Frame.function test.
4681 2016-08-01 Yao Qi <yao.qi@linaro.org>
4683 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
4684 variable mode to "multi-process" if $multi_process is 1, otherwise
4685 set it to "single-process".
4687 2016-08-01 Yao Qi <yao.qi@linaro.org>
4689 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
4690 * gdb.cp/cpexprs.exp: Likewise.
4691 * gdb.cp/m-static.exp: Likewise.
4693 2016-07-26 Tom Tromey <tom@tromey.com>
4696 * gdb.threads/tls.exp (check_thread_local): Add python symbol
4699 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
4701 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4702 selecting assembly source files.
4703 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
4704 assembly source files.
4705 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
4706 assembly source files.
4707 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
4708 selecting assembly source files.
4710 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
4712 * gdb.base/new-ui.exp (do_test_invalid_args): New
4715 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
4717 * gdb.btrace/reconnect.c: New file.
4718 * gdb.btrace/reconnect.exp: New file.
4720 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
4722 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
4723 to test_catch_syscall_group.
4724 (test_catch_syscall_group): New.
4726 2016-07-21 Tom Tromey <tom@tromey.com>
4728 * gdb.rust/simple.rs (main): Use empty struct expression.
4729 * gdb.rust/simple.exp: Add tests for empty struct expression.
4731 2016-07-21 Yao Qi <yao.qi@linaro.org>
4733 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
4734 if gdb_skip_xml_test is true on some targets.
4736 2016-07-21 Yao Qi <yao.qi@linaro.org>
4738 * gdb.server/solib-list.exp: Unset last_loaded_file.
4740 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4742 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
4743 "step into captured_main (args)".
4745 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4747 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
4749 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4751 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
4753 2016-07-19 Pedro Alves <palves@redhat.com>
4755 * gdb.opt/inline-break.exp: Remove optimize=-O2.
4756 * gdb.opt/inline-bt.exp: Likewise.
4757 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
4758 additional_flags=-Winline.
4759 * gdb.opt/inline-locals.exp: Likewise.
4760 * gdb.opt/inline-markers.c (ATTR): Define.
4761 (inlined_fn): Use it.
4763 2016-07-19 Yao Qi <yao.qi@linaro.org>
4765 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
4766 (test_with_self): Remove some code. Remove argument executable.
4767 (top-level): Use do_self_tests.
4769 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
4770 Don Breazeal <donb@codesourcery.com>
4772 * gdb.base/maint.exp: Escape paths used in regular expressions.
4773 * gdb.stabs/weird.exp: Likewise.
4775 2016-07-13 Tom Tromey <tom@tromey.com>
4777 PR python/15620, PR python/18620:
4778 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
4779 (test_bkpt_events): New procs.
4781 2016-07-13 Tom Tromey <tom@tromey.com>
4784 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
4786 (test_watchpoints): Likewise.
4787 (test_bkpt_pending): New proc.
4789 2016-07-13 Tom Tromey <tom@tromey.com>
4792 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
4795 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4797 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
4798 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
4799 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
4801 (g): Rename g_end_lbl to g_label.
4802 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
4804 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
4806 2016-07-12 Tom Tromey <tom@tromey.com>
4809 * gdb.python/py-unwind-maint.exp: Update tests.
4811 2016-07-12 Yao Qi <yao.qi@linaro.org>
4813 * lib/selftest-support.exp (selftest_setup): Match the output
4814 when captured_main is inlined.
4816 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4818 * gdb.fortran/derived-types.exp (result_line, result_line_2):
4820 (print this%a, print this%b, print this): New tests.
4821 * gdb.fortran/derived-types.f90 (this): New object and
4824 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4826 * gdb.ada/arraydim.exp: Remove extra directory level in build
4829 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4831 * lib/ada.exp: Remove extra directory level in build directory.
4832 * gdb.ada/cond_lang.exp: Likewise.
4833 * gdb.ada/exec_changed.exp: Likewise.
4834 * gdb.ada/lang_switch.exp: Likewise.
4836 2016-07-06 Manish Goregaokar <manish@mozilla.com>
4838 * simple.rs: Add test for raw pointer subscripting.
4839 * simple.exp: Add test expectations.
4841 2016-07-05 Yao Qi <yao.qi@linaro.org>
4843 * gdb.mi/mi-reverse.exp: Match =record-started output.
4845 2016-07-01 Pedro Alves <palves@redhat.com>
4847 * gdb.base/jit-reader.exp (info_registers_current_frame): New
4849 (jit_reader_test): Test the jit reader's unwinder.
4850 * gdb.base/jithost.c (jit_function_00_code): New global.
4851 (main): Use memcpy to fill in the mmapped code, instead of poking
4852 bytes manually here.
4853 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
4855 (read_debug_info): Save the function's range.
4856 (read_sp): New function.
4857 (unwind_frame): Use it. Also unwind RBP.
4858 (get_frame_id): Use read_sp.
4859 (gdb_init_reader): Use calloc instead of malloc.
4860 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
4861 parameter. Use gdb_test_multiple.
4863 2016-07-01 Pedro Alves <palves@redhat.com>
4864 Antoine Tremblay <antoine.tremblay@ericsson.com>
4866 * gdb.threads/process-dies-while-detaching.c: New file.
4867 * gdb.threads/process-dies-while-detaching.exp: New file.
4869 2016-07-01 Pedro Alves <palves@redhat.com>
4871 * gdb.multi/watchpoint-multi-exit.c: New file.
4872 * gdb.multi/watchpoint-multi-exit.exp: New file.
4874 2016-06-30 Pedro Alves <palves@redhat.com>
4876 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
4877 unset inferior_spawn_id.
4879 2016-06-30 Pedro Alves <palves@redhat.com>
4881 * lib/mi-support.exp (default_mi_gdb_start): Declare global
4882 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
4884 2016-06-29 Yao Qi <yao.qi@linaro.org>
4886 * gdb.base/return.c: Add copyright header.
4888 2016-06-29 Tom Tromey <tom@tromey.com>
4891 * gdb.python/py-framefilter.exp: Add tests for setting priority
4892 and disabling of non-existent frame filter.
4894 2016-06-29 Yao Qi <yao.qi@linaro.org>
4896 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
4899 2016-06-28 Yao Qi <yao.qi@linaro.org>
4901 * gdb.base/catch-syscall.exp: Remove check on isnative and target
4902 triplets. Start gdb, execute catch syscall, and continue. Check
4903 gdb's output to determine catch syscall is supported.
4905 2016-06-27 Manish Goregaokar <manish@mozilla.com>
4907 * gdb.rust/simple.rs: Add test for returning unit in a function.
4908 * gdb.rust/simple.exp: Add expectation for functions returning
4911 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
4913 * gdb.python/py-breakpoint-create-fail.c,
4914 gdb.python/py-breakpoint-create-fail.exp,
4915 gdb.python/py-breakpoint-create-fail.py: New testcase.
4917 2016-06-25 Manish Goregaokar <manish@mozilla.com>
4920 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
4921 * gdb.rust/simple.exp: Add test expectations for new NonZero
4924 2016-06-24 David Taylor <dtaylor@emc.com>
4926 * gdb.base/offsets.exp: New file.
4927 * gdb.base/offsets.c: New file.
4929 2016-06-23 Tom Tromey <tom@tromey.com>
4932 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
4933 before any filters are loaded.
4935 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
4937 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
4938 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
4940 * gdb.fortran/derived-type-function.exp: New file.
4941 * gdb.fortran/derived-type-function.f90: New file.
4944 2016-06-21 Pedro Alves <palves@redhat.com>
4946 * gdb.base/new-ui.exp: New file.
4947 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
4948 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
4949 (with_spawn_id): New procedure.
4951 2016-06-21 Pedro Alves <palves@redhat.com>
4953 * gdb.mi/mi-exec-run.exp: New file.
4955 2016-06-21 Pedro Alves <palves@redhat.com>
4957 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
4958 breakpoint command's output on the main UI.
4959 (test_break): New procedure, factored out from calls in the top
4961 (top level): Use foreach_with_prefix to test MI as main UI and as
4964 2016-06-21 Pedro Alves <palves@redhat.com>
4966 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
4967 (test_awatch_creation_and_listing)
4968 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
4969 Remove 'type' parameter.
4970 (test_watchpoint_all): New parameter mi_mode. Remove
4972 (top level): Use foreach_with_prefix, and add main/separate UI MI
4975 2016-06-21 Pedro Alves <palves@redhat.com>
4977 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
4978 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
4979 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
4980 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
4981 (gdb_main_spawn_id, mi_spawn_id): Declare and
4983 (mi_create_inferior_pty): New procedure,
4984 factored out from default_mi_gdb_start.
4985 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
4987 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
4988 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
4989 Use mi_create_inferior_pty.
4990 (mi_gdb_start): Use eval to pass down args list.
4992 2016-06-21 Pedro Alves <palves@redhat.com>
4994 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
4995 * gdb.opt/inline-cmds.exp: Add MI tests.
4997 2016-06-21 Pedro Alves <palves@redhat.com>
4999 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
5001 2016-06-21 Pedro Alves <palves@redhat.com>
5003 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
5004 (top level): Use it instead of mi_execute_to.
5006 2016-06-21 Pedro Alves <palves@redhat.com>
5008 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
5009 (cont_handler_str): New.
5010 (signal_stop_handler): Set stop_handler_str instead of printing to
5012 (continue_handler): Set cont_handler_str instead of printing to
5014 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
5015 mi_send_resuming_command. Print stop_handler_str and
5016 cont_handler_str instead of expecting the python events print
5019 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
5021 * gdb.base/jit-reader.exp: New file.
5022 * gdb.base/jithost.c: New file.
5023 * gdb.base/jithost.h: New file.
5024 * gdb.base/jitreader.c : New file.
5025 * gdb.base/jit-protocol.h: New file.
5027 2016-06-17 Yao Qi <yao.qi@linaro.org>
5029 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
5030 parameters follow_fork and detach_on_fork. Set follow-fork-mode
5031 and detach-on-fork. Adjust tests.
5032 (top level): Invoke break_cond_on_syscall with combinations of
5033 syscall, follow-fork-mode and detach-on-fork.
5035 2016-06-17 Yao Qi <yao.qi@linaro.org>
5037 * gdb.base/step-over-exit.c: New.
5038 * gdb.base/step-over-exit.exp: New.
5040 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
5042 * gdb.base/float.exp: Add target check for nds32*-*-*.
5043 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
5045 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
5047 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
5048 for unsupported target features.
5049 * gdb.base/call-rt-st.exp: Likewise.
5050 * gdb.base/call-sc.exp: Likewise.
5051 * gdb.base/call-signal-resume.exp: Likewise.
5052 * gdb.base/call-strs.exp: Likewise.
5053 * gdb.base/callexit.exp: Likewise.
5054 * gdb.base/callfuncs.exp: Likewise.
5055 * gdb.base/nodebug.exp: Likewise.
5056 * gdb.base/printcmds.exp: Likewise.
5057 * gdb.base/ptype.exp: Likewise.
5058 * gdb.base/structs.exp: Likewise.
5059 * gdb.base/unwindonsignal.exp: Likewise.
5060 * gdb.cp/gdb2495.exp: Likewise.
5061 * gdb.cp/templates.exp: Likewise.
5062 * gdb.cp/virtfunc.exp: Likewise.
5063 * gdb.threads/hand-call-in-threads.exp: Likewise.
5064 * gdb.threads/interrupted-hand-call.exp: Likewise.
5065 * gdb.threads/thread-unwindonsignal.exp: Likewise.
5067 2016-06-10 Tom Tromey <tom@tromey.com>
5070 * gdb.rust/expr.exp: Add test for integer constant larger than
5073 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
5075 * gdb.fortran/nested-funcs.exp: New.
5076 * gdb.fortran/nested-funcs.f90: New.
5078 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
5080 * gdb.base/examine-backward.c: New file.
5081 * gdb.base/examine-backward.exp: New file.
5083 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
5085 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
5088 2016-06-02 Tom Tromey <tom@tromey.com>
5091 * gdb.python/py-shared.exp: Add solib_name test.
5093 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
5095 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
5097 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
5100 * gdb.dwarf2/implref.exp: Rename to...
5101 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
5102 * gdb.dwarf2/implref-array.c: New file.
5103 * gdb.dwarf2/implref-array.exp: Likewise.
5104 * gdb.dwarf2/implref-global.c: Likewise.
5105 * gdb.dwarf2/implref-global.exp: Likewise.
5106 * gdb.dwarf2/implref-struct.c: Likewise.
5107 * gdb.dwarf2/implref-struct.exp: Likewise.
5109 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5111 * gdb.trace/trace-condition.exp: Add 64bit tests.
5113 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5115 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
5117 (main): Adapt to 8 to 64 bits types.
5118 * gdb.trace/trace-condition.exp: Add new tests.
5120 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5122 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
5124 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5126 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
5127 Move condition tests...
5128 * gdb.trace/trace-condition.exp: Here.
5130 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5132 * gdb.trace/trace-condition.exp: Add counter-case tests.
5134 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5137 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
5138 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
5140 2016-05-27 Pedro Alves <palves@redhat.com>
5142 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5144 (top level): Call it, and bail out of DejaGnu is known to be bad.
5146 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
5148 * gdb.base/whatis.c: Extend the test case.
5149 * gdb.base/whatis.exp: Add additional tests.
5151 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5153 * gdb.fortran/type.f90: Add pointer variable.
5154 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
5156 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5158 * gdb.fortran/vla-type.exp: Fix testcase name.
5160 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5162 * gdb.fortran/vla-type.exp: Access elements in nested structs.
5164 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5166 * gdb.fortran/type.f90: Add nested structures.
5167 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
5168 * gdb.fortran/derived-type.exp: Adapt expected output.
5169 * gdb.fortran/vla-type.exp: Adapt expected output.
5171 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5173 * gdb.fortran/whatis_type.exp: Adapt expected output.
5175 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5177 * gdb.fortran/print_type.exp: Fix expected output.
5178 * gdb.fortran/whatis_type.exp: Fix expected output.
5180 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5182 * gdb.fortran/whatis_type.exp: Use multi_line.
5184 2016-05-24 Tom Tromey <tom@tromey.com>
5187 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
5188 use value as an index.
5190 2016-05-23 Tom Tromey <tom@tromey.com>
5193 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
5196 2016-05-24 Pedro Alves <palves@redhat.com>
5199 * gdb.threads/clone-attach-detach.c: New file.
5200 * gdb.threads/clone-attach-detach.exp: New file.
5202 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
5204 * gdb.base/annota-input-while-running.exp: Fix syntax error.
5206 2016-05-23 Tom Tromey <tom@tromey.com>
5208 PR python/19438, PR python/18393:
5209 * gdb.python/py-progspace.exp: Add "dir" test.
5210 * gdb.python/py-objfile.exp: Add "dir" test.
5212 2016-05-23 Yao Qi <yao.qi@linaro.org>
5214 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
5215 * gdb.arch/thumb2-it.exp: Likewise.
5217 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
5219 * gdb.mi/mi-threads-interrupt.c: New file.
5220 * gdb.mi/mi-threads-interrupt.exp: New file.
5222 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
5225 * gdb.mi/mi-async-run.exp: New file.
5226 * gdb.mi/mi-async-run.c: New file.
5228 2016-05-17 Tom Tromey <tom@tromey.com>
5229 Manish Goregaokar <manishsmail@gmail.com>
5231 * lib/rust-support.exp: New file.
5232 * lib/gdb.exp (skip_rust_tests): New proc.
5233 (build_executable_from_specs): Handle rust.
5234 * lib/future.exp (gdb_find_rustc): New proc.
5235 (gdb_default_target_compile): Handle rust.
5236 * gdb.rust/expr.exp: New file.
5237 * gdb.rust/generics.exp: New file.
5238 * gdb.rust/generics.rs: New file.
5239 * gdb.rust/methods.exp: New file.
5240 * gdb.rust/methods.rs: New file.
5241 * gdb.rust/modules.exp: New file.
5242 * gdb.rust/modules.rs: New file.
5243 * gdb.rust/simple.exp: New file.
5244 * gdb.rust/simple.rs: New file.
5246 2016-05-17 Tom Tromey <tom@tromey.com>
5248 * gdb.base/default.exp (set language): Add rust.
5250 2016-05-17 Tom Tromey <tom@tromey.com>
5252 * gdb.gdb/unittest.exp: New file.
5254 2016-05-16 Yao Qi <yao.qi@linaro.org>
5256 * gdb.base/batch-preserve-term-settings.exp: Remove variable
5257 shell_prompt. Update shell_prompt_re.
5259 2016-05-12 Doug Evans <dje@google.com>
5262 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
5263 $options when building executable.
5264 * gdb.dwarf2/fission-loclists-pie.S: New file.
5265 * gdb.dwarf2/fission-loclists-pie.exp: New file.
5267 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5269 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
5270 of [is_remote target],
5272 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5274 * lib/gdb.exp (use_gdb_stub): New procedure.
5276 2016-05-03 Yunlian Jiang <yunlian@google.com>
5277 Doug Evans <dje@google.com>
5280 * gdb.dwarf2/dwp-sepdebug.c: New file.
5281 * gdb.dwarf2/dwp-sepdebug.exp: New file.
5283 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5285 * gdb.base/detach.exp: Remove is_remote check.
5287 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5289 * gdb.base/annota-input-while-running.exp: Don't check for
5290 [is_remote target]. Enable annotations after running to main.
5291 Remove unused "set test..." line.
5293 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5295 * gdb.trace/trace-enable-disable.exp: New file.
5296 * gdb.trace/trace-enable-disable.c: New file.
5298 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5300 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
5301 use it in info sharedlibrary test.
5302 * gdb.trace/ftrace-lock.exp: Likewise.
5303 * gdb.trace/ftrace.exp: Likewise.
5304 * gdb.trace/range-stepping.exp: Likewise.
5305 * gdb.trace/trace-break.exp: Likewise.
5306 * gdb.trace/trace-condition.exp: Likewise.
5307 * gdb.trace/trace-mt.exp: Likewise.
5309 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5311 * lib/gdb.exp (gdb_load_shlibs): Rename to...
5312 (gdb_load_shlib): ... this.
5313 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
5315 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
5316 * gdb.base/ctxobj.exp: Likewise.
5317 * gdb.base/dprintf-pending.exp: Likewise.
5318 * gdb.base/dso2dso.exp: Likewise.
5319 * gdb.base/fixsection.exp: Likewise.
5320 * gdb.base/gcore-relro.exp: Likewise.
5321 * gdb.base/gdb1555.exp: Likewise.
5322 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5323 * gdb.base/gnu-ifunc.exp: Likewise.
5324 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
5325 * gdb.base/jit-so.exp (one_jit_test): Likewise.
5326 * gdb.base/pending.exp: Likewise.
5327 * gdb.base/print-file-var.exp: Likewise.
5328 * gdb.base/print-symbol-loading.exp: Likewise.
5329 * gdb.base/shlib-call.exp: Likewise.
5330 * gdb.base/shreloc.exp: Likewise.
5331 * gdb.base/so-impl-ld.exp: Likewise.
5332 * gdb.base/solib-disc.exp: Likewise.
5333 * gdb.base/solib-nodir.exp: Likewise.
5334 * gdb.base/solib-overlap.exp: Likewise.
5335 * gdb.base/solib-symbol.exp: Likewise.
5336 * gdb.base/solib-weak.exp (do_test): Likewise.
5337 * gdb.base/sym-file.exp: Likewise.
5338 * gdb.base/symtab-search-order.exp: Likewise.
5339 * gdb.base/type-opaque.exp: Likewise.
5340 * gdb.base/unload.exp: Likewise.
5341 * gdb.base/watchpoint-solib.exp: Likewise.
5342 * gdb.compile/compile.exp: Likewise.
5343 * gdb.cp/gdb2384.exp: Likewise.
5344 * gdb.cp/infcall-dlopen.exp: Likewise.
5345 * gdb.cp/re-set-overloaded.exp: Likewise.
5346 * gdb.fortran/library-module.exp: Likewise.
5347 * gdb.opt/solib-intra-step.exp: Likewise.
5348 * gdb.python/py-finish-breakpoint.exp: Likewise.
5349 * gdb.python/py-shared.exp: Likewise.
5350 * gdb.reverse/solib-precsave.exp: Likewise.
5351 * gdb.reverse/solib-reverse.exp: Likewise.
5352 * gdb.server/solib-list.exp: Likewise.
5353 * gdb.threads/dlopen-libpthread.exp: Likewise.
5354 * gdb.threads/tls-shared.exp: Likewise.
5355 * gdb.threads/tls-so_extern.exp: Likewise.
5356 * gdb.trace/change-loc.exp: Likewise.
5357 * gdb.trace/ftrace-lock.exp: Likewise.
5358 * gdb.trace/ftrace.exp: Likewise.
5359 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
5360 * gdb.trace/pending.exp: Likewise.
5361 * gdb.trace/range-stepping.exp: Likewise.
5362 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
5363 (strace_info_marker): Likewise.
5364 (strace_probe_marker): Likewise.
5365 (strace_trace_on_same_addr): Likewise.
5366 (strace_trace_on_diff_addr): Likewise.
5367 * gdb.trace/trace-break.exp: Likewise.
5368 * gdb.trace/trace-condition.exp: Likewise.
5369 * gdb.trace/trace-mt.exp: Likewise.
5371 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5373 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
5374 result of gdb_remote_download.
5375 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
5376 * gdb.base/dso2dso.exp: Likewise.
5377 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5378 * gdb.base/print-file-var.exp: Likewise.
5379 * gdb.base/shlib-call.exp: Likewise.
5380 * gdb.base/shreloc.exp: Likewise.
5381 * gdb.base/solib-overlap.exp: Likewise.
5382 * gdb.base/solib-weak.exp (do_test): Likewise.
5383 * gdb.base/unload.exp: Likewise.
5385 2016-04-27 Yao Qi <yao.qi@linaro.org>
5387 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5390 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5392 * vla-type.exp: Print structure from toplevel.
5394 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5396 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5398 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5401 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5403 * gdb.fortran/vla-type.f90: New file.
5404 * gdb.fortran/vla-type.exp: New file.
5406 2016-04-25 Yao Qi <yao.qi@linaro.org>
5408 * gdb.base/branch-to-self.c: New file.
5409 * gdb.base/branch-to-self.exp: New file.
5411 2016-04-22 Yao Qi <yao.qi@linaro.org>
5413 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
5416 2016-04-22 Yao Qi <yao.qi@linaro.org>
5418 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
5419 * gdb.base/annota3.exp: Likewise.
5421 2016-04-22 Yao Qi <yao.qi@linaro.org>
5423 * gdb.reverse/step-precsave.exp: Do one step and test program
5424 stops in "callee" and do multiple steps until program goes out
5426 * gdb.reverse/step-reverse.exp: Likewise.
5428 2016-04-22 Yao Qi <yao.qi@linaro.org>
5430 * gdb.trace/signal.exp: Also pass if
5431 $tracepoint_hits($i) > $iterations.
5433 2016-04-22 Yao Qi <yao.qi@linaro.org>
5435 * gdb.trace/signal.c: New file.
5436 * gdb.trace/signal.exp: New file.
5438 2016-04-19 Doug Evans <xdje42@gmail.com>
5440 * gdb.base/bad-file.exp: New file.
5442 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
5444 * gdb.dwarf2/implref.exp: New file.
5446 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5448 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5449 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5450 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5451 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5452 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5453 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5454 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5455 * lib/fortran.exp (fortran_int4): New procedure.
5456 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5457 (fortran_logical4): Likewise.
5459 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
5461 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5463 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5465 * lib/compiler.c: Add Intel specific preprocessor macros.
5466 * lib/compiler.cc: Likewise.
5468 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
5470 * gdb.server/connect-with-no-symbol-file.c: New file.
5471 * gdb.server/connect-with-no-symbol-file.exp: New file.
5473 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5475 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5477 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5479 * boards/gdbserver-base.exp (${board}_download): Copy source file to
5480 standard output directory.
5482 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
5484 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5486 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
5488 * gdb.btrace/instruction_history.c (loop): Add declaration.
5490 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5492 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5494 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
5496 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5497 parentheses to print.
5498 (continue_handler): Likewise.
5500 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
5502 * gdb.server/solib-list.exp: Remove is_remote check.
5503 Pass shlib= to gdb_compile. Don't link shared library with
5504 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
5505 Run binary filename through "readlink -f" on the target.
5507 2016-04-08 Pedro Alves <palves@redhat.com>
5509 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
5510 interpreter filename as argument to gdbserver_spawn.
5511 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5512 Return empty if $last_loaded_file does not exist.
5514 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5516 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5517 * gdb.base/jit-main.c: Use exit after usage.
5519 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5521 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5522 GDBHISTSIZE prior to the tests.
5523 * gdb.base/gdbinit-history.exp: Likewise.
5525 2016-04-07 Pedro Alves <palves@redhat.com>
5527 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5528 instead of build_executable. Use gdb_load_shlibs.
5530 2016-04-07 Yao Qi <yao.qi@linaro.org>
5532 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5533 Execute "si" command.
5535 2016-04-07 Yao Qi <yao.qi@linaro.org>
5537 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5538 number instead of the comments on some line.
5540 2016-04-06 Don Breazeal <donb@codesourcery.com>
5542 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
5543 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
5545 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
5547 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
5548 standard_output_file. Remove unused binfile variable.
5550 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
5552 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
5553 * gdb.python/py-mi-objfile.exp: Match "list main" output
5556 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
5558 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
5561 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5563 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
5565 * gdb.trace/ftrace.exp: Likewise.
5566 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
5568 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
5569 (gdb_load_shlibs): Copy libraries to test directory when testing
5570 natively. Only set solib-search-path if testing remotely.
5571 * lib/mi-support.exp (mi_load_shlibs): Likewise.
5573 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5575 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
5576 gdb_download. Use it even if the target is not remote.
5577 * gdb.base/jit.exp (compile_jit_test): Likewise.
5578 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
5579 output directory if the destination board is local, otherwise use
5580 the standard remote_download from DejaGnu.
5581 (gdb_download): Remove.
5582 (gdb_load_shlibs): Use gdb_remote_download instead of
5584 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5585 Use gdb_remote_download instead of gdb_download. Use it even if
5586 the target is not remote.
5587 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
5588 instead of gdb_download.
5590 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
5592 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
5593 (test_insert_delete_modify): Call mi_load_shlibs before trying to
5596 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
5599 * gdb.base/printcmds.exp: Add artificial arrays tests.
5601 2016-03-31 Pedro Alves <palves@redhat.com>
5604 * gdb.base/jit-main.c: Include unistd.h.
5605 (ATTACH): Define to 0 if not already defined.
5606 (wait_for_gdb, mypid): New globals.
5607 (WAIT_FOR_GDB): New macro.
5608 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
5609 some breakpoint locations.
5610 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
5612 (one_jit_test): Add REATTACH parameter, and handle it. Use
5613 continue_to_test_location.
5614 (top level): Test attach, and adjusts calls to one_jit_test.
5616 2016-03-31 Pedro Alves <palves@redhat.com>
5619 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
5620 BINSUFFIX parameter, and handle it.
5621 (top level): Adjust calls compile_jit_test.
5623 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
5626 * gdb.python/py-mi-events-gdb.py: New file.
5627 * gdb.python/py-mi-events.c: New file.
5628 * gdb.python/py-mi-events.exp: New file.
5630 2016-03-30 Yao Qi <yao.qi@linaro.org>
5632 * gdb.reverse/until-precsave.exp: Match function name only.
5633 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
5634 Move malloc to a condition block.
5635 * gdb.reverse/until-reverse.exp: Match function name only.
5637 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
5639 * gdb.trace/ftrace.exp: Set arg0exp for s390.
5640 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
5641 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
5642 variable for GPR 0 instead of assuming it is register 0.
5643 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
5644 * lib/trace-support.exp: Add s390 registers.
5646 2016-03-29 Yao Qi <yao.qi@linaro.org>
5648 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
5650 2016-03-24 Yao Qi <yao.qi@linaro.org>
5652 * gdb.reverse/break-reverse.exp: Add quotation mark in the
5655 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5657 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
5658 maintaining separate logic for constructing the output path.
5660 2016-03-16 Don Breazeal <donb@codesourcery.com>
5662 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5663 Retry fork and waitpid on interrupted system call errors.
5664 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5665 Use with_timeout_factor to increase timeout by factor of 10.
5667 2016-03-15 Don Breazeal <donb@codesourcery.com>
5669 * gdb.cp/scope-err.cc: New test program.
5670 * gdb.cp/scope-err.exp: New test script.
5671 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
5672 lines and "set breakpoint here" comment.
5673 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
5674 Fixed some whitespace and format issues.
5675 * gdb.mi/mi-linespec-err-cp.cc: New test program.
5676 * gdb.mi/mi-linespec-err-cp.exp: New test script.
5678 2016-03-15 Doug Evans <dje@google.com>
5680 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
5681 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
5682 All callers updated. Add tests for enums, mixed flags register.
5684 2016-03-15 Doug Evans <dje@google.com>
5686 * gdb.base/skip.c (main): Call test_skip_file_and_function.
5687 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
5689 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
5691 * gdb.base/default.exp: Add $_as_string to the list of expected
5692 convenience functions.
5694 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
5696 * gdb.base/maint.exp: New tests for 'maint info line-table'.
5698 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
5700 * gdb.python/py-as-string.exp: New file.
5701 * gdb.python/py-as-string.c: New file.
5703 2016-03-09 Pedro Alves <palves@redhat.com>
5705 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
5706 signal" -> "Thread NN received signal" output change.
5707 * gdb.threads/ia64-sigill.exp: Likewise.
5708 * gdb.threads/linux-dp.exp: Likewise.
5709 * gdb.threads/manythreads.exp: Likewise.
5710 * gdb.threads/pending-step.exp: Likewise.
5711 * gdb.threads/print-threads.exp: Likewise.
5712 * gdb.threads/sigstep-threads.exp: Likewise.
5713 * gdb.threads/staticthreads.exp: Likewise.
5714 * gdb.threads/tls.exp: Likewise.
5716 2016-03-09 Pedro Alves <palves@redhat.com>
5718 * gdb.base/command-line-input.exp: New file.
5720 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5722 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
5723 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
5724 * gdb.trace/pending.exp: Accept leading dot before function name.
5725 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
5726 * lib/trace-support.exp: Set registers for ppc.
5728 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5730 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
5731 use it for disassembly; accept .main in addition to main in backtrace.
5733 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
5734 Marcin Kościelnicki <koriakin@0x04.net>
5736 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
5737 (gdb_recursion_test_ptr): New global variable.
5738 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
5740 (gdb_c_test): Ditto.
5742 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5744 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
5747 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5749 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
5750 (bar): Add bar_start_lbl label.
5751 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
5752 of foo/bar for emitting DWARF and tracing.
5754 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
5756 * analyze-racy-logs.py: Set executable bit.
5758 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
5760 * Makefile.in (DEFAULT_RACY_ITER): New variable.
5761 (CHECK_TARGET_TMP): Likewise.
5762 (check-single-racy): New rule.
5763 (check-parallel-racy): Likewise.
5764 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
5765 (do-check-parallel-racy): New rule.
5766 (check-racy/%.exp): Likewise.
5767 * README (Racy testcases): New section.
5768 * analyze-racy-logs.py: New file.
5770 2016-03-03 Doug Evans <dje@google.com>
5772 * gdb.base/skip.exp: Use with_test_prefix.
5774 2016-03-03 Yao Qi <yao.qi@linaro.org>
5776 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
5777 Invoke step_over_syscall "clone" and break_cond_on_syscall
5779 * gdb.base/step-over-clone.c: New file.
5781 2016-03-03 Yao Qi <yao.qi@linaro.org>
5783 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
5786 2016-03-03 Yao Qi <yao.qi@linaro.org>
5788 * gdb.base/disp-step-fork.c: Rename to ...
5789 * gdb.base/step-over-fork.c: ... it. New file.
5790 * gdb.base/disp-step-vfork.c: Rename to ...
5791 * gdb.base/step-over-vfork.c: ... it. New file.
5792 * gdb.base/disp-step-syscall.exp: Rename to ...
5793 * gdb.base/step-over-syscall.exp: ... it. New file.
5794 (disp_step_cross_syscall): Rename to ...
5795 (step_over_syscall): ... it.
5797 2016-03-03 Yao Qi <yao.qi@linaro.org>
5799 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
5800 If target supports condition evaluation on target, invoke
5801 break_cond_on_syscall for fork and vfork.
5803 2016-03-03 Yao Qi <yao.qi@linaro.org>
5805 * gdb.base/disp-step-syscall.exp: Don't invoke
5806 support_displaced_stepping.
5807 (disp_step_cross_syscall): Test with displaced stepping off and
5810 2016-03-03 Yao Qi <yao.qi@linaro.org>
5812 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
5815 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
5818 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5820 * gdb.fortran/vla-history.exp: Remove breakpoint.
5822 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5824 * gdb.fortran/vla-history.exp: Lookup array elements and printing
5827 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5829 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
5832 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5834 * gdb.mi/vla.f90: Nullify pointer after declaration.
5836 2016-03-01 Pedro Alves <palves@redhat.com>
5838 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
5840 2016-03-01 Pedro Alves <palves@redhat.com>
5842 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
5843 before anything else.
5844 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
5846 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
5847 before anything else.
5848 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
5850 2016-03-01 Pedro Alves <palves@redhat.com>
5852 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
5854 2016-03-01 Yao Qi <yao.qi@linaro.org>
5856 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
5857 prepare_for_testing.
5859 2016-03-01 Yao Qi <yao.qi@linaro.org>
5861 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
5863 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5865 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
5866 manually constructing the output path.
5868 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5870 * gdb.arch/s390-stackless.S: New.
5871 * gdb.arch/s390-stackless.exp: New.
5873 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
5875 * gdb.dlang/circular.c: New file.
5876 * gdb.dlang/circular.exp: New file.
5878 2016-02-26 Yao Qi <yao.qi@linaro.org>
5880 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
5881 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
5882 (testcases): Update.
5884 2016-02-26 Yao Qi <yao.qi@linaro.org>
5886 * gdb.reverse/aarch64.c: Rename to ...
5887 * gdb.reverse/insn-reverse.c: ... it.
5888 * gdb.reverse/aarch64.exp: Rename to ...
5889 * gdb.reverse/insn-reverse.exp: ... it.
5891 2016-02-26 Yao Qi <yao.qi@linaro.org>
5893 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
5894 (testcase_ftype): New.
5895 (testcases): New array.
5897 (main): Call each element in testcases.
5898 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
5899 (read_testcase): New.
5900 Do the tests in a loop.
5902 2016-02-25 Yao Qi <yao.qi@linaro.org>
5904 * gdb.base/branches.c: Remove.
5906 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5909 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
5911 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5913 * gdb.trace/ftrace.exp: Remove unnecessary target check.
5915 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5917 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
5918 change x86_64 call_insn to 'callq'.
5920 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5922 * gdb.trace/tfile-avx.c: Move to...
5923 * gdb.trace/tracefile-pseudo-reg.c: Here.
5924 * gdb.trace/tfile-avx.exp: Move to...
5925 * gdb.trace/tracefile-pseudo-reg.exp: Here.
5927 2016-02-24 Gary Benson <gbenson@redhat.com>
5929 * gdb.base/attach-pie-noexec.exp: Do not expect an error
5932 2016-02-23 Doug Evans <dje@google.com>
5934 * gdb.base/skip.c (test_skip): New function.
5935 (end_test_skip_file_and_function): New function.
5936 (test_skip_file_and_function): New function.
5937 * gdb.base/skip1.c (test_skip): New function.
5938 (skip1_test_skip_file_and_function): New function.
5939 * gdb.base/skip.exp: Add tests for new skip options.
5940 * gdb.base/skip-solib.exp: Update expected output.
5941 * gdb.perf/skip-command.cc: New file.
5942 * gdb.perf/skip-command.exp: New file.
5943 * gdb.perf/skip-command.py: New file.
5945 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
5947 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
5948 info registers pattern.
5950 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
5952 * lib/future.exp: Add D support.
5953 (gdb_find_gdc): New proc.
5954 (gdb_default_target_compile): Add D support.
5956 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
5958 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
5960 (trace_speed_test): Determine the iteration count for a time
5961 between 15..30 seconds.
5963 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
5965 * gdb.arch/i386-mpx-sigsegv.c: New file.
5966 * gdb.arch/i386-mpx-sigsegv.exp: New file.
5967 * gdb.arch/i386-mpx-simple_segv.c: New file.
5968 * gdb.arch/i386-mpx-simple_segv.exp: New file.
5970 2016-02-18 Yao Qi <yao.qi@linaro.org>
5972 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5973 Don't call setup_kfail.
5975 2016-02-18 Yao Qi <yao.qi@linaro.org>
5977 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5978 Set "set breakpoint condition-evaluation" per $cond_bp_target.
5980 2016-02-16 Doug Evans <dje@google.com>
5982 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
5983 * gdb.base/skip1.c: Ditto.
5984 * gdb.base/skip.exp: Whitespace cleanup.
5986 2016-02-16 Don Breazeal <donb@codesourcery.com>
5989 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5990 Remove kfail for PR remote/19496.
5992 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5994 * lib/gdb.exp (standard_temp_file): Return a path specific to
5995 the runtest invocation.
5997 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5999 * gdb.trace/save-trace.exp: Change relative path to be in the
6000 standard output directory.
6002 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6004 * gdb.arch/i386-prologue.c: Add missing prototypes.
6006 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6008 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
6009 * gdb.arch/i386-prologue.exp: Likewise.
6010 * gdb.arch/i386-size.exp: Likewise.
6012 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
6014 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
6015 define object file path.
6016 * gdb.btrace/gcore.exp: Use standard_output_file to define core
6018 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
6019 standard_output_file to define binfile.
6021 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6023 Fix compatibility with recent gfortran-5.3.1.
6024 * gdb.fortran/vla-history.exp (print vla1 allocated)
6025 (print vla2 allocated, print $2, print $3): Remove
6026 (print $4): Rename to ...
6027 (print $2): ... here.
6028 (print $9): Rename to ...
6029 (print $5): ... here.
6030 (print $10): Rename to ...
6031 (print $6): ... here.
6032 * gdb.fortran/vla.f90: Add pvla initialization.
6034 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6036 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
6038 * gdb.fortran/vla-value-sub.exp: Likewise.
6040 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
6042 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
6044 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
6046 * i386-biarch-core.exp: Define corefile using
6047 standard_output_file.
6049 2016-02-12 Yao Qi <yao.qi@linaro.org>
6051 * gdb.arch/arm-single-step-kernel-helper.c: New.
6052 * gdb.arch/arm-single-step-kernel-helper.exp: New.
6054 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
6056 * gdb.btrace/tailcall-only.exp: New.
6057 * gdb.btrace/tailcall-only.c: New.
6058 * gdb.btrace/x86_64-tailcall-only.S: New.
6059 * gdb.btrace/i686-tailcall-only.S: New.
6061 2016-02-11 Pedro Alves <palves@redhat.com>
6063 * README (Parallel testing): Add missing double quotes.
6065 2016-02-11 Pedro Alves <palves@redhat.com>
6067 * README (Parallel testing): New section.
6068 (GDB_PARALLEL): Rewrite.
6069 (FORCE_PARALLEL): Document.
6071 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
6073 * gdb.trace/tfile-avx.c: New test.
6074 * gdb.trace/tfile-avx.exp: New test.
6076 2016-02-09 Keith Seitz <keiths@redhat.com>
6078 PR breakpoints/19546
6079 * gdb.base/infcall-exec.c: New file.
6080 * gdb.base/infcall-exec2.c: New file.
6081 * gdb.base/infcall-exec.exp: New file.
6083 2016-02-09 Keith Seitz <keiths@redhat.com>
6085 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
6086 (toplevel): Call test_bkpt_address.
6088 2016-02-09 Keith Seitz <keiths@redhat.com>
6091 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
6092 (toplevel): Call test_bkpt_address.
6094 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
6096 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
6098 * configure: Regenerate.
6100 2016-02-09 Pedro Alves <palves@redhat.com>
6102 PR breakpoints/19548
6103 * gdb.base/execl-update-breakpoints.c (some_function): New
6106 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
6107 Tighten expected GDB output.
6109 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6111 * Makefile.in (ALL_SUBDIRS): Remove.
6112 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
6113 (distclean maintainer-clean realclean): Likewise.
6114 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
6115 * configure: Regenerate.
6116 * gdb.ada/Makefile.in: Delete.
6117 * gdb.arch/Makefile.in: Likewise.
6118 * gdb.asm/Makefile.in: Likewise.
6119 * gdb.base/Makefile.in: Likewise.
6120 * gdb.btrace/Makefile.in: Likewise.
6121 * gdb.cell/Makefile.in: Likewise.
6122 * gdb.compile/Makefile.in: Likewise.
6123 * gdb.cp/Makefile.in: Likewise.
6124 * gdb.disasm/Makefile.in: Likewise.
6125 * gdb.dlang/Makefile.in: Likewise.
6126 * gdb.dwarf2/Makefile.in: Likewise.
6127 * gdb.fortran/Makefile.in: Likewise.
6128 * gdb.gdb/Makefile.in: Likewise.
6129 * gdb.go/Makefile.in: Likewise.
6130 * gdb.guile/Makefile.in: Likewise.
6131 * gdb.java/Makefile.in: Likewise.
6132 * gdb.linespec/Makefile.in: Likewise.
6133 * gdb.mi/Makefile.in: Likewise.
6134 * gdb.modula2/Makefile.in: Likewise.
6135 * gdb.multi/Makefile.in: Likewise.
6136 * gdb.objc/Makefile.in: Likewise.
6137 * gdb.opencl/Makefile.in: Likewise.
6138 * gdb.opt/Makefile.in: Likewise.
6139 * gdb.pascal/Makefile.in: Likewise.
6140 * gdb.perf/Makefile.in: Likewise.
6141 * gdb.python/Makefile.in: Likewise.
6142 * gdb.reverse/Makefile.in: Likewise.
6143 * gdb.server/Makefile.in: Likewise.
6144 * gdb.stabs/Makefile.in: Likewise.
6145 * gdb.threads/Makefile.in: Likewise.
6146 * gdb.trace/Makefile.in: Likewise.
6147 * gdb.xml/Makefile.in: Likewise.
6148 * lib/gdb.exp (make_gdb_parallel_path): Add check for
6150 (standard_output_file): Remove check for GDB_PARALLEL, always
6151 return path in outputs/$subdir/$testname.
6153 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6155 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
6156 (site.exp): Assign abs_srcdir to tcl's srcdir.
6158 2016-02-04 Yao Qi <yao.qi@linaro.org>
6160 * gdb.base/foll-exec-mode.c: Include limits.h.
6161 (main): Add parameters argc and argv. Get directory from
6163 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
6165 * gdb.base/foll-exec.c: Include limits.h.
6166 (main): Add parameters argc and argv.
6167 Get directory from argv[0].
6168 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
6169 Adjust tests on the number of lines as source code changed.
6170 * gdb.base/foll-vfork-exit.c: Include limits.h.
6171 (main): Add one line of statement before vfork.
6172 * gdb.base/foll-vfork.c: Include limits.h and string.h.
6173 (main): Add parameters argc and argv. Get directory from
6175 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
6176 (setup_gdb): Set tbreak to skip some source lines.
6177 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
6178 (main): Add parameters argc and argv. Get directory from
6180 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
6182 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
6183 (main): Add parameters argc and argv. Get directory from
6185 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
6188 2016-02-01 Doug Evans <dje@google.com>
6190 * gdb.base/skip.exp: Clean up multiple references to same test name.
6192 2016-02-01 Pedro Alves <palves@redhat.com>
6195 * gdb.threads/forking-threads-plus-breakpoint.exp
6196 (displaced_stepping_supported): New global.
6197 (probe_displaced_stepping_support): New procedure.
6198 (do_test): Add 'displaced' parameter, and use it.
6199 (top level): Check for displaced stepping support. Add displaced
6200 stepping on/off testing axis.
6202 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6204 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
6205 pointer. Don't perform further tests on the unassociated pointer
6206 if the first test fails.
6208 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6210 * gdb.base/max-value-size.c: New file.
6211 * gdb.base/max-value-size.exp: New file.
6212 * gdb.base/huge.exp: Disable max-value-size for this test.
6214 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
6216 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6218 2016-01-28 Yao Qi <yao.qi@linaro.org>
6220 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
6222 2016-01-25 Pedro Alves <palves@redhat.com>
6225 * gdb.base/fork-running-state.c: New file.
6226 * gdb.base/fork-running-state.exp: New file.
6228 2016-01-25 Pedro Alves <palves@redhat.com>
6231 * gdb.base/catch-fork-kill.c: New file.
6232 * gdb.base/catch-fork-kill.exp: New file.
6234 2016-01-25 Pedro Alves <palves@redhat.com>
6236 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
6237 Delete, moved to lib/gdb.exp.
6238 * gdb.threads/forking-threads-plus-breakpoint.exp
6239 (foreach_with_prefix): Likewise.
6240 * gdb.threads/process-dies-while-handling-bp.exp
6241 (foreach_with_prefix): Likewise.
6242 * lib/gdb.exp (foreach_with_prefix): New procedure.
6244 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
6246 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
6247 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
6249 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
6251 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
6254 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6255 Pedro Alves <palves@redhat.com>
6257 Fix testsuite compatibility with Guile.
6258 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
6261 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6263 Fix testsuite compatibility with Guile.
6264 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
6265 (thread 1): New test for backtrace through signal handler.
6267 2016-01-22 Yao Qi <yao.qi@linaro.org>
6270 * gdb.base/multi-forks.c: Include
6271 ../lib/unbuffer_output.c
6272 (main): Call gdb_unbuffer_output.
6274 2016-01-21 Doug Evans <dje@google.com>
6276 * lib/ada.exp (gdb_compile_ada): Fix typo.
6278 2016-01-21 Joel Brobecker <brobecker@adacore.com>
6280 * gdb.base/break-fun-addr.exp: New file.
6281 * gdb.base/break-fun-addr1.c: New file.
6282 * gdb.base/break-fun-addr2.c: New file.
6284 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
6286 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
6287 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
6290 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6292 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
6293 when GDB can not set the vector return value. Add more comments
6296 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
6298 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
6301 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6303 * Makefile.in (DO_RUNTEST): Add --status and update usages.
6305 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6307 * Makefile.in (check-single): Pass --status to runtest.
6308 (check/%.exp): Likewise.
6310 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6312 * Makefile.in (check-parallel): Propagate return code from make
6315 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
6317 * gdb.trace/ftrace.exp: Fix expected message on continue.
6318 * gdb.trace/pending.exp: Fix expected message on continue.
6319 * gdb.trace/trace-break.exp: Fix expected message on continue.
6321 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
6323 * lib/gdb.exp (gdb_test): Remove unused global references.
6325 2016-01-18 Pedro Alves <palves@redhat.com>
6327 * gdb.base/async-shell.exp: Adjust expected output.
6328 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
6329 * gdb.base/siginfo-thread.exp: Adjust expected output.
6330 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
6331 * gdb.java/jnpe.exp: Adjust expected output.
6332 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
6333 * gdb.threads/continue-pending-status.exp: Adjust expected output.
6334 * gdb.threads/leader-exit.exp: Adjust expected output.
6335 * gdb.threads/manythreads.exp: Adjust expected output.
6336 * gdb.threads/pthreads.exp: Adjust expected output.
6337 * gdb.threads/schedlock.exp: Adjust expected output.
6338 * gdb.threads/siginfo-threads.exp: Adjust expected output.
6339 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
6341 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
6343 * gdb.threads/sigthread.exp: Adjust expected output.
6344 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
6346 2016-01-18 Yao Qi <yao.qi@linaro.org>
6348 * gdb.guile/scm-section-script.c: Replace @progbits with
6350 * gdb.python/py-section-script.c: Likewise.
6352 2016-01-15 Pedro Alves <palves@redhat.com>
6354 * gdb.multi/tids.exp: Test star wildcard ranges.
6356 2016-01-15 Pedro Alves <palves@redhat.com>
6358 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
6359 command from "thread apply" invocation.
6360 (thr_apply_info_thr_invalid): Default the expected output to the
6362 (top level): Add tests that use convenience variables. Add tests
6363 for "thread apply" with a valid TID list, but missing the command.
6365 2016-01-13 Pedro Alves <palves@redhat.com>
6367 * gdb.base/default.exp: Expect $_gthread as well.
6368 * gdb.multi/tids.exp: Test $_gthread.
6369 * gdb.threads/thread-specific.exp: Test $_gthread.
6371 2016-01-13 Pedro Alves <palves@redhat.com>
6373 * gdb.multi/tids.exp: Test "info threads -gid".
6375 2016-01-13 Pedro Alves <palves@redhat.com>
6377 * gdb.multi/tids.exp: Test InferiorThread.global_num and
6379 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6381 2016-01-07 Pedro Alves <palves@redhat.com>
6383 * gdb.base/break.exp: Adjust to output changes.
6384 * gdb.base/hbreak2.exp: Likewise.
6385 * gdb.base/sepdebug.exp: Likewise.
6386 * gdb.base/watch_thread_num.exp: Likewise.
6387 * gdb.linespec/keywords.exp: Likewise.
6388 * gdb.multi/info-threads.exp: Likewise.
6389 * gdb.threads/thread-find.exp: Likewise.
6390 * gdb.multi/tids.c: New file.
6391 * gdb.multi/tids.exp: New file.
6393 2016-01-13 Pedro Alves <palves@redhat.com>
6395 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6397 2016-01-13 Pedro Alves <palves@redhat.com>
6399 * gdb.base/default.exp: Expect $_inferior as well.
6400 * gdb.multi/base.exp: Test $_inferior.
6402 2016-01-13 Pedro Alves <palves@redhat.com>
6404 PR breakpoints/19388
6405 * gdb.base/catch-signal-siginfo-cond.c: New file.
6406 * gdb.base/catch-signal-siginfo-cond.exp: New file.
6408 2016-01-12 Josh Stone <jistone@redhat.com>
6409 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6411 * gdb.base/catch-syscall.c (do_execve): New variable.
6412 (main): Conditionally trigger an execve.
6413 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
6414 (test_catch_syscall_execve): New, check entry/return across execve.
6415 (do_syscall_tests): Call test_catch_syscall_execve.
6417 2016-01-12 Pedro Alves <palves@redhat.com>
6419 * gdb.base/random-signal.exp (do_test): New procedure, with body
6420 of testcase moved in.
6422 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6423 Pedro Alves <palves@redhat.com>
6425 * gdb.base/funcargs.exp (finish from indirectly called function):
6426 Reintroduce the case for 'First'.
6428 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6429 Pedro Alves <palves@redhat.com>
6431 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6432 (tcatch_vfork_then_child_follow_exec)
6433 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6436 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6438 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6439 and repeats to unlimited.
6440 * gdb.python/py-value.exp: Likewise.
6441 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6442 and repeats to unlimited.
6444 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6446 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6447 and reordering the functions.
6448 * gdb.multi/hangout.c: Likewise.
6449 * gdb.multi/hello.c: Likewise.
6451 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
6453 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6455 (SingleStatisticTestResult.report): Use dict.keys instead of
6458 2016-01-06 Pedro Alves <palves@redhat.com>
6460 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
6462 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
6464 * gdb.btrace/dlopen.exp: New.
6465 * gdb.btrace/dlopen.c: New.
6466 * gdb.btrace/dlopen-dso.c: New.
6468 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
6470 * lib/gdb.exp (gdb_test): Update comments to clarify that the
6471 PATTERN argument is optional.
6473 2015-12-24 Joel Brobecker <brobecker@adacore.com>
6475 * lib/ada.exp (target_compile_ada_from_dir): New function.
6476 (gdb_compile_ada): Reimplement avoiding the use of project files.
6477 * gdb.ada/gnat_ada.gpr: Delete.
6478 * gdb.ada/cond_lang.exp: Adjust test to make path before
6480 * gdb.ada/small_reg_param.exp: Likewise.
6482 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
6484 * gdb.base/foll-vork.exp: Remove HP-UX special case.
6486 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
6488 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6491 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
6493 * gdb.base/break.exp: Remove dead code.
6494 * gdb.base/sepdebug.exp: Likewise.
6496 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6498 * gdb.asm/asm-source.exp: Remove HP-UX references.
6499 * gdb.base/annota1.exp: Likewise.
6500 * gdb.base/annota3.exp: Likewise.
6501 * gdb.base/attach.exp: Likewise.
6502 * gdb.base/bigcore.exp: Likewise.
6503 * gdb.base/break.exp: Likewise.
6504 * gdb.base/call-ar-st.exp: Likewise.
6505 * gdb.base/callfuncs.exp: Likewise.
6506 * gdb.base/catch-fork-static.exp: Likewise.
6507 * gdb.base/display.exp: Likewise.
6508 * gdb.base/foll-exec-mode.exp: Likewise.
6509 * gdb.base/foll-exec.exp: Likewise.
6510 * gdb.base/foll-fork.exp: Likewise.
6511 * gdb.base/foll-vfork.exp: Likewise.
6512 * gdb.base/funcargs.exp: Likewise.
6513 * gdb.base/hbreak2.exp: Likewise.
6514 * gdb.base/inferior-died.exp: Likewise.
6515 * gdb.base/interrupt.exp: Likewise.
6516 * gdb.base/multi-forks.exp: Likewise.
6517 * gdb.base/nodebug.exp: Likewise.
6518 * gdb.base/sepdebug.exp: Likewise.
6519 * gdb.base/solib1.c: Likewise.
6520 * gdb.base/step-test.exp: Likewise.
6521 * gdb.mi/non-stop.c: Likewise.
6522 * gdb.mi/pthreads.c: Likewise.
6523 * gdb.multi/bkpt-multi-exec.ex: Likewise.
6524 * gdb.threads/pthreads.c: Likewise.
6525 * gdb.threads/staticthreads.exp: Likewise.
6526 * lib/future.exp: Likewise.
6527 * lib/gdb.exp: Likewise.
6528 * gdb.base/so-indr-cl.c: Remove.
6529 * gdb.base/so-indr-cl.exp: Likewise.
6530 * gdb.base/solib.c: Likewise.
6531 * gdb.base/solib.exp: Likewise.
6532 * gdb.base/solib2.c: Likewise.
6534 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6536 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6537 * gdb.base/call-ar-st.exp: Likewise.
6538 * gdb.base/callfuncs.exp: Likewise.
6539 * gdb.base/condbreak.exp: Likewise.
6540 * gdb.base/constvars.exp: Likewise.
6541 * gdb.base/hbreak2.exp: Likewise.
6542 * gdb.base/langs.exp: Likewise.
6543 * gdb.base/list.exp: Likewise.
6544 * gdb.base/long_long.exp: Likewise.
6545 * gdb.base/ptype.exp: Likewise.
6546 * gdb.base/scope.exp: Likewise.
6547 * gdb.base/signals.exp: Likewise.
6548 * gdb.base/so-impl-ld.exp: Likewise.
6549 * gdb.base/varargs.exp: Likewise.
6550 * gdb.base/volatile.exp: Likewise.
6551 * gdb.base/whatis.exp: Likewise.
6552 * gdb.cp/cplusfuncs.exp: Likewise.
6553 * gdb.cp/inherit.exp: Likewise.
6554 * gdb.cp/local.exp: Likewise.
6555 * gdb.cp/member-ptr.exp: Likewise.
6556 * gdb.cp/method.exp: Likewise.
6557 * gdb.cp/overload.exp: Likewise.
6558 * gdb.cp/templates.exp: Likewise.
6559 * gdb.stabs/weird.exp: Likewise.
6560 * lib/compiler.c: Likewise.
6561 * lib/compiler.cc: Likewise.
6562 * lib/cp-support.exp: Likewise.
6563 * lib/gdb.exp: Likewise.
6565 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
6567 * configure.ac: Remove HP-UX case.
6568 * configure: Regenerate.
6570 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
6572 * lib/gdb.exp (gdb_compile): Add function doc.
6574 2015-12-17 Pedro Alves <palves@redhat.com>
6577 * gdb.multi/info-threads.exp: New file.
6579 2015-12-15 Yao Qi <yao.qi@linaro.org>
6581 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
6584 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6586 * gdb.base/history-duplicates.exp: Skip if no readline support.
6588 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6590 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
6592 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6594 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
6596 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6598 * gdb.base/completion.exp: Skip tests that interrupt GDB with
6599 ctrl-C if nointerrupts target property is set.
6600 * gdb.base/double-prompt-target-event-error.exp: Likewise.
6601 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
6602 * gdb.base/paginate-bg-execution.exp: Likewise.
6603 * gdb.base/paginate-execution-startup.exp: Likewise.
6604 * gdb.base/random-signal.exp: Likewise.
6605 * gdb.base/range-stepping.exp: Likewise.
6606 * gdb.cp/annota2.exp: Likewise.
6607 * gdb.cp/annota3.exp: Likewise.
6608 * gdb.gdb/selftest.exp: Likewise.
6609 * gdb.threads/continue-pending-status.exp: Likewise.
6610 * gdb.threads/leader-exit.exp: Likewise.
6611 * gdb.threads/manythreads.exp: Likewise.
6612 * gdb.threads/pthreads.exp: Likewise.
6613 * gdb.threads/schedlock.exp: Likewise.
6614 * gdb.threads/sigthread.exp: Likewise.
6616 2015-12-11 Don Breazeal <donb@codesourcery.com>
6618 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
6620 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
6621 * gdb.base/foll-exec.exp (main): Enable for target remote.
6622 * gdb.base/foll-fork.exp (main): Likewise.
6623 * gdb.base/foll-vfork.exp (main): Likewise.
6624 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
6625 (proc continue_to_exit_bp_loc): Use clean_restart.
6626 * gdb.base/pie-execl.exp (main): Disable for target remote.
6627 * gdb.base/watch-vfork.exp (main): Enable for target remote.
6628 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
6629 * gdb.threads/execl.exp (main): Likewise.
6630 * gdb.threads/fork-child-threads.exp (main): Likewise.
6631 * gdb.threads/fork-plus-threads.exp (main): Disable for target
6633 * gdb.threads/fork-thread-pending.exp (main): Enable for target
6635 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
6636 pid.tid style ptids, instead of just tid.
6637 * gdb.threads/thread-execl.exp (main): Enable for target remote.
6638 * gdb.threads/watchpoint-fork.exp (main): Likewise.
6639 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
6640 ptids, instead of just tid.
6642 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6644 * gdb.base/list.exp (test_list_forward): Add end of file error
6646 (test_repeat_list_command): Add end of file error test.
6647 (test_list_backwards): Add beginning of file error test.
6649 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6651 * gdb.base/list.exp (test_list_invalid_args): New function,
6652 defined, and called.
6654 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6656 * gdb.base/list.exp (test_list): Make test names unique.
6658 2015-12-11 Yao Qi <yao.qi@linaro.org>
6660 * gdb.base/coremaker2.c: Remove.
6662 2015-12-10 Pedro Alves <palves@redhat.com>
6664 * gdb.multi/base.exp: Remove stale "spaces" references.
6666 2015-12-10 Pedro Alves <palves@redhat.com>
6668 * gdb.multi/base.exp: Don't use nowarnings.
6669 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
6670 * gdb.multi/hangout.c: Include stdio.h.
6671 * gdb.multi/hello.c: Include stdlib.h.
6672 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
6673 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
6674 * gdb.multi/multi-arch.exp: Don't use nowarnings.
6676 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
6678 * gdb.dwarf2/dw2-ranges-base.c: New file.
6679 * gdb.dwarf2/dw2-ranges-base.exp: New file.
6680 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
6681 support additional line table, and debug ranges generation.
6682 (Dwarf::ranges): New function, generate .debug_ranges.
6683 (Dwarf::lines): Support generating simple line table programs.
6684 (Dwarf::assemble): Initialise new namespace variables.
6686 2015-12-09 Kevin Buettner <kevinb@redhat.com>
6688 * gdb.base/async.exp (proc test_background): Add case for
6689 asynchronous execution not supported.
6691 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
6693 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
6694 format and change test names to make them unique.
6696 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
6697 Pedro Alves <pedro@redhat.com>
6700 Add checking of floatformats setup on x86_64 hosts.
6701 * gdb.arch/i386-float.S (main): Load bigval and smallval.
6702 (smallval, bigval): New labels/constants.
6703 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
6704 float" after loading bigval and smallval.
6706 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
6708 * gdb.ada/fun_overload_menu.exp: New testcase.
6709 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
6711 2015-12-04 Josh Stone <jistone@redhat.com>
6713 * gdb.base/catch-fork-static.exp: New.
6715 2015-12-03 Yao Qi <yao.qi@linaro.org>
6717 * gdb.base/sizeof.c: Don't include stdio.h and
6718 ../lib/unbuffer_output.c.
6719 (main): New variable 'size' and 'value'. Remove printf and
6720 gdb_unbuffer_output. Assign return value to size and value.
6721 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
6723 (check_sizeof): Check the result by printing variable 'size'.
6724 (check_valueof): Check the result by printing variable 'value'.
6726 2015-12-01 Yao Qi <yao.qi@linaro.org>
6728 * gdb.base/disp-step-syscall.exp: Define syscall instruction
6729 for aarch64*-*-linux* target.
6731 2015-11-30 Pedro Alves <palves@redhat.com>
6733 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
6735 2015-11-30 Pedro Alves <palves@redhat.com>
6737 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
6738 Handle non-stop mode vCont replies.
6740 2015-11-30 Pedro Alves <palves@redhat.com>
6742 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
6743 prepare_for_testing. Start gdb with "set non-stop on" appended to
6744 GDBFLAGS. Lax expected stop output.
6746 2015-11-27 Yao Qi <yao.qi@linaro.org>
6748 * gdb.arch/arm-neon.exp: New.
6749 * gdb.arch/arm-neon.c: New.
6751 2015-11-27 Yao Qi <yao.qi@linaro.org>
6753 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
6755 2015-11-27 Yao Qi <yao.qi@linaro.org>
6757 * gdb.cp/annota2.exp: Allow multiple occurrences of the
6758 frames-invalid annotation.
6760 2015-11-27 Yao Qi <yao.qi@linaro.org>
6762 * gdb.cp/annota2.exp: Use ${frames_invalid}.
6764 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
6766 * gdb.threads/names.exp: New file.
6767 * gdb.threads/names.c: New file.
6768 * README: Mention gdb,no_thread_names.
6770 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
6773 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
6776 2015-11-24 Pedro Alves <palves@redhat.com>
6779 * gdb.base/display.exp: Expect displays to be sorted in ascending
6780 order. Use multi_line.
6781 * gdb.base/solib-display.exp: Likewise.
6783 2015-11-24 Pedro Alves <palves@redhat.com>
6786 * gdb.base/display.exp: Expect displays to be sorted in ascending
6787 order. Use multi_line.
6788 * gdb.base/solib-display.exp: Likewise.
6790 2015-11-24 Pedro Alves <palves@redhat.com>
6793 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
6794 threads in ascending order.
6795 * gdb.base/foll-fork.exp: Likewise.
6796 * gdb.base/foll-vfork.exp: Likewise.
6797 * gdb.base/multi-forks.exp: Likewise.
6798 * gdb.mi/mi-nonstop.exp: Likewise.
6799 * gdb.mi/mi-nsintrall.exp: Likewise.
6800 * gdb.multi/base.exp: Likewise.
6801 * gdb.multi/multi-arch.exp: Likewise.
6802 * gdb.python/py-inferior.exp: Likewise.
6803 * gdb.threads/break-while-running.exp: Likewise.
6804 * gdb.threads/execl.exp: Likewise.
6805 * gdb.threads/gcore-thread.exp: Likewise.
6806 * gdb.threads/info-threads-cur-sal.exp: Likewise.
6807 * gdb.threads/kill.exp: Likewise.
6808 * gdb.threads/linux-dp.exp: Likewise.
6809 * gdb.threads/multiple-step-overs.exp: Likewise.
6810 * gdb.threads/next-bp-other-thread.exp: Likewise.
6811 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
6812 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
6813 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
6814 * gdb.threads/thread-find.exp: Likewise.
6815 * gdb.threads/tls.exp: Likewise.
6816 * lib/mi-support.exp (mi_reverse_list): Delete.
6817 (mi_check_thread_states): No longer reverse list.
6819 2015-11-24 Pedro Alves <palves@redhat.com>
6821 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
6824 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6826 * gdb.trace/actions.c: Include trace-common.h.
6827 (main): Add a location for a fast tracepoint.
6828 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
6829 the normal tracepoints.
6830 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
6832 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6834 * save-trace.exp: Factor out code to these...
6835 (gdb_save_tracepoints): New.
6836 (gdb_load_tracepoints): New.
6837 (do_save_load_test): New.
6839 2015-11-23 Kevin Buettner <kevinb@redhat.com>
6841 * gdb.base/asmlabel.exp: New test.
6842 * gdb.base/asmlabel.c: New test case.
6844 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6846 * gdb.base/wrong_frame_bt_full-main.c: New file.
6847 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
6848 * gdb.base/wrong_frame_bt_full.exp: New file.
6850 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6852 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
6854 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6856 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
6857 pstate register when comparing registers values in
6858 sparc64-*-linux-gnu targets to avoid spurious differences.
6860 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6862 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
6864 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
6866 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
6867 as type argument to gdb_compile.
6868 * gdb.base/nested-subp2.exp: Likewise.
6869 * gdb.base/nested-subp3.exp: Likewise.
6871 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
6873 * lib/dwarf.exp (_note): Fix left shift of negative value.
6874 * gdb.trace/trace-condition.exp: Likewise.
6876 2015-11-13 Yao Qi <yao.qi@linaro.org>
6878 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
6879 comments about d10v.
6880 (test_scalar_returns): Likewise.
6881 * gdb.base/d10v.ld: Remove.
6882 * gdb.base/overlays.exp: Remove the target triplet checking for
6884 * gdb.base/structs.exp (test_struct_returns): Remove the
6885 comments about d10v.
6886 (test_struct_calls): Likewise.
6888 2015-11-13 Yao Qi <yao.qi@linaro.org>
6890 * gdb.base/gnu_vector.exp: Check the return value by "p res".
6891 * gdb.base/gnu_vector.c: Don't include stdio.h.
6892 (main): Don't print res and call add_some_intvecs.
6894 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
6896 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
6899 (func4): Use FAST_TRACEPOINT_LABEL.
6900 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
6903 (thread_function): Use FAST_TRACEPOINT_LABEL.
6904 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
6906 (marker): Use FAST_TRACEPOINT_LABEL.
6907 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
6908 (pendfunc1): Remove.
6909 (pendfunc): Use FAST_TRACEPOINT_LABEL.
6910 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
6912 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
6913 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
6916 (marker): Use FAST_TRACEPOINT_LABEL.
6917 * gdb.trace/trace-common.h: New header.
6918 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
6921 (marker): Use FAST_TRACEPOINT_LABEL.
6922 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
6924 (thread_function): Use FAST_TRACEPOINT_LABEL.
6926 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
6928 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
6930 * gdb.trace/change-loc.exp: Use global pcreg definition.
6931 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
6932 * gdb.trace/entry-values.exp: Use global spreg definition, add $
6934 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
6935 * gdb.trace/pending.exp: Likewise.
6936 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
6937 * gdb.trace/trace-break.exp: Likewise.
6938 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
6940 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
6941 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
6943 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
6945 2015-11-09 Joel Brobecker <brobecker@adacore.com>
6947 * gdb.ada/fin_fun_out: New testcase.
6949 2015-11-07 Kevin Buettner <kevinb@redhat.com>
6951 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
6952 value associated with DW_AT_byte_size.
6953 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
6954 constants for DW_AT_byte_size, DW_AT_lower_bound, and
6957 2015-11-07 Kevin Buettner <kevinb@redhat.com>
6959 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
6960 (gdb_target_symbol_prefix_flags): Define in terms of _asm
6962 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
6963 gdb.dwarf2/dw2-canonicalize-type.exp,
6964 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
6965 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
6966 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
6967 provided by gdb_target_symbol_prefix_flags_asm.
6968 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
6969 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
6970 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
6971 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
6972 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
6973 macros where needed). Use this macro for symbols which require
6974 the prefix provided by SYMBOL_PREFIX.
6976 2015-11-05 Kevin Buettner <kevinb@redhat.com>
6978 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
6980 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
6981 representing expressions, of more than one list element.
6982 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
6983 to prepend linker symbol prefix to f.
6984 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
6985 table_1 and table_2.
6986 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
6987 Likewise, for f and g.
6988 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
6990 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
6992 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
6993 table_1_ptr and table_2_ptr.
6995 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6996 Joel Brobecker <brobecker@adacore.com>
6998 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
7000 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
7002 * gdb.reverse/s390-mvcle.c: New test.
7003 * gdb.reverse/s390-mvcle.exp: New file.
7004 * lib/gdb.exp: Enable reverse tests on s390*-linux.
7006 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7008 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
7010 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7012 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
7014 * gdb.reverse/getresuid-reverse.exp: Likewise.
7015 * gdb.reverse/pipe-reverse.exp: Likewise.
7016 * gdb.reverse/readv-reverse.exp: Likewise.
7017 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7018 * gdb.reverse/time-reverse.exp: Likewise.
7019 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
7021 2015-10-30 Yao Qi <yao.qi@linaro.org>
7023 * gdb.threads/wp-replication.c (watch_count_done): Remove.
7024 (empty_cycle): Remove.
7025 (main): Don't call empty_cycle. Don't use watch_count_done.
7026 * gdb.threads/wp-replication.exp: Don't set breakpoint on
7027 empty_cycle. Rewrite the code counting HW watchpoints.
7029 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
7031 * gdb.reverse/fstatat-reverse.c: New test.
7032 * gdb.reverse/fstatat-reverse.exp: New file.
7033 * gdb.reverse/getresuid-reverse.c: New test.
7034 * gdb.reverse/getresuid-reverse.exp: New file.
7035 * gdb.reverse/pipe-reverse.c: New test.
7036 * gdb.reverse/pipe-reverse.exp: New file.
7037 * gdb.reverse/readv-reverse.c: New test.
7038 * gdb.reverse/readv-reverse.exp: New file.
7039 * gdb.reverse/recvmsg-reverse.c: New test.
7040 * gdb.reverse/recvmsg-reverse.exp: New file.
7041 * gdb.reverse/time-reverse.c: New test.
7042 * gdb.reverse/time-reverse.exp: New file.
7043 * gdb.reverse/waitpid-reverse.c: New test.
7044 * gdb.reverse/waitpid-reverse.exp: New file.
7046 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7048 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
7050 2015-10-26 Doug Evans <dje@google.com>
7053 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
7054 * gdb.dwarf2/bad-regnum.c: New file.
7055 * gdb.dwarf2/bad-regnum.exp: New file.
7057 2015-10-26 Doug Evans <dje@google.com>
7060 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
7063 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7065 * gdb.compile/compile.exp (compile code globalvar): Update expectation
7066 for a change by "Mention language in compile error message".
7068 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
7071 * gdb.python/py-type.c (C::a_method): New.
7072 (C::a_const_method): New.
7073 (C::a_static_method): New.
7075 * gdb.python/py-type.exp (test_fields): Test getting fields
7076 from function and method.
7078 2015-10-21 Keven Boell <keven.boell@intel.com>
7080 * gdb.fortran/vla-alloc-assoc.exp: New file.
7081 * gdb.fortran/vla-datatypes.exp: New file.
7082 * gdb.fortran/vla-datatypes.f90: New file.
7083 * gdb.fortran/vla-history.exp: New file.
7084 * gdb.fortran/vla-ptype-sub.exp: New file.
7085 * gdb.fortran/vla-ptype.exp: New file.
7086 * gdb.fortran/vla-sizeof.exp: New file.
7087 * gdb.fortran/vla-sub.f90: New file.
7088 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
7089 * gdb.fortran/vla-value-sub-finish.exp: New file.
7090 * gdb.fortran/vla-value-sub.exp: New file.
7091 * gdb.fortran/vla-value.exp: New file.
7092 * gdb.fortran/vla-ptr-info.exp: New file.
7093 * gdb.mi/mi-vla-fortran.exp: New file.
7094 * gdb.mi/vla.f90: New file.
7096 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
7098 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
7099 of hardwired timeout value.
7101 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7102 Pedro Alves <palves@redhat.com>
7104 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
7105 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
7107 2015-10-19 Josh Stone <jistone@redhat.com>
7109 * gdb.base/catch-syscall.c: Include <sched.h>.
7110 (unknown_syscall): New variable.
7111 (main): Trigger a vfork and an unknown syscall.
7112 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
7113 (unknown_syscall_number): Likewise.
7114 (check_call_to_syscall): Accept an optional syscall pattern.
7115 (check_return_from_syscall): Likewise.
7116 (check_continue): Likewise.
7117 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
7118 (test_catch_syscall_skipping_return): New test toggling off 'catch
7119 syscall' to step over the syscall return, then toggling back on.
7120 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
7121 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
7122 (do_syscall_tests): Call test_catch_syscall_without_args and
7123 test_catch_syscall_mid_vfork.
7124 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
7125 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
7127 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
7129 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
7130 print g_vE): Add new pass patterns.
7131 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
7132 print various symbol names for vptr fields.
7134 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
7136 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
7139 2015-10-12 Yao Qi <yao.qi@linaro.org>
7141 * gdb.arch/disp-step-insn-reloc.exp: New test case.
7143 2015-10-12 Yao Qi <yao.qi@linaro.org>
7145 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
7146 is aarch64*-*-linux*.
7148 2015-10-12 Yao Qi <yao.qi@linaro.org>
7150 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
7151 (can_relocate_bcond_true): ... it.
7152 (can_relocate_bcond_false): New function.
7154 (can_relocate_bl): Likewise.
7155 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
7158 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
7160 * gdb.base/nested-addr.c: New file.
7161 * gdb.base/nested-addr.exp: New testcase.
7163 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
7165 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
7166 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
7167 its output. Ignore the output of "record goto begin" and instead
7168 check that GDB is replaying.
7170 2015-10-09 Pedro Alves <palves@redhat.com>
7172 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
7173 (top level): Use it in the run with no args test.
7175 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
7177 * gdb.dlang/properties.exp: New file.
7179 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
7181 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
7182 whether or not address 0x1000 is mapped on the target.
7184 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
7186 * gdb.python/py-type.exp: Do not run tests if binaries fail to
7189 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
7191 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
7192 instruction-history test.
7194 2015-09-28 Doug Evans <dje@google.com>
7196 * gdb.base/gcore.c (array_func): Add reference to static_array.
7198 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
7200 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
7203 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
7205 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
7206 short or char as base type.
7208 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
7210 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
7211 to allow any size enum.
7213 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
7215 * gdb.ada/array_ptr_renaming.exp: New testcase.
7216 * gdb.ada/array_ptr_renaming/foo.adb: New file.
7217 * gdb.ada/array_ptr_renaming/pack.ads: New file.
7219 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7221 * gdb.trace/ftrace-lock.c: New file.
7222 * gdb.trace/ftrace-lock.exp: New file.
7224 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7226 * gdb.arch/insn-reloc.c: New file.
7227 * gdb.arch/ftrace-insn-reloc.exp: New file.
7229 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7231 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
7233 * gdb.trace/pendshr1.c (pendfunc): Likewise.
7234 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
7235 * gdb.trace/range-stepping.c: Likewise.
7236 * gdb.trace/trace-break.c: Likewise.
7237 * gdb.trace/trace-mt.c (thread_function): Likewise.
7238 * gdb.trace/ftrace.c (marker): Likewise.
7239 * gdb.trace/trace-condition.c (marker): Likewise.
7240 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
7241 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
7244 2015-09-18 Doug Evans <xdje42@gmail.com>
7246 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
7247 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
7249 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7251 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
7254 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7256 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
7257 the pending breakpoint. Remove timeout override for "Run till
7258 MI pending breakpoint on pendfunc3 on thread 2" test.
7260 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7262 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
7265 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7267 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
7268 in breakpoint filename pattern.
7270 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7272 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
7274 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7276 * gdb.linespec/explicit.exp: Check for readline support for
7277 tab-completion tests. Fix obvious typo.
7279 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7281 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
7284 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7286 * gdb.btrace/non-stop.c: New.
7287 * gdb.btrace/non-stop.exp: New.
7289 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
7290 Yao Qi <yao.qi@linaro.org>
7292 * gdb.trace/trace-condition.c: New file.
7293 * gdb.trace/trace-condition.exp: New file.
7295 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
7297 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
7298 for testing bytecode compilation.
7300 2015-09-16 Pedro Alves <palves@redhat.com>
7301 Sandra Loosemore <sandra@codesourcery.com>
7303 * gdb.threads/non-stop-fair-events.c (timeout): New global.
7304 (SECONDS): Redefine.
7305 (main): Call pthread_kill and alarm early.
7306 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
7308 (test): If the target can't hardware step and doesn't support
7309 displaced stepping, increase the timeout.
7311 2015-09-16 Pedro Alves <palves@redhat.com>
7313 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
7314 (enable_debug): New procedures.
7315 (test): Use them. Bail out if waiting for threads fails.
7316 (top level): Bail out if a test fails.
7318 2015-09-16 Yao Qi <yao.qi@linaro.org>
7320 * gdb.asm/asm-source.exp: Set asm-arch for
7321 aarch64*-*-* target.
7322 * gdb.asm/aarch64.inc: New file.
7324 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
7326 * gdb.ada/array_of_variable_length.exp: New testcase.
7327 * gdb.ada/array_of_variable_length/foo.adb: New file.
7328 * gdb.ada/array_of_variable_length/pck.adb: New file.
7329 * gdb.ada/array_of_variable_length/pck.ads: New file.
7331 2015-09-15 Doug Evans <dje@google.com>
7333 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
7334 of function static local variable.
7336 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7338 * gdb.threads/tls-so_extern.exp: New test file.
7339 * gdb.threads/tls-so_extern.c: New test file.
7340 * gdb.threads/tls-so_extern_main.c: New test file.
7342 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7344 * gdb.opt/solib-intra-step-lib.c: New file.
7345 * gdb.opt/solib-intra-step-main.c: New file.
7346 * gdb.opt/solib-intra-step.exp: New file.
7348 2015-09-15 Pedro Alves <palves@redhat.com>
7350 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
7351 gdb_continue_to_breakpoint instead of gdb_test_multiple.
7353 2015-09-14 Pedro Alves <palves@redhat.com>
7355 * gdb.base/hook-stop-continue.c: Delete.
7356 * gdb.base/hook-stop-continue.exp: Delete.
7357 * gdb.base/hook-stop-frame.c: Delete.
7358 * gdb.base/hook-stop-frame.exp: Delete.
7359 * gdb.base/hook-stop.c: New file.
7360 * gdb.base/hook-stop.exp: New file.
7362 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
7364 * gdb.ada/access_to_packed_array.exp: New testcase.
7365 * gdb.ada/access_to_packed_array/foo.adb: New file.
7366 * gdb.ada/access_to_packed_array/pack.adb: New file.
7367 * gdb.ada/access_to_packed_array/pack.ads: New file.
7369 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
7371 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
7374 2015-09-11 Don Breazeal <donb@codesourcery.com>
7376 * gdb.base/foll-exec.c: Add copyright header. Fix
7378 * gdb.base/foll-exec.exp (zap_session): Delete proc.
7379 (do_exec_tests): Use clean_restart in place of zap_session,
7380 and for test initialization. Fix formatting issues. Use
7381 fail in place of perror.
7382 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7383 an expect statement to match an expression with output from
7384 the program under debug.
7385 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7386 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7387 * gdb.threads/non-ldr-exc-2.exp: Likewise.
7388 * gdb.threads/non-ldr-exc-3.exp: Likewise.
7389 * gdb.threads/non-ldr-exc-4.exp: Likewise.
7391 2015-09-09 Doug Evans <dje@google.com>
7393 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7395 2015-09-09 Doug Evans <dje@google.com>
7397 * gdb.base/pie-execl.exp: Fix result test of build_executable.
7399 2015-09-09 Doug Evans <dje@google.com>
7401 * gdb.base/savedregs.exp: Fix typo.
7403 2015-09-09 Pedro Alves <palves@redhat.com>
7405 * gdb.mi/mi-cli.exp: Add CLI finish tests.
7407 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
7409 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
7410 command actually switches threads. Give up on remaining
7411 tests if target fails to stop at breakpoint.
7413 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
7415 * gdb.ada/funcall_char.exp: New testcase.
7416 * gdb.ada/funcall_char/foo.adb: New file.
7418 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
7420 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
7421 expected outputs. Add two testcases for completing ambiguous
7423 * gdb.ada/complete/aux_pck.adb: New file.
7424 * gdb.ada/complete/aux_pck.ads: New file.
7425 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
7426 Ambiguous_Func functions.
7427 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
7428 * gdb.ada/complete/pck.adb: Likewise.
7430 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
7432 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
7433 failures to run the test program under GDB.
7435 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
7437 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7440 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
7442 * gdb.base/run-after-attach.exp: New test file.
7443 * gdb.base/run-after-attach.c: New test file.
7445 2015-08-26 Don Breazeal <donb@codesourcery.com>
7447 * gdb.base/foll-exec-2.c: New test program.
7448 * gdb.base/foll-exec-2.exp: New test.
7450 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7452 * gdb.base/nested-subp1.exp: New file.
7453 * gdb.base/nested-subp1.c: New file.
7454 * gdb.base/nested-subp2.exp: New file.
7455 * gdb.base/nested-subp2.c: New file.
7456 * gdb.base/nested-subp3.exp: New file.
7457 * gdb.base/nested-subp3.c: New file.
7459 2015-08-24 Pedro Alves <palves@redhat.com>
7461 * gdb.server/connect-without-multi-process.c: New file.
7462 * gdb.server/connect-without-multi-process.exp: New file.
7464 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7466 * gdb.opt/inline-markers.c: Make z int.
7468 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7470 * gdb.opt/inline-markers.c: Make z volatile.
7472 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7474 * gdb.opt/inline-bt.c: New volatile global z.
7475 * gdb.opt/inline-cmds.c: Likewise.
7476 * gdb.opt/inline-locals.c: Likewise.
7477 * gdb.opt/inline-markers.c: New extern global z.
7479 (inline_fn): Likewise.
7481 2015-08-24 Pedro Alves <palves@redhat.com>
7483 * config/m32r-stub.exp: Remove file.
7484 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7485 * gdb.base/call-rt-st.exp: Likewise.
7486 * gdb.base/call-strs.exp: Likewise.
7487 * gdb.base/default.exp: Remove references to h8300-*-hms and
7489 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7491 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7493 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7494 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
7495 and "return" use KFAIL when GDB can not read/write the vector
7498 2015-08-21 Gary Benson <gbenson@redhat.com>
7500 * gdb.trace/pending.exp: Cope with remote transfer warnings.
7502 2015-08-20 Pedro Alves <palves@redhat.com>
7504 * gdb.server/solib-list.exp: No longer expect an interior stop in
7507 2015-08-20 Pedro Alves <palves@redhat.com>
7509 * gdb.server/connect-stopped-target.c: New file.
7510 * gdb.server/connect-stopped-target.exp: New file.
7512 2015-08-20 Pedro Alves <palves@redhat.com>
7514 * gdb.dwarf2/comp-unit-lang.exp: New file.
7515 * gdb.dwarf2/comp-unit-lang.c: New file.
7517 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
7519 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7520 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7522 2015-08-19 Kevin Buettner <kevinb@redhat.com>
7524 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7525 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7527 2015-08-18 Doug Evans <dje@google.com>
7528 Adrian Sendroiu <adrian.sendroiu@freescale.com>
7530 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7531 skip_python_tests. New arg prompt_regexp.
7532 (skip_python_tests): New function.
7533 * lib/mi-support.exp (mi_skip_python_tests): New function.
7534 * gdb.python/py-mi-objfile-gdb.py: New file.
7535 * gdb.python/py-mi-objfile.c: New file.
7536 * gdb.python/py-mi-objfile.exp: New file.
7538 2015-08-17 Keith Seitz <keiths@redhat.com>
7540 * gdb.linespec/explicit.exp: Move strace test from here ...
7541 * gdb.trace/strace.exp: ... to here.
7543 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
7545 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
7546 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
7548 2015-08-14 Doug Evans <xdje42@gmail.com>
7550 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
7551 inferior before selecting a new file.
7553 2015-08-14 Doug Evans <xdje42@gmail.com>
7555 * gdb.mi/mi-disassemble.exp: Update.
7556 * gdb.base/disasm-optim.S: New file.
7557 * gdb.base/disasm-optim.c: New file.
7558 * gdb.base/disasm-optim.h: New file.
7559 * gdb.base/disasm-optim.exp: New file.
7561 2015-08-14 Keith Seitz <keiths@redhat.com>
7563 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
7566 2015-08-13 Joel Brobecker <brobecker@adacore.com>
7568 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
7570 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
7572 * gdb.ada/fun_renaming.exp: New testcase.
7573 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
7574 * gdb.ada/fun_renaming/pack.adb: New file.
7575 * gdb.ada/fun_renaming/pack.ads: New file.
7577 2015-08-12 Keith Seitz <keiths@redhat.com>
7579 * gdb.base/dso2dso.exp: Pass basename of source file in call to
7580 gdb_get_line_number.
7582 2015-08-12 Joel Brobecker <brobecker@adacore.com>
7584 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
7585 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
7586 gdb.base/dso2dso.exp: New files.
7588 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
7589 Pedro Alves <palves@redhat.com>
7590 Keith Seitz <keiths@redhat.com>
7592 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
7595 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7597 * gdb.base/gdbhistsize-history.exp
7598 (test_histsize_history_setting): Use save_vars.
7599 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7601 (test_no_truncation_of_unlimited_history_file): Use save_vars.
7602 * gdb.base/readline.exp: Use save_vars.
7604 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7606 * lib/gdb.exp (save_vars): New proc.
7608 2015-08-11 Keith Seitz <keiths@redhat.com>
7610 * gdb.base/help.exp: Update help_breakpoint_text.
7612 2015-08-11 Keith Seitz <keiths@redhat.com>
7614 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
7615 (at toplevel): Call test_explicit_breakpoints.
7616 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7618 * lib/mi-support.exp (mi_make_breakpoint): Add support for
7619 breakpoint conditions, "-cond".
7621 2015-08-11 Keith Seitz <keiths@redhat.com>
7623 * gdb.linespec/3explicit.c: New file.
7624 * gdb.linespec/cpexplicit.cc: New file.
7625 * gdb.linespec/cpexplicit.exp: New file.
7626 * gdb.linespec/explicit.c: New file.
7627 * gdb.linespec/explicit.exp: New file.
7628 * gdb.linespec/explicit2.c: New file.
7629 * gdb.linespec/ls-errs.exp: Add explicit location tests.
7630 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
7631 before using in the matching pattern.
7632 Clarify that `prefix' is a regular expression.
7634 2015-08-11 Keith Seitz <keiths@redhat.com>
7636 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
7638 Add tests for missing ",FMT" and ",".
7640 2015-08-10 Doug Evans <dje@google.com>
7641 Keith Seitz <keiths@redhat.com>
7644 * gdb.base/completion.exp: Add location completer tests.
7646 2015-08-07 Pedro Alves <palves@redhat.com>
7648 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
7650 (top level): Run do_test with and without displaced stepping.
7652 2015-08-07 Pedro Alves <palves@redhat.com>
7654 * gdb.base/valgrind-disp-step.c: New file.
7655 * gdb.base/valgrind-disp-step.exp: New file.
7657 2015-08-07 Pedro Alves <palves@redhat.com>
7659 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
7661 (main): Add alarm. Run an infinite loop instead of calling
7663 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
7665 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
7667 (main): Add alarm. Run an infinite loop instead of calling
7669 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
7672 2015-08-07 Pedro Alves <palves@redhat.com>
7674 * gdb.base/checkpoint-ns.exp: New file.
7675 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
7678 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
7680 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
7681 * gdb.btrace/instruction_history.exp: Update.
7682 * gdb.btrace/tsx.exp: New.
7683 * gdb.btrace/tsx.c: New.
7685 2015-08-06 Pedro Alves <palves@redhat.com>
7687 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
7689 * gdb.reverse/until-precsave.exp: Bump timeouts.
7691 2015-08-06 Pedro Alves <palves@redhat.com>
7693 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
7695 2015-08-06 Pedro Alves <palves@redhat.com>
7698 * gdb.threads/process-dies-while-handling-bp.c: New file.
7699 * gdb.threads/process-dies-while-handling-bp.exp: New file.
7701 2015-08-06 Pedro Alves <palves@redhat.com>
7703 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
7704 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
7706 2015-08-05 Pedro Alves <palves@redhat.com>
7708 * gdb.threads/next-while-other-thread-longjmps.c: New file.
7709 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
7711 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
7713 * gdb.base/bp-permanent.exp: Report test as unsupported if
7714 the target cannot stop at the permanent breakpoint.
7716 2015-08-03 Doug Evans <dje@google.com>
7718 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
7721 2015-08-03 Doug Evans <dje@google.com>
7723 * Makefile.in (workers/%.worker, build-perf): New rule.
7724 (GDB_PERFTEST_MODE): New variable.
7725 (check-perf): Use it.
7726 (clean): Clean up gdb.perf parallel build subdirs.
7727 * lib/build-piece.exp: New file.
7728 * lib/gdb.exp (make_gdb_parallel_path): New function
7729 (standard_output_file, standard_temp_file): Call it.
7730 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7732 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
7734 2015-08-03 Doug Evans <dje@google.com>
7736 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
7737 (LOG_FILE_NAME): New global.
7738 (TextReporter.__init__): Initialize self.txt_sum.
7739 (TextReporter.report): Add support for multiple data-points.
7740 Move report to perftest.sum, put raw data in perftest.log.
7741 (TextReporter.start): Open sum and log files.
7742 (TextReporter.end): Close sum and log files.
7743 * gdb.perf/lib/perftest/testresult.py
7744 (SingleStatisticTestResult.record): Handle multiple data-points.
7746 2015-07-31 Pedro Alves <palves@redhat.com>
7748 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
7749 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7750 kill_wait_spawned_process instead of explicit "kill -9".
7751 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
7752 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7753 kill_wait_spawned_process.
7754 * gdb.base/attach-twice.exp: Likewise.
7755 * gdb.base/attach.exp: Likewise.
7756 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
7758 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
7759 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7760 kill_wait_spawned_process.
7761 * gdb.base/valgrind-infcall.exp: Likewise.
7762 * gdb.multi/multi-attach.exp: Likewise.
7763 * gdb.python/py-prompt.exp: Likewise.
7764 * gdb.python/py-sync-interp.exp: Likewise.
7765 * gdb.server/ext-attach.exp: Likewise.
7766 * gdb.threads/attach-into-signal.exp (corefunc): Use
7767 spawn_wait_for_attach, spawn_id_get_pid and
7768 kill_wait_spawned_process.
7769 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
7770 spawn_wait_for_attach returning a spawn id instead of a pid. Use
7771 spawn_id_get_pid and kill_wait_spawned_process.
7772 * gdb.threads/attach-stopped.exp (corefunc): Use
7773 spawn_wait_for_attach, spawn_id_get_pid and
7774 kill_wait_spawned_process.
7775 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
7776 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7777 kill_wait_spawned_process instead of explicit "kill -9".
7778 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
7779 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
7780 (spawn_wait_for_attach): Use spawn instead of exec to spawn
7781 processes. Don't map cygwin/windows pids here. Now returns a
7784 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7786 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
7787 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
7790 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7792 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
7794 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7797 2014-05-21 Mark Wielaard <mjw@redhat.com>
7799 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7801 2015-07-30 Pedro Alves <palves@redhat.com>
7803 * linux-low.c (handle_extended_wait): Set the child's last
7804 reported status to TARGET_WAITKIND_STOPPED.
7806 2015-07-30 Pedro Alves <palves@redhat.com>
7809 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
7810 only shows inferior 1.
7812 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
7813 Pedro Alves <palves@redhat.com>
7816 * gdb.threads/fork-plus-threads.c: New file.
7817 * gdb.threads/fork-plus-threads.exp: New file.
7819 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7821 * gdb.base/batch-preserve-term-settings.exp
7822 (test_terminal_settings_preserved_after_cli_exit): Use
7825 2015-07-29 Pedro Alves <palves@redhat.com>
7826 Don Breazeal <donb@codesourcery.com>
7828 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
7829 output from both inferior_spawn_id and gdb_spawn_id.
7831 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7833 * gdb.threads/attach-into-signal.exp (corefunc): Use
7834 with_test_prefix on nested loops, uniquefying the test messages.
7836 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7838 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
7841 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7843 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
7845 (test_terminal_settings_preserved_after_sigterm): New test.
7847 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7849 * gdb.base/batch-preserve-term-settings.exp
7850 (test_terminal_settings_preserved_after_cli_exit): New test.
7852 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7854 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
7855 manipulation of saved_gdbflags.
7856 (test_terminal_settings_preserved): Remove global declaration of
7857 the unused variable pagination_prompt. Remove manipulation of
7858 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
7861 2015-07-29 Pedro Alves <palves@redhat.com>
7863 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
7865 2015-07-29 Pedro Alves <palves@redhat.com>
7867 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
7870 2015-07-29 Pedro Alves <palves@redhat.com>
7872 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
7873 (main): Call gdb_unbuffer_output.
7874 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
7875 (main): Call gdb_unbuffer_output.
7876 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
7877 (main): Call gdb_unbuffer_output.
7878 * gdb.base/call-strs.exp: Adjust to step over the
7879 gdb_unbuffer_output call.
7880 * gdb.base/catch-gdb-caused-signals.c: Include
7881 "../lib/unbuffer_output.c".
7882 (main): Call gdb_unbuffer_output.
7883 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
7884 (main): Call gdb_unbuffer_output.
7885 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
7886 (main): Call gdb_unbuffer_output.
7887 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
7888 (main): Call gdb_unbuffer_output.
7889 * gdb.base/shlib-call.exp: Adjust to step over the
7890 gdb_unbuffer_output call.
7891 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
7892 (main): Call gdb_unbuffer_output.
7893 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
7894 (main): Call gdb_unbuffer_output.
7895 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
7896 (main): Rename to ...
7898 (main): Reimplement.
7899 * gdb.base/varargs.exp: Run to test instead of to main.
7900 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7901 (main): Call gdb_unbuffer_output.
7903 2015-07-29 Pedro Alves <palves@redhat.com>
7905 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
7906 factore out from mi_continue_dprintf. For call-style dprintfs,
7907 expect dprintf output out of $inferior_spawn_id.
7908 (mi_continue_dprintf): Use mi_expect_dprintf.
7909 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7910 (main): Call gdb_unbuffer_output.
7912 2015-07-29 Pedro Alves <palves@redhat.com>
7914 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
7915 (default_mi_gdb_start): Set inferior_spawn_id instead of
7916 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
7918 (mi_gdb_test): Always expect inferior output from both
7919 $inferior_spawn_id and $gdb_spawn_id.
7921 2015-07-29 Pedro Alves <palves@redhat.com>
7923 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
7924 send_inferior and $inferior_spawn_id.
7926 2015-07-29 Pedro Alves <palves@redhat.com>
7928 * gdb.gdb/complaints.exp (test_initial_complaints)
7929 (test_serial_complaints, test_short_complaints): Use
7931 (test_empty_complaint): Handle $inferior_spawn_id !=
7934 2015-07-29 Pedro Alves <palves@redhat.com>
7936 * gdb.base/varargs.exp: Use gdb_test_stdio.
7938 2015-07-29 Pedro Alves <palves@redhat.com>
7940 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
7942 2015-07-29 Pedro Alves <palves@redhat.com>
7944 * gdb.base/ending-run.exp: Use gdb_test_stdio.
7946 2015-07-29 Pedro Alves <palves@redhat.com>
7948 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
7949 parameter into two new parameters, "inf_result" and "gdb_result".
7950 Expect inferior output and gdb output from $inferior_spawn_id and
7951 $gdb_spawn_id, respectively. Adjust all callers.
7953 2015-07-29 Pedro Alves <palves@redhat.com>
7955 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
7956 of gdb_test_sequence.
7958 2015-07-29 Pedro Alves <palves@redhat.com>
7960 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
7961 (saw_spurious_output): Expect inferior output from
7962 $inferior_spawn_id. Use gdb_test_stdio.
7964 2015-07-29 Pedro Alves <palves@redhat.com>
7966 * gdb.base/dprintf.exp: Use standard_testfile. Change
7967 prepare_for_testing call.
7968 (srcfile): Don't set.
7969 (restart): New procedure.
7970 (test_dprintf): New procecure, use to continue over dprintfs.
7971 (test_call, test_agent): New procedures, tests moved here.
7972 Restart gdb and recreate dprintfs. Adjust expected output.
7974 2015-07-29 Pedro Alves <palves@redhat.com>
7976 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
7978 2015-07-29 Pedro Alves <palves@redhat.com>
7980 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
7982 2015-07-29 Pedro Alves <palves@redhat.com>
7984 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
7987 2015-07-29 Pedro Alves <palves@redhat.com>
7989 * lib/gdb.exp (gdb_test_stdio): New procedure.
7991 2015-07-29 Pedro Alves <palves@redhat.com>
7993 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
7995 2015-07-29 Pedro Alves <palves@redhat.com>
7997 * gdb.base/call-signal-resume.exp: Remove check for
7998 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
7999 * gdb.base/unwindonsignal.exp: Likewise.
8000 * gdb.base/call-signals.c (gen_signal): Remove printf call.
8001 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
8003 2015-07-29 Pedro Alves <palves@redhat.com>
8005 * gdb.base/siginfo-addr.c (pass): New function.
8006 (handler): Call it iff si_addr is correct.
8007 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
8008 Set a breakpoint at "pass" and continue to it.
8010 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
8012 * gdb.python/py-objfile.exp: Make some tests have unique names.
8013 * gdb.python/py-pp-registration.exp: Likewise.
8015 2015-07-28 Pedro Alves <palves@redhat.com>
8017 * gdb.server/server-exec-info.exp: Issue a "disconnect".
8019 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8021 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
8023 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8025 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
8027 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
8029 * gdb.base/gdb-sigterm-2.exp: New test.
8031 2015-07-25 Doug Evans <xdje42@gmail.com>
8034 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8035 (workers/%.worker, build-perf): New rule.
8036 (GDB_PERFTEST_MODE): New variable.
8037 (check-perf): Use it.
8038 (clean): Clean up gdb.perf parallel build subdirs.
8039 * lib/build-piece.exp: New file.
8040 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8041 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8043 (standard_temp_file): Ditto.
8044 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8047 2015-07-24 Doug Evans <dje@google.com>
8049 * gdb.perf/lib/perftest/utils.py: New file.
8050 * gdb.perf/gm-hello.cc: New file.
8051 * gdb.perf/gm-pervasive-typedef.cc: New file.
8052 * gdb.perf/gm-pervasive-typedef.h: New file.
8053 * gdb.perf/gm-std.cc: New file.
8054 * gdb.perf/gm-std.h: New file.
8055 * gdb.perf/gm-use-cerr.cc: New file.
8056 * gdb.perf/gm-utils.h: New file.
8057 * gdb.perf/gmonster-null-lookup.py: New file.
8058 * gdb.perf/gmonster-pervasive-typedef.py: New file.
8059 * gdb.perf/gmonster-print-cerr.py: New file.
8060 * gdb.perf/gmonster-ptype-string.py: New file.
8061 * gdb.perf/gmonster-runto-main.py: New file.
8062 * gdb.perf/gmonster-select-file.py: New file.
8063 * gdb.perf/gmonster1-null-lookup.exp: New file.
8064 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
8065 * gdb.perf/gmonster1-print-cerr.exp: New file.
8066 * gdb.perf/gmonster1-ptype-string.exp: New file.
8067 * gdb.perf/gmonster1-runto-main.exp: New file.
8068 * gdb.perf/gmonster1-select-file.exp: New file.
8069 * gdb.perf/gmonster1.cc: New file.
8070 * gdb.perf/gmonster1.exp: New file.
8071 * gdb.perf/gmonster2-null-lookup.exp: New file.
8072 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
8073 * gdb.perf/gmonster2-print-cerr.exp: New file.
8074 * gdb.perf/gmonster2-ptype-string.exp: New file.
8075 * gdb.perf/gmonster2-runto-main.exp: New file.
8076 * gdb.perf/gmonster2-select-file.exp: New file.
8077 * gdb.perf/gmonster2.cc: New file.
8078 * gdb.perf/gmonster2.exp: New file.
8080 2015-07-24 Doug Evans <dje@google.com>
8082 * gdb.perf/README: New file.
8083 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
8084 * lib/gen-perf-test.exp: New file.
8086 2015-07-24 Doug Evans <dje@google.com>
8088 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
8089 (PerfTest::startup): New function.
8090 (PerfTest::run): Return result of calling body.
8091 (PerfTest::assemble): Rewrite.
8092 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
8093 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
8094 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
8095 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
8096 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
8098 2015-07-24 Doug Evans <dje@google.com>
8100 * lib/gdb.exp (clean_restart): Make executable optional.
8102 2015-07-24 Doug Evans <dje@google.com>
8104 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
8105 compiler_info references.
8106 * gdb.cp/temargs.exp: Ditto.
8107 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
8108 (get_compiler_info): Early exit if already computed. Set compiler_info
8109 to "unknown" if there was a problem.
8110 (test_compiler_info): Add function comment. Call get_compiler_info.
8112 2015-07-24 Doug Evans <dje@google.com>
8114 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8115 (workers/%.worker, build-perf): New rule.
8116 (GDB_PERFTEST_MODE): New variable.
8117 (check-perf): Use it.
8118 (clean): Clean up gdb.perf parallel build subdirs.
8119 * lib/build-piece.exp: New file.
8120 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8121 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8123 (standard_temp_file): Ditto.
8124 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8127 2015-07-24 Doug Evans <dje@google.com>
8129 * lib/future.exp (gdb_default_target_compile): New option
8131 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
8134 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
8136 * gdb.base/catch-syscall.exp: Call gdb_exit before
8139 2015-07-24 Pedro Alves <palves@redhat.com>
8141 * gdb.python/py-events.exp: Accept output between the stop event
8143 * gdb.python/py-evsignal.exp: Likewise.
8144 * gdb.python/py-evthreads.exp: Likewise.
8146 2015-07-24 Pedro Alves <palves@redhat.com>
8149 * gdb.threads/non-ldr-exit.c: New file.
8150 * gdb.threads/non-ldr-exit.exp: New file.
8152 2015-07-24 Yao Qi <yao.qi@linaro.org>
8154 * gdb.server/ext-wrapper.exp: Test --wrapper option when
8157 2015-07-24 Yao Qi <yao.qi@linaro.org>
8159 * gdb.server/ext-restart.exp: New file.
8161 2015-07-24 Yao Qi <yao.qi@linaro.org>
8163 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
8165 * gdb.server/ext-wrapper.exp: New file.
8167 2015-07-23 Doug Evans <dje@google.com>
8169 * gdb.dwarf2/dw2-dummy-cu.S: New file.
8170 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
8172 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
8174 * gdb.ada/var_arr_typedef.exp: New testcase.
8175 * gdb.ada/var_arr_typedef/pack.adb: New file.
8176 * gdb.ada/var_arr_typedef/pack.ads: New file.
8177 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
8179 2015-07-20 Joel Brobecker <brobecker@adacore.com>
8181 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
8183 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8185 * gdb.arch/i386-biarch-core.exp: Replace istarget
8186 by "complete set gnutarget". Remove expectation for the "core-file"
8189 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8191 Revert the previous commit:
8192 Tests for validate symbol file using build-id.
8194 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
8196 Tests for validate symbol file using build-id.
8197 * gdb.base/solib-mismatch-lib.c: New file.
8198 * gdb.base/solib-mismatch-libmod.c: New file.
8199 * gdb.base/solib-mismatch.c: New file.
8200 * gdb.base/solib-mismatch.exp: New file.
8202 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
8204 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
8206 * gdb.base/sigbpt.exp (stepi_out): Likewise.
8207 * gdb.base/siginfo.exp: Likewise.
8208 * gdb.base/sigstep.exp (advance, advancei): Likewise.
8210 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
8212 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
8214 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
8216 * gdb.trace/range-stepping.exp: Check that the target supports
8219 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8221 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
8223 2015-07-14 Pedro Alves <palves@redhat.com>
8225 * gdb.base/killed-outside.exp: New file.
8226 * gdb.base/killed-outside.c: New file.
8228 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8230 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
8232 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
8234 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8236 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
8237 infcall tests instead of setting up for KFAIL.
8239 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
8241 * gdb.btrace/record_goto-step.exp: New.
8243 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8246 * gdb.compile/compile.c (struct struct_type): Add volatile to
8248 * gdb.compile/compile.exp
8249 (compile code struct_object.selffield = &struct_object): Skip further
8250 struct_object tests if this one xfails.
8252 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
8255 * gdb.trace/ax.exp: Add test.
8257 2015-07-07 Yao Qi <yao.qi@linaro.org>
8259 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
8260 instead of istarget "aarch64*-*-*".
8261 * gdb.arch/aarch64-fp.exp: Likewise.
8262 * gdb.base/float.exp: Likewise.
8263 * gdb.reverse/aarch64.exp: Likewise.
8264 * lib/gdb.exp (is_aarch64_target): New proc.
8266 2015-07-07 Yao Qi <yao.qi@linaro.org>
8268 * lib/gdb.exp (is_aarch32_target): New proc.
8269 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
8270 instead of "istarget "arm*-*-*"".
8271 * gdb.arch/arm-disp-step.exp: Likewise.
8272 * gdb.arch/thumb-bx-pc.exp: Likewise.
8273 * gdb.arch/thumb-prologue.exp: Likewise.
8274 * gdb.arch/thumb-singlestep.exp: Likewise.
8275 * gdb.base/disp-step-syscall.exp: Likewise.
8276 * gdb.base/float.exp: Likewise.
8278 2015-07-07 Yao Qi <yao.qi@linaro.org>
8280 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
8281 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
8283 2015-07-07 Yao Qi <yao.qi@linaro.org>
8285 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
8286 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
8288 * gdb.multi/multi-arch.exp: Likewise.
8290 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
8292 * gdb.python/py-lazy-string.exp: Add missing parentheses to
8295 2015-07-07 Yao Qi <yao.qi@linaro.org>
8297 * gdb.arch/thumb-singlestep.exp: Do one more single step.
8299 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
8301 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8302 '[' and ']' characters.
8304 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
8306 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8308 2015-06-29 Pedro Alves <palves@redhat.com>
8311 * gdb.threads/hand-call-new-thread.c: New file.
8312 * gdb.threads/hand-call-new-thread.c: New file.
8314 2015-06-26 Keith Seitz <keiths@redhat.com>
8315 Doug Evans <dje@google.com>
8318 * gdb.cp/var-tag-2.cc: New file.
8319 * gdb.cp/var-tag-3.cc: New file.
8320 * gdb.cp/var-tag-4.cc: New file.
8321 * gdb.cp/var-tag.cc: New file.
8322 * gdb.cp/var-tag.exp: New file.
8324 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8326 * gdb.base/history-duplicates.exp: New test.
8328 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8330 * gdb.base/completion.exp: Test the completion of the "focus"
8333 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8335 * gdb.arch/amd64-prologue-skip.S: New file.
8336 * gdb.arch/amd64-prologue-skip.exp: New file.
8338 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
8340 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
8341 is_address_zero_readable check.
8343 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
8345 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
8346 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
8348 2015-06-24 Yao Qi <yao.qi@linaro.org>
8350 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
8353 2015-06-24 Yao Qi <yao.qi@linaro.org>
8355 * lib/gdb.exp (supports_get_siginfo_type): New proc.
8356 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
8357 * gdb.base/siginfo-thread.exp: Likewise.
8359 2015-06-22 Yao Qi <yao.qi@linaro.org>
8361 * boards/remote-gdbserver-on-localhost.exp: Add comments.
8363 2015-06-22 Yao Qi <yao.qi@linaro.org>
8365 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
8367 (skip_hw_watchpoint_tests): Likewise.
8369 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
8371 * gdb.base/gdbinit-history.exp: Test the interaction between
8372 setting GDBHISTSIZE and setting the history size via .gdbinit.
8374 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8377 * gdb.base/gdbhistsize-history.exp: New test.
8379 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8381 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8383 * gdb.base/readline.exp: Likewise.
8385 2015-06-17 Yao Qi <yao.qi@linaro.org>
8387 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8390 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8392 * gdb.base/gdbinit-history.exp: Add test case to check that
8393 an unlimited history file does not get truncated on exit.
8395 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8397 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8398 (VECTOR): New macro. Use it...
8399 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8400 ...for these typedefs.
8401 (int8, char1, int1, double1): New typedefs.
8402 (struct just_int2, struct two_int2): New structures.
8403 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8404 (add_structvecs, add_singlevecs): New functions.
8405 (main): Call add_some_intvecs twice.
8406 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8407 the compile and exit upon failure. Try compiling for the "native"
8408 architecture. Test inferior function calls with vector arguments
8409 and vector return value handling with "finish" and "return".
8411 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
8413 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
8414 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
8416 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
8418 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8420 PR breakpoints/16465
8421 * gdb.mi/mi-dprintf-pending.c: New file.
8422 * gdb.mi/mi-dprintf-pending.exp: New test.
8423 * gdb.mi/mi-dprintf-pendshr.c: New file.
8425 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8426 Mircea Gherzan <mircea.gherzan@intel.com>
8428 * gdb.arch/i386-mpx-map.c: New file.
8429 * gdb.arch/i386-mpx-map.exp: New File.
8431 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8433 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
8434 * gdb.arch/i386-mpx.exp: Indentation fixed.
8436 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8438 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8439 function and improved indentation.
8440 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8441 gdb_test_multiple. Added additional tests to skip the test.
8443 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8445 * gdb.arch/i386-avx512.c: Change path in include file.
8446 * gdb.arch/i386-avx512.exp: Change include dir path
8448 * gdb.arch/i386-mpx.c: Change path in include file.
8449 * gdb.arch/i386-mpx.exp: Change include dir path compilation
8452 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8454 * gdb.compile/compile-print.exp (compile print *vararray@3)
8455 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8457 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8459 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8460 (do not keep jit in memory): ... this.
8461 (expect 5): Change it to ...
8462 (expect no 5): ... this.
8464 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
8467 * gdb.mi/mi-detach.exp: New file.
8469 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8472 * gdb.arch/amd64-tailcall-self.S: New file.
8473 * gdb.arch/amd64-tailcall-self.c: New file.
8474 * gdb.arch/amd64-tailcall-self.exp: New file.
8476 2015-05-28 Don Breazeal <donb@codesourcery.com>
8478 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8479 tests for remote targets by checking is_target_gdbserver.
8481 2015-05-27 Doug Evans <dje@google.com>
8483 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8484 * gdb.dwarf2/opaque-type-lookup.c: New file.
8485 * gdb.dwarf2/opaque-type-lookup.exp: New file.
8487 2015-05-26 Doug Evans <dje@google.com>
8489 * gdb.cp/iostream.cc: New file.
8490 * gdb.cp/iostream.exp: New file.
8492 2015-05-26 Doug Evans <dje@google.com>
8494 * gdb.dwarf2/dw2-op-call.exp: Update.
8495 * gdb.dwarf2/dw4-sig-types.exp: Update.
8496 * gdb.dwarf2/implptr.exp: Update.
8497 * gdb.mi/mi-cmd-param-changed.exp: Update.
8499 2015-05-26 Doug Evans <dje@google.com>
8501 * gdb.python/py-lazy-string.c: New file.
8502 * gdb.python/py-lazy-string.exp: New file.
8503 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8504 (main): Update. Add estring3.
8505 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8506 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8508 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8509 Yao Qi <yao.qi@linaro.org>
8511 * gdb.reverse/aarch64.c: New.
8512 * gdb.reverse/aarch64.exp: New.
8514 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8516 * lib/gdb.exp (supports_process_record): Return true for
8518 (supports_reverse): Likewise.
8520 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
8522 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8523 Use with_test_prefix.
8525 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
8527 * gdb.base/completion.exp: Add test for completion of layout
8530 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
8532 * lib/gdb.exp (skip_tui_tests): New proc.
8533 * gdb.base/tui-layout.exp: Check skip_tui_tests.
8535 2015-05-19 Pedro Alves <palves@redhat.com>
8537 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8538 Save the whole env array instead of just HOME. Unset HISTSIZE in
8539 the environment while testing. Restore whole environment
8542 2015-05-16 Doug Evans <xdje42@gmail.com>
8544 * gdb.guile/scm-ports.c: New file.
8545 * gdb.guile/scm-ports.exp: Add memory port tests.
8547 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8549 * gdb.compile/compile-print.c: New file.
8550 * gdb.compile/compile-print.exp: New file.
8552 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8554 * gdb.compile/compile-ops.exp: Cast param to void.
8555 * gdb.compile/compile.exp: Complete type for _gdb_expr.
8556 (compile code struct_object.selffield = &struct_object): Add xfail.
8558 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8560 * gdb.ada/arr_enum_with_gap: New testcase.
8562 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8564 * gdb.ada/byte_packed_arr: New testcase.
8566 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8568 * gdb.ada/pckd_neg: New testcase.
8570 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
8573 * gdb.base/gdbinit-history.exp: New test.
8574 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
8575 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
8577 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
8579 * gdb.python/py-xmethods.cc: Enhance test case.
8580 * gdb.python/py-xmethods.exp: New tests.
8581 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
8583 (B_indexoper): Likewise.
8584 (global_dm_list) : Add new xmethod worker functions.
8586 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
8588 * gdb.base/coredump-filter.exp: Correctly unset
8589 "coredump_var_addr" array.
8591 2015-05-08 Pedro Alves <palves@redhat.com>
8593 * gdb.server/non-existing-program.exp: Unset spawn_id.
8595 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
8598 * gdb.python/py-xmethods.exp: Add tests.
8600 2015-05-08 Yao Qi <yao.qi@linaro.org>
8603 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
8604 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
8605 function set_coredump_filter, and remove remote_exec call.
8606 Remove argument ipid. Callers update.
8607 (top level): Don't get inferior's PID.
8609 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
8611 * gdb.base/watch_thread_num.exp: Skip test on targets without
8614 2015-05-06 Pedro Alves <palves@redhat.com>
8617 * gdb.server/non-existing-program.exp: New file.
8619 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8621 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
8623 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8625 * gdb.ada/out_of_line_in_inlined: New testcase.
8627 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8629 * gdb.ada/var_rec_arr: New testcase.
8631 2015-04-30 Yao Qi <yao.qi@linaro.org>
8633 * gdb.base/break-idempotent.exp: If
8634 skip_hw_watchpoint_multi_tests returns true, skip the tests
8635 on "rwatch" and "awatch".
8637 2015-04-30 Yao Qi <yao.qi@linaro.org>
8639 * gdb.base/relativedebug.exp: Invoke gdb command
8640 "info sharedlibrary", and if libc.so doesn't have debug info,
8643 2015-04-29 Doug Evans <dje@google.com>
8645 * gdb.python/py-xmethods.exp: Add ptype tests.
8646 * gdb.python/py-xmethods.py (E_method_char_worker): Add
8647 get_result_type method.
8649 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8651 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
8652 the target does not support hardware watchpoints.
8654 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8656 * gdb.base/break-always.exp: Abort testing if writing to memory
8659 2015-04-28 Doug Evans <dje@google.com>
8661 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
8662 * gdb.python/py-pp-registration.exp: ... here. New file.
8663 * gdb.python/py-pp-registration.c: New file.
8664 * gdb.python/py-pp-registration.py: New file.
8666 2015-04-28 Doug Evans <dje@google.com>
8668 * gdb.python/py-bad-printers.c: New file.
8669 * gdb.python/py-bad-printers.py: New file.
8670 * gdb.python/py-bad-printers.exp: New file.
8672 2015-04-28 Sasha Smundak <asmundak@google.com>
8674 * gdb.python/py-type.exp: New test.
8676 2015-04-28 Andy Wingo <wingo@igalia.com>
8678 * gdb.python/py-parameter.exp:
8679 * gdb.guile/scm-parameter.exp: Escape the path that we are
8680 matching against, as it might contain characters that are special
8681 to regular expressions.
8683 2015-04-27 Joel Brobecker <brobecker@adacore.com>
8685 * gdb.ada/rec_comp: New testcase.
8687 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
8689 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
8692 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
8694 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
8695 new tests for verilog output.
8697 2015-04-24 Yao Qi <yao.qi@linaro.org>
8699 * boards/remote-gdbserver-on-localhost.exp: New file.
8701 2015-04-23 Pedro Alves <palves@redhat.com>
8703 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
8704 $inferior_spawn_id instead of $inferior_spawn_id directly. On
8705 "end of file", remove $inferior_spawn_id from the indirect list.
8707 2015-04-23 Pedro Alves <palves@redhat.com>
8709 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
8711 2015-04-23 Pedro Alves <palves@redhat.com>
8713 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
8714 on $any_spawn_id instead of only on $gdb_spawn_id.
8716 2015-04-21 Pierre Muller <muller@sourceware.org>
8719 * lib/pascal.exp (gpc_compile): Add new option "class".
8720 (fpc_compile): Likewise.
8721 * gdb.pascal/case-insensitive-symbols.pas: New file.
8722 * gdb.pascal/case-insensitive-symbols.exp: New file.
8724 2015-04-20 Gary Benson <gbenson@redhat.com>
8726 * gdb.base/attach.exp: Fix three extended remote failures.
8728 2015-04-17 Gary Benson <gbenson@redhat.com>
8730 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
8731 the main executable over the remote protocol.
8733 2015-04-16 Pedro Alves <palves@redhat.com>
8735 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
8736 a new gdbserver if gdbserver_reconnect_p is set.
8738 2015-04-16 Pedro Alves <palves@redhat.com>
8740 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
8741 is set, don't exit gdbserver.
8743 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8745 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
8746 appropriate .insn, such that an older assembler can be used.
8747 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
8748 the z/Architecture instruction set on 31-bit targets as well.
8750 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8752 * gdb.go/handcall.exp: Remove all logic related to the first
8753 breakpoint and rely on go_runto_main instead.
8754 * gdb.go/strings.exp: Likewise.
8755 * gdb.go/unsafe.exp: Likewise.
8756 * gdb.go/hello.exp: Likewise. Also rename the remaining
8757 breakpoint marker to "breakpoint 1".
8758 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
8759 * gdb.go/strings.go: Likewise.
8760 * gdb.go/unsafe.go: Likewise.
8761 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
8762 "set breakpoint 2 here" and rename the remaining breakpoint marker
8765 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
8767 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
8768 if itertools.imap is not present.
8769 * gdb.python/py-objfile.exp: Add parentheses.
8770 * gdb.python/py-type.exp: Same.
8771 * gdb.python/py-unwind-maint.py: Same.
8773 2015-04-15 Yao Qi <yao.qi@linaro.org>
8775 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
8776 of ":$ptr_size" and set its form explicitly.
8778 2015-04-15 Pedro Alves <palves@redhat.com>
8779 Yao Qi <yao.qi@linaro.org>
8781 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
8782 timeout by factor of 4.
8783 (test_regular_watch): Likewise.
8784 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
8785 * gdb.reverse/sigall-reverse.exp: Likewise.
8786 * gdb.reverse/until-precsave.exp: Likewise.
8787 * lib/gdb.exp (with_timeout_factor): New proc.
8788 (gdb_expect): Move some code to ...
8789 (get_largest_timeout): ... here. New procedure.
8791 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
8793 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
8795 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8797 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
8798 to write to the .text section.
8800 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8802 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
8803 Handle the case of targets that do not provide PID information.
8805 2015-04-13 Yao Qi <yao.qi@linaro.org>
8807 * lib/gdbserver-support.exp (gdb_exit): Catch exception
8808 and use expect instead of gdb_expect.
8810 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
8812 * gdb.base/coredump-filter.exp: Rename variable "addr" to
8813 "coredump_var_addr" to avoid naming conflict with other testcases.
8815 2015-04-10 Pedro Alves <palves@redhat.com>
8817 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
8818 gdb_test_sequence and gdb_assert.
8820 2015-04-10 Pedro Alves <palves@redhat.com>
8822 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
8823 test messages that don't include the breakpoint address.
8825 2015-04-10 Yao Qi <yao.qi@linaro.org>
8827 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
8828 false for some offset and width combinations which aren't
8829 supported by linux kernel.
8831 2015-04-10 Pedro Alves <palves@redhat.com>
8833 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
8834 procedure, factored out from ...
8835 (top level): ... here. Add "set displaced-stepping" testing axis.
8836 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
8837 parameter "displaced". Use it.
8838 (top level): Use foreach and add "set displaced-stepping" testing
8841 2015-04-10 Pedro Alves <palves@redhat.com>
8843 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
8845 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
8846 both the address of the instruction that triggers the watchpoint
8847 and the address of the instruction immediately after, and use
8848 those addresses for the test. Fix comment.
8850 2015-04-10 Pedro Alves <palves@redhat.com>
8852 * gdb.base/sigstep.exp (breakpoint_to_handler)
8853 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
8854 Test "backtrace" in handler.
8855 (breakpoint_over_handler): New parameter 'displaced'. Use it.
8856 (top level): Add new "displaced" test axis to
8857 breakpoint_to_handler, breakpoint_to_handler_entry and
8858 breakpoint_over_handler.
8860 2015-04-10 Pedro Alves <palves@redhat.com>
8863 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
8865 2015-04-10 Yao Qi <yao.qi@linaro.org>
8867 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
8868 (test_add_rn_pc): New function.
8869 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
8870 (top level): Invoke test_add_rn_pc.
8872 2015-04-10 Pedro Alves <palves@redhat.com>
8875 * gdb.base/step-over-no-symbols.exp: New file.
8877 2015-04-09 Andy Wingo <wingo@igalia.com>
8879 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
8880 after the Python tests.
8882 2015-04-08 Keith Seitz <keiths@redhat.com>
8885 * gdb.python/py-completion.exp: New tests for completion.
8886 * gdb.python/py-completion.py (CompleteLimit1): New class.
8887 (CompleteLimit2): Likewise.
8888 (CompleteLimit3): Likewise.
8889 (CompleteLimit4): Likewise.
8890 (CompleteLimit5): Likewise.
8891 (CompleteLimit6): Likewise.
8892 (CompleteLimit7): Likewise.
8894 2015-04-08 Pedro Alves <palves@redhat.com>
8898 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
8900 (main): Install it as SIGUSR1 handler.
8901 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
8902 parameter. Always use "setup" as prefix. Toggle "set
8903 displaced-stepping" off/on depending on global. Don't switch to
8905 (top level): Add displaced stepping "off/on" test axis. Update
8906 "setup" calls. Wrap each subtest with with_test_prefix. Test
8907 continuing with a queued signal in each thread.
8909 2015-04-08 Pedro Alves <palves@redhat.com>
8911 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
8912 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
8913 gdb_breakpoint instead of gdb_test that doesn't expect anything.
8914 Return early if running to main fails.
8915 * gdb.trace/while-stepping.exp: Likewise.
8917 2015-04-07 Pedro Alves <palves@redhat.com>
8919 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
8920 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
8921 interact with inferior program.
8923 2015-04-07 Pedro Alves <palves@redhat.com>
8925 * lib/gdb.exp (inferior_spawn_id): New global.
8926 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
8927 spawn id after processing the user code.
8928 (default_gdb_start): Set inferior_spawn_id.
8929 (send_inferior): New procedure.
8930 * lib/gdbserver-support.exp (gdbserver_start): Set
8932 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
8934 2015-04-07 Pedro Alves <palves@redhat.com>
8936 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
8937 * lib/gdbserver-support.exp (gdbserver_start): Make
8938 $server_spawn_id global.
8939 (gdbserver_start): Don't wait for gdbserver's spawn id with
8941 (close_gdbserver): New procedure.
8942 (gdb_exit): Rename the default version and reimplement.
8944 2015-04-07 Pedro Alves <palves@redhat.com>
8946 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
8947 append the substituted item, not the original item.
8949 2015-04-07 Pedro Alves <palves@redhat.com>
8951 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
8954 2015-04-07 Pedro Alves <palves@redhat.com>
8956 * gdb.base/interrupt.exp: Don't handle the case of the inferior
8957 output appearing once only.
8959 2015-04-07 Pedro Alves <palves@redhat.com>
8961 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
8962 that doesn't expect anything. Return early if running to main
8965 2015-04-07 Yao Qi <yao.qi@linaro.org>
8967 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
8968 (child_function): Call alarm.
8969 (main): Move call to alarm into the loop.
8970 * gdb.threads/non-stop-fair-events.exp: Build program with
8973 2015-04-06 Doug Evans <xdje42@gmail.com>
8975 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
8976 Fix dest parameter to board_info.
8977 (fpc_compile): Ditto.
8978 (gdb_compile_pascal): Rename dest arg to destfile.
8980 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
8982 * gdb.ada/funcall_ref.exp: New file.
8983 * gdb.ada/funcall_ref/foo.adb: New file.
8985 2015-04-02 Yao Qi <yao.qi@linaro.org>
8987 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
8990 2015-04-02 Gary Benson <gbenson@redhat.com>
8992 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
8994 2015-04-01 Sasha Smundak <asmundak@google.com>
8996 * gdb.python/py-unwind-maint.c: New file.
8997 * gdb.python/py-unwind-maint.exp: New test.
8998 * gdb.python/py-unwind-maint.py: New file.
8999 * gdb.python/py-unwind.c: New file.
9000 * gdb.python/py-unwind.exp: New test.
9001 * gdb.python/py-unwind.py: New test.
9003 2015-04-01 Pedro Alves <palves@redhat.com>
9005 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
9006 to fail instead of non-existent $test.
9008 2015-04-01 Pedro Alves <palves@redhat.com>
9010 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
9011 GDBFLAGS if not empty.
9013 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
9015 * gdb.ada/complete.exp: Remove "multi_line".
9016 * gdb.ada/info_exc.exp: Remove "multi_line".
9017 * gdb.ada/packed_tagged.exp: Remove "multi_line".
9018 * gdb.ada/ptype_field.exp: Remove "multi_line".
9019 * gdb.ada/sym_print_name.exp: Remove "multi_line".
9020 * gdb.ada/tagged.exp: Remove "multi_line".
9021 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
9023 * gdb.btrace/delta.exp: Likewise.
9024 * gdb.btrace/exception.exp: Likewise.
9025 * gdb.btrace/function_call_history.exp: Likewise.
9026 * gdb.btrace/instruction_history.exp: Likewise.
9027 * gdb.btrace/nohist.exp: Likewise.
9028 * gdb.btrace/record_goto.exp: Likewise.
9029 * gdb.btrace/segv.exp: Likewise.
9030 * gdb.btrace/stepi.exp: Likewise.
9031 * gdb.btrace/tailcall.exp: Likewise.
9032 * gdb.btrace/unknown_functions.exp: Likewise.
9033 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
9034 * lib/gdb.exp: Add the "multi_line" helper.
9036 2015-04-01 Pedro Alves <palves@redhat.com>
9038 * gdb.threads/tid-reuse.c: New file.
9039 * gdb.threads/tid-reuse.exp: New file.
9041 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
9044 * gdb.base/coredump-filter.c: New file.
9045 * gdb.base/coredump-filter.exp: Likewise.
9047 2015-03-27 Petr Machata <pmachata@redhat.com>
9049 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
9050 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
9051 (Dwarf::assemble): Initialize them.
9052 (Dwarf::lines): New function.
9054 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
9056 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
9057 SYMBOL_PREFIX for x86_64-*-cygwin.
9059 2015-03-26 Andy Wingo <wingo@igalia.com>
9062 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
9063 const_value but not a location.
9064 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
9065 location defined in non-main CUs are visible.
9067 2015-03-26 Yao Qi <yao.qi@linaro.org>
9070 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
9071 Add a line number entry for the same line.
9072 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
9073 Add a line number entry for the same line.
9075 2015-03-26 Yao Qi <yao.qi@linaro.org>
9077 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
9079 (func): Likewise. Add .Lfunc_1 label.
9081 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
9086 2015-03-26 Yao Qi <yao.qi@linaro.org>
9088 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
9089 Call gdb_compile instead to compile each .s files without debug
9092 2015-03-26 Yao Qi <yao.qi@linaro.org>
9094 * gdb.base/savedregs.exp (process_saved_regs): Make
9095 "Saved registers:" optional in the pattern.
9097 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9099 * gdb.btrace/next.exp: Merged into step.exp.
9100 * gdb.btrace/finish.exp: Merged into step.exp.
9101 * gdb.btrace/nexti.exp: Merged into stepi.exp.
9102 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
9103 "record goto" and checking the exact replay position.
9104 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
9105 check for "Recording format" in "info record" output.
9106 * gdb.btrace/record_goto.exp: Choose test file based on target.
9107 * gdb.btrace/x86-record_goto.S: Renamed into ...
9108 * gdb.btrace/x86_64-record_goto.S: ... this.
9109 * gdb.btrace/i686-record_goto.S: New.
9110 * gdb.btrace/x86-tailcall.S: Renamed into ...
9111 * gdb.btrace/x86_64-tailcall.S: ... this.
9112 * gdb.btrace/i686-tailcall.S: New.
9113 * gdb.btrace/x86-tailcall.c: Renamed into ...
9114 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
9115 separate statements. Update test.
9116 * gdb.btrace/delta.exp: Use record_goto.c as test file.
9117 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
9118 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
9119 * gdb.btrace/tailcall.exp: Choose test file based on target.
9120 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
9122 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9124 * gdb.btrace/exception.exp: Increase BTS buffer size.
9126 2015-03-24 Pedro Alves <palves@redhat.com>
9128 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
9130 2015-03-24 Pedro Alves <palves@redhat.com>
9132 * gdb.threads/schedlock.exp (test_step): No longer expect that
9133 "set scheduler-locking step" with "next" over a function call runs
9136 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9138 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
9140 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9142 PR breakpoints/16466
9143 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
9144 * gdb.mi/mi-pending.c (thread_func): New function.
9145 (int main): Add threading support required.
9146 * gdb.mi/mi-pending.exp: Add tests for this issue.
9147 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
9148 (pendfunc2): Remove stdio dependency.
9149 * gdb.mi/mi-pendshr2.c: New file.
9151 2015-03-23 Keith Seitz <keiths@redhat.com>
9153 * gdb.linespec/keywords.c: New file.
9154 * gdb.linespec/keywords.exp: New file.
9156 2015-03-23 Keith Seitz <keiths@redhat.com>
9159 * gdb.dwarf2/staticvirtual.exp: New test.
9161 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9163 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
9164 * README: Remove HP-UX and gdb.hp.
9166 * configure: Regenerate.
9167 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
9168 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
9169 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
9170 gdb.hp/gdb.defects/Makefile.
9171 * gdb.hp/Makefile.in: File deleted.
9172 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
9173 * gdb.hp/gdb.aCC/optimize.c: File deleted.
9174 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
9175 * gdb.hp/gdb.aCC/run.c: File deleted.
9176 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
9177 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
9178 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
9179 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
9180 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
9181 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
9182 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
9183 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
9184 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
9185 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
9186 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
9187 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
9188 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
9189 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
9190 * gdb.hp/gdb.base-hp/reg.s: File deleted.
9191 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
9192 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
9193 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
9194 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
9195 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
9196 * gdb.hp/gdb.compat/Makefile.in: File deleted.
9197 * gdb.hp/gdb.compat/average.c: File deleted.
9198 * gdb.hp/gdb.compat/sum.c: File deleted.
9199 * gdb.hp/gdb.compat/xdb.c: File deleted.
9200 * gdb.hp/gdb.compat/xdb0.c: File deleted.
9201 * gdb.hp/gdb.compat/xdb0.h: File deleted.
9202 * gdb.hp/gdb.compat/xdb1.c: File deleted.
9203 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
9204 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
9205 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
9206 * gdb.hp/gdb.defects/Makefile.in: File deleted.
9207 * gdb.hp/gdb.defects/bs14602.c: File deleted.
9208 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
9209 * gdb.hp/gdb.defects/solib-d.c: File deleted.
9210 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
9211 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
9212 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
9213 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
9214 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
9215 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
9216 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
9217 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
9218 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
9219 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
9220 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
9221 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
9222 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
9223 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
9224 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
9225 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
9226 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
9227 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
9228 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
9229 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
9230 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
9231 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
9232 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
9233 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
9234 * gdb.hp/tools/odump: File deleted.
9236 2015-03-19 Pedro Alves <palves@redhat.com>
9238 * gdb.threads/continue-pending-status.exp (saw_thread_2)
9239 (saw_thread_3): New globals.
9240 (top level): Increment them when an event for the corresponding
9242 (no thread starvation): New test.
9244 2015-03-19 Pedro Alves <palves@redhat.com>
9246 * gdb.threads/continue-pending-status.c: New file.
9247 * gdb.threads/continue-pending-status.exp: New file.
9249 2015-03-18 Pedro Alves <palves@redhat.com>
9251 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9252 Use gdb_is_target_remote instead of is_remote. Use
9253 gdb_test_multiple instead of gdb_expect. Exit early if
9254 gdb_test_multiple hits its internal matches. Tighten stepi tests
9255 expected output. Fail on exit with any signal, instead of just
9258 2015-03-18 Yao Qi <yao.qi@linaro.org>
9261 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
9263 * gdb.base/catch-syscall.exp: Don't skip it on
9264 aarch64*-*-linux* target. Remove elements in all_syscalls.
9265 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
9267 (setup_all_syscalls): New proc.
9269 2015-03-16 Yao Qi <yao.qi@linaro.org>
9271 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
9272 (top level): Skip tests if valid_addr_p returns false for
9275 2015-03-11 Andy Wingo <wingo@igalia.com>
9277 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
9279 2015-03-11 Yao Qi <yao.qi@linaro.org>
9281 * gdb.base/catch-syscall.exp: Fix typo in comments.
9283 2015-03-11 Yao Qi <yao.qi@linaro.org>
9285 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
9287 2015-03-09 Pedro Alves <palves@redhat.com>
9289 * dg-extract-results.py: Delete.
9291 2015-03-09 Pedro Alves <palves@redhat.com>
9293 Merge dg-extract-results.sh from GCC upstream (r218843).
9295 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
9296 * dg-extract-results.sh: Use --text with grep to avoid issues with
9297 binary files. Fall back to cat -v, if that doesn't work.
9299 2015-03-05 Pedro Alves <palves@redhat.com>
9301 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
9303 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
9305 * lib/mi-support.exp (mi_expect_interrupt): Accept
9306 alternative event for when in all-stop mode.
9308 2015-03-04 Pedro Alves <palves@redhat.com>
9310 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
9312 2015-03-04 Mark Kettenis <kettenis@gnu.org>
9314 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
9316 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9318 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
9319 regexps for GDB's current line display, accept a hex address
9320 preceding the line number.
9322 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9324 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
9325 the 'arch1' variable for "s390*-linux*" targets.
9327 2015-03-04 Pedro Alves <palves@redhat.com>
9329 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9330 (main): Pass missing retval argument to pthread_join call.
9332 2015-03-02 Pedro Alves <palves@redhat.com>
9334 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
9335 (top level): Call do_test with non-stop as well.
9337 2015-03-02 Pedro Alves <palves@redhat.com>
9339 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
9342 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9344 * gdb.arch/s390-vregs.exp: New test.
9345 * gdb.arch/s390-vregs.S: New file.
9347 2015-02-27 Pedro Alves <palves@redhat.com>
9349 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9350 call to catch_command_errors.
9351 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
9352 catch_command_errors.
9354 2015-02-27 Pedro Alves <palves@redhat.com>
9356 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
9357 "true" for boolean result.
9358 * gdb.gdb/selftest.exp (test_with_self): Also accept full
9361 2015-02-27 Pedro Alves <palves@redhat.com>
9363 * lib/unbuffer_output.c: New file.
9364 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
9365 (main): Call gdb_unbuffer_output.
9367 2015-02-27 Yao Qi <yao.qi@linaro.org>
9369 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
9372 2015-02-26 Doug Evans <dje@google.com>
9374 * gdb.cp/class2.cc (Dbase, D): New classes.
9375 (main): New local delta.
9376 * gdb.cp/class2.exp: Test printing delta.
9377 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
9378 (dynbar): New global.
9379 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
9381 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9383 * gdb.compile/compile-ifunc.c: New file.
9384 * gdb.compile/compile-ifunc.exp: New file.
9386 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
9388 * gdb.base/structs.exp: Check for correct struct on finish.
9390 2015-02-26 Yao Qi <yao.qi@linaro.org>
9392 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9395 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9397 * gdb.arch/cordic.ko.bz2: New file.
9398 * gdb.arch/cordic.ko.debug.bz2: New file.
9399 * gdb.arch/ppc64-symtab-cordic.exp: New file.
9401 2015-02-25 Yao Qi <yao.qi@linaro.org>
9403 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9404 aarch64*-*-* target.
9406 2015-02-23 Pedro Alves <palves@redhat.com>
9408 * lib/gdb.exp (delete_breakpoints): Rewrite using
9411 2015-02-23 Pedro Alves <palves@redhat.com>
9413 * gdb.base/info-os.c: Include stdlib.h.
9415 2015-02-22 Doug Evans <xdje42@gmail.com>
9418 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
9419 is read after symbols have been re-read.
9420 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
9421 * gdb.ada/exec_changed/second.adb (Second): Ditto.
9423 2015-02-21 Doug Evans <dje@google.com>
9425 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
9427 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9430 * gdb.arch/i386-biarch-core.core.bz2: New file.
9431 * gdb.arch/i386-biarch-core.exp: New file.
9433 2015-02-21 Pedro Alves <palves@redhat.com>
9435 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9438 2015-02-20 Pedro Alves <palves@redhat.com>
9440 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9443 2015-02-20 Pedro Alves <palves@redhat.com>
9445 * gdb.threads/multi-create-ns-info-thr.exp: New file.
9447 2015-02-20 Pedro Alves <palves@redhat.com>
9449 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
9450 clean_restart before gdb_target_supports_trace.
9452 2015-02-20 Pedro Alves <palves@redhat.com>
9455 * gdb.threads/clone-thread_db.c: New file.
9456 * gdb.threads/clone-thread_db.exp: New file.
9458 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
9460 PR breakpoints/16812
9461 * gdb.base/catch-gdb-caused-signals.c: New file.
9462 * gdb.base/catch-gdb-caused-signals.exp: New file.
9464 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
9466 * configure: Regenerated.
9467 * configure.ac: Use GDB_AC_TRANSFORM.
9468 * aclocal.m4: sinclude ../transform.m4.
9470 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9472 * lib/dtrace.exp: New file.
9473 * gdb.base/dtrace-probe.exp: Likewise.
9474 * gdb.base/dtrace-probe.d: Likewise.
9475 * gdb.base/dtrace-probe.c: Likewise.
9476 * lib/pdtrace.in: Likewise.
9477 * configure.ac: Output variables with the transformed names of
9478 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
9479 * configure: Regenerated.
9481 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9483 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9484 expected message when trying to access $_probe_* convenience
9485 variables while not on a probe.
9487 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9489 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9491 2015-02-11 Pedro Alves <pedro@codesourcery.com>
9493 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9494 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9496 2015-02-10 Doug Evans <xdje42@gmail.com>
9498 * lib/gdb.exp (gdb_load): Always return a result.
9500 2015-02-10 Pedro Alves <palves@redhat.com>
9502 * gdb.threads/signal-sigtrap.c: New file.
9503 * gdb.threads/signal-sigtrap.exp: New file.
9505 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
9507 * gdb.trace/no-attach-trace.c: New file.
9508 * gdb.trace/no-attach-trace.exp: New file.
9510 2015-02-09 Mark Wielaard <mjw@redhat.com>
9512 * gdb.dwarf2/atomic.c: New file.
9513 * gdb.dwarf2/atomic-type.exp: Likewise.
9515 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9517 * gdb.btrace/buffer-size.exp: Update "info record" output.
9518 * gdb.btrace/delta.exp: Update "info record" output.
9519 * gdb.btrace/enable.exp: Update "info record" output.
9520 * gdb.btrace/finish.exp: Update "info record" output.
9521 * gdb.btrace/instruction_history.exp: Update "info record" output.
9522 * gdb.btrace/next.exp: Update "info record" output.
9523 * gdb.btrace/nexti.exp: Update "info record" output.
9524 * gdb.btrace/step.exp: Update "info record" output.
9525 * gdb.btrace/stepi.exp: Update "info record" output.
9526 * gdb.btrace/nohist.exp: Update "info record" output.
9528 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9530 * gdb.btrace/buffer-size: New.
9532 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9534 * gdb.btrace/delta.exp: Update "info record" output.
9535 * gdb.btrace/enable.exp: Update "info record" output.
9536 * gdb.btrace/finish.exp: Update "info record" output.
9537 * gdb.btrace/instruction_history.exp: Update "info record" output.
9538 * gdb.btrace/next.exp: Update "info record" output.
9539 * gdb.btrace/nexti.exp: Update "info record" output.
9540 * gdb.btrace/step.exp: Update "info record" output.
9541 * gdb.btrace/stepi.exp: Update "info record" output.
9542 * gdb.btrace/nohist.exp: Update "info record" output.
9544 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
9547 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
9549 2015-02-06 Pedro Alves <palves@redhat.com>
9551 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
9553 (seconds_left, again): New globals.
9554 (main): Wait seconds_left in a 1-second sleep loop instead of
9555 sleeping 180 seconds. If 'again' is set, reset the seconds
9557 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
9558 'again' in the inferior before detaching. Print the seconds left.
9559 (options): New global.
9560 (top level): Build program with -DTIMEOUT=$timeout.
9562 2015-02-06 Pedro Alves <palves@redhat.com>
9564 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
9565 determine how many seconds to pass to 'alarm'.
9566 * gdb.base/gdb-sigterm.exp (top level): Build program with
9568 (do_test): Return success/failure indication. Add more verbose
9569 logging. Don't fail if 200 single steps are seen. Instead, fail
9570 when the test times out.
9571 (passes): New global.
9572 (top level): Break the testing loop if testing fails on any
9573 iteration. Use gdb_assert.
9575 2015-02-04 Don Breazeal <donb@codesourcery.com>
9577 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
9578 and initialize them.
9579 (ipc_cleanup): New function.
9580 (main): Don't declare shmid, semid, and msqid. Add a call to
9581 atexit so that we call ipc_cleanup on exit.
9583 2015-02-04 Pedro Alves <palves@redhat.com>
9585 * boards/native-extended-gdbserver.exp: Remove any target variant
9586 specifications from the board name before clearing the isremote
9587 flag from board_info.
9589 2015-01-31 Doug Evans <xdje42@gmail.com>
9591 * gdb.base/maint.exp <maint print type argc>: Update expected output.
9593 2015-01-31 Gary Benson <gbenson@redhat.com>
9595 * gdb.base/completion.exp: Disable completion limiting for
9596 existing tests. Add new tests to check completion limiting.
9597 * gdb.linespec/ls-errs.exp: Disable completion limiting.
9599 2015-01-31 Doug Evans <xdje42@gmail.com>
9601 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
9603 2015-01-31 Doug Evans <xdje42@gmail.com>
9605 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
9606 entries. Duplicate file section script entries.
9607 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
9608 inlined entries. Add test for safe-path rejection.
9609 * gdb.python/py-section-script.c: Add duplicate inlined section script
9610 entries. Duplicate file section script entries.
9611 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
9612 inlined entries. Add test for safe-path rejection.
9614 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9616 * gdb.ada/disc_arr_bound: New testcase.
9618 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9620 * gdb.ada/mi_var_array: New testcase.
9622 2015-01-27 Doug Evans <dje@google.com>
9624 * gdb.python/py-objfile.exp: Add tests for objfile.username.
9625 Add test for objfile.filename, objfile.username after objfile
9628 2015-01-26 Joel Brobecker <brobecker@adacore.com>
9630 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
9631 the second test to print the name attribute of value
9632 returned by the call to gdb.lookup_type, and adjust
9633 the expected output accordingly.
9635 2015-01-25 Mark Wielaard <mjw@redhat.com>
9637 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
9638 * gdb.base/disp-step-fork.c: Include unistd.h.
9639 * gdb.base/siginfo-obj.c: Include stdio.h.
9640 * gdb.base/siginfo-thread.c: Likewise.
9641 * gdb.mi/non-stop.c: Include unistd.h.
9642 * gdb.mi/nsthrexec.c: Include stdio.h.
9643 * gdb.mi/pthreads.c: Include unistd.h.
9644 * gdb.modula2/unbounded1.c (main): Declare returns int.
9645 * gdb.reverse/consecutive-reverse.c: Likewise.
9646 * gdb.threads/create-fail.c: Include unistd.h.
9647 * gdb.threads/killed.c: Likewise.
9648 * gdb.threads/linux-dp.c: Likewise.
9649 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
9650 * gdb.threads/non-ldr-exc-2.c: Likewise.
9651 * gdb.threads/non-ldr-exc-3.c: Likewise.
9652 * gdb.threads/non-ldr-exc-4.c: Likewise.
9653 * gdb.threads/pthreads.c: Include unistd.h.
9654 (main): Declare returns int.
9655 * gdb.threads/tls-main.c (foo): New declaration.
9656 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
9658 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
9660 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
9661 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
9663 2015-01-15 Mark Wielaard <mjw@redhat.com>
9665 * gdb.base/noreturn-return.c: New file.
9666 * gdb.base/noreturn-return.exp: New file.
9667 * gdb.base/noreturn-finish.c: New file.
9668 * gdb.base/noreturn-finish.exp: New file.
9670 2015-01-23 Pedro Alves <palves@redhat.com>
9672 * gdb.threads/continue-pending-after-query.c: New file.
9673 * gdb.threads/continue-pending-after-query.exp: New file.
9675 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
9676 Simon Marchi <simon.marchi@ericsson.com>
9678 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
9679 * gdb.base/valgrind-db-attach.exp: Same.
9680 * gdb.base/valgrind-infcall.exp: Same.
9681 * lib/mi-support.exp (default_mi_gdb_start): Same.
9682 * lib/prompt.exp (default_prompt_gdb_start): Same.
9683 * lib/gdb.exp (default_gdb_spawn): Same.
9684 (gdb_interact): New.
9687 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9689 * gdb.compile/compile.exp (pointer to jit function): New test.
9691 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
9693 * lib/gdb.exp (supports_process_record): Return true for
9695 (supports_reverse): Likewise.
9697 2015-01-15 Don Breazeal <donb@codesourcery.com>
9699 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
9700 instead of checking whether the target board is remote and
9701 use spawn_wait_for_attach instead of exec/sleep.
9702 * gdb.base/attach-twice.exp: Likewise.
9704 2015-01-15 Joel Brobecker <brobecker@adacore.com>
9706 * gdb.ada/var_arr_attrs: New testcase.
9708 2015-01-14 Pedro Alves <palves@redhat.com>
9709 Joel Brobecker <brobecker@adacore.com>
9712 * gdb.base/bp-cmds-execution-x-script.c: New file.
9713 * gdb.base/bp-cmds-execution-x-script.exp: New file.
9714 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
9716 2015-01-14 Pedro Alves <palves@redhat.com>
9719 * gdb.base/batch-preserve-term-settings.c: New file.
9720 * gdb.base/batch-preserve-term-settings.exp: New file.
9722 2015-01-13 Doug Evans <dje@google.com>
9724 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
9727 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9729 * Makefile.in (clean mostlyclean): Do not delete *.py.
9731 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9733 * gdb.python/py-lookup-type.exp: New file.
9735 2015-01-12 Pedro Alves <palves@redhat.com>
9737 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
9738 restore GDBFLAGS before returning.
9740 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9742 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
9743 is_amd64_regs_target and is_x86_like_target.
9745 2015-01-11 Doug Evans <xdje42@gmail.com>
9747 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
9748 is given without an explicit form.
9749 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
9751 * gdb.dwarf/corrupt.exp: Ditto.
9752 * gdb.dwarf2/enum-type.exp: Ditto.
9753 * gdb.trace/entry-values.exp: Ditto.
9754 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
9756 2015-01-11 Doug Evans <xdje42@gmail.com>
9759 * gdb.base/maint.exp: Remove references to "maint demangle".
9760 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
9761 Add tests for explicitly specifying language to demangle.
9762 * gdb.dlang/demangle.exp: Ditto.
9764 2015-01-09 Pedro Alves <palves@redhat.com>
9766 * gdb.threads/non-stop-fair-events.c: New file.
9767 * gdb.threads/non-stop-fair-events.exp: New file.
9769 2015-01-09 Pedro Alves <palves@redhat.com>
9771 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
9772 the global scope. Set a breakpoint after all threads are started
9773 rather than stepping over two source lines. Expect the prompt.
9774 * gdb.base/watch_thread_num.c (threads_started_barrier): New
9777 (main): Use threads_started_barrier to wait for all threads to
9778 start. Main thread no longer calls thread_function. Exit after
9780 (loop): New function.
9781 (thread_function): Wait on threads_started_barrier barrier. Call
9782 'loop' at each iteration.
9783 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
9784 threads have started, instead of hardcoding number of "next"
9785 steps. Use an access watchpoint instead of a write watchpoint.
9787 2015-01-09 Pedro Alves <palves@redhat.com>
9789 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
9790 (thread_func): Wait on barrier.
9791 (main): Wait for all threads to start before stopping GDB.
9792 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
9794 (thread1_func, thread2_func): Wait on barrier.
9795 (main): Wait for all threads to start before stopping GDB.
9796 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
9798 (thread1_func, thread2_func): Wait on barrier.
9799 (main): Wait for all threads to start before stopping GDB.
9801 2015-01-09 Pedro Alves <palves@redhat.com>
9803 * gdb.threads/attach-many-short-lived-threads.c: New file.
9804 * gdb.threads/attach-many-short-lived-threads.exp: New file.
9806 2014-01-09 Pedro Alves <palves@redhat.com>
9808 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
9809 instead of to thread 2.
9810 * gdb.threads/signal-command-multiple-signals-pending.c (main):
9811 Add barrier around each pthread_create call instead of around all
9813 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
9814 Set a break on thread_function and have the child threads hit it
9817 2015-01-09 Pedro Alves <palves@redhat.com>
9819 * lib/gdb.exp (can_spawn_for_attach): New procedure.
9820 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
9822 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
9823 checking whether the target board is remote.
9824 * gdb.multi/multi-attach.exp: Likewise.
9825 * gdb.python/py-sync-interp.exp: Likewise.
9826 * gdb.server/ext-attach.exp: Likewise.
9827 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
9828 tests that need to attach, instead of checking whether the target
9829 board is remote at the top of the file.
9831 2015-01-08 Yao Qi <yao@codesourcery.com>
9833 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
9835 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9837 Fix testcase compilation.
9838 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
9840 2015-01-06 Joel Brobecker <brobecker@adacore.com>
9842 * gdb.python/py-type.exp: Add a couple test about empty
9843 array creation, and negative-length array creation.
9845 2015-01-02 Doug Evans <xdje42@gmail.com>
9847 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
9849 2015-01-02 Doug Evans <dje@google.com>
9851 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
9853 2014-12-29 Yao Qi <yao@codesourcery.com>
9855 * gdb.trace/entry-values.exp: Update comments. Rename variable
9856 bar_call_foo to returned_from_foo.
9858 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
9861 * gdb.linespec/break-asm-file.c: New file.
9862 * gdb.linespec/break-asm-file.exp: New file.
9863 * gdb.linespec/break-asm-file0.s: New file.
9864 * gdb.linespec/break-asm-file1.s: New file.
9866 2014-12-18 Nigel Stephens <nigel@mips.com>
9867 Maciej W. Rozycki <macro@codesourcery.com>
9869 * gdb.base/float.exp: Handle the new output from "info float" on
9872 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9874 Fix MinGW compilation.
9875 * gdb.compile/compile-ops.exp: Update untested message if
9876 !skip_compile_feature_tests.
9877 * gdb.compile/compile-setjmp.exp: Likewise.
9878 * gdb.compile/compile-tls.exp: Likewise.
9879 * gdb.compile/compile.exp: Likewise.
9880 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
9881 supported on this host".
9883 2014-12-16 Doug Evans <xdje42@gmail.com>
9885 * boards/stabs.exp: New file.
9887 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
9889 * gdb.base/completion.exp: Adjust to format changes of "maint
9890 print user-registers".
9892 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
9895 * gdb.arch/aarch64-fp.c: New file.
9896 * gdb.arch/aarch64-fp.exp: New file.
9898 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9900 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
9901 r210637, r210913, r211666, r215400, r215817).
9903 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
9904 * dg-extract-results.py: New file.
9905 * dg-extract-results.sh: Use it if the environment seems
9908 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
9910 * dg-extract-results.py (parse_run): Handle warnings that
9911 are printed before a test harness is run.
9913 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
9915 * dg-extract-results.py (Named): Remove __cmp__ method.
9916 (output_variation): Use a key to sort variation.harnesses.
9918 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
9920 * dg-extract-results.py: For Python 3, force sys.stdout to
9921 handle surrogate escape sequences.
9922 (safe_open): New function.
9923 (output_segment, main): Use it.
9925 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
9927 * dg-extract-results.py (Prog.result_re): Include options
9930 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
9932 * dg-extract-results.py (output_variation): Always sort if
9935 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
9937 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
9938 as long as we get pagination notifications.
9940 2014-12-15 Jason Merrill <jason@redhat.com>
9942 * Makefile.in (check-gdb.%): Restore.
9943 * README: Mention it.
9945 2014-12-13 Joel Brobecker <brobecker@adacore.com>
9947 * gdb.ada/str_uninit: New testcase.
9949 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9952 * gdb.base/vla-stub-define.c: New file.
9953 * gdb.base/vla-stub.c: New file.
9954 * gdb.base/vla-stub.exp: New file.
9956 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
9957 Jan Kratochvil <jan.kratochvil@redhat.com>
9958 Tom Tromey <tromey@redhat.com>
9960 * configure.ac: Add gdb.compile/.
9961 * configure: Regenerate.
9962 * gdb.compile/Makefile.in: New file.
9963 * gdb.compile/compile-ops.exp: New file.
9964 * gdb.compile/compile-ops.c: New file.
9965 * gdb.compile/compile-tls.c: New file.
9966 * gdb.compile/compile-tls.exp: New file.
9967 * gdb.compile/compile-constvar.S: New file.
9968 * gdb.compile/compile-constvar.c: New file.
9969 * gdb.compile/compile-mod.c: New file.
9970 * gdb.compile/compile-nodebug.c: New file.
9971 * gdb.compile/compile-setjmp-mod.c: New file.
9972 * gdb.compile/compile-setjmp.c: New file.
9973 * gdb.compile/compile-setjmp.exp: New file.
9974 * gdb.compile/compile-shlib.c: New file.
9975 * gdb.compile/compile.c: New file.
9976 * gdb.compile/compile.exp: New file.
9977 * lib/gdb.exp (skip_compile_feature_tests): New proc.
9979 2014-12-12 Tom Tromey <tromey@redhat.com>
9981 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
9982 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
9984 2014-12-12 Doug Evans <dje@google.com>
9986 * lib/gdb-python.exp (get_python_valueof): New function.
9987 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
9989 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9991 * gdb.base/completion.exp: Add test for completion of "info
9994 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
9996 * gdb.base/func-ptrs.c: New file.
9997 * gdb.base/func-ptrs.exp: New file.
9999 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10001 PR breakpoints/17012
10002 * gdb.base/dprintf-detach.c: New file.
10003 * gdb.base/dprintf-detach.exp: New file.
10005 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10007 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
10008 * lib/gdb.exp (target_is_gdbserver): New procedure.
10010 2014-12-08 Doug Evans <dje@google.com>
10012 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
10014 2014-12-05 Yao Qi <yao@codesourcery.com>
10016 * gdb.guile/scm-error.exp: Remove the third argument to
10017 gdb_remote_download.
10018 * gdb.guile/scm-frame-args.exp: Likewise.
10019 * gdb.guile/scm-section-script.exp: Likewise.
10021 2014-12-05 Yao Qi <yao@codesourcery.com>
10023 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
10025 2014-12-04 Doug Evans <dje@google.com>
10027 * gdb.python/py-objfile.exp: Add tests for
10028 objfile.add_separate_debug_file.
10030 2014-12-04 Doug Evans <dje@google.com>
10032 * lib/gdb.exp (get_build_id): New function.
10033 (build_id_debug_filename_get): Rewrite to use it.
10034 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
10036 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
10038 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
10039 `method(long)', not just 0x0.
10040 * gdb.cp/nsalias.exp: Align code labels to 4.
10041 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
10042 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
10043 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
10044 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
10045 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
10046 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
10048 2014-12-02 Doug Evans <dje@google.com>
10051 * gdb.cp/anon-ns.cc: Move guts of this file to ...
10052 * gdb.cp/anon-ns2.cc: ... here. New file.
10053 * gdb.cp/anon-ns.exp: Update.
10055 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
10057 * gdb.python/py-events.py (inferior_call_handler): New.
10058 (register_changed_handler, memory_changed_handler): New.
10059 (test_events.invoke): Register new handlers.
10060 * gdb.python/py-events.exp: Add tests for inferior call,
10061 memory_changed and register_changed events.
10063 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10065 * gdb.base/execl-update-breakpoints.exp: Specify the link address
10066 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
10067 if the linker doesn't understand this.
10069 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
10071 * gdb.python/python.exp: Change expected reply to help().
10073 2014-12-01 Yao Qi <yao@codesourcery.com>
10075 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
10076 AC_CONFIG_SUBDIRS(gdb.gdbtk).
10077 * configure: Re-generated.
10079 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
10081 * gdb.cp/chained-calls.cc: New file.
10082 * gdb.cp/chained-calls.exp: New file.
10083 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
10085 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
10087 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
10088 * gdb.dwarf2/symtab-producer.exp: Same.
10089 * gdb.gdb/python-interrupts.exp: Same.
10090 * gdb.gdb/python-selftest.exp: Same.
10091 * gdb.python/py-linetable.exp: Same.
10092 * gdb.python/py-type.exp: Same.
10093 * gdb.python/py-value-cc.exp: Same.
10094 * gdb.python/py-value.exp: Same.
10096 2014-11-28 Yao Qi <yao@codesourcery.com>
10098 * gdb.base/break-probes.exp: Match library name prefixed with
10101 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
10103 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
10104 test expected output. Add parentheses for the call to print.
10105 Remove L suffix from integers.
10107 2014-11-26 Doug Evans <dje@google.com>
10109 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
10111 2014-11-22 Yao Qi <yao@codesourcery.com>
10113 * gdb.trace/entry-values.c: Remove asms.
10114 (foo): Add foo_label.
10115 (bar): Add bar_label.
10116 * gdb.trace/entry-values.exp: Remove code computing foo's
10117 length and bar's length.
10118 (Dwarf::assemble): Invoke function_range for bar and use
10119 MACRO_AT_func for foo.
10121 2014-11-22 Yao Qi <yao@codesourcery.com>
10123 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
10124 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
10125 Use .Lgcc43_procstart instead of gcc43.
10127 2014-11-21 Joel Brobecker <brobecker@adacore.com>
10129 * gdb.ada/n_arr_bound: New testcase.
10131 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
10133 PR breakpoints/10737
10134 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
10135 test_catch_syscall_multi_arch.
10136 (test_catch_syscall_multi_arch): New function.
10138 2014-11-20 Doug Evans <xdje42@gmail.com>
10140 * gdb.base/maint.exp: Update expected output.
10142 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10144 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
10145 4-byte instruction on S390.
10147 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10149 * gdb.ada/arr_arr: New testcase.
10151 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10153 * gdb.ada/pkd_arr_elem: New Testcase.
10155 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
10157 * gdb.reverse/break-precsave: Expect completion message for
10159 * gdb.reverse/consecutive-precsave.exp: Likewise.
10160 * gdb.reverse/finish-precsave.exp: Likewise.
10161 * gdb.reverse/i386-precsave.exp: Likewise.
10162 * gdb.reverse/machinestate-precsave.exp: Likewise.
10163 * gdb.reverse/sigall-precsave.exp: Likewise.
10164 * gdb.reverse/solib-precsave.exp: Likewise.
10165 * gdb.reverse/step-precsave.exp: Likewise.
10166 * gdb.reverse/until-precsave.exp: Likewise.
10167 * gdb.reverse/watch-precsave.exp: Likewise.
10169 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10171 * gdb.base/bp-permanent.c: Include unistd.h.
10172 * gdb.python/py-framefilter-mi.c (main): Add return type.
10173 * gdb.python/py-framefilter.c (main): Likewise.
10174 * gdb.trace/actions-changed.c (main): Likewise.
10176 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10178 * gdb.mi/until.c: Add eye-catchers.
10179 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
10182 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10184 * gdb.base/condbreak.exp: Drop references to removed non-prototype
10185 function header variants in break1.c.
10186 * gdb.base/ena-dis-br.exp: Likewise.
10187 * gdb.base/hbreak2.exp: Likewise.
10188 * gdb.reverse/until-precsave.exp: Drop references to removed
10189 non-prototype function header variants in ur1.c.
10190 * gdb.reverse/until-reverse.exp: Likewise.
10192 2014-11-17 Petr Machata <pmachata@redhat.com>
10194 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
10195 ${_cu_offset_size} bytes abbrev offset.
10197 2014-11-15 Doug Evans <xdje42@gmail.com>
10200 * gdb.base/line-symtabs.exp: New file.
10201 * gdb.base/line-symtabs.c: New file.
10202 * gdb.base/line-symtabs.h: New file.
10204 2014-11-14 Yao Qi <yao@codesourcery.com>
10206 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
10207 (func): Add label func_label.
10208 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
10209 Replace low_pc and high_pc with MACRO_AT_range.
10210 Replace name, low_pc and high_pc with MACRO_AT_func.
10212 2014-11-14 Yao Qi <yao@codesourcery.com>
10214 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
10215 Replace name, low_pc and high_pc with MACRO_AT_func.
10217 2014-11-14 Yao Qi <yao@codesourcery.com>
10219 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
10220 produce debug information.
10221 * gdb.dwarf2/implptr-optimized-out.S: Removed.
10223 2014-11-14 Yao Qi <yao@codesourcery.com>
10225 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
10226 object and get function length.
10227 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
10228 with MACRO_AT_func.
10229 (top-level): Replace gdb_compile and clean_restart with
10230 prepare_for_testing.
10231 * gdb.dwarf2/main.c (main): Add label main_label.
10233 2014-11-14 Yao Qi <yao@codesourcery.com>
10235 * lib/dwarf.exp (function_range): New procedure.
10236 (Dwarf::_handle_macro_at_func): New procedure.
10237 (Dwarf::_handle_macro_at_range): New procedure.
10238 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
10240 2014-11-14 Yao Qi <yao@codesourcery.com>
10242 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
10243 (_handle_attribute): New procedure.
10245 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10247 * gdb.ada/cond_lang/foo.c (callme): Add return type.
10248 * gdb.base/call-sc.c (zed): Likewise.
10249 * gdb.base/checkpoint.c (main): Likewise.
10250 * gdb.base/dump.c (main): Likewise.
10251 * gdb.base/gcore.c (main): Likewise.
10252 * gdb.base/huge.c (main): Likewise.
10253 * gdb.base/multi-forks.c (main): Likewise.
10254 * gdb.base/pr10179-a.c (main): Likewise.
10255 * gdb.base/savedregs.c (main): Likewise.
10256 * gdb.base/sigaltstack.c (main): Likewise.
10257 * gdb.base/siginfo.c (main): Likewise.
10258 * gdb.base/structs.c (zed): Likewise.
10259 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
10260 * gdb.mi/mi-syn-frame.c (main): Likewise.
10261 * gdb.mi/until.c (foo, main): Likewise.
10262 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
10263 * gdb.base/solib-weak.c (foo): Declare.
10264 * gdb.base/attach-twice.c: Include stdio.h.
10265 * gdb.base/weaklib1.c: Likewise.
10266 * gdb.base/weaklib2.c: Likewise.
10267 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
10268 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
10270 * gdb.base/attach-pie-misread.c: Include stdlib.h.
10271 * gdb.mi/mi-exit-code.c: Likewise.
10272 * gdb.base/break-interp-lib.c: Include string.h.
10273 * gdb.base/coremaker.c: Likewise.
10274 * gdb.base/testenv.c: Likewise.
10275 * gdb.python/py-finish-breakpoint.c: Likewise.
10276 * gdb.base/inferior-died.c: Include sys/wait.h.
10277 * gdb.base/fileio.c: Include time.h.
10278 * gdb.base/async-shell.c: Include unistd.h.
10279 * gdb.base/dprintf-non-stop.c: Likewise.
10280 * gdb.base/info-os.c: Likewise.
10281 * gdb.mi/mi-console.c: Likewise.
10282 * gdb.mi/watch-nonstop.c: Likewise.
10283 * gdb.python/py-events.c: Likewise.
10284 * gdb.base/async.c (baz): Move up before its invocation.
10285 * gdb.base/code_elim2.c (my_global_func): Likewise.
10286 * gdb.base/skip-solib-lib.c (multiply): Likewise.
10287 * gdb.base/advance.c (func2): Likewise.
10289 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10291 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
10293 * gdb.base/annota3.c: Likewise.
10294 * gdb.base/async.c: Likewise.
10295 * gdb.base/average.c: Likewise.
10296 * gdb.base/call-ar-st.c: Likewise.
10297 * gdb.base/call-rt-st.c: Likewise.
10298 * gdb.base/call-sc.c: Likewise.
10299 * gdb.base/call-strs.c: Likewise.
10300 * gdb.base/ending-run.c: Likewise.
10301 * gdb.base/execd-prog.c: Likewise.
10302 * gdb.base/exprs.c: Likewise.
10303 * gdb.base/foll-exec.c: Likewise.
10304 * gdb.base/foll-fork.c: Likewise.
10305 * gdb.base/foll-vfork.c: Likewise.
10306 * gdb.base/funcargs.c: Likewise.
10307 * gdb.base/gcore.c: Likewise.
10308 * gdb.base/jump.c: Likewise.
10309 * gdb.base/langs0.c: Likewise.
10310 * gdb.base/langs1.c: Likewise.
10311 * gdb.base/langs2.c: Likewise.
10312 * gdb.base/mips_pro.c: Likewise.
10313 * gdb.base/nodebug.c: Likewise.
10314 * gdb.base/opaque0.c: Likewise.
10315 * gdb.base/opaque1.c: Likewise.
10316 * gdb.base/recurse.c: Likewise.
10317 * gdb.base/run.c: Likewise.
10318 * gdb.base/scope0.c: Likewise.
10319 * gdb.base/scope1.c: Likewise.
10320 * gdb.base/setshow.c: Likewise.
10321 * gdb.base/setvar.c: Likewise.
10322 * gdb.base/shmain.c: Likewise.
10323 * gdb.base/shr1.c: Likewise.
10324 * gdb.base/shr2.c: Likewise.
10325 * gdb.base/sigall.c: Likewise.
10326 * gdb.base/signals.c: Likewise.
10327 * gdb.base/so-indr-cl.c: Likewise.
10328 * gdb.base/solib2.c: Likewise.
10329 * gdb.base/structs.c: Likewise.
10330 * gdb.base/sum.c: Likewise.
10331 * gdb.base/vforked-prog.c: Likewise.
10332 * gdb.base/watchpoint.c: Likewise.
10333 * gdb.reverse/shr2.c: Likewise.
10334 * gdb.reverse/until-reverse.c: Likewise.
10335 * gdb.reverse/ur1.c: Likewise.
10336 * gdb.reverse/watch-reverse.c: Likewise.
10338 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10340 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
10342 * gdb.base/sepdebug.exp: Drop references to removed code.
10344 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10346 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
10347 variant. Preserve original line numbering.
10348 * gdb.base/list1.c: Likewise.
10350 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10352 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
10354 * gdb.base/break1.c: Likewise.
10355 * gdb.base/break.exp: Drop references to removed code.
10357 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10359 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
10362 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10364 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
10366 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10368 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
10369 logic into perform_all_tests() and invoke it with and without
10370 function header prototypes.
10371 (do_function_calls): Remove conditional XFAIL for PR 5318.
10372 (rerun_and_prepare): Remove duplicate code.
10373 (perform_all_tests): New. Main logic moved here.
10375 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10377 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
10378 code guarded by #ifdef NO_PROTOTYPES.
10379 (t_double_many_args): Likewise.
10380 (DEF_FUNC_MANY_ARGS_1): Likewise.
10381 (DEF_FUNC_VALUES_1): Likewise.
10382 (t_structs_ldc): Renamed from t_structs_fc in conditional code
10383 guarded by #ifdef PROTOTYPES.
10385 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10387 * gdb.mi/mi-console.c: Add eye-catcher.
10388 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10389 instead of literal line number.
10391 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10393 * gdb.base/shr2.c: Add eye-catcher.
10394 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10397 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10399 * gdb.base/jump.c: Add eye-catchers.
10400 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10403 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10405 * gdb.base/execd-prog.c: Add eye-catchers.
10406 * gdb.base/foll-exec.c: Likewise.
10407 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10410 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10412 * gdb.base/ending-run.c: Add eye-catchers.
10413 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
10414 literal line numbers.
10416 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10418 * gdb.base/call-rt-st.c: Add eye-catchers.
10419 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
10420 literal line numbers.
10422 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10424 * gdb.base/call-ar-st.c: Add eye-catchers.
10425 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
10426 literal line numbers.
10428 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10430 * gdb.base/average.c: Add eye-catchers.
10431 * gdb.base/sum.c: Likewise.
10432 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
10433 regexps dynamically.
10435 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10437 * gdb.base/solib1.c: Add eye-catchers.
10438 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10439 literal line numbers.
10441 2014-11-12 Pedro Alves <palves@redhat.com>
10443 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10446 2014-11-12 Pedro Alves <palves@redhat.com>
10448 * gdb.arch/i386-bp_permanent.c: New file.
10449 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10450 (srcfile): Set to i386-bp_permanent.c.
10451 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
10452 that stepi does not execute the 'leave' instruction, instead of
10453 testing it does execute.
10454 * gdb.base/bp-permanent.c: New file.
10455 * gdb.base/bp-permanent.exp: New file.
10457 2014-11-10 Doug Evans <xdje42@gmail.com>
10460 * gdb.base/symtab-search-order.exp: New file.
10461 * gdb.base/symtab-search-order.c: New file.
10462 * gdb.base/symtab-search-order-1.c: New file.
10463 * gdb.base/symtab-search-order-shlib-1.c: New file.
10465 2014-11-07 Pedro Alves <palves@redhat.com>
10468 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10471 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10474 * gdb.cp/pr17494.cc: New file.
10475 * gdb.cp/pr17494.exp: New file.
10477 2014-11-02 Yao Qi <yao@codesourcery.com>
10479 * gdb.python/python.exp: Get working directory and match the
10480 output of "set extended-prompt \\w " with it.
10482 2014-10-30 Doug Evans <dje@google.com>
10484 * gdb.python/py-objfile.exp: Add tests for setting random attributes
10486 * gdb.python/py-progspace.exp: Add tests for setting random attributes
10489 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
10491 * gdb.base/fullpath-expand.exp: Skip for a remote host.
10492 * gdb.base/realname-expand.exp: Likewise.
10493 * gdb.linespec/macro-relative.exp: Likewise.
10495 2014-10-29 Pedro Alves <palves@redhat.com>
10498 * gdb.threads/schedlock.c (some_function): New function.
10499 (call_function): New global.
10500 (MAYBE_CALL_SOME_FUNCTION): New macro.
10501 (thread_function): Call it.
10502 * gdb.threads/schedlock.exp (get_args): Add description parameter,
10503 and use it instead of a global counter. Adjust all callers.
10504 (get_current_thread): Use "find current thread" for test message
10505 here rather than having all callers pass down the same string.
10506 (goto_loop): New procedure, factored out from ...
10507 (my_continue): ... this.
10508 (step_ten_loops): Change parameter from test message to command to
10510 (list_count): Delete global.
10511 (check_result): New procedure, factored out from duplicate top
10513 (continue tests): Wrap in with_test_prefix.
10514 (test_step): New procedure, factored out from duplicate top level
10516 (top level): Test "step" in combination with all scheduler-locking
10517 modes. Test "next" in combination with all scheduler-locking
10518 modes, and in combination with stepping over a function call or
10520 * gdb.threads/next-bp-other-thread.c: New file.
10521 * gdb.threads/next-bp-other-thread.exp: New file.
10523 2014-10-29 Pedro Alves <palves@redhat.com>
10526 * gdb.python/python.exp: Test a multi-line command that spawns
10527 interactive Python.
10528 * gdb.base/multi-line-starts-subshell.exp: New file.
10530 2014-10-29 Yao Qi <yao@codesourcery.com>
10532 * gdb.base/fileio.exp: Make directories on host.
10534 2014-10-29 Yao Qi <yao@codesourcery.com>
10536 * gdb.base/fileio.c (test_write): Close the file.
10538 2014-10-28 Pedro Alves <palves@redhat.com>
10541 * gdb.base/sigstep.c (no_handler): New global.
10542 (main): If 'no_handler is true, set the signal handlers to
10544 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
10545 with_sw_watch and no_handler parameters. Handle them.
10546 (top level) <stepping over handler when stopped at a breakpoint
10547 test>: Add a test axis for testing with a software watchpoint, and
10548 another for testing with the signal handler set to SIG_IGN.
10549 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
10550 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
10552 2014-10-28 Pedro Alves <palves@redhat.com>
10555 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
10556 * gdb.base/sigstep.exp (other_handler_location): New global.
10557 (advance): Support stepping into the signal handler, and running
10558 commands while in the handler.
10559 (in_handler_map): New global.
10560 (top level): In the advance test, add combinations for getting
10561 into the handler with stepping commands, and for running commands
10562 in the handler. Add comment descripting the advancei tests.
10564 2014-10-28 Pedro Alves <palves@redhat.com>
10566 * gdb.base/sigstep.exp: Use build_executable instead of
10567 prepare_for_testing.
10568 (top level): Move code that starts GDB, runs to main and creates a
10570 (restart): ... this new procedure.
10571 (top level): Move backtrace from signal handler test to ...
10572 (validate_backtrace): ... this new procedure.
10573 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
10574 with_test_prefix. Always restart GDB.
10575 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
10576 with_test_prefix. Always restart GDB. No need to delete
10577 breakpoints after the test.
10578 (test_skip_handler): Remove prefix parameter.
10579 (skip_over_handler, breakpoint_to_handler)
10580 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
10581 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
10582 restart GDB. No need to delete breakpoints after the test.
10583 (top level): Use foreach to call the test procedures with
10584 different commands.
10586 2014-10-28 Pedro Alves <palves@redhat.com>
10588 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
10589 instead of GNATS numbers.
10590 * gdb.base/sigbpt.exp: Likewise.
10591 * gdb.base/siginfo.exp: Likewise.
10592 * gdb.base/sigstep.exp: Likewise.
10594 2014-10-27 Pedro Alves <palves@redhat.com>
10596 * gdb.base/sigstep.c (dummy): New global.
10597 (main): Issue a couple writes to the new global.
10598 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
10600 (skip_over_handler): Use test_skip_handler.
10601 (top level): Call skip_over_handler for stepi and nexti too.
10602 (breakpoint_over_handler): Use test_skip_handler.
10603 (top level): Call breakpoint_over_handler for stepi and nexti too.
10605 2014-10-27 Yao Qi <yao@codesourcery.com>
10607 * gdb.trace/tfile.c (adjust_function_address)
10608 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
10609 function descriptor.
10611 2014-10-24 Don Breazeal <donb@codesourcery.com>
10613 * gdb.base/foll-fork.exp (test_follow_fork,
10614 catch_fork_child_follow): Check for updated fork messages emitted
10616 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
10617 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
10618 vfork_and_exec_child_follow_through_step): Check for updated vfork
10619 messages emitted from infrun.c.
10621 2014-10-24 Pedro Alves <palves@redhat.com>
10623 * gdb.base/corefile.exp: Remove references to ultrix.
10624 * gdb.base/interrupt.exp: Likewise.
10625 * gdb.base/whatis.exp: Likewise.
10626 * gdb.gdb/selftest.exp: Likewise.
10627 * gdb.threads/manythreads.exp: Likewise.
10628 * gdb.threads/print-threads.exp: Likewise.
10629 * gdb.threads/pthreads.exp:: Likewise.
10630 * gdb.threads/schedlock.exp: Likewise.
10632 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
10634 * gdb.cp/non-trivial-retval.cc: Add a test case.
10635 * gdb.cp/non-trivial-retval.exp: Add a test.
10637 2014-10-20 Yao Qi <yao@codesourcery.com>
10639 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
10640 * gdb.python/py-objfile-script-gdb.py: New file.
10641 * gdb.python/py-objfile-script.exp: Update reference to
10642 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
10643 of remote_download. Remove the dest file.
10645 2014-10-20 Yao Qi <yao@codesourcery.com>
10647 * gdb.base/checkpoint.exp: Don't remove file copied on host.
10648 * gdb.base/step-line.exp: Likewise.
10649 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10650 * gdb.dwarf2/dw2-basic.exp: Likewise.
10651 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10652 * gdb.dwarf2/dw2-filename.exp: Likewise.
10653 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10654 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10655 * gdb.dwarf2/dw2-producer.exp: Likewise.
10656 * gdb.dwarf2/mac-fileno.exp: Likewise.
10657 * gdb.python/py-frame-args.exp: Likewise.
10658 * gdb.python/py-framefilter.exp: Likewise.
10659 * gdb.python/py-mi.exp: Likewise.
10660 * gdb.python/py-objfile-script.exp: Likewise
10661 * gdb.python/py-pp-integral.exp: Likewise.
10662 * gdb.python/py-pp-re-notag.exp: Likewise.
10663 * gdb.python/py-prettyprint.exp: Likewise.
10664 * gdb.python/py-section-script.exp: Likewise.
10665 * gdb.python/py-typeprint.exp: Likewise.
10666 * gdb.python/py-xmethods.exp: Likewise.
10667 * gdb.stabs/weird.exp: Likewise.
10668 * gdb.xml/tdesc-regs.exp: Likewise.
10670 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
10672 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
10673 (out_cu): Use addr_len for the size of addresses.
10674 (out_line): Likewise. Size DW_LNE_set_address instruction
10675 according to addr_len.
10676 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
10677 (FUNC): Add START_INSNS to definition.
10679 2014-10-18 Yao Qi <yao@codesourcery.com>
10681 * gdb.base/argv0-symlink.exp: Check argv[0] value if
10682 gdb_has_argv0 return true.
10683 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
10684 check [target_info exists noargs], check [gdb_has_argv0]
10686 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10687 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
10690 2014-10-17 Doug Evans <dje@google.com>
10692 * gdb.python/py-events.exp: Update expected output for clear_objfiles
10694 * gdb.python/py-events.py: Add clear_objfiles event.
10696 2014-10-17 Doug Evans <dje@google.com>
10698 * gdb.python/py-objfile.exp: Test progspace attribute.
10700 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
10702 * gdb.guile/scm-breakpoint.exp: Do not assume any
10703 directory separators when matching source file paths.
10704 * gdb.python/py-breakpoint.exp: Likewise.
10705 * gdb.reverse/break-precsave.exp: Likewise.
10706 * gdb.reverse/break-reverse.exp: Likewise.
10707 * gdb.reverse/consecutive-precsave.exp: Likewise.
10708 * gdb.reverse/finish-precsave.exp: Likewise.
10709 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
10710 * gdb.reverse/finish-reverse.exp: Likewise.
10711 * gdb.reverse/i386-precsave.exp: Likewise.
10712 * gdb.reverse/i387-env-reverse.exp: Likewise.
10713 * gdb.reverse/i387-stack-reverse.exp: Likewise.
10714 * gdb.reverse/machinestate-precsave.exp: Likewise.
10715 * gdb.reverse/machinestate.exp: Likewise.
10716 * gdb.reverse/sigall-precsave.exp: Likewise.
10717 * gdb.reverse/solib-precsave.exp: Likewise.
10718 * gdb.reverse/step-precsave.exp: Likewise.
10719 * gdb.reverse/until-precsave.exp: Likewise.
10720 * gdb.reverse/watch-precsave.exp: Likewise.
10721 * gdb.reverse/watch-reverse.exp: Likewise.
10723 2014-10-17 Yao Qi <yao@codesourcery.com>
10725 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
10726 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
10728 2014-10-17 Pedro Alves <palves@redhat.com>
10731 * gdb.base/bg-execution-repeat.c: New file.
10732 * gdb.base/bg-execution-repeat.exp: New file.
10734 2014-10-17 Pedro Alves <palves@redhat.com>
10737 * gdb.base/continue-all-already-running.c: New file.
10738 * gdb.base/continue-all-already-running.exp: New file.
10740 2014-10-17 Pedro Alves <palves@redhat.com>
10743 * gdb.base/annota-input-while-running.c: New file.
10744 * gdb.base/annota-input-while-running.exp: New file.
10746 2014-10-17 Pedro Alves <palves@redhat.com>
10748 * gdb.base/callfuncs.exp: emove references to osf.
10749 * gdb.base/sigall.exp: Likewise.
10750 * gdb.gdb/selftest.exp: Likewise.
10751 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10752 * gdb.mi/non-stop.c: Likewise.
10753 * gdb.mi/pthreads.c: Likewise.
10754 * gdb.reverse/sigall-precsave.exp: Likewise.
10755 * gdb.reverse/sigall-reverse.exp: Likewise.
10756 * gdb.threads/pthreads.c: Likewise.
10757 * gdb.threads/pthreads.exp: Likewise.
10759 2014-10-17 Yao Qi <yao@codesourcery.com>
10761 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
10762 check 'target_info exists noargs'.
10763 (test_command_prompt_position): Likewise.
10764 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
10766 (progvar_simple_while_test): Likewise.
10767 (progvar_complex_if_while_test): Likewise.
10768 (if_while_breakpoint_command_test): Likewise.
10769 (infrun_breakpoint_command_test): Likewise.
10770 (breakpoint_command_test): Likewise.
10771 (watchpoint_command_test): Likewise.
10772 (bp_deleted_in_command_test): Likewise.
10773 (temporary_breakpoint_commands): Likewise.
10775 2014-10-16 Yao Qi <yao@codesourcery.com>
10777 * gdb.base/remotetimeout.exp: Remove noargs checking.
10779 2014-10-15 Pedro Alves <palves@redhat.com>
10781 PR breakpoints/9649
10782 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
10783 * gdb.base/breakpoint-in-ro-region.exp
10784 (probe_target_hardware_step): New procedure.
10785 (top level): Probe hardware stepping and hardware breakpoint
10786 support. Test stepping through a read-only region, with both
10787 "breakpoint auto-hw" on and off and both "always-inserted" on and
10790 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
10792 * gdb.dlang/demangle.exp: Update for demangling changes.
10794 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10796 * gdb.cp/non-trivial-retval.cc: Add new test cases.
10797 * gdb.cp/non-trivial-retval.exp: Add new tests.
10799 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10803 * gdb.cp/non-trivial-retval.cc: New file.
10804 * gdb.cp/non-trivial-retval.exp: New file.
10806 2014-10-15 Yao Qi <yao@codesourcery.com>
10808 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
10811 2014-10-15 Yao Qi <yao@codesourcery.com>
10813 * gdb.python/py-symbol.exp: Match file base name if host is
10814 remote, otherwise match file name with dir name.
10815 * gdb.python/py-symtab.exp: Likewise.
10816 * gdb.python/python.exp: Likewise.
10818 2014-10-15 Yao Qi <yao@codesourcery.com>
10820 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
10822 * gdb.python/py-symtab.exp: Likewise.
10823 * gdb.python/python.exp: Remove trailing ".*". Fix typo
10826 2014-10-14 Joel Brobecker <brobecker@adacore.com>
10828 * gdb.ada/addr_arith: New testcase.
10830 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
10832 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
10833 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
10834 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
10835 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
10837 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
10839 * gdb.arch/stap-eval-lang-ada.S: Likewise.
10840 * gdb.arch/stap-eval-lang-ada.c: Likewise.
10841 * gdb.arch/stap-eval-lang-ada.exp: New file.
10843 2014-10-14 Yao Qi <yao@codesourcery.com>
10845 * gdb.mi/mi-var-child.c (nothing1): New function.
10846 (nothing2): New function.
10847 (do_children_tests): Set function pointers by nothing1 and
10849 * gdb.mi/mi-var-child.exp: Step over new added statements.
10850 Update test to match the new output.
10851 * gdb.mi/var-cmd.c (nothing1): New function.
10852 (nothing2): New function.
10853 (do_children_tests): Set function pointers by nothing1 and
10855 * gdb.mi/mi-var-display.exp: Update test to match output.
10856 Step to the line specified by $line_dct_nothing.
10857 Increase the number of lines to step.
10859 2014-10-14 Yao Qi <yao@codesourcery.com>
10861 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
10863 * gdb.mi/mi2-var-child.exp: Likewise.
10865 2014-10-13 Doug Evans <dje@google.com>
10867 * gdb.python/py-objfile.exp: Change name of file name test.
10869 2014-10-13 Doug Evans <dje@google.com>
10871 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
10872 from the start of the CU.
10874 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10875 Yao Qi <yao@codesourcery.com>
10877 Fix "save breakpoints" for "catch" command.
10878 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
10879 Remove -nonewline. Match also the added "main" line.
10881 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10883 Fix "save breakpoints" for "disable $bpnum" command.
10884 * gdb.base/save-bp.c (main): Add label.
10885 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
10887 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10889 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
10891 2014-10-11 Yao Qi <yao@codesourcery.com>
10893 * gdb.server/server-kill.exp: Execute command
10894 "set remote trace-status-packet on" before "tstatus".
10896 2014-10-11 Yao Qi <yao@codesourcery.com>
10898 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
10899 (main): Call getppid.
10900 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
10901 and continue to it. Read variable "server_pid".
10903 2014-10-11 Yao Qi <yao@codesourcery.com>
10905 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
10907 2014-10-11 Yao Qi <yao@codesourcery.com>
10909 * gdb.threads/thread-find.exp: Don't execute command
10911 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
10912 * gdb.threads/linux-dp.exp: Don't check the condition
10913 $threads_created equals to zero.
10915 2014-10-10 Pedro Alves <palves@redhat.com>
10917 * gdb.base/bigcore.exp: Remove references to IRIX.
10918 * gdb.base/funcargs.exp: Likewise.
10919 * gdb.base/interrupt.exp: Likewise.
10920 * gdb.base/mips_pro.exp: Likewise.
10921 * gdb.base/nodebug.exp: Likewise.
10922 * gdb.base/setvar.exp: Likewise.
10923 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
10925 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10926 Pedro Alves <palves@redhat.com>
10929 * gdb.base/vdso-warning.c: New file.
10930 * gdb.base/vdso-warning.exp: New file.
10932 2014-10-02 Doug Evans <dje@google.com>
10934 * gdb.base/structs.c (main): Don't run forever.
10936 2014-10-02 Pedro Alves <palves@redhat.com>
10938 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
10939 (top level) <stop threads 1, stop threads 2>: Use it.
10941 2014-10-02 Pedro Alves <palves@redhat.com>
10943 * gdb.threads/break-while-running.exp (test): Add new
10944 'update_thread_list' argument. Skip "info threads" if false.
10945 (top level): Add new 'update_thread_list' axis.
10947 2014-10-02 Pedro Alves <palves@redhat.com>
10949 PR breakpoints/17431
10950 * gdb.base/execl-update-breakpoints.c: New file.
10951 * gdb.base/execl-update-breakpoints.exp: New file.
10953 2014-10-01 Pedro Alves <palves@redhat.com>
10955 * gdb.base/breakpoint-in-ro-region.c: New file.
10956 * gdb.base/breakpoint-in-ro-region.exp: New file.
10958 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
10960 * gdb.mi/mi-exit-code.exp: New file.
10961 * gdb.mi/mi-exit-code.c: New file.
10963 2014-09-30 Yao Qi <yao@codesourcery.com>
10965 * lib/prelink-support.exp (build_executable_own_libs): Error if
10966 the target isn't native.
10968 2014-09-30 Yao Qi <yao@codesourcery.com>
10970 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
10973 2014-09-22 Pedro Alves <palves@redhat.com>
10975 * gdb.threads/break-while-running.exp: New file.
10976 * gdb.threads/break-while-running.c: New file.
10978 2014-09-19 Yao Qi <yao@codesourcery.com>
10980 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
10981 Invoke test. Restart GDB with --readnow and invoke test again.
10983 2014-09-19 Yao Qi <yao@codesourcery.com>
10985 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
10986 proc set_breakpoint_on_gcd_function. Invoke
10987 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
10988 invoke set_breakpoint_on_gcd_function again.
10990 2014-09-18 Doug Evans <dje@google.com>
10992 * gdb.dwarf2/symtab-producer.exp: New file.
10994 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
10996 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
10997 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
10998 * gdb.base/global-var-nested-by-dso.c: Likewise.
10999 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11001 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11002 Pedro Alves <palves@redhat.com>
11004 * gdb.base/watch-bitfields.exp: Pass string other than test file
11005 name to prepare_for_testing.
11006 (watch): New procedure.
11007 (expect_watchpoint): Use with_test_prefix.
11008 (top level): Factor out tests to ...
11009 (test_watch_location, test_regular_watch): ... these new
11010 procedures, and use with_test_prefix and gdb_continue_to_end.
11012 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
11014 PR breakpoints/12526
11015 * gdb.base/watch-bitfields.exp: New file.
11016 * gdb.base/watch-bitfields.c: New file.
11018 2014-09-16 Pedro Alves <palves@redhat.com>
11020 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
11021 software and hardware addresses, not software address against
11024 2014-09-16 Pedro Alves <palves@redhat.com>
11026 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
11027 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
11029 2014-09-16 Pedro Alves <palves@redhat.com>
11031 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
11033 * gdb.base/a2-run.exp: Remove all code guarded by istarget
11034 "*-*-vxworks*" throughout.
11035 * gdb.base/break.exp: Likewise.
11036 * gdb.base/default.exp: Likewise.
11037 * gdb.base/scope.exp: Likewise.
11038 * gdb.base/sepdebug.exp: Likewise.
11039 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
11041 * gdb.base/run.c: Likewise.
11042 * gdb.base/sepdebug.c: Likewise.
11043 * gdb.hp/gdb.aCC/run.c: Likewise.
11044 * gdb.reverse/until-reverse.c: Likewise.
11045 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
11047 2014-09-16 Yao Qi <yao@codesourcery.com>
11049 * boards/local-remote-host-native.exp: New file.
11051 2014-09-14 Doug Evans <xdje42@gmail.com>
11053 * gdb.threads/queue-signal.c (thread_count): New variable.
11054 (thread_count_mutex, thread_count_condvar): New variables.
11055 (incr_thread_count, wait_all_threads_running): New functions.
11056 (main): Wait for all threads to be in their thread functions.
11058 2014-09-13 Doug Evans <xdje42@gmail.com>
11060 * gdb.threads/queue-signal.c: New file.
11061 * gdb.threads/queue-signal.exp: New file.
11063 2014-09-13 Doug Evans <xdje42@gmail.com>
11065 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
11066 be consistent with what default_gdb_init uses.
11067 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
11068 the plain text of the prompt. Add some logging printfs.
11069 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
11071 2014-09-12 Pedro Alves <palves@redhat.com>
11073 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
11074 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
11075 * gdb.arch/i386-size-overlap.exp: Likewise.
11076 * gdb.arch/i386-size.exp: Likewise.
11077 * gdb.arch/i386-unwind.exp: Likewise.
11078 * gdb.base/a2-run.exp: Likewise.
11079 * gdb.base/break.exp: Likewise.
11080 * gdb.base/charset.exp: Likewise.
11081 * gdb.base/chng-syms.exp: Likewise.
11082 * gdb.base/commands.exp: Likewise.
11083 * gdb.base/dbx.exp: Likewise.
11084 * gdb.base/find.exp: Likewise.
11085 * gdb.base/funcargs.exp: Likewise.
11086 * gdb.base/jit-simple.exp: Likewise.
11087 * gdb.base/reread.exp: Likewise.
11088 * gdb.base/sepdebug.exp: Likewise.
11089 * gdb.base/step-bt.exp: Likewise.
11090 * gdb.cp/mb-inline.exp: Likewise.
11091 * gdb.cp/mb-templates.exp: Likewise.
11092 * gdb.objc/basicclass.exp: Likewise.
11093 * gdb.threads/killed.exp: Likewise.
11095 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11098 * gdb.arch/powerpc-stackless.S: New file.
11099 * gdb.arch/powerpc-stackless.exp: New file.
11101 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11103 * gdb.base/attach.c: Include unistd.h.
11104 (main): Call alarm. Add label postloop.
11105 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
11106 gdb_breakpoint, gdb_continue_to_breakpoint.
11107 (test_command_line_attach_run): Kill ${testpid} in one exit path.
11109 2014-09-11 Pedro Alves <palves@redhat.com>
11112 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
11113 * gdb.base/attach.exp (test_command_line_attach_run): New
11115 (top level): Call it.
11117 2014-09-11 Pedro Alves <palves@redhat.com>
11119 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
11120 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
11121 (do_command_attach_tests): Use spawn_wait_for_attach.
11122 * gdb.base/solib-overlap.exp: Likewise.
11123 * gdb.multi/multi-attach.exp: Likewise.
11124 * gdb.python/py-prompt.exp: Likewise.
11125 * gdb.python/py-sync-interp.exp: Likewise.
11126 * gdb.server/ext-attach.exp: Likewise.
11128 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
11130 * gdb.fortran/array-element.exp: Remove unexpected "continue"
11131 command in testcase. Simplify testcase.
11133 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11135 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
11137 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11139 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
11141 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11143 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
11145 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11147 * gdb.dwarf2/dynarr-ptr.c: New file.
11148 * gdb.dwarf2/dynarr-ptr.exp: New file.
11150 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11152 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
11153 of 30 rather than hardcoding 120 for a slow test case. Take the
11154 `gdb,timeout' target setting into account for this calculation.
11155 Don't extend the timeout for the test cases that don't need it.
11157 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11159 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
11160 a factor of 2 for a slow test case. Take the `gdb,timeout'
11161 target setting into account for this calculation.
11162 * gdb.reverse/until-precsave.exp: Increase the timeout by
11163 a factor of 15 and 3 respectively rather than adding 120
11164 for a pair of slow test cases. Take the `gdb,timeout'
11165 target setting into account for this calculation.
11167 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11169 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
11170 timeout, don't pass one down to gdb_expect.
11171 (gdb_expect): Rework timeout selection.
11173 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11175 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
11176 exception on timeout.
11177 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
11178 (gdbserver_start_extended): Catch any `gdbserver_start' error
11180 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
11181 * lib/mi-support.exp (mi_gdb_target_load): Catch any
11182 `gdbserver_gdb_load' error exceptions.
11184 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11186 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
11187 120 on waiting for the TCP socket to open.
11189 2014-09-09 Doug Evans <xdje42@gmail.com>
11191 * gdb.base/default.exp (show_conv_list): Add _caller_is,
11192 _caller_matches, _any_caller_is, _any_caller_matches.
11194 2014-09-09 Doug Evans <xdje42@gmail.com>
11196 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
11198 2014-09-09 Yao Qi <yao@codesourcery.com>
11200 * gdb.mi/mi-var-display.exp: Set print symbol off.
11202 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
11205 * gdb.base/commands.exp: Add tests to verify user-defined
11206 commands with empty bodies.
11207 * gdb.python/py-cmd.exp: Test that we don't show user-defined
11208 python commands in `show user command`.
11209 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
11210 scheme commands in `show user command`.
11212 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11215 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
11216 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
11217 * gdb.python/py-framefilter-invalidarg.exp: New file.
11218 * gdb.python/py-framefilter-invalidarg.py: New file.
11220 2014-09-06 Doug Evans <xdje42@gmail.com>
11223 * gdb.python/py-caller-is.c: New file.
11224 * gdb.python/py-caller-is.exp: New file.
11226 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
11229 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
11230 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
11232 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
11235 * gdb.fortran/print-formatted.exp: New file.
11236 * gdb.fortran/print-formatted.f90: Likewise.
11238 2014-09-03 Sasha Smundak <asmundak@google.com>
11240 * gdb.python/py-frame.exp: Test Frame.read_register.
11242 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
11245 * gdb.python/py-completion.exp: New file.
11246 * gdb.python/py-completion.py: Likewise.
11248 2014-08-28 Doug Evans <dje@google.com>
11250 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
11251 eax,etc. are live with values set by gdb and thus the compiler can't
11253 * gdb.arch/i386-pseudo.c (main): Ditto.
11255 2014-08-27 Doug Evans <dje@google.com>
11257 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
11259 2014-08-25 Doug Evans <dje@google.com>
11261 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
11264 2014-08-25 Doug Evans <dje@google.com>
11266 * gdb.threads/thread-execl.exp: #include <stdio.h>.
11268 2014-08-24 Yao Qi <yao@codesourcery.com>
11270 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
11272 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
11274 2014-08-22 Doug Evans <dje@google.com>
11277 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
11278 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
11279 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
11281 2014-08-22 Yao Qi <yao@codesourcery.com>
11283 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
11284 * gdb.python/py-finish-breakpoint2.exp: Likewise.
11285 * gdb.python/python.exp: Likewise. Use .py file on the host
11286 instead of the build.
11288 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11290 * gdb.threads/gcore-stale-thread.c: New file.
11291 * gdb.threads/gcore-stale-thread.exp: New file.
11293 2014-08-21 Pedro Alves <palves@redhat.com>
11295 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
11296 * gdb.base/gcore-relro-pie.exp: Likewise.
11297 * gdb.base/gcore-relro.exp: Likewise.
11298 * gdb.base/gcore.exp: Likewise.
11299 * gdb.base/print-symbol-loading.exp: Likewise.
11300 * gdb.threads/gcore-thread.exp: Likewise.
11301 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
11303 2014-08-20 Pedro Alves <palves@redhat.com>
11304 Jan Kratochvil <jan.kratochvil@redhat.com>
11306 * Makefile.in (EXTRA_RULES, CC): New variables, get from
11308 (EXPECT): Handle READ1 being set.
11309 (all): Depend on EXTRA_RULES.
11310 (check-read1, expect-read1, read1.so, read1): New rules.
11311 * README (Testsuite Parameters): Document the READ1 make variable.
11312 (Race detection): New section.
11313 * configure: Regenerate.
11314 * configure.ac: If build==host==target, and running under a
11315 GNU/glibc system, add read1 to the extra Makefile rules.
11316 (EXTRA_RULES): AC_SUBST it.
11317 * lib/read1.c: New file.
11319 2014-08-20 Joel Brobecker <brobecker@adacore.com>
11321 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
11322 the handling of variables declared as a typedef to an array
11323 which a DW_AT_data_location attribute.
11325 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
11326 Pedro Alves <palves@redhat.com>
11330 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
11333 2014-08-19 Pedro Alves <palves@redhat.com>
11335 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
11337 2014-08-19 Yao Qi <yao@codesourcery.com>
11339 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
11342 2014-08-18 David Blaikie <dblaikie@gmail.com>
11344 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
11346 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11348 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
11349 attribute in array range.
11351 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11353 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
11355 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11358 * gdb.cp/pr17132.cc: New file.
11359 * gdb.cp/pr17132.exp: New file.
11361 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11363 * gdb.python/py-xmethods.py (A_getarrayind)
11364 (E_method_char_worker.__call__, E_method_int_worker.__call__):
11365 Use 'print' with function call syntax.
11366 (E_method_matcher.match): Fix tab vs space indentation mixup.
11368 2014-08-15 Yao Qi <yao@codesourcery.com>
11370 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
11373 2014-08-15 Yao Qi <yao@codesourcery.com>
11375 * gdb.cp/casts.exp: Set print symbol off.
11376 * gdb.cp/class2.exp: Likewise.
11377 * gdb.cp/overload.exp: Likewise.
11378 * gdb.cp/templates.exp: Likewise.
11380 2014-08-11 Doug Evans <dje@google.com>
11382 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11383 (test_load_shlib): Update.
11385 2014-08-09 Yao Qi <yao@codesourcery.com>
11387 * gdb.base/display.exp: Invoke is_address_zero_readable.
11388 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11389 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11390 * gdb.base/hbreak-unmapped.exp: Return if
11391 is_address_zero_readable returns true.
11392 * gdb.base/signest.exp: Likewise.
11393 * gdb.base/signull.exp: Likewise.
11394 * gdb.base/sigbpt.exp: Likewise.
11395 * gdb.guile/scm-disasm.exp: Do the test if
11396 is_address_zero_readable returns false.
11397 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11398 * gdb.python/py-arch.exp: Likewise.
11399 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11400 * lib/gdb.exp (is_address_zero_readable): New proc.
11402 2014-08-09 Yao Qi <yao@codesourcery.com>
11405 * gdb.mi/mi-var-display.exp: Make test messages unique.
11407 2014-08-04 Tom Tromey <tromey@redhat.com>
11409 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
11412 2014-08-04 Tom Tromey <tromey@redhat.com>
11414 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
11417 2014-08-01 Joel Brobecker <brobecker@adacore.com>
11419 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
11420 inner_vla_struct_object_size.
11421 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11424 2014-07-30 Pedro Alves <palves@redhat.com>
11426 * gdb.threads/signal-command-handle-nopass.exp (test): Add
11429 2014-07-29 Yao Qi <yao@codesourcery.com>
11432 * gdb.base/until-nodebug.exp: New.
11434 2014-07-28 Doug Evans <xdje42@gmail.com>
11437 * gdb.guile/scm-parameter.exp: Add tests for trying to create
11438 previously existing parameter, and previously ambiguously spelled
11441 2014-07-28 Will Newton <will.newton@linaro.org>
11443 * gdb.base/varargs.exp: Remove KFAILs for ARM.
11445 2014-07-26 Ludovic Courtès <ludo@gnu.org>
11446 Doug Evans <xdje42@gmail.com>
11449 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11451 2014-07-25 Pedro Alves <palves@redhat.com>
11453 * gdb.threads/signal-command-handle-nopass.c: New file.
11454 * gdb.threads/signal-command-handle-nopass.exp: New file.
11455 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11456 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11457 * gdb.threads/signal-delivered-right-thread.c: New file.
11458 * gdb.threads/signal-delivered-right-thread.exp: New file.
11460 2014-07-25 Pedro Alves <palves@redhat.com>
11462 * gdb.base/double-prompt-target-event-error.exp
11463 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11465 (cancel_pagination_in_target_event): Rework double prompt
11467 * gdb.base/paginate-after-ctrl-c-running.exp
11468 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11470 * gdb.base/paginate-bg-execution.exp
11471 (test_bg_execution_pagination_return)
11472 (test_bg_execution_pagination_cancel): Remove '-notransfer
11474 * gdb.base/paginate-execution-startup.exp
11475 (test_fg_execution_pagination_return)
11476 (test_fg_execution_pagination_cancel): Remove '-notransfer
11478 * gdb.base/paginate-inferior-exit.exp
11479 (test_paginate_inferior_exited): Remove '-notransfer <return>'
11481 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11482 * lib/gdb.exp (pagination_prompt): Run text through
11484 (gdb_test_multiple): Match $pagination_prompt instead of
11486 (string_to_regexp): Move to lib/gdb-utils.exp.
11488 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11490 * gdb.arch/amd64-entry-value-paramref.S: New file.
11491 * gdb.arch/amd64-entry-value-paramref.cc: New file.
11492 * gdb.arch/amd64-entry-value-paramref.exp: New file.
11493 * gdb.arch/amd64-optimout-repeat.S: New file.
11494 * gdb.arch/amd64-optimout-repeat.c: New file.
11495 * gdb.arch/amd64-optimout-repeat.exp: New file.
11497 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11500 * gdb.base/statistics.exp: New file.
11502 2014-07-17 Doug Evans <dje@google.com>
11505 * gdb.base/maint.exp: Update testing of per-command stats.
11507 2014-07-16 Pedro Alves <palves@redhat.com>
11509 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11510 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11511 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11512 (tfile_write_buf): New functions.
11513 (add_memory_block): Rewrite using the above.
11514 (adjust_function_address): New function.
11515 (FUNCTION_ADDRESS): New macro.
11516 (write_basic_trace_file): Remove short_x local, and use
11517 tfile_write_16. Change type of func_addr local to unsigned long
11518 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
11519 here. Cast argument of add_memory_block to char pointer.
11520 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
11521 (main): Remove parameters.
11522 * gdb.trace/tfile.exp: Remove nowarnings.
11524 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
11526 * gdb.base/debug-expr.exp: Test string evaluation with
11527 "debug expression" on.
11529 2014-07-15 Pedro Alves <palves@redhat.com>
11531 * gdb.base/reread.exp: Use clean_restart.
11533 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
11535 * gdb.arch/avr-flash-qualifer.c: New.
11536 * gdb.arch/avr-flash-qualifer.exp: New.
11538 2014-07-14 Pedro Alves <palves@redhat.com>
11540 * gdb.base/paginate-after-ctrl-c-running.c: New file.
11541 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
11543 2014-07-14 Pedro Alves <palves@redhat.com>
11545 * gdb.base/double-prompt-target-event-error.c: New file.
11546 * gdb.base/double-prompt-target-event-error.exp: New file.
11548 2014-07-14 Pedro Alves <palves@redhat.com>
11551 * gdb.base/paginate-inferior-exit.c: New file.
11552 * gdb.base/paginate-inferior-exit.exp: New file.
11554 2014-07-14 Pedro Alves <palves@redhat.com>
11557 * gdb.base/paginate-bg-execution.c: New file.
11558 * gdb.base/paginate-bg-execution.exp: New file.
11560 2014-07-14 Pedro Alves <palves@redhat.com>
11563 * gdb.base/paginate-execution-startup.c: New file.
11564 * gdb.base/paginate-execution-startup.exp: New file.
11565 * lib/gdb.exp (pagination_prompt): New global.
11566 (default_gdb_spawn): New procedure, factored out from
11568 (default_gdb_start): Adjust to call default_gdb_spawn.
11569 (gdb_spawn): New procedure.
11571 2014-07-14 Pedro Alves <palves@redhat.com>
11573 * lib/gdb.exp (gdb_assert): New procedure.
11574 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
11576 2014-07-14 Pedro Alves <palves@redhat.com>
11578 * gdb.base/execution-termios.c: New file.
11579 * gdb.base/execution-termios.exp: New file.
11581 2014-07-14 Tom Tromey <tromey@redhat.com>
11583 * gdb.cp/vla-cxx.cc: New file.
11584 * gdb.cp/vla-cxx.exp: New file.
11586 2014-07-14 Tom Tromey <tromey@redhat.com>
11588 * gdb.reverse/rerun-prec.c: New file.
11589 * gdb.reverse/rerun-prec.exp: New file.
11591 2014-07-12 Maciej W. Rozycki <macro@mips.com>
11592 Maciej W. Rozycki <macro@codesourcery.com>
11594 * lib/gdb-utils.exp: New file.
11595 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
11596 inline `gdb_init_command' processing.
11597 (gdb_start_cmd): Likewise.
11598 * lib/mi-support.exp (mi_run_cmd): Likewise.
11599 * README: Document `gdb_init_command' and `gdb_init_commands'.
11601 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11603 Fix false FAIL running under a very long directory name.
11604 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
11605 and "set print elements 10000". Twice.
11607 2014-07-11 Yao Qi <yao@codesourcery.com>
11609 * gdb.base/exprs.exp: "set print symbol off".
11611 2014-07-11 Pedro Alves <palves@redhat.com>
11613 * gdb.threads/kill.c: New file.
11614 * gdb.threads/kill.exp: New file.
11616 2014-07-10 Yao Qi <yao@codesourcery.com>
11618 * gdb.trace/tfile.c (write_basic_trace_file)
11619 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
11620 address written to trace file.
11622 2014-07-09 Pedro Alves <palves@redhat.com>
11624 * gdb.base/attach-wait-input.exp: New file.
11625 * gdb.base/attach-wait-input.c: New file.
11627 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
11629 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
11630 setting up test structures.
11631 (main): Call new test function.
11632 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
11633 test function, continue into test function and walk test
11636 2014-07-02 Yao Qi <yao@codesourcery.com>
11638 * gdb.trace/entry-values.c: Define labels 'foo_start' and
11639 'bar_start' at the beginning of functions 'foo' and 'bar'
11641 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
11642 instead of 'foo' and 'bar'.
11644 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
11646 * gdb.btrace/segv.exp: New.
11647 * gdb.btrace/segv.c: New.
11649 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
11651 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
11654 2014-06-30 Mark Wielaard <mjw@redhat.com>
11656 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
11657 vulture, vilify, villar): New volatile array constants.
11658 (vindictive, vegetation): New const volatile array constants.
11659 * gdb.base/volatile.exp: Test volatile and const volatile array
11662 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11664 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
11665 target lacks support for awatch, rwatch, or hbreak.
11667 2014-06-27 Yao Qi <yao@codesourcery.com>
11669 * gdb.multi/dummy-frame-restore.exp: New.
11670 * gdb.multi/dummy-frame-restore.c: New.
11672 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
11674 * gdb.btrace/gcore.exp: New.
11676 2014-06-23 Pedro Alves <palves@redhat.com>
11678 * gdb.base/watchpoint-reuse-slot.c: New file.
11679 * gdb.base/watchpoint-reuse-slot.exp: New file.
11681 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
11683 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
11684 progspace's filename in 'info', 'enable' and 'disable' command
11687 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11689 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
11690 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11691 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
11693 2014-06-20 Gary Benson <gbenson@redhat.com>
11695 * gdb.arch/i386-avx.exp: Fix include file location.
11696 * gdb.arch/i386-sse.exp: Likewise.
11698 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
11700 * gdb.dlang/expression.exp: New file.
11702 2014-06-19 Pedro Alves <palves@redhat.com>
11704 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
11706 (top level): ... here. Iterate running tests under different
11707 scheduler-locking settings.
11709 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
11711 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
11712 to DW_FORM_addr and use non-zero addresses.
11714 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
11717 * gdb.python/py-xmethods.cc: Add global function call counters and
11718 increment them in their respective functions. Remove "cout"
11720 * gdb.python/py-xmethods.exp: Make tests check the global function
11721 call counters instead of depending on inferior IO.
11723 2014-06-18 Don Breazeal <donb@codesourcery.com>
11725 * gdb.base/foll-fork.exp (default_fork_parent_follow):
11727 (explicit_fork_parent_follow): Deleted procedure.
11728 (explicit_fork_child_follow): Deleted procedure.
11729 (test_follow_fork): New procedure.
11730 (do_fork_tests): Replace calls to deleted procedures with
11731 calls to test_follow_fork and reset GDB for subsequent
11734 2014-06-17 Yao Qi <yao@codesourcery.com>
11736 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
11739 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
11741 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
11742 Initialize ptr and S explicitly.
11743 (skip_type_update_when_not_use_rtti_test): Likewise.
11745 2014-06-16 Keith Seitz <keiths@redhat.com>
11748 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
11749 the inferior is started.
11751 2014-06-16 Pedro Alves <palves@redhat.com>
11753 * gdb.base/break-main-file-remove-fail.c: New file.
11754 * gdb.base/break-main-file-remove-fail.exp: New file.
11755 * gdb.base/break-unload-file.exp: Use build_executable instead of
11756 prepare_for_testing.
11757 (test_break): New parameter "initial_load". Handle it.
11758 (top level): Add initial_load cmdline/file axis.
11760 2014-06-12 Tom Tromey <tromey@redhat.com>
11762 * gdb.base/completion.exp: Don't use directory name in test.
11764 2014-06-09 Gary Benson <gbenson@redhat.com>
11766 * gdb.base/sigall.c [Functions to send signals]: Reorder to
11767 separate the always-available ANSI-standard signals from the
11768 signals that require checking.
11770 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
11774 2014-06-07 Keith Seitz <keiths@redhat.com>
11778 * gdb.cp/var-tag.cc: New file.
11779 * gdb.cp/var-tag.exp: New file.
11780 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11781 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11782 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11783 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11785 2014-06-06 Doug Evans <xdje42@gmail.com>
11787 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
11789 2014-06-06 Pedro Alves <palves@redhat.com>
11791 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
11792 in target debug output instead of looking at RSP packets,
11793 disabling the test on any target that uses hardware stepping.
11796 2014-06-06 Pedro Alves <palves@redhat.com>
11798 * gdb.base/break-unload-file.exp: Fix typo.
11800 2014-06-06 Yao Qi <yao@codesourcery.com>
11802 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
11803 from "jit_function" to "^jit_function".
11805 2014-06-06 Yao Qi <yao@codesourcery.com>
11807 * gdb.base/async.c (foo): Add one statement.
11808 * gdb.base/async.exp: Get the next instruction address and
11809 match the output of "nexti" by instruction address. Match
11810 the hex address in the output of "finish".
11812 2014-06-06 Gary Benson <gbenson@redhat.com>
11814 * gdb.base/call-signals.c: Remove preprocessor conditionals
11815 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
11816 SIGSEGV and SIGTERM.
11817 * gdb.base/sigall.c: Likewise.
11818 * gdb.base/unwindonsignal.c: Likewise.
11819 * gdb.reverse/sigall-reverse.c: Likewise.
11821 2014-06-06 Yao Qi <yao@codesourcery.com>
11823 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
11824 readable, skip the test.
11826 2014-06-06 Yao Qi <yao@codesourcery.com>
11828 * gdb.threads/staticthreads.c (thread_function): Move the line
11829 setting breakpoint on forward.
11830 * gdb.threads/staticthreads.exp: Update comments.
11832 2014-06-05 Ludovic Courtès <ludo@gnu.org>
11834 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
11835 "history-append! type error".
11837 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
11839 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
11840 erroneous dprintf expected input.
11842 2014-06-04 Doug Evans <xdje42@gmail.com>
11844 * gdb.guile/scm-generics.exp: Delete.
11846 2014-06-04 Doug Evans <xdje42@gmail.com>
11848 * gdb.guile/scm-breakpoint.exp: Update.
11849 Add tests for breakpoint registration.
11851 2014-06-04 Tom Tromey <tromey@redhat.com>
11853 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
11855 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
11856 inner_vla_struct, vla_union types. Initialize objects of those
11857 types and compute their sizes.
11859 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
11860 Hui Zhu <hui@codesourcery.com>
11862 * gdb.base/fileio.exp: Add test for shell not available as well as
11864 * gdb.base/fileio.c (test_system): Check for shell twice.
11866 2014-06-04 Yao Qi <yao@codesourcery.com>
11868 * gdb.base/auto-connect-native-target.exp: Remove redundant
11869 space from the regexp pattern.
11871 2014-06-04 Yao Qi <yao@codesourcery.com>
11873 * gdb.base/default.exp: Replace "child" with "native" in
11876 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
11878 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
11879 * gdb.python/py-xmethods.exp: New tests to test xmethods.
11880 * gdb.python/py-xmethods.py: Python script supporting the
11881 new testcase and tests.
11883 2014-06-03 Joel Brobecker <brobecker@adacore.com>
11884 Pedro Alves <palves@redhat.com>
11886 PR breakpoints/17000
11887 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
11888 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
11890 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
11892 * gdb.base/subst.exp: Add tests to verify partial path matching
11895 2014-06-03 Pedro Alves <palves@redhat.com>
11897 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
11898 target that doesn't use software single-stepping.
11900 2014-06-03 Pedro Alves <palves@redhat.com>
11902 PR breakpoints/17000
11903 * gdb.base/sss-bp-on-user-bp-2.c: New file.
11904 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
11906 2014-06-02 Doug Evans <xdje42@gmail.com>
11908 * gdb.guile/scm-parameter.exp: New file.
11910 2014-06-02 Doug Evans <xdje42@gmail.com>
11912 * gdb.guile/scm-cmd.c: New file.
11913 * gdb.guile/scm-cmd.exp: New file.
11915 2014-06-02 Doug Evans <xdje42@gmail.com>
11917 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
11918 pretty-printer lookup.
11919 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
11920 (make-pp_s-printer): Call it.
11921 (make-pretty-printer-from-dict): New function.
11922 (lookup-pretty-printer-maker-from-dict): New function.
11923 (*pretty-printer*): Simplify.
11924 (make-objfile-pp_s-printer): New function.
11925 (install-objfile-pretty-printers!): New function.
11926 (make-progspace-pp_s-printer): New function.
11927 (install-progspace-pretty-printers!): New function.
11928 * gdb.guile/scm-progspace.c: New file.
11929 * gdb.guile/scm-progspace.exp: New file.
11931 2014-06-02 Pedro Alves <palves@redhat.com>
11933 * gdb.base/dprintf-bp-same-addr.c: New file.
11934 * gdb.base/dprintf-bp-same-addr.exp: New file.
11936 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11938 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
11939 * gdb.arch/powerpc-power.s: Likewise.
11941 2014-06-02 Joel Brobecker <brobecker@adacore.com>
11943 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
11945 2014-06-01 Yao Qi <yao@codesourcery.com>
11947 * gdb.base/watchpoint.exp (test_watch_location): Check null
11948 pointer can be dereferenced. If not, do the test, otherwise
11951 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
11953 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
11955 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
11957 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
11959 * gdb.arch/amd64-invalid-stack-middle.S: New file.
11960 * gdb.arch/amd64-invalid-stack-middle.c: New file.
11961 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
11962 * gdb.arch/amd64-invalid-stack-top.c: New file.
11963 * gdb.arch/amd64-invalid-stack-top.exp: New file.
11965 2014-05-30 Pedro Alves <palves@redhat.com>
11967 PR breakpoints/17000
11968 * gdb.base/sss-bp-on-user-bp.c: New file.
11969 * gdb.base/sss-bp-on-user-bp.exp: New file.
11971 2014-05-30 David Blaikie <dblaikie@gmail.com>
11973 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
11974 gnu_inline semantics via attribute.
11975 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
11976 source explicitly specifies the required semantics.
11978 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
11980 * gdb.reverse/sigall-reverse.exp: Fix a typo.
11982 2014-05-29 Pedro Alves <palves@redhat.com>
11983 Tom Tromey <tromey@redhat.com>
11985 * gdb.base/async-shell.exp: Don't enable target-async.
11986 * gdb.base/async.exp
11987 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
11989 (top level): Don't test with "target-async".
11990 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
11991 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
11992 * gdb.base/inferior-died.exp: Don't enable target-async.
11993 * gdb.base/interrupt-noterm.exp: Likewise.
11994 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
11995 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11996 * gdb.mi/mi-nonstop.exp: Likewise.
11997 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11998 * gdb.mi/mi-nsintrall.exp: Likewise.
11999 * gdb.mi/mi-nsmoribund.exp: Likewise.
12000 * gdb.mi/mi-nsthrexec.exp: Likewise.
12001 * gdb.mi/mi-watch-nonstop.exp: Likewise.
12002 * gdb.multi/watchpoint-multi.exp: Adjust comment.
12003 * gdb.python/py-evsignal.exp: Don't enable target-async.
12004 * gdb.python/py-evthreads.exp: Likewise.
12005 * gdb.python/py-prompt.exp: Likewise.
12006 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
12007 * gdb.server/solib-list.exp: Don't enable target-async.
12008 * gdb.threads/thread-specific-bp.exp: Likewise.
12009 * lib/mi-support.exp: Adjust to use mi-async.
12011 2014-05-29 Pedro Alves <palves@redhat.com>
12014 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
12015 reason, even in sync mode.
12017 2014-05-29 Pedro Alves <palves@redhat.com>
12018 Hui Zhu <hui@codesourcery.com>
12021 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
12022 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
12023 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
12024 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
12026 2014-05-28 Joel Brobecker <brobecker@adacore.com>
12028 * config/monitor.exp (gdb_target_monitor): Replace use of
12029 "set remotebaud" by "set serial baud".
12031 2014-05-26 Andy Wingo <wingo@igalia.com>
12033 * gdb.guile/scm-breakpoint.exp:
12034 * gdb.guile/scm-gsmob.exp: Update to use plain old object
12035 properties instead of gdb-object-properties.
12037 2014-05-26 Yao Qi <yao@codesourcery.com>
12039 * gdb.server/no-thread-db.exp: Specify source file name
12040 explicitly when setting a breakpoint.
12042 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12044 * gdb.btrace/vdso.c: New.
12045 * gdb.btrace/vdso.exp: New.
12047 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12049 * gdb.base/gcore.exp (capture_command_output): Move ...
12050 * lib/gdb.exp (capture_command_output): ... here.
12052 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12054 * gdb.btrace/data.exp: Test memory access during btrace replay.
12056 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
12058 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
12060 2014-05-21 Pedro Alves <palves@redhat.com>
12063 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
12064 (top level): Test that output related to execution commands is
12065 sent to the console with CLI commands, but not with MI commands.
12066 Test that breakpoint events are always mirrored to the console.
12067 Also expect the new source line to be output after a "next" in
12068 async mode too. Make it a pass/fail test.
12069 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
12071 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
12073 2014-05-21 Pedro Alves <palves@redhat.com>
12075 * gdb.base/list.exp (build_pattern, test_list): New procedures.
12076 Use them to test variations of "list" after reaching a breakpoint.
12077 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
12078 Test "list" with listsize 10 after reaching a breakpoint.
12079 * gdb.python/python.exp (decode_line current location line
12080 number): Adjust expected line number.
12082 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
12084 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
12085 behavior for $args, pass it directly to "run".
12087 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
12089 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
12092 2014-05-21 Pedro Alves <palves@redhat.com>
12094 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
12095 auto-connect-native-target off".
12096 * gdb.base/auto-connect-native-target.c: New file.
12097 * gdb.base/auto-connect-native-target.exp: New file.
12099 2014-05-21 Pedro Alves <palves@redhat.com>
12101 * gdb.base/default.exp: Test "target native" instead of "target
12104 2014-05-21 Mark Wielaard <mjw@redhat.com>
12106 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12108 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12110 Fix TLS access for -static -pthread.
12111 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
12112 <HAVE_TLS> (thread_function, main): Initialize it.
12113 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
12115 <$have_tls != "">: Check TLSVAR.
12117 2014-05-21 Pedro Alves <palves@redhat.com>
12119 * gdb.base/dcache-line-read-error.c: New.
12120 * gdb.base/dcache-line-read-error.exp: New.
12122 2014-05-20 Pedro Alves <palves@redhat.com>
12124 * gdb.base/compare-sections.c: New file.
12125 * gdb.base/compare-sections.exp: New file.
12127 2014-05-20 Pedro Alves <palves@redhat.com>
12129 * gdb.base/break-idempotent.c: New file.
12130 * gdb.base/break-idempotent.exp: New file.
12132 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
12134 * gdb.btrace/nohist.exp: New.
12136 2014-05-20 Yao Qi <yao@codesourcery.com>
12138 * lib/gdb.exp (gdb_init): Set timeout if test file is under
12139 gdb.reverse directory and gdb_reverse_timeout exists in board
12141 * README: Document gdb_reverse_timeout.
12143 2014-05-20 Yao Qi <yao@codesourcery.com>
12145 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
12146 'test_file_name'. Treat args as a string instead of a list.
12147 (gdb_init): Rename argument 'args' by 'test_file_name'.
12149 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12151 * gdb.arch/powerpc-power.exp: New file.
12152 * gdb.arch/powerpc-power.s: New file.
12154 2014-05-16 Doug Evans <dje@google.com>
12156 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
12157 * gdb.base/completion.exp: Check that all expected files exist
12158 before doing file completion.
12160 2014-05-16 Doug Evans <dje@google.com>
12162 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
12164 (do_syscall_tests_without_xml): Update.
12166 2014-05-16 Pedro Alves <palves@redhat.com>
12168 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
12169 instead of "unknown output after running".
12171 2014-05-16 Yao Qi <yao@codesourcery.com>
12173 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
12174 file1.txt from host at the end.
12175 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12177 2014-05-15 Doug Evans <dje@google.com>
12179 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
12180 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
12181 loading file. Add test for TU lookup.
12183 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12185 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
12186 calling "-exec-arguments" or "set args" before running the
12189 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12191 * lib/mi-support.exp (mi_expect_stop): Expect message for
12192 inferiors that exit with non-zero exit code.
12194 2014-05-14 Yao Qi <yao@codesourcery.com>
12196 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
12197 match absolute path on remote host.
12198 (test_file_list_exec_source_files): Remove "/" from the
12201 2014-05-14 Yao Qi <yao@codesourcery.com>
12203 * boards/local-remote-host-notty.exp (${board}_file): New
12206 2014-05-07 Kyle McMartin <kyle@redhat.com>
12208 Pushed by Joel Brobecker <brobecker@adacore.com>.
12209 * gdb.arch/aarch64-atomic-inst.c: New file.
12210 * gdb.arch/aarch64-atomic-inst.exp: New file.
12212 2014-05-07 Yao Qi <yao@codesourcery.com>
12214 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
12215 in current context" too.
12217 2014-05-05 Keith Seitz <keiths@redhat.com>
12219 * gdb.linespec/ls-dollar.exp: Add test for linespec
12220 file:convenience_variable.
12222 2014-05-05 Yao Qi <yao@codesourcery.com>
12224 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
12225 traceframes into tfile and ctf trace files. Read data from
12226 trace file and test collected data.
12227 (gdb_collect_locals_test): Likewise.
12228 (gdb_unavailable_registers_test): Likewise.
12229 (gdb_unavailable_floats): Likewise.
12230 (gdb_collect_globals_test): Likewise.
12231 (top-level): Append "ctf" to trace_file_targets if GDB
12234 2014-05-05 Yao Qi <yao@codesourcery.com>
12236 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
12238 (gdb_collect_args_test_1): ... it. New proc.
12239 (gdb_collect_locals_test): Move some code to ...
12240 (gdb_collect_locals_test_1): ... it. New proc.
12241 (gdb_unavailable_registers_test): Move some code to ...
12242 (gdb_unavailable_registers_test_1): ... it. New proc.
12243 (gdb_unavailable_floats): Move some code to ...
12244 (gdb_unavailable_floats_1): ... it. New proc.
12246 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12248 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
12249 probes to test for bitness recognition.
12250 * gdb.arch/amd64-stap-optional-prefix.exp
12251 (test_probe_value_without_reg): New procedure.
12252 Add code to test for different kinds of bitness.
12254 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12256 PR breakpoints/16889
12257 * gdb.arch/amd64-stap-optional-prefix.S: New file.
12258 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12260 2014-05-01 Pedro Alves <palves@redhat.com>
12262 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
12263 gdb_file_cmd if no file is specified.
12264 * boards/native-extended-gdbserver.exp (gdb_load): Use the
12265 last_loaded_file to set the remote exec-file.
12267 2014-05-01 Pedro Alves <palves@redhat.com>
12269 * boards/local-remote-host.exp: New file.
12271 2014-05-01 Pedro Alves <palves@redhat.com>
12273 * boards/local-remote-host.exp: Rename to ...
12274 * boards/local-remote-host-notty.exp: ... this.
12276 2014-04-28 Joel Brobecker <brobecker@adacore.com>
12278 * gdb.ada/dyn_arrayidx: New testcase.
12280 2014-04-26 Yao Qi <yao@codesourcery.com>
12282 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
12283 and compute the length of function main. Save it in
12285 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
12286 (top-level): Use gdb_compile to compile objects into
12287 executable and restart GDB. Remove invocation to
12288 prepare_for_testing.
12290 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
12291 Pedro Alves <palves@redhat.com>
12294 * gdb.multi/multi-attach.c: New file.
12295 * gdb.multi/multi-attach.exp: New file.
12297 2014-04-25 Pedro Alves <palves@redhat.com>
12299 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
12301 (top level): Test that "set remote conditional-breakpoints-packet
12302 off" works as intended.
12303 * gdb.base/dprintf.exp: Test that "set remote
12304 breakpoint-commands-packet off" works as intended.
12305 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
12307 (top level): Call it.
12308 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
12309 remote fast-tracepoints-packet off" works as intended.
12310 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
12311 * lib/gdb.exp (gdb_is_target_remote): ... here.
12313 2014-04-24 David Blaikie <dblaikie@gmail.com>
12315 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
12316 ensure clang would not discard them.
12317 * gdb.base/gdbvars.c: Ditto.
12318 * gdb.base/memattr.c: Ditto.
12319 * gdb.base/whatis.c: Ditto.
12320 * gdb.python/py-prettyprint.c: Ditto.
12321 * gdb.trace/actions.c: Ditto.
12322 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
12323 ensure clang would not discard it.
12325 2014-04-24 David Blaikie <dblaikie@gmail.com>
12327 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
12328 clang to emit the full definition of type required by the test
12329 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
12331 2014-04-24 David Blaikie <dblaikie@gmail.com>
12333 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
12334 coax Clang into emitting the definition of the type.
12335 * gdb.cp/pr10728-x.h (y): Ditto.
12336 * gdb.cp/pr10728-y.cc (y): Ditto.
12338 2014-04-24 David Blaikie <dblaikie@gmail.com>
12340 * gdb.base/label.exp: XFAIL label related tests under Clang.
12341 * gdb.cp/cplabel.exp: Ditto.
12342 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
12343 under Clang those using labels.
12345 2014-04-25 Yao Qi <yao@codesourcery.com>
12347 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
12349 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
12350 partial_label and double_label.
12352 2014-04-24 David Blaikie <dblaikie@gmail.com>
12354 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
12356 2014-04-24 David Blaikie <dblaikie@gmail.com>
12358 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
12359 of the function to work across GCC and Clang.
12360 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
12361 pointer types (const void ** const V void **).
12363 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
12364 Walfred Tedeschi <walfred.tedeschi@intel.com>
12366 * Makefile.in (EXECUTABLES): Added i386-avx512.
12367 * gdb.arch/i386-avx512.c: New file.
12368 * gdb.arch/i386-avx512.exp: Likewise.
12370 2014-04-23 Keith Seitz <keiths@redhat.com>
12372 * lib/mi-support.exp (mi_list_breakpoints): Delete.
12373 (mi_make_breakpoint_table): New procedure.
12374 (mi_create_breakpoint): Use mi_make_breakpoint
12375 and return the result.
12376 (mi_make_breakpoint): New procedure.
12377 (mi_build_kv_pairs): New procedure.
12379 * gdb.mi/mi-break.exp: Remove unused globals,
12380 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
12381 All callers updated.
12382 * gdb.mi/mi-dprintf.exp: Use variable to track command
12384 Update all callers of mi_create_breakpoint and use
12385 mi_make_breakpoint_table.
12386 Remove any unused global variables.
12387 * gdb.mi/mi-nonstop.exp: Likewise.
12388 * gdb.mi/mi-nsintrall.exp: Likewise.
12389 * gdb.mi/mi-nsmoribund.exp: Likewise.
12390 * gdb.mi/mi-nsthrexec.exp: Likewise.
12391 * gdb.mi/mi-reverse.exp: Likewise.
12392 * gdb.mi/mi-simplerun.exp: Likewise.
12393 * gdb.mi/mi-stepn.exp: Likewise.
12394 * gdb.mi/mi-syn-frame.exp: Likewise.
12395 * gdb.mi/mi-until.exp: Likewise.
12396 * gdb.mi/mi-var-cp.exp: Likewise.
12397 * gdb.mi/mi-var-display.exp: Likewise.
12398 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12399 * gdb.mi/mi2-var-child.exp: Likewise.
12400 * gdb.mi/mi-vla-c99.exp: Likewise.
12401 * lib/mi-support.exp: Likewise.
12403 From Ian Lance Taylor <iant@cygnus.com>:
12404 * lib/gdb.exp (parse_args): New procedure.
12406 2014-04-23 Pedro Alves <palves@redhat.com>
12408 * gdb.base/break-unload-file.c: New file.
12409 * gdb.base/break-unload-file.exp: New file.
12410 * gdb.base/sym-file-lib.c (baz): New function.
12411 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
12413 (load): Store the segment's mapped size.
12414 (unload): New function.
12415 (unload_shlib): New function.
12416 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
12417 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
12418 set a breakpoint at baz, and call it.
12419 * gdb.base/sym-file.exp: New tests for stale breakpoint
12422 2014-04-23 Pedro Alves <palves@redhat.com>
12424 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
12425 * gdb.base/hbreak-in-shr-unsupported.c: New file.
12426 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
12427 * gdb.base/hbreak-unmapped.c: New file.
12428 * gdb.base/hbreak-unmapped.exp: New file.
12429 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
12430 * lib/gdb.exp (gdb_is_target_remote): ... here.
12432 2014-04-22 Pedro Alves <palves@redhat.com>
12434 * gdb.base/consecutive-step-over.c: New file.
12435 * gdb.base/consecutive-step-over.exp: New file.
12437 2014-04-22 Pedro Alves <palves@redhat.com>
12439 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12440 instead of send_gdb/gdb_expect.
12442 2014-04-22 Yao Qi <yao@codesourcery.com>
12444 * lib/trace-support.exp (generate_tracefile): New procedure.
12445 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12447 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12448 if generate_tracefile returns 1.
12450 2014-04-18 Tom Tromey <palves@redhat.com>
12451 Pedro alves <tromey@redhat.com>
12454 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12455 with a backtrace limit.
12456 * gdb.python/py-frame-inline.exp: Test running to an inline
12457 function with a backtrace limit, and printing the newest frame.
12458 * gdb.python/py-frame-inline.c (main): Call f.
12460 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12462 * gdb.java/jnpe.exp: Drop srcdir from untested path.
12464 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12466 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12467 Drop prefix from unsupported source file path.
12469 2014-04-17 Yao Qi <yao@codesourcery.com>
12471 * lib/gdb.exp (with_target_charset): New proc.
12472 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12473 with_target_charset.
12474 (test_print_strings): Likewise.
12475 (test_repeat_bytes): Likewise.
12476 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12479 2014-04-16 Keith Seitz <keiths@redhat.com>
12482 * gdb.dwarf2/corrupt.c: New file.
12483 * gdb.dwarf2/corrupt.exp: New file.
12485 2014-04-16 Keith Seitz <keiths@redhat.com>
12488 * gdb.cp/namelessclass.cc: New file.
12489 * gdb.cp/namelessclass.exp: New file.
12490 * gdb.cp/namelessclass.S: New file.
12492 2014-04-16 Doug Evans <dje@google.com>
12494 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12496 (gdbserver_default_get_comm_port): New function.
12497 (gdbserver_start): Check if board file provided
12498 "gdbserver,get_comm_port" and use it if so.
12499 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12500 (gdb,socketport): Set to "stdio".
12501 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12502 (stdio_gdbserver_template): Delete.
12503 (${board}_get_remote_address): Update.
12504 (${board}_build_remote_cmd): Delete.
12505 (${board}_get_comm_port): New function.
12506 (${board}_spawn): Update.
12507 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12509 (${board}_get_remote_address): Update.
12510 (${board}_get_comm_port): New function.
12512 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
12514 * gdb.base/memattr.exp: Improve regexps to handle memory regions
12515 appearing in any order.
12517 2014-04-15 Doug Evans <dje@google.com>
12519 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12520 uninitialized value of "description".
12522 2014-04-15 Keith Seitz <keiths@redhat.com>
12524 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12525 Remove unused globals.
12526 (test_running_the_program): Likewise.
12527 (test_controlled_execution): Likewise.
12528 (test_controlling_breakpoints): Likewise.
12529 (test_program_termination): Likewise.
12531 2014-04-15 Keith Seitz <keiths@redhat.com>
12533 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12535 (test_rbreak_creation_and_listing): Likewise.
12536 (test_ignore_count): Likewise.
12537 (test_error): Likewise.
12539 2014-04-15 Pedro Alves <palves@redhat.com>
12541 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
12542 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
12544 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12545 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12546 to sym-file-loader.c.
12547 (struct library): Forward declare.
12548 (load_shlib, lookup_function): Change prototypes.
12549 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12550 (translate_offset): Remove declarations.
12551 (get_text_addr): New declaration.
12552 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
12553 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
12555 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12556 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12557 here from sym-file-loader.h.
12558 (struct library): New structure.
12559 (load_shlib, lookup_function): Change prototypes and adjust to
12560 work with a struct library.
12561 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12562 (translate_offset): Make static.
12563 (get_text_addr): New function.
12564 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
12566 2014-04-15 Pedro Alves <palves@redhat.com>
12568 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
12570 2014-04-15 Pedro Alves <palves@redhat.com>
12572 * gdb.base/sym-file-loader.c: Include <limits.h>.
12573 (SELF_LINK): New define.
12574 (get_origin): New function.
12575 (load_shlib): Use it.
12576 * gdb.base/sym-file.exp: Don't early return if the target is
12577 remote. Use runto_main, and issue fail is that fails. Use
12579 (shlib_name): Delete.
12580 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
12582 2014-04-15 Pedro Alves <palves@redhat.com>
12584 * gdb.base/sym-file.exp: Remove regex characters from test
12585 message. Don't refer to breakpoint numbers in test messages.
12587 2014-04-14 Keith Seitz <keiths@redhat.com>
12590 * gdb.cp/var-tag.cc: New file.
12591 * gdb.cp/var-tag.exp: New file.
12592 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12593 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12594 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12595 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12597 2014-04-14 Tom Tromey <tromey@redhat.com>
12599 * gdb.cp/classes.exp (test_enums): Handle underlying type.
12600 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
12602 * gdb.cp/enum-class.exp: New file.
12603 * gdb.cp/enum-class.cc: New file.
12605 2014-04-14 Tom Tromey <tromey@redhat.com>
12607 * gdb.dwarf2/enum-type.exp: New file.
12609 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12611 * gdb.mi/mi-vla-c99.exp: New file.
12612 * gdb.mi/vla.c: New file.
12614 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12616 * gdb.base/vla-datatypes.c: New file.
12617 * gdb.base/vla-datatypes.exp: New file.
12619 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12621 * gdb.base/vla-ptr.c: New file.
12622 * gdb.base/vla-ptr.exp: New file.
12624 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12626 * gdb.dwarf2/count.exp: New file.
12628 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12630 * gdb.base/vla-sideeffect.c: New file.
12631 * gdb.base/vla-sideeffect.exp: New file.
12633 2014-04-14 David Blaikie <dblaikie@gmail.com>
12635 * gdb.mi/non-stop.c: Add return value for non-void function return
12637 * gdb.threads/staticthreads.c: Ditto.
12639 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
12640 Doug Evans <xdje42@gmail.com>
12642 * gdb.guile/scm-value.c: Improve test case.
12643 * gdb.guile/scm-value.exp: Add new test.
12645 2014-04-11 David Blaikie <dblaikie@gmail.com>
12647 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
12648 override Clang's default.
12650 2014-04-11 Joel Brobecker <brobecker@adacore.com>
12652 Revert the following changes (regressions):
12654 * gdb.base/vla-sideeffect.c: New file.
12655 * gdb.base/vla-sideeffect.exp: New file.
12657 * gdb.dwarf2/count.exp: New file.
12659 * gdb.base/vla-multi.c: New file.
12660 * gdb.base/vla-multi.exp: New file.
12662 * gdb.base/vla-ptr.c: New file.
12663 * gdb.base/vla-ptr.exp: New file.
12665 * gdb.base/vla-datatypes.c: New file.
12666 * gdb.base/vla-datatypes.exp: New file.
12668 * gdb.mi/mi-vla-c99.exp: New file.
12669 * gdb.mi/vla.c: New file.
12671 2014-04-11 Keith Seitz <keiths@redhat.com>
12674 * gdb.cp/cpsizeof.exp: New file.
12675 * gdb.cp/cpsizeof.cc: New file.
12677 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12679 * gdb.mi/mi-vla-c99.exp: New file.
12680 * gdb.mi/vla.c: New file.
12682 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12684 * gdb.base/vla-datatypes.c: New file.
12685 * gdb.base/vla-datatypes.exp: New file.
12687 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12689 * gdb.base/vla-ptr.c: New file.
12690 * gdb.base/vla-ptr.exp: New file.
12692 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12694 * gdb.base/vla-multi.c: New file.
12695 * gdb.base/vla-multi.exp: New file.
12697 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12699 * gdb.dwarf2/count.exp: New file.
12701 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12703 * gdb.base/vla-sideeffect.c: New file.
12704 * gdb.base/vla-sideeffect.exp: New file.
12706 2014-04-11 Yao Qi <yao@codesourcery.com>
12708 * gdb.base/completion.exp: Check file exists before running tests
12709 on file completion.
12711 2014-04-10 Pedro Alves <palves@redhat.com>
12713 * gdb.base/cond-eval-mode.c: New file.
12714 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
12715 prepare_for_testing to build the new file. Check result of
12717 (test_break, test_watch): New procedures.
12718 (top level): Use them.
12720 2014-04-08 Pierre Muller <muller@sourceware.org>
12722 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
12723 Ctrl-V use for mingw hosts.
12725 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
12727 * gdb.python/py-value.c: Improve test case.
12728 * gdb.python/py-value.exp: Add new test.
12730 2014-04-07 David Blaikie <dblaikie@gmail.com>
12732 * lib/compiler.c: Identify the clang compiler.
12733 * lib/compiler.cc: Ditto.
12735 2014-04-03 Yao Qi <yao@codesourcery.com>
12737 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
12739 2014-04-01 Anton Blanchard <anton@samba.org>
12741 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
12744 2014-04-01 Anton Blanchard <anton@samba.org>
12746 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
12747 prepare_for_testing.
12749 2014-04-01 Anton Blanchard <anton@samba.org>
12751 * gdb.arch/ppc64-atomic-inst.c: Remove.
12752 * gdb.arch/ppc64-atomic-inst.S: New file.
12753 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
12755 2014-03-31 Doug Evans <dje@google.com>
12757 * gdb.base/print-symbol-loading-lib.c: New file.
12758 * gdb.base/print-symbol-loading-main.c: New file.
12759 * gdb.base/print-symbol-loading.exp: New file.
12761 2014-03-31 Yao Qi <yao@codesourcery.com>
12763 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
12765 2014-03-28 Joel Brobecker <brobecker@adacore.com>
12767 * gdb.ada/mi_dyn_arr: New testcase.
12769 2014-03-27 Doug Evans <dje@google.com>
12771 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
12773 2014-03-27 Yao Qi <yao@codesourcery.com>
12775 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
12776 if target is nios2-*-*.
12778 2014-03-26 Yao Qi <yao@codesourcery.com>
12780 * lib/gdb.exp (readline_is_used): New proc.
12781 * gdb.base/completion.exp: Move tests on command complete up.
12782 Skip the rest of tests if readline is not used.
12783 * gdb.ada/complete.exp: Skp the test if readline is not
12785 * gdb.base/filesym.exp: Likewise.
12786 * gdb.base/macscp.exp: Likewise.
12787 * gdb.base/readline-ask.exp: Likewise.
12788 * gdb.base/readline.exp: Likewise.
12789 * gdb.python/py-cmd.exp: Likewise.
12790 * gdb.trace/tfile.exp: Likewise.
12792 2014-03-26 Yao Qi <yao@codesourcery.com>
12794 * gdb.base/macscp.exp: Fix code format issues.
12796 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
12798 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
12799 * gdb.asm/powerpc64le.inc: New file.
12801 2014-03-25 Pedro Alves <palves@redhat.com>
12802 Doug Evans <dje@google.com>
12804 * gdb.base/source-execution.c: New file.
12805 * gdb.base/source-execution.exp: New file.
12806 * gdb.base/source-execution.gdb: New file.
12808 2014-03-24 Doug Evans <dje@google.com>
12810 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
12813 2014-03-24 Hui Zhu <hui@codesourcery.com>
12814 Pedro Alves <palves@redhat.com>
12816 PR breakpoints/16101
12817 * gdb.base/dprintf.exp: Use unsupported rather than changing the
12818 test pass/fail messages. Detect missing support for dprintf when
12819 breakpoints are actually inserted.
12820 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
12821 breakpoints are actually inserted.
12822 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
12825 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12827 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
12829 2014-03-22 Doug Evans <xdje42@gmail.com>
12831 * gdb.python/python.exp (python not supported): Verify multi-line
12832 python command issues an error.
12833 * gdb.guile/guile.exp (guile not supported): Verify multi-line
12834 guile command issues an error.
12836 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
12838 * gdb.threads/thread-specific.exp: Handle the lack of usable
12839 $this_breakpoint and $this_thread.
12841 2014-03-21 Hui Zhu <hui@codesourcery.com>
12843 * gdb.base/attach.exp (do_command_attach_tests): New.
12845 2014-03-20 Tom Tromey <tromey@redhat.com>
12846 Pedro Alves <palves@redhat.com>
12849 * gdb.base/condbreak-call-false.c: New file.
12850 * gdb.base/condbreak-call-false.exp: New file.
12852 2014-03-20 Pedro Alves <palves@redhat.com>
12854 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
12856 (block_signals, unblock_signals): Delete.
12857 (child_function_2, main): Remove references to deleted variable
12860 2014-03-20 Pedro Alves <palves@redhat.com>
12862 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
12863 Use pthread_kill to signal thread 2.
12864 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12865 Adjust to make the test send itself a signal rather than using the
12866 host's "kill" command.
12868 2014-03-20 Pedro Alves <palves@redhat.com>
12870 * gdb.threads/multiple-step-overs.c: New file.
12871 * gdb.threads/multiple-step-overs.exp: New file.
12872 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12873 Adjust expected infrun debug output.
12875 2014-03-20 Pedro Alves <palves@redhat.com>
12877 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
12878 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
12880 2014-03-20 Pedro Alves <palves@redhat.com>
12882 PR breakpoints/7143
12883 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
12884 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
12885 of gdb_test_multiple.
12886 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
12887 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
12889 2014-03-20 Pedro Alves <palves@redhat.com>
12891 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
12892 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
12894 2014-03-19 Pedro Alves <palves@redhat.com>
12896 * gdb.base/async.exp: Remove early return.
12898 2014-03-19 Pedro Alves <palves@redhat.com>
12900 * gdb.base/async.exp (step& tests): Pass explicit test messages.
12902 2014-03-19 Pedro Alves <palves@redhat.com>
12904 * gdb.base/async.exp (test_background): Expect \r\n after
12905 "completed." in the fail pattern.
12907 2014-03-19 Pedro Alves <palves@redhat.com>
12909 * gdb.base/async.exp (test_background): New procedure.
12910 Use it for all background execution command tests.
12912 2014-03-19 Pedro Alves <palves@redhat.com>
12914 * gdb.base/async.exp: Use prepare_for_testing.
12916 2014-03-19 Pedro Alves <palves@redhat.com>
12918 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
12921 2014-03-19 Pedro Alves <palves@redhat.com>
12923 * gdb.base/async.c (main): Add "jump here" and "until here" line
12925 * gdb.base/async.exp (jump_here): New global.
12926 (jump& test): Use it.
12927 (until_here): New global.
12928 (until& test): Use it.
12930 2014-03-19 Pedro Alves <palves@redhat.com>
12932 * gdb.base/async.exp: Don't frob gdb_protocol.
12934 2014-03-18 Doug Evans <xdje42@gmail.com>
12936 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
12937 Fix spelling of exec-done-display.
12939 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
12942 * gdb.base/gdb-sigterm.c: New file.
12943 * gdb.base/gdb-sigterm.exp: New file.
12945 2014-03-18 Pedro Alves <palves@redhat.com>
12948 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
12949 * lib/mi-support.exp (mi_expect_stop): Add special handling for
12952 2014-03-17 Joel Brobecker <brobecker@adacore.com>
12954 * gdb.ada/pckd_arr_ren: New testcase.
12956 2014-03-13 Doug Evans <xdje42@gmail.com>
12959 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
12960 collect after discarding symbols.
12962 2014-03-13 Ludovic Courtès <ludo@gnu.org>
12963 Doug Evans <xdje42@gmail.com>
12965 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
12966 to history survives a gc.
12968 2014-03-13 Pedro Alves <palves@redhat.com>
12970 * gdb.base/default.exp: Don't test "target procfs".
12972 2014-03-13 Pedro Alves <palves@redhat.com>
12974 * gdb.base/default.exp: Update "target child" and "target procfs"
12975 tests to not expect "Unix".
12977 2014-03-12 Tom Tromey <tromey@redhat.com>
12979 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
12980 New procs. Add target-async tests.
12981 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
12982 Add target-async tests.
12984 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12986 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
12987 'func_start' and 'func_end' for the beginning and end of the
12988 function code, respectively.
12989 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
12990 'func_end' instead of 'func' and 'main'.
12992 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12994 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
12995 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
12996 generate the debug info assembler source.
12998 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13000 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
13001 * gdb.dwarf2/arr-subrange.exp: Likewise.
13002 * gdb.dwarf2/dwz.exp: Likewise.
13003 * gdb.dwarf2/method-ptr.exp: Likewise.
13004 * gdb.dwarf2/missing-sig-type.exp: Likewise.
13005 * gdb.dwarf2/subrange.exp: Likewise.
13006 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
13007 * gdb.dwarf2/implptrpiece.exp: Likewise.
13008 * gdb.dwarf2/nostaticblock.exp: Likewise.
13010 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13012 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
13013 directory to absolute path name arguments.
13015 2014-03-10 Joel Brobecker <brobecker@adacore.com>
13017 * gdb.ada/tagged_access: New testcase.
13019 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
13021 * gdb.btrace/data.exp: Update expected output.
13023 2014-03-06 Yao Qi <yao@codesourcery.com>
13025 * gdb.trace/pr16508.exp: New file.
13027 2014-03-05 Pedro Alves <palves@redhat.com>
13030 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
13032 (top level): Adjust to use it. Add tests that exercise breakpoint
13033 interaction with the code-cache.
13035 2014-02-26 Ludovic Courtès <ludo@gnu.org>
13037 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
13038 test for 'history-append!'.
13040 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13042 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
13043 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
13044 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
13045 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
13046 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
13047 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
13049 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13051 * testsuite/gdb.python/py-pp-re-notag.c: New file.
13052 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
13053 * testsuite/gdb.python/py-pp-re-notag.p: New file.
13055 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13057 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
13059 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13061 * gdb.dwarf2/arr-stride.c: New file.
13062 * gdb.dwarf2/arr-stride.exp: New file.
13064 2014-02-26 Pedro Alves <palves@redhat.com>
13066 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
13067 that won't ever trigger. Make sure that GDB reports the correct
13068 breakpoint that caused the stop.
13070 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13073 * gdb.base/auto-load-script: New file.
13074 * gdb.base/auto-load.c: New file.
13075 * gdb.base/auto-load.exp: New file.
13078 * gdb.base/auto-load.exp: Fix out-of-srctree run.
13080 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13082 Fix dw2-icycle.exp -fsanitize=address GDB crash.
13083 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
13085 2014-02-24 Doug Evans <dje@google.com>
13087 * lib/gdb.exp (run_on_host): Log error output if program fails.
13089 2014-02-21 Pedro Alves <palves@redhat.com>
13091 * gdb.threads/step-after-sr-lock.c: Rename to ...
13092 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
13093 * gdb.threads/step-after-sr-lock.exp: Rename to ...
13094 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13097 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
13100 * gdb.arch/amd64-stap-special-operands.exp: New file.
13101 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
13102 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
13103 * gdb.arch/amd64-stap-triplet.S: Likewise.
13104 * gdb.arch/amd64-stap-triplet.c: Likewise.
13106 2014-02-20 Joel Brobecker <brobecker@adacore.com>
13108 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
13109 in .section pseudo-op.
13111 2014-02-20 lin zuojian <manjian2006@gmail.com>
13112 Joel Brobecker <brobecker@adacore.com>
13113 Doug Evans <xdje42@gmail.com>
13116 * gdb.dwarf2/dw2-icycle.S: New file.
13117 * gdb.dwarf2/dw2-icycle.c: New file.
13118 * gdb.dwarf2/dw2-icycle.exp: New file.
13120 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
13122 * gdb.python/py-value-cc.cc: Improve test case to enable testing
13123 operations on gdb.Value objects.
13124 * gdb.python/py-value-cc.exp: Add new test to test operations on
13127 2014-02-18 Doug Evans <dje@google.com>
13129 * Makefile.in (TESTS): New variable.
13130 (expanded_tests, expanded_tests_or_none): New variables
13131 (check-single): Pass $(expanded_tests_or_none) to runtest.
13132 (check-parallel): Only run tests in $(TESTS) if non-empty.
13133 (check/no-matching-tests-found): New rule.
13134 * README: Document TESTS makefile variable.
13136 2014-02-18 Doug Evans <dje@google.com>
13138 * Makefile.in (check-parallel): rm -rf outputs temp.
13140 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13142 Fix "ERROR: no fileid for" in the testsuite.
13143 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
13145 2014-02-12 Doug Evans <dje@google.com>
13147 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
13148 (MISCELLANEOUS): New variable.
13149 (clean): rm -rf $(MISCELLANEOUS).
13150 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
13151 dwp live in the same directory as symlinks, with each symlink pointed
13152 to a differently named file in a different directory.
13154 2014-02-11 Doug Evans <dje@google.com>
13156 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
13157 of Tcl file commands.
13159 2014-02-10 Mark Kettenis <kettenis@gnu.org>
13161 * gdb.threads/step-after-sr-lock.exp: Avoid executing
13162 "kill -SIGUSR1 -1".
13164 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13166 * gdb.ada/tick_length_array_enum_idx: New testcase.
13168 2014-02-10 Doug Evans <xdje42@gmail.com>
13170 * configure.ac (AC_OUTPUT): Add gdb.guile.
13171 * configure: Regenerate.
13172 * lib/gdb-guile.exp: New file.
13173 * lib/gdb.exp (get_target_charset): New function.
13174 * gdb.base/help.exp: Update expected output from "apropos apropos".
13175 * gdb.guile/Makefile.in: New file.
13176 * gdb.guile/guile.exp: New file.
13177 * gdb.guile/scm-arch.c: New file.
13178 * gdb.guile/scm-arch.exp: New file.
13179 * gdb.guile/scm-block.c: New file.
13180 * gdb.guile/scm-block.exp: New file.
13181 * gdb.guile/scm-breakpoint.c: New file.
13182 * gdb.guile/scm-breakpoint.exp: New file.
13183 * gdb.guile/scm-disasm.c: New file.
13184 * gdb.guile/scm-disasm.exp: New file.
13185 * gdb.guile/scm-equal.c: New file.
13186 * gdb.guile/scm-equal.exp: New file.
13187 * gdb.guile/scm-error.exp: New file.
13188 * gdb.guile/scm-error.scm: New file.
13189 * gdb.guile/scm-frame-args.c: New file.
13190 * gdb.guile/scm-frame-args.exp: New file.
13191 * gdb.guile/scm-frame-args.scm: New file.
13192 * gdb.guile/scm-frame-inline.c: New file.
13193 * gdb.guile/scm-frame-inline.exp: New file.
13194 * gdb.guile/scm-frame.c: New file.
13195 * gdb.guile/scm-frame.exp: New file.
13196 * gdb.guile/scm-generics.exp: New file.
13197 * gdb.guile/scm-gsmob.exp: New file.
13198 * gdb.guile/scm-iterator.c: New file.
13199 * gdb.guile/scm-iterator.exp: New file.
13200 * gdb.guile/scm-math.c: New file.
13201 * gdb.guile/scm-math.exp: New file.
13202 * gdb.guile/scm-objfile-script-gdb.in: New file.
13203 * gdb.guile/scm-objfile-script.c: New file.
13204 * gdb.guile/scm-objfile-script.exp: New file.
13205 * gdb.guile/scm-objfile.c: New file.
13206 * gdb.guile/scm-objfile.exp: New file.
13207 * gdb.guile/scm-ports.exp: New file.
13208 * gdb.guile/scm-pretty-print.c: New file.
13209 * gdb.guile/scm-pretty-print.exp: New file.
13210 * gdb.guile/scm-pretty-print.scm: New file.
13211 * gdb.guile/scm-section-script.c: New file.
13212 * gdb.guile/scm-section-script.exp: New file.
13213 * gdb.guile/scm-section-script.scm: New file.
13214 * gdb.guile/scm-symbol.c: New file.
13215 * gdb.guile/scm-symbol.exp: New file.
13216 * gdb.guile/scm-symtab-2.c: New file.
13217 * gdb.guile/scm-symtab.c: New file.
13218 * gdb.guile/scm-symtab.exp: New file.
13219 * gdb.guile/scm-type.c: New file.
13220 * gdb.guile/scm-type.exp: New file.
13221 * gdb.guile/scm-value-cc.cc: New file.
13222 * gdb.guile/scm-value-cc.exp: New file.
13223 * gdb.guile/scm-value.c: New file.
13224 * gdb.guile/scm-value.exp: New file.
13225 * gdb.guile/source2.scm: New file.
13226 * gdb.guile/types-module.cc: New file.
13227 * gdb.guile/types-module.exp: New file.
13229 2014-02-10 Yao Qi <yao@codesourcery.com>
13232 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
13233 * configure: Regenerated.
13234 * Makefile.in: New file.
13236 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13238 * gdb.python/py-framefilter.exp: Fix typo.
13240 2014-02-08 Yao Qi <yao@codesourcery.com>
13242 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
13243 that no =breakpoint-modified is emitted when breakpoints are
13244 modified through MI commands.
13246 2014-02-07 Pedro Alves <pedro@codesourcery.com>
13247 Pedro Alves <palves@redhat.com>
13249 * gdb.threads/step-after-sr-lock.c: New file.
13250 * gdb.threads/step-after-sr-lock.exp: New file.
13252 2014-02-07 Pedro Alves <palves@redhat.com>
13254 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
13256 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13258 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
13259 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
13261 2014-02-06 Doug Evans <xdje42@gmail.com>
13263 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
13266 * gdb.gdb/python-interrupts.exp: New file.
13268 2014-02-05 Yao Qi <yao@codesourcery.com>
13270 * gdb.trace/report.exp (use_collected_data): Test the output
13271 of "info threads" and "info inferiors".
13273 2014-02-05 Yao Qi <yao@codesourcery.com>
13277 2013-05-24 Yao Qi <yao@codesourcery.com>
13279 * gdb.trace/tfile.exp: Test inferior and thread.
13281 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13283 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
13285 * gdb.base/step-bt.c: Call hello via function pointer to make
13286 sure its first instruction is executed on powerpc64le-linux.
13288 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13290 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
13292 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13294 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
13295 of the test patterns for use on little-endian systems.
13297 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13299 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
13300 (decimal_vector): Fix for little-endian.
13302 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13304 * gdb.arch/sparc-sysstep.exp: New file.
13305 * gdb.arch/sparc-sysstep.c: Likewise.
13307 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
13309 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13311 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
13313 2014-01-23 Tom Tromey <tromey@redhat.com>
13315 * gdb.ada/array_char_idx: New testcase.
13317 2014-01-23 Tom Tromey <tromey@redhat.com>
13320 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
13321 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
13324 2014-01-23 Tom Tromey <tromey@redhat.com>
13327 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
13328 string from an inferior frame.
13329 * gdb.python/py-framefilter-mi.exp: Update.
13331 2014-01-22 Doug Evans <dje@google.com>
13333 * gdb.server/server-mon.exp: Add tests for "set debug-format".
13335 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13337 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
13339 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13341 * gdb.trace/entry-values.exp: Remove excess space character from
13342 regex patterns. Handle s390 call instruction.
13344 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13346 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
13347 define "*_start" label. Make "name" static.
13348 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
13349 ${name} by references to ${name}_start.
13351 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13353 * gdb.base/info-macros.exp: Remove "debug" from the compile
13356 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13358 * gdb.dlang/demangle.exp: New file.
13360 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13362 * gdb.dlang/primitive-types.exp: New file.
13364 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13366 * configure.ac: Create gdb.dlang/Makefile.
13367 * configure: Regenerate.
13368 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
13369 * gdb.dlang/Makefile.in: New file.
13370 * lib/d-support.exp: New file.
13371 * lib/gdb.exp (skip_d_tests): New proc.
13373 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13375 * gdb.btrace/delta.exp: Check reverse stepi.
13376 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
13377 * gdb.btrace/finish.exp: New.
13378 * gdb.btrace/next.exp: New.
13379 * gdb.btrace/nexti.exp: New.
13380 * gdb.btrace/record_goto.c: Add comments.
13381 * gdb.btrace/step.exp: New.
13382 * gdb.btrace/stepi.exp: New.
13383 * gdb.btrace/multi-thread-step.c: New.
13384 * gdb.btrace/multi-thread-step.exp: New.
13385 * gdb.btrace/rn-dl-bind.c: New.
13386 * gdb.btrace/rn-dl-bind.exp: New.
13387 * gdb.btrace/data.c: New.
13388 * gdb.btrace/data.exp: New.
13389 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13391 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13393 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13394 * gdb.btrace/exception.exp: Update.
13395 * gdb.btrace/instruction_history.exp: Update.
13396 * gdb.btrace/record_goto.exp: Update.
13397 * gdb.btrace/tailcall.exp: Update.
13398 * gdb.btrace/unknown_functions.exp: Update.
13399 * gdb.btrace/delta.exp: New.
13401 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13403 * gdb.btrace/record_goto.exp: Add backtrace test.
13404 * gdb.btrace/tailcall.exp: Add backtrace test.
13406 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13408 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
13409 * gdb.btrace/record_goto.c: New.
13410 * gdb.btrace/record_goto.exp: New.
13411 * gdb.btrace/x86-record_goto.S: New.
13413 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13415 * gdb.btrace/function_call_history.exp: Update tests.
13416 * gdb.btrace/instruction_history.exp: Update tests.
13418 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13420 * gdb.btrace/function_call_history.exp: Fix expected field
13421 order for "record function-call-history".
13422 Add new tests for "record function-call-history /c".
13423 * gdb.btrace/exception.cc: New.
13424 * gdb.btrace/exception.exp: New.
13425 * gdb.btrace/tailcall.exp: New.
13426 * gdb.btrace/x86-tailcall.S: New.
13427 * gdb.btrace/x86-tailcall.c: New.
13428 * gdb.btrace/unknown_functions.c: New.
13429 * gdb.btrace/unknown_functions.exp: New.
13430 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13432 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13434 * gdb.btrace/instruction_history.exp: Update.
13435 * gdb.btrace/function_call_history.exp: Update.
13437 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13439 * gdb.btrace/function_call_history.exp: Fix expected function
13441 * gdb.btrace/instruction_history.exp: Initialize traced.
13442 Remove traced_functions.
13444 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13446 * gdb.btrace/function_call_history.exp: Update
13447 * gdb.btrace/instruction_history.exp: Update.
13449 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13451 * gdb.btrace/enable.exp: Update expected text.
13453 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
13455 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13458 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
13460 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13462 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
13464 * lib/gdb.exp (supports_process_record): Return true for
13465 arm*-linux*. (supports_reverse): Likewise.
13467 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13471 * gdb.python/py-type.c: Enhance test case.
13472 * gdb.python/py-value-cc.cc: Likewise
13473 * gdb.python/py-type.exp: Add new tests.
13474 * gdb.python/py-value-cc.exp: Likewise
13476 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13477 Pedro Alves <palves@redhat.com>
13479 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13480 Make "name" extern.
13481 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13482 references to ${name}_start by references to ${name}.
13484 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13486 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13488 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13490 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13492 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
13493 Pedro Alves <palves@redhat.com>
13495 * gdb.mi/mi-info-os.exp: Connect to the target with
13496 mi_gdb_target_load.
13498 2014-01-08 Pedro Alves <palves@redhat.com>
13500 * gdb.threads/reconnect-signal.c: New file.
13501 * gdb.threads/reconnect-signal.exp: New file.
13503 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13505 * gdb.base/source-dir.exp: New file.
13507 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13509 * gdb.ada/mi_interface: New testcase.
13511 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13513 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13514 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13515 gdb.ada/pp-rec-component/pck.ads: New files.
13517 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13519 * gdb.python/py-pp-integral.c: New file.
13520 * gdb.python/py-pp-integral.py: New file.
13521 * gdb.python/py-pp-integral.exp: New file.
13523 For older changes see ChangeLog-1993-2013.
13525 ;; Local Variables:
13526 ;; mode: change-log
13529 ;; version-control: never
13532 Copyright 2014-2018 Free Software Foundation, Inc.
13533 Copying and distribution of this file, with or without modification,
13534 are permitted provided the copyright notice and this notice are preserved.