1 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3 * gdb.ada/exec_changed.exp: Replace "target_info exists
4 use_gdb_stub" by "use_gdb_stub".
5 * gdb.ada/start.exp: Likewise.
6 * gdb.base/async-shell.exp: Likewise.
7 * gdb.base/attach-pie-misread.exp: Likewise.
8 * gdb.base/attach-wait-input.exp: Likewise.
9 * gdb.base/break-entry.exp: Likewise.
10 * gdb.base/break-interp.exp: Likewise.
11 * gdb.base/dprintf-detach.exp: Likewise.
12 * gdb.base/nostdlib.exp: Likewise.
13 * gdb.base/solib-nodir.exp: Likewise.
14 * gdb.base/statistics.exp: Likewise.
15 * gdb.base/testenv.exp: Likewise.
16 * gdb.mi/mi-exec-run.exp: Likewise.
17 * gdb.mi/mi-start.exp: Likewise.
18 * gdb.multi/dummy-frame-restore.exp: Likewise.
19 * gdb.multi/multi-arch-exec.exp: Likewise.
20 * gdb.multi/multi-arch.exp: Likewise.
21 * gdb.multi/tids.exp: Likewise.
22 * gdb.multi/watchpoint-multi.exp: Likewise.
23 * gdb.python/py-events.exp: Likewise.
24 * gdb.threads/attach-into-signal.exp: Likewise.
25 * gdb.threads/attach-stopped.exp: Likewise.
26 * gdb.threads/threadapply.exp: Likewise.
27 * lib/selftest-support.exp: Likewise.
29 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
31 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
33 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
35 * gdb.perf/template-breakpoints.cc: New file.
36 * gdb.perf/template-breakpoints.exp: New file.
37 * gdb.perf/template-breakpoints.py: New file.
39 2018-03-19 Tom Tromey <tom@tromey.com>
41 * gdb.rust/simple.rs (main): Add local variables field1, field2,
43 * gdb.rust/simple.exp: Test bare identifier form of struct
46 2018-03-19 Tom Tromey <tom@tromey.com>
48 * gdb.gdb/observer.exp: Remove.
50 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
52 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
53 "qualified" option when setting breakpoints.
54 * gdb.trace/backtrace.exp: Likewise.
55 * gdb.trace/circ.exp: Likewise.
56 * gdb.trace/collection.exp: Likewise.
57 * gdb.trace/disconnected-tracing.exp: Likewise.
58 * gdb.trace/ftrace-lock.exp: Likewise.
59 * gdb.trace/ftrace.exp: Likewise.
60 * gdb.trace/infotrace.exp: Likewise.
61 * gdb.trace/packetlen.exp: Likewise.
62 * gdb.trace/passc-dyn.exp: Likewise.
63 * gdb.trace/qtro.exp: Likewise.
64 * gdb.trace/read-memory.exp: Likewise.
65 * gdb.trace/report.exp: Likewise.
66 * gdb.trace/signal.exp: Likewise.
67 * gdb.trace/status-stop.exp: Likewise.
68 * gdb.trace/strace.exp: Likewise.
69 * gdb.trace/tfind.exp: Likewise.
70 * gdb.trace/trace-break.exp: Likewise.
71 * gdb.trace/trace-condition.exp: Likewise.
72 * gdb.trace/trace-mt.exp: Likewise.
73 * gdb.trace/tstatus.exp: Likewise.
74 * gdb.trace/tsv.exp: Likewise.
75 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
76 * gdb.trace/unavailable.exp: Likewise.
77 * gdb.trace/while-dyn.exp: Likewise.
79 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
81 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
82 that libinproctrace is copied to the target.
84 2018-03-14 Tom Tromey <tom@tromey.com>
87 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
89 * gdb.base/wchar.exp: Likewise.
91 2018-03-14 Tom Tromey <tom@tromey.com>
94 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
97 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
100 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
101 "target" to remote_exec.
103 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
106 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
107 ${board}_upload): Remove.
109 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
111 * gdb.cp/watch-cp.cc: New test.
112 * gdb.cp/watch-cp.exp: New file.
114 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
116 * gdb.base/infcall-nested-structs.exp: New file.
117 * gdb.base/infcall-nested-structs.c: New file.
118 * gdb.base/float.exp: Add riscv support.
120 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
122 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
123 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
125 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
127 * gdb.server/abspath.exp: New file.
128 * lib/gdb.exp (with_cwd): New procedure.
130 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
132 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
134 (gdb_is_target_remote_prompt): New proc.
135 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
136 (gdb_is_target_native): Pass prompt parameter to
139 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
141 * gdb.base/load-command.c: New file.
142 * gdb.base/load-command.exp: New file.
143 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
144 (gdb_is_target_1): ...this, and generalize for other targets
146 (gdb_is_target_remote): Use gdb_is_target_1.
147 (gdb_is_target_native): use gdb_is_target_1.
149 2018-02-26 Tom Tromey <tom@tromey.com>
152 * gdb.python/py-framefilter.exp: Update test.
154 2018-02-26 Tom Tromey <tom@tromey.com>
156 * gdb.dwarf2/variant.c: New file.
157 * gdb.dwarf2/variant.exp: New file.
159 2018-02-26 Tom Tromey <tom@tromey.com>
161 * gdb.rust/simple.exp: Accept more possible results in enum test.
163 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
165 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
168 2018-02-23 Maciej W. Rozycki <macro@mips.com>
170 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
171 name of a variable: $actual_linejj -> $actual_line.
173 2018-02-21 John Baldwin <jhb@FreeBSD.org>
175 * gdb.arch/amd64-i386-address.exp: Fix a typo.
177 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
179 * gdb.btrace/buffer-size.exp: Do not force BTS.
181 2018-02-14 Pedro Alves <palves@redhat.com>
183 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
186 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
188 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
191 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
193 * gdb.cp/m-static.exp: Check type of optimized out static
196 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
198 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
199 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
201 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
202 Leszek Swirski <leszeks@google.com>
204 * gdb.python/py-prettyprint.c
205 (struct to_string_returns_value_inner,
206 struct to_string_returns_value_wrapper): New.
207 (main): Add tsrvw variable.
208 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
209 ToStringReturnsValueWrapper): New classes.
210 (register_pretty_printers): Register new pretty-printers.
211 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
212 recursive pretty printer.
213 * gdb.python/py-mi.exp: Likewise.
215 2018-02-01 Leszek Swirski <leszeks@google.com>
217 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
218 functions with the same name as an include file are parsed
221 2018-02-01 Yao Qi <yao.qi@linaro.org>
223 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
226 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
228 * gdb.arch/powerpc-prologue-frame.s: New file.
229 * gdb.arch/powerpc-prologue-frame.c: Likewise.
230 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
232 2018-01-31 Joel Brobecker <brobecker@adacore.com>
234 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
236 2018-01-30 Pedro Alves <palves@redhat.com>
239 * gdb.base/interrupt-daemon.c: New.
240 * gdb.base/interrupt-daemon.exp: New.
241 * gdb.multi/multi-term-settings.c: New.
242 * gdb.multi/multi-term-settings.exp: New.
244 2018-01-30 Joel Brobecker <brobecker@adacore.com>
246 * gdb.base/break.exp: Save the location where the breakpoint
247 on break.c:47 was actually inserted when debugging the version
248 compiled at -O2 and use it in the expected output of the "info
249 break" test performed soon after.
251 2018-01-22 Pedro Alves <palves@redhat.com>
252 Sergio Durigan Junior <sergiodj@redhat.com>
254 * gdb.base/whatis.exp: Add tests for 'set print object on' +
255 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
257 2018-01-22 Joel Brobecker <brobecker@adacore.com>
259 * gdb.base/break-include.c, gdb.base/break-include.inc,
260 gdb.base/break-include.exp: New files.
261 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
262 line number now being the actual line number where the breakpoint
264 * gdb.mi/mi-break.exp: Likewise.
265 * gdb.mi/mi-reverse.exp: Likewise.
266 * gdb.mi/mi-simplerun.exp: Ditto.
268 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
270 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
272 * gdb.mi/mi-var-create-rtti.exp: Likewise.
274 2018-01-21 Don Breazeal <donb@codesourcery.com>
275 Andrew Burgess <andrew.burgess@embecosm.com>
277 * gdb.mi/basics.c: Add new global.
278 * gdb.mi/mi-frame-regs.exp: New file.
279 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
282 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
284 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
285 non-parameter, and on an unknown symbol.
287 2018-01-19 Tom Tromey <tom@tromey.com>
289 * gdb.rust/modules.rs (TWENTY_THREE): New global.
290 * gdb.rust/modules.exp: Add ::-qualified lookup test.
292 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
294 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
295 setrlimit and chdir to int.
297 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
299 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
302 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
303 rationale of avoiding FP- and vector instructions.
305 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
307 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
308 "info reg" with "\[ \t\]*".
309 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
311 * gdb.arch/s390-multiarch.exp: Ditto.
312 * gdb.base/pc-fp.exp: Ditto.
313 * gdb.reverse/i386-precsave.exp: Ditto.
314 * gdb.reverse/i386-reverse.exp: Ditto.
315 * gdb.reverse/i387-env-reverse.exp: Ditto.
316 * gdb.reverse/i387-stack-reverse.exp: Ditto.
318 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
320 * lib/gdb.exp (gdb_compile): Re-enable use of
321 universal_compile_options for languages other than Rust.
323 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
325 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
327 2018-01-17 Mike Gulick <mgulick@mathworks.com>
330 * gdb.base/solib-vanish.exp: New.
331 * gdb.base/solib-vanish-main.c: New.
332 * gdb.base/solib-vanish-lib1.c: New.
333 * gdb.base/solib-vanish-lib2.c: New.
335 2018-01-17 Yao Qi <yao.qi@linaro.org>
337 * gdb.compile/compile.exp: Match the address printed for
338 frame in the output of command "bt".
340 2018-01-15 Tom Tromey <tom@tromey.com>
342 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
345 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
347 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
349 (prepare): Return 0 on error, 1 on success.
351 2018-01-12 Pedro Alves <palves@redhat.com>
353 * gdb.base/continue-after-aborted-step-over.c: New.
354 * gdb.base/continue-after-aborted-step-over.exp: New.
356 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
358 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
359 options when not creating an executable.
361 2018-01-11 Pedro Alves <palves@redhat.com>
364 * gdb.server/stop-reply-no-thread.c: New file.
365 * gdb.server/stop-reply-no-thread.exp: New file.
367 2018-01-10 Pedro Alves <palves@redhat.com>
370 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
371 functions too. Test setting breakpoints and printing C functions
372 with no debug info too.
373 * gdb.ada/bp_c_mixed_case/qux.c: New file.
375 2018-01-10 Pedro Alves <palves@redhat.com>
378 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
381 2018-01-10 Pedro Alves <palves@redhat.com>
384 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
386 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
388 * gdb.server/unittest.exp: Match the output in non-development
391 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
393 * gdb.gdb/unittest.exp: Match output in non-development mode.
395 2018-01-08 Joel Brobecker <brobecker@adacore.com>
397 * gdb.ada/access_tagged_param.exp: Relax expected output
398 for value of "ObjL" in "continue" to pck.inspect breakpoint
401 2018-01-08 Joel Brobecker <brobecker@adacore.com>
403 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
404 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
406 2018-01-05 Pedro Alves <palves@redhat.com>
409 * gdb.base/libsegfault.exp: New.
411 2018-01-05 Joel Brobecker <brobecker@adacore.com>
414 * gdb.ada/access_tagged_param.exp: New file.
415 * gdb.ada/access_tagged_param/foo.adb: New file.
417 2018-01-05 Pedro Alves <palves@redhat.com>
420 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
421 exercise lower case too, and to exercise both full matching and
424 2018-01-05 Joel Brobecker <brobecker@adacore.com>
426 * gdb.ada/rename_subscript_param: New testcase.
428 2018-01-05 Jerome Guitton <guitton@adacore.com>
430 * gdb.ada/arr_acc_idx_w_gap: New testcase.
432 2018-01-05 Joel Brobecker <brobecker@adacore.com>
434 * gdb.ada/convvar_comp: New testcase.
436 2018-01-05 Xavier Roirand <roirand@adacore.com>
438 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
439 (My_Table): New global variable.
440 * testsuite/gdb.ada/array_char_idx.exp: Add test.
442 2018-01-04 Joel Brobecker <brobecker@adacore.com>
445 * gdb.ada/maint_with_ada: New testcase.
447 2018-01-04 Joel Brobecker <brobecker@adacore.com>
450 * gdb.ada/bp_c_mixed_case: New testcase.
452 2018-01-04 Joel Brobecker <brobecker@adacore.com>
455 * gdb.ada/complete.exp: Add "complete break ada" test.
457 2018-01-04 Joel Brobecker <brobecker@adacore.com>
460 * gdb.ada/info_addr_mixed_case: New testcase.
462 2018-01-03 Xavier Roirand <roirand@adacore.com>
464 * gdb.ada/excep_handle.exp: New testcase.
465 * gdb.ada/excep_handle/foo.adb: New file.
466 * gdb.ada/excep_handle/pck.ads: New file.
468 2018-01-03 Joel Brobecker <brobecker@adacore.com>
470 * gdb.base/step-line.c: Add extra empty line in copyright header.
471 * gdb.base/step-line.inp: Likewise.
473 2018-01-02 Joel Brobecker <brobecker@adacore.com>
475 * gdb.ada/dyn_stride.exp: Add slice test.
477 2018-01-02 Joel Brobecker <brobecker@adacore.com>
479 * gdb.ada/dyn_stride: New testcase.
481 2017-12-27 Stafford Horne <shorne@gmail.com>
483 * gdb.xml/extra-regs.xml: Add example foo reggroup.
484 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
486 2017-12-27 Stafford Horne <shorne@gmail.com>
488 * gdb.base/reggroups.c: New file.
489 * gdb.base/reggroups.exp: New file.
491 2017-12-18 Joel Brobecker <brobecker@adacore.com>
493 * gdb.dwarf2/ada-valprint-error.c: New file.
494 * gdb.dwarf2/ada-valprint-error.exp: New file.
496 2017-12-18 Joel Brobecker <brobecker@adacore.com>
498 * gdb.ada/assign_arr: New testcase.
500 2017-12-18 Xavier Roirand <roirand@adacore.com>
502 * gdb.ada/funcall_ptr: New testcase.
504 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
507 * gdb.base/ptype-offsets.cc: New file.
508 * gdb.base/ptype-offsets.exp: New file.
510 2017-12-15 Yao Qi <yao.qi@linaro.org>
512 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
515 2017-12-15 Xavier Roirand <roirand@adacore.com>
517 * gdb.ada/same_component_name: New testcase.
519 2017-12-14 Joel Brobecker <brobecker@adacore.com>
521 * gdb.ada/str_binop_equal: New testcase.
523 2017-12-14 Joel Brobecker <brobecker@adacore.com>
525 * gdb.ada/task_switch_in_core: New testcase.
527 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
529 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
530 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
531 call test_bkpt_qualified.
532 (test_bkpt_qualified): New proc.
534 2017-12-13 Pedro Alves <palves@redhat.com>
536 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
537 Tighten regexp by matching with an anchor.
539 2017-12-13 Pedro Alves <palves@redhat.com>
541 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
542 ("expression with namespace"): New set of tests.
543 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
544 (Nested::Test_NS::qux): New.
545 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
546 defaults to 'start_quote_char' and 'end_quote_char' parameters.
548 2017-12-13 Joel Brobecker <brobecker@adacore.com>
550 * gdb.base/server-del-break.c: New file.
551 * gdb.base/server-del-break.exp: New file.
553 2017-12-12 Stafford Horne <shorne@gmail.com>
555 * gdb.xml/tdesc-regs.exp: Add or1k support.
557 2017-12-12 Stafford Horne <shorne@gmail.com>
559 * gdb.base/bp-permanent.c: Define nop of or1k.
561 2017-12-11 Joel Brobecker <brobecker@adacore.com>
563 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
564 output with components being reordered.
566 2017-12-11 Joel Brobecker <brobecker@adacore.com>
568 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
569 output with components being reordered.
571 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
572 Pedro Alves <palves@redhat.com>
574 * gdb.base/maint.exp (check for .gdb_index): Check also for
576 * gdb.dlang/watch-loc.c (.debug_aranges): New.
577 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
578 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
579 (.gdb_index used after symbol reloading): Support also .debug_names.
580 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
582 2017-12-08 Yao Qi <yao.qi@linaro.org>
584 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
585 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
587 2017-12-08 Yao Qi <yao.qi@linaro.org>
589 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
590 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
592 2017-12-08 Yao Qi <yao.qi@linaro.org>
594 * gdb.arch/aarch64-tagged-pointer.c: New file.
595 * gdb.arch/aarch64-tagged-pointer.exp: New file.
597 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
599 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
602 2017-12-07 Keith Seitz <keiths@redhat.com>
605 * gdb.linespec/ls-errs.exp: Change expected result of "break
606 -source this file has spaces.c -line 3".
607 Check that an explicit source file followed by whitespace is
608 identified as an invalid explicit location.
610 2017-12-07 Keith Seitz <keiths@redhat.com>
612 * gdb.cp/nested-types.cc: New file.
613 * gdb.cp/nested-types.exp: New file.
614 * lib/cp-support.exp: Load data-structures.exp library.
615 (debug_cp_test_ptype_class): New global.
616 (cp_ptype_class_verbose, next_line): New procedures.
617 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
618 Add and document new return value.
619 Switch the list of lines to a queue.
620 Add support for new `type' key for nested type definitions.
621 Add debugging/troubleshooting messages.
622 * lib/data-structures.exp: New file.
624 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
626 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
627 with proc_with_prefix, don't use with_test_prefix.
629 2017-12-07 Tom Tromey <tom@tromey.com>
631 * gdb.base/break.exp: Add test for empty "commands".
633 2017-12-07 Yao Qi <yao.qi@linaro.org>
635 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
636 malloc and catch syscall.
638 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
640 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
641 tests for explicit locations.
643 2017-12-06 Pedro Alves <palves@redhat.com>
645 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
646 force-disabling XML descriptions.
648 2017-12-04 Pedro Alves <palves@redhat.com>
651 * gdb.arch/amd64-disp-step-avx.S: New file.
652 * gdb.arch/amd64-disp-step-avx.exp: New file.
654 2017-12-03 Pedro Alves <palves@redhat.com>
656 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
658 (parent_function): Print distinct messages when waitpid fails, or
659 the child exits with a signal, or the child exits for an unhandled
661 * gdb.threads/process-dies-while-detaching.exp
662 (detach_and_expect_exit): New 'inf_output_re' parameter and use
663 it. Wait for both inferior output and GDB's prompt. Use an
664 indirect spawn id list.
665 (do_detach): New parameter 'child_exit'. Use it to compute
666 expected inferior output.
667 (test_detach, test_detach_watch, test_detach_killed_outside):
668 Adjust to pass down the expected child exit kind.
670 2017-12-01 Joel Brobecker <brobecker@adacore.com>
671 Sergio Durigan Junior <sergiodj@redhat.com>
672 Pedro Alves <palves@redhat.com>
674 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
676 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
678 * gdb.base/relocate.exp: Add tests to guarantee that arguments
679 to 'symbol-file' and 'add-symbol-file' can be
680 position-independent.
682 2017-12-01 Yao Qi <yao.qi@linaro.org>
684 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
685 the URL in copyright header.
686 * gdb.arch/aarch64-fp.exp: Likewise.
687 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
688 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
689 * gdb.base/expand-psymtabs.exp: Likewise.
690 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
691 * gdb.fortran/common-block.exp: Likewise.
692 * gdb.fortran/common-block.f90: Likewise.
693 * gdb.fortran/logical.exp: Likewise.
694 * gdb.fortran/vla-datatypes.f90: Likewise.
695 * gdb.fortran/vla-sub.f90: Likewise.
697 2017-11-30 Joel Brobecker <brobecker@adacore.com>
699 * gdb.ada/repeat_dyn: New testcase.
701 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
703 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
704 Update for changed thread numbering.
705 * gdb.cell/bt.exp: Update for changed GDB output.
707 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
709 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
710 setting isremote by hand.
711 * boards/dwarf4-gdb-index.exp: Likewise.
712 * boards/fission.exp: Likewise.
713 * boards/stabs.exp: Likewise.
715 2017-11-30 Pedro Alves <palves@redhat.com>
717 * gdb.linespec/cpls-ops.exp
718 (check_explicit_skips_function_argument): Extract the underlying
719 type of size_t instead of hardcoding it.
721 2017-11-29 Pedro Alves <palves@redhat.com>
724 * gdb.linespec/cpls-abi-tag.cc: New file.
725 * gdb.linespec/cpls-abi-tag.exp: New file.
727 2017-11-29 Pedro Alves <palves@redhat.com>
729 * gdb.base/langs.exp: Use -qualified.
730 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
732 * gdb.cp/namespace.exp: Use -qualified.
733 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
734 (overload-3, template-overload, template-ret-type, const-overload)
735 (const-overload-quoted, anon-ns, ambiguous-prefix): New
737 (test_driver): Call them.
738 * gdb.cp/save-bp-qualified.cc: New.
739 * gdb.cp/save-bp-qualified.exp: New.
740 * gdb.linespec/explicit.exp: Test -qualified.
741 * lib/completion-support.exp (completion::explicit_opts_list): Add
743 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
745 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
747 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
749 2017-11-29 Tom Tromey <tom@tromey.com>
751 * gdb.base/relocate.exp: Update invalid argument test.
752 Add new tests for invalid arguments.
754 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
756 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
758 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
760 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
762 * gdb.cp/breakpoint.cc (bar): Set return type to void.
763 * gdb.cp/psymtab-parameter.cc (func): Likewise.
764 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
766 * gdb.cp/shadow.cc (B.func): Return 0.
768 2017-11-27 Joel Brobecker <brobecker@adacore.com>
770 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
771 expected output in gdb_expect call to allow the exception
772 message to be present as well. Fix syntax confusion to avoid
773 TCL thinking that exception_name is an array.
775 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
777 * gdb.arch/spu-info.c: Include <unistd.h>.
778 (do_signal_test): Fix broken calls to write.
779 * gdb.arch/spu-info.exp: Use prepare_for_testing.
780 Fix checks for empty mailboxes. Update signal tests for corrected
781 do_signal_test routine. Allow nonzero event status.
782 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
783 * gdb.cell/arch.exp: Use standard_output_file.
784 * gdb.cell/break.exp: Likewise.
785 * gdb.cell/bt.exp: Likewise.
786 * gdb.cell/core.exp: Likewise.
787 * gdb.cell/dwarfaddr.exp: Likewise.
788 * gdb.cell/ea-cache.exp: Likewise.
789 * gdb.cell/ea-standalone.exp: Likewise.
790 * gdb.cell/f-regs.exp: Likewise.
791 * gdb.cell/fork.exp: Likewise.
792 * gdb.cell/gcore.exp: Likewise.
793 * gdb.cell/mem-access.exp: Likewise.
794 * gdb.cell/ptype.exp: Likewise.
795 * gdb.cell/registers.exp: Likewise.
796 * gdb.cell/sizeof.exp: Likewise.
797 * gdb.cell/solib-symbol.exp: Likewise.
798 * gdb.cell/solib.exp: Likewise.
800 2017-11-25 Pedro Alves <palves@redhat.com>
802 * gdb.base/complete-empty.exp: New file.
803 * gdb.base/completion.exp: Adjust.
805 2017-11-25 Pedro Alves <palves@redhat.com>
807 * gdb.linespec/cpls-ops.cc: New file.
808 * gdb.linespec/cpls-ops.exp: New file.
809 * lib/completion-support.exp (test_complete_prefix_range_re): New,
810 factored out from ...
811 (test_complete_prefix_range): ... this.
813 2017-11-24 Pedro Alves <palves@redhat.com>
815 * gdb.linespec/cpcompletion.exp: New file.
816 * gdb.linespec/cpls-hyphen.cc: New file.
817 * gdb.linespec/cpls.cc: New file.
818 * gdb.linespec/cpls2.cc: New file.
819 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
820 test to use test_gdb_complete_unique. Add label completion,
821 keyword completion and explicit location completion tests.
822 * lib/completion-support.exp: New file.
824 2017-11-24 Joel Brobecker <brobecker@adacore.com>
826 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
827 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
828 when hitting an exception catchpoint.
830 2017-11-22 Yao Qi <yao.qi@linaro.org>
832 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
834 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
836 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
837 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
838 * gdb.dwarf2/info-locals-optimized-out.c: New file.
840 2017-11-22 Yao Qi <yao.qi@linaro.org>
842 * gdb.base/info-os.exp: Pass pthreads.
843 * gdb.multi/multi-attach.exp: Likewise.
845 2017-11-22 Yao Qi <yao.qi@linaro.org>
847 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
850 2017-11-22 Yao Qi <yao.qi@linaro.org>
852 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
853 * gdb.base/break-interp.exp: Likewise.
854 * gdb.base/jit-attach-pie.exp: Likewise.
856 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
858 * gdb.base/float128.c (large128): New variable.
859 * gdb.base/float128.exp: Add test to print largest __float128 value.
861 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
863 * gdb.arch/vsx-regs.exp: Update register content checks.
865 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
867 * gdb.arch/ppc-longdouble.exp: New file.
868 * gdb.arch/ppc-longdouble.c: Likewise.
870 2017-11-21 Pedro Alves <palves@redhat.com>
872 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
874 2017-11-20 Pedro Alves <palves@redhat.com>
876 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
877 (long_double_typedef): New typedefs.
878 Use DEF on double and long double.
879 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
881 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
882 and 'long_double_ptr_same_size' locals. Use them to decide
883 whether cast from array/function to float is valid/invalid.
885 2017-11-17 Tom Tromey <tom@tromey.com>
887 * gdb.rust/traits.rs: New file.
888 * gdb.rust/traits.exp: New file.
890 2017-11-17 Joel Brobecker <brobecker@adacore.com>
892 * gdb.ada/minsyms: New testcase.
894 2017-11-16 Pedro Alves <palves@redhat.com>
896 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
897 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
899 2017-11-16 Pedro Alves <palves@redhat.com>
901 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
902 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
904 2017-11-16 Pedro Alves <palves@redhat.com>
906 * gdb.server/reconnect-ctrl-c.c: New file.
907 * gdb.server/reconnect-ctrl-c.exp: New file.
909 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
911 * gdb.python/py-rbreak.exp: New file.
912 * gdb.python/py-rbreak.c: New file.
913 * gdb.python/py-rbreak-func2.c: New file.
915 2017-11-16 Pedro Alves <palves@redhat.com>
917 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
919 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
922 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
924 * gdb.tui/completionn.exp (test_tab_completion): Add space in
927 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
929 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
932 2017-11-09 Pedro Alves <palves@redhat.com>
934 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
935 factored out from ...
936 (top level): ... here, and adjusted to avoid expecting beyond the
937 prompt in a single gdb_test_multiple.
939 2017-11-09 Pedro Alves <palves@redhat.com>
941 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
943 * gdb.server/ext-attach.exp ("kill" test): Likewise.
944 * gdb.server/ext-restart.exp ("kill" test): Likewise.
945 * gdb.server/ext-run.exp ("kill" test): Likewise.
946 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
948 2017-11-09 Pedro Alves <palves@redhat.com>
950 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
951 match till end of line.
953 2017-11-09 Pedro Alves <palves@redhat.com>
955 * gdb.base/memattr.exp: Tighten regexes to match the end line.
957 2017-11-09 Pedro Alves <palves@redhat.com>
959 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
960 New procedures, factored out from ...
961 (top level): ... here, and adjusted to avoid expecting beyond the
964 2017-11-09 Pedro Alves <palves@redhat.com>
966 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
967 output. Fix '?' match.
969 2017-11-08 Joel Brobecker <brobecker@adacore.com>
971 * gdb.ada/scoped_watch: New testcase.
972 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
973 which is actually correct.
974 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
975 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
977 2017-11-08 Pedro Alves <palves@redhat.com>
979 * gdb.gdb/complaints.exp (test_initial_complaints)
980 (test_serial_complaints, test_short_complaints): Call
981 complaint_internal instead of complaint.
983 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
985 * gdb.threads/tls-core.c: New file.
986 * gdb.threads/tls-core.exp: Likewise.
988 2017-11-08 Pedro Alves <palves@redhat.com>
990 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
991 (p Exported_Capitalized): New test.
992 (p exported_capitalized): New test.
994 2017-11-07 Pedro Alves <palves@redhat.com>
996 * gdb.cp/ena-dis-br-range.exp: Add more tests.
998 2017-11-07 Pedro Alves <palves@redhat.com>
1000 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
1001 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
1002 (disable_invalid, disable_inverted, disable_negative): New
1004 ("bad numbers"): New set of tests.
1006 2017-11-07 Pedro Alves <palves@redhat.com>
1008 * gdb.cp/ena-dis-br-range.exp: Add tests.
1010 2017-11-07 Pedro Alves <palves@redhat.com>
1012 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
1014 2017-11-07 Xavier Roirand <roirand@adacore.com>
1015 Pedro Alves <palves@redhat.com>
1017 * gdb.base/ena-dis-br.exp: Add reference to
1018 gdb.cp/ena-dis-br-range.exp.
1019 * gdb.cp/ena-dis-br-range.exp: New file.
1020 * gdb.cp/ena-dis-br-range.cc: New file.
1022 2017-11-06 Pedro Alves <palves@redhat.com>
1024 * gdb.base/attach-non-pgrp-leader.c: New.
1025 * gdb.base/attach-non-pgrp-leader.exp: New.
1027 2017-11-06 Pedro Alves <palves@redhat.com>
1029 * configure.ac: No longer check for termio.h and sgtty.h.
1030 * configure: Regenerate.
1031 * remote-utils.c: Include termios.h instead of gdb_termios.h.
1032 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
1033 Remove termio and sgtty code.
1035 2017-11-03 Yao Qi <yao.qi@linaro.org>
1037 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
1040 2017-11-03 Yao Qi <yao.qi@linaro.org>
1042 * gdb.python/py-thrhandle.exp: Skip it if python is not
1045 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1047 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
1048 as a breakpoint command.
1050 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
1053 * gdb.python/py-infthread.exp: Test calling
1054 InferiorThread.inferior () multiple times in a row.
1056 2017-10-27 Keith Seitz <keiths@redhat.com>
1058 * gdb.opt/inline-break.exp (break_info_1): New procedure.
1059 Test "info break" for every inlined function breakpoint.
1061 2017-10-27 Yao Qi <yao.qi@linaro.org>
1063 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
1065 2017-10-26 Patrick Frants <osscontribute@gmail.com>
1067 * gdb.cp/classes.exp (test_static_members): Test printing
1069 * gdb.cp/classes.c (struct Inner, struct Outer): New.
1070 (Inner::instance, Outer::instance): New.
1072 2017-10-24 Pedro Alves <palves@redhat.com>
1074 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
1075 extra console" test in two stages.
1077 2017-10-24 Pedro Alves <palves@redhat.com>
1079 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
1081 2017-10-24 Pedro Alves <palves@redhat.com>
1083 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
1086 2017-10-24 Pedro Alves <palves@redhat.com>
1088 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
1089 $attempt" and "stoppedtry $stoppedtry" test prefixes.
1091 2017-10-24 Pedro Alves <palves@redhat.com>
1093 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
1094 parameter and handle it. Don't output read value in test name.
1096 2017-10-24 Pedro Alves <palves@redhat.com>
1098 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
1101 2017-10-24 Pedro Alves <palves@redhat.com>
1103 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
1104 include the unstable output directory name in the test's name.
1105 (initial_setup_simple) <'set args'>: Use custom test name.
1107 2017-10-24 Pedro Alves <palves@redhat.com>
1109 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
1110 with explicit test name.
1112 2017-10-20 Pedro Alves <palves@redhat.com>
1114 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
1115 'wait -i'. Use gdb_assert and remote_close.
1117 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
1119 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
1120 number from variable rather than hard-coded.
1122 2017-10-19 Pedro Alves <palves@redhat.com>
1124 * gdb.base/long-inferior-output.c: New file.
1125 * gdb.base/long-inferior-output.exp: New file.
1127 2017-11-18 Keith Seitz <keiths@redhat.com>
1129 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
1132 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
1133 Add additional user-defined conversion operator tests.
1135 2017-10-17 Pedro Alves <palves@redhat.com>
1137 * boards/native-stdio-gdbserver.exp: Load "local-board".
1139 2017-10-17 Pedro Alves <palves@redhat.com>
1141 * gdb.base/quit-live.c: New file.
1142 * gdb.base/quit-live.exp: New file.
1144 2017-10-16 Keith Seitz <keiths@redhat.com>
1146 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
1147 (class_with_protected_typedef, class_with_private_typedef)
1148 (struct_with_public_typedef, struct_with_protected_typedef)
1149 (struct_with_private_typedef): New classes/structs.
1150 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
1151 typedefs and access specifiers.
1153 2017-10-16 Pedro Alves <palves@redhat.com>
1154 Simon Marchi <simon.marchi@polymtl.ca>
1156 * README (Local vs Remote vs Native): New section.
1157 * boards/local-board.exp: New file, with bits factored out from
1159 * boards/native-extended-gdbserver.exp: ... here. Load
1161 * boards/native-gdbserver.exp: Load "local-board".
1162 (${board}_spawn, ${board}_exec): Delete.
1163 * boards/native-stdio-gdbserver.exp: Most contents factored out to
1165 * boards/stdio-gdbserver-base.exp: ... this new file.
1166 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
1167 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
1169 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
1170 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
1171 stdio_gdbserver_command.
1172 (${board}_get_remote_address, ${board}_get_comm_port)
1173 (${board}_download, ${board}_upload): Delete.
1174 (get_target_remote_pipe_cmd): New.
1176 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
1178 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
1179 test_bkpt_deletion, test_bkpt_cond_and_cmds,
1180 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
1181 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
1182 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
1183 remove with_test_prefix.
1185 2017-10-13 Pedro Alves <palves@redhat.com>
1187 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
1188 * gdb.base/annota1.exp: Use it instead of is_remote.
1189 * gdb.base/annota3.exp: Use it instead of is_remote.
1190 * gdb.cp/annota2.exp: Use it instead of is_remote.
1191 * gdb.cp/annota3.exp: Use it instead of is_remote.
1192 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
1194 2017-10-13 Pedro Alves <palves@redhat.com>
1196 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
1197 (test_num_test_vars, run_and_count_vars, find_env)
1198 (test_set_unset_env, test_inherit_env_var): New procedures.
1199 (top level): Use them.
1201 2017-10-13 Pedro Alves <palves@redhat.com>
1203 * lib/selftest-support.exp (selftest_setup): Extend comments, and
1204 also skip on stub-like targets.
1206 2017-10-13 Pedro Alves <palves@redhat.com>
1209 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
1210 (top level): Move some tests to ...
1211 (test_not_found): ... this new procedure.
1212 (top level): Call it.
1214 2017-10-13 Pedro Alves <palves@redhat.com>
1216 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
1217 expect different "info terminal" output if testing with a
1220 2017-10-13 Pedro Alves <palves@redhat.com>
1221 Simon Marchi <simon.marchi@polymtl.ca>
1224 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
1226 2017-10-13 Pedro Alves <palves@redhat.com>
1228 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
1231 2017-10-13 Pedro Alves <palves@redhat.com>
1233 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
1236 2017-10-13 Pedro Alves <palves@redhat.com>
1238 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
1241 2017-10-13 Pedro Alves <palves@redhat.com>
1243 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
1245 (corefile_test_attach): Likewise. Check can_spawn_for_attach
1246 instead of is_remote.
1248 2017-10-13 Pedro Alves <palves@redhat.com>
1250 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
1251 (top level): Add comment.
1253 2017-10-13 Pedro Alves <palves@redhat.com>
1255 * gdb.base/remote.exp (top level): Fix comment typo and add
1258 2017-10-13 Pedro Alves <palves@redhat.com>
1259 Simon Marchi <simon.marchi@polymtl.ca>
1261 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
1262 calls and add comments. Skip test if use_gdb_stub is set.
1263 (top level): Use "set cwd" command instead of "cd" command.
1265 2017-10-13 Pedro Alves <palves@redhat.com>
1267 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
1268 is_remote target check.
1270 2017-10-13 Pedro Alves <palves@redhat.com>
1272 * gdb.base/scope.exp: Use build_executable + clean_restart +
1273 gdb_file_cmd instead of prepare_for_testing and no longer skip
1274 "before run" tests on is_remote target boards. Update comments.
1275 * boards/native-extended-gdbserver.exp
1276 (extended_gdbserver_load_last_file): New, factored out from ...
1277 (gdb_load): ... this. Move further below and add comment.
1278 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
1280 2017-10-12 Pedro Alves <palves@redhat.com>
1282 * gdb.base/attach.exp: Remove references to gdb64.
1283 * gdb.base/dbx.exp: Remove references to gdb64.
1285 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1286 Pedro Alves <palves@redhat.com>
1288 * gdb.base/label.exp: Remove is_remote target check.
1290 2017-10-12 Pedro Alves <palves@redhat.com>
1292 * gdb.base/auvx.exp (coredir): Update comment.
1293 (top level) <core_works>: Use "set cwd" command instead of "cd"
1296 2017-10-12 Pedro Alves <palves@redhat.com>
1297 Simon Marchi <simon.marchi@polymtl.ca>
1299 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
1302 2017-10-12 Pedro Alves <palves@redhat.com>
1303 Simon Marchi <simon.marchi@polymtl.ca>
1305 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
1306 Instead skip if there's any gdb_protocol set.
1308 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1309 Pedro Alves <palves@redhat.com>
1311 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
1313 2017-10-12 Pedro Alves <palves@redhat.com>
1314 Simon Marchi <simon.marchi@polymtl.ca>
1316 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
1317 instead of on dejagnu remote boards.
1319 2017-10-12 Pedro Alves <palves@redhat.com>
1320 Simon Marchi <simon.marchi@polymtl.ca>
1322 * gdb.base/inferior-died.exp: Remove is_remote and isnative
1323 checks. Use build_executable + clean_restart instead of
1324 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
1325 of enabling non-stop after starting gdb.
1327 2017-10-12 Pedro Alves <palves@redhat.com>
1329 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
1330 * gdb.threads/non-ldr-exc-2.exp: Ditto.
1331 * gdb.threads/non-ldr-exc-3.exp: Ditto.
1332 * gdb.threads/non-ldr-exc-4.exp: Ditto.
1334 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
1336 * gdb.arch/arc-tdesc-cpu.exp: New file.
1337 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
1339 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
1341 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
1343 2017-10-10 Pedro Alves <palves@redhat.com>
1345 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
1348 2017-10-10 Pedro Alves <palves@redhat.com>
1350 * lib/selftest-support.exp (selftest_setup): Update for
1351 captured_command_loop's prototype change.
1353 2017-10-09 Pedro Alves <palves@redhat.com>
1355 Test both arch1=>arch2 and arch2=>arch1.
1357 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
1358 (srcfile2, binfile2, march1, march2): Remove globals. Largely
1360 (append_arch1_options, append_arch2_options, append_arch_options)
1361 (build_executables): New procedures.
1362 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
1364 (top level): Add new 'first_arch' testing axis.
1366 2017-10-09 Pedro Alves <palves@redhat.com>
1368 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
1370 (thread_start, all_started): New functions.
1371 (main): Spawn new thread and wait until it is scheduled.
1372 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
1374 (do_test): Add 'selected_thread' parameter. Run to all_started
1375 instead of main. Explicitly set the breakpoint at main. Switch
1376 to the SELECTED_THREAD thread.
1377 (top level): Test handling the exec event with either the main
1378 thread or the second thread selected.
1380 2017-10-09 Pedro Alves <palves@redhat.com>
1382 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
1383 logic. Move STOP marker after the value checks.
1384 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
1387 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
1389 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
1391 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1393 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
1394 integer-to-dfp conversion.
1395 * gdb.base/dfp-test.exp: Likewise.
1397 2017-10-04 Pedro Alves <palves@redhat.com>
1399 * gdb.multi/hangout.c: Include <unistd.h>.
1400 (hangout_loop): New function.
1401 (main): Call alarm. Call hangout_loop in a loop.
1402 * gdb.multi/hello.c: Include <unistd.h>.
1403 (hello_loop): New function.
1404 (main): Call alarm. Call hangout_loop in a loop.
1405 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
1406 inferior with the other selected.
1408 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
1410 * gdb.mi/list-thread-groups-available.exp: New file.
1411 * gdb.mi/list-thread-groups-available.c: New file.
1413 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1415 * gdb.base/set-cwd.exp: Make it available on
1416 native-extended-gdbserver.
1418 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1420 * gdb.base/set-cwd.c: New file.
1421 * gdb.base/set-cwd.exp: Likewise.
1423 2017-10-02 Tom Tromey <tom@tromey.com>
1426 * gdb.rust/simple.rs (main): New variable "fslice".
1427 * gdb.rust/simple.exp: Add slice tests. Update string tests.
1429 2017-10-02 Tom Tromey <tom@tromey.com>
1431 * gdb.rust/simple.exp: Test ptype of a slice.
1433 2017-10-02 Tom Tromey <tom@tromey.com>
1435 * gdb.rust/simple.exp: Test index of slice.
1437 2017-09-27 Tom Tromey <tom@tromey.com>
1439 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1441 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1442 Pedro Alves <palves@redhat.com>
1444 * gdb.base/compare-sections.exp (get value of read-only section): Read
1446 (corrupt read-only section): Likewise and don't set written if patching
1449 2017-09-21 Kevin Buettner <kevinb@redhat.com>
1451 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1454 2017-09-20 Pedro Alves <palves@redhat.com>
1456 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1457 symbol names in gdb's output.
1458 * gdb.cp/overload.exp ("list all overloads"): Likewise.
1460 2017-09-20 Pedro Alves <palves@redhat.com>
1462 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
1464 (test_list_ambiguous_symbol): ... this and add a symbol name
1466 (test_list_ambiguous_function): Reimplement on top of
1467 test_list_ambiguous_symbol and also test listing ambiguous
1469 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
1470 (ambiguous_fun): ... this.
1471 (ambiguous_var): New.
1472 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
1473 (ambiguous_fun): ... this.
1474 (ambiguous_var): New.
1476 2017-09-19 John Baldwin <jhb@FreeBSD.org>
1478 * gdb.base/starti.c: New file.
1479 * gdb.base/starti.exp: New file.
1480 * lib/gdb.exp (gdb_starti_cmd): New procedure.
1482 2017-09-14 Pedro Alves <palves@redhat.com>
1484 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1485 (top level): Use it instead of runto.
1487 2017-09-11 Tom Tromey <tom@tromey.com>
1489 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1491 2017-09-11 Tom Tromey <tom@tromey.com>
1493 * gdb.python/py-infthread.exp: Add tests for new_thread event.
1494 * gdb.python/py-inferior.exp: Add tests for new inferior events.
1496 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
1498 * gdb.fortran/printing-types.exp: New file.
1499 * gdb.fortran/printing-types.exp: New file.
1501 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1503 * gdb.fortran/vla-ptype.exp: Fix typos.
1504 * gdb.fortran/vla-value.exp: Same.
1506 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1508 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1509 * gdb.mi/mi-var-child-f.exp: Likewise.
1510 * gdb.mi/mi-vla-fortran.exp: Likewise.
1512 2017-09-08 Frank Penczek <frank.penczek@intel.com>
1513 Christoph Weinmann <christoph.t.weinmann@intel.com>
1514 Bernhard Heckel <bernhard.heckel@intel.com>
1516 * gdb.fortran/ptr-indentation.f90: New file.
1517 * gdb.fortran/ptr-indentation.exp: New file.
1519 2017-09-05 Tom Tromey <tom@tromey.com>
1522 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1524 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1526 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1528 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1530 * gdb.threads/tls-nodebug-pie.c: New file.
1531 * gdb.threads/tls-nodebug-pie.exp: New file.
1533 2017-09-05 Tom Tromey <tom@tromey.com>
1535 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1538 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
1540 * gdb.multi/multi-arch-exec.exp: Test with different
1541 "follow-exec-mode" settings.
1542 (do_test): New procedure.
1544 2017-09-04 Pedro Alves <palves@redhat.com>
1546 * gdb.base/func-static.c (S::method const, S::method volatile)
1547 (S::method volatile const): New methods.
1548 (c_s, v_s, cv_s): New instances.
1549 (main): Call method() on them.
1550 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1551 (cannot_resolve): New procedure.
1552 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
1553 print-quote-unquoted columns.
1554 (do_test): Test printing each scope too.
1556 2017-09-04 Pedro Alves <palves@redhat.com>
1558 * gdb.base/local-static.exp: Also test with
1559 class::method::variable wholly quoted.
1560 * gdb.cp/m-static.exp (class::method::variable): Remove test.
1562 2017-09-04 Pedro Alves <palves@redhat.com>
1564 * gdb.base/local-static.c: New.
1565 * gdb.base/local-static.cc: New.
1566 * gdb.base/local-static.exp: New.
1568 2017-09-04 Pedro Alves <palves@redhat.com>
1570 * gdb.asm/asm-source.exp: Add casts to int.
1571 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1572 (dataglobal64_1, dataglobal64_2): New globals.
1573 * gdb.base/nodebug.exp: Test different expressions involving the
1574 new globals, with print, whatis and ptype. Add casts to int.
1575 * gdb.base/solib-display.exp: Add casts to int.
1576 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
1577 * gdb.cp/m-static.exp: Add cast to int.
1578 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1579 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1580 tls variable with no debug info without a cast. Test with a cast
1582 * gdb.trace/entry-values.exp: Add casts.
1584 2017-09-04 Pedro Alves <palves@redhat.com>
1586 * gdb.base/nodebug.exp: Test that ptype's error about functions
1587 with unknown return type includes the function name too.
1589 2017-09-04 Pedro Alves <palves@redhat.com>
1591 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
1592 return type of munmap in infcall.
1593 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
1594 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
1595 type of ftell in infcall.
1596 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
1597 type of getpid in infcall.
1598 * gdb.base/infcall-exec.exp: Cast return type of execlp in
1600 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
1601 Bail on failure to extract the pid.
1602 * gdb.base/nodebug.c: #include <stdint.h>.
1603 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
1605 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
1606 Change expected output of print/whatis/ptype with functions with
1607 no debug info. Test all supported languages. Call
1608 test_call_promotion.
1609 * gdb.compile/compile.exp: Adjust expected output to expect
1611 * gdb.threads/siginfo-threads.exp: Likewise.
1613 2017-09-04 Pedro Alves <palves@redhat.com>
1615 * gdb.base/callfuncs.exp (do_function_calls): New parameter
1616 "prototypes". Test calling float functions via prototyped and
1617 unprototyped function pointers.
1618 (perform_all_tests): New parameter "prototypes". Pass it down.
1619 (top level): Pass down "prototypes" parameter to
1622 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1624 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
1625 Test with nested loops.
1627 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1629 * gdb.base/commands.exp: Call the new procedures.
1630 (loop_break_test, loop_continue_test): New procedures.
1632 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1634 * gdb.base/commands.exp: Call new procedure.
1635 (define_if_without_arg_test): New procedure.
1637 2017-09-04 Pedro Alves <palves@redhat.com>
1639 * gdb.base/list-ambiguous.exp: New file.
1640 * gdb.base/list-ambiguous0.c: New file.
1641 * gdb.base/list-ambiguous1.c: New file.
1642 * gdb.base/list.exp (test_list_range): Adjust expected output.
1644 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
1646 * gdb.base/share-env-with-gdbserver.c: New file.
1647 * gdb.base/share-env-with-gdbserver.exp: Likewise.
1649 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1651 * gdb.base/commands.exp (gdbvar_simple_if_test,
1652 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
1653 progvar_simple_if_test, progvar_simple_while_test,
1654 progvar_complex_if_while_test, user_defined_command_test,
1655 user_defined_command_args_eval,
1656 user_defined_command_args_stack_test,
1657 user_defined_command_manyargs_test, bp_deleted_in_command_test,
1658 temporary_breakpoint_commands,
1659 gdb_test_no_prompt, redefine_hook_test,
1660 redefine_backtrace_test): Remove "global gdb_prompt".
1662 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1664 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
1665 New proc, call it from toplevel.
1667 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
1670 * gdb.server/normal.c: New file, copied from gdb.base.
1671 * gdb.server/run-without-local-binary.exp: New file.
1673 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
1675 * gdb.arch/sparc64-adi.exp: New file.
1676 * gdb.arch/sparc64-adi.c: New file.
1678 2017-08-22 Pedro Alves <palves@redhat.com>
1680 * gdb.cp/overload.exp (line_range_pattern): New procedure.
1681 (top level): Add "list all overloads" tests.
1683 2017-08-22 Tom Tromey <tom@tromey.com>
1685 * gdb.gdb/xfullpath.exp: Remove.
1687 2017-08-21 Pedro Alves <palves@redhat.com>
1690 * gdb.base/symbol-alias.c: New.
1691 * gdb.base/symbol-alias2.c: New.
1692 * gdb.base/symbol-alias.exp: New.
1694 2017-08-21 Pedro Alves <palves@redhat.com>
1696 * gdb.base/dfp-test.c
1697 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
1698 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
1699 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
1700 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
1701 * gdb.base/whatis-ptype-typedefs.c: New.
1702 * gdb.base/whatis-ptype-typedefs.exp: New.
1703 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
1704 (an_int, an_int_type, an_int_type2): New globals.
1705 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
1706 involving typedefs and cast expressions.
1707 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
1708 (lookup_typedefs_function): New.
1709 (typedefs_pretty_printers_dict): New.
1710 (top level): Register lookup_typedefs_function in
1711 gdb.pretty_printers.
1713 2017-08-18 Yao Qi <yao.qi@linaro.org>
1715 * gdb.server/unittest.exp: New.
1717 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
1720 * gdb.base/environ.exp: Add test to check if 'unset environment'
1723 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1725 * lib/gdb.exp (universal_compile_options): New caching proc.
1726 (gdb_compile): Suppress GCC's coloring of messages.
1728 2017-08-14 Tom Tromey <tom@tromey.com>
1731 * gdb.base/printcmds.exp (test_radices): New function.
1732 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
1733 * gdb.base/sizeof.exp (check_valueof): Use p/d.
1734 * lib/gdb.exp (get_integer_valueof): Use p/d.
1736 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
1738 * lib/gdb.exp (get_valueof): Don't capture end-of-line
1741 2017-08-05 Tom Tromey <tom@tromey.com>
1743 * gdb.rust/simple.exp: Allow String to appear in a different
1746 2017-07-26 Yao Qi <yao.qi@linaro.org>
1748 * gdb.gdb/unittest.exp: Invoke command
1749 "maintenance check xml-descriptions".
1751 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1753 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
1755 (hex128): Drop erroneous calculation of parameters.
1757 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
1759 * gdb.python/py-unwind.exp: Disable stack protection when
1762 2017-07-20 Pedro Alves <palves@redhat.com>
1764 * gdb.base/default.exp (set language): Adjust expected output.
1766 2017-07-20 Pedro Alves <palves@redhat.com>
1768 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
1769 (test_minsym): ... this, and make static.
1770 (get_pck__foo__bar__minsym): Rename to ...
1771 (get_test_minsym): ... this.
1772 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
1773 symbol names and comments.
1774 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
1775 (get_test_minsym): ... this.
1776 (pck__foo__bar__minsym__2): Rename to ...
1777 (test_minsym): ... this.
1780 2017-07-17 Pedro Alves <palves@redhat.com>
1782 * gdb.base/completion.exp: Adjust expected output.
1783 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
1784 the completer works.
1786 2017-07-17 Pedro Alves <palves@redhat.com>
1788 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
1790 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1792 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
1794 2017-07-14 Tom Tromey <tom@tromey.com>
1797 * gdb.rust/simple.exp: Add tests.
1799 2017-07-14 Tom Tromey <tom@tromey.com>
1801 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
1803 2017-07-14 Pedro Alves <palves@redhat.com>
1805 * gdb.linespec/base/one/thefile.cc (z1): New function.
1806 * gdb.linespec/base/two/thefile.cc (z2): New function.
1807 * gdb.linespec/linespec.exp: Add tests.
1809 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1811 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
1812 to mi_create_breakpoint.
1814 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1816 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
1817 mi_create_breakpoint.
1819 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
1821 * gdb.dlang/demangle.exp: Update for demangling changes.
1823 2017-07-09 Tom Tromey <tom@tromey.com>
1825 * gdb.dwarf2/shortpiece.exp: New file.
1827 2017-07-06 David Blaikie <dblaikie@gmail.com>
1829 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
1830 built from fissiont-multi-cu{1,2}.c.
1831 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
1832 except putting 'main' and 'func' in separate CUs in the same DWO file.
1833 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
1835 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
1838 2017-07-06 Pedro Alves <palves@redhat.com>
1840 * gdb.python/py-unwind.exp: Test flushregs.
1842 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1845 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
1846 tests for alias commands and trailing whitespace.
1848 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1851 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
1854 2017-06-29 Pedro Alves <palves@redhat.com>
1856 * gdb.base/printcmds.exp: Add tests.
1858 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
1861 * gdb.base/reread-readsym.exp: New file.
1862 * gdb.base/reread-readsym.c: New file.
1864 2017-06-21 Kevin Buettner <kevinb@redhat.com>
1866 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
1869 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
1871 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
1873 * gdb.arch/powerpc-power9.s: Likewise.
1875 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1877 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
1878 on 32-bit x86 targets. Exploit is_*_target macros where
1881 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1883 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
1886 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1888 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
1889 located in one or more DWARF pieces.
1891 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1893 * lib/gdb.exp (get_endianness): New proc.
1894 * gdb.arch/aarch64-fp.exp: Use it.
1895 * gdb.arch/altivec-regs.exp: Likewise.
1896 * gdb.arch/e500-regs.exp: Likewise.
1897 * gdb.arch/vsx-regs.exp: Likewise.
1898 * gdb.base/dump.exp: Likewise.
1899 * gdb.base/funcargs.exp: Likewise.
1900 * gdb.base/gnu_vector.exp: Likewise.
1901 * gdb.dwarf2/formdata16.exp: Likewise.
1902 * gdb.dwarf2/implptrpiece.exp: Likewise.
1903 * gdb.dwarf2/nonvar-access.exp: Likewise.
1904 * gdb.python/py-inferior.exp: Likewise.
1905 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1907 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1910 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
1911 stack value pieces are taken from the LSB end.
1913 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1915 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
1916 variable at nonzero offset.
1918 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1920 * gdb.dwarf2/var-access.c: New file.
1921 * gdb.dwarf2/var-access.exp: New test.
1922 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
1924 2017-06-12 Tom Tromey <tom@tromey.com>
1926 * gdb.dwarf2/formdata16.exp: Add tests.
1928 2017-06-12 Tom Tromey <tom@tromey.com>
1930 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
1932 2017-06-12 Tom Tromey <tom@tromey.com>
1935 * gdb.reverse/i386-sse-reverse.exp: Update tests.
1936 * gdb.arch/vsx-regs.exp: Update tests.
1937 * gdb.arch/s390-vregs.exp (hex128): New proc.
1939 * gdb.arch/altivec-regs.exp: Update tests.
1941 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1943 * gdb.base/startup-with-shell.c: New file.
1944 * gdb.base/startup-with-shell.exp: Likewise.
1946 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1948 * gdb.server/non-existing-program.exp: Update regex in order to
1949 reflect the fact that gdbserver is now using fork_inferior (with a
1950 shell) to startup the inferior.
1952 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
1954 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
1955 support function calls from GDB.
1957 2017-05-21 Tom Tromey <tom@tromey.com>
1960 * gdb.rust/unsized.exp: New file.
1961 * gdb.rust/unsized.rs: New file.
1963 2017-05-19 Tom Tromey <tom@tromey.com>
1966 * gdb.rust/watch.exp: New file.
1967 * gdb.rust/watch.rs: New file.
1969 2017-05-18 Tom Tromey <tom@tromey.com>
1971 * gdb.rust/simple.exp: Allow Box to be qualified.
1973 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
1975 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
1977 2017-05-18 Pedro Alves <palves@redhat.com>
1979 * gdb.base/fileio.c (test_write, test_read, test_close)
1980 (test_fstat): Don't print 'ret' in the fail path.
1982 2017-05-18 Pedro Alves <palves@redhat.com>
1984 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
1985 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
1986 (test_system, test_rename, test_unlink, test_time): Change
1988 * gdb.base/fileio.exp (stop_msg): Adjust.
1990 2017-05-18 Pedro Alves <palves@redhat.com>
1992 * gdb.base/fileio.c (null_str): New global.
1993 (test_stat): Use it.
1994 * gdb.base/fileio.exp: Remove nowarnings.
1996 2017-05-17 Yao Qi <yao.qi@linaro.org>
1998 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
2000 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
2002 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
2004 (top-level): Invoke test_set_inferior_tty.
2006 2017-05-04 Pedro Alves <palves@redhat.com>
2008 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
2009 Add parens to print call for Python 3.
2011 2017-05-03 Keith Seitz <keiths@redhat.com>
2013 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
2016 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2018 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
2021 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2023 * gdb.python/py-record-btrace.exp: Remove test for
2024 gdb.BtraceInstruction.error.
2026 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2028 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
2030 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2032 * gdb.python/py-record-btrace-threads.c: New file.
2033 * gdb.python/py-record-btrace-threads.exp: New file.
2035 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
2038 * gdb.base/environ.exp: Make test available in all architectures.
2039 Move bits related to "info program" testing to
2040 gdb.base/info-program.exp. Rewrite tests to use the two new
2041 procedures mentione below.
2042 (test_set_show_env_var) New procedure.
2043 (test_set_show_env_var_equal): Likewise.
2044 * gdb.base/info-program.exp: New file.
2046 2017-04-27 Keith Seitz <keiths@redhat.com>
2048 * gdb.cp/oranking.cc (test15): New function.
2049 (main): Call test15 and declare additional variables for testing.
2050 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
2051 "p foo101('abc')" tests.
2052 Add tests for cv qualifier overloads.
2053 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
2054 "lvalue reference overload" test.
2055 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
2056 "print value of f1 on Child&& in f2" test.
2058 2017-04-19 Pedro Alves <palves@redhat.com>
2060 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
2062 (top level): Call it.
2063 * lib/gdb.exp (gdb_define_cmd): New procedure.
2065 2017-04-12 Pedro Alves <palves@redhat.com>
2068 * gdb.cp/wide_char_types.c: Include <wchar.h>.
2069 (wchar): New global.
2070 * gdb.cp/wide_char_types.exp (wide_char_types_program)
2071 (do_test_wide_char, wide_char_types_no_program, top level): Add
2074 2017-04-12 Pedro Alves <palves@redhat.com>
2077 * gdb.cp/wide_char_types.c: New file.
2078 * gdb.cp/wide_char_types.exp: New file.
2080 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
2083 * gdb.trace/tsv.exp: Add test for "tsave -r".
2085 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
2087 * gdb.dlang/watch-loc.c: New file.
2088 * gdb.dlang/watch-loc.exp: New file.
2090 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2092 * gdb.python/py-section-script.exp (sepdebug): New testcases.
2094 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2096 * gdb.arch/arc-analyze-prologue.S: New file.
2097 * gdb.arch/arc-analyze-prologue.exp: Likewise.
2099 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2101 * gdb.arch/arc-decode-insn.S: New file.
2102 * gdb.arch/arc-decode-insn.exp: Likewise.
2104 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
2107 * gdb.arch/sparc64-regs.exp: New file.
2108 * gdb.arch/sparc64-regs.S: Likewise.
2110 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
2112 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
2113 and memory view on Python 3.
2115 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
2116 Keith Seitz <keiths@redhat.com>
2119 * gdb.cp/demangle.exp: Add rvalue reference tests.
2120 * gdb.cp/rvalue-ref-casts.cc: New file.
2121 * gdb.cp/rvalue-ref-casts.exp: New file.
2122 * gdb.cp/rvalue-ref-overload.cc: New file.
2123 * gdb.cp/rvalue-ref-overload.exp: New file.
2124 * gdb.cp/rvalue-ref-params.cc: New file.
2125 * gdb.cp/rvalue-ref-params.exp: New file.
2126 * gdb.cp/rvalue-ref-sizeof.cc: New file.
2127 * gdb.cp/rvalue-ref-sizeof.exp: New file.
2128 * gdb.cp/rvalue-ref-types.cc: New file.
2129 * gdb.cp/rvalue-ref-types.exp: New file.
2130 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
2131 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
2133 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2135 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
2138 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2140 * lib/mi-support.exp (mi_gdb_test): Add additional message
2141 for unexpected output.
2143 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2145 * gdb.base/examine-backward.c (Barrier): New character array
2146 constant, to ensure that TestStrings is preceded by a string
2149 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2151 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
2152 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
2153 and implicit pointer into such a location.
2155 2017-03-16 Doug Evans <dje@google.com>
2157 * gdb.python/py-lazy-string (pointer): Really add new typedef.
2159 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
2161 * gdb.cp/m-static.exp: Fix expectation for prototype of
2162 test5.single_constructor and single_constructor::single_constructor.
2164 2017-03-16 Doug Evans <dje@google.com>
2166 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
2167 * gdb.guile/scm-lazy-string.c: New file.
2168 * gdb.guile/scm-value.exp: Move lazy string tests to ...
2169 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
2170 for pointer, array, typedef lazy strings.
2172 2017-03-16 Doug Evans <dje@google.com>
2174 PR python/17728, python/18439, python/18779
2175 * gdb.python/py-value.c (main) Delete locals sptr, sn.
2176 * gdb.python/py-lazy-string.c (pointer): New typedef.
2177 (main): New locals ptr, array, typedef_ptr.
2178 * gdb.python/py-value.exp: Move lazy string tests to ...
2179 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
2180 array, typedef lazy strings.
2182 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
2184 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
2185 Add optional 'test' parameter.
2187 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2189 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2190 Skip for versions of DejaGnu < 1.5.
2192 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2194 * lib/gdb.exp (dejagnu_version): New proc.
2195 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2196 Use dejagnu_version.
2198 2017-03-10 Keith Seitz <keiths@redhat.com>
2201 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
2202 type from destructor regexps.
2203 Add a branch which actually passes the test.
2204 Adjust "ptype t5i" test names.
2206 2017-03-08 Pedro Alves <palves@redhat.com>
2208 * gdb.base/step-over-exit.exp: Add explicit test message.
2210 2017-03-08 Pedro Alves <palves@redhat.com>
2213 * gdb.threads/interrupt-while-step-over.c: New file.
2214 * gdb.threads/interrupt-while-step-over.exp: New file.
2216 2017-03-08 Pedro Alves <palves@redhat.com>
2218 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
2219 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
2221 2017-03-08 Pedro Alves <palves@redhat.com>
2223 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
2224 PKRU as not supported as a PASS.
2226 2017-03-08 Pedro Alves <palves@redhat.com>
2228 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
2229 prefix instead of $binfile1/$binfile2.
2230 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
2232 * gdb.python/py-completion.exp: Use "load python file" as test
2233 messages instead of unstable path names.
2235 2017-03-08 Pedro Alves <palves@redhat.com>
2236 Jan Kratochvil <jan.kratochvil@redhat.com>
2239 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2241 (top level): Call it.
2243 2017-03-08 Pedro Alves <palves@redhat.com>
2246 * gdb.tui/tui-nl-filtered-output.exp: New file.
2248 2017-03-08 Pedro Alves <palves@redhat.com>
2250 * gdb.base/completion.exp: Move TUI completion tests to ...
2251 * gdb.tui/completion.exp: ... this new file.
2253 2017-03-08 Pedro Alves <palves@redhat.com>
2255 * gdb.base/tui-disasm-long-lines.c,
2256 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
2257 gdb.base/tui-layout.exp: Move to ...
2258 * gdb.tui/: ... this new directory.
2260 2017-03-07 Pedro Alves <palves@redhat.com>
2262 * gdb.base/tui-layout.c: New file.
2263 * gdb.base/tui-layout.exp: New file.
2265 2017-03-07 Pedro Alves <palves@redhat.com>
2267 * gdb.base/tui-layout.c: Rename to ...
2268 * gdb.base/tui-disasm-long-lines.c: ... this.
2269 * gdb.base/tui-layout.exp: Rename to ...
2270 * gdb.base/tui-disasm-long-lines.exp: ... this.
2272 2017-03-07 Pedro Alves <palves@redhat.com>
2274 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
2276 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2278 * i386-mpx-call.c: New file.
2279 * i386-mpx-call.exp: New file.
2281 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
2283 * gdb.arch/powerpc-power.exp: Delete test.
2284 * gdb.arch/powerpc-power.s: Likewise.
2285 * gdb.disasm/disassembler-options.exp: New test.
2286 * gdb.arch/powerpc-altivec.exp: Likewise.
2287 * gdb.arch/powerpc-altivec.s: Likewise.
2288 * gdb.arch/powerpc-altivec2.exp: Likewise.
2289 * gdb.arch/powerpc-altivec2.s: Likewise.
2290 * gdb.arch/powerpc-altivec3.exp: Likewise.
2291 * gdb.arch/powerpc-altivec3.s: Likewise.
2292 * gdb.arch/powerpc-power7.exp: Likewise.
2293 * gdb.arch/powerpc-power7.s: Likewise.
2294 * gdb.arch/powerpc-power8.exp: Likewise.
2295 * gdb.arch/powerpc-power8.s: Likewise.
2296 * gdb.arch/powerpc-power9.exp: Likewise.
2297 * gdb.arch/powerpc-power9.s: Likewise.
2298 * gdb.arch/powerpc-vsx.exp: Likewise.
2299 * gdb.arch/powerpc-vsx.s: Likewise.
2300 * gdb.arch/powerpc-vsx2.exp: Likewise.
2301 * gdb.arch/powerpc-vsx2.s: Likewise.
2302 * gdb.arch/powerpc-vsx3.exp: Likewise.
2303 * gdb.arch/powerpc-vsx3.s: Likewise.
2304 * gdb.arch/arm-disassembler-options.exp: Likewise.
2305 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2306 * gdb.arch/s390-disassembler-options.exp: Likewise.
2308 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
2310 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
2311 (check_supported_features): ... this. Changed return type to void.
2312 (supports_rdseed): New static global.
2313 (rdseed): Check supports_rdseed.
2314 (initialize): Call check_supported_features.
2316 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2318 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
2319 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
2321 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
2322 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
2324 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2326 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
2329 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2331 * gdb.dwarf2/formdata16.c: New file.
2332 * gdb.dwarf2/formdata16.exp: New file.
2333 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
2335 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2337 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
2338 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
2339 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
2340 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
2343 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2345 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
2347 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
2350 * gdb.base/maint.exp: Add testcases for when the commands do
2353 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2355 * gdb.cp/chained-calls.exp: Use p instead of P.
2357 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
2359 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
2360 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
2362 2017-02-14 Tom Tromey <tom@tromey.com>
2365 * gdb.python/py-events.exp: Add before_prompt event tests.
2367 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2369 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
2371 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2373 * gdb.linespec/explicit.c (my_unique_function_name): New function.
2374 (main): Call my_unique_function_name.
2375 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
2376 completion of patterns with a single match.
2377 Add missing -re switches to gdb_test_multiple calls.
2379 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2381 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
2382 return if core file is not recognized.
2384 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2386 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
2389 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2391 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
2394 2017-02-10 Tom Tromey <tom@tromey.com>
2396 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
2398 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
2401 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
2403 2017-02-08 Jerome Guitton <guitton@adacore.com>
2405 * gdb.base/define.exp: Add test for command abbreviations
2408 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
2410 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
2411 * gdb.reverse/insn-reverse-x86.c: New file.
2413 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
2416 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
2418 2017-02-03 Tom Tromey <tom@tromey.com>
2421 * gdb.rust/simple.exp: Add new tests.
2423 2017-02-02 Pedro Alves <palves@redhat.com>
2425 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
2428 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2430 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2431 taking a 2-byte value out of a 4-byte DWARF implicit value on
2433 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2434 logic. Add test cases for DW_OP_implicit.
2436 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2438 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2440 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2442 * gdb.btrace/enable.exp: Call gdb_exit before
2443 skip_gdbserver_tests.
2445 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2447 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2450 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2452 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2453 the test is skipped.
2454 * gdb.btrace/data.exp: Likewise.
2455 * gdb.btrace/delta.exp: Likewise.
2456 * gdb.btrace/dlopen.exp: Likewise.
2457 * gdb.btrace/enable-running.exp: Likewise.
2458 * gdb.btrace/enable.exp: Likewise.
2459 * gdb.btrace/exception.exp: Likewise.
2460 * gdb.btrace/function_call_history.exp: Likewise.
2461 * gdb.btrace/gcore.exp: Likewise.
2462 * gdb.btrace/instruction_history.exp: Likewise.
2463 * gdb.btrace/multi-thread-step.exp: Likewise.
2464 * gdb.btrace/nohist.exp: Likewise.
2465 * gdb.btrace/non-stop.exp: Likewise.
2466 * gdb.btrace/reconnect.exp: Likewise.
2467 * gdb.btrace/record_goto-step.exp: Likewise.
2468 * gdb.btrace/record_goto.exp: Likewise.
2469 * gdb.btrace/rn-dl-bind.exp: Likewise.
2470 * gdb.btrace/segv.exp: Likewise.
2471 * gdb.btrace/step.exp: Likewise.
2472 * gdb.btrace/stepi.exp: Likewise.
2473 * gdb.btrace/tailcall-only.exp: Likewise.
2474 * gdb.btrace/tailcall.exp: Likewise.
2475 * gdb.btrace/tsx.exp: Likewise.
2476 * gdb.btrace/unknown_functions.exp: Likewise.
2477 * gdb.btrace/vdso.exp: Likewise.
2479 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2481 * gdb.btrace/enable-running.c: New.
2482 * gdb.btrace/enable-running.exp: New.
2484 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2486 * gdb.arch/amd64-gs_base.c: New file.
2487 * gdb.arch/amd64-gs_base.exp: New file.
2489 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2491 * lib/memory.exp: Remove spurious empty newlines.
2493 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
2495 * gdb.python/py-bad-printers.exp: Load python file using "source".
2496 * gdb.python/py-events.exp: Likewise.
2497 * gdb.python/py-evsignal.exp: Likewise.
2498 * gdb.python/py-evthreads.exp: Likewise.
2499 * gdb.python/py-frame-args.exp: Likewise.
2500 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2501 * gdb.python/py-framefilter-mi.exp: Likewise.
2502 * gdb.python/py-framefilter.exp: Likewise.
2503 * gdb.python/py-mi.exp: Likewise.
2504 * gdb.python/py-pp-maint.exp: Likewise.
2505 * gdb.python/py-pp-registration.exp: Likewise.
2506 * gdb.python/py-prettyprint.exp: Likewise.
2507 (run_lang_tests): Likewise.
2508 * gdb.python/py-typeprint.exp: Likewise.
2510 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2512 * lib/memory.exp: New file.
2513 * lib/gdb.exp: Load memory.exp.
2514 * gdb.base/memattr.exp (delete_memory): Move proc to
2515 lib/memory.exp and rename to delete_memory_regions.
2516 Replace delete_memory with delete_memory_regions.
2517 Cleanup memory regions before tests.
2518 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2521 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2523 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2525 (initialize): New function conditionally defined.
2526 (testcases): Move within conditional block.
2527 (main): Call initialize.
2528 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2529 of gdb.reverse/insn-reverse.c.
2530 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2531 gdb.reverse/insn-reverse.c.
2533 2017-01-26 Yao Qi <yao.qi@linaro.org>
2535 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2536 disassemble on address 0.
2538 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
2539 Yao Qi <yao.qi@linaro.org>
2541 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2542 * gdb.dwarf2/implptr-64bit.S: Remove.
2543 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
2544 variables in caller's context. Add DW_OP_implicit_value.
2546 2017-01-25 Yao Qi <yao.qi@linaro.org>
2548 * lib/dwarf.exp (Dwarf::_location): Handle
2549 DW_OP_GNU_implicit_pointer with proper size.
2551 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2553 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2554 and add untested calls.
2556 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2558 * gdb.python/python.exp: Check line number against what GDB thinks
2559 the line number is for func1.
2561 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2563 * gdb.dlang/debug-expr.exp: New file.
2565 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
2567 Fix test names for the following files:
2569 * gdb.ada/exec_changed.exp
2570 * gdb.ada/info_types.exp
2571 * gdb.arch/aarch64-atomic-inst.exp
2572 * gdb.arch/aarch64-fp.exp
2573 * gdb.arch/altivec-abi.exp
2574 * gdb.arch/altivec-regs.exp
2575 * gdb.arch/amd64-byte.exp
2576 * gdb.arch/amd64-disp-step.exp
2577 * gdb.arch/amd64-dword.exp
2578 * gdb.arch/amd64-entry-value-inline.exp
2579 * gdb.arch/amd64-entry-value-param.exp
2580 * gdb.arch/amd64-entry-value-paramref.exp
2581 * gdb.arch/amd64-entry-value.exp
2582 * gdb.arch/amd64-i386-address.exp
2583 * gdb.arch/amd64-invalid-stack-middle.exp
2584 * gdb.arch/amd64-invalid-stack-top.exp
2585 * gdb.arch/amd64-optimout-repeat.exp
2586 * gdb.arch/amd64-prologue-skip.exp
2587 * gdb.arch/amd64-prologue-xmm.exp
2588 * gdb.arch/amd64-stap-special-operands.exp
2589 * gdb.arch/amd64-stap-wrong-subexp.exp
2590 * gdb.arch/amd64-tailcall-cxx.exp
2591 * gdb.arch/amd64-tailcall-noret.exp
2592 * gdb.arch/amd64-tailcall-ret.exp
2593 * gdb.arch/amd64-tailcall-self.exp
2594 * gdb.arch/amd64-word.exp
2595 * gdb.arch/arm-bl-branch-dest.exp
2596 * gdb.arch/arm-disp-step.exp
2597 * gdb.arch/arm-neon.exp
2598 * gdb.arch/arm-single-step-kernel-helper.exp
2599 * gdb.arch/avr-flash-qualifier.exp
2600 * gdb.arch/disp-step-insn-reloc.exp
2601 * gdb.arch/e500-abi.exp
2602 * gdb.arch/e500-regs.exp
2603 * gdb.arch/ftrace-insn-reloc.exp
2604 * gdb.arch/i386-avx512.exp
2605 * gdb.arch/i386-bp_permanent.exp
2606 * gdb.arch/i386-byte.exp
2607 * gdb.arch/i386-cfi-notcurrent.exp
2608 * gdb.arch/i386-disp-step.exp
2609 * gdb.arch/i386-dr3-watch.exp
2610 * gdb.arch/i386-float.exp
2611 * gdb.arch/i386-gnu-cfi.exp
2612 * gdb.arch/i386-mpx-map.exp
2613 * gdb.arch/i386-mpx-sigsegv.exp
2614 * gdb.arch/i386-mpx-simple_segv.exp
2615 * gdb.arch/i386-mpx.exp
2616 * gdb.arch/i386-permbkpt.exp
2617 * gdb.arch/i386-prologue.exp
2618 * gdb.arch/i386-signal.exp
2619 * gdb.arch/i386-size-overlap.exp
2620 * gdb.arch/i386-unwind.exp
2621 * gdb.arch/i386-word.exp
2622 * gdb.arch/mips-fcr.exp
2623 * gdb.arch/powerpc-d128-regs.exp
2624 * gdb.arch/powerpc-stackless.exp
2625 * gdb.arch/ppc64-atomic-inst.exp
2626 * gdb.arch/s390-stackless.exp
2627 * gdb.arch/s390-tdbregs.exp
2628 * gdb.arch/s390-vregs.exp
2629 * gdb.arch/sparc-sysstep.exp
2630 * gdb.arch/thumb-bx-pc.exp
2631 * gdb.arch/thumb-singlestep.exp
2632 * gdb.arch/thumb2-it.exp
2633 * gdb.arch/vsx-regs.exp
2634 * gdb.asm/asm-source.exp
2635 * gdb.base/a2-run.exp
2636 * gdb.base/advance.exp
2637 * gdb.base/all-bin.exp
2640 * gdb.base/arithmet.exp
2641 * gdb.base/async-shell.exp
2642 * gdb.base/async.exp
2643 * gdb.base/attach-pie-noexec.exp
2644 * gdb.base/attach-twice.exp
2645 * gdb.base/auto-load.exp
2647 * gdb.base/bitfields.exp
2648 * gdb.base/break-always.exp
2649 * gdb.base/break-caller-line.exp
2650 * gdb.base/break-entry.exp
2651 * gdb.base/break-inline.exp
2652 * gdb.base/break-on-linker-gcd-function.exp
2653 * gdb.base/break-probes.exp
2654 * gdb.base/break.exp
2655 * gdb.base/breakpoint-shadow.exp
2656 * gdb.base/call-ar-st.exp
2657 * gdb.base/call-sc.exp
2658 * gdb.base/call-signal-resume.exp
2659 * gdb.base/call-strs.exp
2660 * gdb.base/callfuncs.exp
2661 * gdb.base/catch-fork-static.exp
2662 * gdb.base/catch-gdb-caused-signals.exp
2663 * gdb.base/catch-load.exp
2664 * gdb.base/catch-signal-fork.exp
2665 * gdb.base/catch-signal.exp
2666 * gdb.base/catch-syscall.exp
2667 * gdb.base/charset.exp
2668 * gdb.base/checkpoint.exp
2669 * gdb.base/chng-syms.exp
2670 * gdb.base/code-expr.exp
2671 * gdb.base/code_elim.exp
2672 * gdb.base/commands.exp
2673 * gdb.base/completion.exp
2674 * gdb.base/complex.exp
2675 * gdb.base/cond-expr.exp
2676 * gdb.base/condbreak.exp
2677 * gdb.base/consecutive.exp
2678 * gdb.base/continue-all-already-running.exp
2679 * gdb.base/coredump-filter.exp
2680 * gdb.base/corefile.exp
2682 * gdb.base/debug-expr.exp
2683 * gdb.base/define.exp
2685 * gdb.base/disabled-location.exp
2686 * gdb.base/disasm-end-cu.exp
2687 * gdb.base/disasm-optim.exp
2688 * gdb.base/display.exp
2689 * gdb.base/duplicate-bp.exp
2690 * gdb.base/ena-dis-br.exp
2691 * gdb.base/ending-run.exp
2692 * gdb.base/enumval.exp
2693 * gdb.base/environ.exp
2694 * gdb.base/eu-strip-infcall.exp
2695 * gdb.base/eval-avoid-side-effects.exp
2696 * gdb.base/eval-skip.exp
2697 * gdb.base/exitsignal.exp
2698 * gdb.base/expand-psymtabs.exp
2699 * gdb.base/filesym.exp
2700 * gdb.base/find-unmapped.exp
2701 * gdb.base/finish.exp
2702 * gdb.base/float.exp
2703 * gdb.base/foll-exec-mode.exp
2704 * gdb.base/foll-exec.exp
2705 * gdb.base/foll-fork.exp
2706 * gdb.base/fortran-sym-case.exp
2707 * gdb.base/freebpcmd.exp
2708 * gdb.base/func-ptr.exp
2709 * gdb.base/func-ptrs.exp
2710 * gdb.base/funcargs.exp
2711 * gdb.base/gcore-buffer-overflow.exp
2712 * gdb.base/gcore-relro-pie.exp
2713 * gdb.base/gcore-relro.exp
2714 * gdb.base/gcore.exp
2715 * gdb.base/gdb1090.exp
2716 * gdb.base/gdb11530.exp
2717 * gdb.base/gdb11531.exp
2718 * gdb.base/gdb1821.exp
2719 * gdb.base/gdbindex-stabs.exp
2720 * gdb.base/gdbvars.exp
2721 * gdb.base/hbreak.exp
2722 * gdb.base/hbreak2.exp
2723 * gdb.base/included.exp
2724 * gdb.base/infcall-input.exp
2725 * gdb.base/inferior-died.exp
2726 * gdb.base/infnan.exp
2727 * gdb.base/info-macros.exp
2728 * gdb.base/info-os.exp
2729 * gdb.base/info-proc.exp
2730 * gdb.base/info-shared.exp
2731 * gdb.base/info-target.exp
2732 * gdb.base/infoline.exp
2733 * gdb.base/interp.exp
2734 * gdb.base/interrupt.exp
2735 * gdb.base/jit-reader.exp
2736 * gdb.base/jit-simple.exp
2737 * gdb.base/kill-after-signal.exp
2738 * gdb.base/kill-detach-inferiors-cmd.exp
2739 * gdb.base/label.exp
2740 * gdb.base/langs.exp
2741 * gdb.base/ldbl_e308.exp
2742 * gdb.base/line-symtabs.exp
2743 * gdb.base/linespecs.exp
2745 * gdb.base/long_long.exp
2746 * gdb.base/longest-types.exp
2747 * gdb.base/maint.exp
2748 * gdb.base/max-value-size.exp
2749 * gdb.base/memattr.exp
2750 * gdb.base/mips_pro.exp
2751 * gdb.base/morestack.exp
2752 * gdb.base/moribund-step.exp
2753 * gdb.base/multi-forks.exp
2754 * gdb.base/nested-addr.exp
2755 * gdb.base/nextoverexit.exp
2756 * gdb.base/noreturn-finish.exp
2757 * gdb.base/noreturn-return.exp
2758 * gdb.base/nostdlib.exp
2759 * gdb.base/offsets.exp
2760 * gdb.base/opaque.exp
2761 * gdb.base/pc-fp.exp
2762 * gdb.base/permissions.exp
2763 * gdb.base/print-symbol-loading.exp
2764 * gdb.base/prologue-include.exp
2765 * gdb.base/psymtab.exp
2766 * gdb.base/ptype.exp
2767 * gdb.base/random-signal.exp
2768 * gdb.base/randomize.exp
2769 * gdb.base/range-stepping.exp
2770 * gdb.base/readline-ask.exp
2771 * gdb.base/recpar.exp
2772 * gdb.base/recurse.exp
2773 * gdb.base/relational.exp
2774 * gdb.base/restore.exp
2775 * gdb.base/return-nodebug.exp
2776 * gdb.base/return.exp
2777 * gdb.base/run-after-attach.exp
2778 * gdb.base/save-bp.exp
2779 * gdb.base/scope.exp
2780 * gdb.base/sect-cmd.exp
2781 * gdb.base/set-lang-auto.exp
2782 * gdb.base/set-noassign.exp
2783 * gdb.base/setvar.exp
2784 * gdb.base/sigall.exp
2785 * gdb.base/sigbpt.exp
2786 * gdb.base/siginfo-addr.exp
2787 * gdb.base/siginfo-infcall.exp
2788 * gdb.base/siginfo-obj.exp
2789 * gdb.base/siginfo.exp
2790 * gdb.base/signals-state-child.exp
2791 * gdb.base/signest.exp
2792 * gdb.base/sigstep.exp
2793 * gdb.base/sizeof.exp
2795 * gdb.base/solib-corrupted.exp
2796 * gdb.base/solib-nodir.exp
2797 * gdb.base/solib-search.exp
2798 * gdb.base/stack-checking.exp
2799 * gdb.base/stale-infcall.exp
2800 * gdb.base/stap-probe.exp
2801 * gdb.base/start.exp
2802 * gdb.base/step-break.exp
2803 * gdb.base/step-bt.exp
2804 * gdb.base/step-line.exp
2805 * gdb.base/step-over-exit.exp
2806 * gdb.base/step-over-syscall.exp
2807 * gdb.base/step-resume-infcall.exp
2808 * gdb.base/step-test.exp
2809 * gdb.base/store.exp
2810 * gdb.base/structs3.exp
2811 * gdb.base/sym-file.exp
2812 * gdb.base/symbol-without-target_section.exp
2814 * gdb.base/testenv.exp
2815 * gdb.base/ui-redirect.exp
2816 * gdb.base/until.exp
2817 * gdb.base/unwindonsignal.exp
2818 * gdb.base/value-double-free.exp
2819 * gdb.base/vla-datatypes.exp
2820 * gdb.base/vla-ptr.exp
2821 * gdb.base/vla-sideeffect.exp
2822 * gdb.base/volatile.exp
2823 * gdb.base/watch-cond-infcall.exp
2824 * gdb.base/watch-cond.exp
2825 * gdb.base/watch-non-mem.exp
2826 * gdb.base/watch-read.exp
2827 * gdb.base/watch-vfork.exp
2828 * gdb.base/watchpoint-cond-gone.exp
2829 * gdb.base/watchpoint-delete.exp
2830 * gdb.base/watchpoint-hw-hit-once.exp
2831 * gdb.base/watchpoint-hw.exp
2832 * gdb.base/watchpoint-stops-at-right-insn.exp
2833 * gdb.base/watchpoints.exp
2834 * gdb.base/wchar.exp
2835 * gdb.base/whatis-exp.exp
2836 * gdb.btrace/buffer-size.exp
2837 * gdb.btrace/data.exp
2838 * gdb.btrace/delta.exp
2839 * gdb.btrace/dlopen.exp
2840 * gdb.btrace/enable.exp
2841 * gdb.btrace/exception.exp
2842 * gdb.btrace/function_call_history.exp
2843 * gdb.btrace/gcore.exp
2844 * gdb.btrace/instruction_history.exp
2845 * gdb.btrace/nohist.exp
2846 * gdb.btrace/reconnect.exp
2847 * gdb.btrace/record_goto-step.exp
2848 * gdb.btrace/record_goto.exp
2849 * gdb.btrace/rn-dl-bind.exp
2850 * gdb.btrace/segv.exp
2851 * gdb.btrace/step.exp
2852 * gdb.btrace/stepi.exp
2853 * gdb.btrace/tailcall-only.exp
2854 * gdb.btrace/tailcall.exp
2855 * gdb.btrace/tsx.exp
2856 * gdb.btrace/unknown_functions.exp
2857 * gdb.btrace/vdso.exp
2858 * gdb.compile/compile-ifunc.exp
2859 * gdb.compile/compile-ops.exp
2860 * gdb.compile/compile-print.exp
2861 * gdb.compile/compile-setjmp.exp
2862 * gdb.cp/abstract-origin.exp
2863 * gdb.cp/ambiguous.exp
2864 * gdb.cp/annota2.exp
2865 * gdb.cp/annota3.exp
2866 * gdb.cp/anon-ns.exp
2867 * gdb.cp/anon-struct.exp
2868 * gdb.cp/anon-union.exp
2869 * gdb.cp/arg-reference.exp
2870 * gdb.cp/baseenum.exp
2872 * gdb.cp/breakpoint.exp
2873 * gdb.cp/bs15503.exp
2876 * gdb.cp/chained-calls.exp
2878 * gdb.cp/classes.exp
2879 * gdb.cp/cmpd-minsyms.exp
2880 * gdb.cp/converts.exp
2881 * gdb.cp/cp-relocate.exp
2882 * gdb.cp/cpcompletion.exp
2883 * gdb.cp/cpexprs.exp
2884 * gdb.cp/cplabel.exp
2885 * gdb.cp/cplusfuncs.exp
2886 * gdb.cp/cpsizeof.exp
2888 * gdb.cp/derivation.exp
2889 * gdb.cp/destrprint.exp
2890 * gdb.cp/dispcxx.exp
2891 * gdb.cp/enum-class.exp
2892 * gdb.cp/exception.exp
2893 * gdb.cp/exceptprint.exp
2894 * gdb.cp/expand-psymtabs-cxx.exp
2895 * gdb.cp/expand-sals.exp
2896 * gdb.cp/extern-c.exp
2897 * gdb.cp/filename.exp
2898 * gdb.cp/formatted-ref.exp
2899 * gdb.cp/fpointer.exp
2900 * gdb.cp/gdb1355.exp
2901 * gdb.cp/gdb2495.exp
2903 * gdb.cp/impl-this.exp
2904 * gdb.cp/infcall-dlopen.exp
2905 * gdb.cp/inherit.exp
2906 * gdb.cp/iostream.exp
2910 * gdb.cp/m-static.exp
2911 * gdb.cp/mb-ctor.exp
2912 * gdb.cp/mb-inline.exp
2913 * gdb.cp/mb-templates.exp
2914 * gdb.cp/member-name.exp
2915 * gdb.cp/member-ptr.exp
2916 * gdb.cp/meth-typedefs.exp
2918 * gdb.cp/method2.exp
2919 * gdb.cp/minsym-fallback.exp
2921 * gdb.cp/namelessclass.exp
2922 * gdb.cp/namespace-enum.exp
2923 * gdb.cp/namespace-nested-import.exp
2924 * gdb.cp/namespace.exp
2925 * gdb.cp/nextoverthrow.exp
2926 * gdb.cp/no-dmgl-verbose.exp
2927 * gdb.cp/non-trivial-retval.exp
2928 * gdb.cp/noparam.exp
2930 * gdb.cp/nsimport.exp
2931 * gdb.cp/nsnested.exp
2932 * gdb.cp/nsnoimports.exp
2933 * gdb.cp/nsrecurs.exp
2934 * gdb.cp/nsstress.exp
2935 * gdb.cp/nsusing.exp
2936 * gdb.cp/operator.exp
2937 * gdb.cp/oranking.exp
2938 * gdb.cp/overload-const.exp
2939 * gdb.cp/overload.exp
2940 * gdb.cp/ovldbreak.exp
2942 * gdb.cp/paren-type.exp
2943 * gdb.cp/parse-lang.exp
2944 * gdb.cp/pass-by-ref.exp
2945 * gdb.cp/pr-1023.exp
2946 * gdb.cp/pr-1210.exp
2948 * gdb.cp/pr10687.exp
2949 * gdb.cp/pr12028.exp
2950 * gdb.cp/pr17132.exp
2951 * gdb.cp/pr17494.exp
2955 * gdb.cp/printmethod.exp
2957 * gdb.cp/psymtab-parameter.exp
2958 * gdb.cp/ptype-cv-cp.exp
2959 * gdb.cp/ptype-flags.exp
2960 * gdb.cp/re-set-overloaded.exp
2961 * gdb.cp/ref-types.exp
2963 * gdb.cp/scope-err.exp
2966 * gdb.cp/static-method.exp
2967 * gdb.cp/static-print-quit.exp
2968 * gdb.cp/temargs.exp
2969 * gdb.cp/templates.exp
2970 * gdb.cp/try_catch.exp
2971 * gdb.cp/typedef-operator.exp
2973 * gdb.cp/userdef.exp
2974 * gdb.cp/using-crash.exp
2975 * gdb.cp/var-tag.exp
2976 * gdb.cp/virtbase.exp
2977 * gdb.cp/virtfunc.exp
2978 * gdb.cp/virtfunc2.exp
2979 * gdb.cp/vla-cxx.exp
2980 * gdb.disasm/t01_mov.exp
2981 * gdb.disasm/t02_mova.exp
2982 * gdb.disasm/t03_add.exp
2983 * gdb.disasm/t04_sub.exp
2984 * gdb.disasm/t05_cmp.exp
2985 * gdb.disasm/t06_ari2.exp
2986 * gdb.disasm/t07_ari3.exp
2987 * gdb.disasm/t08_or.exp
2988 * gdb.disasm/t09_xor.exp
2989 * gdb.disasm/t10_and.exp
2990 * gdb.disasm/t11_logs.exp
2991 * gdb.disasm/t12_bit.exp
2992 * gdb.disasm/t13_otr.exp
2993 * gdb.dlang/circular.exp
2994 * gdb.dwarf2/arr-stride.exp
2995 * gdb.dwarf2/arr-subrange.exp
2996 * gdb.dwarf2/atomic-type.exp
2997 * gdb.dwarf2/bad-regnum.exp
2998 * gdb.dwarf2/bitfield-parent-optimized-out.exp
2999 * gdb.dwarf2/callframecfa.exp
3000 * gdb.dwarf2/clztest.exp
3001 * gdb.dwarf2/corrupt.exp
3002 * gdb.dwarf2/data-loc.exp
3003 * gdb.dwarf2/dup-psym.exp
3004 * gdb.dwarf2/dw2-anon-mptr.exp
3005 * gdb.dwarf2/dw2-anonymous-func.exp
3006 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
3007 * gdb.dwarf2/dw2-bad-unresolved.exp
3008 * gdb.dwarf2/dw2-basic.exp
3009 * gdb.dwarf2/dw2-canonicalize-type.exp
3010 * gdb.dwarf2/dw2-case-insensitive.exp
3011 * gdb.dwarf2/dw2-common-block.exp
3012 * gdb.dwarf2/dw2-compdir-oldgcc.exp
3013 * gdb.dwarf2/dw2-compressed.exp
3014 * gdb.dwarf2/dw2-const.exp
3015 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
3016 * gdb.dwarf2/dw2-cu-size.exp
3017 * gdb.dwarf2/dw2-dup-frame.exp
3018 * gdb.dwarf2/dw2-entry-value.exp
3019 * gdb.dwarf2/dw2-icycle.exp
3020 * gdb.dwarf2/dw2-ifort-parameter.exp
3021 * gdb.dwarf2/dw2-inline-break.exp
3022 * gdb.dwarf2/dw2-inline-param.exp
3023 * gdb.dwarf2/dw2-intercu.exp
3024 * gdb.dwarf2/dw2-intermix.exp
3025 * gdb.dwarf2/dw2-lexical-block-bare.exp
3026 * gdb.dwarf2/dw2-linkage-name-trust.exp
3027 * gdb.dwarf2/dw2-minsym-in-cu.exp
3028 * gdb.dwarf2/dw2-noloc.exp
3029 * gdb.dwarf2/dw2-op-call.exp
3030 * gdb.dwarf2/dw2-op-out-param.exp
3031 * gdb.dwarf2/dw2-opt-structptr.exp
3032 * gdb.dwarf2/dw2-param-error.exp
3033 * gdb.dwarf2/dw2-producer.exp
3034 * gdb.dwarf2/dw2-ranges-base.exp
3035 * gdb.dwarf2/dw2-ref-missing-frame.exp
3036 * gdb.dwarf2/dw2-reg-undefined.exp
3037 * gdb.dwarf2/dw2-regno-invalid.exp
3038 * gdb.dwarf2/dw2-restore.exp
3039 * gdb.dwarf2/dw2-restrict.exp
3040 * gdb.dwarf2/dw2-single-line-discriminators.exp
3041 * gdb.dwarf2/dw2-strp.exp
3042 * gdb.dwarf2/dw2-undefined-ret-addr.exp
3043 * gdb.dwarf2/dw2-unresolved.exp
3044 * gdb.dwarf2/dw2-var-zero-addr.exp
3045 * gdb.dwarf2/dw4-sig-types.exp
3046 * gdb.dwarf2/dwz.exp
3047 * gdb.dwarf2/dynarr-ptr.exp
3048 * gdb.dwarf2/enum-type.exp
3049 * gdb.dwarf2/gdb-index.exp
3050 * gdb.dwarf2/implptr-64bit.exp
3051 * gdb.dwarf2/implptr-optimized-out.exp
3052 * gdb.dwarf2/implptr.exp
3053 * gdb.dwarf2/implref-array.exp
3054 * gdb.dwarf2/implref-const.exp
3055 * gdb.dwarf2/implref-global.exp
3056 * gdb.dwarf2/implref-struct.exp
3057 * gdb.dwarf2/mac-fileno.exp
3058 * gdb.dwarf2/main-subprogram.exp
3059 * gdb.dwarf2/member-ptr-forwardref.exp
3060 * gdb.dwarf2/method-ptr.exp
3061 * gdb.dwarf2/missing-sig-type.exp
3062 * gdb.dwarf2/nonvar-access.exp
3063 * gdb.dwarf2/opaque-type-lookup.exp
3064 * gdb.dwarf2/pieces-optimized-out.exp
3065 * gdb.dwarf2/pieces.exp
3066 * gdb.dwarf2/pr10770.exp
3067 * gdb.dwarf2/pr13961.exp
3068 * gdb.dwarf2/staticvirtual.exp
3069 * gdb.dwarf2/subrange.exp
3070 * gdb.dwarf2/symtab-producer.exp
3071 * gdb.dwarf2/trace-crash.exp
3072 * gdb.dwarf2/typeddwarf.exp
3073 * gdb.dwarf2/valop.exp
3074 * gdb.dwarf2/watch-notconst.exp
3075 * gdb.fortran/array-element.exp
3076 * gdb.fortran/charset.exp
3077 * gdb.fortran/common-block.exp
3078 * gdb.fortran/complex.exp
3079 * gdb.fortran/derived-type-function.exp
3080 * gdb.fortran/derived-type.exp
3081 * gdb.fortran/logical.exp
3082 * gdb.fortran/module.exp
3083 * gdb.fortran/multi-dim.exp
3084 * gdb.fortran/nested-funcs.exp
3085 * gdb.fortran/print-formatted.exp
3086 * gdb.fortran/subarray.exp
3087 * gdb.fortran/vla-alloc-assoc.exp
3088 * gdb.fortran/vla-datatypes.exp
3089 * gdb.fortran/vla-history.exp
3090 * gdb.fortran/vla-ptr-info.exp
3091 * gdb.fortran/vla-ptype-sub.exp
3092 * gdb.fortran/vla-ptype.exp
3093 * gdb.fortran/vla-sizeof.exp
3094 * gdb.fortran/vla-type.exp
3095 * gdb.fortran/vla-value-sub-arbitrary.exp
3096 * gdb.fortran/vla-value-sub-finish.exp
3097 * gdb.fortran/vla-value-sub.exp
3098 * gdb.fortran/vla-value.exp
3099 * gdb.fortran/whatis_type.exp
3101 * gdb.go/handcall.exp
3103 * gdb.go/integers.exp
3104 * gdb.go/methods.exp
3105 * gdb.go/package.exp
3106 * gdb.go/strings.exp
3109 * gdb.guile/scm-arch.exp
3110 * gdb.guile/scm-block.exp
3111 * gdb.guile/scm-breakpoint.exp
3112 * gdb.guile/scm-cmd.exp
3113 * gdb.guile/scm-disasm.exp
3114 * gdb.guile/scm-equal.exp
3115 * gdb.guile/scm-frame-args.exp
3116 * gdb.guile/scm-frame-inline.exp
3117 * gdb.guile/scm-frame.exp
3118 * gdb.guile/scm-iterator.exp
3119 * gdb.guile/scm-math.exp
3120 * gdb.guile/scm-objfile.exp
3121 * gdb.guile/scm-ports.exp
3122 * gdb.guile/scm-symbol.exp
3123 * gdb.guile/scm-symtab.exp
3124 * gdb.guile/scm-value-cc.exp
3125 * gdb.guile/types-module.exp
3126 * gdb.linespec/break-ask.exp
3127 * gdb.linespec/cpexplicit.exp
3128 * gdb.linespec/explicit.exp
3129 * gdb.linespec/keywords.exp
3130 * gdb.linespec/linespec.exp
3131 * gdb.linespec/ls-dollar.exp
3132 * gdb.linespec/ls-errs.exp
3133 * gdb.linespec/skip-two.exp
3134 * gdb.linespec/thread.exp
3135 * gdb.mi/mi-async.exp
3136 * gdb.mi/mi-basics.exp
3137 * gdb.mi/mi-break.exp
3138 * gdb.mi/mi-catch-load.exp
3140 * gdb.mi/mi-cmd-param-changed.exp
3141 * gdb.mi/mi-console.exp
3142 * gdb.mi/mi-detach.exp
3143 * gdb.mi/mi-disassemble.exp
3144 * gdb.mi/mi-eval.exp
3145 * gdb.mi/mi-file-transfer.exp
3146 * gdb.mi/mi-file.exp
3147 * gdb.mi/mi-fill-memory.exp
3148 * gdb.mi/mi-inheritance-syntax-error.exp
3149 * gdb.mi/mi-linespec-err-cp.exp
3150 * gdb.mi/mi-logging.exp
3151 * gdb.mi/mi-memory-changed.exp
3152 * gdb.mi/mi-read-memory.exp
3153 * gdb.mi/mi-record-changed.exp
3154 * gdb.mi/mi-reg-undefined.exp
3155 * gdb.mi/mi-regs.exp
3156 * gdb.mi/mi-return.exp
3157 * gdb.mi/mi-reverse.exp
3158 * gdb.mi/mi-simplerun.exp
3159 * gdb.mi/mi-solib.exp
3160 * gdb.mi/mi-stack.exp
3161 * gdb.mi/mi-stepi.exp
3162 * gdb.mi/mi-syn-frame.exp
3163 * gdb.mi/mi-until.exp
3164 * gdb.mi/mi-var-block.exp
3165 * gdb.mi/mi-var-child.exp
3166 * gdb.mi/mi-var-cmd.exp
3167 * gdb.mi/mi-var-cp.exp
3168 * gdb.mi/mi-var-display.exp
3169 * gdb.mi/mi-var-invalidate.exp
3170 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
3171 * gdb.mi/mi-vla-fortran.exp
3172 * gdb.mi/mi-watch.exp
3173 * gdb.mi/mi2-var-child.exp
3174 * gdb.mi/user-selected-context-sync.exp
3175 * gdb.modula2/unbounded-array.exp
3176 * gdb.multi/dummy-frame-restore.exp
3177 * gdb.multi/multi-arch-exec.exp
3178 * gdb.multi/multi-arch.exp
3179 * gdb.multi/tids.exp
3180 * gdb.multi/watchpoint-multi.exp
3181 * gdb.opencl/callfuncs.exp
3182 * gdb.opencl/convs_casts.exp
3183 * gdb.opencl/datatypes.exp
3184 * gdb.opencl/operators.exp
3185 * gdb.opencl/vec_comps.exp
3186 * gdb.opt/clobbered-registers-O2.exp
3187 * gdb.opt/inline-break.exp
3188 * gdb.opt/inline-bt.exp
3189 * gdb.opt/inline-cmds.exp
3190 * gdb.opt/inline-locals.exp
3191 * gdb.pascal/case-insensitive-symbols.exp
3192 * gdb.pascal/floats.exp
3193 * gdb.pascal/gdb11492.exp
3194 * gdb.python/lib-types.exp
3195 * gdb.python/py-arch.exp
3196 * gdb.python/py-as-string.exp
3197 * gdb.python/py-bad-printers.exp
3198 * gdb.python/py-block.exp
3199 * gdb.python/py-breakpoint-create-fail.exp
3200 * gdb.python/py-breakpoint.exp
3201 * gdb.python/py-caller-is.exp
3202 * gdb.python/py-cmd.exp
3203 * gdb.python/py-explore-cc.exp
3204 * gdb.python/py-explore.exp
3205 * gdb.python/py-finish-breakpoint.exp
3206 * gdb.python/py-finish-breakpoint2.exp
3207 * gdb.python/py-frame-args.exp
3208 * gdb.python/py-frame-inline.exp
3209 * gdb.python/py-frame.exp
3210 * gdb.python/py-framefilter-mi.exp
3211 * gdb.python/py-infthread.exp
3212 * gdb.python/py-lazy-string.exp
3213 * gdb.python/py-linetable.exp
3214 * gdb.python/py-mi-events.exp
3215 * gdb.python/py-mi-objfile.exp
3216 * gdb.python/py-mi.exp
3217 * gdb.python/py-objfile.exp
3218 * gdb.python/py-pp-integral.exp
3219 * gdb.python/py-pp-maint.exp
3220 * gdb.python/py-pp-re-notag.exp
3221 * gdb.python/py-pp-registration.exp
3222 * gdb.python/py-recurse-unwind.exp
3223 * gdb.python/py-strfns.exp
3224 * gdb.python/py-symbol.exp
3225 * gdb.python/py-symtab.exp
3226 * gdb.python/py-sync-interp.exp
3227 * gdb.python/py-typeprint.exp
3228 * gdb.python/py-unwind-maint.exp
3229 * gdb.python/py-unwind.exp
3230 * gdb.python/py-value-cc.exp
3231 * gdb.python/py-xmethods.exp
3232 * gdb.reverse/amd64-tailcall-reverse.exp
3233 * gdb.reverse/break-precsave.exp
3234 * gdb.reverse/break-reverse.exp
3235 * gdb.reverse/consecutive-precsave.exp
3236 * gdb.reverse/consecutive-reverse.exp
3237 * gdb.reverse/finish-precsave.exp
3238 * gdb.reverse/finish-reverse-bkpt.exp
3239 * gdb.reverse/finish-reverse.exp
3240 * gdb.reverse/fstatat-reverse.exp
3241 * gdb.reverse/getresuid-reverse.exp
3242 * gdb.reverse/i386-precsave.exp
3243 * gdb.reverse/i386-reverse.exp
3244 * gdb.reverse/i386-sse-reverse.exp
3245 * gdb.reverse/i387-env-reverse.exp
3246 * gdb.reverse/i387-stack-reverse.exp
3247 * gdb.reverse/insn-reverse.exp
3248 * gdb.reverse/machinestate-precsave.exp
3249 * gdb.reverse/machinestate.exp
3250 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3251 * gdb.reverse/pipe-reverse.exp
3252 * gdb.reverse/readv-reverse.exp
3253 * gdb.reverse/recvmsg-reverse.exp
3254 * gdb.reverse/rerun-prec.exp
3255 * gdb.reverse/s390-mvcle.exp
3256 * gdb.reverse/step-precsave.exp
3257 * gdb.reverse/step-reverse.exp
3258 * gdb.reverse/time-reverse.exp
3259 * gdb.reverse/until-precsave.exp
3260 * gdb.reverse/until-reverse.exp
3261 * gdb.reverse/waitpid-reverse.exp
3262 * gdb.reverse/watch-precsave.exp
3263 * gdb.reverse/watch-reverse.exp
3264 * gdb.rust/generics.exp
3265 * gdb.rust/methods.exp
3266 * gdb.rust/modules.exp
3267 * gdb.rust/simple.exp
3268 * gdb.server/connect-with-no-symbol-file.exp
3269 * gdb.server/ext-attach.exp
3270 * gdb.server/ext-restart.exp
3271 * gdb.server/ext-wrapper.exp
3272 * gdb.server/file-transfer.exp
3273 * gdb.server/server-exec-info.exp
3274 * gdb.server/server-kill.exp
3275 * gdb.server/server-mon.exp
3276 * gdb.server/wrapper.exp
3277 * gdb.stabs/exclfwd.exp
3278 * gdb.stabs/gdb11479.exp
3279 * gdb.threads/clone-new-thread-event.exp
3280 * gdb.threads/corethreads.exp
3281 * gdb.threads/current-lwp-dead.exp
3282 * gdb.threads/dlopen-libpthread.exp
3283 * gdb.threads/gcore-thread.exp
3284 * gdb.threads/sigstep-threads.exp
3285 * gdb.threads/watchpoint-fork.exp
3286 * gdb.trace/actions-changed.exp
3287 * gdb.trace/backtrace.exp
3288 * gdb.trace/change-loc.exp
3289 * gdb.trace/circ.exp
3290 * gdb.trace/collection.exp
3291 * gdb.trace/disconnected-tracing.exp
3292 * gdb.trace/ftrace.exp
3293 * gdb.trace/mi-trace-frame-collected.exp
3294 * gdb.trace/mi-trace-unavailable.exp
3295 * gdb.trace/mi-traceframe-changed.exp
3296 * gdb.trace/mi-tsv-changed.exp
3297 * gdb.trace/no-attach-trace.exp
3298 * gdb.trace/passc-dyn.exp
3299 * gdb.trace/qtro.exp
3300 * gdb.trace/range-stepping.exp
3301 * gdb.trace/read-memory.exp
3302 * gdb.trace/save-trace.exp
3303 * gdb.trace/signal.exp
3304 * gdb.trace/status-stop.exp
3305 * gdb.trace/tfile.exp
3306 * gdb.trace/trace-break.exp
3307 * gdb.trace/trace-buffer-size.exp
3308 * gdb.trace/trace-condition.exp
3309 * gdb.trace/tracefile-pseudo-reg.exp
3310 * gdb.trace/tstatus.exp
3311 * gdb.trace/unavailable.exp
3312 * gdb.trace/while-dyn.exp
3313 * gdb.trace/while-stepping.exp
3315 2016-12-22 Doug Evans <xdje42@gmail.com>
3317 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
3320 2016-12-19 Yao Qi <yao.qi@linaro.org>
3322 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
3323 (test_with_self): Don't call do_steps_and_nexts, and remove
3324 code about stepping into xmalloc.
3326 2016-12-09 Yao Qi <yao.qi@linaro.org>
3328 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
3330 2016-12-09 Yao Qi <yao.qi@linaro.org>
3332 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
3334 2016-12-09 Pedro Alves <palves@redhat.com>
3336 * gdb.base/all-architectures-0.exp: New file.
3337 * gdb.base/all-architectures-1.exp: New file.
3338 * gdb.base/all-architectures-2.exp: New file.
3339 * gdb.base/all-architectures-3.exp: New file.
3340 * gdb.base/all-architectures-4.exp: New file.
3341 * gdb.base/all-architectures-5.exp: New file.
3342 * gdb.base/all-architectures-6.exp: New file.
3343 * gdb.base/all-architectures-7.exp: New file.
3344 * gdb.base/all-architectures.exp.in: New file.
3346 2016-12-09 Yao Qi <yao.qi@linaro.org>
3348 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
3350 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3352 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
3354 Remove useless pattern-matching code.
3356 2016-12-02 Pedro Alves <palves@redhat.com>
3358 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
3360 (top level): Call it.
3362 2016-12-02 Pedro Alves <palves@redhat.com>
3364 * gdb.base/commands.exp (user_defined_command_args_stack_test):
3366 (top level): Call it.
3368 2016-12-02 Pedro Alves <palves@redhat.com>
3371 * gdb.base/commands.exp (user_defined_command_args_eval): New
3373 (top level): Call it.
3375 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3377 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
3380 2016-12-02 Tom Tromey <tom@tromey.com>
3382 * gdb.dwarf2/main-subprogram.c: New file.
3383 * gdb.dwarf2/main-subprogram.exp: New file.
3385 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3387 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
3388 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
3389 gdb_test_no_output for a couple of cases.
3390 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
3392 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3394 Fix test names and standardize compilation error messages throughout
3395 the following files:
3398 * gdb.arch/alpha-step.exp
3399 * gdb.arch/e500-prologue.exp
3400 * gdb.arch/ftrace-insn-reloc.exp
3401 * gdb.arch/gdb1291.exp
3402 * gdb.arch/gdb1431.exp
3403 * gdb.arch/gdb1558.exp
3404 * gdb.arch/i386-dr3-watch.exp
3405 * gdb.arch/i386-sse-stack-align.exp
3406 * gdb.arch/ia64-breakpoint-shadow.exp
3407 * gdb.arch/pa-nullify.exp
3408 * gdb.arch/powerpc-aix-prologue.exp
3409 * gdb.arch/thumb-bx-pc.exp
3410 * gdb.base/annota1.exp
3411 * gdb.base/annota3.exp
3412 * gdb.base/arrayidx.exp
3413 * gdb.base/assign.exp
3414 * gdb.base/attach.exp
3417 * gdb.base/bfp-test.exp
3418 * gdb.base/bigcore.exp
3419 * gdb.base/bitfields2.exp
3420 * gdb.base/break-fun-addr.exp
3421 * gdb.base/break-probes.exp
3422 * gdb.base/call-rt-st.exp
3423 * gdb.base/callexit.exp
3424 * gdb.base/catch-fork-kill.exp
3425 * gdb.base/charset.exp
3426 * gdb.base/checkpoint.exp
3427 * gdb.base/comprdebug.exp
3428 * gdb.base/constvars.exp
3429 * gdb.base/coredump-filter.exp
3430 * gdb.base/cursal.exp
3431 * gdb.base/cvexpr.exp
3432 * gdb.base/detach.exp
3433 * gdb.base/display.exp
3434 * gdb.base/dmsym.exp
3435 * gdb.base/dprintf-pending.exp
3436 * gdb.base/dso2dso.exp
3437 * gdb.base/dtrace-probe.exp
3439 * gdb.base/enum_cond.exp
3440 * gdb.base/exe-lock.exp
3441 * gdb.base/exec-invalid-sysroot.exp
3442 * gdb.base/execl-update-breakpoints.exp
3443 * gdb.base/exprs.exp
3444 * gdb.base/fileio.exp
3446 * gdb.base/finish.exp
3447 * gdb.base/fixsection.exp
3448 * gdb.base/foll-vfork.exp
3449 * gdb.base/frame-args.exp
3450 * gdb.base/gcore.exp
3451 * gdb.base/gdb1250.exp
3452 * gdb.base/global-var-nested-by-dso.exp
3453 * gdb.base/gnu-ifunc.exp
3454 * gdb.base/hashline1.exp
3455 * gdb.base/hashline2.exp
3456 * gdb.base/hashline3.exp
3457 * gdb.base/hbreak-in-shr-unsupported.exp
3459 * gdb.base/infcall-input.exp
3460 * gdb.base/info-fun.exp
3461 * gdb.base/info-shared.exp
3462 * gdb.base/jit-simple.exp
3463 * gdb.base/jit-so.exp
3466 * gdb.base/label.exp
3467 * gdb.base/lineinc.exp
3468 * gdb.base/logical.exp
3469 * gdb.base/longjmp.exp
3470 * gdb.base/macscp.exp
3471 * gdb.base/miscexprs.exp
3472 * gdb.base/new-ui-echo.exp
3473 * gdb.base/new-ui-pending-input.exp
3474 * gdb.base/new-ui.exp
3475 * gdb.base/nodebug.exp
3476 * gdb.base/nofield.exp
3477 * gdb.base/offsets.exp
3478 * gdb.base/overlays.exp
3479 * gdb.base/pending.exp
3480 * gdb.base/pointers.exp
3481 * gdb.base/pr11022.exp
3482 * gdb.base/printcmds.exp
3483 * gdb.base/prologue.exp
3484 * gdb.base/ptr-typedef.exp
3485 * gdb.base/realname-expand.exp
3486 * gdb.base/relativedebug.exp
3487 * gdb.base/relocate.exp
3488 * gdb.base/remote.exp
3489 * gdb.base/reread.exp
3490 * gdb.base/return2.exp
3491 * gdb.base/savedregs.exp
3493 * gdb.base/sepdebug.exp
3494 * gdb.base/sepsymtab.exp
3495 * gdb.base/set-inferior-tty.exp
3496 * gdb.base/setshow.exp
3497 * gdb.base/shlib-call.exp
3498 * gdb.base/sigaltstack.exp
3499 * gdb.base/siginfo-addr.exp
3500 * gdb.base/signals.exp
3501 * gdb.base/signull.exp
3502 * gdb.base/sigrepeat.exp
3503 * gdb.base/so-impl-ld.exp
3504 * gdb.base/solib-display.exp
3505 * gdb.base/solib-overlap.exp
3506 * gdb.base/solib-search.exp
3507 * gdb.base/solib-symbol.exp
3508 * gdb.base/structs.exp
3509 * gdb.base/structs2.exp
3510 * gdb.base/symtab-search-order.exp
3511 * gdb.base/twice.exp
3512 * gdb.base/unload.exp
3513 * gdb.base/varargs.exp
3514 * gdb.base/watchpoint-solib.exp
3515 * gdb.base/watchpoint.exp
3516 * gdb.base/whatis.exp
3517 * gdb.base/wrong_frame_bt_full.exp
3518 * gdb.btrace/dlopen.exp
3519 * gdb.cell/ea-standalone.exp
3520 * gdb.cell/ea-test.exp
3521 * gdb.cp/dispcxx.exp
3522 * gdb.cp/gdb2384.exp
3523 * gdb.cp/method2.exp
3524 * gdb.cp/nextoverthrow.exp
3525 * gdb.cp/pr10728.exp
3526 * gdb.disasm/am33.exp
3527 * gdb.disasm/h8300s.exp
3528 * gdb.disasm/mn10300.exp
3529 * gdb.disasm/sh3.exp
3530 * gdb.dwarf2/dw2-dir-file-name.exp
3531 * gdb.fortran/complex.exp
3532 * gdb.fortran/library-module.exp
3533 * gdb.guile/scm-pretty-print.exp
3534 * gdb.guile/scm-symbol.exp
3535 * gdb.guile/scm-type.exp
3536 * gdb.guile/scm-value.exp
3537 * gdb.linespec/linespec.exp
3540 * gdb.mi/mi-breakpoint-changed.exp
3541 * gdb.mi/mi-dprintf-pending.exp
3542 * gdb.mi/mi-dprintf.exp
3543 * gdb.mi/mi-exit-code.exp
3544 * gdb.mi/mi-pending.exp
3545 * gdb.mi/mi-solib.exp
3546 * gdb.mi/new-ui-mi-sync.exp
3547 * gdb.mi/pr11022.exp
3548 * gdb.mi/user-selected-context-sync.exp
3549 * gdb.opt/solib-intra-step.exp
3550 * gdb.python/py-events.exp
3551 * gdb.python/py-finish-breakpoint.exp
3552 * gdb.python/py-mi.exp
3553 * gdb.python/py-prettyprint.exp
3554 * gdb.python/py-shared.exp
3555 * gdb.python/py-symbol.exp
3556 * gdb.python/py-template.exp
3557 * gdb.python/py-type.exp
3558 * gdb.python/py-value.exp
3559 * gdb.reverse/solib-precsave.exp
3560 * gdb.reverse/solib-reverse.exp
3561 * gdb.server/solib-list.exp
3562 * gdb.stabs/weird.exp
3563 * gdb.threads/reconnect-signal.exp
3564 * gdb.threads/stepi-random-signal.exp
3565 * gdb.trace/actions.exp
3567 * gdb.trace/backtrace.exp
3568 * gdb.trace/change-loc.exp
3569 * gdb.trace/deltrace.exp
3570 * gdb.trace/ftrace-lock.exp
3571 * gdb.trace/ftrace.exp
3572 * gdb.trace/infotrace.exp
3573 * gdb.trace/mi-tracepoint-changed.exp
3574 * gdb.trace/packetlen.exp
3575 * gdb.trace/passcount.exp
3576 * gdb.trace/pending.exp
3577 * gdb.trace/range-stepping.exp
3578 * gdb.trace/report.exp
3579 * gdb.trace/stap-trace.exp
3580 * gdb.trace/tfind.exp
3581 * gdb.trace/trace-break.exp
3582 * gdb.trace/trace-condition.exp
3583 * gdb.trace/trace-enable-disable.exp
3584 * gdb.trace/trace-mt.exp
3585 * gdb.trace/tracecmd.exp
3586 * gdb.trace/tspeed.exp
3590 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3592 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
3593 with gdb_test_no_output.
3594 Use command as test name.
3596 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3598 Fix test names starting with uppercase throughout the files.
3600 * gdb.ada/assign_1.exp
3601 * gdb.ada/boolean_expr.exp
3602 * gdb.base/arrayidx.exp
3604 * gdb.base/gcore-buffer-overflow.exp
3605 * gdb.base/testenv.exp
3606 * gdb.compile/compile.exp
3607 * gdb.python/py-framefilter-invalidarg.exp
3608 * gdb.python/py-framefilter.exp
3610 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3612 Fix test names starting with uppercase throughout the files.
3614 * gdb.ada/array_return.exp
3615 * gdb.ada/expr_delims.exp
3616 * gdb.ada/mi_dyn_arr.exp
3617 * gdb.ada/mi_interface.exp
3618 * gdb.ada/mi_var_array.exp
3619 * gdb.ada/watch_arg.exp
3620 * gdb.arch/alpha-step.exp
3621 * gdb.arch/altivec-regs.exp
3622 * gdb.arch/e500-regs.exp
3623 * gdb.arch/powerpc-d128-regs.exp
3624 * gdb.base/arrayidx.exp
3625 * gdb.base/break.exp
3626 * gdb.base/checkpoint.exp
3627 * gdb.base/debug-expr.exp
3628 * gdb.base/dmsym.exp
3629 * gdb.base/radix.exp
3630 * gdb.base/sepdebug.exp
3631 * gdb.base/testenv.exp
3632 * gdb.base/watch_thread_num.exp
3633 * gdb.base/watchpoint-cond-gone.exp
3634 * gdb.cell/break.exp
3635 * gdb.cell/ea-cache.exp
3636 * gdb.compile/compile.exp
3637 * gdb.cp/gdb2495.exp
3638 * gdb.gdb/selftest.exp
3639 * gdb.gdb/xfullpath.exp
3641 * gdb.go/integers.exp
3642 * gdb.objc/basicclass.exp
3643 * gdb.pascal/hello.exp
3644 * gdb.pascal/integers.exp
3645 * gdb.python/py-breakpoint.exp
3646 * gdb.python/py-cmd.exp
3647 * gdb.python/py-linetable.exp
3648 * gdb.python/py-xmethods.exp
3649 * gdb.python/python.exp
3650 * gdb.reverse/consecutive-precsave.exp
3651 * gdb.reverse/finish-precsave.exp
3652 * gdb.reverse/i386-precsave.exp
3653 * gdb.reverse/machinestate-precsave.exp
3654 * gdb.reverse/sigall-precsave.exp
3655 * gdb.reverse/solib-precsave.exp
3656 * gdb.reverse/step-precsave.exp
3657 * gdb.reverse/until-precsave.exp
3658 * gdb.reverse/watch-precsave.exp
3659 * gdb.threads/leader-exit.exp
3660 * gdb.threads/pthreads.exp
3661 * gdb.threads/wp-replication.exp
3662 * gdb.trace/actions.exp
3663 * gdb.trace/mi-tsv-changed.exp
3666 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3668 Fix test names starting with uppercase throughout the files.
3670 * gdb.arch/i386-bp_permanent.exp
3671 * gdb.arch/i386-gnu-cfi.exp
3672 * gdb.base/disasm-end-cu.exp
3673 * gdb.base/macscp.exp
3674 * gdb.base/pending.exp
3675 * gdb.base/watch_thread_num.exp
3676 * gdb.cp/exception.exp
3677 * gdb.cp/gdb2495.exp
3679 * gdb.python/py-evsignal.exp
3680 * gdb.python/python.exp
3681 * gdb.trace/tracecmd.exp
3683 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3685 Fix test names starting with uppercase throughout the files.
3687 * gdb.base/charset.exp
3689 * gdb.base/multi-forks.exp
3690 * gdb.guile/scm-progspace.exp
3691 * gdb.opencl/datatypes.exp
3692 * gdb.python/py-block.exp
3693 * gdb.python/py-function.exp
3694 * gdb.python/py-symbol.exp
3695 * gdb.python/py-symtab.exp
3696 * gdb.python/py-xmethods.exp
3697 * gdb.reverse/break-precsave.exp
3698 * gdb.reverse/break-reverse.exp
3699 * gdb.reverse/consecutive-precsave.exp
3700 * gdb.reverse/consecutive-reverse.exp
3701 * gdb.reverse/finish-precsave.exp
3702 * gdb.reverse/finish-reverse-bkpt.exp
3703 * gdb.reverse/finish-reverse.exp
3704 * gdb.reverse/fstatat-reverse.exp
3705 * gdb.reverse/getresuid-reverse.exp
3706 * gdb.reverse/i386-precsave.exp
3707 * gdb.reverse/i386-reverse.exp
3708 * gdb.reverse/i386-sse-reverse.exp
3709 * gdb.reverse/i387-stack-reverse.exp
3710 * gdb.reverse/insn-reverse.exp
3711 * gdb.reverse/machinestate-precsave.exp
3712 * gdb.reverse/machinestate.exp
3713 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3714 * gdb.reverse/pipe-reverse.exp
3715 * gdb.reverse/readv-reverse.exp
3716 * gdb.reverse/recvmsg-reverse.exp
3717 * gdb.reverse/rerun-prec.exp
3718 * gdb.reverse/s390-mvcle.exp
3719 * gdb.reverse/sigall-precsave.exp
3720 * gdb.reverse/sigall-reverse.exp
3721 * gdb.reverse/solib-precsave.exp
3722 * gdb.reverse/solib-reverse.exp
3723 * gdb.reverse/step-precsave.exp
3724 * gdb.reverse/step-reverse.exp
3725 * gdb.reverse/time-reverse.exp
3726 * gdb.reverse/until-precsave.exp
3727 * gdb.reverse/until-reverse.exp
3728 * gdb.reverse/waitpid-reverse.exp
3729 * gdb.reverse/watch-precsave.exp
3730 * gdb.reverse/watch-reverse.exp
3732 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3734 Fix test names starting with uppercase throughout the files.
3736 * gdb.arch/i386-mpx-simple_segv.exp
3737 * gdb.arch/i386-mpx.exp
3738 * gdb.arch/i386-permbkpt.exp
3739 * gdb.arch/pa-nullify.exp
3740 * gdb.arch/powerpc-d128-regs.exp
3741 * gdb.arch/vsx-regs.exp
3742 * gdb.base/bfp-test.exp
3743 * gdb.base/break.exp
3744 * gdb.base/breakpoint-shadow.exp
3745 * gdb.base/callfuncs.exp
3746 * gdb.base/charset.exp
3747 * gdb.base/commands.exp
3748 * gdb.base/completion.exp
3749 * gdb.base/dfp-test.exp
3751 * gdb.base/ending-run.exp
3753 * gdb.base/expand-psymtabs.exp
3754 * gdb.base/float128.exp
3755 * gdb.base/floatn.exp
3756 * gdb.base/foll-exec-mode.exp
3757 * gdb.base/gdb1056.exp
3758 * gdb.base/gdb11531.exp
3759 * gdb.base/kill-after-signal.exp
3760 * gdb.base/multi-forks.exp
3761 * gdb.base/overlays.exp
3762 * gdb.base/pending.exp
3763 * gdb.base/sepdebug.exp
3764 * gdb.base/testenv.exp
3765 * gdb.base/valgrind-db-attach.exp
3766 * gdb.base/watch_thread_num.exp
3767 * gdb.base/watchpoint-cond-gone.exp
3768 * gdb.base/watchpoint.exp
3769 * gdb.base/watchpoints.exp
3770 * gdb.cp/arg-reference.exp
3771 * gdb.cp/baseenum.exp
3772 * gdb.cp/operator.exp
3774 * gdb.dwarf2/dw2-op-out-param.exp
3775 * gdb.dwarf2/dw2-reg-undefined.exp
3778 * gdb.go/integers.exp
3779 * gdb.go/methods.exp
3780 * gdb.go/package.exp
3781 * gdb.guile/scm-parameter.exp
3782 * gdb.guile/scm-progspace.exp
3783 * gdb.guile/scm-value.exp
3784 * gdb.mi/mi-pending.exp
3785 * gdb.mi/user-selected-context-sync.exp
3786 * gdb.multi/multi-attach.exp
3787 * gdb.multi/tids.exp
3788 * gdb.opt/clobbered-registers-O2.exp
3789 * gdb.pascal/floats.exp
3790 * gdb.pascal/integers.exp
3791 * gdb.python/py-block.exp
3792 * gdb.python/py-events.exp
3793 * gdb.python/py-parameter.exp
3794 * gdb.python/py-symbol.exp
3795 * gdb.python/py-symtab.exp
3796 * gdb.python/py-type.exp
3797 * gdb.python/py-value.exp
3798 * gdb.python/py-xmethods.exp
3799 * gdb.python/python.exp
3800 * gdb.reverse/break-precsave.exp
3801 * gdb.reverse/consecutive-precsave.exp
3802 * gdb.reverse/finish-precsave.exp
3803 * gdb.reverse/i386-precsave.exp
3804 * gdb.reverse/machinestate-precsave.exp
3805 * gdb.reverse/sigall-precsave.exp
3806 * gdb.reverse/solib-precsave.exp
3807 * gdb.reverse/step-precsave.exp
3808 * gdb.reverse/until-precsave.exp
3809 * gdb.reverse/watch-precsave.exp
3810 * gdb.server/ext-attach.exp
3811 * gdb.server/ext-restart.exp
3812 * gdb.server/ext-run.exp
3813 * gdb.server/ext-wrapper.exp
3814 * gdb.stabs/gdb11479.exp
3815 * gdb.stabs/weird.exp
3816 * gdb.threads/attach-many-short-lived-threads.exp
3817 * gdb.threads/kill.exp
3818 * gdb.threads/watchpoint-fork.exp
3820 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3822 Fix test names starting with uppercase throughout all the files below.
3824 * gdb.ada/array_return.exp
3825 * gdb.ada/catch_ex.exp
3826 * gdb.ada/info_exc.exp
3827 * gdb.ada/mi_catch_ex.exp
3828 * gdb.ada/mi_dyn_arr.exp
3829 * gdb.ada/mi_ex_cond.exp
3830 * gdb.ada/mi_exc_info.exp
3831 * gdb.ada/mi_interface.exp
3832 * gdb.ada/mi_task_arg.exp
3833 * gdb.ada/mi_task_info.exp
3834 * gdb.ada/mi_var_array.exp
3835 * gdb.arch/alpha-step.exp
3836 * gdb.arch/amd64-disp-step.exp
3837 * gdb.arch/arm-disp-step.exp
3838 * gdb.arch/disp-step-insn-reloc.exp
3839 * gdb.arch/e500-prologue.exp
3840 * gdb.arch/ftrace-insn-reloc.exp
3841 * gdb.arch/gdb1558.exp
3842 * gdb.arch/i386-bp_permanent.exp
3843 * gdb.arch/i386-disp-step.exp
3844 * gdb.arch/i386-float.exp
3845 * gdb.arch/i386-gnu-cfi.exp
3846 * gdb.arch/ia64-breakpoint-shadow.exp
3847 * gdb.arch/mips16-thunks.exp
3848 * gdb.arch/pa-nullify.exp
3849 * gdb.arch/powerpc-aix-prologue.exp
3850 * gdb.arch/powerpc-power.exp
3851 * gdb.arch/ppc-dfp.exp
3852 * gdb.arch/s390-tdbregs.exp
3853 * gdb.arch/spu-info.exp
3854 * gdb.arch/spu-ls.exp
3855 * gdb.arch/thumb-bx-pc.exp
3856 * gdb.base/advance.exp
3857 * gdb.base/annota-input-while-running.exp
3858 * gdb.base/arrayidx.exp
3859 * gdb.base/asmlabel.exp
3860 * gdb.base/async.exp
3861 * gdb.base/attach-wait-input.exp
3862 * gdb.base/auto-connect-native-target.exp
3863 * gdb.base/batch-preserve-term-settings.exp
3864 * gdb.base/bfp-test.exp
3865 * gdb.base/bigcore.exp
3866 * gdb.base/bp-permanent.exp
3867 * gdb.base/break-always.exp
3868 * gdb.base/break-fun-addr.exp
3869 * gdb.base/break-idempotent.exp
3870 * gdb.base/break-main-file-remove-fail.exp
3871 * gdb.base/break-probes.exp
3872 * gdb.base/break-unload-file.exp
3873 * gdb.base/break.exp
3874 * gdb.base/call-ar-st.exp
3875 * gdb.base/call-rt-st.exp
3876 * gdb.base/call-sc.exp
3877 * gdb.base/call-signal-resume.exp
3878 * gdb.base/call-strs.exp
3879 * gdb.base/callexit.exp
3880 * gdb.base/callfuncs.exp
3881 * gdb.base/catch-gdb-caused-signals.exp
3882 * gdb.base/catch-signal-siginfo-cond.exp
3883 * gdb.base/catch-syscall.exp
3884 * gdb.base/compare-sections.exp
3885 * gdb.base/cond-eval-mode.exp
3886 * gdb.base/condbreak-call-false.exp
3887 * gdb.base/consecutive-step-over.exp
3888 * gdb.base/cursal.exp
3889 * gdb.base/disabled-location.exp
3890 * gdb.base/disasm-end-cu.exp
3891 * gdb.base/display.exp
3892 * gdb.base/double-prompt-target-event-error.exp
3893 * gdb.base/dprintf-bp-same-addr.exp
3894 * gdb.base/dprintf-detach.exp
3895 * gdb.base/dprintf-next.exp
3896 * gdb.base/dprintf-non-stop.exp
3897 * gdb.base/dprintf-pending.exp
3898 * gdb.base/dso2dso.exp
3899 * gdb.base/ending-run.exp
3900 * gdb.base/enum_cond.exp
3901 * gdb.base/examine-backward.exp
3902 * gdb.base/exe-lock.exp
3903 * gdb.base/exec-invalid-sysroot.exp
3904 * gdb.base/execl-update-breakpoints.exp
3905 * gdb.base/execution-termios.exp
3906 * gdb.base/fileio.exp
3907 * gdb.base/fixsection.exp
3908 * gdb.base/foll-exec-mode.exp
3909 * gdb.base/foll-exec.exp
3910 * gdb.base/fork-running-state.exp
3911 * gdb.base/frame-args.exp
3912 * gdb.base/fullpath-expand.exp
3913 * gdb.base/func-ptr.exp
3914 * gdb.base/gcore-relro-pie.exp
3915 * gdb.base/gdb1090.exp
3916 * gdb.base/gdb1555.exp
3917 * gdb.base/global-var-nested-by-dso.exp
3918 * gdb.base/gnu-ifunc.exp
3919 * gdb.base/hbreak-in-shr-unsupported.exp
3920 * gdb.base/hbreak-unmapped.exp
3921 * gdb.base/hook-stop.exp
3922 * gdb.base/infcall-input.exp
3923 * gdb.base/info-fun.exp
3924 * gdb.base/info-shared.exp
3925 * gdb.base/interrupt-noterm.exp
3926 * gdb.base/jit-so.exp
3928 * gdb.base/line-symtabs.exp
3930 * gdb.base/longjmp.exp
3931 * gdb.base/macscp.exp
3932 * gdb.base/max-value-size.exp
3933 * gdb.base/nodebug.exp
3934 * gdb.base/nofield.exp
3935 * gdb.base/overlays.exp
3936 * gdb.base/paginate-after-ctrl-c-running.exp
3937 * gdb.base/paginate-bg-execution.exp
3938 * gdb.base/paginate-inferior-exit.exp
3939 * gdb.base/pending.exp
3940 * gdb.base/pr11022.exp
3941 * gdb.base/printcmds.exp
3942 * gdb.base/ptr-typedef.exp
3943 * gdb.base/ptype.exp
3944 * gdb.base/randomize.exp
3945 * gdb.base/range-stepping.exp
3946 * gdb.base/realname-expand.exp
3947 * gdb.base/relativedebug.exp
3948 * gdb.base/remote.exp
3949 * gdb.base/savedregs.exp
3950 * gdb.base/sepdebug.exp
3951 * gdb.base/set-noassign.exp
3952 * gdb.base/shlib-call.exp
3953 * gdb.base/shreloc.exp
3954 * gdb.base/sigaltstack.exp
3955 * gdb.base/sigbpt.exp
3956 * gdb.base/siginfo-addr.exp
3957 * gdb.base/siginfo-obj.exp
3958 * gdb.base/siginfo-thread.exp
3959 * gdb.base/signest.exp
3960 * gdb.base/signull.exp
3961 * gdb.base/sigrepeat.exp
3963 * gdb.base/so-impl-ld.exp
3964 * gdb.base/solib-corrupted.exp
3965 * gdb.base/solib-disc.exp
3966 * gdb.base/solib-display.exp
3967 * gdb.base/solib-overlap.exp
3968 * gdb.base/solib-search.exp
3969 * gdb.base/solib-symbol.exp
3970 * gdb.base/source-execution.exp
3971 * gdb.base/sss-bp-on-user-bp-2.exp
3972 * gdb.base/sss-bp-on-user-bp.exp
3973 * gdb.base/stack-checking.exp
3974 * gdb.base/stale-infcall.exp
3975 * gdb.base/step-break.exp
3976 * gdb.base/step-line.exp
3977 * gdb.base/step-over-exit.exp
3978 * gdb.base/step-test.exp
3979 * gdb.base/structs.exp
3980 * gdb.base/sym-file.exp
3981 * gdb.base/symtab-search-order.exp
3983 * gdb.base/type-opaque.exp
3984 * gdb.base/unload.exp
3985 * gdb.base/until-nodebug.exp
3986 * gdb.base/until.exp
3987 * gdb.base/unwindonsignal.exp
3988 * gdb.base/watch-cond.exp
3989 * gdb.base/watch-non-mem.exp
3990 * gdb.base/watch_thread_num.exp
3991 * gdb.base/watchpoint-reuse-slot.exp
3992 * gdb.base/watchpoint-solib.exp
3993 * gdb.base/watchpoint.exp
3994 * gdb.btrace/dlopen.exp
3996 * gdb.cell/break.exp
4000 * gdb.cell/dwarfaddr.exp
4001 * gdb.cell/ea-cache.exp
4002 * gdb.cell/ea-standalone.exp
4003 * gdb.cell/ea-test.exp
4004 * gdb.cell/f-regs.exp
4006 * gdb.cell/gcore.exp
4007 * gdb.cell/mem-access.exp
4008 * gdb.cell/ptype.exp
4009 * gdb.cell/registers.exp
4010 * gdb.cell/sizeof.exp
4011 * gdb.cell/solib-symbol.exp
4012 * gdb.cell/solib.exp
4013 * gdb.compile/compile-tls.exp
4014 * gdb.cp/exception.exp
4015 * gdb.cp/gdb2495.exp
4017 * gdb.cp/mb-inline.exp
4018 * gdb.cp/mb-templates.exp
4019 * gdb.cp/pr10687.exp
4021 * gdb.cp/scope-err.exp
4022 * gdb.cp/templates.exp
4023 * gdb.cp/virtfunc.exp
4024 * gdb.dwarf2/dw2-dir-file-name.exp
4025 * gdb.dwarf2/dw2-single-line-discriminators.exp
4026 * gdb.fortran/complex.exp
4027 * gdb.fortran/library-module.exp
4028 * gdb.guile/guile.exp
4029 * gdb.guile/scm-cmd.exp
4030 * gdb.guile/scm-frame-inline.exp
4031 * gdb.guile/scm-objfile.exp
4032 * gdb.guile/scm-pretty-print.exp
4033 * gdb.guile/scm-symbol.exp
4034 * gdb.guile/scm-type.exp
4035 * gdb.guile/scm-value.exp
4036 * gdb.linespec/keywords.exp
4037 * gdb.linespec/ls-errs.exp
4038 * gdb.linespec/macro-relative.exp
4039 * gdb.linespec/thread.exp
4040 * gdb.mi/mi-breakpoint-changed.exp
4041 * gdb.mi/mi-dprintf-pending.exp
4042 * gdb.mi/mi-fullname-deleted.exp
4043 * gdb.mi/mi-logging.exp
4044 * gdb.mi/mi-pending.exp
4045 * gdb.mi/mi-solib.exp
4046 * gdb.mi/new-ui-mi-sync.exp
4047 * gdb.mi/user-selected-context-sync.exp
4048 * gdb.multi/dummy-frame-restore.exp
4049 * gdb.multi/multi-arch-exec.exp
4050 * gdb.multi/remove-inferiors.exp
4051 * gdb.multi/watchpoint-multi-exit.exp
4052 * gdb.opt/solib-intra-step.exp
4053 * gdb.perf/backtrace.exp
4054 * gdb.perf/single-step.exp
4055 * gdb.perf/skip-command.exp
4056 * gdb.perf/skip-prologue.exp
4057 * gdb.perf/solib.exp
4058 * gdb.python/lib-types.exp
4059 * gdb.python/py-as-string.exp
4060 * gdb.python/py-bad-printers.exp
4061 * gdb.python/py-block.exp
4062 * gdb.python/py-breakpoint.exp
4063 * gdb.python/py-cmd.exp
4064 * gdb.python/py-events.exp
4065 * gdb.python/py-evthreads.exp
4066 * gdb.python/py-finish-breakpoint.exp
4067 * gdb.python/py-finish-breakpoint2.exp
4068 * gdb.python/py-frame-inline.exp
4069 * gdb.python/py-frame.exp
4070 * gdb.python/py-inferior.exp
4071 * gdb.python/py-infthread.exp
4072 * gdb.python/py-mi.exp
4073 * gdb.python/py-objfile.exp
4074 * gdb.python/py-pp-maint.exp
4075 * gdb.python/py-pp-registration.exp
4076 * gdb.python/py-prettyprint.exp
4077 * gdb.python/py-recurse-unwind.exp
4078 * gdb.python/py-shared.exp
4079 * gdb.python/py-symbol.exp
4080 * gdb.python/py-symtab.exp
4081 * gdb.python/py-template.exp
4082 * gdb.python/py-type.exp
4083 * gdb.python/py-unwind-maint.exp
4084 * gdb.python/py-unwind.exp
4085 * gdb.python/py-value.exp
4086 * gdb.python/python.exp
4087 * gdb.reverse/finish-reverse-bkpt.exp
4088 * gdb.reverse/insn-reverse.exp
4089 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4090 * gdb.reverse/solib-precsave.exp
4091 * gdb.reverse/solib-reverse.exp
4092 * gdb.stabs/gdb11479.exp
4093 * gdb.stabs/weird.exp
4094 * gdb.threads/fork-child-threads.exp
4095 * gdb.threads/fork-plus-threads.exp
4096 * gdb.threads/fork-thread-pending.exp
4097 * gdb.threads/forking-threads-plus-breakpoint.exp
4098 * gdb.threads/hand-call-in-threads.exp
4099 * gdb.threads/interrupted-hand-call.exp
4100 * gdb.threads/linux-dp.exp
4101 * gdb.threads/local-watch-wrong-thread.exp
4102 * gdb.threads/next-while-other-thread-longjmps.exp
4103 * gdb.threads/non-ldr-exit.exp
4104 * gdb.threads/pending-step.exp
4105 * gdb.threads/print-threads.exp
4106 * gdb.threads/process-dies-while-detaching.exp
4107 * gdb.threads/process-dies-while-handling-bp.exp
4108 * gdb.threads/pthreads.exp
4109 * gdb.threads/queue-signal.exp
4110 * gdb.threads/reconnect-signal.exp
4111 * gdb.threads/signal-command-handle-nopass.exp
4112 * gdb.threads/signal-command-multiple-signals-pending.exp
4113 * gdb.threads/signal-delivered-right-thread.exp
4114 * gdb.threads/signal-sigtrap.exp
4115 * gdb.threads/sigthread.exp
4116 * gdb.threads/staticthreads.exp
4117 * gdb.threads/stepi-random-signal.exp
4118 * gdb.threads/thread-unwindonsignal.exp
4119 * gdb.threads/thread_check.exp
4120 * gdb.threads/thread_events.exp
4121 * gdb.threads/tid-reuse.exp
4122 * gdb.threads/tls-nodebug.exp
4123 * gdb.threads/tls-shared.exp
4124 * gdb.threads/tls-so_extern.exp
4125 * gdb.threads/tls.exp
4126 * gdb.threads/wp-replication.exp
4127 * gdb.trace/actions-changed.exp
4128 * gdb.trace/actions.exp
4129 * gdb.trace/backtrace.exp
4130 * gdb.trace/change-loc.exp
4131 * gdb.trace/collection.exp
4132 * gdb.trace/deltrace.exp
4133 * gdb.trace/disconnected-tracing.exp
4134 * gdb.trace/entry-values.exp
4135 * gdb.trace/ftrace-lock.exp
4136 * gdb.trace/ftrace.exp
4137 * gdb.trace/infotrace.exp
4138 * gdb.trace/mi-trace-frame-collected.exp
4139 * gdb.trace/mi-trace-unavailable.exp
4140 * gdb.trace/mi-traceframe-changed.exp
4141 * gdb.trace/mi-tracepoint-changed.exp
4142 * gdb.trace/mi-tsv-changed.exp
4143 * gdb.trace/no-attach-trace.exp
4144 * gdb.trace/packetlen.exp
4145 * gdb.trace/passc-dyn.exp
4146 * gdb.trace/passcount.exp
4147 * gdb.trace/pending.exp
4148 * gdb.trace/pr16508.exp
4149 * gdb.trace/qtro.exp
4150 * gdb.trace/range-stepping.exp
4151 * gdb.trace/read-memory.exp
4152 * gdb.trace/report.exp
4153 * gdb.trace/save-trace.exp
4154 * gdb.trace/signal.exp
4155 * gdb.trace/stap-trace.exp
4156 * gdb.trace/status-stop.exp
4157 * gdb.trace/strace.exp
4158 * gdb.trace/tfile.exp
4159 * gdb.trace/tfind.exp
4160 * gdb.trace/trace-break.exp
4161 * gdb.trace/trace-condition.exp
4162 * gdb.trace/trace-enable-disable.exp
4163 * gdb.trace/trace-mt.exp
4164 * gdb.trace/tracecmd.exp
4165 * gdb.trace/tracefile-pseudo-reg.exp
4166 * gdb.trace/tspeed.exp
4167 * gdb.trace/tstatus.exp
4169 * gdb.trace/unavailable.exp
4170 * gdb.trace/while-dyn.exp
4171 * gdb.trace/while-stepping.exp
4174 * lib/mi-support.exp
4177 * lib/prelink-support.exp
4178 * lib/selftest-support.exp
4180 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
4182 * Makefile.in: Include disable-implicit-rules.mk.
4184 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4186 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
4187 non-byte-aligned bit fields.
4189 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4192 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
4193 respects the DW_AT_data_bit_offset attribute.
4195 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
4197 * gdb.base/default.exp: Fix output of "set language".
4199 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
4201 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
4202 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
4204 * configure.ac: Remove checks for the make program.
4205 * configure: Re-generate.
4207 2016-11-16 Kevin Buettner <kevinb@redhat.com>
4209 * gdb.python/py-recurse-unwind.c (main): Add loop.
4210 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
4211 to read_register() and gdb.parse_and_eval(). Make each code
4212 call a separate case that can be individually tested.
4213 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
4214 proc. Call cont_and_backtrace for each of the code paths that
4215 we want to test in the unwinder.
4217 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
4219 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
4220 the definition of struct S.
4222 2016-11-11 Catherine Moore <clm@codesourcery.com>
4224 * gdb.base/dump.exp: Identify verilog format dump tests as such.
4226 2016-11-09 Pedro Alves <palves@redhat.com>
4228 * gdb.base/commands.exp (runto_or_return): New procedure.
4229 (gdbvar_simple_if_test, gdbvar_simple_while_test)
4230 (gdbvar_complex_if_while_test, progvar_simple_if_test)
4231 (progvar_simple_while_test, progvar_complex_if_while_test)
4232 (if_while_breakpoint_command_test)
4233 (infrun_breakpoint_command_test, breakpoint_command_test)
4234 (user_defined_command_test, watchpoint_command_test)
4235 (test_command_prompt_position, redefine_hook_test)
4236 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
4237 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
4238 multi_line_input and multi_line. Remove gdb_expect and
4239 gdb_stop_suppressing_tests uses.
4240 * lib/gdb.exp (valnum_re): New global.
4241 (multi_line_input): New procedure.
4243 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
4245 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
4247 (test_setup): Define with proc_with_prefix.
4248 (test_cli_inferior): Likewise.
4249 (test_cli_thread): Likewise.
4250 (test_cli_frame): Likewise.
4251 (test_cli_select_frame): Likewise.
4252 (test_cli_up_down): Likewise.
4253 (test_mi_thread_select): Likewise.
4254 (test_mi_stack_select_frame): Likewise.
4255 (test_cli_in_mi_inferior): Likewise.
4256 (test_cli_in_mi_thread): Likewise.
4257 (test_cli_in_mi_frame): Likewise.
4258 (top level): Do not use with_test_prefix_procname.
4260 2016-11-09 Pedro Alves <palves@redhat.com>
4262 * gdb.base/commands.exp (gdbvar_simple_if_test)
4263 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
4264 (progvar_simple_if_test, progvar_simple_while_test)
4265 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
4266 (infrun_breakpoint_command_test, breakpoint_command_test)
4267 (user_defined_command_test, watchpoint_command_test)
4268 (test_command_prompt_position, deprecated_command_test)
4269 (bp_deleted_in_command, temporary_breakpoint_commands)
4270 (stray_arg0_test, source_file_with_indented_comment)
4271 (recursive_source_test, if_commands_test)
4272 (error_clears_commands_left, redefine_hook_test)
4273 (redefine_backtrace_test): Use proc_with_prefix.
4274 * lib/gdb.exp (proc_with_prefix): New proc.
4276 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4278 * gdb.base/tui-layout.c: New file.
4279 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
4280 disassembly window contains very long lines.
4282 2016-11-08 Tom Tromey <tom@tromey.com>
4284 * gdb.python/py-value.exp (test_value_creation): Make "long" test
4287 2016-11-08 Tom Tromey <tom@tromey.com>
4289 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
4292 2016-10-29 Manish Goregaokar <manish@mozilla.com>
4294 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
4296 2016-10-27 Manish Goregaokar <manish@mozilla.com>
4298 * gdb.rust/simple.rs: Add test for univariant enums without
4299 discriminants and for encoded struct-like enums.
4301 2016-10-28 Pedro Alves <palves@redhat.com>
4303 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
4304 gdb_test_multiple, tighten regexps and match symtabs and line
4305 tables incrementally.
4307 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
4309 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
4312 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
4314 * gdb.base/exec-invalid-sysroot.exp: New file.
4316 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4318 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
4320 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4322 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
4324 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
4326 * gdb.base/killed-outside.exp: Remove $options from a call to
4327 `prepare_for_testing'.
4329 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4331 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4332 Change test message.
4334 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4336 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4339 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4341 * gdb.trace/mi-trace-save.exp: New file.
4343 2016-10-13 Yao Qi <yao.qi@linaro.org>
4345 * gdb.base/code_elim.exp (get_var_address): Remove.
4346 * gdb.base/relocate.exp: Likewise.
4347 * gdb.base/shreloc.exp: Likewise.
4348 * lib/gdb.exp (get_var_address): New.
4350 2016-10-13 Yao Qi <yao.qi@linaro.org>
4352 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
4353 floating point tests if $skip_float_test is false.
4355 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
4357 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
4358 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
4360 Add 1 to argc so we guarantee distinct initial/modified argc values.
4362 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4364 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
4366 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4368 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
4369 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
4370 * gdb.arch/vsx-regs.exp: Likewise.
4372 2016-10-07 Yao Qi <yao.qi@linaro.org>
4374 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
4376 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
4378 * gdb.python/python.exp: Test decode_line("*0").
4380 2016-10-06 Doug Evans <dje@google.com>
4382 * gdb.python/py-value.exp (test_value_creation): Add test for large
4383 unsigned 64-bit value.
4385 2016-10-06 Tom Tromey <tom@tromey.com>
4387 * gdb.compile/compile.exp: Change java tests to rust.
4388 * gdb.base/setshow.exp: Change java tests to rust.
4389 * gdb.base/default.exp: Remove java from language list.
4390 * README (Examples): Update language example.
4391 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
4393 * lib/gdb.exp (skip_java_tests): Remove.
4394 * lib/java.exp: Remove.
4397 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4399 * gdb.arch/mips-fcr.exp: New test.
4400 * gdb.arch/mips-fcr.c: Source for the new test.
4402 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4404 * gdb.base/solib-disc.exp: Use `standard_output_file'
4407 2016-10-06 Pedro Alves <palves@redhat.com>
4409 * gdb.base/jit-simple-dl.c: New file.
4410 * gdb.base/jit-simple-jit.c: New file, factored out from ...
4411 * gdb.base/jit-simple.c: ... this.
4412 * gdb.base/jit-simple.exp (jit_run): Delete.
4413 (build_jit): New proc.
4414 (jit_test_reread): Recompile either the main program or the shared
4415 library, depending on what is being tested. Skip changing address
4416 if caller wants to. Compare before/after addresses. If testing
4417 standalone, explicitly load the binary. Test "maint info
4419 (top level): Add "standalone vs shared lib" and "change address"
4420 vs "same address" axes.
4422 2016-10-06 Pedro Alves <palves@redhat.com>
4424 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
4427 (jit_test_reread): Use with_test_prefix. Reload the main binary
4428 explicitly. Compare the before/after addresses of the JIT
4431 2016-08-15 Doug Evans <dje@google.com>
4433 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4434 for single bitfields is bool.
4435 * gdb.xml/tdesc-regs.exp: Ditto.
4437 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4439 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4441 2016-10-05 Yao Qi <yao.qi@linaro.org>
4443 * lib/gdb.exp (support_complex_tests): Return zero if
4444 gdb_skip_float_test return true.
4446 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4447 Simon Marchi <simon.marchi@ericsson.com>
4450 * gdb.mi/user-selected-context-sync.exp: New file.
4451 * gdb.mi/user-selected-context-sync.c: New file.
4453 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4454 Simon Marchi <simon.marchi@ericsson.com>
4457 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
4458 =thread-select-event check.
4460 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
4462 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4463 the compulsory L operand changes.
4464 * gdb.arch/powerpc-power.s: Likewise.
4466 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4468 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
4469 * gdb.base/jit-attach-pie.c: New file.
4470 * gdb.base/jit-attach-pie.exp: New file.
4472 2016-09-28 Pedro Alves <palves@redhat.com>
4474 * gdb.base/infcall-input.c: New file.
4475 * gdb.base/infcall-input.exp: New file.
4477 2016-09-22 Yao Qi <yao.qi@linaro.org>
4479 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
4480 (gdb_exit): Rename it to ...
4481 (gdbserver_gdb_exit): ... Close GDBserver.
4482 (gdb_exit): New proc, call gdbserver_gdb_exit.
4483 (mi_gdb_exit): Likewise.
4485 2016-09-22 Yao Qi <yao.qi@linaro.org>
4487 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4489 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4492 2016-09-22 Yao Qi <yao.qi@linaro.org>
4494 * lib/gdbserver-support.exp: Check the existence of
4495 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4497 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
4499 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4501 2016-09-21 Tom Tromey <tom@tromey.com>
4504 * gdb.base/quit.exp: New file.
4506 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
4508 * .gitignore: New file.
4510 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
4512 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4515 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4517 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4519 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4521 * gdb.cp/casts.cc (decltype): Move it ...
4522 (main): ... with its call to ...
4523 * gdb.cp/casts03.cc: ... a new file.
4524 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4526 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4528 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4530 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
4532 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
4533 and sync up the test with tests in gas/testsuite/gas/ppc.
4534 * gdb.arch/powerpc-power.exp: Likewise.
4536 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4538 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4540 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
4541 Jan Kratochvil <jan.kratochvil@redhat.com>
4543 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4544 make m1's definition to be different from m2's. Use 'dummy' as an
4545 argument for probe 'two'.
4547 2016-09-10 Jon Beniston <jon@beniston.com>
4549 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4552 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4554 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4555 variable declaration.
4556 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
4557 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4558 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4559 received HWCAP as its argument.
4561 2016-09-06 Pedro Alves <palves@redhat.com>
4563 * gdb.base/new-ui-pending-input.c: New file.
4564 * gdb.base/new-ui-pending-input.exp: New file.
4565 * gdb.exp (clear_gdb_spawn_id): New procedure.
4566 (with_spawn_id): Check whether gdb_spawn_id exists before
4567 referencing it. If gdb_spawn_id didn't exist on entry, clear it
4570 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4572 * gdb.base/float128.c: New file.
4573 * gdb.base/float128.exp: Likewise.
4574 * gdb.base/floatn.c: Likewise.
4575 * gdb.base/floatn.exp: Likewise.
4577 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4579 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4581 2016-09-05 Pedro Alves <palves@redhat.com>
4584 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4585 unwinders are immediately called as side effect of "source" or
4586 "disable unwinder" commands.
4587 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
4589 2016-09-02 Yao Qi <yao.qi@linaro.org>
4591 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4592 is true and $type is "float" or "double".
4594 2016-09-02 Yao Qi <yao.qi@linaro.org>
4596 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
4598 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
4599 * gdb.base/call-rt-st.exp: Likewise.
4600 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
4601 return value instead of gdb,skip_float_test.
4602 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
4603 (do_function_calls): Use its return value instead of
4604 gdb,skip_float_test.
4605 * gdb.base/finish.exp: Likewise.
4606 * gdb.base/funcargs.exp: Likewise.
4607 * gdb.base/return.exp: Likewise.
4608 * gdb.base/return2.exp: Likewise.
4609 * gdb.base/varargs.exp: Likewise.
4610 * lib/gdb.exp (gdb_skip_float_test): Change it to
4611 gdb_caching_proc. Detect the broken ptrace on arm-linux.
4613 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4615 * gdb.multi/tids.exp: Test "thread apply all".
4617 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4619 * gdb.base/default.exp (tty): Remove.
4621 2016-08-24 Kevin Buettner <kevinb@redhat.com>
4623 * gdb.python/py-recurse-unwind.c: New file.
4624 * gdb.python/py-recurse-unwind.py: New file.
4625 * gdb.python/py-recurse-unwind.exp: New file.
4627 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
4629 * gdb.base/set-inferior-tty.exp: New file.
4630 * gdb.base/set-inferior-tty.c: New file.
4632 2016-08-23 Pedro Alves <palves@redhat.com>
4635 * gdb.base/new-ui-echo.c: New file.
4636 * gdb.base/new-ui-echo.exp: New file.
4638 2016-08-23 Yao Qi <yao.qi@linaro.org>
4640 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
4642 * gdb.server/connect-without-multi-process.exp (do_test):
4645 2016-08-23 Yao Qi <yao.qi@linaro.org>
4647 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4648 standalone_txt. Delete gdb_txt and standalone_txt on host
4649 and target. Spawn the binary on target. Copy files from
4652 2016-08-22 Pedro Alves <palves@redhat.com>
4655 * gdb.base/vdso-warning.exp: Test core dumps too. Use
4656 with_test_prefix. Factor out bits to ...
4657 (test_no_vdso): ... this new procedure.
4659 2016-08-19 Carl Love <cel@us.ibm.com>
4661 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4662 maintaining separate logic for constructing the output path.
4663 * gdb.arch/powerpc-d128-regs.exp: Likewise.
4664 * gdb.arch/ppc-dfp.exp: Likewise.
4665 * gdb.arch/ppc-fp.exp: Likewise.
4666 * gdb.arch/vsx-regs.exp: Likewise.
4667 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
4668 binprefix for generating the additional binary files.
4670 2016-08-19 Pedro Alves <palves@redhat.com>
4672 * gdb.trace/mi-trace-frame-collected.exp
4673 (test_trace_frame_collected): On x32, expect two registers.
4675 2016-08-18 Carl Love <cel@us.ibm.com>
4677 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
4678 and sync up the test with tests in gas/testsuite/gas/ppc.
4679 * gdb.arch/powerpc-power.exp: Likewise.
4681 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4683 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
4684 expected error message.
4686 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4688 * gdb.multi/remove-inferiors.exp: New file.
4689 * gdb.multi/remove-inferiors.c: New file.
4691 2016-08-12 Yao Qi <yao.qi@linaro.org>
4693 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
4696 2016-08-10 Pedro Alves <palves@redhat.com>
4699 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
4702 2016-08-09 Pedro Alves <palves@redhat.com>
4703 Simon Marchi <simon.marchi@ericsson.com>
4706 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
4707 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
4709 2016-08-09 Pedro Alves <palves@redhat.com>
4712 * gdb.mi/mi-cmd-error.exp: New file.
4714 2016-08-09 Pedro Alves <palves@redhat.com>
4717 * gdb.base/signals-state-child.c: New file.
4718 * gdb.base/signals-state-child.exp: New file.
4719 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
4721 2016-08-09 Pedro Alves <palves@redhat.com>
4723 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4725 2016-08-03 Tom Tromey <tom@tromey.com>
4728 * gdb.python/py-frame-inline.exp: Add Frame.function test.
4730 2016-08-01 Yao Qi <yao.qi@linaro.org>
4732 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
4733 variable mode to "multi-process" if $multi_process is 1, otherwise
4734 set it to "single-process".
4736 2016-08-01 Yao Qi <yao.qi@linaro.org>
4738 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
4739 * gdb.cp/cpexprs.exp: Likewise.
4740 * gdb.cp/m-static.exp: Likewise.
4742 2016-07-26 Tom Tromey <tom@tromey.com>
4745 * gdb.threads/tls.exp (check_thread_local): Add python symbol
4748 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
4750 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4751 selecting assembly source files.
4752 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
4753 assembly source files.
4754 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
4755 assembly source files.
4756 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
4757 selecting assembly source files.
4759 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
4761 * gdb.base/new-ui.exp (do_test_invalid_args): New
4764 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
4766 * gdb.btrace/reconnect.c: New file.
4767 * gdb.btrace/reconnect.exp: New file.
4769 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
4771 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
4772 to test_catch_syscall_group.
4773 (test_catch_syscall_group): New.
4775 2016-07-21 Tom Tromey <tom@tromey.com>
4777 * gdb.rust/simple.rs (main): Use empty struct expression.
4778 * gdb.rust/simple.exp: Add tests for empty struct expression.
4780 2016-07-21 Yao Qi <yao.qi@linaro.org>
4782 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
4783 if gdb_skip_xml_test is true on some targets.
4785 2016-07-21 Yao Qi <yao.qi@linaro.org>
4787 * gdb.server/solib-list.exp: Unset last_loaded_file.
4789 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4791 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
4792 "step into captured_main (args)".
4794 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4796 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
4798 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4800 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
4802 2016-07-19 Pedro Alves <palves@redhat.com>
4804 * gdb.opt/inline-break.exp: Remove optimize=-O2.
4805 * gdb.opt/inline-bt.exp: Likewise.
4806 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
4807 additional_flags=-Winline.
4808 * gdb.opt/inline-locals.exp: Likewise.
4809 * gdb.opt/inline-markers.c (ATTR): Define.
4810 (inlined_fn): Use it.
4812 2016-07-19 Yao Qi <yao.qi@linaro.org>
4814 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
4815 (test_with_self): Remove some code. Remove argument executable.
4816 (top-level): Use do_self_tests.
4818 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
4819 Don Breazeal <donb@codesourcery.com>
4821 * gdb.base/maint.exp: Escape paths used in regular expressions.
4822 * gdb.stabs/weird.exp: Likewise.
4824 2016-07-13 Tom Tromey <tom@tromey.com>
4826 PR python/15620, PR python/18620:
4827 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
4828 (test_bkpt_events): New procs.
4830 2016-07-13 Tom Tromey <tom@tromey.com>
4833 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
4835 (test_watchpoints): Likewise.
4836 (test_bkpt_pending): New proc.
4838 2016-07-13 Tom Tromey <tom@tromey.com>
4841 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
4844 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4846 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
4847 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
4848 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
4850 (g): Rename g_end_lbl to g_label.
4851 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
4853 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
4855 2016-07-12 Tom Tromey <tom@tromey.com>
4858 * gdb.python/py-unwind-maint.exp: Update tests.
4860 2016-07-12 Yao Qi <yao.qi@linaro.org>
4862 * lib/selftest-support.exp (selftest_setup): Match the output
4863 when captured_main is inlined.
4865 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4867 * gdb.fortran/derived-types.exp (result_line, result_line_2):
4869 (print this%a, print this%b, print this): New tests.
4870 * gdb.fortran/derived-types.f90 (this): New object and
4873 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4875 * gdb.ada/arraydim.exp: Remove extra directory level in build
4878 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4880 * lib/ada.exp: Remove extra directory level in build directory.
4881 * gdb.ada/cond_lang.exp: Likewise.
4882 * gdb.ada/exec_changed.exp: Likewise.
4883 * gdb.ada/lang_switch.exp: Likewise.
4885 2016-07-06 Manish Goregaokar <manish@mozilla.com>
4887 * simple.rs: Add test for raw pointer subscripting.
4888 * simple.exp: Add test expectations.
4890 2016-07-05 Yao Qi <yao.qi@linaro.org>
4892 * gdb.mi/mi-reverse.exp: Match =record-started output.
4894 2016-07-01 Pedro Alves <palves@redhat.com>
4896 * gdb.base/jit-reader.exp (info_registers_current_frame): New
4898 (jit_reader_test): Test the jit reader's unwinder.
4899 * gdb.base/jithost.c (jit_function_00_code): New global.
4900 (main): Use memcpy to fill in the mmapped code, instead of poking
4901 bytes manually here.
4902 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
4904 (read_debug_info): Save the function's range.
4905 (read_sp): New function.
4906 (unwind_frame): Use it. Also unwind RBP.
4907 (get_frame_id): Use read_sp.
4908 (gdb_init_reader): Use calloc instead of malloc.
4909 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
4910 parameter. Use gdb_test_multiple.
4912 2016-07-01 Pedro Alves <palves@redhat.com>
4913 Antoine Tremblay <antoine.tremblay@ericsson.com>
4915 * gdb.threads/process-dies-while-detaching.c: New file.
4916 * gdb.threads/process-dies-while-detaching.exp: New file.
4918 2016-07-01 Pedro Alves <palves@redhat.com>
4920 * gdb.multi/watchpoint-multi-exit.c: New file.
4921 * gdb.multi/watchpoint-multi-exit.exp: New file.
4923 2016-06-30 Pedro Alves <palves@redhat.com>
4925 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
4926 unset inferior_spawn_id.
4928 2016-06-30 Pedro Alves <palves@redhat.com>
4930 * lib/mi-support.exp (default_mi_gdb_start): Declare global
4931 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
4933 2016-06-29 Yao Qi <yao.qi@linaro.org>
4935 * gdb.base/return.c: Add copyright header.
4937 2016-06-29 Tom Tromey <tom@tromey.com>
4940 * gdb.python/py-framefilter.exp: Add tests for setting priority
4941 and disabling of non-existent frame filter.
4943 2016-06-29 Yao Qi <yao.qi@linaro.org>
4945 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
4948 2016-06-28 Yao Qi <yao.qi@linaro.org>
4950 * gdb.base/catch-syscall.exp: Remove check on isnative and target
4951 triplets. Start gdb, execute catch syscall, and continue. Check
4952 gdb's output to determine catch syscall is supported.
4954 2016-06-27 Manish Goregaokar <manish@mozilla.com>
4956 * gdb.rust/simple.rs: Add test for returning unit in a function.
4957 * gdb.rust/simple.exp: Add expectation for functions returning
4960 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
4962 * gdb.python/py-breakpoint-create-fail.c,
4963 gdb.python/py-breakpoint-create-fail.exp,
4964 gdb.python/py-breakpoint-create-fail.py: New testcase.
4966 2016-06-25 Manish Goregaokar <manish@mozilla.com>
4969 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
4970 * gdb.rust/simple.exp: Add test expectations for new NonZero
4973 2016-06-24 David Taylor <dtaylor@emc.com>
4975 * gdb.base/offsets.exp: New file.
4976 * gdb.base/offsets.c: New file.
4978 2016-06-23 Tom Tromey <tom@tromey.com>
4981 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
4982 before any filters are loaded.
4984 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
4986 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
4987 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
4989 * gdb.fortran/derived-type-function.exp: New file.
4990 * gdb.fortran/derived-type-function.f90: New file.
4993 2016-06-21 Pedro Alves <palves@redhat.com>
4995 * gdb.base/new-ui.exp: New file.
4996 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
4997 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
4998 (with_spawn_id): New procedure.
5000 2016-06-21 Pedro Alves <palves@redhat.com>
5002 * gdb.mi/mi-exec-run.exp: New file.
5004 2016-06-21 Pedro Alves <palves@redhat.com>
5006 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
5007 breakpoint command's output on the main UI.
5008 (test_break): New procedure, factored out from calls in the top
5010 (top level): Use foreach_with_prefix to test MI as main UI and as
5013 2016-06-21 Pedro Alves <palves@redhat.com>
5015 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
5016 (test_awatch_creation_and_listing)
5017 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
5018 Remove 'type' parameter.
5019 (test_watchpoint_all): New parameter mi_mode. Remove
5021 (top level): Use foreach_with_prefix, and add main/separate UI MI
5024 2016-06-21 Pedro Alves <palves@redhat.com>
5026 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
5027 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
5028 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
5029 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
5030 (gdb_main_spawn_id, mi_spawn_id): Declare and
5032 (mi_create_inferior_pty): New procedure,
5033 factored out from default_mi_gdb_start.
5034 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
5036 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
5037 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
5038 Use mi_create_inferior_pty.
5039 (mi_gdb_start): Use eval to pass down args list.
5041 2016-06-21 Pedro Alves <palves@redhat.com>
5043 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
5044 * gdb.opt/inline-cmds.exp: Add MI tests.
5046 2016-06-21 Pedro Alves <palves@redhat.com>
5048 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
5050 2016-06-21 Pedro Alves <palves@redhat.com>
5052 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
5053 (top level): Use it instead of mi_execute_to.
5055 2016-06-21 Pedro Alves <palves@redhat.com>
5057 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
5058 (cont_handler_str): New.
5059 (signal_stop_handler): Set stop_handler_str instead of printing to
5061 (continue_handler): Set cont_handler_str instead of printing to
5063 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
5064 mi_send_resuming_command. Print stop_handler_str and
5065 cont_handler_str instead of expecting the python events print
5068 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
5070 * gdb.base/jit-reader.exp: New file.
5071 * gdb.base/jithost.c: New file.
5072 * gdb.base/jithost.h: New file.
5073 * gdb.base/jitreader.c : New file.
5074 * gdb.base/jit-protocol.h: New file.
5076 2016-06-17 Yao Qi <yao.qi@linaro.org>
5078 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
5079 parameters follow_fork and detach_on_fork. Set follow-fork-mode
5080 and detach-on-fork. Adjust tests.
5081 (top level): Invoke break_cond_on_syscall with combinations of
5082 syscall, follow-fork-mode and detach-on-fork.
5084 2016-06-17 Yao Qi <yao.qi@linaro.org>
5086 * gdb.base/step-over-exit.c: New.
5087 * gdb.base/step-over-exit.exp: New.
5089 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
5091 * gdb.base/float.exp: Add target check for nds32*-*-*.
5092 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
5094 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
5096 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
5097 for unsupported target features.
5098 * gdb.base/call-rt-st.exp: Likewise.
5099 * gdb.base/call-sc.exp: Likewise.
5100 * gdb.base/call-signal-resume.exp: Likewise.
5101 * gdb.base/call-strs.exp: Likewise.
5102 * gdb.base/callexit.exp: Likewise.
5103 * gdb.base/callfuncs.exp: Likewise.
5104 * gdb.base/nodebug.exp: Likewise.
5105 * gdb.base/printcmds.exp: Likewise.
5106 * gdb.base/ptype.exp: Likewise.
5107 * gdb.base/structs.exp: Likewise.
5108 * gdb.base/unwindonsignal.exp: Likewise.
5109 * gdb.cp/gdb2495.exp: Likewise.
5110 * gdb.cp/templates.exp: Likewise.
5111 * gdb.cp/virtfunc.exp: Likewise.
5112 * gdb.threads/hand-call-in-threads.exp: Likewise.
5113 * gdb.threads/interrupted-hand-call.exp: Likewise.
5114 * gdb.threads/thread-unwindonsignal.exp: Likewise.
5116 2016-06-10 Tom Tromey <tom@tromey.com>
5119 * gdb.rust/expr.exp: Add test for integer constant larger than
5122 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
5124 * gdb.fortran/nested-funcs.exp: New.
5125 * gdb.fortran/nested-funcs.f90: New.
5127 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
5129 * gdb.base/examine-backward.c: New file.
5130 * gdb.base/examine-backward.exp: New file.
5132 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
5134 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
5137 2016-06-02 Tom Tromey <tom@tromey.com>
5140 * gdb.python/py-shared.exp: Add solib_name test.
5142 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
5144 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
5146 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
5149 * gdb.dwarf2/implref.exp: Rename to...
5150 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
5151 * gdb.dwarf2/implref-array.c: New file.
5152 * gdb.dwarf2/implref-array.exp: Likewise.
5153 * gdb.dwarf2/implref-global.c: Likewise.
5154 * gdb.dwarf2/implref-global.exp: Likewise.
5155 * gdb.dwarf2/implref-struct.c: Likewise.
5156 * gdb.dwarf2/implref-struct.exp: Likewise.
5158 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5160 * gdb.trace/trace-condition.exp: Add 64bit tests.
5162 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5164 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
5166 (main): Adapt to 8 to 64 bits types.
5167 * gdb.trace/trace-condition.exp: Add new tests.
5169 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5171 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
5173 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5175 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
5176 Move condition tests...
5177 * gdb.trace/trace-condition.exp: Here.
5179 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5181 * gdb.trace/trace-condition.exp: Add counter-case tests.
5183 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5186 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
5187 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
5189 2016-05-27 Pedro Alves <palves@redhat.com>
5191 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5193 (top level): Call it, and bail out of DejaGnu is known to be bad.
5195 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
5197 * gdb.base/whatis.c: Extend the test case.
5198 * gdb.base/whatis.exp: Add additional tests.
5200 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5202 * gdb.fortran/type.f90: Add pointer variable.
5203 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
5205 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5207 * gdb.fortran/vla-type.exp: Fix testcase name.
5209 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5211 * gdb.fortran/vla-type.exp: Access elements in nested structs.
5213 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5215 * gdb.fortran/type.f90: Add nested structures.
5216 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
5217 * gdb.fortran/derived-type.exp: Adapt expected output.
5218 * gdb.fortran/vla-type.exp: Adapt expected output.
5220 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5222 * gdb.fortran/whatis_type.exp: Adapt expected output.
5224 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5226 * gdb.fortran/print_type.exp: Fix expected output.
5227 * gdb.fortran/whatis_type.exp: Fix expected output.
5229 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5231 * gdb.fortran/whatis_type.exp: Use multi_line.
5233 2016-05-24 Tom Tromey <tom@tromey.com>
5236 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
5237 use value as an index.
5239 2016-05-23 Tom Tromey <tom@tromey.com>
5242 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
5245 2016-05-24 Pedro Alves <palves@redhat.com>
5248 * gdb.threads/clone-attach-detach.c: New file.
5249 * gdb.threads/clone-attach-detach.exp: New file.
5251 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
5253 * gdb.base/annota-input-while-running.exp: Fix syntax error.
5255 2016-05-23 Tom Tromey <tom@tromey.com>
5257 PR python/19438, PR python/18393:
5258 * gdb.python/py-progspace.exp: Add "dir" test.
5259 * gdb.python/py-objfile.exp: Add "dir" test.
5261 2016-05-23 Yao Qi <yao.qi@linaro.org>
5263 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
5264 * gdb.arch/thumb2-it.exp: Likewise.
5266 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
5268 * gdb.mi/mi-threads-interrupt.c: New file.
5269 * gdb.mi/mi-threads-interrupt.exp: New file.
5271 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
5274 * gdb.mi/mi-async-run.exp: New file.
5275 * gdb.mi/mi-async-run.c: New file.
5277 2016-05-17 Tom Tromey <tom@tromey.com>
5278 Manish Goregaokar <manishsmail@gmail.com>
5280 * lib/rust-support.exp: New file.
5281 * lib/gdb.exp (skip_rust_tests): New proc.
5282 (build_executable_from_specs): Handle rust.
5283 * lib/future.exp (gdb_find_rustc): New proc.
5284 (gdb_default_target_compile): Handle rust.
5285 * gdb.rust/expr.exp: New file.
5286 * gdb.rust/generics.exp: New file.
5287 * gdb.rust/generics.rs: New file.
5288 * gdb.rust/methods.exp: New file.
5289 * gdb.rust/methods.rs: New file.
5290 * gdb.rust/modules.exp: New file.
5291 * gdb.rust/modules.rs: New file.
5292 * gdb.rust/simple.exp: New file.
5293 * gdb.rust/simple.rs: New file.
5295 2016-05-17 Tom Tromey <tom@tromey.com>
5297 * gdb.base/default.exp (set language): Add rust.
5299 2016-05-17 Tom Tromey <tom@tromey.com>
5301 * gdb.gdb/unittest.exp: New file.
5303 2016-05-16 Yao Qi <yao.qi@linaro.org>
5305 * gdb.base/batch-preserve-term-settings.exp: Remove variable
5306 shell_prompt. Update shell_prompt_re.
5308 2016-05-12 Doug Evans <dje@google.com>
5311 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
5312 $options when building executable.
5313 * gdb.dwarf2/fission-loclists-pie.S: New file.
5314 * gdb.dwarf2/fission-loclists-pie.exp: New file.
5316 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5318 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
5319 of [is_remote target],
5321 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5323 * lib/gdb.exp (use_gdb_stub): New procedure.
5325 2016-05-03 Yunlian Jiang <yunlian@google.com>
5326 Doug Evans <dje@google.com>
5329 * gdb.dwarf2/dwp-sepdebug.c: New file.
5330 * gdb.dwarf2/dwp-sepdebug.exp: New file.
5332 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5334 * gdb.base/detach.exp: Remove is_remote check.
5336 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5338 * gdb.base/annota-input-while-running.exp: Don't check for
5339 [is_remote target]. Enable annotations after running to main.
5340 Remove unused "set test..." line.
5342 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5344 * gdb.trace/trace-enable-disable.exp: New file.
5345 * gdb.trace/trace-enable-disable.c: New file.
5347 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5349 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
5350 use it in info sharedlibrary test.
5351 * gdb.trace/ftrace-lock.exp: Likewise.
5352 * gdb.trace/ftrace.exp: Likewise.
5353 * gdb.trace/range-stepping.exp: Likewise.
5354 * gdb.trace/trace-break.exp: Likewise.
5355 * gdb.trace/trace-condition.exp: Likewise.
5356 * gdb.trace/trace-mt.exp: Likewise.
5358 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5360 * lib/gdb.exp (gdb_load_shlibs): Rename to...
5361 (gdb_load_shlib): ... this.
5362 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
5364 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
5365 * gdb.base/ctxobj.exp: Likewise.
5366 * gdb.base/dprintf-pending.exp: Likewise.
5367 * gdb.base/dso2dso.exp: Likewise.
5368 * gdb.base/fixsection.exp: Likewise.
5369 * gdb.base/gcore-relro.exp: Likewise.
5370 * gdb.base/gdb1555.exp: Likewise.
5371 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5372 * gdb.base/gnu-ifunc.exp: Likewise.
5373 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
5374 * gdb.base/jit-so.exp (one_jit_test): Likewise.
5375 * gdb.base/pending.exp: Likewise.
5376 * gdb.base/print-file-var.exp: Likewise.
5377 * gdb.base/print-symbol-loading.exp: Likewise.
5378 * gdb.base/shlib-call.exp: Likewise.
5379 * gdb.base/shreloc.exp: Likewise.
5380 * gdb.base/so-impl-ld.exp: Likewise.
5381 * gdb.base/solib-disc.exp: Likewise.
5382 * gdb.base/solib-nodir.exp: Likewise.
5383 * gdb.base/solib-overlap.exp: Likewise.
5384 * gdb.base/solib-symbol.exp: Likewise.
5385 * gdb.base/solib-weak.exp (do_test): Likewise.
5386 * gdb.base/sym-file.exp: Likewise.
5387 * gdb.base/symtab-search-order.exp: Likewise.
5388 * gdb.base/type-opaque.exp: Likewise.
5389 * gdb.base/unload.exp: Likewise.
5390 * gdb.base/watchpoint-solib.exp: Likewise.
5391 * gdb.compile/compile.exp: Likewise.
5392 * gdb.cp/gdb2384.exp: Likewise.
5393 * gdb.cp/infcall-dlopen.exp: Likewise.
5394 * gdb.cp/re-set-overloaded.exp: Likewise.
5395 * gdb.fortran/library-module.exp: Likewise.
5396 * gdb.opt/solib-intra-step.exp: Likewise.
5397 * gdb.python/py-finish-breakpoint.exp: Likewise.
5398 * gdb.python/py-shared.exp: Likewise.
5399 * gdb.reverse/solib-precsave.exp: Likewise.
5400 * gdb.reverse/solib-reverse.exp: Likewise.
5401 * gdb.server/solib-list.exp: Likewise.
5402 * gdb.threads/dlopen-libpthread.exp: Likewise.
5403 * gdb.threads/tls-shared.exp: Likewise.
5404 * gdb.threads/tls-so_extern.exp: Likewise.
5405 * gdb.trace/change-loc.exp: Likewise.
5406 * gdb.trace/ftrace-lock.exp: Likewise.
5407 * gdb.trace/ftrace.exp: Likewise.
5408 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
5409 * gdb.trace/pending.exp: Likewise.
5410 * gdb.trace/range-stepping.exp: Likewise.
5411 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
5412 (strace_info_marker): Likewise.
5413 (strace_probe_marker): Likewise.
5414 (strace_trace_on_same_addr): Likewise.
5415 (strace_trace_on_diff_addr): Likewise.
5416 * gdb.trace/trace-break.exp: Likewise.
5417 * gdb.trace/trace-condition.exp: Likewise.
5418 * gdb.trace/trace-mt.exp: Likewise.
5420 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5422 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
5423 result of gdb_remote_download.
5424 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
5425 * gdb.base/dso2dso.exp: Likewise.
5426 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5427 * gdb.base/print-file-var.exp: Likewise.
5428 * gdb.base/shlib-call.exp: Likewise.
5429 * gdb.base/shreloc.exp: Likewise.
5430 * gdb.base/solib-overlap.exp: Likewise.
5431 * gdb.base/solib-weak.exp (do_test): Likewise.
5432 * gdb.base/unload.exp: Likewise.
5434 2016-04-27 Yao Qi <yao.qi@linaro.org>
5436 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5439 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5441 * vla-type.exp: Print structure from toplevel.
5443 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5445 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5447 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5450 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5452 * gdb.fortran/vla-type.f90: New file.
5453 * gdb.fortran/vla-type.exp: New file.
5455 2016-04-25 Yao Qi <yao.qi@linaro.org>
5457 * gdb.base/branch-to-self.c: New file.
5458 * gdb.base/branch-to-self.exp: New file.
5460 2016-04-22 Yao Qi <yao.qi@linaro.org>
5462 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
5465 2016-04-22 Yao Qi <yao.qi@linaro.org>
5467 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
5468 * gdb.base/annota3.exp: Likewise.
5470 2016-04-22 Yao Qi <yao.qi@linaro.org>
5472 * gdb.reverse/step-precsave.exp: Do one step and test program
5473 stops in "callee" and do multiple steps until program goes out
5475 * gdb.reverse/step-reverse.exp: Likewise.
5477 2016-04-22 Yao Qi <yao.qi@linaro.org>
5479 * gdb.trace/signal.exp: Also pass if
5480 $tracepoint_hits($i) > $iterations.
5482 2016-04-22 Yao Qi <yao.qi@linaro.org>
5484 * gdb.trace/signal.c: New file.
5485 * gdb.trace/signal.exp: New file.
5487 2016-04-19 Doug Evans <xdje42@gmail.com>
5489 * gdb.base/bad-file.exp: New file.
5491 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
5493 * gdb.dwarf2/implref.exp: New file.
5495 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5497 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5498 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5499 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5500 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5501 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5502 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5503 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5504 * lib/fortran.exp (fortran_int4): New procedure.
5505 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5506 (fortran_logical4): Likewise.
5508 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
5510 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5512 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5514 * lib/compiler.c: Add Intel specific preprocessor macros.
5515 * lib/compiler.cc: Likewise.
5517 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
5519 * gdb.server/connect-with-no-symbol-file.c: New file.
5520 * gdb.server/connect-with-no-symbol-file.exp: New file.
5522 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5524 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5526 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5528 * boards/gdbserver-base.exp (${board}_download): Copy source file to
5529 standard output directory.
5531 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
5533 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5535 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
5537 * gdb.btrace/instruction_history.c (loop): Add declaration.
5539 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5541 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5543 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
5545 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5546 parentheses to print.
5547 (continue_handler): Likewise.
5549 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
5551 * gdb.server/solib-list.exp: Remove is_remote check.
5552 Pass shlib= to gdb_compile. Don't link shared library with
5553 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
5554 Run binary filename through "readlink -f" on the target.
5556 2016-04-08 Pedro Alves <palves@redhat.com>
5558 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
5559 interpreter filename as argument to gdbserver_spawn.
5560 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5561 Return empty if $last_loaded_file does not exist.
5563 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5565 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5566 * gdb.base/jit-main.c: Use exit after usage.
5568 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5570 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5571 GDBHISTSIZE prior to the tests.
5572 * gdb.base/gdbinit-history.exp: Likewise.
5574 2016-04-07 Pedro Alves <palves@redhat.com>
5576 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5577 instead of build_executable. Use gdb_load_shlibs.
5579 2016-04-07 Yao Qi <yao.qi@linaro.org>
5581 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5582 Execute "si" command.
5584 2016-04-07 Yao Qi <yao.qi@linaro.org>
5586 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5587 number instead of the comments on some line.
5589 2016-04-06 Don Breazeal <donb@codesourcery.com>
5591 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
5592 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
5594 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
5596 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
5597 standard_output_file. Remove unused binfile variable.
5599 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
5601 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
5602 * gdb.python/py-mi-objfile.exp: Match "list main" output
5605 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
5607 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
5610 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5612 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
5614 * gdb.trace/ftrace.exp: Likewise.
5615 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
5617 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
5618 (gdb_load_shlibs): Copy libraries to test directory when testing
5619 natively. Only set solib-search-path if testing remotely.
5620 * lib/mi-support.exp (mi_load_shlibs): Likewise.
5622 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5624 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
5625 gdb_download. Use it even if the target is not remote.
5626 * gdb.base/jit.exp (compile_jit_test): Likewise.
5627 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
5628 output directory if the destination board is local, otherwise use
5629 the standard remote_download from DejaGnu.
5630 (gdb_download): Remove.
5631 (gdb_load_shlibs): Use gdb_remote_download instead of
5633 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5634 Use gdb_remote_download instead of gdb_download. Use it even if
5635 the target is not remote.
5636 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
5637 instead of gdb_download.
5639 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
5641 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
5642 (test_insert_delete_modify): Call mi_load_shlibs before trying to
5645 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
5648 * gdb.base/printcmds.exp: Add artificial arrays tests.
5650 2016-03-31 Pedro Alves <palves@redhat.com>
5653 * gdb.base/jit-main.c: Include unistd.h.
5654 (ATTACH): Define to 0 if not already defined.
5655 (wait_for_gdb, mypid): New globals.
5656 (WAIT_FOR_GDB): New macro.
5657 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
5658 some breakpoint locations.
5659 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
5661 (one_jit_test): Add REATTACH parameter, and handle it. Use
5662 continue_to_test_location.
5663 (top level): Test attach, and adjusts calls to one_jit_test.
5665 2016-03-31 Pedro Alves <palves@redhat.com>
5668 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
5669 BINSUFFIX parameter, and handle it.
5670 (top level): Adjust calls compile_jit_test.
5672 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
5675 * gdb.python/py-mi-events-gdb.py: New file.
5676 * gdb.python/py-mi-events.c: New file.
5677 * gdb.python/py-mi-events.exp: New file.
5679 2016-03-30 Yao Qi <yao.qi@linaro.org>
5681 * gdb.reverse/until-precsave.exp: Match function name only.
5682 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
5683 Move malloc to a condition block.
5684 * gdb.reverse/until-reverse.exp: Match function name only.
5686 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
5688 * gdb.trace/ftrace.exp: Set arg0exp for s390.
5689 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
5690 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
5691 variable for GPR 0 instead of assuming it is register 0.
5692 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
5693 * lib/trace-support.exp: Add s390 registers.
5695 2016-03-29 Yao Qi <yao.qi@linaro.org>
5697 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
5699 2016-03-24 Yao Qi <yao.qi@linaro.org>
5701 * gdb.reverse/break-reverse.exp: Add quotation mark in the
5704 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5706 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
5707 maintaining separate logic for constructing the output path.
5709 2016-03-16 Don Breazeal <donb@codesourcery.com>
5711 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5712 Retry fork and waitpid on interrupted system call errors.
5713 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5714 Use with_timeout_factor to increase timeout by factor of 10.
5716 2016-03-15 Don Breazeal <donb@codesourcery.com>
5718 * gdb.cp/scope-err.cc: New test program.
5719 * gdb.cp/scope-err.exp: New test script.
5720 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
5721 lines and "set breakpoint here" comment.
5722 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
5723 Fixed some whitespace and format issues.
5724 * gdb.mi/mi-linespec-err-cp.cc: New test program.
5725 * gdb.mi/mi-linespec-err-cp.exp: New test script.
5727 2016-03-15 Doug Evans <dje@google.com>
5729 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
5730 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
5731 All callers updated. Add tests for enums, mixed flags register.
5733 2016-03-15 Doug Evans <dje@google.com>
5735 * gdb.base/skip.c (main): Call test_skip_file_and_function.
5736 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
5738 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
5740 * gdb.base/default.exp: Add $_as_string to the list of expected
5741 convenience functions.
5743 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
5745 * gdb.base/maint.exp: New tests for 'maint info line-table'.
5747 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
5749 * gdb.python/py-as-string.exp: New file.
5750 * gdb.python/py-as-string.c: New file.
5752 2016-03-09 Pedro Alves <palves@redhat.com>
5754 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
5755 signal" -> "Thread NN received signal" output change.
5756 * gdb.threads/ia64-sigill.exp: Likewise.
5757 * gdb.threads/linux-dp.exp: Likewise.
5758 * gdb.threads/manythreads.exp: Likewise.
5759 * gdb.threads/pending-step.exp: Likewise.
5760 * gdb.threads/print-threads.exp: Likewise.
5761 * gdb.threads/sigstep-threads.exp: Likewise.
5762 * gdb.threads/staticthreads.exp: Likewise.
5763 * gdb.threads/tls.exp: Likewise.
5765 2016-03-09 Pedro Alves <palves@redhat.com>
5767 * gdb.base/command-line-input.exp: New file.
5769 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5771 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
5772 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
5773 * gdb.trace/pending.exp: Accept leading dot before function name.
5774 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
5775 * lib/trace-support.exp: Set registers for ppc.
5777 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5779 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
5780 use it for disassembly; accept .main in addition to main in backtrace.
5782 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
5783 Marcin Kościelnicki <koriakin@0x04.net>
5785 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
5786 (gdb_recursion_test_ptr): New global variable.
5787 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
5789 (gdb_c_test): Ditto.
5791 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5793 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
5796 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5798 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
5799 (bar): Add bar_start_lbl label.
5800 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
5801 of foo/bar for emitting DWARF and tracing.
5803 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
5805 * analyze-racy-logs.py: Set executable bit.
5807 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
5809 * Makefile.in (DEFAULT_RACY_ITER): New variable.
5810 (CHECK_TARGET_TMP): Likewise.
5811 (check-single-racy): New rule.
5812 (check-parallel-racy): Likewise.
5813 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
5814 (do-check-parallel-racy): New rule.
5815 (check-racy/%.exp): Likewise.
5816 * README (Racy testcases): New section.
5817 * analyze-racy-logs.py: New file.
5819 2016-03-03 Doug Evans <dje@google.com>
5821 * gdb.base/skip.exp: Use with_test_prefix.
5823 2016-03-03 Yao Qi <yao.qi@linaro.org>
5825 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
5826 Invoke step_over_syscall "clone" and break_cond_on_syscall
5828 * gdb.base/step-over-clone.c: New file.
5830 2016-03-03 Yao Qi <yao.qi@linaro.org>
5832 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
5835 2016-03-03 Yao Qi <yao.qi@linaro.org>
5837 * gdb.base/disp-step-fork.c: Rename to ...
5838 * gdb.base/step-over-fork.c: ... it. New file.
5839 * gdb.base/disp-step-vfork.c: Rename to ...
5840 * gdb.base/step-over-vfork.c: ... it. New file.
5841 * gdb.base/disp-step-syscall.exp: Rename to ...
5842 * gdb.base/step-over-syscall.exp: ... it. New file.
5843 (disp_step_cross_syscall): Rename to ...
5844 (step_over_syscall): ... it.
5846 2016-03-03 Yao Qi <yao.qi@linaro.org>
5848 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
5849 If target supports condition evaluation on target, invoke
5850 break_cond_on_syscall for fork and vfork.
5852 2016-03-03 Yao Qi <yao.qi@linaro.org>
5854 * gdb.base/disp-step-syscall.exp: Don't invoke
5855 support_displaced_stepping.
5856 (disp_step_cross_syscall): Test with displaced stepping off and
5859 2016-03-03 Yao Qi <yao.qi@linaro.org>
5861 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
5864 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
5867 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5869 * gdb.fortran/vla-history.exp: Remove breakpoint.
5871 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5873 * gdb.fortran/vla-history.exp: Lookup array elements and printing
5876 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5878 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
5881 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5883 * gdb.mi/vla.f90: Nullify pointer after declaration.
5885 2016-03-01 Pedro Alves <palves@redhat.com>
5887 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
5889 2016-03-01 Pedro Alves <palves@redhat.com>
5891 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
5892 before anything else.
5893 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
5895 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
5896 before anything else.
5897 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
5899 2016-03-01 Pedro Alves <palves@redhat.com>
5901 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
5903 2016-03-01 Yao Qi <yao.qi@linaro.org>
5905 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
5906 prepare_for_testing.
5908 2016-03-01 Yao Qi <yao.qi@linaro.org>
5910 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
5912 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5914 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
5915 manually constructing the output path.
5917 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5919 * gdb.arch/s390-stackless.S: New.
5920 * gdb.arch/s390-stackless.exp: New.
5922 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
5924 * gdb.dlang/circular.c: New file.
5925 * gdb.dlang/circular.exp: New file.
5927 2016-02-26 Yao Qi <yao.qi@linaro.org>
5929 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
5930 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
5931 (testcases): Update.
5933 2016-02-26 Yao Qi <yao.qi@linaro.org>
5935 * gdb.reverse/aarch64.c: Rename to ...
5936 * gdb.reverse/insn-reverse.c: ... it.
5937 * gdb.reverse/aarch64.exp: Rename to ...
5938 * gdb.reverse/insn-reverse.exp: ... it.
5940 2016-02-26 Yao Qi <yao.qi@linaro.org>
5942 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
5943 (testcase_ftype): New.
5944 (testcases): New array.
5946 (main): Call each element in testcases.
5947 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
5948 (read_testcase): New.
5949 Do the tests in a loop.
5951 2016-02-25 Yao Qi <yao.qi@linaro.org>
5953 * gdb.base/branches.c: Remove.
5955 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5958 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
5960 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5962 * gdb.trace/ftrace.exp: Remove unnecessary target check.
5964 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5966 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
5967 change x86_64 call_insn to 'callq'.
5969 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5971 * gdb.trace/tfile-avx.c: Move to...
5972 * gdb.trace/tracefile-pseudo-reg.c: Here.
5973 * gdb.trace/tfile-avx.exp: Move to...
5974 * gdb.trace/tracefile-pseudo-reg.exp: Here.
5976 2016-02-24 Gary Benson <gbenson@redhat.com>
5978 * gdb.base/attach-pie-noexec.exp: Do not expect an error
5981 2016-02-23 Doug Evans <dje@google.com>
5983 * gdb.base/skip.c (test_skip): New function.
5984 (end_test_skip_file_and_function): New function.
5985 (test_skip_file_and_function): New function.
5986 * gdb.base/skip1.c (test_skip): New function.
5987 (skip1_test_skip_file_and_function): New function.
5988 * gdb.base/skip.exp: Add tests for new skip options.
5989 * gdb.base/skip-solib.exp: Update expected output.
5990 * gdb.perf/skip-command.cc: New file.
5991 * gdb.perf/skip-command.exp: New file.
5992 * gdb.perf/skip-command.py: New file.
5994 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
5996 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
5997 info registers pattern.
5999 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
6001 * lib/future.exp: Add D support.
6002 (gdb_find_gdc): New proc.
6003 (gdb_default_target_compile): Add D support.
6005 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
6007 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
6009 (trace_speed_test): Determine the iteration count for a time
6010 between 15..30 seconds.
6012 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
6014 * gdb.arch/i386-mpx-sigsegv.c: New file.
6015 * gdb.arch/i386-mpx-sigsegv.exp: New file.
6016 * gdb.arch/i386-mpx-simple_segv.c: New file.
6017 * gdb.arch/i386-mpx-simple_segv.exp: New file.
6019 2016-02-18 Yao Qi <yao.qi@linaro.org>
6021 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6022 Don't call setup_kfail.
6024 2016-02-18 Yao Qi <yao.qi@linaro.org>
6026 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6027 Set "set breakpoint condition-evaluation" per $cond_bp_target.
6029 2016-02-16 Doug Evans <dje@google.com>
6031 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
6032 * gdb.base/skip1.c: Ditto.
6033 * gdb.base/skip.exp: Whitespace cleanup.
6035 2016-02-16 Don Breazeal <donb@codesourcery.com>
6038 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6039 Remove kfail for PR remote/19496.
6041 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6043 * lib/gdb.exp (standard_temp_file): Return a path specific to
6044 the runtest invocation.
6046 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6048 * gdb.trace/save-trace.exp: Change relative path to be in the
6049 standard output directory.
6051 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6053 * gdb.arch/i386-prologue.c: Add missing prototypes.
6055 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6057 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
6058 * gdb.arch/i386-prologue.exp: Likewise.
6059 * gdb.arch/i386-size.exp: Likewise.
6061 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
6063 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
6064 define object file path.
6065 * gdb.btrace/gcore.exp: Use standard_output_file to define core
6067 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
6068 standard_output_file to define binfile.
6070 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6072 Fix compatibility with recent gfortran-5.3.1.
6073 * gdb.fortran/vla-history.exp (print vla1 allocated)
6074 (print vla2 allocated, print $2, print $3): Remove
6075 (print $4): Rename to ...
6076 (print $2): ... here.
6077 (print $9): Rename to ...
6078 (print $5): ... here.
6079 (print $10): Rename to ...
6080 (print $6): ... here.
6081 * gdb.fortran/vla.f90: Add pvla initialization.
6083 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6085 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
6087 * gdb.fortran/vla-value-sub.exp: Likewise.
6089 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
6091 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
6093 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
6095 * i386-biarch-core.exp: Define corefile using
6096 standard_output_file.
6098 2016-02-12 Yao Qi <yao.qi@linaro.org>
6100 * gdb.arch/arm-single-step-kernel-helper.c: New.
6101 * gdb.arch/arm-single-step-kernel-helper.exp: New.
6103 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
6105 * gdb.btrace/tailcall-only.exp: New.
6106 * gdb.btrace/tailcall-only.c: New.
6107 * gdb.btrace/x86_64-tailcall-only.S: New.
6108 * gdb.btrace/i686-tailcall-only.S: New.
6110 2016-02-11 Pedro Alves <palves@redhat.com>
6112 * README (Parallel testing): Add missing double quotes.
6114 2016-02-11 Pedro Alves <palves@redhat.com>
6116 * README (Parallel testing): New section.
6117 (GDB_PARALLEL): Rewrite.
6118 (FORCE_PARALLEL): Document.
6120 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
6122 * gdb.trace/tfile-avx.c: New test.
6123 * gdb.trace/tfile-avx.exp: New test.
6125 2016-02-09 Keith Seitz <keiths@redhat.com>
6127 PR breakpoints/19546
6128 * gdb.base/infcall-exec.c: New file.
6129 * gdb.base/infcall-exec2.c: New file.
6130 * gdb.base/infcall-exec.exp: New file.
6132 2016-02-09 Keith Seitz <keiths@redhat.com>
6134 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
6135 (toplevel): Call test_bkpt_address.
6137 2016-02-09 Keith Seitz <keiths@redhat.com>
6140 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
6141 (toplevel): Call test_bkpt_address.
6143 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
6145 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
6147 * configure: Regenerate.
6149 2016-02-09 Pedro Alves <palves@redhat.com>
6151 PR breakpoints/19548
6152 * gdb.base/execl-update-breakpoints.c (some_function): New
6155 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
6156 Tighten expected GDB output.
6158 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6160 * Makefile.in (ALL_SUBDIRS): Remove.
6161 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
6162 (distclean maintainer-clean realclean): Likewise.
6163 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
6164 * configure: Regenerate.
6165 * gdb.ada/Makefile.in: Delete.
6166 * gdb.arch/Makefile.in: Likewise.
6167 * gdb.asm/Makefile.in: Likewise.
6168 * gdb.base/Makefile.in: Likewise.
6169 * gdb.btrace/Makefile.in: Likewise.
6170 * gdb.cell/Makefile.in: Likewise.
6171 * gdb.compile/Makefile.in: Likewise.
6172 * gdb.cp/Makefile.in: Likewise.
6173 * gdb.disasm/Makefile.in: Likewise.
6174 * gdb.dlang/Makefile.in: Likewise.
6175 * gdb.dwarf2/Makefile.in: Likewise.
6176 * gdb.fortran/Makefile.in: Likewise.
6177 * gdb.gdb/Makefile.in: Likewise.
6178 * gdb.go/Makefile.in: Likewise.
6179 * gdb.guile/Makefile.in: Likewise.
6180 * gdb.java/Makefile.in: Likewise.
6181 * gdb.linespec/Makefile.in: Likewise.
6182 * gdb.mi/Makefile.in: Likewise.
6183 * gdb.modula2/Makefile.in: Likewise.
6184 * gdb.multi/Makefile.in: Likewise.
6185 * gdb.objc/Makefile.in: Likewise.
6186 * gdb.opencl/Makefile.in: Likewise.
6187 * gdb.opt/Makefile.in: Likewise.
6188 * gdb.pascal/Makefile.in: Likewise.
6189 * gdb.perf/Makefile.in: Likewise.
6190 * gdb.python/Makefile.in: Likewise.
6191 * gdb.reverse/Makefile.in: Likewise.
6192 * gdb.server/Makefile.in: Likewise.
6193 * gdb.stabs/Makefile.in: Likewise.
6194 * gdb.threads/Makefile.in: Likewise.
6195 * gdb.trace/Makefile.in: Likewise.
6196 * gdb.xml/Makefile.in: Likewise.
6197 * lib/gdb.exp (make_gdb_parallel_path): Add check for
6199 (standard_output_file): Remove check for GDB_PARALLEL, always
6200 return path in outputs/$subdir/$testname.
6202 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6204 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
6205 (site.exp): Assign abs_srcdir to tcl's srcdir.
6207 2016-02-04 Yao Qi <yao.qi@linaro.org>
6209 * gdb.base/foll-exec-mode.c: Include limits.h.
6210 (main): Add parameters argc and argv. Get directory from
6212 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
6214 * gdb.base/foll-exec.c: Include limits.h.
6215 (main): Add parameters argc and argv.
6216 Get directory from argv[0].
6217 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
6218 Adjust tests on the number of lines as source code changed.
6219 * gdb.base/foll-vfork-exit.c: Include limits.h.
6220 (main): Add one line of statement before vfork.
6221 * gdb.base/foll-vfork.c: Include limits.h and string.h.
6222 (main): Add parameters argc and argv. Get directory from
6224 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
6225 (setup_gdb): Set tbreak to skip some source lines.
6226 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
6227 (main): Add parameters argc and argv. Get directory from
6229 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
6231 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
6232 (main): Add parameters argc and argv. Get directory from
6234 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
6237 2016-02-01 Doug Evans <dje@google.com>
6239 * gdb.base/skip.exp: Clean up multiple references to same test name.
6241 2016-02-01 Pedro Alves <palves@redhat.com>
6244 * gdb.threads/forking-threads-plus-breakpoint.exp
6245 (displaced_stepping_supported): New global.
6246 (probe_displaced_stepping_support): New procedure.
6247 (do_test): Add 'displaced' parameter, and use it.
6248 (top level): Check for displaced stepping support. Add displaced
6249 stepping on/off testing axis.
6251 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6253 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
6254 pointer. Don't perform further tests on the unassociated pointer
6255 if the first test fails.
6257 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6259 * gdb.base/max-value-size.c: New file.
6260 * gdb.base/max-value-size.exp: New file.
6261 * gdb.base/huge.exp: Disable max-value-size for this test.
6263 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
6265 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6267 2016-01-28 Yao Qi <yao.qi@linaro.org>
6269 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
6271 2016-01-25 Pedro Alves <palves@redhat.com>
6274 * gdb.base/fork-running-state.c: New file.
6275 * gdb.base/fork-running-state.exp: New file.
6277 2016-01-25 Pedro Alves <palves@redhat.com>
6280 * gdb.base/catch-fork-kill.c: New file.
6281 * gdb.base/catch-fork-kill.exp: New file.
6283 2016-01-25 Pedro Alves <palves@redhat.com>
6285 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
6286 Delete, moved to lib/gdb.exp.
6287 * gdb.threads/forking-threads-plus-breakpoint.exp
6288 (foreach_with_prefix): Likewise.
6289 * gdb.threads/process-dies-while-handling-bp.exp
6290 (foreach_with_prefix): Likewise.
6291 * lib/gdb.exp (foreach_with_prefix): New procedure.
6293 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
6295 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
6296 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
6298 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
6300 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
6303 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6304 Pedro Alves <palves@redhat.com>
6306 Fix testsuite compatibility with Guile.
6307 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
6310 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6312 Fix testsuite compatibility with Guile.
6313 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
6314 (thread 1): New test for backtrace through signal handler.
6316 2016-01-22 Yao Qi <yao.qi@linaro.org>
6319 * gdb.base/multi-forks.c: Include
6320 ../lib/unbuffer_output.c
6321 (main): Call gdb_unbuffer_output.
6323 2016-01-21 Doug Evans <dje@google.com>
6325 * lib/ada.exp (gdb_compile_ada): Fix typo.
6327 2016-01-21 Joel Brobecker <brobecker@adacore.com>
6329 * gdb.base/break-fun-addr.exp: New file.
6330 * gdb.base/break-fun-addr1.c: New file.
6331 * gdb.base/break-fun-addr2.c: New file.
6333 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
6335 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
6336 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
6339 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6341 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
6342 when GDB can not set the vector return value. Add more comments
6345 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
6347 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
6350 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6352 * Makefile.in (DO_RUNTEST): Add --status and update usages.
6354 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6356 * Makefile.in (check-single): Pass --status to runtest.
6357 (check/%.exp): Likewise.
6359 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6361 * Makefile.in (check-parallel): Propagate return code from make
6364 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
6366 * gdb.trace/ftrace.exp: Fix expected message on continue.
6367 * gdb.trace/pending.exp: Fix expected message on continue.
6368 * gdb.trace/trace-break.exp: Fix expected message on continue.
6370 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
6372 * lib/gdb.exp (gdb_test): Remove unused global references.
6374 2016-01-18 Pedro Alves <palves@redhat.com>
6376 * gdb.base/async-shell.exp: Adjust expected output.
6377 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
6378 * gdb.base/siginfo-thread.exp: Adjust expected output.
6379 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
6380 * gdb.java/jnpe.exp: Adjust expected output.
6381 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
6382 * gdb.threads/continue-pending-status.exp: Adjust expected output.
6383 * gdb.threads/leader-exit.exp: Adjust expected output.
6384 * gdb.threads/manythreads.exp: Adjust expected output.
6385 * gdb.threads/pthreads.exp: Adjust expected output.
6386 * gdb.threads/schedlock.exp: Adjust expected output.
6387 * gdb.threads/siginfo-threads.exp: Adjust expected output.
6388 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
6390 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
6392 * gdb.threads/sigthread.exp: Adjust expected output.
6393 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
6395 2016-01-18 Yao Qi <yao.qi@linaro.org>
6397 * gdb.guile/scm-section-script.c: Replace @progbits with
6399 * gdb.python/py-section-script.c: Likewise.
6401 2016-01-15 Pedro Alves <palves@redhat.com>
6403 * gdb.multi/tids.exp: Test star wildcard ranges.
6405 2016-01-15 Pedro Alves <palves@redhat.com>
6407 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
6408 command from "thread apply" invocation.
6409 (thr_apply_info_thr_invalid): Default the expected output to the
6411 (top level): Add tests that use convenience variables. Add tests
6412 for "thread apply" with a valid TID list, but missing the command.
6414 2016-01-13 Pedro Alves <palves@redhat.com>
6416 * gdb.base/default.exp: Expect $_gthread as well.
6417 * gdb.multi/tids.exp: Test $_gthread.
6418 * gdb.threads/thread-specific.exp: Test $_gthread.
6420 2016-01-13 Pedro Alves <palves@redhat.com>
6422 * gdb.multi/tids.exp: Test "info threads -gid".
6424 2016-01-13 Pedro Alves <palves@redhat.com>
6426 * gdb.multi/tids.exp: Test InferiorThread.global_num and
6428 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6430 2016-01-07 Pedro Alves <palves@redhat.com>
6432 * gdb.base/break.exp: Adjust to output changes.
6433 * gdb.base/hbreak2.exp: Likewise.
6434 * gdb.base/sepdebug.exp: Likewise.
6435 * gdb.base/watch_thread_num.exp: Likewise.
6436 * gdb.linespec/keywords.exp: Likewise.
6437 * gdb.multi/info-threads.exp: Likewise.
6438 * gdb.threads/thread-find.exp: Likewise.
6439 * gdb.multi/tids.c: New file.
6440 * gdb.multi/tids.exp: New file.
6442 2016-01-13 Pedro Alves <palves@redhat.com>
6444 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6446 2016-01-13 Pedro Alves <palves@redhat.com>
6448 * gdb.base/default.exp: Expect $_inferior as well.
6449 * gdb.multi/base.exp: Test $_inferior.
6451 2016-01-13 Pedro Alves <palves@redhat.com>
6453 PR breakpoints/19388
6454 * gdb.base/catch-signal-siginfo-cond.c: New file.
6455 * gdb.base/catch-signal-siginfo-cond.exp: New file.
6457 2016-01-12 Josh Stone <jistone@redhat.com>
6458 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6460 * gdb.base/catch-syscall.c (do_execve): New variable.
6461 (main): Conditionally trigger an execve.
6462 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
6463 (test_catch_syscall_execve): New, check entry/return across execve.
6464 (do_syscall_tests): Call test_catch_syscall_execve.
6466 2016-01-12 Pedro Alves <palves@redhat.com>
6468 * gdb.base/random-signal.exp (do_test): New procedure, with body
6469 of testcase moved in.
6471 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6472 Pedro Alves <palves@redhat.com>
6474 * gdb.base/funcargs.exp (finish from indirectly called function):
6475 Reintroduce the case for 'First'.
6477 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6478 Pedro Alves <palves@redhat.com>
6480 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6481 (tcatch_vfork_then_child_follow_exec)
6482 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6485 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6487 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6488 and repeats to unlimited.
6489 * gdb.python/py-value.exp: Likewise.
6490 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6491 and repeats to unlimited.
6493 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6495 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6496 and reordering the functions.
6497 * gdb.multi/hangout.c: Likewise.
6498 * gdb.multi/hello.c: Likewise.
6500 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
6502 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6504 (SingleStatisticTestResult.report): Use dict.keys instead of
6507 2016-01-06 Pedro Alves <palves@redhat.com>
6509 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
6511 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
6513 * gdb.btrace/dlopen.exp: New.
6514 * gdb.btrace/dlopen.c: New.
6515 * gdb.btrace/dlopen-dso.c: New.
6517 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
6519 * lib/gdb.exp (gdb_test): Update comments to clarify that the
6520 PATTERN argument is optional.
6522 2015-12-24 Joel Brobecker <brobecker@adacore.com>
6524 * lib/ada.exp (target_compile_ada_from_dir): New function.
6525 (gdb_compile_ada): Reimplement avoiding the use of project files.
6526 * gdb.ada/gnat_ada.gpr: Delete.
6527 * gdb.ada/cond_lang.exp: Adjust test to make path before
6529 * gdb.ada/small_reg_param.exp: Likewise.
6531 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
6533 * gdb.base/foll-vork.exp: Remove HP-UX special case.
6535 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
6537 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6540 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
6542 * gdb.base/break.exp: Remove dead code.
6543 * gdb.base/sepdebug.exp: Likewise.
6545 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6547 * gdb.asm/asm-source.exp: Remove HP-UX references.
6548 * gdb.base/annota1.exp: Likewise.
6549 * gdb.base/annota3.exp: Likewise.
6550 * gdb.base/attach.exp: Likewise.
6551 * gdb.base/bigcore.exp: Likewise.
6552 * gdb.base/break.exp: Likewise.
6553 * gdb.base/call-ar-st.exp: Likewise.
6554 * gdb.base/callfuncs.exp: Likewise.
6555 * gdb.base/catch-fork-static.exp: Likewise.
6556 * gdb.base/display.exp: Likewise.
6557 * gdb.base/foll-exec-mode.exp: Likewise.
6558 * gdb.base/foll-exec.exp: Likewise.
6559 * gdb.base/foll-fork.exp: Likewise.
6560 * gdb.base/foll-vfork.exp: Likewise.
6561 * gdb.base/funcargs.exp: Likewise.
6562 * gdb.base/hbreak2.exp: Likewise.
6563 * gdb.base/inferior-died.exp: Likewise.
6564 * gdb.base/interrupt.exp: Likewise.
6565 * gdb.base/multi-forks.exp: Likewise.
6566 * gdb.base/nodebug.exp: Likewise.
6567 * gdb.base/sepdebug.exp: Likewise.
6568 * gdb.base/solib1.c: Likewise.
6569 * gdb.base/step-test.exp: Likewise.
6570 * gdb.mi/non-stop.c: Likewise.
6571 * gdb.mi/pthreads.c: Likewise.
6572 * gdb.multi/bkpt-multi-exec.ex: Likewise.
6573 * gdb.threads/pthreads.c: Likewise.
6574 * gdb.threads/staticthreads.exp: Likewise.
6575 * lib/future.exp: Likewise.
6576 * lib/gdb.exp: Likewise.
6577 * gdb.base/so-indr-cl.c: Remove.
6578 * gdb.base/so-indr-cl.exp: Likewise.
6579 * gdb.base/solib.c: Likewise.
6580 * gdb.base/solib.exp: Likewise.
6581 * gdb.base/solib2.c: Likewise.
6583 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6585 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6586 * gdb.base/call-ar-st.exp: Likewise.
6587 * gdb.base/callfuncs.exp: Likewise.
6588 * gdb.base/condbreak.exp: Likewise.
6589 * gdb.base/constvars.exp: Likewise.
6590 * gdb.base/hbreak2.exp: Likewise.
6591 * gdb.base/langs.exp: Likewise.
6592 * gdb.base/list.exp: Likewise.
6593 * gdb.base/long_long.exp: Likewise.
6594 * gdb.base/ptype.exp: Likewise.
6595 * gdb.base/scope.exp: Likewise.
6596 * gdb.base/signals.exp: Likewise.
6597 * gdb.base/so-impl-ld.exp: Likewise.
6598 * gdb.base/varargs.exp: Likewise.
6599 * gdb.base/volatile.exp: Likewise.
6600 * gdb.base/whatis.exp: Likewise.
6601 * gdb.cp/cplusfuncs.exp: Likewise.
6602 * gdb.cp/inherit.exp: Likewise.
6603 * gdb.cp/local.exp: Likewise.
6604 * gdb.cp/member-ptr.exp: Likewise.
6605 * gdb.cp/method.exp: Likewise.
6606 * gdb.cp/overload.exp: Likewise.
6607 * gdb.cp/templates.exp: Likewise.
6608 * gdb.stabs/weird.exp: Likewise.
6609 * lib/compiler.c: Likewise.
6610 * lib/compiler.cc: Likewise.
6611 * lib/cp-support.exp: Likewise.
6612 * lib/gdb.exp: Likewise.
6614 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
6616 * configure.ac: Remove HP-UX case.
6617 * configure: Regenerate.
6619 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
6621 * lib/gdb.exp (gdb_compile): Add function doc.
6623 2015-12-17 Pedro Alves <palves@redhat.com>
6626 * gdb.multi/info-threads.exp: New file.
6628 2015-12-15 Yao Qi <yao.qi@linaro.org>
6630 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
6633 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6635 * gdb.base/history-duplicates.exp: Skip if no readline support.
6637 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6639 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
6641 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6643 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
6645 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6647 * gdb.base/completion.exp: Skip tests that interrupt GDB with
6648 ctrl-C if nointerrupts target property is set.
6649 * gdb.base/double-prompt-target-event-error.exp: Likewise.
6650 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
6651 * gdb.base/paginate-bg-execution.exp: Likewise.
6652 * gdb.base/paginate-execution-startup.exp: Likewise.
6653 * gdb.base/random-signal.exp: Likewise.
6654 * gdb.base/range-stepping.exp: Likewise.
6655 * gdb.cp/annota2.exp: Likewise.
6656 * gdb.cp/annota3.exp: Likewise.
6657 * gdb.gdb/selftest.exp: Likewise.
6658 * gdb.threads/continue-pending-status.exp: Likewise.
6659 * gdb.threads/leader-exit.exp: Likewise.
6660 * gdb.threads/manythreads.exp: Likewise.
6661 * gdb.threads/pthreads.exp: Likewise.
6662 * gdb.threads/schedlock.exp: Likewise.
6663 * gdb.threads/sigthread.exp: Likewise.
6665 2015-12-11 Don Breazeal <donb@codesourcery.com>
6667 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
6669 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
6670 * gdb.base/foll-exec.exp (main): Enable for target remote.
6671 * gdb.base/foll-fork.exp (main): Likewise.
6672 * gdb.base/foll-vfork.exp (main): Likewise.
6673 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
6674 (proc continue_to_exit_bp_loc): Use clean_restart.
6675 * gdb.base/pie-execl.exp (main): Disable for target remote.
6676 * gdb.base/watch-vfork.exp (main): Enable for target remote.
6677 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
6678 * gdb.threads/execl.exp (main): Likewise.
6679 * gdb.threads/fork-child-threads.exp (main): Likewise.
6680 * gdb.threads/fork-plus-threads.exp (main): Disable for target
6682 * gdb.threads/fork-thread-pending.exp (main): Enable for target
6684 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
6685 pid.tid style ptids, instead of just tid.
6686 * gdb.threads/thread-execl.exp (main): Enable for target remote.
6687 * gdb.threads/watchpoint-fork.exp (main): Likewise.
6688 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
6689 ptids, instead of just tid.
6691 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6693 * gdb.base/list.exp (test_list_forward): Add end of file error
6695 (test_repeat_list_command): Add end of file error test.
6696 (test_list_backwards): Add beginning of file error test.
6698 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6700 * gdb.base/list.exp (test_list_invalid_args): New function,
6701 defined, and called.
6703 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6705 * gdb.base/list.exp (test_list): Make test names unique.
6707 2015-12-11 Yao Qi <yao.qi@linaro.org>
6709 * gdb.base/coremaker2.c: Remove.
6711 2015-12-10 Pedro Alves <palves@redhat.com>
6713 * gdb.multi/base.exp: Remove stale "spaces" references.
6715 2015-12-10 Pedro Alves <palves@redhat.com>
6717 * gdb.multi/base.exp: Don't use nowarnings.
6718 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
6719 * gdb.multi/hangout.c: Include stdio.h.
6720 * gdb.multi/hello.c: Include stdlib.h.
6721 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
6722 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
6723 * gdb.multi/multi-arch.exp: Don't use nowarnings.
6725 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
6727 * gdb.dwarf2/dw2-ranges-base.c: New file.
6728 * gdb.dwarf2/dw2-ranges-base.exp: New file.
6729 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
6730 support additional line table, and debug ranges generation.
6731 (Dwarf::ranges): New function, generate .debug_ranges.
6732 (Dwarf::lines): Support generating simple line table programs.
6733 (Dwarf::assemble): Initialise new namespace variables.
6735 2015-12-09 Kevin Buettner <kevinb@redhat.com>
6737 * gdb.base/async.exp (proc test_background): Add case for
6738 asynchronous execution not supported.
6740 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
6742 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
6743 format and change test names to make them unique.
6745 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
6746 Pedro Alves <pedro@redhat.com>
6749 Add checking of floatformats setup on x86_64 hosts.
6750 * gdb.arch/i386-float.S (main): Load bigval and smallval.
6751 (smallval, bigval): New labels/constants.
6752 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
6753 float" after loading bigval and smallval.
6755 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
6757 * gdb.ada/fun_overload_menu.exp: New testcase.
6758 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
6760 2015-12-04 Josh Stone <jistone@redhat.com>
6762 * gdb.base/catch-fork-static.exp: New.
6764 2015-12-03 Yao Qi <yao.qi@linaro.org>
6766 * gdb.base/sizeof.c: Don't include stdio.h and
6767 ../lib/unbuffer_output.c.
6768 (main): New variable 'size' and 'value'. Remove printf and
6769 gdb_unbuffer_output. Assign return value to size and value.
6770 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
6772 (check_sizeof): Check the result by printing variable 'size'.
6773 (check_valueof): Check the result by printing variable 'value'.
6775 2015-12-01 Yao Qi <yao.qi@linaro.org>
6777 * gdb.base/disp-step-syscall.exp: Define syscall instruction
6778 for aarch64*-*-linux* target.
6780 2015-11-30 Pedro Alves <palves@redhat.com>
6782 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
6784 2015-11-30 Pedro Alves <palves@redhat.com>
6786 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
6787 Handle non-stop mode vCont replies.
6789 2015-11-30 Pedro Alves <palves@redhat.com>
6791 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
6792 prepare_for_testing. Start gdb with "set non-stop on" appended to
6793 GDBFLAGS. Lax expected stop output.
6795 2015-11-27 Yao Qi <yao.qi@linaro.org>
6797 * gdb.arch/arm-neon.exp: New.
6798 * gdb.arch/arm-neon.c: New.
6800 2015-11-27 Yao Qi <yao.qi@linaro.org>
6802 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
6804 2015-11-27 Yao Qi <yao.qi@linaro.org>
6806 * gdb.cp/annota2.exp: Allow multiple occurrences of the
6807 frames-invalid annotation.
6809 2015-11-27 Yao Qi <yao.qi@linaro.org>
6811 * gdb.cp/annota2.exp: Use ${frames_invalid}.
6813 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
6815 * gdb.threads/names.exp: New file.
6816 * gdb.threads/names.c: New file.
6817 * README: Mention gdb,no_thread_names.
6819 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
6822 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
6825 2015-11-24 Pedro Alves <palves@redhat.com>
6828 * gdb.base/display.exp: Expect displays to be sorted in ascending
6829 order. Use multi_line.
6830 * gdb.base/solib-display.exp: Likewise.
6832 2015-11-24 Pedro Alves <palves@redhat.com>
6835 * gdb.base/display.exp: Expect displays to be sorted in ascending
6836 order. Use multi_line.
6837 * gdb.base/solib-display.exp: Likewise.
6839 2015-11-24 Pedro Alves <palves@redhat.com>
6842 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
6843 threads in ascending order.
6844 * gdb.base/foll-fork.exp: Likewise.
6845 * gdb.base/foll-vfork.exp: Likewise.
6846 * gdb.base/multi-forks.exp: Likewise.
6847 * gdb.mi/mi-nonstop.exp: Likewise.
6848 * gdb.mi/mi-nsintrall.exp: Likewise.
6849 * gdb.multi/base.exp: Likewise.
6850 * gdb.multi/multi-arch.exp: Likewise.
6851 * gdb.python/py-inferior.exp: Likewise.
6852 * gdb.threads/break-while-running.exp: Likewise.
6853 * gdb.threads/execl.exp: Likewise.
6854 * gdb.threads/gcore-thread.exp: Likewise.
6855 * gdb.threads/info-threads-cur-sal.exp: Likewise.
6856 * gdb.threads/kill.exp: Likewise.
6857 * gdb.threads/linux-dp.exp: Likewise.
6858 * gdb.threads/multiple-step-overs.exp: Likewise.
6859 * gdb.threads/next-bp-other-thread.exp: Likewise.
6860 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
6861 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
6862 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
6863 * gdb.threads/thread-find.exp: Likewise.
6864 * gdb.threads/tls.exp: Likewise.
6865 * lib/mi-support.exp (mi_reverse_list): Delete.
6866 (mi_check_thread_states): No longer reverse list.
6868 2015-11-24 Pedro Alves <palves@redhat.com>
6870 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
6873 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6875 * gdb.trace/actions.c: Include trace-common.h.
6876 (main): Add a location for a fast tracepoint.
6877 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
6878 the normal tracepoints.
6879 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
6881 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6883 * save-trace.exp: Factor out code to these...
6884 (gdb_save_tracepoints): New.
6885 (gdb_load_tracepoints): New.
6886 (do_save_load_test): New.
6888 2015-11-23 Kevin Buettner <kevinb@redhat.com>
6890 * gdb.base/asmlabel.exp: New test.
6891 * gdb.base/asmlabel.c: New test case.
6893 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6895 * gdb.base/wrong_frame_bt_full-main.c: New file.
6896 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
6897 * gdb.base/wrong_frame_bt_full.exp: New file.
6899 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6901 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
6903 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6905 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
6906 pstate register when comparing registers values in
6907 sparc64-*-linux-gnu targets to avoid spurious differences.
6909 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6911 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
6913 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
6915 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
6916 as type argument to gdb_compile.
6917 * gdb.base/nested-subp2.exp: Likewise.
6918 * gdb.base/nested-subp3.exp: Likewise.
6920 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
6922 * lib/dwarf.exp (_note): Fix left shift of negative value.
6923 * gdb.trace/trace-condition.exp: Likewise.
6925 2015-11-13 Yao Qi <yao.qi@linaro.org>
6927 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
6928 comments about d10v.
6929 (test_scalar_returns): Likewise.
6930 * gdb.base/d10v.ld: Remove.
6931 * gdb.base/overlays.exp: Remove the target triplet checking for
6933 * gdb.base/structs.exp (test_struct_returns): Remove the
6934 comments about d10v.
6935 (test_struct_calls): Likewise.
6937 2015-11-13 Yao Qi <yao.qi@linaro.org>
6939 * gdb.base/gnu_vector.exp: Check the return value by "p res".
6940 * gdb.base/gnu_vector.c: Don't include stdio.h.
6941 (main): Don't print res and call add_some_intvecs.
6943 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
6945 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
6948 (func4): Use FAST_TRACEPOINT_LABEL.
6949 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
6952 (thread_function): Use FAST_TRACEPOINT_LABEL.
6953 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
6955 (marker): Use FAST_TRACEPOINT_LABEL.
6956 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
6957 (pendfunc1): Remove.
6958 (pendfunc): Use FAST_TRACEPOINT_LABEL.
6959 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
6961 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
6962 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
6965 (marker): Use FAST_TRACEPOINT_LABEL.
6966 * gdb.trace/trace-common.h: New header.
6967 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
6970 (marker): Use FAST_TRACEPOINT_LABEL.
6971 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
6973 (thread_function): Use FAST_TRACEPOINT_LABEL.
6975 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
6977 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
6979 * gdb.trace/change-loc.exp: Use global pcreg definition.
6980 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
6981 * gdb.trace/entry-values.exp: Use global spreg definition, add $
6983 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
6984 * gdb.trace/pending.exp: Likewise.
6985 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
6986 * gdb.trace/trace-break.exp: Likewise.
6987 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
6989 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
6990 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
6992 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
6994 2015-11-09 Joel Brobecker <brobecker@adacore.com>
6996 * gdb.ada/fin_fun_out: New testcase.
6998 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7000 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
7001 value associated with DW_AT_byte_size.
7002 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
7003 constants for DW_AT_byte_size, DW_AT_lower_bound, and
7006 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7008 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
7009 (gdb_target_symbol_prefix_flags): Define in terms of _asm
7011 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
7012 gdb.dwarf2/dw2-canonicalize-type.exp,
7013 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
7014 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
7015 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
7016 provided by gdb_target_symbol_prefix_flags_asm.
7017 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
7018 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
7019 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
7020 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
7021 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
7022 macros where needed). Use this macro for symbols which require
7023 the prefix provided by SYMBOL_PREFIX.
7025 2015-11-05 Kevin Buettner <kevinb@redhat.com>
7027 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
7029 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
7030 representing expressions, of more than one list element.
7031 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
7032 to prepend linker symbol prefix to f.
7033 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
7034 table_1 and table_2.
7035 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
7036 Likewise, for f and g.
7037 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
7039 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
7041 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
7042 table_1_ptr and table_2_ptr.
7044 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7045 Joel Brobecker <brobecker@adacore.com>
7047 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
7049 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
7051 * gdb.reverse/s390-mvcle.c: New test.
7052 * gdb.reverse/s390-mvcle.exp: New file.
7053 * lib/gdb.exp: Enable reverse tests on s390*-linux.
7055 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7057 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
7059 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7061 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
7063 * gdb.reverse/getresuid-reverse.exp: Likewise.
7064 * gdb.reverse/pipe-reverse.exp: Likewise.
7065 * gdb.reverse/readv-reverse.exp: Likewise.
7066 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7067 * gdb.reverse/time-reverse.exp: Likewise.
7068 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
7070 2015-10-30 Yao Qi <yao.qi@linaro.org>
7072 * gdb.threads/wp-replication.c (watch_count_done): Remove.
7073 (empty_cycle): Remove.
7074 (main): Don't call empty_cycle. Don't use watch_count_done.
7075 * gdb.threads/wp-replication.exp: Don't set breakpoint on
7076 empty_cycle. Rewrite the code counting HW watchpoints.
7078 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
7080 * gdb.reverse/fstatat-reverse.c: New test.
7081 * gdb.reverse/fstatat-reverse.exp: New file.
7082 * gdb.reverse/getresuid-reverse.c: New test.
7083 * gdb.reverse/getresuid-reverse.exp: New file.
7084 * gdb.reverse/pipe-reverse.c: New test.
7085 * gdb.reverse/pipe-reverse.exp: New file.
7086 * gdb.reverse/readv-reverse.c: New test.
7087 * gdb.reverse/readv-reverse.exp: New file.
7088 * gdb.reverse/recvmsg-reverse.c: New test.
7089 * gdb.reverse/recvmsg-reverse.exp: New file.
7090 * gdb.reverse/time-reverse.c: New test.
7091 * gdb.reverse/time-reverse.exp: New file.
7092 * gdb.reverse/waitpid-reverse.c: New test.
7093 * gdb.reverse/waitpid-reverse.exp: New file.
7095 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7097 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
7099 2015-10-26 Doug Evans <dje@google.com>
7102 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
7103 * gdb.dwarf2/bad-regnum.c: New file.
7104 * gdb.dwarf2/bad-regnum.exp: New file.
7106 2015-10-26 Doug Evans <dje@google.com>
7109 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
7112 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7114 * gdb.compile/compile.exp (compile code globalvar): Update expectation
7115 for a change by "Mention language in compile error message".
7117 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
7120 * gdb.python/py-type.c (C::a_method): New.
7121 (C::a_const_method): New.
7122 (C::a_static_method): New.
7124 * gdb.python/py-type.exp (test_fields): Test getting fields
7125 from function and method.
7127 2015-10-21 Keven Boell <keven.boell@intel.com>
7129 * gdb.fortran/vla-alloc-assoc.exp: New file.
7130 * gdb.fortran/vla-datatypes.exp: New file.
7131 * gdb.fortran/vla-datatypes.f90: New file.
7132 * gdb.fortran/vla-history.exp: New file.
7133 * gdb.fortran/vla-ptype-sub.exp: New file.
7134 * gdb.fortran/vla-ptype.exp: New file.
7135 * gdb.fortran/vla-sizeof.exp: New file.
7136 * gdb.fortran/vla-sub.f90: New file.
7137 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
7138 * gdb.fortran/vla-value-sub-finish.exp: New file.
7139 * gdb.fortran/vla-value-sub.exp: New file.
7140 * gdb.fortran/vla-value.exp: New file.
7141 * gdb.fortran/vla-ptr-info.exp: New file.
7142 * gdb.mi/mi-vla-fortran.exp: New file.
7143 * gdb.mi/vla.f90: New file.
7145 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
7147 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
7148 of hardwired timeout value.
7150 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7151 Pedro Alves <palves@redhat.com>
7153 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
7154 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
7156 2015-10-19 Josh Stone <jistone@redhat.com>
7158 * gdb.base/catch-syscall.c: Include <sched.h>.
7159 (unknown_syscall): New variable.
7160 (main): Trigger a vfork and an unknown syscall.
7161 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
7162 (unknown_syscall_number): Likewise.
7163 (check_call_to_syscall): Accept an optional syscall pattern.
7164 (check_return_from_syscall): Likewise.
7165 (check_continue): Likewise.
7166 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
7167 (test_catch_syscall_skipping_return): New test toggling off 'catch
7168 syscall' to step over the syscall return, then toggling back on.
7169 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
7170 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
7171 (do_syscall_tests): Call test_catch_syscall_without_args and
7172 test_catch_syscall_mid_vfork.
7173 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
7174 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
7176 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
7178 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
7179 print g_vE): Add new pass patterns.
7180 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
7181 print various symbol names for vptr fields.
7183 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
7185 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
7188 2015-10-12 Yao Qi <yao.qi@linaro.org>
7190 * gdb.arch/disp-step-insn-reloc.exp: New test case.
7192 2015-10-12 Yao Qi <yao.qi@linaro.org>
7194 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
7195 is aarch64*-*-linux*.
7197 2015-10-12 Yao Qi <yao.qi@linaro.org>
7199 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
7200 (can_relocate_bcond_true): ... it.
7201 (can_relocate_bcond_false): New function.
7203 (can_relocate_bl): Likewise.
7204 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
7207 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
7209 * gdb.base/nested-addr.c: New file.
7210 * gdb.base/nested-addr.exp: New testcase.
7212 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
7214 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
7215 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
7216 its output. Ignore the output of "record goto begin" and instead
7217 check that GDB is replaying.
7219 2015-10-09 Pedro Alves <palves@redhat.com>
7221 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
7222 (top level): Use it in the run with no args test.
7224 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
7226 * gdb.dlang/properties.exp: New file.
7228 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
7230 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
7231 whether or not address 0x1000 is mapped on the target.
7233 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
7235 * gdb.python/py-type.exp: Do not run tests if binaries fail to
7238 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
7240 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
7241 instruction-history test.
7243 2015-09-28 Doug Evans <dje@google.com>
7245 * gdb.base/gcore.c (array_func): Add reference to static_array.
7247 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
7249 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
7252 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
7254 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
7255 short or char as base type.
7257 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
7259 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
7260 to allow any size enum.
7262 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
7264 * gdb.ada/array_ptr_renaming.exp: New testcase.
7265 * gdb.ada/array_ptr_renaming/foo.adb: New file.
7266 * gdb.ada/array_ptr_renaming/pack.ads: New file.
7268 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7270 * gdb.trace/ftrace-lock.c: New file.
7271 * gdb.trace/ftrace-lock.exp: New file.
7273 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7275 * gdb.arch/insn-reloc.c: New file.
7276 * gdb.arch/ftrace-insn-reloc.exp: New file.
7278 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7280 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
7282 * gdb.trace/pendshr1.c (pendfunc): Likewise.
7283 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
7284 * gdb.trace/range-stepping.c: Likewise.
7285 * gdb.trace/trace-break.c: Likewise.
7286 * gdb.trace/trace-mt.c (thread_function): Likewise.
7287 * gdb.trace/ftrace.c (marker): Likewise.
7288 * gdb.trace/trace-condition.c (marker): Likewise.
7289 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
7290 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
7293 2015-09-18 Doug Evans <xdje42@gmail.com>
7295 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
7296 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
7298 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7300 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
7303 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7305 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
7306 the pending breakpoint. Remove timeout override for "Run till
7307 MI pending breakpoint on pendfunc3 on thread 2" test.
7309 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7311 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
7314 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7316 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
7317 in breakpoint filename pattern.
7319 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7321 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
7323 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7325 * gdb.linespec/explicit.exp: Check for readline support for
7326 tab-completion tests. Fix obvious typo.
7328 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7330 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
7333 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7335 * gdb.btrace/non-stop.c: New.
7336 * gdb.btrace/non-stop.exp: New.
7338 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
7339 Yao Qi <yao.qi@linaro.org>
7341 * gdb.trace/trace-condition.c: New file.
7342 * gdb.trace/trace-condition.exp: New file.
7344 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
7346 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
7347 for testing bytecode compilation.
7349 2015-09-16 Pedro Alves <palves@redhat.com>
7350 Sandra Loosemore <sandra@codesourcery.com>
7352 * gdb.threads/non-stop-fair-events.c (timeout): New global.
7353 (SECONDS): Redefine.
7354 (main): Call pthread_kill and alarm early.
7355 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
7357 (test): If the target can't hardware step and doesn't support
7358 displaced stepping, increase the timeout.
7360 2015-09-16 Pedro Alves <palves@redhat.com>
7362 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
7363 (enable_debug): New procedures.
7364 (test): Use them. Bail out if waiting for threads fails.
7365 (top level): Bail out if a test fails.
7367 2015-09-16 Yao Qi <yao.qi@linaro.org>
7369 * gdb.asm/asm-source.exp: Set asm-arch for
7370 aarch64*-*-* target.
7371 * gdb.asm/aarch64.inc: New file.
7373 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
7375 * gdb.ada/array_of_variable_length.exp: New testcase.
7376 * gdb.ada/array_of_variable_length/foo.adb: New file.
7377 * gdb.ada/array_of_variable_length/pck.adb: New file.
7378 * gdb.ada/array_of_variable_length/pck.ads: New file.
7380 2015-09-15 Doug Evans <dje@google.com>
7382 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
7383 of function static local variable.
7385 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7387 * gdb.threads/tls-so_extern.exp: New test file.
7388 * gdb.threads/tls-so_extern.c: New test file.
7389 * gdb.threads/tls-so_extern_main.c: New test file.
7391 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7393 * gdb.opt/solib-intra-step-lib.c: New file.
7394 * gdb.opt/solib-intra-step-main.c: New file.
7395 * gdb.opt/solib-intra-step.exp: New file.
7397 2015-09-15 Pedro Alves <palves@redhat.com>
7399 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
7400 gdb_continue_to_breakpoint instead of gdb_test_multiple.
7402 2015-09-14 Pedro Alves <palves@redhat.com>
7404 * gdb.base/hook-stop-continue.c: Delete.
7405 * gdb.base/hook-stop-continue.exp: Delete.
7406 * gdb.base/hook-stop-frame.c: Delete.
7407 * gdb.base/hook-stop-frame.exp: Delete.
7408 * gdb.base/hook-stop.c: New file.
7409 * gdb.base/hook-stop.exp: New file.
7411 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
7413 * gdb.ada/access_to_packed_array.exp: New testcase.
7414 * gdb.ada/access_to_packed_array/foo.adb: New file.
7415 * gdb.ada/access_to_packed_array/pack.adb: New file.
7416 * gdb.ada/access_to_packed_array/pack.ads: New file.
7418 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
7420 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
7423 2015-09-11 Don Breazeal <donb@codesourcery.com>
7425 * gdb.base/foll-exec.c: Add copyright header. Fix
7427 * gdb.base/foll-exec.exp (zap_session): Delete proc.
7428 (do_exec_tests): Use clean_restart in place of zap_session,
7429 and for test initialization. Fix formatting issues. Use
7430 fail in place of perror.
7431 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7432 an expect statement to match an expression with output from
7433 the program under debug.
7434 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7435 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7436 * gdb.threads/non-ldr-exc-2.exp: Likewise.
7437 * gdb.threads/non-ldr-exc-3.exp: Likewise.
7438 * gdb.threads/non-ldr-exc-4.exp: Likewise.
7440 2015-09-09 Doug Evans <dje@google.com>
7442 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7444 2015-09-09 Doug Evans <dje@google.com>
7446 * gdb.base/pie-execl.exp: Fix result test of build_executable.
7448 2015-09-09 Doug Evans <dje@google.com>
7450 * gdb.base/savedregs.exp: Fix typo.
7452 2015-09-09 Pedro Alves <palves@redhat.com>
7454 * gdb.mi/mi-cli.exp: Add CLI finish tests.
7456 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
7458 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
7459 command actually switches threads. Give up on remaining
7460 tests if target fails to stop at breakpoint.
7462 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
7464 * gdb.ada/funcall_char.exp: New testcase.
7465 * gdb.ada/funcall_char/foo.adb: New file.
7467 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
7469 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
7470 expected outputs. Add two testcases for completing ambiguous
7472 * gdb.ada/complete/aux_pck.adb: New file.
7473 * gdb.ada/complete/aux_pck.ads: New file.
7474 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
7475 Ambiguous_Func functions.
7476 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
7477 * gdb.ada/complete/pck.adb: Likewise.
7479 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
7481 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
7482 failures to run the test program under GDB.
7484 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
7486 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7489 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
7491 * gdb.base/run-after-attach.exp: New test file.
7492 * gdb.base/run-after-attach.c: New test file.
7494 2015-08-26 Don Breazeal <donb@codesourcery.com>
7496 * gdb.base/foll-exec-2.c: New test program.
7497 * gdb.base/foll-exec-2.exp: New test.
7499 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7501 * gdb.base/nested-subp1.exp: New file.
7502 * gdb.base/nested-subp1.c: New file.
7503 * gdb.base/nested-subp2.exp: New file.
7504 * gdb.base/nested-subp2.c: New file.
7505 * gdb.base/nested-subp3.exp: New file.
7506 * gdb.base/nested-subp3.c: New file.
7508 2015-08-24 Pedro Alves <palves@redhat.com>
7510 * gdb.server/connect-without-multi-process.c: New file.
7511 * gdb.server/connect-without-multi-process.exp: New file.
7513 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7515 * gdb.opt/inline-markers.c: Make z int.
7517 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7519 * gdb.opt/inline-markers.c: Make z volatile.
7521 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7523 * gdb.opt/inline-bt.c: New volatile global z.
7524 * gdb.opt/inline-cmds.c: Likewise.
7525 * gdb.opt/inline-locals.c: Likewise.
7526 * gdb.opt/inline-markers.c: New extern global z.
7528 (inline_fn): Likewise.
7530 2015-08-24 Pedro Alves <palves@redhat.com>
7532 * config/m32r-stub.exp: Remove file.
7533 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7534 * gdb.base/call-rt-st.exp: Likewise.
7535 * gdb.base/call-strs.exp: Likewise.
7536 * gdb.base/default.exp: Remove references to h8300-*-hms and
7538 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7540 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7542 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7543 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
7544 and "return" use KFAIL when GDB can not read/write the vector
7547 2015-08-21 Gary Benson <gbenson@redhat.com>
7549 * gdb.trace/pending.exp: Cope with remote transfer warnings.
7551 2015-08-20 Pedro Alves <palves@redhat.com>
7553 * gdb.server/solib-list.exp: No longer expect an interior stop in
7556 2015-08-20 Pedro Alves <palves@redhat.com>
7558 * gdb.server/connect-stopped-target.c: New file.
7559 * gdb.server/connect-stopped-target.exp: New file.
7561 2015-08-20 Pedro Alves <palves@redhat.com>
7563 * gdb.dwarf2/comp-unit-lang.exp: New file.
7564 * gdb.dwarf2/comp-unit-lang.c: New file.
7566 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
7568 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7569 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7571 2015-08-19 Kevin Buettner <kevinb@redhat.com>
7573 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7574 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7576 2015-08-18 Doug Evans <dje@google.com>
7577 Adrian Sendroiu <adrian.sendroiu@freescale.com>
7579 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7580 skip_python_tests. New arg prompt_regexp.
7581 (skip_python_tests): New function.
7582 * lib/mi-support.exp (mi_skip_python_tests): New function.
7583 * gdb.python/py-mi-objfile-gdb.py: New file.
7584 * gdb.python/py-mi-objfile.c: New file.
7585 * gdb.python/py-mi-objfile.exp: New file.
7587 2015-08-17 Keith Seitz <keiths@redhat.com>
7589 * gdb.linespec/explicit.exp: Move strace test from here ...
7590 * gdb.trace/strace.exp: ... to here.
7592 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
7594 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
7595 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
7597 2015-08-14 Doug Evans <xdje42@gmail.com>
7599 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
7600 inferior before selecting a new file.
7602 2015-08-14 Doug Evans <xdje42@gmail.com>
7604 * gdb.mi/mi-disassemble.exp: Update.
7605 * gdb.base/disasm-optim.S: New file.
7606 * gdb.base/disasm-optim.c: New file.
7607 * gdb.base/disasm-optim.h: New file.
7608 * gdb.base/disasm-optim.exp: New file.
7610 2015-08-14 Keith Seitz <keiths@redhat.com>
7612 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
7615 2015-08-13 Joel Brobecker <brobecker@adacore.com>
7617 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
7619 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
7621 * gdb.ada/fun_renaming.exp: New testcase.
7622 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
7623 * gdb.ada/fun_renaming/pack.adb: New file.
7624 * gdb.ada/fun_renaming/pack.ads: New file.
7626 2015-08-12 Keith Seitz <keiths@redhat.com>
7628 * gdb.base/dso2dso.exp: Pass basename of source file in call to
7629 gdb_get_line_number.
7631 2015-08-12 Joel Brobecker <brobecker@adacore.com>
7633 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
7634 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
7635 gdb.base/dso2dso.exp: New files.
7637 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
7638 Pedro Alves <palves@redhat.com>
7639 Keith Seitz <keiths@redhat.com>
7641 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
7644 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7646 * gdb.base/gdbhistsize-history.exp
7647 (test_histsize_history_setting): Use save_vars.
7648 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7650 (test_no_truncation_of_unlimited_history_file): Use save_vars.
7651 * gdb.base/readline.exp: Use save_vars.
7653 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7655 * lib/gdb.exp (save_vars): New proc.
7657 2015-08-11 Keith Seitz <keiths@redhat.com>
7659 * gdb.base/help.exp: Update help_breakpoint_text.
7661 2015-08-11 Keith Seitz <keiths@redhat.com>
7663 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
7664 (at toplevel): Call test_explicit_breakpoints.
7665 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7667 * lib/mi-support.exp (mi_make_breakpoint): Add support for
7668 breakpoint conditions, "-cond".
7670 2015-08-11 Keith Seitz <keiths@redhat.com>
7672 * gdb.linespec/3explicit.c: New file.
7673 * gdb.linespec/cpexplicit.cc: New file.
7674 * gdb.linespec/cpexplicit.exp: New file.
7675 * gdb.linespec/explicit.c: New file.
7676 * gdb.linespec/explicit.exp: New file.
7677 * gdb.linespec/explicit2.c: New file.
7678 * gdb.linespec/ls-errs.exp: Add explicit location tests.
7679 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
7680 before using in the matching pattern.
7681 Clarify that `prefix' is a regular expression.
7683 2015-08-11 Keith Seitz <keiths@redhat.com>
7685 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
7687 Add tests for missing ",FMT" and ",".
7689 2015-08-10 Doug Evans <dje@google.com>
7690 Keith Seitz <keiths@redhat.com>
7693 * gdb.base/completion.exp: Add location completer tests.
7695 2015-08-07 Pedro Alves <palves@redhat.com>
7697 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
7699 (top level): Run do_test with and without displaced stepping.
7701 2015-08-07 Pedro Alves <palves@redhat.com>
7703 * gdb.base/valgrind-disp-step.c: New file.
7704 * gdb.base/valgrind-disp-step.exp: New file.
7706 2015-08-07 Pedro Alves <palves@redhat.com>
7708 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
7710 (main): Add alarm. Run an infinite loop instead of calling
7712 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
7714 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
7716 (main): Add alarm. Run an infinite loop instead of calling
7718 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
7721 2015-08-07 Pedro Alves <palves@redhat.com>
7723 * gdb.base/checkpoint-ns.exp: New file.
7724 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
7727 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
7729 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
7730 * gdb.btrace/instruction_history.exp: Update.
7731 * gdb.btrace/tsx.exp: New.
7732 * gdb.btrace/tsx.c: New.
7734 2015-08-06 Pedro Alves <palves@redhat.com>
7736 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
7738 * gdb.reverse/until-precsave.exp: Bump timeouts.
7740 2015-08-06 Pedro Alves <palves@redhat.com>
7742 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
7744 2015-08-06 Pedro Alves <palves@redhat.com>
7747 * gdb.threads/process-dies-while-handling-bp.c: New file.
7748 * gdb.threads/process-dies-while-handling-bp.exp: New file.
7750 2015-08-06 Pedro Alves <palves@redhat.com>
7752 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
7753 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
7755 2015-08-05 Pedro Alves <palves@redhat.com>
7757 * gdb.threads/next-while-other-thread-longjmps.c: New file.
7758 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
7760 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
7762 * gdb.base/bp-permanent.exp: Report test as unsupported if
7763 the target cannot stop at the permanent breakpoint.
7765 2015-08-03 Doug Evans <dje@google.com>
7767 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
7770 2015-08-03 Doug Evans <dje@google.com>
7772 * Makefile.in (workers/%.worker, build-perf): New rule.
7773 (GDB_PERFTEST_MODE): New variable.
7774 (check-perf): Use it.
7775 (clean): Clean up gdb.perf parallel build subdirs.
7776 * lib/build-piece.exp: New file.
7777 * lib/gdb.exp (make_gdb_parallel_path): New function
7778 (standard_output_file, standard_temp_file): Call it.
7779 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7781 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
7783 2015-08-03 Doug Evans <dje@google.com>
7785 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
7786 (LOG_FILE_NAME): New global.
7787 (TextReporter.__init__): Initialize self.txt_sum.
7788 (TextReporter.report): Add support for multiple data-points.
7789 Move report to perftest.sum, put raw data in perftest.log.
7790 (TextReporter.start): Open sum and log files.
7791 (TextReporter.end): Close sum and log files.
7792 * gdb.perf/lib/perftest/testresult.py
7793 (SingleStatisticTestResult.record): Handle multiple data-points.
7795 2015-07-31 Pedro Alves <palves@redhat.com>
7797 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
7798 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7799 kill_wait_spawned_process instead of explicit "kill -9".
7800 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
7801 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7802 kill_wait_spawned_process.
7803 * gdb.base/attach-twice.exp: Likewise.
7804 * gdb.base/attach.exp: Likewise.
7805 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
7807 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
7808 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7809 kill_wait_spawned_process.
7810 * gdb.base/valgrind-infcall.exp: Likewise.
7811 * gdb.multi/multi-attach.exp: Likewise.
7812 * gdb.python/py-prompt.exp: Likewise.
7813 * gdb.python/py-sync-interp.exp: Likewise.
7814 * gdb.server/ext-attach.exp: Likewise.
7815 * gdb.threads/attach-into-signal.exp (corefunc): Use
7816 spawn_wait_for_attach, spawn_id_get_pid and
7817 kill_wait_spawned_process.
7818 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
7819 spawn_wait_for_attach returning a spawn id instead of a pid. Use
7820 spawn_id_get_pid and kill_wait_spawned_process.
7821 * gdb.threads/attach-stopped.exp (corefunc): Use
7822 spawn_wait_for_attach, spawn_id_get_pid and
7823 kill_wait_spawned_process.
7824 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
7825 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7826 kill_wait_spawned_process instead of explicit "kill -9".
7827 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
7828 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
7829 (spawn_wait_for_attach): Use spawn instead of exec to spawn
7830 processes. Don't map cygwin/windows pids here. Now returns a
7833 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7835 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
7836 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
7839 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7841 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
7843 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7846 2014-05-21 Mark Wielaard <mjw@redhat.com>
7848 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7850 2015-07-30 Pedro Alves <palves@redhat.com>
7852 * linux-low.c (handle_extended_wait): Set the child's last
7853 reported status to TARGET_WAITKIND_STOPPED.
7855 2015-07-30 Pedro Alves <palves@redhat.com>
7858 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
7859 only shows inferior 1.
7861 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
7862 Pedro Alves <palves@redhat.com>
7865 * gdb.threads/fork-plus-threads.c: New file.
7866 * gdb.threads/fork-plus-threads.exp: New file.
7868 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7870 * gdb.base/batch-preserve-term-settings.exp
7871 (test_terminal_settings_preserved_after_cli_exit): Use
7874 2015-07-29 Pedro Alves <palves@redhat.com>
7875 Don Breazeal <donb@codesourcery.com>
7877 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
7878 output from both inferior_spawn_id and gdb_spawn_id.
7880 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7882 * gdb.threads/attach-into-signal.exp (corefunc): Use
7883 with_test_prefix on nested loops, uniquefying the test messages.
7885 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7887 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
7890 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7892 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
7894 (test_terminal_settings_preserved_after_sigterm): New test.
7896 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7898 * gdb.base/batch-preserve-term-settings.exp
7899 (test_terminal_settings_preserved_after_cli_exit): New test.
7901 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7903 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
7904 manipulation of saved_gdbflags.
7905 (test_terminal_settings_preserved): Remove global declaration of
7906 the unused variable pagination_prompt. Remove manipulation of
7907 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
7910 2015-07-29 Pedro Alves <palves@redhat.com>
7912 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
7914 2015-07-29 Pedro Alves <palves@redhat.com>
7916 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
7919 2015-07-29 Pedro Alves <palves@redhat.com>
7921 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
7922 (main): Call gdb_unbuffer_output.
7923 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
7924 (main): Call gdb_unbuffer_output.
7925 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
7926 (main): Call gdb_unbuffer_output.
7927 * gdb.base/call-strs.exp: Adjust to step over the
7928 gdb_unbuffer_output call.
7929 * gdb.base/catch-gdb-caused-signals.c: Include
7930 "../lib/unbuffer_output.c".
7931 (main): Call gdb_unbuffer_output.
7932 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
7933 (main): Call gdb_unbuffer_output.
7934 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
7935 (main): Call gdb_unbuffer_output.
7936 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
7937 (main): Call gdb_unbuffer_output.
7938 * gdb.base/shlib-call.exp: Adjust to step over the
7939 gdb_unbuffer_output call.
7940 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
7941 (main): Call gdb_unbuffer_output.
7942 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
7943 (main): Call gdb_unbuffer_output.
7944 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
7945 (main): Rename to ...
7947 (main): Reimplement.
7948 * gdb.base/varargs.exp: Run to test instead of to main.
7949 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7950 (main): Call gdb_unbuffer_output.
7952 2015-07-29 Pedro Alves <palves@redhat.com>
7954 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
7955 factore out from mi_continue_dprintf. For call-style dprintfs,
7956 expect dprintf output out of $inferior_spawn_id.
7957 (mi_continue_dprintf): Use mi_expect_dprintf.
7958 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7959 (main): Call gdb_unbuffer_output.
7961 2015-07-29 Pedro Alves <palves@redhat.com>
7963 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
7964 (default_mi_gdb_start): Set inferior_spawn_id instead of
7965 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
7967 (mi_gdb_test): Always expect inferior output from both
7968 $inferior_spawn_id and $gdb_spawn_id.
7970 2015-07-29 Pedro Alves <palves@redhat.com>
7972 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
7973 send_inferior and $inferior_spawn_id.
7975 2015-07-29 Pedro Alves <palves@redhat.com>
7977 * gdb.gdb/complaints.exp (test_initial_complaints)
7978 (test_serial_complaints, test_short_complaints): Use
7980 (test_empty_complaint): Handle $inferior_spawn_id !=
7983 2015-07-29 Pedro Alves <palves@redhat.com>
7985 * gdb.base/varargs.exp: Use gdb_test_stdio.
7987 2015-07-29 Pedro Alves <palves@redhat.com>
7989 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
7991 2015-07-29 Pedro Alves <palves@redhat.com>
7993 * gdb.base/ending-run.exp: Use gdb_test_stdio.
7995 2015-07-29 Pedro Alves <palves@redhat.com>
7997 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
7998 parameter into two new parameters, "inf_result" and "gdb_result".
7999 Expect inferior output and gdb output from $inferior_spawn_id and
8000 $gdb_spawn_id, respectively. Adjust all callers.
8002 2015-07-29 Pedro Alves <palves@redhat.com>
8004 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
8005 of gdb_test_sequence.
8007 2015-07-29 Pedro Alves <palves@redhat.com>
8009 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
8010 (saw_spurious_output): Expect inferior output from
8011 $inferior_spawn_id. Use gdb_test_stdio.
8013 2015-07-29 Pedro Alves <palves@redhat.com>
8015 * gdb.base/dprintf.exp: Use standard_testfile. Change
8016 prepare_for_testing call.
8017 (srcfile): Don't set.
8018 (restart): New procedure.
8019 (test_dprintf): New procecure, use to continue over dprintfs.
8020 (test_call, test_agent): New procedures, tests moved here.
8021 Restart gdb and recreate dprintfs. Adjust expected output.
8023 2015-07-29 Pedro Alves <palves@redhat.com>
8025 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
8027 2015-07-29 Pedro Alves <palves@redhat.com>
8029 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
8031 2015-07-29 Pedro Alves <palves@redhat.com>
8033 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
8036 2015-07-29 Pedro Alves <palves@redhat.com>
8038 * lib/gdb.exp (gdb_test_stdio): New procedure.
8040 2015-07-29 Pedro Alves <palves@redhat.com>
8042 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
8044 2015-07-29 Pedro Alves <palves@redhat.com>
8046 * gdb.base/call-signal-resume.exp: Remove check for
8047 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
8048 * gdb.base/unwindonsignal.exp: Likewise.
8049 * gdb.base/call-signals.c (gen_signal): Remove printf call.
8050 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
8052 2015-07-29 Pedro Alves <palves@redhat.com>
8054 * gdb.base/siginfo-addr.c (pass): New function.
8055 (handler): Call it iff si_addr is correct.
8056 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
8057 Set a breakpoint at "pass" and continue to it.
8059 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
8061 * gdb.python/py-objfile.exp: Make some tests have unique names.
8062 * gdb.python/py-pp-registration.exp: Likewise.
8064 2015-07-28 Pedro Alves <palves@redhat.com>
8066 * gdb.server/server-exec-info.exp: Issue a "disconnect".
8068 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8070 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
8072 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8074 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
8076 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
8078 * gdb.base/gdb-sigterm-2.exp: New test.
8080 2015-07-25 Doug Evans <xdje42@gmail.com>
8083 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8084 (workers/%.worker, build-perf): New rule.
8085 (GDB_PERFTEST_MODE): New variable.
8086 (check-perf): Use it.
8087 (clean): Clean up gdb.perf parallel build subdirs.
8088 * lib/build-piece.exp: New file.
8089 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8090 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8092 (standard_temp_file): Ditto.
8093 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8096 2015-07-24 Doug Evans <dje@google.com>
8098 * gdb.perf/lib/perftest/utils.py: New file.
8099 * gdb.perf/gm-hello.cc: New file.
8100 * gdb.perf/gm-pervasive-typedef.cc: New file.
8101 * gdb.perf/gm-pervasive-typedef.h: New file.
8102 * gdb.perf/gm-std.cc: New file.
8103 * gdb.perf/gm-std.h: New file.
8104 * gdb.perf/gm-use-cerr.cc: New file.
8105 * gdb.perf/gm-utils.h: New file.
8106 * gdb.perf/gmonster-null-lookup.py: New file.
8107 * gdb.perf/gmonster-pervasive-typedef.py: New file.
8108 * gdb.perf/gmonster-print-cerr.py: New file.
8109 * gdb.perf/gmonster-ptype-string.py: New file.
8110 * gdb.perf/gmonster-runto-main.py: New file.
8111 * gdb.perf/gmonster-select-file.py: New file.
8112 * gdb.perf/gmonster1-null-lookup.exp: New file.
8113 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
8114 * gdb.perf/gmonster1-print-cerr.exp: New file.
8115 * gdb.perf/gmonster1-ptype-string.exp: New file.
8116 * gdb.perf/gmonster1-runto-main.exp: New file.
8117 * gdb.perf/gmonster1-select-file.exp: New file.
8118 * gdb.perf/gmonster1.cc: New file.
8119 * gdb.perf/gmonster1.exp: New file.
8120 * gdb.perf/gmonster2-null-lookup.exp: New file.
8121 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
8122 * gdb.perf/gmonster2-print-cerr.exp: New file.
8123 * gdb.perf/gmonster2-ptype-string.exp: New file.
8124 * gdb.perf/gmonster2-runto-main.exp: New file.
8125 * gdb.perf/gmonster2-select-file.exp: New file.
8126 * gdb.perf/gmonster2.cc: New file.
8127 * gdb.perf/gmonster2.exp: New file.
8129 2015-07-24 Doug Evans <dje@google.com>
8131 * gdb.perf/README: New file.
8132 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
8133 * lib/gen-perf-test.exp: New file.
8135 2015-07-24 Doug Evans <dje@google.com>
8137 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
8138 (PerfTest::startup): New function.
8139 (PerfTest::run): Return result of calling body.
8140 (PerfTest::assemble): Rewrite.
8141 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
8142 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
8143 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
8144 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
8145 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
8147 2015-07-24 Doug Evans <dje@google.com>
8149 * lib/gdb.exp (clean_restart): Make executable optional.
8151 2015-07-24 Doug Evans <dje@google.com>
8153 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
8154 compiler_info references.
8155 * gdb.cp/temargs.exp: Ditto.
8156 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
8157 (get_compiler_info): Early exit if already computed. Set compiler_info
8158 to "unknown" if there was a problem.
8159 (test_compiler_info): Add function comment. Call get_compiler_info.
8161 2015-07-24 Doug Evans <dje@google.com>
8163 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8164 (workers/%.worker, build-perf): New rule.
8165 (GDB_PERFTEST_MODE): New variable.
8166 (check-perf): Use it.
8167 (clean): Clean up gdb.perf parallel build subdirs.
8168 * lib/build-piece.exp: New file.
8169 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8170 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8172 (standard_temp_file): Ditto.
8173 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8176 2015-07-24 Doug Evans <dje@google.com>
8178 * lib/future.exp (gdb_default_target_compile): New option
8180 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
8183 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
8185 * gdb.base/catch-syscall.exp: Call gdb_exit before
8188 2015-07-24 Pedro Alves <palves@redhat.com>
8190 * gdb.python/py-events.exp: Accept output between the stop event
8192 * gdb.python/py-evsignal.exp: Likewise.
8193 * gdb.python/py-evthreads.exp: Likewise.
8195 2015-07-24 Pedro Alves <palves@redhat.com>
8198 * gdb.threads/non-ldr-exit.c: New file.
8199 * gdb.threads/non-ldr-exit.exp: New file.
8201 2015-07-24 Yao Qi <yao.qi@linaro.org>
8203 * gdb.server/ext-wrapper.exp: Test --wrapper option when
8206 2015-07-24 Yao Qi <yao.qi@linaro.org>
8208 * gdb.server/ext-restart.exp: New file.
8210 2015-07-24 Yao Qi <yao.qi@linaro.org>
8212 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
8214 * gdb.server/ext-wrapper.exp: New file.
8216 2015-07-23 Doug Evans <dje@google.com>
8218 * gdb.dwarf2/dw2-dummy-cu.S: New file.
8219 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
8221 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
8223 * gdb.ada/var_arr_typedef.exp: New testcase.
8224 * gdb.ada/var_arr_typedef/pack.adb: New file.
8225 * gdb.ada/var_arr_typedef/pack.ads: New file.
8226 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
8228 2015-07-20 Joel Brobecker <brobecker@adacore.com>
8230 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
8232 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8234 * gdb.arch/i386-biarch-core.exp: Replace istarget
8235 by "complete set gnutarget". Remove expectation for the "core-file"
8238 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8240 Revert the previous commit:
8241 Tests for validate symbol file using build-id.
8243 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
8245 Tests for validate symbol file using build-id.
8246 * gdb.base/solib-mismatch-lib.c: New file.
8247 * gdb.base/solib-mismatch-libmod.c: New file.
8248 * gdb.base/solib-mismatch.c: New file.
8249 * gdb.base/solib-mismatch.exp: New file.
8251 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
8253 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
8255 * gdb.base/sigbpt.exp (stepi_out): Likewise.
8256 * gdb.base/siginfo.exp: Likewise.
8257 * gdb.base/sigstep.exp (advance, advancei): Likewise.
8259 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
8261 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
8263 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
8265 * gdb.trace/range-stepping.exp: Check that the target supports
8268 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8270 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
8272 2015-07-14 Pedro Alves <palves@redhat.com>
8274 * gdb.base/killed-outside.exp: New file.
8275 * gdb.base/killed-outside.c: New file.
8277 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8279 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
8281 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
8283 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8285 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
8286 infcall tests instead of setting up for KFAIL.
8288 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
8290 * gdb.btrace/record_goto-step.exp: New.
8292 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8295 * gdb.compile/compile.c (struct struct_type): Add volatile to
8297 * gdb.compile/compile.exp
8298 (compile code struct_object.selffield = &struct_object): Skip further
8299 struct_object tests if this one xfails.
8301 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
8304 * gdb.trace/ax.exp: Add test.
8306 2015-07-07 Yao Qi <yao.qi@linaro.org>
8308 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
8309 instead of istarget "aarch64*-*-*".
8310 * gdb.arch/aarch64-fp.exp: Likewise.
8311 * gdb.base/float.exp: Likewise.
8312 * gdb.reverse/aarch64.exp: Likewise.
8313 * lib/gdb.exp (is_aarch64_target): New proc.
8315 2015-07-07 Yao Qi <yao.qi@linaro.org>
8317 * lib/gdb.exp (is_aarch32_target): New proc.
8318 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
8319 instead of "istarget "arm*-*-*"".
8320 * gdb.arch/arm-disp-step.exp: Likewise.
8321 * gdb.arch/thumb-bx-pc.exp: Likewise.
8322 * gdb.arch/thumb-prologue.exp: Likewise.
8323 * gdb.arch/thumb-singlestep.exp: Likewise.
8324 * gdb.base/disp-step-syscall.exp: Likewise.
8325 * gdb.base/float.exp: Likewise.
8327 2015-07-07 Yao Qi <yao.qi@linaro.org>
8329 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
8330 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
8332 2015-07-07 Yao Qi <yao.qi@linaro.org>
8334 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
8335 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
8337 * gdb.multi/multi-arch.exp: Likewise.
8339 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
8341 * gdb.python/py-lazy-string.exp: Add missing parentheses to
8344 2015-07-07 Yao Qi <yao.qi@linaro.org>
8346 * gdb.arch/thumb-singlestep.exp: Do one more single step.
8348 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
8350 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8351 '[' and ']' characters.
8353 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
8355 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8357 2015-06-29 Pedro Alves <palves@redhat.com>
8360 * gdb.threads/hand-call-new-thread.c: New file.
8361 * gdb.threads/hand-call-new-thread.c: New file.
8363 2015-06-26 Keith Seitz <keiths@redhat.com>
8364 Doug Evans <dje@google.com>
8367 * gdb.cp/var-tag-2.cc: New file.
8368 * gdb.cp/var-tag-3.cc: New file.
8369 * gdb.cp/var-tag-4.cc: New file.
8370 * gdb.cp/var-tag.cc: New file.
8371 * gdb.cp/var-tag.exp: New file.
8373 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8375 * gdb.base/history-duplicates.exp: New test.
8377 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8379 * gdb.base/completion.exp: Test the completion of the "focus"
8382 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8384 * gdb.arch/amd64-prologue-skip.S: New file.
8385 * gdb.arch/amd64-prologue-skip.exp: New file.
8387 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
8389 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
8390 is_address_zero_readable check.
8392 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
8394 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
8395 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
8397 2015-06-24 Yao Qi <yao.qi@linaro.org>
8399 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
8402 2015-06-24 Yao Qi <yao.qi@linaro.org>
8404 * lib/gdb.exp (supports_get_siginfo_type): New proc.
8405 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
8406 * gdb.base/siginfo-thread.exp: Likewise.
8408 2015-06-22 Yao Qi <yao.qi@linaro.org>
8410 * boards/remote-gdbserver-on-localhost.exp: Add comments.
8412 2015-06-22 Yao Qi <yao.qi@linaro.org>
8414 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
8416 (skip_hw_watchpoint_tests): Likewise.
8418 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
8420 * gdb.base/gdbinit-history.exp: Test the interaction between
8421 setting GDBHISTSIZE and setting the history size via .gdbinit.
8423 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8426 * gdb.base/gdbhistsize-history.exp: New test.
8428 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8430 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8432 * gdb.base/readline.exp: Likewise.
8434 2015-06-17 Yao Qi <yao.qi@linaro.org>
8436 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8439 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8441 * gdb.base/gdbinit-history.exp: Add test case to check that
8442 an unlimited history file does not get truncated on exit.
8444 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8446 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8447 (VECTOR): New macro. Use it...
8448 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8449 ...for these typedefs.
8450 (int8, char1, int1, double1): New typedefs.
8451 (struct just_int2, struct two_int2): New structures.
8452 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8453 (add_structvecs, add_singlevecs): New functions.
8454 (main): Call add_some_intvecs twice.
8455 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8456 the compile and exit upon failure. Try compiling for the "native"
8457 architecture. Test inferior function calls with vector arguments
8458 and vector return value handling with "finish" and "return".
8460 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
8462 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
8463 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
8465 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
8467 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8469 PR breakpoints/16465
8470 * gdb.mi/mi-dprintf-pending.c: New file.
8471 * gdb.mi/mi-dprintf-pending.exp: New test.
8472 * gdb.mi/mi-dprintf-pendshr.c: New file.
8474 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8475 Mircea Gherzan <mircea.gherzan@intel.com>
8477 * gdb.arch/i386-mpx-map.c: New file.
8478 * gdb.arch/i386-mpx-map.exp: New File.
8480 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8482 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
8483 * gdb.arch/i386-mpx.exp: Indentation fixed.
8485 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8487 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8488 function and improved indentation.
8489 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8490 gdb_test_multiple. Added additional tests to skip the test.
8492 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8494 * gdb.arch/i386-avx512.c: Change path in include file.
8495 * gdb.arch/i386-avx512.exp: Change include dir path
8497 * gdb.arch/i386-mpx.c: Change path in include file.
8498 * gdb.arch/i386-mpx.exp: Change include dir path compilation
8501 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8503 * gdb.compile/compile-print.exp (compile print *vararray@3)
8504 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8506 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8508 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8509 (do not keep jit in memory): ... this.
8510 (expect 5): Change it to ...
8511 (expect no 5): ... this.
8513 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
8516 * gdb.mi/mi-detach.exp: New file.
8518 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8521 * gdb.arch/amd64-tailcall-self.S: New file.
8522 * gdb.arch/amd64-tailcall-self.c: New file.
8523 * gdb.arch/amd64-tailcall-self.exp: New file.
8525 2015-05-28 Don Breazeal <donb@codesourcery.com>
8527 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8528 tests for remote targets by checking is_target_gdbserver.
8530 2015-05-27 Doug Evans <dje@google.com>
8532 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8533 * gdb.dwarf2/opaque-type-lookup.c: New file.
8534 * gdb.dwarf2/opaque-type-lookup.exp: New file.
8536 2015-05-26 Doug Evans <dje@google.com>
8538 * gdb.cp/iostream.cc: New file.
8539 * gdb.cp/iostream.exp: New file.
8541 2015-05-26 Doug Evans <dje@google.com>
8543 * gdb.dwarf2/dw2-op-call.exp: Update.
8544 * gdb.dwarf2/dw4-sig-types.exp: Update.
8545 * gdb.dwarf2/implptr.exp: Update.
8546 * gdb.mi/mi-cmd-param-changed.exp: Update.
8548 2015-05-26 Doug Evans <dje@google.com>
8550 * gdb.python/py-lazy-string.c: New file.
8551 * gdb.python/py-lazy-string.exp: New file.
8552 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8553 (main): Update. Add estring3.
8554 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8555 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8557 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8558 Yao Qi <yao.qi@linaro.org>
8560 * gdb.reverse/aarch64.c: New.
8561 * gdb.reverse/aarch64.exp: New.
8563 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8565 * lib/gdb.exp (supports_process_record): Return true for
8567 (supports_reverse): Likewise.
8569 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
8571 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8572 Use with_test_prefix.
8574 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
8576 * gdb.base/completion.exp: Add test for completion of layout
8579 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
8581 * lib/gdb.exp (skip_tui_tests): New proc.
8582 * gdb.base/tui-layout.exp: Check skip_tui_tests.
8584 2015-05-19 Pedro Alves <palves@redhat.com>
8586 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8587 Save the whole env array instead of just HOME. Unset HISTSIZE in
8588 the environment while testing. Restore whole environment
8591 2015-05-16 Doug Evans <xdje42@gmail.com>
8593 * gdb.guile/scm-ports.c: New file.
8594 * gdb.guile/scm-ports.exp: Add memory port tests.
8596 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8598 * gdb.compile/compile-print.c: New file.
8599 * gdb.compile/compile-print.exp: New file.
8601 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8603 * gdb.compile/compile-ops.exp: Cast param to void.
8604 * gdb.compile/compile.exp: Complete type for _gdb_expr.
8605 (compile code struct_object.selffield = &struct_object): Add xfail.
8607 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8609 * gdb.ada/arr_enum_with_gap: New testcase.
8611 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8613 * gdb.ada/byte_packed_arr: New testcase.
8615 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8617 * gdb.ada/pckd_neg: New testcase.
8619 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
8622 * gdb.base/gdbinit-history.exp: New test.
8623 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
8624 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
8626 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
8628 * gdb.python/py-xmethods.cc: Enhance test case.
8629 * gdb.python/py-xmethods.exp: New tests.
8630 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
8632 (B_indexoper): Likewise.
8633 (global_dm_list) : Add new xmethod worker functions.
8635 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
8637 * gdb.base/coredump-filter.exp: Correctly unset
8638 "coredump_var_addr" array.
8640 2015-05-08 Pedro Alves <palves@redhat.com>
8642 * gdb.server/non-existing-program.exp: Unset spawn_id.
8644 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
8647 * gdb.python/py-xmethods.exp: Add tests.
8649 2015-05-08 Yao Qi <yao.qi@linaro.org>
8652 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
8653 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
8654 function set_coredump_filter, and remove remote_exec call.
8655 Remove argument ipid. Callers update.
8656 (top level): Don't get inferior's PID.
8658 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
8660 * gdb.base/watch_thread_num.exp: Skip test on targets without
8663 2015-05-06 Pedro Alves <palves@redhat.com>
8666 * gdb.server/non-existing-program.exp: New file.
8668 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8670 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
8672 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8674 * gdb.ada/out_of_line_in_inlined: New testcase.
8676 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8678 * gdb.ada/var_rec_arr: New testcase.
8680 2015-04-30 Yao Qi <yao.qi@linaro.org>
8682 * gdb.base/break-idempotent.exp: If
8683 skip_hw_watchpoint_multi_tests returns true, skip the tests
8684 on "rwatch" and "awatch".
8686 2015-04-30 Yao Qi <yao.qi@linaro.org>
8688 * gdb.base/relativedebug.exp: Invoke gdb command
8689 "info sharedlibrary", and if libc.so doesn't have debug info,
8692 2015-04-29 Doug Evans <dje@google.com>
8694 * gdb.python/py-xmethods.exp: Add ptype tests.
8695 * gdb.python/py-xmethods.py (E_method_char_worker): Add
8696 get_result_type method.
8698 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8700 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
8701 the target does not support hardware watchpoints.
8703 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8705 * gdb.base/break-always.exp: Abort testing if writing to memory
8708 2015-04-28 Doug Evans <dje@google.com>
8710 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
8711 * gdb.python/py-pp-registration.exp: ... here. New file.
8712 * gdb.python/py-pp-registration.c: New file.
8713 * gdb.python/py-pp-registration.py: New file.
8715 2015-04-28 Doug Evans <dje@google.com>
8717 * gdb.python/py-bad-printers.c: New file.
8718 * gdb.python/py-bad-printers.py: New file.
8719 * gdb.python/py-bad-printers.exp: New file.
8721 2015-04-28 Sasha Smundak <asmundak@google.com>
8723 * gdb.python/py-type.exp: New test.
8725 2015-04-28 Andy Wingo <wingo@igalia.com>
8727 * gdb.python/py-parameter.exp:
8728 * gdb.guile/scm-parameter.exp: Escape the path that we are
8729 matching against, as it might contain characters that are special
8730 to regular expressions.
8732 2015-04-27 Joel Brobecker <brobecker@adacore.com>
8734 * gdb.ada/rec_comp: New testcase.
8736 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
8738 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
8741 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
8743 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
8744 new tests for verilog output.
8746 2015-04-24 Yao Qi <yao.qi@linaro.org>
8748 * boards/remote-gdbserver-on-localhost.exp: New file.
8750 2015-04-23 Pedro Alves <palves@redhat.com>
8752 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
8753 $inferior_spawn_id instead of $inferior_spawn_id directly. On
8754 "end of file", remove $inferior_spawn_id from the indirect list.
8756 2015-04-23 Pedro Alves <palves@redhat.com>
8758 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
8760 2015-04-23 Pedro Alves <palves@redhat.com>
8762 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
8763 on $any_spawn_id instead of only on $gdb_spawn_id.
8765 2015-04-21 Pierre Muller <muller@sourceware.org>
8768 * lib/pascal.exp (gpc_compile): Add new option "class".
8769 (fpc_compile): Likewise.
8770 * gdb.pascal/case-insensitive-symbols.pas: New file.
8771 * gdb.pascal/case-insensitive-symbols.exp: New file.
8773 2015-04-20 Gary Benson <gbenson@redhat.com>
8775 * gdb.base/attach.exp: Fix three extended remote failures.
8777 2015-04-17 Gary Benson <gbenson@redhat.com>
8779 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
8780 the main executable over the remote protocol.
8782 2015-04-16 Pedro Alves <palves@redhat.com>
8784 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
8785 a new gdbserver if gdbserver_reconnect_p is set.
8787 2015-04-16 Pedro Alves <palves@redhat.com>
8789 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
8790 is set, don't exit gdbserver.
8792 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8794 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
8795 appropriate .insn, such that an older assembler can be used.
8796 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
8797 the z/Architecture instruction set on 31-bit targets as well.
8799 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8801 * gdb.go/handcall.exp: Remove all logic related to the first
8802 breakpoint and rely on go_runto_main instead.
8803 * gdb.go/strings.exp: Likewise.
8804 * gdb.go/unsafe.exp: Likewise.
8805 * gdb.go/hello.exp: Likewise. Also rename the remaining
8806 breakpoint marker to "breakpoint 1".
8807 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
8808 * gdb.go/strings.go: Likewise.
8809 * gdb.go/unsafe.go: Likewise.
8810 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
8811 "set breakpoint 2 here" and rename the remaining breakpoint marker
8814 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
8816 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
8817 if itertools.imap is not present.
8818 * gdb.python/py-objfile.exp: Add parentheses.
8819 * gdb.python/py-type.exp: Same.
8820 * gdb.python/py-unwind-maint.py: Same.
8822 2015-04-15 Yao Qi <yao.qi@linaro.org>
8824 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
8825 of ":$ptr_size" and set its form explicitly.
8827 2015-04-15 Pedro Alves <palves@redhat.com>
8828 Yao Qi <yao.qi@linaro.org>
8830 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
8831 timeout by factor of 4.
8832 (test_regular_watch): Likewise.
8833 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
8834 * gdb.reverse/sigall-reverse.exp: Likewise.
8835 * gdb.reverse/until-precsave.exp: Likewise.
8836 * lib/gdb.exp (with_timeout_factor): New proc.
8837 (gdb_expect): Move some code to ...
8838 (get_largest_timeout): ... here. New procedure.
8840 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
8842 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
8844 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8846 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
8847 to write to the .text section.
8849 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8851 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
8852 Handle the case of targets that do not provide PID information.
8854 2015-04-13 Yao Qi <yao.qi@linaro.org>
8856 * lib/gdbserver-support.exp (gdb_exit): Catch exception
8857 and use expect instead of gdb_expect.
8859 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
8861 * gdb.base/coredump-filter.exp: Rename variable "addr" to
8862 "coredump_var_addr" to avoid naming conflict with other testcases.
8864 2015-04-10 Pedro Alves <palves@redhat.com>
8866 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
8867 gdb_test_sequence and gdb_assert.
8869 2015-04-10 Pedro Alves <palves@redhat.com>
8871 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
8872 test messages that don't include the breakpoint address.
8874 2015-04-10 Yao Qi <yao.qi@linaro.org>
8876 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
8877 false for some offset and width combinations which aren't
8878 supported by linux kernel.
8880 2015-04-10 Pedro Alves <palves@redhat.com>
8882 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
8883 procedure, factored out from ...
8884 (top level): ... here. Add "set displaced-stepping" testing axis.
8885 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
8886 parameter "displaced". Use it.
8887 (top level): Use foreach and add "set displaced-stepping" testing
8890 2015-04-10 Pedro Alves <palves@redhat.com>
8892 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
8894 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
8895 both the address of the instruction that triggers the watchpoint
8896 and the address of the instruction immediately after, and use
8897 those addresses for the test. Fix comment.
8899 2015-04-10 Pedro Alves <palves@redhat.com>
8901 * gdb.base/sigstep.exp (breakpoint_to_handler)
8902 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
8903 Test "backtrace" in handler.
8904 (breakpoint_over_handler): New parameter 'displaced'. Use it.
8905 (top level): Add new "displaced" test axis to
8906 breakpoint_to_handler, breakpoint_to_handler_entry and
8907 breakpoint_over_handler.
8909 2015-04-10 Pedro Alves <palves@redhat.com>
8912 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
8914 2015-04-10 Yao Qi <yao.qi@linaro.org>
8916 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
8917 (test_add_rn_pc): New function.
8918 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
8919 (top level): Invoke test_add_rn_pc.
8921 2015-04-10 Pedro Alves <palves@redhat.com>
8924 * gdb.base/step-over-no-symbols.exp: New file.
8926 2015-04-09 Andy Wingo <wingo@igalia.com>
8928 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
8929 after the Python tests.
8931 2015-04-08 Keith Seitz <keiths@redhat.com>
8934 * gdb.python/py-completion.exp: New tests for completion.
8935 * gdb.python/py-completion.py (CompleteLimit1): New class.
8936 (CompleteLimit2): Likewise.
8937 (CompleteLimit3): Likewise.
8938 (CompleteLimit4): Likewise.
8939 (CompleteLimit5): Likewise.
8940 (CompleteLimit6): Likewise.
8941 (CompleteLimit7): Likewise.
8943 2015-04-08 Pedro Alves <palves@redhat.com>
8947 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
8949 (main): Install it as SIGUSR1 handler.
8950 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
8951 parameter. Always use "setup" as prefix. Toggle "set
8952 displaced-stepping" off/on depending on global. Don't switch to
8954 (top level): Add displaced stepping "off/on" test axis. Update
8955 "setup" calls. Wrap each subtest with with_test_prefix. Test
8956 continuing with a queued signal in each thread.
8958 2015-04-08 Pedro Alves <palves@redhat.com>
8960 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
8961 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
8962 gdb_breakpoint instead of gdb_test that doesn't expect anything.
8963 Return early if running to main fails.
8964 * gdb.trace/while-stepping.exp: Likewise.
8966 2015-04-07 Pedro Alves <palves@redhat.com>
8968 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
8969 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
8970 interact with inferior program.
8972 2015-04-07 Pedro Alves <palves@redhat.com>
8974 * lib/gdb.exp (inferior_spawn_id): New global.
8975 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
8976 spawn id after processing the user code.
8977 (default_gdb_start): Set inferior_spawn_id.
8978 (send_inferior): New procedure.
8979 * lib/gdbserver-support.exp (gdbserver_start): Set
8981 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
8983 2015-04-07 Pedro Alves <palves@redhat.com>
8985 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
8986 * lib/gdbserver-support.exp (gdbserver_start): Make
8987 $server_spawn_id global.
8988 (gdbserver_start): Don't wait for gdbserver's spawn id with
8990 (close_gdbserver): New procedure.
8991 (gdb_exit): Rename the default version and reimplement.
8993 2015-04-07 Pedro Alves <palves@redhat.com>
8995 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
8996 append the substituted item, not the original item.
8998 2015-04-07 Pedro Alves <palves@redhat.com>
9000 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
9003 2015-04-07 Pedro Alves <palves@redhat.com>
9005 * gdb.base/interrupt.exp: Don't handle the case of the inferior
9006 output appearing once only.
9008 2015-04-07 Pedro Alves <palves@redhat.com>
9010 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
9011 that doesn't expect anything. Return early if running to main
9014 2015-04-07 Yao Qi <yao.qi@linaro.org>
9016 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
9017 (child_function): Call alarm.
9018 (main): Move call to alarm into the loop.
9019 * gdb.threads/non-stop-fair-events.exp: Build program with
9022 2015-04-06 Doug Evans <xdje42@gmail.com>
9024 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
9025 Fix dest parameter to board_info.
9026 (fpc_compile): Ditto.
9027 (gdb_compile_pascal): Rename dest arg to destfile.
9029 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
9031 * gdb.ada/funcall_ref.exp: New file.
9032 * gdb.ada/funcall_ref/foo.adb: New file.
9034 2015-04-02 Yao Qi <yao.qi@linaro.org>
9036 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
9039 2015-04-02 Gary Benson <gbenson@redhat.com>
9041 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
9043 2015-04-01 Sasha Smundak <asmundak@google.com>
9045 * gdb.python/py-unwind-maint.c: New file.
9046 * gdb.python/py-unwind-maint.exp: New test.
9047 * gdb.python/py-unwind-maint.py: New file.
9048 * gdb.python/py-unwind.c: New file.
9049 * gdb.python/py-unwind.exp: New test.
9050 * gdb.python/py-unwind.py: New test.
9052 2015-04-01 Pedro Alves <palves@redhat.com>
9054 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
9055 to fail instead of non-existent $test.
9057 2015-04-01 Pedro Alves <palves@redhat.com>
9059 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
9060 GDBFLAGS if not empty.
9062 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
9064 * gdb.ada/complete.exp: Remove "multi_line".
9065 * gdb.ada/info_exc.exp: Remove "multi_line".
9066 * gdb.ada/packed_tagged.exp: Remove "multi_line".
9067 * gdb.ada/ptype_field.exp: Remove "multi_line".
9068 * gdb.ada/sym_print_name.exp: Remove "multi_line".
9069 * gdb.ada/tagged.exp: Remove "multi_line".
9070 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
9072 * gdb.btrace/delta.exp: Likewise.
9073 * gdb.btrace/exception.exp: Likewise.
9074 * gdb.btrace/function_call_history.exp: Likewise.
9075 * gdb.btrace/instruction_history.exp: Likewise.
9076 * gdb.btrace/nohist.exp: Likewise.
9077 * gdb.btrace/record_goto.exp: Likewise.
9078 * gdb.btrace/segv.exp: Likewise.
9079 * gdb.btrace/stepi.exp: Likewise.
9080 * gdb.btrace/tailcall.exp: Likewise.
9081 * gdb.btrace/unknown_functions.exp: Likewise.
9082 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
9083 * lib/gdb.exp: Add the "multi_line" helper.
9085 2015-04-01 Pedro Alves <palves@redhat.com>
9087 * gdb.threads/tid-reuse.c: New file.
9088 * gdb.threads/tid-reuse.exp: New file.
9090 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
9093 * gdb.base/coredump-filter.c: New file.
9094 * gdb.base/coredump-filter.exp: Likewise.
9096 2015-03-27 Petr Machata <pmachata@redhat.com>
9098 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
9099 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
9100 (Dwarf::assemble): Initialize them.
9101 (Dwarf::lines): New function.
9103 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
9105 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
9106 SYMBOL_PREFIX for x86_64-*-cygwin.
9108 2015-03-26 Andy Wingo <wingo@igalia.com>
9111 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
9112 const_value but not a location.
9113 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
9114 location defined in non-main CUs are visible.
9116 2015-03-26 Yao Qi <yao.qi@linaro.org>
9119 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
9120 Add a line number entry for the same line.
9121 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
9122 Add a line number entry for the same line.
9124 2015-03-26 Yao Qi <yao.qi@linaro.org>
9126 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
9128 (func): Likewise. Add .Lfunc_1 label.
9130 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
9135 2015-03-26 Yao Qi <yao.qi@linaro.org>
9137 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
9138 Call gdb_compile instead to compile each .s files without debug
9141 2015-03-26 Yao Qi <yao.qi@linaro.org>
9143 * gdb.base/savedregs.exp (process_saved_regs): Make
9144 "Saved registers:" optional in the pattern.
9146 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9148 * gdb.btrace/next.exp: Merged into step.exp.
9149 * gdb.btrace/finish.exp: Merged into step.exp.
9150 * gdb.btrace/nexti.exp: Merged into stepi.exp.
9151 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
9152 "record goto" and checking the exact replay position.
9153 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
9154 check for "Recording format" in "info record" output.
9155 * gdb.btrace/record_goto.exp: Choose test file based on target.
9156 * gdb.btrace/x86-record_goto.S: Renamed into ...
9157 * gdb.btrace/x86_64-record_goto.S: ... this.
9158 * gdb.btrace/i686-record_goto.S: New.
9159 * gdb.btrace/x86-tailcall.S: Renamed into ...
9160 * gdb.btrace/x86_64-tailcall.S: ... this.
9161 * gdb.btrace/i686-tailcall.S: New.
9162 * gdb.btrace/x86-tailcall.c: Renamed into ...
9163 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
9164 separate statements. Update test.
9165 * gdb.btrace/delta.exp: Use record_goto.c as test file.
9166 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
9167 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
9168 * gdb.btrace/tailcall.exp: Choose test file based on target.
9169 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
9171 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9173 * gdb.btrace/exception.exp: Increase BTS buffer size.
9175 2015-03-24 Pedro Alves <palves@redhat.com>
9177 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
9179 2015-03-24 Pedro Alves <palves@redhat.com>
9181 * gdb.threads/schedlock.exp (test_step): No longer expect that
9182 "set scheduler-locking step" with "next" over a function call runs
9185 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9187 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
9189 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9191 PR breakpoints/16466
9192 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
9193 * gdb.mi/mi-pending.c (thread_func): New function.
9194 (int main): Add threading support required.
9195 * gdb.mi/mi-pending.exp: Add tests for this issue.
9196 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
9197 (pendfunc2): Remove stdio dependency.
9198 * gdb.mi/mi-pendshr2.c: New file.
9200 2015-03-23 Keith Seitz <keiths@redhat.com>
9202 * gdb.linespec/keywords.c: New file.
9203 * gdb.linespec/keywords.exp: New file.
9205 2015-03-23 Keith Seitz <keiths@redhat.com>
9208 * gdb.dwarf2/staticvirtual.exp: New test.
9210 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9212 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
9213 * README: Remove HP-UX and gdb.hp.
9215 * configure: Regenerate.
9216 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
9217 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
9218 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
9219 gdb.hp/gdb.defects/Makefile.
9220 * gdb.hp/Makefile.in: File deleted.
9221 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
9222 * gdb.hp/gdb.aCC/optimize.c: File deleted.
9223 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
9224 * gdb.hp/gdb.aCC/run.c: File deleted.
9225 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
9226 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
9227 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
9228 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
9229 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
9230 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
9231 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
9232 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
9233 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
9234 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
9235 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
9236 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
9237 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
9238 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
9239 * gdb.hp/gdb.base-hp/reg.s: File deleted.
9240 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
9241 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
9242 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
9243 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
9244 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
9245 * gdb.hp/gdb.compat/Makefile.in: File deleted.
9246 * gdb.hp/gdb.compat/average.c: File deleted.
9247 * gdb.hp/gdb.compat/sum.c: File deleted.
9248 * gdb.hp/gdb.compat/xdb.c: File deleted.
9249 * gdb.hp/gdb.compat/xdb0.c: File deleted.
9250 * gdb.hp/gdb.compat/xdb0.h: File deleted.
9251 * gdb.hp/gdb.compat/xdb1.c: File deleted.
9252 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
9253 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
9254 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
9255 * gdb.hp/gdb.defects/Makefile.in: File deleted.
9256 * gdb.hp/gdb.defects/bs14602.c: File deleted.
9257 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
9258 * gdb.hp/gdb.defects/solib-d.c: File deleted.
9259 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
9260 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
9261 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
9262 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
9263 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
9264 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
9265 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
9266 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
9267 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
9268 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
9269 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
9270 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
9271 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
9272 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
9273 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
9274 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
9275 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
9276 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
9277 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
9278 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
9279 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
9280 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
9281 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
9282 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
9283 * gdb.hp/tools/odump: File deleted.
9285 2015-03-19 Pedro Alves <palves@redhat.com>
9287 * gdb.threads/continue-pending-status.exp (saw_thread_2)
9288 (saw_thread_3): New globals.
9289 (top level): Increment them when an event for the corresponding
9291 (no thread starvation): New test.
9293 2015-03-19 Pedro Alves <palves@redhat.com>
9295 * gdb.threads/continue-pending-status.c: New file.
9296 * gdb.threads/continue-pending-status.exp: New file.
9298 2015-03-18 Pedro Alves <palves@redhat.com>
9300 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9301 Use gdb_is_target_remote instead of is_remote. Use
9302 gdb_test_multiple instead of gdb_expect. Exit early if
9303 gdb_test_multiple hits its internal matches. Tighten stepi tests
9304 expected output. Fail on exit with any signal, instead of just
9307 2015-03-18 Yao Qi <yao.qi@linaro.org>
9310 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
9312 * gdb.base/catch-syscall.exp: Don't skip it on
9313 aarch64*-*-linux* target. Remove elements in all_syscalls.
9314 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
9316 (setup_all_syscalls): New proc.
9318 2015-03-16 Yao Qi <yao.qi@linaro.org>
9320 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
9321 (top level): Skip tests if valid_addr_p returns false for
9324 2015-03-11 Andy Wingo <wingo@igalia.com>
9326 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
9328 2015-03-11 Yao Qi <yao.qi@linaro.org>
9330 * gdb.base/catch-syscall.exp: Fix typo in comments.
9332 2015-03-11 Yao Qi <yao.qi@linaro.org>
9334 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
9336 2015-03-09 Pedro Alves <palves@redhat.com>
9338 * dg-extract-results.py: Delete.
9340 2015-03-09 Pedro Alves <palves@redhat.com>
9342 Merge dg-extract-results.sh from GCC upstream (r218843).
9344 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
9345 * dg-extract-results.sh: Use --text with grep to avoid issues with
9346 binary files. Fall back to cat -v, if that doesn't work.
9348 2015-03-05 Pedro Alves <palves@redhat.com>
9350 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
9352 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
9354 * lib/mi-support.exp (mi_expect_interrupt): Accept
9355 alternative event for when in all-stop mode.
9357 2015-03-04 Pedro Alves <palves@redhat.com>
9359 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
9361 2015-03-04 Mark Kettenis <kettenis@gnu.org>
9363 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
9365 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9367 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
9368 regexps for GDB's current line display, accept a hex address
9369 preceding the line number.
9371 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9373 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
9374 the 'arch1' variable for "s390*-linux*" targets.
9376 2015-03-04 Pedro Alves <palves@redhat.com>
9378 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9379 (main): Pass missing retval argument to pthread_join call.
9381 2015-03-02 Pedro Alves <palves@redhat.com>
9383 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
9384 (top level): Call do_test with non-stop as well.
9386 2015-03-02 Pedro Alves <palves@redhat.com>
9388 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
9391 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9393 * gdb.arch/s390-vregs.exp: New test.
9394 * gdb.arch/s390-vregs.S: New file.
9396 2015-02-27 Pedro Alves <palves@redhat.com>
9398 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9399 call to catch_command_errors.
9400 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
9401 catch_command_errors.
9403 2015-02-27 Pedro Alves <palves@redhat.com>
9405 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
9406 "true" for boolean result.
9407 * gdb.gdb/selftest.exp (test_with_self): Also accept full
9410 2015-02-27 Pedro Alves <palves@redhat.com>
9412 * lib/unbuffer_output.c: New file.
9413 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
9414 (main): Call gdb_unbuffer_output.
9416 2015-02-27 Yao Qi <yao.qi@linaro.org>
9418 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
9421 2015-02-26 Doug Evans <dje@google.com>
9423 * gdb.cp/class2.cc (Dbase, D): New classes.
9424 (main): New local delta.
9425 * gdb.cp/class2.exp: Test printing delta.
9426 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
9427 (dynbar): New global.
9428 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
9430 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9432 * gdb.compile/compile-ifunc.c: New file.
9433 * gdb.compile/compile-ifunc.exp: New file.
9435 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
9437 * gdb.base/structs.exp: Check for correct struct on finish.
9439 2015-02-26 Yao Qi <yao.qi@linaro.org>
9441 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9444 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9446 * gdb.arch/cordic.ko.bz2: New file.
9447 * gdb.arch/cordic.ko.debug.bz2: New file.
9448 * gdb.arch/ppc64-symtab-cordic.exp: New file.
9450 2015-02-25 Yao Qi <yao.qi@linaro.org>
9452 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9453 aarch64*-*-* target.
9455 2015-02-23 Pedro Alves <palves@redhat.com>
9457 * lib/gdb.exp (delete_breakpoints): Rewrite using
9460 2015-02-23 Pedro Alves <palves@redhat.com>
9462 * gdb.base/info-os.c: Include stdlib.h.
9464 2015-02-22 Doug Evans <xdje42@gmail.com>
9467 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
9468 is read after symbols have been re-read.
9469 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
9470 * gdb.ada/exec_changed/second.adb (Second): Ditto.
9472 2015-02-21 Doug Evans <dje@google.com>
9474 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
9476 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9479 * gdb.arch/i386-biarch-core.core.bz2: New file.
9480 * gdb.arch/i386-biarch-core.exp: New file.
9482 2015-02-21 Pedro Alves <palves@redhat.com>
9484 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9487 2015-02-20 Pedro Alves <palves@redhat.com>
9489 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9492 2015-02-20 Pedro Alves <palves@redhat.com>
9494 * gdb.threads/multi-create-ns-info-thr.exp: New file.
9496 2015-02-20 Pedro Alves <palves@redhat.com>
9498 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
9499 clean_restart before gdb_target_supports_trace.
9501 2015-02-20 Pedro Alves <palves@redhat.com>
9504 * gdb.threads/clone-thread_db.c: New file.
9505 * gdb.threads/clone-thread_db.exp: New file.
9507 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
9509 PR breakpoints/16812
9510 * gdb.base/catch-gdb-caused-signals.c: New file.
9511 * gdb.base/catch-gdb-caused-signals.exp: New file.
9513 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
9515 * configure: Regenerated.
9516 * configure.ac: Use GDB_AC_TRANSFORM.
9517 * aclocal.m4: sinclude ../transform.m4.
9519 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9521 * lib/dtrace.exp: New file.
9522 * gdb.base/dtrace-probe.exp: Likewise.
9523 * gdb.base/dtrace-probe.d: Likewise.
9524 * gdb.base/dtrace-probe.c: Likewise.
9525 * lib/pdtrace.in: Likewise.
9526 * configure.ac: Output variables with the transformed names of
9527 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
9528 * configure: Regenerated.
9530 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9532 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9533 expected message when trying to access $_probe_* convenience
9534 variables while not on a probe.
9536 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9538 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9540 2015-02-11 Pedro Alves <pedro@codesourcery.com>
9542 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9543 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9545 2015-02-10 Doug Evans <xdje42@gmail.com>
9547 * lib/gdb.exp (gdb_load): Always return a result.
9549 2015-02-10 Pedro Alves <palves@redhat.com>
9551 * gdb.threads/signal-sigtrap.c: New file.
9552 * gdb.threads/signal-sigtrap.exp: New file.
9554 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
9556 * gdb.trace/no-attach-trace.c: New file.
9557 * gdb.trace/no-attach-trace.exp: New file.
9559 2015-02-09 Mark Wielaard <mjw@redhat.com>
9561 * gdb.dwarf2/atomic.c: New file.
9562 * gdb.dwarf2/atomic-type.exp: Likewise.
9564 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9566 * gdb.btrace/buffer-size.exp: Update "info record" output.
9567 * gdb.btrace/delta.exp: Update "info record" output.
9568 * gdb.btrace/enable.exp: Update "info record" output.
9569 * gdb.btrace/finish.exp: Update "info record" output.
9570 * gdb.btrace/instruction_history.exp: Update "info record" output.
9571 * gdb.btrace/next.exp: Update "info record" output.
9572 * gdb.btrace/nexti.exp: Update "info record" output.
9573 * gdb.btrace/step.exp: Update "info record" output.
9574 * gdb.btrace/stepi.exp: Update "info record" output.
9575 * gdb.btrace/nohist.exp: Update "info record" output.
9577 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9579 * gdb.btrace/buffer-size: New.
9581 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9583 * gdb.btrace/delta.exp: Update "info record" output.
9584 * gdb.btrace/enable.exp: Update "info record" output.
9585 * gdb.btrace/finish.exp: Update "info record" output.
9586 * gdb.btrace/instruction_history.exp: Update "info record" output.
9587 * gdb.btrace/next.exp: Update "info record" output.
9588 * gdb.btrace/nexti.exp: Update "info record" output.
9589 * gdb.btrace/step.exp: Update "info record" output.
9590 * gdb.btrace/stepi.exp: Update "info record" output.
9591 * gdb.btrace/nohist.exp: Update "info record" output.
9593 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
9596 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
9598 2015-02-06 Pedro Alves <palves@redhat.com>
9600 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
9602 (seconds_left, again): New globals.
9603 (main): Wait seconds_left in a 1-second sleep loop instead of
9604 sleeping 180 seconds. If 'again' is set, reset the seconds
9606 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
9607 'again' in the inferior before detaching. Print the seconds left.
9608 (options): New global.
9609 (top level): Build program with -DTIMEOUT=$timeout.
9611 2015-02-06 Pedro Alves <palves@redhat.com>
9613 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
9614 determine how many seconds to pass to 'alarm'.
9615 * gdb.base/gdb-sigterm.exp (top level): Build program with
9617 (do_test): Return success/failure indication. Add more verbose
9618 logging. Don't fail if 200 single steps are seen. Instead, fail
9619 when the test times out.
9620 (passes): New global.
9621 (top level): Break the testing loop if testing fails on any
9622 iteration. Use gdb_assert.
9624 2015-02-04 Don Breazeal <donb@codesourcery.com>
9626 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
9627 and initialize them.
9628 (ipc_cleanup): New function.
9629 (main): Don't declare shmid, semid, and msqid. Add a call to
9630 atexit so that we call ipc_cleanup on exit.
9632 2015-02-04 Pedro Alves <palves@redhat.com>
9634 * boards/native-extended-gdbserver.exp: Remove any target variant
9635 specifications from the board name before clearing the isremote
9636 flag from board_info.
9638 2015-01-31 Doug Evans <xdje42@gmail.com>
9640 * gdb.base/maint.exp <maint print type argc>: Update expected output.
9642 2015-01-31 Gary Benson <gbenson@redhat.com>
9644 * gdb.base/completion.exp: Disable completion limiting for
9645 existing tests. Add new tests to check completion limiting.
9646 * gdb.linespec/ls-errs.exp: Disable completion limiting.
9648 2015-01-31 Doug Evans <xdje42@gmail.com>
9650 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
9652 2015-01-31 Doug Evans <xdje42@gmail.com>
9654 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
9655 entries. Duplicate file section script entries.
9656 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
9657 inlined entries. Add test for safe-path rejection.
9658 * gdb.python/py-section-script.c: Add duplicate inlined section script
9659 entries. Duplicate file section script entries.
9660 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
9661 inlined entries. Add test for safe-path rejection.
9663 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9665 * gdb.ada/disc_arr_bound: New testcase.
9667 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9669 * gdb.ada/mi_var_array: New testcase.
9671 2015-01-27 Doug Evans <dje@google.com>
9673 * gdb.python/py-objfile.exp: Add tests for objfile.username.
9674 Add test for objfile.filename, objfile.username after objfile
9677 2015-01-26 Joel Brobecker <brobecker@adacore.com>
9679 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
9680 the second test to print the name attribute of value
9681 returned by the call to gdb.lookup_type, and adjust
9682 the expected output accordingly.
9684 2015-01-25 Mark Wielaard <mjw@redhat.com>
9686 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
9687 * gdb.base/disp-step-fork.c: Include unistd.h.
9688 * gdb.base/siginfo-obj.c: Include stdio.h.
9689 * gdb.base/siginfo-thread.c: Likewise.
9690 * gdb.mi/non-stop.c: Include unistd.h.
9691 * gdb.mi/nsthrexec.c: Include stdio.h.
9692 * gdb.mi/pthreads.c: Include unistd.h.
9693 * gdb.modula2/unbounded1.c (main): Declare returns int.
9694 * gdb.reverse/consecutive-reverse.c: Likewise.
9695 * gdb.threads/create-fail.c: Include unistd.h.
9696 * gdb.threads/killed.c: Likewise.
9697 * gdb.threads/linux-dp.c: Likewise.
9698 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
9699 * gdb.threads/non-ldr-exc-2.c: Likewise.
9700 * gdb.threads/non-ldr-exc-3.c: Likewise.
9701 * gdb.threads/non-ldr-exc-4.c: Likewise.
9702 * gdb.threads/pthreads.c: Include unistd.h.
9703 (main): Declare returns int.
9704 * gdb.threads/tls-main.c (foo): New declaration.
9705 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
9707 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
9709 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
9710 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
9712 2015-01-15 Mark Wielaard <mjw@redhat.com>
9714 * gdb.base/noreturn-return.c: New file.
9715 * gdb.base/noreturn-return.exp: New file.
9716 * gdb.base/noreturn-finish.c: New file.
9717 * gdb.base/noreturn-finish.exp: New file.
9719 2015-01-23 Pedro Alves <palves@redhat.com>
9721 * gdb.threads/continue-pending-after-query.c: New file.
9722 * gdb.threads/continue-pending-after-query.exp: New file.
9724 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
9725 Simon Marchi <simon.marchi@ericsson.com>
9727 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
9728 * gdb.base/valgrind-db-attach.exp: Same.
9729 * gdb.base/valgrind-infcall.exp: Same.
9730 * lib/mi-support.exp (default_mi_gdb_start): Same.
9731 * lib/prompt.exp (default_prompt_gdb_start): Same.
9732 * lib/gdb.exp (default_gdb_spawn): Same.
9733 (gdb_interact): New.
9736 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9738 * gdb.compile/compile.exp (pointer to jit function): New test.
9740 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
9742 * lib/gdb.exp (supports_process_record): Return true for
9744 (supports_reverse): Likewise.
9746 2015-01-15 Don Breazeal <donb@codesourcery.com>
9748 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
9749 instead of checking whether the target board is remote and
9750 use spawn_wait_for_attach instead of exec/sleep.
9751 * gdb.base/attach-twice.exp: Likewise.
9753 2015-01-15 Joel Brobecker <brobecker@adacore.com>
9755 * gdb.ada/var_arr_attrs: New testcase.
9757 2015-01-14 Pedro Alves <palves@redhat.com>
9758 Joel Brobecker <brobecker@adacore.com>
9761 * gdb.base/bp-cmds-execution-x-script.c: New file.
9762 * gdb.base/bp-cmds-execution-x-script.exp: New file.
9763 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
9765 2015-01-14 Pedro Alves <palves@redhat.com>
9768 * gdb.base/batch-preserve-term-settings.c: New file.
9769 * gdb.base/batch-preserve-term-settings.exp: New file.
9771 2015-01-13 Doug Evans <dje@google.com>
9773 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
9776 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9778 * Makefile.in (clean mostlyclean): Do not delete *.py.
9780 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9782 * gdb.python/py-lookup-type.exp: New file.
9784 2015-01-12 Pedro Alves <palves@redhat.com>
9786 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
9787 restore GDBFLAGS before returning.
9789 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9791 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
9792 is_amd64_regs_target and is_x86_like_target.
9794 2015-01-11 Doug Evans <xdje42@gmail.com>
9796 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
9797 is given without an explicit form.
9798 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
9800 * gdb.dwarf/corrupt.exp: Ditto.
9801 * gdb.dwarf2/enum-type.exp: Ditto.
9802 * gdb.trace/entry-values.exp: Ditto.
9803 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
9805 2015-01-11 Doug Evans <xdje42@gmail.com>
9808 * gdb.base/maint.exp: Remove references to "maint demangle".
9809 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
9810 Add tests for explicitly specifying language to demangle.
9811 * gdb.dlang/demangle.exp: Ditto.
9813 2015-01-09 Pedro Alves <palves@redhat.com>
9815 * gdb.threads/non-stop-fair-events.c: New file.
9816 * gdb.threads/non-stop-fair-events.exp: New file.
9818 2015-01-09 Pedro Alves <palves@redhat.com>
9820 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
9821 the global scope. Set a breakpoint after all threads are started
9822 rather than stepping over two source lines. Expect the prompt.
9823 * gdb.base/watch_thread_num.c (threads_started_barrier): New
9826 (main): Use threads_started_barrier to wait for all threads to
9827 start. Main thread no longer calls thread_function. Exit after
9829 (loop): New function.
9830 (thread_function): Wait on threads_started_barrier barrier. Call
9831 'loop' at each iteration.
9832 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
9833 threads have started, instead of hardcoding number of "next"
9834 steps. Use an access watchpoint instead of a write watchpoint.
9836 2015-01-09 Pedro Alves <palves@redhat.com>
9838 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
9839 (thread_func): Wait on barrier.
9840 (main): Wait for all threads to start before stopping GDB.
9841 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
9843 (thread1_func, thread2_func): Wait on barrier.
9844 (main): Wait for all threads to start before stopping GDB.
9845 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
9847 (thread1_func, thread2_func): Wait on barrier.
9848 (main): Wait for all threads to start before stopping GDB.
9850 2015-01-09 Pedro Alves <palves@redhat.com>
9852 * gdb.threads/attach-many-short-lived-threads.c: New file.
9853 * gdb.threads/attach-many-short-lived-threads.exp: New file.
9855 2014-01-09 Pedro Alves <palves@redhat.com>
9857 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
9858 instead of to thread 2.
9859 * gdb.threads/signal-command-multiple-signals-pending.c (main):
9860 Add barrier around each pthread_create call instead of around all
9862 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
9863 Set a break on thread_function and have the child threads hit it
9866 2015-01-09 Pedro Alves <palves@redhat.com>
9868 * lib/gdb.exp (can_spawn_for_attach): New procedure.
9869 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
9871 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
9872 checking whether the target board is remote.
9873 * gdb.multi/multi-attach.exp: Likewise.
9874 * gdb.python/py-sync-interp.exp: Likewise.
9875 * gdb.server/ext-attach.exp: Likewise.
9876 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
9877 tests that need to attach, instead of checking whether the target
9878 board is remote at the top of the file.
9880 2015-01-08 Yao Qi <yao@codesourcery.com>
9882 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
9884 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9886 Fix testcase compilation.
9887 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
9889 2015-01-06 Joel Brobecker <brobecker@adacore.com>
9891 * gdb.python/py-type.exp: Add a couple test about empty
9892 array creation, and negative-length array creation.
9894 2015-01-02 Doug Evans <xdje42@gmail.com>
9896 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
9898 2015-01-02 Doug Evans <dje@google.com>
9900 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
9902 2014-12-29 Yao Qi <yao@codesourcery.com>
9904 * gdb.trace/entry-values.exp: Update comments. Rename variable
9905 bar_call_foo to returned_from_foo.
9907 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
9910 * gdb.linespec/break-asm-file.c: New file.
9911 * gdb.linespec/break-asm-file.exp: New file.
9912 * gdb.linespec/break-asm-file0.s: New file.
9913 * gdb.linespec/break-asm-file1.s: New file.
9915 2014-12-18 Nigel Stephens <nigel@mips.com>
9916 Maciej W. Rozycki <macro@codesourcery.com>
9918 * gdb.base/float.exp: Handle the new output from "info float" on
9921 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9923 Fix MinGW compilation.
9924 * gdb.compile/compile-ops.exp: Update untested message if
9925 !skip_compile_feature_tests.
9926 * gdb.compile/compile-setjmp.exp: Likewise.
9927 * gdb.compile/compile-tls.exp: Likewise.
9928 * gdb.compile/compile.exp: Likewise.
9929 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
9930 supported on this host".
9932 2014-12-16 Doug Evans <xdje42@gmail.com>
9934 * boards/stabs.exp: New file.
9936 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
9938 * gdb.base/completion.exp: Adjust to format changes of "maint
9939 print user-registers".
9941 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
9944 * gdb.arch/aarch64-fp.c: New file.
9945 * gdb.arch/aarch64-fp.exp: New file.
9947 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9949 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
9950 r210637, r210913, r211666, r215400, r215817).
9952 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
9953 * dg-extract-results.py: New file.
9954 * dg-extract-results.sh: Use it if the environment seems
9957 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
9959 * dg-extract-results.py (parse_run): Handle warnings that
9960 are printed before a test harness is run.
9962 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
9964 * dg-extract-results.py (Named): Remove __cmp__ method.
9965 (output_variation): Use a key to sort variation.harnesses.
9967 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
9969 * dg-extract-results.py: For Python 3, force sys.stdout to
9970 handle surrogate escape sequences.
9971 (safe_open): New function.
9972 (output_segment, main): Use it.
9974 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
9976 * dg-extract-results.py (Prog.result_re): Include options
9979 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
9981 * dg-extract-results.py (output_variation): Always sort if
9984 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
9986 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
9987 as long as we get pagination notifications.
9989 2014-12-15 Jason Merrill <jason@redhat.com>
9991 * Makefile.in (check-gdb.%): Restore.
9992 * README: Mention it.
9994 2014-12-13 Joel Brobecker <brobecker@adacore.com>
9996 * gdb.ada/str_uninit: New testcase.
9998 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10001 * gdb.base/vla-stub-define.c: New file.
10002 * gdb.base/vla-stub.c: New file.
10003 * gdb.base/vla-stub.exp: New file.
10005 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
10006 Jan Kratochvil <jan.kratochvil@redhat.com>
10007 Tom Tromey <tromey@redhat.com>
10009 * configure.ac: Add gdb.compile/.
10010 * configure: Regenerate.
10011 * gdb.compile/Makefile.in: New file.
10012 * gdb.compile/compile-ops.exp: New file.
10013 * gdb.compile/compile-ops.c: New file.
10014 * gdb.compile/compile-tls.c: New file.
10015 * gdb.compile/compile-tls.exp: New file.
10016 * gdb.compile/compile-constvar.S: New file.
10017 * gdb.compile/compile-constvar.c: New file.
10018 * gdb.compile/compile-mod.c: New file.
10019 * gdb.compile/compile-nodebug.c: New file.
10020 * gdb.compile/compile-setjmp-mod.c: New file.
10021 * gdb.compile/compile-setjmp.c: New file.
10022 * gdb.compile/compile-setjmp.exp: New file.
10023 * gdb.compile/compile-shlib.c: New file.
10024 * gdb.compile/compile.c: New file.
10025 * gdb.compile/compile.exp: New file.
10026 * lib/gdb.exp (skip_compile_feature_tests): New proc.
10028 2014-12-12 Tom Tromey <tromey@redhat.com>
10030 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
10031 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
10033 2014-12-12 Doug Evans <dje@google.com>
10035 * lib/gdb-python.exp (get_python_valueof): New function.
10036 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
10038 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10040 * gdb.base/completion.exp: Add test for completion of "info
10043 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
10045 * gdb.base/func-ptrs.c: New file.
10046 * gdb.base/func-ptrs.exp: New file.
10048 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10050 PR breakpoints/17012
10051 * gdb.base/dprintf-detach.c: New file.
10052 * gdb.base/dprintf-detach.exp: New file.
10054 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10056 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
10057 * lib/gdb.exp (target_is_gdbserver): New procedure.
10059 2014-12-08 Doug Evans <dje@google.com>
10061 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
10063 2014-12-05 Yao Qi <yao@codesourcery.com>
10065 * gdb.guile/scm-error.exp: Remove the third argument to
10066 gdb_remote_download.
10067 * gdb.guile/scm-frame-args.exp: Likewise.
10068 * gdb.guile/scm-section-script.exp: Likewise.
10070 2014-12-05 Yao Qi <yao@codesourcery.com>
10072 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
10074 2014-12-04 Doug Evans <dje@google.com>
10076 * gdb.python/py-objfile.exp: Add tests for
10077 objfile.add_separate_debug_file.
10079 2014-12-04 Doug Evans <dje@google.com>
10081 * lib/gdb.exp (get_build_id): New function.
10082 (build_id_debug_filename_get): Rewrite to use it.
10083 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
10085 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
10087 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
10088 `method(long)', not just 0x0.
10089 * gdb.cp/nsalias.exp: Align code labels to 4.
10090 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
10091 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
10092 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
10093 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
10094 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
10095 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
10097 2014-12-02 Doug Evans <dje@google.com>
10100 * gdb.cp/anon-ns.cc: Move guts of this file to ...
10101 * gdb.cp/anon-ns2.cc: ... here. New file.
10102 * gdb.cp/anon-ns.exp: Update.
10104 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
10106 * gdb.python/py-events.py (inferior_call_handler): New.
10107 (register_changed_handler, memory_changed_handler): New.
10108 (test_events.invoke): Register new handlers.
10109 * gdb.python/py-events.exp: Add tests for inferior call,
10110 memory_changed and register_changed events.
10112 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10114 * gdb.base/execl-update-breakpoints.exp: Specify the link address
10115 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
10116 if the linker doesn't understand this.
10118 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
10120 * gdb.python/python.exp: Change expected reply to help().
10122 2014-12-01 Yao Qi <yao@codesourcery.com>
10124 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
10125 AC_CONFIG_SUBDIRS(gdb.gdbtk).
10126 * configure: Re-generated.
10128 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
10130 * gdb.cp/chained-calls.cc: New file.
10131 * gdb.cp/chained-calls.exp: New file.
10132 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
10134 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
10136 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
10137 * gdb.dwarf2/symtab-producer.exp: Same.
10138 * gdb.gdb/python-interrupts.exp: Same.
10139 * gdb.gdb/python-selftest.exp: Same.
10140 * gdb.python/py-linetable.exp: Same.
10141 * gdb.python/py-type.exp: Same.
10142 * gdb.python/py-value-cc.exp: Same.
10143 * gdb.python/py-value.exp: Same.
10145 2014-11-28 Yao Qi <yao@codesourcery.com>
10147 * gdb.base/break-probes.exp: Match library name prefixed with
10150 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
10152 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
10153 test expected output. Add parentheses for the call to print.
10154 Remove L suffix from integers.
10156 2014-11-26 Doug Evans <dje@google.com>
10158 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
10160 2014-11-22 Yao Qi <yao@codesourcery.com>
10162 * gdb.trace/entry-values.c: Remove asms.
10163 (foo): Add foo_label.
10164 (bar): Add bar_label.
10165 * gdb.trace/entry-values.exp: Remove code computing foo's
10166 length and bar's length.
10167 (Dwarf::assemble): Invoke function_range for bar and use
10168 MACRO_AT_func for foo.
10170 2014-11-22 Yao Qi <yao@codesourcery.com>
10172 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
10173 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
10174 Use .Lgcc43_procstart instead of gcc43.
10176 2014-11-21 Joel Brobecker <brobecker@adacore.com>
10178 * gdb.ada/n_arr_bound: New testcase.
10180 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
10182 PR breakpoints/10737
10183 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
10184 test_catch_syscall_multi_arch.
10185 (test_catch_syscall_multi_arch): New function.
10187 2014-11-20 Doug Evans <xdje42@gmail.com>
10189 * gdb.base/maint.exp: Update expected output.
10191 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10193 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
10194 4-byte instruction on S390.
10196 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10198 * gdb.ada/arr_arr: New testcase.
10200 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10202 * gdb.ada/pkd_arr_elem: New Testcase.
10204 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
10206 * gdb.reverse/break-precsave: Expect completion message for
10208 * gdb.reverse/consecutive-precsave.exp: Likewise.
10209 * gdb.reverse/finish-precsave.exp: Likewise.
10210 * gdb.reverse/i386-precsave.exp: Likewise.
10211 * gdb.reverse/machinestate-precsave.exp: Likewise.
10212 * gdb.reverse/sigall-precsave.exp: Likewise.
10213 * gdb.reverse/solib-precsave.exp: Likewise.
10214 * gdb.reverse/step-precsave.exp: Likewise.
10215 * gdb.reverse/until-precsave.exp: Likewise.
10216 * gdb.reverse/watch-precsave.exp: Likewise.
10218 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10220 * gdb.base/bp-permanent.c: Include unistd.h.
10221 * gdb.python/py-framefilter-mi.c (main): Add return type.
10222 * gdb.python/py-framefilter.c (main): Likewise.
10223 * gdb.trace/actions-changed.c (main): Likewise.
10225 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10227 * gdb.mi/until.c: Add eye-catchers.
10228 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
10231 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10233 * gdb.base/condbreak.exp: Drop references to removed non-prototype
10234 function header variants in break1.c.
10235 * gdb.base/ena-dis-br.exp: Likewise.
10236 * gdb.base/hbreak2.exp: Likewise.
10237 * gdb.reverse/until-precsave.exp: Drop references to removed
10238 non-prototype function header variants in ur1.c.
10239 * gdb.reverse/until-reverse.exp: Likewise.
10241 2014-11-17 Petr Machata <pmachata@redhat.com>
10243 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
10244 ${_cu_offset_size} bytes abbrev offset.
10246 2014-11-15 Doug Evans <xdje42@gmail.com>
10249 * gdb.base/line-symtabs.exp: New file.
10250 * gdb.base/line-symtabs.c: New file.
10251 * gdb.base/line-symtabs.h: New file.
10253 2014-11-14 Yao Qi <yao@codesourcery.com>
10255 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
10256 (func): Add label func_label.
10257 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
10258 Replace low_pc and high_pc with MACRO_AT_range.
10259 Replace name, low_pc and high_pc with MACRO_AT_func.
10261 2014-11-14 Yao Qi <yao@codesourcery.com>
10263 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
10264 Replace name, low_pc and high_pc with MACRO_AT_func.
10266 2014-11-14 Yao Qi <yao@codesourcery.com>
10268 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
10269 produce debug information.
10270 * gdb.dwarf2/implptr-optimized-out.S: Removed.
10272 2014-11-14 Yao Qi <yao@codesourcery.com>
10274 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
10275 object and get function length.
10276 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
10277 with MACRO_AT_func.
10278 (top-level): Replace gdb_compile and clean_restart with
10279 prepare_for_testing.
10280 * gdb.dwarf2/main.c (main): Add label main_label.
10282 2014-11-14 Yao Qi <yao@codesourcery.com>
10284 * lib/dwarf.exp (function_range): New procedure.
10285 (Dwarf::_handle_macro_at_func): New procedure.
10286 (Dwarf::_handle_macro_at_range): New procedure.
10287 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
10289 2014-11-14 Yao Qi <yao@codesourcery.com>
10291 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
10292 (_handle_attribute): New procedure.
10294 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10296 * gdb.ada/cond_lang/foo.c (callme): Add return type.
10297 * gdb.base/call-sc.c (zed): Likewise.
10298 * gdb.base/checkpoint.c (main): Likewise.
10299 * gdb.base/dump.c (main): Likewise.
10300 * gdb.base/gcore.c (main): Likewise.
10301 * gdb.base/huge.c (main): Likewise.
10302 * gdb.base/multi-forks.c (main): Likewise.
10303 * gdb.base/pr10179-a.c (main): Likewise.
10304 * gdb.base/savedregs.c (main): Likewise.
10305 * gdb.base/sigaltstack.c (main): Likewise.
10306 * gdb.base/siginfo.c (main): Likewise.
10307 * gdb.base/structs.c (zed): Likewise.
10308 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
10309 * gdb.mi/mi-syn-frame.c (main): Likewise.
10310 * gdb.mi/until.c (foo, main): Likewise.
10311 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
10312 * gdb.base/solib-weak.c (foo): Declare.
10313 * gdb.base/attach-twice.c: Include stdio.h.
10314 * gdb.base/weaklib1.c: Likewise.
10315 * gdb.base/weaklib2.c: Likewise.
10316 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
10317 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
10319 * gdb.base/attach-pie-misread.c: Include stdlib.h.
10320 * gdb.mi/mi-exit-code.c: Likewise.
10321 * gdb.base/break-interp-lib.c: Include string.h.
10322 * gdb.base/coremaker.c: Likewise.
10323 * gdb.base/testenv.c: Likewise.
10324 * gdb.python/py-finish-breakpoint.c: Likewise.
10325 * gdb.base/inferior-died.c: Include sys/wait.h.
10326 * gdb.base/fileio.c: Include time.h.
10327 * gdb.base/async-shell.c: Include unistd.h.
10328 * gdb.base/dprintf-non-stop.c: Likewise.
10329 * gdb.base/info-os.c: Likewise.
10330 * gdb.mi/mi-console.c: Likewise.
10331 * gdb.mi/watch-nonstop.c: Likewise.
10332 * gdb.python/py-events.c: Likewise.
10333 * gdb.base/async.c (baz): Move up before its invocation.
10334 * gdb.base/code_elim2.c (my_global_func): Likewise.
10335 * gdb.base/skip-solib-lib.c (multiply): Likewise.
10336 * gdb.base/advance.c (func2): Likewise.
10338 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10340 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
10342 * gdb.base/annota3.c: Likewise.
10343 * gdb.base/async.c: Likewise.
10344 * gdb.base/average.c: Likewise.
10345 * gdb.base/call-ar-st.c: Likewise.
10346 * gdb.base/call-rt-st.c: Likewise.
10347 * gdb.base/call-sc.c: Likewise.
10348 * gdb.base/call-strs.c: Likewise.
10349 * gdb.base/ending-run.c: Likewise.
10350 * gdb.base/execd-prog.c: Likewise.
10351 * gdb.base/exprs.c: Likewise.
10352 * gdb.base/foll-exec.c: Likewise.
10353 * gdb.base/foll-fork.c: Likewise.
10354 * gdb.base/foll-vfork.c: Likewise.
10355 * gdb.base/funcargs.c: Likewise.
10356 * gdb.base/gcore.c: Likewise.
10357 * gdb.base/jump.c: Likewise.
10358 * gdb.base/langs0.c: Likewise.
10359 * gdb.base/langs1.c: Likewise.
10360 * gdb.base/langs2.c: Likewise.
10361 * gdb.base/mips_pro.c: Likewise.
10362 * gdb.base/nodebug.c: Likewise.
10363 * gdb.base/opaque0.c: Likewise.
10364 * gdb.base/opaque1.c: Likewise.
10365 * gdb.base/recurse.c: Likewise.
10366 * gdb.base/run.c: Likewise.
10367 * gdb.base/scope0.c: Likewise.
10368 * gdb.base/scope1.c: Likewise.
10369 * gdb.base/setshow.c: Likewise.
10370 * gdb.base/setvar.c: Likewise.
10371 * gdb.base/shmain.c: Likewise.
10372 * gdb.base/shr1.c: Likewise.
10373 * gdb.base/shr2.c: Likewise.
10374 * gdb.base/sigall.c: Likewise.
10375 * gdb.base/signals.c: Likewise.
10376 * gdb.base/so-indr-cl.c: Likewise.
10377 * gdb.base/solib2.c: Likewise.
10378 * gdb.base/structs.c: Likewise.
10379 * gdb.base/sum.c: Likewise.
10380 * gdb.base/vforked-prog.c: Likewise.
10381 * gdb.base/watchpoint.c: Likewise.
10382 * gdb.reverse/shr2.c: Likewise.
10383 * gdb.reverse/until-reverse.c: Likewise.
10384 * gdb.reverse/ur1.c: Likewise.
10385 * gdb.reverse/watch-reverse.c: Likewise.
10387 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10389 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
10391 * gdb.base/sepdebug.exp: Drop references to removed code.
10393 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10395 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
10396 variant. Preserve original line numbering.
10397 * gdb.base/list1.c: Likewise.
10399 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10401 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
10403 * gdb.base/break1.c: Likewise.
10404 * gdb.base/break.exp: Drop references to removed code.
10406 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10408 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
10411 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10413 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
10415 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10417 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
10418 logic into perform_all_tests() and invoke it with and without
10419 function header prototypes.
10420 (do_function_calls): Remove conditional XFAIL for PR 5318.
10421 (rerun_and_prepare): Remove duplicate code.
10422 (perform_all_tests): New. Main logic moved here.
10424 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10426 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
10427 code guarded by #ifdef NO_PROTOTYPES.
10428 (t_double_many_args): Likewise.
10429 (DEF_FUNC_MANY_ARGS_1): Likewise.
10430 (DEF_FUNC_VALUES_1): Likewise.
10431 (t_structs_ldc): Renamed from t_structs_fc in conditional code
10432 guarded by #ifdef PROTOTYPES.
10434 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10436 * gdb.mi/mi-console.c: Add eye-catcher.
10437 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10438 instead of literal line number.
10440 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10442 * gdb.base/shr2.c: Add eye-catcher.
10443 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10446 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10448 * gdb.base/jump.c: Add eye-catchers.
10449 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10452 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10454 * gdb.base/execd-prog.c: Add eye-catchers.
10455 * gdb.base/foll-exec.c: Likewise.
10456 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10459 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10461 * gdb.base/ending-run.c: Add eye-catchers.
10462 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
10463 literal line numbers.
10465 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10467 * gdb.base/call-rt-st.c: Add eye-catchers.
10468 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
10469 literal line numbers.
10471 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10473 * gdb.base/call-ar-st.c: Add eye-catchers.
10474 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
10475 literal line numbers.
10477 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10479 * gdb.base/average.c: Add eye-catchers.
10480 * gdb.base/sum.c: Likewise.
10481 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
10482 regexps dynamically.
10484 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10486 * gdb.base/solib1.c: Add eye-catchers.
10487 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10488 literal line numbers.
10490 2014-11-12 Pedro Alves <palves@redhat.com>
10492 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10495 2014-11-12 Pedro Alves <palves@redhat.com>
10497 * gdb.arch/i386-bp_permanent.c: New file.
10498 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10499 (srcfile): Set to i386-bp_permanent.c.
10500 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
10501 that stepi does not execute the 'leave' instruction, instead of
10502 testing it does execute.
10503 * gdb.base/bp-permanent.c: New file.
10504 * gdb.base/bp-permanent.exp: New file.
10506 2014-11-10 Doug Evans <xdje42@gmail.com>
10509 * gdb.base/symtab-search-order.exp: New file.
10510 * gdb.base/symtab-search-order.c: New file.
10511 * gdb.base/symtab-search-order-1.c: New file.
10512 * gdb.base/symtab-search-order-shlib-1.c: New file.
10514 2014-11-07 Pedro Alves <palves@redhat.com>
10517 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10520 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10523 * gdb.cp/pr17494.cc: New file.
10524 * gdb.cp/pr17494.exp: New file.
10526 2014-11-02 Yao Qi <yao@codesourcery.com>
10528 * gdb.python/python.exp: Get working directory and match the
10529 output of "set extended-prompt \\w " with it.
10531 2014-10-30 Doug Evans <dje@google.com>
10533 * gdb.python/py-objfile.exp: Add tests for setting random attributes
10535 * gdb.python/py-progspace.exp: Add tests for setting random attributes
10538 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
10540 * gdb.base/fullpath-expand.exp: Skip for a remote host.
10541 * gdb.base/realname-expand.exp: Likewise.
10542 * gdb.linespec/macro-relative.exp: Likewise.
10544 2014-10-29 Pedro Alves <palves@redhat.com>
10547 * gdb.threads/schedlock.c (some_function): New function.
10548 (call_function): New global.
10549 (MAYBE_CALL_SOME_FUNCTION): New macro.
10550 (thread_function): Call it.
10551 * gdb.threads/schedlock.exp (get_args): Add description parameter,
10552 and use it instead of a global counter. Adjust all callers.
10553 (get_current_thread): Use "find current thread" for test message
10554 here rather than having all callers pass down the same string.
10555 (goto_loop): New procedure, factored out from ...
10556 (my_continue): ... this.
10557 (step_ten_loops): Change parameter from test message to command to
10559 (list_count): Delete global.
10560 (check_result): New procedure, factored out from duplicate top
10562 (continue tests): Wrap in with_test_prefix.
10563 (test_step): New procedure, factored out from duplicate top level
10565 (top level): Test "step" in combination with all scheduler-locking
10566 modes. Test "next" in combination with all scheduler-locking
10567 modes, and in combination with stepping over a function call or
10569 * gdb.threads/next-bp-other-thread.c: New file.
10570 * gdb.threads/next-bp-other-thread.exp: New file.
10572 2014-10-29 Pedro Alves <palves@redhat.com>
10575 * gdb.python/python.exp: Test a multi-line command that spawns
10576 interactive Python.
10577 * gdb.base/multi-line-starts-subshell.exp: New file.
10579 2014-10-29 Yao Qi <yao@codesourcery.com>
10581 * gdb.base/fileio.exp: Make directories on host.
10583 2014-10-29 Yao Qi <yao@codesourcery.com>
10585 * gdb.base/fileio.c (test_write): Close the file.
10587 2014-10-28 Pedro Alves <palves@redhat.com>
10590 * gdb.base/sigstep.c (no_handler): New global.
10591 (main): If 'no_handler is true, set the signal handlers to
10593 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
10594 with_sw_watch and no_handler parameters. Handle them.
10595 (top level) <stepping over handler when stopped at a breakpoint
10596 test>: Add a test axis for testing with a software watchpoint, and
10597 another for testing with the signal handler set to SIG_IGN.
10598 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
10599 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
10601 2014-10-28 Pedro Alves <palves@redhat.com>
10604 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
10605 * gdb.base/sigstep.exp (other_handler_location): New global.
10606 (advance): Support stepping into the signal handler, and running
10607 commands while in the handler.
10608 (in_handler_map): New global.
10609 (top level): In the advance test, add combinations for getting
10610 into the handler with stepping commands, and for running commands
10611 in the handler. Add comment descripting the advancei tests.
10613 2014-10-28 Pedro Alves <palves@redhat.com>
10615 * gdb.base/sigstep.exp: Use build_executable instead of
10616 prepare_for_testing.
10617 (top level): Move code that starts GDB, runs to main and creates a
10619 (restart): ... this new procedure.
10620 (top level): Move backtrace from signal handler test to ...
10621 (validate_backtrace): ... this new procedure.
10622 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
10623 with_test_prefix. Always restart GDB.
10624 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
10625 with_test_prefix. Always restart GDB. No need to delete
10626 breakpoints after the test.
10627 (test_skip_handler): Remove prefix parameter.
10628 (skip_over_handler, breakpoint_to_handler)
10629 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
10630 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
10631 restart GDB. No need to delete breakpoints after the test.
10632 (top level): Use foreach to call the test procedures with
10633 different commands.
10635 2014-10-28 Pedro Alves <palves@redhat.com>
10637 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
10638 instead of GNATS numbers.
10639 * gdb.base/sigbpt.exp: Likewise.
10640 * gdb.base/siginfo.exp: Likewise.
10641 * gdb.base/sigstep.exp: Likewise.
10643 2014-10-27 Pedro Alves <palves@redhat.com>
10645 * gdb.base/sigstep.c (dummy): New global.
10646 (main): Issue a couple writes to the new global.
10647 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
10649 (skip_over_handler): Use test_skip_handler.
10650 (top level): Call skip_over_handler for stepi and nexti too.
10651 (breakpoint_over_handler): Use test_skip_handler.
10652 (top level): Call breakpoint_over_handler for stepi and nexti too.
10654 2014-10-27 Yao Qi <yao@codesourcery.com>
10656 * gdb.trace/tfile.c (adjust_function_address)
10657 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
10658 function descriptor.
10660 2014-10-24 Don Breazeal <donb@codesourcery.com>
10662 * gdb.base/foll-fork.exp (test_follow_fork,
10663 catch_fork_child_follow): Check for updated fork messages emitted
10665 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
10666 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
10667 vfork_and_exec_child_follow_through_step): Check for updated vfork
10668 messages emitted from infrun.c.
10670 2014-10-24 Pedro Alves <palves@redhat.com>
10672 * gdb.base/corefile.exp: Remove references to ultrix.
10673 * gdb.base/interrupt.exp: Likewise.
10674 * gdb.base/whatis.exp: Likewise.
10675 * gdb.gdb/selftest.exp: Likewise.
10676 * gdb.threads/manythreads.exp: Likewise.
10677 * gdb.threads/print-threads.exp: Likewise.
10678 * gdb.threads/pthreads.exp:: Likewise.
10679 * gdb.threads/schedlock.exp: Likewise.
10681 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
10683 * gdb.cp/non-trivial-retval.cc: Add a test case.
10684 * gdb.cp/non-trivial-retval.exp: Add a test.
10686 2014-10-20 Yao Qi <yao@codesourcery.com>
10688 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
10689 * gdb.python/py-objfile-script-gdb.py: New file.
10690 * gdb.python/py-objfile-script.exp: Update reference to
10691 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
10692 of remote_download. Remove the dest file.
10694 2014-10-20 Yao Qi <yao@codesourcery.com>
10696 * gdb.base/checkpoint.exp: Don't remove file copied on host.
10697 * gdb.base/step-line.exp: Likewise.
10698 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10699 * gdb.dwarf2/dw2-basic.exp: Likewise.
10700 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10701 * gdb.dwarf2/dw2-filename.exp: Likewise.
10702 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10703 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10704 * gdb.dwarf2/dw2-producer.exp: Likewise.
10705 * gdb.dwarf2/mac-fileno.exp: Likewise.
10706 * gdb.python/py-frame-args.exp: Likewise.
10707 * gdb.python/py-framefilter.exp: Likewise.
10708 * gdb.python/py-mi.exp: Likewise.
10709 * gdb.python/py-objfile-script.exp: Likewise
10710 * gdb.python/py-pp-integral.exp: Likewise.
10711 * gdb.python/py-pp-re-notag.exp: Likewise.
10712 * gdb.python/py-prettyprint.exp: Likewise.
10713 * gdb.python/py-section-script.exp: Likewise.
10714 * gdb.python/py-typeprint.exp: Likewise.
10715 * gdb.python/py-xmethods.exp: Likewise.
10716 * gdb.stabs/weird.exp: Likewise.
10717 * gdb.xml/tdesc-regs.exp: Likewise.
10719 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
10721 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
10722 (out_cu): Use addr_len for the size of addresses.
10723 (out_line): Likewise. Size DW_LNE_set_address instruction
10724 according to addr_len.
10725 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
10726 (FUNC): Add START_INSNS to definition.
10728 2014-10-18 Yao Qi <yao@codesourcery.com>
10730 * gdb.base/argv0-symlink.exp: Check argv[0] value if
10731 gdb_has_argv0 return true.
10732 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
10733 check [target_info exists noargs], check [gdb_has_argv0]
10735 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10736 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
10739 2014-10-17 Doug Evans <dje@google.com>
10741 * gdb.python/py-events.exp: Update expected output for clear_objfiles
10743 * gdb.python/py-events.py: Add clear_objfiles event.
10745 2014-10-17 Doug Evans <dje@google.com>
10747 * gdb.python/py-objfile.exp: Test progspace attribute.
10749 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
10751 * gdb.guile/scm-breakpoint.exp: Do not assume any
10752 directory separators when matching source file paths.
10753 * gdb.python/py-breakpoint.exp: Likewise.
10754 * gdb.reverse/break-precsave.exp: Likewise.
10755 * gdb.reverse/break-reverse.exp: Likewise.
10756 * gdb.reverse/consecutive-precsave.exp: Likewise.
10757 * gdb.reverse/finish-precsave.exp: Likewise.
10758 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
10759 * gdb.reverse/finish-reverse.exp: Likewise.
10760 * gdb.reverse/i386-precsave.exp: Likewise.
10761 * gdb.reverse/i387-env-reverse.exp: Likewise.
10762 * gdb.reverse/i387-stack-reverse.exp: Likewise.
10763 * gdb.reverse/machinestate-precsave.exp: Likewise.
10764 * gdb.reverse/machinestate.exp: Likewise.
10765 * gdb.reverse/sigall-precsave.exp: Likewise.
10766 * gdb.reverse/solib-precsave.exp: Likewise.
10767 * gdb.reverse/step-precsave.exp: Likewise.
10768 * gdb.reverse/until-precsave.exp: Likewise.
10769 * gdb.reverse/watch-precsave.exp: Likewise.
10770 * gdb.reverse/watch-reverse.exp: Likewise.
10772 2014-10-17 Yao Qi <yao@codesourcery.com>
10774 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
10775 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
10777 2014-10-17 Pedro Alves <palves@redhat.com>
10780 * gdb.base/bg-execution-repeat.c: New file.
10781 * gdb.base/bg-execution-repeat.exp: New file.
10783 2014-10-17 Pedro Alves <palves@redhat.com>
10786 * gdb.base/continue-all-already-running.c: New file.
10787 * gdb.base/continue-all-already-running.exp: New file.
10789 2014-10-17 Pedro Alves <palves@redhat.com>
10792 * gdb.base/annota-input-while-running.c: New file.
10793 * gdb.base/annota-input-while-running.exp: New file.
10795 2014-10-17 Pedro Alves <palves@redhat.com>
10797 * gdb.base/callfuncs.exp: emove references to osf.
10798 * gdb.base/sigall.exp: Likewise.
10799 * gdb.gdb/selftest.exp: Likewise.
10800 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10801 * gdb.mi/non-stop.c: Likewise.
10802 * gdb.mi/pthreads.c: Likewise.
10803 * gdb.reverse/sigall-precsave.exp: Likewise.
10804 * gdb.reverse/sigall-reverse.exp: Likewise.
10805 * gdb.threads/pthreads.c: Likewise.
10806 * gdb.threads/pthreads.exp: Likewise.
10808 2014-10-17 Yao Qi <yao@codesourcery.com>
10810 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
10811 check 'target_info exists noargs'.
10812 (test_command_prompt_position): Likewise.
10813 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
10815 (progvar_simple_while_test): Likewise.
10816 (progvar_complex_if_while_test): Likewise.
10817 (if_while_breakpoint_command_test): Likewise.
10818 (infrun_breakpoint_command_test): Likewise.
10819 (breakpoint_command_test): Likewise.
10820 (watchpoint_command_test): Likewise.
10821 (bp_deleted_in_command_test): Likewise.
10822 (temporary_breakpoint_commands): Likewise.
10824 2014-10-16 Yao Qi <yao@codesourcery.com>
10826 * gdb.base/remotetimeout.exp: Remove noargs checking.
10828 2014-10-15 Pedro Alves <palves@redhat.com>
10830 PR breakpoints/9649
10831 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
10832 * gdb.base/breakpoint-in-ro-region.exp
10833 (probe_target_hardware_step): New procedure.
10834 (top level): Probe hardware stepping and hardware breakpoint
10835 support. Test stepping through a read-only region, with both
10836 "breakpoint auto-hw" on and off and both "always-inserted" on and
10839 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
10841 * gdb.dlang/demangle.exp: Update for demangling changes.
10843 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10845 * gdb.cp/non-trivial-retval.cc: Add new test cases.
10846 * gdb.cp/non-trivial-retval.exp: Add new tests.
10848 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10852 * gdb.cp/non-trivial-retval.cc: New file.
10853 * gdb.cp/non-trivial-retval.exp: New file.
10855 2014-10-15 Yao Qi <yao@codesourcery.com>
10857 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
10860 2014-10-15 Yao Qi <yao@codesourcery.com>
10862 * gdb.python/py-symbol.exp: Match file base name if host is
10863 remote, otherwise match file name with dir name.
10864 * gdb.python/py-symtab.exp: Likewise.
10865 * gdb.python/python.exp: Likewise.
10867 2014-10-15 Yao Qi <yao@codesourcery.com>
10869 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
10871 * gdb.python/py-symtab.exp: Likewise.
10872 * gdb.python/python.exp: Remove trailing ".*". Fix typo
10875 2014-10-14 Joel Brobecker <brobecker@adacore.com>
10877 * gdb.ada/addr_arith: New testcase.
10879 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
10881 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
10882 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
10883 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
10884 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
10886 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
10888 * gdb.arch/stap-eval-lang-ada.S: Likewise.
10889 * gdb.arch/stap-eval-lang-ada.c: Likewise.
10890 * gdb.arch/stap-eval-lang-ada.exp: New file.
10892 2014-10-14 Yao Qi <yao@codesourcery.com>
10894 * gdb.mi/mi-var-child.c (nothing1): New function.
10895 (nothing2): New function.
10896 (do_children_tests): Set function pointers by nothing1 and
10898 * gdb.mi/mi-var-child.exp: Step over new added statements.
10899 Update test to match the new output.
10900 * gdb.mi/var-cmd.c (nothing1): New function.
10901 (nothing2): New function.
10902 (do_children_tests): Set function pointers by nothing1 and
10904 * gdb.mi/mi-var-display.exp: Update test to match output.
10905 Step to the line specified by $line_dct_nothing.
10906 Increase the number of lines to step.
10908 2014-10-14 Yao Qi <yao@codesourcery.com>
10910 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
10912 * gdb.mi/mi2-var-child.exp: Likewise.
10914 2014-10-13 Doug Evans <dje@google.com>
10916 * gdb.python/py-objfile.exp: Change name of file name test.
10918 2014-10-13 Doug Evans <dje@google.com>
10920 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
10921 from the start of the CU.
10923 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10924 Yao Qi <yao@codesourcery.com>
10926 Fix "save breakpoints" for "catch" command.
10927 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
10928 Remove -nonewline. Match also the added "main" line.
10930 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10932 Fix "save breakpoints" for "disable $bpnum" command.
10933 * gdb.base/save-bp.c (main): Add label.
10934 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
10936 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10938 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
10940 2014-10-11 Yao Qi <yao@codesourcery.com>
10942 * gdb.server/server-kill.exp: Execute command
10943 "set remote trace-status-packet on" before "tstatus".
10945 2014-10-11 Yao Qi <yao@codesourcery.com>
10947 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
10948 (main): Call getppid.
10949 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
10950 and continue to it. Read variable "server_pid".
10952 2014-10-11 Yao Qi <yao@codesourcery.com>
10954 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
10956 2014-10-11 Yao Qi <yao@codesourcery.com>
10958 * gdb.threads/thread-find.exp: Don't execute command
10960 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
10961 * gdb.threads/linux-dp.exp: Don't check the condition
10962 $threads_created equals to zero.
10964 2014-10-10 Pedro Alves <palves@redhat.com>
10966 * gdb.base/bigcore.exp: Remove references to IRIX.
10967 * gdb.base/funcargs.exp: Likewise.
10968 * gdb.base/interrupt.exp: Likewise.
10969 * gdb.base/mips_pro.exp: Likewise.
10970 * gdb.base/nodebug.exp: Likewise.
10971 * gdb.base/setvar.exp: Likewise.
10972 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
10974 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10975 Pedro Alves <palves@redhat.com>
10978 * gdb.base/vdso-warning.c: New file.
10979 * gdb.base/vdso-warning.exp: New file.
10981 2014-10-02 Doug Evans <dje@google.com>
10983 * gdb.base/structs.c (main): Don't run forever.
10985 2014-10-02 Pedro Alves <palves@redhat.com>
10987 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
10988 (top level) <stop threads 1, stop threads 2>: Use it.
10990 2014-10-02 Pedro Alves <palves@redhat.com>
10992 * gdb.threads/break-while-running.exp (test): Add new
10993 'update_thread_list' argument. Skip "info threads" if false.
10994 (top level): Add new 'update_thread_list' axis.
10996 2014-10-02 Pedro Alves <palves@redhat.com>
10998 PR breakpoints/17431
10999 * gdb.base/execl-update-breakpoints.c: New file.
11000 * gdb.base/execl-update-breakpoints.exp: New file.
11002 2014-10-01 Pedro Alves <palves@redhat.com>
11004 * gdb.base/breakpoint-in-ro-region.c: New file.
11005 * gdb.base/breakpoint-in-ro-region.exp: New file.
11007 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
11009 * gdb.mi/mi-exit-code.exp: New file.
11010 * gdb.mi/mi-exit-code.c: New file.
11012 2014-09-30 Yao Qi <yao@codesourcery.com>
11014 * lib/prelink-support.exp (build_executable_own_libs): Error if
11015 the target isn't native.
11017 2014-09-30 Yao Qi <yao@codesourcery.com>
11019 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
11022 2014-09-22 Pedro Alves <palves@redhat.com>
11024 * gdb.threads/break-while-running.exp: New file.
11025 * gdb.threads/break-while-running.c: New file.
11027 2014-09-19 Yao Qi <yao@codesourcery.com>
11029 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
11030 Invoke test. Restart GDB with --readnow and invoke test again.
11032 2014-09-19 Yao Qi <yao@codesourcery.com>
11034 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
11035 proc set_breakpoint_on_gcd_function. Invoke
11036 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
11037 invoke set_breakpoint_on_gcd_function again.
11039 2014-09-18 Doug Evans <dje@google.com>
11041 * gdb.dwarf2/symtab-producer.exp: New file.
11043 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11045 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
11046 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
11047 * gdb.base/global-var-nested-by-dso.c: Likewise.
11048 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11050 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11051 Pedro Alves <palves@redhat.com>
11053 * gdb.base/watch-bitfields.exp: Pass string other than test file
11054 name to prepare_for_testing.
11055 (watch): New procedure.
11056 (expect_watchpoint): Use with_test_prefix.
11057 (top level): Factor out tests to ...
11058 (test_watch_location, test_regular_watch): ... these new
11059 procedures, and use with_test_prefix and gdb_continue_to_end.
11061 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
11063 PR breakpoints/12526
11064 * gdb.base/watch-bitfields.exp: New file.
11065 * gdb.base/watch-bitfields.c: New file.
11067 2014-09-16 Pedro Alves <palves@redhat.com>
11069 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
11070 software and hardware addresses, not software address against
11073 2014-09-16 Pedro Alves <palves@redhat.com>
11075 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
11076 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
11078 2014-09-16 Pedro Alves <palves@redhat.com>
11080 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
11082 * gdb.base/a2-run.exp: Remove all code guarded by istarget
11083 "*-*-vxworks*" throughout.
11084 * gdb.base/break.exp: Likewise.
11085 * gdb.base/default.exp: Likewise.
11086 * gdb.base/scope.exp: Likewise.
11087 * gdb.base/sepdebug.exp: Likewise.
11088 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
11090 * gdb.base/run.c: Likewise.
11091 * gdb.base/sepdebug.c: Likewise.
11092 * gdb.hp/gdb.aCC/run.c: Likewise.
11093 * gdb.reverse/until-reverse.c: Likewise.
11094 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
11096 2014-09-16 Yao Qi <yao@codesourcery.com>
11098 * boards/local-remote-host-native.exp: New file.
11100 2014-09-14 Doug Evans <xdje42@gmail.com>
11102 * gdb.threads/queue-signal.c (thread_count): New variable.
11103 (thread_count_mutex, thread_count_condvar): New variables.
11104 (incr_thread_count, wait_all_threads_running): New functions.
11105 (main): Wait for all threads to be in their thread functions.
11107 2014-09-13 Doug Evans <xdje42@gmail.com>
11109 * gdb.threads/queue-signal.c: New file.
11110 * gdb.threads/queue-signal.exp: New file.
11112 2014-09-13 Doug Evans <xdje42@gmail.com>
11114 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
11115 be consistent with what default_gdb_init uses.
11116 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
11117 the plain text of the prompt. Add some logging printfs.
11118 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
11120 2014-09-12 Pedro Alves <palves@redhat.com>
11122 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
11123 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
11124 * gdb.arch/i386-size-overlap.exp: Likewise.
11125 * gdb.arch/i386-size.exp: Likewise.
11126 * gdb.arch/i386-unwind.exp: Likewise.
11127 * gdb.base/a2-run.exp: Likewise.
11128 * gdb.base/break.exp: Likewise.
11129 * gdb.base/charset.exp: Likewise.
11130 * gdb.base/chng-syms.exp: Likewise.
11131 * gdb.base/commands.exp: Likewise.
11132 * gdb.base/dbx.exp: Likewise.
11133 * gdb.base/find.exp: Likewise.
11134 * gdb.base/funcargs.exp: Likewise.
11135 * gdb.base/jit-simple.exp: Likewise.
11136 * gdb.base/reread.exp: Likewise.
11137 * gdb.base/sepdebug.exp: Likewise.
11138 * gdb.base/step-bt.exp: Likewise.
11139 * gdb.cp/mb-inline.exp: Likewise.
11140 * gdb.cp/mb-templates.exp: Likewise.
11141 * gdb.objc/basicclass.exp: Likewise.
11142 * gdb.threads/killed.exp: Likewise.
11144 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11147 * gdb.arch/powerpc-stackless.S: New file.
11148 * gdb.arch/powerpc-stackless.exp: New file.
11150 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11152 * gdb.base/attach.c: Include unistd.h.
11153 (main): Call alarm. Add label postloop.
11154 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
11155 gdb_breakpoint, gdb_continue_to_breakpoint.
11156 (test_command_line_attach_run): Kill ${testpid} in one exit path.
11158 2014-09-11 Pedro Alves <palves@redhat.com>
11161 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
11162 * gdb.base/attach.exp (test_command_line_attach_run): New
11164 (top level): Call it.
11166 2014-09-11 Pedro Alves <palves@redhat.com>
11168 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
11169 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
11170 (do_command_attach_tests): Use spawn_wait_for_attach.
11171 * gdb.base/solib-overlap.exp: Likewise.
11172 * gdb.multi/multi-attach.exp: Likewise.
11173 * gdb.python/py-prompt.exp: Likewise.
11174 * gdb.python/py-sync-interp.exp: Likewise.
11175 * gdb.server/ext-attach.exp: Likewise.
11177 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
11179 * gdb.fortran/array-element.exp: Remove unexpected "continue"
11180 command in testcase. Simplify testcase.
11182 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11184 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
11186 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11188 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
11190 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11192 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
11194 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11196 * gdb.dwarf2/dynarr-ptr.c: New file.
11197 * gdb.dwarf2/dynarr-ptr.exp: New file.
11199 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11201 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
11202 of 30 rather than hardcoding 120 for a slow test case. Take the
11203 `gdb,timeout' target setting into account for this calculation.
11204 Don't extend the timeout for the test cases that don't need it.
11206 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11208 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
11209 a factor of 2 for a slow test case. Take the `gdb,timeout'
11210 target setting into account for this calculation.
11211 * gdb.reverse/until-precsave.exp: Increase the timeout by
11212 a factor of 15 and 3 respectively rather than adding 120
11213 for a pair of slow test cases. Take the `gdb,timeout'
11214 target setting into account for this calculation.
11216 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11218 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
11219 timeout, don't pass one down to gdb_expect.
11220 (gdb_expect): Rework timeout selection.
11222 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11224 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
11225 exception on timeout.
11226 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
11227 (gdbserver_start_extended): Catch any `gdbserver_start' error
11229 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
11230 * lib/mi-support.exp (mi_gdb_target_load): Catch any
11231 `gdbserver_gdb_load' error exceptions.
11233 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11235 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
11236 120 on waiting for the TCP socket to open.
11238 2014-09-09 Doug Evans <xdje42@gmail.com>
11240 * gdb.base/default.exp (show_conv_list): Add _caller_is,
11241 _caller_matches, _any_caller_is, _any_caller_matches.
11243 2014-09-09 Doug Evans <xdje42@gmail.com>
11245 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
11247 2014-09-09 Yao Qi <yao@codesourcery.com>
11249 * gdb.mi/mi-var-display.exp: Set print symbol off.
11251 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
11254 * gdb.base/commands.exp: Add tests to verify user-defined
11255 commands with empty bodies.
11256 * gdb.python/py-cmd.exp: Test that we don't show user-defined
11257 python commands in `show user command`.
11258 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
11259 scheme commands in `show user command`.
11261 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11264 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
11265 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
11266 * gdb.python/py-framefilter-invalidarg.exp: New file.
11267 * gdb.python/py-framefilter-invalidarg.py: New file.
11269 2014-09-06 Doug Evans <xdje42@gmail.com>
11272 * gdb.python/py-caller-is.c: New file.
11273 * gdb.python/py-caller-is.exp: New file.
11275 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
11278 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
11279 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
11281 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
11284 * gdb.fortran/print-formatted.exp: New file.
11285 * gdb.fortran/print-formatted.f90: Likewise.
11287 2014-09-03 Sasha Smundak <asmundak@google.com>
11289 * gdb.python/py-frame.exp: Test Frame.read_register.
11291 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
11294 * gdb.python/py-completion.exp: New file.
11295 * gdb.python/py-completion.py: Likewise.
11297 2014-08-28 Doug Evans <dje@google.com>
11299 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
11300 eax,etc. are live with values set by gdb and thus the compiler can't
11302 * gdb.arch/i386-pseudo.c (main): Ditto.
11304 2014-08-27 Doug Evans <dje@google.com>
11306 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
11308 2014-08-25 Doug Evans <dje@google.com>
11310 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
11313 2014-08-25 Doug Evans <dje@google.com>
11315 * gdb.threads/thread-execl.exp: #include <stdio.h>.
11317 2014-08-24 Yao Qi <yao@codesourcery.com>
11319 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
11321 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
11323 2014-08-22 Doug Evans <dje@google.com>
11326 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
11327 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
11328 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
11330 2014-08-22 Yao Qi <yao@codesourcery.com>
11332 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
11333 * gdb.python/py-finish-breakpoint2.exp: Likewise.
11334 * gdb.python/python.exp: Likewise. Use .py file on the host
11335 instead of the build.
11337 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11339 * gdb.threads/gcore-stale-thread.c: New file.
11340 * gdb.threads/gcore-stale-thread.exp: New file.
11342 2014-08-21 Pedro Alves <palves@redhat.com>
11344 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
11345 * gdb.base/gcore-relro-pie.exp: Likewise.
11346 * gdb.base/gcore-relro.exp: Likewise.
11347 * gdb.base/gcore.exp: Likewise.
11348 * gdb.base/print-symbol-loading.exp: Likewise.
11349 * gdb.threads/gcore-thread.exp: Likewise.
11350 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
11352 2014-08-20 Pedro Alves <palves@redhat.com>
11353 Jan Kratochvil <jan.kratochvil@redhat.com>
11355 * Makefile.in (EXTRA_RULES, CC): New variables, get from
11357 (EXPECT): Handle READ1 being set.
11358 (all): Depend on EXTRA_RULES.
11359 (check-read1, expect-read1, read1.so, read1): New rules.
11360 * README (Testsuite Parameters): Document the READ1 make variable.
11361 (Race detection): New section.
11362 * configure: Regenerate.
11363 * configure.ac: If build==host==target, and running under a
11364 GNU/glibc system, add read1 to the extra Makefile rules.
11365 (EXTRA_RULES): AC_SUBST it.
11366 * lib/read1.c: New file.
11368 2014-08-20 Joel Brobecker <brobecker@adacore.com>
11370 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
11371 the handling of variables declared as a typedef to an array
11372 which a DW_AT_data_location attribute.
11374 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
11375 Pedro Alves <palves@redhat.com>
11379 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
11382 2014-08-19 Pedro Alves <palves@redhat.com>
11384 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
11386 2014-08-19 Yao Qi <yao@codesourcery.com>
11388 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
11391 2014-08-18 David Blaikie <dblaikie@gmail.com>
11393 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
11395 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11397 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
11398 attribute in array range.
11400 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11402 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
11404 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11407 * gdb.cp/pr17132.cc: New file.
11408 * gdb.cp/pr17132.exp: New file.
11410 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11412 * gdb.python/py-xmethods.py (A_getarrayind)
11413 (E_method_char_worker.__call__, E_method_int_worker.__call__):
11414 Use 'print' with function call syntax.
11415 (E_method_matcher.match): Fix tab vs space indentation mixup.
11417 2014-08-15 Yao Qi <yao@codesourcery.com>
11419 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
11422 2014-08-15 Yao Qi <yao@codesourcery.com>
11424 * gdb.cp/casts.exp: Set print symbol off.
11425 * gdb.cp/class2.exp: Likewise.
11426 * gdb.cp/overload.exp: Likewise.
11427 * gdb.cp/templates.exp: Likewise.
11429 2014-08-11 Doug Evans <dje@google.com>
11431 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11432 (test_load_shlib): Update.
11434 2014-08-09 Yao Qi <yao@codesourcery.com>
11436 * gdb.base/display.exp: Invoke is_address_zero_readable.
11437 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11438 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11439 * gdb.base/hbreak-unmapped.exp: Return if
11440 is_address_zero_readable returns true.
11441 * gdb.base/signest.exp: Likewise.
11442 * gdb.base/signull.exp: Likewise.
11443 * gdb.base/sigbpt.exp: Likewise.
11444 * gdb.guile/scm-disasm.exp: Do the test if
11445 is_address_zero_readable returns false.
11446 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11447 * gdb.python/py-arch.exp: Likewise.
11448 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11449 * lib/gdb.exp (is_address_zero_readable): New proc.
11451 2014-08-09 Yao Qi <yao@codesourcery.com>
11454 * gdb.mi/mi-var-display.exp: Make test messages unique.
11456 2014-08-04 Tom Tromey <tromey@redhat.com>
11458 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
11461 2014-08-04 Tom Tromey <tromey@redhat.com>
11463 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
11466 2014-08-01 Joel Brobecker <brobecker@adacore.com>
11468 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
11469 inner_vla_struct_object_size.
11470 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11473 2014-07-30 Pedro Alves <palves@redhat.com>
11475 * gdb.threads/signal-command-handle-nopass.exp (test): Add
11478 2014-07-29 Yao Qi <yao@codesourcery.com>
11481 * gdb.base/until-nodebug.exp: New.
11483 2014-07-28 Doug Evans <xdje42@gmail.com>
11486 * gdb.guile/scm-parameter.exp: Add tests for trying to create
11487 previously existing parameter, and previously ambiguously spelled
11490 2014-07-28 Will Newton <will.newton@linaro.org>
11492 * gdb.base/varargs.exp: Remove KFAILs for ARM.
11494 2014-07-26 Ludovic Courtès <ludo@gnu.org>
11495 Doug Evans <xdje42@gmail.com>
11498 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11500 2014-07-25 Pedro Alves <palves@redhat.com>
11502 * gdb.threads/signal-command-handle-nopass.c: New file.
11503 * gdb.threads/signal-command-handle-nopass.exp: New file.
11504 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11505 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11506 * gdb.threads/signal-delivered-right-thread.c: New file.
11507 * gdb.threads/signal-delivered-right-thread.exp: New file.
11509 2014-07-25 Pedro Alves <palves@redhat.com>
11511 * gdb.base/double-prompt-target-event-error.exp
11512 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11514 (cancel_pagination_in_target_event): Rework double prompt
11516 * gdb.base/paginate-after-ctrl-c-running.exp
11517 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11519 * gdb.base/paginate-bg-execution.exp
11520 (test_bg_execution_pagination_return)
11521 (test_bg_execution_pagination_cancel): Remove '-notransfer
11523 * gdb.base/paginate-execution-startup.exp
11524 (test_fg_execution_pagination_return)
11525 (test_fg_execution_pagination_cancel): Remove '-notransfer
11527 * gdb.base/paginate-inferior-exit.exp
11528 (test_paginate_inferior_exited): Remove '-notransfer <return>'
11530 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11531 * lib/gdb.exp (pagination_prompt): Run text through
11533 (gdb_test_multiple): Match $pagination_prompt instead of
11535 (string_to_regexp): Move to lib/gdb-utils.exp.
11537 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11539 * gdb.arch/amd64-entry-value-paramref.S: New file.
11540 * gdb.arch/amd64-entry-value-paramref.cc: New file.
11541 * gdb.arch/amd64-entry-value-paramref.exp: New file.
11542 * gdb.arch/amd64-optimout-repeat.S: New file.
11543 * gdb.arch/amd64-optimout-repeat.c: New file.
11544 * gdb.arch/amd64-optimout-repeat.exp: New file.
11546 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11549 * gdb.base/statistics.exp: New file.
11551 2014-07-17 Doug Evans <dje@google.com>
11554 * gdb.base/maint.exp: Update testing of per-command stats.
11556 2014-07-16 Pedro Alves <palves@redhat.com>
11558 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11559 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11560 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11561 (tfile_write_buf): New functions.
11562 (add_memory_block): Rewrite using the above.
11563 (adjust_function_address): New function.
11564 (FUNCTION_ADDRESS): New macro.
11565 (write_basic_trace_file): Remove short_x local, and use
11566 tfile_write_16. Change type of func_addr local to unsigned long
11567 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
11568 here. Cast argument of add_memory_block to char pointer.
11569 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
11570 (main): Remove parameters.
11571 * gdb.trace/tfile.exp: Remove nowarnings.
11573 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
11575 * gdb.base/debug-expr.exp: Test string evaluation with
11576 "debug expression" on.
11578 2014-07-15 Pedro Alves <palves@redhat.com>
11580 * gdb.base/reread.exp: Use clean_restart.
11582 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
11584 * gdb.arch/avr-flash-qualifer.c: New.
11585 * gdb.arch/avr-flash-qualifer.exp: New.
11587 2014-07-14 Pedro Alves <palves@redhat.com>
11589 * gdb.base/paginate-after-ctrl-c-running.c: New file.
11590 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
11592 2014-07-14 Pedro Alves <palves@redhat.com>
11594 * gdb.base/double-prompt-target-event-error.c: New file.
11595 * gdb.base/double-prompt-target-event-error.exp: New file.
11597 2014-07-14 Pedro Alves <palves@redhat.com>
11600 * gdb.base/paginate-inferior-exit.c: New file.
11601 * gdb.base/paginate-inferior-exit.exp: New file.
11603 2014-07-14 Pedro Alves <palves@redhat.com>
11606 * gdb.base/paginate-bg-execution.c: New file.
11607 * gdb.base/paginate-bg-execution.exp: New file.
11609 2014-07-14 Pedro Alves <palves@redhat.com>
11612 * gdb.base/paginate-execution-startup.c: New file.
11613 * gdb.base/paginate-execution-startup.exp: New file.
11614 * lib/gdb.exp (pagination_prompt): New global.
11615 (default_gdb_spawn): New procedure, factored out from
11617 (default_gdb_start): Adjust to call default_gdb_spawn.
11618 (gdb_spawn): New procedure.
11620 2014-07-14 Pedro Alves <palves@redhat.com>
11622 * lib/gdb.exp (gdb_assert): New procedure.
11623 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
11625 2014-07-14 Pedro Alves <palves@redhat.com>
11627 * gdb.base/execution-termios.c: New file.
11628 * gdb.base/execution-termios.exp: New file.
11630 2014-07-14 Tom Tromey <tromey@redhat.com>
11632 * gdb.cp/vla-cxx.cc: New file.
11633 * gdb.cp/vla-cxx.exp: New file.
11635 2014-07-14 Tom Tromey <tromey@redhat.com>
11637 * gdb.reverse/rerun-prec.c: New file.
11638 * gdb.reverse/rerun-prec.exp: New file.
11640 2014-07-12 Maciej W. Rozycki <macro@mips.com>
11641 Maciej W. Rozycki <macro@codesourcery.com>
11643 * lib/gdb-utils.exp: New file.
11644 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
11645 inline `gdb_init_command' processing.
11646 (gdb_start_cmd): Likewise.
11647 * lib/mi-support.exp (mi_run_cmd): Likewise.
11648 * README: Document `gdb_init_command' and `gdb_init_commands'.
11650 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11652 Fix false FAIL running under a very long directory name.
11653 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
11654 and "set print elements 10000". Twice.
11656 2014-07-11 Yao Qi <yao@codesourcery.com>
11658 * gdb.base/exprs.exp: "set print symbol off".
11660 2014-07-11 Pedro Alves <palves@redhat.com>
11662 * gdb.threads/kill.c: New file.
11663 * gdb.threads/kill.exp: New file.
11665 2014-07-10 Yao Qi <yao@codesourcery.com>
11667 * gdb.trace/tfile.c (write_basic_trace_file)
11668 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
11669 address written to trace file.
11671 2014-07-09 Pedro Alves <palves@redhat.com>
11673 * gdb.base/attach-wait-input.exp: New file.
11674 * gdb.base/attach-wait-input.c: New file.
11676 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
11678 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
11679 setting up test structures.
11680 (main): Call new test function.
11681 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
11682 test function, continue into test function and walk test
11685 2014-07-02 Yao Qi <yao@codesourcery.com>
11687 * gdb.trace/entry-values.c: Define labels 'foo_start' and
11688 'bar_start' at the beginning of functions 'foo' and 'bar'
11690 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
11691 instead of 'foo' and 'bar'.
11693 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
11695 * gdb.btrace/segv.exp: New.
11696 * gdb.btrace/segv.c: New.
11698 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
11700 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
11703 2014-06-30 Mark Wielaard <mjw@redhat.com>
11705 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
11706 vulture, vilify, villar): New volatile array constants.
11707 (vindictive, vegetation): New const volatile array constants.
11708 * gdb.base/volatile.exp: Test volatile and const volatile array
11711 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11713 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
11714 target lacks support for awatch, rwatch, or hbreak.
11716 2014-06-27 Yao Qi <yao@codesourcery.com>
11718 * gdb.multi/dummy-frame-restore.exp: New.
11719 * gdb.multi/dummy-frame-restore.c: New.
11721 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
11723 * gdb.btrace/gcore.exp: New.
11725 2014-06-23 Pedro Alves <palves@redhat.com>
11727 * gdb.base/watchpoint-reuse-slot.c: New file.
11728 * gdb.base/watchpoint-reuse-slot.exp: New file.
11730 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
11732 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
11733 progspace's filename in 'info', 'enable' and 'disable' command
11736 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11738 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
11739 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11740 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
11742 2014-06-20 Gary Benson <gbenson@redhat.com>
11744 * gdb.arch/i386-avx.exp: Fix include file location.
11745 * gdb.arch/i386-sse.exp: Likewise.
11747 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
11749 * gdb.dlang/expression.exp: New file.
11751 2014-06-19 Pedro Alves <palves@redhat.com>
11753 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
11755 (top level): ... here. Iterate running tests under different
11756 scheduler-locking settings.
11758 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
11760 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
11761 to DW_FORM_addr and use non-zero addresses.
11763 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
11766 * gdb.python/py-xmethods.cc: Add global function call counters and
11767 increment them in their respective functions. Remove "cout"
11769 * gdb.python/py-xmethods.exp: Make tests check the global function
11770 call counters instead of depending on inferior IO.
11772 2014-06-18 Don Breazeal <donb@codesourcery.com>
11774 * gdb.base/foll-fork.exp (default_fork_parent_follow):
11776 (explicit_fork_parent_follow): Deleted procedure.
11777 (explicit_fork_child_follow): Deleted procedure.
11778 (test_follow_fork): New procedure.
11779 (do_fork_tests): Replace calls to deleted procedures with
11780 calls to test_follow_fork and reset GDB for subsequent
11783 2014-06-17 Yao Qi <yao@codesourcery.com>
11785 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
11788 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
11790 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
11791 Initialize ptr and S explicitly.
11792 (skip_type_update_when_not_use_rtti_test): Likewise.
11794 2014-06-16 Keith Seitz <keiths@redhat.com>
11797 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
11798 the inferior is started.
11800 2014-06-16 Pedro Alves <palves@redhat.com>
11802 * gdb.base/break-main-file-remove-fail.c: New file.
11803 * gdb.base/break-main-file-remove-fail.exp: New file.
11804 * gdb.base/break-unload-file.exp: Use build_executable instead of
11805 prepare_for_testing.
11806 (test_break): New parameter "initial_load". Handle it.
11807 (top level): Add initial_load cmdline/file axis.
11809 2014-06-12 Tom Tromey <tromey@redhat.com>
11811 * gdb.base/completion.exp: Don't use directory name in test.
11813 2014-06-09 Gary Benson <gbenson@redhat.com>
11815 * gdb.base/sigall.c [Functions to send signals]: Reorder to
11816 separate the always-available ANSI-standard signals from the
11817 signals that require checking.
11819 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
11823 2014-06-07 Keith Seitz <keiths@redhat.com>
11827 * gdb.cp/var-tag.cc: New file.
11828 * gdb.cp/var-tag.exp: New file.
11829 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11830 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11831 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11832 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11834 2014-06-06 Doug Evans <xdje42@gmail.com>
11836 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
11838 2014-06-06 Pedro Alves <palves@redhat.com>
11840 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
11841 in target debug output instead of looking at RSP packets,
11842 disabling the test on any target that uses hardware stepping.
11845 2014-06-06 Pedro Alves <palves@redhat.com>
11847 * gdb.base/break-unload-file.exp: Fix typo.
11849 2014-06-06 Yao Qi <yao@codesourcery.com>
11851 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
11852 from "jit_function" to "^jit_function".
11854 2014-06-06 Yao Qi <yao@codesourcery.com>
11856 * gdb.base/async.c (foo): Add one statement.
11857 * gdb.base/async.exp: Get the next instruction address and
11858 match the output of "nexti" by instruction address. Match
11859 the hex address in the output of "finish".
11861 2014-06-06 Gary Benson <gbenson@redhat.com>
11863 * gdb.base/call-signals.c: Remove preprocessor conditionals
11864 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
11865 SIGSEGV and SIGTERM.
11866 * gdb.base/sigall.c: Likewise.
11867 * gdb.base/unwindonsignal.c: Likewise.
11868 * gdb.reverse/sigall-reverse.c: Likewise.
11870 2014-06-06 Yao Qi <yao@codesourcery.com>
11872 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
11873 readable, skip the test.
11875 2014-06-06 Yao Qi <yao@codesourcery.com>
11877 * gdb.threads/staticthreads.c (thread_function): Move the line
11878 setting breakpoint on forward.
11879 * gdb.threads/staticthreads.exp: Update comments.
11881 2014-06-05 Ludovic Courtès <ludo@gnu.org>
11883 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
11884 "history-append! type error".
11886 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
11888 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
11889 erroneous dprintf expected input.
11891 2014-06-04 Doug Evans <xdje42@gmail.com>
11893 * gdb.guile/scm-generics.exp: Delete.
11895 2014-06-04 Doug Evans <xdje42@gmail.com>
11897 * gdb.guile/scm-breakpoint.exp: Update.
11898 Add tests for breakpoint registration.
11900 2014-06-04 Tom Tromey <tromey@redhat.com>
11902 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
11904 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
11905 inner_vla_struct, vla_union types. Initialize objects of those
11906 types and compute their sizes.
11908 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
11909 Hui Zhu <hui@codesourcery.com>
11911 * gdb.base/fileio.exp: Add test for shell not available as well as
11913 * gdb.base/fileio.c (test_system): Check for shell twice.
11915 2014-06-04 Yao Qi <yao@codesourcery.com>
11917 * gdb.base/auto-connect-native-target.exp: Remove redundant
11918 space from the regexp pattern.
11920 2014-06-04 Yao Qi <yao@codesourcery.com>
11922 * gdb.base/default.exp: Replace "child" with "native" in
11925 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
11927 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
11928 * gdb.python/py-xmethods.exp: New tests to test xmethods.
11929 * gdb.python/py-xmethods.py: Python script supporting the
11930 new testcase and tests.
11932 2014-06-03 Joel Brobecker <brobecker@adacore.com>
11933 Pedro Alves <palves@redhat.com>
11935 PR breakpoints/17000
11936 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
11937 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
11939 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
11941 * gdb.base/subst.exp: Add tests to verify partial path matching
11944 2014-06-03 Pedro Alves <palves@redhat.com>
11946 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
11947 target that doesn't use software single-stepping.
11949 2014-06-03 Pedro Alves <palves@redhat.com>
11951 PR breakpoints/17000
11952 * gdb.base/sss-bp-on-user-bp-2.c: New file.
11953 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
11955 2014-06-02 Doug Evans <xdje42@gmail.com>
11957 * gdb.guile/scm-parameter.exp: New file.
11959 2014-06-02 Doug Evans <xdje42@gmail.com>
11961 * gdb.guile/scm-cmd.c: New file.
11962 * gdb.guile/scm-cmd.exp: New file.
11964 2014-06-02 Doug Evans <xdje42@gmail.com>
11966 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
11967 pretty-printer lookup.
11968 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
11969 (make-pp_s-printer): Call it.
11970 (make-pretty-printer-from-dict): New function.
11971 (lookup-pretty-printer-maker-from-dict): New function.
11972 (*pretty-printer*): Simplify.
11973 (make-objfile-pp_s-printer): New function.
11974 (install-objfile-pretty-printers!): New function.
11975 (make-progspace-pp_s-printer): New function.
11976 (install-progspace-pretty-printers!): New function.
11977 * gdb.guile/scm-progspace.c: New file.
11978 * gdb.guile/scm-progspace.exp: New file.
11980 2014-06-02 Pedro Alves <palves@redhat.com>
11982 * gdb.base/dprintf-bp-same-addr.c: New file.
11983 * gdb.base/dprintf-bp-same-addr.exp: New file.
11985 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11987 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
11988 * gdb.arch/powerpc-power.s: Likewise.
11990 2014-06-02 Joel Brobecker <brobecker@adacore.com>
11992 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
11994 2014-06-01 Yao Qi <yao@codesourcery.com>
11996 * gdb.base/watchpoint.exp (test_watch_location): Check null
11997 pointer can be dereferenced. If not, do the test, otherwise
12000 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12002 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
12004 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
12006 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12008 * gdb.arch/amd64-invalid-stack-middle.S: New file.
12009 * gdb.arch/amd64-invalid-stack-middle.c: New file.
12010 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
12011 * gdb.arch/amd64-invalid-stack-top.c: New file.
12012 * gdb.arch/amd64-invalid-stack-top.exp: New file.
12014 2014-05-30 Pedro Alves <palves@redhat.com>
12016 PR breakpoints/17000
12017 * gdb.base/sss-bp-on-user-bp.c: New file.
12018 * gdb.base/sss-bp-on-user-bp.exp: New file.
12020 2014-05-30 David Blaikie <dblaikie@gmail.com>
12022 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
12023 gnu_inline semantics via attribute.
12024 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
12025 source explicitly specifies the required semantics.
12027 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
12029 * gdb.reverse/sigall-reverse.exp: Fix a typo.
12031 2014-05-29 Pedro Alves <palves@redhat.com>
12032 Tom Tromey <tromey@redhat.com>
12034 * gdb.base/async-shell.exp: Don't enable target-async.
12035 * gdb.base/async.exp
12036 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
12038 (top level): Don't test with "target-async".
12039 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
12040 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
12041 * gdb.base/inferior-died.exp: Don't enable target-async.
12042 * gdb.base/interrupt-noterm.exp: Likewise.
12043 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
12044 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12045 * gdb.mi/mi-nonstop.exp: Likewise.
12046 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12047 * gdb.mi/mi-nsintrall.exp: Likewise.
12048 * gdb.mi/mi-nsmoribund.exp: Likewise.
12049 * gdb.mi/mi-nsthrexec.exp: Likewise.
12050 * gdb.mi/mi-watch-nonstop.exp: Likewise.
12051 * gdb.multi/watchpoint-multi.exp: Adjust comment.
12052 * gdb.python/py-evsignal.exp: Don't enable target-async.
12053 * gdb.python/py-evthreads.exp: Likewise.
12054 * gdb.python/py-prompt.exp: Likewise.
12055 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
12056 * gdb.server/solib-list.exp: Don't enable target-async.
12057 * gdb.threads/thread-specific-bp.exp: Likewise.
12058 * lib/mi-support.exp: Adjust to use mi-async.
12060 2014-05-29 Pedro Alves <palves@redhat.com>
12063 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
12064 reason, even in sync mode.
12066 2014-05-29 Pedro Alves <palves@redhat.com>
12067 Hui Zhu <hui@codesourcery.com>
12070 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
12071 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
12072 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
12073 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
12075 2014-05-28 Joel Brobecker <brobecker@adacore.com>
12077 * config/monitor.exp (gdb_target_monitor): Replace use of
12078 "set remotebaud" by "set serial baud".
12080 2014-05-26 Andy Wingo <wingo@igalia.com>
12082 * gdb.guile/scm-breakpoint.exp:
12083 * gdb.guile/scm-gsmob.exp: Update to use plain old object
12084 properties instead of gdb-object-properties.
12086 2014-05-26 Yao Qi <yao@codesourcery.com>
12088 * gdb.server/no-thread-db.exp: Specify source file name
12089 explicitly when setting a breakpoint.
12091 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12093 * gdb.btrace/vdso.c: New.
12094 * gdb.btrace/vdso.exp: New.
12096 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12098 * gdb.base/gcore.exp (capture_command_output): Move ...
12099 * lib/gdb.exp (capture_command_output): ... here.
12101 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12103 * gdb.btrace/data.exp: Test memory access during btrace replay.
12105 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
12107 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
12109 2014-05-21 Pedro Alves <palves@redhat.com>
12112 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
12113 (top level): Test that output related to execution commands is
12114 sent to the console with CLI commands, but not with MI commands.
12115 Test that breakpoint events are always mirrored to the console.
12116 Also expect the new source line to be output after a "next" in
12117 async mode too. Make it a pass/fail test.
12118 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
12120 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
12122 2014-05-21 Pedro Alves <palves@redhat.com>
12124 * gdb.base/list.exp (build_pattern, test_list): New procedures.
12125 Use them to test variations of "list" after reaching a breakpoint.
12126 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
12127 Test "list" with listsize 10 after reaching a breakpoint.
12128 * gdb.python/python.exp (decode_line current location line
12129 number): Adjust expected line number.
12131 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
12133 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
12134 behavior for $args, pass it directly to "run".
12136 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
12138 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
12141 2014-05-21 Pedro Alves <palves@redhat.com>
12143 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
12144 auto-connect-native-target off".
12145 * gdb.base/auto-connect-native-target.c: New file.
12146 * gdb.base/auto-connect-native-target.exp: New file.
12148 2014-05-21 Pedro Alves <palves@redhat.com>
12150 * gdb.base/default.exp: Test "target native" instead of "target
12153 2014-05-21 Mark Wielaard <mjw@redhat.com>
12155 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12157 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12159 Fix TLS access for -static -pthread.
12160 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
12161 <HAVE_TLS> (thread_function, main): Initialize it.
12162 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
12164 <$have_tls != "">: Check TLSVAR.
12166 2014-05-21 Pedro Alves <palves@redhat.com>
12168 * gdb.base/dcache-line-read-error.c: New.
12169 * gdb.base/dcache-line-read-error.exp: New.
12171 2014-05-20 Pedro Alves <palves@redhat.com>
12173 * gdb.base/compare-sections.c: New file.
12174 * gdb.base/compare-sections.exp: New file.
12176 2014-05-20 Pedro Alves <palves@redhat.com>
12178 * gdb.base/break-idempotent.c: New file.
12179 * gdb.base/break-idempotent.exp: New file.
12181 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
12183 * gdb.btrace/nohist.exp: New.
12185 2014-05-20 Yao Qi <yao@codesourcery.com>
12187 * lib/gdb.exp (gdb_init): Set timeout if test file is under
12188 gdb.reverse directory and gdb_reverse_timeout exists in board
12190 * README: Document gdb_reverse_timeout.
12192 2014-05-20 Yao Qi <yao@codesourcery.com>
12194 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
12195 'test_file_name'. Treat args as a string instead of a list.
12196 (gdb_init): Rename argument 'args' by 'test_file_name'.
12198 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12200 * gdb.arch/powerpc-power.exp: New file.
12201 * gdb.arch/powerpc-power.s: New file.
12203 2014-05-16 Doug Evans <dje@google.com>
12205 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
12206 * gdb.base/completion.exp: Check that all expected files exist
12207 before doing file completion.
12209 2014-05-16 Doug Evans <dje@google.com>
12211 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
12213 (do_syscall_tests_without_xml): Update.
12215 2014-05-16 Pedro Alves <palves@redhat.com>
12217 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
12218 instead of "unknown output after running".
12220 2014-05-16 Yao Qi <yao@codesourcery.com>
12222 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
12223 file1.txt from host at the end.
12224 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12226 2014-05-15 Doug Evans <dje@google.com>
12228 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
12229 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
12230 loading file. Add test for TU lookup.
12232 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12234 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
12235 calling "-exec-arguments" or "set args" before running the
12238 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12240 * lib/mi-support.exp (mi_expect_stop): Expect message for
12241 inferiors that exit with non-zero exit code.
12243 2014-05-14 Yao Qi <yao@codesourcery.com>
12245 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
12246 match absolute path on remote host.
12247 (test_file_list_exec_source_files): Remove "/" from the
12250 2014-05-14 Yao Qi <yao@codesourcery.com>
12252 * boards/local-remote-host-notty.exp (${board}_file): New
12255 2014-05-07 Kyle McMartin <kyle@redhat.com>
12257 Pushed by Joel Brobecker <brobecker@adacore.com>.
12258 * gdb.arch/aarch64-atomic-inst.c: New file.
12259 * gdb.arch/aarch64-atomic-inst.exp: New file.
12261 2014-05-07 Yao Qi <yao@codesourcery.com>
12263 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
12264 in current context" too.
12266 2014-05-05 Keith Seitz <keiths@redhat.com>
12268 * gdb.linespec/ls-dollar.exp: Add test for linespec
12269 file:convenience_variable.
12271 2014-05-05 Yao Qi <yao@codesourcery.com>
12273 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
12274 traceframes into tfile and ctf trace files. Read data from
12275 trace file and test collected data.
12276 (gdb_collect_locals_test): Likewise.
12277 (gdb_unavailable_registers_test): Likewise.
12278 (gdb_unavailable_floats): Likewise.
12279 (gdb_collect_globals_test): Likewise.
12280 (top-level): Append "ctf" to trace_file_targets if GDB
12283 2014-05-05 Yao Qi <yao@codesourcery.com>
12285 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
12287 (gdb_collect_args_test_1): ... it. New proc.
12288 (gdb_collect_locals_test): Move some code to ...
12289 (gdb_collect_locals_test_1): ... it. New proc.
12290 (gdb_unavailable_registers_test): Move some code to ...
12291 (gdb_unavailable_registers_test_1): ... it. New proc.
12292 (gdb_unavailable_floats): Move some code to ...
12293 (gdb_unavailable_floats_1): ... it. New proc.
12295 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12297 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
12298 probes to test for bitness recognition.
12299 * gdb.arch/amd64-stap-optional-prefix.exp
12300 (test_probe_value_without_reg): New procedure.
12301 Add code to test for different kinds of bitness.
12303 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12305 PR breakpoints/16889
12306 * gdb.arch/amd64-stap-optional-prefix.S: New file.
12307 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12309 2014-05-01 Pedro Alves <palves@redhat.com>
12311 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
12312 gdb_file_cmd if no file is specified.
12313 * boards/native-extended-gdbserver.exp (gdb_load): Use the
12314 last_loaded_file to set the remote exec-file.
12316 2014-05-01 Pedro Alves <palves@redhat.com>
12318 * boards/local-remote-host.exp: New file.
12320 2014-05-01 Pedro Alves <palves@redhat.com>
12322 * boards/local-remote-host.exp: Rename to ...
12323 * boards/local-remote-host-notty.exp: ... this.
12325 2014-04-28 Joel Brobecker <brobecker@adacore.com>
12327 * gdb.ada/dyn_arrayidx: New testcase.
12329 2014-04-26 Yao Qi <yao@codesourcery.com>
12331 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
12332 and compute the length of function main. Save it in
12334 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
12335 (top-level): Use gdb_compile to compile objects into
12336 executable and restart GDB. Remove invocation to
12337 prepare_for_testing.
12339 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
12340 Pedro Alves <palves@redhat.com>
12343 * gdb.multi/multi-attach.c: New file.
12344 * gdb.multi/multi-attach.exp: New file.
12346 2014-04-25 Pedro Alves <palves@redhat.com>
12348 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
12350 (top level): Test that "set remote conditional-breakpoints-packet
12351 off" works as intended.
12352 * gdb.base/dprintf.exp: Test that "set remote
12353 breakpoint-commands-packet off" works as intended.
12354 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
12356 (top level): Call it.
12357 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
12358 remote fast-tracepoints-packet off" works as intended.
12359 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
12360 * lib/gdb.exp (gdb_is_target_remote): ... here.
12362 2014-04-24 David Blaikie <dblaikie@gmail.com>
12364 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
12365 ensure clang would not discard them.
12366 * gdb.base/gdbvars.c: Ditto.
12367 * gdb.base/memattr.c: Ditto.
12368 * gdb.base/whatis.c: Ditto.
12369 * gdb.python/py-prettyprint.c: Ditto.
12370 * gdb.trace/actions.c: Ditto.
12371 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
12372 ensure clang would not discard it.
12374 2014-04-24 David Blaikie <dblaikie@gmail.com>
12376 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
12377 clang to emit the full definition of type required by the test
12378 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
12380 2014-04-24 David Blaikie <dblaikie@gmail.com>
12382 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
12383 coax Clang into emitting the definition of the type.
12384 * gdb.cp/pr10728-x.h (y): Ditto.
12385 * gdb.cp/pr10728-y.cc (y): Ditto.
12387 2014-04-24 David Blaikie <dblaikie@gmail.com>
12389 * gdb.base/label.exp: XFAIL label related tests under Clang.
12390 * gdb.cp/cplabel.exp: Ditto.
12391 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
12392 under Clang those using labels.
12394 2014-04-25 Yao Qi <yao@codesourcery.com>
12396 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
12398 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
12399 partial_label and double_label.
12401 2014-04-24 David Blaikie <dblaikie@gmail.com>
12403 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
12405 2014-04-24 David Blaikie <dblaikie@gmail.com>
12407 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
12408 of the function to work across GCC and Clang.
12409 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
12410 pointer types (const void ** const V void **).
12412 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
12413 Walfred Tedeschi <walfred.tedeschi@intel.com>
12415 * Makefile.in (EXECUTABLES): Added i386-avx512.
12416 * gdb.arch/i386-avx512.c: New file.
12417 * gdb.arch/i386-avx512.exp: Likewise.
12419 2014-04-23 Keith Seitz <keiths@redhat.com>
12421 * lib/mi-support.exp (mi_list_breakpoints): Delete.
12422 (mi_make_breakpoint_table): New procedure.
12423 (mi_create_breakpoint): Use mi_make_breakpoint
12424 and return the result.
12425 (mi_make_breakpoint): New procedure.
12426 (mi_build_kv_pairs): New procedure.
12428 * gdb.mi/mi-break.exp: Remove unused globals,
12429 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
12430 All callers updated.
12431 * gdb.mi/mi-dprintf.exp: Use variable to track command
12433 Update all callers of mi_create_breakpoint and use
12434 mi_make_breakpoint_table.
12435 Remove any unused global variables.
12436 * gdb.mi/mi-nonstop.exp: Likewise.
12437 * gdb.mi/mi-nsintrall.exp: Likewise.
12438 * gdb.mi/mi-nsmoribund.exp: Likewise.
12439 * gdb.mi/mi-nsthrexec.exp: Likewise.
12440 * gdb.mi/mi-reverse.exp: Likewise.
12441 * gdb.mi/mi-simplerun.exp: Likewise.
12442 * gdb.mi/mi-stepn.exp: Likewise.
12443 * gdb.mi/mi-syn-frame.exp: Likewise.
12444 * gdb.mi/mi-until.exp: Likewise.
12445 * gdb.mi/mi-var-cp.exp: Likewise.
12446 * gdb.mi/mi-var-display.exp: Likewise.
12447 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12448 * gdb.mi/mi2-var-child.exp: Likewise.
12449 * gdb.mi/mi-vla-c99.exp: Likewise.
12450 * lib/mi-support.exp: Likewise.
12452 From Ian Lance Taylor <iant@cygnus.com>:
12453 * lib/gdb.exp (parse_args): New procedure.
12455 2014-04-23 Pedro Alves <palves@redhat.com>
12457 * gdb.base/break-unload-file.c: New file.
12458 * gdb.base/break-unload-file.exp: New file.
12459 * gdb.base/sym-file-lib.c (baz): New function.
12460 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
12462 (load): Store the segment's mapped size.
12463 (unload): New function.
12464 (unload_shlib): New function.
12465 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
12466 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
12467 set a breakpoint at baz, and call it.
12468 * gdb.base/sym-file.exp: New tests for stale breakpoint
12471 2014-04-23 Pedro Alves <palves@redhat.com>
12473 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
12474 * gdb.base/hbreak-in-shr-unsupported.c: New file.
12475 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
12476 * gdb.base/hbreak-unmapped.c: New file.
12477 * gdb.base/hbreak-unmapped.exp: New file.
12478 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
12479 * lib/gdb.exp (gdb_is_target_remote): ... here.
12481 2014-04-22 Pedro Alves <palves@redhat.com>
12483 * gdb.base/consecutive-step-over.c: New file.
12484 * gdb.base/consecutive-step-over.exp: New file.
12486 2014-04-22 Pedro Alves <palves@redhat.com>
12488 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12489 instead of send_gdb/gdb_expect.
12491 2014-04-22 Yao Qi <yao@codesourcery.com>
12493 * lib/trace-support.exp (generate_tracefile): New procedure.
12494 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12496 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12497 if generate_tracefile returns 1.
12499 2014-04-18 Tom Tromey <palves@redhat.com>
12500 Pedro alves <tromey@redhat.com>
12503 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12504 with a backtrace limit.
12505 * gdb.python/py-frame-inline.exp: Test running to an inline
12506 function with a backtrace limit, and printing the newest frame.
12507 * gdb.python/py-frame-inline.c (main): Call f.
12509 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12511 * gdb.java/jnpe.exp: Drop srcdir from untested path.
12513 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12515 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12516 Drop prefix from unsupported source file path.
12518 2014-04-17 Yao Qi <yao@codesourcery.com>
12520 * lib/gdb.exp (with_target_charset): New proc.
12521 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12522 with_target_charset.
12523 (test_print_strings): Likewise.
12524 (test_repeat_bytes): Likewise.
12525 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12528 2014-04-16 Keith Seitz <keiths@redhat.com>
12531 * gdb.dwarf2/corrupt.c: New file.
12532 * gdb.dwarf2/corrupt.exp: New file.
12534 2014-04-16 Keith Seitz <keiths@redhat.com>
12537 * gdb.cp/namelessclass.cc: New file.
12538 * gdb.cp/namelessclass.exp: New file.
12539 * gdb.cp/namelessclass.S: New file.
12541 2014-04-16 Doug Evans <dje@google.com>
12543 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12545 (gdbserver_default_get_comm_port): New function.
12546 (gdbserver_start): Check if board file provided
12547 "gdbserver,get_comm_port" and use it if so.
12548 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12549 (gdb,socketport): Set to "stdio".
12550 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12551 (stdio_gdbserver_template): Delete.
12552 (${board}_get_remote_address): Update.
12553 (${board}_build_remote_cmd): Delete.
12554 (${board}_get_comm_port): New function.
12555 (${board}_spawn): Update.
12556 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12558 (${board}_get_remote_address): Update.
12559 (${board}_get_comm_port): New function.
12561 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
12563 * gdb.base/memattr.exp: Improve regexps to handle memory regions
12564 appearing in any order.
12566 2014-04-15 Doug Evans <dje@google.com>
12568 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12569 uninitialized value of "description".
12571 2014-04-15 Keith Seitz <keiths@redhat.com>
12573 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12574 Remove unused globals.
12575 (test_running_the_program): Likewise.
12576 (test_controlled_execution): Likewise.
12577 (test_controlling_breakpoints): Likewise.
12578 (test_program_termination): Likewise.
12580 2014-04-15 Keith Seitz <keiths@redhat.com>
12582 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12584 (test_rbreak_creation_and_listing): Likewise.
12585 (test_ignore_count): Likewise.
12586 (test_error): Likewise.
12588 2014-04-15 Pedro Alves <palves@redhat.com>
12590 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
12591 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
12593 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12594 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12595 to sym-file-loader.c.
12596 (struct library): Forward declare.
12597 (load_shlib, lookup_function): Change prototypes.
12598 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12599 (translate_offset): Remove declarations.
12600 (get_text_addr): New declaration.
12601 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
12602 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
12604 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12605 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12606 here from sym-file-loader.h.
12607 (struct library): New structure.
12608 (load_shlib, lookup_function): Change prototypes and adjust to
12609 work with a struct library.
12610 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12611 (translate_offset): Make static.
12612 (get_text_addr): New function.
12613 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
12615 2014-04-15 Pedro Alves <palves@redhat.com>
12617 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
12619 2014-04-15 Pedro Alves <palves@redhat.com>
12621 * gdb.base/sym-file-loader.c: Include <limits.h>.
12622 (SELF_LINK): New define.
12623 (get_origin): New function.
12624 (load_shlib): Use it.
12625 * gdb.base/sym-file.exp: Don't early return if the target is
12626 remote. Use runto_main, and issue fail is that fails. Use
12628 (shlib_name): Delete.
12629 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
12631 2014-04-15 Pedro Alves <palves@redhat.com>
12633 * gdb.base/sym-file.exp: Remove regex characters from test
12634 message. Don't refer to breakpoint numbers in test messages.
12636 2014-04-14 Keith Seitz <keiths@redhat.com>
12639 * gdb.cp/var-tag.cc: New file.
12640 * gdb.cp/var-tag.exp: New file.
12641 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12642 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12643 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12644 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12646 2014-04-14 Tom Tromey <tromey@redhat.com>
12648 * gdb.cp/classes.exp (test_enums): Handle underlying type.
12649 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
12651 * gdb.cp/enum-class.exp: New file.
12652 * gdb.cp/enum-class.cc: New file.
12654 2014-04-14 Tom Tromey <tromey@redhat.com>
12656 * gdb.dwarf2/enum-type.exp: New file.
12658 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12660 * gdb.mi/mi-vla-c99.exp: New file.
12661 * gdb.mi/vla.c: New file.
12663 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12665 * gdb.base/vla-datatypes.c: New file.
12666 * gdb.base/vla-datatypes.exp: New file.
12668 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12670 * gdb.base/vla-ptr.c: New file.
12671 * gdb.base/vla-ptr.exp: New file.
12673 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12675 * gdb.dwarf2/count.exp: New file.
12677 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12679 * gdb.base/vla-sideeffect.c: New file.
12680 * gdb.base/vla-sideeffect.exp: New file.
12682 2014-04-14 David Blaikie <dblaikie@gmail.com>
12684 * gdb.mi/non-stop.c: Add return value for non-void function return
12686 * gdb.threads/staticthreads.c: Ditto.
12688 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
12689 Doug Evans <xdje42@gmail.com>
12691 * gdb.guile/scm-value.c: Improve test case.
12692 * gdb.guile/scm-value.exp: Add new test.
12694 2014-04-11 David Blaikie <dblaikie@gmail.com>
12696 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
12697 override Clang's default.
12699 2014-04-11 Joel Brobecker <brobecker@adacore.com>
12701 Revert the following changes (regressions):
12703 * gdb.base/vla-sideeffect.c: New file.
12704 * gdb.base/vla-sideeffect.exp: New file.
12706 * gdb.dwarf2/count.exp: New file.
12708 * gdb.base/vla-multi.c: New file.
12709 * gdb.base/vla-multi.exp: New file.
12711 * gdb.base/vla-ptr.c: New file.
12712 * gdb.base/vla-ptr.exp: New file.
12714 * gdb.base/vla-datatypes.c: New file.
12715 * gdb.base/vla-datatypes.exp: New file.
12717 * gdb.mi/mi-vla-c99.exp: New file.
12718 * gdb.mi/vla.c: New file.
12720 2014-04-11 Keith Seitz <keiths@redhat.com>
12723 * gdb.cp/cpsizeof.exp: New file.
12724 * gdb.cp/cpsizeof.cc: New file.
12726 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12728 * gdb.mi/mi-vla-c99.exp: New file.
12729 * gdb.mi/vla.c: New file.
12731 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12733 * gdb.base/vla-datatypes.c: New file.
12734 * gdb.base/vla-datatypes.exp: New file.
12736 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12738 * gdb.base/vla-ptr.c: New file.
12739 * gdb.base/vla-ptr.exp: New file.
12741 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12743 * gdb.base/vla-multi.c: New file.
12744 * gdb.base/vla-multi.exp: New file.
12746 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12748 * gdb.dwarf2/count.exp: New file.
12750 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12752 * gdb.base/vla-sideeffect.c: New file.
12753 * gdb.base/vla-sideeffect.exp: New file.
12755 2014-04-11 Yao Qi <yao@codesourcery.com>
12757 * gdb.base/completion.exp: Check file exists before running tests
12758 on file completion.
12760 2014-04-10 Pedro Alves <palves@redhat.com>
12762 * gdb.base/cond-eval-mode.c: New file.
12763 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
12764 prepare_for_testing to build the new file. Check result of
12766 (test_break, test_watch): New procedures.
12767 (top level): Use them.
12769 2014-04-08 Pierre Muller <muller@sourceware.org>
12771 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
12772 Ctrl-V use for mingw hosts.
12774 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
12776 * gdb.python/py-value.c: Improve test case.
12777 * gdb.python/py-value.exp: Add new test.
12779 2014-04-07 David Blaikie <dblaikie@gmail.com>
12781 * lib/compiler.c: Identify the clang compiler.
12782 * lib/compiler.cc: Ditto.
12784 2014-04-03 Yao Qi <yao@codesourcery.com>
12786 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
12788 2014-04-01 Anton Blanchard <anton@samba.org>
12790 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
12793 2014-04-01 Anton Blanchard <anton@samba.org>
12795 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
12796 prepare_for_testing.
12798 2014-04-01 Anton Blanchard <anton@samba.org>
12800 * gdb.arch/ppc64-atomic-inst.c: Remove.
12801 * gdb.arch/ppc64-atomic-inst.S: New file.
12802 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
12804 2014-03-31 Doug Evans <dje@google.com>
12806 * gdb.base/print-symbol-loading-lib.c: New file.
12807 * gdb.base/print-symbol-loading-main.c: New file.
12808 * gdb.base/print-symbol-loading.exp: New file.
12810 2014-03-31 Yao Qi <yao@codesourcery.com>
12812 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
12814 2014-03-28 Joel Brobecker <brobecker@adacore.com>
12816 * gdb.ada/mi_dyn_arr: New testcase.
12818 2014-03-27 Doug Evans <dje@google.com>
12820 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
12822 2014-03-27 Yao Qi <yao@codesourcery.com>
12824 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
12825 if target is nios2-*-*.
12827 2014-03-26 Yao Qi <yao@codesourcery.com>
12829 * lib/gdb.exp (readline_is_used): New proc.
12830 * gdb.base/completion.exp: Move tests on command complete up.
12831 Skip the rest of tests if readline is not used.
12832 * gdb.ada/complete.exp: Skp the test if readline is not
12834 * gdb.base/filesym.exp: Likewise.
12835 * gdb.base/macscp.exp: Likewise.
12836 * gdb.base/readline-ask.exp: Likewise.
12837 * gdb.base/readline.exp: Likewise.
12838 * gdb.python/py-cmd.exp: Likewise.
12839 * gdb.trace/tfile.exp: Likewise.
12841 2014-03-26 Yao Qi <yao@codesourcery.com>
12843 * gdb.base/macscp.exp: Fix code format issues.
12845 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
12847 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
12848 * gdb.asm/powerpc64le.inc: New file.
12850 2014-03-25 Pedro Alves <palves@redhat.com>
12851 Doug Evans <dje@google.com>
12853 * gdb.base/source-execution.c: New file.
12854 * gdb.base/source-execution.exp: New file.
12855 * gdb.base/source-execution.gdb: New file.
12857 2014-03-24 Doug Evans <dje@google.com>
12859 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
12862 2014-03-24 Hui Zhu <hui@codesourcery.com>
12863 Pedro Alves <palves@redhat.com>
12865 PR breakpoints/16101
12866 * gdb.base/dprintf.exp: Use unsupported rather than changing the
12867 test pass/fail messages. Detect missing support for dprintf when
12868 breakpoints are actually inserted.
12869 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
12870 breakpoints are actually inserted.
12871 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
12874 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12876 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
12878 2014-03-22 Doug Evans <xdje42@gmail.com>
12880 * gdb.python/python.exp (python not supported): Verify multi-line
12881 python command issues an error.
12882 * gdb.guile/guile.exp (guile not supported): Verify multi-line
12883 guile command issues an error.
12885 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
12887 * gdb.threads/thread-specific.exp: Handle the lack of usable
12888 $this_breakpoint and $this_thread.
12890 2014-03-21 Hui Zhu <hui@codesourcery.com>
12892 * gdb.base/attach.exp (do_command_attach_tests): New.
12894 2014-03-20 Tom Tromey <tromey@redhat.com>
12895 Pedro Alves <palves@redhat.com>
12898 * gdb.base/condbreak-call-false.c: New file.
12899 * gdb.base/condbreak-call-false.exp: New file.
12901 2014-03-20 Pedro Alves <palves@redhat.com>
12903 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
12905 (block_signals, unblock_signals): Delete.
12906 (child_function_2, main): Remove references to deleted variable
12909 2014-03-20 Pedro Alves <palves@redhat.com>
12911 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
12912 Use pthread_kill to signal thread 2.
12913 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12914 Adjust to make the test send itself a signal rather than using the
12915 host's "kill" command.
12917 2014-03-20 Pedro Alves <palves@redhat.com>
12919 * gdb.threads/multiple-step-overs.c: New file.
12920 * gdb.threads/multiple-step-overs.exp: New file.
12921 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12922 Adjust expected infrun debug output.
12924 2014-03-20 Pedro Alves <palves@redhat.com>
12926 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
12927 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
12929 2014-03-20 Pedro Alves <palves@redhat.com>
12931 PR breakpoints/7143
12932 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
12933 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
12934 of gdb_test_multiple.
12935 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
12936 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
12938 2014-03-20 Pedro Alves <palves@redhat.com>
12940 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
12941 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
12943 2014-03-19 Pedro Alves <palves@redhat.com>
12945 * gdb.base/async.exp: Remove early return.
12947 2014-03-19 Pedro Alves <palves@redhat.com>
12949 * gdb.base/async.exp (step& tests): Pass explicit test messages.
12951 2014-03-19 Pedro Alves <palves@redhat.com>
12953 * gdb.base/async.exp (test_background): Expect \r\n after
12954 "completed." in the fail pattern.
12956 2014-03-19 Pedro Alves <palves@redhat.com>
12958 * gdb.base/async.exp (test_background): New procedure.
12959 Use it for all background execution command tests.
12961 2014-03-19 Pedro Alves <palves@redhat.com>
12963 * gdb.base/async.exp: Use prepare_for_testing.
12965 2014-03-19 Pedro Alves <palves@redhat.com>
12967 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
12970 2014-03-19 Pedro Alves <palves@redhat.com>
12972 * gdb.base/async.c (main): Add "jump here" and "until here" line
12974 * gdb.base/async.exp (jump_here): New global.
12975 (jump& test): Use it.
12976 (until_here): New global.
12977 (until& test): Use it.
12979 2014-03-19 Pedro Alves <palves@redhat.com>
12981 * gdb.base/async.exp: Don't frob gdb_protocol.
12983 2014-03-18 Doug Evans <xdje42@gmail.com>
12985 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
12986 Fix spelling of exec-done-display.
12988 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
12991 * gdb.base/gdb-sigterm.c: New file.
12992 * gdb.base/gdb-sigterm.exp: New file.
12994 2014-03-18 Pedro Alves <palves@redhat.com>
12997 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
12998 * lib/mi-support.exp (mi_expect_stop): Add special handling for
13001 2014-03-17 Joel Brobecker <brobecker@adacore.com>
13003 * gdb.ada/pckd_arr_ren: New testcase.
13005 2014-03-13 Doug Evans <xdje42@gmail.com>
13008 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
13009 collect after discarding symbols.
13011 2014-03-13 Ludovic Courtès <ludo@gnu.org>
13012 Doug Evans <xdje42@gmail.com>
13014 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
13015 to history survives a gc.
13017 2014-03-13 Pedro Alves <palves@redhat.com>
13019 * gdb.base/default.exp: Don't test "target procfs".
13021 2014-03-13 Pedro Alves <palves@redhat.com>
13023 * gdb.base/default.exp: Update "target child" and "target procfs"
13024 tests to not expect "Unix".
13026 2014-03-12 Tom Tromey <tromey@redhat.com>
13028 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
13029 New procs. Add target-async tests.
13030 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
13031 Add target-async tests.
13033 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13035 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
13036 'func_start' and 'func_end' for the beginning and end of the
13037 function code, respectively.
13038 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
13039 'func_end' instead of 'func' and 'main'.
13041 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13043 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
13044 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
13045 generate the debug info assembler source.
13047 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13049 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
13050 * gdb.dwarf2/arr-subrange.exp: Likewise.
13051 * gdb.dwarf2/dwz.exp: Likewise.
13052 * gdb.dwarf2/method-ptr.exp: Likewise.
13053 * gdb.dwarf2/missing-sig-type.exp: Likewise.
13054 * gdb.dwarf2/subrange.exp: Likewise.
13055 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
13056 * gdb.dwarf2/implptrpiece.exp: Likewise.
13057 * gdb.dwarf2/nostaticblock.exp: Likewise.
13059 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13061 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
13062 directory to absolute path name arguments.
13064 2014-03-10 Joel Brobecker <brobecker@adacore.com>
13066 * gdb.ada/tagged_access: New testcase.
13068 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
13070 * gdb.btrace/data.exp: Update expected output.
13072 2014-03-06 Yao Qi <yao@codesourcery.com>
13074 * gdb.trace/pr16508.exp: New file.
13076 2014-03-05 Pedro Alves <palves@redhat.com>
13079 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
13081 (top level): Adjust to use it. Add tests that exercise breakpoint
13082 interaction with the code-cache.
13084 2014-02-26 Ludovic Courtès <ludo@gnu.org>
13086 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
13087 test for 'history-append!'.
13089 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13091 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
13092 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
13093 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
13094 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
13095 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
13096 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
13098 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13100 * testsuite/gdb.python/py-pp-re-notag.c: New file.
13101 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
13102 * testsuite/gdb.python/py-pp-re-notag.p: New file.
13104 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13106 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
13108 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13110 * gdb.dwarf2/arr-stride.c: New file.
13111 * gdb.dwarf2/arr-stride.exp: New file.
13113 2014-02-26 Pedro Alves <palves@redhat.com>
13115 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
13116 that won't ever trigger. Make sure that GDB reports the correct
13117 breakpoint that caused the stop.
13119 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13122 * gdb.base/auto-load-script: New file.
13123 * gdb.base/auto-load.c: New file.
13124 * gdb.base/auto-load.exp: New file.
13127 * gdb.base/auto-load.exp: Fix out-of-srctree run.
13129 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13131 Fix dw2-icycle.exp -fsanitize=address GDB crash.
13132 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
13134 2014-02-24 Doug Evans <dje@google.com>
13136 * lib/gdb.exp (run_on_host): Log error output if program fails.
13138 2014-02-21 Pedro Alves <palves@redhat.com>
13140 * gdb.threads/step-after-sr-lock.c: Rename to ...
13141 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
13142 * gdb.threads/step-after-sr-lock.exp: Rename to ...
13143 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13146 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
13149 * gdb.arch/amd64-stap-special-operands.exp: New file.
13150 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
13151 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
13152 * gdb.arch/amd64-stap-triplet.S: Likewise.
13153 * gdb.arch/amd64-stap-triplet.c: Likewise.
13155 2014-02-20 Joel Brobecker <brobecker@adacore.com>
13157 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
13158 in .section pseudo-op.
13160 2014-02-20 lin zuojian <manjian2006@gmail.com>
13161 Joel Brobecker <brobecker@adacore.com>
13162 Doug Evans <xdje42@gmail.com>
13165 * gdb.dwarf2/dw2-icycle.S: New file.
13166 * gdb.dwarf2/dw2-icycle.c: New file.
13167 * gdb.dwarf2/dw2-icycle.exp: New file.
13169 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
13171 * gdb.python/py-value-cc.cc: Improve test case to enable testing
13172 operations on gdb.Value objects.
13173 * gdb.python/py-value-cc.exp: Add new test to test operations on
13176 2014-02-18 Doug Evans <dje@google.com>
13178 * Makefile.in (TESTS): New variable.
13179 (expanded_tests, expanded_tests_or_none): New variables
13180 (check-single): Pass $(expanded_tests_or_none) to runtest.
13181 (check-parallel): Only run tests in $(TESTS) if non-empty.
13182 (check/no-matching-tests-found): New rule.
13183 * README: Document TESTS makefile variable.
13185 2014-02-18 Doug Evans <dje@google.com>
13187 * Makefile.in (check-parallel): rm -rf outputs temp.
13189 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13191 Fix "ERROR: no fileid for" in the testsuite.
13192 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
13194 2014-02-12 Doug Evans <dje@google.com>
13196 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
13197 (MISCELLANEOUS): New variable.
13198 (clean): rm -rf $(MISCELLANEOUS).
13199 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
13200 dwp live in the same directory as symlinks, with each symlink pointed
13201 to a differently named file in a different directory.
13203 2014-02-11 Doug Evans <dje@google.com>
13205 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
13206 of Tcl file commands.
13208 2014-02-10 Mark Kettenis <kettenis@gnu.org>
13210 * gdb.threads/step-after-sr-lock.exp: Avoid executing
13211 "kill -SIGUSR1 -1".
13213 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13215 * gdb.ada/tick_length_array_enum_idx: New testcase.
13217 2014-02-10 Doug Evans <xdje42@gmail.com>
13219 * configure.ac (AC_OUTPUT): Add gdb.guile.
13220 * configure: Regenerate.
13221 * lib/gdb-guile.exp: New file.
13222 * lib/gdb.exp (get_target_charset): New function.
13223 * gdb.base/help.exp: Update expected output from "apropos apropos".
13224 * gdb.guile/Makefile.in: New file.
13225 * gdb.guile/guile.exp: New file.
13226 * gdb.guile/scm-arch.c: New file.
13227 * gdb.guile/scm-arch.exp: New file.
13228 * gdb.guile/scm-block.c: New file.
13229 * gdb.guile/scm-block.exp: New file.
13230 * gdb.guile/scm-breakpoint.c: New file.
13231 * gdb.guile/scm-breakpoint.exp: New file.
13232 * gdb.guile/scm-disasm.c: New file.
13233 * gdb.guile/scm-disasm.exp: New file.
13234 * gdb.guile/scm-equal.c: New file.
13235 * gdb.guile/scm-equal.exp: New file.
13236 * gdb.guile/scm-error.exp: New file.
13237 * gdb.guile/scm-error.scm: New file.
13238 * gdb.guile/scm-frame-args.c: New file.
13239 * gdb.guile/scm-frame-args.exp: New file.
13240 * gdb.guile/scm-frame-args.scm: New file.
13241 * gdb.guile/scm-frame-inline.c: New file.
13242 * gdb.guile/scm-frame-inline.exp: New file.
13243 * gdb.guile/scm-frame.c: New file.
13244 * gdb.guile/scm-frame.exp: New file.
13245 * gdb.guile/scm-generics.exp: New file.
13246 * gdb.guile/scm-gsmob.exp: New file.
13247 * gdb.guile/scm-iterator.c: New file.
13248 * gdb.guile/scm-iterator.exp: New file.
13249 * gdb.guile/scm-math.c: New file.
13250 * gdb.guile/scm-math.exp: New file.
13251 * gdb.guile/scm-objfile-script-gdb.in: New file.
13252 * gdb.guile/scm-objfile-script.c: New file.
13253 * gdb.guile/scm-objfile-script.exp: New file.
13254 * gdb.guile/scm-objfile.c: New file.
13255 * gdb.guile/scm-objfile.exp: New file.
13256 * gdb.guile/scm-ports.exp: New file.
13257 * gdb.guile/scm-pretty-print.c: New file.
13258 * gdb.guile/scm-pretty-print.exp: New file.
13259 * gdb.guile/scm-pretty-print.scm: New file.
13260 * gdb.guile/scm-section-script.c: New file.
13261 * gdb.guile/scm-section-script.exp: New file.
13262 * gdb.guile/scm-section-script.scm: New file.
13263 * gdb.guile/scm-symbol.c: New file.
13264 * gdb.guile/scm-symbol.exp: New file.
13265 * gdb.guile/scm-symtab-2.c: New file.
13266 * gdb.guile/scm-symtab.c: New file.
13267 * gdb.guile/scm-symtab.exp: New file.
13268 * gdb.guile/scm-type.c: New file.
13269 * gdb.guile/scm-type.exp: New file.
13270 * gdb.guile/scm-value-cc.cc: New file.
13271 * gdb.guile/scm-value-cc.exp: New file.
13272 * gdb.guile/scm-value.c: New file.
13273 * gdb.guile/scm-value.exp: New file.
13274 * gdb.guile/source2.scm: New file.
13275 * gdb.guile/types-module.cc: New file.
13276 * gdb.guile/types-module.exp: New file.
13278 2014-02-10 Yao Qi <yao@codesourcery.com>
13281 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
13282 * configure: Regenerated.
13283 * Makefile.in: New file.
13285 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13287 * gdb.python/py-framefilter.exp: Fix typo.
13289 2014-02-08 Yao Qi <yao@codesourcery.com>
13291 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
13292 that no =breakpoint-modified is emitted when breakpoints are
13293 modified through MI commands.
13295 2014-02-07 Pedro Alves <pedro@codesourcery.com>
13296 Pedro Alves <palves@redhat.com>
13298 * gdb.threads/step-after-sr-lock.c: New file.
13299 * gdb.threads/step-after-sr-lock.exp: New file.
13301 2014-02-07 Pedro Alves <palves@redhat.com>
13303 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
13305 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13307 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
13308 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
13310 2014-02-06 Doug Evans <xdje42@gmail.com>
13312 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
13315 * gdb.gdb/python-interrupts.exp: New file.
13317 2014-02-05 Yao Qi <yao@codesourcery.com>
13319 * gdb.trace/report.exp (use_collected_data): Test the output
13320 of "info threads" and "info inferiors".
13322 2014-02-05 Yao Qi <yao@codesourcery.com>
13326 2013-05-24 Yao Qi <yao@codesourcery.com>
13328 * gdb.trace/tfile.exp: Test inferior and thread.
13330 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13332 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
13334 * gdb.base/step-bt.c: Call hello via function pointer to make
13335 sure its first instruction is executed on powerpc64le-linux.
13337 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13339 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
13341 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13343 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
13344 of the test patterns for use on little-endian systems.
13346 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13348 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
13349 (decimal_vector): Fix for little-endian.
13351 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13353 * gdb.arch/sparc-sysstep.exp: New file.
13354 * gdb.arch/sparc-sysstep.c: Likewise.
13356 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
13358 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13360 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
13362 2014-01-23 Tom Tromey <tromey@redhat.com>
13364 * gdb.ada/array_char_idx: New testcase.
13366 2014-01-23 Tom Tromey <tromey@redhat.com>
13369 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
13370 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
13373 2014-01-23 Tom Tromey <tromey@redhat.com>
13376 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
13377 string from an inferior frame.
13378 * gdb.python/py-framefilter-mi.exp: Update.
13380 2014-01-22 Doug Evans <dje@google.com>
13382 * gdb.server/server-mon.exp: Add tests for "set debug-format".
13384 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13386 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
13388 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13390 * gdb.trace/entry-values.exp: Remove excess space character from
13391 regex patterns. Handle s390 call instruction.
13393 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13395 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
13396 define "*_start" label. Make "name" static.
13397 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
13398 ${name} by references to ${name}_start.
13400 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13402 * gdb.base/info-macros.exp: Remove "debug" from the compile
13405 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13407 * gdb.dlang/demangle.exp: New file.
13409 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13411 * gdb.dlang/primitive-types.exp: New file.
13413 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13415 * configure.ac: Create gdb.dlang/Makefile.
13416 * configure: Regenerate.
13417 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
13418 * gdb.dlang/Makefile.in: New file.
13419 * lib/d-support.exp: New file.
13420 * lib/gdb.exp (skip_d_tests): New proc.
13422 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13424 * gdb.btrace/delta.exp: Check reverse stepi.
13425 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
13426 * gdb.btrace/finish.exp: New.
13427 * gdb.btrace/next.exp: New.
13428 * gdb.btrace/nexti.exp: New.
13429 * gdb.btrace/record_goto.c: Add comments.
13430 * gdb.btrace/step.exp: New.
13431 * gdb.btrace/stepi.exp: New.
13432 * gdb.btrace/multi-thread-step.c: New.
13433 * gdb.btrace/multi-thread-step.exp: New.
13434 * gdb.btrace/rn-dl-bind.c: New.
13435 * gdb.btrace/rn-dl-bind.exp: New.
13436 * gdb.btrace/data.c: New.
13437 * gdb.btrace/data.exp: New.
13438 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13440 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13442 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13443 * gdb.btrace/exception.exp: Update.
13444 * gdb.btrace/instruction_history.exp: Update.
13445 * gdb.btrace/record_goto.exp: Update.
13446 * gdb.btrace/tailcall.exp: Update.
13447 * gdb.btrace/unknown_functions.exp: Update.
13448 * gdb.btrace/delta.exp: New.
13450 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13452 * gdb.btrace/record_goto.exp: Add backtrace test.
13453 * gdb.btrace/tailcall.exp: Add backtrace test.
13455 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13457 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
13458 * gdb.btrace/record_goto.c: New.
13459 * gdb.btrace/record_goto.exp: New.
13460 * gdb.btrace/x86-record_goto.S: New.
13462 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13464 * gdb.btrace/function_call_history.exp: Update tests.
13465 * gdb.btrace/instruction_history.exp: Update tests.
13467 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13469 * gdb.btrace/function_call_history.exp: Fix expected field
13470 order for "record function-call-history".
13471 Add new tests for "record function-call-history /c".
13472 * gdb.btrace/exception.cc: New.
13473 * gdb.btrace/exception.exp: New.
13474 * gdb.btrace/tailcall.exp: New.
13475 * gdb.btrace/x86-tailcall.S: New.
13476 * gdb.btrace/x86-tailcall.c: New.
13477 * gdb.btrace/unknown_functions.c: New.
13478 * gdb.btrace/unknown_functions.exp: New.
13479 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13481 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13483 * gdb.btrace/instruction_history.exp: Update.
13484 * gdb.btrace/function_call_history.exp: Update.
13486 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13488 * gdb.btrace/function_call_history.exp: Fix expected function
13490 * gdb.btrace/instruction_history.exp: Initialize traced.
13491 Remove traced_functions.
13493 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13495 * gdb.btrace/function_call_history.exp: Update
13496 * gdb.btrace/instruction_history.exp: Update.
13498 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13500 * gdb.btrace/enable.exp: Update expected text.
13502 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
13504 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13507 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
13509 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13511 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
13513 * lib/gdb.exp (supports_process_record): Return true for
13514 arm*-linux*. (supports_reverse): Likewise.
13516 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13520 * gdb.python/py-type.c: Enhance test case.
13521 * gdb.python/py-value-cc.cc: Likewise
13522 * gdb.python/py-type.exp: Add new tests.
13523 * gdb.python/py-value-cc.exp: Likewise
13525 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13526 Pedro Alves <palves@redhat.com>
13528 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13529 Make "name" extern.
13530 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13531 references to ${name}_start by references to ${name}.
13533 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13535 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13537 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13539 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13541 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
13542 Pedro Alves <palves@redhat.com>
13544 * gdb.mi/mi-info-os.exp: Connect to the target with
13545 mi_gdb_target_load.
13547 2014-01-08 Pedro Alves <palves@redhat.com>
13549 * gdb.threads/reconnect-signal.c: New file.
13550 * gdb.threads/reconnect-signal.exp: New file.
13552 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13554 * gdb.base/source-dir.exp: New file.
13556 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13558 * gdb.ada/mi_interface: New testcase.
13560 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13562 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13563 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13564 gdb.ada/pp-rec-component/pck.ads: New files.
13566 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13568 * gdb.python/py-pp-integral.c: New file.
13569 * gdb.python/py-pp-integral.py: New file.
13570 * gdb.python/py-pp-integral.exp: New file.
13572 For older changes see ChangeLog-1993-2013.
13574 ;; Local Variables:
13575 ;; mode: change-log
13578 ;; version-control: never
13581 Copyright 2014-2018 Free Software Foundation, Inc.
13582 Copying and distribution of this file, with or without modification,
13583 are permitted provided the copyright notice and this notice are preserved.