1 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3 * gdb.ada/convvar_comp: New testcase.
5 2018-01-05 Xavier Roirand <roirand@adacore.com>
7 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
8 (My_Table): New global variable.
9 * testsuite/gdb.ada/array_char_idx.exp: Add test.
11 2018-01-04 Joel Brobecker <brobecker@adacore.com>
14 * gdb.ada/maint_with_ada: New testcase.
16 2018-01-04 Joel Brobecker <brobecker@adacore.com>
19 * gdb.ada/bp_c_mixed_case: New testcase.
21 2018-01-04 Joel Brobecker <brobecker@adacore.com>
24 * gdb.ada/complete.exp: Add "complete break ada" test.
26 2018-01-04 Joel Brobecker <brobecker@adacore.com>
29 * gdb.ada/info_addr_mixed_case: New testcase.
31 2018-01-03 Xavier Roirand <roirand@adacore.com>
33 * gdb.ada/excep_handle.exp: New testcase.
34 * gdb.ada/excep_handle/foo.adb: New file.
35 * gdb.ada/excep_handle/pck.ads: New file.
37 2018-01-03 Joel Brobecker <brobecker@adacore.com>
39 * gdb.base/step-line.c: Add extra empty line in copyright header.
40 * gdb.base/step-line.inp: Likewise.
42 2018-01-02 Joel Brobecker <brobecker@adacore.com>
44 * gdb.ada/dyn_stride.exp: Add slice test.
46 2018-01-02 Joel Brobecker <brobecker@adacore.com>
48 * gdb.ada/dyn_stride: New testcase.
50 2017-12-27 Stafford Horne <shorne@gmail.com>
52 * gdb.xml/extra-regs.xml: Add example foo reggroup.
53 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
55 2017-12-27 Stafford Horne <shorne@gmail.com>
57 * gdb.base/reggroups.c: New file.
58 * gdb.base/reggroups.exp: New file.
60 2017-12-18 Joel Brobecker <brobecker@adacore.com>
62 * gdb.dwarf2/ada-valprint-error.c: New file.
63 * gdb.dwarf2/ada-valprint-error.exp: New file.
65 2017-12-18 Joel Brobecker <brobecker@adacore.com>
67 * gdb.ada/assign_arr: New testcase.
69 2017-12-18 Xavier Roirand <roirand@adacore.com>
71 * gdb.ada/funcall_ptr: New testcase.
73 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
76 * gdb.base/ptype-offsets.cc: New file.
77 * gdb.base/ptype-offsets.exp: New file.
79 2017-12-15 Yao Qi <yao.qi@linaro.org>
81 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
84 2017-12-15 Xavier Roirand <roirand@adacore.com>
86 * gdb.ada/same_component_name: New testcase.
88 2017-12-14 Joel Brobecker <brobecker@adacore.com>
90 * gdb.ada/str_binop_equal: New testcase.
92 2017-12-14 Joel Brobecker <brobecker@adacore.com>
94 * gdb.ada/task_switch_in_core: New testcase.
96 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
98 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
99 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
100 call test_bkpt_qualified.
101 (test_bkpt_qualified): New proc.
103 2017-12-13 Pedro Alves <palves@redhat.com>
105 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
106 Tighten regexp by matching with an anchor.
108 2017-12-13 Pedro Alves <palves@redhat.com>
110 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
111 ("expression with namespace"): New set of tests.
112 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
113 (Nested::Test_NS::qux): New.
114 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
115 defaults to 'start_quote_char' and 'end_quote_char' parameters.
117 2017-12-13 Joel Brobecker <brobecker@adacore.com>
119 * gdb.base/server-del-break.c: New file.
120 * gdb.base/server-del-break.exp: New file.
122 2017-12-12 Stafford Horne <shorne@gmail.com>
124 * gdb.xml/tdesc-regs.exp: Add or1k support.
126 2017-12-12 Stafford Horne <shorne@gmail.com>
128 * gdb.base/bp-permanent.c: Define nop of or1k.
130 2017-12-11 Joel Brobecker <brobecker@adacore.com>
132 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
133 output with components being reordered.
135 2017-12-11 Joel Brobecker <brobecker@adacore.com>
137 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
138 output with components being reordered.
140 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
141 Pedro Alves <palves@redhat.com>
143 * gdb.base/maint.exp (check for .gdb_index): Check also for
145 * gdb.dlang/watch-loc.c (.debug_aranges): New.
146 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
147 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
148 (.gdb_index used after symbol reloading): Support also .debug_names.
149 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
151 2017-12-08 Yao Qi <yao.qi@linaro.org>
153 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
154 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
156 2017-12-08 Yao Qi <yao.qi@linaro.org>
158 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
159 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
161 2017-12-08 Yao Qi <yao.qi@linaro.org>
163 * gdb.arch/aarch64-tagged-pointer.c: New file.
164 * gdb.arch/aarch64-tagged-pointer.exp: New file.
166 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
168 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
171 2017-12-07 Keith Seitz <keiths@redhat.com>
174 * gdb.linespec/ls-errs.exp: Change expected result of "break
175 -source this file has spaces.c -line 3".
176 Check that an explicit source file followed by whitespace is
177 identified as an invalid explicit location.
179 2017-12-07 Keith Seitz <keiths@redhat.com>
181 * gdb.cp/nested-types.cc: New file.
182 * gdb.cp/nested-types.exp: New file.
183 * lib/cp-support.exp: Load data-structures.exp library.
184 (debug_cp_test_ptype_class): New global.
185 (cp_ptype_class_verbose, next_line): New procedures.
186 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
187 Add and document new return value.
188 Switch the list of lines to a queue.
189 Add support for new `type' key for nested type definitions.
190 Add debugging/troubleshooting messages.
191 * lib/data-structures.exp: New file.
193 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
195 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
196 with proc_with_prefix, don't use with_test_prefix.
198 2017-12-07 Tom Tromey <tom@tromey.com>
200 * gdb.base/break.exp: Add test for empty "commands".
202 2017-12-07 Yao Qi <yao.qi@linaro.org>
204 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
205 malloc and catch syscall.
207 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
209 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
210 tests for explicit locations.
212 2017-12-06 Pedro Alves <palves@redhat.com>
214 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
215 force-disabling XML descriptions.
217 2017-12-04 Pedro Alves <palves@redhat.com>
220 * gdb.arch/amd64-disp-step-avx.S: New file.
221 * gdb.arch/amd64-disp-step-avx.exp: New file.
223 2017-12-03 Pedro Alves <palves@redhat.com>
225 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
227 (parent_function): Print distinct messages when waitpid fails, or
228 the child exits with a signal, or the child exits for an unhandled
230 * gdb.threads/process-dies-while-detaching.exp
231 (detach_and_expect_exit): New 'inf_output_re' parameter and use
232 it. Wait for both inferior output and GDB's prompt. Use an
233 indirect spawn id list.
234 (do_detach): New parameter 'child_exit'. Use it to compute
235 expected inferior output.
236 (test_detach, test_detach_watch, test_detach_killed_outside):
237 Adjust to pass down the expected child exit kind.
239 2017-12-01 Joel Brobecker <brobecker@adacore.com>
240 Sergio Durigan Junior <sergiodj@redhat.com>
241 Pedro Alves <palves@redhat.com>
243 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
245 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
247 * gdb.base/relocate.exp: Add tests to guarantee that arguments
248 to 'symbol-file' and 'add-symbol-file' can be
249 position-independent.
251 2017-12-01 Yao Qi <yao.qi@linaro.org>
253 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
254 the URL in copyright header.
255 * gdb.arch/aarch64-fp.exp: Likewise.
256 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
257 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
258 * gdb.base/expand-psymtabs.exp: Likewise.
259 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
260 * gdb.fortran/common-block.exp: Likewise.
261 * gdb.fortran/common-block.f90: Likewise.
262 * gdb.fortran/logical.exp: Likewise.
263 * gdb.fortran/vla-datatypes.f90: Likewise.
264 * gdb.fortran/vla-sub.f90: Likewise.
266 2017-11-30 Joel Brobecker <brobecker@adacore.com>
268 * gdb.ada/repeat_dyn: New testcase.
270 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
272 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
273 Update for changed thread numbering.
274 * gdb.cell/bt.exp: Update for changed GDB output.
276 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
278 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
279 setting isremote by hand.
280 * boards/dwarf4-gdb-index.exp: Likewise.
281 * boards/fission.exp: Likewise.
282 * boards/stabs.exp: Likewise.
284 2017-11-30 Pedro Alves <palves@redhat.com>
286 * gdb.linespec/cpls-ops.exp
287 (check_explicit_skips_function_argument): Extract the underlying
288 type of size_t instead of hardcoding it.
290 2017-11-29 Pedro Alves <palves@redhat.com>
293 * gdb.linespec/cpls-abi-tag.cc: New file.
294 * gdb.linespec/cpls-abi-tag.exp: New file.
296 2017-11-29 Pedro Alves <palves@redhat.com>
298 * gdb.base/langs.exp: Use -qualified.
299 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
301 * gdb.cp/namespace.exp: Use -qualified.
302 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
303 (overload-3, template-overload, template-ret-type, const-overload)
304 (const-overload-quoted, anon-ns, ambiguous-prefix): New
306 (test_driver): Call them.
307 * gdb.cp/save-bp-qualified.cc: New.
308 * gdb.cp/save-bp-qualified.exp: New.
309 * gdb.linespec/explicit.exp: Test -qualified.
310 * lib/completion-support.exp (completion::explicit_opts_list): Add
312 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
314 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
316 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
318 2017-11-29 Tom Tromey <tom@tromey.com>
320 * gdb.base/relocate.exp: Update invalid argument test.
321 Add new tests for invalid arguments.
323 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
325 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
327 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
329 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
331 * gdb.cp/breakpoint.cc (bar): Set return type to void.
332 * gdb.cp/psymtab-parameter.cc (func): Likewise.
333 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
335 * gdb.cp/shadow.cc (B.func): Return 0.
337 2017-11-27 Joel Brobecker <brobecker@adacore.com>
339 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
340 expected output in gdb_expect call to allow the exception
341 message to be present as well. Fix syntax confusion to avoid
342 TCL thinking that exception_name is an array.
344 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
346 * gdb.arch/spu-info.c: Include <unistd.h>.
347 (do_signal_test): Fix broken calls to write.
348 * gdb.arch/spu-info.exp: Use prepare_for_testing.
349 Fix checks for empty mailboxes. Update signal tests for corrected
350 do_signal_test routine. Allow nonzero event status.
351 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
352 * gdb.cell/arch.exp: Use standard_output_file.
353 * gdb.cell/break.exp: Likewise.
354 * gdb.cell/bt.exp: Likewise.
355 * gdb.cell/core.exp: Likewise.
356 * gdb.cell/dwarfaddr.exp: Likewise.
357 * gdb.cell/ea-cache.exp: Likewise.
358 * gdb.cell/ea-standalone.exp: Likewise.
359 * gdb.cell/f-regs.exp: Likewise.
360 * gdb.cell/fork.exp: Likewise.
361 * gdb.cell/gcore.exp: Likewise.
362 * gdb.cell/mem-access.exp: Likewise.
363 * gdb.cell/ptype.exp: Likewise.
364 * gdb.cell/registers.exp: Likewise.
365 * gdb.cell/sizeof.exp: Likewise.
366 * gdb.cell/solib-symbol.exp: Likewise.
367 * gdb.cell/solib.exp: Likewise.
369 2017-11-25 Pedro Alves <palves@redhat.com>
371 * gdb.base/complete-empty.exp: New file.
372 * gdb.base/completion.exp: Adjust.
374 2017-11-25 Pedro Alves <palves@redhat.com>
376 * gdb.linespec/cpls-ops.cc: New file.
377 * gdb.linespec/cpls-ops.exp: New file.
378 * lib/completion-support.exp (test_complete_prefix_range_re): New,
379 factored out from ...
380 (test_complete_prefix_range): ... this.
382 2017-11-24 Pedro Alves <palves@redhat.com>
384 * gdb.linespec/cpcompletion.exp: New file.
385 * gdb.linespec/cpls-hyphen.cc: New file.
386 * gdb.linespec/cpls.cc: New file.
387 * gdb.linespec/cpls2.cc: New file.
388 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
389 test to use test_gdb_complete_unique. Add label completion,
390 keyword completion and explicit location completion tests.
391 * lib/completion-support.exp: New file.
393 2017-11-24 Joel Brobecker <brobecker@adacore.com>
395 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
396 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
397 when hitting an exception catchpoint.
399 2017-11-22 Yao Qi <yao.qi@linaro.org>
401 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
403 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
405 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
406 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
407 * gdb.dwarf2/info-locals-optimized-out.c: New file.
409 2017-11-22 Yao Qi <yao.qi@linaro.org>
411 * gdb.base/info-os.exp: Pass pthreads.
412 * gdb.multi/multi-attach.exp: Likewise.
414 2017-11-22 Yao Qi <yao.qi@linaro.org>
416 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
419 2017-11-22 Yao Qi <yao.qi@linaro.org>
421 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
422 * gdb.base/break-interp.exp: Likewise.
423 * gdb.base/jit-attach-pie.exp: Likewise.
425 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
427 * gdb.base/float128.c (large128): New variable.
428 * gdb.base/float128.exp: Add test to print largest __float128 value.
430 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
432 * gdb.arch/vsx-regs.exp: Update register content checks.
434 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
436 * gdb.arch/ppc-longdouble.exp: New file.
437 * gdb.arch/ppc-longdouble.c: Likewise.
439 2017-11-21 Pedro Alves <palves@redhat.com>
441 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
443 2017-11-20 Pedro Alves <palves@redhat.com>
445 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
446 (long_double_typedef): New typedefs.
447 Use DEF on double and long double.
448 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
450 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
451 and 'long_double_ptr_same_size' locals. Use them to decide
452 whether cast from array/function to float is valid/invalid.
454 2017-11-17 Tom Tromey <tom@tromey.com>
456 * gdb.rust/traits.rs: New file.
457 * gdb.rust/traits.exp: New file.
459 2017-11-17 Joel Brobecker <brobecker@adacore.com>
461 * gdb.ada/minsyms: New testcase.
463 2017-11-16 Pedro Alves <palves@redhat.com>
465 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
466 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
468 2017-11-16 Pedro Alves <palves@redhat.com>
470 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
471 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
473 2017-11-16 Pedro Alves <palves@redhat.com>
475 * gdb.server/reconnect-ctrl-c.c: New file.
476 * gdb.server/reconnect-ctrl-c.exp: New file.
478 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
480 * gdb.python/py-rbreak.exp: New file.
481 * gdb.python/py-rbreak.c: New file.
482 * gdb.python/py-rbreak-func2.c: New file.
484 2017-11-16 Pedro Alves <palves@redhat.com>
486 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
488 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
491 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
493 * gdb.tui/completionn.exp (test_tab_completion): Add space in
496 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
498 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
501 2017-11-09 Pedro Alves <palves@redhat.com>
503 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
504 factored out from ...
505 (top level): ... here, and adjusted to avoid expecting beyond the
506 prompt in a single gdb_test_multiple.
508 2017-11-09 Pedro Alves <palves@redhat.com>
510 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
512 * gdb.server/ext-attach.exp ("kill" test): Likewise.
513 * gdb.server/ext-restart.exp ("kill" test): Likewise.
514 * gdb.server/ext-run.exp ("kill" test): Likewise.
515 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
517 2017-11-09 Pedro Alves <palves@redhat.com>
519 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
520 match till end of line.
522 2017-11-09 Pedro Alves <palves@redhat.com>
524 * gdb.base/memattr.exp: Tighten regexes to match the end line.
526 2017-11-09 Pedro Alves <palves@redhat.com>
528 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
529 New procedures, factored out from ...
530 (top level): ... here, and adjusted to avoid expecting beyond the
533 2017-11-09 Pedro Alves <palves@redhat.com>
535 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
536 output. Fix '?' match.
538 2017-11-08 Joel Brobecker <brobecker@adacore.com>
540 * gdb.ada/scoped_watch: New testcase.
541 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
542 which is actually correct.
543 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
544 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
546 2017-11-08 Pedro Alves <palves@redhat.com>
548 * gdb.gdb/complaints.exp (test_initial_complaints)
549 (test_serial_complaints, test_short_complaints): Call
550 complaint_internal instead of complaint.
552 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
554 * gdb.threads/tls-core.c: New file.
555 * gdb.threads/tls-core.exp: Likewise.
557 2017-11-08 Pedro Alves <palves@redhat.com>
559 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
560 (p Exported_Capitalized): New test.
561 (p exported_capitalized): New test.
563 2017-11-07 Pedro Alves <palves@redhat.com>
565 * gdb.cp/ena-dis-br-range.exp: Add more tests.
567 2017-11-07 Pedro Alves <palves@redhat.com>
569 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
570 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
571 (disable_invalid, disable_inverted, disable_negative): New
573 ("bad numbers"): New set of tests.
575 2017-11-07 Pedro Alves <palves@redhat.com>
577 * gdb.cp/ena-dis-br-range.exp: Add tests.
579 2017-11-07 Pedro Alves <palves@redhat.com>
581 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
583 2017-11-07 Xavier Roirand <roirand@adacore.com>
584 Pedro Alves <palves@redhat.com>
586 * gdb.base/ena-dis-br.exp: Add reference to
587 gdb.cp/ena-dis-br-range.exp.
588 * gdb.cp/ena-dis-br-range.exp: New file.
589 * gdb.cp/ena-dis-br-range.cc: New file.
591 2017-11-06 Pedro Alves <palves@redhat.com>
593 * gdb.base/attach-non-pgrp-leader.c: New.
594 * gdb.base/attach-non-pgrp-leader.exp: New.
596 2017-11-06 Pedro Alves <palves@redhat.com>
598 * configure.ac: No longer check for termio.h and sgtty.h.
599 * configure: Regenerate.
600 * remote-utils.c: Include termios.h instead of gdb_termios.h.
601 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
602 Remove termio and sgtty code.
604 2017-11-03 Yao Qi <yao.qi@linaro.org>
606 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
609 2017-11-03 Yao Qi <yao.qi@linaro.org>
611 * gdb.python/py-thrhandle.exp: Skip it if python is not
614 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
616 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
617 as a breakpoint command.
619 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
622 * gdb.python/py-infthread.exp: Test calling
623 InferiorThread.inferior () multiple times in a row.
625 2017-10-27 Keith Seitz <keiths@redhat.com>
627 * gdb.opt/inline-break.exp (break_info_1): New procedure.
628 Test "info break" for every inlined function breakpoint.
630 2017-10-27 Yao Qi <yao.qi@linaro.org>
632 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
634 2017-10-26 Patrick Frants <osscontribute@gmail.com>
636 * gdb.cp/classes.exp (test_static_members): Test printing
638 * gdb.cp/classes.c (struct Inner, struct Outer): New.
639 (Inner::instance, Outer::instance): New.
641 2017-10-24 Pedro Alves <palves@redhat.com>
643 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
644 extra console" test in two stages.
646 2017-10-24 Pedro Alves <palves@redhat.com>
648 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
650 2017-10-24 Pedro Alves <palves@redhat.com>
652 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
655 2017-10-24 Pedro Alves <palves@redhat.com>
657 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
658 $attempt" and "stoppedtry $stoppedtry" test prefixes.
660 2017-10-24 Pedro Alves <palves@redhat.com>
662 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
663 parameter and handle it. Don't output read value in test name.
665 2017-10-24 Pedro Alves <palves@redhat.com>
667 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
670 2017-10-24 Pedro Alves <palves@redhat.com>
672 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
673 include the unstable output directory name in the test's name.
674 (initial_setup_simple) <'set args'>: Use custom test name.
676 2017-10-24 Pedro Alves <palves@redhat.com>
678 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
679 with explicit test name.
681 2017-10-20 Pedro Alves <palves@redhat.com>
683 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
684 'wait -i'. Use gdb_assert and remote_close.
686 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
688 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
689 number from variable rather than hard-coded.
691 2017-10-19 Pedro Alves <palves@redhat.com>
693 * gdb.base/long-inferior-output.c: New file.
694 * gdb.base/long-inferior-output.exp: New file.
696 2017-11-18 Keith Seitz <keiths@redhat.com>
698 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
701 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
702 Add additional user-defined conversion operator tests.
704 2017-10-17 Pedro Alves <palves@redhat.com>
706 * boards/native-stdio-gdbserver.exp: Load "local-board".
708 2017-10-17 Pedro Alves <palves@redhat.com>
710 * gdb.base/quit-live.c: New file.
711 * gdb.base/quit-live.exp: New file.
713 2017-10-16 Keith Seitz <keiths@redhat.com>
715 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
716 (class_with_protected_typedef, class_with_private_typedef)
717 (struct_with_public_typedef, struct_with_protected_typedef)
718 (struct_with_private_typedef): New classes/structs.
719 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
720 typedefs and access specifiers.
722 2017-10-16 Pedro Alves <palves@redhat.com>
723 Simon Marchi <simon.marchi@polymtl.ca>
725 * README (Local vs Remote vs Native): New section.
726 * boards/local-board.exp: New file, with bits factored out from
728 * boards/native-extended-gdbserver.exp: ... here. Load
730 * boards/native-gdbserver.exp: Load "local-board".
731 (${board}_spawn, ${board}_exec): Delete.
732 * boards/native-stdio-gdbserver.exp: Most contents factored out to
734 * boards/stdio-gdbserver-base.exp: ... this new file.
735 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
736 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
738 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
739 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
740 stdio_gdbserver_command.
741 (${board}_get_remote_address, ${board}_get_comm_port)
742 (${board}_download, ${board}_upload): Delete.
743 (get_target_remote_pipe_cmd): New.
745 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
747 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
748 test_bkpt_deletion, test_bkpt_cond_and_cmds,
749 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
750 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
751 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
752 remove with_test_prefix.
754 2017-10-13 Pedro Alves <palves@redhat.com>
756 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
757 * gdb.base/annota1.exp: Use it instead of is_remote.
758 * gdb.base/annota3.exp: Use it instead of is_remote.
759 * gdb.cp/annota2.exp: Use it instead of is_remote.
760 * gdb.cp/annota3.exp: Use it instead of is_remote.
761 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
763 2017-10-13 Pedro Alves <palves@redhat.com>
765 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
766 (test_num_test_vars, run_and_count_vars, find_env)
767 (test_set_unset_env, test_inherit_env_var): New procedures.
768 (top level): Use them.
770 2017-10-13 Pedro Alves <palves@redhat.com>
772 * lib/selftest-support.exp (selftest_setup): Extend comments, and
773 also skip on stub-like targets.
775 2017-10-13 Pedro Alves <palves@redhat.com>
778 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
779 (top level): Move some tests to ...
780 (test_not_found): ... this new procedure.
781 (top level): Call it.
783 2017-10-13 Pedro Alves <palves@redhat.com>
785 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
786 expect different "info terminal" output if testing with a
789 2017-10-13 Pedro Alves <palves@redhat.com>
790 Simon Marchi <simon.marchi@polymtl.ca>
793 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
795 2017-10-13 Pedro Alves <palves@redhat.com>
797 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
800 2017-10-13 Pedro Alves <palves@redhat.com>
802 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
805 2017-10-13 Pedro Alves <palves@redhat.com>
807 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
810 2017-10-13 Pedro Alves <palves@redhat.com>
812 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
814 (corefile_test_attach): Likewise. Check can_spawn_for_attach
815 instead of is_remote.
817 2017-10-13 Pedro Alves <palves@redhat.com>
819 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
820 (top level): Add comment.
822 2017-10-13 Pedro Alves <palves@redhat.com>
824 * gdb.base/remote.exp (top level): Fix comment typo and add
827 2017-10-13 Pedro Alves <palves@redhat.com>
828 Simon Marchi <simon.marchi@polymtl.ca>
830 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
831 calls and add comments. Skip test if use_gdb_stub is set.
832 (top level): Use "set cwd" command instead of "cd" command.
834 2017-10-13 Pedro Alves <palves@redhat.com>
836 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
837 is_remote target check.
839 2017-10-13 Pedro Alves <palves@redhat.com>
841 * gdb.base/scope.exp: Use build_executable + clean_restart +
842 gdb_file_cmd instead of prepare_for_testing and no longer skip
843 "before run" tests on is_remote target boards. Update comments.
844 * boards/native-extended-gdbserver.exp
845 (extended_gdbserver_load_last_file): New, factored out from ...
846 (gdb_load): ... this. Move further below and add comment.
847 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
849 2017-10-12 Pedro Alves <palves@redhat.com>
851 * gdb.base/attach.exp: Remove references to gdb64.
852 * gdb.base/dbx.exp: Remove references to gdb64.
854 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
855 Pedro Alves <palves@redhat.com>
857 * gdb.base/label.exp: Remove is_remote target check.
859 2017-10-12 Pedro Alves <palves@redhat.com>
861 * gdb.base/auvx.exp (coredir): Update comment.
862 (top level) <core_works>: Use "set cwd" command instead of "cd"
865 2017-10-12 Pedro Alves <palves@redhat.com>
866 Simon Marchi <simon.marchi@polymtl.ca>
868 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
871 2017-10-12 Pedro Alves <palves@redhat.com>
872 Simon Marchi <simon.marchi@polymtl.ca>
874 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
875 Instead skip if there's any gdb_protocol set.
877 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
878 Pedro Alves <palves@redhat.com>
880 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
882 2017-10-12 Pedro Alves <palves@redhat.com>
883 Simon Marchi <simon.marchi@polymtl.ca>
885 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
886 instead of on dejagnu remote boards.
888 2017-10-12 Pedro Alves <palves@redhat.com>
889 Simon Marchi <simon.marchi@polymtl.ca>
891 * gdb.base/inferior-died.exp: Remove is_remote and isnative
892 checks. Use build_executable + clean_restart instead of
893 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
894 of enabling non-stop after starting gdb.
896 2017-10-12 Pedro Alves <palves@redhat.com>
898 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
899 * gdb.threads/non-ldr-exc-2.exp: Ditto.
900 * gdb.threads/non-ldr-exc-3.exp: Ditto.
901 * gdb.threads/non-ldr-exc-4.exp: Ditto.
903 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
905 * gdb.arch/arc-tdesc-cpu.exp: New file.
906 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
908 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
910 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
912 2017-10-10 Pedro Alves <palves@redhat.com>
914 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
917 2017-10-10 Pedro Alves <palves@redhat.com>
919 * lib/selftest-support.exp (selftest_setup): Update for
920 captured_command_loop's prototype change.
922 2017-10-09 Pedro Alves <palves@redhat.com>
924 Test both arch1=>arch2 and arch2=>arch1.
926 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
927 (srcfile2, binfile2, march1, march2): Remove globals. Largely
929 (append_arch1_options, append_arch2_options, append_arch_options)
930 (build_executables): New procedures.
931 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
933 (top level): Add new 'first_arch' testing axis.
935 2017-10-09 Pedro Alves <palves@redhat.com>
937 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
939 (thread_start, all_started): New functions.
940 (main): Spawn new thread and wait until it is scheduled.
941 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
943 (do_test): Add 'selected_thread' parameter. Run to all_started
944 instead of main. Explicitly set the breakpoint at main. Switch
945 to the SELECTED_THREAD thread.
946 (top level): Test handling the exec event with either the main
947 thread or the second thread selected.
949 2017-10-09 Pedro Alves <palves@redhat.com>
951 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
952 logic. Move STOP marker after the value checks.
953 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
956 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
958 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
960 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
962 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
963 integer-to-dfp conversion.
964 * gdb.base/dfp-test.exp: Likewise.
966 2017-10-04 Pedro Alves <palves@redhat.com>
968 * gdb.multi/hangout.c: Include <unistd.h>.
969 (hangout_loop): New function.
970 (main): Call alarm. Call hangout_loop in a loop.
971 * gdb.multi/hello.c: Include <unistd.h>.
972 (hello_loop): New function.
973 (main): Call alarm. Call hangout_loop in a loop.
974 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
975 inferior with the other selected.
977 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
979 * gdb.mi/list-thread-groups-available.exp: New file.
980 * gdb.mi/list-thread-groups-available.c: New file.
982 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
984 * gdb.base/set-cwd.exp: Make it available on
985 native-extended-gdbserver.
987 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
989 * gdb.base/set-cwd.c: New file.
990 * gdb.base/set-cwd.exp: Likewise.
992 2017-10-02 Tom Tromey <tom@tromey.com>
995 * gdb.rust/simple.rs (main): New variable "fslice".
996 * gdb.rust/simple.exp: Add slice tests. Update string tests.
998 2017-10-02 Tom Tromey <tom@tromey.com>
1000 * gdb.rust/simple.exp: Test ptype of a slice.
1002 2017-10-02 Tom Tromey <tom@tromey.com>
1004 * gdb.rust/simple.exp: Test index of slice.
1006 2017-09-27 Tom Tromey <tom@tromey.com>
1008 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1010 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1011 Pedro Alves <palves@redhat.com>
1013 * gdb.base/compare-sections.exp (get value of read-only section): Read
1015 (corrupt read-only section): Likewise and don't set written if patching
1018 2017-09-21 Kevin Buettner <kevinb@redhat.com>
1020 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1023 2017-09-20 Pedro Alves <palves@redhat.com>
1025 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1026 symbol names in gdb's output.
1027 * gdb.cp/overload.exp ("list all overloads"): Likewise.
1029 2017-09-20 Pedro Alves <palves@redhat.com>
1031 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
1033 (test_list_ambiguous_symbol): ... this and add a symbol name
1035 (test_list_ambiguous_function): Reimplement on top of
1036 test_list_ambiguous_symbol and also test listing ambiguous
1038 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
1039 (ambiguous_fun): ... this.
1040 (ambiguous_var): New.
1041 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
1042 (ambiguous_fun): ... this.
1043 (ambiguous_var): New.
1045 2017-09-19 John Baldwin <jhb@FreeBSD.org>
1047 * gdb.base/starti.c: New file.
1048 * gdb.base/starti.exp: New file.
1049 * lib/gdb.exp (gdb_starti_cmd): New procedure.
1051 2017-09-14 Pedro Alves <palves@redhat.com>
1053 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1054 (top level): Use it instead of runto.
1056 2017-09-11 Tom Tromey <tom@tromey.com>
1058 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1060 2017-09-11 Tom Tromey <tom@tromey.com>
1062 * gdb.python/py-infthread.exp: Add tests for new_thread event.
1063 * gdb.python/py-inferior.exp: Add tests for new inferior events.
1065 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
1067 * gdb.fortran/printing-types.exp: New file.
1068 * gdb.fortran/printing-types.exp: New file.
1070 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1072 * gdb.fortran/vla-ptype.exp: Fix typos.
1073 * gdb.fortran/vla-value.exp: Same.
1075 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1077 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1078 * gdb.mi/mi-var-child-f.exp: Likewise.
1079 * gdb.mi/mi-vla-fortran.exp: Likewise.
1081 2017-09-08 Frank Penczek <frank.penczek@intel.com>
1082 Christoph Weinmann <christoph.t.weinmann@intel.com>
1083 Bernhard Heckel <bernhard.heckel@intel.com>
1085 * gdb.fortran/ptr-indentation.f90: New file.
1086 * gdb.fortran/ptr-indentation.exp: New file.
1088 2017-09-05 Tom Tromey <tom@tromey.com>
1091 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1093 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1095 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1097 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1099 * gdb.threads/tls-nodebug-pie.c: New file.
1100 * gdb.threads/tls-nodebug-pie.exp: New file.
1102 2017-09-05 Tom Tromey <tom@tromey.com>
1104 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1107 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
1109 * gdb.multi/multi-arch-exec.exp: Test with different
1110 "follow-exec-mode" settings.
1111 (do_test): New procedure.
1113 2017-09-04 Pedro Alves <palves@redhat.com>
1115 * gdb.base/func-static.c (S::method const, S::method volatile)
1116 (S::method volatile const): New methods.
1117 (c_s, v_s, cv_s): New instances.
1118 (main): Call method() on them.
1119 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1120 (cannot_resolve): New procedure.
1121 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
1122 print-quote-unquoted columns.
1123 (do_test): Test printing each scope too.
1125 2017-09-04 Pedro Alves <palves@redhat.com>
1127 * gdb.base/local-static.exp: Also test with
1128 class::method::variable wholly quoted.
1129 * gdb.cp/m-static.exp (class::method::variable): Remove test.
1131 2017-09-04 Pedro Alves <palves@redhat.com>
1133 * gdb.base/local-static.c: New.
1134 * gdb.base/local-static.cc: New.
1135 * gdb.base/local-static.exp: New.
1137 2017-09-04 Pedro Alves <palves@redhat.com>
1139 * gdb.asm/asm-source.exp: Add casts to int.
1140 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1141 (dataglobal64_1, dataglobal64_2): New globals.
1142 * gdb.base/nodebug.exp: Test different expressions involving the
1143 new globals, with print, whatis and ptype. Add casts to int.
1144 * gdb.base/solib-display.exp: Add casts to int.
1145 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
1146 * gdb.cp/m-static.exp: Add cast to int.
1147 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1148 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1149 tls variable with no debug info without a cast. Test with a cast
1151 * gdb.trace/entry-values.exp: Add casts.
1153 2017-09-04 Pedro Alves <palves@redhat.com>
1155 * gdb.base/nodebug.exp: Test that ptype's error about functions
1156 with unknown return type includes the function name too.
1158 2017-09-04 Pedro Alves <palves@redhat.com>
1160 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
1161 return type of munmap in infcall.
1162 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
1163 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
1164 type of ftell in infcall.
1165 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
1166 type of getpid in infcall.
1167 * gdb.base/infcall-exec.exp: Cast return type of execlp in
1169 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
1170 Bail on failure to extract the pid.
1171 * gdb.base/nodebug.c: #include <stdint.h>.
1172 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
1174 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
1175 Change expected output of print/whatis/ptype with functions with
1176 no debug info. Test all supported languages. Call
1177 test_call_promotion.
1178 * gdb.compile/compile.exp: Adjust expected output to expect
1180 * gdb.threads/siginfo-threads.exp: Likewise.
1182 2017-09-04 Pedro Alves <palves@redhat.com>
1184 * gdb.base/callfuncs.exp (do_function_calls): New parameter
1185 "prototypes". Test calling float functions via prototyped and
1186 unprototyped function pointers.
1187 (perform_all_tests): New parameter "prototypes". Pass it down.
1188 (top level): Pass down "prototypes" parameter to
1191 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1193 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
1194 Test with nested loops.
1196 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1198 * gdb.base/commands.exp: Call the new procedures.
1199 (loop_break_test, loop_continue_test): New procedures.
1201 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1203 * gdb.base/commands.exp: Call new procedure.
1204 (define_if_without_arg_test): New procedure.
1206 2017-09-04 Pedro Alves <palves@redhat.com>
1208 * gdb.base/list-ambiguous.exp: New file.
1209 * gdb.base/list-ambiguous0.c: New file.
1210 * gdb.base/list-ambiguous1.c: New file.
1211 * gdb.base/list.exp (test_list_range): Adjust expected output.
1213 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
1215 * gdb.base/share-env-with-gdbserver.c: New file.
1216 * gdb.base/share-env-with-gdbserver.exp: Likewise.
1218 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1220 * gdb.base/commands.exp (gdbvar_simple_if_test,
1221 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
1222 progvar_simple_if_test, progvar_simple_while_test,
1223 progvar_complex_if_while_test, user_defined_command_test,
1224 user_defined_command_args_eval,
1225 user_defined_command_args_stack_test,
1226 user_defined_command_manyargs_test, bp_deleted_in_command_test,
1227 temporary_breakpoint_commands,
1228 gdb_test_no_prompt, redefine_hook_test,
1229 redefine_backtrace_test): Remove "global gdb_prompt".
1231 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1233 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
1234 New proc, call it from toplevel.
1236 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
1239 * gdb.server/normal.c: New file, copied from gdb.base.
1240 * gdb.server/run-without-local-binary.exp: New file.
1242 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
1244 * gdb.arch/sparc64-adi.exp: New file.
1245 * gdb.arch/sparc64-adi.c: New file.
1247 2017-08-22 Pedro Alves <palves@redhat.com>
1249 * gdb.cp/overload.exp (line_range_pattern): New procedure.
1250 (top level): Add "list all overloads" tests.
1252 2017-08-22 Tom Tromey <tom@tromey.com>
1254 * gdb.gdb/xfullpath.exp: Remove.
1256 2017-08-21 Pedro Alves <palves@redhat.com>
1259 * gdb.base/symbol-alias.c: New.
1260 * gdb.base/symbol-alias2.c: New.
1261 * gdb.base/symbol-alias.exp: New.
1263 2017-08-21 Pedro Alves <palves@redhat.com>
1265 * gdb.base/dfp-test.c
1266 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
1267 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
1268 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
1269 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
1270 * gdb.base/whatis-ptype-typedefs.c: New.
1271 * gdb.base/whatis-ptype-typedefs.exp: New.
1272 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
1273 (an_int, an_int_type, an_int_type2): New globals.
1274 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
1275 involving typedefs and cast expressions.
1276 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
1277 (lookup_typedefs_function): New.
1278 (typedefs_pretty_printers_dict): New.
1279 (top level): Register lookup_typedefs_function in
1280 gdb.pretty_printers.
1282 2017-08-18 Yao Qi <yao.qi@linaro.org>
1284 * gdb.server/unittest.exp: New.
1286 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
1289 * gdb.base/environ.exp: Add test to check if 'unset environment'
1292 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1294 * lib/gdb.exp (universal_compile_options): New caching proc.
1295 (gdb_compile): Suppress GCC's coloring of messages.
1297 2017-08-14 Tom Tromey <tom@tromey.com>
1300 * gdb.base/printcmds.exp (test_radices): New function.
1301 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
1302 * gdb.base/sizeof.exp (check_valueof): Use p/d.
1303 * lib/gdb.exp (get_integer_valueof): Use p/d.
1305 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
1307 * lib/gdb.exp (get_valueof): Don't capture end-of-line
1310 2017-08-05 Tom Tromey <tom@tromey.com>
1312 * gdb.rust/simple.exp: Allow String to appear in a different
1315 2017-07-26 Yao Qi <yao.qi@linaro.org>
1317 * gdb.gdb/unittest.exp: Invoke command
1318 "maintenance check xml-descriptions".
1320 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1322 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
1324 (hex128): Drop erroneous calculation of parameters.
1326 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
1328 * gdb.python/py-unwind.exp: Disable stack protection when
1331 2017-07-20 Pedro Alves <palves@redhat.com>
1333 * gdb.base/default.exp (set language): Adjust expected output.
1335 2017-07-20 Pedro Alves <palves@redhat.com>
1337 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
1338 (test_minsym): ... this, and make static.
1339 (get_pck__foo__bar__minsym): Rename to ...
1340 (get_test_minsym): ... this.
1341 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
1342 symbol names and comments.
1343 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
1344 (get_test_minsym): ... this.
1345 (pck__foo__bar__minsym__2): Rename to ...
1346 (test_minsym): ... this.
1349 2017-07-17 Pedro Alves <palves@redhat.com>
1351 * gdb.base/completion.exp: Adjust expected output.
1352 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
1353 the completer works.
1355 2017-07-17 Pedro Alves <palves@redhat.com>
1357 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
1359 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1361 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
1363 2017-07-14 Tom Tromey <tom@tromey.com>
1366 * gdb.rust/simple.exp: Add tests.
1368 2017-07-14 Tom Tromey <tom@tromey.com>
1370 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
1372 2017-07-14 Pedro Alves <palves@redhat.com>
1374 * gdb.linespec/base/one/thefile.cc (z1): New function.
1375 * gdb.linespec/base/two/thefile.cc (z2): New function.
1376 * gdb.linespec/linespec.exp: Add tests.
1378 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1380 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
1381 to mi_create_breakpoint.
1383 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1385 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
1386 mi_create_breakpoint.
1388 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
1390 * gdb.dlang/demangle.exp: Update for demangling changes.
1392 2017-07-09 Tom Tromey <tom@tromey.com>
1394 * gdb.dwarf2/shortpiece.exp: New file.
1396 2017-07-06 David Blaikie <dblaikie@gmail.com>
1398 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
1399 built from fissiont-multi-cu{1,2}.c.
1400 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
1401 except putting 'main' and 'func' in separate CUs in the same DWO file.
1402 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
1404 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
1407 2017-07-06 Pedro Alves <palves@redhat.com>
1409 * gdb.python/py-unwind.exp: Test flushregs.
1411 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1414 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
1415 tests for alias commands and trailing whitespace.
1417 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1420 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
1423 2017-06-29 Pedro Alves <palves@redhat.com>
1425 * gdb.base/printcmds.exp: Add tests.
1427 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
1430 * gdb.base/reread-readsym.exp: New file.
1431 * gdb.base/reread-readsym.c: New file.
1433 2017-06-21 Kevin Buettner <kevinb@redhat.com>
1435 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
1438 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
1440 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
1442 * gdb.arch/powerpc-power9.s: Likewise.
1444 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1446 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
1447 on 32-bit x86 targets. Exploit is_*_target macros where
1450 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1452 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
1455 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1457 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
1458 located in one or more DWARF pieces.
1460 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1462 * lib/gdb.exp (get_endianness): New proc.
1463 * gdb.arch/aarch64-fp.exp: Use it.
1464 * gdb.arch/altivec-regs.exp: Likewise.
1465 * gdb.arch/e500-regs.exp: Likewise.
1466 * gdb.arch/vsx-regs.exp: Likewise.
1467 * gdb.base/dump.exp: Likewise.
1468 * gdb.base/funcargs.exp: Likewise.
1469 * gdb.base/gnu_vector.exp: Likewise.
1470 * gdb.dwarf2/formdata16.exp: Likewise.
1471 * gdb.dwarf2/implptrpiece.exp: Likewise.
1472 * gdb.dwarf2/nonvar-access.exp: Likewise.
1473 * gdb.python/py-inferior.exp: Likewise.
1474 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1476 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1479 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
1480 stack value pieces are taken from the LSB end.
1482 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1484 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
1485 variable at nonzero offset.
1487 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1489 * gdb.dwarf2/var-access.c: New file.
1490 * gdb.dwarf2/var-access.exp: New test.
1491 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
1493 2017-06-12 Tom Tromey <tom@tromey.com>
1495 * gdb.dwarf2/formdata16.exp: Add tests.
1497 2017-06-12 Tom Tromey <tom@tromey.com>
1499 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
1501 2017-06-12 Tom Tromey <tom@tromey.com>
1504 * gdb.reverse/i386-sse-reverse.exp: Update tests.
1505 * gdb.arch/vsx-regs.exp: Update tests.
1506 * gdb.arch/s390-vregs.exp (hex128): New proc.
1508 * gdb.arch/altivec-regs.exp: Update tests.
1510 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1512 * gdb.base/startup-with-shell.c: New file.
1513 * gdb.base/startup-with-shell.exp: Likewise.
1515 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1517 * gdb.server/non-existing-program.exp: Update regex in order to
1518 reflect the fact that gdbserver is now using fork_inferior (with a
1519 shell) to startup the inferior.
1521 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
1523 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
1524 support function calls from GDB.
1526 2017-05-21 Tom Tromey <tom@tromey.com>
1529 * gdb.rust/unsized.exp: New file.
1530 * gdb.rust/unsized.rs: New file.
1532 2017-05-19 Tom Tromey <tom@tromey.com>
1535 * gdb.rust/watch.exp: New file.
1536 * gdb.rust/watch.rs: New file.
1538 2017-05-18 Tom Tromey <tom@tromey.com>
1540 * gdb.rust/simple.exp: Allow Box to be qualified.
1542 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
1544 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
1546 2017-05-18 Pedro Alves <palves@redhat.com>
1548 * gdb.base/fileio.c (test_write, test_read, test_close)
1549 (test_fstat): Don't print 'ret' in the fail path.
1551 2017-05-18 Pedro Alves <palves@redhat.com>
1553 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
1554 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
1555 (test_system, test_rename, test_unlink, test_time): Change
1557 * gdb.base/fileio.exp (stop_msg): Adjust.
1559 2017-05-18 Pedro Alves <palves@redhat.com>
1561 * gdb.base/fileio.c (null_str): New global.
1562 (test_stat): Use it.
1563 * gdb.base/fileio.exp: Remove nowarnings.
1565 2017-05-17 Yao Qi <yao.qi@linaro.org>
1567 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
1569 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
1571 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
1573 (top-level): Invoke test_set_inferior_tty.
1575 2017-05-04 Pedro Alves <palves@redhat.com>
1577 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
1578 Add parens to print call for Python 3.
1580 2017-05-03 Keith Seitz <keiths@redhat.com>
1582 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
1585 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1587 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
1590 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1592 * gdb.python/py-record-btrace.exp: Remove test for
1593 gdb.BtraceInstruction.error.
1595 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1597 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
1599 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1601 * gdb.python/py-record-btrace-threads.c: New file.
1602 * gdb.python/py-record-btrace-threads.exp: New file.
1604 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
1607 * gdb.base/environ.exp: Make test available in all architectures.
1608 Move bits related to "info program" testing to
1609 gdb.base/info-program.exp. Rewrite tests to use the two new
1610 procedures mentione below.
1611 (test_set_show_env_var) New procedure.
1612 (test_set_show_env_var_equal): Likewise.
1613 * gdb.base/info-program.exp: New file.
1615 2017-04-27 Keith Seitz <keiths@redhat.com>
1617 * gdb.cp/oranking.cc (test15): New function.
1618 (main): Call test15 and declare additional variables for testing.
1619 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
1620 "p foo101('abc')" tests.
1621 Add tests for cv qualifier overloads.
1622 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
1623 "lvalue reference overload" test.
1624 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
1625 "print value of f1 on Child&& in f2" test.
1627 2017-04-19 Pedro Alves <palves@redhat.com>
1629 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
1631 (top level): Call it.
1632 * lib/gdb.exp (gdb_define_cmd): New procedure.
1634 2017-04-12 Pedro Alves <palves@redhat.com>
1637 * gdb.cp/wide_char_types.c: Include <wchar.h>.
1638 (wchar): New global.
1639 * gdb.cp/wide_char_types.exp (wide_char_types_program)
1640 (do_test_wide_char, wide_char_types_no_program, top level): Add
1643 2017-04-12 Pedro Alves <palves@redhat.com>
1646 * gdb.cp/wide_char_types.c: New file.
1647 * gdb.cp/wide_char_types.exp: New file.
1649 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
1652 * gdb.trace/tsv.exp: Add test for "tsave -r".
1654 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
1656 * gdb.dlang/watch-loc.c: New file.
1657 * gdb.dlang/watch-loc.exp: New file.
1659 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1661 * gdb.python/py-section-script.exp (sepdebug): New testcases.
1663 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
1665 * gdb.arch/arc-analyze-prologue.S: New file.
1666 * gdb.arch/arc-analyze-prologue.exp: Likewise.
1668 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
1670 * gdb.arch/arc-decode-insn.S: New file.
1671 * gdb.arch/arc-decode-insn.exp: Likewise.
1673 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
1676 * gdb.arch/sparc64-regs.exp: New file.
1677 * gdb.arch/sparc64-regs.S: Likewise.
1679 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
1681 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
1682 and memory view on Python 3.
1684 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
1685 Keith Seitz <keiths@redhat.com>
1688 * gdb.cp/demangle.exp: Add rvalue reference tests.
1689 * gdb.cp/rvalue-ref-casts.cc: New file.
1690 * gdb.cp/rvalue-ref-casts.exp: New file.
1691 * gdb.cp/rvalue-ref-overload.cc: New file.
1692 * gdb.cp/rvalue-ref-overload.exp: New file.
1693 * gdb.cp/rvalue-ref-params.cc: New file.
1694 * gdb.cp/rvalue-ref-params.exp: New file.
1695 * gdb.cp/rvalue-ref-sizeof.cc: New file.
1696 * gdb.cp/rvalue-ref-sizeof.exp: New file.
1697 * gdb.cp/rvalue-ref-types.cc: New file.
1698 * gdb.cp/rvalue-ref-types.exp: New file.
1699 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
1700 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
1702 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
1704 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
1707 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
1709 * lib/mi-support.exp (mi_gdb_test): Add additional message
1710 for unexpected output.
1712 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1714 * gdb.base/examine-backward.c (Barrier): New character array
1715 constant, to ensure that TestStrings is preceded by a string
1718 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1720 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
1721 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
1722 and implicit pointer into such a location.
1724 2017-03-16 Doug Evans <dje@google.com>
1726 * gdb.python/py-lazy-string (pointer): Really add new typedef.
1728 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
1730 * gdb.cp/m-static.exp: Fix expectation for prototype of
1731 test5.single_constructor and single_constructor::single_constructor.
1733 2017-03-16 Doug Evans <dje@google.com>
1735 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
1736 * gdb.guile/scm-lazy-string.c: New file.
1737 * gdb.guile/scm-value.exp: Move lazy string tests to ...
1738 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
1739 for pointer, array, typedef lazy strings.
1741 2017-03-16 Doug Evans <dje@google.com>
1743 PR python/17728, python/18439, python/18779
1744 * gdb.python/py-value.c (main) Delete locals sptr, sn.
1745 * gdb.python/py-lazy-string.c (pointer): New typedef.
1746 (main): New locals ptr, array, typedef_ptr.
1747 * gdb.python/py-value.exp: Move lazy string tests to ...
1748 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
1749 array, typedef lazy strings.
1751 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
1753 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
1754 Add optional 'test' parameter.
1756 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
1758 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1759 Skip for versions of DejaGnu < 1.5.
1761 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
1763 * lib/gdb.exp (dejagnu_version): New proc.
1764 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1765 Use dejagnu_version.
1767 2017-03-10 Keith Seitz <keiths@redhat.com>
1770 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
1771 type from destructor regexps.
1772 Add a branch which actually passes the test.
1773 Adjust "ptype t5i" test names.
1775 2017-03-08 Pedro Alves <palves@redhat.com>
1777 * gdb.base/step-over-exit.exp: Add explicit test message.
1779 2017-03-08 Pedro Alves <palves@redhat.com>
1782 * gdb.threads/interrupt-while-step-over.c: New file.
1783 * gdb.threads/interrupt-while-step-over.exp: New file.
1785 2017-03-08 Pedro Alves <palves@redhat.com>
1787 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
1788 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
1790 2017-03-08 Pedro Alves <palves@redhat.com>
1792 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
1793 PKRU as not supported as a PASS.
1795 2017-03-08 Pedro Alves <palves@redhat.com>
1797 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
1798 prefix instead of $binfile1/$binfile2.
1799 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
1801 * gdb.python/py-completion.exp: Use "load python file" as test
1802 messages instead of unstable path names.
1804 2017-03-08 Pedro Alves <palves@redhat.com>
1805 Jan Kratochvil <jan.kratochvil@redhat.com>
1808 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1810 (top level): Call it.
1812 2017-03-08 Pedro Alves <palves@redhat.com>
1815 * gdb.tui/tui-nl-filtered-output.exp: New file.
1817 2017-03-08 Pedro Alves <palves@redhat.com>
1819 * gdb.base/completion.exp: Move TUI completion tests to ...
1820 * gdb.tui/completion.exp: ... this new file.
1822 2017-03-08 Pedro Alves <palves@redhat.com>
1824 * gdb.base/tui-disasm-long-lines.c,
1825 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
1826 gdb.base/tui-layout.exp: Move to ...
1827 * gdb.tui/: ... this new directory.
1829 2017-03-07 Pedro Alves <palves@redhat.com>
1831 * gdb.base/tui-layout.c: New file.
1832 * gdb.base/tui-layout.exp: New file.
1834 2017-03-07 Pedro Alves <palves@redhat.com>
1836 * gdb.base/tui-layout.c: Rename to ...
1837 * gdb.base/tui-disasm-long-lines.c: ... this.
1838 * gdb.base/tui-layout.exp: Rename to ...
1839 * gdb.base/tui-disasm-long-lines.exp: ... this.
1841 2017-03-07 Pedro Alves <palves@redhat.com>
1843 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
1845 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
1847 * i386-mpx-call.c: New file.
1848 * i386-mpx-call.exp: New file.
1850 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
1852 * gdb.arch/powerpc-power.exp: Delete test.
1853 * gdb.arch/powerpc-power.s: Likewise.
1854 * gdb.disasm/disassembler-options.exp: New test.
1855 * gdb.arch/powerpc-altivec.exp: Likewise.
1856 * gdb.arch/powerpc-altivec.s: Likewise.
1857 * gdb.arch/powerpc-altivec2.exp: Likewise.
1858 * gdb.arch/powerpc-altivec2.s: Likewise.
1859 * gdb.arch/powerpc-altivec3.exp: Likewise.
1860 * gdb.arch/powerpc-altivec3.s: Likewise.
1861 * gdb.arch/powerpc-power7.exp: Likewise.
1862 * gdb.arch/powerpc-power7.s: Likewise.
1863 * gdb.arch/powerpc-power8.exp: Likewise.
1864 * gdb.arch/powerpc-power8.s: Likewise.
1865 * gdb.arch/powerpc-power9.exp: Likewise.
1866 * gdb.arch/powerpc-power9.s: Likewise.
1867 * gdb.arch/powerpc-vsx.exp: Likewise.
1868 * gdb.arch/powerpc-vsx.s: Likewise.
1869 * gdb.arch/powerpc-vsx2.exp: Likewise.
1870 * gdb.arch/powerpc-vsx2.s: Likewise.
1871 * gdb.arch/powerpc-vsx3.exp: Likewise.
1872 * gdb.arch/powerpc-vsx3.s: Likewise.
1873 * gdb.arch/arm-disassembler-options.exp: Likewise.
1874 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1875 * gdb.arch/s390-disassembler-options.exp: Likewise.
1877 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
1879 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
1880 (check_supported_features): ... this. Changed return type to void.
1881 (supports_rdseed): New static global.
1882 (rdseed): Check supports_rdseed.
1883 (initialize): Call check_supported_features.
1885 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1887 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
1888 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
1890 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
1891 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
1893 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1895 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
1898 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1900 * gdb.dwarf2/formdata16.c: New file.
1901 * gdb.dwarf2/formdata16.exp: New file.
1902 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
1904 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1906 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
1907 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
1908 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
1909 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
1912 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1914 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
1916 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
1919 * gdb.base/maint.exp: Add testcases for when the commands do
1922 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1924 * gdb.cp/chained-calls.exp: Use p instead of P.
1926 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
1928 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
1929 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
1931 2017-02-14 Tom Tromey <tom@tromey.com>
1934 * gdb.python/py-events.exp: Add before_prompt event tests.
1936 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1938 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
1940 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
1942 * gdb.linespec/explicit.c (my_unique_function_name): New function.
1943 (main): Call my_unique_function_name.
1944 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
1945 completion of patterns with a single match.
1946 Add missing -re switches to gdb_test_multiple calls.
1948 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
1950 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
1951 return if core file is not recognized.
1953 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
1955 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
1958 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
1960 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
1963 2017-02-10 Tom Tromey <tom@tromey.com>
1965 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
1967 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
1970 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
1972 2017-02-08 Jerome Guitton <guitton@adacore.com>
1974 * gdb.base/define.exp: Add test for command abbreviations
1977 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
1979 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
1980 * gdb.reverse/insn-reverse-x86.c: New file.
1982 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
1985 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
1987 2017-02-03 Tom Tromey <tom@tromey.com>
1990 * gdb.rust/simple.exp: Add new tests.
1992 2017-02-02 Pedro Alves <palves@redhat.com>
1994 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
1997 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1999 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2000 taking a 2-byte value out of a 4-byte DWARF implicit value on
2002 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2003 logic. Add test cases for DW_OP_implicit.
2005 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2007 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2009 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2011 * gdb.btrace/enable.exp: Call gdb_exit before
2012 skip_gdbserver_tests.
2014 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2016 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2019 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2021 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2022 the test is skipped.
2023 * gdb.btrace/data.exp: Likewise.
2024 * gdb.btrace/delta.exp: Likewise.
2025 * gdb.btrace/dlopen.exp: Likewise.
2026 * gdb.btrace/enable-running.exp: Likewise.
2027 * gdb.btrace/enable.exp: Likewise.
2028 * gdb.btrace/exception.exp: Likewise.
2029 * gdb.btrace/function_call_history.exp: Likewise.
2030 * gdb.btrace/gcore.exp: Likewise.
2031 * gdb.btrace/instruction_history.exp: Likewise.
2032 * gdb.btrace/multi-thread-step.exp: Likewise.
2033 * gdb.btrace/nohist.exp: Likewise.
2034 * gdb.btrace/non-stop.exp: Likewise.
2035 * gdb.btrace/reconnect.exp: Likewise.
2036 * gdb.btrace/record_goto-step.exp: Likewise.
2037 * gdb.btrace/record_goto.exp: Likewise.
2038 * gdb.btrace/rn-dl-bind.exp: Likewise.
2039 * gdb.btrace/segv.exp: Likewise.
2040 * gdb.btrace/step.exp: Likewise.
2041 * gdb.btrace/stepi.exp: Likewise.
2042 * gdb.btrace/tailcall-only.exp: Likewise.
2043 * gdb.btrace/tailcall.exp: Likewise.
2044 * gdb.btrace/tsx.exp: Likewise.
2045 * gdb.btrace/unknown_functions.exp: Likewise.
2046 * gdb.btrace/vdso.exp: Likewise.
2048 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2050 * gdb.btrace/enable-running.c: New.
2051 * gdb.btrace/enable-running.exp: New.
2053 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2055 * gdb.arch/amd64-gs_base.c: New file.
2056 * gdb.arch/amd64-gs_base.exp: New file.
2058 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2060 * lib/memory.exp: Remove spurious empty newlines.
2062 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
2064 * gdb.python/py-bad-printers.exp: Load python file using "source".
2065 * gdb.python/py-events.exp: Likewise.
2066 * gdb.python/py-evsignal.exp: Likewise.
2067 * gdb.python/py-evthreads.exp: Likewise.
2068 * gdb.python/py-frame-args.exp: Likewise.
2069 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2070 * gdb.python/py-framefilter-mi.exp: Likewise.
2071 * gdb.python/py-framefilter.exp: Likewise.
2072 * gdb.python/py-mi.exp: Likewise.
2073 * gdb.python/py-pp-maint.exp: Likewise.
2074 * gdb.python/py-pp-registration.exp: Likewise.
2075 * gdb.python/py-prettyprint.exp: Likewise.
2076 (run_lang_tests): Likewise.
2077 * gdb.python/py-typeprint.exp: Likewise.
2079 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2081 * lib/memory.exp: New file.
2082 * lib/gdb.exp: Load memory.exp.
2083 * gdb.base/memattr.exp (delete_memory): Move proc to
2084 lib/memory.exp and rename to delete_memory_regions.
2085 Replace delete_memory with delete_memory_regions.
2086 Cleanup memory regions before tests.
2087 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2090 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2092 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2094 (initialize): New function conditionally defined.
2095 (testcases): Move within conditional block.
2096 (main): Call initialize.
2097 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2098 of gdb.reverse/insn-reverse.c.
2099 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2100 gdb.reverse/insn-reverse.c.
2102 2017-01-26 Yao Qi <yao.qi@linaro.org>
2104 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2105 disassemble on address 0.
2107 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
2108 Yao Qi <yao.qi@linaro.org>
2110 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2111 * gdb.dwarf2/implptr-64bit.S: Remove.
2112 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
2113 variables in caller's context. Add DW_OP_implicit_value.
2115 2017-01-25 Yao Qi <yao.qi@linaro.org>
2117 * lib/dwarf.exp (Dwarf::_location): Handle
2118 DW_OP_GNU_implicit_pointer with proper size.
2120 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2122 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2123 and add untested calls.
2125 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2127 * gdb.python/python.exp: Check line number against what GDB thinks
2128 the line number is for func1.
2130 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2132 * gdb.dlang/debug-expr.exp: New file.
2134 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
2136 Fix test names for the following files:
2138 * gdb.ada/exec_changed.exp
2139 * gdb.ada/info_types.exp
2140 * gdb.arch/aarch64-atomic-inst.exp
2141 * gdb.arch/aarch64-fp.exp
2142 * gdb.arch/altivec-abi.exp
2143 * gdb.arch/altivec-regs.exp
2144 * gdb.arch/amd64-byte.exp
2145 * gdb.arch/amd64-disp-step.exp
2146 * gdb.arch/amd64-dword.exp
2147 * gdb.arch/amd64-entry-value-inline.exp
2148 * gdb.arch/amd64-entry-value-param.exp
2149 * gdb.arch/amd64-entry-value-paramref.exp
2150 * gdb.arch/amd64-entry-value.exp
2151 * gdb.arch/amd64-i386-address.exp
2152 * gdb.arch/amd64-invalid-stack-middle.exp
2153 * gdb.arch/amd64-invalid-stack-top.exp
2154 * gdb.arch/amd64-optimout-repeat.exp
2155 * gdb.arch/amd64-prologue-skip.exp
2156 * gdb.arch/amd64-prologue-xmm.exp
2157 * gdb.arch/amd64-stap-special-operands.exp
2158 * gdb.arch/amd64-stap-wrong-subexp.exp
2159 * gdb.arch/amd64-tailcall-cxx.exp
2160 * gdb.arch/amd64-tailcall-noret.exp
2161 * gdb.arch/amd64-tailcall-ret.exp
2162 * gdb.arch/amd64-tailcall-self.exp
2163 * gdb.arch/amd64-word.exp
2164 * gdb.arch/arm-bl-branch-dest.exp
2165 * gdb.arch/arm-disp-step.exp
2166 * gdb.arch/arm-neon.exp
2167 * gdb.arch/arm-single-step-kernel-helper.exp
2168 * gdb.arch/avr-flash-qualifier.exp
2169 * gdb.arch/disp-step-insn-reloc.exp
2170 * gdb.arch/e500-abi.exp
2171 * gdb.arch/e500-regs.exp
2172 * gdb.arch/ftrace-insn-reloc.exp
2173 * gdb.arch/i386-avx512.exp
2174 * gdb.arch/i386-bp_permanent.exp
2175 * gdb.arch/i386-byte.exp
2176 * gdb.arch/i386-cfi-notcurrent.exp
2177 * gdb.arch/i386-disp-step.exp
2178 * gdb.arch/i386-dr3-watch.exp
2179 * gdb.arch/i386-float.exp
2180 * gdb.arch/i386-gnu-cfi.exp
2181 * gdb.arch/i386-mpx-map.exp
2182 * gdb.arch/i386-mpx-sigsegv.exp
2183 * gdb.arch/i386-mpx-simple_segv.exp
2184 * gdb.arch/i386-mpx.exp
2185 * gdb.arch/i386-permbkpt.exp
2186 * gdb.arch/i386-prologue.exp
2187 * gdb.arch/i386-signal.exp
2188 * gdb.arch/i386-size-overlap.exp
2189 * gdb.arch/i386-unwind.exp
2190 * gdb.arch/i386-word.exp
2191 * gdb.arch/mips-fcr.exp
2192 * gdb.arch/powerpc-d128-regs.exp
2193 * gdb.arch/powerpc-stackless.exp
2194 * gdb.arch/ppc64-atomic-inst.exp
2195 * gdb.arch/s390-stackless.exp
2196 * gdb.arch/s390-tdbregs.exp
2197 * gdb.arch/s390-vregs.exp
2198 * gdb.arch/sparc-sysstep.exp
2199 * gdb.arch/thumb-bx-pc.exp
2200 * gdb.arch/thumb-singlestep.exp
2201 * gdb.arch/thumb2-it.exp
2202 * gdb.arch/vsx-regs.exp
2203 * gdb.asm/asm-source.exp
2204 * gdb.base/a2-run.exp
2205 * gdb.base/advance.exp
2206 * gdb.base/all-bin.exp
2209 * gdb.base/arithmet.exp
2210 * gdb.base/async-shell.exp
2211 * gdb.base/async.exp
2212 * gdb.base/attach-pie-noexec.exp
2213 * gdb.base/attach-twice.exp
2214 * gdb.base/auto-load.exp
2216 * gdb.base/bitfields.exp
2217 * gdb.base/break-always.exp
2218 * gdb.base/break-caller-line.exp
2219 * gdb.base/break-entry.exp
2220 * gdb.base/break-inline.exp
2221 * gdb.base/break-on-linker-gcd-function.exp
2222 * gdb.base/break-probes.exp
2223 * gdb.base/break.exp
2224 * gdb.base/breakpoint-shadow.exp
2225 * gdb.base/call-ar-st.exp
2226 * gdb.base/call-sc.exp
2227 * gdb.base/call-signal-resume.exp
2228 * gdb.base/call-strs.exp
2229 * gdb.base/callfuncs.exp
2230 * gdb.base/catch-fork-static.exp
2231 * gdb.base/catch-gdb-caused-signals.exp
2232 * gdb.base/catch-load.exp
2233 * gdb.base/catch-signal-fork.exp
2234 * gdb.base/catch-signal.exp
2235 * gdb.base/catch-syscall.exp
2236 * gdb.base/charset.exp
2237 * gdb.base/checkpoint.exp
2238 * gdb.base/chng-syms.exp
2239 * gdb.base/code-expr.exp
2240 * gdb.base/code_elim.exp
2241 * gdb.base/commands.exp
2242 * gdb.base/completion.exp
2243 * gdb.base/complex.exp
2244 * gdb.base/cond-expr.exp
2245 * gdb.base/condbreak.exp
2246 * gdb.base/consecutive.exp
2247 * gdb.base/continue-all-already-running.exp
2248 * gdb.base/coredump-filter.exp
2249 * gdb.base/corefile.exp
2251 * gdb.base/debug-expr.exp
2252 * gdb.base/define.exp
2254 * gdb.base/disabled-location.exp
2255 * gdb.base/disasm-end-cu.exp
2256 * gdb.base/disasm-optim.exp
2257 * gdb.base/display.exp
2258 * gdb.base/duplicate-bp.exp
2259 * gdb.base/ena-dis-br.exp
2260 * gdb.base/ending-run.exp
2261 * gdb.base/enumval.exp
2262 * gdb.base/environ.exp
2263 * gdb.base/eu-strip-infcall.exp
2264 * gdb.base/eval-avoid-side-effects.exp
2265 * gdb.base/eval-skip.exp
2266 * gdb.base/exitsignal.exp
2267 * gdb.base/expand-psymtabs.exp
2268 * gdb.base/filesym.exp
2269 * gdb.base/find-unmapped.exp
2270 * gdb.base/finish.exp
2271 * gdb.base/float.exp
2272 * gdb.base/foll-exec-mode.exp
2273 * gdb.base/foll-exec.exp
2274 * gdb.base/foll-fork.exp
2275 * gdb.base/fortran-sym-case.exp
2276 * gdb.base/freebpcmd.exp
2277 * gdb.base/func-ptr.exp
2278 * gdb.base/func-ptrs.exp
2279 * gdb.base/funcargs.exp
2280 * gdb.base/gcore-buffer-overflow.exp
2281 * gdb.base/gcore-relro-pie.exp
2282 * gdb.base/gcore-relro.exp
2283 * gdb.base/gcore.exp
2284 * gdb.base/gdb1090.exp
2285 * gdb.base/gdb11530.exp
2286 * gdb.base/gdb11531.exp
2287 * gdb.base/gdb1821.exp
2288 * gdb.base/gdbindex-stabs.exp
2289 * gdb.base/gdbvars.exp
2290 * gdb.base/hbreak.exp
2291 * gdb.base/hbreak2.exp
2292 * gdb.base/included.exp
2293 * gdb.base/infcall-input.exp
2294 * gdb.base/inferior-died.exp
2295 * gdb.base/infnan.exp
2296 * gdb.base/info-macros.exp
2297 * gdb.base/info-os.exp
2298 * gdb.base/info-proc.exp
2299 * gdb.base/info-shared.exp
2300 * gdb.base/info-target.exp
2301 * gdb.base/infoline.exp
2302 * gdb.base/interp.exp
2303 * gdb.base/interrupt.exp
2304 * gdb.base/jit-reader.exp
2305 * gdb.base/jit-simple.exp
2306 * gdb.base/kill-after-signal.exp
2307 * gdb.base/kill-detach-inferiors-cmd.exp
2308 * gdb.base/label.exp
2309 * gdb.base/langs.exp
2310 * gdb.base/ldbl_e308.exp
2311 * gdb.base/line-symtabs.exp
2312 * gdb.base/linespecs.exp
2314 * gdb.base/long_long.exp
2315 * gdb.base/longest-types.exp
2316 * gdb.base/maint.exp
2317 * gdb.base/max-value-size.exp
2318 * gdb.base/memattr.exp
2319 * gdb.base/mips_pro.exp
2320 * gdb.base/morestack.exp
2321 * gdb.base/moribund-step.exp
2322 * gdb.base/multi-forks.exp
2323 * gdb.base/nested-addr.exp
2324 * gdb.base/nextoverexit.exp
2325 * gdb.base/noreturn-finish.exp
2326 * gdb.base/noreturn-return.exp
2327 * gdb.base/nostdlib.exp
2328 * gdb.base/offsets.exp
2329 * gdb.base/opaque.exp
2330 * gdb.base/pc-fp.exp
2331 * gdb.base/permissions.exp
2332 * gdb.base/print-symbol-loading.exp
2333 * gdb.base/prologue-include.exp
2334 * gdb.base/psymtab.exp
2335 * gdb.base/ptype.exp
2336 * gdb.base/random-signal.exp
2337 * gdb.base/randomize.exp
2338 * gdb.base/range-stepping.exp
2339 * gdb.base/readline-ask.exp
2340 * gdb.base/recpar.exp
2341 * gdb.base/recurse.exp
2342 * gdb.base/relational.exp
2343 * gdb.base/restore.exp
2344 * gdb.base/return-nodebug.exp
2345 * gdb.base/return.exp
2346 * gdb.base/run-after-attach.exp
2347 * gdb.base/save-bp.exp
2348 * gdb.base/scope.exp
2349 * gdb.base/sect-cmd.exp
2350 * gdb.base/set-lang-auto.exp
2351 * gdb.base/set-noassign.exp
2352 * gdb.base/setvar.exp
2353 * gdb.base/sigall.exp
2354 * gdb.base/sigbpt.exp
2355 * gdb.base/siginfo-addr.exp
2356 * gdb.base/siginfo-infcall.exp
2357 * gdb.base/siginfo-obj.exp
2358 * gdb.base/siginfo.exp
2359 * gdb.base/signals-state-child.exp
2360 * gdb.base/signest.exp
2361 * gdb.base/sigstep.exp
2362 * gdb.base/sizeof.exp
2364 * gdb.base/solib-corrupted.exp
2365 * gdb.base/solib-nodir.exp
2366 * gdb.base/solib-search.exp
2367 * gdb.base/stack-checking.exp
2368 * gdb.base/stale-infcall.exp
2369 * gdb.base/stap-probe.exp
2370 * gdb.base/start.exp
2371 * gdb.base/step-break.exp
2372 * gdb.base/step-bt.exp
2373 * gdb.base/step-line.exp
2374 * gdb.base/step-over-exit.exp
2375 * gdb.base/step-over-syscall.exp
2376 * gdb.base/step-resume-infcall.exp
2377 * gdb.base/step-test.exp
2378 * gdb.base/store.exp
2379 * gdb.base/structs3.exp
2380 * gdb.base/sym-file.exp
2381 * gdb.base/symbol-without-target_section.exp
2383 * gdb.base/testenv.exp
2384 * gdb.base/ui-redirect.exp
2385 * gdb.base/until.exp
2386 * gdb.base/unwindonsignal.exp
2387 * gdb.base/value-double-free.exp
2388 * gdb.base/vla-datatypes.exp
2389 * gdb.base/vla-ptr.exp
2390 * gdb.base/vla-sideeffect.exp
2391 * gdb.base/volatile.exp
2392 * gdb.base/watch-cond-infcall.exp
2393 * gdb.base/watch-cond.exp
2394 * gdb.base/watch-non-mem.exp
2395 * gdb.base/watch-read.exp
2396 * gdb.base/watch-vfork.exp
2397 * gdb.base/watchpoint-cond-gone.exp
2398 * gdb.base/watchpoint-delete.exp
2399 * gdb.base/watchpoint-hw-hit-once.exp
2400 * gdb.base/watchpoint-hw.exp
2401 * gdb.base/watchpoint-stops-at-right-insn.exp
2402 * gdb.base/watchpoints.exp
2403 * gdb.base/wchar.exp
2404 * gdb.base/whatis-exp.exp
2405 * gdb.btrace/buffer-size.exp
2406 * gdb.btrace/data.exp
2407 * gdb.btrace/delta.exp
2408 * gdb.btrace/dlopen.exp
2409 * gdb.btrace/enable.exp
2410 * gdb.btrace/exception.exp
2411 * gdb.btrace/function_call_history.exp
2412 * gdb.btrace/gcore.exp
2413 * gdb.btrace/instruction_history.exp
2414 * gdb.btrace/nohist.exp
2415 * gdb.btrace/reconnect.exp
2416 * gdb.btrace/record_goto-step.exp
2417 * gdb.btrace/record_goto.exp
2418 * gdb.btrace/rn-dl-bind.exp
2419 * gdb.btrace/segv.exp
2420 * gdb.btrace/step.exp
2421 * gdb.btrace/stepi.exp
2422 * gdb.btrace/tailcall-only.exp
2423 * gdb.btrace/tailcall.exp
2424 * gdb.btrace/tsx.exp
2425 * gdb.btrace/unknown_functions.exp
2426 * gdb.btrace/vdso.exp
2427 * gdb.compile/compile-ifunc.exp
2428 * gdb.compile/compile-ops.exp
2429 * gdb.compile/compile-print.exp
2430 * gdb.compile/compile-setjmp.exp
2431 * gdb.cp/abstract-origin.exp
2432 * gdb.cp/ambiguous.exp
2433 * gdb.cp/annota2.exp
2434 * gdb.cp/annota3.exp
2435 * gdb.cp/anon-ns.exp
2436 * gdb.cp/anon-struct.exp
2437 * gdb.cp/anon-union.exp
2438 * gdb.cp/arg-reference.exp
2439 * gdb.cp/baseenum.exp
2441 * gdb.cp/breakpoint.exp
2442 * gdb.cp/bs15503.exp
2445 * gdb.cp/chained-calls.exp
2447 * gdb.cp/classes.exp
2448 * gdb.cp/cmpd-minsyms.exp
2449 * gdb.cp/converts.exp
2450 * gdb.cp/cp-relocate.exp
2451 * gdb.cp/cpcompletion.exp
2452 * gdb.cp/cpexprs.exp
2453 * gdb.cp/cplabel.exp
2454 * gdb.cp/cplusfuncs.exp
2455 * gdb.cp/cpsizeof.exp
2457 * gdb.cp/derivation.exp
2458 * gdb.cp/destrprint.exp
2459 * gdb.cp/dispcxx.exp
2460 * gdb.cp/enum-class.exp
2461 * gdb.cp/exception.exp
2462 * gdb.cp/exceptprint.exp
2463 * gdb.cp/expand-psymtabs-cxx.exp
2464 * gdb.cp/expand-sals.exp
2465 * gdb.cp/extern-c.exp
2466 * gdb.cp/filename.exp
2467 * gdb.cp/formatted-ref.exp
2468 * gdb.cp/fpointer.exp
2469 * gdb.cp/gdb1355.exp
2470 * gdb.cp/gdb2495.exp
2472 * gdb.cp/impl-this.exp
2473 * gdb.cp/infcall-dlopen.exp
2474 * gdb.cp/inherit.exp
2475 * gdb.cp/iostream.exp
2479 * gdb.cp/m-static.exp
2480 * gdb.cp/mb-ctor.exp
2481 * gdb.cp/mb-inline.exp
2482 * gdb.cp/mb-templates.exp
2483 * gdb.cp/member-name.exp
2484 * gdb.cp/member-ptr.exp
2485 * gdb.cp/meth-typedefs.exp
2487 * gdb.cp/method2.exp
2488 * gdb.cp/minsym-fallback.exp
2490 * gdb.cp/namelessclass.exp
2491 * gdb.cp/namespace-enum.exp
2492 * gdb.cp/namespace-nested-import.exp
2493 * gdb.cp/namespace.exp
2494 * gdb.cp/nextoverthrow.exp
2495 * gdb.cp/no-dmgl-verbose.exp
2496 * gdb.cp/non-trivial-retval.exp
2497 * gdb.cp/noparam.exp
2499 * gdb.cp/nsimport.exp
2500 * gdb.cp/nsnested.exp
2501 * gdb.cp/nsnoimports.exp
2502 * gdb.cp/nsrecurs.exp
2503 * gdb.cp/nsstress.exp
2504 * gdb.cp/nsusing.exp
2505 * gdb.cp/operator.exp
2506 * gdb.cp/oranking.exp
2507 * gdb.cp/overload-const.exp
2508 * gdb.cp/overload.exp
2509 * gdb.cp/ovldbreak.exp
2511 * gdb.cp/paren-type.exp
2512 * gdb.cp/parse-lang.exp
2513 * gdb.cp/pass-by-ref.exp
2514 * gdb.cp/pr-1023.exp
2515 * gdb.cp/pr-1210.exp
2517 * gdb.cp/pr10687.exp
2518 * gdb.cp/pr12028.exp
2519 * gdb.cp/pr17132.exp
2520 * gdb.cp/pr17494.exp
2524 * gdb.cp/printmethod.exp
2526 * gdb.cp/psymtab-parameter.exp
2527 * gdb.cp/ptype-cv-cp.exp
2528 * gdb.cp/ptype-flags.exp
2529 * gdb.cp/re-set-overloaded.exp
2530 * gdb.cp/ref-types.exp
2532 * gdb.cp/scope-err.exp
2535 * gdb.cp/static-method.exp
2536 * gdb.cp/static-print-quit.exp
2537 * gdb.cp/temargs.exp
2538 * gdb.cp/templates.exp
2539 * gdb.cp/try_catch.exp
2540 * gdb.cp/typedef-operator.exp
2542 * gdb.cp/userdef.exp
2543 * gdb.cp/using-crash.exp
2544 * gdb.cp/var-tag.exp
2545 * gdb.cp/virtbase.exp
2546 * gdb.cp/virtfunc.exp
2547 * gdb.cp/virtfunc2.exp
2548 * gdb.cp/vla-cxx.exp
2549 * gdb.disasm/t01_mov.exp
2550 * gdb.disasm/t02_mova.exp
2551 * gdb.disasm/t03_add.exp
2552 * gdb.disasm/t04_sub.exp
2553 * gdb.disasm/t05_cmp.exp
2554 * gdb.disasm/t06_ari2.exp
2555 * gdb.disasm/t07_ari3.exp
2556 * gdb.disasm/t08_or.exp
2557 * gdb.disasm/t09_xor.exp
2558 * gdb.disasm/t10_and.exp
2559 * gdb.disasm/t11_logs.exp
2560 * gdb.disasm/t12_bit.exp
2561 * gdb.disasm/t13_otr.exp
2562 * gdb.dlang/circular.exp
2563 * gdb.dwarf2/arr-stride.exp
2564 * gdb.dwarf2/arr-subrange.exp
2565 * gdb.dwarf2/atomic-type.exp
2566 * gdb.dwarf2/bad-regnum.exp
2567 * gdb.dwarf2/bitfield-parent-optimized-out.exp
2568 * gdb.dwarf2/callframecfa.exp
2569 * gdb.dwarf2/clztest.exp
2570 * gdb.dwarf2/corrupt.exp
2571 * gdb.dwarf2/data-loc.exp
2572 * gdb.dwarf2/dup-psym.exp
2573 * gdb.dwarf2/dw2-anon-mptr.exp
2574 * gdb.dwarf2/dw2-anonymous-func.exp
2575 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
2576 * gdb.dwarf2/dw2-bad-unresolved.exp
2577 * gdb.dwarf2/dw2-basic.exp
2578 * gdb.dwarf2/dw2-canonicalize-type.exp
2579 * gdb.dwarf2/dw2-case-insensitive.exp
2580 * gdb.dwarf2/dw2-common-block.exp
2581 * gdb.dwarf2/dw2-compdir-oldgcc.exp
2582 * gdb.dwarf2/dw2-compressed.exp
2583 * gdb.dwarf2/dw2-const.exp
2584 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
2585 * gdb.dwarf2/dw2-cu-size.exp
2586 * gdb.dwarf2/dw2-dup-frame.exp
2587 * gdb.dwarf2/dw2-entry-value.exp
2588 * gdb.dwarf2/dw2-icycle.exp
2589 * gdb.dwarf2/dw2-ifort-parameter.exp
2590 * gdb.dwarf2/dw2-inline-break.exp
2591 * gdb.dwarf2/dw2-inline-param.exp
2592 * gdb.dwarf2/dw2-intercu.exp
2593 * gdb.dwarf2/dw2-intermix.exp
2594 * gdb.dwarf2/dw2-lexical-block-bare.exp
2595 * gdb.dwarf2/dw2-linkage-name-trust.exp
2596 * gdb.dwarf2/dw2-minsym-in-cu.exp
2597 * gdb.dwarf2/dw2-noloc.exp
2598 * gdb.dwarf2/dw2-op-call.exp
2599 * gdb.dwarf2/dw2-op-out-param.exp
2600 * gdb.dwarf2/dw2-opt-structptr.exp
2601 * gdb.dwarf2/dw2-param-error.exp
2602 * gdb.dwarf2/dw2-producer.exp
2603 * gdb.dwarf2/dw2-ranges-base.exp
2604 * gdb.dwarf2/dw2-ref-missing-frame.exp
2605 * gdb.dwarf2/dw2-reg-undefined.exp
2606 * gdb.dwarf2/dw2-regno-invalid.exp
2607 * gdb.dwarf2/dw2-restore.exp
2608 * gdb.dwarf2/dw2-restrict.exp
2609 * gdb.dwarf2/dw2-single-line-discriminators.exp
2610 * gdb.dwarf2/dw2-strp.exp
2611 * gdb.dwarf2/dw2-undefined-ret-addr.exp
2612 * gdb.dwarf2/dw2-unresolved.exp
2613 * gdb.dwarf2/dw2-var-zero-addr.exp
2614 * gdb.dwarf2/dw4-sig-types.exp
2615 * gdb.dwarf2/dwz.exp
2616 * gdb.dwarf2/dynarr-ptr.exp
2617 * gdb.dwarf2/enum-type.exp
2618 * gdb.dwarf2/gdb-index.exp
2619 * gdb.dwarf2/implptr-64bit.exp
2620 * gdb.dwarf2/implptr-optimized-out.exp
2621 * gdb.dwarf2/implptr.exp
2622 * gdb.dwarf2/implref-array.exp
2623 * gdb.dwarf2/implref-const.exp
2624 * gdb.dwarf2/implref-global.exp
2625 * gdb.dwarf2/implref-struct.exp
2626 * gdb.dwarf2/mac-fileno.exp
2627 * gdb.dwarf2/main-subprogram.exp
2628 * gdb.dwarf2/member-ptr-forwardref.exp
2629 * gdb.dwarf2/method-ptr.exp
2630 * gdb.dwarf2/missing-sig-type.exp
2631 * gdb.dwarf2/nonvar-access.exp
2632 * gdb.dwarf2/opaque-type-lookup.exp
2633 * gdb.dwarf2/pieces-optimized-out.exp
2634 * gdb.dwarf2/pieces.exp
2635 * gdb.dwarf2/pr10770.exp
2636 * gdb.dwarf2/pr13961.exp
2637 * gdb.dwarf2/staticvirtual.exp
2638 * gdb.dwarf2/subrange.exp
2639 * gdb.dwarf2/symtab-producer.exp
2640 * gdb.dwarf2/trace-crash.exp
2641 * gdb.dwarf2/typeddwarf.exp
2642 * gdb.dwarf2/valop.exp
2643 * gdb.dwarf2/watch-notconst.exp
2644 * gdb.fortran/array-element.exp
2645 * gdb.fortran/charset.exp
2646 * gdb.fortran/common-block.exp
2647 * gdb.fortran/complex.exp
2648 * gdb.fortran/derived-type-function.exp
2649 * gdb.fortran/derived-type.exp
2650 * gdb.fortran/logical.exp
2651 * gdb.fortran/module.exp
2652 * gdb.fortran/multi-dim.exp
2653 * gdb.fortran/nested-funcs.exp
2654 * gdb.fortran/print-formatted.exp
2655 * gdb.fortran/subarray.exp
2656 * gdb.fortran/vla-alloc-assoc.exp
2657 * gdb.fortran/vla-datatypes.exp
2658 * gdb.fortran/vla-history.exp
2659 * gdb.fortran/vla-ptr-info.exp
2660 * gdb.fortran/vla-ptype-sub.exp
2661 * gdb.fortran/vla-ptype.exp
2662 * gdb.fortran/vla-sizeof.exp
2663 * gdb.fortran/vla-type.exp
2664 * gdb.fortran/vla-value-sub-arbitrary.exp
2665 * gdb.fortran/vla-value-sub-finish.exp
2666 * gdb.fortran/vla-value-sub.exp
2667 * gdb.fortran/vla-value.exp
2668 * gdb.fortran/whatis_type.exp
2670 * gdb.go/handcall.exp
2672 * gdb.go/integers.exp
2673 * gdb.go/methods.exp
2674 * gdb.go/package.exp
2675 * gdb.go/strings.exp
2678 * gdb.guile/scm-arch.exp
2679 * gdb.guile/scm-block.exp
2680 * gdb.guile/scm-breakpoint.exp
2681 * gdb.guile/scm-cmd.exp
2682 * gdb.guile/scm-disasm.exp
2683 * gdb.guile/scm-equal.exp
2684 * gdb.guile/scm-frame-args.exp
2685 * gdb.guile/scm-frame-inline.exp
2686 * gdb.guile/scm-frame.exp
2687 * gdb.guile/scm-iterator.exp
2688 * gdb.guile/scm-math.exp
2689 * gdb.guile/scm-objfile.exp
2690 * gdb.guile/scm-ports.exp
2691 * gdb.guile/scm-symbol.exp
2692 * gdb.guile/scm-symtab.exp
2693 * gdb.guile/scm-value-cc.exp
2694 * gdb.guile/types-module.exp
2695 * gdb.linespec/break-ask.exp
2696 * gdb.linespec/cpexplicit.exp
2697 * gdb.linespec/explicit.exp
2698 * gdb.linespec/keywords.exp
2699 * gdb.linespec/linespec.exp
2700 * gdb.linespec/ls-dollar.exp
2701 * gdb.linespec/ls-errs.exp
2702 * gdb.linespec/skip-two.exp
2703 * gdb.linespec/thread.exp
2704 * gdb.mi/mi-async.exp
2705 * gdb.mi/mi-basics.exp
2706 * gdb.mi/mi-break.exp
2707 * gdb.mi/mi-catch-load.exp
2709 * gdb.mi/mi-cmd-param-changed.exp
2710 * gdb.mi/mi-console.exp
2711 * gdb.mi/mi-detach.exp
2712 * gdb.mi/mi-disassemble.exp
2713 * gdb.mi/mi-eval.exp
2714 * gdb.mi/mi-file-transfer.exp
2715 * gdb.mi/mi-file.exp
2716 * gdb.mi/mi-fill-memory.exp
2717 * gdb.mi/mi-inheritance-syntax-error.exp
2718 * gdb.mi/mi-linespec-err-cp.exp
2719 * gdb.mi/mi-logging.exp
2720 * gdb.mi/mi-memory-changed.exp
2721 * gdb.mi/mi-read-memory.exp
2722 * gdb.mi/mi-record-changed.exp
2723 * gdb.mi/mi-reg-undefined.exp
2724 * gdb.mi/mi-regs.exp
2725 * gdb.mi/mi-return.exp
2726 * gdb.mi/mi-reverse.exp
2727 * gdb.mi/mi-simplerun.exp
2728 * gdb.mi/mi-solib.exp
2729 * gdb.mi/mi-stack.exp
2730 * gdb.mi/mi-stepi.exp
2731 * gdb.mi/mi-syn-frame.exp
2732 * gdb.mi/mi-until.exp
2733 * gdb.mi/mi-var-block.exp
2734 * gdb.mi/mi-var-child.exp
2735 * gdb.mi/mi-var-cmd.exp
2736 * gdb.mi/mi-var-cp.exp
2737 * gdb.mi/mi-var-display.exp
2738 * gdb.mi/mi-var-invalidate.exp
2739 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
2740 * gdb.mi/mi-vla-fortran.exp
2741 * gdb.mi/mi-watch.exp
2742 * gdb.mi/mi2-var-child.exp
2743 * gdb.mi/user-selected-context-sync.exp
2744 * gdb.modula2/unbounded-array.exp
2745 * gdb.multi/dummy-frame-restore.exp
2746 * gdb.multi/multi-arch-exec.exp
2747 * gdb.multi/multi-arch.exp
2748 * gdb.multi/tids.exp
2749 * gdb.multi/watchpoint-multi.exp
2750 * gdb.opencl/callfuncs.exp
2751 * gdb.opencl/convs_casts.exp
2752 * gdb.opencl/datatypes.exp
2753 * gdb.opencl/operators.exp
2754 * gdb.opencl/vec_comps.exp
2755 * gdb.opt/clobbered-registers-O2.exp
2756 * gdb.opt/inline-break.exp
2757 * gdb.opt/inline-bt.exp
2758 * gdb.opt/inline-cmds.exp
2759 * gdb.opt/inline-locals.exp
2760 * gdb.pascal/case-insensitive-symbols.exp
2761 * gdb.pascal/floats.exp
2762 * gdb.pascal/gdb11492.exp
2763 * gdb.python/lib-types.exp
2764 * gdb.python/py-arch.exp
2765 * gdb.python/py-as-string.exp
2766 * gdb.python/py-bad-printers.exp
2767 * gdb.python/py-block.exp
2768 * gdb.python/py-breakpoint-create-fail.exp
2769 * gdb.python/py-breakpoint.exp
2770 * gdb.python/py-caller-is.exp
2771 * gdb.python/py-cmd.exp
2772 * gdb.python/py-explore-cc.exp
2773 * gdb.python/py-explore.exp
2774 * gdb.python/py-finish-breakpoint.exp
2775 * gdb.python/py-finish-breakpoint2.exp
2776 * gdb.python/py-frame-args.exp
2777 * gdb.python/py-frame-inline.exp
2778 * gdb.python/py-frame.exp
2779 * gdb.python/py-framefilter-mi.exp
2780 * gdb.python/py-infthread.exp
2781 * gdb.python/py-lazy-string.exp
2782 * gdb.python/py-linetable.exp
2783 * gdb.python/py-mi-events.exp
2784 * gdb.python/py-mi-objfile.exp
2785 * gdb.python/py-mi.exp
2786 * gdb.python/py-objfile.exp
2787 * gdb.python/py-pp-integral.exp
2788 * gdb.python/py-pp-maint.exp
2789 * gdb.python/py-pp-re-notag.exp
2790 * gdb.python/py-pp-registration.exp
2791 * gdb.python/py-recurse-unwind.exp
2792 * gdb.python/py-strfns.exp
2793 * gdb.python/py-symbol.exp
2794 * gdb.python/py-symtab.exp
2795 * gdb.python/py-sync-interp.exp
2796 * gdb.python/py-typeprint.exp
2797 * gdb.python/py-unwind-maint.exp
2798 * gdb.python/py-unwind.exp
2799 * gdb.python/py-value-cc.exp
2800 * gdb.python/py-xmethods.exp
2801 * gdb.reverse/amd64-tailcall-reverse.exp
2802 * gdb.reverse/break-precsave.exp
2803 * gdb.reverse/break-reverse.exp
2804 * gdb.reverse/consecutive-precsave.exp
2805 * gdb.reverse/consecutive-reverse.exp
2806 * gdb.reverse/finish-precsave.exp
2807 * gdb.reverse/finish-reverse-bkpt.exp
2808 * gdb.reverse/finish-reverse.exp
2809 * gdb.reverse/fstatat-reverse.exp
2810 * gdb.reverse/getresuid-reverse.exp
2811 * gdb.reverse/i386-precsave.exp
2812 * gdb.reverse/i386-reverse.exp
2813 * gdb.reverse/i386-sse-reverse.exp
2814 * gdb.reverse/i387-env-reverse.exp
2815 * gdb.reverse/i387-stack-reverse.exp
2816 * gdb.reverse/insn-reverse.exp
2817 * gdb.reverse/machinestate-precsave.exp
2818 * gdb.reverse/machinestate.exp
2819 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2820 * gdb.reverse/pipe-reverse.exp
2821 * gdb.reverse/readv-reverse.exp
2822 * gdb.reverse/recvmsg-reverse.exp
2823 * gdb.reverse/rerun-prec.exp
2824 * gdb.reverse/s390-mvcle.exp
2825 * gdb.reverse/step-precsave.exp
2826 * gdb.reverse/step-reverse.exp
2827 * gdb.reverse/time-reverse.exp
2828 * gdb.reverse/until-precsave.exp
2829 * gdb.reverse/until-reverse.exp
2830 * gdb.reverse/waitpid-reverse.exp
2831 * gdb.reverse/watch-precsave.exp
2832 * gdb.reverse/watch-reverse.exp
2833 * gdb.rust/generics.exp
2834 * gdb.rust/methods.exp
2835 * gdb.rust/modules.exp
2836 * gdb.rust/simple.exp
2837 * gdb.server/connect-with-no-symbol-file.exp
2838 * gdb.server/ext-attach.exp
2839 * gdb.server/ext-restart.exp
2840 * gdb.server/ext-wrapper.exp
2841 * gdb.server/file-transfer.exp
2842 * gdb.server/server-exec-info.exp
2843 * gdb.server/server-kill.exp
2844 * gdb.server/server-mon.exp
2845 * gdb.server/wrapper.exp
2846 * gdb.stabs/exclfwd.exp
2847 * gdb.stabs/gdb11479.exp
2848 * gdb.threads/clone-new-thread-event.exp
2849 * gdb.threads/corethreads.exp
2850 * gdb.threads/current-lwp-dead.exp
2851 * gdb.threads/dlopen-libpthread.exp
2852 * gdb.threads/gcore-thread.exp
2853 * gdb.threads/sigstep-threads.exp
2854 * gdb.threads/watchpoint-fork.exp
2855 * gdb.trace/actions-changed.exp
2856 * gdb.trace/backtrace.exp
2857 * gdb.trace/change-loc.exp
2858 * gdb.trace/circ.exp
2859 * gdb.trace/collection.exp
2860 * gdb.trace/disconnected-tracing.exp
2861 * gdb.trace/ftrace.exp
2862 * gdb.trace/mi-trace-frame-collected.exp
2863 * gdb.trace/mi-trace-unavailable.exp
2864 * gdb.trace/mi-traceframe-changed.exp
2865 * gdb.trace/mi-tsv-changed.exp
2866 * gdb.trace/no-attach-trace.exp
2867 * gdb.trace/passc-dyn.exp
2868 * gdb.trace/qtro.exp
2869 * gdb.trace/range-stepping.exp
2870 * gdb.trace/read-memory.exp
2871 * gdb.trace/save-trace.exp
2872 * gdb.trace/signal.exp
2873 * gdb.trace/status-stop.exp
2874 * gdb.trace/tfile.exp
2875 * gdb.trace/trace-break.exp
2876 * gdb.trace/trace-buffer-size.exp
2877 * gdb.trace/trace-condition.exp
2878 * gdb.trace/tracefile-pseudo-reg.exp
2879 * gdb.trace/tstatus.exp
2880 * gdb.trace/unavailable.exp
2881 * gdb.trace/while-dyn.exp
2882 * gdb.trace/while-stepping.exp
2884 2016-12-22 Doug Evans <xdje42@gmail.com>
2886 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
2889 2016-12-19 Yao Qi <yao.qi@linaro.org>
2891 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
2892 (test_with_self): Don't call do_steps_and_nexts, and remove
2893 code about stepping into xmalloc.
2895 2016-12-09 Yao Qi <yao.qi@linaro.org>
2897 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
2899 2016-12-09 Yao Qi <yao.qi@linaro.org>
2901 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
2903 2016-12-09 Pedro Alves <palves@redhat.com>
2905 * gdb.base/all-architectures-0.exp: New file.
2906 * gdb.base/all-architectures-1.exp: New file.
2907 * gdb.base/all-architectures-2.exp: New file.
2908 * gdb.base/all-architectures-3.exp: New file.
2909 * gdb.base/all-architectures-4.exp: New file.
2910 * gdb.base/all-architectures-5.exp: New file.
2911 * gdb.base/all-architectures-6.exp: New file.
2912 * gdb.base/all-architectures-7.exp: New file.
2913 * gdb.base/all-architectures.exp.in: New file.
2915 2016-12-09 Yao Qi <yao.qi@linaro.org>
2917 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
2919 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
2921 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
2923 Remove useless pattern-matching code.
2925 2016-12-02 Pedro Alves <palves@redhat.com>
2927 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
2929 (top level): Call it.
2931 2016-12-02 Pedro Alves <palves@redhat.com>
2933 * gdb.base/commands.exp (user_defined_command_args_stack_test):
2935 (top level): Call it.
2937 2016-12-02 Pedro Alves <palves@redhat.com>
2940 * gdb.base/commands.exp (user_defined_command_args_eval): New
2942 (top level): Call it.
2944 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
2946 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
2949 2016-12-02 Tom Tromey <tom@tromey.com>
2951 * gdb.dwarf2/main-subprogram.c: New file.
2952 * gdb.dwarf2/main-subprogram.exp: New file.
2954 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2956 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
2957 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
2958 gdb_test_no_output for a couple of cases.
2959 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
2961 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2963 Fix test names and standardize compilation error messages throughout
2964 the following files:
2967 * gdb.arch/alpha-step.exp
2968 * gdb.arch/e500-prologue.exp
2969 * gdb.arch/ftrace-insn-reloc.exp
2970 * gdb.arch/gdb1291.exp
2971 * gdb.arch/gdb1431.exp
2972 * gdb.arch/gdb1558.exp
2973 * gdb.arch/i386-dr3-watch.exp
2974 * gdb.arch/i386-sse-stack-align.exp
2975 * gdb.arch/ia64-breakpoint-shadow.exp
2976 * gdb.arch/pa-nullify.exp
2977 * gdb.arch/powerpc-aix-prologue.exp
2978 * gdb.arch/thumb-bx-pc.exp
2979 * gdb.base/annota1.exp
2980 * gdb.base/annota3.exp
2981 * gdb.base/arrayidx.exp
2982 * gdb.base/assign.exp
2983 * gdb.base/attach.exp
2986 * gdb.base/bfp-test.exp
2987 * gdb.base/bigcore.exp
2988 * gdb.base/bitfields2.exp
2989 * gdb.base/break-fun-addr.exp
2990 * gdb.base/break-probes.exp
2991 * gdb.base/call-rt-st.exp
2992 * gdb.base/callexit.exp
2993 * gdb.base/catch-fork-kill.exp
2994 * gdb.base/charset.exp
2995 * gdb.base/checkpoint.exp
2996 * gdb.base/comprdebug.exp
2997 * gdb.base/constvars.exp
2998 * gdb.base/coredump-filter.exp
2999 * gdb.base/cursal.exp
3000 * gdb.base/cvexpr.exp
3001 * gdb.base/detach.exp
3002 * gdb.base/display.exp
3003 * gdb.base/dmsym.exp
3004 * gdb.base/dprintf-pending.exp
3005 * gdb.base/dso2dso.exp
3006 * gdb.base/dtrace-probe.exp
3008 * gdb.base/enum_cond.exp
3009 * gdb.base/exe-lock.exp
3010 * gdb.base/exec-invalid-sysroot.exp
3011 * gdb.base/execl-update-breakpoints.exp
3012 * gdb.base/exprs.exp
3013 * gdb.base/fileio.exp
3015 * gdb.base/finish.exp
3016 * gdb.base/fixsection.exp
3017 * gdb.base/foll-vfork.exp
3018 * gdb.base/frame-args.exp
3019 * gdb.base/gcore.exp
3020 * gdb.base/gdb1250.exp
3021 * gdb.base/global-var-nested-by-dso.exp
3022 * gdb.base/gnu-ifunc.exp
3023 * gdb.base/hashline1.exp
3024 * gdb.base/hashline2.exp
3025 * gdb.base/hashline3.exp
3026 * gdb.base/hbreak-in-shr-unsupported.exp
3028 * gdb.base/infcall-input.exp
3029 * gdb.base/info-fun.exp
3030 * gdb.base/info-shared.exp
3031 * gdb.base/jit-simple.exp
3032 * gdb.base/jit-so.exp
3035 * gdb.base/label.exp
3036 * gdb.base/lineinc.exp
3037 * gdb.base/logical.exp
3038 * gdb.base/longjmp.exp
3039 * gdb.base/macscp.exp
3040 * gdb.base/miscexprs.exp
3041 * gdb.base/new-ui-echo.exp
3042 * gdb.base/new-ui-pending-input.exp
3043 * gdb.base/new-ui.exp
3044 * gdb.base/nodebug.exp
3045 * gdb.base/nofield.exp
3046 * gdb.base/offsets.exp
3047 * gdb.base/overlays.exp
3048 * gdb.base/pending.exp
3049 * gdb.base/pointers.exp
3050 * gdb.base/pr11022.exp
3051 * gdb.base/printcmds.exp
3052 * gdb.base/prologue.exp
3053 * gdb.base/ptr-typedef.exp
3054 * gdb.base/realname-expand.exp
3055 * gdb.base/relativedebug.exp
3056 * gdb.base/relocate.exp
3057 * gdb.base/remote.exp
3058 * gdb.base/reread.exp
3059 * gdb.base/return2.exp
3060 * gdb.base/savedregs.exp
3062 * gdb.base/sepdebug.exp
3063 * gdb.base/sepsymtab.exp
3064 * gdb.base/set-inferior-tty.exp
3065 * gdb.base/setshow.exp
3066 * gdb.base/shlib-call.exp
3067 * gdb.base/sigaltstack.exp
3068 * gdb.base/siginfo-addr.exp
3069 * gdb.base/signals.exp
3070 * gdb.base/signull.exp
3071 * gdb.base/sigrepeat.exp
3072 * gdb.base/so-impl-ld.exp
3073 * gdb.base/solib-display.exp
3074 * gdb.base/solib-overlap.exp
3075 * gdb.base/solib-search.exp
3076 * gdb.base/solib-symbol.exp
3077 * gdb.base/structs.exp
3078 * gdb.base/structs2.exp
3079 * gdb.base/symtab-search-order.exp
3080 * gdb.base/twice.exp
3081 * gdb.base/unload.exp
3082 * gdb.base/varargs.exp
3083 * gdb.base/watchpoint-solib.exp
3084 * gdb.base/watchpoint.exp
3085 * gdb.base/whatis.exp
3086 * gdb.base/wrong_frame_bt_full.exp
3087 * gdb.btrace/dlopen.exp
3088 * gdb.cell/ea-standalone.exp
3089 * gdb.cell/ea-test.exp
3090 * gdb.cp/dispcxx.exp
3091 * gdb.cp/gdb2384.exp
3092 * gdb.cp/method2.exp
3093 * gdb.cp/nextoverthrow.exp
3094 * gdb.cp/pr10728.exp
3095 * gdb.disasm/am33.exp
3096 * gdb.disasm/h8300s.exp
3097 * gdb.disasm/mn10300.exp
3098 * gdb.disasm/sh3.exp
3099 * gdb.dwarf2/dw2-dir-file-name.exp
3100 * gdb.fortran/complex.exp
3101 * gdb.fortran/library-module.exp
3102 * gdb.guile/scm-pretty-print.exp
3103 * gdb.guile/scm-symbol.exp
3104 * gdb.guile/scm-type.exp
3105 * gdb.guile/scm-value.exp
3106 * gdb.linespec/linespec.exp
3109 * gdb.mi/mi-breakpoint-changed.exp
3110 * gdb.mi/mi-dprintf-pending.exp
3111 * gdb.mi/mi-dprintf.exp
3112 * gdb.mi/mi-exit-code.exp
3113 * gdb.mi/mi-pending.exp
3114 * gdb.mi/mi-solib.exp
3115 * gdb.mi/new-ui-mi-sync.exp
3116 * gdb.mi/pr11022.exp
3117 * gdb.mi/user-selected-context-sync.exp
3118 * gdb.opt/solib-intra-step.exp
3119 * gdb.python/py-events.exp
3120 * gdb.python/py-finish-breakpoint.exp
3121 * gdb.python/py-mi.exp
3122 * gdb.python/py-prettyprint.exp
3123 * gdb.python/py-shared.exp
3124 * gdb.python/py-symbol.exp
3125 * gdb.python/py-template.exp
3126 * gdb.python/py-type.exp
3127 * gdb.python/py-value.exp
3128 * gdb.reverse/solib-precsave.exp
3129 * gdb.reverse/solib-reverse.exp
3130 * gdb.server/solib-list.exp
3131 * gdb.stabs/weird.exp
3132 * gdb.threads/reconnect-signal.exp
3133 * gdb.threads/stepi-random-signal.exp
3134 * gdb.trace/actions.exp
3136 * gdb.trace/backtrace.exp
3137 * gdb.trace/change-loc.exp
3138 * gdb.trace/deltrace.exp
3139 * gdb.trace/ftrace-lock.exp
3140 * gdb.trace/ftrace.exp
3141 * gdb.trace/infotrace.exp
3142 * gdb.trace/mi-tracepoint-changed.exp
3143 * gdb.trace/packetlen.exp
3144 * gdb.trace/passcount.exp
3145 * gdb.trace/pending.exp
3146 * gdb.trace/range-stepping.exp
3147 * gdb.trace/report.exp
3148 * gdb.trace/stap-trace.exp
3149 * gdb.trace/tfind.exp
3150 * gdb.trace/trace-break.exp
3151 * gdb.trace/trace-condition.exp
3152 * gdb.trace/trace-enable-disable.exp
3153 * gdb.trace/trace-mt.exp
3154 * gdb.trace/tracecmd.exp
3155 * gdb.trace/tspeed.exp
3159 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3161 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
3162 with gdb_test_no_output.
3163 Use command as test name.
3165 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3167 Fix test names starting with uppercase throughout the files.
3169 * gdb.ada/assign_1.exp
3170 * gdb.ada/boolean_expr.exp
3171 * gdb.base/arrayidx.exp
3173 * gdb.base/gcore-buffer-overflow.exp
3174 * gdb.base/testenv.exp
3175 * gdb.compile/compile.exp
3176 * gdb.python/py-framefilter-invalidarg.exp
3177 * gdb.python/py-framefilter.exp
3179 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3181 Fix test names starting with uppercase throughout the files.
3183 * gdb.ada/array_return.exp
3184 * gdb.ada/expr_delims.exp
3185 * gdb.ada/mi_dyn_arr.exp
3186 * gdb.ada/mi_interface.exp
3187 * gdb.ada/mi_var_array.exp
3188 * gdb.ada/watch_arg.exp
3189 * gdb.arch/alpha-step.exp
3190 * gdb.arch/altivec-regs.exp
3191 * gdb.arch/e500-regs.exp
3192 * gdb.arch/powerpc-d128-regs.exp
3193 * gdb.base/arrayidx.exp
3194 * gdb.base/break.exp
3195 * gdb.base/checkpoint.exp
3196 * gdb.base/debug-expr.exp
3197 * gdb.base/dmsym.exp
3198 * gdb.base/radix.exp
3199 * gdb.base/sepdebug.exp
3200 * gdb.base/testenv.exp
3201 * gdb.base/watch_thread_num.exp
3202 * gdb.base/watchpoint-cond-gone.exp
3203 * gdb.cell/break.exp
3204 * gdb.cell/ea-cache.exp
3205 * gdb.compile/compile.exp
3206 * gdb.cp/gdb2495.exp
3207 * gdb.gdb/selftest.exp
3208 * gdb.gdb/xfullpath.exp
3210 * gdb.go/integers.exp
3211 * gdb.objc/basicclass.exp
3212 * gdb.pascal/hello.exp
3213 * gdb.pascal/integers.exp
3214 * gdb.python/py-breakpoint.exp
3215 * gdb.python/py-cmd.exp
3216 * gdb.python/py-linetable.exp
3217 * gdb.python/py-xmethods.exp
3218 * gdb.python/python.exp
3219 * gdb.reverse/consecutive-precsave.exp
3220 * gdb.reverse/finish-precsave.exp
3221 * gdb.reverse/i386-precsave.exp
3222 * gdb.reverse/machinestate-precsave.exp
3223 * gdb.reverse/sigall-precsave.exp
3224 * gdb.reverse/solib-precsave.exp
3225 * gdb.reverse/step-precsave.exp
3226 * gdb.reverse/until-precsave.exp
3227 * gdb.reverse/watch-precsave.exp
3228 * gdb.threads/leader-exit.exp
3229 * gdb.threads/pthreads.exp
3230 * gdb.threads/wp-replication.exp
3231 * gdb.trace/actions.exp
3232 * gdb.trace/mi-tsv-changed.exp
3235 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3237 Fix test names starting with uppercase throughout the files.
3239 * gdb.arch/i386-bp_permanent.exp
3240 * gdb.arch/i386-gnu-cfi.exp
3241 * gdb.base/disasm-end-cu.exp
3242 * gdb.base/macscp.exp
3243 * gdb.base/pending.exp
3244 * gdb.base/watch_thread_num.exp
3245 * gdb.cp/exception.exp
3246 * gdb.cp/gdb2495.exp
3248 * gdb.python/py-evsignal.exp
3249 * gdb.python/python.exp
3250 * gdb.trace/tracecmd.exp
3252 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3254 Fix test names starting with uppercase throughout the files.
3256 * gdb.base/charset.exp
3258 * gdb.base/multi-forks.exp
3259 * gdb.guile/scm-progspace.exp
3260 * gdb.opencl/datatypes.exp
3261 * gdb.python/py-block.exp
3262 * gdb.python/py-function.exp
3263 * gdb.python/py-symbol.exp
3264 * gdb.python/py-symtab.exp
3265 * gdb.python/py-xmethods.exp
3266 * gdb.reverse/break-precsave.exp
3267 * gdb.reverse/break-reverse.exp
3268 * gdb.reverse/consecutive-precsave.exp
3269 * gdb.reverse/consecutive-reverse.exp
3270 * gdb.reverse/finish-precsave.exp
3271 * gdb.reverse/finish-reverse-bkpt.exp
3272 * gdb.reverse/finish-reverse.exp
3273 * gdb.reverse/fstatat-reverse.exp
3274 * gdb.reverse/getresuid-reverse.exp
3275 * gdb.reverse/i386-precsave.exp
3276 * gdb.reverse/i386-reverse.exp
3277 * gdb.reverse/i386-sse-reverse.exp
3278 * gdb.reverse/i387-stack-reverse.exp
3279 * gdb.reverse/insn-reverse.exp
3280 * gdb.reverse/machinestate-precsave.exp
3281 * gdb.reverse/machinestate.exp
3282 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3283 * gdb.reverse/pipe-reverse.exp
3284 * gdb.reverse/readv-reverse.exp
3285 * gdb.reverse/recvmsg-reverse.exp
3286 * gdb.reverse/rerun-prec.exp
3287 * gdb.reverse/s390-mvcle.exp
3288 * gdb.reverse/sigall-precsave.exp
3289 * gdb.reverse/sigall-reverse.exp
3290 * gdb.reverse/solib-precsave.exp
3291 * gdb.reverse/solib-reverse.exp
3292 * gdb.reverse/step-precsave.exp
3293 * gdb.reverse/step-reverse.exp
3294 * gdb.reverse/time-reverse.exp
3295 * gdb.reverse/until-precsave.exp
3296 * gdb.reverse/until-reverse.exp
3297 * gdb.reverse/waitpid-reverse.exp
3298 * gdb.reverse/watch-precsave.exp
3299 * gdb.reverse/watch-reverse.exp
3301 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3303 Fix test names starting with uppercase throughout the files.
3305 * gdb.arch/i386-mpx-simple_segv.exp
3306 * gdb.arch/i386-mpx.exp
3307 * gdb.arch/i386-permbkpt.exp
3308 * gdb.arch/pa-nullify.exp
3309 * gdb.arch/powerpc-d128-regs.exp
3310 * gdb.arch/vsx-regs.exp
3311 * gdb.base/bfp-test.exp
3312 * gdb.base/break.exp
3313 * gdb.base/breakpoint-shadow.exp
3314 * gdb.base/callfuncs.exp
3315 * gdb.base/charset.exp
3316 * gdb.base/commands.exp
3317 * gdb.base/completion.exp
3318 * gdb.base/dfp-test.exp
3320 * gdb.base/ending-run.exp
3322 * gdb.base/expand-psymtabs.exp
3323 * gdb.base/float128.exp
3324 * gdb.base/floatn.exp
3325 * gdb.base/foll-exec-mode.exp
3326 * gdb.base/gdb1056.exp
3327 * gdb.base/gdb11531.exp
3328 * gdb.base/kill-after-signal.exp
3329 * gdb.base/multi-forks.exp
3330 * gdb.base/overlays.exp
3331 * gdb.base/pending.exp
3332 * gdb.base/sepdebug.exp
3333 * gdb.base/testenv.exp
3334 * gdb.base/valgrind-db-attach.exp
3335 * gdb.base/watch_thread_num.exp
3336 * gdb.base/watchpoint-cond-gone.exp
3337 * gdb.base/watchpoint.exp
3338 * gdb.base/watchpoints.exp
3339 * gdb.cp/arg-reference.exp
3340 * gdb.cp/baseenum.exp
3341 * gdb.cp/operator.exp
3343 * gdb.dwarf2/dw2-op-out-param.exp
3344 * gdb.dwarf2/dw2-reg-undefined.exp
3347 * gdb.go/integers.exp
3348 * gdb.go/methods.exp
3349 * gdb.go/package.exp
3350 * gdb.guile/scm-parameter.exp
3351 * gdb.guile/scm-progspace.exp
3352 * gdb.guile/scm-value.exp
3353 * gdb.mi/mi-pending.exp
3354 * gdb.mi/user-selected-context-sync.exp
3355 * gdb.multi/multi-attach.exp
3356 * gdb.multi/tids.exp
3357 * gdb.opt/clobbered-registers-O2.exp
3358 * gdb.pascal/floats.exp
3359 * gdb.pascal/integers.exp
3360 * gdb.python/py-block.exp
3361 * gdb.python/py-events.exp
3362 * gdb.python/py-parameter.exp
3363 * gdb.python/py-symbol.exp
3364 * gdb.python/py-symtab.exp
3365 * gdb.python/py-type.exp
3366 * gdb.python/py-value.exp
3367 * gdb.python/py-xmethods.exp
3368 * gdb.python/python.exp
3369 * gdb.reverse/break-precsave.exp
3370 * gdb.reverse/consecutive-precsave.exp
3371 * gdb.reverse/finish-precsave.exp
3372 * gdb.reverse/i386-precsave.exp
3373 * gdb.reverse/machinestate-precsave.exp
3374 * gdb.reverse/sigall-precsave.exp
3375 * gdb.reverse/solib-precsave.exp
3376 * gdb.reverse/step-precsave.exp
3377 * gdb.reverse/until-precsave.exp
3378 * gdb.reverse/watch-precsave.exp
3379 * gdb.server/ext-attach.exp
3380 * gdb.server/ext-restart.exp
3381 * gdb.server/ext-run.exp
3382 * gdb.server/ext-wrapper.exp
3383 * gdb.stabs/gdb11479.exp
3384 * gdb.stabs/weird.exp
3385 * gdb.threads/attach-many-short-lived-threads.exp
3386 * gdb.threads/kill.exp
3387 * gdb.threads/watchpoint-fork.exp
3389 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3391 Fix test names starting with uppercase throughout all the files below.
3393 * gdb.ada/array_return.exp
3394 * gdb.ada/catch_ex.exp
3395 * gdb.ada/info_exc.exp
3396 * gdb.ada/mi_catch_ex.exp
3397 * gdb.ada/mi_dyn_arr.exp
3398 * gdb.ada/mi_ex_cond.exp
3399 * gdb.ada/mi_exc_info.exp
3400 * gdb.ada/mi_interface.exp
3401 * gdb.ada/mi_task_arg.exp
3402 * gdb.ada/mi_task_info.exp
3403 * gdb.ada/mi_var_array.exp
3404 * gdb.arch/alpha-step.exp
3405 * gdb.arch/amd64-disp-step.exp
3406 * gdb.arch/arm-disp-step.exp
3407 * gdb.arch/disp-step-insn-reloc.exp
3408 * gdb.arch/e500-prologue.exp
3409 * gdb.arch/ftrace-insn-reloc.exp
3410 * gdb.arch/gdb1558.exp
3411 * gdb.arch/i386-bp_permanent.exp
3412 * gdb.arch/i386-disp-step.exp
3413 * gdb.arch/i386-float.exp
3414 * gdb.arch/i386-gnu-cfi.exp
3415 * gdb.arch/ia64-breakpoint-shadow.exp
3416 * gdb.arch/mips16-thunks.exp
3417 * gdb.arch/pa-nullify.exp
3418 * gdb.arch/powerpc-aix-prologue.exp
3419 * gdb.arch/powerpc-power.exp
3420 * gdb.arch/ppc-dfp.exp
3421 * gdb.arch/s390-tdbregs.exp
3422 * gdb.arch/spu-info.exp
3423 * gdb.arch/spu-ls.exp
3424 * gdb.arch/thumb-bx-pc.exp
3425 * gdb.base/advance.exp
3426 * gdb.base/annota-input-while-running.exp
3427 * gdb.base/arrayidx.exp
3428 * gdb.base/asmlabel.exp
3429 * gdb.base/async.exp
3430 * gdb.base/attach-wait-input.exp
3431 * gdb.base/auto-connect-native-target.exp
3432 * gdb.base/batch-preserve-term-settings.exp
3433 * gdb.base/bfp-test.exp
3434 * gdb.base/bigcore.exp
3435 * gdb.base/bp-permanent.exp
3436 * gdb.base/break-always.exp
3437 * gdb.base/break-fun-addr.exp
3438 * gdb.base/break-idempotent.exp
3439 * gdb.base/break-main-file-remove-fail.exp
3440 * gdb.base/break-probes.exp
3441 * gdb.base/break-unload-file.exp
3442 * gdb.base/break.exp
3443 * gdb.base/call-ar-st.exp
3444 * gdb.base/call-rt-st.exp
3445 * gdb.base/call-sc.exp
3446 * gdb.base/call-signal-resume.exp
3447 * gdb.base/call-strs.exp
3448 * gdb.base/callexit.exp
3449 * gdb.base/callfuncs.exp
3450 * gdb.base/catch-gdb-caused-signals.exp
3451 * gdb.base/catch-signal-siginfo-cond.exp
3452 * gdb.base/catch-syscall.exp
3453 * gdb.base/compare-sections.exp
3454 * gdb.base/cond-eval-mode.exp
3455 * gdb.base/condbreak-call-false.exp
3456 * gdb.base/consecutive-step-over.exp
3457 * gdb.base/cursal.exp
3458 * gdb.base/disabled-location.exp
3459 * gdb.base/disasm-end-cu.exp
3460 * gdb.base/display.exp
3461 * gdb.base/double-prompt-target-event-error.exp
3462 * gdb.base/dprintf-bp-same-addr.exp
3463 * gdb.base/dprintf-detach.exp
3464 * gdb.base/dprintf-next.exp
3465 * gdb.base/dprintf-non-stop.exp
3466 * gdb.base/dprintf-pending.exp
3467 * gdb.base/dso2dso.exp
3468 * gdb.base/ending-run.exp
3469 * gdb.base/enum_cond.exp
3470 * gdb.base/examine-backward.exp
3471 * gdb.base/exe-lock.exp
3472 * gdb.base/exec-invalid-sysroot.exp
3473 * gdb.base/execl-update-breakpoints.exp
3474 * gdb.base/execution-termios.exp
3475 * gdb.base/fileio.exp
3476 * gdb.base/fixsection.exp
3477 * gdb.base/foll-exec-mode.exp
3478 * gdb.base/foll-exec.exp
3479 * gdb.base/fork-running-state.exp
3480 * gdb.base/frame-args.exp
3481 * gdb.base/fullpath-expand.exp
3482 * gdb.base/func-ptr.exp
3483 * gdb.base/gcore-relro-pie.exp
3484 * gdb.base/gdb1090.exp
3485 * gdb.base/gdb1555.exp
3486 * gdb.base/global-var-nested-by-dso.exp
3487 * gdb.base/gnu-ifunc.exp
3488 * gdb.base/hbreak-in-shr-unsupported.exp
3489 * gdb.base/hbreak-unmapped.exp
3490 * gdb.base/hook-stop.exp
3491 * gdb.base/infcall-input.exp
3492 * gdb.base/info-fun.exp
3493 * gdb.base/info-shared.exp
3494 * gdb.base/interrupt-noterm.exp
3495 * gdb.base/jit-so.exp
3497 * gdb.base/line-symtabs.exp
3499 * gdb.base/longjmp.exp
3500 * gdb.base/macscp.exp
3501 * gdb.base/max-value-size.exp
3502 * gdb.base/nodebug.exp
3503 * gdb.base/nofield.exp
3504 * gdb.base/overlays.exp
3505 * gdb.base/paginate-after-ctrl-c-running.exp
3506 * gdb.base/paginate-bg-execution.exp
3507 * gdb.base/paginate-inferior-exit.exp
3508 * gdb.base/pending.exp
3509 * gdb.base/pr11022.exp
3510 * gdb.base/printcmds.exp
3511 * gdb.base/ptr-typedef.exp
3512 * gdb.base/ptype.exp
3513 * gdb.base/randomize.exp
3514 * gdb.base/range-stepping.exp
3515 * gdb.base/realname-expand.exp
3516 * gdb.base/relativedebug.exp
3517 * gdb.base/remote.exp
3518 * gdb.base/savedregs.exp
3519 * gdb.base/sepdebug.exp
3520 * gdb.base/set-noassign.exp
3521 * gdb.base/shlib-call.exp
3522 * gdb.base/shreloc.exp
3523 * gdb.base/sigaltstack.exp
3524 * gdb.base/sigbpt.exp
3525 * gdb.base/siginfo-addr.exp
3526 * gdb.base/siginfo-obj.exp
3527 * gdb.base/siginfo-thread.exp
3528 * gdb.base/signest.exp
3529 * gdb.base/signull.exp
3530 * gdb.base/sigrepeat.exp
3532 * gdb.base/so-impl-ld.exp
3533 * gdb.base/solib-corrupted.exp
3534 * gdb.base/solib-disc.exp
3535 * gdb.base/solib-display.exp
3536 * gdb.base/solib-overlap.exp
3537 * gdb.base/solib-search.exp
3538 * gdb.base/solib-symbol.exp
3539 * gdb.base/source-execution.exp
3540 * gdb.base/sss-bp-on-user-bp-2.exp
3541 * gdb.base/sss-bp-on-user-bp.exp
3542 * gdb.base/stack-checking.exp
3543 * gdb.base/stale-infcall.exp
3544 * gdb.base/step-break.exp
3545 * gdb.base/step-line.exp
3546 * gdb.base/step-over-exit.exp
3547 * gdb.base/step-test.exp
3548 * gdb.base/structs.exp
3549 * gdb.base/sym-file.exp
3550 * gdb.base/symtab-search-order.exp
3552 * gdb.base/type-opaque.exp
3553 * gdb.base/unload.exp
3554 * gdb.base/until-nodebug.exp
3555 * gdb.base/until.exp
3556 * gdb.base/unwindonsignal.exp
3557 * gdb.base/watch-cond.exp
3558 * gdb.base/watch-non-mem.exp
3559 * gdb.base/watch_thread_num.exp
3560 * gdb.base/watchpoint-reuse-slot.exp
3561 * gdb.base/watchpoint-solib.exp
3562 * gdb.base/watchpoint.exp
3563 * gdb.btrace/dlopen.exp
3565 * gdb.cell/break.exp
3569 * gdb.cell/dwarfaddr.exp
3570 * gdb.cell/ea-cache.exp
3571 * gdb.cell/ea-standalone.exp
3572 * gdb.cell/ea-test.exp
3573 * gdb.cell/f-regs.exp
3575 * gdb.cell/gcore.exp
3576 * gdb.cell/mem-access.exp
3577 * gdb.cell/ptype.exp
3578 * gdb.cell/registers.exp
3579 * gdb.cell/sizeof.exp
3580 * gdb.cell/solib-symbol.exp
3581 * gdb.cell/solib.exp
3582 * gdb.compile/compile-tls.exp
3583 * gdb.cp/exception.exp
3584 * gdb.cp/gdb2495.exp
3586 * gdb.cp/mb-inline.exp
3587 * gdb.cp/mb-templates.exp
3588 * gdb.cp/pr10687.exp
3590 * gdb.cp/scope-err.exp
3591 * gdb.cp/templates.exp
3592 * gdb.cp/virtfunc.exp
3593 * gdb.dwarf2/dw2-dir-file-name.exp
3594 * gdb.dwarf2/dw2-single-line-discriminators.exp
3595 * gdb.fortran/complex.exp
3596 * gdb.fortran/library-module.exp
3597 * gdb.guile/guile.exp
3598 * gdb.guile/scm-cmd.exp
3599 * gdb.guile/scm-frame-inline.exp
3600 * gdb.guile/scm-objfile.exp
3601 * gdb.guile/scm-pretty-print.exp
3602 * gdb.guile/scm-symbol.exp
3603 * gdb.guile/scm-type.exp
3604 * gdb.guile/scm-value.exp
3605 * gdb.linespec/keywords.exp
3606 * gdb.linespec/ls-errs.exp
3607 * gdb.linespec/macro-relative.exp
3608 * gdb.linespec/thread.exp
3609 * gdb.mi/mi-breakpoint-changed.exp
3610 * gdb.mi/mi-dprintf-pending.exp
3611 * gdb.mi/mi-fullname-deleted.exp
3612 * gdb.mi/mi-logging.exp
3613 * gdb.mi/mi-pending.exp
3614 * gdb.mi/mi-solib.exp
3615 * gdb.mi/new-ui-mi-sync.exp
3616 * gdb.mi/user-selected-context-sync.exp
3617 * gdb.multi/dummy-frame-restore.exp
3618 * gdb.multi/multi-arch-exec.exp
3619 * gdb.multi/remove-inferiors.exp
3620 * gdb.multi/watchpoint-multi-exit.exp
3621 * gdb.opt/solib-intra-step.exp
3622 * gdb.perf/backtrace.exp
3623 * gdb.perf/single-step.exp
3624 * gdb.perf/skip-command.exp
3625 * gdb.perf/skip-prologue.exp
3626 * gdb.perf/solib.exp
3627 * gdb.python/lib-types.exp
3628 * gdb.python/py-as-string.exp
3629 * gdb.python/py-bad-printers.exp
3630 * gdb.python/py-block.exp
3631 * gdb.python/py-breakpoint.exp
3632 * gdb.python/py-cmd.exp
3633 * gdb.python/py-events.exp
3634 * gdb.python/py-evthreads.exp
3635 * gdb.python/py-finish-breakpoint.exp
3636 * gdb.python/py-finish-breakpoint2.exp
3637 * gdb.python/py-frame-inline.exp
3638 * gdb.python/py-frame.exp
3639 * gdb.python/py-inferior.exp
3640 * gdb.python/py-infthread.exp
3641 * gdb.python/py-mi.exp
3642 * gdb.python/py-objfile.exp
3643 * gdb.python/py-pp-maint.exp
3644 * gdb.python/py-pp-registration.exp
3645 * gdb.python/py-prettyprint.exp
3646 * gdb.python/py-recurse-unwind.exp
3647 * gdb.python/py-shared.exp
3648 * gdb.python/py-symbol.exp
3649 * gdb.python/py-symtab.exp
3650 * gdb.python/py-template.exp
3651 * gdb.python/py-type.exp
3652 * gdb.python/py-unwind-maint.exp
3653 * gdb.python/py-unwind.exp
3654 * gdb.python/py-value.exp
3655 * gdb.python/python.exp
3656 * gdb.reverse/finish-reverse-bkpt.exp
3657 * gdb.reverse/insn-reverse.exp
3658 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3659 * gdb.reverse/solib-precsave.exp
3660 * gdb.reverse/solib-reverse.exp
3661 * gdb.stabs/gdb11479.exp
3662 * gdb.stabs/weird.exp
3663 * gdb.threads/fork-child-threads.exp
3664 * gdb.threads/fork-plus-threads.exp
3665 * gdb.threads/fork-thread-pending.exp
3666 * gdb.threads/forking-threads-plus-breakpoint.exp
3667 * gdb.threads/hand-call-in-threads.exp
3668 * gdb.threads/interrupted-hand-call.exp
3669 * gdb.threads/linux-dp.exp
3670 * gdb.threads/local-watch-wrong-thread.exp
3671 * gdb.threads/next-while-other-thread-longjmps.exp
3672 * gdb.threads/non-ldr-exit.exp
3673 * gdb.threads/pending-step.exp
3674 * gdb.threads/print-threads.exp
3675 * gdb.threads/process-dies-while-detaching.exp
3676 * gdb.threads/process-dies-while-handling-bp.exp
3677 * gdb.threads/pthreads.exp
3678 * gdb.threads/queue-signal.exp
3679 * gdb.threads/reconnect-signal.exp
3680 * gdb.threads/signal-command-handle-nopass.exp
3681 * gdb.threads/signal-command-multiple-signals-pending.exp
3682 * gdb.threads/signal-delivered-right-thread.exp
3683 * gdb.threads/signal-sigtrap.exp
3684 * gdb.threads/sigthread.exp
3685 * gdb.threads/staticthreads.exp
3686 * gdb.threads/stepi-random-signal.exp
3687 * gdb.threads/thread-unwindonsignal.exp
3688 * gdb.threads/thread_check.exp
3689 * gdb.threads/thread_events.exp
3690 * gdb.threads/tid-reuse.exp
3691 * gdb.threads/tls-nodebug.exp
3692 * gdb.threads/tls-shared.exp
3693 * gdb.threads/tls-so_extern.exp
3694 * gdb.threads/tls.exp
3695 * gdb.threads/wp-replication.exp
3696 * gdb.trace/actions-changed.exp
3697 * gdb.trace/actions.exp
3698 * gdb.trace/backtrace.exp
3699 * gdb.trace/change-loc.exp
3700 * gdb.trace/collection.exp
3701 * gdb.trace/deltrace.exp
3702 * gdb.trace/disconnected-tracing.exp
3703 * gdb.trace/entry-values.exp
3704 * gdb.trace/ftrace-lock.exp
3705 * gdb.trace/ftrace.exp
3706 * gdb.trace/infotrace.exp
3707 * gdb.trace/mi-trace-frame-collected.exp
3708 * gdb.trace/mi-trace-unavailable.exp
3709 * gdb.trace/mi-traceframe-changed.exp
3710 * gdb.trace/mi-tracepoint-changed.exp
3711 * gdb.trace/mi-tsv-changed.exp
3712 * gdb.trace/no-attach-trace.exp
3713 * gdb.trace/packetlen.exp
3714 * gdb.trace/passc-dyn.exp
3715 * gdb.trace/passcount.exp
3716 * gdb.trace/pending.exp
3717 * gdb.trace/pr16508.exp
3718 * gdb.trace/qtro.exp
3719 * gdb.trace/range-stepping.exp
3720 * gdb.trace/read-memory.exp
3721 * gdb.trace/report.exp
3722 * gdb.trace/save-trace.exp
3723 * gdb.trace/signal.exp
3724 * gdb.trace/stap-trace.exp
3725 * gdb.trace/status-stop.exp
3726 * gdb.trace/strace.exp
3727 * gdb.trace/tfile.exp
3728 * gdb.trace/tfind.exp
3729 * gdb.trace/trace-break.exp
3730 * gdb.trace/trace-condition.exp
3731 * gdb.trace/trace-enable-disable.exp
3732 * gdb.trace/trace-mt.exp
3733 * gdb.trace/tracecmd.exp
3734 * gdb.trace/tracefile-pseudo-reg.exp
3735 * gdb.trace/tspeed.exp
3736 * gdb.trace/tstatus.exp
3738 * gdb.trace/unavailable.exp
3739 * gdb.trace/while-dyn.exp
3740 * gdb.trace/while-stepping.exp
3743 * lib/mi-support.exp
3746 * lib/prelink-support.exp
3747 * lib/selftest-support.exp
3749 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
3751 * Makefile.in: Include disable-implicit-rules.mk.
3753 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3755 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
3756 non-byte-aligned bit fields.
3758 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3761 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
3762 respects the DW_AT_data_bit_offset attribute.
3764 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
3766 * gdb.base/default.exp: Fix output of "set language".
3768 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
3770 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
3771 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
3773 * configure.ac: Remove checks for the make program.
3774 * configure: Re-generate.
3776 2016-11-16 Kevin Buettner <kevinb@redhat.com>
3778 * gdb.python/py-recurse-unwind.c (main): Add loop.
3779 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
3780 to read_register() and gdb.parse_and_eval(). Make each code
3781 call a separate case that can be individually tested.
3782 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
3783 proc. Call cont_and_backtrace for each of the code paths that
3784 we want to test in the unwinder.
3786 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
3788 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
3789 the definition of struct S.
3791 2016-11-11 Catherine Moore <clm@codesourcery.com>
3793 * gdb.base/dump.exp: Identify verilog format dump tests as such.
3795 2016-11-09 Pedro Alves <palves@redhat.com>
3797 * gdb.base/commands.exp (runto_or_return): New procedure.
3798 (gdbvar_simple_if_test, gdbvar_simple_while_test)
3799 (gdbvar_complex_if_while_test, progvar_simple_if_test)
3800 (progvar_simple_while_test, progvar_complex_if_while_test)
3801 (if_while_breakpoint_command_test)
3802 (infrun_breakpoint_command_test, breakpoint_command_test)
3803 (user_defined_command_test, watchpoint_command_test)
3804 (test_command_prompt_position, redefine_hook_test)
3805 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
3806 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
3807 multi_line_input and multi_line. Remove gdb_expect and
3808 gdb_stop_suppressing_tests uses.
3809 * lib/gdb.exp (valnum_re): New global.
3810 (multi_line_input): New procedure.
3812 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
3814 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
3816 (test_setup): Define with proc_with_prefix.
3817 (test_cli_inferior): Likewise.
3818 (test_cli_thread): Likewise.
3819 (test_cli_frame): Likewise.
3820 (test_cli_select_frame): Likewise.
3821 (test_cli_up_down): Likewise.
3822 (test_mi_thread_select): Likewise.
3823 (test_mi_stack_select_frame): Likewise.
3824 (test_cli_in_mi_inferior): Likewise.
3825 (test_cli_in_mi_thread): Likewise.
3826 (test_cli_in_mi_frame): Likewise.
3827 (top level): Do not use with_test_prefix_procname.
3829 2016-11-09 Pedro Alves <palves@redhat.com>
3831 * gdb.base/commands.exp (gdbvar_simple_if_test)
3832 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
3833 (progvar_simple_if_test, progvar_simple_while_test)
3834 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
3835 (infrun_breakpoint_command_test, breakpoint_command_test)
3836 (user_defined_command_test, watchpoint_command_test)
3837 (test_command_prompt_position, deprecated_command_test)
3838 (bp_deleted_in_command, temporary_breakpoint_commands)
3839 (stray_arg0_test, source_file_with_indented_comment)
3840 (recursive_source_test, if_commands_test)
3841 (error_clears_commands_left, redefine_hook_test)
3842 (redefine_backtrace_test): Use proc_with_prefix.
3843 * lib/gdb.exp (proc_with_prefix): New proc.
3845 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
3847 * gdb.base/tui-layout.c: New file.
3848 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
3849 disassembly window contains very long lines.
3851 2016-11-08 Tom Tromey <tom@tromey.com>
3853 * gdb.python/py-value.exp (test_value_creation): Make "long" test
3856 2016-11-08 Tom Tromey <tom@tromey.com>
3858 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
3861 2016-10-29 Manish Goregaokar <manish@mozilla.com>
3863 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
3865 2016-10-27 Manish Goregaokar <manish@mozilla.com>
3867 * gdb.rust/simple.rs: Add test for univariant enums without
3868 discriminants and for encoded struct-like enums.
3870 2016-10-28 Pedro Alves <palves@redhat.com>
3872 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
3873 gdb_test_multiple, tighten regexps and match symtabs and line
3874 tables incrementally.
3876 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
3878 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
3881 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
3883 * gdb.base/exec-invalid-sysroot.exp: New file.
3885 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3887 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
3889 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3891 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
3893 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
3895 * gdb.base/killed-outside.exp: Remove $options from a call to
3896 `prepare_for_testing'.
3898 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3900 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
3901 Change test message.
3903 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3905 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
3908 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3910 * gdb.trace/mi-trace-save.exp: New file.
3912 2016-10-13 Yao Qi <yao.qi@linaro.org>
3914 * gdb.base/code_elim.exp (get_var_address): Remove.
3915 * gdb.base/relocate.exp: Likewise.
3916 * gdb.base/shreloc.exp: Likewise.
3917 * lib/gdb.exp (get_var_address): New.
3919 2016-10-13 Yao Qi <yao.qi@linaro.org>
3921 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
3922 floating point tests if $skip_float_test is false.
3924 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
3926 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
3927 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
3929 Add 1 to argc so we guarantee distinct initial/modified argc values.
3931 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3933 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
3935 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3937 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
3938 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
3939 * gdb.arch/vsx-regs.exp: Likewise.
3941 2016-10-07 Yao Qi <yao.qi@linaro.org>
3943 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
3945 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
3947 * gdb.python/python.exp: Test decode_line("*0").
3949 2016-10-06 Doug Evans <dje@google.com>
3951 * gdb.python/py-value.exp (test_value_creation): Add test for large
3952 unsigned 64-bit value.
3954 2016-10-06 Tom Tromey <tom@tromey.com>
3956 * gdb.compile/compile.exp: Change java tests to rust.
3957 * gdb.base/setshow.exp: Change java tests to rust.
3958 * gdb.base/default.exp: Remove java from language list.
3959 * README (Examples): Update language example.
3960 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
3962 * lib/gdb.exp (skip_java_tests): Remove.
3963 * lib/java.exp: Remove.
3966 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
3968 * gdb.arch/mips-fcr.exp: New test.
3969 * gdb.arch/mips-fcr.c: Source for the new test.
3971 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
3973 * gdb.base/solib-disc.exp: Use `standard_output_file'
3976 2016-10-06 Pedro Alves <palves@redhat.com>
3978 * gdb.base/jit-simple-dl.c: New file.
3979 * gdb.base/jit-simple-jit.c: New file, factored out from ...
3980 * gdb.base/jit-simple.c: ... this.
3981 * gdb.base/jit-simple.exp (jit_run): Delete.
3982 (build_jit): New proc.
3983 (jit_test_reread): Recompile either the main program or the shared
3984 library, depending on what is being tested. Skip changing address
3985 if caller wants to. Compare before/after addresses. If testing
3986 standalone, explicitly load the binary. Test "maint info
3988 (top level): Add "standalone vs shared lib" and "change address"
3989 vs "same address" axes.
3991 2016-10-06 Pedro Alves <palves@redhat.com>
3993 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
3996 (jit_test_reread): Use with_test_prefix. Reload the main binary
3997 explicitly. Compare the before/after addresses of the JIT
4000 2016-08-15 Doug Evans <dje@google.com>
4002 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4003 for single bitfields is bool.
4004 * gdb.xml/tdesc-regs.exp: Ditto.
4006 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4008 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4010 2016-10-05 Yao Qi <yao.qi@linaro.org>
4012 * lib/gdb.exp (support_complex_tests): Return zero if
4013 gdb_skip_float_test return true.
4015 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4016 Simon Marchi <simon.marchi@ericsson.com>
4019 * gdb.mi/user-selected-context-sync.exp: New file.
4020 * gdb.mi/user-selected-context-sync.c: New file.
4022 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4023 Simon Marchi <simon.marchi@ericsson.com>
4026 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
4027 =thread-select-event check.
4029 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
4031 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4032 the compulsory L operand changes.
4033 * gdb.arch/powerpc-power.s: Likewise.
4035 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4037 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
4038 * gdb.base/jit-attach-pie.c: New file.
4039 * gdb.base/jit-attach-pie.exp: New file.
4041 2016-09-28 Pedro Alves <palves@redhat.com>
4043 * gdb.base/infcall-input.c: New file.
4044 * gdb.base/infcall-input.exp: New file.
4046 2016-09-22 Yao Qi <yao.qi@linaro.org>
4048 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
4049 (gdb_exit): Rename it to ...
4050 (gdbserver_gdb_exit): ... Close GDBserver.
4051 (gdb_exit): New proc, call gdbserver_gdb_exit.
4052 (mi_gdb_exit): Likewise.
4054 2016-09-22 Yao Qi <yao.qi@linaro.org>
4056 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4058 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4061 2016-09-22 Yao Qi <yao.qi@linaro.org>
4063 * lib/gdbserver-support.exp: Check the existence of
4064 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4066 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
4068 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4070 2016-09-21 Tom Tromey <tom@tromey.com>
4073 * gdb.base/quit.exp: New file.
4075 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
4077 * .gitignore: New file.
4079 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
4081 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4084 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4086 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4088 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4090 * gdb.cp/casts.cc (decltype): Move it ...
4091 (main): ... with its call to ...
4092 * gdb.cp/casts03.cc: ... a new file.
4093 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4095 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4097 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4099 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
4101 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
4102 and sync up the test with tests in gas/testsuite/gas/ppc.
4103 * gdb.arch/powerpc-power.exp: Likewise.
4105 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4107 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4109 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
4110 Jan Kratochvil <jan.kratochvil@redhat.com>
4112 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4113 make m1's definition to be different from m2's. Use 'dummy' as an
4114 argument for probe 'two'.
4116 2016-09-10 Jon Beniston <jon@beniston.com>
4118 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4121 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4123 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4124 variable declaration.
4125 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
4126 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4127 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4128 received HWCAP as its argument.
4130 2016-09-06 Pedro Alves <palves@redhat.com>
4132 * gdb.base/new-ui-pending-input.c: New file.
4133 * gdb.base/new-ui-pending-input.exp: New file.
4134 * gdb.exp (clear_gdb_spawn_id): New procedure.
4135 (with_spawn_id): Check whether gdb_spawn_id exists before
4136 referencing it. If gdb_spawn_id didn't exist on entry, clear it
4139 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4141 * gdb.base/float128.c: New file.
4142 * gdb.base/float128.exp: Likewise.
4143 * gdb.base/floatn.c: Likewise.
4144 * gdb.base/floatn.exp: Likewise.
4146 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4148 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4150 2016-09-05 Pedro Alves <palves@redhat.com>
4153 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4154 unwinders are immediately called as side effect of "source" or
4155 "disable unwinder" commands.
4156 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
4158 2016-09-02 Yao Qi <yao.qi@linaro.org>
4160 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4161 is true and $type is "float" or "double".
4163 2016-09-02 Yao Qi <yao.qi@linaro.org>
4165 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
4167 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
4168 * gdb.base/call-rt-st.exp: Likewise.
4169 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
4170 return value instead of gdb,skip_float_test.
4171 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
4172 (do_function_calls): Use its return value instead of
4173 gdb,skip_float_test.
4174 * gdb.base/finish.exp: Likewise.
4175 * gdb.base/funcargs.exp: Likewise.
4176 * gdb.base/return.exp: Likewise.
4177 * gdb.base/return2.exp: Likewise.
4178 * gdb.base/varargs.exp: Likewise.
4179 * lib/gdb.exp (gdb_skip_float_test): Change it to
4180 gdb_caching_proc. Detect the broken ptrace on arm-linux.
4182 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4184 * gdb.multi/tids.exp: Test "thread apply all".
4186 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4188 * gdb.base/default.exp (tty): Remove.
4190 2016-08-24 Kevin Buettner <kevinb@redhat.com>
4192 * gdb.python/py-recurse-unwind.c: New file.
4193 * gdb.python/py-recurse-unwind.py: New file.
4194 * gdb.python/py-recurse-unwind.exp: New file.
4196 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
4198 * gdb.base/set-inferior-tty.exp: New file.
4199 * gdb.base/set-inferior-tty.c: New file.
4201 2016-08-23 Pedro Alves <palves@redhat.com>
4204 * gdb.base/new-ui-echo.c: New file.
4205 * gdb.base/new-ui-echo.exp: New file.
4207 2016-08-23 Yao Qi <yao.qi@linaro.org>
4209 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
4211 * gdb.server/connect-without-multi-process.exp (do_test):
4214 2016-08-23 Yao Qi <yao.qi@linaro.org>
4216 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4217 standalone_txt. Delete gdb_txt and standalone_txt on host
4218 and target. Spawn the binary on target. Copy files from
4221 2016-08-22 Pedro Alves <palves@redhat.com>
4224 * gdb.base/vdso-warning.exp: Test core dumps too. Use
4225 with_test_prefix. Factor out bits to ...
4226 (test_no_vdso): ... this new procedure.
4228 2016-08-19 Carl Love <cel@us.ibm.com>
4230 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4231 maintaining separate logic for constructing the output path.
4232 * gdb.arch/powerpc-d128-regs.exp: Likewise.
4233 * gdb.arch/ppc-dfp.exp: Likewise.
4234 * gdb.arch/ppc-fp.exp: Likewise.
4235 * gdb.arch/vsx-regs.exp: Likewise.
4236 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
4237 binprefix for generating the additional binary files.
4239 2016-08-19 Pedro Alves <palves@redhat.com>
4241 * gdb.trace/mi-trace-frame-collected.exp
4242 (test_trace_frame_collected): On x32, expect two registers.
4244 2016-08-18 Carl Love <cel@us.ibm.com>
4246 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
4247 and sync up the test with tests in gas/testsuite/gas/ppc.
4248 * gdb.arch/powerpc-power.exp: Likewise.
4250 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4252 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
4253 expected error message.
4255 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4257 * gdb.multi/remove-inferiors.exp: New file.
4258 * gdb.multi/remove-inferiors.c: New file.
4260 2016-08-12 Yao Qi <yao.qi@linaro.org>
4262 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
4265 2016-08-10 Pedro Alves <palves@redhat.com>
4268 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
4271 2016-08-09 Pedro Alves <palves@redhat.com>
4272 Simon Marchi <simon.marchi@ericsson.com>
4275 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
4276 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
4278 2016-08-09 Pedro Alves <palves@redhat.com>
4281 * gdb.mi/mi-cmd-error.exp: New file.
4283 2016-08-09 Pedro Alves <palves@redhat.com>
4286 * gdb.base/signals-state-child.c: New file.
4287 * gdb.base/signals-state-child.exp: New file.
4288 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
4290 2016-08-09 Pedro Alves <palves@redhat.com>
4292 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4294 2016-08-03 Tom Tromey <tom@tromey.com>
4297 * gdb.python/py-frame-inline.exp: Add Frame.function test.
4299 2016-08-01 Yao Qi <yao.qi@linaro.org>
4301 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
4302 variable mode to "multi-process" if $multi_process is 1, otherwise
4303 set it to "single-process".
4305 2016-08-01 Yao Qi <yao.qi@linaro.org>
4307 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
4308 * gdb.cp/cpexprs.exp: Likewise.
4309 * gdb.cp/m-static.exp: Likewise.
4311 2016-07-26 Tom Tromey <tom@tromey.com>
4314 * gdb.threads/tls.exp (check_thread_local): Add python symbol
4317 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
4319 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4320 selecting assembly source files.
4321 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
4322 assembly source files.
4323 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
4324 assembly source files.
4325 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
4326 selecting assembly source files.
4328 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
4330 * gdb.base/new-ui.exp (do_test_invalid_args): New
4333 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
4335 * gdb.btrace/reconnect.c: New file.
4336 * gdb.btrace/reconnect.exp: New file.
4338 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
4340 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
4341 to test_catch_syscall_group.
4342 (test_catch_syscall_group): New.
4344 2016-07-21 Tom Tromey <tom@tromey.com>
4346 * gdb.rust/simple.rs (main): Use empty struct expression.
4347 * gdb.rust/simple.exp: Add tests for empty struct expression.
4349 2016-07-21 Yao Qi <yao.qi@linaro.org>
4351 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
4352 if gdb_skip_xml_test is true on some targets.
4354 2016-07-21 Yao Qi <yao.qi@linaro.org>
4356 * gdb.server/solib-list.exp: Unset last_loaded_file.
4358 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4360 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
4361 "step into captured_main (args)".
4363 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4365 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
4367 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4369 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
4371 2016-07-19 Pedro Alves <palves@redhat.com>
4373 * gdb.opt/inline-break.exp: Remove optimize=-O2.
4374 * gdb.opt/inline-bt.exp: Likewise.
4375 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
4376 additional_flags=-Winline.
4377 * gdb.opt/inline-locals.exp: Likewise.
4378 * gdb.opt/inline-markers.c (ATTR): Define.
4379 (inlined_fn): Use it.
4381 2016-07-19 Yao Qi <yao.qi@linaro.org>
4383 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
4384 (test_with_self): Remove some code. Remove argument executable.
4385 (top-level): Use do_self_tests.
4387 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
4388 Don Breazeal <donb@codesourcery.com>
4390 * gdb.base/maint.exp: Escape paths used in regular expressions.
4391 * gdb.stabs/weird.exp: Likewise.
4393 2016-07-13 Tom Tromey <tom@tromey.com>
4395 PR python/15620, PR python/18620:
4396 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
4397 (test_bkpt_events): New procs.
4399 2016-07-13 Tom Tromey <tom@tromey.com>
4402 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
4404 (test_watchpoints): Likewise.
4405 (test_bkpt_pending): New proc.
4407 2016-07-13 Tom Tromey <tom@tromey.com>
4410 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
4413 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4415 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
4416 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
4417 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
4419 (g): Rename g_end_lbl to g_label.
4420 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
4422 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
4424 2016-07-12 Tom Tromey <tom@tromey.com>
4427 * gdb.python/py-unwind-maint.exp: Update tests.
4429 2016-07-12 Yao Qi <yao.qi@linaro.org>
4431 * lib/selftest-support.exp (selftest_setup): Match the output
4432 when captured_main is inlined.
4434 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4436 * gdb.fortran/derived-types.exp (result_line, result_line_2):
4438 (print this%a, print this%b, print this): New tests.
4439 * gdb.fortran/derived-types.f90 (this): New object and
4442 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4444 * gdb.ada/arraydim.exp: Remove extra directory level in build
4447 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4449 * lib/ada.exp: Remove extra directory level in build directory.
4450 * gdb.ada/cond_lang.exp: Likewise.
4451 * gdb.ada/exec_changed.exp: Likewise.
4452 * gdb.ada/lang_switch.exp: Likewise.
4454 2016-07-06 Manish Goregaokar <manish@mozilla.com>
4456 * simple.rs: Add test for raw pointer subscripting.
4457 * simple.exp: Add test expectations.
4459 2016-07-05 Yao Qi <yao.qi@linaro.org>
4461 * gdb.mi/mi-reverse.exp: Match =record-started output.
4463 2016-07-01 Pedro Alves <palves@redhat.com>
4465 * gdb.base/jit-reader.exp (info_registers_current_frame): New
4467 (jit_reader_test): Test the jit reader's unwinder.
4468 * gdb.base/jithost.c (jit_function_00_code): New global.
4469 (main): Use memcpy to fill in the mmapped code, instead of poking
4470 bytes manually here.
4471 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
4473 (read_debug_info): Save the function's range.
4474 (read_sp): New function.
4475 (unwind_frame): Use it. Also unwind RBP.
4476 (get_frame_id): Use read_sp.
4477 (gdb_init_reader): Use calloc instead of malloc.
4478 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
4479 parameter. Use gdb_test_multiple.
4481 2016-07-01 Pedro Alves <palves@redhat.com>
4482 Antoine Tremblay <antoine.tremblay@ericsson.com>
4484 * gdb.threads/process-dies-while-detaching.c: New file.
4485 * gdb.threads/process-dies-while-detaching.exp: New file.
4487 2016-07-01 Pedro Alves <palves@redhat.com>
4489 * gdb.multi/watchpoint-multi-exit.c: New file.
4490 * gdb.multi/watchpoint-multi-exit.exp: New file.
4492 2016-06-30 Pedro Alves <palves@redhat.com>
4494 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
4495 unset inferior_spawn_id.
4497 2016-06-30 Pedro Alves <palves@redhat.com>
4499 * lib/mi-support.exp (default_mi_gdb_start): Declare global
4500 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
4502 2016-06-29 Yao Qi <yao.qi@linaro.org>
4504 * gdb.base/return.c: Add copyright header.
4506 2016-06-29 Tom Tromey <tom@tromey.com>
4509 * gdb.python/py-framefilter.exp: Add tests for setting priority
4510 and disabling of non-existent frame filter.
4512 2016-06-29 Yao Qi <yao.qi@linaro.org>
4514 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
4517 2016-06-28 Yao Qi <yao.qi@linaro.org>
4519 * gdb.base/catch-syscall.exp: Remove check on isnative and target
4520 triplets. Start gdb, execute catch syscall, and continue. Check
4521 gdb's output to determine catch syscall is supported.
4523 2016-06-27 Manish Goregaokar <manish@mozilla.com>
4525 * gdb.rust/simple.rs: Add test for returning unit in a function.
4526 * gdb.rust/simple.exp: Add expectation for functions returning
4529 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
4531 * gdb.python/py-breakpoint-create-fail.c,
4532 gdb.python/py-breakpoint-create-fail.exp,
4533 gdb.python/py-breakpoint-create-fail.py: New testcase.
4535 2016-06-25 Manish Goregaokar <manish@mozilla.com>
4538 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
4539 * gdb.rust/simple.exp: Add test expectations for new NonZero
4542 2016-06-24 David Taylor <dtaylor@emc.com>
4544 * gdb.base/offsets.exp: New file.
4545 * gdb.base/offsets.c: New file.
4547 2016-06-23 Tom Tromey <tom@tromey.com>
4550 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
4551 before any filters are loaded.
4553 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
4555 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
4556 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
4558 * gdb.fortran/derived-type-function.exp: New file.
4559 * gdb.fortran/derived-type-function.f90: New file.
4562 2016-06-21 Pedro Alves <palves@redhat.com>
4564 * gdb.base/new-ui.exp: New file.
4565 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
4566 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
4567 (with_spawn_id): New procedure.
4569 2016-06-21 Pedro Alves <palves@redhat.com>
4571 * gdb.mi/mi-exec-run.exp: New file.
4573 2016-06-21 Pedro Alves <palves@redhat.com>
4575 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
4576 breakpoint command's output on the main UI.
4577 (test_break): New procedure, factored out from calls in the top
4579 (top level): Use foreach_with_prefix to test MI as main UI and as
4582 2016-06-21 Pedro Alves <palves@redhat.com>
4584 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
4585 (test_awatch_creation_and_listing)
4586 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
4587 Remove 'type' parameter.
4588 (test_watchpoint_all): New parameter mi_mode. Remove
4590 (top level): Use foreach_with_prefix, and add main/separate UI MI
4593 2016-06-21 Pedro Alves <palves@redhat.com>
4595 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
4596 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
4597 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
4598 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
4599 (gdb_main_spawn_id, mi_spawn_id): Declare and
4601 (mi_create_inferior_pty): New procedure,
4602 factored out from default_mi_gdb_start.
4603 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
4605 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
4606 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
4607 Use mi_create_inferior_pty.
4608 (mi_gdb_start): Use eval to pass down args list.
4610 2016-06-21 Pedro Alves <palves@redhat.com>
4612 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
4613 * gdb.opt/inline-cmds.exp: Add MI tests.
4615 2016-06-21 Pedro Alves <palves@redhat.com>
4617 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
4619 2016-06-21 Pedro Alves <palves@redhat.com>
4621 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
4622 (top level): Use it instead of mi_execute_to.
4624 2016-06-21 Pedro Alves <palves@redhat.com>
4626 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
4627 (cont_handler_str): New.
4628 (signal_stop_handler): Set stop_handler_str instead of printing to
4630 (continue_handler): Set cont_handler_str instead of printing to
4632 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
4633 mi_send_resuming_command. Print stop_handler_str and
4634 cont_handler_str instead of expecting the python events print
4637 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
4639 * gdb.base/jit-reader.exp: New file.
4640 * gdb.base/jithost.c: New file.
4641 * gdb.base/jithost.h: New file.
4642 * gdb.base/jitreader.c : New file.
4643 * gdb.base/jit-protocol.h: New file.
4645 2016-06-17 Yao Qi <yao.qi@linaro.org>
4647 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
4648 parameters follow_fork and detach_on_fork. Set follow-fork-mode
4649 and detach-on-fork. Adjust tests.
4650 (top level): Invoke break_cond_on_syscall with combinations of
4651 syscall, follow-fork-mode and detach-on-fork.
4653 2016-06-17 Yao Qi <yao.qi@linaro.org>
4655 * gdb.base/step-over-exit.c: New.
4656 * gdb.base/step-over-exit.exp: New.
4658 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
4660 * gdb.base/float.exp: Add target check for nds32*-*-*.
4661 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
4663 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
4665 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
4666 for unsupported target features.
4667 * gdb.base/call-rt-st.exp: Likewise.
4668 * gdb.base/call-sc.exp: Likewise.
4669 * gdb.base/call-signal-resume.exp: Likewise.
4670 * gdb.base/call-strs.exp: Likewise.
4671 * gdb.base/callexit.exp: Likewise.
4672 * gdb.base/callfuncs.exp: Likewise.
4673 * gdb.base/nodebug.exp: Likewise.
4674 * gdb.base/printcmds.exp: Likewise.
4675 * gdb.base/ptype.exp: Likewise.
4676 * gdb.base/structs.exp: Likewise.
4677 * gdb.base/unwindonsignal.exp: Likewise.
4678 * gdb.cp/gdb2495.exp: Likewise.
4679 * gdb.cp/templates.exp: Likewise.
4680 * gdb.cp/virtfunc.exp: Likewise.
4681 * gdb.threads/hand-call-in-threads.exp: Likewise.
4682 * gdb.threads/interrupted-hand-call.exp: Likewise.
4683 * gdb.threads/thread-unwindonsignal.exp: Likewise.
4685 2016-06-10 Tom Tromey <tom@tromey.com>
4688 * gdb.rust/expr.exp: Add test for integer constant larger than
4691 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
4693 * gdb.fortran/nested-funcs.exp: New.
4694 * gdb.fortran/nested-funcs.f90: New.
4696 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
4698 * gdb.base/examine-backward.c: New file.
4699 * gdb.base/examine-backward.exp: New file.
4701 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
4703 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
4706 2016-06-02 Tom Tromey <tom@tromey.com>
4709 * gdb.python/py-shared.exp: Add solib_name test.
4711 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
4713 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
4715 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
4718 * gdb.dwarf2/implref.exp: Rename to...
4719 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
4720 * gdb.dwarf2/implref-array.c: New file.
4721 * gdb.dwarf2/implref-array.exp: Likewise.
4722 * gdb.dwarf2/implref-global.c: Likewise.
4723 * gdb.dwarf2/implref-global.exp: Likewise.
4724 * gdb.dwarf2/implref-struct.c: Likewise.
4725 * gdb.dwarf2/implref-struct.exp: Likewise.
4727 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4729 * gdb.trace/trace-condition.exp: Add 64bit tests.
4731 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4733 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
4735 (main): Adapt to 8 to 64 bits types.
4736 * gdb.trace/trace-condition.exp: Add new tests.
4738 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4740 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
4742 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4744 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
4745 Move condition tests...
4746 * gdb.trace/trace-condition.exp: Here.
4748 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4750 * gdb.trace/trace-condition.exp: Add counter-case tests.
4752 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4755 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
4756 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
4758 2016-05-27 Pedro Alves <palves@redhat.com>
4760 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4762 (top level): Call it, and bail out of DejaGnu is known to be bad.
4764 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
4766 * gdb.base/whatis.c: Extend the test case.
4767 * gdb.base/whatis.exp: Add additional tests.
4769 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4771 * gdb.fortran/type.f90: Add pointer variable.
4772 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
4774 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4776 * gdb.fortran/vla-type.exp: Fix testcase name.
4778 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4780 * gdb.fortran/vla-type.exp: Access elements in nested structs.
4782 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4784 * gdb.fortran/type.f90: Add nested structures.
4785 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
4786 * gdb.fortran/derived-type.exp: Adapt expected output.
4787 * gdb.fortran/vla-type.exp: Adapt expected output.
4789 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4791 * gdb.fortran/whatis_type.exp: Adapt expected output.
4793 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4795 * gdb.fortran/print_type.exp: Fix expected output.
4796 * gdb.fortran/whatis_type.exp: Fix expected output.
4798 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4800 * gdb.fortran/whatis_type.exp: Use multi_line.
4802 2016-05-24 Tom Tromey <tom@tromey.com>
4805 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
4806 use value as an index.
4808 2016-05-23 Tom Tromey <tom@tromey.com>
4811 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
4814 2016-05-24 Pedro Alves <palves@redhat.com>
4817 * gdb.threads/clone-attach-detach.c: New file.
4818 * gdb.threads/clone-attach-detach.exp: New file.
4820 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
4822 * gdb.base/annota-input-while-running.exp: Fix syntax error.
4824 2016-05-23 Tom Tromey <tom@tromey.com>
4826 PR python/19438, PR python/18393:
4827 * gdb.python/py-progspace.exp: Add "dir" test.
4828 * gdb.python/py-objfile.exp: Add "dir" test.
4830 2016-05-23 Yao Qi <yao.qi@linaro.org>
4832 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
4833 * gdb.arch/thumb2-it.exp: Likewise.
4835 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
4837 * gdb.mi/mi-threads-interrupt.c: New file.
4838 * gdb.mi/mi-threads-interrupt.exp: New file.
4840 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
4843 * gdb.mi/mi-async-run.exp: New file.
4844 * gdb.mi/mi-async-run.c: New file.
4846 2016-05-17 Tom Tromey <tom@tromey.com>
4847 Manish Goregaokar <manishsmail@gmail.com>
4849 * lib/rust-support.exp: New file.
4850 * lib/gdb.exp (skip_rust_tests): New proc.
4851 (build_executable_from_specs): Handle rust.
4852 * lib/future.exp (gdb_find_rustc): New proc.
4853 (gdb_default_target_compile): Handle rust.
4854 * gdb.rust/expr.exp: New file.
4855 * gdb.rust/generics.exp: New file.
4856 * gdb.rust/generics.rs: New file.
4857 * gdb.rust/methods.exp: New file.
4858 * gdb.rust/methods.rs: New file.
4859 * gdb.rust/modules.exp: New file.
4860 * gdb.rust/modules.rs: New file.
4861 * gdb.rust/simple.exp: New file.
4862 * gdb.rust/simple.rs: New file.
4864 2016-05-17 Tom Tromey <tom@tromey.com>
4866 * gdb.base/default.exp (set language): Add rust.
4868 2016-05-17 Tom Tromey <tom@tromey.com>
4870 * gdb.gdb/unittest.exp: New file.
4872 2016-05-16 Yao Qi <yao.qi@linaro.org>
4874 * gdb.base/batch-preserve-term-settings.exp: Remove variable
4875 shell_prompt. Update shell_prompt_re.
4877 2016-05-12 Doug Evans <dje@google.com>
4880 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
4881 $options when building executable.
4882 * gdb.dwarf2/fission-loclists-pie.S: New file.
4883 * gdb.dwarf2/fission-loclists-pie.exp: New file.
4885 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
4887 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
4888 of [is_remote target],
4890 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
4892 * lib/gdb.exp (use_gdb_stub): New procedure.
4894 2016-05-03 Yunlian Jiang <yunlian@google.com>
4895 Doug Evans <dje@google.com>
4898 * gdb.dwarf2/dwp-sepdebug.c: New file.
4899 * gdb.dwarf2/dwp-sepdebug.exp: New file.
4901 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
4903 * gdb.base/detach.exp: Remove is_remote check.
4905 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
4907 * gdb.base/annota-input-while-running.exp: Don't check for
4908 [is_remote target]. Enable annotations after running to main.
4909 Remove unused "set test..." line.
4911 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
4913 * gdb.trace/trace-enable-disable.exp: New file.
4914 * gdb.trace/trace-enable-disable.c: New file.
4916 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
4918 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
4919 use it in info sharedlibrary test.
4920 * gdb.trace/ftrace-lock.exp: Likewise.
4921 * gdb.trace/ftrace.exp: Likewise.
4922 * gdb.trace/range-stepping.exp: Likewise.
4923 * gdb.trace/trace-break.exp: Likewise.
4924 * gdb.trace/trace-condition.exp: Likewise.
4925 * gdb.trace/trace-mt.exp: Likewise.
4927 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
4929 * lib/gdb.exp (gdb_load_shlibs): Rename to...
4930 (gdb_load_shlib): ... this.
4931 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
4933 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
4934 * gdb.base/ctxobj.exp: Likewise.
4935 * gdb.base/dprintf-pending.exp: Likewise.
4936 * gdb.base/dso2dso.exp: Likewise.
4937 * gdb.base/fixsection.exp: Likewise.
4938 * gdb.base/gcore-relro.exp: Likewise.
4939 * gdb.base/gdb1555.exp: Likewise.
4940 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4941 * gdb.base/gnu-ifunc.exp: Likewise.
4942 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
4943 * gdb.base/jit-so.exp (one_jit_test): Likewise.
4944 * gdb.base/pending.exp: Likewise.
4945 * gdb.base/print-file-var.exp: Likewise.
4946 * gdb.base/print-symbol-loading.exp: Likewise.
4947 * gdb.base/shlib-call.exp: Likewise.
4948 * gdb.base/shreloc.exp: Likewise.
4949 * gdb.base/so-impl-ld.exp: Likewise.
4950 * gdb.base/solib-disc.exp: Likewise.
4951 * gdb.base/solib-nodir.exp: Likewise.
4952 * gdb.base/solib-overlap.exp: Likewise.
4953 * gdb.base/solib-symbol.exp: Likewise.
4954 * gdb.base/solib-weak.exp (do_test): Likewise.
4955 * gdb.base/sym-file.exp: Likewise.
4956 * gdb.base/symtab-search-order.exp: Likewise.
4957 * gdb.base/type-opaque.exp: Likewise.
4958 * gdb.base/unload.exp: Likewise.
4959 * gdb.base/watchpoint-solib.exp: Likewise.
4960 * gdb.compile/compile.exp: Likewise.
4961 * gdb.cp/gdb2384.exp: Likewise.
4962 * gdb.cp/infcall-dlopen.exp: Likewise.
4963 * gdb.cp/re-set-overloaded.exp: Likewise.
4964 * gdb.fortran/library-module.exp: Likewise.
4965 * gdb.opt/solib-intra-step.exp: Likewise.
4966 * gdb.python/py-finish-breakpoint.exp: Likewise.
4967 * gdb.python/py-shared.exp: Likewise.
4968 * gdb.reverse/solib-precsave.exp: Likewise.
4969 * gdb.reverse/solib-reverse.exp: Likewise.
4970 * gdb.server/solib-list.exp: Likewise.
4971 * gdb.threads/dlopen-libpthread.exp: Likewise.
4972 * gdb.threads/tls-shared.exp: Likewise.
4973 * gdb.threads/tls-so_extern.exp: Likewise.
4974 * gdb.trace/change-loc.exp: Likewise.
4975 * gdb.trace/ftrace-lock.exp: Likewise.
4976 * gdb.trace/ftrace.exp: Likewise.
4977 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
4978 * gdb.trace/pending.exp: Likewise.
4979 * gdb.trace/range-stepping.exp: Likewise.
4980 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
4981 (strace_info_marker): Likewise.
4982 (strace_probe_marker): Likewise.
4983 (strace_trace_on_same_addr): Likewise.
4984 (strace_trace_on_diff_addr): Likewise.
4985 * gdb.trace/trace-break.exp: Likewise.
4986 * gdb.trace/trace-condition.exp: Likewise.
4987 * gdb.trace/trace-mt.exp: Likewise.
4989 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
4991 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
4992 result of gdb_remote_download.
4993 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
4994 * gdb.base/dso2dso.exp: Likewise.
4995 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4996 * gdb.base/print-file-var.exp: Likewise.
4997 * gdb.base/shlib-call.exp: Likewise.
4998 * gdb.base/shreloc.exp: Likewise.
4999 * gdb.base/solib-overlap.exp: Likewise.
5000 * gdb.base/solib-weak.exp (do_test): Likewise.
5001 * gdb.base/unload.exp: Likewise.
5003 2016-04-27 Yao Qi <yao.qi@linaro.org>
5005 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5008 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5010 * vla-type.exp: Print structure from toplevel.
5012 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5014 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5016 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5019 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5021 * gdb.fortran/vla-type.f90: New file.
5022 * gdb.fortran/vla-type.exp: New file.
5024 2016-04-25 Yao Qi <yao.qi@linaro.org>
5026 * gdb.base/branch-to-self.c: New file.
5027 * gdb.base/branch-to-self.exp: New file.
5029 2016-04-22 Yao Qi <yao.qi@linaro.org>
5031 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
5034 2016-04-22 Yao Qi <yao.qi@linaro.org>
5036 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
5037 * gdb.base/annota3.exp: Likewise.
5039 2016-04-22 Yao Qi <yao.qi@linaro.org>
5041 * gdb.reverse/step-precsave.exp: Do one step and test program
5042 stops in "callee" and do multiple steps until program goes out
5044 * gdb.reverse/step-reverse.exp: Likewise.
5046 2016-04-22 Yao Qi <yao.qi@linaro.org>
5048 * gdb.trace/signal.exp: Also pass if
5049 $tracepoint_hits($i) > $iterations.
5051 2016-04-22 Yao Qi <yao.qi@linaro.org>
5053 * gdb.trace/signal.c: New file.
5054 * gdb.trace/signal.exp: New file.
5056 2016-04-19 Doug Evans <xdje42@gmail.com>
5058 * gdb.base/bad-file.exp: New file.
5060 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
5062 * gdb.dwarf2/implref.exp: New file.
5064 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5066 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5067 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5068 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5069 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5070 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5071 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5072 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5073 * lib/fortran.exp (fortran_int4): New procedure.
5074 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5075 (fortran_logical4): Likewise.
5077 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
5079 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5081 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5083 * lib/compiler.c: Add Intel specific preprocessor macros.
5084 * lib/compiler.cc: Likewise.
5086 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
5088 * gdb.server/connect-with-no-symbol-file.c: New file.
5089 * gdb.server/connect-with-no-symbol-file.exp: New file.
5091 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5093 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5095 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5097 * boards/gdbserver-base.exp (${board}_download): Copy source file to
5098 standard output directory.
5100 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
5102 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5104 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
5106 * gdb.btrace/instruction_history.c (loop): Add declaration.
5108 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5110 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5112 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
5114 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5115 parentheses to print.
5116 (continue_handler): Likewise.
5118 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
5120 * gdb.server/solib-list.exp: Remove is_remote check.
5121 Pass shlib= to gdb_compile. Don't link shared library with
5122 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
5123 Run binary filename through "readlink -f" on the target.
5125 2016-04-08 Pedro Alves <palves@redhat.com>
5127 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
5128 interpreter filename as argument to gdbserver_spawn.
5129 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5130 Return empty if $last_loaded_file does not exist.
5132 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5134 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5135 * gdb.base/jit-main.c: Use exit after usage.
5137 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5139 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5140 GDBHISTSIZE prior to the tests.
5141 * gdb.base/gdbinit-history.exp: Likewise.
5143 2016-04-07 Pedro Alves <palves@redhat.com>
5145 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5146 instead of build_executable. Use gdb_load_shlibs.
5148 2016-04-07 Yao Qi <yao.qi@linaro.org>
5150 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5151 Execute "si" command.
5153 2016-04-07 Yao Qi <yao.qi@linaro.org>
5155 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5156 number instead of the comments on some line.
5158 2016-04-06 Don Breazeal <donb@codesourcery.com>
5160 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
5161 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
5163 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
5165 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
5166 standard_output_file. Remove unused binfile variable.
5168 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
5170 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
5171 * gdb.python/py-mi-objfile.exp: Match "list main" output
5174 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
5176 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
5179 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5181 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
5183 * gdb.trace/ftrace.exp: Likewise.
5184 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
5186 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
5187 (gdb_load_shlibs): Copy libraries to test directory when testing
5188 natively. Only set solib-search-path if testing remotely.
5189 * lib/mi-support.exp (mi_load_shlibs): Likewise.
5191 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5193 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
5194 gdb_download. Use it even if the target is not remote.
5195 * gdb.base/jit.exp (compile_jit_test): Likewise.
5196 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
5197 output directory if the destination board is local, otherwise use
5198 the standard remote_download from DejaGnu.
5199 (gdb_download): Remove.
5200 (gdb_load_shlibs): Use gdb_remote_download instead of
5202 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5203 Use gdb_remote_download instead of gdb_download. Use it even if
5204 the target is not remote.
5205 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
5206 instead of gdb_download.
5208 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
5210 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
5211 (test_insert_delete_modify): Call mi_load_shlibs before trying to
5214 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
5217 * gdb.base/printcmds.exp: Add artificial arrays tests.
5219 2016-03-31 Pedro Alves <palves@redhat.com>
5222 * gdb.base/jit-main.c: Include unistd.h.
5223 (ATTACH): Define to 0 if not already defined.
5224 (wait_for_gdb, mypid): New globals.
5225 (WAIT_FOR_GDB): New macro.
5226 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
5227 some breakpoint locations.
5228 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
5230 (one_jit_test): Add REATTACH parameter, and handle it. Use
5231 continue_to_test_location.
5232 (top level): Test attach, and adjusts calls to one_jit_test.
5234 2016-03-31 Pedro Alves <palves@redhat.com>
5237 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
5238 BINSUFFIX parameter, and handle it.
5239 (top level): Adjust calls compile_jit_test.
5241 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
5244 * gdb.python/py-mi-events-gdb.py: New file.
5245 * gdb.python/py-mi-events.c: New file.
5246 * gdb.python/py-mi-events.exp: New file.
5248 2016-03-30 Yao Qi <yao.qi@linaro.org>
5250 * gdb.reverse/until-precsave.exp: Match function name only.
5251 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
5252 Move malloc to a condition block.
5253 * gdb.reverse/until-reverse.exp: Match function name only.
5255 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
5257 * gdb.trace/ftrace.exp: Set arg0exp for s390.
5258 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
5259 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
5260 variable for GPR 0 instead of assuming it is register 0.
5261 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
5262 * lib/trace-support.exp: Add s390 registers.
5264 2016-03-29 Yao Qi <yao.qi@linaro.org>
5266 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
5268 2016-03-24 Yao Qi <yao.qi@linaro.org>
5270 * gdb.reverse/break-reverse.exp: Add quotation mark in the
5273 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5275 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
5276 maintaining separate logic for constructing the output path.
5278 2016-03-16 Don Breazeal <donb@codesourcery.com>
5280 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5281 Retry fork and waitpid on interrupted system call errors.
5282 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5283 Use with_timeout_factor to increase timeout by factor of 10.
5285 2016-03-15 Don Breazeal <donb@codesourcery.com>
5287 * gdb.cp/scope-err.cc: New test program.
5288 * gdb.cp/scope-err.exp: New test script.
5289 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
5290 lines and "set breakpoint here" comment.
5291 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
5292 Fixed some whitespace and format issues.
5293 * gdb.mi/mi-linespec-err-cp.cc: New test program.
5294 * gdb.mi/mi-linespec-err-cp.exp: New test script.
5296 2016-03-15 Doug Evans <dje@google.com>
5298 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
5299 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
5300 All callers updated. Add tests for enums, mixed flags register.
5302 2016-03-15 Doug Evans <dje@google.com>
5304 * gdb.base/skip.c (main): Call test_skip_file_and_function.
5305 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
5307 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
5309 * gdb.base/default.exp: Add $_as_string to the list of expected
5310 convenience functions.
5312 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
5314 * gdb.base/maint.exp: New tests for 'maint info line-table'.
5316 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
5318 * gdb.python/py-as-string.exp: New file.
5319 * gdb.python/py-as-string.c: New file.
5321 2016-03-09 Pedro Alves <palves@redhat.com>
5323 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
5324 signal" -> "Thread NN received signal" output change.
5325 * gdb.threads/ia64-sigill.exp: Likewise.
5326 * gdb.threads/linux-dp.exp: Likewise.
5327 * gdb.threads/manythreads.exp: Likewise.
5328 * gdb.threads/pending-step.exp: Likewise.
5329 * gdb.threads/print-threads.exp: Likewise.
5330 * gdb.threads/sigstep-threads.exp: Likewise.
5331 * gdb.threads/staticthreads.exp: Likewise.
5332 * gdb.threads/tls.exp: Likewise.
5334 2016-03-09 Pedro Alves <palves@redhat.com>
5336 * gdb.base/command-line-input.exp: New file.
5338 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5340 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
5341 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
5342 * gdb.trace/pending.exp: Accept leading dot before function name.
5343 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
5344 * lib/trace-support.exp: Set registers for ppc.
5346 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5348 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
5349 use it for disassembly; accept .main in addition to main in backtrace.
5351 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
5352 Marcin Kościelnicki <koriakin@0x04.net>
5354 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
5355 (gdb_recursion_test_ptr): New global variable.
5356 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
5358 (gdb_c_test): Ditto.
5360 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5362 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
5365 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5367 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
5368 (bar): Add bar_start_lbl label.
5369 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
5370 of foo/bar for emitting DWARF and tracing.
5372 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
5374 * analyze-racy-logs.py: Set executable bit.
5376 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
5378 * Makefile.in (DEFAULT_RACY_ITER): New variable.
5379 (CHECK_TARGET_TMP): Likewise.
5380 (check-single-racy): New rule.
5381 (check-parallel-racy): Likewise.
5382 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
5383 (do-check-parallel-racy): New rule.
5384 (check-racy/%.exp): Likewise.
5385 * README (Racy testcases): New section.
5386 * analyze-racy-logs.py: New file.
5388 2016-03-03 Doug Evans <dje@google.com>
5390 * gdb.base/skip.exp: Use with_test_prefix.
5392 2016-03-03 Yao Qi <yao.qi@linaro.org>
5394 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
5395 Invoke step_over_syscall "clone" and break_cond_on_syscall
5397 * gdb.base/step-over-clone.c: New file.
5399 2016-03-03 Yao Qi <yao.qi@linaro.org>
5401 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
5404 2016-03-03 Yao Qi <yao.qi@linaro.org>
5406 * gdb.base/disp-step-fork.c: Rename to ...
5407 * gdb.base/step-over-fork.c: ... it. New file.
5408 * gdb.base/disp-step-vfork.c: Rename to ...
5409 * gdb.base/step-over-vfork.c: ... it. New file.
5410 * gdb.base/disp-step-syscall.exp: Rename to ...
5411 * gdb.base/step-over-syscall.exp: ... it. New file.
5412 (disp_step_cross_syscall): Rename to ...
5413 (step_over_syscall): ... it.
5415 2016-03-03 Yao Qi <yao.qi@linaro.org>
5417 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
5418 If target supports condition evaluation on target, invoke
5419 break_cond_on_syscall for fork and vfork.
5421 2016-03-03 Yao Qi <yao.qi@linaro.org>
5423 * gdb.base/disp-step-syscall.exp: Don't invoke
5424 support_displaced_stepping.
5425 (disp_step_cross_syscall): Test with displaced stepping off and
5428 2016-03-03 Yao Qi <yao.qi@linaro.org>
5430 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
5433 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
5436 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5438 * gdb.fortran/vla-history.exp: Remove breakpoint.
5440 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5442 * gdb.fortran/vla-history.exp: Lookup array elements and printing
5445 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5447 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
5450 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5452 * gdb.mi/vla.f90: Nullify pointer after declaration.
5454 2016-03-01 Pedro Alves <palves@redhat.com>
5456 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
5458 2016-03-01 Pedro Alves <palves@redhat.com>
5460 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
5461 before anything else.
5462 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
5464 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
5465 before anything else.
5466 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
5468 2016-03-01 Pedro Alves <palves@redhat.com>
5470 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
5472 2016-03-01 Yao Qi <yao.qi@linaro.org>
5474 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
5475 prepare_for_testing.
5477 2016-03-01 Yao Qi <yao.qi@linaro.org>
5479 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
5481 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5483 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
5484 manually constructing the output path.
5486 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5488 * gdb.arch/s390-stackless.S: New.
5489 * gdb.arch/s390-stackless.exp: New.
5491 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
5493 * gdb.dlang/circular.c: New file.
5494 * gdb.dlang/circular.exp: New file.
5496 2016-02-26 Yao Qi <yao.qi@linaro.org>
5498 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
5499 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
5500 (testcases): Update.
5502 2016-02-26 Yao Qi <yao.qi@linaro.org>
5504 * gdb.reverse/aarch64.c: Rename to ...
5505 * gdb.reverse/insn-reverse.c: ... it.
5506 * gdb.reverse/aarch64.exp: Rename to ...
5507 * gdb.reverse/insn-reverse.exp: ... it.
5509 2016-02-26 Yao Qi <yao.qi@linaro.org>
5511 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
5512 (testcase_ftype): New.
5513 (testcases): New array.
5515 (main): Call each element in testcases.
5516 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
5517 (read_testcase): New.
5518 Do the tests in a loop.
5520 2016-02-25 Yao Qi <yao.qi@linaro.org>
5522 * gdb.base/branches.c: Remove.
5524 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5527 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
5529 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5531 * gdb.trace/ftrace.exp: Remove unnecessary target check.
5533 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5535 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
5536 change x86_64 call_insn to 'callq'.
5538 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5540 * gdb.trace/tfile-avx.c: Move to...
5541 * gdb.trace/tracefile-pseudo-reg.c: Here.
5542 * gdb.trace/tfile-avx.exp: Move to...
5543 * gdb.trace/tracefile-pseudo-reg.exp: Here.
5545 2016-02-24 Gary Benson <gbenson@redhat.com>
5547 * gdb.base/attach-pie-noexec.exp: Do not expect an error
5550 2016-02-23 Doug Evans <dje@google.com>
5552 * gdb.base/skip.c (test_skip): New function.
5553 (end_test_skip_file_and_function): New function.
5554 (test_skip_file_and_function): New function.
5555 * gdb.base/skip1.c (test_skip): New function.
5556 (skip1_test_skip_file_and_function): New function.
5557 * gdb.base/skip.exp: Add tests for new skip options.
5558 * gdb.base/skip-solib.exp: Update expected output.
5559 * gdb.perf/skip-command.cc: New file.
5560 * gdb.perf/skip-command.exp: New file.
5561 * gdb.perf/skip-command.py: New file.
5563 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
5565 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
5566 info registers pattern.
5568 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
5570 * lib/future.exp: Add D support.
5571 (gdb_find_gdc): New proc.
5572 (gdb_default_target_compile): Add D support.
5574 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
5576 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
5578 (trace_speed_test): Determine the iteration count for a time
5579 between 15..30 seconds.
5581 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
5583 * gdb.arch/i386-mpx-sigsegv.c: New file.
5584 * gdb.arch/i386-mpx-sigsegv.exp: New file.
5585 * gdb.arch/i386-mpx-simple_segv.c: New file.
5586 * gdb.arch/i386-mpx-simple_segv.exp: New file.
5588 2016-02-18 Yao Qi <yao.qi@linaro.org>
5590 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5591 Don't call setup_kfail.
5593 2016-02-18 Yao Qi <yao.qi@linaro.org>
5595 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5596 Set "set breakpoint condition-evaluation" per $cond_bp_target.
5598 2016-02-16 Doug Evans <dje@google.com>
5600 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
5601 * gdb.base/skip1.c: Ditto.
5602 * gdb.base/skip.exp: Whitespace cleanup.
5604 2016-02-16 Don Breazeal <donb@codesourcery.com>
5607 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5608 Remove kfail for PR remote/19496.
5610 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5612 * lib/gdb.exp (standard_temp_file): Return a path specific to
5613 the runtest invocation.
5615 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5617 * gdb.trace/save-trace.exp: Change relative path to be in the
5618 standard output directory.
5620 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5622 * gdb.arch/i386-prologue.c: Add missing prototypes.
5624 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5626 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
5627 * gdb.arch/i386-prologue.exp: Likewise.
5628 * gdb.arch/i386-size.exp: Likewise.
5630 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
5632 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
5633 define object file path.
5634 * gdb.btrace/gcore.exp: Use standard_output_file to define core
5636 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
5637 standard_output_file to define binfile.
5639 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5641 Fix compatibility with recent gfortran-5.3.1.
5642 * gdb.fortran/vla-history.exp (print vla1 allocated)
5643 (print vla2 allocated, print $2, print $3): Remove
5644 (print $4): Rename to ...
5645 (print $2): ... here.
5646 (print $9): Rename to ...
5647 (print $5): ... here.
5648 (print $10): Rename to ...
5649 (print $6): ... here.
5650 * gdb.fortran/vla.f90: Add pvla initialization.
5652 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5654 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
5656 * gdb.fortran/vla-value-sub.exp: Likewise.
5658 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
5660 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
5662 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
5664 * i386-biarch-core.exp: Define corefile using
5665 standard_output_file.
5667 2016-02-12 Yao Qi <yao.qi@linaro.org>
5669 * gdb.arch/arm-single-step-kernel-helper.c: New.
5670 * gdb.arch/arm-single-step-kernel-helper.exp: New.
5672 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
5674 * gdb.btrace/tailcall-only.exp: New.
5675 * gdb.btrace/tailcall-only.c: New.
5676 * gdb.btrace/x86_64-tailcall-only.S: New.
5677 * gdb.btrace/i686-tailcall-only.S: New.
5679 2016-02-11 Pedro Alves <palves@redhat.com>
5681 * README (Parallel testing): Add missing double quotes.
5683 2016-02-11 Pedro Alves <palves@redhat.com>
5685 * README (Parallel testing): New section.
5686 (GDB_PARALLEL): Rewrite.
5687 (FORCE_PARALLEL): Document.
5689 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
5691 * gdb.trace/tfile-avx.c: New test.
5692 * gdb.trace/tfile-avx.exp: New test.
5694 2016-02-09 Keith Seitz <keiths@redhat.com>
5696 PR breakpoints/19546
5697 * gdb.base/infcall-exec.c: New file.
5698 * gdb.base/infcall-exec2.c: New file.
5699 * gdb.base/infcall-exec.exp: New file.
5701 2016-02-09 Keith Seitz <keiths@redhat.com>
5703 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
5704 (toplevel): Call test_bkpt_address.
5706 2016-02-09 Keith Seitz <keiths@redhat.com>
5709 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
5710 (toplevel): Call test_bkpt_address.
5712 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
5714 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
5716 * configure: Regenerate.
5718 2016-02-09 Pedro Alves <palves@redhat.com>
5720 PR breakpoints/19548
5721 * gdb.base/execl-update-breakpoints.c (some_function): New
5724 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
5725 Tighten expected GDB output.
5727 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
5729 * Makefile.in (ALL_SUBDIRS): Remove.
5730 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
5731 (distclean maintainer-clean realclean): Likewise.
5732 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
5733 * configure: Regenerate.
5734 * gdb.ada/Makefile.in: Delete.
5735 * gdb.arch/Makefile.in: Likewise.
5736 * gdb.asm/Makefile.in: Likewise.
5737 * gdb.base/Makefile.in: Likewise.
5738 * gdb.btrace/Makefile.in: Likewise.
5739 * gdb.cell/Makefile.in: Likewise.
5740 * gdb.compile/Makefile.in: Likewise.
5741 * gdb.cp/Makefile.in: Likewise.
5742 * gdb.disasm/Makefile.in: Likewise.
5743 * gdb.dlang/Makefile.in: Likewise.
5744 * gdb.dwarf2/Makefile.in: Likewise.
5745 * gdb.fortran/Makefile.in: Likewise.
5746 * gdb.gdb/Makefile.in: Likewise.
5747 * gdb.go/Makefile.in: Likewise.
5748 * gdb.guile/Makefile.in: Likewise.
5749 * gdb.java/Makefile.in: Likewise.
5750 * gdb.linespec/Makefile.in: Likewise.
5751 * gdb.mi/Makefile.in: Likewise.
5752 * gdb.modula2/Makefile.in: Likewise.
5753 * gdb.multi/Makefile.in: Likewise.
5754 * gdb.objc/Makefile.in: Likewise.
5755 * gdb.opencl/Makefile.in: Likewise.
5756 * gdb.opt/Makefile.in: Likewise.
5757 * gdb.pascal/Makefile.in: Likewise.
5758 * gdb.perf/Makefile.in: Likewise.
5759 * gdb.python/Makefile.in: Likewise.
5760 * gdb.reverse/Makefile.in: Likewise.
5761 * gdb.server/Makefile.in: Likewise.
5762 * gdb.stabs/Makefile.in: Likewise.
5763 * gdb.threads/Makefile.in: Likewise.
5764 * gdb.trace/Makefile.in: Likewise.
5765 * gdb.xml/Makefile.in: Likewise.
5766 * lib/gdb.exp (make_gdb_parallel_path): Add check for
5768 (standard_output_file): Remove check for GDB_PARALLEL, always
5769 return path in outputs/$subdir/$testname.
5771 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
5773 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
5774 (site.exp): Assign abs_srcdir to tcl's srcdir.
5776 2016-02-04 Yao Qi <yao.qi@linaro.org>
5778 * gdb.base/foll-exec-mode.c: Include limits.h.
5779 (main): Add parameters argc and argv. Get directory from
5781 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
5783 * gdb.base/foll-exec.c: Include limits.h.
5784 (main): Add parameters argc and argv.
5785 Get directory from argv[0].
5786 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
5787 Adjust tests on the number of lines as source code changed.
5788 * gdb.base/foll-vfork-exit.c: Include limits.h.
5789 (main): Add one line of statement before vfork.
5790 * gdb.base/foll-vfork.c: Include limits.h and string.h.
5791 (main): Add parameters argc and argv. Get directory from
5793 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
5794 (setup_gdb): Set tbreak to skip some source lines.
5795 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
5796 (main): Add parameters argc and argv. Get directory from
5798 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
5800 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
5801 (main): Add parameters argc and argv. Get directory from
5803 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
5806 2016-02-01 Doug Evans <dje@google.com>
5808 * gdb.base/skip.exp: Clean up multiple references to same test name.
5810 2016-02-01 Pedro Alves <palves@redhat.com>
5813 * gdb.threads/forking-threads-plus-breakpoint.exp
5814 (displaced_stepping_supported): New global.
5815 (probe_displaced_stepping_support): New procedure.
5816 (do_test): Add 'displaced' parameter, and use it.
5817 (top level): Check for displaced stepping support. Add displaced
5818 stepping on/off testing axis.
5820 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
5822 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
5823 pointer. Don't perform further tests on the unassociated pointer
5824 if the first test fails.
5826 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
5828 * gdb.base/max-value-size.c: New file.
5829 * gdb.base/max-value-size.exp: New file.
5830 * gdb.base/huge.exp: Disable max-value-size for this test.
5832 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
5834 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
5836 2016-01-28 Yao Qi <yao.qi@linaro.org>
5838 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
5840 2016-01-25 Pedro Alves <palves@redhat.com>
5843 * gdb.base/fork-running-state.c: New file.
5844 * gdb.base/fork-running-state.exp: New file.
5846 2016-01-25 Pedro Alves <palves@redhat.com>
5849 * gdb.base/catch-fork-kill.c: New file.
5850 * gdb.base/catch-fork-kill.exp: New file.
5852 2016-01-25 Pedro Alves <palves@redhat.com>
5854 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
5855 Delete, moved to lib/gdb.exp.
5856 * gdb.threads/forking-threads-plus-breakpoint.exp
5857 (foreach_with_prefix): Likewise.
5858 * gdb.threads/process-dies-while-handling-bp.exp
5859 (foreach_with_prefix): Likewise.
5860 * lib/gdb.exp (foreach_with_prefix): New procedure.
5862 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
5864 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
5865 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
5867 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
5869 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
5872 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5873 Pedro Alves <palves@redhat.com>
5875 Fix testsuite compatibility with Guile.
5876 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
5879 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5881 Fix testsuite compatibility with Guile.
5882 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
5883 (thread 1): New test for backtrace through signal handler.
5885 2016-01-22 Yao Qi <yao.qi@linaro.org>
5888 * gdb.base/multi-forks.c: Include
5889 ../lib/unbuffer_output.c
5890 (main): Call gdb_unbuffer_output.
5892 2016-01-21 Doug Evans <dje@google.com>
5894 * lib/ada.exp (gdb_compile_ada): Fix typo.
5896 2016-01-21 Joel Brobecker <brobecker@adacore.com>
5898 * gdb.base/break-fun-addr.exp: New file.
5899 * gdb.base/break-fun-addr1.c: New file.
5900 * gdb.base/break-fun-addr2.c: New file.
5902 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
5904 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
5905 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
5908 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5910 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
5911 when GDB can not set the vector return value. Add more comments
5914 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
5916 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
5919 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5921 * Makefile.in (DO_RUNTEST): Add --status and update usages.
5923 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5925 * Makefile.in (check-single): Pass --status to runtest.
5926 (check/%.exp): Likewise.
5928 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5930 * Makefile.in (check-parallel): Propagate return code from make
5933 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
5935 * gdb.trace/ftrace.exp: Fix expected message on continue.
5936 * gdb.trace/pending.exp: Fix expected message on continue.
5937 * gdb.trace/trace-break.exp: Fix expected message on continue.
5939 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
5941 * lib/gdb.exp (gdb_test): Remove unused global references.
5943 2016-01-18 Pedro Alves <palves@redhat.com>
5945 * gdb.base/async-shell.exp: Adjust expected output.
5946 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
5947 * gdb.base/siginfo-thread.exp: Adjust expected output.
5948 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
5949 * gdb.java/jnpe.exp: Adjust expected output.
5950 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
5951 * gdb.threads/continue-pending-status.exp: Adjust expected output.
5952 * gdb.threads/leader-exit.exp: Adjust expected output.
5953 * gdb.threads/manythreads.exp: Adjust expected output.
5954 * gdb.threads/pthreads.exp: Adjust expected output.
5955 * gdb.threads/schedlock.exp: Adjust expected output.
5956 * gdb.threads/siginfo-threads.exp: Adjust expected output.
5957 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
5959 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
5961 * gdb.threads/sigthread.exp: Adjust expected output.
5962 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
5964 2016-01-18 Yao Qi <yao.qi@linaro.org>
5966 * gdb.guile/scm-section-script.c: Replace @progbits with
5968 * gdb.python/py-section-script.c: Likewise.
5970 2016-01-15 Pedro Alves <palves@redhat.com>
5972 * gdb.multi/tids.exp: Test star wildcard ranges.
5974 2016-01-15 Pedro Alves <palves@redhat.com>
5976 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
5977 command from "thread apply" invocation.
5978 (thr_apply_info_thr_invalid): Default the expected output to the
5980 (top level): Add tests that use convenience variables. Add tests
5981 for "thread apply" with a valid TID list, but missing the command.
5983 2016-01-13 Pedro Alves <palves@redhat.com>
5985 * gdb.base/default.exp: Expect $_gthread as well.
5986 * gdb.multi/tids.exp: Test $_gthread.
5987 * gdb.threads/thread-specific.exp: Test $_gthread.
5989 2016-01-13 Pedro Alves <palves@redhat.com>
5991 * gdb.multi/tids.exp: Test "info threads -gid".
5993 2016-01-13 Pedro Alves <palves@redhat.com>
5995 * gdb.multi/tids.exp: Test InferiorThread.global_num and
5997 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
5999 2016-01-07 Pedro Alves <palves@redhat.com>
6001 * gdb.base/break.exp: Adjust to output changes.
6002 * gdb.base/hbreak2.exp: Likewise.
6003 * gdb.base/sepdebug.exp: Likewise.
6004 * gdb.base/watch_thread_num.exp: Likewise.
6005 * gdb.linespec/keywords.exp: Likewise.
6006 * gdb.multi/info-threads.exp: Likewise.
6007 * gdb.threads/thread-find.exp: Likewise.
6008 * gdb.multi/tids.c: New file.
6009 * gdb.multi/tids.exp: New file.
6011 2016-01-13 Pedro Alves <palves@redhat.com>
6013 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6015 2016-01-13 Pedro Alves <palves@redhat.com>
6017 * gdb.base/default.exp: Expect $_inferior as well.
6018 * gdb.multi/base.exp: Test $_inferior.
6020 2016-01-13 Pedro Alves <palves@redhat.com>
6022 PR breakpoints/19388
6023 * gdb.base/catch-signal-siginfo-cond.c: New file.
6024 * gdb.base/catch-signal-siginfo-cond.exp: New file.
6026 2016-01-12 Josh Stone <jistone@redhat.com>
6027 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6029 * gdb.base/catch-syscall.c (do_execve): New variable.
6030 (main): Conditionally trigger an execve.
6031 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
6032 (test_catch_syscall_execve): New, check entry/return across execve.
6033 (do_syscall_tests): Call test_catch_syscall_execve.
6035 2016-01-12 Pedro Alves <palves@redhat.com>
6037 * gdb.base/random-signal.exp (do_test): New procedure, with body
6038 of testcase moved in.
6040 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6041 Pedro Alves <palves@redhat.com>
6043 * gdb.base/funcargs.exp (finish from indirectly called function):
6044 Reintroduce the case for 'First'.
6046 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6047 Pedro Alves <palves@redhat.com>
6049 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6050 (tcatch_vfork_then_child_follow_exec)
6051 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6054 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6056 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6057 and repeats to unlimited.
6058 * gdb.python/py-value.exp: Likewise.
6059 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6060 and repeats to unlimited.
6062 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6064 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6065 and reordering the functions.
6066 * gdb.multi/hangout.c: Likewise.
6067 * gdb.multi/hello.c: Likewise.
6069 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
6071 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6073 (SingleStatisticTestResult.report): Use dict.keys instead of
6076 2016-01-06 Pedro Alves <palves@redhat.com>
6078 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
6080 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
6082 * gdb.btrace/dlopen.exp: New.
6083 * gdb.btrace/dlopen.c: New.
6084 * gdb.btrace/dlopen-dso.c: New.
6086 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
6088 * lib/gdb.exp (gdb_test): Update comments to clarify that the
6089 PATTERN argument is optional.
6091 2015-12-24 Joel Brobecker <brobecker@adacore.com>
6093 * lib/ada.exp (target_compile_ada_from_dir): New function.
6094 (gdb_compile_ada): Reimplement avoiding the use of project files.
6095 * gdb.ada/gnat_ada.gpr: Delete.
6096 * gdb.ada/cond_lang.exp: Adjust test to make path before
6098 * gdb.ada/small_reg_param.exp: Likewise.
6100 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
6102 * gdb.base/foll-vork.exp: Remove HP-UX special case.
6104 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
6106 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6109 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
6111 * gdb.base/break.exp: Remove dead code.
6112 * gdb.base/sepdebug.exp: Likewise.
6114 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6116 * gdb.asm/asm-source.exp: Remove HP-UX references.
6117 * gdb.base/annota1.exp: Likewise.
6118 * gdb.base/annota3.exp: Likewise.
6119 * gdb.base/attach.exp: Likewise.
6120 * gdb.base/bigcore.exp: Likewise.
6121 * gdb.base/break.exp: Likewise.
6122 * gdb.base/call-ar-st.exp: Likewise.
6123 * gdb.base/callfuncs.exp: Likewise.
6124 * gdb.base/catch-fork-static.exp: Likewise.
6125 * gdb.base/display.exp: Likewise.
6126 * gdb.base/foll-exec-mode.exp: Likewise.
6127 * gdb.base/foll-exec.exp: Likewise.
6128 * gdb.base/foll-fork.exp: Likewise.
6129 * gdb.base/foll-vfork.exp: Likewise.
6130 * gdb.base/funcargs.exp: Likewise.
6131 * gdb.base/hbreak2.exp: Likewise.
6132 * gdb.base/inferior-died.exp: Likewise.
6133 * gdb.base/interrupt.exp: Likewise.
6134 * gdb.base/multi-forks.exp: Likewise.
6135 * gdb.base/nodebug.exp: Likewise.
6136 * gdb.base/sepdebug.exp: Likewise.
6137 * gdb.base/solib1.c: Likewise.
6138 * gdb.base/step-test.exp: Likewise.
6139 * gdb.mi/non-stop.c: Likewise.
6140 * gdb.mi/pthreads.c: Likewise.
6141 * gdb.multi/bkpt-multi-exec.ex: Likewise.
6142 * gdb.threads/pthreads.c: Likewise.
6143 * gdb.threads/staticthreads.exp: Likewise.
6144 * lib/future.exp: Likewise.
6145 * lib/gdb.exp: Likewise.
6146 * gdb.base/so-indr-cl.c: Remove.
6147 * gdb.base/so-indr-cl.exp: Likewise.
6148 * gdb.base/solib.c: Likewise.
6149 * gdb.base/solib.exp: Likewise.
6150 * gdb.base/solib2.c: Likewise.
6152 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6154 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6155 * gdb.base/call-ar-st.exp: Likewise.
6156 * gdb.base/callfuncs.exp: Likewise.
6157 * gdb.base/condbreak.exp: Likewise.
6158 * gdb.base/constvars.exp: Likewise.
6159 * gdb.base/hbreak2.exp: Likewise.
6160 * gdb.base/langs.exp: Likewise.
6161 * gdb.base/list.exp: Likewise.
6162 * gdb.base/long_long.exp: Likewise.
6163 * gdb.base/ptype.exp: Likewise.
6164 * gdb.base/scope.exp: Likewise.
6165 * gdb.base/signals.exp: Likewise.
6166 * gdb.base/so-impl-ld.exp: Likewise.
6167 * gdb.base/varargs.exp: Likewise.
6168 * gdb.base/volatile.exp: Likewise.
6169 * gdb.base/whatis.exp: Likewise.
6170 * gdb.cp/cplusfuncs.exp: Likewise.
6171 * gdb.cp/inherit.exp: Likewise.
6172 * gdb.cp/local.exp: Likewise.
6173 * gdb.cp/member-ptr.exp: Likewise.
6174 * gdb.cp/method.exp: Likewise.
6175 * gdb.cp/overload.exp: Likewise.
6176 * gdb.cp/templates.exp: Likewise.
6177 * gdb.stabs/weird.exp: Likewise.
6178 * lib/compiler.c: Likewise.
6179 * lib/compiler.cc: Likewise.
6180 * lib/cp-support.exp: Likewise.
6181 * lib/gdb.exp: Likewise.
6183 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
6185 * configure.ac: Remove HP-UX case.
6186 * configure: Regenerate.
6188 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
6190 * lib/gdb.exp (gdb_compile): Add function doc.
6192 2015-12-17 Pedro Alves <palves@redhat.com>
6195 * gdb.multi/info-threads.exp: New file.
6197 2015-12-15 Yao Qi <yao.qi@linaro.org>
6199 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
6202 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6204 * gdb.base/history-duplicates.exp: Skip if no readline support.
6206 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6208 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
6210 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6212 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
6214 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6216 * gdb.base/completion.exp: Skip tests that interrupt GDB with
6217 ctrl-C if nointerrupts target property is set.
6218 * gdb.base/double-prompt-target-event-error.exp: Likewise.
6219 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
6220 * gdb.base/paginate-bg-execution.exp: Likewise.
6221 * gdb.base/paginate-execution-startup.exp: Likewise.
6222 * gdb.base/random-signal.exp: Likewise.
6223 * gdb.base/range-stepping.exp: Likewise.
6224 * gdb.cp/annota2.exp: Likewise.
6225 * gdb.cp/annota3.exp: Likewise.
6226 * gdb.gdb/selftest.exp: Likewise.
6227 * gdb.threads/continue-pending-status.exp: Likewise.
6228 * gdb.threads/leader-exit.exp: Likewise.
6229 * gdb.threads/manythreads.exp: Likewise.
6230 * gdb.threads/pthreads.exp: Likewise.
6231 * gdb.threads/schedlock.exp: Likewise.
6232 * gdb.threads/sigthread.exp: Likewise.
6234 2015-12-11 Don Breazeal <donb@codesourcery.com>
6236 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
6238 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
6239 * gdb.base/foll-exec.exp (main): Enable for target remote.
6240 * gdb.base/foll-fork.exp (main): Likewise.
6241 * gdb.base/foll-vfork.exp (main): Likewise.
6242 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
6243 (proc continue_to_exit_bp_loc): Use clean_restart.
6244 * gdb.base/pie-execl.exp (main): Disable for target remote.
6245 * gdb.base/watch-vfork.exp (main): Enable for target remote.
6246 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
6247 * gdb.threads/execl.exp (main): Likewise.
6248 * gdb.threads/fork-child-threads.exp (main): Likewise.
6249 * gdb.threads/fork-plus-threads.exp (main): Disable for target
6251 * gdb.threads/fork-thread-pending.exp (main): Enable for target
6253 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
6254 pid.tid style ptids, instead of just tid.
6255 * gdb.threads/thread-execl.exp (main): Enable for target remote.
6256 * gdb.threads/watchpoint-fork.exp (main): Likewise.
6257 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
6258 ptids, instead of just tid.
6260 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6262 * gdb.base/list.exp (test_list_forward): Add end of file error
6264 (test_repeat_list_command): Add end of file error test.
6265 (test_list_backwards): Add beginning of file error test.
6267 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6269 * gdb.base/list.exp (test_list_invalid_args): New function,
6270 defined, and called.
6272 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6274 * gdb.base/list.exp (test_list): Make test names unique.
6276 2015-12-11 Yao Qi <yao.qi@linaro.org>
6278 * gdb.base/coremaker2.c: Remove.
6280 2015-12-10 Pedro Alves <palves@redhat.com>
6282 * gdb.multi/base.exp: Remove stale "spaces" references.
6284 2015-12-10 Pedro Alves <palves@redhat.com>
6286 * gdb.multi/base.exp: Don't use nowarnings.
6287 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
6288 * gdb.multi/hangout.c: Include stdio.h.
6289 * gdb.multi/hello.c: Include stdlib.h.
6290 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
6291 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
6292 * gdb.multi/multi-arch.exp: Don't use nowarnings.
6294 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
6296 * gdb.dwarf2/dw2-ranges-base.c: New file.
6297 * gdb.dwarf2/dw2-ranges-base.exp: New file.
6298 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
6299 support additional line table, and debug ranges generation.
6300 (Dwarf::ranges): New function, generate .debug_ranges.
6301 (Dwarf::lines): Support generating simple line table programs.
6302 (Dwarf::assemble): Initialise new namespace variables.
6304 2015-12-09 Kevin Buettner <kevinb@redhat.com>
6306 * gdb.base/async.exp (proc test_background): Add case for
6307 asynchronous execution not supported.
6309 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
6311 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
6312 format and change test names to make them unique.
6314 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
6315 Pedro Alves <pedro@redhat.com>
6318 Add checking of floatformats setup on x86_64 hosts.
6319 * gdb.arch/i386-float.S (main): Load bigval and smallval.
6320 (smallval, bigval): New labels/constants.
6321 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
6322 float" after loading bigval and smallval.
6324 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
6326 * gdb.ada/fun_overload_menu.exp: New testcase.
6327 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
6329 2015-12-04 Josh Stone <jistone@redhat.com>
6331 * gdb.base/catch-fork-static.exp: New.
6333 2015-12-03 Yao Qi <yao.qi@linaro.org>
6335 * gdb.base/sizeof.c: Don't include stdio.h and
6336 ../lib/unbuffer_output.c.
6337 (main): New variable 'size' and 'value'. Remove printf and
6338 gdb_unbuffer_output. Assign return value to size and value.
6339 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
6341 (check_sizeof): Check the result by printing variable 'size'.
6342 (check_valueof): Check the result by printing variable 'value'.
6344 2015-12-01 Yao Qi <yao.qi@linaro.org>
6346 * gdb.base/disp-step-syscall.exp: Define syscall instruction
6347 for aarch64*-*-linux* target.
6349 2015-11-30 Pedro Alves <palves@redhat.com>
6351 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
6353 2015-11-30 Pedro Alves <palves@redhat.com>
6355 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
6356 Handle non-stop mode vCont replies.
6358 2015-11-30 Pedro Alves <palves@redhat.com>
6360 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
6361 prepare_for_testing. Start gdb with "set non-stop on" appended to
6362 GDBFLAGS. Lax expected stop output.
6364 2015-11-27 Yao Qi <yao.qi@linaro.org>
6366 * gdb.arch/arm-neon.exp: New.
6367 * gdb.arch/arm-neon.c: New.
6369 2015-11-27 Yao Qi <yao.qi@linaro.org>
6371 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
6373 2015-11-27 Yao Qi <yao.qi@linaro.org>
6375 * gdb.cp/annota2.exp: Allow multiple occurrences of the
6376 frames-invalid annotation.
6378 2015-11-27 Yao Qi <yao.qi@linaro.org>
6380 * gdb.cp/annota2.exp: Use ${frames_invalid}.
6382 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
6384 * gdb.threads/names.exp: New file.
6385 * gdb.threads/names.c: New file.
6386 * README: Mention gdb,no_thread_names.
6388 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
6391 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
6394 2015-11-24 Pedro Alves <palves@redhat.com>
6397 * gdb.base/display.exp: Expect displays to be sorted in ascending
6398 order. Use multi_line.
6399 * gdb.base/solib-display.exp: Likewise.
6401 2015-11-24 Pedro Alves <palves@redhat.com>
6404 * gdb.base/display.exp: Expect displays to be sorted in ascending
6405 order. Use multi_line.
6406 * gdb.base/solib-display.exp: Likewise.
6408 2015-11-24 Pedro Alves <palves@redhat.com>
6411 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
6412 threads in ascending order.
6413 * gdb.base/foll-fork.exp: Likewise.
6414 * gdb.base/foll-vfork.exp: Likewise.
6415 * gdb.base/multi-forks.exp: Likewise.
6416 * gdb.mi/mi-nonstop.exp: Likewise.
6417 * gdb.mi/mi-nsintrall.exp: Likewise.
6418 * gdb.multi/base.exp: Likewise.
6419 * gdb.multi/multi-arch.exp: Likewise.
6420 * gdb.python/py-inferior.exp: Likewise.
6421 * gdb.threads/break-while-running.exp: Likewise.
6422 * gdb.threads/execl.exp: Likewise.
6423 * gdb.threads/gcore-thread.exp: Likewise.
6424 * gdb.threads/info-threads-cur-sal.exp: Likewise.
6425 * gdb.threads/kill.exp: Likewise.
6426 * gdb.threads/linux-dp.exp: Likewise.
6427 * gdb.threads/multiple-step-overs.exp: Likewise.
6428 * gdb.threads/next-bp-other-thread.exp: Likewise.
6429 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
6430 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
6431 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
6432 * gdb.threads/thread-find.exp: Likewise.
6433 * gdb.threads/tls.exp: Likewise.
6434 * lib/mi-support.exp (mi_reverse_list): Delete.
6435 (mi_check_thread_states): No longer reverse list.
6437 2015-11-24 Pedro Alves <palves@redhat.com>
6439 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
6442 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6444 * gdb.trace/actions.c: Include trace-common.h.
6445 (main): Add a location for a fast tracepoint.
6446 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
6447 the normal tracepoints.
6448 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
6450 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6452 * save-trace.exp: Factor out code to these...
6453 (gdb_save_tracepoints): New.
6454 (gdb_load_tracepoints): New.
6455 (do_save_load_test): New.
6457 2015-11-23 Kevin Buettner <kevinb@redhat.com>
6459 * gdb.base/asmlabel.exp: New test.
6460 * gdb.base/asmlabel.c: New test case.
6462 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6464 * gdb.base/wrong_frame_bt_full-main.c: New file.
6465 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
6466 * gdb.base/wrong_frame_bt_full.exp: New file.
6468 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6470 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
6472 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6474 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
6475 pstate register when comparing registers values in
6476 sparc64-*-linux-gnu targets to avoid spurious differences.
6478 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6480 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
6482 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
6484 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
6485 as type argument to gdb_compile.
6486 * gdb.base/nested-subp2.exp: Likewise.
6487 * gdb.base/nested-subp3.exp: Likewise.
6489 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
6491 * lib/dwarf.exp (_note): Fix left shift of negative value.
6492 * gdb.trace/trace-condition.exp: Likewise.
6494 2015-11-13 Yao Qi <yao.qi@linaro.org>
6496 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
6497 comments about d10v.
6498 (test_scalar_returns): Likewise.
6499 * gdb.base/d10v.ld: Remove.
6500 * gdb.base/overlays.exp: Remove the target triplet checking for
6502 * gdb.base/structs.exp (test_struct_returns): Remove the
6503 comments about d10v.
6504 (test_struct_calls): Likewise.
6506 2015-11-13 Yao Qi <yao.qi@linaro.org>
6508 * gdb.base/gnu_vector.exp: Check the return value by "p res".
6509 * gdb.base/gnu_vector.c: Don't include stdio.h.
6510 (main): Don't print res and call add_some_intvecs.
6512 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
6514 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
6517 (func4): Use FAST_TRACEPOINT_LABEL.
6518 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
6521 (thread_function): Use FAST_TRACEPOINT_LABEL.
6522 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
6524 (marker): Use FAST_TRACEPOINT_LABEL.
6525 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
6526 (pendfunc1): Remove.
6527 (pendfunc): Use FAST_TRACEPOINT_LABEL.
6528 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
6530 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
6531 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
6534 (marker): Use FAST_TRACEPOINT_LABEL.
6535 * gdb.trace/trace-common.h: New header.
6536 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
6539 (marker): Use FAST_TRACEPOINT_LABEL.
6540 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
6542 (thread_function): Use FAST_TRACEPOINT_LABEL.
6544 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
6546 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
6548 * gdb.trace/change-loc.exp: Use global pcreg definition.
6549 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
6550 * gdb.trace/entry-values.exp: Use global spreg definition, add $
6552 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
6553 * gdb.trace/pending.exp: Likewise.
6554 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
6555 * gdb.trace/trace-break.exp: Likewise.
6556 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
6558 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
6559 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
6561 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
6563 2015-11-09 Joel Brobecker <brobecker@adacore.com>
6565 * gdb.ada/fin_fun_out: New testcase.
6567 2015-11-07 Kevin Buettner <kevinb@redhat.com>
6569 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
6570 value associated with DW_AT_byte_size.
6571 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
6572 constants for DW_AT_byte_size, DW_AT_lower_bound, and
6575 2015-11-07 Kevin Buettner <kevinb@redhat.com>
6577 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
6578 (gdb_target_symbol_prefix_flags): Define in terms of _asm
6580 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
6581 gdb.dwarf2/dw2-canonicalize-type.exp,
6582 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
6583 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
6584 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
6585 provided by gdb_target_symbol_prefix_flags_asm.
6586 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
6587 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
6588 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
6589 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
6590 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
6591 macros where needed). Use this macro for symbols which require
6592 the prefix provided by SYMBOL_PREFIX.
6594 2015-11-05 Kevin Buettner <kevinb@redhat.com>
6596 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
6598 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
6599 representing expressions, of more than one list element.
6600 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
6601 to prepend linker symbol prefix to f.
6602 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
6603 table_1 and table_2.
6604 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
6605 Likewise, for f and g.
6606 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
6608 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
6610 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
6611 table_1_ptr and table_2_ptr.
6613 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6614 Joel Brobecker <brobecker@adacore.com>
6616 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
6618 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
6620 * gdb.reverse/s390-mvcle.c: New test.
6621 * gdb.reverse/s390-mvcle.exp: New file.
6622 * lib/gdb.exp: Enable reverse tests on s390*-linux.
6624 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
6626 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
6628 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
6630 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
6632 * gdb.reverse/getresuid-reverse.exp: Likewise.
6633 * gdb.reverse/pipe-reverse.exp: Likewise.
6634 * gdb.reverse/readv-reverse.exp: Likewise.
6635 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6636 * gdb.reverse/time-reverse.exp: Likewise.
6637 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
6639 2015-10-30 Yao Qi <yao.qi@linaro.org>
6641 * gdb.threads/wp-replication.c (watch_count_done): Remove.
6642 (empty_cycle): Remove.
6643 (main): Don't call empty_cycle. Don't use watch_count_done.
6644 * gdb.threads/wp-replication.exp: Don't set breakpoint on
6645 empty_cycle. Rewrite the code counting HW watchpoints.
6647 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
6649 * gdb.reverse/fstatat-reverse.c: New test.
6650 * gdb.reverse/fstatat-reverse.exp: New file.
6651 * gdb.reverse/getresuid-reverse.c: New test.
6652 * gdb.reverse/getresuid-reverse.exp: New file.
6653 * gdb.reverse/pipe-reverse.c: New test.
6654 * gdb.reverse/pipe-reverse.exp: New file.
6655 * gdb.reverse/readv-reverse.c: New test.
6656 * gdb.reverse/readv-reverse.exp: New file.
6657 * gdb.reverse/recvmsg-reverse.c: New test.
6658 * gdb.reverse/recvmsg-reverse.exp: New file.
6659 * gdb.reverse/time-reverse.c: New test.
6660 * gdb.reverse/time-reverse.exp: New file.
6661 * gdb.reverse/waitpid-reverse.c: New test.
6662 * gdb.reverse/waitpid-reverse.exp: New file.
6664 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6666 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
6668 2015-10-26 Doug Evans <dje@google.com>
6671 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
6672 * gdb.dwarf2/bad-regnum.c: New file.
6673 * gdb.dwarf2/bad-regnum.exp: New file.
6675 2015-10-26 Doug Evans <dje@google.com>
6678 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
6681 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6683 * gdb.compile/compile.exp (compile code globalvar): Update expectation
6684 for a change by "Mention language in compile error message".
6686 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
6689 * gdb.python/py-type.c (C::a_method): New.
6690 (C::a_const_method): New.
6691 (C::a_static_method): New.
6693 * gdb.python/py-type.exp (test_fields): Test getting fields
6694 from function and method.
6696 2015-10-21 Keven Boell <keven.boell@intel.com>
6698 * gdb.fortran/vla-alloc-assoc.exp: New file.
6699 * gdb.fortran/vla-datatypes.exp: New file.
6700 * gdb.fortran/vla-datatypes.f90: New file.
6701 * gdb.fortran/vla-history.exp: New file.
6702 * gdb.fortran/vla-ptype-sub.exp: New file.
6703 * gdb.fortran/vla-ptype.exp: New file.
6704 * gdb.fortran/vla-sizeof.exp: New file.
6705 * gdb.fortran/vla-sub.f90: New file.
6706 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
6707 * gdb.fortran/vla-value-sub-finish.exp: New file.
6708 * gdb.fortran/vla-value-sub.exp: New file.
6709 * gdb.fortran/vla-value.exp: New file.
6710 * gdb.fortran/vla-ptr-info.exp: New file.
6711 * gdb.mi/mi-vla-fortran.exp: New file.
6712 * gdb.mi/vla.f90: New file.
6714 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
6716 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
6717 of hardwired timeout value.
6719 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6720 Pedro Alves <palves@redhat.com>
6722 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
6723 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
6725 2015-10-19 Josh Stone <jistone@redhat.com>
6727 * gdb.base/catch-syscall.c: Include <sched.h>.
6728 (unknown_syscall): New variable.
6729 (main): Trigger a vfork and an unknown syscall.
6730 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
6731 (unknown_syscall_number): Likewise.
6732 (check_call_to_syscall): Accept an optional syscall pattern.
6733 (check_return_from_syscall): Likewise.
6734 (check_continue): Likewise.
6735 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
6736 (test_catch_syscall_skipping_return): New test toggling off 'catch
6737 syscall' to step over the syscall return, then toggling back on.
6738 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
6739 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
6740 (do_syscall_tests): Call test_catch_syscall_without_args and
6741 test_catch_syscall_mid_vfork.
6742 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
6743 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
6745 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
6747 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
6748 print g_vE): Add new pass patterns.
6749 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
6750 print various symbol names for vptr fields.
6752 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
6754 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
6757 2015-10-12 Yao Qi <yao.qi@linaro.org>
6759 * gdb.arch/disp-step-insn-reloc.exp: New test case.
6761 2015-10-12 Yao Qi <yao.qi@linaro.org>
6763 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
6764 is aarch64*-*-linux*.
6766 2015-10-12 Yao Qi <yao.qi@linaro.org>
6768 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
6769 (can_relocate_bcond_true): ... it.
6770 (can_relocate_bcond_false): New function.
6772 (can_relocate_bl): Likewise.
6773 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
6776 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
6778 * gdb.base/nested-addr.c: New file.
6779 * gdb.base/nested-addr.exp: New testcase.
6781 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
6783 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
6784 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
6785 its output. Ignore the output of "record goto begin" and instead
6786 check that GDB is replaying.
6788 2015-10-09 Pedro Alves <palves@redhat.com>
6790 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
6791 (top level): Use it in the run with no args test.
6793 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
6795 * gdb.dlang/properties.exp: New file.
6797 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
6799 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
6800 whether or not address 0x1000 is mapped on the target.
6802 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
6804 * gdb.python/py-type.exp: Do not run tests if binaries fail to
6807 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
6809 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
6810 instruction-history test.
6812 2015-09-28 Doug Evans <dje@google.com>
6814 * gdb.base/gcore.c (array_func): Add reference to static_array.
6816 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
6818 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
6821 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
6823 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
6824 short or char as base type.
6826 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
6828 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
6829 to allow any size enum.
6831 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
6833 * gdb.ada/array_ptr_renaming.exp: New testcase.
6834 * gdb.ada/array_ptr_renaming/foo.adb: New file.
6835 * gdb.ada/array_ptr_renaming/pack.ads: New file.
6837 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6839 * gdb.trace/ftrace-lock.c: New file.
6840 * gdb.trace/ftrace-lock.exp: New file.
6842 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6844 * gdb.arch/insn-reloc.c: New file.
6845 * gdb.arch/ftrace-insn-reloc.exp: New file.
6847 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6849 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
6851 * gdb.trace/pendshr1.c (pendfunc): Likewise.
6852 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
6853 * gdb.trace/range-stepping.c: Likewise.
6854 * gdb.trace/trace-break.c: Likewise.
6855 * gdb.trace/trace-mt.c (thread_function): Likewise.
6856 * gdb.trace/ftrace.c (marker): Likewise.
6857 * gdb.trace/trace-condition.c (marker): Likewise.
6858 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
6859 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
6862 2015-09-18 Doug Evans <xdje42@gmail.com>
6864 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
6865 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
6867 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6869 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
6872 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6874 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
6875 the pending breakpoint. Remove timeout override for "Run till
6876 MI pending breakpoint on pendfunc3 on thread 2" test.
6878 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6880 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
6883 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6885 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
6886 in breakpoint filename pattern.
6888 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6890 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
6892 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6894 * gdb.linespec/explicit.exp: Check for readline support for
6895 tab-completion tests. Fix obvious typo.
6897 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
6899 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
6902 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
6904 * gdb.btrace/non-stop.c: New.
6905 * gdb.btrace/non-stop.exp: New.
6907 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
6908 Yao Qi <yao.qi@linaro.org>
6910 * gdb.trace/trace-condition.c: New file.
6911 * gdb.trace/trace-condition.exp: New file.
6913 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
6915 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
6916 for testing bytecode compilation.
6918 2015-09-16 Pedro Alves <palves@redhat.com>
6919 Sandra Loosemore <sandra@codesourcery.com>
6921 * gdb.threads/non-stop-fair-events.c (timeout): New global.
6922 (SECONDS): Redefine.
6923 (main): Call pthread_kill and alarm early.
6924 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
6926 (test): If the target can't hardware step and doesn't support
6927 displaced stepping, increase the timeout.
6929 2015-09-16 Pedro Alves <palves@redhat.com>
6931 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
6932 (enable_debug): New procedures.
6933 (test): Use them. Bail out if waiting for threads fails.
6934 (top level): Bail out if a test fails.
6936 2015-09-16 Yao Qi <yao.qi@linaro.org>
6938 * gdb.asm/asm-source.exp: Set asm-arch for
6939 aarch64*-*-* target.
6940 * gdb.asm/aarch64.inc: New file.
6942 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
6944 * gdb.ada/array_of_variable_length.exp: New testcase.
6945 * gdb.ada/array_of_variable_length/foo.adb: New file.
6946 * gdb.ada/array_of_variable_length/pck.adb: New file.
6947 * gdb.ada/array_of_variable_length/pck.ads: New file.
6949 2015-09-15 Doug Evans <dje@google.com>
6951 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
6952 of function static local variable.
6954 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6956 * gdb.threads/tls-so_extern.exp: New test file.
6957 * gdb.threads/tls-so_extern.c: New test file.
6958 * gdb.threads/tls-so_extern_main.c: New test file.
6960 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6962 * gdb.opt/solib-intra-step-lib.c: New file.
6963 * gdb.opt/solib-intra-step-main.c: New file.
6964 * gdb.opt/solib-intra-step.exp: New file.
6966 2015-09-15 Pedro Alves <palves@redhat.com>
6968 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
6969 gdb_continue_to_breakpoint instead of gdb_test_multiple.
6971 2015-09-14 Pedro Alves <palves@redhat.com>
6973 * gdb.base/hook-stop-continue.c: Delete.
6974 * gdb.base/hook-stop-continue.exp: Delete.
6975 * gdb.base/hook-stop-frame.c: Delete.
6976 * gdb.base/hook-stop-frame.exp: Delete.
6977 * gdb.base/hook-stop.c: New file.
6978 * gdb.base/hook-stop.exp: New file.
6980 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
6982 * gdb.ada/access_to_packed_array.exp: New testcase.
6983 * gdb.ada/access_to_packed_array/foo.adb: New file.
6984 * gdb.ada/access_to_packed_array/pack.adb: New file.
6985 * gdb.ada/access_to_packed_array/pack.ads: New file.
6987 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
6989 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
6992 2015-09-11 Don Breazeal <donb@codesourcery.com>
6994 * gdb.base/foll-exec.c: Add copyright header. Fix
6996 * gdb.base/foll-exec.exp (zap_session): Delete proc.
6997 (do_exec_tests): Use clean_restart in place of zap_session,
6998 and for test initialization. Fix formatting issues. Use
6999 fail in place of perror.
7000 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7001 an expect statement to match an expression with output from
7002 the program under debug.
7003 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7004 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7005 * gdb.threads/non-ldr-exc-2.exp: Likewise.
7006 * gdb.threads/non-ldr-exc-3.exp: Likewise.
7007 * gdb.threads/non-ldr-exc-4.exp: Likewise.
7009 2015-09-09 Doug Evans <dje@google.com>
7011 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7013 2015-09-09 Doug Evans <dje@google.com>
7015 * gdb.base/pie-execl.exp: Fix result test of build_executable.
7017 2015-09-09 Doug Evans <dje@google.com>
7019 * gdb.base/savedregs.exp: Fix typo.
7021 2015-09-09 Pedro Alves <palves@redhat.com>
7023 * gdb.mi/mi-cli.exp: Add CLI finish tests.
7025 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
7027 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
7028 command actually switches threads. Give up on remaining
7029 tests if target fails to stop at breakpoint.
7031 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
7033 * gdb.ada/funcall_char.exp: New testcase.
7034 * gdb.ada/funcall_char/foo.adb: New file.
7036 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
7038 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
7039 expected outputs. Add two testcases for completing ambiguous
7041 * gdb.ada/complete/aux_pck.adb: New file.
7042 * gdb.ada/complete/aux_pck.ads: New file.
7043 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
7044 Ambiguous_Func functions.
7045 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
7046 * gdb.ada/complete/pck.adb: Likewise.
7048 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
7050 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
7051 failures to run the test program under GDB.
7053 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
7055 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7058 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
7060 * gdb.base/run-after-attach.exp: New test file.
7061 * gdb.base/run-after-attach.c: New test file.
7063 2015-08-26 Don Breazeal <donb@codesourcery.com>
7065 * gdb.base/foll-exec-2.c: New test program.
7066 * gdb.base/foll-exec-2.exp: New test.
7068 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7070 * gdb.base/nested-subp1.exp: New file.
7071 * gdb.base/nested-subp1.c: New file.
7072 * gdb.base/nested-subp2.exp: New file.
7073 * gdb.base/nested-subp2.c: New file.
7074 * gdb.base/nested-subp3.exp: New file.
7075 * gdb.base/nested-subp3.c: New file.
7077 2015-08-24 Pedro Alves <palves@redhat.com>
7079 * gdb.server/connect-without-multi-process.c: New file.
7080 * gdb.server/connect-without-multi-process.exp: New file.
7082 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7084 * gdb.opt/inline-markers.c: Make z int.
7086 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7088 * gdb.opt/inline-markers.c: Make z volatile.
7090 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7092 * gdb.opt/inline-bt.c: New volatile global z.
7093 * gdb.opt/inline-cmds.c: Likewise.
7094 * gdb.opt/inline-locals.c: Likewise.
7095 * gdb.opt/inline-markers.c: New extern global z.
7097 (inline_fn): Likewise.
7099 2015-08-24 Pedro Alves <palves@redhat.com>
7101 * config/m32r-stub.exp: Remove file.
7102 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7103 * gdb.base/call-rt-st.exp: Likewise.
7104 * gdb.base/call-strs.exp: Likewise.
7105 * gdb.base/default.exp: Remove references to h8300-*-hms and
7107 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7109 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7111 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7112 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
7113 and "return" use KFAIL when GDB can not read/write the vector
7116 2015-08-21 Gary Benson <gbenson@redhat.com>
7118 * gdb.trace/pending.exp: Cope with remote transfer warnings.
7120 2015-08-20 Pedro Alves <palves@redhat.com>
7122 * gdb.server/solib-list.exp: No longer expect an interior stop in
7125 2015-08-20 Pedro Alves <palves@redhat.com>
7127 * gdb.server/connect-stopped-target.c: New file.
7128 * gdb.server/connect-stopped-target.exp: New file.
7130 2015-08-20 Pedro Alves <palves@redhat.com>
7132 * gdb.dwarf2/comp-unit-lang.exp: New file.
7133 * gdb.dwarf2/comp-unit-lang.c: New file.
7135 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
7137 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7138 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7140 2015-08-19 Kevin Buettner <kevinb@redhat.com>
7142 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7143 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7145 2015-08-18 Doug Evans <dje@google.com>
7146 Adrian Sendroiu <adrian.sendroiu@freescale.com>
7148 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7149 skip_python_tests. New arg prompt_regexp.
7150 (skip_python_tests): New function.
7151 * lib/mi-support.exp (mi_skip_python_tests): New function.
7152 * gdb.python/py-mi-objfile-gdb.py: New file.
7153 * gdb.python/py-mi-objfile.c: New file.
7154 * gdb.python/py-mi-objfile.exp: New file.
7156 2015-08-17 Keith Seitz <keiths@redhat.com>
7158 * gdb.linespec/explicit.exp: Move strace test from here ...
7159 * gdb.trace/strace.exp: ... to here.
7161 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
7163 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
7164 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
7166 2015-08-14 Doug Evans <xdje42@gmail.com>
7168 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
7169 inferior before selecting a new file.
7171 2015-08-14 Doug Evans <xdje42@gmail.com>
7173 * gdb.mi/mi-disassemble.exp: Update.
7174 * gdb.base/disasm-optim.S: New file.
7175 * gdb.base/disasm-optim.c: New file.
7176 * gdb.base/disasm-optim.h: New file.
7177 * gdb.base/disasm-optim.exp: New file.
7179 2015-08-14 Keith Seitz <keiths@redhat.com>
7181 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
7184 2015-08-13 Joel Brobecker <brobecker@adacore.com>
7186 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
7188 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
7190 * gdb.ada/fun_renaming.exp: New testcase.
7191 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
7192 * gdb.ada/fun_renaming/pack.adb: New file.
7193 * gdb.ada/fun_renaming/pack.ads: New file.
7195 2015-08-12 Keith Seitz <keiths@redhat.com>
7197 * gdb.base/dso2dso.exp: Pass basename of source file in call to
7198 gdb_get_line_number.
7200 2015-08-12 Joel Brobecker <brobecker@adacore.com>
7202 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
7203 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
7204 gdb.base/dso2dso.exp: New files.
7206 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
7207 Pedro Alves <palves@redhat.com>
7208 Keith Seitz <keiths@redhat.com>
7210 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
7213 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7215 * gdb.base/gdbhistsize-history.exp
7216 (test_histsize_history_setting): Use save_vars.
7217 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7219 (test_no_truncation_of_unlimited_history_file): Use save_vars.
7220 * gdb.base/readline.exp: Use save_vars.
7222 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7224 * lib/gdb.exp (save_vars): New proc.
7226 2015-08-11 Keith Seitz <keiths@redhat.com>
7228 * gdb.base/help.exp: Update help_breakpoint_text.
7230 2015-08-11 Keith Seitz <keiths@redhat.com>
7232 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
7233 (at toplevel): Call test_explicit_breakpoints.
7234 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7236 * lib/mi-support.exp (mi_make_breakpoint): Add support for
7237 breakpoint conditions, "-cond".
7239 2015-08-11 Keith Seitz <keiths@redhat.com>
7241 * gdb.linespec/3explicit.c: New file.
7242 * gdb.linespec/cpexplicit.cc: New file.
7243 * gdb.linespec/cpexplicit.exp: New file.
7244 * gdb.linespec/explicit.c: New file.
7245 * gdb.linespec/explicit.exp: New file.
7246 * gdb.linespec/explicit2.c: New file.
7247 * gdb.linespec/ls-errs.exp: Add explicit location tests.
7248 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
7249 before using in the matching pattern.
7250 Clarify that `prefix' is a regular expression.
7252 2015-08-11 Keith Seitz <keiths@redhat.com>
7254 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
7256 Add tests for missing ",FMT" and ",".
7258 2015-08-10 Doug Evans <dje@google.com>
7259 Keith Seitz <keiths@redhat.com>
7262 * gdb.base/completion.exp: Add location completer tests.
7264 2015-08-07 Pedro Alves <palves@redhat.com>
7266 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
7268 (top level): Run do_test with and without displaced stepping.
7270 2015-08-07 Pedro Alves <palves@redhat.com>
7272 * gdb.base/valgrind-disp-step.c: New file.
7273 * gdb.base/valgrind-disp-step.exp: New file.
7275 2015-08-07 Pedro Alves <palves@redhat.com>
7277 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
7279 (main): Add alarm. Run an infinite loop instead of calling
7281 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
7283 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
7285 (main): Add alarm. Run an infinite loop instead of calling
7287 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
7290 2015-08-07 Pedro Alves <palves@redhat.com>
7292 * gdb.base/checkpoint-ns.exp: New file.
7293 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
7296 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
7298 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
7299 * gdb.btrace/instruction_history.exp: Update.
7300 * gdb.btrace/tsx.exp: New.
7301 * gdb.btrace/tsx.c: New.
7303 2015-08-06 Pedro Alves <palves@redhat.com>
7305 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
7307 * gdb.reverse/until-precsave.exp: Bump timeouts.
7309 2015-08-06 Pedro Alves <palves@redhat.com>
7311 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
7313 2015-08-06 Pedro Alves <palves@redhat.com>
7316 * gdb.threads/process-dies-while-handling-bp.c: New file.
7317 * gdb.threads/process-dies-while-handling-bp.exp: New file.
7319 2015-08-06 Pedro Alves <palves@redhat.com>
7321 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
7322 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
7324 2015-08-05 Pedro Alves <palves@redhat.com>
7326 * gdb.threads/next-while-other-thread-longjmps.c: New file.
7327 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
7329 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
7331 * gdb.base/bp-permanent.exp: Report test as unsupported if
7332 the target cannot stop at the permanent breakpoint.
7334 2015-08-03 Doug Evans <dje@google.com>
7336 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
7339 2015-08-03 Doug Evans <dje@google.com>
7341 * Makefile.in (workers/%.worker, build-perf): New rule.
7342 (GDB_PERFTEST_MODE): New variable.
7343 (check-perf): Use it.
7344 (clean): Clean up gdb.perf parallel build subdirs.
7345 * lib/build-piece.exp: New file.
7346 * lib/gdb.exp (make_gdb_parallel_path): New function
7347 (standard_output_file, standard_temp_file): Call it.
7348 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7350 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
7352 2015-08-03 Doug Evans <dje@google.com>
7354 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
7355 (LOG_FILE_NAME): New global.
7356 (TextReporter.__init__): Initialize self.txt_sum.
7357 (TextReporter.report): Add support for multiple data-points.
7358 Move report to perftest.sum, put raw data in perftest.log.
7359 (TextReporter.start): Open sum and log files.
7360 (TextReporter.end): Close sum and log files.
7361 * gdb.perf/lib/perftest/testresult.py
7362 (SingleStatisticTestResult.record): Handle multiple data-points.
7364 2015-07-31 Pedro Alves <palves@redhat.com>
7366 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
7367 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7368 kill_wait_spawned_process instead of explicit "kill -9".
7369 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
7370 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7371 kill_wait_spawned_process.
7372 * gdb.base/attach-twice.exp: Likewise.
7373 * gdb.base/attach.exp: Likewise.
7374 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
7376 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
7377 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7378 kill_wait_spawned_process.
7379 * gdb.base/valgrind-infcall.exp: Likewise.
7380 * gdb.multi/multi-attach.exp: Likewise.
7381 * gdb.python/py-prompt.exp: Likewise.
7382 * gdb.python/py-sync-interp.exp: Likewise.
7383 * gdb.server/ext-attach.exp: Likewise.
7384 * gdb.threads/attach-into-signal.exp (corefunc): Use
7385 spawn_wait_for_attach, spawn_id_get_pid and
7386 kill_wait_spawned_process.
7387 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
7388 spawn_wait_for_attach returning a spawn id instead of a pid. Use
7389 spawn_id_get_pid and kill_wait_spawned_process.
7390 * gdb.threads/attach-stopped.exp (corefunc): Use
7391 spawn_wait_for_attach, spawn_id_get_pid and
7392 kill_wait_spawned_process.
7393 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
7394 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7395 kill_wait_spawned_process instead of explicit "kill -9".
7396 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
7397 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
7398 (spawn_wait_for_attach): Use spawn instead of exec to spawn
7399 processes. Don't map cygwin/windows pids here. Now returns a
7402 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7404 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
7405 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
7408 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7410 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
7412 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7415 2014-05-21 Mark Wielaard <mjw@redhat.com>
7417 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7419 2015-07-30 Pedro Alves <palves@redhat.com>
7421 * linux-low.c (handle_extended_wait): Set the child's last
7422 reported status to TARGET_WAITKIND_STOPPED.
7424 2015-07-30 Pedro Alves <palves@redhat.com>
7427 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
7428 only shows inferior 1.
7430 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
7431 Pedro Alves <palves@redhat.com>
7434 * gdb.threads/fork-plus-threads.c: New file.
7435 * gdb.threads/fork-plus-threads.exp: New file.
7437 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7439 * gdb.base/batch-preserve-term-settings.exp
7440 (test_terminal_settings_preserved_after_cli_exit): Use
7443 2015-07-29 Pedro Alves <palves@redhat.com>
7444 Don Breazeal <donb@codesourcery.com>
7446 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
7447 output from both inferior_spawn_id and gdb_spawn_id.
7449 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7451 * gdb.threads/attach-into-signal.exp (corefunc): Use
7452 with_test_prefix on nested loops, uniquefying the test messages.
7454 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7456 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
7459 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7461 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
7463 (test_terminal_settings_preserved_after_sigterm): New test.
7465 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7467 * gdb.base/batch-preserve-term-settings.exp
7468 (test_terminal_settings_preserved_after_cli_exit): New test.
7470 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7472 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
7473 manipulation of saved_gdbflags.
7474 (test_terminal_settings_preserved): Remove global declaration of
7475 the unused variable pagination_prompt. Remove manipulation of
7476 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
7479 2015-07-29 Pedro Alves <palves@redhat.com>
7481 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
7483 2015-07-29 Pedro Alves <palves@redhat.com>
7485 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
7488 2015-07-29 Pedro Alves <palves@redhat.com>
7490 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
7491 (main): Call gdb_unbuffer_output.
7492 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
7493 (main): Call gdb_unbuffer_output.
7494 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
7495 (main): Call gdb_unbuffer_output.
7496 * gdb.base/call-strs.exp: Adjust to step over the
7497 gdb_unbuffer_output call.
7498 * gdb.base/catch-gdb-caused-signals.c: Include
7499 "../lib/unbuffer_output.c".
7500 (main): Call gdb_unbuffer_output.
7501 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
7502 (main): Call gdb_unbuffer_output.
7503 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
7504 (main): Call gdb_unbuffer_output.
7505 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
7506 (main): Call gdb_unbuffer_output.
7507 * gdb.base/shlib-call.exp: Adjust to step over the
7508 gdb_unbuffer_output call.
7509 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
7510 (main): Call gdb_unbuffer_output.
7511 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
7512 (main): Call gdb_unbuffer_output.
7513 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
7514 (main): Rename to ...
7516 (main): Reimplement.
7517 * gdb.base/varargs.exp: Run to test instead of to main.
7518 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7519 (main): Call gdb_unbuffer_output.
7521 2015-07-29 Pedro Alves <palves@redhat.com>
7523 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
7524 factore out from mi_continue_dprintf. For call-style dprintfs,
7525 expect dprintf output out of $inferior_spawn_id.
7526 (mi_continue_dprintf): Use mi_expect_dprintf.
7527 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7528 (main): Call gdb_unbuffer_output.
7530 2015-07-29 Pedro Alves <palves@redhat.com>
7532 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
7533 (default_mi_gdb_start): Set inferior_spawn_id instead of
7534 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
7536 (mi_gdb_test): Always expect inferior output from both
7537 $inferior_spawn_id and $gdb_spawn_id.
7539 2015-07-29 Pedro Alves <palves@redhat.com>
7541 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
7542 send_inferior and $inferior_spawn_id.
7544 2015-07-29 Pedro Alves <palves@redhat.com>
7546 * gdb.gdb/complaints.exp (test_initial_complaints)
7547 (test_serial_complaints, test_short_complaints): Use
7549 (test_empty_complaint): Handle $inferior_spawn_id !=
7552 2015-07-29 Pedro Alves <palves@redhat.com>
7554 * gdb.base/varargs.exp: Use gdb_test_stdio.
7556 2015-07-29 Pedro Alves <palves@redhat.com>
7558 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
7560 2015-07-29 Pedro Alves <palves@redhat.com>
7562 * gdb.base/ending-run.exp: Use gdb_test_stdio.
7564 2015-07-29 Pedro Alves <palves@redhat.com>
7566 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
7567 parameter into two new parameters, "inf_result" and "gdb_result".
7568 Expect inferior output and gdb output from $inferior_spawn_id and
7569 $gdb_spawn_id, respectively. Adjust all callers.
7571 2015-07-29 Pedro Alves <palves@redhat.com>
7573 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
7574 of gdb_test_sequence.
7576 2015-07-29 Pedro Alves <palves@redhat.com>
7578 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
7579 (saw_spurious_output): Expect inferior output from
7580 $inferior_spawn_id. Use gdb_test_stdio.
7582 2015-07-29 Pedro Alves <palves@redhat.com>
7584 * gdb.base/dprintf.exp: Use standard_testfile. Change
7585 prepare_for_testing call.
7586 (srcfile): Don't set.
7587 (restart): New procedure.
7588 (test_dprintf): New procecure, use to continue over dprintfs.
7589 (test_call, test_agent): New procedures, tests moved here.
7590 Restart gdb and recreate dprintfs. Adjust expected output.
7592 2015-07-29 Pedro Alves <palves@redhat.com>
7594 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
7596 2015-07-29 Pedro Alves <palves@redhat.com>
7598 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
7600 2015-07-29 Pedro Alves <palves@redhat.com>
7602 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
7605 2015-07-29 Pedro Alves <palves@redhat.com>
7607 * lib/gdb.exp (gdb_test_stdio): New procedure.
7609 2015-07-29 Pedro Alves <palves@redhat.com>
7611 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
7613 2015-07-29 Pedro Alves <palves@redhat.com>
7615 * gdb.base/call-signal-resume.exp: Remove check for
7616 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
7617 * gdb.base/unwindonsignal.exp: Likewise.
7618 * gdb.base/call-signals.c (gen_signal): Remove printf call.
7619 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
7621 2015-07-29 Pedro Alves <palves@redhat.com>
7623 * gdb.base/siginfo-addr.c (pass): New function.
7624 (handler): Call it iff si_addr is correct.
7625 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
7626 Set a breakpoint at "pass" and continue to it.
7628 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
7630 * gdb.python/py-objfile.exp: Make some tests have unique names.
7631 * gdb.python/py-pp-registration.exp: Likewise.
7633 2015-07-28 Pedro Alves <palves@redhat.com>
7635 * gdb.server/server-exec-info.exp: Issue a "disconnect".
7637 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
7639 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
7641 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
7643 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
7645 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
7647 * gdb.base/gdb-sigterm-2.exp: New test.
7649 2015-07-25 Doug Evans <xdje42@gmail.com>
7652 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7653 (workers/%.worker, build-perf): New rule.
7654 (GDB_PERFTEST_MODE): New variable.
7655 (check-perf): Use it.
7656 (clean): Clean up gdb.perf parallel build subdirs.
7657 * lib/build-piece.exp: New file.
7658 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7659 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7661 (standard_temp_file): Ditto.
7662 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7665 2015-07-24 Doug Evans <dje@google.com>
7667 * gdb.perf/lib/perftest/utils.py: New file.
7668 * gdb.perf/gm-hello.cc: New file.
7669 * gdb.perf/gm-pervasive-typedef.cc: New file.
7670 * gdb.perf/gm-pervasive-typedef.h: New file.
7671 * gdb.perf/gm-std.cc: New file.
7672 * gdb.perf/gm-std.h: New file.
7673 * gdb.perf/gm-use-cerr.cc: New file.
7674 * gdb.perf/gm-utils.h: New file.
7675 * gdb.perf/gmonster-null-lookup.py: New file.
7676 * gdb.perf/gmonster-pervasive-typedef.py: New file.
7677 * gdb.perf/gmonster-print-cerr.py: New file.
7678 * gdb.perf/gmonster-ptype-string.py: New file.
7679 * gdb.perf/gmonster-runto-main.py: New file.
7680 * gdb.perf/gmonster-select-file.py: New file.
7681 * gdb.perf/gmonster1-null-lookup.exp: New file.
7682 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
7683 * gdb.perf/gmonster1-print-cerr.exp: New file.
7684 * gdb.perf/gmonster1-ptype-string.exp: New file.
7685 * gdb.perf/gmonster1-runto-main.exp: New file.
7686 * gdb.perf/gmonster1-select-file.exp: New file.
7687 * gdb.perf/gmonster1.cc: New file.
7688 * gdb.perf/gmonster1.exp: New file.
7689 * gdb.perf/gmonster2-null-lookup.exp: New file.
7690 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
7691 * gdb.perf/gmonster2-print-cerr.exp: New file.
7692 * gdb.perf/gmonster2-ptype-string.exp: New file.
7693 * gdb.perf/gmonster2-runto-main.exp: New file.
7694 * gdb.perf/gmonster2-select-file.exp: New file.
7695 * gdb.perf/gmonster2.cc: New file.
7696 * gdb.perf/gmonster2.exp: New file.
7698 2015-07-24 Doug Evans <dje@google.com>
7700 * gdb.perf/README: New file.
7701 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
7702 * lib/gen-perf-test.exp: New file.
7704 2015-07-24 Doug Evans <dje@google.com>
7706 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
7707 (PerfTest::startup): New function.
7708 (PerfTest::run): Return result of calling body.
7709 (PerfTest::assemble): Rewrite.
7710 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
7711 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
7712 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
7713 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
7714 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
7716 2015-07-24 Doug Evans <dje@google.com>
7718 * lib/gdb.exp (clean_restart): Make executable optional.
7720 2015-07-24 Doug Evans <dje@google.com>
7722 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
7723 compiler_info references.
7724 * gdb.cp/temargs.exp: Ditto.
7725 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
7726 (get_compiler_info): Early exit if already computed. Set compiler_info
7727 to "unknown" if there was a problem.
7728 (test_compiler_info): Add function comment. Call get_compiler_info.
7730 2015-07-24 Doug Evans <dje@google.com>
7732 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7733 (workers/%.worker, build-perf): New rule.
7734 (GDB_PERFTEST_MODE): New variable.
7735 (check-perf): Use it.
7736 (clean): Clean up gdb.perf parallel build subdirs.
7737 * lib/build-piece.exp: New file.
7738 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7739 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7741 (standard_temp_file): Ditto.
7742 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7745 2015-07-24 Doug Evans <dje@google.com>
7747 * lib/future.exp (gdb_default_target_compile): New option
7749 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
7752 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
7754 * gdb.base/catch-syscall.exp: Call gdb_exit before
7757 2015-07-24 Pedro Alves <palves@redhat.com>
7759 * gdb.python/py-events.exp: Accept output between the stop event
7761 * gdb.python/py-evsignal.exp: Likewise.
7762 * gdb.python/py-evthreads.exp: Likewise.
7764 2015-07-24 Pedro Alves <palves@redhat.com>
7767 * gdb.threads/non-ldr-exit.c: New file.
7768 * gdb.threads/non-ldr-exit.exp: New file.
7770 2015-07-24 Yao Qi <yao.qi@linaro.org>
7772 * gdb.server/ext-wrapper.exp: Test --wrapper option when
7775 2015-07-24 Yao Qi <yao.qi@linaro.org>
7777 * gdb.server/ext-restart.exp: New file.
7779 2015-07-24 Yao Qi <yao.qi@linaro.org>
7781 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
7783 * gdb.server/ext-wrapper.exp: New file.
7785 2015-07-23 Doug Evans <dje@google.com>
7787 * gdb.dwarf2/dw2-dummy-cu.S: New file.
7788 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
7790 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
7792 * gdb.ada/var_arr_typedef.exp: New testcase.
7793 * gdb.ada/var_arr_typedef/pack.adb: New file.
7794 * gdb.ada/var_arr_typedef/pack.ads: New file.
7795 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
7797 2015-07-20 Joel Brobecker <brobecker@adacore.com>
7799 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
7801 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7803 * gdb.arch/i386-biarch-core.exp: Replace istarget
7804 by "complete set gnutarget". Remove expectation for the "core-file"
7807 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7809 Revert the previous commit:
7810 Tests for validate symbol file using build-id.
7812 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
7814 Tests for validate symbol file using build-id.
7815 * gdb.base/solib-mismatch-lib.c: New file.
7816 * gdb.base/solib-mismatch-libmod.c: New file.
7817 * gdb.base/solib-mismatch.c: New file.
7818 * gdb.base/solib-mismatch.exp: New file.
7820 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
7822 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
7824 * gdb.base/sigbpt.exp (stepi_out): Likewise.
7825 * gdb.base/siginfo.exp: Likewise.
7826 * gdb.base/sigstep.exp (advance, advancei): Likewise.
7828 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
7830 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
7832 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
7834 * gdb.trace/range-stepping.exp: Check that the target supports
7837 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7839 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
7841 2015-07-14 Pedro Alves <palves@redhat.com>
7843 * gdb.base/killed-outside.exp: New file.
7844 * gdb.base/killed-outside.c: New file.
7846 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7848 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
7850 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
7852 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7854 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
7855 infcall tests instead of setting up for KFAIL.
7857 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
7859 * gdb.btrace/record_goto-step.exp: New.
7861 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7864 * gdb.compile/compile.c (struct struct_type): Add volatile to
7866 * gdb.compile/compile.exp
7867 (compile code struct_object.selffield = &struct_object): Skip further
7868 struct_object tests if this one xfails.
7870 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
7873 * gdb.trace/ax.exp: Add test.
7875 2015-07-07 Yao Qi <yao.qi@linaro.org>
7877 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
7878 instead of istarget "aarch64*-*-*".
7879 * gdb.arch/aarch64-fp.exp: Likewise.
7880 * gdb.base/float.exp: Likewise.
7881 * gdb.reverse/aarch64.exp: Likewise.
7882 * lib/gdb.exp (is_aarch64_target): New proc.
7884 2015-07-07 Yao Qi <yao.qi@linaro.org>
7886 * lib/gdb.exp (is_aarch32_target): New proc.
7887 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
7888 instead of "istarget "arm*-*-*"".
7889 * gdb.arch/arm-disp-step.exp: Likewise.
7890 * gdb.arch/thumb-bx-pc.exp: Likewise.
7891 * gdb.arch/thumb-prologue.exp: Likewise.
7892 * gdb.arch/thumb-singlestep.exp: Likewise.
7893 * gdb.base/disp-step-syscall.exp: Likewise.
7894 * gdb.base/float.exp: Likewise.
7896 2015-07-07 Yao Qi <yao.qi@linaro.org>
7898 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
7899 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
7901 2015-07-07 Yao Qi <yao.qi@linaro.org>
7903 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
7904 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
7906 * gdb.multi/multi-arch.exp: Likewise.
7908 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
7910 * gdb.python/py-lazy-string.exp: Add missing parentheses to
7913 2015-07-07 Yao Qi <yao.qi@linaro.org>
7915 * gdb.arch/thumb-singlestep.exp: Do one more single step.
7917 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
7919 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
7920 '[' and ']' characters.
7922 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
7924 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7926 2015-06-29 Pedro Alves <palves@redhat.com>
7929 * gdb.threads/hand-call-new-thread.c: New file.
7930 * gdb.threads/hand-call-new-thread.c: New file.
7932 2015-06-26 Keith Seitz <keiths@redhat.com>
7933 Doug Evans <dje@google.com>
7936 * gdb.cp/var-tag-2.cc: New file.
7937 * gdb.cp/var-tag-3.cc: New file.
7938 * gdb.cp/var-tag-4.cc: New file.
7939 * gdb.cp/var-tag.cc: New file.
7940 * gdb.cp/var-tag.exp: New file.
7942 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
7944 * gdb.base/history-duplicates.exp: New test.
7946 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
7948 * gdb.base/completion.exp: Test the completion of the "focus"
7951 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7953 * gdb.arch/amd64-prologue-skip.S: New file.
7954 * gdb.arch/amd64-prologue-skip.exp: New file.
7956 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
7958 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
7959 is_address_zero_readable check.
7961 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
7963 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
7964 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
7966 2015-06-24 Yao Qi <yao.qi@linaro.org>
7968 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
7971 2015-06-24 Yao Qi <yao.qi@linaro.org>
7973 * lib/gdb.exp (supports_get_siginfo_type): New proc.
7974 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
7975 * gdb.base/siginfo-thread.exp: Likewise.
7977 2015-06-22 Yao Qi <yao.qi@linaro.org>
7979 * boards/remote-gdbserver-on-localhost.exp: Add comments.
7981 2015-06-22 Yao Qi <yao.qi@linaro.org>
7983 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
7985 (skip_hw_watchpoint_tests): Likewise.
7987 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
7989 * gdb.base/gdbinit-history.exp: Test the interaction between
7990 setting GDBHISTSIZE and setting the history size via .gdbinit.
7992 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7995 * gdb.base/gdbhistsize-history.exp: New test.
7997 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7999 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8001 * gdb.base/readline.exp: Likewise.
8003 2015-06-17 Yao Qi <yao.qi@linaro.org>
8005 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8008 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8010 * gdb.base/gdbinit-history.exp: Add test case to check that
8011 an unlimited history file does not get truncated on exit.
8013 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8015 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8016 (VECTOR): New macro. Use it...
8017 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8018 ...for these typedefs.
8019 (int8, char1, int1, double1): New typedefs.
8020 (struct just_int2, struct two_int2): New structures.
8021 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8022 (add_structvecs, add_singlevecs): New functions.
8023 (main): Call add_some_intvecs twice.
8024 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8025 the compile and exit upon failure. Try compiling for the "native"
8026 architecture. Test inferior function calls with vector arguments
8027 and vector return value handling with "finish" and "return".
8029 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
8031 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
8032 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
8034 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
8036 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8038 PR breakpoints/16465
8039 * gdb.mi/mi-dprintf-pending.c: New file.
8040 * gdb.mi/mi-dprintf-pending.exp: New test.
8041 * gdb.mi/mi-dprintf-pendshr.c: New file.
8043 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8044 Mircea Gherzan <mircea.gherzan@intel.com>
8046 * gdb.arch/i386-mpx-map.c: New file.
8047 * gdb.arch/i386-mpx-map.exp: New File.
8049 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8051 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
8052 * gdb.arch/i386-mpx.exp: Indentation fixed.
8054 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8056 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8057 function and improved indentation.
8058 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8059 gdb_test_multiple. Added additional tests to skip the test.
8061 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8063 * gdb.arch/i386-avx512.c: Change path in include file.
8064 * gdb.arch/i386-avx512.exp: Change include dir path
8066 * gdb.arch/i386-mpx.c: Change path in include file.
8067 * gdb.arch/i386-mpx.exp: Change include dir path compilation
8070 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8072 * gdb.compile/compile-print.exp (compile print *vararray@3)
8073 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8075 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8077 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8078 (do not keep jit in memory): ... this.
8079 (expect 5): Change it to ...
8080 (expect no 5): ... this.
8082 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
8085 * gdb.mi/mi-detach.exp: New file.
8087 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8090 * gdb.arch/amd64-tailcall-self.S: New file.
8091 * gdb.arch/amd64-tailcall-self.c: New file.
8092 * gdb.arch/amd64-tailcall-self.exp: New file.
8094 2015-05-28 Don Breazeal <donb@codesourcery.com>
8096 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8097 tests for remote targets by checking is_target_gdbserver.
8099 2015-05-27 Doug Evans <dje@google.com>
8101 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8102 * gdb.dwarf2/opaque-type-lookup.c: New file.
8103 * gdb.dwarf2/opaque-type-lookup.exp: New file.
8105 2015-05-26 Doug Evans <dje@google.com>
8107 * gdb.cp/iostream.cc: New file.
8108 * gdb.cp/iostream.exp: New file.
8110 2015-05-26 Doug Evans <dje@google.com>
8112 * gdb.dwarf2/dw2-op-call.exp: Update.
8113 * gdb.dwarf2/dw4-sig-types.exp: Update.
8114 * gdb.dwarf2/implptr.exp: Update.
8115 * gdb.mi/mi-cmd-param-changed.exp: Update.
8117 2015-05-26 Doug Evans <dje@google.com>
8119 * gdb.python/py-lazy-string.c: New file.
8120 * gdb.python/py-lazy-string.exp: New file.
8121 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8122 (main): Update. Add estring3.
8123 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8124 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8126 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8127 Yao Qi <yao.qi@linaro.org>
8129 * gdb.reverse/aarch64.c: New.
8130 * gdb.reverse/aarch64.exp: New.
8132 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8134 * lib/gdb.exp (supports_process_record): Return true for
8136 (supports_reverse): Likewise.
8138 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
8140 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8141 Use with_test_prefix.
8143 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
8145 * gdb.base/completion.exp: Add test for completion of layout
8148 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
8150 * lib/gdb.exp (skip_tui_tests): New proc.
8151 * gdb.base/tui-layout.exp: Check skip_tui_tests.
8153 2015-05-19 Pedro Alves <palves@redhat.com>
8155 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8156 Save the whole env array instead of just HOME. Unset HISTSIZE in
8157 the environment while testing. Restore whole environment
8160 2015-05-16 Doug Evans <xdje42@gmail.com>
8162 * gdb.guile/scm-ports.c: New file.
8163 * gdb.guile/scm-ports.exp: Add memory port tests.
8165 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8167 * gdb.compile/compile-print.c: New file.
8168 * gdb.compile/compile-print.exp: New file.
8170 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8172 * gdb.compile/compile-ops.exp: Cast param to void.
8173 * gdb.compile/compile.exp: Complete type for _gdb_expr.
8174 (compile code struct_object.selffield = &struct_object): Add xfail.
8176 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8178 * gdb.ada/arr_enum_with_gap: New testcase.
8180 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8182 * gdb.ada/byte_packed_arr: New testcase.
8184 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8186 * gdb.ada/pckd_neg: New testcase.
8188 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
8191 * gdb.base/gdbinit-history.exp: New test.
8192 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
8193 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
8195 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
8197 * gdb.python/py-xmethods.cc: Enhance test case.
8198 * gdb.python/py-xmethods.exp: New tests.
8199 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
8201 (B_indexoper): Likewise.
8202 (global_dm_list) : Add new xmethod worker functions.
8204 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
8206 * gdb.base/coredump-filter.exp: Correctly unset
8207 "coredump_var_addr" array.
8209 2015-05-08 Pedro Alves <palves@redhat.com>
8211 * gdb.server/non-existing-program.exp: Unset spawn_id.
8213 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
8216 * gdb.python/py-xmethods.exp: Add tests.
8218 2015-05-08 Yao Qi <yao.qi@linaro.org>
8221 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
8222 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
8223 function set_coredump_filter, and remove remote_exec call.
8224 Remove argument ipid. Callers update.
8225 (top level): Don't get inferior's PID.
8227 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
8229 * gdb.base/watch_thread_num.exp: Skip test on targets without
8232 2015-05-06 Pedro Alves <palves@redhat.com>
8235 * gdb.server/non-existing-program.exp: New file.
8237 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8239 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
8241 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8243 * gdb.ada/out_of_line_in_inlined: New testcase.
8245 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8247 * gdb.ada/var_rec_arr: New testcase.
8249 2015-04-30 Yao Qi <yao.qi@linaro.org>
8251 * gdb.base/break-idempotent.exp: If
8252 skip_hw_watchpoint_multi_tests returns true, skip the tests
8253 on "rwatch" and "awatch".
8255 2015-04-30 Yao Qi <yao.qi@linaro.org>
8257 * gdb.base/relativedebug.exp: Invoke gdb command
8258 "info sharedlibrary", and if libc.so doesn't have debug info,
8261 2015-04-29 Doug Evans <dje@google.com>
8263 * gdb.python/py-xmethods.exp: Add ptype tests.
8264 * gdb.python/py-xmethods.py (E_method_char_worker): Add
8265 get_result_type method.
8267 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8269 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
8270 the target does not support hardware watchpoints.
8272 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8274 * gdb.base/break-always.exp: Abort testing if writing to memory
8277 2015-04-28 Doug Evans <dje@google.com>
8279 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
8280 * gdb.python/py-pp-registration.exp: ... here. New file.
8281 * gdb.python/py-pp-registration.c: New file.
8282 * gdb.python/py-pp-registration.py: New file.
8284 2015-04-28 Doug Evans <dje@google.com>
8286 * gdb.python/py-bad-printers.c: New file.
8287 * gdb.python/py-bad-printers.py: New file.
8288 * gdb.python/py-bad-printers.exp: New file.
8290 2015-04-28 Sasha Smundak <asmundak@google.com>
8292 * gdb.python/py-type.exp: New test.
8294 2015-04-28 Andy Wingo <wingo@igalia.com>
8296 * gdb.python/py-parameter.exp:
8297 * gdb.guile/scm-parameter.exp: Escape the path that we are
8298 matching against, as it might contain characters that are special
8299 to regular expressions.
8301 2015-04-27 Joel Brobecker <brobecker@adacore.com>
8303 * gdb.ada/rec_comp: New testcase.
8305 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
8307 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
8310 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
8312 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
8313 new tests for verilog output.
8315 2015-04-24 Yao Qi <yao.qi@linaro.org>
8317 * boards/remote-gdbserver-on-localhost.exp: New file.
8319 2015-04-23 Pedro Alves <palves@redhat.com>
8321 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
8322 $inferior_spawn_id instead of $inferior_spawn_id directly. On
8323 "end of file", remove $inferior_spawn_id from the indirect list.
8325 2015-04-23 Pedro Alves <palves@redhat.com>
8327 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
8329 2015-04-23 Pedro Alves <palves@redhat.com>
8331 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
8332 on $any_spawn_id instead of only on $gdb_spawn_id.
8334 2015-04-21 Pierre Muller <muller@sourceware.org>
8337 * lib/pascal.exp (gpc_compile): Add new option "class".
8338 (fpc_compile): Likewise.
8339 * gdb.pascal/case-insensitive-symbols.pas: New file.
8340 * gdb.pascal/case-insensitive-symbols.exp: New file.
8342 2015-04-20 Gary Benson <gbenson@redhat.com>
8344 * gdb.base/attach.exp: Fix three extended remote failures.
8346 2015-04-17 Gary Benson <gbenson@redhat.com>
8348 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
8349 the main executable over the remote protocol.
8351 2015-04-16 Pedro Alves <palves@redhat.com>
8353 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
8354 a new gdbserver if gdbserver_reconnect_p is set.
8356 2015-04-16 Pedro Alves <palves@redhat.com>
8358 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
8359 is set, don't exit gdbserver.
8361 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8363 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
8364 appropriate .insn, such that an older assembler can be used.
8365 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
8366 the z/Architecture instruction set on 31-bit targets as well.
8368 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8370 * gdb.go/handcall.exp: Remove all logic related to the first
8371 breakpoint and rely on go_runto_main instead.
8372 * gdb.go/strings.exp: Likewise.
8373 * gdb.go/unsafe.exp: Likewise.
8374 * gdb.go/hello.exp: Likewise. Also rename the remaining
8375 breakpoint marker to "breakpoint 1".
8376 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
8377 * gdb.go/strings.go: Likewise.
8378 * gdb.go/unsafe.go: Likewise.
8379 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
8380 "set breakpoint 2 here" and rename the remaining breakpoint marker
8383 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
8385 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
8386 if itertools.imap is not present.
8387 * gdb.python/py-objfile.exp: Add parentheses.
8388 * gdb.python/py-type.exp: Same.
8389 * gdb.python/py-unwind-maint.py: Same.
8391 2015-04-15 Yao Qi <yao.qi@linaro.org>
8393 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
8394 of ":$ptr_size" and set its form explicitly.
8396 2015-04-15 Pedro Alves <palves@redhat.com>
8397 Yao Qi <yao.qi@linaro.org>
8399 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
8400 timeout by factor of 4.
8401 (test_regular_watch): Likewise.
8402 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
8403 * gdb.reverse/sigall-reverse.exp: Likewise.
8404 * gdb.reverse/until-precsave.exp: Likewise.
8405 * lib/gdb.exp (with_timeout_factor): New proc.
8406 (gdb_expect): Move some code to ...
8407 (get_largest_timeout): ... here. New procedure.
8409 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
8411 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
8413 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8415 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
8416 to write to the .text section.
8418 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8420 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
8421 Handle the case of targets that do not provide PID information.
8423 2015-04-13 Yao Qi <yao.qi@linaro.org>
8425 * lib/gdbserver-support.exp (gdb_exit): Catch exception
8426 and use expect instead of gdb_expect.
8428 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
8430 * gdb.base/coredump-filter.exp: Rename variable "addr" to
8431 "coredump_var_addr" to avoid naming conflict with other testcases.
8433 2015-04-10 Pedro Alves <palves@redhat.com>
8435 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
8436 gdb_test_sequence and gdb_assert.
8438 2015-04-10 Pedro Alves <palves@redhat.com>
8440 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
8441 test messages that don't include the breakpoint address.
8443 2015-04-10 Yao Qi <yao.qi@linaro.org>
8445 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
8446 false for some offset and width combinations which aren't
8447 supported by linux kernel.
8449 2015-04-10 Pedro Alves <palves@redhat.com>
8451 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
8452 procedure, factored out from ...
8453 (top level): ... here. Add "set displaced-stepping" testing axis.
8454 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
8455 parameter "displaced". Use it.
8456 (top level): Use foreach and add "set displaced-stepping" testing
8459 2015-04-10 Pedro Alves <palves@redhat.com>
8461 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
8463 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
8464 both the address of the instruction that triggers the watchpoint
8465 and the address of the instruction immediately after, and use
8466 those addresses for the test. Fix comment.
8468 2015-04-10 Pedro Alves <palves@redhat.com>
8470 * gdb.base/sigstep.exp (breakpoint_to_handler)
8471 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
8472 Test "backtrace" in handler.
8473 (breakpoint_over_handler): New parameter 'displaced'. Use it.
8474 (top level): Add new "displaced" test axis to
8475 breakpoint_to_handler, breakpoint_to_handler_entry and
8476 breakpoint_over_handler.
8478 2015-04-10 Pedro Alves <palves@redhat.com>
8481 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
8483 2015-04-10 Yao Qi <yao.qi@linaro.org>
8485 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
8486 (test_add_rn_pc): New function.
8487 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
8488 (top level): Invoke test_add_rn_pc.
8490 2015-04-10 Pedro Alves <palves@redhat.com>
8493 * gdb.base/step-over-no-symbols.exp: New file.
8495 2015-04-09 Andy Wingo <wingo@igalia.com>
8497 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
8498 after the Python tests.
8500 2015-04-08 Keith Seitz <keiths@redhat.com>
8503 * gdb.python/py-completion.exp: New tests for completion.
8504 * gdb.python/py-completion.py (CompleteLimit1): New class.
8505 (CompleteLimit2): Likewise.
8506 (CompleteLimit3): Likewise.
8507 (CompleteLimit4): Likewise.
8508 (CompleteLimit5): Likewise.
8509 (CompleteLimit6): Likewise.
8510 (CompleteLimit7): Likewise.
8512 2015-04-08 Pedro Alves <palves@redhat.com>
8516 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
8518 (main): Install it as SIGUSR1 handler.
8519 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
8520 parameter. Always use "setup" as prefix. Toggle "set
8521 displaced-stepping" off/on depending on global. Don't switch to
8523 (top level): Add displaced stepping "off/on" test axis. Update
8524 "setup" calls. Wrap each subtest with with_test_prefix. Test
8525 continuing with a queued signal in each thread.
8527 2015-04-08 Pedro Alves <palves@redhat.com>
8529 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
8530 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
8531 gdb_breakpoint instead of gdb_test that doesn't expect anything.
8532 Return early if running to main fails.
8533 * gdb.trace/while-stepping.exp: Likewise.
8535 2015-04-07 Pedro Alves <palves@redhat.com>
8537 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
8538 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
8539 interact with inferior program.
8541 2015-04-07 Pedro Alves <palves@redhat.com>
8543 * lib/gdb.exp (inferior_spawn_id): New global.
8544 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
8545 spawn id after processing the user code.
8546 (default_gdb_start): Set inferior_spawn_id.
8547 (send_inferior): New procedure.
8548 * lib/gdbserver-support.exp (gdbserver_start): Set
8550 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
8552 2015-04-07 Pedro Alves <palves@redhat.com>
8554 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
8555 * lib/gdbserver-support.exp (gdbserver_start): Make
8556 $server_spawn_id global.
8557 (gdbserver_start): Don't wait for gdbserver's spawn id with
8559 (close_gdbserver): New procedure.
8560 (gdb_exit): Rename the default version and reimplement.
8562 2015-04-07 Pedro Alves <palves@redhat.com>
8564 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
8565 append the substituted item, not the original item.
8567 2015-04-07 Pedro Alves <palves@redhat.com>
8569 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
8572 2015-04-07 Pedro Alves <palves@redhat.com>
8574 * gdb.base/interrupt.exp: Don't handle the case of the inferior
8575 output appearing once only.
8577 2015-04-07 Pedro Alves <palves@redhat.com>
8579 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
8580 that doesn't expect anything. Return early if running to main
8583 2015-04-07 Yao Qi <yao.qi@linaro.org>
8585 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
8586 (child_function): Call alarm.
8587 (main): Move call to alarm into the loop.
8588 * gdb.threads/non-stop-fair-events.exp: Build program with
8591 2015-04-06 Doug Evans <xdje42@gmail.com>
8593 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
8594 Fix dest parameter to board_info.
8595 (fpc_compile): Ditto.
8596 (gdb_compile_pascal): Rename dest arg to destfile.
8598 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
8600 * gdb.ada/funcall_ref.exp: New file.
8601 * gdb.ada/funcall_ref/foo.adb: New file.
8603 2015-04-02 Yao Qi <yao.qi@linaro.org>
8605 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
8608 2015-04-02 Gary Benson <gbenson@redhat.com>
8610 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
8612 2015-04-01 Sasha Smundak <asmundak@google.com>
8614 * gdb.python/py-unwind-maint.c: New file.
8615 * gdb.python/py-unwind-maint.exp: New test.
8616 * gdb.python/py-unwind-maint.py: New file.
8617 * gdb.python/py-unwind.c: New file.
8618 * gdb.python/py-unwind.exp: New test.
8619 * gdb.python/py-unwind.py: New test.
8621 2015-04-01 Pedro Alves <palves@redhat.com>
8623 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
8624 to fail instead of non-existent $test.
8626 2015-04-01 Pedro Alves <palves@redhat.com>
8628 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
8629 GDBFLAGS if not empty.
8631 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
8633 * gdb.ada/complete.exp: Remove "multi_line".
8634 * gdb.ada/info_exc.exp: Remove "multi_line".
8635 * gdb.ada/packed_tagged.exp: Remove "multi_line".
8636 * gdb.ada/ptype_field.exp: Remove "multi_line".
8637 * gdb.ada/sym_print_name.exp: Remove "multi_line".
8638 * gdb.ada/tagged.exp: Remove "multi_line".
8639 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
8641 * gdb.btrace/delta.exp: Likewise.
8642 * gdb.btrace/exception.exp: Likewise.
8643 * gdb.btrace/function_call_history.exp: Likewise.
8644 * gdb.btrace/instruction_history.exp: Likewise.
8645 * gdb.btrace/nohist.exp: Likewise.
8646 * gdb.btrace/record_goto.exp: Likewise.
8647 * gdb.btrace/segv.exp: Likewise.
8648 * gdb.btrace/stepi.exp: Likewise.
8649 * gdb.btrace/tailcall.exp: Likewise.
8650 * gdb.btrace/unknown_functions.exp: Likewise.
8651 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
8652 * lib/gdb.exp: Add the "multi_line" helper.
8654 2015-04-01 Pedro Alves <palves@redhat.com>
8656 * gdb.threads/tid-reuse.c: New file.
8657 * gdb.threads/tid-reuse.exp: New file.
8659 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
8662 * gdb.base/coredump-filter.c: New file.
8663 * gdb.base/coredump-filter.exp: Likewise.
8665 2015-03-27 Petr Machata <pmachata@redhat.com>
8667 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
8668 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
8669 (Dwarf::assemble): Initialize them.
8670 (Dwarf::lines): New function.
8672 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
8674 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
8675 SYMBOL_PREFIX for x86_64-*-cygwin.
8677 2015-03-26 Andy Wingo <wingo@igalia.com>
8680 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
8681 const_value but not a location.
8682 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
8683 location defined in non-main CUs are visible.
8685 2015-03-26 Yao Qi <yao.qi@linaro.org>
8688 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
8689 Add a line number entry for the same line.
8690 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
8691 Add a line number entry for the same line.
8693 2015-03-26 Yao Qi <yao.qi@linaro.org>
8695 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
8697 (func): Likewise. Add .Lfunc_1 label.
8699 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
8704 2015-03-26 Yao Qi <yao.qi@linaro.org>
8706 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
8707 Call gdb_compile instead to compile each .s files without debug
8710 2015-03-26 Yao Qi <yao.qi@linaro.org>
8712 * gdb.base/savedregs.exp (process_saved_regs): Make
8713 "Saved registers:" optional in the pattern.
8715 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
8717 * gdb.btrace/next.exp: Merged into step.exp.
8718 * gdb.btrace/finish.exp: Merged into step.exp.
8719 * gdb.btrace/nexti.exp: Merged into stepi.exp.
8720 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
8721 "record goto" and checking the exact replay position.
8722 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
8723 check for "Recording format" in "info record" output.
8724 * gdb.btrace/record_goto.exp: Choose test file based on target.
8725 * gdb.btrace/x86-record_goto.S: Renamed into ...
8726 * gdb.btrace/x86_64-record_goto.S: ... this.
8727 * gdb.btrace/i686-record_goto.S: New.
8728 * gdb.btrace/x86-tailcall.S: Renamed into ...
8729 * gdb.btrace/x86_64-tailcall.S: ... this.
8730 * gdb.btrace/i686-tailcall.S: New.
8731 * gdb.btrace/x86-tailcall.c: Renamed into ...
8732 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
8733 separate statements. Update test.
8734 * gdb.btrace/delta.exp: Use record_goto.c as test file.
8735 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
8736 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
8737 * gdb.btrace/tailcall.exp: Choose test file based on target.
8738 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
8740 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
8742 * gdb.btrace/exception.exp: Increase BTS buffer size.
8744 2015-03-24 Pedro Alves <palves@redhat.com>
8746 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
8748 2015-03-24 Pedro Alves <palves@redhat.com>
8750 * gdb.threads/schedlock.exp (test_step): No longer expect that
8751 "set scheduler-locking step" with "next" over a function call runs
8754 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8756 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
8758 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8760 PR breakpoints/16466
8761 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
8762 * gdb.mi/mi-pending.c (thread_func): New function.
8763 (int main): Add threading support required.
8764 * gdb.mi/mi-pending.exp: Add tests for this issue.
8765 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
8766 (pendfunc2): Remove stdio dependency.
8767 * gdb.mi/mi-pendshr2.c: New file.
8769 2015-03-23 Keith Seitz <keiths@redhat.com>
8771 * gdb.linespec/keywords.c: New file.
8772 * gdb.linespec/keywords.exp: New file.
8774 2015-03-23 Keith Seitz <keiths@redhat.com>
8777 * gdb.dwarf2/staticvirtual.exp: New test.
8779 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8781 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
8782 * README: Remove HP-UX and gdb.hp.
8784 * configure: Regenerate.
8785 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
8786 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
8787 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
8788 gdb.hp/gdb.defects/Makefile.
8789 * gdb.hp/Makefile.in: File deleted.
8790 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
8791 * gdb.hp/gdb.aCC/optimize.c: File deleted.
8792 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
8793 * gdb.hp/gdb.aCC/run.c: File deleted.
8794 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
8795 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
8796 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
8797 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
8798 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
8799 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
8800 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
8801 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
8802 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
8803 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
8804 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
8805 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
8806 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
8807 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
8808 * gdb.hp/gdb.base-hp/reg.s: File deleted.
8809 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
8810 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
8811 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
8812 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
8813 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
8814 * gdb.hp/gdb.compat/Makefile.in: File deleted.
8815 * gdb.hp/gdb.compat/average.c: File deleted.
8816 * gdb.hp/gdb.compat/sum.c: File deleted.
8817 * gdb.hp/gdb.compat/xdb.c: File deleted.
8818 * gdb.hp/gdb.compat/xdb0.c: File deleted.
8819 * gdb.hp/gdb.compat/xdb0.h: File deleted.
8820 * gdb.hp/gdb.compat/xdb1.c: File deleted.
8821 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
8822 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
8823 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
8824 * gdb.hp/gdb.defects/Makefile.in: File deleted.
8825 * gdb.hp/gdb.defects/bs14602.c: File deleted.
8826 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
8827 * gdb.hp/gdb.defects/solib-d.c: File deleted.
8828 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
8829 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
8830 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
8831 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
8832 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
8833 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
8834 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
8835 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
8836 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
8837 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
8838 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
8839 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
8840 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
8841 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
8842 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
8843 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
8844 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
8845 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
8846 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
8847 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
8848 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
8849 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
8850 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
8851 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
8852 * gdb.hp/tools/odump: File deleted.
8854 2015-03-19 Pedro Alves <palves@redhat.com>
8856 * gdb.threads/continue-pending-status.exp (saw_thread_2)
8857 (saw_thread_3): New globals.
8858 (top level): Increment them when an event for the corresponding
8860 (no thread starvation): New test.
8862 2015-03-19 Pedro Alves <palves@redhat.com>
8864 * gdb.threads/continue-pending-status.c: New file.
8865 * gdb.threads/continue-pending-status.exp: New file.
8867 2015-03-18 Pedro Alves <palves@redhat.com>
8869 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8870 Use gdb_is_target_remote instead of is_remote. Use
8871 gdb_test_multiple instead of gdb_expect. Exit early if
8872 gdb_test_multiple hits its internal matches. Tighten stepi tests
8873 expected output. Fail on exit with any signal, instead of just
8876 2015-03-18 Yao Qi <yao.qi@linaro.org>
8879 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
8881 * gdb.base/catch-syscall.exp: Don't skip it on
8882 aarch64*-*-linux* target. Remove elements in all_syscalls.
8883 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
8885 (setup_all_syscalls): New proc.
8887 2015-03-16 Yao Qi <yao.qi@linaro.org>
8889 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
8890 (top level): Skip tests if valid_addr_p returns false for
8893 2015-03-11 Andy Wingo <wingo@igalia.com>
8895 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
8897 2015-03-11 Yao Qi <yao.qi@linaro.org>
8899 * gdb.base/catch-syscall.exp: Fix typo in comments.
8901 2015-03-11 Yao Qi <yao.qi@linaro.org>
8903 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
8905 2015-03-09 Pedro Alves <palves@redhat.com>
8907 * dg-extract-results.py: Delete.
8909 2015-03-09 Pedro Alves <palves@redhat.com>
8911 Merge dg-extract-results.sh from GCC upstream (r218843).
8913 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
8914 * dg-extract-results.sh: Use --text with grep to avoid issues with
8915 binary files. Fall back to cat -v, if that doesn't work.
8917 2015-03-05 Pedro Alves <palves@redhat.com>
8919 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
8921 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
8923 * lib/mi-support.exp (mi_expect_interrupt): Accept
8924 alternative event for when in all-stop mode.
8926 2015-03-04 Pedro Alves <palves@redhat.com>
8928 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
8930 2015-03-04 Mark Kettenis <kettenis@gnu.org>
8932 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
8934 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
8936 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
8937 regexps for GDB's current line display, accept a hex address
8938 preceding the line number.
8940 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
8942 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
8943 the 'arch1' variable for "s390*-linux*" targets.
8945 2015-03-04 Pedro Alves <palves@redhat.com>
8947 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
8948 (main): Pass missing retval argument to pthread_join call.
8950 2015-03-02 Pedro Alves <palves@redhat.com>
8952 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
8953 (top level): Call do_test with non-stop as well.
8955 2015-03-02 Pedro Alves <palves@redhat.com>
8957 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
8960 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8962 * gdb.arch/s390-vregs.exp: New test.
8963 * gdb.arch/s390-vregs.S: New file.
8965 2015-02-27 Pedro Alves <palves@redhat.com>
8967 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
8968 call to catch_command_errors.
8969 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
8970 catch_command_errors.
8972 2015-02-27 Pedro Alves <palves@redhat.com>
8974 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
8975 "true" for boolean result.
8976 * gdb.gdb/selftest.exp (test_with_self): Also accept full
8979 2015-02-27 Pedro Alves <palves@redhat.com>
8981 * lib/unbuffer_output.c: New file.
8982 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
8983 (main): Call gdb_unbuffer_output.
8985 2015-02-27 Yao Qi <yao.qi@linaro.org>
8987 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
8990 2015-02-26 Doug Evans <dje@google.com>
8992 * gdb.cp/class2.cc (Dbase, D): New classes.
8993 (main): New local delta.
8994 * gdb.cp/class2.exp: Test printing delta.
8995 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
8996 (dynbar): New global.
8997 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
8999 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9001 * gdb.compile/compile-ifunc.c: New file.
9002 * gdb.compile/compile-ifunc.exp: New file.
9004 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
9006 * gdb.base/structs.exp: Check for correct struct on finish.
9008 2015-02-26 Yao Qi <yao.qi@linaro.org>
9010 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9013 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9015 * gdb.arch/cordic.ko.bz2: New file.
9016 * gdb.arch/cordic.ko.debug.bz2: New file.
9017 * gdb.arch/ppc64-symtab-cordic.exp: New file.
9019 2015-02-25 Yao Qi <yao.qi@linaro.org>
9021 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9022 aarch64*-*-* target.
9024 2015-02-23 Pedro Alves <palves@redhat.com>
9026 * lib/gdb.exp (delete_breakpoints): Rewrite using
9029 2015-02-23 Pedro Alves <palves@redhat.com>
9031 * gdb.base/info-os.c: Include stdlib.h.
9033 2015-02-22 Doug Evans <xdje42@gmail.com>
9036 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
9037 is read after symbols have been re-read.
9038 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
9039 * gdb.ada/exec_changed/second.adb (Second): Ditto.
9041 2015-02-21 Doug Evans <dje@google.com>
9043 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
9045 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9048 * gdb.arch/i386-biarch-core.core.bz2: New file.
9049 * gdb.arch/i386-biarch-core.exp: New file.
9051 2015-02-21 Pedro Alves <palves@redhat.com>
9053 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9056 2015-02-20 Pedro Alves <palves@redhat.com>
9058 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9061 2015-02-20 Pedro Alves <palves@redhat.com>
9063 * gdb.threads/multi-create-ns-info-thr.exp: New file.
9065 2015-02-20 Pedro Alves <palves@redhat.com>
9067 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
9068 clean_restart before gdb_target_supports_trace.
9070 2015-02-20 Pedro Alves <palves@redhat.com>
9073 * gdb.threads/clone-thread_db.c: New file.
9074 * gdb.threads/clone-thread_db.exp: New file.
9076 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
9078 PR breakpoints/16812
9079 * gdb.base/catch-gdb-caused-signals.c: New file.
9080 * gdb.base/catch-gdb-caused-signals.exp: New file.
9082 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
9084 * configure: Regenerated.
9085 * configure.ac: Use GDB_AC_TRANSFORM.
9086 * aclocal.m4: sinclude ../transform.m4.
9088 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9090 * lib/dtrace.exp: New file.
9091 * gdb.base/dtrace-probe.exp: Likewise.
9092 * gdb.base/dtrace-probe.d: Likewise.
9093 * gdb.base/dtrace-probe.c: Likewise.
9094 * lib/pdtrace.in: Likewise.
9095 * configure.ac: Output variables with the transformed names of
9096 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
9097 * configure: Regenerated.
9099 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9101 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9102 expected message when trying to access $_probe_* convenience
9103 variables while not on a probe.
9105 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9107 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9109 2015-02-11 Pedro Alves <pedro@codesourcery.com>
9111 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9112 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9114 2015-02-10 Doug Evans <xdje42@gmail.com>
9116 * lib/gdb.exp (gdb_load): Always return a result.
9118 2015-02-10 Pedro Alves <palves@redhat.com>
9120 * gdb.threads/signal-sigtrap.c: New file.
9121 * gdb.threads/signal-sigtrap.exp: New file.
9123 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
9125 * gdb.trace/no-attach-trace.c: New file.
9126 * gdb.trace/no-attach-trace.exp: New file.
9128 2015-02-09 Mark Wielaard <mjw@redhat.com>
9130 * gdb.dwarf2/atomic.c: New file.
9131 * gdb.dwarf2/atomic-type.exp: Likewise.
9133 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9135 * gdb.btrace/buffer-size.exp: Update "info record" output.
9136 * gdb.btrace/delta.exp: Update "info record" output.
9137 * gdb.btrace/enable.exp: Update "info record" output.
9138 * gdb.btrace/finish.exp: Update "info record" output.
9139 * gdb.btrace/instruction_history.exp: Update "info record" output.
9140 * gdb.btrace/next.exp: Update "info record" output.
9141 * gdb.btrace/nexti.exp: Update "info record" output.
9142 * gdb.btrace/step.exp: Update "info record" output.
9143 * gdb.btrace/stepi.exp: Update "info record" output.
9144 * gdb.btrace/nohist.exp: Update "info record" output.
9146 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9148 * gdb.btrace/buffer-size: New.
9150 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9152 * gdb.btrace/delta.exp: Update "info record" output.
9153 * gdb.btrace/enable.exp: Update "info record" output.
9154 * gdb.btrace/finish.exp: Update "info record" output.
9155 * gdb.btrace/instruction_history.exp: Update "info record" output.
9156 * gdb.btrace/next.exp: Update "info record" output.
9157 * gdb.btrace/nexti.exp: Update "info record" output.
9158 * gdb.btrace/step.exp: Update "info record" output.
9159 * gdb.btrace/stepi.exp: Update "info record" output.
9160 * gdb.btrace/nohist.exp: Update "info record" output.
9162 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
9165 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
9167 2015-02-06 Pedro Alves <palves@redhat.com>
9169 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
9171 (seconds_left, again): New globals.
9172 (main): Wait seconds_left in a 1-second sleep loop instead of
9173 sleeping 180 seconds. If 'again' is set, reset the seconds
9175 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
9176 'again' in the inferior before detaching. Print the seconds left.
9177 (options): New global.
9178 (top level): Build program with -DTIMEOUT=$timeout.
9180 2015-02-06 Pedro Alves <palves@redhat.com>
9182 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
9183 determine how many seconds to pass to 'alarm'.
9184 * gdb.base/gdb-sigterm.exp (top level): Build program with
9186 (do_test): Return success/failure indication. Add more verbose
9187 logging. Don't fail if 200 single steps are seen. Instead, fail
9188 when the test times out.
9189 (passes): New global.
9190 (top level): Break the testing loop if testing fails on any
9191 iteration. Use gdb_assert.
9193 2015-02-04 Don Breazeal <donb@codesourcery.com>
9195 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
9196 and initialize them.
9197 (ipc_cleanup): New function.
9198 (main): Don't declare shmid, semid, and msqid. Add a call to
9199 atexit so that we call ipc_cleanup on exit.
9201 2015-02-04 Pedro Alves <palves@redhat.com>
9203 * boards/native-extended-gdbserver.exp: Remove any target variant
9204 specifications from the board name before clearing the isremote
9205 flag from board_info.
9207 2015-01-31 Doug Evans <xdje42@gmail.com>
9209 * gdb.base/maint.exp <maint print type argc>: Update expected output.
9211 2015-01-31 Gary Benson <gbenson@redhat.com>
9213 * gdb.base/completion.exp: Disable completion limiting for
9214 existing tests. Add new tests to check completion limiting.
9215 * gdb.linespec/ls-errs.exp: Disable completion limiting.
9217 2015-01-31 Doug Evans <xdje42@gmail.com>
9219 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
9221 2015-01-31 Doug Evans <xdje42@gmail.com>
9223 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
9224 entries. Duplicate file section script entries.
9225 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
9226 inlined entries. Add test for safe-path rejection.
9227 * gdb.python/py-section-script.c: Add duplicate inlined section script
9228 entries. Duplicate file section script entries.
9229 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
9230 inlined entries. Add test for safe-path rejection.
9232 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9234 * gdb.ada/disc_arr_bound: New testcase.
9236 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9238 * gdb.ada/mi_var_array: New testcase.
9240 2015-01-27 Doug Evans <dje@google.com>
9242 * gdb.python/py-objfile.exp: Add tests for objfile.username.
9243 Add test for objfile.filename, objfile.username after objfile
9246 2015-01-26 Joel Brobecker <brobecker@adacore.com>
9248 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
9249 the second test to print the name attribute of value
9250 returned by the call to gdb.lookup_type, and adjust
9251 the expected output accordingly.
9253 2015-01-25 Mark Wielaard <mjw@redhat.com>
9255 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
9256 * gdb.base/disp-step-fork.c: Include unistd.h.
9257 * gdb.base/siginfo-obj.c: Include stdio.h.
9258 * gdb.base/siginfo-thread.c: Likewise.
9259 * gdb.mi/non-stop.c: Include unistd.h.
9260 * gdb.mi/nsthrexec.c: Include stdio.h.
9261 * gdb.mi/pthreads.c: Include unistd.h.
9262 * gdb.modula2/unbounded1.c (main): Declare returns int.
9263 * gdb.reverse/consecutive-reverse.c: Likewise.
9264 * gdb.threads/create-fail.c: Include unistd.h.
9265 * gdb.threads/killed.c: Likewise.
9266 * gdb.threads/linux-dp.c: Likewise.
9267 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
9268 * gdb.threads/non-ldr-exc-2.c: Likewise.
9269 * gdb.threads/non-ldr-exc-3.c: Likewise.
9270 * gdb.threads/non-ldr-exc-4.c: Likewise.
9271 * gdb.threads/pthreads.c: Include unistd.h.
9272 (main): Declare returns int.
9273 * gdb.threads/tls-main.c (foo): New declaration.
9274 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
9276 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
9278 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
9279 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
9281 2015-01-15 Mark Wielaard <mjw@redhat.com>
9283 * gdb.base/noreturn-return.c: New file.
9284 * gdb.base/noreturn-return.exp: New file.
9285 * gdb.base/noreturn-finish.c: New file.
9286 * gdb.base/noreturn-finish.exp: New file.
9288 2015-01-23 Pedro Alves <palves@redhat.com>
9290 * gdb.threads/continue-pending-after-query.c: New file.
9291 * gdb.threads/continue-pending-after-query.exp: New file.
9293 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
9294 Simon Marchi <simon.marchi@ericsson.com>
9296 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
9297 * gdb.base/valgrind-db-attach.exp: Same.
9298 * gdb.base/valgrind-infcall.exp: Same.
9299 * lib/mi-support.exp (default_mi_gdb_start): Same.
9300 * lib/prompt.exp (default_prompt_gdb_start): Same.
9301 * lib/gdb.exp (default_gdb_spawn): Same.
9302 (gdb_interact): New.
9305 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9307 * gdb.compile/compile.exp (pointer to jit function): New test.
9309 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
9311 * lib/gdb.exp (supports_process_record): Return true for
9313 (supports_reverse): Likewise.
9315 2015-01-15 Don Breazeal <donb@codesourcery.com>
9317 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
9318 instead of checking whether the target board is remote and
9319 use spawn_wait_for_attach instead of exec/sleep.
9320 * gdb.base/attach-twice.exp: Likewise.
9322 2015-01-15 Joel Brobecker <brobecker@adacore.com>
9324 * gdb.ada/var_arr_attrs: New testcase.
9326 2015-01-14 Pedro Alves <palves@redhat.com>
9327 Joel Brobecker <brobecker@adacore.com>
9330 * gdb.base/bp-cmds-execution-x-script.c: New file.
9331 * gdb.base/bp-cmds-execution-x-script.exp: New file.
9332 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
9334 2015-01-14 Pedro Alves <palves@redhat.com>
9337 * gdb.base/batch-preserve-term-settings.c: New file.
9338 * gdb.base/batch-preserve-term-settings.exp: New file.
9340 2015-01-13 Doug Evans <dje@google.com>
9342 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
9345 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9347 * Makefile.in (clean mostlyclean): Do not delete *.py.
9349 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9351 * gdb.python/py-lookup-type.exp: New file.
9353 2015-01-12 Pedro Alves <palves@redhat.com>
9355 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
9356 restore GDBFLAGS before returning.
9358 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9360 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
9361 is_amd64_regs_target and is_x86_like_target.
9363 2015-01-11 Doug Evans <xdje42@gmail.com>
9365 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
9366 is given without an explicit form.
9367 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
9369 * gdb.dwarf/corrupt.exp: Ditto.
9370 * gdb.dwarf2/enum-type.exp: Ditto.
9371 * gdb.trace/entry-values.exp: Ditto.
9372 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
9374 2015-01-11 Doug Evans <xdje42@gmail.com>
9377 * gdb.base/maint.exp: Remove references to "maint demangle".
9378 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
9379 Add tests for explicitly specifying language to demangle.
9380 * gdb.dlang/demangle.exp: Ditto.
9382 2015-01-09 Pedro Alves <palves@redhat.com>
9384 * gdb.threads/non-stop-fair-events.c: New file.
9385 * gdb.threads/non-stop-fair-events.exp: New file.
9387 2015-01-09 Pedro Alves <palves@redhat.com>
9389 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
9390 the global scope. Set a breakpoint after all threads are started
9391 rather than stepping over two source lines. Expect the prompt.
9392 * gdb.base/watch_thread_num.c (threads_started_barrier): New
9395 (main): Use threads_started_barrier to wait for all threads to
9396 start. Main thread no longer calls thread_function. Exit after
9398 (loop): New function.
9399 (thread_function): Wait on threads_started_barrier barrier. Call
9400 'loop' at each iteration.
9401 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
9402 threads have started, instead of hardcoding number of "next"
9403 steps. Use an access watchpoint instead of a write watchpoint.
9405 2015-01-09 Pedro Alves <palves@redhat.com>
9407 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
9408 (thread_func): Wait on barrier.
9409 (main): Wait for all threads to start before stopping GDB.
9410 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
9412 (thread1_func, thread2_func): Wait on barrier.
9413 (main): Wait for all threads to start before stopping GDB.
9414 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
9416 (thread1_func, thread2_func): Wait on barrier.
9417 (main): Wait for all threads to start before stopping GDB.
9419 2015-01-09 Pedro Alves <palves@redhat.com>
9421 * gdb.threads/attach-many-short-lived-threads.c: New file.
9422 * gdb.threads/attach-many-short-lived-threads.exp: New file.
9424 2014-01-09 Pedro Alves <palves@redhat.com>
9426 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
9427 instead of to thread 2.
9428 * gdb.threads/signal-command-multiple-signals-pending.c (main):
9429 Add barrier around each pthread_create call instead of around all
9431 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
9432 Set a break on thread_function and have the child threads hit it
9435 2015-01-09 Pedro Alves <palves@redhat.com>
9437 * lib/gdb.exp (can_spawn_for_attach): New procedure.
9438 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
9440 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
9441 checking whether the target board is remote.
9442 * gdb.multi/multi-attach.exp: Likewise.
9443 * gdb.python/py-sync-interp.exp: Likewise.
9444 * gdb.server/ext-attach.exp: Likewise.
9445 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
9446 tests that need to attach, instead of checking whether the target
9447 board is remote at the top of the file.
9449 2015-01-08 Yao Qi <yao@codesourcery.com>
9451 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
9453 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9455 Fix testcase compilation.
9456 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
9458 2015-01-06 Joel Brobecker <brobecker@adacore.com>
9460 * gdb.python/py-type.exp: Add a couple test about empty
9461 array creation, and negative-length array creation.
9463 2015-01-02 Doug Evans <xdje42@gmail.com>
9465 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
9467 2015-01-02 Doug Evans <dje@google.com>
9469 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
9471 2014-12-29 Yao Qi <yao@codesourcery.com>
9473 * gdb.trace/entry-values.exp: Update comments. Rename variable
9474 bar_call_foo to returned_from_foo.
9476 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
9479 * gdb.linespec/break-asm-file.c: New file.
9480 * gdb.linespec/break-asm-file.exp: New file.
9481 * gdb.linespec/break-asm-file0.s: New file.
9482 * gdb.linespec/break-asm-file1.s: New file.
9484 2014-12-18 Nigel Stephens <nigel@mips.com>
9485 Maciej W. Rozycki <macro@codesourcery.com>
9487 * gdb.base/float.exp: Handle the new output from "info float" on
9490 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9492 Fix MinGW compilation.
9493 * gdb.compile/compile-ops.exp: Update untested message if
9494 !skip_compile_feature_tests.
9495 * gdb.compile/compile-setjmp.exp: Likewise.
9496 * gdb.compile/compile-tls.exp: Likewise.
9497 * gdb.compile/compile.exp: Likewise.
9498 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
9499 supported on this host".
9501 2014-12-16 Doug Evans <xdje42@gmail.com>
9503 * boards/stabs.exp: New file.
9505 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
9507 * gdb.base/completion.exp: Adjust to format changes of "maint
9508 print user-registers".
9510 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
9513 * gdb.arch/aarch64-fp.c: New file.
9514 * gdb.arch/aarch64-fp.exp: New file.
9516 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9518 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
9519 r210637, r210913, r211666, r215400, r215817).
9521 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
9522 * dg-extract-results.py: New file.
9523 * dg-extract-results.sh: Use it if the environment seems
9526 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
9528 * dg-extract-results.py (parse_run): Handle warnings that
9529 are printed before a test harness is run.
9531 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
9533 * dg-extract-results.py (Named): Remove __cmp__ method.
9534 (output_variation): Use a key to sort variation.harnesses.
9536 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
9538 * dg-extract-results.py: For Python 3, force sys.stdout to
9539 handle surrogate escape sequences.
9540 (safe_open): New function.
9541 (output_segment, main): Use it.
9543 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
9545 * dg-extract-results.py (Prog.result_re): Include options
9548 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
9550 * dg-extract-results.py (output_variation): Always sort if
9553 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
9555 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
9556 as long as we get pagination notifications.
9558 2014-12-15 Jason Merrill <jason@redhat.com>
9560 * Makefile.in (check-gdb.%): Restore.
9561 * README: Mention it.
9563 2014-12-13 Joel Brobecker <brobecker@adacore.com>
9565 * gdb.ada/str_uninit: New testcase.
9567 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9570 * gdb.base/vla-stub-define.c: New file.
9571 * gdb.base/vla-stub.c: New file.
9572 * gdb.base/vla-stub.exp: New file.
9574 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
9575 Jan Kratochvil <jan.kratochvil@redhat.com>
9576 Tom Tromey <tromey@redhat.com>
9578 * configure.ac: Add gdb.compile/.
9579 * configure: Regenerate.
9580 * gdb.compile/Makefile.in: New file.
9581 * gdb.compile/compile-ops.exp: New file.
9582 * gdb.compile/compile-ops.c: New file.
9583 * gdb.compile/compile-tls.c: New file.
9584 * gdb.compile/compile-tls.exp: New file.
9585 * gdb.compile/compile-constvar.S: New file.
9586 * gdb.compile/compile-constvar.c: New file.
9587 * gdb.compile/compile-mod.c: New file.
9588 * gdb.compile/compile-nodebug.c: New file.
9589 * gdb.compile/compile-setjmp-mod.c: New file.
9590 * gdb.compile/compile-setjmp.c: New file.
9591 * gdb.compile/compile-setjmp.exp: New file.
9592 * gdb.compile/compile-shlib.c: New file.
9593 * gdb.compile/compile.c: New file.
9594 * gdb.compile/compile.exp: New file.
9595 * lib/gdb.exp (skip_compile_feature_tests): New proc.
9597 2014-12-12 Tom Tromey <tromey@redhat.com>
9599 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
9600 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
9602 2014-12-12 Doug Evans <dje@google.com>
9604 * lib/gdb-python.exp (get_python_valueof): New function.
9605 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
9607 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9609 * gdb.base/completion.exp: Add test for completion of "info
9612 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
9614 * gdb.base/func-ptrs.c: New file.
9615 * gdb.base/func-ptrs.exp: New file.
9617 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
9619 PR breakpoints/17012
9620 * gdb.base/dprintf-detach.c: New file.
9621 * gdb.base/dprintf-detach.exp: New file.
9623 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
9625 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
9626 * lib/gdb.exp (target_is_gdbserver): New procedure.
9628 2014-12-08 Doug Evans <dje@google.com>
9630 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
9632 2014-12-05 Yao Qi <yao@codesourcery.com>
9634 * gdb.guile/scm-error.exp: Remove the third argument to
9635 gdb_remote_download.
9636 * gdb.guile/scm-frame-args.exp: Likewise.
9637 * gdb.guile/scm-section-script.exp: Likewise.
9639 2014-12-05 Yao Qi <yao@codesourcery.com>
9641 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
9643 2014-12-04 Doug Evans <dje@google.com>
9645 * gdb.python/py-objfile.exp: Add tests for
9646 objfile.add_separate_debug_file.
9648 2014-12-04 Doug Evans <dje@google.com>
9650 * lib/gdb.exp (get_build_id): New function.
9651 (build_id_debug_filename_get): Rewrite to use it.
9652 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
9654 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
9656 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
9657 `method(long)', not just 0x0.
9658 * gdb.cp/nsalias.exp: Align code labels to 4.
9659 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
9660 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
9661 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
9662 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
9663 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
9664 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
9666 2014-12-02 Doug Evans <dje@google.com>
9669 * gdb.cp/anon-ns.cc: Move guts of this file to ...
9670 * gdb.cp/anon-ns2.cc: ... here. New file.
9671 * gdb.cp/anon-ns.exp: Update.
9673 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
9675 * gdb.python/py-events.py (inferior_call_handler): New.
9676 (register_changed_handler, memory_changed_handler): New.
9677 (test_events.invoke): Register new handlers.
9678 * gdb.python/py-events.exp: Add tests for inferior call,
9679 memory_changed and register_changed events.
9681 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9683 * gdb.base/execl-update-breakpoints.exp: Specify the link address
9684 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
9685 if the linker doesn't understand this.
9687 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
9689 * gdb.python/python.exp: Change expected reply to help().
9691 2014-12-01 Yao Qi <yao@codesourcery.com>
9693 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
9694 AC_CONFIG_SUBDIRS(gdb.gdbtk).
9695 * configure: Re-generated.
9697 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
9699 * gdb.cp/chained-calls.cc: New file.
9700 * gdb.cp/chained-calls.exp: New file.
9701 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
9703 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
9705 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
9706 * gdb.dwarf2/symtab-producer.exp: Same.
9707 * gdb.gdb/python-interrupts.exp: Same.
9708 * gdb.gdb/python-selftest.exp: Same.
9709 * gdb.python/py-linetable.exp: Same.
9710 * gdb.python/py-type.exp: Same.
9711 * gdb.python/py-value-cc.exp: Same.
9712 * gdb.python/py-value.exp: Same.
9714 2014-11-28 Yao Qi <yao@codesourcery.com>
9716 * gdb.base/break-probes.exp: Match library name prefixed with
9719 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
9721 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
9722 test expected output. Add parentheses for the call to print.
9723 Remove L suffix from integers.
9725 2014-11-26 Doug Evans <dje@google.com>
9727 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
9729 2014-11-22 Yao Qi <yao@codesourcery.com>
9731 * gdb.trace/entry-values.c: Remove asms.
9732 (foo): Add foo_label.
9733 (bar): Add bar_label.
9734 * gdb.trace/entry-values.exp: Remove code computing foo's
9735 length and bar's length.
9736 (Dwarf::assemble): Invoke function_range for bar and use
9737 MACRO_AT_func for foo.
9739 2014-11-22 Yao Qi <yao@codesourcery.com>
9741 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
9742 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
9743 Use .Lgcc43_procstart instead of gcc43.
9745 2014-11-21 Joel Brobecker <brobecker@adacore.com>
9747 * gdb.ada/n_arr_bound: New testcase.
9749 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
9751 PR breakpoints/10737
9752 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
9753 test_catch_syscall_multi_arch.
9754 (test_catch_syscall_multi_arch): New function.
9756 2014-11-20 Doug Evans <xdje42@gmail.com>
9758 * gdb.base/maint.exp: Update expected output.
9760 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9762 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
9763 4-byte instruction on S390.
9765 2014-11-19 Joel Brobecker <brobecker@adacore.com>
9767 * gdb.ada/arr_arr: New testcase.
9769 2014-11-19 Joel Brobecker <brobecker@adacore.com>
9771 * gdb.ada/pkd_arr_elem: New Testcase.
9773 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
9775 * gdb.reverse/break-precsave: Expect completion message for
9777 * gdb.reverse/consecutive-precsave.exp: Likewise.
9778 * gdb.reverse/finish-precsave.exp: Likewise.
9779 * gdb.reverse/i386-precsave.exp: Likewise.
9780 * gdb.reverse/machinestate-precsave.exp: Likewise.
9781 * gdb.reverse/sigall-precsave.exp: Likewise.
9782 * gdb.reverse/solib-precsave.exp: Likewise.
9783 * gdb.reverse/step-precsave.exp: Likewise.
9784 * gdb.reverse/until-precsave.exp: Likewise.
9785 * gdb.reverse/watch-precsave.exp: Likewise.
9787 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9789 * gdb.base/bp-permanent.c: Include unistd.h.
9790 * gdb.python/py-framefilter-mi.c (main): Add return type.
9791 * gdb.python/py-framefilter.c (main): Likewise.
9792 * gdb.trace/actions-changed.c (main): Likewise.
9794 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9796 * gdb.mi/until.c: Add eye-catchers.
9797 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
9800 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9802 * gdb.base/condbreak.exp: Drop references to removed non-prototype
9803 function header variants in break1.c.
9804 * gdb.base/ena-dis-br.exp: Likewise.
9805 * gdb.base/hbreak2.exp: Likewise.
9806 * gdb.reverse/until-precsave.exp: Drop references to removed
9807 non-prototype function header variants in ur1.c.
9808 * gdb.reverse/until-reverse.exp: Likewise.
9810 2014-11-17 Petr Machata <pmachata@redhat.com>
9812 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
9813 ${_cu_offset_size} bytes abbrev offset.
9815 2014-11-15 Doug Evans <xdje42@gmail.com>
9818 * gdb.base/line-symtabs.exp: New file.
9819 * gdb.base/line-symtabs.c: New file.
9820 * gdb.base/line-symtabs.h: New file.
9822 2014-11-14 Yao Qi <yao@codesourcery.com>
9824 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
9825 (func): Add label func_label.
9826 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
9827 Replace low_pc and high_pc with MACRO_AT_range.
9828 Replace name, low_pc and high_pc with MACRO_AT_func.
9830 2014-11-14 Yao Qi <yao@codesourcery.com>
9832 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
9833 Replace name, low_pc and high_pc with MACRO_AT_func.
9835 2014-11-14 Yao Qi <yao@codesourcery.com>
9837 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
9838 produce debug information.
9839 * gdb.dwarf2/implptr-optimized-out.S: Removed.
9841 2014-11-14 Yao Qi <yao@codesourcery.com>
9843 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
9844 object and get function length.
9845 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
9847 (top-level): Replace gdb_compile and clean_restart with
9848 prepare_for_testing.
9849 * gdb.dwarf2/main.c (main): Add label main_label.
9851 2014-11-14 Yao Qi <yao@codesourcery.com>
9853 * lib/dwarf.exp (function_range): New procedure.
9854 (Dwarf::_handle_macro_at_func): New procedure.
9855 (Dwarf::_handle_macro_at_range): New procedure.
9856 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
9858 2014-11-14 Yao Qi <yao@codesourcery.com>
9860 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
9861 (_handle_attribute): New procedure.
9863 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9865 * gdb.ada/cond_lang/foo.c (callme): Add return type.
9866 * gdb.base/call-sc.c (zed): Likewise.
9867 * gdb.base/checkpoint.c (main): Likewise.
9868 * gdb.base/dump.c (main): Likewise.
9869 * gdb.base/gcore.c (main): Likewise.
9870 * gdb.base/huge.c (main): Likewise.
9871 * gdb.base/multi-forks.c (main): Likewise.
9872 * gdb.base/pr10179-a.c (main): Likewise.
9873 * gdb.base/savedregs.c (main): Likewise.
9874 * gdb.base/sigaltstack.c (main): Likewise.
9875 * gdb.base/siginfo.c (main): Likewise.
9876 * gdb.base/structs.c (zed): Likewise.
9877 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
9878 * gdb.mi/mi-syn-frame.c (main): Likewise.
9879 * gdb.mi/until.c (foo, main): Likewise.
9880 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
9881 * gdb.base/solib-weak.c (foo): Declare.
9882 * gdb.base/attach-twice.c: Include stdio.h.
9883 * gdb.base/weaklib1.c: Likewise.
9884 * gdb.base/weaklib2.c: Likewise.
9885 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
9886 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
9888 * gdb.base/attach-pie-misread.c: Include stdlib.h.
9889 * gdb.mi/mi-exit-code.c: Likewise.
9890 * gdb.base/break-interp-lib.c: Include string.h.
9891 * gdb.base/coremaker.c: Likewise.
9892 * gdb.base/testenv.c: Likewise.
9893 * gdb.python/py-finish-breakpoint.c: Likewise.
9894 * gdb.base/inferior-died.c: Include sys/wait.h.
9895 * gdb.base/fileio.c: Include time.h.
9896 * gdb.base/async-shell.c: Include unistd.h.
9897 * gdb.base/dprintf-non-stop.c: Likewise.
9898 * gdb.base/info-os.c: Likewise.
9899 * gdb.mi/mi-console.c: Likewise.
9900 * gdb.mi/watch-nonstop.c: Likewise.
9901 * gdb.python/py-events.c: Likewise.
9902 * gdb.base/async.c (baz): Move up before its invocation.
9903 * gdb.base/code_elim2.c (my_global_func): Likewise.
9904 * gdb.base/skip-solib-lib.c (multiply): Likewise.
9905 * gdb.base/advance.c (func2): Likewise.
9907 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9909 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
9911 * gdb.base/annota3.c: Likewise.
9912 * gdb.base/async.c: Likewise.
9913 * gdb.base/average.c: Likewise.
9914 * gdb.base/call-ar-st.c: Likewise.
9915 * gdb.base/call-rt-st.c: Likewise.
9916 * gdb.base/call-sc.c: Likewise.
9917 * gdb.base/call-strs.c: Likewise.
9918 * gdb.base/ending-run.c: Likewise.
9919 * gdb.base/execd-prog.c: Likewise.
9920 * gdb.base/exprs.c: Likewise.
9921 * gdb.base/foll-exec.c: Likewise.
9922 * gdb.base/foll-fork.c: Likewise.
9923 * gdb.base/foll-vfork.c: Likewise.
9924 * gdb.base/funcargs.c: Likewise.
9925 * gdb.base/gcore.c: Likewise.
9926 * gdb.base/jump.c: Likewise.
9927 * gdb.base/langs0.c: Likewise.
9928 * gdb.base/langs1.c: Likewise.
9929 * gdb.base/langs2.c: Likewise.
9930 * gdb.base/mips_pro.c: Likewise.
9931 * gdb.base/nodebug.c: Likewise.
9932 * gdb.base/opaque0.c: Likewise.
9933 * gdb.base/opaque1.c: Likewise.
9934 * gdb.base/recurse.c: Likewise.
9935 * gdb.base/run.c: Likewise.
9936 * gdb.base/scope0.c: Likewise.
9937 * gdb.base/scope1.c: Likewise.
9938 * gdb.base/setshow.c: Likewise.
9939 * gdb.base/setvar.c: Likewise.
9940 * gdb.base/shmain.c: Likewise.
9941 * gdb.base/shr1.c: Likewise.
9942 * gdb.base/shr2.c: Likewise.
9943 * gdb.base/sigall.c: Likewise.
9944 * gdb.base/signals.c: Likewise.
9945 * gdb.base/so-indr-cl.c: Likewise.
9946 * gdb.base/solib2.c: Likewise.
9947 * gdb.base/structs.c: Likewise.
9948 * gdb.base/sum.c: Likewise.
9949 * gdb.base/vforked-prog.c: Likewise.
9950 * gdb.base/watchpoint.c: Likewise.
9951 * gdb.reverse/shr2.c: Likewise.
9952 * gdb.reverse/until-reverse.c: Likewise.
9953 * gdb.reverse/ur1.c: Likewise.
9954 * gdb.reverse/watch-reverse.c: Likewise.
9956 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9958 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
9960 * gdb.base/sepdebug.exp: Drop references to removed code.
9962 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9964 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
9965 variant. Preserve original line numbering.
9966 * gdb.base/list1.c: Likewise.
9968 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9970 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
9972 * gdb.base/break1.c: Likewise.
9973 * gdb.base/break.exp: Drop references to removed code.
9975 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9977 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
9980 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9982 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
9984 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9986 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
9987 logic into perform_all_tests() and invoke it with and without
9988 function header prototypes.
9989 (do_function_calls): Remove conditional XFAIL for PR 5318.
9990 (rerun_and_prepare): Remove duplicate code.
9991 (perform_all_tests): New. Main logic moved here.
9993 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9995 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
9996 code guarded by #ifdef NO_PROTOTYPES.
9997 (t_double_many_args): Likewise.
9998 (DEF_FUNC_MANY_ARGS_1): Likewise.
9999 (DEF_FUNC_VALUES_1): Likewise.
10000 (t_structs_ldc): Renamed from t_structs_fc in conditional code
10001 guarded by #ifdef PROTOTYPES.
10003 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10005 * gdb.mi/mi-console.c: Add eye-catcher.
10006 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10007 instead of literal line number.
10009 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10011 * gdb.base/shr2.c: Add eye-catcher.
10012 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10015 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10017 * gdb.base/jump.c: Add eye-catchers.
10018 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10021 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10023 * gdb.base/execd-prog.c: Add eye-catchers.
10024 * gdb.base/foll-exec.c: Likewise.
10025 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10028 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10030 * gdb.base/ending-run.c: Add eye-catchers.
10031 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
10032 literal line numbers.
10034 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10036 * gdb.base/call-rt-st.c: Add eye-catchers.
10037 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
10038 literal line numbers.
10040 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10042 * gdb.base/call-ar-st.c: Add eye-catchers.
10043 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
10044 literal line numbers.
10046 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10048 * gdb.base/average.c: Add eye-catchers.
10049 * gdb.base/sum.c: Likewise.
10050 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
10051 regexps dynamically.
10053 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10055 * gdb.base/solib1.c: Add eye-catchers.
10056 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10057 literal line numbers.
10059 2014-11-12 Pedro Alves <palves@redhat.com>
10061 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10064 2014-11-12 Pedro Alves <palves@redhat.com>
10066 * gdb.arch/i386-bp_permanent.c: New file.
10067 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10068 (srcfile): Set to i386-bp_permanent.c.
10069 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
10070 that stepi does not execute the 'leave' instruction, instead of
10071 testing it does execute.
10072 * gdb.base/bp-permanent.c: New file.
10073 * gdb.base/bp-permanent.exp: New file.
10075 2014-11-10 Doug Evans <xdje42@gmail.com>
10078 * gdb.base/symtab-search-order.exp: New file.
10079 * gdb.base/symtab-search-order.c: New file.
10080 * gdb.base/symtab-search-order-1.c: New file.
10081 * gdb.base/symtab-search-order-shlib-1.c: New file.
10083 2014-11-07 Pedro Alves <palves@redhat.com>
10086 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10089 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10092 * gdb.cp/pr17494.cc: New file.
10093 * gdb.cp/pr17494.exp: New file.
10095 2014-11-02 Yao Qi <yao@codesourcery.com>
10097 * gdb.python/python.exp: Get working directory and match the
10098 output of "set extended-prompt \\w " with it.
10100 2014-10-30 Doug Evans <dje@google.com>
10102 * gdb.python/py-objfile.exp: Add tests for setting random attributes
10104 * gdb.python/py-progspace.exp: Add tests for setting random attributes
10107 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
10109 * gdb.base/fullpath-expand.exp: Skip for a remote host.
10110 * gdb.base/realname-expand.exp: Likewise.
10111 * gdb.linespec/macro-relative.exp: Likewise.
10113 2014-10-29 Pedro Alves <palves@redhat.com>
10116 * gdb.threads/schedlock.c (some_function): New function.
10117 (call_function): New global.
10118 (MAYBE_CALL_SOME_FUNCTION): New macro.
10119 (thread_function): Call it.
10120 * gdb.threads/schedlock.exp (get_args): Add description parameter,
10121 and use it instead of a global counter. Adjust all callers.
10122 (get_current_thread): Use "find current thread" for test message
10123 here rather than having all callers pass down the same string.
10124 (goto_loop): New procedure, factored out from ...
10125 (my_continue): ... this.
10126 (step_ten_loops): Change parameter from test message to command to
10128 (list_count): Delete global.
10129 (check_result): New procedure, factored out from duplicate top
10131 (continue tests): Wrap in with_test_prefix.
10132 (test_step): New procedure, factored out from duplicate top level
10134 (top level): Test "step" in combination with all scheduler-locking
10135 modes. Test "next" in combination with all scheduler-locking
10136 modes, and in combination with stepping over a function call or
10138 * gdb.threads/next-bp-other-thread.c: New file.
10139 * gdb.threads/next-bp-other-thread.exp: New file.
10141 2014-10-29 Pedro Alves <palves@redhat.com>
10144 * gdb.python/python.exp: Test a multi-line command that spawns
10145 interactive Python.
10146 * gdb.base/multi-line-starts-subshell.exp: New file.
10148 2014-10-29 Yao Qi <yao@codesourcery.com>
10150 * gdb.base/fileio.exp: Make directories on host.
10152 2014-10-29 Yao Qi <yao@codesourcery.com>
10154 * gdb.base/fileio.c (test_write): Close the file.
10156 2014-10-28 Pedro Alves <palves@redhat.com>
10159 * gdb.base/sigstep.c (no_handler): New global.
10160 (main): If 'no_handler is true, set the signal handlers to
10162 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
10163 with_sw_watch and no_handler parameters. Handle them.
10164 (top level) <stepping over handler when stopped at a breakpoint
10165 test>: Add a test axis for testing with a software watchpoint, and
10166 another for testing with the signal handler set to SIG_IGN.
10167 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
10168 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
10170 2014-10-28 Pedro Alves <palves@redhat.com>
10173 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
10174 * gdb.base/sigstep.exp (other_handler_location): New global.
10175 (advance): Support stepping into the signal handler, and running
10176 commands while in the handler.
10177 (in_handler_map): New global.
10178 (top level): In the advance test, add combinations for getting
10179 into the handler with stepping commands, and for running commands
10180 in the handler. Add comment descripting the advancei tests.
10182 2014-10-28 Pedro Alves <palves@redhat.com>
10184 * gdb.base/sigstep.exp: Use build_executable instead of
10185 prepare_for_testing.
10186 (top level): Move code that starts GDB, runs to main and creates a
10188 (restart): ... this new procedure.
10189 (top level): Move backtrace from signal handler test to ...
10190 (validate_backtrace): ... this new procedure.
10191 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
10192 with_test_prefix. Always restart GDB.
10193 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
10194 with_test_prefix. Always restart GDB. No need to delete
10195 breakpoints after the test.
10196 (test_skip_handler): Remove prefix parameter.
10197 (skip_over_handler, breakpoint_to_handler)
10198 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
10199 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
10200 restart GDB. No need to delete breakpoints after the test.
10201 (top level): Use foreach to call the test procedures with
10202 different commands.
10204 2014-10-28 Pedro Alves <palves@redhat.com>
10206 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
10207 instead of GNATS numbers.
10208 * gdb.base/sigbpt.exp: Likewise.
10209 * gdb.base/siginfo.exp: Likewise.
10210 * gdb.base/sigstep.exp: Likewise.
10212 2014-10-27 Pedro Alves <palves@redhat.com>
10214 * gdb.base/sigstep.c (dummy): New global.
10215 (main): Issue a couple writes to the new global.
10216 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
10218 (skip_over_handler): Use test_skip_handler.
10219 (top level): Call skip_over_handler for stepi and nexti too.
10220 (breakpoint_over_handler): Use test_skip_handler.
10221 (top level): Call breakpoint_over_handler for stepi and nexti too.
10223 2014-10-27 Yao Qi <yao@codesourcery.com>
10225 * gdb.trace/tfile.c (adjust_function_address)
10226 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
10227 function descriptor.
10229 2014-10-24 Don Breazeal <donb@codesourcery.com>
10231 * gdb.base/foll-fork.exp (test_follow_fork,
10232 catch_fork_child_follow): Check for updated fork messages emitted
10234 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
10235 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
10236 vfork_and_exec_child_follow_through_step): Check for updated vfork
10237 messages emitted from infrun.c.
10239 2014-10-24 Pedro Alves <palves@redhat.com>
10241 * gdb.base/corefile.exp: Remove references to ultrix.
10242 * gdb.base/interrupt.exp: Likewise.
10243 * gdb.base/whatis.exp: Likewise.
10244 * gdb.gdb/selftest.exp: Likewise.
10245 * gdb.threads/manythreads.exp: Likewise.
10246 * gdb.threads/print-threads.exp: Likewise.
10247 * gdb.threads/pthreads.exp:: Likewise.
10248 * gdb.threads/schedlock.exp: Likewise.
10250 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
10252 * gdb.cp/non-trivial-retval.cc: Add a test case.
10253 * gdb.cp/non-trivial-retval.exp: Add a test.
10255 2014-10-20 Yao Qi <yao@codesourcery.com>
10257 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
10258 * gdb.python/py-objfile-script-gdb.py: New file.
10259 * gdb.python/py-objfile-script.exp: Update reference to
10260 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
10261 of remote_download. Remove the dest file.
10263 2014-10-20 Yao Qi <yao@codesourcery.com>
10265 * gdb.base/checkpoint.exp: Don't remove file copied on host.
10266 * gdb.base/step-line.exp: Likewise.
10267 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10268 * gdb.dwarf2/dw2-basic.exp: Likewise.
10269 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10270 * gdb.dwarf2/dw2-filename.exp: Likewise.
10271 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10272 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10273 * gdb.dwarf2/dw2-producer.exp: Likewise.
10274 * gdb.dwarf2/mac-fileno.exp: Likewise.
10275 * gdb.python/py-frame-args.exp: Likewise.
10276 * gdb.python/py-framefilter.exp: Likewise.
10277 * gdb.python/py-mi.exp: Likewise.
10278 * gdb.python/py-objfile-script.exp: Likewise
10279 * gdb.python/py-pp-integral.exp: Likewise.
10280 * gdb.python/py-pp-re-notag.exp: Likewise.
10281 * gdb.python/py-prettyprint.exp: Likewise.
10282 * gdb.python/py-section-script.exp: Likewise.
10283 * gdb.python/py-typeprint.exp: Likewise.
10284 * gdb.python/py-xmethods.exp: Likewise.
10285 * gdb.stabs/weird.exp: Likewise.
10286 * gdb.xml/tdesc-regs.exp: Likewise.
10288 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
10290 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
10291 (out_cu): Use addr_len for the size of addresses.
10292 (out_line): Likewise. Size DW_LNE_set_address instruction
10293 according to addr_len.
10294 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
10295 (FUNC): Add START_INSNS to definition.
10297 2014-10-18 Yao Qi <yao@codesourcery.com>
10299 * gdb.base/argv0-symlink.exp: Check argv[0] value if
10300 gdb_has_argv0 return true.
10301 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
10302 check [target_info exists noargs], check [gdb_has_argv0]
10304 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10305 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
10308 2014-10-17 Doug Evans <dje@google.com>
10310 * gdb.python/py-events.exp: Update expected output for clear_objfiles
10312 * gdb.python/py-events.py: Add clear_objfiles event.
10314 2014-10-17 Doug Evans <dje@google.com>
10316 * gdb.python/py-objfile.exp: Test progspace attribute.
10318 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
10320 * gdb.guile/scm-breakpoint.exp: Do not assume any
10321 directory separators when matching source file paths.
10322 * gdb.python/py-breakpoint.exp: Likewise.
10323 * gdb.reverse/break-precsave.exp: Likewise.
10324 * gdb.reverse/break-reverse.exp: Likewise.
10325 * gdb.reverse/consecutive-precsave.exp: Likewise.
10326 * gdb.reverse/finish-precsave.exp: Likewise.
10327 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
10328 * gdb.reverse/finish-reverse.exp: Likewise.
10329 * gdb.reverse/i386-precsave.exp: Likewise.
10330 * gdb.reverse/i387-env-reverse.exp: Likewise.
10331 * gdb.reverse/i387-stack-reverse.exp: Likewise.
10332 * gdb.reverse/machinestate-precsave.exp: Likewise.
10333 * gdb.reverse/machinestate.exp: Likewise.
10334 * gdb.reverse/sigall-precsave.exp: Likewise.
10335 * gdb.reverse/solib-precsave.exp: Likewise.
10336 * gdb.reverse/step-precsave.exp: Likewise.
10337 * gdb.reverse/until-precsave.exp: Likewise.
10338 * gdb.reverse/watch-precsave.exp: Likewise.
10339 * gdb.reverse/watch-reverse.exp: Likewise.
10341 2014-10-17 Yao Qi <yao@codesourcery.com>
10343 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
10344 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
10346 2014-10-17 Pedro Alves <palves@redhat.com>
10349 * gdb.base/bg-execution-repeat.c: New file.
10350 * gdb.base/bg-execution-repeat.exp: New file.
10352 2014-10-17 Pedro Alves <palves@redhat.com>
10355 * gdb.base/continue-all-already-running.c: New file.
10356 * gdb.base/continue-all-already-running.exp: New file.
10358 2014-10-17 Pedro Alves <palves@redhat.com>
10361 * gdb.base/annota-input-while-running.c: New file.
10362 * gdb.base/annota-input-while-running.exp: New file.
10364 2014-10-17 Pedro Alves <palves@redhat.com>
10366 * gdb.base/callfuncs.exp: emove references to osf.
10367 * gdb.base/sigall.exp: Likewise.
10368 * gdb.gdb/selftest.exp: Likewise.
10369 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10370 * gdb.mi/non-stop.c: Likewise.
10371 * gdb.mi/pthreads.c: Likewise.
10372 * gdb.reverse/sigall-precsave.exp: Likewise.
10373 * gdb.reverse/sigall-reverse.exp: Likewise.
10374 * gdb.threads/pthreads.c: Likewise.
10375 * gdb.threads/pthreads.exp: Likewise.
10377 2014-10-17 Yao Qi <yao@codesourcery.com>
10379 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
10380 check 'target_info exists noargs'.
10381 (test_command_prompt_position): Likewise.
10382 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
10384 (progvar_simple_while_test): Likewise.
10385 (progvar_complex_if_while_test): Likewise.
10386 (if_while_breakpoint_command_test): Likewise.
10387 (infrun_breakpoint_command_test): Likewise.
10388 (breakpoint_command_test): Likewise.
10389 (watchpoint_command_test): Likewise.
10390 (bp_deleted_in_command_test): Likewise.
10391 (temporary_breakpoint_commands): Likewise.
10393 2014-10-16 Yao Qi <yao@codesourcery.com>
10395 * gdb.base/remotetimeout.exp: Remove noargs checking.
10397 2014-10-15 Pedro Alves <palves@redhat.com>
10399 PR breakpoints/9649
10400 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
10401 * gdb.base/breakpoint-in-ro-region.exp
10402 (probe_target_hardware_step): New procedure.
10403 (top level): Probe hardware stepping and hardware breakpoint
10404 support. Test stepping through a read-only region, with both
10405 "breakpoint auto-hw" on and off and both "always-inserted" on and
10408 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
10410 * gdb.dlang/demangle.exp: Update for demangling changes.
10412 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10414 * gdb.cp/non-trivial-retval.cc: Add new test cases.
10415 * gdb.cp/non-trivial-retval.exp: Add new tests.
10417 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10421 * gdb.cp/non-trivial-retval.cc: New file.
10422 * gdb.cp/non-trivial-retval.exp: New file.
10424 2014-10-15 Yao Qi <yao@codesourcery.com>
10426 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
10429 2014-10-15 Yao Qi <yao@codesourcery.com>
10431 * gdb.python/py-symbol.exp: Match file base name if host is
10432 remote, otherwise match file name with dir name.
10433 * gdb.python/py-symtab.exp: Likewise.
10434 * gdb.python/python.exp: Likewise.
10436 2014-10-15 Yao Qi <yao@codesourcery.com>
10438 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
10440 * gdb.python/py-symtab.exp: Likewise.
10441 * gdb.python/python.exp: Remove trailing ".*". Fix typo
10444 2014-10-14 Joel Brobecker <brobecker@adacore.com>
10446 * gdb.ada/addr_arith: New testcase.
10448 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
10450 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
10451 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
10452 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
10453 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
10455 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
10457 * gdb.arch/stap-eval-lang-ada.S: Likewise.
10458 * gdb.arch/stap-eval-lang-ada.c: Likewise.
10459 * gdb.arch/stap-eval-lang-ada.exp: New file.
10461 2014-10-14 Yao Qi <yao@codesourcery.com>
10463 * gdb.mi/mi-var-child.c (nothing1): New function.
10464 (nothing2): New function.
10465 (do_children_tests): Set function pointers by nothing1 and
10467 * gdb.mi/mi-var-child.exp: Step over new added statements.
10468 Update test to match the new output.
10469 * gdb.mi/var-cmd.c (nothing1): New function.
10470 (nothing2): New function.
10471 (do_children_tests): Set function pointers by nothing1 and
10473 * gdb.mi/mi-var-display.exp: Update test to match output.
10474 Step to the line specified by $line_dct_nothing.
10475 Increase the number of lines to step.
10477 2014-10-14 Yao Qi <yao@codesourcery.com>
10479 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
10481 * gdb.mi/mi2-var-child.exp: Likewise.
10483 2014-10-13 Doug Evans <dje@google.com>
10485 * gdb.python/py-objfile.exp: Change name of file name test.
10487 2014-10-13 Doug Evans <dje@google.com>
10489 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
10490 from the start of the CU.
10492 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10493 Yao Qi <yao@codesourcery.com>
10495 Fix "save breakpoints" for "catch" command.
10496 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
10497 Remove -nonewline. Match also the added "main" line.
10499 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10501 Fix "save breakpoints" for "disable $bpnum" command.
10502 * gdb.base/save-bp.c (main): Add label.
10503 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
10505 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10507 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
10509 2014-10-11 Yao Qi <yao@codesourcery.com>
10511 * gdb.server/server-kill.exp: Execute command
10512 "set remote trace-status-packet on" before "tstatus".
10514 2014-10-11 Yao Qi <yao@codesourcery.com>
10516 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
10517 (main): Call getppid.
10518 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
10519 and continue to it. Read variable "server_pid".
10521 2014-10-11 Yao Qi <yao@codesourcery.com>
10523 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
10525 2014-10-11 Yao Qi <yao@codesourcery.com>
10527 * gdb.threads/thread-find.exp: Don't execute command
10529 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
10530 * gdb.threads/linux-dp.exp: Don't check the condition
10531 $threads_created equals to zero.
10533 2014-10-10 Pedro Alves <palves@redhat.com>
10535 * gdb.base/bigcore.exp: Remove references to IRIX.
10536 * gdb.base/funcargs.exp: Likewise.
10537 * gdb.base/interrupt.exp: Likewise.
10538 * gdb.base/mips_pro.exp: Likewise.
10539 * gdb.base/nodebug.exp: Likewise.
10540 * gdb.base/setvar.exp: Likewise.
10541 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
10543 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10544 Pedro Alves <palves@redhat.com>
10547 * gdb.base/vdso-warning.c: New file.
10548 * gdb.base/vdso-warning.exp: New file.
10550 2014-10-02 Doug Evans <dje@google.com>
10552 * gdb.base/structs.c (main): Don't run forever.
10554 2014-10-02 Pedro Alves <palves@redhat.com>
10556 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
10557 (top level) <stop threads 1, stop threads 2>: Use it.
10559 2014-10-02 Pedro Alves <palves@redhat.com>
10561 * gdb.threads/break-while-running.exp (test): Add new
10562 'update_thread_list' argument. Skip "info threads" if false.
10563 (top level): Add new 'update_thread_list' axis.
10565 2014-10-02 Pedro Alves <palves@redhat.com>
10567 PR breakpoints/17431
10568 * gdb.base/execl-update-breakpoints.c: New file.
10569 * gdb.base/execl-update-breakpoints.exp: New file.
10571 2014-10-01 Pedro Alves <palves@redhat.com>
10573 * gdb.base/breakpoint-in-ro-region.c: New file.
10574 * gdb.base/breakpoint-in-ro-region.exp: New file.
10576 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
10578 * gdb.mi/mi-exit-code.exp: New file.
10579 * gdb.mi/mi-exit-code.c: New file.
10581 2014-09-30 Yao Qi <yao@codesourcery.com>
10583 * lib/prelink-support.exp (build_executable_own_libs): Error if
10584 the target isn't native.
10586 2014-09-30 Yao Qi <yao@codesourcery.com>
10588 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
10591 2014-09-22 Pedro Alves <palves@redhat.com>
10593 * gdb.threads/break-while-running.exp: New file.
10594 * gdb.threads/break-while-running.c: New file.
10596 2014-09-19 Yao Qi <yao@codesourcery.com>
10598 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
10599 Invoke test. Restart GDB with --readnow and invoke test again.
10601 2014-09-19 Yao Qi <yao@codesourcery.com>
10603 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
10604 proc set_breakpoint_on_gcd_function. Invoke
10605 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
10606 invoke set_breakpoint_on_gcd_function again.
10608 2014-09-18 Doug Evans <dje@google.com>
10610 * gdb.dwarf2/symtab-producer.exp: New file.
10612 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
10614 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
10615 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
10616 * gdb.base/global-var-nested-by-dso.c: Likewise.
10617 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10619 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
10620 Pedro Alves <palves@redhat.com>
10622 * gdb.base/watch-bitfields.exp: Pass string other than test file
10623 name to prepare_for_testing.
10624 (watch): New procedure.
10625 (expect_watchpoint): Use with_test_prefix.
10626 (top level): Factor out tests to ...
10627 (test_watch_location, test_regular_watch): ... these new
10628 procedures, and use with_test_prefix and gdb_continue_to_end.
10630 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
10632 PR breakpoints/12526
10633 * gdb.base/watch-bitfields.exp: New file.
10634 * gdb.base/watch-bitfields.c: New file.
10636 2014-09-16 Pedro Alves <palves@redhat.com>
10638 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
10639 software and hardware addresses, not software address against
10642 2014-09-16 Pedro Alves <palves@redhat.com>
10644 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
10645 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
10647 2014-09-16 Pedro Alves <palves@redhat.com>
10649 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
10651 * gdb.base/a2-run.exp: Remove all code guarded by istarget
10652 "*-*-vxworks*" throughout.
10653 * gdb.base/break.exp: Likewise.
10654 * gdb.base/default.exp: Likewise.
10655 * gdb.base/scope.exp: Likewise.
10656 * gdb.base/sepdebug.exp: Likewise.
10657 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
10659 * gdb.base/run.c: Likewise.
10660 * gdb.base/sepdebug.c: Likewise.
10661 * gdb.hp/gdb.aCC/run.c: Likewise.
10662 * gdb.reverse/until-reverse.c: Likewise.
10663 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
10665 2014-09-16 Yao Qi <yao@codesourcery.com>
10667 * boards/local-remote-host-native.exp: New file.
10669 2014-09-14 Doug Evans <xdje42@gmail.com>
10671 * gdb.threads/queue-signal.c (thread_count): New variable.
10672 (thread_count_mutex, thread_count_condvar): New variables.
10673 (incr_thread_count, wait_all_threads_running): New functions.
10674 (main): Wait for all threads to be in their thread functions.
10676 2014-09-13 Doug Evans <xdje42@gmail.com>
10678 * gdb.threads/queue-signal.c: New file.
10679 * gdb.threads/queue-signal.exp: New file.
10681 2014-09-13 Doug Evans <xdje42@gmail.com>
10683 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
10684 be consistent with what default_gdb_init uses.
10685 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
10686 the plain text of the prompt. Add some logging printfs.
10687 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
10689 2014-09-12 Pedro Alves <palves@redhat.com>
10691 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
10692 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
10693 * gdb.arch/i386-size-overlap.exp: Likewise.
10694 * gdb.arch/i386-size.exp: Likewise.
10695 * gdb.arch/i386-unwind.exp: Likewise.
10696 * gdb.base/a2-run.exp: Likewise.
10697 * gdb.base/break.exp: Likewise.
10698 * gdb.base/charset.exp: Likewise.
10699 * gdb.base/chng-syms.exp: Likewise.
10700 * gdb.base/commands.exp: Likewise.
10701 * gdb.base/dbx.exp: Likewise.
10702 * gdb.base/find.exp: Likewise.
10703 * gdb.base/funcargs.exp: Likewise.
10704 * gdb.base/jit-simple.exp: Likewise.
10705 * gdb.base/reread.exp: Likewise.
10706 * gdb.base/sepdebug.exp: Likewise.
10707 * gdb.base/step-bt.exp: Likewise.
10708 * gdb.cp/mb-inline.exp: Likewise.
10709 * gdb.cp/mb-templates.exp: Likewise.
10710 * gdb.objc/basicclass.exp: Likewise.
10711 * gdb.threads/killed.exp: Likewise.
10713 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10716 * gdb.arch/powerpc-stackless.S: New file.
10717 * gdb.arch/powerpc-stackless.exp: New file.
10719 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10721 * gdb.base/attach.c: Include unistd.h.
10722 (main): Call alarm. Add label postloop.
10723 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
10724 gdb_breakpoint, gdb_continue_to_breakpoint.
10725 (test_command_line_attach_run): Kill ${testpid} in one exit path.
10727 2014-09-11 Pedro Alves <palves@redhat.com>
10730 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
10731 * gdb.base/attach.exp (test_command_line_attach_run): New
10733 (top level): Call it.
10735 2014-09-11 Pedro Alves <palves@redhat.com>
10737 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
10738 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
10739 (do_command_attach_tests): Use spawn_wait_for_attach.
10740 * gdb.base/solib-overlap.exp: Likewise.
10741 * gdb.multi/multi-attach.exp: Likewise.
10742 * gdb.python/py-prompt.exp: Likewise.
10743 * gdb.python/py-sync-interp.exp: Likewise.
10744 * gdb.server/ext-attach.exp: Likewise.
10746 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
10748 * gdb.fortran/array-element.exp: Remove unexpected "continue"
10749 command in testcase. Simplify testcase.
10751 2014-09-10 Joel Brobecker <brobecker@adacore.com>
10753 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
10755 2014-09-10 Joel Brobecker <brobecker@adacore.com>
10757 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
10759 2014-09-10 Joel Brobecker <brobecker@adacore.com>
10761 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
10763 2014-09-10 Joel Brobecker <brobecker@adacore.com>
10765 * gdb.dwarf2/dynarr-ptr.c: New file.
10766 * gdb.dwarf2/dynarr-ptr.exp: New file.
10768 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10770 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
10771 of 30 rather than hardcoding 120 for a slow test case. Take the
10772 `gdb,timeout' target setting into account for this calculation.
10773 Don't extend the timeout for the test cases that don't need it.
10775 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10777 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
10778 a factor of 2 for a slow test case. Take the `gdb,timeout'
10779 target setting into account for this calculation.
10780 * gdb.reverse/until-precsave.exp: Increase the timeout by
10781 a factor of 15 and 3 respectively rather than adding 120
10782 for a pair of slow test cases. Take the `gdb,timeout'
10783 target setting into account for this calculation.
10785 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10787 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
10788 timeout, don't pass one down to gdb_expect.
10789 (gdb_expect): Rework timeout selection.
10791 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10793 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
10794 exception on timeout.
10795 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
10796 (gdbserver_start_extended): Catch any `gdbserver_start' error
10798 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
10799 * lib/mi-support.exp (mi_gdb_target_load): Catch any
10800 `gdbserver_gdb_load' error exceptions.
10802 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10804 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
10805 120 on waiting for the TCP socket to open.
10807 2014-09-09 Doug Evans <xdje42@gmail.com>
10809 * gdb.base/default.exp (show_conv_list): Add _caller_is,
10810 _caller_matches, _any_caller_is, _any_caller_matches.
10812 2014-09-09 Doug Evans <xdje42@gmail.com>
10814 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
10816 2014-09-09 Yao Qi <yao@codesourcery.com>
10818 * gdb.mi/mi-var-display.exp: Set print symbol off.
10820 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
10823 * gdb.base/commands.exp: Add tests to verify user-defined
10824 commands with empty bodies.
10825 * gdb.python/py-cmd.exp: Test that we don't show user-defined
10826 python commands in `show user command`.
10827 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
10828 scheme commands in `show user command`.
10830 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10833 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
10834 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
10835 * gdb.python/py-framefilter-invalidarg.exp: New file.
10836 * gdb.python/py-framefilter-invalidarg.py: New file.
10838 2014-09-06 Doug Evans <xdje42@gmail.com>
10841 * gdb.python/py-caller-is.c: New file.
10842 * gdb.python/py-caller-is.exp: New file.
10844 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
10847 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
10848 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
10850 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
10853 * gdb.fortran/print-formatted.exp: New file.
10854 * gdb.fortran/print-formatted.f90: Likewise.
10856 2014-09-03 Sasha Smundak <asmundak@google.com>
10858 * gdb.python/py-frame.exp: Test Frame.read_register.
10860 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
10863 * gdb.python/py-completion.exp: New file.
10864 * gdb.python/py-completion.py: Likewise.
10866 2014-08-28 Doug Evans <dje@google.com>
10868 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
10869 eax,etc. are live with values set by gdb and thus the compiler can't
10871 * gdb.arch/i386-pseudo.c (main): Ditto.
10873 2014-08-27 Doug Evans <dje@google.com>
10875 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
10877 2014-08-25 Doug Evans <dje@google.com>
10879 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
10882 2014-08-25 Doug Evans <dje@google.com>
10884 * gdb.threads/thread-execl.exp: #include <stdio.h>.
10886 2014-08-24 Yao Qi <yao@codesourcery.com>
10888 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
10890 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
10892 2014-08-22 Doug Evans <dje@google.com>
10895 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
10896 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
10897 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
10899 2014-08-22 Yao Qi <yao@codesourcery.com>
10901 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
10902 * gdb.python/py-finish-breakpoint2.exp: Likewise.
10903 * gdb.python/python.exp: Likewise. Use .py file on the host
10904 instead of the build.
10906 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10908 * gdb.threads/gcore-stale-thread.c: New file.
10909 * gdb.threads/gcore-stale-thread.exp: New file.
10911 2014-08-21 Pedro Alves <palves@redhat.com>
10913 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
10914 * gdb.base/gcore-relro-pie.exp: Likewise.
10915 * gdb.base/gcore-relro.exp: Likewise.
10916 * gdb.base/gcore.exp: Likewise.
10917 * gdb.base/print-symbol-loading.exp: Likewise.
10918 * gdb.threads/gcore-thread.exp: Likewise.
10919 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
10921 2014-08-20 Pedro Alves <palves@redhat.com>
10922 Jan Kratochvil <jan.kratochvil@redhat.com>
10924 * Makefile.in (EXTRA_RULES, CC): New variables, get from
10926 (EXPECT): Handle READ1 being set.
10927 (all): Depend on EXTRA_RULES.
10928 (check-read1, expect-read1, read1.so, read1): New rules.
10929 * README (Testsuite Parameters): Document the READ1 make variable.
10930 (Race detection): New section.
10931 * configure: Regenerate.
10932 * configure.ac: If build==host==target, and running under a
10933 GNU/glibc system, add read1 to the extra Makefile rules.
10934 (EXTRA_RULES): AC_SUBST it.
10935 * lib/read1.c: New file.
10937 2014-08-20 Joel Brobecker <brobecker@adacore.com>
10939 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
10940 the handling of variables declared as a typedef to an array
10941 which a DW_AT_data_location attribute.
10943 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
10944 Pedro Alves <palves@redhat.com>
10948 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
10951 2014-08-19 Pedro Alves <palves@redhat.com>
10953 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
10955 2014-08-19 Yao Qi <yao@codesourcery.com>
10957 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
10960 2014-08-18 David Blaikie <dblaikie@gmail.com>
10962 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
10964 2014-08-18 Joel Brobecker <brobecker@adacore.com>
10966 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
10967 attribute in array range.
10969 2014-08-18 Joel Brobecker <brobecker@adacore.com>
10971 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
10973 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
10976 * gdb.cp/pr17132.cc: New file.
10977 * gdb.cp/pr17132.exp: New file.
10979 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
10981 * gdb.python/py-xmethods.py (A_getarrayind)
10982 (E_method_char_worker.__call__, E_method_int_worker.__call__):
10983 Use 'print' with function call syntax.
10984 (E_method_matcher.match): Fix tab vs space indentation mixup.
10986 2014-08-15 Yao Qi <yao@codesourcery.com>
10988 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
10991 2014-08-15 Yao Qi <yao@codesourcery.com>
10993 * gdb.cp/casts.exp: Set print symbol off.
10994 * gdb.cp/class2.exp: Likewise.
10995 * gdb.cp/overload.exp: Likewise.
10996 * gdb.cp/templates.exp: Likewise.
10998 2014-08-11 Doug Evans <dje@google.com>
11000 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11001 (test_load_shlib): Update.
11003 2014-08-09 Yao Qi <yao@codesourcery.com>
11005 * gdb.base/display.exp: Invoke is_address_zero_readable.
11006 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11007 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11008 * gdb.base/hbreak-unmapped.exp: Return if
11009 is_address_zero_readable returns true.
11010 * gdb.base/signest.exp: Likewise.
11011 * gdb.base/signull.exp: Likewise.
11012 * gdb.base/sigbpt.exp: Likewise.
11013 * gdb.guile/scm-disasm.exp: Do the test if
11014 is_address_zero_readable returns false.
11015 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11016 * gdb.python/py-arch.exp: Likewise.
11017 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11018 * lib/gdb.exp (is_address_zero_readable): New proc.
11020 2014-08-09 Yao Qi <yao@codesourcery.com>
11023 * gdb.mi/mi-var-display.exp: Make test messages unique.
11025 2014-08-04 Tom Tromey <tromey@redhat.com>
11027 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
11030 2014-08-04 Tom Tromey <tromey@redhat.com>
11032 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
11035 2014-08-01 Joel Brobecker <brobecker@adacore.com>
11037 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
11038 inner_vla_struct_object_size.
11039 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11042 2014-07-30 Pedro Alves <palves@redhat.com>
11044 * gdb.threads/signal-command-handle-nopass.exp (test): Add
11047 2014-07-29 Yao Qi <yao@codesourcery.com>
11050 * gdb.base/until-nodebug.exp: New.
11052 2014-07-28 Doug Evans <xdje42@gmail.com>
11055 * gdb.guile/scm-parameter.exp: Add tests for trying to create
11056 previously existing parameter, and previously ambiguously spelled
11059 2014-07-28 Will Newton <will.newton@linaro.org>
11061 * gdb.base/varargs.exp: Remove KFAILs for ARM.
11063 2014-07-26 Ludovic Courtès <ludo@gnu.org>
11064 Doug Evans <xdje42@gmail.com>
11067 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11069 2014-07-25 Pedro Alves <palves@redhat.com>
11071 * gdb.threads/signal-command-handle-nopass.c: New file.
11072 * gdb.threads/signal-command-handle-nopass.exp: New file.
11073 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11074 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11075 * gdb.threads/signal-delivered-right-thread.c: New file.
11076 * gdb.threads/signal-delivered-right-thread.exp: New file.
11078 2014-07-25 Pedro Alves <palves@redhat.com>
11080 * gdb.base/double-prompt-target-event-error.exp
11081 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11083 (cancel_pagination_in_target_event): Rework double prompt
11085 * gdb.base/paginate-after-ctrl-c-running.exp
11086 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11088 * gdb.base/paginate-bg-execution.exp
11089 (test_bg_execution_pagination_return)
11090 (test_bg_execution_pagination_cancel): Remove '-notransfer
11092 * gdb.base/paginate-execution-startup.exp
11093 (test_fg_execution_pagination_return)
11094 (test_fg_execution_pagination_cancel): Remove '-notransfer
11096 * gdb.base/paginate-inferior-exit.exp
11097 (test_paginate_inferior_exited): Remove '-notransfer <return>'
11099 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11100 * lib/gdb.exp (pagination_prompt): Run text through
11102 (gdb_test_multiple): Match $pagination_prompt instead of
11104 (string_to_regexp): Move to lib/gdb-utils.exp.
11106 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11108 * gdb.arch/amd64-entry-value-paramref.S: New file.
11109 * gdb.arch/amd64-entry-value-paramref.cc: New file.
11110 * gdb.arch/amd64-entry-value-paramref.exp: New file.
11111 * gdb.arch/amd64-optimout-repeat.S: New file.
11112 * gdb.arch/amd64-optimout-repeat.c: New file.
11113 * gdb.arch/amd64-optimout-repeat.exp: New file.
11115 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11118 * gdb.base/statistics.exp: New file.
11120 2014-07-17 Doug Evans <dje@google.com>
11123 * gdb.base/maint.exp: Update testing of per-command stats.
11125 2014-07-16 Pedro Alves <palves@redhat.com>
11127 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11128 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11129 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11130 (tfile_write_buf): New functions.
11131 (add_memory_block): Rewrite using the above.
11132 (adjust_function_address): New function.
11133 (FUNCTION_ADDRESS): New macro.
11134 (write_basic_trace_file): Remove short_x local, and use
11135 tfile_write_16. Change type of func_addr local to unsigned long
11136 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
11137 here. Cast argument of add_memory_block to char pointer.
11138 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
11139 (main): Remove parameters.
11140 * gdb.trace/tfile.exp: Remove nowarnings.
11142 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
11144 * gdb.base/debug-expr.exp: Test string evaluation with
11145 "debug expression" on.
11147 2014-07-15 Pedro Alves <palves@redhat.com>
11149 * gdb.base/reread.exp: Use clean_restart.
11151 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
11153 * gdb.arch/avr-flash-qualifer.c: New.
11154 * gdb.arch/avr-flash-qualifer.exp: New.
11156 2014-07-14 Pedro Alves <palves@redhat.com>
11158 * gdb.base/paginate-after-ctrl-c-running.c: New file.
11159 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
11161 2014-07-14 Pedro Alves <palves@redhat.com>
11163 * gdb.base/double-prompt-target-event-error.c: New file.
11164 * gdb.base/double-prompt-target-event-error.exp: New file.
11166 2014-07-14 Pedro Alves <palves@redhat.com>
11169 * gdb.base/paginate-inferior-exit.c: New file.
11170 * gdb.base/paginate-inferior-exit.exp: New file.
11172 2014-07-14 Pedro Alves <palves@redhat.com>
11175 * gdb.base/paginate-bg-execution.c: New file.
11176 * gdb.base/paginate-bg-execution.exp: New file.
11178 2014-07-14 Pedro Alves <palves@redhat.com>
11181 * gdb.base/paginate-execution-startup.c: New file.
11182 * gdb.base/paginate-execution-startup.exp: New file.
11183 * lib/gdb.exp (pagination_prompt): New global.
11184 (default_gdb_spawn): New procedure, factored out from
11186 (default_gdb_start): Adjust to call default_gdb_spawn.
11187 (gdb_spawn): New procedure.
11189 2014-07-14 Pedro Alves <palves@redhat.com>
11191 * lib/gdb.exp (gdb_assert): New procedure.
11192 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
11194 2014-07-14 Pedro Alves <palves@redhat.com>
11196 * gdb.base/execution-termios.c: New file.
11197 * gdb.base/execution-termios.exp: New file.
11199 2014-07-14 Tom Tromey <tromey@redhat.com>
11201 * gdb.cp/vla-cxx.cc: New file.
11202 * gdb.cp/vla-cxx.exp: New file.
11204 2014-07-14 Tom Tromey <tromey@redhat.com>
11206 * gdb.reverse/rerun-prec.c: New file.
11207 * gdb.reverse/rerun-prec.exp: New file.
11209 2014-07-12 Maciej W. Rozycki <macro@mips.com>
11210 Maciej W. Rozycki <macro@codesourcery.com>
11212 * lib/gdb-utils.exp: New file.
11213 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
11214 inline `gdb_init_command' processing.
11215 (gdb_start_cmd): Likewise.
11216 * lib/mi-support.exp (mi_run_cmd): Likewise.
11217 * README: Document `gdb_init_command' and `gdb_init_commands'.
11219 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11221 Fix false FAIL running under a very long directory name.
11222 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
11223 and "set print elements 10000". Twice.
11225 2014-07-11 Yao Qi <yao@codesourcery.com>
11227 * gdb.base/exprs.exp: "set print symbol off".
11229 2014-07-11 Pedro Alves <palves@redhat.com>
11231 * gdb.threads/kill.c: New file.
11232 * gdb.threads/kill.exp: New file.
11234 2014-07-10 Yao Qi <yao@codesourcery.com>
11236 * gdb.trace/tfile.c (write_basic_trace_file)
11237 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
11238 address written to trace file.
11240 2014-07-09 Pedro Alves <palves@redhat.com>
11242 * gdb.base/attach-wait-input.exp: New file.
11243 * gdb.base/attach-wait-input.c: New file.
11245 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
11247 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
11248 setting up test structures.
11249 (main): Call new test function.
11250 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
11251 test function, continue into test function and walk test
11254 2014-07-02 Yao Qi <yao@codesourcery.com>
11256 * gdb.trace/entry-values.c: Define labels 'foo_start' and
11257 'bar_start' at the beginning of functions 'foo' and 'bar'
11259 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
11260 instead of 'foo' and 'bar'.
11262 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
11264 * gdb.btrace/segv.exp: New.
11265 * gdb.btrace/segv.c: New.
11267 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
11269 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
11272 2014-06-30 Mark Wielaard <mjw@redhat.com>
11274 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
11275 vulture, vilify, villar): New volatile array constants.
11276 (vindictive, vegetation): New const volatile array constants.
11277 * gdb.base/volatile.exp: Test volatile and const volatile array
11280 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11282 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
11283 target lacks support for awatch, rwatch, or hbreak.
11285 2014-06-27 Yao Qi <yao@codesourcery.com>
11287 * gdb.multi/dummy-frame-restore.exp: New.
11288 * gdb.multi/dummy-frame-restore.c: New.
11290 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
11292 * gdb.btrace/gcore.exp: New.
11294 2014-06-23 Pedro Alves <palves@redhat.com>
11296 * gdb.base/watchpoint-reuse-slot.c: New file.
11297 * gdb.base/watchpoint-reuse-slot.exp: New file.
11299 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
11301 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
11302 progspace's filename in 'info', 'enable' and 'disable' command
11305 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11307 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
11308 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11309 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
11311 2014-06-20 Gary Benson <gbenson@redhat.com>
11313 * gdb.arch/i386-avx.exp: Fix include file location.
11314 * gdb.arch/i386-sse.exp: Likewise.
11316 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
11318 * gdb.dlang/expression.exp: New file.
11320 2014-06-19 Pedro Alves <palves@redhat.com>
11322 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
11324 (top level): ... here. Iterate running tests under different
11325 scheduler-locking settings.
11327 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
11329 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
11330 to DW_FORM_addr and use non-zero addresses.
11332 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
11335 * gdb.python/py-xmethods.cc: Add global function call counters and
11336 increment them in their respective functions. Remove "cout"
11338 * gdb.python/py-xmethods.exp: Make tests check the global function
11339 call counters instead of depending on inferior IO.
11341 2014-06-18 Don Breazeal <donb@codesourcery.com>
11343 * gdb.base/foll-fork.exp (default_fork_parent_follow):
11345 (explicit_fork_parent_follow): Deleted procedure.
11346 (explicit_fork_child_follow): Deleted procedure.
11347 (test_follow_fork): New procedure.
11348 (do_fork_tests): Replace calls to deleted procedures with
11349 calls to test_follow_fork and reset GDB for subsequent
11352 2014-06-17 Yao Qi <yao@codesourcery.com>
11354 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
11357 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
11359 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
11360 Initialize ptr and S explicitly.
11361 (skip_type_update_when_not_use_rtti_test): Likewise.
11363 2014-06-16 Keith Seitz <keiths@redhat.com>
11366 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
11367 the inferior is started.
11369 2014-06-16 Pedro Alves <palves@redhat.com>
11371 * gdb.base/break-main-file-remove-fail.c: New file.
11372 * gdb.base/break-main-file-remove-fail.exp: New file.
11373 * gdb.base/break-unload-file.exp: Use build_executable instead of
11374 prepare_for_testing.
11375 (test_break): New parameter "initial_load". Handle it.
11376 (top level): Add initial_load cmdline/file axis.
11378 2014-06-12 Tom Tromey <tromey@redhat.com>
11380 * gdb.base/completion.exp: Don't use directory name in test.
11382 2014-06-09 Gary Benson <gbenson@redhat.com>
11384 * gdb.base/sigall.c [Functions to send signals]: Reorder to
11385 separate the always-available ANSI-standard signals from the
11386 signals that require checking.
11388 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
11392 2014-06-07 Keith Seitz <keiths@redhat.com>
11396 * gdb.cp/var-tag.cc: New file.
11397 * gdb.cp/var-tag.exp: New file.
11398 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11399 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11400 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11401 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11403 2014-06-06 Doug Evans <xdje42@gmail.com>
11405 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
11407 2014-06-06 Pedro Alves <palves@redhat.com>
11409 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
11410 in target debug output instead of looking at RSP packets,
11411 disabling the test on any target that uses hardware stepping.
11414 2014-06-06 Pedro Alves <palves@redhat.com>
11416 * gdb.base/break-unload-file.exp: Fix typo.
11418 2014-06-06 Yao Qi <yao@codesourcery.com>
11420 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
11421 from "jit_function" to "^jit_function".
11423 2014-06-06 Yao Qi <yao@codesourcery.com>
11425 * gdb.base/async.c (foo): Add one statement.
11426 * gdb.base/async.exp: Get the next instruction address and
11427 match the output of "nexti" by instruction address. Match
11428 the hex address in the output of "finish".
11430 2014-06-06 Gary Benson <gbenson@redhat.com>
11432 * gdb.base/call-signals.c: Remove preprocessor conditionals
11433 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
11434 SIGSEGV and SIGTERM.
11435 * gdb.base/sigall.c: Likewise.
11436 * gdb.base/unwindonsignal.c: Likewise.
11437 * gdb.reverse/sigall-reverse.c: Likewise.
11439 2014-06-06 Yao Qi <yao@codesourcery.com>
11441 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
11442 readable, skip the test.
11444 2014-06-06 Yao Qi <yao@codesourcery.com>
11446 * gdb.threads/staticthreads.c (thread_function): Move the line
11447 setting breakpoint on forward.
11448 * gdb.threads/staticthreads.exp: Update comments.
11450 2014-06-05 Ludovic Courtès <ludo@gnu.org>
11452 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
11453 "history-append! type error".
11455 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
11457 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
11458 erroneous dprintf expected input.
11460 2014-06-04 Doug Evans <xdje42@gmail.com>
11462 * gdb.guile/scm-generics.exp: Delete.
11464 2014-06-04 Doug Evans <xdje42@gmail.com>
11466 * gdb.guile/scm-breakpoint.exp: Update.
11467 Add tests for breakpoint registration.
11469 2014-06-04 Tom Tromey <tromey@redhat.com>
11471 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
11473 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
11474 inner_vla_struct, vla_union types. Initialize objects of those
11475 types and compute their sizes.
11477 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
11478 Hui Zhu <hui@codesourcery.com>
11480 * gdb.base/fileio.exp: Add test for shell not available as well as
11482 * gdb.base/fileio.c (test_system): Check for shell twice.
11484 2014-06-04 Yao Qi <yao@codesourcery.com>
11486 * gdb.base/auto-connect-native-target.exp: Remove redundant
11487 space from the regexp pattern.
11489 2014-06-04 Yao Qi <yao@codesourcery.com>
11491 * gdb.base/default.exp: Replace "child" with "native" in
11494 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
11496 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
11497 * gdb.python/py-xmethods.exp: New tests to test xmethods.
11498 * gdb.python/py-xmethods.py: Python script supporting the
11499 new testcase and tests.
11501 2014-06-03 Joel Brobecker <brobecker@adacore.com>
11502 Pedro Alves <palves@redhat.com>
11504 PR breakpoints/17000
11505 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
11506 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
11508 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
11510 * gdb.base/subst.exp: Add tests to verify partial path matching
11513 2014-06-03 Pedro Alves <palves@redhat.com>
11515 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
11516 target that doesn't use software single-stepping.
11518 2014-06-03 Pedro Alves <palves@redhat.com>
11520 PR breakpoints/17000
11521 * gdb.base/sss-bp-on-user-bp-2.c: New file.
11522 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
11524 2014-06-02 Doug Evans <xdje42@gmail.com>
11526 * gdb.guile/scm-parameter.exp: New file.
11528 2014-06-02 Doug Evans <xdje42@gmail.com>
11530 * gdb.guile/scm-cmd.c: New file.
11531 * gdb.guile/scm-cmd.exp: New file.
11533 2014-06-02 Doug Evans <xdje42@gmail.com>
11535 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
11536 pretty-printer lookup.
11537 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
11538 (make-pp_s-printer): Call it.
11539 (make-pretty-printer-from-dict): New function.
11540 (lookup-pretty-printer-maker-from-dict): New function.
11541 (*pretty-printer*): Simplify.
11542 (make-objfile-pp_s-printer): New function.
11543 (install-objfile-pretty-printers!): New function.
11544 (make-progspace-pp_s-printer): New function.
11545 (install-progspace-pretty-printers!): New function.
11546 * gdb.guile/scm-progspace.c: New file.
11547 * gdb.guile/scm-progspace.exp: New file.
11549 2014-06-02 Pedro Alves <palves@redhat.com>
11551 * gdb.base/dprintf-bp-same-addr.c: New file.
11552 * gdb.base/dprintf-bp-same-addr.exp: New file.
11554 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11556 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
11557 * gdb.arch/powerpc-power.s: Likewise.
11559 2014-06-02 Joel Brobecker <brobecker@adacore.com>
11561 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
11563 2014-06-01 Yao Qi <yao@codesourcery.com>
11565 * gdb.base/watchpoint.exp (test_watch_location): Check null
11566 pointer can be dereferenced. If not, do the test, otherwise
11569 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
11571 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
11573 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
11575 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
11577 * gdb.arch/amd64-invalid-stack-middle.S: New file.
11578 * gdb.arch/amd64-invalid-stack-middle.c: New file.
11579 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
11580 * gdb.arch/amd64-invalid-stack-top.c: New file.
11581 * gdb.arch/amd64-invalid-stack-top.exp: New file.
11583 2014-05-30 Pedro Alves <palves@redhat.com>
11585 PR breakpoints/17000
11586 * gdb.base/sss-bp-on-user-bp.c: New file.
11587 * gdb.base/sss-bp-on-user-bp.exp: New file.
11589 2014-05-30 David Blaikie <dblaikie@gmail.com>
11591 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
11592 gnu_inline semantics via attribute.
11593 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
11594 source explicitly specifies the required semantics.
11596 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
11598 * gdb.reverse/sigall-reverse.exp: Fix a typo.
11600 2014-05-29 Pedro Alves <palves@redhat.com>
11601 Tom Tromey <tromey@redhat.com>
11603 * gdb.base/async-shell.exp: Don't enable target-async.
11604 * gdb.base/async.exp
11605 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
11607 (top level): Don't test with "target-async".
11608 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
11609 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
11610 * gdb.base/inferior-died.exp: Don't enable target-async.
11611 * gdb.base/interrupt-noterm.exp: Likewise.
11612 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
11613 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11614 * gdb.mi/mi-nonstop.exp: Likewise.
11615 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11616 * gdb.mi/mi-nsintrall.exp: Likewise.
11617 * gdb.mi/mi-nsmoribund.exp: Likewise.
11618 * gdb.mi/mi-nsthrexec.exp: Likewise.
11619 * gdb.mi/mi-watch-nonstop.exp: Likewise.
11620 * gdb.multi/watchpoint-multi.exp: Adjust comment.
11621 * gdb.python/py-evsignal.exp: Don't enable target-async.
11622 * gdb.python/py-evthreads.exp: Likewise.
11623 * gdb.python/py-prompt.exp: Likewise.
11624 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
11625 * gdb.server/solib-list.exp: Don't enable target-async.
11626 * gdb.threads/thread-specific-bp.exp: Likewise.
11627 * lib/mi-support.exp: Adjust to use mi-async.
11629 2014-05-29 Pedro Alves <palves@redhat.com>
11632 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
11633 reason, even in sync mode.
11635 2014-05-29 Pedro Alves <palves@redhat.com>
11636 Hui Zhu <hui@codesourcery.com>
11639 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
11640 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
11641 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
11642 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
11644 2014-05-28 Joel Brobecker <brobecker@adacore.com>
11646 * config/monitor.exp (gdb_target_monitor): Replace use of
11647 "set remotebaud" by "set serial baud".
11649 2014-05-26 Andy Wingo <wingo@igalia.com>
11651 * gdb.guile/scm-breakpoint.exp:
11652 * gdb.guile/scm-gsmob.exp: Update to use plain old object
11653 properties instead of gdb-object-properties.
11655 2014-05-26 Yao Qi <yao@codesourcery.com>
11657 * gdb.server/no-thread-db.exp: Specify source file name
11658 explicitly when setting a breakpoint.
11660 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11662 * gdb.btrace/vdso.c: New.
11663 * gdb.btrace/vdso.exp: New.
11665 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11667 * gdb.base/gcore.exp (capture_command_output): Move ...
11668 * lib/gdb.exp (capture_command_output): ... here.
11670 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11672 * gdb.btrace/data.exp: Test memory access during btrace replay.
11674 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
11676 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
11678 2014-05-21 Pedro Alves <palves@redhat.com>
11681 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
11682 (top level): Test that output related to execution commands is
11683 sent to the console with CLI commands, but not with MI commands.
11684 Test that breakpoint events are always mirrored to the console.
11685 Also expect the new source line to be output after a "next" in
11686 async mode too. Make it a pass/fail test.
11687 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
11689 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
11691 2014-05-21 Pedro Alves <palves@redhat.com>
11693 * gdb.base/list.exp (build_pattern, test_list): New procedures.
11694 Use them to test variations of "list" after reaching a breakpoint.
11695 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
11696 Test "list" with listsize 10 after reaching a breakpoint.
11697 * gdb.python/python.exp (decode_line current location line
11698 number): Adjust expected line number.
11700 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
11702 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
11703 behavior for $args, pass it directly to "run".
11705 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
11707 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
11710 2014-05-21 Pedro Alves <palves@redhat.com>
11712 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
11713 auto-connect-native-target off".
11714 * gdb.base/auto-connect-native-target.c: New file.
11715 * gdb.base/auto-connect-native-target.exp: New file.
11717 2014-05-21 Pedro Alves <palves@redhat.com>
11719 * gdb.base/default.exp: Test "target native" instead of "target
11722 2014-05-21 Mark Wielaard <mjw@redhat.com>
11724 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11726 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11728 Fix TLS access for -static -pthread.
11729 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
11730 <HAVE_TLS> (thread_function, main): Initialize it.
11731 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
11733 <$have_tls != "">: Check TLSVAR.
11735 2014-05-21 Pedro Alves <palves@redhat.com>
11737 * gdb.base/dcache-line-read-error.c: New.
11738 * gdb.base/dcache-line-read-error.exp: New.
11740 2014-05-20 Pedro Alves <palves@redhat.com>
11742 * gdb.base/compare-sections.c: New file.
11743 * gdb.base/compare-sections.exp: New file.
11745 2014-05-20 Pedro Alves <palves@redhat.com>
11747 * gdb.base/break-idempotent.c: New file.
11748 * gdb.base/break-idempotent.exp: New file.
11750 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
11752 * gdb.btrace/nohist.exp: New.
11754 2014-05-20 Yao Qi <yao@codesourcery.com>
11756 * lib/gdb.exp (gdb_init): Set timeout if test file is under
11757 gdb.reverse directory and gdb_reverse_timeout exists in board
11759 * README: Document gdb_reverse_timeout.
11761 2014-05-20 Yao Qi <yao@codesourcery.com>
11763 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
11764 'test_file_name'. Treat args as a string instead of a list.
11765 (gdb_init): Rename argument 'args' by 'test_file_name'.
11767 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11769 * gdb.arch/powerpc-power.exp: New file.
11770 * gdb.arch/powerpc-power.s: New file.
11772 2014-05-16 Doug Evans <dje@google.com>
11774 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
11775 * gdb.base/completion.exp: Check that all expected files exist
11776 before doing file completion.
11778 2014-05-16 Doug Evans <dje@google.com>
11780 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
11782 (do_syscall_tests_without_xml): Update.
11784 2014-05-16 Pedro Alves <palves@redhat.com>
11786 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
11787 instead of "unknown output after running".
11789 2014-05-16 Yao Qi <yao@codesourcery.com>
11791 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
11792 file1.txt from host at the end.
11793 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11795 2014-05-15 Doug Evans <dje@google.com>
11797 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
11798 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
11799 loading file. Add test for TU lookup.
11801 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
11803 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
11804 calling "-exec-arguments" or "set args" before running the
11807 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
11809 * lib/mi-support.exp (mi_expect_stop): Expect message for
11810 inferiors that exit with non-zero exit code.
11812 2014-05-14 Yao Qi <yao@codesourcery.com>
11814 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
11815 match absolute path on remote host.
11816 (test_file_list_exec_source_files): Remove "/" from the
11819 2014-05-14 Yao Qi <yao@codesourcery.com>
11821 * boards/local-remote-host-notty.exp (${board}_file): New
11824 2014-05-07 Kyle McMartin <kyle@redhat.com>
11826 Pushed by Joel Brobecker <brobecker@adacore.com>.
11827 * gdb.arch/aarch64-atomic-inst.c: New file.
11828 * gdb.arch/aarch64-atomic-inst.exp: New file.
11830 2014-05-07 Yao Qi <yao@codesourcery.com>
11832 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
11833 in current context" too.
11835 2014-05-05 Keith Seitz <keiths@redhat.com>
11837 * gdb.linespec/ls-dollar.exp: Add test for linespec
11838 file:convenience_variable.
11840 2014-05-05 Yao Qi <yao@codesourcery.com>
11842 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
11843 traceframes into tfile and ctf trace files. Read data from
11844 trace file and test collected data.
11845 (gdb_collect_locals_test): Likewise.
11846 (gdb_unavailable_registers_test): Likewise.
11847 (gdb_unavailable_floats): Likewise.
11848 (gdb_collect_globals_test): Likewise.
11849 (top-level): Append "ctf" to trace_file_targets if GDB
11852 2014-05-05 Yao Qi <yao@codesourcery.com>
11854 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
11856 (gdb_collect_args_test_1): ... it. New proc.
11857 (gdb_collect_locals_test): Move some code to ...
11858 (gdb_collect_locals_test_1): ... it. New proc.
11859 (gdb_unavailable_registers_test): Move some code to ...
11860 (gdb_unavailable_registers_test_1): ... it. New proc.
11861 (gdb_unavailable_floats): Move some code to ...
11862 (gdb_unavailable_floats_1): ... it. New proc.
11864 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
11866 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
11867 probes to test for bitness recognition.
11868 * gdb.arch/amd64-stap-optional-prefix.exp
11869 (test_probe_value_without_reg): New procedure.
11870 Add code to test for different kinds of bitness.
11872 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
11874 PR breakpoints/16889
11875 * gdb.arch/amd64-stap-optional-prefix.S: New file.
11876 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11878 2014-05-01 Pedro Alves <palves@redhat.com>
11880 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
11881 gdb_file_cmd if no file is specified.
11882 * boards/native-extended-gdbserver.exp (gdb_load): Use the
11883 last_loaded_file to set the remote exec-file.
11885 2014-05-01 Pedro Alves <palves@redhat.com>
11887 * boards/local-remote-host.exp: New file.
11889 2014-05-01 Pedro Alves <palves@redhat.com>
11891 * boards/local-remote-host.exp: Rename to ...
11892 * boards/local-remote-host-notty.exp: ... this.
11894 2014-04-28 Joel Brobecker <brobecker@adacore.com>
11896 * gdb.ada/dyn_arrayidx: New testcase.
11898 2014-04-26 Yao Qi <yao@codesourcery.com>
11900 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
11901 and compute the length of function main. Save it in
11903 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
11904 (top-level): Use gdb_compile to compile objects into
11905 executable and restart GDB. Remove invocation to
11906 prepare_for_testing.
11908 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
11909 Pedro Alves <palves@redhat.com>
11912 * gdb.multi/multi-attach.c: New file.
11913 * gdb.multi/multi-attach.exp: New file.
11915 2014-04-25 Pedro Alves <palves@redhat.com>
11917 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
11919 (top level): Test that "set remote conditional-breakpoints-packet
11920 off" works as intended.
11921 * gdb.base/dprintf.exp: Test that "set remote
11922 breakpoint-commands-packet off" works as intended.
11923 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
11925 (top level): Call it.
11926 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
11927 remote fast-tracepoints-packet off" works as intended.
11928 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
11929 * lib/gdb.exp (gdb_is_target_remote): ... here.
11931 2014-04-24 David Blaikie <dblaikie@gmail.com>
11933 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
11934 ensure clang would not discard them.
11935 * gdb.base/gdbvars.c: Ditto.
11936 * gdb.base/memattr.c: Ditto.
11937 * gdb.base/whatis.c: Ditto.
11938 * gdb.python/py-prettyprint.c: Ditto.
11939 * gdb.trace/actions.c: Ditto.
11940 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
11941 ensure clang would not discard it.
11943 2014-04-24 David Blaikie <dblaikie@gmail.com>
11945 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
11946 clang to emit the full definition of type required by the test
11947 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
11949 2014-04-24 David Blaikie <dblaikie@gmail.com>
11951 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
11952 coax Clang into emitting the definition of the type.
11953 * gdb.cp/pr10728-x.h (y): Ditto.
11954 * gdb.cp/pr10728-y.cc (y): Ditto.
11956 2014-04-24 David Blaikie <dblaikie@gmail.com>
11958 * gdb.base/label.exp: XFAIL label related tests under Clang.
11959 * gdb.cp/cplabel.exp: Ditto.
11960 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
11961 under Clang those using labels.
11963 2014-04-25 Yao Qi <yao@codesourcery.com>
11965 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
11967 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
11968 partial_label and double_label.
11970 2014-04-24 David Blaikie <dblaikie@gmail.com>
11972 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
11974 2014-04-24 David Blaikie <dblaikie@gmail.com>
11976 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
11977 of the function to work across GCC and Clang.
11978 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
11979 pointer types (const void ** const V void **).
11981 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
11982 Walfred Tedeschi <walfred.tedeschi@intel.com>
11984 * Makefile.in (EXECUTABLES): Added i386-avx512.
11985 * gdb.arch/i386-avx512.c: New file.
11986 * gdb.arch/i386-avx512.exp: Likewise.
11988 2014-04-23 Keith Seitz <keiths@redhat.com>
11990 * lib/mi-support.exp (mi_list_breakpoints): Delete.
11991 (mi_make_breakpoint_table): New procedure.
11992 (mi_create_breakpoint): Use mi_make_breakpoint
11993 and return the result.
11994 (mi_make_breakpoint): New procedure.
11995 (mi_build_kv_pairs): New procedure.
11997 * gdb.mi/mi-break.exp: Remove unused globals,
11998 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
11999 All callers updated.
12000 * gdb.mi/mi-dprintf.exp: Use variable to track command
12002 Update all callers of mi_create_breakpoint and use
12003 mi_make_breakpoint_table.
12004 Remove any unused global variables.
12005 * gdb.mi/mi-nonstop.exp: Likewise.
12006 * gdb.mi/mi-nsintrall.exp: Likewise.
12007 * gdb.mi/mi-nsmoribund.exp: Likewise.
12008 * gdb.mi/mi-nsthrexec.exp: Likewise.
12009 * gdb.mi/mi-reverse.exp: Likewise.
12010 * gdb.mi/mi-simplerun.exp: Likewise.
12011 * gdb.mi/mi-stepn.exp: Likewise.
12012 * gdb.mi/mi-syn-frame.exp: Likewise.
12013 * gdb.mi/mi-until.exp: Likewise.
12014 * gdb.mi/mi-var-cp.exp: Likewise.
12015 * gdb.mi/mi-var-display.exp: Likewise.
12016 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12017 * gdb.mi/mi2-var-child.exp: Likewise.
12018 * gdb.mi/mi-vla-c99.exp: Likewise.
12019 * lib/mi-support.exp: Likewise.
12021 From Ian Lance Taylor <iant@cygnus.com>:
12022 * lib/gdb.exp (parse_args): New procedure.
12024 2014-04-23 Pedro Alves <palves@redhat.com>
12026 * gdb.base/break-unload-file.c: New file.
12027 * gdb.base/break-unload-file.exp: New file.
12028 * gdb.base/sym-file-lib.c (baz): New function.
12029 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
12031 (load): Store the segment's mapped size.
12032 (unload): New function.
12033 (unload_shlib): New function.
12034 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
12035 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
12036 set a breakpoint at baz, and call it.
12037 * gdb.base/sym-file.exp: New tests for stale breakpoint
12040 2014-04-23 Pedro Alves <palves@redhat.com>
12042 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
12043 * gdb.base/hbreak-in-shr-unsupported.c: New file.
12044 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
12045 * gdb.base/hbreak-unmapped.c: New file.
12046 * gdb.base/hbreak-unmapped.exp: New file.
12047 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
12048 * lib/gdb.exp (gdb_is_target_remote): ... here.
12050 2014-04-22 Pedro Alves <palves@redhat.com>
12052 * gdb.base/consecutive-step-over.c: New file.
12053 * gdb.base/consecutive-step-over.exp: New file.
12055 2014-04-22 Pedro Alves <palves@redhat.com>
12057 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12058 instead of send_gdb/gdb_expect.
12060 2014-04-22 Yao Qi <yao@codesourcery.com>
12062 * lib/trace-support.exp (generate_tracefile): New procedure.
12063 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12065 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12066 if generate_tracefile returns 1.
12068 2014-04-18 Tom Tromey <palves@redhat.com>
12069 Pedro alves <tromey@redhat.com>
12072 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12073 with a backtrace limit.
12074 * gdb.python/py-frame-inline.exp: Test running to an inline
12075 function with a backtrace limit, and printing the newest frame.
12076 * gdb.python/py-frame-inline.c (main): Call f.
12078 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12080 * gdb.java/jnpe.exp: Drop srcdir from untested path.
12082 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12084 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12085 Drop prefix from unsupported source file path.
12087 2014-04-17 Yao Qi <yao@codesourcery.com>
12089 * lib/gdb.exp (with_target_charset): New proc.
12090 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12091 with_target_charset.
12092 (test_print_strings): Likewise.
12093 (test_repeat_bytes): Likewise.
12094 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12097 2014-04-16 Keith Seitz <keiths@redhat.com>
12100 * gdb.dwarf2/corrupt.c: New file.
12101 * gdb.dwarf2/corrupt.exp: New file.
12103 2014-04-16 Keith Seitz <keiths@redhat.com>
12106 * gdb.cp/namelessclass.cc: New file.
12107 * gdb.cp/namelessclass.exp: New file.
12108 * gdb.cp/namelessclass.S: New file.
12110 2014-04-16 Doug Evans <dje@google.com>
12112 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12114 (gdbserver_default_get_comm_port): New function.
12115 (gdbserver_start): Check if board file provided
12116 "gdbserver,get_comm_port" and use it if so.
12117 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12118 (gdb,socketport): Set to "stdio".
12119 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12120 (stdio_gdbserver_template): Delete.
12121 (${board}_get_remote_address): Update.
12122 (${board}_build_remote_cmd): Delete.
12123 (${board}_get_comm_port): New function.
12124 (${board}_spawn): Update.
12125 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12127 (${board}_get_remote_address): Update.
12128 (${board}_get_comm_port): New function.
12130 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
12132 * gdb.base/memattr.exp: Improve regexps to handle memory regions
12133 appearing in any order.
12135 2014-04-15 Doug Evans <dje@google.com>
12137 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12138 uninitialized value of "description".
12140 2014-04-15 Keith Seitz <keiths@redhat.com>
12142 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12143 Remove unused globals.
12144 (test_running_the_program): Likewise.
12145 (test_controlled_execution): Likewise.
12146 (test_controlling_breakpoints): Likewise.
12147 (test_program_termination): Likewise.
12149 2014-04-15 Keith Seitz <keiths@redhat.com>
12151 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12153 (test_rbreak_creation_and_listing): Likewise.
12154 (test_ignore_count): Likewise.
12155 (test_error): Likewise.
12157 2014-04-15 Pedro Alves <palves@redhat.com>
12159 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
12160 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
12162 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12163 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12164 to sym-file-loader.c.
12165 (struct library): Forward declare.
12166 (load_shlib, lookup_function): Change prototypes.
12167 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12168 (translate_offset): Remove declarations.
12169 (get_text_addr): New declaration.
12170 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
12171 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
12173 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12174 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12175 here from sym-file-loader.h.
12176 (struct library): New structure.
12177 (load_shlib, lookup_function): Change prototypes and adjust to
12178 work with a struct library.
12179 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12180 (translate_offset): Make static.
12181 (get_text_addr): New function.
12182 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
12184 2014-04-15 Pedro Alves <palves@redhat.com>
12186 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
12188 2014-04-15 Pedro Alves <palves@redhat.com>
12190 * gdb.base/sym-file-loader.c: Include <limits.h>.
12191 (SELF_LINK): New define.
12192 (get_origin): New function.
12193 (load_shlib): Use it.
12194 * gdb.base/sym-file.exp: Don't early return if the target is
12195 remote. Use runto_main, and issue fail is that fails. Use
12197 (shlib_name): Delete.
12198 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
12200 2014-04-15 Pedro Alves <palves@redhat.com>
12202 * gdb.base/sym-file.exp: Remove regex characters from test
12203 message. Don't refer to breakpoint numbers in test messages.
12205 2014-04-14 Keith Seitz <keiths@redhat.com>
12208 * gdb.cp/var-tag.cc: New file.
12209 * gdb.cp/var-tag.exp: New file.
12210 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12211 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12212 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12213 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12215 2014-04-14 Tom Tromey <tromey@redhat.com>
12217 * gdb.cp/classes.exp (test_enums): Handle underlying type.
12218 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
12220 * gdb.cp/enum-class.exp: New file.
12221 * gdb.cp/enum-class.cc: New file.
12223 2014-04-14 Tom Tromey <tromey@redhat.com>
12225 * gdb.dwarf2/enum-type.exp: New file.
12227 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12229 * gdb.mi/mi-vla-c99.exp: New file.
12230 * gdb.mi/vla.c: New file.
12232 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12234 * gdb.base/vla-datatypes.c: New file.
12235 * gdb.base/vla-datatypes.exp: New file.
12237 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12239 * gdb.base/vla-ptr.c: New file.
12240 * gdb.base/vla-ptr.exp: New file.
12242 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12244 * gdb.dwarf2/count.exp: New file.
12246 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12248 * gdb.base/vla-sideeffect.c: New file.
12249 * gdb.base/vla-sideeffect.exp: New file.
12251 2014-04-14 David Blaikie <dblaikie@gmail.com>
12253 * gdb.mi/non-stop.c: Add return value for non-void function return
12255 * gdb.threads/staticthreads.c: Ditto.
12257 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
12258 Doug Evans <xdje42@gmail.com>
12260 * gdb.guile/scm-value.c: Improve test case.
12261 * gdb.guile/scm-value.exp: Add new test.
12263 2014-04-11 David Blaikie <dblaikie@gmail.com>
12265 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
12266 override Clang's default.
12268 2014-04-11 Joel Brobecker <brobecker@adacore.com>
12270 Revert the following changes (regressions):
12272 * gdb.base/vla-sideeffect.c: New file.
12273 * gdb.base/vla-sideeffect.exp: New file.
12275 * gdb.dwarf2/count.exp: New file.
12277 * gdb.base/vla-multi.c: New file.
12278 * gdb.base/vla-multi.exp: New file.
12280 * gdb.base/vla-ptr.c: New file.
12281 * gdb.base/vla-ptr.exp: New file.
12283 * gdb.base/vla-datatypes.c: New file.
12284 * gdb.base/vla-datatypes.exp: New file.
12286 * gdb.mi/mi-vla-c99.exp: New file.
12287 * gdb.mi/vla.c: New file.
12289 2014-04-11 Keith Seitz <keiths@redhat.com>
12292 * gdb.cp/cpsizeof.exp: New file.
12293 * gdb.cp/cpsizeof.cc: New file.
12295 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12297 * gdb.mi/mi-vla-c99.exp: New file.
12298 * gdb.mi/vla.c: New file.
12300 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12302 * gdb.base/vla-datatypes.c: New file.
12303 * gdb.base/vla-datatypes.exp: New file.
12305 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12307 * gdb.base/vla-ptr.c: New file.
12308 * gdb.base/vla-ptr.exp: New file.
12310 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12312 * gdb.base/vla-multi.c: New file.
12313 * gdb.base/vla-multi.exp: New file.
12315 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12317 * gdb.dwarf2/count.exp: New file.
12319 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12321 * gdb.base/vla-sideeffect.c: New file.
12322 * gdb.base/vla-sideeffect.exp: New file.
12324 2014-04-11 Yao Qi <yao@codesourcery.com>
12326 * gdb.base/completion.exp: Check file exists before running tests
12327 on file completion.
12329 2014-04-10 Pedro Alves <palves@redhat.com>
12331 * gdb.base/cond-eval-mode.c: New file.
12332 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
12333 prepare_for_testing to build the new file. Check result of
12335 (test_break, test_watch): New procedures.
12336 (top level): Use them.
12338 2014-04-08 Pierre Muller <muller@sourceware.org>
12340 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
12341 Ctrl-V use for mingw hosts.
12343 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
12345 * gdb.python/py-value.c: Improve test case.
12346 * gdb.python/py-value.exp: Add new test.
12348 2014-04-07 David Blaikie <dblaikie@gmail.com>
12350 * lib/compiler.c: Identify the clang compiler.
12351 * lib/compiler.cc: Ditto.
12353 2014-04-03 Yao Qi <yao@codesourcery.com>
12355 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
12357 2014-04-01 Anton Blanchard <anton@samba.org>
12359 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
12362 2014-04-01 Anton Blanchard <anton@samba.org>
12364 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
12365 prepare_for_testing.
12367 2014-04-01 Anton Blanchard <anton@samba.org>
12369 * gdb.arch/ppc64-atomic-inst.c: Remove.
12370 * gdb.arch/ppc64-atomic-inst.S: New file.
12371 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
12373 2014-03-31 Doug Evans <dje@google.com>
12375 * gdb.base/print-symbol-loading-lib.c: New file.
12376 * gdb.base/print-symbol-loading-main.c: New file.
12377 * gdb.base/print-symbol-loading.exp: New file.
12379 2014-03-31 Yao Qi <yao@codesourcery.com>
12381 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
12383 2014-03-28 Joel Brobecker <brobecker@adacore.com>
12385 * gdb.ada/mi_dyn_arr: New testcase.
12387 2014-03-27 Doug Evans <dje@google.com>
12389 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
12391 2014-03-27 Yao Qi <yao@codesourcery.com>
12393 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
12394 if target is nios2-*-*.
12396 2014-03-26 Yao Qi <yao@codesourcery.com>
12398 * lib/gdb.exp (readline_is_used): New proc.
12399 * gdb.base/completion.exp: Move tests on command complete up.
12400 Skip the rest of tests if readline is not used.
12401 * gdb.ada/complete.exp: Skp the test if readline is not
12403 * gdb.base/filesym.exp: Likewise.
12404 * gdb.base/macscp.exp: Likewise.
12405 * gdb.base/readline-ask.exp: Likewise.
12406 * gdb.base/readline.exp: Likewise.
12407 * gdb.python/py-cmd.exp: Likewise.
12408 * gdb.trace/tfile.exp: Likewise.
12410 2014-03-26 Yao Qi <yao@codesourcery.com>
12412 * gdb.base/macscp.exp: Fix code format issues.
12414 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
12416 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
12417 * gdb.asm/powerpc64le.inc: New file.
12419 2014-03-25 Pedro Alves <palves@redhat.com>
12420 Doug Evans <dje@google.com>
12422 * gdb.base/source-execution.c: New file.
12423 * gdb.base/source-execution.exp: New file.
12424 * gdb.base/source-execution.gdb: New file.
12426 2014-03-24 Doug Evans <dje@google.com>
12428 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
12431 2014-03-24 Hui Zhu <hui@codesourcery.com>
12432 Pedro Alves <palves@redhat.com>
12434 PR breakpoints/16101
12435 * gdb.base/dprintf.exp: Use unsupported rather than changing the
12436 test pass/fail messages. Detect missing support for dprintf when
12437 breakpoints are actually inserted.
12438 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
12439 breakpoints are actually inserted.
12440 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
12443 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12445 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
12447 2014-03-22 Doug Evans <xdje42@gmail.com>
12449 * gdb.python/python.exp (python not supported): Verify multi-line
12450 python command issues an error.
12451 * gdb.guile/guile.exp (guile not supported): Verify multi-line
12452 guile command issues an error.
12454 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
12456 * gdb.threads/thread-specific.exp: Handle the lack of usable
12457 $this_breakpoint and $this_thread.
12459 2014-03-21 Hui Zhu <hui@codesourcery.com>
12461 * gdb.base/attach.exp (do_command_attach_tests): New.
12463 2014-03-20 Tom Tromey <tromey@redhat.com>
12464 Pedro Alves <palves@redhat.com>
12467 * gdb.base/condbreak-call-false.c: New file.
12468 * gdb.base/condbreak-call-false.exp: New file.
12470 2014-03-20 Pedro Alves <palves@redhat.com>
12472 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
12474 (block_signals, unblock_signals): Delete.
12475 (child_function_2, main): Remove references to deleted variable
12478 2014-03-20 Pedro Alves <palves@redhat.com>
12480 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
12481 Use pthread_kill to signal thread 2.
12482 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12483 Adjust to make the test send itself a signal rather than using the
12484 host's "kill" command.
12486 2014-03-20 Pedro Alves <palves@redhat.com>
12488 * gdb.threads/multiple-step-overs.c: New file.
12489 * gdb.threads/multiple-step-overs.exp: New file.
12490 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12491 Adjust expected infrun debug output.
12493 2014-03-20 Pedro Alves <palves@redhat.com>
12495 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
12496 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
12498 2014-03-20 Pedro Alves <palves@redhat.com>
12500 PR breakpoints/7143
12501 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
12502 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
12503 of gdb_test_multiple.
12504 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
12505 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
12507 2014-03-20 Pedro Alves <palves@redhat.com>
12509 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
12510 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
12512 2014-03-19 Pedro Alves <palves@redhat.com>
12514 * gdb.base/async.exp: Remove early return.
12516 2014-03-19 Pedro Alves <palves@redhat.com>
12518 * gdb.base/async.exp (step& tests): Pass explicit test messages.
12520 2014-03-19 Pedro Alves <palves@redhat.com>
12522 * gdb.base/async.exp (test_background): Expect \r\n after
12523 "completed." in the fail pattern.
12525 2014-03-19 Pedro Alves <palves@redhat.com>
12527 * gdb.base/async.exp (test_background): New procedure.
12528 Use it for all background execution command tests.
12530 2014-03-19 Pedro Alves <palves@redhat.com>
12532 * gdb.base/async.exp: Use prepare_for_testing.
12534 2014-03-19 Pedro Alves <palves@redhat.com>
12536 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
12539 2014-03-19 Pedro Alves <palves@redhat.com>
12541 * gdb.base/async.c (main): Add "jump here" and "until here" line
12543 * gdb.base/async.exp (jump_here): New global.
12544 (jump& test): Use it.
12545 (until_here): New global.
12546 (until& test): Use it.
12548 2014-03-19 Pedro Alves <palves@redhat.com>
12550 * gdb.base/async.exp: Don't frob gdb_protocol.
12552 2014-03-18 Doug Evans <xdje42@gmail.com>
12554 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
12555 Fix spelling of exec-done-display.
12557 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
12560 * gdb.base/gdb-sigterm.c: New file.
12561 * gdb.base/gdb-sigterm.exp: New file.
12563 2014-03-18 Pedro Alves <palves@redhat.com>
12566 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
12567 * lib/mi-support.exp (mi_expect_stop): Add special handling for
12570 2014-03-17 Joel Brobecker <brobecker@adacore.com>
12572 * gdb.ada/pckd_arr_ren: New testcase.
12574 2014-03-13 Doug Evans <xdje42@gmail.com>
12577 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
12578 collect after discarding symbols.
12580 2014-03-13 Ludovic Courtès <ludo@gnu.org>
12581 Doug Evans <xdje42@gmail.com>
12583 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
12584 to history survives a gc.
12586 2014-03-13 Pedro Alves <palves@redhat.com>
12588 * gdb.base/default.exp: Don't test "target procfs".
12590 2014-03-13 Pedro Alves <palves@redhat.com>
12592 * gdb.base/default.exp: Update "target child" and "target procfs"
12593 tests to not expect "Unix".
12595 2014-03-12 Tom Tromey <tromey@redhat.com>
12597 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
12598 New procs. Add target-async tests.
12599 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
12600 Add target-async tests.
12602 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12604 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
12605 'func_start' and 'func_end' for the beginning and end of the
12606 function code, respectively.
12607 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
12608 'func_end' instead of 'func' and 'main'.
12610 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12612 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
12613 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
12614 generate the debug info assembler source.
12616 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12618 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
12619 * gdb.dwarf2/arr-subrange.exp: Likewise.
12620 * gdb.dwarf2/dwz.exp: Likewise.
12621 * gdb.dwarf2/method-ptr.exp: Likewise.
12622 * gdb.dwarf2/missing-sig-type.exp: Likewise.
12623 * gdb.dwarf2/subrange.exp: Likewise.
12624 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
12625 * gdb.dwarf2/implptrpiece.exp: Likewise.
12626 * gdb.dwarf2/nostaticblock.exp: Likewise.
12628 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12630 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
12631 directory to absolute path name arguments.
12633 2014-03-10 Joel Brobecker <brobecker@adacore.com>
12635 * gdb.ada/tagged_access: New testcase.
12637 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
12639 * gdb.btrace/data.exp: Update expected output.
12641 2014-03-06 Yao Qi <yao@codesourcery.com>
12643 * gdb.trace/pr16508.exp: New file.
12645 2014-03-05 Pedro Alves <palves@redhat.com>
12648 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
12650 (top level): Adjust to use it. Add tests that exercise breakpoint
12651 interaction with the code-cache.
12653 2014-02-26 Ludovic Courtès <ludo@gnu.org>
12655 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
12656 test for 'history-append!'.
12658 2014-02-26 Joel Brobecker <brobecker@adacore.com>
12660 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
12661 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
12662 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
12663 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
12664 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
12665 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
12667 2014-02-26 Joel Brobecker <brobecker@adacore.com>
12669 * testsuite/gdb.python/py-pp-re-notag.c: New file.
12670 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
12671 * testsuite/gdb.python/py-pp-re-notag.p: New file.
12673 2014-02-26 Joel Brobecker <brobecker@adacore.com>
12675 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
12677 2014-02-26 Joel Brobecker <brobecker@adacore.com>
12679 * gdb.dwarf2/arr-stride.c: New file.
12680 * gdb.dwarf2/arr-stride.exp: New file.
12682 2014-02-26 Pedro Alves <palves@redhat.com>
12684 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
12685 that won't ever trigger. Make sure that GDB reports the correct
12686 breakpoint that caused the stop.
12688 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12691 * gdb.base/auto-load-script: New file.
12692 * gdb.base/auto-load.c: New file.
12693 * gdb.base/auto-load.exp: New file.
12696 * gdb.base/auto-load.exp: Fix out-of-srctree run.
12698 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12700 Fix dw2-icycle.exp -fsanitize=address GDB crash.
12701 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
12703 2014-02-24 Doug Evans <dje@google.com>
12705 * lib/gdb.exp (run_on_host): Log error output if program fails.
12707 2014-02-21 Pedro Alves <palves@redhat.com>
12709 * gdb.threads/step-after-sr-lock.c: Rename to ...
12710 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
12711 * gdb.threads/step-after-sr-lock.exp: Rename to ...
12712 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12715 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
12718 * gdb.arch/amd64-stap-special-operands.exp: New file.
12719 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
12720 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
12721 * gdb.arch/amd64-stap-triplet.S: Likewise.
12722 * gdb.arch/amd64-stap-triplet.c: Likewise.
12724 2014-02-20 Joel Brobecker <brobecker@adacore.com>
12726 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
12727 in .section pseudo-op.
12729 2014-02-20 lin zuojian <manjian2006@gmail.com>
12730 Joel Brobecker <brobecker@adacore.com>
12731 Doug Evans <xdje42@gmail.com>
12734 * gdb.dwarf2/dw2-icycle.S: New file.
12735 * gdb.dwarf2/dw2-icycle.c: New file.
12736 * gdb.dwarf2/dw2-icycle.exp: New file.
12738 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
12740 * gdb.python/py-value-cc.cc: Improve test case to enable testing
12741 operations on gdb.Value objects.
12742 * gdb.python/py-value-cc.exp: Add new test to test operations on
12745 2014-02-18 Doug Evans <dje@google.com>
12747 * Makefile.in (TESTS): New variable.
12748 (expanded_tests, expanded_tests_or_none): New variables
12749 (check-single): Pass $(expanded_tests_or_none) to runtest.
12750 (check-parallel): Only run tests in $(TESTS) if non-empty.
12751 (check/no-matching-tests-found): New rule.
12752 * README: Document TESTS makefile variable.
12754 2014-02-18 Doug Evans <dje@google.com>
12756 * Makefile.in (check-parallel): rm -rf outputs temp.
12758 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12760 Fix "ERROR: no fileid for" in the testsuite.
12761 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
12763 2014-02-12 Doug Evans <dje@google.com>
12765 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
12766 (MISCELLANEOUS): New variable.
12767 (clean): rm -rf $(MISCELLANEOUS).
12768 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
12769 dwp live in the same directory as symlinks, with each symlink pointed
12770 to a differently named file in a different directory.
12772 2014-02-11 Doug Evans <dje@google.com>
12774 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
12775 of Tcl file commands.
12777 2014-02-10 Mark Kettenis <kettenis@gnu.org>
12779 * gdb.threads/step-after-sr-lock.exp: Avoid executing
12780 "kill -SIGUSR1 -1".
12782 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12784 * gdb.ada/tick_length_array_enum_idx: New testcase.
12786 2014-02-10 Doug Evans <xdje42@gmail.com>
12788 * configure.ac (AC_OUTPUT): Add gdb.guile.
12789 * configure: Regenerate.
12790 * lib/gdb-guile.exp: New file.
12791 * lib/gdb.exp (get_target_charset): New function.
12792 * gdb.base/help.exp: Update expected output from "apropos apropos".
12793 * gdb.guile/Makefile.in: New file.
12794 * gdb.guile/guile.exp: New file.
12795 * gdb.guile/scm-arch.c: New file.
12796 * gdb.guile/scm-arch.exp: New file.
12797 * gdb.guile/scm-block.c: New file.
12798 * gdb.guile/scm-block.exp: New file.
12799 * gdb.guile/scm-breakpoint.c: New file.
12800 * gdb.guile/scm-breakpoint.exp: New file.
12801 * gdb.guile/scm-disasm.c: New file.
12802 * gdb.guile/scm-disasm.exp: New file.
12803 * gdb.guile/scm-equal.c: New file.
12804 * gdb.guile/scm-equal.exp: New file.
12805 * gdb.guile/scm-error.exp: New file.
12806 * gdb.guile/scm-error.scm: New file.
12807 * gdb.guile/scm-frame-args.c: New file.
12808 * gdb.guile/scm-frame-args.exp: New file.
12809 * gdb.guile/scm-frame-args.scm: New file.
12810 * gdb.guile/scm-frame-inline.c: New file.
12811 * gdb.guile/scm-frame-inline.exp: New file.
12812 * gdb.guile/scm-frame.c: New file.
12813 * gdb.guile/scm-frame.exp: New file.
12814 * gdb.guile/scm-generics.exp: New file.
12815 * gdb.guile/scm-gsmob.exp: New file.
12816 * gdb.guile/scm-iterator.c: New file.
12817 * gdb.guile/scm-iterator.exp: New file.
12818 * gdb.guile/scm-math.c: New file.
12819 * gdb.guile/scm-math.exp: New file.
12820 * gdb.guile/scm-objfile-script-gdb.in: New file.
12821 * gdb.guile/scm-objfile-script.c: New file.
12822 * gdb.guile/scm-objfile-script.exp: New file.
12823 * gdb.guile/scm-objfile.c: New file.
12824 * gdb.guile/scm-objfile.exp: New file.
12825 * gdb.guile/scm-ports.exp: New file.
12826 * gdb.guile/scm-pretty-print.c: New file.
12827 * gdb.guile/scm-pretty-print.exp: New file.
12828 * gdb.guile/scm-pretty-print.scm: New file.
12829 * gdb.guile/scm-section-script.c: New file.
12830 * gdb.guile/scm-section-script.exp: New file.
12831 * gdb.guile/scm-section-script.scm: New file.
12832 * gdb.guile/scm-symbol.c: New file.
12833 * gdb.guile/scm-symbol.exp: New file.
12834 * gdb.guile/scm-symtab-2.c: New file.
12835 * gdb.guile/scm-symtab.c: New file.
12836 * gdb.guile/scm-symtab.exp: New file.
12837 * gdb.guile/scm-type.c: New file.
12838 * gdb.guile/scm-type.exp: New file.
12839 * gdb.guile/scm-value-cc.cc: New file.
12840 * gdb.guile/scm-value-cc.exp: New file.
12841 * gdb.guile/scm-value.c: New file.
12842 * gdb.guile/scm-value.exp: New file.
12843 * gdb.guile/source2.scm: New file.
12844 * gdb.guile/types-module.cc: New file.
12845 * gdb.guile/types-module.exp: New file.
12847 2014-02-10 Yao Qi <yao@codesourcery.com>
12850 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
12851 * configure: Regenerated.
12852 * Makefile.in: New file.
12854 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12856 * gdb.python/py-framefilter.exp: Fix typo.
12858 2014-02-08 Yao Qi <yao@codesourcery.com>
12860 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
12861 that no =breakpoint-modified is emitted when breakpoints are
12862 modified through MI commands.
12864 2014-02-07 Pedro Alves <pedro@codesourcery.com>
12865 Pedro Alves <palves@redhat.com>
12867 * gdb.threads/step-after-sr-lock.c: New file.
12868 * gdb.threads/step-after-sr-lock.exp: New file.
12870 2014-02-07 Pedro Alves <palves@redhat.com>
12872 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
12874 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12876 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
12877 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
12879 2014-02-06 Doug Evans <xdje42@gmail.com>
12881 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
12884 * gdb.gdb/python-interrupts.exp: New file.
12886 2014-02-05 Yao Qi <yao@codesourcery.com>
12888 * gdb.trace/report.exp (use_collected_data): Test the output
12889 of "info threads" and "info inferiors".
12891 2014-02-05 Yao Qi <yao@codesourcery.com>
12895 2013-05-24 Yao Qi <yao@codesourcery.com>
12897 * gdb.trace/tfile.exp: Test inferior and thread.
12899 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12901 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
12903 * gdb.base/step-bt.c: Call hello via function pointer to make
12904 sure its first instruction is executed on powerpc64le-linux.
12906 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12908 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
12910 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12912 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
12913 of the test patterns for use on little-endian systems.
12915 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12917 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
12918 (decimal_vector): Fix for little-endian.
12920 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
12922 * gdb.arch/sparc-sysstep.exp: New file.
12923 * gdb.arch/sparc-sysstep.c: Likewise.
12925 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
12927 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12929 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
12931 2014-01-23 Tom Tromey <tromey@redhat.com>
12933 * gdb.ada/array_char_idx: New testcase.
12935 2014-01-23 Tom Tromey <tromey@redhat.com>
12938 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
12939 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
12942 2014-01-23 Tom Tromey <tromey@redhat.com>
12945 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
12946 string from an inferior frame.
12947 * gdb.python/py-framefilter-mi.exp: Update.
12949 2014-01-22 Doug Evans <dje@google.com>
12951 * gdb.server/server-mon.exp: Add tests for "set debug-format".
12953 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12955 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
12957 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12959 * gdb.trace/entry-values.exp: Remove excess space character from
12960 regex patterns. Handle s390 call instruction.
12962 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12964 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
12965 define "*_start" label. Make "name" static.
12966 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
12967 ${name} by references to ${name}_start.
12969 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12971 * gdb.base/info-macros.exp: Remove "debug" from the compile
12974 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12976 * gdb.dlang/demangle.exp: New file.
12978 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12980 * gdb.dlang/primitive-types.exp: New file.
12982 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12984 * configure.ac: Create gdb.dlang/Makefile.
12985 * configure: Regenerate.
12986 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
12987 * gdb.dlang/Makefile.in: New file.
12988 * lib/d-support.exp: New file.
12989 * lib/gdb.exp (skip_d_tests): New proc.
12991 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12993 * gdb.btrace/delta.exp: Check reverse stepi.
12994 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
12995 * gdb.btrace/finish.exp: New.
12996 * gdb.btrace/next.exp: New.
12997 * gdb.btrace/nexti.exp: New.
12998 * gdb.btrace/record_goto.c: Add comments.
12999 * gdb.btrace/step.exp: New.
13000 * gdb.btrace/stepi.exp: New.
13001 * gdb.btrace/multi-thread-step.c: New.
13002 * gdb.btrace/multi-thread-step.exp: New.
13003 * gdb.btrace/rn-dl-bind.c: New.
13004 * gdb.btrace/rn-dl-bind.exp: New.
13005 * gdb.btrace/data.c: New.
13006 * gdb.btrace/data.exp: New.
13007 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13009 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13011 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13012 * gdb.btrace/exception.exp: Update.
13013 * gdb.btrace/instruction_history.exp: Update.
13014 * gdb.btrace/record_goto.exp: Update.
13015 * gdb.btrace/tailcall.exp: Update.
13016 * gdb.btrace/unknown_functions.exp: Update.
13017 * gdb.btrace/delta.exp: New.
13019 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13021 * gdb.btrace/record_goto.exp: Add backtrace test.
13022 * gdb.btrace/tailcall.exp: Add backtrace test.
13024 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13026 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
13027 * gdb.btrace/record_goto.c: New.
13028 * gdb.btrace/record_goto.exp: New.
13029 * gdb.btrace/x86-record_goto.S: New.
13031 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13033 * gdb.btrace/function_call_history.exp: Update tests.
13034 * gdb.btrace/instruction_history.exp: Update tests.
13036 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13038 * gdb.btrace/function_call_history.exp: Fix expected field
13039 order for "record function-call-history".
13040 Add new tests for "record function-call-history /c".
13041 * gdb.btrace/exception.cc: New.
13042 * gdb.btrace/exception.exp: New.
13043 * gdb.btrace/tailcall.exp: New.
13044 * gdb.btrace/x86-tailcall.S: New.
13045 * gdb.btrace/x86-tailcall.c: New.
13046 * gdb.btrace/unknown_functions.c: New.
13047 * gdb.btrace/unknown_functions.exp: New.
13048 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13050 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13052 * gdb.btrace/instruction_history.exp: Update.
13053 * gdb.btrace/function_call_history.exp: Update.
13055 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13057 * gdb.btrace/function_call_history.exp: Fix expected function
13059 * gdb.btrace/instruction_history.exp: Initialize traced.
13060 Remove traced_functions.
13062 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13064 * gdb.btrace/function_call_history.exp: Update
13065 * gdb.btrace/instruction_history.exp: Update.
13067 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13069 * gdb.btrace/enable.exp: Update expected text.
13071 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
13073 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13076 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
13078 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13080 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
13082 * lib/gdb.exp (supports_process_record): Return true for
13083 arm*-linux*. (supports_reverse): Likewise.
13085 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13089 * gdb.python/py-type.c: Enhance test case.
13090 * gdb.python/py-value-cc.cc: Likewise
13091 * gdb.python/py-type.exp: Add new tests.
13092 * gdb.python/py-value-cc.exp: Likewise
13094 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13095 Pedro Alves <palves@redhat.com>
13097 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13098 Make "name" extern.
13099 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13100 references to ${name}_start by references to ${name}.
13102 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13104 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13106 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13108 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13110 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
13111 Pedro Alves <palves@redhat.com>
13113 * gdb.mi/mi-info-os.exp: Connect to the target with
13114 mi_gdb_target_load.
13116 2014-01-08 Pedro Alves <palves@redhat.com>
13118 * gdb.threads/reconnect-signal.c: New file.
13119 * gdb.threads/reconnect-signal.exp: New file.
13121 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13123 * gdb.base/source-dir.exp: New file.
13125 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13127 * gdb.ada/mi_interface: New testcase.
13129 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13131 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13132 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13133 gdb.ada/pp-rec-component/pck.ads: New files.
13135 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13137 * gdb.python/py-pp-integral.c: New file.
13138 * gdb.python/py-pp-integral.py: New file.
13139 * gdb.python/py-pp-integral.exp: New file.
13141 For older changes see ChangeLog-1993-2013.
13143 ;; Local Variables:
13144 ;; mode: change-log
13147 ;; version-control: never
13150 Copyright 2014-2018 Free Software Foundation, Inc.
13151 Copying and distribution of this file, with or without modification,
13152 are permitted provided the copyright notice and this notice are preserved.