1 2017-12-27 Stafford Horne <shorne@gmail.com>
3 * gdb.base/reggroups.c: New file.
4 * gdb.base/reggroups.exp: New file.
6 2017-12-18 Joel Brobecker <brobecker@adacore.com>
8 * gdb.dwarf2/ada-valprint-error.c: New file.
9 * gdb.dwarf2/ada-valprint-error.exp: New file.
11 2017-12-18 Joel Brobecker <brobecker@adacore.com>
13 * gdb.ada/assign_arr: New testcase.
15 2017-12-18 Xavier Roirand <roirand@adacore.com>
17 * gdb.ada/funcall_ptr: New testcase.
19 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
22 * gdb.base/ptype-offsets.cc: New file.
23 * gdb.base/ptype-offsets.exp: New file.
25 2017-12-15 Yao Qi <yao.qi@linaro.org>
27 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
30 2017-12-15 Xavier Roirand <roirand@adacore.com>
32 * gdb.ada/same_component_name: New testcase.
34 2017-12-14 Joel Brobecker <brobecker@adacore.com>
36 * gdb.ada/str_binop_equal: New testcase.
38 2017-12-14 Joel Brobecker <brobecker@adacore.com>
40 * gdb.ada/task_switch_in_core: New testcase.
42 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
44 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
45 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
46 call test_bkpt_qualified.
47 (test_bkpt_qualified): New proc.
49 2017-12-13 Pedro Alves <palves@redhat.com>
51 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
52 Tighten regexp by matching with an anchor.
54 2017-12-13 Pedro Alves <palves@redhat.com>
56 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
57 ("expression with namespace"): New set of tests.
58 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
59 (Nested::Test_NS::qux): New.
60 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
61 defaults to 'start_quote_char' and 'end_quote_char' parameters.
63 2017-12-13 Joel Brobecker <brobecker@adacore.com>
65 * gdb.base/server-del-break.c: New file.
66 * gdb.base/server-del-break.exp: New file.
68 2017-12-12 Stafford Horne <shorne@gmail.com>
70 * gdb.xml/tdesc-regs.exp: Add or1k support.
72 2017-12-12 Stafford Horne <shorne@gmail.com>
74 * gdb.base/bp-permanent.c: Define nop of or1k.
76 2017-12-11 Joel Brobecker <brobecker@adacore.com>
78 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
79 output with components being reordered.
81 2017-12-11 Joel Brobecker <brobecker@adacore.com>
83 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
84 output with components being reordered.
86 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
87 Pedro Alves <palves@redhat.com>
89 * gdb.base/maint.exp (check for .gdb_index): Check also for
91 * gdb.dlang/watch-loc.c (.debug_aranges): New.
92 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
93 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
94 (.gdb_index used after symbol reloading): Support also .debug_names.
95 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
97 2017-12-08 Yao Qi <yao.qi@linaro.org>
99 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
100 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
102 2017-12-08 Yao Qi <yao.qi@linaro.org>
104 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
105 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
107 2017-12-08 Yao Qi <yao.qi@linaro.org>
109 * gdb.arch/aarch64-tagged-pointer.c: New file.
110 * gdb.arch/aarch64-tagged-pointer.exp: New file.
112 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
114 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
117 2017-12-07 Keith Seitz <keiths@redhat.com>
120 * gdb.linespec/ls-errs.exp: Change expected result of "break
121 -source this file has spaces.c -line 3".
122 Check that an explicit source file followed by whitespace is
123 identified as an invalid explicit location.
125 2017-12-07 Keith Seitz <keiths@redhat.com>
127 * gdb.cp/nested-types.cc: New file.
128 * gdb.cp/nested-types.exp: New file.
129 * lib/cp-support.exp: Load data-structures.exp library.
130 (debug_cp_test_ptype_class): New global.
131 (cp_ptype_class_verbose, next_line): New procedures.
132 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
133 Add and document new return value.
134 Switch the list of lines to a queue.
135 Add support for new `type' key for nested type definitions.
136 Add debugging/troubleshooting messages.
137 * lib/data-structures.exp: New file.
139 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
141 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
142 with proc_with_prefix, don't use with_test_prefix.
144 2017-12-07 Tom Tromey <tom@tromey.com>
146 * gdb.base/break.exp: Add test for empty "commands".
148 2017-12-07 Yao Qi <yao.qi@linaro.org>
150 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
151 malloc and catch syscall.
153 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
155 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
156 tests for explicit locations.
158 2017-12-06 Pedro Alves <palves@redhat.com>
160 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
161 force-disabling XML descriptions.
163 2017-12-04 Pedro Alves <palves@redhat.com>
166 * gdb.arch/amd64-disp-step-avx.S: New file.
167 * gdb.arch/amd64-disp-step-avx.exp: New file.
169 2017-12-03 Pedro Alves <palves@redhat.com>
171 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
173 (parent_function): Print distinct messages when waitpid fails, or
174 the child exits with a signal, or the child exits for an unhandled
176 * gdb.threads/process-dies-while-detaching.exp
177 (detach_and_expect_exit): New 'inf_output_re' parameter and use
178 it. Wait for both inferior output and GDB's prompt. Use an
179 indirect spawn id list.
180 (do_detach): New parameter 'child_exit'. Use it to compute
181 expected inferior output.
182 (test_detach, test_detach_watch, test_detach_killed_outside):
183 Adjust to pass down the expected child exit kind.
185 2017-12-01 Joel Brobecker <brobecker@adacore.com>
186 Sergio Durigan Junior <sergiodj@redhat.com>
187 Pedro Alves <palves@redhat.com>
189 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
191 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
193 * gdb.base/relocate.exp: Add tests to guarantee that arguments
194 to 'symbol-file' and 'add-symbol-file' can be
195 position-independent.
197 2017-12-01 Yao Qi <yao.qi@linaro.org>
199 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
200 the URL in copyright header.
201 * gdb.arch/aarch64-fp.exp: Likewise.
202 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
203 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
204 * gdb.base/expand-psymtabs.exp: Likewise.
205 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
206 * gdb.fortran/common-block.exp: Likewise.
207 * gdb.fortran/common-block.f90: Likewise.
208 * gdb.fortran/logical.exp: Likewise.
209 * gdb.fortran/vla-datatypes.f90: Likewise.
210 * gdb.fortran/vla-sub.f90: Likewise.
212 2017-11-30 Joel Brobecker <brobecker@adacore.com>
214 * gdb.ada/repeat_dyn: New testcase.
216 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
218 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
219 Update for changed thread numbering.
220 * gdb.cell/bt.exp: Update for changed GDB output.
222 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
224 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
225 setting isremote by hand.
226 * boards/dwarf4-gdb-index.exp: Likewise.
227 * boards/fission.exp: Likewise.
228 * boards/stabs.exp: Likewise.
230 2017-11-30 Pedro Alves <palves@redhat.com>
232 * gdb.linespec/cpls-ops.exp
233 (check_explicit_skips_function_argument): Extract the underlying
234 type of size_t instead of hardcoding it.
236 2017-11-29 Pedro Alves <palves@redhat.com>
239 * gdb.linespec/cpls-abi-tag.cc: New file.
240 * gdb.linespec/cpls-abi-tag.exp: New file.
242 2017-11-29 Pedro Alves <palves@redhat.com>
244 * gdb.base/langs.exp: Use -qualified.
245 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
247 * gdb.cp/namespace.exp: Use -qualified.
248 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
249 (overload-3, template-overload, template-ret-type, const-overload)
250 (const-overload-quoted, anon-ns, ambiguous-prefix): New
252 (test_driver): Call them.
253 * gdb.cp/save-bp-qualified.cc: New.
254 * gdb.cp/save-bp-qualified.exp: New.
255 * gdb.linespec/explicit.exp: Test -qualified.
256 * lib/completion-support.exp (completion::explicit_opts_list): Add
258 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
260 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
262 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
264 2017-11-29 Tom Tromey <tom@tromey.com>
266 * gdb.base/relocate.exp: Update invalid argument test.
267 Add new tests for invalid arguments.
269 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
271 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
273 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
275 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
277 * gdb.cp/breakpoint.cc (bar): Set return type to void.
278 * gdb.cp/psymtab-parameter.cc (func): Likewise.
279 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
281 * gdb.cp/shadow.cc (B.func): Return 0.
283 2017-11-27 Joel Brobecker <brobecker@adacore.com>
285 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
286 expected output in gdb_expect call to allow the exception
287 message to be present as well. Fix syntax confusion to avoid
288 TCL thinking that exception_name is an array.
290 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
292 * gdb.arch/spu-info.c: Include <unistd.h>.
293 (do_signal_test): Fix broken calls to write.
294 * gdb.arch/spu-info.exp: Use prepare_for_testing.
295 Fix checks for empty mailboxes. Update signal tests for corrected
296 do_signal_test routine. Allow nonzero event status.
297 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
298 * gdb.cell/arch.exp: Use standard_output_file.
299 * gdb.cell/break.exp: Likewise.
300 * gdb.cell/bt.exp: Likewise.
301 * gdb.cell/core.exp: Likewise.
302 * gdb.cell/dwarfaddr.exp: Likewise.
303 * gdb.cell/ea-cache.exp: Likewise.
304 * gdb.cell/ea-standalone.exp: Likewise.
305 * gdb.cell/f-regs.exp: Likewise.
306 * gdb.cell/fork.exp: Likewise.
307 * gdb.cell/gcore.exp: Likewise.
308 * gdb.cell/mem-access.exp: Likewise.
309 * gdb.cell/ptype.exp: Likewise.
310 * gdb.cell/registers.exp: Likewise.
311 * gdb.cell/sizeof.exp: Likewise.
312 * gdb.cell/solib-symbol.exp: Likewise.
313 * gdb.cell/solib.exp: Likewise.
315 2017-11-25 Pedro Alves <palves@redhat.com>
317 * gdb.base/complete-empty.exp: New file.
318 * gdb.base/completion.exp: Adjust.
320 2017-11-25 Pedro Alves <palves@redhat.com>
322 * gdb.linespec/cpls-ops.cc: New file.
323 * gdb.linespec/cpls-ops.exp: New file.
324 * lib/completion-support.exp (test_complete_prefix_range_re): New,
325 factored out from ...
326 (test_complete_prefix_range): ... this.
328 2017-11-24 Pedro Alves <palves@redhat.com>
330 * gdb.linespec/cpcompletion.exp: New file.
331 * gdb.linespec/cpls-hyphen.cc: New file.
332 * gdb.linespec/cpls.cc: New file.
333 * gdb.linespec/cpls2.cc: New file.
334 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
335 test to use test_gdb_complete_unique. Add label completion,
336 keyword completion and explicit location completion tests.
337 * lib/completion-support.exp: New file.
339 2017-11-24 Joel Brobecker <brobecker@adacore.com>
341 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
342 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
343 when hitting an exception catchpoint.
345 2017-11-22 Yao Qi <yao.qi@linaro.org>
347 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
349 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
351 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
352 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
353 * gdb.dwarf2/info-locals-optimized-out.c: New file.
355 2017-11-22 Yao Qi <yao.qi@linaro.org>
357 * gdb.base/info-os.exp: Pass pthreads.
358 * gdb.multi/multi-attach.exp: Likewise.
360 2017-11-22 Yao Qi <yao.qi@linaro.org>
362 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
365 2017-11-22 Yao Qi <yao.qi@linaro.org>
367 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
368 * gdb.base/break-interp.exp: Likewise.
369 * gdb.base/jit-attach-pie.exp: Likewise.
371 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
373 * gdb.base/float128.c (large128): New variable.
374 * gdb.base/float128.exp: Add test to print largest __float128 value.
376 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
378 * gdb.arch/vsx-regs.exp: Update register content checks.
380 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
382 * gdb.arch/ppc-longdouble.exp: New file.
383 * gdb.arch/ppc-longdouble.c: Likewise.
385 2017-11-21 Pedro Alves <palves@redhat.com>
387 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
389 2017-11-20 Pedro Alves <palves@redhat.com>
391 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
392 (long_double_typedef): New typedefs.
393 Use DEF on double and long double.
394 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
396 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
397 and 'long_double_ptr_same_size' locals. Use them to decide
398 whether cast from array/function to float is valid/invalid.
400 2017-11-17 Tom Tromey <tom@tromey.com>
402 * gdb.rust/traits.rs: New file.
403 * gdb.rust/traits.exp: New file.
405 2017-11-17 Joel Brobecker <brobecker@adacore.com>
407 * gdb.ada/minsyms: New testcase.
409 2017-11-16 Pedro Alves <palves@redhat.com>
411 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
412 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
414 2017-11-16 Pedro Alves <palves@redhat.com>
416 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
417 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
419 2017-11-16 Pedro Alves <palves@redhat.com>
421 * gdb.server/reconnect-ctrl-c.c: New file.
422 * gdb.server/reconnect-ctrl-c.exp: New file.
424 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
426 * gdb.python/py-rbreak.exp: New file.
427 * gdb.python/py-rbreak.c: New file.
428 * gdb.python/py-rbreak-func2.c: New file.
430 2017-11-16 Pedro Alves <palves@redhat.com>
432 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
434 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
437 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
439 * gdb.tui/completionn.exp (test_tab_completion): Add space in
442 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
444 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
447 2017-11-09 Pedro Alves <palves@redhat.com>
449 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
450 factored out from ...
451 (top level): ... here, and adjusted to avoid expecting beyond the
452 prompt in a single gdb_test_multiple.
454 2017-11-09 Pedro Alves <palves@redhat.com>
456 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
458 * gdb.server/ext-attach.exp ("kill" test): Likewise.
459 * gdb.server/ext-restart.exp ("kill" test): Likewise.
460 * gdb.server/ext-run.exp ("kill" test): Likewise.
461 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
463 2017-11-09 Pedro Alves <palves@redhat.com>
465 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
466 match till end of line.
468 2017-11-09 Pedro Alves <palves@redhat.com>
470 * gdb.base/memattr.exp: Tighten regexes to match the end line.
472 2017-11-09 Pedro Alves <palves@redhat.com>
474 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
475 New procedures, factored out from ...
476 (top level): ... here, and adjusted to avoid expecting beyond the
479 2017-11-09 Pedro Alves <palves@redhat.com>
481 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
482 output. Fix '?' match.
484 2017-11-08 Joel Brobecker <brobecker@adacore.com>
486 * gdb.ada/scoped_watch: New testcase.
487 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
488 which is actually correct.
489 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
490 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
492 2017-11-08 Pedro Alves <palves@redhat.com>
494 * gdb.gdb/complaints.exp (test_initial_complaints)
495 (test_serial_complaints, test_short_complaints): Call
496 complaint_internal instead of complaint.
498 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
500 * gdb.threads/tls-core.c: New file.
501 * gdb.threads/tls-core.exp: Likewise.
503 2017-11-08 Pedro Alves <palves@redhat.com>
505 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
506 (p Exported_Capitalized): New test.
507 (p exported_capitalized): New test.
509 2017-11-07 Pedro Alves <palves@redhat.com>
511 * gdb.cp/ena-dis-br-range.exp: Add more tests.
513 2017-11-07 Pedro Alves <palves@redhat.com>
515 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
516 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
517 (disable_invalid, disable_inverted, disable_negative): New
519 ("bad numbers"): New set of tests.
521 2017-11-07 Pedro Alves <palves@redhat.com>
523 * gdb.cp/ena-dis-br-range.exp: Add tests.
525 2017-11-07 Pedro Alves <palves@redhat.com>
527 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
529 2017-11-07 Xavier Roirand <roirand@adacore.com>
530 Pedro Alves <palves@redhat.com>
532 * gdb.base/ena-dis-br.exp: Add reference to
533 gdb.cp/ena-dis-br-range.exp.
534 * gdb.cp/ena-dis-br-range.exp: New file.
535 * gdb.cp/ena-dis-br-range.cc: New file.
537 2017-11-06 Pedro Alves <palves@redhat.com>
539 * gdb.base/attach-non-pgrp-leader.c: New.
540 * gdb.base/attach-non-pgrp-leader.exp: New.
542 2017-11-06 Pedro Alves <palves@redhat.com>
544 * configure.ac: No longer check for termio.h and sgtty.h.
545 * configure: Regenerate.
546 * remote-utils.c: Include termios.h instead of gdb_termios.h.
547 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
548 Remove termio and sgtty code.
550 2017-11-03 Yao Qi <yao.qi@linaro.org>
552 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
555 2017-11-03 Yao Qi <yao.qi@linaro.org>
557 * gdb.python/py-thrhandle.exp: Skip it if python is not
560 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
562 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
563 as a breakpoint command.
565 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
568 * gdb.python/py-infthread.exp: Test calling
569 InferiorThread.inferior () multiple times in a row.
571 2017-10-27 Keith Seitz <keiths@redhat.com>
573 * gdb.opt/inline-break.exp (break_info_1): New procedure.
574 Test "info break" for every inlined function breakpoint.
576 2017-10-27 Yao Qi <yao.qi@linaro.org>
578 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
580 2017-10-26 Patrick Frants <osscontribute@gmail.com>
582 * gdb.cp/classes.exp (test_static_members): Test printing
584 * gdb.cp/classes.c (struct Inner, struct Outer): New.
585 (Inner::instance, Outer::instance): New.
587 2017-10-24 Pedro Alves <palves@redhat.com>
589 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
590 extra console" test in two stages.
592 2017-10-24 Pedro Alves <palves@redhat.com>
594 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
596 2017-10-24 Pedro Alves <palves@redhat.com>
598 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
601 2017-10-24 Pedro Alves <palves@redhat.com>
603 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
604 $attempt" and "stoppedtry $stoppedtry" test prefixes.
606 2017-10-24 Pedro Alves <palves@redhat.com>
608 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
609 parameter and handle it. Don't output read value in test name.
611 2017-10-24 Pedro Alves <palves@redhat.com>
613 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
616 2017-10-24 Pedro Alves <palves@redhat.com>
618 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
619 include the unstable output directory name in the test's name.
620 (initial_setup_simple) <'set args'>: Use custom test name.
622 2017-10-24 Pedro Alves <palves@redhat.com>
624 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
625 with explicit test name.
627 2017-10-20 Pedro Alves <palves@redhat.com>
629 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
630 'wait -i'. Use gdb_assert and remote_close.
632 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
634 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
635 number from variable rather than hard-coded.
637 2017-10-19 Pedro Alves <palves@redhat.com>
639 * gdb.base/long-inferior-output.c: New file.
640 * gdb.base/long-inferior-output.exp: New file.
642 2017-11-18 Keith Seitz <keiths@redhat.com>
644 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
647 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
648 Add additional user-defined conversion operator tests.
650 2017-10-17 Pedro Alves <palves@redhat.com>
652 * boards/native-stdio-gdbserver.exp: Load "local-board".
654 2017-10-17 Pedro Alves <palves@redhat.com>
656 * gdb.base/quit-live.c: New file.
657 * gdb.base/quit-live.exp: New file.
659 2017-10-16 Keith Seitz <keiths@redhat.com>
661 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
662 (class_with_protected_typedef, class_with_private_typedef)
663 (struct_with_public_typedef, struct_with_protected_typedef)
664 (struct_with_private_typedef): New classes/structs.
665 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
666 typedefs and access specifiers.
668 2017-10-16 Pedro Alves <palves@redhat.com>
669 Simon Marchi <simon.marchi@polymtl.ca>
671 * README (Local vs Remote vs Native): New section.
672 * boards/local-board.exp: New file, with bits factored out from
674 * boards/native-extended-gdbserver.exp: ... here. Load
676 * boards/native-gdbserver.exp: Load "local-board".
677 (${board}_spawn, ${board}_exec): Delete.
678 * boards/native-stdio-gdbserver.exp: Most contents factored out to
680 * boards/stdio-gdbserver-base.exp: ... this new file.
681 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
682 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
684 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
685 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
686 stdio_gdbserver_command.
687 (${board}_get_remote_address, ${board}_get_comm_port)
688 (${board}_download, ${board}_upload): Delete.
689 (get_target_remote_pipe_cmd): New.
691 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
693 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
694 test_bkpt_deletion, test_bkpt_cond_and_cmds,
695 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
696 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
697 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
698 remove with_test_prefix.
700 2017-10-13 Pedro Alves <palves@redhat.com>
702 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
703 * gdb.base/annota1.exp: Use it instead of is_remote.
704 * gdb.base/annota3.exp: Use it instead of is_remote.
705 * gdb.cp/annota2.exp: Use it instead of is_remote.
706 * gdb.cp/annota3.exp: Use it instead of is_remote.
707 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
709 2017-10-13 Pedro Alves <palves@redhat.com>
711 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
712 (test_num_test_vars, run_and_count_vars, find_env)
713 (test_set_unset_env, test_inherit_env_var): New procedures.
714 (top level): Use them.
716 2017-10-13 Pedro Alves <palves@redhat.com>
718 * lib/selftest-support.exp (selftest_setup): Extend comments, and
719 also skip on stub-like targets.
721 2017-10-13 Pedro Alves <palves@redhat.com>
724 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
725 (top level): Move some tests to ...
726 (test_not_found): ... this new procedure.
727 (top level): Call it.
729 2017-10-13 Pedro Alves <palves@redhat.com>
731 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
732 expect different "info terminal" output if testing with a
735 2017-10-13 Pedro Alves <palves@redhat.com>
736 Simon Marchi <simon.marchi@polymtl.ca>
739 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
741 2017-10-13 Pedro Alves <palves@redhat.com>
743 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
746 2017-10-13 Pedro Alves <palves@redhat.com>
748 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
751 2017-10-13 Pedro Alves <palves@redhat.com>
753 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
756 2017-10-13 Pedro Alves <palves@redhat.com>
758 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
760 (corefile_test_attach): Likewise. Check can_spawn_for_attach
761 instead of is_remote.
763 2017-10-13 Pedro Alves <palves@redhat.com>
765 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
766 (top level): Add comment.
768 2017-10-13 Pedro Alves <palves@redhat.com>
770 * gdb.base/remote.exp (top level): Fix comment typo and add
773 2017-10-13 Pedro Alves <palves@redhat.com>
774 Simon Marchi <simon.marchi@polymtl.ca>
776 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
777 calls and add comments. Skip test if use_gdb_stub is set.
778 (top level): Use "set cwd" command instead of "cd" command.
780 2017-10-13 Pedro Alves <palves@redhat.com>
782 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
783 is_remote target check.
785 2017-10-13 Pedro Alves <palves@redhat.com>
787 * gdb.base/scope.exp: Use build_executable + clean_restart +
788 gdb_file_cmd instead of prepare_for_testing and no longer skip
789 "before run" tests on is_remote target boards. Update comments.
790 * boards/native-extended-gdbserver.exp
791 (extended_gdbserver_load_last_file): New, factored out from ...
792 (gdb_load): ... this. Move further below and add comment.
793 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
795 2017-10-12 Pedro Alves <palves@redhat.com>
797 * gdb.base/attach.exp: Remove references to gdb64.
798 * gdb.base/dbx.exp: Remove references to gdb64.
800 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
801 Pedro Alves <palves@redhat.com>
803 * gdb.base/label.exp: Remove is_remote target check.
805 2017-10-12 Pedro Alves <palves@redhat.com>
807 * gdb.base/auvx.exp (coredir): Update comment.
808 (top level) <core_works>: Use "set cwd" command instead of "cd"
811 2017-10-12 Pedro Alves <palves@redhat.com>
812 Simon Marchi <simon.marchi@polymtl.ca>
814 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
817 2017-10-12 Pedro Alves <palves@redhat.com>
818 Simon Marchi <simon.marchi@polymtl.ca>
820 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
821 Instead skip if there's any gdb_protocol set.
823 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
824 Pedro Alves <palves@redhat.com>
826 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
828 2017-10-12 Pedro Alves <palves@redhat.com>
829 Simon Marchi <simon.marchi@polymtl.ca>
831 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
832 instead of on dejagnu remote boards.
834 2017-10-12 Pedro Alves <palves@redhat.com>
835 Simon Marchi <simon.marchi@polymtl.ca>
837 * gdb.base/inferior-died.exp: Remove is_remote and isnative
838 checks. Use build_executable + clean_restart instead of
839 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
840 of enabling non-stop after starting gdb.
842 2017-10-12 Pedro Alves <palves@redhat.com>
844 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
845 * gdb.threads/non-ldr-exc-2.exp: Ditto.
846 * gdb.threads/non-ldr-exc-3.exp: Ditto.
847 * gdb.threads/non-ldr-exc-4.exp: Ditto.
849 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
851 * gdb.arch/arc-tdesc-cpu.exp: New file.
852 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
854 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
856 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
858 2017-10-10 Pedro Alves <palves@redhat.com>
860 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
863 2017-10-10 Pedro Alves <palves@redhat.com>
865 * lib/selftest-support.exp (selftest_setup): Update for
866 captured_command_loop's prototype change.
868 2017-10-09 Pedro Alves <palves@redhat.com>
870 Test both arch1=>arch2 and arch2=>arch1.
872 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
873 (srcfile2, binfile2, march1, march2): Remove globals. Largely
875 (append_arch1_options, append_arch2_options, append_arch_options)
876 (build_executables): New procedures.
877 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
879 (top level): Add new 'first_arch' testing axis.
881 2017-10-09 Pedro Alves <palves@redhat.com>
883 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
885 (thread_start, all_started): New functions.
886 (main): Spawn new thread and wait until it is scheduled.
887 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
889 (do_test): Add 'selected_thread' parameter. Run to all_started
890 instead of main. Explicitly set the breakpoint at main. Switch
891 to the SELECTED_THREAD thread.
892 (top level): Test handling the exec event with either the main
893 thread or the second thread selected.
895 2017-10-09 Pedro Alves <palves@redhat.com>
897 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
898 logic. Move STOP marker after the value checks.
899 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
902 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
904 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
906 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
908 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
909 integer-to-dfp conversion.
910 * gdb.base/dfp-test.exp: Likewise.
912 2017-10-04 Pedro Alves <palves@redhat.com>
914 * gdb.multi/hangout.c: Include <unistd.h>.
915 (hangout_loop): New function.
916 (main): Call alarm. Call hangout_loop in a loop.
917 * gdb.multi/hello.c: Include <unistd.h>.
918 (hello_loop): New function.
919 (main): Call alarm. Call hangout_loop in a loop.
920 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
921 inferior with the other selected.
923 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
925 * gdb.mi/list-thread-groups-available.exp: New file.
926 * gdb.mi/list-thread-groups-available.c: New file.
928 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
930 * gdb.base/set-cwd.exp: Make it available on
931 native-extended-gdbserver.
933 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
935 * gdb.base/set-cwd.c: New file.
936 * gdb.base/set-cwd.exp: Likewise.
938 2017-10-02 Tom Tromey <tom@tromey.com>
941 * gdb.rust/simple.rs (main): New variable "fslice".
942 * gdb.rust/simple.exp: Add slice tests. Update string tests.
944 2017-10-02 Tom Tromey <tom@tromey.com>
946 * gdb.rust/simple.exp: Test ptype of a slice.
948 2017-10-02 Tom Tromey <tom@tromey.com>
950 * gdb.rust/simple.exp: Test index of slice.
952 2017-09-27 Tom Tromey <tom@tromey.com>
954 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
956 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
957 Pedro Alves <palves@redhat.com>
959 * gdb.base/compare-sections.exp (get value of read-only section): Read
961 (corrupt read-only section): Likewise and don't set written if patching
964 2017-09-21 Kevin Buettner <kevinb@redhat.com>
966 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
969 2017-09-20 Pedro Alves <palves@redhat.com>
971 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
972 symbol names in gdb's output.
973 * gdb.cp/overload.exp ("list all overloads"): Likewise.
975 2017-09-20 Pedro Alves <palves@redhat.com>
977 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
979 (test_list_ambiguous_symbol): ... this and add a symbol name
981 (test_list_ambiguous_function): Reimplement on top of
982 test_list_ambiguous_symbol and also test listing ambiguous
984 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
985 (ambiguous_fun): ... this.
986 (ambiguous_var): New.
987 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
988 (ambiguous_fun): ... this.
989 (ambiguous_var): New.
991 2017-09-19 John Baldwin <jhb@FreeBSD.org>
993 * gdb.base/starti.c: New file.
994 * gdb.base/starti.exp: New file.
995 * lib/gdb.exp (gdb_starti_cmd): New procedure.
997 2017-09-14 Pedro Alves <palves@redhat.com>
999 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1000 (top level): Use it instead of runto.
1002 2017-09-11 Tom Tromey <tom@tromey.com>
1004 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1006 2017-09-11 Tom Tromey <tom@tromey.com>
1008 * gdb.python/py-infthread.exp: Add tests for new_thread event.
1009 * gdb.python/py-inferior.exp: Add tests for new inferior events.
1011 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
1013 * gdb.fortran/printing-types.exp: New file.
1014 * gdb.fortran/printing-types.exp: New file.
1016 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1018 * gdb.fortran/vla-ptype.exp: Fix typos.
1019 * gdb.fortran/vla-value.exp: Same.
1021 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1023 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1024 * gdb.mi/mi-var-child-f.exp: Likewise.
1025 * gdb.mi/mi-vla-fortran.exp: Likewise.
1027 2017-09-08 Frank Penczek <frank.penczek@intel.com>
1028 Christoph Weinmann <christoph.t.weinmann@intel.com>
1029 Bernhard Heckel <bernhard.heckel@intel.com>
1031 * gdb.fortran/ptr-indentation.f90: New file.
1032 * gdb.fortran/ptr-indentation.exp: New file.
1034 2017-09-05 Tom Tromey <tom@tromey.com>
1037 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1039 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1041 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1043 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1045 * gdb.threads/tls-nodebug-pie.c: New file.
1046 * gdb.threads/tls-nodebug-pie.exp: New file.
1048 2017-09-05 Tom Tromey <tom@tromey.com>
1050 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1053 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
1055 * gdb.multi/multi-arch-exec.exp: Test with different
1056 "follow-exec-mode" settings.
1057 (do_test): New procedure.
1059 2017-09-04 Pedro Alves <palves@redhat.com>
1061 * gdb.base/func-static.c (S::method const, S::method volatile)
1062 (S::method volatile const): New methods.
1063 (c_s, v_s, cv_s): New instances.
1064 (main): Call method() on them.
1065 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1066 (cannot_resolve): New procedure.
1067 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
1068 print-quote-unquoted columns.
1069 (do_test): Test printing each scope too.
1071 2017-09-04 Pedro Alves <palves@redhat.com>
1073 * gdb.base/local-static.exp: Also test with
1074 class::method::variable wholly quoted.
1075 * gdb.cp/m-static.exp (class::method::variable): Remove test.
1077 2017-09-04 Pedro Alves <palves@redhat.com>
1079 * gdb.base/local-static.c: New.
1080 * gdb.base/local-static.cc: New.
1081 * gdb.base/local-static.exp: New.
1083 2017-09-04 Pedro Alves <palves@redhat.com>
1085 * gdb.asm/asm-source.exp: Add casts to int.
1086 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1087 (dataglobal64_1, dataglobal64_2): New globals.
1088 * gdb.base/nodebug.exp: Test different expressions involving the
1089 new globals, with print, whatis and ptype. Add casts to int.
1090 * gdb.base/solib-display.exp: Add casts to int.
1091 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
1092 * gdb.cp/m-static.exp: Add cast to int.
1093 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1094 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1095 tls variable with no debug info without a cast. Test with a cast
1097 * gdb.trace/entry-values.exp: Add casts.
1099 2017-09-04 Pedro Alves <palves@redhat.com>
1101 * gdb.base/nodebug.exp: Test that ptype's error about functions
1102 with unknown return type includes the function name too.
1104 2017-09-04 Pedro Alves <palves@redhat.com>
1106 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
1107 return type of munmap in infcall.
1108 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
1109 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
1110 type of ftell in infcall.
1111 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
1112 type of getpid in infcall.
1113 * gdb.base/infcall-exec.exp: Cast return type of execlp in
1115 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
1116 Bail on failure to extract the pid.
1117 * gdb.base/nodebug.c: #include <stdint.h>.
1118 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
1120 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
1121 Change expected output of print/whatis/ptype with functions with
1122 no debug info. Test all supported languages. Call
1123 test_call_promotion.
1124 * gdb.compile/compile.exp: Adjust expected output to expect
1126 * gdb.threads/siginfo-threads.exp: Likewise.
1128 2017-09-04 Pedro Alves <palves@redhat.com>
1130 * gdb.base/callfuncs.exp (do_function_calls): New parameter
1131 "prototypes". Test calling float functions via prototyped and
1132 unprototyped function pointers.
1133 (perform_all_tests): New parameter "prototypes". Pass it down.
1134 (top level): Pass down "prototypes" parameter to
1137 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1139 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
1140 Test with nested loops.
1142 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1144 * gdb.base/commands.exp: Call the new procedures.
1145 (loop_break_test, loop_continue_test): New procedures.
1147 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1149 * gdb.base/commands.exp: Call new procedure.
1150 (define_if_without_arg_test): New procedure.
1152 2017-09-04 Pedro Alves <palves@redhat.com>
1154 * gdb.base/list-ambiguous.exp: New file.
1155 * gdb.base/list-ambiguous0.c: New file.
1156 * gdb.base/list-ambiguous1.c: New file.
1157 * gdb.base/list.exp (test_list_range): Adjust expected output.
1159 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
1161 * gdb.base/share-env-with-gdbserver.c: New file.
1162 * gdb.base/share-env-with-gdbserver.exp: Likewise.
1164 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1166 * gdb.base/commands.exp (gdbvar_simple_if_test,
1167 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
1168 progvar_simple_if_test, progvar_simple_while_test,
1169 progvar_complex_if_while_test, user_defined_command_test,
1170 user_defined_command_args_eval,
1171 user_defined_command_args_stack_test,
1172 user_defined_command_manyargs_test, bp_deleted_in_command_test,
1173 temporary_breakpoint_commands,
1174 gdb_test_no_prompt, redefine_hook_test,
1175 redefine_backtrace_test): Remove "global gdb_prompt".
1177 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1179 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
1180 New proc, call it from toplevel.
1182 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
1185 * gdb.server/normal.c: New file, copied from gdb.base.
1186 * gdb.server/run-without-local-binary.exp: New file.
1188 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
1190 * gdb.arch/sparc64-adi.exp: New file.
1191 * gdb.arch/sparc64-adi.c: New file.
1193 2017-08-22 Pedro Alves <palves@redhat.com>
1195 * gdb.cp/overload.exp (line_range_pattern): New procedure.
1196 (top level): Add "list all overloads" tests.
1198 2017-08-22 Tom Tromey <tom@tromey.com>
1200 * gdb.gdb/xfullpath.exp: Remove.
1202 2017-08-21 Pedro Alves <palves@redhat.com>
1205 * gdb.base/symbol-alias.c: New.
1206 * gdb.base/symbol-alias2.c: New.
1207 * gdb.base/symbol-alias.exp: New.
1209 2017-08-21 Pedro Alves <palves@redhat.com>
1211 * gdb.base/dfp-test.c
1212 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
1213 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
1214 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
1215 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
1216 * gdb.base/whatis-ptype-typedefs.c: New.
1217 * gdb.base/whatis-ptype-typedefs.exp: New.
1218 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
1219 (an_int, an_int_type, an_int_type2): New globals.
1220 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
1221 involving typedefs and cast expressions.
1222 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
1223 (lookup_typedefs_function): New.
1224 (typedefs_pretty_printers_dict): New.
1225 (top level): Register lookup_typedefs_function in
1226 gdb.pretty_printers.
1228 2017-08-18 Yao Qi <yao.qi@linaro.org>
1230 * gdb.server/unittest.exp: New.
1232 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
1235 * gdb.base/environ.exp: Add test to check if 'unset environment'
1238 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1240 * lib/gdb.exp (universal_compile_options): New caching proc.
1241 (gdb_compile): Suppress GCC's coloring of messages.
1243 2017-08-14 Tom Tromey <tom@tromey.com>
1246 * gdb.base/printcmds.exp (test_radices): New function.
1247 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
1248 * gdb.base/sizeof.exp (check_valueof): Use p/d.
1249 * lib/gdb.exp (get_integer_valueof): Use p/d.
1251 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
1253 * lib/gdb.exp (get_valueof): Don't capture end-of-line
1256 2017-08-05 Tom Tromey <tom@tromey.com>
1258 * gdb.rust/simple.exp: Allow String to appear in a different
1261 2017-07-26 Yao Qi <yao.qi@linaro.org>
1263 * gdb.gdb/unittest.exp: Invoke command
1264 "maintenance check xml-descriptions".
1266 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1268 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
1270 (hex128): Drop erroneous calculation of parameters.
1272 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
1274 * gdb.python/py-unwind.exp: Disable stack protection when
1277 2017-07-20 Pedro Alves <palves@redhat.com>
1279 * gdb.base/default.exp (set language): Adjust expected output.
1281 2017-07-20 Pedro Alves <palves@redhat.com>
1283 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
1284 (test_minsym): ... this, and make static.
1285 (get_pck__foo__bar__minsym): Rename to ...
1286 (get_test_minsym): ... this.
1287 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
1288 symbol names and comments.
1289 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
1290 (get_test_minsym): ... this.
1291 (pck__foo__bar__minsym__2): Rename to ...
1292 (test_minsym): ... this.
1295 2017-07-17 Pedro Alves <palves@redhat.com>
1297 * gdb.base/completion.exp: Adjust expected output.
1298 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
1299 the completer works.
1301 2017-07-17 Pedro Alves <palves@redhat.com>
1303 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
1305 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1307 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
1309 2017-07-14 Tom Tromey <tom@tromey.com>
1312 * gdb.rust/simple.exp: Add tests.
1314 2017-07-14 Tom Tromey <tom@tromey.com>
1316 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
1318 2017-07-14 Pedro Alves <palves@redhat.com>
1320 * gdb.linespec/base/one/thefile.cc (z1): New function.
1321 * gdb.linespec/base/two/thefile.cc (z2): New function.
1322 * gdb.linespec/linespec.exp: Add tests.
1324 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1326 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
1327 to mi_create_breakpoint.
1329 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1331 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
1332 mi_create_breakpoint.
1334 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
1336 * gdb.dlang/demangle.exp: Update for demangling changes.
1338 2017-07-09 Tom Tromey <tom@tromey.com>
1340 * gdb.dwarf2/shortpiece.exp: New file.
1342 2017-07-06 David Blaikie <dblaikie@gmail.com>
1344 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
1345 built from fissiont-multi-cu{1,2}.c.
1346 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
1347 except putting 'main' and 'func' in separate CUs in the same DWO file.
1348 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
1350 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
1353 2017-07-06 Pedro Alves <palves@redhat.com>
1355 * gdb.python/py-unwind.exp: Test flushregs.
1357 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1360 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
1361 tests for alias commands and trailing whitespace.
1363 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1366 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
1369 2017-06-29 Pedro Alves <palves@redhat.com>
1371 * gdb.base/printcmds.exp: Add tests.
1373 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
1376 * gdb.base/reread-readsym.exp: New file.
1377 * gdb.base/reread-readsym.c: New file.
1379 2017-06-21 Kevin Buettner <kevinb@redhat.com>
1381 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
1384 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
1386 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
1388 * gdb.arch/powerpc-power9.s: Likewise.
1390 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1392 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
1393 on 32-bit x86 targets. Exploit is_*_target macros where
1396 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1398 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
1401 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1403 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
1404 located in one or more DWARF pieces.
1406 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1408 * lib/gdb.exp (get_endianness): New proc.
1409 * gdb.arch/aarch64-fp.exp: Use it.
1410 * gdb.arch/altivec-regs.exp: Likewise.
1411 * gdb.arch/e500-regs.exp: Likewise.
1412 * gdb.arch/vsx-regs.exp: Likewise.
1413 * gdb.base/dump.exp: Likewise.
1414 * gdb.base/funcargs.exp: Likewise.
1415 * gdb.base/gnu_vector.exp: Likewise.
1416 * gdb.dwarf2/formdata16.exp: Likewise.
1417 * gdb.dwarf2/implptrpiece.exp: Likewise.
1418 * gdb.dwarf2/nonvar-access.exp: Likewise.
1419 * gdb.python/py-inferior.exp: Likewise.
1420 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1422 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1425 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
1426 stack value pieces are taken from the LSB end.
1428 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1430 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
1431 variable at nonzero offset.
1433 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1435 * gdb.dwarf2/var-access.c: New file.
1436 * gdb.dwarf2/var-access.exp: New test.
1437 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
1439 2017-06-12 Tom Tromey <tom@tromey.com>
1441 * gdb.dwarf2/formdata16.exp: Add tests.
1443 2017-06-12 Tom Tromey <tom@tromey.com>
1445 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
1447 2017-06-12 Tom Tromey <tom@tromey.com>
1450 * gdb.reverse/i386-sse-reverse.exp: Update tests.
1451 * gdb.arch/vsx-regs.exp: Update tests.
1452 * gdb.arch/s390-vregs.exp (hex128): New proc.
1454 * gdb.arch/altivec-regs.exp: Update tests.
1456 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1458 * gdb.base/startup-with-shell.c: New file.
1459 * gdb.base/startup-with-shell.exp: Likewise.
1461 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1463 * gdb.server/non-existing-program.exp: Update regex in order to
1464 reflect the fact that gdbserver is now using fork_inferior (with a
1465 shell) to startup the inferior.
1467 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
1469 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
1470 support function calls from GDB.
1472 2017-05-21 Tom Tromey <tom@tromey.com>
1475 * gdb.rust/unsized.exp: New file.
1476 * gdb.rust/unsized.rs: New file.
1478 2017-05-19 Tom Tromey <tom@tromey.com>
1481 * gdb.rust/watch.exp: New file.
1482 * gdb.rust/watch.rs: New file.
1484 2017-05-18 Tom Tromey <tom@tromey.com>
1486 * gdb.rust/simple.exp: Allow Box to be qualified.
1488 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
1490 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
1492 2017-05-18 Pedro Alves <palves@redhat.com>
1494 * gdb.base/fileio.c (test_write, test_read, test_close)
1495 (test_fstat): Don't print 'ret' in the fail path.
1497 2017-05-18 Pedro Alves <palves@redhat.com>
1499 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
1500 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
1501 (test_system, test_rename, test_unlink, test_time): Change
1503 * gdb.base/fileio.exp (stop_msg): Adjust.
1505 2017-05-18 Pedro Alves <palves@redhat.com>
1507 * gdb.base/fileio.c (null_str): New global.
1508 (test_stat): Use it.
1509 * gdb.base/fileio.exp: Remove nowarnings.
1511 2017-05-17 Yao Qi <yao.qi@linaro.org>
1513 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
1515 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
1517 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
1519 (top-level): Invoke test_set_inferior_tty.
1521 2017-05-04 Pedro Alves <palves@redhat.com>
1523 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
1524 Add parens to print call for Python 3.
1526 2017-05-03 Keith Seitz <keiths@redhat.com>
1528 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
1531 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1533 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
1536 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1538 * gdb.python/py-record-btrace.exp: Remove test for
1539 gdb.BtraceInstruction.error.
1541 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1543 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
1545 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1547 * gdb.python/py-record-btrace-threads.c: New file.
1548 * gdb.python/py-record-btrace-threads.exp: New file.
1550 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
1553 * gdb.base/environ.exp: Make test available in all architectures.
1554 Move bits related to "info program" testing to
1555 gdb.base/info-program.exp. Rewrite tests to use the two new
1556 procedures mentione below.
1557 (test_set_show_env_var) New procedure.
1558 (test_set_show_env_var_equal): Likewise.
1559 * gdb.base/info-program.exp: New file.
1561 2017-04-27 Keith Seitz <keiths@redhat.com>
1563 * gdb.cp/oranking.cc (test15): New function.
1564 (main): Call test15 and declare additional variables for testing.
1565 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
1566 "p foo101('abc')" tests.
1567 Add tests for cv qualifier overloads.
1568 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
1569 "lvalue reference overload" test.
1570 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
1571 "print value of f1 on Child&& in f2" test.
1573 2017-04-19 Pedro Alves <palves@redhat.com>
1575 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
1577 (top level): Call it.
1578 * lib/gdb.exp (gdb_define_cmd): New procedure.
1580 2017-04-12 Pedro Alves <palves@redhat.com>
1583 * gdb.cp/wide_char_types.c: Include <wchar.h>.
1584 (wchar): New global.
1585 * gdb.cp/wide_char_types.exp (wide_char_types_program)
1586 (do_test_wide_char, wide_char_types_no_program, top level): Add
1589 2017-04-12 Pedro Alves <palves@redhat.com>
1592 * gdb.cp/wide_char_types.c: New file.
1593 * gdb.cp/wide_char_types.exp: New file.
1595 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
1598 * gdb.trace/tsv.exp: Add test for "tsave -r".
1600 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
1602 * gdb.dlang/watch-loc.c: New file.
1603 * gdb.dlang/watch-loc.exp: New file.
1605 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1607 * gdb.python/py-section-script.exp (sepdebug): New testcases.
1609 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
1611 * gdb.arch/arc-analyze-prologue.S: New file.
1612 * gdb.arch/arc-analyze-prologue.exp: Likewise.
1614 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
1616 * gdb.arch/arc-decode-insn.S: New file.
1617 * gdb.arch/arc-decode-insn.exp: Likewise.
1619 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
1622 * gdb.arch/sparc64-regs.exp: New file.
1623 * gdb.arch/sparc64-regs.S: Likewise.
1625 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
1627 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
1628 and memory view on Python 3.
1630 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
1631 Keith Seitz <keiths@redhat.com>
1634 * gdb.cp/demangle.exp: Add rvalue reference tests.
1635 * gdb.cp/rvalue-ref-casts.cc: New file.
1636 * gdb.cp/rvalue-ref-casts.exp: New file.
1637 * gdb.cp/rvalue-ref-overload.cc: New file.
1638 * gdb.cp/rvalue-ref-overload.exp: New file.
1639 * gdb.cp/rvalue-ref-params.cc: New file.
1640 * gdb.cp/rvalue-ref-params.exp: New file.
1641 * gdb.cp/rvalue-ref-sizeof.cc: New file.
1642 * gdb.cp/rvalue-ref-sizeof.exp: New file.
1643 * gdb.cp/rvalue-ref-types.cc: New file.
1644 * gdb.cp/rvalue-ref-types.exp: New file.
1645 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
1646 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
1648 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
1650 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
1653 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
1655 * lib/mi-support.exp (mi_gdb_test): Add additional message
1656 for unexpected output.
1658 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1660 * gdb.base/examine-backward.c (Barrier): New character array
1661 constant, to ensure that TestStrings is preceded by a string
1664 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1666 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
1667 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
1668 and implicit pointer into such a location.
1670 2017-03-16 Doug Evans <dje@google.com>
1672 * gdb.python/py-lazy-string (pointer): Really add new typedef.
1674 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
1676 * gdb.cp/m-static.exp: Fix expectation for prototype of
1677 test5.single_constructor and single_constructor::single_constructor.
1679 2017-03-16 Doug Evans <dje@google.com>
1681 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
1682 * gdb.guile/scm-lazy-string.c: New file.
1683 * gdb.guile/scm-value.exp: Move lazy string tests to ...
1684 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
1685 for pointer, array, typedef lazy strings.
1687 2017-03-16 Doug Evans <dje@google.com>
1689 PR python/17728, python/18439, python/18779
1690 * gdb.python/py-value.c (main) Delete locals sptr, sn.
1691 * gdb.python/py-lazy-string.c (pointer): New typedef.
1692 (main): New locals ptr, array, typedef_ptr.
1693 * gdb.python/py-value.exp: Move lazy string tests to ...
1694 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
1695 array, typedef lazy strings.
1697 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
1699 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
1700 Add optional 'test' parameter.
1702 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
1704 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1705 Skip for versions of DejaGnu < 1.5.
1707 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
1709 * lib/gdb.exp (dejagnu_version): New proc.
1710 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
1711 Use dejagnu_version.
1713 2017-03-10 Keith Seitz <keiths@redhat.com>
1716 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
1717 type from destructor regexps.
1718 Add a branch which actually passes the test.
1719 Adjust "ptype t5i" test names.
1721 2017-03-08 Pedro Alves <palves@redhat.com>
1723 * gdb.base/step-over-exit.exp: Add explicit test message.
1725 2017-03-08 Pedro Alves <palves@redhat.com>
1728 * gdb.threads/interrupt-while-step-over.c: New file.
1729 * gdb.threads/interrupt-while-step-over.exp: New file.
1731 2017-03-08 Pedro Alves <palves@redhat.com>
1733 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
1734 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
1736 2017-03-08 Pedro Alves <palves@redhat.com>
1738 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
1739 PKRU as not supported as a PASS.
1741 2017-03-08 Pedro Alves <palves@redhat.com>
1743 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
1744 prefix instead of $binfile1/$binfile2.
1745 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
1747 * gdb.python/py-completion.exp: Use "load python file" as test
1748 messages instead of unstable path names.
1750 2017-03-08 Pedro Alves <palves@redhat.com>
1751 Jan Kratochvil <jan.kratochvil@redhat.com>
1754 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
1756 (top level): Call it.
1758 2017-03-08 Pedro Alves <palves@redhat.com>
1761 * gdb.tui/tui-nl-filtered-output.exp: New file.
1763 2017-03-08 Pedro Alves <palves@redhat.com>
1765 * gdb.base/completion.exp: Move TUI completion tests to ...
1766 * gdb.tui/completion.exp: ... this new file.
1768 2017-03-08 Pedro Alves <palves@redhat.com>
1770 * gdb.base/tui-disasm-long-lines.c,
1771 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
1772 gdb.base/tui-layout.exp: Move to ...
1773 * gdb.tui/: ... this new directory.
1775 2017-03-07 Pedro Alves <palves@redhat.com>
1777 * gdb.base/tui-layout.c: New file.
1778 * gdb.base/tui-layout.exp: New file.
1780 2017-03-07 Pedro Alves <palves@redhat.com>
1782 * gdb.base/tui-layout.c: Rename to ...
1783 * gdb.base/tui-disasm-long-lines.c: ... this.
1784 * gdb.base/tui-layout.exp: Rename to ...
1785 * gdb.base/tui-disasm-long-lines.exp: ... this.
1787 2017-03-07 Pedro Alves <palves@redhat.com>
1789 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
1791 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
1793 * i386-mpx-call.c: New file.
1794 * i386-mpx-call.exp: New file.
1796 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
1798 * gdb.arch/powerpc-power.exp: Delete test.
1799 * gdb.arch/powerpc-power.s: Likewise.
1800 * gdb.disasm/disassembler-options.exp: New test.
1801 * gdb.arch/powerpc-altivec.exp: Likewise.
1802 * gdb.arch/powerpc-altivec.s: Likewise.
1803 * gdb.arch/powerpc-altivec2.exp: Likewise.
1804 * gdb.arch/powerpc-altivec2.s: Likewise.
1805 * gdb.arch/powerpc-altivec3.exp: Likewise.
1806 * gdb.arch/powerpc-altivec3.s: Likewise.
1807 * gdb.arch/powerpc-power7.exp: Likewise.
1808 * gdb.arch/powerpc-power7.s: Likewise.
1809 * gdb.arch/powerpc-power8.exp: Likewise.
1810 * gdb.arch/powerpc-power8.s: Likewise.
1811 * gdb.arch/powerpc-power9.exp: Likewise.
1812 * gdb.arch/powerpc-power9.s: Likewise.
1813 * gdb.arch/powerpc-vsx.exp: Likewise.
1814 * gdb.arch/powerpc-vsx.s: Likewise.
1815 * gdb.arch/powerpc-vsx2.exp: Likewise.
1816 * gdb.arch/powerpc-vsx2.s: Likewise.
1817 * gdb.arch/powerpc-vsx3.exp: Likewise.
1818 * gdb.arch/powerpc-vsx3.s: Likewise.
1819 * gdb.arch/arm-disassembler-options.exp: Likewise.
1820 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1821 * gdb.arch/s390-disassembler-options.exp: Likewise.
1823 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
1825 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
1826 (check_supported_features): ... this. Changed return type to void.
1827 (supports_rdseed): New static global.
1828 (rdseed): Check supports_rdseed.
1829 (initialize): Call check_supported_features.
1831 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1833 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
1834 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
1836 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
1837 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
1839 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1841 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
1844 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1846 * gdb.dwarf2/formdata16.c: New file.
1847 * gdb.dwarf2/formdata16.exp: New file.
1848 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
1850 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1852 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
1853 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
1854 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
1855 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
1858 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1860 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
1862 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
1865 * gdb.base/maint.exp: Add testcases for when the commands do
1868 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1870 * gdb.cp/chained-calls.exp: Use p instead of P.
1872 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
1874 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
1875 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
1877 2017-02-14 Tom Tromey <tom@tromey.com>
1880 * gdb.python/py-events.exp: Add before_prompt event tests.
1882 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1884 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
1886 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
1888 * gdb.linespec/explicit.c (my_unique_function_name): New function.
1889 (main): Call my_unique_function_name.
1890 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
1891 completion of patterns with a single match.
1892 Add missing -re switches to gdb_test_multiple calls.
1894 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
1896 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
1897 return if core file is not recognized.
1899 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
1901 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
1904 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
1906 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
1909 2017-02-10 Tom Tromey <tom@tromey.com>
1911 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
1913 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
1916 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
1918 2017-02-08 Jerome Guitton <guitton@adacore.com>
1920 * gdb.base/define.exp: Add test for command abbreviations
1923 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
1925 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
1926 * gdb.reverse/insn-reverse-x86.c: New file.
1928 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
1931 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
1933 2017-02-03 Tom Tromey <tom@tromey.com>
1936 * gdb.rust/simple.exp: Add new tests.
1938 2017-02-02 Pedro Alves <palves@redhat.com>
1940 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
1943 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1945 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
1946 taking a 2-byte value out of a 4-byte DWARF implicit value on
1948 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
1949 logic. Add test cases for DW_OP_implicit.
1951 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1953 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
1955 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1957 * gdb.btrace/enable.exp: Call gdb_exit before
1958 skip_gdbserver_tests.
1960 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1962 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
1965 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1967 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
1968 the test is skipped.
1969 * gdb.btrace/data.exp: Likewise.
1970 * gdb.btrace/delta.exp: Likewise.
1971 * gdb.btrace/dlopen.exp: Likewise.
1972 * gdb.btrace/enable-running.exp: Likewise.
1973 * gdb.btrace/enable.exp: Likewise.
1974 * gdb.btrace/exception.exp: Likewise.
1975 * gdb.btrace/function_call_history.exp: Likewise.
1976 * gdb.btrace/gcore.exp: Likewise.
1977 * gdb.btrace/instruction_history.exp: Likewise.
1978 * gdb.btrace/multi-thread-step.exp: Likewise.
1979 * gdb.btrace/nohist.exp: Likewise.
1980 * gdb.btrace/non-stop.exp: Likewise.
1981 * gdb.btrace/reconnect.exp: Likewise.
1982 * gdb.btrace/record_goto-step.exp: Likewise.
1983 * gdb.btrace/record_goto.exp: Likewise.
1984 * gdb.btrace/rn-dl-bind.exp: Likewise.
1985 * gdb.btrace/segv.exp: Likewise.
1986 * gdb.btrace/step.exp: Likewise.
1987 * gdb.btrace/stepi.exp: Likewise.
1988 * gdb.btrace/tailcall-only.exp: Likewise.
1989 * gdb.btrace/tailcall.exp: Likewise.
1990 * gdb.btrace/tsx.exp: Likewise.
1991 * gdb.btrace/unknown_functions.exp: Likewise.
1992 * gdb.btrace/vdso.exp: Likewise.
1994 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1996 * gdb.btrace/enable-running.c: New.
1997 * gdb.btrace/enable-running.exp: New.
1999 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2001 * gdb.arch/amd64-gs_base.c: New file.
2002 * gdb.arch/amd64-gs_base.exp: New file.
2004 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2006 * lib/memory.exp: Remove spurious empty newlines.
2008 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
2010 * gdb.python/py-bad-printers.exp: Load python file using "source".
2011 * gdb.python/py-events.exp: Likewise.
2012 * gdb.python/py-evsignal.exp: Likewise.
2013 * gdb.python/py-evthreads.exp: Likewise.
2014 * gdb.python/py-frame-args.exp: Likewise.
2015 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2016 * gdb.python/py-framefilter-mi.exp: Likewise.
2017 * gdb.python/py-framefilter.exp: Likewise.
2018 * gdb.python/py-mi.exp: Likewise.
2019 * gdb.python/py-pp-maint.exp: Likewise.
2020 * gdb.python/py-pp-registration.exp: Likewise.
2021 * gdb.python/py-prettyprint.exp: Likewise.
2022 (run_lang_tests): Likewise.
2023 * gdb.python/py-typeprint.exp: Likewise.
2025 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2027 * lib/memory.exp: New file.
2028 * lib/gdb.exp: Load memory.exp.
2029 * gdb.base/memattr.exp (delete_memory): Move proc to
2030 lib/memory.exp and rename to delete_memory_regions.
2031 Replace delete_memory with delete_memory_regions.
2032 Cleanup memory regions before tests.
2033 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2036 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2038 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2040 (initialize): New function conditionally defined.
2041 (testcases): Move within conditional block.
2042 (main): Call initialize.
2043 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2044 of gdb.reverse/insn-reverse.c.
2045 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2046 gdb.reverse/insn-reverse.c.
2048 2017-01-26 Yao Qi <yao.qi@linaro.org>
2050 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2051 disassemble on address 0.
2053 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
2054 Yao Qi <yao.qi@linaro.org>
2056 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2057 * gdb.dwarf2/implptr-64bit.S: Remove.
2058 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
2059 variables in caller's context. Add DW_OP_implicit_value.
2061 2017-01-25 Yao Qi <yao.qi@linaro.org>
2063 * lib/dwarf.exp (Dwarf::_location): Handle
2064 DW_OP_GNU_implicit_pointer with proper size.
2066 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2068 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2069 and add untested calls.
2071 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2073 * gdb.python/python.exp: Check line number against what GDB thinks
2074 the line number is for func1.
2076 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2078 * gdb.dlang/debug-expr.exp: New file.
2080 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
2082 Fix test names for the following files:
2084 * gdb.ada/exec_changed.exp
2085 * gdb.ada/info_types.exp
2086 * gdb.arch/aarch64-atomic-inst.exp
2087 * gdb.arch/aarch64-fp.exp
2088 * gdb.arch/altivec-abi.exp
2089 * gdb.arch/altivec-regs.exp
2090 * gdb.arch/amd64-byte.exp
2091 * gdb.arch/amd64-disp-step.exp
2092 * gdb.arch/amd64-dword.exp
2093 * gdb.arch/amd64-entry-value-inline.exp
2094 * gdb.arch/amd64-entry-value-param.exp
2095 * gdb.arch/amd64-entry-value-paramref.exp
2096 * gdb.arch/amd64-entry-value.exp
2097 * gdb.arch/amd64-i386-address.exp
2098 * gdb.arch/amd64-invalid-stack-middle.exp
2099 * gdb.arch/amd64-invalid-stack-top.exp
2100 * gdb.arch/amd64-optimout-repeat.exp
2101 * gdb.arch/amd64-prologue-skip.exp
2102 * gdb.arch/amd64-prologue-xmm.exp
2103 * gdb.arch/amd64-stap-special-operands.exp
2104 * gdb.arch/amd64-stap-wrong-subexp.exp
2105 * gdb.arch/amd64-tailcall-cxx.exp
2106 * gdb.arch/amd64-tailcall-noret.exp
2107 * gdb.arch/amd64-tailcall-ret.exp
2108 * gdb.arch/amd64-tailcall-self.exp
2109 * gdb.arch/amd64-word.exp
2110 * gdb.arch/arm-bl-branch-dest.exp
2111 * gdb.arch/arm-disp-step.exp
2112 * gdb.arch/arm-neon.exp
2113 * gdb.arch/arm-single-step-kernel-helper.exp
2114 * gdb.arch/avr-flash-qualifier.exp
2115 * gdb.arch/disp-step-insn-reloc.exp
2116 * gdb.arch/e500-abi.exp
2117 * gdb.arch/e500-regs.exp
2118 * gdb.arch/ftrace-insn-reloc.exp
2119 * gdb.arch/i386-avx512.exp
2120 * gdb.arch/i386-bp_permanent.exp
2121 * gdb.arch/i386-byte.exp
2122 * gdb.arch/i386-cfi-notcurrent.exp
2123 * gdb.arch/i386-disp-step.exp
2124 * gdb.arch/i386-dr3-watch.exp
2125 * gdb.arch/i386-float.exp
2126 * gdb.arch/i386-gnu-cfi.exp
2127 * gdb.arch/i386-mpx-map.exp
2128 * gdb.arch/i386-mpx-sigsegv.exp
2129 * gdb.arch/i386-mpx-simple_segv.exp
2130 * gdb.arch/i386-mpx.exp
2131 * gdb.arch/i386-permbkpt.exp
2132 * gdb.arch/i386-prologue.exp
2133 * gdb.arch/i386-signal.exp
2134 * gdb.arch/i386-size-overlap.exp
2135 * gdb.arch/i386-unwind.exp
2136 * gdb.arch/i386-word.exp
2137 * gdb.arch/mips-fcr.exp
2138 * gdb.arch/powerpc-d128-regs.exp
2139 * gdb.arch/powerpc-stackless.exp
2140 * gdb.arch/ppc64-atomic-inst.exp
2141 * gdb.arch/s390-stackless.exp
2142 * gdb.arch/s390-tdbregs.exp
2143 * gdb.arch/s390-vregs.exp
2144 * gdb.arch/sparc-sysstep.exp
2145 * gdb.arch/thumb-bx-pc.exp
2146 * gdb.arch/thumb-singlestep.exp
2147 * gdb.arch/thumb2-it.exp
2148 * gdb.arch/vsx-regs.exp
2149 * gdb.asm/asm-source.exp
2150 * gdb.base/a2-run.exp
2151 * gdb.base/advance.exp
2152 * gdb.base/all-bin.exp
2155 * gdb.base/arithmet.exp
2156 * gdb.base/async-shell.exp
2157 * gdb.base/async.exp
2158 * gdb.base/attach-pie-noexec.exp
2159 * gdb.base/attach-twice.exp
2160 * gdb.base/auto-load.exp
2162 * gdb.base/bitfields.exp
2163 * gdb.base/break-always.exp
2164 * gdb.base/break-caller-line.exp
2165 * gdb.base/break-entry.exp
2166 * gdb.base/break-inline.exp
2167 * gdb.base/break-on-linker-gcd-function.exp
2168 * gdb.base/break-probes.exp
2169 * gdb.base/break.exp
2170 * gdb.base/breakpoint-shadow.exp
2171 * gdb.base/call-ar-st.exp
2172 * gdb.base/call-sc.exp
2173 * gdb.base/call-signal-resume.exp
2174 * gdb.base/call-strs.exp
2175 * gdb.base/callfuncs.exp
2176 * gdb.base/catch-fork-static.exp
2177 * gdb.base/catch-gdb-caused-signals.exp
2178 * gdb.base/catch-load.exp
2179 * gdb.base/catch-signal-fork.exp
2180 * gdb.base/catch-signal.exp
2181 * gdb.base/catch-syscall.exp
2182 * gdb.base/charset.exp
2183 * gdb.base/checkpoint.exp
2184 * gdb.base/chng-syms.exp
2185 * gdb.base/code-expr.exp
2186 * gdb.base/code_elim.exp
2187 * gdb.base/commands.exp
2188 * gdb.base/completion.exp
2189 * gdb.base/complex.exp
2190 * gdb.base/cond-expr.exp
2191 * gdb.base/condbreak.exp
2192 * gdb.base/consecutive.exp
2193 * gdb.base/continue-all-already-running.exp
2194 * gdb.base/coredump-filter.exp
2195 * gdb.base/corefile.exp
2197 * gdb.base/debug-expr.exp
2198 * gdb.base/define.exp
2200 * gdb.base/disabled-location.exp
2201 * gdb.base/disasm-end-cu.exp
2202 * gdb.base/disasm-optim.exp
2203 * gdb.base/display.exp
2204 * gdb.base/duplicate-bp.exp
2205 * gdb.base/ena-dis-br.exp
2206 * gdb.base/ending-run.exp
2207 * gdb.base/enumval.exp
2208 * gdb.base/environ.exp
2209 * gdb.base/eu-strip-infcall.exp
2210 * gdb.base/eval-avoid-side-effects.exp
2211 * gdb.base/eval-skip.exp
2212 * gdb.base/exitsignal.exp
2213 * gdb.base/expand-psymtabs.exp
2214 * gdb.base/filesym.exp
2215 * gdb.base/find-unmapped.exp
2216 * gdb.base/finish.exp
2217 * gdb.base/float.exp
2218 * gdb.base/foll-exec-mode.exp
2219 * gdb.base/foll-exec.exp
2220 * gdb.base/foll-fork.exp
2221 * gdb.base/fortran-sym-case.exp
2222 * gdb.base/freebpcmd.exp
2223 * gdb.base/func-ptr.exp
2224 * gdb.base/func-ptrs.exp
2225 * gdb.base/funcargs.exp
2226 * gdb.base/gcore-buffer-overflow.exp
2227 * gdb.base/gcore-relro-pie.exp
2228 * gdb.base/gcore-relro.exp
2229 * gdb.base/gcore.exp
2230 * gdb.base/gdb1090.exp
2231 * gdb.base/gdb11530.exp
2232 * gdb.base/gdb11531.exp
2233 * gdb.base/gdb1821.exp
2234 * gdb.base/gdbindex-stabs.exp
2235 * gdb.base/gdbvars.exp
2236 * gdb.base/hbreak.exp
2237 * gdb.base/hbreak2.exp
2238 * gdb.base/included.exp
2239 * gdb.base/infcall-input.exp
2240 * gdb.base/inferior-died.exp
2241 * gdb.base/infnan.exp
2242 * gdb.base/info-macros.exp
2243 * gdb.base/info-os.exp
2244 * gdb.base/info-proc.exp
2245 * gdb.base/info-shared.exp
2246 * gdb.base/info-target.exp
2247 * gdb.base/infoline.exp
2248 * gdb.base/interp.exp
2249 * gdb.base/interrupt.exp
2250 * gdb.base/jit-reader.exp
2251 * gdb.base/jit-simple.exp
2252 * gdb.base/kill-after-signal.exp
2253 * gdb.base/kill-detach-inferiors-cmd.exp
2254 * gdb.base/label.exp
2255 * gdb.base/langs.exp
2256 * gdb.base/ldbl_e308.exp
2257 * gdb.base/line-symtabs.exp
2258 * gdb.base/linespecs.exp
2260 * gdb.base/long_long.exp
2261 * gdb.base/longest-types.exp
2262 * gdb.base/maint.exp
2263 * gdb.base/max-value-size.exp
2264 * gdb.base/memattr.exp
2265 * gdb.base/mips_pro.exp
2266 * gdb.base/morestack.exp
2267 * gdb.base/moribund-step.exp
2268 * gdb.base/multi-forks.exp
2269 * gdb.base/nested-addr.exp
2270 * gdb.base/nextoverexit.exp
2271 * gdb.base/noreturn-finish.exp
2272 * gdb.base/noreturn-return.exp
2273 * gdb.base/nostdlib.exp
2274 * gdb.base/offsets.exp
2275 * gdb.base/opaque.exp
2276 * gdb.base/pc-fp.exp
2277 * gdb.base/permissions.exp
2278 * gdb.base/print-symbol-loading.exp
2279 * gdb.base/prologue-include.exp
2280 * gdb.base/psymtab.exp
2281 * gdb.base/ptype.exp
2282 * gdb.base/random-signal.exp
2283 * gdb.base/randomize.exp
2284 * gdb.base/range-stepping.exp
2285 * gdb.base/readline-ask.exp
2286 * gdb.base/recpar.exp
2287 * gdb.base/recurse.exp
2288 * gdb.base/relational.exp
2289 * gdb.base/restore.exp
2290 * gdb.base/return-nodebug.exp
2291 * gdb.base/return.exp
2292 * gdb.base/run-after-attach.exp
2293 * gdb.base/save-bp.exp
2294 * gdb.base/scope.exp
2295 * gdb.base/sect-cmd.exp
2296 * gdb.base/set-lang-auto.exp
2297 * gdb.base/set-noassign.exp
2298 * gdb.base/setvar.exp
2299 * gdb.base/sigall.exp
2300 * gdb.base/sigbpt.exp
2301 * gdb.base/siginfo-addr.exp
2302 * gdb.base/siginfo-infcall.exp
2303 * gdb.base/siginfo-obj.exp
2304 * gdb.base/siginfo.exp
2305 * gdb.base/signals-state-child.exp
2306 * gdb.base/signest.exp
2307 * gdb.base/sigstep.exp
2308 * gdb.base/sizeof.exp
2310 * gdb.base/solib-corrupted.exp
2311 * gdb.base/solib-nodir.exp
2312 * gdb.base/solib-search.exp
2313 * gdb.base/stack-checking.exp
2314 * gdb.base/stale-infcall.exp
2315 * gdb.base/stap-probe.exp
2316 * gdb.base/start.exp
2317 * gdb.base/step-break.exp
2318 * gdb.base/step-bt.exp
2319 * gdb.base/step-line.exp
2320 * gdb.base/step-over-exit.exp
2321 * gdb.base/step-over-syscall.exp
2322 * gdb.base/step-resume-infcall.exp
2323 * gdb.base/step-test.exp
2324 * gdb.base/store.exp
2325 * gdb.base/structs3.exp
2326 * gdb.base/sym-file.exp
2327 * gdb.base/symbol-without-target_section.exp
2329 * gdb.base/testenv.exp
2330 * gdb.base/ui-redirect.exp
2331 * gdb.base/until.exp
2332 * gdb.base/unwindonsignal.exp
2333 * gdb.base/value-double-free.exp
2334 * gdb.base/vla-datatypes.exp
2335 * gdb.base/vla-ptr.exp
2336 * gdb.base/vla-sideeffect.exp
2337 * gdb.base/volatile.exp
2338 * gdb.base/watch-cond-infcall.exp
2339 * gdb.base/watch-cond.exp
2340 * gdb.base/watch-non-mem.exp
2341 * gdb.base/watch-read.exp
2342 * gdb.base/watch-vfork.exp
2343 * gdb.base/watchpoint-cond-gone.exp
2344 * gdb.base/watchpoint-delete.exp
2345 * gdb.base/watchpoint-hw-hit-once.exp
2346 * gdb.base/watchpoint-hw.exp
2347 * gdb.base/watchpoint-stops-at-right-insn.exp
2348 * gdb.base/watchpoints.exp
2349 * gdb.base/wchar.exp
2350 * gdb.base/whatis-exp.exp
2351 * gdb.btrace/buffer-size.exp
2352 * gdb.btrace/data.exp
2353 * gdb.btrace/delta.exp
2354 * gdb.btrace/dlopen.exp
2355 * gdb.btrace/enable.exp
2356 * gdb.btrace/exception.exp
2357 * gdb.btrace/function_call_history.exp
2358 * gdb.btrace/gcore.exp
2359 * gdb.btrace/instruction_history.exp
2360 * gdb.btrace/nohist.exp
2361 * gdb.btrace/reconnect.exp
2362 * gdb.btrace/record_goto-step.exp
2363 * gdb.btrace/record_goto.exp
2364 * gdb.btrace/rn-dl-bind.exp
2365 * gdb.btrace/segv.exp
2366 * gdb.btrace/step.exp
2367 * gdb.btrace/stepi.exp
2368 * gdb.btrace/tailcall-only.exp
2369 * gdb.btrace/tailcall.exp
2370 * gdb.btrace/tsx.exp
2371 * gdb.btrace/unknown_functions.exp
2372 * gdb.btrace/vdso.exp
2373 * gdb.compile/compile-ifunc.exp
2374 * gdb.compile/compile-ops.exp
2375 * gdb.compile/compile-print.exp
2376 * gdb.compile/compile-setjmp.exp
2377 * gdb.cp/abstract-origin.exp
2378 * gdb.cp/ambiguous.exp
2379 * gdb.cp/annota2.exp
2380 * gdb.cp/annota3.exp
2381 * gdb.cp/anon-ns.exp
2382 * gdb.cp/anon-struct.exp
2383 * gdb.cp/anon-union.exp
2384 * gdb.cp/arg-reference.exp
2385 * gdb.cp/baseenum.exp
2387 * gdb.cp/breakpoint.exp
2388 * gdb.cp/bs15503.exp
2391 * gdb.cp/chained-calls.exp
2393 * gdb.cp/classes.exp
2394 * gdb.cp/cmpd-minsyms.exp
2395 * gdb.cp/converts.exp
2396 * gdb.cp/cp-relocate.exp
2397 * gdb.cp/cpcompletion.exp
2398 * gdb.cp/cpexprs.exp
2399 * gdb.cp/cplabel.exp
2400 * gdb.cp/cplusfuncs.exp
2401 * gdb.cp/cpsizeof.exp
2403 * gdb.cp/derivation.exp
2404 * gdb.cp/destrprint.exp
2405 * gdb.cp/dispcxx.exp
2406 * gdb.cp/enum-class.exp
2407 * gdb.cp/exception.exp
2408 * gdb.cp/exceptprint.exp
2409 * gdb.cp/expand-psymtabs-cxx.exp
2410 * gdb.cp/expand-sals.exp
2411 * gdb.cp/extern-c.exp
2412 * gdb.cp/filename.exp
2413 * gdb.cp/formatted-ref.exp
2414 * gdb.cp/fpointer.exp
2415 * gdb.cp/gdb1355.exp
2416 * gdb.cp/gdb2495.exp
2418 * gdb.cp/impl-this.exp
2419 * gdb.cp/infcall-dlopen.exp
2420 * gdb.cp/inherit.exp
2421 * gdb.cp/iostream.exp
2425 * gdb.cp/m-static.exp
2426 * gdb.cp/mb-ctor.exp
2427 * gdb.cp/mb-inline.exp
2428 * gdb.cp/mb-templates.exp
2429 * gdb.cp/member-name.exp
2430 * gdb.cp/member-ptr.exp
2431 * gdb.cp/meth-typedefs.exp
2433 * gdb.cp/method2.exp
2434 * gdb.cp/minsym-fallback.exp
2436 * gdb.cp/namelessclass.exp
2437 * gdb.cp/namespace-enum.exp
2438 * gdb.cp/namespace-nested-import.exp
2439 * gdb.cp/namespace.exp
2440 * gdb.cp/nextoverthrow.exp
2441 * gdb.cp/no-dmgl-verbose.exp
2442 * gdb.cp/non-trivial-retval.exp
2443 * gdb.cp/noparam.exp
2445 * gdb.cp/nsimport.exp
2446 * gdb.cp/nsnested.exp
2447 * gdb.cp/nsnoimports.exp
2448 * gdb.cp/nsrecurs.exp
2449 * gdb.cp/nsstress.exp
2450 * gdb.cp/nsusing.exp
2451 * gdb.cp/operator.exp
2452 * gdb.cp/oranking.exp
2453 * gdb.cp/overload-const.exp
2454 * gdb.cp/overload.exp
2455 * gdb.cp/ovldbreak.exp
2457 * gdb.cp/paren-type.exp
2458 * gdb.cp/parse-lang.exp
2459 * gdb.cp/pass-by-ref.exp
2460 * gdb.cp/pr-1023.exp
2461 * gdb.cp/pr-1210.exp
2463 * gdb.cp/pr10687.exp
2464 * gdb.cp/pr12028.exp
2465 * gdb.cp/pr17132.exp
2466 * gdb.cp/pr17494.exp
2470 * gdb.cp/printmethod.exp
2472 * gdb.cp/psymtab-parameter.exp
2473 * gdb.cp/ptype-cv-cp.exp
2474 * gdb.cp/ptype-flags.exp
2475 * gdb.cp/re-set-overloaded.exp
2476 * gdb.cp/ref-types.exp
2478 * gdb.cp/scope-err.exp
2481 * gdb.cp/static-method.exp
2482 * gdb.cp/static-print-quit.exp
2483 * gdb.cp/temargs.exp
2484 * gdb.cp/templates.exp
2485 * gdb.cp/try_catch.exp
2486 * gdb.cp/typedef-operator.exp
2488 * gdb.cp/userdef.exp
2489 * gdb.cp/using-crash.exp
2490 * gdb.cp/var-tag.exp
2491 * gdb.cp/virtbase.exp
2492 * gdb.cp/virtfunc.exp
2493 * gdb.cp/virtfunc2.exp
2494 * gdb.cp/vla-cxx.exp
2495 * gdb.disasm/t01_mov.exp
2496 * gdb.disasm/t02_mova.exp
2497 * gdb.disasm/t03_add.exp
2498 * gdb.disasm/t04_sub.exp
2499 * gdb.disasm/t05_cmp.exp
2500 * gdb.disasm/t06_ari2.exp
2501 * gdb.disasm/t07_ari3.exp
2502 * gdb.disasm/t08_or.exp
2503 * gdb.disasm/t09_xor.exp
2504 * gdb.disasm/t10_and.exp
2505 * gdb.disasm/t11_logs.exp
2506 * gdb.disasm/t12_bit.exp
2507 * gdb.disasm/t13_otr.exp
2508 * gdb.dlang/circular.exp
2509 * gdb.dwarf2/arr-stride.exp
2510 * gdb.dwarf2/arr-subrange.exp
2511 * gdb.dwarf2/atomic-type.exp
2512 * gdb.dwarf2/bad-regnum.exp
2513 * gdb.dwarf2/bitfield-parent-optimized-out.exp
2514 * gdb.dwarf2/callframecfa.exp
2515 * gdb.dwarf2/clztest.exp
2516 * gdb.dwarf2/corrupt.exp
2517 * gdb.dwarf2/data-loc.exp
2518 * gdb.dwarf2/dup-psym.exp
2519 * gdb.dwarf2/dw2-anon-mptr.exp
2520 * gdb.dwarf2/dw2-anonymous-func.exp
2521 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
2522 * gdb.dwarf2/dw2-bad-unresolved.exp
2523 * gdb.dwarf2/dw2-basic.exp
2524 * gdb.dwarf2/dw2-canonicalize-type.exp
2525 * gdb.dwarf2/dw2-case-insensitive.exp
2526 * gdb.dwarf2/dw2-common-block.exp
2527 * gdb.dwarf2/dw2-compdir-oldgcc.exp
2528 * gdb.dwarf2/dw2-compressed.exp
2529 * gdb.dwarf2/dw2-const.exp
2530 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
2531 * gdb.dwarf2/dw2-cu-size.exp
2532 * gdb.dwarf2/dw2-dup-frame.exp
2533 * gdb.dwarf2/dw2-entry-value.exp
2534 * gdb.dwarf2/dw2-icycle.exp
2535 * gdb.dwarf2/dw2-ifort-parameter.exp
2536 * gdb.dwarf2/dw2-inline-break.exp
2537 * gdb.dwarf2/dw2-inline-param.exp
2538 * gdb.dwarf2/dw2-intercu.exp
2539 * gdb.dwarf2/dw2-intermix.exp
2540 * gdb.dwarf2/dw2-lexical-block-bare.exp
2541 * gdb.dwarf2/dw2-linkage-name-trust.exp
2542 * gdb.dwarf2/dw2-minsym-in-cu.exp
2543 * gdb.dwarf2/dw2-noloc.exp
2544 * gdb.dwarf2/dw2-op-call.exp
2545 * gdb.dwarf2/dw2-op-out-param.exp
2546 * gdb.dwarf2/dw2-opt-structptr.exp
2547 * gdb.dwarf2/dw2-param-error.exp
2548 * gdb.dwarf2/dw2-producer.exp
2549 * gdb.dwarf2/dw2-ranges-base.exp
2550 * gdb.dwarf2/dw2-ref-missing-frame.exp
2551 * gdb.dwarf2/dw2-reg-undefined.exp
2552 * gdb.dwarf2/dw2-regno-invalid.exp
2553 * gdb.dwarf2/dw2-restore.exp
2554 * gdb.dwarf2/dw2-restrict.exp
2555 * gdb.dwarf2/dw2-single-line-discriminators.exp
2556 * gdb.dwarf2/dw2-strp.exp
2557 * gdb.dwarf2/dw2-undefined-ret-addr.exp
2558 * gdb.dwarf2/dw2-unresolved.exp
2559 * gdb.dwarf2/dw2-var-zero-addr.exp
2560 * gdb.dwarf2/dw4-sig-types.exp
2561 * gdb.dwarf2/dwz.exp
2562 * gdb.dwarf2/dynarr-ptr.exp
2563 * gdb.dwarf2/enum-type.exp
2564 * gdb.dwarf2/gdb-index.exp
2565 * gdb.dwarf2/implptr-64bit.exp
2566 * gdb.dwarf2/implptr-optimized-out.exp
2567 * gdb.dwarf2/implptr.exp
2568 * gdb.dwarf2/implref-array.exp
2569 * gdb.dwarf2/implref-const.exp
2570 * gdb.dwarf2/implref-global.exp
2571 * gdb.dwarf2/implref-struct.exp
2572 * gdb.dwarf2/mac-fileno.exp
2573 * gdb.dwarf2/main-subprogram.exp
2574 * gdb.dwarf2/member-ptr-forwardref.exp
2575 * gdb.dwarf2/method-ptr.exp
2576 * gdb.dwarf2/missing-sig-type.exp
2577 * gdb.dwarf2/nonvar-access.exp
2578 * gdb.dwarf2/opaque-type-lookup.exp
2579 * gdb.dwarf2/pieces-optimized-out.exp
2580 * gdb.dwarf2/pieces.exp
2581 * gdb.dwarf2/pr10770.exp
2582 * gdb.dwarf2/pr13961.exp
2583 * gdb.dwarf2/staticvirtual.exp
2584 * gdb.dwarf2/subrange.exp
2585 * gdb.dwarf2/symtab-producer.exp
2586 * gdb.dwarf2/trace-crash.exp
2587 * gdb.dwarf2/typeddwarf.exp
2588 * gdb.dwarf2/valop.exp
2589 * gdb.dwarf2/watch-notconst.exp
2590 * gdb.fortran/array-element.exp
2591 * gdb.fortran/charset.exp
2592 * gdb.fortran/common-block.exp
2593 * gdb.fortran/complex.exp
2594 * gdb.fortran/derived-type-function.exp
2595 * gdb.fortran/derived-type.exp
2596 * gdb.fortran/logical.exp
2597 * gdb.fortran/module.exp
2598 * gdb.fortran/multi-dim.exp
2599 * gdb.fortran/nested-funcs.exp
2600 * gdb.fortran/print-formatted.exp
2601 * gdb.fortran/subarray.exp
2602 * gdb.fortran/vla-alloc-assoc.exp
2603 * gdb.fortran/vla-datatypes.exp
2604 * gdb.fortran/vla-history.exp
2605 * gdb.fortran/vla-ptr-info.exp
2606 * gdb.fortran/vla-ptype-sub.exp
2607 * gdb.fortran/vla-ptype.exp
2608 * gdb.fortran/vla-sizeof.exp
2609 * gdb.fortran/vla-type.exp
2610 * gdb.fortran/vla-value-sub-arbitrary.exp
2611 * gdb.fortran/vla-value-sub-finish.exp
2612 * gdb.fortran/vla-value-sub.exp
2613 * gdb.fortran/vla-value.exp
2614 * gdb.fortran/whatis_type.exp
2616 * gdb.go/handcall.exp
2618 * gdb.go/integers.exp
2619 * gdb.go/methods.exp
2620 * gdb.go/package.exp
2621 * gdb.go/strings.exp
2624 * gdb.guile/scm-arch.exp
2625 * gdb.guile/scm-block.exp
2626 * gdb.guile/scm-breakpoint.exp
2627 * gdb.guile/scm-cmd.exp
2628 * gdb.guile/scm-disasm.exp
2629 * gdb.guile/scm-equal.exp
2630 * gdb.guile/scm-frame-args.exp
2631 * gdb.guile/scm-frame-inline.exp
2632 * gdb.guile/scm-frame.exp
2633 * gdb.guile/scm-iterator.exp
2634 * gdb.guile/scm-math.exp
2635 * gdb.guile/scm-objfile.exp
2636 * gdb.guile/scm-ports.exp
2637 * gdb.guile/scm-symbol.exp
2638 * gdb.guile/scm-symtab.exp
2639 * gdb.guile/scm-value-cc.exp
2640 * gdb.guile/types-module.exp
2641 * gdb.linespec/break-ask.exp
2642 * gdb.linespec/cpexplicit.exp
2643 * gdb.linespec/explicit.exp
2644 * gdb.linespec/keywords.exp
2645 * gdb.linespec/linespec.exp
2646 * gdb.linespec/ls-dollar.exp
2647 * gdb.linespec/ls-errs.exp
2648 * gdb.linespec/skip-two.exp
2649 * gdb.linespec/thread.exp
2650 * gdb.mi/mi-async.exp
2651 * gdb.mi/mi-basics.exp
2652 * gdb.mi/mi-break.exp
2653 * gdb.mi/mi-catch-load.exp
2655 * gdb.mi/mi-cmd-param-changed.exp
2656 * gdb.mi/mi-console.exp
2657 * gdb.mi/mi-detach.exp
2658 * gdb.mi/mi-disassemble.exp
2659 * gdb.mi/mi-eval.exp
2660 * gdb.mi/mi-file-transfer.exp
2661 * gdb.mi/mi-file.exp
2662 * gdb.mi/mi-fill-memory.exp
2663 * gdb.mi/mi-inheritance-syntax-error.exp
2664 * gdb.mi/mi-linespec-err-cp.exp
2665 * gdb.mi/mi-logging.exp
2666 * gdb.mi/mi-memory-changed.exp
2667 * gdb.mi/mi-read-memory.exp
2668 * gdb.mi/mi-record-changed.exp
2669 * gdb.mi/mi-reg-undefined.exp
2670 * gdb.mi/mi-regs.exp
2671 * gdb.mi/mi-return.exp
2672 * gdb.mi/mi-reverse.exp
2673 * gdb.mi/mi-simplerun.exp
2674 * gdb.mi/mi-solib.exp
2675 * gdb.mi/mi-stack.exp
2676 * gdb.mi/mi-stepi.exp
2677 * gdb.mi/mi-syn-frame.exp
2678 * gdb.mi/mi-until.exp
2679 * gdb.mi/mi-var-block.exp
2680 * gdb.mi/mi-var-child.exp
2681 * gdb.mi/mi-var-cmd.exp
2682 * gdb.mi/mi-var-cp.exp
2683 * gdb.mi/mi-var-display.exp
2684 * gdb.mi/mi-var-invalidate.exp
2685 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
2686 * gdb.mi/mi-vla-fortran.exp
2687 * gdb.mi/mi-watch.exp
2688 * gdb.mi/mi2-var-child.exp
2689 * gdb.mi/user-selected-context-sync.exp
2690 * gdb.modula2/unbounded-array.exp
2691 * gdb.multi/dummy-frame-restore.exp
2692 * gdb.multi/multi-arch-exec.exp
2693 * gdb.multi/multi-arch.exp
2694 * gdb.multi/tids.exp
2695 * gdb.multi/watchpoint-multi.exp
2696 * gdb.opencl/callfuncs.exp
2697 * gdb.opencl/convs_casts.exp
2698 * gdb.opencl/datatypes.exp
2699 * gdb.opencl/operators.exp
2700 * gdb.opencl/vec_comps.exp
2701 * gdb.opt/clobbered-registers-O2.exp
2702 * gdb.opt/inline-break.exp
2703 * gdb.opt/inline-bt.exp
2704 * gdb.opt/inline-cmds.exp
2705 * gdb.opt/inline-locals.exp
2706 * gdb.pascal/case-insensitive-symbols.exp
2707 * gdb.pascal/floats.exp
2708 * gdb.pascal/gdb11492.exp
2709 * gdb.python/lib-types.exp
2710 * gdb.python/py-arch.exp
2711 * gdb.python/py-as-string.exp
2712 * gdb.python/py-bad-printers.exp
2713 * gdb.python/py-block.exp
2714 * gdb.python/py-breakpoint-create-fail.exp
2715 * gdb.python/py-breakpoint.exp
2716 * gdb.python/py-caller-is.exp
2717 * gdb.python/py-cmd.exp
2718 * gdb.python/py-explore-cc.exp
2719 * gdb.python/py-explore.exp
2720 * gdb.python/py-finish-breakpoint.exp
2721 * gdb.python/py-finish-breakpoint2.exp
2722 * gdb.python/py-frame-args.exp
2723 * gdb.python/py-frame-inline.exp
2724 * gdb.python/py-frame.exp
2725 * gdb.python/py-framefilter-mi.exp
2726 * gdb.python/py-infthread.exp
2727 * gdb.python/py-lazy-string.exp
2728 * gdb.python/py-linetable.exp
2729 * gdb.python/py-mi-events.exp
2730 * gdb.python/py-mi-objfile.exp
2731 * gdb.python/py-mi.exp
2732 * gdb.python/py-objfile.exp
2733 * gdb.python/py-pp-integral.exp
2734 * gdb.python/py-pp-maint.exp
2735 * gdb.python/py-pp-re-notag.exp
2736 * gdb.python/py-pp-registration.exp
2737 * gdb.python/py-recurse-unwind.exp
2738 * gdb.python/py-strfns.exp
2739 * gdb.python/py-symbol.exp
2740 * gdb.python/py-symtab.exp
2741 * gdb.python/py-sync-interp.exp
2742 * gdb.python/py-typeprint.exp
2743 * gdb.python/py-unwind-maint.exp
2744 * gdb.python/py-unwind.exp
2745 * gdb.python/py-value-cc.exp
2746 * gdb.python/py-xmethods.exp
2747 * gdb.reverse/amd64-tailcall-reverse.exp
2748 * gdb.reverse/break-precsave.exp
2749 * gdb.reverse/break-reverse.exp
2750 * gdb.reverse/consecutive-precsave.exp
2751 * gdb.reverse/consecutive-reverse.exp
2752 * gdb.reverse/finish-precsave.exp
2753 * gdb.reverse/finish-reverse-bkpt.exp
2754 * gdb.reverse/finish-reverse.exp
2755 * gdb.reverse/fstatat-reverse.exp
2756 * gdb.reverse/getresuid-reverse.exp
2757 * gdb.reverse/i386-precsave.exp
2758 * gdb.reverse/i386-reverse.exp
2759 * gdb.reverse/i386-sse-reverse.exp
2760 * gdb.reverse/i387-env-reverse.exp
2761 * gdb.reverse/i387-stack-reverse.exp
2762 * gdb.reverse/insn-reverse.exp
2763 * gdb.reverse/machinestate-precsave.exp
2764 * gdb.reverse/machinestate.exp
2765 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2766 * gdb.reverse/pipe-reverse.exp
2767 * gdb.reverse/readv-reverse.exp
2768 * gdb.reverse/recvmsg-reverse.exp
2769 * gdb.reverse/rerun-prec.exp
2770 * gdb.reverse/s390-mvcle.exp
2771 * gdb.reverse/step-precsave.exp
2772 * gdb.reverse/step-reverse.exp
2773 * gdb.reverse/time-reverse.exp
2774 * gdb.reverse/until-precsave.exp
2775 * gdb.reverse/until-reverse.exp
2776 * gdb.reverse/waitpid-reverse.exp
2777 * gdb.reverse/watch-precsave.exp
2778 * gdb.reverse/watch-reverse.exp
2779 * gdb.rust/generics.exp
2780 * gdb.rust/methods.exp
2781 * gdb.rust/modules.exp
2782 * gdb.rust/simple.exp
2783 * gdb.server/connect-with-no-symbol-file.exp
2784 * gdb.server/ext-attach.exp
2785 * gdb.server/ext-restart.exp
2786 * gdb.server/ext-wrapper.exp
2787 * gdb.server/file-transfer.exp
2788 * gdb.server/server-exec-info.exp
2789 * gdb.server/server-kill.exp
2790 * gdb.server/server-mon.exp
2791 * gdb.server/wrapper.exp
2792 * gdb.stabs/exclfwd.exp
2793 * gdb.stabs/gdb11479.exp
2794 * gdb.threads/clone-new-thread-event.exp
2795 * gdb.threads/corethreads.exp
2796 * gdb.threads/current-lwp-dead.exp
2797 * gdb.threads/dlopen-libpthread.exp
2798 * gdb.threads/gcore-thread.exp
2799 * gdb.threads/sigstep-threads.exp
2800 * gdb.threads/watchpoint-fork.exp
2801 * gdb.trace/actions-changed.exp
2802 * gdb.trace/backtrace.exp
2803 * gdb.trace/change-loc.exp
2804 * gdb.trace/circ.exp
2805 * gdb.trace/collection.exp
2806 * gdb.trace/disconnected-tracing.exp
2807 * gdb.trace/ftrace.exp
2808 * gdb.trace/mi-trace-frame-collected.exp
2809 * gdb.trace/mi-trace-unavailable.exp
2810 * gdb.trace/mi-traceframe-changed.exp
2811 * gdb.trace/mi-tsv-changed.exp
2812 * gdb.trace/no-attach-trace.exp
2813 * gdb.trace/passc-dyn.exp
2814 * gdb.trace/qtro.exp
2815 * gdb.trace/range-stepping.exp
2816 * gdb.trace/read-memory.exp
2817 * gdb.trace/save-trace.exp
2818 * gdb.trace/signal.exp
2819 * gdb.trace/status-stop.exp
2820 * gdb.trace/tfile.exp
2821 * gdb.trace/trace-break.exp
2822 * gdb.trace/trace-buffer-size.exp
2823 * gdb.trace/trace-condition.exp
2824 * gdb.trace/tracefile-pseudo-reg.exp
2825 * gdb.trace/tstatus.exp
2826 * gdb.trace/unavailable.exp
2827 * gdb.trace/while-dyn.exp
2828 * gdb.trace/while-stepping.exp
2830 2016-12-22 Doug Evans <xdje42@gmail.com>
2832 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
2835 2016-12-19 Yao Qi <yao.qi@linaro.org>
2837 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
2838 (test_with_self): Don't call do_steps_and_nexts, and remove
2839 code about stepping into xmalloc.
2841 2016-12-09 Yao Qi <yao.qi@linaro.org>
2843 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
2845 2016-12-09 Yao Qi <yao.qi@linaro.org>
2847 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
2849 2016-12-09 Pedro Alves <palves@redhat.com>
2851 * gdb.base/all-architectures-0.exp: New file.
2852 * gdb.base/all-architectures-1.exp: New file.
2853 * gdb.base/all-architectures-2.exp: New file.
2854 * gdb.base/all-architectures-3.exp: New file.
2855 * gdb.base/all-architectures-4.exp: New file.
2856 * gdb.base/all-architectures-5.exp: New file.
2857 * gdb.base/all-architectures-6.exp: New file.
2858 * gdb.base/all-architectures-7.exp: New file.
2859 * gdb.base/all-architectures.exp.in: New file.
2861 2016-12-09 Yao Qi <yao.qi@linaro.org>
2863 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
2865 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
2867 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
2869 Remove useless pattern-matching code.
2871 2016-12-02 Pedro Alves <palves@redhat.com>
2873 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
2875 (top level): Call it.
2877 2016-12-02 Pedro Alves <palves@redhat.com>
2879 * gdb.base/commands.exp (user_defined_command_args_stack_test):
2881 (top level): Call it.
2883 2016-12-02 Pedro Alves <palves@redhat.com>
2886 * gdb.base/commands.exp (user_defined_command_args_eval): New
2888 (top level): Call it.
2890 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
2892 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
2895 2016-12-02 Tom Tromey <tom@tromey.com>
2897 * gdb.dwarf2/main-subprogram.c: New file.
2898 * gdb.dwarf2/main-subprogram.exp: New file.
2900 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2902 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
2903 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
2904 gdb_test_no_output for a couple of cases.
2905 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
2907 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2909 Fix test names and standardize compilation error messages throughout
2910 the following files:
2913 * gdb.arch/alpha-step.exp
2914 * gdb.arch/e500-prologue.exp
2915 * gdb.arch/ftrace-insn-reloc.exp
2916 * gdb.arch/gdb1291.exp
2917 * gdb.arch/gdb1431.exp
2918 * gdb.arch/gdb1558.exp
2919 * gdb.arch/i386-dr3-watch.exp
2920 * gdb.arch/i386-sse-stack-align.exp
2921 * gdb.arch/ia64-breakpoint-shadow.exp
2922 * gdb.arch/pa-nullify.exp
2923 * gdb.arch/powerpc-aix-prologue.exp
2924 * gdb.arch/thumb-bx-pc.exp
2925 * gdb.base/annota1.exp
2926 * gdb.base/annota3.exp
2927 * gdb.base/arrayidx.exp
2928 * gdb.base/assign.exp
2929 * gdb.base/attach.exp
2932 * gdb.base/bfp-test.exp
2933 * gdb.base/bigcore.exp
2934 * gdb.base/bitfields2.exp
2935 * gdb.base/break-fun-addr.exp
2936 * gdb.base/break-probes.exp
2937 * gdb.base/call-rt-st.exp
2938 * gdb.base/callexit.exp
2939 * gdb.base/catch-fork-kill.exp
2940 * gdb.base/charset.exp
2941 * gdb.base/checkpoint.exp
2942 * gdb.base/comprdebug.exp
2943 * gdb.base/constvars.exp
2944 * gdb.base/coredump-filter.exp
2945 * gdb.base/cursal.exp
2946 * gdb.base/cvexpr.exp
2947 * gdb.base/detach.exp
2948 * gdb.base/display.exp
2949 * gdb.base/dmsym.exp
2950 * gdb.base/dprintf-pending.exp
2951 * gdb.base/dso2dso.exp
2952 * gdb.base/dtrace-probe.exp
2954 * gdb.base/enum_cond.exp
2955 * gdb.base/exe-lock.exp
2956 * gdb.base/exec-invalid-sysroot.exp
2957 * gdb.base/execl-update-breakpoints.exp
2958 * gdb.base/exprs.exp
2959 * gdb.base/fileio.exp
2961 * gdb.base/finish.exp
2962 * gdb.base/fixsection.exp
2963 * gdb.base/foll-vfork.exp
2964 * gdb.base/frame-args.exp
2965 * gdb.base/gcore.exp
2966 * gdb.base/gdb1250.exp
2967 * gdb.base/global-var-nested-by-dso.exp
2968 * gdb.base/gnu-ifunc.exp
2969 * gdb.base/hashline1.exp
2970 * gdb.base/hashline2.exp
2971 * gdb.base/hashline3.exp
2972 * gdb.base/hbreak-in-shr-unsupported.exp
2974 * gdb.base/infcall-input.exp
2975 * gdb.base/info-fun.exp
2976 * gdb.base/info-shared.exp
2977 * gdb.base/jit-simple.exp
2978 * gdb.base/jit-so.exp
2981 * gdb.base/label.exp
2982 * gdb.base/lineinc.exp
2983 * gdb.base/logical.exp
2984 * gdb.base/longjmp.exp
2985 * gdb.base/macscp.exp
2986 * gdb.base/miscexprs.exp
2987 * gdb.base/new-ui-echo.exp
2988 * gdb.base/new-ui-pending-input.exp
2989 * gdb.base/new-ui.exp
2990 * gdb.base/nodebug.exp
2991 * gdb.base/nofield.exp
2992 * gdb.base/offsets.exp
2993 * gdb.base/overlays.exp
2994 * gdb.base/pending.exp
2995 * gdb.base/pointers.exp
2996 * gdb.base/pr11022.exp
2997 * gdb.base/printcmds.exp
2998 * gdb.base/prologue.exp
2999 * gdb.base/ptr-typedef.exp
3000 * gdb.base/realname-expand.exp
3001 * gdb.base/relativedebug.exp
3002 * gdb.base/relocate.exp
3003 * gdb.base/remote.exp
3004 * gdb.base/reread.exp
3005 * gdb.base/return2.exp
3006 * gdb.base/savedregs.exp
3008 * gdb.base/sepdebug.exp
3009 * gdb.base/sepsymtab.exp
3010 * gdb.base/set-inferior-tty.exp
3011 * gdb.base/setshow.exp
3012 * gdb.base/shlib-call.exp
3013 * gdb.base/sigaltstack.exp
3014 * gdb.base/siginfo-addr.exp
3015 * gdb.base/signals.exp
3016 * gdb.base/signull.exp
3017 * gdb.base/sigrepeat.exp
3018 * gdb.base/so-impl-ld.exp
3019 * gdb.base/solib-display.exp
3020 * gdb.base/solib-overlap.exp
3021 * gdb.base/solib-search.exp
3022 * gdb.base/solib-symbol.exp
3023 * gdb.base/structs.exp
3024 * gdb.base/structs2.exp
3025 * gdb.base/symtab-search-order.exp
3026 * gdb.base/twice.exp
3027 * gdb.base/unload.exp
3028 * gdb.base/varargs.exp
3029 * gdb.base/watchpoint-solib.exp
3030 * gdb.base/watchpoint.exp
3031 * gdb.base/whatis.exp
3032 * gdb.base/wrong_frame_bt_full.exp
3033 * gdb.btrace/dlopen.exp
3034 * gdb.cell/ea-standalone.exp
3035 * gdb.cell/ea-test.exp
3036 * gdb.cp/dispcxx.exp
3037 * gdb.cp/gdb2384.exp
3038 * gdb.cp/method2.exp
3039 * gdb.cp/nextoverthrow.exp
3040 * gdb.cp/pr10728.exp
3041 * gdb.disasm/am33.exp
3042 * gdb.disasm/h8300s.exp
3043 * gdb.disasm/mn10300.exp
3044 * gdb.disasm/sh3.exp
3045 * gdb.dwarf2/dw2-dir-file-name.exp
3046 * gdb.fortran/complex.exp
3047 * gdb.fortran/library-module.exp
3048 * gdb.guile/scm-pretty-print.exp
3049 * gdb.guile/scm-symbol.exp
3050 * gdb.guile/scm-type.exp
3051 * gdb.guile/scm-value.exp
3052 * gdb.linespec/linespec.exp
3055 * gdb.mi/mi-breakpoint-changed.exp
3056 * gdb.mi/mi-dprintf-pending.exp
3057 * gdb.mi/mi-dprintf.exp
3058 * gdb.mi/mi-exit-code.exp
3059 * gdb.mi/mi-pending.exp
3060 * gdb.mi/mi-solib.exp
3061 * gdb.mi/new-ui-mi-sync.exp
3062 * gdb.mi/pr11022.exp
3063 * gdb.mi/user-selected-context-sync.exp
3064 * gdb.opt/solib-intra-step.exp
3065 * gdb.python/py-events.exp
3066 * gdb.python/py-finish-breakpoint.exp
3067 * gdb.python/py-mi.exp
3068 * gdb.python/py-prettyprint.exp
3069 * gdb.python/py-shared.exp
3070 * gdb.python/py-symbol.exp
3071 * gdb.python/py-template.exp
3072 * gdb.python/py-type.exp
3073 * gdb.python/py-value.exp
3074 * gdb.reverse/solib-precsave.exp
3075 * gdb.reverse/solib-reverse.exp
3076 * gdb.server/solib-list.exp
3077 * gdb.stabs/weird.exp
3078 * gdb.threads/reconnect-signal.exp
3079 * gdb.threads/stepi-random-signal.exp
3080 * gdb.trace/actions.exp
3082 * gdb.trace/backtrace.exp
3083 * gdb.trace/change-loc.exp
3084 * gdb.trace/deltrace.exp
3085 * gdb.trace/ftrace-lock.exp
3086 * gdb.trace/ftrace.exp
3087 * gdb.trace/infotrace.exp
3088 * gdb.trace/mi-tracepoint-changed.exp
3089 * gdb.trace/packetlen.exp
3090 * gdb.trace/passcount.exp
3091 * gdb.trace/pending.exp
3092 * gdb.trace/range-stepping.exp
3093 * gdb.trace/report.exp
3094 * gdb.trace/stap-trace.exp
3095 * gdb.trace/tfind.exp
3096 * gdb.trace/trace-break.exp
3097 * gdb.trace/trace-condition.exp
3098 * gdb.trace/trace-enable-disable.exp
3099 * gdb.trace/trace-mt.exp
3100 * gdb.trace/tracecmd.exp
3101 * gdb.trace/tspeed.exp
3105 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3107 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
3108 with gdb_test_no_output.
3109 Use command as test name.
3111 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3113 Fix test names starting with uppercase throughout the files.
3115 * gdb.ada/assign_1.exp
3116 * gdb.ada/boolean_expr.exp
3117 * gdb.base/arrayidx.exp
3119 * gdb.base/gcore-buffer-overflow.exp
3120 * gdb.base/testenv.exp
3121 * gdb.compile/compile.exp
3122 * gdb.python/py-framefilter-invalidarg.exp
3123 * gdb.python/py-framefilter.exp
3125 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3127 Fix test names starting with uppercase throughout the files.
3129 * gdb.ada/array_return.exp
3130 * gdb.ada/expr_delims.exp
3131 * gdb.ada/mi_dyn_arr.exp
3132 * gdb.ada/mi_interface.exp
3133 * gdb.ada/mi_var_array.exp
3134 * gdb.ada/watch_arg.exp
3135 * gdb.arch/alpha-step.exp
3136 * gdb.arch/altivec-regs.exp
3137 * gdb.arch/e500-regs.exp
3138 * gdb.arch/powerpc-d128-regs.exp
3139 * gdb.base/arrayidx.exp
3140 * gdb.base/break.exp
3141 * gdb.base/checkpoint.exp
3142 * gdb.base/debug-expr.exp
3143 * gdb.base/dmsym.exp
3144 * gdb.base/radix.exp
3145 * gdb.base/sepdebug.exp
3146 * gdb.base/testenv.exp
3147 * gdb.base/watch_thread_num.exp
3148 * gdb.base/watchpoint-cond-gone.exp
3149 * gdb.cell/break.exp
3150 * gdb.cell/ea-cache.exp
3151 * gdb.compile/compile.exp
3152 * gdb.cp/gdb2495.exp
3153 * gdb.gdb/selftest.exp
3154 * gdb.gdb/xfullpath.exp
3156 * gdb.go/integers.exp
3157 * gdb.objc/basicclass.exp
3158 * gdb.pascal/hello.exp
3159 * gdb.pascal/integers.exp
3160 * gdb.python/py-breakpoint.exp
3161 * gdb.python/py-cmd.exp
3162 * gdb.python/py-linetable.exp
3163 * gdb.python/py-xmethods.exp
3164 * gdb.python/python.exp
3165 * gdb.reverse/consecutive-precsave.exp
3166 * gdb.reverse/finish-precsave.exp
3167 * gdb.reverse/i386-precsave.exp
3168 * gdb.reverse/machinestate-precsave.exp
3169 * gdb.reverse/sigall-precsave.exp
3170 * gdb.reverse/solib-precsave.exp
3171 * gdb.reverse/step-precsave.exp
3172 * gdb.reverse/until-precsave.exp
3173 * gdb.reverse/watch-precsave.exp
3174 * gdb.threads/leader-exit.exp
3175 * gdb.threads/pthreads.exp
3176 * gdb.threads/wp-replication.exp
3177 * gdb.trace/actions.exp
3178 * gdb.trace/mi-tsv-changed.exp
3181 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3183 Fix test names starting with uppercase throughout the files.
3185 * gdb.arch/i386-bp_permanent.exp
3186 * gdb.arch/i386-gnu-cfi.exp
3187 * gdb.base/disasm-end-cu.exp
3188 * gdb.base/macscp.exp
3189 * gdb.base/pending.exp
3190 * gdb.base/watch_thread_num.exp
3191 * gdb.cp/exception.exp
3192 * gdb.cp/gdb2495.exp
3194 * gdb.python/py-evsignal.exp
3195 * gdb.python/python.exp
3196 * gdb.trace/tracecmd.exp
3198 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3200 Fix test names starting with uppercase throughout the files.
3202 * gdb.base/charset.exp
3204 * gdb.base/multi-forks.exp
3205 * gdb.guile/scm-progspace.exp
3206 * gdb.opencl/datatypes.exp
3207 * gdb.python/py-block.exp
3208 * gdb.python/py-function.exp
3209 * gdb.python/py-symbol.exp
3210 * gdb.python/py-symtab.exp
3211 * gdb.python/py-xmethods.exp
3212 * gdb.reverse/break-precsave.exp
3213 * gdb.reverse/break-reverse.exp
3214 * gdb.reverse/consecutive-precsave.exp
3215 * gdb.reverse/consecutive-reverse.exp
3216 * gdb.reverse/finish-precsave.exp
3217 * gdb.reverse/finish-reverse-bkpt.exp
3218 * gdb.reverse/finish-reverse.exp
3219 * gdb.reverse/fstatat-reverse.exp
3220 * gdb.reverse/getresuid-reverse.exp
3221 * gdb.reverse/i386-precsave.exp
3222 * gdb.reverse/i386-reverse.exp
3223 * gdb.reverse/i386-sse-reverse.exp
3224 * gdb.reverse/i387-stack-reverse.exp
3225 * gdb.reverse/insn-reverse.exp
3226 * gdb.reverse/machinestate-precsave.exp
3227 * gdb.reverse/machinestate.exp
3228 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3229 * gdb.reverse/pipe-reverse.exp
3230 * gdb.reverse/readv-reverse.exp
3231 * gdb.reverse/recvmsg-reverse.exp
3232 * gdb.reverse/rerun-prec.exp
3233 * gdb.reverse/s390-mvcle.exp
3234 * gdb.reverse/sigall-precsave.exp
3235 * gdb.reverse/sigall-reverse.exp
3236 * gdb.reverse/solib-precsave.exp
3237 * gdb.reverse/solib-reverse.exp
3238 * gdb.reverse/step-precsave.exp
3239 * gdb.reverse/step-reverse.exp
3240 * gdb.reverse/time-reverse.exp
3241 * gdb.reverse/until-precsave.exp
3242 * gdb.reverse/until-reverse.exp
3243 * gdb.reverse/waitpid-reverse.exp
3244 * gdb.reverse/watch-precsave.exp
3245 * gdb.reverse/watch-reverse.exp
3247 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3249 Fix test names starting with uppercase throughout the files.
3251 * gdb.arch/i386-mpx-simple_segv.exp
3252 * gdb.arch/i386-mpx.exp
3253 * gdb.arch/i386-permbkpt.exp
3254 * gdb.arch/pa-nullify.exp
3255 * gdb.arch/powerpc-d128-regs.exp
3256 * gdb.arch/vsx-regs.exp
3257 * gdb.base/bfp-test.exp
3258 * gdb.base/break.exp
3259 * gdb.base/breakpoint-shadow.exp
3260 * gdb.base/callfuncs.exp
3261 * gdb.base/charset.exp
3262 * gdb.base/commands.exp
3263 * gdb.base/completion.exp
3264 * gdb.base/dfp-test.exp
3266 * gdb.base/ending-run.exp
3268 * gdb.base/expand-psymtabs.exp
3269 * gdb.base/float128.exp
3270 * gdb.base/floatn.exp
3271 * gdb.base/foll-exec-mode.exp
3272 * gdb.base/gdb1056.exp
3273 * gdb.base/gdb11531.exp
3274 * gdb.base/kill-after-signal.exp
3275 * gdb.base/multi-forks.exp
3276 * gdb.base/overlays.exp
3277 * gdb.base/pending.exp
3278 * gdb.base/sepdebug.exp
3279 * gdb.base/testenv.exp
3280 * gdb.base/valgrind-db-attach.exp
3281 * gdb.base/watch_thread_num.exp
3282 * gdb.base/watchpoint-cond-gone.exp
3283 * gdb.base/watchpoint.exp
3284 * gdb.base/watchpoints.exp
3285 * gdb.cp/arg-reference.exp
3286 * gdb.cp/baseenum.exp
3287 * gdb.cp/operator.exp
3289 * gdb.dwarf2/dw2-op-out-param.exp
3290 * gdb.dwarf2/dw2-reg-undefined.exp
3293 * gdb.go/integers.exp
3294 * gdb.go/methods.exp
3295 * gdb.go/package.exp
3296 * gdb.guile/scm-parameter.exp
3297 * gdb.guile/scm-progspace.exp
3298 * gdb.guile/scm-value.exp
3299 * gdb.mi/mi-pending.exp
3300 * gdb.mi/user-selected-context-sync.exp
3301 * gdb.multi/multi-attach.exp
3302 * gdb.multi/tids.exp
3303 * gdb.opt/clobbered-registers-O2.exp
3304 * gdb.pascal/floats.exp
3305 * gdb.pascal/integers.exp
3306 * gdb.python/py-block.exp
3307 * gdb.python/py-events.exp
3308 * gdb.python/py-parameter.exp
3309 * gdb.python/py-symbol.exp
3310 * gdb.python/py-symtab.exp
3311 * gdb.python/py-type.exp
3312 * gdb.python/py-value.exp
3313 * gdb.python/py-xmethods.exp
3314 * gdb.python/python.exp
3315 * gdb.reverse/break-precsave.exp
3316 * gdb.reverse/consecutive-precsave.exp
3317 * gdb.reverse/finish-precsave.exp
3318 * gdb.reverse/i386-precsave.exp
3319 * gdb.reverse/machinestate-precsave.exp
3320 * gdb.reverse/sigall-precsave.exp
3321 * gdb.reverse/solib-precsave.exp
3322 * gdb.reverse/step-precsave.exp
3323 * gdb.reverse/until-precsave.exp
3324 * gdb.reverse/watch-precsave.exp
3325 * gdb.server/ext-attach.exp
3326 * gdb.server/ext-restart.exp
3327 * gdb.server/ext-run.exp
3328 * gdb.server/ext-wrapper.exp
3329 * gdb.stabs/gdb11479.exp
3330 * gdb.stabs/weird.exp
3331 * gdb.threads/attach-many-short-lived-threads.exp
3332 * gdb.threads/kill.exp
3333 * gdb.threads/watchpoint-fork.exp
3335 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3337 Fix test names starting with uppercase throughout all the files below.
3339 * gdb.ada/array_return.exp
3340 * gdb.ada/catch_ex.exp
3341 * gdb.ada/info_exc.exp
3342 * gdb.ada/mi_catch_ex.exp
3343 * gdb.ada/mi_dyn_arr.exp
3344 * gdb.ada/mi_ex_cond.exp
3345 * gdb.ada/mi_exc_info.exp
3346 * gdb.ada/mi_interface.exp
3347 * gdb.ada/mi_task_arg.exp
3348 * gdb.ada/mi_task_info.exp
3349 * gdb.ada/mi_var_array.exp
3350 * gdb.arch/alpha-step.exp
3351 * gdb.arch/amd64-disp-step.exp
3352 * gdb.arch/arm-disp-step.exp
3353 * gdb.arch/disp-step-insn-reloc.exp
3354 * gdb.arch/e500-prologue.exp
3355 * gdb.arch/ftrace-insn-reloc.exp
3356 * gdb.arch/gdb1558.exp
3357 * gdb.arch/i386-bp_permanent.exp
3358 * gdb.arch/i386-disp-step.exp
3359 * gdb.arch/i386-float.exp
3360 * gdb.arch/i386-gnu-cfi.exp
3361 * gdb.arch/ia64-breakpoint-shadow.exp
3362 * gdb.arch/mips16-thunks.exp
3363 * gdb.arch/pa-nullify.exp
3364 * gdb.arch/powerpc-aix-prologue.exp
3365 * gdb.arch/powerpc-power.exp
3366 * gdb.arch/ppc-dfp.exp
3367 * gdb.arch/s390-tdbregs.exp
3368 * gdb.arch/spu-info.exp
3369 * gdb.arch/spu-ls.exp
3370 * gdb.arch/thumb-bx-pc.exp
3371 * gdb.base/advance.exp
3372 * gdb.base/annota-input-while-running.exp
3373 * gdb.base/arrayidx.exp
3374 * gdb.base/asmlabel.exp
3375 * gdb.base/async.exp
3376 * gdb.base/attach-wait-input.exp
3377 * gdb.base/auto-connect-native-target.exp
3378 * gdb.base/batch-preserve-term-settings.exp
3379 * gdb.base/bfp-test.exp
3380 * gdb.base/bigcore.exp
3381 * gdb.base/bp-permanent.exp
3382 * gdb.base/break-always.exp
3383 * gdb.base/break-fun-addr.exp
3384 * gdb.base/break-idempotent.exp
3385 * gdb.base/break-main-file-remove-fail.exp
3386 * gdb.base/break-probes.exp
3387 * gdb.base/break-unload-file.exp
3388 * gdb.base/break.exp
3389 * gdb.base/call-ar-st.exp
3390 * gdb.base/call-rt-st.exp
3391 * gdb.base/call-sc.exp
3392 * gdb.base/call-signal-resume.exp
3393 * gdb.base/call-strs.exp
3394 * gdb.base/callexit.exp
3395 * gdb.base/callfuncs.exp
3396 * gdb.base/catch-gdb-caused-signals.exp
3397 * gdb.base/catch-signal-siginfo-cond.exp
3398 * gdb.base/catch-syscall.exp
3399 * gdb.base/compare-sections.exp
3400 * gdb.base/cond-eval-mode.exp
3401 * gdb.base/condbreak-call-false.exp
3402 * gdb.base/consecutive-step-over.exp
3403 * gdb.base/cursal.exp
3404 * gdb.base/disabled-location.exp
3405 * gdb.base/disasm-end-cu.exp
3406 * gdb.base/display.exp
3407 * gdb.base/double-prompt-target-event-error.exp
3408 * gdb.base/dprintf-bp-same-addr.exp
3409 * gdb.base/dprintf-detach.exp
3410 * gdb.base/dprintf-next.exp
3411 * gdb.base/dprintf-non-stop.exp
3412 * gdb.base/dprintf-pending.exp
3413 * gdb.base/dso2dso.exp
3414 * gdb.base/ending-run.exp
3415 * gdb.base/enum_cond.exp
3416 * gdb.base/examine-backward.exp
3417 * gdb.base/exe-lock.exp
3418 * gdb.base/exec-invalid-sysroot.exp
3419 * gdb.base/execl-update-breakpoints.exp
3420 * gdb.base/execution-termios.exp
3421 * gdb.base/fileio.exp
3422 * gdb.base/fixsection.exp
3423 * gdb.base/foll-exec-mode.exp
3424 * gdb.base/foll-exec.exp
3425 * gdb.base/fork-running-state.exp
3426 * gdb.base/frame-args.exp
3427 * gdb.base/fullpath-expand.exp
3428 * gdb.base/func-ptr.exp
3429 * gdb.base/gcore-relro-pie.exp
3430 * gdb.base/gdb1090.exp
3431 * gdb.base/gdb1555.exp
3432 * gdb.base/global-var-nested-by-dso.exp
3433 * gdb.base/gnu-ifunc.exp
3434 * gdb.base/hbreak-in-shr-unsupported.exp
3435 * gdb.base/hbreak-unmapped.exp
3436 * gdb.base/hook-stop.exp
3437 * gdb.base/infcall-input.exp
3438 * gdb.base/info-fun.exp
3439 * gdb.base/info-shared.exp
3440 * gdb.base/interrupt-noterm.exp
3441 * gdb.base/jit-so.exp
3443 * gdb.base/line-symtabs.exp
3445 * gdb.base/longjmp.exp
3446 * gdb.base/macscp.exp
3447 * gdb.base/max-value-size.exp
3448 * gdb.base/nodebug.exp
3449 * gdb.base/nofield.exp
3450 * gdb.base/overlays.exp
3451 * gdb.base/paginate-after-ctrl-c-running.exp
3452 * gdb.base/paginate-bg-execution.exp
3453 * gdb.base/paginate-inferior-exit.exp
3454 * gdb.base/pending.exp
3455 * gdb.base/pr11022.exp
3456 * gdb.base/printcmds.exp
3457 * gdb.base/ptr-typedef.exp
3458 * gdb.base/ptype.exp
3459 * gdb.base/randomize.exp
3460 * gdb.base/range-stepping.exp
3461 * gdb.base/realname-expand.exp
3462 * gdb.base/relativedebug.exp
3463 * gdb.base/remote.exp
3464 * gdb.base/savedregs.exp
3465 * gdb.base/sepdebug.exp
3466 * gdb.base/set-noassign.exp
3467 * gdb.base/shlib-call.exp
3468 * gdb.base/shreloc.exp
3469 * gdb.base/sigaltstack.exp
3470 * gdb.base/sigbpt.exp
3471 * gdb.base/siginfo-addr.exp
3472 * gdb.base/siginfo-obj.exp
3473 * gdb.base/siginfo-thread.exp
3474 * gdb.base/signest.exp
3475 * gdb.base/signull.exp
3476 * gdb.base/sigrepeat.exp
3478 * gdb.base/so-impl-ld.exp
3479 * gdb.base/solib-corrupted.exp
3480 * gdb.base/solib-disc.exp
3481 * gdb.base/solib-display.exp
3482 * gdb.base/solib-overlap.exp
3483 * gdb.base/solib-search.exp
3484 * gdb.base/solib-symbol.exp
3485 * gdb.base/source-execution.exp
3486 * gdb.base/sss-bp-on-user-bp-2.exp
3487 * gdb.base/sss-bp-on-user-bp.exp
3488 * gdb.base/stack-checking.exp
3489 * gdb.base/stale-infcall.exp
3490 * gdb.base/step-break.exp
3491 * gdb.base/step-line.exp
3492 * gdb.base/step-over-exit.exp
3493 * gdb.base/step-test.exp
3494 * gdb.base/structs.exp
3495 * gdb.base/sym-file.exp
3496 * gdb.base/symtab-search-order.exp
3498 * gdb.base/type-opaque.exp
3499 * gdb.base/unload.exp
3500 * gdb.base/until-nodebug.exp
3501 * gdb.base/until.exp
3502 * gdb.base/unwindonsignal.exp
3503 * gdb.base/watch-cond.exp
3504 * gdb.base/watch-non-mem.exp
3505 * gdb.base/watch_thread_num.exp
3506 * gdb.base/watchpoint-reuse-slot.exp
3507 * gdb.base/watchpoint-solib.exp
3508 * gdb.base/watchpoint.exp
3509 * gdb.btrace/dlopen.exp
3511 * gdb.cell/break.exp
3515 * gdb.cell/dwarfaddr.exp
3516 * gdb.cell/ea-cache.exp
3517 * gdb.cell/ea-standalone.exp
3518 * gdb.cell/ea-test.exp
3519 * gdb.cell/f-regs.exp
3521 * gdb.cell/gcore.exp
3522 * gdb.cell/mem-access.exp
3523 * gdb.cell/ptype.exp
3524 * gdb.cell/registers.exp
3525 * gdb.cell/sizeof.exp
3526 * gdb.cell/solib-symbol.exp
3527 * gdb.cell/solib.exp
3528 * gdb.compile/compile-tls.exp
3529 * gdb.cp/exception.exp
3530 * gdb.cp/gdb2495.exp
3532 * gdb.cp/mb-inline.exp
3533 * gdb.cp/mb-templates.exp
3534 * gdb.cp/pr10687.exp
3536 * gdb.cp/scope-err.exp
3537 * gdb.cp/templates.exp
3538 * gdb.cp/virtfunc.exp
3539 * gdb.dwarf2/dw2-dir-file-name.exp
3540 * gdb.dwarf2/dw2-single-line-discriminators.exp
3541 * gdb.fortran/complex.exp
3542 * gdb.fortran/library-module.exp
3543 * gdb.guile/guile.exp
3544 * gdb.guile/scm-cmd.exp
3545 * gdb.guile/scm-frame-inline.exp
3546 * gdb.guile/scm-objfile.exp
3547 * gdb.guile/scm-pretty-print.exp
3548 * gdb.guile/scm-symbol.exp
3549 * gdb.guile/scm-type.exp
3550 * gdb.guile/scm-value.exp
3551 * gdb.linespec/keywords.exp
3552 * gdb.linespec/ls-errs.exp
3553 * gdb.linespec/macro-relative.exp
3554 * gdb.linespec/thread.exp
3555 * gdb.mi/mi-breakpoint-changed.exp
3556 * gdb.mi/mi-dprintf-pending.exp
3557 * gdb.mi/mi-fullname-deleted.exp
3558 * gdb.mi/mi-logging.exp
3559 * gdb.mi/mi-pending.exp
3560 * gdb.mi/mi-solib.exp
3561 * gdb.mi/new-ui-mi-sync.exp
3562 * gdb.mi/user-selected-context-sync.exp
3563 * gdb.multi/dummy-frame-restore.exp
3564 * gdb.multi/multi-arch-exec.exp
3565 * gdb.multi/remove-inferiors.exp
3566 * gdb.multi/watchpoint-multi-exit.exp
3567 * gdb.opt/solib-intra-step.exp
3568 * gdb.perf/backtrace.exp
3569 * gdb.perf/single-step.exp
3570 * gdb.perf/skip-command.exp
3571 * gdb.perf/skip-prologue.exp
3572 * gdb.perf/solib.exp
3573 * gdb.python/lib-types.exp
3574 * gdb.python/py-as-string.exp
3575 * gdb.python/py-bad-printers.exp
3576 * gdb.python/py-block.exp
3577 * gdb.python/py-breakpoint.exp
3578 * gdb.python/py-cmd.exp
3579 * gdb.python/py-events.exp
3580 * gdb.python/py-evthreads.exp
3581 * gdb.python/py-finish-breakpoint.exp
3582 * gdb.python/py-finish-breakpoint2.exp
3583 * gdb.python/py-frame-inline.exp
3584 * gdb.python/py-frame.exp
3585 * gdb.python/py-inferior.exp
3586 * gdb.python/py-infthread.exp
3587 * gdb.python/py-mi.exp
3588 * gdb.python/py-objfile.exp
3589 * gdb.python/py-pp-maint.exp
3590 * gdb.python/py-pp-registration.exp
3591 * gdb.python/py-prettyprint.exp
3592 * gdb.python/py-recurse-unwind.exp
3593 * gdb.python/py-shared.exp
3594 * gdb.python/py-symbol.exp
3595 * gdb.python/py-symtab.exp
3596 * gdb.python/py-template.exp
3597 * gdb.python/py-type.exp
3598 * gdb.python/py-unwind-maint.exp
3599 * gdb.python/py-unwind.exp
3600 * gdb.python/py-value.exp
3601 * gdb.python/python.exp
3602 * gdb.reverse/finish-reverse-bkpt.exp
3603 * gdb.reverse/insn-reverse.exp
3604 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3605 * gdb.reverse/solib-precsave.exp
3606 * gdb.reverse/solib-reverse.exp
3607 * gdb.stabs/gdb11479.exp
3608 * gdb.stabs/weird.exp
3609 * gdb.threads/fork-child-threads.exp
3610 * gdb.threads/fork-plus-threads.exp
3611 * gdb.threads/fork-thread-pending.exp
3612 * gdb.threads/forking-threads-plus-breakpoint.exp
3613 * gdb.threads/hand-call-in-threads.exp
3614 * gdb.threads/interrupted-hand-call.exp
3615 * gdb.threads/linux-dp.exp
3616 * gdb.threads/local-watch-wrong-thread.exp
3617 * gdb.threads/next-while-other-thread-longjmps.exp
3618 * gdb.threads/non-ldr-exit.exp
3619 * gdb.threads/pending-step.exp
3620 * gdb.threads/print-threads.exp
3621 * gdb.threads/process-dies-while-detaching.exp
3622 * gdb.threads/process-dies-while-handling-bp.exp
3623 * gdb.threads/pthreads.exp
3624 * gdb.threads/queue-signal.exp
3625 * gdb.threads/reconnect-signal.exp
3626 * gdb.threads/signal-command-handle-nopass.exp
3627 * gdb.threads/signal-command-multiple-signals-pending.exp
3628 * gdb.threads/signal-delivered-right-thread.exp
3629 * gdb.threads/signal-sigtrap.exp
3630 * gdb.threads/sigthread.exp
3631 * gdb.threads/staticthreads.exp
3632 * gdb.threads/stepi-random-signal.exp
3633 * gdb.threads/thread-unwindonsignal.exp
3634 * gdb.threads/thread_check.exp
3635 * gdb.threads/thread_events.exp
3636 * gdb.threads/tid-reuse.exp
3637 * gdb.threads/tls-nodebug.exp
3638 * gdb.threads/tls-shared.exp
3639 * gdb.threads/tls-so_extern.exp
3640 * gdb.threads/tls.exp
3641 * gdb.threads/wp-replication.exp
3642 * gdb.trace/actions-changed.exp
3643 * gdb.trace/actions.exp
3644 * gdb.trace/backtrace.exp
3645 * gdb.trace/change-loc.exp
3646 * gdb.trace/collection.exp
3647 * gdb.trace/deltrace.exp
3648 * gdb.trace/disconnected-tracing.exp
3649 * gdb.trace/entry-values.exp
3650 * gdb.trace/ftrace-lock.exp
3651 * gdb.trace/ftrace.exp
3652 * gdb.trace/infotrace.exp
3653 * gdb.trace/mi-trace-frame-collected.exp
3654 * gdb.trace/mi-trace-unavailable.exp
3655 * gdb.trace/mi-traceframe-changed.exp
3656 * gdb.trace/mi-tracepoint-changed.exp
3657 * gdb.trace/mi-tsv-changed.exp
3658 * gdb.trace/no-attach-trace.exp
3659 * gdb.trace/packetlen.exp
3660 * gdb.trace/passc-dyn.exp
3661 * gdb.trace/passcount.exp
3662 * gdb.trace/pending.exp
3663 * gdb.trace/pr16508.exp
3664 * gdb.trace/qtro.exp
3665 * gdb.trace/range-stepping.exp
3666 * gdb.trace/read-memory.exp
3667 * gdb.trace/report.exp
3668 * gdb.trace/save-trace.exp
3669 * gdb.trace/signal.exp
3670 * gdb.trace/stap-trace.exp
3671 * gdb.trace/status-stop.exp
3672 * gdb.trace/strace.exp
3673 * gdb.trace/tfile.exp
3674 * gdb.trace/tfind.exp
3675 * gdb.trace/trace-break.exp
3676 * gdb.trace/trace-condition.exp
3677 * gdb.trace/trace-enable-disable.exp
3678 * gdb.trace/trace-mt.exp
3679 * gdb.trace/tracecmd.exp
3680 * gdb.trace/tracefile-pseudo-reg.exp
3681 * gdb.trace/tspeed.exp
3682 * gdb.trace/tstatus.exp
3684 * gdb.trace/unavailable.exp
3685 * gdb.trace/while-dyn.exp
3686 * gdb.trace/while-stepping.exp
3689 * lib/mi-support.exp
3692 * lib/prelink-support.exp
3693 * lib/selftest-support.exp
3695 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
3697 * Makefile.in: Include disable-implicit-rules.mk.
3699 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3701 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
3702 non-byte-aligned bit fields.
3704 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3707 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
3708 respects the DW_AT_data_bit_offset attribute.
3710 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
3712 * gdb.base/default.exp: Fix output of "set language".
3714 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
3716 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
3717 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
3719 * configure.ac: Remove checks for the make program.
3720 * configure: Re-generate.
3722 2016-11-16 Kevin Buettner <kevinb@redhat.com>
3724 * gdb.python/py-recurse-unwind.c (main): Add loop.
3725 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
3726 to read_register() and gdb.parse_and_eval(). Make each code
3727 call a separate case that can be individually tested.
3728 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
3729 proc. Call cont_and_backtrace for each of the code paths that
3730 we want to test in the unwinder.
3732 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
3734 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
3735 the definition of struct S.
3737 2016-11-11 Catherine Moore <clm@codesourcery.com>
3739 * gdb.base/dump.exp: Identify verilog format dump tests as such.
3741 2016-11-09 Pedro Alves <palves@redhat.com>
3743 * gdb.base/commands.exp (runto_or_return): New procedure.
3744 (gdbvar_simple_if_test, gdbvar_simple_while_test)
3745 (gdbvar_complex_if_while_test, progvar_simple_if_test)
3746 (progvar_simple_while_test, progvar_complex_if_while_test)
3747 (if_while_breakpoint_command_test)
3748 (infrun_breakpoint_command_test, breakpoint_command_test)
3749 (user_defined_command_test, watchpoint_command_test)
3750 (test_command_prompt_position, redefine_hook_test)
3751 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
3752 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
3753 multi_line_input and multi_line. Remove gdb_expect and
3754 gdb_stop_suppressing_tests uses.
3755 * lib/gdb.exp (valnum_re): New global.
3756 (multi_line_input): New procedure.
3758 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
3760 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
3762 (test_setup): Define with proc_with_prefix.
3763 (test_cli_inferior): Likewise.
3764 (test_cli_thread): Likewise.
3765 (test_cli_frame): Likewise.
3766 (test_cli_select_frame): Likewise.
3767 (test_cli_up_down): Likewise.
3768 (test_mi_thread_select): Likewise.
3769 (test_mi_stack_select_frame): Likewise.
3770 (test_cli_in_mi_inferior): Likewise.
3771 (test_cli_in_mi_thread): Likewise.
3772 (test_cli_in_mi_frame): Likewise.
3773 (top level): Do not use with_test_prefix_procname.
3775 2016-11-09 Pedro Alves <palves@redhat.com>
3777 * gdb.base/commands.exp (gdbvar_simple_if_test)
3778 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
3779 (progvar_simple_if_test, progvar_simple_while_test)
3780 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
3781 (infrun_breakpoint_command_test, breakpoint_command_test)
3782 (user_defined_command_test, watchpoint_command_test)
3783 (test_command_prompt_position, deprecated_command_test)
3784 (bp_deleted_in_command, temporary_breakpoint_commands)
3785 (stray_arg0_test, source_file_with_indented_comment)
3786 (recursive_source_test, if_commands_test)
3787 (error_clears_commands_left, redefine_hook_test)
3788 (redefine_backtrace_test): Use proc_with_prefix.
3789 * lib/gdb.exp (proc_with_prefix): New proc.
3791 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
3793 * gdb.base/tui-layout.c: New file.
3794 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
3795 disassembly window contains very long lines.
3797 2016-11-08 Tom Tromey <tom@tromey.com>
3799 * gdb.python/py-value.exp (test_value_creation): Make "long" test
3802 2016-11-08 Tom Tromey <tom@tromey.com>
3804 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
3807 2016-10-29 Manish Goregaokar <manish@mozilla.com>
3809 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
3811 2016-10-27 Manish Goregaokar <manish@mozilla.com>
3813 * gdb.rust/simple.rs: Add test for univariant enums without
3814 discriminants and for encoded struct-like enums.
3816 2016-10-28 Pedro Alves <palves@redhat.com>
3818 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
3819 gdb_test_multiple, tighten regexps and match symtabs and line
3820 tables incrementally.
3822 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
3824 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
3827 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
3829 * gdb.base/exec-invalid-sysroot.exp: New file.
3831 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3833 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
3835 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3837 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
3839 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
3841 * gdb.base/killed-outside.exp: Remove $options from a call to
3842 `prepare_for_testing'.
3844 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3846 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
3847 Change test message.
3849 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3851 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
3854 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3856 * gdb.trace/mi-trace-save.exp: New file.
3858 2016-10-13 Yao Qi <yao.qi@linaro.org>
3860 * gdb.base/code_elim.exp (get_var_address): Remove.
3861 * gdb.base/relocate.exp: Likewise.
3862 * gdb.base/shreloc.exp: Likewise.
3863 * lib/gdb.exp (get_var_address): New.
3865 2016-10-13 Yao Qi <yao.qi@linaro.org>
3867 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
3868 floating point tests if $skip_float_test is false.
3870 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
3872 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
3873 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
3875 Add 1 to argc so we guarantee distinct initial/modified argc values.
3877 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3879 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
3881 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3883 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
3884 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
3885 * gdb.arch/vsx-regs.exp: Likewise.
3887 2016-10-07 Yao Qi <yao.qi@linaro.org>
3889 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
3891 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
3893 * gdb.python/python.exp: Test decode_line("*0").
3895 2016-10-06 Doug Evans <dje@google.com>
3897 * gdb.python/py-value.exp (test_value_creation): Add test for large
3898 unsigned 64-bit value.
3900 2016-10-06 Tom Tromey <tom@tromey.com>
3902 * gdb.compile/compile.exp: Change java tests to rust.
3903 * gdb.base/setshow.exp: Change java tests to rust.
3904 * gdb.base/default.exp: Remove java from language list.
3905 * README (Examples): Update language example.
3906 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
3908 * lib/gdb.exp (skip_java_tests): Remove.
3909 * lib/java.exp: Remove.
3912 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
3914 * gdb.arch/mips-fcr.exp: New test.
3915 * gdb.arch/mips-fcr.c: Source for the new test.
3917 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
3919 * gdb.base/solib-disc.exp: Use `standard_output_file'
3922 2016-10-06 Pedro Alves <palves@redhat.com>
3924 * gdb.base/jit-simple-dl.c: New file.
3925 * gdb.base/jit-simple-jit.c: New file, factored out from ...
3926 * gdb.base/jit-simple.c: ... this.
3927 * gdb.base/jit-simple.exp (jit_run): Delete.
3928 (build_jit): New proc.
3929 (jit_test_reread): Recompile either the main program or the shared
3930 library, depending on what is being tested. Skip changing address
3931 if caller wants to. Compare before/after addresses. If testing
3932 standalone, explicitly load the binary. Test "maint info
3934 (top level): Add "standalone vs shared lib" and "change address"
3935 vs "same address" axes.
3937 2016-10-06 Pedro Alves <palves@redhat.com>
3939 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
3942 (jit_test_reread): Use with_test_prefix. Reload the main binary
3943 explicitly. Compare the before/after addresses of the JIT
3946 2016-08-15 Doug Evans <dje@google.com>
3948 * gdb.xml/extra-regs.xml: Update, end field now required, default type
3949 for single bitfields is bool.
3950 * gdb.xml/tdesc-regs.exp: Ditto.
3952 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3954 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
3956 2016-10-05 Yao Qi <yao.qi@linaro.org>
3958 * lib/gdb.exp (support_complex_tests): Return zero if
3959 gdb_skip_float_test return true.
3961 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
3962 Simon Marchi <simon.marchi@ericsson.com>
3965 * gdb.mi/user-selected-context-sync.exp: New file.
3966 * gdb.mi/user-selected-context-sync.c: New file.
3968 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
3969 Simon Marchi <simon.marchi@ericsson.com>
3972 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
3973 =thread-select-event check.
3975 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
3977 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
3978 the compulsory L operand changes.
3979 * gdb.arch/powerpc-power.s: Likewise.
3981 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3983 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
3984 * gdb.base/jit-attach-pie.c: New file.
3985 * gdb.base/jit-attach-pie.exp: New file.
3987 2016-09-28 Pedro Alves <palves@redhat.com>
3989 * gdb.base/infcall-input.c: New file.
3990 * gdb.base/infcall-input.exp: New file.
3992 2016-09-22 Yao Qi <yao.qi@linaro.org>
3994 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
3995 (gdb_exit): Rename it to ...
3996 (gdbserver_gdb_exit): ... Close GDBserver.
3997 (gdb_exit): New proc, call gdbserver_gdb_exit.
3998 (mi_gdb_exit): Likewise.
4000 2016-09-22 Yao Qi <yao.qi@linaro.org>
4002 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4004 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4007 2016-09-22 Yao Qi <yao.qi@linaro.org>
4009 * lib/gdbserver-support.exp: Check the existence of
4010 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4012 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
4014 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4016 2016-09-21 Tom Tromey <tom@tromey.com>
4019 * gdb.base/quit.exp: New file.
4021 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
4023 * .gitignore: New file.
4025 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
4027 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4030 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4032 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4034 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4036 * gdb.cp/casts.cc (decltype): Move it ...
4037 (main): ... with its call to ...
4038 * gdb.cp/casts03.cc: ... a new file.
4039 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4041 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4043 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4045 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
4047 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
4048 and sync up the test with tests in gas/testsuite/gas/ppc.
4049 * gdb.arch/powerpc-power.exp: Likewise.
4051 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4053 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4055 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
4056 Jan Kratochvil <jan.kratochvil@redhat.com>
4058 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4059 make m1's definition to be different from m2's. Use 'dummy' as an
4060 argument for probe 'two'.
4062 2016-09-10 Jon Beniston <jon@beniston.com>
4064 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4067 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4069 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4070 variable declaration.
4071 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
4072 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4073 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4074 received HWCAP as its argument.
4076 2016-09-06 Pedro Alves <palves@redhat.com>
4078 * gdb.base/new-ui-pending-input.c: New file.
4079 * gdb.base/new-ui-pending-input.exp: New file.
4080 * gdb.exp (clear_gdb_spawn_id): New procedure.
4081 (with_spawn_id): Check whether gdb_spawn_id exists before
4082 referencing it. If gdb_spawn_id didn't exist on entry, clear it
4085 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4087 * gdb.base/float128.c: New file.
4088 * gdb.base/float128.exp: Likewise.
4089 * gdb.base/floatn.c: Likewise.
4090 * gdb.base/floatn.exp: Likewise.
4092 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4094 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4096 2016-09-05 Pedro Alves <palves@redhat.com>
4099 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4100 unwinders are immediately called as side effect of "source" or
4101 "disable unwinder" commands.
4102 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
4104 2016-09-02 Yao Qi <yao.qi@linaro.org>
4106 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4107 is true and $type is "float" or "double".
4109 2016-09-02 Yao Qi <yao.qi@linaro.org>
4111 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
4113 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
4114 * gdb.base/call-rt-st.exp: Likewise.
4115 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
4116 return value instead of gdb,skip_float_test.
4117 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
4118 (do_function_calls): Use its return value instead of
4119 gdb,skip_float_test.
4120 * gdb.base/finish.exp: Likewise.
4121 * gdb.base/funcargs.exp: Likewise.
4122 * gdb.base/return.exp: Likewise.
4123 * gdb.base/return2.exp: Likewise.
4124 * gdb.base/varargs.exp: Likewise.
4125 * lib/gdb.exp (gdb_skip_float_test): Change it to
4126 gdb_caching_proc. Detect the broken ptrace on arm-linux.
4128 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4130 * gdb.multi/tids.exp: Test "thread apply all".
4132 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4134 * gdb.base/default.exp (tty): Remove.
4136 2016-08-24 Kevin Buettner <kevinb@redhat.com>
4138 * gdb.python/py-recurse-unwind.c: New file.
4139 * gdb.python/py-recurse-unwind.py: New file.
4140 * gdb.python/py-recurse-unwind.exp: New file.
4142 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
4144 * gdb.base/set-inferior-tty.exp: New file.
4145 * gdb.base/set-inferior-tty.c: New file.
4147 2016-08-23 Pedro Alves <palves@redhat.com>
4150 * gdb.base/new-ui-echo.c: New file.
4151 * gdb.base/new-ui-echo.exp: New file.
4153 2016-08-23 Yao Qi <yao.qi@linaro.org>
4155 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
4157 * gdb.server/connect-without-multi-process.exp (do_test):
4160 2016-08-23 Yao Qi <yao.qi@linaro.org>
4162 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4163 standalone_txt. Delete gdb_txt and standalone_txt on host
4164 and target. Spawn the binary on target. Copy files from
4167 2016-08-22 Pedro Alves <palves@redhat.com>
4170 * gdb.base/vdso-warning.exp: Test core dumps too. Use
4171 with_test_prefix. Factor out bits to ...
4172 (test_no_vdso): ... this new procedure.
4174 2016-08-19 Carl Love <cel@us.ibm.com>
4176 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4177 maintaining separate logic for constructing the output path.
4178 * gdb.arch/powerpc-d128-regs.exp: Likewise.
4179 * gdb.arch/ppc-dfp.exp: Likewise.
4180 * gdb.arch/ppc-fp.exp: Likewise.
4181 * gdb.arch/vsx-regs.exp: Likewise.
4182 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
4183 binprefix for generating the additional binary files.
4185 2016-08-19 Pedro Alves <palves@redhat.com>
4187 * gdb.trace/mi-trace-frame-collected.exp
4188 (test_trace_frame_collected): On x32, expect two registers.
4190 2016-08-18 Carl Love <cel@us.ibm.com>
4192 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
4193 and sync up the test with tests in gas/testsuite/gas/ppc.
4194 * gdb.arch/powerpc-power.exp: Likewise.
4196 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4198 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
4199 expected error message.
4201 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4203 * gdb.multi/remove-inferiors.exp: New file.
4204 * gdb.multi/remove-inferiors.c: New file.
4206 2016-08-12 Yao Qi <yao.qi@linaro.org>
4208 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
4211 2016-08-10 Pedro Alves <palves@redhat.com>
4214 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
4217 2016-08-09 Pedro Alves <palves@redhat.com>
4218 Simon Marchi <simon.marchi@ericsson.com>
4221 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
4222 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
4224 2016-08-09 Pedro Alves <palves@redhat.com>
4227 * gdb.mi/mi-cmd-error.exp: New file.
4229 2016-08-09 Pedro Alves <palves@redhat.com>
4232 * gdb.base/signals-state-child.c: New file.
4233 * gdb.base/signals-state-child.exp: New file.
4234 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
4236 2016-08-09 Pedro Alves <palves@redhat.com>
4238 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4240 2016-08-03 Tom Tromey <tom@tromey.com>
4243 * gdb.python/py-frame-inline.exp: Add Frame.function test.
4245 2016-08-01 Yao Qi <yao.qi@linaro.org>
4247 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
4248 variable mode to "multi-process" if $multi_process is 1, otherwise
4249 set it to "single-process".
4251 2016-08-01 Yao Qi <yao.qi@linaro.org>
4253 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
4254 * gdb.cp/cpexprs.exp: Likewise.
4255 * gdb.cp/m-static.exp: Likewise.
4257 2016-07-26 Tom Tromey <tom@tromey.com>
4260 * gdb.threads/tls.exp (check_thread_local): Add python symbol
4263 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
4265 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4266 selecting assembly source files.
4267 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
4268 assembly source files.
4269 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
4270 assembly source files.
4271 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
4272 selecting assembly source files.
4274 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
4276 * gdb.base/new-ui.exp (do_test_invalid_args): New
4279 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
4281 * gdb.btrace/reconnect.c: New file.
4282 * gdb.btrace/reconnect.exp: New file.
4284 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
4286 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
4287 to test_catch_syscall_group.
4288 (test_catch_syscall_group): New.
4290 2016-07-21 Tom Tromey <tom@tromey.com>
4292 * gdb.rust/simple.rs (main): Use empty struct expression.
4293 * gdb.rust/simple.exp: Add tests for empty struct expression.
4295 2016-07-21 Yao Qi <yao.qi@linaro.org>
4297 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
4298 if gdb_skip_xml_test is true on some targets.
4300 2016-07-21 Yao Qi <yao.qi@linaro.org>
4302 * gdb.server/solib-list.exp: Unset last_loaded_file.
4304 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4306 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
4307 "step into captured_main (args)".
4309 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4311 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
4313 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4315 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
4317 2016-07-19 Pedro Alves <palves@redhat.com>
4319 * gdb.opt/inline-break.exp: Remove optimize=-O2.
4320 * gdb.opt/inline-bt.exp: Likewise.
4321 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
4322 additional_flags=-Winline.
4323 * gdb.opt/inline-locals.exp: Likewise.
4324 * gdb.opt/inline-markers.c (ATTR): Define.
4325 (inlined_fn): Use it.
4327 2016-07-19 Yao Qi <yao.qi@linaro.org>
4329 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
4330 (test_with_self): Remove some code. Remove argument executable.
4331 (top-level): Use do_self_tests.
4333 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
4334 Don Breazeal <donb@codesourcery.com>
4336 * gdb.base/maint.exp: Escape paths used in regular expressions.
4337 * gdb.stabs/weird.exp: Likewise.
4339 2016-07-13 Tom Tromey <tom@tromey.com>
4341 PR python/15620, PR python/18620:
4342 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
4343 (test_bkpt_events): New procs.
4345 2016-07-13 Tom Tromey <tom@tromey.com>
4348 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
4350 (test_watchpoints): Likewise.
4351 (test_bkpt_pending): New proc.
4353 2016-07-13 Tom Tromey <tom@tromey.com>
4356 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
4359 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4361 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
4362 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
4363 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
4365 (g): Rename g_end_lbl to g_label.
4366 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
4368 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
4370 2016-07-12 Tom Tromey <tom@tromey.com>
4373 * gdb.python/py-unwind-maint.exp: Update tests.
4375 2016-07-12 Yao Qi <yao.qi@linaro.org>
4377 * lib/selftest-support.exp (selftest_setup): Match the output
4378 when captured_main is inlined.
4380 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4382 * gdb.fortran/derived-types.exp (result_line, result_line_2):
4384 (print this%a, print this%b, print this): New tests.
4385 * gdb.fortran/derived-types.f90 (this): New object and
4388 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4390 * gdb.ada/arraydim.exp: Remove extra directory level in build
4393 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4395 * lib/ada.exp: Remove extra directory level in build directory.
4396 * gdb.ada/cond_lang.exp: Likewise.
4397 * gdb.ada/exec_changed.exp: Likewise.
4398 * gdb.ada/lang_switch.exp: Likewise.
4400 2016-07-06 Manish Goregaokar <manish@mozilla.com>
4402 * simple.rs: Add test for raw pointer subscripting.
4403 * simple.exp: Add test expectations.
4405 2016-07-05 Yao Qi <yao.qi@linaro.org>
4407 * gdb.mi/mi-reverse.exp: Match =record-started output.
4409 2016-07-01 Pedro Alves <palves@redhat.com>
4411 * gdb.base/jit-reader.exp (info_registers_current_frame): New
4413 (jit_reader_test): Test the jit reader's unwinder.
4414 * gdb.base/jithost.c (jit_function_00_code): New global.
4415 (main): Use memcpy to fill in the mmapped code, instead of poking
4416 bytes manually here.
4417 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
4419 (read_debug_info): Save the function's range.
4420 (read_sp): New function.
4421 (unwind_frame): Use it. Also unwind RBP.
4422 (get_frame_id): Use read_sp.
4423 (gdb_init_reader): Use calloc instead of malloc.
4424 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
4425 parameter. Use gdb_test_multiple.
4427 2016-07-01 Pedro Alves <palves@redhat.com>
4428 Antoine Tremblay <antoine.tremblay@ericsson.com>
4430 * gdb.threads/process-dies-while-detaching.c: New file.
4431 * gdb.threads/process-dies-while-detaching.exp: New file.
4433 2016-07-01 Pedro Alves <palves@redhat.com>
4435 * gdb.multi/watchpoint-multi-exit.c: New file.
4436 * gdb.multi/watchpoint-multi-exit.exp: New file.
4438 2016-06-30 Pedro Alves <palves@redhat.com>
4440 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
4441 unset inferior_spawn_id.
4443 2016-06-30 Pedro Alves <palves@redhat.com>
4445 * lib/mi-support.exp (default_mi_gdb_start): Declare global
4446 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
4448 2016-06-29 Yao Qi <yao.qi@linaro.org>
4450 * gdb.base/return.c: Add copyright header.
4452 2016-06-29 Tom Tromey <tom@tromey.com>
4455 * gdb.python/py-framefilter.exp: Add tests for setting priority
4456 and disabling of non-existent frame filter.
4458 2016-06-29 Yao Qi <yao.qi@linaro.org>
4460 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
4463 2016-06-28 Yao Qi <yao.qi@linaro.org>
4465 * gdb.base/catch-syscall.exp: Remove check on isnative and target
4466 triplets. Start gdb, execute catch syscall, and continue. Check
4467 gdb's output to determine catch syscall is supported.
4469 2016-06-27 Manish Goregaokar <manish@mozilla.com>
4471 * gdb.rust/simple.rs: Add test for returning unit in a function.
4472 * gdb.rust/simple.exp: Add expectation for functions returning
4475 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
4477 * gdb.python/py-breakpoint-create-fail.c,
4478 gdb.python/py-breakpoint-create-fail.exp,
4479 gdb.python/py-breakpoint-create-fail.py: New testcase.
4481 2016-06-25 Manish Goregaokar <manish@mozilla.com>
4484 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
4485 * gdb.rust/simple.exp: Add test expectations for new NonZero
4488 2016-06-24 David Taylor <dtaylor@emc.com>
4490 * gdb.base/offsets.exp: New file.
4491 * gdb.base/offsets.c: New file.
4493 2016-06-23 Tom Tromey <tom@tromey.com>
4496 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
4497 before any filters are loaded.
4499 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
4501 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
4502 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
4504 * gdb.fortran/derived-type-function.exp: New file.
4505 * gdb.fortran/derived-type-function.f90: New file.
4508 2016-06-21 Pedro Alves <palves@redhat.com>
4510 * gdb.base/new-ui.exp: New file.
4511 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
4512 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
4513 (with_spawn_id): New procedure.
4515 2016-06-21 Pedro Alves <palves@redhat.com>
4517 * gdb.mi/mi-exec-run.exp: New file.
4519 2016-06-21 Pedro Alves <palves@redhat.com>
4521 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
4522 breakpoint command's output on the main UI.
4523 (test_break): New procedure, factored out from calls in the top
4525 (top level): Use foreach_with_prefix to test MI as main UI and as
4528 2016-06-21 Pedro Alves <palves@redhat.com>
4530 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
4531 (test_awatch_creation_and_listing)
4532 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
4533 Remove 'type' parameter.
4534 (test_watchpoint_all): New parameter mi_mode. Remove
4536 (top level): Use foreach_with_prefix, and add main/separate UI MI
4539 2016-06-21 Pedro Alves <palves@redhat.com>
4541 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
4542 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
4543 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
4544 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
4545 (gdb_main_spawn_id, mi_spawn_id): Declare and
4547 (mi_create_inferior_pty): New procedure,
4548 factored out from default_mi_gdb_start.
4549 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
4551 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
4552 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
4553 Use mi_create_inferior_pty.
4554 (mi_gdb_start): Use eval to pass down args list.
4556 2016-06-21 Pedro Alves <palves@redhat.com>
4558 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
4559 * gdb.opt/inline-cmds.exp: Add MI tests.
4561 2016-06-21 Pedro Alves <palves@redhat.com>
4563 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
4565 2016-06-21 Pedro Alves <palves@redhat.com>
4567 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
4568 (top level): Use it instead of mi_execute_to.
4570 2016-06-21 Pedro Alves <palves@redhat.com>
4572 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
4573 (cont_handler_str): New.
4574 (signal_stop_handler): Set stop_handler_str instead of printing to
4576 (continue_handler): Set cont_handler_str instead of printing to
4578 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
4579 mi_send_resuming_command. Print stop_handler_str and
4580 cont_handler_str instead of expecting the python events print
4583 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
4585 * gdb.base/jit-reader.exp: New file.
4586 * gdb.base/jithost.c: New file.
4587 * gdb.base/jithost.h: New file.
4588 * gdb.base/jitreader.c : New file.
4589 * gdb.base/jit-protocol.h: New file.
4591 2016-06-17 Yao Qi <yao.qi@linaro.org>
4593 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
4594 parameters follow_fork and detach_on_fork. Set follow-fork-mode
4595 and detach-on-fork. Adjust tests.
4596 (top level): Invoke break_cond_on_syscall with combinations of
4597 syscall, follow-fork-mode and detach-on-fork.
4599 2016-06-17 Yao Qi <yao.qi@linaro.org>
4601 * gdb.base/step-over-exit.c: New.
4602 * gdb.base/step-over-exit.exp: New.
4604 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
4606 * gdb.base/float.exp: Add target check for nds32*-*-*.
4607 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
4609 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
4611 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
4612 for unsupported target features.
4613 * gdb.base/call-rt-st.exp: Likewise.
4614 * gdb.base/call-sc.exp: Likewise.
4615 * gdb.base/call-signal-resume.exp: Likewise.
4616 * gdb.base/call-strs.exp: Likewise.
4617 * gdb.base/callexit.exp: Likewise.
4618 * gdb.base/callfuncs.exp: Likewise.
4619 * gdb.base/nodebug.exp: Likewise.
4620 * gdb.base/printcmds.exp: Likewise.
4621 * gdb.base/ptype.exp: Likewise.
4622 * gdb.base/structs.exp: Likewise.
4623 * gdb.base/unwindonsignal.exp: Likewise.
4624 * gdb.cp/gdb2495.exp: Likewise.
4625 * gdb.cp/templates.exp: Likewise.
4626 * gdb.cp/virtfunc.exp: Likewise.
4627 * gdb.threads/hand-call-in-threads.exp: Likewise.
4628 * gdb.threads/interrupted-hand-call.exp: Likewise.
4629 * gdb.threads/thread-unwindonsignal.exp: Likewise.
4631 2016-06-10 Tom Tromey <tom@tromey.com>
4634 * gdb.rust/expr.exp: Add test for integer constant larger than
4637 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
4639 * gdb.fortran/nested-funcs.exp: New.
4640 * gdb.fortran/nested-funcs.f90: New.
4642 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
4644 * gdb.base/examine-backward.c: New file.
4645 * gdb.base/examine-backward.exp: New file.
4647 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
4649 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
4652 2016-06-02 Tom Tromey <tom@tromey.com>
4655 * gdb.python/py-shared.exp: Add solib_name test.
4657 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
4659 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
4661 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
4664 * gdb.dwarf2/implref.exp: Rename to...
4665 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
4666 * gdb.dwarf2/implref-array.c: New file.
4667 * gdb.dwarf2/implref-array.exp: Likewise.
4668 * gdb.dwarf2/implref-global.c: Likewise.
4669 * gdb.dwarf2/implref-global.exp: Likewise.
4670 * gdb.dwarf2/implref-struct.c: Likewise.
4671 * gdb.dwarf2/implref-struct.exp: Likewise.
4673 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4675 * gdb.trace/trace-condition.exp: Add 64bit tests.
4677 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4679 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
4681 (main): Adapt to 8 to 64 bits types.
4682 * gdb.trace/trace-condition.exp: Add new tests.
4684 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4686 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
4688 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4690 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
4691 Move condition tests...
4692 * gdb.trace/trace-condition.exp: Here.
4694 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
4696 * gdb.trace/trace-condition.exp: Add counter-case tests.
4698 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4701 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
4702 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
4704 2016-05-27 Pedro Alves <palves@redhat.com>
4706 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4708 (top level): Call it, and bail out of DejaGnu is known to be bad.
4710 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
4712 * gdb.base/whatis.c: Extend the test case.
4713 * gdb.base/whatis.exp: Add additional tests.
4715 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4717 * gdb.fortran/type.f90: Add pointer variable.
4718 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
4720 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4722 * gdb.fortran/vla-type.exp: Fix testcase name.
4724 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4726 * gdb.fortran/vla-type.exp: Access elements in nested structs.
4728 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4730 * gdb.fortran/type.f90: Add nested structures.
4731 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
4732 * gdb.fortran/derived-type.exp: Adapt expected output.
4733 * gdb.fortran/vla-type.exp: Adapt expected output.
4735 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4737 * gdb.fortran/whatis_type.exp: Adapt expected output.
4739 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4741 * gdb.fortran/print_type.exp: Fix expected output.
4742 * gdb.fortran/whatis_type.exp: Fix expected output.
4744 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
4746 * gdb.fortran/whatis_type.exp: Use multi_line.
4748 2016-05-24 Tom Tromey <tom@tromey.com>
4751 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
4752 use value as an index.
4754 2016-05-23 Tom Tromey <tom@tromey.com>
4757 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
4760 2016-05-24 Pedro Alves <palves@redhat.com>
4763 * gdb.threads/clone-attach-detach.c: New file.
4764 * gdb.threads/clone-attach-detach.exp: New file.
4766 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
4768 * gdb.base/annota-input-while-running.exp: Fix syntax error.
4770 2016-05-23 Tom Tromey <tom@tromey.com>
4772 PR python/19438, PR python/18393:
4773 * gdb.python/py-progspace.exp: Add "dir" test.
4774 * gdb.python/py-objfile.exp: Add "dir" test.
4776 2016-05-23 Yao Qi <yao.qi@linaro.org>
4778 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
4779 * gdb.arch/thumb2-it.exp: Likewise.
4781 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
4783 * gdb.mi/mi-threads-interrupt.c: New file.
4784 * gdb.mi/mi-threads-interrupt.exp: New file.
4786 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
4789 * gdb.mi/mi-async-run.exp: New file.
4790 * gdb.mi/mi-async-run.c: New file.
4792 2016-05-17 Tom Tromey <tom@tromey.com>
4793 Manish Goregaokar <manishsmail@gmail.com>
4795 * lib/rust-support.exp: New file.
4796 * lib/gdb.exp (skip_rust_tests): New proc.
4797 (build_executable_from_specs): Handle rust.
4798 * lib/future.exp (gdb_find_rustc): New proc.
4799 (gdb_default_target_compile): Handle rust.
4800 * gdb.rust/expr.exp: New file.
4801 * gdb.rust/generics.exp: New file.
4802 * gdb.rust/generics.rs: New file.
4803 * gdb.rust/methods.exp: New file.
4804 * gdb.rust/methods.rs: New file.
4805 * gdb.rust/modules.exp: New file.
4806 * gdb.rust/modules.rs: New file.
4807 * gdb.rust/simple.exp: New file.
4808 * gdb.rust/simple.rs: New file.
4810 2016-05-17 Tom Tromey <tom@tromey.com>
4812 * gdb.base/default.exp (set language): Add rust.
4814 2016-05-17 Tom Tromey <tom@tromey.com>
4816 * gdb.gdb/unittest.exp: New file.
4818 2016-05-16 Yao Qi <yao.qi@linaro.org>
4820 * gdb.base/batch-preserve-term-settings.exp: Remove variable
4821 shell_prompt. Update shell_prompt_re.
4823 2016-05-12 Doug Evans <dje@google.com>
4826 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
4827 $options when building executable.
4828 * gdb.dwarf2/fission-loclists-pie.S: New file.
4829 * gdb.dwarf2/fission-loclists-pie.exp: New file.
4831 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
4833 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
4834 of [is_remote target],
4836 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
4838 * lib/gdb.exp (use_gdb_stub): New procedure.
4840 2016-05-03 Yunlian Jiang <yunlian@google.com>
4841 Doug Evans <dje@google.com>
4844 * gdb.dwarf2/dwp-sepdebug.c: New file.
4845 * gdb.dwarf2/dwp-sepdebug.exp: New file.
4847 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
4849 * gdb.base/detach.exp: Remove is_remote check.
4851 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
4853 * gdb.base/annota-input-while-running.exp: Don't check for
4854 [is_remote target]. Enable annotations after running to main.
4855 Remove unused "set test..." line.
4857 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
4859 * gdb.trace/trace-enable-disable.exp: New file.
4860 * gdb.trace/trace-enable-disable.c: New file.
4862 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
4864 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
4865 use it in info sharedlibrary test.
4866 * gdb.trace/ftrace-lock.exp: Likewise.
4867 * gdb.trace/ftrace.exp: Likewise.
4868 * gdb.trace/range-stepping.exp: Likewise.
4869 * gdb.trace/trace-break.exp: Likewise.
4870 * gdb.trace/trace-condition.exp: Likewise.
4871 * gdb.trace/trace-mt.exp: Likewise.
4873 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
4875 * lib/gdb.exp (gdb_load_shlibs): Rename to...
4876 (gdb_load_shlib): ... this.
4877 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
4879 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
4880 * gdb.base/ctxobj.exp: Likewise.
4881 * gdb.base/dprintf-pending.exp: Likewise.
4882 * gdb.base/dso2dso.exp: Likewise.
4883 * gdb.base/fixsection.exp: Likewise.
4884 * gdb.base/gcore-relro.exp: Likewise.
4885 * gdb.base/gdb1555.exp: Likewise.
4886 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4887 * gdb.base/gnu-ifunc.exp: Likewise.
4888 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
4889 * gdb.base/jit-so.exp (one_jit_test): Likewise.
4890 * gdb.base/pending.exp: Likewise.
4891 * gdb.base/print-file-var.exp: Likewise.
4892 * gdb.base/print-symbol-loading.exp: Likewise.
4893 * gdb.base/shlib-call.exp: Likewise.
4894 * gdb.base/shreloc.exp: Likewise.
4895 * gdb.base/so-impl-ld.exp: Likewise.
4896 * gdb.base/solib-disc.exp: Likewise.
4897 * gdb.base/solib-nodir.exp: Likewise.
4898 * gdb.base/solib-overlap.exp: Likewise.
4899 * gdb.base/solib-symbol.exp: Likewise.
4900 * gdb.base/solib-weak.exp (do_test): Likewise.
4901 * gdb.base/sym-file.exp: Likewise.
4902 * gdb.base/symtab-search-order.exp: Likewise.
4903 * gdb.base/type-opaque.exp: Likewise.
4904 * gdb.base/unload.exp: Likewise.
4905 * gdb.base/watchpoint-solib.exp: Likewise.
4906 * gdb.compile/compile.exp: Likewise.
4907 * gdb.cp/gdb2384.exp: Likewise.
4908 * gdb.cp/infcall-dlopen.exp: Likewise.
4909 * gdb.cp/re-set-overloaded.exp: Likewise.
4910 * gdb.fortran/library-module.exp: Likewise.
4911 * gdb.opt/solib-intra-step.exp: Likewise.
4912 * gdb.python/py-finish-breakpoint.exp: Likewise.
4913 * gdb.python/py-shared.exp: Likewise.
4914 * gdb.reverse/solib-precsave.exp: Likewise.
4915 * gdb.reverse/solib-reverse.exp: Likewise.
4916 * gdb.server/solib-list.exp: Likewise.
4917 * gdb.threads/dlopen-libpthread.exp: Likewise.
4918 * gdb.threads/tls-shared.exp: Likewise.
4919 * gdb.threads/tls-so_extern.exp: Likewise.
4920 * gdb.trace/change-loc.exp: Likewise.
4921 * gdb.trace/ftrace-lock.exp: Likewise.
4922 * gdb.trace/ftrace.exp: Likewise.
4923 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
4924 * gdb.trace/pending.exp: Likewise.
4925 * gdb.trace/range-stepping.exp: Likewise.
4926 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
4927 (strace_info_marker): Likewise.
4928 (strace_probe_marker): Likewise.
4929 (strace_trace_on_same_addr): Likewise.
4930 (strace_trace_on_diff_addr): Likewise.
4931 * gdb.trace/trace-break.exp: Likewise.
4932 * gdb.trace/trace-condition.exp: Likewise.
4933 * gdb.trace/trace-mt.exp: Likewise.
4935 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
4937 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
4938 result of gdb_remote_download.
4939 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
4940 * gdb.base/dso2dso.exp: Likewise.
4941 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4942 * gdb.base/print-file-var.exp: Likewise.
4943 * gdb.base/shlib-call.exp: Likewise.
4944 * gdb.base/shreloc.exp: Likewise.
4945 * gdb.base/solib-overlap.exp: Likewise.
4946 * gdb.base/solib-weak.exp (do_test): Likewise.
4947 * gdb.base/unload.exp: Likewise.
4949 2016-04-27 Yao Qi <yao.qi@linaro.org>
4951 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
4954 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4956 * vla-type.exp: Print structure from toplevel.
4958 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4960 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
4962 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
4965 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4967 * gdb.fortran/vla-type.f90: New file.
4968 * gdb.fortran/vla-type.exp: New file.
4970 2016-04-25 Yao Qi <yao.qi@linaro.org>
4972 * gdb.base/branch-to-self.c: New file.
4973 * gdb.base/branch-to-self.exp: New file.
4975 2016-04-22 Yao Qi <yao.qi@linaro.org>
4977 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
4980 2016-04-22 Yao Qi <yao.qi@linaro.org>
4982 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
4983 * gdb.base/annota3.exp: Likewise.
4985 2016-04-22 Yao Qi <yao.qi@linaro.org>
4987 * gdb.reverse/step-precsave.exp: Do one step and test program
4988 stops in "callee" and do multiple steps until program goes out
4990 * gdb.reverse/step-reverse.exp: Likewise.
4992 2016-04-22 Yao Qi <yao.qi@linaro.org>
4994 * gdb.trace/signal.exp: Also pass if
4995 $tracepoint_hits($i) > $iterations.
4997 2016-04-22 Yao Qi <yao.qi@linaro.org>
4999 * gdb.trace/signal.c: New file.
5000 * gdb.trace/signal.exp: New file.
5002 2016-04-19 Doug Evans <xdje42@gmail.com>
5004 * gdb.base/bad-file.exp: New file.
5006 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
5008 * gdb.dwarf2/implref.exp: New file.
5010 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5012 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5013 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5014 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5015 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5016 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5017 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5018 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5019 * lib/fortran.exp (fortran_int4): New procedure.
5020 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5021 (fortran_logical4): Likewise.
5023 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
5025 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5027 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5029 * lib/compiler.c: Add Intel specific preprocessor macros.
5030 * lib/compiler.cc: Likewise.
5032 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
5034 * gdb.server/connect-with-no-symbol-file.c: New file.
5035 * gdb.server/connect-with-no-symbol-file.exp: New file.
5037 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5039 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5041 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5043 * boards/gdbserver-base.exp (${board}_download): Copy source file to
5044 standard output directory.
5046 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
5048 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5050 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
5052 * gdb.btrace/instruction_history.c (loop): Add declaration.
5054 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5056 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5058 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
5060 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5061 parentheses to print.
5062 (continue_handler): Likewise.
5064 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
5066 * gdb.server/solib-list.exp: Remove is_remote check.
5067 Pass shlib= to gdb_compile. Don't link shared library with
5068 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
5069 Run binary filename through "readlink -f" on the target.
5071 2016-04-08 Pedro Alves <palves@redhat.com>
5073 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
5074 interpreter filename as argument to gdbserver_spawn.
5075 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5076 Return empty if $last_loaded_file does not exist.
5078 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5080 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5081 * gdb.base/jit-main.c: Use exit after usage.
5083 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5085 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5086 GDBHISTSIZE prior to the tests.
5087 * gdb.base/gdbinit-history.exp: Likewise.
5089 2016-04-07 Pedro Alves <palves@redhat.com>
5091 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5092 instead of build_executable. Use gdb_load_shlibs.
5094 2016-04-07 Yao Qi <yao.qi@linaro.org>
5096 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5097 Execute "si" command.
5099 2016-04-07 Yao Qi <yao.qi@linaro.org>
5101 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5102 number instead of the comments on some line.
5104 2016-04-06 Don Breazeal <donb@codesourcery.com>
5106 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
5107 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
5109 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
5111 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
5112 standard_output_file. Remove unused binfile variable.
5114 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
5116 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
5117 * gdb.python/py-mi-objfile.exp: Match "list main" output
5120 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
5122 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
5125 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5127 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
5129 * gdb.trace/ftrace.exp: Likewise.
5130 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
5132 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
5133 (gdb_load_shlibs): Copy libraries to test directory when testing
5134 natively. Only set solib-search-path if testing remotely.
5135 * lib/mi-support.exp (mi_load_shlibs): Likewise.
5137 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5139 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
5140 gdb_download. Use it even if the target is not remote.
5141 * gdb.base/jit.exp (compile_jit_test): Likewise.
5142 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
5143 output directory if the destination board is local, otherwise use
5144 the standard remote_download from DejaGnu.
5145 (gdb_download): Remove.
5146 (gdb_load_shlibs): Use gdb_remote_download instead of
5148 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5149 Use gdb_remote_download instead of gdb_download. Use it even if
5150 the target is not remote.
5151 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
5152 instead of gdb_download.
5154 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
5156 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
5157 (test_insert_delete_modify): Call mi_load_shlibs before trying to
5160 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
5163 * gdb.base/printcmds.exp: Add artificial arrays tests.
5165 2016-03-31 Pedro Alves <palves@redhat.com>
5168 * gdb.base/jit-main.c: Include unistd.h.
5169 (ATTACH): Define to 0 if not already defined.
5170 (wait_for_gdb, mypid): New globals.
5171 (WAIT_FOR_GDB): New macro.
5172 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
5173 some breakpoint locations.
5174 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
5176 (one_jit_test): Add REATTACH parameter, and handle it. Use
5177 continue_to_test_location.
5178 (top level): Test attach, and adjusts calls to one_jit_test.
5180 2016-03-31 Pedro Alves <palves@redhat.com>
5183 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
5184 BINSUFFIX parameter, and handle it.
5185 (top level): Adjust calls compile_jit_test.
5187 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
5190 * gdb.python/py-mi-events-gdb.py: New file.
5191 * gdb.python/py-mi-events.c: New file.
5192 * gdb.python/py-mi-events.exp: New file.
5194 2016-03-30 Yao Qi <yao.qi@linaro.org>
5196 * gdb.reverse/until-precsave.exp: Match function name only.
5197 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
5198 Move malloc to a condition block.
5199 * gdb.reverse/until-reverse.exp: Match function name only.
5201 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
5203 * gdb.trace/ftrace.exp: Set arg0exp for s390.
5204 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
5205 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
5206 variable for GPR 0 instead of assuming it is register 0.
5207 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
5208 * lib/trace-support.exp: Add s390 registers.
5210 2016-03-29 Yao Qi <yao.qi@linaro.org>
5212 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
5214 2016-03-24 Yao Qi <yao.qi@linaro.org>
5216 * gdb.reverse/break-reverse.exp: Add quotation mark in the
5219 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5221 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
5222 maintaining separate logic for constructing the output path.
5224 2016-03-16 Don Breazeal <donb@codesourcery.com>
5226 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5227 Retry fork and waitpid on interrupted system call errors.
5228 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5229 Use with_timeout_factor to increase timeout by factor of 10.
5231 2016-03-15 Don Breazeal <donb@codesourcery.com>
5233 * gdb.cp/scope-err.cc: New test program.
5234 * gdb.cp/scope-err.exp: New test script.
5235 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
5236 lines and "set breakpoint here" comment.
5237 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
5238 Fixed some whitespace and format issues.
5239 * gdb.mi/mi-linespec-err-cp.cc: New test program.
5240 * gdb.mi/mi-linespec-err-cp.exp: New test script.
5242 2016-03-15 Doug Evans <dje@google.com>
5244 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
5245 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
5246 All callers updated. Add tests for enums, mixed flags register.
5248 2016-03-15 Doug Evans <dje@google.com>
5250 * gdb.base/skip.c (main): Call test_skip_file_and_function.
5251 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
5253 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
5255 * gdb.base/default.exp: Add $_as_string to the list of expected
5256 convenience functions.
5258 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
5260 * gdb.base/maint.exp: New tests for 'maint info line-table'.
5262 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
5264 * gdb.python/py-as-string.exp: New file.
5265 * gdb.python/py-as-string.c: New file.
5267 2016-03-09 Pedro Alves <palves@redhat.com>
5269 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
5270 signal" -> "Thread NN received signal" output change.
5271 * gdb.threads/ia64-sigill.exp: Likewise.
5272 * gdb.threads/linux-dp.exp: Likewise.
5273 * gdb.threads/manythreads.exp: Likewise.
5274 * gdb.threads/pending-step.exp: Likewise.
5275 * gdb.threads/print-threads.exp: Likewise.
5276 * gdb.threads/sigstep-threads.exp: Likewise.
5277 * gdb.threads/staticthreads.exp: Likewise.
5278 * gdb.threads/tls.exp: Likewise.
5280 2016-03-09 Pedro Alves <palves@redhat.com>
5282 * gdb.base/command-line-input.exp: New file.
5284 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5286 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
5287 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
5288 * gdb.trace/pending.exp: Accept leading dot before function name.
5289 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
5290 * lib/trace-support.exp: Set registers for ppc.
5292 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5294 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
5295 use it for disassembly; accept .main in addition to main in backtrace.
5297 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
5298 Marcin Kościelnicki <koriakin@0x04.net>
5300 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
5301 (gdb_recursion_test_ptr): New global variable.
5302 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
5304 (gdb_c_test): Ditto.
5306 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5308 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
5311 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5313 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
5314 (bar): Add bar_start_lbl label.
5315 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
5316 of foo/bar for emitting DWARF and tracing.
5318 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
5320 * analyze-racy-logs.py: Set executable bit.
5322 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
5324 * Makefile.in (DEFAULT_RACY_ITER): New variable.
5325 (CHECK_TARGET_TMP): Likewise.
5326 (check-single-racy): New rule.
5327 (check-parallel-racy): Likewise.
5328 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
5329 (do-check-parallel-racy): New rule.
5330 (check-racy/%.exp): Likewise.
5331 * README (Racy testcases): New section.
5332 * analyze-racy-logs.py: New file.
5334 2016-03-03 Doug Evans <dje@google.com>
5336 * gdb.base/skip.exp: Use with_test_prefix.
5338 2016-03-03 Yao Qi <yao.qi@linaro.org>
5340 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
5341 Invoke step_over_syscall "clone" and break_cond_on_syscall
5343 * gdb.base/step-over-clone.c: New file.
5345 2016-03-03 Yao Qi <yao.qi@linaro.org>
5347 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
5350 2016-03-03 Yao Qi <yao.qi@linaro.org>
5352 * gdb.base/disp-step-fork.c: Rename to ...
5353 * gdb.base/step-over-fork.c: ... it. New file.
5354 * gdb.base/disp-step-vfork.c: Rename to ...
5355 * gdb.base/step-over-vfork.c: ... it. New file.
5356 * gdb.base/disp-step-syscall.exp: Rename to ...
5357 * gdb.base/step-over-syscall.exp: ... it. New file.
5358 (disp_step_cross_syscall): Rename to ...
5359 (step_over_syscall): ... it.
5361 2016-03-03 Yao Qi <yao.qi@linaro.org>
5363 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
5364 If target supports condition evaluation on target, invoke
5365 break_cond_on_syscall for fork and vfork.
5367 2016-03-03 Yao Qi <yao.qi@linaro.org>
5369 * gdb.base/disp-step-syscall.exp: Don't invoke
5370 support_displaced_stepping.
5371 (disp_step_cross_syscall): Test with displaced stepping off and
5374 2016-03-03 Yao Qi <yao.qi@linaro.org>
5376 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
5379 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
5382 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5384 * gdb.fortran/vla-history.exp: Remove breakpoint.
5386 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5388 * gdb.fortran/vla-history.exp: Lookup array elements and printing
5391 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5393 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
5396 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5398 * gdb.mi/vla.f90: Nullify pointer after declaration.
5400 2016-03-01 Pedro Alves <palves@redhat.com>
5402 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
5404 2016-03-01 Pedro Alves <palves@redhat.com>
5406 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
5407 before anything else.
5408 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
5410 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
5411 before anything else.
5412 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
5414 2016-03-01 Pedro Alves <palves@redhat.com>
5416 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
5418 2016-03-01 Yao Qi <yao.qi@linaro.org>
5420 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
5421 prepare_for_testing.
5423 2016-03-01 Yao Qi <yao.qi@linaro.org>
5425 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
5427 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5429 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
5430 manually constructing the output path.
5432 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5434 * gdb.arch/s390-stackless.S: New.
5435 * gdb.arch/s390-stackless.exp: New.
5437 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
5439 * gdb.dlang/circular.c: New file.
5440 * gdb.dlang/circular.exp: New file.
5442 2016-02-26 Yao Qi <yao.qi@linaro.org>
5444 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
5445 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
5446 (testcases): Update.
5448 2016-02-26 Yao Qi <yao.qi@linaro.org>
5450 * gdb.reverse/aarch64.c: Rename to ...
5451 * gdb.reverse/insn-reverse.c: ... it.
5452 * gdb.reverse/aarch64.exp: Rename to ...
5453 * gdb.reverse/insn-reverse.exp: ... it.
5455 2016-02-26 Yao Qi <yao.qi@linaro.org>
5457 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
5458 (testcase_ftype): New.
5459 (testcases): New array.
5461 (main): Call each element in testcases.
5462 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
5463 (read_testcase): New.
5464 Do the tests in a loop.
5466 2016-02-25 Yao Qi <yao.qi@linaro.org>
5468 * gdb.base/branches.c: Remove.
5470 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5473 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
5475 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5477 * gdb.trace/ftrace.exp: Remove unnecessary target check.
5479 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5481 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
5482 change x86_64 call_insn to 'callq'.
5484 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5486 * gdb.trace/tfile-avx.c: Move to...
5487 * gdb.trace/tracefile-pseudo-reg.c: Here.
5488 * gdb.trace/tfile-avx.exp: Move to...
5489 * gdb.trace/tracefile-pseudo-reg.exp: Here.
5491 2016-02-24 Gary Benson <gbenson@redhat.com>
5493 * gdb.base/attach-pie-noexec.exp: Do not expect an error
5496 2016-02-23 Doug Evans <dje@google.com>
5498 * gdb.base/skip.c (test_skip): New function.
5499 (end_test_skip_file_and_function): New function.
5500 (test_skip_file_and_function): New function.
5501 * gdb.base/skip1.c (test_skip): New function.
5502 (skip1_test_skip_file_and_function): New function.
5503 * gdb.base/skip.exp: Add tests for new skip options.
5504 * gdb.base/skip-solib.exp: Update expected output.
5505 * gdb.perf/skip-command.cc: New file.
5506 * gdb.perf/skip-command.exp: New file.
5507 * gdb.perf/skip-command.py: New file.
5509 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
5511 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
5512 info registers pattern.
5514 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
5516 * lib/future.exp: Add D support.
5517 (gdb_find_gdc): New proc.
5518 (gdb_default_target_compile): Add D support.
5520 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
5522 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
5524 (trace_speed_test): Determine the iteration count for a time
5525 between 15..30 seconds.
5527 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
5529 * gdb.arch/i386-mpx-sigsegv.c: New file.
5530 * gdb.arch/i386-mpx-sigsegv.exp: New file.
5531 * gdb.arch/i386-mpx-simple_segv.c: New file.
5532 * gdb.arch/i386-mpx-simple_segv.exp: New file.
5534 2016-02-18 Yao Qi <yao.qi@linaro.org>
5536 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5537 Don't call setup_kfail.
5539 2016-02-18 Yao Qi <yao.qi@linaro.org>
5541 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5542 Set "set breakpoint condition-evaluation" per $cond_bp_target.
5544 2016-02-16 Doug Evans <dje@google.com>
5546 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
5547 * gdb.base/skip1.c: Ditto.
5548 * gdb.base/skip.exp: Whitespace cleanup.
5550 2016-02-16 Don Breazeal <donb@codesourcery.com>
5553 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5554 Remove kfail for PR remote/19496.
5556 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5558 * lib/gdb.exp (standard_temp_file): Return a path specific to
5559 the runtest invocation.
5561 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5563 * gdb.trace/save-trace.exp: Change relative path to be in the
5564 standard output directory.
5566 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5568 * gdb.arch/i386-prologue.c: Add missing prototypes.
5570 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5572 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
5573 * gdb.arch/i386-prologue.exp: Likewise.
5574 * gdb.arch/i386-size.exp: Likewise.
5576 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
5578 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
5579 define object file path.
5580 * gdb.btrace/gcore.exp: Use standard_output_file to define core
5582 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
5583 standard_output_file to define binfile.
5585 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5587 Fix compatibility with recent gfortran-5.3.1.
5588 * gdb.fortran/vla-history.exp (print vla1 allocated)
5589 (print vla2 allocated, print $2, print $3): Remove
5590 (print $4): Rename to ...
5591 (print $2): ... here.
5592 (print $9): Rename to ...
5593 (print $5): ... here.
5594 (print $10): Rename to ...
5595 (print $6): ... here.
5596 * gdb.fortran/vla.f90: Add pvla initialization.
5598 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5600 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
5602 * gdb.fortran/vla-value-sub.exp: Likewise.
5604 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
5606 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
5608 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
5610 * i386-biarch-core.exp: Define corefile using
5611 standard_output_file.
5613 2016-02-12 Yao Qi <yao.qi@linaro.org>
5615 * gdb.arch/arm-single-step-kernel-helper.c: New.
5616 * gdb.arch/arm-single-step-kernel-helper.exp: New.
5618 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
5620 * gdb.btrace/tailcall-only.exp: New.
5621 * gdb.btrace/tailcall-only.c: New.
5622 * gdb.btrace/x86_64-tailcall-only.S: New.
5623 * gdb.btrace/i686-tailcall-only.S: New.
5625 2016-02-11 Pedro Alves <palves@redhat.com>
5627 * README (Parallel testing): Add missing double quotes.
5629 2016-02-11 Pedro Alves <palves@redhat.com>
5631 * README (Parallel testing): New section.
5632 (GDB_PARALLEL): Rewrite.
5633 (FORCE_PARALLEL): Document.
5635 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
5637 * gdb.trace/tfile-avx.c: New test.
5638 * gdb.trace/tfile-avx.exp: New test.
5640 2016-02-09 Keith Seitz <keiths@redhat.com>
5642 PR breakpoints/19546
5643 * gdb.base/infcall-exec.c: New file.
5644 * gdb.base/infcall-exec2.c: New file.
5645 * gdb.base/infcall-exec.exp: New file.
5647 2016-02-09 Keith Seitz <keiths@redhat.com>
5649 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
5650 (toplevel): Call test_bkpt_address.
5652 2016-02-09 Keith Seitz <keiths@redhat.com>
5655 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
5656 (toplevel): Call test_bkpt_address.
5658 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
5660 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
5662 * configure: Regenerate.
5664 2016-02-09 Pedro Alves <palves@redhat.com>
5666 PR breakpoints/19548
5667 * gdb.base/execl-update-breakpoints.c (some_function): New
5670 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
5671 Tighten expected GDB output.
5673 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
5675 * Makefile.in (ALL_SUBDIRS): Remove.
5676 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
5677 (distclean maintainer-clean realclean): Likewise.
5678 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
5679 * configure: Regenerate.
5680 * gdb.ada/Makefile.in: Delete.
5681 * gdb.arch/Makefile.in: Likewise.
5682 * gdb.asm/Makefile.in: Likewise.
5683 * gdb.base/Makefile.in: Likewise.
5684 * gdb.btrace/Makefile.in: Likewise.
5685 * gdb.cell/Makefile.in: Likewise.
5686 * gdb.compile/Makefile.in: Likewise.
5687 * gdb.cp/Makefile.in: Likewise.
5688 * gdb.disasm/Makefile.in: Likewise.
5689 * gdb.dlang/Makefile.in: Likewise.
5690 * gdb.dwarf2/Makefile.in: Likewise.
5691 * gdb.fortran/Makefile.in: Likewise.
5692 * gdb.gdb/Makefile.in: Likewise.
5693 * gdb.go/Makefile.in: Likewise.
5694 * gdb.guile/Makefile.in: Likewise.
5695 * gdb.java/Makefile.in: Likewise.
5696 * gdb.linespec/Makefile.in: Likewise.
5697 * gdb.mi/Makefile.in: Likewise.
5698 * gdb.modula2/Makefile.in: Likewise.
5699 * gdb.multi/Makefile.in: Likewise.
5700 * gdb.objc/Makefile.in: Likewise.
5701 * gdb.opencl/Makefile.in: Likewise.
5702 * gdb.opt/Makefile.in: Likewise.
5703 * gdb.pascal/Makefile.in: Likewise.
5704 * gdb.perf/Makefile.in: Likewise.
5705 * gdb.python/Makefile.in: Likewise.
5706 * gdb.reverse/Makefile.in: Likewise.
5707 * gdb.server/Makefile.in: Likewise.
5708 * gdb.stabs/Makefile.in: Likewise.
5709 * gdb.threads/Makefile.in: Likewise.
5710 * gdb.trace/Makefile.in: Likewise.
5711 * gdb.xml/Makefile.in: Likewise.
5712 * lib/gdb.exp (make_gdb_parallel_path): Add check for
5714 (standard_output_file): Remove check for GDB_PARALLEL, always
5715 return path in outputs/$subdir/$testname.
5717 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
5719 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
5720 (site.exp): Assign abs_srcdir to tcl's srcdir.
5722 2016-02-04 Yao Qi <yao.qi@linaro.org>
5724 * gdb.base/foll-exec-mode.c: Include limits.h.
5725 (main): Add parameters argc and argv. Get directory from
5727 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
5729 * gdb.base/foll-exec.c: Include limits.h.
5730 (main): Add parameters argc and argv.
5731 Get directory from argv[0].
5732 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
5733 Adjust tests on the number of lines as source code changed.
5734 * gdb.base/foll-vfork-exit.c: Include limits.h.
5735 (main): Add one line of statement before vfork.
5736 * gdb.base/foll-vfork.c: Include limits.h and string.h.
5737 (main): Add parameters argc and argv. Get directory from
5739 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
5740 (setup_gdb): Set tbreak to skip some source lines.
5741 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
5742 (main): Add parameters argc and argv. Get directory from
5744 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
5746 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
5747 (main): Add parameters argc and argv. Get directory from
5749 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
5752 2016-02-01 Doug Evans <dje@google.com>
5754 * gdb.base/skip.exp: Clean up multiple references to same test name.
5756 2016-02-01 Pedro Alves <palves@redhat.com>
5759 * gdb.threads/forking-threads-plus-breakpoint.exp
5760 (displaced_stepping_supported): New global.
5761 (probe_displaced_stepping_support): New procedure.
5762 (do_test): Add 'displaced' parameter, and use it.
5763 (top level): Check for displaced stepping support. Add displaced
5764 stepping on/off testing axis.
5766 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
5768 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
5769 pointer. Don't perform further tests on the unassociated pointer
5770 if the first test fails.
5772 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
5774 * gdb.base/max-value-size.c: New file.
5775 * gdb.base/max-value-size.exp: New file.
5776 * gdb.base/huge.exp: Disable max-value-size for this test.
5778 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
5780 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
5782 2016-01-28 Yao Qi <yao.qi@linaro.org>
5784 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
5786 2016-01-25 Pedro Alves <palves@redhat.com>
5789 * gdb.base/fork-running-state.c: New file.
5790 * gdb.base/fork-running-state.exp: New file.
5792 2016-01-25 Pedro Alves <palves@redhat.com>
5795 * gdb.base/catch-fork-kill.c: New file.
5796 * gdb.base/catch-fork-kill.exp: New file.
5798 2016-01-25 Pedro Alves <palves@redhat.com>
5800 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
5801 Delete, moved to lib/gdb.exp.
5802 * gdb.threads/forking-threads-plus-breakpoint.exp
5803 (foreach_with_prefix): Likewise.
5804 * gdb.threads/process-dies-while-handling-bp.exp
5805 (foreach_with_prefix): Likewise.
5806 * lib/gdb.exp (foreach_with_prefix): New procedure.
5808 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
5810 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
5811 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
5813 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
5815 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
5818 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5819 Pedro Alves <palves@redhat.com>
5821 Fix testsuite compatibility with Guile.
5822 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
5825 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5827 Fix testsuite compatibility with Guile.
5828 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
5829 (thread 1): New test for backtrace through signal handler.
5831 2016-01-22 Yao Qi <yao.qi@linaro.org>
5834 * gdb.base/multi-forks.c: Include
5835 ../lib/unbuffer_output.c
5836 (main): Call gdb_unbuffer_output.
5838 2016-01-21 Doug Evans <dje@google.com>
5840 * lib/ada.exp (gdb_compile_ada): Fix typo.
5842 2016-01-21 Joel Brobecker <brobecker@adacore.com>
5844 * gdb.base/break-fun-addr.exp: New file.
5845 * gdb.base/break-fun-addr1.c: New file.
5846 * gdb.base/break-fun-addr2.c: New file.
5848 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
5850 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
5851 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
5854 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5856 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
5857 when GDB can not set the vector return value. Add more comments
5860 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
5862 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
5865 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5867 * Makefile.in (DO_RUNTEST): Add --status and update usages.
5869 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5871 * Makefile.in (check-single): Pass --status to runtest.
5872 (check/%.exp): Likewise.
5874 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5876 * Makefile.in (check-parallel): Propagate return code from make
5879 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
5881 * gdb.trace/ftrace.exp: Fix expected message on continue.
5882 * gdb.trace/pending.exp: Fix expected message on continue.
5883 * gdb.trace/trace-break.exp: Fix expected message on continue.
5885 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
5887 * lib/gdb.exp (gdb_test): Remove unused global references.
5889 2016-01-18 Pedro Alves <palves@redhat.com>
5891 * gdb.base/async-shell.exp: Adjust expected output.
5892 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
5893 * gdb.base/siginfo-thread.exp: Adjust expected output.
5894 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
5895 * gdb.java/jnpe.exp: Adjust expected output.
5896 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
5897 * gdb.threads/continue-pending-status.exp: Adjust expected output.
5898 * gdb.threads/leader-exit.exp: Adjust expected output.
5899 * gdb.threads/manythreads.exp: Adjust expected output.
5900 * gdb.threads/pthreads.exp: Adjust expected output.
5901 * gdb.threads/schedlock.exp: Adjust expected output.
5902 * gdb.threads/siginfo-threads.exp: Adjust expected output.
5903 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
5905 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
5907 * gdb.threads/sigthread.exp: Adjust expected output.
5908 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
5910 2016-01-18 Yao Qi <yao.qi@linaro.org>
5912 * gdb.guile/scm-section-script.c: Replace @progbits with
5914 * gdb.python/py-section-script.c: Likewise.
5916 2016-01-15 Pedro Alves <palves@redhat.com>
5918 * gdb.multi/tids.exp: Test star wildcard ranges.
5920 2016-01-15 Pedro Alves <palves@redhat.com>
5922 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
5923 command from "thread apply" invocation.
5924 (thr_apply_info_thr_invalid): Default the expected output to the
5926 (top level): Add tests that use convenience variables. Add tests
5927 for "thread apply" with a valid TID list, but missing the command.
5929 2016-01-13 Pedro Alves <palves@redhat.com>
5931 * gdb.base/default.exp: Expect $_gthread as well.
5932 * gdb.multi/tids.exp: Test $_gthread.
5933 * gdb.threads/thread-specific.exp: Test $_gthread.
5935 2016-01-13 Pedro Alves <palves@redhat.com>
5937 * gdb.multi/tids.exp: Test "info threads -gid".
5939 2016-01-13 Pedro Alves <palves@redhat.com>
5941 * gdb.multi/tids.exp: Test InferiorThread.global_num and
5943 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
5945 2016-01-07 Pedro Alves <palves@redhat.com>
5947 * gdb.base/break.exp: Adjust to output changes.
5948 * gdb.base/hbreak2.exp: Likewise.
5949 * gdb.base/sepdebug.exp: Likewise.
5950 * gdb.base/watch_thread_num.exp: Likewise.
5951 * gdb.linespec/keywords.exp: Likewise.
5952 * gdb.multi/info-threads.exp: Likewise.
5953 * gdb.threads/thread-find.exp: Likewise.
5954 * gdb.multi/tids.c: New file.
5955 * gdb.multi/tids.exp: New file.
5957 2016-01-13 Pedro Alves <palves@redhat.com>
5959 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
5961 2016-01-13 Pedro Alves <palves@redhat.com>
5963 * gdb.base/default.exp: Expect $_inferior as well.
5964 * gdb.multi/base.exp: Test $_inferior.
5966 2016-01-13 Pedro Alves <palves@redhat.com>
5968 PR breakpoints/19388
5969 * gdb.base/catch-signal-siginfo-cond.c: New file.
5970 * gdb.base/catch-signal-siginfo-cond.exp: New file.
5972 2016-01-12 Josh Stone <jistone@redhat.com>
5973 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5975 * gdb.base/catch-syscall.c (do_execve): New variable.
5976 (main): Conditionally trigger an execve.
5977 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
5978 (test_catch_syscall_execve): New, check entry/return across execve.
5979 (do_syscall_tests): Call test_catch_syscall_execve.
5981 2016-01-12 Pedro Alves <palves@redhat.com>
5983 * gdb.base/random-signal.exp (do_test): New procedure, with body
5984 of testcase moved in.
5986 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5987 Pedro Alves <palves@redhat.com>
5989 * gdb.base/funcargs.exp (finish from indirectly called function):
5990 Reintroduce the case for 'First'.
5992 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5993 Pedro Alves <palves@redhat.com>
5995 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5996 (tcatch_vfork_then_child_follow_exec)
5997 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6000 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6002 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6003 and repeats to unlimited.
6004 * gdb.python/py-value.exp: Likewise.
6005 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6006 and repeats to unlimited.
6008 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6010 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6011 and reordering the functions.
6012 * gdb.multi/hangout.c: Likewise.
6013 * gdb.multi/hello.c: Likewise.
6015 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
6017 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6019 (SingleStatisticTestResult.report): Use dict.keys instead of
6022 2016-01-06 Pedro Alves <palves@redhat.com>
6024 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
6026 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
6028 * gdb.btrace/dlopen.exp: New.
6029 * gdb.btrace/dlopen.c: New.
6030 * gdb.btrace/dlopen-dso.c: New.
6032 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
6034 * lib/gdb.exp (gdb_test): Update comments to clarify that the
6035 PATTERN argument is optional.
6037 2015-12-24 Joel Brobecker <brobecker@adacore.com>
6039 * lib/ada.exp (target_compile_ada_from_dir): New function.
6040 (gdb_compile_ada): Reimplement avoiding the use of project files.
6041 * gdb.ada/gnat_ada.gpr: Delete.
6042 * gdb.ada/cond_lang.exp: Adjust test to make path before
6044 * gdb.ada/small_reg_param.exp: Likewise.
6046 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
6048 * gdb.base/foll-vork.exp: Remove HP-UX special case.
6050 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
6052 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6055 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
6057 * gdb.base/break.exp: Remove dead code.
6058 * gdb.base/sepdebug.exp: Likewise.
6060 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6062 * gdb.asm/asm-source.exp: Remove HP-UX references.
6063 * gdb.base/annota1.exp: Likewise.
6064 * gdb.base/annota3.exp: Likewise.
6065 * gdb.base/attach.exp: Likewise.
6066 * gdb.base/bigcore.exp: Likewise.
6067 * gdb.base/break.exp: Likewise.
6068 * gdb.base/call-ar-st.exp: Likewise.
6069 * gdb.base/callfuncs.exp: Likewise.
6070 * gdb.base/catch-fork-static.exp: Likewise.
6071 * gdb.base/display.exp: Likewise.
6072 * gdb.base/foll-exec-mode.exp: Likewise.
6073 * gdb.base/foll-exec.exp: Likewise.
6074 * gdb.base/foll-fork.exp: Likewise.
6075 * gdb.base/foll-vfork.exp: Likewise.
6076 * gdb.base/funcargs.exp: Likewise.
6077 * gdb.base/hbreak2.exp: Likewise.
6078 * gdb.base/inferior-died.exp: Likewise.
6079 * gdb.base/interrupt.exp: Likewise.
6080 * gdb.base/multi-forks.exp: Likewise.
6081 * gdb.base/nodebug.exp: Likewise.
6082 * gdb.base/sepdebug.exp: Likewise.
6083 * gdb.base/solib1.c: Likewise.
6084 * gdb.base/step-test.exp: Likewise.
6085 * gdb.mi/non-stop.c: Likewise.
6086 * gdb.mi/pthreads.c: Likewise.
6087 * gdb.multi/bkpt-multi-exec.ex: Likewise.
6088 * gdb.threads/pthreads.c: Likewise.
6089 * gdb.threads/staticthreads.exp: Likewise.
6090 * lib/future.exp: Likewise.
6091 * lib/gdb.exp: Likewise.
6092 * gdb.base/so-indr-cl.c: Remove.
6093 * gdb.base/so-indr-cl.exp: Likewise.
6094 * gdb.base/solib.c: Likewise.
6095 * gdb.base/solib.exp: Likewise.
6096 * gdb.base/solib2.c: Likewise.
6098 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6100 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6101 * gdb.base/call-ar-st.exp: Likewise.
6102 * gdb.base/callfuncs.exp: Likewise.
6103 * gdb.base/condbreak.exp: Likewise.
6104 * gdb.base/constvars.exp: Likewise.
6105 * gdb.base/hbreak2.exp: Likewise.
6106 * gdb.base/langs.exp: Likewise.
6107 * gdb.base/list.exp: Likewise.
6108 * gdb.base/long_long.exp: Likewise.
6109 * gdb.base/ptype.exp: Likewise.
6110 * gdb.base/scope.exp: Likewise.
6111 * gdb.base/signals.exp: Likewise.
6112 * gdb.base/so-impl-ld.exp: Likewise.
6113 * gdb.base/varargs.exp: Likewise.
6114 * gdb.base/volatile.exp: Likewise.
6115 * gdb.base/whatis.exp: Likewise.
6116 * gdb.cp/cplusfuncs.exp: Likewise.
6117 * gdb.cp/inherit.exp: Likewise.
6118 * gdb.cp/local.exp: Likewise.
6119 * gdb.cp/member-ptr.exp: Likewise.
6120 * gdb.cp/method.exp: Likewise.
6121 * gdb.cp/overload.exp: Likewise.
6122 * gdb.cp/templates.exp: Likewise.
6123 * gdb.stabs/weird.exp: Likewise.
6124 * lib/compiler.c: Likewise.
6125 * lib/compiler.cc: Likewise.
6126 * lib/cp-support.exp: Likewise.
6127 * lib/gdb.exp: Likewise.
6129 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
6131 * configure.ac: Remove HP-UX case.
6132 * configure: Regenerate.
6134 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
6136 * lib/gdb.exp (gdb_compile): Add function doc.
6138 2015-12-17 Pedro Alves <palves@redhat.com>
6141 * gdb.multi/info-threads.exp: New file.
6143 2015-12-15 Yao Qi <yao.qi@linaro.org>
6145 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
6148 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6150 * gdb.base/history-duplicates.exp: Skip if no readline support.
6152 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6154 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
6156 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6158 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
6160 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6162 * gdb.base/completion.exp: Skip tests that interrupt GDB with
6163 ctrl-C if nointerrupts target property is set.
6164 * gdb.base/double-prompt-target-event-error.exp: Likewise.
6165 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
6166 * gdb.base/paginate-bg-execution.exp: Likewise.
6167 * gdb.base/paginate-execution-startup.exp: Likewise.
6168 * gdb.base/random-signal.exp: Likewise.
6169 * gdb.base/range-stepping.exp: Likewise.
6170 * gdb.cp/annota2.exp: Likewise.
6171 * gdb.cp/annota3.exp: Likewise.
6172 * gdb.gdb/selftest.exp: Likewise.
6173 * gdb.threads/continue-pending-status.exp: Likewise.
6174 * gdb.threads/leader-exit.exp: Likewise.
6175 * gdb.threads/manythreads.exp: Likewise.
6176 * gdb.threads/pthreads.exp: Likewise.
6177 * gdb.threads/schedlock.exp: Likewise.
6178 * gdb.threads/sigthread.exp: Likewise.
6180 2015-12-11 Don Breazeal <donb@codesourcery.com>
6182 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
6184 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
6185 * gdb.base/foll-exec.exp (main): Enable for target remote.
6186 * gdb.base/foll-fork.exp (main): Likewise.
6187 * gdb.base/foll-vfork.exp (main): Likewise.
6188 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
6189 (proc continue_to_exit_bp_loc): Use clean_restart.
6190 * gdb.base/pie-execl.exp (main): Disable for target remote.
6191 * gdb.base/watch-vfork.exp (main): Enable for target remote.
6192 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
6193 * gdb.threads/execl.exp (main): Likewise.
6194 * gdb.threads/fork-child-threads.exp (main): Likewise.
6195 * gdb.threads/fork-plus-threads.exp (main): Disable for target
6197 * gdb.threads/fork-thread-pending.exp (main): Enable for target
6199 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
6200 pid.tid style ptids, instead of just tid.
6201 * gdb.threads/thread-execl.exp (main): Enable for target remote.
6202 * gdb.threads/watchpoint-fork.exp (main): Likewise.
6203 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
6204 ptids, instead of just tid.
6206 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6208 * gdb.base/list.exp (test_list_forward): Add end of file error
6210 (test_repeat_list_command): Add end of file error test.
6211 (test_list_backwards): Add beginning of file error test.
6213 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6215 * gdb.base/list.exp (test_list_invalid_args): New function,
6216 defined, and called.
6218 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6220 * gdb.base/list.exp (test_list): Make test names unique.
6222 2015-12-11 Yao Qi <yao.qi@linaro.org>
6224 * gdb.base/coremaker2.c: Remove.
6226 2015-12-10 Pedro Alves <palves@redhat.com>
6228 * gdb.multi/base.exp: Remove stale "spaces" references.
6230 2015-12-10 Pedro Alves <palves@redhat.com>
6232 * gdb.multi/base.exp: Don't use nowarnings.
6233 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
6234 * gdb.multi/hangout.c: Include stdio.h.
6235 * gdb.multi/hello.c: Include stdlib.h.
6236 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
6237 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
6238 * gdb.multi/multi-arch.exp: Don't use nowarnings.
6240 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
6242 * gdb.dwarf2/dw2-ranges-base.c: New file.
6243 * gdb.dwarf2/dw2-ranges-base.exp: New file.
6244 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
6245 support additional line table, and debug ranges generation.
6246 (Dwarf::ranges): New function, generate .debug_ranges.
6247 (Dwarf::lines): Support generating simple line table programs.
6248 (Dwarf::assemble): Initialise new namespace variables.
6250 2015-12-09 Kevin Buettner <kevinb@redhat.com>
6252 * gdb.base/async.exp (proc test_background): Add case for
6253 asynchronous execution not supported.
6255 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
6257 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
6258 format and change test names to make them unique.
6260 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
6261 Pedro Alves <pedro@redhat.com>
6264 Add checking of floatformats setup on x86_64 hosts.
6265 * gdb.arch/i386-float.S (main): Load bigval and smallval.
6266 (smallval, bigval): New labels/constants.
6267 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
6268 float" after loading bigval and smallval.
6270 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
6272 * gdb.ada/fun_overload_menu.exp: New testcase.
6273 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
6275 2015-12-04 Josh Stone <jistone@redhat.com>
6277 * gdb.base/catch-fork-static.exp: New.
6279 2015-12-03 Yao Qi <yao.qi@linaro.org>
6281 * gdb.base/sizeof.c: Don't include stdio.h and
6282 ../lib/unbuffer_output.c.
6283 (main): New variable 'size' and 'value'. Remove printf and
6284 gdb_unbuffer_output. Assign return value to size and value.
6285 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
6287 (check_sizeof): Check the result by printing variable 'size'.
6288 (check_valueof): Check the result by printing variable 'value'.
6290 2015-12-01 Yao Qi <yao.qi@linaro.org>
6292 * gdb.base/disp-step-syscall.exp: Define syscall instruction
6293 for aarch64*-*-linux* target.
6295 2015-11-30 Pedro Alves <palves@redhat.com>
6297 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
6299 2015-11-30 Pedro Alves <palves@redhat.com>
6301 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
6302 Handle non-stop mode vCont replies.
6304 2015-11-30 Pedro Alves <palves@redhat.com>
6306 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
6307 prepare_for_testing. Start gdb with "set non-stop on" appended to
6308 GDBFLAGS. Lax expected stop output.
6310 2015-11-27 Yao Qi <yao.qi@linaro.org>
6312 * gdb.arch/arm-neon.exp: New.
6313 * gdb.arch/arm-neon.c: New.
6315 2015-11-27 Yao Qi <yao.qi@linaro.org>
6317 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
6319 2015-11-27 Yao Qi <yao.qi@linaro.org>
6321 * gdb.cp/annota2.exp: Allow multiple occurrences of the
6322 frames-invalid annotation.
6324 2015-11-27 Yao Qi <yao.qi@linaro.org>
6326 * gdb.cp/annota2.exp: Use ${frames_invalid}.
6328 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
6330 * gdb.threads/names.exp: New file.
6331 * gdb.threads/names.c: New file.
6332 * README: Mention gdb,no_thread_names.
6334 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
6337 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
6340 2015-11-24 Pedro Alves <palves@redhat.com>
6343 * gdb.base/display.exp: Expect displays to be sorted in ascending
6344 order. Use multi_line.
6345 * gdb.base/solib-display.exp: Likewise.
6347 2015-11-24 Pedro Alves <palves@redhat.com>
6350 * gdb.base/display.exp: Expect displays to be sorted in ascending
6351 order. Use multi_line.
6352 * gdb.base/solib-display.exp: Likewise.
6354 2015-11-24 Pedro Alves <palves@redhat.com>
6357 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
6358 threads in ascending order.
6359 * gdb.base/foll-fork.exp: Likewise.
6360 * gdb.base/foll-vfork.exp: Likewise.
6361 * gdb.base/multi-forks.exp: Likewise.
6362 * gdb.mi/mi-nonstop.exp: Likewise.
6363 * gdb.mi/mi-nsintrall.exp: Likewise.
6364 * gdb.multi/base.exp: Likewise.
6365 * gdb.multi/multi-arch.exp: Likewise.
6366 * gdb.python/py-inferior.exp: Likewise.
6367 * gdb.threads/break-while-running.exp: Likewise.
6368 * gdb.threads/execl.exp: Likewise.
6369 * gdb.threads/gcore-thread.exp: Likewise.
6370 * gdb.threads/info-threads-cur-sal.exp: Likewise.
6371 * gdb.threads/kill.exp: Likewise.
6372 * gdb.threads/linux-dp.exp: Likewise.
6373 * gdb.threads/multiple-step-overs.exp: Likewise.
6374 * gdb.threads/next-bp-other-thread.exp: Likewise.
6375 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
6376 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
6377 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
6378 * gdb.threads/thread-find.exp: Likewise.
6379 * gdb.threads/tls.exp: Likewise.
6380 * lib/mi-support.exp (mi_reverse_list): Delete.
6381 (mi_check_thread_states): No longer reverse list.
6383 2015-11-24 Pedro Alves <palves@redhat.com>
6385 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
6388 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6390 * gdb.trace/actions.c: Include trace-common.h.
6391 (main): Add a location for a fast tracepoint.
6392 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
6393 the normal tracepoints.
6394 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
6396 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6398 * save-trace.exp: Factor out code to these...
6399 (gdb_save_tracepoints): New.
6400 (gdb_load_tracepoints): New.
6401 (do_save_load_test): New.
6403 2015-11-23 Kevin Buettner <kevinb@redhat.com>
6405 * gdb.base/asmlabel.exp: New test.
6406 * gdb.base/asmlabel.c: New test case.
6408 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6410 * gdb.base/wrong_frame_bt_full-main.c: New file.
6411 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
6412 * gdb.base/wrong_frame_bt_full.exp: New file.
6414 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6416 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
6418 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6420 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
6421 pstate register when comparing registers values in
6422 sparc64-*-linux-gnu targets to avoid spurious differences.
6424 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6426 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
6428 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
6430 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
6431 as type argument to gdb_compile.
6432 * gdb.base/nested-subp2.exp: Likewise.
6433 * gdb.base/nested-subp3.exp: Likewise.
6435 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
6437 * lib/dwarf.exp (_note): Fix left shift of negative value.
6438 * gdb.trace/trace-condition.exp: Likewise.
6440 2015-11-13 Yao Qi <yao.qi@linaro.org>
6442 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
6443 comments about d10v.
6444 (test_scalar_returns): Likewise.
6445 * gdb.base/d10v.ld: Remove.
6446 * gdb.base/overlays.exp: Remove the target triplet checking for
6448 * gdb.base/structs.exp (test_struct_returns): Remove the
6449 comments about d10v.
6450 (test_struct_calls): Likewise.
6452 2015-11-13 Yao Qi <yao.qi@linaro.org>
6454 * gdb.base/gnu_vector.exp: Check the return value by "p res".
6455 * gdb.base/gnu_vector.c: Don't include stdio.h.
6456 (main): Don't print res and call add_some_intvecs.
6458 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
6460 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
6463 (func4): Use FAST_TRACEPOINT_LABEL.
6464 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
6467 (thread_function): Use FAST_TRACEPOINT_LABEL.
6468 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
6470 (marker): Use FAST_TRACEPOINT_LABEL.
6471 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
6472 (pendfunc1): Remove.
6473 (pendfunc): Use FAST_TRACEPOINT_LABEL.
6474 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
6476 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
6477 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
6480 (marker): Use FAST_TRACEPOINT_LABEL.
6481 * gdb.trace/trace-common.h: New header.
6482 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
6485 (marker): Use FAST_TRACEPOINT_LABEL.
6486 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
6488 (thread_function): Use FAST_TRACEPOINT_LABEL.
6490 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
6492 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
6494 * gdb.trace/change-loc.exp: Use global pcreg definition.
6495 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
6496 * gdb.trace/entry-values.exp: Use global spreg definition, add $
6498 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
6499 * gdb.trace/pending.exp: Likewise.
6500 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
6501 * gdb.trace/trace-break.exp: Likewise.
6502 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
6504 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
6505 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
6507 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
6509 2015-11-09 Joel Brobecker <brobecker@adacore.com>
6511 * gdb.ada/fin_fun_out: New testcase.
6513 2015-11-07 Kevin Buettner <kevinb@redhat.com>
6515 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
6516 value associated with DW_AT_byte_size.
6517 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
6518 constants for DW_AT_byte_size, DW_AT_lower_bound, and
6521 2015-11-07 Kevin Buettner <kevinb@redhat.com>
6523 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
6524 (gdb_target_symbol_prefix_flags): Define in terms of _asm
6526 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
6527 gdb.dwarf2/dw2-canonicalize-type.exp,
6528 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
6529 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
6530 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
6531 provided by gdb_target_symbol_prefix_flags_asm.
6532 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
6533 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
6534 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
6535 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
6536 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
6537 macros where needed). Use this macro for symbols which require
6538 the prefix provided by SYMBOL_PREFIX.
6540 2015-11-05 Kevin Buettner <kevinb@redhat.com>
6542 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
6544 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
6545 representing expressions, of more than one list element.
6546 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
6547 to prepend linker symbol prefix to f.
6548 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
6549 table_1 and table_2.
6550 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
6551 Likewise, for f and g.
6552 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
6554 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
6556 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
6557 table_1_ptr and table_2_ptr.
6559 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6560 Joel Brobecker <brobecker@adacore.com>
6562 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
6564 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
6566 * gdb.reverse/s390-mvcle.c: New test.
6567 * gdb.reverse/s390-mvcle.exp: New file.
6568 * lib/gdb.exp: Enable reverse tests on s390*-linux.
6570 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
6572 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
6574 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
6576 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
6578 * gdb.reverse/getresuid-reverse.exp: Likewise.
6579 * gdb.reverse/pipe-reverse.exp: Likewise.
6580 * gdb.reverse/readv-reverse.exp: Likewise.
6581 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6582 * gdb.reverse/time-reverse.exp: Likewise.
6583 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
6585 2015-10-30 Yao Qi <yao.qi@linaro.org>
6587 * gdb.threads/wp-replication.c (watch_count_done): Remove.
6588 (empty_cycle): Remove.
6589 (main): Don't call empty_cycle. Don't use watch_count_done.
6590 * gdb.threads/wp-replication.exp: Don't set breakpoint on
6591 empty_cycle. Rewrite the code counting HW watchpoints.
6593 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
6595 * gdb.reverse/fstatat-reverse.c: New test.
6596 * gdb.reverse/fstatat-reverse.exp: New file.
6597 * gdb.reverse/getresuid-reverse.c: New test.
6598 * gdb.reverse/getresuid-reverse.exp: New file.
6599 * gdb.reverse/pipe-reverse.c: New test.
6600 * gdb.reverse/pipe-reverse.exp: New file.
6601 * gdb.reverse/readv-reverse.c: New test.
6602 * gdb.reverse/readv-reverse.exp: New file.
6603 * gdb.reverse/recvmsg-reverse.c: New test.
6604 * gdb.reverse/recvmsg-reverse.exp: New file.
6605 * gdb.reverse/time-reverse.c: New test.
6606 * gdb.reverse/time-reverse.exp: New file.
6607 * gdb.reverse/waitpid-reverse.c: New test.
6608 * gdb.reverse/waitpid-reverse.exp: New file.
6610 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6612 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
6614 2015-10-26 Doug Evans <dje@google.com>
6617 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
6618 * gdb.dwarf2/bad-regnum.c: New file.
6619 * gdb.dwarf2/bad-regnum.exp: New file.
6621 2015-10-26 Doug Evans <dje@google.com>
6624 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
6627 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6629 * gdb.compile/compile.exp (compile code globalvar): Update expectation
6630 for a change by "Mention language in compile error message".
6632 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
6635 * gdb.python/py-type.c (C::a_method): New.
6636 (C::a_const_method): New.
6637 (C::a_static_method): New.
6639 * gdb.python/py-type.exp (test_fields): Test getting fields
6640 from function and method.
6642 2015-10-21 Keven Boell <keven.boell@intel.com>
6644 * gdb.fortran/vla-alloc-assoc.exp: New file.
6645 * gdb.fortran/vla-datatypes.exp: New file.
6646 * gdb.fortran/vla-datatypes.f90: New file.
6647 * gdb.fortran/vla-history.exp: New file.
6648 * gdb.fortran/vla-ptype-sub.exp: New file.
6649 * gdb.fortran/vla-ptype.exp: New file.
6650 * gdb.fortran/vla-sizeof.exp: New file.
6651 * gdb.fortran/vla-sub.f90: New file.
6652 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
6653 * gdb.fortran/vla-value-sub-finish.exp: New file.
6654 * gdb.fortran/vla-value-sub.exp: New file.
6655 * gdb.fortran/vla-value.exp: New file.
6656 * gdb.fortran/vla-ptr-info.exp: New file.
6657 * gdb.mi/mi-vla-fortran.exp: New file.
6658 * gdb.mi/vla.f90: New file.
6660 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
6662 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
6663 of hardwired timeout value.
6665 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6666 Pedro Alves <palves@redhat.com>
6668 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
6669 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
6671 2015-10-19 Josh Stone <jistone@redhat.com>
6673 * gdb.base/catch-syscall.c: Include <sched.h>.
6674 (unknown_syscall): New variable.
6675 (main): Trigger a vfork and an unknown syscall.
6676 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
6677 (unknown_syscall_number): Likewise.
6678 (check_call_to_syscall): Accept an optional syscall pattern.
6679 (check_return_from_syscall): Likewise.
6680 (check_continue): Likewise.
6681 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
6682 (test_catch_syscall_skipping_return): New test toggling off 'catch
6683 syscall' to step over the syscall return, then toggling back on.
6684 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
6685 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
6686 (do_syscall_tests): Call test_catch_syscall_without_args and
6687 test_catch_syscall_mid_vfork.
6688 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
6689 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
6691 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
6693 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
6694 print g_vE): Add new pass patterns.
6695 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
6696 print various symbol names for vptr fields.
6698 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
6700 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
6703 2015-10-12 Yao Qi <yao.qi@linaro.org>
6705 * gdb.arch/disp-step-insn-reloc.exp: New test case.
6707 2015-10-12 Yao Qi <yao.qi@linaro.org>
6709 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
6710 is aarch64*-*-linux*.
6712 2015-10-12 Yao Qi <yao.qi@linaro.org>
6714 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
6715 (can_relocate_bcond_true): ... it.
6716 (can_relocate_bcond_false): New function.
6718 (can_relocate_bl): Likewise.
6719 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
6722 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
6724 * gdb.base/nested-addr.c: New file.
6725 * gdb.base/nested-addr.exp: New testcase.
6727 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
6729 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
6730 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
6731 its output. Ignore the output of "record goto begin" and instead
6732 check that GDB is replaying.
6734 2015-10-09 Pedro Alves <palves@redhat.com>
6736 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
6737 (top level): Use it in the run with no args test.
6739 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
6741 * gdb.dlang/properties.exp: New file.
6743 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
6745 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
6746 whether or not address 0x1000 is mapped on the target.
6748 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
6750 * gdb.python/py-type.exp: Do not run tests if binaries fail to
6753 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
6755 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
6756 instruction-history test.
6758 2015-09-28 Doug Evans <dje@google.com>
6760 * gdb.base/gcore.c (array_func): Add reference to static_array.
6762 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
6764 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
6767 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
6769 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
6770 short or char as base type.
6772 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
6774 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
6775 to allow any size enum.
6777 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
6779 * gdb.ada/array_ptr_renaming.exp: New testcase.
6780 * gdb.ada/array_ptr_renaming/foo.adb: New file.
6781 * gdb.ada/array_ptr_renaming/pack.ads: New file.
6783 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6785 * gdb.trace/ftrace-lock.c: New file.
6786 * gdb.trace/ftrace-lock.exp: New file.
6788 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6790 * gdb.arch/insn-reloc.c: New file.
6791 * gdb.arch/ftrace-insn-reloc.exp: New file.
6793 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
6795 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
6797 * gdb.trace/pendshr1.c (pendfunc): Likewise.
6798 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
6799 * gdb.trace/range-stepping.c: Likewise.
6800 * gdb.trace/trace-break.c: Likewise.
6801 * gdb.trace/trace-mt.c (thread_function): Likewise.
6802 * gdb.trace/ftrace.c (marker): Likewise.
6803 * gdb.trace/trace-condition.c (marker): Likewise.
6804 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
6805 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
6808 2015-09-18 Doug Evans <xdje42@gmail.com>
6810 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
6811 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
6813 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6815 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
6818 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6820 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
6821 the pending breakpoint. Remove timeout override for "Run till
6822 MI pending breakpoint on pendfunc3 on thread 2" test.
6824 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6826 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
6829 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6831 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
6832 in breakpoint filename pattern.
6834 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6836 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
6838 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6840 * gdb.linespec/explicit.exp: Check for readline support for
6841 tab-completion tests. Fix obvious typo.
6843 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
6845 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
6848 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
6850 * gdb.btrace/non-stop.c: New.
6851 * gdb.btrace/non-stop.exp: New.
6853 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
6854 Yao Qi <yao.qi@linaro.org>
6856 * gdb.trace/trace-condition.c: New file.
6857 * gdb.trace/trace-condition.exp: New file.
6859 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
6861 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
6862 for testing bytecode compilation.
6864 2015-09-16 Pedro Alves <palves@redhat.com>
6865 Sandra Loosemore <sandra@codesourcery.com>
6867 * gdb.threads/non-stop-fair-events.c (timeout): New global.
6868 (SECONDS): Redefine.
6869 (main): Call pthread_kill and alarm early.
6870 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
6872 (test): If the target can't hardware step and doesn't support
6873 displaced stepping, increase the timeout.
6875 2015-09-16 Pedro Alves <palves@redhat.com>
6877 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
6878 (enable_debug): New procedures.
6879 (test): Use them. Bail out if waiting for threads fails.
6880 (top level): Bail out if a test fails.
6882 2015-09-16 Yao Qi <yao.qi@linaro.org>
6884 * gdb.asm/asm-source.exp: Set asm-arch for
6885 aarch64*-*-* target.
6886 * gdb.asm/aarch64.inc: New file.
6888 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
6890 * gdb.ada/array_of_variable_length.exp: New testcase.
6891 * gdb.ada/array_of_variable_length/foo.adb: New file.
6892 * gdb.ada/array_of_variable_length/pck.adb: New file.
6893 * gdb.ada/array_of_variable_length/pck.ads: New file.
6895 2015-09-15 Doug Evans <dje@google.com>
6897 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
6898 of function static local variable.
6900 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6902 * gdb.threads/tls-so_extern.exp: New test file.
6903 * gdb.threads/tls-so_extern.c: New test file.
6904 * gdb.threads/tls-so_extern_main.c: New test file.
6906 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6908 * gdb.opt/solib-intra-step-lib.c: New file.
6909 * gdb.opt/solib-intra-step-main.c: New file.
6910 * gdb.opt/solib-intra-step.exp: New file.
6912 2015-09-15 Pedro Alves <palves@redhat.com>
6914 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
6915 gdb_continue_to_breakpoint instead of gdb_test_multiple.
6917 2015-09-14 Pedro Alves <palves@redhat.com>
6919 * gdb.base/hook-stop-continue.c: Delete.
6920 * gdb.base/hook-stop-continue.exp: Delete.
6921 * gdb.base/hook-stop-frame.c: Delete.
6922 * gdb.base/hook-stop-frame.exp: Delete.
6923 * gdb.base/hook-stop.c: New file.
6924 * gdb.base/hook-stop.exp: New file.
6926 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
6928 * gdb.ada/access_to_packed_array.exp: New testcase.
6929 * gdb.ada/access_to_packed_array/foo.adb: New file.
6930 * gdb.ada/access_to_packed_array/pack.adb: New file.
6931 * gdb.ada/access_to_packed_array/pack.ads: New file.
6933 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
6935 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
6938 2015-09-11 Don Breazeal <donb@codesourcery.com>
6940 * gdb.base/foll-exec.c: Add copyright header. Fix
6942 * gdb.base/foll-exec.exp (zap_session): Delete proc.
6943 (do_exec_tests): Use clean_restart in place of zap_session,
6944 and for test initialization. Fix formatting issues. Use
6945 fail in place of perror.
6946 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
6947 an expect statement to match an expression with output from
6948 the program under debug.
6949 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
6950 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
6951 * gdb.threads/non-ldr-exc-2.exp: Likewise.
6952 * gdb.threads/non-ldr-exc-3.exp: Likewise.
6953 * gdb.threads/non-ldr-exc-4.exp: Likewise.
6955 2015-09-09 Doug Evans <dje@google.com>
6957 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
6959 2015-09-09 Doug Evans <dje@google.com>
6961 * gdb.base/pie-execl.exp: Fix result test of build_executable.
6963 2015-09-09 Doug Evans <dje@google.com>
6965 * gdb.base/savedregs.exp: Fix typo.
6967 2015-09-09 Pedro Alves <palves@redhat.com>
6969 * gdb.mi/mi-cli.exp: Add CLI finish tests.
6971 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
6973 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
6974 command actually switches threads. Give up on remaining
6975 tests if target fails to stop at breakpoint.
6977 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
6979 * gdb.ada/funcall_char.exp: New testcase.
6980 * gdb.ada/funcall_char/foo.adb: New file.
6982 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
6984 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
6985 expected outputs. Add two testcases for completing ambiguous
6987 * gdb.ada/complete/aux_pck.adb: New file.
6988 * gdb.ada/complete/aux_pck.ads: New file.
6989 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
6990 Ambiguous_Func functions.
6991 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
6992 * gdb.ada/complete/pck.adb: Likewise.
6994 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
6996 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
6997 failures to run the test program under GDB.
6999 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
7001 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7004 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
7006 * gdb.base/run-after-attach.exp: New test file.
7007 * gdb.base/run-after-attach.c: New test file.
7009 2015-08-26 Don Breazeal <donb@codesourcery.com>
7011 * gdb.base/foll-exec-2.c: New test program.
7012 * gdb.base/foll-exec-2.exp: New test.
7014 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7016 * gdb.base/nested-subp1.exp: New file.
7017 * gdb.base/nested-subp1.c: New file.
7018 * gdb.base/nested-subp2.exp: New file.
7019 * gdb.base/nested-subp2.c: New file.
7020 * gdb.base/nested-subp3.exp: New file.
7021 * gdb.base/nested-subp3.c: New file.
7023 2015-08-24 Pedro Alves <palves@redhat.com>
7025 * gdb.server/connect-without-multi-process.c: New file.
7026 * gdb.server/connect-without-multi-process.exp: New file.
7028 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7030 * gdb.opt/inline-markers.c: Make z int.
7032 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7034 * gdb.opt/inline-markers.c: Make z volatile.
7036 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7038 * gdb.opt/inline-bt.c: New volatile global z.
7039 * gdb.opt/inline-cmds.c: Likewise.
7040 * gdb.opt/inline-locals.c: Likewise.
7041 * gdb.opt/inline-markers.c: New extern global z.
7043 (inline_fn): Likewise.
7045 2015-08-24 Pedro Alves <palves@redhat.com>
7047 * config/m32r-stub.exp: Remove file.
7048 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7049 * gdb.base/call-rt-st.exp: Likewise.
7050 * gdb.base/call-strs.exp: Likewise.
7051 * gdb.base/default.exp: Remove references to h8300-*-hms and
7053 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7055 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7057 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7058 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
7059 and "return" use KFAIL when GDB can not read/write the vector
7062 2015-08-21 Gary Benson <gbenson@redhat.com>
7064 * gdb.trace/pending.exp: Cope with remote transfer warnings.
7066 2015-08-20 Pedro Alves <palves@redhat.com>
7068 * gdb.server/solib-list.exp: No longer expect an interior stop in
7071 2015-08-20 Pedro Alves <palves@redhat.com>
7073 * gdb.server/connect-stopped-target.c: New file.
7074 * gdb.server/connect-stopped-target.exp: New file.
7076 2015-08-20 Pedro Alves <palves@redhat.com>
7078 * gdb.dwarf2/comp-unit-lang.exp: New file.
7079 * gdb.dwarf2/comp-unit-lang.c: New file.
7081 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
7083 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7084 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7086 2015-08-19 Kevin Buettner <kevinb@redhat.com>
7088 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7089 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7091 2015-08-18 Doug Evans <dje@google.com>
7092 Adrian Sendroiu <adrian.sendroiu@freescale.com>
7094 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7095 skip_python_tests. New arg prompt_regexp.
7096 (skip_python_tests): New function.
7097 * lib/mi-support.exp (mi_skip_python_tests): New function.
7098 * gdb.python/py-mi-objfile-gdb.py: New file.
7099 * gdb.python/py-mi-objfile.c: New file.
7100 * gdb.python/py-mi-objfile.exp: New file.
7102 2015-08-17 Keith Seitz <keiths@redhat.com>
7104 * gdb.linespec/explicit.exp: Move strace test from here ...
7105 * gdb.trace/strace.exp: ... to here.
7107 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
7109 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
7110 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
7112 2015-08-14 Doug Evans <xdje42@gmail.com>
7114 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
7115 inferior before selecting a new file.
7117 2015-08-14 Doug Evans <xdje42@gmail.com>
7119 * gdb.mi/mi-disassemble.exp: Update.
7120 * gdb.base/disasm-optim.S: New file.
7121 * gdb.base/disasm-optim.c: New file.
7122 * gdb.base/disasm-optim.h: New file.
7123 * gdb.base/disasm-optim.exp: New file.
7125 2015-08-14 Keith Seitz <keiths@redhat.com>
7127 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
7130 2015-08-13 Joel Brobecker <brobecker@adacore.com>
7132 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
7134 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
7136 * gdb.ada/fun_renaming.exp: New testcase.
7137 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
7138 * gdb.ada/fun_renaming/pack.adb: New file.
7139 * gdb.ada/fun_renaming/pack.ads: New file.
7141 2015-08-12 Keith Seitz <keiths@redhat.com>
7143 * gdb.base/dso2dso.exp: Pass basename of source file in call to
7144 gdb_get_line_number.
7146 2015-08-12 Joel Brobecker <brobecker@adacore.com>
7148 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
7149 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
7150 gdb.base/dso2dso.exp: New files.
7152 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
7153 Pedro Alves <palves@redhat.com>
7154 Keith Seitz <keiths@redhat.com>
7156 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
7159 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7161 * gdb.base/gdbhistsize-history.exp
7162 (test_histsize_history_setting): Use save_vars.
7163 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7165 (test_no_truncation_of_unlimited_history_file): Use save_vars.
7166 * gdb.base/readline.exp: Use save_vars.
7168 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7170 * lib/gdb.exp (save_vars): New proc.
7172 2015-08-11 Keith Seitz <keiths@redhat.com>
7174 * gdb.base/help.exp: Update help_breakpoint_text.
7176 2015-08-11 Keith Seitz <keiths@redhat.com>
7178 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
7179 (at toplevel): Call test_explicit_breakpoints.
7180 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7182 * lib/mi-support.exp (mi_make_breakpoint): Add support for
7183 breakpoint conditions, "-cond".
7185 2015-08-11 Keith Seitz <keiths@redhat.com>
7187 * gdb.linespec/3explicit.c: New file.
7188 * gdb.linespec/cpexplicit.cc: New file.
7189 * gdb.linespec/cpexplicit.exp: New file.
7190 * gdb.linespec/explicit.c: New file.
7191 * gdb.linespec/explicit.exp: New file.
7192 * gdb.linespec/explicit2.c: New file.
7193 * gdb.linespec/ls-errs.exp: Add explicit location tests.
7194 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
7195 before using in the matching pattern.
7196 Clarify that `prefix' is a regular expression.
7198 2015-08-11 Keith Seitz <keiths@redhat.com>
7200 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
7202 Add tests for missing ",FMT" and ",".
7204 2015-08-10 Doug Evans <dje@google.com>
7205 Keith Seitz <keiths@redhat.com>
7208 * gdb.base/completion.exp: Add location completer tests.
7210 2015-08-07 Pedro Alves <palves@redhat.com>
7212 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
7214 (top level): Run do_test with and without displaced stepping.
7216 2015-08-07 Pedro Alves <palves@redhat.com>
7218 * gdb.base/valgrind-disp-step.c: New file.
7219 * gdb.base/valgrind-disp-step.exp: New file.
7221 2015-08-07 Pedro Alves <palves@redhat.com>
7223 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
7225 (main): Add alarm. Run an infinite loop instead of calling
7227 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
7229 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
7231 (main): Add alarm. Run an infinite loop instead of calling
7233 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
7236 2015-08-07 Pedro Alves <palves@redhat.com>
7238 * gdb.base/checkpoint-ns.exp: New file.
7239 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
7242 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
7244 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
7245 * gdb.btrace/instruction_history.exp: Update.
7246 * gdb.btrace/tsx.exp: New.
7247 * gdb.btrace/tsx.c: New.
7249 2015-08-06 Pedro Alves <palves@redhat.com>
7251 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
7253 * gdb.reverse/until-precsave.exp: Bump timeouts.
7255 2015-08-06 Pedro Alves <palves@redhat.com>
7257 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
7259 2015-08-06 Pedro Alves <palves@redhat.com>
7262 * gdb.threads/process-dies-while-handling-bp.c: New file.
7263 * gdb.threads/process-dies-while-handling-bp.exp: New file.
7265 2015-08-06 Pedro Alves <palves@redhat.com>
7267 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
7268 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
7270 2015-08-05 Pedro Alves <palves@redhat.com>
7272 * gdb.threads/next-while-other-thread-longjmps.c: New file.
7273 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
7275 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
7277 * gdb.base/bp-permanent.exp: Report test as unsupported if
7278 the target cannot stop at the permanent breakpoint.
7280 2015-08-03 Doug Evans <dje@google.com>
7282 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
7285 2015-08-03 Doug Evans <dje@google.com>
7287 * Makefile.in (workers/%.worker, build-perf): New rule.
7288 (GDB_PERFTEST_MODE): New variable.
7289 (check-perf): Use it.
7290 (clean): Clean up gdb.perf parallel build subdirs.
7291 * lib/build-piece.exp: New file.
7292 * lib/gdb.exp (make_gdb_parallel_path): New function
7293 (standard_output_file, standard_temp_file): Call it.
7294 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7296 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
7298 2015-08-03 Doug Evans <dje@google.com>
7300 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
7301 (LOG_FILE_NAME): New global.
7302 (TextReporter.__init__): Initialize self.txt_sum.
7303 (TextReporter.report): Add support for multiple data-points.
7304 Move report to perftest.sum, put raw data in perftest.log.
7305 (TextReporter.start): Open sum and log files.
7306 (TextReporter.end): Close sum and log files.
7307 * gdb.perf/lib/perftest/testresult.py
7308 (SingleStatisticTestResult.record): Handle multiple data-points.
7310 2015-07-31 Pedro Alves <palves@redhat.com>
7312 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
7313 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7314 kill_wait_spawned_process instead of explicit "kill -9".
7315 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
7316 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7317 kill_wait_spawned_process.
7318 * gdb.base/attach-twice.exp: Likewise.
7319 * gdb.base/attach.exp: Likewise.
7320 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
7322 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
7323 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7324 kill_wait_spawned_process.
7325 * gdb.base/valgrind-infcall.exp: Likewise.
7326 * gdb.multi/multi-attach.exp: Likewise.
7327 * gdb.python/py-prompt.exp: Likewise.
7328 * gdb.python/py-sync-interp.exp: Likewise.
7329 * gdb.server/ext-attach.exp: Likewise.
7330 * gdb.threads/attach-into-signal.exp (corefunc): Use
7331 spawn_wait_for_attach, spawn_id_get_pid and
7332 kill_wait_spawned_process.
7333 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
7334 spawn_wait_for_attach returning a spawn id instead of a pid. Use
7335 spawn_id_get_pid and kill_wait_spawned_process.
7336 * gdb.threads/attach-stopped.exp (corefunc): Use
7337 spawn_wait_for_attach, spawn_id_get_pid and
7338 kill_wait_spawned_process.
7339 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
7340 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7341 kill_wait_spawned_process instead of explicit "kill -9".
7342 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
7343 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
7344 (spawn_wait_for_attach): Use spawn instead of exec to spawn
7345 processes. Don't map cygwin/windows pids here. Now returns a
7348 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7350 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
7351 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
7354 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7356 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
7358 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7361 2014-05-21 Mark Wielaard <mjw@redhat.com>
7363 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7365 2015-07-30 Pedro Alves <palves@redhat.com>
7367 * linux-low.c (handle_extended_wait): Set the child's last
7368 reported status to TARGET_WAITKIND_STOPPED.
7370 2015-07-30 Pedro Alves <palves@redhat.com>
7373 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
7374 only shows inferior 1.
7376 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
7377 Pedro Alves <palves@redhat.com>
7380 * gdb.threads/fork-plus-threads.c: New file.
7381 * gdb.threads/fork-plus-threads.exp: New file.
7383 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7385 * gdb.base/batch-preserve-term-settings.exp
7386 (test_terminal_settings_preserved_after_cli_exit): Use
7389 2015-07-29 Pedro Alves <palves@redhat.com>
7390 Don Breazeal <donb@codesourcery.com>
7392 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
7393 output from both inferior_spawn_id and gdb_spawn_id.
7395 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7397 * gdb.threads/attach-into-signal.exp (corefunc): Use
7398 with_test_prefix on nested loops, uniquefying the test messages.
7400 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7402 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
7405 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7407 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
7409 (test_terminal_settings_preserved_after_sigterm): New test.
7411 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7413 * gdb.base/batch-preserve-term-settings.exp
7414 (test_terminal_settings_preserved_after_cli_exit): New test.
7416 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7418 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
7419 manipulation of saved_gdbflags.
7420 (test_terminal_settings_preserved): Remove global declaration of
7421 the unused variable pagination_prompt. Remove manipulation of
7422 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
7425 2015-07-29 Pedro Alves <palves@redhat.com>
7427 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
7429 2015-07-29 Pedro Alves <palves@redhat.com>
7431 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
7434 2015-07-29 Pedro Alves <palves@redhat.com>
7436 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
7437 (main): Call gdb_unbuffer_output.
7438 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
7439 (main): Call gdb_unbuffer_output.
7440 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
7441 (main): Call gdb_unbuffer_output.
7442 * gdb.base/call-strs.exp: Adjust to step over the
7443 gdb_unbuffer_output call.
7444 * gdb.base/catch-gdb-caused-signals.c: Include
7445 "../lib/unbuffer_output.c".
7446 (main): Call gdb_unbuffer_output.
7447 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
7448 (main): Call gdb_unbuffer_output.
7449 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
7450 (main): Call gdb_unbuffer_output.
7451 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
7452 (main): Call gdb_unbuffer_output.
7453 * gdb.base/shlib-call.exp: Adjust to step over the
7454 gdb_unbuffer_output call.
7455 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
7456 (main): Call gdb_unbuffer_output.
7457 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
7458 (main): Call gdb_unbuffer_output.
7459 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
7460 (main): Rename to ...
7462 (main): Reimplement.
7463 * gdb.base/varargs.exp: Run to test instead of to main.
7464 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7465 (main): Call gdb_unbuffer_output.
7467 2015-07-29 Pedro Alves <palves@redhat.com>
7469 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
7470 factore out from mi_continue_dprintf. For call-style dprintfs,
7471 expect dprintf output out of $inferior_spawn_id.
7472 (mi_continue_dprintf): Use mi_expect_dprintf.
7473 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7474 (main): Call gdb_unbuffer_output.
7476 2015-07-29 Pedro Alves <palves@redhat.com>
7478 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
7479 (default_mi_gdb_start): Set inferior_spawn_id instead of
7480 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
7482 (mi_gdb_test): Always expect inferior output from both
7483 $inferior_spawn_id and $gdb_spawn_id.
7485 2015-07-29 Pedro Alves <palves@redhat.com>
7487 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
7488 send_inferior and $inferior_spawn_id.
7490 2015-07-29 Pedro Alves <palves@redhat.com>
7492 * gdb.gdb/complaints.exp (test_initial_complaints)
7493 (test_serial_complaints, test_short_complaints): Use
7495 (test_empty_complaint): Handle $inferior_spawn_id !=
7498 2015-07-29 Pedro Alves <palves@redhat.com>
7500 * gdb.base/varargs.exp: Use gdb_test_stdio.
7502 2015-07-29 Pedro Alves <palves@redhat.com>
7504 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
7506 2015-07-29 Pedro Alves <palves@redhat.com>
7508 * gdb.base/ending-run.exp: Use gdb_test_stdio.
7510 2015-07-29 Pedro Alves <palves@redhat.com>
7512 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
7513 parameter into two new parameters, "inf_result" and "gdb_result".
7514 Expect inferior output and gdb output from $inferior_spawn_id and
7515 $gdb_spawn_id, respectively. Adjust all callers.
7517 2015-07-29 Pedro Alves <palves@redhat.com>
7519 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
7520 of gdb_test_sequence.
7522 2015-07-29 Pedro Alves <palves@redhat.com>
7524 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
7525 (saw_spurious_output): Expect inferior output from
7526 $inferior_spawn_id. Use gdb_test_stdio.
7528 2015-07-29 Pedro Alves <palves@redhat.com>
7530 * gdb.base/dprintf.exp: Use standard_testfile. Change
7531 prepare_for_testing call.
7532 (srcfile): Don't set.
7533 (restart): New procedure.
7534 (test_dprintf): New procecure, use to continue over dprintfs.
7535 (test_call, test_agent): New procedures, tests moved here.
7536 Restart gdb and recreate dprintfs. Adjust expected output.
7538 2015-07-29 Pedro Alves <palves@redhat.com>
7540 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
7542 2015-07-29 Pedro Alves <palves@redhat.com>
7544 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
7546 2015-07-29 Pedro Alves <palves@redhat.com>
7548 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
7551 2015-07-29 Pedro Alves <palves@redhat.com>
7553 * lib/gdb.exp (gdb_test_stdio): New procedure.
7555 2015-07-29 Pedro Alves <palves@redhat.com>
7557 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
7559 2015-07-29 Pedro Alves <palves@redhat.com>
7561 * gdb.base/call-signal-resume.exp: Remove check for
7562 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
7563 * gdb.base/unwindonsignal.exp: Likewise.
7564 * gdb.base/call-signals.c (gen_signal): Remove printf call.
7565 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
7567 2015-07-29 Pedro Alves <palves@redhat.com>
7569 * gdb.base/siginfo-addr.c (pass): New function.
7570 (handler): Call it iff si_addr is correct.
7571 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
7572 Set a breakpoint at "pass" and continue to it.
7574 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
7576 * gdb.python/py-objfile.exp: Make some tests have unique names.
7577 * gdb.python/py-pp-registration.exp: Likewise.
7579 2015-07-28 Pedro Alves <palves@redhat.com>
7581 * gdb.server/server-exec-info.exp: Issue a "disconnect".
7583 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
7585 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
7587 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
7589 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
7591 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
7593 * gdb.base/gdb-sigterm-2.exp: New test.
7595 2015-07-25 Doug Evans <xdje42@gmail.com>
7598 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7599 (workers/%.worker, build-perf): New rule.
7600 (GDB_PERFTEST_MODE): New variable.
7601 (check-perf): Use it.
7602 (clean): Clean up gdb.perf parallel build subdirs.
7603 * lib/build-piece.exp: New file.
7604 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7605 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7607 (standard_temp_file): Ditto.
7608 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7611 2015-07-24 Doug Evans <dje@google.com>
7613 * gdb.perf/lib/perftest/utils.py: New file.
7614 * gdb.perf/gm-hello.cc: New file.
7615 * gdb.perf/gm-pervasive-typedef.cc: New file.
7616 * gdb.perf/gm-pervasive-typedef.h: New file.
7617 * gdb.perf/gm-std.cc: New file.
7618 * gdb.perf/gm-std.h: New file.
7619 * gdb.perf/gm-use-cerr.cc: New file.
7620 * gdb.perf/gm-utils.h: New file.
7621 * gdb.perf/gmonster-null-lookup.py: New file.
7622 * gdb.perf/gmonster-pervasive-typedef.py: New file.
7623 * gdb.perf/gmonster-print-cerr.py: New file.
7624 * gdb.perf/gmonster-ptype-string.py: New file.
7625 * gdb.perf/gmonster-runto-main.py: New file.
7626 * gdb.perf/gmonster-select-file.py: New file.
7627 * gdb.perf/gmonster1-null-lookup.exp: New file.
7628 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
7629 * gdb.perf/gmonster1-print-cerr.exp: New file.
7630 * gdb.perf/gmonster1-ptype-string.exp: New file.
7631 * gdb.perf/gmonster1-runto-main.exp: New file.
7632 * gdb.perf/gmonster1-select-file.exp: New file.
7633 * gdb.perf/gmonster1.cc: New file.
7634 * gdb.perf/gmonster1.exp: New file.
7635 * gdb.perf/gmonster2-null-lookup.exp: New file.
7636 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
7637 * gdb.perf/gmonster2-print-cerr.exp: New file.
7638 * gdb.perf/gmonster2-ptype-string.exp: New file.
7639 * gdb.perf/gmonster2-runto-main.exp: New file.
7640 * gdb.perf/gmonster2-select-file.exp: New file.
7641 * gdb.perf/gmonster2.cc: New file.
7642 * gdb.perf/gmonster2.exp: New file.
7644 2015-07-24 Doug Evans <dje@google.com>
7646 * gdb.perf/README: New file.
7647 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
7648 * lib/gen-perf-test.exp: New file.
7650 2015-07-24 Doug Evans <dje@google.com>
7652 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
7653 (PerfTest::startup): New function.
7654 (PerfTest::run): Return result of calling body.
7655 (PerfTest::assemble): Rewrite.
7656 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
7657 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
7658 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
7659 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
7660 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
7662 2015-07-24 Doug Evans <dje@google.com>
7664 * lib/gdb.exp (clean_restart): Make executable optional.
7666 2015-07-24 Doug Evans <dje@google.com>
7668 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
7669 compiler_info references.
7670 * gdb.cp/temargs.exp: Ditto.
7671 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
7672 (get_compiler_info): Early exit if already computed. Set compiler_info
7673 to "unknown" if there was a problem.
7674 (test_compiler_info): Add function comment. Call get_compiler_info.
7676 2015-07-24 Doug Evans <dje@google.com>
7678 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
7679 (workers/%.worker, build-perf): New rule.
7680 (GDB_PERFTEST_MODE): New variable.
7681 (check-perf): Use it.
7682 (clean): Clean up gdb.perf parallel build subdirs.
7683 * lib/build-piece.exp: New file.
7684 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
7685 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
7687 (standard_temp_file): Ditto.
7688 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7691 2015-07-24 Doug Evans <dje@google.com>
7693 * lib/future.exp (gdb_default_target_compile): New option
7695 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
7698 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
7700 * gdb.base/catch-syscall.exp: Call gdb_exit before
7703 2015-07-24 Pedro Alves <palves@redhat.com>
7705 * gdb.python/py-events.exp: Accept output between the stop event
7707 * gdb.python/py-evsignal.exp: Likewise.
7708 * gdb.python/py-evthreads.exp: Likewise.
7710 2015-07-24 Pedro Alves <palves@redhat.com>
7713 * gdb.threads/non-ldr-exit.c: New file.
7714 * gdb.threads/non-ldr-exit.exp: New file.
7716 2015-07-24 Yao Qi <yao.qi@linaro.org>
7718 * gdb.server/ext-wrapper.exp: Test --wrapper option when
7721 2015-07-24 Yao Qi <yao.qi@linaro.org>
7723 * gdb.server/ext-restart.exp: New file.
7725 2015-07-24 Yao Qi <yao.qi@linaro.org>
7727 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
7729 * gdb.server/ext-wrapper.exp: New file.
7731 2015-07-23 Doug Evans <dje@google.com>
7733 * gdb.dwarf2/dw2-dummy-cu.S: New file.
7734 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
7736 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
7738 * gdb.ada/var_arr_typedef.exp: New testcase.
7739 * gdb.ada/var_arr_typedef/pack.adb: New file.
7740 * gdb.ada/var_arr_typedef/pack.ads: New file.
7741 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
7743 2015-07-20 Joel Brobecker <brobecker@adacore.com>
7745 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
7747 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7749 * gdb.arch/i386-biarch-core.exp: Replace istarget
7750 by "complete set gnutarget". Remove expectation for the "core-file"
7753 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7755 Revert the previous commit:
7756 Tests for validate symbol file using build-id.
7758 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
7760 Tests for validate symbol file using build-id.
7761 * gdb.base/solib-mismatch-lib.c: New file.
7762 * gdb.base/solib-mismatch-libmod.c: New file.
7763 * gdb.base/solib-mismatch.c: New file.
7764 * gdb.base/solib-mismatch.exp: New file.
7766 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
7768 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
7770 * gdb.base/sigbpt.exp (stepi_out): Likewise.
7771 * gdb.base/siginfo.exp: Likewise.
7772 * gdb.base/sigstep.exp (advance, advancei): Likewise.
7774 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
7776 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
7778 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
7780 * gdb.trace/range-stepping.exp: Check that the target supports
7783 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7785 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
7787 2015-07-14 Pedro Alves <palves@redhat.com>
7789 * gdb.base/killed-outside.exp: New file.
7790 * gdb.base/killed-outside.c: New file.
7792 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7794 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
7796 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
7798 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7800 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
7801 infcall tests instead of setting up for KFAIL.
7803 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
7805 * gdb.btrace/record_goto-step.exp: New.
7807 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7810 * gdb.compile/compile.c (struct struct_type): Add volatile to
7812 * gdb.compile/compile.exp
7813 (compile code struct_object.selffield = &struct_object): Skip further
7814 struct_object tests if this one xfails.
7816 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
7819 * gdb.trace/ax.exp: Add test.
7821 2015-07-07 Yao Qi <yao.qi@linaro.org>
7823 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
7824 instead of istarget "aarch64*-*-*".
7825 * gdb.arch/aarch64-fp.exp: Likewise.
7826 * gdb.base/float.exp: Likewise.
7827 * gdb.reverse/aarch64.exp: Likewise.
7828 * lib/gdb.exp (is_aarch64_target): New proc.
7830 2015-07-07 Yao Qi <yao.qi@linaro.org>
7832 * lib/gdb.exp (is_aarch32_target): New proc.
7833 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
7834 instead of "istarget "arm*-*-*"".
7835 * gdb.arch/arm-disp-step.exp: Likewise.
7836 * gdb.arch/thumb-bx-pc.exp: Likewise.
7837 * gdb.arch/thumb-prologue.exp: Likewise.
7838 * gdb.arch/thumb-singlestep.exp: Likewise.
7839 * gdb.base/disp-step-syscall.exp: Likewise.
7840 * gdb.base/float.exp: Likewise.
7842 2015-07-07 Yao Qi <yao.qi@linaro.org>
7844 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
7845 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
7847 2015-07-07 Yao Qi <yao.qi@linaro.org>
7849 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
7850 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
7852 * gdb.multi/multi-arch.exp: Likewise.
7854 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
7856 * gdb.python/py-lazy-string.exp: Add missing parentheses to
7859 2015-07-07 Yao Qi <yao.qi@linaro.org>
7861 * gdb.arch/thumb-singlestep.exp: Do one more single step.
7863 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
7865 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
7866 '[' and ']' characters.
7868 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
7870 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7872 2015-06-29 Pedro Alves <palves@redhat.com>
7875 * gdb.threads/hand-call-new-thread.c: New file.
7876 * gdb.threads/hand-call-new-thread.c: New file.
7878 2015-06-26 Keith Seitz <keiths@redhat.com>
7879 Doug Evans <dje@google.com>
7882 * gdb.cp/var-tag-2.cc: New file.
7883 * gdb.cp/var-tag-3.cc: New file.
7884 * gdb.cp/var-tag-4.cc: New file.
7885 * gdb.cp/var-tag.cc: New file.
7886 * gdb.cp/var-tag.exp: New file.
7888 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
7890 * gdb.base/history-duplicates.exp: New test.
7892 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
7894 * gdb.base/completion.exp: Test the completion of the "focus"
7897 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7899 * gdb.arch/amd64-prologue-skip.S: New file.
7900 * gdb.arch/amd64-prologue-skip.exp: New file.
7902 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
7904 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
7905 is_address_zero_readable check.
7907 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
7909 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
7910 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
7912 2015-06-24 Yao Qi <yao.qi@linaro.org>
7914 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
7917 2015-06-24 Yao Qi <yao.qi@linaro.org>
7919 * lib/gdb.exp (supports_get_siginfo_type): New proc.
7920 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
7921 * gdb.base/siginfo-thread.exp: Likewise.
7923 2015-06-22 Yao Qi <yao.qi@linaro.org>
7925 * boards/remote-gdbserver-on-localhost.exp: Add comments.
7927 2015-06-22 Yao Qi <yao.qi@linaro.org>
7929 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
7931 (skip_hw_watchpoint_tests): Likewise.
7933 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
7935 * gdb.base/gdbinit-history.exp: Test the interaction between
7936 setting GDBHISTSIZE and setting the history size via .gdbinit.
7938 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7941 * gdb.base/gdbhistsize-history.exp: New test.
7943 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7945 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
7947 * gdb.base/readline.exp: Likewise.
7949 2015-06-17 Yao Qi <yao.qi@linaro.org>
7951 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
7954 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7956 * gdb.base/gdbinit-history.exp: Add test case to check that
7957 an unlimited history file does not get truncated on exit.
7959 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7961 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
7962 (VECTOR): New macro. Use it...
7963 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
7964 ...for these typedefs.
7965 (int8, char1, int1, double1): New typedefs.
7966 (struct just_int2, struct two_int2): New structures.
7967 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
7968 (add_structvecs, add_singlevecs): New functions.
7969 (main): Call add_some_intvecs twice.
7970 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
7971 the compile and exit upon failure. Try compiling for the "native"
7972 architecture. Test inferior function calls with vector arguments
7973 and vector return value handling with "finish" and "return".
7975 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
7977 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
7978 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
7980 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
7982 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7984 PR breakpoints/16465
7985 * gdb.mi/mi-dprintf-pending.c: New file.
7986 * gdb.mi/mi-dprintf-pending.exp: New test.
7987 * gdb.mi/mi-dprintf-pendshr.c: New file.
7989 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7990 Mircea Gherzan <mircea.gherzan@intel.com>
7992 * gdb.arch/i386-mpx-map.c: New file.
7993 * gdb.arch/i386-mpx-map.exp: New File.
7995 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7997 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
7998 * gdb.arch/i386-mpx.exp: Indentation fixed.
8000 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8002 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8003 function and improved indentation.
8004 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8005 gdb_test_multiple. Added additional tests to skip the test.
8007 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8009 * gdb.arch/i386-avx512.c: Change path in include file.
8010 * gdb.arch/i386-avx512.exp: Change include dir path
8012 * gdb.arch/i386-mpx.c: Change path in include file.
8013 * gdb.arch/i386-mpx.exp: Change include dir path compilation
8016 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8018 * gdb.compile/compile-print.exp (compile print *vararray@3)
8019 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8021 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8023 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8024 (do not keep jit in memory): ... this.
8025 (expect 5): Change it to ...
8026 (expect no 5): ... this.
8028 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
8031 * gdb.mi/mi-detach.exp: New file.
8033 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8036 * gdb.arch/amd64-tailcall-self.S: New file.
8037 * gdb.arch/amd64-tailcall-self.c: New file.
8038 * gdb.arch/amd64-tailcall-self.exp: New file.
8040 2015-05-28 Don Breazeal <donb@codesourcery.com>
8042 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8043 tests for remote targets by checking is_target_gdbserver.
8045 2015-05-27 Doug Evans <dje@google.com>
8047 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8048 * gdb.dwarf2/opaque-type-lookup.c: New file.
8049 * gdb.dwarf2/opaque-type-lookup.exp: New file.
8051 2015-05-26 Doug Evans <dje@google.com>
8053 * gdb.cp/iostream.cc: New file.
8054 * gdb.cp/iostream.exp: New file.
8056 2015-05-26 Doug Evans <dje@google.com>
8058 * gdb.dwarf2/dw2-op-call.exp: Update.
8059 * gdb.dwarf2/dw4-sig-types.exp: Update.
8060 * gdb.dwarf2/implptr.exp: Update.
8061 * gdb.mi/mi-cmd-param-changed.exp: Update.
8063 2015-05-26 Doug Evans <dje@google.com>
8065 * gdb.python/py-lazy-string.c: New file.
8066 * gdb.python/py-lazy-string.exp: New file.
8067 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8068 (main): Update. Add estring3.
8069 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8070 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8072 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8073 Yao Qi <yao.qi@linaro.org>
8075 * gdb.reverse/aarch64.c: New.
8076 * gdb.reverse/aarch64.exp: New.
8078 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8080 * lib/gdb.exp (supports_process_record): Return true for
8082 (supports_reverse): Likewise.
8084 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
8086 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8087 Use with_test_prefix.
8089 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
8091 * gdb.base/completion.exp: Add test for completion of layout
8094 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
8096 * lib/gdb.exp (skip_tui_tests): New proc.
8097 * gdb.base/tui-layout.exp: Check skip_tui_tests.
8099 2015-05-19 Pedro Alves <palves@redhat.com>
8101 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8102 Save the whole env array instead of just HOME. Unset HISTSIZE in
8103 the environment while testing. Restore whole environment
8106 2015-05-16 Doug Evans <xdje42@gmail.com>
8108 * gdb.guile/scm-ports.c: New file.
8109 * gdb.guile/scm-ports.exp: Add memory port tests.
8111 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8113 * gdb.compile/compile-print.c: New file.
8114 * gdb.compile/compile-print.exp: New file.
8116 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8118 * gdb.compile/compile-ops.exp: Cast param to void.
8119 * gdb.compile/compile.exp: Complete type for _gdb_expr.
8120 (compile code struct_object.selffield = &struct_object): Add xfail.
8122 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8124 * gdb.ada/arr_enum_with_gap: New testcase.
8126 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8128 * gdb.ada/byte_packed_arr: New testcase.
8130 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8132 * gdb.ada/pckd_neg: New testcase.
8134 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
8137 * gdb.base/gdbinit-history.exp: New test.
8138 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
8139 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
8141 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
8143 * gdb.python/py-xmethods.cc: Enhance test case.
8144 * gdb.python/py-xmethods.exp: New tests.
8145 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
8147 (B_indexoper): Likewise.
8148 (global_dm_list) : Add new xmethod worker functions.
8150 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
8152 * gdb.base/coredump-filter.exp: Correctly unset
8153 "coredump_var_addr" array.
8155 2015-05-08 Pedro Alves <palves@redhat.com>
8157 * gdb.server/non-existing-program.exp: Unset spawn_id.
8159 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
8162 * gdb.python/py-xmethods.exp: Add tests.
8164 2015-05-08 Yao Qi <yao.qi@linaro.org>
8167 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
8168 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
8169 function set_coredump_filter, and remove remote_exec call.
8170 Remove argument ipid. Callers update.
8171 (top level): Don't get inferior's PID.
8173 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
8175 * gdb.base/watch_thread_num.exp: Skip test on targets without
8178 2015-05-06 Pedro Alves <palves@redhat.com>
8181 * gdb.server/non-existing-program.exp: New file.
8183 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8185 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
8187 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8189 * gdb.ada/out_of_line_in_inlined: New testcase.
8191 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8193 * gdb.ada/var_rec_arr: New testcase.
8195 2015-04-30 Yao Qi <yao.qi@linaro.org>
8197 * gdb.base/break-idempotent.exp: If
8198 skip_hw_watchpoint_multi_tests returns true, skip the tests
8199 on "rwatch" and "awatch".
8201 2015-04-30 Yao Qi <yao.qi@linaro.org>
8203 * gdb.base/relativedebug.exp: Invoke gdb command
8204 "info sharedlibrary", and if libc.so doesn't have debug info,
8207 2015-04-29 Doug Evans <dje@google.com>
8209 * gdb.python/py-xmethods.exp: Add ptype tests.
8210 * gdb.python/py-xmethods.py (E_method_char_worker): Add
8211 get_result_type method.
8213 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8215 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
8216 the target does not support hardware watchpoints.
8218 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8220 * gdb.base/break-always.exp: Abort testing if writing to memory
8223 2015-04-28 Doug Evans <dje@google.com>
8225 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
8226 * gdb.python/py-pp-registration.exp: ... here. New file.
8227 * gdb.python/py-pp-registration.c: New file.
8228 * gdb.python/py-pp-registration.py: New file.
8230 2015-04-28 Doug Evans <dje@google.com>
8232 * gdb.python/py-bad-printers.c: New file.
8233 * gdb.python/py-bad-printers.py: New file.
8234 * gdb.python/py-bad-printers.exp: New file.
8236 2015-04-28 Sasha Smundak <asmundak@google.com>
8238 * gdb.python/py-type.exp: New test.
8240 2015-04-28 Andy Wingo <wingo@igalia.com>
8242 * gdb.python/py-parameter.exp:
8243 * gdb.guile/scm-parameter.exp: Escape the path that we are
8244 matching against, as it might contain characters that are special
8245 to regular expressions.
8247 2015-04-27 Joel Brobecker <brobecker@adacore.com>
8249 * gdb.ada/rec_comp: New testcase.
8251 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
8253 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
8256 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
8258 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
8259 new tests for verilog output.
8261 2015-04-24 Yao Qi <yao.qi@linaro.org>
8263 * boards/remote-gdbserver-on-localhost.exp: New file.
8265 2015-04-23 Pedro Alves <palves@redhat.com>
8267 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
8268 $inferior_spawn_id instead of $inferior_spawn_id directly. On
8269 "end of file", remove $inferior_spawn_id from the indirect list.
8271 2015-04-23 Pedro Alves <palves@redhat.com>
8273 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
8275 2015-04-23 Pedro Alves <palves@redhat.com>
8277 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
8278 on $any_spawn_id instead of only on $gdb_spawn_id.
8280 2015-04-21 Pierre Muller <muller@sourceware.org>
8283 * lib/pascal.exp (gpc_compile): Add new option "class".
8284 (fpc_compile): Likewise.
8285 * gdb.pascal/case-insensitive-symbols.pas: New file.
8286 * gdb.pascal/case-insensitive-symbols.exp: New file.
8288 2015-04-20 Gary Benson <gbenson@redhat.com>
8290 * gdb.base/attach.exp: Fix three extended remote failures.
8292 2015-04-17 Gary Benson <gbenson@redhat.com>
8294 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
8295 the main executable over the remote protocol.
8297 2015-04-16 Pedro Alves <palves@redhat.com>
8299 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
8300 a new gdbserver if gdbserver_reconnect_p is set.
8302 2015-04-16 Pedro Alves <palves@redhat.com>
8304 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
8305 is set, don't exit gdbserver.
8307 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8309 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
8310 appropriate .insn, such that an older assembler can be used.
8311 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
8312 the z/Architecture instruction set on 31-bit targets as well.
8314 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8316 * gdb.go/handcall.exp: Remove all logic related to the first
8317 breakpoint and rely on go_runto_main instead.
8318 * gdb.go/strings.exp: Likewise.
8319 * gdb.go/unsafe.exp: Likewise.
8320 * gdb.go/hello.exp: Likewise. Also rename the remaining
8321 breakpoint marker to "breakpoint 1".
8322 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
8323 * gdb.go/strings.go: Likewise.
8324 * gdb.go/unsafe.go: Likewise.
8325 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
8326 "set breakpoint 2 here" and rename the remaining breakpoint marker
8329 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
8331 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
8332 if itertools.imap is not present.
8333 * gdb.python/py-objfile.exp: Add parentheses.
8334 * gdb.python/py-type.exp: Same.
8335 * gdb.python/py-unwind-maint.py: Same.
8337 2015-04-15 Yao Qi <yao.qi@linaro.org>
8339 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
8340 of ":$ptr_size" and set its form explicitly.
8342 2015-04-15 Pedro Alves <palves@redhat.com>
8343 Yao Qi <yao.qi@linaro.org>
8345 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
8346 timeout by factor of 4.
8347 (test_regular_watch): Likewise.
8348 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
8349 * gdb.reverse/sigall-reverse.exp: Likewise.
8350 * gdb.reverse/until-precsave.exp: Likewise.
8351 * lib/gdb.exp (with_timeout_factor): New proc.
8352 (gdb_expect): Move some code to ...
8353 (get_largest_timeout): ... here. New procedure.
8355 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
8357 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
8359 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8361 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
8362 to write to the .text section.
8364 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8366 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
8367 Handle the case of targets that do not provide PID information.
8369 2015-04-13 Yao Qi <yao.qi@linaro.org>
8371 * lib/gdbserver-support.exp (gdb_exit): Catch exception
8372 and use expect instead of gdb_expect.
8374 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
8376 * gdb.base/coredump-filter.exp: Rename variable "addr" to
8377 "coredump_var_addr" to avoid naming conflict with other testcases.
8379 2015-04-10 Pedro Alves <palves@redhat.com>
8381 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
8382 gdb_test_sequence and gdb_assert.
8384 2015-04-10 Pedro Alves <palves@redhat.com>
8386 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
8387 test messages that don't include the breakpoint address.
8389 2015-04-10 Yao Qi <yao.qi@linaro.org>
8391 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
8392 false for some offset and width combinations which aren't
8393 supported by linux kernel.
8395 2015-04-10 Pedro Alves <palves@redhat.com>
8397 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
8398 procedure, factored out from ...
8399 (top level): ... here. Add "set displaced-stepping" testing axis.
8400 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
8401 parameter "displaced". Use it.
8402 (top level): Use foreach and add "set displaced-stepping" testing
8405 2015-04-10 Pedro Alves <palves@redhat.com>
8407 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
8409 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
8410 both the address of the instruction that triggers the watchpoint
8411 and the address of the instruction immediately after, and use
8412 those addresses for the test. Fix comment.
8414 2015-04-10 Pedro Alves <palves@redhat.com>
8416 * gdb.base/sigstep.exp (breakpoint_to_handler)
8417 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
8418 Test "backtrace" in handler.
8419 (breakpoint_over_handler): New parameter 'displaced'. Use it.
8420 (top level): Add new "displaced" test axis to
8421 breakpoint_to_handler, breakpoint_to_handler_entry and
8422 breakpoint_over_handler.
8424 2015-04-10 Pedro Alves <palves@redhat.com>
8427 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
8429 2015-04-10 Yao Qi <yao.qi@linaro.org>
8431 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
8432 (test_add_rn_pc): New function.
8433 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
8434 (top level): Invoke test_add_rn_pc.
8436 2015-04-10 Pedro Alves <palves@redhat.com>
8439 * gdb.base/step-over-no-symbols.exp: New file.
8441 2015-04-09 Andy Wingo <wingo@igalia.com>
8443 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
8444 after the Python tests.
8446 2015-04-08 Keith Seitz <keiths@redhat.com>
8449 * gdb.python/py-completion.exp: New tests for completion.
8450 * gdb.python/py-completion.py (CompleteLimit1): New class.
8451 (CompleteLimit2): Likewise.
8452 (CompleteLimit3): Likewise.
8453 (CompleteLimit4): Likewise.
8454 (CompleteLimit5): Likewise.
8455 (CompleteLimit6): Likewise.
8456 (CompleteLimit7): Likewise.
8458 2015-04-08 Pedro Alves <palves@redhat.com>
8462 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
8464 (main): Install it as SIGUSR1 handler.
8465 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
8466 parameter. Always use "setup" as prefix. Toggle "set
8467 displaced-stepping" off/on depending on global. Don't switch to
8469 (top level): Add displaced stepping "off/on" test axis. Update
8470 "setup" calls. Wrap each subtest with with_test_prefix. Test
8471 continuing with a queued signal in each thread.
8473 2015-04-08 Pedro Alves <palves@redhat.com>
8475 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
8476 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
8477 gdb_breakpoint instead of gdb_test that doesn't expect anything.
8478 Return early if running to main fails.
8479 * gdb.trace/while-stepping.exp: Likewise.
8481 2015-04-07 Pedro Alves <palves@redhat.com>
8483 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
8484 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
8485 interact with inferior program.
8487 2015-04-07 Pedro Alves <palves@redhat.com>
8489 * lib/gdb.exp (inferior_spawn_id): New global.
8490 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
8491 spawn id after processing the user code.
8492 (default_gdb_start): Set inferior_spawn_id.
8493 (send_inferior): New procedure.
8494 * lib/gdbserver-support.exp (gdbserver_start): Set
8496 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
8498 2015-04-07 Pedro Alves <palves@redhat.com>
8500 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
8501 * lib/gdbserver-support.exp (gdbserver_start): Make
8502 $server_spawn_id global.
8503 (gdbserver_start): Don't wait for gdbserver's spawn id with
8505 (close_gdbserver): New procedure.
8506 (gdb_exit): Rename the default version and reimplement.
8508 2015-04-07 Pedro Alves <palves@redhat.com>
8510 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
8511 append the substituted item, not the original item.
8513 2015-04-07 Pedro Alves <palves@redhat.com>
8515 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
8518 2015-04-07 Pedro Alves <palves@redhat.com>
8520 * gdb.base/interrupt.exp: Don't handle the case of the inferior
8521 output appearing once only.
8523 2015-04-07 Pedro Alves <palves@redhat.com>
8525 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
8526 that doesn't expect anything. Return early if running to main
8529 2015-04-07 Yao Qi <yao.qi@linaro.org>
8531 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
8532 (child_function): Call alarm.
8533 (main): Move call to alarm into the loop.
8534 * gdb.threads/non-stop-fair-events.exp: Build program with
8537 2015-04-06 Doug Evans <xdje42@gmail.com>
8539 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
8540 Fix dest parameter to board_info.
8541 (fpc_compile): Ditto.
8542 (gdb_compile_pascal): Rename dest arg to destfile.
8544 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
8546 * gdb.ada/funcall_ref.exp: New file.
8547 * gdb.ada/funcall_ref/foo.adb: New file.
8549 2015-04-02 Yao Qi <yao.qi@linaro.org>
8551 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
8554 2015-04-02 Gary Benson <gbenson@redhat.com>
8556 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
8558 2015-04-01 Sasha Smundak <asmundak@google.com>
8560 * gdb.python/py-unwind-maint.c: New file.
8561 * gdb.python/py-unwind-maint.exp: New test.
8562 * gdb.python/py-unwind-maint.py: New file.
8563 * gdb.python/py-unwind.c: New file.
8564 * gdb.python/py-unwind.exp: New test.
8565 * gdb.python/py-unwind.py: New test.
8567 2015-04-01 Pedro Alves <palves@redhat.com>
8569 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
8570 to fail instead of non-existent $test.
8572 2015-04-01 Pedro Alves <palves@redhat.com>
8574 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
8575 GDBFLAGS if not empty.
8577 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
8579 * gdb.ada/complete.exp: Remove "multi_line".
8580 * gdb.ada/info_exc.exp: Remove "multi_line".
8581 * gdb.ada/packed_tagged.exp: Remove "multi_line".
8582 * gdb.ada/ptype_field.exp: Remove "multi_line".
8583 * gdb.ada/sym_print_name.exp: Remove "multi_line".
8584 * gdb.ada/tagged.exp: Remove "multi_line".
8585 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
8587 * gdb.btrace/delta.exp: Likewise.
8588 * gdb.btrace/exception.exp: Likewise.
8589 * gdb.btrace/function_call_history.exp: Likewise.
8590 * gdb.btrace/instruction_history.exp: Likewise.
8591 * gdb.btrace/nohist.exp: Likewise.
8592 * gdb.btrace/record_goto.exp: Likewise.
8593 * gdb.btrace/segv.exp: Likewise.
8594 * gdb.btrace/stepi.exp: Likewise.
8595 * gdb.btrace/tailcall.exp: Likewise.
8596 * gdb.btrace/unknown_functions.exp: Likewise.
8597 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
8598 * lib/gdb.exp: Add the "multi_line" helper.
8600 2015-04-01 Pedro Alves <palves@redhat.com>
8602 * gdb.threads/tid-reuse.c: New file.
8603 * gdb.threads/tid-reuse.exp: New file.
8605 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
8608 * gdb.base/coredump-filter.c: New file.
8609 * gdb.base/coredump-filter.exp: Likewise.
8611 2015-03-27 Petr Machata <pmachata@redhat.com>
8613 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
8614 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
8615 (Dwarf::assemble): Initialize them.
8616 (Dwarf::lines): New function.
8618 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
8620 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
8621 SYMBOL_PREFIX for x86_64-*-cygwin.
8623 2015-03-26 Andy Wingo <wingo@igalia.com>
8626 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
8627 const_value but not a location.
8628 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
8629 location defined in non-main CUs are visible.
8631 2015-03-26 Yao Qi <yao.qi@linaro.org>
8634 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
8635 Add a line number entry for the same line.
8636 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
8637 Add a line number entry for the same line.
8639 2015-03-26 Yao Qi <yao.qi@linaro.org>
8641 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
8643 (func): Likewise. Add .Lfunc_1 label.
8645 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
8650 2015-03-26 Yao Qi <yao.qi@linaro.org>
8652 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
8653 Call gdb_compile instead to compile each .s files without debug
8656 2015-03-26 Yao Qi <yao.qi@linaro.org>
8658 * gdb.base/savedregs.exp (process_saved_regs): Make
8659 "Saved registers:" optional in the pattern.
8661 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
8663 * gdb.btrace/next.exp: Merged into step.exp.
8664 * gdb.btrace/finish.exp: Merged into step.exp.
8665 * gdb.btrace/nexti.exp: Merged into stepi.exp.
8666 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
8667 "record goto" and checking the exact replay position.
8668 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
8669 check for "Recording format" in "info record" output.
8670 * gdb.btrace/record_goto.exp: Choose test file based on target.
8671 * gdb.btrace/x86-record_goto.S: Renamed into ...
8672 * gdb.btrace/x86_64-record_goto.S: ... this.
8673 * gdb.btrace/i686-record_goto.S: New.
8674 * gdb.btrace/x86-tailcall.S: Renamed into ...
8675 * gdb.btrace/x86_64-tailcall.S: ... this.
8676 * gdb.btrace/i686-tailcall.S: New.
8677 * gdb.btrace/x86-tailcall.c: Renamed into ...
8678 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
8679 separate statements. Update test.
8680 * gdb.btrace/delta.exp: Use record_goto.c as test file.
8681 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
8682 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
8683 * gdb.btrace/tailcall.exp: Choose test file based on target.
8684 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
8686 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
8688 * gdb.btrace/exception.exp: Increase BTS buffer size.
8690 2015-03-24 Pedro Alves <palves@redhat.com>
8692 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
8694 2015-03-24 Pedro Alves <palves@redhat.com>
8696 * gdb.threads/schedlock.exp (test_step): No longer expect that
8697 "set scheduler-locking step" with "next" over a function call runs
8700 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8702 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
8704 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8706 PR breakpoints/16466
8707 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
8708 * gdb.mi/mi-pending.c (thread_func): New function.
8709 (int main): Add threading support required.
8710 * gdb.mi/mi-pending.exp: Add tests for this issue.
8711 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
8712 (pendfunc2): Remove stdio dependency.
8713 * gdb.mi/mi-pendshr2.c: New file.
8715 2015-03-23 Keith Seitz <keiths@redhat.com>
8717 * gdb.linespec/keywords.c: New file.
8718 * gdb.linespec/keywords.exp: New file.
8720 2015-03-23 Keith Seitz <keiths@redhat.com>
8723 * gdb.dwarf2/staticvirtual.exp: New test.
8725 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8727 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
8728 * README: Remove HP-UX and gdb.hp.
8730 * configure: Regenerate.
8731 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
8732 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
8733 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
8734 gdb.hp/gdb.defects/Makefile.
8735 * gdb.hp/Makefile.in: File deleted.
8736 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
8737 * gdb.hp/gdb.aCC/optimize.c: File deleted.
8738 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
8739 * gdb.hp/gdb.aCC/run.c: File deleted.
8740 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
8741 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
8742 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
8743 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
8744 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
8745 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
8746 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
8747 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
8748 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
8749 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
8750 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
8751 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
8752 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
8753 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
8754 * gdb.hp/gdb.base-hp/reg.s: File deleted.
8755 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
8756 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
8757 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
8758 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
8759 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
8760 * gdb.hp/gdb.compat/Makefile.in: File deleted.
8761 * gdb.hp/gdb.compat/average.c: File deleted.
8762 * gdb.hp/gdb.compat/sum.c: File deleted.
8763 * gdb.hp/gdb.compat/xdb.c: File deleted.
8764 * gdb.hp/gdb.compat/xdb0.c: File deleted.
8765 * gdb.hp/gdb.compat/xdb0.h: File deleted.
8766 * gdb.hp/gdb.compat/xdb1.c: File deleted.
8767 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
8768 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
8769 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
8770 * gdb.hp/gdb.defects/Makefile.in: File deleted.
8771 * gdb.hp/gdb.defects/bs14602.c: File deleted.
8772 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
8773 * gdb.hp/gdb.defects/solib-d.c: File deleted.
8774 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
8775 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
8776 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
8777 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
8778 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
8779 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
8780 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
8781 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
8782 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
8783 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
8784 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
8785 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
8786 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
8787 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
8788 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
8789 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
8790 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
8791 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
8792 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
8793 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
8794 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
8795 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
8796 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
8797 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
8798 * gdb.hp/tools/odump: File deleted.
8800 2015-03-19 Pedro Alves <palves@redhat.com>
8802 * gdb.threads/continue-pending-status.exp (saw_thread_2)
8803 (saw_thread_3): New globals.
8804 (top level): Increment them when an event for the corresponding
8806 (no thread starvation): New test.
8808 2015-03-19 Pedro Alves <palves@redhat.com>
8810 * gdb.threads/continue-pending-status.c: New file.
8811 * gdb.threads/continue-pending-status.exp: New file.
8813 2015-03-18 Pedro Alves <palves@redhat.com>
8815 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8816 Use gdb_is_target_remote instead of is_remote. Use
8817 gdb_test_multiple instead of gdb_expect. Exit early if
8818 gdb_test_multiple hits its internal matches. Tighten stepi tests
8819 expected output. Fail on exit with any signal, instead of just
8822 2015-03-18 Yao Qi <yao.qi@linaro.org>
8825 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
8827 * gdb.base/catch-syscall.exp: Don't skip it on
8828 aarch64*-*-linux* target. Remove elements in all_syscalls.
8829 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
8831 (setup_all_syscalls): New proc.
8833 2015-03-16 Yao Qi <yao.qi@linaro.org>
8835 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
8836 (top level): Skip tests if valid_addr_p returns false for
8839 2015-03-11 Andy Wingo <wingo@igalia.com>
8841 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
8843 2015-03-11 Yao Qi <yao.qi@linaro.org>
8845 * gdb.base/catch-syscall.exp: Fix typo in comments.
8847 2015-03-11 Yao Qi <yao.qi@linaro.org>
8849 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
8851 2015-03-09 Pedro Alves <palves@redhat.com>
8853 * dg-extract-results.py: Delete.
8855 2015-03-09 Pedro Alves <palves@redhat.com>
8857 Merge dg-extract-results.sh from GCC upstream (r218843).
8859 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
8860 * dg-extract-results.sh: Use --text with grep to avoid issues with
8861 binary files. Fall back to cat -v, if that doesn't work.
8863 2015-03-05 Pedro Alves <palves@redhat.com>
8865 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
8867 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
8869 * lib/mi-support.exp (mi_expect_interrupt): Accept
8870 alternative event for when in all-stop mode.
8872 2015-03-04 Pedro Alves <palves@redhat.com>
8874 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
8876 2015-03-04 Mark Kettenis <kettenis@gnu.org>
8878 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
8880 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
8882 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
8883 regexps for GDB's current line display, accept a hex address
8884 preceding the line number.
8886 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
8888 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
8889 the 'arch1' variable for "s390*-linux*" targets.
8891 2015-03-04 Pedro Alves <palves@redhat.com>
8893 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
8894 (main): Pass missing retval argument to pthread_join call.
8896 2015-03-02 Pedro Alves <palves@redhat.com>
8898 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
8899 (top level): Call do_test with non-stop as well.
8901 2015-03-02 Pedro Alves <palves@redhat.com>
8903 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
8906 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8908 * gdb.arch/s390-vregs.exp: New test.
8909 * gdb.arch/s390-vregs.S: New file.
8911 2015-02-27 Pedro Alves <palves@redhat.com>
8913 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
8914 call to catch_command_errors.
8915 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
8916 catch_command_errors.
8918 2015-02-27 Pedro Alves <palves@redhat.com>
8920 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
8921 "true" for boolean result.
8922 * gdb.gdb/selftest.exp (test_with_self): Also accept full
8925 2015-02-27 Pedro Alves <palves@redhat.com>
8927 * lib/unbuffer_output.c: New file.
8928 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
8929 (main): Call gdb_unbuffer_output.
8931 2015-02-27 Yao Qi <yao.qi@linaro.org>
8933 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
8936 2015-02-26 Doug Evans <dje@google.com>
8938 * gdb.cp/class2.cc (Dbase, D): New classes.
8939 (main): New local delta.
8940 * gdb.cp/class2.exp: Test printing delta.
8941 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
8942 (dynbar): New global.
8943 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
8945 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8947 * gdb.compile/compile-ifunc.c: New file.
8948 * gdb.compile/compile-ifunc.exp: New file.
8950 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
8952 * gdb.base/structs.exp: Check for correct struct on finish.
8954 2015-02-26 Yao Qi <yao.qi@linaro.org>
8956 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
8959 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8961 * gdb.arch/cordic.ko.bz2: New file.
8962 * gdb.arch/cordic.ko.debug.bz2: New file.
8963 * gdb.arch/ppc64-symtab-cordic.exp: New file.
8965 2015-02-25 Yao Qi <yao.qi@linaro.org>
8967 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
8968 aarch64*-*-* target.
8970 2015-02-23 Pedro Alves <palves@redhat.com>
8972 * lib/gdb.exp (delete_breakpoints): Rewrite using
8975 2015-02-23 Pedro Alves <palves@redhat.com>
8977 * gdb.base/info-os.c: Include stdlib.h.
8979 2015-02-22 Doug Evans <xdje42@gmail.com>
8982 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
8983 is read after symbols have been re-read.
8984 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
8985 * gdb.ada/exec_changed/second.adb (Second): Ditto.
8987 2015-02-21 Doug Evans <dje@google.com>
8989 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
8991 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8994 * gdb.arch/i386-biarch-core.core.bz2: New file.
8995 * gdb.arch/i386-biarch-core.exp: New file.
8997 2015-02-21 Pedro Alves <palves@redhat.com>
8999 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9002 2015-02-20 Pedro Alves <palves@redhat.com>
9004 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9007 2015-02-20 Pedro Alves <palves@redhat.com>
9009 * gdb.threads/multi-create-ns-info-thr.exp: New file.
9011 2015-02-20 Pedro Alves <palves@redhat.com>
9013 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
9014 clean_restart before gdb_target_supports_trace.
9016 2015-02-20 Pedro Alves <palves@redhat.com>
9019 * gdb.threads/clone-thread_db.c: New file.
9020 * gdb.threads/clone-thread_db.exp: New file.
9022 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
9024 PR breakpoints/16812
9025 * gdb.base/catch-gdb-caused-signals.c: New file.
9026 * gdb.base/catch-gdb-caused-signals.exp: New file.
9028 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
9030 * configure: Regenerated.
9031 * configure.ac: Use GDB_AC_TRANSFORM.
9032 * aclocal.m4: sinclude ../transform.m4.
9034 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9036 * lib/dtrace.exp: New file.
9037 * gdb.base/dtrace-probe.exp: Likewise.
9038 * gdb.base/dtrace-probe.d: Likewise.
9039 * gdb.base/dtrace-probe.c: Likewise.
9040 * lib/pdtrace.in: Likewise.
9041 * configure.ac: Output variables with the transformed names of
9042 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
9043 * configure: Regenerated.
9045 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9047 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9048 expected message when trying to access $_probe_* convenience
9049 variables while not on a probe.
9051 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9053 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9055 2015-02-11 Pedro Alves <pedro@codesourcery.com>
9057 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9058 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9060 2015-02-10 Doug Evans <xdje42@gmail.com>
9062 * lib/gdb.exp (gdb_load): Always return a result.
9064 2015-02-10 Pedro Alves <palves@redhat.com>
9066 * gdb.threads/signal-sigtrap.c: New file.
9067 * gdb.threads/signal-sigtrap.exp: New file.
9069 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
9071 * gdb.trace/no-attach-trace.c: New file.
9072 * gdb.trace/no-attach-trace.exp: New file.
9074 2015-02-09 Mark Wielaard <mjw@redhat.com>
9076 * gdb.dwarf2/atomic.c: New file.
9077 * gdb.dwarf2/atomic-type.exp: Likewise.
9079 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9081 * gdb.btrace/buffer-size.exp: Update "info record" output.
9082 * gdb.btrace/delta.exp: Update "info record" output.
9083 * gdb.btrace/enable.exp: Update "info record" output.
9084 * gdb.btrace/finish.exp: Update "info record" output.
9085 * gdb.btrace/instruction_history.exp: Update "info record" output.
9086 * gdb.btrace/next.exp: Update "info record" output.
9087 * gdb.btrace/nexti.exp: Update "info record" output.
9088 * gdb.btrace/step.exp: Update "info record" output.
9089 * gdb.btrace/stepi.exp: Update "info record" output.
9090 * gdb.btrace/nohist.exp: Update "info record" output.
9092 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9094 * gdb.btrace/buffer-size: New.
9096 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9098 * gdb.btrace/delta.exp: Update "info record" output.
9099 * gdb.btrace/enable.exp: Update "info record" output.
9100 * gdb.btrace/finish.exp: Update "info record" output.
9101 * gdb.btrace/instruction_history.exp: Update "info record" output.
9102 * gdb.btrace/next.exp: Update "info record" output.
9103 * gdb.btrace/nexti.exp: Update "info record" output.
9104 * gdb.btrace/step.exp: Update "info record" output.
9105 * gdb.btrace/stepi.exp: Update "info record" output.
9106 * gdb.btrace/nohist.exp: Update "info record" output.
9108 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
9111 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
9113 2015-02-06 Pedro Alves <palves@redhat.com>
9115 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
9117 (seconds_left, again): New globals.
9118 (main): Wait seconds_left in a 1-second sleep loop instead of
9119 sleeping 180 seconds. If 'again' is set, reset the seconds
9121 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
9122 'again' in the inferior before detaching. Print the seconds left.
9123 (options): New global.
9124 (top level): Build program with -DTIMEOUT=$timeout.
9126 2015-02-06 Pedro Alves <palves@redhat.com>
9128 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
9129 determine how many seconds to pass to 'alarm'.
9130 * gdb.base/gdb-sigterm.exp (top level): Build program with
9132 (do_test): Return success/failure indication. Add more verbose
9133 logging. Don't fail if 200 single steps are seen. Instead, fail
9134 when the test times out.
9135 (passes): New global.
9136 (top level): Break the testing loop if testing fails on any
9137 iteration. Use gdb_assert.
9139 2015-02-04 Don Breazeal <donb@codesourcery.com>
9141 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
9142 and initialize them.
9143 (ipc_cleanup): New function.
9144 (main): Don't declare shmid, semid, and msqid. Add a call to
9145 atexit so that we call ipc_cleanup on exit.
9147 2015-02-04 Pedro Alves <palves@redhat.com>
9149 * boards/native-extended-gdbserver.exp: Remove any target variant
9150 specifications from the board name before clearing the isremote
9151 flag from board_info.
9153 2015-01-31 Doug Evans <xdje42@gmail.com>
9155 * gdb.base/maint.exp <maint print type argc>: Update expected output.
9157 2015-01-31 Gary Benson <gbenson@redhat.com>
9159 * gdb.base/completion.exp: Disable completion limiting for
9160 existing tests. Add new tests to check completion limiting.
9161 * gdb.linespec/ls-errs.exp: Disable completion limiting.
9163 2015-01-31 Doug Evans <xdje42@gmail.com>
9165 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
9167 2015-01-31 Doug Evans <xdje42@gmail.com>
9169 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
9170 entries. Duplicate file section script entries.
9171 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
9172 inlined entries. Add test for safe-path rejection.
9173 * gdb.python/py-section-script.c: Add duplicate inlined section script
9174 entries. Duplicate file section script entries.
9175 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
9176 inlined entries. Add test for safe-path rejection.
9178 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9180 * gdb.ada/disc_arr_bound: New testcase.
9182 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9184 * gdb.ada/mi_var_array: New testcase.
9186 2015-01-27 Doug Evans <dje@google.com>
9188 * gdb.python/py-objfile.exp: Add tests for objfile.username.
9189 Add test for objfile.filename, objfile.username after objfile
9192 2015-01-26 Joel Brobecker <brobecker@adacore.com>
9194 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
9195 the second test to print the name attribute of value
9196 returned by the call to gdb.lookup_type, and adjust
9197 the expected output accordingly.
9199 2015-01-25 Mark Wielaard <mjw@redhat.com>
9201 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
9202 * gdb.base/disp-step-fork.c: Include unistd.h.
9203 * gdb.base/siginfo-obj.c: Include stdio.h.
9204 * gdb.base/siginfo-thread.c: Likewise.
9205 * gdb.mi/non-stop.c: Include unistd.h.
9206 * gdb.mi/nsthrexec.c: Include stdio.h.
9207 * gdb.mi/pthreads.c: Include unistd.h.
9208 * gdb.modula2/unbounded1.c (main): Declare returns int.
9209 * gdb.reverse/consecutive-reverse.c: Likewise.
9210 * gdb.threads/create-fail.c: Include unistd.h.
9211 * gdb.threads/killed.c: Likewise.
9212 * gdb.threads/linux-dp.c: Likewise.
9213 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
9214 * gdb.threads/non-ldr-exc-2.c: Likewise.
9215 * gdb.threads/non-ldr-exc-3.c: Likewise.
9216 * gdb.threads/non-ldr-exc-4.c: Likewise.
9217 * gdb.threads/pthreads.c: Include unistd.h.
9218 (main): Declare returns int.
9219 * gdb.threads/tls-main.c (foo): New declaration.
9220 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
9222 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
9224 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
9225 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
9227 2015-01-15 Mark Wielaard <mjw@redhat.com>
9229 * gdb.base/noreturn-return.c: New file.
9230 * gdb.base/noreturn-return.exp: New file.
9231 * gdb.base/noreturn-finish.c: New file.
9232 * gdb.base/noreturn-finish.exp: New file.
9234 2015-01-23 Pedro Alves <palves@redhat.com>
9236 * gdb.threads/continue-pending-after-query.c: New file.
9237 * gdb.threads/continue-pending-after-query.exp: New file.
9239 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
9240 Simon Marchi <simon.marchi@ericsson.com>
9242 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
9243 * gdb.base/valgrind-db-attach.exp: Same.
9244 * gdb.base/valgrind-infcall.exp: Same.
9245 * lib/mi-support.exp (default_mi_gdb_start): Same.
9246 * lib/prompt.exp (default_prompt_gdb_start): Same.
9247 * lib/gdb.exp (default_gdb_spawn): Same.
9248 (gdb_interact): New.
9251 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9253 * gdb.compile/compile.exp (pointer to jit function): New test.
9255 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
9257 * lib/gdb.exp (supports_process_record): Return true for
9259 (supports_reverse): Likewise.
9261 2015-01-15 Don Breazeal <donb@codesourcery.com>
9263 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
9264 instead of checking whether the target board is remote and
9265 use spawn_wait_for_attach instead of exec/sleep.
9266 * gdb.base/attach-twice.exp: Likewise.
9268 2015-01-15 Joel Brobecker <brobecker@adacore.com>
9270 * gdb.ada/var_arr_attrs: New testcase.
9272 2015-01-14 Pedro Alves <palves@redhat.com>
9273 Joel Brobecker <brobecker@adacore.com>
9276 * gdb.base/bp-cmds-execution-x-script.c: New file.
9277 * gdb.base/bp-cmds-execution-x-script.exp: New file.
9278 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
9280 2015-01-14 Pedro Alves <palves@redhat.com>
9283 * gdb.base/batch-preserve-term-settings.c: New file.
9284 * gdb.base/batch-preserve-term-settings.exp: New file.
9286 2015-01-13 Doug Evans <dje@google.com>
9288 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
9291 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9293 * Makefile.in (clean mostlyclean): Do not delete *.py.
9295 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9297 * gdb.python/py-lookup-type.exp: New file.
9299 2015-01-12 Pedro Alves <palves@redhat.com>
9301 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
9302 restore GDBFLAGS before returning.
9304 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9306 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
9307 is_amd64_regs_target and is_x86_like_target.
9309 2015-01-11 Doug Evans <xdje42@gmail.com>
9311 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
9312 is given without an explicit form.
9313 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
9315 * gdb.dwarf/corrupt.exp: Ditto.
9316 * gdb.dwarf2/enum-type.exp: Ditto.
9317 * gdb.trace/entry-values.exp: Ditto.
9318 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
9320 2015-01-11 Doug Evans <xdje42@gmail.com>
9323 * gdb.base/maint.exp: Remove references to "maint demangle".
9324 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
9325 Add tests for explicitly specifying language to demangle.
9326 * gdb.dlang/demangle.exp: Ditto.
9328 2015-01-09 Pedro Alves <palves@redhat.com>
9330 * gdb.threads/non-stop-fair-events.c: New file.
9331 * gdb.threads/non-stop-fair-events.exp: New file.
9333 2015-01-09 Pedro Alves <palves@redhat.com>
9335 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
9336 the global scope. Set a breakpoint after all threads are started
9337 rather than stepping over two source lines. Expect the prompt.
9338 * gdb.base/watch_thread_num.c (threads_started_barrier): New
9341 (main): Use threads_started_barrier to wait for all threads to
9342 start. Main thread no longer calls thread_function. Exit after
9344 (loop): New function.
9345 (thread_function): Wait on threads_started_barrier barrier. Call
9346 'loop' at each iteration.
9347 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
9348 threads have started, instead of hardcoding number of "next"
9349 steps. Use an access watchpoint instead of a write watchpoint.
9351 2015-01-09 Pedro Alves <palves@redhat.com>
9353 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
9354 (thread_func): Wait on barrier.
9355 (main): Wait for all threads to start before stopping GDB.
9356 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
9358 (thread1_func, thread2_func): Wait on barrier.
9359 (main): Wait for all threads to start before stopping GDB.
9360 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
9362 (thread1_func, thread2_func): Wait on barrier.
9363 (main): Wait for all threads to start before stopping GDB.
9365 2015-01-09 Pedro Alves <palves@redhat.com>
9367 * gdb.threads/attach-many-short-lived-threads.c: New file.
9368 * gdb.threads/attach-many-short-lived-threads.exp: New file.
9370 2014-01-09 Pedro Alves <palves@redhat.com>
9372 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
9373 instead of to thread 2.
9374 * gdb.threads/signal-command-multiple-signals-pending.c (main):
9375 Add barrier around each pthread_create call instead of around all
9377 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
9378 Set a break on thread_function and have the child threads hit it
9381 2015-01-09 Pedro Alves <palves@redhat.com>
9383 * lib/gdb.exp (can_spawn_for_attach): New procedure.
9384 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
9386 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
9387 checking whether the target board is remote.
9388 * gdb.multi/multi-attach.exp: Likewise.
9389 * gdb.python/py-sync-interp.exp: Likewise.
9390 * gdb.server/ext-attach.exp: Likewise.
9391 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
9392 tests that need to attach, instead of checking whether the target
9393 board is remote at the top of the file.
9395 2015-01-08 Yao Qi <yao@codesourcery.com>
9397 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
9399 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9401 Fix testcase compilation.
9402 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
9404 2015-01-06 Joel Brobecker <brobecker@adacore.com>
9406 * gdb.python/py-type.exp: Add a couple test about empty
9407 array creation, and negative-length array creation.
9409 2015-01-02 Doug Evans <xdje42@gmail.com>
9411 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
9413 2015-01-02 Doug Evans <dje@google.com>
9415 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
9417 2014-12-29 Yao Qi <yao@codesourcery.com>
9419 * gdb.trace/entry-values.exp: Update comments. Rename variable
9420 bar_call_foo to returned_from_foo.
9422 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
9425 * gdb.linespec/break-asm-file.c: New file.
9426 * gdb.linespec/break-asm-file.exp: New file.
9427 * gdb.linespec/break-asm-file0.s: New file.
9428 * gdb.linespec/break-asm-file1.s: New file.
9430 2014-12-18 Nigel Stephens <nigel@mips.com>
9431 Maciej W. Rozycki <macro@codesourcery.com>
9433 * gdb.base/float.exp: Handle the new output from "info float" on
9436 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9438 Fix MinGW compilation.
9439 * gdb.compile/compile-ops.exp: Update untested message if
9440 !skip_compile_feature_tests.
9441 * gdb.compile/compile-setjmp.exp: Likewise.
9442 * gdb.compile/compile-tls.exp: Likewise.
9443 * gdb.compile/compile.exp: Likewise.
9444 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
9445 supported on this host".
9447 2014-12-16 Doug Evans <xdje42@gmail.com>
9449 * boards/stabs.exp: New file.
9451 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
9453 * gdb.base/completion.exp: Adjust to format changes of "maint
9454 print user-registers".
9456 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
9459 * gdb.arch/aarch64-fp.c: New file.
9460 * gdb.arch/aarch64-fp.exp: New file.
9462 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9464 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
9465 r210637, r210913, r211666, r215400, r215817).
9467 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
9468 * dg-extract-results.py: New file.
9469 * dg-extract-results.sh: Use it if the environment seems
9472 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
9474 * dg-extract-results.py (parse_run): Handle warnings that
9475 are printed before a test harness is run.
9477 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
9479 * dg-extract-results.py (Named): Remove __cmp__ method.
9480 (output_variation): Use a key to sort variation.harnesses.
9482 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
9484 * dg-extract-results.py: For Python 3, force sys.stdout to
9485 handle surrogate escape sequences.
9486 (safe_open): New function.
9487 (output_segment, main): Use it.
9489 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
9491 * dg-extract-results.py (Prog.result_re): Include options
9494 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
9496 * dg-extract-results.py (output_variation): Always sort if
9499 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
9501 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
9502 as long as we get pagination notifications.
9504 2014-12-15 Jason Merrill <jason@redhat.com>
9506 * Makefile.in (check-gdb.%): Restore.
9507 * README: Mention it.
9509 2014-12-13 Joel Brobecker <brobecker@adacore.com>
9511 * gdb.ada/str_uninit: New testcase.
9513 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9516 * gdb.base/vla-stub-define.c: New file.
9517 * gdb.base/vla-stub.c: New file.
9518 * gdb.base/vla-stub.exp: New file.
9520 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
9521 Jan Kratochvil <jan.kratochvil@redhat.com>
9522 Tom Tromey <tromey@redhat.com>
9524 * configure.ac: Add gdb.compile/.
9525 * configure: Regenerate.
9526 * gdb.compile/Makefile.in: New file.
9527 * gdb.compile/compile-ops.exp: New file.
9528 * gdb.compile/compile-ops.c: New file.
9529 * gdb.compile/compile-tls.c: New file.
9530 * gdb.compile/compile-tls.exp: New file.
9531 * gdb.compile/compile-constvar.S: New file.
9532 * gdb.compile/compile-constvar.c: New file.
9533 * gdb.compile/compile-mod.c: New file.
9534 * gdb.compile/compile-nodebug.c: New file.
9535 * gdb.compile/compile-setjmp-mod.c: New file.
9536 * gdb.compile/compile-setjmp.c: New file.
9537 * gdb.compile/compile-setjmp.exp: New file.
9538 * gdb.compile/compile-shlib.c: New file.
9539 * gdb.compile/compile.c: New file.
9540 * gdb.compile/compile.exp: New file.
9541 * lib/gdb.exp (skip_compile_feature_tests): New proc.
9543 2014-12-12 Tom Tromey <tromey@redhat.com>
9545 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
9546 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
9548 2014-12-12 Doug Evans <dje@google.com>
9550 * lib/gdb-python.exp (get_python_valueof): New function.
9551 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
9553 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9555 * gdb.base/completion.exp: Add test for completion of "info
9558 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
9560 * gdb.base/func-ptrs.c: New file.
9561 * gdb.base/func-ptrs.exp: New file.
9563 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
9565 PR breakpoints/17012
9566 * gdb.base/dprintf-detach.c: New file.
9567 * gdb.base/dprintf-detach.exp: New file.
9569 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
9571 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
9572 * lib/gdb.exp (target_is_gdbserver): New procedure.
9574 2014-12-08 Doug Evans <dje@google.com>
9576 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
9578 2014-12-05 Yao Qi <yao@codesourcery.com>
9580 * gdb.guile/scm-error.exp: Remove the third argument to
9581 gdb_remote_download.
9582 * gdb.guile/scm-frame-args.exp: Likewise.
9583 * gdb.guile/scm-section-script.exp: Likewise.
9585 2014-12-05 Yao Qi <yao@codesourcery.com>
9587 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
9589 2014-12-04 Doug Evans <dje@google.com>
9591 * gdb.python/py-objfile.exp: Add tests for
9592 objfile.add_separate_debug_file.
9594 2014-12-04 Doug Evans <dje@google.com>
9596 * lib/gdb.exp (get_build_id): New function.
9597 (build_id_debug_filename_get): Rewrite to use it.
9598 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
9600 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
9602 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
9603 `method(long)', not just 0x0.
9604 * gdb.cp/nsalias.exp: Align code labels to 4.
9605 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
9606 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
9607 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
9608 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
9609 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
9610 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
9612 2014-12-02 Doug Evans <dje@google.com>
9615 * gdb.cp/anon-ns.cc: Move guts of this file to ...
9616 * gdb.cp/anon-ns2.cc: ... here. New file.
9617 * gdb.cp/anon-ns.exp: Update.
9619 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
9621 * gdb.python/py-events.py (inferior_call_handler): New.
9622 (register_changed_handler, memory_changed_handler): New.
9623 (test_events.invoke): Register new handlers.
9624 * gdb.python/py-events.exp: Add tests for inferior call,
9625 memory_changed and register_changed events.
9627 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9629 * gdb.base/execl-update-breakpoints.exp: Specify the link address
9630 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
9631 if the linker doesn't understand this.
9633 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
9635 * gdb.python/python.exp: Change expected reply to help().
9637 2014-12-01 Yao Qi <yao@codesourcery.com>
9639 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
9640 AC_CONFIG_SUBDIRS(gdb.gdbtk).
9641 * configure: Re-generated.
9643 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
9645 * gdb.cp/chained-calls.cc: New file.
9646 * gdb.cp/chained-calls.exp: New file.
9647 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
9649 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
9651 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
9652 * gdb.dwarf2/symtab-producer.exp: Same.
9653 * gdb.gdb/python-interrupts.exp: Same.
9654 * gdb.gdb/python-selftest.exp: Same.
9655 * gdb.python/py-linetable.exp: Same.
9656 * gdb.python/py-type.exp: Same.
9657 * gdb.python/py-value-cc.exp: Same.
9658 * gdb.python/py-value.exp: Same.
9660 2014-11-28 Yao Qi <yao@codesourcery.com>
9662 * gdb.base/break-probes.exp: Match library name prefixed with
9665 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
9667 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
9668 test expected output. Add parentheses for the call to print.
9669 Remove L suffix from integers.
9671 2014-11-26 Doug Evans <dje@google.com>
9673 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
9675 2014-11-22 Yao Qi <yao@codesourcery.com>
9677 * gdb.trace/entry-values.c: Remove asms.
9678 (foo): Add foo_label.
9679 (bar): Add bar_label.
9680 * gdb.trace/entry-values.exp: Remove code computing foo's
9681 length and bar's length.
9682 (Dwarf::assemble): Invoke function_range for bar and use
9683 MACRO_AT_func for foo.
9685 2014-11-22 Yao Qi <yao@codesourcery.com>
9687 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
9688 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
9689 Use .Lgcc43_procstart instead of gcc43.
9691 2014-11-21 Joel Brobecker <brobecker@adacore.com>
9693 * gdb.ada/n_arr_bound: New testcase.
9695 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
9697 PR breakpoints/10737
9698 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
9699 test_catch_syscall_multi_arch.
9700 (test_catch_syscall_multi_arch): New function.
9702 2014-11-20 Doug Evans <xdje42@gmail.com>
9704 * gdb.base/maint.exp: Update expected output.
9706 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9708 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
9709 4-byte instruction on S390.
9711 2014-11-19 Joel Brobecker <brobecker@adacore.com>
9713 * gdb.ada/arr_arr: New testcase.
9715 2014-11-19 Joel Brobecker <brobecker@adacore.com>
9717 * gdb.ada/pkd_arr_elem: New Testcase.
9719 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
9721 * gdb.reverse/break-precsave: Expect completion message for
9723 * gdb.reverse/consecutive-precsave.exp: Likewise.
9724 * gdb.reverse/finish-precsave.exp: Likewise.
9725 * gdb.reverse/i386-precsave.exp: Likewise.
9726 * gdb.reverse/machinestate-precsave.exp: Likewise.
9727 * gdb.reverse/sigall-precsave.exp: Likewise.
9728 * gdb.reverse/solib-precsave.exp: Likewise.
9729 * gdb.reverse/step-precsave.exp: Likewise.
9730 * gdb.reverse/until-precsave.exp: Likewise.
9731 * gdb.reverse/watch-precsave.exp: Likewise.
9733 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9735 * gdb.base/bp-permanent.c: Include unistd.h.
9736 * gdb.python/py-framefilter-mi.c (main): Add return type.
9737 * gdb.python/py-framefilter.c (main): Likewise.
9738 * gdb.trace/actions-changed.c (main): Likewise.
9740 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9742 * gdb.mi/until.c: Add eye-catchers.
9743 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
9746 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9748 * gdb.base/condbreak.exp: Drop references to removed non-prototype
9749 function header variants in break1.c.
9750 * gdb.base/ena-dis-br.exp: Likewise.
9751 * gdb.base/hbreak2.exp: Likewise.
9752 * gdb.reverse/until-precsave.exp: Drop references to removed
9753 non-prototype function header variants in ur1.c.
9754 * gdb.reverse/until-reverse.exp: Likewise.
9756 2014-11-17 Petr Machata <pmachata@redhat.com>
9758 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
9759 ${_cu_offset_size} bytes abbrev offset.
9761 2014-11-15 Doug Evans <xdje42@gmail.com>
9764 * gdb.base/line-symtabs.exp: New file.
9765 * gdb.base/line-symtabs.c: New file.
9766 * gdb.base/line-symtabs.h: New file.
9768 2014-11-14 Yao Qi <yao@codesourcery.com>
9770 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
9771 (func): Add label func_label.
9772 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
9773 Replace low_pc and high_pc with MACRO_AT_range.
9774 Replace name, low_pc and high_pc with MACRO_AT_func.
9776 2014-11-14 Yao Qi <yao@codesourcery.com>
9778 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
9779 Replace name, low_pc and high_pc with MACRO_AT_func.
9781 2014-11-14 Yao Qi <yao@codesourcery.com>
9783 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
9784 produce debug information.
9785 * gdb.dwarf2/implptr-optimized-out.S: Removed.
9787 2014-11-14 Yao Qi <yao@codesourcery.com>
9789 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
9790 object and get function length.
9791 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
9793 (top-level): Replace gdb_compile and clean_restart with
9794 prepare_for_testing.
9795 * gdb.dwarf2/main.c (main): Add label main_label.
9797 2014-11-14 Yao Qi <yao@codesourcery.com>
9799 * lib/dwarf.exp (function_range): New procedure.
9800 (Dwarf::_handle_macro_at_func): New procedure.
9801 (Dwarf::_handle_macro_at_range): New procedure.
9802 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
9804 2014-11-14 Yao Qi <yao@codesourcery.com>
9806 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
9807 (_handle_attribute): New procedure.
9809 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9811 * gdb.ada/cond_lang/foo.c (callme): Add return type.
9812 * gdb.base/call-sc.c (zed): Likewise.
9813 * gdb.base/checkpoint.c (main): Likewise.
9814 * gdb.base/dump.c (main): Likewise.
9815 * gdb.base/gcore.c (main): Likewise.
9816 * gdb.base/huge.c (main): Likewise.
9817 * gdb.base/multi-forks.c (main): Likewise.
9818 * gdb.base/pr10179-a.c (main): Likewise.
9819 * gdb.base/savedregs.c (main): Likewise.
9820 * gdb.base/sigaltstack.c (main): Likewise.
9821 * gdb.base/siginfo.c (main): Likewise.
9822 * gdb.base/structs.c (zed): Likewise.
9823 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
9824 * gdb.mi/mi-syn-frame.c (main): Likewise.
9825 * gdb.mi/until.c (foo, main): Likewise.
9826 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
9827 * gdb.base/solib-weak.c (foo): Declare.
9828 * gdb.base/attach-twice.c: Include stdio.h.
9829 * gdb.base/weaklib1.c: Likewise.
9830 * gdb.base/weaklib2.c: Likewise.
9831 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
9832 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
9834 * gdb.base/attach-pie-misread.c: Include stdlib.h.
9835 * gdb.mi/mi-exit-code.c: Likewise.
9836 * gdb.base/break-interp-lib.c: Include string.h.
9837 * gdb.base/coremaker.c: Likewise.
9838 * gdb.base/testenv.c: Likewise.
9839 * gdb.python/py-finish-breakpoint.c: Likewise.
9840 * gdb.base/inferior-died.c: Include sys/wait.h.
9841 * gdb.base/fileio.c: Include time.h.
9842 * gdb.base/async-shell.c: Include unistd.h.
9843 * gdb.base/dprintf-non-stop.c: Likewise.
9844 * gdb.base/info-os.c: Likewise.
9845 * gdb.mi/mi-console.c: Likewise.
9846 * gdb.mi/watch-nonstop.c: Likewise.
9847 * gdb.python/py-events.c: Likewise.
9848 * gdb.base/async.c (baz): Move up before its invocation.
9849 * gdb.base/code_elim2.c (my_global_func): Likewise.
9850 * gdb.base/skip-solib-lib.c (multiply): Likewise.
9851 * gdb.base/advance.c (func2): Likewise.
9853 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9855 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
9857 * gdb.base/annota3.c: Likewise.
9858 * gdb.base/async.c: Likewise.
9859 * gdb.base/average.c: Likewise.
9860 * gdb.base/call-ar-st.c: Likewise.
9861 * gdb.base/call-rt-st.c: Likewise.
9862 * gdb.base/call-sc.c: Likewise.
9863 * gdb.base/call-strs.c: Likewise.
9864 * gdb.base/ending-run.c: Likewise.
9865 * gdb.base/execd-prog.c: Likewise.
9866 * gdb.base/exprs.c: Likewise.
9867 * gdb.base/foll-exec.c: Likewise.
9868 * gdb.base/foll-fork.c: Likewise.
9869 * gdb.base/foll-vfork.c: Likewise.
9870 * gdb.base/funcargs.c: Likewise.
9871 * gdb.base/gcore.c: Likewise.
9872 * gdb.base/jump.c: Likewise.
9873 * gdb.base/langs0.c: Likewise.
9874 * gdb.base/langs1.c: Likewise.
9875 * gdb.base/langs2.c: Likewise.
9876 * gdb.base/mips_pro.c: Likewise.
9877 * gdb.base/nodebug.c: Likewise.
9878 * gdb.base/opaque0.c: Likewise.
9879 * gdb.base/opaque1.c: Likewise.
9880 * gdb.base/recurse.c: Likewise.
9881 * gdb.base/run.c: Likewise.
9882 * gdb.base/scope0.c: Likewise.
9883 * gdb.base/scope1.c: Likewise.
9884 * gdb.base/setshow.c: Likewise.
9885 * gdb.base/setvar.c: Likewise.
9886 * gdb.base/shmain.c: Likewise.
9887 * gdb.base/shr1.c: Likewise.
9888 * gdb.base/shr2.c: Likewise.
9889 * gdb.base/sigall.c: Likewise.
9890 * gdb.base/signals.c: Likewise.
9891 * gdb.base/so-indr-cl.c: Likewise.
9892 * gdb.base/solib2.c: Likewise.
9893 * gdb.base/structs.c: Likewise.
9894 * gdb.base/sum.c: Likewise.
9895 * gdb.base/vforked-prog.c: Likewise.
9896 * gdb.base/watchpoint.c: Likewise.
9897 * gdb.reverse/shr2.c: Likewise.
9898 * gdb.reverse/until-reverse.c: Likewise.
9899 * gdb.reverse/ur1.c: Likewise.
9900 * gdb.reverse/watch-reverse.c: Likewise.
9902 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9904 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
9906 * gdb.base/sepdebug.exp: Drop references to removed code.
9908 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9910 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
9911 variant. Preserve original line numbering.
9912 * gdb.base/list1.c: Likewise.
9914 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9916 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
9918 * gdb.base/break1.c: Likewise.
9919 * gdb.base/break.exp: Drop references to removed code.
9921 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9923 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
9926 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9928 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
9930 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9932 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
9933 logic into perform_all_tests() and invoke it with and without
9934 function header prototypes.
9935 (do_function_calls): Remove conditional XFAIL for PR 5318.
9936 (rerun_and_prepare): Remove duplicate code.
9937 (perform_all_tests): New. Main logic moved here.
9939 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9941 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
9942 code guarded by #ifdef NO_PROTOTYPES.
9943 (t_double_many_args): Likewise.
9944 (DEF_FUNC_MANY_ARGS_1): Likewise.
9945 (DEF_FUNC_VALUES_1): Likewise.
9946 (t_structs_ldc): Renamed from t_structs_fc in conditional code
9947 guarded by #ifdef PROTOTYPES.
9949 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9951 * gdb.mi/mi-console.c: Add eye-catcher.
9952 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
9953 instead of literal line number.
9955 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9957 * gdb.base/shr2.c: Add eye-catcher.
9958 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
9961 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9963 * gdb.base/jump.c: Add eye-catchers.
9964 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
9967 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9969 * gdb.base/execd-prog.c: Add eye-catchers.
9970 * gdb.base/foll-exec.c: Likewise.
9971 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
9974 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9976 * gdb.base/ending-run.c: Add eye-catchers.
9977 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
9978 literal line numbers.
9980 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9982 * gdb.base/call-rt-st.c: Add eye-catchers.
9983 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
9984 literal line numbers.
9986 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9988 * gdb.base/call-ar-st.c: Add eye-catchers.
9989 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
9990 literal line numbers.
9992 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9994 * gdb.base/average.c: Add eye-catchers.
9995 * gdb.base/sum.c: Likewise.
9996 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
9997 regexps dynamically.
9999 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10001 * gdb.base/solib1.c: Add eye-catchers.
10002 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10003 literal line numbers.
10005 2014-11-12 Pedro Alves <palves@redhat.com>
10007 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10010 2014-11-12 Pedro Alves <palves@redhat.com>
10012 * gdb.arch/i386-bp_permanent.c: New file.
10013 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10014 (srcfile): Set to i386-bp_permanent.c.
10015 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
10016 that stepi does not execute the 'leave' instruction, instead of
10017 testing it does execute.
10018 * gdb.base/bp-permanent.c: New file.
10019 * gdb.base/bp-permanent.exp: New file.
10021 2014-11-10 Doug Evans <xdje42@gmail.com>
10024 * gdb.base/symtab-search-order.exp: New file.
10025 * gdb.base/symtab-search-order.c: New file.
10026 * gdb.base/symtab-search-order-1.c: New file.
10027 * gdb.base/symtab-search-order-shlib-1.c: New file.
10029 2014-11-07 Pedro Alves <palves@redhat.com>
10032 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10035 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10038 * gdb.cp/pr17494.cc: New file.
10039 * gdb.cp/pr17494.exp: New file.
10041 2014-11-02 Yao Qi <yao@codesourcery.com>
10043 * gdb.python/python.exp: Get working directory and match the
10044 output of "set extended-prompt \\w " with it.
10046 2014-10-30 Doug Evans <dje@google.com>
10048 * gdb.python/py-objfile.exp: Add tests for setting random attributes
10050 * gdb.python/py-progspace.exp: Add tests for setting random attributes
10053 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
10055 * gdb.base/fullpath-expand.exp: Skip for a remote host.
10056 * gdb.base/realname-expand.exp: Likewise.
10057 * gdb.linespec/macro-relative.exp: Likewise.
10059 2014-10-29 Pedro Alves <palves@redhat.com>
10062 * gdb.threads/schedlock.c (some_function): New function.
10063 (call_function): New global.
10064 (MAYBE_CALL_SOME_FUNCTION): New macro.
10065 (thread_function): Call it.
10066 * gdb.threads/schedlock.exp (get_args): Add description parameter,
10067 and use it instead of a global counter. Adjust all callers.
10068 (get_current_thread): Use "find current thread" for test message
10069 here rather than having all callers pass down the same string.
10070 (goto_loop): New procedure, factored out from ...
10071 (my_continue): ... this.
10072 (step_ten_loops): Change parameter from test message to command to
10074 (list_count): Delete global.
10075 (check_result): New procedure, factored out from duplicate top
10077 (continue tests): Wrap in with_test_prefix.
10078 (test_step): New procedure, factored out from duplicate top level
10080 (top level): Test "step" in combination with all scheduler-locking
10081 modes. Test "next" in combination with all scheduler-locking
10082 modes, and in combination with stepping over a function call or
10084 * gdb.threads/next-bp-other-thread.c: New file.
10085 * gdb.threads/next-bp-other-thread.exp: New file.
10087 2014-10-29 Pedro Alves <palves@redhat.com>
10090 * gdb.python/python.exp: Test a multi-line command that spawns
10091 interactive Python.
10092 * gdb.base/multi-line-starts-subshell.exp: New file.
10094 2014-10-29 Yao Qi <yao@codesourcery.com>
10096 * gdb.base/fileio.exp: Make directories on host.
10098 2014-10-29 Yao Qi <yao@codesourcery.com>
10100 * gdb.base/fileio.c (test_write): Close the file.
10102 2014-10-28 Pedro Alves <palves@redhat.com>
10105 * gdb.base/sigstep.c (no_handler): New global.
10106 (main): If 'no_handler is true, set the signal handlers to
10108 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
10109 with_sw_watch and no_handler parameters. Handle them.
10110 (top level) <stepping over handler when stopped at a breakpoint
10111 test>: Add a test axis for testing with a software watchpoint, and
10112 another for testing with the signal handler set to SIG_IGN.
10113 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
10114 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
10116 2014-10-28 Pedro Alves <palves@redhat.com>
10119 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
10120 * gdb.base/sigstep.exp (other_handler_location): New global.
10121 (advance): Support stepping into the signal handler, and running
10122 commands while in the handler.
10123 (in_handler_map): New global.
10124 (top level): In the advance test, add combinations for getting
10125 into the handler with stepping commands, and for running commands
10126 in the handler. Add comment descripting the advancei tests.
10128 2014-10-28 Pedro Alves <palves@redhat.com>
10130 * gdb.base/sigstep.exp: Use build_executable instead of
10131 prepare_for_testing.
10132 (top level): Move code that starts GDB, runs to main and creates a
10134 (restart): ... this new procedure.
10135 (top level): Move backtrace from signal handler test to ...
10136 (validate_backtrace): ... this new procedure.
10137 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
10138 with_test_prefix. Always restart GDB.
10139 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
10140 with_test_prefix. Always restart GDB. No need to delete
10141 breakpoints after the test.
10142 (test_skip_handler): Remove prefix parameter.
10143 (skip_over_handler, breakpoint_to_handler)
10144 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
10145 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
10146 restart GDB. No need to delete breakpoints after the test.
10147 (top level): Use foreach to call the test procedures with
10148 different commands.
10150 2014-10-28 Pedro Alves <palves@redhat.com>
10152 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
10153 instead of GNATS numbers.
10154 * gdb.base/sigbpt.exp: Likewise.
10155 * gdb.base/siginfo.exp: Likewise.
10156 * gdb.base/sigstep.exp: Likewise.
10158 2014-10-27 Pedro Alves <palves@redhat.com>
10160 * gdb.base/sigstep.c (dummy): New global.
10161 (main): Issue a couple writes to the new global.
10162 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
10164 (skip_over_handler): Use test_skip_handler.
10165 (top level): Call skip_over_handler for stepi and nexti too.
10166 (breakpoint_over_handler): Use test_skip_handler.
10167 (top level): Call breakpoint_over_handler for stepi and nexti too.
10169 2014-10-27 Yao Qi <yao@codesourcery.com>
10171 * gdb.trace/tfile.c (adjust_function_address)
10172 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
10173 function descriptor.
10175 2014-10-24 Don Breazeal <donb@codesourcery.com>
10177 * gdb.base/foll-fork.exp (test_follow_fork,
10178 catch_fork_child_follow): Check for updated fork messages emitted
10180 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
10181 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
10182 vfork_and_exec_child_follow_through_step): Check for updated vfork
10183 messages emitted from infrun.c.
10185 2014-10-24 Pedro Alves <palves@redhat.com>
10187 * gdb.base/corefile.exp: Remove references to ultrix.
10188 * gdb.base/interrupt.exp: Likewise.
10189 * gdb.base/whatis.exp: Likewise.
10190 * gdb.gdb/selftest.exp: Likewise.
10191 * gdb.threads/manythreads.exp: Likewise.
10192 * gdb.threads/print-threads.exp: Likewise.
10193 * gdb.threads/pthreads.exp:: Likewise.
10194 * gdb.threads/schedlock.exp: Likewise.
10196 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
10198 * gdb.cp/non-trivial-retval.cc: Add a test case.
10199 * gdb.cp/non-trivial-retval.exp: Add a test.
10201 2014-10-20 Yao Qi <yao@codesourcery.com>
10203 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
10204 * gdb.python/py-objfile-script-gdb.py: New file.
10205 * gdb.python/py-objfile-script.exp: Update reference to
10206 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
10207 of remote_download. Remove the dest file.
10209 2014-10-20 Yao Qi <yao@codesourcery.com>
10211 * gdb.base/checkpoint.exp: Don't remove file copied on host.
10212 * gdb.base/step-line.exp: Likewise.
10213 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10214 * gdb.dwarf2/dw2-basic.exp: Likewise.
10215 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10216 * gdb.dwarf2/dw2-filename.exp: Likewise.
10217 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10218 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10219 * gdb.dwarf2/dw2-producer.exp: Likewise.
10220 * gdb.dwarf2/mac-fileno.exp: Likewise.
10221 * gdb.python/py-frame-args.exp: Likewise.
10222 * gdb.python/py-framefilter.exp: Likewise.
10223 * gdb.python/py-mi.exp: Likewise.
10224 * gdb.python/py-objfile-script.exp: Likewise
10225 * gdb.python/py-pp-integral.exp: Likewise.
10226 * gdb.python/py-pp-re-notag.exp: Likewise.
10227 * gdb.python/py-prettyprint.exp: Likewise.
10228 * gdb.python/py-section-script.exp: Likewise.
10229 * gdb.python/py-typeprint.exp: Likewise.
10230 * gdb.python/py-xmethods.exp: Likewise.
10231 * gdb.stabs/weird.exp: Likewise.
10232 * gdb.xml/tdesc-regs.exp: Likewise.
10234 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
10236 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
10237 (out_cu): Use addr_len for the size of addresses.
10238 (out_line): Likewise. Size DW_LNE_set_address instruction
10239 according to addr_len.
10240 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
10241 (FUNC): Add START_INSNS to definition.
10243 2014-10-18 Yao Qi <yao@codesourcery.com>
10245 * gdb.base/argv0-symlink.exp: Check argv[0] value if
10246 gdb_has_argv0 return true.
10247 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
10248 check [target_info exists noargs], check [gdb_has_argv0]
10250 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10251 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
10254 2014-10-17 Doug Evans <dje@google.com>
10256 * gdb.python/py-events.exp: Update expected output for clear_objfiles
10258 * gdb.python/py-events.py: Add clear_objfiles event.
10260 2014-10-17 Doug Evans <dje@google.com>
10262 * gdb.python/py-objfile.exp: Test progspace attribute.
10264 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
10266 * gdb.guile/scm-breakpoint.exp: Do not assume any
10267 directory separators when matching source file paths.
10268 * gdb.python/py-breakpoint.exp: Likewise.
10269 * gdb.reverse/break-precsave.exp: Likewise.
10270 * gdb.reverse/break-reverse.exp: Likewise.
10271 * gdb.reverse/consecutive-precsave.exp: Likewise.
10272 * gdb.reverse/finish-precsave.exp: Likewise.
10273 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
10274 * gdb.reverse/finish-reverse.exp: Likewise.
10275 * gdb.reverse/i386-precsave.exp: Likewise.
10276 * gdb.reverse/i387-env-reverse.exp: Likewise.
10277 * gdb.reverse/i387-stack-reverse.exp: Likewise.
10278 * gdb.reverse/machinestate-precsave.exp: Likewise.
10279 * gdb.reverse/machinestate.exp: Likewise.
10280 * gdb.reverse/sigall-precsave.exp: Likewise.
10281 * gdb.reverse/solib-precsave.exp: Likewise.
10282 * gdb.reverse/step-precsave.exp: Likewise.
10283 * gdb.reverse/until-precsave.exp: Likewise.
10284 * gdb.reverse/watch-precsave.exp: Likewise.
10285 * gdb.reverse/watch-reverse.exp: Likewise.
10287 2014-10-17 Yao Qi <yao@codesourcery.com>
10289 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
10290 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
10292 2014-10-17 Pedro Alves <palves@redhat.com>
10295 * gdb.base/bg-execution-repeat.c: New file.
10296 * gdb.base/bg-execution-repeat.exp: New file.
10298 2014-10-17 Pedro Alves <palves@redhat.com>
10301 * gdb.base/continue-all-already-running.c: New file.
10302 * gdb.base/continue-all-already-running.exp: New file.
10304 2014-10-17 Pedro Alves <palves@redhat.com>
10307 * gdb.base/annota-input-while-running.c: New file.
10308 * gdb.base/annota-input-while-running.exp: New file.
10310 2014-10-17 Pedro Alves <palves@redhat.com>
10312 * gdb.base/callfuncs.exp: emove references to osf.
10313 * gdb.base/sigall.exp: Likewise.
10314 * gdb.gdb/selftest.exp: Likewise.
10315 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10316 * gdb.mi/non-stop.c: Likewise.
10317 * gdb.mi/pthreads.c: Likewise.
10318 * gdb.reverse/sigall-precsave.exp: Likewise.
10319 * gdb.reverse/sigall-reverse.exp: Likewise.
10320 * gdb.threads/pthreads.c: Likewise.
10321 * gdb.threads/pthreads.exp: Likewise.
10323 2014-10-17 Yao Qi <yao@codesourcery.com>
10325 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
10326 check 'target_info exists noargs'.
10327 (test_command_prompt_position): Likewise.
10328 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
10330 (progvar_simple_while_test): Likewise.
10331 (progvar_complex_if_while_test): Likewise.
10332 (if_while_breakpoint_command_test): Likewise.
10333 (infrun_breakpoint_command_test): Likewise.
10334 (breakpoint_command_test): Likewise.
10335 (watchpoint_command_test): Likewise.
10336 (bp_deleted_in_command_test): Likewise.
10337 (temporary_breakpoint_commands): Likewise.
10339 2014-10-16 Yao Qi <yao@codesourcery.com>
10341 * gdb.base/remotetimeout.exp: Remove noargs checking.
10343 2014-10-15 Pedro Alves <palves@redhat.com>
10345 PR breakpoints/9649
10346 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
10347 * gdb.base/breakpoint-in-ro-region.exp
10348 (probe_target_hardware_step): New procedure.
10349 (top level): Probe hardware stepping and hardware breakpoint
10350 support. Test stepping through a read-only region, with both
10351 "breakpoint auto-hw" on and off and both "always-inserted" on and
10354 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
10356 * gdb.dlang/demangle.exp: Update for demangling changes.
10358 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10360 * gdb.cp/non-trivial-retval.cc: Add new test cases.
10361 * gdb.cp/non-trivial-retval.exp: Add new tests.
10363 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10367 * gdb.cp/non-trivial-retval.cc: New file.
10368 * gdb.cp/non-trivial-retval.exp: New file.
10370 2014-10-15 Yao Qi <yao@codesourcery.com>
10372 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
10375 2014-10-15 Yao Qi <yao@codesourcery.com>
10377 * gdb.python/py-symbol.exp: Match file base name if host is
10378 remote, otherwise match file name with dir name.
10379 * gdb.python/py-symtab.exp: Likewise.
10380 * gdb.python/python.exp: Likewise.
10382 2014-10-15 Yao Qi <yao@codesourcery.com>
10384 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
10386 * gdb.python/py-symtab.exp: Likewise.
10387 * gdb.python/python.exp: Remove trailing ".*". Fix typo
10390 2014-10-14 Joel Brobecker <brobecker@adacore.com>
10392 * gdb.ada/addr_arith: New testcase.
10394 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
10396 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
10397 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
10398 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
10399 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
10401 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
10403 * gdb.arch/stap-eval-lang-ada.S: Likewise.
10404 * gdb.arch/stap-eval-lang-ada.c: Likewise.
10405 * gdb.arch/stap-eval-lang-ada.exp: New file.
10407 2014-10-14 Yao Qi <yao@codesourcery.com>
10409 * gdb.mi/mi-var-child.c (nothing1): New function.
10410 (nothing2): New function.
10411 (do_children_tests): Set function pointers by nothing1 and
10413 * gdb.mi/mi-var-child.exp: Step over new added statements.
10414 Update test to match the new output.
10415 * gdb.mi/var-cmd.c (nothing1): New function.
10416 (nothing2): New function.
10417 (do_children_tests): Set function pointers by nothing1 and
10419 * gdb.mi/mi-var-display.exp: Update test to match output.
10420 Step to the line specified by $line_dct_nothing.
10421 Increase the number of lines to step.
10423 2014-10-14 Yao Qi <yao@codesourcery.com>
10425 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
10427 * gdb.mi/mi2-var-child.exp: Likewise.
10429 2014-10-13 Doug Evans <dje@google.com>
10431 * gdb.python/py-objfile.exp: Change name of file name test.
10433 2014-10-13 Doug Evans <dje@google.com>
10435 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
10436 from the start of the CU.
10438 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10439 Yao Qi <yao@codesourcery.com>
10441 Fix "save breakpoints" for "catch" command.
10442 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
10443 Remove -nonewline. Match also the added "main" line.
10445 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10447 Fix "save breakpoints" for "disable $bpnum" command.
10448 * gdb.base/save-bp.c (main): Add label.
10449 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
10451 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10453 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
10455 2014-10-11 Yao Qi <yao@codesourcery.com>
10457 * gdb.server/server-kill.exp: Execute command
10458 "set remote trace-status-packet on" before "tstatus".
10460 2014-10-11 Yao Qi <yao@codesourcery.com>
10462 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
10463 (main): Call getppid.
10464 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
10465 and continue to it. Read variable "server_pid".
10467 2014-10-11 Yao Qi <yao@codesourcery.com>
10469 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
10471 2014-10-11 Yao Qi <yao@codesourcery.com>
10473 * gdb.threads/thread-find.exp: Don't execute command
10475 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
10476 * gdb.threads/linux-dp.exp: Don't check the condition
10477 $threads_created equals to zero.
10479 2014-10-10 Pedro Alves <palves@redhat.com>
10481 * gdb.base/bigcore.exp: Remove references to IRIX.
10482 * gdb.base/funcargs.exp: Likewise.
10483 * gdb.base/interrupt.exp: Likewise.
10484 * gdb.base/mips_pro.exp: Likewise.
10485 * gdb.base/nodebug.exp: Likewise.
10486 * gdb.base/setvar.exp: Likewise.
10487 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
10489 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10490 Pedro Alves <palves@redhat.com>
10493 * gdb.base/vdso-warning.c: New file.
10494 * gdb.base/vdso-warning.exp: New file.
10496 2014-10-02 Doug Evans <dje@google.com>
10498 * gdb.base/structs.c (main): Don't run forever.
10500 2014-10-02 Pedro Alves <palves@redhat.com>
10502 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
10503 (top level) <stop threads 1, stop threads 2>: Use it.
10505 2014-10-02 Pedro Alves <palves@redhat.com>
10507 * gdb.threads/break-while-running.exp (test): Add new
10508 'update_thread_list' argument. Skip "info threads" if false.
10509 (top level): Add new 'update_thread_list' axis.
10511 2014-10-02 Pedro Alves <palves@redhat.com>
10513 PR breakpoints/17431
10514 * gdb.base/execl-update-breakpoints.c: New file.
10515 * gdb.base/execl-update-breakpoints.exp: New file.
10517 2014-10-01 Pedro Alves <palves@redhat.com>
10519 * gdb.base/breakpoint-in-ro-region.c: New file.
10520 * gdb.base/breakpoint-in-ro-region.exp: New file.
10522 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
10524 * gdb.mi/mi-exit-code.exp: New file.
10525 * gdb.mi/mi-exit-code.c: New file.
10527 2014-09-30 Yao Qi <yao@codesourcery.com>
10529 * lib/prelink-support.exp (build_executable_own_libs): Error if
10530 the target isn't native.
10532 2014-09-30 Yao Qi <yao@codesourcery.com>
10534 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
10537 2014-09-22 Pedro Alves <palves@redhat.com>
10539 * gdb.threads/break-while-running.exp: New file.
10540 * gdb.threads/break-while-running.c: New file.
10542 2014-09-19 Yao Qi <yao@codesourcery.com>
10544 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
10545 Invoke test. Restart GDB with --readnow and invoke test again.
10547 2014-09-19 Yao Qi <yao@codesourcery.com>
10549 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
10550 proc set_breakpoint_on_gcd_function. Invoke
10551 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
10552 invoke set_breakpoint_on_gcd_function again.
10554 2014-09-18 Doug Evans <dje@google.com>
10556 * gdb.dwarf2/symtab-producer.exp: New file.
10558 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
10560 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
10561 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
10562 * gdb.base/global-var-nested-by-dso.c: Likewise.
10563 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10565 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
10566 Pedro Alves <palves@redhat.com>
10568 * gdb.base/watch-bitfields.exp: Pass string other than test file
10569 name to prepare_for_testing.
10570 (watch): New procedure.
10571 (expect_watchpoint): Use with_test_prefix.
10572 (top level): Factor out tests to ...
10573 (test_watch_location, test_regular_watch): ... these new
10574 procedures, and use with_test_prefix and gdb_continue_to_end.
10576 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
10578 PR breakpoints/12526
10579 * gdb.base/watch-bitfields.exp: New file.
10580 * gdb.base/watch-bitfields.c: New file.
10582 2014-09-16 Pedro Alves <palves@redhat.com>
10584 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
10585 software and hardware addresses, not software address against
10588 2014-09-16 Pedro Alves <palves@redhat.com>
10590 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
10591 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
10593 2014-09-16 Pedro Alves <palves@redhat.com>
10595 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
10597 * gdb.base/a2-run.exp: Remove all code guarded by istarget
10598 "*-*-vxworks*" throughout.
10599 * gdb.base/break.exp: Likewise.
10600 * gdb.base/default.exp: Likewise.
10601 * gdb.base/scope.exp: Likewise.
10602 * gdb.base/sepdebug.exp: Likewise.
10603 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
10605 * gdb.base/run.c: Likewise.
10606 * gdb.base/sepdebug.c: Likewise.
10607 * gdb.hp/gdb.aCC/run.c: Likewise.
10608 * gdb.reverse/until-reverse.c: Likewise.
10609 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
10611 2014-09-16 Yao Qi <yao@codesourcery.com>
10613 * boards/local-remote-host-native.exp: New file.
10615 2014-09-14 Doug Evans <xdje42@gmail.com>
10617 * gdb.threads/queue-signal.c (thread_count): New variable.
10618 (thread_count_mutex, thread_count_condvar): New variables.
10619 (incr_thread_count, wait_all_threads_running): New functions.
10620 (main): Wait for all threads to be in their thread functions.
10622 2014-09-13 Doug Evans <xdje42@gmail.com>
10624 * gdb.threads/queue-signal.c: New file.
10625 * gdb.threads/queue-signal.exp: New file.
10627 2014-09-13 Doug Evans <xdje42@gmail.com>
10629 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
10630 be consistent with what default_gdb_init uses.
10631 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
10632 the plain text of the prompt. Add some logging printfs.
10633 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
10635 2014-09-12 Pedro Alves <palves@redhat.com>
10637 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
10638 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
10639 * gdb.arch/i386-size-overlap.exp: Likewise.
10640 * gdb.arch/i386-size.exp: Likewise.
10641 * gdb.arch/i386-unwind.exp: Likewise.
10642 * gdb.base/a2-run.exp: Likewise.
10643 * gdb.base/break.exp: Likewise.
10644 * gdb.base/charset.exp: Likewise.
10645 * gdb.base/chng-syms.exp: Likewise.
10646 * gdb.base/commands.exp: Likewise.
10647 * gdb.base/dbx.exp: Likewise.
10648 * gdb.base/find.exp: Likewise.
10649 * gdb.base/funcargs.exp: Likewise.
10650 * gdb.base/jit-simple.exp: Likewise.
10651 * gdb.base/reread.exp: Likewise.
10652 * gdb.base/sepdebug.exp: Likewise.
10653 * gdb.base/step-bt.exp: Likewise.
10654 * gdb.cp/mb-inline.exp: Likewise.
10655 * gdb.cp/mb-templates.exp: Likewise.
10656 * gdb.objc/basicclass.exp: Likewise.
10657 * gdb.threads/killed.exp: Likewise.
10659 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10662 * gdb.arch/powerpc-stackless.S: New file.
10663 * gdb.arch/powerpc-stackless.exp: New file.
10665 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10667 * gdb.base/attach.c: Include unistd.h.
10668 (main): Call alarm. Add label postloop.
10669 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
10670 gdb_breakpoint, gdb_continue_to_breakpoint.
10671 (test_command_line_attach_run): Kill ${testpid} in one exit path.
10673 2014-09-11 Pedro Alves <palves@redhat.com>
10676 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
10677 * gdb.base/attach.exp (test_command_line_attach_run): New
10679 (top level): Call it.
10681 2014-09-11 Pedro Alves <palves@redhat.com>
10683 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
10684 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
10685 (do_command_attach_tests): Use spawn_wait_for_attach.
10686 * gdb.base/solib-overlap.exp: Likewise.
10687 * gdb.multi/multi-attach.exp: Likewise.
10688 * gdb.python/py-prompt.exp: Likewise.
10689 * gdb.python/py-sync-interp.exp: Likewise.
10690 * gdb.server/ext-attach.exp: Likewise.
10692 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
10694 * gdb.fortran/array-element.exp: Remove unexpected "continue"
10695 command in testcase. Simplify testcase.
10697 2014-09-10 Joel Brobecker <brobecker@adacore.com>
10699 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
10701 2014-09-10 Joel Brobecker <brobecker@adacore.com>
10703 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
10705 2014-09-10 Joel Brobecker <brobecker@adacore.com>
10707 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
10709 2014-09-10 Joel Brobecker <brobecker@adacore.com>
10711 * gdb.dwarf2/dynarr-ptr.c: New file.
10712 * gdb.dwarf2/dynarr-ptr.exp: New file.
10714 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10716 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
10717 of 30 rather than hardcoding 120 for a slow test case. Take the
10718 `gdb,timeout' target setting into account for this calculation.
10719 Don't extend the timeout for the test cases that don't need it.
10721 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10723 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
10724 a factor of 2 for a slow test case. Take the `gdb,timeout'
10725 target setting into account for this calculation.
10726 * gdb.reverse/until-precsave.exp: Increase the timeout by
10727 a factor of 15 and 3 respectively rather than adding 120
10728 for a pair of slow test cases. Take the `gdb,timeout'
10729 target setting into account for this calculation.
10731 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10733 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
10734 timeout, don't pass one down to gdb_expect.
10735 (gdb_expect): Rework timeout selection.
10737 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10739 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
10740 exception on timeout.
10741 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
10742 (gdbserver_start_extended): Catch any `gdbserver_start' error
10744 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
10745 * lib/mi-support.exp (mi_gdb_target_load): Catch any
10746 `gdbserver_gdb_load' error exceptions.
10748 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10750 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
10751 120 on waiting for the TCP socket to open.
10753 2014-09-09 Doug Evans <xdje42@gmail.com>
10755 * gdb.base/default.exp (show_conv_list): Add _caller_is,
10756 _caller_matches, _any_caller_is, _any_caller_matches.
10758 2014-09-09 Doug Evans <xdje42@gmail.com>
10760 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
10762 2014-09-09 Yao Qi <yao@codesourcery.com>
10764 * gdb.mi/mi-var-display.exp: Set print symbol off.
10766 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
10769 * gdb.base/commands.exp: Add tests to verify user-defined
10770 commands with empty bodies.
10771 * gdb.python/py-cmd.exp: Test that we don't show user-defined
10772 python commands in `show user command`.
10773 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
10774 scheme commands in `show user command`.
10776 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10779 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
10780 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
10781 * gdb.python/py-framefilter-invalidarg.exp: New file.
10782 * gdb.python/py-framefilter-invalidarg.py: New file.
10784 2014-09-06 Doug Evans <xdje42@gmail.com>
10787 * gdb.python/py-caller-is.c: New file.
10788 * gdb.python/py-caller-is.exp: New file.
10790 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
10793 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
10794 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
10796 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
10799 * gdb.fortran/print-formatted.exp: New file.
10800 * gdb.fortran/print-formatted.f90: Likewise.
10802 2014-09-03 Sasha Smundak <asmundak@google.com>
10804 * gdb.python/py-frame.exp: Test Frame.read_register.
10806 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
10809 * gdb.python/py-completion.exp: New file.
10810 * gdb.python/py-completion.py: Likewise.
10812 2014-08-28 Doug Evans <dje@google.com>
10814 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
10815 eax,etc. are live with values set by gdb and thus the compiler can't
10817 * gdb.arch/i386-pseudo.c (main): Ditto.
10819 2014-08-27 Doug Evans <dje@google.com>
10821 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
10823 2014-08-25 Doug Evans <dje@google.com>
10825 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
10828 2014-08-25 Doug Evans <dje@google.com>
10830 * gdb.threads/thread-execl.exp: #include <stdio.h>.
10832 2014-08-24 Yao Qi <yao@codesourcery.com>
10834 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
10836 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
10838 2014-08-22 Doug Evans <dje@google.com>
10841 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
10842 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
10843 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
10845 2014-08-22 Yao Qi <yao@codesourcery.com>
10847 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
10848 * gdb.python/py-finish-breakpoint2.exp: Likewise.
10849 * gdb.python/python.exp: Likewise. Use .py file on the host
10850 instead of the build.
10852 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10854 * gdb.threads/gcore-stale-thread.c: New file.
10855 * gdb.threads/gcore-stale-thread.exp: New file.
10857 2014-08-21 Pedro Alves <palves@redhat.com>
10859 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
10860 * gdb.base/gcore-relro-pie.exp: Likewise.
10861 * gdb.base/gcore-relro.exp: Likewise.
10862 * gdb.base/gcore.exp: Likewise.
10863 * gdb.base/print-symbol-loading.exp: Likewise.
10864 * gdb.threads/gcore-thread.exp: Likewise.
10865 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
10867 2014-08-20 Pedro Alves <palves@redhat.com>
10868 Jan Kratochvil <jan.kratochvil@redhat.com>
10870 * Makefile.in (EXTRA_RULES, CC): New variables, get from
10872 (EXPECT): Handle READ1 being set.
10873 (all): Depend on EXTRA_RULES.
10874 (check-read1, expect-read1, read1.so, read1): New rules.
10875 * README (Testsuite Parameters): Document the READ1 make variable.
10876 (Race detection): New section.
10877 * configure: Regenerate.
10878 * configure.ac: If build==host==target, and running under a
10879 GNU/glibc system, add read1 to the extra Makefile rules.
10880 (EXTRA_RULES): AC_SUBST it.
10881 * lib/read1.c: New file.
10883 2014-08-20 Joel Brobecker <brobecker@adacore.com>
10885 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
10886 the handling of variables declared as a typedef to an array
10887 which a DW_AT_data_location attribute.
10889 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
10890 Pedro Alves <palves@redhat.com>
10894 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
10897 2014-08-19 Pedro Alves <palves@redhat.com>
10899 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
10901 2014-08-19 Yao Qi <yao@codesourcery.com>
10903 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
10906 2014-08-18 David Blaikie <dblaikie@gmail.com>
10908 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
10910 2014-08-18 Joel Brobecker <brobecker@adacore.com>
10912 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
10913 attribute in array range.
10915 2014-08-18 Joel Brobecker <brobecker@adacore.com>
10917 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
10919 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
10922 * gdb.cp/pr17132.cc: New file.
10923 * gdb.cp/pr17132.exp: New file.
10925 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
10927 * gdb.python/py-xmethods.py (A_getarrayind)
10928 (E_method_char_worker.__call__, E_method_int_worker.__call__):
10929 Use 'print' with function call syntax.
10930 (E_method_matcher.match): Fix tab vs space indentation mixup.
10932 2014-08-15 Yao Qi <yao@codesourcery.com>
10934 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
10937 2014-08-15 Yao Qi <yao@codesourcery.com>
10939 * gdb.cp/casts.exp: Set print symbol off.
10940 * gdb.cp/class2.exp: Likewise.
10941 * gdb.cp/overload.exp: Likewise.
10942 * gdb.cp/templates.exp: Likewise.
10944 2014-08-11 Doug Evans <dje@google.com>
10946 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
10947 (test_load_shlib): Update.
10949 2014-08-09 Yao Qi <yao@codesourcery.com>
10951 * gdb.base/display.exp: Invoke is_address_zero_readable.
10952 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
10953 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10954 * gdb.base/hbreak-unmapped.exp: Return if
10955 is_address_zero_readable returns true.
10956 * gdb.base/signest.exp: Likewise.
10957 * gdb.base/signull.exp: Likewise.
10958 * gdb.base/sigbpt.exp: Likewise.
10959 * gdb.guile/scm-disasm.exp: Do the test if
10960 is_address_zero_readable returns false.
10961 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
10962 * gdb.python/py-arch.exp: Likewise.
10963 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
10964 * lib/gdb.exp (is_address_zero_readable): New proc.
10966 2014-08-09 Yao Qi <yao@codesourcery.com>
10969 * gdb.mi/mi-var-display.exp: Make test messages unique.
10971 2014-08-04 Tom Tromey <tromey@redhat.com>
10973 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
10976 2014-08-04 Tom Tromey <tromey@redhat.com>
10978 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
10981 2014-08-01 Joel Brobecker <brobecker@adacore.com>
10983 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
10984 inner_vla_struct_object_size.
10985 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
10988 2014-07-30 Pedro Alves <palves@redhat.com>
10990 * gdb.threads/signal-command-handle-nopass.exp (test): Add
10993 2014-07-29 Yao Qi <yao@codesourcery.com>
10996 * gdb.base/until-nodebug.exp: New.
10998 2014-07-28 Doug Evans <xdje42@gmail.com>
11001 * gdb.guile/scm-parameter.exp: Add tests for trying to create
11002 previously existing parameter, and previously ambiguously spelled
11005 2014-07-28 Will Newton <will.newton@linaro.org>
11007 * gdb.base/varargs.exp: Remove KFAILs for ARM.
11009 2014-07-26 Ludovic Courtès <ludo@gnu.org>
11010 Doug Evans <xdje42@gmail.com>
11013 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11015 2014-07-25 Pedro Alves <palves@redhat.com>
11017 * gdb.threads/signal-command-handle-nopass.c: New file.
11018 * gdb.threads/signal-command-handle-nopass.exp: New file.
11019 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11020 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11021 * gdb.threads/signal-delivered-right-thread.c: New file.
11022 * gdb.threads/signal-delivered-right-thread.exp: New file.
11024 2014-07-25 Pedro Alves <palves@redhat.com>
11026 * gdb.base/double-prompt-target-event-error.exp
11027 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11029 (cancel_pagination_in_target_event): Rework double prompt
11031 * gdb.base/paginate-after-ctrl-c-running.exp
11032 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11034 * gdb.base/paginate-bg-execution.exp
11035 (test_bg_execution_pagination_return)
11036 (test_bg_execution_pagination_cancel): Remove '-notransfer
11038 * gdb.base/paginate-execution-startup.exp
11039 (test_fg_execution_pagination_return)
11040 (test_fg_execution_pagination_cancel): Remove '-notransfer
11042 * gdb.base/paginate-inferior-exit.exp
11043 (test_paginate_inferior_exited): Remove '-notransfer <return>'
11045 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11046 * lib/gdb.exp (pagination_prompt): Run text through
11048 (gdb_test_multiple): Match $pagination_prompt instead of
11050 (string_to_regexp): Move to lib/gdb-utils.exp.
11052 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11054 * gdb.arch/amd64-entry-value-paramref.S: New file.
11055 * gdb.arch/amd64-entry-value-paramref.cc: New file.
11056 * gdb.arch/amd64-entry-value-paramref.exp: New file.
11057 * gdb.arch/amd64-optimout-repeat.S: New file.
11058 * gdb.arch/amd64-optimout-repeat.c: New file.
11059 * gdb.arch/amd64-optimout-repeat.exp: New file.
11061 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11064 * gdb.base/statistics.exp: New file.
11066 2014-07-17 Doug Evans <dje@google.com>
11069 * gdb.base/maint.exp: Update testing of per-command stats.
11071 2014-07-16 Pedro Alves <palves@redhat.com>
11073 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11074 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11075 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11076 (tfile_write_buf): New functions.
11077 (add_memory_block): Rewrite using the above.
11078 (adjust_function_address): New function.
11079 (FUNCTION_ADDRESS): New macro.
11080 (write_basic_trace_file): Remove short_x local, and use
11081 tfile_write_16. Change type of func_addr local to unsigned long
11082 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
11083 here. Cast argument of add_memory_block to char pointer.
11084 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
11085 (main): Remove parameters.
11086 * gdb.trace/tfile.exp: Remove nowarnings.
11088 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
11090 * gdb.base/debug-expr.exp: Test string evaluation with
11091 "debug expression" on.
11093 2014-07-15 Pedro Alves <palves@redhat.com>
11095 * gdb.base/reread.exp: Use clean_restart.
11097 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
11099 * gdb.arch/avr-flash-qualifer.c: New.
11100 * gdb.arch/avr-flash-qualifer.exp: New.
11102 2014-07-14 Pedro Alves <palves@redhat.com>
11104 * gdb.base/paginate-after-ctrl-c-running.c: New file.
11105 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
11107 2014-07-14 Pedro Alves <palves@redhat.com>
11109 * gdb.base/double-prompt-target-event-error.c: New file.
11110 * gdb.base/double-prompt-target-event-error.exp: New file.
11112 2014-07-14 Pedro Alves <palves@redhat.com>
11115 * gdb.base/paginate-inferior-exit.c: New file.
11116 * gdb.base/paginate-inferior-exit.exp: New file.
11118 2014-07-14 Pedro Alves <palves@redhat.com>
11121 * gdb.base/paginate-bg-execution.c: New file.
11122 * gdb.base/paginate-bg-execution.exp: New file.
11124 2014-07-14 Pedro Alves <palves@redhat.com>
11127 * gdb.base/paginate-execution-startup.c: New file.
11128 * gdb.base/paginate-execution-startup.exp: New file.
11129 * lib/gdb.exp (pagination_prompt): New global.
11130 (default_gdb_spawn): New procedure, factored out from
11132 (default_gdb_start): Adjust to call default_gdb_spawn.
11133 (gdb_spawn): New procedure.
11135 2014-07-14 Pedro Alves <palves@redhat.com>
11137 * lib/gdb.exp (gdb_assert): New procedure.
11138 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
11140 2014-07-14 Pedro Alves <palves@redhat.com>
11142 * gdb.base/execution-termios.c: New file.
11143 * gdb.base/execution-termios.exp: New file.
11145 2014-07-14 Tom Tromey <tromey@redhat.com>
11147 * gdb.cp/vla-cxx.cc: New file.
11148 * gdb.cp/vla-cxx.exp: New file.
11150 2014-07-14 Tom Tromey <tromey@redhat.com>
11152 * gdb.reverse/rerun-prec.c: New file.
11153 * gdb.reverse/rerun-prec.exp: New file.
11155 2014-07-12 Maciej W. Rozycki <macro@mips.com>
11156 Maciej W. Rozycki <macro@codesourcery.com>
11158 * lib/gdb-utils.exp: New file.
11159 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
11160 inline `gdb_init_command' processing.
11161 (gdb_start_cmd): Likewise.
11162 * lib/mi-support.exp (mi_run_cmd): Likewise.
11163 * README: Document `gdb_init_command' and `gdb_init_commands'.
11165 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11167 Fix false FAIL running under a very long directory name.
11168 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
11169 and "set print elements 10000". Twice.
11171 2014-07-11 Yao Qi <yao@codesourcery.com>
11173 * gdb.base/exprs.exp: "set print symbol off".
11175 2014-07-11 Pedro Alves <palves@redhat.com>
11177 * gdb.threads/kill.c: New file.
11178 * gdb.threads/kill.exp: New file.
11180 2014-07-10 Yao Qi <yao@codesourcery.com>
11182 * gdb.trace/tfile.c (write_basic_trace_file)
11183 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
11184 address written to trace file.
11186 2014-07-09 Pedro Alves <palves@redhat.com>
11188 * gdb.base/attach-wait-input.exp: New file.
11189 * gdb.base/attach-wait-input.c: New file.
11191 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
11193 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
11194 setting up test structures.
11195 (main): Call new test function.
11196 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
11197 test function, continue into test function and walk test
11200 2014-07-02 Yao Qi <yao@codesourcery.com>
11202 * gdb.trace/entry-values.c: Define labels 'foo_start' and
11203 'bar_start' at the beginning of functions 'foo' and 'bar'
11205 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
11206 instead of 'foo' and 'bar'.
11208 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
11210 * gdb.btrace/segv.exp: New.
11211 * gdb.btrace/segv.c: New.
11213 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
11215 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
11218 2014-06-30 Mark Wielaard <mjw@redhat.com>
11220 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
11221 vulture, vilify, villar): New volatile array constants.
11222 (vindictive, vegetation): New const volatile array constants.
11223 * gdb.base/volatile.exp: Test volatile and const volatile array
11226 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11228 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
11229 target lacks support for awatch, rwatch, or hbreak.
11231 2014-06-27 Yao Qi <yao@codesourcery.com>
11233 * gdb.multi/dummy-frame-restore.exp: New.
11234 * gdb.multi/dummy-frame-restore.c: New.
11236 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
11238 * gdb.btrace/gcore.exp: New.
11240 2014-06-23 Pedro Alves <palves@redhat.com>
11242 * gdb.base/watchpoint-reuse-slot.c: New file.
11243 * gdb.base/watchpoint-reuse-slot.exp: New file.
11245 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
11247 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
11248 progspace's filename in 'info', 'enable' and 'disable' command
11251 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11253 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
11254 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11255 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
11257 2014-06-20 Gary Benson <gbenson@redhat.com>
11259 * gdb.arch/i386-avx.exp: Fix include file location.
11260 * gdb.arch/i386-sse.exp: Likewise.
11262 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
11264 * gdb.dlang/expression.exp: New file.
11266 2014-06-19 Pedro Alves <palves@redhat.com>
11268 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
11270 (top level): ... here. Iterate running tests under different
11271 scheduler-locking settings.
11273 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
11275 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
11276 to DW_FORM_addr and use non-zero addresses.
11278 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
11281 * gdb.python/py-xmethods.cc: Add global function call counters and
11282 increment them in their respective functions. Remove "cout"
11284 * gdb.python/py-xmethods.exp: Make tests check the global function
11285 call counters instead of depending on inferior IO.
11287 2014-06-18 Don Breazeal <donb@codesourcery.com>
11289 * gdb.base/foll-fork.exp (default_fork_parent_follow):
11291 (explicit_fork_parent_follow): Deleted procedure.
11292 (explicit_fork_child_follow): Deleted procedure.
11293 (test_follow_fork): New procedure.
11294 (do_fork_tests): Replace calls to deleted procedures with
11295 calls to test_follow_fork and reset GDB for subsequent
11298 2014-06-17 Yao Qi <yao@codesourcery.com>
11300 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
11303 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
11305 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
11306 Initialize ptr and S explicitly.
11307 (skip_type_update_when_not_use_rtti_test): Likewise.
11309 2014-06-16 Keith Seitz <keiths@redhat.com>
11312 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
11313 the inferior is started.
11315 2014-06-16 Pedro Alves <palves@redhat.com>
11317 * gdb.base/break-main-file-remove-fail.c: New file.
11318 * gdb.base/break-main-file-remove-fail.exp: New file.
11319 * gdb.base/break-unload-file.exp: Use build_executable instead of
11320 prepare_for_testing.
11321 (test_break): New parameter "initial_load". Handle it.
11322 (top level): Add initial_load cmdline/file axis.
11324 2014-06-12 Tom Tromey <tromey@redhat.com>
11326 * gdb.base/completion.exp: Don't use directory name in test.
11328 2014-06-09 Gary Benson <gbenson@redhat.com>
11330 * gdb.base/sigall.c [Functions to send signals]: Reorder to
11331 separate the always-available ANSI-standard signals from the
11332 signals that require checking.
11334 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
11338 2014-06-07 Keith Seitz <keiths@redhat.com>
11342 * gdb.cp/var-tag.cc: New file.
11343 * gdb.cp/var-tag.exp: New file.
11344 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11345 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11346 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11347 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11349 2014-06-06 Doug Evans <xdje42@gmail.com>
11351 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
11353 2014-06-06 Pedro Alves <palves@redhat.com>
11355 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
11356 in target debug output instead of looking at RSP packets,
11357 disabling the test on any target that uses hardware stepping.
11360 2014-06-06 Pedro Alves <palves@redhat.com>
11362 * gdb.base/break-unload-file.exp: Fix typo.
11364 2014-06-06 Yao Qi <yao@codesourcery.com>
11366 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
11367 from "jit_function" to "^jit_function".
11369 2014-06-06 Yao Qi <yao@codesourcery.com>
11371 * gdb.base/async.c (foo): Add one statement.
11372 * gdb.base/async.exp: Get the next instruction address and
11373 match the output of "nexti" by instruction address. Match
11374 the hex address in the output of "finish".
11376 2014-06-06 Gary Benson <gbenson@redhat.com>
11378 * gdb.base/call-signals.c: Remove preprocessor conditionals
11379 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
11380 SIGSEGV and SIGTERM.
11381 * gdb.base/sigall.c: Likewise.
11382 * gdb.base/unwindonsignal.c: Likewise.
11383 * gdb.reverse/sigall-reverse.c: Likewise.
11385 2014-06-06 Yao Qi <yao@codesourcery.com>
11387 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
11388 readable, skip the test.
11390 2014-06-06 Yao Qi <yao@codesourcery.com>
11392 * gdb.threads/staticthreads.c (thread_function): Move the line
11393 setting breakpoint on forward.
11394 * gdb.threads/staticthreads.exp: Update comments.
11396 2014-06-05 Ludovic Courtès <ludo@gnu.org>
11398 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
11399 "history-append! type error".
11401 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
11403 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
11404 erroneous dprintf expected input.
11406 2014-06-04 Doug Evans <xdje42@gmail.com>
11408 * gdb.guile/scm-generics.exp: Delete.
11410 2014-06-04 Doug Evans <xdje42@gmail.com>
11412 * gdb.guile/scm-breakpoint.exp: Update.
11413 Add tests for breakpoint registration.
11415 2014-06-04 Tom Tromey <tromey@redhat.com>
11417 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
11419 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
11420 inner_vla_struct, vla_union types. Initialize objects of those
11421 types and compute their sizes.
11423 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
11424 Hui Zhu <hui@codesourcery.com>
11426 * gdb.base/fileio.exp: Add test for shell not available as well as
11428 * gdb.base/fileio.c (test_system): Check for shell twice.
11430 2014-06-04 Yao Qi <yao@codesourcery.com>
11432 * gdb.base/auto-connect-native-target.exp: Remove redundant
11433 space from the regexp pattern.
11435 2014-06-04 Yao Qi <yao@codesourcery.com>
11437 * gdb.base/default.exp: Replace "child" with "native" in
11440 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
11442 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
11443 * gdb.python/py-xmethods.exp: New tests to test xmethods.
11444 * gdb.python/py-xmethods.py: Python script supporting the
11445 new testcase and tests.
11447 2014-06-03 Joel Brobecker <brobecker@adacore.com>
11448 Pedro Alves <palves@redhat.com>
11450 PR breakpoints/17000
11451 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
11452 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
11454 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
11456 * gdb.base/subst.exp: Add tests to verify partial path matching
11459 2014-06-03 Pedro Alves <palves@redhat.com>
11461 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
11462 target that doesn't use software single-stepping.
11464 2014-06-03 Pedro Alves <palves@redhat.com>
11466 PR breakpoints/17000
11467 * gdb.base/sss-bp-on-user-bp-2.c: New file.
11468 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
11470 2014-06-02 Doug Evans <xdje42@gmail.com>
11472 * gdb.guile/scm-parameter.exp: New file.
11474 2014-06-02 Doug Evans <xdje42@gmail.com>
11476 * gdb.guile/scm-cmd.c: New file.
11477 * gdb.guile/scm-cmd.exp: New file.
11479 2014-06-02 Doug Evans <xdje42@gmail.com>
11481 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
11482 pretty-printer lookup.
11483 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
11484 (make-pp_s-printer): Call it.
11485 (make-pretty-printer-from-dict): New function.
11486 (lookup-pretty-printer-maker-from-dict): New function.
11487 (*pretty-printer*): Simplify.
11488 (make-objfile-pp_s-printer): New function.
11489 (install-objfile-pretty-printers!): New function.
11490 (make-progspace-pp_s-printer): New function.
11491 (install-progspace-pretty-printers!): New function.
11492 * gdb.guile/scm-progspace.c: New file.
11493 * gdb.guile/scm-progspace.exp: New file.
11495 2014-06-02 Pedro Alves <palves@redhat.com>
11497 * gdb.base/dprintf-bp-same-addr.c: New file.
11498 * gdb.base/dprintf-bp-same-addr.exp: New file.
11500 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11502 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
11503 * gdb.arch/powerpc-power.s: Likewise.
11505 2014-06-02 Joel Brobecker <brobecker@adacore.com>
11507 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
11509 2014-06-01 Yao Qi <yao@codesourcery.com>
11511 * gdb.base/watchpoint.exp (test_watch_location): Check null
11512 pointer can be dereferenced. If not, do the test, otherwise
11515 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
11517 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
11519 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
11521 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
11523 * gdb.arch/amd64-invalid-stack-middle.S: New file.
11524 * gdb.arch/amd64-invalid-stack-middle.c: New file.
11525 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
11526 * gdb.arch/amd64-invalid-stack-top.c: New file.
11527 * gdb.arch/amd64-invalid-stack-top.exp: New file.
11529 2014-05-30 Pedro Alves <palves@redhat.com>
11531 PR breakpoints/17000
11532 * gdb.base/sss-bp-on-user-bp.c: New file.
11533 * gdb.base/sss-bp-on-user-bp.exp: New file.
11535 2014-05-30 David Blaikie <dblaikie@gmail.com>
11537 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
11538 gnu_inline semantics via attribute.
11539 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
11540 source explicitly specifies the required semantics.
11542 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
11544 * gdb.reverse/sigall-reverse.exp: Fix a typo.
11546 2014-05-29 Pedro Alves <palves@redhat.com>
11547 Tom Tromey <tromey@redhat.com>
11549 * gdb.base/async-shell.exp: Don't enable target-async.
11550 * gdb.base/async.exp
11551 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
11553 (top level): Don't test with "target-async".
11554 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
11555 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
11556 * gdb.base/inferior-died.exp: Don't enable target-async.
11557 * gdb.base/interrupt-noterm.exp: Likewise.
11558 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
11559 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11560 * gdb.mi/mi-nonstop.exp: Likewise.
11561 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11562 * gdb.mi/mi-nsintrall.exp: Likewise.
11563 * gdb.mi/mi-nsmoribund.exp: Likewise.
11564 * gdb.mi/mi-nsthrexec.exp: Likewise.
11565 * gdb.mi/mi-watch-nonstop.exp: Likewise.
11566 * gdb.multi/watchpoint-multi.exp: Adjust comment.
11567 * gdb.python/py-evsignal.exp: Don't enable target-async.
11568 * gdb.python/py-evthreads.exp: Likewise.
11569 * gdb.python/py-prompt.exp: Likewise.
11570 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
11571 * gdb.server/solib-list.exp: Don't enable target-async.
11572 * gdb.threads/thread-specific-bp.exp: Likewise.
11573 * lib/mi-support.exp: Adjust to use mi-async.
11575 2014-05-29 Pedro Alves <palves@redhat.com>
11578 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
11579 reason, even in sync mode.
11581 2014-05-29 Pedro Alves <palves@redhat.com>
11582 Hui Zhu <hui@codesourcery.com>
11585 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
11586 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
11587 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
11588 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
11590 2014-05-28 Joel Brobecker <brobecker@adacore.com>
11592 * config/monitor.exp (gdb_target_monitor): Replace use of
11593 "set remotebaud" by "set serial baud".
11595 2014-05-26 Andy Wingo <wingo@igalia.com>
11597 * gdb.guile/scm-breakpoint.exp:
11598 * gdb.guile/scm-gsmob.exp: Update to use plain old object
11599 properties instead of gdb-object-properties.
11601 2014-05-26 Yao Qi <yao@codesourcery.com>
11603 * gdb.server/no-thread-db.exp: Specify source file name
11604 explicitly when setting a breakpoint.
11606 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11608 * gdb.btrace/vdso.c: New.
11609 * gdb.btrace/vdso.exp: New.
11611 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11613 * gdb.base/gcore.exp (capture_command_output): Move ...
11614 * lib/gdb.exp (capture_command_output): ... here.
11616 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
11618 * gdb.btrace/data.exp: Test memory access during btrace replay.
11620 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
11622 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
11624 2014-05-21 Pedro Alves <palves@redhat.com>
11627 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
11628 (top level): Test that output related to execution commands is
11629 sent to the console with CLI commands, but not with MI commands.
11630 Test that breakpoint events are always mirrored to the console.
11631 Also expect the new source line to be output after a "next" in
11632 async mode too. Make it a pass/fail test.
11633 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
11635 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
11637 2014-05-21 Pedro Alves <palves@redhat.com>
11639 * gdb.base/list.exp (build_pattern, test_list): New procedures.
11640 Use them to test variations of "list" after reaching a breakpoint.
11641 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
11642 Test "list" with listsize 10 after reaching a breakpoint.
11643 * gdb.python/python.exp (decode_line current location line
11644 number): Adjust expected line number.
11646 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
11648 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
11649 behavior for $args, pass it directly to "run".
11651 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
11653 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
11656 2014-05-21 Pedro Alves <palves@redhat.com>
11658 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
11659 auto-connect-native-target off".
11660 * gdb.base/auto-connect-native-target.c: New file.
11661 * gdb.base/auto-connect-native-target.exp: New file.
11663 2014-05-21 Pedro Alves <palves@redhat.com>
11665 * gdb.base/default.exp: Test "target native" instead of "target
11668 2014-05-21 Mark Wielaard <mjw@redhat.com>
11670 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11672 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11674 Fix TLS access for -static -pthread.
11675 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
11676 <HAVE_TLS> (thread_function, main): Initialize it.
11677 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
11679 <$have_tls != "">: Check TLSVAR.
11681 2014-05-21 Pedro Alves <palves@redhat.com>
11683 * gdb.base/dcache-line-read-error.c: New.
11684 * gdb.base/dcache-line-read-error.exp: New.
11686 2014-05-20 Pedro Alves <palves@redhat.com>
11688 * gdb.base/compare-sections.c: New file.
11689 * gdb.base/compare-sections.exp: New file.
11691 2014-05-20 Pedro Alves <palves@redhat.com>
11693 * gdb.base/break-idempotent.c: New file.
11694 * gdb.base/break-idempotent.exp: New file.
11696 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
11698 * gdb.btrace/nohist.exp: New.
11700 2014-05-20 Yao Qi <yao@codesourcery.com>
11702 * lib/gdb.exp (gdb_init): Set timeout if test file is under
11703 gdb.reverse directory and gdb_reverse_timeout exists in board
11705 * README: Document gdb_reverse_timeout.
11707 2014-05-20 Yao Qi <yao@codesourcery.com>
11709 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
11710 'test_file_name'. Treat args as a string instead of a list.
11711 (gdb_init): Rename argument 'args' by 'test_file_name'.
11713 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11715 * gdb.arch/powerpc-power.exp: New file.
11716 * gdb.arch/powerpc-power.s: New file.
11718 2014-05-16 Doug Evans <dje@google.com>
11720 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
11721 * gdb.base/completion.exp: Check that all expected files exist
11722 before doing file completion.
11724 2014-05-16 Doug Evans <dje@google.com>
11726 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
11728 (do_syscall_tests_without_xml): Update.
11730 2014-05-16 Pedro Alves <palves@redhat.com>
11732 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
11733 instead of "unknown output after running".
11735 2014-05-16 Yao Qi <yao@codesourcery.com>
11737 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
11738 file1.txt from host at the end.
11739 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11741 2014-05-15 Doug Evans <dje@google.com>
11743 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
11744 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
11745 loading file. Add test for TU lookup.
11747 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
11749 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
11750 calling "-exec-arguments" or "set args" before running the
11753 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
11755 * lib/mi-support.exp (mi_expect_stop): Expect message for
11756 inferiors that exit with non-zero exit code.
11758 2014-05-14 Yao Qi <yao@codesourcery.com>
11760 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
11761 match absolute path on remote host.
11762 (test_file_list_exec_source_files): Remove "/" from the
11765 2014-05-14 Yao Qi <yao@codesourcery.com>
11767 * boards/local-remote-host-notty.exp (${board}_file): New
11770 2014-05-07 Kyle McMartin <kyle@redhat.com>
11772 Pushed by Joel Brobecker <brobecker@adacore.com>.
11773 * gdb.arch/aarch64-atomic-inst.c: New file.
11774 * gdb.arch/aarch64-atomic-inst.exp: New file.
11776 2014-05-07 Yao Qi <yao@codesourcery.com>
11778 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
11779 in current context" too.
11781 2014-05-05 Keith Seitz <keiths@redhat.com>
11783 * gdb.linespec/ls-dollar.exp: Add test for linespec
11784 file:convenience_variable.
11786 2014-05-05 Yao Qi <yao@codesourcery.com>
11788 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
11789 traceframes into tfile and ctf trace files. Read data from
11790 trace file and test collected data.
11791 (gdb_collect_locals_test): Likewise.
11792 (gdb_unavailable_registers_test): Likewise.
11793 (gdb_unavailable_floats): Likewise.
11794 (gdb_collect_globals_test): Likewise.
11795 (top-level): Append "ctf" to trace_file_targets if GDB
11798 2014-05-05 Yao Qi <yao@codesourcery.com>
11800 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
11802 (gdb_collect_args_test_1): ... it. New proc.
11803 (gdb_collect_locals_test): Move some code to ...
11804 (gdb_collect_locals_test_1): ... it. New proc.
11805 (gdb_unavailable_registers_test): Move some code to ...
11806 (gdb_unavailable_registers_test_1): ... it. New proc.
11807 (gdb_unavailable_floats): Move some code to ...
11808 (gdb_unavailable_floats_1): ... it. New proc.
11810 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
11812 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
11813 probes to test for bitness recognition.
11814 * gdb.arch/amd64-stap-optional-prefix.exp
11815 (test_probe_value_without_reg): New procedure.
11816 Add code to test for different kinds of bitness.
11818 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
11820 PR breakpoints/16889
11821 * gdb.arch/amd64-stap-optional-prefix.S: New file.
11822 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11824 2014-05-01 Pedro Alves <palves@redhat.com>
11826 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
11827 gdb_file_cmd if no file is specified.
11828 * boards/native-extended-gdbserver.exp (gdb_load): Use the
11829 last_loaded_file to set the remote exec-file.
11831 2014-05-01 Pedro Alves <palves@redhat.com>
11833 * boards/local-remote-host.exp: New file.
11835 2014-05-01 Pedro Alves <palves@redhat.com>
11837 * boards/local-remote-host.exp: Rename to ...
11838 * boards/local-remote-host-notty.exp: ... this.
11840 2014-04-28 Joel Brobecker <brobecker@adacore.com>
11842 * gdb.ada/dyn_arrayidx: New testcase.
11844 2014-04-26 Yao Qi <yao@codesourcery.com>
11846 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
11847 and compute the length of function main. Save it in
11849 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
11850 (top-level): Use gdb_compile to compile objects into
11851 executable and restart GDB. Remove invocation to
11852 prepare_for_testing.
11854 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
11855 Pedro Alves <palves@redhat.com>
11858 * gdb.multi/multi-attach.c: New file.
11859 * gdb.multi/multi-attach.exp: New file.
11861 2014-04-25 Pedro Alves <palves@redhat.com>
11863 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
11865 (top level): Test that "set remote conditional-breakpoints-packet
11866 off" works as intended.
11867 * gdb.base/dprintf.exp: Test that "set remote
11868 breakpoint-commands-packet off" works as intended.
11869 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
11871 (top level): Call it.
11872 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
11873 remote fast-tracepoints-packet off" works as intended.
11874 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
11875 * lib/gdb.exp (gdb_is_target_remote): ... here.
11877 2014-04-24 David Blaikie <dblaikie@gmail.com>
11879 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
11880 ensure clang would not discard them.
11881 * gdb.base/gdbvars.c: Ditto.
11882 * gdb.base/memattr.c: Ditto.
11883 * gdb.base/whatis.c: Ditto.
11884 * gdb.python/py-prettyprint.c: Ditto.
11885 * gdb.trace/actions.c: Ditto.
11886 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
11887 ensure clang would not discard it.
11889 2014-04-24 David Blaikie <dblaikie@gmail.com>
11891 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
11892 clang to emit the full definition of type required by the test
11893 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
11895 2014-04-24 David Blaikie <dblaikie@gmail.com>
11897 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
11898 coax Clang into emitting the definition of the type.
11899 * gdb.cp/pr10728-x.h (y): Ditto.
11900 * gdb.cp/pr10728-y.cc (y): Ditto.
11902 2014-04-24 David Blaikie <dblaikie@gmail.com>
11904 * gdb.base/label.exp: XFAIL label related tests under Clang.
11905 * gdb.cp/cplabel.exp: Ditto.
11906 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
11907 under Clang those using labels.
11909 2014-04-25 Yao Qi <yao@codesourcery.com>
11911 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
11913 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
11914 partial_label and double_label.
11916 2014-04-24 David Blaikie <dblaikie@gmail.com>
11918 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
11920 2014-04-24 David Blaikie <dblaikie@gmail.com>
11922 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
11923 of the function to work across GCC and Clang.
11924 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
11925 pointer types (const void ** const V void **).
11927 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
11928 Walfred Tedeschi <walfred.tedeschi@intel.com>
11930 * Makefile.in (EXECUTABLES): Added i386-avx512.
11931 * gdb.arch/i386-avx512.c: New file.
11932 * gdb.arch/i386-avx512.exp: Likewise.
11934 2014-04-23 Keith Seitz <keiths@redhat.com>
11936 * lib/mi-support.exp (mi_list_breakpoints): Delete.
11937 (mi_make_breakpoint_table): New procedure.
11938 (mi_create_breakpoint): Use mi_make_breakpoint
11939 and return the result.
11940 (mi_make_breakpoint): New procedure.
11941 (mi_build_kv_pairs): New procedure.
11943 * gdb.mi/mi-break.exp: Remove unused globals,
11944 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
11945 All callers updated.
11946 * gdb.mi/mi-dprintf.exp: Use variable to track command
11948 Update all callers of mi_create_breakpoint and use
11949 mi_make_breakpoint_table.
11950 Remove any unused global variables.
11951 * gdb.mi/mi-nonstop.exp: Likewise.
11952 * gdb.mi/mi-nsintrall.exp: Likewise.
11953 * gdb.mi/mi-nsmoribund.exp: Likewise.
11954 * gdb.mi/mi-nsthrexec.exp: Likewise.
11955 * gdb.mi/mi-reverse.exp: Likewise.
11956 * gdb.mi/mi-simplerun.exp: Likewise.
11957 * gdb.mi/mi-stepn.exp: Likewise.
11958 * gdb.mi/mi-syn-frame.exp: Likewise.
11959 * gdb.mi/mi-until.exp: Likewise.
11960 * gdb.mi/mi-var-cp.exp: Likewise.
11961 * gdb.mi/mi-var-display.exp: Likewise.
11962 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
11963 * gdb.mi/mi2-var-child.exp: Likewise.
11964 * gdb.mi/mi-vla-c99.exp: Likewise.
11965 * lib/mi-support.exp: Likewise.
11967 From Ian Lance Taylor <iant@cygnus.com>:
11968 * lib/gdb.exp (parse_args): New procedure.
11970 2014-04-23 Pedro Alves <palves@redhat.com>
11972 * gdb.base/break-unload-file.c: New file.
11973 * gdb.base/break-unload-file.exp: New file.
11974 * gdb.base/sym-file-lib.c (baz): New function.
11975 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
11977 (load): Store the segment's mapped size.
11978 (unload): New function.
11979 (unload_shlib): New function.
11980 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
11981 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
11982 set a breakpoint at baz, and call it.
11983 * gdb.base/sym-file.exp: New tests for stale breakpoint
11986 2014-04-23 Pedro Alves <palves@redhat.com>
11988 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
11989 * gdb.base/hbreak-in-shr-unsupported.c: New file.
11990 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
11991 * gdb.base/hbreak-unmapped.c: New file.
11992 * gdb.base/hbreak-unmapped.exp: New file.
11993 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
11994 * lib/gdb.exp (gdb_is_target_remote): ... here.
11996 2014-04-22 Pedro Alves <palves@redhat.com>
11998 * gdb.base/consecutive-step-over.c: New file.
11999 * gdb.base/consecutive-step-over.exp: New file.
12001 2014-04-22 Pedro Alves <palves@redhat.com>
12003 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12004 instead of send_gdb/gdb_expect.
12006 2014-04-22 Yao Qi <yao@codesourcery.com>
12008 * lib/trace-support.exp (generate_tracefile): New procedure.
12009 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12011 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12012 if generate_tracefile returns 1.
12014 2014-04-18 Tom Tromey <palves@redhat.com>
12015 Pedro alves <tromey@redhat.com>
12018 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12019 with a backtrace limit.
12020 * gdb.python/py-frame-inline.exp: Test running to an inline
12021 function with a backtrace limit, and printing the newest frame.
12022 * gdb.python/py-frame-inline.c (main): Call f.
12024 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12026 * gdb.java/jnpe.exp: Drop srcdir from untested path.
12028 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12030 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12031 Drop prefix from unsupported source file path.
12033 2014-04-17 Yao Qi <yao@codesourcery.com>
12035 * lib/gdb.exp (with_target_charset): New proc.
12036 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12037 with_target_charset.
12038 (test_print_strings): Likewise.
12039 (test_repeat_bytes): Likewise.
12040 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12043 2014-04-16 Keith Seitz <keiths@redhat.com>
12046 * gdb.dwarf2/corrupt.c: New file.
12047 * gdb.dwarf2/corrupt.exp: New file.
12049 2014-04-16 Keith Seitz <keiths@redhat.com>
12052 * gdb.cp/namelessclass.cc: New file.
12053 * gdb.cp/namelessclass.exp: New file.
12054 * gdb.cp/namelessclass.S: New file.
12056 2014-04-16 Doug Evans <dje@google.com>
12058 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12060 (gdbserver_default_get_comm_port): New function.
12061 (gdbserver_start): Check if board file provided
12062 "gdbserver,get_comm_port" and use it if so.
12063 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12064 (gdb,socketport): Set to "stdio".
12065 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12066 (stdio_gdbserver_template): Delete.
12067 (${board}_get_remote_address): Update.
12068 (${board}_build_remote_cmd): Delete.
12069 (${board}_get_comm_port): New function.
12070 (${board}_spawn): Update.
12071 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12073 (${board}_get_remote_address): Update.
12074 (${board}_get_comm_port): New function.
12076 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
12078 * gdb.base/memattr.exp: Improve regexps to handle memory regions
12079 appearing in any order.
12081 2014-04-15 Doug Evans <dje@google.com>
12083 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12084 uninitialized value of "description".
12086 2014-04-15 Keith Seitz <keiths@redhat.com>
12088 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12089 Remove unused globals.
12090 (test_running_the_program): Likewise.
12091 (test_controlled_execution): Likewise.
12092 (test_controlling_breakpoints): Likewise.
12093 (test_program_termination): Likewise.
12095 2014-04-15 Keith Seitz <keiths@redhat.com>
12097 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12099 (test_rbreak_creation_and_listing): Likewise.
12100 (test_ignore_count): Likewise.
12101 (test_error): Likewise.
12103 2014-04-15 Pedro Alves <palves@redhat.com>
12105 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
12106 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
12108 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12109 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12110 to sym-file-loader.c.
12111 (struct library): Forward declare.
12112 (load_shlib, lookup_function): Change prototypes.
12113 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12114 (translate_offset): Remove declarations.
12115 (get_text_addr): New declaration.
12116 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
12117 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
12119 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12120 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12121 here from sym-file-loader.h.
12122 (struct library): New structure.
12123 (load_shlib, lookup_function): Change prototypes and adjust to
12124 work with a struct library.
12125 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12126 (translate_offset): Make static.
12127 (get_text_addr): New function.
12128 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
12130 2014-04-15 Pedro Alves <palves@redhat.com>
12132 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
12134 2014-04-15 Pedro Alves <palves@redhat.com>
12136 * gdb.base/sym-file-loader.c: Include <limits.h>.
12137 (SELF_LINK): New define.
12138 (get_origin): New function.
12139 (load_shlib): Use it.
12140 * gdb.base/sym-file.exp: Don't early return if the target is
12141 remote. Use runto_main, and issue fail is that fails. Use
12143 (shlib_name): Delete.
12144 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
12146 2014-04-15 Pedro Alves <palves@redhat.com>
12148 * gdb.base/sym-file.exp: Remove regex characters from test
12149 message. Don't refer to breakpoint numbers in test messages.
12151 2014-04-14 Keith Seitz <keiths@redhat.com>
12154 * gdb.cp/var-tag.cc: New file.
12155 * gdb.cp/var-tag.exp: New file.
12156 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12157 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12158 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12159 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12161 2014-04-14 Tom Tromey <tromey@redhat.com>
12163 * gdb.cp/classes.exp (test_enums): Handle underlying type.
12164 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
12166 * gdb.cp/enum-class.exp: New file.
12167 * gdb.cp/enum-class.cc: New file.
12169 2014-04-14 Tom Tromey <tromey@redhat.com>
12171 * gdb.dwarf2/enum-type.exp: New file.
12173 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12175 * gdb.mi/mi-vla-c99.exp: New file.
12176 * gdb.mi/vla.c: New file.
12178 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12180 * gdb.base/vla-datatypes.c: New file.
12181 * gdb.base/vla-datatypes.exp: New file.
12183 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12185 * gdb.base/vla-ptr.c: New file.
12186 * gdb.base/vla-ptr.exp: New file.
12188 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12190 * gdb.dwarf2/count.exp: New file.
12192 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12194 * gdb.base/vla-sideeffect.c: New file.
12195 * gdb.base/vla-sideeffect.exp: New file.
12197 2014-04-14 David Blaikie <dblaikie@gmail.com>
12199 * gdb.mi/non-stop.c: Add return value for non-void function return
12201 * gdb.threads/staticthreads.c: Ditto.
12203 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
12204 Doug Evans <xdje42@gmail.com>
12206 * gdb.guile/scm-value.c: Improve test case.
12207 * gdb.guile/scm-value.exp: Add new test.
12209 2014-04-11 David Blaikie <dblaikie@gmail.com>
12211 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
12212 override Clang's default.
12214 2014-04-11 Joel Brobecker <brobecker@adacore.com>
12216 Revert the following changes (regressions):
12218 * gdb.base/vla-sideeffect.c: New file.
12219 * gdb.base/vla-sideeffect.exp: New file.
12221 * gdb.dwarf2/count.exp: New file.
12223 * gdb.base/vla-multi.c: New file.
12224 * gdb.base/vla-multi.exp: New file.
12226 * gdb.base/vla-ptr.c: New file.
12227 * gdb.base/vla-ptr.exp: New file.
12229 * gdb.base/vla-datatypes.c: New file.
12230 * gdb.base/vla-datatypes.exp: New file.
12232 * gdb.mi/mi-vla-c99.exp: New file.
12233 * gdb.mi/vla.c: New file.
12235 2014-04-11 Keith Seitz <keiths@redhat.com>
12238 * gdb.cp/cpsizeof.exp: New file.
12239 * gdb.cp/cpsizeof.cc: New file.
12241 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12243 * gdb.mi/mi-vla-c99.exp: New file.
12244 * gdb.mi/vla.c: New file.
12246 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12248 * gdb.base/vla-datatypes.c: New file.
12249 * gdb.base/vla-datatypes.exp: New file.
12251 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12253 * gdb.base/vla-ptr.c: New file.
12254 * gdb.base/vla-ptr.exp: New file.
12256 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12258 * gdb.base/vla-multi.c: New file.
12259 * gdb.base/vla-multi.exp: New file.
12261 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12263 * gdb.dwarf2/count.exp: New file.
12265 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12267 * gdb.base/vla-sideeffect.c: New file.
12268 * gdb.base/vla-sideeffect.exp: New file.
12270 2014-04-11 Yao Qi <yao@codesourcery.com>
12272 * gdb.base/completion.exp: Check file exists before running tests
12273 on file completion.
12275 2014-04-10 Pedro Alves <palves@redhat.com>
12277 * gdb.base/cond-eval-mode.c: New file.
12278 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
12279 prepare_for_testing to build the new file. Check result of
12281 (test_break, test_watch): New procedures.
12282 (top level): Use them.
12284 2014-04-08 Pierre Muller <muller@sourceware.org>
12286 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
12287 Ctrl-V use for mingw hosts.
12289 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
12291 * gdb.python/py-value.c: Improve test case.
12292 * gdb.python/py-value.exp: Add new test.
12294 2014-04-07 David Blaikie <dblaikie@gmail.com>
12296 * lib/compiler.c: Identify the clang compiler.
12297 * lib/compiler.cc: Ditto.
12299 2014-04-03 Yao Qi <yao@codesourcery.com>
12301 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
12303 2014-04-01 Anton Blanchard <anton@samba.org>
12305 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
12308 2014-04-01 Anton Blanchard <anton@samba.org>
12310 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
12311 prepare_for_testing.
12313 2014-04-01 Anton Blanchard <anton@samba.org>
12315 * gdb.arch/ppc64-atomic-inst.c: Remove.
12316 * gdb.arch/ppc64-atomic-inst.S: New file.
12317 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
12319 2014-03-31 Doug Evans <dje@google.com>
12321 * gdb.base/print-symbol-loading-lib.c: New file.
12322 * gdb.base/print-symbol-loading-main.c: New file.
12323 * gdb.base/print-symbol-loading.exp: New file.
12325 2014-03-31 Yao Qi <yao@codesourcery.com>
12327 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
12329 2014-03-28 Joel Brobecker <brobecker@adacore.com>
12331 * gdb.ada/mi_dyn_arr: New testcase.
12333 2014-03-27 Doug Evans <dje@google.com>
12335 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
12337 2014-03-27 Yao Qi <yao@codesourcery.com>
12339 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
12340 if target is nios2-*-*.
12342 2014-03-26 Yao Qi <yao@codesourcery.com>
12344 * lib/gdb.exp (readline_is_used): New proc.
12345 * gdb.base/completion.exp: Move tests on command complete up.
12346 Skip the rest of tests if readline is not used.
12347 * gdb.ada/complete.exp: Skp the test if readline is not
12349 * gdb.base/filesym.exp: Likewise.
12350 * gdb.base/macscp.exp: Likewise.
12351 * gdb.base/readline-ask.exp: Likewise.
12352 * gdb.base/readline.exp: Likewise.
12353 * gdb.python/py-cmd.exp: Likewise.
12354 * gdb.trace/tfile.exp: Likewise.
12356 2014-03-26 Yao Qi <yao@codesourcery.com>
12358 * gdb.base/macscp.exp: Fix code format issues.
12360 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
12362 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
12363 * gdb.asm/powerpc64le.inc: New file.
12365 2014-03-25 Pedro Alves <palves@redhat.com>
12366 Doug Evans <dje@google.com>
12368 * gdb.base/source-execution.c: New file.
12369 * gdb.base/source-execution.exp: New file.
12370 * gdb.base/source-execution.gdb: New file.
12372 2014-03-24 Doug Evans <dje@google.com>
12374 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
12377 2014-03-24 Hui Zhu <hui@codesourcery.com>
12378 Pedro Alves <palves@redhat.com>
12380 PR breakpoints/16101
12381 * gdb.base/dprintf.exp: Use unsupported rather than changing the
12382 test pass/fail messages. Detect missing support for dprintf when
12383 breakpoints are actually inserted.
12384 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
12385 breakpoints are actually inserted.
12386 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
12389 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12391 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
12393 2014-03-22 Doug Evans <xdje42@gmail.com>
12395 * gdb.python/python.exp (python not supported): Verify multi-line
12396 python command issues an error.
12397 * gdb.guile/guile.exp (guile not supported): Verify multi-line
12398 guile command issues an error.
12400 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
12402 * gdb.threads/thread-specific.exp: Handle the lack of usable
12403 $this_breakpoint and $this_thread.
12405 2014-03-21 Hui Zhu <hui@codesourcery.com>
12407 * gdb.base/attach.exp (do_command_attach_tests): New.
12409 2014-03-20 Tom Tromey <tromey@redhat.com>
12410 Pedro Alves <palves@redhat.com>
12413 * gdb.base/condbreak-call-false.c: New file.
12414 * gdb.base/condbreak-call-false.exp: New file.
12416 2014-03-20 Pedro Alves <palves@redhat.com>
12418 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
12420 (block_signals, unblock_signals): Delete.
12421 (child_function_2, main): Remove references to deleted variable
12424 2014-03-20 Pedro Alves <palves@redhat.com>
12426 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
12427 Use pthread_kill to signal thread 2.
12428 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12429 Adjust to make the test send itself a signal rather than using the
12430 host's "kill" command.
12432 2014-03-20 Pedro Alves <palves@redhat.com>
12434 * gdb.threads/multiple-step-overs.c: New file.
12435 * gdb.threads/multiple-step-overs.exp: New file.
12436 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12437 Adjust expected infrun debug output.
12439 2014-03-20 Pedro Alves <palves@redhat.com>
12441 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
12442 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
12444 2014-03-20 Pedro Alves <palves@redhat.com>
12446 PR breakpoints/7143
12447 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
12448 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
12449 of gdb_test_multiple.
12450 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
12451 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
12453 2014-03-20 Pedro Alves <palves@redhat.com>
12455 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
12456 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
12458 2014-03-19 Pedro Alves <palves@redhat.com>
12460 * gdb.base/async.exp: Remove early return.
12462 2014-03-19 Pedro Alves <palves@redhat.com>
12464 * gdb.base/async.exp (step& tests): Pass explicit test messages.
12466 2014-03-19 Pedro Alves <palves@redhat.com>
12468 * gdb.base/async.exp (test_background): Expect \r\n after
12469 "completed." in the fail pattern.
12471 2014-03-19 Pedro Alves <palves@redhat.com>
12473 * gdb.base/async.exp (test_background): New procedure.
12474 Use it for all background execution command tests.
12476 2014-03-19 Pedro Alves <palves@redhat.com>
12478 * gdb.base/async.exp: Use prepare_for_testing.
12480 2014-03-19 Pedro Alves <palves@redhat.com>
12482 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
12485 2014-03-19 Pedro Alves <palves@redhat.com>
12487 * gdb.base/async.c (main): Add "jump here" and "until here" line
12489 * gdb.base/async.exp (jump_here): New global.
12490 (jump& test): Use it.
12491 (until_here): New global.
12492 (until& test): Use it.
12494 2014-03-19 Pedro Alves <palves@redhat.com>
12496 * gdb.base/async.exp: Don't frob gdb_protocol.
12498 2014-03-18 Doug Evans <xdje42@gmail.com>
12500 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
12501 Fix spelling of exec-done-display.
12503 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
12506 * gdb.base/gdb-sigterm.c: New file.
12507 * gdb.base/gdb-sigterm.exp: New file.
12509 2014-03-18 Pedro Alves <palves@redhat.com>
12512 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
12513 * lib/mi-support.exp (mi_expect_stop): Add special handling for
12516 2014-03-17 Joel Brobecker <brobecker@adacore.com>
12518 * gdb.ada/pckd_arr_ren: New testcase.
12520 2014-03-13 Doug Evans <xdje42@gmail.com>
12523 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
12524 collect after discarding symbols.
12526 2014-03-13 Ludovic Courtès <ludo@gnu.org>
12527 Doug Evans <xdje42@gmail.com>
12529 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
12530 to history survives a gc.
12532 2014-03-13 Pedro Alves <palves@redhat.com>
12534 * gdb.base/default.exp: Don't test "target procfs".
12536 2014-03-13 Pedro Alves <palves@redhat.com>
12538 * gdb.base/default.exp: Update "target child" and "target procfs"
12539 tests to not expect "Unix".
12541 2014-03-12 Tom Tromey <tromey@redhat.com>
12543 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
12544 New procs. Add target-async tests.
12545 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
12546 Add target-async tests.
12548 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12550 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
12551 'func_start' and 'func_end' for the beginning and end of the
12552 function code, respectively.
12553 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
12554 'func_end' instead of 'func' and 'main'.
12556 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12558 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
12559 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
12560 generate the debug info assembler source.
12562 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12564 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
12565 * gdb.dwarf2/arr-subrange.exp: Likewise.
12566 * gdb.dwarf2/dwz.exp: Likewise.
12567 * gdb.dwarf2/method-ptr.exp: Likewise.
12568 * gdb.dwarf2/missing-sig-type.exp: Likewise.
12569 * gdb.dwarf2/subrange.exp: Likewise.
12570 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
12571 * gdb.dwarf2/implptrpiece.exp: Likewise.
12572 * gdb.dwarf2/nostaticblock.exp: Likewise.
12574 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12576 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
12577 directory to absolute path name arguments.
12579 2014-03-10 Joel Brobecker <brobecker@adacore.com>
12581 * gdb.ada/tagged_access: New testcase.
12583 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
12585 * gdb.btrace/data.exp: Update expected output.
12587 2014-03-06 Yao Qi <yao@codesourcery.com>
12589 * gdb.trace/pr16508.exp: New file.
12591 2014-03-05 Pedro Alves <palves@redhat.com>
12594 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
12596 (top level): Adjust to use it. Add tests that exercise breakpoint
12597 interaction with the code-cache.
12599 2014-02-26 Ludovic Courtès <ludo@gnu.org>
12601 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
12602 test for 'history-append!'.
12604 2014-02-26 Joel Brobecker <brobecker@adacore.com>
12606 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
12607 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
12608 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
12609 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
12610 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
12611 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
12613 2014-02-26 Joel Brobecker <brobecker@adacore.com>
12615 * testsuite/gdb.python/py-pp-re-notag.c: New file.
12616 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
12617 * testsuite/gdb.python/py-pp-re-notag.p: New file.
12619 2014-02-26 Joel Brobecker <brobecker@adacore.com>
12621 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
12623 2014-02-26 Joel Brobecker <brobecker@adacore.com>
12625 * gdb.dwarf2/arr-stride.c: New file.
12626 * gdb.dwarf2/arr-stride.exp: New file.
12628 2014-02-26 Pedro Alves <palves@redhat.com>
12630 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
12631 that won't ever trigger. Make sure that GDB reports the correct
12632 breakpoint that caused the stop.
12634 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12637 * gdb.base/auto-load-script: New file.
12638 * gdb.base/auto-load.c: New file.
12639 * gdb.base/auto-load.exp: New file.
12642 * gdb.base/auto-load.exp: Fix out-of-srctree run.
12644 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12646 Fix dw2-icycle.exp -fsanitize=address GDB crash.
12647 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
12649 2014-02-24 Doug Evans <dje@google.com>
12651 * lib/gdb.exp (run_on_host): Log error output if program fails.
12653 2014-02-21 Pedro Alves <palves@redhat.com>
12655 * gdb.threads/step-after-sr-lock.c: Rename to ...
12656 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
12657 * gdb.threads/step-after-sr-lock.exp: Rename to ...
12658 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12661 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
12664 * gdb.arch/amd64-stap-special-operands.exp: New file.
12665 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
12666 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
12667 * gdb.arch/amd64-stap-triplet.S: Likewise.
12668 * gdb.arch/amd64-stap-triplet.c: Likewise.
12670 2014-02-20 Joel Brobecker <brobecker@adacore.com>
12672 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
12673 in .section pseudo-op.
12675 2014-02-20 lin zuojian <manjian2006@gmail.com>
12676 Joel Brobecker <brobecker@adacore.com>
12677 Doug Evans <xdje42@gmail.com>
12680 * gdb.dwarf2/dw2-icycle.S: New file.
12681 * gdb.dwarf2/dw2-icycle.c: New file.
12682 * gdb.dwarf2/dw2-icycle.exp: New file.
12684 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
12686 * gdb.python/py-value-cc.cc: Improve test case to enable testing
12687 operations on gdb.Value objects.
12688 * gdb.python/py-value-cc.exp: Add new test to test operations on
12691 2014-02-18 Doug Evans <dje@google.com>
12693 * Makefile.in (TESTS): New variable.
12694 (expanded_tests, expanded_tests_or_none): New variables
12695 (check-single): Pass $(expanded_tests_or_none) to runtest.
12696 (check-parallel): Only run tests in $(TESTS) if non-empty.
12697 (check/no-matching-tests-found): New rule.
12698 * README: Document TESTS makefile variable.
12700 2014-02-18 Doug Evans <dje@google.com>
12702 * Makefile.in (check-parallel): rm -rf outputs temp.
12704 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12706 Fix "ERROR: no fileid for" in the testsuite.
12707 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
12709 2014-02-12 Doug Evans <dje@google.com>
12711 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
12712 (MISCELLANEOUS): New variable.
12713 (clean): rm -rf $(MISCELLANEOUS).
12714 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
12715 dwp live in the same directory as symlinks, with each symlink pointed
12716 to a differently named file in a different directory.
12718 2014-02-11 Doug Evans <dje@google.com>
12720 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
12721 of Tcl file commands.
12723 2014-02-10 Mark Kettenis <kettenis@gnu.org>
12725 * gdb.threads/step-after-sr-lock.exp: Avoid executing
12726 "kill -SIGUSR1 -1".
12728 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12730 * gdb.ada/tick_length_array_enum_idx: New testcase.
12732 2014-02-10 Doug Evans <xdje42@gmail.com>
12734 * configure.ac (AC_OUTPUT): Add gdb.guile.
12735 * configure: Regenerate.
12736 * lib/gdb-guile.exp: New file.
12737 * lib/gdb.exp (get_target_charset): New function.
12738 * gdb.base/help.exp: Update expected output from "apropos apropos".
12739 * gdb.guile/Makefile.in: New file.
12740 * gdb.guile/guile.exp: New file.
12741 * gdb.guile/scm-arch.c: New file.
12742 * gdb.guile/scm-arch.exp: New file.
12743 * gdb.guile/scm-block.c: New file.
12744 * gdb.guile/scm-block.exp: New file.
12745 * gdb.guile/scm-breakpoint.c: New file.
12746 * gdb.guile/scm-breakpoint.exp: New file.
12747 * gdb.guile/scm-disasm.c: New file.
12748 * gdb.guile/scm-disasm.exp: New file.
12749 * gdb.guile/scm-equal.c: New file.
12750 * gdb.guile/scm-equal.exp: New file.
12751 * gdb.guile/scm-error.exp: New file.
12752 * gdb.guile/scm-error.scm: New file.
12753 * gdb.guile/scm-frame-args.c: New file.
12754 * gdb.guile/scm-frame-args.exp: New file.
12755 * gdb.guile/scm-frame-args.scm: New file.
12756 * gdb.guile/scm-frame-inline.c: New file.
12757 * gdb.guile/scm-frame-inline.exp: New file.
12758 * gdb.guile/scm-frame.c: New file.
12759 * gdb.guile/scm-frame.exp: New file.
12760 * gdb.guile/scm-generics.exp: New file.
12761 * gdb.guile/scm-gsmob.exp: New file.
12762 * gdb.guile/scm-iterator.c: New file.
12763 * gdb.guile/scm-iterator.exp: New file.
12764 * gdb.guile/scm-math.c: New file.
12765 * gdb.guile/scm-math.exp: New file.
12766 * gdb.guile/scm-objfile-script-gdb.in: New file.
12767 * gdb.guile/scm-objfile-script.c: New file.
12768 * gdb.guile/scm-objfile-script.exp: New file.
12769 * gdb.guile/scm-objfile.c: New file.
12770 * gdb.guile/scm-objfile.exp: New file.
12771 * gdb.guile/scm-ports.exp: New file.
12772 * gdb.guile/scm-pretty-print.c: New file.
12773 * gdb.guile/scm-pretty-print.exp: New file.
12774 * gdb.guile/scm-pretty-print.scm: New file.
12775 * gdb.guile/scm-section-script.c: New file.
12776 * gdb.guile/scm-section-script.exp: New file.
12777 * gdb.guile/scm-section-script.scm: New file.
12778 * gdb.guile/scm-symbol.c: New file.
12779 * gdb.guile/scm-symbol.exp: New file.
12780 * gdb.guile/scm-symtab-2.c: New file.
12781 * gdb.guile/scm-symtab.c: New file.
12782 * gdb.guile/scm-symtab.exp: New file.
12783 * gdb.guile/scm-type.c: New file.
12784 * gdb.guile/scm-type.exp: New file.
12785 * gdb.guile/scm-value-cc.cc: New file.
12786 * gdb.guile/scm-value-cc.exp: New file.
12787 * gdb.guile/scm-value.c: New file.
12788 * gdb.guile/scm-value.exp: New file.
12789 * gdb.guile/source2.scm: New file.
12790 * gdb.guile/types-module.cc: New file.
12791 * gdb.guile/types-module.exp: New file.
12793 2014-02-10 Yao Qi <yao@codesourcery.com>
12796 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
12797 * configure: Regenerated.
12798 * Makefile.in: New file.
12800 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12802 * gdb.python/py-framefilter.exp: Fix typo.
12804 2014-02-08 Yao Qi <yao@codesourcery.com>
12806 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
12807 that no =breakpoint-modified is emitted when breakpoints are
12808 modified through MI commands.
12810 2014-02-07 Pedro Alves <pedro@codesourcery.com>
12811 Pedro Alves <palves@redhat.com>
12813 * gdb.threads/step-after-sr-lock.c: New file.
12814 * gdb.threads/step-after-sr-lock.exp: New file.
12816 2014-02-07 Pedro Alves <palves@redhat.com>
12818 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
12820 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12822 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
12823 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
12825 2014-02-06 Doug Evans <xdje42@gmail.com>
12827 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
12830 * gdb.gdb/python-interrupts.exp: New file.
12832 2014-02-05 Yao Qi <yao@codesourcery.com>
12834 * gdb.trace/report.exp (use_collected_data): Test the output
12835 of "info threads" and "info inferiors".
12837 2014-02-05 Yao Qi <yao@codesourcery.com>
12841 2013-05-24 Yao Qi <yao@codesourcery.com>
12843 * gdb.trace/tfile.exp: Test inferior and thread.
12845 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12847 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
12849 * gdb.base/step-bt.c: Call hello via function pointer to make
12850 sure its first instruction is executed on powerpc64le-linux.
12852 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12854 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
12856 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12858 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
12859 of the test patterns for use on little-endian systems.
12861 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12863 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
12864 (decimal_vector): Fix for little-endian.
12866 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
12868 * gdb.arch/sparc-sysstep.exp: New file.
12869 * gdb.arch/sparc-sysstep.c: Likewise.
12871 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
12873 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12875 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
12877 2014-01-23 Tom Tromey <tromey@redhat.com>
12879 * gdb.ada/array_char_idx: New testcase.
12881 2014-01-23 Tom Tromey <tromey@redhat.com>
12884 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
12885 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
12888 2014-01-23 Tom Tromey <tromey@redhat.com>
12891 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
12892 string from an inferior frame.
12893 * gdb.python/py-framefilter-mi.exp: Update.
12895 2014-01-22 Doug Evans <dje@google.com>
12897 * gdb.server/server-mon.exp: Add tests for "set debug-format".
12899 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12901 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
12903 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12905 * gdb.trace/entry-values.exp: Remove excess space character from
12906 regex patterns. Handle s390 call instruction.
12908 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12910 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
12911 define "*_start" label. Make "name" static.
12912 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
12913 ${name} by references to ${name}_start.
12915 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12917 * gdb.base/info-macros.exp: Remove "debug" from the compile
12920 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12922 * gdb.dlang/demangle.exp: New file.
12924 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12926 * gdb.dlang/primitive-types.exp: New file.
12928 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12930 * configure.ac: Create gdb.dlang/Makefile.
12931 * configure: Regenerate.
12932 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
12933 * gdb.dlang/Makefile.in: New file.
12934 * lib/d-support.exp: New file.
12935 * lib/gdb.exp (skip_d_tests): New proc.
12937 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12939 * gdb.btrace/delta.exp: Check reverse stepi.
12940 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
12941 * gdb.btrace/finish.exp: New.
12942 * gdb.btrace/next.exp: New.
12943 * gdb.btrace/nexti.exp: New.
12944 * gdb.btrace/record_goto.c: Add comments.
12945 * gdb.btrace/step.exp: New.
12946 * gdb.btrace/stepi.exp: New.
12947 * gdb.btrace/multi-thread-step.c: New.
12948 * gdb.btrace/multi-thread-step.exp: New.
12949 * gdb.btrace/rn-dl-bind.c: New.
12950 * gdb.btrace/rn-dl-bind.exp: New.
12951 * gdb.btrace/data.c: New.
12952 * gdb.btrace/data.exp: New.
12953 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12955 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12957 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
12958 * gdb.btrace/exception.exp: Update.
12959 * gdb.btrace/instruction_history.exp: Update.
12960 * gdb.btrace/record_goto.exp: Update.
12961 * gdb.btrace/tailcall.exp: Update.
12962 * gdb.btrace/unknown_functions.exp: Update.
12963 * gdb.btrace/delta.exp: New.
12965 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12967 * gdb.btrace/record_goto.exp: Add backtrace test.
12968 * gdb.btrace/tailcall.exp: Add backtrace test.
12970 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12972 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
12973 * gdb.btrace/record_goto.c: New.
12974 * gdb.btrace/record_goto.exp: New.
12975 * gdb.btrace/x86-record_goto.S: New.
12977 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12979 * gdb.btrace/function_call_history.exp: Update tests.
12980 * gdb.btrace/instruction_history.exp: Update tests.
12982 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12984 * gdb.btrace/function_call_history.exp: Fix expected field
12985 order for "record function-call-history".
12986 Add new tests for "record function-call-history /c".
12987 * gdb.btrace/exception.cc: New.
12988 * gdb.btrace/exception.exp: New.
12989 * gdb.btrace/tailcall.exp: New.
12990 * gdb.btrace/x86-tailcall.S: New.
12991 * gdb.btrace/x86-tailcall.c: New.
12992 * gdb.btrace/unknown_functions.c: New.
12993 * gdb.btrace/unknown_functions.exp: New.
12994 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12996 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12998 * gdb.btrace/instruction_history.exp: Update.
12999 * gdb.btrace/function_call_history.exp: Update.
13001 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13003 * gdb.btrace/function_call_history.exp: Fix expected function
13005 * gdb.btrace/instruction_history.exp: Initialize traced.
13006 Remove traced_functions.
13008 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13010 * gdb.btrace/function_call_history.exp: Update
13011 * gdb.btrace/instruction_history.exp: Update.
13013 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13015 * gdb.btrace/enable.exp: Update expected text.
13017 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
13019 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13022 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
13024 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13026 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
13028 * lib/gdb.exp (supports_process_record): Return true for
13029 arm*-linux*. (supports_reverse): Likewise.
13031 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13035 * gdb.python/py-type.c: Enhance test case.
13036 * gdb.python/py-value-cc.cc: Likewise
13037 * gdb.python/py-type.exp: Add new tests.
13038 * gdb.python/py-value-cc.exp: Likewise
13040 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13041 Pedro Alves <palves@redhat.com>
13043 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13044 Make "name" extern.
13045 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13046 references to ${name}_start by references to ${name}.
13048 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13050 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13052 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13054 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13056 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
13057 Pedro Alves <palves@redhat.com>
13059 * gdb.mi/mi-info-os.exp: Connect to the target with
13060 mi_gdb_target_load.
13062 2014-01-08 Pedro Alves <palves@redhat.com>
13064 * gdb.threads/reconnect-signal.c: New file.
13065 * gdb.threads/reconnect-signal.exp: New file.
13067 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13069 * gdb.base/source-dir.exp: New file.
13071 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13073 * gdb.ada/mi_interface: New testcase.
13075 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13077 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13078 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13079 gdb.ada/pp-rec-component/pck.ads: New files.
13081 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13083 * gdb.python/py-pp-integral.c: New file.
13084 * gdb.python/py-pp-integral.py: New file.
13085 * gdb.python/py-pp-integral.exp: New file.
13087 For older changes see ChangeLog-1993-2013.
13089 ;; Local Variables:
13090 ;; mode: change-log
13093 ;; version-control: never
13096 Copyright 2014-2017 Free Software Foundation, Inc.
13097 Copying and distribution of this file, with or without modification,
13098 are permitted provided the copyright notice and this notice are preserved.