1 2018-03-19 Tom Tromey <tom@tromey.com>
3 * gdb.gdb/observer.exp: Remove.
5 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
8 "qualified" option when setting breakpoints.
9 * gdb.trace/backtrace.exp: Likewise.
10 * gdb.trace/circ.exp: Likewise.
11 * gdb.trace/collection.exp: Likewise.
12 * gdb.trace/disconnected-tracing.exp: Likewise.
13 * gdb.trace/ftrace-lock.exp: Likewise.
14 * gdb.trace/ftrace.exp: Likewise.
15 * gdb.trace/infotrace.exp: Likewise.
16 * gdb.trace/packetlen.exp: Likewise.
17 * gdb.trace/passc-dyn.exp: Likewise.
18 * gdb.trace/qtro.exp: Likewise.
19 * gdb.trace/read-memory.exp: Likewise.
20 * gdb.trace/report.exp: Likewise.
21 * gdb.trace/signal.exp: Likewise.
22 * gdb.trace/status-stop.exp: Likewise.
23 * gdb.trace/strace.exp: Likewise.
24 * gdb.trace/tfind.exp: Likewise.
25 * gdb.trace/trace-break.exp: Likewise.
26 * gdb.trace/trace-condition.exp: Likewise.
27 * gdb.trace/trace-mt.exp: Likewise.
28 * gdb.trace/tstatus.exp: Likewise.
29 * gdb.trace/tsv.exp: Likewise.
30 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
31 * gdb.trace/unavailable.exp: Likewise.
32 * gdb.trace/while-dyn.exp: Likewise.
34 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
36 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
37 that libinproctrace is copied to the target.
39 2018-03-14 Tom Tromey <tom@tromey.com>
42 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
44 * gdb.base/wchar.exp: Likewise.
46 2018-03-14 Tom Tromey <tom@tromey.com>
49 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
52 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
55 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
56 "target" to remote_exec.
58 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
61 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
62 ${board}_upload): Remove.
64 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
66 * gdb.cp/watch-cp.cc: New test.
67 * gdb.cp/watch-cp.exp: New file.
69 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
71 * gdb.base/infcall-nested-structs.exp: New file.
72 * gdb.base/infcall-nested-structs.c: New file.
73 * gdb.base/float.exp: Add riscv support.
75 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
77 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
78 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
80 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
82 * gdb.server/abspath.exp: New file.
83 * lib/gdb.exp (with_cwd): New procedure.
85 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
87 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
89 (gdb_is_target_remote_prompt): New proc.
90 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
91 (gdb_is_target_native): Pass prompt parameter to
94 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
96 * gdb.base/load-command.c: New file.
97 * gdb.base/load-command.exp: New file.
98 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
99 (gdb_is_target_1): ...this, and generalize for other targets
101 (gdb_is_target_remote): Use gdb_is_target_1.
102 (gdb_is_target_native): use gdb_is_target_1.
104 2018-02-26 Tom Tromey <tom@tromey.com>
107 * gdb.python/py-framefilter.exp: Update test.
109 2018-02-26 Tom Tromey <tom@tromey.com>
111 * gdb.dwarf2/variant.c: New file.
112 * gdb.dwarf2/variant.exp: New file.
114 2018-02-26 Tom Tromey <tom@tromey.com>
116 * gdb.rust/simple.exp: Accept more possible results in enum test.
118 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
120 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
123 2018-02-23 Maciej W. Rozycki <macro@mips.com>
125 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
126 name of a variable: $actual_linejj -> $actual_line.
128 2018-02-21 John Baldwin <jhb@FreeBSD.org>
130 * gdb.arch/amd64-i386-address.exp: Fix a typo.
132 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
134 * gdb.btrace/buffer-size.exp: Do not force BTS.
136 2018-02-14 Pedro Alves <palves@redhat.com>
138 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
141 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
143 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
146 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
148 * gdb.cp/m-static.exp: Check type of optimized out static
151 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
153 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
154 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
156 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
157 Leszek Swirski <leszeks@google.com>
159 * gdb.python/py-prettyprint.c
160 (struct to_string_returns_value_inner,
161 struct to_string_returns_value_wrapper): New.
162 (main): Add tsrvw variable.
163 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
164 ToStringReturnsValueWrapper): New classes.
165 (register_pretty_printers): Register new pretty-printers.
166 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
167 recursive pretty printer.
168 * gdb.python/py-mi.exp: Likewise.
170 2018-02-01 Leszek Swirski <leszeks@google.com>
172 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
173 functions with the same name as an include file are parsed
176 2018-02-01 Yao Qi <yao.qi@linaro.org>
178 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
181 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
183 * gdb.arch/powerpc-prologue-frame.s: New file.
184 * gdb.arch/powerpc-prologue-frame.c: Likewise.
185 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
187 2018-01-31 Joel Brobecker <brobecker@adacore.com>
189 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
191 2018-01-30 Pedro Alves <palves@redhat.com>
194 * gdb.base/interrupt-daemon.c: New.
195 * gdb.base/interrupt-daemon.exp: New.
196 * gdb.multi/multi-term-settings.c: New.
197 * gdb.multi/multi-term-settings.exp: New.
199 2018-01-30 Joel Brobecker <brobecker@adacore.com>
201 * gdb.base/break.exp: Save the location where the breakpoint
202 on break.c:47 was actually inserted when debugging the version
203 compiled at -O2 and use it in the expected output of the "info
204 break" test performed soon after.
206 2018-01-22 Pedro Alves <palves@redhat.com>
207 Sergio Durigan Junior <sergiodj@redhat.com>
209 * gdb.base/whatis.exp: Add tests for 'set print object on' +
210 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
212 2018-01-22 Joel Brobecker <brobecker@adacore.com>
214 * gdb.base/break-include.c, gdb.base/break-include.inc,
215 gdb.base/break-include.exp: New files.
216 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
217 line number now being the actual line number where the breakpoint
219 * gdb.mi/mi-break.exp: Likewise.
220 * gdb.mi/mi-reverse.exp: Likewise.
221 * gdb.mi/mi-simplerun.exp: Ditto.
223 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
225 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
227 * gdb.mi/mi-var-create-rtti.exp: Likewise.
229 2018-01-21 Don Breazeal <donb@codesourcery.com>
230 Andrew Burgess <andrew.burgess@embecosm.com>
232 * gdb.mi/basics.c: Add new global.
233 * gdb.mi/mi-frame-regs.exp: New file.
234 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
237 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
239 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
240 non-parameter, and on an unknown symbol.
242 2018-01-19 Tom Tromey <tom@tromey.com>
244 * gdb.rust/modules.rs (TWENTY_THREE): New global.
245 * gdb.rust/modules.exp: Add ::-qualified lookup test.
247 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
249 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
250 setrlimit and chdir to int.
252 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
254 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
257 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
258 rationale of avoiding FP- and vector instructions.
260 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
262 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
263 "info reg" with "\[ \t\]*".
264 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
266 * gdb.arch/s390-multiarch.exp: Ditto.
267 * gdb.base/pc-fp.exp: Ditto.
268 * gdb.reverse/i386-precsave.exp: Ditto.
269 * gdb.reverse/i386-reverse.exp: Ditto.
270 * gdb.reverse/i387-env-reverse.exp: Ditto.
271 * gdb.reverse/i387-stack-reverse.exp: Ditto.
273 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
275 * lib/gdb.exp (gdb_compile): Re-enable use of
276 universal_compile_options for languages other than Rust.
278 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
280 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
282 2018-01-17 Mike Gulick <mgulick@mathworks.com>
285 * gdb.base/solib-vanish.exp: New.
286 * gdb.base/solib-vanish-main.c: New.
287 * gdb.base/solib-vanish-lib1.c: New.
288 * gdb.base/solib-vanish-lib2.c: New.
290 2018-01-17 Yao Qi <yao.qi@linaro.org>
292 * gdb.compile/compile.exp: Match the address printed for
293 frame in the output of command "bt".
295 2018-01-15 Tom Tromey <tom@tromey.com>
297 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
300 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
302 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
304 (prepare): Return 0 on error, 1 on success.
306 2018-01-12 Pedro Alves <palves@redhat.com>
308 * gdb.base/continue-after-aborted-step-over.c: New.
309 * gdb.base/continue-after-aborted-step-over.exp: New.
311 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
313 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
314 options when not creating an executable.
316 2018-01-11 Pedro Alves <palves@redhat.com>
319 * gdb.server/stop-reply-no-thread.c: New file.
320 * gdb.server/stop-reply-no-thread.exp: New file.
322 2018-01-10 Pedro Alves <palves@redhat.com>
325 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
326 functions too. Test setting breakpoints and printing C functions
327 with no debug info too.
328 * gdb.ada/bp_c_mixed_case/qux.c: New file.
330 2018-01-10 Pedro Alves <palves@redhat.com>
333 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
336 2018-01-10 Pedro Alves <palves@redhat.com>
339 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
341 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
343 * gdb.server/unittest.exp: Match the output in non-development
346 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
348 * gdb.gdb/unittest.exp: Match output in non-development mode.
350 2018-01-08 Joel Brobecker <brobecker@adacore.com>
352 * gdb.ada/access_tagged_param.exp: Relax expected output
353 for value of "ObjL" in "continue" to pck.inspect breakpoint
356 2018-01-08 Joel Brobecker <brobecker@adacore.com>
358 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
359 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
361 2018-01-05 Pedro Alves <palves@redhat.com>
364 * gdb.base/libsegfault.exp: New.
366 2018-01-05 Joel Brobecker <brobecker@adacore.com>
369 * gdb.ada/access_tagged_param.exp: New file.
370 * gdb.ada/access_tagged_param/foo.adb: New file.
372 2018-01-05 Pedro Alves <palves@redhat.com>
375 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
376 exercise lower case too, and to exercise both full matching and
379 2018-01-05 Joel Brobecker <brobecker@adacore.com>
381 * gdb.ada/rename_subscript_param: New testcase.
383 2018-01-05 Jerome Guitton <guitton@adacore.com>
385 * gdb.ada/arr_acc_idx_w_gap: New testcase.
387 2018-01-05 Joel Brobecker <brobecker@adacore.com>
389 * gdb.ada/convvar_comp: New testcase.
391 2018-01-05 Xavier Roirand <roirand@adacore.com>
393 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
394 (My_Table): New global variable.
395 * testsuite/gdb.ada/array_char_idx.exp: Add test.
397 2018-01-04 Joel Brobecker <brobecker@adacore.com>
400 * gdb.ada/maint_with_ada: New testcase.
402 2018-01-04 Joel Brobecker <brobecker@adacore.com>
405 * gdb.ada/bp_c_mixed_case: New testcase.
407 2018-01-04 Joel Brobecker <brobecker@adacore.com>
410 * gdb.ada/complete.exp: Add "complete break ada" test.
412 2018-01-04 Joel Brobecker <brobecker@adacore.com>
415 * gdb.ada/info_addr_mixed_case: New testcase.
417 2018-01-03 Xavier Roirand <roirand@adacore.com>
419 * gdb.ada/excep_handle.exp: New testcase.
420 * gdb.ada/excep_handle/foo.adb: New file.
421 * gdb.ada/excep_handle/pck.ads: New file.
423 2018-01-03 Joel Brobecker <brobecker@adacore.com>
425 * gdb.base/step-line.c: Add extra empty line in copyright header.
426 * gdb.base/step-line.inp: Likewise.
428 2018-01-02 Joel Brobecker <brobecker@adacore.com>
430 * gdb.ada/dyn_stride.exp: Add slice test.
432 2018-01-02 Joel Brobecker <brobecker@adacore.com>
434 * gdb.ada/dyn_stride: New testcase.
436 2017-12-27 Stafford Horne <shorne@gmail.com>
438 * gdb.xml/extra-regs.xml: Add example foo reggroup.
439 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
441 2017-12-27 Stafford Horne <shorne@gmail.com>
443 * gdb.base/reggroups.c: New file.
444 * gdb.base/reggroups.exp: New file.
446 2017-12-18 Joel Brobecker <brobecker@adacore.com>
448 * gdb.dwarf2/ada-valprint-error.c: New file.
449 * gdb.dwarf2/ada-valprint-error.exp: New file.
451 2017-12-18 Joel Brobecker <brobecker@adacore.com>
453 * gdb.ada/assign_arr: New testcase.
455 2017-12-18 Xavier Roirand <roirand@adacore.com>
457 * gdb.ada/funcall_ptr: New testcase.
459 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
462 * gdb.base/ptype-offsets.cc: New file.
463 * gdb.base/ptype-offsets.exp: New file.
465 2017-12-15 Yao Qi <yao.qi@linaro.org>
467 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
470 2017-12-15 Xavier Roirand <roirand@adacore.com>
472 * gdb.ada/same_component_name: New testcase.
474 2017-12-14 Joel Brobecker <brobecker@adacore.com>
476 * gdb.ada/str_binop_equal: New testcase.
478 2017-12-14 Joel Brobecker <brobecker@adacore.com>
480 * gdb.ada/task_switch_in_core: New testcase.
482 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
484 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
485 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
486 call test_bkpt_qualified.
487 (test_bkpt_qualified): New proc.
489 2017-12-13 Pedro Alves <palves@redhat.com>
491 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
492 Tighten regexp by matching with an anchor.
494 2017-12-13 Pedro Alves <palves@redhat.com>
496 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
497 ("expression with namespace"): New set of tests.
498 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
499 (Nested::Test_NS::qux): New.
500 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
501 defaults to 'start_quote_char' and 'end_quote_char' parameters.
503 2017-12-13 Joel Brobecker <brobecker@adacore.com>
505 * gdb.base/server-del-break.c: New file.
506 * gdb.base/server-del-break.exp: New file.
508 2017-12-12 Stafford Horne <shorne@gmail.com>
510 * gdb.xml/tdesc-regs.exp: Add or1k support.
512 2017-12-12 Stafford Horne <shorne@gmail.com>
514 * gdb.base/bp-permanent.c: Define nop of or1k.
516 2017-12-11 Joel Brobecker <brobecker@adacore.com>
518 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
519 output with components being reordered.
521 2017-12-11 Joel Brobecker <brobecker@adacore.com>
523 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
524 output with components being reordered.
526 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
527 Pedro Alves <palves@redhat.com>
529 * gdb.base/maint.exp (check for .gdb_index): Check also for
531 * gdb.dlang/watch-loc.c (.debug_aranges): New.
532 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
533 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
534 (.gdb_index used after symbol reloading): Support also .debug_names.
535 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
537 2017-12-08 Yao Qi <yao.qi@linaro.org>
539 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
540 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
542 2017-12-08 Yao Qi <yao.qi@linaro.org>
544 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
545 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
547 2017-12-08 Yao Qi <yao.qi@linaro.org>
549 * gdb.arch/aarch64-tagged-pointer.c: New file.
550 * gdb.arch/aarch64-tagged-pointer.exp: New file.
552 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
554 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
557 2017-12-07 Keith Seitz <keiths@redhat.com>
560 * gdb.linespec/ls-errs.exp: Change expected result of "break
561 -source this file has spaces.c -line 3".
562 Check that an explicit source file followed by whitespace is
563 identified as an invalid explicit location.
565 2017-12-07 Keith Seitz <keiths@redhat.com>
567 * gdb.cp/nested-types.cc: New file.
568 * gdb.cp/nested-types.exp: New file.
569 * lib/cp-support.exp: Load data-structures.exp library.
570 (debug_cp_test_ptype_class): New global.
571 (cp_ptype_class_verbose, next_line): New procedures.
572 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
573 Add and document new return value.
574 Switch the list of lines to a queue.
575 Add support for new `type' key for nested type definitions.
576 Add debugging/troubleshooting messages.
577 * lib/data-structures.exp: New file.
579 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
581 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
582 with proc_with_prefix, don't use with_test_prefix.
584 2017-12-07 Tom Tromey <tom@tromey.com>
586 * gdb.base/break.exp: Add test for empty "commands".
588 2017-12-07 Yao Qi <yao.qi@linaro.org>
590 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
591 malloc and catch syscall.
593 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
595 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
596 tests for explicit locations.
598 2017-12-06 Pedro Alves <palves@redhat.com>
600 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
601 force-disabling XML descriptions.
603 2017-12-04 Pedro Alves <palves@redhat.com>
606 * gdb.arch/amd64-disp-step-avx.S: New file.
607 * gdb.arch/amd64-disp-step-avx.exp: New file.
609 2017-12-03 Pedro Alves <palves@redhat.com>
611 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
613 (parent_function): Print distinct messages when waitpid fails, or
614 the child exits with a signal, or the child exits for an unhandled
616 * gdb.threads/process-dies-while-detaching.exp
617 (detach_and_expect_exit): New 'inf_output_re' parameter and use
618 it. Wait for both inferior output and GDB's prompt. Use an
619 indirect spawn id list.
620 (do_detach): New parameter 'child_exit'. Use it to compute
621 expected inferior output.
622 (test_detach, test_detach_watch, test_detach_killed_outside):
623 Adjust to pass down the expected child exit kind.
625 2017-12-01 Joel Brobecker <brobecker@adacore.com>
626 Sergio Durigan Junior <sergiodj@redhat.com>
627 Pedro Alves <palves@redhat.com>
629 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
631 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
633 * gdb.base/relocate.exp: Add tests to guarantee that arguments
634 to 'symbol-file' and 'add-symbol-file' can be
635 position-independent.
637 2017-12-01 Yao Qi <yao.qi@linaro.org>
639 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
640 the URL in copyright header.
641 * gdb.arch/aarch64-fp.exp: Likewise.
642 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
643 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
644 * gdb.base/expand-psymtabs.exp: Likewise.
645 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
646 * gdb.fortran/common-block.exp: Likewise.
647 * gdb.fortran/common-block.f90: Likewise.
648 * gdb.fortran/logical.exp: Likewise.
649 * gdb.fortran/vla-datatypes.f90: Likewise.
650 * gdb.fortran/vla-sub.f90: Likewise.
652 2017-11-30 Joel Brobecker <brobecker@adacore.com>
654 * gdb.ada/repeat_dyn: New testcase.
656 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
658 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
659 Update for changed thread numbering.
660 * gdb.cell/bt.exp: Update for changed GDB output.
662 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
664 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
665 setting isremote by hand.
666 * boards/dwarf4-gdb-index.exp: Likewise.
667 * boards/fission.exp: Likewise.
668 * boards/stabs.exp: Likewise.
670 2017-11-30 Pedro Alves <palves@redhat.com>
672 * gdb.linespec/cpls-ops.exp
673 (check_explicit_skips_function_argument): Extract the underlying
674 type of size_t instead of hardcoding it.
676 2017-11-29 Pedro Alves <palves@redhat.com>
679 * gdb.linespec/cpls-abi-tag.cc: New file.
680 * gdb.linespec/cpls-abi-tag.exp: New file.
682 2017-11-29 Pedro Alves <palves@redhat.com>
684 * gdb.base/langs.exp: Use -qualified.
685 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
687 * gdb.cp/namespace.exp: Use -qualified.
688 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
689 (overload-3, template-overload, template-ret-type, const-overload)
690 (const-overload-quoted, anon-ns, ambiguous-prefix): New
692 (test_driver): Call them.
693 * gdb.cp/save-bp-qualified.cc: New.
694 * gdb.cp/save-bp-qualified.exp: New.
695 * gdb.linespec/explicit.exp: Test -qualified.
696 * lib/completion-support.exp (completion::explicit_opts_list): Add
698 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
700 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
702 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
704 2017-11-29 Tom Tromey <tom@tromey.com>
706 * gdb.base/relocate.exp: Update invalid argument test.
707 Add new tests for invalid arguments.
709 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
711 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
713 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
715 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
717 * gdb.cp/breakpoint.cc (bar): Set return type to void.
718 * gdb.cp/psymtab-parameter.cc (func): Likewise.
719 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
721 * gdb.cp/shadow.cc (B.func): Return 0.
723 2017-11-27 Joel Brobecker <brobecker@adacore.com>
725 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
726 expected output in gdb_expect call to allow the exception
727 message to be present as well. Fix syntax confusion to avoid
728 TCL thinking that exception_name is an array.
730 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
732 * gdb.arch/spu-info.c: Include <unistd.h>.
733 (do_signal_test): Fix broken calls to write.
734 * gdb.arch/spu-info.exp: Use prepare_for_testing.
735 Fix checks for empty mailboxes. Update signal tests for corrected
736 do_signal_test routine. Allow nonzero event status.
737 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
738 * gdb.cell/arch.exp: Use standard_output_file.
739 * gdb.cell/break.exp: Likewise.
740 * gdb.cell/bt.exp: Likewise.
741 * gdb.cell/core.exp: Likewise.
742 * gdb.cell/dwarfaddr.exp: Likewise.
743 * gdb.cell/ea-cache.exp: Likewise.
744 * gdb.cell/ea-standalone.exp: Likewise.
745 * gdb.cell/f-regs.exp: Likewise.
746 * gdb.cell/fork.exp: Likewise.
747 * gdb.cell/gcore.exp: Likewise.
748 * gdb.cell/mem-access.exp: Likewise.
749 * gdb.cell/ptype.exp: Likewise.
750 * gdb.cell/registers.exp: Likewise.
751 * gdb.cell/sizeof.exp: Likewise.
752 * gdb.cell/solib-symbol.exp: Likewise.
753 * gdb.cell/solib.exp: Likewise.
755 2017-11-25 Pedro Alves <palves@redhat.com>
757 * gdb.base/complete-empty.exp: New file.
758 * gdb.base/completion.exp: Adjust.
760 2017-11-25 Pedro Alves <palves@redhat.com>
762 * gdb.linespec/cpls-ops.cc: New file.
763 * gdb.linespec/cpls-ops.exp: New file.
764 * lib/completion-support.exp (test_complete_prefix_range_re): New,
765 factored out from ...
766 (test_complete_prefix_range): ... this.
768 2017-11-24 Pedro Alves <palves@redhat.com>
770 * gdb.linespec/cpcompletion.exp: New file.
771 * gdb.linespec/cpls-hyphen.cc: New file.
772 * gdb.linespec/cpls.cc: New file.
773 * gdb.linespec/cpls2.cc: New file.
774 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
775 test to use test_gdb_complete_unique. Add label completion,
776 keyword completion and explicit location completion tests.
777 * lib/completion-support.exp: New file.
779 2017-11-24 Joel Brobecker <brobecker@adacore.com>
781 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
782 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
783 when hitting an exception catchpoint.
785 2017-11-22 Yao Qi <yao.qi@linaro.org>
787 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
789 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
791 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
792 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
793 * gdb.dwarf2/info-locals-optimized-out.c: New file.
795 2017-11-22 Yao Qi <yao.qi@linaro.org>
797 * gdb.base/info-os.exp: Pass pthreads.
798 * gdb.multi/multi-attach.exp: Likewise.
800 2017-11-22 Yao Qi <yao.qi@linaro.org>
802 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
805 2017-11-22 Yao Qi <yao.qi@linaro.org>
807 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
808 * gdb.base/break-interp.exp: Likewise.
809 * gdb.base/jit-attach-pie.exp: Likewise.
811 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
813 * gdb.base/float128.c (large128): New variable.
814 * gdb.base/float128.exp: Add test to print largest __float128 value.
816 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
818 * gdb.arch/vsx-regs.exp: Update register content checks.
820 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
822 * gdb.arch/ppc-longdouble.exp: New file.
823 * gdb.arch/ppc-longdouble.c: Likewise.
825 2017-11-21 Pedro Alves <palves@redhat.com>
827 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
829 2017-11-20 Pedro Alves <palves@redhat.com>
831 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
832 (long_double_typedef): New typedefs.
833 Use DEF on double and long double.
834 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
836 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
837 and 'long_double_ptr_same_size' locals. Use them to decide
838 whether cast from array/function to float is valid/invalid.
840 2017-11-17 Tom Tromey <tom@tromey.com>
842 * gdb.rust/traits.rs: New file.
843 * gdb.rust/traits.exp: New file.
845 2017-11-17 Joel Brobecker <brobecker@adacore.com>
847 * gdb.ada/minsyms: New testcase.
849 2017-11-16 Pedro Alves <palves@redhat.com>
851 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
852 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
854 2017-11-16 Pedro Alves <palves@redhat.com>
856 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
857 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
859 2017-11-16 Pedro Alves <palves@redhat.com>
861 * gdb.server/reconnect-ctrl-c.c: New file.
862 * gdb.server/reconnect-ctrl-c.exp: New file.
864 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
866 * gdb.python/py-rbreak.exp: New file.
867 * gdb.python/py-rbreak.c: New file.
868 * gdb.python/py-rbreak-func2.c: New file.
870 2017-11-16 Pedro Alves <palves@redhat.com>
872 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
874 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
877 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
879 * gdb.tui/completionn.exp (test_tab_completion): Add space in
882 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
884 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
887 2017-11-09 Pedro Alves <palves@redhat.com>
889 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
890 factored out from ...
891 (top level): ... here, and adjusted to avoid expecting beyond the
892 prompt in a single gdb_test_multiple.
894 2017-11-09 Pedro Alves <palves@redhat.com>
896 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
898 * gdb.server/ext-attach.exp ("kill" test): Likewise.
899 * gdb.server/ext-restart.exp ("kill" test): Likewise.
900 * gdb.server/ext-run.exp ("kill" test): Likewise.
901 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
903 2017-11-09 Pedro Alves <palves@redhat.com>
905 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
906 match till end of line.
908 2017-11-09 Pedro Alves <palves@redhat.com>
910 * gdb.base/memattr.exp: Tighten regexes to match the end line.
912 2017-11-09 Pedro Alves <palves@redhat.com>
914 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
915 New procedures, factored out from ...
916 (top level): ... here, and adjusted to avoid expecting beyond the
919 2017-11-09 Pedro Alves <palves@redhat.com>
921 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
922 output. Fix '?' match.
924 2017-11-08 Joel Brobecker <brobecker@adacore.com>
926 * gdb.ada/scoped_watch: New testcase.
927 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
928 which is actually correct.
929 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
930 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
932 2017-11-08 Pedro Alves <palves@redhat.com>
934 * gdb.gdb/complaints.exp (test_initial_complaints)
935 (test_serial_complaints, test_short_complaints): Call
936 complaint_internal instead of complaint.
938 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
940 * gdb.threads/tls-core.c: New file.
941 * gdb.threads/tls-core.exp: Likewise.
943 2017-11-08 Pedro Alves <palves@redhat.com>
945 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
946 (p Exported_Capitalized): New test.
947 (p exported_capitalized): New test.
949 2017-11-07 Pedro Alves <palves@redhat.com>
951 * gdb.cp/ena-dis-br-range.exp: Add more tests.
953 2017-11-07 Pedro Alves <palves@redhat.com>
955 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
956 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
957 (disable_invalid, disable_inverted, disable_negative): New
959 ("bad numbers"): New set of tests.
961 2017-11-07 Pedro Alves <palves@redhat.com>
963 * gdb.cp/ena-dis-br-range.exp: Add tests.
965 2017-11-07 Pedro Alves <palves@redhat.com>
967 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
969 2017-11-07 Xavier Roirand <roirand@adacore.com>
970 Pedro Alves <palves@redhat.com>
972 * gdb.base/ena-dis-br.exp: Add reference to
973 gdb.cp/ena-dis-br-range.exp.
974 * gdb.cp/ena-dis-br-range.exp: New file.
975 * gdb.cp/ena-dis-br-range.cc: New file.
977 2017-11-06 Pedro Alves <palves@redhat.com>
979 * gdb.base/attach-non-pgrp-leader.c: New.
980 * gdb.base/attach-non-pgrp-leader.exp: New.
982 2017-11-06 Pedro Alves <palves@redhat.com>
984 * configure.ac: No longer check for termio.h and sgtty.h.
985 * configure: Regenerate.
986 * remote-utils.c: Include termios.h instead of gdb_termios.h.
987 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
988 Remove termio and sgtty code.
990 2017-11-03 Yao Qi <yao.qi@linaro.org>
992 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
995 2017-11-03 Yao Qi <yao.qi@linaro.org>
997 * gdb.python/py-thrhandle.exp: Skip it if python is not
1000 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1002 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
1003 as a breakpoint command.
1005 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
1008 * gdb.python/py-infthread.exp: Test calling
1009 InferiorThread.inferior () multiple times in a row.
1011 2017-10-27 Keith Seitz <keiths@redhat.com>
1013 * gdb.opt/inline-break.exp (break_info_1): New procedure.
1014 Test "info break" for every inlined function breakpoint.
1016 2017-10-27 Yao Qi <yao.qi@linaro.org>
1018 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
1020 2017-10-26 Patrick Frants <osscontribute@gmail.com>
1022 * gdb.cp/classes.exp (test_static_members): Test printing
1024 * gdb.cp/classes.c (struct Inner, struct Outer): New.
1025 (Inner::instance, Outer::instance): New.
1027 2017-10-24 Pedro Alves <palves@redhat.com>
1029 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
1030 extra console" test in two stages.
1032 2017-10-24 Pedro Alves <palves@redhat.com>
1034 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
1036 2017-10-24 Pedro Alves <palves@redhat.com>
1038 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
1041 2017-10-24 Pedro Alves <palves@redhat.com>
1043 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
1044 $attempt" and "stoppedtry $stoppedtry" test prefixes.
1046 2017-10-24 Pedro Alves <palves@redhat.com>
1048 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
1049 parameter and handle it. Don't output read value in test name.
1051 2017-10-24 Pedro Alves <palves@redhat.com>
1053 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
1056 2017-10-24 Pedro Alves <palves@redhat.com>
1058 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
1059 include the unstable output directory name in the test's name.
1060 (initial_setup_simple) <'set args'>: Use custom test name.
1062 2017-10-24 Pedro Alves <palves@redhat.com>
1064 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
1065 with explicit test name.
1067 2017-10-20 Pedro Alves <palves@redhat.com>
1069 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
1070 'wait -i'. Use gdb_assert and remote_close.
1072 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
1074 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
1075 number from variable rather than hard-coded.
1077 2017-10-19 Pedro Alves <palves@redhat.com>
1079 * gdb.base/long-inferior-output.c: New file.
1080 * gdb.base/long-inferior-output.exp: New file.
1082 2017-11-18 Keith Seitz <keiths@redhat.com>
1084 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
1087 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
1088 Add additional user-defined conversion operator tests.
1090 2017-10-17 Pedro Alves <palves@redhat.com>
1092 * boards/native-stdio-gdbserver.exp: Load "local-board".
1094 2017-10-17 Pedro Alves <palves@redhat.com>
1096 * gdb.base/quit-live.c: New file.
1097 * gdb.base/quit-live.exp: New file.
1099 2017-10-16 Keith Seitz <keiths@redhat.com>
1101 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
1102 (class_with_protected_typedef, class_with_private_typedef)
1103 (struct_with_public_typedef, struct_with_protected_typedef)
1104 (struct_with_private_typedef): New classes/structs.
1105 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
1106 typedefs and access specifiers.
1108 2017-10-16 Pedro Alves <palves@redhat.com>
1109 Simon Marchi <simon.marchi@polymtl.ca>
1111 * README (Local vs Remote vs Native): New section.
1112 * boards/local-board.exp: New file, with bits factored out from
1114 * boards/native-extended-gdbserver.exp: ... here. Load
1116 * boards/native-gdbserver.exp: Load "local-board".
1117 (${board}_spawn, ${board}_exec): Delete.
1118 * boards/native-stdio-gdbserver.exp: Most contents factored out to
1120 * boards/stdio-gdbserver-base.exp: ... this new file.
1121 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
1122 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
1124 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
1125 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
1126 stdio_gdbserver_command.
1127 (${board}_get_remote_address, ${board}_get_comm_port)
1128 (${board}_download, ${board}_upload): Delete.
1129 (get_target_remote_pipe_cmd): New.
1131 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
1133 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
1134 test_bkpt_deletion, test_bkpt_cond_and_cmds,
1135 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
1136 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
1137 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
1138 remove with_test_prefix.
1140 2017-10-13 Pedro Alves <palves@redhat.com>
1142 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
1143 * gdb.base/annota1.exp: Use it instead of is_remote.
1144 * gdb.base/annota3.exp: Use it instead of is_remote.
1145 * gdb.cp/annota2.exp: Use it instead of is_remote.
1146 * gdb.cp/annota3.exp: Use it instead of is_remote.
1147 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
1149 2017-10-13 Pedro Alves <palves@redhat.com>
1151 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
1152 (test_num_test_vars, run_and_count_vars, find_env)
1153 (test_set_unset_env, test_inherit_env_var): New procedures.
1154 (top level): Use them.
1156 2017-10-13 Pedro Alves <palves@redhat.com>
1158 * lib/selftest-support.exp (selftest_setup): Extend comments, and
1159 also skip on stub-like targets.
1161 2017-10-13 Pedro Alves <palves@redhat.com>
1164 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
1165 (top level): Move some tests to ...
1166 (test_not_found): ... this new procedure.
1167 (top level): Call it.
1169 2017-10-13 Pedro Alves <palves@redhat.com>
1171 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
1172 expect different "info terminal" output if testing with a
1175 2017-10-13 Pedro Alves <palves@redhat.com>
1176 Simon Marchi <simon.marchi@polymtl.ca>
1179 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
1181 2017-10-13 Pedro Alves <palves@redhat.com>
1183 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
1186 2017-10-13 Pedro Alves <palves@redhat.com>
1188 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
1191 2017-10-13 Pedro Alves <palves@redhat.com>
1193 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
1196 2017-10-13 Pedro Alves <palves@redhat.com>
1198 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
1200 (corefile_test_attach): Likewise. Check can_spawn_for_attach
1201 instead of is_remote.
1203 2017-10-13 Pedro Alves <palves@redhat.com>
1205 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
1206 (top level): Add comment.
1208 2017-10-13 Pedro Alves <palves@redhat.com>
1210 * gdb.base/remote.exp (top level): Fix comment typo and add
1213 2017-10-13 Pedro Alves <palves@redhat.com>
1214 Simon Marchi <simon.marchi@polymtl.ca>
1216 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
1217 calls and add comments. Skip test if use_gdb_stub is set.
1218 (top level): Use "set cwd" command instead of "cd" command.
1220 2017-10-13 Pedro Alves <palves@redhat.com>
1222 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
1223 is_remote target check.
1225 2017-10-13 Pedro Alves <palves@redhat.com>
1227 * gdb.base/scope.exp: Use build_executable + clean_restart +
1228 gdb_file_cmd instead of prepare_for_testing and no longer skip
1229 "before run" tests on is_remote target boards. Update comments.
1230 * boards/native-extended-gdbserver.exp
1231 (extended_gdbserver_load_last_file): New, factored out from ...
1232 (gdb_load): ... this. Move further below and add comment.
1233 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
1235 2017-10-12 Pedro Alves <palves@redhat.com>
1237 * gdb.base/attach.exp: Remove references to gdb64.
1238 * gdb.base/dbx.exp: Remove references to gdb64.
1240 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1241 Pedro Alves <palves@redhat.com>
1243 * gdb.base/label.exp: Remove is_remote target check.
1245 2017-10-12 Pedro Alves <palves@redhat.com>
1247 * gdb.base/auvx.exp (coredir): Update comment.
1248 (top level) <core_works>: Use "set cwd" command instead of "cd"
1251 2017-10-12 Pedro Alves <palves@redhat.com>
1252 Simon Marchi <simon.marchi@polymtl.ca>
1254 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
1257 2017-10-12 Pedro Alves <palves@redhat.com>
1258 Simon Marchi <simon.marchi@polymtl.ca>
1260 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
1261 Instead skip if there's any gdb_protocol set.
1263 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1264 Pedro Alves <palves@redhat.com>
1266 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
1268 2017-10-12 Pedro Alves <palves@redhat.com>
1269 Simon Marchi <simon.marchi@polymtl.ca>
1271 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
1272 instead of on dejagnu remote boards.
1274 2017-10-12 Pedro Alves <palves@redhat.com>
1275 Simon Marchi <simon.marchi@polymtl.ca>
1277 * gdb.base/inferior-died.exp: Remove is_remote and isnative
1278 checks. Use build_executable + clean_restart instead of
1279 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
1280 of enabling non-stop after starting gdb.
1282 2017-10-12 Pedro Alves <palves@redhat.com>
1284 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
1285 * gdb.threads/non-ldr-exc-2.exp: Ditto.
1286 * gdb.threads/non-ldr-exc-3.exp: Ditto.
1287 * gdb.threads/non-ldr-exc-4.exp: Ditto.
1289 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
1291 * gdb.arch/arc-tdesc-cpu.exp: New file.
1292 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
1294 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
1296 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
1298 2017-10-10 Pedro Alves <palves@redhat.com>
1300 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
1303 2017-10-10 Pedro Alves <palves@redhat.com>
1305 * lib/selftest-support.exp (selftest_setup): Update for
1306 captured_command_loop's prototype change.
1308 2017-10-09 Pedro Alves <palves@redhat.com>
1310 Test both arch1=>arch2 and arch2=>arch1.
1312 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
1313 (srcfile2, binfile2, march1, march2): Remove globals. Largely
1315 (append_arch1_options, append_arch2_options, append_arch_options)
1316 (build_executables): New procedures.
1317 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
1319 (top level): Add new 'first_arch' testing axis.
1321 2017-10-09 Pedro Alves <palves@redhat.com>
1323 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
1325 (thread_start, all_started): New functions.
1326 (main): Spawn new thread and wait until it is scheduled.
1327 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
1329 (do_test): Add 'selected_thread' parameter. Run to all_started
1330 instead of main. Explicitly set the breakpoint at main. Switch
1331 to the SELECTED_THREAD thread.
1332 (top level): Test handling the exec event with either the main
1333 thread or the second thread selected.
1335 2017-10-09 Pedro Alves <palves@redhat.com>
1337 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
1338 logic. Move STOP marker after the value checks.
1339 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
1342 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
1344 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
1346 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1348 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
1349 integer-to-dfp conversion.
1350 * gdb.base/dfp-test.exp: Likewise.
1352 2017-10-04 Pedro Alves <palves@redhat.com>
1354 * gdb.multi/hangout.c: Include <unistd.h>.
1355 (hangout_loop): New function.
1356 (main): Call alarm. Call hangout_loop in a loop.
1357 * gdb.multi/hello.c: Include <unistd.h>.
1358 (hello_loop): New function.
1359 (main): Call alarm. Call hangout_loop in a loop.
1360 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
1361 inferior with the other selected.
1363 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
1365 * gdb.mi/list-thread-groups-available.exp: New file.
1366 * gdb.mi/list-thread-groups-available.c: New file.
1368 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1370 * gdb.base/set-cwd.exp: Make it available on
1371 native-extended-gdbserver.
1373 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1375 * gdb.base/set-cwd.c: New file.
1376 * gdb.base/set-cwd.exp: Likewise.
1378 2017-10-02 Tom Tromey <tom@tromey.com>
1381 * gdb.rust/simple.rs (main): New variable "fslice".
1382 * gdb.rust/simple.exp: Add slice tests. Update string tests.
1384 2017-10-02 Tom Tromey <tom@tromey.com>
1386 * gdb.rust/simple.exp: Test ptype of a slice.
1388 2017-10-02 Tom Tromey <tom@tromey.com>
1390 * gdb.rust/simple.exp: Test index of slice.
1392 2017-09-27 Tom Tromey <tom@tromey.com>
1394 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1396 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1397 Pedro Alves <palves@redhat.com>
1399 * gdb.base/compare-sections.exp (get value of read-only section): Read
1401 (corrupt read-only section): Likewise and don't set written if patching
1404 2017-09-21 Kevin Buettner <kevinb@redhat.com>
1406 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1409 2017-09-20 Pedro Alves <palves@redhat.com>
1411 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1412 symbol names in gdb's output.
1413 * gdb.cp/overload.exp ("list all overloads"): Likewise.
1415 2017-09-20 Pedro Alves <palves@redhat.com>
1417 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
1419 (test_list_ambiguous_symbol): ... this and add a symbol name
1421 (test_list_ambiguous_function): Reimplement on top of
1422 test_list_ambiguous_symbol and also test listing ambiguous
1424 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
1425 (ambiguous_fun): ... this.
1426 (ambiguous_var): New.
1427 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
1428 (ambiguous_fun): ... this.
1429 (ambiguous_var): New.
1431 2017-09-19 John Baldwin <jhb@FreeBSD.org>
1433 * gdb.base/starti.c: New file.
1434 * gdb.base/starti.exp: New file.
1435 * lib/gdb.exp (gdb_starti_cmd): New procedure.
1437 2017-09-14 Pedro Alves <palves@redhat.com>
1439 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1440 (top level): Use it instead of runto.
1442 2017-09-11 Tom Tromey <tom@tromey.com>
1444 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1446 2017-09-11 Tom Tromey <tom@tromey.com>
1448 * gdb.python/py-infthread.exp: Add tests for new_thread event.
1449 * gdb.python/py-inferior.exp: Add tests for new inferior events.
1451 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
1453 * gdb.fortran/printing-types.exp: New file.
1454 * gdb.fortran/printing-types.exp: New file.
1456 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1458 * gdb.fortran/vla-ptype.exp: Fix typos.
1459 * gdb.fortran/vla-value.exp: Same.
1461 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1463 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1464 * gdb.mi/mi-var-child-f.exp: Likewise.
1465 * gdb.mi/mi-vla-fortran.exp: Likewise.
1467 2017-09-08 Frank Penczek <frank.penczek@intel.com>
1468 Christoph Weinmann <christoph.t.weinmann@intel.com>
1469 Bernhard Heckel <bernhard.heckel@intel.com>
1471 * gdb.fortran/ptr-indentation.f90: New file.
1472 * gdb.fortran/ptr-indentation.exp: New file.
1474 2017-09-05 Tom Tromey <tom@tromey.com>
1477 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1479 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1481 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1483 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1485 * gdb.threads/tls-nodebug-pie.c: New file.
1486 * gdb.threads/tls-nodebug-pie.exp: New file.
1488 2017-09-05 Tom Tromey <tom@tromey.com>
1490 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1493 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
1495 * gdb.multi/multi-arch-exec.exp: Test with different
1496 "follow-exec-mode" settings.
1497 (do_test): New procedure.
1499 2017-09-04 Pedro Alves <palves@redhat.com>
1501 * gdb.base/func-static.c (S::method const, S::method volatile)
1502 (S::method volatile const): New methods.
1503 (c_s, v_s, cv_s): New instances.
1504 (main): Call method() on them.
1505 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1506 (cannot_resolve): New procedure.
1507 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
1508 print-quote-unquoted columns.
1509 (do_test): Test printing each scope too.
1511 2017-09-04 Pedro Alves <palves@redhat.com>
1513 * gdb.base/local-static.exp: Also test with
1514 class::method::variable wholly quoted.
1515 * gdb.cp/m-static.exp (class::method::variable): Remove test.
1517 2017-09-04 Pedro Alves <palves@redhat.com>
1519 * gdb.base/local-static.c: New.
1520 * gdb.base/local-static.cc: New.
1521 * gdb.base/local-static.exp: New.
1523 2017-09-04 Pedro Alves <palves@redhat.com>
1525 * gdb.asm/asm-source.exp: Add casts to int.
1526 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1527 (dataglobal64_1, dataglobal64_2): New globals.
1528 * gdb.base/nodebug.exp: Test different expressions involving the
1529 new globals, with print, whatis and ptype. Add casts to int.
1530 * gdb.base/solib-display.exp: Add casts to int.
1531 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
1532 * gdb.cp/m-static.exp: Add cast to int.
1533 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1534 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1535 tls variable with no debug info without a cast. Test with a cast
1537 * gdb.trace/entry-values.exp: Add casts.
1539 2017-09-04 Pedro Alves <palves@redhat.com>
1541 * gdb.base/nodebug.exp: Test that ptype's error about functions
1542 with unknown return type includes the function name too.
1544 2017-09-04 Pedro Alves <palves@redhat.com>
1546 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
1547 return type of munmap in infcall.
1548 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
1549 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
1550 type of ftell in infcall.
1551 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
1552 type of getpid in infcall.
1553 * gdb.base/infcall-exec.exp: Cast return type of execlp in
1555 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
1556 Bail on failure to extract the pid.
1557 * gdb.base/nodebug.c: #include <stdint.h>.
1558 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
1560 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
1561 Change expected output of print/whatis/ptype with functions with
1562 no debug info. Test all supported languages. Call
1563 test_call_promotion.
1564 * gdb.compile/compile.exp: Adjust expected output to expect
1566 * gdb.threads/siginfo-threads.exp: Likewise.
1568 2017-09-04 Pedro Alves <palves@redhat.com>
1570 * gdb.base/callfuncs.exp (do_function_calls): New parameter
1571 "prototypes". Test calling float functions via prototyped and
1572 unprototyped function pointers.
1573 (perform_all_tests): New parameter "prototypes". Pass it down.
1574 (top level): Pass down "prototypes" parameter to
1577 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1579 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
1580 Test with nested loops.
1582 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1584 * gdb.base/commands.exp: Call the new procedures.
1585 (loop_break_test, loop_continue_test): New procedures.
1587 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1589 * gdb.base/commands.exp: Call new procedure.
1590 (define_if_without_arg_test): New procedure.
1592 2017-09-04 Pedro Alves <palves@redhat.com>
1594 * gdb.base/list-ambiguous.exp: New file.
1595 * gdb.base/list-ambiguous0.c: New file.
1596 * gdb.base/list-ambiguous1.c: New file.
1597 * gdb.base/list.exp (test_list_range): Adjust expected output.
1599 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
1601 * gdb.base/share-env-with-gdbserver.c: New file.
1602 * gdb.base/share-env-with-gdbserver.exp: Likewise.
1604 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1606 * gdb.base/commands.exp (gdbvar_simple_if_test,
1607 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
1608 progvar_simple_if_test, progvar_simple_while_test,
1609 progvar_complex_if_while_test, user_defined_command_test,
1610 user_defined_command_args_eval,
1611 user_defined_command_args_stack_test,
1612 user_defined_command_manyargs_test, bp_deleted_in_command_test,
1613 temporary_breakpoint_commands,
1614 gdb_test_no_prompt, redefine_hook_test,
1615 redefine_backtrace_test): Remove "global gdb_prompt".
1617 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1619 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
1620 New proc, call it from toplevel.
1622 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
1625 * gdb.server/normal.c: New file, copied from gdb.base.
1626 * gdb.server/run-without-local-binary.exp: New file.
1628 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
1630 * gdb.arch/sparc64-adi.exp: New file.
1631 * gdb.arch/sparc64-adi.c: New file.
1633 2017-08-22 Pedro Alves <palves@redhat.com>
1635 * gdb.cp/overload.exp (line_range_pattern): New procedure.
1636 (top level): Add "list all overloads" tests.
1638 2017-08-22 Tom Tromey <tom@tromey.com>
1640 * gdb.gdb/xfullpath.exp: Remove.
1642 2017-08-21 Pedro Alves <palves@redhat.com>
1645 * gdb.base/symbol-alias.c: New.
1646 * gdb.base/symbol-alias2.c: New.
1647 * gdb.base/symbol-alias.exp: New.
1649 2017-08-21 Pedro Alves <palves@redhat.com>
1651 * gdb.base/dfp-test.c
1652 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
1653 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
1654 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
1655 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
1656 * gdb.base/whatis-ptype-typedefs.c: New.
1657 * gdb.base/whatis-ptype-typedefs.exp: New.
1658 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
1659 (an_int, an_int_type, an_int_type2): New globals.
1660 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
1661 involving typedefs and cast expressions.
1662 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
1663 (lookup_typedefs_function): New.
1664 (typedefs_pretty_printers_dict): New.
1665 (top level): Register lookup_typedefs_function in
1666 gdb.pretty_printers.
1668 2017-08-18 Yao Qi <yao.qi@linaro.org>
1670 * gdb.server/unittest.exp: New.
1672 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
1675 * gdb.base/environ.exp: Add test to check if 'unset environment'
1678 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1680 * lib/gdb.exp (universal_compile_options): New caching proc.
1681 (gdb_compile): Suppress GCC's coloring of messages.
1683 2017-08-14 Tom Tromey <tom@tromey.com>
1686 * gdb.base/printcmds.exp (test_radices): New function.
1687 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
1688 * gdb.base/sizeof.exp (check_valueof): Use p/d.
1689 * lib/gdb.exp (get_integer_valueof): Use p/d.
1691 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
1693 * lib/gdb.exp (get_valueof): Don't capture end-of-line
1696 2017-08-05 Tom Tromey <tom@tromey.com>
1698 * gdb.rust/simple.exp: Allow String to appear in a different
1701 2017-07-26 Yao Qi <yao.qi@linaro.org>
1703 * gdb.gdb/unittest.exp: Invoke command
1704 "maintenance check xml-descriptions".
1706 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1708 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
1710 (hex128): Drop erroneous calculation of parameters.
1712 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
1714 * gdb.python/py-unwind.exp: Disable stack protection when
1717 2017-07-20 Pedro Alves <palves@redhat.com>
1719 * gdb.base/default.exp (set language): Adjust expected output.
1721 2017-07-20 Pedro Alves <palves@redhat.com>
1723 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
1724 (test_minsym): ... this, and make static.
1725 (get_pck__foo__bar__minsym): Rename to ...
1726 (get_test_minsym): ... this.
1727 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
1728 symbol names and comments.
1729 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
1730 (get_test_minsym): ... this.
1731 (pck__foo__bar__minsym__2): Rename to ...
1732 (test_minsym): ... this.
1735 2017-07-17 Pedro Alves <palves@redhat.com>
1737 * gdb.base/completion.exp: Adjust expected output.
1738 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
1739 the completer works.
1741 2017-07-17 Pedro Alves <palves@redhat.com>
1743 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
1745 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1747 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
1749 2017-07-14 Tom Tromey <tom@tromey.com>
1752 * gdb.rust/simple.exp: Add tests.
1754 2017-07-14 Tom Tromey <tom@tromey.com>
1756 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
1758 2017-07-14 Pedro Alves <palves@redhat.com>
1760 * gdb.linespec/base/one/thefile.cc (z1): New function.
1761 * gdb.linespec/base/two/thefile.cc (z2): New function.
1762 * gdb.linespec/linespec.exp: Add tests.
1764 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1766 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
1767 to mi_create_breakpoint.
1769 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1771 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
1772 mi_create_breakpoint.
1774 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
1776 * gdb.dlang/demangle.exp: Update for demangling changes.
1778 2017-07-09 Tom Tromey <tom@tromey.com>
1780 * gdb.dwarf2/shortpiece.exp: New file.
1782 2017-07-06 David Blaikie <dblaikie@gmail.com>
1784 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
1785 built from fissiont-multi-cu{1,2}.c.
1786 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
1787 except putting 'main' and 'func' in separate CUs in the same DWO file.
1788 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
1790 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
1793 2017-07-06 Pedro Alves <palves@redhat.com>
1795 * gdb.python/py-unwind.exp: Test flushregs.
1797 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1800 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
1801 tests for alias commands and trailing whitespace.
1803 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1806 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
1809 2017-06-29 Pedro Alves <palves@redhat.com>
1811 * gdb.base/printcmds.exp: Add tests.
1813 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
1816 * gdb.base/reread-readsym.exp: New file.
1817 * gdb.base/reread-readsym.c: New file.
1819 2017-06-21 Kevin Buettner <kevinb@redhat.com>
1821 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
1824 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
1826 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
1828 * gdb.arch/powerpc-power9.s: Likewise.
1830 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1832 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
1833 on 32-bit x86 targets. Exploit is_*_target macros where
1836 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1838 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
1841 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1843 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
1844 located in one or more DWARF pieces.
1846 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1848 * lib/gdb.exp (get_endianness): New proc.
1849 * gdb.arch/aarch64-fp.exp: Use it.
1850 * gdb.arch/altivec-regs.exp: Likewise.
1851 * gdb.arch/e500-regs.exp: Likewise.
1852 * gdb.arch/vsx-regs.exp: Likewise.
1853 * gdb.base/dump.exp: Likewise.
1854 * gdb.base/funcargs.exp: Likewise.
1855 * gdb.base/gnu_vector.exp: Likewise.
1856 * gdb.dwarf2/formdata16.exp: Likewise.
1857 * gdb.dwarf2/implptrpiece.exp: Likewise.
1858 * gdb.dwarf2/nonvar-access.exp: Likewise.
1859 * gdb.python/py-inferior.exp: Likewise.
1860 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1862 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1865 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
1866 stack value pieces are taken from the LSB end.
1868 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1870 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
1871 variable at nonzero offset.
1873 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1875 * gdb.dwarf2/var-access.c: New file.
1876 * gdb.dwarf2/var-access.exp: New test.
1877 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
1879 2017-06-12 Tom Tromey <tom@tromey.com>
1881 * gdb.dwarf2/formdata16.exp: Add tests.
1883 2017-06-12 Tom Tromey <tom@tromey.com>
1885 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
1887 2017-06-12 Tom Tromey <tom@tromey.com>
1890 * gdb.reverse/i386-sse-reverse.exp: Update tests.
1891 * gdb.arch/vsx-regs.exp: Update tests.
1892 * gdb.arch/s390-vregs.exp (hex128): New proc.
1894 * gdb.arch/altivec-regs.exp: Update tests.
1896 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1898 * gdb.base/startup-with-shell.c: New file.
1899 * gdb.base/startup-with-shell.exp: Likewise.
1901 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1903 * gdb.server/non-existing-program.exp: Update regex in order to
1904 reflect the fact that gdbserver is now using fork_inferior (with a
1905 shell) to startup the inferior.
1907 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
1909 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
1910 support function calls from GDB.
1912 2017-05-21 Tom Tromey <tom@tromey.com>
1915 * gdb.rust/unsized.exp: New file.
1916 * gdb.rust/unsized.rs: New file.
1918 2017-05-19 Tom Tromey <tom@tromey.com>
1921 * gdb.rust/watch.exp: New file.
1922 * gdb.rust/watch.rs: New file.
1924 2017-05-18 Tom Tromey <tom@tromey.com>
1926 * gdb.rust/simple.exp: Allow Box to be qualified.
1928 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
1930 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
1932 2017-05-18 Pedro Alves <palves@redhat.com>
1934 * gdb.base/fileio.c (test_write, test_read, test_close)
1935 (test_fstat): Don't print 'ret' in the fail path.
1937 2017-05-18 Pedro Alves <palves@redhat.com>
1939 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
1940 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
1941 (test_system, test_rename, test_unlink, test_time): Change
1943 * gdb.base/fileio.exp (stop_msg): Adjust.
1945 2017-05-18 Pedro Alves <palves@redhat.com>
1947 * gdb.base/fileio.c (null_str): New global.
1948 (test_stat): Use it.
1949 * gdb.base/fileio.exp: Remove nowarnings.
1951 2017-05-17 Yao Qi <yao.qi@linaro.org>
1953 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
1955 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
1957 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
1959 (top-level): Invoke test_set_inferior_tty.
1961 2017-05-04 Pedro Alves <palves@redhat.com>
1963 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
1964 Add parens to print call for Python 3.
1966 2017-05-03 Keith Seitz <keiths@redhat.com>
1968 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
1971 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1973 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
1976 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1978 * gdb.python/py-record-btrace.exp: Remove test for
1979 gdb.BtraceInstruction.error.
1981 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1983 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
1985 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1987 * gdb.python/py-record-btrace-threads.c: New file.
1988 * gdb.python/py-record-btrace-threads.exp: New file.
1990 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
1993 * gdb.base/environ.exp: Make test available in all architectures.
1994 Move bits related to "info program" testing to
1995 gdb.base/info-program.exp. Rewrite tests to use the two new
1996 procedures mentione below.
1997 (test_set_show_env_var) New procedure.
1998 (test_set_show_env_var_equal): Likewise.
1999 * gdb.base/info-program.exp: New file.
2001 2017-04-27 Keith Seitz <keiths@redhat.com>
2003 * gdb.cp/oranking.cc (test15): New function.
2004 (main): Call test15 and declare additional variables for testing.
2005 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
2006 "p foo101('abc')" tests.
2007 Add tests for cv qualifier overloads.
2008 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
2009 "lvalue reference overload" test.
2010 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
2011 "print value of f1 on Child&& in f2" test.
2013 2017-04-19 Pedro Alves <palves@redhat.com>
2015 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
2017 (top level): Call it.
2018 * lib/gdb.exp (gdb_define_cmd): New procedure.
2020 2017-04-12 Pedro Alves <palves@redhat.com>
2023 * gdb.cp/wide_char_types.c: Include <wchar.h>.
2024 (wchar): New global.
2025 * gdb.cp/wide_char_types.exp (wide_char_types_program)
2026 (do_test_wide_char, wide_char_types_no_program, top level): Add
2029 2017-04-12 Pedro Alves <palves@redhat.com>
2032 * gdb.cp/wide_char_types.c: New file.
2033 * gdb.cp/wide_char_types.exp: New file.
2035 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
2038 * gdb.trace/tsv.exp: Add test for "tsave -r".
2040 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
2042 * gdb.dlang/watch-loc.c: New file.
2043 * gdb.dlang/watch-loc.exp: New file.
2045 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2047 * gdb.python/py-section-script.exp (sepdebug): New testcases.
2049 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2051 * gdb.arch/arc-analyze-prologue.S: New file.
2052 * gdb.arch/arc-analyze-prologue.exp: Likewise.
2054 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2056 * gdb.arch/arc-decode-insn.S: New file.
2057 * gdb.arch/arc-decode-insn.exp: Likewise.
2059 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
2062 * gdb.arch/sparc64-regs.exp: New file.
2063 * gdb.arch/sparc64-regs.S: Likewise.
2065 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
2067 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
2068 and memory view on Python 3.
2070 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
2071 Keith Seitz <keiths@redhat.com>
2074 * gdb.cp/demangle.exp: Add rvalue reference tests.
2075 * gdb.cp/rvalue-ref-casts.cc: New file.
2076 * gdb.cp/rvalue-ref-casts.exp: New file.
2077 * gdb.cp/rvalue-ref-overload.cc: New file.
2078 * gdb.cp/rvalue-ref-overload.exp: New file.
2079 * gdb.cp/rvalue-ref-params.cc: New file.
2080 * gdb.cp/rvalue-ref-params.exp: New file.
2081 * gdb.cp/rvalue-ref-sizeof.cc: New file.
2082 * gdb.cp/rvalue-ref-sizeof.exp: New file.
2083 * gdb.cp/rvalue-ref-types.cc: New file.
2084 * gdb.cp/rvalue-ref-types.exp: New file.
2085 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
2086 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
2088 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2090 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
2093 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2095 * lib/mi-support.exp (mi_gdb_test): Add additional message
2096 for unexpected output.
2098 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2100 * gdb.base/examine-backward.c (Barrier): New character array
2101 constant, to ensure that TestStrings is preceded by a string
2104 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2106 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
2107 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
2108 and implicit pointer into such a location.
2110 2017-03-16 Doug Evans <dje@google.com>
2112 * gdb.python/py-lazy-string (pointer): Really add new typedef.
2114 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
2116 * gdb.cp/m-static.exp: Fix expectation for prototype of
2117 test5.single_constructor and single_constructor::single_constructor.
2119 2017-03-16 Doug Evans <dje@google.com>
2121 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
2122 * gdb.guile/scm-lazy-string.c: New file.
2123 * gdb.guile/scm-value.exp: Move lazy string tests to ...
2124 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
2125 for pointer, array, typedef lazy strings.
2127 2017-03-16 Doug Evans <dje@google.com>
2129 PR python/17728, python/18439, python/18779
2130 * gdb.python/py-value.c (main) Delete locals sptr, sn.
2131 * gdb.python/py-lazy-string.c (pointer): New typedef.
2132 (main): New locals ptr, array, typedef_ptr.
2133 * gdb.python/py-value.exp: Move lazy string tests to ...
2134 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
2135 array, typedef lazy strings.
2137 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
2139 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
2140 Add optional 'test' parameter.
2142 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2144 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2145 Skip for versions of DejaGnu < 1.5.
2147 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2149 * lib/gdb.exp (dejagnu_version): New proc.
2150 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2151 Use dejagnu_version.
2153 2017-03-10 Keith Seitz <keiths@redhat.com>
2156 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
2157 type from destructor regexps.
2158 Add a branch which actually passes the test.
2159 Adjust "ptype t5i" test names.
2161 2017-03-08 Pedro Alves <palves@redhat.com>
2163 * gdb.base/step-over-exit.exp: Add explicit test message.
2165 2017-03-08 Pedro Alves <palves@redhat.com>
2168 * gdb.threads/interrupt-while-step-over.c: New file.
2169 * gdb.threads/interrupt-while-step-over.exp: New file.
2171 2017-03-08 Pedro Alves <palves@redhat.com>
2173 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
2174 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
2176 2017-03-08 Pedro Alves <palves@redhat.com>
2178 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
2179 PKRU as not supported as a PASS.
2181 2017-03-08 Pedro Alves <palves@redhat.com>
2183 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
2184 prefix instead of $binfile1/$binfile2.
2185 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
2187 * gdb.python/py-completion.exp: Use "load python file" as test
2188 messages instead of unstable path names.
2190 2017-03-08 Pedro Alves <palves@redhat.com>
2191 Jan Kratochvil <jan.kratochvil@redhat.com>
2194 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2196 (top level): Call it.
2198 2017-03-08 Pedro Alves <palves@redhat.com>
2201 * gdb.tui/tui-nl-filtered-output.exp: New file.
2203 2017-03-08 Pedro Alves <palves@redhat.com>
2205 * gdb.base/completion.exp: Move TUI completion tests to ...
2206 * gdb.tui/completion.exp: ... this new file.
2208 2017-03-08 Pedro Alves <palves@redhat.com>
2210 * gdb.base/tui-disasm-long-lines.c,
2211 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
2212 gdb.base/tui-layout.exp: Move to ...
2213 * gdb.tui/: ... this new directory.
2215 2017-03-07 Pedro Alves <palves@redhat.com>
2217 * gdb.base/tui-layout.c: New file.
2218 * gdb.base/tui-layout.exp: New file.
2220 2017-03-07 Pedro Alves <palves@redhat.com>
2222 * gdb.base/tui-layout.c: Rename to ...
2223 * gdb.base/tui-disasm-long-lines.c: ... this.
2224 * gdb.base/tui-layout.exp: Rename to ...
2225 * gdb.base/tui-disasm-long-lines.exp: ... this.
2227 2017-03-07 Pedro Alves <palves@redhat.com>
2229 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
2231 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2233 * i386-mpx-call.c: New file.
2234 * i386-mpx-call.exp: New file.
2236 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
2238 * gdb.arch/powerpc-power.exp: Delete test.
2239 * gdb.arch/powerpc-power.s: Likewise.
2240 * gdb.disasm/disassembler-options.exp: New test.
2241 * gdb.arch/powerpc-altivec.exp: Likewise.
2242 * gdb.arch/powerpc-altivec.s: Likewise.
2243 * gdb.arch/powerpc-altivec2.exp: Likewise.
2244 * gdb.arch/powerpc-altivec2.s: Likewise.
2245 * gdb.arch/powerpc-altivec3.exp: Likewise.
2246 * gdb.arch/powerpc-altivec3.s: Likewise.
2247 * gdb.arch/powerpc-power7.exp: Likewise.
2248 * gdb.arch/powerpc-power7.s: Likewise.
2249 * gdb.arch/powerpc-power8.exp: Likewise.
2250 * gdb.arch/powerpc-power8.s: Likewise.
2251 * gdb.arch/powerpc-power9.exp: Likewise.
2252 * gdb.arch/powerpc-power9.s: Likewise.
2253 * gdb.arch/powerpc-vsx.exp: Likewise.
2254 * gdb.arch/powerpc-vsx.s: Likewise.
2255 * gdb.arch/powerpc-vsx2.exp: Likewise.
2256 * gdb.arch/powerpc-vsx2.s: Likewise.
2257 * gdb.arch/powerpc-vsx3.exp: Likewise.
2258 * gdb.arch/powerpc-vsx3.s: Likewise.
2259 * gdb.arch/arm-disassembler-options.exp: Likewise.
2260 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2261 * gdb.arch/s390-disassembler-options.exp: Likewise.
2263 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
2265 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
2266 (check_supported_features): ... this. Changed return type to void.
2267 (supports_rdseed): New static global.
2268 (rdseed): Check supports_rdseed.
2269 (initialize): Call check_supported_features.
2271 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2273 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
2274 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
2276 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
2277 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
2279 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2281 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
2284 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2286 * gdb.dwarf2/formdata16.c: New file.
2287 * gdb.dwarf2/formdata16.exp: New file.
2288 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
2290 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2292 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
2293 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
2294 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
2295 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
2298 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2300 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
2302 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
2305 * gdb.base/maint.exp: Add testcases for when the commands do
2308 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2310 * gdb.cp/chained-calls.exp: Use p instead of P.
2312 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
2314 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
2315 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
2317 2017-02-14 Tom Tromey <tom@tromey.com>
2320 * gdb.python/py-events.exp: Add before_prompt event tests.
2322 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2324 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
2326 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2328 * gdb.linespec/explicit.c (my_unique_function_name): New function.
2329 (main): Call my_unique_function_name.
2330 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
2331 completion of patterns with a single match.
2332 Add missing -re switches to gdb_test_multiple calls.
2334 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2336 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
2337 return if core file is not recognized.
2339 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2341 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
2344 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2346 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
2349 2017-02-10 Tom Tromey <tom@tromey.com>
2351 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
2353 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
2356 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
2358 2017-02-08 Jerome Guitton <guitton@adacore.com>
2360 * gdb.base/define.exp: Add test for command abbreviations
2363 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
2365 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
2366 * gdb.reverse/insn-reverse-x86.c: New file.
2368 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
2371 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
2373 2017-02-03 Tom Tromey <tom@tromey.com>
2376 * gdb.rust/simple.exp: Add new tests.
2378 2017-02-02 Pedro Alves <palves@redhat.com>
2380 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
2383 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2385 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2386 taking a 2-byte value out of a 4-byte DWARF implicit value on
2388 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2389 logic. Add test cases for DW_OP_implicit.
2391 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2393 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2395 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2397 * gdb.btrace/enable.exp: Call gdb_exit before
2398 skip_gdbserver_tests.
2400 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2402 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2405 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2407 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2408 the test is skipped.
2409 * gdb.btrace/data.exp: Likewise.
2410 * gdb.btrace/delta.exp: Likewise.
2411 * gdb.btrace/dlopen.exp: Likewise.
2412 * gdb.btrace/enable-running.exp: Likewise.
2413 * gdb.btrace/enable.exp: Likewise.
2414 * gdb.btrace/exception.exp: Likewise.
2415 * gdb.btrace/function_call_history.exp: Likewise.
2416 * gdb.btrace/gcore.exp: Likewise.
2417 * gdb.btrace/instruction_history.exp: Likewise.
2418 * gdb.btrace/multi-thread-step.exp: Likewise.
2419 * gdb.btrace/nohist.exp: Likewise.
2420 * gdb.btrace/non-stop.exp: Likewise.
2421 * gdb.btrace/reconnect.exp: Likewise.
2422 * gdb.btrace/record_goto-step.exp: Likewise.
2423 * gdb.btrace/record_goto.exp: Likewise.
2424 * gdb.btrace/rn-dl-bind.exp: Likewise.
2425 * gdb.btrace/segv.exp: Likewise.
2426 * gdb.btrace/step.exp: Likewise.
2427 * gdb.btrace/stepi.exp: Likewise.
2428 * gdb.btrace/tailcall-only.exp: Likewise.
2429 * gdb.btrace/tailcall.exp: Likewise.
2430 * gdb.btrace/tsx.exp: Likewise.
2431 * gdb.btrace/unknown_functions.exp: Likewise.
2432 * gdb.btrace/vdso.exp: Likewise.
2434 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2436 * gdb.btrace/enable-running.c: New.
2437 * gdb.btrace/enable-running.exp: New.
2439 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2441 * gdb.arch/amd64-gs_base.c: New file.
2442 * gdb.arch/amd64-gs_base.exp: New file.
2444 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2446 * lib/memory.exp: Remove spurious empty newlines.
2448 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
2450 * gdb.python/py-bad-printers.exp: Load python file using "source".
2451 * gdb.python/py-events.exp: Likewise.
2452 * gdb.python/py-evsignal.exp: Likewise.
2453 * gdb.python/py-evthreads.exp: Likewise.
2454 * gdb.python/py-frame-args.exp: Likewise.
2455 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2456 * gdb.python/py-framefilter-mi.exp: Likewise.
2457 * gdb.python/py-framefilter.exp: Likewise.
2458 * gdb.python/py-mi.exp: Likewise.
2459 * gdb.python/py-pp-maint.exp: Likewise.
2460 * gdb.python/py-pp-registration.exp: Likewise.
2461 * gdb.python/py-prettyprint.exp: Likewise.
2462 (run_lang_tests): Likewise.
2463 * gdb.python/py-typeprint.exp: Likewise.
2465 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2467 * lib/memory.exp: New file.
2468 * lib/gdb.exp: Load memory.exp.
2469 * gdb.base/memattr.exp (delete_memory): Move proc to
2470 lib/memory.exp and rename to delete_memory_regions.
2471 Replace delete_memory with delete_memory_regions.
2472 Cleanup memory regions before tests.
2473 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2476 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2478 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2480 (initialize): New function conditionally defined.
2481 (testcases): Move within conditional block.
2482 (main): Call initialize.
2483 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2484 of gdb.reverse/insn-reverse.c.
2485 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2486 gdb.reverse/insn-reverse.c.
2488 2017-01-26 Yao Qi <yao.qi@linaro.org>
2490 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2491 disassemble on address 0.
2493 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
2494 Yao Qi <yao.qi@linaro.org>
2496 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2497 * gdb.dwarf2/implptr-64bit.S: Remove.
2498 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
2499 variables in caller's context. Add DW_OP_implicit_value.
2501 2017-01-25 Yao Qi <yao.qi@linaro.org>
2503 * lib/dwarf.exp (Dwarf::_location): Handle
2504 DW_OP_GNU_implicit_pointer with proper size.
2506 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2508 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2509 and add untested calls.
2511 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2513 * gdb.python/python.exp: Check line number against what GDB thinks
2514 the line number is for func1.
2516 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2518 * gdb.dlang/debug-expr.exp: New file.
2520 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
2522 Fix test names for the following files:
2524 * gdb.ada/exec_changed.exp
2525 * gdb.ada/info_types.exp
2526 * gdb.arch/aarch64-atomic-inst.exp
2527 * gdb.arch/aarch64-fp.exp
2528 * gdb.arch/altivec-abi.exp
2529 * gdb.arch/altivec-regs.exp
2530 * gdb.arch/amd64-byte.exp
2531 * gdb.arch/amd64-disp-step.exp
2532 * gdb.arch/amd64-dword.exp
2533 * gdb.arch/amd64-entry-value-inline.exp
2534 * gdb.arch/amd64-entry-value-param.exp
2535 * gdb.arch/amd64-entry-value-paramref.exp
2536 * gdb.arch/amd64-entry-value.exp
2537 * gdb.arch/amd64-i386-address.exp
2538 * gdb.arch/amd64-invalid-stack-middle.exp
2539 * gdb.arch/amd64-invalid-stack-top.exp
2540 * gdb.arch/amd64-optimout-repeat.exp
2541 * gdb.arch/amd64-prologue-skip.exp
2542 * gdb.arch/amd64-prologue-xmm.exp
2543 * gdb.arch/amd64-stap-special-operands.exp
2544 * gdb.arch/amd64-stap-wrong-subexp.exp
2545 * gdb.arch/amd64-tailcall-cxx.exp
2546 * gdb.arch/amd64-tailcall-noret.exp
2547 * gdb.arch/amd64-tailcall-ret.exp
2548 * gdb.arch/amd64-tailcall-self.exp
2549 * gdb.arch/amd64-word.exp
2550 * gdb.arch/arm-bl-branch-dest.exp
2551 * gdb.arch/arm-disp-step.exp
2552 * gdb.arch/arm-neon.exp
2553 * gdb.arch/arm-single-step-kernel-helper.exp
2554 * gdb.arch/avr-flash-qualifier.exp
2555 * gdb.arch/disp-step-insn-reloc.exp
2556 * gdb.arch/e500-abi.exp
2557 * gdb.arch/e500-regs.exp
2558 * gdb.arch/ftrace-insn-reloc.exp
2559 * gdb.arch/i386-avx512.exp
2560 * gdb.arch/i386-bp_permanent.exp
2561 * gdb.arch/i386-byte.exp
2562 * gdb.arch/i386-cfi-notcurrent.exp
2563 * gdb.arch/i386-disp-step.exp
2564 * gdb.arch/i386-dr3-watch.exp
2565 * gdb.arch/i386-float.exp
2566 * gdb.arch/i386-gnu-cfi.exp
2567 * gdb.arch/i386-mpx-map.exp
2568 * gdb.arch/i386-mpx-sigsegv.exp
2569 * gdb.arch/i386-mpx-simple_segv.exp
2570 * gdb.arch/i386-mpx.exp
2571 * gdb.arch/i386-permbkpt.exp
2572 * gdb.arch/i386-prologue.exp
2573 * gdb.arch/i386-signal.exp
2574 * gdb.arch/i386-size-overlap.exp
2575 * gdb.arch/i386-unwind.exp
2576 * gdb.arch/i386-word.exp
2577 * gdb.arch/mips-fcr.exp
2578 * gdb.arch/powerpc-d128-regs.exp
2579 * gdb.arch/powerpc-stackless.exp
2580 * gdb.arch/ppc64-atomic-inst.exp
2581 * gdb.arch/s390-stackless.exp
2582 * gdb.arch/s390-tdbregs.exp
2583 * gdb.arch/s390-vregs.exp
2584 * gdb.arch/sparc-sysstep.exp
2585 * gdb.arch/thumb-bx-pc.exp
2586 * gdb.arch/thumb-singlestep.exp
2587 * gdb.arch/thumb2-it.exp
2588 * gdb.arch/vsx-regs.exp
2589 * gdb.asm/asm-source.exp
2590 * gdb.base/a2-run.exp
2591 * gdb.base/advance.exp
2592 * gdb.base/all-bin.exp
2595 * gdb.base/arithmet.exp
2596 * gdb.base/async-shell.exp
2597 * gdb.base/async.exp
2598 * gdb.base/attach-pie-noexec.exp
2599 * gdb.base/attach-twice.exp
2600 * gdb.base/auto-load.exp
2602 * gdb.base/bitfields.exp
2603 * gdb.base/break-always.exp
2604 * gdb.base/break-caller-line.exp
2605 * gdb.base/break-entry.exp
2606 * gdb.base/break-inline.exp
2607 * gdb.base/break-on-linker-gcd-function.exp
2608 * gdb.base/break-probes.exp
2609 * gdb.base/break.exp
2610 * gdb.base/breakpoint-shadow.exp
2611 * gdb.base/call-ar-st.exp
2612 * gdb.base/call-sc.exp
2613 * gdb.base/call-signal-resume.exp
2614 * gdb.base/call-strs.exp
2615 * gdb.base/callfuncs.exp
2616 * gdb.base/catch-fork-static.exp
2617 * gdb.base/catch-gdb-caused-signals.exp
2618 * gdb.base/catch-load.exp
2619 * gdb.base/catch-signal-fork.exp
2620 * gdb.base/catch-signal.exp
2621 * gdb.base/catch-syscall.exp
2622 * gdb.base/charset.exp
2623 * gdb.base/checkpoint.exp
2624 * gdb.base/chng-syms.exp
2625 * gdb.base/code-expr.exp
2626 * gdb.base/code_elim.exp
2627 * gdb.base/commands.exp
2628 * gdb.base/completion.exp
2629 * gdb.base/complex.exp
2630 * gdb.base/cond-expr.exp
2631 * gdb.base/condbreak.exp
2632 * gdb.base/consecutive.exp
2633 * gdb.base/continue-all-already-running.exp
2634 * gdb.base/coredump-filter.exp
2635 * gdb.base/corefile.exp
2637 * gdb.base/debug-expr.exp
2638 * gdb.base/define.exp
2640 * gdb.base/disabled-location.exp
2641 * gdb.base/disasm-end-cu.exp
2642 * gdb.base/disasm-optim.exp
2643 * gdb.base/display.exp
2644 * gdb.base/duplicate-bp.exp
2645 * gdb.base/ena-dis-br.exp
2646 * gdb.base/ending-run.exp
2647 * gdb.base/enumval.exp
2648 * gdb.base/environ.exp
2649 * gdb.base/eu-strip-infcall.exp
2650 * gdb.base/eval-avoid-side-effects.exp
2651 * gdb.base/eval-skip.exp
2652 * gdb.base/exitsignal.exp
2653 * gdb.base/expand-psymtabs.exp
2654 * gdb.base/filesym.exp
2655 * gdb.base/find-unmapped.exp
2656 * gdb.base/finish.exp
2657 * gdb.base/float.exp
2658 * gdb.base/foll-exec-mode.exp
2659 * gdb.base/foll-exec.exp
2660 * gdb.base/foll-fork.exp
2661 * gdb.base/fortran-sym-case.exp
2662 * gdb.base/freebpcmd.exp
2663 * gdb.base/func-ptr.exp
2664 * gdb.base/func-ptrs.exp
2665 * gdb.base/funcargs.exp
2666 * gdb.base/gcore-buffer-overflow.exp
2667 * gdb.base/gcore-relro-pie.exp
2668 * gdb.base/gcore-relro.exp
2669 * gdb.base/gcore.exp
2670 * gdb.base/gdb1090.exp
2671 * gdb.base/gdb11530.exp
2672 * gdb.base/gdb11531.exp
2673 * gdb.base/gdb1821.exp
2674 * gdb.base/gdbindex-stabs.exp
2675 * gdb.base/gdbvars.exp
2676 * gdb.base/hbreak.exp
2677 * gdb.base/hbreak2.exp
2678 * gdb.base/included.exp
2679 * gdb.base/infcall-input.exp
2680 * gdb.base/inferior-died.exp
2681 * gdb.base/infnan.exp
2682 * gdb.base/info-macros.exp
2683 * gdb.base/info-os.exp
2684 * gdb.base/info-proc.exp
2685 * gdb.base/info-shared.exp
2686 * gdb.base/info-target.exp
2687 * gdb.base/infoline.exp
2688 * gdb.base/interp.exp
2689 * gdb.base/interrupt.exp
2690 * gdb.base/jit-reader.exp
2691 * gdb.base/jit-simple.exp
2692 * gdb.base/kill-after-signal.exp
2693 * gdb.base/kill-detach-inferiors-cmd.exp
2694 * gdb.base/label.exp
2695 * gdb.base/langs.exp
2696 * gdb.base/ldbl_e308.exp
2697 * gdb.base/line-symtabs.exp
2698 * gdb.base/linespecs.exp
2700 * gdb.base/long_long.exp
2701 * gdb.base/longest-types.exp
2702 * gdb.base/maint.exp
2703 * gdb.base/max-value-size.exp
2704 * gdb.base/memattr.exp
2705 * gdb.base/mips_pro.exp
2706 * gdb.base/morestack.exp
2707 * gdb.base/moribund-step.exp
2708 * gdb.base/multi-forks.exp
2709 * gdb.base/nested-addr.exp
2710 * gdb.base/nextoverexit.exp
2711 * gdb.base/noreturn-finish.exp
2712 * gdb.base/noreturn-return.exp
2713 * gdb.base/nostdlib.exp
2714 * gdb.base/offsets.exp
2715 * gdb.base/opaque.exp
2716 * gdb.base/pc-fp.exp
2717 * gdb.base/permissions.exp
2718 * gdb.base/print-symbol-loading.exp
2719 * gdb.base/prologue-include.exp
2720 * gdb.base/psymtab.exp
2721 * gdb.base/ptype.exp
2722 * gdb.base/random-signal.exp
2723 * gdb.base/randomize.exp
2724 * gdb.base/range-stepping.exp
2725 * gdb.base/readline-ask.exp
2726 * gdb.base/recpar.exp
2727 * gdb.base/recurse.exp
2728 * gdb.base/relational.exp
2729 * gdb.base/restore.exp
2730 * gdb.base/return-nodebug.exp
2731 * gdb.base/return.exp
2732 * gdb.base/run-after-attach.exp
2733 * gdb.base/save-bp.exp
2734 * gdb.base/scope.exp
2735 * gdb.base/sect-cmd.exp
2736 * gdb.base/set-lang-auto.exp
2737 * gdb.base/set-noassign.exp
2738 * gdb.base/setvar.exp
2739 * gdb.base/sigall.exp
2740 * gdb.base/sigbpt.exp
2741 * gdb.base/siginfo-addr.exp
2742 * gdb.base/siginfo-infcall.exp
2743 * gdb.base/siginfo-obj.exp
2744 * gdb.base/siginfo.exp
2745 * gdb.base/signals-state-child.exp
2746 * gdb.base/signest.exp
2747 * gdb.base/sigstep.exp
2748 * gdb.base/sizeof.exp
2750 * gdb.base/solib-corrupted.exp
2751 * gdb.base/solib-nodir.exp
2752 * gdb.base/solib-search.exp
2753 * gdb.base/stack-checking.exp
2754 * gdb.base/stale-infcall.exp
2755 * gdb.base/stap-probe.exp
2756 * gdb.base/start.exp
2757 * gdb.base/step-break.exp
2758 * gdb.base/step-bt.exp
2759 * gdb.base/step-line.exp
2760 * gdb.base/step-over-exit.exp
2761 * gdb.base/step-over-syscall.exp
2762 * gdb.base/step-resume-infcall.exp
2763 * gdb.base/step-test.exp
2764 * gdb.base/store.exp
2765 * gdb.base/structs3.exp
2766 * gdb.base/sym-file.exp
2767 * gdb.base/symbol-without-target_section.exp
2769 * gdb.base/testenv.exp
2770 * gdb.base/ui-redirect.exp
2771 * gdb.base/until.exp
2772 * gdb.base/unwindonsignal.exp
2773 * gdb.base/value-double-free.exp
2774 * gdb.base/vla-datatypes.exp
2775 * gdb.base/vla-ptr.exp
2776 * gdb.base/vla-sideeffect.exp
2777 * gdb.base/volatile.exp
2778 * gdb.base/watch-cond-infcall.exp
2779 * gdb.base/watch-cond.exp
2780 * gdb.base/watch-non-mem.exp
2781 * gdb.base/watch-read.exp
2782 * gdb.base/watch-vfork.exp
2783 * gdb.base/watchpoint-cond-gone.exp
2784 * gdb.base/watchpoint-delete.exp
2785 * gdb.base/watchpoint-hw-hit-once.exp
2786 * gdb.base/watchpoint-hw.exp
2787 * gdb.base/watchpoint-stops-at-right-insn.exp
2788 * gdb.base/watchpoints.exp
2789 * gdb.base/wchar.exp
2790 * gdb.base/whatis-exp.exp
2791 * gdb.btrace/buffer-size.exp
2792 * gdb.btrace/data.exp
2793 * gdb.btrace/delta.exp
2794 * gdb.btrace/dlopen.exp
2795 * gdb.btrace/enable.exp
2796 * gdb.btrace/exception.exp
2797 * gdb.btrace/function_call_history.exp
2798 * gdb.btrace/gcore.exp
2799 * gdb.btrace/instruction_history.exp
2800 * gdb.btrace/nohist.exp
2801 * gdb.btrace/reconnect.exp
2802 * gdb.btrace/record_goto-step.exp
2803 * gdb.btrace/record_goto.exp
2804 * gdb.btrace/rn-dl-bind.exp
2805 * gdb.btrace/segv.exp
2806 * gdb.btrace/step.exp
2807 * gdb.btrace/stepi.exp
2808 * gdb.btrace/tailcall-only.exp
2809 * gdb.btrace/tailcall.exp
2810 * gdb.btrace/tsx.exp
2811 * gdb.btrace/unknown_functions.exp
2812 * gdb.btrace/vdso.exp
2813 * gdb.compile/compile-ifunc.exp
2814 * gdb.compile/compile-ops.exp
2815 * gdb.compile/compile-print.exp
2816 * gdb.compile/compile-setjmp.exp
2817 * gdb.cp/abstract-origin.exp
2818 * gdb.cp/ambiguous.exp
2819 * gdb.cp/annota2.exp
2820 * gdb.cp/annota3.exp
2821 * gdb.cp/anon-ns.exp
2822 * gdb.cp/anon-struct.exp
2823 * gdb.cp/anon-union.exp
2824 * gdb.cp/arg-reference.exp
2825 * gdb.cp/baseenum.exp
2827 * gdb.cp/breakpoint.exp
2828 * gdb.cp/bs15503.exp
2831 * gdb.cp/chained-calls.exp
2833 * gdb.cp/classes.exp
2834 * gdb.cp/cmpd-minsyms.exp
2835 * gdb.cp/converts.exp
2836 * gdb.cp/cp-relocate.exp
2837 * gdb.cp/cpcompletion.exp
2838 * gdb.cp/cpexprs.exp
2839 * gdb.cp/cplabel.exp
2840 * gdb.cp/cplusfuncs.exp
2841 * gdb.cp/cpsizeof.exp
2843 * gdb.cp/derivation.exp
2844 * gdb.cp/destrprint.exp
2845 * gdb.cp/dispcxx.exp
2846 * gdb.cp/enum-class.exp
2847 * gdb.cp/exception.exp
2848 * gdb.cp/exceptprint.exp
2849 * gdb.cp/expand-psymtabs-cxx.exp
2850 * gdb.cp/expand-sals.exp
2851 * gdb.cp/extern-c.exp
2852 * gdb.cp/filename.exp
2853 * gdb.cp/formatted-ref.exp
2854 * gdb.cp/fpointer.exp
2855 * gdb.cp/gdb1355.exp
2856 * gdb.cp/gdb2495.exp
2858 * gdb.cp/impl-this.exp
2859 * gdb.cp/infcall-dlopen.exp
2860 * gdb.cp/inherit.exp
2861 * gdb.cp/iostream.exp
2865 * gdb.cp/m-static.exp
2866 * gdb.cp/mb-ctor.exp
2867 * gdb.cp/mb-inline.exp
2868 * gdb.cp/mb-templates.exp
2869 * gdb.cp/member-name.exp
2870 * gdb.cp/member-ptr.exp
2871 * gdb.cp/meth-typedefs.exp
2873 * gdb.cp/method2.exp
2874 * gdb.cp/minsym-fallback.exp
2876 * gdb.cp/namelessclass.exp
2877 * gdb.cp/namespace-enum.exp
2878 * gdb.cp/namespace-nested-import.exp
2879 * gdb.cp/namespace.exp
2880 * gdb.cp/nextoverthrow.exp
2881 * gdb.cp/no-dmgl-verbose.exp
2882 * gdb.cp/non-trivial-retval.exp
2883 * gdb.cp/noparam.exp
2885 * gdb.cp/nsimport.exp
2886 * gdb.cp/nsnested.exp
2887 * gdb.cp/nsnoimports.exp
2888 * gdb.cp/nsrecurs.exp
2889 * gdb.cp/nsstress.exp
2890 * gdb.cp/nsusing.exp
2891 * gdb.cp/operator.exp
2892 * gdb.cp/oranking.exp
2893 * gdb.cp/overload-const.exp
2894 * gdb.cp/overload.exp
2895 * gdb.cp/ovldbreak.exp
2897 * gdb.cp/paren-type.exp
2898 * gdb.cp/parse-lang.exp
2899 * gdb.cp/pass-by-ref.exp
2900 * gdb.cp/pr-1023.exp
2901 * gdb.cp/pr-1210.exp
2903 * gdb.cp/pr10687.exp
2904 * gdb.cp/pr12028.exp
2905 * gdb.cp/pr17132.exp
2906 * gdb.cp/pr17494.exp
2910 * gdb.cp/printmethod.exp
2912 * gdb.cp/psymtab-parameter.exp
2913 * gdb.cp/ptype-cv-cp.exp
2914 * gdb.cp/ptype-flags.exp
2915 * gdb.cp/re-set-overloaded.exp
2916 * gdb.cp/ref-types.exp
2918 * gdb.cp/scope-err.exp
2921 * gdb.cp/static-method.exp
2922 * gdb.cp/static-print-quit.exp
2923 * gdb.cp/temargs.exp
2924 * gdb.cp/templates.exp
2925 * gdb.cp/try_catch.exp
2926 * gdb.cp/typedef-operator.exp
2928 * gdb.cp/userdef.exp
2929 * gdb.cp/using-crash.exp
2930 * gdb.cp/var-tag.exp
2931 * gdb.cp/virtbase.exp
2932 * gdb.cp/virtfunc.exp
2933 * gdb.cp/virtfunc2.exp
2934 * gdb.cp/vla-cxx.exp
2935 * gdb.disasm/t01_mov.exp
2936 * gdb.disasm/t02_mova.exp
2937 * gdb.disasm/t03_add.exp
2938 * gdb.disasm/t04_sub.exp
2939 * gdb.disasm/t05_cmp.exp
2940 * gdb.disasm/t06_ari2.exp
2941 * gdb.disasm/t07_ari3.exp
2942 * gdb.disasm/t08_or.exp
2943 * gdb.disasm/t09_xor.exp
2944 * gdb.disasm/t10_and.exp
2945 * gdb.disasm/t11_logs.exp
2946 * gdb.disasm/t12_bit.exp
2947 * gdb.disasm/t13_otr.exp
2948 * gdb.dlang/circular.exp
2949 * gdb.dwarf2/arr-stride.exp
2950 * gdb.dwarf2/arr-subrange.exp
2951 * gdb.dwarf2/atomic-type.exp
2952 * gdb.dwarf2/bad-regnum.exp
2953 * gdb.dwarf2/bitfield-parent-optimized-out.exp
2954 * gdb.dwarf2/callframecfa.exp
2955 * gdb.dwarf2/clztest.exp
2956 * gdb.dwarf2/corrupt.exp
2957 * gdb.dwarf2/data-loc.exp
2958 * gdb.dwarf2/dup-psym.exp
2959 * gdb.dwarf2/dw2-anon-mptr.exp
2960 * gdb.dwarf2/dw2-anonymous-func.exp
2961 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
2962 * gdb.dwarf2/dw2-bad-unresolved.exp
2963 * gdb.dwarf2/dw2-basic.exp
2964 * gdb.dwarf2/dw2-canonicalize-type.exp
2965 * gdb.dwarf2/dw2-case-insensitive.exp
2966 * gdb.dwarf2/dw2-common-block.exp
2967 * gdb.dwarf2/dw2-compdir-oldgcc.exp
2968 * gdb.dwarf2/dw2-compressed.exp
2969 * gdb.dwarf2/dw2-const.exp
2970 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
2971 * gdb.dwarf2/dw2-cu-size.exp
2972 * gdb.dwarf2/dw2-dup-frame.exp
2973 * gdb.dwarf2/dw2-entry-value.exp
2974 * gdb.dwarf2/dw2-icycle.exp
2975 * gdb.dwarf2/dw2-ifort-parameter.exp
2976 * gdb.dwarf2/dw2-inline-break.exp
2977 * gdb.dwarf2/dw2-inline-param.exp
2978 * gdb.dwarf2/dw2-intercu.exp
2979 * gdb.dwarf2/dw2-intermix.exp
2980 * gdb.dwarf2/dw2-lexical-block-bare.exp
2981 * gdb.dwarf2/dw2-linkage-name-trust.exp
2982 * gdb.dwarf2/dw2-minsym-in-cu.exp
2983 * gdb.dwarf2/dw2-noloc.exp
2984 * gdb.dwarf2/dw2-op-call.exp
2985 * gdb.dwarf2/dw2-op-out-param.exp
2986 * gdb.dwarf2/dw2-opt-structptr.exp
2987 * gdb.dwarf2/dw2-param-error.exp
2988 * gdb.dwarf2/dw2-producer.exp
2989 * gdb.dwarf2/dw2-ranges-base.exp
2990 * gdb.dwarf2/dw2-ref-missing-frame.exp
2991 * gdb.dwarf2/dw2-reg-undefined.exp
2992 * gdb.dwarf2/dw2-regno-invalid.exp
2993 * gdb.dwarf2/dw2-restore.exp
2994 * gdb.dwarf2/dw2-restrict.exp
2995 * gdb.dwarf2/dw2-single-line-discriminators.exp
2996 * gdb.dwarf2/dw2-strp.exp
2997 * gdb.dwarf2/dw2-undefined-ret-addr.exp
2998 * gdb.dwarf2/dw2-unresolved.exp
2999 * gdb.dwarf2/dw2-var-zero-addr.exp
3000 * gdb.dwarf2/dw4-sig-types.exp
3001 * gdb.dwarf2/dwz.exp
3002 * gdb.dwarf2/dynarr-ptr.exp
3003 * gdb.dwarf2/enum-type.exp
3004 * gdb.dwarf2/gdb-index.exp
3005 * gdb.dwarf2/implptr-64bit.exp
3006 * gdb.dwarf2/implptr-optimized-out.exp
3007 * gdb.dwarf2/implptr.exp
3008 * gdb.dwarf2/implref-array.exp
3009 * gdb.dwarf2/implref-const.exp
3010 * gdb.dwarf2/implref-global.exp
3011 * gdb.dwarf2/implref-struct.exp
3012 * gdb.dwarf2/mac-fileno.exp
3013 * gdb.dwarf2/main-subprogram.exp
3014 * gdb.dwarf2/member-ptr-forwardref.exp
3015 * gdb.dwarf2/method-ptr.exp
3016 * gdb.dwarf2/missing-sig-type.exp
3017 * gdb.dwarf2/nonvar-access.exp
3018 * gdb.dwarf2/opaque-type-lookup.exp
3019 * gdb.dwarf2/pieces-optimized-out.exp
3020 * gdb.dwarf2/pieces.exp
3021 * gdb.dwarf2/pr10770.exp
3022 * gdb.dwarf2/pr13961.exp
3023 * gdb.dwarf2/staticvirtual.exp
3024 * gdb.dwarf2/subrange.exp
3025 * gdb.dwarf2/symtab-producer.exp
3026 * gdb.dwarf2/trace-crash.exp
3027 * gdb.dwarf2/typeddwarf.exp
3028 * gdb.dwarf2/valop.exp
3029 * gdb.dwarf2/watch-notconst.exp
3030 * gdb.fortran/array-element.exp
3031 * gdb.fortran/charset.exp
3032 * gdb.fortran/common-block.exp
3033 * gdb.fortran/complex.exp
3034 * gdb.fortran/derived-type-function.exp
3035 * gdb.fortran/derived-type.exp
3036 * gdb.fortran/logical.exp
3037 * gdb.fortran/module.exp
3038 * gdb.fortran/multi-dim.exp
3039 * gdb.fortran/nested-funcs.exp
3040 * gdb.fortran/print-formatted.exp
3041 * gdb.fortran/subarray.exp
3042 * gdb.fortran/vla-alloc-assoc.exp
3043 * gdb.fortran/vla-datatypes.exp
3044 * gdb.fortran/vla-history.exp
3045 * gdb.fortran/vla-ptr-info.exp
3046 * gdb.fortran/vla-ptype-sub.exp
3047 * gdb.fortran/vla-ptype.exp
3048 * gdb.fortran/vla-sizeof.exp
3049 * gdb.fortran/vla-type.exp
3050 * gdb.fortran/vla-value-sub-arbitrary.exp
3051 * gdb.fortran/vla-value-sub-finish.exp
3052 * gdb.fortran/vla-value-sub.exp
3053 * gdb.fortran/vla-value.exp
3054 * gdb.fortran/whatis_type.exp
3056 * gdb.go/handcall.exp
3058 * gdb.go/integers.exp
3059 * gdb.go/methods.exp
3060 * gdb.go/package.exp
3061 * gdb.go/strings.exp
3064 * gdb.guile/scm-arch.exp
3065 * gdb.guile/scm-block.exp
3066 * gdb.guile/scm-breakpoint.exp
3067 * gdb.guile/scm-cmd.exp
3068 * gdb.guile/scm-disasm.exp
3069 * gdb.guile/scm-equal.exp
3070 * gdb.guile/scm-frame-args.exp
3071 * gdb.guile/scm-frame-inline.exp
3072 * gdb.guile/scm-frame.exp
3073 * gdb.guile/scm-iterator.exp
3074 * gdb.guile/scm-math.exp
3075 * gdb.guile/scm-objfile.exp
3076 * gdb.guile/scm-ports.exp
3077 * gdb.guile/scm-symbol.exp
3078 * gdb.guile/scm-symtab.exp
3079 * gdb.guile/scm-value-cc.exp
3080 * gdb.guile/types-module.exp
3081 * gdb.linespec/break-ask.exp
3082 * gdb.linespec/cpexplicit.exp
3083 * gdb.linespec/explicit.exp
3084 * gdb.linespec/keywords.exp
3085 * gdb.linespec/linespec.exp
3086 * gdb.linespec/ls-dollar.exp
3087 * gdb.linespec/ls-errs.exp
3088 * gdb.linespec/skip-two.exp
3089 * gdb.linespec/thread.exp
3090 * gdb.mi/mi-async.exp
3091 * gdb.mi/mi-basics.exp
3092 * gdb.mi/mi-break.exp
3093 * gdb.mi/mi-catch-load.exp
3095 * gdb.mi/mi-cmd-param-changed.exp
3096 * gdb.mi/mi-console.exp
3097 * gdb.mi/mi-detach.exp
3098 * gdb.mi/mi-disassemble.exp
3099 * gdb.mi/mi-eval.exp
3100 * gdb.mi/mi-file-transfer.exp
3101 * gdb.mi/mi-file.exp
3102 * gdb.mi/mi-fill-memory.exp
3103 * gdb.mi/mi-inheritance-syntax-error.exp
3104 * gdb.mi/mi-linespec-err-cp.exp
3105 * gdb.mi/mi-logging.exp
3106 * gdb.mi/mi-memory-changed.exp
3107 * gdb.mi/mi-read-memory.exp
3108 * gdb.mi/mi-record-changed.exp
3109 * gdb.mi/mi-reg-undefined.exp
3110 * gdb.mi/mi-regs.exp
3111 * gdb.mi/mi-return.exp
3112 * gdb.mi/mi-reverse.exp
3113 * gdb.mi/mi-simplerun.exp
3114 * gdb.mi/mi-solib.exp
3115 * gdb.mi/mi-stack.exp
3116 * gdb.mi/mi-stepi.exp
3117 * gdb.mi/mi-syn-frame.exp
3118 * gdb.mi/mi-until.exp
3119 * gdb.mi/mi-var-block.exp
3120 * gdb.mi/mi-var-child.exp
3121 * gdb.mi/mi-var-cmd.exp
3122 * gdb.mi/mi-var-cp.exp
3123 * gdb.mi/mi-var-display.exp
3124 * gdb.mi/mi-var-invalidate.exp
3125 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
3126 * gdb.mi/mi-vla-fortran.exp
3127 * gdb.mi/mi-watch.exp
3128 * gdb.mi/mi2-var-child.exp
3129 * gdb.mi/user-selected-context-sync.exp
3130 * gdb.modula2/unbounded-array.exp
3131 * gdb.multi/dummy-frame-restore.exp
3132 * gdb.multi/multi-arch-exec.exp
3133 * gdb.multi/multi-arch.exp
3134 * gdb.multi/tids.exp
3135 * gdb.multi/watchpoint-multi.exp
3136 * gdb.opencl/callfuncs.exp
3137 * gdb.opencl/convs_casts.exp
3138 * gdb.opencl/datatypes.exp
3139 * gdb.opencl/operators.exp
3140 * gdb.opencl/vec_comps.exp
3141 * gdb.opt/clobbered-registers-O2.exp
3142 * gdb.opt/inline-break.exp
3143 * gdb.opt/inline-bt.exp
3144 * gdb.opt/inline-cmds.exp
3145 * gdb.opt/inline-locals.exp
3146 * gdb.pascal/case-insensitive-symbols.exp
3147 * gdb.pascal/floats.exp
3148 * gdb.pascal/gdb11492.exp
3149 * gdb.python/lib-types.exp
3150 * gdb.python/py-arch.exp
3151 * gdb.python/py-as-string.exp
3152 * gdb.python/py-bad-printers.exp
3153 * gdb.python/py-block.exp
3154 * gdb.python/py-breakpoint-create-fail.exp
3155 * gdb.python/py-breakpoint.exp
3156 * gdb.python/py-caller-is.exp
3157 * gdb.python/py-cmd.exp
3158 * gdb.python/py-explore-cc.exp
3159 * gdb.python/py-explore.exp
3160 * gdb.python/py-finish-breakpoint.exp
3161 * gdb.python/py-finish-breakpoint2.exp
3162 * gdb.python/py-frame-args.exp
3163 * gdb.python/py-frame-inline.exp
3164 * gdb.python/py-frame.exp
3165 * gdb.python/py-framefilter-mi.exp
3166 * gdb.python/py-infthread.exp
3167 * gdb.python/py-lazy-string.exp
3168 * gdb.python/py-linetable.exp
3169 * gdb.python/py-mi-events.exp
3170 * gdb.python/py-mi-objfile.exp
3171 * gdb.python/py-mi.exp
3172 * gdb.python/py-objfile.exp
3173 * gdb.python/py-pp-integral.exp
3174 * gdb.python/py-pp-maint.exp
3175 * gdb.python/py-pp-re-notag.exp
3176 * gdb.python/py-pp-registration.exp
3177 * gdb.python/py-recurse-unwind.exp
3178 * gdb.python/py-strfns.exp
3179 * gdb.python/py-symbol.exp
3180 * gdb.python/py-symtab.exp
3181 * gdb.python/py-sync-interp.exp
3182 * gdb.python/py-typeprint.exp
3183 * gdb.python/py-unwind-maint.exp
3184 * gdb.python/py-unwind.exp
3185 * gdb.python/py-value-cc.exp
3186 * gdb.python/py-xmethods.exp
3187 * gdb.reverse/amd64-tailcall-reverse.exp
3188 * gdb.reverse/break-precsave.exp
3189 * gdb.reverse/break-reverse.exp
3190 * gdb.reverse/consecutive-precsave.exp
3191 * gdb.reverse/consecutive-reverse.exp
3192 * gdb.reverse/finish-precsave.exp
3193 * gdb.reverse/finish-reverse-bkpt.exp
3194 * gdb.reverse/finish-reverse.exp
3195 * gdb.reverse/fstatat-reverse.exp
3196 * gdb.reverse/getresuid-reverse.exp
3197 * gdb.reverse/i386-precsave.exp
3198 * gdb.reverse/i386-reverse.exp
3199 * gdb.reverse/i386-sse-reverse.exp
3200 * gdb.reverse/i387-env-reverse.exp
3201 * gdb.reverse/i387-stack-reverse.exp
3202 * gdb.reverse/insn-reverse.exp
3203 * gdb.reverse/machinestate-precsave.exp
3204 * gdb.reverse/machinestate.exp
3205 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3206 * gdb.reverse/pipe-reverse.exp
3207 * gdb.reverse/readv-reverse.exp
3208 * gdb.reverse/recvmsg-reverse.exp
3209 * gdb.reverse/rerun-prec.exp
3210 * gdb.reverse/s390-mvcle.exp
3211 * gdb.reverse/step-precsave.exp
3212 * gdb.reverse/step-reverse.exp
3213 * gdb.reverse/time-reverse.exp
3214 * gdb.reverse/until-precsave.exp
3215 * gdb.reverse/until-reverse.exp
3216 * gdb.reverse/waitpid-reverse.exp
3217 * gdb.reverse/watch-precsave.exp
3218 * gdb.reverse/watch-reverse.exp
3219 * gdb.rust/generics.exp
3220 * gdb.rust/methods.exp
3221 * gdb.rust/modules.exp
3222 * gdb.rust/simple.exp
3223 * gdb.server/connect-with-no-symbol-file.exp
3224 * gdb.server/ext-attach.exp
3225 * gdb.server/ext-restart.exp
3226 * gdb.server/ext-wrapper.exp
3227 * gdb.server/file-transfer.exp
3228 * gdb.server/server-exec-info.exp
3229 * gdb.server/server-kill.exp
3230 * gdb.server/server-mon.exp
3231 * gdb.server/wrapper.exp
3232 * gdb.stabs/exclfwd.exp
3233 * gdb.stabs/gdb11479.exp
3234 * gdb.threads/clone-new-thread-event.exp
3235 * gdb.threads/corethreads.exp
3236 * gdb.threads/current-lwp-dead.exp
3237 * gdb.threads/dlopen-libpthread.exp
3238 * gdb.threads/gcore-thread.exp
3239 * gdb.threads/sigstep-threads.exp
3240 * gdb.threads/watchpoint-fork.exp
3241 * gdb.trace/actions-changed.exp
3242 * gdb.trace/backtrace.exp
3243 * gdb.trace/change-loc.exp
3244 * gdb.trace/circ.exp
3245 * gdb.trace/collection.exp
3246 * gdb.trace/disconnected-tracing.exp
3247 * gdb.trace/ftrace.exp
3248 * gdb.trace/mi-trace-frame-collected.exp
3249 * gdb.trace/mi-trace-unavailable.exp
3250 * gdb.trace/mi-traceframe-changed.exp
3251 * gdb.trace/mi-tsv-changed.exp
3252 * gdb.trace/no-attach-trace.exp
3253 * gdb.trace/passc-dyn.exp
3254 * gdb.trace/qtro.exp
3255 * gdb.trace/range-stepping.exp
3256 * gdb.trace/read-memory.exp
3257 * gdb.trace/save-trace.exp
3258 * gdb.trace/signal.exp
3259 * gdb.trace/status-stop.exp
3260 * gdb.trace/tfile.exp
3261 * gdb.trace/trace-break.exp
3262 * gdb.trace/trace-buffer-size.exp
3263 * gdb.trace/trace-condition.exp
3264 * gdb.trace/tracefile-pseudo-reg.exp
3265 * gdb.trace/tstatus.exp
3266 * gdb.trace/unavailable.exp
3267 * gdb.trace/while-dyn.exp
3268 * gdb.trace/while-stepping.exp
3270 2016-12-22 Doug Evans <xdje42@gmail.com>
3272 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
3275 2016-12-19 Yao Qi <yao.qi@linaro.org>
3277 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
3278 (test_with_self): Don't call do_steps_and_nexts, and remove
3279 code about stepping into xmalloc.
3281 2016-12-09 Yao Qi <yao.qi@linaro.org>
3283 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
3285 2016-12-09 Yao Qi <yao.qi@linaro.org>
3287 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
3289 2016-12-09 Pedro Alves <palves@redhat.com>
3291 * gdb.base/all-architectures-0.exp: New file.
3292 * gdb.base/all-architectures-1.exp: New file.
3293 * gdb.base/all-architectures-2.exp: New file.
3294 * gdb.base/all-architectures-3.exp: New file.
3295 * gdb.base/all-architectures-4.exp: New file.
3296 * gdb.base/all-architectures-5.exp: New file.
3297 * gdb.base/all-architectures-6.exp: New file.
3298 * gdb.base/all-architectures-7.exp: New file.
3299 * gdb.base/all-architectures.exp.in: New file.
3301 2016-12-09 Yao Qi <yao.qi@linaro.org>
3303 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
3305 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3307 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
3309 Remove useless pattern-matching code.
3311 2016-12-02 Pedro Alves <palves@redhat.com>
3313 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
3315 (top level): Call it.
3317 2016-12-02 Pedro Alves <palves@redhat.com>
3319 * gdb.base/commands.exp (user_defined_command_args_stack_test):
3321 (top level): Call it.
3323 2016-12-02 Pedro Alves <palves@redhat.com>
3326 * gdb.base/commands.exp (user_defined_command_args_eval): New
3328 (top level): Call it.
3330 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3332 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
3335 2016-12-02 Tom Tromey <tom@tromey.com>
3337 * gdb.dwarf2/main-subprogram.c: New file.
3338 * gdb.dwarf2/main-subprogram.exp: New file.
3340 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3342 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
3343 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
3344 gdb_test_no_output for a couple of cases.
3345 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
3347 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3349 Fix test names and standardize compilation error messages throughout
3350 the following files:
3353 * gdb.arch/alpha-step.exp
3354 * gdb.arch/e500-prologue.exp
3355 * gdb.arch/ftrace-insn-reloc.exp
3356 * gdb.arch/gdb1291.exp
3357 * gdb.arch/gdb1431.exp
3358 * gdb.arch/gdb1558.exp
3359 * gdb.arch/i386-dr3-watch.exp
3360 * gdb.arch/i386-sse-stack-align.exp
3361 * gdb.arch/ia64-breakpoint-shadow.exp
3362 * gdb.arch/pa-nullify.exp
3363 * gdb.arch/powerpc-aix-prologue.exp
3364 * gdb.arch/thumb-bx-pc.exp
3365 * gdb.base/annota1.exp
3366 * gdb.base/annota3.exp
3367 * gdb.base/arrayidx.exp
3368 * gdb.base/assign.exp
3369 * gdb.base/attach.exp
3372 * gdb.base/bfp-test.exp
3373 * gdb.base/bigcore.exp
3374 * gdb.base/bitfields2.exp
3375 * gdb.base/break-fun-addr.exp
3376 * gdb.base/break-probes.exp
3377 * gdb.base/call-rt-st.exp
3378 * gdb.base/callexit.exp
3379 * gdb.base/catch-fork-kill.exp
3380 * gdb.base/charset.exp
3381 * gdb.base/checkpoint.exp
3382 * gdb.base/comprdebug.exp
3383 * gdb.base/constvars.exp
3384 * gdb.base/coredump-filter.exp
3385 * gdb.base/cursal.exp
3386 * gdb.base/cvexpr.exp
3387 * gdb.base/detach.exp
3388 * gdb.base/display.exp
3389 * gdb.base/dmsym.exp
3390 * gdb.base/dprintf-pending.exp
3391 * gdb.base/dso2dso.exp
3392 * gdb.base/dtrace-probe.exp
3394 * gdb.base/enum_cond.exp
3395 * gdb.base/exe-lock.exp
3396 * gdb.base/exec-invalid-sysroot.exp
3397 * gdb.base/execl-update-breakpoints.exp
3398 * gdb.base/exprs.exp
3399 * gdb.base/fileio.exp
3401 * gdb.base/finish.exp
3402 * gdb.base/fixsection.exp
3403 * gdb.base/foll-vfork.exp
3404 * gdb.base/frame-args.exp
3405 * gdb.base/gcore.exp
3406 * gdb.base/gdb1250.exp
3407 * gdb.base/global-var-nested-by-dso.exp
3408 * gdb.base/gnu-ifunc.exp
3409 * gdb.base/hashline1.exp
3410 * gdb.base/hashline2.exp
3411 * gdb.base/hashline3.exp
3412 * gdb.base/hbreak-in-shr-unsupported.exp
3414 * gdb.base/infcall-input.exp
3415 * gdb.base/info-fun.exp
3416 * gdb.base/info-shared.exp
3417 * gdb.base/jit-simple.exp
3418 * gdb.base/jit-so.exp
3421 * gdb.base/label.exp
3422 * gdb.base/lineinc.exp
3423 * gdb.base/logical.exp
3424 * gdb.base/longjmp.exp
3425 * gdb.base/macscp.exp
3426 * gdb.base/miscexprs.exp
3427 * gdb.base/new-ui-echo.exp
3428 * gdb.base/new-ui-pending-input.exp
3429 * gdb.base/new-ui.exp
3430 * gdb.base/nodebug.exp
3431 * gdb.base/nofield.exp
3432 * gdb.base/offsets.exp
3433 * gdb.base/overlays.exp
3434 * gdb.base/pending.exp
3435 * gdb.base/pointers.exp
3436 * gdb.base/pr11022.exp
3437 * gdb.base/printcmds.exp
3438 * gdb.base/prologue.exp
3439 * gdb.base/ptr-typedef.exp
3440 * gdb.base/realname-expand.exp
3441 * gdb.base/relativedebug.exp
3442 * gdb.base/relocate.exp
3443 * gdb.base/remote.exp
3444 * gdb.base/reread.exp
3445 * gdb.base/return2.exp
3446 * gdb.base/savedregs.exp
3448 * gdb.base/sepdebug.exp
3449 * gdb.base/sepsymtab.exp
3450 * gdb.base/set-inferior-tty.exp
3451 * gdb.base/setshow.exp
3452 * gdb.base/shlib-call.exp
3453 * gdb.base/sigaltstack.exp
3454 * gdb.base/siginfo-addr.exp
3455 * gdb.base/signals.exp
3456 * gdb.base/signull.exp
3457 * gdb.base/sigrepeat.exp
3458 * gdb.base/so-impl-ld.exp
3459 * gdb.base/solib-display.exp
3460 * gdb.base/solib-overlap.exp
3461 * gdb.base/solib-search.exp
3462 * gdb.base/solib-symbol.exp
3463 * gdb.base/structs.exp
3464 * gdb.base/structs2.exp
3465 * gdb.base/symtab-search-order.exp
3466 * gdb.base/twice.exp
3467 * gdb.base/unload.exp
3468 * gdb.base/varargs.exp
3469 * gdb.base/watchpoint-solib.exp
3470 * gdb.base/watchpoint.exp
3471 * gdb.base/whatis.exp
3472 * gdb.base/wrong_frame_bt_full.exp
3473 * gdb.btrace/dlopen.exp
3474 * gdb.cell/ea-standalone.exp
3475 * gdb.cell/ea-test.exp
3476 * gdb.cp/dispcxx.exp
3477 * gdb.cp/gdb2384.exp
3478 * gdb.cp/method2.exp
3479 * gdb.cp/nextoverthrow.exp
3480 * gdb.cp/pr10728.exp
3481 * gdb.disasm/am33.exp
3482 * gdb.disasm/h8300s.exp
3483 * gdb.disasm/mn10300.exp
3484 * gdb.disasm/sh3.exp
3485 * gdb.dwarf2/dw2-dir-file-name.exp
3486 * gdb.fortran/complex.exp
3487 * gdb.fortran/library-module.exp
3488 * gdb.guile/scm-pretty-print.exp
3489 * gdb.guile/scm-symbol.exp
3490 * gdb.guile/scm-type.exp
3491 * gdb.guile/scm-value.exp
3492 * gdb.linespec/linespec.exp
3495 * gdb.mi/mi-breakpoint-changed.exp
3496 * gdb.mi/mi-dprintf-pending.exp
3497 * gdb.mi/mi-dprintf.exp
3498 * gdb.mi/mi-exit-code.exp
3499 * gdb.mi/mi-pending.exp
3500 * gdb.mi/mi-solib.exp
3501 * gdb.mi/new-ui-mi-sync.exp
3502 * gdb.mi/pr11022.exp
3503 * gdb.mi/user-selected-context-sync.exp
3504 * gdb.opt/solib-intra-step.exp
3505 * gdb.python/py-events.exp
3506 * gdb.python/py-finish-breakpoint.exp
3507 * gdb.python/py-mi.exp
3508 * gdb.python/py-prettyprint.exp
3509 * gdb.python/py-shared.exp
3510 * gdb.python/py-symbol.exp
3511 * gdb.python/py-template.exp
3512 * gdb.python/py-type.exp
3513 * gdb.python/py-value.exp
3514 * gdb.reverse/solib-precsave.exp
3515 * gdb.reverse/solib-reverse.exp
3516 * gdb.server/solib-list.exp
3517 * gdb.stabs/weird.exp
3518 * gdb.threads/reconnect-signal.exp
3519 * gdb.threads/stepi-random-signal.exp
3520 * gdb.trace/actions.exp
3522 * gdb.trace/backtrace.exp
3523 * gdb.trace/change-loc.exp
3524 * gdb.trace/deltrace.exp
3525 * gdb.trace/ftrace-lock.exp
3526 * gdb.trace/ftrace.exp
3527 * gdb.trace/infotrace.exp
3528 * gdb.trace/mi-tracepoint-changed.exp
3529 * gdb.trace/packetlen.exp
3530 * gdb.trace/passcount.exp
3531 * gdb.trace/pending.exp
3532 * gdb.trace/range-stepping.exp
3533 * gdb.trace/report.exp
3534 * gdb.trace/stap-trace.exp
3535 * gdb.trace/tfind.exp
3536 * gdb.trace/trace-break.exp
3537 * gdb.trace/trace-condition.exp
3538 * gdb.trace/trace-enable-disable.exp
3539 * gdb.trace/trace-mt.exp
3540 * gdb.trace/tracecmd.exp
3541 * gdb.trace/tspeed.exp
3545 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3547 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
3548 with gdb_test_no_output.
3549 Use command as test name.
3551 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3553 Fix test names starting with uppercase throughout the files.
3555 * gdb.ada/assign_1.exp
3556 * gdb.ada/boolean_expr.exp
3557 * gdb.base/arrayidx.exp
3559 * gdb.base/gcore-buffer-overflow.exp
3560 * gdb.base/testenv.exp
3561 * gdb.compile/compile.exp
3562 * gdb.python/py-framefilter-invalidarg.exp
3563 * gdb.python/py-framefilter.exp
3565 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3567 Fix test names starting with uppercase throughout the files.
3569 * gdb.ada/array_return.exp
3570 * gdb.ada/expr_delims.exp
3571 * gdb.ada/mi_dyn_arr.exp
3572 * gdb.ada/mi_interface.exp
3573 * gdb.ada/mi_var_array.exp
3574 * gdb.ada/watch_arg.exp
3575 * gdb.arch/alpha-step.exp
3576 * gdb.arch/altivec-regs.exp
3577 * gdb.arch/e500-regs.exp
3578 * gdb.arch/powerpc-d128-regs.exp
3579 * gdb.base/arrayidx.exp
3580 * gdb.base/break.exp
3581 * gdb.base/checkpoint.exp
3582 * gdb.base/debug-expr.exp
3583 * gdb.base/dmsym.exp
3584 * gdb.base/radix.exp
3585 * gdb.base/sepdebug.exp
3586 * gdb.base/testenv.exp
3587 * gdb.base/watch_thread_num.exp
3588 * gdb.base/watchpoint-cond-gone.exp
3589 * gdb.cell/break.exp
3590 * gdb.cell/ea-cache.exp
3591 * gdb.compile/compile.exp
3592 * gdb.cp/gdb2495.exp
3593 * gdb.gdb/selftest.exp
3594 * gdb.gdb/xfullpath.exp
3596 * gdb.go/integers.exp
3597 * gdb.objc/basicclass.exp
3598 * gdb.pascal/hello.exp
3599 * gdb.pascal/integers.exp
3600 * gdb.python/py-breakpoint.exp
3601 * gdb.python/py-cmd.exp
3602 * gdb.python/py-linetable.exp
3603 * gdb.python/py-xmethods.exp
3604 * gdb.python/python.exp
3605 * gdb.reverse/consecutive-precsave.exp
3606 * gdb.reverse/finish-precsave.exp
3607 * gdb.reverse/i386-precsave.exp
3608 * gdb.reverse/machinestate-precsave.exp
3609 * gdb.reverse/sigall-precsave.exp
3610 * gdb.reverse/solib-precsave.exp
3611 * gdb.reverse/step-precsave.exp
3612 * gdb.reverse/until-precsave.exp
3613 * gdb.reverse/watch-precsave.exp
3614 * gdb.threads/leader-exit.exp
3615 * gdb.threads/pthreads.exp
3616 * gdb.threads/wp-replication.exp
3617 * gdb.trace/actions.exp
3618 * gdb.trace/mi-tsv-changed.exp
3621 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3623 Fix test names starting with uppercase throughout the files.
3625 * gdb.arch/i386-bp_permanent.exp
3626 * gdb.arch/i386-gnu-cfi.exp
3627 * gdb.base/disasm-end-cu.exp
3628 * gdb.base/macscp.exp
3629 * gdb.base/pending.exp
3630 * gdb.base/watch_thread_num.exp
3631 * gdb.cp/exception.exp
3632 * gdb.cp/gdb2495.exp
3634 * gdb.python/py-evsignal.exp
3635 * gdb.python/python.exp
3636 * gdb.trace/tracecmd.exp
3638 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3640 Fix test names starting with uppercase throughout the files.
3642 * gdb.base/charset.exp
3644 * gdb.base/multi-forks.exp
3645 * gdb.guile/scm-progspace.exp
3646 * gdb.opencl/datatypes.exp
3647 * gdb.python/py-block.exp
3648 * gdb.python/py-function.exp
3649 * gdb.python/py-symbol.exp
3650 * gdb.python/py-symtab.exp
3651 * gdb.python/py-xmethods.exp
3652 * gdb.reverse/break-precsave.exp
3653 * gdb.reverse/break-reverse.exp
3654 * gdb.reverse/consecutive-precsave.exp
3655 * gdb.reverse/consecutive-reverse.exp
3656 * gdb.reverse/finish-precsave.exp
3657 * gdb.reverse/finish-reverse-bkpt.exp
3658 * gdb.reverse/finish-reverse.exp
3659 * gdb.reverse/fstatat-reverse.exp
3660 * gdb.reverse/getresuid-reverse.exp
3661 * gdb.reverse/i386-precsave.exp
3662 * gdb.reverse/i386-reverse.exp
3663 * gdb.reverse/i386-sse-reverse.exp
3664 * gdb.reverse/i387-stack-reverse.exp
3665 * gdb.reverse/insn-reverse.exp
3666 * gdb.reverse/machinestate-precsave.exp
3667 * gdb.reverse/machinestate.exp
3668 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3669 * gdb.reverse/pipe-reverse.exp
3670 * gdb.reverse/readv-reverse.exp
3671 * gdb.reverse/recvmsg-reverse.exp
3672 * gdb.reverse/rerun-prec.exp
3673 * gdb.reverse/s390-mvcle.exp
3674 * gdb.reverse/sigall-precsave.exp
3675 * gdb.reverse/sigall-reverse.exp
3676 * gdb.reverse/solib-precsave.exp
3677 * gdb.reverse/solib-reverse.exp
3678 * gdb.reverse/step-precsave.exp
3679 * gdb.reverse/step-reverse.exp
3680 * gdb.reverse/time-reverse.exp
3681 * gdb.reverse/until-precsave.exp
3682 * gdb.reverse/until-reverse.exp
3683 * gdb.reverse/waitpid-reverse.exp
3684 * gdb.reverse/watch-precsave.exp
3685 * gdb.reverse/watch-reverse.exp
3687 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3689 Fix test names starting with uppercase throughout the files.
3691 * gdb.arch/i386-mpx-simple_segv.exp
3692 * gdb.arch/i386-mpx.exp
3693 * gdb.arch/i386-permbkpt.exp
3694 * gdb.arch/pa-nullify.exp
3695 * gdb.arch/powerpc-d128-regs.exp
3696 * gdb.arch/vsx-regs.exp
3697 * gdb.base/bfp-test.exp
3698 * gdb.base/break.exp
3699 * gdb.base/breakpoint-shadow.exp
3700 * gdb.base/callfuncs.exp
3701 * gdb.base/charset.exp
3702 * gdb.base/commands.exp
3703 * gdb.base/completion.exp
3704 * gdb.base/dfp-test.exp
3706 * gdb.base/ending-run.exp
3708 * gdb.base/expand-psymtabs.exp
3709 * gdb.base/float128.exp
3710 * gdb.base/floatn.exp
3711 * gdb.base/foll-exec-mode.exp
3712 * gdb.base/gdb1056.exp
3713 * gdb.base/gdb11531.exp
3714 * gdb.base/kill-after-signal.exp
3715 * gdb.base/multi-forks.exp
3716 * gdb.base/overlays.exp
3717 * gdb.base/pending.exp
3718 * gdb.base/sepdebug.exp
3719 * gdb.base/testenv.exp
3720 * gdb.base/valgrind-db-attach.exp
3721 * gdb.base/watch_thread_num.exp
3722 * gdb.base/watchpoint-cond-gone.exp
3723 * gdb.base/watchpoint.exp
3724 * gdb.base/watchpoints.exp
3725 * gdb.cp/arg-reference.exp
3726 * gdb.cp/baseenum.exp
3727 * gdb.cp/operator.exp
3729 * gdb.dwarf2/dw2-op-out-param.exp
3730 * gdb.dwarf2/dw2-reg-undefined.exp
3733 * gdb.go/integers.exp
3734 * gdb.go/methods.exp
3735 * gdb.go/package.exp
3736 * gdb.guile/scm-parameter.exp
3737 * gdb.guile/scm-progspace.exp
3738 * gdb.guile/scm-value.exp
3739 * gdb.mi/mi-pending.exp
3740 * gdb.mi/user-selected-context-sync.exp
3741 * gdb.multi/multi-attach.exp
3742 * gdb.multi/tids.exp
3743 * gdb.opt/clobbered-registers-O2.exp
3744 * gdb.pascal/floats.exp
3745 * gdb.pascal/integers.exp
3746 * gdb.python/py-block.exp
3747 * gdb.python/py-events.exp
3748 * gdb.python/py-parameter.exp
3749 * gdb.python/py-symbol.exp
3750 * gdb.python/py-symtab.exp
3751 * gdb.python/py-type.exp
3752 * gdb.python/py-value.exp
3753 * gdb.python/py-xmethods.exp
3754 * gdb.python/python.exp
3755 * gdb.reverse/break-precsave.exp
3756 * gdb.reverse/consecutive-precsave.exp
3757 * gdb.reverse/finish-precsave.exp
3758 * gdb.reverse/i386-precsave.exp
3759 * gdb.reverse/machinestate-precsave.exp
3760 * gdb.reverse/sigall-precsave.exp
3761 * gdb.reverse/solib-precsave.exp
3762 * gdb.reverse/step-precsave.exp
3763 * gdb.reverse/until-precsave.exp
3764 * gdb.reverse/watch-precsave.exp
3765 * gdb.server/ext-attach.exp
3766 * gdb.server/ext-restart.exp
3767 * gdb.server/ext-run.exp
3768 * gdb.server/ext-wrapper.exp
3769 * gdb.stabs/gdb11479.exp
3770 * gdb.stabs/weird.exp
3771 * gdb.threads/attach-many-short-lived-threads.exp
3772 * gdb.threads/kill.exp
3773 * gdb.threads/watchpoint-fork.exp
3775 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3777 Fix test names starting with uppercase throughout all the files below.
3779 * gdb.ada/array_return.exp
3780 * gdb.ada/catch_ex.exp
3781 * gdb.ada/info_exc.exp
3782 * gdb.ada/mi_catch_ex.exp
3783 * gdb.ada/mi_dyn_arr.exp
3784 * gdb.ada/mi_ex_cond.exp
3785 * gdb.ada/mi_exc_info.exp
3786 * gdb.ada/mi_interface.exp
3787 * gdb.ada/mi_task_arg.exp
3788 * gdb.ada/mi_task_info.exp
3789 * gdb.ada/mi_var_array.exp
3790 * gdb.arch/alpha-step.exp
3791 * gdb.arch/amd64-disp-step.exp
3792 * gdb.arch/arm-disp-step.exp
3793 * gdb.arch/disp-step-insn-reloc.exp
3794 * gdb.arch/e500-prologue.exp
3795 * gdb.arch/ftrace-insn-reloc.exp
3796 * gdb.arch/gdb1558.exp
3797 * gdb.arch/i386-bp_permanent.exp
3798 * gdb.arch/i386-disp-step.exp
3799 * gdb.arch/i386-float.exp
3800 * gdb.arch/i386-gnu-cfi.exp
3801 * gdb.arch/ia64-breakpoint-shadow.exp
3802 * gdb.arch/mips16-thunks.exp
3803 * gdb.arch/pa-nullify.exp
3804 * gdb.arch/powerpc-aix-prologue.exp
3805 * gdb.arch/powerpc-power.exp
3806 * gdb.arch/ppc-dfp.exp
3807 * gdb.arch/s390-tdbregs.exp
3808 * gdb.arch/spu-info.exp
3809 * gdb.arch/spu-ls.exp
3810 * gdb.arch/thumb-bx-pc.exp
3811 * gdb.base/advance.exp
3812 * gdb.base/annota-input-while-running.exp
3813 * gdb.base/arrayidx.exp
3814 * gdb.base/asmlabel.exp
3815 * gdb.base/async.exp
3816 * gdb.base/attach-wait-input.exp
3817 * gdb.base/auto-connect-native-target.exp
3818 * gdb.base/batch-preserve-term-settings.exp
3819 * gdb.base/bfp-test.exp
3820 * gdb.base/bigcore.exp
3821 * gdb.base/bp-permanent.exp
3822 * gdb.base/break-always.exp
3823 * gdb.base/break-fun-addr.exp
3824 * gdb.base/break-idempotent.exp
3825 * gdb.base/break-main-file-remove-fail.exp
3826 * gdb.base/break-probes.exp
3827 * gdb.base/break-unload-file.exp
3828 * gdb.base/break.exp
3829 * gdb.base/call-ar-st.exp
3830 * gdb.base/call-rt-st.exp
3831 * gdb.base/call-sc.exp
3832 * gdb.base/call-signal-resume.exp
3833 * gdb.base/call-strs.exp
3834 * gdb.base/callexit.exp
3835 * gdb.base/callfuncs.exp
3836 * gdb.base/catch-gdb-caused-signals.exp
3837 * gdb.base/catch-signal-siginfo-cond.exp
3838 * gdb.base/catch-syscall.exp
3839 * gdb.base/compare-sections.exp
3840 * gdb.base/cond-eval-mode.exp
3841 * gdb.base/condbreak-call-false.exp
3842 * gdb.base/consecutive-step-over.exp
3843 * gdb.base/cursal.exp
3844 * gdb.base/disabled-location.exp
3845 * gdb.base/disasm-end-cu.exp
3846 * gdb.base/display.exp
3847 * gdb.base/double-prompt-target-event-error.exp
3848 * gdb.base/dprintf-bp-same-addr.exp
3849 * gdb.base/dprintf-detach.exp
3850 * gdb.base/dprintf-next.exp
3851 * gdb.base/dprintf-non-stop.exp
3852 * gdb.base/dprintf-pending.exp
3853 * gdb.base/dso2dso.exp
3854 * gdb.base/ending-run.exp
3855 * gdb.base/enum_cond.exp
3856 * gdb.base/examine-backward.exp
3857 * gdb.base/exe-lock.exp
3858 * gdb.base/exec-invalid-sysroot.exp
3859 * gdb.base/execl-update-breakpoints.exp
3860 * gdb.base/execution-termios.exp
3861 * gdb.base/fileio.exp
3862 * gdb.base/fixsection.exp
3863 * gdb.base/foll-exec-mode.exp
3864 * gdb.base/foll-exec.exp
3865 * gdb.base/fork-running-state.exp
3866 * gdb.base/frame-args.exp
3867 * gdb.base/fullpath-expand.exp
3868 * gdb.base/func-ptr.exp
3869 * gdb.base/gcore-relro-pie.exp
3870 * gdb.base/gdb1090.exp
3871 * gdb.base/gdb1555.exp
3872 * gdb.base/global-var-nested-by-dso.exp
3873 * gdb.base/gnu-ifunc.exp
3874 * gdb.base/hbreak-in-shr-unsupported.exp
3875 * gdb.base/hbreak-unmapped.exp
3876 * gdb.base/hook-stop.exp
3877 * gdb.base/infcall-input.exp
3878 * gdb.base/info-fun.exp
3879 * gdb.base/info-shared.exp
3880 * gdb.base/interrupt-noterm.exp
3881 * gdb.base/jit-so.exp
3883 * gdb.base/line-symtabs.exp
3885 * gdb.base/longjmp.exp
3886 * gdb.base/macscp.exp
3887 * gdb.base/max-value-size.exp
3888 * gdb.base/nodebug.exp
3889 * gdb.base/nofield.exp
3890 * gdb.base/overlays.exp
3891 * gdb.base/paginate-after-ctrl-c-running.exp
3892 * gdb.base/paginate-bg-execution.exp
3893 * gdb.base/paginate-inferior-exit.exp
3894 * gdb.base/pending.exp
3895 * gdb.base/pr11022.exp
3896 * gdb.base/printcmds.exp
3897 * gdb.base/ptr-typedef.exp
3898 * gdb.base/ptype.exp
3899 * gdb.base/randomize.exp
3900 * gdb.base/range-stepping.exp
3901 * gdb.base/realname-expand.exp
3902 * gdb.base/relativedebug.exp
3903 * gdb.base/remote.exp
3904 * gdb.base/savedregs.exp
3905 * gdb.base/sepdebug.exp
3906 * gdb.base/set-noassign.exp
3907 * gdb.base/shlib-call.exp
3908 * gdb.base/shreloc.exp
3909 * gdb.base/sigaltstack.exp
3910 * gdb.base/sigbpt.exp
3911 * gdb.base/siginfo-addr.exp
3912 * gdb.base/siginfo-obj.exp
3913 * gdb.base/siginfo-thread.exp
3914 * gdb.base/signest.exp
3915 * gdb.base/signull.exp
3916 * gdb.base/sigrepeat.exp
3918 * gdb.base/so-impl-ld.exp
3919 * gdb.base/solib-corrupted.exp
3920 * gdb.base/solib-disc.exp
3921 * gdb.base/solib-display.exp
3922 * gdb.base/solib-overlap.exp
3923 * gdb.base/solib-search.exp
3924 * gdb.base/solib-symbol.exp
3925 * gdb.base/source-execution.exp
3926 * gdb.base/sss-bp-on-user-bp-2.exp
3927 * gdb.base/sss-bp-on-user-bp.exp
3928 * gdb.base/stack-checking.exp
3929 * gdb.base/stale-infcall.exp
3930 * gdb.base/step-break.exp
3931 * gdb.base/step-line.exp
3932 * gdb.base/step-over-exit.exp
3933 * gdb.base/step-test.exp
3934 * gdb.base/structs.exp
3935 * gdb.base/sym-file.exp
3936 * gdb.base/symtab-search-order.exp
3938 * gdb.base/type-opaque.exp
3939 * gdb.base/unload.exp
3940 * gdb.base/until-nodebug.exp
3941 * gdb.base/until.exp
3942 * gdb.base/unwindonsignal.exp
3943 * gdb.base/watch-cond.exp
3944 * gdb.base/watch-non-mem.exp
3945 * gdb.base/watch_thread_num.exp
3946 * gdb.base/watchpoint-reuse-slot.exp
3947 * gdb.base/watchpoint-solib.exp
3948 * gdb.base/watchpoint.exp
3949 * gdb.btrace/dlopen.exp
3951 * gdb.cell/break.exp
3955 * gdb.cell/dwarfaddr.exp
3956 * gdb.cell/ea-cache.exp
3957 * gdb.cell/ea-standalone.exp
3958 * gdb.cell/ea-test.exp
3959 * gdb.cell/f-regs.exp
3961 * gdb.cell/gcore.exp
3962 * gdb.cell/mem-access.exp
3963 * gdb.cell/ptype.exp
3964 * gdb.cell/registers.exp
3965 * gdb.cell/sizeof.exp
3966 * gdb.cell/solib-symbol.exp
3967 * gdb.cell/solib.exp
3968 * gdb.compile/compile-tls.exp
3969 * gdb.cp/exception.exp
3970 * gdb.cp/gdb2495.exp
3972 * gdb.cp/mb-inline.exp
3973 * gdb.cp/mb-templates.exp
3974 * gdb.cp/pr10687.exp
3976 * gdb.cp/scope-err.exp
3977 * gdb.cp/templates.exp
3978 * gdb.cp/virtfunc.exp
3979 * gdb.dwarf2/dw2-dir-file-name.exp
3980 * gdb.dwarf2/dw2-single-line-discriminators.exp
3981 * gdb.fortran/complex.exp
3982 * gdb.fortran/library-module.exp
3983 * gdb.guile/guile.exp
3984 * gdb.guile/scm-cmd.exp
3985 * gdb.guile/scm-frame-inline.exp
3986 * gdb.guile/scm-objfile.exp
3987 * gdb.guile/scm-pretty-print.exp
3988 * gdb.guile/scm-symbol.exp
3989 * gdb.guile/scm-type.exp
3990 * gdb.guile/scm-value.exp
3991 * gdb.linespec/keywords.exp
3992 * gdb.linespec/ls-errs.exp
3993 * gdb.linespec/macro-relative.exp
3994 * gdb.linespec/thread.exp
3995 * gdb.mi/mi-breakpoint-changed.exp
3996 * gdb.mi/mi-dprintf-pending.exp
3997 * gdb.mi/mi-fullname-deleted.exp
3998 * gdb.mi/mi-logging.exp
3999 * gdb.mi/mi-pending.exp
4000 * gdb.mi/mi-solib.exp
4001 * gdb.mi/new-ui-mi-sync.exp
4002 * gdb.mi/user-selected-context-sync.exp
4003 * gdb.multi/dummy-frame-restore.exp
4004 * gdb.multi/multi-arch-exec.exp
4005 * gdb.multi/remove-inferiors.exp
4006 * gdb.multi/watchpoint-multi-exit.exp
4007 * gdb.opt/solib-intra-step.exp
4008 * gdb.perf/backtrace.exp
4009 * gdb.perf/single-step.exp
4010 * gdb.perf/skip-command.exp
4011 * gdb.perf/skip-prologue.exp
4012 * gdb.perf/solib.exp
4013 * gdb.python/lib-types.exp
4014 * gdb.python/py-as-string.exp
4015 * gdb.python/py-bad-printers.exp
4016 * gdb.python/py-block.exp
4017 * gdb.python/py-breakpoint.exp
4018 * gdb.python/py-cmd.exp
4019 * gdb.python/py-events.exp
4020 * gdb.python/py-evthreads.exp
4021 * gdb.python/py-finish-breakpoint.exp
4022 * gdb.python/py-finish-breakpoint2.exp
4023 * gdb.python/py-frame-inline.exp
4024 * gdb.python/py-frame.exp
4025 * gdb.python/py-inferior.exp
4026 * gdb.python/py-infthread.exp
4027 * gdb.python/py-mi.exp
4028 * gdb.python/py-objfile.exp
4029 * gdb.python/py-pp-maint.exp
4030 * gdb.python/py-pp-registration.exp
4031 * gdb.python/py-prettyprint.exp
4032 * gdb.python/py-recurse-unwind.exp
4033 * gdb.python/py-shared.exp
4034 * gdb.python/py-symbol.exp
4035 * gdb.python/py-symtab.exp
4036 * gdb.python/py-template.exp
4037 * gdb.python/py-type.exp
4038 * gdb.python/py-unwind-maint.exp
4039 * gdb.python/py-unwind.exp
4040 * gdb.python/py-value.exp
4041 * gdb.python/python.exp
4042 * gdb.reverse/finish-reverse-bkpt.exp
4043 * gdb.reverse/insn-reverse.exp
4044 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4045 * gdb.reverse/solib-precsave.exp
4046 * gdb.reverse/solib-reverse.exp
4047 * gdb.stabs/gdb11479.exp
4048 * gdb.stabs/weird.exp
4049 * gdb.threads/fork-child-threads.exp
4050 * gdb.threads/fork-plus-threads.exp
4051 * gdb.threads/fork-thread-pending.exp
4052 * gdb.threads/forking-threads-plus-breakpoint.exp
4053 * gdb.threads/hand-call-in-threads.exp
4054 * gdb.threads/interrupted-hand-call.exp
4055 * gdb.threads/linux-dp.exp
4056 * gdb.threads/local-watch-wrong-thread.exp
4057 * gdb.threads/next-while-other-thread-longjmps.exp
4058 * gdb.threads/non-ldr-exit.exp
4059 * gdb.threads/pending-step.exp
4060 * gdb.threads/print-threads.exp
4061 * gdb.threads/process-dies-while-detaching.exp
4062 * gdb.threads/process-dies-while-handling-bp.exp
4063 * gdb.threads/pthreads.exp
4064 * gdb.threads/queue-signal.exp
4065 * gdb.threads/reconnect-signal.exp
4066 * gdb.threads/signal-command-handle-nopass.exp
4067 * gdb.threads/signal-command-multiple-signals-pending.exp
4068 * gdb.threads/signal-delivered-right-thread.exp
4069 * gdb.threads/signal-sigtrap.exp
4070 * gdb.threads/sigthread.exp
4071 * gdb.threads/staticthreads.exp
4072 * gdb.threads/stepi-random-signal.exp
4073 * gdb.threads/thread-unwindonsignal.exp
4074 * gdb.threads/thread_check.exp
4075 * gdb.threads/thread_events.exp
4076 * gdb.threads/tid-reuse.exp
4077 * gdb.threads/tls-nodebug.exp
4078 * gdb.threads/tls-shared.exp
4079 * gdb.threads/tls-so_extern.exp
4080 * gdb.threads/tls.exp
4081 * gdb.threads/wp-replication.exp
4082 * gdb.trace/actions-changed.exp
4083 * gdb.trace/actions.exp
4084 * gdb.trace/backtrace.exp
4085 * gdb.trace/change-loc.exp
4086 * gdb.trace/collection.exp
4087 * gdb.trace/deltrace.exp
4088 * gdb.trace/disconnected-tracing.exp
4089 * gdb.trace/entry-values.exp
4090 * gdb.trace/ftrace-lock.exp
4091 * gdb.trace/ftrace.exp
4092 * gdb.trace/infotrace.exp
4093 * gdb.trace/mi-trace-frame-collected.exp
4094 * gdb.trace/mi-trace-unavailable.exp
4095 * gdb.trace/mi-traceframe-changed.exp
4096 * gdb.trace/mi-tracepoint-changed.exp
4097 * gdb.trace/mi-tsv-changed.exp
4098 * gdb.trace/no-attach-trace.exp
4099 * gdb.trace/packetlen.exp
4100 * gdb.trace/passc-dyn.exp
4101 * gdb.trace/passcount.exp
4102 * gdb.trace/pending.exp
4103 * gdb.trace/pr16508.exp
4104 * gdb.trace/qtro.exp
4105 * gdb.trace/range-stepping.exp
4106 * gdb.trace/read-memory.exp
4107 * gdb.trace/report.exp
4108 * gdb.trace/save-trace.exp
4109 * gdb.trace/signal.exp
4110 * gdb.trace/stap-trace.exp
4111 * gdb.trace/status-stop.exp
4112 * gdb.trace/strace.exp
4113 * gdb.trace/tfile.exp
4114 * gdb.trace/tfind.exp
4115 * gdb.trace/trace-break.exp
4116 * gdb.trace/trace-condition.exp
4117 * gdb.trace/trace-enable-disable.exp
4118 * gdb.trace/trace-mt.exp
4119 * gdb.trace/tracecmd.exp
4120 * gdb.trace/tracefile-pseudo-reg.exp
4121 * gdb.trace/tspeed.exp
4122 * gdb.trace/tstatus.exp
4124 * gdb.trace/unavailable.exp
4125 * gdb.trace/while-dyn.exp
4126 * gdb.trace/while-stepping.exp
4129 * lib/mi-support.exp
4132 * lib/prelink-support.exp
4133 * lib/selftest-support.exp
4135 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
4137 * Makefile.in: Include disable-implicit-rules.mk.
4139 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4141 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
4142 non-byte-aligned bit fields.
4144 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4147 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
4148 respects the DW_AT_data_bit_offset attribute.
4150 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
4152 * gdb.base/default.exp: Fix output of "set language".
4154 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
4156 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
4157 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
4159 * configure.ac: Remove checks for the make program.
4160 * configure: Re-generate.
4162 2016-11-16 Kevin Buettner <kevinb@redhat.com>
4164 * gdb.python/py-recurse-unwind.c (main): Add loop.
4165 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
4166 to read_register() and gdb.parse_and_eval(). Make each code
4167 call a separate case that can be individually tested.
4168 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
4169 proc. Call cont_and_backtrace for each of the code paths that
4170 we want to test in the unwinder.
4172 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
4174 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
4175 the definition of struct S.
4177 2016-11-11 Catherine Moore <clm@codesourcery.com>
4179 * gdb.base/dump.exp: Identify verilog format dump tests as such.
4181 2016-11-09 Pedro Alves <palves@redhat.com>
4183 * gdb.base/commands.exp (runto_or_return): New procedure.
4184 (gdbvar_simple_if_test, gdbvar_simple_while_test)
4185 (gdbvar_complex_if_while_test, progvar_simple_if_test)
4186 (progvar_simple_while_test, progvar_complex_if_while_test)
4187 (if_while_breakpoint_command_test)
4188 (infrun_breakpoint_command_test, breakpoint_command_test)
4189 (user_defined_command_test, watchpoint_command_test)
4190 (test_command_prompt_position, redefine_hook_test)
4191 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
4192 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
4193 multi_line_input and multi_line. Remove gdb_expect and
4194 gdb_stop_suppressing_tests uses.
4195 * lib/gdb.exp (valnum_re): New global.
4196 (multi_line_input): New procedure.
4198 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
4200 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
4202 (test_setup): Define with proc_with_prefix.
4203 (test_cli_inferior): Likewise.
4204 (test_cli_thread): Likewise.
4205 (test_cli_frame): Likewise.
4206 (test_cli_select_frame): Likewise.
4207 (test_cli_up_down): Likewise.
4208 (test_mi_thread_select): Likewise.
4209 (test_mi_stack_select_frame): Likewise.
4210 (test_cli_in_mi_inferior): Likewise.
4211 (test_cli_in_mi_thread): Likewise.
4212 (test_cli_in_mi_frame): Likewise.
4213 (top level): Do not use with_test_prefix_procname.
4215 2016-11-09 Pedro Alves <palves@redhat.com>
4217 * gdb.base/commands.exp (gdbvar_simple_if_test)
4218 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
4219 (progvar_simple_if_test, progvar_simple_while_test)
4220 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
4221 (infrun_breakpoint_command_test, breakpoint_command_test)
4222 (user_defined_command_test, watchpoint_command_test)
4223 (test_command_prompt_position, deprecated_command_test)
4224 (bp_deleted_in_command, temporary_breakpoint_commands)
4225 (stray_arg0_test, source_file_with_indented_comment)
4226 (recursive_source_test, if_commands_test)
4227 (error_clears_commands_left, redefine_hook_test)
4228 (redefine_backtrace_test): Use proc_with_prefix.
4229 * lib/gdb.exp (proc_with_prefix): New proc.
4231 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4233 * gdb.base/tui-layout.c: New file.
4234 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
4235 disassembly window contains very long lines.
4237 2016-11-08 Tom Tromey <tom@tromey.com>
4239 * gdb.python/py-value.exp (test_value_creation): Make "long" test
4242 2016-11-08 Tom Tromey <tom@tromey.com>
4244 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
4247 2016-10-29 Manish Goregaokar <manish@mozilla.com>
4249 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
4251 2016-10-27 Manish Goregaokar <manish@mozilla.com>
4253 * gdb.rust/simple.rs: Add test for univariant enums without
4254 discriminants and for encoded struct-like enums.
4256 2016-10-28 Pedro Alves <palves@redhat.com>
4258 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
4259 gdb_test_multiple, tighten regexps and match symtabs and line
4260 tables incrementally.
4262 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
4264 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
4267 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
4269 * gdb.base/exec-invalid-sysroot.exp: New file.
4271 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4273 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
4275 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4277 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
4279 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
4281 * gdb.base/killed-outside.exp: Remove $options from a call to
4282 `prepare_for_testing'.
4284 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4286 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4287 Change test message.
4289 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4291 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4294 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4296 * gdb.trace/mi-trace-save.exp: New file.
4298 2016-10-13 Yao Qi <yao.qi@linaro.org>
4300 * gdb.base/code_elim.exp (get_var_address): Remove.
4301 * gdb.base/relocate.exp: Likewise.
4302 * gdb.base/shreloc.exp: Likewise.
4303 * lib/gdb.exp (get_var_address): New.
4305 2016-10-13 Yao Qi <yao.qi@linaro.org>
4307 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
4308 floating point tests if $skip_float_test is false.
4310 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
4312 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
4313 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
4315 Add 1 to argc so we guarantee distinct initial/modified argc values.
4317 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4319 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
4321 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4323 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
4324 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
4325 * gdb.arch/vsx-regs.exp: Likewise.
4327 2016-10-07 Yao Qi <yao.qi@linaro.org>
4329 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
4331 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
4333 * gdb.python/python.exp: Test decode_line("*0").
4335 2016-10-06 Doug Evans <dje@google.com>
4337 * gdb.python/py-value.exp (test_value_creation): Add test for large
4338 unsigned 64-bit value.
4340 2016-10-06 Tom Tromey <tom@tromey.com>
4342 * gdb.compile/compile.exp: Change java tests to rust.
4343 * gdb.base/setshow.exp: Change java tests to rust.
4344 * gdb.base/default.exp: Remove java from language list.
4345 * README (Examples): Update language example.
4346 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
4348 * lib/gdb.exp (skip_java_tests): Remove.
4349 * lib/java.exp: Remove.
4352 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4354 * gdb.arch/mips-fcr.exp: New test.
4355 * gdb.arch/mips-fcr.c: Source for the new test.
4357 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4359 * gdb.base/solib-disc.exp: Use `standard_output_file'
4362 2016-10-06 Pedro Alves <palves@redhat.com>
4364 * gdb.base/jit-simple-dl.c: New file.
4365 * gdb.base/jit-simple-jit.c: New file, factored out from ...
4366 * gdb.base/jit-simple.c: ... this.
4367 * gdb.base/jit-simple.exp (jit_run): Delete.
4368 (build_jit): New proc.
4369 (jit_test_reread): Recompile either the main program or the shared
4370 library, depending on what is being tested. Skip changing address
4371 if caller wants to. Compare before/after addresses. If testing
4372 standalone, explicitly load the binary. Test "maint info
4374 (top level): Add "standalone vs shared lib" and "change address"
4375 vs "same address" axes.
4377 2016-10-06 Pedro Alves <palves@redhat.com>
4379 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
4382 (jit_test_reread): Use with_test_prefix. Reload the main binary
4383 explicitly. Compare the before/after addresses of the JIT
4386 2016-08-15 Doug Evans <dje@google.com>
4388 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4389 for single bitfields is bool.
4390 * gdb.xml/tdesc-regs.exp: Ditto.
4392 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4394 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4396 2016-10-05 Yao Qi <yao.qi@linaro.org>
4398 * lib/gdb.exp (support_complex_tests): Return zero if
4399 gdb_skip_float_test return true.
4401 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4402 Simon Marchi <simon.marchi@ericsson.com>
4405 * gdb.mi/user-selected-context-sync.exp: New file.
4406 * gdb.mi/user-selected-context-sync.c: New file.
4408 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4409 Simon Marchi <simon.marchi@ericsson.com>
4412 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
4413 =thread-select-event check.
4415 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
4417 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4418 the compulsory L operand changes.
4419 * gdb.arch/powerpc-power.s: Likewise.
4421 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4423 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
4424 * gdb.base/jit-attach-pie.c: New file.
4425 * gdb.base/jit-attach-pie.exp: New file.
4427 2016-09-28 Pedro Alves <palves@redhat.com>
4429 * gdb.base/infcall-input.c: New file.
4430 * gdb.base/infcall-input.exp: New file.
4432 2016-09-22 Yao Qi <yao.qi@linaro.org>
4434 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
4435 (gdb_exit): Rename it to ...
4436 (gdbserver_gdb_exit): ... Close GDBserver.
4437 (gdb_exit): New proc, call gdbserver_gdb_exit.
4438 (mi_gdb_exit): Likewise.
4440 2016-09-22 Yao Qi <yao.qi@linaro.org>
4442 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4444 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4447 2016-09-22 Yao Qi <yao.qi@linaro.org>
4449 * lib/gdbserver-support.exp: Check the existence of
4450 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4452 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
4454 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4456 2016-09-21 Tom Tromey <tom@tromey.com>
4459 * gdb.base/quit.exp: New file.
4461 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
4463 * .gitignore: New file.
4465 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
4467 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4470 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4472 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4474 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4476 * gdb.cp/casts.cc (decltype): Move it ...
4477 (main): ... with its call to ...
4478 * gdb.cp/casts03.cc: ... a new file.
4479 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4481 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4483 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4485 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
4487 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
4488 and sync up the test with tests in gas/testsuite/gas/ppc.
4489 * gdb.arch/powerpc-power.exp: Likewise.
4491 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4493 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4495 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
4496 Jan Kratochvil <jan.kratochvil@redhat.com>
4498 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4499 make m1's definition to be different from m2's. Use 'dummy' as an
4500 argument for probe 'two'.
4502 2016-09-10 Jon Beniston <jon@beniston.com>
4504 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4507 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4509 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4510 variable declaration.
4511 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
4512 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4513 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4514 received HWCAP as its argument.
4516 2016-09-06 Pedro Alves <palves@redhat.com>
4518 * gdb.base/new-ui-pending-input.c: New file.
4519 * gdb.base/new-ui-pending-input.exp: New file.
4520 * gdb.exp (clear_gdb_spawn_id): New procedure.
4521 (with_spawn_id): Check whether gdb_spawn_id exists before
4522 referencing it. If gdb_spawn_id didn't exist on entry, clear it
4525 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4527 * gdb.base/float128.c: New file.
4528 * gdb.base/float128.exp: Likewise.
4529 * gdb.base/floatn.c: Likewise.
4530 * gdb.base/floatn.exp: Likewise.
4532 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4534 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4536 2016-09-05 Pedro Alves <palves@redhat.com>
4539 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4540 unwinders are immediately called as side effect of "source" or
4541 "disable unwinder" commands.
4542 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
4544 2016-09-02 Yao Qi <yao.qi@linaro.org>
4546 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4547 is true and $type is "float" or "double".
4549 2016-09-02 Yao Qi <yao.qi@linaro.org>
4551 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
4553 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
4554 * gdb.base/call-rt-st.exp: Likewise.
4555 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
4556 return value instead of gdb,skip_float_test.
4557 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
4558 (do_function_calls): Use its return value instead of
4559 gdb,skip_float_test.
4560 * gdb.base/finish.exp: Likewise.
4561 * gdb.base/funcargs.exp: Likewise.
4562 * gdb.base/return.exp: Likewise.
4563 * gdb.base/return2.exp: Likewise.
4564 * gdb.base/varargs.exp: Likewise.
4565 * lib/gdb.exp (gdb_skip_float_test): Change it to
4566 gdb_caching_proc. Detect the broken ptrace on arm-linux.
4568 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4570 * gdb.multi/tids.exp: Test "thread apply all".
4572 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4574 * gdb.base/default.exp (tty): Remove.
4576 2016-08-24 Kevin Buettner <kevinb@redhat.com>
4578 * gdb.python/py-recurse-unwind.c: New file.
4579 * gdb.python/py-recurse-unwind.py: New file.
4580 * gdb.python/py-recurse-unwind.exp: New file.
4582 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
4584 * gdb.base/set-inferior-tty.exp: New file.
4585 * gdb.base/set-inferior-tty.c: New file.
4587 2016-08-23 Pedro Alves <palves@redhat.com>
4590 * gdb.base/new-ui-echo.c: New file.
4591 * gdb.base/new-ui-echo.exp: New file.
4593 2016-08-23 Yao Qi <yao.qi@linaro.org>
4595 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
4597 * gdb.server/connect-without-multi-process.exp (do_test):
4600 2016-08-23 Yao Qi <yao.qi@linaro.org>
4602 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4603 standalone_txt. Delete gdb_txt and standalone_txt on host
4604 and target. Spawn the binary on target. Copy files from
4607 2016-08-22 Pedro Alves <palves@redhat.com>
4610 * gdb.base/vdso-warning.exp: Test core dumps too. Use
4611 with_test_prefix. Factor out bits to ...
4612 (test_no_vdso): ... this new procedure.
4614 2016-08-19 Carl Love <cel@us.ibm.com>
4616 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4617 maintaining separate logic for constructing the output path.
4618 * gdb.arch/powerpc-d128-regs.exp: Likewise.
4619 * gdb.arch/ppc-dfp.exp: Likewise.
4620 * gdb.arch/ppc-fp.exp: Likewise.
4621 * gdb.arch/vsx-regs.exp: Likewise.
4622 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
4623 binprefix for generating the additional binary files.
4625 2016-08-19 Pedro Alves <palves@redhat.com>
4627 * gdb.trace/mi-trace-frame-collected.exp
4628 (test_trace_frame_collected): On x32, expect two registers.
4630 2016-08-18 Carl Love <cel@us.ibm.com>
4632 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
4633 and sync up the test with tests in gas/testsuite/gas/ppc.
4634 * gdb.arch/powerpc-power.exp: Likewise.
4636 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4638 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
4639 expected error message.
4641 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4643 * gdb.multi/remove-inferiors.exp: New file.
4644 * gdb.multi/remove-inferiors.c: New file.
4646 2016-08-12 Yao Qi <yao.qi@linaro.org>
4648 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
4651 2016-08-10 Pedro Alves <palves@redhat.com>
4654 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
4657 2016-08-09 Pedro Alves <palves@redhat.com>
4658 Simon Marchi <simon.marchi@ericsson.com>
4661 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
4662 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
4664 2016-08-09 Pedro Alves <palves@redhat.com>
4667 * gdb.mi/mi-cmd-error.exp: New file.
4669 2016-08-09 Pedro Alves <palves@redhat.com>
4672 * gdb.base/signals-state-child.c: New file.
4673 * gdb.base/signals-state-child.exp: New file.
4674 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
4676 2016-08-09 Pedro Alves <palves@redhat.com>
4678 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4680 2016-08-03 Tom Tromey <tom@tromey.com>
4683 * gdb.python/py-frame-inline.exp: Add Frame.function test.
4685 2016-08-01 Yao Qi <yao.qi@linaro.org>
4687 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
4688 variable mode to "multi-process" if $multi_process is 1, otherwise
4689 set it to "single-process".
4691 2016-08-01 Yao Qi <yao.qi@linaro.org>
4693 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
4694 * gdb.cp/cpexprs.exp: Likewise.
4695 * gdb.cp/m-static.exp: Likewise.
4697 2016-07-26 Tom Tromey <tom@tromey.com>
4700 * gdb.threads/tls.exp (check_thread_local): Add python symbol
4703 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
4705 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4706 selecting assembly source files.
4707 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
4708 assembly source files.
4709 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
4710 assembly source files.
4711 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
4712 selecting assembly source files.
4714 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
4716 * gdb.base/new-ui.exp (do_test_invalid_args): New
4719 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
4721 * gdb.btrace/reconnect.c: New file.
4722 * gdb.btrace/reconnect.exp: New file.
4724 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
4726 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
4727 to test_catch_syscall_group.
4728 (test_catch_syscall_group): New.
4730 2016-07-21 Tom Tromey <tom@tromey.com>
4732 * gdb.rust/simple.rs (main): Use empty struct expression.
4733 * gdb.rust/simple.exp: Add tests for empty struct expression.
4735 2016-07-21 Yao Qi <yao.qi@linaro.org>
4737 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
4738 if gdb_skip_xml_test is true on some targets.
4740 2016-07-21 Yao Qi <yao.qi@linaro.org>
4742 * gdb.server/solib-list.exp: Unset last_loaded_file.
4744 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4746 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
4747 "step into captured_main (args)".
4749 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4751 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
4753 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4755 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
4757 2016-07-19 Pedro Alves <palves@redhat.com>
4759 * gdb.opt/inline-break.exp: Remove optimize=-O2.
4760 * gdb.opt/inline-bt.exp: Likewise.
4761 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
4762 additional_flags=-Winline.
4763 * gdb.opt/inline-locals.exp: Likewise.
4764 * gdb.opt/inline-markers.c (ATTR): Define.
4765 (inlined_fn): Use it.
4767 2016-07-19 Yao Qi <yao.qi@linaro.org>
4769 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
4770 (test_with_self): Remove some code. Remove argument executable.
4771 (top-level): Use do_self_tests.
4773 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
4774 Don Breazeal <donb@codesourcery.com>
4776 * gdb.base/maint.exp: Escape paths used in regular expressions.
4777 * gdb.stabs/weird.exp: Likewise.
4779 2016-07-13 Tom Tromey <tom@tromey.com>
4781 PR python/15620, PR python/18620:
4782 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
4783 (test_bkpt_events): New procs.
4785 2016-07-13 Tom Tromey <tom@tromey.com>
4788 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
4790 (test_watchpoints): Likewise.
4791 (test_bkpt_pending): New proc.
4793 2016-07-13 Tom Tromey <tom@tromey.com>
4796 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
4799 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4801 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
4802 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
4803 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
4805 (g): Rename g_end_lbl to g_label.
4806 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
4808 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
4810 2016-07-12 Tom Tromey <tom@tromey.com>
4813 * gdb.python/py-unwind-maint.exp: Update tests.
4815 2016-07-12 Yao Qi <yao.qi@linaro.org>
4817 * lib/selftest-support.exp (selftest_setup): Match the output
4818 when captured_main is inlined.
4820 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4822 * gdb.fortran/derived-types.exp (result_line, result_line_2):
4824 (print this%a, print this%b, print this): New tests.
4825 * gdb.fortran/derived-types.f90 (this): New object and
4828 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4830 * gdb.ada/arraydim.exp: Remove extra directory level in build
4833 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4835 * lib/ada.exp: Remove extra directory level in build directory.
4836 * gdb.ada/cond_lang.exp: Likewise.
4837 * gdb.ada/exec_changed.exp: Likewise.
4838 * gdb.ada/lang_switch.exp: Likewise.
4840 2016-07-06 Manish Goregaokar <manish@mozilla.com>
4842 * simple.rs: Add test for raw pointer subscripting.
4843 * simple.exp: Add test expectations.
4845 2016-07-05 Yao Qi <yao.qi@linaro.org>
4847 * gdb.mi/mi-reverse.exp: Match =record-started output.
4849 2016-07-01 Pedro Alves <palves@redhat.com>
4851 * gdb.base/jit-reader.exp (info_registers_current_frame): New
4853 (jit_reader_test): Test the jit reader's unwinder.
4854 * gdb.base/jithost.c (jit_function_00_code): New global.
4855 (main): Use memcpy to fill in the mmapped code, instead of poking
4856 bytes manually here.
4857 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
4859 (read_debug_info): Save the function's range.
4860 (read_sp): New function.
4861 (unwind_frame): Use it. Also unwind RBP.
4862 (get_frame_id): Use read_sp.
4863 (gdb_init_reader): Use calloc instead of malloc.
4864 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
4865 parameter. Use gdb_test_multiple.
4867 2016-07-01 Pedro Alves <palves@redhat.com>
4868 Antoine Tremblay <antoine.tremblay@ericsson.com>
4870 * gdb.threads/process-dies-while-detaching.c: New file.
4871 * gdb.threads/process-dies-while-detaching.exp: New file.
4873 2016-07-01 Pedro Alves <palves@redhat.com>
4875 * gdb.multi/watchpoint-multi-exit.c: New file.
4876 * gdb.multi/watchpoint-multi-exit.exp: New file.
4878 2016-06-30 Pedro Alves <palves@redhat.com>
4880 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
4881 unset inferior_spawn_id.
4883 2016-06-30 Pedro Alves <palves@redhat.com>
4885 * lib/mi-support.exp (default_mi_gdb_start): Declare global
4886 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
4888 2016-06-29 Yao Qi <yao.qi@linaro.org>
4890 * gdb.base/return.c: Add copyright header.
4892 2016-06-29 Tom Tromey <tom@tromey.com>
4895 * gdb.python/py-framefilter.exp: Add tests for setting priority
4896 and disabling of non-existent frame filter.
4898 2016-06-29 Yao Qi <yao.qi@linaro.org>
4900 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
4903 2016-06-28 Yao Qi <yao.qi@linaro.org>
4905 * gdb.base/catch-syscall.exp: Remove check on isnative and target
4906 triplets. Start gdb, execute catch syscall, and continue. Check
4907 gdb's output to determine catch syscall is supported.
4909 2016-06-27 Manish Goregaokar <manish@mozilla.com>
4911 * gdb.rust/simple.rs: Add test for returning unit in a function.
4912 * gdb.rust/simple.exp: Add expectation for functions returning
4915 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
4917 * gdb.python/py-breakpoint-create-fail.c,
4918 gdb.python/py-breakpoint-create-fail.exp,
4919 gdb.python/py-breakpoint-create-fail.py: New testcase.
4921 2016-06-25 Manish Goregaokar <manish@mozilla.com>
4924 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
4925 * gdb.rust/simple.exp: Add test expectations for new NonZero
4928 2016-06-24 David Taylor <dtaylor@emc.com>
4930 * gdb.base/offsets.exp: New file.
4931 * gdb.base/offsets.c: New file.
4933 2016-06-23 Tom Tromey <tom@tromey.com>
4936 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
4937 before any filters are loaded.
4939 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
4941 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
4942 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
4944 * gdb.fortran/derived-type-function.exp: New file.
4945 * gdb.fortran/derived-type-function.f90: New file.
4948 2016-06-21 Pedro Alves <palves@redhat.com>
4950 * gdb.base/new-ui.exp: New file.
4951 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
4952 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
4953 (with_spawn_id): New procedure.
4955 2016-06-21 Pedro Alves <palves@redhat.com>
4957 * gdb.mi/mi-exec-run.exp: New file.
4959 2016-06-21 Pedro Alves <palves@redhat.com>
4961 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
4962 breakpoint command's output on the main UI.
4963 (test_break): New procedure, factored out from calls in the top
4965 (top level): Use foreach_with_prefix to test MI as main UI and as
4968 2016-06-21 Pedro Alves <palves@redhat.com>
4970 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
4971 (test_awatch_creation_and_listing)
4972 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
4973 Remove 'type' parameter.
4974 (test_watchpoint_all): New parameter mi_mode. Remove
4976 (top level): Use foreach_with_prefix, and add main/separate UI MI
4979 2016-06-21 Pedro Alves <palves@redhat.com>
4981 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
4982 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
4983 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
4984 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
4985 (gdb_main_spawn_id, mi_spawn_id): Declare and
4987 (mi_create_inferior_pty): New procedure,
4988 factored out from default_mi_gdb_start.
4989 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
4991 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
4992 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
4993 Use mi_create_inferior_pty.
4994 (mi_gdb_start): Use eval to pass down args list.
4996 2016-06-21 Pedro Alves <palves@redhat.com>
4998 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
4999 * gdb.opt/inline-cmds.exp: Add MI tests.
5001 2016-06-21 Pedro Alves <palves@redhat.com>
5003 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
5005 2016-06-21 Pedro Alves <palves@redhat.com>
5007 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
5008 (top level): Use it instead of mi_execute_to.
5010 2016-06-21 Pedro Alves <palves@redhat.com>
5012 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
5013 (cont_handler_str): New.
5014 (signal_stop_handler): Set stop_handler_str instead of printing to
5016 (continue_handler): Set cont_handler_str instead of printing to
5018 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
5019 mi_send_resuming_command. Print stop_handler_str and
5020 cont_handler_str instead of expecting the python events print
5023 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
5025 * gdb.base/jit-reader.exp: New file.
5026 * gdb.base/jithost.c: New file.
5027 * gdb.base/jithost.h: New file.
5028 * gdb.base/jitreader.c : New file.
5029 * gdb.base/jit-protocol.h: New file.
5031 2016-06-17 Yao Qi <yao.qi@linaro.org>
5033 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
5034 parameters follow_fork and detach_on_fork. Set follow-fork-mode
5035 and detach-on-fork. Adjust tests.
5036 (top level): Invoke break_cond_on_syscall with combinations of
5037 syscall, follow-fork-mode and detach-on-fork.
5039 2016-06-17 Yao Qi <yao.qi@linaro.org>
5041 * gdb.base/step-over-exit.c: New.
5042 * gdb.base/step-over-exit.exp: New.
5044 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
5046 * gdb.base/float.exp: Add target check for nds32*-*-*.
5047 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
5049 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
5051 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
5052 for unsupported target features.
5053 * gdb.base/call-rt-st.exp: Likewise.
5054 * gdb.base/call-sc.exp: Likewise.
5055 * gdb.base/call-signal-resume.exp: Likewise.
5056 * gdb.base/call-strs.exp: Likewise.
5057 * gdb.base/callexit.exp: Likewise.
5058 * gdb.base/callfuncs.exp: Likewise.
5059 * gdb.base/nodebug.exp: Likewise.
5060 * gdb.base/printcmds.exp: Likewise.
5061 * gdb.base/ptype.exp: Likewise.
5062 * gdb.base/structs.exp: Likewise.
5063 * gdb.base/unwindonsignal.exp: Likewise.
5064 * gdb.cp/gdb2495.exp: Likewise.
5065 * gdb.cp/templates.exp: Likewise.
5066 * gdb.cp/virtfunc.exp: Likewise.
5067 * gdb.threads/hand-call-in-threads.exp: Likewise.
5068 * gdb.threads/interrupted-hand-call.exp: Likewise.
5069 * gdb.threads/thread-unwindonsignal.exp: Likewise.
5071 2016-06-10 Tom Tromey <tom@tromey.com>
5074 * gdb.rust/expr.exp: Add test for integer constant larger than
5077 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
5079 * gdb.fortran/nested-funcs.exp: New.
5080 * gdb.fortran/nested-funcs.f90: New.
5082 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
5084 * gdb.base/examine-backward.c: New file.
5085 * gdb.base/examine-backward.exp: New file.
5087 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
5089 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
5092 2016-06-02 Tom Tromey <tom@tromey.com>
5095 * gdb.python/py-shared.exp: Add solib_name test.
5097 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
5099 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
5101 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
5104 * gdb.dwarf2/implref.exp: Rename to...
5105 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
5106 * gdb.dwarf2/implref-array.c: New file.
5107 * gdb.dwarf2/implref-array.exp: Likewise.
5108 * gdb.dwarf2/implref-global.c: Likewise.
5109 * gdb.dwarf2/implref-global.exp: Likewise.
5110 * gdb.dwarf2/implref-struct.c: Likewise.
5111 * gdb.dwarf2/implref-struct.exp: Likewise.
5113 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5115 * gdb.trace/trace-condition.exp: Add 64bit tests.
5117 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5119 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
5121 (main): Adapt to 8 to 64 bits types.
5122 * gdb.trace/trace-condition.exp: Add new tests.
5124 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5126 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
5128 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5130 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
5131 Move condition tests...
5132 * gdb.trace/trace-condition.exp: Here.
5134 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5136 * gdb.trace/trace-condition.exp: Add counter-case tests.
5138 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5141 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
5142 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
5144 2016-05-27 Pedro Alves <palves@redhat.com>
5146 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5148 (top level): Call it, and bail out of DejaGnu is known to be bad.
5150 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
5152 * gdb.base/whatis.c: Extend the test case.
5153 * gdb.base/whatis.exp: Add additional tests.
5155 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5157 * gdb.fortran/type.f90: Add pointer variable.
5158 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
5160 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5162 * gdb.fortran/vla-type.exp: Fix testcase name.
5164 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5166 * gdb.fortran/vla-type.exp: Access elements in nested structs.
5168 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5170 * gdb.fortran/type.f90: Add nested structures.
5171 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
5172 * gdb.fortran/derived-type.exp: Adapt expected output.
5173 * gdb.fortran/vla-type.exp: Adapt expected output.
5175 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5177 * gdb.fortran/whatis_type.exp: Adapt expected output.
5179 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5181 * gdb.fortran/print_type.exp: Fix expected output.
5182 * gdb.fortran/whatis_type.exp: Fix expected output.
5184 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5186 * gdb.fortran/whatis_type.exp: Use multi_line.
5188 2016-05-24 Tom Tromey <tom@tromey.com>
5191 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
5192 use value as an index.
5194 2016-05-23 Tom Tromey <tom@tromey.com>
5197 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
5200 2016-05-24 Pedro Alves <palves@redhat.com>
5203 * gdb.threads/clone-attach-detach.c: New file.
5204 * gdb.threads/clone-attach-detach.exp: New file.
5206 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
5208 * gdb.base/annota-input-while-running.exp: Fix syntax error.
5210 2016-05-23 Tom Tromey <tom@tromey.com>
5212 PR python/19438, PR python/18393:
5213 * gdb.python/py-progspace.exp: Add "dir" test.
5214 * gdb.python/py-objfile.exp: Add "dir" test.
5216 2016-05-23 Yao Qi <yao.qi@linaro.org>
5218 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
5219 * gdb.arch/thumb2-it.exp: Likewise.
5221 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
5223 * gdb.mi/mi-threads-interrupt.c: New file.
5224 * gdb.mi/mi-threads-interrupt.exp: New file.
5226 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
5229 * gdb.mi/mi-async-run.exp: New file.
5230 * gdb.mi/mi-async-run.c: New file.
5232 2016-05-17 Tom Tromey <tom@tromey.com>
5233 Manish Goregaokar <manishsmail@gmail.com>
5235 * lib/rust-support.exp: New file.
5236 * lib/gdb.exp (skip_rust_tests): New proc.
5237 (build_executable_from_specs): Handle rust.
5238 * lib/future.exp (gdb_find_rustc): New proc.
5239 (gdb_default_target_compile): Handle rust.
5240 * gdb.rust/expr.exp: New file.
5241 * gdb.rust/generics.exp: New file.
5242 * gdb.rust/generics.rs: New file.
5243 * gdb.rust/methods.exp: New file.
5244 * gdb.rust/methods.rs: New file.
5245 * gdb.rust/modules.exp: New file.
5246 * gdb.rust/modules.rs: New file.
5247 * gdb.rust/simple.exp: New file.
5248 * gdb.rust/simple.rs: New file.
5250 2016-05-17 Tom Tromey <tom@tromey.com>
5252 * gdb.base/default.exp (set language): Add rust.
5254 2016-05-17 Tom Tromey <tom@tromey.com>
5256 * gdb.gdb/unittest.exp: New file.
5258 2016-05-16 Yao Qi <yao.qi@linaro.org>
5260 * gdb.base/batch-preserve-term-settings.exp: Remove variable
5261 shell_prompt. Update shell_prompt_re.
5263 2016-05-12 Doug Evans <dje@google.com>
5266 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
5267 $options when building executable.
5268 * gdb.dwarf2/fission-loclists-pie.S: New file.
5269 * gdb.dwarf2/fission-loclists-pie.exp: New file.
5271 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5273 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
5274 of [is_remote target],
5276 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5278 * lib/gdb.exp (use_gdb_stub): New procedure.
5280 2016-05-03 Yunlian Jiang <yunlian@google.com>
5281 Doug Evans <dje@google.com>
5284 * gdb.dwarf2/dwp-sepdebug.c: New file.
5285 * gdb.dwarf2/dwp-sepdebug.exp: New file.
5287 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5289 * gdb.base/detach.exp: Remove is_remote check.
5291 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5293 * gdb.base/annota-input-while-running.exp: Don't check for
5294 [is_remote target]. Enable annotations after running to main.
5295 Remove unused "set test..." line.
5297 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5299 * gdb.trace/trace-enable-disable.exp: New file.
5300 * gdb.trace/trace-enable-disable.c: New file.
5302 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5304 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
5305 use it in info sharedlibrary test.
5306 * gdb.trace/ftrace-lock.exp: Likewise.
5307 * gdb.trace/ftrace.exp: Likewise.
5308 * gdb.trace/range-stepping.exp: Likewise.
5309 * gdb.trace/trace-break.exp: Likewise.
5310 * gdb.trace/trace-condition.exp: Likewise.
5311 * gdb.trace/trace-mt.exp: Likewise.
5313 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5315 * lib/gdb.exp (gdb_load_shlibs): Rename to...
5316 (gdb_load_shlib): ... this.
5317 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
5319 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
5320 * gdb.base/ctxobj.exp: Likewise.
5321 * gdb.base/dprintf-pending.exp: Likewise.
5322 * gdb.base/dso2dso.exp: Likewise.
5323 * gdb.base/fixsection.exp: Likewise.
5324 * gdb.base/gcore-relro.exp: Likewise.
5325 * gdb.base/gdb1555.exp: Likewise.
5326 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5327 * gdb.base/gnu-ifunc.exp: Likewise.
5328 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
5329 * gdb.base/jit-so.exp (one_jit_test): Likewise.
5330 * gdb.base/pending.exp: Likewise.
5331 * gdb.base/print-file-var.exp: Likewise.
5332 * gdb.base/print-symbol-loading.exp: Likewise.
5333 * gdb.base/shlib-call.exp: Likewise.
5334 * gdb.base/shreloc.exp: Likewise.
5335 * gdb.base/so-impl-ld.exp: Likewise.
5336 * gdb.base/solib-disc.exp: Likewise.
5337 * gdb.base/solib-nodir.exp: Likewise.
5338 * gdb.base/solib-overlap.exp: Likewise.
5339 * gdb.base/solib-symbol.exp: Likewise.
5340 * gdb.base/solib-weak.exp (do_test): Likewise.
5341 * gdb.base/sym-file.exp: Likewise.
5342 * gdb.base/symtab-search-order.exp: Likewise.
5343 * gdb.base/type-opaque.exp: Likewise.
5344 * gdb.base/unload.exp: Likewise.
5345 * gdb.base/watchpoint-solib.exp: Likewise.
5346 * gdb.compile/compile.exp: Likewise.
5347 * gdb.cp/gdb2384.exp: Likewise.
5348 * gdb.cp/infcall-dlopen.exp: Likewise.
5349 * gdb.cp/re-set-overloaded.exp: Likewise.
5350 * gdb.fortran/library-module.exp: Likewise.
5351 * gdb.opt/solib-intra-step.exp: Likewise.
5352 * gdb.python/py-finish-breakpoint.exp: Likewise.
5353 * gdb.python/py-shared.exp: Likewise.
5354 * gdb.reverse/solib-precsave.exp: Likewise.
5355 * gdb.reverse/solib-reverse.exp: Likewise.
5356 * gdb.server/solib-list.exp: Likewise.
5357 * gdb.threads/dlopen-libpthread.exp: Likewise.
5358 * gdb.threads/tls-shared.exp: Likewise.
5359 * gdb.threads/tls-so_extern.exp: Likewise.
5360 * gdb.trace/change-loc.exp: Likewise.
5361 * gdb.trace/ftrace-lock.exp: Likewise.
5362 * gdb.trace/ftrace.exp: Likewise.
5363 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
5364 * gdb.trace/pending.exp: Likewise.
5365 * gdb.trace/range-stepping.exp: Likewise.
5366 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
5367 (strace_info_marker): Likewise.
5368 (strace_probe_marker): Likewise.
5369 (strace_trace_on_same_addr): Likewise.
5370 (strace_trace_on_diff_addr): Likewise.
5371 * gdb.trace/trace-break.exp: Likewise.
5372 * gdb.trace/trace-condition.exp: Likewise.
5373 * gdb.trace/trace-mt.exp: Likewise.
5375 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5377 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
5378 result of gdb_remote_download.
5379 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
5380 * gdb.base/dso2dso.exp: Likewise.
5381 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5382 * gdb.base/print-file-var.exp: Likewise.
5383 * gdb.base/shlib-call.exp: Likewise.
5384 * gdb.base/shreloc.exp: Likewise.
5385 * gdb.base/solib-overlap.exp: Likewise.
5386 * gdb.base/solib-weak.exp (do_test): Likewise.
5387 * gdb.base/unload.exp: Likewise.
5389 2016-04-27 Yao Qi <yao.qi@linaro.org>
5391 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5394 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5396 * vla-type.exp: Print structure from toplevel.
5398 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5400 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5402 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5405 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5407 * gdb.fortran/vla-type.f90: New file.
5408 * gdb.fortran/vla-type.exp: New file.
5410 2016-04-25 Yao Qi <yao.qi@linaro.org>
5412 * gdb.base/branch-to-self.c: New file.
5413 * gdb.base/branch-to-self.exp: New file.
5415 2016-04-22 Yao Qi <yao.qi@linaro.org>
5417 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
5420 2016-04-22 Yao Qi <yao.qi@linaro.org>
5422 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
5423 * gdb.base/annota3.exp: Likewise.
5425 2016-04-22 Yao Qi <yao.qi@linaro.org>
5427 * gdb.reverse/step-precsave.exp: Do one step and test program
5428 stops in "callee" and do multiple steps until program goes out
5430 * gdb.reverse/step-reverse.exp: Likewise.
5432 2016-04-22 Yao Qi <yao.qi@linaro.org>
5434 * gdb.trace/signal.exp: Also pass if
5435 $tracepoint_hits($i) > $iterations.
5437 2016-04-22 Yao Qi <yao.qi@linaro.org>
5439 * gdb.trace/signal.c: New file.
5440 * gdb.trace/signal.exp: New file.
5442 2016-04-19 Doug Evans <xdje42@gmail.com>
5444 * gdb.base/bad-file.exp: New file.
5446 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
5448 * gdb.dwarf2/implref.exp: New file.
5450 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5452 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5453 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5454 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5455 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5456 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5457 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5458 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5459 * lib/fortran.exp (fortran_int4): New procedure.
5460 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5461 (fortran_logical4): Likewise.
5463 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
5465 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5467 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5469 * lib/compiler.c: Add Intel specific preprocessor macros.
5470 * lib/compiler.cc: Likewise.
5472 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
5474 * gdb.server/connect-with-no-symbol-file.c: New file.
5475 * gdb.server/connect-with-no-symbol-file.exp: New file.
5477 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5479 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5481 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5483 * boards/gdbserver-base.exp (${board}_download): Copy source file to
5484 standard output directory.
5486 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
5488 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5490 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
5492 * gdb.btrace/instruction_history.c (loop): Add declaration.
5494 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5496 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5498 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
5500 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5501 parentheses to print.
5502 (continue_handler): Likewise.
5504 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
5506 * gdb.server/solib-list.exp: Remove is_remote check.
5507 Pass shlib= to gdb_compile. Don't link shared library with
5508 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
5509 Run binary filename through "readlink -f" on the target.
5511 2016-04-08 Pedro Alves <palves@redhat.com>
5513 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
5514 interpreter filename as argument to gdbserver_spawn.
5515 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5516 Return empty if $last_loaded_file does not exist.
5518 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5520 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5521 * gdb.base/jit-main.c: Use exit after usage.
5523 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5525 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5526 GDBHISTSIZE prior to the tests.
5527 * gdb.base/gdbinit-history.exp: Likewise.
5529 2016-04-07 Pedro Alves <palves@redhat.com>
5531 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5532 instead of build_executable. Use gdb_load_shlibs.
5534 2016-04-07 Yao Qi <yao.qi@linaro.org>
5536 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5537 Execute "si" command.
5539 2016-04-07 Yao Qi <yao.qi@linaro.org>
5541 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5542 number instead of the comments on some line.
5544 2016-04-06 Don Breazeal <donb@codesourcery.com>
5546 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
5547 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
5549 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
5551 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
5552 standard_output_file. Remove unused binfile variable.
5554 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
5556 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
5557 * gdb.python/py-mi-objfile.exp: Match "list main" output
5560 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
5562 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
5565 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5567 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
5569 * gdb.trace/ftrace.exp: Likewise.
5570 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
5572 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
5573 (gdb_load_shlibs): Copy libraries to test directory when testing
5574 natively. Only set solib-search-path if testing remotely.
5575 * lib/mi-support.exp (mi_load_shlibs): Likewise.
5577 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5579 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
5580 gdb_download. Use it even if the target is not remote.
5581 * gdb.base/jit.exp (compile_jit_test): Likewise.
5582 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
5583 output directory if the destination board is local, otherwise use
5584 the standard remote_download from DejaGnu.
5585 (gdb_download): Remove.
5586 (gdb_load_shlibs): Use gdb_remote_download instead of
5588 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5589 Use gdb_remote_download instead of gdb_download. Use it even if
5590 the target is not remote.
5591 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
5592 instead of gdb_download.
5594 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
5596 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
5597 (test_insert_delete_modify): Call mi_load_shlibs before trying to
5600 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
5603 * gdb.base/printcmds.exp: Add artificial arrays tests.
5605 2016-03-31 Pedro Alves <palves@redhat.com>
5608 * gdb.base/jit-main.c: Include unistd.h.
5609 (ATTACH): Define to 0 if not already defined.
5610 (wait_for_gdb, mypid): New globals.
5611 (WAIT_FOR_GDB): New macro.
5612 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
5613 some breakpoint locations.
5614 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
5616 (one_jit_test): Add REATTACH parameter, and handle it. Use
5617 continue_to_test_location.
5618 (top level): Test attach, and adjusts calls to one_jit_test.
5620 2016-03-31 Pedro Alves <palves@redhat.com>
5623 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
5624 BINSUFFIX parameter, and handle it.
5625 (top level): Adjust calls compile_jit_test.
5627 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
5630 * gdb.python/py-mi-events-gdb.py: New file.
5631 * gdb.python/py-mi-events.c: New file.
5632 * gdb.python/py-mi-events.exp: New file.
5634 2016-03-30 Yao Qi <yao.qi@linaro.org>
5636 * gdb.reverse/until-precsave.exp: Match function name only.
5637 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
5638 Move malloc to a condition block.
5639 * gdb.reverse/until-reverse.exp: Match function name only.
5641 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
5643 * gdb.trace/ftrace.exp: Set arg0exp for s390.
5644 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
5645 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
5646 variable for GPR 0 instead of assuming it is register 0.
5647 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
5648 * lib/trace-support.exp: Add s390 registers.
5650 2016-03-29 Yao Qi <yao.qi@linaro.org>
5652 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
5654 2016-03-24 Yao Qi <yao.qi@linaro.org>
5656 * gdb.reverse/break-reverse.exp: Add quotation mark in the
5659 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5661 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
5662 maintaining separate logic for constructing the output path.
5664 2016-03-16 Don Breazeal <donb@codesourcery.com>
5666 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5667 Retry fork and waitpid on interrupted system call errors.
5668 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5669 Use with_timeout_factor to increase timeout by factor of 10.
5671 2016-03-15 Don Breazeal <donb@codesourcery.com>
5673 * gdb.cp/scope-err.cc: New test program.
5674 * gdb.cp/scope-err.exp: New test script.
5675 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
5676 lines and "set breakpoint here" comment.
5677 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
5678 Fixed some whitespace and format issues.
5679 * gdb.mi/mi-linespec-err-cp.cc: New test program.
5680 * gdb.mi/mi-linespec-err-cp.exp: New test script.
5682 2016-03-15 Doug Evans <dje@google.com>
5684 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
5685 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
5686 All callers updated. Add tests for enums, mixed flags register.
5688 2016-03-15 Doug Evans <dje@google.com>
5690 * gdb.base/skip.c (main): Call test_skip_file_and_function.
5691 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
5693 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
5695 * gdb.base/default.exp: Add $_as_string to the list of expected
5696 convenience functions.
5698 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
5700 * gdb.base/maint.exp: New tests for 'maint info line-table'.
5702 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
5704 * gdb.python/py-as-string.exp: New file.
5705 * gdb.python/py-as-string.c: New file.
5707 2016-03-09 Pedro Alves <palves@redhat.com>
5709 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
5710 signal" -> "Thread NN received signal" output change.
5711 * gdb.threads/ia64-sigill.exp: Likewise.
5712 * gdb.threads/linux-dp.exp: Likewise.
5713 * gdb.threads/manythreads.exp: Likewise.
5714 * gdb.threads/pending-step.exp: Likewise.
5715 * gdb.threads/print-threads.exp: Likewise.
5716 * gdb.threads/sigstep-threads.exp: Likewise.
5717 * gdb.threads/staticthreads.exp: Likewise.
5718 * gdb.threads/tls.exp: Likewise.
5720 2016-03-09 Pedro Alves <palves@redhat.com>
5722 * gdb.base/command-line-input.exp: New file.
5724 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5726 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
5727 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
5728 * gdb.trace/pending.exp: Accept leading dot before function name.
5729 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
5730 * lib/trace-support.exp: Set registers for ppc.
5732 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5734 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
5735 use it for disassembly; accept .main in addition to main in backtrace.
5737 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
5738 Marcin Kościelnicki <koriakin@0x04.net>
5740 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
5741 (gdb_recursion_test_ptr): New global variable.
5742 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
5744 (gdb_c_test): Ditto.
5746 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5748 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
5751 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5753 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
5754 (bar): Add bar_start_lbl label.
5755 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
5756 of foo/bar for emitting DWARF and tracing.
5758 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
5760 * analyze-racy-logs.py: Set executable bit.
5762 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
5764 * Makefile.in (DEFAULT_RACY_ITER): New variable.
5765 (CHECK_TARGET_TMP): Likewise.
5766 (check-single-racy): New rule.
5767 (check-parallel-racy): Likewise.
5768 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
5769 (do-check-parallel-racy): New rule.
5770 (check-racy/%.exp): Likewise.
5771 * README (Racy testcases): New section.
5772 * analyze-racy-logs.py: New file.
5774 2016-03-03 Doug Evans <dje@google.com>
5776 * gdb.base/skip.exp: Use with_test_prefix.
5778 2016-03-03 Yao Qi <yao.qi@linaro.org>
5780 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
5781 Invoke step_over_syscall "clone" and break_cond_on_syscall
5783 * gdb.base/step-over-clone.c: New file.
5785 2016-03-03 Yao Qi <yao.qi@linaro.org>
5787 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
5790 2016-03-03 Yao Qi <yao.qi@linaro.org>
5792 * gdb.base/disp-step-fork.c: Rename to ...
5793 * gdb.base/step-over-fork.c: ... it. New file.
5794 * gdb.base/disp-step-vfork.c: Rename to ...
5795 * gdb.base/step-over-vfork.c: ... it. New file.
5796 * gdb.base/disp-step-syscall.exp: Rename to ...
5797 * gdb.base/step-over-syscall.exp: ... it. New file.
5798 (disp_step_cross_syscall): Rename to ...
5799 (step_over_syscall): ... it.
5801 2016-03-03 Yao Qi <yao.qi@linaro.org>
5803 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
5804 If target supports condition evaluation on target, invoke
5805 break_cond_on_syscall for fork and vfork.
5807 2016-03-03 Yao Qi <yao.qi@linaro.org>
5809 * gdb.base/disp-step-syscall.exp: Don't invoke
5810 support_displaced_stepping.
5811 (disp_step_cross_syscall): Test with displaced stepping off and
5814 2016-03-03 Yao Qi <yao.qi@linaro.org>
5816 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
5819 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
5822 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5824 * gdb.fortran/vla-history.exp: Remove breakpoint.
5826 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5828 * gdb.fortran/vla-history.exp: Lookup array elements and printing
5831 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5833 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
5836 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5838 * gdb.mi/vla.f90: Nullify pointer after declaration.
5840 2016-03-01 Pedro Alves <palves@redhat.com>
5842 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
5844 2016-03-01 Pedro Alves <palves@redhat.com>
5846 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
5847 before anything else.
5848 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
5850 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
5851 before anything else.
5852 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
5854 2016-03-01 Pedro Alves <palves@redhat.com>
5856 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
5858 2016-03-01 Yao Qi <yao.qi@linaro.org>
5860 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
5861 prepare_for_testing.
5863 2016-03-01 Yao Qi <yao.qi@linaro.org>
5865 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
5867 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5869 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
5870 manually constructing the output path.
5872 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5874 * gdb.arch/s390-stackless.S: New.
5875 * gdb.arch/s390-stackless.exp: New.
5877 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
5879 * gdb.dlang/circular.c: New file.
5880 * gdb.dlang/circular.exp: New file.
5882 2016-02-26 Yao Qi <yao.qi@linaro.org>
5884 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
5885 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
5886 (testcases): Update.
5888 2016-02-26 Yao Qi <yao.qi@linaro.org>
5890 * gdb.reverse/aarch64.c: Rename to ...
5891 * gdb.reverse/insn-reverse.c: ... it.
5892 * gdb.reverse/aarch64.exp: Rename to ...
5893 * gdb.reverse/insn-reverse.exp: ... it.
5895 2016-02-26 Yao Qi <yao.qi@linaro.org>
5897 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
5898 (testcase_ftype): New.
5899 (testcases): New array.
5901 (main): Call each element in testcases.
5902 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
5903 (read_testcase): New.
5904 Do the tests in a loop.
5906 2016-02-25 Yao Qi <yao.qi@linaro.org>
5908 * gdb.base/branches.c: Remove.
5910 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5913 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
5915 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5917 * gdb.trace/ftrace.exp: Remove unnecessary target check.
5919 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5921 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
5922 change x86_64 call_insn to 'callq'.
5924 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5926 * gdb.trace/tfile-avx.c: Move to...
5927 * gdb.trace/tracefile-pseudo-reg.c: Here.
5928 * gdb.trace/tfile-avx.exp: Move to...
5929 * gdb.trace/tracefile-pseudo-reg.exp: Here.
5931 2016-02-24 Gary Benson <gbenson@redhat.com>
5933 * gdb.base/attach-pie-noexec.exp: Do not expect an error
5936 2016-02-23 Doug Evans <dje@google.com>
5938 * gdb.base/skip.c (test_skip): New function.
5939 (end_test_skip_file_and_function): New function.
5940 (test_skip_file_and_function): New function.
5941 * gdb.base/skip1.c (test_skip): New function.
5942 (skip1_test_skip_file_and_function): New function.
5943 * gdb.base/skip.exp: Add tests for new skip options.
5944 * gdb.base/skip-solib.exp: Update expected output.
5945 * gdb.perf/skip-command.cc: New file.
5946 * gdb.perf/skip-command.exp: New file.
5947 * gdb.perf/skip-command.py: New file.
5949 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
5951 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
5952 info registers pattern.
5954 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
5956 * lib/future.exp: Add D support.
5957 (gdb_find_gdc): New proc.
5958 (gdb_default_target_compile): Add D support.
5960 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
5962 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
5964 (trace_speed_test): Determine the iteration count for a time
5965 between 15..30 seconds.
5967 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
5969 * gdb.arch/i386-mpx-sigsegv.c: New file.
5970 * gdb.arch/i386-mpx-sigsegv.exp: New file.
5971 * gdb.arch/i386-mpx-simple_segv.c: New file.
5972 * gdb.arch/i386-mpx-simple_segv.exp: New file.
5974 2016-02-18 Yao Qi <yao.qi@linaro.org>
5976 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5977 Don't call setup_kfail.
5979 2016-02-18 Yao Qi <yao.qi@linaro.org>
5981 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5982 Set "set breakpoint condition-evaluation" per $cond_bp_target.
5984 2016-02-16 Doug Evans <dje@google.com>
5986 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
5987 * gdb.base/skip1.c: Ditto.
5988 * gdb.base/skip.exp: Whitespace cleanup.
5990 2016-02-16 Don Breazeal <donb@codesourcery.com>
5993 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5994 Remove kfail for PR remote/19496.
5996 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5998 * lib/gdb.exp (standard_temp_file): Return a path specific to
5999 the runtest invocation.
6001 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6003 * gdb.trace/save-trace.exp: Change relative path to be in the
6004 standard output directory.
6006 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6008 * gdb.arch/i386-prologue.c: Add missing prototypes.
6010 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6012 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
6013 * gdb.arch/i386-prologue.exp: Likewise.
6014 * gdb.arch/i386-size.exp: Likewise.
6016 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
6018 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
6019 define object file path.
6020 * gdb.btrace/gcore.exp: Use standard_output_file to define core
6022 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
6023 standard_output_file to define binfile.
6025 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6027 Fix compatibility with recent gfortran-5.3.1.
6028 * gdb.fortran/vla-history.exp (print vla1 allocated)
6029 (print vla2 allocated, print $2, print $3): Remove
6030 (print $4): Rename to ...
6031 (print $2): ... here.
6032 (print $9): Rename to ...
6033 (print $5): ... here.
6034 (print $10): Rename to ...
6035 (print $6): ... here.
6036 * gdb.fortran/vla.f90: Add pvla initialization.
6038 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6040 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
6042 * gdb.fortran/vla-value-sub.exp: Likewise.
6044 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
6046 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
6048 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
6050 * i386-biarch-core.exp: Define corefile using
6051 standard_output_file.
6053 2016-02-12 Yao Qi <yao.qi@linaro.org>
6055 * gdb.arch/arm-single-step-kernel-helper.c: New.
6056 * gdb.arch/arm-single-step-kernel-helper.exp: New.
6058 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
6060 * gdb.btrace/tailcall-only.exp: New.
6061 * gdb.btrace/tailcall-only.c: New.
6062 * gdb.btrace/x86_64-tailcall-only.S: New.
6063 * gdb.btrace/i686-tailcall-only.S: New.
6065 2016-02-11 Pedro Alves <palves@redhat.com>
6067 * README (Parallel testing): Add missing double quotes.
6069 2016-02-11 Pedro Alves <palves@redhat.com>
6071 * README (Parallel testing): New section.
6072 (GDB_PARALLEL): Rewrite.
6073 (FORCE_PARALLEL): Document.
6075 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
6077 * gdb.trace/tfile-avx.c: New test.
6078 * gdb.trace/tfile-avx.exp: New test.
6080 2016-02-09 Keith Seitz <keiths@redhat.com>
6082 PR breakpoints/19546
6083 * gdb.base/infcall-exec.c: New file.
6084 * gdb.base/infcall-exec2.c: New file.
6085 * gdb.base/infcall-exec.exp: New file.
6087 2016-02-09 Keith Seitz <keiths@redhat.com>
6089 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
6090 (toplevel): Call test_bkpt_address.
6092 2016-02-09 Keith Seitz <keiths@redhat.com>
6095 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
6096 (toplevel): Call test_bkpt_address.
6098 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
6100 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
6102 * configure: Regenerate.
6104 2016-02-09 Pedro Alves <palves@redhat.com>
6106 PR breakpoints/19548
6107 * gdb.base/execl-update-breakpoints.c (some_function): New
6110 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
6111 Tighten expected GDB output.
6113 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6115 * Makefile.in (ALL_SUBDIRS): Remove.
6116 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
6117 (distclean maintainer-clean realclean): Likewise.
6118 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
6119 * configure: Regenerate.
6120 * gdb.ada/Makefile.in: Delete.
6121 * gdb.arch/Makefile.in: Likewise.
6122 * gdb.asm/Makefile.in: Likewise.
6123 * gdb.base/Makefile.in: Likewise.
6124 * gdb.btrace/Makefile.in: Likewise.
6125 * gdb.cell/Makefile.in: Likewise.
6126 * gdb.compile/Makefile.in: Likewise.
6127 * gdb.cp/Makefile.in: Likewise.
6128 * gdb.disasm/Makefile.in: Likewise.
6129 * gdb.dlang/Makefile.in: Likewise.
6130 * gdb.dwarf2/Makefile.in: Likewise.
6131 * gdb.fortran/Makefile.in: Likewise.
6132 * gdb.gdb/Makefile.in: Likewise.
6133 * gdb.go/Makefile.in: Likewise.
6134 * gdb.guile/Makefile.in: Likewise.
6135 * gdb.java/Makefile.in: Likewise.
6136 * gdb.linespec/Makefile.in: Likewise.
6137 * gdb.mi/Makefile.in: Likewise.
6138 * gdb.modula2/Makefile.in: Likewise.
6139 * gdb.multi/Makefile.in: Likewise.
6140 * gdb.objc/Makefile.in: Likewise.
6141 * gdb.opencl/Makefile.in: Likewise.
6142 * gdb.opt/Makefile.in: Likewise.
6143 * gdb.pascal/Makefile.in: Likewise.
6144 * gdb.perf/Makefile.in: Likewise.
6145 * gdb.python/Makefile.in: Likewise.
6146 * gdb.reverse/Makefile.in: Likewise.
6147 * gdb.server/Makefile.in: Likewise.
6148 * gdb.stabs/Makefile.in: Likewise.
6149 * gdb.threads/Makefile.in: Likewise.
6150 * gdb.trace/Makefile.in: Likewise.
6151 * gdb.xml/Makefile.in: Likewise.
6152 * lib/gdb.exp (make_gdb_parallel_path): Add check for
6154 (standard_output_file): Remove check for GDB_PARALLEL, always
6155 return path in outputs/$subdir/$testname.
6157 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6159 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
6160 (site.exp): Assign abs_srcdir to tcl's srcdir.
6162 2016-02-04 Yao Qi <yao.qi@linaro.org>
6164 * gdb.base/foll-exec-mode.c: Include limits.h.
6165 (main): Add parameters argc and argv. Get directory from
6167 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
6169 * gdb.base/foll-exec.c: Include limits.h.
6170 (main): Add parameters argc and argv.
6171 Get directory from argv[0].
6172 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
6173 Adjust tests on the number of lines as source code changed.
6174 * gdb.base/foll-vfork-exit.c: Include limits.h.
6175 (main): Add one line of statement before vfork.
6176 * gdb.base/foll-vfork.c: Include limits.h and string.h.
6177 (main): Add parameters argc and argv. Get directory from
6179 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
6180 (setup_gdb): Set tbreak to skip some source lines.
6181 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
6182 (main): Add parameters argc and argv. Get directory from
6184 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
6186 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
6187 (main): Add parameters argc and argv. Get directory from
6189 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
6192 2016-02-01 Doug Evans <dje@google.com>
6194 * gdb.base/skip.exp: Clean up multiple references to same test name.
6196 2016-02-01 Pedro Alves <palves@redhat.com>
6199 * gdb.threads/forking-threads-plus-breakpoint.exp
6200 (displaced_stepping_supported): New global.
6201 (probe_displaced_stepping_support): New procedure.
6202 (do_test): Add 'displaced' parameter, and use it.
6203 (top level): Check for displaced stepping support. Add displaced
6204 stepping on/off testing axis.
6206 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6208 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
6209 pointer. Don't perform further tests on the unassociated pointer
6210 if the first test fails.
6212 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6214 * gdb.base/max-value-size.c: New file.
6215 * gdb.base/max-value-size.exp: New file.
6216 * gdb.base/huge.exp: Disable max-value-size for this test.
6218 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
6220 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6222 2016-01-28 Yao Qi <yao.qi@linaro.org>
6224 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
6226 2016-01-25 Pedro Alves <palves@redhat.com>
6229 * gdb.base/fork-running-state.c: New file.
6230 * gdb.base/fork-running-state.exp: New file.
6232 2016-01-25 Pedro Alves <palves@redhat.com>
6235 * gdb.base/catch-fork-kill.c: New file.
6236 * gdb.base/catch-fork-kill.exp: New file.
6238 2016-01-25 Pedro Alves <palves@redhat.com>
6240 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
6241 Delete, moved to lib/gdb.exp.
6242 * gdb.threads/forking-threads-plus-breakpoint.exp
6243 (foreach_with_prefix): Likewise.
6244 * gdb.threads/process-dies-while-handling-bp.exp
6245 (foreach_with_prefix): Likewise.
6246 * lib/gdb.exp (foreach_with_prefix): New procedure.
6248 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
6250 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
6251 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
6253 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
6255 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
6258 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6259 Pedro Alves <palves@redhat.com>
6261 Fix testsuite compatibility with Guile.
6262 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
6265 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6267 Fix testsuite compatibility with Guile.
6268 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
6269 (thread 1): New test for backtrace through signal handler.
6271 2016-01-22 Yao Qi <yao.qi@linaro.org>
6274 * gdb.base/multi-forks.c: Include
6275 ../lib/unbuffer_output.c
6276 (main): Call gdb_unbuffer_output.
6278 2016-01-21 Doug Evans <dje@google.com>
6280 * lib/ada.exp (gdb_compile_ada): Fix typo.
6282 2016-01-21 Joel Brobecker <brobecker@adacore.com>
6284 * gdb.base/break-fun-addr.exp: New file.
6285 * gdb.base/break-fun-addr1.c: New file.
6286 * gdb.base/break-fun-addr2.c: New file.
6288 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
6290 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
6291 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
6294 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6296 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
6297 when GDB can not set the vector return value. Add more comments
6300 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
6302 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
6305 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6307 * Makefile.in (DO_RUNTEST): Add --status and update usages.
6309 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6311 * Makefile.in (check-single): Pass --status to runtest.
6312 (check/%.exp): Likewise.
6314 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6316 * Makefile.in (check-parallel): Propagate return code from make
6319 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
6321 * gdb.trace/ftrace.exp: Fix expected message on continue.
6322 * gdb.trace/pending.exp: Fix expected message on continue.
6323 * gdb.trace/trace-break.exp: Fix expected message on continue.
6325 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
6327 * lib/gdb.exp (gdb_test): Remove unused global references.
6329 2016-01-18 Pedro Alves <palves@redhat.com>
6331 * gdb.base/async-shell.exp: Adjust expected output.
6332 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
6333 * gdb.base/siginfo-thread.exp: Adjust expected output.
6334 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
6335 * gdb.java/jnpe.exp: Adjust expected output.
6336 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
6337 * gdb.threads/continue-pending-status.exp: Adjust expected output.
6338 * gdb.threads/leader-exit.exp: Adjust expected output.
6339 * gdb.threads/manythreads.exp: Adjust expected output.
6340 * gdb.threads/pthreads.exp: Adjust expected output.
6341 * gdb.threads/schedlock.exp: Adjust expected output.
6342 * gdb.threads/siginfo-threads.exp: Adjust expected output.
6343 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
6345 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
6347 * gdb.threads/sigthread.exp: Adjust expected output.
6348 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
6350 2016-01-18 Yao Qi <yao.qi@linaro.org>
6352 * gdb.guile/scm-section-script.c: Replace @progbits with
6354 * gdb.python/py-section-script.c: Likewise.
6356 2016-01-15 Pedro Alves <palves@redhat.com>
6358 * gdb.multi/tids.exp: Test star wildcard ranges.
6360 2016-01-15 Pedro Alves <palves@redhat.com>
6362 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
6363 command from "thread apply" invocation.
6364 (thr_apply_info_thr_invalid): Default the expected output to the
6366 (top level): Add tests that use convenience variables. Add tests
6367 for "thread apply" with a valid TID list, but missing the command.
6369 2016-01-13 Pedro Alves <palves@redhat.com>
6371 * gdb.base/default.exp: Expect $_gthread as well.
6372 * gdb.multi/tids.exp: Test $_gthread.
6373 * gdb.threads/thread-specific.exp: Test $_gthread.
6375 2016-01-13 Pedro Alves <palves@redhat.com>
6377 * gdb.multi/tids.exp: Test "info threads -gid".
6379 2016-01-13 Pedro Alves <palves@redhat.com>
6381 * gdb.multi/tids.exp: Test InferiorThread.global_num and
6383 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6385 2016-01-07 Pedro Alves <palves@redhat.com>
6387 * gdb.base/break.exp: Adjust to output changes.
6388 * gdb.base/hbreak2.exp: Likewise.
6389 * gdb.base/sepdebug.exp: Likewise.
6390 * gdb.base/watch_thread_num.exp: Likewise.
6391 * gdb.linespec/keywords.exp: Likewise.
6392 * gdb.multi/info-threads.exp: Likewise.
6393 * gdb.threads/thread-find.exp: Likewise.
6394 * gdb.multi/tids.c: New file.
6395 * gdb.multi/tids.exp: New file.
6397 2016-01-13 Pedro Alves <palves@redhat.com>
6399 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6401 2016-01-13 Pedro Alves <palves@redhat.com>
6403 * gdb.base/default.exp: Expect $_inferior as well.
6404 * gdb.multi/base.exp: Test $_inferior.
6406 2016-01-13 Pedro Alves <palves@redhat.com>
6408 PR breakpoints/19388
6409 * gdb.base/catch-signal-siginfo-cond.c: New file.
6410 * gdb.base/catch-signal-siginfo-cond.exp: New file.
6412 2016-01-12 Josh Stone <jistone@redhat.com>
6413 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6415 * gdb.base/catch-syscall.c (do_execve): New variable.
6416 (main): Conditionally trigger an execve.
6417 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
6418 (test_catch_syscall_execve): New, check entry/return across execve.
6419 (do_syscall_tests): Call test_catch_syscall_execve.
6421 2016-01-12 Pedro Alves <palves@redhat.com>
6423 * gdb.base/random-signal.exp (do_test): New procedure, with body
6424 of testcase moved in.
6426 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6427 Pedro Alves <palves@redhat.com>
6429 * gdb.base/funcargs.exp (finish from indirectly called function):
6430 Reintroduce the case for 'First'.
6432 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6433 Pedro Alves <palves@redhat.com>
6435 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6436 (tcatch_vfork_then_child_follow_exec)
6437 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6440 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6442 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6443 and repeats to unlimited.
6444 * gdb.python/py-value.exp: Likewise.
6445 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6446 and repeats to unlimited.
6448 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6450 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6451 and reordering the functions.
6452 * gdb.multi/hangout.c: Likewise.
6453 * gdb.multi/hello.c: Likewise.
6455 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
6457 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6459 (SingleStatisticTestResult.report): Use dict.keys instead of
6462 2016-01-06 Pedro Alves <palves@redhat.com>
6464 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
6466 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
6468 * gdb.btrace/dlopen.exp: New.
6469 * gdb.btrace/dlopen.c: New.
6470 * gdb.btrace/dlopen-dso.c: New.
6472 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
6474 * lib/gdb.exp (gdb_test): Update comments to clarify that the
6475 PATTERN argument is optional.
6477 2015-12-24 Joel Brobecker <brobecker@adacore.com>
6479 * lib/ada.exp (target_compile_ada_from_dir): New function.
6480 (gdb_compile_ada): Reimplement avoiding the use of project files.
6481 * gdb.ada/gnat_ada.gpr: Delete.
6482 * gdb.ada/cond_lang.exp: Adjust test to make path before
6484 * gdb.ada/small_reg_param.exp: Likewise.
6486 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
6488 * gdb.base/foll-vork.exp: Remove HP-UX special case.
6490 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
6492 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6495 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
6497 * gdb.base/break.exp: Remove dead code.
6498 * gdb.base/sepdebug.exp: Likewise.
6500 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6502 * gdb.asm/asm-source.exp: Remove HP-UX references.
6503 * gdb.base/annota1.exp: Likewise.
6504 * gdb.base/annota3.exp: Likewise.
6505 * gdb.base/attach.exp: Likewise.
6506 * gdb.base/bigcore.exp: Likewise.
6507 * gdb.base/break.exp: Likewise.
6508 * gdb.base/call-ar-st.exp: Likewise.
6509 * gdb.base/callfuncs.exp: Likewise.
6510 * gdb.base/catch-fork-static.exp: Likewise.
6511 * gdb.base/display.exp: Likewise.
6512 * gdb.base/foll-exec-mode.exp: Likewise.
6513 * gdb.base/foll-exec.exp: Likewise.
6514 * gdb.base/foll-fork.exp: Likewise.
6515 * gdb.base/foll-vfork.exp: Likewise.
6516 * gdb.base/funcargs.exp: Likewise.
6517 * gdb.base/hbreak2.exp: Likewise.
6518 * gdb.base/inferior-died.exp: Likewise.
6519 * gdb.base/interrupt.exp: Likewise.
6520 * gdb.base/multi-forks.exp: Likewise.
6521 * gdb.base/nodebug.exp: Likewise.
6522 * gdb.base/sepdebug.exp: Likewise.
6523 * gdb.base/solib1.c: Likewise.
6524 * gdb.base/step-test.exp: Likewise.
6525 * gdb.mi/non-stop.c: Likewise.
6526 * gdb.mi/pthreads.c: Likewise.
6527 * gdb.multi/bkpt-multi-exec.ex: Likewise.
6528 * gdb.threads/pthreads.c: Likewise.
6529 * gdb.threads/staticthreads.exp: Likewise.
6530 * lib/future.exp: Likewise.
6531 * lib/gdb.exp: Likewise.
6532 * gdb.base/so-indr-cl.c: Remove.
6533 * gdb.base/so-indr-cl.exp: Likewise.
6534 * gdb.base/solib.c: Likewise.
6535 * gdb.base/solib.exp: Likewise.
6536 * gdb.base/solib2.c: Likewise.
6538 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6540 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6541 * gdb.base/call-ar-st.exp: Likewise.
6542 * gdb.base/callfuncs.exp: Likewise.
6543 * gdb.base/condbreak.exp: Likewise.
6544 * gdb.base/constvars.exp: Likewise.
6545 * gdb.base/hbreak2.exp: Likewise.
6546 * gdb.base/langs.exp: Likewise.
6547 * gdb.base/list.exp: Likewise.
6548 * gdb.base/long_long.exp: Likewise.
6549 * gdb.base/ptype.exp: Likewise.
6550 * gdb.base/scope.exp: Likewise.
6551 * gdb.base/signals.exp: Likewise.
6552 * gdb.base/so-impl-ld.exp: Likewise.
6553 * gdb.base/varargs.exp: Likewise.
6554 * gdb.base/volatile.exp: Likewise.
6555 * gdb.base/whatis.exp: Likewise.
6556 * gdb.cp/cplusfuncs.exp: Likewise.
6557 * gdb.cp/inherit.exp: Likewise.
6558 * gdb.cp/local.exp: Likewise.
6559 * gdb.cp/member-ptr.exp: Likewise.
6560 * gdb.cp/method.exp: Likewise.
6561 * gdb.cp/overload.exp: Likewise.
6562 * gdb.cp/templates.exp: Likewise.
6563 * gdb.stabs/weird.exp: Likewise.
6564 * lib/compiler.c: Likewise.
6565 * lib/compiler.cc: Likewise.
6566 * lib/cp-support.exp: Likewise.
6567 * lib/gdb.exp: Likewise.
6569 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
6571 * configure.ac: Remove HP-UX case.
6572 * configure: Regenerate.
6574 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
6576 * lib/gdb.exp (gdb_compile): Add function doc.
6578 2015-12-17 Pedro Alves <palves@redhat.com>
6581 * gdb.multi/info-threads.exp: New file.
6583 2015-12-15 Yao Qi <yao.qi@linaro.org>
6585 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
6588 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6590 * gdb.base/history-duplicates.exp: Skip if no readline support.
6592 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6594 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
6596 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6598 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
6600 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6602 * gdb.base/completion.exp: Skip tests that interrupt GDB with
6603 ctrl-C if nointerrupts target property is set.
6604 * gdb.base/double-prompt-target-event-error.exp: Likewise.
6605 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
6606 * gdb.base/paginate-bg-execution.exp: Likewise.
6607 * gdb.base/paginate-execution-startup.exp: Likewise.
6608 * gdb.base/random-signal.exp: Likewise.
6609 * gdb.base/range-stepping.exp: Likewise.
6610 * gdb.cp/annota2.exp: Likewise.
6611 * gdb.cp/annota3.exp: Likewise.
6612 * gdb.gdb/selftest.exp: Likewise.
6613 * gdb.threads/continue-pending-status.exp: Likewise.
6614 * gdb.threads/leader-exit.exp: Likewise.
6615 * gdb.threads/manythreads.exp: Likewise.
6616 * gdb.threads/pthreads.exp: Likewise.
6617 * gdb.threads/schedlock.exp: Likewise.
6618 * gdb.threads/sigthread.exp: Likewise.
6620 2015-12-11 Don Breazeal <donb@codesourcery.com>
6622 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
6624 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
6625 * gdb.base/foll-exec.exp (main): Enable for target remote.
6626 * gdb.base/foll-fork.exp (main): Likewise.
6627 * gdb.base/foll-vfork.exp (main): Likewise.
6628 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
6629 (proc continue_to_exit_bp_loc): Use clean_restart.
6630 * gdb.base/pie-execl.exp (main): Disable for target remote.
6631 * gdb.base/watch-vfork.exp (main): Enable for target remote.
6632 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
6633 * gdb.threads/execl.exp (main): Likewise.
6634 * gdb.threads/fork-child-threads.exp (main): Likewise.
6635 * gdb.threads/fork-plus-threads.exp (main): Disable for target
6637 * gdb.threads/fork-thread-pending.exp (main): Enable for target
6639 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
6640 pid.tid style ptids, instead of just tid.
6641 * gdb.threads/thread-execl.exp (main): Enable for target remote.
6642 * gdb.threads/watchpoint-fork.exp (main): Likewise.
6643 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
6644 ptids, instead of just tid.
6646 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6648 * gdb.base/list.exp (test_list_forward): Add end of file error
6650 (test_repeat_list_command): Add end of file error test.
6651 (test_list_backwards): Add beginning of file error test.
6653 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6655 * gdb.base/list.exp (test_list_invalid_args): New function,
6656 defined, and called.
6658 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6660 * gdb.base/list.exp (test_list): Make test names unique.
6662 2015-12-11 Yao Qi <yao.qi@linaro.org>
6664 * gdb.base/coremaker2.c: Remove.
6666 2015-12-10 Pedro Alves <palves@redhat.com>
6668 * gdb.multi/base.exp: Remove stale "spaces" references.
6670 2015-12-10 Pedro Alves <palves@redhat.com>
6672 * gdb.multi/base.exp: Don't use nowarnings.
6673 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
6674 * gdb.multi/hangout.c: Include stdio.h.
6675 * gdb.multi/hello.c: Include stdlib.h.
6676 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
6677 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
6678 * gdb.multi/multi-arch.exp: Don't use nowarnings.
6680 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
6682 * gdb.dwarf2/dw2-ranges-base.c: New file.
6683 * gdb.dwarf2/dw2-ranges-base.exp: New file.
6684 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
6685 support additional line table, and debug ranges generation.
6686 (Dwarf::ranges): New function, generate .debug_ranges.
6687 (Dwarf::lines): Support generating simple line table programs.
6688 (Dwarf::assemble): Initialise new namespace variables.
6690 2015-12-09 Kevin Buettner <kevinb@redhat.com>
6692 * gdb.base/async.exp (proc test_background): Add case for
6693 asynchronous execution not supported.
6695 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
6697 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
6698 format and change test names to make them unique.
6700 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
6701 Pedro Alves <pedro@redhat.com>
6704 Add checking of floatformats setup on x86_64 hosts.
6705 * gdb.arch/i386-float.S (main): Load bigval and smallval.
6706 (smallval, bigval): New labels/constants.
6707 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
6708 float" after loading bigval and smallval.
6710 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
6712 * gdb.ada/fun_overload_menu.exp: New testcase.
6713 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
6715 2015-12-04 Josh Stone <jistone@redhat.com>
6717 * gdb.base/catch-fork-static.exp: New.
6719 2015-12-03 Yao Qi <yao.qi@linaro.org>
6721 * gdb.base/sizeof.c: Don't include stdio.h and
6722 ../lib/unbuffer_output.c.
6723 (main): New variable 'size' and 'value'. Remove printf and
6724 gdb_unbuffer_output. Assign return value to size and value.
6725 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
6727 (check_sizeof): Check the result by printing variable 'size'.
6728 (check_valueof): Check the result by printing variable 'value'.
6730 2015-12-01 Yao Qi <yao.qi@linaro.org>
6732 * gdb.base/disp-step-syscall.exp: Define syscall instruction
6733 for aarch64*-*-linux* target.
6735 2015-11-30 Pedro Alves <palves@redhat.com>
6737 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
6739 2015-11-30 Pedro Alves <palves@redhat.com>
6741 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
6742 Handle non-stop mode vCont replies.
6744 2015-11-30 Pedro Alves <palves@redhat.com>
6746 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
6747 prepare_for_testing. Start gdb with "set non-stop on" appended to
6748 GDBFLAGS. Lax expected stop output.
6750 2015-11-27 Yao Qi <yao.qi@linaro.org>
6752 * gdb.arch/arm-neon.exp: New.
6753 * gdb.arch/arm-neon.c: New.
6755 2015-11-27 Yao Qi <yao.qi@linaro.org>
6757 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
6759 2015-11-27 Yao Qi <yao.qi@linaro.org>
6761 * gdb.cp/annota2.exp: Allow multiple occurrences of the
6762 frames-invalid annotation.
6764 2015-11-27 Yao Qi <yao.qi@linaro.org>
6766 * gdb.cp/annota2.exp: Use ${frames_invalid}.
6768 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
6770 * gdb.threads/names.exp: New file.
6771 * gdb.threads/names.c: New file.
6772 * README: Mention gdb,no_thread_names.
6774 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
6777 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
6780 2015-11-24 Pedro Alves <palves@redhat.com>
6783 * gdb.base/display.exp: Expect displays to be sorted in ascending
6784 order. Use multi_line.
6785 * gdb.base/solib-display.exp: Likewise.
6787 2015-11-24 Pedro Alves <palves@redhat.com>
6790 * gdb.base/display.exp: Expect displays to be sorted in ascending
6791 order. Use multi_line.
6792 * gdb.base/solib-display.exp: Likewise.
6794 2015-11-24 Pedro Alves <palves@redhat.com>
6797 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
6798 threads in ascending order.
6799 * gdb.base/foll-fork.exp: Likewise.
6800 * gdb.base/foll-vfork.exp: Likewise.
6801 * gdb.base/multi-forks.exp: Likewise.
6802 * gdb.mi/mi-nonstop.exp: Likewise.
6803 * gdb.mi/mi-nsintrall.exp: Likewise.
6804 * gdb.multi/base.exp: Likewise.
6805 * gdb.multi/multi-arch.exp: Likewise.
6806 * gdb.python/py-inferior.exp: Likewise.
6807 * gdb.threads/break-while-running.exp: Likewise.
6808 * gdb.threads/execl.exp: Likewise.
6809 * gdb.threads/gcore-thread.exp: Likewise.
6810 * gdb.threads/info-threads-cur-sal.exp: Likewise.
6811 * gdb.threads/kill.exp: Likewise.
6812 * gdb.threads/linux-dp.exp: Likewise.
6813 * gdb.threads/multiple-step-overs.exp: Likewise.
6814 * gdb.threads/next-bp-other-thread.exp: Likewise.
6815 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
6816 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
6817 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
6818 * gdb.threads/thread-find.exp: Likewise.
6819 * gdb.threads/tls.exp: Likewise.
6820 * lib/mi-support.exp (mi_reverse_list): Delete.
6821 (mi_check_thread_states): No longer reverse list.
6823 2015-11-24 Pedro Alves <palves@redhat.com>
6825 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
6828 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6830 * gdb.trace/actions.c: Include trace-common.h.
6831 (main): Add a location for a fast tracepoint.
6832 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
6833 the normal tracepoints.
6834 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
6836 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6838 * save-trace.exp: Factor out code to these...
6839 (gdb_save_tracepoints): New.
6840 (gdb_load_tracepoints): New.
6841 (do_save_load_test): New.
6843 2015-11-23 Kevin Buettner <kevinb@redhat.com>
6845 * gdb.base/asmlabel.exp: New test.
6846 * gdb.base/asmlabel.c: New test case.
6848 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6850 * gdb.base/wrong_frame_bt_full-main.c: New file.
6851 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
6852 * gdb.base/wrong_frame_bt_full.exp: New file.
6854 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6856 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
6858 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6860 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
6861 pstate register when comparing registers values in
6862 sparc64-*-linux-gnu targets to avoid spurious differences.
6864 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6866 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
6868 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
6870 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
6871 as type argument to gdb_compile.
6872 * gdb.base/nested-subp2.exp: Likewise.
6873 * gdb.base/nested-subp3.exp: Likewise.
6875 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
6877 * lib/dwarf.exp (_note): Fix left shift of negative value.
6878 * gdb.trace/trace-condition.exp: Likewise.
6880 2015-11-13 Yao Qi <yao.qi@linaro.org>
6882 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
6883 comments about d10v.
6884 (test_scalar_returns): Likewise.
6885 * gdb.base/d10v.ld: Remove.
6886 * gdb.base/overlays.exp: Remove the target triplet checking for
6888 * gdb.base/structs.exp (test_struct_returns): Remove the
6889 comments about d10v.
6890 (test_struct_calls): Likewise.
6892 2015-11-13 Yao Qi <yao.qi@linaro.org>
6894 * gdb.base/gnu_vector.exp: Check the return value by "p res".
6895 * gdb.base/gnu_vector.c: Don't include stdio.h.
6896 (main): Don't print res and call add_some_intvecs.
6898 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
6900 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
6903 (func4): Use FAST_TRACEPOINT_LABEL.
6904 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
6907 (thread_function): Use FAST_TRACEPOINT_LABEL.
6908 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
6910 (marker): Use FAST_TRACEPOINT_LABEL.
6911 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
6912 (pendfunc1): Remove.
6913 (pendfunc): Use FAST_TRACEPOINT_LABEL.
6914 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
6916 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
6917 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
6920 (marker): Use FAST_TRACEPOINT_LABEL.
6921 * gdb.trace/trace-common.h: New header.
6922 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
6925 (marker): Use FAST_TRACEPOINT_LABEL.
6926 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
6928 (thread_function): Use FAST_TRACEPOINT_LABEL.
6930 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
6932 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
6934 * gdb.trace/change-loc.exp: Use global pcreg definition.
6935 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
6936 * gdb.trace/entry-values.exp: Use global spreg definition, add $
6938 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
6939 * gdb.trace/pending.exp: Likewise.
6940 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
6941 * gdb.trace/trace-break.exp: Likewise.
6942 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
6944 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
6945 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
6947 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
6949 2015-11-09 Joel Brobecker <brobecker@adacore.com>
6951 * gdb.ada/fin_fun_out: New testcase.
6953 2015-11-07 Kevin Buettner <kevinb@redhat.com>
6955 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
6956 value associated with DW_AT_byte_size.
6957 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
6958 constants for DW_AT_byte_size, DW_AT_lower_bound, and
6961 2015-11-07 Kevin Buettner <kevinb@redhat.com>
6963 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
6964 (gdb_target_symbol_prefix_flags): Define in terms of _asm
6966 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
6967 gdb.dwarf2/dw2-canonicalize-type.exp,
6968 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
6969 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
6970 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
6971 provided by gdb_target_symbol_prefix_flags_asm.
6972 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
6973 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
6974 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
6975 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
6976 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
6977 macros where needed). Use this macro for symbols which require
6978 the prefix provided by SYMBOL_PREFIX.
6980 2015-11-05 Kevin Buettner <kevinb@redhat.com>
6982 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
6984 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
6985 representing expressions, of more than one list element.
6986 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
6987 to prepend linker symbol prefix to f.
6988 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
6989 table_1 and table_2.
6990 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
6991 Likewise, for f and g.
6992 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
6994 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
6996 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
6997 table_1_ptr and table_2_ptr.
6999 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7000 Joel Brobecker <brobecker@adacore.com>
7002 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
7004 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
7006 * gdb.reverse/s390-mvcle.c: New test.
7007 * gdb.reverse/s390-mvcle.exp: New file.
7008 * lib/gdb.exp: Enable reverse tests on s390*-linux.
7010 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7012 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
7014 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7016 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
7018 * gdb.reverse/getresuid-reverse.exp: Likewise.
7019 * gdb.reverse/pipe-reverse.exp: Likewise.
7020 * gdb.reverse/readv-reverse.exp: Likewise.
7021 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7022 * gdb.reverse/time-reverse.exp: Likewise.
7023 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
7025 2015-10-30 Yao Qi <yao.qi@linaro.org>
7027 * gdb.threads/wp-replication.c (watch_count_done): Remove.
7028 (empty_cycle): Remove.
7029 (main): Don't call empty_cycle. Don't use watch_count_done.
7030 * gdb.threads/wp-replication.exp: Don't set breakpoint on
7031 empty_cycle. Rewrite the code counting HW watchpoints.
7033 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
7035 * gdb.reverse/fstatat-reverse.c: New test.
7036 * gdb.reverse/fstatat-reverse.exp: New file.
7037 * gdb.reverse/getresuid-reverse.c: New test.
7038 * gdb.reverse/getresuid-reverse.exp: New file.
7039 * gdb.reverse/pipe-reverse.c: New test.
7040 * gdb.reverse/pipe-reverse.exp: New file.
7041 * gdb.reverse/readv-reverse.c: New test.
7042 * gdb.reverse/readv-reverse.exp: New file.
7043 * gdb.reverse/recvmsg-reverse.c: New test.
7044 * gdb.reverse/recvmsg-reverse.exp: New file.
7045 * gdb.reverse/time-reverse.c: New test.
7046 * gdb.reverse/time-reverse.exp: New file.
7047 * gdb.reverse/waitpid-reverse.c: New test.
7048 * gdb.reverse/waitpid-reverse.exp: New file.
7050 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7052 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
7054 2015-10-26 Doug Evans <dje@google.com>
7057 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
7058 * gdb.dwarf2/bad-regnum.c: New file.
7059 * gdb.dwarf2/bad-regnum.exp: New file.
7061 2015-10-26 Doug Evans <dje@google.com>
7064 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
7067 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7069 * gdb.compile/compile.exp (compile code globalvar): Update expectation
7070 for a change by "Mention language in compile error message".
7072 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
7075 * gdb.python/py-type.c (C::a_method): New.
7076 (C::a_const_method): New.
7077 (C::a_static_method): New.
7079 * gdb.python/py-type.exp (test_fields): Test getting fields
7080 from function and method.
7082 2015-10-21 Keven Boell <keven.boell@intel.com>
7084 * gdb.fortran/vla-alloc-assoc.exp: New file.
7085 * gdb.fortran/vla-datatypes.exp: New file.
7086 * gdb.fortran/vla-datatypes.f90: New file.
7087 * gdb.fortran/vla-history.exp: New file.
7088 * gdb.fortran/vla-ptype-sub.exp: New file.
7089 * gdb.fortran/vla-ptype.exp: New file.
7090 * gdb.fortran/vla-sizeof.exp: New file.
7091 * gdb.fortran/vla-sub.f90: New file.
7092 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
7093 * gdb.fortran/vla-value-sub-finish.exp: New file.
7094 * gdb.fortran/vla-value-sub.exp: New file.
7095 * gdb.fortran/vla-value.exp: New file.
7096 * gdb.fortran/vla-ptr-info.exp: New file.
7097 * gdb.mi/mi-vla-fortran.exp: New file.
7098 * gdb.mi/vla.f90: New file.
7100 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
7102 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
7103 of hardwired timeout value.
7105 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7106 Pedro Alves <palves@redhat.com>
7108 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
7109 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
7111 2015-10-19 Josh Stone <jistone@redhat.com>
7113 * gdb.base/catch-syscall.c: Include <sched.h>.
7114 (unknown_syscall): New variable.
7115 (main): Trigger a vfork and an unknown syscall.
7116 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
7117 (unknown_syscall_number): Likewise.
7118 (check_call_to_syscall): Accept an optional syscall pattern.
7119 (check_return_from_syscall): Likewise.
7120 (check_continue): Likewise.
7121 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
7122 (test_catch_syscall_skipping_return): New test toggling off 'catch
7123 syscall' to step over the syscall return, then toggling back on.
7124 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
7125 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
7126 (do_syscall_tests): Call test_catch_syscall_without_args and
7127 test_catch_syscall_mid_vfork.
7128 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
7129 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
7131 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
7133 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
7134 print g_vE): Add new pass patterns.
7135 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
7136 print various symbol names for vptr fields.
7138 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
7140 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
7143 2015-10-12 Yao Qi <yao.qi@linaro.org>
7145 * gdb.arch/disp-step-insn-reloc.exp: New test case.
7147 2015-10-12 Yao Qi <yao.qi@linaro.org>
7149 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
7150 is aarch64*-*-linux*.
7152 2015-10-12 Yao Qi <yao.qi@linaro.org>
7154 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
7155 (can_relocate_bcond_true): ... it.
7156 (can_relocate_bcond_false): New function.
7158 (can_relocate_bl): Likewise.
7159 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
7162 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
7164 * gdb.base/nested-addr.c: New file.
7165 * gdb.base/nested-addr.exp: New testcase.
7167 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
7169 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
7170 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
7171 its output. Ignore the output of "record goto begin" and instead
7172 check that GDB is replaying.
7174 2015-10-09 Pedro Alves <palves@redhat.com>
7176 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
7177 (top level): Use it in the run with no args test.
7179 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
7181 * gdb.dlang/properties.exp: New file.
7183 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
7185 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
7186 whether or not address 0x1000 is mapped on the target.
7188 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
7190 * gdb.python/py-type.exp: Do not run tests if binaries fail to
7193 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
7195 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
7196 instruction-history test.
7198 2015-09-28 Doug Evans <dje@google.com>
7200 * gdb.base/gcore.c (array_func): Add reference to static_array.
7202 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
7204 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
7207 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
7209 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
7210 short or char as base type.
7212 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
7214 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
7215 to allow any size enum.
7217 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
7219 * gdb.ada/array_ptr_renaming.exp: New testcase.
7220 * gdb.ada/array_ptr_renaming/foo.adb: New file.
7221 * gdb.ada/array_ptr_renaming/pack.ads: New file.
7223 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7225 * gdb.trace/ftrace-lock.c: New file.
7226 * gdb.trace/ftrace-lock.exp: New file.
7228 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7230 * gdb.arch/insn-reloc.c: New file.
7231 * gdb.arch/ftrace-insn-reloc.exp: New file.
7233 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7235 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
7237 * gdb.trace/pendshr1.c (pendfunc): Likewise.
7238 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
7239 * gdb.trace/range-stepping.c: Likewise.
7240 * gdb.trace/trace-break.c: Likewise.
7241 * gdb.trace/trace-mt.c (thread_function): Likewise.
7242 * gdb.trace/ftrace.c (marker): Likewise.
7243 * gdb.trace/trace-condition.c (marker): Likewise.
7244 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
7245 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
7248 2015-09-18 Doug Evans <xdje42@gmail.com>
7250 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
7251 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
7253 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7255 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
7258 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7260 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
7261 the pending breakpoint. Remove timeout override for "Run till
7262 MI pending breakpoint on pendfunc3 on thread 2" test.
7264 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7266 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
7269 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7271 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
7272 in breakpoint filename pattern.
7274 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7276 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
7278 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7280 * gdb.linespec/explicit.exp: Check for readline support for
7281 tab-completion tests. Fix obvious typo.
7283 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7285 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
7288 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7290 * gdb.btrace/non-stop.c: New.
7291 * gdb.btrace/non-stop.exp: New.
7293 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
7294 Yao Qi <yao.qi@linaro.org>
7296 * gdb.trace/trace-condition.c: New file.
7297 * gdb.trace/trace-condition.exp: New file.
7299 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
7301 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
7302 for testing bytecode compilation.
7304 2015-09-16 Pedro Alves <palves@redhat.com>
7305 Sandra Loosemore <sandra@codesourcery.com>
7307 * gdb.threads/non-stop-fair-events.c (timeout): New global.
7308 (SECONDS): Redefine.
7309 (main): Call pthread_kill and alarm early.
7310 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
7312 (test): If the target can't hardware step and doesn't support
7313 displaced stepping, increase the timeout.
7315 2015-09-16 Pedro Alves <palves@redhat.com>
7317 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
7318 (enable_debug): New procedures.
7319 (test): Use them. Bail out if waiting for threads fails.
7320 (top level): Bail out if a test fails.
7322 2015-09-16 Yao Qi <yao.qi@linaro.org>
7324 * gdb.asm/asm-source.exp: Set asm-arch for
7325 aarch64*-*-* target.
7326 * gdb.asm/aarch64.inc: New file.
7328 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
7330 * gdb.ada/array_of_variable_length.exp: New testcase.
7331 * gdb.ada/array_of_variable_length/foo.adb: New file.
7332 * gdb.ada/array_of_variable_length/pck.adb: New file.
7333 * gdb.ada/array_of_variable_length/pck.ads: New file.
7335 2015-09-15 Doug Evans <dje@google.com>
7337 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
7338 of function static local variable.
7340 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7342 * gdb.threads/tls-so_extern.exp: New test file.
7343 * gdb.threads/tls-so_extern.c: New test file.
7344 * gdb.threads/tls-so_extern_main.c: New test file.
7346 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7348 * gdb.opt/solib-intra-step-lib.c: New file.
7349 * gdb.opt/solib-intra-step-main.c: New file.
7350 * gdb.opt/solib-intra-step.exp: New file.
7352 2015-09-15 Pedro Alves <palves@redhat.com>
7354 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
7355 gdb_continue_to_breakpoint instead of gdb_test_multiple.
7357 2015-09-14 Pedro Alves <palves@redhat.com>
7359 * gdb.base/hook-stop-continue.c: Delete.
7360 * gdb.base/hook-stop-continue.exp: Delete.
7361 * gdb.base/hook-stop-frame.c: Delete.
7362 * gdb.base/hook-stop-frame.exp: Delete.
7363 * gdb.base/hook-stop.c: New file.
7364 * gdb.base/hook-stop.exp: New file.
7366 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
7368 * gdb.ada/access_to_packed_array.exp: New testcase.
7369 * gdb.ada/access_to_packed_array/foo.adb: New file.
7370 * gdb.ada/access_to_packed_array/pack.adb: New file.
7371 * gdb.ada/access_to_packed_array/pack.ads: New file.
7373 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
7375 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
7378 2015-09-11 Don Breazeal <donb@codesourcery.com>
7380 * gdb.base/foll-exec.c: Add copyright header. Fix
7382 * gdb.base/foll-exec.exp (zap_session): Delete proc.
7383 (do_exec_tests): Use clean_restart in place of zap_session,
7384 and for test initialization. Fix formatting issues. Use
7385 fail in place of perror.
7386 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7387 an expect statement to match an expression with output from
7388 the program under debug.
7389 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7390 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7391 * gdb.threads/non-ldr-exc-2.exp: Likewise.
7392 * gdb.threads/non-ldr-exc-3.exp: Likewise.
7393 * gdb.threads/non-ldr-exc-4.exp: Likewise.
7395 2015-09-09 Doug Evans <dje@google.com>
7397 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7399 2015-09-09 Doug Evans <dje@google.com>
7401 * gdb.base/pie-execl.exp: Fix result test of build_executable.
7403 2015-09-09 Doug Evans <dje@google.com>
7405 * gdb.base/savedregs.exp: Fix typo.
7407 2015-09-09 Pedro Alves <palves@redhat.com>
7409 * gdb.mi/mi-cli.exp: Add CLI finish tests.
7411 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
7413 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
7414 command actually switches threads. Give up on remaining
7415 tests if target fails to stop at breakpoint.
7417 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
7419 * gdb.ada/funcall_char.exp: New testcase.
7420 * gdb.ada/funcall_char/foo.adb: New file.
7422 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
7424 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
7425 expected outputs. Add two testcases for completing ambiguous
7427 * gdb.ada/complete/aux_pck.adb: New file.
7428 * gdb.ada/complete/aux_pck.ads: New file.
7429 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
7430 Ambiguous_Func functions.
7431 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
7432 * gdb.ada/complete/pck.adb: Likewise.
7434 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
7436 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
7437 failures to run the test program under GDB.
7439 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
7441 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7444 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
7446 * gdb.base/run-after-attach.exp: New test file.
7447 * gdb.base/run-after-attach.c: New test file.
7449 2015-08-26 Don Breazeal <donb@codesourcery.com>
7451 * gdb.base/foll-exec-2.c: New test program.
7452 * gdb.base/foll-exec-2.exp: New test.
7454 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7456 * gdb.base/nested-subp1.exp: New file.
7457 * gdb.base/nested-subp1.c: New file.
7458 * gdb.base/nested-subp2.exp: New file.
7459 * gdb.base/nested-subp2.c: New file.
7460 * gdb.base/nested-subp3.exp: New file.
7461 * gdb.base/nested-subp3.c: New file.
7463 2015-08-24 Pedro Alves <palves@redhat.com>
7465 * gdb.server/connect-without-multi-process.c: New file.
7466 * gdb.server/connect-without-multi-process.exp: New file.
7468 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7470 * gdb.opt/inline-markers.c: Make z int.
7472 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7474 * gdb.opt/inline-markers.c: Make z volatile.
7476 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7478 * gdb.opt/inline-bt.c: New volatile global z.
7479 * gdb.opt/inline-cmds.c: Likewise.
7480 * gdb.opt/inline-locals.c: Likewise.
7481 * gdb.opt/inline-markers.c: New extern global z.
7483 (inline_fn): Likewise.
7485 2015-08-24 Pedro Alves <palves@redhat.com>
7487 * config/m32r-stub.exp: Remove file.
7488 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7489 * gdb.base/call-rt-st.exp: Likewise.
7490 * gdb.base/call-strs.exp: Likewise.
7491 * gdb.base/default.exp: Remove references to h8300-*-hms and
7493 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7495 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7497 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7498 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
7499 and "return" use KFAIL when GDB can not read/write the vector
7502 2015-08-21 Gary Benson <gbenson@redhat.com>
7504 * gdb.trace/pending.exp: Cope with remote transfer warnings.
7506 2015-08-20 Pedro Alves <palves@redhat.com>
7508 * gdb.server/solib-list.exp: No longer expect an interior stop in
7511 2015-08-20 Pedro Alves <palves@redhat.com>
7513 * gdb.server/connect-stopped-target.c: New file.
7514 * gdb.server/connect-stopped-target.exp: New file.
7516 2015-08-20 Pedro Alves <palves@redhat.com>
7518 * gdb.dwarf2/comp-unit-lang.exp: New file.
7519 * gdb.dwarf2/comp-unit-lang.c: New file.
7521 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
7523 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7524 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7526 2015-08-19 Kevin Buettner <kevinb@redhat.com>
7528 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7529 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7531 2015-08-18 Doug Evans <dje@google.com>
7532 Adrian Sendroiu <adrian.sendroiu@freescale.com>
7534 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7535 skip_python_tests. New arg prompt_regexp.
7536 (skip_python_tests): New function.
7537 * lib/mi-support.exp (mi_skip_python_tests): New function.
7538 * gdb.python/py-mi-objfile-gdb.py: New file.
7539 * gdb.python/py-mi-objfile.c: New file.
7540 * gdb.python/py-mi-objfile.exp: New file.
7542 2015-08-17 Keith Seitz <keiths@redhat.com>
7544 * gdb.linespec/explicit.exp: Move strace test from here ...
7545 * gdb.trace/strace.exp: ... to here.
7547 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
7549 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
7550 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
7552 2015-08-14 Doug Evans <xdje42@gmail.com>
7554 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
7555 inferior before selecting a new file.
7557 2015-08-14 Doug Evans <xdje42@gmail.com>
7559 * gdb.mi/mi-disassemble.exp: Update.
7560 * gdb.base/disasm-optim.S: New file.
7561 * gdb.base/disasm-optim.c: New file.
7562 * gdb.base/disasm-optim.h: New file.
7563 * gdb.base/disasm-optim.exp: New file.
7565 2015-08-14 Keith Seitz <keiths@redhat.com>
7567 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
7570 2015-08-13 Joel Brobecker <brobecker@adacore.com>
7572 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
7574 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
7576 * gdb.ada/fun_renaming.exp: New testcase.
7577 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
7578 * gdb.ada/fun_renaming/pack.adb: New file.
7579 * gdb.ada/fun_renaming/pack.ads: New file.
7581 2015-08-12 Keith Seitz <keiths@redhat.com>
7583 * gdb.base/dso2dso.exp: Pass basename of source file in call to
7584 gdb_get_line_number.
7586 2015-08-12 Joel Brobecker <brobecker@adacore.com>
7588 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
7589 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
7590 gdb.base/dso2dso.exp: New files.
7592 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
7593 Pedro Alves <palves@redhat.com>
7594 Keith Seitz <keiths@redhat.com>
7596 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
7599 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7601 * gdb.base/gdbhistsize-history.exp
7602 (test_histsize_history_setting): Use save_vars.
7603 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7605 (test_no_truncation_of_unlimited_history_file): Use save_vars.
7606 * gdb.base/readline.exp: Use save_vars.
7608 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7610 * lib/gdb.exp (save_vars): New proc.
7612 2015-08-11 Keith Seitz <keiths@redhat.com>
7614 * gdb.base/help.exp: Update help_breakpoint_text.
7616 2015-08-11 Keith Seitz <keiths@redhat.com>
7618 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
7619 (at toplevel): Call test_explicit_breakpoints.
7620 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7622 * lib/mi-support.exp (mi_make_breakpoint): Add support for
7623 breakpoint conditions, "-cond".
7625 2015-08-11 Keith Seitz <keiths@redhat.com>
7627 * gdb.linespec/3explicit.c: New file.
7628 * gdb.linespec/cpexplicit.cc: New file.
7629 * gdb.linespec/cpexplicit.exp: New file.
7630 * gdb.linespec/explicit.c: New file.
7631 * gdb.linespec/explicit.exp: New file.
7632 * gdb.linespec/explicit2.c: New file.
7633 * gdb.linespec/ls-errs.exp: Add explicit location tests.
7634 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
7635 before using in the matching pattern.
7636 Clarify that `prefix' is a regular expression.
7638 2015-08-11 Keith Seitz <keiths@redhat.com>
7640 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
7642 Add tests for missing ",FMT" and ",".
7644 2015-08-10 Doug Evans <dje@google.com>
7645 Keith Seitz <keiths@redhat.com>
7648 * gdb.base/completion.exp: Add location completer tests.
7650 2015-08-07 Pedro Alves <palves@redhat.com>
7652 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
7654 (top level): Run do_test with and without displaced stepping.
7656 2015-08-07 Pedro Alves <palves@redhat.com>
7658 * gdb.base/valgrind-disp-step.c: New file.
7659 * gdb.base/valgrind-disp-step.exp: New file.
7661 2015-08-07 Pedro Alves <palves@redhat.com>
7663 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
7665 (main): Add alarm. Run an infinite loop instead of calling
7667 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
7669 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
7671 (main): Add alarm. Run an infinite loop instead of calling
7673 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
7676 2015-08-07 Pedro Alves <palves@redhat.com>
7678 * gdb.base/checkpoint-ns.exp: New file.
7679 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
7682 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
7684 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
7685 * gdb.btrace/instruction_history.exp: Update.
7686 * gdb.btrace/tsx.exp: New.
7687 * gdb.btrace/tsx.c: New.
7689 2015-08-06 Pedro Alves <palves@redhat.com>
7691 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
7693 * gdb.reverse/until-precsave.exp: Bump timeouts.
7695 2015-08-06 Pedro Alves <palves@redhat.com>
7697 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
7699 2015-08-06 Pedro Alves <palves@redhat.com>
7702 * gdb.threads/process-dies-while-handling-bp.c: New file.
7703 * gdb.threads/process-dies-while-handling-bp.exp: New file.
7705 2015-08-06 Pedro Alves <palves@redhat.com>
7707 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
7708 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
7710 2015-08-05 Pedro Alves <palves@redhat.com>
7712 * gdb.threads/next-while-other-thread-longjmps.c: New file.
7713 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
7715 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
7717 * gdb.base/bp-permanent.exp: Report test as unsupported if
7718 the target cannot stop at the permanent breakpoint.
7720 2015-08-03 Doug Evans <dje@google.com>
7722 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
7725 2015-08-03 Doug Evans <dje@google.com>
7727 * Makefile.in (workers/%.worker, build-perf): New rule.
7728 (GDB_PERFTEST_MODE): New variable.
7729 (check-perf): Use it.
7730 (clean): Clean up gdb.perf parallel build subdirs.
7731 * lib/build-piece.exp: New file.
7732 * lib/gdb.exp (make_gdb_parallel_path): New function
7733 (standard_output_file, standard_temp_file): Call it.
7734 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7736 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
7738 2015-08-03 Doug Evans <dje@google.com>
7740 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
7741 (LOG_FILE_NAME): New global.
7742 (TextReporter.__init__): Initialize self.txt_sum.
7743 (TextReporter.report): Add support for multiple data-points.
7744 Move report to perftest.sum, put raw data in perftest.log.
7745 (TextReporter.start): Open sum and log files.
7746 (TextReporter.end): Close sum and log files.
7747 * gdb.perf/lib/perftest/testresult.py
7748 (SingleStatisticTestResult.record): Handle multiple data-points.
7750 2015-07-31 Pedro Alves <palves@redhat.com>
7752 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
7753 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7754 kill_wait_spawned_process instead of explicit "kill -9".
7755 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
7756 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7757 kill_wait_spawned_process.
7758 * gdb.base/attach-twice.exp: Likewise.
7759 * gdb.base/attach.exp: Likewise.
7760 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
7762 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
7763 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7764 kill_wait_spawned_process.
7765 * gdb.base/valgrind-infcall.exp: Likewise.
7766 * gdb.multi/multi-attach.exp: Likewise.
7767 * gdb.python/py-prompt.exp: Likewise.
7768 * gdb.python/py-sync-interp.exp: Likewise.
7769 * gdb.server/ext-attach.exp: Likewise.
7770 * gdb.threads/attach-into-signal.exp (corefunc): Use
7771 spawn_wait_for_attach, spawn_id_get_pid and
7772 kill_wait_spawned_process.
7773 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
7774 spawn_wait_for_attach returning a spawn id instead of a pid. Use
7775 spawn_id_get_pid and kill_wait_spawned_process.
7776 * gdb.threads/attach-stopped.exp (corefunc): Use
7777 spawn_wait_for_attach, spawn_id_get_pid and
7778 kill_wait_spawned_process.
7779 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
7780 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7781 kill_wait_spawned_process instead of explicit "kill -9".
7782 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
7783 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
7784 (spawn_wait_for_attach): Use spawn instead of exec to spawn
7785 processes. Don't map cygwin/windows pids here. Now returns a
7788 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7790 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
7791 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
7794 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7796 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
7798 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7801 2014-05-21 Mark Wielaard <mjw@redhat.com>
7803 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7805 2015-07-30 Pedro Alves <palves@redhat.com>
7807 * linux-low.c (handle_extended_wait): Set the child's last
7808 reported status to TARGET_WAITKIND_STOPPED.
7810 2015-07-30 Pedro Alves <palves@redhat.com>
7813 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
7814 only shows inferior 1.
7816 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
7817 Pedro Alves <palves@redhat.com>
7820 * gdb.threads/fork-plus-threads.c: New file.
7821 * gdb.threads/fork-plus-threads.exp: New file.
7823 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7825 * gdb.base/batch-preserve-term-settings.exp
7826 (test_terminal_settings_preserved_after_cli_exit): Use
7829 2015-07-29 Pedro Alves <palves@redhat.com>
7830 Don Breazeal <donb@codesourcery.com>
7832 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
7833 output from both inferior_spawn_id and gdb_spawn_id.
7835 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7837 * gdb.threads/attach-into-signal.exp (corefunc): Use
7838 with_test_prefix on nested loops, uniquefying the test messages.
7840 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7842 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
7845 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7847 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
7849 (test_terminal_settings_preserved_after_sigterm): New test.
7851 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7853 * gdb.base/batch-preserve-term-settings.exp
7854 (test_terminal_settings_preserved_after_cli_exit): New test.
7856 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7858 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
7859 manipulation of saved_gdbflags.
7860 (test_terminal_settings_preserved): Remove global declaration of
7861 the unused variable pagination_prompt. Remove manipulation of
7862 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
7865 2015-07-29 Pedro Alves <palves@redhat.com>
7867 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
7869 2015-07-29 Pedro Alves <palves@redhat.com>
7871 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
7874 2015-07-29 Pedro Alves <palves@redhat.com>
7876 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
7877 (main): Call gdb_unbuffer_output.
7878 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
7879 (main): Call gdb_unbuffer_output.
7880 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
7881 (main): Call gdb_unbuffer_output.
7882 * gdb.base/call-strs.exp: Adjust to step over the
7883 gdb_unbuffer_output call.
7884 * gdb.base/catch-gdb-caused-signals.c: Include
7885 "../lib/unbuffer_output.c".
7886 (main): Call gdb_unbuffer_output.
7887 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
7888 (main): Call gdb_unbuffer_output.
7889 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
7890 (main): Call gdb_unbuffer_output.
7891 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
7892 (main): Call gdb_unbuffer_output.
7893 * gdb.base/shlib-call.exp: Adjust to step over the
7894 gdb_unbuffer_output call.
7895 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
7896 (main): Call gdb_unbuffer_output.
7897 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
7898 (main): Call gdb_unbuffer_output.
7899 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
7900 (main): Rename to ...
7902 (main): Reimplement.
7903 * gdb.base/varargs.exp: Run to test instead of to main.
7904 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7905 (main): Call gdb_unbuffer_output.
7907 2015-07-29 Pedro Alves <palves@redhat.com>
7909 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
7910 factore out from mi_continue_dprintf. For call-style dprintfs,
7911 expect dprintf output out of $inferior_spawn_id.
7912 (mi_continue_dprintf): Use mi_expect_dprintf.
7913 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7914 (main): Call gdb_unbuffer_output.
7916 2015-07-29 Pedro Alves <palves@redhat.com>
7918 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
7919 (default_mi_gdb_start): Set inferior_spawn_id instead of
7920 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
7922 (mi_gdb_test): Always expect inferior output from both
7923 $inferior_spawn_id and $gdb_spawn_id.
7925 2015-07-29 Pedro Alves <palves@redhat.com>
7927 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
7928 send_inferior and $inferior_spawn_id.
7930 2015-07-29 Pedro Alves <palves@redhat.com>
7932 * gdb.gdb/complaints.exp (test_initial_complaints)
7933 (test_serial_complaints, test_short_complaints): Use
7935 (test_empty_complaint): Handle $inferior_spawn_id !=
7938 2015-07-29 Pedro Alves <palves@redhat.com>
7940 * gdb.base/varargs.exp: Use gdb_test_stdio.
7942 2015-07-29 Pedro Alves <palves@redhat.com>
7944 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
7946 2015-07-29 Pedro Alves <palves@redhat.com>
7948 * gdb.base/ending-run.exp: Use gdb_test_stdio.
7950 2015-07-29 Pedro Alves <palves@redhat.com>
7952 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
7953 parameter into two new parameters, "inf_result" and "gdb_result".
7954 Expect inferior output and gdb output from $inferior_spawn_id and
7955 $gdb_spawn_id, respectively. Adjust all callers.
7957 2015-07-29 Pedro Alves <palves@redhat.com>
7959 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
7960 of gdb_test_sequence.
7962 2015-07-29 Pedro Alves <palves@redhat.com>
7964 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
7965 (saw_spurious_output): Expect inferior output from
7966 $inferior_spawn_id. Use gdb_test_stdio.
7968 2015-07-29 Pedro Alves <palves@redhat.com>
7970 * gdb.base/dprintf.exp: Use standard_testfile. Change
7971 prepare_for_testing call.
7972 (srcfile): Don't set.
7973 (restart): New procedure.
7974 (test_dprintf): New procecure, use to continue over dprintfs.
7975 (test_call, test_agent): New procedures, tests moved here.
7976 Restart gdb and recreate dprintfs. Adjust expected output.
7978 2015-07-29 Pedro Alves <palves@redhat.com>
7980 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
7982 2015-07-29 Pedro Alves <palves@redhat.com>
7984 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
7986 2015-07-29 Pedro Alves <palves@redhat.com>
7988 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
7991 2015-07-29 Pedro Alves <palves@redhat.com>
7993 * lib/gdb.exp (gdb_test_stdio): New procedure.
7995 2015-07-29 Pedro Alves <palves@redhat.com>
7997 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
7999 2015-07-29 Pedro Alves <palves@redhat.com>
8001 * gdb.base/call-signal-resume.exp: Remove check for
8002 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
8003 * gdb.base/unwindonsignal.exp: Likewise.
8004 * gdb.base/call-signals.c (gen_signal): Remove printf call.
8005 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
8007 2015-07-29 Pedro Alves <palves@redhat.com>
8009 * gdb.base/siginfo-addr.c (pass): New function.
8010 (handler): Call it iff si_addr is correct.
8011 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
8012 Set a breakpoint at "pass" and continue to it.
8014 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
8016 * gdb.python/py-objfile.exp: Make some tests have unique names.
8017 * gdb.python/py-pp-registration.exp: Likewise.
8019 2015-07-28 Pedro Alves <palves@redhat.com>
8021 * gdb.server/server-exec-info.exp: Issue a "disconnect".
8023 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8025 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
8027 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8029 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
8031 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
8033 * gdb.base/gdb-sigterm-2.exp: New test.
8035 2015-07-25 Doug Evans <xdje42@gmail.com>
8038 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8039 (workers/%.worker, build-perf): New rule.
8040 (GDB_PERFTEST_MODE): New variable.
8041 (check-perf): Use it.
8042 (clean): Clean up gdb.perf parallel build subdirs.
8043 * lib/build-piece.exp: New file.
8044 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8045 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8047 (standard_temp_file): Ditto.
8048 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8051 2015-07-24 Doug Evans <dje@google.com>
8053 * gdb.perf/lib/perftest/utils.py: New file.
8054 * gdb.perf/gm-hello.cc: New file.
8055 * gdb.perf/gm-pervasive-typedef.cc: New file.
8056 * gdb.perf/gm-pervasive-typedef.h: New file.
8057 * gdb.perf/gm-std.cc: New file.
8058 * gdb.perf/gm-std.h: New file.
8059 * gdb.perf/gm-use-cerr.cc: New file.
8060 * gdb.perf/gm-utils.h: New file.
8061 * gdb.perf/gmonster-null-lookup.py: New file.
8062 * gdb.perf/gmonster-pervasive-typedef.py: New file.
8063 * gdb.perf/gmonster-print-cerr.py: New file.
8064 * gdb.perf/gmonster-ptype-string.py: New file.
8065 * gdb.perf/gmonster-runto-main.py: New file.
8066 * gdb.perf/gmonster-select-file.py: New file.
8067 * gdb.perf/gmonster1-null-lookup.exp: New file.
8068 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
8069 * gdb.perf/gmonster1-print-cerr.exp: New file.
8070 * gdb.perf/gmonster1-ptype-string.exp: New file.
8071 * gdb.perf/gmonster1-runto-main.exp: New file.
8072 * gdb.perf/gmonster1-select-file.exp: New file.
8073 * gdb.perf/gmonster1.cc: New file.
8074 * gdb.perf/gmonster1.exp: New file.
8075 * gdb.perf/gmonster2-null-lookup.exp: New file.
8076 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
8077 * gdb.perf/gmonster2-print-cerr.exp: New file.
8078 * gdb.perf/gmonster2-ptype-string.exp: New file.
8079 * gdb.perf/gmonster2-runto-main.exp: New file.
8080 * gdb.perf/gmonster2-select-file.exp: New file.
8081 * gdb.perf/gmonster2.cc: New file.
8082 * gdb.perf/gmonster2.exp: New file.
8084 2015-07-24 Doug Evans <dje@google.com>
8086 * gdb.perf/README: New file.
8087 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
8088 * lib/gen-perf-test.exp: New file.
8090 2015-07-24 Doug Evans <dje@google.com>
8092 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
8093 (PerfTest::startup): New function.
8094 (PerfTest::run): Return result of calling body.
8095 (PerfTest::assemble): Rewrite.
8096 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
8097 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
8098 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
8099 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
8100 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
8102 2015-07-24 Doug Evans <dje@google.com>
8104 * lib/gdb.exp (clean_restart): Make executable optional.
8106 2015-07-24 Doug Evans <dje@google.com>
8108 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
8109 compiler_info references.
8110 * gdb.cp/temargs.exp: Ditto.
8111 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
8112 (get_compiler_info): Early exit if already computed. Set compiler_info
8113 to "unknown" if there was a problem.
8114 (test_compiler_info): Add function comment. Call get_compiler_info.
8116 2015-07-24 Doug Evans <dje@google.com>
8118 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8119 (workers/%.worker, build-perf): New rule.
8120 (GDB_PERFTEST_MODE): New variable.
8121 (check-perf): Use it.
8122 (clean): Clean up gdb.perf parallel build subdirs.
8123 * lib/build-piece.exp: New file.
8124 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8125 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8127 (standard_temp_file): Ditto.
8128 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8131 2015-07-24 Doug Evans <dje@google.com>
8133 * lib/future.exp (gdb_default_target_compile): New option
8135 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
8138 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
8140 * gdb.base/catch-syscall.exp: Call gdb_exit before
8143 2015-07-24 Pedro Alves <palves@redhat.com>
8145 * gdb.python/py-events.exp: Accept output between the stop event
8147 * gdb.python/py-evsignal.exp: Likewise.
8148 * gdb.python/py-evthreads.exp: Likewise.
8150 2015-07-24 Pedro Alves <palves@redhat.com>
8153 * gdb.threads/non-ldr-exit.c: New file.
8154 * gdb.threads/non-ldr-exit.exp: New file.
8156 2015-07-24 Yao Qi <yao.qi@linaro.org>
8158 * gdb.server/ext-wrapper.exp: Test --wrapper option when
8161 2015-07-24 Yao Qi <yao.qi@linaro.org>
8163 * gdb.server/ext-restart.exp: New file.
8165 2015-07-24 Yao Qi <yao.qi@linaro.org>
8167 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
8169 * gdb.server/ext-wrapper.exp: New file.
8171 2015-07-23 Doug Evans <dje@google.com>
8173 * gdb.dwarf2/dw2-dummy-cu.S: New file.
8174 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
8176 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
8178 * gdb.ada/var_arr_typedef.exp: New testcase.
8179 * gdb.ada/var_arr_typedef/pack.adb: New file.
8180 * gdb.ada/var_arr_typedef/pack.ads: New file.
8181 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
8183 2015-07-20 Joel Brobecker <brobecker@adacore.com>
8185 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
8187 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8189 * gdb.arch/i386-biarch-core.exp: Replace istarget
8190 by "complete set gnutarget". Remove expectation for the "core-file"
8193 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8195 Revert the previous commit:
8196 Tests for validate symbol file using build-id.
8198 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
8200 Tests for validate symbol file using build-id.
8201 * gdb.base/solib-mismatch-lib.c: New file.
8202 * gdb.base/solib-mismatch-libmod.c: New file.
8203 * gdb.base/solib-mismatch.c: New file.
8204 * gdb.base/solib-mismatch.exp: New file.
8206 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
8208 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
8210 * gdb.base/sigbpt.exp (stepi_out): Likewise.
8211 * gdb.base/siginfo.exp: Likewise.
8212 * gdb.base/sigstep.exp (advance, advancei): Likewise.
8214 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
8216 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
8218 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
8220 * gdb.trace/range-stepping.exp: Check that the target supports
8223 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8225 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
8227 2015-07-14 Pedro Alves <palves@redhat.com>
8229 * gdb.base/killed-outside.exp: New file.
8230 * gdb.base/killed-outside.c: New file.
8232 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8234 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
8236 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
8238 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8240 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
8241 infcall tests instead of setting up for KFAIL.
8243 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
8245 * gdb.btrace/record_goto-step.exp: New.
8247 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8250 * gdb.compile/compile.c (struct struct_type): Add volatile to
8252 * gdb.compile/compile.exp
8253 (compile code struct_object.selffield = &struct_object): Skip further
8254 struct_object tests if this one xfails.
8256 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
8259 * gdb.trace/ax.exp: Add test.
8261 2015-07-07 Yao Qi <yao.qi@linaro.org>
8263 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
8264 instead of istarget "aarch64*-*-*".
8265 * gdb.arch/aarch64-fp.exp: Likewise.
8266 * gdb.base/float.exp: Likewise.
8267 * gdb.reverse/aarch64.exp: Likewise.
8268 * lib/gdb.exp (is_aarch64_target): New proc.
8270 2015-07-07 Yao Qi <yao.qi@linaro.org>
8272 * lib/gdb.exp (is_aarch32_target): New proc.
8273 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
8274 instead of "istarget "arm*-*-*"".
8275 * gdb.arch/arm-disp-step.exp: Likewise.
8276 * gdb.arch/thumb-bx-pc.exp: Likewise.
8277 * gdb.arch/thumb-prologue.exp: Likewise.
8278 * gdb.arch/thumb-singlestep.exp: Likewise.
8279 * gdb.base/disp-step-syscall.exp: Likewise.
8280 * gdb.base/float.exp: Likewise.
8282 2015-07-07 Yao Qi <yao.qi@linaro.org>
8284 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
8285 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
8287 2015-07-07 Yao Qi <yao.qi@linaro.org>
8289 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
8290 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
8292 * gdb.multi/multi-arch.exp: Likewise.
8294 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
8296 * gdb.python/py-lazy-string.exp: Add missing parentheses to
8299 2015-07-07 Yao Qi <yao.qi@linaro.org>
8301 * gdb.arch/thumb-singlestep.exp: Do one more single step.
8303 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
8305 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8306 '[' and ']' characters.
8308 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
8310 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8312 2015-06-29 Pedro Alves <palves@redhat.com>
8315 * gdb.threads/hand-call-new-thread.c: New file.
8316 * gdb.threads/hand-call-new-thread.c: New file.
8318 2015-06-26 Keith Seitz <keiths@redhat.com>
8319 Doug Evans <dje@google.com>
8322 * gdb.cp/var-tag-2.cc: New file.
8323 * gdb.cp/var-tag-3.cc: New file.
8324 * gdb.cp/var-tag-4.cc: New file.
8325 * gdb.cp/var-tag.cc: New file.
8326 * gdb.cp/var-tag.exp: New file.
8328 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8330 * gdb.base/history-duplicates.exp: New test.
8332 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8334 * gdb.base/completion.exp: Test the completion of the "focus"
8337 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8339 * gdb.arch/amd64-prologue-skip.S: New file.
8340 * gdb.arch/amd64-prologue-skip.exp: New file.
8342 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
8344 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
8345 is_address_zero_readable check.
8347 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
8349 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
8350 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
8352 2015-06-24 Yao Qi <yao.qi@linaro.org>
8354 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
8357 2015-06-24 Yao Qi <yao.qi@linaro.org>
8359 * lib/gdb.exp (supports_get_siginfo_type): New proc.
8360 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
8361 * gdb.base/siginfo-thread.exp: Likewise.
8363 2015-06-22 Yao Qi <yao.qi@linaro.org>
8365 * boards/remote-gdbserver-on-localhost.exp: Add comments.
8367 2015-06-22 Yao Qi <yao.qi@linaro.org>
8369 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
8371 (skip_hw_watchpoint_tests): Likewise.
8373 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
8375 * gdb.base/gdbinit-history.exp: Test the interaction between
8376 setting GDBHISTSIZE and setting the history size via .gdbinit.
8378 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8381 * gdb.base/gdbhistsize-history.exp: New test.
8383 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8385 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8387 * gdb.base/readline.exp: Likewise.
8389 2015-06-17 Yao Qi <yao.qi@linaro.org>
8391 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8394 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8396 * gdb.base/gdbinit-history.exp: Add test case to check that
8397 an unlimited history file does not get truncated on exit.
8399 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8401 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8402 (VECTOR): New macro. Use it...
8403 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8404 ...for these typedefs.
8405 (int8, char1, int1, double1): New typedefs.
8406 (struct just_int2, struct two_int2): New structures.
8407 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8408 (add_structvecs, add_singlevecs): New functions.
8409 (main): Call add_some_intvecs twice.
8410 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8411 the compile and exit upon failure. Try compiling for the "native"
8412 architecture. Test inferior function calls with vector arguments
8413 and vector return value handling with "finish" and "return".
8415 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
8417 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
8418 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
8420 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
8422 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8424 PR breakpoints/16465
8425 * gdb.mi/mi-dprintf-pending.c: New file.
8426 * gdb.mi/mi-dprintf-pending.exp: New test.
8427 * gdb.mi/mi-dprintf-pendshr.c: New file.
8429 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8430 Mircea Gherzan <mircea.gherzan@intel.com>
8432 * gdb.arch/i386-mpx-map.c: New file.
8433 * gdb.arch/i386-mpx-map.exp: New File.
8435 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8437 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
8438 * gdb.arch/i386-mpx.exp: Indentation fixed.
8440 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8442 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8443 function and improved indentation.
8444 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8445 gdb_test_multiple. Added additional tests to skip the test.
8447 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8449 * gdb.arch/i386-avx512.c: Change path in include file.
8450 * gdb.arch/i386-avx512.exp: Change include dir path
8452 * gdb.arch/i386-mpx.c: Change path in include file.
8453 * gdb.arch/i386-mpx.exp: Change include dir path compilation
8456 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8458 * gdb.compile/compile-print.exp (compile print *vararray@3)
8459 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8461 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8463 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8464 (do not keep jit in memory): ... this.
8465 (expect 5): Change it to ...
8466 (expect no 5): ... this.
8468 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
8471 * gdb.mi/mi-detach.exp: New file.
8473 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8476 * gdb.arch/amd64-tailcall-self.S: New file.
8477 * gdb.arch/amd64-tailcall-self.c: New file.
8478 * gdb.arch/amd64-tailcall-self.exp: New file.
8480 2015-05-28 Don Breazeal <donb@codesourcery.com>
8482 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8483 tests for remote targets by checking is_target_gdbserver.
8485 2015-05-27 Doug Evans <dje@google.com>
8487 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8488 * gdb.dwarf2/opaque-type-lookup.c: New file.
8489 * gdb.dwarf2/opaque-type-lookup.exp: New file.
8491 2015-05-26 Doug Evans <dje@google.com>
8493 * gdb.cp/iostream.cc: New file.
8494 * gdb.cp/iostream.exp: New file.
8496 2015-05-26 Doug Evans <dje@google.com>
8498 * gdb.dwarf2/dw2-op-call.exp: Update.
8499 * gdb.dwarf2/dw4-sig-types.exp: Update.
8500 * gdb.dwarf2/implptr.exp: Update.
8501 * gdb.mi/mi-cmd-param-changed.exp: Update.
8503 2015-05-26 Doug Evans <dje@google.com>
8505 * gdb.python/py-lazy-string.c: New file.
8506 * gdb.python/py-lazy-string.exp: New file.
8507 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8508 (main): Update. Add estring3.
8509 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8510 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8512 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8513 Yao Qi <yao.qi@linaro.org>
8515 * gdb.reverse/aarch64.c: New.
8516 * gdb.reverse/aarch64.exp: New.
8518 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8520 * lib/gdb.exp (supports_process_record): Return true for
8522 (supports_reverse): Likewise.
8524 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
8526 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8527 Use with_test_prefix.
8529 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
8531 * gdb.base/completion.exp: Add test for completion of layout
8534 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
8536 * lib/gdb.exp (skip_tui_tests): New proc.
8537 * gdb.base/tui-layout.exp: Check skip_tui_tests.
8539 2015-05-19 Pedro Alves <palves@redhat.com>
8541 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8542 Save the whole env array instead of just HOME. Unset HISTSIZE in
8543 the environment while testing. Restore whole environment
8546 2015-05-16 Doug Evans <xdje42@gmail.com>
8548 * gdb.guile/scm-ports.c: New file.
8549 * gdb.guile/scm-ports.exp: Add memory port tests.
8551 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8553 * gdb.compile/compile-print.c: New file.
8554 * gdb.compile/compile-print.exp: New file.
8556 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8558 * gdb.compile/compile-ops.exp: Cast param to void.
8559 * gdb.compile/compile.exp: Complete type for _gdb_expr.
8560 (compile code struct_object.selffield = &struct_object): Add xfail.
8562 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8564 * gdb.ada/arr_enum_with_gap: New testcase.
8566 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8568 * gdb.ada/byte_packed_arr: New testcase.
8570 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8572 * gdb.ada/pckd_neg: New testcase.
8574 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
8577 * gdb.base/gdbinit-history.exp: New test.
8578 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
8579 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
8581 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
8583 * gdb.python/py-xmethods.cc: Enhance test case.
8584 * gdb.python/py-xmethods.exp: New tests.
8585 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
8587 (B_indexoper): Likewise.
8588 (global_dm_list) : Add new xmethod worker functions.
8590 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
8592 * gdb.base/coredump-filter.exp: Correctly unset
8593 "coredump_var_addr" array.
8595 2015-05-08 Pedro Alves <palves@redhat.com>
8597 * gdb.server/non-existing-program.exp: Unset spawn_id.
8599 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
8602 * gdb.python/py-xmethods.exp: Add tests.
8604 2015-05-08 Yao Qi <yao.qi@linaro.org>
8607 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
8608 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
8609 function set_coredump_filter, and remove remote_exec call.
8610 Remove argument ipid. Callers update.
8611 (top level): Don't get inferior's PID.
8613 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
8615 * gdb.base/watch_thread_num.exp: Skip test on targets without
8618 2015-05-06 Pedro Alves <palves@redhat.com>
8621 * gdb.server/non-existing-program.exp: New file.
8623 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8625 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
8627 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8629 * gdb.ada/out_of_line_in_inlined: New testcase.
8631 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8633 * gdb.ada/var_rec_arr: New testcase.
8635 2015-04-30 Yao Qi <yao.qi@linaro.org>
8637 * gdb.base/break-idempotent.exp: If
8638 skip_hw_watchpoint_multi_tests returns true, skip the tests
8639 on "rwatch" and "awatch".
8641 2015-04-30 Yao Qi <yao.qi@linaro.org>
8643 * gdb.base/relativedebug.exp: Invoke gdb command
8644 "info sharedlibrary", and if libc.so doesn't have debug info,
8647 2015-04-29 Doug Evans <dje@google.com>
8649 * gdb.python/py-xmethods.exp: Add ptype tests.
8650 * gdb.python/py-xmethods.py (E_method_char_worker): Add
8651 get_result_type method.
8653 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8655 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
8656 the target does not support hardware watchpoints.
8658 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8660 * gdb.base/break-always.exp: Abort testing if writing to memory
8663 2015-04-28 Doug Evans <dje@google.com>
8665 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
8666 * gdb.python/py-pp-registration.exp: ... here. New file.
8667 * gdb.python/py-pp-registration.c: New file.
8668 * gdb.python/py-pp-registration.py: New file.
8670 2015-04-28 Doug Evans <dje@google.com>
8672 * gdb.python/py-bad-printers.c: New file.
8673 * gdb.python/py-bad-printers.py: New file.
8674 * gdb.python/py-bad-printers.exp: New file.
8676 2015-04-28 Sasha Smundak <asmundak@google.com>
8678 * gdb.python/py-type.exp: New test.
8680 2015-04-28 Andy Wingo <wingo@igalia.com>
8682 * gdb.python/py-parameter.exp:
8683 * gdb.guile/scm-parameter.exp: Escape the path that we are
8684 matching against, as it might contain characters that are special
8685 to regular expressions.
8687 2015-04-27 Joel Brobecker <brobecker@adacore.com>
8689 * gdb.ada/rec_comp: New testcase.
8691 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
8693 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
8696 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
8698 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
8699 new tests for verilog output.
8701 2015-04-24 Yao Qi <yao.qi@linaro.org>
8703 * boards/remote-gdbserver-on-localhost.exp: New file.
8705 2015-04-23 Pedro Alves <palves@redhat.com>
8707 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
8708 $inferior_spawn_id instead of $inferior_spawn_id directly. On
8709 "end of file", remove $inferior_spawn_id from the indirect list.
8711 2015-04-23 Pedro Alves <palves@redhat.com>
8713 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
8715 2015-04-23 Pedro Alves <palves@redhat.com>
8717 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
8718 on $any_spawn_id instead of only on $gdb_spawn_id.
8720 2015-04-21 Pierre Muller <muller@sourceware.org>
8723 * lib/pascal.exp (gpc_compile): Add new option "class".
8724 (fpc_compile): Likewise.
8725 * gdb.pascal/case-insensitive-symbols.pas: New file.
8726 * gdb.pascal/case-insensitive-symbols.exp: New file.
8728 2015-04-20 Gary Benson <gbenson@redhat.com>
8730 * gdb.base/attach.exp: Fix three extended remote failures.
8732 2015-04-17 Gary Benson <gbenson@redhat.com>
8734 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
8735 the main executable over the remote protocol.
8737 2015-04-16 Pedro Alves <palves@redhat.com>
8739 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
8740 a new gdbserver if gdbserver_reconnect_p is set.
8742 2015-04-16 Pedro Alves <palves@redhat.com>
8744 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
8745 is set, don't exit gdbserver.
8747 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8749 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
8750 appropriate .insn, such that an older assembler can be used.
8751 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
8752 the z/Architecture instruction set on 31-bit targets as well.
8754 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8756 * gdb.go/handcall.exp: Remove all logic related to the first
8757 breakpoint and rely on go_runto_main instead.
8758 * gdb.go/strings.exp: Likewise.
8759 * gdb.go/unsafe.exp: Likewise.
8760 * gdb.go/hello.exp: Likewise. Also rename the remaining
8761 breakpoint marker to "breakpoint 1".
8762 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
8763 * gdb.go/strings.go: Likewise.
8764 * gdb.go/unsafe.go: Likewise.
8765 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
8766 "set breakpoint 2 here" and rename the remaining breakpoint marker
8769 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
8771 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
8772 if itertools.imap is not present.
8773 * gdb.python/py-objfile.exp: Add parentheses.
8774 * gdb.python/py-type.exp: Same.
8775 * gdb.python/py-unwind-maint.py: Same.
8777 2015-04-15 Yao Qi <yao.qi@linaro.org>
8779 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
8780 of ":$ptr_size" and set its form explicitly.
8782 2015-04-15 Pedro Alves <palves@redhat.com>
8783 Yao Qi <yao.qi@linaro.org>
8785 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
8786 timeout by factor of 4.
8787 (test_regular_watch): Likewise.
8788 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
8789 * gdb.reverse/sigall-reverse.exp: Likewise.
8790 * gdb.reverse/until-precsave.exp: Likewise.
8791 * lib/gdb.exp (with_timeout_factor): New proc.
8792 (gdb_expect): Move some code to ...
8793 (get_largest_timeout): ... here. New procedure.
8795 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
8797 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
8799 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8801 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
8802 to write to the .text section.
8804 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8806 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
8807 Handle the case of targets that do not provide PID information.
8809 2015-04-13 Yao Qi <yao.qi@linaro.org>
8811 * lib/gdbserver-support.exp (gdb_exit): Catch exception
8812 and use expect instead of gdb_expect.
8814 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
8816 * gdb.base/coredump-filter.exp: Rename variable "addr" to
8817 "coredump_var_addr" to avoid naming conflict with other testcases.
8819 2015-04-10 Pedro Alves <palves@redhat.com>
8821 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
8822 gdb_test_sequence and gdb_assert.
8824 2015-04-10 Pedro Alves <palves@redhat.com>
8826 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
8827 test messages that don't include the breakpoint address.
8829 2015-04-10 Yao Qi <yao.qi@linaro.org>
8831 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
8832 false for some offset and width combinations which aren't
8833 supported by linux kernel.
8835 2015-04-10 Pedro Alves <palves@redhat.com>
8837 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
8838 procedure, factored out from ...
8839 (top level): ... here. Add "set displaced-stepping" testing axis.
8840 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
8841 parameter "displaced". Use it.
8842 (top level): Use foreach and add "set displaced-stepping" testing
8845 2015-04-10 Pedro Alves <palves@redhat.com>
8847 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
8849 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
8850 both the address of the instruction that triggers the watchpoint
8851 and the address of the instruction immediately after, and use
8852 those addresses for the test. Fix comment.
8854 2015-04-10 Pedro Alves <palves@redhat.com>
8856 * gdb.base/sigstep.exp (breakpoint_to_handler)
8857 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
8858 Test "backtrace" in handler.
8859 (breakpoint_over_handler): New parameter 'displaced'. Use it.
8860 (top level): Add new "displaced" test axis to
8861 breakpoint_to_handler, breakpoint_to_handler_entry and
8862 breakpoint_over_handler.
8864 2015-04-10 Pedro Alves <palves@redhat.com>
8867 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
8869 2015-04-10 Yao Qi <yao.qi@linaro.org>
8871 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
8872 (test_add_rn_pc): New function.
8873 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
8874 (top level): Invoke test_add_rn_pc.
8876 2015-04-10 Pedro Alves <palves@redhat.com>
8879 * gdb.base/step-over-no-symbols.exp: New file.
8881 2015-04-09 Andy Wingo <wingo@igalia.com>
8883 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
8884 after the Python tests.
8886 2015-04-08 Keith Seitz <keiths@redhat.com>
8889 * gdb.python/py-completion.exp: New tests for completion.
8890 * gdb.python/py-completion.py (CompleteLimit1): New class.
8891 (CompleteLimit2): Likewise.
8892 (CompleteLimit3): Likewise.
8893 (CompleteLimit4): Likewise.
8894 (CompleteLimit5): Likewise.
8895 (CompleteLimit6): Likewise.
8896 (CompleteLimit7): Likewise.
8898 2015-04-08 Pedro Alves <palves@redhat.com>
8902 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
8904 (main): Install it as SIGUSR1 handler.
8905 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
8906 parameter. Always use "setup" as prefix. Toggle "set
8907 displaced-stepping" off/on depending on global. Don't switch to
8909 (top level): Add displaced stepping "off/on" test axis. Update
8910 "setup" calls. Wrap each subtest with with_test_prefix. Test
8911 continuing with a queued signal in each thread.
8913 2015-04-08 Pedro Alves <palves@redhat.com>
8915 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
8916 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
8917 gdb_breakpoint instead of gdb_test that doesn't expect anything.
8918 Return early if running to main fails.
8919 * gdb.trace/while-stepping.exp: Likewise.
8921 2015-04-07 Pedro Alves <palves@redhat.com>
8923 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
8924 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
8925 interact with inferior program.
8927 2015-04-07 Pedro Alves <palves@redhat.com>
8929 * lib/gdb.exp (inferior_spawn_id): New global.
8930 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
8931 spawn id after processing the user code.
8932 (default_gdb_start): Set inferior_spawn_id.
8933 (send_inferior): New procedure.
8934 * lib/gdbserver-support.exp (gdbserver_start): Set
8936 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
8938 2015-04-07 Pedro Alves <palves@redhat.com>
8940 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
8941 * lib/gdbserver-support.exp (gdbserver_start): Make
8942 $server_spawn_id global.
8943 (gdbserver_start): Don't wait for gdbserver's spawn id with
8945 (close_gdbserver): New procedure.
8946 (gdb_exit): Rename the default version and reimplement.
8948 2015-04-07 Pedro Alves <palves@redhat.com>
8950 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
8951 append the substituted item, not the original item.
8953 2015-04-07 Pedro Alves <palves@redhat.com>
8955 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
8958 2015-04-07 Pedro Alves <palves@redhat.com>
8960 * gdb.base/interrupt.exp: Don't handle the case of the inferior
8961 output appearing once only.
8963 2015-04-07 Pedro Alves <palves@redhat.com>
8965 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
8966 that doesn't expect anything. Return early if running to main
8969 2015-04-07 Yao Qi <yao.qi@linaro.org>
8971 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
8972 (child_function): Call alarm.
8973 (main): Move call to alarm into the loop.
8974 * gdb.threads/non-stop-fair-events.exp: Build program with
8977 2015-04-06 Doug Evans <xdje42@gmail.com>
8979 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
8980 Fix dest parameter to board_info.
8981 (fpc_compile): Ditto.
8982 (gdb_compile_pascal): Rename dest arg to destfile.
8984 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
8986 * gdb.ada/funcall_ref.exp: New file.
8987 * gdb.ada/funcall_ref/foo.adb: New file.
8989 2015-04-02 Yao Qi <yao.qi@linaro.org>
8991 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
8994 2015-04-02 Gary Benson <gbenson@redhat.com>
8996 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
8998 2015-04-01 Sasha Smundak <asmundak@google.com>
9000 * gdb.python/py-unwind-maint.c: New file.
9001 * gdb.python/py-unwind-maint.exp: New test.
9002 * gdb.python/py-unwind-maint.py: New file.
9003 * gdb.python/py-unwind.c: New file.
9004 * gdb.python/py-unwind.exp: New test.
9005 * gdb.python/py-unwind.py: New test.
9007 2015-04-01 Pedro Alves <palves@redhat.com>
9009 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
9010 to fail instead of non-existent $test.
9012 2015-04-01 Pedro Alves <palves@redhat.com>
9014 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
9015 GDBFLAGS if not empty.
9017 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
9019 * gdb.ada/complete.exp: Remove "multi_line".
9020 * gdb.ada/info_exc.exp: Remove "multi_line".
9021 * gdb.ada/packed_tagged.exp: Remove "multi_line".
9022 * gdb.ada/ptype_field.exp: Remove "multi_line".
9023 * gdb.ada/sym_print_name.exp: Remove "multi_line".
9024 * gdb.ada/tagged.exp: Remove "multi_line".
9025 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
9027 * gdb.btrace/delta.exp: Likewise.
9028 * gdb.btrace/exception.exp: Likewise.
9029 * gdb.btrace/function_call_history.exp: Likewise.
9030 * gdb.btrace/instruction_history.exp: Likewise.
9031 * gdb.btrace/nohist.exp: Likewise.
9032 * gdb.btrace/record_goto.exp: Likewise.
9033 * gdb.btrace/segv.exp: Likewise.
9034 * gdb.btrace/stepi.exp: Likewise.
9035 * gdb.btrace/tailcall.exp: Likewise.
9036 * gdb.btrace/unknown_functions.exp: Likewise.
9037 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
9038 * lib/gdb.exp: Add the "multi_line" helper.
9040 2015-04-01 Pedro Alves <palves@redhat.com>
9042 * gdb.threads/tid-reuse.c: New file.
9043 * gdb.threads/tid-reuse.exp: New file.
9045 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
9048 * gdb.base/coredump-filter.c: New file.
9049 * gdb.base/coredump-filter.exp: Likewise.
9051 2015-03-27 Petr Machata <pmachata@redhat.com>
9053 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
9054 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
9055 (Dwarf::assemble): Initialize them.
9056 (Dwarf::lines): New function.
9058 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
9060 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
9061 SYMBOL_PREFIX for x86_64-*-cygwin.
9063 2015-03-26 Andy Wingo <wingo@igalia.com>
9066 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
9067 const_value but not a location.
9068 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
9069 location defined in non-main CUs are visible.
9071 2015-03-26 Yao Qi <yao.qi@linaro.org>
9074 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
9075 Add a line number entry for the same line.
9076 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
9077 Add a line number entry for the same line.
9079 2015-03-26 Yao Qi <yao.qi@linaro.org>
9081 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
9083 (func): Likewise. Add .Lfunc_1 label.
9085 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
9090 2015-03-26 Yao Qi <yao.qi@linaro.org>
9092 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
9093 Call gdb_compile instead to compile each .s files without debug
9096 2015-03-26 Yao Qi <yao.qi@linaro.org>
9098 * gdb.base/savedregs.exp (process_saved_regs): Make
9099 "Saved registers:" optional in the pattern.
9101 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9103 * gdb.btrace/next.exp: Merged into step.exp.
9104 * gdb.btrace/finish.exp: Merged into step.exp.
9105 * gdb.btrace/nexti.exp: Merged into stepi.exp.
9106 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
9107 "record goto" and checking the exact replay position.
9108 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
9109 check for "Recording format" in "info record" output.
9110 * gdb.btrace/record_goto.exp: Choose test file based on target.
9111 * gdb.btrace/x86-record_goto.S: Renamed into ...
9112 * gdb.btrace/x86_64-record_goto.S: ... this.
9113 * gdb.btrace/i686-record_goto.S: New.
9114 * gdb.btrace/x86-tailcall.S: Renamed into ...
9115 * gdb.btrace/x86_64-tailcall.S: ... this.
9116 * gdb.btrace/i686-tailcall.S: New.
9117 * gdb.btrace/x86-tailcall.c: Renamed into ...
9118 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
9119 separate statements. Update test.
9120 * gdb.btrace/delta.exp: Use record_goto.c as test file.
9121 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
9122 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
9123 * gdb.btrace/tailcall.exp: Choose test file based on target.
9124 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
9126 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9128 * gdb.btrace/exception.exp: Increase BTS buffer size.
9130 2015-03-24 Pedro Alves <palves@redhat.com>
9132 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
9134 2015-03-24 Pedro Alves <palves@redhat.com>
9136 * gdb.threads/schedlock.exp (test_step): No longer expect that
9137 "set scheduler-locking step" with "next" over a function call runs
9140 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9142 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
9144 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9146 PR breakpoints/16466
9147 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
9148 * gdb.mi/mi-pending.c (thread_func): New function.
9149 (int main): Add threading support required.
9150 * gdb.mi/mi-pending.exp: Add tests for this issue.
9151 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
9152 (pendfunc2): Remove stdio dependency.
9153 * gdb.mi/mi-pendshr2.c: New file.
9155 2015-03-23 Keith Seitz <keiths@redhat.com>
9157 * gdb.linespec/keywords.c: New file.
9158 * gdb.linespec/keywords.exp: New file.
9160 2015-03-23 Keith Seitz <keiths@redhat.com>
9163 * gdb.dwarf2/staticvirtual.exp: New test.
9165 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9167 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
9168 * README: Remove HP-UX and gdb.hp.
9170 * configure: Regenerate.
9171 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
9172 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
9173 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
9174 gdb.hp/gdb.defects/Makefile.
9175 * gdb.hp/Makefile.in: File deleted.
9176 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
9177 * gdb.hp/gdb.aCC/optimize.c: File deleted.
9178 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
9179 * gdb.hp/gdb.aCC/run.c: File deleted.
9180 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
9181 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
9182 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
9183 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
9184 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
9185 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
9186 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
9187 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
9188 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
9189 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
9190 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
9191 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
9192 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
9193 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
9194 * gdb.hp/gdb.base-hp/reg.s: File deleted.
9195 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
9196 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
9197 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
9198 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
9199 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
9200 * gdb.hp/gdb.compat/Makefile.in: File deleted.
9201 * gdb.hp/gdb.compat/average.c: File deleted.
9202 * gdb.hp/gdb.compat/sum.c: File deleted.
9203 * gdb.hp/gdb.compat/xdb.c: File deleted.
9204 * gdb.hp/gdb.compat/xdb0.c: File deleted.
9205 * gdb.hp/gdb.compat/xdb0.h: File deleted.
9206 * gdb.hp/gdb.compat/xdb1.c: File deleted.
9207 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
9208 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
9209 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
9210 * gdb.hp/gdb.defects/Makefile.in: File deleted.
9211 * gdb.hp/gdb.defects/bs14602.c: File deleted.
9212 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
9213 * gdb.hp/gdb.defects/solib-d.c: File deleted.
9214 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
9215 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
9216 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
9217 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
9218 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
9219 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
9220 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
9221 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
9222 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
9223 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
9224 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
9225 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
9226 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
9227 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
9228 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
9229 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
9230 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
9231 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
9232 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
9233 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
9234 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
9235 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
9236 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
9237 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
9238 * gdb.hp/tools/odump: File deleted.
9240 2015-03-19 Pedro Alves <palves@redhat.com>
9242 * gdb.threads/continue-pending-status.exp (saw_thread_2)
9243 (saw_thread_3): New globals.
9244 (top level): Increment them when an event for the corresponding
9246 (no thread starvation): New test.
9248 2015-03-19 Pedro Alves <palves@redhat.com>
9250 * gdb.threads/continue-pending-status.c: New file.
9251 * gdb.threads/continue-pending-status.exp: New file.
9253 2015-03-18 Pedro Alves <palves@redhat.com>
9255 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9256 Use gdb_is_target_remote instead of is_remote. Use
9257 gdb_test_multiple instead of gdb_expect. Exit early if
9258 gdb_test_multiple hits its internal matches. Tighten stepi tests
9259 expected output. Fail on exit with any signal, instead of just
9262 2015-03-18 Yao Qi <yao.qi@linaro.org>
9265 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
9267 * gdb.base/catch-syscall.exp: Don't skip it on
9268 aarch64*-*-linux* target. Remove elements in all_syscalls.
9269 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
9271 (setup_all_syscalls): New proc.
9273 2015-03-16 Yao Qi <yao.qi@linaro.org>
9275 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
9276 (top level): Skip tests if valid_addr_p returns false for
9279 2015-03-11 Andy Wingo <wingo@igalia.com>
9281 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
9283 2015-03-11 Yao Qi <yao.qi@linaro.org>
9285 * gdb.base/catch-syscall.exp: Fix typo in comments.
9287 2015-03-11 Yao Qi <yao.qi@linaro.org>
9289 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
9291 2015-03-09 Pedro Alves <palves@redhat.com>
9293 * dg-extract-results.py: Delete.
9295 2015-03-09 Pedro Alves <palves@redhat.com>
9297 Merge dg-extract-results.sh from GCC upstream (r218843).
9299 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
9300 * dg-extract-results.sh: Use --text with grep to avoid issues with
9301 binary files. Fall back to cat -v, if that doesn't work.
9303 2015-03-05 Pedro Alves <palves@redhat.com>
9305 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
9307 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
9309 * lib/mi-support.exp (mi_expect_interrupt): Accept
9310 alternative event for when in all-stop mode.
9312 2015-03-04 Pedro Alves <palves@redhat.com>
9314 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
9316 2015-03-04 Mark Kettenis <kettenis@gnu.org>
9318 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
9320 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9322 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
9323 regexps for GDB's current line display, accept a hex address
9324 preceding the line number.
9326 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9328 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
9329 the 'arch1' variable for "s390*-linux*" targets.
9331 2015-03-04 Pedro Alves <palves@redhat.com>
9333 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9334 (main): Pass missing retval argument to pthread_join call.
9336 2015-03-02 Pedro Alves <palves@redhat.com>
9338 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
9339 (top level): Call do_test with non-stop as well.
9341 2015-03-02 Pedro Alves <palves@redhat.com>
9343 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
9346 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9348 * gdb.arch/s390-vregs.exp: New test.
9349 * gdb.arch/s390-vregs.S: New file.
9351 2015-02-27 Pedro Alves <palves@redhat.com>
9353 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9354 call to catch_command_errors.
9355 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
9356 catch_command_errors.
9358 2015-02-27 Pedro Alves <palves@redhat.com>
9360 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
9361 "true" for boolean result.
9362 * gdb.gdb/selftest.exp (test_with_self): Also accept full
9365 2015-02-27 Pedro Alves <palves@redhat.com>
9367 * lib/unbuffer_output.c: New file.
9368 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
9369 (main): Call gdb_unbuffer_output.
9371 2015-02-27 Yao Qi <yao.qi@linaro.org>
9373 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
9376 2015-02-26 Doug Evans <dje@google.com>
9378 * gdb.cp/class2.cc (Dbase, D): New classes.
9379 (main): New local delta.
9380 * gdb.cp/class2.exp: Test printing delta.
9381 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
9382 (dynbar): New global.
9383 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
9385 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9387 * gdb.compile/compile-ifunc.c: New file.
9388 * gdb.compile/compile-ifunc.exp: New file.
9390 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
9392 * gdb.base/structs.exp: Check for correct struct on finish.
9394 2015-02-26 Yao Qi <yao.qi@linaro.org>
9396 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9399 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9401 * gdb.arch/cordic.ko.bz2: New file.
9402 * gdb.arch/cordic.ko.debug.bz2: New file.
9403 * gdb.arch/ppc64-symtab-cordic.exp: New file.
9405 2015-02-25 Yao Qi <yao.qi@linaro.org>
9407 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9408 aarch64*-*-* target.
9410 2015-02-23 Pedro Alves <palves@redhat.com>
9412 * lib/gdb.exp (delete_breakpoints): Rewrite using
9415 2015-02-23 Pedro Alves <palves@redhat.com>
9417 * gdb.base/info-os.c: Include stdlib.h.
9419 2015-02-22 Doug Evans <xdje42@gmail.com>
9422 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
9423 is read after symbols have been re-read.
9424 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
9425 * gdb.ada/exec_changed/second.adb (Second): Ditto.
9427 2015-02-21 Doug Evans <dje@google.com>
9429 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
9431 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9434 * gdb.arch/i386-biarch-core.core.bz2: New file.
9435 * gdb.arch/i386-biarch-core.exp: New file.
9437 2015-02-21 Pedro Alves <palves@redhat.com>
9439 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9442 2015-02-20 Pedro Alves <palves@redhat.com>
9444 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9447 2015-02-20 Pedro Alves <palves@redhat.com>
9449 * gdb.threads/multi-create-ns-info-thr.exp: New file.
9451 2015-02-20 Pedro Alves <palves@redhat.com>
9453 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
9454 clean_restart before gdb_target_supports_trace.
9456 2015-02-20 Pedro Alves <palves@redhat.com>
9459 * gdb.threads/clone-thread_db.c: New file.
9460 * gdb.threads/clone-thread_db.exp: New file.
9462 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
9464 PR breakpoints/16812
9465 * gdb.base/catch-gdb-caused-signals.c: New file.
9466 * gdb.base/catch-gdb-caused-signals.exp: New file.
9468 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
9470 * configure: Regenerated.
9471 * configure.ac: Use GDB_AC_TRANSFORM.
9472 * aclocal.m4: sinclude ../transform.m4.
9474 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9476 * lib/dtrace.exp: New file.
9477 * gdb.base/dtrace-probe.exp: Likewise.
9478 * gdb.base/dtrace-probe.d: Likewise.
9479 * gdb.base/dtrace-probe.c: Likewise.
9480 * lib/pdtrace.in: Likewise.
9481 * configure.ac: Output variables with the transformed names of
9482 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
9483 * configure: Regenerated.
9485 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9487 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9488 expected message when trying to access $_probe_* convenience
9489 variables while not on a probe.
9491 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9493 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9495 2015-02-11 Pedro Alves <pedro@codesourcery.com>
9497 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9498 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9500 2015-02-10 Doug Evans <xdje42@gmail.com>
9502 * lib/gdb.exp (gdb_load): Always return a result.
9504 2015-02-10 Pedro Alves <palves@redhat.com>
9506 * gdb.threads/signal-sigtrap.c: New file.
9507 * gdb.threads/signal-sigtrap.exp: New file.
9509 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
9511 * gdb.trace/no-attach-trace.c: New file.
9512 * gdb.trace/no-attach-trace.exp: New file.
9514 2015-02-09 Mark Wielaard <mjw@redhat.com>
9516 * gdb.dwarf2/atomic.c: New file.
9517 * gdb.dwarf2/atomic-type.exp: Likewise.
9519 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9521 * gdb.btrace/buffer-size.exp: Update "info record" output.
9522 * gdb.btrace/delta.exp: Update "info record" output.
9523 * gdb.btrace/enable.exp: Update "info record" output.
9524 * gdb.btrace/finish.exp: Update "info record" output.
9525 * gdb.btrace/instruction_history.exp: Update "info record" output.
9526 * gdb.btrace/next.exp: Update "info record" output.
9527 * gdb.btrace/nexti.exp: Update "info record" output.
9528 * gdb.btrace/step.exp: Update "info record" output.
9529 * gdb.btrace/stepi.exp: Update "info record" output.
9530 * gdb.btrace/nohist.exp: Update "info record" output.
9532 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9534 * gdb.btrace/buffer-size: New.
9536 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9538 * gdb.btrace/delta.exp: Update "info record" output.
9539 * gdb.btrace/enable.exp: Update "info record" output.
9540 * gdb.btrace/finish.exp: Update "info record" output.
9541 * gdb.btrace/instruction_history.exp: Update "info record" output.
9542 * gdb.btrace/next.exp: Update "info record" output.
9543 * gdb.btrace/nexti.exp: Update "info record" output.
9544 * gdb.btrace/step.exp: Update "info record" output.
9545 * gdb.btrace/stepi.exp: Update "info record" output.
9546 * gdb.btrace/nohist.exp: Update "info record" output.
9548 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
9551 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
9553 2015-02-06 Pedro Alves <palves@redhat.com>
9555 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
9557 (seconds_left, again): New globals.
9558 (main): Wait seconds_left in a 1-second sleep loop instead of
9559 sleeping 180 seconds. If 'again' is set, reset the seconds
9561 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
9562 'again' in the inferior before detaching. Print the seconds left.
9563 (options): New global.
9564 (top level): Build program with -DTIMEOUT=$timeout.
9566 2015-02-06 Pedro Alves <palves@redhat.com>
9568 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
9569 determine how many seconds to pass to 'alarm'.
9570 * gdb.base/gdb-sigterm.exp (top level): Build program with
9572 (do_test): Return success/failure indication. Add more verbose
9573 logging. Don't fail if 200 single steps are seen. Instead, fail
9574 when the test times out.
9575 (passes): New global.
9576 (top level): Break the testing loop if testing fails on any
9577 iteration. Use gdb_assert.
9579 2015-02-04 Don Breazeal <donb@codesourcery.com>
9581 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
9582 and initialize them.
9583 (ipc_cleanup): New function.
9584 (main): Don't declare shmid, semid, and msqid. Add a call to
9585 atexit so that we call ipc_cleanup on exit.
9587 2015-02-04 Pedro Alves <palves@redhat.com>
9589 * boards/native-extended-gdbserver.exp: Remove any target variant
9590 specifications from the board name before clearing the isremote
9591 flag from board_info.
9593 2015-01-31 Doug Evans <xdje42@gmail.com>
9595 * gdb.base/maint.exp <maint print type argc>: Update expected output.
9597 2015-01-31 Gary Benson <gbenson@redhat.com>
9599 * gdb.base/completion.exp: Disable completion limiting for
9600 existing tests. Add new tests to check completion limiting.
9601 * gdb.linespec/ls-errs.exp: Disable completion limiting.
9603 2015-01-31 Doug Evans <xdje42@gmail.com>
9605 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
9607 2015-01-31 Doug Evans <xdje42@gmail.com>
9609 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
9610 entries. Duplicate file section script entries.
9611 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
9612 inlined entries. Add test for safe-path rejection.
9613 * gdb.python/py-section-script.c: Add duplicate inlined section script
9614 entries. Duplicate file section script entries.
9615 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
9616 inlined entries. Add test for safe-path rejection.
9618 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9620 * gdb.ada/disc_arr_bound: New testcase.
9622 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9624 * gdb.ada/mi_var_array: New testcase.
9626 2015-01-27 Doug Evans <dje@google.com>
9628 * gdb.python/py-objfile.exp: Add tests for objfile.username.
9629 Add test for objfile.filename, objfile.username after objfile
9632 2015-01-26 Joel Brobecker <brobecker@adacore.com>
9634 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
9635 the second test to print the name attribute of value
9636 returned by the call to gdb.lookup_type, and adjust
9637 the expected output accordingly.
9639 2015-01-25 Mark Wielaard <mjw@redhat.com>
9641 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
9642 * gdb.base/disp-step-fork.c: Include unistd.h.
9643 * gdb.base/siginfo-obj.c: Include stdio.h.
9644 * gdb.base/siginfo-thread.c: Likewise.
9645 * gdb.mi/non-stop.c: Include unistd.h.
9646 * gdb.mi/nsthrexec.c: Include stdio.h.
9647 * gdb.mi/pthreads.c: Include unistd.h.
9648 * gdb.modula2/unbounded1.c (main): Declare returns int.
9649 * gdb.reverse/consecutive-reverse.c: Likewise.
9650 * gdb.threads/create-fail.c: Include unistd.h.
9651 * gdb.threads/killed.c: Likewise.
9652 * gdb.threads/linux-dp.c: Likewise.
9653 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
9654 * gdb.threads/non-ldr-exc-2.c: Likewise.
9655 * gdb.threads/non-ldr-exc-3.c: Likewise.
9656 * gdb.threads/non-ldr-exc-4.c: Likewise.
9657 * gdb.threads/pthreads.c: Include unistd.h.
9658 (main): Declare returns int.
9659 * gdb.threads/tls-main.c (foo): New declaration.
9660 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
9662 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
9664 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
9665 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
9667 2015-01-15 Mark Wielaard <mjw@redhat.com>
9669 * gdb.base/noreturn-return.c: New file.
9670 * gdb.base/noreturn-return.exp: New file.
9671 * gdb.base/noreturn-finish.c: New file.
9672 * gdb.base/noreturn-finish.exp: New file.
9674 2015-01-23 Pedro Alves <palves@redhat.com>
9676 * gdb.threads/continue-pending-after-query.c: New file.
9677 * gdb.threads/continue-pending-after-query.exp: New file.
9679 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
9680 Simon Marchi <simon.marchi@ericsson.com>
9682 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
9683 * gdb.base/valgrind-db-attach.exp: Same.
9684 * gdb.base/valgrind-infcall.exp: Same.
9685 * lib/mi-support.exp (default_mi_gdb_start): Same.
9686 * lib/prompt.exp (default_prompt_gdb_start): Same.
9687 * lib/gdb.exp (default_gdb_spawn): Same.
9688 (gdb_interact): New.
9691 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9693 * gdb.compile/compile.exp (pointer to jit function): New test.
9695 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
9697 * lib/gdb.exp (supports_process_record): Return true for
9699 (supports_reverse): Likewise.
9701 2015-01-15 Don Breazeal <donb@codesourcery.com>
9703 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
9704 instead of checking whether the target board is remote and
9705 use spawn_wait_for_attach instead of exec/sleep.
9706 * gdb.base/attach-twice.exp: Likewise.
9708 2015-01-15 Joel Brobecker <brobecker@adacore.com>
9710 * gdb.ada/var_arr_attrs: New testcase.
9712 2015-01-14 Pedro Alves <palves@redhat.com>
9713 Joel Brobecker <brobecker@adacore.com>
9716 * gdb.base/bp-cmds-execution-x-script.c: New file.
9717 * gdb.base/bp-cmds-execution-x-script.exp: New file.
9718 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
9720 2015-01-14 Pedro Alves <palves@redhat.com>
9723 * gdb.base/batch-preserve-term-settings.c: New file.
9724 * gdb.base/batch-preserve-term-settings.exp: New file.
9726 2015-01-13 Doug Evans <dje@google.com>
9728 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
9731 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9733 * Makefile.in (clean mostlyclean): Do not delete *.py.
9735 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9737 * gdb.python/py-lookup-type.exp: New file.
9739 2015-01-12 Pedro Alves <palves@redhat.com>
9741 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
9742 restore GDBFLAGS before returning.
9744 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9746 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
9747 is_amd64_regs_target and is_x86_like_target.
9749 2015-01-11 Doug Evans <xdje42@gmail.com>
9751 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
9752 is given without an explicit form.
9753 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
9755 * gdb.dwarf/corrupt.exp: Ditto.
9756 * gdb.dwarf2/enum-type.exp: Ditto.
9757 * gdb.trace/entry-values.exp: Ditto.
9758 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
9760 2015-01-11 Doug Evans <xdje42@gmail.com>
9763 * gdb.base/maint.exp: Remove references to "maint demangle".
9764 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
9765 Add tests for explicitly specifying language to demangle.
9766 * gdb.dlang/demangle.exp: Ditto.
9768 2015-01-09 Pedro Alves <palves@redhat.com>
9770 * gdb.threads/non-stop-fair-events.c: New file.
9771 * gdb.threads/non-stop-fair-events.exp: New file.
9773 2015-01-09 Pedro Alves <palves@redhat.com>
9775 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
9776 the global scope. Set a breakpoint after all threads are started
9777 rather than stepping over two source lines. Expect the prompt.
9778 * gdb.base/watch_thread_num.c (threads_started_barrier): New
9781 (main): Use threads_started_barrier to wait for all threads to
9782 start. Main thread no longer calls thread_function. Exit after
9784 (loop): New function.
9785 (thread_function): Wait on threads_started_barrier barrier. Call
9786 'loop' at each iteration.
9787 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
9788 threads have started, instead of hardcoding number of "next"
9789 steps. Use an access watchpoint instead of a write watchpoint.
9791 2015-01-09 Pedro Alves <palves@redhat.com>
9793 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
9794 (thread_func): Wait on barrier.
9795 (main): Wait for all threads to start before stopping GDB.
9796 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
9798 (thread1_func, thread2_func): Wait on barrier.
9799 (main): Wait for all threads to start before stopping GDB.
9800 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
9802 (thread1_func, thread2_func): Wait on barrier.
9803 (main): Wait for all threads to start before stopping GDB.
9805 2015-01-09 Pedro Alves <palves@redhat.com>
9807 * gdb.threads/attach-many-short-lived-threads.c: New file.
9808 * gdb.threads/attach-many-short-lived-threads.exp: New file.
9810 2014-01-09 Pedro Alves <palves@redhat.com>
9812 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
9813 instead of to thread 2.
9814 * gdb.threads/signal-command-multiple-signals-pending.c (main):
9815 Add barrier around each pthread_create call instead of around all
9817 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
9818 Set a break on thread_function and have the child threads hit it
9821 2015-01-09 Pedro Alves <palves@redhat.com>
9823 * lib/gdb.exp (can_spawn_for_attach): New procedure.
9824 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
9826 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
9827 checking whether the target board is remote.
9828 * gdb.multi/multi-attach.exp: Likewise.
9829 * gdb.python/py-sync-interp.exp: Likewise.
9830 * gdb.server/ext-attach.exp: Likewise.
9831 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
9832 tests that need to attach, instead of checking whether the target
9833 board is remote at the top of the file.
9835 2015-01-08 Yao Qi <yao@codesourcery.com>
9837 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
9839 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9841 Fix testcase compilation.
9842 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
9844 2015-01-06 Joel Brobecker <brobecker@adacore.com>
9846 * gdb.python/py-type.exp: Add a couple test about empty
9847 array creation, and negative-length array creation.
9849 2015-01-02 Doug Evans <xdje42@gmail.com>
9851 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
9853 2015-01-02 Doug Evans <dje@google.com>
9855 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
9857 2014-12-29 Yao Qi <yao@codesourcery.com>
9859 * gdb.trace/entry-values.exp: Update comments. Rename variable
9860 bar_call_foo to returned_from_foo.
9862 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
9865 * gdb.linespec/break-asm-file.c: New file.
9866 * gdb.linespec/break-asm-file.exp: New file.
9867 * gdb.linespec/break-asm-file0.s: New file.
9868 * gdb.linespec/break-asm-file1.s: New file.
9870 2014-12-18 Nigel Stephens <nigel@mips.com>
9871 Maciej W. Rozycki <macro@codesourcery.com>
9873 * gdb.base/float.exp: Handle the new output from "info float" on
9876 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9878 Fix MinGW compilation.
9879 * gdb.compile/compile-ops.exp: Update untested message if
9880 !skip_compile_feature_tests.
9881 * gdb.compile/compile-setjmp.exp: Likewise.
9882 * gdb.compile/compile-tls.exp: Likewise.
9883 * gdb.compile/compile.exp: Likewise.
9884 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
9885 supported on this host".
9887 2014-12-16 Doug Evans <xdje42@gmail.com>
9889 * boards/stabs.exp: New file.
9891 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
9893 * gdb.base/completion.exp: Adjust to format changes of "maint
9894 print user-registers".
9896 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
9899 * gdb.arch/aarch64-fp.c: New file.
9900 * gdb.arch/aarch64-fp.exp: New file.
9902 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9904 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
9905 r210637, r210913, r211666, r215400, r215817).
9907 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
9908 * dg-extract-results.py: New file.
9909 * dg-extract-results.sh: Use it if the environment seems
9912 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
9914 * dg-extract-results.py (parse_run): Handle warnings that
9915 are printed before a test harness is run.
9917 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
9919 * dg-extract-results.py (Named): Remove __cmp__ method.
9920 (output_variation): Use a key to sort variation.harnesses.
9922 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
9924 * dg-extract-results.py: For Python 3, force sys.stdout to
9925 handle surrogate escape sequences.
9926 (safe_open): New function.
9927 (output_segment, main): Use it.
9929 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
9931 * dg-extract-results.py (Prog.result_re): Include options
9934 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
9936 * dg-extract-results.py (output_variation): Always sort if
9939 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
9941 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
9942 as long as we get pagination notifications.
9944 2014-12-15 Jason Merrill <jason@redhat.com>
9946 * Makefile.in (check-gdb.%): Restore.
9947 * README: Mention it.
9949 2014-12-13 Joel Brobecker <brobecker@adacore.com>
9951 * gdb.ada/str_uninit: New testcase.
9953 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9956 * gdb.base/vla-stub-define.c: New file.
9957 * gdb.base/vla-stub.c: New file.
9958 * gdb.base/vla-stub.exp: New file.
9960 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
9961 Jan Kratochvil <jan.kratochvil@redhat.com>
9962 Tom Tromey <tromey@redhat.com>
9964 * configure.ac: Add gdb.compile/.
9965 * configure: Regenerate.
9966 * gdb.compile/Makefile.in: New file.
9967 * gdb.compile/compile-ops.exp: New file.
9968 * gdb.compile/compile-ops.c: New file.
9969 * gdb.compile/compile-tls.c: New file.
9970 * gdb.compile/compile-tls.exp: New file.
9971 * gdb.compile/compile-constvar.S: New file.
9972 * gdb.compile/compile-constvar.c: New file.
9973 * gdb.compile/compile-mod.c: New file.
9974 * gdb.compile/compile-nodebug.c: New file.
9975 * gdb.compile/compile-setjmp-mod.c: New file.
9976 * gdb.compile/compile-setjmp.c: New file.
9977 * gdb.compile/compile-setjmp.exp: New file.
9978 * gdb.compile/compile-shlib.c: New file.
9979 * gdb.compile/compile.c: New file.
9980 * gdb.compile/compile.exp: New file.
9981 * lib/gdb.exp (skip_compile_feature_tests): New proc.
9983 2014-12-12 Tom Tromey <tromey@redhat.com>
9985 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
9986 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
9988 2014-12-12 Doug Evans <dje@google.com>
9990 * lib/gdb-python.exp (get_python_valueof): New function.
9991 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
9993 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9995 * gdb.base/completion.exp: Add test for completion of "info
9998 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
10000 * gdb.base/func-ptrs.c: New file.
10001 * gdb.base/func-ptrs.exp: New file.
10003 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10005 PR breakpoints/17012
10006 * gdb.base/dprintf-detach.c: New file.
10007 * gdb.base/dprintf-detach.exp: New file.
10009 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10011 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
10012 * lib/gdb.exp (target_is_gdbserver): New procedure.
10014 2014-12-08 Doug Evans <dje@google.com>
10016 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
10018 2014-12-05 Yao Qi <yao@codesourcery.com>
10020 * gdb.guile/scm-error.exp: Remove the third argument to
10021 gdb_remote_download.
10022 * gdb.guile/scm-frame-args.exp: Likewise.
10023 * gdb.guile/scm-section-script.exp: Likewise.
10025 2014-12-05 Yao Qi <yao@codesourcery.com>
10027 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
10029 2014-12-04 Doug Evans <dje@google.com>
10031 * gdb.python/py-objfile.exp: Add tests for
10032 objfile.add_separate_debug_file.
10034 2014-12-04 Doug Evans <dje@google.com>
10036 * lib/gdb.exp (get_build_id): New function.
10037 (build_id_debug_filename_get): Rewrite to use it.
10038 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
10040 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
10042 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
10043 `method(long)', not just 0x0.
10044 * gdb.cp/nsalias.exp: Align code labels to 4.
10045 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
10046 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
10047 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
10048 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
10049 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
10050 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
10052 2014-12-02 Doug Evans <dje@google.com>
10055 * gdb.cp/anon-ns.cc: Move guts of this file to ...
10056 * gdb.cp/anon-ns2.cc: ... here. New file.
10057 * gdb.cp/anon-ns.exp: Update.
10059 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
10061 * gdb.python/py-events.py (inferior_call_handler): New.
10062 (register_changed_handler, memory_changed_handler): New.
10063 (test_events.invoke): Register new handlers.
10064 * gdb.python/py-events.exp: Add tests for inferior call,
10065 memory_changed and register_changed events.
10067 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10069 * gdb.base/execl-update-breakpoints.exp: Specify the link address
10070 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
10071 if the linker doesn't understand this.
10073 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
10075 * gdb.python/python.exp: Change expected reply to help().
10077 2014-12-01 Yao Qi <yao@codesourcery.com>
10079 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
10080 AC_CONFIG_SUBDIRS(gdb.gdbtk).
10081 * configure: Re-generated.
10083 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
10085 * gdb.cp/chained-calls.cc: New file.
10086 * gdb.cp/chained-calls.exp: New file.
10087 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
10089 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
10091 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
10092 * gdb.dwarf2/symtab-producer.exp: Same.
10093 * gdb.gdb/python-interrupts.exp: Same.
10094 * gdb.gdb/python-selftest.exp: Same.
10095 * gdb.python/py-linetable.exp: Same.
10096 * gdb.python/py-type.exp: Same.
10097 * gdb.python/py-value-cc.exp: Same.
10098 * gdb.python/py-value.exp: Same.
10100 2014-11-28 Yao Qi <yao@codesourcery.com>
10102 * gdb.base/break-probes.exp: Match library name prefixed with
10105 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
10107 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
10108 test expected output. Add parentheses for the call to print.
10109 Remove L suffix from integers.
10111 2014-11-26 Doug Evans <dje@google.com>
10113 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
10115 2014-11-22 Yao Qi <yao@codesourcery.com>
10117 * gdb.trace/entry-values.c: Remove asms.
10118 (foo): Add foo_label.
10119 (bar): Add bar_label.
10120 * gdb.trace/entry-values.exp: Remove code computing foo's
10121 length and bar's length.
10122 (Dwarf::assemble): Invoke function_range for bar and use
10123 MACRO_AT_func for foo.
10125 2014-11-22 Yao Qi <yao@codesourcery.com>
10127 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
10128 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
10129 Use .Lgcc43_procstart instead of gcc43.
10131 2014-11-21 Joel Brobecker <brobecker@adacore.com>
10133 * gdb.ada/n_arr_bound: New testcase.
10135 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
10137 PR breakpoints/10737
10138 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
10139 test_catch_syscall_multi_arch.
10140 (test_catch_syscall_multi_arch): New function.
10142 2014-11-20 Doug Evans <xdje42@gmail.com>
10144 * gdb.base/maint.exp: Update expected output.
10146 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10148 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
10149 4-byte instruction on S390.
10151 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10153 * gdb.ada/arr_arr: New testcase.
10155 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10157 * gdb.ada/pkd_arr_elem: New Testcase.
10159 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
10161 * gdb.reverse/break-precsave: Expect completion message for
10163 * gdb.reverse/consecutive-precsave.exp: Likewise.
10164 * gdb.reverse/finish-precsave.exp: Likewise.
10165 * gdb.reverse/i386-precsave.exp: Likewise.
10166 * gdb.reverse/machinestate-precsave.exp: Likewise.
10167 * gdb.reverse/sigall-precsave.exp: Likewise.
10168 * gdb.reverse/solib-precsave.exp: Likewise.
10169 * gdb.reverse/step-precsave.exp: Likewise.
10170 * gdb.reverse/until-precsave.exp: Likewise.
10171 * gdb.reverse/watch-precsave.exp: Likewise.
10173 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10175 * gdb.base/bp-permanent.c: Include unistd.h.
10176 * gdb.python/py-framefilter-mi.c (main): Add return type.
10177 * gdb.python/py-framefilter.c (main): Likewise.
10178 * gdb.trace/actions-changed.c (main): Likewise.
10180 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10182 * gdb.mi/until.c: Add eye-catchers.
10183 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
10186 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10188 * gdb.base/condbreak.exp: Drop references to removed non-prototype
10189 function header variants in break1.c.
10190 * gdb.base/ena-dis-br.exp: Likewise.
10191 * gdb.base/hbreak2.exp: Likewise.
10192 * gdb.reverse/until-precsave.exp: Drop references to removed
10193 non-prototype function header variants in ur1.c.
10194 * gdb.reverse/until-reverse.exp: Likewise.
10196 2014-11-17 Petr Machata <pmachata@redhat.com>
10198 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
10199 ${_cu_offset_size} bytes abbrev offset.
10201 2014-11-15 Doug Evans <xdje42@gmail.com>
10204 * gdb.base/line-symtabs.exp: New file.
10205 * gdb.base/line-symtabs.c: New file.
10206 * gdb.base/line-symtabs.h: New file.
10208 2014-11-14 Yao Qi <yao@codesourcery.com>
10210 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
10211 (func): Add label func_label.
10212 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
10213 Replace low_pc and high_pc with MACRO_AT_range.
10214 Replace name, low_pc and high_pc with MACRO_AT_func.
10216 2014-11-14 Yao Qi <yao@codesourcery.com>
10218 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
10219 Replace name, low_pc and high_pc with MACRO_AT_func.
10221 2014-11-14 Yao Qi <yao@codesourcery.com>
10223 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
10224 produce debug information.
10225 * gdb.dwarf2/implptr-optimized-out.S: Removed.
10227 2014-11-14 Yao Qi <yao@codesourcery.com>
10229 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
10230 object and get function length.
10231 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
10232 with MACRO_AT_func.
10233 (top-level): Replace gdb_compile and clean_restart with
10234 prepare_for_testing.
10235 * gdb.dwarf2/main.c (main): Add label main_label.
10237 2014-11-14 Yao Qi <yao@codesourcery.com>
10239 * lib/dwarf.exp (function_range): New procedure.
10240 (Dwarf::_handle_macro_at_func): New procedure.
10241 (Dwarf::_handle_macro_at_range): New procedure.
10242 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
10244 2014-11-14 Yao Qi <yao@codesourcery.com>
10246 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
10247 (_handle_attribute): New procedure.
10249 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10251 * gdb.ada/cond_lang/foo.c (callme): Add return type.
10252 * gdb.base/call-sc.c (zed): Likewise.
10253 * gdb.base/checkpoint.c (main): Likewise.
10254 * gdb.base/dump.c (main): Likewise.
10255 * gdb.base/gcore.c (main): Likewise.
10256 * gdb.base/huge.c (main): Likewise.
10257 * gdb.base/multi-forks.c (main): Likewise.
10258 * gdb.base/pr10179-a.c (main): Likewise.
10259 * gdb.base/savedregs.c (main): Likewise.
10260 * gdb.base/sigaltstack.c (main): Likewise.
10261 * gdb.base/siginfo.c (main): Likewise.
10262 * gdb.base/structs.c (zed): Likewise.
10263 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
10264 * gdb.mi/mi-syn-frame.c (main): Likewise.
10265 * gdb.mi/until.c (foo, main): Likewise.
10266 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
10267 * gdb.base/solib-weak.c (foo): Declare.
10268 * gdb.base/attach-twice.c: Include stdio.h.
10269 * gdb.base/weaklib1.c: Likewise.
10270 * gdb.base/weaklib2.c: Likewise.
10271 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
10272 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
10274 * gdb.base/attach-pie-misread.c: Include stdlib.h.
10275 * gdb.mi/mi-exit-code.c: Likewise.
10276 * gdb.base/break-interp-lib.c: Include string.h.
10277 * gdb.base/coremaker.c: Likewise.
10278 * gdb.base/testenv.c: Likewise.
10279 * gdb.python/py-finish-breakpoint.c: Likewise.
10280 * gdb.base/inferior-died.c: Include sys/wait.h.
10281 * gdb.base/fileio.c: Include time.h.
10282 * gdb.base/async-shell.c: Include unistd.h.
10283 * gdb.base/dprintf-non-stop.c: Likewise.
10284 * gdb.base/info-os.c: Likewise.
10285 * gdb.mi/mi-console.c: Likewise.
10286 * gdb.mi/watch-nonstop.c: Likewise.
10287 * gdb.python/py-events.c: Likewise.
10288 * gdb.base/async.c (baz): Move up before its invocation.
10289 * gdb.base/code_elim2.c (my_global_func): Likewise.
10290 * gdb.base/skip-solib-lib.c (multiply): Likewise.
10291 * gdb.base/advance.c (func2): Likewise.
10293 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10295 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
10297 * gdb.base/annota3.c: Likewise.
10298 * gdb.base/async.c: Likewise.
10299 * gdb.base/average.c: Likewise.
10300 * gdb.base/call-ar-st.c: Likewise.
10301 * gdb.base/call-rt-st.c: Likewise.
10302 * gdb.base/call-sc.c: Likewise.
10303 * gdb.base/call-strs.c: Likewise.
10304 * gdb.base/ending-run.c: Likewise.
10305 * gdb.base/execd-prog.c: Likewise.
10306 * gdb.base/exprs.c: Likewise.
10307 * gdb.base/foll-exec.c: Likewise.
10308 * gdb.base/foll-fork.c: Likewise.
10309 * gdb.base/foll-vfork.c: Likewise.
10310 * gdb.base/funcargs.c: Likewise.
10311 * gdb.base/gcore.c: Likewise.
10312 * gdb.base/jump.c: Likewise.
10313 * gdb.base/langs0.c: Likewise.
10314 * gdb.base/langs1.c: Likewise.
10315 * gdb.base/langs2.c: Likewise.
10316 * gdb.base/mips_pro.c: Likewise.
10317 * gdb.base/nodebug.c: Likewise.
10318 * gdb.base/opaque0.c: Likewise.
10319 * gdb.base/opaque1.c: Likewise.
10320 * gdb.base/recurse.c: Likewise.
10321 * gdb.base/run.c: Likewise.
10322 * gdb.base/scope0.c: Likewise.
10323 * gdb.base/scope1.c: Likewise.
10324 * gdb.base/setshow.c: Likewise.
10325 * gdb.base/setvar.c: Likewise.
10326 * gdb.base/shmain.c: Likewise.
10327 * gdb.base/shr1.c: Likewise.
10328 * gdb.base/shr2.c: Likewise.
10329 * gdb.base/sigall.c: Likewise.
10330 * gdb.base/signals.c: Likewise.
10331 * gdb.base/so-indr-cl.c: Likewise.
10332 * gdb.base/solib2.c: Likewise.
10333 * gdb.base/structs.c: Likewise.
10334 * gdb.base/sum.c: Likewise.
10335 * gdb.base/vforked-prog.c: Likewise.
10336 * gdb.base/watchpoint.c: Likewise.
10337 * gdb.reverse/shr2.c: Likewise.
10338 * gdb.reverse/until-reverse.c: Likewise.
10339 * gdb.reverse/ur1.c: Likewise.
10340 * gdb.reverse/watch-reverse.c: Likewise.
10342 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10344 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
10346 * gdb.base/sepdebug.exp: Drop references to removed code.
10348 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10350 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
10351 variant. Preserve original line numbering.
10352 * gdb.base/list1.c: Likewise.
10354 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10356 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
10358 * gdb.base/break1.c: Likewise.
10359 * gdb.base/break.exp: Drop references to removed code.
10361 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10363 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
10366 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10368 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
10370 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10372 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
10373 logic into perform_all_tests() and invoke it with and without
10374 function header prototypes.
10375 (do_function_calls): Remove conditional XFAIL for PR 5318.
10376 (rerun_and_prepare): Remove duplicate code.
10377 (perform_all_tests): New. Main logic moved here.
10379 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10381 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
10382 code guarded by #ifdef NO_PROTOTYPES.
10383 (t_double_many_args): Likewise.
10384 (DEF_FUNC_MANY_ARGS_1): Likewise.
10385 (DEF_FUNC_VALUES_1): Likewise.
10386 (t_structs_ldc): Renamed from t_structs_fc in conditional code
10387 guarded by #ifdef PROTOTYPES.
10389 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10391 * gdb.mi/mi-console.c: Add eye-catcher.
10392 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10393 instead of literal line number.
10395 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10397 * gdb.base/shr2.c: Add eye-catcher.
10398 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10401 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10403 * gdb.base/jump.c: Add eye-catchers.
10404 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10407 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10409 * gdb.base/execd-prog.c: Add eye-catchers.
10410 * gdb.base/foll-exec.c: Likewise.
10411 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10414 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10416 * gdb.base/ending-run.c: Add eye-catchers.
10417 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
10418 literal line numbers.
10420 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10422 * gdb.base/call-rt-st.c: Add eye-catchers.
10423 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
10424 literal line numbers.
10426 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10428 * gdb.base/call-ar-st.c: Add eye-catchers.
10429 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
10430 literal line numbers.
10432 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10434 * gdb.base/average.c: Add eye-catchers.
10435 * gdb.base/sum.c: Likewise.
10436 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
10437 regexps dynamically.
10439 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10441 * gdb.base/solib1.c: Add eye-catchers.
10442 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10443 literal line numbers.
10445 2014-11-12 Pedro Alves <palves@redhat.com>
10447 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10450 2014-11-12 Pedro Alves <palves@redhat.com>
10452 * gdb.arch/i386-bp_permanent.c: New file.
10453 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10454 (srcfile): Set to i386-bp_permanent.c.
10455 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
10456 that stepi does not execute the 'leave' instruction, instead of
10457 testing it does execute.
10458 * gdb.base/bp-permanent.c: New file.
10459 * gdb.base/bp-permanent.exp: New file.
10461 2014-11-10 Doug Evans <xdje42@gmail.com>
10464 * gdb.base/symtab-search-order.exp: New file.
10465 * gdb.base/symtab-search-order.c: New file.
10466 * gdb.base/symtab-search-order-1.c: New file.
10467 * gdb.base/symtab-search-order-shlib-1.c: New file.
10469 2014-11-07 Pedro Alves <palves@redhat.com>
10472 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10475 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10478 * gdb.cp/pr17494.cc: New file.
10479 * gdb.cp/pr17494.exp: New file.
10481 2014-11-02 Yao Qi <yao@codesourcery.com>
10483 * gdb.python/python.exp: Get working directory and match the
10484 output of "set extended-prompt \\w " with it.
10486 2014-10-30 Doug Evans <dje@google.com>
10488 * gdb.python/py-objfile.exp: Add tests for setting random attributes
10490 * gdb.python/py-progspace.exp: Add tests for setting random attributes
10493 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
10495 * gdb.base/fullpath-expand.exp: Skip for a remote host.
10496 * gdb.base/realname-expand.exp: Likewise.
10497 * gdb.linespec/macro-relative.exp: Likewise.
10499 2014-10-29 Pedro Alves <palves@redhat.com>
10502 * gdb.threads/schedlock.c (some_function): New function.
10503 (call_function): New global.
10504 (MAYBE_CALL_SOME_FUNCTION): New macro.
10505 (thread_function): Call it.
10506 * gdb.threads/schedlock.exp (get_args): Add description parameter,
10507 and use it instead of a global counter. Adjust all callers.
10508 (get_current_thread): Use "find current thread" for test message
10509 here rather than having all callers pass down the same string.
10510 (goto_loop): New procedure, factored out from ...
10511 (my_continue): ... this.
10512 (step_ten_loops): Change parameter from test message to command to
10514 (list_count): Delete global.
10515 (check_result): New procedure, factored out from duplicate top
10517 (continue tests): Wrap in with_test_prefix.
10518 (test_step): New procedure, factored out from duplicate top level
10520 (top level): Test "step" in combination with all scheduler-locking
10521 modes. Test "next" in combination with all scheduler-locking
10522 modes, and in combination with stepping over a function call or
10524 * gdb.threads/next-bp-other-thread.c: New file.
10525 * gdb.threads/next-bp-other-thread.exp: New file.
10527 2014-10-29 Pedro Alves <palves@redhat.com>
10530 * gdb.python/python.exp: Test a multi-line command that spawns
10531 interactive Python.
10532 * gdb.base/multi-line-starts-subshell.exp: New file.
10534 2014-10-29 Yao Qi <yao@codesourcery.com>
10536 * gdb.base/fileio.exp: Make directories on host.
10538 2014-10-29 Yao Qi <yao@codesourcery.com>
10540 * gdb.base/fileio.c (test_write): Close the file.
10542 2014-10-28 Pedro Alves <palves@redhat.com>
10545 * gdb.base/sigstep.c (no_handler): New global.
10546 (main): If 'no_handler is true, set the signal handlers to
10548 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
10549 with_sw_watch and no_handler parameters. Handle them.
10550 (top level) <stepping over handler when stopped at a breakpoint
10551 test>: Add a test axis for testing with a software watchpoint, and
10552 another for testing with the signal handler set to SIG_IGN.
10553 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
10554 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
10556 2014-10-28 Pedro Alves <palves@redhat.com>
10559 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
10560 * gdb.base/sigstep.exp (other_handler_location): New global.
10561 (advance): Support stepping into the signal handler, and running
10562 commands while in the handler.
10563 (in_handler_map): New global.
10564 (top level): In the advance test, add combinations for getting
10565 into the handler with stepping commands, and for running commands
10566 in the handler. Add comment descripting the advancei tests.
10568 2014-10-28 Pedro Alves <palves@redhat.com>
10570 * gdb.base/sigstep.exp: Use build_executable instead of
10571 prepare_for_testing.
10572 (top level): Move code that starts GDB, runs to main and creates a
10574 (restart): ... this new procedure.
10575 (top level): Move backtrace from signal handler test to ...
10576 (validate_backtrace): ... this new procedure.
10577 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
10578 with_test_prefix. Always restart GDB.
10579 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
10580 with_test_prefix. Always restart GDB. No need to delete
10581 breakpoints after the test.
10582 (test_skip_handler): Remove prefix parameter.
10583 (skip_over_handler, breakpoint_to_handler)
10584 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
10585 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
10586 restart GDB. No need to delete breakpoints after the test.
10587 (top level): Use foreach to call the test procedures with
10588 different commands.
10590 2014-10-28 Pedro Alves <palves@redhat.com>
10592 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
10593 instead of GNATS numbers.
10594 * gdb.base/sigbpt.exp: Likewise.
10595 * gdb.base/siginfo.exp: Likewise.
10596 * gdb.base/sigstep.exp: Likewise.
10598 2014-10-27 Pedro Alves <palves@redhat.com>
10600 * gdb.base/sigstep.c (dummy): New global.
10601 (main): Issue a couple writes to the new global.
10602 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
10604 (skip_over_handler): Use test_skip_handler.
10605 (top level): Call skip_over_handler for stepi and nexti too.
10606 (breakpoint_over_handler): Use test_skip_handler.
10607 (top level): Call breakpoint_over_handler for stepi and nexti too.
10609 2014-10-27 Yao Qi <yao@codesourcery.com>
10611 * gdb.trace/tfile.c (adjust_function_address)
10612 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
10613 function descriptor.
10615 2014-10-24 Don Breazeal <donb@codesourcery.com>
10617 * gdb.base/foll-fork.exp (test_follow_fork,
10618 catch_fork_child_follow): Check for updated fork messages emitted
10620 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
10621 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
10622 vfork_and_exec_child_follow_through_step): Check for updated vfork
10623 messages emitted from infrun.c.
10625 2014-10-24 Pedro Alves <palves@redhat.com>
10627 * gdb.base/corefile.exp: Remove references to ultrix.
10628 * gdb.base/interrupt.exp: Likewise.
10629 * gdb.base/whatis.exp: Likewise.
10630 * gdb.gdb/selftest.exp: Likewise.
10631 * gdb.threads/manythreads.exp: Likewise.
10632 * gdb.threads/print-threads.exp: Likewise.
10633 * gdb.threads/pthreads.exp:: Likewise.
10634 * gdb.threads/schedlock.exp: Likewise.
10636 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
10638 * gdb.cp/non-trivial-retval.cc: Add a test case.
10639 * gdb.cp/non-trivial-retval.exp: Add a test.
10641 2014-10-20 Yao Qi <yao@codesourcery.com>
10643 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
10644 * gdb.python/py-objfile-script-gdb.py: New file.
10645 * gdb.python/py-objfile-script.exp: Update reference to
10646 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
10647 of remote_download. Remove the dest file.
10649 2014-10-20 Yao Qi <yao@codesourcery.com>
10651 * gdb.base/checkpoint.exp: Don't remove file copied on host.
10652 * gdb.base/step-line.exp: Likewise.
10653 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10654 * gdb.dwarf2/dw2-basic.exp: Likewise.
10655 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10656 * gdb.dwarf2/dw2-filename.exp: Likewise.
10657 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10658 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10659 * gdb.dwarf2/dw2-producer.exp: Likewise.
10660 * gdb.dwarf2/mac-fileno.exp: Likewise.
10661 * gdb.python/py-frame-args.exp: Likewise.
10662 * gdb.python/py-framefilter.exp: Likewise.
10663 * gdb.python/py-mi.exp: Likewise.
10664 * gdb.python/py-objfile-script.exp: Likewise
10665 * gdb.python/py-pp-integral.exp: Likewise.
10666 * gdb.python/py-pp-re-notag.exp: Likewise.
10667 * gdb.python/py-prettyprint.exp: Likewise.
10668 * gdb.python/py-section-script.exp: Likewise.
10669 * gdb.python/py-typeprint.exp: Likewise.
10670 * gdb.python/py-xmethods.exp: Likewise.
10671 * gdb.stabs/weird.exp: Likewise.
10672 * gdb.xml/tdesc-regs.exp: Likewise.
10674 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
10676 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
10677 (out_cu): Use addr_len for the size of addresses.
10678 (out_line): Likewise. Size DW_LNE_set_address instruction
10679 according to addr_len.
10680 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
10681 (FUNC): Add START_INSNS to definition.
10683 2014-10-18 Yao Qi <yao@codesourcery.com>
10685 * gdb.base/argv0-symlink.exp: Check argv[0] value if
10686 gdb_has_argv0 return true.
10687 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
10688 check [target_info exists noargs], check [gdb_has_argv0]
10690 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10691 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
10694 2014-10-17 Doug Evans <dje@google.com>
10696 * gdb.python/py-events.exp: Update expected output for clear_objfiles
10698 * gdb.python/py-events.py: Add clear_objfiles event.
10700 2014-10-17 Doug Evans <dje@google.com>
10702 * gdb.python/py-objfile.exp: Test progspace attribute.
10704 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
10706 * gdb.guile/scm-breakpoint.exp: Do not assume any
10707 directory separators when matching source file paths.
10708 * gdb.python/py-breakpoint.exp: Likewise.
10709 * gdb.reverse/break-precsave.exp: Likewise.
10710 * gdb.reverse/break-reverse.exp: Likewise.
10711 * gdb.reverse/consecutive-precsave.exp: Likewise.
10712 * gdb.reverse/finish-precsave.exp: Likewise.
10713 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
10714 * gdb.reverse/finish-reverse.exp: Likewise.
10715 * gdb.reverse/i386-precsave.exp: Likewise.
10716 * gdb.reverse/i387-env-reverse.exp: Likewise.
10717 * gdb.reverse/i387-stack-reverse.exp: Likewise.
10718 * gdb.reverse/machinestate-precsave.exp: Likewise.
10719 * gdb.reverse/machinestate.exp: Likewise.
10720 * gdb.reverse/sigall-precsave.exp: Likewise.
10721 * gdb.reverse/solib-precsave.exp: Likewise.
10722 * gdb.reverse/step-precsave.exp: Likewise.
10723 * gdb.reverse/until-precsave.exp: Likewise.
10724 * gdb.reverse/watch-precsave.exp: Likewise.
10725 * gdb.reverse/watch-reverse.exp: Likewise.
10727 2014-10-17 Yao Qi <yao@codesourcery.com>
10729 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
10730 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
10732 2014-10-17 Pedro Alves <palves@redhat.com>
10735 * gdb.base/bg-execution-repeat.c: New file.
10736 * gdb.base/bg-execution-repeat.exp: New file.
10738 2014-10-17 Pedro Alves <palves@redhat.com>
10741 * gdb.base/continue-all-already-running.c: New file.
10742 * gdb.base/continue-all-already-running.exp: New file.
10744 2014-10-17 Pedro Alves <palves@redhat.com>
10747 * gdb.base/annota-input-while-running.c: New file.
10748 * gdb.base/annota-input-while-running.exp: New file.
10750 2014-10-17 Pedro Alves <palves@redhat.com>
10752 * gdb.base/callfuncs.exp: emove references to osf.
10753 * gdb.base/sigall.exp: Likewise.
10754 * gdb.gdb/selftest.exp: Likewise.
10755 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10756 * gdb.mi/non-stop.c: Likewise.
10757 * gdb.mi/pthreads.c: Likewise.
10758 * gdb.reverse/sigall-precsave.exp: Likewise.
10759 * gdb.reverse/sigall-reverse.exp: Likewise.
10760 * gdb.threads/pthreads.c: Likewise.
10761 * gdb.threads/pthreads.exp: Likewise.
10763 2014-10-17 Yao Qi <yao@codesourcery.com>
10765 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
10766 check 'target_info exists noargs'.
10767 (test_command_prompt_position): Likewise.
10768 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
10770 (progvar_simple_while_test): Likewise.
10771 (progvar_complex_if_while_test): Likewise.
10772 (if_while_breakpoint_command_test): Likewise.
10773 (infrun_breakpoint_command_test): Likewise.
10774 (breakpoint_command_test): Likewise.
10775 (watchpoint_command_test): Likewise.
10776 (bp_deleted_in_command_test): Likewise.
10777 (temporary_breakpoint_commands): Likewise.
10779 2014-10-16 Yao Qi <yao@codesourcery.com>
10781 * gdb.base/remotetimeout.exp: Remove noargs checking.
10783 2014-10-15 Pedro Alves <palves@redhat.com>
10785 PR breakpoints/9649
10786 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
10787 * gdb.base/breakpoint-in-ro-region.exp
10788 (probe_target_hardware_step): New procedure.
10789 (top level): Probe hardware stepping and hardware breakpoint
10790 support. Test stepping through a read-only region, with both
10791 "breakpoint auto-hw" on and off and both "always-inserted" on and
10794 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
10796 * gdb.dlang/demangle.exp: Update for demangling changes.
10798 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10800 * gdb.cp/non-trivial-retval.cc: Add new test cases.
10801 * gdb.cp/non-trivial-retval.exp: Add new tests.
10803 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10807 * gdb.cp/non-trivial-retval.cc: New file.
10808 * gdb.cp/non-trivial-retval.exp: New file.
10810 2014-10-15 Yao Qi <yao@codesourcery.com>
10812 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
10815 2014-10-15 Yao Qi <yao@codesourcery.com>
10817 * gdb.python/py-symbol.exp: Match file base name if host is
10818 remote, otherwise match file name with dir name.
10819 * gdb.python/py-symtab.exp: Likewise.
10820 * gdb.python/python.exp: Likewise.
10822 2014-10-15 Yao Qi <yao@codesourcery.com>
10824 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
10826 * gdb.python/py-symtab.exp: Likewise.
10827 * gdb.python/python.exp: Remove trailing ".*". Fix typo
10830 2014-10-14 Joel Brobecker <brobecker@adacore.com>
10832 * gdb.ada/addr_arith: New testcase.
10834 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
10836 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
10837 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
10838 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
10839 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
10841 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
10843 * gdb.arch/stap-eval-lang-ada.S: Likewise.
10844 * gdb.arch/stap-eval-lang-ada.c: Likewise.
10845 * gdb.arch/stap-eval-lang-ada.exp: New file.
10847 2014-10-14 Yao Qi <yao@codesourcery.com>
10849 * gdb.mi/mi-var-child.c (nothing1): New function.
10850 (nothing2): New function.
10851 (do_children_tests): Set function pointers by nothing1 and
10853 * gdb.mi/mi-var-child.exp: Step over new added statements.
10854 Update test to match the new output.
10855 * gdb.mi/var-cmd.c (nothing1): New function.
10856 (nothing2): New function.
10857 (do_children_tests): Set function pointers by nothing1 and
10859 * gdb.mi/mi-var-display.exp: Update test to match output.
10860 Step to the line specified by $line_dct_nothing.
10861 Increase the number of lines to step.
10863 2014-10-14 Yao Qi <yao@codesourcery.com>
10865 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
10867 * gdb.mi/mi2-var-child.exp: Likewise.
10869 2014-10-13 Doug Evans <dje@google.com>
10871 * gdb.python/py-objfile.exp: Change name of file name test.
10873 2014-10-13 Doug Evans <dje@google.com>
10875 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
10876 from the start of the CU.
10878 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10879 Yao Qi <yao@codesourcery.com>
10881 Fix "save breakpoints" for "catch" command.
10882 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
10883 Remove -nonewline. Match also the added "main" line.
10885 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10887 Fix "save breakpoints" for "disable $bpnum" command.
10888 * gdb.base/save-bp.c (main): Add label.
10889 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
10891 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10893 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
10895 2014-10-11 Yao Qi <yao@codesourcery.com>
10897 * gdb.server/server-kill.exp: Execute command
10898 "set remote trace-status-packet on" before "tstatus".
10900 2014-10-11 Yao Qi <yao@codesourcery.com>
10902 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
10903 (main): Call getppid.
10904 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
10905 and continue to it. Read variable "server_pid".
10907 2014-10-11 Yao Qi <yao@codesourcery.com>
10909 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
10911 2014-10-11 Yao Qi <yao@codesourcery.com>
10913 * gdb.threads/thread-find.exp: Don't execute command
10915 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
10916 * gdb.threads/linux-dp.exp: Don't check the condition
10917 $threads_created equals to zero.
10919 2014-10-10 Pedro Alves <palves@redhat.com>
10921 * gdb.base/bigcore.exp: Remove references to IRIX.
10922 * gdb.base/funcargs.exp: Likewise.
10923 * gdb.base/interrupt.exp: Likewise.
10924 * gdb.base/mips_pro.exp: Likewise.
10925 * gdb.base/nodebug.exp: Likewise.
10926 * gdb.base/setvar.exp: Likewise.
10927 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
10929 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10930 Pedro Alves <palves@redhat.com>
10933 * gdb.base/vdso-warning.c: New file.
10934 * gdb.base/vdso-warning.exp: New file.
10936 2014-10-02 Doug Evans <dje@google.com>
10938 * gdb.base/structs.c (main): Don't run forever.
10940 2014-10-02 Pedro Alves <palves@redhat.com>
10942 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
10943 (top level) <stop threads 1, stop threads 2>: Use it.
10945 2014-10-02 Pedro Alves <palves@redhat.com>
10947 * gdb.threads/break-while-running.exp (test): Add new
10948 'update_thread_list' argument. Skip "info threads" if false.
10949 (top level): Add new 'update_thread_list' axis.
10951 2014-10-02 Pedro Alves <palves@redhat.com>
10953 PR breakpoints/17431
10954 * gdb.base/execl-update-breakpoints.c: New file.
10955 * gdb.base/execl-update-breakpoints.exp: New file.
10957 2014-10-01 Pedro Alves <palves@redhat.com>
10959 * gdb.base/breakpoint-in-ro-region.c: New file.
10960 * gdb.base/breakpoint-in-ro-region.exp: New file.
10962 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
10964 * gdb.mi/mi-exit-code.exp: New file.
10965 * gdb.mi/mi-exit-code.c: New file.
10967 2014-09-30 Yao Qi <yao@codesourcery.com>
10969 * lib/prelink-support.exp (build_executable_own_libs): Error if
10970 the target isn't native.
10972 2014-09-30 Yao Qi <yao@codesourcery.com>
10974 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
10977 2014-09-22 Pedro Alves <palves@redhat.com>
10979 * gdb.threads/break-while-running.exp: New file.
10980 * gdb.threads/break-while-running.c: New file.
10982 2014-09-19 Yao Qi <yao@codesourcery.com>
10984 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
10985 Invoke test. Restart GDB with --readnow and invoke test again.
10987 2014-09-19 Yao Qi <yao@codesourcery.com>
10989 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
10990 proc set_breakpoint_on_gcd_function. Invoke
10991 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
10992 invoke set_breakpoint_on_gcd_function again.
10994 2014-09-18 Doug Evans <dje@google.com>
10996 * gdb.dwarf2/symtab-producer.exp: New file.
10998 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11000 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
11001 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
11002 * gdb.base/global-var-nested-by-dso.c: Likewise.
11003 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11005 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11006 Pedro Alves <palves@redhat.com>
11008 * gdb.base/watch-bitfields.exp: Pass string other than test file
11009 name to prepare_for_testing.
11010 (watch): New procedure.
11011 (expect_watchpoint): Use with_test_prefix.
11012 (top level): Factor out tests to ...
11013 (test_watch_location, test_regular_watch): ... these new
11014 procedures, and use with_test_prefix and gdb_continue_to_end.
11016 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
11018 PR breakpoints/12526
11019 * gdb.base/watch-bitfields.exp: New file.
11020 * gdb.base/watch-bitfields.c: New file.
11022 2014-09-16 Pedro Alves <palves@redhat.com>
11024 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
11025 software and hardware addresses, not software address against
11028 2014-09-16 Pedro Alves <palves@redhat.com>
11030 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
11031 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
11033 2014-09-16 Pedro Alves <palves@redhat.com>
11035 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
11037 * gdb.base/a2-run.exp: Remove all code guarded by istarget
11038 "*-*-vxworks*" throughout.
11039 * gdb.base/break.exp: Likewise.
11040 * gdb.base/default.exp: Likewise.
11041 * gdb.base/scope.exp: Likewise.
11042 * gdb.base/sepdebug.exp: Likewise.
11043 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
11045 * gdb.base/run.c: Likewise.
11046 * gdb.base/sepdebug.c: Likewise.
11047 * gdb.hp/gdb.aCC/run.c: Likewise.
11048 * gdb.reverse/until-reverse.c: Likewise.
11049 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
11051 2014-09-16 Yao Qi <yao@codesourcery.com>
11053 * boards/local-remote-host-native.exp: New file.
11055 2014-09-14 Doug Evans <xdje42@gmail.com>
11057 * gdb.threads/queue-signal.c (thread_count): New variable.
11058 (thread_count_mutex, thread_count_condvar): New variables.
11059 (incr_thread_count, wait_all_threads_running): New functions.
11060 (main): Wait for all threads to be in their thread functions.
11062 2014-09-13 Doug Evans <xdje42@gmail.com>
11064 * gdb.threads/queue-signal.c: New file.
11065 * gdb.threads/queue-signal.exp: New file.
11067 2014-09-13 Doug Evans <xdje42@gmail.com>
11069 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
11070 be consistent with what default_gdb_init uses.
11071 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
11072 the plain text of the prompt. Add some logging printfs.
11073 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
11075 2014-09-12 Pedro Alves <palves@redhat.com>
11077 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
11078 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
11079 * gdb.arch/i386-size-overlap.exp: Likewise.
11080 * gdb.arch/i386-size.exp: Likewise.
11081 * gdb.arch/i386-unwind.exp: Likewise.
11082 * gdb.base/a2-run.exp: Likewise.
11083 * gdb.base/break.exp: Likewise.
11084 * gdb.base/charset.exp: Likewise.
11085 * gdb.base/chng-syms.exp: Likewise.
11086 * gdb.base/commands.exp: Likewise.
11087 * gdb.base/dbx.exp: Likewise.
11088 * gdb.base/find.exp: Likewise.
11089 * gdb.base/funcargs.exp: Likewise.
11090 * gdb.base/jit-simple.exp: Likewise.
11091 * gdb.base/reread.exp: Likewise.
11092 * gdb.base/sepdebug.exp: Likewise.
11093 * gdb.base/step-bt.exp: Likewise.
11094 * gdb.cp/mb-inline.exp: Likewise.
11095 * gdb.cp/mb-templates.exp: Likewise.
11096 * gdb.objc/basicclass.exp: Likewise.
11097 * gdb.threads/killed.exp: Likewise.
11099 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11102 * gdb.arch/powerpc-stackless.S: New file.
11103 * gdb.arch/powerpc-stackless.exp: New file.
11105 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11107 * gdb.base/attach.c: Include unistd.h.
11108 (main): Call alarm. Add label postloop.
11109 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
11110 gdb_breakpoint, gdb_continue_to_breakpoint.
11111 (test_command_line_attach_run): Kill ${testpid} in one exit path.
11113 2014-09-11 Pedro Alves <palves@redhat.com>
11116 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
11117 * gdb.base/attach.exp (test_command_line_attach_run): New
11119 (top level): Call it.
11121 2014-09-11 Pedro Alves <palves@redhat.com>
11123 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
11124 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
11125 (do_command_attach_tests): Use spawn_wait_for_attach.
11126 * gdb.base/solib-overlap.exp: Likewise.
11127 * gdb.multi/multi-attach.exp: Likewise.
11128 * gdb.python/py-prompt.exp: Likewise.
11129 * gdb.python/py-sync-interp.exp: Likewise.
11130 * gdb.server/ext-attach.exp: Likewise.
11132 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
11134 * gdb.fortran/array-element.exp: Remove unexpected "continue"
11135 command in testcase. Simplify testcase.
11137 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11139 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
11141 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11143 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
11145 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11147 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
11149 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11151 * gdb.dwarf2/dynarr-ptr.c: New file.
11152 * gdb.dwarf2/dynarr-ptr.exp: New file.
11154 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11156 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
11157 of 30 rather than hardcoding 120 for a slow test case. Take the
11158 `gdb,timeout' target setting into account for this calculation.
11159 Don't extend the timeout for the test cases that don't need it.
11161 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11163 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
11164 a factor of 2 for a slow test case. Take the `gdb,timeout'
11165 target setting into account for this calculation.
11166 * gdb.reverse/until-precsave.exp: Increase the timeout by
11167 a factor of 15 and 3 respectively rather than adding 120
11168 for a pair of slow test cases. Take the `gdb,timeout'
11169 target setting into account for this calculation.
11171 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11173 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
11174 timeout, don't pass one down to gdb_expect.
11175 (gdb_expect): Rework timeout selection.
11177 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11179 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
11180 exception on timeout.
11181 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
11182 (gdbserver_start_extended): Catch any `gdbserver_start' error
11184 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
11185 * lib/mi-support.exp (mi_gdb_target_load): Catch any
11186 `gdbserver_gdb_load' error exceptions.
11188 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11190 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
11191 120 on waiting for the TCP socket to open.
11193 2014-09-09 Doug Evans <xdje42@gmail.com>
11195 * gdb.base/default.exp (show_conv_list): Add _caller_is,
11196 _caller_matches, _any_caller_is, _any_caller_matches.
11198 2014-09-09 Doug Evans <xdje42@gmail.com>
11200 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
11202 2014-09-09 Yao Qi <yao@codesourcery.com>
11204 * gdb.mi/mi-var-display.exp: Set print symbol off.
11206 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
11209 * gdb.base/commands.exp: Add tests to verify user-defined
11210 commands with empty bodies.
11211 * gdb.python/py-cmd.exp: Test that we don't show user-defined
11212 python commands in `show user command`.
11213 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
11214 scheme commands in `show user command`.
11216 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11219 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
11220 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
11221 * gdb.python/py-framefilter-invalidarg.exp: New file.
11222 * gdb.python/py-framefilter-invalidarg.py: New file.
11224 2014-09-06 Doug Evans <xdje42@gmail.com>
11227 * gdb.python/py-caller-is.c: New file.
11228 * gdb.python/py-caller-is.exp: New file.
11230 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
11233 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
11234 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
11236 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
11239 * gdb.fortran/print-formatted.exp: New file.
11240 * gdb.fortran/print-formatted.f90: Likewise.
11242 2014-09-03 Sasha Smundak <asmundak@google.com>
11244 * gdb.python/py-frame.exp: Test Frame.read_register.
11246 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
11249 * gdb.python/py-completion.exp: New file.
11250 * gdb.python/py-completion.py: Likewise.
11252 2014-08-28 Doug Evans <dje@google.com>
11254 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
11255 eax,etc. are live with values set by gdb and thus the compiler can't
11257 * gdb.arch/i386-pseudo.c (main): Ditto.
11259 2014-08-27 Doug Evans <dje@google.com>
11261 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
11263 2014-08-25 Doug Evans <dje@google.com>
11265 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
11268 2014-08-25 Doug Evans <dje@google.com>
11270 * gdb.threads/thread-execl.exp: #include <stdio.h>.
11272 2014-08-24 Yao Qi <yao@codesourcery.com>
11274 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
11276 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
11278 2014-08-22 Doug Evans <dje@google.com>
11281 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
11282 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
11283 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
11285 2014-08-22 Yao Qi <yao@codesourcery.com>
11287 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
11288 * gdb.python/py-finish-breakpoint2.exp: Likewise.
11289 * gdb.python/python.exp: Likewise. Use .py file on the host
11290 instead of the build.
11292 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11294 * gdb.threads/gcore-stale-thread.c: New file.
11295 * gdb.threads/gcore-stale-thread.exp: New file.
11297 2014-08-21 Pedro Alves <palves@redhat.com>
11299 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
11300 * gdb.base/gcore-relro-pie.exp: Likewise.
11301 * gdb.base/gcore-relro.exp: Likewise.
11302 * gdb.base/gcore.exp: Likewise.
11303 * gdb.base/print-symbol-loading.exp: Likewise.
11304 * gdb.threads/gcore-thread.exp: Likewise.
11305 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
11307 2014-08-20 Pedro Alves <palves@redhat.com>
11308 Jan Kratochvil <jan.kratochvil@redhat.com>
11310 * Makefile.in (EXTRA_RULES, CC): New variables, get from
11312 (EXPECT): Handle READ1 being set.
11313 (all): Depend on EXTRA_RULES.
11314 (check-read1, expect-read1, read1.so, read1): New rules.
11315 * README (Testsuite Parameters): Document the READ1 make variable.
11316 (Race detection): New section.
11317 * configure: Regenerate.
11318 * configure.ac: If build==host==target, and running under a
11319 GNU/glibc system, add read1 to the extra Makefile rules.
11320 (EXTRA_RULES): AC_SUBST it.
11321 * lib/read1.c: New file.
11323 2014-08-20 Joel Brobecker <brobecker@adacore.com>
11325 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
11326 the handling of variables declared as a typedef to an array
11327 which a DW_AT_data_location attribute.
11329 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
11330 Pedro Alves <palves@redhat.com>
11334 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
11337 2014-08-19 Pedro Alves <palves@redhat.com>
11339 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
11341 2014-08-19 Yao Qi <yao@codesourcery.com>
11343 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
11346 2014-08-18 David Blaikie <dblaikie@gmail.com>
11348 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
11350 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11352 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
11353 attribute in array range.
11355 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11357 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
11359 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11362 * gdb.cp/pr17132.cc: New file.
11363 * gdb.cp/pr17132.exp: New file.
11365 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11367 * gdb.python/py-xmethods.py (A_getarrayind)
11368 (E_method_char_worker.__call__, E_method_int_worker.__call__):
11369 Use 'print' with function call syntax.
11370 (E_method_matcher.match): Fix tab vs space indentation mixup.
11372 2014-08-15 Yao Qi <yao@codesourcery.com>
11374 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
11377 2014-08-15 Yao Qi <yao@codesourcery.com>
11379 * gdb.cp/casts.exp: Set print symbol off.
11380 * gdb.cp/class2.exp: Likewise.
11381 * gdb.cp/overload.exp: Likewise.
11382 * gdb.cp/templates.exp: Likewise.
11384 2014-08-11 Doug Evans <dje@google.com>
11386 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11387 (test_load_shlib): Update.
11389 2014-08-09 Yao Qi <yao@codesourcery.com>
11391 * gdb.base/display.exp: Invoke is_address_zero_readable.
11392 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11393 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11394 * gdb.base/hbreak-unmapped.exp: Return if
11395 is_address_zero_readable returns true.
11396 * gdb.base/signest.exp: Likewise.
11397 * gdb.base/signull.exp: Likewise.
11398 * gdb.base/sigbpt.exp: Likewise.
11399 * gdb.guile/scm-disasm.exp: Do the test if
11400 is_address_zero_readable returns false.
11401 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11402 * gdb.python/py-arch.exp: Likewise.
11403 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11404 * lib/gdb.exp (is_address_zero_readable): New proc.
11406 2014-08-09 Yao Qi <yao@codesourcery.com>
11409 * gdb.mi/mi-var-display.exp: Make test messages unique.
11411 2014-08-04 Tom Tromey <tromey@redhat.com>
11413 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
11416 2014-08-04 Tom Tromey <tromey@redhat.com>
11418 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
11421 2014-08-01 Joel Brobecker <brobecker@adacore.com>
11423 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
11424 inner_vla_struct_object_size.
11425 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11428 2014-07-30 Pedro Alves <palves@redhat.com>
11430 * gdb.threads/signal-command-handle-nopass.exp (test): Add
11433 2014-07-29 Yao Qi <yao@codesourcery.com>
11436 * gdb.base/until-nodebug.exp: New.
11438 2014-07-28 Doug Evans <xdje42@gmail.com>
11441 * gdb.guile/scm-parameter.exp: Add tests for trying to create
11442 previously existing parameter, and previously ambiguously spelled
11445 2014-07-28 Will Newton <will.newton@linaro.org>
11447 * gdb.base/varargs.exp: Remove KFAILs for ARM.
11449 2014-07-26 Ludovic Courtès <ludo@gnu.org>
11450 Doug Evans <xdje42@gmail.com>
11453 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11455 2014-07-25 Pedro Alves <palves@redhat.com>
11457 * gdb.threads/signal-command-handle-nopass.c: New file.
11458 * gdb.threads/signal-command-handle-nopass.exp: New file.
11459 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11460 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11461 * gdb.threads/signal-delivered-right-thread.c: New file.
11462 * gdb.threads/signal-delivered-right-thread.exp: New file.
11464 2014-07-25 Pedro Alves <palves@redhat.com>
11466 * gdb.base/double-prompt-target-event-error.exp
11467 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11469 (cancel_pagination_in_target_event): Rework double prompt
11471 * gdb.base/paginate-after-ctrl-c-running.exp
11472 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11474 * gdb.base/paginate-bg-execution.exp
11475 (test_bg_execution_pagination_return)
11476 (test_bg_execution_pagination_cancel): Remove '-notransfer
11478 * gdb.base/paginate-execution-startup.exp
11479 (test_fg_execution_pagination_return)
11480 (test_fg_execution_pagination_cancel): Remove '-notransfer
11482 * gdb.base/paginate-inferior-exit.exp
11483 (test_paginate_inferior_exited): Remove '-notransfer <return>'
11485 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11486 * lib/gdb.exp (pagination_prompt): Run text through
11488 (gdb_test_multiple): Match $pagination_prompt instead of
11490 (string_to_regexp): Move to lib/gdb-utils.exp.
11492 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11494 * gdb.arch/amd64-entry-value-paramref.S: New file.
11495 * gdb.arch/amd64-entry-value-paramref.cc: New file.
11496 * gdb.arch/amd64-entry-value-paramref.exp: New file.
11497 * gdb.arch/amd64-optimout-repeat.S: New file.
11498 * gdb.arch/amd64-optimout-repeat.c: New file.
11499 * gdb.arch/amd64-optimout-repeat.exp: New file.
11501 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11504 * gdb.base/statistics.exp: New file.
11506 2014-07-17 Doug Evans <dje@google.com>
11509 * gdb.base/maint.exp: Update testing of per-command stats.
11511 2014-07-16 Pedro Alves <palves@redhat.com>
11513 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11514 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11515 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11516 (tfile_write_buf): New functions.
11517 (add_memory_block): Rewrite using the above.
11518 (adjust_function_address): New function.
11519 (FUNCTION_ADDRESS): New macro.
11520 (write_basic_trace_file): Remove short_x local, and use
11521 tfile_write_16. Change type of func_addr local to unsigned long
11522 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
11523 here. Cast argument of add_memory_block to char pointer.
11524 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
11525 (main): Remove parameters.
11526 * gdb.trace/tfile.exp: Remove nowarnings.
11528 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
11530 * gdb.base/debug-expr.exp: Test string evaluation with
11531 "debug expression" on.
11533 2014-07-15 Pedro Alves <palves@redhat.com>
11535 * gdb.base/reread.exp: Use clean_restart.
11537 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
11539 * gdb.arch/avr-flash-qualifer.c: New.
11540 * gdb.arch/avr-flash-qualifer.exp: New.
11542 2014-07-14 Pedro Alves <palves@redhat.com>
11544 * gdb.base/paginate-after-ctrl-c-running.c: New file.
11545 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
11547 2014-07-14 Pedro Alves <palves@redhat.com>
11549 * gdb.base/double-prompt-target-event-error.c: New file.
11550 * gdb.base/double-prompt-target-event-error.exp: New file.
11552 2014-07-14 Pedro Alves <palves@redhat.com>
11555 * gdb.base/paginate-inferior-exit.c: New file.
11556 * gdb.base/paginate-inferior-exit.exp: New file.
11558 2014-07-14 Pedro Alves <palves@redhat.com>
11561 * gdb.base/paginate-bg-execution.c: New file.
11562 * gdb.base/paginate-bg-execution.exp: New file.
11564 2014-07-14 Pedro Alves <palves@redhat.com>
11567 * gdb.base/paginate-execution-startup.c: New file.
11568 * gdb.base/paginate-execution-startup.exp: New file.
11569 * lib/gdb.exp (pagination_prompt): New global.
11570 (default_gdb_spawn): New procedure, factored out from
11572 (default_gdb_start): Adjust to call default_gdb_spawn.
11573 (gdb_spawn): New procedure.
11575 2014-07-14 Pedro Alves <palves@redhat.com>
11577 * lib/gdb.exp (gdb_assert): New procedure.
11578 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
11580 2014-07-14 Pedro Alves <palves@redhat.com>
11582 * gdb.base/execution-termios.c: New file.
11583 * gdb.base/execution-termios.exp: New file.
11585 2014-07-14 Tom Tromey <tromey@redhat.com>
11587 * gdb.cp/vla-cxx.cc: New file.
11588 * gdb.cp/vla-cxx.exp: New file.
11590 2014-07-14 Tom Tromey <tromey@redhat.com>
11592 * gdb.reverse/rerun-prec.c: New file.
11593 * gdb.reverse/rerun-prec.exp: New file.
11595 2014-07-12 Maciej W. Rozycki <macro@mips.com>
11596 Maciej W. Rozycki <macro@codesourcery.com>
11598 * lib/gdb-utils.exp: New file.
11599 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
11600 inline `gdb_init_command' processing.
11601 (gdb_start_cmd): Likewise.
11602 * lib/mi-support.exp (mi_run_cmd): Likewise.
11603 * README: Document `gdb_init_command' and `gdb_init_commands'.
11605 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11607 Fix false FAIL running under a very long directory name.
11608 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
11609 and "set print elements 10000". Twice.
11611 2014-07-11 Yao Qi <yao@codesourcery.com>
11613 * gdb.base/exprs.exp: "set print symbol off".
11615 2014-07-11 Pedro Alves <palves@redhat.com>
11617 * gdb.threads/kill.c: New file.
11618 * gdb.threads/kill.exp: New file.
11620 2014-07-10 Yao Qi <yao@codesourcery.com>
11622 * gdb.trace/tfile.c (write_basic_trace_file)
11623 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
11624 address written to trace file.
11626 2014-07-09 Pedro Alves <palves@redhat.com>
11628 * gdb.base/attach-wait-input.exp: New file.
11629 * gdb.base/attach-wait-input.c: New file.
11631 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
11633 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
11634 setting up test structures.
11635 (main): Call new test function.
11636 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
11637 test function, continue into test function and walk test
11640 2014-07-02 Yao Qi <yao@codesourcery.com>
11642 * gdb.trace/entry-values.c: Define labels 'foo_start' and
11643 'bar_start' at the beginning of functions 'foo' and 'bar'
11645 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
11646 instead of 'foo' and 'bar'.
11648 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
11650 * gdb.btrace/segv.exp: New.
11651 * gdb.btrace/segv.c: New.
11653 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
11655 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
11658 2014-06-30 Mark Wielaard <mjw@redhat.com>
11660 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
11661 vulture, vilify, villar): New volatile array constants.
11662 (vindictive, vegetation): New const volatile array constants.
11663 * gdb.base/volatile.exp: Test volatile and const volatile array
11666 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11668 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
11669 target lacks support for awatch, rwatch, or hbreak.
11671 2014-06-27 Yao Qi <yao@codesourcery.com>
11673 * gdb.multi/dummy-frame-restore.exp: New.
11674 * gdb.multi/dummy-frame-restore.c: New.
11676 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
11678 * gdb.btrace/gcore.exp: New.
11680 2014-06-23 Pedro Alves <palves@redhat.com>
11682 * gdb.base/watchpoint-reuse-slot.c: New file.
11683 * gdb.base/watchpoint-reuse-slot.exp: New file.
11685 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
11687 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
11688 progspace's filename in 'info', 'enable' and 'disable' command
11691 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11693 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
11694 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11695 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
11697 2014-06-20 Gary Benson <gbenson@redhat.com>
11699 * gdb.arch/i386-avx.exp: Fix include file location.
11700 * gdb.arch/i386-sse.exp: Likewise.
11702 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
11704 * gdb.dlang/expression.exp: New file.
11706 2014-06-19 Pedro Alves <palves@redhat.com>
11708 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
11710 (top level): ... here. Iterate running tests under different
11711 scheduler-locking settings.
11713 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
11715 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
11716 to DW_FORM_addr and use non-zero addresses.
11718 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
11721 * gdb.python/py-xmethods.cc: Add global function call counters and
11722 increment them in their respective functions. Remove "cout"
11724 * gdb.python/py-xmethods.exp: Make tests check the global function
11725 call counters instead of depending on inferior IO.
11727 2014-06-18 Don Breazeal <donb@codesourcery.com>
11729 * gdb.base/foll-fork.exp (default_fork_parent_follow):
11731 (explicit_fork_parent_follow): Deleted procedure.
11732 (explicit_fork_child_follow): Deleted procedure.
11733 (test_follow_fork): New procedure.
11734 (do_fork_tests): Replace calls to deleted procedures with
11735 calls to test_follow_fork and reset GDB for subsequent
11738 2014-06-17 Yao Qi <yao@codesourcery.com>
11740 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
11743 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
11745 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
11746 Initialize ptr and S explicitly.
11747 (skip_type_update_when_not_use_rtti_test): Likewise.
11749 2014-06-16 Keith Seitz <keiths@redhat.com>
11752 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
11753 the inferior is started.
11755 2014-06-16 Pedro Alves <palves@redhat.com>
11757 * gdb.base/break-main-file-remove-fail.c: New file.
11758 * gdb.base/break-main-file-remove-fail.exp: New file.
11759 * gdb.base/break-unload-file.exp: Use build_executable instead of
11760 prepare_for_testing.
11761 (test_break): New parameter "initial_load". Handle it.
11762 (top level): Add initial_load cmdline/file axis.
11764 2014-06-12 Tom Tromey <tromey@redhat.com>
11766 * gdb.base/completion.exp: Don't use directory name in test.
11768 2014-06-09 Gary Benson <gbenson@redhat.com>
11770 * gdb.base/sigall.c [Functions to send signals]: Reorder to
11771 separate the always-available ANSI-standard signals from the
11772 signals that require checking.
11774 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
11778 2014-06-07 Keith Seitz <keiths@redhat.com>
11782 * gdb.cp/var-tag.cc: New file.
11783 * gdb.cp/var-tag.exp: New file.
11784 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11785 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11786 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11787 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11789 2014-06-06 Doug Evans <xdje42@gmail.com>
11791 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
11793 2014-06-06 Pedro Alves <palves@redhat.com>
11795 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
11796 in target debug output instead of looking at RSP packets,
11797 disabling the test on any target that uses hardware stepping.
11800 2014-06-06 Pedro Alves <palves@redhat.com>
11802 * gdb.base/break-unload-file.exp: Fix typo.
11804 2014-06-06 Yao Qi <yao@codesourcery.com>
11806 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
11807 from "jit_function" to "^jit_function".
11809 2014-06-06 Yao Qi <yao@codesourcery.com>
11811 * gdb.base/async.c (foo): Add one statement.
11812 * gdb.base/async.exp: Get the next instruction address and
11813 match the output of "nexti" by instruction address. Match
11814 the hex address in the output of "finish".
11816 2014-06-06 Gary Benson <gbenson@redhat.com>
11818 * gdb.base/call-signals.c: Remove preprocessor conditionals
11819 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
11820 SIGSEGV and SIGTERM.
11821 * gdb.base/sigall.c: Likewise.
11822 * gdb.base/unwindonsignal.c: Likewise.
11823 * gdb.reverse/sigall-reverse.c: Likewise.
11825 2014-06-06 Yao Qi <yao@codesourcery.com>
11827 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
11828 readable, skip the test.
11830 2014-06-06 Yao Qi <yao@codesourcery.com>
11832 * gdb.threads/staticthreads.c (thread_function): Move the line
11833 setting breakpoint on forward.
11834 * gdb.threads/staticthreads.exp: Update comments.
11836 2014-06-05 Ludovic Courtès <ludo@gnu.org>
11838 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
11839 "history-append! type error".
11841 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
11843 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
11844 erroneous dprintf expected input.
11846 2014-06-04 Doug Evans <xdje42@gmail.com>
11848 * gdb.guile/scm-generics.exp: Delete.
11850 2014-06-04 Doug Evans <xdje42@gmail.com>
11852 * gdb.guile/scm-breakpoint.exp: Update.
11853 Add tests for breakpoint registration.
11855 2014-06-04 Tom Tromey <tromey@redhat.com>
11857 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
11859 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
11860 inner_vla_struct, vla_union types. Initialize objects of those
11861 types and compute their sizes.
11863 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
11864 Hui Zhu <hui@codesourcery.com>
11866 * gdb.base/fileio.exp: Add test for shell not available as well as
11868 * gdb.base/fileio.c (test_system): Check for shell twice.
11870 2014-06-04 Yao Qi <yao@codesourcery.com>
11872 * gdb.base/auto-connect-native-target.exp: Remove redundant
11873 space from the regexp pattern.
11875 2014-06-04 Yao Qi <yao@codesourcery.com>
11877 * gdb.base/default.exp: Replace "child" with "native" in
11880 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
11882 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
11883 * gdb.python/py-xmethods.exp: New tests to test xmethods.
11884 * gdb.python/py-xmethods.py: Python script supporting the
11885 new testcase and tests.
11887 2014-06-03 Joel Brobecker <brobecker@adacore.com>
11888 Pedro Alves <palves@redhat.com>
11890 PR breakpoints/17000
11891 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
11892 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
11894 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
11896 * gdb.base/subst.exp: Add tests to verify partial path matching
11899 2014-06-03 Pedro Alves <palves@redhat.com>
11901 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
11902 target that doesn't use software single-stepping.
11904 2014-06-03 Pedro Alves <palves@redhat.com>
11906 PR breakpoints/17000
11907 * gdb.base/sss-bp-on-user-bp-2.c: New file.
11908 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
11910 2014-06-02 Doug Evans <xdje42@gmail.com>
11912 * gdb.guile/scm-parameter.exp: New file.
11914 2014-06-02 Doug Evans <xdje42@gmail.com>
11916 * gdb.guile/scm-cmd.c: New file.
11917 * gdb.guile/scm-cmd.exp: New file.
11919 2014-06-02 Doug Evans <xdje42@gmail.com>
11921 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
11922 pretty-printer lookup.
11923 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
11924 (make-pp_s-printer): Call it.
11925 (make-pretty-printer-from-dict): New function.
11926 (lookup-pretty-printer-maker-from-dict): New function.
11927 (*pretty-printer*): Simplify.
11928 (make-objfile-pp_s-printer): New function.
11929 (install-objfile-pretty-printers!): New function.
11930 (make-progspace-pp_s-printer): New function.
11931 (install-progspace-pretty-printers!): New function.
11932 * gdb.guile/scm-progspace.c: New file.
11933 * gdb.guile/scm-progspace.exp: New file.
11935 2014-06-02 Pedro Alves <palves@redhat.com>
11937 * gdb.base/dprintf-bp-same-addr.c: New file.
11938 * gdb.base/dprintf-bp-same-addr.exp: New file.
11940 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11942 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
11943 * gdb.arch/powerpc-power.s: Likewise.
11945 2014-06-02 Joel Brobecker <brobecker@adacore.com>
11947 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
11949 2014-06-01 Yao Qi <yao@codesourcery.com>
11951 * gdb.base/watchpoint.exp (test_watch_location): Check null
11952 pointer can be dereferenced. If not, do the test, otherwise
11955 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
11957 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
11959 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
11961 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
11963 * gdb.arch/amd64-invalid-stack-middle.S: New file.
11964 * gdb.arch/amd64-invalid-stack-middle.c: New file.
11965 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
11966 * gdb.arch/amd64-invalid-stack-top.c: New file.
11967 * gdb.arch/amd64-invalid-stack-top.exp: New file.
11969 2014-05-30 Pedro Alves <palves@redhat.com>
11971 PR breakpoints/17000
11972 * gdb.base/sss-bp-on-user-bp.c: New file.
11973 * gdb.base/sss-bp-on-user-bp.exp: New file.
11975 2014-05-30 David Blaikie <dblaikie@gmail.com>
11977 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
11978 gnu_inline semantics via attribute.
11979 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
11980 source explicitly specifies the required semantics.
11982 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
11984 * gdb.reverse/sigall-reverse.exp: Fix a typo.
11986 2014-05-29 Pedro Alves <palves@redhat.com>
11987 Tom Tromey <tromey@redhat.com>
11989 * gdb.base/async-shell.exp: Don't enable target-async.
11990 * gdb.base/async.exp
11991 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
11993 (top level): Don't test with "target-async".
11994 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
11995 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
11996 * gdb.base/inferior-died.exp: Don't enable target-async.
11997 * gdb.base/interrupt-noterm.exp: Likewise.
11998 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
11999 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12000 * gdb.mi/mi-nonstop.exp: Likewise.
12001 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12002 * gdb.mi/mi-nsintrall.exp: Likewise.
12003 * gdb.mi/mi-nsmoribund.exp: Likewise.
12004 * gdb.mi/mi-nsthrexec.exp: Likewise.
12005 * gdb.mi/mi-watch-nonstop.exp: Likewise.
12006 * gdb.multi/watchpoint-multi.exp: Adjust comment.
12007 * gdb.python/py-evsignal.exp: Don't enable target-async.
12008 * gdb.python/py-evthreads.exp: Likewise.
12009 * gdb.python/py-prompt.exp: Likewise.
12010 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
12011 * gdb.server/solib-list.exp: Don't enable target-async.
12012 * gdb.threads/thread-specific-bp.exp: Likewise.
12013 * lib/mi-support.exp: Adjust to use mi-async.
12015 2014-05-29 Pedro Alves <palves@redhat.com>
12018 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
12019 reason, even in sync mode.
12021 2014-05-29 Pedro Alves <palves@redhat.com>
12022 Hui Zhu <hui@codesourcery.com>
12025 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
12026 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
12027 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
12028 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
12030 2014-05-28 Joel Brobecker <brobecker@adacore.com>
12032 * config/monitor.exp (gdb_target_monitor): Replace use of
12033 "set remotebaud" by "set serial baud".
12035 2014-05-26 Andy Wingo <wingo@igalia.com>
12037 * gdb.guile/scm-breakpoint.exp:
12038 * gdb.guile/scm-gsmob.exp: Update to use plain old object
12039 properties instead of gdb-object-properties.
12041 2014-05-26 Yao Qi <yao@codesourcery.com>
12043 * gdb.server/no-thread-db.exp: Specify source file name
12044 explicitly when setting a breakpoint.
12046 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12048 * gdb.btrace/vdso.c: New.
12049 * gdb.btrace/vdso.exp: New.
12051 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12053 * gdb.base/gcore.exp (capture_command_output): Move ...
12054 * lib/gdb.exp (capture_command_output): ... here.
12056 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12058 * gdb.btrace/data.exp: Test memory access during btrace replay.
12060 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
12062 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
12064 2014-05-21 Pedro Alves <palves@redhat.com>
12067 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
12068 (top level): Test that output related to execution commands is
12069 sent to the console with CLI commands, but not with MI commands.
12070 Test that breakpoint events are always mirrored to the console.
12071 Also expect the new source line to be output after a "next" in
12072 async mode too. Make it a pass/fail test.
12073 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
12075 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
12077 2014-05-21 Pedro Alves <palves@redhat.com>
12079 * gdb.base/list.exp (build_pattern, test_list): New procedures.
12080 Use them to test variations of "list" after reaching a breakpoint.
12081 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
12082 Test "list" with listsize 10 after reaching a breakpoint.
12083 * gdb.python/python.exp (decode_line current location line
12084 number): Adjust expected line number.
12086 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
12088 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
12089 behavior for $args, pass it directly to "run".
12091 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
12093 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
12096 2014-05-21 Pedro Alves <palves@redhat.com>
12098 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
12099 auto-connect-native-target off".
12100 * gdb.base/auto-connect-native-target.c: New file.
12101 * gdb.base/auto-connect-native-target.exp: New file.
12103 2014-05-21 Pedro Alves <palves@redhat.com>
12105 * gdb.base/default.exp: Test "target native" instead of "target
12108 2014-05-21 Mark Wielaard <mjw@redhat.com>
12110 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12112 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12114 Fix TLS access for -static -pthread.
12115 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
12116 <HAVE_TLS> (thread_function, main): Initialize it.
12117 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
12119 <$have_tls != "">: Check TLSVAR.
12121 2014-05-21 Pedro Alves <palves@redhat.com>
12123 * gdb.base/dcache-line-read-error.c: New.
12124 * gdb.base/dcache-line-read-error.exp: New.
12126 2014-05-20 Pedro Alves <palves@redhat.com>
12128 * gdb.base/compare-sections.c: New file.
12129 * gdb.base/compare-sections.exp: New file.
12131 2014-05-20 Pedro Alves <palves@redhat.com>
12133 * gdb.base/break-idempotent.c: New file.
12134 * gdb.base/break-idempotent.exp: New file.
12136 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
12138 * gdb.btrace/nohist.exp: New.
12140 2014-05-20 Yao Qi <yao@codesourcery.com>
12142 * lib/gdb.exp (gdb_init): Set timeout if test file is under
12143 gdb.reverse directory and gdb_reverse_timeout exists in board
12145 * README: Document gdb_reverse_timeout.
12147 2014-05-20 Yao Qi <yao@codesourcery.com>
12149 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
12150 'test_file_name'. Treat args as a string instead of a list.
12151 (gdb_init): Rename argument 'args' by 'test_file_name'.
12153 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12155 * gdb.arch/powerpc-power.exp: New file.
12156 * gdb.arch/powerpc-power.s: New file.
12158 2014-05-16 Doug Evans <dje@google.com>
12160 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
12161 * gdb.base/completion.exp: Check that all expected files exist
12162 before doing file completion.
12164 2014-05-16 Doug Evans <dje@google.com>
12166 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
12168 (do_syscall_tests_without_xml): Update.
12170 2014-05-16 Pedro Alves <palves@redhat.com>
12172 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
12173 instead of "unknown output after running".
12175 2014-05-16 Yao Qi <yao@codesourcery.com>
12177 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
12178 file1.txt from host at the end.
12179 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12181 2014-05-15 Doug Evans <dje@google.com>
12183 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
12184 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
12185 loading file. Add test for TU lookup.
12187 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12189 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
12190 calling "-exec-arguments" or "set args" before running the
12193 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12195 * lib/mi-support.exp (mi_expect_stop): Expect message for
12196 inferiors that exit with non-zero exit code.
12198 2014-05-14 Yao Qi <yao@codesourcery.com>
12200 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
12201 match absolute path on remote host.
12202 (test_file_list_exec_source_files): Remove "/" from the
12205 2014-05-14 Yao Qi <yao@codesourcery.com>
12207 * boards/local-remote-host-notty.exp (${board}_file): New
12210 2014-05-07 Kyle McMartin <kyle@redhat.com>
12212 Pushed by Joel Brobecker <brobecker@adacore.com>.
12213 * gdb.arch/aarch64-atomic-inst.c: New file.
12214 * gdb.arch/aarch64-atomic-inst.exp: New file.
12216 2014-05-07 Yao Qi <yao@codesourcery.com>
12218 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
12219 in current context" too.
12221 2014-05-05 Keith Seitz <keiths@redhat.com>
12223 * gdb.linespec/ls-dollar.exp: Add test for linespec
12224 file:convenience_variable.
12226 2014-05-05 Yao Qi <yao@codesourcery.com>
12228 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
12229 traceframes into tfile and ctf trace files. Read data from
12230 trace file and test collected data.
12231 (gdb_collect_locals_test): Likewise.
12232 (gdb_unavailable_registers_test): Likewise.
12233 (gdb_unavailable_floats): Likewise.
12234 (gdb_collect_globals_test): Likewise.
12235 (top-level): Append "ctf" to trace_file_targets if GDB
12238 2014-05-05 Yao Qi <yao@codesourcery.com>
12240 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
12242 (gdb_collect_args_test_1): ... it. New proc.
12243 (gdb_collect_locals_test): Move some code to ...
12244 (gdb_collect_locals_test_1): ... it. New proc.
12245 (gdb_unavailable_registers_test): Move some code to ...
12246 (gdb_unavailable_registers_test_1): ... it. New proc.
12247 (gdb_unavailable_floats): Move some code to ...
12248 (gdb_unavailable_floats_1): ... it. New proc.
12250 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12252 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
12253 probes to test for bitness recognition.
12254 * gdb.arch/amd64-stap-optional-prefix.exp
12255 (test_probe_value_without_reg): New procedure.
12256 Add code to test for different kinds of bitness.
12258 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12260 PR breakpoints/16889
12261 * gdb.arch/amd64-stap-optional-prefix.S: New file.
12262 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12264 2014-05-01 Pedro Alves <palves@redhat.com>
12266 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
12267 gdb_file_cmd if no file is specified.
12268 * boards/native-extended-gdbserver.exp (gdb_load): Use the
12269 last_loaded_file to set the remote exec-file.
12271 2014-05-01 Pedro Alves <palves@redhat.com>
12273 * boards/local-remote-host.exp: New file.
12275 2014-05-01 Pedro Alves <palves@redhat.com>
12277 * boards/local-remote-host.exp: Rename to ...
12278 * boards/local-remote-host-notty.exp: ... this.
12280 2014-04-28 Joel Brobecker <brobecker@adacore.com>
12282 * gdb.ada/dyn_arrayidx: New testcase.
12284 2014-04-26 Yao Qi <yao@codesourcery.com>
12286 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
12287 and compute the length of function main. Save it in
12289 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
12290 (top-level): Use gdb_compile to compile objects into
12291 executable and restart GDB. Remove invocation to
12292 prepare_for_testing.
12294 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
12295 Pedro Alves <palves@redhat.com>
12298 * gdb.multi/multi-attach.c: New file.
12299 * gdb.multi/multi-attach.exp: New file.
12301 2014-04-25 Pedro Alves <palves@redhat.com>
12303 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
12305 (top level): Test that "set remote conditional-breakpoints-packet
12306 off" works as intended.
12307 * gdb.base/dprintf.exp: Test that "set remote
12308 breakpoint-commands-packet off" works as intended.
12309 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
12311 (top level): Call it.
12312 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
12313 remote fast-tracepoints-packet off" works as intended.
12314 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
12315 * lib/gdb.exp (gdb_is_target_remote): ... here.
12317 2014-04-24 David Blaikie <dblaikie@gmail.com>
12319 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
12320 ensure clang would not discard them.
12321 * gdb.base/gdbvars.c: Ditto.
12322 * gdb.base/memattr.c: Ditto.
12323 * gdb.base/whatis.c: Ditto.
12324 * gdb.python/py-prettyprint.c: Ditto.
12325 * gdb.trace/actions.c: Ditto.
12326 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
12327 ensure clang would not discard it.
12329 2014-04-24 David Blaikie <dblaikie@gmail.com>
12331 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
12332 clang to emit the full definition of type required by the test
12333 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
12335 2014-04-24 David Blaikie <dblaikie@gmail.com>
12337 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
12338 coax Clang into emitting the definition of the type.
12339 * gdb.cp/pr10728-x.h (y): Ditto.
12340 * gdb.cp/pr10728-y.cc (y): Ditto.
12342 2014-04-24 David Blaikie <dblaikie@gmail.com>
12344 * gdb.base/label.exp: XFAIL label related tests under Clang.
12345 * gdb.cp/cplabel.exp: Ditto.
12346 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
12347 under Clang those using labels.
12349 2014-04-25 Yao Qi <yao@codesourcery.com>
12351 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
12353 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
12354 partial_label and double_label.
12356 2014-04-24 David Blaikie <dblaikie@gmail.com>
12358 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
12360 2014-04-24 David Blaikie <dblaikie@gmail.com>
12362 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
12363 of the function to work across GCC and Clang.
12364 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
12365 pointer types (const void ** const V void **).
12367 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
12368 Walfred Tedeschi <walfred.tedeschi@intel.com>
12370 * Makefile.in (EXECUTABLES): Added i386-avx512.
12371 * gdb.arch/i386-avx512.c: New file.
12372 * gdb.arch/i386-avx512.exp: Likewise.
12374 2014-04-23 Keith Seitz <keiths@redhat.com>
12376 * lib/mi-support.exp (mi_list_breakpoints): Delete.
12377 (mi_make_breakpoint_table): New procedure.
12378 (mi_create_breakpoint): Use mi_make_breakpoint
12379 and return the result.
12380 (mi_make_breakpoint): New procedure.
12381 (mi_build_kv_pairs): New procedure.
12383 * gdb.mi/mi-break.exp: Remove unused globals,
12384 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
12385 All callers updated.
12386 * gdb.mi/mi-dprintf.exp: Use variable to track command
12388 Update all callers of mi_create_breakpoint and use
12389 mi_make_breakpoint_table.
12390 Remove any unused global variables.
12391 * gdb.mi/mi-nonstop.exp: Likewise.
12392 * gdb.mi/mi-nsintrall.exp: Likewise.
12393 * gdb.mi/mi-nsmoribund.exp: Likewise.
12394 * gdb.mi/mi-nsthrexec.exp: Likewise.
12395 * gdb.mi/mi-reverse.exp: Likewise.
12396 * gdb.mi/mi-simplerun.exp: Likewise.
12397 * gdb.mi/mi-stepn.exp: Likewise.
12398 * gdb.mi/mi-syn-frame.exp: Likewise.
12399 * gdb.mi/mi-until.exp: Likewise.
12400 * gdb.mi/mi-var-cp.exp: Likewise.
12401 * gdb.mi/mi-var-display.exp: Likewise.
12402 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12403 * gdb.mi/mi2-var-child.exp: Likewise.
12404 * gdb.mi/mi-vla-c99.exp: Likewise.
12405 * lib/mi-support.exp: Likewise.
12407 From Ian Lance Taylor <iant@cygnus.com>:
12408 * lib/gdb.exp (parse_args): New procedure.
12410 2014-04-23 Pedro Alves <palves@redhat.com>
12412 * gdb.base/break-unload-file.c: New file.
12413 * gdb.base/break-unload-file.exp: New file.
12414 * gdb.base/sym-file-lib.c (baz): New function.
12415 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
12417 (load): Store the segment's mapped size.
12418 (unload): New function.
12419 (unload_shlib): New function.
12420 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
12421 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
12422 set a breakpoint at baz, and call it.
12423 * gdb.base/sym-file.exp: New tests for stale breakpoint
12426 2014-04-23 Pedro Alves <palves@redhat.com>
12428 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
12429 * gdb.base/hbreak-in-shr-unsupported.c: New file.
12430 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
12431 * gdb.base/hbreak-unmapped.c: New file.
12432 * gdb.base/hbreak-unmapped.exp: New file.
12433 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
12434 * lib/gdb.exp (gdb_is_target_remote): ... here.
12436 2014-04-22 Pedro Alves <palves@redhat.com>
12438 * gdb.base/consecutive-step-over.c: New file.
12439 * gdb.base/consecutive-step-over.exp: New file.
12441 2014-04-22 Pedro Alves <palves@redhat.com>
12443 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12444 instead of send_gdb/gdb_expect.
12446 2014-04-22 Yao Qi <yao@codesourcery.com>
12448 * lib/trace-support.exp (generate_tracefile): New procedure.
12449 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12451 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12452 if generate_tracefile returns 1.
12454 2014-04-18 Tom Tromey <palves@redhat.com>
12455 Pedro alves <tromey@redhat.com>
12458 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12459 with a backtrace limit.
12460 * gdb.python/py-frame-inline.exp: Test running to an inline
12461 function with a backtrace limit, and printing the newest frame.
12462 * gdb.python/py-frame-inline.c (main): Call f.
12464 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12466 * gdb.java/jnpe.exp: Drop srcdir from untested path.
12468 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12470 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12471 Drop prefix from unsupported source file path.
12473 2014-04-17 Yao Qi <yao@codesourcery.com>
12475 * lib/gdb.exp (with_target_charset): New proc.
12476 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12477 with_target_charset.
12478 (test_print_strings): Likewise.
12479 (test_repeat_bytes): Likewise.
12480 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12483 2014-04-16 Keith Seitz <keiths@redhat.com>
12486 * gdb.dwarf2/corrupt.c: New file.
12487 * gdb.dwarf2/corrupt.exp: New file.
12489 2014-04-16 Keith Seitz <keiths@redhat.com>
12492 * gdb.cp/namelessclass.cc: New file.
12493 * gdb.cp/namelessclass.exp: New file.
12494 * gdb.cp/namelessclass.S: New file.
12496 2014-04-16 Doug Evans <dje@google.com>
12498 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12500 (gdbserver_default_get_comm_port): New function.
12501 (gdbserver_start): Check if board file provided
12502 "gdbserver,get_comm_port" and use it if so.
12503 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12504 (gdb,socketport): Set to "stdio".
12505 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12506 (stdio_gdbserver_template): Delete.
12507 (${board}_get_remote_address): Update.
12508 (${board}_build_remote_cmd): Delete.
12509 (${board}_get_comm_port): New function.
12510 (${board}_spawn): Update.
12511 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12513 (${board}_get_remote_address): Update.
12514 (${board}_get_comm_port): New function.
12516 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
12518 * gdb.base/memattr.exp: Improve regexps to handle memory regions
12519 appearing in any order.
12521 2014-04-15 Doug Evans <dje@google.com>
12523 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12524 uninitialized value of "description".
12526 2014-04-15 Keith Seitz <keiths@redhat.com>
12528 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12529 Remove unused globals.
12530 (test_running_the_program): Likewise.
12531 (test_controlled_execution): Likewise.
12532 (test_controlling_breakpoints): Likewise.
12533 (test_program_termination): Likewise.
12535 2014-04-15 Keith Seitz <keiths@redhat.com>
12537 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12539 (test_rbreak_creation_and_listing): Likewise.
12540 (test_ignore_count): Likewise.
12541 (test_error): Likewise.
12543 2014-04-15 Pedro Alves <palves@redhat.com>
12545 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
12546 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
12548 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12549 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12550 to sym-file-loader.c.
12551 (struct library): Forward declare.
12552 (load_shlib, lookup_function): Change prototypes.
12553 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12554 (translate_offset): Remove declarations.
12555 (get_text_addr): New declaration.
12556 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
12557 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
12559 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12560 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12561 here from sym-file-loader.h.
12562 (struct library): New structure.
12563 (load_shlib, lookup_function): Change prototypes and adjust to
12564 work with a struct library.
12565 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12566 (translate_offset): Make static.
12567 (get_text_addr): New function.
12568 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
12570 2014-04-15 Pedro Alves <palves@redhat.com>
12572 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
12574 2014-04-15 Pedro Alves <palves@redhat.com>
12576 * gdb.base/sym-file-loader.c: Include <limits.h>.
12577 (SELF_LINK): New define.
12578 (get_origin): New function.
12579 (load_shlib): Use it.
12580 * gdb.base/sym-file.exp: Don't early return if the target is
12581 remote. Use runto_main, and issue fail is that fails. Use
12583 (shlib_name): Delete.
12584 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
12586 2014-04-15 Pedro Alves <palves@redhat.com>
12588 * gdb.base/sym-file.exp: Remove regex characters from test
12589 message. Don't refer to breakpoint numbers in test messages.
12591 2014-04-14 Keith Seitz <keiths@redhat.com>
12594 * gdb.cp/var-tag.cc: New file.
12595 * gdb.cp/var-tag.exp: New file.
12596 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12597 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12598 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12599 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12601 2014-04-14 Tom Tromey <tromey@redhat.com>
12603 * gdb.cp/classes.exp (test_enums): Handle underlying type.
12604 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
12606 * gdb.cp/enum-class.exp: New file.
12607 * gdb.cp/enum-class.cc: New file.
12609 2014-04-14 Tom Tromey <tromey@redhat.com>
12611 * gdb.dwarf2/enum-type.exp: New file.
12613 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12615 * gdb.mi/mi-vla-c99.exp: New file.
12616 * gdb.mi/vla.c: New file.
12618 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12620 * gdb.base/vla-datatypes.c: New file.
12621 * gdb.base/vla-datatypes.exp: New file.
12623 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12625 * gdb.base/vla-ptr.c: New file.
12626 * gdb.base/vla-ptr.exp: New file.
12628 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12630 * gdb.dwarf2/count.exp: New file.
12632 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12634 * gdb.base/vla-sideeffect.c: New file.
12635 * gdb.base/vla-sideeffect.exp: New file.
12637 2014-04-14 David Blaikie <dblaikie@gmail.com>
12639 * gdb.mi/non-stop.c: Add return value for non-void function return
12641 * gdb.threads/staticthreads.c: Ditto.
12643 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
12644 Doug Evans <xdje42@gmail.com>
12646 * gdb.guile/scm-value.c: Improve test case.
12647 * gdb.guile/scm-value.exp: Add new test.
12649 2014-04-11 David Blaikie <dblaikie@gmail.com>
12651 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
12652 override Clang's default.
12654 2014-04-11 Joel Brobecker <brobecker@adacore.com>
12656 Revert the following changes (regressions):
12658 * gdb.base/vla-sideeffect.c: New file.
12659 * gdb.base/vla-sideeffect.exp: New file.
12661 * gdb.dwarf2/count.exp: New file.
12663 * gdb.base/vla-multi.c: New file.
12664 * gdb.base/vla-multi.exp: New file.
12666 * gdb.base/vla-ptr.c: New file.
12667 * gdb.base/vla-ptr.exp: New file.
12669 * gdb.base/vla-datatypes.c: New file.
12670 * gdb.base/vla-datatypes.exp: New file.
12672 * gdb.mi/mi-vla-c99.exp: New file.
12673 * gdb.mi/vla.c: New file.
12675 2014-04-11 Keith Seitz <keiths@redhat.com>
12678 * gdb.cp/cpsizeof.exp: New file.
12679 * gdb.cp/cpsizeof.cc: New file.
12681 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12683 * gdb.mi/mi-vla-c99.exp: New file.
12684 * gdb.mi/vla.c: New file.
12686 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12688 * gdb.base/vla-datatypes.c: New file.
12689 * gdb.base/vla-datatypes.exp: New file.
12691 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12693 * gdb.base/vla-ptr.c: New file.
12694 * gdb.base/vla-ptr.exp: New file.
12696 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12698 * gdb.base/vla-multi.c: New file.
12699 * gdb.base/vla-multi.exp: New file.
12701 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12703 * gdb.dwarf2/count.exp: New file.
12705 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12707 * gdb.base/vla-sideeffect.c: New file.
12708 * gdb.base/vla-sideeffect.exp: New file.
12710 2014-04-11 Yao Qi <yao@codesourcery.com>
12712 * gdb.base/completion.exp: Check file exists before running tests
12713 on file completion.
12715 2014-04-10 Pedro Alves <palves@redhat.com>
12717 * gdb.base/cond-eval-mode.c: New file.
12718 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
12719 prepare_for_testing to build the new file. Check result of
12721 (test_break, test_watch): New procedures.
12722 (top level): Use them.
12724 2014-04-08 Pierre Muller <muller@sourceware.org>
12726 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
12727 Ctrl-V use for mingw hosts.
12729 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
12731 * gdb.python/py-value.c: Improve test case.
12732 * gdb.python/py-value.exp: Add new test.
12734 2014-04-07 David Blaikie <dblaikie@gmail.com>
12736 * lib/compiler.c: Identify the clang compiler.
12737 * lib/compiler.cc: Ditto.
12739 2014-04-03 Yao Qi <yao@codesourcery.com>
12741 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
12743 2014-04-01 Anton Blanchard <anton@samba.org>
12745 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
12748 2014-04-01 Anton Blanchard <anton@samba.org>
12750 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
12751 prepare_for_testing.
12753 2014-04-01 Anton Blanchard <anton@samba.org>
12755 * gdb.arch/ppc64-atomic-inst.c: Remove.
12756 * gdb.arch/ppc64-atomic-inst.S: New file.
12757 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
12759 2014-03-31 Doug Evans <dje@google.com>
12761 * gdb.base/print-symbol-loading-lib.c: New file.
12762 * gdb.base/print-symbol-loading-main.c: New file.
12763 * gdb.base/print-symbol-loading.exp: New file.
12765 2014-03-31 Yao Qi <yao@codesourcery.com>
12767 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
12769 2014-03-28 Joel Brobecker <brobecker@adacore.com>
12771 * gdb.ada/mi_dyn_arr: New testcase.
12773 2014-03-27 Doug Evans <dje@google.com>
12775 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
12777 2014-03-27 Yao Qi <yao@codesourcery.com>
12779 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
12780 if target is nios2-*-*.
12782 2014-03-26 Yao Qi <yao@codesourcery.com>
12784 * lib/gdb.exp (readline_is_used): New proc.
12785 * gdb.base/completion.exp: Move tests on command complete up.
12786 Skip the rest of tests if readline is not used.
12787 * gdb.ada/complete.exp: Skp the test if readline is not
12789 * gdb.base/filesym.exp: Likewise.
12790 * gdb.base/macscp.exp: Likewise.
12791 * gdb.base/readline-ask.exp: Likewise.
12792 * gdb.base/readline.exp: Likewise.
12793 * gdb.python/py-cmd.exp: Likewise.
12794 * gdb.trace/tfile.exp: Likewise.
12796 2014-03-26 Yao Qi <yao@codesourcery.com>
12798 * gdb.base/macscp.exp: Fix code format issues.
12800 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
12802 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
12803 * gdb.asm/powerpc64le.inc: New file.
12805 2014-03-25 Pedro Alves <palves@redhat.com>
12806 Doug Evans <dje@google.com>
12808 * gdb.base/source-execution.c: New file.
12809 * gdb.base/source-execution.exp: New file.
12810 * gdb.base/source-execution.gdb: New file.
12812 2014-03-24 Doug Evans <dje@google.com>
12814 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
12817 2014-03-24 Hui Zhu <hui@codesourcery.com>
12818 Pedro Alves <palves@redhat.com>
12820 PR breakpoints/16101
12821 * gdb.base/dprintf.exp: Use unsupported rather than changing the
12822 test pass/fail messages. Detect missing support for dprintf when
12823 breakpoints are actually inserted.
12824 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
12825 breakpoints are actually inserted.
12826 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
12829 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12831 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
12833 2014-03-22 Doug Evans <xdje42@gmail.com>
12835 * gdb.python/python.exp (python not supported): Verify multi-line
12836 python command issues an error.
12837 * gdb.guile/guile.exp (guile not supported): Verify multi-line
12838 guile command issues an error.
12840 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
12842 * gdb.threads/thread-specific.exp: Handle the lack of usable
12843 $this_breakpoint and $this_thread.
12845 2014-03-21 Hui Zhu <hui@codesourcery.com>
12847 * gdb.base/attach.exp (do_command_attach_tests): New.
12849 2014-03-20 Tom Tromey <tromey@redhat.com>
12850 Pedro Alves <palves@redhat.com>
12853 * gdb.base/condbreak-call-false.c: New file.
12854 * gdb.base/condbreak-call-false.exp: New file.
12856 2014-03-20 Pedro Alves <palves@redhat.com>
12858 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
12860 (block_signals, unblock_signals): Delete.
12861 (child_function_2, main): Remove references to deleted variable
12864 2014-03-20 Pedro Alves <palves@redhat.com>
12866 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
12867 Use pthread_kill to signal thread 2.
12868 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12869 Adjust to make the test send itself a signal rather than using the
12870 host's "kill" command.
12872 2014-03-20 Pedro Alves <palves@redhat.com>
12874 * gdb.threads/multiple-step-overs.c: New file.
12875 * gdb.threads/multiple-step-overs.exp: New file.
12876 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12877 Adjust expected infrun debug output.
12879 2014-03-20 Pedro Alves <palves@redhat.com>
12881 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
12882 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
12884 2014-03-20 Pedro Alves <palves@redhat.com>
12886 PR breakpoints/7143
12887 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
12888 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
12889 of gdb_test_multiple.
12890 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
12891 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
12893 2014-03-20 Pedro Alves <palves@redhat.com>
12895 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
12896 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
12898 2014-03-19 Pedro Alves <palves@redhat.com>
12900 * gdb.base/async.exp: Remove early return.
12902 2014-03-19 Pedro Alves <palves@redhat.com>
12904 * gdb.base/async.exp (step& tests): Pass explicit test messages.
12906 2014-03-19 Pedro Alves <palves@redhat.com>
12908 * gdb.base/async.exp (test_background): Expect \r\n after
12909 "completed." in the fail pattern.
12911 2014-03-19 Pedro Alves <palves@redhat.com>
12913 * gdb.base/async.exp (test_background): New procedure.
12914 Use it for all background execution command tests.
12916 2014-03-19 Pedro Alves <palves@redhat.com>
12918 * gdb.base/async.exp: Use prepare_for_testing.
12920 2014-03-19 Pedro Alves <palves@redhat.com>
12922 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
12925 2014-03-19 Pedro Alves <palves@redhat.com>
12927 * gdb.base/async.c (main): Add "jump here" and "until here" line
12929 * gdb.base/async.exp (jump_here): New global.
12930 (jump& test): Use it.
12931 (until_here): New global.
12932 (until& test): Use it.
12934 2014-03-19 Pedro Alves <palves@redhat.com>
12936 * gdb.base/async.exp: Don't frob gdb_protocol.
12938 2014-03-18 Doug Evans <xdje42@gmail.com>
12940 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
12941 Fix spelling of exec-done-display.
12943 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
12946 * gdb.base/gdb-sigterm.c: New file.
12947 * gdb.base/gdb-sigterm.exp: New file.
12949 2014-03-18 Pedro Alves <palves@redhat.com>
12952 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
12953 * lib/mi-support.exp (mi_expect_stop): Add special handling for
12956 2014-03-17 Joel Brobecker <brobecker@adacore.com>
12958 * gdb.ada/pckd_arr_ren: New testcase.
12960 2014-03-13 Doug Evans <xdje42@gmail.com>
12963 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
12964 collect after discarding symbols.
12966 2014-03-13 Ludovic Courtès <ludo@gnu.org>
12967 Doug Evans <xdje42@gmail.com>
12969 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
12970 to history survives a gc.
12972 2014-03-13 Pedro Alves <palves@redhat.com>
12974 * gdb.base/default.exp: Don't test "target procfs".
12976 2014-03-13 Pedro Alves <palves@redhat.com>
12978 * gdb.base/default.exp: Update "target child" and "target procfs"
12979 tests to not expect "Unix".
12981 2014-03-12 Tom Tromey <tromey@redhat.com>
12983 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
12984 New procs. Add target-async tests.
12985 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
12986 Add target-async tests.
12988 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12990 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
12991 'func_start' and 'func_end' for the beginning and end of the
12992 function code, respectively.
12993 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
12994 'func_end' instead of 'func' and 'main'.
12996 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12998 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
12999 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
13000 generate the debug info assembler source.
13002 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13004 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
13005 * gdb.dwarf2/arr-subrange.exp: Likewise.
13006 * gdb.dwarf2/dwz.exp: Likewise.
13007 * gdb.dwarf2/method-ptr.exp: Likewise.
13008 * gdb.dwarf2/missing-sig-type.exp: Likewise.
13009 * gdb.dwarf2/subrange.exp: Likewise.
13010 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
13011 * gdb.dwarf2/implptrpiece.exp: Likewise.
13012 * gdb.dwarf2/nostaticblock.exp: Likewise.
13014 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13016 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
13017 directory to absolute path name arguments.
13019 2014-03-10 Joel Brobecker <brobecker@adacore.com>
13021 * gdb.ada/tagged_access: New testcase.
13023 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
13025 * gdb.btrace/data.exp: Update expected output.
13027 2014-03-06 Yao Qi <yao@codesourcery.com>
13029 * gdb.trace/pr16508.exp: New file.
13031 2014-03-05 Pedro Alves <palves@redhat.com>
13034 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
13036 (top level): Adjust to use it. Add tests that exercise breakpoint
13037 interaction with the code-cache.
13039 2014-02-26 Ludovic Courtès <ludo@gnu.org>
13041 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
13042 test for 'history-append!'.
13044 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13046 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
13047 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
13048 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
13049 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
13050 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
13051 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
13053 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13055 * testsuite/gdb.python/py-pp-re-notag.c: New file.
13056 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
13057 * testsuite/gdb.python/py-pp-re-notag.p: New file.
13059 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13061 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
13063 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13065 * gdb.dwarf2/arr-stride.c: New file.
13066 * gdb.dwarf2/arr-stride.exp: New file.
13068 2014-02-26 Pedro Alves <palves@redhat.com>
13070 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
13071 that won't ever trigger. Make sure that GDB reports the correct
13072 breakpoint that caused the stop.
13074 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13077 * gdb.base/auto-load-script: New file.
13078 * gdb.base/auto-load.c: New file.
13079 * gdb.base/auto-load.exp: New file.
13082 * gdb.base/auto-load.exp: Fix out-of-srctree run.
13084 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13086 Fix dw2-icycle.exp -fsanitize=address GDB crash.
13087 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
13089 2014-02-24 Doug Evans <dje@google.com>
13091 * lib/gdb.exp (run_on_host): Log error output if program fails.
13093 2014-02-21 Pedro Alves <palves@redhat.com>
13095 * gdb.threads/step-after-sr-lock.c: Rename to ...
13096 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
13097 * gdb.threads/step-after-sr-lock.exp: Rename to ...
13098 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13101 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
13104 * gdb.arch/amd64-stap-special-operands.exp: New file.
13105 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
13106 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
13107 * gdb.arch/amd64-stap-triplet.S: Likewise.
13108 * gdb.arch/amd64-stap-triplet.c: Likewise.
13110 2014-02-20 Joel Brobecker <brobecker@adacore.com>
13112 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
13113 in .section pseudo-op.
13115 2014-02-20 lin zuojian <manjian2006@gmail.com>
13116 Joel Brobecker <brobecker@adacore.com>
13117 Doug Evans <xdje42@gmail.com>
13120 * gdb.dwarf2/dw2-icycle.S: New file.
13121 * gdb.dwarf2/dw2-icycle.c: New file.
13122 * gdb.dwarf2/dw2-icycle.exp: New file.
13124 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
13126 * gdb.python/py-value-cc.cc: Improve test case to enable testing
13127 operations on gdb.Value objects.
13128 * gdb.python/py-value-cc.exp: Add new test to test operations on
13131 2014-02-18 Doug Evans <dje@google.com>
13133 * Makefile.in (TESTS): New variable.
13134 (expanded_tests, expanded_tests_or_none): New variables
13135 (check-single): Pass $(expanded_tests_or_none) to runtest.
13136 (check-parallel): Only run tests in $(TESTS) if non-empty.
13137 (check/no-matching-tests-found): New rule.
13138 * README: Document TESTS makefile variable.
13140 2014-02-18 Doug Evans <dje@google.com>
13142 * Makefile.in (check-parallel): rm -rf outputs temp.
13144 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13146 Fix "ERROR: no fileid for" in the testsuite.
13147 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
13149 2014-02-12 Doug Evans <dje@google.com>
13151 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
13152 (MISCELLANEOUS): New variable.
13153 (clean): rm -rf $(MISCELLANEOUS).
13154 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
13155 dwp live in the same directory as symlinks, with each symlink pointed
13156 to a differently named file in a different directory.
13158 2014-02-11 Doug Evans <dje@google.com>
13160 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
13161 of Tcl file commands.
13163 2014-02-10 Mark Kettenis <kettenis@gnu.org>
13165 * gdb.threads/step-after-sr-lock.exp: Avoid executing
13166 "kill -SIGUSR1 -1".
13168 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13170 * gdb.ada/tick_length_array_enum_idx: New testcase.
13172 2014-02-10 Doug Evans <xdje42@gmail.com>
13174 * configure.ac (AC_OUTPUT): Add gdb.guile.
13175 * configure: Regenerate.
13176 * lib/gdb-guile.exp: New file.
13177 * lib/gdb.exp (get_target_charset): New function.
13178 * gdb.base/help.exp: Update expected output from "apropos apropos".
13179 * gdb.guile/Makefile.in: New file.
13180 * gdb.guile/guile.exp: New file.
13181 * gdb.guile/scm-arch.c: New file.
13182 * gdb.guile/scm-arch.exp: New file.
13183 * gdb.guile/scm-block.c: New file.
13184 * gdb.guile/scm-block.exp: New file.
13185 * gdb.guile/scm-breakpoint.c: New file.
13186 * gdb.guile/scm-breakpoint.exp: New file.
13187 * gdb.guile/scm-disasm.c: New file.
13188 * gdb.guile/scm-disasm.exp: New file.
13189 * gdb.guile/scm-equal.c: New file.
13190 * gdb.guile/scm-equal.exp: New file.
13191 * gdb.guile/scm-error.exp: New file.
13192 * gdb.guile/scm-error.scm: New file.
13193 * gdb.guile/scm-frame-args.c: New file.
13194 * gdb.guile/scm-frame-args.exp: New file.
13195 * gdb.guile/scm-frame-args.scm: New file.
13196 * gdb.guile/scm-frame-inline.c: New file.
13197 * gdb.guile/scm-frame-inline.exp: New file.
13198 * gdb.guile/scm-frame.c: New file.
13199 * gdb.guile/scm-frame.exp: New file.
13200 * gdb.guile/scm-generics.exp: New file.
13201 * gdb.guile/scm-gsmob.exp: New file.
13202 * gdb.guile/scm-iterator.c: New file.
13203 * gdb.guile/scm-iterator.exp: New file.
13204 * gdb.guile/scm-math.c: New file.
13205 * gdb.guile/scm-math.exp: New file.
13206 * gdb.guile/scm-objfile-script-gdb.in: New file.
13207 * gdb.guile/scm-objfile-script.c: New file.
13208 * gdb.guile/scm-objfile-script.exp: New file.
13209 * gdb.guile/scm-objfile.c: New file.
13210 * gdb.guile/scm-objfile.exp: New file.
13211 * gdb.guile/scm-ports.exp: New file.
13212 * gdb.guile/scm-pretty-print.c: New file.
13213 * gdb.guile/scm-pretty-print.exp: New file.
13214 * gdb.guile/scm-pretty-print.scm: New file.
13215 * gdb.guile/scm-section-script.c: New file.
13216 * gdb.guile/scm-section-script.exp: New file.
13217 * gdb.guile/scm-section-script.scm: New file.
13218 * gdb.guile/scm-symbol.c: New file.
13219 * gdb.guile/scm-symbol.exp: New file.
13220 * gdb.guile/scm-symtab-2.c: New file.
13221 * gdb.guile/scm-symtab.c: New file.
13222 * gdb.guile/scm-symtab.exp: New file.
13223 * gdb.guile/scm-type.c: New file.
13224 * gdb.guile/scm-type.exp: New file.
13225 * gdb.guile/scm-value-cc.cc: New file.
13226 * gdb.guile/scm-value-cc.exp: New file.
13227 * gdb.guile/scm-value.c: New file.
13228 * gdb.guile/scm-value.exp: New file.
13229 * gdb.guile/source2.scm: New file.
13230 * gdb.guile/types-module.cc: New file.
13231 * gdb.guile/types-module.exp: New file.
13233 2014-02-10 Yao Qi <yao@codesourcery.com>
13236 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
13237 * configure: Regenerated.
13238 * Makefile.in: New file.
13240 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13242 * gdb.python/py-framefilter.exp: Fix typo.
13244 2014-02-08 Yao Qi <yao@codesourcery.com>
13246 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
13247 that no =breakpoint-modified is emitted when breakpoints are
13248 modified through MI commands.
13250 2014-02-07 Pedro Alves <pedro@codesourcery.com>
13251 Pedro Alves <palves@redhat.com>
13253 * gdb.threads/step-after-sr-lock.c: New file.
13254 * gdb.threads/step-after-sr-lock.exp: New file.
13256 2014-02-07 Pedro Alves <palves@redhat.com>
13258 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
13260 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13262 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
13263 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
13265 2014-02-06 Doug Evans <xdje42@gmail.com>
13267 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
13270 * gdb.gdb/python-interrupts.exp: New file.
13272 2014-02-05 Yao Qi <yao@codesourcery.com>
13274 * gdb.trace/report.exp (use_collected_data): Test the output
13275 of "info threads" and "info inferiors".
13277 2014-02-05 Yao Qi <yao@codesourcery.com>
13281 2013-05-24 Yao Qi <yao@codesourcery.com>
13283 * gdb.trace/tfile.exp: Test inferior and thread.
13285 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13287 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
13289 * gdb.base/step-bt.c: Call hello via function pointer to make
13290 sure its first instruction is executed on powerpc64le-linux.
13292 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13294 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
13296 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13298 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
13299 of the test patterns for use on little-endian systems.
13301 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13303 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
13304 (decimal_vector): Fix for little-endian.
13306 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13308 * gdb.arch/sparc-sysstep.exp: New file.
13309 * gdb.arch/sparc-sysstep.c: Likewise.
13311 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
13313 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13315 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
13317 2014-01-23 Tom Tromey <tromey@redhat.com>
13319 * gdb.ada/array_char_idx: New testcase.
13321 2014-01-23 Tom Tromey <tromey@redhat.com>
13324 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
13325 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
13328 2014-01-23 Tom Tromey <tromey@redhat.com>
13331 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
13332 string from an inferior frame.
13333 * gdb.python/py-framefilter-mi.exp: Update.
13335 2014-01-22 Doug Evans <dje@google.com>
13337 * gdb.server/server-mon.exp: Add tests for "set debug-format".
13339 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13341 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
13343 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13345 * gdb.trace/entry-values.exp: Remove excess space character from
13346 regex patterns. Handle s390 call instruction.
13348 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13350 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
13351 define "*_start" label. Make "name" static.
13352 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
13353 ${name} by references to ${name}_start.
13355 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13357 * gdb.base/info-macros.exp: Remove "debug" from the compile
13360 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13362 * gdb.dlang/demangle.exp: New file.
13364 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13366 * gdb.dlang/primitive-types.exp: New file.
13368 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13370 * configure.ac: Create gdb.dlang/Makefile.
13371 * configure: Regenerate.
13372 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
13373 * gdb.dlang/Makefile.in: New file.
13374 * lib/d-support.exp: New file.
13375 * lib/gdb.exp (skip_d_tests): New proc.
13377 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13379 * gdb.btrace/delta.exp: Check reverse stepi.
13380 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
13381 * gdb.btrace/finish.exp: New.
13382 * gdb.btrace/next.exp: New.
13383 * gdb.btrace/nexti.exp: New.
13384 * gdb.btrace/record_goto.c: Add comments.
13385 * gdb.btrace/step.exp: New.
13386 * gdb.btrace/stepi.exp: New.
13387 * gdb.btrace/multi-thread-step.c: New.
13388 * gdb.btrace/multi-thread-step.exp: New.
13389 * gdb.btrace/rn-dl-bind.c: New.
13390 * gdb.btrace/rn-dl-bind.exp: New.
13391 * gdb.btrace/data.c: New.
13392 * gdb.btrace/data.exp: New.
13393 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13395 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13397 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13398 * gdb.btrace/exception.exp: Update.
13399 * gdb.btrace/instruction_history.exp: Update.
13400 * gdb.btrace/record_goto.exp: Update.
13401 * gdb.btrace/tailcall.exp: Update.
13402 * gdb.btrace/unknown_functions.exp: Update.
13403 * gdb.btrace/delta.exp: New.
13405 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13407 * gdb.btrace/record_goto.exp: Add backtrace test.
13408 * gdb.btrace/tailcall.exp: Add backtrace test.
13410 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13412 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
13413 * gdb.btrace/record_goto.c: New.
13414 * gdb.btrace/record_goto.exp: New.
13415 * gdb.btrace/x86-record_goto.S: New.
13417 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13419 * gdb.btrace/function_call_history.exp: Update tests.
13420 * gdb.btrace/instruction_history.exp: Update tests.
13422 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13424 * gdb.btrace/function_call_history.exp: Fix expected field
13425 order for "record function-call-history".
13426 Add new tests for "record function-call-history /c".
13427 * gdb.btrace/exception.cc: New.
13428 * gdb.btrace/exception.exp: New.
13429 * gdb.btrace/tailcall.exp: New.
13430 * gdb.btrace/x86-tailcall.S: New.
13431 * gdb.btrace/x86-tailcall.c: New.
13432 * gdb.btrace/unknown_functions.c: New.
13433 * gdb.btrace/unknown_functions.exp: New.
13434 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13436 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13438 * gdb.btrace/instruction_history.exp: Update.
13439 * gdb.btrace/function_call_history.exp: Update.
13441 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13443 * gdb.btrace/function_call_history.exp: Fix expected function
13445 * gdb.btrace/instruction_history.exp: Initialize traced.
13446 Remove traced_functions.
13448 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13450 * gdb.btrace/function_call_history.exp: Update
13451 * gdb.btrace/instruction_history.exp: Update.
13453 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13455 * gdb.btrace/enable.exp: Update expected text.
13457 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
13459 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13462 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
13464 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13466 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
13468 * lib/gdb.exp (supports_process_record): Return true for
13469 arm*-linux*. (supports_reverse): Likewise.
13471 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13475 * gdb.python/py-type.c: Enhance test case.
13476 * gdb.python/py-value-cc.cc: Likewise
13477 * gdb.python/py-type.exp: Add new tests.
13478 * gdb.python/py-value-cc.exp: Likewise
13480 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13481 Pedro Alves <palves@redhat.com>
13483 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13484 Make "name" extern.
13485 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13486 references to ${name}_start by references to ${name}.
13488 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13490 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13492 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13494 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13496 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
13497 Pedro Alves <palves@redhat.com>
13499 * gdb.mi/mi-info-os.exp: Connect to the target with
13500 mi_gdb_target_load.
13502 2014-01-08 Pedro Alves <palves@redhat.com>
13504 * gdb.threads/reconnect-signal.c: New file.
13505 * gdb.threads/reconnect-signal.exp: New file.
13507 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13509 * gdb.base/source-dir.exp: New file.
13511 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13513 * gdb.ada/mi_interface: New testcase.
13515 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13517 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13518 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13519 gdb.ada/pp-rec-component/pck.ads: New files.
13521 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13523 * gdb.python/py-pp-integral.c: New file.
13524 * gdb.python/py-pp-integral.py: New file.
13525 * gdb.python/py-pp-integral.exp: New file.
13527 For older changes see ChangeLog-1993-2013.
13529 ;; Local Variables:
13530 ;; mode: change-log
13533 ;; version-control: never
13536 Copyright 2014-2018 Free Software Foundation, Inc.
13537 Copying and distribution of this file, with or without modification,
13538 are permitted provided the copyright notice and this notice are preserved.